@tarojs/components 3.3.11 → 3.3.15

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 (268) hide show
  1. package/dist/cjs/{index-eefce54e.js → index-7464647f.js} +156 -101
  2. package/dist/cjs/{index-cf56824f.js → index-cde74e58.js} +1 -1
  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 +37 -12
  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 +71 -27
  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 +5 -5
  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/picker/picker-group.js +59 -9
  48. package/dist/collection/components/swiper/swiper.js +7 -1
  49. package/dist/collection/components/tabbar/tabbar.js +72 -24
  50. package/dist/collection/components/textarea/style/index.css +6 -2
  51. package/dist/collection/components/textarea/textarea.js +98 -3
  52. package/dist/collection/components/view/view.js +9 -1
  53. package/dist/esm/{index-310de3d5.js → index-165a6222.js} +156 -101
  54. package/dist/esm/{index-ff1b322a.js → index-85e10859.js} +1 -1
  55. package/dist/esm/loader.js +3 -3
  56. package/dist/esm/taro-audio-core.entry.js +2 -2
  57. package/dist/esm/taro-block-core.entry.js +2 -2
  58. package/dist/esm/taro-button-core.entry.js +3 -3
  59. package/dist/esm/taro-camera-core.entry.js +2 -2
  60. package/dist/esm/taro-canvas-core.entry.js +2 -2
  61. package/dist/esm/taro-checkbox-core_2.entry.js +6 -5
  62. package/dist/esm/taro-components.js +5 -5
  63. package/dist/esm/taro-cover-image-core.entry.js +19 -5
  64. package/dist/esm/taro-cover-view-core.entry.js +51 -5
  65. package/dist/esm/taro-custom-wrapper-core.entry.js +2 -2
  66. package/dist/esm/taro-form-core.entry.js +2 -2
  67. package/dist/esm/taro-icon-core.entry.js +3 -3
  68. package/dist/esm/taro-image-core.entry.js +3 -3
  69. package/dist/esm/taro-input-core.entry.js +21 -13
  70. package/dist/esm/taro-label-core.entry.js +2 -2
  71. package/dist/esm/taro-movable-area-core.entry.js +2 -2
  72. package/dist/esm/taro-movable-view-core.entry.js +2 -2
  73. package/dist/esm/taro-navigator-core.entry.js +3 -3
  74. package/dist/esm/taro-open-data-core.entry.js +2 -2
  75. package/dist/esm/taro-picker-core_2.entry.js +37 -12
  76. package/dist/esm/taro-picker-view-column-core.entry.js +2 -2
  77. package/dist/esm/taro-picker-view-core.entry.js +2 -2
  78. package/dist/esm/taro-progress-core.entry.js +2 -2
  79. package/dist/esm/taro-pull-to-refresh.entry.js +3 -3
  80. package/dist/esm/taro-radio-core_2.entry.js +3 -3
  81. package/dist/esm/taro-rich-text-core.entry.js +2 -2
  82. package/dist/esm/taro-scroll-view-core.entry.js +3 -3
  83. package/dist/esm/taro-slider-core.entry.js +2 -2
  84. package/dist/esm/taro-swiper-core_2.entry.js +112 -106
  85. package/dist/esm/taro-switch-core.entry.js +2 -2
  86. package/dist/esm/taro-tabbar.entry.js +71 -27
  87. package/dist/esm/taro-text-core.entry.js +3 -3
  88. package/dist/esm/taro-textarea-core.entry.js +65 -5
  89. package/dist/esm/taro-video-control_3.entry.js +5 -5
  90. package/dist/esm/taro-view-core.entry.js +11 -3
  91. package/dist/esm/taro-web-view-core.entry.js +2 -2
  92. package/dist/esm-es5/index-165a6222.js +1 -0
  93. package/dist/esm-es5/{index-ff1b322a.js → index-85e10859.js} +0 -0
  94. package/dist/esm-es5/loader.js +1 -1
  95. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  96. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  97. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  98. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  99. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  100. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  101. package/dist/esm-es5/taro-components.js +1 -1
  102. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  103. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  104. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  105. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  106. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  107. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  108. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  109. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  110. package/dist/esm-es5/taro-movable-area-core.entry.js +1 -1
  111. package/dist/esm-es5/taro-movable-view-core.entry.js +1 -1
  112. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  113. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  114. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  115. package/dist/esm-es5/taro-picker-view-column-core.entry.js +1 -1
  116. package/dist/esm-es5/taro-picker-view-core.entry.js +1 -1
  117. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  118. package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
  119. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  120. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  121. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  122. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  123. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  124. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  125. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  126. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  127. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  128. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  129. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  130. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  131. package/dist/taro-components/{p-8eb84de2.system.entry.js → p-00328ebf.system.entry.js} +1 -1
  132. package/dist/taro-components/p-016f56cc.system.entry.js +1 -0
  133. package/dist/taro-components/{p-15121391.system.entry.js → p-098f4931.system.entry.js} +1 -1
  134. package/dist/taro-components/p-0da88b1b.entry.js +1 -0
  135. package/dist/taro-components/p-0fb7f599.entry.js +1 -0
  136. package/dist/taro-components/p-139d4d14.entry.js +1 -0
  137. package/dist/taro-components/p-1507bcbf.entry.js +1 -0
  138. package/dist/taro-components/p-17c0731f.entry.js +1 -0
  139. package/dist/taro-components/{p-9a4123eb.system.entry.js → p-1ed219a6.system.entry.js} +1 -1
  140. package/dist/taro-components/p-26c08f44.entry.js +1 -0
  141. package/dist/taro-components/{p-502841e0.system.entry.js → p-26d8c60a.system.entry.js} +1 -1
  142. package/dist/taro-components/{p-970ed6da.system.entry.js → p-2b6a2449.system.entry.js} +1 -1
  143. package/dist/taro-components/{p-239bf0ca.system.entry.js → p-2ce9bc65.system.entry.js} +1 -1
  144. package/dist/taro-components/{p-1f2dfaef.system.entry.js → p-2de1a146.system.entry.js} +1 -1
  145. package/dist/taro-components/{p-a079321f.system.entry.js → p-2eda9121.system.entry.js} +1 -1
  146. package/dist/taro-components/p-30bfacb9.system.js +1 -0
  147. package/dist/taro-components/{p-921a765a.system.entry.js → p-321aeeec.system.entry.js} +1 -1
  148. package/dist/taro-components/p-33bcdee9.entry.js +1 -0
  149. package/dist/taro-components/p-3554df41.entry.js +1 -0
  150. package/dist/taro-components/p-37cfef64.entry.js +1 -0
  151. package/dist/taro-components/p-39bee235.entry.js +1 -0
  152. package/dist/taro-components/p-3e2d4793.entry.js +1 -0
  153. package/dist/taro-components/{p-e15654c4.system.entry.js → p-4168e24d.system.entry.js} +1 -1
  154. package/dist/taro-components/{p-236774f0.system.entry.js → p-4462dca4.system.entry.js} +1 -1
  155. package/dist/taro-components/{p-30c0639e.js → p-49ae5efb.js} +1 -1
  156. package/dist/taro-components/p-4a2ffc1c.entry.js +1 -0
  157. package/dist/taro-components/p-4ff67760.entry.js +1 -0
  158. package/dist/taro-components/p-5412a1d2.system.entry.js +1 -0
  159. package/dist/taro-components/{p-9242dcf7.system.entry.js → p-5a13bd63.system.entry.js} +1 -1
  160. package/dist/taro-components/{p-aed3d0e9.system.entry.js → p-5c8ba192.system.entry.js} +1 -1
  161. package/dist/taro-components/p-5d84eaf0.entry.js +1 -0
  162. package/dist/taro-components/{p-318795b9.system.entry.js → p-5e6feca6.system.entry.js} +1 -1
  163. package/dist/taro-components/{p-625158f0.js → p-6967e577.js} +0 -0
  164. package/dist/taro-components/{p-bd00f506.system.js → p-696f0d1c.system.js} +0 -0
  165. package/dist/taro-components/{p-d402dc94.system.entry.js → p-69be8189.system.entry.js} +1 -1
  166. package/dist/taro-components/p-6daacf48.entry.js +1 -0
  167. package/dist/taro-components/p-72f2b6f5.entry.js +1 -0
  168. package/dist/taro-components/p-76c00960.entry.js +1 -0
  169. package/dist/taro-components/p-79b3c05a.entry.js +1 -0
  170. package/dist/taro-components/p-7a5be745.entry.js +1 -0
  171. package/dist/taro-components/p-7b021c48.entry.js +1 -0
  172. package/dist/taro-components/p-7f3e5f09.entry.js +1 -0
  173. package/dist/taro-components/{p-c1d6c0ba.system.entry.js → p-7ffcfb05.system.entry.js} +1 -1
  174. package/dist/taro-components/p-81588c19.entry.js +1 -0
  175. package/dist/taro-components/p-8235b7b7.system.entry.js +1 -0
  176. package/dist/taro-components/{p-89fc30f0.entry.js → p-8cf16235.entry.js} +1 -1
  177. package/dist/taro-components/{p-4f139925.system.entry.js → p-8d905ff5.system.entry.js} +1 -1
  178. package/dist/taro-components/p-923c6e08.entry.js +1 -0
  179. package/dist/taro-components/p-93748645.system.js +1 -0
  180. package/dist/taro-components/p-9767491b.entry.js +1 -0
  181. package/dist/taro-components/p-9bd65170.system.entry.js +1 -0
  182. package/dist/taro-components/{p-3eb31172.system.entry.js → p-9d6a7a70.system.entry.js} +1 -1
  183. package/dist/taro-components/{p-e3e40b03.system.entry.js → p-9e807bd6.system.entry.js} +1 -1
  184. package/dist/taro-components/p-9e912454.system.entry.js +1 -0
  185. package/dist/taro-components/{p-9c9178cd.system.entry.js → p-a34988ff.system.entry.js} +1 -1
  186. package/dist/taro-components/p-a895db87.entry.js +1 -0
  187. package/dist/taro-components/{p-0f393c6d.system.entry.js → p-b685a487.system.entry.js} +1 -1
  188. package/dist/taro-components/{p-129341f2.system.entry.js → p-bd922592.system.entry.js} +1 -1
  189. package/dist/taro-components/p-be2d1c4a.system.entry.js +1 -0
  190. package/dist/taro-components/p-ca67c759.entry.js +1 -0
  191. package/dist/taro-components/p-cb8099dd.entry.js +1 -0
  192. package/dist/taro-components/p-ce093936.entry.js +1 -0
  193. package/dist/taro-components/{p-4d11f3ad.system.entry.js → p-ce49e2f4.system.entry.js} +1 -1
  194. package/dist/taro-components/p-d12592f1.entry.js +1 -0
  195. package/dist/taro-components/{p-a74d5aa5.system.entry.js → p-d52009d1.system.entry.js} +1 -1
  196. package/dist/taro-components/{p-2e9e9ca7.system.entry.js → p-d52bf5f5.system.entry.js} +1 -1
  197. package/dist/taro-components/{p-81f5977d.system.entry.js → p-d6269b5e.system.entry.js} +1 -1
  198. package/dist/taro-components/p-d6a37b93.entry.js +1 -0
  199. package/dist/taro-components/p-d8363f59.system.entry.js +1 -0
  200. package/dist/taro-components/p-d9494012.system.entry.js +1 -0
  201. package/dist/taro-components/p-de3a4828.entry.js +1 -0
  202. package/dist/taro-components/p-f4158e42.entry.js +1 -0
  203. package/dist/taro-components/p-f6c7f07c.system.entry.js +1 -0
  204. package/dist/taro-components/p-f7b6c1a6.entry.js +1 -0
  205. package/dist/taro-components/p-f991bc7b.entry.js +1 -0
  206. package/dist/taro-components/taro-components.esm.js +1 -1
  207. package/dist/taro-components/taro-components.js +1 -1
  208. package/dist/types/components/checkbox/checkbox.d.ts +1 -0
  209. package/dist/types/components/cover-image/cover-image.d.ts +11 -0
  210. package/dist/types/components/cover-view/cover-view.d.ts +14 -2
  211. package/dist/types/components/picker/picker-group.d.ts +7 -0
  212. package/dist/types/components/tabbar/tabbar.d.ts +20 -1
  213. package/dist/types/components/textarea/textarea.d.ts +6 -0
  214. package/dist/types/components/view/view.d.ts +2 -0
  215. package/dist/types/components.d.ts +20 -0
  216. package/dist/types/stencil-public-runtime.d.ts +190 -182
  217. package/dist-h5/vue/createComponent.js +4 -0
  218. package/dist-h5/vue/createFormsComponent.js +8 -1
  219. package/loader/index.d.ts +0 -1
  220. package/package.json +5 -5
  221. package/dist/collection/components/cover-view/cover-image.js +0 -11
  222. package/dist/esm-es5/index-310de3d5.js +0 -1
  223. package/dist/taro-components/p-153b839d.system.entry.js +0 -1
  224. package/dist/taro-components/p-180fd001.entry.js +0 -1
  225. package/dist/taro-components/p-1925bbdb.entry.js +0 -1
  226. package/dist/taro-components/p-1f44e8ef.system.entry.js +0 -1
  227. package/dist/taro-components/p-28348261.entry.js +0 -1
  228. package/dist/taro-components/p-31b89eb3.entry.js +0 -1
  229. package/dist/taro-components/p-31f0f881.entry.js +0 -1
  230. package/dist/taro-components/p-3bda72b4.entry.js +0 -1
  231. package/dist/taro-components/p-4591dff5.entry.js +0 -1
  232. package/dist/taro-components/p-4afe24d7.entry.js +0 -1
  233. package/dist/taro-components/p-4b632069.entry.js +0 -1
  234. package/dist/taro-components/p-4f1d45ff.entry.js +0 -1
  235. package/dist/taro-components/p-5032d822.entry.js +0 -1
  236. package/dist/taro-components/p-6287057a.entry.js +0 -1
  237. package/dist/taro-components/p-66120099.entry.js +0 -1
  238. package/dist/taro-components/p-6730fa44.entry.js +0 -1
  239. package/dist/taro-components/p-6f331ed3.entry.js +0 -1
  240. package/dist/taro-components/p-73c389e7.system.entry.js +0 -1
  241. package/dist/taro-components/p-7911ccd6.system.entry.js +0 -1
  242. package/dist/taro-components/p-8031d6b5.system.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-906c3a0a.entry.js +0 -1
  246. package/dist/taro-components/p-9205470e.entry.js +0 -1
  247. package/dist/taro-components/p-945fa1a0.entry.js +0 -1
  248. package/dist/taro-components/p-95f5261c.entry.js +0 -1
  249. package/dist/taro-components/p-96771939.entry.js +0 -1
  250. package/dist/taro-components/p-96f1e9e7.entry.js +0 -1
  251. package/dist/taro-components/p-9c47f99e.entry.js +0 -1
  252. package/dist/taro-components/p-9fe2309f.entry.js +0 -1
  253. package/dist/taro-components/p-9ffb69e5.system.entry.js +0 -1
  254. package/dist/taro-components/p-a208926a.entry.js +0 -1
  255. package/dist/taro-components/p-a3e783c3.entry.js +0 -1
  256. package/dist/taro-components/p-af393b0b.entry.js +0 -1
  257. package/dist/taro-components/p-b2ed71a7.entry.js +0 -1
  258. package/dist/taro-components/p-b5d2597b.system.js +0 -1
  259. package/dist/taro-components/p-b7c29d05.entry.js +0 -1
  260. package/dist/taro-components/p-c2810ece.entry.js +0 -1
  261. package/dist/taro-components/p-c37d9a5d.system.entry.js +0 -1
  262. package/dist/taro-components/p-c9380fa6.entry.js +0 -1
  263. package/dist/taro-components/p-ca74a018.entry.js +0 -1
  264. package/dist/taro-components/p-cf496b3b.system.js +0 -1
  265. package/dist/taro-components/p-e256974b.system.entry.js +0 -1
  266. package/dist/taro-components/p-e28625a2.entry.js +0 -1
  267. package/dist/taro-components/p-e302b8d7.entry.js +0 -1
  268. package/dist/types/components/cover-view/cover-image.d.ts +0 -4
