@tarojs/components 3.6.16 → 3.6.18

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 (362) 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-picker-core_2.cjs.entry.js +31 -30
  38. package/dist/cjs/taro-root-portal-core.cjs.entry.js +1 -1
  39. package/dist/cjs/taro-rtc-room-core.cjs.entry.js +1 -1
  40. package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +1 -1
  41. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +10 -0
  42. package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
  43. package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
  44. package/dist/cjs/taro-snapshot-core.cjs.entry.js +21 -0
  45. package/dist/cjs/taro-sticky-header-core.cjs.entry.js +1 -1
  46. package/dist/cjs/taro-sticky-section-core.cjs.entry.js +1 -1
  47. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +27 -16
  48. package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
  49. package/dist/cjs/taro-tabbar.cjs.entry.js +9 -21
  50. package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
  51. package/dist/cjs/taro-view-core.cjs.entry.js +3 -9
  52. package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
  53. package/dist/collection/collection-manifest.json +1 -0
  54. package/dist/collection/components/picker/picker.js +31 -30
  55. package/dist/collection/components/scroll-view/scroll-view.js +16 -2
  56. package/dist/collection/components/snapshot/snapshot.js +11 -0
  57. package/dist/collection/components/swiper/swiper.js +28 -16
  58. package/dist/collection/components/tabbar/style/index.css +5 -1
  59. package/dist/collection/components/view/view.js +2 -9
  60. package/dist/collection/utils/helper.js +11 -0
  61. package/dist/components/helper.js +12 -1
  62. package/dist/components/index.d.ts +1 -0
  63. package/dist/components/index.js +1 -0
  64. package/dist/components/taro-picker-core.js +31 -30
  65. package/dist/components/taro-scroll-view-core.js +10 -1
  66. package/dist/components/taro-snapshot-core.d.ts +11 -0
  67. package/dist/components/taro-snapshot-core.js +33 -0
  68. package/dist/components/taro-swiper-core.js +28 -16
  69. package/dist/components/taro-tabbar.js +2 -14
  70. package/dist/components/taro-view-core.js +2 -9
  71. package/dist/esm/helper-8a85bb65.js +24 -0
  72. package/dist/esm/loader.js +1 -1
  73. package/dist/esm/taro-ad-core.entry.js +1 -1
  74. package/dist/esm/taro-ad-custom-core.entry.js +1 -1
  75. package/dist/esm/taro-animation-video-core.entry.js +1 -1
  76. package/dist/esm/taro-animation-view-core.entry.js +1 -1
  77. package/dist/esm/taro-ar-camera-core.entry.js +1 -1
  78. package/dist/esm/taro-aweme-data-core.entry.js +1 -1
  79. package/dist/esm/taro-camera-core.entry.js +1 -1
  80. package/dist/esm/taro-channel-live-core.entry.js +1 -1
  81. package/dist/esm/taro-channel-video-core.entry.js +1 -1
  82. package/dist/esm/taro-comment-detail-core.entry.js +1 -1
  83. package/dist/esm/taro-comment-list-core.entry.js +1 -1
  84. package/dist/esm/taro-components.js +1 -1
  85. package/dist/esm/taro-contact-button-core.entry.js +1 -1
  86. package/dist/esm/taro-editor-core.entry.js +1 -1
  87. package/dist/esm/taro-follow-swan-core.entry.js +1 -1
  88. package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
  89. package/dist/esm/taro-grid-view-core.entry.js +1 -1
  90. package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
  91. package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
  92. package/dist/esm/taro-lifestyle-core.entry.js +1 -1
  93. package/dist/esm/taro-like-core.entry.js +1 -1
  94. package/dist/esm/taro-list-view-core.entry.js +1 -1
  95. package/dist/esm/taro-live-player-core.entry.js +1 -1
  96. package/dist/esm/taro-live-pusher-core.entry.js +1 -1
  97. package/dist/esm/taro-login-core.entry.js +1 -1
  98. package/dist/esm/taro-lottie-core.entry.js +1 -1
  99. package/dist/esm/taro-map-core.entry.js +1 -1
  100. package/dist/esm/taro-match-media-core.entry.js +1 -1
  101. package/dist/esm/taro-native-slot-core.entry.js +1 -1
  102. package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
  103. package/dist/esm/taro-official-account-core.entry.js +1 -1
  104. package/dist/esm/taro-open-data-core.entry.js +1 -1
  105. package/dist/esm/taro-page-container-core.entry.js +1 -1
  106. package/dist/esm/taro-page-meta-core.entry.js +1 -1
  107. package/dist/esm/taro-picker-core_2.entry.js +31 -30
  108. package/dist/esm/taro-root-portal-core.entry.js +1 -1
  109. package/dist/esm/taro-rtc-room-core.entry.js +1 -1
  110. package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
  111. package/dist/esm/taro-scroll-view-core.entry.js +10 -0
  112. package/dist/esm/taro-share-element-core.entry.js +1 -1
  113. package/dist/esm/taro-slot-core.entry.js +1 -1
  114. package/dist/esm/taro-snapshot-core.entry.js +17 -0
  115. package/dist/esm/taro-sticky-header-core.entry.js +1 -1
  116. package/dist/esm/taro-sticky-section-core.entry.js +1 -1
  117. package/dist/esm/taro-swiper-core_2.entry.js +27 -16
  118. package/dist/esm/taro-tab-item-core.entry.js +1 -1
  119. package/dist/esm/taro-tabbar.entry.js +2 -14
  120. package/dist/esm/taro-tabs-core.entry.js +1 -1
  121. package/dist/esm/taro-view-core.entry.js +3 -9
  122. package/dist/esm/taro-voip-room-core.entry.js +1 -1
  123. package/dist/esm-es5/helper-8a85bb65.js +1 -0
  124. package/dist/esm-es5/loader.js +1 -1
  125. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  126. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  127. package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
  128. package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
  129. package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
  130. package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
  131. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  132. package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
  133. package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
  134. package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
  135. package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
  136. package/dist/esm-es5/taro-components.js +1 -1
  137. package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
  138. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  139. package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
  140. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  141. package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
  142. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
  143. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  144. package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
  145. package/dist/esm-es5/taro-like-core.entry.js +1 -1
  146. package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
  147. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  148. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  149. package/dist/esm-es5/taro-login-core.entry.js +1 -1
  150. package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
  151. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  152. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  153. package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
  154. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  155. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  156. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  157. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  158. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  159. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  160. package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
  161. package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
  162. package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
  163. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  164. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  165. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  166. package/dist/esm-es5/taro-snapshot-core.entry.js +1 -0
  167. package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
  168. package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
  169. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  170. package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
  171. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  172. package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
  173. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  174. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  175. package/dist/taro-components/p-00ed4bbb.entry.js +1 -0
  176. package/dist/taro-components/{p-9b6550fc.entry.js → p-065a10d7.entry.js} +1 -1
  177. package/dist/taro-components/p-08b7ecd7.system.entry.js +1 -0
  178. package/dist/taro-components/p-0a250d71.system.entry.js +1 -0
  179. package/dist/taro-components/{p-c39a46ca.system.entry.js → p-0cedad18.system.entry.js} +1 -1
  180. package/dist/taro-components/{p-b235e43c.entry.js → p-0e3b37e9.entry.js} +1 -1
  181. package/dist/taro-components/p-0e8199b7.entry.js +1 -0
  182. package/dist/taro-components/{p-cc164fa3.entry.js → p-0ec2e88a.entry.js} +1 -1
  183. package/dist/taro-components/{p-968b7c1d.entry.js → p-124ac21f.entry.js} +1 -1
  184. package/dist/taro-components/p-15624788.system.entry.js +1 -0
  185. package/dist/taro-components/p-1b789738.system.entry.js +1 -0
  186. package/dist/taro-components/p-1cf16dfa.entry.js +1 -0
  187. package/dist/taro-components/p-1f118969.system.entry.js +1 -0
  188. package/dist/taro-components/{p-898db637.system.entry.js → p-21c07cb3.system.entry.js} +1 -1
  189. package/dist/taro-components/{p-af9ef8b4.entry.js → p-22bf7daf.entry.js} +1 -1
  190. package/dist/taro-components/p-24d9836e.entry.js +1 -0
  191. package/dist/taro-components/p-29638de3.entry.js +1 -0
  192. package/dist/taro-components/{p-5640e9f4.system.entry.js → p-3004e71a.system.entry.js} +1 -1
  193. package/dist/taro-components/{p-1974e52e.system.entry.js → p-32e9981a.system.entry.js} +1 -1
  194. package/dist/taro-components/{p-f534057e.system.entry.js → p-36d4407e.system.entry.js} +1 -1
  195. package/dist/taro-components/p-3f3abe55.system.entry.js +1 -0
  196. package/dist/taro-components/p-4a3357a4.entry.js +1 -0
  197. package/dist/taro-components/p-4cedbe5e.system.entry.js +1 -0
  198. package/dist/taro-components/{p-355e4dbc.entry.js → p-4fc40739.entry.js} +1 -1
  199. package/dist/taro-components/{p-6d4b7e5c.system.entry.js → p-519fbe84.system.entry.js} +1 -1
  200. package/dist/taro-components/{p-90333d0a.system.entry.js → p-5756cf00.system.entry.js} +1 -1
  201. package/dist/taro-components/{p-88d2b41b.system.entry.js → p-5870248f.system.entry.js} +1 -1
  202. package/dist/taro-components/{p-81f2ad70.system.entry.js → p-58cc2e6d.system.entry.js} +1 -1
  203. package/dist/taro-components/{p-9ac947ac.system.entry.js → p-5994d9f2.system.entry.js} +1 -1
  204. package/dist/taro-components/{p-2d1b4dcc.system.entry.js → p-5ebc7010.system.entry.js} +1 -1
  205. package/dist/taro-components/p-600e89cc.system.entry.js +1 -0
  206. package/dist/taro-components/p-64eb91f7.entry.js +1 -0
  207. package/dist/taro-components/{p-137531b6.entry.js → p-69c43a81.entry.js} +1 -1
  208. package/dist/taro-components/p-6aa2ac6a.system.entry.js +1 -0
  209. package/dist/taro-components/{p-ebdd350f.system.entry.js → p-6cde54e5.system.entry.js} +1 -1
  210. package/dist/taro-components/{p-7e998213.system.entry.js → p-7102ecf5.system.entry.js} +1 -1
  211. package/dist/taro-components/{p-407ca16e.entry.js → p-76996fcb.entry.js} +1 -1
  212. package/dist/taro-components/p-7726b789.system.entry.js +1 -0
  213. package/dist/taro-components/{p-bdc30301.entry.js → p-7bfc5f3d.entry.js} +1 -1
  214. package/dist/taro-components/p-84958ace.entry.js +1 -0
  215. package/dist/taro-components/p-862b38b9.entry.js +1 -0
  216. package/dist/taro-components/p-8c3b906c.system.js +1 -0
  217. package/dist/taro-components/p-8ca82a56.entry.js +1 -0
  218. package/dist/taro-components/p-8ccaf5e8.entry.js +1 -0
  219. package/dist/taro-components/{p-0517f107.system.entry.js → p-8d990f1c.system.entry.js} +1 -1
  220. package/dist/taro-components/{p-07302165.system.entry.js → p-92d04741.system.entry.js} +1 -1
  221. package/dist/taro-components/p-99e16df8.entry.js +1 -0
  222. package/dist/taro-components/{p-fa0f6dab.system.entry.js → p-9d76d7a9.system.entry.js} +1 -1
  223. package/dist/taro-components/p-9e03bc7a.system.entry.js +1 -0
  224. package/dist/taro-components/p-9ea4f297.entry.js +1 -0
  225. package/dist/taro-components/p-9eeba192.entry.js +1 -0
  226. package/dist/taro-components/p-a2141e85.system.entry.js +1 -0
  227. package/dist/taro-components/p-a2d590ad.entry.js +1 -0
  228. package/dist/taro-components/{p-204bd245.entry.js → p-a4951dd6.entry.js} +1 -1
  229. package/dist/taro-components/{p-46b8f89b.entry.js → p-a5a51112.entry.js} +1 -1
  230. package/dist/taro-components/p-a6e2dd48.entry.js +1 -0
  231. package/dist/taro-components/{p-66b0b419.system.entry.js → p-a74c970c.system.entry.js} +1 -1
  232. package/dist/taro-components/{p-e53508c1.system.entry.js → p-a7d31b01.system.entry.js} +1 -1
  233. package/dist/taro-components/p-a90221ab.system.entry.js +1 -0
  234. package/dist/taro-components/p-a94e3347.system.entry.js +1 -0
  235. package/dist/taro-components/p-aa04f605.entry.js +1 -0
  236. package/dist/taro-components/p-ad9b04e0.entry.js +1 -0
  237. package/dist/taro-components/{p-f11c9c37.system.entry.js → p-b07cd197.system.entry.js} +1 -1
  238. package/dist/taro-components/{p-139e6251.entry.js → p-b201ff38.entry.js} +1 -1
  239. package/dist/taro-components/p-bc541cd8.entry.js +1 -0
  240. package/dist/taro-components/{p-af8e521a.entry.js → p-bd4ed8b1.entry.js} +1 -1
  241. package/dist/taro-components/p-be96eb59.system.entry.js +1 -0
  242. package/dist/taro-components/{p-da239b8b.system.entry.js → p-bf0c8449.system.entry.js} +1 -1
  243. package/dist/taro-components/p-c0080d83.entry.js +1 -0
  244. package/dist/taro-components/p-c1a3fecf.system.entry.js +1 -0
  245. package/dist/taro-components/{p-8201ee31.system.entry.js → p-c913b635.system.entry.js} +1 -1
  246. package/dist/taro-components/p-cb406f85.system.entry.js +1 -0
  247. package/dist/taro-components/p-ccc64042.system.entry.js +1 -0
  248. package/dist/taro-components/p-ce303d12.system.entry.js +1 -0
  249. package/dist/taro-components/{p-6db97374.entry.js → p-d1756770.entry.js} +1 -1
  250. package/dist/taro-components/p-d2e0b15c.entry.js +1 -0
  251. package/dist/taro-components/p-d35c8257.system.entry.js +1 -0
  252. package/dist/taro-components/p-d550aea9.system.entry.js +1 -0
  253. package/dist/taro-components/{p-5dab46cd.system.entry.js → p-d867e333.system.entry.js} +1 -1
  254. package/dist/taro-components/{p-0114a2e4.entry.js → p-d8fe59c7.entry.js} +1 -1
  255. package/dist/taro-components/{p-50902cd0.entry.js → p-d9dcc6c6.entry.js} +1 -1
  256. package/dist/taro-components/p-da3db323.entry.js +1 -0
  257. package/dist/taro-components/p-dbdb9de9.js +1 -0
  258. package/dist/taro-components/{p-cc70bb7a.system.entry.js → p-dc5d65a0.system.entry.js} +1 -1
  259. package/dist/taro-components/{p-ab726c20.system.entry.js → p-de96861c.system.entry.js} +1 -1
  260. package/dist/taro-components/{p-907d9d01.system.entry.js → p-e2cd5dd3.system.entry.js} +1 -1
  261. package/dist/taro-components/{p-1404c119.entry.js → p-e598f47b.entry.js} +1 -1
  262. package/dist/taro-components/p-e740320c.entry.js +1 -0
  263. package/dist/taro-components/p-e976c6c9.system.entry.js +1 -0
  264. package/dist/taro-components/p-ea0d5d4f.system.entry.js +1 -0
  265. package/dist/taro-components/p-ed331c06.system.js +1 -1
  266. package/dist/taro-components/p-ef322936.entry.js +1 -0
  267. package/dist/taro-components/p-f1304456.entry.js +1 -0
  268. package/dist/taro-components/{p-3d8c9dfb.entry.js → p-f2235cbb.entry.js} +1 -1
  269. package/dist/taro-components/{p-2af69b72.entry.js → p-f23cfdc8.entry.js} +1 -1
  270. package/dist/taro-components/p-f2c86846.entry.js +1 -0
  271. package/dist/taro-components/p-f4d86882.entry.js +1 -0
  272. package/dist/taro-components/{p-8c0b740e.entry.js → p-f658de2e.entry.js} +1 -1
  273. package/dist/taro-components/p-f78823a1.entry.js +1 -0
  274. package/dist/taro-components/{p-227e33fc.system.entry.js → p-fac4ce6f.system.entry.js} +1 -1
  275. package/dist/taro-components/p-fbb2446e.entry.js +1 -0
  276. package/dist/taro-components/taro-components.esm.js +1 -1
  277. package/dist/types/components/scroll-view/scroll-view.d.ts +2 -0
  278. package/dist/types/components/snapshot/snapshot.d.ts +5 -0
  279. package/dist/types/components/swiper/swiper.d.ts +4 -2
  280. package/dist/types/components.d.ts +13 -0
  281. package/dist/types/utils/helper.d.ts +1 -0
  282. package/lib/react/components.d.ts +2 -1
  283. package/lib/react/components.js +3 -2
  284. package/lib/react/components.js.map +1 -1
  285. package/lib/react/index.js +1 -1
  286. package/lib/vue2/components.d.ts +2 -1
  287. package/lib/vue2/components.js +5 -2
  288. package/lib/vue2/components.js.map +1 -1
  289. package/lib/vue2/index.js +1 -1
  290. package/lib/vue3/components.d.ts +2 -1
  291. package/lib/vue3/components.js +3 -2
  292. package/lib/vue3/components.js.map +1 -1
  293. package/lib/vue3/index.js +1 -1
  294. package/package.json +4 -4
  295. package/types/Button.d.ts +14 -2
  296. package/types/GridView.d.ts +1 -1
  297. package/types/ListView.d.ts +1 -1
  298. package/types/NativeSlot.d.ts +5 -3
  299. package/types/ScrollView.d.ts +79 -1
  300. package/types/ShareElement.d.ts +1 -1
  301. package/types/Slot.d.ts +5 -3
  302. package/types/Snapshot.d.ts +16 -0
  303. package/types/StickyHeader.d.ts +1 -1
  304. package/types/StickySection.d.ts +1 -1
  305. package/types/Video.d.ts +13 -4
  306. package/types/index.d.ts +8 -5
  307. package/types/index.vue3.d.ts +21 -7
  308. package/dist/cjs/helper-db78e01a.js +0 -19
  309. package/dist/esm/helper-3d0ecf0f.js +0 -13
  310. package/dist/esm-es5/helper-3d0ecf0f.js +0 -1
  311. package/dist/taro-components/p-052da7f0.system.entry.js +0 -1
  312. package/dist/taro-components/p-15e45ed6.system.js +0 -1
  313. package/dist/taro-components/p-1b3d41d3.system.entry.js +0 -1
  314. package/dist/taro-components/p-1c4e3899.entry.js +0 -1
  315. package/dist/taro-components/p-1f39576a.system.entry.js +0 -1
  316. package/dist/taro-components/p-2de2a3fd.system.entry.js +0 -1
  317. package/dist/taro-components/p-3094bda6.system.entry.js +0 -1
  318. package/dist/taro-components/p-478deb81.entry.js +0 -1
  319. package/dist/taro-components/p-486d0ec7.entry.js +0 -1
  320. package/dist/taro-components/p-53ef8a6c.system.entry.js +0 -1
  321. package/dist/taro-components/p-5613907c.entry.js +0 -1
  322. package/dist/taro-components/p-57b9943c.system.entry.js +0 -1
  323. package/dist/taro-components/p-5c1e6b1c.system.entry.js +0 -1
  324. package/dist/taro-components/p-6127b1b6.system.entry.js +0 -1
  325. package/dist/taro-components/p-66f7eea6.entry.js +0 -1
  326. package/dist/taro-components/p-69cd1f2a.system.entry.js +0 -1
  327. package/dist/taro-components/p-6a96da58.js +0 -1
  328. package/dist/taro-components/p-6cde180b.entry.js +0 -1
  329. package/dist/taro-components/p-6e115968.entry.js +0 -1
  330. package/dist/taro-components/p-6f84e936.entry.js +0 -1
  331. package/dist/taro-components/p-71b54f06.entry.js +0 -1
  332. package/dist/taro-components/p-79c3fde3.system.entry.js +0 -1
  333. package/dist/taro-components/p-7b3b8057.entry.js +0 -1
  334. package/dist/taro-components/p-7d635413.entry.js +0 -1
  335. package/dist/taro-components/p-801f09b8.entry.js +0 -1
  336. package/dist/taro-components/p-85a7daeb.system.entry.js +0 -1
  337. package/dist/taro-components/p-86280254.entry.js +0 -1
  338. package/dist/taro-components/p-9046110a.entry.js +0 -1
  339. package/dist/taro-components/p-904df510.entry.js +0 -1
  340. package/dist/taro-components/p-98f9f50f.system.entry.js +0 -1
  341. package/dist/taro-components/p-9aeb7995.entry.js +0 -1
  342. package/dist/taro-components/p-9d9ede17.system.entry.js +0 -1
  343. package/dist/taro-components/p-a3a1a779.entry.js +0 -1
  344. package/dist/taro-components/p-a8565231.entry.js +0 -1
  345. package/dist/taro-components/p-a8925584.system.entry.js +0 -1
  346. package/dist/taro-components/p-af3fa859.system.entry.js +0 -1
  347. package/dist/taro-components/p-afb3895c.system.entry.js +0 -1
  348. package/dist/taro-components/p-b027181b.entry.js +0 -1
  349. package/dist/taro-components/p-b4ea72ea.entry.js +0 -1
  350. package/dist/taro-components/p-b4f3d0ab.entry.js +0 -1
  351. package/dist/taro-components/p-b6d4634f.system.entry.js +0 -1
  352. package/dist/taro-components/p-bcf80126.system.entry.js +0 -1
  353. package/dist/taro-components/p-c1073ed6.system.entry.js +0 -1
  354. package/dist/taro-components/p-c11a42e0.entry.js +0 -1
  355. package/dist/taro-components/p-c4b8851b.entry.js +0 -1
  356. package/dist/taro-components/p-d34a6c04.entry.js +0 -1
  357. package/dist/taro-components/p-e33f3592.entry.js +0 -1
  358. package/dist/taro-components/p-e3480c4c.entry.js +0 -1
  359. package/dist/taro-components/p-eaa370a9.system.entry.js +0 -1
  360. package/dist/taro-components/p-f7b32c6b.entry.js +0 -1
  361. package/dist/taro-components/p-fa6c022a.system.entry.js +0 -1
  362. package/dist/taro-components/p-fb983850.entry.js +0 -1
