@tarojs/components 3.4.0 → 3.4.3

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 (88) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/taro-components.cjs.js +1 -1
  3. package/dist/cjs/taro-input-core.cjs.entry.js +25 -16
  4. package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +12 -3
  5. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +3 -3
  6. package/dist/cjs/taro-tabbar.cjs.entry.js +3 -2
  7. package/dist/collection/components/input/input.js +40 -22
  8. package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +11 -2
  9. package/dist/collection/components/pull-to-refresh/style/index.css +1 -0
  10. package/dist/collection/components/scroll-view/scroll-view.js +3 -3
  11. package/dist/collection/components/tabbar/style/index.css +3 -1
  12. package/dist/collection/components/tabbar/tabbar.js +2 -1
  13. package/dist/esm/loader.js +1 -1
  14. package/dist/esm/taro-components.js +1 -1
  15. package/dist/esm/taro-input-core.entry.js +25 -16
  16. package/dist/esm/taro-pull-to-refresh.entry.js +12 -3
  17. package/dist/esm/taro-scroll-view-core.entry.js +3 -3
  18. package/dist/esm/taro-tabbar.entry.js +3 -2
  19. package/dist/esm-es5/loader.js +1 -1
  20. package/dist/esm-es5/taro-components.js +1 -1
  21. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  22. package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
  23. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  24. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  25. package/dist/taro-components/p-2b0d5c90.system.entry.js +1 -0
  26. package/dist/taro-components/p-33ee636a.system.js +1 -1
  27. package/dist/taro-components/p-4e54216b.entry.js +1 -0
  28. package/dist/taro-components/p-5ae86835.system.entry.js +1 -0
  29. package/dist/taro-components/{p-dd34408a.entry.js → p-6de12779.entry.js} +1 -1
  30. package/dist/taro-components/p-71e14298.entry.js +1 -0
  31. package/dist/taro-components/p-8486c251.system.entry.js +1 -0
  32. package/dist/taro-components/{p-6965567d.entry.js → p-cc818a13.entry.js} +1 -1
  33. package/dist/taro-components/{p-13c1404f.system.entry.js → p-fd0d1168.system.entry.js} +1 -1
  34. package/dist/taro-components/taro-components.esm.js +1 -1
  35. package/dist/types/components/input/input.d.ts +3 -3
  36. package/dist/types/components.d.ts +1 -0
  37. package/dist-h5/vue/components/picker.js +2 -1
  38. package/package.json +4 -4
  39. package/types/Ad.d.ts +22 -10
  40. package/types/Audio.d.ts +25 -5
  41. package/types/Button.d.ts +112 -23
  42. package/types/Camera.d.ts +11 -11
  43. package/types/Canvas.d.ts +14 -1
  44. package/types/Checkbox.d.ts +65 -1
  45. package/types/CoverImage.d.ts +48 -6
  46. package/types/CoverView.d.ts +51 -8
  47. package/types/Editor.d.ts +57 -0
  48. package/types/Form.d.ts +33 -2
  49. package/types/FunctionalPageNavigator.d.ts +4 -4
  50. package/types/Icon.d.ts +17 -1
  51. package/types/Image.d.ts +24 -4
  52. package/types/Input.d.ts +66 -5
  53. package/types/KeyboardAccessory.d.ts +2 -1
  54. package/types/Label.d.ts +18 -4
  55. package/types/LivePlayer.d.ts +17 -11
  56. package/types/LivePusher.d.ts +21 -15
  57. package/types/Map.d.ts +59 -5
  58. package/types/MatchMedia.d.ts +24 -5
  59. package/types/MovableArea.d.ts +9 -3
  60. package/types/MovableView.d.ts +20 -6
  61. package/types/Navigator.d.ts +7 -7
  62. package/types/OfficialAccount.d.ts +4 -10
  63. package/types/OpenData.d.ts +11 -5
  64. package/types/PageContainer.d.ts +12 -6
  65. package/types/Picker.d.ts +66 -3
  66. package/types/PickerView.d.ts +66 -2
  67. package/types/PickerViewColumn.d.ts +1 -1
  68. package/types/Progress.d.ts +12 -1
  69. package/types/Radio.d.ts +77 -1
  70. package/types/RichText.d.ts +33 -1
  71. package/types/ScrollView.d.ts +91 -9
  72. package/types/ShareElement.d.ts +1 -1
  73. package/types/Slider.d.ts +14 -1
  74. package/types/Swiper.d.ts +26 -1
  75. package/types/SwiperItem.d.ts +28 -3
  76. package/types/Switch.d.ts +21 -3
  77. package/types/Text.d.ts +38 -1
  78. package/types/Textarea.d.ts +17 -1
  79. package/types/Video.d.ts +50 -30
  80. package/types/View.d.ts +33 -1
  81. package/types/VoipRoom.d.ts +10 -11
  82. package/types/WebView.d.ts +7 -1
  83. package/types/common.d.ts +1 -1
  84. package/dist/taro-components/p-04818461.system.entry.js +0 -1
  85. package/dist/taro-components/p-56618f09.entry.js +0 -1
  86. package/dist/taro-components/p-665e8461.system.entry.js +0 -1
  87. package/dist/taro-components/p-6fcaadc7.entry.js +0 -1
  88. package/dist/taro-components/p-bb0d4567.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-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);
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]}]]],["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
 
@@ -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-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
+ 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]}]]],["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
  });
