@tarojs/components 3.5.0-canary.0 → 3.5.0-theta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (498) hide show
  1. package/README.md +2 -0
  2. package/dist/cjs/{index-dd4b7ba3.js → index-13289aba.js} +62 -53
  3. package/dist/cjs/index-47a1959e.js +34 -0
  4. package/dist/{esm/index-3c78bcaf.js → cjs/index-f9d21cc5.js} +12 -1
  5. package/dist/cjs/loader.cjs.js +3 -3
  6. package/dist/cjs/taro-ad-core.cjs.entry.js +19 -0
  7. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +19 -0
  8. package/dist/cjs/taro-audio-core.cjs.entry.js +1 -1
  9. package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
  10. package/dist/cjs/taro-button-core.cjs.entry.js +3 -3
  11. package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
  12. package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
  13. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
  14. package/dist/cjs/taro-components.cjs.js +3 -3
  15. package/dist/cjs/taro-cover-image-core.cjs.entry.js +1 -1
  16. package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
  17. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
  18. package/dist/cjs/taro-editor-core.cjs.entry.js +19 -0
  19. package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
  20. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +19 -0
  21. package/dist/cjs/taro-icon-core.cjs.entry.js +2 -2
  22. package/dist/cjs/taro-image-core.cjs.entry.js +4 -4
  23. package/dist/cjs/taro-input-core.cjs.entry.js +28 -20
  24. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +19 -0
  25. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  26. package/dist/cjs/taro-live-player-core.cjs.entry.js +19 -0
  27. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +19 -0
  28. package/dist/cjs/taro-map-core.cjs.entry.js +19 -0
  29. package/dist/cjs/taro-match-media-core.cjs.entry.js +19 -0
  30. package/dist/cjs/taro-movable-area-core.cjs.entry.js +1 -1
  31. package/dist/cjs/taro-movable-view-core.cjs.entry.js +1 -1
  32. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +19 -0
  33. package/dist/cjs/taro-navigator-core.cjs.entry.js +14 -10
  34. package/dist/cjs/taro-official-account-core.cjs.entry.js +19 -0
  35. package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
  36. package/dist/cjs/taro-page-container-core.cjs.entry.js +19 -0
  37. package/dist/cjs/taro-page-meta-core.cjs.entry.js +19 -0
  38. package/dist/cjs/taro-picker-core_2.cjs.entry.js +2 -2
  39. package/dist/cjs/taro-picker-view-column-core.cjs.entry.js +80 -4
  40. package/dist/cjs/taro-picker-view-core.cjs.entry.js +72 -3
  41. package/dist/cjs/taro-progress-core.cjs.entry.js +1 -1
  42. package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +22 -8
  43. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  44. package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
  45. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +9 -17
  46. package/dist/cjs/taro-share-element-core.cjs.entry.js +19 -0
  47. package/dist/cjs/taro-slider-core.cjs.entry.js +1 -1
  48. package/dist/cjs/taro-slot-core.cjs.entry.js +19 -0
  49. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +23 -17
  50. package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
  51. package/dist/cjs/taro-tabbar.cjs.entry.js +73 -67
  52. package/dist/cjs/taro-text-core.cjs.entry.js +3 -3
  53. package/dist/cjs/taro-textarea-core.cjs.entry.js +8 -6
  54. package/dist/cjs/taro-video-control_3.cjs.entry.js +27868 -224
  55. package/dist/cjs/taro-view-core.cjs.entry.js +5 -5
  56. package/dist/cjs/taro-voip-room-core.cjs.entry.js +19 -0
  57. package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
  58. package/dist/collection/collection-manifest.json +22 -6
  59. package/dist/collection/components/ad/ad.js +11 -0
  60. package/dist/collection/components/{picker-view-column/picker-view-column.js → ad-custom/ad-custom.js} +3 -3
  61. package/dist/collection/components/button/style/index.css +49 -49
  62. package/dist/collection/components/canvas/canvas.js +1 -1
  63. package/dist/collection/components/canvas/style/index.css +6 -6
  64. package/dist/collection/components/checkbox/style/index.css +21 -23
  65. package/dist/collection/components/editor/editor.js +11 -0
  66. package/dist/collection/components/functional-page-navigator/functional-page-navigator.js +11 -0
  67. package/dist/collection/components/image/image.js +2 -2
  68. package/dist/collection/components/image/style/index.css +8 -5
  69. package/dist/collection/components/input/index.css +2 -2
  70. package/dist/collection/components/input/input.js +41 -24
  71. package/dist/collection/components/keyboard-accessory/keyboard-accessory.js +11 -0
  72. package/dist/collection/components/live-player/live-player.js +11 -0
  73. package/dist/collection/components/live-pusher/live-pusher.js +11 -0
  74. package/dist/collection/components/map/map.js +11 -0
  75. package/dist/collection/components/match-media/match-media.js +11 -0
  76. package/dist/collection/components/{movable-view → movable-area}/movable-area.js +0 -0
  77. package/dist/collection/components/{movable-view → movable-area}/movable-view.js +0 -0
  78. package/dist/collection/components/navigation-bar/navigation-bar.js +11 -0
  79. package/dist/collection/components/navigator/navigator.js +3 -3
  80. package/dist/collection/components/navigator/{navigator.css → style/index.css} +3 -3
  81. package/dist/collection/components/official-account/official-account.js +11 -0
  82. package/dist/collection/components/page-container/page-container.js +11 -0
  83. package/dist/collection/components/page-meta/page-meta.js +11 -0
  84. package/dist/collection/components/picker/style/index.css +2 -1
  85. package/dist/collection/components/picker-view/picker-view-column.js +225 -0
  86. package/dist/collection/components/picker-view/picker-view.js +217 -3
  87. package/dist/collection/components/picker-view/style/column.css +12 -0
  88. package/dist/collection/components/picker-view/style/index.css +28 -0
  89. package/dist/collection/components/{pull-down-refresh → pull-to-refresh}/pull-to-refresh.js +14 -4
  90. package/dist/collection/components/{pull-down-refresh → pull-to-refresh}/style/index.css +53 -49
  91. package/dist/collection/components/rich-text/rich-text.js +1 -1
  92. package/dist/collection/components/scroll-view/scroll-view.js +6 -14
  93. package/dist/collection/components/share-element/share-element.js +11 -0
  94. package/dist/collection/components/slot/slot.js +11 -0
  95. package/dist/collection/components/swiper/swiper.js +20 -14
  96. package/dist/collection/components/tabbar/style/index.css +10 -7
  97. package/dist/collection/components/tabbar/tabbar.js +23 -17
  98. package/dist/collection/components/text/style/index.css +0 -6
  99. package/dist/collection/components/textarea/style/index.css +5 -5
  100. package/dist/collection/components/textarea/textarea.js +6 -4
  101. package/dist/collection/components/video/style/index.css +88 -109
  102. package/dist/collection/components/video/utils.js +95 -109
  103. package/dist/collection/components/video/video-control.js +9 -9
  104. package/dist/collection/components/video/video.js +57 -9
  105. package/dist/collection/components/view/style/index.css +3 -5
  106. package/dist/collection/components/view/view.js +2 -2
  107. package/dist/collection/components/voip-room/voip-room.js +11 -0
  108. package/dist/collection/components/web-view/style/index.css +1 -1
  109. package/dist/collection/utils/index.js +27 -101
  110. package/dist/collection/utils/style.js +10 -0
  111. package/dist/collection/utils/url.js +67 -0
  112. package/dist/{cjs/index-b9715722.js → esm/index-1d8e8acd.js} +6 -2
  113. package/dist/esm/{index-5bd7cbab.js → index-26d8b479.js} +62 -53
  114. package/dist/esm/index-cad8203e.js +31 -0
  115. package/dist/esm/loader.js +3 -3
  116. package/dist/esm/polyfills/core-js.js +0 -0
  117. package/dist/esm/polyfills/dom.js +0 -0
  118. package/dist/esm/polyfills/es5-html-element.js +0 -0
  119. package/dist/esm/polyfills/index.js +0 -0
  120. package/dist/esm/polyfills/system.js +0 -0
  121. package/dist/esm/taro-ad-core.entry.js +15 -0
  122. package/dist/esm/taro-ad-custom-core.entry.js +15 -0
  123. package/dist/esm/taro-audio-core.entry.js +1 -1
  124. package/dist/esm/taro-block-core.entry.js +1 -1
  125. package/dist/esm/taro-button-core.entry.js +3 -3
  126. package/dist/esm/taro-camera-core.entry.js +1 -1
  127. package/dist/esm/taro-canvas-core.entry.js +2 -2
  128. package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
  129. package/dist/esm/taro-components.js +3 -3
  130. package/dist/esm/taro-cover-image-core.entry.js +1 -1
  131. package/dist/esm/taro-cover-view-core.entry.js +2 -2
  132. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  133. package/dist/esm/taro-editor-core.entry.js +15 -0
  134. package/dist/esm/taro-form-core.entry.js +1 -1
  135. package/dist/esm/taro-functional-page-navigator-core.entry.js +15 -0
  136. package/dist/esm/taro-icon-core.entry.js +2 -2
  137. package/dist/esm/taro-image-core.entry.js +4 -4
  138. package/dist/esm/taro-input-core.entry.js +28 -20
  139. package/dist/esm/taro-keyboard-accessory-core.entry.js +15 -0
  140. package/dist/esm/taro-label-core.entry.js +1 -1
  141. package/dist/esm/taro-live-player-core.entry.js +15 -0
  142. package/dist/esm/taro-live-pusher-core.entry.js +15 -0
  143. package/dist/esm/taro-map-core.entry.js +15 -0
  144. package/dist/esm/taro-match-media-core.entry.js +15 -0
  145. package/dist/esm/taro-movable-area-core.entry.js +1 -1
  146. package/dist/esm/taro-movable-view-core.entry.js +1 -1
  147. package/dist/esm/taro-navigation-bar-core.entry.js +15 -0
  148. package/dist/esm/taro-navigator-core.entry.js +5 -5
  149. package/dist/esm/taro-official-account-core.entry.js +15 -0
  150. package/dist/esm/taro-open-data-core.entry.js +1 -1
  151. package/dist/esm/taro-page-container-core.entry.js +15 -0
  152. package/dist/esm/taro-page-meta-core.entry.js +15 -0
  153. package/dist/esm/taro-picker-core_2.entry.js +2 -2
  154. package/dist/esm/taro-picker-view-column-core.entry.js +80 -4
  155. package/dist/esm/taro-picker-view-core.entry.js +72 -3
  156. package/dist/esm/taro-progress-core.entry.js +1 -1
  157. package/dist/esm/taro-pull-to-refresh.entry.js +16 -6
  158. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  159. package/dist/esm/taro-rich-text-core.entry.js +2 -2
  160. package/dist/esm/taro-scroll-view-core.entry.js +8 -16
  161. package/dist/esm/taro-share-element-core.entry.js +15 -0
  162. package/dist/esm/taro-slider-core.entry.js +1 -1
  163. package/dist/esm/taro-slot-core.entry.js +15 -0
  164. package/dist/esm/taro-swiper-core_2.entry.js +21 -15
  165. package/dist/esm/taro-switch-core.entry.js +1 -1
  166. package/dist/esm/taro-tabbar.entry.js +48 -46
  167. package/dist/esm/taro-text-core.entry.js +3 -3
  168. package/dist/esm/taro-textarea-core.entry.js +8 -6
  169. package/dist/esm/taro-video-control_3.entry.js +27867 -223
  170. package/dist/esm/taro-view-core.entry.js +5 -5
  171. package/dist/esm/taro-voip-room-core.entry.js +15 -0
  172. package/dist/esm/taro-web-view-core.entry.js +2 -2
  173. package/dist/esm-es5/index-1d8e8acd.js +7 -0
  174. package/dist/esm-es5/{index-5bd7cbab.js → index-26d8b479.js} +1 -1
  175. package/dist/esm-es5/index-cad8203e.js +1 -0
  176. package/dist/esm-es5/loader.js +1 -1
  177. package/dist/esm-es5/taro-ad-core.entry.js +1 -0
  178. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -0
  179. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  180. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  181. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  182. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  183. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  184. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  185. package/dist/esm-es5/taro-components.js +1 -1
  186. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  187. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  188. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  189. package/dist/esm-es5/taro-editor-core.entry.js +1 -0
  190. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  191. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -0
  192. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  193. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  194. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  195. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -0
  196. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  197. package/dist/esm-es5/taro-live-player-core.entry.js +1 -0
  198. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -0
  199. package/dist/esm-es5/taro-map-core.entry.js +1 -0
  200. package/dist/esm-es5/taro-match-media-core.entry.js +1 -0
  201. package/dist/esm-es5/taro-movable-area-core.entry.js +1 -1
  202. package/dist/esm-es5/taro-movable-view-core.entry.js +1 -1
  203. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -0
  204. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  205. package/dist/esm-es5/taro-official-account-core.entry.js +1 -0
  206. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  207. package/dist/esm-es5/taro-page-container-core.entry.js +1 -0
  208. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -0
  209. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  210. package/dist/esm-es5/taro-picker-view-column-core.entry.js +1 -1
  211. package/dist/esm-es5/taro-picker-view-core.entry.js +1 -1
  212. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  213. package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
  214. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  215. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  216. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  217. package/dist/esm-es5/taro-share-element-core.entry.js +1 -0
  218. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  219. package/dist/esm-es5/taro-slot-core.entry.js +1 -0
  220. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  221. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  222. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  223. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  224. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  225. package/dist/esm-es5/taro-video-control_3.entry.js +365 -1
  226. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  227. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -0
  228. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  229. package/dist/taro-components/p-019591c8.system.entry.js +1 -0
  230. package/dist/taro-components/{p-8db237e0.entry.js → p-060858b1.entry.js} +1 -1
  231. package/dist/taro-components/{p-964692f7.system.entry.js → p-06e3d685.system.entry.js} +1 -1
  232. package/dist/taro-components/p-0996daee.entry.js +1 -0
  233. package/dist/taro-components/p-0ca42006.entry.js +1 -0
  234. package/dist/taro-components/{p-3633bb84.entry.js → p-0d0b3677.entry.js} +1 -1
  235. package/dist/taro-components/p-0d1e0e91.system.entry.js +1 -0
  236. package/dist/taro-components/p-0ea13d67.system.entry.js +1 -0
  237. package/dist/taro-components/p-12deba0b.system.entry.js +1 -0
  238. package/dist/taro-components/p-133e3ac4.entry.js +1 -0
  239. package/dist/taro-components/{p-5f8b5f62.entry.js → p-16aff829.entry.js} +1 -1
  240. package/dist/taro-components/p-16c1e564.entry.js +1 -0
  241. package/dist/taro-components/p-178a3adf.system.entry.js +1 -0
  242. package/dist/taro-components/p-1c0ebbd5.entry.js +1 -0
  243. package/dist/taro-components/p-1e0406ec.system.entry.js +1 -0
  244. package/dist/taro-components/p-1e516bd0.entry.js +1 -0
  245. package/dist/taro-components/p-2241b671.system.js +1 -0
  246. package/dist/taro-components/p-26e9ce75.entry.js +1 -0
  247. package/dist/taro-components/p-2887213d.system.entry.js +1 -0
  248. package/dist/taro-components/p-29b7c721.system.entry.js +1 -0
  249. package/dist/taro-components/p-29bb3ebe.entry.js +1 -0
  250. package/dist/taro-components/{p-fdd73355.system.entry.js → p-2bd2ea9a.system.entry.js} +1 -1
  251. package/dist/taro-components/p-2e8a1479.system.entry.js +1 -0
  252. package/dist/taro-components/{p-9a618935.system.entry.js → p-36f2c1e1.system.entry.js} +1 -1
  253. package/dist/taro-components/{p-fd8312e5.system.entry.js → p-372f53d8.system.entry.js} +1 -1
  254. package/dist/taro-components/p-38d7c2e8.system.entry.js +1 -0
  255. package/dist/taro-components/{p-cfbdd4e3.system.entry.js → p-3b801a38.system.entry.js} +1 -1
  256. package/dist/taro-components/p-3b85bb4b.system.entry.js +1 -0
  257. package/dist/taro-components/p-3bb72c08.entry.js +1 -0
  258. package/dist/taro-components/p-3d3cd72f.entry.js +1 -0
  259. package/dist/taro-components/p-4339ad63.system.entry.js +1 -0
  260. package/dist/taro-components/p-44a199e4.entry.js +1 -0
  261. package/dist/taro-components/p-45e6f8be.entry.js +1 -0
  262. package/dist/taro-components/p-46b7f84e.entry.js +1 -0
  263. package/dist/taro-components/p-4793e6ba.system.entry.js +1 -0
  264. package/dist/taro-components/{p-74540410.entry.js → p-4c890c5d.entry.js} +1 -1
  265. package/dist/taro-components/p-53244eac.entry.js +1 -0
  266. package/dist/taro-components/p-5746d7ce.js +1 -0
  267. package/dist/taro-components/{p-1b790eb0.system.entry.js → p-5c2497a4.system.entry.js} +1 -1
  268. package/dist/taro-components/p-5ff0e954.system.entry.js +1 -0
  269. package/dist/taro-components/p-61f225ef.system.js +7 -0
  270. package/dist/taro-components/p-62608b28.system.entry.js +1 -0
  271. package/dist/taro-components/p-62c64770.entry.js +1 -0
  272. package/dist/taro-components/p-663d1bb9.system.js +1 -0
  273. package/dist/taro-components/{p-bd3fa355.system.entry.js → p-66b1d5f9.system.entry.js} +1 -1
  274. package/dist/taro-components/p-671defcd.entry.js +1 -0
  275. package/dist/taro-components/p-6f2f468b.entry.js +1 -0
  276. package/dist/taro-components/p-70313eed.entry.js +1 -0
  277. package/dist/taro-components/p-74013ace.entry.js +1 -0
  278. package/dist/taro-components/{p-264b7229.system.entry.js → p-756d56d1.system.entry.js} +1 -1
  279. package/dist/taro-components/{p-fe156231.system.entry.js → p-75811f84.system.entry.js} +1 -1
  280. package/dist/taro-components/p-761d1085.entry.js +1 -0
  281. package/dist/taro-components/p-76724e58.js +7 -0
  282. package/dist/taro-components/{p-1e4f1702.system.entry.js → p-78676120.system.entry.js} +1 -1
  283. package/dist/taro-components/p-79b16736.system.entry.js +1 -0
  284. package/dist/taro-components/p-7b2049b7.entry.js +1 -0
  285. package/dist/taro-components/p-7dc268ee.entry.js +1 -0
  286. package/dist/taro-components/p-7f7aa688.entry.js +1 -0
  287. package/dist/taro-components/p-80abb865.entry.js +1 -0
  288. package/dist/taro-components/{p-55b0a30b.entry.js → p-81976128.entry.js} +1 -1
  289. package/dist/taro-components/p-81dc5b7b.entry.js +1 -0
  290. package/dist/taro-components/p-828efe43.system.entry.js +1 -0
  291. package/dist/taro-components/p-831ebd02.system.entry.js +1 -0
  292. package/dist/taro-components/p-832cc63a.entry.js +1 -0
  293. package/dist/taro-components/{p-b2d01686.system.js → p-83adb645.system.js} +1 -1
  294. package/dist/taro-components/p-841a2031.system.entry.js +365 -0
  295. package/dist/taro-components/p-86205110.entry.js +1 -0
  296. package/dist/taro-components/{p-703dfad8.system.entry.js → p-8b23a081.system.entry.js} +1 -1
  297. package/dist/taro-components/{p-ffe63ce9.system.entry.js → p-8b30e18c.system.entry.js} +1 -1
  298. package/dist/taro-components/p-8ba35b31.system.entry.js +1 -0
  299. package/dist/taro-components/p-8ead6b19.entry.js +1 -0
  300. package/dist/taro-components/p-8f466248.system.entry.js +1 -0
  301. package/dist/taro-components/{p-cea9a198.system.entry.js → p-9130dfca.system.entry.js} +1 -1
  302. package/dist/taro-components/{p-8a5e67cb.entry.js → p-9151ef65.entry.js} +1 -1
  303. package/dist/taro-components/p-917830b4.system.entry.js +1 -0
  304. package/dist/taro-components/p-95e51d62.entry.js +1 -0
  305. package/dist/taro-components/p-9961074d.entry.js +1 -0
  306. package/dist/taro-components/{p-3643d8f7.system.entry.js → p-9b90554b.system.entry.js} +1 -1
  307. package/dist/taro-components/p-9ce624a4.system.entry.js +1 -0
  308. package/dist/taro-components/p-a097985b.entry.js +1 -0
  309. package/dist/taro-components/p-a36bfe97.system.entry.js +1 -0
  310. package/dist/taro-components/p-a4721ae0.js +1 -0
  311. package/dist/taro-components/{p-e6298500.entry.js → p-a74f4c26.entry.js} +1 -1
  312. package/dist/taro-components/{p-7d848382.system.entry.js → p-a838e0f7.system.entry.js} +1 -1
  313. package/dist/taro-components/p-a84098b5.system.entry.js +1 -0
  314. package/dist/taro-components/p-a90bfe9d.system.entry.js +1 -0
  315. package/dist/taro-components/p-a9ab6434.system.entry.js +1 -0
  316. package/dist/taro-components/{p-99ed3ed2.system.entry.js → p-ac398961.system.entry.js} +1 -1
  317. package/dist/taro-components/{p-4dbed323.entry.js → p-ac56ffed.entry.js} +1 -1
  318. package/dist/taro-components/{p-fc4939c6.system.entry.js → p-baa5019a.system.entry.js} +1 -1
  319. package/dist/taro-components/{p-fb0959c1.system.entry.js → p-c1458fbe.system.entry.js} +1 -1
  320. package/dist/taro-components/p-c7dd3c92.entry.js +1 -0
  321. package/dist/taro-components/p-c9b73495.entry.js +1 -0
  322. package/dist/taro-components/{p-8f90fca9.system.entry.js → p-ca7ad427.system.entry.js} +1 -1
  323. package/dist/taro-components/{p-8bc82aaa.entry.js → p-ce0489a6.entry.js} +1 -1
  324. package/dist/taro-components/{p-9d0ab7c4.entry.js → p-ce46f79d.entry.js} +1 -1
  325. package/dist/taro-components/p-cfebd931.entry.js +1 -0
  326. package/dist/taro-components/p-d2b6b891.entry.js +1 -0
  327. package/dist/taro-components/{p-9fc88fc1.system.entry.js → p-d56c45bf.system.entry.js} +1 -1
  328. package/dist/taro-components/{p-06bffead.entry.js → p-d636e22e.entry.js} +1 -1
  329. package/dist/taro-components/{p-b75d8a65.entry.js → p-d6c8f31d.entry.js} +1 -1
  330. package/dist/taro-components/p-d7e13592.entry.js +365 -0
  331. package/dist/taro-components/p-de573939.system.entry.js +1 -0
  332. package/dist/taro-components/p-e01af6c8.entry.js +1 -0
  333. package/dist/taro-components/{p-865c21b5.entry.js → p-e7dcb4d5.entry.js} +1 -1
  334. package/dist/taro-components/p-ec59899b.system.entry.js +1 -0
  335. package/dist/taro-components/p-f1da4ed7.system.entry.js +1 -0
  336. package/dist/taro-components/p-fc226017.entry.js +1 -0
  337. package/dist/taro-components/{p-17039974.system.entry.js → p-fe252a81.system.entry.js} +1 -1
  338. package/dist/taro-components/taro-components.css +1 -1
  339. package/dist/taro-components/taro-components.esm.js +1 -1
  340. package/dist/taro-components/taro-components.js +1 -1
  341. package/dist/types/components/ad/ad.d.ts +4 -0
  342. package/dist/types/components/{picker-view-column/picker-view-column.d.ts → ad-custom/ad-custom.d.ts} +1 -1
  343. package/dist/types/components/editor/editor.d.ts +4 -0
  344. package/dist/types/components/functional-page-navigator/functional-page-navigator.d.ts +4 -0
  345. package/dist/types/components/image/image.d.ts +1 -1
  346. package/dist/types/components/input/input.d.ts +3 -3
  347. package/dist/types/components/keyboard-accessory/keyboard-accessory.d.ts +4 -0
  348. package/dist/types/components/live-player/live-player.d.ts +4 -0
  349. package/dist/types/components/live-pusher/live-pusher.d.ts +4 -0
  350. package/dist/types/components/map/map.d.ts +4 -0
  351. package/dist/types/components/match-media/match-media.d.ts +4 -0
  352. package/dist/types/components/{movable-view → movable-area}/movable-area.d.ts +0 -0
  353. package/dist/types/components/{movable-view → movable-area}/movable-view.d.ts +0 -0
  354. package/dist/types/components/navigation-bar/navigation-bar.d.ts +4 -0
  355. package/dist/types/components/official-account/official-account.d.ts +4 -0
  356. package/dist/types/components/page-container/page-container.d.ts +4 -0
  357. package/dist/types/components/page-meta/page-meta.d.ts +4 -0
  358. package/dist/types/components/picker-view/picker-view-column.d.ts +18 -0
  359. package/dist/types/components/picker-view/picker-view.d.ts +24 -0
  360. package/dist/types/components/{pull-down-refresh → pull-to-refresh}/pull-to-refresh.d.ts +0 -0
  361. package/dist/types/components/scroll-view/scroll-view.d.ts +1 -1
  362. package/dist/types/components/share-element/share-element.d.ts +4 -0
  363. package/dist/types/components/slot/slot.d.ts +4 -0
  364. package/dist/types/components/swiper/swiper.d.ts +2 -1
  365. package/dist/types/components/tabbar/tabbar.d.ts +4 -3
  366. package/dist/types/components/textarea/textarea.d.ts +1 -1
  367. package/dist/types/components/video/utils.d.ts +6 -0
  368. package/dist/types/components/video/video-control.d.ts +2 -2
  369. package/dist/types/components/voip-room/voip-room.d.ts +4 -0
  370. package/dist/types/components.d.ts +231 -0
  371. package/dist/types/home/runner/work/taro/taro/packages/taro-components/.stencil/types/props.d.ts +62 -0
  372. package/dist/types/props.js +1 -0
  373. package/dist/types/stencil-public-runtime.d.ts +6 -4
  374. package/dist/types/utils/index.d.ts +4 -0
  375. package/dist/types/utils/style.d.ts +1 -0
  376. package/dist/types/utils/url.d.ts +6 -0
  377. package/dist-h5/react/components/index.js +63 -0
  378. package/dist-h5/react/components/input.js +2 -2
  379. package/dist-h5/react/index.js +1 -45
  380. package/dist-h5/react/utils/reactify-wc.js +8 -5
  381. package/dist-h5/vue/components/index.js +60 -0
  382. package/dist-h5/vue/components/picker.js +4 -3
  383. package/dist-h5/vue/components/scroll-view.js +2 -2
  384. package/dist-h5/vue/createFormsComponent.js +2 -2
  385. package/dist-h5/vue/index.js +23 -26
  386. package/dist-h5/vue/mixins/listeners.js +2 -2
  387. package/dist-h5/vue3/components/icon.js +3 -0
  388. package/dist-h5/vue3/components/image.js +3 -0
  389. package/dist-h5/vue3/components/index.js +64 -0
  390. package/dist-h5/vue3/components/scroll-view.js +3 -0
  391. package/dist-h5/vue3/components/text.js +3 -0
  392. package/dist-h5/vue3/createComponent.js +3 -0
  393. package/dist-h5/vue3/createFormsComponent.js +6 -3
  394. package/dist-h5/vue3/forwardRef.js +11 -0
  395. package/dist-h5/vue3/index.js +12 -29
  396. package/package.json +35 -19
  397. package/types/Ad.d.ts +34 -22
  398. package/types/AdCustom.d.ts +50 -0
  399. package/types/Audio.d.ts +25 -5
  400. package/types/Block.d.ts +5 -2
  401. package/types/Button.d.ts +123 -34
  402. package/types/Camera.d.ts +20 -20
  403. package/types/Canvas.d.ts +15 -2
  404. package/types/Checkbox.d.ts +69 -5
  405. package/types/CheckboxGroup.d.ts +4 -4
  406. package/types/CoverImage.d.ts +50 -8
  407. package/types/CoverView.d.ts +51 -8
  408. package/types/CustomWrapper.d.ts +2 -2
  409. package/types/Editor.d.ts +63 -6
  410. package/types/Form.d.ts +38 -7
  411. package/types/FunctionalPageNavigator.d.ts +4 -4
  412. package/types/Icon.d.ts +17 -1
  413. package/types/Image.d.ts +32 -6
  414. package/types/Input.d.ts +105 -40
  415. package/types/KeyboardAccessory.d.ts +42 -0
  416. package/types/Label.d.ts +20 -6
  417. package/types/LivePlayer.d.ts +25 -19
  418. package/types/LivePusher.d.ts +21 -15
  419. package/types/Map.d.ts +87 -33
  420. package/types/MatchMedia.d.ts +24 -5
  421. package/types/MovableArea.d.ts +10 -4
  422. package/types/MovableView.d.ts +34 -20
  423. package/types/Navigator.d.ts +7 -7
  424. package/types/OfficialAccount.d.ts +7 -13
  425. package/types/OpenData.d.ts +17 -11
  426. package/types/PageContainer.d.ts +121 -0
  427. package/types/Picker.d.ts +66 -3
  428. package/types/PickerView.d.ts +66 -2
  429. package/types/PickerViewColumn.d.ts +5 -3
  430. package/types/Progress.d.ts +13 -2
  431. package/types/Radio.d.ts +82 -6
  432. package/types/RadioGroup.d.ts +2 -2
  433. package/types/RichText.d.ts +39 -2
  434. package/types/ScrollView.d.ts +94 -12
  435. package/types/ShareElement.d.ts +232 -0
  436. package/types/Slider.d.ts +15 -2
  437. package/types/Slot.d.ts +2 -2
  438. package/types/Swiper.d.ts +33 -8
  439. package/types/SwiperItem.d.ts +28 -3
  440. package/types/Switch.d.ts +22 -4
  441. package/types/Text.d.ts +38 -1
  442. package/types/Textarea.d.ts +38 -22
  443. package/types/Video.d.ts +61 -41
  444. package/types/View.d.ts +35 -3
  445. package/types/VoipRoom.d.ts +70 -0
  446. package/types/WebView.d.ts +13 -7
  447. package/types/common.d.ts +7 -10
  448. package/types/index.d.ts +49 -22
  449. package/types/index.vue3.d.ts +157 -0
  450. package/types/props.ts +72 -0
  451. package/virtual-list/memoize.js +1 -0
  452. package/virtual-list/react/createListComponent.js +5 -3
  453. package/virtual-list/react/index.js +2 -1
  454. package/virtual-list/timer.js +1 -1
  455. package/virtual-list/vue/index.js +1 -1
  456. package/vue3.d.ts +3 -0
  457. package/dist/esm-es5/index-3c78bcaf.js +0 -7
  458. package/dist/taro-components/p-10a6c489.system.entry.js +0 -1
  459. package/dist/taro-components/p-11932905.entry.js +0 -1
  460. package/dist/taro-components/p-12638ebc.system.entry.js +0 -1
  461. package/dist/taro-components/p-12ae0a33.entry.js +0 -1
  462. package/dist/taro-components/p-13c1404f.system.entry.js +0 -1
  463. package/dist/taro-components/p-17cf8b5b.entry.js +0 -1
  464. package/dist/taro-components/p-2438fcd4.system.entry.js +0 -1
  465. package/dist/taro-components/p-33ee636a.system.js +0 -1
  466. package/dist/taro-components/p-37cfdd8f.js +0 -7
  467. package/dist/taro-components/p-3aac5746.system.entry.js +0 -1
  468. package/dist/taro-components/p-3eebeb1c.system.entry.js +0 -1
  469. package/dist/taro-components/p-431197bc.entry.js +0 -1
  470. package/dist/taro-components/p-43de2f12.system.entry.js +0 -1
  471. package/dist/taro-components/p-46cf6431.system.entry.js +0 -1
  472. package/dist/taro-components/p-50066d5e.system.entry.js +0 -1
  473. package/dist/taro-components/p-554e1039.entry.js +0 -1
  474. package/dist/taro-components/p-5c420456.entry.js +0 -1
  475. package/dist/taro-components/p-627a5064.system.entry.js +0 -1
  476. package/dist/taro-components/p-64993f48.entry.js +0 -1
  477. package/dist/taro-components/p-66237ac0.entry.js +0 -1
  478. package/dist/taro-components/p-6965567d.entry.js +0 -1
  479. package/dist/taro-components/p-71de9bd6.entry.js +0 -1
  480. package/dist/taro-components/p-7a64a3d2.entry.js +0 -1
  481. package/dist/taro-components/p-83dedaa2.entry.js +0 -1
  482. package/dist/taro-components/p-94c20f60.system.js +0 -7
  483. package/dist/taro-components/p-95529dc0.entry.js +0 -1
  484. package/dist/taro-components/p-a1423df9.entry.js +0 -1
  485. package/dist/taro-components/p-b8e0ad7d.entry.js +0 -1
  486. package/dist/taro-components/p-b9280444.entry.js +0 -1
  487. package/dist/taro-components/p-c218c298.entry.js +0 -1
  488. package/dist/taro-components/p-c362734b.entry.js +0 -1
  489. package/dist/taro-components/p-d394a61f.system.entry.js +0 -1
  490. package/dist/taro-components/p-d567b95e.entry.js +0 -1
  491. package/dist/taro-components/p-d5971476.entry.js +0 -1
  492. package/dist/taro-components/p-e0af1d0d.system.entry.js +0 -1
  493. package/dist/taro-components/p-e27798a4.entry.js +0 -1
  494. package/dist/taro-components/p-f05e1558.js +0 -1
  495. package/dist/taro-components/p-f98e0224.entry.js +0 -1
  496. package/dist/taro-components/p-fb2252b7.system.entry.js +0 -1
  497. package/dist/taro-components/p-fde3a009.system.entry.js +0 -1
  498. package/dist-h5/vue/simpleComponents.js +0 -19
