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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (246) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/taro-ad-core.cjs.entry.js +19 -0
  3. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +19 -0
  4. package/dist/cjs/taro-components.cjs.js +1 -1
  5. package/dist/cjs/taro-editor-core.cjs.entry.js +19 -0
  6. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +19 -0
  7. package/dist/cjs/taro-image-core.cjs.entry.js +2 -2
  8. package/dist/cjs/taro-input-core.cjs.entry.js +15 -4
  9. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +19 -0
  10. package/dist/cjs/taro-live-player-core.cjs.entry.js +19 -0
  11. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +19 -0
  12. package/dist/cjs/taro-map-core.cjs.entry.js +19 -0
  13. package/dist/cjs/taro-match-media-core.cjs.entry.js +19 -0
  14. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +19 -0
  15. package/dist/cjs/taro-navigator-core.cjs.entry.js +10 -6
  16. package/dist/cjs/taro-official-account-core.cjs.entry.js +19 -0
  17. package/dist/cjs/taro-page-container-core.cjs.entry.js +19 -0
  18. package/dist/cjs/taro-page-meta-core.cjs.entry.js +19 -0
  19. package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +7 -3
  20. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +3 -3
  21. package/dist/cjs/taro-share-element-core.cjs.entry.js +19 -0
  22. package/dist/cjs/taro-slot-core.cjs.entry.js +19 -0
  23. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +10 -1
  24. package/dist/cjs/taro-tabbar.cjs.entry.js +37 -31
  25. package/dist/cjs/taro-textarea-core.cjs.entry.js +3 -3
  26. package/dist/cjs/taro-voip-room-core.cjs.entry.js +19 -0
  27. package/dist/collection/collection-manifest.json +20 -4
  28. package/dist/collection/components/ad/ad.js +11 -0
  29. package/dist/collection/components/ad-custom/ad-custom.js +11 -0
  30. package/dist/collection/components/editor/editor.js +11 -0
  31. package/dist/collection/components/functional-page-navigator/functional-page-navigator.js +11 -0
  32. package/dist/collection/components/image/image.js +1 -1
  33. package/dist/collection/components/image/style/index.css +2 -2
  34. package/dist/collection/components/input/input.js +29 -4
  35. package/dist/collection/components/keyboard-accessory/keyboard-accessory.js +11 -0
  36. package/dist/collection/components/live-player/live-player.js +11 -0
  37. package/dist/collection/components/live-pusher/live-pusher.js +11 -0
  38. package/dist/collection/components/map/map.js +11 -0
  39. package/dist/collection/components/match-media/match-media.js +11 -0
  40. package/dist/collection/components/{movable-view → movable-area}/movable-area.js +0 -0
  41. package/dist/collection/components/{movable-view → movable-area}/movable-view.js +0 -0
  42. package/dist/collection/components/navigation-bar/navigation-bar.js +11 -0
  43. package/dist/collection/components/navigator/navigator.js +1 -1
  44. package/dist/collection/components/official-account/official-account.js +11 -0
  45. package/dist/collection/components/page-container/page-container.js +11 -0
  46. package/dist/collection/components/page-meta/page-meta.js +11 -0
  47. package/dist/collection/components/{picker-view-column → picker-view}/picker-view-column.js +0 -0
  48. package/dist/collection/components/{pull-down-refresh → pull-to-refresh}/pull-to-refresh.js +1 -1
  49. package/dist/collection/components/{pull-down-refresh → pull-to-refresh}/style/index.css +0 -0
  50. package/dist/collection/components/scroll-view/scroll-view.js +3 -3
  51. package/dist/collection/components/share-element/share-element.js +11 -0
  52. package/dist/collection/components/slot/slot.js +11 -0
  53. package/dist/collection/components/swiper/swiper.js +10 -1
  54. package/dist/collection/components/tabbar/style/index.css +1 -1
  55. package/dist/collection/components/tabbar/tabbar.js +10 -4
  56. package/dist/collection/components/textarea/textarea.js +3 -3
  57. package/dist/collection/components/voip-room/voip-room.js +11 -0
  58. package/dist/collection/utils/index.js +50 -64
  59. package/dist/esm/loader.js +1 -1
  60. package/dist/esm/taro-ad-core.entry.js +15 -0
  61. package/dist/esm/taro-ad-custom-core.entry.js +15 -0
  62. package/dist/esm/taro-components.js +1 -1
  63. package/dist/esm/taro-editor-core.entry.js +15 -0
  64. package/dist/esm/taro-functional-page-navigator-core.entry.js +15 -0
  65. package/dist/esm/taro-image-core.entry.js +2 -2
  66. package/dist/esm/taro-input-core.entry.js +15 -4
  67. package/dist/esm/taro-keyboard-accessory-core.entry.js +15 -0
  68. package/dist/esm/taro-live-player-core.entry.js +15 -0
  69. package/dist/esm/taro-live-pusher-core.entry.js +15 -0
  70. package/dist/esm/taro-map-core.entry.js +15 -0
  71. package/dist/esm/taro-match-media-core.entry.js +15 -0
  72. package/dist/esm/taro-navigation-bar-core.entry.js +15 -0
  73. package/dist/esm/taro-navigator-core.entry.js +1 -1
  74. package/dist/esm/taro-official-account-core.entry.js +15 -0
  75. package/dist/esm/taro-page-container-core.entry.js +15 -0
  76. package/dist/esm/taro-page-meta-core.entry.js +15 -0
  77. package/dist/esm/taro-pull-to-refresh.entry.js +1 -1
  78. package/dist/esm/taro-scroll-view-core.entry.js +3 -3
  79. package/dist/esm/taro-share-element-core.entry.js +15 -0
  80. package/dist/esm/taro-slot-core.entry.js +15 -0
  81. package/dist/esm/taro-swiper-core_2.entry.js +10 -1
  82. package/dist/esm/taro-tabbar.entry.js +12 -10
  83. package/dist/esm/taro-textarea-core.entry.js +3 -3
  84. package/dist/esm/taro-voip-room-core.entry.js +15 -0
  85. package/dist/esm-es5/loader.js +1 -1
  86. package/dist/esm-es5/taro-ad-core.entry.js +1 -0
  87. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -0
  88. package/dist/esm-es5/taro-components.js +1 -1
  89. package/dist/esm-es5/taro-editor-core.entry.js +1 -0
  90. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -0
  91. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  92. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  93. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -0
  94. package/dist/esm-es5/taro-live-player-core.entry.js +1 -0
  95. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -0
  96. package/dist/esm-es5/taro-map-core.entry.js +1 -0
  97. package/dist/esm-es5/taro-match-media-core.entry.js +1 -0
  98. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -0
  99. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  100. package/dist/esm-es5/taro-official-account-core.entry.js +1 -0
  101. package/dist/esm-es5/taro-page-container-core.entry.js +1 -0
  102. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -0
  103. package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
  104. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  105. package/dist/esm-es5/taro-share-element-core.entry.js +1 -0
  106. package/dist/esm-es5/taro-slot-core.entry.js +1 -0
  107. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  108. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  109. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  110. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -0
  111. package/dist/taro-components/p-0303f9e0.entry.js +1 -0
  112. package/dist/taro-components/p-0472e474.system.entry.js +1 -0
  113. package/dist/taro-components/p-04818461.system.entry.js +1 -0
  114. package/dist/taro-components/p-065ec61d.entry.js +1 -0
  115. package/dist/taro-components/p-06af26db.system.entry.js +1 -0
  116. package/dist/taro-components/p-0c2982fc.system.entry.js +1 -0
  117. package/dist/taro-components/p-0ee69803.entry.js +1 -0
  118. package/dist/taro-components/p-14dbbb42.entry.js +1 -0
  119. package/dist/taro-components/p-15bea37d.entry.js +1 -0
  120. package/dist/taro-components/p-2d2f8064.entry.js +1 -0
  121. package/dist/taro-components/{p-627a5064.system.entry.js → p-2dc57c71.system.entry.js} +1 -1
  122. package/dist/taro-components/{p-64993f48.entry.js → p-32937866.entry.js} +1 -1
  123. package/dist/taro-components/p-3334ac67.system.entry.js +1 -0
  124. package/dist/taro-components/p-336f2b2a.system.entry.js +1 -0
  125. package/dist/taro-components/p-33ee636a.system.js +1 -1
  126. package/dist/taro-components/p-3c0230ba.entry.js +1 -0
  127. package/dist/taro-components/p-3dfb1807.entry.js +1 -0
  128. package/dist/taro-components/p-527a38ee.system.entry.js +1 -0
  129. package/dist/taro-components/p-56618f09.entry.js +1 -0
  130. package/dist/taro-components/p-59d38db0.entry.js +1 -0
  131. package/dist/taro-components/{p-12ae0a33.entry.js → p-63ff7fa7.entry.js} +1 -1
  132. package/dist/taro-components/p-7423fc3b.system.entry.js +1 -0
  133. package/dist/taro-components/p-7721e046.entry.js +1 -0
  134. package/dist/taro-components/p-7cdad34e.system.entry.js +1 -0
  135. package/dist/taro-components/p-8b2bf902.system.entry.js +1 -0
  136. package/dist/taro-components/p-92e95d3f.entry.js +1 -0
  137. package/dist/taro-components/p-94502fc3.entry.js +1 -0
  138. package/dist/taro-components/p-98b47fc9.system.entry.js +1 -0
  139. package/dist/taro-components/p-99cb65a6.system.entry.js +1 -0
  140. package/dist/taro-components/p-9dc9c615.system.entry.js +1 -0
  141. package/dist/taro-components/p-9eb7dfa8.entry.js +1 -0
  142. package/dist/taro-components/p-abe415b4.system.entry.js +1 -0
  143. package/dist/taro-components/{p-3aac5746.system.entry.js → p-b15d0302.system.entry.js} +1 -1
  144. package/dist/taro-components/p-b55fedc1.entry.js +1 -0
  145. package/dist/taro-components/p-b6d6c744.entry.js +1 -0
  146. package/dist/taro-components/p-b87cf623.entry.js +1 -0
  147. package/dist/taro-components/p-cb395e7d.entry.js +1 -0
  148. package/dist/taro-components/{p-6965567d.entry.js → p-cc818a13.entry.js} +1 -1
  149. package/dist/taro-components/p-cdffee54.system.entry.js +1 -0
  150. package/dist/taro-components/p-cf55a63c.entry.js +1 -0
  151. package/dist/taro-components/p-cfbfeee8.entry.js +1 -0
  152. package/dist/taro-components/p-d1c2481c.system.entry.js +1 -0
  153. package/dist/taro-components/p-df5a19b0.system.entry.js +1 -0
  154. package/dist/taro-components/p-e03fa2d5.system.entry.js +1 -0
  155. package/dist/taro-components/p-e1040131.entry.js +1 -0
  156. package/dist/taro-components/p-e2f6448d.system.entry.js +1 -0
  157. package/dist/taro-components/p-ebf5b2eb.system.entry.js +1 -0
  158. package/dist/taro-components/p-fcc1c676.system.entry.js +1 -0
  159. package/dist/taro-components/{p-13c1404f.system.entry.js → p-fd0d1168.system.entry.js} +1 -1
  160. package/dist/taro-components/taro-components.css +1 -1
  161. package/dist/taro-components/taro-components.esm.js +1 -1
  162. package/dist/types/components/ad/ad.d.ts +4 -0
  163. package/dist/types/components/ad-custom/ad-custom.d.ts +4 -0
  164. package/dist/types/components/editor/editor.d.ts +4 -0
  165. package/dist/types/components/functional-page-navigator/functional-page-navigator.d.ts +4 -0
  166. package/dist/types/components/input/input.d.ts +3 -0
  167. package/dist/types/components/keyboard-accessory/keyboard-accessory.d.ts +4 -0
  168. package/dist/types/components/live-player/live-player.d.ts +4 -0
  169. package/dist/types/components/live-pusher/live-pusher.d.ts +4 -0
  170. package/dist/types/components/map/map.d.ts +4 -0
  171. package/dist/types/components/match-media/match-media.d.ts +4 -0
  172. package/dist/types/components/{movable-view → movable-area}/movable-area.d.ts +0 -0
  173. package/dist/types/components/{movable-view → movable-area}/movable-view.d.ts +0 -0
  174. package/dist/types/components/navigation-bar/navigation-bar.d.ts +4 -0
  175. package/dist/types/components/official-account/official-account.d.ts +4 -0
  176. package/dist/types/components/page-container/page-container.d.ts +4 -0
  177. package/dist/types/components/page-meta/page-meta.d.ts +4 -0
  178. package/dist/types/components/{picker-view-column → picker-view}/picker-view-column.d.ts +0 -0
  179. package/dist/types/components/{pull-down-refresh → pull-to-refresh}/pull-to-refresh.d.ts +0 -0
  180. package/dist/types/components/share-element/share-element.d.ts +4 -0
  181. package/dist/types/components/slot/slot.d.ts +4 -0
  182. package/dist/types/components/swiper/swiper.d.ts +1 -0
  183. package/dist/types/components/tabbar/tabbar.d.ts +1 -1
  184. package/dist/types/components/textarea/textarea.d.ts +1 -1
  185. package/dist/types/components/voip-room/voip-room.d.ts +4 -0
  186. package/dist/types/components.d.ts +209 -0
  187. package/dist/types/utils/index.d.ts +8 -0
  188. package/dist-h5/react/index.js +2 -1
  189. package/dist-h5/vue/components/picker.js +2 -1
  190. package/package.json +3 -3
  191. package/types/Ad.d.ts +19 -7
  192. package/types/AdCustom.d.ts +50 -0
  193. package/types/Audio.d.ts +22 -2
  194. package/types/Button.d.ts +87 -14
  195. package/types/Camera.d.ts +1 -1
  196. package/types/Canvas.d.ts +14 -1
  197. package/types/Checkbox.d.ts +65 -1
  198. package/types/CoverImage.d.ts +50 -8
  199. package/types/CoverView.d.ts +51 -8
  200. package/types/Editor.d.ts +57 -0
  201. package/types/Form.d.ts +33 -2
  202. package/types/Icon.d.ts +17 -1
  203. package/types/Image.d.ts +30 -4
  204. package/types/Input.d.ts +66 -5
  205. package/types/KeyboardAccessory.d.ts +29 -0
  206. package/types/Label.d.ts +18 -4
  207. package/types/LivePlayer.d.ts +7 -1
  208. package/types/LivePusher.d.ts +7 -1
  209. package/types/Map.d.ts +55 -1
  210. package/types/MatchMedia.d.ts +24 -5
  211. package/types/MovableArea.d.ts +9 -3
  212. package/types/MovableView.d.ts +21 -7
  213. package/types/OfficialAccount.d.ts +0 -6
  214. package/types/OpenData.d.ts +7 -1
  215. package/types/PageContainer.d.ts +121 -0
  216. package/types/Picker.d.ts +64 -1
  217. package/types/PickerView.d.ts +66 -2
  218. package/types/PickerViewColumn.d.ts +1 -1
  219. package/types/Progress.d.ts +12 -1
  220. package/types/Radio.d.ts +77 -1
  221. package/types/RichText.d.ts +33 -1
  222. package/types/ScrollView.d.ts +91 -9
  223. package/types/ShareElement.d.ts +39 -0
  224. package/types/Slider.d.ts +14 -1
  225. package/types/Swiper.d.ts +26 -1
  226. package/types/SwiperItem.d.ts +28 -3
  227. package/types/Switch.d.ts +21 -3
  228. package/types/Text.d.ts +38 -1
  229. package/types/Textarea.d.ts +17 -1
  230. package/types/Video.d.ts +41 -21
  231. package/types/View.d.ts +34 -2
  232. package/types/VoipRoom.d.ts +70 -0
  233. package/types/WebView.d.ts +7 -1
  234. package/types/common.d.ts +3 -8
  235. package/types/index.d.ts +72 -46
  236. package/virtual-list/react/createListComponent.js +4 -3
  237. package/dist/taro-components/p-10a6c489.system.entry.js +0 -1
  238. package/dist/taro-components/p-12638ebc.system.entry.js +0 -1
  239. package/dist/taro-components/p-2438fcd4.system.entry.js +0 -1
  240. package/dist/taro-components/p-3eebeb1c.system.entry.js +0 -1
  241. package/dist/taro-components/p-46cf6431.system.entry.js +0 -1
  242. package/dist/taro-components/p-66237ac0.entry.js +0 -1
  243. package/dist/taro-components/p-71de9bd6.entry.js +0 -1
  244. package/dist/taro-components/p-7a64a3d2.entry.js +0 -1
  245. package/dist/taro-components/p-b8e0ad7d.entry.js +0 -1
  246. package/dist/taro-components/p-f98e0224.entry.js +0 -1