@@ -58,7 +58,7 @@ var classnames = createCommonjsModule(function (module) {
58
58
  return classes.join(' ');
59
59
  }
60
60
 
61
- if ( module.exports) {
61
+ if (module.exports) {
62
62
  classNames.default = classNames;
63
63
  module.exports = classNames;
64
64
  } else {
@@ -1,7 +1,7 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-310de3d5.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-165a6222.js';
2
2
 
3
3
  /*
4
- Stencil Client Patch Esm v2.4.0 | MIT Licensed | https://stenciljs.com
4
+ Stencil Client Patch Esm v2.9.0 | MIT Licensed | https://stenciljs.com
5
5
  */
6
6
  const patchEsm = () => {
7
7
  return promiseResolve();
@@ -10,7 +10,7 @@ const patchEsm = () => {
10
10
  const defineCustomElements = (win, options) => {
11
11
  if (typeof window === 'undefined') return Promise.resolve();
12
12
  return patchEsm().then(() => {
13
- return bootstrapLazy([["taro-checkbox-core_2",[[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"]]]]],["taro-radio-core_2",[[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"]]]]],["taro-swiper-core_2",[[4,"taro-swiper-core",{"indicatorDots":[4,"indicator-dots"],"indicatorColor":[1,"indicator-color"],"indicatorActiveColor":[1,"indicator-active-color"],"autoplay":[4],"current":[2],"interval":[2],"duration":[2],"circular":[4],"vertical":[4],"previousMargin":[1,"previous-margin"],"nextMargin":[1,"next-margin"],"displayMultipleItems":[2,"display-multiple-items"],"full":[4],"swiperWrapper":[32],"swiper":[32],"isWillLoadCalled":[32],"observer":[32],"observerFirst":[32],"observerLast":[32]}],[0,"taro-swiper-item-core",{"itemId":[1,"item-id"]}]]],["taro-audio-core",[[0,"taro-audio-core",{"src":[1],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"nativeProps":[16]}]]],["taro-block-core",[[0,"taro-block-core"]]],["taro-button-core",[[4,"taro-button-core",{"disabled":[4],"hoverClass":[1,"hover-class"],"type":[1],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"size":[1],"plain":[4],"loading":[4],"formType":[1,"form-type"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]]],["taro-camera-core",[[0,"taro-camera-core"]]],["taro-canvas-core",[[0,"taro-canvas-core",{"canvasId":[1,"canvas-id"],"nativeProps":[16]}]]],["taro-cover-image-core",[[0,"taro-cover-image-core"]]],["taro-cover-view-core",[[0,"taro-cover-view-core"]]],["taro-custom-wrapper-core",[[0,"taro-custom-wrapper-core"]]],["taro-form-core",[[4,"taro-form-core",{"slotParent":[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["taro-icon-core",[[0,"taro-icon-core",{"type":[1],"size":[8],"color":[1]}]]],["taro-image-core",[[0,"taro-image-core",{"src":[1],"mode":[1],"lazyLoad":[4,"lazy-load"],"nativeProps":[16],"aspectFillMode":[32]}]]],["taro-input-core",[[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]}]]],["taro-label-core",[[4,"taro-label-core",{"for":[1]}]]],["taro-movable-area-core",[[0,"taro-movable-area-core"]]],["taro-movable-view-core",[[0,"taro-movable-view-core"]]],["taro-navigator-core",[[0,"taro-navigator-core",{"hoverClass":[1,"hover-class"],"url":[1],"openType":[1,"open-type"],"isHover":[4,"is-hover"],"delta":[2]},[[0,"click","onClick"]]]]],["taro-open-data-core",[[0,"taro-open-data-core"]]],["taro-picker-view-column-core",[[0,"taro-picker-view-column-core"]]],["taro-picker-view-core",[[0,"taro-picker-view-core"]]],["taro-progress-core",[[0,"taro-progress-core",{"percent":[2],"showInfo":[4,"show-info"],"borderRadius":[8,"border-radius"],"fontSize":[8,"font-size"],"strokeWidth":[8,"stroke-width"],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"active":[4]}]]],["taro-pull-to-refresh",[[4,"taro-pull-to-refresh",{"prefixCls":[1,"prefix-cls"],"distanceToRefresh":[2,"distance-to-refresh"],"damping":[2],"indicator":[16],"currSt":[32],"dragOnEdge":[32]}]]],["taro-rich-text-core",[[0,"taro-rich-text-core",{"nodes":[1]}]]],["taro-scroll-view-core",[[4,"taro-scroll-view-core",{"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"upperThreshold":[8,"upper-threshold"],"lowerThreshold":[8,"lower-threshold"],"mpScrollTop":[8,"scroll-top"],"mpScrollLeft":[8,"scroll-left"],"mpScrollIntoView":[1,"scroll-into-view"],"scrollWithAnimation":[4,"scroll-with-animation"]}]]],["taro-slider-core",[[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]}]]],["taro-switch-core",[[0,"taro-switch-core",{"type":[1],"checked":[4],"color":[1],"name":[1],"disabled":[4],"nativeProps":[16],"isChecked":[32],"isWillLoadCalled":[32]}]]],["taro-tabbar",[[0,"taro-tabbar",{"conf":[16],"list":[32],"selectedIndex":[32],"status":[32]}]]],["taro-text-core",[[4,"taro-text-core",{"selectable":[4]}]]],["taro-textarea-core",[[0,"taro-textarea-core",{"value":[1],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"auto-focus"],"name":[1],"nativeProps":[16]}]]],["taro-view-core",[[4,"taro-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-web-view-core",[[0,"taro-web-view-core",{"src":[1]}]]],["taro-picker-core_2",[[4,"taro-picker-core",{"mode":[1],"disabled":[4],"range":[16],"rangeKey":[1,"range-key"],"value":[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]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-video-control_3",[[0,"taro-video-core",{"src":[1],"duration":[2],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"initialTime":[2,"initial-time"],"poster":[1],"objectFit":[1,"object-fit"],"showProgress":[4,"show-progress"],"showFullscreenBtn":[4,"show-fullscreen-btn"],"showPlayBtn":[4,"show-play-btn"],"showCenterPlayBtn":[4,"show-center-play-btn"],"showMuteBtn":[4,"show-mute-btn"],"danmuList":[16],"danmuBtn":[4,"danmu-btn"],"enableDanmu":[4,"enable-danmu"],"enablePlayGesture":[4,"enable-play-gesture"],"enableProgressGesture":[4,"enable-progress-gesture"],"vslideGesture":[4,"vslide-gesture"],"vslideGestureInFullscreen":[4,"vslide-gesture-in-fullscreen"],"nativeProps":[16],"_duration":[32],"_enableDanmu":[32],"isPlaying":[32],"isFirst":[32],"isFullScreen":[32],"fullScreenTimestamp":[32],"isMute":[32],"play":[64],"pause":[64],"stop":[64],"seek":[64],"requestFullScreen":[64],"exitFullScreen":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[4,"taro-video-control",{"controls":[4],"currentTime":[2,"current-time"],"duration":[2],"isPlaying":[4,"is-playing"],"pauseFunc":[16],"playFunc":[16],"seekFunc":[16],"showPlayBtn":[4,"show-play-btn"],"showProgress":[4,"show-progress"],"setProgressBall":[64],"toggleVisibility":[64],"getIsDraggingProgressBall":[64],"setCurrentTime":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[0,"taro-video-danmu",{"enable":[4],"danmuList":[32],"sendDanmu":[64],"tick":[64]}]]]], options);
13
+ return bootstrapLazy([["taro-checkbox-core_2",[[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"]]]]],["taro-radio-core_2",[[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"]]]]],["taro-swiper-core_2",[[4,"taro-swiper-core",{"indicatorDots":[4,"indicator-dots"],"indicatorColor":[1,"indicator-color"],"indicatorActiveColor":[1,"indicator-active-color"],"autoplay":[4],"current":[2],"interval":[2],"duration":[2],"circular":[4],"vertical":[4],"previousMargin":[1,"previous-margin"],"nextMargin":[1,"next-margin"],"displayMultipleItems":[2,"display-multiple-items"],"full":[4],"swiperWrapper":[32],"swiper":[32],"isWillLoadCalled":[32],"observer":[32],"observerFirst":[32],"observerLast":[32]}],[0,"taro-swiper-item-core",{"itemId":[1,"item-id"]}]]],["taro-audio-core",[[0,"taro-audio-core",{"src":[1],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"nativeProps":[16]}]]],["taro-block-core",[[0,"taro-block-core"]]],["taro-button-core",[[4,"taro-button-core",{"disabled":[4],"hoverClass":[1,"hover-class"],"type":[1],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"size":[1],"plain":[4],"loading":[4],"formType":[1,"form-type"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]]],["taro-camera-core",[[0,"taro-camera-core"]]],["taro-canvas-core",[[0,"taro-canvas-core",{"canvasId":[1,"canvas-id"],"nativeProps":[16]}]]],["taro-cover-image-core",[[0,"taro-cover-image-core",{"src":[1],"nativeProps":[16]}]]],["taro-cover-view-core",[[4,"taro-cover-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-custom-wrapper-core",[[0,"taro-custom-wrapper-core"]]],["taro-form-core",[[4,"taro-form-core",{"slotParent":[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["taro-icon-core",[[0,"taro-icon-core",{"type":[1],"size":[8],"color":[1]}]]],["taro-image-core",[[0,"taro-image-core",{"src":[1],"mode":[1],"lazyLoad":[4,"lazy-load"],"nativeProps":[16],"aspectFillMode":[32]}]]],["taro-input-core",[[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]}]]],["taro-label-core",[[4,"taro-label-core",{"for":[1]}]]],["taro-movable-area-core",[[0,"taro-movable-area-core"]]],["taro-movable-view-core",[[0,"taro-movable-view-core"]]],["taro-navigator-core",[[0,"taro-navigator-core",{"hoverClass":[1,"hover-class"],"url":[1],"openType":[1,"open-type"],"isHover":[4,"is-hover"],"delta":[2]},[[0,"click","onClick"]]]]],["taro-open-data-core",[[0,"taro-open-data-core"]]],["taro-picker-view-column-core",[[0,"taro-picker-view-column-core"]]],["taro-picker-view-core",[[0,"taro-picker-view-core"]]],["taro-progress-core",[[0,"taro-progress-core",{"percent":[2],"showInfo":[4,"show-info"],"borderRadius":[8,"border-radius"],"fontSize":[8,"font-size"],"strokeWidth":[8,"stroke-width"],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"active":[4]}]]],["taro-pull-to-refresh",[[4,"taro-pull-to-refresh",{"prefixCls":[1,"prefix-cls"],"distanceToRefresh":[2,"distance-to-refresh"],"damping":[2],"indicator":[16],"currSt":[32],"dragOnEdge":[32]}]]],["taro-rich-text-core",[[0,"taro-rich-text-core",{"nodes":[1]}]]],["taro-scroll-view-core",[[4,"taro-scroll-view-core",{"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"upperThreshold":[8,"upper-threshold"],"lowerThreshold":[8,"lower-threshold"],"mpScrollTop":[8,"scroll-top"],"mpScrollLeft":[8,"scroll-left"],"mpScrollIntoView":[1,"scroll-into-view"],"scrollWithAnimation":[4,"scroll-with-animation"]}]]],["taro-slider-core",[[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]}]]],["taro-switch-core",[[0,"taro-switch-core",{"type":[1],"checked":[4],"color":[1],"name":[1],"disabled":[4],"nativeProps":[16],"isChecked":[32],"isWillLoadCalled":[32]}]]],["taro-tabbar",[[0,"taro-tabbar",{"conf":[16],"list":[32],"borderStyle":[32],"backgroundColor":[32],"color":[32],"selectedColor":[32],"selectedIndex":[32],"status":[32]}]]],["taro-text-core",[[4,"taro-text-core",{"selectable":[4]}]]],["taro-textarea-core",[[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]}]]],["taro-view-core",[[4,"taro-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-web-view-core",[[0,"taro-web-view-core",{"src":[1]}]]],["taro-picker-core_2",[[4,"taro-picker-core",{"mode":[1],"disabled":[4],"range":[16],"rangeKey":[1,"range-key"],"value":[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"]]]]],["taro-video-control_3",[[0,"taro-video-core",{"src":[1],"duration":[2],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"initialTime":[2,"initial-time"],"poster":[1],"objectFit":[1,"object-fit"],"showProgress":[4,"show-progress"],"showFullscreenBtn":[4,"show-fullscreen-btn"],"showPlayBtn":[4,"show-play-btn"],"showCenterPlayBtn":[4,"show-center-play-btn"],"showMuteBtn":[4,"show-mute-btn"],"danmuList":[16],"danmuBtn":[4,"danmu-btn"],"enableDanmu":[4,"enable-danmu"],"enablePlayGesture":[4,"enable-play-gesture"],"enableProgressGesture":[4,"enable-progress-gesture"],"vslideGesture":[4,"vslide-gesture"],"vslideGestureInFullscreen":[4,"vslide-gesture-in-fullscreen"],"nativeProps":[16],"_duration":[32],"_enableDanmu":[32],"isPlaying":[32],"isFirst":[32],"isFullScreen":[32],"fullScreenTimestamp":[32],"isMute":[32],"play":[64],"pause":[64],"stop":[64],"seek":[64],"requestFullScreen":[64],"exitFullScreen":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[4,"taro-video-control",{"controls":[4],"currentTime":[2,"current-time"],"duration":[2],"isPlaying":[4,"is-playing"],"pauseFunc":[16],"playFunc":[16],"seekFunc":[16],"showPlayBtn":[4,"show-play-btn"],"showProgress":[4,"show-progress"],"setProgressBall":[64],"toggleVisibility":[64],"getIsDraggingProgressBall":[64],"setCurrentTime":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[0,"taro-video-danmu",{"enable":[4],"danmuList":[32],"sendDanmu":[64],"tick":[64]}]]]], options);
14
14
  });
15
15
  };
16
16
 
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-310de3d5.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-165a6222.js';
2
2
 
3
3
  const indexCss = "audio{max-width:100%;outline:none}";
4
4
 
5
- const Audio = class {
5
+ let Audio = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
8
  this.onError = createEvent(this, "error", 7);
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host } from './index-310de3d5.js';
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
2
 
3
- const Block = class {
3
+ let Block = class {
4
4
  constructor(hostRef) {
5
5
  registerInstance(this, hostRef);
6
6
  }
@@ -1,9 +1,9 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-310de3d5.js';
2
- import { c as classnames } from './index-ff1b322a.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-165a6222.js';
2
+ import { c as classnames } from './index-85e10859.js';
3
3
 
4
4
  const indexCss = "taro-button-core{position:relative;display:block;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:18px;text-align:center;text-decoration:none;color:#000000;background-color:#F8F8F8;line-height:2.55555556;border-radius:5px;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);overflow:hidden;width:100%;border-width:0;outline:0;-webkit-appearance:none}taro-button-core:not([disabled]):active{color:rgba(0, 0, 0, 0.6);background-color:#DEDEDE}taro-button-core:focus{outline:0}taro-button-core:after{content:\" \";width:200%;height:200%;position:absolute;top:0;left:0;border:1px solid rgba(0, 0, 0, 0.2);-webkit-transform:scale(0.5);transform:scale(0.5);-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:10px}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{color:#000000;background-color:#F8F8F8}taro-button-core[type=default]:not([disabled]):visited{color:#000000}taro-button-core[type=default]:not([disabled]):active{color:rgba(0, 0, 0, 0.6);background-color:#DEDEDE}taro-button-core[size=mini]{width:auto;display:inline-block;padding:0 1.32em;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]{color:rgba(0, 0, 0, 0.3);background-color:#F7F7F7}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]{color:#1aad19;border:1px solid #1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{color:rgba(26, 173, 25, 0.6);border-color:rgba(26, 173, 25, 0.6);background-color:transparent}taro-button-core[plain][type=primary]:after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{color:#353535;border:1px solid #353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{color:rgba(53, 53, 53, 0.6);border-color:rgba(53, 53, 53, 0.6);background-color:transparent}taro-button-core[plain]:after,taro-button-core[plain][type=default]:after{border-width:0}taro-button-core[type=primary]{color:#fff;background-color:#1AAD19}taro-button-core[type=primary]:not([disabled]):visited{color:#FFFFFF}taro-button-core[type=primary]:not([disabled]):active{color:rgba(255, 255, 255, 0.6);background-color:#179B16}taro-button-core[type=warn]{color:#fff;background-color:#E64340}taro-button-core[type=warn]:not([disabled]):visited{color:#FFFFFF}taro-button-core[type=warn]:not([disabled]):active{color:rgba(255, 255, 255, 0.6);background-color:#CE3C39}taro-button-core[plain][disabled]{color:rgba(0, 0, 0, 0.3);border:1px solid rgba(0, 0, 0, 0.2);background-color:#F7F7F7}taro-button-core[plain][disabled][type=primary]{color:rgba(0, 0, 0, 0.3);border:1px solid rgba(0, 0, 0, 0.2);background-color:#F7F7F7}";
5
5
 
6
- const Button = class {
6
+ let Button = class {
7
7
  constructor(hostRef) {
8
8
  registerInstance(this, hostRef);
9
9
  this.onSubmit = createEvent(this, "tarobuttonsubmit", 7);
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host } from './index-310de3d5.js';
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
2
 
3
- const Camera = class {
3
+ let Camera = class {
4
4
  constructor(hostRef) {
5
5
  registerInstance(this, hostRef);
6
6
  }
@@ -1,9 +1,9 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-310de3d5.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-165a6222.js';
2
2
 
3
3
  const indexCss = "taro-canvas-core{position:relative;display:block;width:300px;height:150px}";
4
4
 
5
5
  const LONG_TAP_DELAY = 500;
6
- const Canvas = class {
6
+ let Canvas = class {
7
7
  constructor(hostRef) {
8
8
  registerInstance(this, hostRef);
9
9
  this.onLongTap = createEvent(this, "longtap", 7);
@@ -1,13 +1,14 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-310de3d5.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-165a6222.js';
2
2
 
3
3
  const indexCss = "@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)}";
4
4
 
5
- const Checkbox = class {
5
+ let Checkbox = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
8
  this.onChange = createEvent(this, "checkboxchange", 7);
9
9
  this.value = '';
10
10
  this.checked = false;
11
+ this.disabled = false;
11
12
  this.nativeProps = {};
12
13
  this.isWillLoadCalled = false;
13
14
  this.handleChange = e => {
@@ -30,14 +31,14 @@ const Checkbox = class {
30
31
  this.id && this.el.removeAttribute('id');
31
32
  }
32
33
  render() {
33
- const { checked, name, color, value, nativeProps } = this;
34
+ const { checked, name, color, value, disabled, nativeProps } = this;
34
35
  return (h(Host, { className: 'weui-cells_checkbox' }, h("input", Object.assign({ ref: dom => {
35
36
  if (!dom)
36
37
  return;
37
38
  this.inputEl = dom;
38
39
  if (this.id)
39
40
  dom.setAttribute('id', this.id);
40
- }, type: 'checkbox', value: value, name: name, class: 'taro-checkbox_checked', style: { color }, checked: checked, onChange: this.handleChange }, nativeProps)), h("slot", null)));
41
+ }, type: 'checkbox', value: value, name: name, class: 'taro-checkbox_checked', style: { color }, checked: checked, disabled: disabled, onChange: this.handleChange }, nativeProps)), h("slot", null)));
41
42
  }
42
43
  get el() { return getElement(this); }
43
44
  static get watchers() { return {
@@ -46,7 +47,7 @@ const Checkbox = class {
46
47
  };
47
48
  Checkbox.style = indexCss;
48
49
 
49
- const CheckboxGroup = class {
50
+ let CheckboxGroup = class {
50
51
  constructor(hostRef) {
51
52
  registerInstance(this, hostRef);
52
53
  this.onChange = createEvent(this, "change", 7);
@@ -1,17 +1,17 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-310de3d5.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-165a6222.js';
2
2
 
3
3
  /*
4
- Stencil Client Patch Browser v2.4.0 | MIT Licensed | https://stenciljs.com
4
+ Stencil Client Patch Browser v2.9.0 | MIT Licensed | https://stenciljs.com
5
5
  */
6
6
  const patchBrowser = () => {
7
7
  const importMeta = import.meta.url;
8
- const opts = {};
9
- if ( importMeta !== '') {
8
+ const opts = {};
9
+ if (importMeta !== '') {
10
10
  opts.resourcesUrl = new URL('.', importMeta).href;
11
11
  }
12
12
  return promiseResolve(opts);
13
13
  };
14
14
 
15
15
  patchBrowser().then(options => {
16
- return bootstrapLazy([["taro-checkbox-core_2",[[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"]]]]],["taro-radio-core_2",[[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"]]]]],["taro-swiper-core_2",[[4,"taro-swiper-core",{"indicatorDots":[4,"indicator-dots"],"indicatorColor":[1,"indicator-color"],"indicatorActiveColor":[1,"indicator-active-color"],"autoplay":[4],"current":[2],"interval":[2],"duration":[2],"circular":[4],"vertical":[4],"previousMargin":[1,"previous-margin"],"nextMargin":[1,"next-margin"],"displayMultipleItems":[2,"display-multiple-items"],"full":[4],"swiperWrapper":[32],"swiper":[32],"isWillLoadCalled":[32],"observer":[32],"observerFirst":[32],"observerLast":[32]}],[0,"taro-swiper-item-core",{"itemId":[1,"item-id"]}]]],["taro-audio-core",[[0,"taro-audio-core",{"src":[1],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"nativeProps":[16]}]]],["taro-block-core",[[0,"taro-block-core"]]],["taro-button-core",[[4,"taro-button-core",{"disabled":[4],"hoverClass":[1,"hover-class"],"type":[1],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"size":[1],"plain":[4],"loading":[4],"formType":[1,"form-type"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]]],["taro-camera-core",[[0,"taro-camera-core"]]],["taro-canvas-core",[[0,"taro-canvas-core",{"canvasId":[1,"canvas-id"],"nativeProps":[16]}]]],["taro-cover-image-core",[[0,"taro-cover-image-core"]]],["taro-cover-view-core",[[0,"taro-cover-view-core"]]],["taro-custom-wrapper-core",[[0,"taro-custom-wrapper-core"]]],["taro-form-core",[[4,"taro-form-core",{"slotParent":[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["taro-icon-core",[[0,"taro-icon-core",{"type":[1],"size":[8],"color":[1]}]]],["taro-image-core",[[0,"taro-image-core",{"src":[1],"mode":[1],"lazyLoad":[4,"lazy-load"],"nativeProps":[16],"aspectFillMode":[32]}]]],["taro-input-core",[[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]}]]],["taro-label-core",[[4,"taro-label-core",{"for":[1]}]]],["taro-movable-area-core",[[0,"taro-movable-area-core"]]],["taro-movable-view-core",[[0,"taro-movable-view-core"]]],["taro-navigator-core",[[0,"taro-navigator-core",{"hoverClass":[1,"hover-class"],"url":[1],"openType":[1,"open-type"],"isHover":[4,"is-hover"],"delta":[2]},[[0,"click","onClick"]]]]],["taro-open-data-core",[[0,"taro-open-data-core"]]],["taro-picker-view-column-core",[[0,"taro-picker-view-column-core"]]],["taro-picker-view-core",[[0,"taro-picker-view-core"]]],["taro-progress-core",[[0,"taro-progress-core",{"percent":[2],"showInfo":[4,"show-info"],"borderRadius":[8,"border-radius"],"fontSize":[8,"font-size"],"strokeWidth":[8,"stroke-width"],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"active":[4]}]]],["taro-pull-to-refresh",[[4,"taro-pull-to-refresh",{"prefixCls":[1,"prefix-cls"],"distanceToRefresh":[2,"distance-to-refresh"],"damping":[2],"indicator":[16],"currSt":[32],"dragOnEdge":[32]}]]],["taro-rich-text-core",[[0,"taro-rich-text-core",{"nodes":[1]}]]],["taro-scroll-view-core",[[4,"taro-scroll-view-core",{"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"upperThreshold":[8,"upper-threshold"],"lowerThreshold":[8,"lower-threshold"],"mpScrollTop":[8,"scroll-top"],"mpScrollLeft":[8,"scroll-left"],"mpScrollIntoView":[1,"scroll-into-view"],"scrollWithAnimation":[4,"scroll-with-animation"]}]]],["taro-slider-core",[[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]}]]],["taro-switch-core",[[0,"taro-switch-core",{"type":[1],"checked":[4],"color":[1],"name":[1],"disabled":[4],"nativeProps":[16],"isChecked":[32],"isWillLoadCalled":[32]}]]],["taro-tabbar",[[0,"taro-tabbar",{"conf":[16],"list":[32],"selectedIndex":[32],"status":[32]}]]],["taro-text-core",[[4,"taro-text-core",{"selectable":[4]}]]],["taro-textarea-core",[[0,"taro-textarea-core",{"value":[1],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"auto-focus"],"name":[1],"nativeProps":[16]}]]],["taro-view-core",[[4,"taro-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-web-view-core",[[0,"taro-web-view-core",{"src":[1]}]]],["taro-picker-core_2",[[4,"taro-picker-core",{"mode":[1],"disabled":[4],"range":[16],"rangeKey":[1,"range-key"],"value":[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]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-video-control_3",[[0,"taro-video-core",{"src":[1],"duration":[2],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"initialTime":[2,"initial-time"],"poster":[1],"objectFit":[1,"object-fit"],"showProgress":[4,"show-progress"],"showFullscreenBtn":[4,"show-fullscreen-btn"],"showPlayBtn":[4,"show-play-btn"],"showCenterPlayBtn":[4,"show-center-play-btn"],"showMuteBtn":[4,"show-mute-btn"],"danmuList":[16],"danmuBtn":[4,"danmu-btn"],"enableDanmu":[4,"enable-danmu"],"enablePlayGesture":[4,"enable-play-gesture"],"enableProgressGesture":[4,"enable-progress-gesture"],"vslideGesture":[4,"vslide-gesture"],"vslideGestureInFullscreen":[4,"vslide-gesture-in-fullscreen"],"nativeProps":[16],"_duration":[32],"_enableDanmu":[32],"isPlaying":[32],"isFirst":[32],"isFullScreen":[32],"fullScreenTimestamp":[32],"isMute":[32],"play":[64],"pause":[64],"stop":[64],"seek":[64],"requestFullScreen":[64],"exitFullScreen":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[4,"taro-video-control",{"controls":[4],"currentTime":[2,"current-time"],"duration":[2],"isPlaying":[4,"is-playing"],"pauseFunc":[16],"playFunc":[16],"seekFunc":[16],"showPlayBtn":[4,"show-play-btn"],"showProgress":[4,"show-progress"],"setProgressBall":[64],"toggleVisibility":[64],"getIsDraggingProgressBall":[64],"setCurrentTime":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[0,"taro-video-danmu",{"enable":[4],"danmuList":[32],"sendDanmu":[64],"tick":[64]}]]]], options);
16
+ return bootstrapLazy([["taro-checkbox-core_2",[[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"]]]]],["taro-radio-core_2",[[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"]]]]],["taro-swiper-core_2",[[4,"taro-swiper-core",{"indicatorDots":[4,"indicator-dots"],"indicatorColor":[1,"indicator-color"],"indicatorActiveColor":[1,"indicator-active-color"],"autoplay":[4],"current":[2],"interval":[2],"duration":[2],"circular":[4],"vertical":[4],"previousMargin":[1,"previous-margin"],"nextMargin":[1,"next-margin"],"displayMultipleItems":[2,"display-multiple-items"],"full":[4],"swiperWrapper":[32],"swiper":[32],"isWillLoadCalled":[32],"observer":[32],"observerFirst":[32],"observerLast":[32]}],[0,"taro-swiper-item-core",{"itemId":[1,"item-id"]}]]],["taro-audio-core",[[0,"taro-audio-core",{"src":[1],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"nativeProps":[16]}]]],["taro-block-core",[[0,"taro-block-core"]]],["taro-button-core",[[4,"taro-button-core",{"disabled":[4],"hoverClass":[1,"hover-class"],"type":[1],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"size":[1],"plain":[4],"loading":[4],"formType":[1,"form-type"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]]],["taro-camera-core",[[0,"taro-camera-core"]]],["taro-canvas-core",[[0,"taro-canvas-core",{"canvasId":[1,"canvas-id"],"nativeProps":[16]}]]],["taro-cover-image-core",[[0,"taro-cover-image-core",{"src":[1],"nativeProps":[16]}]]],["taro-cover-view-core",[[4,"taro-cover-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-custom-wrapper-core",[[0,"taro-custom-wrapper-core"]]],["taro-form-core",[[4,"taro-form-core",{"slotParent":[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["taro-icon-core",[[0,"taro-icon-core",{"type":[1],"size":[8],"color":[1]}]]],["taro-image-core",[[0,"taro-image-core",{"src":[1],"mode":[1],"lazyLoad":[4,"lazy-load"],"nativeProps":[16],"aspectFillMode":[32]}]]],["taro-input-core",[[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]}]]],["taro-label-core",[[4,"taro-label-core",{"for":[1]}]]],["taro-movable-area-core",[[0,"taro-movable-area-core"]]],["taro-movable-view-core",[[0,"taro-movable-view-core"]]],["taro-navigator-core",[[0,"taro-navigator-core",{"hoverClass":[1,"hover-class"],"url":[1],"openType":[1,"open-type"],"isHover":[4,"is-hover"],"delta":[2]},[[0,"click","onClick"]]]]],["taro-open-data-core",[[0,"taro-open-data-core"]]],["taro-picker-view-column-core",[[0,"taro-picker-view-column-core"]]],["taro-picker-view-core",[[0,"taro-picker-view-core"]]],["taro-progress-core",[[0,"taro-progress-core",{"percent":[2],"showInfo":[4,"show-info"],"borderRadius":[8,"border-radius"],"fontSize":[8,"font-size"],"strokeWidth":[8,"stroke-width"],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"active":[4]}]]],["taro-pull-to-refresh",[[4,"taro-pull-to-refresh",{"prefixCls":[1,"prefix-cls"],"distanceToRefresh":[2,"distance-to-refresh"],"damping":[2],"indicator":[16],"currSt":[32],"dragOnEdge":[32]}]]],["taro-rich-text-core",[[0,"taro-rich-text-core",{"nodes":[1]}]]],["taro-scroll-view-core",[[4,"taro-scroll-view-core",{"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"upperThreshold":[8,"upper-threshold"],"lowerThreshold":[8,"lower-threshold"],"mpScrollTop":[8,"scroll-top"],"mpScrollLeft":[8,"scroll-left"],"mpScrollIntoView":[1,"scroll-into-view"],"scrollWithAnimation":[4,"scroll-with-animation"]}]]],["taro-slider-core",[[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]}]]],["taro-switch-core",[[0,"taro-switch-core",{"type":[1],"checked":[4],"color":[1],"name":[1],"disabled":[4],"nativeProps":[16],"isChecked":[32],"isWillLoadCalled":[32]}]]],["taro-tabbar",[[0,"taro-tabbar",{"conf":[16],"list":[32],"borderStyle":[32],"backgroundColor":[32],"color":[32],"selectedColor":[32],"selectedIndex":[32],"status":[32]}]]],["taro-text-core",[[4,"taro-text-core",{"selectable":[4]}]]],["taro-textarea-core",[[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]}]]],["taro-view-core",[[4,"taro-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-web-view-core",[[0,"taro-web-view-core",{"src":[1]}]]],["taro-picker-core_2",[[4,"taro-picker-core",{"mode":[1],"disabled":[4],"range":[16],"rangeKey":[1,"range-key"],"value":[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"]]]]],["taro-video-control_3",[[0,"taro-video-core",{"src":[1],"duration":[2],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"initialTime":[2,"initial-time"],"poster":[1],"objectFit":[1,"object-fit"],"showProgress":[4,"show-progress"],"showFullscreenBtn":[4,"show-fullscreen-btn"],"showPlayBtn":[4,"show-play-btn"],"showCenterPlayBtn":[4,"show-center-play-btn"],"showMuteBtn":[4,"show-mute-btn"],"danmuList":[16],"danmuBtn":[4,"danmu-btn"],"enableDanmu":[4,"enable-danmu"],"enablePlayGesture":[4,"enable-play-gesture"],"enableProgressGesture":[4,"enable-progress-gesture"],"vslideGesture":[4,"vslide-gesture"],"vslideGestureInFullscreen":[4,"vslide-gesture-in-fullscreen"],"nativeProps":[16],"_duration":[32],"_enableDanmu":[32],"isPlaying":[32],"isFirst":[32],"isFullScreen":[32],"fullScreenTimestamp":[32],"isMute":[32],"play":[64],"pause":[64],"stop":[64],"seek":[64],"requestFullScreen":[64],"exitFullScreen":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[4,"taro-video-control",{"controls":[4],"currentTime":[2,"current-time"],"duration":[2],"isPlaying":[4,"is-playing"],"pauseFunc":[16],"playFunc":[16],"seekFunc":[16],"showPlayBtn":[4,"show-play-btn"],"showProgress":[4,"show-progress"],"setProgressBall":[64],"toggleVisibility":[64],"getIsDraggingProgressBall":[64],"setCurrentTime":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[0,"taro-video-danmu",{"enable":[4],"danmuList":[32],"sendDanmu":[64],"tick":[64]}]]]], options);
17
17
  });
@@ -1,15 +1,29 @@
1
- import { r as registerInstance, h, H as Host } from './index-310de3d5.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-165a6222.js';
2
2
 
3
- const CoverImage = class {
3
+ const indexCss = "taro-cover-image-core{overflow:hidden;width:320px;height:240px}";
4
+
5
+ let CoverImage = class {
4
6
  constructor(hostRef) {
5
7
  registerInstance(this, hostRef);
8
+ this.onLoad = createEvent(this, "load", 7);
9
+ this.onError = createEvent(this, "error", 7);
10
+ this.nativeProps = {};
11
+ }
12
+ imageOnLoad() {
13
+ const { width, height, } = this.imgRef;
14
+ this.onLoad.emit({
15
+ width,
16
+ height
17
+ });
6
18
  }
7
- componentDidLoad() {
8
- console.error('H5 暂不支持 CoverImage 组件!');
19
+ imageOnError() {
20
+ this.onError.emit();
9
21
  }
10
22
  render() {
11
- return (h(Host, null));
23
+ const { src, imageOnLoad, imageOnError, nativeProps } = this;
24
+ return (h("img", Object.assign({ ref: img => (this.imgRef = img), src: src, onLoad: imageOnLoad.bind(this), onError: imageOnError.bind(this) }, nativeProps)));
12
25
  }
13
26
  };
27
+ CoverImage.style = indexCss;
14
28
 
15
29
  export { CoverImage as taro_cover_image_core };
@@ -1,15 +1,61 @@
1
- import { r as registerInstance, h, H as Host } from './index-310de3d5.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-165a6222.js';
2
+ import { c as classnames } from './index-85e10859.js';
2
3
 
3
- const CoverView = class {
4
+ const coverViewCss = "taro-cover-view-core{display:block}";
5
+
6
+ let CoverView = class {
4
7
  constructor(hostRef) {
5
8
  registerInstance(this, hostRef);
9
+ this.onLongPress = createEvent(this, "longpress", 7);
10
+ this.hoverStartTime = 50;
11
+ this.hoverStayTime = 400;
12
+ this.hover = false;
13
+ this.touch = false;
14
+ this.startTime = 0;
15
+ }
16
+ onTouchStart() {
17
+ if (this.hoverClass) {
18
+ this.touch = true;
19
+ setTimeout(() => {
20
+ if (this.touch) {
21
+ this.hover = true;
22
+ }
23
+ }, this.hoverStartTime);
24
+ }
25
+ this.timeoutEvent = setTimeout(() => {
26
+ this.onLongPress.emit();
27
+ }, 350);
28
+ this.startTime = Date.now();
29
+ }
30
+ onTouchMove() {
31
+ clearTimeout(this.timeoutEvent);
6
32
  }
7
- componentDidLoad() {
8
- console.error('H5 暂不支持 CoverView 组件!');
33
+ onTouchEnd() {
34
+ const spanTime = Date.now() - this.startTime;
35
+ if (spanTime < 350) {
36
+ clearTimeout(this.timeoutEvent);
37
+ }
38
+ if (this.hoverClass) {
39
+ this.touch = false;
40
+ setTimeout(() => {
41
+ if (!this.touch) {
42
+ this.hover = false;
43
+ }
44
+ }, this.hoverStayTime);
45
+ }
9
46
  }
10
47
  render() {
11
- return (h(Host, null));
48
+ const cls = classnames({
49
+ [`${this.hoverClass}`]: this.hover
50
+ });
51
+ let attr = {};
52
+ if (!!this.animation) {
53
+ attr['animation'] = this.animation;
54
+ attr['data-animation'] = this.animation;
55
+ }
56
+ return (h(Host, Object.assign({ class: cls }, attr), h("slot", null)));
12
57
  }
13
58
  };
59
+ CoverView.style = coverViewCss;
14
60
 
15
61
  export { CoverView as taro_cover_view_core };
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host } from './index-310de3d5.js';
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
2
 
3
- const CustomWrapper = class {
3
+ let CustomWrapper = class {
4
4
  constructor(hostRef) {
5
5
  registerInstance(this, hostRef);
6
6
  }
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-310de3d5.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-165a6222.js';
2
2
 
3
- const Form = class {
3
+ let Form = class {
4
4
  constructor(hostRef) {
5
5
  registerInstance(this, hostRef);
6
6
  this.onSubmit = createEvent(this, "submit", 7);
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, h, H as Host } from './index-310de3d5.js';
2
- import { c as classnames } from './index-ff1b322a.js';
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
+ import { c as classnames } from './index-85e10859.js';
3
3
 
4
- const Icon = class {
4
+ let Icon = class {
5
5
  constructor(hostRef) {
6
6
  registerInstance(this, hostRef);
7
7
  this.size = '23';
@@ -1,10 +1,10 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-310de3d5.js';
2
- import { c as classnames } from './index-ff1b322a.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-165a6222.js';
2
+ import { c as classnames } from './index-85e10859.js';
3
3
 
4
4
  const indexCss = "img[src=\"\"]{opacity:0}taro-image-core{display:inline-block;overflow:hidden;position:relative;font-size:0;width:320px;height:240px}.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;top:50%;left: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-top{width:100%}.taro-img__mode-bottom{width:100%;position:absolute;bottom:0}.taro-img__mode-left{height:100%}.taro-img__mode-right{position:absolute;height:100%;right:0}.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}";
5
5
 
6
6
  import('./intersection-observer-8e4c7135.js');
7
- const Image = class {
7
+ let Image = class {
8
8
  constructor(hostRef) {
9
9
  registerInstance(this, hostRef);
10
10
  this.onLoad = createEvent(this, "load", 7);
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-310de3d5.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-165a6222.js';
2
2
 
3
3
  const indexCss = "taro-input-core{display:block}input{display:block;height:1.4rem;text-align:inherit;text-overflow:clip;overflow:hidden;white-space:nowrap}";
4
4
 
@@ -20,7 +20,7 @@ function getTrueType(type, confirmType, password) {
20
20
  function fixControlledValue(value) {
21
21
  return value !== null && value !== void 0 ? value : '';
22
22
  }
23
- const Input = class {
23
+ let Input = class {
24
24
  constructor(hostRef) {
25
25
  registerInstance(this, hostRef);
26
26
  this.onInput = createEvent(this, "input", 7);
@@ -85,10 +85,15 @@ const Input = class {
85
85
  };
86
86
  this.handleKeyDown = (e) => {
87
87
  const { value } = e.target;
88
+ const keyCode = e.keyCode || e.code;
88
89
  this.onInputExcuted = false;
89
90
  e.stopPropagation();
90
- this.onKeyDown.emit({ value });
91
- e.keyCode === 13 && this.onConfirm.emit({ value });
91
+ this.onKeyDown.emit({
92
+ value,
93
+ cursor: value.length,
94
+ keyCode
95
+ });
96
+ keyCode === 13 && this.onConfirm.emit({ value });
92
97
  };
93
98
  this.handleComposition = (e) => {
94
99
  if (!(e.target instanceof HTMLInputElement))
@@ -108,43 +113,46 @@ const Input = class {
108
113
  }
109
114
  }
110
115
  watchFocus(newValue, oldValue) {
116
+ var _a;
111
117
  if (!oldValue && newValue) {
112
- this.inputRef.focus();
118
+ (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.focus();
113
119
  }
114
120
  }
115
121
  componentWillLoad() {
116
122
  this._value = this.value;
117
123
  }
118
124
  componentDidLoad() {
125
+ var _a, _b, _c, _d;
119
126
  if (this.type === 'file') {
120
127
  this.fileListener = () => {
121
128
  this.onInput.emit();
122
129
  };
123
- this.inputRef.addEventListener('change', this.fileListener);
130
+ (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.addEventListener('change', this.fileListener);
124
131
  }
125
132
  else {
126
- this.inputRef.addEventListener('compositionstart', this.handleComposition);
127
- this.inputRef.addEventListener('compositionend', this.handleComposition);
133
+ (_b = this.inputRef) === null || _b === void 0 ? void 0 : _b.addEventListener('compositionstart', this.handleComposition);
134
+ (_c = this.inputRef) === null || _c === void 0 ? void 0 : _c.addEventListener('compositionend', this.handleComposition);
128
135
  }
129
136
  Object.defineProperty(this.el, 'value', {
130
- get: () => this.inputRef.value,
137
+ get: () => { var _a; return (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.value; },
131
138
  set: value => {
132
139
  this._value = value;
133
140
  },
134
141
  configurable: true
135
142
  });
143
+ this.autoFocus && ((_d = this.inputRef) === null || _d === void 0 ? void 0 : _d.focus());
136
144
  }
137
145
  disconnectedCallback() {
146
+ var _a;
138
147
  if (this.type === 'file') {
139
- this.inputRef.removeEventListener('change', this.fileListener);
148
+ (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.removeEventListener('change', this.fileListener);
140
149
  }
141
150
  }
142
151
  render() {
143
- const { _value, type, password, placeholder, disabled, maxlength, autoFocus, confirmType, name, nativeProps } = this;
152
+ const { _value, type, password, placeholder, disabled, maxlength, confirmType, name, nativeProps } = this;
144
153
  return (h("input", Object.assign({ ref: input => {
145
154
  this.inputRef = input;
146
- autoFocus && (input === null || input === void 0 ? void 0 : input.focus());
147
- }, class: 'weui-input', value: fixControlledValue(_value), type: getTrueType(type, confirmType, password), placeholder: placeholder, disabled: disabled, maxlength: maxlength, autofocus: autoFocus, name: name, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onChange: this.handleChange, onKeyDown: this.handleKeyDown }, nativeProps)));
155
+ }, class: 'weui-input', value: fixControlledValue(_value), type: getTrueType(type, confirmType, password), placeholder: placeholder, disabled: disabled, maxlength: maxlength, name: name, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onChange: this.handleChange, onKeyDown: this.handleKeyDown }, nativeProps)));
148
156
  }
149
157
  get el() { return getElement(this); }
150
158
  static get watchers() { return {
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h } from './index-310de3d5.js';
1
+ import { r as registerInstance, h } from './index-165a6222.js';
2
2
 
3
- const Label = class {
3
+ let Label = class {
4
4
  constructor(hostRef) {
5
5
  registerInstance(this, hostRef);
6
6
  }
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host } from './index-310de3d5.js';
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
2
 
3
- const MovableArea = class {
3
+ let MovableArea = class {
4
4
  constructor(hostRef) {
5
5
  registerInstance(this, hostRef);
6
6
  }
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host } from './index-310de3d5.js';
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
2
 
3
- const MovableView = class {
3
+ let MovableView = class {
4
4
  constructor(hostRef) {
5
5
  registerInstance(this, hostRef);
6
6
  }
@@ -1,10 +1,10 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-310de3d5.js';
2
- import { c as classnames } from './index-ff1b322a.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-165a6222.js';
2
+ import { c as classnames } from './index-85e10859.js';
3
3
 
4
4
  const navigatorCss = ".navigator-hover{background:#efefef}";
5
5
 
6
6
  const Taro = require('@tarojs/taro');
7
- const Navigator = class {
7
+ let Navigator = class {
8
8
  constructor(hostRef) {
9
9
  registerInstance(this, hostRef);
10
10
  this.onSuccess = createEvent(this, "cuccess", 7);
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host } from './index-310de3d5.js';
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
2
 
3
- const OpenData = class {
3
+ let OpenData = class {
4
4
  constructor(hostRef) {
5
5
  registerInstance(this, hostRef);
6
6
  }