@tarojs/components 3.3.12 → 3.4.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (270) hide show
  1. package/dist/cjs/{index-cf56824f.js → index-b9715722.js} +1 -1
  2. package/dist/cjs/{index-eefce54e.js → index-dd4b7ba3.js} +156 -101
  3. package/dist/cjs/loader.cjs.js +3 -3
  4. package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
  5. package/dist/cjs/taro-block-core.cjs.entry.js +2 -2
  6. package/dist/cjs/taro-button-core.cjs.entry.js +3 -3
  7. package/dist/cjs/taro-camera-core.cjs.entry.js +2 -2
  8. package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
  9. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +6 -5
  10. package/dist/cjs/taro-components.cjs.js +5 -5
  11. package/dist/cjs/taro-cover-image-core.cjs.entry.js +19 -5
  12. package/dist/cjs/taro-cover-view-core.cjs.entry.js +51 -5
  13. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +2 -2
  14. package/dist/cjs/taro-form-core.cjs.entry.js +2 -2
  15. package/dist/cjs/taro-icon-core.cjs.entry.js +3 -3
  16. package/dist/cjs/taro-image-core.cjs.entry.js +3 -3
  17. package/dist/cjs/taro-input-core.cjs.entry.js +21 -13
  18. package/dist/cjs/taro-label-core.cjs.entry.js +2 -2
  19. package/dist/cjs/taro-movable-area-core.cjs.entry.js +2 -2
  20. package/dist/cjs/taro-movable-view-core.cjs.entry.js +2 -2
  21. package/dist/cjs/taro-navigator-core.cjs.entry.js +3 -3
  22. package/dist/cjs/taro-open-data-core.cjs.entry.js +2 -2
  23. package/dist/cjs/taro-picker-core_2.cjs.entry.js +4 -4
  24. package/dist/cjs/taro-picker-view-column-core.cjs.entry.js +2 -2
  25. package/dist/cjs/taro-picker-view-core.cjs.entry.js +2 -2
  26. package/dist/cjs/taro-progress-core.cjs.entry.js +2 -2
  27. package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +3 -3
  28. package/dist/cjs/taro-radio-core_2.cjs.entry.js +3 -3
  29. package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
  30. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +3 -3
  31. package/dist/cjs/taro-slider-core.cjs.entry.js +2 -2
  32. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +112 -106
  33. package/dist/cjs/taro-switch-core.cjs.entry.js +2 -2
  34. package/dist/cjs/taro-tabbar.cjs.entry.js +69 -23
  35. package/dist/cjs/taro-text-core.cjs.entry.js +3 -3
  36. package/dist/cjs/taro-textarea-core.cjs.entry.js +65 -5
  37. package/dist/cjs/taro-video-control_3.cjs.entry.js +186 -103
  38. package/dist/cjs/taro-view-core.cjs.entry.js +11 -3
  39. package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
  40. package/dist/collection/collection-manifest.json +3 -3
  41. package/dist/collection/components/checkbox/checkbox.js +21 -2
  42. package/dist/collection/components/cover-image/cover-image.js +94 -0
  43. package/dist/collection/components/cover-image/style/index.css +5 -0
  44. package/dist/collection/components/cover-view/cover-view.js +166 -4
  45. package/dist/collection/components/cover-view/style/cover-view.css +3 -0
  46. package/dist/collection/components/input/input.js +19 -11
  47. package/dist/collection/components/swiper/swiper.js +7 -1
  48. package/dist/collection/components/tabbar/tabbar.js +70 -20
  49. package/dist/collection/components/textarea/style/index.css +6 -2
  50. package/dist/collection/components/textarea/textarea.js +98 -3
  51. package/dist/collection/components/video/video-control.js +39 -22
  52. package/dist/collection/components/video/video-danmu.js +52 -39
  53. package/dist/collection/components/video/video.js +60 -37
  54. package/dist/collection/components/view/view.js +9 -1
  55. package/dist/esm/{index-ff1b322a.js → index-3c78bcaf.js} +1 -1
  56. package/dist/esm/{index-310de3d5.js → index-5bd7cbab.js} +156 -101
  57. package/dist/esm/loader.js +3 -3
  58. package/dist/esm/taro-audio-core.entry.js +2 -2
  59. package/dist/esm/taro-block-core.entry.js +2 -2
  60. package/dist/esm/taro-button-core.entry.js +3 -3
  61. package/dist/esm/taro-camera-core.entry.js +2 -2
  62. package/dist/esm/taro-canvas-core.entry.js +2 -2
  63. package/dist/esm/taro-checkbox-core_2.entry.js +6 -5
  64. package/dist/esm/taro-components.js +5 -5
  65. package/dist/esm/taro-cover-image-core.entry.js +19 -5
  66. package/dist/esm/taro-cover-view-core.entry.js +51 -5
  67. package/dist/esm/taro-custom-wrapper-core.entry.js +2 -2
  68. package/dist/esm/taro-form-core.entry.js +2 -2
  69. package/dist/esm/taro-icon-core.entry.js +3 -3
  70. package/dist/esm/taro-image-core.entry.js +3 -3
  71. package/dist/esm/taro-input-core.entry.js +21 -13
  72. package/dist/esm/taro-label-core.entry.js +2 -2
  73. package/dist/esm/taro-movable-area-core.entry.js +2 -2
  74. package/dist/esm/taro-movable-view-core.entry.js +2 -2
  75. package/dist/esm/taro-navigator-core.entry.js +3 -3
  76. package/dist/esm/taro-open-data-core.entry.js +2 -2
  77. package/dist/esm/taro-picker-core_2.entry.js +4 -4
  78. package/dist/esm/taro-picker-view-column-core.entry.js +2 -2
  79. package/dist/esm/taro-picker-view-core.entry.js +2 -2
  80. package/dist/esm/taro-progress-core.entry.js +2 -2
  81. package/dist/esm/taro-pull-to-refresh.entry.js +3 -3
  82. package/dist/esm/taro-radio-core_2.entry.js +3 -3
  83. package/dist/esm/taro-rich-text-core.entry.js +2 -2
  84. package/dist/esm/taro-scroll-view-core.entry.js +3 -3
  85. package/dist/esm/taro-slider-core.entry.js +2 -2
  86. package/dist/esm/taro-swiper-core_2.entry.js +112 -106
  87. package/dist/esm/taro-switch-core.entry.js +2 -2
  88. package/dist/esm/taro-tabbar.entry.js +69 -23
  89. package/dist/esm/taro-text-core.entry.js +3 -3
  90. package/dist/esm/taro-textarea-core.entry.js +65 -5
  91. package/dist/esm/taro-video-control_3.entry.js +186 -103
  92. package/dist/esm/taro-view-core.entry.js +11 -3
  93. package/dist/esm/taro-web-view-core.entry.js +2 -2
  94. package/dist/esm-es5/{index-ff1b322a.js → index-3c78bcaf.js} +0 -0
  95. package/dist/esm-es5/index-5bd7cbab.js +1 -0
  96. package/dist/esm-es5/loader.js +1 -1
  97. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  98. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  99. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  100. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  101. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  102. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  103. package/dist/esm-es5/taro-components.js +1 -1
  104. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  105. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  106. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  107. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  108. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  109. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  110. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  111. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  112. package/dist/esm-es5/taro-movable-area-core.entry.js +1 -1
  113. package/dist/esm-es5/taro-movable-view-core.entry.js +1 -1
  114. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  115. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  116. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  117. package/dist/esm-es5/taro-picker-view-column-core.entry.js +1 -1
  118. package/dist/esm-es5/taro-picker-view-core.entry.js +1 -1
  119. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  120. package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
  121. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  122. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  123. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  124. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  125. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  126. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  127. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  128. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  129. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  130. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  131. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  132. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  133. package/dist/taro-components/p-06bffead.entry.js +1 -0
  134. package/dist/taro-components/{p-0f393c6d.system.entry.js → p-10a6c489.system.entry.js} +1 -1
  135. package/dist/taro-components/p-11932905.entry.js +1 -0
  136. package/dist/taro-components/p-12638ebc.system.entry.js +1 -0
  137. package/dist/taro-components/p-12ae0a33.entry.js +1 -0
  138. package/dist/taro-components/{p-4f139925.system.entry.js → p-13c1404f.system.entry.js} +1 -1
  139. package/dist/taro-components/{p-81f5977d.system.entry.js → p-17039974.system.entry.js} +1 -1
  140. package/dist/taro-components/p-17cf8b5b.entry.js +1 -0
  141. package/dist/taro-components/{p-9242dcf7.system.entry.js → p-1b790eb0.system.entry.js} +1 -1
  142. package/dist/taro-components/{p-a079321f.system.entry.js → p-1e4f1702.system.entry.js} +1 -1
  143. package/dist/taro-components/{p-8eb84de2.system.entry.js → p-264b7229.system.entry.js} +1 -1
  144. package/dist/taro-components/p-33ee636a.system.js +1 -0
  145. package/dist/taro-components/p-3633bb84.entry.js +1 -0
  146. package/dist/taro-components/{p-239bf0ca.system.entry.js → p-3643d8f7.system.entry.js} +1 -1
  147. package/dist/taro-components/{p-625158f0.js → p-37cfdd8f.js} +0 -0
  148. package/dist/taro-components/{p-15121391.system.entry.js → p-3aac5746.system.entry.js} +1 -1
  149. package/dist/taro-components/{p-a74d5aa5.system.entry.js → p-3eebeb1c.system.entry.js} +1 -1
  150. package/dist/taro-components/p-431197bc.entry.js +1 -0
  151. package/dist/taro-components/{p-1f2dfaef.system.entry.js → p-43de2f12.system.entry.js} +1 -1
  152. package/dist/taro-components/{p-d402dc94.system.entry.js → p-46cf6431.system.entry.js} +1 -1
  153. package/dist/taro-components/p-4dbed323.entry.js +1 -0
  154. package/dist/taro-components/{p-129341f2.system.entry.js → p-50066d5e.system.entry.js} +1 -1
  155. package/dist/taro-components/p-554e1039.entry.js +1 -0
  156. package/dist/taro-components/p-55b0a30b.entry.js +1 -0
  157. package/dist/taro-components/p-5c420456.entry.js +1 -0
  158. package/dist/taro-components/p-5f8b5f62.entry.js +1 -0
  159. package/dist/taro-components/p-627a5064.system.entry.js +1 -0
  160. package/dist/taro-components/{p-89fc30f0.entry.js → p-64993f48.entry.js} +1 -1
  161. package/dist/taro-components/p-66237ac0.entry.js +1 -0
  162. package/dist/taro-components/p-6965567d.entry.js +1 -0
  163. package/dist/taro-components/{p-9c9178cd.system.entry.js → p-703dfad8.system.entry.js} +1 -1
  164. package/dist/taro-components/p-71de9bd6.entry.js +1 -0
  165. package/dist/taro-components/p-74540410.entry.js +1 -0
  166. package/dist/taro-components/p-7a64a3d2.entry.js +1 -0
  167. package/dist/taro-components/{p-9a4123eb.system.entry.js → p-7d848382.system.entry.js} +1 -1
  168. package/dist/taro-components/p-83dedaa2.entry.js +1 -0
  169. package/dist/taro-components/p-865c21b5.entry.js +1 -0
  170. package/dist/taro-components/p-8a5e67cb.entry.js +1 -0
  171. package/dist/taro-components/p-8bc82aaa.entry.js +1 -0
  172. package/dist/taro-components/p-8db237e0.entry.js +1 -0
  173. package/dist/taro-components/{p-aed3d0e9.system.entry.js → p-8f90fca9.system.entry.js} +1 -1
  174. package/dist/taro-components/{p-bd00f506.system.js → p-94c20f60.system.js} +0 -0
  175. package/dist/taro-components/p-95529dc0.entry.js +1 -0
  176. package/dist/taro-components/p-964692f7.system.entry.js +1 -0
  177. package/dist/taro-components/p-99ed3ed2.system.entry.js +1 -0
  178. package/dist/taro-components/{p-4d11f3ad.system.entry.js → p-9a618935.system.entry.js} +1 -1
  179. package/dist/taro-components/p-9d0ab7c4.entry.js +1 -0
  180. package/dist/taro-components/{p-e3e40b03.system.entry.js → p-9fc88fc1.system.entry.js} +1 -1
  181. package/dist/taro-components/p-a1423df9.entry.js +1 -0
  182. package/dist/taro-components/p-ad16d1f2.system.entry.js +1 -0
  183. package/dist/taro-components/p-b2d01686.system.js +1 -0
  184. package/dist/taro-components/p-b75d8a65.entry.js +1 -0
  185. package/dist/taro-components/p-b8e0ad7d.entry.js +1 -0
  186. package/dist/taro-components/p-b9280444.entry.js +1 -0
  187. package/dist/taro-components/{p-236774f0.system.entry.js → p-bd3fa355.system.entry.js} +1 -1
  188. package/dist/taro-components/p-c218c298.entry.js +1 -0
  189. package/dist/taro-components/p-c362734b.entry.js +1 -0
  190. package/dist/taro-components/p-cea9a198.system.entry.js +1 -0
  191. package/dist/taro-components/{p-921a765a.system.entry.js → p-cfbdd4e3.system.entry.js} +1 -1
  192. package/dist/taro-components/p-d394a61f.system.entry.js +1 -0
  193. package/dist/taro-components/p-d567b95e.entry.js +1 -0
  194. package/dist/taro-components/p-d5971476.entry.js +1 -0
  195. package/dist/taro-components/{p-502841e0.system.entry.js → p-e0af1d0d.system.entry.js} +1 -1
  196. package/dist/taro-components/p-e27798a4.entry.js +1 -0
  197. package/dist/taro-components/p-e6298500.entry.js +1 -0
  198. package/dist/taro-components/{p-30c0639e.js → p-f05e1558.js} +1 -1
  199. package/dist/taro-components/{p-318795b9.system.entry.js → p-fb0959c1.system.entry.js} +1 -1
  200. package/dist/taro-components/{p-e15654c4.system.entry.js → p-fb2252b7.system.entry.js} +1 -1
  201. package/dist/taro-components/p-fc4939c6.system.entry.js +1 -0
  202. package/dist/taro-components/{p-3eb31172.system.entry.js → p-fd8312e5.system.entry.js} +1 -1
  203. package/dist/taro-components/{p-c1d6c0ba.system.entry.js → p-fdd73355.system.entry.js} +1 -1
  204. package/dist/taro-components/p-fde3a009.system.entry.js +1 -0
  205. package/dist/taro-components/p-fe156231.system.entry.js +1 -0
  206. package/dist/taro-components/p-ff017f01.entry.js +1 -0
  207. package/dist/taro-components/{p-970ed6da.system.entry.js → p-ffe63ce9.system.entry.js} +1 -1
  208. package/dist/taro-components/taro-components.esm.js +1 -1
  209. package/dist/taro-components/taro-components.js +1 -1
  210. package/dist/types/components/checkbox/checkbox.d.ts +1 -0
  211. package/dist/types/components/cover-image/cover-image.d.ts +11 -0
  212. package/dist/types/components/cover-view/cover-view.d.ts +14 -2
  213. package/dist/types/components/tabbar/tabbar.d.ts +20 -1
  214. package/dist/types/components/textarea/textarea.d.ts +6 -0
  215. package/dist/types/components/view/view.d.ts +2 -0
  216. package/dist/types/components.d.ts +20 -0
  217. package/dist/types/stencil-public-runtime.d.ts +190 -182
  218. package/dist-h5/vue/createComponent.js +4 -0
  219. package/dist-h5/vue/createFormsComponent.js +8 -1
  220. package/loader/index.d.ts +0 -1
  221. package/package.json +5 -5
  222. package/dist/collection/components/cover-view/cover-image.js +0 -11
  223. package/dist/esm-es5/index-310de3d5.js +0 -1
  224. package/dist/taro-components/p-180fd001.entry.js +0 -1
  225. package/dist/taro-components/p-28348261.entry.js +0 -1
  226. package/dist/taro-components/p-2e9e9ca7.system.entry.js +0 -1
  227. package/dist/taro-components/p-31b89eb3.entry.js +0 -1
  228. package/dist/taro-components/p-31f0f881.entry.js +0 -1
  229. package/dist/taro-components/p-4591dff5.entry.js +0 -1
  230. package/dist/taro-components/p-4afe24d7.entry.js +0 -1
  231. package/dist/taro-components/p-4b632069.entry.js +0 -1
  232. package/dist/taro-components/p-4f1d45ff.entry.js +0 -1
  233. package/dist/taro-components/p-5032d822.entry.js +0 -1
  234. package/dist/taro-components/p-593ee811.entry.js +0 -1
  235. package/dist/taro-components/p-6287057a.entry.js +0 -1
  236. package/dist/taro-components/p-66120099.entry.js +0 -1
  237. package/dist/taro-components/p-6730fa44.entry.js +0 -1
  238. package/dist/taro-components/p-6f331ed3.entry.js +0 -1
  239. package/dist/taro-components/p-73c389e7.system.entry.js +0 -1
  240. package/dist/taro-components/p-7911ccd6.system.entry.js +0 -1
  241. package/dist/taro-components/p-8031d6b5.system.entry.js +0 -1
  242. package/dist/taro-components/p-80f50da7.entry.js +0 -1
  243. package/dist/taro-components/p-82185d54.system.entry.js +0 -1
  244. package/dist/taro-components/p-8676c058.entry.js +0 -1
  245. package/dist/taro-components/p-8c43da73.system.entry.js +0 -1
  246. package/dist/taro-components/p-8f7b75f6.system.entry.js +0 -1
  247. package/dist/taro-components/p-906c3a0a.entry.js +0 -1
  248. package/dist/taro-components/p-9205470e.entry.js +0 -1
  249. package/dist/taro-components/p-945fa1a0.entry.js +0 -1
  250. package/dist/taro-components/p-95f5261c.entry.js +0 -1
  251. package/dist/taro-components/p-96771939.entry.js +0 -1
  252. package/dist/taro-components/p-96f1e9e7.entry.js +0 -1
  253. package/dist/taro-components/p-9c47f99e.entry.js +0 -1
  254. package/dist/taro-components/p-9fe2309f.entry.js +0 -1
  255. package/dist/taro-components/p-9ffb69e5.system.entry.js +0 -1
  256. package/dist/taro-components/p-a208926a.entry.js +0 -1
  257. package/dist/taro-components/p-a3e783c3.entry.js +0 -1
  258. package/dist/taro-components/p-af393b0b.entry.js +0 -1
  259. package/dist/taro-components/p-b2ed71a7.entry.js +0 -1
  260. package/dist/taro-components/p-b5d2597b.system.js +0 -1
  261. package/dist/taro-components/p-b7c29d05.entry.js +0 -1
  262. package/dist/taro-components/p-c2810ece.entry.js +0 -1
  263. package/dist/taro-components/p-c37d9a5d.system.entry.js +0 -1
  264. package/dist/taro-components/p-c9380fa6.entry.js +0 -1
  265. package/dist/taro-components/p-ca74a018.entry.js +0 -1
  266. package/dist/taro-components/p-cf496b3b.system.js +0 -1
  267. package/dist/taro-components/p-e256974b.system.entry.js +0 -1
  268. package/dist/taro-components/p-e28625a2.entry.js +0 -1
  269. package/dist/taro-components/p-e302b8d7.entry.js +0 -1
  270. package/dist/types/components/cover-view/cover-image.d.ts +0 -4
