@tarojs/components 3.3.16 → 3.3.17

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 (172) 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-keyboard-accessory-core.cjs.entry.js +19 -0
  8. package/dist/cjs/taro-live-player-core.cjs.entry.js +19 -0
  9. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +19 -0
  10. package/dist/cjs/taro-map-core.cjs.entry.js +19 -0
  11. package/dist/cjs/taro-match-media-core.cjs.entry.js +19 -0
  12. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +19 -0
  13. package/dist/cjs/taro-navigator-core.cjs.entry.js +10 -6
  14. package/dist/cjs/taro-official-account-core.cjs.entry.js +19 -0
  15. package/dist/cjs/taro-page-container-core.cjs.entry.js +19 -0
  16. package/dist/cjs/taro-page-meta-core.cjs.entry.js +19 -0
  17. package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +7 -3
  18. package/dist/cjs/taro-share-element-core.cjs.entry.js +19 -0
  19. package/dist/cjs/taro-slot-core.cjs.entry.js +19 -0
  20. package/dist/cjs/taro-tabbar.cjs.entry.js +36 -30
  21. package/dist/cjs/taro-voip-room-core.cjs.entry.js +19 -0
  22. package/dist/collection/collection-manifest.json +20 -4
  23. package/dist/collection/components/ad/ad.js +11 -0
  24. package/dist/collection/components/ad-custom/ad-custom.js +11 -0
  25. package/dist/collection/components/editor/editor.js +11 -0
  26. package/dist/collection/components/functional-page-navigator/functional-page-navigator.js +11 -0
  27. package/dist/collection/components/keyboard-accessory/keyboard-accessory.js +11 -0
  28. package/dist/collection/components/live-player/live-player.js +11 -0
  29. package/dist/collection/components/live-pusher/live-pusher.js +11 -0
  30. package/dist/collection/components/map/map.js +11 -0
  31. package/dist/collection/components/match-media/match-media.js +11 -0
  32. package/dist/collection/components/{movable-view → movable-area}/movable-area.js +0 -0
  33. package/dist/collection/components/{movable-view → movable-area}/movable-view.js +0 -0
  34. package/dist/collection/components/navigation-bar/navigation-bar.js +11 -0
  35. package/dist/collection/components/navigator/navigator.js +1 -1
  36. package/dist/collection/components/official-account/official-account.js +11 -0
  37. package/dist/collection/components/page-container/page-container.js +11 -0
  38. package/dist/collection/components/page-meta/page-meta.js +11 -0
  39. package/dist/collection/components/{picker-view-column → picker-view}/picker-view-column.js +0 -0
  40. package/dist/collection/components/{pull-down-refresh → pull-to-refresh}/pull-to-refresh.js +1 -1
  41. package/dist/collection/components/{pull-down-refresh → pull-to-refresh}/style/index.css +0 -0
  42. package/dist/collection/components/share-element/share-element.js +11 -0
  43. package/dist/collection/components/slot/slot.js +11 -0
  44. package/dist/collection/components/tabbar/tabbar.js +10 -4
  45. package/dist/collection/components/voip-room/voip-room.js +11 -0
  46. package/dist/collection/utils/index.js +50 -64
  47. package/dist/esm/loader.js +1 -1
  48. package/dist/esm/taro-ad-core.entry.js +15 -0
  49. package/dist/esm/taro-ad-custom-core.entry.js +15 -0
  50. package/dist/esm/taro-components.js +1 -1
  51. package/dist/esm/taro-editor-core.entry.js +15 -0
  52. package/dist/esm/taro-functional-page-navigator-core.entry.js +15 -0
  53. package/dist/esm/taro-keyboard-accessory-core.entry.js +15 -0
  54. package/dist/esm/taro-live-player-core.entry.js +15 -0
  55. package/dist/esm/taro-live-pusher-core.entry.js +15 -0
  56. package/dist/esm/taro-map-core.entry.js +15 -0
  57. package/dist/esm/taro-match-media-core.entry.js +15 -0
  58. package/dist/esm/taro-navigation-bar-core.entry.js +15 -0
  59. package/dist/esm/taro-navigator-core.entry.js +1 -1
  60. package/dist/esm/taro-official-account-core.entry.js +15 -0
  61. package/dist/esm/taro-page-container-core.entry.js +15 -0
  62. package/dist/esm/taro-page-meta-core.entry.js +15 -0
  63. package/dist/esm/taro-pull-to-refresh.entry.js +1 -1
  64. package/dist/esm/taro-share-element-core.entry.js +15 -0
  65. package/dist/esm/taro-slot-core.entry.js +15 -0
  66. package/dist/esm/taro-tabbar.entry.js +11 -9
  67. package/dist/esm/taro-voip-room-core.entry.js +15 -0
  68. package/dist/esm-es5/loader.js +1 -1
  69. package/dist/esm-es5/taro-ad-core.entry.js +1 -0
  70. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -0
  71. package/dist/esm-es5/taro-components.js +1 -1
  72. package/dist/esm-es5/taro-editor-core.entry.js +1 -0
  73. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -0
  74. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -0
  75. package/dist/esm-es5/taro-live-player-core.entry.js +1 -0
  76. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -0
  77. package/dist/esm-es5/taro-map-core.entry.js +1 -0
  78. package/dist/esm-es5/taro-match-media-core.entry.js +1 -0
  79. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -0
  80. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  81. package/dist/esm-es5/taro-official-account-core.entry.js +1 -0
  82. package/dist/esm-es5/taro-page-container-core.entry.js +1 -0
  83. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -0
  84. package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
  85. package/dist/esm-es5/taro-share-element-core.entry.js +1 -0
  86. package/dist/esm-es5/taro-slot-core.entry.js +1 -0
  87. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  88. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -0
  89. package/dist/taro-components/p-02b84386.entry.js +1 -0
  90. package/dist/taro-components/p-0a0377f6.system.entry.js +1 -0
  91. package/dist/taro-components/p-14095f6b.system.entry.js +1 -0
  92. package/dist/taro-components/p-16d9e6b9.system.entry.js +1 -0
  93. package/dist/taro-components/p-1cc97957.entry.js +1 -0
  94. package/dist/taro-components/p-30bfacb9.system.js +1 -1
  95. package/dist/taro-components/p-37594e84.entry.js +1 -0
  96. package/dist/taro-components/p-3ed0783c.system.entry.js +1 -0
  97. package/dist/taro-components/p-4288566a.system.entry.js +1 -0
  98. package/dist/taro-components/p-432f803f.entry.js +1 -0
  99. package/dist/taro-components/p-4d643967.entry.js +1 -0
  100. package/dist/taro-components/p-52ef77b2.entry.js +1 -0
  101. package/dist/taro-components/p-53297f27.entry.js +1 -0
  102. package/dist/taro-components/p-5e20dff4.system.entry.js +1 -0
  103. package/dist/taro-components/p-60a15326.system.entry.js +1 -0
  104. package/dist/taro-components/p-6422a968.system.entry.js +1 -0
  105. package/dist/taro-components/p-81e1d9a3.system.entry.js +1 -0
  106. package/dist/taro-components/p-82741605.entry.js +1 -0
  107. package/dist/taro-components/p-8415cd92.entry.js +1 -0
  108. package/dist/taro-components/p-8f0e3f13.entry.js +1 -0
  109. package/dist/taro-components/p-9b9727c7.entry.js +1 -0
  110. package/dist/taro-components/p-9e7a85ae.entry.js +1 -0
  111. package/dist/taro-components/p-a4fdb95b.system.entry.js +1 -0
  112. package/dist/taro-components/p-a5c0a7e3.entry.js +1 -0
  113. package/dist/taro-components/p-ab55aacd.system.entry.js +1 -0
  114. package/dist/taro-components/p-b3abedf8.entry.js +1 -0
  115. package/dist/taro-components/p-bc08a702.system.entry.js +1 -0
  116. package/dist/taro-components/p-becfab60.system.entry.js +1 -0
  117. package/dist/taro-components/p-c7cfcb8e.entry.js +1 -0
  118. package/dist/taro-components/p-cdf144cb.system.entry.js +1 -0
  119. package/dist/taro-components/p-dfe76645.entry.js +1 -0
  120. package/dist/taro-components/p-e1e289bb.entry.js +1 -0
  121. package/dist/taro-components/p-e42b782e.system.entry.js +1 -0
  122. package/dist/taro-components/p-ed3ff1e4.entry.js +1 -0
  123. package/dist/taro-components/p-effd64d5.system.entry.js +1 -0
  124. package/dist/taro-components/p-f05422a6.entry.js +1 -0
  125. package/dist/taro-components/p-f70b6a12.system.entry.js +1 -0
  126. package/dist/taro-components/p-f928a72e.system.entry.js +1 -0
  127. package/dist/taro-components/p-fac09a5c.system.entry.js +1 -0
  128. package/dist/taro-components/taro-components.css +1 -1
  129. package/dist/taro-components/taro-components.esm.js +1 -1
  130. package/dist/types/components/ad/ad.d.ts +4 -0
  131. package/dist/types/components/ad-custom/ad-custom.d.ts +4 -0
  132. package/dist/types/components/editor/editor.d.ts +4 -0
  133. package/dist/types/components/functional-page-navigator/functional-page-navigator.d.ts +4 -0
  134. package/dist/types/components/keyboard-accessory/keyboard-accessory.d.ts +4 -0
  135. package/dist/types/components/live-player/live-player.d.ts +4 -0
  136. package/dist/types/components/live-pusher/live-pusher.d.ts +4 -0
  137. package/dist/types/components/map/map.d.ts +4 -0
  138. package/dist/types/components/match-media/match-media.d.ts +4 -0
  139. package/dist/types/components/{movable-view → movable-area}/movable-area.d.ts +0 -0
  140. package/dist/types/components/{movable-view → movable-area}/movable-view.d.ts +0 -0
  141. package/dist/types/components/navigation-bar/navigation-bar.d.ts +4 -0
  142. package/dist/types/components/official-account/official-account.d.ts +4 -0
  143. package/dist/types/components/page-container/page-container.d.ts +4 -0
  144. package/dist/types/components/page-meta/page-meta.d.ts +4 -0
  145. package/dist/types/components/{picker-view-column → picker-view}/picker-view-column.d.ts +0 -0
  146. package/dist/types/components/{pull-down-refresh → pull-to-refresh}/pull-to-refresh.d.ts +0 -0
  147. package/dist/types/components/share-element/share-element.d.ts +4 -0
  148. package/dist/types/components/slot/slot.d.ts +4 -0
  149. package/dist/types/components/tabbar/tabbar.d.ts +1 -1
  150. package/dist/types/components/voip-room/voip-room.d.ts +4 -0
  151. package/dist/types/components.d.ts +208 -0
  152. package/dist/types/utils/index.d.ts +8 -0
  153. package/dist-h5/react/index.js +2 -1
  154. package/package.json +3 -3
  155. package/types/Ad.d.ts +6 -6
  156. package/types/AdCustom.d.ts +50 -0
  157. package/types/Button.d.ts +2 -2
  158. package/types/CoverImage.d.ts +3 -3
  159. package/types/CoverView.d.ts +3 -3
  160. package/types/Image.d.ts +8 -2
  161. package/types/KeyboardAccessory.d.ts +29 -0
  162. package/types/PageContainer.d.ts +115 -0
  163. package/types/ShareElement.d.ts +39 -0
  164. package/types/VoipRoom.d.ts +71 -0
  165. package/types/index.d.ts +72 -46
  166. package/virtual-list/react/createListComponent.js +4 -3
  167. package/dist/taro-components/p-4ff67760.entry.js +0 -1
  168. package/dist/taro-components/p-5d84eaf0.entry.js +0 -1
  169. package/dist/taro-components/p-69be8189.system.entry.js +0 -1
  170. package/dist/taro-components/p-a03009b5.entry.js +0 -1
  171. package/dist/taro-components/p-a65e86b8.system.entry.js +0 -1
  172. package/dist/taro-components/p-b685a487.system.entry.js +0 -1
