@tarojs/components 3.3.14 → 3.3.18

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 (229) 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-cover-image-core.cjs.entry.js +17 -3
  6. package/dist/cjs/taro-cover-view-core.cjs.entry.js +49 -3
  7. package/dist/cjs/taro-editor-core.cjs.entry.js +19 -0
  8. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +19 -0
  9. package/dist/cjs/taro-image-core.cjs.entry.js +2 -2
  10. package/dist/cjs/taro-input-core.cjs.entry.js +4 -4
  11. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +19 -0
  12. package/dist/cjs/taro-live-player-core.cjs.entry.js +19 -0
  13. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +19 -0
  14. package/dist/cjs/taro-map-core.cjs.entry.js +19 -0
  15. package/dist/cjs/taro-match-media-core.cjs.entry.js +19 -0
  16. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +19 -0
  17. package/dist/cjs/taro-navigator-core.cjs.entry.js +10 -6
  18. package/dist/cjs/taro-official-account-core.cjs.entry.js +19 -0
  19. package/dist/cjs/taro-page-container-core.cjs.entry.js +19 -0
  20. package/dist/cjs/taro-page-meta-core.cjs.entry.js +19 -0
  21. package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +7 -3
  22. package/dist/cjs/taro-share-element-core.cjs.entry.js +19 -0
  23. package/dist/cjs/taro-slot-core.cjs.entry.js +19 -0
  24. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +10 -1
  25. package/dist/cjs/taro-tabbar.cjs.entry.js +100 -46
  26. package/dist/cjs/taro-textarea-core.cjs.entry.js +63 -3
  27. package/dist/cjs/taro-voip-room-core.cjs.entry.js +19 -0
  28. package/dist/collection/collection-manifest.json +21 -5
  29. package/dist/collection/components/ad/ad.js +11 -0
  30. package/dist/collection/components/{cover-view/cover-image.js → ad-custom/ad-custom.js} +3 -3
  31. package/dist/collection/components/cover-image/cover-image.js +94 -0
  32. package/dist/collection/components/cover-image/style/index.css +5 -0
  33. package/dist/collection/components/cover-view/cover-view.js +166 -4
  34. package/dist/collection/components/cover-view/style/cover-view.css +3 -0
  35. package/dist/collection/components/editor/editor.js +11 -0
  36. package/dist/collection/components/functional-page-navigator/functional-page-navigator.js +11 -0
  37. package/dist/collection/components/image/image.js +1 -1
  38. package/dist/collection/components/image/style/index.css +2 -2
  39. package/dist/collection/components/input/input.js +4 -4
  40. package/dist/collection/components/keyboard-accessory/keyboard-accessory.js +11 -0
  41. package/dist/collection/components/live-player/live-player.js +11 -0
  42. package/dist/collection/components/live-pusher/live-pusher.js +11 -0
  43. package/dist/collection/components/map/map.js +11 -0
  44. package/dist/collection/components/match-media/match-media.js +11 -0
  45. package/dist/collection/components/{movable-view → movable-area}/movable-area.js +0 -0
  46. package/dist/collection/components/{movable-view → movable-area}/movable-view.js +0 -0
  47. package/dist/collection/components/navigation-bar/navigation-bar.js +11 -0
  48. package/dist/collection/components/navigator/navigator.js +1 -1
  49. package/dist/collection/components/official-account/official-account.js +11 -0
  50. package/dist/collection/components/page-container/page-container.js +11 -0
  51. package/dist/collection/components/page-meta/page-meta.js +11 -0
  52. package/dist/collection/components/{picker-view-column → picker-view}/picker-view-column.js +0 -0
  53. package/dist/collection/components/{pull-down-refresh → pull-to-refresh}/pull-to-refresh.js +1 -1
  54. package/dist/collection/components/{pull-down-refresh → pull-to-refresh}/style/index.css +0 -0
  55. package/dist/collection/components/share-element/share-element.js +11 -0
  56. package/dist/collection/components/slot/slot.js +11 -0
  57. package/dist/collection/components/swiper/swiper.js +10 -1
  58. package/dist/collection/components/tabbar/tabbar.js +82 -24
  59. package/dist/collection/components/textarea/style/index.css +6 -2
  60. package/dist/collection/components/textarea/textarea.js +98 -3
  61. package/dist/collection/components/voip-room/voip-room.js +11 -0
  62. package/dist/collection/utils/index.js +50 -64
  63. package/dist/esm/loader.js +1 -1
  64. package/dist/esm/taro-ad-core.entry.js +15 -0
  65. package/dist/esm/taro-ad-custom-core.entry.js +15 -0
  66. package/dist/esm/taro-components.js +1 -1
  67. package/dist/esm/taro-cover-image-core.entry.js +18 -4
  68. package/dist/esm/taro-cover-view-core.entry.js +50 -4
  69. package/dist/esm/taro-editor-core.entry.js +15 -0
  70. package/dist/esm/taro-functional-page-navigator-core.entry.js +15 -0
  71. package/dist/esm/taro-image-core.entry.js +2 -2
  72. package/dist/esm/taro-input-core.entry.js +4 -4
  73. package/dist/esm/taro-keyboard-accessory-core.entry.js +15 -0
  74. package/dist/esm/taro-live-player-core.entry.js +15 -0
  75. package/dist/esm/taro-live-pusher-core.entry.js +15 -0
  76. package/dist/esm/taro-map-core.entry.js +15 -0
  77. package/dist/esm/taro-match-media-core.entry.js +15 -0
  78. package/dist/esm/taro-navigation-bar-core.entry.js +15 -0
  79. package/dist/esm/taro-navigator-core.entry.js +1 -1
  80. package/dist/esm/taro-official-account-core.entry.js +15 -0
  81. package/dist/esm/taro-page-container-core.entry.js +15 -0
  82. package/dist/esm/taro-page-meta-core.entry.js +15 -0
  83. package/dist/esm/taro-pull-to-refresh.entry.js +1 -1
  84. package/dist/esm/taro-share-element-core.entry.js +15 -0
  85. package/dist/esm/taro-slot-core.entry.js +15 -0
  86. package/dist/esm/taro-swiper-core_2.entry.js +10 -1
  87. package/dist/esm/taro-tabbar.entry.js +79 -29
  88. package/dist/esm/taro-textarea-core.entry.js +63 -3
  89. package/dist/esm/taro-voip-room-core.entry.js +15 -0
  90. package/dist/esm-es5/loader.js +1 -1
  91. package/dist/esm-es5/taro-ad-core.entry.js +1 -0
  92. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -0
  93. package/dist/esm-es5/taro-components.js +1 -1
  94. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  95. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  96. package/dist/esm-es5/taro-editor-core.entry.js +1 -0
  97. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -0
  98. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  99. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  100. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -0
  101. package/dist/esm-es5/taro-live-player-core.entry.js +1 -0
  102. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -0
  103. package/dist/esm-es5/taro-map-core.entry.js +1 -0
  104. package/dist/esm-es5/taro-match-media-core.entry.js +1 -0
  105. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -0
  106. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  107. package/dist/esm-es5/taro-official-account-core.entry.js +1 -0
  108. package/dist/esm-es5/taro-page-container-core.entry.js +1 -0
  109. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -0
  110. package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
  111. package/dist/esm-es5/taro-share-element-core.entry.js +1 -0
  112. package/dist/esm-es5/taro-slot-core.entry.js +1 -0
  113. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  114. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  115. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  116. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -0
  117. package/dist/taro-components/{p-70f40e3a.entry.js → p-02b84386.entry.js} +1 -1
  118. package/dist/taro-components/{p-af9ec312.system.entry.js → p-0a0377f6.system.entry.js} +1 -1
  119. package/dist/taro-components/p-14095f6b.system.entry.js +1 -0
  120. package/dist/taro-components/p-14fd68ec.entry.js +1 -0
  121. package/dist/taro-components/p-16d9e6b9.system.entry.js +1 -0
  122. package/dist/taro-components/p-1cc97957.entry.js +1 -0
  123. package/dist/taro-components/p-30bfacb9.system.js +1 -1
  124. package/dist/taro-components/p-33bcdee9.entry.js +1 -0
  125. package/dist/taro-components/p-37594e84.entry.js +1 -0
  126. package/dist/taro-components/p-38d8fa46.system.entry.js +1 -0
  127. package/dist/taro-components/{p-098f4931.system.entry.js → p-3984f596.system.entry.js} +1 -1
  128. package/dist/taro-components/p-39bee235.entry.js +1 -0
  129. package/dist/taro-components/p-3ed0783c.system.entry.js +1 -0
  130. package/dist/taro-components/p-4288566a.system.entry.js +1 -0
  131. package/dist/taro-components/p-432f803f.entry.js +1 -0
  132. package/dist/taro-components/p-4d643967.entry.js +1 -0
  133. package/dist/taro-components/p-52ef77b2.entry.js +1 -0
  134. package/dist/taro-components/p-53297f27.entry.js +1 -0
  135. package/dist/taro-components/p-5e20dff4.system.entry.js +1 -0
  136. package/dist/taro-components/p-60a15326.system.entry.js +1 -0
  137. package/dist/taro-components/p-6422a968.system.entry.js +1 -0
  138. package/dist/taro-components/p-79b3c05a.entry.js +1 -0
  139. package/dist/taro-components/p-81e1d9a3.system.entry.js +1 -0
  140. package/dist/taro-components/p-8235b7b7.system.entry.js +1 -0
  141. package/dist/taro-components/p-82741605.entry.js +1 -0
  142. package/dist/taro-components/p-8415cd92.entry.js +1 -0
  143. package/dist/taro-components/p-8f0e3f13.entry.js +1 -0
  144. package/dist/taro-components/p-9b9727c7.entry.js +1 -0
  145. package/dist/taro-components/p-9bd65170.system.entry.js +1 -0
  146. package/dist/taro-components/p-9e7a85ae.entry.js +1 -0
  147. package/dist/taro-components/p-a4fdb95b.system.entry.js +1 -0
  148. package/dist/taro-components/p-a5c0a7e3.entry.js +1 -0
  149. package/dist/taro-components/p-ab55aacd.system.entry.js +1 -0
  150. package/dist/taro-components/{p-8cf16235.entry.js → p-b2ec0cf1.entry.js} +1 -1
  151. package/dist/taro-components/p-b3abedf8.entry.js +1 -0
  152. package/dist/taro-components/p-bc08a702.system.entry.js +1 -0
  153. package/dist/taro-components/p-becfab60.system.entry.js +1 -0
  154. package/dist/taro-components/p-c7cfcb8e.entry.js +1 -0
  155. package/dist/taro-components/p-cb8099dd.entry.js +1 -0
  156. package/dist/taro-components/p-cdf144cb.system.entry.js +1 -0
  157. package/dist/taro-components/p-d8363f59.system.entry.js +1 -0
  158. package/dist/taro-components/{p-2ef4681b.system.entry.js → p-d9494012.system.entry.js} +1 -1
  159. package/dist/taro-components/p-dfe76645.entry.js +1 -0
  160. package/dist/taro-components/p-e1e289bb.entry.js +1 -0
  161. package/dist/taro-components/p-e42b782e.system.entry.js +1 -0
  162. package/dist/taro-components/p-ed3ff1e4.entry.js +1 -0
  163. package/dist/taro-components/p-effd64d5.system.entry.js +1 -0
  164. package/dist/taro-components/p-f05422a6.entry.js +1 -0
  165. package/dist/taro-components/p-f70b6a12.system.entry.js +1 -0
  166. package/dist/taro-components/p-f928a72e.system.entry.js +1 -0
  167. package/dist/taro-components/p-fac09a5c.system.entry.js +1 -0
  168. package/dist/taro-components/taro-components.css +1 -1
  169. package/dist/taro-components/taro-components.esm.js +1 -1
  170. package/dist/types/components/ad/ad.d.ts +4 -0
  171. package/dist/types/components/{cover-view/cover-image.d.ts → ad-custom/ad-custom.d.ts} +1 -1
  172. package/dist/types/components/cover-image/cover-image.d.ts +11 -0
  173. package/dist/types/components/cover-view/cover-view.d.ts +14 -2
  174. package/dist/types/components/editor/editor.d.ts +4 -0
  175. package/dist/types/components/functional-page-navigator/functional-page-navigator.d.ts +4 -0
  176. package/dist/types/components/keyboard-accessory/keyboard-accessory.d.ts +4 -0
  177. package/dist/types/components/live-player/live-player.d.ts +4 -0
  178. package/dist/types/components/live-pusher/live-pusher.d.ts +4 -0
  179. package/dist/types/components/map/map.d.ts +4 -0
  180. package/dist/types/components/match-media/match-media.d.ts +4 -0
  181. package/dist/types/components/{movable-view → movable-area}/movable-area.d.ts +0 -0
  182. package/dist/types/components/{movable-view → movable-area}/movable-view.d.ts +0 -0
  183. package/dist/types/components/navigation-bar/navigation-bar.d.ts +4 -0
  184. package/dist/types/components/official-account/official-account.d.ts +4 -0
  185. package/dist/types/components/page-container/page-container.d.ts +4 -0
  186. package/dist/types/components/page-meta/page-meta.d.ts +4 -0
  187. package/dist/types/components/{picker-view-column → picker-view}/picker-view-column.d.ts +0 -0
  188. package/dist/types/components/{pull-down-refresh → pull-to-refresh}/pull-to-refresh.d.ts +0 -0
  189. package/dist/types/components/share-element/share-element.d.ts +4 -0
  190. package/dist/types/components/slot/slot.d.ts +4 -0
  191. package/dist/types/components/swiper/swiper.d.ts +1 -0
  192. package/dist/types/components/tabbar/tabbar.d.ts +21 -2
  193. package/dist/types/components/textarea/textarea.d.ts +6 -0
  194. package/dist/types/components/voip-room/voip-room.d.ts +4 -0
  195. package/dist/types/components.d.ts +226 -0
  196. package/dist/types/utils/index.d.ts +8 -0
  197. package/dist-h5/react/index.js +2 -1
  198. package/dist-h5/vue/createComponent.js +4 -0
  199. package/dist-h5/vue/createFormsComponent.js +8 -1
  200. package/dist-h5/vue/simpleComponents.js +1 -1
  201. package/package.json +4 -4
  202. package/types/Ad.d.ts +6 -6
  203. package/types/AdCustom.d.ts +50 -0
  204. package/types/Button.d.ts +2 -2
  205. package/types/CoverImage.d.ts +3 -3
  206. package/types/CoverView.d.ts +3 -3
  207. package/types/Image.d.ts +8 -2
  208. package/types/KeyboardAccessory.d.ts +29 -0
  209. package/types/MovableView.d.ts +1 -1
  210. package/types/PageContainer.d.ts +115 -0
  211. package/types/ShareElement.d.ts +39 -0
  212. package/types/View.d.ts +1 -1
  213. package/types/VoipRoom.d.ts +71 -0
  214. package/types/common.d.ts +3 -8
  215. package/types/index.d.ts +72 -46
  216. package/virtual-list/react/createListComponent.js +4 -3
  217. package/dist/taro-components/p-0fb7f599.entry.js +0 -1
  218. package/dist/taro-components/p-2c5d57af.entry.js +0 -1
  219. package/dist/taro-components/p-382cabbc.system.entry.js +0 -1
  220. package/dist/taro-components/p-4ff67760.entry.js +0 -1
  221. package/dist/taro-components/p-5d84eaf0.entry.js +0 -1
  222. package/dist/taro-components/p-69be8189.system.entry.js +0 -1
  223. package/dist/taro-components/p-b685a487.system.entry.js +0 -1
  224. package/dist/taro-components/p-b6e0dca6.entry.js +0 -1
  225. package/dist/taro-components/p-c221cebb.system.entry.js +0 -1
  226. package/dist/taro-components/p-c5722042.entry.js +0 -1
  227. package/dist/taro-components/p-d52009d1.system.entry.js +0 -1
  228. package/dist/taro-components/p-f8d0dabb.entry.js +0 -1
  229. package/dist/taro-components/p-f9013b36.system.entry.js +0 -1
