@tarojs/components 3.3.14 → 3.5.0-canary.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 (242) hide show
  1. package/dist/cjs/{index-cde74e58.js → index-b9715722.js} +0 -0
  2. package/dist/cjs/{index-7464647f.js → index-dd4b7ba3.js} +0 -0
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/taro-audio-core.cjs.entry.js +1 -1
  5. package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
  6. package/dist/cjs/taro-button-core.cjs.entry.js +2 -2
  7. package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
  8. package/dist/cjs/taro-canvas-core.cjs.entry.js +1 -1
  9. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +1 -1
  10. package/dist/cjs/taro-components.cjs.js +2 -2
  11. package/dist/cjs/taro-cover-image-core.cjs.entry.js +18 -4
  12. package/dist/cjs/taro-cover-view-core.cjs.entry.js +50 -4
  13. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
  14. package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
  15. package/dist/cjs/taro-icon-core.cjs.entry.js +2 -2
  16. package/dist/cjs/taro-image-core.cjs.entry.js +2 -2
  17. package/dist/cjs/taro-input-core.cjs.entry.js +5 -5
  18. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  19. package/dist/cjs/taro-movable-area-core.cjs.entry.js +1 -1
  20. package/dist/cjs/taro-movable-view-core.cjs.entry.js +1 -1
  21. package/dist/cjs/taro-navigator-core.cjs.entry.js +2 -2
  22. package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
  23. package/dist/cjs/taro-picker-core_2.cjs.entry.js +2 -2
  24. package/dist/cjs/taro-picker-view-column-core.cjs.entry.js +1 -1
  25. package/dist/cjs/taro-picker-view-core.cjs.entry.js +1 -1
  26. package/dist/cjs/taro-progress-core.cjs.entry.js +1 -1
  27. package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +2 -2
  28. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  29. package/dist/cjs/taro-rich-text-core.cjs.entry.js +1 -1
  30. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +2 -2
  31. package/dist/cjs/taro-slider-core.cjs.entry.js +1 -1
  32. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +2 -2
  33. package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
  34. package/dist/cjs/taro-tabbar.cjs.entry.js +70 -22
  35. package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
  36. package/dist/cjs/taro-textarea-core.cjs.entry.js +64 -4
  37. package/dist/cjs/taro-video-control_3.cjs.entry.js +183 -100
  38. package/dist/cjs/taro-view-core.cjs.entry.js +2 -2
  39. package/dist/cjs/taro-web-view-core.cjs.entry.js +1 -1
  40. package/dist/collection/collection-manifest.json +1 -1
  41. package/dist/collection/components/cover-image/cover-image.js +94 -0
  42. package/dist/collection/components/cover-image/style/index.css +5 -0
  43. package/dist/collection/components/cover-view/cover-view.js +166 -4
  44. package/dist/collection/components/cover-view/style/cover-view.css +3 -0
  45. package/dist/collection/components/input/input.js +4 -4
  46. package/dist/collection/components/tabbar/tabbar.js +72 -20
  47. package/dist/collection/components/textarea/style/index.css +6 -2
  48. package/dist/collection/components/textarea/textarea.js +98 -3
  49. package/dist/collection/components/video/video-control.js +39 -22
  50. package/dist/collection/components/video/video-danmu.js +52 -39
  51. package/dist/collection/components/video/video.js +60 -37
  52. package/dist/esm/{index-85e10859.js → index-3c78bcaf.js} +0 -0
  53. package/dist/esm/{index-165a6222.js → index-5bd7cbab.js} +0 -0
  54. package/dist/esm/loader.js +2 -2
  55. package/dist/esm/taro-audio-core.entry.js +1 -1
  56. package/dist/esm/taro-block-core.entry.js +1 -1
  57. package/dist/esm/taro-button-core.entry.js +2 -2
  58. package/dist/esm/taro-camera-core.entry.js +1 -1
  59. package/dist/esm/taro-canvas-core.entry.js +1 -1
  60. package/dist/esm/taro-checkbox-core_2.entry.js +1 -1
  61. package/dist/esm/taro-components.js +2 -2
  62. package/dist/esm/taro-cover-image-core.entry.js +18 -4
  63. package/dist/esm/taro-cover-view-core.entry.js +50 -4
  64. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  65. package/dist/esm/taro-form-core.entry.js +1 -1
  66. package/dist/esm/taro-icon-core.entry.js +2 -2
  67. package/dist/esm/taro-image-core.entry.js +2 -2
  68. package/dist/esm/taro-input-core.entry.js +5 -5
  69. package/dist/esm/taro-label-core.entry.js +1 -1
  70. package/dist/esm/taro-movable-area-core.entry.js +1 -1
  71. package/dist/esm/taro-movable-view-core.entry.js +1 -1
  72. package/dist/esm/taro-navigator-core.entry.js +2 -2
  73. package/dist/esm/taro-open-data-core.entry.js +1 -1
  74. package/dist/esm/taro-picker-core_2.entry.js +2 -2
  75. package/dist/esm/taro-picker-view-column-core.entry.js +1 -1
  76. package/dist/esm/taro-picker-view-core.entry.js +1 -1
  77. package/dist/esm/taro-progress-core.entry.js +1 -1
  78. package/dist/esm/taro-pull-to-refresh.entry.js +2 -2
  79. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  80. package/dist/esm/taro-rich-text-core.entry.js +1 -1
  81. package/dist/esm/taro-scroll-view-core.entry.js +2 -2
  82. package/dist/esm/taro-slider-core.entry.js +1 -1
  83. package/dist/esm/taro-swiper-core_2.entry.js +2 -2
  84. package/dist/esm/taro-switch-core.entry.js +1 -1
  85. package/dist/esm/taro-tabbar.entry.js +70 -22
  86. package/dist/esm/taro-text-core.entry.js +2 -2
  87. package/dist/esm/taro-textarea-core.entry.js +64 -4
  88. package/dist/esm/taro-video-control_3.entry.js +183 -100
  89. package/dist/esm/taro-view-core.entry.js +2 -2
  90. package/dist/esm/taro-web-view-core.entry.js +1 -1
  91. package/dist/esm-es5/{index-85e10859.js → index-3c78bcaf.js} +0 -0
  92. package/dist/esm-es5/{index-165a6222.js → index-5bd7cbab.js} +0 -0
  93. package/dist/esm-es5/loader.js +1 -1
  94. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  95. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  96. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  97. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  98. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  99. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  100. package/dist/esm-es5/taro-components.js +1 -1
  101. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  102. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  103. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  104. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  105. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  106. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  107. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  108. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  109. package/dist/esm-es5/taro-movable-area-core.entry.js +1 -1
  110. package/dist/esm-es5/taro-movable-view-core.entry.js +1 -1
  111. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  112. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  113. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  114. package/dist/esm-es5/taro-picker-view-column-core.entry.js +1 -1
  115. package/dist/esm-es5/taro-picker-view-core.entry.js +1 -1
  116. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  117. package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
  118. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  119. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  120. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  121. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  122. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  123. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  124. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  125. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  126. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  127. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  128. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  129. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  130. package/dist/taro-components/{p-3e2d4793.entry.js → p-06bffead.entry.js} +1 -1
  131. package/dist/taro-components/{p-b685a487.system.entry.js → p-10a6c489.system.entry.js} +1 -1
  132. package/dist/taro-components/p-11932905.entry.js +1 -0
  133. package/dist/taro-components/{p-2ef4681b.system.entry.js → p-12638ebc.system.entry.js} +1 -1
  134. package/dist/taro-components/p-12ae0a33.entry.js +1 -0
  135. package/dist/taro-components/{p-8d905ff5.system.entry.js → p-13c1404f.system.entry.js} +1 -1
  136. package/dist/taro-components/{p-d6269b5e.system.entry.js → p-17039974.system.entry.js} +1 -1
  137. package/dist/taro-components/{p-7a5be745.entry.js → p-17cf8b5b.entry.js} +1 -1
  138. package/dist/taro-components/{p-5a13bd63.system.entry.js → p-1b790eb0.system.entry.js} +1 -1
  139. package/dist/taro-components/{p-2eda9121.system.entry.js → p-1e4f1702.system.entry.js} +1 -1
  140. package/dist/taro-components/p-2438fcd4.system.entry.js +1 -0
  141. package/dist/taro-components/{p-00328ebf.system.entry.js → p-264b7229.system.entry.js} +1 -1
  142. package/dist/taro-components/p-33ee636a.system.js +1 -0
  143. package/dist/taro-components/{p-1507bcbf.entry.js → p-3633bb84.entry.js} +1 -1
  144. package/dist/taro-components/{p-2ce9bc65.system.entry.js → p-3643d8f7.system.entry.js} +1 -1
  145. package/dist/taro-components/{p-6967e577.js → p-37cfdd8f.js} +0 -0
  146. package/dist/taro-components/{p-098f4931.system.entry.js → p-3aac5746.system.entry.js} +1 -1
  147. package/dist/taro-components/{p-d52009d1.system.entry.js → p-3eebeb1c.system.entry.js} +1 -1
  148. package/dist/taro-components/p-431197bc.entry.js +1 -0
  149. package/dist/taro-components/{p-2de1a146.system.entry.js → p-43de2f12.system.entry.js} +1 -1
  150. package/dist/taro-components/{p-69be8189.system.entry.js → p-46cf6431.system.entry.js} +1 -1
  151. package/dist/taro-components/{p-f4158e42.entry.js → p-4dbed323.entry.js} +1 -1
  152. package/dist/taro-components/{p-bd922592.system.entry.js → p-50066d5e.system.entry.js} +1 -1
  153. package/dist/taro-components/p-554e1039.entry.js +1 -0
  154. package/dist/taro-components/{p-0da88b1b.entry.js → p-55b0a30b.entry.js} +1 -1
  155. package/dist/taro-components/p-5c420456.entry.js +1 -0
  156. package/dist/taro-components/{p-d12592f1.entry.js → p-5f8b5f62.entry.js} +1 -1
  157. package/dist/taro-components/p-627a5064.system.entry.js +1 -0
  158. package/dist/taro-components/{p-8cf16235.entry.js → p-64993f48.entry.js} +1 -1
  159. package/dist/taro-components/p-66237ac0.entry.js +1 -0
  160. package/dist/taro-components/{p-923c6e08.entry.js → p-6965567d.entry.js} +1 -1
  161. package/dist/taro-components/{p-a34988ff.system.entry.js → p-703dfad8.system.entry.js} +1 -1
  162. package/dist/taro-components/p-71de9bd6.entry.js +1 -0
  163. package/dist/taro-components/p-74540410.entry.js +1 -0
  164. package/dist/taro-components/{p-0fb7f599.entry.js → p-7a64a3d2.entry.js} +1 -1
  165. package/dist/taro-components/{p-1ed219a6.system.entry.js → p-7d848382.system.entry.js} +1 -1
  166. package/dist/taro-components/{p-ca67c759.entry.js → p-83dedaa2.entry.js} +1 -1
  167. package/dist/taro-components/{p-81588c19.entry.js → p-865c21b5.entry.js} +1 -1
  168. package/dist/taro-components/{p-26c08f44.entry.js → p-8a5e67cb.entry.js} +1 -1
  169. package/dist/taro-components/p-8bc82aaa.entry.js +1 -0
  170. package/dist/taro-components/p-8db237e0.entry.js +1 -0
  171. package/dist/taro-components/{p-5c8ba192.system.entry.js → p-8f90fca9.system.entry.js} +1 -1
  172. package/dist/taro-components/{p-696f0d1c.system.js → p-94c20f60.system.js} +0 -0
  173. package/dist/taro-components/p-95529dc0.entry.js +1 -0
  174. package/dist/taro-components/p-964692f7.system.entry.js +1 -0
  175. package/dist/taro-components/p-99ed3ed2.system.entry.js +1 -0
  176. package/dist/taro-components/{p-ce49e2f4.system.entry.js → p-9a618935.system.entry.js} +1 -1
  177. package/dist/taro-components/p-9d0ab7c4.entry.js +1 -0
  178. package/dist/taro-components/{p-9e807bd6.system.entry.js → p-9fc88fc1.system.entry.js} +1 -1
  179. package/dist/taro-components/p-a1423df9.entry.js +1 -0
  180. package/dist/taro-components/{p-93748645.system.js → p-b2d01686.system.js} +0 -0
  181. package/dist/taro-components/p-b75d8a65.entry.js +1 -0
  182. package/dist/taro-components/{p-5d84eaf0.entry.js → p-b8e0ad7d.entry.js} +1 -1
  183. package/dist/taro-components/p-b9280444.entry.js +1 -0
  184. package/dist/taro-components/{p-4462dca4.system.entry.js → p-bd3fa355.system.entry.js} +1 -1
  185. package/dist/taro-components/p-c218c298.entry.js +1 -0
  186. package/dist/taro-components/p-c362734b.entry.js +1 -0
  187. package/dist/taro-components/{p-d52bf5f5.system.entry.js → p-cea9a198.system.entry.js} +1 -1
  188. package/dist/taro-components/{p-321aeeec.system.entry.js → p-cfbdd4e3.system.entry.js} +1 -1
  189. package/dist/taro-components/p-d394a61f.system.entry.js +1 -0
  190. package/dist/taro-components/{p-7b021c48.entry.js → p-d567b95e.entry.js} +1 -1
  191. package/dist/taro-components/{p-de3a4828.entry.js → p-d5971476.entry.js} +1 -1
  192. package/dist/taro-components/{p-26d8c60a.system.entry.js → p-e0af1d0d.system.entry.js} +1 -1
  193. package/dist/taro-components/p-e27798a4.entry.js +1 -0
  194. package/dist/taro-components/{p-37cfef64.entry.js → p-e6298500.entry.js} +1 -1
  195. package/dist/taro-components/{p-49ae5efb.js → p-f05e1558.js} +0 -0
  196. package/dist/taro-components/p-f98e0224.entry.js +1 -0
  197. package/dist/taro-components/{p-5e6feca6.system.entry.js → p-fb0959c1.system.entry.js} +1 -1
  198. package/dist/taro-components/{p-4168e24d.system.entry.js → p-fb2252b7.system.entry.js} +1 -1
  199. package/dist/taro-components/{p-5412a1d2.system.entry.js → p-fc4939c6.system.entry.js} +1 -1
  200. package/dist/taro-components/{p-9d6a7a70.system.entry.js → p-fd8312e5.system.entry.js} +1 -1
  201. package/dist/taro-components/{p-7ffcfb05.system.entry.js → p-fdd73355.system.entry.js} +1 -1
  202. package/dist/taro-components/{p-016f56cc.system.entry.js → p-fde3a009.system.entry.js} +1 -1
  203. package/dist/taro-components/{p-9e912454.system.entry.js → p-fe156231.system.entry.js} +1 -1
  204. package/dist/taro-components/{p-2b6a2449.system.entry.js → p-ffe63ce9.system.entry.js} +1 -1
  205. package/dist/taro-components/taro-components.esm.js +1 -1
  206. package/dist/taro-components/taro-components.js +1 -1
  207. package/dist/types/components/cover-image/cover-image.d.ts +11 -0
  208. package/dist/types/components/cover-view/cover-view.d.ts +14 -2
  209. package/dist/types/components/tabbar/tabbar.d.ts +20 -1
  210. package/dist/types/components/textarea/textarea.d.ts +6 -0
  211. package/dist/types/components.d.ts +18 -0
  212. package/dist-h5/vue/createComponent.js +4 -0
  213. package/dist-h5/vue/createFormsComponent.js +8 -1
  214. package/dist-h5/vue/simpleComponents.js +1 -1
  215. package/package.json +4 -4
  216. package/dist/collection/components/cover-view/cover-image.js +0 -11
  217. package/dist/taro-components/p-17c0731f.entry.js +0 -1
  218. package/dist/taro-components/p-2c5d57af.entry.js +0 -1
  219. package/dist/taro-components/p-30bfacb9.system.js +0 -1
  220. package/dist/taro-components/p-3554df41.entry.js +0 -1
  221. package/dist/taro-components/p-382cabbc.system.entry.js +0 -1
  222. package/dist/taro-components/p-4a2ffc1c.entry.js +0 -1
  223. package/dist/taro-components/p-4ff67760.entry.js +0 -1
  224. package/dist/taro-components/p-6daacf48.entry.js +0 -1
  225. package/dist/taro-components/p-70f40e3a.entry.js +0 -1
  226. package/dist/taro-components/p-72f2b6f5.entry.js +0 -1
  227. package/dist/taro-components/p-76c00960.entry.js +0 -1
  228. package/dist/taro-components/p-7f3e5f09.entry.js +0 -1
  229. package/dist/taro-components/p-9767491b.entry.js +0 -1
  230. package/dist/taro-components/p-a895db87.entry.js +0 -1
  231. package/dist/taro-components/p-af9ec312.system.entry.js +0 -1
  232. package/dist/taro-components/p-b6e0dca6.entry.js +0 -1
  233. package/dist/taro-components/p-c221cebb.system.entry.js +0 -1
  234. package/dist/taro-components/p-c5722042.entry.js +0 -1
  235. package/dist/taro-components/p-ce093936.entry.js +0 -1
  236. package/dist/taro-components/p-d6a37b93.entry.js +0 -1
  237. package/dist/taro-components/p-f6c7f07c.system.entry.js +0 -1
  238. package/dist/taro-components/p-f7b6c1a6.entry.js +0 -1
  239. package/dist/taro-components/p-f8d0dabb.entry.js +0 -1
  240. package/dist/taro-components/p-f9013b36.system.entry.js +0 -1
  241. package/dist/taro-components/p-f991bc7b.entry.js +0 -1
  242. package/dist/types/components/cover-view/cover-image.d.ts +0 -4