@@ -28,12 +28,14 @@ let Input = class {
28
28
  constructor(hostRef) {
29
29
  index.registerInstance(this, hostRef);
30
30
  this.onInput = index.createEvent(this, "input", 7);
31
+ this.onPaste = index.createEvent(this, "paste", 7);
31
32
  this.onFocus = index.createEvent(this, "focus", 7);
32
33
  this.onBlur = index.createEvent(this, "blur", 7);
33
34
  this.onConfirm = index.createEvent(this, "confirm", 7);
34
35
  this.onChange = index.createEvent(this, "change", 7);
35
36
  this.onKeyDown = index.createEvent(this, "keydown", 7);
36
37
  this.isOnComposition = false;
38
+ this.isOnPaste = false;
37
39
  this.onInputExcuted = false;
38
40
  this.password = false;
39
41
  this.disabled = false;
@@ -63,13 +65,19 @@ let Input = class {
63
65
  // }
64
66
  // )
65
67
  // }
66
- this._value = value;
68
+ this.value = value;
67
69
  this.onInput.emit({
68
70
  value,
69
71
  cursor: value.length
70
72
  });
71
73
  }
72
74
  };
75
+ this.handlePaste = (e) => {
76
+ this.isOnPaste = true;
77
+ this.onPaste.emit({
78
+ value: e.target.value
79
+ });
80
+ };
73
81
  this.handleFocus = (e) => {
74
82
  this.onInputExcuted = false;
75
83
  this.onFocus.emit({
@@ -86,6 +94,14 @@ let Input = class {
86
94
  this.onChange.emit({
87
95
  value: e.target.value
88
96
  });
97
+ if (this.isOnPaste) {
98
+ this.isOnPaste = false;
99
+ this.value = e.target.value;
100
+ this.onInput.emit({
101
+ value: e.target.value,
102
+ cursor: e.target.value.length
103
+ });
104
+ }
89
105
  };
90
106
  this.handleKeyDown = (e) => {
91
107
  const { value } = e.target;
@@ -104,27 +120,23 @@ let Input = class {
104
120
  return;
105
121
  if (e.type === 'compositionend') {
106
122
  this.isOnComposition = false;
107
- this.onInput.emit({ value: e.target.value });
123
+ this.value = e.target.value;
124
+ this.onInput.emit({
125
+ value: e.target.value,
126
+ cursor: e.target.value.length
127
+ });
108
128
  }
109
129
  else {
110
130
  this.isOnComposition = true;
111
131
  }
112
132
  };
113
133
  }
114
- watchHandler(newValue, oldValue) {
115
- if (newValue !== oldValue) {
116
- this._value = newValue;
117
- }
118
- }
119
134
  watchFocus(newValue, oldValue) {
120
135
  var _a;
121
136
  if (!oldValue && newValue) {
122
137
  (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.focus();
123
138
  }
124
139
  }
125
- componentWillLoad() {
126
- this._value = this.value;
127
- }
128
140
  componentDidLoad() {
129
141
  var _a, _b, _c;
130
142
  if (this.type === 'file') {
@@ -139,9 +151,7 @@ let Input = class {
139
151
  }
140
152
  Object.defineProperty(this.el, 'value', {
141
153
  get: () => { var _a; return (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.value; },
142
- set: value => {
143
- this._value = value;
144
- },
154
+ set: value => (this.value = value),
145
155
  configurable: true
146
156
  });
147
157
  }
@@ -152,14 +162,13 @@ let Input = class {
152
162
  }
153
163
  }
154
164
  render() {
155
- const { _value, type, password, placeholder, autoFocus, disabled, maxlength, confirmType, name, nativeProps } = this;
165
+ const { value, type, password, placeholder, autoFocus, disabled, maxlength, confirmType, name, nativeProps } = this;
156
166
  return (index.h("input", Object.assign({ ref: input => {
157
167
  this.inputRef = input;
158
- }, class: 'weui-input', value: fixControlledValue(_value), type: getTrueType(type, confirmType, password), placeholder: placeholder, autoFocus: autoFocus, disabled: disabled, maxlength: maxlength, name: name, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onChange: this.handleChange, onKeyDown: this.handleKeyDown }, nativeProps)));
168
+ }, class: 'weui-input', value: fixControlledValue(value), type: getTrueType(type, confirmType, password), placeholder: placeholder, autoFocus: autoFocus, disabled: disabled, maxlength: maxlength, name: name, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onChange: this.handleChange, onKeyDown: this.handleKeyDown, onPaste: this.handlePaste, onCompositionStart: this.handleComposition, onCompositionEnd: this.handleComposition }, nativeProps)));
159
169
  }
160
170
  get el() { return index.getElement(this); }
161
171
  static get watchers() { return {
162
- "value": ["watchHandler"],
163
172
  "autoFocus": ["watchFocus"]
164
173
  }; }
165
174
  };