@@ -0,0 +1 @@
1
+ System.register(["./p-b2d01686.system.js"],(function(e){"use strict";var t,n,o,r,i;return{setters:[function(e){t=e.r;n=e.c;o=e.h;r=e.H;i=e.g}],execute:function(){var a='@charset "UTF-8";.taro-checkbox{position:relative;display:inline-block}.taro-checkbox_checked{display:inline-block;min-height:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;font-size:23px;border:1px solid #d1d1d1;background-color:#ffffff;border-radius:3px;color:#1AAD19;width:23px;height:23px;position:relative;vertical-align:0;top:5px}.taro-checkbox_checked:checked::before{font-family:"weui";font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;text-align:center;speak:none;display:inline-block;vertical-align:middle;text-decoration:inherit;content:"";color:inherit;font-size:inherit;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -48%) scale(0.73);transform:translate(-50%, -48%) scale(0.73)}';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,i=t.name,a=t.color,c=t.value,l=t.disabled,u=t.nativeProps;return o(r,{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:i,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 i(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(r,null)};Object.defineProperty(e.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return e}())}}}));
@@ -0,0 +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}}}));
@@ -0,0 +1 @@
1
+ import{h as t,r as a,c as r,H as e,g as s}from"./p-f05e1558.js";import{c as o}from"./p-37cfdd8f.js";function i(t){return"/"===t.charAt(0)}function b(t,a){for(var r=a,e=r+1,s=t.length;e<s;r+=1,e+=1)t[r]=t[e];t.pop()}const n=t=>{let a,r=t||"";const e={path:null,query:null,fragment:null};return a=r.indexOf("#"),a>-1&&(e.fragment=r.substring(a+1),r=r.substring(0,a)),a=r.indexOf("?"),a>-1&&(e.query=r.substring(a+1),r=r.substring(0,a)),e.path=r,e},h=({index:a,isSelected:r=!1,textColor:e,iconPath:s,badgeText:i,showRedDot:b=!1,text:n,onSelect:h})=>{const l=o("weui-tabbar__item",{"weui-bar__item_on":r});return t("a",{key:a,href:"javascript:;",class:l,onClick:function(){h(a)}},t("span",{style:{display:"inline-block",position:"relative"}},t("img",{src:s,alt:"",class:"weui-tabbar__icon"}),!!i&&t("span",{class:"weui-badge taro-tabbar-badge",style:{position:"absolute",top:"-2px",right:"-13px"}},i),b&&t("span",{class:"weui-badge weui-badge_dot",style:{position:"absolute",top:"0",right:"-6px"}})),t("p",{class:"weui-tabbar__label",style:{color:e}},n))},l=require("@tarojs/taro"),d=t=>"/"===t[0]?t:`/${t}`,c=(t,a)=>((t,a)=>new RegExp("^"+a+"(\\/|\\?|#|$)","i").test(t))(t,a)?t.substr(a.length):t;let _=class{constructor(t){a(this,t),this.onLongPress=r(this,"longpress",7),this.homePage="",this.customRoutes=[],this.tabbarPos="bottom",this.selectedIndex=-1,this.status=0,this.getOriginUrl=t=>{const a=this.customRoutes.filter((([,a])=>n(a).path===n(t).path));return a.length?a[0][0]:t},this.getSelectedIndex=t=>{let a=-1;return this.list.forEach((({pagePath:r},e)=>{n(t).path===n(r).path&&(a=e)})),a},this.switchTab=t=>{this.selectedIndex=t,l.switchTab({url:this.list[t].pagePath})},this.switchTabHandler=({url:t,successHandler:a,errorHandler:r})=>{const e=function(t,a){void 0===a&&(a="");var r,e=t&&t.split("/")||[],s=a&&a.split("/")||[],o=t&&i(t),n=a&&i(a),h=o||n;if(t&&i(t)?s=e:e.length&&(s.pop(),s=s.concat(e)),!s.length)return"/";if(s.length){var l=s[s.length-1];r="."===l||".."===l||""===l}else r=!1;for(var d=0,c=s.length;c>=0;c--){var _=s[c];"."===_?b(s,c):".."===_?(b(s,c),d++):d&&(b(s,c),d--)}if(!h)for(;d--;d)s.unshift("..");!h||""===s[0]||s[0]&&i(s[0])||s.unshift("");var u=s.join("/");return r&&"/"!==u.substr(-1)&&(u+="/"),u}(t,this.getOriginUrl(this.getCurrentUrl()||this.homePage)),s=this.getSelectedIndex(e);s>-1?(this.switchTab(s),a({errMsg:"switchTab:ok"})):r({errMsg:`switchTab:fail page "${e}" is not found`})},this.routerChangeHandler=t=>{let a,r;if(t&&(a=t.toLocation),a&&a.path){const t=d(a.path);r=c("/"===t?this.homePage:t,this.conf.basename||"/")}else r=this.getCurrentUrl();this.selectedIndex=this.getSelectedIndex(this.getOriginUrl(r))},this.setTabBarBadgeHandler=({index:t,text:a,successHandler:r,errorHandler:e})=>{const s=[...this.list];t in s?(s[t].showRedDot=!1,s[t].badgeText=a,r({errMsg:"setTabBarBadge:ok"})):e({errMsg:"setTabBarBadge:fail tabbar item not found"}),this.list=s},this.removeTabBarBadgeHandler=({index:t,successHandler:a,errorHandler:r})=>{const e=[...this.list];t in e?(e[t].badgeText=null,e[t].badgeText=null,a({errMsg:"removeTabBarBadge:ok"})):r({errMsg:"removeTabBarBadge:fail tabbar item not found"}),this.list=e},this.showTabBarRedDotHandler=({index:t,successHandler:a,errorHandler:r})=>{const e=[...this.list];t in e?(e[t].badgeText=null,e[t].showRedDot=!0,a({errMsg:"showTabBarRedDot:ok"})):r({errMsg:"showTabBarRedDot:fail tabbar item not found"}),this.list=e},this.hideTabBarRedDotHandler=({index:t,successHandler:a,errorHandler:r})=>{const e=[...this.list];t in e?(e[t].showRedDot=!1,a({errMsg:"hideTabBarRedDot:ok"})):r({errMsg:"hideTabBarRedDot:fail tabbar item not found"}),this.list=e},this.showTabBarHandler=({successHandler:t})=>{this.status=0,t({errMsg:"showTabBar:ok"})},this.hideTabBarHandler=({animation:t,successHandler:a})=>{this.status=t?2:1,a({errMsg:"hideTabBar:ok"})},this.setTabBarStyleHandler=({color:t,selectedColor:a,backgroundColor:r,borderStyle:e,successHandler:s})=>{r&&(this.backgroundColor=r),e&&(this.borderStyle=e),t&&(this.color=t),a&&(this.selectedColor=a),s({errMsg:"setTabBarStyle:ok"})},this.setTabBarItemHandler=({index:t,iconPath:a,selectedIconPath:r,text:e,successHandler:s,errorHandler:o})=>{const i=[...this.list];t in i?(a&&(i[t].iconPath=a),r&&(i[t].selectedIconPath=r),e&&(i[t].text=e),s({errMsg:"setTabBarItem:ok"})):o({errMsg:"setTabBarItem:fail tabbar item not found"}),this.list=i};const e=this.conf.list,s=this.conf.customRoutes;if("[object Array]"!==Object.prototype.toString.call(e)||e.length<2||e.length>5)throw new Error("tabBar 配置错误");this.homePage=d(this.conf.homePage);for(const t in s)this.customRoutes.push([t,s[t]]);e.forEach((t=>{0!==t.pagePath.indexOf("/")&&(t.pagePath="/"+t.pagePath)})),this.list=e,this.borderStyle=this.conf.borderStyle}getCurrentUrl(){const t=this.conf.basename||"/";let a;if("hash"===this.conf.mode){const t=window.location.href,r=t.indexOf("#");a=-1===r?"":t.substring(r+1)}else a=location.pathname;const r=d(c(a,t));return"/"===r?this.homePage:r}bindEvent(){l.eventCenter.on("__taroRouterChange",this.routerChangeHandler),l.eventCenter.on("__taroSwitchTab",this.switchTabHandler),l.eventCenter.on("__taroSetTabBarBadge",this.setTabBarBadgeHandler),l.eventCenter.on("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler),l.eventCenter.on("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler),l.eventCenter.on("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler),l.eventCenter.on("__taroShowTabBar",this.showTabBarHandler),l.eventCenter.on("__taroHideTabBar",this.hideTabBarHandler),l.eventCenter.on("__taroSetTabBarStyle",this.setTabBarStyleHandler),l.eventCenter.on("__taroSetTabBarItem",this.setTabBarItemHandler)}removeEvent(){l.eventCenter.off("__taroRouterChange",this.routerChangeHandler),l.eventCenter.off("__taroSwitchTab",this.switchTabHandler),l.eventCenter.off("__taroSetTabBarBadge",this.setTabBarBadgeHandler),l.eventCenter.off("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler),l.eventCenter.off("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler),l.eventCenter.off("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler),l.eventCenter.off("__taroShowTabBar",this.showTabBarHandler),l.eventCenter.off("__taroHideTabBar",this.hideTabBarHandler),l.eventCenter.off("__taroSetTabBarStyle",this.setTabBarStyleHandler),l.eventCenter.off("__taroSetTabBarItem",this.setTabBarItemHandler)}componentDidLoad(){this.tabbarPos=this.tabbar.nextElementSibling?"top":"bottom",this.bindEvent(),this.routerChangeHandler()}disconnectedCallback(){this.removeEvent()}render(){const{tabbarPos:a="bottom"}=this,r=this.status,s=o("weui-tabbar",{[`taro-tabbar__border-${this.borderStyle||"black"}`]:!0});return t(e,{class:o("taro-tabbar__tabbar",`taro-tabbar__tabbar-${a}`,{"taro-tabbar__tabbar-hide":-1===this.selectedIndex||1===r,"taro-tabbar__tabbar-slideout":2===r})},t("div",{class:s,style:{backgroundColor:this.backgroundColor||""}},this.list.map(((a,r)=>{const e=this.selectedIndex===r;let s,o;return e?(s=this.selectedColor,o=a.selectedIconPath):(s=this.color||"",o=a.iconPath),console.log("TabbarItem",a),t(h,{index:r,onSelect:this.switchTab.bind(this),isSelected:e,textColor:s,iconPath:o,text:a.text,badgeText:a.badgeText,showRedDot:a.showRedDot})}))))}get tabbar(){return s(this)}};_.style="html,body{height:100%}#app{height:100%}.taro-tabbar__border-white::before{border-top-color:#fff !important}.taro-tabbar__container{display:-ms-flexbox;display:flex;height:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.taro-tabbar__panel{-ms-flex:1;flex:1;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}.taro-tabbar__tabbar{position:relative;height:50px;width:100%;-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}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{top:-52px;-ms-flex:0 0;flex:0 0}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}";export{_ as taro_tabbar}
@@ -1 +1 @@
1
- System.register(["./p-cf496b3b.system.js"],(function(e){"use strict";var t,i,n,o;return{setters:[function(e){t=e.r;i=e.c;n=e.h;o=e.g}],execute:function(){var r="taro-switch-core{display:inline-block;width:52px;height:32px}taro-switch-core .weui-switch{display:block;width:100%;height:100%}";var s=e("taro_switch_core",function(){function e(e){var n=this;t(this,e);this.onChange=i(this,"change",7);this.type="switch";this.checked=false;this.color="#04BE02";this.disabled=false;this.nativeProps={};this.isWillLoadCalled=false;this.switchChange=function(e){e.stopPropagation();var t=e.target.checked;n.isChecked=t;n.onChange.emit({value:t})}}e.prototype.function=function(e,t){if(!this.isWillLoadCalled)return;if(e!==t)this.isChecked=e};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true;this.isChecked=this.checked};e.prototype.componentDidLoad=function(){var e=this;Object.defineProperty(this.el,"value",{get:function(){return e.isChecked},configurable:true})};e.prototype.render=function(){var e=this,t=e.type,i=e.color,o=e.isChecked,r=e.name,s=e.disabled,c=e.nativeProps;var a=o?{borderColor:i||"04BE02",backgroundColor:i||"04BE02"}:{};return n("input",Object.assign({type:"checkbox",class:"weui-"+t,style:a,checked:o,name:r,disabled:s,onChange:this.switchChange},c))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["function"]}},enumerable:false,configurable:true});return e}());s.style=r}}}));
1
+ System.register(["./p-b2d01686.system.js"],(function(e){"use strict";var t,i,n,o;return{setters:[function(e){t=e.r;i=e.c;n=e.h;o=e.g}],execute:function(){var r="taro-switch-core{display:inline-block;width:52px;height:32px}taro-switch-core .weui-switch{display:block;width:100%;height:100%}";var s=e("taro_switch_core",function(){function e(e){var n=this;t(this,e);this.onChange=i(this,"change",7);this.type="switch";this.checked=false;this.color="#04BE02";this.disabled=false;this.nativeProps={};this.isWillLoadCalled=false;this.switchChange=function(e){e.stopPropagation();var t=e.target.checked;n.isChecked=t;n.onChange.emit({value:t})}}e.prototype.function=function(e,t){if(!this.isWillLoadCalled)return;if(e!==t)this.isChecked=e};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true;this.isChecked=this.checked};e.prototype.componentDidLoad=function(){var e=this;Object.defineProperty(this.el,"value",{get:function(){return e.isChecked},configurable:true})};e.prototype.render=function(){var e=this,t=e.type,i=e.color,o=e.isChecked,r=e.name,s=e.disabled,c=e.nativeProps;var a=o?{borderColor:i||"04BE02",backgroundColor:i||"04BE02"}:{};return n("input",Object.assign({type:"checkbox",class:"weui-"+t,style:a,checked:o,name:r,disabled:s,onChange:this.switchChange},c))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["function"]}},enumerable:false,configurable:true});return e}());s.style=r}}}));
@@ -1 +1 @@
1
- import{p as e,b as o}from"./p-30c0639e.js";(()=>{const o=import.meta.url,r={};return""!==o&&(r.resourcesUrl=new URL(".",o).href),e(r)})().then((e=>o([["p-4afe24d7",[[4,"taro-checkbox-core",{name:[1],value:[1],color:[1],id:[1025],checked:[4],nativeProps:[16],isWillLoadCalled:[32]}],[0,"taro-checkbox-group-core",{name:[8]},[[0,"checkboxchange","function"]]]]],["p-c9380fa6",[[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-89fc30f0",[[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-906c3a0a",[[0,"taro-audio-core",{src:[1],controls:[4],autoplay:[4],loop:[4],muted:[4],nativeProps:[16]}]]],["p-9c47f99e",[[0,"taro-block-core"]]],["p-6730fa44",[[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-28348261",[[0,"taro-camera-core"]]],["p-af393b0b",[[0,"taro-canvas-core",{canvasId:[1,"canvas-id"],nativeProps:[16]}]]],["p-31f0f881",[[0,"taro-cover-image-core"]]],["p-6f331ed3",[[0,"taro-cover-view-core"]]],["p-4b632069",[[0,"taro-custom-wrapper-core"]]],["p-b7c29d05",[[4,"taro-form-core",{slotParent:[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["p-4f1d45ff",[[0,"taro-icon-core",{type:[1],size:[8],color:[1]}]]],["p-c2810ece",[[0,"taro-image-core",{src:[1],mode:[1],lazyLoad:[4,"lazy-load"],nativeProps:[16],aspectFillMode:[32]}]]],["p-945fa1a0",[[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],_value:[32]}]]],["p-8676c058",[[4,"taro-label-core",{for:[1]}]]],["p-4591dff5",[[0,"taro-movable-area-core"]]],["p-a208926a",[[0,"taro-movable-view-core"]]],["p-96771939",[[0,"taro-navigator-core",{hoverClass:[1,"hover-class"],url:[1],openType:[1,"open-type"],isHover:[4,"is-hover"],delta:[2]},[[0,"click","onClick"]]]]],["p-180fd001",[[0,"taro-open-data-core"]]],["p-95f5261c",[[0,"taro-picker-view-column-core"]]],["p-ca74a018",[[0,"taro-picker-view-core"]]],["p-e302b8d7",[[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-9205470e",[[4,"taro-pull-to-refresh",{prefixCls:[1,"prefix-cls"],distanceToRefresh:[2,"distance-to-refresh"],damping:[2],indicator:[16],currSt:[32],dragOnEdge:[32]}]]],["p-e28625a2",[[0,"taro-rich-text-core",{nodes:[1]}]]],["p-a3e783c3",[[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-b2ed71a7",[[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-96f1e9e7",[[0,"taro-switch-core",{type:[1],checked:[4],color:[1],name:[1],disabled:[4],nativeProps:[16],isChecked:[32],isWillLoadCalled:[32]}]]],["p-593ee811",[[0,"taro-tabbar",{conf:[16],list:[32],selectedIndex:[32],status:[32]}]]],["p-66120099",[[4,"taro-text-core",{selectable:[4]}]]],["p-6287057a",[[0,"taro-textarea-core",{value:[1],placeholder:[1],disabled:[4],maxlength:[2],autoFocus:[4,"auto-focus"],name:[1],nativeProps:[16]}]]],["p-31b89eb3",[[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-5032d822",[[0,"taro-web-view-core",{src:[1]}]]],["p-80f50da7",[[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-9fe2309f",[[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)));
1
+ import{p as e,b as o}from"./p-f05e1558.js";(()=>{const o=import.meta.url,r={};return""!==o&&(r.resourcesUrl=new URL(".",o).href),e(r)})().then((e=>o([["p-d5971476",[[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-55b0a30b",[[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-64993f48",[[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-5f8b5f62",[[0,"taro-audio-core",{src:[1],controls:[4],autoplay:[4],loop:[4],muted:[4],nativeProps:[16]}]]],["p-b9280444",[[0,"taro-block-core"]]],["p-83dedaa2",[[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-c218c298",[[0,"taro-camera-core"]]],["p-4dbed323",[[0,"taro-canvas-core",{canvasId:[1,"canvas-id"],nativeProps:[16]}]]],["p-9d0ab7c4",[[0,"taro-cover-image-core",{src:[1],nativeProps:[16]}]]],["p-74540410",[[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-a1423df9",[[0,"taro-custom-wrapper-core"]]],["p-8a5e67cb",[[4,"taro-form-core",{slotParent:[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["p-11932905",[[0,"taro-icon-core",{type:[1],size:[8],color:[1]}]]],["p-7a64a3d2",[[0,"taro-image-core",{src:[1],mode:[1],lazyLoad:[4,"lazy-load"],nativeProps:[16],aspectFillMode:[32]}]]],["p-66237ac0",[[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],_value:[32]}]]],["p-e27798a4",[[4,"taro-label-core",{for:[1]}]]],["p-554e1039",[[0,"taro-movable-area-core"]]],["p-b75d8a65",[[0,"taro-movable-view-core"]]],["p-71de9bd6",[[0,"taro-navigator-core",{hoverClass:[1,"hover-class"],url:[1],openType:[1,"open-type"],isHover:[4,"is-hover"],delta:[2]},[[0,"click","onClick"]]]]],["p-c362734b",[[0,"taro-open-data-core"]]],["p-95529dc0",[[0,"taro-picker-view-column-core"]]],["p-5c420456",[[0,"taro-picker-view-core"]]],["p-06bffead",[[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-b8e0ad7d",[[4,"taro-pull-to-refresh",{prefixCls:[1,"prefix-cls"],distanceToRefresh:[2,"distance-to-refresh"],damping:[2],indicator:[16],currSt:[32],dragOnEdge:[32]}]]],["p-8db237e0",[[0,"taro-rich-text-core",{nodes:[1]}]]],["p-6965567d",[[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-3633bb84",[[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-e6298500",[[0,"taro-switch-core",{type:[1],checked:[4],color:[1],name:[1],disabled:[4],nativeProps:[16],isChecked:[32],isWillLoadCalled:[32]}]]],["p-ff017f01",[[0,"taro-tabbar",{conf:[16],list:[32],borderStyle:[32],backgroundColor:[32],color:[32],selectedColor:[32],selectedIndex:[32],status:[32]}]]],["p-d567b95e",[[4,"taro-text-core",{selectable:[4]}]]],["p-12ae0a33",[[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-17cf8b5b",[[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-8bc82aaa",[[0,"taro-web-view-core",{src:[1]}]]],["p-865c21b5",[[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-431197bc",[[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)));
@@ -114,7 +114,7 @@ DOMTokenList
114
114
 
115
115
  var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
116
116
  var start = function() {
117
- var url = new URL('./p-b5d2597b.system.js', new URL(resourcesUrl, window.location.origin));
117
+ var url = new URL('./p-33ee636a.system.js', new URL(resourcesUrl, window.location.origin));
118
118
  System.import(url.href);
119
119
  };
120
120
 
@@ -6,6 +6,7 @@ export declare class Checkbox implements ComponentInterface {
6
6
  color: string;
7
7
  id: string;
8
8
  checked: boolean;
9
+ disabled: boolean;
9
10
  nativeProps: {};
10
11
  isWillLoadCalled: boolean;
11
12
  el: HTMLElement;
@@ -0,0 +1,11 @@
1
+ import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class CoverImage implements ComponentInterface {
3
+ src: string;
4
+ nativeProps: {};
5
+ onLoad: EventEmitter;
6
+ onError: EventEmitter;
7
+ private imgRef;
8
+ imageOnLoad(): void;
9
+ imageOnError(): void;
10
+ render(): any;
11
+ }
@@ -1,4 +1,16 @@
1
- export declare class CoverView {
2
- componentDidLoad(): void;
1
+ import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class CoverView implements ComponentInterface {
3
+ animation: string;
4
+ hoverClass: string;
5
+ hoverStartTime: number;
6
+ hoverStayTime: number;
7
+ hover: boolean;
8
+ touch: boolean;
9
+ onLongPress: EventEmitter;
10
+ private timeoutEvent;
11
+ private startTime;
12
+ onTouchStart(): void;
13
+ onTouchMove(): void;
14
+ onTouchEnd(): void;
3
15
  render(): any;
4
16
  }
@@ -35,6 +35,10 @@ export declare class Tabbar implements ComponentInterface {
35
35
  private tabbarPos;
36
36
  conf: Conf;
37
37
  list: TabbarList[];
38
+ borderStyle: Conf['borderStyle'];
39
+ backgroundColor: Conf['backgroundColor'];
40
+ color: Conf['color'];
41
+ selectedColor: Conf['selectedColor'];
38
42
  selectedIndex: number;
39
43
  status: 0 | 1 | 2;
40
44
  onLongPress: EventEmitter;
@@ -46,7 +50,7 @@ export declare class Tabbar implements ComponentInterface {
46
50
  switchTab: (index: number) => void;
47
51
  switchTabHandler: ({ url, successHandler, errorHandler }: RouterHandler) => void;
48
52
  routerChangeHandler: (options?: any) => void;
49
- setTabBarBadgeHandler: ({ index, text, errorHandler }: RouterHandler) => void;
53
+ setTabBarBadgeHandler: ({ index, text, successHandler, errorHandler }: RouterHandler) => void;
50
54
  removeTabBarBadgeHandler: ({ index, successHandler, errorHandler }: RouterHandler) => void;
51
55
  showTabBarRedDotHandler: ({ index, successHandler, errorHandler }: RouterHandler) => void;
52
56
  hideTabBarRedDotHandler: ({ index, successHandler, errorHandler }: RouterHandler) => void;
@@ -57,6 +61,21 @@ export declare class Tabbar implements ComponentInterface {
57
61
  animation: any;
58
62
  successHandler: any;
59
63
  }) => void;
64
+ setTabBarStyleHandler: ({ color, selectedColor, backgroundColor, borderStyle, successHandler }: {
65
+ color: any;
66
+ selectedColor: any;
67
+ backgroundColor: any;
68
+ borderStyle: any;
69
+ successHandler: any;
70
+ }) => void;
71
+ setTabBarItemHandler: ({ index, iconPath, selectedIconPath, text, successHandler, errorHandler }: {
72
+ index: any;
73
+ iconPath: any;
74
+ selectedIconPath: any;
75
+ text: any;
76
+ successHandler: any;
77
+ errorHandler: any;
78
+ }) => void;
60
79
  bindEvent(): void;
61
80
  removeEvent(): void;
62
81
  componentDidLoad(): void;
@@ -8,16 +8,22 @@ export declare class Textarea implements ComponentInterface {
8
8
  disabled: boolean;
9
9
  maxlength: number;
10
10
  autoFocus: boolean;
11
+ autoHeight: boolean;
11
12
  name: string;
12
13
  nativeProps: {};
14
+ line: number;
13
15
  onInput: EventEmitter;
14
16
  onFocus: EventEmitter;
15
17
  onBlur: EventEmitter;
16
18
  onChange: EventEmitter;
19
+ onLineChange: EventEmitter;
17
20
  componentDidLoad(): void;
18
21
  hanldeInput: (e: TaroEvent<HTMLInputElement>) => void;
19
22
  handleFocus: (e: TaroEvent<HTMLInputElement> & FocusEvent) => void;
20
23
  handleBlur: (e: TaroEvent<HTMLInputElement> & FocusEvent) => void;
21
24
  handleChange: (e: TaroEvent<HTMLInputElement>) => void;
25
+ handleLineChange: () => void;
26
+ calculateContentHeight: (ta: any, scanAmount: any) => any;
27
+ getNumberOfLines: () => number;
22
28
  render(): any;
23
29
  }
@@ -1,5 +1,6 @@
1
1
  import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
2
2
  export declare class View implements ComponentInterface {
3
+ el: HTMLElement;
3
4
  animation: string;
4
5
  hoverClass: string;
5
6
  hoverStartTime: number;
@@ -12,5 +13,6 @@ export declare class View implements ComponentInterface {
12
13
  onTouchStart(): void;
13
14
  onTouchMove(): void;
14
15
  onTouchEnd(): void;
16
+ componentDidRender(): void;
15
17
  render(): any;
16
18
  }
@@ -42,6 +42,7 @@ export namespace Components {
42
42
  interface TaroCheckboxCore {
43
43
  "checked": boolean;
44
44
  "color": string;
45
+ "disabled": boolean;
45
46
  "id": string;
46
47
  "name": string;
47
48
  "nativeProps": {};
@@ -51,8 +52,14 @@ export namespace Components {
51
52
  "name": any;
52
53
  }
53
54
  interface TaroCoverImageCore {
55
+ "nativeProps": {};
56
+ "src": string;
54
57
  }
55
58
  interface TaroCoverViewCore {
59
+ "animation": string;
60
+ "hoverClass": string;
61
+ "hoverStartTime": number;
62
+ "hoverStayTime": number;
56
63
  }
57
64
  interface TaroCustomWrapperCore {
58
65
  }
@@ -248,6 +255,7 @@ export namespace Components {
248
255
  }
249
256
  interface TaroTextareaCore {
250
257
  "autoFocus": boolean;
258
+ "autoHeight": boolean;
251
259
  "disabled": boolean;
252
260
  "maxlength": number;
253
261
  "name": string;
@@ -726,6 +734,7 @@ declare namespace LocalJSX {
726
734
  interface TaroCheckboxCore {
727
735
  "checked"?: boolean;
728
736
  "color"?: string;
737
+ "disabled"?: boolean;
729
738
  "id"?: string;
730
739
  "name"?: string;
731
740
  "nativeProps"?: {};
@@ -737,8 +746,17 @@ declare namespace LocalJSX {
737
746
  "onChange"?: (event: CustomEvent<any>) => void;
738
747
  }
739
748
  interface TaroCoverImageCore {
749
+ "nativeProps"?: {};
750
+ "onError"?: (event: CustomEvent<any>) => void;
751
+ "onLoad"?: (event: CustomEvent<any>) => void;
752
+ "src"?: string;
740
753
  }
741
754
  interface TaroCoverViewCore {
755
+ "animation"?: string;
756
+ "hoverClass"?: string;
757
+ "hoverStartTime"?: number;
758
+ "hoverStayTime"?: number;
759
+ "onLongpress"?: (event: CustomEvent<any>) => void;
742
760
  }
743
761
  interface TaroCustomWrapperCore {
744
762
  }
@@ -961,6 +979,7 @@ declare namespace LocalJSX {
961
979
  }
962
980
  interface TaroTextareaCore {
963
981
  "autoFocus"?: boolean;
982
+ "autoHeight"?: boolean;
964
983
  "disabled"?: boolean;
965
984
  "maxlength"?: number;
966
985
  "name"?: string;
@@ -969,6 +988,7 @@ declare namespace LocalJSX {
969
988
  "onChange"?: (event: CustomEvent<any>) => void;
970
989
  "onFocus"?: (event: CustomEvent<any>) => void;
971
990
  "onInput"?: (event: CustomEvent<any>) => void;
991
+ "onLinechange"?: (event: CustomEvent<any>) => void;
972
992
  "placeholder"?: string;
973
993
  "value"?: string;
974
994
  }