@@ -1 +1 @@
1
- System.register(["./p-93748645.system.js"],(function(r){"use strict";var e,t,n;return{setters:[function(r){e=r.r;t=r.h;n=r.H}],execute:function(){var i=r("taro_rich_text_core",function(){function r(r){var n=this;e(this,r);this.renderNode=function(r){if("type"in r&&r.type==="text"){var e=(r.text||"").replace(/&nbsp;/g," ");return e}else if("name"in r&&r.name){var i=r.name,u=r.attrs,a=r.children;var o={};var f=[];if(u&&typeof u==="object"){var c=function(r){var e=u[r];if(r==="style"&&typeof e==="string"){var t=e.split(";").map((function(r){return r.trim()})).filter((function(r){return r}));var n={};t.forEach((function(r){if(!r)return;var e=/(.+): *(.+)/g.exec(r);if(!e)return;var t=e[1],i=e[2];var u=t.replace(/-([a-z])/g,(function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}return r[1].toUpperCase()}));n[u]=i}));if(Object.keys(n).length){o.style=n}return"continue"}o[r]=e};for(var s in u){c(s)}}if(a&&a.length){f=a.map((function(r){return n.renderNode(r)}))}return t(i,o,f)}return null}}r.prototype.render=function(){var r=this,e=r.nodes,i=r.renderNode;if(Array.isArray(e)){return t(n,null,e.map((function(r){return i(r)})))}else{return t(n,{innerHTML:e})}};return r}())}}}));
1
+ System.register(["./p-b2d01686.system.js"],(function(r){"use strict";var e,t,n;return{setters:[function(r){e=r.r;t=r.h;n=r.H}],execute:function(){var i=r("taro_rich_text_core",function(){function r(r){var n=this;e(this,r);this.renderNode=function(r){if("type"in r&&r.type==="text"){var e=(r.text||"").replace(/&nbsp;/g," ");return e}else if("name"in r&&r.name){var i=r.name,u=r.attrs,a=r.children;var o={};var f=[];if(u&&typeof u==="object"){var c=function(r){var e=u[r];if(r==="style"&&typeof e==="string"){var t=e.split(";").map((function(r){return r.trim()})).filter((function(r){return r}));var n={};t.forEach((function(r){if(!r)return;var e=/(.+): *(.+)/g.exec(r);if(!e)return;var t=e[1],i=e[2];var u=t.replace(/-([a-z])/g,(function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}return r[1].toUpperCase()}));n[u]=i}));if(Object.keys(n).length){o.style=n}return"continue"}o[r]=e};for(var s in u){c(s)}}if(a&&a.length){f=a.map((function(r){return n.renderNode(r)}))}return t(i,o,f)}return null}}r.prototype.render=function(){var r=this,e=r.nodes,i=r.renderNode;if(Array.isArray(e)){return t(n,null,e.map((function(r){return i(r)})))}else{return t(n,{innerHTML:e})}};return r}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-93748645.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}())}}}));
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}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-93748645.system.js","./p-696f0d1c.system.js"],(function(t){"use strict";var e,o,i,s,n,r;return{setters:[function(t){e=t.r;o=t.c;i=t.h;s=t.H;n=t.g},function(t){r=t.c}],execute:function(){var h="body,html{-webkit-tap-highlight-color:rgba(0, 0, 0, 0);user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}taro-view-core{display:block}";var a=t("taro_view_core",function(){function t(t){e(this,t);this.onLongPress=o(this,"longpress",7);this.hoverStartTime=50;this.hoverStayTime=400;this.hover=false;this.touch=false;this.startTime=0}t.prototype.onTouchStart=function(){var t=this;if(this.hoverClass){this.touch=true;setTimeout((function(){if(t.touch){t.hover=true}}),this.hoverStartTime)}this.timeoutEvent=setTimeout((function(){t.onLongPress.emit()}),350);this.startTime=Date.now()};t.prototype.onTouchMove=function(){clearTimeout(this.timeoutEvent)};t.prototype.onTouchEnd=function(){var t=this;var e=Date.now()-this.startTime;if(e<350){clearTimeout(this.timeoutEvent)}if(this.hoverClass){this.touch=false;setTimeout((function(){if(!t.touch){t.hover=false}}),this.hoverStayTime)}};t.prototype.componentDidRender=function(){var t=this.el;t.childNodes.forEach((function(e){if(e.nodeType===document.COMMENT_NODE)t.removeChild(e)}))};t.prototype.render=function(){var t;var e=r((t={},t[""+this.hoverClass]=this.hover,t));var o={};if(!!this.animation){o["animation"]=this.animation;o["data-animation"]=this.animation}return i(s,Object.assign({class:e},o),i("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());a.style=h}}}));
1
+ System.register(["./p-b2d01686.system.js","./p-94c20f60.system.js"],(function(t){"use strict";var e,o,i,s,n,r;return{setters:[function(t){e=t.r;o=t.c;i=t.h;s=t.H;n=t.g},function(t){r=t.c}],execute:function(){var h="body,html{-webkit-tap-highlight-color:rgba(0, 0, 0, 0);user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}taro-view-core{display:block}";var a=t("taro_view_core",function(){function t(t){e(this,t);this.onLongPress=o(this,"longpress",7);this.hoverStartTime=50;this.hoverStayTime=400;this.hover=false;this.touch=false;this.startTime=0}t.prototype.onTouchStart=function(){var t=this;if(this.hoverClass){this.touch=true;setTimeout((function(){if(t.touch){t.hover=true}}),this.hoverStartTime)}this.timeoutEvent=setTimeout((function(){t.onLongPress.emit()}),350);this.startTime=Date.now()};t.prototype.onTouchMove=function(){clearTimeout(this.timeoutEvent)};t.prototype.onTouchEnd=function(){var t=this;var e=Date.now()-this.startTime;if(e<350){clearTimeout(this.timeoutEvent)}if(this.hoverClass){this.touch=false;setTimeout((function(){if(!t.touch){t.hover=false}}),this.hoverStayTime)}};t.prototype.componentDidRender=function(){var t=this.el;t.childNodes.forEach((function(e){if(e.nodeType===document.COMMENT_NODE)t.removeChild(e)}))};t.prototype.render=function(){var t;var e=r((t={},t[""+this.hoverClass]=this.hover,t));var o={};if(!!this.animation){o["animation"]=this.animation;o["data-animation"]=this.animation}return i(s,Object.assign({class:e},o),i("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());a.style=h}}}));
@@ -1 +1 @@
1
- System.register(["./p-93748645.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-49ae5efb.js";(()=>{const o=import.meta.url,r={};return""!==o&&(r.resourcesUrl=new URL(".",o).href),e(r)})().then((e=>o([["p-de3a4828",[[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-0da88b1b",[[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-8cf16235",[[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-d12592f1",[[0,"taro-audio-core",{src:[1],controls:[4],autoplay:[4],loop:[4],muted:[4],nativeProps:[16]}]]],["p-a895db87",[[0,"taro-block-core"]]],["p-ca67c759",[[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-76c00960",[[0,"taro-camera-core"]]],["p-f4158e42",[[0,"taro-canvas-core",{canvasId:[1,"canvas-id"],nativeProps:[16]}]]],["p-70f40e3a",[[0,"taro-cover-image-core"]]],["p-f8d0dabb",[[0,"taro-cover-view-core"]]],["p-3554df41",[[0,"taro-custom-wrapper-core"]]],["p-26c08f44",[[4,"taro-form-core",{slotParent:[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["p-4a2ffc1c",[[0,"taro-icon-core",{type:[1],size:[8],color:[1]}]]],["p-0fb7f599",[[0,"taro-image-core",{src:[1],mode:[1],lazyLoad:[4,"lazy-load"],nativeProps:[16],aspectFillMode:[32]}]]],["p-c5722042",[[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-6daacf48",[[4,"taro-label-core",{for:[1]}]]],["p-d6a37b93",[[0,"taro-movable-area-core"]]],["p-f7b6c1a6",[[0,"taro-movable-view-core"]]],["p-4ff67760",[[0,"taro-navigator-core",{hoverClass:[1,"hover-class"],url:[1],openType:[1,"open-type"],isHover:[4,"is-hover"],delta:[2]},[[0,"click","onClick"]]]]],["p-f991bc7b",[[0,"taro-open-data-core"]]],["p-9767491b",[[0,"taro-picker-view-column-core"]]],["p-17c0731f",[[0,"taro-picker-view-core"]]],["p-3e2d4793",[[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-5d84eaf0",[[4,"taro-pull-to-refresh",{prefixCls:[1,"prefix-cls"],distanceToRefresh:[2,"distance-to-refresh"],damping:[2],indicator:[16],currSt:[32],dragOnEdge:[32]}]]],["p-ce093936",[[0,"taro-rich-text-core",{nodes:[1]}]]],["p-923c6e08",[[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-1507bcbf",[[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-37cfef64",[[0,"taro-switch-core",{type:[1],checked:[4],color:[1],name:[1],disabled:[4],nativeProps:[16],isChecked:[32],isWillLoadCalled:[32]}]]],["p-b6e0dca6",[[0,"taro-tabbar",{conf:[16],list:[32],selectedIndex:[32],status:[32]}]]],["p-7b021c48",[[4,"taro-text-core",{selectable:[4]}]]],["p-2c5d57af",[[0,"taro-textarea-core",{value:[1],placeholder:[1],disabled:[4],maxlength:[2],autoFocus:[4,"auto-focus"],name:[1],nativeProps:[16]}]]],["p-7a5be745",[[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-7f3e5f09",[[0,"taro-web-view-core",{src:[1]}]]],["p-81588c19",[[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-72f2b6f5",[[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-f98e0224",[[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-30bfacb9.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
 
@@ -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
  }
@@ -52,8 +52,14 @@ export namespace Components {
52
52
  "name": any;
53
53
  }
54
54
  interface TaroCoverImageCore {
55
+ "nativeProps": {};
56
+ "src": string;
55
57
  }
56
58
  interface TaroCoverViewCore {
59
+ "animation": string;
60
+ "hoverClass": string;
61
+ "hoverStartTime": number;
62
+ "hoverStayTime": number;
57
63
  }
58
64
  interface TaroCustomWrapperCore {
59
65
  }
@@ -249,6 +255,7 @@ export namespace Components {
249
255
  }
250
256
  interface TaroTextareaCore {
251
257
  "autoFocus": boolean;
258
+ "autoHeight": boolean;
252
259
  "disabled": boolean;
253
260
  "maxlength": number;
254
261
  "name": string;
@@ -739,8 +746,17 @@ declare namespace LocalJSX {
739
746
  "onChange"?: (event: CustomEvent<any>) => void;
740
747
  }
741
748
  interface TaroCoverImageCore {
749
+ "nativeProps"?: {};
750
+ "onError"?: (event: CustomEvent<any>) => void;
751
+ "onLoad"?: (event: CustomEvent<any>) => void;
752
+ "src"?: string;
742
753
  }
743
754
  interface TaroCoverViewCore {
755
+ "animation"?: string;
756
+ "hoverClass"?: string;
757
+ "hoverStartTime"?: number;
758
+ "hoverStayTime"?: number;
759
+ "onLongpress"?: (event: CustomEvent<any>) => void;
744
760
  }
745
761
  interface TaroCustomWrapperCore {
746
762
  }
@@ -963,6 +979,7 @@ declare namespace LocalJSX {
963
979
  }
964
980
  interface TaroTextareaCore {
965
981
  "autoFocus"?: boolean;
982
+ "autoHeight"?: boolean;
966
983
  "disabled"?: boolean;
967
984
  "maxlength"?: number;
968
985
  "name"?: string;
@@ -971,6 +988,7 @@ declare namespace LocalJSX {
971
988
  "onChange"?: (event: CustomEvent<any>) => void;
972
989
  "onFocus"?: (event: CustomEvent<any>) => void;
973
990
  "onInput"?: (event: CustomEvent<any>) => void;
991
+ "onLinechange"?: (event: CustomEvent<any>) => void;
974
992
  "placeholder"?: string;
975
993
  "value"?: string;
976
994
  }
@@ -6,9 +6,13 @@ export default function createComponent(name) {
6
6
  return {
7
7
  name: name,
8
8
  mixins: [listeners, refs],
9
+ props: ['nativeProps'],
9
10
  render: function render(createElement) {
10
11
  return createElement("".concat(name, "-core"), {
11
12
  class: ['hydrated'].concat(_toConsumableArray(classNames)),
13
+ domProps: {
14
+ nativeProps: this.nativeProps
15
+ },
12
16
  on: this.listeners
13
17
  }, this.$slots.default);
14
18
  }
@@ -10,7 +10,11 @@ import { refs } from './mixins/refs';
10
10
  export default function createFormsComponent(name, event) {
11
11
  var modelValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'value';
12
12
  var classNames = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
13
- var props = {};
13
+ var props = {
14
+ nativeProps: {
15
+ type: Object
16
+ }
17
+ };
14
18
 
15
19
  if (name === 'taro-input') {
16
20
  props.focus = Boolean;
@@ -48,6 +52,9 @@ export default function createFormsComponent(name, event) {
48
52
  on[event] = self[event];
49
53
  return createElement("".concat(name, "-core"), {
50
54
  class: ['hydrated'].concat(_toConsumableArray(classNames)),
55
+ domProps: {
56
+ nativeProps: this.nativeProps
57
+ },
51
58
  attrs: attrs,
52
59
  on: on
53
60
  }, self.$slots.default);
@@ -1,4 +1,4 @@
1
- export var simpleComponents = ['taro-view', 'taro-rich-text', 'taro-button', 'taro-checkbox-group', 'taro-editor', 'taro-form', 'taro-label', 'taro-picker-view', 'taro-picker-view-column', 'taro-cover-image', 'taro-cover-view', 'taro-moveable-area', 'taro-moveable-view', 'taro-swiper', 'taro-functional-page-navigator', 'taro-navigator', 'taro-audio', 'taro-camera', 'taro-live-player', 'taro-map', 'taro-ad', 'taro-official-account', 'taro-open-data', 'taro-web-view', 'taro-navigation-bar', 'taro-block', 'taro-canvas', 'taro-custom-wrapper', {
1
+ export var simpleComponents = ['taro-view', 'taro-rich-text', 'taro-button', 'taro-checkbox-group', 'taro-editor', 'taro-form', 'taro-label', 'taro-picker-view', 'taro-picker-view-column', 'taro-cover-image', 'taro-cover-view', 'taro-movable-area', 'taro-movable-view', 'taro-swiper', 'taro-functional-page-navigator', 'taro-navigator', 'taro-audio', 'taro-camera', 'taro-live-player', 'taro-map', 'taro-ad', 'taro-official-account', 'taro-open-data', 'taro-web-view', 'taro-navigation-bar', 'taro-block', 'taro-canvas', 'taro-custom-wrapper', {
2
2
  name: 'taro-checkbox',
3
3
  classNames: ['weui-cells_checkbox']
4
4
  }, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/components",
3
- "version": "3.3.14",
3
+ "version": "3.5.0-canary.0",
4
4
  "description": "",
5
5
  "main:h5": "src/index.js",
6
6
  "main": "dist/index.js",
@@ -38,7 +38,7 @@
38
38
  "license": "MIT",
39
39
  "dependencies": {
40
40
  "@stencil/core": "2.9.0",
41
- "@tarojs/taro": "3.3.14",
41
+ "@tarojs/taro": "3.5.0-canary.0",
42
42
  "better-scroll": "^1.14.1",
43
43
  "classnames": "^2.2.5",
44
44
  "intersection-observer": "^0.7.0",
@@ -49,11 +49,11 @@
49
49
  },
50
50
  "devDependencies": {
51
51
  "@stencil/sass": "1.4.1",
52
- "@types/react-native": "0.65.1",
52
+ "@types/react-native": "0.66.5",
53
53
  "jquery": "^3.4.1",
54
54
  "karmatic": "^2.1.0",
55
55
  "simulant": "^0.2.2",
56
56
  "workbox-build": "4.3.1"
57
57
  },
58
- "gitHead": "ffd2b33c2a760094372a9ec69735ab9c4d1877e5"
58
+ "gitHead": "a0222bc41bc05b0e34413d6db3de963d777a5015"
59
59
  }
@@ -1,11 +0,0 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import { Component, h, Host } from '@stencil/core';
3
- export class CoverImage {
4
- componentDidLoad() {
5
- console.error('H5 暂不支持 CoverImage 组件!');
6
- }
7
- render() {
8
- return (h(Host, null));
9
- }
10
- static get is() { return "taro-cover-image-core"; }
11
- }
@@ -1 +0,0 @@
1
- import{r as e,h as r,H as o}from"./p-49ae5efb.js";let s=class{constructor(r){e(this,r)}componentDidLoad(){console.error("H5 暂不支持 PickerView 组件!")}render(){return r(o,null)}};export{s as taro_picker_view_core}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as a,g as s}from"./p-49ae5efb.js";function i(t){return null!=t?t:""}let h=class{constructor(a){t(this,a),this.onInput=e(this,"input",7),this.onFocus=e(this,"focus",7),this.onBlur=e(this,"blur",7),this.onChange=e(this,"change",7),this.disabled=!1,this.maxlength=140,this.autoFocus=!1,this.nativeProps={},this.hanldeInput=t=>{t.stopPropagation(),this.onInput.emit({value:t.target.value,cursor:t.target.value.length})},this.handleFocus=t=>{this.onFocus.emit({value:t.target.value})},this.handleBlur=t=>{this.onBlur.emit({value:t.target.value})},this.handleChange=t=>{t.stopPropagation(),this.onChange.emit({value:t.target.value})}}componentDidLoad(){Object.defineProperty(this.el,"value",{get:()=>this.textareaRef.value,set:t=>this.value=t,configurable:!0}),this.autoFocus&&this.textareaRef.focus()}render(){const{value:t,placeholder:e,disabled:s,maxlength:h,autoFocus:o,name:r,nativeProps:n,hanldeInput:l,handleFocus:u,handleBlur:c,handleChange:d}=this;return a("textarea",Object.assign({ref:t=>{t&&(this.textareaRef=t)},class:"taro-textarea",value:i(t),placeholder:e,name:r,disabled:s,maxlength:h,autofocus:o,onInput:l,onFocus:u,onBlur:c,onChange:d},n))}get el(){return s(this)}};h.style="taro-textarea-core{display:block;width:300px;height:150px}.taro-textarea{-webkit-appearance:none;cursor:auto;width:100%;height:100%;border:0;display:block;position:relative}.taro-textarea:focus{outline:none}";export{h as taro_textarea_core}
@@ -1 +0,0 @@
1
- System.register(["./p-93748645.system.js"],(function(e,o){"use strict";var t,r;return{setters:[function(e){t=e.p;r=e.b}],execute:function(){var e=function(){var e=o.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return t(r)};e().then((function(e){return r([["p-016f56cc.system",[[4,"taro-checkbox-core",{name:[1],value:[1],color:[1],id:[1025],checked:[4],disabled:[4],nativeProps:[16],isWillLoadCalled:[32]}],[0,"taro-checkbox-group-core",{name:[8]},[[0,"checkboxchange","function"]]]]],["p-2eda9121.system",[[4,"taro-radio-core",{name:[1],value:[1],id:[1025],checked:[1028],disabled:[4],nativeProps:[16],isWillLoadCalled:[32]}],[0,"taro-radio-group-core",{name:[8]},[[0,"radiochange","function"]]]]],["p-098f4931.system",[[4,"taro-swiper-core",{indicatorDots:[4,"indicator-dots"],indicatorColor:[1,"indicator-color"],indicatorActiveColor:[1,"indicator-active-color"],autoplay:[4],current:[2],interval:[2],duration:[2],circular:[4],vertical:[4],previousMargin:[1,"previous-margin"],nextMargin:[1,"next-margin"],displayMultipleItems:[2,"display-multiple-items"],full:[4],swiperWrapper:[32],swiper:[32],isWillLoadCalled:[32],observer:[32],observerFirst:[32],observerLast:[32]}],[0,"taro-swiper-item-core",{itemId:[1,"item-id"]}]]],["p-2ce9bc65.system",[[0,"taro-audio-core",{src:[1],controls:[4],autoplay:[4],loop:[4],muted:[4],nativeProps:[16]}]]],["p-5c8ba192.system",[[0,"taro-block-core"]]],["p-26d8c60a.system",[[4,"taro-button-core",{disabled:[4],hoverClass:[1,"hover-class"],type:[1],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],size:[1],plain:[4],loading:[4],formType:[1,"form-type"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]]],["p-4462dca4.system",[[0,"taro-camera-core"]]],["p-9d6a7a70.system",[[0,"taro-canvas-core",{canvasId:[1,"canvas-id"],nativeProps:[16]}]]],["p-af9ec312.system",[[0,"taro-cover-image-core"]]],["p-c221cebb.system",[[0,"taro-cover-view-core"]]],["p-321aeeec.system",[[0,"taro-custom-wrapper-core"]]],["p-5a13bd63.system",[[4,"taro-form-core",{slotParent:[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["p-d6269b5e.system",[[0,"taro-icon-core",{type:[1],size:[8],color:[1]}]]],["p-d52009d1.system",[[0,"taro-image-core",{src:[1],mode:[1],lazyLoad:[4,"lazy-load"],nativeProps:[16],aspectFillMode:[32]}]]],["p-2ef4681b.system",[[0,"taro-input-core",{value:[1],type:[1],password:[4],placeholder:[1],disabled:[4],maxlength:[2],autoFocus:[4,"auto-focus"],confirmType:[1,"confirm-type"],name:[1],nativeProps:[16],_value:[32]}]]],["p-1ed219a6.system",[[4,"taro-label-core",{for:[1]}]]],["p-00328ebf.system",[[0,"taro-movable-area-core"]]],["p-5e6feca6.system",[[0,"taro-movable-view-core"]]],["p-b685a487.system",[[0,"taro-navigator-core",{hoverClass:[1,"hover-class"],url:[1],openType:[1,"open-type"],isHover:[4,"is-hover"],delta:[2]},[[0,"click","onClick"]]]]],["p-ce49e2f4.system",[[0,"taro-open-data-core"]]],["p-4168e24d.system",[[0,"taro-picker-view-column-core"]]],["p-2de1a146.system",[[0,"taro-picker-view-core"]]],["p-d52bf5f5.system",[[0,"taro-progress-core",{percent:[2],showInfo:[4,"show-info"],borderRadius:[8,"border-radius"],fontSize:[8,"font-size"],strokeWidth:[8,"stroke-width"],activeColor:[1,"active-color"],backgroundColor:[1,"background-color"],active:[4]}]]],["p-69be8189.system",[[4,"taro-pull-to-refresh",{prefixCls:[1,"prefix-cls"],distanceToRefresh:[2,"distance-to-refresh"],damping:[2],indicator:[16],currSt:[32],dragOnEdge:[32]}]]],["p-7ffcfb05.system",[[0,"taro-rich-text-core",{nodes:[1]}]]],["p-8d905ff5.system",[[4,"taro-scroll-view-core",{scrollX:[4,"scroll-x"],scrollY:[4,"scroll-y"],upperThreshold:[8,"upper-threshold"],lowerThreshold:[8,"lower-threshold"],mpScrollTop:[8,"scroll-top"],mpScrollLeft:[8,"scroll-left"],mpScrollIntoView:[1,"scroll-into-view"],scrollWithAnimation:[4,"scroll-with-animation"]}]]],["p-a34988ff.system",[[0,"taro-slider-core",{min:[2],max:[2],step:[2],disabled:[4],value:[1026],activeColor:[1,"active-color"],backgroundColor:[1,"background-color"],blockSize:[2,"block-size"],blockColor:[1,"block-color"],showValue:[4,"show-value"],name:[1],val:[32],totalWidth:[32],touching:[32],ogX:[32],touchId:[32],percent:[32],ogPercent:[32],isWillLoadCalled:[32]}]]],["p-2b6a2449.system",[[0,"taro-switch-core",{type:[1],checked:[4],color:[1],name:[1],disabled:[4],nativeProps:[16],isChecked:[32],isWillLoadCalled:[32]}]]],["p-f9013b36.system",[[0,"taro-tabbar",{conf:[16],list:[32],selectedIndex:[32],status:[32]}]]],["p-bd922592.system",[[4,"taro-text-core",{selectable:[4]}]]],["p-382cabbc.system",[[0,"taro-textarea-core",{value:[1],placeholder:[1],disabled:[4],maxlength:[2],autoFocus:[4,"auto-focus"],name:[1],nativeProps:[16]}]]],["p-9e912454.system",[[4,"taro-view-core",{animation:[1],hoverClass:[1,"hover-class"],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-9e807bd6.system",[[0,"taro-web-view-core",{src:[1]}]]],["p-5412a1d2.system",[[4,"taro-picker-core",{mode:[1],disabled:[4],range:[16],rangeKey:[1,"range-key"],value:[8],start:[1],end:[1],fields:[1],name:[1],pickerValue:[32],height:[32],hidden:[32],fadeOut:[32],isWillLoadCalled:[32]}],[0,"taro-picker-group",{mode:[1],range:[16],rangeKey:[1,"range-key"],height:[2],columnId:[1,"column-id"],updateHeight:[16],onColumnChange:[16],updateDay:[16],startY:[32],preY:[32],hadMove:[32],touchEnd:[32],isMove:[32]},[[1,"mousedown","onMouseDown"],[1,"mousemove","onMouseMove"],[1,"mouseup","onMouseMoveEnd"],[1,"mouseleave","onMouseMoveEnd"],[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-f6c7f07c.system",[[0,"taro-video-core",{src:[1],duration:[2],controls:[4],autoplay:[4],loop:[4],muted:[4],initialTime:[2,"initial-time"],poster:[1],objectFit:[1,"object-fit"],showProgress:[4,"show-progress"],showFullscreenBtn:[4,"show-fullscreen-btn"],showPlayBtn:[4,"show-play-btn"],showCenterPlayBtn:[4,"show-center-play-btn"],showMuteBtn:[4,"show-mute-btn"],danmuList:[16],danmuBtn:[4,"danmu-btn"],enableDanmu:[4,"enable-danmu"],enablePlayGesture:[4,"enable-play-gesture"],enableProgressGesture:[4,"enable-progress-gesture"],vslideGesture:[4,"vslide-gesture"],vslideGestureInFullscreen:[4,"vslide-gesture-in-fullscreen"],nativeProps:[16],_duration:[32],_enableDanmu:[32],isPlaying:[32],isFirst:[32],isFullScreen:[32],fullScreenTimestamp:[32],isMute:[32],play:[64],pause:[64],stop:[64],seek:[64],requestFullScreen:[64],exitFullScreen:[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[4,"taro-video-control",{controls:[4],currentTime:[2,"current-time"],duration:[2],isPlaying:[4,"is-playing"],pauseFunc:[16],playFunc:[16],seekFunc:[16],showPlayBtn:[4,"show-play-btn"],showProgress:[4,"show-progress"],setProgressBall:[64],toggleVisibility:[64],getIsDraggingProgressBall:[64],setCurrentTime:[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[0,"taro-video-danmu",{enable:[4],danmuList:[32],sendDanmu:[64],tick:[64]}]]]],e)}))}}}));
@@ -1 +0,0 @@
1
- import{r,h as e,H as s}from"./p-49ae5efb.js";let t=class{constructor(e){r(this,e)}render(){return e(s,null)}};export{t as taro_custom_wrapper_core}
@@ -1 +0,0 @@
1
- System.register(["./p-93748645.system.js"],(function(t){"use strict";var e,a,n,o;return{setters:[function(t){e=t.r;a=t.c;n=t.h;o=t.g}],execute:function(){var r="taro-textarea-core{display:block;width:300px;height:150px}.taro-textarea{-webkit-appearance:none;cursor:auto;width:100%;height:100%;border:0;display:block;position:relative}.taro-textarea:focus{outline:none}";function u(t){return t!==null&&t!==void 0?t:""}var i=t("taro_textarea_core",function(){function t(t){var n=this;e(this,t);this.onInput=a(this,"input",7);this.onFocus=a(this,"focus",7);this.onBlur=a(this,"blur",7);this.onChange=a(this,"change",7);this.disabled=false;this.maxlength=140;this.autoFocus=false;this.nativeProps={};this.hanldeInput=function(t){t.stopPropagation();n.onInput.emit({value:t.target.value,cursor:t.target.value.length})};this.handleFocus=function(t){n.onFocus.emit({value:t.target.value})};this.handleBlur=function(t){n.onBlur.emit({value:t.target.value})};this.handleChange=function(t){t.stopPropagation();n.onChange.emit({value:t.target.value})}}t.prototype.componentDidLoad=function(){var t=this;Object.defineProperty(this.el,"value",{get:function(){return t.textareaRef.value},set:function(e){return t.value=e},configurable:true});this.autoFocus&&this.textareaRef.focus()};t.prototype.render=function(){var t=this;var e=this,a=e.value,o=e.placeholder,r=e.disabled,i=e.maxlength,s=e.autoFocus,l=e.name,h=e.nativeProps,c=e.hanldeInput,f=e.handleFocus,p=e.handleBlur,d=e.handleChange;return n("textarea",Object.assign({ref:function(e){if(e){t.textareaRef=e}},class:"taro-textarea",value:u(a),placeholder:o,name:l,disabled:r,maxlength:i,autofocus:s,onInput:c,onFocus:f,onBlur:p,onChange:d},h))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());i.style=r}}}));
@@ -1 +0,0 @@
1
- import{r as o,h as s,H as r}from"./p-49ae5efb.js";import{c as t}from"./p-6967e577.js";let e=class{constructor(s){o(this,s),this.size="23"}render(){const{type:o,size:e,color:c}=this,i=null==o?void 0:o.replace(/_/g,"-"),a=t({[`weui-icon-${i}`]:!0});return s(r,{class:a,style:{"font-size":`${e}px`,color:c}})}};export{e as taro_icon_core}
@@ -1 +0,0 @@
1
- import{r as e,c as s,h as t,H as a}from"./p-49ae5efb.js";import{c as r}from"./p-6967e577.js";const i=require("@tarojs/taro");let o=class{constructor(t){e(this,t),this.onSuccess=s(this,"cuccess",7),this.onFail=s(this,"fail",7),this.onComplete=s(this,"Complete",7),this.openType="navigate",this.isHover=!1,this.delta=0}onClick(){const{openType:e,onSuccess:s,onFail:t,onComplete:a}=this;let r=Promise.resolve();switch(e){case"navigate":r=i.navigateTo({url:this.url});break;case"redirect":r=i.redirectTo({url:this.url});break;case"switchTab":r=i.switchTab({url:this.url});break;case"reLaunch":r=i.reLaunch({url:this.url});break;case"navigateBack":r=i.navigateBack({delta:this.delta});break;case"exit":r=Promise.reject(new Error('navigator:fail 暂不支持"openType: exit"'))}r&&r.then((e=>{s.emit(e)})).catch((e=>{t.emit(e)})).finally((()=>{a.emit()}))}render(){const{isHover:e,hoverClass:s}=this;return t(a,{class:r({[s]:e})})}};o.style=".navigator-hover{background:#efefef}";export{o as taro_navigator_core}
@@ -1 +0,0 @@
1
- import{r,h as t}from"./p-49ae5efb.js";let e=class{constructor(t){r(this,t)}render(){return t("label",{htmlFor:this.for},t("slot",null))}};export{e as taro_label_core}
@@ -1 +0,0 @@
1
- import{r as e,h as o,H as r}from"./p-49ae5efb.js";let a=class{constructor(o){e(this,o)}componentDidLoad(){console.error("H5 暂不支持 CoverImage 组件!")}render(){return o(r,null)}};export{a as taro_cover_image_core}
@@ -1 +0,0 @@
1
- import{r as t,h as i,H as e,g as o,c as s}from"./p-49ae5efb.js";import{c as a}from"./p-6967e577.js";const r=t=>{if(null==t)return"";const i=Math.round(t%60),e=Math.round((t-i)/60);return`${e<10?`0${e}`:e}:${i<10?`0${i}`:i}`},n=t=>Math.max(-1,Math.min(t,1)),h=(t,i)=>{let e=0;return function(){const o=Date.now();o-e>i&&(t.apply(this,arguments),e=o)}},l=function(){let t;const i=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];var e=["webkitEnterFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"];let o=0;const s=i.length,a={};for(;o<s;o++)if(t=i[o],t&&t[1]in document){for(o=0;o<t.length;o++)a[i[0][o]]=t[o];return a}if(!a[i[0][0]])for(o=0;o<e.length;o++)a[i[0][o]]=e[o];return a}();let A=class{constructor(i){t(this,i),this.visible=!1,this.isDraggingProgressBall=!1,this.percentage=0,this.progressDimentions={left:0,width:0},this.calcPercentage=t=>{let i=t-this.progressDimentions.left;return i=Math.max(i,0),i=Math.min(i,this.progressDimentions.width),i/this.progressDimentions.width},this.onDragProgressBallStart=()=>{this.isDraggingProgressBall=!0,this.hideControlsTimer&&clearTimeout(this.hideControlsTimer)},this.onClickProgress=t=>{t.stopPropagation();const i=this.calcPercentage(t.pageX);this.seekFunc(i*this.duration),this.toggleVisibility(!0)}}onDocumentTouchMove(t){this.isDraggingProgressBall&&(this.percentage=this.calcPercentage(t.touches[0].pageX),this.setProgressBall(this.percentage),this.setCurrentTime(this.percentage*this.duration))}onDocumentTouchEnd(){this.isDraggingProgressBall&&(this.isDraggingProgressBall=!1,this.seekFunc(this.percentage*this.duration),this.toggleVisibility(!0))}async setProgressBall(t){this.progressBallRef&&(this.progressBallRef.style.left=100*t+"%")}async toggleVisibility(t){const i=void 0===t?!this.visible:t;i?(this.hideControlsTimer&&clearTimeout(this.hideControlsTimer),this.isPlaying&&(this.hideControlsTimer=setTimeout((()=>{this.toggleVisibility(!1)}),2e3)),this.controlsRef.style.visibility="visible"):this.controlsRef.style.visibility="hidden",this.visible=!!i}async getIsDraggingProgressBall(){return this.isDraggingProgressBall}async setCurrentTime(t){this.currentTimeRef.innerHTML=r(t)}render(){const{controls:t,currentTime:o,duration:s,isPlaying:a,pauseFunc:n,playFunc:h,showPlayBtn:l,showProgress:A}=this,d=r(s);let c;return c=l?i("div",a?{class:"taro-video-control-button taro-video-control-button-pause",onClick:n}:{class:"taro-video-control-button taro-video-control-button-play",onClick:h}):null,i(e,{class:"taro-video-bar taro-video-bar-full"},t&&i("div",{class:"taro-video-controls"},c,A&&i("div",{class:"taro-video-current-time",ref:t=>this.currentTimeRef=t},r(o)),A&&i("div",{class:"taro-video-progress-container",onClick:this.onClickProgress},i("div",{class:"taro-video-progress",ref:t=>{if(!t)return;const i=t.getBoundingClientRect();this.progressDimentions.left=i.left,this.progressDimentions.width=i.width}},i("div",{class:"taro-video-progress-buffered",style:{width:"100%"}}),i("div",{class:"taro-video-ball",ref:t=>this.progressBallRef=t,onTouchStart:this.onDragProgressBallStart,style:{left:(d?this.currentTime/s*100:0)+"%"}},i("div",{class:"taro-video-inner"})))),A&&i("div",{class:"taro-video-duration"},d)),i("slot",null))}get controlsRef(){return o(this)}},d=class{constructor(i){t(this,i),this.onPlay=s(this,"play",7),this.onPause=s(this,"pause",7),this.onEnded=s(this,"ended",7),this.onTimeUpdate=s(this,"timeupdate",7),this.onError=s(this,"error",7),this.onFullScreenChange=s(this,"fullscreenchange",7),this.onProgress=s(this,"progress",7),this.onLoadedMetaData=s(this,"loadedmetadata",7),this.currentTime=0,this.isDraggingProgress=!1,this.gestureType="none",this.controls=!0,this.autoplay=!1,this.loop=!1,this.muted=!1,this.initialTime=0,this.objectFit="contain",this.showProgress=!0,this.showFullscreenBtn=!0,this.showPlayBtn=!0,this.showCenterPlayBtn=!0,this.showMuteBtn=!1,this.danmuBtn=!1,this.enableDanmu=!1,this.enablePlayGesture=!1,this.enableProgressGesture=!0,this.vslideGesture=!1,this.vslideGestureInFullscreen=!0,this.nativeProps={},this._enableDanmu=!1,this.isPlaying=!1,this.isFirst=!0,this.isFullScreen=!1,this.fullScreenTimestamp=(new Date).getTime(),this.isMute=!1,this.analyseGesture=t=>{var i;const e={type:"none"},o=t.touches[0].screenX-this.lastTouchScreenX,s=t.touches[0].screenY-this.lastTouchScreenY,a=this.isFullScreen?this.vslideGestureInFullscreen:this.vslideGesture;if("none"===this.gestureType){if(r=s,Math.sqrt(Math.pow(o,2)+Math.pow(r,2))<10)return e;if(Math.abs(s)>=Math.abs(o)){if(!a)return e;this.gestureType="adjustVolume",this.lastVolume=this.videoRef.volume}else if(Math.abs(s)<Math.abs(o)){if(!this.enableProgressGesture)return e;this.gestureType="adjustProgress",this.lastPercentage=this.currentTime/(null!==(i=this.duration)&&void 0!==i?i:this._duration)}}var r;return e.type=this.gestureType,e.dataX=n(o/200),e.dataY=n(s/200),e},this.handlePlay=()=>{this.isPlaying=!0,this.isFirst=!1,this.controlsRef.toggleVisibility(!0),this.onPlay.emit()},this.handlePause=()=>{this.isPlaying=!1,this.controlsRef.toggleVisibility(!0),this.onPause.emit()},this.handleEnded=()=>{this.isFirst=!0,this.pause(),this.controlsRef.toggleVisibility(),this.onEnded.emit()},this.handleTimeUpdate=h((async t=>{var i,e;this.currentTime=this.videoRef.currentTime;const o=this.duration||this._duration,s=await this.controlsRef.getIsDraggingProgressBall();this.controls&&this.showProgress&&(s||this.isDraggingProgress||(this.controlsRef.setProgressBall(this.currentTime/o),this.controlsRef.setCurrentTime(this.currentTime))),this.danmuRef.tick(this.currentTime),this.onTimeUpdate.emit({duration:null===(i=t.target)||void 0===i?void 0:i.duration,currentTime:null===(e=t.target)||void 0===e?void 0:e.currentTime}),this.duration&&this.currentTime>=this.duration&&(this.seek(0),this.handleEnded())}),250),this.handleError=t=>{var i,e;this.onError.emit({errMsg:null===(e=null===(i=t.target)||void 0===i?void 0:i.error)||void 0===e?void 0:e.message})},this.handleDurationChange=()=>{this._duration=this.videoRef.duration},this.handleProgress=()=>{this.onProgress.emit()},this.handleLoadedMetaData=t=>{const i=t.target;this.onLoadedMetaData.emit({width:i.videoWidth,height:i.videoHeight,duration:i.duration})},this._play=()=>this.videoRef.play(),this._pause=()=>this.videoRef.pause(),this._stop=()=>{this.videoRef.pause(),this._seek(0)},this._seek=t=>{this.videoRef.currentTime=t},this.onTouchStartContainer=t=>{this.lastTouchScreenX=t.touches[0].screenX,this.lastTouchScreenY=t.touches[0].screenY},this.onClickContainer=()=>{if(this.enablePlayGesture){const t=Date.now();t-this.lastClickedTime<300&&(this.isPlaying?this.pause():this.play()),this.lastClickedTime=t}this.controlsRef.toggleVisibility()},this.onClickFullScreenBtn=t=>{t.stopPropagation(),this.toggleFullScreen()},this.handleFullScreenChange=t=>{const i=(new Date).getTime();!t.detail&&this.isFullScreen&&!document[l.fullscreenElement]&&i-this.fullScreenTimestamp>100&&this.toggleFullScreen(!1)},this.toggleFullScreen=(t=!this.isFullScreen)=>{this.isFullScreen=t,this.controlsRef.toggleVisibility(!0),this.fullScreenTimestamp=(new Date).getTime(),this.onFullScreenChange.emit({fullScreen:this.isFullScreen,direction:"vertical"}),this.isFullScreen&&!document[l.fullscreenElement]&&setTimeout((()=>{this.videoRef[l.requestFullscreen]({navigationUI:"show"})}),0)},this.toggleMute=t=>{t.stopPropagation(),this.videoRef.muted=!this.isMute,this.controlsRef.toggleVisibility(!0),this.isMute=!this.isMute},this.toggleDanmu=t=>{t.stopPropagation(),this.controlsRef.toggleVisibility(!0),this._enableDanmu=!this._enableDanmu}}componentWillLoad(){this._enableDanmu=this.enableDanmu}componentDidLoad(){this.initialTime&&(this.videoRef.currentTime=this.initialTime),this.danmuRef.sendDanmu(this.danmuList),document.addEventListener&&document.addEventListener(l.fullscreenchange,this.handleFullScreenChange)}componentDidRender(){}disconnectedCallback(){document.removeEventListener&&document.removeEventListener(l.fullscreenchange,this.handleFullScreenChange)}watchEnableDanmu(t){this._enableDanmu=t}async onDocumentTouchMove(t){if(void 0===this.lastTouchScreenX||void 0===this.lastTouchScreenY)return;if(await this.controlsRef.getIsDraggingProgressBall())return;const i=this.analyseGesture(t);if("adjustVolume"===i.type){this.toastVolumeRef.style.visibility="visible";const t=Math.max(Math.min(this.lastVolume-i.dataY,1),0);this.videoRef.volume=t,this.toastVolumeBarRef.style.width=100*t+"%"}else if("adjustProgress"===i.type){this.isDraggingProgress=!0,this.nextPercentage=Math.max(Math.min(this.lastPercentage+i.dataX,1),0),this.controls&&this.showProgress&&(this.controlsRef.setProgressBall(this.nextPercentage),this.controlsRef.toggleVisibility(!0));const t=this.duration||this._duration;this.toastProgressTitleRef.innerHTML=`${r(this.nextPercentage*t)} / ${r(t)}`,this.toastProgressRef.style.visibility="visible"}}onDocumentTouchEnd(){var t;"adjustVolume"===this.gestureType?this.toastVolumeRef.style.visibility="hidden":"adjustProgress"===this.gestureType&&(this.toastProgressRef.style.visibility="hidden"),this.isDraggingProgress&&(this.isDraggingProgress=!1,this.seek(this.nextPercentage*(null!==(t=this.duration)&&void 0!==t?t:this._duration))),this.gestureType="none",this.lastTouchScreenX=void 0,this.lastTouchScreenY=void 0}async play(){this._play()}async pause(){this._pause()}async stop(){this._stop()}async seek(t){this._seek(t)}async requestFullScreen(){this.toggleFullScreen(!0)}async exitFullScreen(){this.toggleFullScreen(!1)}render(){const{src:t,controls:o,autoplay:s,loop:n,muted:h,poster:l,objectFit:A,isFirst:d,isMute:c,isFullScreen:u,duration:b,_duration:g,showCenterPlayBtn:p,isPlaying:v,_enableDanmu:m,showMuteBtn:w,danmuBtn:E,showFullscreenBtn:I,nativeProps:x}=this,f=r(b||g||null);return i(e,{class:a("taro-video-container",{"taro-video-type-fullscreen":u}),onTouchStart:this.onTouchStartContainer,onClick:this.onClickContainer},i("video",Object.assign({class:"taro-video-video",style:{"object-fit":A},ref:t=>{t&&(this.videoRef=t)},src:t,autoplay:s,loop:n,muted:h,poster:o?l:void 0,playsinline:!0,"webkit-playsinline":!0,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onTimeUpdate:this.handleTimeUpdate,onError:this.handleError,onDurationChange:this.handleDurationChange,onProgress:this.handleProgress,onLoadedMetaData:this.handleLoadedMetaData},x),"暂时不支持播放该视频"),i("taro-video-danmu",{ref:t=>{t&&(this.danmuRef=t)},enable:m}),d&&p&&!v&&i("div",{class:"taro-video-cover"},i("div",{class:"taro-video-cover-play-button",onClick:()=>this.play()}),i("p",{class:"taro-video-cover-duration"},f)),i("taro-video-control",{ref:t=>{t&&(this.controlsRef=t)},controls:o,currentTime:this.currentTime,duration:this.duration||this._duration||void 0,isPlaying:this.isPlaying,pauseFunc:this._pause,playFunc:this._play,seekFunc:this._seek,showPlayBtn:this.showPlayBtn,showProgress:this.showProgress},w&&i("div",{class:a("taro-video-mute",{"taro-video-type-mute":c}),onClick:this.toggleMute}),E&&i("div",{class:a("taro-video-danmu-button",{"taro-video-danmu-button-active":m}),onClick:this.toggleDanmu},"弹幕"),I&&i("div",{class:a("taro-video-fullscreen",{"taro-video-type-fullscreen":u}),onClick:this.onClickFullScreenBtn})),i("div",{class:"taro-video-toast taro-video-toast-volume",ref:t=>{t&&(this.toastVolumeRef=t)}},i("div",{class:"taro-video-toast-title"},"音量"),i("div",{class:"taro-video-toast-icon"}),i("div",{class:"taro-video-toast-value"},i("div",{class:"taro-video-toast-value-content",ref:t=>{t&&(this.toastVolumeBarRef=t)}},i("div",{class:"taro-video-toast-volume-grids"},Array(10).fill(1).map((()=>i("div",{class:"taro-video-toast-volume-grids-item"}))))))),i("div",{class:"taro-video-toast taro-video-toast-progress",ref:t=>{t&&(this.toastProgressRef=t)}},i("div",{class:"taro-video-toast-title",ref:t=>{t&&(this.toastProgressTitleRef=t)}})))}get el(){return o(this)}static get watchers(){return{enableDanmu:["watchEnableDanmu"]}}};d.style='.taro-video{width:100%;height:225px;display:inline-block;line-height:0;overflow:hidden;position:relative}.taro-video[hidden]{display:none}.taro-video-container{width:100%;height:100%;background-color:#000;display:inline-block;position:absolute;top:0;left:0;overflow:hidden;-o-object-position:inherit;object-position:inherit}.taro-video-container.taro-video-type-fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:999}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-left{-webkit-transform:translate(-50%, -50%) rotate(-90deg);transform:translate(-50%, -50%) rotate(-90deg)}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-right{-webkit-transform:translate(-50%, -50%) rotate(90deg);transform:translate(-50%, -50%) rotate(90deg)}.taro-video-video{width:100%;height:100%;-o-object-position:inherit;object-position:inherit}.taro-video-cover{position:absolute;top:0;left:0;bottom:0;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;background-color:rgba(1, 1, 1, 0.5);z-index:1}.taro-video-cover-play-button{width:40px;height:40px;background-size:50%;background-repeat:no-repeat;background-position:50% 50%}.taro-video-cover-duration{color:#fff;font-size:16px;line-height:1;margin-top:10px}.taro-video-bar{visibility:hidden;height:44px;background-color:rgba(0, 0, 0, 0.5);overflow:hidden;position:absolute;bottom:0;right:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:0 10px;z-index:1}.taro-video-bar.taro-video-bar-full{left:0}.taro-video-controls{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;margin:0 8.5px}.taro-video-control-button{width:13px;height:15px;padding:14.5px 12.5px 14.5px 12.5px;margin-left:-8.5px;-webkit-box-sizing:content-box;box-sizing:content-box}.taro-video-control-button:after{content:"";display:block;width:100%;height:100%;background-size:100%;background-position:50% 50%;background-repeat:no-repeat}.taro-video-control-button.taro-video-control-button-play:after,.taro-video-cover-play-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAeCAYAAAAy2w7YAAAAAXNSR0IArs4c6QAAAWhJREFUSA1j+P///0cgBoHjQGzCQCsAtgJB/AMy5wCxGNXtQ9iBwvoA5BUCMQvVLEQxHpNzDSjkRhXLMM3GKrIeKKpEkYVYjcUu+AMo3ALE3GRZiN1MvKKPgbIRJFuG10j8koeA0gZEW4jfLIKyf4EqpgOxMEELCRpFnIJ3QGU5QMyM00LizCFa1SWgSkeslhFtBGkKVwGVy6FYSJp+klR/A6quB2JOkIWMIK0oNlOf8xBoZDE9LAI7nYn6HsBq4l96WHQEaLUpAyiOaASeAM2NgvuPBpaACt82IEYtfKls0UagecpwXyAzqGTRdaA57sjmYrAptAjUsCkGYlYMg9EFyLQI1IiZB8Ti6Obh5JNh0QmgHlOcBuKSIMGi50C18UDMiMssvOJEWPQLqKYbiHnxGkRIkoBF24DyaoTMIEoeh0W3geI+RBlArCI0iz4D+RVAzEasfqLVAQ19AcSg5LoYiKWI1kiiQgCMBLnEEcfDSgAAAABJRU5ErkJggg==)}.taro-video-control-button.taro-video-control-button-pause:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAAAXNSR0IArs4c6QAAAFlJREFUSA3tksEKACAIQ7X//5zq98wOgQayum8QaGweHhMzG/6OujzKAymn+0LMqivu1XznWmX8/echTIyMyAgTwA72iIwwAexgj8gIE8CO3aMRbDPMaEy5BRGaKcZv8YxRAAAAAElFTkSuQmCC)}.taro-video-current-time,.taro-video-duration{height:14.5px;line-height:14.5px;margin-top:15px;margin-bottom:14.5px;font-size:12px;color:#cbcbcb}.taro-video-progress-container{-webkit-box-flex:2;-webkit-flex-grow:2;-ms-flex-positive:2;flex-grow:2;position:relative}.taro-video-progress{height:2px;margin:21px 12px;background-color:rgba(255, 255, 255, 0.4);position:relative}.taro-video-progress-buffered{position:absolute;left:0;top:0;width:0;height:100%;-webkit-transition:width 0.1s;transition:width 0.1s;background-color:rgba(255, 255, 255, 0.8)}.taro-video-ball{width:16px;height:16px;padding:14px;position:absolute;top:-21px;-webkit-box-sizing:content-box;box-sizing:content-box;left:0;margin-left:-22px}.taro-video-inner{width:100%;height:100%;background-color:#fff;border-radius:50%}.taro-video-danmu-button{white-space:nowrap;line-height:1;padding:2px 10px;border:1px solid #fff;border-radius:5px;font-size:13px;color:#fff;margin:0 8.5px}.taro-video-danmu-button.taro-video-danmu-button-active{border-color:#48c23d;color:#48c23d}.taro-video-fullscreen,.taro-video-mute{width:17px;height:17px;padding:8.5px;-webkit-box-sizing:content-box;box-sizing:content-box;background-size:50%;background-position:50% 50%;background-repeat:no-repeat}.taro-video-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAhUlEQVRYR+2WSwrAMAhEnZO3PfmULLooGEFTiIXJ2s/kRY2wzQeb85sE9CRA8jSzY1YfAFzhJBnU1AVgxH2dSiArCnD9QgGzRNnOech48SRABHoSyFb5in3PSbhyo6yvCPQkEM3u7BsPe/0FIvBfAh/vhKmVbO9SWun1qk/PSVi9TcVPBG6R1YIhgWwNpQAAAABJRU5ErkJggg==)}.taro-video-fullscreen.taro-video-type-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABPUlEQVRYR+2Xu0pDURBF1/ZLx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9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5PmxYVAAACLklEQVRYhc2XP2sVQRRHz40hKoqaQgVBCy1EozFlGiVFxMLGh4piYWEh+hkEP4YKAVFEEFTyughaCH6DqIVpAhYWEgIxoJE8cywyi5tNHu/tJmvyg2WZO3dmzt47/zZUtoJ6Nhsg09YDiYhKDzACTAFNYH9lEpUq80TdrT5wpV5n/ZV9KoGoo+pXV2uyKkipOaLuUceAt8DhUvQd1FsCYhR4ChzaSIBMHSOi7lOfsByFWiCgEBH1GHAF2JlMPcBt4GC3HUYEaj9wF3gVEVPtfNVTwAXgWX7CDKq/1piAZTSZBmim8qJ6sQ3EgDqb/L7kU3MH2NHtl3dQX3r3Ak21UYAYAj4A/cl0JB+RF+uMRj4iQ+p8zt7KYFLdXKHuRi0gacBhV6a6pd5bA6KRNagFJPU9qv5u47toLmW1HnoR8Q5oAK1CVQu4FBHj/wUkaXsb+4pzpVaQFPqXrN7Be4Fx9VztIOr1BLEtmX4A94E/qdwHTKjDWYM6lu81dSlnn3V570BtuLxaMs2rZ/IgYxsBovaoPwsQA4VoFWEm8ql5DiysNyURsQTMpOIMcDYiPhd8xoGr/FtNC2G6FKXD6ihwGdiVHMoeeh8jYlA9ANwE3kTEp3bO6vE03qOONzR1r/q4RGrquaFFxFxE3ALOA9+6jExpdb180y55AhirhaRTatq0GXEzL8+ZIuI9cBJ4WKiartJf9nWV/mty7UfUafW7erpqRGI9EBuprffvu9n6C1KOmsqwI5A1AAAAAElFTkSuQmCC)}.taro-video-danmu{position:absolute;top:0;left:0;bottom:0;width:100%;margin-top:14px;margin-bottom:44px;font-size:14px;line-height:14px;overflow:visible}.taro-video-danmu-item{line-height:1;position:absolute;color:#fff;white-space:nowrap;left:100%;-webkit-transform:translatex(0);transform:translatex(0);-webkit-transition-property:left, -webkit-transform;transition-property:left, -webkit-transform;transition-property:left, transform;transition-property:left, transform, -webkit-transform;-webkit-transition-duration:3s;transition-duration:3s;-webkit-transition-timing-function:linear;transition-timing-function:linear}.taro-video-toast{pointer-events:none;position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);border-radius:5px;background-color:rgba(255, 255, 255, 0.8);color:#000;display:block;visibility:hidden}.taro-video-toast.taro-video-toast-volume{width:100px;height:100px;display:block}.taro-video-toast-volume .taro-video-toast-title{width:100%;font-size:12px;line-height:16px;text-align:center;margin-top:10px;display:block}.taro-video-toast-volume .taro-video-toast-icon{fill:#000;width:50%;height:50%;margin-left:25%;display:block;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFhklEQVR4Xu2aeaxfQxTHP1VBES0NIQitWtpaaxeCUkQtaYVa0tiClAq1ExIiQTVppaWxt8RWSa2tWkJQRGgtQaSIpUKEpG0ssbbk28yV2+mZO/e9e3vvu/e98897mZnfzPl+75mZs0wvurn06ub46SGgxwLqZaA3sB/wO/A+8G/V6tS5BU4BJgJbO9DvAMOB36okoQ4CNgAeBEYbQK8Bbm4zAdsBc4EdAyA/APZoKwHHAA8DG2UA/AnYrG0ErAVcD1yXA9gfQJ8c40obsqbPgH7AY8CROTVuFQFD3X7fJid4DWsNAWOAGZ0w58YTsDZwKzChA189PbTRBGwKzAYO6iT4srbAMHfTfAksjulS1iG4JzAH2Dy2YKS/qAVcCdzi1vgZOBZ4PWvNGAG6wgYCW0IwctzNmf06BcEXtYABwOeA4otEfgEOdnGGqV6IAAUopwM6zDYuAVjeKYpYwCjgCWOhH513+b2lhE+Avrj89NPyalzyuCIE6EN9BfQ1dHoPOAD40+9LE6D/5aoqSqtLsgiQC60DTiHzfGCFoaSsQAexZdlTgEuyCDgLuK8u5G7dEAHyKN8CBrtxLwDHAX8Z+l4N3GS0L3db4aN0X5opmc+2XZQAfb2LPd2eciG1lUSRJZ9qYHkZONwiYAjwSc3gs24BXWWWfzEVuMjQez13HljX8v7A28lvE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Z/1QQkuitXr+d4fryuFx3jywQYm6suAqSX8vLTXKJDt4QqO6rtLYspXWZ/nQQkOJTAUJZGIav19q9MvKvN1RUIWKMAY5P3EBBjqO393d4C/gMVHwRQlpx21QAAAABJRU5ErkJggg==);background-size:50%;background-position:50% 50%;background-repeat:no-repeat}.taro-video-toast-volume .taro-video-toast-value{width:80px;height:5px;margin-top:5px;margin-left:10px}.taro-video-toast-volume .taro-video-toast-value>.taro-video-toast-value-content{overflow:hidden}.taro-video-toast-volume-grids{width:80px;height:5px}.taro-video-toast-volume-grids-item{float:left;width:7.1px;height:5px;background-color:#000}.taro-video-toast-volume-grids-item:not(:first-child){margin-left:1px}.taro-video-toast.taro-video-toast-progress{background-color:rgba(0, 0, 0, 0.8);color:#fff;font-size:14px;line-height:18px;padding:6px}';let c=class{constructor(i){t(this,i),this.list=[],this.danmuElList=[],this.currentTime=0,this.enable=!1,this.danmuList=[]}ensureProperties(t){const i=Object.assign({},t);return"time"in t||(i.time=this.currentTime),i.key=Math.random(),i.bottom=90*Math.random()+5+"%",i}async sendDanmu(t=[]){this.list=Array.isArray(t)?[...this.list,...t.map((t=>this.ensureProperties(t)))]:[...this.list,Object.assign({},this.ensureProperties(t))]}async tick(t){if(this.currentTime=t,!this.enable)return;const i=this.list.filter((({time:i})=>t-i<4&&t>i));let e=!1;const o=this.danmuList;e=i.length!==o.length||i.some((({key:t})=>o.every((i=>t!==i.key)))),e&&(this.danmuList=i)}componentDidUpdate(){requestAnimationFrame((()=>{setTimeout((()=>{this.danmuElList.splice(0).forEach((t=>{t.style.left="0",t.style.webkitTransform="translateX(-100%)",t.style.transform="translateX(-100%)"}))}))}))}render(){return this.enable?i(e,{class:"taro-video-danmu"},this.danmuList.map((({text:t,color:e,bottom:o,key:s})=>i("p",{class:"taro-video-danmu-item",key:s,style:{color:e,bottom:o},ref:t=>{t&&this.danmuElList.push(t)}},t)))):""}};export{A as taro_video_control,d as taro_video_core,c as taro_video_danmu}
@@ -1 +0,0 @@
1
- import{r,h as e,H as o}from"./p-49ae5efb.js";let a=class{constructor(e){r(this,e)}componentDidLoad(){console.error("H5 暂不支持 Camera 组件!")}render(){return e(o,null)}};export{a as taro_camera_core}
@@ -1 +0,0 @@
1
- import{r,c as o,h as e}from"./p-49ae5efb.js";let t=class{constructor(e){r(this,e),this.onLoad=o(this,"load",7),this.onError=o(this,"error",7)}render(){const{src:r,onLoad:o,onError:t}=this;return e("iframe",{class:"taro-webview",onLoad:e=>{e.stopPropagation(),o.emit({src:r})},onError:o=>{o.stopPropagation(),t.emit({src:r})},src:r})}};t.style="iframe{border:none}.taro-webview{position:fixed;top:0;bottom:0;width:100%;height:100%;z-index:999}";export{t as taro_web_view_core}
@@ -1 +0,0 @@
1
- import{r as e,h as o,H as r}from"./p-49ae5efb.js";let c=class{constructor(o){e(this,o)}componentDidLoad(){console.error("H5 暂不支持 PickerViewColumn 组件!")}render(){return o(r,null)}};export{c as taro_picker_view_column_core}
@@ -1 +0,0 @@
1
- import{r,h as e,H as o}from"./p-49ae5efb.js";let s=class{constructor(e){r(this,e)}render(){return e(o,null)}};export{s as taro_block_core}
@@ -1 +0,0 @@
1
- System.register(["./p-93748645.system.js"],(function(e){"use strict";var t,r,n;return{setters:[function(e){t=e.r;r=e.h;n=e.H}],execute:function(){var o=e("taro_cover_image_core",function(){function e(e){t(this,e)}e.prototype.componentDidLoad=function(){console.error("H5 暂不支持 CoverImage 组件!")};e.prototype.render=function(){return r(n,null)};return e}())}}}));
@@ -1 +0,0 @@
1
- import{h as t,r as a,c as r,H as e,g as o}from"./p-49ae5efb.js";import{c as s}from"./p-6967e577.js";function i(t){return"/"===t.charAt(0)}function b(t,a){for(var r=a,e=r+1,o=t.length;e<o;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:o,badgeText:i,showRedDot:b=!1,text:n,onSelect:h})=>{const l=s("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:o,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("/")||[],o=a&&a.split("/")||[],s=t&&i(t),n=a&&i(a),h=s||n;if(t&&i(t)?o=e:e.length&&(o.pop(),o=o.concat(e)),!o.length)return"/";if(o.length){var l=o[o.length-1];r="."===l||".."===l||""===l}else r=!1;for(var d=0,c=o.length;c>=0;c--){var _=o[c];"."===_?b(o,c):".."===_?(b(o,c),d++):d&&(b(o,c),d--)}if(!h)for(;d--;d)o.unshift("..");!h||""===o[0]||o[0]&&i(o[0])||o.unshift("");var u=o.join("/");return r&&"/"!==u.substr(-1)&&(u+="/"),u}(t,this.getOriginUrl(this.getCurrentUrl()||this.homePage)),o=this.getSelectedIndex(e);o>-1?(this.switchTab(o),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,errorHandler:r})=>{t in this.list?(this.list[t].showRedDot=!1,this.list[t].badgeText=a):r({errMsg:"setTabBarBadge:fail tabbar item not found"})},this.removeTabBarBadgeHandler=({index:t,successHandler:a,errorHandler:r})=>{t in this.list?(this.list[t].badgeText=null,this.list[t].badgeText=null,a({errMsg:"removeTabBarBadge:ok"})):r({errMsg:"removeTabBarBadge:fail tabbar item not found"})},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.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.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"})};const e=this.conf.list,o=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 o)this.customRoutes.push([t,o[t]]);e.forEach((t=>{0!==t.pagePath.indexOf("/")&&(t.pagePath="/"+t.pagePath)})),this.list=e}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)}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)}componentDidLoad(){this.tabbarPos=this.tabbar.nextElementSibling?"top":"bottom",this.bindEvent(),this.routerChangeHandler()}disconnectedCallback(){this.removeEvent()}render(){const{conf:a,tabbarPos:r="bottom"}=this,o=this.status,i=s("weui-tabbar",{[`taro-tabbar__border-${a.borderStyle||"black"}`]:!0});return t(e,{class:s("taro-tabbar__tabbar",`taro-tabbar__tabbar-${r}`,{"taro-tabbar__tabbar-hide":-1===this.selectedIndex||1===o,"taro-tabbar__tabbar-slideout":2===o})},t("div",{class:i,style:{backgroundColor:a.backgroundColor||""}},this.list.map(((r,e)=>{const o=this.selectedIndex===e;let s,i;return o?(s=a.selectedColor,i=r.selectedIconPath):(s=a.color||"",i=r.iconPath),t(h,{index:e,onSelect:this.switchTab.bind(this),isSelected:o,textColor:s,iconPath:i,text:r.text,badgeText:r.badgeText,showRedDot:r.showRedDot})}))))}get tabbar(){return o(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 +0,0 @@
1
- System.register(["./p-93748645.system.js"],(function(e){"use strict";var t,r,n;return{setters:[function(e){t=e.r;r=e.h;n=e.H}],execute:function(){var o=e("taro_cover_view_core",function(){function e(e){t(this,e)}e.prototype.componentDidLoad=function(){console.error("H5 暂不支持 CoverView 组件!")};e.prototype.render=function(){return r(n,null)};return e}())}}}));
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,g as e}from"./p-49ae5efb.js";function h(t,i,s){if("search"===i&&(t="search"),s&&(t="password"),void 0===t)return"text";if(!t)throw new Error("unexpected type");return"digit"===t&&(t="number"),t}let o=class{constructor(s){t(this,s),this.onInput=i(this,"input",7),this.onFocus=i(this,"focus",7),this.onBlur=i(this,"blur",7),this.onConfirm=i(this,"confirm",7),this.onChange=i(this,"change",7),this.onKeyDown=i(this,"keydown",7),this.isOnComposition=!1,this.onInputExcuted=!1,this.password=!1,this.disabled=!1,this.maxlength=140,this.autoFocus=!1,this.confirmType="done",this.nativeProps={},this.handleInput=t=>{t.stopPropagation();const{type:i,maxlength:s,confirmType:e,password:o}=this;if(!this.isOnComposition&&!this.onInputExcuted){let n=t.target.value;const a=h(i,e,o);this.onInputExcuted=!0,"number"===a&&n&&s<=n.length&&(n=n.substring(0,s),t.target.value=n),this._value=n,this.onInput.emit({value:n,cursor:n.length})}},this.handleFocus=t=>{this.onInputExcuted=!1,this.onFocus.emit({value:t.target.value})},this.handleBlur=t=>{this.onBlur.emit({value:t.target.value})},this.handleChange=t=>{t.stopPropagation(),this.onChange.emit({value:t.target.value})},this.handleKeyDown=t=>{const{value:i}=t.target,s=t.keyCode||t.code;this.onInputExcuted=!1,t.stopPropagation(),this.onKeyDown.emit({value:i,cursor:i.length,keyCode:s}),13===s&&this.onConfirm.emit({value:i})},this.handleComposition=t=>{t.target instanceof HTMLInputElement&&("compositionend"===t.type?(this.isOnComposition=!1,this.onInput.emit({value:t.target.value})):this.isOnComposition=!0)}}watchHandler(t,i){t!==i&&(this._value=t)}watchFocus(t,i){var s;!i&&t&&(null===(s=this.inputRef)||void 0===s||s.focus())}componentWillLoad(){this._value=this.value}componentDidLoad(){var t,i,s;"file"===this.type?(this.fileListener=()=>{this.onInput.emit()},null===(t=this.inputRef)||void 0===t||t.addEventListener("change",this.fileListener)):(null===(i=this.inputRef)||void 0===i||i.addEventListener("compositionstart",this.handleComposition),null===(s=this.inputRef)||void 0===s||s.addEventListener("compositionend",this.handleComposition)),Object.defineProperty(this.el,"value",{get:()=>{var t;return null===(t=this.inputRef)||void 0===t?void 0:t.value},set:t=>{this._value=t},configurable:!0})}disconnectedCallback(){var t;"file"===this.type&&(null===(t=this.inputRef)||void 0===t||t.removeEventListener("change",this.fileListener))}render(){const{_value:t,type:i,password:e,placeholder:o,disabled:n,maxlength:a,autoFocus:r,confirmType:l,name:u,nativeProps:c}=this;return s("input",Object.assign({ref:t=>{this.inputRef=t,r&&(null==t||t.focus())},class:"weui-input",value:(d=t,null!=d?d:""),type:h(i,l,e),placeholder:o,disabled:n,maxlength:a,autofocus:r,name:u,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onChange:this.handleChange,onKeyDown:this.handleKeyDown},c));var d}get el(){return e(this)}static get watchers(){return{value:["watchHandler"],autoFocus:["watchFocus"]}}};o.style="taro-input-core{display:block}input{display:block;height:1.4rem;text-align:inherit;text-overflow:clip;overflow:hidden;white-space:nowrap}";export{o as taro_input_core}
@@ -1 +0,0 @@
1
- import{r as t,h as e,H as r}from"./p-49ae5efb.js";let n=class{constructor(r){t(this,r),this.renderNode=t=>{if("type"in t&&"text"===t.type)return(t.text||"").replace(/&nbsp;/g," ");if("name"in t&&t.name){const{name:r,attrs:n,children:s}=t,o={};let i=[];if(n&&"object"==typeof n)for(const t in n){const e=n[t];if("style"!==t||"string"!=typeof e)o[t]=e;else{const t=e.split(";").map((t=>t.trim())).filter((t=>t)),r={};t.forEach((t=>{if(!t)return;const e=/(.+): *(.+)/g.exec(t);if(!e)return;const[,n,s]=e,o=n.replace(/-([a-z])/g,((...t)=>t[1].toUpperCase()));r[o]=s})),Object.keys(r).length&&(o.style=r)}}return s&&s.length&&(i=s.map((t=>this.renderNode(t)))),e(r,o,i)}return null}}render(){const{nodes:t,renderNode:n}=this;return Array.isArray(t)?e(r,null,t.map((t=>n(t)))):e(r,{innerHTML:t})}};export{n as taro_rich_text_core}
@@ -1 +0,0 @@
1
- import{r as e,h as o,H as r}from"./p-49ae5efb.js";let a=class{constructor(o){e(this,o)}componentDidLoad(){console.error("H5 暂不支持 MovableArea 组件!")}render(){return o(r,null)}};export{a as taro_movable_area_core}