@@ -10,7 +10,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
10
10
 
11
11
  const Taro__default = /*#__PURE__*/_interopDefaultLegacy(Taro);
12
12
 
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}";
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;min-height:100vh}.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}";
14
14
 
15
15
  function setTransform(nodeStyle, value) {
16
16
  nodeStyle.transform = value;
@@ -68,6 +68,11 @@ let PullToRefresh = class {
68
68
  };
69
69
  this.init = () => {
70
70
  const ele = this.scrollContainer;
71
+ const child = this.el.childNodes[this.el.childNodes.length - 1].childNodes[0];
72
+ this.el.appendChild = child.appendChild.bind(child);
73
+ this.el.insertBefore = child.insertBefore.bind(child);
74
+ this.el.replaceChild = child.replaceChild.bind(child);
75
+ this.el.removeChild = child.removeChild.bind(child);
71
76
  this._to = {
72
77
  touchstart: this.onTouchStart.bind(this, ele),
73
78
  touchmove: this.onTouchMove.bind(this, ele),
@@ -172,7 +177,7 @@ let PullToRefresh = class {
172
177
  this.setContentStyle(0);
173
178
  };
174
179
  this.setContentStyle = (ty) => {
175
- // todos: Why sometimes do not have `this.contentRef` ?
180
+ // TODO: Why sometimes do not have `this.contentRef` ?
176
181
  if (this.contentRef) {
177
182
  // translate3d 不清理 会影响内部元素 定位
178
183
  if (ty) {
@@ -185,7 +190,11 @@ let PullToRefresh = class {
185
190
  };
186
191
  }
187
192
  get scrollContainer() {
188
- return document.querySelector('.taro-tabbar__panel') || document.body;
193
+ return document.querySelector('.taro_page_stationed') ||
194
+ document.querySelector('.taro_page') ||
195
+ document.querySelector('.taro_router') ||
196
+ document.querySelector('.taro-tabbar__panel') ||
197
+ document.body;
189
198
  }
190
199
  statusChange() {
191
200
  if (this.currSt === 'release') {
@@ -41,9 +41,9 @@ function debounce(fn, delay) {
41
41
  let ScrollView = class {
42
42
  constructor(hostRef) {
43
43
  index.registerInstance(this, hostRef);
44
- this.onScroll = index.createEvent(this, "scroll", 7);
45
- this.onScrollToUpper = index.createEvent(this, "scrolltoupper", 7);
46
- this.onScrollToLower = index.createEvent(this, "scrolltolower", 7);
44
+ this.onScroll = index.createEvent(this, "scroll", 3);
45
+ this.onScrollToUpper = index.createEvent(this, "scrolltoupper", 3);
46
+ this.onScrollToLower = index.createEvent(this, "scrolltolower", 3);
47
47
  this.scrollX = false;
48
48
  this.scrollY = false;
49
49
  this.upperThreshold = 50;
@@ -131,7 +131,7 @@ const TabbarItem = ({ index: index$2, isSelected = false, textColor, iconPath, b
131
131
  index$1.h("p", { class: 'weui-tabbar__label', style: { color: textColor } }, text)));
132
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
+ 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:auto}.taro-tabbar__tabbar{position:relative;height:50px;width:100%;-webkit-transition:bottom 0.2s, top 0.2s;transition:bottom 0.2s, top 0.2s}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{bottom:0;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.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}";
135
135
 
136
136
  // const removeLeadingSlash = str => str.replace(/^\.?\//, '')
137
137
  // const removeTrailingSearch = str => str.replace(/\?[\s\S]*$/, '')
@@ -407,7 +407,8 @@ let Tabbar = class {
407
407
  [hideTabBarClassName]: shouldHideTabBar,
408
408
  [hideTabBarWithAnimationClassName]: shouldSlideout
409
409
  }) }, index$1.h("div", { class: containerCls, style: {
410
- backgroundColor: this.backgroundColor || ''
410
+ backgroundColor: this.backgroundColor || '',
411
+ height: 'inherit'
411
412
  } }, this.list.map((item, index) => {
412
413
  const isSelected = this.selectedIndex === index;
413
414
  let textColor;
@@ -1,4 +1,4 @@
1
- import { Component, h, Prop, Event, Element, State, Watch } from '@stencil/core';
1
+ import { Component, h, Prop, Event, Element, Watch } from '@stencil/core';
2
2
  function getTrueType(type, confirmType, password) {
3
3
  if (confirmType === 'search')
4
4
  type = 'search';
@@ -20,6 +20,7 @@ function fixControlledValue(value) {
20
20
  export class Input {
21
21
  constructor() {
22
22
  this.isOnComposition = false;
23
+ this.isOnPaste = false;
23
24
  this.onInputExcuted = false;
24
25
  this.password = false;
25
26
  this.disabled = false;
@@ -49,13 +50,19 @@ export class Input {
49
50
  // }
50
51
  // )
51
52
  // }
52
- this._value = value;
53
+ this.value = value;
53
54
  this.onInput.emit({
54
55
  value,
55
56
  cursor: value.length
56
57
  });
57
58
  }
58
59
  };
60
+ this.handlePaste = (e) => {
61
+ this.isOnPaste = true;
62
+ this.onPaste.emit({
63
+ value: e.target.value
64
+ });
65
+ };
59
66
  this.handleFocus = (e) => {
60
67
  this.onInputExcuted = false;
61
68
  this.onFocus.emit({
@@ -72,6 +79,14 @@ export class Input {
72
79
  this.onChange.emit({
73
80
  value: e.target.value
74
81
  });
82
+ if (this.isOnPaste) {
83
+ this.isOnPaste = false;
84
+ this.value = e.target.value;
85
+ this.onInput.emit({
86
+ value: e.target.value,
87
+ cursor: e.target.value.length
88
+ });
89
+ }
75
90
  };
76
91
  this.handleKeyDown = (e) => {
77
92
  const { value } = e.target;
@@ -90,27 +105,23 @@ export class Input {
90
105
  return;
91
106
  if (e.type === 'compositionend') {
92
107
  this.isOnComposition = false;
93
- this.onInput.emit({ value: e.target.value });
108
+ this.value = e.target.value;
109
+ this.onInput.emit({
110
+ value: e.target.value,
111
+ cursor: e.target.value.length
112
+ });
94
113
  }
95
114
  else {
96
115
  this.isOnComposition = true;
97
116
  }
98
117
  };
99
118
  }
100
- watchHandler(newValue, oldValue) {
101
- if (newValue !== oldValue) {
102
- this._value = newValue;
103
- }
104
- }
105
119
  watchFocus(newValue, oldValue) {
106
120
  var _a;
107
121
  if (!oldValue && newValue) {
108
122
  (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.focus();
109
123
  }
110
124
  }
111
- componentWillLoad() {
112
- this._value = this.value;
113
- }
114
125
  componentDidLoad() {
115
126
  var _a, _b, _c;
116
127
  if (this.type === 'file') {
@@ -125,9 +136,7 @@ export class Input {
125
136
  }
126
137
  Object.defineProperty(this.el, 'value', {
127
138
  get: () => { var _a; return (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.value; },
128
- set: value => {
129
- this._value = value;
130
- },
139
+ set: value => (this.value = value),
131
140
  configurable: true
132
141
  });
133
142
  }
@@ -138,10 +147,10 @@ export class Input {
138
147
  }
139
148
  }
140
149
  render() {
141
- const { _value, type, password, placeholder, autoFocus, disabled, maxlength, confirmType, name, nativeProps } = this;
150
+ const { value, type, password, placeholder, autoFocus, disabled, maxlength, confirmType, name, nativeProps } = this;
142
151
  return (h("input", Object.assign({ ref: input => {
143
152
  this.inputRef = input;
144
- }, class: 'weui-input', value: fixControlledValue(_value), type: getTrueType(type, confirmType, password), placeholder: placeholder, autoFocus: autoFocus, disabled: disabled, maxlength: maxlength, name: name, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onChange: this.handleChange, onKeyDown: this.handleKeyDown }, nativeProps)));
153
+ }, class: 'weui-input', value: fixControlledValue(value), type: getTrueType(type, confirmType, password), placeholder: placeholder, autoFocus: autoFocus, disabled: disabled, maxlength: maxlength, name: name, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onChange: this.handleChange, onKeyDown: this.handleKeyDown, onPaste: this.handlePaste, onCompositionStart: this.handleComposition, onCompositionEnd: this.handleComposition }, nativeProps)));
145
154
  }
146
155
  static get is() { return "taro-input-core"; }
147
156
  static get originalStyleUrls() { return {
@@ -326,9 +335,6 @@ export class Input {
326
335
  "defaultValue": "{}"
327
336
  }
328
337
  }; }
329
- static get states() { return {
330
- "_value": {}
331
- }; }
332
338
  static get events() { return [{
333
339
  "method": "onInput",
334
340
  "name": "input",
@@ -344,6 +350,21 @@ export class Input {
344
350
  "resolved": "any",
345
351
  "references": {}
346
352
  }
353
+ }, {
354
+ "method": "onPaste",
355
+ "name": "paste",
356
+ "bubbles": true,
357
+ "cancelable": true,
358
+ "composed": true,
359
+ "docs": {
360
+ "tags": [],
361
+ "text": ""
362
+ },
363
+ "complexType": {
364
+ "original": "any",
365
+ "resolved": "any",
366
+ "references": {}
367
+ }
347
368
  }, {
348
369
  "method": "onFocus",
349
370
  "name": "focus",
@@ -422,9 +443,6 @@ export class Input {
422
443
  }]; }
423
444
  static get elementRef() { return "el"; }
424
445
  static get watchers() { return [{
425
- "propName": "value",
426
- "methodName": "watchHandler"
427
- }, {
428
446
  "propName": "autoFocus",
429
447
  "methodName": "watchFocus"
430
448
  }]; }
@@ -55,6 +55,11 @@ export class PullToRefresh {
55
55
  };
56
56
  this.init = () => {
57
57
  const ele = this.scrollContainer;
58
+ const child = this.el.childNodes[this.el.childNodes.length - 1].childNodes[0];
59
+ this.el.appendChild = child.appendChild.bind(child);
60
+ this.el.insertBefore = child.insertBefore.bind(child);
61
+ this.el.replaceChild = child.replaceChild.bind(child);
62
+ this.el.removeChild = child.removeChild.bind(child);
58
63
  this._to = {
59
64
  touchstart: this.onTouchStart.bind(this, ele),
60
65
  touchmove: this.onTouchMove.bind(this, ele),
@@ -159,7 +164,7 @@ export class PullToRefresh {
159
164
  this.setContentStyle(0);
160
165
  };
161
166
  this.setContentStyle = (ty) => {
162
- // todos: Why sometimes do not have `this.contentRef` ?
167
+ // TODO: Why sometimes do not have `this.contentRef` ?
163
168
  if (this.contentRef) {
164
169
  // translate3d 不清理 会影响内部元素 定位
165
170
  if (ty) {
@@ -172,7 +177,11 @@ export class PullToRefresh {
172
177
  };
173
178
  }
174
179
  get scrollContainer() {
175
- return document.querySelector('.taro-tabbar__panel') || document.body;
180
+ return document.querySelector('.taro_page_stationed') ||
181
+ document.querySelector('.taro_page') ||
182
+ document.querySelector('.taro_router') ||
183
+ document.querySelector('.taro-tabbar__panel') ||
184
+ document.body;
176
185
  }
177
186
  statusChange() {
178
187
  if (this.currSt === 'release') {
@@ -3,6 +3,7 @@
3
3
  }
4
4
  .rmc-pull-to-refresh-content-wrapper {
5
5
  overflow: hidden;
6
+ min-height: 100vh;
6
7
  }
7
8
 
8
9
  .rmc-pull-to-refresh-transition {
@@ -296,7 +296,7 @@ export class ScrollView {
296
296
  static get events() { return [{
297
297
  "method": "onScroll",
298
298
  "name": "scroll",
299
- "bubbles": true,
299
+ "bubbles": false,
300
300
  "cancelable": true,
301
301
  "composed": true,
302
302
  "docs": {
@@ -311,7 +311,7 @@ export class ScrollView {
311
311
  }, {
312
312
  "method": "onScrollToUpper",
313
313
  "name": "scrolltoupper",
314
- "bubbles": true,
314
+ "bubbles": false,
315
315
  "cancelable": true,
316
316
  "composed": true,
317
317
  "docs": {
@@ -326,7 +326,7 @@ export class ScrollView {
326
326
  }, {
327
327
  "method": "onScrollToLower",
328
328
  "name": "scrolltolower",
329
- "bubbles": true,
329
+ "bubbles": false,
330
330
  "cancelable": true,
331
331
  "composed": true,
332
332
  "docs": {
@@ -19,7 +19,7 @@ html, body {
19
19
  flex: 1;
20
20
  position: relative;
21
21
  overflow: auto;
22
- -webkit-overflow-scrolling: touch;
22
+ -webkit-overflow-scrolling: auto;
23
23
  }
24
24
  .taro-tabbar__tabbar {
25
25
  position: relative;
@@ -32,6 +32,8 @@ html, body {
32
32
  }
33
33
  .taro-tabbar__tabbar-bottom {
34
34
  bottom: 0;
35
+ margin-bottom: constant(safe-area-inset-bottom);
36
+ margin-bottom: env(safe-area-inset-bottom);
35
37
  }
36
38
  .taro-tabbar__tabbar-hide {
37
39
  display: none;
@@ -277,7 +277,8 @@ export class Tabbar {
277
277
  [hideTabBarWithAnimationClassName]: shouldSlideout
278
278
  }) },
279
279
  h("div", { class: containerCls, style: {
280
- backgroundColor: this.backgroundColor || ''
280
+ backgroundColor: this.backgroundColor || '',
281
+ height: 'inherit'
281
282
  } }, this.list.map((item, index) => {
282
283
  const isSelected = this.selectedIndex === index;
283
284
  let textColor;