@@ -1 +1 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-5bd7cbab.js";import{c as classnames}from"./index-3c78bcaf.js";var indexCss="body,html{-webkit-tap-highlight-color:rgba(0, 0, 0, 0);user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}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(e){if(e.nodeType===document.COMMENT_NODE)t.removeChild(e)}))};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};
@@ -0,0 +1 @@
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-5bd7cbab.js";var indexCss="iframe{border:none}.taro-webview{position:fixed;top:0;bottom:0;width:100%;height:100%;z-index:999}";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};
@@ -0,0 +1 @@
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-f05e1558.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-b2d01686.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}
@@ -0,0 +1 @@
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-f05e1558.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}
@@ -0,0 +1 @@
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}())}}}));
@@ -0,0 +1 @@
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}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-83adb645.system.js"],(function(t){"use strict";var e,n,r;return{setters:[function(t){e=t.r;n=t.h;r=t.H}],execute:function(){var o=t("taro_match_media_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 MatchMedia 组件!")};t.prototype.render=function(){return n(r,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ import{r as e,h as t,H as s}from"./p-a4721ae0.js";import{c as r}from"./p-76724e58.js";let o=class{constructor(t){e(this,t),this.selectable=!1}render(){const e=r({"taro-text__selectable":this.selectable});return t(s,{class:e},t("slot",null))}};o.style="taro-text-core{display:inline;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:pre-wrap}.taro-text__selectable{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}";export{o as taro_text_core}
@@ -1 +1 @@
1
- import{r as t,c as s,h as i}from"./p-f05e1558.js";let e=class{constructor(i){t(this,i),this.onError=s(this,"error",7),this.onPlay=s(this,"play",7),this.onPause=s(this,"pause",7),this.onTimeUpdate=s(this,"timeupdate",7),this.onEnded=s(this,"ended",7),this.controls=!0,this.autoplay=!1,this.loop=!1,this.muted=!1,this.nativeProps={}}bindevent(){this.audio.addEventListener("timeupdate",(t=>{this.onTimeUpdate.emit({duration:t.srcElement.duration,currentTime:t.srcElement.duration})})),this.audio.addEventListener("ended",(()=>{this.onEnded.emit()})),this.audio.addEventListener("play",(()=>{this.onPlay.emit()})),this.audio.addEventListener("pause",(t=>{this.onPause.emit(t)})),this.audio.addEventListener("error",(t=>{var s;this.onError.emit({errMsg:null===(s=t.srcElement.error)||void 0===s?void 0:s.code})}))}componentDidLoad(){this.bindevent()}render(){const{src:t,controls:s,autoplay:e,loop:o,muted:h,nativeProps:r}=this;return i("audio",Object.assign({src:t,controls:s,autoplay:e,loop:o,muted:h,ref:t=>{this.audio=t}},r))}};e.style="audio{max-width:100%;outline:none}";export{e as taro_audio_core}
1
+ import{r as t,c as s,h as i}from"./p-a4721ae0.js";let e=class{constructor(i){t(this,i),this.onError=s(this,"error",7),this.onPlay=s(this,"play",7),this.onPause=s(this,"pause",7),this.onTimeUpdate=s(this,"timeupdate",7),this.onEnded=s(this,"ended",7),this.controls=!0,this.autoplay=!1,this.loop=!1,this.muted=!1,this.nativeProps={}}bindevent(){this.audio.addEventListener("timeupdate",(t=>{this.onTimeUpdate.emit({duration:t.srcElement.duration,currentTime:t.srcElement.duration})})),this.audio.addEventListener("ended",(()=>{this.onEnded.emit()})),this.audio.addEventListener("play",(()=>{this.onPlay.emit()})),this.audio.addEventListener("pause",(t=>{this.onPause.emit(t)})),this.audio.addEventListener("error",(t=>{var s;this.onError.emit({errMsg:null===(s=t.srcElement.error)||void 0===s?void 0:s.code})}))}componentDidLoad(){this.bindevent()}render(){const{src:t,controls:s,autoplay:e,loop:o,muted:h,nativeProps:r}=this;return i("audio",Object.assign({src:t,controls:s,autoplay:e,loop:o,muted:h,ref:t=>{this.audio=t}},r))}};e.style="audio{max-width:100%;outline:none}";export{e as taro_audio_core}
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as s}from"./p-a4721ae0.js";let t=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 AdCustom 组件!")}render(){return r(s,null)}};export{t as taro_ad_custom_core}
@@ -0,0 +1 @@
1
+ System.register(["./p-83adb645.system.js"],(function(r){"use strict";var e,t,o;return{setters:[function(r){e=r.r;t=r.h;o=r.H}],execute:function(){var n=r("taro_keyboard_accessory_core",function(){function r(r){e(this,r)}r.prototype.componentDidLoad=function(){console.error("H5 暂不支持 KeyboardAccessory 组件!")};r.prototype.render=function(){return t(o,null)};return r}())}}}));
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s,H as e,g as r}from"./p-a4721ae0.js";import h from"@tarojs/taro";import{c as a}from"./p-76724e58.js";const n="undefined"!=typeof navigator&&/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent),o={activate:"release",deactivate:"pull",release:"loading",finish:"finish"};let l=!1;try{const t=Object.defineProperty({},"passive",{get(){l=!0}});window.addEventListener("cancel",(()=>({})),t)}catch(t){}const c=!!l&&{passive:!1};let d=class{constructor(s){t(this,s),this.onRefresh=i(this,"refresh",7),this.prefixCls="rmc-pull-to-refresh",this.distanceToRefresh=50,this.damping=100,this.indicator=o,this.currSt="deactivate",this.dragOnEdge=!1,this._ScreenY=0,this._startScreenY=0,this._lastScreenY=0,this._isMounted=!1,this.triggerPullDownRefresh=t=>{!this.dragOnEdge&&this._isMounted&&(t?(this._lastScreenY=this.distanceToRefresh+1,this.currSt="release",this.setContentStyle(this._lastScreenY)):(this.currSt="finish",this.reset()))},this.init=()=>{const t=this.scrollContainer,i=this.el.querySelector("rmc-pull-to-refresh-content");this.el.appendChild=null==i?void 0:i.appendChild.bind(i),this.el.insertBefore=null==i?void 0:i.insertBefore.bind(i),this.el.replaceChild=null==i?void 0:i.replaceChild.bind(i),this.el.removeChild=null==i?void 0:i.removeChild.bind(i),this._to={touchstart:this.onTouchStart.bind(this,t),touchmove:this.onTouchMove.bind(this,t),touchend:this.onTouchEnd.bind(this,t),touchcancel:this.onTouchEnd.bind(this,t)},Object.keys(this._to).forEach((i=>{t.addEventListener(i,this._to[i],c)}))},this.destroy=()=>{const t=this.scrollContainer;Object.keys(this._to).forEach((i=>{t.removeEventListener(i,this._to[i])}))},this.onTouchStart=(t,i)=>{this._ScreenY=this._startScreenY=i.touches[0].screenY,this._lastScreenY=this._lastScreenY||0},this.isEdge=t=>{const i=this.scrollContainer;return i&&i===document.body?(document.scrollingElement?document.scrollingElement:document.body).scrollTop<=0:t.scrollTop<=0},this.damp=t=>Math.abs(this._lastScreenY)>this.damping?0:t*(.6*(1-Math.abs(this._ScreenY-this._startScreenY)/window.screen.height)),this.onTouchMove=(t,i)=>{const s=i.touches[0].screenY;if(!(this._startScreenY>s)&&this.isEdge(t)){this.dragOnEdge||(this._ScreenY=this._startScreenY=i.touches[0].screenY,this.dragOnEdge=!0),i.cancelable&&i.preventDefault();const t=Math.round(s-this._ScreenY);this._ScreenY=s,this._lastScreenY+=this.damp(t),this.setContentStyle(this._lastScreenY),Math.abs(this._lastScreenY)<this.distanceToRefresh?"deactivate"!==this.currSt&&(this.currSt="deactivate"):"deactivate"===this.currSt&&(this.currSt="activate"),n&&i.changedTouches[0].clientY<0&&this.onTouchEnd()}},this.onTouchEnd=()=>{this.dragOnEdge&&(this.dragOnEdge=!1),"activate"===this.currSt?(this.currSt="release",this.onRefresh.emit(this),this._lastScreenY=this.distanceToRefresh+1,this.setContentStyle(this._lastScreenY)):"release"===this.currSt?(this._lastScreenY=this.distanceToRefresh+1,this.setContentStyle(this._lastScreenY)):this.reset()},this.reset=()=>{this._lastScreenY=0,this.setContentStyle(0)},this.setContentStyle=t=>{var i,s;this.contentRef&&((i=this.contentRef.style).transform=s=t?`translate3d(0px,${t}px,0)`:"",i.webkitTransform=s,i.MozTransform=s)}}get scrollContainer(){return this.el.parentElement||document.querySelector(".taro_page_stationed")||document.querySelector(".taro_page")||document.querySelector(".taro_router")||document.querySelector(".taro-tabbar__panel")||document.body}statusChange(){if("release"===this.currSt){const t=this.el.closest(".taro_page");t&&t.__page&&t.__page.onPullDownRefresh()}}disconnectedCallback(){this.destroy()}componentDidLoad(){this.init(),this._isMounted=!0,h.eventCenter.on("__taroStartPullDownRefresh",(({successHandler:t,errorHandler:i})=>{try{this.triggerPullDownRefresh(!0),t({errMsg:"startPullDownRefresh: ok"})}catch(t){i({errMsg:"startPullDownRefresh: fail"})}})),h.eventCenter.on("__taroStopPullDownRefresh",(({successHandler:t,errorHandler:i})=>{try{this.triggerPullDownRefresh(!1),t({errMsg:"stopPullDownRefresh: ok"})}catch(t){i({errMsg:"stopPullDownRefresh: fail"})}}))}render(){const t=t=>{const{currSt:i,dragOnEdge:e,prefixCls:r}=this,h=a(t,!e&&`${r}-transition`);return s("div",{class:`${r}-content-wrapper`},s("div",{class:h,ref:t=>{this.contentRef=t}},("activate"===i||"release"===i)&&s("div",{class:`${r}-indicator`},s("div",null),s("div",null),s("div",null)),s("slot",null)))};return this.scrollContainer?t(`${this.prefixCls}-content ${this.prefixCls}-down`):s(e,{class:a(this.prefixCls,`${this.prefixCls}-down`)},t(`${this.prefixCls}-content`))}get el(){return r(this)}static get watchers(){return{currSt:["statusChange"]}}};d.style=".rmc-pull-to-refresh-content{-webkit-transform-origin:left top 0;transform-origin:left top 0}.rmc-pull-to-refresh-content-wrapper{overflow:hidden;min-height:100vh}.rmc-pull-to-refresh-transition{-webkit-transition:-webkit-transform 0.3s;transition:-webkit-transform 0.3s;transition:transform 0.3s;transition:transform 0.3s, -webkit-transform 0.3s}@-webkit-keyframes rmc-pull-to-refresh-indicator{50%{opacity:0.2}100%{opacity:1}}@keyframes rmc-pull-to-refresh-indicator{50%{opacity:0.2}100%{opacity:1}}.rmc-pull-to-refresh-indicator{height:30px;line-height:10px;text-align:center}.rmc-pull-to-refresh-indicator>div{display:inline-block;margin:3px;border-radius:100%;width:6px;height:6px;background-color:grey;-webkit-animation:rmc-pull-to-refresh-indicator 0.5s 0s infinite linear;animation:rmc-pull-to-refresh-indicator 0.5s 0s infinite linear;-webkit-animation-fill-mode:both;animation-fill-mode:both}.rmc-pull-to-refresh-indicator>div:nth-child(0){-webkit-animation-delay:-0.1s !important;animation-delay:-0.1s !important}.rmc-pull-to-refresh-indicator>div:nth-child(1){-webkit-animation-delay:-0.2s !important;animation-delay:-0.2s !important}.rmc-pull-to-refresh-indicator>div:nth-child(2){-webkit-animation-delay:-0.3s !important;animation-delay:-0.3s !important}.rmc-pull-to-refresh-down .rmc-pull-to-refresh-indicator{margin-top:-25px}";export{d as taro_pull_to_refresh}
@@ -0,0 +1 @@
1
+ System.register(["./p-83adb645.system.js","./p-61f225ef.system.js","./p-663d1bb9.system.js"],(function(l){"use strict";var o,r,t,e,s,i,c;return{setters:[function(l){o=l.r;r=l.c;t=l.h;e=l.H;s=l.g},function(l){i=l.c},function(l){c=l.d}],execute:function(){var n="taro-scroll-view-core{display:block;width:100%;-webkit-overflow-scrolling:auto}taro-scroll-view-core::-webkit-scrollbar{display:none}.taro-scroll-view__scroll-x{overflow-x:scroll;overflow-y:hidden}.taro-scroll-view__scroll-y{overflow-x:hidden;overflow-y:scroll}";function f(l,o,r){if(l===o||typeof l!=="number"){return}var t=o-l;var e=500;var s=Date.now();var i=o>=l;function c(l,o,r,t){return r*l/t+o}function n(){l=c(Date.now()-s,l,t,e);if(i&&l>=o||!i&&o>=l){r(o);return}r(l);requestAnimationFrame(n)}n()}var h=l("taro_scroll_view_core",function(){function l(l){var t=this;o(this,l);this.onScroll=r(this,"scroll",3);this.onScrollToUpper=r(this,"scrolltoupper",3);this.onScrollToLower=r(this,"scrolltolower",3);this.scrollX=false;this.scrollY=false;this.upperThreshold=50;this.lowerThreshold=50;this.scrollWithAnimation=false;this.handleScroll=function(l){if(l instanceof CustomEvent)return;var o=t.el,r=o.scrollLeft,e=o.scrollTop,s=o.scrollHeight,i=o.scrollWidth;t._scrollLeft=r;t._scrollTop=e;t.upperAndLower();t.onScroll.emit({scrollLeft:r,scrollTop:e,scrollHeight:s,scrollWidth:i})};this.upperAndLower=c((function(){var l=t.el,o=l.offsetWidth,r=l.offsetHeight,e=l.scrollLeft,s=l.scrollTop,i=l.scrollHeight,c=l.scrollWidth;var n=Number(t.lowerThreshold);var f=Number(t.upperThreshold);if(!isNaN(n)&&(t.scrollY&&r+s+n>=i||t.scrollX&&o+e+n>=c)){t.onScrollToLower.emit({direction:t.scrollX?"right":t.scrollY?"bottom":""})}if(!isNaN(f)&&(t.scrollY&&s<=f||t.scrollX&&e<=f)){t.onScrollToUpper.emit({direction:t.scrollX?"left":t.scrollY?"top":""})}}),200)}l.prototype.watchScrollLeft=function(l){var o=this;var r=Number(l);if(this.scrollX&&!isNaN(r)&&r!==this._scrollLeft){if(this.scrollWithAnimation){f(this._scrollLeft,r,(function(l){return o.el.scrollLeft=l}))}else{this.el.scrollLeft=r}this._scrollLeft=r}};l.prototype.watchScrollTop=function(l){var o=this;var r=Number(l);if(this.scrollY&&!isNaN(r)&&r!==this._scrollTop){if(this.scrollWithAnimation){f(this._scrollTop,r,(function(l){return o.el.scrollTop=l}))}else{this.el.scrollTop=r}this._scrollTop=r}};l.prototype.watchScrollIntoView=function(l){var o;if(typeof l==="string"&&l){(o=document.querySelector("#"+l))===null||o===void 0?void 0:o.scrollIntoView({behavior:"smooth",block:"center",inline:"start"})}};l.prototype.componentDidLoad=function(){var l=this;var o=this,r=o.scrollY,t=o.scrollX,e=o.scrollWithAnimation;var s=Number(this.mpScrollTop);var i=Number(this.mpScrollLeft);if(r&&!isNaN(s)){if(e){f(0,s,(function(o){return l.el.scrollTop=o}))}else{this.el.scrollTop=s}this._scrollTop=s}if(t&&!isNaN(i)){if(e){f(0,i,(function(o){return l.el.scrollLeft=o}))}else{this.el.scrollLeft=i}this._scrollLeft=i}};l.prototype.render=function(){var l=this,o=l.scrollX,r=l.scrollY;var s=i({"taro-scroll-view__scroll-x":o,"taro-scroll-view__scroll-y":r});return t(e,{class:s,onScroll:this.handleScroll},t("slot",null))};Object.defineProperty(l.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(l,"watchers",{get:function(){return{mpScrollLeft:["watchScrollLeft"],mpScrollTop:["watchScrollTop"],mpScrollIntoView:["watchScrollIntoView"]}},enumerable:false,configurable:true});return l}());h.style=n}}}));
@@ -0,0 +1 @@
1
+ import{r,h as e,H as o}from"./p-a4721ae0.js";let a=class{constructor(e){r(this,e)}componentDidLoad(){console.error("H5 暂不支持 LivePlayer 组件!")}render(){return e(o,null)}};export{a as taro_live_player_core}
@@ -0,0 +1 @@
1
+ System.register(["./p-83adb645.system.js"],(function(e,o){"use strict";var t,r;return{setters:[function(e){t=e.p;r=e.b}],execute:function(){var e=function(){var e=o.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return t(r)};e().then((function(e){return r([["p-4339ad63.system",[[4,"taro-checkbox-core",{name:[1],value:[1],color:[1],id:[1025],checked:[4],disabled:[4],nativeProps:[16],isWillLoadCalled:[32]}],[0,"taro-checkbox-group-core",{name:[8]},[[0,"checkboxchange","function"]]]]],["p-78676120.system",[[4,"taro-radio-core",{name:[1],value:[1],id:[1025],checked:[1028],disabled:[4],nativeProps:[16],isWillLoadCalled:[32]}],[0,"taro-radio-group-core",{name:[8]},[[0,"radiochange","function"]]]]],["p-79b16736.system",[[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],swiperWrapper:[32],swiper:[32],isWillLoadCalled:[32],observer:[32],observerFirst:[32],observerLast:[32]}],[0,"taro-swiper-item-core",{itemId:[1,"item-id"]}]]],["p-a9ab6434.system",[[0,"taro-ad-core"]]],["p-f1da4ed7.system",[[0,"taro-ad-custom-core"]]],["p-9b90554b.system",[[0,"taro-audio-core",{src:[1],controls:[4],autoplay:[4],loop:[4],muted:[4],nativeProps:[16]}]]],["p-ca7ad427.system",[[0,"taro-block-core"]]],["p-3b85bb4b.system",[[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:[1,"form-type"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]]],["p-66b1d5f9.system",[[0,"taro-camera-core"]]],["p-372f53d8.system",[[0,"taro-canvas-core",{canvasId:[1,"canvas-id"],nativeProps:[16]}]]],["p-06e3d685.system",[[0,"taro-cover-image-core",{src:[1],nativeProps:[16]}]]],["p-ac398961.system",[[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"]]]]],["p-3b801a38.system",[[0,"taro-custom-wrapper-core"]]],["p-de573939.system",[[0,"taro-editor-core"]]],["p-5c2497a4.system",[[4,"taro-form-core",{slotParent:[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["p-a90bfe9d.system",[[0,"taro-functional-page-navigator-core"]]],["p-fe252a81.system",[[0,"taro-icon-core",{type:[1],size:[8],color:[1]}]]],["p-0ea13d67.system",[[0,"taro-image-core",{src:[1],mode:[1],lazyLoad:[4,"lazy-load"],nativeProps:[16],aspectFillMode:[32]}]]],["p-917830b4.system",[[0,"taro-input-core",{value:[1],type:[1],password:[4],placeholder:[1],disabled:[4],maxlength:[2],autoFocus:[4,"auto-focus"],confirmType:[1,"confirm-type"],name:[1],nativeProps:[16]}]]],["p-178a3adf.system",[[0,"taro-keyboard-accessory-core"]]],["p-a838e0f7.system",[[4,"taro-label-core",{for:[1]}]]],["p-831ebd02.system",[[0,"taro-live-player-core"]]],["p-ec59899b.system",[[0,"taro-live-pusher-core"]]],["p-8f466248.system",[[0,"taro-map-core"]]],["p-12deba0b.system",[[0,"taro-match-media-core"]]],["p-756d56d1.system",[[0,"taro-movable-area-core"]]],["p-c1458fbe.system",[[0,"taro-movable-view-core"]]],["p-2e8a1479.system",[[0,"taro-navigation-bar-core"]]],["p-2887213d.system",[[0,"taro-navigator-core",{hoverClass:[1,"hover-class"],url:[1],openType:[1,"open-type"],isHover:[4,"is-hover"],delta:[2]},[[0,"click","onClick"]]]]],["p-a36bfe97.system",[[0,"taro-official-account-core"]]],["p-36f2c1e1.system",[[0,"taro-open-data-core"]]],["p-29b7c721.system",[[0,"taro-page-container-core"]]],["p-5ff0e954.system",[[0,"taro-page-meta-core"]]],["p-8ba35b31.system",[[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"]]]]],["p-019591c8.system",[[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"]]]]],["p-9130dfca.system",[[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]}]]],["p-a84098b5.system",[[4,"taro-pull-to-refresh",{prefixCls:[1,"prefix-cls"],distanceToRefresh:[2,"distance-to-refresh"],damping:[2],indicator:[16],currSt:[32],dragOnEdge:[32]}]]],["p-2bd2ea9a.system",[[0,"taro-rich-text-core",{nodes:[1]}]]],["p-1e0406ec.system",[[4,"taro-scroll-view-core",{scrollX:[4,"scroll-x"],scrollY:[4,"scroll-y"],upperThreshold:[8,"upper-threshold"],lowerThreshold:[8,"lower-threshold"],mpScrollTop:[8,"scroll-top"],mpScrollLeft:[8,"scroll-left"],mpScrollIntoView:[1,"scroll-into-view"],scrollWithAnimation:[4,"scroll-with-animation"]}]]],["p-0d1e0e91.system",[[0,"taro-share-element-core"]]],["p-8b23a081.system",[[0,"taro-slider-core",{min:[2],max:[2],step:[2],disabled:[4],value:[1026],activeColor:[1,"active-color"],backgroundColor:[1,"background-color"],blockSize:[2,"block-size"],blockColor:[1,"block-color"],showValue:[4,"show-value"],name:[1],val:[32],totalWidth:[32],touching:[32],ogX:[32],touchId:[32],percent:[32],ogPercent:[32],isWillLoadCalled:[32]}]]],["p-9ce624a4.system",[[0,"taro-slot-core"]]],["p-8b30e18c.system",[[0,"taro-switch-core",{type:[1],checked:[4],color:[1],name:[1],disabled:[4],nativeProps:[16],isChecked:[32],isWillLoadCalled:[32]}]]],["p-38d7c2e8.system",[[0,"taro-tabbar",{conf:[16],list:[32],borderStyle:[32],backgroundColor:[32],color:[32],selectedColor:[32],selectedIndex:[32],status:[32]}]]],["p-4793e6ba.system",[[4,"taro-text-core",{selectable:[4]}]]],["p-62608b28.system",[[0,"taro-textarea-core",{value:[1],placeholder:[1],disabled:[4],maxlength:[2],autoFocus:[4,"auto-focus"],autoHeight:[4,"auto-height"],name:[1],nativeProps:[16],line:[32]}]]],["p-75811f84.system",[[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"]]]]],["p-828efe43.system",[[0,"taro-voip-room-core"]]],["p-d56c45bf.system",[[0,"taro-web-view-core",{src:[1]}]]],["p-baa5019a.system",[[4,"taro-picker-core",{mode:[1],disabled:[4],range:[16],rangeKey:[1,"range-key"],value:[8],start:[1],end:[1],fields:[1],name:[1],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],onColumnChange:[16],updateDay:[16],startY:[32],preY:[32],hadMove:[32],touchEnd:[32],isMove:[32]},[[1,"mousedown","onMouseDown"],[1,"mousemove","onMouseMove"],[1,"mouseup","onMouseMoveEnd"],[1,"mouseleave","onMouseMoveEnd"],[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-841a2031.system",[[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],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]}]]]],e)}))}}}));
@@ -0,0 +1 @@
1
+ import{r as o,h as a,H as r}from"./p-a4721ae0.js";let e=class{constructor(a){o(this,a)}componentDidLoad(){console.error("H5 暂不支持 OpenData 组件!")}render(){return a(r,null)}};export{e as taro_open_data_core}
@@ -0,0 +1 @@
1
+ System.register(["./p-83adb645.system.js","@tarojs/taro","./p-61f225ef.system.js"],(function(e){"use strict";var t,r,i,a,s,n;return{setters:[function(e){t=e.r;r=e.c;i=e.h;a=e.H},function(e){s=e.default},function(e){n=e.c}],execute:function(){var o=".navigator-hover{background:#efefef}";var c=e("taro_navigator_core",function(){function e(e){t(this,e);this.onSuccess=r(this,"cuccess",7);this.onFail=r(this,"fail",7);this.onComplete=r(this,"Complete",7);this.openType="navigate";this.isHover=false;this.delta=0}e.prototype.onClick=function(){var e=this,t=e.openType,r=e.onSuccess,i=e.onFail,a=e.onComplete;var n=Promise.resolve();switch(t){case"navigate":n=s.navigateTo({url:this.url});break;case"redirect":n=s.redirectTo({url:this.url});break;case"switchTab":n=s.switchTab({url:this.url});break;case"reLaunch":n=s.reLaunch({url:this.url});break;case"navigateBack":n=s.navigateBack({delta:this.delta});break;case"exit":n=Promise.reject(new Error('navigator:fail 暂不支持"openType: exit"'));break}if(n){n.then((function(e){r.emit(e)})).catch((function(e){i.emit(e)})).finally((function(){a.emit()}))}};e.prototype.render=function(){var e;var t=this,r=t.isHover,s=t.hoverClass;return i(a,{class:n((e={},e[s]=r,e))})};return e}());c.style=o}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-83adb645.system.js"],(function(t){"use strict";var n,e,r;return{setters:[function(t){n=t.r;e=t.h;r=t.H}],execute:function(){var o=t("taro_page_container_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 PageContainer 组件!")};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as a}from"./p-a4721ae0.js";let e=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 MovableArea 组件!")}render(){return r(a,null)}};export{e as taro_movable_area_core}
@@ -1 +1 @@
1
- System.register(["./p-b2d01686.system.js"],(function(r){"use strict";var e,t,n;return{setters:[function(r){e=r.r;t=r.h;n=r.H}],execute:function(){var i=r("taro_rich_text_core",function(){function r(r){var n=this;e(this,r);this.renderNode=function(r){if("type"in r&&r.type==="text"){var e=(r.text||"").replace(/&nbsp;/g," ");return e}else if("name"in r&&r.name){var i=r.name,u=r.attrs,a=r.children;var o={};var f=[];if(u&&typeof u==="object"){var c=function(r){var e=u[r];if(r==="style"&&typeof e==="string"){var t=e.split(";").map((function(r){return r.trim()})).filter((function(r){return r}));var n={};t.forEach((function(r){if(!r)return;var e=/(.+): *(.+)/g.exec(r);if(!e)return;var t=e[1],i=e[2];var u=t.replace(/-([a-z])/g,(function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}return r[1].toUpperCase()}));n[u]=i}));if(Object.keys(n).length){o.style=n}return"continue"}o[r]=e};for(var s in u){c(s)}}if(a&&a.length){f=a.map((function(r){return n.renderNode(r)}))}return t(i,o,f)}return null}}r.prototype.render=function(){var r=this,e=r.nodes,i=r.renderNode;if(Array.isArray(e)){return t(n,null,e.map((function(r){return i(r)})))}else{return t(n,{innerHTML:e})}};return r}())}}}));
1
+ System.register(["./p-83adb645.system.js"],(function(r){"use strict";var e,t,n;return{setters:[function(r){e=r.r;t=r.h;n=r.H}],execute:function(){var i=r("taro_rich_text_core",function(){function r(r){var n=this;e(this,r);this.renderNode=function(r){if("type"in r&&r.type==="text"){var e=(r.text||"").replace(/&nbsp;/g," ");return e}else if("name"in r&&r.name){var i=r.name,a=r.attrs,u=r.children;var o={};var f=[];if(a&&typeof a==="object"){var c=function(r){var e=a[r];if(r==="style"&&typeof e==="string"){var t=e.split(";").map((function(r){return r.trim()})).filter((function(r){return r}));var n={};t.forEach((function(r){if(!r)return;var e=/(.+): *(.+)/g.exec(r);if(!e)return;var t=e[1],i=e[2];var a=t.replace(/-([a-z])/g,(function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}return r[1].toUpperCase()}));n[a]=i}));if(Object.keys(n).length){o.style=n}return"continue"}o[r]=e};for(var s in a){c(s)}}if(u&&u.length){f=u.map((function(r){return n.renderNode(r)}))}return t(i,o,f)}return null}}r.prototype.render=function(){var r=this,e=r.nodes,i=r.renderNode;if(Array.isArray(e)){return t(n,null,e.map((function(r){return i(r)})))}else{return t(n,{innerHTML:e})}};return r}())}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-83adb645.system.js"],(function(t){"use strict";var n,r,e;return{setters:[function(t){n=t.r;r=t.h;e=t.H}],execute:function(){var o=t("taro_navigation_bar_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 NavigationBar 组件!")};t.prototype.render=function(){return r(e,null)};return t}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-b2d01686.system.js"],(function(t){"use strict";var n,e,r;return{setters:[function(t){n=t.r;e=t.h;r=t.H}],execute:function(){var o=t("taro_open_data_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 OpenData 组件!")};t.prototype.render=function(){return e(r,null)};return t}())}}}));
1
+ System.register(["./p-83adb645.system.js"],(function(t){"use strict";var n,e,r;return{setters:[function(t){n=t.r;e=t.h;r=t.H}],execute:function(){var o=t("taro_open_data_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 OpenData 组件!")};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-b2d01686.system.js"],(function(t){"use strict";var n,o,e,i;return{setters:[function(t){n=t.r;o=t.c;e=t.h;i=t.g}],execute:function(){var r="taro-canvas-core{position:relative;display:block;width:300px;height:150px}";var s=500;var c=t("taro_canvas_core",function(){function t(t){var e=this;n(this,t);this.onLongTap=o(this,"longtap",7);this.nativeProps={};this.onTouchStart=function(){e.timer=setTimeout((function(){e.onLongTap.emit()}),s)};this.onTouchMove=function(){clearTimeout(e.timer)};this.onTouchEnd=function(){clearTimeout(e.timer)}}t.prototype.render=function(){var t=this,n=t.canvasId,o=t.nativeProps;return e("canvas",Object.assign({"canvas-id":n,style:{width:"100%",height:"100%"},onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchEnd:this.onTouchEnd},o))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());c.style=r}}}));
1
+ System.register(["./p-83adb645.system.js"],(function(t){"use strict";var n,o,e,i;return{setters:[function(t){n=t.r;o=t.c;e=t.h;i=t.g}],execute:function(){var r="taro-canvas-core{display:block;position:relative;width:300px;height:150px}";var s=500;var c=t("taro_canvas_core",function(){function t(t){var e=this;n(this,t);this.onLongTap=o(this,"longtap",7);this.nativeProps={};this.onTouchStart=function(){e.timer=setTimeout((function(){e.onLongTap.emit()}),s)};this.onTouchMove=function(){clearTimeout(e.timer)};this.onTouchEnd=function(){clearTimeout(e.timer)}}t.prototype.render=function(){var t=this,n=t.canvasId,o=t.nativeProps;return e("canvas",Object.assign({"canvas-id":n,style:{width:"100%",height:"100%"},onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchEnd:this.onTouchEnd},o))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());c.style=r}}}));
@@ -0,0 +1 @@
1
+ var __spreadArray=this&&this.__spreadArray||function(e,t){for(var r=0,a=t.length,o=e.length;r<a;r++,o++)e[o]=t[r];return e};System.register(["./p-83adb645.system.js","@tarojs/taro","./p-61f225ef.system.js"],(function(e){"use strict";var t,r,a,o,n,i,s;return{setters:[function(e){t=e.h;r=e.r;a=e.c;o=e.H;n=e.g},function(e){i=e.default},function(e){s=e.c}],execute:function(){var l=function(e){var t=e||"";var r;var a={path:null,query:null,fragment:null};r=t.indexOf("#");if(r>-1){a.fragment=t.substring(r+1);t=t.substring(0,r)}r=t.indexOf("?");if(r>-1){a.query=t.substring(r+1);t=t.substring(0,r)}a.path=t;return a};function d(e){return e.charAt(0)==="/"}function b(e,t){for(var r=t,a=r+1,o=e.length;a<o;r+=1,a+=1){e[r]=e[a]}e.pop()}function h(e,t){if(t===undefined)t="";var r=e&&e.split("/")||[];var a=t&&t.split("/")||[];var o=e&&d(e);var n=t&&d(t);var i=o||n;if(e&&d(e)){a=r}else if(r.length){a.pop();a=a.concat(r)}if(!a.length)return"/";var s;if(a.length){var l=a[a.length-1];s=l==="."||l===".."||l===""}else{s=false}var h=0;for(var f=a.length;f>=0;f--){var c=a[f];if(c==="."){b(a,f)}else if(c===".."){b(a,f);h++}else if(h){b(a,f);h--}}if(!i)for(;h--;h)a.unshift("..");if(i&&a[0]!==""&&(!a[0]||!d(a[0])))a.unshift("");var u=a.join("/");if(s&&u.substr(-1)!=="/")u+="/";return u}var f=function(e){var r=e.index,a=e.isSelected,o=a===void 0?false:a,n=e.textColor,i=e.iconPath,l=e.badgeText,d=e.showRedDot,b=d===void 0?false:d,h=e.text,f=e.onSelect;var c=s("weui-tabbar__item",{"weui-bar__item_on":o});var u={position:"absolute",top:"-2px",right:"-13px"};var v={position:"absolute",top:"0",right:"-6px"};function g(){f(r)}return t("a",{key:r,href:"javascript:;",class:c,onClick:g},t("span",{style:{display:"inline-block",position:"relative"}},t("img",{src:i,alt:"",class:"weui-tabbar__icon"}),!!l&&t("span",{class:"weui-badge taro-tabbar-badge",style:u},l),b&&t("span",{class:"weui-badge weui-badge_dot",style:v})),t("p",{class:"weui-tabbar__label",style:{color:n}},h))};var c="html,body{height:100%}#app{height:100%}.taro-tabbar__border-white::before{border-top-color:#fff !important}.taro-tabbar__container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-direction:column;flex-direction:column;height:100%}.taro-tabbar__panel{overflow:auto;position:relative;-ms-flex:1;flex:1;-webkit-overflow-scrolling:auto}.taro-tabbar__tabbar{position:relative;width:100%;height:50px;-webkit-transition:bottom 0.2s, top 0.2s;transition:bottom 0.2s, top 0.2s}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{bottom:0;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{top:-52px;-ms-flex:0 0;flex:0 0}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}";var u=function(e){if(e===void 0){e=""}return e[0]==="/"?e:"/"+e};var v=function(e,t){if(e===void 0){e=""}if(t===void 0){t=""}return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)};var g=function(e,t){if(e===void 0){e=""}if(t===void 0){t=""}return v(e,t)?e.substr(t.length):e};var _=function(e,t){if(e===void 0){e=""}if(t===void 0){t=""}return e.includes(t)?e.substring(0,e.length-t.length):e};var p=0;var m=1;var T=2;var B="taro-tabbar__tabbar";var H="taro-tabbar__tabbar-hide";var x="taro-tabbar__tabbar-slideout";var w=e("taro_tabbar",function(){function e(e){var t=this;r(this,e);this.onLongPress=a(this,"longpress",7);this.homePage="";this.customRoutes=[];this.tabbarPos="bottom";this.selectedIndex=-1;this.status=p;this.getOriginUrl=function(e){var r=t.customRoutes.filter((function(t){var r=t[1];var a=l(r).path;var o=l(e).path;return a===o}));return _(r.length?r[0][0]:e,".html")};this.getSelectedIndex=function(e){var r=-1;t.list.forEach((function(t,a){var o=t.pagePath;var n=l(e).path;var i=l(o).path;if(n===i){r=a}}));return r};this.switchTab=function(e){t.selectedIndex=e;i.switchTab({url:t.list[e].pagePath})};this.switchTabHandler=function(e){var r=e.url,a=e.successHandler,o=e.errorHandler;var n=t.getOriginUrl(t.getCurrentUrl()||t.homePage);var i=h(r,n);var s=t.getSelectedIndex(i);if(s>-1){t.switchTab(s);a({errMsg:"switchTab:ok"})}else{o({errMsg:'switchTab:fail page "'+i+'" is not found'})}};this.routerChangeHandler=function(e){var r;var a=(r=e===null||e===void 0?void 0:e.toLocation)===null||r===void 0?void 0:r.path;var o;if(typeof a==="string"){var n=t.conf.basename||"/";o=g(u(a||t.homePage),n)||"/"}else{o=t.getCurrentUrl()}t.selectedIndex=t.getSelectedIndex(t.getOriginUrl(o))};this.setTabBarBadgeHandler=function(e){var r=e.index,a=e.text,o=e.successHandler,n=e.errorHandler;var i=__spreadArray([],t.list);if(r in i){i[r].showRedDot=false;i[r].badgeText=a;o({errMsg:"setTabBarBadge:ok"})}else{n({errMsg:"setTabBarBadge:fail tabbar item not found"})}t.list=i};this.removeTabBarBadgeHandler=function(e){var r=e.index,a=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list);if(r in n){n[r].badgeText=null;n[r].badgeText=null;a({errMsg:"removeTabBarBadge:ok"})}else{o({errMsg:"removeTabBarBadge:fail tabbar item not found"})}t.list=n};this.showTabBarRedDotHandler=function(e){var r=e.index,a=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list);if(r in n){n[r].badgeText=null;n[r].showRedDot=true;a({errMsg:"showTabBarRedDot:ok"})}else{o({errMsg:"showTabBarRedDot:fail tabbar item not found"})}t.list=n};this.hideTabBarRedDotHandler=function(e){var r=e.index,a=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list);if(r in n){n[r].showRedDot=false;a({errMsg:"hideTabBarRedDot:ok"})}else{o({errMsg:"hideTabBarRedDot:fail tabbar item not found"})}t.list=n};this.showTabBarHandler=function(e){var r=e.successHandler;t.status=p;r({errMsg:"showTabBar:ok"})};this.hideTabBarHandler=function(e){var r=e.animation,a=e.successHandler;t.status=r?T:m;a({errMsg:"hideTabBar:ok"})};this.setTabBarStyleHandler=function(e){var r=e.color,a=e.selectedColor,o=e.backgroundColor,n=e.borderStyle,i=e.successHandler;if(o)t.backgroundColor=o;if(n)t.borderStyle=n;if(r)t.color=r;if(a)t.selectedColor=a;i({errMsg:"setTabBarStyle:ok"})};this.setTabBarItemHandler=function(e){var r=e.index,a=e.iconPath,o=e.selectedIconPath,n=e.text,i=e.successHandler,s=e.errorHandler;var l=__spreadArray([],t.list);if(r in l){if(a)l[r].iconPath=a;if(o)l[r].selectedIconPath=o;if(n)l[r].text=n;i({errMsg:"setTabBarItem:ok"})}else{s({errMsg:"setTabBarItem:fail tabbar item not found"})}t.list=l};var o=this.conf.list;var n=this.conf.customRoutes;if(Object.prototype.toString.call(o)!=="[object Array]"||o.length<2||o.length>5){throw new Error("tabBar 配置错误")}this.homePage=u(this.conf.homePage);var s=function(e){var t;var r=n[e];e=u(e);if(typeof r==="string"){d.customRoutes.push([e,u(r)])}else if((r===null||r===void 0?void 0:r.length)>0){(t=d.customRoutes).push.apply(t,r.map((function(t){return[e,u(t)]})))}};var d=this;for(var b in n){s(b)}o.forEach((function(e){if(e.pagePath.indexOf("/")!==0){e.pagePath="/"+e.pagePath}}));this.list=o;this.borderStyle=this.conf.borderStyle;this.backgroundColor=this.conf.backgroundColor;this.color=this.conf.color;this.selectedColor=this.conf.selectedColor}e.prototype.getCurrentUrl=function(){var e=this.conf.mode;var t=this.conf.basename||"/";var r;if(e==="hash"){var a=window.location.href;var o=a.indexOf("#");r=o===-1?"":a.substring(o+1)}else{r=location.pathname}var n=u(g(r,t));return decodeURI(n==="/"?this.homePage:n)};e.prototype.bindEvent=function(){i.eventCenter.on("__taroRouterChange",this.routerChangeHandler);i.eventCenter.on("__taroSwitchTab",this.switchTabHandler);i.eventCenter.on("__taroSetTabBarBadge",this.setTabBarBadgeHandler);i.eventCenter.on("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);i.eventCenter.on("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);i.eventCenter.on("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);i.eventCenter.on("__taroShowTabBar",this.showTabBarHandler);i.eventCenter.on("__taroHideTabBar",this.hideTabBarHandler);i.eventCenter.on("__taroSetTabBarStyle",this.setTabBarStyleHandler);i.eventCenter.on("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.removeEvent=function(){i.eventCenter.off("__taroRouterChange",this.routerChangeHandler);i.eventCenter.off("__taroSwitchTab",this.switchTabHandler);i.eventCenter.off("__taroSetTabBarBadge",this.setTabBarBadgeHandler);i.eventCenter.off("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);i.eventCenter.off("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);i.eventCenter.off("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);i.eventCenter.off("__taroShowTabBar",this.showTabBarHandler);i.eventCenter.off("__taroHideTabBar",this.hideTabBarHandler);i.eventCenter.off("__taroSetTabBarStyle",this.setTabBarStyleHandler);i.eventCenter.off("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.componentDidLoad=function(){this.tabbarPos=this.tabbar.nextElementSibling?"top":"bottom";this.bindEvent();this.routerChangeHandler()};e.prototype.disconnectedCallback=function(){this.removeEvent()};e.prototype.render=function(){var e,r;var a=this;var n=this.tabbarPos,i=n===void 0?"bottom":n;var l=this.status;var d=s("weui-tabbar",(e={},e["taro-tabbar__border-"+(this.borderStyle||"black")]=true,e));var b=this.selectedIndex===-1||l===m;var h=l===T;return t(o,{class:s(B,B+"-"+i,(r={},r[H]=b,r[x]=h,r))},t("div",{class:d,style:{backgroundColor:this.backgroundColor||"",height:"inherit"}},this.list.map((function(e,r){var o=a.selectedIndex===r;var n;var i;if(o){n=a.selectedColor||"";i=e.selectedIconPath}else{n=a.color||"";i=e.iconPath}return t(f,{index:r,onSelect:a.switchTab.bind(a),isSelected:o,textColor:n,iconPath:i,text:e.text,badgeText:e.badgeText,showRedDot:e.showRedDot})}))))};Object.defineProperty(e.prototype,"tabbar",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());w.style=c}}}));
@@ -1 +1 @@
1
- System.register(["./p-b2d01686.system.js"],(function(t){"use strict";var r,e,n;return{setters:[function(t){r=t.r;e=t.h;n=t.H}],execute:function(){var u=t("taro_custom_wrapper_core",function(){function t(t){r(this,t)}t.prototype.render=function(){return e(n,null)};return t}())}}}));
1
+ System.register(["./p-83adb645.system.js"],(function(t){"use strict";var r,e,n;return{setters:[function(t){r=t.r;e=t.h;n=t.H}],execute:function(){var u=t("taro_custom_wrapper_core",function(){function t(t){r(this,t)}t.prototype.render=function(){return e(n,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-83adb645.system.js","./p-61f225ef.system.js"],(function(o){"use strict";var t,r,e,a,i,n;return{setters:[function(o){t=o.r;r=o.c;e=o.h;a=o.H;i=o.g},function(o){n=o.c}],execute:function(){var c='taro-button-core{display:block;overflow:hidden;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;border-width:0;border-radius:5px;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background-color:#f8f8f8;line-height:2.55555556;text-decoration:none;text-align:center;font-size:18px;color:#000;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-button-core:focus{outline:0}taro-button-core:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core::after{position:absolute;left:0;top:0;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid rgba(0, 0, 0, 0.2);border-radius:10px;width:200%;height:200%;content:" ";-webkit-transform:scale(0.5);transform:scale(0.5);-webkit-transform-origin:0 0;transform-origin:0 0}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{background-color:#f8f8f8;color:#000}taro-button-core[type=default]:not([disabled]):visited{color:#000}taro-button-core[type=default]:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core[size=mini]{display:inline-block;padding:0 1.32em;width:auto;line-height:2.3;font-size:13px}taro-button-core[plain],taro-button-core[plain][type=default],taro-button-core[plain][type=primary]{border-width:1px;background-color:transparent}taro-button-core[disabled]{color:rgba(255, 255, 255, 0.6)}taro-button-core[disabled][type=default]{background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}taro-button-core[disabled][type=primary]{background-color:#9ed99d}taro-button-core[disabled][type=warn]{background-color:#ec8b89}taro-button-core[loading] .weui-loading{margin:-0.2em 0.34em 0 0}taro-button-core[loading][type=primary],taro-button-core[loading][type=warn]{color:rgba(255, 255, 255, 0.6)}taro-button-core[loading][type=primary]{background-color:#179b16}taro-button-core[loading][type=warn]{background-color:#ce3c39}taro-button-core[plain][type=primary]{border:1px solid #1aad19;color:#1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{border-color:rgba(26, 173, 25, 0.6);background-color:transparent;color:rgba(26, 173, 25, 0.6)}taro-button-core[plain][type=primary]::after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{border:1px solid #353535;color:#353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{border-color:rgba(53, 53, 53, 0.6);background-color:transparent;color:rgba(53, 53, 53, 0.6)}taro-button-core[plain]::after,taro-button-core[plain][type=default]::after{border-width:0}taro-button-core[type=primary]{background-color:#1aad19;color:#fff}taro-button-core[type=primary]:not([disabled]):visited{color:#fff}taro-button-core[type=primary]:not([disabled]):active{background-color:#179b16;color:rgba(255, 255, 255, 0.6)}taro-button-core[type=warn]{background-color:#e64340;color:#fff}taro-button-core[type=warn]:not([disabled]):visited{color:#fff}taro-button-core[type=warn]:not([disabled]):active{background-color:#ce3c39;color:rgba(255, 255, 255, 0.6)}taro-button-core[plain][disabled]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}taro-button-core[plain][disabled][type=primary]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}';var b=o("taro_button_core",function(){function o(o){t(this,o);this.onSubmit=r(this,"tarobuttonsubmit",7);this.onReset=r(this,"tarobuttonreset",7);this.hoverClass="button-hover";this.type="";this.hoverStartTime=20;this.hoverStayTime=70;this.loading=false;this.formType=null;this.hover=false;this.touch=false}o.prototype.onTouchStart=function(){var o=this;if(this.disabled){return}this.touch=true;if(this.hoverClass&&!this.disabled){setTimeout((function(){if(o.touch){o.hover=true}}),this.hoverStartTime)}};o.prototype.onTouchEnd=function(){var o=this;if(this.disabled){return}this.touch=false;if(this.hoverClass&&!this.disabled){setTimeout((function(){if(!o.touch){o.hover=false}}),this.hoverStayTime)}if(this.formType==="submit"){this.onSubmit.emit()}else if(this.formType==="reset"){this.onReset.emit()}};o.prototype.render=function(){var o;var t=this,r=t.disabled,i=t.hoverClass,c=t.type,b=t.size,l=t.plain,d=t.loading,s=t.hover;var u=n((o={},o[""+i]=s&&!r,o));return e(a,{class:u,type:c,plain:l,loading:d,size:b,disabled:r},d&&e("i",{class:"weui-loading"}),e("slot",null))};Object.defineProperty(o.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return o}());b.style=c}}}));
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as e}from"./p-a4721ae0.js";let s=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 VoipRoom 组件!")}render(){return r(e,null)}};export{s as taro_voip_room_core}
@@ -0,0 +1 @@
1
+ import{r as o,h as c,H as r}from"./p-a4721ae0.js";let a=class{constructor(c){o(this,c)}componentDidLoad(){console.error("H5 暂不支持 OfficialAccount 组件!")}render(){return c(r,null)}};export{a as taro_official_account_core}
@@ -0,0 +1 @@
1
+ System.register(["./p-83adb645.system.js"],(function(e){"use strict";var t,n,o,i,r;return{setters:[function(e){t=e.r;n=e.c;o=e.h;i=e.H;r=e.g}],execute:function(){var a='.taro-checkbox{display:inline-block;position:relative}.taro-checkbox_checked{display:inline-block;position:relative;top:5px;border:1px solid #d1d1d1;border-radius:3px;width:23px;height:23px;min-height:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background-color:#fff;vertical-align:0;font-size:23px;color:#1aad19}.taro-checkbox_checked:checked::before{display:inline-block;position:absolute;left:50%;top:50%;vertical-align:middle;text-decoration:inherit;text-align:center;text-transform:none;font-family:weui;font-style:normal;font-weight:normal;font-variant:normal;font-size:inherit;color:inherit;content:"\\ea08";-webkit-transform:translate(-50%, -48%) scale(0.73);transform:translate(-50%, -48%) scale(0.73);speak:none}';var c=e("taro_checkbox_core",function(){function e(e){var o=this;t(this,e);this.onChange=n(this,"checkboxchange",7);this.value="";this.checked=false;this.disabled=false;this.nativeProps={};this.isWillLoadCalled=false;this.handleChange=function(e){e.stopPropagation();o.onChange.emit({value:o.value})}}e.prototype.watchId=function(e){if(!this.isWillLoadCalled)return;if(e)this.inputEl.setAttribute("id",e)};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true};e.prototype.componentDidRender=function(){this.id&&this.el.removeAttribute("id")};e.prototype.render=function(){var e=this;var t=this,n=t.checked,r=t.name,a=t.color,c=t.value,l=t.disabled,u=t.nativeProps;return o(i,{className:"weui-cells_checkbox"},o("input",Object.assign({ref:function(t){if(!t)return;e.inputEl=t;if(e.id)t.setAttribute("id",e.id)},type:"checkbox",value:c,name:r,class:"taro-checkbox_checked",style:{color:a},checked:n,disabled:l,onChange:this.handleChange},u)),o("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{id:["watchId"]}},enumerable:false,configurable:true});return e}());c.style=a;var l=e("taro_checkbox_group_core",function(){function e(e){t(this,e);this.onChange=n(this,"change",7);this.uniqueName=Date.now().toString(36)}e.prototype.function=function(e){e.stopPropagation();if(e.target.tagName!=="TARO-CHECKBOX-CORE")return;var t=this.el.querySelectorAll("taro-checkbox-core");this.value=this.getValues(t);this.onChange.emit({value:this.value})};e.prototype.componentDidLoad=function(){var e=this;var t=this.el.querySelectorAll("taro-checkbox-core");t.forEach((function(t){t.setAttribute("name",e.name||e.uniqueName)}));Object.defineProperty(this.el,"value",{get:function(){if(!e.value){var t=e.el.querySelectorAll("taro-checkbox-core");e.value=e.getValues(t)}return e.value},configurable:true})};e.prototype.getValues=function(e){return Array.from(e).filter((function(e){var t=e.querySelector("input");return t===null||t===void 0?void 0:t.checked})).map((function(e){return e.value}))};e.prototype.render=function(){return o(i,null)};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return e}())}}}));
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as i,g as a}from"./p-a4721ae0.js";function h(t){return null!=t?t:""}let s=class{constructor(i){t(this,i),this.onInput=e(this,"input",7),this.onFocus=e(this,"focus",7),this.onBlur=e(this,"blur",7),this.onChange=e(this,"change",7),this.onLineChange=e(this,"linechange",7),this.disabled=!1,this.maxlength=140,this.autoFocus=!1,this.autoHeight=!1,this.nativeProps={},this.line=1,this.handleInput=t=>{t.stopPropagation(),this.handleLineChange(),this.onInput.emit({value:t.target.value,cursor:t.target.value.length})},this.handleFocus=t=>{this.onFocus.emit({value:t.target.value})},this.handleBlur=t=>{this.onBlur.emit({value:t.target.value})},this.handleChange=t=>{t.stopPropagation(),this.onChange.emit({value:t.target.value})},this.handleLineChange=()=>{const t=this.getNumberOfLines();t!==this.line&&(this.line=t,this.onLineChange.emit({height:this.textareaRef.clientHeight,lineCount:this.line}))},this.calculateContentHeight=(t,e)=>{let i=t.style.height,a=t.offsetHeight,h=t.scrollHeight,s=t.style.overflow,o=t.style.minHeight||null;if(!(a>=h))return h;if(t.style.minHeight=0,t.style.height=a+e+"px",t.style.overflow="hidden",h<t.scrollHeight){for(;t.offsetHeight>=t.scrollHeight;)t.style.height=(a-=e)+"px";for(;t.offsetHeight<t.scrollHeight;)t.style.height=a+++"px";return t.style.height=i,t.style.overflow=s,t.style.minHeight=o,a}},this.getNumberOfLines=()=>{const t=this.textareaRef,e=window.getComputedStyle?window.getComputedStyle(t):t.style,i=parseInt(e.lineHeight,10),a=this.calculateContentHeight(t,i);return Math.floor(a/i)}}componentDidLoad(){Object.defineProperty(this.el,"value",{get:()=>this.textareaRef.value,set:t=>this.value=t,configurable:!0}),this.autoFocus&&this.textareaRef.focus()}render(){const{value:t,placeholder:e,disabled:a,maxlength:s,autoFocus:o,autoHeight:n,name:r,nativeProps:l,handleInput:u,handleFocus:c,handleBlur:p,handleChange:d}=this,g={};return n&&(g.rows=this.line),i("textarea",Object.assign({ref:t=>{t&&(this.textareaRef=t)},class:"taro-textarea "+(n?"auto-height":""),value:h(t),placeholder:e,name:r,disabled:a,maxlength:s,autofocus:o,onInput:u,onFocus:c,onBlur:p,onChange:d},l,g))}get el(){return a(this)}};s.style="taro-textarea-core{display:block;width:300px}taro-textarea-core .auto-height{height:auto}.taro-textarea{display:block;position:relative;border:0;width:100%;height:150px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:auto;line-height:1.5}.taro-textarea:focus{outline:none}";export{s as taro_textarea_core}
@@ -0,0 +1 @@
1
+ import{r as e,h as r,H as o}from"./p-a4721ae0.js";let t=class{constructor(r){e(this,r)}componentDidLoad(){console.error("H5 暂不支持 ShareElement 组件!")}render(){return r(o,null)}};export{t as taro_share_element_core}
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as a}from"./p-a4721ae0.js";let e=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 Map 组件!")}render(){return r(a,null)}};export{e as taro_map_core}
@@ -0,0 +1 @@
1
+ System.register(["./p-83adb645.system.js","./p-61f225ef.system.js"],(function(e){"use strict";var t,s,r,n;return{setters:[function(e){t=e.r;s=e.h;r=e.H},function(e){n=e.c}],execute:function(){var c="taro-text-core{display:inline;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:pre-wrap}.taro-text__selectable{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}";var l=e("taro_text_core",function(){function e(e){t(this,e);this.selectable=false}e.prototype.render=function(){var e=n({"taro-text__selectable":this.selectable});return s(r,{class:e},s("slot",null))};return e}());l.style=c}}}));
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,H as h}from"./p-f05e1558.js";import{c as o}from"./p-37cfdd8f.js";let e=class{constructor(i){t(this,i),this.onLongPress=s(this,"longpress",7),this.hoverStartTime=50,this.hoverStayTime=400,this.hover=!1,this.touch=!1,this.startTime=0}onTouchStart(){this.hoverClass&&(this.touch=!0,setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime)),this.timeoutEvent=setTimeout((()=>{this.onLongPress.emit()}),350),this.startTime=Date.now()}onTouchMove(){clearTimeout(this.timeoutEvent)}onTouchEnd(){Date.now()-this.startTime<350&&clearTimeout(this.timeoutEvent),this.hoverClass&&(this.touch=!1,setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime))}render(){const t=o({[`${this.hoverClass}`]:this.hover});let s={};return this.animation&&(s.animation=this.animation,s["data-animation"]=this.animation),i(h,Object.assign({class:t},s),i("slot",null))}};e.style="taro-cover-view-core{display:block}";export{e as taro_cover_view_core}
1
+ import{r as t,c as s,h as i,H as h}from"./p-a4721ae0.js";import{c as e}from"./p-76724e58.js";let o=class{constructor(i){t(this,i),this.onLongPress=s(this,"longpress",7),this.hoverStartTime=50,this.hoverStayTime=400,this.hover=!1,this.touch=!1,this.startTime=0}onTouchStart(){this.hoverClass&&(this.touch=!0,setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime)),this.timeoutEvent=setTimeout((()=>{this.onLongPress.emit()}),350),this.startTime=Date.now()}onTouchMove(){clearTimeout(this.timeoutEvent)}onTouchEnd(){Date.now()-this.startTime<350&&clearTimeout(this.timeoutEvent),this.hoverClass&&(this.touch=!1,setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime))}render(){const t=e({[`${this.hoverClass}`]:this.hover});let s={};return this.animation&&(s.animation=this.animation,s["data-animation"]=this.animation),i(h,Object.assign({class:t},s),i("slot",null))}};o.style="taro-cover-view-core{display:block}";export{o as taro_cover_view_core}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as e,H as i,g as h}from"./p-a4721ae0.js";import{c as o}from"./p-76724e58.js";let r=class{constructor(e){t(this,e),this.onLongPress=s(this,"longpress",7),this.hoverStartTime=50,this.hoverStayTime=400,this.hover=!1,this.touch=!1,this.startTime=0}onTouchStart(){this.hoverClass&&(this.touch=!0,setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime)),this.timeoutEvent=setTimeout((()=>{this.onLongPress.emit()}),350),this.startTime=Date.now()}onTouchMove(){clearTimeout(this.timeoutEvent)}onTouchEnd(){Date.now()-this.startTime<350&&clearTimeout(this.timeoutEvent),this.hoverClass&&(this.touch=!1,setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime))}componentDidRender(){this.el.childNodes.forEach((t=>{t.nodeType===document.COMMENT_NODE&&t["s-cn"]&&(t["s-cn"]=!1)}))}render(){const t=o({[`${this.hoverClass}`]:this.hover});let s={};return this.animation&&(s.animation=this.animation,s["data-animation"]=this.animation),e(i,Object.assign({class:t},s),e("slot",null))}get el(){return h(this)}};r.style="body,html{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-view-core{display:block}";export{r as taro_view_core}
@@ -0,0 +1 @@
1
+ function t(t,e=250,n){let i,o=0;return function(...u){const c=n||this,s=Date.now();s-o>e?(t.apply(this,u),o=s):(clearTimeout(i),i=setTimeout((()=>{o=s,t.apply(c,u)}),e))}}function e(t,e=250,n){let i;return function(...o){const u=n||this;clearTimeout(i),i=setTimeout((function(){t.apply(u,o)}),e)}}export{e as d,t}
@@ -1 +1 @@
1
- System.register(["./p-b2d01686.system.js"],(function(e){"use strict";var t,r,n,i;return{setters:[function(e){t=e.r;r=e.c;n=e.h;i=e.g}],execute:function(){var o=e("taro_form_core",function(){function e(e){t(this,e);this.onSubmit=r(this,"submit",7);this.value={}}e.prototype.watchSlotParent=function(e){if(!this.orginalAppendChild){this.orginalAppendChild=this.el.appendChild;this.orginalInsertBefore=this.el.insertBefore;this.orginalReplaceChild=this.el.replaceChild;this.orginalRemoveChild=this.el.removeChild}if(!e){this.el.appendChild=this.orginalAppendChild;this.el.insertBefore=this.orginalInsertBefore;this.el.replaceChild=this.orginalReplaceChild;this.el.removeChild=this.orginalRemoveChild;return}this.el.appendChild=function(t){return e.appendChild(t)};this.el.insertBefore=function(t,r){return e.insertBefore(t,r)};this.el.replaceChild=function(t,r){return e.replaceChild(t,r)};this.el.removeChild=function(t){return e.removeChild(t)}};e.prototype.onButtonSubmit=function(e){e.stopPropagation();this.value=this.getFormValue();this.onSubmit.emit({value:this.value})};e.prototype.onButtonReset=function(e){e.stopPropagation();this.form.reset()};e.prototype.componentDidLoad=function(){var e=this;this.value=this.getFormValue();Object.defineProperty(this.el,"value",{get:function(){return e.value},configurable:true})};e.prototype.componentDidRender=function(){this.setSlotParent(this.form)};e.prototype.getFormValue=function(){var e=this.el;var t=[];var r=e.getElementsByTagName("input");for(var n=0;n<r.length;n++){t.push(r[n])}var i={};var o={};t.forEach((function(e){if(e.className.indexOf("weui-switch")!==-1){i[e.name]=e.checked;return}if(e.type==="radio"){if(e.checked){o[e.name]=true;i[e.name]=e.value}else{if(!o[e.name]){i[e.name]=""}}return}if(e.type==="checkbox"){if(e.checked){if(o[e.name]){i[e.name].push(e.value)}else{o[e.name]=true;i[e.name]=[e.value]}}else{if(!o[e.name]){i[e.name]=[]}}return}i[e.name]=e.value}));var a=e.getElementsByTagName("textarea");var l=[];for(var s=0;s<a.length;s++){l.push(a[s])}l.forEach((function(e){i[e.name]=e.value}));return i};e.prototype.setSlotParent=function(e){this.slotParent=e};e.prototype.render=function(){var e=this;return n("form",{ref:function(t){if(t){e.form=t}}},n("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{slotParent:["watchSlotParent"]}},enumerable:false,configurable:true});return e}())}}}));
1
+ System.register(["./p-83adb645.system.js"],(function(e){"use strict";var t,r,n,i;return{setters:[function(e){t=e.r;r=e.c;n=e.h;i=e.g}],execute:function(){var o=e("taro_form_core",function(){function e(e){t(this,e);this.onSubmit=r(this,"submit",7);this.value={}}e.prototype.watchSlotParent=function(e){if(!this.orginalAppendChild){this.orginalAppendChild=this.el.appendChild;this.orginalInsertBefore=this.el.insertBefore;this.orginalReplaceChild=this.el.replaceChild;this.orginalRemoveChild=this.el.removeChild}if(!e){this.el.appendChild=this.orginalAppendChild;this.el.insertBefore=this.orginalInsertBefore;this.el.replaceChild=this.orginalReplaceChild;this.el.removeChild=this.orginalRemoveChild;return}this.el.appendChild=function(t){return e.appendChild(t)};this.el.insertBefore=function(t,r){return e.insertBefore(t,r)};this.el.replaceChild=function(t,r){return e.replaceChild(t,r)};this.el.removeChild=function(t){return e.removeChild(t)}};e.prototype.onButtonSubmit=function(e){e.stopPropagation();this.value=this.getFormValue();this.onSubmit.emit({value:this.value})};e.prototype.onButtonReset=function(e){e.stopPropagation();this.form.reset()};e.prototype.componentDidLoad=function(){var e=this;this.value=this.getFormValue();Object.defineProperty(this.el,"value",{get:function(){return e.value},configurable:true})};e.prototype.componentDidRender=function(){this.setSlotParent(this.form)};e.prototype.getFormValue=function(){var e=this.el;var t=[];var r=e.getElementsByTagName("input");for(var n=0;n<r.length;n++){t.push(r[n])}var i={};var o={};t.forEach((function(e){if(e.className.indexOf("weui-switch")!==-1){i[e.name]=e.checked;return}if(e.type==="radio"){if(e.checked){o[e.name]=true;i[e.name]=e.value}else{if(!o[e.name]){i[e.name]=""}}return}if(e.type==="checkbox"){if(e.checked){if(o[e.name]){i[e.name].push(e.value)}else{o[e.name]=true;i[e.name]=[e.value]}}else{if(!o[e.name]){i[e.name]=[]}}return}i[e.name]=e.value}));var a=e.getElementsByTagName("textarea");var l=[];for(var s=0;s<a.length;s++){l.push(a[s])}l.forEach((function(e){i[e.name]=e.value}));return i};e.prototype.setSlotParent=function(e){this.slotParent=e};e.prototype.render=function(){var e=this;return n("form",{ref:function(t){if(t){e.form=t}}},n("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{slotParent:["watchSlotParent"]}},enumerable:false,configurable:true});return e}())}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-83adb645.system.js"],(function(t){"use strict";var e,n,r;return{setters:[function(t){e=t.r;n=t.h;r=t.H}],execute:function(){var o=t("taro_page_meta_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 PageMeta 组件!")};t.prototype.render=function(){return n(r,null)};return t}())}}}));
@@ -0,0 +1,7 @@
1
+ System.register([],(function(e){"use strict";return{execute:function(){e({a:n,g:t});var r=e("b",typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{});function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e}function n(e,r,t){return t={path:r,exports:{},require:function(e,r){return o()}},e(t,t.exports),t.exports}function o(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var i=e("c",n((function(e){
2
+ /*!
3
+ Copyright (c) 2018 Jed Watson.
4
+ Licensed under the MIT License (MIT), see
5
+ http://jedwatson.github.io/classnames
6
+ */
7
+ (function(){var r={}.hasOwnProperty;function t(){var e=[];for(var n=0;n<arguments.length;n++){var o=arguments[n];if(!o)continue;var i=typeof o;if(i==="string"||i==="number"){e.push(o)}else if(Array.isArray(o)){if(o.length){var u=t.apply(null,o);if(u){e.push(u)}}}else if(i==="object"){if(o.toString===Object.prototype.toString){for(var f in o){if(r.call(o,f)&&o[f]){e.push(f)}}}else{e.push(o.toString())}}}return e.join(" ")}if(e.exports){t.default=t;e.exports=t}else{window.classNames=t}})()})))}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-83adb645.system.js"],(function(e){"use strict";var t,n,i,a;return{setters:[function(e){t=e.r;n=e.c;i=e.h;a=e.g}],execute:function(){var o="taro-textarea-core{display:block;width:300px}taro-textarea-core .auto-height{height:auto}.taro-textarea{display:block;position:relative;border:0;width:100%;height:150px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:auto;line-height:1.5}.taro-textarea:focus{outline:none}";function r(e){return e!==null&&e!==void 0?e:""}var h=e("taro_textarea_core",function(){function e(e){var i=this;t(this,e);this.onInput=n(this,"input",7);this.onFocus=n(this,"focus",7);this.onBlur=n(this,"blur",7);this.onChange=n(this,"change",7);this.onLineChange=n(this,"linechange",7);this.disabled=false;this.maxlength=140;this.autoFocus=false;this.autoHeight=false;this.nativeProps={};this.line=1;this.handleInput=function(e){e.stopPropagation();i.handleLineChange();i.onInput.emit({value:e.target.value,cursor:e.target.value.length})};this.handleFocus=function(e){i.onFocus.emit({value:e.target.value})};this.handleBlur=function(e){i.onBlur.emit({value:e.target.value})};this.handleChange=function(e){e.stopPropagation();i.onChange.emit({value:e.target.value})};this.handleLineChange=function(){var e=i.getNumberOfLines();if(e!==i.line){i.line=e;i.onLineChange.emit({height:i.textareaRef.clientHeight,lineCount:i.line})}};this.calculateContentHeight=function(e,t){var n=e.style.height,i=e.offsetHeight,a=e.scrollHeight,o=e.style.overflow,r=e.style.minHeight||null;if(i>=a){e.style.minHeight=0;e.style.height=i+t+"px";e.style.overflow="hidden";if(a<e.scrollHeight){while(e.offsetHeight>=e.scrollHeight){e.style.height=(i-=t)+"px"}while(e.offsetHeight<e.scrollHeight){e.style.height=i+++"px"}e.style.height=n;e.style.overflow=o;e.style.minHeight=r;return i}}else{return a}};this.getNumberOfLines=function(){var e=i.textareaRef,t=window.getComputedStyle?window.getComputedStyle(e):e.style,n=parseInt(t.lineHeight,10),a=i.calculateContentHeight(e,n),o=Math.floor(a/n);return o}}e.prototype.componentDidLoad=function(){var e=this;Object.defineProperty(this.el,"value",{get:function(){return e.textareaRef.value},set:function(t){return e.value=t},configurable:true});this.autoFocus&&this.textareaRef.focus()};e.prototype.render=function(){var e=this;var t=this,n=t.value,a=t.placeholder,o=t.disabled,h=t.maxlength,l=t.autoFocus,s=t.autoHeight,u=t.name,c=t.nativeProps,g=t.handleInput,f=t.handleFocus,p=t.handleBlur,d=t.handleChange;var v={};if(s){v.rows=this.line}return i("textarea",Object.assign({ref:function(t){if(t){e.textareaRef=t}},class:"taro-textarea "+(s?"auto-height":""),value:r(n),placeholder:a,name:u,disabled:o,maxlength:h,autofocus:l,onInput:g,onFocus:f,onBlur:p,onChange:d},c,v))};Object.defineProperty(e.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());h.style=o}}}));
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as e}from"./p-a4721ae0.js";let s=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 KeyboardAccessory 组件!")}render(){return r(e,null)}};export{s as taro_keyboard_accessory_core}
@@ -0,0 +1 @@
1
+ System.register([],(function(t){"use strict";return{execute:function(){t({d:r,t:e});function e(t,e,r){if(e===void 0){e=250}var i=0;var n;return function(){var o=[];for(var u=0;u<arguments.length;u++){o[u]=arguments[u]}var a=r||this;var f=Date.now();if(f-i>e){t.apply(this,o);i=f}else{clearTimeout(n);n=setTimeout((function(){i=f;t.apply(a,o)}),e)}}}function r(t,e,r){if(e===void 0){e=250}var i;return function(){var n=[];for(var o=0;o<arguments.length;o++){n[o]=arguments[o]}var u=r||this;clearTimeout(i);i=setTimeout((function(){t.apply(u,n)}),e)}}}}}));
@@ -1 +1 @@
1
- System.register(["./p-b2d01686.system.js"],(function(t){"use strict";var r,e,n;return{setters:[function(t){r=t.r;e=t.h;n=t.H}],execute:function(){var o=t("taro_camera_core",function(){function t(t){r(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 Camera 组件!")};t.prototype.render=function(){return e(n,null)};return t}())}}}));
1
+ System.register(["./p-83adb645.system.js"],(function(t){"use strict";var r,e,n;return{setters:[function(t){r=t.r;e=t.h;n=t.H}],execute:function(){var o=t("taro_camera_core",function(){function t(t){r(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 Camera 组件!")};t.prototype.render=function(){return e(n,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ import{r,h as s,H as t}from"./p-a4721ae0.js";let a=class{constructor(s){r(this,s)}render(){return s(t,null)}};export{a as taro_custom_wrapper_core}
@@ -0,0 +1 @@
1
+ import{r,h as a,H as o}from"./p-a4721ae0.js";let e=class{constructor(a){r(this,a)}componentDidLoad(){console.error("H5 暂不支持 Camera 组件!")}render(){return a(o,null)}};export{e as taro_camera_core}
@@ -0,0 +1 @@
1
+ import{r as a,h as o,H as r}from"./p-a4721ae0.js";let t=class{constructor(o){a(this,o)}componentDidLoad(){console.error("H5 暂不支持 FunctionalPageNavigator 组件!")}render(){return o(r,null)}};export{t as taro_functional_page_navigator_core}
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as t}from"./p-a4721ae0.js";let s=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 Slot 组件!")}render(){return r(t,null)}};export{s as taro_slot_core}
@@ -1 +1 @@
1
- System.register(["./p-b2d01686.system.js"],(function(e){"use strict";var t,r,n;return{setters:[function(e){t=e.r;r=e.h;n=e.H}],execute:function(){var o=e("taro_movable_area_core",function(){function e(e){t(this,e)}e.prototype.componentDidLoad=function(){console.error("H5 暂不支持 MovableArea 组件!")};e.prototype.render=function(){return r(n,null)};return e}())}}}));
1
+ System.register(["./p-83adb645.system.js"],(function(e){"use strict";var t,r,n;return{setters:[function(e){t=e.r;r=e.h;n=e.H}],execute:function(){var o=e("taro_movable_area_core",function(){function e(e){t(this,e)}e.prototype.componentDidLoad=function(){console.error("H5 暂不支持 MovableArea 组件!")};e.prototype.render=function(){return r(n,null)};return e}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-b2d01686.system.js","./p-94c20f60.system.js"],(function(t){"use strict";var e,o,i,s,n,r;return{setters:[function(t){e=t.r;o=t.c;i=t.h;s=t.H;n=t.g},function(t){r=t.c}],execute:function(){var h="body,html{-webkit-tap-highlight-color:rgba(0, 0, 0, 0);user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}taro-view-core{display:block}";var a=t("taro_view_core",function(){function t(t){e(this,t);this.onLongPress=o(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(e){if(e.nodeType===document.COMMENT_NODE)t.removeChild(e)}))};t.prototype.render=function(){var t;var e=r((t={},t[""+this.hoverClass]=this.hover,t));var o={};if(!!this.animation){o["animation"]=this.animation;o["data-animation"]=this.animation}return i(s,Object.assign({class:e},o),i("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());a.style=h}}}));
1
+ System.register(["./p-83adb645.system.js","./p-61f225ef.system.js"],(function(t){"use strict";var e,o,i,s,n,r;return{setters:[function(t){e=t.r;o=t.c;i=t.h;s=t.H;n=t.g},function(t){r=t.c}],execute:function(){var a="body,html{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-view-core{display:block}";var h=t("taro_view_core",function(){function t(t){e(this,t);this.onLongPress=o(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=r((t={},t[""+this.hoverClass]=this.hover,t));var o={};if(!!this.animation){o["animation"]=this.animation;o["data-animation"]=this.animation}return i(s,Object.assign({class:e},o),i("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());h.style=a}}}));
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s,g as h}from"./p-a4721ae0.js";function e(t,i,s){if("search"===i&&(t="search"),s&&(t="password"),void 0===t)return"text";if(!t)throw new Error("unexpected type");return"digit"===t&&(t="number"),t}function o(t){return null!=t?t:""}let n=class{constructor(s){t(this,s),this.onInput=i(this,"input",7),this.onPaste=i(this,"paste",7),this.onFocus=i(this,"focus",7),this.onBlur=i(this,"blur",7),this.onConfirm=i(this,"confirm",7),this.onChange=i(this,"change",7),this.onKeyDown=i(this,"keydown",7),this.isOnComposition=!1,this.isOnPaste=!1,this.onInputExcuted=!1,this.password=!1,this.disabled=!1,this.maxlength=140,this.autoFocus=!1,this.confirmType="done",this.nativeProps={},this.handleInput=t=>{t.stopPropagation();const{type:i,maxlength:s,confirmType:h,password:o}=this;if(!this.isOnComposition&&!this.onInputExcuted){let n=t.target.value;const a=e(i,h,o);this.onInputExcuted=!0,"number"===a&&n&&s<=n.length&&(n=n.substring(0,s),t.target.value=n),this.value=n,this.onInput.emit({value:n,cursor:n.length})}},this.handlePaste=t=>{this.isOnPaste=!0,this.onPaste.emit({value:t.target.value})},this.handleFocus=t=>{this.onInputExcuted=!1,this.onFocus.emit({value:t.target.value})},this.handleBlur=t=>{this.onBlur.emit({value:t.target.value})},this.handleChange=t=>{t.stopPropagation(),this.onChange.emit({value:t.target.value}),this.isOnPaste&&(this.isOnPaste=!1,this.value=t.target.value,this.onInput.emit({value:t.target.value,cursor:t.target.value.length}))},this.handleKeyDown=t=>{const{value:i}=t.target,s=t.keyCode||t.code;this.onInputExcuted=!1,t.stopPropagation(),this.onKeyDown.emit({value:i,cursor:i.length,keyCode:s}),13===s&&this.onConfirm.emit({value:i})},this.handleComposition=t=>{t.target instanceof HTMLInputElement&&("compositionend"===t.type?(this.isOnComposition=!1,this.value=t.target.value,this.onInput.emit({value:t.target.value,cursor:t.target.value.length})):this.isOnComposition=!0)}}watchFocus(t,i){var s;!i&&t&&(null===(s=this.inputRef)||void 0===s||s.focus())}componentDidLoad(){var t,i,s;"file"===this.type?(this.fileListener=()=>{this.onInput.emit()},null===(t=this.inputRef)||void 0===t||t.addEventListener("change",this.fileListener)):(null===(i=this.inputRef)||void 0===i||i.addEventListener("compositionstart",this.handleComposition),null===(s=this.inputRef)||void 0===s||s.addEventListener("compositionend",this.handleComposition)),Object.defineProperty(this.el,"value",{get:()=>{var t;return null===(t=this.inputRef)||void 0===t?void 0:t.value},set:t=>this.value=t,configurable:!0})}disconnectedCallback(){var t;"file"===this.type&&(null===(t=this.inputRef)||void 0===t||t.removeEventListener("change",this.fileListener))}render(){const{value:t,type:i,password:h,placeholder:n,autoFocus:a,disabled:r,maxlength:u,confirmType:l,name:c,nativeProps:p}=this;return s("input",Object.assign({ref:t=>{this.inputRef=t},class:"weui-input",value:o(t),type:e(i,l,h),placeholder:n,autoFocus:a,disabled:r,maxlength:u,name:c,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onChange:this.handleChange,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,onCompositionStart:this.handleComposition,onCompositionEnd:this.handleComposition},p))}get el(){return h(this)}static get watchers(){return{autoFocus:["watchFocus"]}}};n.style="taro-input-core{display:block}input{display:block;overflow:hidden;height:1.4rem;text-overflow:clip;text-align:inherit;white-space:nowrap}";export{n as taro_input_core}
@@ -0,0 +1,7 @@
1
+ var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function r(e,n,r){return e(r={path:n,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},r.exports),r.exports}var o=r((function(e){
2
+ /*!
3
+ Copyright (c) 2018 Jed Watson.
4
+ Licensed under the MIT License (MIT), see
5
+ http://jedwatson.github.io/classnames
6
+ */
7
+ !function(){var n={}.hasOwnProperty;function r(){for(var e=[],o=0;o<arguments.length;o++){var i=arguments[o];if(i){var t=typeof i;if("string"===t||"number"===t)e.push(i);else if(Array.isArray(i)){if(i.length){var f=r.apply(null,i);f&&e.push(f)}}else if("object"===t)if(i.toString===Object.prototype.toString)for(var u in i)n.call(i,u)&&i[u]&&e.push(u);else e.push(i.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r}()}));export{r as a,e as b,o as c,n as g}
@@ -1 +1 @@
1
- System.register(["./p-b2d01686.system.js"],(function(e){"use strict";var t,i,r,n,o;return{setters:[function(e){t=e.r;i=e.c;r=e.h;n=e.H;o=e.g}],execute:function(){var a=e("taro_radio_core",function(){function e(e){var r=this;t(this,e);this.onChange=i(this,"radiochange",7);this.value="";this.checked=false;this.disabled=false;this.nativeProps={};this.isWillLoadCalled=false;this.handleClick=function(){if(r.disabled)return;if(!r.checked)r.checked=true}}e.prototype.watchChecked=function(e){if(!this.isWillLoadCalled)return;e&&this.onChange.emit({value:this.value})};e.prototype.watchId=function(e){if(!this.isWillLoadCalled)return;if(e)this.inputEl.setAttribute("id",e)};e.prototype.componentDidRender=function(){this.id&&this.el.removeAttribute("id")};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true};e.prototype.render=function(){var e=this;var t=this,i=t.checked,o=t.name,a=t.value,u=t.disabled,c=t.nativeProps;return r(n,{className:"weui-cells_checkbox",onClick:this.handleClick},r("input",Object.assign({ref:function(t){if(!t)return;e.inputEl=t;if(e.id)t.setAttribute("id",e.id)},type:"radio",name:o,value:a,class:"weui-check",checked:i,disabled:u,onChange:function(e){return e.stopPropagation()}},c)),r("i",{class:"weui-icon-checked"}),r("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["watchChecked"],id:["watchId"]}},enumerable:false,configurable:true});return e}());var u=e("taro_radio_group_core",function(){function e(e){t(this,e);this.onChange=i(this,"change",7);this.uniqueName=Date.now().toString(36)}e.prototype.function=function(e){e.stopPropagation();if(e.target.tagName!=="TARO-RADIO-CORE")return;var t=e.target;if(t.checked){var i=this.el.querySelectorAll("taro-radio-core");i.forEach((function(e){if(e!==t){e.checked=false}}));this.value=e.detail.value;this.onChange.emit({value:this.value})}};e.prototype.componentDidLoad=function(){var e=this;var t=this.el.querySelectorAll("taro-radio-core");t.forEach((function(t){t.setAttribute("name",e.name||e.uniqueName)}));Object.defineProperty(this.el,"value",{get:function(){if(!e.value){var t=e.el.querySelectorAll("taro-radio-core");e.value=e.getValues(t)}return e.value},configurable:true})};e.prototype.getValues=function(e){var t="";Array.from(e).forEach((function(e){var i=e.querySelector("input");if(i===null||i===void 0?void 0:i.checked){t=i.value||""}}));return t};e.prototype.render=function(){return r(n,{class:"weui-cells_radiogroup"})};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}())}}}));
1
+ System.register(["./p-83adb645.system.js"],(function(e){"use strict";var t,i,r,n,o;return{setters:[function(e){t=e.r;i=e.c;r=e.h;n=e.H;o=e.g}],execute:function(){var a=e("taro_radio_core",function(){function e(e){var r=this;t(this,e);this.onChange=i(this,"radiochange",7);this.value="";this.checked=false;this.disabled=false;this.nativeProps={};this.isWillLoadCalled=false;this.handleClick=function(){if(r.disabled)return;if(!r.checked)r.checked=true}}e.prototype.watchChecked=function(e){if(!this.isWillLoadCalled)return;e&&this.onChange.emit({value:this.value})};e.prototype.watchId=function(e){if(!this.isWillLoadCalled)return;if(e)this.inputEl.setAttribute("id",e)};e.prototype.componentDidRender=function(){this.id&&this.el.removeAttribute("id")};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true};e.prototype.render=function(){var e=this;var t=this,i=t.checked,o=t.name,a=t.value,u=t.disabled,c=t.nativeProps;return r(n,{className:"weui-cells_checkbox",onClick:this.handleClick},r("input",Object.assign({ref:function(t){if(!t)return;e.inputEl=t;if(e.id)t.setAttribute("id",e.id)},type:"radio",name:o,value:a,class:"weui-check",checked:i,disabled:u,onChange:function(e){return e.stopPropagation()}},c)),r("i",{class:"weui-icon-checked"}),r("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["watchChecked"],id:["watchId"]}},enumerable:false,configurable:true});return e}());var u=e("taro_radio_group_core",function(){function e(e){t(this,e);this.onChange=i(this,"change",7);this.uniqueName=Date.now().toString(36)}e.prototype.function=function(e){e.stopPropagation();if(e.target.tagName!=="TARO-RADIO-CORE")return;var t=e.target;if(t.checked){var i=this.el.querySelectorAll("taro-radio-core");i.forEach((function(e){if(e!==t){e.checked=false}}));this.value=e.detail.value;this.onChange.emit({value:this.value})}};e.prototype.componentDidLoad=function(){var e=this;var t=this.el.querySelectorAll("taro-radio-core");t.forEach((function(t){t.setAttribute("name",e.name||e.uniqueName)}));Object.defineProperty(this.el,"value",{get:function(){if(!e.value){var t=e.el.querySelectorAll("taro-radio-core");e.value=e.getValues(t)}return e.value},configurable:true})};e.prototype.getValues=function(e){var t="";Array.from(e).forEach((function(e){var i=e.querySelector("input");if(i===null||i===void 0?void 0:i.checked){t=i.value||""}}));return t};e.prototype.render=function(){return r(n,{class:"weui-cells_radiogroup"})};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}())}}}));