@10yun/cv-mobile-ui 0.5.53 → 0.5.55
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/build/parse-create.js +17 -5
- package/build/parse-pages-pkg.js +14 -5
- package/js-sdk/Sansnn-uQRCode/uqrcode.js +150 -75
- package/js-sdk/clipboard.min.js +9 -0
- package/js-sdk/gprint/encoding-indexes.js +47 -0
- package/js-sdk/gprint/encoding.js +3312 -0
- package/js-sdk/gprint/esc.js +548 -0
- package/js-sdk/gprint/tsc.js +222 -0
- package/js-sdk/ican-H5Api/ican-H5Api.js +68 -666
- package/other/api-set-tabbar.nvue +0 -3
- package/other/lime-painter/changelog.md +225 -0
- package/other/lime-painter/components/common/relation.js +150 -0
- package/other/lime-painter/components/l-painter/l-painter.vue +482 -0
- package/other/lime-painter/components/l-painter/nvue.js +203 -0
- package/other/lime-painter/components/l-painter/painter.js +1 -0
- package/other/lime-painter/components/l-painter/props.js +56 -0
- package/other/lime-painter/components/l-painter/single.js +1 -0
- package/other/lime-painter/components/l-painter/utils.js +382 -0
- package/other/lime-painter/components/l-painter-image/l-painter-image.vue +23 -0
- package/other/lime-painter/components/l-painter-qrcode/l-painter-qrcode.vue +22 -0
- package/other/lime-painter/components/l-painter-text/l-painter-text.vue +32 -0
- package/other/lime-painter/components/l-painter-view/l-painter-view.vue +28 -0
- package/other/lime-painter/components/lime-painter/lime-painter.vue +259 -0
- package/other/lime-painter/hybrid/html/index.html +117 -0
- package/other/lime-painter/hybrid/html/painter.js +1 -0
- package/other/lime-painter/hybrid/html/uni.webview.1.5.3.js +1 -0
- package/other/lime-painter/package.json +93 -0
- package/other/lime-painter/parser.js +388 -0
- package/other/lime-painter/readme.md +961 -0
- package/other/lime-painter2/README2.md +576 -0
- package/other/lime-painter2/changelog.md +225 -0
- package/other/lime-painter2/components/lime-painter/canvas.js +57 -0
- package/other/lime-painter2/components/lime-painter/draw.js +654 -0
- package/other/lime-painter2/components/lime-painter/draw2.js +709 -0
- package/other/lime-painter2/components/lime-painter/gradient.js +119 -0
- package/other/lime-painter2/components/lime-painter/index.vue +344 -0
- package/other/lime-painter2/components/lime-painter/index2.vue +197 -0
- package/other/lime-painter2/components/lime-painter/layout.js +374 -0
- package/other/lime-painter2/components/lime-painter/utils.js +420 -0
- package/other/lime-painter2/package.json +93 -0
- package/other/lime-painter2/readme.md +758 -0
- package/other/lime-painter2/test.md +45 -0
- package/other/mpvue-echarts/src/echarts.vue +116 -103
- package/other/mpvue-echarts/src/style.css +0 -6
- package/other/product.vue +45 -1
- package/other/qiun-data-charts/qiun-data-charts.vue +1618 -0
- package/other/u-parse-2019/components/wxParseAudio.vue +29 -0
- package/other/u-parse-2019/components/wxParseImg.vue +87 -0
- package/other/u-parse-2019/components/wxParseTemplate0.vue +105 -0
- package/other/u-parse-2019/components/wxParseTemplate1.vue +96 -0
- package/other/u-parse-2019/components/wxParseTemplate10.vue +95 -0
- package/other/u-parse-2019/components/wxParseTemplate11.vue +84 -0
- package/other/u-parse-2019/components/wxParseTemplate2.vue +95 -0
- package/other/u-parse-2019/components/wxParseTemplate3.vue +95 -0
- package/other/u-parse-2019/components/wxParseTemplate4.vue +95 -0
- package/other/u-parse-2019/components/wxParseTemplate5.vue +95 -0
- package/other/u-parse-2019/components/wxParseTemplate6.vue +95 -0
- package/other/u-parse-2019/components/wxParseTemplate7.vue +95 -0
- package/other/u-parse-2019/components/wxParseTemplate8.vue +95 -0
- package/other/u-parse-2019/components/wxParseTemplate9.vue +95 -0
- package/other/u-parse-2019/components/wxParseVideo.vue +15 -0
- package/other/u-parse-2019/libs/html2json.js +258 -0
- package/other/u-parse-2019/libs/htmlparser.js +163 -0
- package/other/u-parse-2019/libs/wxDiscode.js +195 -0
- package/other/u-parse-2019/readme.md +99 -0
- package/other/u-parse-2019/u-parse.css +240 -0
- package/other/u-parse-2019/u-parse.vue +114 -0
- package/other/u-parse2026/components/wxParseAudio.vue +29 -0
- package/other/u-parse2026/components/wxParseImg.vue +90 -0
- package/other/u-parse2026/components/wxParseTable.vue +51 -0
- package/other/u-parse2026/components/wxParseTemplate0.vue +93 -0
- package/other/u-parse2026/components/wxParseTemplate1.vue +92 -0
- package/other/u-parse2026/components/wxParseTemplate10.vue +82 -0
- package/other/u-parse2026/components/wxParseTemplate11.vue +79 -0
- package/other/u-parse2026/components/wxParseTemplate2.vue +92 -0
- package/other/u-parse2026/components/wxParseTemplate3.vue +92 -0
- package/other/u-parse2026/components/wxParseTemplate4.vue +92 -0
- package/other/u-parse2026/components/wxParseTemplate5.vue +92 -0
- package/other/u-parse2026/components/wxParseTemplate6.vue +92 -0
- package/other/u-parse2026/components/wxParseTemplate7.vue +92 -0
- package/other/u-parse2026/components/wxParseTemplate8.vue +92 -0
- package/other/u-parse2026/components/wxParseTemplate9.vue +82 -0
- package/other/u-parse2026/components/wxParseVideo.vue +15 -0
- package/other/u-parse2026/libs/html2json.js +258 -0
- package/other/u-parse2026/libs/htmlparser.js +163 -0
- package/other/u-parse2026/libs/wxDiscode.js +195 -0
- package/other/u-parse2026/readme.md +99 -0
- package/other/u-parse2026/u-parse.css +283 -0
- package/other/u-parse2026/u-parse.vue +114 -0
- package/other/uParse/components/wxParseVideo.vue +2 -1
- package/other/xt-parse/changelog.md +41 -0
- package/other/xt-parse/node/node.vue +752 -0
- package/other/xt-parse/package.json +129 -0
- package/other/xt-parse/parser.js +1461 -0
- package/other/xt-parse/props.js +49 -0
- package/other/xt-parse/readme.md +145 -0
- package/other/xt-parse/static/app-plus/u-parse/js/handler.js +1 -0
- package/other/xt-parse/static/app-plus/u-parse/js/handler2.js +224 -0
- package/other/xt-parse/static/app-plus/u-parse/js/uni.webview.min.js +1 -0
- package/other/xt-parse/static/app-plus/u-parse/js/uni.webview.min2.js +186 -0
- package/other/xt-parse/static/app-plus/u-parse/local.html +37 -0
- package/other/xt-parse/u-parse.vue +510 -0
- package/other/z-paging/changelog.md +52 -0
- package/other/z-paging/components/z-paging/components/z-paging-load-more.vue +182 -0
- package/other/z-paging/components/z-paging/components/z-paging-refresh.vue +214 -0
- package/other/z-paging/components/z-paging/config/index.js +3 -0
- package/other/z-paging/components/z-paging/css/z-paging-main.css +241 -0
- package/other/z-paging/components/z-paging/css/z-paging-static.css +50 -0
- package/other/z-paging/components/z-paging/i18n/en.json +23 -0
- package/other/z-paging/components/z-paging/i18n/index.js +8 -0
- package/other/z-paging/components/z-paging/i18n/zh-Hans.json +23 -0
- package/other/z-paging/components/z-paging/i18n/zh-Hant.json +23 -0
- package/other/z-paging/components/z-paging/js/hooks/useZPaging.js +25 -0
- package/other/z-paging/components/z-paging/js/hooks/useZPagingComp.js +25 -0
- package/other/z-paging/components/z-paging/js/modules/back-to-top.js +125 -0
- package/other/z-paging/components/z-paging/js/modules/chat-record-mode.js +149 -0
- package/other/z-paging/components/z-paging/js/modules/common-layout.js +152 -0
- package/other/z-paging/components/z-paging/js/modules/data-handle.js +736 -0
- package/other/z-paging/components/z-paging/js/modules/empty.js +144 -0
- package/other/z-paging/components/z-paging/js/modules/i18n.js +113 -0
- package/other/z-paging/components/z-paging/js/modules/load-more.js +374 -0
- package/other/z-paging/components/z-paging/js/modules/loading.js +95 -0
- package/other/z-paging/components/z-paging/js/modules/nvue.js +268 -0
- package/other/z-paging/components/z-paging/js/modules/refresher.js +831 -0
- package/other/z-paging/components/z-paging/js/modules/scroller.js +550 -0
- package/other/z-paging/components/z-paging/js/modules/virtual-list.js +555 -0
- package/other/z-paging/components/z-paging/js/z-paging-constant.js +19 -0
- package/other/z-paging/components/z-paging/js/z-paging-enum.js +45 -0
- package/other/z-paging/components/z-paging/js/z-paging-interceptor.js +97 -0
- package/other/z-paging/components/z-paging/js/z-paging-main.js +515 -0
- package/other/z-paging/components/z-paging/js/z-paging-mixin.js +22 -0
- package/other/z-paging/components/z-paging/js/z-paging-static.js +13 -0
- package/other/z-paging/components/z-paging/js/z-paging-utils.js +302 -0
- package/other/z-paging/components/z-paging/wxs/z-paging-renderjs.js +67 -0
- package/other/z-paging/components/z-paging/wxs/z-paging-wxs.wxs +382 -0
- package/other/z-paging/components/z-paging/z-paging.vue +538 -0
- package/other/z-paging/components/z-paging-cell/z-paging-cell.vue +47 -0
- package/other/z-paging/components/z-paging-empty-view/z-paging-empty-view.vue +209 -0
- package/other/z-paging/components/z-paging-swiper/z-paging-swiper.vue +176 -0
- package/other/z-paging/components/z-paging-swiper-item/z-paging-swiper-item.vue +171 -0
- package/other/z-paging/package.json +89 -0
- package/other/z-paging/readme.md +57 -0
- package/other/z-paging/types/comps/_common.d.ts +9 -0
- package/other/z-paging/types/comps/z-paging-cell.d.ts +29 -0
- package/other/z-paging/types/comps/z-paging-empty-view.d.ts +95 -0
- package/other/z-paging/types/comps/z-paging-swiper-item.d.ts +95 -0
- package/other/z-paging/types/comps/z-paging-swiper.d.ts +89 -0
- package/other/z-paging/types/comps/z-paging.d.ts +2083 -0
- package/other/z-paging/types/comps.d.ts +11 -0
- package/other/z-paging/types/index.d.ts +24 -0
- package/package.json +7 -7
- package/plugins/tui-validation.js +279 -0
- package/plugins/uni-async.js +28 -0
- package/ui-cv/components/cv-draw-gesture-lock/cv-draw-gesture-lock.vue +39 -1
- package/ui-cv/components/cv-draw-qrcode/cv-draw-qrcode.vue +18 -14
- package/ui-cv/components/cv-geo-region/mpvueCityPicker.vue +77 -1
- package/ui-cv/components/cv-lists-base/cv-lists-base.vue +2 -2
- package/ui-cv/components/cv-tab-lists/cv-tab-lists.vue +2 -2
- package/ui-fireui/components/u-icon/u-icon.vue +63 -1
- package/ui-sdks/qiun-data-charts/changelog.md +320 -0
- package/ui-sdks/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue +1618 -0
- package/ui-sdks/qiun-data-charts/components/qiun-error/qiun-error.vue +46 -0
- package/ui-sdks/qiun-data-charts/components/qiun-loading/loading1.vue +162 -0
- package/ui-sdks/qiun-data-charts/components/qiun-loading/loading2.vue +170 -0
- package/ui-sdks/qiun-data-charts/components/qiun-loading/loading3.vue +173 -0
- package/ui-sdks/qiun-data-charts/components/qiun-loading/loading4.vue +222 -0
- package/ui-sdks/qiun-data-charts/components/qiun-loading/loading5.vue +229 -0
- package/ui-sdks/qiun-data-charts/components/qiun-loading/qiun-loading.vue +36 -0
- package/ui-sdks/qiun-data-charts/js_sdk/u-charts/config-echarts.js +422 -0
- package/ui-sdks/qiun-data-charts/js_sdk/u-charts/config-ucharts.js +606 -0
- package/ui-sdks/qiun-data-charts/js_sdk/u-charts/readme.md +5 -0
- package/ui-sdks/qiun-data-charts/js_sdk/u-charts/u-charts.js +7706 -0
- package/ui-sdks/qiun-data-charts/js_sdk/u-charts/u-charts.min.js +18 -0
- package/ui-sdks/qiun-data-charts/license.md +201 -0
- package/ui-sdks/qiun-data-charts/package.json +80 -0
- package/ui-sdks/qiun-data-charts/readme.md +84 -0
- package/ui-sdks/qiun-data-charts/static/app-plus/echarts.min.js +23 -0
- package/ui-sdks/qiun-data-charts/static/h5/echarts.min.js +23 -0
- package/ui-sdks/tui-clipboard/tui-clipboard.js +53 -0
- package/uni-ui/lib/uni-badge/changelog.md +33 -0
- package/uni-ui/lib/uni-badge/package.json +107 -0
- package/uni-ui/lib/uni-badge/readme.md +8 -0
- package/uni-ui/lib/uni-badge/uni-badge.vue +87 -4
- package/uni-ui/lib/uni-breadcrumb/changelog.md +6 -0
- package/uni-ui/lib/uni-breadcrumb/package.json +104 -0
- package/uni-ui/lib/uni-breadcrumb/readme.md +66 -0
- package/uni-ui/lib/uni-breadcrumb/uni-breadcrumb.vue +8 -1
- package/uni-ui/lib/uni-breadcrumb-item/uni-breadcrumb-item.vue +38 -1
- package/uni-ui/lib/uni-calendar/calendar.js +0 -2
- package/uni-ui/lib/uni-calendar/changelog.md +30 -0
- package/uni-ui/lib/uni-calendar/package.json +105 -0
- package/uni-ui/lib/uni-calendar/readme.md +103 -0
- package/uni-ui/lib/uni-calendar/uni-calendar-item.vue +83 -1
- package/uni-ui/lib/uni-calendar/uni-calendar.vue +206 -8
- package/uni-ui/lib/uni-calendar/util.js +1 -1
- package/uni-ui/lib/uni-card/changelog.md +26 -0
- package/uni-ui/lib/uni-card/package.json +107 -0
- package/uni-ui/lib/uni-card/readme.md +10 -0
- package/uni-ui/lib/uni-card/uni-card.vue +127 -4
- package/uni-ui/lib/uni-col/uni-col.vue +2155 -2
- package/uni-ui/lib/uni-collapse/changelog.md +48 -0
- package/uni-ui/lib/uni-collapse/package.json +106 -0
- package/uni-ui/lib/uni-collapse/readme.md +11 -0
- package/uni-ui/lib/uni-collapse/uni-collapse.vue +13 -1
- package/uni-ui/lib/uni-collapse-item/uni-collapse-item.vue +127 -2
- package/uni-ui/lib/uni-combox/changelog.md +17 -0
- package/uni-ui/lib/uni-combox/package.json +107 -0
- package/uni-ui/lib/uni-combox/readme.md +10 -0
- package/uni-ui/lib/uni-combox/uni-combox.vue +145 -19
- package/uni-ui/lib/uni-countdown/changelog.md +30 -0
- package/uni-ui/lib/uni-countdown/package.json +105 -0
- package/uni-ui/lib/uni-countdown/readme.md +9 -0
- package/uni-ui/lib/uni-countdown/uni-countdown.vue +43 -16
- package/uni-ui/lib/uni-data-checkbox/changelog.md +51 -0
- package/uni-ui/lib/uni-data-checkbox/package.json +107 -0
- package/uni-ui/lib/uni-data-checkbox/readme.md +17 -0
- package/uni-ui/lib/uni-data-checkbox/uni-data-checkbox.vue +326 -5
- package/uni-ui/lib/uni-data-picker/changelog.md +81 -0
- package/uni-ui/lib/uni-data-picker/package.json +109 -0
- package/uni-ui/lib/uni-data-picker/readme.md +21 -0
- package/uni-ui/lib/uni-data-picker/uni-data-picker.uvue +380 -0
- package/uni-ui/lib/uni-data-picker/uni-data-picker.vue +52 -4
- package/uni-ui/lib/uni-data-pickerview/loading.uts +1 -0
- package/uni-ui/lib/uni-data-pickerview/uni-data-picker.js +150 -157
- package/uni-ui/lib/uni-data-pickerview/uni-data-picker.uts +693 -0
- package/uni-ui/lib/uni-data-pickerview/uni-data-pickerview.css +76 -0
- package/uni-ui/lib/uni-data-pickerview/uni-data-pickerview.uvue +69 -0
- package/uni-ui/lib/uni-data-pickerview/uni-data-pickerview.vue +163 -1
- package/uni-ui/lib/uni-data-select/changelog.md +51 -0
- package/uni-ui/lib/uni-data-select/package.json +106 -0
- package/uni-ui/lib/uni-data-select/readme.md +7 -0
- package/uni-ui/lib/uni-data-select/uni-data-select.vue +555 -45
- package/uni-ui/lib/uni-dateformat/changelog.md +10 -0
- package/uni-ui/lib/uni-dateformat/package.json +107 -0
- package/uni-ui/lib/uni-dateformat/readme.md +10 -0
- package/uni-ui/lib/uni-dateformat/uni-dateformat.vue +2 -0
- package/uni-ui/lib/uni-datetime-picker/calendar-item.vue +113 -1
- package/uni-ui/lib/uni-datetime-picker/calendar.vue +340 -20
- package/uni-ui/lib/uni-datetime-picker/changelog.md +177 -0
- package/uni-ui/lib/uni-datetime-picker/keypress.js +45 -0
- package/uni-ui/lib/uni-datetime-picker/package.json +107 -0
- package/uni-ui/lib/uni-datetime-picker/readme.md +20 -0
- package/uni-ui/lib/uni-datetime-picker/time-picker.vue +200 -8
- package/uni-ui/lib/uni-datetime-picker/uni-datetime-picker.vue +287 -9
- package/uni-ui/lib/uni-datetime-picker/util.js +102 -85
- package/uni-ui/lib/uni-drawer/changelog.md +13 -0
- package/uni-ui/lib/uni-drawer/package.json +106 -0
- package/uni-ui/lib/uni-drawer/readme.md +9 -0
- package/uni-ui/lib/uni-drawer/uni-drawer.vue +72 -2
- package/uni-ui/lib/uni-easyinput/changelog.md +121 -0
- package/uni-ui/lib/uni-easyinput/common.js +0 -2
- package/uni-ui/lib/uni-easyinput/package.json +107 -0
- package/uni-ui/lib/uni-easyinput/readme.md +10 -0
- package/uni-ui/lib/uni-easyinput/uni-easyinput.vue +247 -5
- package/uni-ui/lib/uni-fab/changelog.md +25 -0
- package/uni-ui/lib/uni-fab/package.json +107 -0
- package/uni-ui/lib/uni-fab/readme.md +8 -0
- package/uni-ui/lib/uni-fab/uni-fab.vue +255 -2
- package/uni-ui/lib/uni-fav/changelog.md +19 -0
- package/uni-ui/lib/uni-fav/package.json +106 -0
- package/uni-ui/lib/uni-fav/readme.md +9 -0
- package/uni-ui/lib/uni-fav/uni-fav.vue +45 -1
- package/uni-ui/lib/uni-file-picker/changelog.md +91 -0
- package/uni-ui/lib/uni-file-picker/choose-and-upload-file.js +67 -4
- package/uni-ui/lib/uni-file-picker/package.json +105 -0
- package/uni-ui/lib/uni-file-picker/readme.md +10 -0
- package/uni-ui/lib/uni-file-picker/uni-file-picker.vue +42 -22
- package/uni-ui/lib/uni-file-picker/upload-file.vue +152 -1
- package/uni-ui/lib/uni-file-picker/upload-image.vue +107 -5
- package/uni-ui/lib/uni-forms/changelog.md +100 -0
- package/uni-ui/lib/uni-forms/package.json +107 -0
- package/uni-ui/lib/uni-forms/readme.md +22 -0
- package/uni-ui/lib/uni-forms/uni-forms.vue +30 -3
- package/uni-ui/lib/uni-forms-item/uni-forms-item.vue +181 -6
- package/uni-ui/lib/uni-goods-nav/changelog.md +18 -0
- package/uni-ui/lib/uni-goods-nav/package.json +105 -0
- package/uni-ui/lib/uni-goods-nav/readme.md +9 -0
- package/uni-ui/lib/uni-goods-nav/uni-goods-nav.vue +124 -1
- package/uni-ui/lib/uni-grid/changelog.md +13 -0
- package/uni-ui/lib/uni-grid/package.json +106 -0
- package/uni-ui/lib/uni-grid/readme.md +10 -0
- package/uni-ui/lib/uni-grid/uni-grid.vue +36 -2
- package/uni-ui/lib/uni-grid-item/uni-grid-item.vue +57 -2
- package/uni-ui/lib/uni-group/changelog.md +16 -0
- package/uni-ui/lib/uni-group/package.json +106 -0
- package/uni-ui/lib/uni-group/readme.md +8 -0
- package/uni-ui/lib/uni-group/uni-group.vue +50 -1
- package/uni-ui/lib/uni-icons/changelog.md +22 -0
- package/uni-ui/lib/uni-icons/package.json +77 -8
- package/uni-ui/lib/uni-icons/readme.md +0 -1
- package/uni-ui/lib/uni-icons/uni-icons.uvue +91 -0
- package/uni-ui/lib/uni-icons/uni-icons.vue +37 -13
- package/uni-ui/lib/uni-icons/uniicons.css +32 -31
- package/uni-ui/lib/uni-icons/uniicons.ttf +0 -0
- package/uni-ui/lib/uni-icons/uniicons_file.ts +664 -0
- package/uni-ui/lib/uni-icons/uniicons_file_vue.js +649 -0
- package/uni-ui/lib/uni-indexed-list/changelog.md +19 -0
- package/uni-ui/lib/uni-indexed-list/package.json +107 -0
- package/uni-ui/lib/uni-indexed-list/readme.md +10 -0
- package/uni-ui/lib/uni-indexed-list/uni-indexed-list-item.vue +90 -2
- package/uni-ui/lib/uni-indexed-list/uni-indexed-list.vue +91 -3
- package/uni-ui/lib/uni-link/changelog.md +17 -0
- package/uni-ui/lib/uni-link/package.json +106 -0
- package/uni-ui/lib/uni-link/readme.md +10 -0
- package/uni-ui/lib/uni-link/uni-link.vue +3 -0
- package/uni-ui/lib/uni-list/changelog.md +52 -0
- package/uni-ui/lib/uni-list/package.json +108 -0
- package/uni-ui/lib/uni-list/readme.md +44 -0
- package/uni-ui/lib/uni-list/uni-list.vue +44 -1
- package/uni-ui/lib/uni-list/uni-refresh.vue +2 -0
- package/uni-ui/lib/uni-list/uni-refresh.wxs +1 -1
- package/uni-ui/lib/uni-list-ad/uni-list-ad.vue +33 -1
- package/uni-ui/lib/uni-list-chat/uni-list-chat.vue +265 -1
- package/uni-ui/lib/uni-list-item/uni-list-item.vue +185 -1
- package/uni-ui/lib/uni-load-more/changelog.md +27 -0
- package/uni-ui/lib/uni-load-more/package.json +105 -0
- package/uni-ui/lib/uni-load-more/readme.md +12 -0
- package/uni-ui/lib/uni-load-more/uni-load-more.vue +252 -1
- package/uni-ui/lib/uni-nav-bar/changelog.md +64 -0
- package/uni-ui/lib/uni-nav-bar/package.json +106 -0
- package/uni-ui/lib/uni-nav-bar/readme.md +13 -0
- package/uni-ui/lib/uni-nav-bar/uni-nav-bar.vue +199 -5
- package/uni-ui/lib/uni-nav-bar/uni-status-bar.vue +11 -1
- package/uni-ui/lib/uni-notice-bar/changelog.md +22 -0
- package/uni-ui/lib/uni-notice-bar/package.json +107 -0
- package/uni-ui/lib/uni-notice-bar/readme.md +11 -0
- package/uni-ui/lib/uni-notice-bar/uni-notice-bar.vue +136 -8
- package/uni-ui/lib/uni-number-box/changelog.md +39 -0
- package/uni-ui/lib/uni-number-box/package.json +104 -0
- package/uni-ui/lib/uni-number-box/readme.md +11 -0
- package/uni-ui/lib/uni-number-box/uni-number-box.vue +73 -4
- package/uni-ui/lib/uni-pagination/changelog.md +27 -0
- package/uni-ui/lib/uni-pagination/package.json +106 -0
- package/uni-ui/lib/uni-pagination/readme.md +10 -0
- package/uni-ui/lib/uni-pagination/uni-pagination.vue +157 -1
- package/uni-ui/lib/uni-popup/changelog.md +102 -0
- package/uni-ui/lib/uni-popup/package.json +107 -0
- package/uni-ui/lib/uni-popup/readme.md +15 -0
- package/uni-ui/lib/uni-popup/uni-popup.uvue +90 -0
- package/uni-ui/lib/uni-popup/uni-popup.vue +108 -15
- package/uni-ui/lib/uni-popup-dialog/uni-popup-dialog.vue +167 -11
- package/uni-ui/lib/uni-popup-message/uni-popup-message.vue +70 -1
- package/uni-ui/lib/uni-popup-share/uni-popup-share.vue +87 -6
- package/uni-ui/lib/uni-rate/changelog.md +27 -0
- package/uni-ui/lib/uni-rate/package.json +106 -0
- package/uni-ui/lib/uni-rate/readme.md +11 -0
- package/uni-ui/lib/uni-rate/uni-rate.vue +64 -29
- package/uni-ui/lib/uni-row/changelog.md +10 -0
- package/uni-ui/lib/uni-row/package.json +106 -0
- package/uni-ui/lib/uni-row/readme.md +9 -0
- package/uni-ui/lib/uni-row/uni-row.vue +66 -1
- package/uni-ui/lib/uni-row/uni-row2.vue +144 -0
- package/uni-ui/lib/uni-scss/package.json +56 -39
- package/uni-ui/lib/uni-scss/readme.md +0 -1
- package/uni-ui/lib/uni-search-bar/changelog.md +47 -0
- package/uni-ui/lib/uni-search-bar/package.json +106 -0
- package/uni-ui/lib/uni-search-bar/readme.md +12 -0
- package/uni-ui/lib/uni-search-bar/uni-search-bar.vue +85 -4
- package/uni-ui/lib/uni-section/changelog.md +2 -0
- package/uni-ui/lib/uni-section/package.json +104 -0
- package/uni-ui/lib/uni-section/readme.md +7 -0
- package/uni-ui/lib/uni-section/uni-section.vue +61 -1
- package/uni-ui/lib/uni-segmented-control/changelog.md +15 -0
- package/uni-ui/lib/uni-segmented-control/package.json +106 -0
- package/uni-ui/lib/uni-segmented-control/readme.md +11 -0
- package/uni-ui/lib/uni-segmented-control/uni-segmented-control.vue +67 -5
- package/uni-ui/lib/uni-status-bar/uni-status-bar.vue +3 -1
- package/uni-ui/lib/uni-steps/changelog.md +18 -0
- package/uni-ui/lib/uni-steps/package.json +106 -0
- package/uni-ui/lib/uni-steps/readme.md +11 -0
- package/uni-ui/lib/uni-steps/uni-steps.vue +201 -7
- package/uni-ui/lib/uni-swipe-action/changelog.md +60 -0
- package/uni-ui/lib/uni-swipe-action/package.json +113 -0
- package/uni-ui/lib/uni-swipe-action/readme.md +10 -0
- package/uni-ui/lib/uni-swipe-action/uni-swipe-action.vue +60 -1
- package/uni-ui/lib/uni-swipe-action-item/bindingx.js +286 -282
- package/uni-ui/lib/uni-swipe-action-item/mpwxs.js +1 -1
- package/uni-ui/lib/uni-swipe-action-item/render.js +21 -14
- package/uni-ui/lib/uni-swipe-action-item/uni-swipe-action-item.vue +139 -18
- package/uni-ui/lib/uni-swipe-action-item/wx.wxs +10 -2
- package/uni-ui/lib/uni-swiper-dot/changelog.md +12 -0
- package/uni-ui/lib/uni-swiper-dot/package.json +106 -0
- package/uni-ui/lib/uni-swiper-dot/readme.md +10 -0
- package/uni-ui/lib/uni-swiper-dot/uni-swiper-dot.vue +98 -2
- package/uni-ui/lib/uni-table/changelog.md +35 -0
- package/uni-ui/lib/uni-table/i18n/en.json +9 -0
- package/uni-ui/lib/uni-table/i18n/es.json +9 -0
- package/uni-ui/lib/uni-table/i18n/fr.json +9 -0
- package/uni-ui/lib/uni-table/i18n/index.js +12 -0
- package/uni-ui/lib/uni-table/i18n/zh-Hans.json +9 -0
- package/uni-ui/lib/uni-table/i18n/zh-Hant.json +9 -0
- package/uni-ui/lib/uni-table/package.json +106 -0
- package/uni-ui/lib/uni-table/readme.md +11 -0
- package/uni-ui/lib/uni-table/uni-table.vue +162 -1
- package/uni-ui/lib/uni-tag/changelog.md +25 -0
- package/uni-ui/lib/uni-tag/package.json +106 -0
- package/uni-ui/lib/uni-tag/readme.md +11 -0
- package/uni-ui/lib/uni-tag/uni-tag.vue +111 -3
- package/uni-ui/lib/uni-tbody/uni-tbody.vue +1 -1
- package/uni-ui/lib/uni-td/uni-td.vue +19 -1
- package/uni-ui/lib/uni-th/filter-dropdown.vue +224 -2
- package/uni-ui/lib/uni-th/uni-th.vue +82 -1
- package/uni-ui/lib/uni-thead/uni-thead.vue +53 -2
- package/uni-ui/lib/uni-title/changelog.md +10 -0
- package/uni-ui/lib/uni-title/package.json +107 -0
- package/uni-ui/lib/uni-title/readme.md +12 -0
- package/uni-ui/lib/uni-title/uni-title.vue +1 -1
- package/uni-ui/lib/uni-tooltip/changelog.md +16 -0
- package/uni-ui/lib/uni-tooltip/package.json +104 -0
- package/uni-ui/lib/uni-tooltip/readme.md +7 -0
- package/uni-ui/lib/uni-tooltip/uni-tooltip.vue +1 -1
- package/uni-ui/lib/uni-tr/table-checkbox.vue +85 -1
- package/uni-ui/lib/uni-tr/uni-tr.vue +45 -3
- package/uni-ui/lib/uni-transition/changelog.md +31 -0
- package/uni-ui/lib/uni-transition/package.json +112 -0
- package/uni-ui/lib/uni-transition/readme.md +10 -0
- package/uni-ui/lib/uni-transition/uni-transition.vue +36 -32
- package/uni-ui/lib/uni-ui/changelog.md +639 -0
- package/uni-ui/lib/uni-ui/package.json +148 -0
- package/uni-ui/lib/uni-ui/readme.md +247 -0
- package/uni-ui/lib/uni-ui/uni-ui.vue +7 -0
- package/uni-ui/package.json +1 -1
- package/uview-plus/components/u-action-sheet/u-action-sheet.vue +56 -1
- package/uview-plus/components/u-action-sheet-data/u-action-sheet-data.vue +10 -1
- package/uview-plus/components/u-agreement/u-agreement.vue +14 -3
- package/uview-plus/components/u-album/u-album.vue +29 -1
- package/uview-plus/components/u-alert/u-alert.vue +96 -1
- package/uview-plus/components/u-avatar/u-avatar.vue +21 -1
- package/uview-plus/components/u-avatar-group/u-avatar-group.vue +28 -1
- package/uview-plus/components/u-back-top/u-back-top.vue +16 -1
- package/uview-plus/components/u-badge/u-badge.vue +57 -1
- package/uview-plus/components/u-box/u-box.vue +101 -3
- package/uview-plus/components/u-button/u-button.vue +196 -3
- package/uview-plus/components/u-calendar/header.vue +59 -3
- package/uview-plus/components/u-calendar/month.vue +1 -3
- package/uview-plus/components/u-calendar/u-calendar.vue +3 -1
- package/uview-plus/components/u-calendar-wu/u-calendar-wu.vue +196 -1
- package/uview-plus/components/u-car-keyboard/u-car-keyboard.vue +70 -1
- package/uview-plus/components/u-card/u-card.vue +34 -1
- package/uview-plus/components/u-cascader/u-cascader.vue +16 -1
- package/uview-plus/components/u-cate-tab/u-cate-tab.vue +387 -3
- package/uview-plus/components/u-cell/u-cell.vue +113 -1
- package/uview-plus/components/u-cell-group/u-cell-group.vue +14 -1
- package/uview-plus/components/u-checkbox/u-checkbox.vue +77 -1
- package/uview-plus/components/u-checkbox-group/u-checkbox-group.vue +12 -1
- package/uview-plus/components/u-choose/u-choose.vue +15 -3
- package/uview-plus/components/u-circle-progress/u-circle-progress.vue +69 -1
- package/{ui-fireui copy/components/u-circular-progress/u-circular-progress.vue → uview-plus/components/u-circular-progress/u-circular-progress.vue} +1 -1
- package/uview-plus/components/u-city-locate/u-city-locate.vue +161 -1
- package/uview-plus/components/u-code-input/u-code-input.vue +68 -1
- package/uview-plus/components/u-col/u-col.vue +50 -1
- package/uview-plus/components/u-collapse-item/u-collapse-item.vue +10 -1
- package/uview-plus/components/u-color-picker/u-color-picker.vue +260 -1
- package/uview-plus/components/u-column-notice/u-column-notice.vue +37 -1
- package/uview-plus/components/u-count-down/u-count-down.vue +5 -1
- package/uview-plus/components/u-count-to/u-count-to.vue +6 -1
- package/uview-plus/components/u-coupon/u-coupon.vue +214 -1
- package/uview-plus/components/u-cropper/u-cropper.vue +1319 -1
- package/uview-plus/components/u-datetime-picker/u-datetime-picker.vue +26 -1
- package/uview-plus/components/u-divider/u-divider.vue +17 -1
- package/uview-plus/components/u-dragsort/u-dragsort.vue +40 -1
- package/uview-plus/components/u-dropdown/u-dropdown.vue +66 -1
- package/uview-plus/components/u-dropdown-item/u-dropdown-item.vue +3 -1
- package/{ui-fireui → uview-plus}/components/u-dropdown-list/u-dropdown-list.vue +1 -1
- package/uview-plus/components/u-empty/u-empty.vue +43 -32
- package/{ui-fireui copy/components/u-fab/u-fab.vue → uview-plus/components/u-fab/u-fab.vue} +1 -1
- package/uview-plus/components/u-float-button/u-float-button.vue +15 -1
- package/{ui-fireui → uview-plus}/components/u-footer/u-footer.vue +1 -1
- package/uview-plus/components/u-form-base/form.js +22 -0
- package/uview-plus/components/u-form-base/props.js +47 -0
- package/uview-plus/components/u-form-base/u-form.vue +243 -0
- package/uview-plus/components/u-form-item/u-form-item.vue +82 -1
- package/uview-plus/components/u-goods-sku/u-goods-sku.vue +100 -1
- package/uview-plus/components/u-grid/u-grid.vue +0 -2
- package/uview-plus/components/u-grid-item/u-grid-item.vue +30 -1
- package/uview-plus/components/u-icon/u-icon.vue +63 -1
- package/uview-plus/components/u-image/u-image.vue +25 -1
- package/{ui-fireui → uview-plus}/components/u-image-cropper/u-image-cropper.vue +1 -1
- package/{ui-fireui copy/components/u-image-group/u-image-group.vue → uview-plus/components/u-image-group/u-image-group.vue} +1 -1
- package/uview-plus/components/u-index-anchor/u-index-anchor.vue +22 -1
- package/uview-plus/components/u-index-list/u-index-list.vue +51 -1
- package/uview-plus/components/u-input/u-input.vue +65 -1
- package/uview-plus/components/u-keyboard/u-keyboard.vue +26 -1
- package/uview-plus/components/u-lazy-load/u-lazy-load.vue +12 -1
- package/uview-plus/components/u-line/u-line.vue +5 -1
- package/uview-plus/components/u-line-progress/u-line-progress.vue +38 -1
- package/uview-plus/components/u-link/u-link.vue +11 -1
- package/uview-plus/components/u-list/u-list.vue +6 -1
- package/uview-plus/components/u-list-item/u-list-item.vue +2 -1
- package/uview-plus/components/u-loading-icon/u-loading-icon.vue +138 -1
- package/uview-plus/components/u-loading-page/u-loading-page.vue +33 -1
- package/uview-plus/components/u-loadmore/u-loadmore.vue +29 -1
- package/uview-plus/components/u-markdown/u-markdown.vue +188 -1
- package/uview-plus/components/u-message-input/u-message-input.vue +115 -1
- package/uview-plus/components/u-modal/u-modal.vue +65 -1
- package/uview-plus/components/u-navbar/u-navbar.vue +52 -1
- package/uview-plus/components/u-navbar-mini/u-navbar-mini.vue +34 -1
- package/uview-plus/components/u-no-network/u-no-network.vue +38 -1
- package/uview-plus/components/u-notice-bar/u-notice-bar.vue +5 -1
- package/uview-plus/components/u-notify/u-notify.vue +28 -1
- package/uview-plus/components/u-number-box/u-number-box.vue +60 -2
- package/uview-plus/components/u-number-keyboard/u-number-keyboard.vue +45 -1
- package/uview-plus/components/u-overlay/u-overlay.vue +8 -1
- package/uview-plus/components/u-pagination/u-pagination.vue +255 -1
- package/uview-plus/components/u-parse/node/node.vue +319 -129
- package/uview-plus/components/u-pdf-reader/u-pdf-reader.vue +2 -1
- package/uview-plus/components/u-picker/u-picker.vue +58 -1
- package/uview-plus/components/u-picker-data/u-picker-data.vue +11 -1
- package/uview-plus/components/u-popover/u-popover.vue +8 -1
- package/uview-plus/components/u-popup/u-popup.vue +87 -1
- package/uview-plus/components/u-popup-wu/u-popup-wu.vue +2 -2
- package/uview-plus/components/u-poster/u-poster.vue +22 -1
- package/uview-plus/components/u-pull-refresh/u-pull-refresh.vue +51 -1
- package/uview-plus/components/u-qrcode/u-qrcode.vue +32 -1
- package/uview-plus/components/u-radio/u-radio.vue +77 -1
- package/uview-plus/components/u-radio-group/u-radio-group.vue +15 -1
- package/uview-plus/components/u-rate/u-rate.vue +32 -1
- package/uview-plus/components/u-read-more/u-read-more.vue +23 -1
- package/uview-plus/components/u-row/u-row.vue +6 -1
- package/uview-plus/components/u-row-notice/u-row-notice.vue +50 -1
- package/uview-plus/components/u-safe-bottom/u-safe-bottom.vue +5 -1
- package/uview-plus/components/u-scroll-list/u-scroll-list.vue +35 -1
- package/uview-plus/components/u-search/u-search.vue +87 -1
- package/uview-plus/components/u-select/u-select.vue +51 -1
- package/uview-plus/components/u-short-video/u-short-video.vue +118 -1
- package/uview-plus/components/u-signature/u-signature.vue +71 -1
- package/uview-plus/components/u-skeleton/u-skeleton.vue +52 -1
- package/uview-plus/components/u-sku-wu/u-sku-wu.vue +271 -1
- package/uview-plus/components/u-slider/nvue.js +165 -178
- package/uview-plus/components/u-slider/u-slider.vue +69 -1
- package/uview-plus/components/u-status-bar/u-status-bar.vue +6 -1
- package/uview-plus/components/u-steps/u-steps.vue +20 -1
- package/uview-plus/components/u-steps-item/u-steps-item.vue +112 -1
- package/uview-plus/components/u-sticky/u-sticky.vue +6 -1
- package/uview-plus/components/u-subsection/u-subsection.vue +101 -1
- package/uview-plus/components/u-swipe-action-item/u-swipe-action-item.vue +51 -1
- package/uview-plus/components/u-swiper/u-swiper.vue +50 -1
- package/uview-plus/components/u-swiper-indicator/u-swiper-indicator.vue +26 -1
- package/uview-plus/components/u-switch/u-switch.vue +47 -1
- package/uview-plus/components/u-tabbar/u-tabbar.vue +29 -1
- package/uview-plus/components/u-tabbar-item/u-tabbar-item.vue +59 -1
- package/uview-plus/components/u-table2/tableRow.vue +361 -1
- package/uview-plus/components/u-table2/u-table2.vue +763 -1
- package/uview-plus/components/u-tabs/u-tabs.vue +62 -1
- package/uview-plus/components/u-tag/u-tag.vue +169 -1
- package/uview-plus/components/u-td/u-td.vue +14 -1
- package/uview-plus/components/u-text/u-text.vue +50 -1
- package/uview-plus/components/u-textarea/u-textarea.vue +35 -1
- package/uview-plus/components/u-th/u-th.vue +13 -1
- package/uview-plus/components/u-title/u-title.vue +10 -3
- package/uview-plus/components/u-toast/u-toast.vue +67 -1
- package/uview-plus/components/u-toolbar/u-toolbar.vue +34 -1
- package/uview-plus/components/u-tooltip/u-tooltip.vue +65 -1
- package/uview-plus/components/u-tr/u-tr.vue +6 -1
- package/uview-plus/components/u-transition/u-transition.vue +98 -1
- package/uview-plus/components/u-upload/u-upload.vue +176 -1
- package/uview-plus/components/u-view/u-view.vue +2 -1
- package/uview-plus/components/u-virtual-list/u-virtual-list.vue +16 -1
- package/uview-plus/components/u-waterfall/u-waterfall.vue +28 -1
- package/uview-plus/libs/css/color2.scss +32 -0
- package/uview-plus/libs/css/variable2.scss +111 -0
- package/{plugins → uview-plus/libs/ctocode}/MessageTip.js +6 -6
- package/uview-plus/libs/ctocode/wait.js +47 -0
- package/uview-plus/libs/mixin/openType2.js +60 -0
- package/uview-plus/libs/util/route2.js +126 -0
- package/other/style.css +0 -46
- package/ui-cv/components/cv-draw-gesture-lock/style.css +0 -39
- package/ui-cv/components/cv-geo-region/style.css +0 -77
- package/ui-fireui/components/u-circular-progress/u-circular-progress.vue +0 -269
- package/ui-fireui/components/u-countdown/u-countdown.vue +0 -301
- package/ui-fireui/components/u-fab/u-fab.vue +0 -284
- package/ui-fireui/components/u-icon/style.css +0 -63
- package/ui-fireui/components/u-image-group/u-image-group.vue +0 -149
- package/ui-fireui copy/components/u-action-sheet/u-action-sheet.vue +0 -202
- package/ui-fireui copy/components/u-alert/u-alert.vue +0 -141
- package/ui-fireui copy/components/u-badge/u-badge.vue +0 -158
- package/ui-fireui copy/components/u-bottom-navigation/u-bottom-navigation.vue +0 -391
- package/ui-fireui copy/components/u-bottom-popup/u-bottom-popup.vue +0 -101
- package/ui-fireui copy/components/u-bubble-popup/u-bubble-popup.vue +0 -240
- package/ui-fireui copy/components/u-button/u-button.vue +0 -424
- package/ui-fireui copy/components/u-button/u-button2.vue +0 -553
- package/ui-fireui copy/components/u-calendar/u-calendar.js +0 -915
- package/ui-fireui copy/components/u-calendar/u-calendar.vue +0 -868
- package/ui-fireui copy/components/u-calendar/u-calendar2.vue +0 -801
- package/ui-fireui copy/components/u-card/u-card.vue +0 -231
- package/ui-fireui copy/components/u-cascade-selection/u-cascade-selection.vue +0 -538
- package/ui-fireui copy/components/u-collapse/u-collapse.vue +0 -179
- package/ui-fireui copy/components/u-datetime/u-datetime.vue +0 -570
- package/ui-fireui copy/components/u-divider/u-divider.vue +0 -118
- package/ui-fireui copy/components/u-drawer/u-drawer.vue +0 -103
- package/ui-fireui copy/components/u-dropdown-list/u-dropdown-list.vue +0 -75
- package/ui-fireui copy/components/u-footer/u-footer.vue +0 -135
- package/ui-fireui copy/components/u-grid/u-grid.vue +0 -50
- package/ui-fireui copy/components/u-grid-item/u-grid-item.vue +0 -142
- package/ui-fireui copy/components/u-icon/icons.js +0 -214
- package/ui-fireui copy/components/u-icon/props.js +0 -92
- package/ui-fireui copy/components/u-icon/style.css +0 -63
- package/ui-fireui copy/components/u-icon/style.scss +0 -1066
- package/ui-fireui copy/components/u-icon/u-icon.vue +0 -117
- package/ui-fireui copy/components/u-icon/u-icon2.vue +0 -149
- package/ui-fireui copy/components/u-icon/util.js +0 -68
- package/ui-fireui copy/components/u-image-cropper/u-image-cropper.vue +0 -1058
- package/ui-fireui copy/components/u-keyboard/u-keyboard.vue +0 -251
- package/ui-fireui copy/components/u-keyboard-input/u-keyboard-input.vue +0 -78
- package/ui-fireui copy/components/u-list-cell/u-list-cell.vue +0 -178
- package/ui-fireui copy/components/u-list-view/u-list-view.vue +0 -87
- package/ui-fireui copy/components/u-loading/u-loading.vue +0 -78
- package/ui-fireui copy/components/u-loadmore/u-loadmore.vue +0 -163
- package/ui-fireui copy/components/u-modal/u-modal.vue +0 -392
- package/ui-fireui copy/components/u-navigation-bar/u-navigation-bar.vue +0 -181
- package/ui-fireui copy/components/u-no-data/u-no-data.vue +0 -116
- package/ui-fireui copy/components/u-nomore/u-nomore.vue +0 -116
- package/ui-fireui copy/components/u-numberbox/u-numberbox.vue +0 -234
- package/ui-fireui copy/components/u-numberbox-border/u-numberbox-border.vue +0 -232
- package/ui-fireui copy/components/u-picture-cropper/u-picture-cropper.vue +0 -682
- package/ui-fireui copy/components/u-picture-cropper/u-picture-cropper.wxs +0 -582
- package/ui-fireui copy/components/u-round-progress/u-round-progress.vue +0 -306
- package/ui-fireui copy/components/u-scroll-top/u-scroll-top.vue +0 -189
- package/ui-fireui copy/components/u-share-model/u-share-model.vue +0 -181
- package/ui-fireui copy/components/u-skeleton/u-skeleton.vue +0 -248
- package/ui-fireui copy/components/u-steps/u-steps.vue +0 -214
- package/ui-fireui copy/components/u-sticky/u-sticky.vue +0 -155
- package/ui-fireui copy/components/u-sticky-wxs/u-sticky-wxs.vue +0 -133
- package/ui-fireui copy/components/u-sticky-wxs/u-sticky.wxs +0 -46
- package/ui-fireui copy/components/u-swipe-action/u-swipe-action.vue +0 -301
- package/ui-fireui copy/components/u-tabbar/u-tabbar.vue +0 -279
- package/ui-fireui copy/components/u-tabs/u-tabs.vue +0 -284
- package/ui-fireui copy/components/u-tabs2/u-tabs2.vue +0 -284
- package/ui-fireui copy/components/u-tag/u-tag.vue +0 -362
- package/ui-fireui copy/components/u-time-axis/u-time-axis.vue +0 -36
- package/ui-fireui copy/components/u-timeaxis-item/u-timeaxis-item.vue +0 -48
- package/ui-fireui copy/components/u-tips/u-tips.vue +0 -161
- package/ui-fireui copy/components/u-toast/u-toast.vue +0 -117
- package/ui-fireui copy/components/u-top-dropdown/u-top-dropdown.vue +0 -129
- package/ui-fireui copy/components/u-upload/u-upload.vue +0 -446
- package/ui-fireui copy/components/u-upload2/u-upload.vue +0 -464
- package/ui-fireui copy/components/u-uploadsamll/u-uploadsamll.vue +0 -472
- package/ui-fireui copy/css/thorui.css +0 -589
- package/ui-fireui copy/index.css +0 -1483
- package/ui-fireui copy/libs/fui-color-analysis/fui-color-analysis.js +0 -1
- package/ui-fireui copy/libs/fui-zh-pinyin/fui-zh-pinyin.js +0 -1
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/bridge/bridge-weex.js +0 -241
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-2d/FillStyleLinearGradient.js +0 -18
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-2d/FillStylePattern.js +0 -8
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-2d/FillStyleRadialGradient.js +0 -17
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-2d/RenderingContext.js +0 -666
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/ActiveInfo.js +0 -11
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/Buffer.js +0 -21
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/Framebuffer.js +0 -21
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/GLenum.js +0 -298
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/GLmethod.js +0 -142
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/GLtype.js +0 -23
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/Program.js +0 -21
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/Renderbuffer.js +0 -21
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/RenderingContext.js +0 -1191
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/Shader.js +0 -22
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/ShaderPrecisionFormat.js +0 -11
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/Texture.js +0 -22
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/UniformLocation.js +0 -22
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/classUtils.js +0 -3
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/env/canvas.js +0 -74
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/env/image.js +0 -96
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/env/tool.js +0 -24
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/index.js +0 -47
- package/ui-fireui copy/nvue/u-circular-progress/u-circular-progress.nvue +0 -203
- package/ui-fireui copy/nvue/u-icon/icons.js +0 -188
- package/ui-fireui copy/nvue/u-icon/u-icon.vue +0 -78
- package/uni-ui/lib/uni-badge/style.css +0 -81
- package/uni-ui/lib/uni-badge/style.scss +0 -106
- package/uni-ui/lib/uni-breadcrumb/style.css +0 -3
- package/uni-ui/lib/uni-breadcrumb/style.scss +0 -4
- package/uni-ui/lib/uni-breadcrumb-item/style.css +0 -30
- package/uni-ui/lib/uni-breadcrumb-item/style.scss +0 -40
- package/uni-ui/lib/uni-calendar/style.css +0 -167
- package/uni-ui/lib/uni-calendar/style.scss +0 -200
- package/uni-ui/lib/uni-card/style.css +0 -115
- package/uni-ui/lib/uni-card/style.scss +0 -161
- package/uni-ui/lib/uni-col/style.css +0 -2145
- package/uni-ui/lib/uni-col/style.scss +0 -112
- package/uni-ui/lib/uni-collapse/style.css +0 -11
- package/uni-ui/lib/uni-collapse/style.scss +0 -12
- package/uni-ui/lib/uni-collapse-item/style.css +0 -120
- package/uni-ui/lib/uni-collapse-item/style.scss +0 -143
- package/uni-ui/lib/uni-combox/style.css +0 -114
- package/uni-ui/lib/uni-combox/style.scss +0 -133
- package/uni-ui/lib/uni-countdown/style.css +0 -16
- package/uni-ui/lib/uni-countdown/style.scss +0 -21
- package/uni-ui/lib/uni-data-checkbox/style.css +0 -302
- package/uni-ui/lib/uni-data-checkbox/style.scss +0 -366
- package/uni-ui/lib/uni-data-pickerview/style.css +0 -134
- package/uni-ui/lib/uni-data-pickerview/style.scss +0 -154
- package/uni-ui/lib/uni-data-select/style.css +0 -181
- package/uni-ui/lib/uni-data-select/style.scss +0 -213
- package/uni-ui/lib/uni-datetime-picker/style.css +0 -188
- package/uni-ui/lib/uni-datetime-picker/style.scss +0 -218
- package/uni-ui/lib/uni-drawer/style.css +0 -63
- package/uni-ui/lib/uni-drawer/style.scss +0 -77
- package/uni-ui/lib/uni-easyinput/style.css +0 -126
- package/uni-ui/lib/uni-easyinput/style.scss +0 -155
- package/uni-ui/lib/uni-fab/style.css +0 -185
- package/uni-ui/lib/uni-fab/style.scss +0 -259
- package/uni-ui/lib/uni-fav/style.css +0 -39
- package/uni-ui/lib/uni-fav/style.scss +0 -45
- package/uni-ui/lib/uni-file-picker/style.css +0 -97
- package/uni-ui/lib/uni-file-picker/style.scss +0 -110
- package/uni-ui/lib/uni-forms-item/style.css +0 -133
- package/uni-ui/lib/uni-goods-nav/style.css +0 -100
- package/uni-ui/lib/uni-goods-nav/style.scss +0 -122
- package/uni-ui/lib/uni-grid/style.css +0 -29
- package/uni-ui/lib/uni-grid/style.scss +0 -33
- package/uni-ui/lib/uni-grid-item/style.css +0 -49
- package/uni-ui/lib/uni-grid-item/style.scss +0 -55
- package/uni-ui/lib/uni-group/style.css +0 -36
- package/uni-ui/lib/uni-group/style.scss +0 -50
- package/uni-ui/lib/uni-icons/icons.js +0 -1169
- package/uni-ui/lib/uni-icons/style.css +0 -12
- package/uni-ui/lib/uni-icons/style.scss +0 -14
- package/uni-ui/lib/uni-indexed-list/style.css +0 -68
- package/uni-ui/lib/uni-indexed-list/style.scss +0 -83
- package/uni-ui/lib/uni-list/style.css +0 -43
- package/uni-ui/lib/uni-list/style.scss +0 -52
- package/uni-ui/lib/uni-list-ad/style.css +0 -30
- package/uni-ui/lib/uni-list-ad/style.scss +0 -35
- package/uni-ui/lib/uni-list-chat/style.css +0 -257
- package/uni-ui/lib/uni-list-chat/style.scss +0 -326
- package/uni-ui/lib/uni-list-item/style.css +0 -170
- package/uni-ui/lib/uni-list-item/style.scss +0 -213
- package/uni-ui/lib/uni-load-more/style.css +0 -194
- package/uni-ui/lib/uni-load-more/style.scss +0 -244
- package/uni-ui/lib/uni-nav-bar/style.css +0 -3
- package/uni-ui/lib/uni-nav-bar/style.scss +0 -6
- package/uni-ui/lib/uni-notice-bar/style.css +0 -109
- package/uni-ui/lib/uni-notice-bar/style.scss +0 -125
- package/uni-ui/lib/uni-number-box/style.css +0 -50
- package/uni-ui/lib/uni-number-box/style.scss +0 -64
- package/uni-ui/lib/uni-pagination/style.css +0 -125
- package/uni-ui/lib/uni-pagination/style.scss +0 -154
- package/uni-ui/lib/uni-popup/style.css +0 -41
- package/uni-ui/lib/uni-popup/style.scss +0 -51
- package/uni-ui/lib/uni-popup-dialog/style.css +0 -82
- package/uni-ui/lib/uni-popup-dialog/style.scss +0 -98
- package/uni-ui/lib/uni-popup-message/style.css +0 -57
- package/uni-ui/lib/uni-popup-message/style.scss +0 -69
- package/uni-ui/lib/uni-popup-share/style.css +0 -72
- package/uni-ui/lib/uni-popup-share/style.scss +0 -81
- package/uni-ui/lib/uni-rate/style.css +0 -29
- package/uni-ui/lib/uni-rate/style.scss +0 -33
- package/uni-ui/lib/uni-row/style.css +0 -58
- package/uni-ui/lib/uni-row/style.scss +0 -104
- package/uni-ui/lib/uni-search-bar/style.css +0 -59
- package/uni-ui/lib/uni-search-bar/style.scss +0 -70
- package/uni-ui/lib/uni-section/style.css +0 -55
- package/uni-ui/lib/uni-section/style.scss +0 -65
- package/uni-ui/lib/uni-segmented-control/style.css +0 -48
- package/uni-ui/lib/uni-segmented-control/style.scss +0 -55
- package/uni-ui/lib/uni-status-bar/style.css +0 -4
- package/uni-ui/lib/uni-steps/style.css +0 -152
- package/uni-ui/lib/uni-steps/style.scss +0 -179
- package/uni-ui/lib/uni-swipe-action-item/style.css +0 -90
- package/uni-ui/lib/uni-swipe-action-item/style.scss +0 -112
- package/uni-ui/lib/uni-swiper-dot/style.css +0 -75
- package/uni-ui/lib/uni-swiper-dot/style.scss +0 -95
- package/uni-ui/lib/uni-table/style.css +0 -123
- package/uni-ui/lib/uni-table/style.scss +0 -152
- package/uni-ui/lib/uni-tag/style.css +0 -105
- package/uni-ui/lib/uni-tag/style.scss +0 -141
- package/uni-ui/lib/uni-td/style.css +0 -13
- package/uni-ui/lib/uni-td/style.scss +0 -17
- package/uni-ui/lib/uni-th/style.css +0 -63
- package/uni-ui/lib/uni-th/style.scss +0 -78
- package/uni-ui/lib/uni-thead/style.css +0 -30
- package/uni-ui/lib/uni-thead/style.scss +0 -52
- package/uni-ui/lib/uni-tr/style.css +0 -25
- package/uni-ui/lib/uni-tr/style.scss +0 -46
- package/uview-plus/components/u-action-sheet/style.css +0 -56
- package/uview-plus/components/u-action-sheet/style.scss +0 -83
- package/uview-plus/components/u-action-sheet-data/style.css +0 -10
- package/uview-plus/components/u-action-sheet-data/style.scss +0 -12
- package/uview-plus/components/u-agreement/style.css +0 -10
- package/uview-plus/components/u-agreement/style.scss +0 -12
- package/uview-plus/components/u-album/style.css +0 -29
- package/uview-plus/components/u-alert/style.css +0 -90
- package/uview-plus/components/u-alert/style.scss +0 -111
- package/uview-plus/components/u-avatar/style.css +0 -21
- package/uview-plus/components/u-avatar/style.scss +0 -24
- package/uview-plus/components/u-avatar-group/style.css +0 -28
- package/uview-plus/components/u-avatar-group/style.scss +0 -26
- package/uview-plus/components/u-back-top/style.css +0 -16
- package/uview-plus/components/u-back-top/style.scss +0 -18
- package/uview-plus/components/u-badge/style.css +0 -57
- package/uview-plus/components/u-badge/style.scss +0 -83
- package/uview-plus/components/u-box/style.css +0 -51
- package/uview-plus/components/u-box/style.scss +0 -36
- package/uview-plus/components/u-button/style.css +0 -192
- package/uview-plus/components/u-calendar/style.css +0 -3
- package/uview-plus/components/u-calendar/style.scss +0 -5
- package/uview-plus/components/u-calendar-wu/style.css +0 -196
- package/uview-plus/components/u-car-keyboard/style.css +0 -69
- package/uview-plus/components/u-car-keyboard/style.scss +0 -89
- package/uview-plus/components/u-card/style.css +0 -34
- package/uview-plus/components/u-card/style.scss +0 -45
- package/uview-plus/components/u-cascader/style.css +0 -16
- package/uview-plus/components/u-cascader/style.scss +0 -25
- package/uview-plus/components/u-cate-tab/style.css +0 -98
- package/uview-plus/components/u-cate-tab/style.scss +0 -115
- package/uview-plus/components/u-cell/style.css +0 -112
- package/uview-plus/components/u-cell/style.scss +0 -148
- package/uview-plus/components/u-cell-group/style.css +0 -14
- package/uview-plus/components/u-cell-group/style.scss +0 -22
- package/uview-plus/components/u-checkbox/style.css +0 -77
- package/uview-plus/components/u-checkbox/style.scss +0 -102
- package/uview-plus/components/u-checkbox-group/style.css +0 -12
- package/uview-plus/components/u-checkbox-group/style.scss +0 -12
- package/uview-plus/components/u-choose/style.css +0 -13
- package/uview-plus/components/u-choose/style.scss +0 -17
- package/uview-plus/components/u-circle-progress/style.css +0 -69
- package/uview-plus/components/u-circle-progress/style.scss +0 -84
- package/uview-plus/components/u-city-locate/style.css +0 -20
- package/uview-plus/components/u-city-locate/style.scss +0 -20
- package/uview-plus/components/u-code-input/style.css +0 -68
- package/uview-plus/components/u-code-input/style.scss +0 -75
- package/uview-plus/components/u-col/style.css +0 -50
- package/uview-plus/components/u-col/style.scss +0 -65
- package/uview-plus/components/u-collapse-item/style.css +0 -10
- package/uview-plus/components/u-collapse-item/style.scss +0 -13
- package/uview-plus/components/u-color-picker/style.css +0 -246
- package/uview-plus/components/u-color-picker/style.scss +0 -299
- package/uview-plus/components/u-column-notice/style.css +0 -37
- package/uview-plus/components/u-column-notice/style.scss +0 -33
- package/uview-plus/components/u-count-down/style.css +0 -5
- package/uview-plus/components/u-count-down/style.scss +0 -11
- package/uview-plus/components/u-count-to/style.css +0 -6
- package/uview-plus/components/u-count-to/style.scss +0 -6
- package/uview-plus/components/u-coupon/style.css +0 -214
- package/uview-plus/components/u-coupon/style.scss +0 -246
- package/uview-plus/components/u-cropper/style.css +0 -91
- package/uview-plus/components/u-cropper/style.scss +0 -93
- package/uview-plus/components/u-datetime-picker/style.css +0 -26
- package/uview-plus/components/u-datetime-picker/style.scss +0 -26
- package/uview-plus/components/u-divider/style.css +0 -17
- package/uview-plus/components/u-divider/style.scss +0 -22
- package/uview-plus/components/u-dragsort/style.css +0 -40
- package/uview-plus/components/u-dragsort/style.scss +0 -52
- package/uview-plus/components/u-dropdown/style.css +0 -66
- package/uview-plus/components/u-dropdown/style.scss +0 -66
- package/uview-plus/components/u-dropdown-item/style.css +0 -3
- package/uview-plus/components/u-dropdown-item/style.scss +0 -3
- package/uview-plus/components/u-empty/style.css +0 -27
- package/uview-plus/components/u-empty/style.scss +0 -22
- package/uview-plus/components/u-empty/u-empty-new.vue +0 -102
- package/uview-plus/components/u-float-button/style.css +0 -15
- package/uview-plus/components/u-float-button/style.scss +0 -15
- package/uview-plus/components/u-form-item/style.css +0 -82
- package/uview-plus/components/u-form-item/style.scss +0 -72
- package/uview-plus/components/u-goods-sku/style.css +0 -100
- package/uview-plus/components/u-goods-sku/style.scss +0 -120
- package/uview-plus/components/u-grid/style.css +0 -21
- package/uview-plus/components/u-grid/style.scss +0 -21
- package/uview-plus/components/u-grid-item/style.css +0 -30
- package/uview-plus/components/u-grid-item/style.scss +0 -43
- package/uview-plus/components/u-icon/style.css +0 -63
- package/uview-plus/components/u-icon/style.scss +0 -82
- package/uview-plus/components/u-image/style.css +0 -24
- package/uview-plus/components/u-image/style.scss +0 -32
- package/uview-plus/components/u-index-anchor/style.css +0 -22
- package/uview-plus/components/u-index-anchor/style.scss +0 -18
- package/uview-plus/components/u-index-list/style.css +0 -51
- package/uview-plus/components/u-index-list/style.scss +0 -52
- package/uview-plus/components/u-input/style.css +0 -64
- package/uview-plus/components/u-input/style.scss +0 -62
- package/uview-plus/components/u-keyboard/style.css +0 -26
- package/uview-plus/components/u-keyboard/style.scss +0 -29
- package/uview-plus/components/u-lazy-load/style.css +0 -12
- package/uview-plus/components/u-lazy-load/style.scss +0 -15
- package/uview-plus/components/u-line/style.css +0 -5
- package/uview-plus/components/u-line/style.scss +0 -5
- package/uview-plus/components/u-line-progress/style.css +0 -38
- package/uview-plus/components/u-line-progress/style.scss +0 -35
- package/uview-plus/components/u-link/style.css +0 -11
- package/uview-plus/components/u-link/style.scss +0 -10
- package/uview-plus/components/u-list/style.css +0 -6
- package/uview-plus/components/u-list/style.scss +0 -3
- package/uview-plus/components/u-list-item/style.css +0 -2
- package/uview-plus/components/u-list-item/style.scss +0 -2
- package/uview-plus/components/u-loading-icon/style.css +0 -138
- package/uview-plus/components/u-loading-icon/style.scss +0 -152
- package/uview-plus/components/u-loading-page/style.css +0 -33
- package/uview-plus/components/u-loading-page/style.scss +0 -35
- package/uview-plus/components/u-loadmore/style.css +0 -29
- package/uview-plus/components/u-loadmore/style.scss +0 -27
- package/uview-plus/components/u-markdown/style.css +0 -188
- package/uview-plus/components/u-markdown/style.scss +0 -199
- package/uview-plus/components/u-message-input/style.css +0 -115
- package/uview-plus/components/u-message-input/style.scss +0 -134
- package/uview-plus/components/u-modal/style.css +0 -63
- package/uview-plus/components/u-modal/style.scss +0 -68
- package/uview-plus/components/u-navbar/style.css +0 -51
- package/uview-plus/components/u-navbar/style.scss +0 -56
- package/uview-plus/components/u-navbar-mini/style.css +0 -34
- package/uview-plus/components/u-navbar-mini/style.scss +0 -36
- package/uview-plus/components/u-no-network/style.css +0 -38
- package/uview-plus/components/u-no-network/style.scss +0 -34
- package/uview-plus/components/u-notice-bar/style.css +0 -5
- package/uview-plus/components/u-notice-bar/style.scss +0 -5
- package/uview-plus/components/u-notice-bar/u-notice-bar2.vue +0 -102
- package/uview-plus/components/u-notify/style.css +0 -28
- package/uview-plus/components/u-notify/style.scss +0 -38
- package/uview-plus/components/u-number-box/style.css +0 -56
- package/uview-plus/components/u-number-box/style.scss +0 -68
- package/uview-plus/components/u-number-keyboard/style.css +0 -45
- package/uview-plus/components/u-number-keyboard/style.scss +0 -61
- package/uview-plus/components/u-overlay/style.css +0 -8
- package/uview-plus/components/u-overlay/style.scss +0 -13
- package/uview-plus/components/u-pagination/style.css +0 -46
- package/uview-plus/components/u-pagination/style.scss +0 -51
- package/uview-plus/components/u-pdf-reader/style.css +0 -2
- package/uview-plus/components/u-pdf-reader/style.scss +0 -2
- package/uview-plus/components/u-picker/style.css +0 -58
- package/uview-plus/components/u-picker/style.scss +0 -54
- package/uview-plus/components/u-picker-data/style.css +0 -11
- package/uview-plus/components/u-picker-data/style.scss +0 -13
- package/uview-plus/components/u-popover/style.css +0 -8
- package/uview-plus/components/u-popover/style.scss +0 -7
- package/uview-plus/components/u-popup/style.css +0 -87
- package/uview-plus/components/u-popup/style.scss +0 -106
- package/uview-plus/components/u-poster/style.css +0 -22
- package/uview-plus/components/u-poster/style.scss +0 -26
- package/uview-plus/components/u-pull-refresh/style.css +0 -51
- package/uview-plus/components/u-pull-refresh/style.scss +0 -58
- package/uview-plus/components/u-qrcode/style.css +0 -33
- package/uview-plus/components/u-qrcode/style.scss +0 -33
- package/uview-plus/components/u-radio/style.css +0 -77
- package/uview-plus/components/u-radio/style.scss +0 -101
- package/uview-plus/components/u-radio-group/style.css +0 -15
- package/uview-plus/components/u-radio-group/style.scss +0 -14
- package/uview-plus/components/u-rate/style.css +0 -32
- package/uview-plus/components/u-rate/style.scss +0 -37
- package/uview-plus/components/u-read-more/style.css +0 -23
- package/uview-plus/components/u-read-more/style.scss +0 -21
- package/uview-plus/components/u-row/style.css +0 -6
- package/uview-plus/components/u-row/style.scss +0 -3
- package/uview-plus/components/u-row-notice/style.css +0 -50
- package/uview-plus/components/u-row-notice/style.scss +0 -49
- package/uview-plus/components/u-safe-bottom/style.css +0 -5
- package/uview-plus/components/u-safe-bottom/style.scss +0 -5
- package/uview-plus/components/u-scroll-list/style.css +0 -35
- package/uview-plus/components/u-scroll-list/style.scss +0 -32
- package/uview-plus/components/u-search/style.css +0 -87
- package/uview-plus/components/u-search/style.scss +0 -105
- package/uview-plus/components/u-select/style.css +0 -51
- package/uview-plus/components/u-select/style.scss +0 -47
- package/uview-plus/components/u-short-video/style.css +0 -117
- package/uview-plus/components/u-short-video/style.scss +0 -138
- package/uview-plus/components/u-signature/style.css +0 -70
- package/uview-plus/components/u-signature/style.scss +0 -88
- package/uview-plus/components/u-skeleton/style.css +0 -51
- package/uview-plus/components/u-skeleton/style.scss +0 -57
- package/uview-plus/components/u-sku-wu/style.css +0 -271
- package/uview-plus/components/u-slider/style.css +0 -69
- package/uview-plus/components/u-slider/style.scss +0 -76
- package/uview-plus/components/u-status-bar/style.css +0 -5
- package/uview-plus/components/u-status-bar/style.scss +0 -6
- package/uview-plus/components/u-steps/style.css +0 -20
- package/uview-plus/components/u-steps/style.scss +0 -21
- package/uview-plus/components/u-steps-item/style.css +0 -112
- package/uview-plus/components/u-steps-item/style.scss +0 -116
- package/uview-plus/components/u-sticky/style.css +0 -5
- package/uview-plus/components/u-sticky/style.scss +0 -6
- package/uview-plus/components/u-subsection/style.css +0 -101
- package/uview-plus/components/u-subsection/style.scss +0 -121
- package/uview-plus/components/u-swipe-action-item/style.css +0 -51
- package/uview-plus/components/u-swipe-action-item/style.scss +0 -44
- package/uview-plus/components/u-swiper/style.css +0 -50
- package/uview-plus/components/u-swiper/style.scss +0 -51
- package/uview-plus/components/u-swiper-indicator/style.css +0 -26
- package/uview-plus/components/u-swiper-indicator/style.scss +0 -29
- package/uview-plus/components/u-switch/style.css +0 -47
- package/uview-plus/components/u-switch/style.scss +0 -46
- package/uview-plus/components/u-tabbar/style.css +0 -29
- package/uview-plus/components/u-tabbar/style.scss +0 -23
- package/uview-plus/components/u-tabbar-item/style.css +0 -59
- package/uview-plus/components/u-tabbar-item/style.scss +0 -62
- package/uview-plus/components/u-table2/style.css +0 -90
- package/uview-plus/components/u-table2/style.scss +0 -117
- package/uview-plus/components/u-tabs/style.css +0 -62
- package/uview-plus/components/u-tabs/style.scss +0 -60
- package/uview-plus/components/u-tag/style.css +0 -169
- package/uview-plus/components/u-tag/style.scss +0 -204
- package/uview-plus/components/u-td/style.css +0 -14
- package/uview-plus/components/u-td/style.scss +0 -11
- package/uview-plus/components/u-text/style.css +0 -50
- package/uview-plus/components/u-text/style.scss +0 -56
- package/uview-plus/components/u-text/style2.scss +0 -60
- package/uview-plus/components/u-textarea/style.css +0 -35
- package/uview-plus/components/u-textarea/style.scss +0 -37
- package/uview-plus/components/u-th/style.css +0 -13
- package/uview-plus/components/u-th/style.scss +0 -10
- package/uview-plus/components/u-title/style.css +0 -8
- package/uview-plus/components/u-title/style.scss +0 -10
- package/uview-plus/components/u-toast/style.css +0 -67
- package/uview-plus/components/u-toast/style.scss +0 -106
- package/uview-plus/components/u-toolbar/style.css +0 -33
- package/uview-plus/components/u-toolbar/style.scss +0 -35
- package/uview-plus/components/u-tooltip/style.css +0 -65
- package/uview-plus/components/u-tooltip/style.scss +0 -62
- package/uview-plus/components/u-tr/style.css +0 -6
- package/uview-plus/components/u-tr/style.scss +0 -3
- package/uview-plus/components/u-transition/style.css +0 -98
- package/uview-plus/components/u-transition/style.scss +0 -120
- package/uview-plus/components/u-upload/style.css +0 -174
- package/uview-plus/components/u-upload/style.scss +0 -221
- package/uview-plus/components/u-view/style.css +0 -2
- package/uview-plus/components/u-view/style.scss +0 -2
- package/uview-plus/components/u-virtual-list/style.css +0 -16
- package/uview-plus/components/u-virtual-list/style.scss +0 -16
- package/uview-plus/components/u-waterfall/style.css +0 -28
- package/uview-plus/components/u-waterfall/style.scss +0 -25
- /package/{uni-ui/lib/uni-forms/style.css → other/lime-painter2/components/lime-painter/qrcode.js} +0 -0
- /package/{ui-fireui copy/components/u-countdown/u-countdown.vue → ui-fireui/components/u-count-down/u-count-down.vue} +0 -0
- /package/{plugins → uview-plus/libs/ctocode}/MessageBox.js +0 -0
|
@@ -0,0 +1,2083 @@
|
|
|
1
|
+
import { AllowedComponentProps, VNodeProps } from './_common'
|
|
2
|
+
|
|
3
|
+
type _Arrayable<T> = T | T[];
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* i18n配置信息
|
|
7
|
+
*/
|
|
8
|
+
type _I18nText = Partial<Record<'en' | 'zh-Hans' | 'zh-Hant', string>>;
|
|
9
|
+
|
|
10
|
+
declare global {
|
|
11
|
+
namespace ZPagingEnums {
|
|
12
|
+
/**
|
|
13
|
+
* query的触发来源:user-pull-down:用户主动下拉刷新 reload:通过reload触发 refresh:通过refresh触发 load-more:通过滚动到底部加载更多或点击底部加载更多触发
|
|
14
|
+
*/
|
|
15
|
+
type QueryFrom = 'user-pull-down' | 'reload' | 'refresh' | 'load-more';
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* 下拉刷新状态:default:默认状态 release-to-refresh:松手立即刷新 loading:刷新中 complete:刷新结束 go-f2:松手进入二楼
|
|
19
|
+
*/
|
|
20
|
+
type RefresherStatus = 'default' | 'release-to-refresh' | 'loading' | 'complete' | 'go-f2';
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* 下拉进入二楼状态: go:二楼开启 close:二楼关闭
|
|
24
|
+
*/
|
|
25
|
+
type GoF2Status = 'go' | 'close';
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* 底部加载更多状态:default:默认状态 loading:加载中 no-more:没有更多数据 fail:加载失败
|
|
29
|
+
*/
|
|
30
|
+
type LoadMoreStatus = 'default' | 'loading' | 'no-more' | 'fail';
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* 列表触摸的方向,top代表用户将列表向上移动(scrollTop不断减小),bottom代表用户将列表向下移动(scrollTop不断增大)
|
|
34
|
+
*/
|
|
35
|
+
type TouchDirection = 'top' | 'bottom';
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
namespace ZPagingParams {
|
|
39
|
+
/**
|
|
40
|
+
* z-paging返回数据
|
|
41
|
+
*
|
|
42
|
+
* @since 2.5.3
|
|
43
|
+
*/
|
|
44
|
+
interface ReturnData<T> {
|
|
45
|
+
/**
|
|
46
|
+
* 总列表
|
|
47
|
+
*/
|
|
48
|
+
totalList: T[];
|
|
49
|
+
/**
|
|
50
|
+
* 是否没有更多数据
|
|
51
|
+
*/
|
|
52
|
+
noMore: boolean;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* 嵌套父容器信息 [list组件](https://uniapp.dcloud.net.cn/component/list.html)
|
|
57
|
+
*
|
|
58
|
+
* @since 2.0.4
|
|
59
|
+
*/
|
|
60
|
+
interface SetSpecialEffectsArgs {
|
|
61
|
+
/**
|
|
62
|
+
* 和list同时滚动的组件id,应为外层的scroller
|
|
63
|
+
*/
|
|
64
|
+
id?: string;
|
|
65
|
+
/**
|
|
66
|
+
* 要吸顶的header顶部距离scroller顶部的距离
|
|
67
|
+
* - Android暂不支持
|
|
68
|
+
*
|
|
69
|
+
* @default 0
|
|
70
|
+
*/
|
|
71
|
+
headerHeight?: number;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* touchmove信息
|
|
76
|
+
*/
|
|
77
|
+
interface RefresherTouchmoveInfo {
|
|
78
|
+
/** 下拉的距离 */
|
|
79
|
+
pullingDistance: number;
|
|
80
|
+
/** 前后两次回调滑动距离的差值 */
|
|
81
|
+
dy: number;
|
|
82
|
+
/** refresh组件高度 */
|
|
83
|
+
viewHeight: number;
|
|
84
|
+
/** pullingDistance/viewHeight的比值 */
|
|
85
|
+
rate: number;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* 默认事件处理
|
|
90
|
+
*/
|
|
91
|
+
type DefaultEventHandler = (value: boolean) => void;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* 使用虚拟列表或内置列表时点击了cell的信息
|
|
95
|
+
*/
|
|
96
|
+
interface InnerCellClickInfo {
|
|
97
|
+
/** 当前点击的item */
|
|
98
|
+
item: any;
|
|
99
|
+
/** 当前点击的index */
|
|
100
|
+
index: number;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* 键盘的高度信息
|
|
105
|
+
*/
|
|
106
|
+
interface KeyboardHeightInfo {
|
|
107
|
+
/** 键盘的高度 */
|
|
108
|
+
height: number;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* 列表滚动信息(vue)
|
|
113
|
+
*/
|
|
114
|
+
interface ScrollInfo {
|
|
115
|
+
detail: {
|
|
116
|
+
scrollLeft: number;
|
|
117
|
+
scrollTop: number;
|
|
118
|
+
scrollHeight: number;
|
|
119
|
+
scrollWidth: number;
|
|
120
|
+
deltaX: number;
|
|
121
|
+
deltaY: number;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* 列表滚动信息(nvue)
|
|
126
|
+
*/
|
|
127
|
+
interface ScrollInfoN {
|
|
128
|
+
contentSize: {
|
|
129
|
+
width: number;
|
|
130
|
+
height: number;
|
|
131
|
+
};
|
|
132
|
+
contentOffset: {
|
|
133
|
+
x: number;
|
|
134
|
+
y: number;
|
|
135
|
+
};
|
|
136
|
+
isDragging: boolean;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* 滚动结束时触发事件信息
|
|
141
|
+
*/
|
|
142
|
+
interface ScrollendEvent {
|
|
143
|
+
contentSize: {
|
|
144
|
+
width: number;
|
|
145
|
+
height: number;
|
|
146
|
+
};
|
|
147
|
+
contentOffset: {
|
|
148
|
+
x: number;
|
|
149
|
+
y: number;
|
|
150
|
+
};
|
|
151
|
+
isDragging: boolean;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* 下拉刷新Slot的props
|
|
156
|
+
*/
|
|
157
|
+
interface RefresherSlotProps {
|
|
158
|
+
/** 下拉刷新状态:default:默认状态 release-to-refresh:松手立即刷新 loading:刷新中 complete:刷新结束 go-f2:松手进入二楼 */
|
|
159
|
+
refresherStatus: ZPagingEnums.RefresherStatus;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* 空数据图Slot的props
|
|
164
|
+
*/
|
|
165
|
+
interface EmptySlotProps {
|
|
166
|
+
/** 是否加载失败: 加载失败,false: 加载成功) */
|
|
167
|
+
isLoadFailed: boolean;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* 虚拟列表&内置列表中cell Slot的props
|
|
172
|
+
*/
|
|
173
|
+
interface InnerListCellSlotProps {
|
|
174
|
+
/** 当前item */
|
|
175
|
+
item: any;
|
|
176
|
+
/** 当前index */
|
|
177
|
+
index: number;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* 聊天记录加载中Slot的props
|
|
182
|
+
*/
|
|
183
|
+
interface ChatLoadingSlotProps {
|
|
184
|
+
/** 底部加载更多状态:default:默认状态 loading:加载中 no-more:没有更多数据 fail:加载失败 */
|
|
185
|
+
loadingMoreStatus: ZPagingEnums.LoadMoreStatus;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* 虚拟列表数据项
|
|
191
|
+
*
|
|
192
|
+
* @since 2.7.7
|
|
193
|
+
*/
|
|
194
|
+
type ZPagingVirtualItem<T> = T & {
|
|
195
|
+
/**
|
|
196
|
+
* 元素真实索引
|
|
197
|
+
*/
|
|
198
|
+
zp_index: number;
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
// ****************************** Props ******************************
|
|
203
|
+
declare interface ZPagingProps {
|
|
204
|
+
// ******************** 数据&布局配置 ********************
|
|
205
|
+
/**
|
|
206
|
+
* 父组件v-model所绑定的list的值
|
|
207
|
+
* @default []
|
|
208
|
+
*/
|
|
209
|
+
value?: any[]
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* 自定义初始的pageNo(从第几页开始)
|
|
213
|
+
* @default 1
|
|
214
|
+
*/
|
|
215
|
+
defaultPageNo?: number
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* 自定义pageSize(每页显示多少条)
|
|
219
|
+
* - 必须和后端的pageSize一致,例如后端分页的pageSize为15,此属性必须改为15
|
|
220
|
+
* @default 10
|
|
221
|
+
*/
|
|
222
|
+
defaultPageSize?: number
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* z-paging是否使用fixed布局
|
|
226
|
+
* - 若使用fixed布局,则z-paging的父view无需固定高度,z-paging高度默认铺满屏幕,页面中的view请放在z-paging标签内,需要固定在顶部的view使用slot="top"包住,需要固定在底部的view使用slot="bottom"包住
|
|
227
|
+
* @default true
|
|
228
|
+
* @since 1.5.6
|
|
229
|
+
*/
|
|
230
|
+
fixed?: boolean
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* 是否开启底部安全区域适配
|
|
234
|
+
* @default false
|
|
235
|
+
* @since 1.6.1
|
|
236
|
+
*/
|
|
237
|
+
safeAreaInsetBottom?: boolean
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* 开启底部安全区域适配后,是否使用placeholder形式实现。
|
|
241
|
+
* - 为否时滚动区域会自动避开底部安全区域,也就是所有滚动内容都不会挡住底部安全区域,若设置为是,则滚动时滚动内容会挡住底部安全区域,但是当滚动到底部时才会避开底部安全区域
|
|
242
|
+
* @default false
|
|
243
|
+
* @since 2.2.7
|
|
244
|
+
*/
|
|
245
|
+
useSafeAreaPlaceholder?: boolean
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* 使用页面滚动,默认为否。当设置为是时,则使用页面的滚动而非此组件内部的scroll-view的滚动。
|
|
249
|
+
* @default false
|
|
250
|
+
*/
|
|
251
|
+
usePageScroll?: boolean
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* 使用页面滚动时,是否在不满屏时自动填充满屏幕
|
|
255
|
+
* @default true
|
|
256
|
+
* @since 2.0.6
|
|
257
|
+
*/
|
|
258
|
+
autoFullHeight?: boolean
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* loading(下拉刷新、上拉加载更多)的主题样式,支持black,white
|
|
262
|
+
* @default 'black'
|
|
263
|
+
*/
|
|
264
|
+
defaultThemeStyle?: 'black' | 'white'
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* 设置z-paging的style,部分平台(如微信小程序)无法直接修改组件的style,可使用此属性代替。
|
|
268
|
+
*/
|
|
269
|
+
pagingStyle?: Record<string, any>
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* z-paging的高度,优先级低于paging-style中设置的height
|
|
273
|
+
* - 传字符串,如100px、100rpx、100%
|
|
274
|
+
*/
|
|
275
|
+
height?: string
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* z-paging的宽度,优先级低于paging-style中设置的width
|
|
279
|
+
* - 传字符串,如100px、100rpx、100%
|
|
280
|
+
*/
|
|
281
|
+
width?: string
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* z-paging的最大宽度,优先级低于paging-style中设置的max-width
|
|
285
|
+
* - 默认为空,也就是铺满窗口宽度,若设置了特定值则会自动添加margin: 0 auto
|
|
286
|
+
*/
|
|
287
|
+
maxWidth?: string
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* z-paging的背景色(为css中的background,因此也可以设置渐变,背景图片等),优先级低于paging-style中设置的background-color。
|
|
291
|
+
* - 传字符串,如"#ffffff"
|
|
292
|
+
*/
|
|
293
|
+
bgColor?: string
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* 是否监听列表触摸方向改变
|
|
297
|
+
* @default false
|
|
298
|
+
* @since 2.3.0
|
|
299
|
+
*/
|
|
300
|
+
watchTouchDirectionChange?: boolean
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* 调用complete后延迟处理的时间,单位为毫秒,优先级高于min-delay
|
|
304
|
+
* @default 0
|
|
305
|
+
* @since 1.9.6
|
|
306
|
+
*/
|
|
307
|
+
delay?: number | string
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* 触发@query后最小延迟处理的时间,单位为毫秒,优先级低于delay
|
|
311
|
+
* @default 0
|
|
312
|
+
* @since 2.0.9
|
|
313
|
+
*/
|
|
314
|
+
minDelay?: number | string
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* 请求失败是否触发reject
|
|
318
|
+
* @default true
|
|
319
|
+
* @since 2.6.1
|
|
320
|
+
*/
|
|
321
|
+
callNetworkReject?: boolean
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* z-paging中默认布局的单位
|
|
325
|
+
* @default rpx
|
|
326
|
+
* @since 2.6.7
|
|
327
|
+
*/
|
|
328
|
+
unit?: 'rpx' | 'px'
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* 自动拼接complete中传过来的数组
|
|
332
|
+
* - 若设置为false,则complete中传过来的数组会直接覆盖list
|
|
333
|
+
* @default true
|
|
334
|
+
* @since 1.8.8
|
|
335
|
+
*/
|
|
336
|
+
concat?: boolean
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* 为保证数据一致,设置当前tab切换时的标识key,并在complete中传递相同key,若二者不一致,则complete将不会生效
|
|
340
|
+
* @since 1.6.4
|
|
341
|
+
*/
|
|
342
|
+
dataKey?: number | string | Record<string, any>
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* 【极简写法】自动注入的list名,可自动修改父view(包含ref="paging")中对应name的list值
|
|
346
|
+
* - z-paging标签必须设置ref="paging"
|
|
347
|
+
* @since 1.8.5
|
|
348
|
+
*/
|
|
349
|
+
autowireListName?: string
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* 【极简写法】自动注入的query名,可自动调用父view(包含ref="paging")中的query方法
|
|
353
|
+
* - z-paging标签必须设置ref="paging"
|
|
354
|
+
* @since 1.8.5
|
|
355
|
+
*/
|
|
356
|
+
autowireQueryName?: string
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* 获取分页数据Function,功能与@query类似。若设置了fetch则@query将不再触发。
|
|
360
|
+
* @since 2.7.8
|
|
361
|
+
*/
|
|
362
|
+
fetch?: (...args: any[]) => any;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* fetch的附加参数,fetch配置后有效
|
|
366
|
+
* @since 2.7.8
|
|
367
|
+
*/
|
|
368
|
+
fetchParams?: Record<string, any>
|
|
369
|
+
|
|
370
|
+
// ******************** reload相关配置 ********************
|
|
371
|
+
/**
|
|
372
|
+
* z-paging mounted 后自动调用 reload 方法 (mounted 后自动调用接口)
|
|
373
|
+
* @default true
|
|
374
|
+
* @since 2.4.3
|
|
375
|
+
*/
|
|
376
|
+
auto?: boolean
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* reload 时自动滚动到顶部
|
|
380
|
+
* - 如果reload时list被清空导致占位消失,也可能会自动返回到顶部,因此如果是这种情况还需要将autoCleanListWhenReload设置为false
|
|
381
|
+
* @default true
|
|
382
|
+
*/
|
|
383
|
+
autoScrollToTopWhenReload?: boolean
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* reload时立即自动清空原list若立即自动清空,则在reload之后、请求回调之前页面是空白的
|
|
387
|
+
* @default true
|
|
388
|
+
*/
|
|
389
|
+
autoCleanListWhenReload?: boolean
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* 列表刷新时自动显示下拉刷新 view
|
|
393
|
+
* @default false
|
|
394
|
+
* @since 1.7.2
|
|
395
|
+
*/
|
|
396
|
+
showRefresherWhenReload?: boolean
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* 列表刷新时自动显示加载更多view,且为加载中状态 (仅初始设置有效,不可动态修改)
|
|
400
|
+
* @default false
|
|
401
|
+
* @since 1.7.2
|
|
402
|
+
*/
|
|
403
|
+
showLoadingMoreWhenReload?: boolean
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* 组件 created 时立即触发 reload (可解决一些情况下先看到页面再看到 loading 的问题)
|
|
407
|
+
* - auto 为 true 时有效。为否时将在 mounted+nextTick 后触发 reload
|
|
408
|
+
* @default false
|
|
409
|
+
* @since 2.2.3
|
|
410
|
+
*/
|
|
411
|
+
createdReload?: boolean
|
|
412
|
+
|
|
413
|
+
// ******************** 下拉刷新配置 ********************
|
|
414
|
+
/**
|
|
415
|
+
* 是否开启下拉刷新
|
|
416
|
+
* @default true
|
|
417
|
+
*/
|
|
418
|
+
refresherEnabled?: boolean
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* 设置自定义下拉刷新阈值,默认单位为px。支持传100、"100px"或"100rpx"
|
|
422
|
+
* - nvue无效
|
|
423
|
+
* @default '80rpx'
|
|
424
|
+
*/
|
|
425
|
+
refresherThreshold?: number | string
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* 是否开启下拉刷新状态栏占位,适用于隐藏导航栏时,下拉刷新需要避开状态栏高度的情况
|
|
429
|
+
* @default false
|
|
430
|
+
* @since 2.6.1
|
|
431
|
+
*/
|
|
432
|
+
useRefresherStatusBarPlaceholder?: boolean
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* 是否只使用下拉刷新
|
|
436
|
+
* - 设置为true后将关闭mounted自动请求数据、关闭滚动到底部加载更多,强制隐藏空数据图
|
|
437
|
+
* @default false
|
|
438
|
+
*/
|
|
439
|
+
refresherOnly?: boolean
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* 是否使用自定义的下拉刷新,默认为是,即使用z-paging的下拉刷新
|
|
443
|
+
* - 设置为false即代表使用uni scroll-view自带的下拉刷新,h5、App、微信小程序以外的平台不支持uni scroll-view自带的下拉刷新
|
|
444
|
+
* @default true
|
|
445
|
+
*/
|
|
446
|
+
useCustomRefresher?: boolean
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* 用户下拉刷新时是否触发reload方法
|
|
450
|
+
* @default true
|
|
451
|
+
*/
|
|
452
|
+
reloadWhenRefresh?: boolean
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* 下拉刷新的主题样式,支持black,white
|
|
456
|
+
* @default 'black'
|
|
457
|
+
*/
|
|
458
|
+
refresherThemeStyle?: string
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* 自定义下拉刷新中左侧图标的样式
|
|
462
|
+
*/
|
|
463
|
+
refresherImgStyle?: Record<string, any>
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* 自定义下拉刷新中右侧状态描述文字的样式
|
|
467
|
+
*/
|
|
468
|
+
refresherTitleStyle?: Record<string, any>
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* 自定义下拉刷新中右侧最后更新时间文字的样式
|
|
472
|
+
* - show-refresher-update-time为true时有效
|
|
473
|
+
*/
|
|
474
|
+
refresherUpdateTimeStyle?: Record<string, any>
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* 是否实时监听下拉刷新中进度,并通过@refresherTouchmove传递给父组件
|
|
478
|
+
* @default false
|
|
479
|
+
* @since 2.1.0
|
|
480
|
+
*/
|
|
481
|
+
watchRefresherTouchmove?: boolean
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* 是否显示最后更新时间
|
|
485
|
+
* @default false
|
|
486
|
+
* @since 1.6.7
|
|
487
|
+
*/
|
|
488
|
+
showRefresherUpdateTime?: boolean
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* 自定义下拉刷新默认状态下的文字
|
|
492
|
+
* - 支持直接传字符串或形如:{'en':'英文','zh-Hans':'简体中文','zh-Hant':'繁体中文'}的i18n配置
|
|
493
|
+
* @default '继续下拉刷新'
|
|
494
|
+
*/
|
|
495
|
+
refresherDefaultText?: string | _I18nText
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* 自定义下拉刷新松手立即刷新状态下的文字
|
|
499
|
+
* - 支持直接传字符串或形如:{'en':'英文','zh-Hans':'简体中文','zh-Hant':'繁体中文'}的i18n配置
|
|
500
|
+
* @default '松开立即刷新'
|
|
501
|
+
*/
|
|
502
|
+
refresherPullingText?: string | _I18nText
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* 自定义下拉刷新刷新中状态下的文字
|
|
506
|
+
* - 支持直接传字符串或形如:{'en':'英文','zh-Hans':'简体中文','zh-Hant':'繁体中文'}的i18n配置
|
|
507
|
+
* @default '正在刷新...'
|
|
508
|
+
*/
|
|
509
|
+
refresherRefreshingText?: string | _I18nText
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* 自定义下拉刷新刷新结束状态下的文字
|
|
513
|
+
* - 支持直接传字符串或形如:{'en':'英文','zh-Hans':'简体中文','zh-Hant':'繁体中文'}的i18n配置
|
|
514
|
+
* @default '刷新成功'
|
|
515
|
+
* @since 2.0.6
|
|
516
|
+
*/
|
|
517
|
+
refresherCompleteText?: string | _I18nText
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* 自定义下拉刷新默认状态下的图片
|
|
521
|
+
*/
|
|
522
|
+
refresherDefaultImg?: string
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* 自定义下拉刷新松手立即刷新状态下的图片
|
|
526
|
+
*/
|
|
527
|
+
refresherPullingImg?: string
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* 自定义下拉刷新刷新中状态下的图片
|
|
531
|
+
*/
|
|
532
|
+
refresherRefreshingImg?: string
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* 自定义下拉刷新刷新结束状态下的图片
|
|
536
|
+
*/
|
|
537
|
+
refresherCompleteImg?: string
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* 自定义下拉刷新刷新中状态下是否展示旋转动画
|
|
541
|
+
* @default true
|
|
542
|
+
* @since 2.5.8
|
|
543
|
+
*/
|
|
544
|
+
refresherRefreshingAnimated?: boolean
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* 是否开启自定义下拉刷新刷新结束回弹动画效果
|
|
548
|
+
* @default true
|
|
549
|
+
*/
|
|
550
|
+
refresherEndBounceEnabled?: boolean
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* 设置系统下拉刷新默认样式,支持设置 black,white,none
|
|
554
|
+
* @default 'black'
|
|
555
|
+
*/
|
|
556
|
+
refresherDefaultStyle?: string
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* 设置自定义下拉刷新区域背景颜色
|
|
560
|
+
* @default '#FFFFFF00'
|
|
561
|
+
*/
|
|
562
|
+
refresherBackground?: string
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* 设置固定的自定义下拉刷新区域背景颜色
|
|
566
|
+
* @default '#FFFFFF00'
|
|
567
|
+
*/
|
|
568
|
+
refresherFixedBackground?: string
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* 设置固定的自定义下拉刷新区域高度
|
|
572
|
+
* @default 0
|
|
573
|
+
*/
|
|
574
|
+
refresherFixedBacHeight?: number | string
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* 设置自定义下拉刷新默认状态下回弹动画时间,单位为毫秒
|
|
578
|
+
* @default 100
|
|
579
|
+
* @since 2.3.1
|
|
580
|
+
*/
|
|
581
|
+
refresherDefaultDuration?: number | string
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* 自定义下拉刷新结束以后延迟收回的时间,单位为毫秒
|
|
585
|
+
* @default 0
|
|
586
|
+
* @since 2.0.6
|
|
587
|
+
*/
|
|
588
|
+
refresherCompleteDelay?: number | string
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* 自定义下拉刷新结束收回动画时间,单位为毫秒
|
|
592
|
+
* @default 300
|
|
593
|
+
* @since 2.0.6
|
|
594
|
+
*/
|
|
595
|
+
refresherCompleteDuration?: number | string
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* 下拉刷新时下拉到“松手立即刷新”状态时是否使手机短振动
|
|
599
|
+
* @default false
|
|
600
|
+
* @since 2.4.7
|
|
601
|
+
*/
|
|
602
|
+
refresherVibrate?: boolean
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* 自定义下拉刷新刷新中状态是否允许列表滚动
|
|
606
|
+
* @default true
|
|
607
|
+
*/
|
|
608
|
+
refresherRefreshingScrollable?: boolean
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* 自定义下拉刷新结束状态下是否允许列表滚动
|
|
612
|
+
* @default false
|
|
613
|
+
* @since 2.1.1
|
|
614
|
+
*/
|
|
615
|
+
refresherCompleteScrollable?: boolean
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* 设置自定义下拉刷新下拉超出阈值后继续下拉位移衰减的比例
|
|
619
|
+
* @default 0.65
|
|
620
|
+
*/
|
|
621
|
+
refresherOutRate?: number
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* 是否开启下拉进入二楼功能
|
|
625
|
+
* @default false
|
|
626
|
+
* @since 2.7.7
|
|
627
|
+
*/
|
|
628
|
+
refresherF2Enabled?: boolean
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* 下拉进入二楼阈值
|
|
632
|
+
* @default '200rpx'
|
|
633
|
+
* @since 2.7.7
|
|
634
|
+
*/
|
|
635
|
+
refresherF2Threshold?: number | string
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
* 下拉进入二楼动画时间,单位为毫秒
|
|
639
|
+
* @default 200
|
|
640
|
+
* @since 2.7.7
|
|
641
|
+
*/
|
|
642
|
+
refresherF2Duration?: number | string
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* 下拉进入二楼状态松手后是否弹出二楼
|
|
646
|
+
* @default true
|
|
647
|
+
* @since 2.7.7
|
|
648
|
+
*/
|
|
649
|
+
showRefresherF2?: boolean
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* 设置自定义下拉刷新下拉时实际下拉位移与用户下拉距离的比值
|
|
653
|
+
* @default 0.75
|
|
654
|
+
* @since 2.3.7
|
|
655
|
+
*/
|
|
656
|
+
refresherPullRate?: number
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* 自定义下拉刷新下拉帧率,默认为40,过高可能会出现抖动问题
|
|
660
|
+
* @default 40
|
|
661
|
+
*/
|
|
662
|
+
refresherFps?: number | string
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* 自定义下拉刷新允许触发的最大下拉角度,默认为40度
|
|
666
|
+
* - 值小于0或大于90时,代表不受角度限
|
|
667
|
+
* @default 40
|
|
668
|
+
* @since 2.5.8
|
|
669
|
+
*/
|
|
670
|
+
refresherMaxAngle?: number | string
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* 自定义下拉刷新的角度由未达到最大角度变到达到最大角度时,是否继续下拉刷新手势
|
|
674
|
+
* @default false
|
|
675
|
+
*/
|
|
676
|
+
refresherAngleEnableChangeContinued?: boolean
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* 下拉刷新时是否禁止下拉刷新view跟随用户触摸竖直移动
|
|
680
|
+
* @default false
|
|
681
|
+
* @since 2.5.8
|
|
682
|
+
*/
|
|
683
|
+
refresherNoTransform?: boolean
|
|
684
|
+
|
|
685
|
+
// ******************** 底部加载更多配置 ********************
|
|
686
|
+
/**
|
|
687
|
+
* 是否启用加载更多数据(含滑动到底部加载更多数据和点击加载更多数据)
|
|
688
|
+
* @default true
|
|
689
|
+
*/
|
|
690
|
+
loadingMoreEnabled?: boolean
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* 距底部/右边多远时,触发 scrolltolower 事件,默认单位为px
|
|
694
|
+
* - 支持传100、"100px"或"100rpx"
|
|
695
|
+
* @default '100rpx'
|
|
696
|
+
*/
|
|
697
|
+
lowerThreshold?: number | string
|
|
698
|
+
|
|
699
|
+
/**
|
|
700
|
+
* 是否启用滑动到底部加载更多数据
|
|
701
|
+
* @default true
|
|
702
|
+
*/
|
|
703
|
+
toBottomLoadingMoreEnabled?: boolean
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* 底部加载更多的主题样式,支持black,white
|
|
707
|
+
* @default 'black'
|
|
708
|
+
*/
|
|
709
|
+
loadingMoreThemeStyle?: string
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* 自定义底部加载更多样式;如:{'background':'red'}
|
|
713
|
+
* - 此属性无法修改文字样式,修改文字样式请使用loading-more-title-custom-style
|
|
714
|
+
*/
|
|
715
|
+
loadingMoreCustomStyle?: Record<string, any>
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* 自定义底部加载更多文字样式;如:{'color':'red'}
|
|
719
|
+
* @since 2.1.7
|
|
720
|
+
*/
|
|
721
|
+
loadingMoreTitleCustomStyle?: Record<string, any>
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
* 自定义底部加载更多加载中动画样式
|
|
725
|
+
*/
|
|
726
|
+
loadingMoreLoadingIconCustomStyle?: Record<string, any>
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* 自定义底部加载更多加载中动画图标类型
|
|
730
|
+
* - 可选flower或circle,默认为flower (nvue不支持)
|
|
731
|
+
* @default 'flower'
|
|
732
|
+
*/
|
|
733
|
+
loadingMoreLoadingIconType?: 'flower' | 'circle'
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* 自定义底部加载更多加载中动画图标图片
|
|
737
|
+
* - 若设置则使用自定义的动画图标,loading-more-loading-icon-type将无效 (nvue无效)
|
|
738
|
+
*/
|
|
739
|
+
loadingMoreLoadingIconCustomImage?: string
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* 底部加载更多加载中view是否展示旋转动画
|
|
743
|
+
* - loading-more-loading-icon-custom-image有值时有效,nvue无效
|
|
744
|
+
* @default true
|
|
745
|
+
* @since 1.9.4
|
|
746
|
+
*/
|
|
747
|
+
loadingMoreLoadingAnimated?: boolean
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* 滑动到底部"默认"文字
|
|
751
|
+
* - 支持直接传字符串或形如:{'en':'英文','zh-Hans':'简体中文','zh-Hant':'繁体中文'}的i18n配置
|
|
752
|
+
* @default '点击加载更多'
|
|
753
|
+
*/
|
|
754
|
+
loadingMoreDefaultText?: string | _I18nText
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* 滑动到底部"加载中"文字
|
|
758
|
+
* - 支持直接传字符串或形如:{'en':'英文','zh-Hans':'简体中文','zh-Hant':'繁体中文'}的i18n配置
|
|
759
|
+
* @default '正在加载...'
|
|
760
|
+
*/
|
|
761
|
+
loadingMoreLoadingText?: string | _I18nText
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* 滑动到底部"没有更多"文字
|
|
765
|
+
* - 支持直接传字符串或形如:{'en':'英文','zh-Hans':'简体中文','zh-Hant':'繁体中文'}的i18n配置
|
|
766
|
+
* @default '没有更多了'
|
|
767
|
+
*/
|
|
768
|
+
loadingMoreNoMoreText?: string | _I18nText
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* 滑动到底部"加载失败"文字
|
|
772
|
+
* - 支持直接传字符串或形如:{'en':'英文','zh-Hans':'简体中文','zh-Hant':'繁体中文'}的i18n配置
|
|
773
|
+
* @default '加载失败,点击重新加载'
|
|
774
|
+
*/
|
|
775
|
+
loadingMoreFailText?: string | _I18nText
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* 当没有更多数据且分页内容未超出z-paging时是否隐藏没有更多数据的view
|
|
779
|
+
* - nvue不支持,nvue中请使用hide-no-more-by-limit控制
|
|
780
|
+
* @default false
|
|
781
|
+
* @since 2.4.3
|
|
782
|
+
*/
|
|
783
|
+
hideNoMoreInside?: boolean
|
|
784
|
+
|
|
785
|
+
/**
|
|
786
|
+
* 当没有更多数据且分页数组长度少于这个值时,隐藏没有更多数据的view
|
|
787
|
+
* - 默认为0,代表不限制。此属性优先级高于`hide-no-more-inside`
|
|
788
|
+
* @default 0
|
|
789
|
+
* @since 2.4.3
|
|
790
|
+
*/
|
|
791
|
+
hideNoMoreByLimit?: number
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* 当分页未满一屏时,是否自动加载更多 (nvue无效)
|
|
795
|
+
* @default false
|
|
796
|
+
* @since 2.0.0
|
|
797
|
+
*/
|
|
798
|
+
insideMore?: boolean
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* 滑动到底部状态为默认状态时,以加载中的状态展示
|
|
802
|
+
* - 若设置为是,可避免滚动到底部看到默认状态然后立刻变为加载中状态的问题,但分页数量未超过一屏时,不会显示【点击加载更多】
|
|
803
|
+
* @default false
|
|
804
|
+
* @since 2.2.0
|
|
805
|
+
*/
|
|
806
|
+
loadingMoreDefaultAsLoading?: boolean
|
|
807
|
+
|
|
808
|
+
/**
|
|
809
|
+
* 是否显示没有更多数据的view
|
|
810
|
+
* @default true
|
|
811
|
+
*/
|
|
812
|
+
showLoadingMoreNoMoreView?: boolean
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* 是否显示默认的加载更多text
|
|
816
|
+
* @default true
|
|
817
|
+
*/
|
|
818
|
+
showDefaultLoadingMoreText?: boolean
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* 是否显示没有更多数据的分割线,默认为是
|
|
822
|
+
* @default true
|
|
823
|
+
*/
|
|
824
|
+
showLoadingMoreNoMoreLine?: boolean
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* 自定义底部没有更多数据的分割线样式
|
|
828
|
+
*/
|
|
829
|
+
loadingMoreNoMoreLineCustomStyle?: Record<string, any>
|
|
830
|
+
|
|
831
|
+
// ******************** 空数据与加载失败配置 ********************
|
|
832
|
+
/**
|
|
833
|
+
* 是否强制隐藏空数据图
|
|
834
|
+
* @default false
|
|
835
|
+
*/
|
|
836
|
+
hideEmptyView?: boolean
|
|
837
|
+
|
|
838
|
+
/**
|
|
839
|
+
* 空数据图片是否铺满z-paging
|
|
840
|
+
* - 默认为否,即填充满z-paging内列表(滚动区域)部分。若设置为否,则为填铺满整个z-paging
|
|
841
|
+
* @default false
|
|
842
|
+
* @since 2.0.3
|
|
843
|
+
*/
|
|
844
|
+
emptyViewFixed?: boolean
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* 空数据图片是否垂直居中
|
|
848
|
+
* - 默认为是,若设置为否即为从空数据容器顶部开始显示 (empty-view-fixed为false时有效)
|
|
849
|
+
* @default true
|
|
850
|
+
* @since 2.0.6
|
|
851
|
+
*/
|
|
852
|
+
emptyViewCenter?: boolean
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* 空数据图描述文字
|
|
856
|
+
* - 支持直接传字符串或形如:{'en':'英文','zh-Hans':'简体中文','zh-Hant':'繁体中文'}的i18n配置
|
|
857
|
+
* @default '没有数据哦~'
|
|
858
|
+
*/
|
|
859
|
+
emptyViewText?: string | _I18nText
|
|
860
|
+
|
|
861
|
+
/**
|
|
862
|
+
* 空数据图图片,默认使用z-paging内置的图片
|
|
863
|
+
* - 建议使用绝对路径,开头不要添加"@",请以"/"开头
|
|
864
|
+
*/
|
|
865
|
+
emptyViewImg?: string
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* 空数据图“加载失败”图片,默认使用z-paging内置的图片
|
|
869
|
+
* - 建议使用绝对路径,开头不要添加"@",请以"/"开头
|
|
870
|
+
* @since 1.6.7
|
|
871
|
+
*/
|
|
872
|
+
emptyViewErrorImg?: string
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* 空数据图点击重新加载文字
|
|
876
|
+
* - 支持直接传字符串或形如:{'en':'英文','zh-Hans':'简体中文','zh-Hant':'繁体中文'}的i18n配置
|
|
877
|
+
* @default '重新加载'
|
|
878
|
+
* @since 1.6.7
|
|
879
|
+
*/
|
|
880
|
+
emptyViewReloadText?: string | _I18nText
|
|
881
|
+
|
|
882
|
+
/**
|
|
883
|
+
* 空数据图“加载失败”描述文字
|
|
884
|
+
* - 支持直接传字符串或形如:{'en':'英文','zh-Hans':'简体中文','zh-Hant':'繁体中文'}的i18n配置
|
|
885
|
+
* @default '很抱歉,加载失败'
|
|
886
|
+
* @since 1.6.7
|
|
887
|
+
*/
|
|
888
|
+
emptyViewErrorText?: string | _I18nText
|
|
889
|
+
/**
|
|
890
|
+
* 空数据图父view样式
|
|
891
|
+
*/
|
|
892
|
+
emptyViewSuperStyle?: Record<string, any>
|
|
893
|
+
|
|
894
|
+
/**
|
|
895
|
+
* 空数据图样式,可设置空数据view的top等,如::empty-view-style="{'top':'100rpx'}"
|
|
896
|
+
*/
|
|
897
|
+
emptyViewStyle?: Record<string, any>
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* 空数据图img样式
|
|
901
|
+
*/
|
|
902
|
+
emptyViewImgStyle?: Record<string, any>
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* 空数据图描述文字样式
|
|
906
|
+
*/
|
|
907
|
+
emptyViewTitleStyle?: Record<string, any>
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* 空数据图重新加载按钮样式
|
|
911
|
+
* @since 1.6.7
|
|
912
|
+
*/
|
|
913
|
+
emptyViewReloadStyle?: Record<string, any>
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* 是否显示空数据图重新加载按钮(无数据时)
|
|
917
|
+
* @default false
|
|
918
|
+
* @since 1.6.7
|
|
919
|
+
*/
|
|
920
|
+
showEmptyViewReload?: boolean
|
|
921
|
+
|
|
922
|
+
/**
|
|
923
|
+
* 加载失败时是否显示空数据图重新加载按钮
|
|
924
|
+
* @default true
|
|
925
|
+
* @since 1.6.7
|
|
926
|
+
*/
|
|
927
|
+
showEmptyViewReloadWhenError?: boolean
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* 加载中时是否自动隐藏空数据图
|
|
931
|
+
* @default true
|
|
932
|
+
*/
|
|
933
|
+
autoHideEmptyViewWhenLoading?: boolean
|
|
934
|
+
|
|
935
|
+
/**
|
|
936
|
+
* 用户下拉列表触发下拉刷新加载中时是否自动隐藏空数据图
|
|
937
|
+
* @default true
|
|
938
|
+
* @since 2.0.9
|
|
939
|
+
*/
|
|
940
|
+
autoHideEmptyViewWhenPull?: boolean
|
|
941
|
+
|
|
942
|
+
// ******************** 全屏Loading配置 ********************
|
|
943
|
+
/**
|
|
944
|
+
* 第一次加载后自动隐藏loading slot
|
|
945
|
+
* @default true
|
|
946
|
+
*/
|
|
947
|
+
autoHideLoadingAfterFirstLoaded?: boolean
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* loading slot的父view是否铺满屏幕并固定
|
|
951
|
+
* - 设置为true后,插入的loading的父view会铺满全屏。注意:插入的loading需要设置height:100%(nvue为flex:1)才可铺满全屏。loading内的view从导航栏顶部开始,会被导航栏盖住,请妥善处理。
|
|
952
|
+
* @default false
|
|
953
|
+
* @since 2.0.9
|
|
954
|
+
*/
|
|
955
|
+
loadingFullFixed?: boolean
|
|
956
|
+
|
|
957
|
+
/**
|
|
958
|
+
* 是否自动显示系统Loading:即uni.showLoading
|
|
959
|
+
* - 若开启则将在刷新列表时(调用reload、refresh时)显示。下拉刷新和滚动到底部加载更多不会显示。
|
|
960
|
+
* @default false
|
|
961
|
+
* @since 2.3.7
|
|
962
|
+
*/
|
|
963
|
+
autoShowSystemLoading?: boolean
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* 显示系统Loading时显示的文字
|
|
967
|
+
* - 支持直接传字符串或形如:{'en':'英文','zh-Hans':'简体中文','zh-Hant':'繁体中文'}的i18n配置
|
|
968
|
+
* @default '加载中...'
|
|
969
|
+
* @since 2.3.7
|
|
970
|
+
*/
|
|
971
|
+
systemLoadingText?: string | _I18nText
|
|
972
|
+
|
|
973
|
+
/**
|
|
974
|
+
* 显示系统Loading时是否显示透明蒙层,防止触摸穿透。H5、App、微信小程序、百度小程序有效。
|
|
975
|
+
* @default true
|
|
976
|
+
* @since 2.3.9
|
|
977
|
+
*/
|
|
978
|
+
systemLoadingMask?: boolean
|
|
979
|
+
|
|
980
|
+
// ******************** 返回顶部按钮配 ********************
|
|
981
|
+
/**
|
|
982
|
+
* 自动显示点击返回顶部按钮
|
|
983
|
+
* @default false
|
|
984
|
+
*/
|
|
985
|
+
autoShowBackToTop?: boolean
|
|
986
|
+
|
|
987
|
+
/**
|
|
988
|
+
* 点击返回顶部按钮显示/隐藏的阈值(滚动距离),默认单位为px
|
|
989
|
+
* - 支持传100、"100px"或"100rpx"
|
|
990
|
+
* @default 400rpx
|
|
991
|
+
*/
|
|
992
|
+
backToTopThreshold?: number | string
|
|
993
|
+
|
|
994
|
+
/**
|
|
995
|
+
* 点击返回顶部按钮的自定义图片地址
|
|
996
|
+
* - 建议使用绝对路径,开头不要添加"@",请以"/"开头
|
|
997
|
+
* @default 'z-paging内置的图片'
|
|
998
|
+
*/
|
|
999
|
+
backToTopImg?: string
|
|
1000
|
+
|
|
1001
|
+
/**
|
|
1002
|
+
* 点击返回顶部按钮返回到顶部时是否展示过渡动画
|
|
1003
|
+
* @default true
|
|
1004
|
+
*/
|
|
1005
|
+
backToTopWithAnimate?: boolean
|
|
1006
|
+
|
|
1007
|
+
/**
|
|
1008
|
+
* 点击返回顶部按钮与底部的距离,默认单位为px
|
|
1009
|
+
* - 支持传100、"100px"或"100rpx"
|
|
1010
|
+
* @default 160rpx
|
|
1011
|
+
*/
|
|
1012
|
+
backToTopBottom?: number | string
|
|
1013
|
+
|
|
1014
|
+
/**
|
|
1015
|
+
* 点击返回顶部按钮的自定义样式
|
|
1016
|
+
*/
|
|
1017
|
+
backToTopStyle?: Record<string, any>
|
|
1018
|
+
|
|
1019
|
+
// ******************** 虚拟列表&内置列表配置 ********************
|
|
1020
|
+
/**
|
|
1021
|
+
* 是否使用虚拟列表
|
|
1022
|
+
* - 使用页面滚动或nvue时,不支持虚拟列表。在nvue中z-paging内置了list组件,效果与虚拟列表类似,并且可以提供更好的性能
|
|
1023
|
+
* @default false
|
|
1024
|
+
*/
|
|
1025
|
+
useVirtualList?: boolean
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* 在使用虚拟列表时,是否使用兼容模式。兼容模式写法较繁琐,但可提供良好的兼容性。
|
|
1029
|
+
* @default false
|
|
1030
|
+
* @since 2.4.0
|
|
1031
|
+
*/
|
|
1032
|
+
useCompatibilityMode?: boolean
|
|
1033
|
+
|
|
1034
|
+
/**
|
|
1035
|
+
* 使用兼容模式时传递的附加数据,可选、非必须
|
|
1036
|
+
* @since 2.4.0
|
|
1037
|
+
*/
|
|
1038
|
+
extraData?: Record<string, any>
|
|
1039
|
+
|
|
1040
|
+
/**
|
|
1041
|
+
* 虚拟列表cell高度模式,默认为fixed,也就是每个cell高度完全相同,将以第一个cell高度为准进行计算。
|
|
1042
|
+
* @default 'fixed'
|
|
1043
|
+
*/
|
|
1044
|
+
cellHeightMode?: 'fixed' | 'dynamic'
|
|
1045
|
+
|
|
1046
|
+
/**
|
|
1047
|
+
* 预加载的列表可视范围(列表高度)页数。此数值越大,则虚拟列表中加载的dom越多,内存消耗越大(会维持在一个稳定值),但增加预加载页面数量可缓解快速滚动短暂白屏问题。
|
|
1048
|
+
* @default 12
|
|
1049
|
+
*/
|
|
1050
|
+
preloadPage?: number | string
|
|
1051
|
+
|
|
1052
|
+
/**
|
|
1053
|
+
* 固定的cell高度,`cell-height-mode=fixed`才有效,若设置了值,则不计算第一个cell高度而使用设置的cell高度。默认单位为px
|
|
1054
|
+
* - 支持传100、"100px"或"100rpx"
|
|
1055
|
+
* @since 2.7.8
|
|
1056
|
+
*/
|
|
1057
|
+
fixedCellHeight?: number | string
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* 虚拟列表列数,默认为1。常用于每行有多列的情况,例如每行有2列数据,需要将此值设置为2。
|
|
1061
|
+
* @default 1
|
|
1062
|
+
* @since 2.2.8
|
|
1063
|
+
*/
|
|
1064
|
+
virtualListCol?: number | string
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* 虚拟列表scroll取样帧率,默认为80,过低容易出现白屏问题,过高容易出现卡顿问题
|
|
1068
|
+
* @default 80
|
|
1069
|
+
*/
|
|
1070
|
+
virtualScrollFps?: number | string
|
|
1071
|
+
|
|
1072
|
+
/**
|
|
1073
|
+
* 虚拟列表cell id的前缀,适用于一个页面有多个虚拟列表的情况,用以区分不同虚拟列表cell的id
|
|
1074
|
+
* - 注意:请勿传数字或以数字开头的字符串。如设置为list1,则cell的id应为:list1-zp-id-${item.zp_index}
|
|
1075
|
+
* @since 2.8.1
|
|
1076
|
+
*/
|
|
1077
|
+
virtualCellIdPrefix?: string
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* 是否在z-paging内部循环渲染列表(使用内置列表)。
|
|
1081
|
+
* @default false
|
|
1082
|
+
*/
|
|
1083
|
+
useInnerList?: boolean
|
|
1084
|
+
|
|
1085
|
+
/**
|
|
1086
|
+
* 强制关闭inner-list。适用于开启了虚拟列表后需要强制关闭inner-list的情况。
|
|
1087
|
+
* @default false
|
|
1088
|
+
* @since 2.2.7
|
|
1089
|
+
*/
|
|
1090
|
+
forceCloseInnerList?: boolean
|
|
1091
|
+
|
|
1092
|
+
/**
|
|
1093
|
+
* 虚拟列表是否使用swiper-item包裹,默认为否,此属性为了解决vue3+(微信小程序或QQ小程序)中,使用非内置列表写法时,若z-paging在swiper-item内存在无法获取slot插入的cell高度进而导致虚拟列表失败的问题
|
|
1094
|
+
* - 仅vue3+(微信小程序或QQ小程序)+非内置列表写法虚拟列表有效,其他情况此属性设置任何值都无效,所以如果您在swiper-item内使用z-paging的非内置虚拟列表写法,将此属性设置为true即可
|
|
1095
|
+
* @default false
|
|
1096
|
+
* @since 2.8.6
|
|
1097
|
+
*/
|
|
1098
|
+
virtualInSwiperSlot?: boolean
|
|
1099
|
+
|
|
1100
|
+
/**
|
|
1101
|
+
* 内置列表cell的key名称(仅nvue有效,在nvue中开启use-inner-list时必须填此项)
|
|
1102
|
+
* @since 2.2.7
|
|
1103
|
+
*/
|
|
1104
|
+
cellKeyName?: string
|
|
1105
|
+
|
|
1106
|
+
/**
|
|
1107
|
+
* innerList样式
|
|
1108
|
+
*/
|
|
1109
|
+
innerListStyle?: Record<string, any>
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* innerCell样式
|
|
1113
|
+
* @since 2.2.8
|
|
1114
|
+
*/
|
|
1115
|
+
innerCellStyle?: Record<string, any>
|
|
1116
|
+
|
|
1117
|
+
// ******************** 本地分页配置 ********************
|
|
1118
|
+
/**
|
|
1119
|
+
* 本地分页时上拉加载更多延迟时间,单位为毫秒
|
|
1120
|
+
* @default 200
|
|
1121
|
+
*/
|
|
1122
|
+
localPagingLoadingTime?: number | string
|
|
1123
|
+
|
|
1124
|
+
// ******************** 聊天记录模式配置 ********************
|
|
1125
|
+
/**
|
|
1126
|
+
* 使用聊天记录模式,为保证良好的体验。
|
|
1127
|
+
* @default false
|
|
1128
|
+
*/
|
|
1129
|
+
useChatRecordMode?: boolean;
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* 使用聊天记录模式时是否自动隐藏键盘(在用户触摸列表时候自动隐藏键盘)
|
|
1133
|
+
* @default true
|
|
1134
|
+
* @since 2.3.4
|
|
1135
|
+
*/
|
|
1136
|
+
autoHideKeyboardWhenChat?: boolean;
|
|
1137
|
+
|
|
1138
|
+
/**
|
|
1139
|
+
* 使用聊天记录模式中键盘弹出时是否自动调整slot="bottom"高度
|
|
1140
|
+
* @default true
|
|
1141
|
+
* @since 2.7.4
|
|
1142
|
+
*/
|
|
1143
|
+
autoAdjustPositionWhenChat?: boolean;
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* 使用聊天记录模式中键盘弹出时是否自动滚动到底部
|
|
1147
|
+
* @default false
|
|
1148
|
+
* @since 2.7.4
|
|
1149
|
+
*/
|
|
1150
|
+
autoToBottomWhenChat?: boolean;
|
|
1151
|
+
|
|
1152
|
+
/**
|
|
1153
|
+
* 使用聊天记录模式中键盘弹出时占位高度偏移距离。默认0rpx。单位px
|
|
1154
|
+
* @default "0px"
|
|
1155
|
+
* @since 2.7.6
|
|
1156
|
+
*/
|
|
1157
|
+
chatAdjustPositionOffset?: string;
|
|
1158
|
+
|
|
1159
|
+
/**
|
|
1160
|
+
* 使用聊天记录模式中`reload`时是否显示`chatLoading`
|
|
1161
|
+
* @default false
|
|
1162
|
+
* @since 2.7.4
|
|
1163
|
+
*/
|
|
1164
|
+
showChatLoadingWhenReload?: boolean;
|
|
1165
|
+
|
|
1166
|
+
/**
|
|
1167
|
+
* `bottom`的背景色,默认透明,传字符串,如"#ffffff"
|
|
1168
|
+
* @since 2.7.4
|
|
1169
|
+
*/
|
|
1170
|
+
bottomBgColor?: string;
|
|
1171
|
+
|
|
1172
|
+
/**
|
|
1173
|
+
* 在聊天记录模式中滑动到顶部状态为默认状态时,是否以加载中的状态展示
|
|
1174
|
+
* @default true
|
|
1175
|
+
* @since 2.7.5
|
|
1176
|
+
*/
|
|
1177
|
+
chatLoadingMoreDefaultAsLoading?: boolean;
|
|
1178
|
+
|
|
1179
|
+
// ******************** scroll-view相关配置 ********************
|
|
1180
|
+
/**
|
|
1181
|
+
* 控制是否出现滚动条
|
|
1182
|
+
* @default true
|
|
1183
|
+
*/
|
|
1184
|
+
showScrollbar?: boolean;
|
|
1185
|
+
|
|
1186
|
+
/**
|
|
1187
|
+
* 是否可以滚动,使用内置scroll-view和nvue时有效
|
|
1188
|
+
* @default true
|
|
1189
|
+
*/
|
|
1190
|
+
scrollable?: boolean;
|
|
1191
|
+
|
|
1192
|
+
/**
|
|
1193
|
+
* 是否允许横向滚动
|
|
1194
|
+
* @default false
|
|
1195
|
+
* @since 2.0.6
|
|
1196
|
+
*/
|
|
1197
|
+
scrollX?: boolean;
|
|
1198
|
+
|
|
1199
|
+
/**
|
|
1200
|
+
* iOS设备上滚动到顶部时是否允许回弹效果
|
|
1201
|
+
* - 关闭回弹效果后可使滚动到顶部后立即下拉可立即触发下拉刷新,但是有吸顶view时滚动到顶部时可能出现抖动
|
|
1202
|
+
* @default false
|
|
1203
|
+
*/
|
|
1204
|
+
scrollToTopBounceEnabled?: boolean;
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* iOS设备上滚动到底部时是否允许回弹效果。可能会导致使用scroll-view滚动时无法顺利滚动到底部
|
|
1208
|
+
* @default true
|
|
1209
|
+
*/
|
|
1210
|
+
scrollToBottomBounceEnabled?: boolean;
|
|
1211
|
+
|
|
1212
|
+
/**
|
|
1213
|
+
* 在设置滚动条位置时使用动画过渡
|
|
1214
|
+
* @default false
|
|
1215
|
+
*/
|
|
1216
|
+
scrollWithAnimation?: boolean;
|
|
1217
|
+
|
|
1218
|
+
/**
|
|
1219
|
+
* 值应为某子元素id(id不能以数字开头)。设置哪个方向可滚动,则在哪个方向滚动到该元素。若在一些平台中无效,可以通过调用z-paging的scrollToxxx系列的方法实现。
|
|
1220
|
+
*/
|
|
1221
|
+
scrollIntoView?: string;
|
|
1222
|
+
|
|
1223
|
+
/**
|
|
1224
|
+
* iOS点击顶部状态栏、安卓双击标题栏时,滚动条返回顶部。仅支持app-nvue,微信小程序。
|
|
1225
|
+
* @default true
|
|
1226
|
+
*/
|
|
1227
|
+
enableBackToTop?: boolean;
|
|
1228
|
+
|
|
1229
|
+
// ******************** nvue独有配置 ********************
|
|
1230
|
+
/**
|
|
1231
|
+
* nvue中修改列表类型。
|
|
1232
|
+
* @default "list"
|
|
1233
|
+
*/
|
|
1234
|
+
nvueListIs?: 'list' | 'waterfall' | 'scroller';
|
|
1235
|
+
|
|
1236
|
+
/**
|
|
1237
|
+
* waterfall 配置,仅在 nvue 中且 nvueListIs=waterfall 时有效。示例: {'column-gap': 20}。配置参数详情参见: https://uniapp.dcloud.io/component/waterfall
|
|
1238
|
+
*/
|
|
1239
|
+
nvueWaterfallConfig?: Record<string, any>;
|
|
1240
|
+
|
|
1241
|
+
/**
|
|
1242
|
+
* nvue 控制是否回弹效果,iOS 不支持动态修改。注意: 若禁用回弹效果,下拉刷新将失效。
|
|
1243
|
+
* @default true
|
|
1244
|
+
*/
|
|
1245
|
+
nvueBounce?: boolean;
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* nvue 中通过代码滚动到顶部/底部时,是否加快动画效果(无滚动动画时无效)。
|
|
1249
|
+
* @default false
|
|
1250
|
+
* @since 1.9.4
|
|
1251
|
+
*/
|
|
1252
|
+
nvueFastScroll?: boolean;
|
|
1253
|
+
|
|
1254
|
+
/**
|
|
1255
|
+
* nvue 中 list 的 id。
|
|
1256
|
+
* @since 2.0.4
|
|
1257
|
+
*/
|
|
1258
|
+
nvueListId?: string;
|
|
1259
|
+
|
|
1260
|
+
/**
|
|
1261
|
+
* 是否隐藏 nvue 列表底部的 tagView,此 view 用于标识滚动到底部位置。
|
|
1262
|
+
* - 若隐藏则滚动到底部功能将失效。
|
|
1263
|
+
* - 在 nvue 中实现吸顶+swiper 功能时需将最外层 z-paging 的此属性设置为 true。
|
|
1264
|
+
* @default false
|
|
1265
|
+
* @since 2.0.4
|
|
1266
|
+
*/
|
|
1267
|
+
hideNvueBottomTag?: boolean;
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* 设置 nvue 中是否按分页模式(类似竖向 swiper)显示 List。
|
|
1271
|
+
* @default false
|
|
1272
|
+
* @since 2.3.1
|
|
1273
|
+
*/
|
|
1274
|
+
nvuePagingEnabled?: boolean;
|
|
1275
|
+
|
|
1276
|
+
/**
|
|
1277
|
+
* nvue 中控制 onscroll 事件触发的频率。表示两次 onscroll 事件之间列表至少滚动了指定的像素值。单位: px。
|
|
1278
|
+
* @since 2.3.5
|
|
1279
|
+
*/
|
|
1280
|
+
offsetAccuracy?: number;
|
|
1281
|
+
|
|
1282
|
+
// ******************** 缓存配置 ********************
|
|
1283
|
+
/**
|
|
1284
|
+
* 是否使用缓存。若开启,将自动缓存第一页的数据。注意:默认仅会缓存组件首次加载时第一次请求到的数据,后续的下拉刷新操作不会更新缓存。
|
|
1285
|
+
* - 必须设置 `cacheKey`,否则缓存无效。
|
|
1286
|
+
* @default false
|
|
1287
|
+
*/
|
|
1288
|
+
useCache?: boolean;
|
|
1289
|
+
|
|
1290
|
+
/**
|
|
1291
|
+
* 使用缓存时缓存的 key,用于区分不同列表的缓存数据。
|
|
1292
|
+
* - useCache为 true 时必须设置,否则缓存无效。
|
|
1293
|
+
*/
|
|
1294
|
+
cacheKey?: string;
|
|
1295
|
+
|
|
1296
|
+
/**
|
|
1297
|
+
* 缓存模式。
|
|
1298
|
+
* - default: 仅缓存组件首次加载时第一次请求到的数据。
|
|
1299
|
+
* - always: 总是缓存,每次列表刷新(如下拉刷新、调用 reload 等)都会更新缓存。
|
|
1300
|
+
* @default "default"
|
|
1301
|
+
*/
|
|
1302
|
+
cacheMode?: 'default' | 'always';
|
|
1303
|
+
|
|
1304
|
+
// ******************** z-index配置 ********************
|
|
1305
|
+
/**
|
|
1306
|
+
* slot="top" 的 view 的 z-index。
|
|
1307
|
+
* - 仅使用页面滚动时有效。
|
|
1308
|
+
* @default 99
|
|
1309
|
+
*/
|
|
1310
|
+
topZIndex?: number;
|
|
1311
|
+
|
|
1312
|
+
/**
|
|
1313
|
+
* z-paging 内容容器父 view 的 z-index。
|
|
1314
|
+
* @default 1
|
|
1315
|
+
*/
|
|
1316
|
+
superContentZIndex?: number;
|
|
1317
|
+
|
|
1318
|
+
/**
|
|
1319
|
+
* z-paging 内容容器部分的 z-index。
|
|
1320
|
+
* @default 1
|
|
1321
|
+
*/
|
|
1322
|
+
contentZIndex?: number;
|
|
1323
|
+
|
|
1324
|
+
/**
|
|
1325
|
+
* 空数据 view 的 z-index。
|
|
1326
|
+
* @default 9
|
|
1327
|
+
*/
|
|
1328
|
+
emptyViewZIndex?: number;
|
|
1329
|
+
|
|
1330
|
+
// ******************** 其他配置 ********************
|
|
1331
|
+
/**
|
|
1332
|
+
* z-paging 是否自动高度。
|
|
1333
|
+
* - 自动高度时会自动铺满屏幕,不需要设置父 view 为 100% 等操作。
|
|
1334
|
+
* - 注意:自动高度可能并不准确。
|
|
1335
|
+
* @deprecated 建议使用 fixed 代替。
|
|
1336
|
+
* @default false
|
|
1337
|
+
*/
|
|
1338
|
+
autoHeight?: boolean;
|
|
1339
|
+
|
|
1340
|
+
/**
|
|
1341
|
+
* z-paging 自动高度时的附加高度。
|
|
1342
|
+
* - 添加单位 px 或 rpx,默认为 px。
|
|
1343
|
+
* - 若需要减少高度,请传负数,如 "-10rpx" 或 "10.5px"。
|
|
1344
|
+
* @deprecated 建议使用 fixed 代替。
|
|
1345
|
+
* @default "0px"
|
|
1346
|
+
*/
|
|
1347
|
+
autoHeightAddition?: number | string;
|
|
1348
|
+
|
|
1349
|
+
|
|
1350
|
+
// ****************************** Events ******************************
|
|
1351
|
+
|
|
1352
|
+
// ******************** 数据处理相关事件 ********************
|
|
1353
|
+
/**
|
|
1354
|
+
* 父组件v-model所绑定的list的值改变时触发此事件
|
|
1355
|
+
* @param value 列表数据
|
|
1356
|
+
*/
|
|
1357
|
+
onInput?: (value: any[]) => any
|
|
1358
|
+
|
|
1359
|
+
/**
|
|
1360
|
+
* 下拉刷新或滚动到底部时会自动触发此方法。z-paging加载时也会触发(若要禁止,请设置:auto="false")。pageNo和pageSize会自动计算好,直接传给服务器即可。
|
|
1361
|
+
* @param pageNo 当前第几页
|
|
1362
|
+
* @param pageSize 每页多少条
|
|
1363
|
+
* @param from query的触发来源:user-pull-down:用户主动下拉刷新 reload:通过reload触发 refresh:通过refresh触发 load-more:通过滚动到底部加载更多或点击底部加载更多触发
|
|
1364
|
+
*/
|
|
1365
|
+
onQuery?: (pageNo: number, pageSize: number, from: ZPagingEnums.QueryFrom) => void
|
|
1366
|
+
|
|
1367
|
+
/**
|
|
1368
|
+
* 分页渲染的数组改变时触发
|
|
1369
|
+
* @param list 最终的分页数据数组
|
|
1370
|
+
*/
|
|
1371
|
+
onListChange?: (list: any[]) => void
|
|
1372
|
+
|
|
1373
|
+
// ******************** 下拉刷新相关事件 ********************
|
|
1374
|
+
/**
|
|
1375
|
+
* 自定义下拉刷新状态改变
|
|
1376
|
+
* - use-custom-refresher为false时无效
|
|
1377
|
+
* @param status 下拉刷新状态:default:默认状态 release-to-refresh:松手立即刷新 loading:刷新中 complete:刷新结束 go-f2:松手进入二楼
|
|
1378
|
+
*/
|
|
1379
|
+
onRefresherStatusChange?: (status: ZPagingEnums.RefresherStatus) => void
|
|
1380
|
+
|
|
1381
|
+
/**
|
|
1382
|
+
* 自定义下拉刷新下拉开始
|
|
1383
|
+
* - use-custom-refresher为false时无效
|
|
1384
|
+
* @param y 当前触摸开始的屏幕点的y值(单位px)
|
|
1385
|
+
*/
|
|
1386
|
+
onRefresherTouchstart?: (y: number) => void
|
|
1387
|
+
|
|
1388
|
+
/**
|
|
1389
|
+
* 自定义下拉刷新下拉拖动中
|
|
1390
|
+
* - use-custom-refresher为false时无效
|
|
1391
|
+
* - 在使用wxs的平台上,为减少wxs与js通信折损,只有在z-paging添加@refresherTouchmove时,wxs才会实时将下拉拖动事件传给js,在微信小程序和QQ小程序中,因$listeners无效,所以必须设置:watch-refresher-touchmove="true"方可使此事件被触发
|
|
1392
|
+
* @param info touchmove信息
|
|
1393
|
+
*/
|
|
1394
|
+
onRefresherTouchmove?: (info: ZPagingParams.RefresherTouchmoveInfo) => void
|
|
1395
|
+
|
|
1396
|
+
/**
|
|
1397
|
+
* 自定义下拉刷新下拉结束
|
|
1398
|
+
* - use-custom-refresher为false时无效
|
|
1399
|
+
* @param y 当前触摸开始的屏幕点的y值(单位px)
|
|
1400
|
+
*/
|
|
1401
|
+
onRefresherTouchend?: (y: number) => void
|
|
1402
|
+
|
|
1403
|
+
/**
|
|
1404
|
+
* 下拉进入二楼状态改变
|
|
1405
|
+
* - use-custom-refresher为false时无效
|
|
1406
|
+
* @param y 当前触摸开始的屏幕点的y值(单位px)
|
|
1407
|
+
* @since 2.7.7
|
|
1408
|
+
*/
|
|
1409
|
+
onRefresherF2Change?: (status: ZPagingEnums.GoF2Status) => void
|
|
1410
|
+
|
|
1411
|
+
/**
|
|
1412
|
+
* 自定义下拉刷新被触发
|
|
1413
|
+
*/
|
|
1414
|
+
onRefresh?: () => void
|
|
1415
|
+
|
|
1416
|
+
/**
|
|
1417
|
+
* 自定义下拉刷新被复位
|
|
1418
|
+
*/
|
|
1419
|
+
onRestore?: () => void
|
|
1420
|
+
|
|
1421
|
+
// ******************** 底部加载更多相关事件 ********************
|
|
1422
|
+
/**
|
|
1423
|
+
* 自定义下拉刷新状态改变
|
|
1424
|
+
* - use-custom-refresher为false时无效
|
|
1425
|
+
* @param status 底部加载更多状态:default:默认状态 loading:加载中 no-more:没有更多数据 fail:加载失败
|
|
1426
|
+
*/
|
|
1427
|
+
onLoadingStatusChange?: (status: ZPagingEnums.LoadMoreStatus) => void
|
|
1428
|
+
|
|
1429
|
+
// ******************** 空数据与加载失败相关事件 ********************
|
|
1430
|
+
/**
|
|
1431
|
+
* 点击了空数据图中的重新加载按钮
|
|
1432
|
+
* @param handler 点击空数据图中重新加载后是否进行reload操作,默认为是。如果需要禁止reload事件,则调用handler(false)
|
|
1433
|
+
* @since 1.8.0
|
|
1434
|
+
*/
|
|
1435
|
+
onEmptyViewReload?: (handler: ZPagingParams.DefaultEventHandler) => void
|
|
1436
|
+
|
|
1437
|
+
/**
|
|
1438
|
+
* 点击了空数据图view
|
|
1439
|
+
* @since 2.3.3
|
|
1440
|
+
*/
|
|
1441
|
+
onEmptyViewClick?: () => void
|
|
1442
|
+
|
|
1443
|
+
/**
|
|
1444
|
+
* z-paging请求失败状态改变
|
|
1445
|
+
* @param isLoadFailed 当前是否是请求失败状态,为true代表是,反之为否;默认状态为否
|
|
1446
|
+
* @since 2.5.0
|
|
1447
|
+
*/
|
|
1448
|
+
onIsLoadFailedChange?: (isLoadFailed: boolean) => void
|
|
1449
|
+
|
|
1450
|
+
// ******************** 返回顶部按钮相关事件 ********************
|
|
1451
|
+
/**
|
|
1452
|
+
* 点击了返回顶部按钮
|
|
1453
|
+
* @param handler 点击返回顶部按钮后是否滚动到顶部,默认为是。如果需要禁止滚动到顶部事件,则调用handler(false)
|
|
1454
|
+
* @since 2.6.1
|
|
1455
|
+
*/
|
|
1456
|
+
onBackToTopClick?: (handler: ZPagingParams.DefaultEventHandler) => void
|
|
1457
|
+
|
|
1458
|
+
// ******************** 虚拟列表&内置列表相关事件 ********************
|
|
1459
|
+
/**
|
|
1460
|
+
* 虚拟列表当前渲染的数组改变时触发,在虚拟列表中只会渲染可见区域内+预加载页面的数据
|
|
1461
|
+
* - nvue无效
|
|
1462
|
+
* @param list 虚拟列表当前渲染的数组
|
|
1463
|
+
* @since 2.2.7
|
|
1464
|
+
*/
|
|
1465
|
+
onVirtualListChange?: (list: any[]) => void
|
|
1466
|
+
|
|
1467
|
+
/**
|
|
1468
|
+
* 使用虚拟列表或内置列表时点击了cell
|
|
1469
|
+
* - nvue无效
|
|
1470
|
+
* @param list 虚拟列表当前渲染的数组
|
|
1471
|
+
* @since 2.4.0
|
|
1472
|
+
*/
|
|
1473
|
+
onInnerCellClick?: (info: ZPagingParams.InnerCellClickInfo) => void
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
* 虚拟列表顶部占位高度改变
|
|
1477
|
+
* - nvue无效
|
|
1478
|
+
* @param height 虚拟列表顶部占位高度(单位:px)
|
|
1479
|
+
* @since 2.7.12
|
|
1480
|
+
*/
|
|
1481
|
+
onVirtualPlaceholderTopHeight?: (height: number) => void
|
|
1482
|
+
|
|
1483
|
+
// ******************** 聊天记录模式相关事件 ********************
|
|
1484
|
+
/**
|
|
1485
|
+
* 在聊天记录模式下,触摸列表隐藏了键盘
|
|
1486
|
+
* - nvue无效
|
|
1487
|
+
* @since 2.3.6
|
|
1488
|
+
*/
|
|
1489
|
+
onHidedKeyboard?: () => void
|
|
1490
|
+
|
|
1491
|
+
/**
|
|
1492
|
+
* 键盘高度改变
|
|
1493
|
+
* @param info 键盘高度信息
|
|
1494
|
+
* @since 2.7.1
|
|
1495
|
+
*/
|
|
1496
|
+
onKeyboardHeightChange?: (info: ZPagingParams.KeyboardHeightInfo) => void
|
|
1497
|
+
|
|
1498
|
+
/**
|
|
1499
|
+
* z-paging列表滚动时触发
|
|
1500
|
+
* @param event 滚动事件信息,vue使用_ScrollInfo,nvue使用_ScrollInfoN
|
|
1501
|
+
*/
|
|
1502
|
+
onScroll?: (event: ZPagingParams.ScrollInfo | ZPagingParams.ScrollInfoN) => void
|
|
1503
|
+
|
|
1504
|
+
/**
|
|
1505
|
+
* scrollTop改变时触发,使用点击返回顶部时需要获取scrollTop时可使用此事件
|
|
1506
|
+
* @param scrollTop
|
|
1507
|
+
*/
|
|
1508
|
+
onScrollTopChange?: (scrollTop: number) => void
|
|
1509
|
+
|
|
1510
|
+
/**
|
|
1511
|
+
* z-paging内置的scroll-view/list-view/waterfall滚动底部时触发
|
|
1512
|
+
*/
|
|
1513
|
+
onScrolltolower?: () => void
|
|
1514
|
+
|
|
1515
|
+
/**
|
|
1516
|
+
* z-paging内置的scroll-view/list-view/waterfall滚动顶部时触发
|
|
1517
|
+
*/
|
|
1518
|
+
onScrolltoupper?: () => void
|
|
1519
|
+
|
|
1520
|
+
/**
|
|
1521
|
+
* z-paging内置的list滚动结束时触发
|
|
1522
|
+
* - 仅nvue有效
|
|
1523
|
+
* @param event 滚动结束时触发事件信息
|
|
1524
|
+
* @since 2.7.3
|
|
1525
|
+
*/
|
|
1526
|
+
onScrollend?: (event: ZPagingParams.ScrollendEvent) => void
|
|
1527
|
+
|
|
1528
|
+
// ******************** 布局&交互相关事件 ********************
|
|
1529
|
+
/**
|
|
1530
|
+
* z-paging中内容高度改变时触发
|
|
1531
|
+
* @param height 改变后的高度
|
|
1532
|
+
* @since 2.1.3
|
|
1533
|
+
*/
|
|
1534
|
+
onContentHeightChanged?: (height: number) => void
|
|
1535
|
+
|
|
1536
|
+
/**
|
|
1537
|
+
* 监听列表触摸方向改变
|
|
1538
|
+
* - nvue无效
|
|
1539
|
+
* - 必须同时设置:watch-touch-direction-change="true"
|
|
1540
|
+
* @param direction 列表触摸的方向,top代表用户将列表向上移动(scrollTop不断减小),bottom代表用户将列表向下移动(scrollTop不断增大)
|
|
1541
|
+
* @since 2.3.0
|
|
1542
|
+
*/
|
|
1543
|
+
onTouchDirectionChange?: (direction: ZPagingEnums.TouchDirection) => void
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
|
|
1547
|
+
// ****************************** Slots ******************************
|
|
1548
|
+
declare interface ZPagingSlots {
|
|
1549
|
+
// ******************** 主体布局Slot ********************
|
|
1550
|
+
/**
|
|
1551
|
+
* 默认插入的列表view
|
|
1552
|
+
*/
|
|
1553
|
+
['default']?: () => any
|
|
1554
|
+
|
|
1555
|
+
/**
|
|
1556
|
+
* 可以将自定义导航栏、tab-view等需要固定的(不需要跟着滚动的)元素放入slot="top"的view中。
|
|
1557
|
+
* 注意,当有多个需要固定的view时,请用一个view包住它们,并且在这个view上设置slot="top"。需要固定在顶部的view请勿设置position: fixed;
|
|
1558
|
+
* @since 1.5.5
|
|
1559
|
+
*/
|
|
1560
|
+
['top']?: () => any
|
|
1561
|
+
|
|
1562
|
+
/**
|
|
1563
|
+
* 可以将需要固定在底部的(不需要跟着滚动的)元素放入slot="bottom"的view中。
|
|
1564
|
+
* 注意,当有多个需要固定的view时,请用一个view包住它们,并且在这个view上设置slot="bottom"。需要固定在底部的view请勿设置position: fixed;
|
|
1565
|
+
* @since 1.6.2
|
|
1566
|
+
*/
|
|
1567
|
+
['bottom']?: () => any
|
|
1568
|
+
|
|
1569
|
+
/**
|
|
1570
|
+
* 可以将需要固定在左侧的(不需要跟着滚动的)元素放入slot="left"的view中。
|
|
1571
|
+
* 注意,当有多个需要固定的view时,请用一个view包住它们,并且在这个view上设置slot="left"。需要固定在左侧的view请勿设置position: fixed;
|
|
1572
|
+
* @since 2.2.3
|
|
1573
|
+
*/
|
|
1574
|
+
['left']?: () => any
|
|
1575
|
+
|
|
1576
|
+
/**
|
|
1577
|
+
* 可以将需要固定在左侧的(不需要跟着滚动的)元素放入slot="right"的view中。
|
|
1578
|
+
* 注意,当有多个需要固定的view时,请用一个view包住它们,并且在这个view上设置slot="right"。需要固定在右侧的view请勿设置position: fixed;
|
|
1579
|
+
* @since 2.2.3
|
|
1580
|
+
*/
|
|
1581
|
+
['right']?: () => any
|
|
1582
|
+
|
|
1583
|
+
// ******************** 下拉刷新Slot ********************
|
|
1584
|
+
/**
|
|
1585
|
+
* 自定义下拉刷新view,设置后则不使用uni自带的下拉刷新view和z-paging自定义的下拉刷新view。此view的style必须设置为height:100%
|
|
1586
|
+
* - 在非nvue中,自定义下拉刷新view的高度受refresher-threshold控制,因此如果它的高度不为默认的80rpx,则需要设置refresher-threshold="自定义下拉刷新view的高度"
|
|
1587
|
+
* @param refresherStatus 下拉刷新状态:default:默认状态 release-to-refresh:松手立即刷新 loading:刷新中 complete:刷新结束 go-f2:松手进入二楼
|
|
1588
|
+
*/
|
|
1589
|
+
['refresher']?: (props: ZPagingParams.RefresherSlotProps) => any
|
|
1590
|
+
|
|
1591
|
+
/**
|
|
1592
|
+
* 自定义结束状态下的下拉刷新view,若设置,当下拉刷新结束时,会替换当前状态下的下拉刷新view。
|
|
1593
|
+
* - 注意:默认情况下您无法看到结束状态的下拉刷新view,除非您设置了refresher-complete-delay并且值足够大,例如:500
|
|
1594
|
+
* @since 2.1.1
|
|
1595
|
+
*/
|
|
1596
|
+
['refresherComplete']?: () => any
|
|
1597
|
+
|
|
1598
|
+
/**
|
|
1599
|
+
* 自定义松手显示二楼状态下的view
|
|
1600
|
+
* @since 2.7.7
|
|
1601
|
+
*/
|
|
1602
|
+
['refresherF2']?: () => any
|
|
1603
|
+
|
|
1604
|
+
/**
|
|
1605
|
+
* 自定义需要插入二楼的view
|
|
1606
|
+
* @since 2.7.7
|
|
1607
|
+
*/
|
|
1608
|
+
['f2']?: () => any
|
|
1609
|
+
|
|
1610
|
+
// ******************** 底部加载更多Slot ********************
|
|
1611
|
+
/**
|
|
1612
|
+
* 自定义滑动到底部"默认"状态的view(即"点击加载更多view")
|
|
1613
|
+
*/
|
|
1614
|
+
['loadingMoreDefault']?: () => any
|
|
1615
|
+
|
|
1616
|
+
/**
|
|
1617
|
+
* 自定义滑动到底部"加载中"状态的view
|
|
1618
|
+
*/
|
|
1619
|
+
['loadingMoreLoading']?: () => any
|
|
1620
|
+
|
|
1621
|
+
/**
|
|
1622
|
+
* 自定义滑动到底部"没有更多数据"状态的view
|
|
1623
|
+
*/
|
|
1624
|
+
['loadingMoreNoMore']?: () => any
|
|
1625
|
+
|
|
1626
|
+
/**
|
|
1627
|
+
* 自定义滑动到底部"加载失败"状态的view
|
|
1628
|
+
*/
|
|
1629
|
+
['loadingMoreFail']?: () => any
|
|
1630
|
+
|
|
1631
|
+
// ******************** 空数据图Slot ********************
|
|
1632
|
+
/**
|
|
1633
|
+
* 自定义空数据占位view
|
|
1634
|
+
* @param isLoadFailed 是否加载失败:true: 加载失败,false: 加载成功
|
|
1635
|
+
*/
|
|
1636
|
+
['empty']?: (props: ZPagingParams.EmptySlotProps) => any
|
|
1637
|
+
|
|
1638
|
+
// ******************** 全屏Loading Slot ********************
|
|
1639
|
+
/**
|
|
1640
|
+
* 自定义页面reload时的加载view
|
|
1641
|
+
* - 注意:这个slot默认仅会在第一次加载时显示,若需要每次reload时都显示,需要将auto-hide-loading-after-first-loaded设置为false
|
|
1642
|
+
*/
|
|
1643
|
+
['loading']?: () => any
|
|
1644
|
+
|
|
1645
|
+
// ******************** 返回顶部按钮Slot ********************
|
|
1646
|
+
/**
|
|
1647
|
+
* 自定义点击返回顶部view
|
|
1648
|
+
* - 注意:此view受“【返回顶部按钮】配置”控制,且其父view默认宽高为76rpx
|
|
1649
|
+
* @since 1.9.4
|
|
1650
|
+
*/
|
|
1651
|
+
['backToTop']?: () => any
|
|
1652
|
+
|
|
1653
|
+
// ******************** 虚拟列表&内置列表Slot ********************
|
|
1654
|
+
/**
|
|
1655
|
+
* 内置列表中的cell
|
|
1656
|
+
* - use-virtual-list或use-inner-list为true时有效
|
|
1657
|
+
* @param item 当前item
|
|
1658
|
+
* @param index 当前index
|
|
1659
|
+
* @since 2.2.5
|
|
1660
|
+
*/
|
|
1661
|
+
['cell']?: (props: ZPagingParams.InnerListCellSlotProps) => any
|
|
1662
|
+
|
|
1663
|
+
/**
|
|
1664
|
+
* 内置列表中的header(在cell顶部且跟随列表滚动)
|
|
1665
|
+
* - use-virtual-list或use-inner-list为true时有效
|
|
1666
|
+
* @since 2.2.5
|
|
1667
|
+
*/
|
|
1668
|
+
['header']?: () => any
|
|
1669
|
+
|
|
1670
|
+
/**
|
|
1671
|
+
* 内置列表中的footer(在cell顶部且跟随列表滚动)
|
|
1672
|
+
* - use-virtual-list或use-inner-list为true时有效
|
|
1673
|
+
* @since 2.2.5
|
|
1674
|
+
*/
|
|
1675
|
+
['footer']?: () => any
|
|
1676
|
+
|
|
1677
|
+
// ******************** 聊天记录模式Slot ********************
|
|
1678
|
+
/**
|
|
1679
|
+
* 使用聊天记录模式时自定义顶部加载更多view(除没有更多数据外)
|
|
1680
|
+
* - use-chat-record-mode为true时有效
|
|
1681
|
+
* @param loadingMoreStatus 底部加载更多状态:default:默认状态 loading:加载中 no-more:没有更多数据 fail:加载失败
|
|
1682
|
+
*/
|
|
1683
|
+
['chatLoading']?: (props: ZPagingParams.ChatLoadingSlotProps) => any
|
|
1684
|
+
|
|
1685
|
+
/**
|
|
1686
|
+
* 使用聊天记录模式时自定义没有更多数据view
|
|
1687
|
+
* - use-chat-record-mode为true时有效
|
|
1688
|
+
* @since 2.7.5
|
|
1689
|
+
*/
|
|
1690
|
+
['chatNoMore']?: () => any
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1693
|
+
// ****************************** Methods ******************************
|
|
1694
|
+
declare interface _ZPagingRef<T = any> {
|
|
1695
|
+
// ******************** 数据刷新&处理方法 ********************
|
|
1696
|
+
/**
|
|
1697
|
+
* 重新加载分页数据,pageNo恢复为默认值,相当于下拉刷新的效果
|
|
1698
|
+
*
|
|
1699
|
+
* @param [animate=false] 是否展示下拉刷新动画
|
|
1700
|
+
*/
|
|
1701
|
+
reload: (animate?: boolean) => Promise< ZPagingParams.ReturnData<T>>;
|
|
1702
|
+
|
|
1703
|
+
/**
|
|
1704
|
+
* 刷新列表数据,pageNo和pageSize不会重置,列表数据会重新从服务端获取
|
|
1705
|
+
*
|
|
1706
|
+
* @since 2.0.4
|
|
1707
|
+
* @returns {Promise<ZPagingParams.ReturnData<T>>} Promise,当前最新分页结果:
|
|
1708
|
+
* - resolve 操作成功
|
|
1709
|
+
* - - `totalList` (T[]): 当前总列表
|
|
1710
|
+
* - - `noMore` (boolean): 是否没有更多数据
|
|
1711
|
+
* - reject 操作失败
|
|
1712
|
+
*/
|
|
1713
|
+
refresh: () => Promise<ZPagingParams.ReturnData<T>>;
|
|
1714
|
+
|
|
1715
|
+
/**
|
|
1716
|
+
* 刷新列表数据至指定页
|
|
1717
|
+
*
|
|
1718
|
+
* @since 2.5.9
|
|
1719
|
+
* @param page 目标页数
|
|
1720
|
+
* @returns {Promise<ZPagingParams.ReturnData<T>>} Promise,当前最新分页结果:
|
|
1721
|
+
* - resolve 操作成功
|
|
1722
|
+
* - - `totalList` (T[]): 当前总列表
|
|
1723
|
+
* - - `noMore` (boolean): 是否没有更多数据
|
|
1724
|
+
* - reject 操作失败
|
|
1725
|
+
*/
|
|
1726
|
+
refreshToPage: (page: number) => Promise<ZPagingParams.ReturnData<T>>;
|
|
1727
|
+
|
|
1728
|
+
/**
|
|
1729
|
+
* 请求结束
|
|
1730
|
+
* - 当通过complete传进去的数组长度小于pageSize时,则判定为没有更多了
|
|
1731
|
+
*
|
|
1732
|
+
* @param [data] 请求结果数组
|
|
1733
|
+
* @param [success=true] 是否请求成功
|
|
1734
|
+
* @returns {Promise<ZPagingParams.ReturnData<T>>} Promise,当前最新分页结果:
|
|
1735
|
+
* - resolve 操作成功
|
|
1736
|
+
* - - `totalList` (T[]): 当前总列表
|
|
1737
|
+
* - - `noMore` (boolean): 是否没有更多数据
|
|
1738
|
+
* - reject 操作失败
|
|
1739
|
+
*/
|
|
1740
|
+
complete: (data?: T[] | false, success?: boolean) => Promise<ZPagingParams.ReturnData<T>>;
|
|
1741
|
+
|
|
1742
|
+
/**
|
|
1743
|
+
* 请求结束
|
|
1744
|
+
* - 通过total判断是否有更多数据
|
|
1745
|
+
*
|
|
1746
|
+
* @since 2.0.6
|
|
1747
|
+
* @param data 请求结果数组
|
|
1748
|
+
* @param total 列表总长度
|
|
1749
|
+
* @param [success=true] 是否请求成功
|
|
1750
|
+
* @returns {Promise<ZPagingParams.ReturnData<T>>} Promise,当前最新分页结果:
|
|
1751
|
+
* - resolve 操作成功
|
|
1752
|
+
* - - `totalList` (T[]): 当前总列表
|
|
1753
|
+
* - - `noMore` (boolean): 是否没有更多数据
|
|
1754
|
+
* - reject 操作失败
|
|
1755
|
+
*/
|
|
1756
|
+
completeByTotal: (data: T[], total: number, success?: boolean) => Promise<ZPagingParams.ReturnData<T>>;
|
|
1757
|
+
|
|
1758
|
+
/**
|
|
1759
|
+
* 请求结束
|
|
1760
|
+
* - 自行判断是否有更多数据
|
|
1761
|
+
*
|
|
1762
|
+
* @since 1.9.2
|
|
1763
|
+
* @param data 请求结果数组
|
|
1764
|
+
* @param noMore 是否没有更多数据
|
|
1765
|
+
* @param [success=true] 是否请求成功
|
|
1766
|
+
* @returns {Promise<ZPagingParams.ReturnData<T>>} Promise,当前最新分页结果:
|
|
1767
|
+
* - resolve 操作成功
|
|
1768
|
+
* - - `totalList` (T[]): 当前总列表
|
|
1769
|
+
* - - `noMore` (boolean): 是否没有更多数据
|
|
1770
|
+
* - reject 操作失败
|
|
1771
|
+
*/
|
|
1772
|
+
completeByNoMore: (data: T[], noMore: boolean, success?: boolean) => Promise<ZPagingParams.ReturnData<T>>;
|
|
1773
|
+
|
|
1774
|
+
/**
|
|
1775
|
+
* 请求失败
|
|
1776
|
+
* - 通过方法传入请求失败原因,将请求失败原因传递给z-paging展示
|
|
1777
|
+
*
|
|
1778
|
+
* @since 2.6.3
|
|
1779
|
+
* @param cause 请求失败原因
|
|
1780
|
+
* @returns {Promise<ZPagingParams.ReturnData<T>>} Promise,当前最新分页结果:
|
|
1781
|
+
* - resolve 操作成功
|
|
1782
|
+
* - - `totalList` (T[]): 当前总列表
|
|
1783
|
+
* - - `noMore` (boolean): 是否没有更多数据
|
|
1784
|
+
* - reject 操作失败
|
|
1785
|
+
*/
|
|
1786
|
+
completeByError: (cause: string) => Promise<ZPagingParams.ReturnData<T>>;
|
|
1787
|
+
|
|
1788
|
+
/**
|
|
1789
|
+
* 请求结束
|
|
1790
|
+
* - 保证数据一致
|
|
1791
|
+
*
|
|
1792
|
+
* @since 1.6.4
|
|
1793
|
+
* @param data 请求结果数组
|
|
1794
|
+
* @param key dataKey,需与:data-key绑定的一致
|
|
1795
|
+
* @param [success=true] 是否请求成功
|
|
1796
|
+
* @returns {Promise<ZPagingParams.ReturnData<T>>} Promise,当前最新分页结果:
|
|
1797
|
+
* - resolve 操作成功
|
|
1798
|
+
* - - `totalList` (T[]): 当前总列表
|
|
1799
|
+
* - - `noMore` (boolean): 是否没有更多数据
|
|
1800
|
+
* - reject 操作失败
|
|
1801
|
+
*/
|
|
1802
|
+
completeByKey: (data: T[], key: string, success?: boolean) => Promise<ZPagingParams.ReturnData<T>>;
|
|
1803
|
+
|
|
1804
|
+
/**
|
|
1805
|
+
* 清空分页数据,pageNo恢复为默认值
|
|
1806
|
+
*
|
|
1807
|
+
* @since 2.1.0
|
|
1808
|
+
*/
|
|
1809
|
+
clear: () => void;
|
|
1810
|
+
|
|
1811
|
+
/**
|
|
1812
|
+
* 从顶部添加数据,不会影响分页的pageNo和pageSize
|
|
1813
|
+
*
|
|
1814
|
+
* @param data 需要添加的数据,可以是一条数据或一组数据
|
|
1815
|
+
* @param [scrollToTop=true] 是否滚动到顶部,不填默认为true
|
|
1816
|
+
* @param [animate=true] 是否使用动画滚动到顶部
|
|
1817
|
+
*/
|
|
1818
|
+
addDataFromTop: (data: _Arrayable<T>, scrollToTop?: boolean, animate?: boolean) => void;
|
|
1819
|
+
|
|
1820
|
+
/**
|
|
1821
|
+
* 【不推荐】重新设置列表数据,调用此方法不会影响pageNo和pageSize,也不会触发请求
|
|
1822
|
+
* - 适用场景:当需要删除列表中某一项时,将删除对应项后的数组通过此方法传递给z-paging
|
|
1823
|
+
*
|
|
1824
|
+
* @param data 修改后的列表数组
|
|
1825
|
+
*/
|
|
1826
|
+
resetTotalData: (data: T[]) => void;
|
|
1827
|
+
|
|
1828
|
+
// ******************** 下拉刷新相关方法 ********************
|
|
1829
|
+
/**
|
|
1830
|
+
* 终止下拉刷新状态
|
|
1831
|
+
*
|
|
1832
|
+
* @since 2.1.0
|
|
1833
|
+
*/
|
|
1834
|
+
endRefresh: () => void;
|
|
1835
|
+
|
|
1836
|
+
/**
|
|
1837
|
+
* 手动更新自定义下拉刷新view高度
|
|
1838
|
+
* - 常用于某些情况下使用slot="refresher"插入的view高度未能正确计算导致异常时手动更新其高度
|
|
1839
|
+
*
|
|
1840
|
+
* @since 2.6.1
|
|
1841
|
+
*/
|
|
1842
|
+
updateCustomRefresherHeight: () => void;
|
|
1843
|
+
|
|
1844
|
+
/**
|
|
1845
|
+
* 手动关闭二楼
|
|
1846
|
+
*
|
|
1847
|
+
* @since 2.7.7
|
|
1848
|
+
*/
|
|
1849
|
+
closeF2: () => void;
|
|
1850
|
+
|
|
1851
|
+
// ******************** 底部加载更多相关方法 ********************
|
|
1852
|
+
/**
|
|
1853
|
+
* 手动触发上拉加载更多
|
|
1854
|
+
* - 非必须,可依据具体需求使用,例如当z-paging未确定高度时,内部的scroll-view会无限增高,此时z-paging无法得知是否滚动到底部,您可以在页面的onReachBottom中手动调用此方法触发上拉加载更多
|
|
1855
|
+
*
|
|
1856
|
+
* @param [source] 触发加载更多的来源类型
|
|
1857
|
+
*/
|
|
1858
|
+
doLoadMore: (source?: "click" | "toBottom") => void;
|
|
1859
|
+
|
|
1860
|
+
// ******************** 页面滚动&布局相关方法 ********************
|
|
1861
|
+
/**
|
|
1862
|
+
* 当使用页面滚动并且自定义下拉刷新时,请在页面的onPageScroll中调用此方法,告知z-paging当前的pageScrollTop,否则会导致在任意位置都可以下拉刷新
|
|
1863
|
+
* - 若引入了mixins,则不需要调用此方法
|
|
1864
|
+
*
|
|
1865
|
+
* @param scrollTop 从page的onPageScroll中获取的scrollTop
|
|
1866
|
+
*/
|
|
1867
|
+
updatePageScrollTop: (scrollTop: number) => void;
|
|
1868
|
+
|
|
1869
|
+
/**
|
|
1870
|
+
* 在使用页面滚动并且设置了slot="top"时,默认初次加载会自动获取其高度,并使内部容器下移,当slot="top"的view高度动态改变时,在其高度需要更新时调用此方法
|
|
1871
|
+
*/
|
|
1872
|
+
updatePageScrollTopHeight: () => void;
|
|
1873
|
+
|
|
1874
|
+
/**
|
|
1875
|
+
* 在使用页面滚动并且设置了slot="bottom"时,默认初次加载会自动获取其高度,并使内部容器下移,当slot="bottom"的view高度动态改变时,在其高度需要更新时调用此方法
|
|
1876
|
+
*/
|
|
1877
|
+
updatePageScrollBottomHeight: () => void;
|
|
1878
|
+
|
|
1879
|
+
/**
|
|
1880
|
+
* 更新slot="left"和slot="right"宽度,当slot="left"或slot="right"宽度动态改变后调用
|
|
1881
|
+
*
|
|
1882
|
+
* @since 2.3.5
|
|
1883
|
+
*/
|
|
1884
|
+
updateLeftAndRightWidth: () => void;
|
|
1885
|
+
|
|
1886
|
+
/**
|
|
1887
|
+
* 更新fixed模式下z-paging的布局,在onShow时候调用,以修复在iOS+h5+tabbar+fixed+底部有安全区域的设备中从tabbar页面跳转到无tabbar页面后返回,底部有一段空白区域的问题
|
|
1888
|
+
*
|
|
1889
|
+
* @since 2.6.5
|
|
1890
|
+
*/
|
|
1891
|
+
updateFixedLayout: () => void;
|
|
1892
|
+
|
|
1893
|
+
// ******************** 虚拟列表相关方法 ********************
|
|
1894
|
+
/**
|
|
1895
|
+
* 在使用动态高度虚拟列表时,若在列表数组中需要插入某个item,需要调用此方法
|
|
1896
|
+
*
|
|
1897
|
+
* @since 2.5.9
|
|
1898
|
+
* @param item 插入的数据项
|
|
1899
|
+
* @param index 插入的cell位置,若为2,则插入的item在原list的index=1之后,从0开始
|
|
1900
|
+
*/
|
|
1901
|
+
doInsertVirtualListItem: (item: T, index: number) => void;
|
|
1902
|
+
|
|
1903
|
+
/**
|
|
1904
|
+
* 在使用动态高度虚拟列表时,手动更新指定cell的缓存高度
|
|
1905
|
+
* - 当cell高度在初始化之后再次改变时调用
|
|
1906
|
+
*
|
|
1907
|
+
* @since 2.4.0
|
|
1908
|
+
* @param index 需要更新的cell在列表中的位置,从0开始
|
|
1909
|
+
*/
|
|
1910
|
+
didUpdateVirtualListCell: (index: number) => void;
|
|
1911
|
+
|
|
1912
|
+
/**
|
|
1913
|
+
* 在使用动态高度虚拟列表时,若删除了列表数组中的某个item,需要调用此方法以更新高度缓存数组
|
|
1914
|
+
*
|
|
1915
|
+
* @since 2.4.0
|
|
1916
|
+
* @param index 需要更新的cell在列表中的位置,从0开始
|
|
1917
|
+
*/
|
|
1918
|
+
didDeleteVirtualListCell: (index: number) => void;
|
|
1919
|
+
|
|
1920
|
+
/**
|
|
1921
|
+
* 手动触发虚拟列表渲染更新,可用于解决例如修改了虚拟列表数组中元素,但展示未更新的情况
|
|
1922
|
+
*
|
|
1923
|
+
* @since 2.7.11
|
|
1924
|
+
*/
|
|
1925
|
+
updateVirtualListRender: () => void;
|
|
1926
|
+
|
|
1927
|
+
// ******************** 本地分页相关方法 ********************
|
|
1928
|
+
/**
|
|
1929
|
+
* 设置本地分页,请求结束(成功或者失败)调用此方法,将请求的结果传递给z-paging作分页处理
|
|
1930
|
+
* - 若调用了此方法,则上拉加载更多时内部会自动分页,不会触发@query所绑定的事件
|
|
1931
|
+
*
|
|
1932
|
+
* @param data 请求结果数组
|
|
1933
|
+
* @param [success=true] 是否请求成功
|
|
1934
|
+
* @returns {Promise<ZPagingParams.ReturnData<T>>} Promise,当前最新分页结果:
|
|
1935
|
+
* - resolve 操作成功
|
|
1936
|
+
* - - `totalList` (T[]): 当前总列表
|
|
1937
|
+
* - - `noMore` (boolean): 是否没有更多数据
|
|
1938
|
+
* - reject 操作失败
|
|
1939
|
+
*/
|
|
1940
|
+
setLocalPaging: (data: T[], success?: boolean) => Promise<ZPagingParams.ReturnData<T>>;
|
|
1941
|
+
|
|
1942
|
+
// ******************** 聊天记录模式相关方法 ********************
|
|
1943
|
+
/**
|
|
1944
|
+
* 手动触发滚动到顶部加载更多,聊天记录模式时有效
|
|
1945
|
+
*/
|
|
1946
|
+
doChatRecordLoadMore: () => void;
|
|
1947
|
+
|
|
1948
|
+
/**
|
|
1949
|
+
* 添加聊天记录,use-chat-record-mode为true时有效
|
|
1950
|
+
*
|
|
1951
|
+
* @param data 需要添加的聊天数据,可以是一条数据或一组数据
|
|
1952
|
+
* @param [scrollToBottom=true] 是否滚动到底部
|
|
1953
|
+
* @param [animate=true] 是否使用动画滚动到底部
|
|
1954
|
+
*/
|
|
1955
|
+
addChatRecordData: (data: _Arrayable<T>, scrollToBottom?: boolean, animate?: boolean) => void;
|
|
1956
|
+
|
|
1957
|
+
// ******************** 滚动到指定位置方法 ********************
|
|
1958
|
+
/**
|
|
1959
|
+
* 滚动到顶部
|
|
1960
|
+
*
|
|
1961
|
+
* @param [animate=true] 是否有动画效果
|
|
1962
|
+
*/
|
|
1963
|
+
scrollToTop: (animate?: boolean) => void;
|
|
1964
|
+
|
|
1965
|
+
/**
|
|
1966
|
+
* 滚动到底部
|
|
1967
|
+
*
|
|
1968
|
+
* @param [animate=true] 是否有动画效果
|
|
1969
|
+
*/
|
|
1970
|
+
scrollToBottom: (animate?: boolean) => void;
|
|
1971
|
+
|
|
1972
|
+
/**
|
|
1973
|
+
* 滚动到指定view
|
|
1974
|
+
* - vue中有效,若此方法无效,请使用scrollIntoViewByNodeTop
|
|
1975
|
+
*
|
|
1976
|
+
* @param id 需要滚动到的view的id值,不包含"#"
|
|
1977
|
+
* @param [offset=0] 偏移量,单位为px
|
|
1978
|
+
* @param [animate=false] 是否有动画效果
|
|
1979
|
+
*/
|
|
1980
|
+
scrollIntoViewById: (id: string, offset?: number, animate?: boolean) => void;
|
|
1981
|
+
|
|
1982
|
+
/**
|
|
1983
|
+
* 滚动到指定view
|
|
1984
|
+
* - vue中有效
|
|
1985
|
+
*
|
|
1986
|
+
* @since 1.7.4
|
|
1987
|
+
* @param top 需要滚动的view的top值(通过uni.createSelectorQuery()获取)
|
|
1988
|
+
* @param [offset=0] 偏移量,单位为px
|
|
1989
|
+
* @param [animate=false] 是否有动画效果
|
|
1990
|
+
*/
|
|
1991
|
+
scrollIntoViewByNodeTop: (top: number, offset?: number, animate?: boolean) => void;
|
|
1992
|
+
|
|
1993
|
+
/**
|
|
1994
|
+
* y轴滚动到指定位置
|
|
1995
|
+
* - vue中有效
|
|
1996
|
+
* - 与scrollIntoViewByNodeTop的不同之处在于,scrollToY传入的是view相对于屏幕的top值,而scrollIntoViewByNodeTop传入的top值并非是固定的,通过uni.createSelectorQuery()获取到的top会因列表滚动而改变
|
|
1997
|
+
*
|
|
1998
|
+
* @since 2.1.0
|
|
1999
|
+
* @param y 与顶部的距离,单位为px
|
|
2000
|
+
* @param [offset=0] 偏移量,单位为px
|
|
2001
|
+
* @param [animate=false] 是否有动画效果
|
|
2002
|
+
*/
|
|
2003
|
+
scrollToY: (y: number, offset?: number, animate?: boolean) => void;
|
|
2004
|
+
|
|
2005
|
+
/**
|
|
2006
|
+
* x轴滚动到指定位置
|
|
2007
|
+
* - 非页面滚动且在vue中有效
|
|
2008
|
+
*
|
|
2009
|
+
* @since 2.8.5
|
|
2010
|
+
* @param x 与左侧的距离,单位为px
|
|
2011
|
+
* @param [offset=0] 偏移量,单位为px
|
|
2012
|
+
* @param [animate=false] 是否有动画效果
|
|
2013
|
+
*/
|
|
2014
|
+
scrollToX: (x: number, offset?: number, animate?: boolean) => void;
|
|
2015
|
+
|
|
2016
|
+
/**
|
|
2017
|
+
* 滚动到指定view
|
|
2018
|
+
* - nvue或虚拟列表中有效
|
|
2019
|
+
* - 在nvue中的cell必须设置 :ref="`z-paging-${index}`"
|
|
2020
|
+
*
|
|
2021
|
+
* @param index 需要滚动到的view的index(第几个)
|
|
2022
|
+
* @param [offset=0] 偏移量,单位为px
|
|
2023
|
+
* @param [animate=false] 是否有动画效果
|
|
2024
|
+
*/
|
|
2025
|
+
scrollIntoViewByIndex: (index: number, offset?: number, animate?: boolean) => void;
|
|
2026
|
+
|
|
2027
|
+
/**
|
|
2028
|
+
* 滚动到指定view
|
|
2029
|
+
* - nvue中有效
|
|
2030
|
+
*
|
|
2031
|
+
* @param view 需要滚动到的view(通过this.$refs.xxx获取)
|
|
2032
|
+
* @param [offset=0] 偏移量,单位为px
|
|
2033
|
+
* @param [animate=false] 是否有动画效果
|
|
2034
|
+
*/
|
|
2035
|
+
scrollIntoViewByView: (view: any, offset?: number, animate?: boolean) => void;
|
|
2036
|
+
|
|
2037
|
+
/**
|
|
2038
|
+
* 设置nvue List的specialEffects
|
|
2039
|
+
*
|
|
2040
|
+
* @since 2.0.4
|
|
2041
|
+
* @param args 参见https://uniapp.dcloud.io/component/list?id=listsetspecialeffects
|
|
2042
|
+
*/
|
|
2043
|
+
setSpecialEffects: (args: ZPagingParams.SetSpecialEffectsArgs) => void;
|
|
2044
|
+
|
|
2045
|
+
// ******************** nvue独有方法 ********************
|
|
2046
|
+
/**
|
|
2047
|
+
* 与{@link setSpecialEffects}相同
|
|
2048
|
+
*
|
|
2049
|
+
* @since 2.0.4
|
|
2050
|
+
*/
|
|
2051
|
+
setListSpecialEffects: (args: ZPagingParams.SetSpecialEffectsArgs) => void;
|
|
2052
|
+
|
|
2053
|
+
// ******************** 缓存相关方法 ********************
|
|
2054
|
+
/**
|
|
2055
|
+
* 手动更新列表缓存数据,将自动截取v-model绑定的list中的前pageSize条覆盖缓存,请确保在list数据更新到预期结果后再调用此方法
|
|
2056
|
+
*
|
|
2057
|
+
* @since 2.3.9
|
|
2058
|
+
*/
|
|
2059
|
+
updateCache: () => void;
|
|
2060
|
+
|
|
2061
|
+
// ******************** 获取版本号方法 ********************
|
|
2062
|
+
/**
|
|
2063
|
+
* 获取当前版本号
|
|
2064
|
+
*/
|
|
2065
|
+
getVersion: () => string;
|
|
2066
|
+
}
|
|
2067
|
+
|
|
2068
|
+
declare interface _ZPaging {
|
|
2069
|
+
new (): {
|
|
2070
|
+
$props: AllowedComponentProps &
|
|
2071
|
+
VNodeProps &
|
|
2072
|
+
ZPagingProps
|
|
2073
|
+
$slots: ZPagingSlots
|
|
2074
|
+
}
|
|
2075
|
+
}
|
|
2076
|
+
|
|
2077
|
+
export declare const ZPaging: _ZPaging
|
|
2078
|
+
|
|
2079
|
+
declare global {
|
|
2080
|
+
interface ZPagingRef<T = any> extends _ZPagingRef<T> {}
|
|
2081
|
+
// 兼容v2.8.1之前的旧版本
|
|
2082
|
+
interface ZPagingInstance<T = any> extends _ZPagingRef<T> {}
|
|
2083
|
+
}
|