@@ -14,7 +14,7 @@ const patchEsm = () => {
14
14
  const defineCustomElements = (win, options) => {
15
15
  if (typeof window === 'undefined') return Promise.resolve();
16
16
  return patchEsm().then(() => {
17
- return index.bootstrapLazy([["taro-checkbox-core_2.cjs",[[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.cjs",[[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.cjs",[[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.cjs",[[0,"taro-audio-core",{"src":[1],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"nativeProps":[16]}]]],["taro-block-core.cjs",[[0,"taro-block-core"]]],["taro-button-core.cjs",[[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.cjs",[[0,"taro-camera-core"]]],["taro-canvas-core.cjs",[[0,"taro-canvas-core",{"canvasId":[1,"canvas-id"],"nativeProps":[16]}]]],["taro-cover-image-core.cjs",[[0,"taro-cover-image-core",{"src":[1],"nativeProps":[16]}]]],["taro-cover-view-core.cjs",[[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.cjs",[[0,"taro-custom-wrapper-core"]]],["taro-form-core.cjs",[[4,"taro-form-core",{"slotParent":[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["taro-icon-core.cjs",[[0,"taro-icon-core",{"type":[1],"size":[8],"color":[1]}]]],["taro-image-core.cjs",[[0,"taro-image-core",{"src":[1],"mode":[1],"lazyLoad":[4,"lazy-load"],"nativeProps":[16],"aspectFillMode":[32]}]]],["taro-input-core.cjs",[[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.cjs",[[4,"taro-label-core",{"for":[1]}]]],["taro-movable-area-core.cjs",[[0,"taro-movable-area-core"]]],["taro-movable-view-core.cjs",[[0,"taro-movable-view-core"]]],["taro-navigator-core.cjs",[[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.cjs",[[0,"taro-open-data-core"]]],["taro-picker-view-column-core.cjs",[[0,"taro-picker-view-column-core"]]],["taro-picker-view-core.cjs",[[0,"taro-picker-view-core"]]],["taro-progress-core.cjs",[[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.cjs",[[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.cjs",[[0,"taro-rich-text-core",{"nodes":[1]}]]],["taro-scroll-view-core.cjs",[[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.cjs",[[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.cjs",[[0,"taro-switch-core",{"type":[1],"checked":[4],"color":[1],"name":[1],"disabled":[4],"nativeProps":[16],"isChecked":[32],"isWillLoadCalled":[32]}]]],["taro-tabbar.cjs",[[0,"taro-tabbar",{"conf":[16],"list":[32],"borderStyle":[32],"backgroundColor":[32],"color":[32],"selectedColor":[32],"selectedIndex":[32],"status":[32]}]]],["taro-text-core.cjs",[[4,"taro-text-core",{"selectable":[4]}]]],["taro-textarea-core.cjs",[[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.cjs",[[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.cjs",[[0,"taro-web-view-core",{"src":[1]}]]],["taro-picker-core_2.cjs",[[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.cjs",[[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
+ return index.bootstrapLazy([["taro-checkbox-core_2.cjs",[[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.cjs",[[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.cjs",[[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.cjs",[[0,"taro-ad-core"]]],["taro-ad-custom-core.cjs",[[0,"taro-ad-custom-core"]]],["taro-audio-core.cjs",[[0,"taro-audio-core",{"src":[1],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"nativeProps":[16]}]]],["taro-block-core.cjs",[[0,"taro-block-core"]]],["taro-button-core.cjs",[[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.cjs",[[0,"taro-camera-core"]]],["taro-canvas-core.cjs",[[0,"taro-canvas-core",{"canvasId":[1,"canvas-id"],"nativeProps":[16]}]]],["taro-cover-image-core.cjs",[[0,"taro-cover-image-core",{"src":[1],"nativeProps":[16]}]]],["taro-cover-view-core.cjs",[[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.cjs",[[0,"taro-custom-wrapper-core"]]],["taro-editor-core.cjs",[[0,"taro-editor-core"]]],["taro-form-core.cjs",[[4,"taro-form-core",{"slotParent":[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["taro-functional-page-navigator-core.cjs",[[0,"taro-functional-page-navigator-core"]]],["taro-icon-core.cjs",[[0,"taro-icon-core",{"type":[1],"size":[8],"color":[1]}]]],["taro-image-core.cjs",[[0,"taro-image-core",{"src":[1],"mode":[1],"lazyLoad":[4,"lazy-load"],"nativeProps":[16],"aspectFillMode":[32]}]]],["taro-input-core.cjs",[[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.cjs",[[0,"taro-keyboard-accessory-core"]]],["taro-label-core.cjs",[[4,"taro-label-core",{"for":[1]}]]],["taro-live-player-core.cjs",[[0,"taro-live-player-core"]]],["taro-live-pusher-core.cjs",[[0,"taro-live-pusher-core"]]],["taro-map-core.cjs",[[0,"taro-map-core"]]],["taro-match-media-core.cjs",[[0,"taro-match-media-core"]]],["taro-movable-area-core.cjs",[[0,"taro-movable-area-core"]]],["taro-movable-view-core.cjs",[[0,"taro-movable-view-core"]]],["taro-navigation-bar-core.cjs",[[0,"taro-navigation-bar-core"]]],["taro-navigator-core.cjs",[[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.cjs",[[0,"taro-official-account-core"]]],["taro-open-data-core.cjs",[[0,"taro-open-data-core"]]],["taro-page-container-core.cjs",[[0,"taro-page-container-core"]]],["taro-page-meta-core.cjs",[[0,"taro-page-meta-core"]]],["taro-picker-view-column-core.cjs",[[0,"taro-picker-view-column-core"]]],["taro-picker-view-core.cjs",[[0,"taro-picker-view-core"]]],["taro-progress-core.cjs",[[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.cjs",[[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.cjs",[[0,"taro-rich-text-core",{"nodes":[1]}]]],["taro-scroll-view-core.cjs",[[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.cjs",[[0,"taro-share-element-core"]]],["taro-slider-core.cjs",[[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.cjs",[[0,"taro-slot-core"]]],["taro-switch-core.cjs",[[0,"taro-switch-core",{"type":[1],"checked":[4],"color":[1],"name":[1],"disabled":[4],"nativeProps":[16],"isChecked":[32],"isWillLoadCalled":[32]}]]],["taro-tabbar.cjs",[[0,"taro-tabbar",{"conf":[16],"list":[32],"borderStyle":[32],"backgroundColor":[32],"color":[32],"selectedColor":[32],"selectedIndex":[32],"status":[32]}]]],["taro-text-core.cjs",[[4,"taro-text-core",{"selectable":[4]}]]],["taro-textarea-core.cjs",[[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.cjs",[[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.cjs",[[0,"taro-voip-room-core"]]],["taro-web-view-core.cjs",[[0,"taro-web-view-core",{"src":[1]}]]],["taro-picker-core_2.cjs",[[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.cjs",[[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);
18
18
  });
19
19
  };
20
20
 
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-7464647f.js');
6
+
7
+ let Ad = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ componentDidLoad() {
12
+ console.error('H5 暂不支持 Ad 组件!');
13
+ }
14
+ render() {
15
+ return (index.h(index.Host, null));
16
+ }
17
+ };
18
+
19
+ exports.taro_ad_core = Ad;
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-7464647f.js');
6
+
7
+ let AdCustom = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ componentDidLoad() {
12
+ console.error('H5 暂不支持 AdCustom 组件!');
13
+ }
14
+ render() {
15
+ return (index.h(index.Host, null));
16
+ }
17
+ };
18
+
19
+ exports.taro_ad_custom_core = AdCustom;
@@ -15,5 +15,5 @@ const patchBrowser = () => {
15
15
  };
16
16
 
17
17
  patchBrowser().then(options => {
18
- return index.bootstrapLazy([["taro-checkbox-core_2.cjs",[[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.cjs",[[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.cjs",[[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.cjs",[[0,"taro-audio-core",{"src":[1],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"nativeProps":[16]}]]],["taro-block-core.cjs",[[0,"taro-block-core"]]],["taro-button-core.cjs",[[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.cjs",[[0,"taro-camera-core"]]],["taro-canvas-core.cjs",[[0,"taro-canvas-core",{"canvasId":[1,"canvas-id"],"nativeProps":[16]}]]],["taro-cover-image-core.cjs",[[0,"taro-cover-image-core",{"src":[1],"nativeProps":[16]}]]],["taro-cover-view-core.cjs",[[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.cjs",[[0,"taro-custom-wrapper-core"]]],["taro-form-core.cjs",[[4,"taro-form-core",{"slotParent":[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["taro-icon-core.cjs",[[0,"taro-icon-core",{"type":[1],"size":[8],"color":[1]}]]],["taro-image-core.cjs",[[0,"taro-image-core",{"src":[1],"mode":[1],"lazyLoad":[4,"lazy-load"],"nativeProps":[16],"aspectFillMode":[32]}]]],["taro-input-core.cjs",[[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.cjs",[[4,"taro-label-core",{"for":[1]}]]],["taro-movable-area-core.cjs",[[0,"taro-movable-area-core"]]],["taro-movable-view-core.cjs",[[0,"taro-movable-view-core"]]],["taro-navigator-core.cjs",[[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.cjs",[[0,"taro-open-data-core"]]],["taro-picker-view-column-core.cjs",[[0,"taro-picker-view-column-core"]]],["taro-picker-view-core.cjs",[[0,"taro-picker-view-core"]]],["taro-progress-core.cjs",[[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.cjs",[[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.cjs",[[0,"taro-rich-text-core",{"nodes":[1]}]]],["taro-scroll-view-core.cjs",[[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.cjs",[[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.cjs",[[0,"taro-switch-core",{"type":[1],"checked":[4],"color":[1],"name":[1],"disabled":[4],"nativeProps":[16],"isChecked":[32],"isWillLoadCalled":[32]}]]],["taro-tabbar.cjs",[[0,"taro-tabbar",{"conf":[16],"list":[32],"borderStyle":[32],"backgroundColor":[32],"color":[32],"selectedColor":[32],"selectedIndex":[32],"status":[32]}]]],["taro-text-core.cjs",[[4,"taro-text-core",{"selectable":[4]}]]],["taro-textarea-core.cjs",[[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.cjs",[[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.cjs",[[0,"taro-web-view-core",{"src":[1]}]]],["taro-picker-core_2.cjs",[[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.cjs",[[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);
18
+ return index.bootstrapLazy([["taro-checkbox-core_2.cjs",[[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.cjs",[[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.cjs",[[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.cjs",[[0,"taro-ad-core"]]],["taro-ad-custom-core.cjs",[[0,"taro-ad-custom-core"]]],["taro-audio-core.cjs",[[0,"taro-audio-core",{"src":[1],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"nativeProps":[16]}]]],["taro-block-core.cjs",[[0,"taro-block-core"]]],["taro-button-core.cjs",[[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.cjs",[[0,"taro-camera-core"]]],["taro-canvas-core.cjs",[[0,"taro-canvas-core",{"canvasId":[1,"canvas-id"],"nativeProps":[16]}]]],["taro-cover-image-core.cjs",[[0,"taro-cover-image-core",{"src":[1],"nativeProps":[16]}]]],["taro-cover-view-core.cjs",[[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.cjs",[[0,"taro-custom-wrapper-core"]]],["taro-editor-core.cjs",[[0,"taro-editor-core"]]],["taro-form-core.cjs",[[4,"taro-form-core",{"slotParent":[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["taro-functional-page-navigator-core.cjs",[[0,"taro-functional-page-navigator-core"]]],["taro-icon-core.cjs",[[0,"taro-icon-core",{"type":[1],"size":[8],"color":[1]}]]],["taro-image-core.cjs",[[0,"taro-image-core",{"src":[1],"mode":[1],"lazyLoad":[4,"lazy-load"],"nativeProps":[16],"aspectFillMode":[32]}]]],["taro-input-core.cjs",[[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.cjs",[[0,"taro-keyboard-accessory-core"]]],["taro-label-core.cjs",[[4,"taro-label-core",{"for":[1]}]]],["taro-live-player-core.cjs",[[0,"taro-live-player-core"]]],["taro-live-pusher-core.cjs",[[0,"taro-live-pusher-core"]]],["taro-map-core.cjs",[[0,"taro-map-core"]]],["taro-match-media-core.cjs",[[0,"taro-match-media-core"]]],["taro-movable-area-core.cjs",[[0,"taro-movable-area-core"]]],["taro-movable-view-core.cjs",[[0,"taro-movable-view-core"]]],["taro-navigation-bar-core.cjs",[[0,"taro-navigation-bar-core"]]],["taro-navigator-core.cjs",[[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.cjs",[[0,"taro-official-account-core"]]],["taro-open-data-core.cjs",[[0,"taro-open-data-core"]]],["taro-page-container-core.cjs",[[0,"taro-page-container-core"]]],["taro-page-meta-core.cjs",[[0,"taro-page-meta-core"]]],["taro-picker-view-column-core.cjs",[[0,"taro-picker-view-column-core"]]],["taro-picker-view-core.cjs",[[0,"taro-picker-view-core"]]],["taro-progress-core.cjs",[[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.cjs",[[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.cjs",[[0,"taro-rich-text-core",{"nodes":[1]}]]],["taro-scroll-view-core.cjs",[[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.cjs",[[0,"taro-share-element-core"]]],["taro-slider-core.cjs",[[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.cjs",[[0,"taro-slot-core"]]],["taro-switch-core.cjs",[[0,"taro-switch-core",{"type":[1],"checked":[4],"color":[1],"name":[1],"disabled":[4],"nativeProps":[16],"isChecked":[32],"isWillLoadCalled":[32]}]]],["taro-tabbar.cjs",[[0,"taro-tabbar",{"conf":[16],"list":[32],"borderStyle":[32],"backgroundColor":[32],"color":[32],"selectedColor":[32],"selectedIndex":[32],"status":[32]}]]],["taro-text-core.cjs",[[4,"taro-text-core",{"selectable":[4]}]]],["taro-textarea-core.cjs",[[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.cjs",[[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.cjs",[[0,"taro-voip-room-core"]]],["taro-web-view-core.cjs",[[0,"taro-web-view-core",{"src":[1]}]]],["taro-picker-core_2.cjs",[[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.cjs",[[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);
19
19
  });
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-7464647f.js');
6
+
7
+ let Editor = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ componentDidLoad() {
12
+ console.error('H5 暂不支持 Editor 组件!');
13
+ }
14
+ render() {
15
+ return (index.h(index.Host, null));
16
+ }
17
+ };
18
+
19
+ exports.taro_editor_core = Editor;
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-7464647f.js');
6
+
7
+ let FunctionalPageNavigator = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ componentDidLoad() {
12
+ console.error('H5 暂不支持 FunctionalPageNavigator 组件!');
13
+ }
14
+ render() {
15
+ return (index.h(index.Host, null));
16
+ }
17
+ };
18
+
19
+ exports.taro_functional_page_navigator_core = FunctionalPageNavigator;
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-7464647f.js');
6
+
7
+ let KeyboardAccessory = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ componentDidLoad() {
12
+ console.error('H5 暂不支持 KeyboardAccessory 组件!');
13
+ }
14
+ render() {
15
+ return (index.h(index.Host, null));
16
+ }
17
+ };
18
+
19
+ exports.taro_keyboard_accessory_core = KeyboardAccessory;
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-7464647f.js');
6
+
7
+ let LivePlayer = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ componentDidLoad() {
12
+ console.error('H5 暂不支持 LivePlayer 组件!');
13
+ }
14
+ render() {
15
+ return (index.h(index.Host, null));
16
+ }
17
+ };
18
+
19
+ exports.taro_live_player_core = LivePlayer;
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-7464647f.js');
6
+
7
+ let LivePusher = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ componentDidLoad() {
12
+ console.error('H5 暂不支持 LivePusher 组件!');
13
+ }
14
+ render() {
15
+ return (index.h(index.Host, null));
16
+ }
17
+ };
18
+
19
+ exports.taro_live_pusher_core = LivePusher;
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-7464647f.js');
6
+
7
+ let Map = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ componentDidLoad() {
12
+ console.error('H5 暂不支持 Map 组件!');
13
+ }
14
+ render() {
15
+ return (index.h(index.Host, null));
16
+ }
17
+ };
18
+
19
+ exports.taro_map_core = Map;
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-7464647f.js');
6
+
7
+ let MatchMedia = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ componentDidLoad() {
12
+ console.error('H5 暂不支持 MatchMedia 组件!');
13
+ }
14
+ render() {
15
+ return (index.h(index.Host, null));
16
+ }
17
+ };
18
+
19
+ exports.taro_match_media_core = MatchMedia;
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-7464647f.js');
6
+
7
+ let NavigationBar = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ componentDidLoad() {
12
+ console.error('H5 暂不支持 NavigationBar 组件!');
13
+ }
14
+ render() {
15
+ return (index.h(index.Host, null));
16
+ }
17
+ };
18
+
19
+ exports.taro_navigation_bar_core = NavigationBar;
@@ -3,11 +3,15 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-7464647f.js');
6
+ const Taro = require('@tarojs/taro');
6
7
  const index$1 = require('./index-cde74e58.js');
7
8
 
9
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
10
+
11
+ const Taro__default = /*#__PURE__*/_interopDefaultLegacy(Taro);
12
+
8
13
  const navigatorCss = ".navigator-hover{background:#efefef}";
9
14
 
10
- const Taro = require('@tarojs/taro');
11
15
  let Navigator = class {
12
16
  constructor(hostRef) {
13
17
  index.registerInstance(this, hostRef);
@@ -23,27 +27,27 @@ let Navigator = class {
23
27
  let promise = Promise.resolve();
24
28
  switch (openType) {
25
29
  case 'navigate':
26
- promise = Taro.navigateTo({
30
+ promise = Taro__default['default'].navigateTo({
27
31
  url: this.url
28
32
  });
29
33
  break;
30
34
  case 'redirect':
31
- promise = Taro.redirectTo({
35
+ promise = Taro__default['default'].redirectTo({
32
36
  url: this.url
33
37
  });
34
38
  break;
35
39
  case 'switchTab':
36
- promise = Taro.switchTab({
40
+ promise = Taro__default['default'].switchTab({
37
41
  url: this.url
38
42
  });
39
43
  break;
40
44
  case 'reLaunch':
41
- promise = Taro.reLaunch({
45
+ promise = Taro__default['default'].reLaunch({
42
46
  url: this.url
43
47
  });
44
48
  break;
45
49
  case 'navigateBack':
46
- promise = Taro.navigateBack({
50
+ promise = Taro__default['default'].navigateBack({
47
51
  delta: this.delta
48
52
  });
49
53
  break;
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-7464647f.js');
6
+
7
+ let OfficialAccount = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ componentDidLoad() {
12
+ console.error('H5 暂不支持 OfficialAccount 组件!');
13
+ }
14
+ render() {
15
+ return (index.h(index.Host, null));
16
+ }
17
+ };
18
+
19
+ exports.taro_official_account_core = OfficialAccount;
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-7464647f.js');
6
+
7
+ let PageContainer = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ componentDidLoad() {
12
+ console.error('H5 暂不支持 PageContainer 组件!');
13
+ }
14
+ render() {
15
+ return (index.h(index.Host, null));
16
+ }
17
+ };
18
+
19
+ exports.taro_page_container_core = PageContainer;
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-7464647f.js');
6
+
7
+ let PageMeta = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ componentDidLoad() {
12
+ console.error('H5 暂不支持 PageMeta 组件!');
13
+ }
14
+ render() {
15
+ return (index.h(index.Host, null));
16
+ }
17
+ };
18
+
19
+ exports.taro_page_meta_core = PageMeta;
@@ -3,11 +3,15 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-7464647f.js');
6
+ const Taro = require('@tarojs/taro');
6
7
  const index$1 = require('./index-cde74e58.js');
7
8
 
9
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
10
+
11
+ const Taro__default = /*#__PURE__*/_interopDefaultLegacy(Taro);
12
+
8
13
  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}";
9
14
 
10
- const Taro = require('@tarojs/taro');
11
15
  function setTransform(nodeStyle, value) {
12
16
  nodeStyle.transform = value;
13
17
  nodeStyle.webkitTransform = value;
@@ -197,7 +201,7 @@ let PullToRefresh = class {
197
201
  componentDidLoad() {
198
202
  this.init();
199
203
  this._isMounted = true;
200
- Taro.eventCenter.on('__taroStartPullDownRefresh', ({ successHandler, errorHandler }) => {
204
+ Taro__default['default'].eventCenter.on('__taroStartPullDownRefresh', ({ successHandler, errorHandler }) => {
201
205
  try {
202
206
  this.triggerPullDownRefresh(true);
203
207
  successHandler({
@@ -210,7 +214,7 @@ let PullToRefresh = class {
210
214
  });
211
215
  }
212
216
  });
213
- Taro.eventCenter.on('__taroStopPullDownRefresh', ({ successHandler, errorHandler }) => {
217
+ Taro__default['default'].eventCenter.on('__taroStopPullDownRefresh', ({ successHandler, errorHandler }) => {
214
218
  try {
215
219
  this.triggerPullDownRefresh(false);
216
220
  successHandler({
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-7464647f.js');
6
+
7
+ let ShareElement = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ componentDidLoad() {
12
+ console.error('H5 暂不支持 ShareElement 组件!');
13
+ }
14
+ render() {
15
+ return (index.h(index.Host, null));
16
+ }
17
+ };
18
+
19
+ exports.taro_share_element_core = ShareElement;
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-7464647f.js');
6
+
7
+ let Slot = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ componentDidLoad() {
12
+ console.error('H5 暂不支持 Slot 组件!');
13
+ }
14
+ render() {
15
+ return (index.h(index.Host, null));
16
+ }
17
+ };
18
+
19
+ exports.taro_slot_core = Slot;
@@ -3,8 +3,13 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index$1 = require('./index-7464647f.js');
6
+ const Taro = require('@tarojs/taro');
6
7
  const index = require('./index-cde74e58.js');
7
8
 
9
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
10
+
11
+ const Taro__default = /*#__PURE__*/_interopDefaultLegacy(Taro);
12
+
8
13
  function isAbsolute(pathname) {
9
14
  return pathname.charAt(0) === '/';
10
15
  }
@@ -87,22 +92,18 @@ const splitUrl = _url => {
87
92
  query: null,
88
93
  fragment: null
89
94
  };
90
-
91
95
  pos = url.indexOf('#');
92
96
  if (pos > -1) {
93
97
  res.fragment = url.substring(pos + 1);
94
98
  url = url.substring(0, pos);
95
99
  }
96
-
97
100
  pos = url.indexOf('?');
98
101
  if (pos > -1) {
99
102
  res.query = url.substring(pos + 1);
100
103
  url = url.substring(0, pos);
101
104
  }
102
-
103
105
  res.path = url;
104
-
105
- return res
106
+ return res;
106
107
  };
107
108
 
108
109
  const TabbarItem = ({ index: index$2, isSelected = false, textColor, iconPath, badgeText, showRedDot = false, text, onSelect }) => {
@@ -132,8 +133,6 @@ const TabbarItem = ({ index: index$2, isSelected = false, textColor, iconPath, b
132
133
 
133
134
  const indexCss = "html,body{height:100%}#app{height:100%}.taro-tabbar__border-white::before{border-top-color:#fff !important}.taro-tabbar__container{display:-ms-flexbox;display:flex;height:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.taro-tabbar__panel{-ms-flex:1;flex:1;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}.taro-tabbar__tabbar{position:relative;height:50px;width:100%;-webkit-transition:bottom 0.2s, top 0.2s;transition:bottom 0.2s, top 0.2s}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{bottom:0}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{top:-52px;-ms-flex:0 0;flex:0 0}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}";
134
135
 
135
- // IGNORE: 由于 @tarojs/taro 与 @tarojs/components 中存在循环依赖,暂时使用 commonjs 引用
136
- const Taro = require('@tarojs/taro');
137
136
  // const removeLeadingSlash = str => str.replace(/^\.?\//, '')
138
137
  // const removeTrailingSearch = str => str.replace(/\?[\s\S]*$/, '')
139
138
  const addLeadingSlash = str => str[0] === '/' ? str : `/${str}`;
@@ -175,7 +174,7 @@ let Tabbar = class {
175
174
  };
176
175
  this.switchTab = (index) => {
177
176
  this.selectedIndex = index;
178
- Taro.switchTab({
177
+ Taro__default['default'].switchTab({
179
178
  url: this.list[index].pagePath
180
179
  });
181
180
  };
@@ -326,8 +325,15 @@ let Tabbar = class {
326
325
  throw new Error('tabBar 配置错误');
327
326
  }
328
327
  this.homePage = addLeadingSlash(this.conf.homePage);
329
- for (const key in customRoutes) {
330
- this.customRoutes.push([key, customRoutes[key]]);
328
+ for (let key in customRoutes) {
329
+ const path = customRoutes[key];
330
+ key = addLeadingSlash(key);
331
+ if (typeof path === 'string') {
332
+ this.customRoutes.push([key, addLeadingSlash(path)]);
333
+ }
334
+ else if ((path === null || path === void 0 ? void 0 : path.length) > 0) {
335
+ this.customRoutes.push(...path.map(p => [key, addLeadingSlash(p)]));
336
+ }
331
337
  }
332
338
  list.forEach(item => {
333
339
  if (item.pagePath.indexOf('/') !== 0) {
@@ -358,28 +364,28 @@ let Tabbar = class {
358
364
  return processedUrl === '/' ? this.homePage : processedUrl;
359
365
  }
360
366
  bindEvent() {
361
- Taro.eventCenter.on('__taroRouterChange', this.routerChangeHandler);
362
- Taro.eventCenter.on('__taroSwitchTab', this.switchTabHandler);
363
- Taro.eventCenter.on('__taroSetTabBarBadge', this.setTabBarBadgeHandler);
364
- Taro.eventCenter.on('__taroRemoveTabBarBadge', this.removeTabBarBadgeHandler);
365
- Taro.eventCenter.on('__taroShowTabBarRedDotHandler', this.showTabBarRedDotHandler);
366
- Taro.eventCenter.on('__taroHideTabBarRedDotHandler', this.hideTabBarRedDotHandler);
367
- Taro.eventCenter.on('__taroShowTabBar', this.showTabBarHandler);
368
- Taro.eventCenter.on('__taroHideTabBar', this.hideTabBarHandler);
369
- Taro.eventCenter.on('__taroSetTabBarStyle', this.setTabBarStyleHandler);
370
- Taro.eventCenter.on('__taroSetTabBarItem', this.setTabBarItemHandler);
367
+ Taro__default['default'].eventCenter.on('__taroRouterChange', this.routerChangeHandler);
368
+ Taro__default['default'].eventCenter.on('__taroSwitchTab', this.switchTabHandler);
369
+ Taro__default['default'].eventCenter.on('__taroSetTabBarBadge', this.setTabBarBadgeHandler);
370
+ Taro__default['default'].eventCenter.on('__taroRemoveTabBarBadge', this.removeTabBarBadgeHandler);
371
+ Taro__default['default'].eventCenter.on('__taroShowTabBarRedDotHandler', this.showTabBarRedDotHandler);
372
+ Taro__default['default'].eventCenter.on('__taroHideTabBarRedDotHandler', this.hideTabBarRedDotHandler);
373
+ Taro__default['default'].eventCenter.on('__taroShowTabBar', this.showTabBarHandler);
374
+ Taro__default['default'].eventCenter.on('__taroHideTabBar', this.hideTabBarHandler);
375
+ Taro__default['default'].eventCenter.on('__taroSetTabBarStyle', this.setTabBarStyleHandler);
376
+ Taro__default['default'].eventCenter.on('__taroSetTabBarItem', this.setTabBarItemHandler);
371
377
  }
372
378
  removeEvent() {
373
- Taro.eventCenter.off('__taroRouterChange', this.routerChangeHandler);
374
- Taro.eventCenter.off('__taroSwitchTab', this.switchTabHandler);
375
- Taro.eventCenter.off('__taroSetTabBarBadge', this.setTabBarBadgeHandler);
376
- Taro.eventCenter.off('__taroRemoveTabBarBadge', this.removeTabBarBadgeHandler);
377
- Taro.eventCenter.off('__taroShowTabBarRedDotHandler', this.showTabBarRedDotHandler);
378
- Taro.eventCenter.off('__taroHideTabBarRedDotHandler', this.hideTabBarRedDotHandler);
379
- Taro.eventCenter.off('__taroShowTabBar', this.showTabBarHandler);
380
- Taro.eventCenter.off('__taroHideTabBar', this.hideTabBarHandler);
381
- Taro.eventCenter.off('__taroSetTabBarStyle', this.setTabBarStyleHandler);
382
- Taro.eventCenter.off('__taroSetTabBarItem', this.setTabBarItemHandler);
379
+ Taro__default['default'].eventCenter.off('__taroRouterChange', this.routerChangeHandler);
380
+ Taro__default['default'].eventCenter.off('__taroSwitchTab', this.switchTabHandler);
381
+ Taro__default['default'].eventCenter.off('__taroSetTabBarBadge', this.setTabBarBadgeHandler);
382
+ Taro__default['default'].eventCenter.off('__taroRemoveTabBarBadge', this.removeTabBarBadgeHandler);
383
+ Taro__default['default'].eventCenter.off('__taroShowTabBarRedDotHandler', this.showTabBarRedDotHandler);
384
+ Taro__default['default'].eventCenter.off('__taroHideTabBarRedDotHandler', this.hideTabBarRedDotHandler);
385
+ Taro__default['default'].eventCenter.off('__taroShowTabBar', this.showTabBarHandler);
386
+ Taro__default['default'].eventCenter.off('__taroHideTabBar', this.hideTabBarHandler);
387
+ Taro__default['default'].eventCenter.off('__taroSetTabBarStyle', this.setTabBarStyleHandler);
388
+ Taro__default['default'].eventCenter.off('__taroSetTabBarItem', this.setTabBarItemHandler);
383
389
  }
384
390
  componentDidLoad() {
385
391
  this.tabbarPos = this.tabbar.nextElementSibling ? 'top' : 'bottom';