@tarojs/components 3.7.0-alpha.19 → 3.7.0-alpha.20

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 (354) hide show
  1. package/dist/cjs/helper-ad6306f6.js +31 -0
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
  4. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
  5. package/dist/cjs/taro-animation-video-core.cjs.entry.js +1 -1
  6. package/dist/cjs/taro-animation-view-core.cjs.entry.js +1 -1
  7. package/dist/cjs/taro-ar-camera-core.cjs.entry.js +1 -1
  8. package/dist/cjs/taro-aweme-data-core.cjs.entry.js +1 -1
  9. package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
  10. package/dist/cjs/taro-channel-live-core.cjs.entry.js +1 -1
  11. package/dist/cjs/taro-channel-video-core.cjs.entry.js +1 -1
  12. package/dist/cjs/taro-comment-detail-core.cjs.entry.js +1 -1
  13. package/dist/cjs/taro-comment-list-core.cjs.entry.js +1 -1
  14. package/dist/cjs/taro-components.cjs.js +1 -1
  15. package/dist/cjs/taro-contact-button-core.cjs.entry.js +1 -1
  16. package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
  17. package/dist/cjs/taro-follow-swan-core.cjs.entry.js +1 -1
  18. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
  19. package/dist/cjs/taro-grid-view-core.cjs.entry.js +1 -1
  20. package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +1 -1
  21. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
  22. package/dist/cjs/taro-lifestyle-core.cjs.entry.js +1 -1
  23. package/dist/cjs/taro-like-core.cjs.entry.js +1 -1
  24. package/dist/cjs/taro-list-view-core.cjs.entry.js +1 -1
  25. package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
  26. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
  27. package/dist/cjs/taro-login-core.cjs.entry.js +1 -1
  28. package/dist/cjs/taro-lottie-core.cjs.entry.js +1 -1
  29. package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
  30. package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
  31. package/dist/cjs/taro-native-slot-core.cjs.entry.js +1 -1
  32. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
  33. package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
  34. package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
  35. package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
  36. package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
  37. package/dist/cjs/taro-root-portal-core.cjs.entry.js +1 -1
  38. package/dist/cjs/taro-rtc-room-core.cjs.entry.js +1 -1
  39. package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +1 -1
  40. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +10 -0
  41. package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
  42. package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
  43. package/dist/cjs/taro-snapshot-core.cjs.entry.js +21 -0
  44. package/dist/cjs/taro-sticky-header-core.cjs.entry.js +1 -1
  45. package/dist/cjs/taro-sticky-section-core.cjs.entry.js +1 -1
  46. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +16 -15
  47. package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
  48. package/dist/cjs/taro-tabbar.cjs.entry.js +9 -21
  49. package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
  50. package/dist/cjs/taro-view-core.cjs.entry.js +3 -9
  51. package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
  52. package/dist/collection/collection-manifest.json +1 -0
  53. package/dist/collection/components/scroll-view/scroll-view.js +16 -2
  54. package/dist/collection/components/snapshot/snapshot.js +11 -0
  55. package/dist/collection/components/swiper/swiper.js +16 -15
  56. package/dist/collection/components/tabbar/style/index.css +5 -1
  57. package/dist/collection/components/view/view.js +2 -9
  58. package/dist/collection/utils/helper.js +11 -0
  59. package/dist/components/helper.js +12 -1
  60. package/dist/components/index.d.ts +1 -0
  61. package/dist/components/index.js +1 -0
  62. package/dist/components/taro-scroll-view-core.js +10 -1
  63. package/dist/components/taro-snapshot-core.d.ts +11 -0
  64. package/dist/components/taro-snapshot-core.js +33 -0
  65. package/dist/components/taro-swiper-core.js +16 -15
  66. package/dist/components/taro-tabbar.js +2 -14
  67. package/dist/components/taro-view-core.js +2 -9
  68. package/dist/esm/helper-8a85bb65.js +24 -0
  69. package/dist/esm/loader.js +1 -1
  70. package/dist/esm/taro-ad-core.entry.js +1 -1
  71. package/dist/esm/taro-ad-custom-core.entry.js +1 -1
  72. package/dist/esm/taro-animation-video-core.entry.js +1 -1
  73. package/dist/esm/taro-animation-view-core.entry.js +1 -1
  74. package/dist/esm/taro-ar-camera-core.entry.js +1 -1
  75. package/dist/esm/taro-aweme-data-core.entry.js +1 -1
  76. package/dist/esm/taro-camera-core.entry.js +1 -1
  77. package/dist/esm/taro-channel-live-core.entry.js +1 -1
  78. package/dist/esm/taro-channel-video-core.entry.js +1 -1
  79. package/dist/esm/taro-comment-detail-core.entry.js +1 -1
  80. package/dist/esm/taro-comment-list-core.entry.js +1 -1
  81. package/dist/esm/taro-components.js +1 -1
  82. package/dist/esm/taro-contact-button-core.entry.js +1 -1
  83. package/dist/esm/taro-editor-core.entry.js +1 -1
  84. package/dist/esm/taro-follow-swan-core.entry.js +1 -1
  85. package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
  86. package/dist/esm/taro-grid-view-core.entry.js +1 -1
  87. package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
  88. package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
  89. package/dist/esm/taro-lifestyle-core.entry.js +1 -1
  90. package/dist/esm/taro-like-core.entry.js +1 -1
  91. package/dist/esm/taro-list-view-core.entry.js +1 -1
  92. package/dist/esm/taro-live-player-core.entry.js +1 -1
  93. package/dist/esm/taro-live-pusher-core.entry.js +1 -1
  94. package/dist/esm/taro-login-core.entry.js +1 -1
  95. package/dist/esm/taro-lottie-core.entry.js +1 -1
  96. package/dist/esm/taro-map-core.entry.js +1 -1
  97. package/dist/esm/taro-match-media-core.entry.js +1 -1
  98. package/dist/esm/taro-native-slot-core.entry.js +1 -1
  99. package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
  100. package/dist/esm/taro-official-account-core.entry.js +1 -1
  101. package/dist/esm/taro-open-data-core.entry.js +1 -1
  102. package/dist/esm/taro-page-container-core.entry.js +1 -1
  103. package/dist/esm/taro-page-meta-core.entry.js +1 -1
  104. package/dist/esm/taro-root-portal-core.entry.js +1 -1
  105. package/dist/esm/taro-rtc-room-core.entry.js +1 -1
  106. package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
  107. package/dist/esm/taro-scroll-view-core.entry.js +10 -0
  108. package/dist/esm/taro-share-element-core.entry.js +1 -1
  109. package/dist/esm/taro-slot-core.entry.js +1 -1
  110. package/dist/esm/taro-snapshot-core.entry.js +17 -0
  111. package/dist/esm/taro-sticky-header-core.entry.js +1 -1
  112. package/dist/esm/taro-sticky-section-core.entry.js +1 -1
  113. package/dist/esm/taro-swiper-core_2.entry.js +16 -15
  114. package/dist/esm/taro-tab-item-core.entry.js +1 -1
  115. package/dist/esm/taro-tabbar.entry.js +2 -14
  116. package/dist/esm/taro-tabs-core.entry.js +1 -1
  117. package/dist/esm/taro-view-core.entry.js +3 -9
  118. package/dist/esm/taro-voip-room-core.entry.js +1 -1
  119. package/dist/esm-es5/helper-8a85bb65.js +1 -0
  120. package/dist/esm-es5/loader.js +1 -1
  121. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  122. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  123. package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
  124. package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
  125. package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
  126. package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
  127. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  128. package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
  129. package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
  130. package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
  131. package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
  132. package/dist/esm-es5/taro-components.js +1 -1
  133. package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
  134. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  135. package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
  136. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  137. package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
  138. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
  139. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  140. package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
  141. package/dist/esm-es5/taro-like-core.entry.js +1 -1
  142. package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
  143. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  144. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  145. package/dist/esm-es5/taro-login-core.entry.js +1 -1
  146. package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
  147. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  148. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  149. package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
  150. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  151. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  152. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  153. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  154. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  155. package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
  156. package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
  157. package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
  158. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  159. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  160. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  161. package/dist/esm-es5/taro-snapshot-core.entry.js +1 -0
  162. package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
  163. package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
  164. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  165. package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
  166. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  167. package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
  168. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  169. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  170. package/dist/taro-components/p-00ed4bbb.entry.js +1 -0
  171. package/dist/taro-components/{p-9b6550fc.entry.js → p-065a10d7.entry.js} +1 -1
  172. package/dist/taro-components/p-08b7ecd7.system.entry.js +1 -0
  173. package/dist/taro-components/p-0a250d71.system.entry.js +1 -0
  174. package/dist/taro-components/{p-b235e43c.entry.js → p-0e3b37e9.entry.js} +1 -1
  175. package/dist/taro-components/p-0e8199b7.entry.js +1 -0
  176. package/dist/taro-components/{p-cc164fa3.entry.js → p-0ec2e88a.entry.js} +1 -1
  177. package/dist/taro-components/{p-968b7c1d.entry.js → p-124ac21f.entry.js} +1 -1
  178. package/dist/taro-components/p-15624788.system.entry.js +1 -0
  179. package/dist/taro-components/p-1b789738.system.entry.js +1 -0
  180. package/dist/taro-components/p-1cf16dfa.entry.js +1 -0
  181. package/dist/taro-components/p-1f118969.system.entry.js +1 -0
  182. package/dist/taro-components/{p-898db637.system.entry.js → p-21c07cb3.system.entry.js} +1 -1
  183. package/dist/taro-components/{p-af9ef8b4.entry.js → p-22bf7daf.entry.js} +1 -1
  184. package/dist/taro-components/p-24d9836e.entry.js +1 -0
  185. package/dist/taro-components/p-29638de3.entry.js +1 -0
  186. package/dist/taro-components/{p-5640e9f4.system.entry.js → p-3004e71a.system.entry.js} +1 -1
  187. package/dist/taro-components/{p-1974e52e.system.entry.js → p-32e9981a.system.entry.js} +1 -1
  188. package/dist/taro-components/{p-f534057e.system.entry.js → p-36d4407e.system.entry.js} +1 -1
  189. package/dist/taro-components/p-3f3abe55.system.entry.js +1 -0
  190. package/dist/taro-components/p-4a3357a4.entry.js +1 -0
  191. package/dist/taro-components/p-4cedbe5e.system.entry.js +1 -0
  192. package/dist/taro-components/{p-355e4dbc.entry.js → p-4fc40739.entry.js} +1 -1
  193. package/dist/taro-components/{p-6d4b7e5c.system.entry.js → p-519fbe84.system.entry.js} +1 -1
  194. package/dist/taro-components/{p-90333d0a.system.entry.js → p-5756cf00.system.entry.js} +1 -1
  195. package/dist/taro-components/{p-88d2b41b.system.entry.js → p-5870248f.system.entry.js} +1 -1
  196. package/dist/taro-components/{p-81f2ad70.system.entry.js → p-58cc2e6d.system.entry.js} +1 -1
  197. package/dist/taro-components/{p-9ac947ac.system.entry.js → p-5994d9f2.system.entry.js} +1 -1
  198. package/dist/taro-components/{p-2d1b4dcc.system.entry.js → p-5ebc7010.system.entry.js} +1 -1
  199. package/dist/taro-components/p-600e89cc.system.entry.js +1 -0
  200. package/dist/taro-components/p-64eb91f7.entry.js +1 -0
  201. package/dist/taro-components/{p-137531b6.entry.js → p-69c43a81.entry.js} +1 -1
  202. package/dist/taro-components/p-6aa2ac6a.system.entry.js +1 -0
  203. package/dist/taro-components/{p-ebdd350f.system.entry.js → p-6cde54e5.system.entry.js} +1 -1
  204. package/dist/taro-components/{p-407ca16e.entry.js → p-76996fcb.entry.js} +1 -1
  205. package/dist/taro-components/p-7726b789.system.entry.js +1 -0
  206. package/dist/taro-components/{p-bdc30301.entry.js → p-7bfc5f3d.entry.js} +1 -1
  207. package/dist/taro-components/p-84958ace.entry.js +1 -0
  208. package/dist/taro-components/{p-7e998213.system.entry.js → p-85fce63e.system.entry.js} +1 -1
  209. package/dist/taro-components/p-862b38b9.entry.js +1 -0
  210. package/dist/taro-components/p-8c3b906c.system.js +1 -0
  211. package/dist/taro-components/p-8ca82a56.entry.js +1 -0
  212. package/dist/taro-components/p-8ccaf5e8.entry.js +1 -0
  213. package/dist/taro-components/{p-0517f107.system.entry.js → p-8d990f1c.system.entry.js} +1 -1
  214. package/dist/taro-components/{p-07302165.system.entry.js → p-92d04741.system.entry.js} +1 -1
  215. package/dist/taro-components/{p-fa0f6dab.system.entry.js → p-9d76d7a9.system.entry.js} +1 -1
  216. package/dist/taro-components/p-9e03bc7a.system.entry.js +1 -0
  217. package/dist/taro-components/p-9ea4f297.entry.js +1 -0
  218. package/dist/taro-components/p-9eeba192.entry.js +1 -0
  219. package/dist/taro-components/p-a2141e85.system.entry.js +1 -0
  220. package/dist/taro-components/p-a2d590ad.entry.js +1 -0
  221. package/dist/taro-components/{p-204bd245.entry.js → p-a4951dd6.entry.js} +1 -1
  222. package/dist/taro-components/{p-46b8f89b.entry.js → p-a5a51112.entry.js} +1 -1
  223. package/dist/taro-components/p-a6e2dd48.entry.js +1 -0
  224. package/dist/taro-components/{p-66b0b419.system.entry.js → p-a74c970c.system.entry.js} +1 -1
  225. package/dist/taro-components/{p-e53508c1.system.entry.js → p-a7d31b01.system.entry.js} +1 -1
  226. package/dist/taro-components/p-a90221ab.system.entry.js +1 -0
  227. package/dist/taro-components/p-a94e3347.system.entry.js +1 -0
  228. package/dist/taro-components/p-aa04f605.entry.js +1 -0
  229. package/dist/taro-components/p-ad9b04e0.entry.js +1 -0
  230. package/dist/taro-components/{p-f11c9c37.system.entry.js → p-b07cd197.system.entry.js} +1 -1
  231. package/dist/taro-components/{p-139e6251.entry.js → p-b201ff38.entry.js} +1 -1
  232. package/dist/taro-components/p-bc541cd8.entry.js +1 -0
  233. package/dist/taro-components/{p-af8e521a.entry.js → p-bd4ed8b1.entry.js} +1 -1
  234. package/dist/taro-components/p-be96eb59.system.entry.js +1 -0
  235. package/dist/taro-components/{p-da239b8b.system.entry.js → p-bf0c8449.system.entry.js} +1 -1
  236. package/dist/taro-components/p-c0080d83.entry.js +1 -0
  237. package/dist/taro-components/p-c1a3fecf.system.entry.js +1 -0
  238. package/dist/taro-components/{p-8201ee31.system.entry.js → p-c913b635.system.entry.js} +1 -1
  239. package/dist/taro-components/p-cb406f85.system.entry.js +1 -0
  240. package/dist/taro-components/p-ccc64042.system.entry.js +1 -0
  241. package/dist/taro-components/p-ce303d12.system.entry.js +1 -0
  242. package/dist/taro-components/{p-6db97374.entry.js → p-d1756770.entry.js} +1 -1
  243. package/dist/taro-components/p-d2e0b15c.entry.js +1 -0
  244. package/dist/taro-components/p-d35c8257.system.entry.js +1 -0
  245. package/dist/taro-components/p-d550aea9.system.entry.js +1 -0
  246. package/dist/taro-components/{p-5dab46cd.system.entry.js → p-d867e333.system.entry.js} +1 -1
  247. package/dist/taro-components/{p-50902cd0.entry.js → p-d9dcc6c6.entry.js} +1 -1
  248. package/dist/taro-components/p-da3db323.entry.js +1 -0
  249. package/dist/taro-components/p-dbdb9de9.js +1 -0
  250. package/dist/taro-components/{p-cc70bb7a.system.entry.js → p-dc5d65a0.system.entry.js} +1 -1
  251. package/dist/taro-components/{p-ab726c20.system.entry.js → p-de96861c.system.entry.js} +1 -1
  252. package/dist/taro-components/{p-907d9d01.system.entry.js → p-e2cd5dd3.system.entry.js} +1 -1
  253. package/dist/taro-components/{p-1404c119.entry.js → p-e598f47b.entry.js} +1 -1
  254. package/dist/taro-components/p-e740320c.entry.js +1 -0
  255. package/dist/taro-components/p-e976c6c9.system.entry.js +1 -0
  256. package/dist/taro-components/p-ea0d5d4f.system.entry.js +1 -0
  257. package/dist/taro-components/p-ed331c06.system.js +1 -1
  258. package/dist/taro-components/p-ef322936.entry.js +1 -0
  259. package/dist/taro-components/p-f1304456.entry.js +1 -0
  260. package/dist/taro-components/{p-3d8c9dfb.entry.js → p-f2235cbb.entry.js} +1 -1
  261. package/dist/taro-components/{p-2af69b72.entry.js → p-f23cfdc8.entry.js} +1 -1
  262. package/dist/taro-components/p-f2c86846.entry.js +1 -0
  263. package/dist/taro-components/p-f4d86882.entry.js +1 -0
  264. package/dist/taro-components/{p-8c0b740e.entry.js → p-f658de2e.entry.js} +1 -1
  265. package/dist/taro-components/p-f78823a1.entry.js +1 -0
  266. package/dist/taro-components/{p-227e33fc.system.entry.js → p-fac4ce6f.system.entry.js} +1 -1
  267. package/dist/taro-components/p-fbb2446e.entry.js +1 -0
  268. package/dist/taro-components/{p-0114a2e4.entry.js → p-fefedf44.entry.js} +1 -1
  269. package/dist/taro-components/taro-components.esm.js +1 -1
  270. package/dist/types/components/scroll-view/scroll-view.d.ts +2 -0
  271. package/dist/types/components/snapshot/snapshot.d.ts +5 -0
  272. package/dist/types/components/swiper/swiper.d.ts +3 -2
  273. package/dist/types/components.d.ts +13 -0
  274. package/dist/types/utils/helper.d.ts +1 -0
  275. package/lib/react/components.d.ts +2 -1
  276. package/lib/react/components.js +3 -2
  277. package/lib/react/components.js.map +1 -1
  278. package/lib/react/index.js +1 -1
  279. package/lib/vue2/components.d.ts +2 -1
  280. package/lib/vue2/components.js +5 -2
  281. package/lib/vue2/components.js.map +1 -1
  282. package/lib/vue2/index.js +1 -1
  283. package/lib/vue3/components.d.ts +2 -1
  284. package/lib/vue3/components.js +3 -2
  285. package/lib/vue3/components.js.map +1 -1
  286. package/lib/vue3/index.js +1 -1
  287. package/package.json +4 -4
  288. package/types/Button.d.ts +14 -2
  289. package/types/GridView.d.ts +1 -1
  290. package/types/ListView.d.ts +1 -1
  291. package/types/NativeSlot.d.ts +4 -2
  292. package/types/ScrollView.d.ts +79 -1
  293. package/types/ShareElement.d.ts +1 -1
  294. package/types/Slot.d.ts +4 -2
  295. package/types/Snapshot.d.ts +16 -0
  296. package/types/StickyHeader.d.ts +1 -1
  297. package/types/StickySection.d.ts +1 -1
  298. package/types/Video.d.ts +3 -2
  299. package/types/index.d.ts +8 -5
  300. package/types/index.vue3.d.ts +21 -7
  301. package/dist/cjs/helper-db78e01a.js +0 -19
  302. package/dist/esm/helper-3d0ecf0f.js +0 -13
  303. package/dist/esm-es5/helper-3d0ecf0f.js +0 -1
  304. package/dist/taro-components/p-052da7f0.system.entry.js +0 -1
  305. package/dist/taro-components/p-15e45ed6.system.js +0 -1
  306. package/dist/taro-components/p-1b3d41d3.system.entry.js +0 -1
  307. package/dist/taro-components/p-1c4e3899.entry.js +0 -1
  308. package/dist/taro-components/p-1f39576a.system.entry.js +0 -1
  309. package/dist/taro-components/p-2de2a3fd.system.entry.js +0 -1
  310. package/dist/taro-components/p-3094bda6.system.entry.js +0 -1
  311. package/dist/taro-components/p-478deb81.entry.js +0 -1
  312. package/dist/taro-components/p-486d0ec7.entry.js +0 -1
  313. package/dist/taro-components/p-53ef8a6c.system.entry.js +0 -1
  314. package/dist/taro-components/p-5613907c.entry.js +0 -1
  315. package/dist/taro-components/p-57b9943c.system.entry.js +0 -1
  316. package/dist/taro-components/p-5c1e6b1c.system.entry.js +0 -1
  317. package/dist/taro-components/p-6127b1b6.system.entry.js +0 -1
  318. package/dist/taro-components/p-66f7eea6.entry.js +0 -1
  319. package/dist/taro-components/p-69cd1f2a.system.entry.js +0 -1
  320. package/dist/taro-components/p-6a96da58.js +0 -1
  321. package/dist/taro-components/p-6e115968.entry.js +0 -1
  322. package/dist/taro-components/p-6f84e936.entry.js +0 -1
  323. package/dist/taro-components/p-71b54f06.entry.js +0 -1
  324. package/dist/taro-components/p-79c3fde3.system.entry.js +0 -1
  325. package/dist/taro-components/p-7b3b8057.entry.js +0 -1
  326. package/dist/taro-components/p-7d635413.entry.js +0 -1
  327. package/dist/taro-components/p-801f09b8.entry.js +0 -1
  328. package/dist/taro-components/p-85a7daeb.system.entry.js +0 -1
  329. package/dist/taro-components/p-86280254.entry.js +0 -1
  330. package/dist/taro-components/p-9046110a.entry.js +0 -1
  331. package/dist/taro-components/p-904df510.entry.js +0 -1
  332. package/dist/taro-components/p-98f9f50f.system.entry.js +0 -1
  333. package/dist/taro-components/p-9aeb7995.entry.js +0 -1
  334. package/dist/taro-components/p-9d9ede17.system.entry.js +0 -1
  335. package/dist/taro-components/p-a3a1a779.entry.js +0 -1
  336. package/dist/taro-components/p-a8565231.entry.js +0 -1
  337. package/dist/taro-components/p-a8925584.system.entry.js +0 -1
  338. package/dist/taro-components/p-af3fa859.system.entry.js +0 -1
  339. package/dist/taro-components/p-afb3895c.system.entry.js +0 -1
  340. package/dist/taro-components/p-b027181b.entry.js +0 -1
  341. package/dist/taro-components/p-b4ea72ea.entry.js +0 -1
  342. package/dist/taro-components/p-b4f3d0ab.entry.js +0 -1
  343. package/dist/taro-components/p-b6d4634f.system.entry.js +0 -1
  344. package/dist/taro-components/p-bcf80126.system.entry.js +0 -1
  345. package/dist/taro-components/p-c1073ed6.system.entry.js +0 -1
  346. package/dist/taro-components/p-c11a42e0.entry.js +0 -1
  347. package/dist/taro-components/p-c4b8851b.entry.js +0 -1
  348. package/dist/taro-components/p-d34a6c04.entry.js +0 -1
  349. package/dist/taro-components/p-e33f3592.entry.js +0 -1
  350. package/dist/taro-components/p-e3480c4c.entry.js +0 -1
  351. package/dist/taro-components/p-eaa370a9.system.entry.js +0 -1
  352. package/dist/taro-components/p-f7b32c6b.entry.js +0 -1
  353. package/dist/taro-components/p-fa6c022a.system.entry.js +0 -1
  354. package/dist/taro-components/p-fb983850.entry.js +0 -1