@@ -10,8 +10,8 @@ export class Swiper {
10
10
  var _a, _b, _c;
11
11
  ((_a = this.observerFirst) === null || _a === void 0 ? void 0 : _a.disconnect) && this.observerFirst.disconnect();
12
12
  ((_b = this.observerLast) === null || _b === void 0 ? void 0 : _b.disconnect) && this.observerLast.disconnect();
13
- this.observerFirst = new MutationObserver(this.handleSwiperLoop);
14
- this.observerLast = new MutationObserver(this.handleSwiperLoop);
13
+ this.observerFirst = new MutationObserver(this.handleSwiperLoopDebounce);
14
+ this.observerLast = new MutationObserver(this.handleSwiperLoopDebounce);
15
15
  const wrapper = (_c = this.swiper.$wrapperEl) === null || _c === void 0 ? void 0 : _c[0];
16
16
  const list = wrapper.querySelectorAll('taro-swiper-item-core:not(.swiper-slide-duplicate)');
17
17
  if (list.length >= 1) {
@@ -25,22 +25,23 @@ export class Swiper {
25
25
  });
26
26
  }
27
27
  };
28
- this.handleSwiperLoop = debounce(() => {
29
- var _a;
28
+ this.handleSwiperLoop = () => {
29
+ var _a, _b, _c, _d;
30
30
  if (!this.swiper || !this.circular)
31
31
  return;
32
32
  const swiper = this.swiper; // Note: loop 相关的方法 swiper 未声明
33
33
  const duplicates = ((_a = this.swiperWrapper) === null || _a === void 0 ? void 0 : _a.querySelectorAll('.swiper-slide-duplicate')) || [];
34
34
  if (duplicates.length < 2) {
35
35
  // Note: 循环模式下,但是前后垫片未注入
36
- swiper.loopDestroy();
37
- swiper.loopCreate();
36
+ (_b = swiper.loopDestroy) === null || _b === void 0 ? void 0 : _b.call(swiper);
37
+ (_c = swiper.loopCreate) === null || _c === void 0 ? void 0 : _c.call(swiper);
38
38
  }
39
39
  else {
40
- swiper.loopFix();
40
+ (_d = swiper.loopFix) === null || _d === void 0 ? void 0 : _d.call(swiper);
41
41
  }
42
- }, 50);
43
- this.handleSwiperSize = debounce(() => {
42
+ };
43
+ this.handleSwiperLoopDebounce = debounce(this.handleSwiperLoop, 50);
44
+ this.handleSwiperSizeDebounce = debounce(() => {
44
45
  if (this.swiper && !this.circular) {
45
46
  this.swiper.updateSlides();
46
47
  }
@@ -48,6 +49,7 @@ export class Swiper {
48
49
  this.swiperWrapper = undefined;
49
50
  this.swiper = undefined;
50
51
  this.isWillLoadCalled = false;
52
+ this.source = '';
51
53
  this.indicatorDots = false;
52
54
  this.indicatorColor = 'rgba(0, 0, 0, .3)';
53
55
  this.indicatorActiveColor = '#000000';
@@ -131,9 +133,9 @@ export class Swiper {
131
133
  this.el.removeChild = (oldChild) => {
132
134
  return newVal.removeChild(oldChild);
133
135
  };
134
- this.el.addEventListener('DOMNodeInserted', this.handleSwiperSize);
135
- this.el.addEventListener('DOMNodeRemoved', this.handleSwiperSize);
136
- this.el.addEventListener('MutationObserver', this.handleSwiperSize);
136
+ this.el.addEventListener('DOMNodeInserted', this.handleSwiperSizeDebounce);
137
+ this.el.addEventListener('DOMNodeRemoved', this.handleSwiperSizeDebounce);
138
+ this.el.addEventListener('MutationObserver', this.handleSwiperSizeDebounce);
137
139
  }
138
140
  watchCircular() {
139
141
  if (this.swiper) {
@@ -175,9 +177,9 @@ export class Swiper {
175
177
  }
176
178
  disconnectedCallback() {
177
179
  var _a, _b, _c, _d, _e, _f;
178
- this.el.removeEventListener('DOMNodeInserted', this.handleSwiperSize);
179
- this.el.removeEventListener('DOMNodeRemoved', this.handleSwiperSize);
180
- this.el.removeEventListener('MutationObserver', this.handleSwiperSize);
180
+ this.el.removeEventListener('DOMNodeInserted', this.handleSwiperSizeDebounce);
181
+ this.el.removeEventListener('DOMNodeRemoved', this.handleSwiperSizeDebounce);
182
+ this.el.removeEventListener('MutationObserver', this.handleSwiperSizeDebounce);
181
183
  (_b = (_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect) === null || _b === void 0 ? void 0 : _b.call(_a);
182
184
  (_d = (_c = this.observerFirst) === null || _c === void 0 ? void 0 : _c.disconnect) === null || _d === void 0 ? void 0 : _d.call(_c);
183
185
  (_f = (_e = this.observerLast) === null || _e === void 0 ? void 0 : _e.disconnect) === null || _f === void 0 ? void 0 : _f.call(_e);
@@ -215,10 +217,19 @@ export class Swiper {
215
217
  }
216
218
  that.onChange.emit({
217
219
  current: this.realIndex,
218
- source: ''
220
+ source: that.source
219
221
  });
220
222
  },
223
+ touchEnd: () => {
224
+ that.source = 'touch';
225
+ },
226
+ autoplay() {
227
+ that.source = 'autoplay';
228
+ },
221
229
  transitionEnd() {
230
+ setTimeout(() => {
231
+ that.source = '';
232
+ });
222
233
  that.onAnimationFinish.emit({
223
234
  current: this.realIndex,
224
235
  source: ''
@@ -550,6 +561,7 @@ export class Swiper {
550
561
  "swiperWrapper": {},
551
562
  "swiper": {},
552
563
  "isWillLoadCalled": {},
564
+ "source": {},
553
565
  "observer": {},
554
566
  "observerFirst": {},
555
567
  "observerLast": {}
@@ -3,6 +3,10 @@ body {
3
3
  height: 100%;
4
4
  }
5
5
 
6
+ :root {
7
+ --taro-tabbar-height: 50px;
8
+ }
9
+
6
10
  #app {
7
11
  height: 100%;
8
12
  }
@@ -25,7 +29,7 @@ body {
25
29
  .taro-tabbar__tabbar {
26
30
  position: relative;
27
31
  width: 100%;
28
- height: 50px;
32
+ height: var(--taro-tabbar-height);
29
33
  transition: bottom 0.2s, top 0.2s;
30
34
  }
31
35
  .taro-tabbar__tabbar-top {
@@ -1,5 +1,6 @@
1
1
  import { h, Host } from '@stencil/core';
2
2
  import classNames from 'classnames';
3
+ import { handleStencilNodes } from '../../utils';
3
4
  export class View {
4
5
  constructor() {
5
6
  this.startTime = 0;
@@ -42,15 +43,7 @@ export class View {
42
43
  }
43
44
  }
44
45
  componentDidRender() {
45
- const el = this.el;
46
- el.childNodes.forEach(item => {
47
- // Note: ['s-cn'] Content Reference Node
48
- if (item.nodeType === document.COMMENT_NODE && item['s-cn'])
49
- item['s-cn'] = false;
50
- // Note: ['s-sr'] Is a slot reference node (渲染完成后禁用 slotRelocation 特性, 避免 Stencil 组件相互调用时内置排序与第三方 UI 框架冲突导致组件顺序混乱)
51
- if (item.nodeType !== document.COMMENT_NODE && item['s-sr'])
52
- item['s-sr'] = false;
53
- });
46
+ handleStencilNodes(this.el);
54
47
  }
55
48
  render() {
56
49
  const cls = classNames({
@@ -8,3 +8,14 @@ export function notSupport(name = '', instance = {}) {
8
8
  category: 'temporarily',
9
9
  });
10
10
  }
11
+ export function handleStencilNodes(el) {
12
+ var _a;
13
+ (_a = el === null || el === void 0 ? void 0 : el.childNodes) === null || _a === void 0 ? void 0 : _a.forEach(item => {
14
+ // Note: ['s-cn'] Content Reference Node
15
+ if (item.nodeType === document.COMMENT_NODE && item['s-cn'])
16
+ item['s-cn'] = false;
17
+ // Note: ['s-sr'] Is a slot reference node (渲染完成后禁用 slotRelocation 特性, 避免 Stencil 组件相互调用时内置排序与第三方 UI 框架冲突导致组件顺序混乱)
18
+ if (item.nodeType !== document.COMMENT_NODE && item['s-sr'])
19
+ item['s-sr'] = false;
20
+ });
21
+ }
@@ -9,5 +9,16 @@ function notSupport(name = '', instance = {}) {
9
9
  category: 'temporarily',
10
10
  });
11
11
  }
12
+ function handleStencilNodes(el) {
13
+ var _a;
14
+ (_a = el === null || el === void 0 ? void 0 : el.childNodes) === null || _a === void 0 ? void 0 : _a.forEach(item => {
15
+ // Note: ['s-cn'] Content Reference Node
16
+ if (item.nodeType === document.COMMENT_NODE && item['s-cn'])
17
+ item['s-cn'] = false;
18
+ // Note: ['s-sr'] Is a slot reference node (渲染完成后禁用 slotRelocation 特性, 避免 Stencil 组件相互调用时内置排序与第三方 UI 框架冲突导致组件顺序混乱)
19
+ if (item.nodeType !== document.COMMENT_NODE && item['s-sr'])
20
+ item['s-sr'] = false;
21
+ });
22
+ }
12
23
 
13
- export { notSupport as n };
24
+ export { handleStencilNodes as h, notSupport as n };
@@ -65,6 +65,7 @@ export { ScrollView as TaroScrollViewCore } from '../types/components/scroll-vie
65
65
  export { ShareElement as TaroShareElementCore } from '../types/components/share-element/share-element';
66
66
  export { Slider as TaroSliderCore } from '../types/components/slider/slider';
67
67
  export { Slot as TaroSlotCore } from '../types/components/slot/slot';
68
+ export { Snapshot as TaroSnapshotCore } from '../types/components/snapshot/snapshot';
68
69
  export { StickyHeader as TaroStickyHeaderCore } from '../types/components/sticky-header/sticky-header';
69
70
  export { StickySection as TaroStickySectionCore } from '../types/components/sticky-section/sticky-section';
70
71
  export { Swiper as TaroSwiperCore } from '../types/components/swiper/swiper';
@@ -65,6 +65,7 @@ export { TaroScrollViewCore, defineCustomElement as defineCustomElementTaroScrol
65
65
  export { TaroShareElementCore, defineCustomElement as defineCustomElementTaroShareElementCore } from './taro-share-element-core.js';
66
66
  export { TaroSliderCore, defineCustomElement as defineCustomElementTaroSliderCore } from './taro-slider-core.js';
67
67
  export { TaroSlotCore, defineCustomElement as defineCustomElementTaroSlotCore } from './taro-slot-core.js';
68
+ export { TaroSnapshotCore, defineCustomElement as defineCustomElementTaroSnapshotCore } from './taro-snapshot-core.js';
68
69
  export { TaroStickyHeaderCore, defineCustomElement as defineCustomElementTaroStickyHeaderCore } from './taro-sticky-header-core.js';
69
70
  export { TaroStickySectionCore, defineCustomElement as defineCustomElementTaroStickySectionCore } from './taro-sticky-section-core.js';
70
71
  export { TaroSwiperCore, defineCustomElement as defineCustomElementTaroSwiperCore } from './taro-swiper-core.js';
@@ -407,40 +407,41 @@ const Picker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
407
407
  }
408
408
  else if (mode === 'date') {
409
409
  const value = this.value;
410
- const _value = verifyDate(value) || new Date(new Date().setHours(0, 0, 0, 0)); // 没传值或值的合法性错误默认今天时间
410
+ let _value = verifyDate(value) || new Date(new Date().setHours(0, 0, 0, 0)); // 没传值或值的合法性错误默认今天时间
411
411
  const _start = verifyDate(start) || new Date('1970/01/01');
412
412
  const _end = verifyDate(end) || new Date('2999/01/01');
413
413
  // 时间区间有效性
414
- if (_value >= _start && _value <= _end) {
415
- const currentYear = _value.getFullYear();
416
- const currentMonth = _value.getMonth() + 1;
417
- const currentDay = _value.getDate();
418
- const yearRange = getYearRange(_start.getFullYear(), _end.getFullYear());
419
- const monthRange = getMonthRange(_start, _end, currentYear);
420
- const dayRange = getDayRange(_start, _end, currentYear, currentMonth);
421
- this.index = [
422
- yearRange.indexOf(currentYear),
423
- monthRange.indexOf(currentMonth),
424
- dayRange.indexOf(currentDay)
425
- ];
426
- if (!this.pickerDate ||
427
- this.pickerDate._value.getTime() !== _value.getTime() ||
428
- this.pickerDate._start.getTime() !== _start.getTime() ||
429
- this.pickerDate._end.getTime() !== _end.getTime()) {
430
- this.pickerDate = {
431
- _value,
432
- _start,
433
- _end,
434
- _updateValue: [
435
- currentYear,
436
- currentMonth,
437
- currentDay
438
- ]
439
- };
440
- }
414
+ if (!(_start <= _end)) {
415
+ throw new Error(`Picker start time must be less than end time.`);
416
+ }
417
+ if (!(_value >= _start && _value <= _end)) {
418
+ _value = _start;
441
419
  }
442
- else {
443
- throw new Error('Date Interval Error');
420
+ const currentYear = _value.getFullYear();
421
+ const currentMonth = _value.getMonth() + 1;
422
+ const currentDay = _value.getDate();
423
+ const yearRange = getYearRange(_start.getFullYear(), _end.getFullYear());
424
+ const monthRange = getMonthRange(_start, _end, currentYear);
425
+ const dayRange = getDayRange(_start, _end, currentYear, currentMonth);
426
+ this.index = [
427
+ yearRange.indexOf(currentYear),
428
+ monthRange.indexOf(currentMonth),
429
+ dayRange.indexOf(currentDay)
430
+ ];
431
+ if (!this.pickerDate ||
432
+ this.pickerDate._value.getTime() !== _value.getTime() ||
433
+ this.pickerDate._start.getTime() !== _start.getTime() ||
434
+ this.pickerDate._end.getTime() !== _end.getTime()) {
435
+ this.pickerDate = {
436
+ _value,
437
+ _start,
438
+ _end,
439
+ _updateValue: [
440
+ currentYear,
441
+ currentMonth,
442
+ currentDay
443
+ ]
444
+ };
444
445
  }
445
446
  }
446
447
  else {
@@ -1,6 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { c as classnames } from './index2.js';
3
3
  import { d as debounce } from './index3.js';
4
+ import { h as handleStencilNodes } from './helper.js';
4
5
 
5
6
  const indexCss = "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}";
6
7
 
@@ -95,6 +96,11 @@ const ScrollView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
95
96
  scrollWidth
96
97
  });
97
98
  }
99
+ handleTouchMove(e) {
100
+ if (e instanceof CustomEvent)
101
+ return;
102
+ e.stopPropagation();
103
+ }
98
104
  async mpScrollToMethod(object) {
99
105
  let { top, left, duration, animated = false } = object;
100
106
  if (this.scrollY && typeof top === 'number' && !isNaN(top) && top !== this._scrollTop) {
@@ -134,6 +140,9 @@ const ScrollView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
134
140
  top, left, animated
135
141
  });
136
142
  }
143
+ componentDidRender() {
144
+ handleStencilNodes(this.el);
145
+ }
137
146
  render() {
138
147
  const { scrollX, scrollY } = this;
139
148
  const cls = classnames({
@@ -161,7 +170,7 @@ const ScrollView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
161
170
  "animated": [4, "scroll-with-animation"],
162
171
  "mpScrollToMethod": [64],
163
172
  "mpScrollIntoViewMethod": [64]
164
- }, [[3, "scroll", "handleScroll"]]]);
173
+ }, [[1, "scroll", "handleScroll"], [1, "touchmove", "handleTouchMove"]]]);
165
174
  function defineCustomElement$1() {
166
175
  if (typeof customElements === "undefined") {
167
176
  return;
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface TaroSnapshotCore extends Components.TaroSnapshotCore, HTMLElement {}
4
+ export const TaroSnapshotCore: {
5
+ prototype: TaroSnapshotCore;
6
+ new (): TaroSnapshotCore;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,33 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+ import { n as notSupport } from './helper.js';
3
+
4
+ const Snapshot = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
5
+ constructor() {
6
+ super();
7
+ this.__registerHost();
8
+ }
9
+ componentDidLoad() {
10
+ notSupport('Snapshot', this);
11
+ }
12
+ render() {
13
+ return h(Host, null);
14
+ }
15
+ }, [0, "taro-snapshot-core"]);
16
+ function defineCustomElement$1() {
17
+ if (typeof customElements === "undefined") {
18
+ return;
19
+ }
20
+ const components = ["taro-snapshot-core"];
21
+ components.forEach(tagName => { switch (tagName) {
22
+ case "taro-snapshot-core":
23
+ if (!customElements.get(tagName)) {
24
+ customElements.define(tagName, Snapshot);
25
+ }
26
+ break;
27
+ } });
28
+ }
29
+
30
+ const TaroSnapshotCore = Snapshot;
31
+ const defineCustomElement = defineCustomElement$1;
32
+
33
+ export { TaroSnapshotCore, defineCustomElement };
@@ -9865,8 +9865,8 @@ const Swiper = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
9865
9865
  var _a, _b, _c;
9866
9866
  ((_a = this.observerFirst) === null || _a === void 0 ? void 0 : _a.disconnect) && this.observerFirst.disconnect();
9867
9867
  ((_b = this.observerLast) === null || _b === void 0 ? void 0 : _b.disconnect) && this.observerLast.disconnect();
9868
- this.observerFirst = new MutationObserver(this.handleSwiperLoop);
9869
- this.observerLast = new MutationObserver(this.handleSwiperLoop);
9868
+ this.observerFirst = new MutationObserver(this.handleSwiperLoopDebounce);
9869
+ this.observerLast = new MutationObserver(this.handleSwiperLoopDebounce);
9870
9870
  const wrapper = (_c = this.swiper.$wrapperEl) === null || _c === void 0 ? void 0 : _c[0];
9871
9871
  const list = wrapper.querySelectorAll('taro-swiper-item-core:not(.swiper-slide-duplicate)');
9872
9872
  if (list.length >= 1) {
@@ -9880,22 +9880,23 @@ const Swiper = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
9880
9880
  });
9881
9881
  }
9882
9882
  };
9883
- this.handleSwiperLoop = debounce(() => {
9884
- var _a;
9883
+ this.handleSwiperLoop = () => {
9884
+ var _a, _b, _c, _d;
9885
9885
  if (!this.swiper || !this.circular)
9886
9886
  return;
9887
9887
  const swiper = this.swiper; // Note: loop 相关的方法 swiper 未声明
9888
9888
  const duplicates = ((_a = this.swiperWrapper) === null || _a === void 0 ? void 0 : _a.querySelectorAll('.swiper-slide-duplicate')) || [];
9889
9889
  if (duplicates.length < 2) {
9890
9890
  // Note: 循环模式下,但是前后垫片未注入
9891
- swiper.loopDestroy();
9892
- swiper.loopCreate();
9891
+ (_b = swiper.loopDestroy) === null || _b === void 0 ? void 0 : _b.call(swiper);
9892
+ (_c = swiper.loopCreate) === null || _c === void 0 ? void 0 : _c.call(swiper);
9893
9893
  }
9894
9894
  else {
9895
- swiper.loopFix();
9895
+ (_d = swiper.loopFix) === null || _d === void 0 ? void 0 : _d.call(swiper);
9896
9896
  }
9897
- }, 50);
9898
- this.handleSwiperSize = debounce(() => {
9897
+ };
9898
+ this.handleSwiperLoopDebounce = debounce(this.handleSwiperLoop, 50);
9899
+ this.handleSwiperSizeDebounce = debounce(() => {
9899
9900
  if (this.swiper && !this.circular) {
9900
9901
  this.swiper.updateSlides();
9901
9902
  }
@@ -9903,6 +9904,7 @@ const Swiper = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
9903
9904
  this.swiperWrapper = undefined;
9904
9905
  this.swiper = undefined;
9905
9906
  this.isWillLoadCalled = false;
9907
+ this.source = '';
9906
9908
  this.indicatorDots = false;
9907
9909
  this.indicatorColor = 'rgba(0, 0, 0, .3)';
9908
9910
  this.indicatorActiveColor = '#000000';
@@ -9986,9 +9988,9 @@ const Swiper = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
9986
9988
  this.el.removeChild = (oldChild) => {
9987
9989
  return newVal.removeChild(oldChild);
9988
9990
  };
9989
- this.el.addEventListener('DOMNodeInserted', this.handleSwiperSize);
9990
- this.el.addEventListener('DOMNodeRemoved', this.handleSwiperSize);
9991
- this.el.addEventListener('MutationObserver', this.handleSwiperSize);
9991
+ this.el.addEventListener('DOMNodeInserted', this.handleSwiperSizeDebounce);
9992
+ this.el.addEventListener('DOMNodeRemoved', this.handleSwiperSizeDebounce);
9993
+ this.el.addEventListener('MutationObserver', this.handleSwiperSizeDebounce);
9992
9994
  }
9993
9995
  watchCircular() {
9994
9996
  if (this.swiper) {
@@ -10030,9 +10032,9 @@ const Swiper = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
10030
10032
  }
10031
10033
  disconnectedCallback() {
10032
10034
  var _a, _b, _c, _d, _e, _f;
10033
- this.el.removeEventListener('DOMNodeInserted', this.handleSwiperSize);
10034
- this.el.removeEventListener('DOMNodeRemoved', this.handleSwiperSize);
10035
- this.el.removeEventListener('MutationObserver', this.handleSwiperSize);
10035
+ this.el.removeEventListener('DOMNodeInserted', this.handleSwiperSizeDebounce);
10036
+ this.el.removeEventListener('DOMNodeRemoved', this.handleSwiperSizeDebounce);
10037
+ this.el.removeEventListener('MutationObserver', this.handleSwiperSizeDebounce);
10036
10038
  (_b = (_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect) === null || _b === void 0 ? void 0 : _b.call(_a);
10037
10039
  (_d = (_c = this.observerFirst) === null || _c === void 0 ? void 0 : _c.disconnect) === null || _d === void 0 ? void 0 : _d.call(_c);
10038
10040
  (_f = (_e = this.observerLast) === null || _e === void 0 ? void 0 : _e.disconnect) === null || _f === void 0 ? void 0 : _f.call(_e);
@@ -10070,10 +10072,19 @@ const Swiper = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
10070
10072
  }
10071
10073
  that.onChange.emit({
10072
10074
  current: this.realIndex,
10073
- source: ''
10075
+ source: that.source
10074
10076
  });
10075
10077
  },
10078
+ touchEnd: () => {
10079
+ that.source = 'touch';
10080
+ },
10081
+ autoplay() {
10082
+ that.source = 'autoplay';
10083
+ },
10076
10084
  transitionEnd() {
10085
+ setTimeout(() => {
10086
+ that.source = '';
10087
+ });
10077
10088
  that.onAnimationFinish.emit({
10078
10089
  current: this.realIndex,
10079
10090
  source: ''
@@ -10162,6 +10173,7 @@ const Swiper = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
10162
10173
  "swiperWrapper": [32],
10163
10174
  "swiper": [32],
10164
10175
  "isWillLoadCalled": [32],
10176
+ "source": [32],
10165
10177
  "observer": [32],
10166
10178
  "observerFirst": [32],
10167
10179
  "observerLast": [32]
@@ -1,5 +1,6 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent, Host } from '@stencil/core/internal/client';
2
2
  import Taro from '@tarojs/taro';
3
+ import { stripSuffix, stripBasename, addLeadingSlash, getCurrentPage } from '@tarojs/router/dist/utils';
3
4
  import { c as classnames } from './index2.js';
4
5
  import { i as isVisible } from './index3.js';
5
6
 
@@ -25,19 +26,6 @@ const splitUrl = _url => {
25
26
  return res;
26
27
  };
27
28
 
28
- // export const removeLeadingSlash = (str = '') => str.replace(/^\.?\//, '')
29
- // export const removeTrailingSearch = (str = '') => str.replace(/\?[\s\S]*$/, '')
30
- const addLeadingSlash = (url = '') => (url.charAt(0) === '/' ? url : '/' + url);
31
- const hasBasename = (path = '', prefix = '') => new RegExp('^' + prefix + '(\\/|\\?|#|$)', 'i').test(path) || path === prefix;
32
- const stripBasename = (path = '', prefix = '') => hasBasename(path, prefix) ? path.substring(prefix.length) : path;
33
- const stripSuffix = (path = '', suffix = '') => path.includes(suffix) ? path.substring(0, path.length - suffix.length) : path;
34
- const getCurrentPage = (routerMode = 'hash', basename = '/') => {
35
- const pagePath = routerMode === 'hash'
36
- ? location.hash.slice(1).split('?')[0]
37
- : location.pathname;
38
- return addLeadingSlash(stripBasename(pagePath, basename));
39
- };
40
-
41
29
  function isAbsolute(pathname) {
42
30
  return pathname.charAt(0) === '/';
43
31
  }
@@ -141,7 +129,7 @@ const TabbarItem = ({ index, isSelected = false, textColor, iconPath, badgeText,
141
129
  h("p", { class: 'weui-tabbar__label', style: { color: textColor } }, text)));
142
130
  };
143
131
 
144
- const indexCss = "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}";
132
+ const indexCss = "html,body{height:100%}:root{--taro-tabbar-height:50px}#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:var(--taro-tabbar-height);-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}";
145
133
 
146
134
  const STATUS_SHOW = 0;
147
135
  const STATUS_HIDE = 1;
@@ -1,5 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { c as classnames } from './index2.js';
3
+ import { h as handleStencilNodes } from './helper.js';
3
4
 
4
5
  const indexCss = "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}";
5
6
 
@@ -48,15 +49,7 @@ const View = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
48
49
  }
49
50
  }
50
51
  componentDidRender() {
51
- const el = this.el;
52
- el.childNodes.forEach(item => {
53
- // Note: ['s-cn'] Content Reference Node
54
- if (item.nodeType === document.COMMENT_NODE && item['s-cn'])
55
- item['s-cn'] = false;
56
- // Note: ['s-sr'] Is a slot reference node (渲染完成后禁用 slotRelocation 特性, 避免 Stencil 组件相互调用时内置排序与第三方 UI 框架冲突导致组件顺序混乱)
57
- if (item.nodeType !== document.COMMENT_NODE && item['s-sr'])
58
- item['s-sr'] = false;
59
- });
52
+ handleStencilNodes(this.el);
60
53
  }
61
54
  render() {
62
55
  const cls = classnames({
@@ -0,0 +1,24 @@
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
+ function handleStencilNodes(el) {
13
+ var _a;
14
+ (_a = el === null || el === void 0 ? void 0 : el.childNodes) === null || _a === void 0 ? void 0 : _a.forEach(item => {
15
+ // Note: ['s-cn'] Content Reference Node
16
+ if (item.nodeType === document.COMMENT_NODE && item['s-cn'])
17
+ item['s-cn'] = false;
18
+ // Note: ['s-sr'] Is a slot reference node (渲染完成后禁用 slotRelocation 特性, 避免 Stencil 组件相互调用时内置排序与第三方 UI 框架冲突导致组件顺序混乱)
19
+ if (item.nodeType !== document.COMMENT_NODE && item['s-sr'])
20
+ item['s-sr'] = false;
21
+ });
22
+ }
23
+
24
+ export { handleStencilNodes as h, notSupport as n };
@@ -11,7 +11,7 @@ const patchEsm = () => {
11
11
  const defineCustomElements = (win, options) => {
12
12
  if (typeof window === 'undefined') return Promise.resolve();
13
13
  return patchEsm().then(() => {
14
- return bootstrapLazy(JSON.parse("[[\"taro-checkbox-core_2\",[[4,\"taro-checkbox-core\",{\"name\":[1],\"value\":[1032],\"color\":[1],\"id\":[1025],\"checked\":[4],\"disabled\":[4],\"nativeProps\":[16],\"isWillLoadCalled\":[32]}],[0,\"taro-checkbox-group-core\",{\"name\":[8]},[[0,\"checkboxchange\",\"function\"]]]]],[\"taro-movable-area-core_2\",[[0,\"taro-movable-area-core\",{\"scaleArea\":[4,\"scale-area\"]}],[0,\"taro-movable-view-core\",{\"x\":[8],\"y\":[8],\"direction\":[1],\"outOfBounds\":[4,\"out-of-bounds\"],\"inertia\":[4],\"friction\":[2],\"damping\":[2],\"disabled\":[4],\"scale\":[4],\"scaleMin\":[2,\"scale-min\"],\"scaleMax\":[2,\"scale-max\"],\"scaleValue\":[2,\"scale-value\"],\"animation\":[4],\"setParent\":[64],\"endScale\":[64],\"setScale\":[64]}]]],[\"taro-picker-view-column-core_2\",[[0,\"taro-picker-view-column-core\",{\"col\":[1],\"initialPosition\":[1,\"initial-position\"],\"paddingVertical\":[2,\"padding-vertical\"],\"isInit\":[32],\"isMove\":[32]},[[1,\"scroll\",\"onScroll\"],[1,\"mouseup\",\"onMouseEnd\"],[1,\"mouseout\",\"onMouseEnd\"],[1,\"mouseleave\",\"onMouseEnd\"],[1,\"touchend\",\"onTouchEnd\"]]],[4,\"taro-picker-view-core\",{\"indicatorStyle\":[1,\"indicator-style\"],\"indicatorClass\":[1,\"indicator-class\"],\"value\":[16],\"maskStyle\":[1,\"mask-style\"],\"maskClass\":[1,\"mask-class\"]},[[0,\"onselect\",\"onSelect\"],[0,\"onselectstart\",\"onSelectStart\"],[0,\"onselectend\",\"onPickerColEnd\"]]]]],[\"taro-radio-core_2\",[[4,\"taro-radio-core\",{\"name\":[1],\"value\":[1],\"id\":[1025],\"checked\":[1540],\"disabled\":[4],\"nativeProps\":[16],\"isWillLoadCalled\":[32]}],[0,\"taro-radio-group-core\",{\"name\":[8]},[[0,\"radiochange\",\"function\"]]]]],[\"taro-swiper-core_2\",[[4,\"taro-swiper-core\",{\"indicatorDots\":[4,\"indicator-dots\"],\"indicatorColor\":[1,\"indicator-color\"],\"indicatorActiveColor\":[1,\"indicator-active-color\"],\"autoplay\":[4],\"current\":[2],\"interval\":[2],\"duration\":[2],\"circular\":[4],\"vertical\":[4],\"previousMargin\":[1,\"previous-margin\"],\"nextMargin\":[1,\"next-margin\"],\"displayMultipleItems\":[2,\"display-multiple-items\"],\"full\":[4],\"zoom\":[4],\"swiperWrapper\":[32],\"swiper\":[32],\"isWillLoadCalled\":[32],\"observer\":[32],\"observerFirst\":[32],\"observerLast\":[32]}],[0,\"taro-swiper-item-core\",{\"itemId\":[1,\"item-id\"]}]]],[\"taro-ad-core\",[[0,\"taro-ad-core\"]]],[\"taro-ad-custom-core\",[[0,\"taro-ad-custom-core\"]]],[\"taro-animation-video-core\",[[0,\"taro-animation-video-core\"]]],[\"taro-animation-view-core\",[[0,\"taro-animation-view-core\"]]],[\"taro-ar-camera-core\",[[0,\"taro-ar-camera-core\"]]],[\"taro-audio-core\",[[0,\"taro-audio-core\",{\"src\":[1],\"controls\":[4],\"autoplay\":[4],\"loop\":[4],\"muted\":[4],\"nativeProps\":[16]}]]],[\"taro-aweme-data-core\",[[0,\"taro-aweme-data-core\"]]],[\"taro-block-core\",[[0,\"taro-block-core\"]]],[\"taro-button-core\",[[4,\"taro-button-core\",{\"disabled\":[4],\"hoverClass\":[1,\"hover-class\"],\"type\":[1],\"hoverStartTime\":[2,\"hover-start-time\"],\"hoverStayTime\":[2,\"hover-stay-time\"],\"size\":[1],\"plain\":[4],\"loading\":[4],\"formType\":[513,\"form-type\"],\"hover\":[32],\"touch\":[32]},[[0,\"click\",\"onClick\"],[1,\"touchstart\",\"onTouchStart\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-camera-core\",[[0,\"taro-camera-core\"]]],[\"taro-canvas-core\",[[0,\"taro-canvas-core\",{\"canvasId\":[1,\"id\"],\"height\":[1537],\"width\":[1537],\"nativeProps\":[16]}]]],[\"taro-channel-live-core\",[[0,\"taro-channel-live-core\"]]],[\"taro-channel-video-core\",[[0,\"taro-channel-video-core\"]]],[\"taro-comment-detail-core\",[[0,\"taro-comment-detail-core\"]]],[\"taro-comment-list-core\",[[0,\"taro-comment-list-core\"]]],[\"taro-contact-button-core\",[[0,\"taro-contact-button-core\"]]],[\"taro-cover-image-core\",[[0,\"taro-cover-image-core\",{\"src\":[1],\"nativeProps\":[16]}]]],[\"taro-cover-view-core\",[[4,\"taro-cover-view-core\",{\"animation\":[1],\"hoverClass\":[1,\"hover-class\"],\"hoverStartTime\":[2,\"hover-start-time\"],\"hoverStayTime\":[2,\"hover-stay-time\"],\"hover\":[32],\"touch\":[32]},[[1,\"touchstart\",\"onTouchStart\"],[1,\"touchmove\",\"onTouchMove\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-custom-wrapper-core\",[[0,\"taro-custom-wrapper-core\"]]],[\"taro-editor-core\",[[0,\"taro-editor-core\"]]],[\"taro-follow-swan-core\",[[0,\"taro-follow-swan-core\"]]],[\"taro-form-core\",[[4,\"taro-form-core\",null,[[0,\"tarobuttonsubmit\",\"onButtonSubmit\"],[0,\"tarobuttonreset\",\"onButtonReset\"]]]]],[\"taro-functional-page-navigator-core\",[[0,\"taro-functional-page-navigator-core\"]]],[\"taro-grid-view-core\",[[0,\"taro-grid-view-core\"]]],[\"taro-icon-core\",[[0,\"taro-icon-core\",{\"type\":[1],\"size\":[8],\"color\":[1]}]]],[\"taro-image-core\",[[0,\"taro-image-core\",{\"src\":[1],\"mode\":[1],\"lazyLoad\":[4,\"lazy-load\"],\"nativeProps\":[16],\"aspectFillMode\":[32],\"didLoad\":[32]}]]],[\"taro-inline-payment-panel-core\",[[0,\"taro-inline-payment-panel-core\"]]],[\"taro-input-core\",[[0,\"taro-input-core\",{\"value\":[1025],\"type\":[1],\"password\":[4],\"placeholder\":[1],\"disabled\":[4],\"maxlength\":[2],\"autoFocus\":[4,\"focus\"],\"confirmType\":[1,\"confirm-type\"],\"name\":[1],\"nativeProps\":[16],\"focus\":[64]}]]],[\"taro-keyboard-accessory-core\",[[0,\"taro-keyboard-accessory-core\"]]],[\"taro-label-core\",[[4,\"taro-label-core\",{\"for\":[1]}]]],[\"taro-lifestyle-core\",[[0,\"taro-lifestyle-core\"]]],[\"taro-like-core\",[[0,\"taro-like-core\"]]],[\"taro-list-view-core\",[[0,\"taro-list-view-core\"]]],[\"taro-live-player-core\",[[0,\"taro-live-player-core\"]]],[\"taro-live-pusher-core\",[[0,\"taro-live-pusher-core\"]]],[\"taro-login-core\",[[0,\"taro-login-core\"]]],[\"taro-lottie-core\",[[0,\"taro-lottie-core\"]]],[\"taro-map-core\",[[0,\"taro-map-core\"]]],[\"taro-match-media-core\",[[0,\"taro-match-media-core\"]]],[\"taro-native-slot-core\",[[0,\"taro-native-slot-core\"]]],[\"taro-navigation-bar-core\",[[0,\"taro-navigation-bar-core\"]]],[\"taro-navigator-core\",[[0,\"taro-navigator-core\",{\"hoverClass\":[1,\"hover-class\"],\"url\":[1],\"openType\":[1,\"open-type\"],\"isHover\":[4,\"is-hover\"],\"delta\":[2]},[[0,\"click\",\"onClick\"]]]]],[\"taro-official-account-core\",[[0,\"taro-official-account-core\"]]],[\"taro-open-data-core\",[[0,\"taro-open-data-core\"]]],[\"taro-page-container-core\",[[0,\"taro-page-container-core\"]]],[\"taro-page-meta-core\",[[0,\"taro-page-meta-core\"]]],[\"taro-progress-core\",[[0,\"taro-progress-core\",{\"percent\":[2],\"showInfo\":[4,\"show-info\"],\"borderRadius\":[8,\"border-radius\"],\"fontSize\":[8,\"font-size\"],\"strokeWidth\":[8,\"stroke-width\"],\"activeColor\":[1,\"active-color\"],\"backgroundColor\":[1,\"background-color\"],\"active\":[4]}]]],[\"taro-pull-to-refresh\",[[4,\"taro-pull-to-refresh\",{\"prefixCls\":[1,\"prefix-cls\"],\"distanceToRefresh\":[2,\"distance-to-refresh\"],\"damping\":[2],\"indicator\":[16],\"currSt\":[32],\"dragOnEdge\":[32]}]]],[\"taro-rich-text-core\",[[0,\"taro-rich-text-core\",{\"nodes\":[1],\"selectable\":[1028],\"userSelect\":[1028,\"user-select\"],\"space\":[1]}]]],[\"taro-root-portal-core\",[[0,\"taro-root-portal-core\"]]],[\"taro-rtc-room-core\",[[0,\"taro-rtc-room-core\"]]],[\"taro-rtc-room-item-core\",[[0,\"taro-rtc-room-item-core\"]]],[\"taro-scroll-view-core\",[[4,\"taro-scroll-view-core\",{\"scrollX\":[4,\"scroll-x\"],\"scrollY\":[4,\"scroll-y\"],\"upperThreshold\":[8,\"upper-threshold\"],\"lowerThreshold\":[8,\"lower-threshold\"],\"mpScrollTop\":[520,\"scroll-top\"],\"mpScrollLeft\":[520,\"scroll-left\"],\"mpScrollIntoView\":[513,\"scroll-into-view\"],\"mpScrollIntoViewAlignment\":[1,\"scroll-into-view-alignment\"],\"animated\":[4,\"scroll-with-animation\"],\"mpScrollToMethod\":[64],\"mpScrollIntoViewMethod\":[64]},[[3,\"scroll\",\"handleScroll\"]]]]],[\"taro-share-element-core\",[[0,\"taro-share-element-core\"]]],[\"taro-slider-core\",[[0,\"taro-slider-core\",{\"min\":[2],\"max\":[2],\"step\":[2],\"disabled\":[4],\"value\":[1538],\"activeColor\":[1,\"active-color\"],\"backgroundColor\":[1,\"background-color\"],\"blockSize\":[2,\"block-size\"],\"blockColor\":[1,\"block-color\"],\"showValue\":[4,\"show-value\"],\"name\":[1],\"totalWidth\":[32],\"touching\":[32],\"ogX\":[32],\"touchId\":[32],\"percent\":[32],\"ogPercent\":[32],\"isWillLoadCalled\":[32]}]]],[\"taro-slot-core\",[[0,\"taro-slot-core\"]]],[\"taro-sticky-header-core\",[[0,\"taro-sticky-header-core\"]]],[\"taro-sticky-section-core\",[[0,\"taro-sticky-section-core\"]]],[\"taro-switch-core\",[[0,\"taro-switch-core\",{\"type\":[1],\"checked\":[4],\"color\":[1],\"name\":[1],\"disabled\":[4],\"nativeProps\":[16],\"isChecked\":[32],\"isWillLoadCalled\":[32]}]]],[\"taro-tab-item-core\",[[0,\"taro-tab-item-core\"]]],[\"taro-tabbar\",[[0,\"taro-tabbar\",{\"conf\":[16],\"list\":[32],\"borderStyle\":[32],\"backgroundColor\":[32],\"color\":[32],\"selectedColor\":[32],\"selectedIndex\":[32],\"status\":[32]}]]],[\"taro-tabs-core\",[[0,\"taro-tabs-core\"]]],[\"taro-text-core\",[[4,\"taro-text-core\",{\"selectable\":[1028],\"userSelect\":[1028,\"user-select\"],\"space\":[1025],\"numberOfLines\":[2,\"number-of-lines\"]}]]],[\"taro-textarea-core\",[[0,\"taro-textarea-core\",{\"value\":[1025],\"placeholder\":[1],\"disabled\":[4],\"maxlength\":[2],\"autoFocus\":[4,\"focus\"],\"autoHeight\":[4,\"auto-height\"],\"name\":[1],\"nativeProps\":[16],\"line\":[32],\"focus\":[64]}]]],[\"taro-view-core\",[[4,\"taro-view-core\",{\"animation\":[1],\"hoverClass\":[1,\"hover-class\"],\"hoverStartTime\":[2,\"hover-start-time\"],\"hoverStayTime\":[2,\"hover-stay-time\"],\"hover\":[32],\"touch\":[32]},[[1,\"touchstart\",\"onTouchStart\"],[1,\"touchmove\",\"onTouchMove\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-voip-room-core\",[[0,\"taro-voip-room-core\"]]],[\"taro-web-view-core\",[[0,\"taro-web-view-core\",{\"src\":[1]}]]],[\"taro-picker-core_2\",[[4,\"taro-picker-core\",{\"mode\":[1],\"disabled\":[4],\"range\":[16],\"rangeKey\":[1,\"range-key\"],\"value\":[1032],\"start\":[1],\"end\":[1],\"fields\":[1],\"name\":[1],\"textProps\":[16],\"pickerValue\":[32],\"height\":[32],\"hidden\":[32],\"fadeOut\":[32],\"isWillLoadCalled\":[32]}],[0,\"taro-picker-group\",{\"mode\":[1],\"range\":[16],\"rangeKey\":[1,\"range-key\"],\"height\":[2],\"columnId\":[1,\"column-id\"],\"updateHeight\":[16],\"updateDay\":[16],\"startY\":[32],\"preY\":[32],\"hadMove\":[32],\"touchEnd\":[32],\"isMove\":[32],\"handleMoveStart\":[64],\"handleMoving\":[64],\"handleMoveEnd\":[64]},[[1,\"mousedown\",\"onMouseDown\"],[3,\"mousemove\",\"onMouseMove\"],[1,\"mouseup\",\"onMouseMoveEnd\"],[1,\"mouseleave\",\"onMouseMoveEnd\"],[1,\"touchstart\",\"onTouchStart\"],[3,\"touchmove\",\"onTouchMove\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-video-control_3\",[[0,\"taro-video-core\",{\"src\":[1],\"duration\":[2],\"controls\":[4],\"autoplay\":[4],\"loop\":[4],\"muted\":[4],\"initialTime\":[2,\"initial-time\"],\"poster\":[1],\"objectFit\":[1,\"object-fit\"],\"showProgress\":[4,\"show-progress\"],\"showFullscreenBtn\":[4,\"show-fullscreen-btn\"],\"showPlayBtn\":[4,\"show-play-btn\"],\"showCenterPlayBtn\":[4,\"show-center-play-btn\"],\"showMuteBtn\":[4,\"show-mute-btn\"],\"danmuList\":[16],\"danmuBtn\":[4,\"danmu-btn\"],\"enableDanmu\":[4,\"enable-danmu\"],\"enablePlayGesture\":[4,\"enable-play-gesture\"],\"enableProgressGesture\":[4,\"enable-progress-gesture\"],\"vslideGesture\":[4,\"vslide-gesture\"],\"vslideGestureInFullscreen\":[4,\"vslide-gesture-in-fullscreen\"],\"nativeProps\":[16],\"_duration\":[32],\"_enableDanmu\":[32],\"isPlaying\":[32],\"isFirst\":[32],\"isFullScreen\":[32],\"fullScreenTimestamp\":[32],\"isMute\":[32],\"getHlsObject\":[64],\"play\":[64],\"pause\":[64],\"stop\":[64],\"seek\":[64],\"requestFullScreen\":[64],\"exitFullScreen\":[64]},[[5,\"touchmove\",\"onDocumentTouchMove\"],[5,\"touchend\",\"onDocumentTouchEnd\"],[5,\"touchcancel\",\"onDocumentTouchEnd\"]]],[4,\"taro-video-control\",{\"controls\":[4],\"currentTime\":[2,\"current-time\"],\"duration\":[2],\"isPlaying\":[4,\"is-playing\"],\"pauseFunc\":[16],\"playFunc\":[16],\"seekFunc\":[16],\"showPlayBtn\":[4,\"show-play-btn\"],\"showProgress\":[4,\"show-progress\"],\"setProgressBall\":[64],\"toggleVisibility\":[64],\"getIsDraggingProgressBall\":[64],\"setCurrentTime\":[64]},[[5,\"touchmove\",\"onDocumentTouchMove\"],[5,\"touchend\",\"onDocumentTouchEnd\"],[5,\"touchcancel\",\"onDocumentTouchEnd\"]]],[0,\"taro-video-danmu\",{\"enable\":[4],\"danmuList\":[32],\"sendDanmu\":[64],\"tick\":[64]}]]]]"), options);
14
+ return bootstrapLazy(JSON.parse("[[\"taro-checkbox-core_2\",[[4,\"taro-checkbox-core\",{\"name\":[1],\"value\":[1032],\"color\":[1],\"id\":[1025],\"checked\":[4],\"disabled\":[4],\"nativeProps\":[16],\"isWillLoadCalled\":[32]}],[0,\"taro-checkbox-group-core\",{\"name\":[8]},[[0,\"checkboxchange\",\"function\"]]]]],[\"taro-movable-area-core_2\",[[0,\"taro-movable-area-core\",{\"scaleArea\":[4,\"scale-area\"]}],[0,\"taro-movable-view-core\",{\"x\":[8],\"y\":[8],\"direction\":[1],\"outOfBounds\":[4,\"out-of-bounds\"],\"inertia\":[4],\"friction\":[2],\"damping\":[2],\"disabled\":[4],\"scale\":[4],\"scaleMin\":[2,\"scale-min\"],\"scaleMax\":[2,\"scale-max\"],\"scaleValue\":[2,\"scale-value\"],\"animation\":[4],\"setParent\":[64],\"endScale\":[64],\"setScale\":[64]}]]],[\"taro-picker-view-column-core_2\",[[0,\"taro-picker-view-column-core\",{\"col\":[1],\"initialPosition\":[1,\"initial-position\"],\"paddingVertical\":[2,\"padding-vertical\"],\"isInit\":[32],\"isMove\":[32]},[[1,\"scroll\",\"onScroll\"],[1,\"mouseup\",\"onMouseEnd\"],[1,\"mouseout\",\"onMouseEnd\"],[1,\"mouseleave\",\"onMouseEnd\"],[1,\"touchend\",\"onTouchEnd\"]]],[4,\"taro-picker-view-core\",{\"indicatorStyle\":[1,\"indicator-style\"],\"indicatorClass\":[1,\"indicator-class\"],\"value\":[16],\"maskStyle\":[1,\"mask-style\"],\"maskClass\":[1,\"mask-class\"]},[[0,\"onselect\",\"onSelect\"],[0,\"onselectstart\",\"onSelectStart\"],[0,\"onselectend\",\"onPickerColEnd\"]]]]],[\"taro-radio-core_2\",[[4,\"taro-radio-core\",{\"name\":[1],\"value\":[1],\"id\":[1025],\"checked\":[1540],\"disabled\":[4],\"nativeProps\":[16],\"isWillLoadCalled\":[32]}],[0,\"taro-radio-group-core\",{\"name\":[8]},[[0,\"radiochange\",\"function\"]]]]],[\"taro-swiper-core_2\",[[4,\"taro-swiper-core\",{\"indicatorDots\":[4,\"indicator-dots\"],\"indicatorColor\":[1,\"indicator-color\"],\"indicatorActiveColor\":[1,\"indicator-active-color\"],\"autoplay\":[4],\"current\":[2],\"interval\":[2],\"duration\":[2],\"circular\":[4],\"vertical\":[4],\"previousMargin\":[1,\"previous-margin\"],\"nextMargin\":[1,\"next-margin\"],\"displayMultipleItems\":[2,\"display-multiple-items\"],\"full\":[4],\"zoom\":[4],\"swiperWrapper\":[32],\"swiper\":[32],\"isWillLoadCalled\":[32],\"source\":[32],\"observer\":[32],\"observerFirst\":[32],\"observerLast\":[32]}],[0,\"taro-swiper-item-core\",{\"itemId\":[1,\"item-id\"]}]]],[\"taro-ad-core\",[[0,\"taro-ad-core\"]]],[\"taro-ad-custom-core\",[[0,\"taro-ad-custom-core\"]]],[\"taro-animation-video-core\",[[0,\"taro-animation-video-core\"]]],[\"taro-animation-view-core\",[[0,\"taro-animation-view-core\"]]],[\"taro-ar-camera-core\",[[0,\"taro-ar-camera-core\"]]],[\"taro-audio-core\",[[0,\"taro-audio-core\",{\"src\":[1],\"controls\":[4],\"autoplay\":[4],\"loop\":[4],\"muted\":[4],\"nativeProps\":[16]}]]],[\"taro-aweme-data-core\",[[0,\"taro-aweme-data-core\"]]],[\"taro-block-core\",[[0,\"taro-block-core\"]]],[\"taro-button-core\",[[4,\"taro-button-core\",{\"disabled\":[4],\"hoverClass\":[1,\"hover-class\"],\"type\":[1],\"hoverStartTime\":[2,\"hover-start-time\"],\"hoverStayTime\":[2,\"hover-stay-time\"],\"size\":[1],\"plain\":[4],\"loading\":[4],\"formType\":[513,\"form-type\"],\"hover\":[32],\"touch\":[32]},[[0,\"click\",\"onClick\"],[1,\"touchstart\",\"onTouchStart\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-camera-core\",[[0,\"taro-camera-core\"]]],[\"taro-canvas-core\",[[0,\"taro-canvas-core\",{\"canvasId\":[1,\"id\"],\"height\":[1537],\"width\":[1537],\"nativeProps\":[16]}]]],[\"taro-channel-live-core\",[[0,\"taro-channel-live-core\"]]],[\"taro-channel-video-core\",[[0,\"taro-channel-video-core\"]]],[\"taro-comment-detail-core\",[[0,\"taro-comment-detail-core\"]]],[\"taro-comment-list-core\",[[0,\"taro-comment-list-core\"]]],[\"taro-contact-button-core\",[[0,\"taro-contact-button-core\"]]],[\"taro-cover-image-core\",[[0,\"taro-cover-image-core\",{\"src\":[1],\"nativeProps\":[16]}]]],[\"taro-cover-view-core\",[[4,\"taro-cover-view-core\",{\"animation\":[1],\"hoverClass\":[1,\"hover-class\"],\"hoverStartTime\":[2,\"hover-start-time\"],\"hoverStayTime\":[2,\"hover-stay-time\"],\"hover\":[32],\"touch\":[32]},[[1,\"touchstart\",\"onTouchStart\"],[1,\"touchmove\",\"onTouchMove\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-custom-wrapper-core\",[[0,\"taro-custom-wrapper-core\"]]],[\"taro-editor-core\",[[0,\"taro-editor-core\"]]],[\"taro-follow-swan-core\",[[0,\"taro-follow-swan-core\"]]],[\"taro-form-core\",[[4,\"taro-form-core\",null,[[0,\"tarobuttonsubmit\",\"onButtonSubmit\"],[0,\"tarobuttonreset\",\"onButtonReset\"]]]]],[\"taro-functional-page-navigator-core\",[[0,\"taro-functional-page-navigator-core\"]]],[\"taro-grid-view-core\",[[0,\"taro-grid-view-core\"]]],[\"taro-icon-core\",[[0,\"taro-icon-core\",{\"type\":[1],\"size\":[8],\"color\":[1]}]]],[\"taro-image-core\",[[0,\"taro-image-core\",{\"src\":[1],\"mode\":[1],\"lazyLoad\":[4,\"lazy-load\"],\"nativeProps\":[16],\"aspectFillMode\":[32],\"didLoad\":[32]}]]],[\"taro-inline-payment-panel-core\",[[0,\"taro-inline-payment-panel-core\"]]],[\"taro-input-core\",[[0,\"taro-input-core\",{\"value\":[1025],\"type\":[1],\"password\":[4],\"placeholder\":[1],\"disabled\":[4],\"maxlength\":[2],\"autoFocus\":[4,\"focus\"],\"confirmType\":[1,\"confirm-type\"],\"name\":[1],\"nativeProps\":[16],\"focus\":[64]}]]],[\"taro-keyboard-accessory-core\",[[0,\"taro-keyboard-accessory-core\"]]],[\"taro-label-core\",[[4,\"taro-label-core\",{\"for\":[1]}]]],[\"taro-lifestyle-core\",[[0,\"taro-lifestyle-core\"]]],[\"taro-like-core\",[[0,\"taro-like-core\"]]],[\"taro-list-view-core\",[[0,\"taro-list-view-core\"]]],[\"taro-live-player-core\",[[0,\"taro-live-player-core\"]]],[\"taro-live-pusher-core\",[[0,\"taro-live-pusher-core\"]]],[\"taro-login-core\",[[0,\"taro-login-core\"]]],[\"taro-lottie-core\",[[0,\"taro-lottie-core\"]]],[\"taro-map-core\",[[0,\"taro-map-core\"]]],[\"taro-match-media-core\",[[0,\"taro-match-media-core\"]]],[\"taro-native-slot-core\",[[0,\"taro-native-slot-core\"]]],[\"taro-navigation-bar-core\",[[0,\"taro-navigation-bar-core\"]]],[\"taro-navigator-core\",[[0,\"taro-navigator-core\",{\"hoverClass\":[1,\"hover-class\"],\"url\":[1],\"openType\":[1,\"open-type\"],\"isHover\":[4,\"is-hover\"],\"delta\":[2]},[[0,\"click\",\"onClick\"]]]]],[\"taro-official-account-core\",[[0,\"taro-official-account-core\"]]],[\"taro-open-data-core\",[[0,\"taro-open-data-core\"]]],[\"taro-page-container-core\",[[0,\"taro-page-container-core\"]]],[\"taro-page-meta-core\",[[0,\"taro-page-meta-core\"]]],[\"taro-progress-core\",[[0,\"taro-progress-core\",{\"percent\":[2],\"showInfo\":[4,\"show-info\"],\"borderRadius\":[8,\"border-radius\"],\"fontSize\":[8,\"font-size\"],\"strokeWidth\":[8,\"stroke-width\"],\"activeColor\":[1,\"active-color\"],\"backgroundColor\":[1,\"background-color\"],\"active\":[4]}]]],[\"taro-pull-to-refresh\",[[4,\"taro-pull-to-refresh\",{\"prefixCls\":[1,\"prefix-cls\"],\"distanceToRefresh\":[2,\"distance-to-refresh\"],\"damping\":[2],\"indicator\":[16],\"currSt\":[32],\"dragOnEdge\":[32]}]]],[\"taro-rich-text-core\",[[0,\"taro-rich-text-core\",{\"nodes\":[1],\"selectable\":[1028],\"userSelect\":[1028,\"user-select\"],\"space\":[1]}]]],[\"taro-root-portal-core\",[[0,\"taro-root-portal-core\"]]],[\"taro-rtc-room-core\",[[0,\"taro-rtc-room-core\"]]],[\"taro-rtc-room-item-core\",[[0,\"taro-rtc-room-item-core\"]]],[\"taro-scroll-view-core\",[[4,\"taro-scroll-view-core\",{\"scrollX\":[4,\"scroll-x\"],\"scrollY\":[4,\"scroll-y\"],\"upperThreshold\":[8,\"upper-threshold\"],\"lowerThreshold\":[8,\"lower-threshold\"],\"mpScrollTop\":[520,\"scroll-top\"],\"mpScrollLeft\":[520,\"scroll-left\"],\"mpScrollIntoView\":[513,\"scroll-into-view\"],\"mpScrollIntoViewAlignment\":[1,\"scroll-into-view-alignment\"],\"animated\":[4,\"scroll-with-animation\"],\"mpScrollToMethod\":[64],\"mpScrollIntoViewMethod\":[64]},[[1,\"scroll\",\"handleScroll\"],[1,\"touchmove\",\"handleTouchMove\"]]]]],[\"taro-share-element-core\",[[0,\"taro-share-element-core\"]]],[\"taro-slider-core\",[[0,\"taro-slider-core\",{\"min\":[2],\"max\":[2],\"step\":[2],\"disabled\":[4],\"value\":[1538],\"activeColor\":[1,\"active-color\"],\"backgroundColor\":[1,\"background-color\"],\"blockSize\":[2,\"block-size\"],\"blockColor\":[1,\"block-color\"],\"showValue\":[4,\"show-value\"],\"name\":[1],\"totalWidth\":[32],\"touching\":[32],\"ogX\":[32],\"touchId\":[32],\"percent\":[32],\"ogPercent\":[32],\"isWillLoadCalled\":[32]}]]],[\"taro-slot-core\",[[0,\"taro-slot-core\"]]],[\"taro-snapshot-core\",[[0,\"taro-snapshot-core\"]]],[\"taro-sticky-header-core\",[[0,\"taro-sticky-header-core\"]]],[\"taro-sticky-section-core\",[[0,\"taro-sticky-section-core\"]]],[\"taro-switch-core\",[[0,\"taro-switch-core\",{\"type\":[1],\"checked\":[4],\"color\":[1],\"name\":[1],\"disabled\":[4],\"nativeProps\":[16],\"isChecked\":[32],\"isWillLoadCalled\":[32]}]]],[\"taro-tab-item-core\",[[0,\"taro-tab-item-core\"]]],[\"taro-tabbar\",[[0,\"taro-tabbar\",{\"conf\":[16],\"list\":[32],\"borderStyle\":[32],\"backgroundColor\":[32],\"color\":[32],\"selectedColor\":[32],\"selectedIndex\":[32],\"status\":[32]}]]],[\"taro-tabs-core\",[[0,\"taro-tabs-core\"]]],[\"taro-text-core\",[[4,\"taro-text-core\",{\"selectable\":[1028],\"userSelect\":[1028,\"user-select\"],\"space\":[1025],\"numberOfLines\":[2,\"number-of-lines\"]}]]],[\"taro-textarea-core\",[[0,\"taro-textarea-core\",{\"value\":[1025],\"placeholder\":[1],\"disabled\":[4],\"maxlength\":[2],\"autoFocus\":[4,\"focus\"],\"autoHeight\":[4,\"auto-height\"],\"name\":[1],\"nativeProps\":[16],\"line\":[32],\"focus\":[64]}]]],[\"taro-view-core\",[[4,\"taro-view-core\",{\"animation\":[1],\"hoverClass\":[1,\"hover-class\"],\"hoverStartTime\":[2,\"hover-start-time\"],\"hoverStayTime\":[2,\"hover-stay-time\"],\"hover\":[32],\"touch\":[32]},[[1,\"touchstart\",\"onTouchStart\"],[1,\"touchmove\",\"onTouchMove\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-voip-room-core\",[[0,\"taro-voip-room-core\"]]],[\"taro-web-view-core\",[[0,\"taro-web-view-core\",{\"src\":[1]}]]],[\"taro-picker-core_2\",[[4,\"taro-picker-core\",{\"mode\":[1],\"disabled\":[4],\"range\":[16],\"rangeKey\":[1,\"range-key\"],\"value\":[1032],\"start\":[1],\"end\":[1],\"fields\":[1],\"name\":[1],\"textProps\":[16],\"pickerValue\":[32],\"height\":[32],\"hidden\":[32],\"fadeOut\":[32],\"isWillLoadCalled\":[32]}],[0,\"taro-picker-group\",{\"mode\":[1],\"range\":[16],\"rangeKey\":[1,\"range-key\"],\"height\":[2],\"columnId\":[1,\"column-id\"],\"updateHeight\":[16],\"updateDay\":[16],\"startY\":[32],\"preY\":[32],\"hadMove\":[32],\"touchEnd\":[32],\"isMove\":[32],\"handleMoveStart\":[64],\"handleMoving\":[64],\"handleMoveEnd\":[64]},[[1,\"mousedown\",\"onMouseDown\"],[3,\"mousemove\",\"onMouseMove\"],[1,\"mouseup\",\"onMouseMoveEnd\"],[1,\"mouseleave\",\"onMouseMoveEnd\"],[1,\"touchstart\",\"onTouchStart\"],[3,\"touchmove\",\"onTouchMove\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-video-control_3\",[[0,\"taro-video-core\",{\"src\":[1],\"duration\":[2],\"controls\":[4],\"autoplay\":[4],\"loop\":[4],\"muted\":[4],\"initialTime\":[2,\"initial-time\"],\"poster\":[1],\"objectFit\":[1,\"object-fit\"],\"showProgress\":[4,\"show-progress\"],\"showFullscreenBtn\":[4,\"show-fullscreen-btn\"],\"showPlayBtn\":[4,\"show-play-btn\"],\"showCenterPlayBtn\":[4,\"show-center-play-btn\"],\"showMuteBtn\":[4,\"show-mute-btn\"],\"danmuList\":[16],\"danmuBtn\":[4,\"danmu-btn\"],\"enableDanmu\":[4,\"enable-danmu\"],\"enablePlayGesture\":[4,\"enable-play-gesture\"],\"enableProgressGesture\":[4,\"enable-progress-gesture\"],\"vslideGesture\":[4,\"vslide-gesture\"],\"vslideGestureInFullscreen\":[4,\"vslide-gesture-in-fullscreen\"],\"nativeProps\":[16],\"_duration\":[32],\"_enableDanmu\":[32],\"isPlaying\":[32],\"isFirst\":[32],\"isFullScreen\":[32],\"fullScreenTimestamp\":[32],\"isMute\":[32],\"getHlsObject\":[64],\"play\":[64],\"pause\":[64],\"stop\":[64],\"seek\":[64],\"requestFullScreen\":[64],\"exitFullScreen\":[64]},[[5,\"touchmove\",\"onDocumentTouchMove\"],[5,\"touchend\",\"onDocumentTouchEnd\"],[5,\"touchcancel\",\"onDocumentTouchEnd\"]]],[4,\"taro-video-control\",{\"controls\":[4],\"currentTime\":[2,\"current-time\"],\"duration\":[2],\"isPlaying\":[4,\"is-playing\"],\"pauseFunc\":[16],\"playFunc\":[16],\"seekFunc\":[16],\"showPlayBtn\":[4,\"show-play-btn\"],\"showProgress\":[4,\"show-progress\"],\"setProgressBall\":[64],\"toggleVisibility\":[64],\"getIsDraggingProgressBall\":[64],\"setCurrentTime\":[64]},[[5,\"touchmove\",\"onDocumentTouchMove\"],[5,\"touchend\",\"onDocumentTouchEnd\"],[5,\"touchcancel\",\"onDocumentTouchEnd\"]]],[0,\"taro-video-danmu\",{\"enable\":[4],\"danmuList\":[32],\"sendDanmu\":[64],\"tick\":[64]}]]]]"), options);
15
15
  });
16
16
  };
17
17