@@ -13,5 +13,5 @@ const patchBrowser = () => {
13
13
  };
14
14
 
15
15
  patchBrowser().then(options => {
16
- return bootstrapLazy([["taro-checkbox-core_2",[[4,"taro-checkbox-core",{"name":[1],"value":[1],"color":[1],"id":[1025],"checked":[4],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}],[0,"taro-checkbox-group-core",{"name":[8]},[[0,"checkboxchange","function"]]]]],["taro-radio-core_2",[[4,"taro-radio-core",{"name":[1],"value":[1],"id":[1025],"checked":[1028],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}],[0,"taro-radio-group-core",{"name":[8]},[[0,"radiochange","function"]]]]],["taro-swiper-core_2",[[4,"taro-swiper-core",{"indicatorDots":[4,"indicator-dots"],"indicatorColor":[1,"indicator-color"],"indicatorActiveColor":[1,"indicator-active-color"],"autoplay":[4],"current":[2],"interval":[2],"duration":[2],"circular":[4],"vertical":[4],"previousMargin":[1,"previous-margin"],"nextMargin":[1,"next-margin"],"displayMultipleItems":[2,"display-multiple-items"],"full":[4],"swiperWrapper":[32],"swiper":[32],"isWillLoadCalled":[32],"observer":[32],"observerFirst":[32],"observerLast":[32]}],[0,"taro-swiper-item-core",{"itemId":[1,"item-id"]}]]],["taro-audio-core",[[0,"taro-audio-core",{"src":[1],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"nativeProps":[16]}]]],["taro-block-core",[[0,"taro-block-core"]]],["taro-button-core",[[4,"taro-button-core",{"disabled":[4],"hoverClass":[1,"hover-class"],"type":[1],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"size":[1],"plain":[4],"loading":[4],"formType":[1,"form-type"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]]],["taro-camera-core",[[0,"taro-camera-core"]]],["taro-canvas-core",[[0,"taro-canvas-core",{"canvasId":[1,"canvas-id"],"nativeProps":[16]}]]],["taro-cover-image-core",[[0,"taro-cover-image-core"]]],["taro-cover-view-core",[[0,"taro-cover-view-core"]]],["taro-custom-wrapper-core",[[0,"taro-custom-wrapper-core"]]],["taro-form-core",[[4,"taro-form-core",{"slotParent":[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["taro-icon-core",[[0,"taro-icon-core",{"type":[1],"size":[8],"color":[1]}]]],["taro-image-core",[[0,"taro-image-core",{"src":[1],"mode":[1],"lazyLoad":[4,"lazy-load"],"nativeProps":[16],"aspectFillMode":[32]}]]],["taro-input-core",[[0,"taro-input-core",{"value":[1],"type":[1],"password":[4],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"auto-focus"],"confirmType":[1,"confirm-type"],"name":[1],"nativeProps":[16],"_value":[32]}]]],["taro-label-core",[[4,"taro-label-core",{"for":[1]}]]],["taro-movable-area-core",[[0,"taro-movable-area-core"]]],["taro-movable-view-core",[[0,"taro-movable-view-core"]]],["taro-navigator-core",[[0,"taro-navigator-core",{"hoverClass":[1,"hover-class"],"url":[1],"openType":[1,"open-type"],"isHover":[4,"is-hover"],"delta":[2]},[[0,"click","onClick"]]]]],["taro-open-data-core",[[0,"taro-open-data-core"]]],["taro-picker-view-column-core",[[0,"taro-picker-view-column-core"]]],["taro-picker-view-core",[[0,"taro-picker-view-core"]]],["taro-progress-core",[[0,"taro-progress-core",{"percent":[2],"showInfo":[4,"show-info"],"borderRadius":[8,"border-radius"],"fontSize":[8,"font-size"],"strokeWidth":[8,"stroke-width"],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"active":[4]}]]],["taro-pull-to-refresh",[[4,"taro-pull-to-refresh",{"prefixCls":[1,"prefix-cls"],"distanceToRefresh":[2,"distance-to-refresh"],"damping":[2],"indicator":[16],"currSt":[32],"dragOnEdge":[32]}]]],["taro-rich-text-core",[[0,"taro-rich-text-core",{"nodes":[1]}]]],["taro-scroll-view-core",[[4,"taro-scroll-view-core",{"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"upperThreshold":[8,"upper-threshold"],"lowerThreshold":[8,"lower-threshold"],"mpScrollTop":[8,"scroll-top"],"mpScrollLeft":[8,"scroll-left"],"mpScrollIntoView":[1,"scroll-into-view"],"scrollWithAnimation":[4,"scroll-with-animation"]}]]],["taro-slider-core",[[0,"taro-slider-core",{"min":[2],"max":[2],"step":[2],"disabled":[4],"value":[1026],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"blockSize":[2,"block-size"],"blockColor":[1,"block-color"],"showValue":[4,"show-value"],"name":[1],"val":[32],"totalWidth":[32],"touching":[32],"ogX":[32],"touchId":[32],"percent":[32],"ogPercent":[32],"isWillLoadCalled":[32]}]]],["taro-switch-core",[[0,"taro-switch-core",{"type":[1],"checked":[4],"color":[1],"name":[1],"disabled":[4],"nativeProps":[16],"isChecked":[32],"isWillLoadCalled":[32]}]]],["taro-tabbar",[[0,"taro-tabbar",{"conf":[16],"list":[32],"selectedIndex":[32],"status":[32]}]]],["taro-text-core",[[4,"taro-text-core",{"selectable":[4]}]]],["taro-textarea-core",[[0,"taro-textarea-core",{"value":[1],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"auto-focus"],"name":[1],"nativeProps":[16]}]]],["taro-view-core",[[4,"taro-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-web-view-core",[[0,"taro-web-view-core",{"src":[1]}]]],["taro-picker-core_2",[[4,"taro-picker-core",{"mode":[1],"disabled":[4],"range":[16],"rangeKey":[1,"range-key"],"value":[8],"start":[1],"end":[1],"fields":[1],"name":[1],"pickerValue":[32],"height":[32],"hidden":[32],"fadeOut":[32],"isWillLoadCalled":[32]}],[0,"taro-picker-group",{"mode":[1],"range":[16],"rangeKey":[1,"range-key"],"height":[2],"columnId":[1,"column-id"],"updateHeight":[16],"onColumnChange":[16],"updateDay":[16],"startY":[32],"preY":[32],"hadMove":[32],"touchEnd":[32],"isMove":[32]},[[1,"mousedown","onMouseDown"],[1,"mousemove","onMouseMove"],[1,"mouseup","onMouseMoveEnd"],[1,"mouseleave","onMouseMoveEnd"],[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-video-control_3",[[0,"taro-video-core",{"src":[1],"duration":[2],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"initialTime":[2,"initial-time"],"poster":[1],"objectFit":[1,"object-fit"],"showProgress":[4,"show-progress"],"showFullscreenBtn":[4,"show-fullscreen-btn"],"showPlayBtn":[4,"show-play-btn"],"showCenterPlayBtn":[4,"show-center-play-btn"],"showMuteBtn":[4,"show-mute-btn"],"danmuList":[16],"danmuBtn":[4,"danmu-btn"],"enableDanmu":[4,"enable-danmu"],"enablePlayGesture":[4,"enable-play-gesture"],"enableProgressGesture":[4,"enable-progress-gesture"],"vslideGesture":[4,"vslide-gesture"],"vslideGestureInFullscreen":[4,"vslide-gesture-in-fullscreen"],"nativeProps":[16],"_duration":[32],"_enableDanmu":[32],"isPlaying":[32],"isFirst":[32],"isFullScreen":[32],"fullScreenTimestamp":[32],"isMute":[32],"play":[64],"pause":[64],"stop":[64],"seek":[64],"requestFullScreen":[64],"exitFullScreen":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[4,"taro-video-control",{"controls":[4],"currentTime":[2,"current-time"],"duration":[2],"isPlaying":[4,"is-playing"],"pauseFunc":[16],"playFunc":[16],"seekFunc":[16],"showPlayBtn":[4,"show-play-btn"],"showProgress":[4,"show-progress"],"setProgressBall":[64],"toggleVisibility":[64],"getIsDraggingProgressBall":[64],"setCurrentTime":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[0,"taro-video-danmu",{"enable":[4],"danmuList":[32],"sendDanmu":[64],"tick":[64]}]]]], options);
16
+ return bootstrapLazy([["taro-checkbox-core_2",[[4,"taro-checkbox-core",{"name":[1],"value":[1],"color":[1],"id":[1025],"checked":[4],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}],[0,"taro-checkbox-group-core",{"name":[8]},[[0,"checkboxchange","function"]]]]],["taro-radio-core_2",[[4,"taro-radio-core",{"name":[1],"value":[1],"id":[1025],"checked":[1028],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}],[0,"taro-radio-group-core",{"name":[8]},[[0,"radiochange","function"]]]]],["taro-swiper-core_2",[[4,"taro-swiper-core",{"indicatorDots":[4,"indicator-dots"],"indicatorColor":[1,"indicator-color"],"indicatorActiveColor":[1,"indicator-active-color"],"autoplay":[4],"current":[2],"interval":[2],"duration":[2],"circular":[4],"vertical":[4],"previousMargin":[1,"previous-margin"],"nextMargin":[1,"next-margin"],"displayMultipleItems":[2,"display-multiple-items"],"full":[4],"swiperWrapper":[32],"swiper":[32],"isWillLoadCalled":[32],"observer":[32],"observerFirst":[32],"observerLast":[32]}],[0,"taro-swiper-item-core",{"itemId":[1,"item-id"]}]]],["taro-ad-core",[[0,"taro-ad-core"]]],["taro-ad-custom-core",[[0,"taro-ad-custom-core"]]],["taro-audio-core",[[0,"taro-audio-core",{"src":[1],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"nativeProps":[16]}]]],["taro-block-core",[[0,"taro-block-core"]]],["taro-button-core",[[4,"taro-button-core",{"disabled":[4],"hoverClass":[1,"hover-class"],"type":[1],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"size":[1],"plain":[4],"loading":[4],"formType":[1,"form-type"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]]],["taro-camera-core",[[0,"taro-camera-core"]]],["taro-canvas-core",[[0,"taro-canvas-core",{"canvasId":[1,"canvas-id"],"nativeProps":[16]}]]],["taro-cover-image-core",[[0,"taro-cover-image-core",{"src":[1],"nativeProps":[16]}]]],["taro-cover-view-core",[[4,"taro-cover-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-custom-wrapper-core",[[0,"taro-custom-wrapper-core"]]],["taro-editor-core",[[0,"taro-editor-core"]]],["taro-form-core",[[4,"taro-form-core",{"slotParent":[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["taro-functional-page-navigator-core",[[0,"taro-functional-page-navigator-core"]]],["taro-icon-core",[[0,"taro-icon-core",{"type":[1],"size":[8],"color":[1]}]]],["taro-image-core",[[0,"taro-image-core",{"src":[1],"mode":[1],"lazyLoad":[4,"lazy-load"],"nativeProps":[16],"aspectFillMode":[32]}]]],["taro-input-core",[[0,"taro-input-core",{"value":[1],"type":[1],"password":[4],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"auto-focus"],"confirmType":[1,"confirm-type"],"name":[1],"nativeProps":[16],"_value":[32]}]]],["taro-keyboard-accessory-core",[[0,"taro-keyboard-accessory-core"]]],["taro-label-core",[[4,"taro-label-core",{"for":[1]}]]],["taro-live-player-core",[[0,"taro-live-player-core"]]],["taro-live-pusher-core",[[0,"taro-live-pusher-core"]]],["taro-map-core",[[0,"taro-map-core"]]],["taro-match-media-core",[[0,"taro-match-media-core"]]],["taro-movable-area-core",[[0,"taro-movable-area-core"]]],["taro-movable-view-core",[[0,"taro-movable-view-core"]]],["taro-navigation-bar-core",[[0,"taro-navigation-bar-core"]]],["taro-navigator-core",[[0,"taro-navigator-core",{"hoverClass":[1,"hover-class"],"url":[1],"openType":[1,"open-type"],"isHover":[4,"is-hover"],"delta":[2]},[[0,"click","onClick"]]]]],["taro-official-account-core",[[0,"taro-official-account-core"]]],["taro-open-data-core",[[0,"taro-open-data-core"]]],["taro-page-container-core",[[0,"taro-page-container-core"]]],["taro-page-meta-core",[[0,"taro-page-meta-core"]]],["taro-picker-view-column-core",[[0,"taro-picker-view-column-core"]]],["taro-picker-view-core",[[0,"taro-picker-view-core"]]],["taro-progress-core",[[0,"taro-progress-core",{"percent":[2],"showInfo":[4,"show-info"],"borderRadius":[8,"border-radius"],"fontSize":[8,"font-size"],"strokeWidth":[8,"stroke-width"],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"active":[4]}]]],["taro-pull-to-refresh",[[4,"taro-pull-to-refresh",{"prefixCls":[1,"prefix-cls"],"distanceToRefresh":[2,"distance-to-refresh"],"damping":[2],"indicator":[16],"currSt":[32],"dragOnEdge":[32]}]]],["taro-rich-text-core",[[0,"taro-rich-text-core",{"nodes":[1]}]]],["taro-scroll-view-core",[[4,"taro-scroll-view-core",{"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"upperThreshold":[8,"upper-threshold"],"lowerThreshold":[8,"lower-threshold"],"mpScrollTop":[8,"scroll-top"],"mpScrollLeft":[8,"scroll-left"],"mpScrollIntoView":[1,"scroll-into-view"],"scrollWithAnimation":[4,"scroll-with-animation"]}]]],["taro-share-element-core",[[0,"taro-share-element-core"]]],["taro-slider-core",[[0,"taro-slider-core",{"min":[2],"max":[2],"step":[2],"disabled":[4],"value":[1026],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"blockSize":[2,"block-size"],"blockColor":[1,"block-color"],"showValue":[4,"show-value"],"name":[1],"val":[32],"totalWidth":[32],"touching":[32],"ogX":[32],"touchId":[32],"percent":[32],"ogPercent":[32],"isWillLoadCalled":[32]}]]],["taro-slot-core",[[0,"taro-slot-core"]]],["taro-switch-core",[[0,"taro-switch-core",{"type":[1],"checked":[4],"color":[1],"name":[1],"disabled":[4],"nativeProps":[16],"isChecked":[32],"isWillLoadCalled":[32]}]]],["taro-tabbar",[[0,"taro-tabbar",{"conf":[16],"list":[32],"borderStyle":[32],"backgroundColor":[32],"color":[32],"selectedColor":[32],"selectedIndex":[32],"status":[32]}]]],["taro-text-core",[[4,"taro-text-core",{"selectable":[4]}]]],["taro-textarea-core",[[0,"taro-textarea-core",{"value":[1],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"auto-focus"],"autoHeight":[4,"auto-height"],"name":[1],"nativeProps":[16],"line":[32]}]]],["taro-view-core",[[4,"taro-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-voip-room-core",[[0,"taro-voip-room-core"]]],["taro-web-view-core",[[0,"taro-web-view-core",{"src":[1]}]]],["taro-picker-core_2",[[4,"taro-picker-core",{"mode":[1],"disabled":[4],"range":[16],"rangeKey":[1,"range-key"],"value":[8],"start":[1],"end":[1],"fields":[1],"name":[1],"pickerValue":[32],"height":[32],"hidden":[32],"fadeOut":[32],"isWillLoadCalled":[32]}],[0,"taro-picker-group",{"mode":[1],"range":[16],"rangeKey":[1,"range-key"],"height":[2],"columnId":[1,"column-id"],"updateHeight":[16],"onColumnChange":[16],"updateDay":[16],"startY":[32],"preY":[32],"hadMove":[32],"touchEnd":[32],"isMove":[32]},[[1,"mousedown","onMouseDown"],[1,"mousemove","onMouseMove"],[1,"mouseup","onMouseMoveEnd"],[1,"mouseleave","onMouseMoveEnd"],[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-video-control_3",[[0,"taro-video-core",{"src":[1],"duration":[2],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"initialTime":[2,"initial-time"],"poster":[1],"objectFit":[1,"object-fit"],"showProgress":[4,"show-progress"],"showFullscreenBtn":[4,"show-fullscreen-btn"],"showPlayBtn":[4,"show-play-btn"],"showCenterPlayBtn":[4,"show-center-play-btn"],"showMuteBtn":[4,"show-mute-btn"],"danmuList":[16],"danmuBtn":[4,"danmu-btn"],"enableDanmu":[4,"enable-danmu"],"enablePlayGesture":[4,"enable-play-gesture"],"enableProgressGesture":[4,"enable-progress-gesture"],"vslideGesture":[4,"vslide-gesture"],"vslideGestureInFullscreen":[4,"vslide-gesture-in-fullscreen"],"nativeProps":[16],"_duration":[32],"_enableDanmu":[32],"isPlaying":[32],"isFirst":[32],"isFullScreen":[32],"fullScreenTimestamp":[32],"isMute":[32],"play":[64],"pause":[64],"stop":[64],"seek":[64],"requestFullScreen":[64],"exitFullScreen":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[4,"taro-video-control",{"controls":[4],"currentTime":[2,"current-time"],"duration":[2],"isPlaying":[4,"is-playing"],"pauseFunc":[16],"playFunc":[16],"seekFunc":[16],"showPlayBtn":[4,"show-play-btn"],"showProgress":[4,"show-progress"],"setProgressBall":[64],"toggleVisibility":[64],"getIsDraggingProgressBall":[64],"setCurrentTime":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[0,"taro-video-danmu",{"enable":[4],"danmuList":[32],"sendDanmu":[64],"tick":[64]}]]]], options);
17
17
  });
@@ -1,15 +1,29 @@
1
- import { r as registerInstance, h, H as Host } from './index-165a6222.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-165a6222.js';
2
+
3
+ const indexCss = "taro-cover-image-core{overflow:hidden;width:320px;height:240px}";
2
4
 
3
5
  let CoverImage = class {
4
6
  constructor(hostRef) {
5
7
  registerInstance(this, hostRef);
8
+ this.onLoad = createEvent(this, "load", 7);
9
+ this.onError = createEvent(this, "error", 7);
10
+ this.nativeProps = {};
11
+ }
12
+ imageOnLoad() {
13
+ const { width, height, } = this.imgRef;
14
+ this.onLoad.emit({
15
+ width,
16
+ height
17
+ });
6
18
  }
7
- componentDidLoad() {
8
- console.error('H5 暂不支持 CoverImage 组件!');
19
+ imageOnError() {
20
+ this.onError.emit();
9
21
  }
10
22
  render() {
11
- return (h(Host, null));
23
+ const { src, imageOnLoad, imageOnError, nativeProps } = this;
24
+ return (h("img", Object.assign({ ref: img => (this.imgRef = img), src: src, onLoad: imageOnLoad.bind(this), onError: imageOnError.bind(this) }, nativeProps)));
12
25
  }
13
26
  };
27
+ CoverImage.style = indexCss;
14
28
 
15
29
  export { CoverImage as taro_cover_image_core };
@@ -1,15 +1,61 @@
1
- import { r as registerInstance, h, H as Host } from './index-165a6222.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-165a6222.js';
2
+ import { c as classnames } from './index-85e10859.js';
3
+
4
+ const coverViewCss = "taro-cover-view-core{display:block}";
2
5
 
3
6
  let CoverView = class {
4
7
  constructor(hostRef) {
5
8
  registerInstance(this, hostRef);
9
+ this.onLongPress = createEvent(this, "longpress", 7);
10
+ this.hoverStartTime = 50;
11
+ this.hoverStayTime = 400;
12
+ this.hover = false;
13
+ this.touch = false;
14
+ this.startTime = 0;
15
+ }
16
+ onTouchStart() {
17
+ if (this.hoverClass) {
18
+ this.touch = true;
19
+ setTimeout(() => {
20
+ if (this.touch) {
21
+ this.hover = true;
22
+ }
23
+ }, this.hoverStartTime);
24
+ }
25
+ this.timeoutEvent = setTimeout(() => {
26
+ this.onLongPress.emit();
27
+ }, 350);
28
+ this.startTime = Date.now();
29
+ }
30
+ onTouchMove() {
31
+ clearTimeout(this.timeoutEvent);
6
32
  }
7
- componentDidLoad() {
8
- console.error('H5 暂不支持 CoverView 组件!');
33
+ onTouchEnd() {
34
+ const spanTime = Date.now() - this.startTime;
35
+ if (spanTime < 350) {
36
+ clearTimeout(this.timeoutEvent);
37
+ }
38
+ if (this.hoverClass) {
39
+ this.touch = false;
40
+ setTimeout(() => {
41
+ if (!this.touch) {
42
+ this.hover = false;
43
+ }
44
+ }, this.hoverStayTime);
45
+ }
9
46
  }
10
47
  render() {
11
- return (h(Host, null));
48
+ const cls = classnames({
49
+ [`${this.hoverClass}`]: this.hover
50
+ });
51
+ let attr = {};
52
+ if (!!this.animation) {
53
+ attr['animation'] = this.animation;
54
+ attr['data-animation'] = this.animation;
55
+ }
56
+ return (h(Host, Object.assign({ class: cls }, attr), h("slot", null)));
12
57
  }
13
58
  };
59
+ CoverView.style = coverViewCss;
14
60
 
15
61
  export { CoverView as taro_cover_view_core };
@@ -0,0 +1,15 @@
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
+
3
+ let Editor = class {
4
+ constructor(hostRef) {
5
+ registerInstance(this, hostRef);
6
+ }
7
+ componentDidLoad() {
8
+ console.error('H5 暂不支持 Editor 组件!');
9
+ }
10
+ render() {
11
+ return (h(Host, null));
12
+ }
13
+ };
14
+
15
+ export { Editor as taro_editor_core };
@@ -0,0 +1,15 @@
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
+
3
+ let FunctionalPageNavigator = class {
4
+ constructor(hostRef) {
5
+ registerInstance(this, hostRef);
6
+ }
7
+ componentDidLoad() {
8
+ console.error('H5 暂不支持 FunctionalPageNavigator 组件!');
9
+ }
10
+ render() {
11
+ return (h(Host, null));
12
+ }
13
+ };
14
+
15
+ export { FunctionalPageNavigator as taro_functional_page_navigator_core };
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-165a6222.js';
2
2
  import { c as classnames } from './index-85e10859.js';
3
3
 
4
- const indexCss = "img[src=\"\"]{opacity:0}taro-image-core{display:inline-block;overflow:hidden;position:relative;font-size:0;width:320px;height:240px}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%}.taro-img__mode-aspectfill{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-top{width:100%}.taro-img__mode-bottom{width:100%;position:absolute;bottom:0}.taro-img__mode-left{height:100%}.taro-img__mode-right{position:absolute;height:100%;right:0}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;right:0;bottom:0}";
4
+ const indexCss = "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}";
5
5
 
6
6
  import('./intersection-observer-8e4c7135.js');
7
7
  let Image = class {
@@ -40,7 +40,7 @@ let Image = class {
40
40
  this.onError.emit();
41
41
  }
42
42
  render() {
43
- const { src, mode, lazyLoad, aspectFillMode, imageOnLoad, imageOnError, nativeProps } = this;
43
+ const { src, mode = 'scaleToFill', lazyLoad = false, aspectFillMode = 'width', imageOnLoad, imageOnError, nativeProps } = this;
44
44
  const cls = classnames({
45
45
  'taro-img__widthfix': mode === 'widthFix'
46
46
  });
@@ -122,7 +122,7 @@ let Input = class {
122
122
  this._value = this.value;
123
123
  }
124
124
  componentDidLoad() {
125
- var _a, _b, _c;
125
+ var _a, _b, _c, _d;
126
126
  if (this.type === 'file') {
127
127
  this.fileListener = () => {
128
128
  this.onInput.emit();
@@ -140,6 +140,7 @@ let Input = class {
140
140
  },
141
141
  configurable: true
142
142
  });
143
+ this.autoFocus && ((_d = this.inputRef) === null || _d === void 0 ? void 0 : _d.focus());
143
144
  }
144
145
  disconnectedCallback() {
145
146
  var _a;
@@ -148,11 +149,10 @@ let Input = class {
148
149
  }
149
150
  }
150
151
  render() {
151
- const { _value, type, password, placeholder, disabled, maxlength, autoFocus, confirmType, name, nativeProps } = this;
152
+ const { _value, type, password, placeholder, disabled, maxlength, confirmType, name, nativeProps } = this;
152
153
  return (h("input", Object.assign({ ref: input => {
153
154
  this.inputRef = input;
154
- autoFocus && (input === null || input === void 0 ? void 0 : input.focus());
155
- }, class: 'weui-input', value: fixControlledValue(_value), type: getTrueType(type, confirmType, password), placeholder: placeholder, disabled: disabled, maxlength: maxlength, autofocus: autoFocus, name: name, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onChange: this.handleChange, onKeyDown: this.handleKeyDown }, nativeProps)));
155
+ }, class: 'weui-input', value: fixControlledValue(_value), type: getTrueType(type, confirmType, password), placeholder: placeholder, disabled: disabled, maxlength: maxlength, name: name, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onChange: this.handleChange, onKeyDown: this.handleKeyDown }, nativeProps)));
156
156
  }
157
157
  get el() { return getElement(this); }
158
158
  static get watchers() { return {
@@ -0,0 +1,15 @@
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
+
3
+ let KeyboardAccessory = class {
4
+ constructor(hostRef) {
5
+ registerInstance(this, hostRef);
6
+ }
7
+ componentDidLoad() {
8
+ console.error('H5 暂不支持 KeyboardAccessory 组件!');
9
+ }
10
+ render() {
11
+ return (h(Host, null));
12
+ }
13
+ };
14
+
15
+ export { KeyboardAccessory as taro_keyboard_accessory_core };
@@ -0,0 +1,15 @@
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
+
3
+ let LivePlayer = class {
4
+ constructor(hostRef) {
5
+ registerInstance(this, hostRef);
6
+ }
7
+ componentDidLoad() {
8
+ console.error('H5 暂不支持 LivePlayer 组件!');
9
+ }
10
+ render() {
11
+ return (h(Host, null));
12
+ }
13
+ };
14
+
15
+ export { LivePlayer as taro_live_player_core };
@@ -0,0 +1,15 @@
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
+
3
+ let LivePusher = class {
4
+ constructor(hostRef) {
5
+ registerInstance(this, hostRef);
6
+ }
7
+ componentDidLoad() {
8
+ console.error('H5 暂不支持 LivePusher 组件!');
9
+ }
10
+ render() {
11
+ return (h(Host, null));
12
+ }
13
+ };
14
+
15
+ export { LivePusher as taro_live_pusher_core };
@@ -0,0 +1,15 @@
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
+
3
+ let Map = class {
4
+ constructor(hostRef) {
5
+ registerInstance(this, hostRef);
6
+ }
7
+ componentDidLoad() {
8
+ console.error('H5 暂不支持 Map 组件!');
9
+ }
10
+ render() {
11
+ return (h(Host, null));
12
+ }
13
+ };
14
+
15
+ export { Map as taro_map_core };
@@ -0,0 +1,15 @@
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
+
3
+ let MatchMedia = class {
4
+ constructor(hostRef) {
5
+ registerInstance(this, hostRef);
6
+ }
7
+ componentDidLoad() {
8
+ console.error('H5 暂不支持 MatchMedia 组件!');
9
+ }
10
+ render() {
11
+ return (h(Host, null));
12
+ }
13
+ };
14
+
15
+ export { MatchMedia as taro_match_media_core };
@@ -0,0 +1,15 @@
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
+
3
+ let NavigationBar = class {
4
+ constructor(hostRef) {
5
+ registerInstance(this, hostRef);
6
+ }
7
+ componentDidLoad() {
8
+ console.error('H5 暂不支持 NavigationBar 组件!');
9
+ }
10
+ render() {
11
+ return (h(Host, null));
12
+ }
13
+ };
14
+
15
+ export { NavigationBar as taro_navigation_bar_core };
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-165a6222.js';
2
+ import Taro from '@tarojs/taro';
2
3
  import { c as classnames } from './index-85e10859.js';
3
4
 
4
5
  const navigatorCss = ".navigator-hover{background:#efefef}";
5
6
 
6
- const Taro = require('@tarojs/taro');
7
7
  let Navigator = class {
8
8
  constructor(hostRef) {
9
9
  registerInstance(this, hostRef);
@@ -0,0 +1,15 @@
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
+
3
+ let OfficialAccount = class {
4
+ constructor(hostRef) {
5
+ registerInstance(this, hostRef);
6
+ }
7
+ componentDidLoad() {
8
+ console.error('H5 暂不支持 OfficialAccount 组件!');
9
+ }
10
+ render() {
11
+ return (h(Host, null));
12
+ }
13
+ };
14
+
15
+ export { OfficialAccount as taro_official_account_core };
@@ -0,0 +1,15 @@
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
+
3
+ let PageContainer = class {
4
+ constructor(hostRef) {
5
+ registerInstance(this, hostRef);
6
+ }
7
+ componentDidLoad() {
8
+ console.error('H5 暂不支持 PageContainer 组件!');
9
+ }
10
+ render() {
11
+ return (h(Host, null));
12
+ }
13
+ };
14
+
15
+ export { PageContainer as taro_page_container_core };
@@ -0,0 +1,15 @@
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
+
3
+ let PageMeta = class {
4
+ constructor(hostRef) {
5
+ registerInstance(this, hostRef);
6
+ }
7
+ componentDidLoad() {
8
+ console.error('H5 暂不支持 PageMeta 组件!');
9
+ }
10
+ render() {
11
+ return (h(Host, null));
12
+ }
13
+ };
14
+
15
+ export { PageMeta as taro_page_meta_core };
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-165a6222.js';
2
+ import Taro from '@tarojs/taro';
2
3
  import { c as classnames } from './index-85e10859.js';
3
4
 
4
5
  const indexCss = ".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}";
5
6
 
6
- const Taro = require('@tarojs/taro');
7
7
  function setTransform(nodeStyle, value) {
8
8
  nodeStyle.transform = value;
9
9
  nodeStyle.webkitTransform = value;
@@ -0,0 +1,15 @@
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
+
3
+ let ShareElement = class {
4
+ constructor(hostRef) {
5
+ registerInstance(this, hostRef);
6
+ }
7
+ componentDidLoad() {
8
+ console.error('H5 暂不支持 ShareElement 组件!');
9
+ }
10
+ render() {
11
+ return (h(Host, null));
12
+ }
13
+ };
14
+
15
+ export { ShareElement as taro_share_element_core };
@@ -0,0 +1,15 @@
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
+
3
+ let Slot = class {
4
+ constructor(hostRef) {
5
+ registerInstance(this, hostRef);
6
+ }
7
+ componentDidLoad() {
8
+ console.error('H5 暂不支持 Slot 组件!');
9
+ }
10
+ render() {
11
+ return (h(Host, null));
12
+ }
13
+ };
14
+
15
+ export { Slot as taro_slot_core };
@@ -9939,6 +9939,11 @@ let Swiper = class {
9939
9939
  this.swiper.loopCreate();
9940
9940
  }
9941
9941
  }, 500);
9942
+ this.handleSwiperSize = debounce(() => {
9943
+ if (this.swiper && !this.circular) {
9944
+ this.swiper.updateSlides();
9945
+ }
9946
+ }, 50);
9942
9947
  }
9943
9948
  watchCurrent(newVal) {
9944
9949
  if (!this.isWillLoadCalled)
@@ -10002,6 +10007,8 @@ let Swiper = class {
10002
10007
  this.el.removeChild = (oldChild) => {
10003
10008
  return newVal.removeChild(oldChild);
10004
10009
  };
10010
+ this.el.addEventListener('DOMNodeInserted', this.handleSwiperSize);
10011
+ this.el.addEventListener('DOMNodeRemoved', this.handleSwiperSize);
10005
10012
  }
10006
10013
  watchCircular() {
10007
10014
  if (this.swiper) {
@@ -10035,6 +10042,8 @@ let Swiper = class {
10035
10042
  }
10036
10043
  disconnectedCallback() {
10037
10044
  var _a, _b, _c, _d, _e, _f;
10045
+ this.el.removeEventListener('DOMNodeInserted', this.handleSwiperSize);
10046
+ this.el.removeEventListener('DOMNodeRemoved', this.handleSwiperSize);
10038
10047
  (_b = (_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect) === null || _b === void 0 ? void 0 : _b.call(_a);
10039
10048
  (_d = (_c = this.observerFirst) === null || _c === void 0 ? void 0 : _c.disconnect) === null || _d === void 0 ? void 0 : _d.call(_c);
10040
10049
  (_f = (_e = this.observerLast) === null || _e === void 0 ? void 0 : _e.disconnect) === null || _f === void 0 ? void 0 : _f.call(_e);
@@ -10078,7 +10087,7 @@ let Swiper = class {
10078
10087
  observerUpdate(_swiper, e) {
10079
10088
  const target = e.target;
10080
10089
  const className = target && typeof target.className === 'string' ? target.className : '';
10081
- if (className.includes('taro_page') && target.style.display === 'block') {
10090
+ if (className.includes('taro_page') && target.style.display !== 'none') {
10082
10091
  if (that.autoplay && target.contains(_swiper.$el[0])) {
10083
10092
  _swiper.slideTo(that.current);
10084
10093
  }