@@ -1,13 +0,0 @@
1
- import Taro from '@tarojs/taro';
2
-
3
- function notSupport(name = '', instance = {}) {
4
- console.error(`H5 暂不支持 ${name} 组件!`);
5
- Taro.eventCenter.trigger('__taroNotSupport', {
6
- name,
7
- instance,
8
- type: 'component',
9
- category: 'temporarily',
10
- });
11
- }
12
-
13
- export { notSupport as n };
@@ -1 +0,0 @@
1
- import Taro from"@tarojs/taro";function notSupport(o,t){if(o===void 0){o=""}if(t===void 0){t={}}console.error("H5 暂不支持 ".concat(o," 组件!"));Taro.eventCenter.trigger("__taroNotSupport",{name:o,instance:t,type:"component",category:"temporarily"})}export{notSupport as n};
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var s=t("taro_ad_custom_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("AdCustom",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- System.register(["@tarojs/taro"],(function(t){"use strict";var e;return{setters:[function(t){e=t.default}],execute:function(){t("n",r);function r(t,r){if(t===void 0){t=""}if(r===void 0){r={}}console.error("H5 暂不支持 ".concat(t," 组件!"));e.eventCenter.trigger("__taroNotSupport",{name:t,instance:r,type:"component",category:"temporarily"})}}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var e,n,r,o;return{setters:[function(t){e=t.r;n=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var s=t("taro_page_meta_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){o("PageMeta",this)};t.prototype.render=function(){return n(r,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- import{r as a,h as o,H as r}from"./p-9137dcab.js";import{n as t}from"./p-6a96da58.js";import"@tarojs/taro";const n=class{constructor(o){a(this,o)}componentDidLoad(){t("FunctionalPageNavigator",this)}render(){return o(r,null)}};export{n as taro_functional_page_navigator_core}
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var e,n,r,o;return{setters:[function(t){e=t.r;n=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var s=t("taro_live_pusher_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){o("LivePusher",this)};t.prototype.render=function(){return n(r,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,o,r,e){function l(t){return t instanceof r?t:new r((function(o){o(t)}))}return new(r||(r=Promise))((function(r,i){function n(t){try{c(e.next(t))}catch(t){i(t)}}function s(t){try{c(e["throw"](t))}catch(t){i(t)}}function c(t){t.done?r(t.value):l(t.value).then(n,s)}c((e=e.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},e,l,i,n;return n={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function s(t){return function(o){return c([t,o])}}function c(s){if(e)throw new TypeError("Generator is already executing.");while(n&&(n=0,s[0]&&(r=0)),r)try{if(e=1,l&&(i=s[0]&2?l["return"]:s[0]?l["throw"]||((i=l["return"])&&i.call(l),0):l.next)&&!(i=i.call(l,s[1])).done)return i;if(l=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;l=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(s[0]===6&&r.label<i[1]){r.label=i[1];i=s;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(s);break}if(i[2])r.ops.pop();r.trys.pop();continue}s=o.call(t,r)}catch(t){s=[6,t];l=0}finally{e=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-7e6b54cb.system.js","./p-2ec68968.system.js","./p-bd5177d3.system.js"],(function(t){"use strict";var o,r,e,l,i,n,s;return{setters:[function(t){o=t.r;r=t.c;e=t.h;l=t.H;i=t.g},function(t){n=t.c},function(t){s=t.d}],execute:function(){var c="taro-scroll-view-core{display:block;width:100%;-webkit-overflow-scrolling:auto}taro-scroll-view-core::-webkit-scrollbar{display:none}.taro-scroll-view__scroll-x{overflow-x:scroll;overflow-y:hidden}.taro-scroll-view__scroll-y{overflow-x:hidden;overflow-y:scroll}";function a(t,o,r,e){if(r===void 0){r=500}if(t===o||typeof t!=="number"){return}var l=o-t;var i=Date.now();var n=o>=t;function s(t,o,r,e){return r*t/e+o}function c(){t=s(Date.now()-i,t,l,r);if(n&&t>=o||!n&&o>=t){e(o);return}e(t);requestAnimationFrame(c)}c()}var u=t("taro_scroll_view_core",function(){function t(t){var e=this;o(this,t);this.onScroll=r(this,"scroll",3);this.onScrollToUpper=r(this,"scrolltoupper",3);this.onScrollToLower=r(this,"scrolltolower",3);this._scrollLeft=0;this._scrollTop=0;this.upperAndLower=s((function(){var t=e.el,o=t.offsetWidth,r=t.offsetHeight,l=t.scrollLeft,i=t.scrollTop,n=t.scrollHeight,s=t.scrollWidth;var c=Number(e.lowerThreshold);var a=Number(e.upperThreshold);if(!isNaN(c)&&(e.scrollY&&r+i+c>=n||e.scrollX&&o+l+c>=s)){e.onScrollToLower.emit({direction:e.scrollX?"right":e.scrollY?"bottom":""})}if(!isNaN(a)&&(e.scrollY&&i<=a||e.scrollX&&l<=a)){e.onScrollToUpper.emit({direction:e.scrollX?"left":e.scrollY?"top":""})}}),200);this.scrollX=false;this.scrollY=false;this.upperThreshold=50;this.lowerThreshold=50;this.mpScrollTop=undefined;this.mpScrollLeft=undefined;this.mpScrollIntoView=undefined;this.mpScrollIntoViewAlignment=undefined;this.animated=false}t.prototype.watchScrollLeft=function(t){var o=Number(t);var r=this.animated;this.mpScrollToMethod({left:o,animated:r})};t.prototype.watchScrollTop=function(t){var o=Number(t);var r=this.animated;this.mpScrollToMethod({top:o,animated:r})};t.prototype.watchScrollIntoView=function(t){this.mpScrollIntoViewMethod(t)};t.prototype.handleScroll=function(t){if(t instanceof CustomEvent)return;t.stopPropagation();var o=this.el,r=o.scrollLeft,e=o.scrollTop,l=o.scrollHeight,i=o.scrollWidth;this._scrollLeft=r;this._scrollTop=e;this.upperAndLower();this.onScroll.emit({scrollLeft:r,scrollTop:e,scrollHeight:l,scrollWidth:i})};t.prototype.mpScrollToMethod=function(t){return __awaiter(this,void 0,void 0,(function(){var o,r,e,l,i;var n=this;return __generator(this,(function(s){o=t.top,r=t.left,e=t.duration,l=t.animated,i=l===void 0?false:l;if(this.scrollY&&typeof o==="number"&&!isNaN(o)&&o!==this._scrollTop){if(i){a(this._scrollTop,o,e,(function(t){return n.el.scrollTop=t}))}else{this.el.scrollTop=o}this._scrollTop=o}if(this.scrollX&&typeof r==="number"&&!isNaN(r)&&r!==this._scrollLeft){if(i){a(this._scrollLeft,r,e,(function(t){return n.el.scrollLeft=t}))}else{this.el.scrollLeft=r}this._scrollLeft=r}return[2]}))}))};t.prototype.mpScrollIntoViewMethod=function(t){return __awaiter(this,void 0,void 0,(function(){var o;return __generator(this,(function(r){if(typeof t==="string"&&t){(o=document.querySelector("#".concat(t)))===null||o===void 0?void 0:o.scrollIntoView({behavior:this.animated?"smooth":"auto",block:this.scrollY?this.mpScrollIntoViewAlignment||"center":"center",inline:this.scrollX?this.mpScrollIntoViewAlignment||"start":"start"})}return[2]}))}))};t.prototype.componentDidLoad=function(){var t=Number(this.mpScrollTop);var o=Number(this.mpScrollLeft);var r=this.animated;this.mpScrollToMethod({top:t,left:o,animated:r})};t.prototype.render=function(){var t=this,o=t.scrollX,r=t.scrollY;var i=n({"taro-scroll-view__scroll-x":o,"taro-scroll-view__scroll-y":r});return e(l,{class:i},e("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{mpScrollLeft:["watchScrollLeft"],mpScrollTop:["watchScrollTop"],mpScrollIntoView:["watchScrollIntoView"]}},enumerable:false,configurable:true});return t}());u.style=c}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var i=t("taro_editor_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("Editor",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as o,H as i,g as l}from"./p-9137dcab.js";import{c as r}from"./p-de951a46.js";import{d as e}from"./p-d3c7f87d.js";function h(t,s,o=500,i){if(t===s||"number"!=typeof t)return;const l=s-t,r=Date.now(),e=s>=t;!function h(){var c;c=Date.now()-r,t=l*c/o+t,e&&t>=s||!e&&s>=t?i(s):(i(t),requestAnimationFrame(h))}()}const c=class{constructor(o){t(this,o),this.onScroll=s(this,"scroll",3),this.onScrollToUpper=s(this,"scrolltoupper",3),this.onScrollToLower=s(this,"scrolltolower",3),this._scrollLeft=0,this._scrollTop=0,this.upperAndLower=e((()=>{const{offsetWidth:t,offsetHeight:s,scrollLeft:o,scrollTop:i,scrollHeight:l,scrollWidth:r}=this.el,e=Number(this.lowerThreshold),h=Number(this.upperThreshold);!isNaN(e)&&(this.scrollY&&s+i+e>=l||this.scrollX&&t+o+e>=r)&&this.onScrollToLower.emit({direction:this.scrollX?"right":this.scrollY?"bottom":""}),!isNaN(h)&&(this.scrollY&&i<=h||this.scrollX&&o<=h)&&this.onScrollToUpper.emit({direction:this.scrollX?"left":this.scrollY?"top":""})}),200),this.scrollX=!1,this.scrollY=!1,this.upperThreshold=50,this.lowerThreshold=50,this.mpScrollTop=void 0,this.mpScrollLeft=void 0,this.mpScrollIntoView=void 0,this.mpScrollIntoViewAlignment=void 0,this.animated=!1}watchScrollLeft(t){const s=Number(t),{animated:o}=this;this.mpScrollToMethod({left:s,animated:o})}watchScrollTop(t){const s=Number(t),{animated:o}=this;this.mpScrollToMethod({top:s,animated:o})}watchScrollIntoView(t){this.mpScrollIntoViewMethod(t)}handleScroll(t){if(t instanceof CustomEvent)return;t.stopPropagation();const{scrollLeft:s,scrollTop:o,scrollHeight:i,scrollWidth:l}=this.el;this._scrollLeft=s,this._scrollTop=o,this.upperAndLower(),this.onScroll.emit({scrollLeft:s,scrollTop:o,scrollHeight:i,scrollWidth:l})}async mpScrollToMethod(t){let{top:s,left:o,duration:i,animated:l=!1}=t;this.scrollY&&"number"==typeof s&&!isNaN(s)&&s!==this._scrollTop&&(l?h(this._scrollTop,s,i,(t=>this.el.scrollTop=t)):this.el.scrollTop=s,this._scrollTop=s),this.scrollX&&"number"==typeof o&&!isNaN(o)&&o!==this._scrollLeft&&(l?h(this._scrollLeft,o,i,(t=>this.el.scrollLeft=t)):this.el.scrollLeft=o,this._scrollLeft=o)}async mpScrollIntoViewMethod(t){var s;"string"==typeof t&&t&&(null===(s=document.querySelector(`#${t}`))||void 0===s||s.scrollIntoView({behavior:this.animated?"smooth":"auto",block:this.scrollY&&this.mpScrollIntoViewAlignment||"center",inline:this.scrollX&&this.mpScrollIntoViewAlignment||"start"}))}componentDidLoad(){const t=Number(this.mpScrollTop),s=Number(this.mpScrollLeft),{animated:o}=this;this.mpScrollToMethod({top:t,left:s,animated:o})}render(){const{scrollX:t,scrollY:s}=this,l=r({"taro-scroll-view__scroll-x":t,"taro-scroll-view__scroll-y":s});return o(i,{class:l},o("slot",null))}get el(){return l(this)}static get watchers(){return{mpScrollLeft:["watchScrollLeft"],mpScrollTop:["watchScrollTop"],mpScrollIntoView:["watchScrollIntoView"]}}};c.style="taro-scroll-view-core{display:block;width:100%;-webkit-overflow-scrolling:auto}taro-scroll-view-core::-webkit-scrollbar{display:none}.taro-scroll-view__scroll-x{overflow-x:scroll;overflow-y:hidden}.taro-scroll-view__scroll-y{overflow-x:hidden;overflow-y:scroll}";export{c as taro_scroll_view_core}
@@ -1 +0,0 @@
1
- import{r,h as o,H as t}from"./p-9137dcab.js";import{n as a}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(o){r(this,o)}componentDidLoad(){a("ShareElement",this)}render(){return o(t,null)}};export{s as taro_share_element_core}
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,e,r;return{setters:[function(t){n=t.r;o=t.h;e=t.H},function(t){r=t.n},function(){}],execute:function(){var c=t("taro_rtc_room_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("RtcRoom",this)};t.prototype.render=function(){return o(e,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- import{r as o,h as r,H as t}from"./p-9137dcab.js";import{n as a}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(r){o(this,r)}componentDidLoad(){a("RootPortal",this)}render(){return r(t,null)}};export{s as taro_root_portal_core}
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var c=t("taro_official_account_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("OfficialAccount",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var e,n,r,o;return{setters:[function(t){e=t.r;n=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_sticky_header_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){o("StickyHeader",this)};t.prototype.render=function(){return n(r,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var i=t("taro_animation_video_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("AnimationVideo",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- import{r,h as o,H as a}from"./p-9137dcab.js";import{n as t}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(o){r(this,o)}componentDidLoad(){t("LivePlayer",this)}render(){return o(a,null)}};export{s as taro_live_player_core}
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_ar_camera_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("ArCamera",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- import o from"@tarojs/taro";function t(t="",r={}){console.error(`H5 暂不支持 ${t} 组件!`),o.eventCenter.trigger("__taroNotSupport",{name:t,instance:r,type:"component",category:"temporarily"})}export{t as n}
@@ -1 +0,0 @@
1
- import{r,h as o,H as a}from"./p-9137dcab.js";import{n as t}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(o){r(this,o)}componentDidLoad(){t("Map",this)}render(){return o(a,null)}};export{s as taro_map_core}
@@ -1 +0,0 @@
1
- import{r,h as t,H as o}from"./p-9137dcab.js";import{n as a}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(t){r(this,t)}componentDidLoad(){a("TabItem",this)}render(){return t(o,null)}};export{s as taro_tab_item_core}
@@ -1 +0,0 @@
1
- import{r,h as o,H as t}from"./p-9137dcab.js";import{n as a}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(o){r(this,o)}componentDidLoad(){a("StickyHeader",this)}render(){return o(t,null)}};export{s as taro_sticky_header_core}
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var i=t("taro_navigation_bar_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("NavigationBar",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- import{r,h as o,H as t}from"./p-9137dcab.js";import{n as a}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(o){r(this,o)}componentDidLoad(){a("Ad",this)}render(){return o(t,null)}};export{s as taro_ad_core}
@@ -1 +0,0 @@
1
- import{r,h as a,H as o}from"./p-9137dcab.js";import{n as t}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(a){r(this,a)}componentDidLoad(){t("MatchMedia",this)}render(){return a(o,null)}};export{s as taro_match_media_core}
@@ -1 +0,0 @@
1
- import{r,h as a,H as n}from"./p-9137dcab.js";import{n as o}from"./p-6a96da58.js";import"@tarojs/taro";const t=class{constructor(a){r(this,a)}componentDidLoad(){o("InlinePaymentPanel",this)}render(){return a(n,null)}};export{t as taro_inline_payment_panel_core}
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var i=t("taro_functional_page_navigator_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("FunctionalPageNavigator",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- import{r,h as a,H as o}from"./p-9137dcab.js";import{n as t}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(a){r(this,a)}componentDidLoad(){t("PageMeta",this)}render(){return a(o,null)}};export{s as taro_page_meta_core}
@@ -1 +0,0 @@
1
- import{r,h as a,H as o}from"./p-9137dcab.js";import{n as t}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(a){r(this,a)}componentDidLoad(){t("NavigationBar",this)}render(){return a(o,null)}};export{s as taro_navigation_bar_core}
@@ -1 +0,0 @@
1
- import{r,h as o,H as s}from"./p-9137dcab.js";import{n as a}from"./p-6a96da58.js";import"@tarojs/taro";const t=class{constructor(o){r(this,o)}componentDidLoad(){a("KeyboardAccessory",this)}render(){return o(s,null)}};export{t as taro_keyboard_accessory_core}
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-2ec68968.system.js"],(function(t){"use strict";var e,i,o,s,n,r;return{setters:[function(t){e=t.r;i=t.c;o=t.h;s=t.H;n=t.g},function(t){r=t.c}],execute:function(){var a="body,html{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-view-core{display:block}";var h=t("taro_view_core",function(){function t(t){e(this,t);this.onLongPress=i(this,"longpress",7);this.startTime=0;this.animation=undefined;this.hoverClass=undefined;this.hoverStartTime=50;this.hoverStayTime=400;this.hover=false;this.touch=false}t.prototype.onTouchStart=function(){var t=this;if(this.hoverClass){this.touch=true;setTimeout((function(){if(t.touch){t.hover=true}}),this.hoverStartTime)}this.timeoutEvent=setTimeout((function(){t.onLongPress.emit()}),350);this.startTime=Date.now()};t.prototype.onTouchMove=function(){clearTimeout(this.timeoutEvent)};t.prototype.onTouchEnd=function(){var t=this;var e=Date.now()-this.startTime;if(e<350){clearTimeout(this.timeoutEvent)}if(this.hoverClass){this.touch=false;setTimeout((function(){if(!t.touch){t.hover=false}}),this.hoverStayTime)}};t.prototype.componentDidRender=function(){var t=this.el;t.childNodes.forEach((function(t){if(t.nodeType===document.COMMENT_NODE&&t["s-cn"])t["s-cn"]=false;if(t.nodeType!==document.COMMENT_NODE&&t["s-sr"])t["s-sr"]=false}))};t.prototype.render=function(){var t;var e=r((t={},t["".concat(this.hoverClass)]=this.hover,t));var i={};if(!!this.animation){i["animation"]=this.animation;i["data-animation"]=this.animation}return o(s,Object.assign({class:e},i),o("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());h.style=a}}}));
@@ -1 +0,0 @@
1
- import{r as o,h as t,H as r}from"./p-9137dcab.js";import{n as a}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(t){o(this,t)}componentDidLoad(){a("CommentDetail",this)}render(){return t(r,null)}};export{s as taro_comment_detail_core}
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var e,n,r,o;return{setters:[function(t){e=t.r;n=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var i=t("taro_live_player_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){o("LivePlayer",this)};t.prototype.render=function(){return n(r,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- import{r as o,h as r,H as a}from"./p-9137dcab.js";import{n as s}from"./p-6a96da58.js";import"@tarojs/taro";const t=class{constructor(r){o(this,r)}componentDidLoad(){s("FollowSwan",this)}render(){return r(a,null)}};export{t as taro_follow_swan_core}
@@ -1 +0,0 @@
1
- import{r,h as a,H as o}from"./p-9137dcab.js";import{n as t}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(a){r(this,a)}componentDidLoad(){t("ArCamera",this)}render(){return a(o,null)}};export{s as taro_ar_camera_core}
@@ -1 +0,0 @@
1
- var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var a=0,o=t.length,n;a<o;a++){if(n||!(a in t)){if(!n)n=Array.prototype.slice.call(t,0,a);n[a]=t[a]}}return e.concat(n||Array.prototype.slice.call(t))};System.register(["./p-7e6b54cb.system.js","@tarojs/taro","./p-2ec68968.system.js","./p-bd5177d3.system.js"],(function(e){"use strict";var t,r,a,o,n,i,s,l;return{setters:[function(e){t=e.h;r=e.r;a=e.c;o=e.H;n=e.g},function(e){i=e.default},function(e){s=e.c},function(e){l=e.i}],execute:function(){var d=function(e){var t=e||"";var r;var a={path:null,query:null,fragment:null};r=t.indexOf("#");if(r>-1){a.fragment=t.substring(r+1);t=t.substring(0,r)}r=t.indexOf("?");if(r>-1){a.query=t.substring(r+1);t=t.substring(0,r)}a.path=t;return a};var b=function(e){if(e===void 0){e=""}return e.charAt(0)==="/"?e:"/"+e};var h=function(e,t){if(e===void 0){e=""}if(t===void 0){t=""}return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)||e===t};var c=function(e,t){if(e===void 0){e=""}if(t===void 0){t=""}return h(e,t)?e.substring(t.length):e};var f=function(e,t){if(e===void 0){e=""}if(t===void 0){t=""}return e.includes(t)?e.substring(0,e.length-t.length):e};var u=function(e,t){if(e===void 0){e="hash"}if(t===void 0){t="/"}var r=e==="hash"?location.hash.slice(1).split("?")[0]:location.pathname;return b(c(r,t))};function v(e){return e.charAt(0)==="/"}function g(e,t){for(var r=t,a=r+1,o=e.length;a<o;r+=1,a+=1){e[r]=e[a]}e.pop()}function p(e,t){if(t===undefined)t="";var r=e&&e.split("/")||[];var a=t&&t.split("/")||[];var o=e&&v(e);var n=t&&v(t);var i=o||n;if(e&&v(e)){a=r}else if(r.length){a.pop();a=a.concat(r)}if(!a.length)return"/";var s;if(a.length){var l=a[a.length-1];s=l==="."||l===".."||l===""}else{s=false}var d=0;for(var b=a.length;b>=0;b--){var h=a[b];if(h==="."){g(a,b)}else if(h===".."){g(a,b);d++}else if(d){g(a,b);d--}}if(!i)for(;d--;d)a.unshift("..");if(i&&a[0]!==""&&(!a[0]||!v(a[0])))a.unshift("");var c=a.join("/");if(s&&c.substr(-1)!=="/")c+="/";return c}var _=function(e){var r=e.index,a=e.isSelected,o=a===void 0?false:a,n=e.textColor,d=e.iconPath,b=e.badgeText,h=e.showRedDot,c=h===void 0?false:h,f=e.pagePath,u=e.text,v=e.onSelect;var g=s("weui-tabbar__item",{"weui-bar__item_on":o});var p={position:"absolute",top:"-2px",right:"-13px"};var _={position:"absolute",top:"0",right:"-6px"};function m(){var e=i.getCurrentPages().shift();if(typeof(e===null||e===void 0?void 0:e.onTabItemTap)==="function"&&l(this)){e.onTabItemTap({index:r,pagePath:f,text:u})}v(r)}return t("a",{key:r,href:"javascript:;",class:g,onClick:m},t("span",{style:{display:"inline-block",position:"relative"}},t("img",{src:d,alt:"",class:"weui-tabbar__icon"}),!!b&&t("span",{class:"weui-badge taro-tabbar-badge",style:p},b),c&&t("span",{class:"weui-badge weui-badge_dot",style:_})),t("p",{class:"weui-tabbar__label",style:{color:n}},u))};var m="html,body{height:100%}#app{height:100%}.taro-tabbar__border-white::before{border-top-color:#fff !important}.taro-tabbar__container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-direction:column;flex-direction:column;height:100%}.taro-tabbar__panel{overflow:auto;position:relative;-ms-flex:1;flex:1;-webkit-overflow-scrolling:auto}.taro-tabbar__tabbar{position:relative;width:100%;height:50px;-webkit-transition:bottom 0.2s, top 0.2s;transition:bottom 0.2s, top 0.2s}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{bottom:0;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{top:-52px;-ms-flex:0 0;flex:0 0}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}";var T=0;var B=1;var y=2;var H="taro-tabbar__tabbar";var x="taro-tabbar__tabbar-hide";var w="taro-tabbar__tabbar-slideout";var C=e("taro_tabbar",function(){function e(e){var t=this;r(this,e);this.onLongPress=a(this,"longpress",7);this.homePage="";this.customRoutes=[];this.tabbarPos="bottom";this.getOriginUrl=function(e){var r=t.customRoutes.filter((function(t){var r=t[1];var a=d(r).path;var o=d(e).path;return a===o}));return f(r.length?r[0][0]:e,".html")};this.getSelectedIndex=function(e){var r=-1;t.list.forEach((function(t,a){var o=t.pagePath;var n=d(e).path;var i=d(o).path;if(n===i){r=a}}));return r};this.switchTab=function(e){t.selectedIndex=e;i.switchTab({url:t.list[e].pagePath})};this.switchTabHandler=function(e){var r=e.url,a=e.successHandler,o=e.errorHandler;var n=t.getOriginUrl(t.getCurrentUrl()||t.homePage);var i=p(r,n);var s=t.getSelectedIndex(i);if(s>-1){t.switchTab(s);a({errMsg:"switchTab:ok"})}else{o({errMsg:'switchTab:fail page "'.concat(i,'" is not found')})}};this.routerChangeHandler=function(e){var r;var a=(r=e===null||e===void 0?void 0:e.toLocation)===null||r===void 0?void 0:r.path;var o;if(typeof a==="string"){var n=t.conf.basename||"/";o=c(b(a||t.homePage),n)||"/"}else{o=t.getCurrentUrl()}t.selectedIndex=t.getSelectedIndex(t.getOriginUrl(o))};this.setTabBarBadgeHandler=function(e){var r=e.index,a=e.text,o=e.successHandler,n=e.errorHandler;var i=__spreadArray([],t.list,true);if(r in i){i[r].showRedDot=false;i[r].badgeText=a;o({errMsg:"setTabBarBadge:ok"})}else{n({errMsg:"setTabBarBadge:fail tabbar item not found"})}t.list=i};this.removeTabBarBadgeHandler=function(e){var r=e.index,a=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(r in n){n[r].badgeText=null;n[r].badgeText=null;a({errMsg:"removeTabBarBadge:ok"})}else{o({errMsg:"removeTabBarBadge:fail tabbar item not found"})}t.list=n};this.showTabBarRedDotHandler=function(e){var r=e.index,a=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(r in n){n[r].badgeText=null;n[r].showRedDot=true;a({errMsg:"showTabBarRedDot:ok"})}else{o({errMsg:"showTabBarRedDot:fail tabbar item not found"})}t.list=n};this.hideTabBarRedDotHandler=function(e){var r=e.index,a=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(r in n){n[r].showRedDot=false;a({errMsg:"hideTabBarRedDot:ok"})}else{o({errMsg:"hideTabBarRedDot:fail tabbar item not found"})}t.list=n};this.showTabBarHandler=function(e){var r=e.successHandler;t.status=T;r({errMsg:"showTabBar:ok"})};this.hideTabBarHandler=function(e){var r=e.animation,a=e.successHandler;t.status=r?y:B;a({errMsg:"hideTabBar:ok"})};this.setTabBarStyleHandler=function(e){var r=e.color,a=e.selectedColor,o=e.backgroundColor,n=e.borderStyle,i=e.successHandler;if(o)t.backgroundColor=o;if(n)t.borderStyle=n;if(r)t.color=r;if(a)t.selectedColor=a;i({errMsg:"setTabBarStyle:ok"})};this.setTabBarItemHandler=function(e){var r=e.index,a=e.iconPath,o=e.selectedIconPath,n=e.text,i=e.successHandler,s=e.errorHandler;var l=__spreadArray([],t.list,true);if(r in l){if(a)l[r].iconPath=a;if(o)l[r].selectedIconPath=o;if(n)l[r].text=n;i({errMsg:"setTabBarItem:ok"})}else{s({errMsg:"setTabBarItem:fail tabbar item not found"})}t.list=l};this.conf=undefined;this.list=undefined;this.borderStyle=undefined;this.backgroundColor=undefined;this.color=undefined;this.selectedColor=undefined;this.selectedIndex=-1;this.status=T}e.prototype.componentWillLoad=function(){var e,t;var r=((e=this.conf)===null||e===void 0?void 0:e.list)||[];var a=((t=this.conf)===null||t===void 0?void 0:t.customRoutes)||{};if(Object.prototype.toString.call(r)!=="[object Array]"||r.length<2||r.length>5){throw new Error("tabBar 配置错误")}this.homePage=b(this.conf.homePage);var o=function(e){var t;var r=a[e];e=b(e);if(typeof r==="string"){n.customRoutes.push([e,b(r)])}else if((r===null||r===void 0?void 0:r.length)>0){(t=n.customRoutes).push.apply(t,r.map((function(t){return[e,b(t)]})))}};var n=this;for(var i in a){o(i)}r.forEach((function(e){if(e.pagePath.indexOf("/")!==0){e.pagePath="/"+e.pagePath}}));this.list=r;this.borderStyle=this.conf.borderStyle;this.backgroundColor=this.conf.backgroundColor;this.color=this.conf.color;this.selectedColor=this.conf.selectedColor};e.prototype.getCurrentUrl=function(){var e=u(this.conf.mode,this.conf.basename);return decodeURI(e==="/"?this.homePage:e)};e.prototype.bindEvent=function(){i.eventCenter.on("__taroRouterChange",this.routerChangeHandler);i.eventCenter.on("__taroSwitchTab",this.switchTabHandler);i.eventCenter.on("__taroSetTabBarBadge",this.setTabBarBadgeHandler);i.eventCenter.on("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);i.eventCenter.on("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);i.eventCenter.on("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);i.eventCenter.on("__taroShowTabBar",this.showTabBarHandler);i.eventCenter.on("__taroHideTabBar",this.hideTabBarHandler);i.eventCenter.on("__taroSetTabBarStyle",this.setTabBarStyleHandler);i.eventCenter.on("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.removeEvent=function(){i.eventCenter.off("__taroRouterChange",this.routerChangeHandler);i.eventCenter.off("__taroSwitchTab",this.switchTabHandler);i.eventCenter.off("__taroSetTabBarBadge",this.setTabBarBadgeHandler);i.eventCenter.off("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);i.eventCenter.off("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);i.eventCenter.off("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);i.eventCenter.off("__taroShowTabBar",this.showTabBarHandler);i.eventCenter.off("__taroHideTabBar",this.hideTabBarHandler);i.eventCenter.off("__taroSetTabBarStyle",this.setTabBarStyleHandler);i.eventCenter.off("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.componentDidLoad=function(){this.tabbarPos=this.tabbar.nextElementSibling?"top":"bottom";this.bindEvent();this.routerChangeHandler()};e.prototype.disconnectedCallback=function(){this.removeEvent()};e.prototype.render=function(){var e,r;var a=this;var n=this.tabbarPos,i=n===void 0?"bottom":n;var l=this.status;var d=s("weui-tabbar",(e={},e["taro-tabbar__border-".concat(this.borderStyle||"black")]=true,e));var b=this.selectedIndex===-1||l===B;var h=l===y;return t(o,{class:s(H,"".concat(H,"-").concat(i),(r={},r[x]=b,r[w]=h,r))},t("div",{class:d,style:{backgroundColor:this.backgroundColor||"",height:"inherit"}},this.list.map((function(e,r){var o=a.selectedIndex===r;var n;var i;if(o){n=a.selectedColor||"";i=e.selectedIconPath}else{n=a.color||"";i=e.iconPath}return t(_,{index:r,onSelect:a.switchTab.bind(a),isSelected:o,textColor:n,iconPath:i,pagePath:e.pagePath,text:e.text,badgeText:e.badgeText,showRedDot:e.showRedDot})}))))};Object.defineProperty(e.prototype,"tabbar",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());C.style=m}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var e,n,r,o;return{setters:[function(t){e=t.r;n=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var s=t("taro_keyboard_accessory_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){o("KeyboardAccessory",this)};t.prototype.render=function(){return n(r,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var e,n,r,o;return{setters:[function(t){e=t.r;n=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var s=t("taro_lifestyle_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){o("Lifestyle",this)};t.prototype.render=function(){return n(r,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- import{r as t,h as o,H as r}from"./p-9137dcab.js";import{n as a}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(o){t(this,o)}componentDidLoad(){a("ContactButton",this)}render(){return o(r,null)}};export{s as taro_contact_button_core}
@@ -1 +0,0 @@
1
- import{r as o,h as t,H as r}from"./p-9137dcab.js";import{n as a}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(t){o(this,t)}componentDidLoad(){a("NativeSlot",this)}render(){return t(r,null)}};export{s as taro_native_slot_core}
@@ -1 +0,0 @@
1
- import{r as o,h as r,H as a}from"./p-9137dcab.js";import{n as t}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(r){o(this,r)}componentDidLoad(){t("OpenData",this)}render(){return r(a,null)}};export{s as taro_open_data_core}
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var e,n,r,o;return{setters:[function(t){e=t.r;n=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var s=t("taro_aweme_data_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){o("AwemeData",this)};t.prototype.render=function(){return n(r,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var i=t("taro_login_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("Login",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var s=t("taro_slot_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("Slot",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- import{r as o,h as r,H as a}from"./p-9137dcab.js";import{n as t}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(r){o(this,r)}componentDidLoad(){t("ChannelVideo",this)}render(){return r(a,null)}};export{s as taro_channel_video_core}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as e,H as i,g as o}from"./p-9137dcab.js";import{c as h}from"./p-de951a46.js";const r=class{constructor(e){t(this,e),this.onLongPress=s(this,"longpress",7),this.startTime=0,this.animation=void 0,this.hoverClass=void 0,this.hoverStartTime=50,this.hoverStayTime=400,this.hover=!1,this.touch=!1}onTouchStart(){this.hoverClass&&(this.touch=!0,setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime)),this.timeoutEvent=setTimeout((()=>{this.onLongPress.emit()}),350),this.startTime=Date.now()}onTouchMove(){clearTimeout(this.timeoutEvent)}onTouchEnd(){Date.now()-this.startTime<350&&clearTimeout(this.timeoutEvent),this.hoverClass&&(this.touch=!1,setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime))}componentDidRender(){this.el.childNodes.forEach((t=>{t.nodeType===document.COMMENT_NODE&&t["s-cn"]&&(t["s-cn"]=!1),t.nodeType!==document.COMMENT_NODE&&t["s-sr"]&&(t["s-sr"]=!1)}))}render(){const t=h({[`${this.hoverClass}`]:this.hover});let s={};return this.animation&&(s.animation=this.animation,s["data-animation"]=this.animation),e(i,Object.assign({class:t},s),e("slot",null))}get el(){return o(this)}};r.style="body,html{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-view-core{display:block}";export{r as taro_view_core}
@@ -1 +0,0 @@
1
- import{r,h as a,H as o}from"./p-9137dcab.js";import{n as t}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(a){r(this,a)}componentDidLoad(){t("Camera",this)}render(){return a(o,null)}};export{s as taro_camera_core}
@@ -1 +0,0 @@
1
- import{h as t,r as a,c as r,H as e,g as o}from"./p-9137dcab.js";import s from"@tarojs/taro";import{c as i}from"./p-de951a46.js";import{i as n}from"./p-d3c7f87d.js";const h=t=>{let a,r=t||"";const e={path:null,query:null,fragment:null};return a=r.indexOf("#"),a>-1&&(e.fragment=r.substring(a+1),r=r.substring(0,a)),a=r.indexOf("?"),a>-1&&(e.query=r.substring(a+1),r=r.substring(0,a)),e.path=r,e},b=(t="")=>"/"===t.charAt(0)?t:"/"+t,l=(t="",a="")=>((t="",a="")=>new RegExp("^"+a+"(\\/|\\?|#|$)","i").test(t)||t===a)(t,a)?t.substring(a.length):t;function d(t){return"/"===t.charAt(0)}function c(t,a){for(var r=a,e=r+1,o=t.length;e<o;r+=1,e+=1)t[r]=t[e];t.pop()}const _=({index:a,isSelected:r=!1,textColor:e,iconPath:o,badgeText:h,showRedDot:b=!1,pagePath:l,text:d,onSelect:c})=>{const _=i("weui-tabbar__item",{"weui-bar__item_on":r});return t("a",{key:a,href:"javascript:;",class:_,onClick:function(){const t=s.getCurrentPages().shift();"function"==typeof(null==t?void 0:t.onTabItemTap)&&n(this)&&t.onTabItemTap({index:a,pagePath:l,text:d}),c(a)}},t("span",{style:{display:"inline-block",position:"relative"}},t("img",{src:o,alt:"",class:"weui-tabbar__icon"}),!!h&&t("span",{class:"weui-badge taro-tabbar-badge",style:{position:"absolute",top:"-2px",right:"-13px"}},h),b&&t("span",{class:"weui-badge weui-badge_dot",style:{position:"absolute",top:"0",right:"-6px"}})),t("p",{class:"weui-tabbar__label",style:{color:e}},d))},u="taro-tabbar__tabbar",g=class{constructor(t){a(this,t),this.onLongPress=r(this,"longpress",7),this.homePage="",this.customRoutes=[],this.tabbarPos="bottom",this.getOriginUrl=t=>{const a=this.customRoutes.filter((([,a])=>h(a).path===h(t).path));return((t="",a="")=>t.includes(a)?t.substring(0,t.length-a.length):t)(a.length?a[0][0]:t,".html")},this.getSelectedIndex=t=>{let a=-1;return this.list.forEach((({pagePath:r},e)=>{h(t).path===h(r).path&&(a=e)})),a},this.switchTab=t=>{this.selectedIndex=t,s.switchTab({url:this.list[t].pagePath})},this.switchTabHandler=({url:t,successHandler:a,errorHandler:r})=>{const e=function(t,a){void 0===a&&(a="");var r,e=t&&t.split("/")||[],o=a&&a.split("/")||[],s=t&&d(t),i=a&&d(a),n=s||i;if(t&&d(t)?o=e:e.length&&(o.pop(),o=o.concat(e)),!o.length)return"/";if(o.length){var h=o[o.length-1];r="."===h||".."===h||""===h}else r=!1;for(var b=0,l=o.length;l>=0;l--){var _=o[l];"."===_?c(o,l):".."===_?(c(o,l),b++):b&&(c(o,l),b--)}if(!n)for(;b--;b)o.unshift("..");!n||""===o[0]||o[0]&&d(o[0])||o.unshift("");var u=o.join("/");return r&&"/"!==u.substr(-1)&&(u+="/"),u}(t,this.getOriginUrl(this.getCurrentUrl()||this.homePage)),o=this.getSelectedIndex(e);o>-1?(this.switchTab(o),a({errMsg:"switchTab:ok"})):r({errMsg:`switchTab:fail page "${e}" is not found`})},this.routerChangeHandler=t=>{var a;const r=null===(a=null==t?void 0:t.toLocation)||void 0===a?void 0:a.path;let e;if("string"==typeof r){const t=this.conf.basename||"/";e=l(b(r||this.homePage),t)||"/"}else e=this.getCurrentUrl();this.selectedIndex=this.getSelectedIndex(this.getOriginUrl(e))},this.setTabBarBadgeHandler=({index:t,text:a,successHandler:r,errorHandler:e})=>{const o=[...this.list];t in o?(o[t].showRedDot=!1,o[t].badgeText=a,r({errMsg:"setTabBarBadge:ok"})):e({errMsg:"setTabBarBadge:fail tabbar item not found"}),this.list=o},this.removeTabBarBadgeHandler=({index:t,successHandler:a,errorHandler:r})=>{const e=[...this.list];t in e?(e[t].badgeText=null,e[t].badgeText=null,a({errMsg:"removeTabBarBadge:ok"})):r({errMsg:"removeTabBarBadge:fail tabbar item not found"}),this.list=e},this.showTabBarRedDotHandler=({index:t,successHandler:a,errorHandler:r})=>{const e=[...this.list];t in e?(e[t].badgeText=null,e[t].showRedDot=!0,a({errMsg:"showTabBarRedDot:ok"})):r({errMsg:"showTabBarRedDot:fail tabbar item not found"}),this.list=e},this.hideTabBarRedDotHandler=({index:t,successHandler:a,errorHandler:r})=>{const e=[...this.list];t in e?(e[t].showRedDot=!1,a({errMsg:"hideTabBarRedDot:ok"})):r({errMsg:"hideTabBarRedDot:fail tabbar item not found"}),this.list=e},this.showTabBarHandler=({successHandler:t})=>{this.status=0,t({errMsg:"showTabBar:ok"})},this.hideTabBarHandler=({animation:t,successHandler:a})=>{this.status=t?2:1,a({errMsg:"hideTabBar:ok"})},this.setTabBarStyleHandler=({color:t,selectedColor:a,backgroundColor:r,borderStyle:e,successHandler:o})=>{r&&(this.backgroundColor=r),e&&(this.borderStyle=e),t&&(this.color=t),a&&(this.selectedColor=a),o({errMsg:"setTabBarStyle:ok"})},this.setTabBarItemHandler=({index:t,iconPath:a,selectedIconPath:r,text:e,successHandler:o,errorHandler:s})=>{const i=[...this.list];t in i?(a&&(i[t].iconPath=a),r&&(i[t].selectedIconPath=r),e&&(i[t].text=e),o({errMsg:"setTabBarItem:ok"})):s({errMsg:"setTabBarItem:fail tabbar item not found"}),this.list=i},this.conf=void 0,this.list=void 0,this.borderStyle=void 0,this.backgroundColor=void 0,this.color=void 0,this.selectedColor=void 0,this.selectedIndex=-1,this.status=0}componentWillLoad(){var t,a;const r=(null===(t=this.conf)||void 0===t?void 0:t.list)||[],e=(null===(a=this.conf)||void 0===a?void 0:a.customRoutes)||{};if("[object Array]"!==Object.prototype.toString.call(r)||r.length<2||r.length>5)throw new Error("tabBar 配置错误");this.homePage=b(this.conf.homePage);for(let t in e){const a=e[t];t=b(t),"string"==typeof a?this.customRoutes.push([t,b(a)]):(null==a?void 0:a.length)>0&&this.customRoutes.push(...a.map((a=>[t,b(a)])))}r.forEach((t=>{0!==t.pagePath.indexOf("/")&&(t.pagePath="/"+t.pagePath)})),this.list=r,this.borderStyle=this.conf.borderStyle,this.backgroundColor=this.conf.backgroundColor,this.color=this.conf.color,this.selectedColor=this.conf.selectedColor}getCurrentUrl(){const t=((t="hash",a="/")=>{const r="hash"===t?location.hash.slice(1).split("?")[0]:location.pathname;return b(l(r,a))})(this.conf.mode,this.conf.basename);return decodeURI("/"===t?this.homePage:t)}bindEvent(){s.eventCenter.on("__taroRouterChange",this.routerChangeHandler),s.eventCenter.on("__taroSwitchTab",this.switchTabHandler),s.eventCenter.on("__taroSetTabBarBadge",this.setTabBarBadgeHandler),s.eventCenter.on("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler),s.eventCenter.on("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler),s.eventCenter.on("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler),s.eventCenter.on("__taroShowTabBar",this.showTabBarHandler),s.eventCenter.on("__taroHideTabBar",this.hideTabBarHandler),s.eventCenter.on("__taroSetTabBarStyle",this.setTabBarStyleHandler),s.eventCenter.on("__taroSetTabBarItem",this.setTabBarItemHandler)}removeEvent(){s.eventCenter.off("__taroRouterChange",this.routerChangeHandler),s.eventCenter.off("__taroSwitchTab",this.switchTabHandler),s.eventCenter.off("__taroSetTabBarBadge",this.setTabBarBadgeHandler),s.eventCenter.off("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler),s.eventCenter.off("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler),s.eventCenter.off("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler),s.eventCenter.off("__taroShowTabBar",this.showTabBarHandler),s.eventCenter.off("__taroHideTabBar",this.hideTabBarHandler),s.eventCenter.off("__taroSetTabBarStyle",this.setTabBarStyleHandler),s.eventCenter.off("__taroSetTabBarItem",this.setTabBarItemHandler)}componentDidLoad(){this.tabbarPos=this.tabbar.nextElementSibling?"top":"bottom",this.bindEvent(),this.routerChangeHandler()}disconnectedCallback(){this.removeEvent()}render(){const{tabbarPos:a="bottom"}=this,r=this.status,o=i("weui-tabbar",{[`taro-tabbar__border-${this.borderStyle||"black"}`]:!0});return t(e,{class:i(u,`${u}-${a}`,{"taro-tabbar__tabbar-hide":-1===this.selectedIndex||1===r,"taro-tabbar__tabbar-slideout":2===r})},t("div",{class:o,style:{backgroundColor:this.backgroundColor||"",height:"inherit"}},this.list.map(((a,r)=>{const e=this.selectedIndex===r;let o,s;return e?(o=this.selectedColor||"",s=a.selectedIconPath):(o=this.color||"",s=a.iconPath),t(_,{index:r,onSelect:this.switchTab.bind(this),isSelected:e,textColor:o,iconPath:s,pagePath:a.pagePath,text:a.text,badgeText:a.badgeText,showRedDot:a.showRedDot})}))))}get tabbar(){return o(this)}};g.style="html,body{height:100%}#app{height:100%}.taro-tabbar__border-white::before{border-top-color:#fff !important}.taro-tabbar__container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-direction:column;flex-direction:column;height:100%}.taro-tabbar__panel{overflow:auto;position:relative;-ms-flex:1;flex:1;-webkit-overflow-scrolling:auto}.taro-tabbar__tabbar{position:relative;width:100%;height:50px;-webkit-transition:bottom 0.2s, top 0.2s;transition:bottom 0.2s, top 0.2s}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{bottom:0;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{top:-52px;-ms-flex:0 0;flex:0 0}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}";export{g as taro_tabbar}
@@ -1 +0,0 @@
1
- import{r,h as o,H as a}from"./p-9137dcab.js";import{n as t}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(o){r(this,o)}componentDidLoad(){t("PageContainer",this)}render(){return o(a,null)}};export{s as taro_page_container_core}
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,e,r;return{setters:[function(t){n=t.r;o=t.h;e=t.H},function(t){r=t.n},function(){}],execute:function(){var i=t("taro_voip_room_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("VoipRoom",this)};t.prototype.render=function(){return o(e,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- import{r as a,h as r,H as o}from"./p-9137dcab.js";import{n as t}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(r){a(this,r)}componentDidLoad(){t("AwemeData",this)}render(){return r(o,null)}};export{s as taro_aweme_data_core}
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var c=t("taro_rtc_room_item_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("RtcRoomItem",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- import{r,h as o,H as a}from"./p-9137dcab.js";import{n as t}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(o){r(this,o)}componentDidLoad(){t("ChannelLive",this)}render(){return o(a,null)}};export{s as taro_channel_live_core}