@@ -0,0 +1 @@
1
+ System.register(["./p-b2d01686.system.js"],(function(t){"use strict";var n,e,r;return{setters:[function(t){n=t.r;e=t.h;r=t.H}],execute:function(){var o=t("taro_page_container_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 PageContainer 组件!")};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-b2d01686.system.js"],(function(e){"use strict";var t,n,r;return{setters:[function(e){t=e.r;n=e.h;r=e.H}],execute:function(){var o=e("taro_share_element_core",function(){function e(e){t(this,e)}e.prototype.componentDidLoad=function(){console.error("H5 暂不支持 ShareElement 组件!")};e.prototype.render=function(){return n(r,null)};return e}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-b2d01686.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-fde3a009.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-1e4f1702.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-3aac5746.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-3643d8f7.system",[[0,"taro-audio-core",{src:[1],controls:[4],autoplay:[4],loop:[4],muted:[4],nativeProps:[16]}]]],["p-8f90fca9.system",[[0,"taro-block-core"]]],["p-e0af1d0d.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-bd3fa355.system",[[0,"taro-camera-core"]]],["p-fd8312e5.system",[[0,"taro-canvas-core",{canvasId:[1,"canvas-id"],nativeProps:[16]}]]],["p-964692f7.system",[[0,"taro-cover-image-core",{src:[1],nativeProps:[16]}]]],["p-99ed3ed2.system",[[4,"taro-cover-view-core",{animation:[1],hoverClass:[1,"hover-class"],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-cfbdd4e3.system",[[0,"taro-custom-wrapper-core"]]],["p-1b790eb0.system",[[4,"taro-form-core",{slotParent:[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["p-17039974.system",[[0,"taro-icon-core",{type:[1],size:[8],color:[1]}]]],["p-3eebeb1c.system",[[0,"taro-image-core",{src:[1],mode:[1],lazyLoad:[4,"lazy-load"],nativeProps:[16],aspectFillMode:[32]}]]],["p-12638ebc.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-7d848382.system",[[4,"taro-label-core",{for:[1]}]]],["p-264b7229.system",[[0,"taro-movable-area-core"]]],["p-fb0959c1.system",[[0,"taro-movable-view-core"]]],["p-10a6c489.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-9a618935.system",[[0,"taro-open-data-core"]]],["p-fb2252b7.system",[[0,"taro-picker-view-column-core"]]],["p-43de2f12.system",[[0,"taro-picker-view-core"]]],["p-cea9a198.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-46cf6431.system",[[4,"taro-pull-to-refresh",{prefixCls:[1,"prefix-cls"],distanceToRefresh:[2,"distance-to-refresh"],damping:[2],indicator:[16],currSt:[32],dragOnEdge:[32]}]]],["p-fdd73355.system",[[0,"taro-rich-text-core",{nodes:[1]}]]],["p-13c1404f.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-703dfad8.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-ffe63ce9.system",[[0,"taro-switch-core",{type:[1],checked:[4],color:[1],name:[1],disabled:[4],nativeProps:[16],isChecked:[32],isWillLoadCalled:[32]}]]],["p-2438fcd4.system",[[0,"taro-tabbar",{conf:[16],list:[32],borderStyle:[32],backgroundColor:[32],color:[32],selectedColor:[32],selectedIndex:[32],status:[32]}]]],["p-50066d5e.system",[[4,"taro-text-core",{selectable:[4]}]]],["p-627a5064.system",[[0,"taro-textarea-core",{value:[1],placeholder:[1],disabled:[4],maxlength:[2],autoFocus:[4,"auto-focus"],autoHeight:[4,"auto-height"],name:[1],nativeProps:[16],line:[32]}]]],["p-fe156231.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-9fc88fc1.system",[[0,"taro-web-view-core",{src:[1]}]]],["p-fc4939c6.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-d394a61f.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
+ System.register(["./p-b2d01686.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-fde3a009.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-1e4f1702.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-b15d0302.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-e2f6448d.system",[[0,"taro-ad-core"]]],["p-d1c2481c.system",[[0,"taro-ad-custom-core"]]],["p-3643d8f7.system",[[0,"taro-audio-core",{src:[1],controls:[4],autoplay:[4],loop:[4],muted:[4],nativeProps:[16]}]]],["p-8f90fca9.system",[[0,"taro-block-core"]]],["p-e0af1d0d.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-bd3fa355.system",[[0,"taro-camera-core"]]],["p-fd8312e5.system",[[0,"taro-canvas-core",{canvasId:[1,"canvas-id"],nativeProps:[16]}]]],["p-964692f7.system",[[0,"taro-cover-image-core",{src:[1],nativeProps:[16]}]]],["p-99ed3ed2.system",[[4,"taro-cover-view-core",{animation:[1],hoverClass:[1,"hover-class"],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-cfbdd4e3.system",[[0,"taro-custom-wrapper-core"]]],["p-0472e474.system",[[0,"taro-editor-core"]]],["p-1b790eb0.system",[[4,"taro-form-core",{slotParent:[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["p-8b2bf902.system",[[0,"taro-functional-page-navigator-core"]]],["p-17039974.system",[[0,"taro-icon-core",{type:[1],size:[8],color:[1]}]]],["p-fcc1c676.system",[[0,"taro-image-core",{src:[1],mode:[1],lazyLoad:[4,"lazy-load"],nativeProps:[16],aspectFillMode:[32]}]]],["p-9dc9c615.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-0c2982fc.system",[[0,"taro-keyboard-accessory-core"]]],["p-7d848382.system",[[4,"taro-label-core",{for:[1]}]]],["p-7cdad34e.system",[[0,"taro-live-player-core"]]],["p-527a38ee.system",[[0,"taro-live-pusher-core"]]],["p-ebf5b2eb.system",[[0,"taro-map-core"]]],["p-cdffee54.system",[[0,"taro-match-media-core"]]],["p-264b7229.system",[[0,"taro-movable-area-core"]]],["p-fb0959c1.system",[[0,"taro-movable-view-core"]]],["p-e03fa2d5.system",[[0,"taro-navigation-bar-core"]]],["p-98b47fc9.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-7423fc3b.system",[[0,"taro-official-account-core"]]],["p-9a618935.system",[[0,"taro-open-data-core"]]],["p-3334ac67.system",[[0,"taro-page-container-core"]]],["p-df5a19b0.system",[[0,"taro-page-meta-core"]]],["p-fb2252b7.system",[[0,"taro-picker-view-column-core"]]],["p-43de2f12.system",[[0,"taro-picker-view-core"]]],["p-cea9a198.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-04818461.system",[[4,"taro-pull-to-refresh",{prefixCls:[1,"prefix-cls"],distanceToRefresh:[2,"distance-to-refresh"],damping:[2],indicator:[16],currSt:[32],dragOnEdge:[32]}]]],["p-fdd73355.system",[[0,"taro-rich-text-core",{nodes:[1]}]]],["p-fd0d1168.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-336f2b2a.system",[[0,"taro-share-element-core"]]],["p-703dfad8.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-06af26db.system",[[0,"taro-slot-core"]]],["p-ffe63ce9.system",[[0,"taro-switch-core",{type:[1],checked:[4],color:[1],name:[1],disabled:[4],nativeProps:[16],isChecked:[32],isWillLoadCalled:[32]}]]],["p-abe415b4.system",[[0,"taro-tabbar",{conf:[16],list:[32],borderStyle:[32],backgroundColor:[32],color:[32],selectedColor:[32],selectedIndex:[32],status:[32]}]]],["p-50066d5e.system",[[4,"taro-text-core",{selectable:[4]}]]],["p-2dc57c71.system",[[0,"taro-textarea-core",{value:[1],placeholder:[1],disabled:[4],maxlength:[2],autoFocus:[4,"auto-focus"],autoHeight:[4,"auto-height"],name:[1],nativeProps:[16],line:[32]}]]],["p-fe156231.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-99cb65a6.system",[[0,"taro-voip-room-core"]]],["p-9fc88fc1.system",[[0,"taro-web-view-core",{src:[1]}]]],["p-fc4939c6.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-d394a61f.system",[[0,"taro-video-core",{src:[1],duration:[2],controls:[4],autoplay:[4],loop:[4],muted:[4],initialTime:[2,"initial-time"],poster:[1],objectFit:[1,"object-fit"],showProgress:[4,"show-progress"],showFullscreenBtn:[4,"show-fullscreen-btn"],showPlayBtn:[4,"show-play-btn"],showCenterPlayBtn:[4,"show-center-play-btn"],showMuteBtn:[4,"show-mute-btn"],danmuList:[16],danmuBtn:[4,"danmu-btn"],enableDanmu:[4,"enable-danmu"],enablePlayGesture:[4,"enable-play-gesture"],enableProgressGesture:[4,"enable-progress-gesture"],vslideGesture:[4,"vslide-gesture"],vslideGestureInFullscreen:[4,"vslide-gesture-in-fullscreen"],nativeProps:[16],_duration:[32],_enableDanmu:[32],isPlaying:[32],isFirst:[32],isFullScreen:[32],fullScreenTimestamp:[32],isMute:[32],play:[64],pause:[64],stop:[64],seek:[64],requestFullScreen:[64],exitFullScreen:[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[4,"taro-video-control",{controls:[4],currentTime:[2,"current-time"],duration:[2],isPlaying:[4,"is-playing"],pauseFunc:[16],playFunc:[16],seekFunc:[16],showPlayBtn:[4,"show-play-btn"],showProgress:[4,"show-progress"],setProgressBall:[64],toggleVisibility:[64],getIsDraggingProgressBall:[64],setCurrentTime:[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[0,"taro-video-danmu",{enable:[4],danmuList:[32],sendDanmu:[64],tick:[64]}]]]],e)}))}}}));
@@ -0,0 +1 @@
1
+ import{r as o,h as a,H as r}from"./p-f05e1558.js";let t=class{constructor(a){o(this,a)}componentDidLoad(){console.error("H5 暂不支持 FunctionalPageNavigator 组件!")}render(){return a(r,null)}};export{t as taro_functional_page_navigator_core}
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as e}from"./p-f05e1558.js";let s=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 Map 组件!")}render(){return r(e,null)}};export{s as taro_map_core}
@@ -0,0 +1 @@
1
+ System.register(["./p-b2d01686.system.js"],(function(e){"use strict";var t,r,n;return{setters:[function(e){t=e.r;r=e.h;n=e.H}],execute:function(){var o=e("taro_live_pusher_core",function(){function e(e){t(this,e)}e.prototype.componentDidLoad=function(){console.error("H5 暂不支持 LivePusher 组件!")};e.prototype.render=function(){return r(n,null)};return e}())}}}));
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s,H as e,g as r}from"./p-f05e1558.js";import h from"@tarojs/taro";import{c as a}from"./p-37cfdd8f.js";const n="undefined"!=typeof navigator&&/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent),o={activate:"release",deactivate:"pull",release:"loading",finish:"finish"};let l=!1;try{const t=Object.defineProperty({},"passive",{get(){l=!0}});window.addEventListener("cancel",(()=>({})),t)}catch(t){}const c=!!l&&{passive:!1};let d=class{constructor(s){t(this,s),this.onRefresh=i(this,"refresh",7),this.prefixCls="rmc-pull-to-refresh",this.distanceToRefresh=50,this.damping=100,this.indicator=o,this.currSt="deactivate",this.dragOnEdge=!1,this._ScreenY=0,this._startScreenY=0,this._lastScreenY=0,this._isMounted=!1,this.triggerPullDownRefresh=t=>{!this.dragOnEdge&&this._isMounted&&(t?(this._lastScreenY=this.distanceToRefresh+1,this.currSt="release",this.setContentStyle(this._lastScreenY)):(this.currSt="finish",this.reset()))},this.init=()=>{const t=this.scrollContainer;this._to={touchstart:this.onTouchStart.bind(this,t),touchmove:this.onTouchMove.bind(this,t),touchend:this.onTouchEnd.bind(this,t),touchcancel:this.onTouchEnd.bind(this,t)},Object.keys(this._to).forEach((i=>{t.addEventListener(i,this._to[i],c)}))},this.destroy=()=>{const t=this.scrollContainer;Object.keys(this._to).forEach((i=>{t.removeEventListener(i,this._to[i])}))},this.onTouchStart=(t,i)=>{this._ScreenY=this._startScreenY=i.touches[0].screenY,this._lastScreenY=this._lastScreenY||0},this.isEdge=t=>{const i=this.scrollContainer;return i&&i===document.body?(document.scrollingElement?document.scrollingElement:document.body).scrollTop<=0:t.scrollTop<=0},this.damp=t=>Math.abs(this._lastScreenY)>this.damping?0:t*(.6*(1-Math.abs(this._ScreenY-this._startScreenY)/window.screen.height)),this.onTouchMove=(t,i)=>{const s=i.touches[0].screenY;if(!(this._startScreenY>s)&&this.isEdge(t)){this.dragOnEdge||(this._ScreenY=this._startScreenY=i.touches[0].screenY,this.dragOnEdge=!0),i.cancelable&&i.preventDefault();const t=Math.round(s-this._ScreenY);this._ScreenY=s,this._lastScreenY+=this.damp(t),this.setContentStyle(this._lastScreenY),Math.abs(this._lastScreenY)<this.distanceToRefresh?"deactivate"!==this.currSt&&(this.currSt="deactivate"):"deactivate"===this.currSt&&(this.currSt="activate"),n&&i.changedTouches[0].clientY<0&&this.onTouchEnd()}},this.onTouchEnd=()=>{this.dragOnEdge&&(this.dragOnEdge=!1),"activate"===this.currSt?(this.currSt="release",this.onRefresh.emit(this),this._lastScreenY=this.distanceToRefresh+1,this.setContentStyle(this._lastScreenY)):"release"===this.currSt?(this._lastScreenY=this.distanceToRefresh+1,this.setContentStyle(this._lastScreenY)):this.reset()},this.reset=()=>{this._lastScreenY=0,this.setContentStyle(0)},this.setContentStyle=t=>{var i,s;this.contentRef&&((i=this.contentRef.style).transform=s=t?`translate3d(0px,${t}px,0)`:"",i.webkitTransform=s,i.MozTransform=s)}}get scrollContainer(){return document.querySelector(".taro-tabbar__panel")||document.body}statusChange(){if("release"===this.currSt){const t=this.el.closest(".taro_page");t&&t.__page&&t.__page.onPullDownRefresh()}}disconnectedCallback(){this.destroy()}componentDidLoad(){this.init(),this._isMounted=!0,h.eventCenter.on("__taroStartPullDownRefresh",(({successHandler:t,errorHandler:i})=>{try{this.triggerPullDownRefresh(!0),t({errMsg:"startPullDownRefresh: ok"})}catch(t){i({errMsg:"startPullDownRefresh: fail"})}})),h.eventCenter.on("__taroStopPullDownRefresh",(({successHandler:t,errorHandler:i})=>{try{this.triggerPullDownRefresh(!1),t({errMsg:"stopPullDownRefresh: ok"})}catch(t){i({errMsg:"stopPullDownRefresh: fail"})}}))}render(){const t=t=>{const{currSt:i,dragOnEdge:e,prefixCls:r}=this,h=a(t,!e&&`${r}-transition`);return s("div",{class:`${r}-content-wrapper`},s("div",{class:h,ref:t=>{this.contentRef=t}},("activate"===i||"release"===i)&&s("div",{class:`${r}-indicator`},s("div",null),s("div",null),s("div",null)),s("slot",null)))};return this.scrollContainer?t(`${this.prefixCls}-content ${this.prefixCls}-down`):s(e,{class:a(this.prefixCls,`${this.prefixCls}-down`)},t(`${this.prefixCls}-content`))}get el(){return r(this)}static get watchers(){return{currSt:["statusChange"]}}};d.style=".rmc-pull-to-refresh-content{-webkit-transform-origin:left top 0px;transform-origin:left top 0px}.rmc-pull-to-refresh-content-wrapper{overflow:hidden}.rmc-pull-to-refresh-transition{-webkit-transition:-webkit-transform 0.3s;transition:-webkit-transform 0.3s;transition:transform 0.3s;transition:transform 0.3s, -webkit-transform 0.3s}@-webkit-keyframes rmc-pull-to-refresh-indicator{50%{opacity:0.2}100%{opacity:1}}@keyframes rmc-pull-to-refresh-indicator{50%{opacity:0.2}100%{opacity:1}}.rmc-pull-to-refresh-indicator{text-align:center;height:30px;line-height:10px}.rmc-pull-to-refresh-indicator>div{background-color:grey;width:6px;height:6px;border-radius:100%;margin:3px;-webkit-animation-fill-mode:both;animation-fill-mode:both;display:inline-block;-webkit-animation:rmc-pull-to-refresh-indicator 0.5s 0s infinite linear;animation:rmc-pull-to-refresh-indicator 0.5s 0s infinite linear}.rmc-pull-to-refresh-indicator>div:nth-child(0){-webkit-animation-delay:-0.1s !important;animation-delay:-0.1s !important}.rmc-pull-to-refresh-indicator>div:nth-child(1){-webkit-animation-delay:-0.2s !important;animation-delay:-0.2s !important}.rmc-pull-to-refresh-indicator>div:nth-child(2){-webkit-animation-delay:-0.3s !important;animation-delay:-0.3s !important}.rmc-pull-to-refresh-down .rmc-pull-to-refresh-indicator{margin-top:-25px}";export{d as taro_pull_to_refresh}
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as e}from"./p-f05e1558.js";let s=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 VoipRoom 组件!")}render(){return r(e,null)}};export{s as taro_voip_room_core}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,g as h}from"./p-f05e1558.js";function s(t){return null!=t?t:""}let a=class{constructor(i){t(this,i),this.onInput=e(this,"input",7),this.onFocus=e(this,"focus",7),this.onBlur=e(this,"blur",7),this.onChange=e(this,"change",7),this.onLineChange=e(this,"linechange",7),this.disabled=!1,this.maxlength=140,this.autoFocus=!1,this.autoHeight=!1,this.nativeProps={},this.line=1,this.hanldeInput=t=>{t.stopPropagation(),this.handleLineChange(),this.onInput.emit({value:t.target.value,cursor:t.target.value.length})},this.handleFocus=t=>{this.onFocus.emit({value:t.target.value})},this.handleBlur=t=>{this.onBlur.emit({value:t.target.value})},this.handleChange=t=>{t.stopPropagation(),this.onChange.emit({value:t.target.value})},this.handleLineChange=()=>{const t=this.getNumberOfLines();t!==this.line&&(this.line=t,this.onLineChange.emit({height:this.textareaRef.clientHeight,lineCount:this.line}))},this.calculateContentHeight=(t,e)=>{let i=t.style.height,h=t.offsetHeight,s=t.scrollHeight,a=t.style.overflow;if(!(h>=s))return s;if(t.style.height=h+e+"px",t.style.overflow="hidden",s<t.scrollHeight){for(;t.offsetHeight>=t.scrollHeight;)t.style.height=(h-=e)+"px";for(;t.offsetHeight<t.scrollHeight;)t.style.height=h+++"px";return t.style.height=i,t.style.overflow=a,h}},this.getNumberOfLines=()=>{const t=this.textareaRef,e=window.getComputedStyle?window.getComputedStyle(t):t.style,i=parseInt(e.lineHeight,10),h=this.calculateContentHeight(t,i);return Math.floor(h/i)}}componentDidLoad(){Object.defineProperty(this.el,"value",{get:()=>this.textareaRef.value,set:t=>this.value=t,configurable:!0}),this.autoFocus&&this.textareaRef.focus()}render(){const{value:t,placeholder:e,disabled:h,maxlength:a,autoFocus:o,autoHeight:r,name:n,nativeProps:u,hanldeInput:l,handleFocus:c,handleBlur:d,handleChange:p}=this,g={};return r&&(g.rows=this.line),i("textarea",Object.assign({ref:t=>{t&&(this.textareaRef=t)},class:"taro-textarea "+(r?"auto-height":""),value:s(t),placeholder:e,name:n,disabled:h,maxlength:a,autofocus:o,onInput:l,onFocus:c,onBlur:d,onChange:p},u,g))}get el(){return h(this)}};a.style="taro-textarea-core{display:block;width:300px}taro-textarea-core .auto-height{height:auto}.taro-textarea{-webkit-appearance:none;cursor:auto;width:100%;height:150px;border:0;display:block;position:relative;line-height:1.5}.taro-textarea:focus{outline:none}";export{a as taro_textarea_core}
1
+ import{r as t,c as e,h as i,g as h}from"./p-f05e1558.js";function s(t){return null!=t?t:""}let a=class{constructor(i){t(this,i),this.onInput=e(this,"input",7),this.onFocus=e(this,"focus",7),this.onBlur=e(this,"blur",7),this.onChange=e(this,"change",7),this.onLineChange=e(this,"linechange",7),this.disabled=!1,this.maxlength=140,this.autoFocus=!1,this.autoHeight=!1,this.nativeProps={},this.line=1,this.handleInput=t=>{t.stopPropagation(),this.handleLineChange(),this.onInput.emit({value:t.target.value,cursor:t.target.value.length})},this.handleFocus=t=>{this.onFocus.emit({value:t.target.value})},this.handleBlur=t=>{this.onBlur.emit({value:t.target.value})},this.handleChange=t=>{t.stopPropagation(),this.onChange.emit({value:t.target.value})},this.handleLineChange=()=>{const t=this.getNumberOfLines();t!==this.line&&(this.line=t,this.onLineChange.emit({height:this.textareaRef.clientHeight,lineCount:this.line}))},this.calculateContentHeight=(t,e)=>{let i=t.style.height,h=t.offsetHeight,s=t.scrollHeight,a=t.style.overflow;if(!(h>=s))return s;if(t.style.height=h+e+"px",t.style.overflow="hidden",s<t.scrollHeight){for(;t.offsetHeight>=t.scrollHeight;)t.style.height=(h-=e)+"px";for(;t.offsetHeight<t.scrollHeight;)t.style.height=h+++"px";return t.style.height=i,t.style.overflow=a,h}},this.getNumberOfLines=()=>{const t=this.textareaRef,e=window.getComputedStyle?window.getComputedStyle(t):t.style,i=parseInt(e.lineHeight,10),h=this.calculateContentHeight(t,i);return Math.floor(h/i)}}componentDidLoad(){Object.defineProperty(this.el,"value",{get:()=>this.textareaRef.value,set:t=>this.value=t,configurable:!0}),this.autoFocus&&this.textareaRef.focus()}render(){const{value:t,placeholder:e,disabled:h,maxlength:a,autoFocus:o,autoHeight:r,name:n,nativeProps:u,handleInput:l,handleFocus:c,handleBlur:d,handleChange:p}=this,g={};return r&&(g.rows=this.line),i("textarea",Object.assign({ref:t=>{t&&(this.textareaRef=t)},class:"taro-textarea "+(r?"auto-height":""),value:s(t),placeholder:e,name:n,disabled:h,maxlength:a,autofocus:o,onInput:l,onFocus:c,onBlur:d,onChange:p},u,g))}get el(){return h(this)}};a.style="taro-textarea-core{display:block;width:300px}taro-textarea-core .auto-height{height:auto}.taro-textarea{-webkit-appearance:none;cursor:auto;width:100%;height:150px;border:0;display:block;position:relative;line-height:1.5}.taro-textarea:focus{outline:none}";export{a as taro_textarea_core}
@@ -0,0 +1 @@
1
+ System.register(["./p-b2d01686.system.js"],(function(t){"use strict";var n,o,r;return{setters:[function(t){n=t.r;o=t.h;r=t.H}],execute:function(){var e=t("taro_official_account_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 OfficialAccount 组件!")};t.prototype.render=function(){return o(r,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ import{r as e,h as o,H as r}from"./p-f05e1558.js";let t=class{constructor(o){e(this,o)}componentDidLoad(){console.error("H5 暂不支持 PageMeta 组件!")}render(){return o(r,null)}};export{t as taro_page_meta_core}
@@ -0,0 +1 @@
1
+ System.register(["./p-b2d01686.system.js"],(function(e){"use strict";var t,r,n;return{setters:[function(e){t=e.r;r=e.h;n=e.H}],execute:function(){var o=e("taro_live_player_core",function(){function e(e){t(this,e)}e.prototype.componentDidLoad=function(){console.error("H5 暂不支持 LivePlayer 组件!")};e.prototype.render=function(){return r(n,null)};return e}())}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-b2d01686.system.js"],(function(t){"use strict";var n,r,e;return{setters:[function(t){n=t.r;r=t.h;e=t.H}],execute:function(){var o=t("taro_functional_page_navigator_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 FunctionalPageNavigator 组件!")};t.prototype.render=function(){return r(e,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as e}from"./p-f05e1558.js";let t=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 MatchMedia 组件!")}render(){return r(e,null)}};export{t as taro_match_media_core}
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as t}from"./p-f05e1558.js";let e=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 Editor 组件!")}render(){return r(t,null)}};export{e as taro_editor_core}
@@ -0,0 +1 @@
1
+ System.register(["./p-b2d01686.system.js","@tarojs/taro","./p-94c20f60.system.js"],(function(e){"use strict";var t,r,i,a,s,n;return{setters:[function(e){t=e.r;r=e.c;i=e.h;a=e.H},function(e){s=e.default},function(e){n=e.c}],execute:function(){var o=".navigator-hover{background:#efefef}";var c=e("taro_navigator_core",function(){function e(e){t(this,e);this.onSuccess=r(this,"cuccess",7);this.onFail=r(this,"fail",7);this.onComplete=r(this,"Complete",7);this.openType="navigate";this.isHover=false;this.delta=0}e.prototype.onClick=function(){var e=this,t=e.openType,r=e.onSuccess,i=e.onFail,a=e.onComplete;var n=Promise.resolve();switch(t){case"navigate":n=s.navigateTo({url:this.url});break;case"redirect":n=s.redirectTo({url:this.url});break;case"switchTab":n=s.switchTab({url:this.url});break;case"reLaunch":n=s.reLaunch({url:this.url});break;case"navigateBack":n=s.navigateBack({delta:this.delta});break;case"exit":n=Promise.reject(new Error('navigator:fail 暂不支持"openType: exit"'));break}if(n){n.then((function(e){r.emit(e)})).catch((function(e){i.emit(e)})).finally((function(){a.emit()}))}};e.prototype.render=function(){var e;var t=this,r=t.isHover,s=t.hoverClass;return i(a,{class:n((e={},e[s]=r,e))})};return e}());c.style=o}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-b2d01686.system.js"],(function(o){"use strict";var t,r,n;return{setters:[function(o){t=o.r;r=o.h;n=o.H}],execute:function(){var e=o("taro_voip_room_core",function(){function o(o){t(this,o)}o.prototype.componentDidLoad=function(){console.error("H5 暂不支持 VoipRoom 组件!")};o.prototype.render=function(){return r(n,null)};return o}())}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-b2d01686.system.js"],(function(t){"use strict";var e,n,i,o;return{setters:[function(t){e=t.r;n=t.c;i=t.h;o=t.g}],execute:function(){var s="taro-input-core{display:block}input{display:block;height:1.4rem;text-align:inherit;text-overflow:clip;overflow:hidden;white-space:nowrap}";function a(t,e,n){if(e==="search")t="search";if(n)t="password";if(typeof t==="undefined"){return"text"}if(!t){throw new Error("unexpected type")}if(t==="digit")t="number";return t}function u(t){return t!==null&&t!==void 0?t:""}var r=t("taro_input_core",function(){function t(t){var i=this;e(this,t);this.onInput=n(this,"input",7);this.onPaste=n(this,"paste",7);this.onFocus=n(this,"focus",7);this.onBlur=n(this,"blur",7);this.onConfirm=n(this,"confirm",7);this.onChange=n(this,"change",7);this.onKeyDown=n(this,"keydown",7);this.isOnComposition=false;this.isOnPaste=false;this.onInputExcuted=false;this.password=false;this.disabled=false;this.maxlength=140;this.autoFocus=false;this.confirmType="done";this.nativeProps={};this.handleInput=function(t){t.stopPropagation();var e=i,n=e.type,o=e.maxlength,s=e.confirmType,u=e.password;if(!i.isOnComposition&&!i.onInputExcuted){var r=t.target.value;var l=a(n,s,u);i.onInputExcuted=true;if(l==="number"&&r&&o<=r.length){r=r.substring(0,o);t.target.value=r}i._value=r;i.onInput.emit({value:r,cursor:r.length})}};this.handlePaste=function(t){i.isOnPaste=true;i.onPaste.emit({value:t.target.value})};this.handleFocus=function(t){i.onInputExcuted=false;i.onFocus.emit({value:t.target.value})};this.handleBlur=function(t){i.onBlur.emit({value:t.target.value})};this.handleChange=function(t){t.stopPropagation();i.onChange.emit({value:t.target.value});if(i.isOnPaste){i.isOnPaste=false;i.onInput.emit({value:t.target.value})}};this.handleKeyDown=function(t){var e=t.target.value;var n=t.keyCode||t.code;i.onInputExcuted=false;t.stopPropagation();i.onKeyDown.emit({value:e,cursor:e.length,keyCode:n});n===13&&i.onConfirm.emit({value:e})};this.handleComposition=function(t){if(!(t.target instanceof HTMLInputElement))return;if(t.type==="compositionend"){i.isOnComposition=false;i.onInput.emit({value:t.target.value})}else{i.isOnComposition=true}}}t.prototype.watchHandler=function(t,e){if(t!==e){this._value=t}};t.prototype.watchFocus=function(t,e){var n;if(!e&&t){(n=this.inputRef)===null||n===void 0?void 0:n.focus()}};t.prototype.componentWillLoad=function(){this._value=this.value};t.prototype.componentDidLoad=function(){var t=this;var e,n,i;if(this.type==="file"){this.fileListener=function(){t.onInput.emit()};(e=this.inputRef)===null||e===void 0?void 0:e.addEventListener("change",this.fileListener)}else{(n=this.inputRef)===null||n===void 0?void 0:n.addEventListener("compositionstart",this.handleComposition);(i=this.inputRef)===null||i===void 0?void 0:i.addEventListener("compositionend",this.handleComposition)}Object.defineProperty(this.el,"value",{get:function(){var e;return(e=t.inputRef)===null||e===void 0?void 0:e.value},set:function(e){t._value=e},configurable:true})};t.prototype.disconnectedCallback=function(){var t;if(this.type==="file"){(t=this.inputRef)===null||t===void 0?void 0:t.removeEventListener("change",this.fileListener)}};t.prototype.render=function(){var t=this;var e=this,n=e._value,o=e.type,s=e.password,r=e.placeholder,l=e.autoFocus,h=e.disabled,p=e.maxlength,c=e.confirmType,f=e.name,d=e.nativeProps;return i("input",Object.assign({ref:function(e){t.inputRef=e},class:"weui-input",value:u(n),type:a(o,c,s),placeholder:r,autoFocus:l,disabled:h,maxlength:p,name:f,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onChange:this.handleChange,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,onCompositionStart:this.handleComposition,onCompositionEnd:this.handleComposition},d))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["watchHandler"],autoFocus:["watchFocus"]}},enumerable:false,configurable:true});return t}());r.style=s}}}));
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as o,H as e}from"./p-f05e1558.js";import{c as s}from"./p-37cfdd8f.js";import("./p-72f327e1.js");let r=class{constructor(o){t(this,o),this.onLoad=i(this,"load",7),this.onError=i(this,"error",7),this.mode="scaleToFill",this.lazyLoad=!1,this.nativeProps={},this.aspectFillMode="width"}componentDidLoad(){if(!this.lazyLoad)return;const t=new IntersectionObserver((i=>{i[i.length-1].isIntersecting&&(t.unobserve(this.imgRef),this.imgRef.src=this.src)}),{rootMargin:"300px 0px"});t.observe(this.imgRef)}imageOnLoad(){const{width:t,height:i,naturalWidth:o,naturalHeight:e}=this.imgRef;this.onLoad.emit({width:t,height:i}),this.aspectFillMode=o>e?"width":"height"}imageOnError(){this.onError.emit()}render(){const{src:t,mode:i="scaleToFill",lazyLoad:r=!1,aspectFillMode:a="width",imageOnLoad:h,imageOnError:m,nativeProps:d}=this,g=s({"taro-img__widthfix":"widthFix"===i}),l=s(`taro-img__mode-${i.toLowerCase().replace(/\s/g,"")}`,{[`taro-img__mode-aspectfill--${a}`]:"aspectFill"===i});return o(e,{class:g},o("img",Object.assign(r?{ref:t=>this.imgRef=t,class:l,onLoad:h.bind(this),onError:m.bind(this)}:{ref:t=>this.imgRef=t,class:l,src:t,onLoad:h.bind(this),onError:m.bind(this)},d)))}};r.style='img[src=""]{opacity:0}taro-image-core{display:inline-block;overflow:hidden;position:relative;font-size:0;width:auto;height:auto}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%}.taro-img__mode-aspectfill{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-top{width:100%}.taro-img__mode-bottom{width:100%;position:absolute;bottom:0}.taro-img__mode-left{height:100%}.taro-img__mode-right{position:absolute;height:100%;right:0}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;right:0;bottom:0}';export{r as taro_image_core}
@@ -0,0 +1 @@
1
+ var __spreadArray=this&&this.__spreadArray||function(e,t){for(var r=0,a=t.length,o=e.length;r<a;r++,o++)e[o]=t[r];return e};System.register(["./p-b2d01686.system.js","@tarojs/taro","./p-94c20f60.system.js"],(function(e){"use strict";var t,r,a,o,n,i,s;return{setters:[function(e){t=e.h;r=e.r;a=e.c;o=e.H;n=e.g},function(e){i=e.default},function(e){s=e.c}],execute:function(){function l(e){return e.charAt(0)==="/"}function d(e,t){for(var r=t,a=r+1,o=e.length;a<o;r+=1,a+=1){e[r]=e[a]}e.pop()}function b(e,t){if(t===undefined)t="";var r=e&&e.split("/")||[];var a=t&&t.split("/")||[];var o=e&&l(e);var n=t&&l(t);var i=o||n;if(e&&l(e)){a=r}else if(r.length){a.pop();a=a.concat(r)}if(!a.length)return"/";var s;if(a.length){var b=a[a.length-1];s=b==="."||b===".."||b===""}else{s=false}var h=0;for(var c=a.length;c>=0;c--){var f=a[c];if(f==="."){d(a,c)}else if(f===".."){d(a,c);h++}else if(h){d(a,c);h--}}if(!i)for(;h--;h)a.unshift("..");if(i&&a[0]!==""&&(!a[0]||!l(a[0])))a.unshift("");var u=a.join("/");if(s&&u.substr(-1)!=="/")u+="/";return u}var h=function(e){var t=e||"";var r;var a={path:null,query:null,fragment:null};r=t.indexOf("#");if(r>-1){a.fragment=t.substring(r+1);t=t.substring(0,r)}r=t.indexOf("?");if(r>-1){a.query=t.substring(r+1);t=t.substring(0,r)}a.path=t;return a};var c=function(e){var r=e.index,a=e.isSelected,o=a===void 0?false:a,n=e.textColor,i=e.iconPath,l=e.badgeText,d=e.showRedDot,b=d===void 0?false:d,h=e.text,c=e.onSelect;var f=s("weui-tabbar__item",{"weui-bar__item_on":o});var u={position:"absolute",top:"-2px",right:"-13px"};var v={position:"absolute",top:"0",right:"-6px"};function g(){c(r)}return t("a",{key:r,href:"javascript:;",class:f,onClick:g},t("span",{style:{display:"inline-block",position:"relative"}},t("img",{src:i,alt:"",class:"weui-tabbar__icon"}),!!l&&t("span",{class:"weui-badge taro-tabbar-badge",style:u},l),b&&t("span",{class:"weui-badge weui-badge_dot",style:v})),t("p",{class:"weui-tabbar__label",style:{color:n}},h))};var f="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:auto}.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}";var u=function(e){return e[0]==="/"?e:"/"+e};var v=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)};var g=function(e,t){return v(e,t)?e.substr(t.length):e};var _=0;var p=1;var T=2;var B="taro-tabbar__tabbar";var m="taro-tabbar__tabbar-hide";var H="taro-tabbar__tabbar-slideout";var x=e("taro_tabbar",function(){function e(e){var t=this;r(this,e);this.onLongPress=a(this,"longpress",7);this.homePage="";this.customRoutes=[];this.tabbarPos="bottom";this.selectedIndex=-1;this.status=_;this.getOriginUrl=function(e){var r=t.customRoutes.filter((function(t){var r=t[1];var a=h(r).path;var o=h(e).path;return a===o}));return r.length?r[0][0]:e};this.getSelectedIndex=function(e){var r=-1;t.list.forEach((function(t,a){var o=t.pagePath;var n=h(e).path;var i=h(o).path;if(n===i){r=a}}));return r};this.switchTab=function(e){t.selectedIndex=e;i.switchTab({url:t.list[e].pagePath})};this.switchTabHandler=function(e){var r=e.url,a=e.successHandler,o=e.errorHandler;var n=t.getOriginUrl(t.getCurrentUrl()||t.homePage);var i=b(r,n);var s=t.getSelectedIndex(i);if(s>-1){t.switchTab(s);a({errMsg:"switchTab:ok"})}else{o({errMsg:'switchTab:fail page "'+i+'" is not found'})}};this.routerChangeHandler=function(e){var r;var a;if(e){r=e.toLocation}if(r&&r.path){var o=u(r.path);a=g(o==="/"?t.homePage:o,t.conf.basename||"/")}else{a=t.getCurrentUrl()}t.selectedIndex=t.getSelectedIndex(t.getOriginUrl(a))};this.setTabBarBadgeHandler=function(e){var r=e.index,a=e.text,o=e.successHandler,n=e.errorHandler;var i=__spreadArray([],t.list);if(r in i){i[r].showRedDot=false;i[r].badgeText=a;o({errMsg:"setTabBarBadge:ok"})}else{n({errMsg:"setTabBarBadge:fail tabbar item not found"})}t.list=i};this.removeTabBarBadgeHandler=function(e){var r=e.index,a=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list);if(r in n){n[r].badgeText=null;n[r].badgeText=null;a({errMsg:"removeTabBarBadge:ok"})}else{o({errMsg:"removeTabBarBadge:fail tabbar item not found"})}t.list=n};this.showTabBarRedDotHandler=function(e){var r=e.index,a=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list);if(r in n){n[r].badgeText=null;n[r].showRedDot=true;a({errMsg:"showTabBarRedDot:ok"})}else{o({errMsg:"showTabBarRedDot:fail tabbar item not found"})}t.list=n};this.hideTabBarRedDotHandler=function(e){var r=e.index,a=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list);if(r in n){n[r].showRedDot=false;a({errMsg:"hideTabBarRedDot:ok"})}else{o({errMsg:"hideTabBarRedDot:fail tabbar item not found"})}t.list=n};this.showTabBarHandler=function(e){var r=e.successHandler;t.status=_;r({errMsg:"showTabBar:ok"})};this.hideTabBarHandler=function(e){var r=e.animation,a=e.successHandler;t.status=r?T:p;a({errMsg:"hideTabBar:ok"})};this.setTabBarStyleHandler=function(e){var r=e.color,a=e.selectedColor,o=e.backgroundColor,n=e.borderStyle,i=e.successHandler;if(o)t.backgroundColor=o;if(n)t.borderStyle=n;if(r)t.color=r;if(a)t.selectedColor=a;i({errMsg:"setTabBarStyle:ok"})};this.setTabBarItemHandler=function(e){var r=e.index,a=e.iconPath,o=e.selectedIconPath,n=e.text,i=e.successHandler,s=e.errorHandler;var l=__spreadArray([],t.list);if(r in l){if(a)l[r].iconPath=a;if(o)l[r].selectedIconPath=o;if(n)l[r].text=n;i({errMsg:"setTabBarItem:ok"})}else{s({errMsg:"setTabBarItem:fail tabbar item not found"})}t.list=l};var o=this.conf.list;var n=this.conf.customRoutes;if(Object.prototype.toString.call(o)!=="[object Array]"||o.length<2||o.length>5){throw new Error("tabBar 配置错误")}this.homePage=u(this.conf.homePage);var s=function(e){var t;var r=n[e];e=u(e);if(typeof r==="string"){l.customRoutes.push([e,u(r)])}else if((r===null||r===void 0?void 0:r.length)>0){(t=l.customRoutes).push.apply(t,r.map((function(t){return[e,u(t)]})))}};var l=this;for(var d in n){s(d)}o.forEach((function(e){if(e.pagePath.indexOf("/")!==0){e.pagePath="/"+e.pagePath}}));this.list=o;this.borderStyle=this.conf.borderStyle;this.backgroundColor=this.conf.backgroundColor;this.color=this.conf.color;this.selectedColor=this.conf.selectedColor}e.prototype.getCurrentUrl=function(){var e=this.conf.mode;var t=this.conf.basename||"/";var r;if(e==="hash"){var a=window.location.href;var o=a.indexOf("#");r=o===-1?"":a.substring(o+1)}else{r=location.pathname}var n=u(g(r,t));return n==="/"?this.homePage:n};e.prototype.bindEvent=function(){i.eventCenter.on("__taroRouterChange",this.routerChangeHandler);i.eventCenter.on("__taroSwitchTab",this.switchTabHandler);i.eventCenter.on("__taroSetTabBarBadge",this.setTabBarBadgeHandler);i.eventCenter.on("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);i.eventCenter.on("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);i.eventCenter.on("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);i.eventCenter.on("__taroShowTabBar",this.showTabBarHandler);i.eventCenter.on("__taroHideTabBar",this.hideTabBarHandler);i.eventCenter.on("__taroSetTabBarStyle",this.setTabBarStyleHandler);i.eventCenter.on("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.removeEvent=function(){i.eventCenter.off("__taroRouterChange",this.routerChangeHandler);i.eventCenter.off("__taroSwitchTab",this.switchTabHandler);i.eventCenter.off("__taroSetTabBarBadge",this.setTabBarBadgeHandler);i.eventCenter.off("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);i.eventCenter.off("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);i.eventCenter.off("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);i.eventCenter.off("__taroShowTabBar",this.showTabBarHandler);i.eventCenter.off("__taroHideTabBar",this.hideTabBarHandler);i.eventCenter.off("__taroSetTabBarStyle",this.setTabBarStyleHandler);i.eventCenter.off("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.componentDidLoad=function(){this.tabbarPos=this.tabbar.nextElementSibling?"top":"bottom";this.bindEvent();this.routerChangeHandler()};e.prototype.disconnectedCallback=function(){this.removeEvent()};e.prototype.render=function(){var e,r;var a=this;var n=this.tabbarPos,i=n===void 0?"bottom":n;var l=this.status;var d=s("weui-tabbar",(e={},e["taro-tabbar__border-"+(this.borderStyle||"black")]=true,e));var b=this.selectedIndex===-1||l===p;var h=l===T;return t(o,{class:s(B,B+"-"+i,(r={},r[m]=b,r[H]=h,r))},t("div",{class:d,style:{backgroundColor:this.backgroundColor||""}},this.list.map((function(e,r){var o=a.selectedIndex===r;var n;var i;if(o){n=a.selectedColor||"";i=e.selectedIconPath}else{n=a.color||"";i=e.iconPath}return t(c,{index:r,onSelect:a.switchTab.bind(a),isSelected:o,textColor:n,iconPath:i,text:e.text,badgeText:e.badgeText,showRedDot:e.showRedDot})}))))};Object.defineProperty(e.prototype,"tabbar",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());x.style=f}}}));