@tarojs/components 3.5.0-beta.2 → 3.5.0-beta.5

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 (307) hide show
  1. package/dist/cjs/{index-cd258c8b.js → index-13289aba.js} +0 -0
  2. package/dist/cjs/{index-dffbd352.js → index-f9d21cc5.js} +0 -0
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
  5. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
  6. package/dist/cjs/taro-audio-core.cjs.entry.js +1 -1
  7. package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
  8. package/dist/cjs/taro-button-core.cjs.entry.js +2 -2
  9. package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
  10. package/dist/cjs/taro-canvas-core.cjs.entry.js +1 -1
  11. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +1 -1
  12. package/dist/cjs/taro-components.cjs.js +1 -1
  13. package/dist/cjs/taro-cover-image-core.cjs.entry.js +1 -1
  14. package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
  15. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
  16. package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
  17. package/dist/cjs/taro-form-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-icon-core.cjs.entry.js +2 -2
  20. package/dist/cjs/taro-image-core.cjs.entry.js +2 -2
  21. package/dist/cjs/taro-input-core.cjs.entry.js +1 -1
  22. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
  23. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  24. package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
  25. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
  26. package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
  27. package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
  28. package/dist/cjs/taro-movable-area-core.cjs.entry.js +1 -1
  29. package/dist/cjs/taro-movable-view-core.cjs.entry.js +1 -1
  30. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
  31. package/dist/cjs/taro-navigator-core.cjs.entry.js +2 -2
  32. package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
  33. package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
  34. package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
  35. package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
  36. package/dist/cjs/taro-picker-core_2.cjs.entry.js +2 -2
  37. package/dist/cjs/taro-picker-view-column-core.cjs.entry.js +1 -1
  38. package/dist/cjs/taro-picker-view-core.cjs.entry.js +2 -2
  39. package/dist/cjs/taro-progress-core.cjs.entry.js +1 -1
  40. package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +11 -7
  41. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  42. package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
  43. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +2 -2
  44. package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
  45. package/dist/cjs/taro-slider-core.cjs.entry.js +1 -1
  46. package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
  47. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +11 -6
  48. package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
  49. package/dist/cjs/taro-tabbar.cjs.entry.js +2 -2
  50. package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
  51. package/dist/cjs/taro-textarea-core.cjs.entry.js +1 -1
  52. package/dist/cjs/taro-video-control_3.cjs.entry.js +2 -2
  53. package/dist/cjs/taro-view-core.cjs.entry.js +2 -2
  54. package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
  55. package/dist/cjs/taro-web-view-core.cjs.entry.js +1 -1
  56. package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +9 -5
  57. package/dist/collection/components/rich-text/rich-text.js +1 -1
  58. package/dist/collection/components/swiper/style/index.css +21 -9
  59. package/dist/collection/components/swiper/swiper.js +8 -3
  60. package/dist/esm/{index-cd1a2d33.js → index-1d8e8acd.js} +0 -0
  61. package/dist/esm/{index-1d67274c.js → index-26d8b479.js} +0 -0
  62. package/dist/esm/loader.js +1 -1
  63. package/dist/esm/polyfills/core-js.js +0 -0
  64. package/dist/esm/polyfills/dom.js +0 -0
  65. package/dist/esm/polyfills/es5-html-element.js +0 -0
  66. package/dist/esm/polyfills/index.js +0 -0
  67. package/dist/esm/polyfills/system.js +0 -0
  68. package/dist/esm/taro-ad-core.entry.js +1 -1
  69. package/dist/esm/taro-ad-custom-core.entry.js +1 -1
  70. package/dist/esm/taro-audio-core.entry.js +1 -1
  71. package/dist/esm/taro-block-core.entry.js +1 -1
  72. package/dist/esm/taro-button-core.entry.js +2 -2
  73. package/dist/esm/taro-camera-core.entry.js +1 -1
  74. package/dist/esm/taro-canvas-core.entry.js +1 -1
  75. package/dist/esm/taro-checkbox-core_2.entry.js +1 -1
  76. package/dist/esm/taro-components.js +1 -1
  77. package/dist/esm/taro-cover-image-core.entry.js +1 -1
  78. package/dist/esm/taro-cover-view-core.entry.js +2 -2
  79. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  80. package/dist/esm/taro-editor-core.entry.js +1 -1
  81. package/dist/esm/taro-form-core.entry.js +1 -1
  82. package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
  83. package/dist/esm/taro-icon-core.entry.js +2 -2
  84. package/dist/esm/taro-image-core.entry.js +2 -2
  85. package/dist/esm/taro-input-core.entry.js +1 -1
  86. package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
  87. package/dist/esm/taro-label-core.entry.js +1 -1
  88. package/dist/esm/taro-live-player-core.entry.js +1 -1
  89. package/dist/esm/taro-live-pusher-core.entry.js +1 -1
  90. package/dist/esm/taro-map-core.entry.js +1 -1
  91. package/dist/esm/taro-match-media-core.entry.js +1 -1
  92. package/dist/esm/taro-movable-area-core.entry.js +1 -1
  93. package/dist/esm/taro-movable-view-core.entry.js +1 -1
  94. package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
  95. package/dist/esm/taro-navigator-core.entry.js +2 -2
  96. package/dist/esm/taro-official-account-core.entry.js +1 -1
  97. package/dist/esm/taro-open-data-core.entry.js +1 -1
  98. package/dist/esm/taro-page-container-core.entry.js +1 -1
  99. package/dist/esm/taro-page-meta-core.entry.js +1 -1
  100. package/dist/esm/taro-picker-core_2.entry.js +2 -2
  101. package/dist/esm/taro-picker-view-column-core.entry.js +1 -1
  102. package/dist/esm/taro-picker-view-core.entry.js +2 -2
  103. package/dist/esm/taro-progress-core.entry.js +1 -1
  104. package/dist/esm/taro-pull-to-refresh.entry.js +11 -7
  105. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  106. package/dist/esm/taro-rich-text-core.entry.js +2 -2
  107. package/dist/esm/taro-scroll-view-core.entry.js +2 -2
  108. package/dist/esm/taro-share-element-core.entry.js +1 -1
  109. package/dist/esm/taro-slider-core.entry.js +1 -1
  110. package/dist/esm/taro-slot-core.entry.js +1 -1
  111. package/dist/esm/taro-swiper-core_2.entry.js +11 -6
  112. package/dist/esm/taro-switch-core.entry.js +1 -1
  113. package/dist/esm/taro-tabbar.entry.js +2 -2
  114. package/dist/esm/taro-text-core.entry.js +2 -2
  115. package/dist/esm/taro-textarea-core.entry.js +1 -1
  116. package/dist/esm/taro-video-control_3.entry.js +2 -2
  117. package/dist/esm/taro-view-core.entry.js +2 -2
  118. package/dist/esm/taro-voip-room-core.entry.js +1 -1
  119. package/dist/esm/taro-web-view-core.entry.js +1 -1
  120. package/dist/esm-es5/{index-cd1a2d33.js → index-1d8e8acd.js} +0 -0
  121. package/dist/esm-es5/{index-1d67274c.js → index-26d8b479.js} +0 -0
  122. package/dist/esm-es5/loader.js +1 -1
  123. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  124. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  125. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  126. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  127. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  128. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  129. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  130. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  131. package/dist/esm-es5/taro-components.js +1 -1
  132. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  133. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  134. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  135. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  136. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  137. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  138. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  139. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  140. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  141. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  142. package/dist/esm-es5/taro-label-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-map-core.entry.js +1 -1
  146. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  147. package/dist/esm-es5/taro-movable-area-core.entry.js +1 -1
  148. package/dist/esm-es5/taro-movable-view-core.entry.js +1 -1
  149. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  150. package/dist/esm-es5/taro-navigator-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-picker-core_2.entry.js +1 -1
  156. package/dist/esm-es5/taro-picker-view-column-core.entry.js +1 -1
  157. package/dist/esm-es5/taro-picker-view-core.entry.js +1 -1
  158. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  159. package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
  160. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  161. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  162. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  163. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  164. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  165. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  166. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  167. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  168. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  169. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  170. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  171. package/dist/esm-es5/taro-video-control_3.entry.js +55 -55
  172. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  173. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  174. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  175. package/dist/taro-components/{p-5656b308.system.entry.js → p-019591c8.system.entry.js} +1 -1
  176. package/dist/taro-components/{p-55646f03.entry.js → p-060858b1.entry.js} +1 -1
  177. package/dist/taro-components/{p-4a0599c1.system.entry.js → p-06e3d685.system.entry.js} +1 -1
  178. package/dist/taro-components/p-0996daee.entry.js +1 -0
  179. package/dist/taro-components/{p-13d03572.entry.js → p-0ca42006.entry.js} +1 -1
  180. package/dist/taro-components/{p-7f8ddefe.entry.js → p-0d0b3677.entry.js} +1 -1
  181. package/dist/taro-components/{p-221bffa0.system.entry.js → p-0d1e0e91.system.entry.js} +1 -1
  182. package/dist/taro-components/{p-6946f166.system.entry.js → p-0ea13d67.system.entry.js} +1 -1
  183. package/dist/taro-components/{p-7419e765.entry.js → p-0f42b8a4.entry.js} +1 -1
  184. package/dist/taro-components/{p-45b92229.system.entry.js → p-12deba0b.system.entry.js} +1 -1
  185. package/dist/taro-components/p-133e3ac4.entry.js +1 -0
  186. package/dist/taro-components/{p-884e6eab.entry.js → p-16aff829.entry.js} +1 -1
  187. package/dist/taro-components/{p-e6ec7abc.entry.js → p-16c1e564.entry.js} +1 -1
  188. package/dist/taro-components/{p-2c4dea36.system.entry.js → p-178a3adf.system.entry.js} +1 -1
  189. package/dist/taro-components/{p-7f2d456b.system.entry.js → p-1e0406ec.system.entry.js} +1 -1
  190. package/dist/taro-components/p-1e516bd0.entry.js +1 -0
  191. package/dist/taro-components/{p-a2fd3c03.system.js → p-2241b671.system.js} +1 -1
  192. package/dist/taro-components/p-26e9ce75.entry.js +1 -0
  193. package/dist/taro-components/{p-52cbf36e.system.entry.js → p-2887213d.system.entry.js} +1 -1
  194. package/dist/taro-components/{p-88ee404a.system.entry.js → p-29b7c721.system.entry.js} +1 -1
  195. package/dist/taro-components/p-29bb3ebe.entry.js +1 -0
  196. package/dist/taro-components/{p-4cb60cf0.system.entry.js → p-2bd2ea9a.system.entry.js} +1 -1
  197. package/dist/taro-components/{p-f675e927.system.entry.js → p-2e8a1479.system.entry.js} +1 -1
  198. package/dist/taro-components/{p-546f5965.system.entry.js → p-36f2c1e1.system.entry.js} +1 -1
  199. package/dist/taro-components/{p-1398c59d.system.entry.js → p-372f53d8.system.entry.js} +1 -1
  200. package/dist/taro-components/{p-1b11a8d4.system.entry.js → p-38d7c2e8.system.entry.js} +1 -1
  201. package/dist/taro-components/{p-efc892d1.system.entry.js → p-3b801a38.system.entry.js} +1 -1
  202. package/dist/taro-components/{p-2afb4d49.system.entry.js → p-3b85bb4b.system.entry.js} +1 -1
  203. package/dist/taro-components/p-3bb72c08.entry.js +1 -0
  204. package/dist/taro-components/{p-e56a303b.entry.js → p-3d3cd72f.entry.js} +1 -1
  205. package/dist/taro-components/p-430d72e8.entry.js +1 -0
  206. package/dist/taro-components/{p-de95c6ac.system.entry.js → p-4339ad63.system.entry.js} +1 -1
  207. package/dist/taro-components/{p-34d60fc8.entry.js → p-44a199e4.entry.js} +1 -1
  208. package/dist/taro-components/{p-b455351e.entry.js → p-45e6f8be.entry.js} +1 -1
  209. package/dist/taro-components/p-46b7f84e.entry.js +1 -0
  210. package/dist/taro-components/{p-5e48f1b4.system.entry.js → p-4793e6ba.system.entry.js} +1 -1
  211. package/dist/taro-components/{p-14b26b5f.system.entry.js → p-49954245.system.entry.js} +1 -1
  212. package/dist/taro-components/{p-c1642977.entry.js → p-4c890c5d.entry.js} +1 -1
  213. package/dist/taro-components/{p-1e44fcfd.entry.js → p-53244eac.entry.js} +1 -1
  214. package/dist/taro-components/{p-24cc05ea.system.entry.js → p-5c2497a4.system.entry.js} +1 -1
  215. package/dist/taro-components/{p-ba984b34.system.entry.js → p-5ff0e954.system.entry.js} +1 -1
  216. package/dist/taro-components/{p-5f4d0d5b.system.js → p-61f225ef.system.js} +0 -0
  217. package/dist/taro-components/{p-deef9af1.system.entry.js → p-62608b28.system.entry.js} +1 -1
  218. package/dist/taro-components/p-62c64770.entry.js +1 -0
  219. package/dist/taro-components/{p-37ac3d2b.system.entry.js → p-66b1d5f9.system.entry.js} +1 -1
  220. package/dist/taro-components/p-671defcd.entry.js +1 -0
  221. package/dist/taro-components/p-6f2f468b.entry.js +1 -0
  222. package/dist/taro-components/p-70313eed.entry.js +1 -0
  223. package/dist/taro-components/{p-f425f3b5.entry.js → p-74013ace.entry.js} +1 -1
  224. package/dist/taro-components/{p-79495606.system.entry.js → p-756d56d1.system.entry.js} +1 -1
  225. package/dist/taro-components/{p-9f23c9e1.system.entry.js → p-75811f84.system.entry.js} +1 -1
  226. package/dist/taro-components/{p-a9c3e575.entry.js → p-761d1085.entry.js} +1 -1
  227. package/dist/taro-components/{p-7e5d2d7a.js → p-76724e58.js} +0 -0
  228. package/dist/taro-components/{p-acfcb861.system.entry.js → p-78676120.system.entry.js} +1 -1
  229. package/dist/taro-components/p-7b2049b7.entry.js +1 -0
  230. package/dist/taro-components/{p-0afc53da.entry.js → p-7dc268ee.entry.js} +1 -1
  231. package/dist/taro-components/{p-17b78ad7.entry.js → p-7f7aa688.entry.js} +1 -1
  232. package/dist/taro-components/p-80abb865.entry.js +1 -0
  233. package/dist/taro-components/{p-8a2b7701.entry.js → p-81976128.entry.js} +1 -1
  234. package/dist/taro-components/{p-f5377a15.entry.js → p-81dc5b7b.entry.js} +1 -1
  235. package/dist/taro-components/{p-e5486e8c.system.entry.js → p-828efe43.system.entry.js} +1 -1
  236. package/dist/taro-components/{p-ed69dc55.system.entry.js → p-831ebd02.system.entry.js} +1 -1
  237. package/dist/taro-components/{p-1fbf755f.entry.js → p-832cc63a.entry.js} +1 -1
  238. package/dist/taro-components/{p-44996bd6.system.js → p-83adb645.system.js} +0 -0
  239. package/dist/taro-components/{p-12615394.system.entry.js → p-841a2031.system.entry.js} +1 -1
  240. package/dist/taro-components/{p-085c4322.entry.js → p-86205110.entry.js} +1 -1
  241. package/dist/taro-components/p-88063d40.system.entry.js +1 -0
  242. package/dist/taro-components/{p-899c6b73.system.entry.js → p-8b23a081.system.entry.js} +1 -1
  243. package/dist/taro-components/{p-90f11b84.system.entry.js → p-8b30e18c.system.entry.js} +1 -1
  244. package/dist/taro-components/{p-f0c5c933.system.entry.js → p-8ba35b31.system.entry.js} +1 -1
  245. package/dist/taro-components/p-8ead6b19.entry.js +1 -0
  246. package/dist/taro-components/{p-45574a38.system.entry.js → p-8f466248.system.entry.js} +1 -1
  247. package/dist/taro-components/{p-176374d6.system.entry.js → p-9130dfca.system.entry.js} +1 -1
  248. package/dist/taro-components/{p-aca73ca4.entry.js → p-9151ef65.entry.js} +1 -1
  249. package/dist/taro-components/{p-8e0529f2.system.entry.js → p-917830b4.system.entry.js} +1 -1
  250. package/dist/taro-components/p-95e51d62.entry.js +1 -0
  251. package/dist/taro-components/p-9961074d.entry.js +1 -0
  252. package/dist/taro-components/{p-617f5e2a.system.entry.js → p-9b90554b.system.entry.js} +1 -1
  253. package/dist/taro-components/{p-cde242bb.system.entry.js → p-9ce624a4.system.entry.js} +1 -1
  254. package/dist/taro-components/{p-1d5fa0f3.entry.js → p-a097985b.entry.js} +1 -1
  255. package/dist/taro-components/{p-96706c5c.system.entry.js → p-a36bfe97.system.entry.js} +1 -1
  256. package/dist/taro-components/{p-8c7cf814.js → p-a4721ae0.js} +0 -0
  257. package/dist/taro-components/{p-58cbfd17.entry.js → p-a74f4c26.entry.js} +1 -1
  258. package/dist/taro-components/{p-8cdc809b.system.entry.js → p-a838e0f7.system.entry.js} +1 -1
  259. package/dist/taro-components/{p-7df1437d.system.entry.js → p-a90bfe9d.system.entry.js} +1 -1
  260. package/dist/taro-components/{p-ff792cf7.system.entry.js → p-a9ab6434.system.entry.js} +1 -1
  261. package/dist/taro-components/{p-3efae2a3.system.entry.js → p-ac398961.system.entry.js} +1 -1
  262. package/dist/taro-components/{p-7d457a6a.entry.js → p-ac56ffed.entry.js} +1 -1
  263. package/dist/taro-components/{p-6e12bd70.system.entry.js → p-baa5019a.system.entry.js} +1 -1
  264. package/dist/taro-components/{p-8ea9ceb6.system.entry.js → p-c1458fbe.system.entry.js} +1 -1
  265. package/dist/taro-components/p-c9b73495.entry.js +1 -0
  266. package/dist/taro-components/{p-13359eb6.system.entry.js → p-ca7ad427.system.entry.js} +1 -1
  267. package/dist/taro-components/p-ce0489a6.entry.js +1 -0
  268. package/dist/taro-components/{p-880791ee.entry.js → p-ce46f79d.entry.js} +1 -1
  269. package/dist/taro-components/{p-3b067d1f.entry.js → p-cfebd931.entry.js} +1 -1
  270. package/dist/taro-components/{p-de726095.entry.js → p-d2b6b891.entry.js} +1 -1
  271. package/dist/taro-components/{p-b7128eac.system.entry.js → p-d56c45bf.system.entry.js} +1 -1
  272. package/dist/taro-components/{p-06352f55.entry.js → p-d636e22e.entry.js} +1 -1
  273. package/dist/taro-components/{p-ee1ffbb0.entry.js → p-d6c8f31d.entry.js} +1 -1
  274. package/dist/taro-components/{p-9eb01395.entry.js → p-d7e13592.entry.js} +1 -1
  275. package/dist/taro-components/{p-9c0f3f24.system.entry.js → p-de573939.system.entry.js} +1 -1
  276. package/dist/taro-components/{p-88e3bc92.entry.js → p-e01af6c8.entry.js} +1 -1
  277. package/dist/taro-components/{p-e5fdbc1c.entry.js → p-e7dcb4d5.entry.js} +1 -1
  278. package/dist/taro-components/{p-ac4c4975.system.entry.js → p-ec59899b.system.entry.js} +1 -1
  279. package/dist/taro-components/{p-81e33437.system.entry.js → p-f1da4ed7.system.entry.js} +1 -1
  280. package/dist/taro-components/{p-92f26e22.entry.js → p-fc226017.entry.js} +1 -1
  281. package/dist/taro-components/{p-acb07924.system.entry.js → p-fe252a81.system.entry.js} +1 -1
  282. package/dist/taro-components/taro-components.css +1 -1
  283. package/dist/taro-components/taro-components.esm.js +1 -1
  284. package/dist/taro-components/taro-components.js +1 -1
  285. package/dist-h5/react/utils/reactify-wc.js +5 -2
  286. package/package.json +17 -13
  287. package/types/ScrollView.d.ts +3 -3
  288. package/dist/taro-components/p-087d704b.entry.js +0 -1
  289. package/dist/taro-components/p-14484d41.entry.js +0 -1
  290. package/dist/taro-components/p-3e1e4626.entry.js +0 -1
  291. package/dist/taro-components/p-3e7aced1.entry.js +0 -1
  292. package/dist/taro-components/p-49df1b65.system.entry.js +0 -1
  293. package/dist/taro-components/p-549636ca.entry.js +0 -1
  294. package/dist/taro-components/p-615b87e8.entry.js +0 -1
  295. package/dist/taro-components/p-68246408.entry.js +0 -1
  296. package/dist/taro-components/p-7f726d39.entry.js +0 -1
  297. package/dist/taro-components/p-8c6d8802.entry.js +0 -1
  298. package/dist/taro-components/p-8ca394d6.entry.js +0 -1
  299. package/dist/taro-components/p-917185f3.entry.js +0 -1
  300. package/dist/taro-components/p-9ff180ae.entry.js +0 -1
  301. package/dist/taro-components/p-b31e6cf0.entry.js +0 -1
  302. package/dist/taro-components/p-b640bd56.entry.js +0 -1
  303. package/dist/taro-components/p-c0875abf.entry.js +0 -1
  304. package/dist/taro-components/p-c33b552b.entry.js +0 -1
  305. package/dist/taro-components/p-c6d14c2b.entry.js +0 -1
  306. package/dist/taro-components/p-c995a3aa.entry.js +0 -1
  307. package/dist/taro-components/p-fee2ad82.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-1d67274c.js";import{c as classnames}from"./index-cd1a2d33.js";var 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}";var View=function(){function t(t){registerInstance(this,t);this.onLongPress=createEvent(this,"longpress",7);this.hoverStartTime=50;this.hoverStayTime=400;this.hover=false;this.touch=false;this.startTime=0}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}))};t.prototype.render=function(){var t;var e=classnames((t={},t[""+this.hoverClass]=this.hover,t));var i={};if(!!this.animation){i["animation"]=this.animation;i["data-animation"]=this.animation}return h(Host,Object.assign({class:e},i),h("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();View.style=indexCss;export{View as taro_view_core};
1
+ import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-26d8b479.js";import{c as classnames}from"./index-1d8e8acd.js";var 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}";var View=function(){function t(t){registerInstance(this,t);this.onLongPress=createEvent(this,"longpress",7);this.hoverStartTime=50;this.hoverStayTime=400;this.hover=false;this.touch=false;this.startTime=0}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}))};t.prototype.render=function(){var t;var e=classnames((t={},t[""+this.hoverClass]=this.hover,t));var i={};if(!!this.animation){i["animation"]=this.animation;i["data-animation"]=this.animation}return h(Host,Object.assign({class:e},i),h("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();View.style=indexCss;export{View as taro_view_core};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-1d67274c.js";var VoipRoom=function(){function o(o){registerInstance(this,o)}o.prototype.componentDidLoad=function(){console.error("H5 暂不支持 VoipRoom 组件!")};o.prototype.render=function(){return h(Host,null)};return o}();export{VoipRoom as taro_voip_room_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-26d8b479.js";var VoipRoom=function(){function o(o){registerInstance(this,o)}o.prototype.componentDidLoad=function(){console.error("H5 暂不支持 VoipRoom 组件!")};o.prototype.render=function(){return h(Host,null)};return o}();export{VoipRoom as taro_voip_room_core};
@@ -1 +1 @@
1
- import{r as registerInstance,c as createEvent,h}from"./index-1d67274c.js";var indexCss="iframe{border:none}.taro-webview{position:fixed;top:0;bottom:0;z-index:999;width:100%;height:100%}";var WebView=function(){function e(e){registerInstance(this,e);this.onLoad=createEvent(this,"load",7);this.onError=createEvent(this,"error",7)}e.prototype.render=function(){var e=this,r=e.src,t=e.onLoad,o=e.onError;return h("iframe",{class:"taro-webview",onLoad:function(e){e.stopPropagation();t.emit({src:r})},onError:function(e){e.stopPropagation();o.emit({src:r})},src:r})};return e}();WebView.style=indexCss;export{WebView as taro_web_view_core};
1
+ import{r as registerInstance,c as createEvent,h}from"./index-26d8b479.js";var indexCss="iframe{border:none}.taro-webview{position:fixed;top:0;bottom:0;z-index:999;width:100%;height:100%}";var WebView=function(){function e(e){registerInstance(this,e);this.onLoad=createEvent(this,"load",7);this.onError=createEvent(this,"error",7)}e.prototype.render=function(){var e=this,r=e.src,t=e.onLoad,o=e.onError;return h("iframe",{class:"taro-webview",onLoad:function(e){e.stopPropagation();t.emit({src:r})},onError:function(e){e.stopPropagation();o.emit({src:r})},src:r})};return e}();WebView.style=indexCss;export{WebView as taro_web_view_core};
@@ -1 +1 @@
1
- System.register(["./p-44996bd6.system.js","./p-5f4d0d5b.system.js"],(function(t){"use strict";var e,i,r,o,a,n;return{setters:[function(t){e=t.r;i=t.c;r=t.h;o=t.H;a=t.g},function(t){n=t.c}],execute:function(){function s(t){if(t){var e=/([\w-]*)\s*:\s*([^;]*)/g;var i={};var r=void 0;while(r=e.exec(t))i[""+r[1]]=r[2].trim();return i}}var c=".taro-picker-view-container{display:-ms-flexbox;display:flex;position:relative}.taro-picker-view-mask-container{display:-ms-flexbox;display:flex;position:absolute;left:0;right:0;top:0;bottom:0;-ms-flex-direction:column;flex-direction:column;pointer-events:none}.taro-picker-view-mask-indicator{display:-ms-flexbox;display:flex;border-top:1px solid #ddd;border-bottom:1px solid #ddd;height:50px}.taro-picker-view-mask-top{-ms-flex:1;flex:1;background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.95)), to(rgba(255, 255, 255, 0.6)));background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6))}.taro-picker-view-mask-bottom{-ms-flex:1;flex:1;background:-webkit-gradient(linear, left bottom, left top, from(rgba(255, 255, 255, 0.95)), to(rgba(255, 255, 255, 0.6)));background:linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6))}";var l=t("taro_picker_view_core",function(){function t(t){e(this,t);this.onChange=i(this,"change",7);this.onPickStart=i(this,"pickstart",7);this.onPickEnd=i(this,"pickend",7)}t.prototype.onSelect=function(t){t.stopPropagation();if(t.target.tagName!=="TARO-PICKER-VIEW-COLUMN-CORE")return;var e=+t.detail.curIndex;var i=+t.detail.selectedIndex;this.value[e]=i;this.onChange.emit({value:this.value})};t.prototype.onSelectStart=function(t){t.stopPropagation();if(t.target.tagName!=="TARO-PICKER-VIEW-COLUMN-CORE")return;this.onPickStart.emit()};t.prototype.onPickerColEnd=function(t){t.stopPropagation();if(t.target.tagName!=="TARO-PICKER-VIEW-COLUMN-CORE")return;this.onPickEnd.emit()};t.prototype.componentDidLoad=function(){var t=this;var e=this.el.querySelectorAll("taro-picker-view-column-core");e.forEach((function(e,i){var r;e.setAttribute("col",""+i);var o="0";if(!!t.value&&t.value.length>i){o=""+t.value[i]}var a=t.el.getBoundingClientRect().height;var n=((r=t.indicator)===null||r===void 0?void 0:r.offsetHeight)||0;var s=(a-n)/2;e.setAttribute("initial-position",""+o);e.setAttribute("padding-vertical",""+s)}))};t.prototype.componentDidRender=function(){var t=this;this.el.childNodes.forEach((function(e){var i=e;if("TARO-PICKER-VIEW-COLUMN-CORE"!==i.tagName&&i.className!=="taro-picker-view-mask-container"){t.el.removeChild(e)}}))};t.prototype.render=function(){var t=this;var e=n("taro-picker-view-mask-indicator",this.indicatorClass);var i=n("taro-picker-view-mask-top",this.maskClass);var a=n("taro-picker-view-mask-bottom",this.maskClass);var c=s(this.indicatorStyle);var l=s(this.maskStyle);var d=s(this.maskStyle);return r(o,{class:"taro-picker-view-container"},r("slot",null),r("div",{class:"taro-picker-view-mask-container"},r("div",{class:i,style:l}),r("div",{class:e,style:c,ref:function(e){return t.indicator=e}}),r("div",{class:a,style:d})))};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());l.style=c}}}));
1
+ System.register(["./p-83adb645.system.js","./p-61f225ef.system.js"],(function(t){"use strict";var e,i,r,o,a,n;return{setters:[function(t){e=t.r;i=t.c;r=t.h;o=t.H;a=t.g},function(t){n=t.c}],execute:function(){function s(t){if(t){var e=/([\w-]*)\s*:\s*([^;]*)/g;var i={};var r=void 0;while(r=e.exec(t))i[""+r[1]]=r[2].trim();return i}}var c=".taro-picker-view-container{display:-ms-flexbox;display:flex;position:relative}.taro-picker-view-mask-container{display:-ms-flexbox;display:flex;position:absolute;left:0;right:0;top:0;bottom:0;-ms-flex-direction:column;flex-direction:column;pointer-events:none}.taro-picker-view-mask-indicator{display:-ms-flexbox;display:flex;border-top:1px solid #ddd;border-bottom:1px solid #ddd;height:50px}.taro-picker-view-mask-top{-ms-flex:1;flex:1;background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.95)), to(rgba(255, 255, 255, 0.6)));background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6))}.taro-picker-view-mask-bottom{-ms-flex:1;flex:1;background:-webkit-gradient(linear, left bottom, left top, from(rgba(255, 255, 255, 0.95)), to(rgba(255, 255, 255, 0.6)));background:linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6))}";var l=t("taro_picker_view_core",function(){function t(t){e(this,t);this.onChange=i(this,"change",7);this.onPickStart=i(this,"pickstart",7);this.onPickEnd=i(this,"pickend",7)}t.prototype.onSelect=function(t){t.stopPropagation();if(t.target.tagName!=="TARO-PICKER-VIEW-COLUMN-CORE")return;var e=+t.detail.curIndex;var i=+t.detail.selectedIndex;this.value[e]=i;this.onChange.emit({value:this.value})};t.prototype.onSelectStart=function(t){t.stopPropagation();if(t.target.tagName!=="TARO-PICKER-VIEW-COLUMN-CORE")return;this.onPickStart.emit()};t.prototype.onPickerColEnd=function(t){t.stopPropagation();if(t.target.tagName!=="TARO-PICKER-VIEW-COLUMN-CORE")return;this.onPickEnd.emit()};t.prototype.componentDidLoad=function(){var t=this;var e=this.el.querySelectorAll("taro-picker-view-column-core");e.forEach((function(e,i){var r;e.setAttribute("col",""+i);var o="0";if(!!t.value&&t.value.length>i){o=""+t.value[i]}var a=t.el.getBoundingClientRect().height;var n=((r=t.indicator)===null||r===void 0?void 0:r.offsetHeight)||0;var s=(a-n)/2;e.setAttribute("initial-position",""+o);e.setAttribute("padding-vertical",""+s)}))};t.prototype.componentDidRender=function(){var t=this;this.el.childNodes.forEach((function(e){var i=e;if("TARO-PICKER-VIEW-COLUMN-CORE"!==i.tagName&&i.className!=="taro-picker-view-mask-container"){t.el.removeChild(e)}}))};t.prototype.render=function(){var t=this;var e=n("taro-picker-view-mask-indicator",this.indicatorClass);var i=n("taro-picker-view-mask-top",this.maskClass);var a=n("taro-picker-view-mask-bottom",this.maskClass);var c=s(this.indicatorStyle);var l=s(this.maskStyle);var d=s(this.maskStyle);return r(o,{class:"taro-picker-view-container"},r("slot",null),r("div",{class:"taro-picker-view-mask-container"},r("div",{class:i,style:l}),r("div",{class:e,style:c,ref:function(e){return t.indicator=e}}),r("div",{class:a,style:d})))};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());l.style=c}}}));
@@ -1 +1 @@
1
- import{r as t,h as r,H as e}from"./p-8c7cf814.js";let n=class{constructor(e){t(this,e),this.renderNode=t=>{if("type"in t&&"text"===t.type)return(t.text||"").replace(/&nbsp;/g," ");if("name"in t&&t.name){const{name:e,attrs:n,children:s}=t,o={};let i=[];if(n&&"object"==typeof n)for(const t in n){const r=n[t];if("style"!==t||"string"!=typeof r)o[t]=r;else{const t=r.split(";").map((t=>t.trim())).filter((t=>t)),e={};t.forEach((t=>{if(!t)return;const r=/(.+): *(.+)/g.exec(t);if(!r)return;const[,n,s]=r,o=n.replace(/-([a-z])/g,((...t)=>t[1].toUpperCase()));e[o]=s})),Object.keys(e).length&&(o.style=e)}}return s&&s.length&&(i=s.map((t=>this.renderNode(t)))),r(e,o,i)}return null}}render(){const{nodes:t,renderNode:n}=this;return Array.isArray(t)?r(e,null,t.map((t=>n(t)))):r(e,{innerHTML:t})}};export{n as taro_rich_text_core}
1
+ import{r as t,h as r,H as e}from"./p-a4721ae0.js";let n=class{constructor(e){t(this,e),this.renderNode=t=>{if("type"in t&&"text"===t.type)return(t.text||"").replace(/&nbsp;/g," ");if("name"in t&&t.name){const{name:e,attrs:n,children:s}=t,o={};let i=[];if(n&&"object"==typeof n)for(const t in n){const r=n[t];if("style"!==t||"string"!=typeof r)o[t]=r;else{const t=r.split(";").map((t=>t.trim())).filter((t=>t)),e={};t.forEach((t=>{if(!t)return;const r=/(.+): *(.+)/g.exec(t);if(!r)return;const[,n,s]=r,o=n.replace(/-([a-z])/g,((...t)=>t[1].toUpperCase()));e[o]=s})),Object.keys(e).length&&(o.style=e)}}return s&&s.length&&(i=s.map((t=>this.renderNode(t)))),r(e,o,i)}return null}}render(){const{nodes:t,renderNode:n}=this;return Array.isArray(t)?r(e,null,t.map((t=>n(t)))):r(e,{innerHTML:t})}};export{n as taro_rich_text_core}
@@ -1 +1 @@
1
- System.register(["./p-44996bd6.system.js"],(function(r){"use strict";var t,i,e;return{setters:[function(r){t=r.r;i=r.c;e=r.h}],execute:function(){var o="taro-cover-image-core{overflow:hidden;width:320px;height:240px}";var n=r("taro_cover_image_core",function(){function r(r){t(this,r);this.onLoad=i(this,"load",7);this.onError=i(this,"error",7);this.nativeProps={}}r.prototype.imageOnLoad=function(){var r=this.imgRef,t=r.width,i=r.height;this.onLoad.emit({width:t,height:i})};r.prototype.imageOnError=function(){this.onError.emit()};r.prototype.render=function(){var r=this;var t=this,i=t.src,o=t.imageOnLoad,n=t.imageOnError,s=t.nativeProps;return e("img",Object.assign({ref:function(t){return r.imgRef=t},src:i,onLoad:o.bind(this),onError:n.bind(this)},s))};return r}());n.style=o}}}));
1
+ System.register(["./p-83adb645.system.js"],(function(r){"use strict";var t,i,e;return{setters:[function(r){t=r.r;i=r.c;e=r.h}],execute:function(){var o="taro-cover-image-core{overflow:hidden;width:320px;height:240px}";var n=r("taro_cover_image_core",function(){function r(r){t(this,r);this.onLoad=i(this,"load",7);this.onError=i(this,"error",7);this.nativeProps={}}r.prototype.imageOnLoad=function(){var r=this.imgRef,t=r.width,i=r.height;this.onLoad.emit({width:t,height:i})};r.prototype.imageOnError=function(){this.onError.emit()};r.prototype.render=function(){var r=this;var t=this,i=t.src,o=t.imageOnLoad,n=t.imageOnError,s=t.nativeProps;return e("img",Object.assign({ref:function(t){return r.imgRef=t},src:i,onLoad:o.bind(this),onError:n.bind(this)},s))};return r}());n.style=o}}}));
@@ -0,0 +1 @@
1
+ import{r,h as o,H as s}from"./p-a4721ae0.js";let t=class{constructor(o){r(this,o)}render(){return o(s,null)}};export{t as taro_block_core}
@@ -1 +1 @@
1
- import{r as o,h as r,H as t}from"./p-8c7cf814.js";let e=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 Editor 组件!")}render(){return r(t,null)}};export{e as taro_editor_core}
1
+ import{r as o,h as r,H as t}from"./p-a4721ae0.js";let e=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 Editor 组件!")}render(){return r(t,null)}};export{e as taro_editor_core}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,H as h,g as e}from"./p-8c7cf814.js";let a=class{constructor(s){t(this,s),this.onChange=i(this,"change",7),this.onChanging=i(this,"changing",7),this.min=0,this.max=100,this.step=1,this.disabled=!1,this.value=0,this.activeColor="#1aad19",this.backgroundColor="#e9e9e9",this.blockSize=28,this.blockColor="#ffffff",this.showValue=!1,this.name="",this.totalWidth=0,this.touching=!1,this.ogX=0,this.touchId=null,this.percent=0,this.isWillLoadCalled=!1,this.handleTouchStart=t=>{this.touching||this.disabled||(this.touching=!0,this.touchId=t.targetTouches[0].identifier,this.totalWidth=this.sliderInsRef.clientWidth,this.ogX=t.targetTouches[0].pageX,this.ogPercent=this.percent)},this.handleTouchMove=t=>{const{disabled:i,touching:s,touchId:h,totalWidth:e,max:a,min:n,ogX:o,ogPercent:l}=this;if(!s||i)return;if(t.targetTouches[0].identifier!==h)return;t.preventDefault();let r=(t.targetTouches[0].pageX-o)/e*100+l;r=Math.max(0,Math.min(r,100)),this.updateByStep(n+.01*r*(a-n)),this.onChanging.emit({detail:t.detail,value:this.val})},this.handleTouchEnd=t=>{const{disabled:i,touching:s}=this;s&&!i&&(this.percent!==this.ogPercent&&this.onChange.emit({detail:t.detail,value:this.val}),this.touching=!1,this.touchId=null,this.ogX=0,this.ogPercent=0)}}function(t){if(!this.isWillLoadCalled)return;const{max:i,min:s}=this;if(null!==t&&t!==this.val){const h=Math.max(s,Math.min(t,i));this.updateByStep(h)}}componentDidLoad(){Object.defineProperty(this.el,"value",{get:()=>this.val,set:t=>this.value=t,configurable:!0}),this.handler.addEventListener("touchstart",this.handleTouchStart),this.handler.addEventListener("touchmove",this.handleTouchMove),this.handler.addEventListener("touchend",this.handleTouchEnd)}componentDidUpdate(){this.value=null}componentWillLoad(){this.isWillLoadCalled=!0;const{value:t,max:i,min:s}=this;if(null===t)return;const h=Math.max(s,Math.min(t,i));this.updateByStep(h)}updateByStep(t){const{max:i,min:s,step:h}=this,e=Math.floor((i-s)/h);for(let i=0;i<=e;i++){const a=s+h*i,n=i===e?null:s+h*(i+1);if(t===a)break;if(!n&&t>a&&(t=a),n&&t>a&&t<n){t=t-a<h/2?a:n;break}}const a=(t-s)/(i-s)*100;this.val=t,this.percent=a}render(){const{showValue:t,backgroundColor:i,activeColor:e,blockColor:a,name:n,percent:o,val:l}=this;let r=this.blockSize;const c={backgroundColor:i},u=o>100?100:o,d={width:`${u}%`,backgroundColor:e};r<12&&(r=12),r>28&&(r=28);const f={left:`${u}%`,width:`${r}px`,height:`${r}px`,backgroundColor:a,marginTop:`-${Math.floor(r/2)}px`,marginLeft:`-${Math.floor(r/2)}px`};return s(h,{class:"weui-slider-box"},s("div",{class:"weui-slider"},s("div",{class:"weui-slider__inner",style:c,ref:t=>this.sliderInsRef=t},s("div",{style:d,class:"weui-slider__track"}),s("div",{class:"weui-slider__handler",ref:t=>{t&&(this.handler=t)},style:f}),s("input",{type:"hidden",name:n,value:l}))),t&&s("div",{class:"weui-slider-box__value"},l))}get el(){return e(this)}static get watchers(){return{value:["function"]}}};export{a as taro_slider_core}
1
+ import{r as t,c as i,h as s,H as h,g as e}from"./p-a4721ae0.js";let a=class{constructor(s){t(this,s),this.onChange=i(this,"change",7),this.onChanging=i(this,"changing",7),this.min=0,this.max=100,this.step=1,this.disabled=!1,this.value=0,this.activeColor="#1aad19",this.backgroundColor="#e9e9e9",this.blockSize=28,this.blockColor="#ffffff",this.showValue=!1,this.name="",this.totalWidth=0,this.touching=!1,this.ogX=0,this.touchId=null,this.percent=0,this.isWillLoadCalled=!1,this.handleTouchStart=t=>{this.touching||this.disabled||(this.touching=!0,this.touchId=t.targetTouches[0].identifier,this.totalWidth=this.sliderInsRef.clientWidth,this.ogX=t.targetTouches[0].pageX,this.ogPercent=this.percent)},this.handleTouchMove=t=>{const{disabled:i,touching:s,touchId:h,totalWidth:e,max:a,min:n,ogX:o,ogPercent:l}=this;if(!s||i)return;if(t.targetTouches[0].identifier!==h)return;t.preventDefault();let r=(t.targetTouches[0].pageX-o)/e*100+l;r=Math.max(0,Math.min(r,100)),this.updateByStep(n+.01*r*(a-n)),this.onChanging.emit({detail:t.detail,value:this.val})},this.handleTouchEnd=t=>{const{disabled:i,touching:s}=this;s&&!i&&(this.percent!==this.ogPercent&&this.onChange.emit({detail:t.detail,value:this.val}),this.touching=!1,this.touchId=null,this.ogX=0,this.ogPercent=0)}}function(t){if(!this.isWillLoadCalled)return;const{max:i,min:s}=this;if(null!==t&&t!==this.val){const h=Math.max(s,Math.min(t,i));this.updateByStep(h)}}componentDidLoad(){Object.defineProperty(this.el,"value",{get:()=>this.val,set:t=>this.value=t,configurable:!0}),this.handler.addEventListener("touchstart",this.handleTouchStart),this.handler.addEventListener("touchmove",this.handleTouchMove),this.handler.addEventListener("touchend",this.handleTouchEnd)}componentDidUpdate(){this.value=null}componentWillLoad(){this.isWillLoadCalled=!0;const{value:t,max:i,min:s}=this;if(null===t)return;const h=Math.max(s,Math.min(t,i));this.updateByStep(h)}updateByStep(t){const{max:i,min:s,step:h}=this,e=Math.floor((i-s)/h);for(let i=0;i<=e;i++){const a=s+h*i,n=i===e?null:s+h*(i+1);if(t===a)break;if(!n&&t>a&&(t=a),n&&t>a&&t<n){t=t-a<h/2?a:n;break}}const a=(t-s)/(i-s)*100;this.val=t,this.percent=a}render(){const{showValue:t,backgroundColor:i,activeColor:e,blockColor:a,name:n,percent:o,val:l}=this;let r=this.blockSize;const c={backgroundColor:i},u=o>100?100:o,d={width:`${u}%`,backgroundColor:e};r<12&&(r=12),r>28&&(r=28);const f={left:`${u}%`,width:`${r}px`,height:`${r}px`,backgroundColor:a,marginTop:`-${Math.floor(r/2)}px`,marginLeft:`-${Math.floor(r/2)}px`};return s(h,{class:"weui-slider-box"},s("div",{class:"weui-slider"},s("div",{class:"weui-slider__inner",style:c,ref:t=>this.sliderInsRef=t},s("div",{style:d,class:"weui-slider__track"}),s("div",{class:"weui-slider__handler",ref:t=>{t&&(this.handler=t)},style:f}),s("input",{type:"hidden",name:n,value:l}))),t&&s("div",{class:"weui-slider-box__value"},l))}get el(){return e(this)}static get watchers(){return{value:["function"]}}};export{a as taro_slider_core}
@@ -1 +1 @@
1
- System.register(["./p-44996bd6.system.js"],(function(e){"use strict";var t,n,r;return{setters:[function(e){t=e.r;n=e.h;r=e.H}],execute:function(){var o=e("taro_share_element_core",function(){function e(e){t(this,e)}e.prototype.componentDidLoad=function(){console.error("H5 暂不支持 ShareElement 组件!")};e.prototype.render=function(){return n(r,null)};return e}())}}}));
1
+ System.register(["./p-83adb645.system.js"],(function(e){"use strict";var t,n,r;return{setters:[function(e){t=e.r;n=e.h;r=e.H}],execute:function(){var o=e("taro_share_element_core",function(){function e(e){t(this,e)}e.prototype.componentDidLoad=function(){console.error("H5 暂不支持 ShareElement 组件!")};e.prototype.render=function(){return n(r,null)};return e}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-44996bd6.system.js","./p-5f4d0d5b.system.js"],(function(t,i){"use strict";var o,e,r,a,s;return{setters:[function(t){o=t.r;e=t.c;r=t.h;a=t.H},function(t){s=t.c}],execute:function(){var n='img[src=""]{opacity:0}taro-image-core{display:inline-block;overflow:hidden;position:relative;width:auto;height:auto;font-size:0}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%}.taro-img__mode-aspectfill{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-heightfix{height:100%}.taro-img__mode-top{width:100%}.taro-img__mode-bottom{position:absolute;bottom:0;width:100%}.taro-img__mode-left{height:100%}.taro-img__mode-right{position:absolute;right:0;height:100%}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;right:0;bottom:0}';i.import("./p-3b1d2d37.system.js");var h=t("taro_image_core",function(){function t(t){o(this,t);this.onLoad=e(this,"load",7);this.onError=e(this,"error",7);this.mode="scaleToFill";this.lazyLoad=false;this.nativeProps={};this.aspectFillMode="width"}t.prototype.componentDidLoad=function(){var t=this;if(!this.lazyLoad)return;var i=new IntersectionObserver((function(o){if(o[o.length-1].isIntersecting){i.unobserve(t.imgRef);t.imgRef.src=t.src}}),{rootMargin:"300px 0px"});i.observe(this.imgRef)};t.prototype.imageOnLoad=function(){var t=this.imgRef,i=t.width,o=t.height,e=t.naturalWidth,r=t.naturalHeight;this.onLoad.emit({width:i,height:o});this.aspectFillMode=e>r?"width":"height"};t.prototype.imageOnError=function(){this.onError.emit()};t.prototype.render=function(){var t;var i=this;var o=this,e=o.src,n=o.mode,h=n===void 0?"scaleToFill":n,m=o.lazyLoad,d=m===void 0?false:m,g=o.aspectFillMode,l=g===void 0?"width":g,c=o.imageOnLoad,f=o.imageOnError,p=o.nativeProps;var _=s({"taro-img__widthfix":h==="widthFix"});var u=s("taro-img__mode-"+h.toLowerCase().replace(/\s/g,""),(t={},t["taro-img__mode-aspectfill--"+l]=h==="aspectFill",t));return r(a,{class:_},d?r("img",Object.assign({ref:function(t){return i.imgRef=t},class:u,onLoad:c.bind(this),onError:f.bind(this)},p)):r("img",Object.assign({ref:function(t){return i.imgRef=t},class:u,src:e,onLoad:c.bind(this),onError:f.bind(this)},p)))};return t}());h.style=n}}}));
1
+ System.register(["./p-83adb645.system.js","./p-61f225ef.system.js"],(function(t,i){"use strict";var o,e,r,a,s;return{setters:[function(t){o=t.r;e=t.c;r=t.h;a=t.H},function(t){s=t.c}],execute:function(){var n='img[src=""]{opacity:0}taro-image-core{display:inline-block;overflow:hidden;position:relative;width:auto;height:auto;font-size:0}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%}.taro-img__mode-aspectfill{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-heightfix{height:100%}.taro-img__mode-top{width:100%}.taro-img__mode-bottom{position:absolute;bottom:0;width:100%}.taro-img__mode-left{height:100%}.taro-img__mode-right{position:absolute;right:0;height:100%}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;right:0;bottom:0}';i.import("./p-3b1d2d37.system.js");var h=t("taro_image_core",function(){function t(t){o(this,t);this.onLoad=e(this,"load",7);this.onError=e(this,"error",7);this.mode="scaleToFill";this.lazyLoad=false;this.nativeProps={};this.aspectFillMode="width"}t.prototype.componentDidLoad=function(){var t=this;if(!this.lazyLoad)return;var i=new IntersectionObserver((function(o){if(o[o.length-1].isIntersecting){i.unobserve(t.imgRef);t.imgRef.src=t.src}}),{rootMargin:"300px 0px"});i.observe(this.imgRef)};t.prototype.imageOnLoad=function(){var t=this.imgRef,i=t.width,o=t.height,e=t.naturalWidth,r=t.naturalHeight;this.onLoad.emit({width:i,height:o});this.aspectFillMode=e>r?"width":"height"};t.prototype.imageOnError=function(){this.onError.emit()};t.prototype.render=function(){var t;var i=this;var o=this,e=o.src,n=o.mode,h=n===void 0?"scaleToFill":n,m=o.lazyLoad,d=m===void 0?false:m,g=o.aspectFillMode,l=g===void 0?"width":g,c=o.imageOnLoad,f=o.imageOnError,p=o.nativeProps;var _=s({"taro-img__widthfix":h==="widthFix"});var u=s("taro-img__mode-"+h.toLowerCase().replace(/\s/g,""),(t={},t["taro-img__mode-aspectfill--"+l]=h==="aspectFill",t));return r(a,{class:_},d?r("img",Object.assign({ref:function(t){return i.imgRef=t},class:u,onLoad:c.bind(this),onError:f.bind(this)},p)):r("img",Object.assign({ref:function(t){return i.imgRef=t},class:u,src:e,onLoad:c.bind(this),onError:f.bind(this)},p)))};return t}());h.style=n}}}));