@quicktvui/ai 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -0
- package/index.js +2 -0
- package/package.json +23 -0
- package/postinstall.js +61 -0
- package/rules/.claude/commands/create-component.md +39 -0
- package/rules/.claude/commands/create-page.md +44 -0
- package/rules/.claude/commands/create-project.md +25 -0
- package/rules/.claude/commands/lookup-api.md +28 -0
- package/rules/.claude/commands/lookup-css.md +53 -0
- package/rules/.claude/settings.local.json +11 -0
- package/rules/.clinerules +367 -0
- package/rules/.cursorrules +367 -0
- package/rules/.docs/examples/component/animation/alpha-props.vue +130 -0
- package/rules/.docs/examples/component/animation/alpha.vue +169 -0
- package/rules/.docs/examples/component/animation/animator-props.vue +101 -0
- package/rules/.docs/examples/component/animation/animators-props.vue +145 -0
- package/rules/.docs/examples/component/animation/animators.vue +322 -0
- package/rules/.docs/examples/component/animation/basic.vue +96 -0
- package/rules/.docs/examples/component/animation/interpolator.vue +330 -0
- package/rules/.docs/examples/component/animation/listener.vue +151 -0
- package/rules/.docs/examples/component/animation/repeat.vue +113 -0
- package/rules/.docs/examples/component/animation/rotation-props.vue +148 -0
- package/rules/.docs/examples/component/animation/rotation-xy.vue +255 -0
- package/rules/.docs/examples/component/animation/rotation.vue +188 -0
- package/rules/.docs/examples/component/animation/scale-props.vue +129 -0
- package/rules/.docs/examples/component/animation/scale.vue +169 -0
- package/rules/.docs/examples/component/animation/translation-props.vue +128 -0
- package/rules/.docs/examples/component/animation/translation.vue +169 -0
- package/rules/.docs/examples/component/aside/basic.vue +34 -0
- package/rules/.docs/examples/component/audio-player/basic.vue +104 -0
- package/rules/.docs/examples/component/audio-player/event-global.vue +492 -0
- package/rules/.docs/examples/component/audio-player/event.vue +447 -0
- package/rules/.docs/examples/component/audio-player/player-manager.vue +100 -0
- package/rules/.docs/examples/component/audio-player-service/basic.vue +102 -0
- package/rules/.docs/examples/component/audio-player-service/event-global.vue +488 -0
- package/rules/.docs/examples/component/audio-player-service/event.vue +420 -0
- package/rules/.docs/examples/component/audio-player-service/player-manager.vue +100 -0
- package/rules/.docs/examples/component/button/background.vue +28 -0
- package/rules/.docs/examples/component/button/basic.vue +13 -0
- package/rules/.docs/examples/component/button/border.vue +18 -0
- package/rules/.docs/examples/component/button/custom-content.vue +18 -0
- package/rules/.docs/examples/component/button/custom-icon-style.vue +25 -0
- package/rules/.docs/examples/component/button/custom-icon.vue +19 -0
- package/rules/.docs/examples/component/button/custom-net-icon.vue +20 -0
- package/rules/.docs/examples/component/button/custom-style.vue +17 -0
- package/rules/.docs/examples/component/button/custom-text.vue +23 -0
- package/rules/.docs/examples/component/button/disabled.vue +13 -0
- package/rules/.docs/examples/component/button/round.vue +13 -0
- package/rules/.docs/examples/component/button/size.vue +16 -0
- package/rules/.docs/examples/component/button/square.vue +13 -0
- package/rules/.docs/examples/component/checkbox-group/basic.vue +97 -0
- package/rules/.docs/examples/component/collapse/basic.vue +156 -0
- package/rules/.docs/examples/component/column/basic.vue +15 -0
- package/rules/.docs/examples/component/container/layout-ahm.vue +48 -0
- package/rules/.docs/examples/component/container/layout-ahmf.vue +51 -0
- package/rules/.docs/examples/component/container/layout-am.vue +43 -0
- package/rules/.docs/examples/component/container/layout-ham.vue +48 -0
- package/rules/.docs/examples/component/container/layout-hamf.vue +53 -0
- package/rules/.docs/examples/component/container/layout-hm.vue +43 -0
- package/rules/.docs/examples/component/container/layout-hmf.vue +46 -0
- package/rules/.docs/examples/component/dialog/basic.vue +72 -0
- package/rules/.docs/examples/component/div/background-img.vue +49 -0
- package/rules/.docs/examples/component/div/background.vue +28 -0
- package/rules/.docs/examples/component/div/basic.vue +28 -0
- package/rules/.docs/examples/component/div/border.vue +72 -0
- package/rules/.docs/examples/component/div/click.vue +66 -0
- package/rules/.docs/examples/component/div/focus-background.vue +60 -0
- package/rules/.docs/examples/component/div/focus.vue +58 -0
- package/rules/.docs/examples/component/div/gradient-background.vue +36 -0
- package/rules/.docs/examples/component/footer/basic.vue +34 -0
- package/rules/.docs/examples/component/grid-view/basic.vue +59 -0
- package/rules/.docs/examples/component/grid-view/page.vue +80 -0
- package/rules/.docs/examples/component/grid-view/ref-base.vue +50 -0
- package/rules/.docs/examples/component/grid-view/ref-page.vue +102 -0
- package/rules/.docs/examples/component/header/basic.vue +39 -0
- package/rules/.docs/examples/component/html/alert.vue +28 -0
- package/rules/.docs/examples/component/html/audio.vue +24 -0
- package/rules/.docs/examples/component/html/h.vue +30 -0
- package/rules/.docs/examples/component/html/sound.vue +33 -0
- package/rules/.docs/examples/component/html/video.vue +23 -0
- package/rules/.docs/examples/component/image/assets.vue +40 -0
- package/rules/.docs/examples/component/image/network.vue +36 -0
- package/rules/.docs/examples/component/img/assets.vue +40 -0
- package/rules/.docs/examples/component/img/network.vue +36 -0
- package/rules/.docs/examples/component/indicator-list-view/basic.vue +476 -0
- package/rules/.docs/examples/component/input/basic.vue +26 -0
- package/rules/.docs/examples/component/list-view/basic.vue +58 -0
- package/rules/.docs/examples/component/list-view/ref-basic.vue +33 -0
- package/rules/.docs/examples/component/list-view/ref-operations.vue +58 -0
- package/rules/.docs/examples/component/list-view/ref-page.vue +82 -0
- package/rules/.docs/examples/component/loading/basic.vue +12 -0
- package/rules/.docs/examples/component/lottie/basic.vue +83 -0
- package/rules/.docs/examples/component/lottie/event.vue +126 -0
- package/rules/.docs/examples/component/lottie/local.vue +90 -0
- package/rules/.docs/examples/component/lottie/network.vue +82 -0
- package/rules/.docs/examples/component/main/basic.vue +34 -0
- package/rules/.docs/examples/component/nav-bar/basic.vue +45 -0
- package/rules/.docs/examples/component/p/basic.vue +40 -0
- package/rules/.docs/examples/component/p/gravity.vue +62 -0
- package/rules/.docs/examples/component/player-manager/aspect-ratio.vue +286 -0
- package/rules/.docs/examples/component/player-manager/basic.vue +87 -0
- package/rules/.docs/examples/component/player-manager/control.vue +356 -0
- package/rules/.docs/examples/component/player-manager/custom-player-view.vue +105 -0
- package/rules/.docs/examples/component/player-manager/custom-player.vue +100 -0
- package/rules/.docs/examples/component/player-manager/decode.vue +218 -0
- package/rules/.docs/examples/component/player-manager/definition.vue +199 -0
- package/rules/.docs/examples/component/player-manager/event-global.vue +581 -0
- package/rules/.docs/examples/component/player-manager/event.vue +632 -0
- package/rules/.docs/examples/component/player-manager/image-player.vue +331 -0
- package/rules/.docs/examples/component/player-manager/media-item-interceptor.vue +105 -0
- package/rules/.docs/examples/component/player-manager/media-item-list-interceptor.vue +104 -0
- package/rules/.docs/examples/component/player-manager/media-item-list.vue +268 -0
- package/rules/.docs/examples/component/player-manager/media-source-interceptor.vue +115 -0
- package/rules/.docs/examples/component/player-manager/media-source-list-interceptor.vue +111 -0
- package/rules/.docs/examples/component/player-manager/multi-player.vue +130 -0
- package/rules/.docs/examples/component/player-manager/play-mode.vue +260 -0
- package/rules/.docs/examples/component/player-manager/play-rate.vue +244 -0
- package/rules/.docs/examples/component/player-manager/player-size.vue +119 -0
- package/rules/.docs/examples/component/player-manager/player-view.vue +381 -0
- package/rules/.docs/examples/component/player-manager/post-roll-ad.vue +189 -0
- package/rules/.docs/examples/component/player-manager/previous-roll-ad.vue +172 -0
- package/rules/.docs/examples/component/player-manager/start-position.vue +108 -0
- package/rules/.docs/examples/component/player-manager/text-left-player.vue +306 -0
- package/rules/.docs/examples/component/player-manager/text-right-player.vue +306 -0
- package/rules/.docs/examples/component/player-manager/window.vue +140 -0
- package/rules/.docs/examples/component/poster/basic.vue +144 -0
- package/rules/.docs/examples/component/poster/corner.vue +123 -0
- package/rules/.docs/examples/component/poster/decoration.vue +82 -0
- package/rules/.docs/examples/component/poster/float-title.vue +103 -0
- package/rules/.docs/examples/component/poster/ripple.vue +118 -0
- package/rules/.docs/examples/component/poster/score.vue +108 -0
- package/rules/.docs/examples/component/poster/shadow.vue +113 -0
- package/rules/.docs/examples/component/poster/shimmer.vue +113 -0
- package/rules/.docs/examples/component/poster/sub-title.vue +110 -0
- package/rules/.docs/examples/component/poster/title.vue +106 -0
- package/rules/.docs/examples/component/progress-bar/basic.vue +61 -0
- package/rules/.docs/examples/component/qr-code/basic.vue +16 -0
- package/rules/.docs/examples/component/radio-group/basic.vue +105 -0
- package/rules/.docs/examples/component/rating-bar/basic.vue +152 -0
- package/rules/.docs/examples/component/row/basic.vue +15 -0
- package/rules/.docs/examples/component/seek-bar/bar.vue +49 -0
- package/rules/.docs/examples/component/seek-bar/basic.vue +191 -0
- package/rules/.docs/examples/component/seek-bar/indicator.vue +74 -0
- package/rules/.docs/examples/component/seek-bar/range-mode.vue +130 -0
- package/rules/.docs/examples/component/seek-bar/single-mode.vue +113 -0
- package/rules/.docs/examples/component/seek-bar/step.vue +186 -0
- package/rules/.docs/examples/component/seek-bar/thumb.vue +148 -0
- package/rules/.docs/examples/component/seek-bar/tick-mark.vue +121 -0
- package/rules/.docs/examples/component/switch/basic.vue +26 -0
- package/rules/.docs/examples/component/tabs/basic.vue +109 -0
- package/rules/.docs/examples/component/tabs/custom-tab-item.vue +120 -0
- package/rules/.docs/examples/component/tabs/data.vue +121 -0
- package/rules/.docs/examples/component/tabs/horizontal.vue +118 -0
- package/rules/.docs/examples/component/tabs/item-add.vue +127 -0
- package/rules/.docs/examples/component/tabs/item-custom.vue +132 -0
- package/rules/.docs/examples/component/tabs/item-delete.vue +123 -0
- package/rules/.docs/examples/component/tabs/item-get.vue +124 -0
- package/rules/.docs/examples/component/tabs/item-update.vue +129 -0
- package/rules/.docs/examples/component/tabs/ref-basic.vue +63 -0
- package/rules/.docs/examples/component/tabs/ref-operations.vue +97 -0
- package/rules/.docs/examples/component/tabs/ref-page.vue +89 -0
- package/rules/.docs/examples/component/tabs/section-add.vue +138 -0
- package/rules/.docs/examples/component/tabs/section-delete.vue +126 -0
- package/rules/.docs/examples/component/tabs/section-get.vue +128 -0
- package/rules/.docs/examples/component/tabs/section-update.vue +137 -0
- package/rules/.docs/examples/component/tabs/section-vue.vue +111 -0
- package/rules/.docs/examples/component/tabs/single-tab.vue +112 -0
- package/rules/.docs/examples/component/text/basic.vue +20 -0
- package/rules/.docs/examples/component/text/ellipsize-mode.vue +122 -0
- package/rules/.docs/examples/component/text/gravity.vue +119 -0
- package/rules/.docs/examples/component/video-player/aspect-ratio.vue +242 -0
- package/rules/.docs/examples/component/video-player/basic.vue +82 -0
- package/rules/.docs/examples/component/video-player/control.vue +240 -0
- package/rules/.docs/examples/component/video-player/decode.vue +174 -0
- package/rules/.docs/examples/component/video-player/definition.vue +194 -0
- package/rules/.docs/examples/component/video-player/event-global.vue +89 -0
- package/rules/.docs/examples/component/video-player/event.vue +448 -0
- package/rules/.docs/examples/component/video-player/page.vue +150 -0
- package/rules/.docs/examples/component/video-player/play-mode.vue +220 -0
- package/rules/.docs/examples/component/video-player/play-rate.vue +198 -0
- package/rules/.docs/examples/component/video-player/progress.vue +211 -0
- package/rules/.docs/examples/component/video-player/render.vue +187 -0
- package/rules/.docs/examples/component/video-player/type.vue +133 -0
- package/rules/.docs/examples/component/view/background-img.vue +49 -0
- package/rules/.docs/examples/component/view/background.vue +28 -0
- package/rules/.docs/examples/component/view/basic.vue +28 -0
- package/rules/.docs/examples/component/view/border.vue +72 -0
- package/rules/.docs/examples/component/view/click.vue +66 -0
- package/rules/.docs/examples/component/view/focus-background.vue +60 -0
- package/rules/.docs/examples/component/view/focus.vue +58 -0
- package/rules/.docs/examples/component/view/gradient-background.vue +36 -0
- package/rules/.docs/examples/component/waterfall/basic.vue +167 -0
- package/rules/.docs/examples/component/waterfall/event.vue +154 -0
- package/rules/.docs/examples/component/waterfall/item-add.vue +82 -0
- package/rules/.docs/examples/component/waterfall/item-card-placeholder.vue +67 -0
- package/rules/.docs/examples/component/waterfall/item-card.vue +66 -0
- package/rules/.docs/examples/component/waterfall/item-custom.vue +81 -0
- package/rules/.docs/examples/component/waterfall/item-decoration.vue +63 -0
- package/rules/.docs/examples/component/waterfall/item-delete.vue +90 -0
- package/rules/.docs/examples/component/waterfall/item-get.vue +68 -0
- package/rules/.docs/examples/component/waterfall/item-update.vue +85 -0
- package/rules/.docs/examples/component/waterfall/ref-base.vue +141 -0
- package/rules/.docs/examples/component/waterfall/ref-operations.vue +192 -0
- package/rules/.docs/examples/component/waterfall/section-add.vue +72 -0
- package/rules/.docs/examples/component/waterfall/section-background.vue +94 -0
- package/rules/.docs/examples/component/waterfall/section-blank.vue +62 -0
- package/rules/.docs/examples/component/waterfall/section-card-placeholder.vue +90 -0
- package/rules/.docs/examples/component/waterfall/section-card.vue +83 -0
- package/rules/.docs/examples/component/waterfall/section-custom.vue +68 -0
- package/rules/.docs/examples/component/waterfall/section-decoration.vue +80 -0
- package/rules/.docs/examples/component/waterfall/section-delete.vue +76 -0
- package/rules/.docs/examples/component/waterfall/section-end.vue +91 -0
- package/rules/.docs/examples/component/waterfall/section-get.vue +74 -0
- package/rules/.docs/examples/component/waterfall/section-list.vue +56 -0
- package/rules/.docs/examples/component/waterfall/section-tabs-list.vue +149 -0
- package/rules/.docs/examples/component/waterfall/section-tabs.vue +153 -0
- package/rules/.docs/examples/component/waterfall/section-time.vue +48 -0
- package/rules/.docs/examples/component/waterfall/section-update.vue +118 -0
- package/rules/.docs/examples/component/waterfall/section-vue.vue +81 -0
- package/rules/.docs/examples/component/web-view/basic.vue +54 -0
- package/rules/.docs/examples/component/web-view/js-2-vue.vue +49 -0
- package/rules/.docs/examples/component/web-view/vue-2-js.vue +60 -0
- package/rules/.docs/examples/component/x5-web-view/basic.vue +54 -0
- package/rules/.docs/examples/css/gradient/basic.vue +43 -0
- package/rules/.docs/examples/css/gradient/corner-radii4.vue +86 -0
- package/rules/.docs/examples/css/gradient/corner-radius.vue +86 -0
- package/rules/.docs/examples/css/gradient/orientation.vue +168 -0
- package/rules/.docs/examples/css/gradient/shape.vue +97 -0
- package/rules/.docs/examples/css/gradient/type.vue +83 -0
- package/rules/.docs/examples/guide/router/app.vue +52 -0
- package/rules/.docs/examples/guide/slot/basic.vue +32 -0
- package/rules/.docs/examples/guide/slot/lifecycle.vue +106 -0
- package/rules/.docs/examples/module/action-bar/es-basic.vue +51 -0
- package/rules/.docs/examples/module/action-bar/qt-basic.vue +47 -0
- package/rules/.docs/examples/module/app-list/es-basic.vue +53 -0
- package/rules/.docs/examples/module/app-list/qt-basic.vue +50 -0
- package/rules/.docs/examples/module/audio/es-basic.vue +71 -0
- package/rules/.docs/examples/module/audio/qt-basic.vue +63 -0
- package/rules/.docs/examples/module/brightness/es-basic.vue +118 -0
- package/rules/.docs/examples/module/brightness/qt-basic.vue +115 -0
- package/rules/.docs/examples/module/broadcast/es-basic.vue +340 -0
- package/rules/.docs/examples/module/broadcast/qt-basic.vue +331 -0
- package/rules/.docs/examples/module/content-provider/es-basic.vue +92 -0
- package/rules/.docs/examples/module/content-provider/qt-basic.vue +86 -0
- package/rules/.docs/examples/module/develop/es-basic.vue +45 -0
- package/rules/.docs/examples/module/develop/qt-basic.vue +43 -0
- package/rules/.docs/examples/module/device/es-basic.vue +169 -0
- package/rules/.docs/examples/module/device/qt-basic.vue +166 -0
- package/rules/.docs/examples/module/display/es-basic.vue +45 -0
- package/rules/.docs/examples/module/display/qt-basic.vue +43 -0
- package/rules/.docs/examples/module/download/es-basic.vue +174 -0
- package/rules/.docs/examples/module/download/qt-basic.vue +168 -0
- package/rules/.docs/examples/module/es/es-basic.vue +74 -0
- package/rules/.docs/examples/module/es/qt-basic.vue +74 -0
- package/rules/.docs/examples/module/event-bus/es-emit.vue +31 -0
- package/rules/.docs/examples/module/event-bus/es-off.vue +53 -0
- package/rules/.docs/examples/module/event-bus/es-on.vue +56 -0
- package/rules/.docs/examples/module/event-bus/es-once.vue +47 -0
- package/rules/.docs/examples/module/event-bus/qt-emit.vue +28 -0
- package/rules/.docs/examples/module/event-bus/qt-off.vue +51 -0
- package/rules/.docs/examples/module/event-bus/qt-on.vue +53 -0
- package/rules/.docs/examples/module/event-bus/qt-once.vue +45 -0
- package/rules/.docs/examples/module/file/es-basic.vue +188 -0
- package/rules/.docs/examples/module/iac/es-basic.vue +211 -0
- package/rules/.docs/examples/module/iac/qt-basic.vue +208 -0
- package/rules/.docs/examples/module/key/es-back.vue +32 -0
- package/rules/.docs/examples/module/key/es-dispatch.vue +34 -0
- package/rules/.docs/examples/module/key/es-event.vue +34 -0
- package/rules/.docs/examples/module/local-storage/es-basic.vue +92 -0
- package/rules/.docs/examples/module/local-storage/qt-basic.vue +86 -0
- package/rules/.docs/examples/module/location/es-basic.vue +69 -0
- package/rules/.docs/examples/module/location/qt-basic.vue +67 -0
- package/rules/.docs/examples/module/log/es-basic.vue +45 -0
- package/rules/.docs/examples/module/log/qt-basic.vue +44 -0
- package/rules/.docs/examples/module/network/es-basic.vue +64 -0
- package/rules/.docs/examples/module/network/qt-basic.vue +60 -0
- package/rules/.docs/examples/module/page/es-app-lifecycle.vue +83 -0
- package/rules/.docs/examples/module/page/es-page-lifecycle.vue +80 -0
- package/rules/.docs/examples/module/page/es-page-state.vue +36 -0
- package/rules/.docs/examples/module/permission/es-basic.vue +62 -0
- package/rules/.docs/examples/module/permission/qt-basic.vue +59 -0
- package/rules/.docs/examples/module/plugin/es-basic.vue +71 -0
- package/rules/.docs/examples/module/plugin/qt-basic.vue +69 -0
- package/rules/.docs/examples/module/power/es-basic.vue +45 -0
- package/rules/.docs/examples/module/power/qt-basic.vue +41 -0
- package/rules/.docs/examples/module/runtime/es-basic.vue +42 -0
- package/rules/.docs/examples/module/runtime/qt-basic.vue +40 -0
- package/rules/.docs/examples/module/service/es-basic.vue +34 -0
- package/rules/.docs/examples/module/service/qt-basic.vue +31 -0
- package/rules/.docs/examples/module/share-data/es-basic.vue +266 -0
- package/rules/.docs/examples/module/share-data/qt-basic.vue +259 -0
- package/rules/.docs/examples/module/toast/es-basic.vue +47 -0
- package/rules/.docs/examples/module/toast/qt-basic.vue +44 -0
- package/rules/.docs/examples/module/upload/es-basic.vue +65 -0
- package/rules/.docs/examples/module/upload/qt-basic.vue +63 -0
- package/rules/.docs/examples/module/usb/es-basic.vue +138 -0
- package/rules/.docs/examples/module/usb/qt-basic.vue +135 -0
- package/rules/.docs/examples/module/xlog/es-basic.vue +45 -0
- package/rules/.docs/examples/module/xlog/qt-basic.vue +44 -0
- package/rules/.docs/examples/test/basic.vue +48 -0
- package/rules/.docs/index.md +7 -0
- package/rules/.docs/zh-CN/component/animation/alpha.md +22 -0
- package/rules/.docs/zh-CN/component/animation/animators.md +227 -0
- package/rules/.docs/zh-CN/component/animation/interpolator.md +59 -0
- package/rules/.docs/zh-CN/component/animation/introduction.md +101 -0
- package/rules/.docs/zh-CN/component/animation/listener.md +175 -0
- package/rules/.docs/zh-CN/component/animation/method.md +87 -0
- package/rules/.docs/zh-CN/component/animation/props.md +76 -0
- package/rules/.docs/zh-CN/component/animation/repeat.md +46 -0
- package/rules/.docs/zh-CN/component/animation/rotation-xy.md +17 -0
- package/rules/.docs/zh-CN/component/animation/rotation.md +23 -0
- package/rules/.docs/zh-CN/component/animation/scale.md +24 -0
- package/rules/.docs/zh-CN/component/animation/translation.md +22 -0
- package/rules/.docs/zh-CN/component/app-icon.md +22 -0
- package/rules/.docs/zh-CN/component/aside.md +14 -0
- package/rules/.docs/zh-CN/component/audio-player/basic.md +52 -0
- package/rules/.docs/zh-CN/component/audio-player/installation.md +26 -0
- package/rules/.docs/zh-CN/component/audio-player/introduction.md +12 -0
- package/rules/.docs/zh-CN/component/audio-player/player-manager.md +72 -0
- package/rules/.docs/zh-CN/component/audio-service-player/basic.md +52 -0
- package/rules/.docs/zh-CN/component/audio-service-player/installation.md +26 -0
- package/rules/.docs/zh-CN/component/audio-service-player/introduction.md +13 -0
- package/rules/.docs/zh-CN/component/audio-service-player/player-manager.md +71 -0
- package/rules/.docs/zh-CN/component/button.md +120 -0
- package/rules/.docs/zh-CN/component/card-container.md +24 -0
- package/rules/.docs/zh-CN/component/card.md +17 -0
- package/rules/.docs/zh-CN/component/checkbox-group.md +57 -0
- package/rules/.docs/zh-CN/component/classified-list-view.md +44 -0
- package/rules/.docs/zh-CN/component/collapse.md +45 -0
- package/rules/.docs/zh-CN/component/column.md +26 -0
- package/rules/.docs/zh-CN/component/container.md +81 -0
- package/rules/.docs/zh-CN/component/dialog.md +26 -0
- package/rules/.docs/zh-CN/component/div.md +234 -0
- package/rules/.docs/zh-CN/component/flex-view.md +14 -0
- package/rules/.docs/zh-CN/component/footer.md +14 -0
- package/rules/.docs/zh-CN/component/grid-view.md +221 -0
- package/rules/.docs/zh-CN/component/header.md +15 -0
- package/rules/.docs/zh-CN/component/html/alert.md +14 -0
- package/rules/.docs/zh-CN/component/html/audio.md +37 -0
- package/rules/.docs/zh-CN/component/html/h.md +15 -0
- package/rules/.docs/zh-CN/component/html/installation.md +67 -0
- package/rules/.docs/zh-CN/component/html/introduction.md +10 -0
- package/rules/.docs/zh-CN/component/html/video.md +39 -0
- package/rules/.docs/zh-CN/component/image.md +88 -0
- package/rules/.docs/zh-CN/component/img.md +118 -0
- package/rules/.docs/zh-CN/component/indicator-list-view.md +118 -0
- package/rules/.docs/zh-CN/component/input.md +54 -0
- package/rules/.docs/zh-CN/component/item-store.md +14 -0
- package/rules/.docs/zh-CN/component/item-view.md +14 -0
- package/rules/.docs/zh-CN/component/js-view.md +14 -0
- package/rules/.docs/zh-CN/component/js2vue.md +43 -0
- package/rules/.docs/zh-CN/component/large-list.md +20 -0
- package/rules/.docs/zh-CN/component/li.md +16 -0
- package/rules/.docs/zh-CN/component/list-item.md +34 -0
- package/rules/.docs/zh-CN/component/list-view.md +233 -0
- package/rules/.docs/zh-CN/component/loading.md +22 -0
- package/rules/.docs/zh-CN/component/lottie/assets.md +19 -0
- package/rules/.docs/zh-CN/component/lottie/basic.md +51 -0
- package/rules/.docs/zh-CN/component/lottie/event.md +23 -0
- package/rules/.docs/zh-CN/component/lottie/introduction.md +93 -0
- package/rules/.docs/zh-CN/component/lottie/network.md +12 -0
- package/rules/.docs/zh-CN/component/main.md +14 -0
- package/rules/.docs/zh-CN/component/media-series.md +44 -0
- package/rules/.docs/zh-CN/component/nav-bar.md +51 -0
- package/rules/.docs/zh-CN/component/overview.md +20 -0
- package/rules/.docs/zh-CN/component/p.md +55 -0
- package/rules/.docs/zh-CN/component/play-mark-view.md +25 -0
- package/rules/.docs/zh-CN/component/player/global-event.md +24 -0
- package/rules/.docs/zh-CN/component/player/interceptor.md +48 -0
- package/rules/.docs/zh-CN/component/player/media-player.md +43 -0
- package/rules/.docs/zh-CN/component/player/page-player.md +118 -0
- package/rules/.docs/zh-CN/component/player/player.md +190 -0
- package/rules/.docs/zh-CN/component/player-manager/aspect-ratio.md +51 -0
- package/rules/.docs/zh-CN/component/player-manager/basic.md +69 -0
- package/rules/.docs/zh-CN/component/player-manager/control.md +32 -0
- package/rules/.docs/zh-CN/component/player-manager/custom-control.md +105 -0
- package/rules/.docs/zh-CN/component/player-manager/data-structure.md +29 -0
- package/rules/.docs/zh-CN/component/player-manager/decode.md +46 -0
- package/rules/.docs/zh-CN/component/player-manager/definition.md +85 -0
- package/rules/.docs/zh-CN/component/player-manager/event.md +16 -0
- package/rules/.docs/zh-CN/component/player-manager/global-event.md +304 -0
- package/rules/.docs/zh-CN/component/player-manager/installation.md +33 -0
- package/rules/.docs/zh-CN/component/player-manager/introduction.md +207 -0
- package/rules/.docs/zh-CN/component/player-manager/media-item-interceptor.md +197 -0
- package/rules/.docs/zh-CN/component/player-manager/media-item-list-interceptor.md +189 -0
- package/rules/.docs/zh-CN/component/player-manager/media-item-list.md +31 -0
- package/rules/.docs/zh-CN/component/player-manager/media-source-interceptor.md +166 -0
- package/rules/.docs/zh-CN/component/player-manager/media-source-list-interceptor.md +168 -0
- package/rules/.docs/zh-CN/component/player-manager/mode.md +46 -0
- package/rules/.docs/zh-CN/component/player-manager/multiple-player.md +124 -0
- package/rules/.docs/zh-CN/component/player-manager/player-type.md +38 -0
- package/rules/.docs/zh-CN/component/player-manager/player-view.md +31 -0
- package/rules/.docs/zh-CN/component/player-manager/player.md +73 -0
- package/rules/.docs/zh-CN/component/player-manager/position.md +27 -0
- package/rules/.docs/zh-CN/component/player-manager/rate.md +53 -0
- package/rules/.docs/zh-CN/component/player-manager/size.md +17 -0
- package/rules/.docs/zh-CN/component/player-manager/window.md +65 -0
- package/rules/.docs/zh-CN/component/plugin-view.md +21 -0
- package/rules/.docs/zh-CN/component/poster.md +102 -0
- package/rules/.docs/zh-CN/component/progress-bar.md +347 -0
- package/rules/.docs/zh-CN/component/qr-code.md +23 -0
- package/rules/.docs/zh-CN/component/radio-group.md +57 -0
- package/rules/.docs/zh-CN/component/rating-bar.md +43 -0
- package/rules/.docs/zh-CN/component/replace-child.md +20 -0
- package/rules/.docs/zh-CN/component/ripple-view.md +14 -0
- package/rules/.docs/zh-CN/component/row.md +29 -0
- package/rules/.docs/zh-CN/component/scroll-view.md +21 -0
- package/rules/.docs/zh-CN/component/seek-bar.md +377 -0
- package/rules/.docs/zh-CN/component/surface-view.md +14 -0
- package/rules/.docs/zh-CN/component/swift-list.md +21 -0
- package/rules/.docs/zh-CN/component/swiper-slide.md +18 -0
- package/rules/.docs/zh-CN/component/swiper.md +34 -0
- package/rules/.docs/zh-CN/component/switch.md +37 -0
- package/rules/.docs/zh-CN/component/tabs-view.md +44 -0
- package/rules/.docs/zh-CN/component/tabs.md +286 -0
- package/rules/.docs/zh-CN/component/test.md +58 -0
- package/rules/.docs/zh-CN/component/text.md +115 -0
- package/rules/.docs/zh-CN/component/transition-img.md +22 -0
- package/rules/.docs/zh-CN/component/ul.md +83 -0
- package/rules/.docs/zh-CN/component/video-player/aspect-ratio.md +49 -0
- package/rules/.docs/zh-CN/component/video-player/basic.md +55 -0
- package/rules/.docs/zh-CN/component/video-player/control.md +23 -0
- package/rules/.docs/zh-CN/component/video-player/decode.md +46 -0
- package/rules/.docs/zh-CN/component/video-player/definition.md +85 -0
- package/rules/.docs/zh-CN/component/video-player/event.md +16 -0
- package/rules/.docs/zh-CN/component/video-player/global-event.md +268 -0
- package/rules/.docs/zh-CN/component/video-player/installation.md +33 -0
- package/rules/.docs/zh-CN/component/video-player/introduction.md +18 -0
- package/rules/.docs/zh-CN/component/video-player/mode.md +50 -0
- package/rules/.docs/zh-CN/component/video-player/progress.md +51 -0
- package/rules/.docs/zh-CN/component/video-player/rate.md +53 -0
- package/rules/.docs/zh-CN/component/video-player/render.md +47 -0
- package/rules/.docs/zh-CN/component/video-player/type.md +32 -0
- package/rules/.docs/zh-CN/component/view-pager.md +14 -0
- package/rules/.docs/zh-CN/component/view.md +234 -0
- package/rules/.docs/zh-CN/component/virtual-dom.md +4 -0
- package/rules/.docs/zh-CN/component/virtual.md +8 -0
- package/rules/.docs/zh-CN/component/vue-section.md +29 -0
- package/rules/.docs/zh-CN/component/vue2js.md +47 -0
- package/rules/.docs/zh-CN/component/waterfall.md +447 -0
- package/rules/.docs/zh-CN/component/web-view.md +100 -0
- package/rules/.docs/zh-CN/component/x5web-view.md +100 -0
- package/rules/.docs/zh-CN/cooperation/index.md +6 -0
- package/rules/.docs/zh-CN/css/color/gradient.md +111 -0
- package/rules/.docs/zh-CN/css/color/hsl.md +11 -0
- package/rules/.docs/zh-CN/css/color/name.md +151 -0
- package/rules/.docs/zh-CN/css/color/rgb.md +16 -0
- package/rules/.docs/zh-CN/css/color/transparent.md +9 -0
- package/rules/.docs/zh-CN/css/layout/align-items.md +13 -0
- package/rules/.docs/zh-CN/css/layout/align-self.md +12 -0
- package/rules/.docs/zh-CN/css/layout/background-position-x.md +12 -0
- package/rules/.docs/zh-CN/css/layout/background-position-y.md +12 -0
- package/rules/.docs/zh-CN/css/layout/background-size.md +12 -0
- package/rules/.docs/zh-CN/css/layout/collapsable.md +13 -0
- package/rules/.docs/zh-CN/css/layout/display.md +12 -0
- package/rules/.docs/zh-CN/css/layout/flex-basis.md +12 -0
- package/rules/.docs/zh-CN/css/layout/flex-direction.md +15 -0
- package/rules/.docs/zh-CN/css/layout/flex-grow.md +15 -0
- package/rules/.docs/zh-CN/css/layout/flex-shrink.md +12 -0
- package/rules/.docs/zh-CN/css/layout/flex-wrap.md +12 -0
- package/rules/.docs/zh-CN/css/layout/flex.md +12 -0
- package/rules/.docs/zh-CN/css/layout/height.md +12 -0
- package/rules/.docs/zh-CN/css/layout/justify-content.md +12 -0
- package/rules/.docs/zh-CN/css/layout/left.md +13 -0
- package/rules/.docs/zh-CN/css/layout/line-height.md +12 -0
- package/rules/.docs/zh-CN/css/layout/margin-bottom.md +12 -0
- package/rules/.docs/zh-CN/css/layout/margin-horizontal.md +12 -0
- package/rules/.docs/zh-CN/css/layout/margin-left.md +12 -0
- package/rules/.docs/zh-CN/css/layout/margin-right.md +12 -0
- package/rules/.docs/zh-CN/css/layout/margin-top.md +12 -0
- package/rules/.docs/zh-CN/css/layout/margin-vertical.md +12 -0
- package/rules/.docs/zh-CN/css/layout/margin.md +12 -0
- package/rules/.docs/zh-CN/css/layout/max-height.md +10 -0
- package/rules/.docs/zh-CN/css/layout/max-width.md +10 -0
- package/rules/.docs/zh-CN/css/layout/min-height.md +10 -0
- package/rules/.docs/zh-CN/css/layout/min-width.md +10 -0
- package/rules/.docs/zh-CN/css/layout/overflow.md +12 -0
- package/rules/.docs/zh-CN/css/layout/padding-bottom.md +12 -0
- package/rules/.docs/zh-CN/css/layout/padding-horizontal.md +12 -0
- package/rules/.docs/zh-CN/css/layout/padding-left.md +12 -0
- package/rules/.docs/zh-CN/css/layout/padding-right.md +12 -0
- package/rules/.docs/zh-CN/css/layout/padding-top.md +12 -0
- package/rules/.docs/zh-CN/css/layout/padding-vertical.md +12 -0
- package/rules/.docs/zh-CN/css/layout/padding.md +12 -0
- package/rules/.docs/zh-CN/css/layout/position.md +14 -0
- package/rules/.docs/zh-CN/css/layout/right.md +13 -0
- package/rules/.docs/zh-CN/css/layout/text-align.md +12 -0
- package/rules/.docs/zh-CN/css/layout/top.md +12 -0
- package/rules/.docs/zh-CN/css/layout/width.md +12 -0
- package/rules/.docs/zh-CN/css/layout/z-index.md +12 -0
- package/rules/.docs/zh-CN/css/overview.md +8 -0
- package/rules/.docs/zh-CN/css/style/background-color.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-bottom-color.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-bottom-left-radius.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-bottom-right-radius.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-bottom-width.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-color.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-left-color.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-left-width.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-radius.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-right-color.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-right-width.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-style.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-top-color.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-top-left-radius.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-top-right-radius.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-top-width.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-width.md +10 -0
- package/rules/.docs/zh-CN/css/style/box-shadow.md +10 -0
- package/rules/.docs/zh-CN/css/style/color.md +10 -0
- package/rules/.docs/zh-CN/css/style/font-family.md +10 -0
- package/rules/.docs/zh-CN/css/style/font-size.md +10 -0
- package/rules/.docs/zh-CN/css/style/font-style.md +10 -0
- package/rules/.docs/zh-CN/css/style/font-weight.md +10 -0
- package/rules/.docs/zh-CN/css/style/letter-spacing.md +10 -0
- package/rules/.docs/zh-CN/css/style/opacity.md +10 -0
- package/rules/.docs/zh-CN/css/style/text-decoration-color.md +10 -0
- package/rules/.docs/zh-CN/css/style/text-decoration-line.md +10 -0
- package/rules/.docs/zh-CN/css/style/text-decoration.md +12 -0
- package/rules/.docs/zh-CN/css/style/tint-color.md +10 -0
- package/rules/.docs/zh-CN/css/style/visibility.md +10 -0
- package/rules/.docs/zh-CN/guide/basic/appendix.md +35 -0
- package/rules/.docs/zh-CN/guide/basic/dev-debug.md +94 -0
- package/rules/.docs/zh-CN/guide/basic/dev-tools.md +22 -0
- package/rules/.docs/zh-CN/guide/basic/installation.md +144 -0
- package/rules/.docs/zh-CN/guide/basic/language.md +10 -0
- package/rules/.docs/zh-CN/guide/basic/package-manager.md +8 -0
- package/rules/.docs/zh-CN/guide/basic/quick-start.md +150 -0
- package/rules/.docs/zh-CN/guide/changelog.md +20 -0
- package/rules/.docs/zh-CN/guide/commit-examples.md +90 -0
- package/rules/.docs/zh-CN/guide/compile/obfuscator.md +56 -0
- package/rules/.docs/zh-CN/guide/compile/pack.md +8 -0
- package/rules/.docs/zh-CN/guide/compile/resource.md +96 -0
- package/rules/.docs/zh-CN/guide/compile/split-chunks.md +66 -0
- package/rules/.docs/zh-CN/guide/dark-mode.md +84 -0
- package/rules/.docs/zh-CN/guide/design.md +34 -0
- package/rules/.docs/zh-CN/guide/dev-faq.md +41 -0
- package/rules/.docs/zh-CN/guide/dev-guide.md +55 -0
- package/rules/.docs/zh-CN/guide/device/ch.md +18 -0
- package/rules/.docs/zh-CN/guide/device/haier.md +12 -0
- package/rules/.docs/zh-CN/guide/device/hisense.md +24 -0
- package/rules/.docs/zh-CN/guide/device/huawei.md +16 -0
- package/rules/.docs/zh-CN/guide/device/konka.md +12 -0
- package/rules/.docs/zh-CN/guide/device/le.md +19 -0
- package/rules/.docs/zh-CN/guide/device/skyworth.md +25 -0
- package/rules/.docs/zh-CN/guide/device/tcl.md +21 -0
- package/rules/.docs/zh-CN/guide/device/tencent.md +24 -0
- package/rules/.docs/zh-CN/guide/device/tmall.md +18 -0
- package/rules/.docs/zh-CN/guide/device/xiaomi.md +46 -0
- package/rules/.docs/zh-CN/guide/faq/dev-faq.md +100 -0
- package/rules/.docs/zh-CN/guide/faq/develop-faq.md +39 -0
- package/rules/.docs/zh-CN/guide/faq/launch-params-faq.md +119 -0
- package/rules/.docs/zh-CN/guide/faq/layout-style-faq.md +66 -0
- package/rules/.docs/zh-CN/guide/focus/auto-focus.md +94 -0
- package/rules/.docs/zh-CN/guide/focus/basic.md +133 -0
- package/rules/.docs/zh-CN/guide/focus/debug-tool.md +40 -0
- package/rules/.docs/zh-CN/guide/focus/focus-method.md +317 -0
- package/rules/.docs/zh-CN/guide/focus/list-auto-focus.md +94 -0
- package/rules/.docs/zh-CN/guide/focus/request-focus.md +10 -0
- package/rules/.docs/zh-CN/guide/interaction/click.md +39 -0
- package/rules/.docs/zh-CN/guide/interaction/focus.md +44 -0
- package/rules/.docs/zh-CN/guide/key/back.md +65 -0
- package/rules/.docs/zh-CN/guide/key/dispatch-key-event.md +41 -0
- package/rules/.docs/zh-CN/guide/key/key-event.md +87 -0
- package/rules/.docs/zh-CN/guide/layout/adapter.md +33 -0
- package/rules/.docs/zh-CN/guide/layout/layout.md +42 -0
- package/rules/.docs/zh-CN/guide/layout/style.md +64 -0
- package/rules/.docs/zh-CN/guide/layout/theming.md +154 -0
- package/rules/.docs/zh-CN/guide/migration.md +25 -0
- package/rules/.docs/zh-CN/guide/namespace.md +69 -0
- package/rules/.docs/zh-CN/guide/nav.md +73 -0
- package/rules/.docs/zh-CN/guide/network/axios.md +47 -0
- package/rules/.docs/zh-CN/guide/network/fetch.md +70 -0
- package/rules/.docs/zh-CN/guide/network/websocket.md +107 -0
- package/rules/.docs/zh-CN/guide/node/install.md +179 -0
- package/rules/.docs/zh-CN/guide/npm/install.md +74 -0
- package/rules/.docs/zh-CN/guide/overview.md +41 -0
- package/rules/.docs/zh-CN/guide/page/application-lifecycle.md +37 -0
- package/rules/.docs/zh-CN/guide/page/lifecycle.md +32 -0
- package/rules/.docs/zh-CN/guide/page/page-lifecycle.md +35 -0
- package/rules/.docs/zh-CN/guide/page/page-state.md +31 -0
- package/rules/.docs/zh-CN/guide/page/type.md +49 -0
- package/rules/.docs/zh-CN/guide/publish/hub.md +31 -0
- package/rules/.docs/zh-CN/guide/publish/release-apk.md +51 -0
- package/rules/.docs/zh-CN/guide/publish/release-rpk.md +45 -0
- package/rules/.docs/zh-CN/guide/router/async.md +25 -0
- package/rules/.docs/zh-CN/guide/router/entry.md +60 -0
- package/rules/.docs/zh-CN/guide/router/error.md +25 -0
- package/rules/.docs/zh-CN/guide/router/install.md +70 -0
- package/rules/.docs/zh-CN/guide/router/introduction.md +35 -0
- package/rules/.docs/zh-CN/guide/router/launch.md +88 -0
- package/rules/.docs/zh-CN/guide/router/limit.md +33 -0
- package/rules/.docs/zh-CN/guide/router/native.md +104 -0
- package/rules/.docs/zh-CN/guide/router/result.md +42 -0
- package/rules/.docs/zh-CN/guide/sfc-component/async-component.md +88 -0
- package/rules/.docs/zh-CN/guide/sfc-component/native-component.md +127 -0
- package/rules/.docs/zh-CN/guide/slot/develop.md +42 -0
- package/rules/.docs/zh-CN/guide/slot/install.md +59 -0
- package/rules/.docs/zh-CN/guide/slot/introduction.md +45 -0
- package/rules/.docs/zh-CN/guide/slot/lifecycle.md +18 -0
- package/rules/.docs/zh-CN/guide/slot/project.md +22 -0
- package/rules/.docs/zh-CN/guide/test.md +8 -0
- package/rules/.docs/zh-CN/guide/theming.md +254 -0
- package/rules/.docs/zh-CN/guide/translation.md +39 -0
- package/rules/.docs/zh-CN/index.md +9 -0
- package/rules/.docs/zh-CN/module/action-bar.md +32 -0
- package/rules/.docs/zh-CN/module/app-list.md +57 -0
- package/rules/.docs/zh-CN/module/audio.md +45 -0
- package/rules/.docs/zh-CN/module/brightness.md +33 -0
- package/rules/.docs/zh-CN/module/broadcast.md +77 -0
- package/rules/.docs/zh-CN/module/content-provider.md +64 -0
- package/rules/.docs/zh-CN/module/develop.md +45 -0
- package/rules/.docs/zh-CN/module/device.md +108 -0
- package/rules/.docs/zh-CN/module/display.md +33 -0
- package/rules/.docs/zh-CN/module/download.md +97 -0
- package/rules/.docs/zh-CN/module/es.md +74 -0
- package/rules/.docs/zh-CN/module/event-bus.md +68 -0
- package/rules/.docs/zh-CN/module/file.md +62 -0
- package/rules/.docs/zh-CN/module/iac.md +51 -0
- package/rules/.docs/zh-CN/module/local-storage.md +35 -0
- package/rules/.docs/zh-CN/module/location.md +48 -0
- package/rules/.docs/zh-CN/module/log.md +52 -0
- package/rules/.docs/zh-CN/module/network.md +77 -0
- package/rules/.docs/zh-CN/module/overview.md +10 -0
- package/rules/.docs/zh-CN/module/permission.md +42 -0
- package/rules/.docs/zh-CN/module/plugin.md +38 -0
- package/rules/.docs/zh-CN/module/power.md +51 -0
- package/rules/.docs/zh-CN/module/runtime.md +41 -0
- package/rules/.docs/zh-CN/module/service.md +33 -0
- package/rules/.docs/zh-CN/module/share-data.md +85 -0
- package/rules/.docs/zh-CN/module/toast.md +30 -0
- package/rules/.docs/zh-CN/module/upload.md +53 -0
- package/rules/.docs/zh-CN/module/usb.md +52 -0
- package/rules/.docs/zh-CN/module/xlog.md +48 -0
- package/rules/.docs/zh-CN/resource/runtime.md +88 -0
- package/rules/.docs/zh-CN/resource/test-flight.md +27 -0
- package/rules/.docs/zh-CN/runtime/runtime.md +81 -0
- package/rules/.docs/zh-CN/runtime/test-flight.md +23 -0
- package/rules/.docs/zh-CN/sample/ai-dev.md +250 -0
- package/rules/.docs/zh-CN/sample/api-demo.md +26 -0
- package/rules/.docs/zh-CN/sample/app-list.md +12 -0
- package/rules/.docs/zh-CN/sample/hello-tv.md +98 -0
- package/rules/.docs/zh-CN/sdk/cus_component.md +249 -0
- package/rules/.docs/zh-CN/sdk/cus_module.md +163 -0
- package/rules/.docs/zh-CN/sdk/cus_splash.md +97 -0
- package/rules/.docs/zh-CN/sdk/empty.md +0 -0
- package/rules/.docs/zh-CN/sdk/first_implementation.md +15 -0
- package/rules/.docs/zh-CN/sdk/first_init.md +13 -0
- package/rules/.docs/zh-CN/sdk/first_start_app.md +4 -0
- package/rules/.docs/zh-CN/sdk/light-card.md +116 -0
- package/rules/.docs/zh-CN/sdk/overview.md +5 -0
- package/rules/.docs/zh-CN/tool/api/overview.md +103 -0
- package/rules/.docs/zh-CN/tool/cli/adb.md +32 -0
- package/rules/.docs/zh-CN/tool/cli/build.md +14 -0
- package/rules/.docs/zh-CN/tool/cli/clean.md +12 -0
- package/rules/.docs/zh-CN/tool/cli/config.md +37 -0
- package/rules/.docs/zh-CN/tool/cli/create.md +28 -0
- package/rules/.docs/zh-CN/tool/cli/debug.md +30 -0
- package/rules/.docs/zh-CN/tool/cli/info.md +14 -0
- package/rules/.docs/zh-CN/tool/cli/installation.md +12 -0
- package/rules/.docs/zh-CN/tool/cli/introduction.md +26 -0
- package/rules/.docs/zh-CN/tool/cli/logcat.md +10 -0
- package/rules/.docs/zh-CN/tool/cli/migrate.md +12 -0
- package/rules/.docs/zh-CN/tool/cli/pack.md +14 -0
- package/rules/.docs/zh-CN/tool/cli/preview.md +18 -0
- package/rules/.docs/zh-CN/tool/cli/publish.md +12 -0
- package/rules/.docs/zh-CN/tool/cli/setup.md +58 -0
- package/rules/.docs/zh-CN/tool/cli/start.md +54 -0
- package/rules/.docs/zh-CN/tool/cli/test.md +22 -0
- package/rules/.docs/zh-CN/tool/cli/upgrade.md +12 -0
- package/rules/.github/copilot-instructions.md +456 -0
- package/rules/.windsurfrules +367 -0
- package/rules/AGENTS.md +456 -0
- package/rules/AI_HANDOFF.md +376 -0
- package/rules/CLAUDE.md +836 -0
- package/rules/GEMINI.md +463 -0
|
@@ -0,0 +1,447 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Waterfall
|
|
3
|
+
lang: zh-CN
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Waterfall
|
|
7
|
+
|
|
8
|
+
Section列表组成Waterfall。 item列表组成Section。
|
|
9
|
+
|
|
10
|
+
## 瀑布流结构图
|
|
11
|
+
|
|
12
|
+
<img src="/component/waterfall/waterfall_structure.jpg" />
|
|
13
|
+
|
|
14
|
+
:::demo ## 基础用法
|
|
15
|
+
|
|
16
|
+
component/waterfall/basic
|
|
17
|
+
|
|
18
|
+
:::
|
|
19
|
+
|
|
20
|
+
:::demo ## 事件
|
|
21
|
+
|
|
22
|
+
component/waterfall/event
|
|
23
|
+
|
|
24
|
+
:::
|
|
25
|
+
|
|
26
|
+
## 瀑布流板块
|
|
27
|
+
|
|
28
|
+
### 瀑布流板块类型
|
|
29
|
+
|
|
30
|
+
瀑布流内置如下类型板块:
|
|
31
|
+
|
|
32
|
+
* 加载板块:`QT_WATERFALL_SECTION_TYPE_LOADING`
|
|
33
|
+
* 标题板块:`QT_WATERFALL_SECTION_TYPE_TITLE`
|
|
34
|
+
* 弹性布局板块:`QT_WATERFALL_SECTION_TYPE_FLEX`
|
|
35
|
+
* 横向列表板块:`QT_WATERFALL_SECTION_TYPE_LIST`
|
|
36
|
+
* 标签板块:`QT_WATERFALL_SECTION_TYPE_TAB`
|
|
37
|
+
* 标签列表板块:`QT_WATERFALL_SECTION_TYPE_TAB_LIST`
|
|
38
|
+
* 卡片板块:`QT_WATERFALL_SECTION_TYPE_CARD`
|
|
39
|
+
* 原生`Vue`板块:`QT_WATERFALL_SECTION_TYPE_VUE`
|
|
40
|
+
* 结束板块:`QT_WATERFALL_SECTION_TYPE_END`
|
|
41
|
+
* 空板块:`QT_WATERFALL_SECTION_TYPE_BLANK`
|
|
42
|
+
|
|
43
|
+
#### List Section
|
|
44
|
+
|
|
45
|
+
使用内置列表板块,设置section类型为`QT_WATERFALL_SECTION_TYPE_LIST`即可
|
|
46
|
+
|
|
47
|
+
:::demo
|
|
48
|
+
|
|
49
|
+
component/waterfall/section-list
|
|
50
|
+
|
|
51
|
+
:::
|
|
52
|
+
|
|
53
|
+
#### End Section
|
|
54
|
+
|
|
55
|
+
使用内置底部板块,设置section类型为`QT_WATERFALL_SECTION_TYPE_END`即可
|
|
56
|
+
|
|
57
|
+
:::demo
|
|
58
|
+
|
|
59
|
+
component/waterfall/section-end
|
|
60
|
+
|
|
61
|
+
:::
|
|
62
|
+
|
|
63
|
+
#### Blank Section
|
|
64
|
+
|
|
65
|
+
使用内置空板块,设置section类型为`QT_WATERFALL_SECTION_TYPE_BLANK`即可
|
|
66
|
+
|
|
67
|
+
:::demo
|
|
68
|
+
|
|
69
|
+
component/waterfall/section-blank
|
|
70
|
+
|
|
71
|
+
:::
|
|
72
|
+
|
|
73
|
+
#### Tabs Section
|
|
74
|
+
|
|
75
|
+
使用内置标签板块,设置section类型为`QT_WATERFALL_ITEM_TYPE_TAB`即可
|
|
76
|
+
|
|
77
|
+
:::demo
|
|
78
|
+
|
|
79
|
+
component/waterfall/section-tabs
|
|
80
|
+
|
|
81
|
+
:::
|
|
82
|
+
|
|
83
|
+
:::demo #### Tabs List Section
|
|
84
|
+
|
|
85
|
+
component/waterfall/section-tabs-list
|
|
86
|
+
|
|
87
|
+
:::
|
|
88
|
+
|
|
89
|
+
#### Vue Section
|
|
90
|
+
|
|
91
|
+
:::demo
|
|
92
|
+
|
|
93
|
+
component/waterfall/section-vue
|
|
94
|
+
|
|
95
|
+
:::
|
|
96
|
+
|
|
97
|
+
:::demo
|
|
98
|
+
|
|
99
|
+
component/waterfall/section-time
|
|
100
|
+
|
|
101
|
+
:::
|
|
102
|
+
|
|
103
|
+
:::demo #### Card Section
|
|
104
|
+
|
|
105
|
+
component/waterfall/section-card
|
|
106
|
+
|
|
107
|
+
:::
|
|
108
|
+
|
|
109
|
+
:::demo #### Card Section Placeholder
|
|
110
|
+
|
|
111
|
+
component/waterfall/section-card-placeholder
|
|
112
|
+
|
|
113
|
+
:::
|
|
114
|
+
|
|
115
|
+
### 瀑布流板块操作
|
|
116
|
+
|
|
117
|
+
:::demo #### 添加板块
|
|
118
|
+
|
|
119
|
+
component/waterfall/section-add
|
|
120
|
+
|
|
121
|
+
:::
|
|
122
|
+
|
|
123
|
+
:::demo #### 查询板块
|
|
124
|
+
|
|
125
|
+
component/waterfall/section-get
|
|
126
|
+
|
|
127
|
+
:::
|
|
128
|
+
|
|
129
|
+
:::demo #### 删除板块
|
|
130
|
+
|
|
131
|
+
component/waterfall/section-delete
|
|
132
|
+
|
|
133
|
+
:::
|
|
134
|
+
|
|
135
|
+
:::demo #### 更新板块
|
|
136
|
+
|
|
137
|
+
component/waterfall/section-update
|
|
138
|
+
|
|
139
|
+
:::
|
|
140
|
+
|
|
141
|
+
:::demo ### 自定义板块
|
|
142
|
+
|
|
143
|
+
component/waterfall/section-custom
|
|
144
|
+
|
|
145
|
+
:::
|
|
146
|
+
|
|
147
|
+
:::demo ### 板块装饰信息
|
|
148
|
+
|
|
149
|
+
component/waterfall/section-decoration
|
|
150
|
+
|
|
151
|
+
:::
|
|
152
|
+
|
|
153
|
+
:::demo ### 板块背景
|
|
154
|
+
|
|
155
|
+
component/waterfall/section-background
|
|
156
|
+
|
|
157
|
+
:::
|
|
158
|
+
|
|
159
|
+
## 瀑布流条目
|
|
160
|
+
|
|
161
|
+
### 瀑布流条目类型
|
|
162
|
+
|
|
163
|
+
瀑布流内置如下类型条目:
|
|
164
|
+
|
|
165
|
+
* 海报条目:`QT_WATERFALL_ITEM_TYPE_POSTER`
|
|
166
|
+
* 标签条目:`QT_WATERFALL_ITEM_TYPE_TAB`
|
|
167
|
+
* 卡片条目:`QT_WATERFALL_ITEM_TYPE_CARD`
|
|
168
|
+
* 空条目:`QT_WATERFALL_ITEM_TYPE_BLANK`
|
|
169
|
+
|
|
170
|
+
#### Card Item
|
|
171
|
+
|
|
172
|
+
:::demo
|
|
173
|
+
|
|
174
|
+
component/waterfall/item-card
|
|
175
|
+
|
|
176
|
+
:::
|
|
177
|
+
|
|
178
|
+
#### Card Item Placeholder
|
|
179
|
+
|
|
180
|
+
:::demo
|
|
181
|
+
|
|
182
|
+
component/waterfall/item-card-placeholder
|
|
183
|
+
|
|
184
|
+
:::
|
|
185
|
+
|
|
186
|
+
### 瀑布流条目操作
|
|
187
|
+
|
|
188
|
+
#### 添加条目
|
|
189
|
+
|
|
190
|
+
:::demo
|
|
191
|
+
|
|
192
|
+
component/waterfall/item-add
|
|
193
|
+
|
|
194
|
+
:::
|
|
195
|
+
|
|
196
|
+
#### 查询条目
|
|
197
|
+
|
|
198
|
+
:::demo
|
|
199
|
+
|
|
200
|
+
component/waterfall/item-get
|
|
201
|
+
|
|
202
|
+
:::
|
|
203
|
+
|
|
204
|
+
#### 删除条目
|
|
205
|
+
|
|
206
|
+
:::demo
|
|
207
|
+
|
|
208
|
+
component/waterfall/item-delete
|
|
209
|
+
|
|
210
|
+
:::
|
|
211
|
+
|
|
212
|
+
#### 更新条目
|
|
213
|
+
|
|
214
|
+
:::demo
|
|
215
|
+
|
|
216
|
+
component/waterfall/item-update
|
|
217
|
+
|
|
218
|
+
:::
|
|
219
|
+
|
|
220
|
+
### 条目装饰信息
|
|
221
|
+
|
|
222
|
+
:::demo
|
|
223
|
+
|
|
224
|
+
component/waterfall/item-decoration
|
|
225
|
+
|
|
226
|
+
:::
|
|
227
|
+
|
|
228
|
+
### 自定义条目
|
|
229
|
+
|
|
230
|
+
:::demo
|
|
231
|
+
|
|
232
|
+
component/waterfall/item-custom
|
|
233
|
+
|
|
234
|
+
:::
|
|
235
|
+
|
|
236
|
+
## 数据双向绑定用法
|
|
237
|
+
|
|
238
|
+
:::demo ### 基础用法
|
|
239
|
+
|
|
240
|
+
component/waterfall/ref-base
|
|
241
|
+
|
|
242
|
+
:::
|
|
243
|
+
|
|
244
|
+
:::demo ### 增删改查操作示例
|
|
245
|
+
|
|
246
|
+
component/waterfall/ref-operations
|
|
247
|
+
|
|
248
|
+
:::
|
|
249
|
+
|
|
250
|
+
## API
|
|
251
|
+
|
|
252
|
+
### DataStructure
|
|
253
|
+
|
|
254
|
+
#### QTWaterfall
|
|
255
|
+
|
|
256
|
+
用来描述瀑布流信息
|
|
257
|
+
|
|
258
|
+
| Name | Description | Type | Default |
|
|
259
|
+
| ------------ | ------------------| ----------------------|---------|
|
|
260
|
+
| width | 瀑布流的宽度 | ^[number] | - |
|
|
261
|
+
| height | 瀑布流的高度 | ^[number] | - |
|
|
262
|
+
| visibleType | 瀑布流显示的类型 | ^[QTWaterfallVisibleType]| - |
|
|
263
|
+
|
|
264
|
+
#### QTWaterfallItem
|
|
265
|
+
|
|
266
|
+
用来描述瀑布流`Item`信息
|
|
267
|
+
|
|
268
|
+
| Name | Description | Type | Default |
|
|
269
|
+
| ------------ | ------------------| ------------------------------|---------|
|
|
270
|
+
| _id | 瀑布流item的id | ^[string] | - |
|
|
271
|
+
| type | 瀑布流item的类型 | ^[number] | - |
|
|
272
|
+
| decoration | 瀑布流item的装饰尺寸 | ^[QTListViewItemDecoration] | - |
|
|
273
|
+
| style | 瀑布流item视图的样式 | ^[QTWaterfallFlexStyle] | - |
|
|
274
|
+
|
|
275
|
+
#### QTWaterfallSection
|
|
276
|
+
|
|
277
|
+
用来描述瀑布流`Section`信息
|
|
278
|
+
|
|
279
|
+
| Name | Description | Type | Default |
|
|
280
|
+
| ------------ | ------------------------| -----------------------------------------|---------|
|
|
281
|
+
| _id | 瀑布流section的id | `string` | - |
|
|
282
|
+
| type | 瀑布流section的类型 | `number` | - |
|
|
283
|
+
| decoration | 瀑布流section的装饰尺寸 | `QTListViewItemDecoration` | - |
|
|
284
|
+
| style | 瀑布流section视图的样式 | `QTWaterfallFlexStyle` | - |
|
|
285
|
+
| title | 瀑布流section的标题 | `string` | - |
|
|
286
|
+
| titleStyle | 瀑布流section的标题样式 |`QTWaterfallFlexStyle & QTFlexStyleText` | - |
|
|
287
|
+
| itemList | 瀑布流section中的item列表 | `Array<QTWaterfallItem>` | - |
|
|
288
|
+
| placeholder | 瀑布流section中的占位 | `QTWaterfallPlaceholder` | - |
|
|
289
|
+
|
|
290
|
+
### Attributes
|
|
291
|
+
|
|
292
|
+
| Name | Description | Type | Default |
|
|
293
|
+
| ------------------------------- | ----------------- | ---------------------| ------- |
|
|
294
|
+
| enablePlaceholder | 是否启用占位图 | ^[boolean] | false |
|
|
295
|
+
| blockFocusDirections | 拦截焦点的方向 | ^[object]`string[]` | ['left', 'right'] |
|
|
296
|
+
| scrollYLesserReferenceValue | Y轴滚动减少的阈值 | ^[number] | 0 |
|
|
297
|
+
| scrollYGreaterReferenceValue | Y轴滚动增加的阈值 | ^[number] | 0 |
|
|
298
|
+
| focusable | 是否可以获得焦点 | ^[boolean] | false |
|
|
299
|
+
| clipChildren | 裁剪子布局 | ^[boolean] | false |
|
|
300
|
+
| clipPadding | 从padding区域向外裁剪 | ^[boolean] | false |
|
|
301
|
+
| nextFocusDownSID ^(2.7) | 向下时指定下一个焦点sid | ^[string] | - |
|
|
302
|
+
| nextFocusUpSID ^(2.7) | 向上时指定下一个焦点sid | ^[string] | - |
|
|
303
|
+
| nextFocusLeftSID ^(2.7) | 向左时指定下一个焦点sid | ^[string] | - |
|
|
304
|
+
| nextFocusRightSID ^(2.7) | 向右时指定下一个焦点sid | ^[string] | - |
|
|
305
|
+
| nextFocusSID ^(2.7) | 指定各方向下一个焦点sid | ^[object]`'{left : string, right: string, up: string, down: string}'` | - |
|
|
306
|
+
| sid ^(2.7) | 给一个元素标记一个`string id`,可随意赋值,需确保唯一 | ^[string] | - |
|
|
307
|
+
| fadingEdgeLength ^(2.5) | 淡出效果长度 | ^[number] | 0 |
|
|
308
|
+
| horizontalFadingEdgeEnabled ^(2.5) | 开启横向淡出效果 | ^[boolean] | false |
|
|
309
|
+
| verticalFadingEdgeEnabled ^(2.5) | 开启纵向淡出效果 | ^[boolean] | false |
|
|
310
|
+
| autofocus ^(2.7) | 组件内根据状态(`初始化、可见性改变、尺寸改变`)变化自动获焦,focusable为true时自己获焦 | ^[boolean] | false |
|
|
311
|
+
| renderToHardwareTextureAndroid | 设置`layerType`为`LAYER_TYPE_HARDWARE` | ^[boolean] | false |
|
|
312
|
+
| viewLayerType | 设置`layerType` | ^[enum]`'hardware' \| 'soft' \| 'none'` | - |
|
|
313
|
+
| clipBounds | 设置裁剪区域 | ^[object]`'{left : number, right: number, top: number, bottom: number}'` | - |
|
|
314
|
+
| descendantFocusability | 设置子孙组件的可聚焦性策略 | ^[enum]`'0:先于子孙' \| '1:子孙之后' \| '2:阻止所有'` | - |
|
|
315
|
+
| name | 指定元素的`name` | ^[string] | - |
|
|
316
|
+
| nextFocusName | 指定各方向下一个焦点元素的`name` | ^[object]`'{left : string, right: string, up: string, down: string}'` | - |
|
|
317
|
+
| visible | 是否可见 | ^[boolean] | false |
|
|
318
|
+
| visibility | 可见性 | ^[enum]`'visible' \| 'invisible' \| 'gone'` | visible |
|
|
319
|
+
| size | 设置元素大小 | ^[array]`[width : number,height : number]` | - |
|
|
320
|
+
| layout | 设置元素位置及大小 | ^[array]`[x : number, y : number, width : number,height : number]` | - |
|
|
321
|
+
| selectChildPosition | 设置选中子元素位置 | ^[number] | -1 |
|
|
322
|
+
| enableSelectOnFocus | 开启当焦点时自动设置选中子元素位置 | ^[number] | -1 |
|
|
323
|
+
| focusMemory | 开启子元素焦点记忆 | ^[boolean] | false |
|
|
324
|
+
| useDiff | 开启时更新diff算法,提高性能,解决多次刷新问题 ^(beta) | ^[boolean] | false |
|
|
325
|
+
| initPosition | 列表初始化时一些滚动位置、初始化焦点等设置 ^(deprecated) 使用`autofocus、autoscroll替代` | ^[object]`{focusPosition : number(默认焦点位置), scrollToPosition: number(默认定位位置), scrollOffset: number(滚动offset), force: true(强制刷新)}` | - |
|
|
326
|
+
| listenBoundEvent | 开启监听`item-focused`等事件 | ^[boolean] | false |
|
|
327
|
+
| enableItemAnimator | 开启item加载动画 | ^[boolean] | false |
|
|
328
|
+
| disableScrollOnFirstScreen | 首屏时焦点切换不滚动 ^(beta) | ^[boolean] | false |
|
|
329
|
+
| skipFocusOnPause | `pause`状态时不可获焦 | ^[boolean] | false |
|
|
330
|
+
| taskPaused | 将组件`活动`(如创建item等,`postDelay`的组件)暂停 | ^[boolean] | false |
|
|
331
|
+
| pauseTaskOnHide | 组件不可见时`pause` | ^[boolean] | false |
|
|
332
|
+
| resetOnDetach | 开启时自动在离开屏幕时重置状态、滚动到头部 | ^[boolean] | false |
|
|
333
|
+
| touchScrollEnabled | 开启触屏时滚动 | ^[boolean] | true |
|
|
334
|
+
| firstFocusChild ^(2.87) | 指定从各方向获焦时,首个获焦对象,由`child`的`position`或`sid`指定 | ^[object]`{left : number \| string,right : number \| string,up : number \| string,down : number \| string}` | - |
|
|
335
|
+
| enableFirstFocusAtStart ^(2.87) | 开启首个获焦对象为头部`child` | ^[boolean] | false |
|
|
336
|
+
| enablePlaceholder ^(2.5) | 加载时是否先展示`placeholder` | ^[boolean] | false |
|
|
337
|
+
| checkScrollOffsetOnStateChanged | 是否在滚动事件时触发事件监听 | ^[boolean] | false |
|
|
338
|
+
| onScrollEnable | 开启`scroll`事件监听 | ^[boolean] | true |
|
|
339
|
+
| makeChildVisibleType | 列表随焦点变化滚动方式 | ^[enum]`center \| normal` | center |
|
|
340
|
+
| makeChildVisibleClampBackward | 列表向后滚动时的留白^(beta) | ^[number] | 0 |
|
|
341
|
+
| makeChildVisibleClampForward | 列表向后滚动时的留白^(beta) | ^[number] | 0 |
|
|
342
|
+
| scrollThresholdHorizontal | 横向焦点触发滚动的阈值 | ^[number] | 0 |
|
|
343
|
+
| scrollThresholdVertical | 纵向焦点触发滚动的阈值 | ^[number] | 0 |
|
|
344
|
+
| cachePool | `item`缓存池,可以设置缓存池`name`,指定不同`type`类型`item`的数量,以优化性能 | ^[object]`{name : string,size : object({type : number...}) }` | - |
|
|
345
|
+
| cachePoolName | `cachePool`简化版,只可指定缓存池`name`,不同实例,相同`name`使用同一缓存池 | ^[string] | - |
|
|
346
|
+
| selectChildPosition | 选中子item位置 | ^[number] | -1 |
|
|
347
|
+
| shakePreCheckNumber | 到底抖动提示提前位置 | ^[number] | 2 |
|
|
348
|
+
| placeholderFocusScale ^(2.7) | `placeholder`焦点放大倍数 | ^[number] | 1.1 |
|
|
349
|
+
| placeholderColorString ^(2.7) | `placeholder`背景颜色(`#RRGGBBAA`) | ^[string] | #FFFFFF1A |
|
|
350
|
+
| placeholderColor ^(2.7) | `placeholder`背景颜色 | ^[number] | (255,255,255,0.1) |
|
|
351
|
+
| placeholderBorderRadius ^(2.7) | `placeholder`圆角 | ^[number] | 8 |
|
|
352
|
+
| endShakeEnabled | 到底反馈 | ^[boolean] | true |
|
|
353
|
+
| listenFocusSearchOnFail | 监听内部寻焦失败 | ^[boolean] | false |
|
|
354
|
+
| enableStatesOnFocus | 子item获焦时自动改变`自定义`名称的状态 | ^[array]`[selected,customxx...]` | false |
|
|
355
|
+
| placeholderPostDelay ^(2.5) | `placeholder`变为真实内容的delay时间 | ^[number] | 100ms |
|
|
356
|
+
| enableKeepFocus | 保持焦点在内部 | ^[boolean] | false |
|
|
357
|
+
| scrollFactor | 滚动速度参数 | ^[number] | 1 |
|
|
358
|
+
| autofocusPosition ^(2.7) | 自动焦点位置 | ^[number] | -1 |
|
|
359
|
+
| autofocusSID ^(2.8) | 自动焦点位置 | ^[string] | |
|
|
360
|
+
| autoscroll ^(2.7) | 自动滚动参数`[position,offset]` | ^[array] | - |
|
|
361
|
+
| autoSelectPosition ^(2.7) | 自动选择位置^(beta) | ^[number] | -1 |
|
|
362
|
+
| infiniteMode ^(2.87) | 循环模式 | ^[boolean] | false |
|
|
363
|
+
| infiniteParams ^(2.87) | 循环模式参数:`{autoscroll:array,scrollOffset:number, itemSize : number,selectPosition:number,minChildScale:number}` | ^[object] | - |
|
|
364
|
+
| listData ^(beta) | 双向绑定数据集 | ^[Array] | `[]` |
|
|
365
|
+
|
|
366
|
+
### Events
|
|
367
|
+
|
|
368
|
+
| Name | Description | Type |
|
|
369
|
+
| ------------------------ | ----------------| --------------------------------------------------------------------------------------------------------- |
|
|
370
|
+
| onScroll | 页面滚动 | ^[Function]`(scrollX: number, scrollY: number) => void` |
|
|
371
|
+
| onScrollStateChanged | 页面滚动状态变化 | ^[Function]`(offsetX: number, scrollY: number, newState: number, oldState: number) => void` |
|
|
372
|
+
| onItemClick | 条目点击事件 | ^[Function]`(sectionIndex: number, itemIndex: number, item: QTWaterfallItem) => void` |
|
|
373
|
+
| onItemFocused | 条目焦点变化 | ^[Function]`(sectionIndex: number, itemIndex: number, isFocused: boolean, item: QTWaterfallItem) => void` |
|
|
374
|
+
| onSectionBind | 板块绑定 | ^[Function]`(pageIndex: number, sectionIndex: number) => void` |
|
|
375
|
+
| onSectionAttached | 板块Attached | ^[Function]`(pageIndex: number, sectionIndex: number) => void` |
|
|
376
|
+
| onSectionDetached | 板块Detached | ^[Function]`(pageIndex: number, sectionIndex: number) => void` |
|
|
377
|
+
| onScrollYGreaterReference| Y轴滚动增加事件 | ^[Function]`() => void` |
|
|
378
|
+
| onScrollYLesserReference | Y轴滚动减少事件 | ^[Function]`() => void` |
|
|
379
|
+
| onPluginLoadSuccess | 插件加载成功 | ^[Function]`(event: QTPluginViewEvent) => void` |
|
|
380
|
+
| onPluginLoadError | 插件加载失败 | ^[Function]`(event: QTPluginViewEvent) => void` |
|
|
381
|
+
|
|
382
|
+
### Slots
|
|
383
|
+
|
|
384
|
+
| Name | Description |
|
|
385
|
+
| ----------- | ----------------------- |
|
|
386
|
+
| item | flex section中自定义item. |
|
|
387
|
+
| list-item | list section 中自定义item.|
|
|
388
|
+
| vue-section | vue section 中内容. |
|
|
389
|
+
| section | 自定义section. |
|
|
390
|
+
|
|
391
|
+
### Exposes
|
|
392
|
+
|
|
393
|
+
| Name | Description | Type |
|
|
394
|
+
| ------------------------------ | ----------------------------------------------- | -----------------------------------------------|
|
|
395
|
+
| init | 该方法根据初始化瀑布流 | ^[Function]`(waterfall: QTWaterfall)) => void` |
|
|
396
|
+
| getSectionList | 该方法获取瀑布流包含的板块列表数据 | ^[Function]`() => Array<QTWaterfallSection>` |
|
|
397
|
+
| setSectionList | 该方法设置瀑布流板块列表数据 | ^[Function]`(sections: Array<QTWaterfallSection>) => void` |
|
|
398
|
+
| addSectionList | 该方法给瀑布流添加板块 | ^[Function]`(sections: Array<QTWaterfallSection>) => void` |
|
|
399
|
+
| deleteSection | 该方法删除指定的板块 | ^[Function]`(sectionIndex: number, count: number) => void` |
|
|
400
|
+
| updateSection | 该方法更新指定index的瀑布流板块 | ^[Function]`(sectionIndex: number, section: QTWaterfallSection) => void` |
|
|
401
|
+
| updateSectionList | 该方法更新瀑布流板块列表 | ^[Function]`(sectionIndex: number, count: number, sectionList: Array<QTWaterfallSection>) => void` |
|
|
402
|
+
| getSection | 该方法获取指定索引的瀑布流板块 | ^[Function]`(sectionIndex: number) => QTWaterfallSection \| undefined` |
|
|
403
|
+
| addItemList | 该方法向指定索引的板块中添加条目 | ^[Function]`(sectionIndex: number, itemList: Array<QTWaterfallItem>) => void` |
|
|
404
|
+
| deleteItem | 该方法删除指定索引板块中的条目 | ^[Function]`(sectionIndex: number, itemIndex: number, count: number) => void` |
|
|
405
|
+
| updateItem | 该方法更新指定索引板块中的条目 | ^[Function]`(sectionIndex: number, itemIndex: number, item: QTWaterfallItem) => void` |
|
|
406
|
+
| updateItemList | 该方法更新指定索引板块中的条目列表 | ^[Function]`(sectionIndex: number, itemIndex: number, count: number, itemList: Array<QTWaterfallItem>) => void` |
|
|
407
|
+
| getItem | 该方法获取指定索引板块中的条目 | ^[Function]`(sectionIndex: number, itemIndex: number) => QTWaterfallItem \| undefined` |
|
|
408
|
+
| scrollToIndex | 滚动到指定位置 | ^[Function]`(x: number, y: number, animated?: boolean, duration?: number, offset?: number) => void` |
|
|
409
|
+
| startScroll | 开始滚动 | ^[Function]`(position: QTListInitPosition) => void` |
|
|
410
|
+
| setSelectChildPosition | 选中指定位置的条目 | ^[Function]`(position: number, changeTargetFocusChild?: boolean) => void` |
|
|
411
|
+
| scrollToPositionWithOffset | 滚动到指定的位置 | ^[Function]`(position: number, offset: number, animated: boolean) => void` |
|
|
412
|
+
| scrollToPositionWithOffsetInfiniteMode | 滚动到指定的位置 | ^[Function]`(position: number, offset: number, animated: boolean) => void` |
|
|
413
|
+
| scrollToPosition | 滚动到指定的位置 | ^[Function]`(position: number, offset?: number) => void` |
|
|
414
|
+
| refreshListData | 刷新列表数据 | ^[Function]`() => void` |
|
|
415
|
+
| updateItemTraverse | 更新条目 | ^[Function]`(position: number, data?: QTListViewItem, traverse?: boolean) => void` |
|
|
416
|
+
| requestItemLayout | 条目刷新布局 | ^[Function]`(position: number) => void` |
|
|
417
|
+
| updateItemRange | 更新条目 | ^[Function]`(position: number, count: number, itemList: Array<QTListViewItem>) => void` |
|
|
418
|
+
| insertItemRange | 插入条目 | ^[Function]`(position: number, itemList: Array<QTListViewItem>) => void` |
|
|
419
|
+
| updateItemMatched | 更新条目 | ^[Function]`(params: QTNativeParams, data: QTListViewItem) => void` |
|
|
420
|
+
| updateItemMatchedByKey | 更新条目 | ^[Function]`(idKey: string, params: QTNativeParams, data: QTListViewItem) => void` |
|
|
421
|
+
| deleteItemRange | 删除条目 | ^[Function]`(position: number, count: number) => void` |
|
|
422
|
+
| setListData | 设置列表数据 | ^[Function]`(itemList: Array<QTListViewItem>) => void` |
|
|
423
|
+
| setListDataWithParams | 设置列表数据 | ^[Function]`(itemList: Array<QTListViewItem>, autoChangeVisible: boolean, useDiff: boolean) => void` |
|
|
424
|
+
| addListData | 添加数据 | ^[Function]`(itemList: Array<QTListViewItem>) => void` |
|
|
425
|
+
| addListDataWithParams | 添加数据 | ^[Function]`(itemList: Array<QTListViewItem>, deleteCount: number) => void` |
|
|
426
|
+
| destroy | 销毁 | ^[Function]`() => void` |
|
|
427
|
+
| recycle | 回收 | ^[Function]`() => void` |
|
|
428
|
+
| scrollToTop | 滚动到顶部 | ^[Function]`() => void` |
|
|
429
|
+
| scrollToFocus | 滚动到焦点 | ^[Function]`(position: number, scrollOffset: number, delay: number, target: string) => void` |
|
|
430
|
+
| prepareForRecycle | 准备回收 | ^[Function]`() => void` |
|
|
431
|
+
| setDisplay | 是否显示 | ^[Function]`(display: boolean) => void` |
|
|
432
|
+
| changeDisplayState | 改变显示状态 | ^[Function]`(display: boolean, autoDataState: boolean) => void` |
|
|
433
|
+
| notifySaveInstance | 请求保存状态 | ^[Function]`() => void` |
|
|
434
|
+
| updateItemProps | 更新条目属性 | ^[Function]`(name: string, position: number, dataToUpdate: QTNativeMap, updateView: boolean) => void` |
|
|
435
|
+
| dispatchItemFunction | 执行条目方法 | ^[Function]`(params: QTNativeArray) => void` |
|
|
436
|
+
| clearPostTask | 清空任务 | ^[Function]`() => void` |
|
|
437
|
+
| clearPostTaskByCate | 清空任务 | ^[Function]`(data: Array<number>) => void` |
|
|
438
|
+
| clearData | 清空数据 | ^[Function]`() => void` |
|
|
439
|
+
| pausePostTask | 暂停任务 | ^[Function]`() => void` |
|
|
440
|
+
| resumePostTask | 恢复任务 | ^[Function]`() => void` |
|
|
441
|
+
| requestLayoutManual | 手动刷新布局 | ^[Function]`() => void` |
|
|
442
|
+
| setSpanCount | 设置格子数量 | ^[Function]`(spanCount: number) => void` |
|
|
443
|
+
| searchReplaceItem | 请求替换条目 | ^[Function]`(id: string, item: QTListViewItem) => void` |
|
|
444
|
+
| setCustomStateEnableOnFocus | 设置自定义状态在焦点时是否可用 | ^[Function]`(id: string, params: Array<Array<string>>) => void` |
|
|
445
|
+
| setItemCustomState | 设置条目自定义状态 | ^[Function]`(position: number, state: string, on: boolean) => void` |
|
|
446
|
+
| dispatchItemFunctionWithPromise | 执行条目的方法 | ^[Function]`(position: number, targetName: string, functionTargetName: string, params: Array<QTNativeParams>) => Promise<QTNativeParams>` |
|
|
447
|
+
| getScrollOffset | 获取滚动的偏移量 | ^[Function]`() => Promise<QTPosition>` |
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: WebView
|
|
3
|
+
lang: zh-CN
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# WebView
|
|
7
|
+
|
|
8
|
+
:::demo ## 基础用法
|
|
9
|
+
|
|
10
|
+
component/web-view/basic
|
|
11
|
+
|
|
12
|
+
:::
|
|
13
|
+
|
|
14
|
+
## API
|
|
15
|
+
|
|
16
|
+
### Events
|
|
17
|
+
|
|
18
|
+
| Name | Description | Type |
|
|
19
|
+
| ----------------------- | ------------------------| ------------------------------------------------------------------- |
|
|
20
|
+
| onCanGoBack | 是否可以后退 | ^[Function]`(can: boolean) => void` |
|
|
21
|
+
| onCanGoForward | 是否可以前进 | ^[Function]`(can: boolean) => void` |
|
|
22
|
+
| onCanGoBackOrForward | 是否可以前进或后退 | ^[Function]`(can: boolean) => void` |
|
|
23
|
+
| onPageStarted | 页面加载开始 | ^[Function]`(url: string) => void` |
|
|
24
|
+
| onPageFinished | 页面加载结束 | ^[Function]`(url: string) => void` |
|
|
25
|
+
| onLoadResource | 页面加载资源 | ^[Function]`(url: string) => void` |
|
|
26
|
+
| onReceivedSslError | 接收到Ssl错误 | ^[Function]`(event: QTWebViewEvent) => void` |
|
|
27
|
+
| onReceivedError | 接收到错误 | ^[Function]`(errorCode: number, description: string, failingUrl: string) => void` |
|
|
28
|
+
| shouldOverrideUrlLoading| 是否对UrlLoading进行拦截 | ^[Function]`(url: string) => void` |
|
|
29
|
+
| onJs2Vue | js向vue发送事件 | ^[Function]`(value: string) => void` |
|
|
30
|
+
|
|
31
|
+
### Exposes
|
|
32
|
+
|
|
33
|
+
| Name | Description | Type |
|
|
34
|
+
| -------------------------------- | --------------------------- | -----------------------------------------------|
|
|
35
|
+
| loadUrl | [参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(url: string) => void` |
|
|
36
|
+
| evaluateJavascript |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: string) => Promise<string \| undefined \| null>` |
|
|
37
|
+
| canGoBack |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`() => void` |
|
|
38
|
+
| goBack |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`() => void` |
|
|
39
|
+
| canGoForward |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`() => void` |
|
|
40
|
+
| goForward |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`() => void` |
|
|
41
|
+
| canGoBackOrForward |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(steps: number) => void` |
|
|
42
|
+
| goBackOrForward |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(steps: number) => void` |
|
|
43
|
+
| onResume |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`() => void` |
|
|
44
|
+
| onPause |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`() => void` |
|
|
45
|
+
| pauseTimers |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`() => void` |
|
|
46
|
+
| resumeTimers |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`() => void` |
|
|
47
|
+
| destroy | [参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`() => void` |
|
|
48
|
+
| setJavaScriptEnabled |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
49
|
+
| setPluginState | [参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
50
|
+
| setJavaScriptCanOpenWindowsAutomatically |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
51
|
+
| setUseWideViewPort |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
52
|
+
| setLoadWithOverviewMode | [参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
53
|
+
| setSupportZoom |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
54
|
+
| setBuiltInZoomControls | [参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
55
|
+
| setDisplayZoomControls |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
56
|
+
| setAllowFileAccess |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
57
|
+
| setDomStorageEnabled |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
58
|
+
| setDatabaseEnabled |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
59
|
+
| setAppCacheEnabled |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
60
|
+
| setAppCachePath |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
61
|
+
| setMediaPlaybackRequiresUserGesture |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
62
|
+
| setStandardFontFamily |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: string) => void` |
|
|
63
|
+
| setFixedFontFamily |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: string) => void` |
|
|
64
|
+
| setSansSerifFontFamily |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: string) => void` |
|
|
65
|
+
| setSerifFontFamily |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: string) => void` |
|
|
66
|
+
| setCursiveFontFamily |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: string) => void` |
|
|
67
|
+
| setFantasyFontFamily |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: string) => void` |
|
|
68
|
+
| setTextZoom |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
69
|
+
| setMinimumFontSize |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
70
|
+
| setDefaultFontSize |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
71
|
+
| setLayoutAlgorithm |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
72
|
+
| setLoadsImagesAutomatically |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
73
|
+
| setDefaultTextEncodingName |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: string) => void` |
|
|
74
|
+
| setNeedInitialFocus |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
75
|
+
| setGeolocationEnabled |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
76
|
+
| setBlockNetworkLoads |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
77
|
+
| setSupportMultipleWindows |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
78
|
+
| setAppCacheMaxSize |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
79
|
+
| setRenderPriority |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
80
|
+
| setCacheMode |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
81
|
+
| setAllowContentAccess |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
82
|
+
| setEnableSmoothTransition |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
83
|
+
| setSaveFormData |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
84
|
+
| setSavePassword |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
85
|
+
| setTextSize | [参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
86
|
+
| setDefaultZoom |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
87
|
+
| setLightTouchEnabled |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
88
|
+
| setMinimumLogicalFontSize |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
89
|
+
| setDefaultFixedFontSize |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
90
|
+
| setBlockNetworkImage |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
91
|
+
| setAllowUniversalAccessFromFileURLs |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
92
|
+
| setAllowFileAccessFromFileURLs |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
93
|
+
| setDatabasePath |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: string) => void` |
|
|
94
|
+
| setGeolocationDatabasePath |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: string) => void` |
|
|
95
|
+
| setUserAgentString |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: string) => void` |
|
|
96
|
+
| setMixedContentMode |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
97
|
+
| setOffscreenPreRaster |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
98
|
+
| setSafeBrowsingEnabled |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
99
|
+
| setForceDark |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
100
|
+
| setDisabledActionModeMenuItems |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|