pages-index-msgList.5c20bc26.js
101 KB
import{o as e,c as t,w as i,b as o,J as a,d as s,t as r,K as l,f as h,v as n,p as d,q as c,i as g,L as u,M as p,N as f,O as m,j as T,F as y,P as S,a as w,I as R,Q as C,R as A,s as x,h as M,S as I,T as L,$ as v,U as k,V as b,u as P,W as D,k as B,X as V,r as E,n as z}from"./index-faed4152.js";import{_ as H}from"./uni-section.c1d028c1.js";import{r as N}from"./uni-app.es.32d1ec75.js";import{_}from"./_plugin-vue_export-helper.1b428a4d.js";import{g as F,r as U}from"./api.6a2ba825.js";const O="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAD1BMVEVHcExRUVFMTExRUVFRUVE9CdWsAAAABHRSTlMAjjrY9ZnUjwAAAQFJREFUWMPt2MsNgzAMgGEEE1B1gKJmAIRYoCH7z9RCXrabh33iYktcIv35EEg5ZBh07pvxJU6MFSPOSRnjnBUjUsaciRUjMsb4xIoRCWNiYsUInzE5sWKEyxiYWDbyefqHx1zIeiYTk7mQYziTYecxHvEJjwmIT3hMQELCYSISEg4TkZj0mYTEpM8kJCU9JiMp6TEZyUmbAUhO2gxAQNJiIAKSFgMRmNQZhMCkziAEJTUGIyipMRjBSZkhCE7KDEFIUmTeGCHJxWz0zXaE0GTCG8ZFtEaS347r/1fe11YyHYVfubxayfjoHmc0YYwmmmiiiSaaaKLJ7ckyz5ve+dw3Xw2emdwm9xSbAAAAAElFTkSuQmCC",Q="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAElBMVEVHcEz///////////////////+IGTx/AAAABnRSTlMA/dAkXZOhASU/AAABYElEQVRYw+2YwXLCIBCGsdAHWGbyAKZ4zxi9O017rxLf/1UaWFAgA1m8dcpedNSPf/l/Vh0Ya/Wn6hN0JcGvoCqRM4C8VBFiDwBqqNuJKV0rAnCgy3AUqZE57x0iqTL8Br4U3WBf/YWaIlTKfAcELU/h9w72CSVPa3C3OCDvhpH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KAym9IMfckKv4olMBCeIrWwVEfvkshzQekO9r9P1/ALk+IG1eSPCDiCJfyG+FyU+A6ZCa/piZDinpz7LpkCv5gdkAEshP5emQhv7onw6pGeULyZCSUYiRDAmMkpJkCKs4JhFSq8p8hJBSVbAkhARV6ZUQoisik0FqXTmcDHLVFfbJIEFXoiiCNMpiSxGkVJaNiiBBWQArgTTaUl4JpNQWJUsgQVteXQg+AKkLxQWFGKW+5J2+eVp4S168X3CF1CltCKdTJ8lb84YK2bUBO+wZW0Pqv9nk4tKu49N45NJC5dMM5tLW5tOg59Jq6NM06dL+abFXwr/RkuvTXJwae1abtE/Dt0/ruksTvs84AZ/BCC4jHnyGVfiM3VBQFANEXEah+Ax18RlP4zNox2dkkM/wI58xTn8yDCXGYCDV3W5RGSajtXyGhG1jbpbjzpwGt/0MJft8jqC7iUbQ/QZaxdnKqcIftwAAAABJRU5ErkJggg==";const $=_({name:"z-paging-empty-view",data:()=>({}),props:{emptyViewText:{type:String,default:"没有数据哦~"},emptyViewImg:{type:String,default:""},showEmptyViewReload:{type:Boolean,default:!1},emptyViewReloadText:{type:String,default:"重新加载"},isLoadFailed:{type:Boolean,default:!1},emptyViewStyle:{type:Object,default:function(){return{}}},emptyViewImgStyle:{type:Object,default:function(){return{}}},emptyViewTitleStyle:{type:Object,default:function(){return{}}},emptyViewReloadStyle:{type:Object,default:function(){return{}}},emptyViewZIndex:{type:Number,default:9},emptyViewFixed:{type:Boolean,default:!0}},computed:{emptyImg(){return this.isLoadFailed?Z:G},finalEmptyViewStyle(){return this.emptyViewStyle["z-index"]=this.emptyViewZIndex,this.emptyViewStyle}},methods:{reloadClick(){this.$emit("reload")},emptyViewClick(){this.$emit("viewClick")}}},[["render",function(u,p,f,m,T,y){const S=d,w=c,R=g;return e(),t(R,{class:n({"zp-container":!0,"zp-container-fixed":f.emptyViewFixed}),style:a([y.finalEmptyViewStyle]),onClick:y.emptyViewClick},{default:i((()=>[o(R,{class:"zp-main"},{default:i((()=>[f.emptyViewImg.length?(e(),t(S,{key:1,class:"zp-main-image",mode:"aspectFit",style:a([f.emptyViewImgStyle]),src:f.emptyViewImg},null,8,["style","src"])):(e(),t(S,{key:0,class:"zp-main-image",style:a([f.emptyViewImgStyle]),src:y.emptyImg},null,8,["style","src"])),o(w,{class:"zp-main-title",style:a([f.emptyViewTitleStyle])},{default:i((()=>[s(r(f.emptyViewText),1)])),_:1},8,["style"]),f.showEmptyViewReload?(e(),t(w,{key:2,class:"zp-main-error-btn",style:a([f.emptyViewReloadStyle]),onClick:l(y.reloadClick,["stop"])},{default:i((()=>[s(r(f.emptyViewReloadText),1)])),_:1},8,["style","onClick"])):h("",!0)])),_:1})])),_:1},8,["class","style","onClick"])}],["__scopeId","data-v-1d521ff0"]]),q="2.5.9",X=100,ee="z-paging-error-emit",te="z-paging-complete-emit",ie="z-paging-cache",oe="zp_index",ae="zp_unique_index";let se=null,re=!1;const le={setConfig:function(e){u("Z-PAGING-CONFIG-STORAGE-KEY",e)},getConfig:function(){return re||(se=p("Z-PAGING-CONFIG-STORAGE-KEY"),re=!0),se}},he={},ne="Z-PAGING-REFRESHER-TIME-STORAGE-KEY";let de=null;const ce={};function ge(){return p(ne)}function ue(){return(new Date).getTime()}function pe(e){return 1===(e=e.toString()).length?"0"+e:e}const fe={gc:function(e,t){if(!de)if(he&&Object.keys(he).length)de=he;else{const e=le.getConfig();le&&e&&(de=e)}if(!de)return t;const i=de[function(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}(e)];return void 0===i?t:i},setRefesrherTime:function(e,t){const i=ge()||{};i[t]=e,u(ne,i)},getRefesrherFormatTimeByKey:function(e,t){const i=function(e){const t=ge();return t&&t[e]?t[e]:null}(e),o=i?function(e,t){const i=new Date(e),o=new Date,a=new Date(e).setHours(0,0,0,0),s=(new Date).setHours(0,0,0,0),r=a-s;let l="";const h=function(e){const t=e.getHours(),i=e.getMinutes();return`${pe(t)}:${pe(i)}`}(i);l=0===r?t.today:-864e5===r?t.yesterday:function(e,t=!0){const i=e.getFullYear(),o=e.getMonth()+1,a=e.getDate();return t?`${i}-${pe(o)}-${pe(a)}`:`${pe(o)}-${pe(a)}`}(i,i.getFullYear()!==o.getFullYear());return`${l} ${h}`}(i,t):t.none;return`${t.title}${o}`},getTouch:function(e){let t=null;if(e.touches&&e.touches.length)t=e.touches[0];else if(e.changedTouches&&e.changedTouches.length)t=e.changedTouches[0];else{if(!e.datail||e.datail=={})return{touchX:0,touchY:0};t=e.datail}return{touchX:t.clientX,touchY:t.clientY}},getTouchFromZPaging:function e(t){if(t&&t.tagName&&"BODY"!==t.tagName&&"UNI-PAGE-BODY"!==t.tagName){const i=t.classList;return i&&i.contains("z-paging-content")?{isFromZp:!0,isPageScroll:i.contains("z-paging-content-page"),isReachedTop:i.contains("z-paging-reached-top")}:e(t.parentNode)}return{isFromZp:!1}},getParent:function e(t){return t?t.$refs.paging?t:e(t.$parent):null},convertToPx:function(e){if("[object Number]"===Object.prototype.toString.call(e))return e;let t=!1;return-1!==e.indexOf("rpx")||-1!==e.indexOf("upx")?(e=e.replace("rpx","").replace("upx",""),t=!0):-1!==e.indexOf("px")&&(e=e.replace("px","")),isNaN(e)?0:Number(t?f(e):e)},getTime:ue,getInstanceId:function(){const e=[];for(let t=0;t<10;t++)e[t]="0123456789abcdef".substr(Math.floor(16*Math.random()),1);return e.join("")+ue()},consoleErr:function(e){console.error(`[z-paging]${e}`)},delay:function(e,t=X,i){const o=setTimeout(e,t);return i&&(ce[i]&&clearTimeout(ce[i]),ce[i]=o),o},wait:function(e){return new Promise((t=>{setTimeout(t,e)}))}},me={LoadingType:{Refresher:0,LoadingMore:1},Refresher:{Default:0,ReleaseToRefresh:1,Loading:2,Complete:3},More:{Default:0,Loading:1,NoMore:2,Fail:3},QueryFrom:{UserPullDown:0,Reload:1,Refresh:2,LoadingMore:3},CellHeightMode:{Fixed:"fixed",Dynamic:"dynamic"},CacheMode:{Default:"default",Always:"always"}};const Te=_({name:"z-paging-refresh",data:()=>({R:me.Refresher,isIos:"ios"===m().platform,refresherTimeText:"",zTheme:{title:{white:"#efefef",black:"#555555"},arrow:{white:Q,black:O},flower:{white:j,black:W},success:{white:J,black:K},indicator:{white:"#eeeeee",black:"#777777"}}}),props:["status","defaultThemeStyle","defaultText","pullingText","refreshingText","completeText","defaultImg","pullingImg","refreshingImg","completeImg","refreshingAnimated","showUpdateTime","updateTimeKey","imgStyle","titleStyle","updateTimeStyle","updateTimeTextMap"],computed:{ts(){return this.defaultThemeStyle},statusTextArr(){return this.updateTime(),[this.defaultText,this.pullingText,this.refreshingText,this.completeText]},currentTitle(){return this.statusTextArr[this.status]||this.defaultText},leftImageClass(){return this.status===this.R.Complete?"zp-r-left-image-pre-size":"zp-r-left-image zp-r-left-image-pre-size "+(this.status===this.R.Default?"zp-r-arrow-down":"zp-r-arrow-top")},leftImageStyle(){const e=this.showUpdateTime,t=e?"36rpx":"30rpx";return{width:t,height:t,"margin-right":e?"20rpx":"9rpx"}},leftImageSrc(){const e=this.R,t=this.status;return t===e.Default?this.defaultImg?this.defaultImg:this.zTheme.arrow[this.ts]:t===e.ReleaseToRefresh?this.pullingImg?this.pullingImg:this.defaultImg?this.defaultImg:this.zTheme.arrow[this.ts]:t===e.Loading?this.refreshingImg?this.refreshingImg:this.zTheme.flower[this.ts]:t===e.Complete?this.completeImg?this.completeImg:this.zTheme.success[this.ts]:""},rightTextStyle(){let e={};return e.color=this.zTheme.title[this.ts],e}},methods:{updateTime(){this.showUpdateTime&&(this.refresherTimeText=fe.getRefesrherFormatTimeByKey(this.updateTimeKey,this.updateTimeTextMap))}}},[["render",function(l,u,p,f,m,T){const y=d,S=g,w=c;return e(),t(S,{style:{height:"100%"}},{default:i((()=>[o(S,{class:n(p.showUpdateTime?"zp-r-container zp-r-container-padding":"zp-r-container")},{default:i((()=>[o(S,{class:"zp-r-left"},{default:i((()=>[p.status!==m.R.Loading?(e(),t(y,{key:0,class:n(T.leftImageClass),style:a([T.leftImageStyle,p.imgStyle]),src:T.leftImageSrc},null,8,["class","style","src"])):(e(),t(y,{key:1,class:n({"zp-line-loading-image":p.refreshingAnimated,"zp-r-left-image":!0}),style:a([T.leftImageStyle,p.imgStyle]),src:T.leftImageSrc},null,8,["class","style","src"]))])),_:1}),o(S,{class:"zp-r-right"},{default:i((()=>[o(w,{class:"zp-r-right-text",style:a([T.rightTextStyle,p.titleStyle])},{default:i((()=>[s(r(T.currentTitle),1)])),_:1},8,["style"]),p.showUpdateTime&&m.refresherTimeText.length?(e(),t(w,{key:0,class:"zp-r-right-text zp-r-right-time-text",style:a([T.rightTextStyle,p.updateTimeStyle])},{default:i((()=>[s(r(m.refresherTimeText),1)])),_:1},8,["style"])):h("",!0)])),_:1})])),_:1},8,["class"])])),_:1})}],["__scopeId","data-v-a5470c58"]]);const ye=_({name:"z-paging-load-more",data:()=>({M:me.More,zTheme:{title:{white:"#efefef",black:"#a4a4a4"},line:{white:"#efefef",black:"#eeeeee"},circleBorder:{white:"#aaaaaa",black:"#c8c8c8"},circleBorderTop:{white:"#ffffff",black:"#444444"},flower:{white:j,black:W},indicator:{white:"#eeeeee",black:"#777777"}}}),props:["zConfig"],computed:{ts(){return this.c.defaultThemeStyle},c(){return this.zConfig||{}},ownLoadingMoreText(){return[this.c.defaultText,this.c.loadingText,this.c.noMoreText,this.c.failText][this.finalStatus]},finalStatus(){return this.c.defaultAsLoading&&this.c.status===this.M.Default?this.M.Loading:this.c.status},finalLoadingIconType(){return this.c.loadingIconType}},methods:{doClick(){this.$emit("doClick")}}},[["render",function(l,u,p,f,m,S){const w=c,R=d,C=g;return e(),t(C,{class:"zp-l-container",style:a([S.c.customStyle]),onClick:S.doClick},{default:i((()=>[S.c.hideContent?h("",!0):(e(),T(y,{key:0},[S.c.showNoMoreLine&&S.finalStatus===m.M.NoMore?(e(),t(w,{key:0,class:"zp-l-line",style:a([{backgroundColor:m.zTheme.line[S.ts]},S.c.noMoreLineCustomStyle])},null,8,["style"])):h("",!0),S.finalStatus===m.M.Loading&&S.c.loadingIconCustomImage?(e(),t(R,{key:1,src:S.c.loadingIconCustomImage,style:a([S.c.iconCustomStyle]),class:n({"zp-l-line-loading-custom-image":!0,"zp-l-line-loading-custom-image-animated":S.c.loadingAnimated})},null,8,["src","style","class"])):h("",!0),S.finalStatus!==m.M.Loading||"flower"!==S.finalLoadingIconType||S.c.loadingIconCustomImage.length?h("",!0):(e(),t(R,{key:2,class:"zp-line-loading-image",style:a([S.c.iconCustomStyle]),src:m.zTheme.flower[S.ts]},null,8,["style","src"])),S.finalStatus!==m.M.Loading||"circle"!==S.finalLoadingIconType||S.c.loadingIconCustomImage.length?h("",!0):(e(),t(w,{key:3,class:"zp-l-circle-loading-view",style:a([{borderColor:m.zTheme.circleBorder[S.ts],borderTopColor:m.zTheme.circleBorderTop[S.ts]},S.c.iconCustomStyle])},null,8,["style"])),o(w,{class:"zp-l-text",style:a([{color:m.zTheme.title[S.ts]},S.c.titleCustomStyle])},{default:i((()=>[s(r(S.ownLoadingMoreText),1)])),_:1},8,["style"]),S.c.showNoMoreLine&&S.finalStatus===m.M.NoMore?(e(),t(w,{key:4,class:"zp-l-line",style:a([{backgroundColor:m.zTheme.line[S.ts]},S.c.noMoreLineCustomStyle])},null,8,["style"])):h("",!0)],64))])),_:1},8,["style","onClick"])}],["__scopeId","data-v-c03fffc1"]]),Se={data:()=>({systemInfo:null,cssSafeAreaInsetBottom:-1}),computed:{windowTop(){if(!this.systemInfo)return 0;return document.getElementsByTagName("uni-page-head").length&&this.systemInfo.windowTop||0},safeAreaBottom(){if(!this.systemInfo)return 0;let e=0;return e=Math.max(this.cssSafeAreaInsetBottom,0),e},isOldWebView(){try{const e=systemInfo.system.split(" "),t=e[0],i=parseInt(e[1]);if("iOS"===t&&i<=10||"Android"===t&&i<=6)return!0}catch(e){return!1}return!1},zSlots(){return this.$slots}},methods:{_getNodeClientRect(e,t=!0,i=!1){let o=t?S().in(!0===t?this:t):S();return i?o.select(e).scrollOffset():o.select(e).boundingClientRect(),new Promise(((e,t)=>{o.exec((t=>{e(!(!t||""==t||null==t||!t.length)&&t)}))}))},_updateLeftAndRightWidth(e,t){this.$nextTick((()=>{setTimeout((()=>{["left","right"].map((i=>{this._getNodeClientRect(`.${t}-${i}`).then((t=>{this.$set(e,i,t?t[0].width+"px":"0px")}))}))}),0)}))},_getCssSafeAreaInsetBottom(e){this._getNodeClientRect(".zp-safe-area-inset-bottom").then((t=>{this.cssSafeAreaInsetBottom=t?t[0].height:-1,t&&e&&e()}))}}};function we(){return w()}const Re={handleQuery:function(e){try{setTimeout((function(){we().globalData.zp_handleQueryCallback=e}),1)}catch(t){}},_handleQuery:function(e,t,i,o){const a=we().globalData.zp_handleQueryCallback;return a?a(e,t,i,o):[e,t,i]},handleLanguage2Local:function(e){try{setTimeout((function(){we().globalData.zp_handleLanguage2LocalCallback=e}),1)}catch(t){}},_handleLanguage2Local:function(e,t){const i=we().globalData.zp_handleLanguage2LocalCallback;return i?i(e,t):t}},Ce={props:{defaultPageNo:{type:[Number,String],default:fe.gc("defaultPageNo",1),observer:function(e){this.pageNo=e}},defaultPageSize:{type:[Number,String],default:fe.gc("defaultPageSize",10),validator:e=>(e<=0&&fe.consoleErr("default-page-size必须大于0!"),e>0)},dataKey:{type:[Number,String,Object],default:function(){return fe.gc("dataKey",null)}},useCache:{type:Boolean,default:fe.gc("useCache",!1)},cacheKey:{type:String,default:fe.gc("cacheKey",null)},cacheMode:{type:String,default:fe.gc("cacheMode",me.CacheMode.Default)},autowireListName:{type:String,default:fe.gc("autowireListName","")},autowireQueryName:{type:String,default:fe.gc("autowireQueryName","")},auto:{type:Boolean,default:fe.gc("auto",!0)},reloadWhenRefresh:{type:Boolean,default:fe.gc("reloadWhenRefresh",!0)},autoScrollToTopWhenReload:{type:Boolean,default:fe.gc("autoScrollToTopWhenReload",!0)},autoCleanListWhenReload:{type:Boolean,default:fe.gc("autoCleanListWhenReload",!0)},showRefresherWhenReload:{type:Boolean,default:fe.gc("showRefresherWhenReload",!1)},showLoadingMoreWhenReload:{type:Boolean,default:fe.gc("showLoadingMoreWhenReload",!1)},createdReload:{type:Boolean,default:fe.gc("createdReload",!1)},localPagingLoadingTime:{type:[Number,String],default:fe.gc("localPagingLoadingTime",200)},useChatRecordMode:{type:Boolean,default:fe.gc("useChatRecordMode",!1)},autoHideKeyboardWhenChat:{type:Boolean,default:fe.gc("autoHideKeyboardWhenChat",!0)},concat:{type:Boolean,default:fe.gc("concat",!0)},value:{type:Array,default:function(){return[]}},modelValue:{type:Array,default:function(){return[]}}},data:()=>({currentData:[],totalData:[],realTotalData:[],totalLocalPagingList:[],dataPromiseResultMap:{reload:null,complete:null,localPaging:null},isSettingCacheList:!1,pageNo:1,currentRefreshPageSize:0,isLocalPaging:!1,isAddedData:!1,isTotalChangeFromAddData:!1,privateConcat:!0,myParentQuery:-1,firstPageLoaded:!1,pagingLoaded:!1,loaded:!1,isUserReload:!0,fromEmptyViewReload:!1,queryFrom:"",listRendering:!1,isHandlingRefreshToPage:!1}),computed:{pageSize(){return this.defaultPageSize},finalConcat(){return this.concat&&this.privateConcat},finalUseCache(){return this.useCache&&!this.cacheKey&&fe.consoleErr("use-cache为true时,必须设置cache-key,否则缓存无效!"),this.useCache&&!!this.cacheKey},finalCacheKey(){return this.cacheKey?`${ie}-${this.cacheKey}`:null},isFirstPage(){return this.pageNo===this.defaultPageNo}},watch:{totalData(e,t){this._totalDataChange(e,t)},currentData(e,t){this._currentDataChange(e,t)},useChatRecordMode(e,t){e&&(this.nLoadingMoreFixedHeight=!1)},value:{handler(e){this.realTotalData=e},immediate:!0},modelValue:{handler(e){this.realTotalData=e},immediate:!0}},methods:{complete(e,t=!0){return this.customNoMore=-1,this.addData(e,t)},completeByKey(e,t=null,i=!0){return null!==t&&null!==this.dataKey&&t!==this.dataKey?(this.isFirstPage&&this.endRefresh(),new Promise((e=>e()))):(this.customNoMore=-1,this.addData(e,i))},completeByTotal(e,t,i=!0){if("undefined"==t)this.customNoMore=-1;else{const o=this._checkDataType(e,i,!1);if(e=o.data,i=o.success,t>=0&&i)return new Promise(((o,a)=>{this.$nextTick((()=>{let s=!1;let r=(this.pageNo==this.defaultPageNo?0:this.realTotalData.length)+(this.privateConcat?e.length:0)-t;r>=0&&(s=!0,r=this.defaultPageSize-r,this.privateConcat&&r>0&&r<e.length&&(e=e.splice(0,r))),this.completeByNoMore(e,s,i).then((e=>o(e))).catch((()=>a()))}))}))}return this.addData(e,i)},completeByNoMore(e,t,i=!0){return"undefined"!=t&&(this.customNoMore=1==t?1:0),this.addData(e,i)},addData(e,t=!0){this.fromCompleteEmit||(this.disabledCompleteEmit=!0,this.fromCompleteEmit=!1);const i=fe.getTime()-this.requestTimeStamp;let o=this.minDelay;this.isFirstPage&&this.finalShowRefresherWhenReload&&(o=Math.max(400,o));const a=this.requestTimeStamp>0&&i<o?o-i:0;return this.$nextTick((()=>{fe.delay((()=>{this._addData(e,t,!1)}),this.delay>0?this.delay:a)})),new Promise(((e,t)=>{this.dataPromiseResultMap.complete={resolve:e,reject:t}}))},addDataFromTop(e,t=!0,i=!0){e="[object Array]"!==Object.prototype.toString.call(e)?[e]:e.reverse(),this.finalUseVirtualList&&this._setCellIndex(e,"top"),this.totalData=[...e,...this.totalData],t&&fe.delay((()=>this._scrollToTop(i)))},resetTotalData(e){this.isTotalChangeFromAddData=!0,e="[object Array]"!==Object.prototype.toString.call(e)?[e]:e,this.totalData=e},addChatRecordData(e,t=!0,i=!0){e="[object Array]"!==Object.prototype.toString.call(e)?[e]:e,this.useChatRecordMode&&(this.isTotalChangeFromAddData=!0,this.totalData=[...this.totalData,...e],t&&fe.delay((()=>{this._scrollToBottom(i)})))},setLocalPaging(e,t=!0){return this.isLocalPaging=!0,this.$nextTick((()=>{this._addData(e,t,!0)})),new Promise(((e,t)=>{this.dataPromiseResultMap.localPaging={resolve:e,reject:t}}))},reload(e=this.showRefresherWhenReload){return e&&(this.privateShowRefresherWhenReload=e,this.isUserPullDown=!0),this.showLoadingMoreWhenReload||(this.listRendering=!0),this.$nextTick((()=>{this._preReload(e,!1)})),new Promise(((e,t)=>{this.dataPromiseResultMap.reload={resolve:e,reject:t}}))},refresh(){return this._handleRefreshWithDisPageNo(this.pageNo-this.defaultPageNo+1)},refreshToPage(e){return this.isHandlingRefreshToPage=!0,this._handleRefreshWithDisPageNo(e+this.defaultPageNo-1)},updateCache(){this.finalUseCache&&this.totalData.length&&this._saveLocalCache(this.totalData.slice(0,Math.min(this.totalData.length,this.pageSize)))},clean(){this._reload(!0),this._addData([],!0,!1)},clear(){this.clean()},doChatRecordLoadMore(){this.useChatRecordMode&&this._onLoadingMore("click")},_preReload(e=this.showRefresherWhenReload,t=!0){const i=this.finalRefresherEnabled&&this.useCustomRefresher;-1===this.customRefresherHeight&&i?fe.delay((()=>this._preReload(e,t)),X/2):(this.isUserReload=!0,this.loadingType=me.LoadingType.Refresher,e?(this.privateShowRefresherWhenReload=e,this.useCustomRefresher?this._doRefresherRefreshAnimate():this.refresherTriggered=!0):this._refresherEnd(!1,!1,!1,!1),this._reload(!1,t))},_reload(e=!1,t=!1,i=!1){if(this.isAddedData=!1,this.insideOfPaging=-1,this.cacheScrollNodeHeight=-1,this.pageNo=this.defaultPageNo,this._cleanRefresherEndTimeout(),!this.privateShowRefresherWhenReload&&!e&&this._startLoading(!0),this.firstPageLoaded=!0,this.isTotalChangeFromAddData=!1,this.isSettingCacheList||(this.totalData=[]),!e){this._emitQuery(this.pageNo,this.defaultPageSize,i?me.QueryFrom.UserPullDown:me.QueryFrom.Reload);let e=0;fe.delay(this._callMyParentQuery,e),!t&&this.autoScrollToTopWhenReload&&this._scrollToTop(!1)}},_addData(e,t,i){this.isAddedData=!0,this.fromEmptyViewReload=!1,this.isTotalChangeFromAddData=!0,this.refresherTriggered=!1,this._endSystemLoadingAndRefresh();const o=this.isUserPullDown;this.showRefresherUpdateTime&&this.isFirstPage&&(fe.setRefesrherTime(fe.getTime(),this.refresherUpdateTimeKey),this.$refs.refresh&&this.$refs.refresh.updateTime()),!i&&o&&this.isFirstPage&&(this.isUserPullDown=!1),this.isFirstPage?this.listRendering=!1:(this.listRendering=!0,this.$nextTick((()=>{fe.delay((()=>this.listRendering=!1))})));let a=this._checkDataType(e,t,i);e=a.data,t=a.success;let s=X;if(this.loadingForNow=!1,fe.delay((()=>{this.pagingLoaded=!0,this.$nextTick((()=>{!i&&this._refresherEnd(s>0,!0,o)}))})),this.isFirstPage&&(this.isLoadFailed=!t,this.$emit("isLoadFailedChange",this.isLoadFailed),this.finalUseCache&&t&&(this.cacheMode===me.CacheMode.Always||this.isSettingCacheList)&&this._saveLocalCache(e)),this.isSettingCacheList=!1,t){if(!1===this.privateConcat&&this.loadingStatus===me.More.NoMore||(this.loadingStatus=me.More.Default),i){this.totalLocalPagingList=e;const t=this.defaultPageNo,i=this.queryFrom!==me.QueryFrom.Refresh?this.defaultPageSize:this.currentRefreshPageSize;this._localPagingQueryList(t,i,0,(e=>{this.completeByTotal(e,this.totalLocalPagingList.length)}))}else{let t=0;fe.delay((()=>{this._currentDataChange(e,this.currentData),this._callDataPromise(!0,this.totalData)}),t)}this.isHandlingRefreshToPage&&(this.isHandlingRefreshToPage=!1,this.pageNo=this.defaultPageNo+Math.ceil(e.length/this.pageSize)-1,e.length%this.pageSize!=0&&(this.customNoMore=1))}else this._currentDataChange(e,this.currentData),this._callDataPromise(!1),this.loadingStatus=me.More.Fail,this.isHandlingRefreshToPage=!1,this.loadingType===me.LoadingType.LoadingMore&&this.pageNo--},_totalDataChange(e,t,i=!0){(this.isUserReload&&this.autoCleanListWhenReload||!this.firstPageLoaded||e.length||!t.length)&&(this._doCheckScrollViewShouldFullHeight(e),this.realTotalData.length||e.length||(i=!1),this.realTotalData=e,i&&(this.$emit("input",e),this.$emit("update:modelValue",e),this.$emit("update:list",e),this.$emit("listChange",e),this._callMyParentList(e)),this.firstPageLoaded=!1,this.isTotalChangeFromAddData=!1,this.$nextTick((()=>{fe.delay((()=>{this._getNodeClientRect(".zp-paging-container-content").then((e=>{e&&this.$emit("contentHeightChanged",e[0].height)}))}),X*(this.isIos?1:3))})))},_currentDataChange(e,t){if(e=[...e],this.finalUseVirtualList&&this._setCellIndex(e,"bottom"),this.useChatRecordMode&&e.reverse(),this.isFirstPage&&this.finalConcat&&(this.totalData=[]),-1!==this.customNoMore?1!==this.customNoMore&&e.length||(this.loadingStatus=me.More.NoMore):(!e.length||e.length&&e.length<this.defaultPageSize)&&(this.loadingStatus=me.More.NoMore),this.totalData.length)if(this.useChatRecordMode){const t=e.length;let i=`z-paging-${t}`;this.totalData=[...e,...this.totalData],this.pageNo!==this.defaultPageNo?(this.privateScrollWithAnimation=0,this.$emit("update:chatIndex",t),this.$nextTick((()=>{this._scrollIntoView(i,30+Math.max(0,this.cacheTopHeight),!1,(()=>{this.$emit("update:chatIndex",0)}))}))):this.$nextTick((()=>{this._scrollToBottom(!1)}))}else this.finalConcat?(this.oldScrollTop,this.totalData=[...this.totalData,...e]):this.totalData=e;else this.finalConcat&&(this.totalData=e),this.useChatRecordMode&&this.$nextTick((()=>{this._scrollToBottom(!1)}));this.privateConcat=!0},_handleRefreshWithDisPageNo(e){if(!this.realTotalData.length)return this.reload();if(e>=1){this.loading=!0,this.privateConcat=!1;const t=e*this.pageSize;this.currentRefreshPageSize=t,this._emitQuery(this.defaultPageNo,t,me.QueryFrom.Refresh),this._callMyParentQuery(this.defaultPageNo,t)}return new Promise(((e,t)=>{this.dataPromiseResultMap.reload={resolve:e,reject:t}}))},_localPagingQueryList(e,t,i,o){e=Math.max(1,e),t=Math.max(1,t);const a=[...this.totalLocalPagingList],s=(e-1)*t,r=Math.min(a.length,s+t),l=a.splice(s,r-s);fe.delay((()=>o(l)),i)},_saveLocalCache(e){u(this.finalCacheKey,e)},_setListByLocalCache(){this.totalData=p(this.finalCacheKey)||[],this.isSettingCacheList=!0},_callMyParentList(e){if(this.autowireListName.length){const t=fe.getParent(this.$parent);t&&t[this.autowireListName]&&(t[this.autowireListName]=e)}},_callMyParentQuery(e=0,t=0){if(this.autowireQueryName){if(-1===this.myParentQuery){const e=fe.getParent(this.$parent);e&&e[this.autowireQueryName]&&(this.myParentQuery=e[this.autowireQueryName])}-1!==this.myParentQuery&&(t>0?this.myParentQuery(e,t):this.myParentQuery(this.pageNo,this.defaultPageSize))}},_emitQuery(e,t,i){this.queryFrom=i,this.requestTimeStamp=fe.getTime();const[o]=this.realTotalData.slice(-1);this.$emit("query",...Re._handleQuery(e,t,i,o||null))},_callDataPromise(e,t){for(const i in this.dataPromiseResultMap){const o=this.dataPromiseResultMap[i];if(!o)break;e?o.resolve({totalList:t,noMore:this.loadingStatus===me.More.NoMore}):o.reject(`z-paging-${i}-error`)}},_checkDataType(e,t,i){const o=Object.prototype.toString.call(e);return"[object Boolean]"===o?(t=e,e=[]):"[object Array]"!==o&&(e=[],"[object Undefined]"!==o&&"[object Null]"!==o&&fe.consoleErr((i?"setLocalPaging":"complete")+"参数类型不正确,第一个参数类型必须为Array!")),{data:e,success:t}}}},Ae={en:{"zp.refresher.default":"Pull down to refresh","zp.refresher.pulling":"Release to refresh","zp.refresher.refreshing":"Refreshing...","zp.refresher.complete":"Refresh succeeded","zp.loadingMore.default":"Click to load more","zp.loadingMore.loading":"Loading...","zp.loadingMore.noMore":"No more data","zp.loadingMore.fail":"Load failed,click to reload","zp.emptyView.title":"No data","zp.emptyView.reload":"Reload","zp.emptyView.error":"Sorry,load failed","zp.refresherUpdateTime.title":"Last update: ","zp.refresherUpdateTime.none":"None","zp.refresherUpdateTime.today":"Today","zp.refresherUpdateTime.yesterday":"Yesterday","zp.systemLoading.title":"Loading..."},"zh-Hans":{"zp.refresher.default":"继续下拉刷新","zp.refresher.pulling":"松开立即刷新","zp.refresher.refreshing":"正在刷新...","zp.refresher.complete":"刷新成功","zp.loadingMore.default":"点击加载更多","zp.loadingMore.loading":"正在加载...","zp.loadingMore.noMore":"没有更多了","zp.loadingMore.fail":"加载失败,点击重新加载","zp.emptyView.title":"没有数据哦~","zp.emptyView.reload":"重新加载","zp.emptyView.error":"很抱歉,加载失败","zp.refresherUpdateTime.title":"最后更新:","zp.refresherUpdateTime.none":"无","zp.refresherUpdateTime.today":"今天","zp.refresherUpdateTime.yesterday":"昨天","zp.systemLoading.title":"加载中..."},"zh-Hant":{"zp.refresher.default":"繼續下拉重繪","zp.refresher.pulling":"鬆開立即重繪","zp.refresher.refreshing":"正在重繪...","zp.refresher.complete":"重繪成功","zp.loadingMore.default":"點擊加載更多","zp.loadingMore.loading":"正在加載...","zp.loadingMore.noMore":"沒有更多了","zp.loadingMore.fail":"加載失敗,點擊重新加載","zp.emptyView.title":"沒有數據哦~","zp.emptyView.reload":"重新加載","zp.emptyView.error":"很抱歉,加載失敗","zp.refresherUpdateTime.title":"最後更新:","zp.refresherUpdateTime.none":"無","zp.refresherUpdateTime.today":"今天","zp.refresherUpdateTime.yesterday":"昨天","zp.systemLoading.title":"加載中..."}},{t:xe}=R(Ae),Me=m().language,Ie={data:()=>({language:Me}),computed:{finalLanguage(){try{const e=C(),t=this.language;return"auto"===e?Re._handleLanguage2Local(t,this._language2Local(t)):e}catch(e){return"zh-Hans"}},finalRefresherDefaultText(){return this._getI18nText("zp.refresher.default",this.refresherDefaultText)},finalRefresherPullingText(){return this._getI18nText("zp.refresher.pulling",this.refresherPullingText)},finalRefresherRefreshingText(){return this._getI18nText("zp.refresher.refreshing",this.refresherRefreshingText)},finalRefresherCompleteText(){return this._getI18nText("zp.refresher.complete",this.refresherCompleteText)},finalRefresherUpdateTimeTextMap:()=>({title:xe("zp.refresherUpdateTime.title"),none:xe("zp.refresherUpdateTime.none"),today:xe("zp.refresherUpdateTime.today"),yesterday:xe("zp.refresherUpdateTime.yesterday")}),finalLoadingMoreDefaultText(){return this._getI18nText("zp.loadingMore.default",this.loadingMoreDefaultText)},finalLoadingMoreLoadingText(){return this._getI18nText("zp.loadingMore.loading",this.loadingMoreLoadingText)},finalLoadingMoreNoMoreText(){return this._getI18nText("zp.loadingMore.noMore",this.loadingMoreNoMoreText)},finalLoadingMoreFailText(){return this._getI18nText("zp.loadingMore.fail",this.loadingMoreFailText)},finalEmptyViewText(){return this.isLoadFailed?this.finalEmptyViewErrorText:this._getI18nText("zp.emptyView.title",this.emptyViewText)},finalEmptyViewReloadText(){return this._getI18nText("zp.emptyView.reload",this.emptyViewReloadText)},finalEmptyViewErrorText(){return this._getI18nText("zp.emptyView.error",this.emptyViewErrorText)},finalSystemLoadingText(){return this._getI18nText("zp.systemLoading.title",this.systemLoadingText)}},methods:{getLanguage(){return this.finalLanguage},_getI18nText(e,t){const i=Object.prototype.toString.call(t);if("[object Object]"===i){const e=t[this.finalLanguage];if(e)return e}else if("[object String]"===i)return t;return xe(e)},_language2Local(e){const t=e.toLowerCase().replace(new RegExp("_",""),"-");return-1!==t.indexOf("zh")?"zh"===t||"zh-cn"===t||-1!==t.indexOf("zh-hans")?"zh-Hans":"zh-Hant":-1!==t.indexOf("en")?"en":e}}},Le={props:{},data:()=>({nRefresherLoading:!1,nListIsDragging:!1,nShowBottom:!0,nFixFreezing:!1,nShowRefresherReveal:!1,nIsFirstPageAndNoMore:!1,nFirstPageAndNoMoreChecked:!1,nLoadingMoreFixedHeight:!1,nShowRefresherRevealHeight:0,nOldShowRefresherRevealHeight:-1,nRefresherWidth:f(750)}),watch:{},computed:{},mounted(){},methods:{}},ve={props:{hideEmptyView:{type:Boolean,default:fe.gc("hideEmptyView",!1)},emptyViewText:{type:[String,Object],default:fe.gc("emptyViewText",null)},showEmptyViewReload:{type:Boolean,default:fe.gc("showEmptyViewReload",!1)},showEmptyViewReloadWhenError:{type:Boolean,default:fe.gc("showEmptyViewReloadWhenError",!0)},emptyViewReloadText:{type:[String,Object],default:fe.gc("emptyViewReloadText",null)},emptyViewImg:{type:String,default:fe.gc("emptyViewImg","")},emptyViewErrorText:{type:[String,Object],default:fe.gc("emptyViewErrorText",null)},emptyViewErrorImg:{type:String,default:fe.gc("emptyViewErrorImg","")},emptyViewStyle:{type:Object,default:function(){return fe.gc("emptyViewStyle",{})}},emptyViewSuperStyle:{type:Object,default:function(){return fe.gc("emptyViewSuperStyle",{})}},emptyViewImgStyle:{type:Object,default:function(){return fe.gc("emptyViewImgStyle",{})}},emptyViewTitleStyle:{type:Object,default:function(){return fe.gc("emptyViewTitleStyle",{})}},emptyViewReloadStyle:{type:Object,default:function(){return fe.gc("emptyViewReloadStyle",{})}},emptyViewFixed:{type:Boolean,default:fe.gc("emptyViewFixed",!1)},emptyViewCenter:{type:Boolean,default:fe.gc("emptyViewCenter",!0)},autoHideEmptyViewWhenLoading:{type:Boolean,default:fe.gc("autoHideEmptyViewWhenLoading",!0)},autoHideEmptyViewWhenPull:{type:Boolean,default:fe.gc("autoHideEmptyViewWhenPull",!0)},emptyViewZIndex:{type:Number,default:fe.gc("emptyViewZIndex",9)}},computed:{finalEmptyViewImg(){return this.isLoadFailed?this.emptyViewErrorImg:this.emptyViewImg},finalShowEmptyViewReload(){return this.isLoadFailed?this.showEmptyViewReloadWhenError:this.showEmptyViewReload},showEmpty(){return!(this.refresherOnly||this.hideEmptyView||this.realTotalData.length)&&(!this.autoHideEmptyViewWhenLoading||(!(!this.isAddedData||this.firstPageLoaded||this.loading)||!this.autoHideEmptyViewWhenPull&&!this.isUserReload))}},methods:{_emptyViewReload(){let e=!1;this.$emit("emptyViewReload",(t=>{void 0!==t&&!0!==t||(this.fromEmptyViewReload=!0,this.reload().catch((()=>{}))),e=!0})),this.$nextTick((()=>{e||(this.fromEmptyViewReload=!0,this.reload().catch((()=>{})))}))},_emptyViewClick(){this.$emit("emptyViewClick")}}},ke={props:{refresherThemeStyle:{type:String,default:fe.gc("refresherThemeStyle","")},refresherImgStyle:{type:Object,default:function(){return fe.gc("refresherImgStyle",{})}},refresherTitleStyle:{type:Object,default:function(){return fe.gc("refresherTitleStyle",{})}},refresherUpdateTimeStyle:{type:Object,default:function(){return fe.gc("refresherUpdateTimeStyle",{})}},watchRefresherTouchmove:{type:Boolean,default:fe.gc("watchRefresherTouchmove",!1)},loadingMoreThemeStyle:{type:String,default:fe.gc("loadingMoreThemeStyle","")},refresherOnly:{type:Boolean,default:fe.gc("refresherOnly",!1)},refresherDefaultDuration:{type:[Number,String],default:fe.gc("refresherDefaultDuration",100)},refresherCompleteDelay:{type:[Number,String],default:fe.gc("refresherCompleteDelay",0)},refresherCompleteDuration:{type:[Number,String],default:fe.gc("refresherCompleteDuration",300)},refresherCompleteScrollable:{type:Boolean,default:fe.gc("refresherCompleteScrollable",!1)},useCustomRefresher:{type:Boolean,default:fe.gc("useCustomRefresher",!0)},refresherFps:{type:[Number,String],default:fe.gc("refresherFps",40)},refresherMaxAngle:{type:[Number,String],default:fe.gc("refresherMaxAngle",40)},refresherAngleEnableChangeContinued:{type:Boolean,default:fe.gc("refresherAngleEnableChangeContinued",!1)},refresherDefaultText:{type:[String,Object],default:fe.gc("refresherDefaultText",null)},refresherPullingText:{type:[String,Object],default:fe.gc("refresherPullingText",null)},refresherRefreshingText:{type:[String,Object],default:fe.gc("refresherRefreshingText",null)},refresherCompleteText:{type:[String,Object],default:fe.gc("refresherCompleteText",null)},refresherDefaultImg:{type:String,default:fe.gc("refresherDefaultImg",null)},refresherPullingImg:{type:String,default:fe.gc("refresherPullingImg",null)},refresherRefreshingImg:{type:String,default:fe.gc("refresherRefreshingImg",null)},refresherCompleteImg:{type:String,default:fe.gc("refresherCompleteImg",null)},refresherRefreshingAnimated:{type:Boolean,default:fe.gc("refresherRefreshingAnimated",!0)},refresherEndBounceEnabled:{type:Boolean,default:fe.gc("refresherEndBounceEnabled",!0)},refresherEnabled:{type:Boolean,default:fe.gc("refresherEnabled",!0)},refresherThreshold:{type:[Number,String],default:fe.gc("refresherThreshold","80rpx")},refresherDefaultStyle:{type:String,default:fe.gc("refresherDefaultStyle","black")},refresherBackground:{type:String,default:fe.gc("refresherBackground","transparent")},refresherFixedBackground:{type:String,default:fe.gc("refresherFixedBackground","transparent")},refresherFixedBacHeight:{type:[Number,String],default:fe.gc("refresherFixedBacHeight",0)},refresherOutRate:{type:Number,default:fe.gc("refresherOutRate",.65)},refresherPullRate:{type:Number,default:fe.gc("refresherPullRate",.75)},showRefresherUpdateTime:{type:Boolean,default:fe.gc("showRefresherUpdateTime",!1)},refresherUpdateTimeKey:{type:String,default:fe.gc("refresherUpdateTimeKey","default")},refresherVibrate:{type:Boolean,default:fe.gc("refresherVibrate",!1)},refresherNoTransform:{type:Boolean,default:fe.gc("refresherNoTransform",!1)}},data:()=>({R:me.Refresher,refresherStatus:me.Refresher.Default,refresherTouchstartY:0,lastRefresherTouchmove:null,refresherReachMaxAngle:!0,refresherTransform:"translateY(0px)",refresherTransition:"",finalRefresherDefaultStyle:"black",refresherRevealStackCount:0,refresherCompleteTimeout:null,refresherCompleteSubTimeout:null,refresherEndTimeout:null,isTouchmovingTimeout:null,refresherTriggered:!1,isTouchmoving:!1,isTouchEnded:!1,isUserPullDown:!1,privateRefresherEnabled:-1,privateShowRefresherWhenReload:!1,customRefresherHeight:-1,showCustomRefresher:!1,doRefreshAnimateAfter:!1,isRefresherInComplete:!1,pullDownTimeStamp:0,moveDis:0,oldMoveDis:0,currentDis:0,oldCurrentMoveDis:0,oldRefresherTouchmoveY:0,oldTouchDirection:"",oldEmitedTouchDirection:"",oldPullingDistance:-1,refresherThresholdUpdateTag:0}),watch:{refresherDefaultStyle:{handler(e){e.length&&(this.finalRefresherDefaultStyle=e)},immediate:!0},refresherStatus(e){e===me.Refresher.Loading&&this._cleanRefresherEndTimeout(),this.refresherVibrate&&e===me.Refresher.ReleaseToRefresh&&this._doVibrateShort(),this.$emit("refresherStatusChange",e),this.$emit("update:refresherStatus",e)},refresherEnabled(e){!e&&this.endRefresh()}},computed:{pullDownDisTimeStamp(){return 1e3/this.refresherFps},finalRefresherEnabled(){return!this.useChatRecordMode&&(-1===this.privateRefresherEnabled?this.refresherEnabled:1===this.privateRefresherEnabled)},finalRefresherThreshold(){let e=this.refresherThreshold,t=!1;return"80rpx"===e&&(t=!0,this.showRefresherUpdateTime&&(e="120rpx")),t&&this.customRefresherHeight>0?this.customRefresherHeight:fe.convertToPx(e)},finalRefresherFixedBacHeight(){return fe.convertToPx(this.refresherFixedBacHeight)},finalRefresherThemeStyle(){return this.refresherThemeStyle.length?this.refresherThemeStyle:this.defaultThemeStyle},finalRefresherOutRate(){let e=this.refresherOutRate;return e=Math.max(0,e),e=Math.min(1,e),e},finalRefresherPullRate(){let e=this.refresherPullRate;return e=Math.max(0,e),e},finalRefresherTransform(){return this.refresherNoTransform||"translateY(0px)"===this.refresherTransform?"none":this.refresherTransform},finalShowRefresherWhenReload(){return this.showRefresherWhenReload||this.privateShowRefresherWhenReload},finalRefresherTriggered(){return!(!this.finalRefresherEnabled||this.useCustomRefresher)&&this.refresherTriggered},showRefresher(){const e=this.finalRefresherEnabled&&this.useCustomRefresher;return-1===this.customRefresherHeight&&e&&fe.delay((()=>this.$nextTick(this._updateCustomRefresherHeight))),e},hasTouchmove(){return this.watchRefresherTouchmove}},methods:{endRefresh(){this.totalData=this.realTotalData,this._refresherEnd(),this._endSystemLoadingAndRefresh(),this._handleScrollViewDisableBounce({bounce:!0}),this.$nextTick((()=>{this.refresherTriggered=!1}))},handleRefresherStatusChanged(e){this.refresherStatusChangedFunc=e},_onRefresh(e=!1,t=!0){(!e||this.finalRefresherEnabled&&!this.useCustomRefresher)&&(this.$emit("onRefresh"),this.$emit("Refresh"),this.loading||this.isRefresherInComplete||(this.loadingType=me.LoadingType.Refresher,this.nShowRefresherReveal||(this.isUserPullDown=t,this.isUserReload=!t,this._startLoading(!0),this.refresherTriggered=!0,this.reloadWhenRefresh&&t&&(this.useChatRecordMode?this._onLoadingMore("click"):this._reload(!1,!1,t)))))},_onRestore(){this.refresherTriggered="restore",this.$emit("onRestore"),this.$emit("Restore")},_handleRefresherTouchstart(e){!this.loading&&this.isTouchEnded&&(this.isTouchmoving=!1),this.loadingType=me.LoadingType.Refresher,this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this.isTouchEnded=!1,this.refresherTransition="",this.refresherTouchstartY=e.touchY,this.$emit("refresherTouchstart",this.refresherTouchstartY),this.lastRefresherTouchmove=e,this._cleanRefresherCompleteTimeout(),this._cleanRefresherEndTimeout()},_handleRefresherTouchmove(e,t){this.refresherReachMaxAngle=!0,this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this.isTouchmoving=!0,this.isTouchEnded=!1,this.refresherStatus=e>=this.finalRefresherThreshold?me.Refresher.ReleaseToRefresh:this.refresherStatus=me.Refresher.Default,this.moveDis=e},_handleRefresherTouchend(e){this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this.refresherReachMaxAngle=!0,this.isTouchEnded=!0;const t=this.finalRefresherThreshold;e>=t&&this.refresherStatus===me.Refresher.ReleaseToRefresh?(fe.delay((()=>{this._emitTouchmove({pullingDistance:t,dy:this.moveDis-t})}),.1),this.moveDis=t,this.refresherStatus=me.Refresher.Loading,this._doRefresherLoad()):(this._refresherEnd(),this.isTouchmovingTimeout=fe.delay((()=>{this.isTouchmoving=!1}),this.refresherDefaultDuration)),this.scrollEnable=!0,this.$emit("refresherTouchend",e)},_handleListTouchstart(){this.useChatRecordMode&&this.autoHideKeyboardWhenChat&&(A(),this.$emit("hidedKeyboard"))},_handleScrollViewDisableBounce({bounce:e}){this.usePageScroll||this.scrollToTopBounceEnabled||(this.refresherTransition="",this.scrollEnable=e)},_handleWxsPullingDownStatusChange(e){this.wxsOnPullingDown=e,e&&!this.useChatRecordMode&&(this.renderPropScrollTop=0)},_handleWxsPullingDown({moveDis:e,diffDis:t}){this._emitTouchmove({pullingDistance:e,dy:t})},_handleTouchDirectionChange({direction:e}){this.$emit("touchDirectionChange",e)},_handlePropUpdate(){this.wxsPropType=fe.getTime().toString()},_refresherEnd(e=!0,t=!1,i=!1,o=!0){if(this.loadingType===me.LoadingType.Refresher){const e=t&&(i||this.showRefresherWhenReload)?this.refresherCompleteDelay:0,o=e>0?me.Refresher.Complete:me.Refresher.Default;if(this.finalShowRefresherWhenReload){const e=this.refresherRevealStackCount;if(this.refresherRevealStackCount--,e>1)return}this._cleanRefresherEndTimeout(),this.refresherEndTimeout=fe.delay((()=>{this.refresherStatus=o}),this.refresherStatus!==me.Refresher.Default&&o===me.Refresher.Default?this.refresherCompleteDuration:0),e>0&&(this.isRefresherInComplete=!0),this._cleanRefresherCompleteTimeout(),this.refresherCompleteTimeout=fe.delay((()=>{let e=1;const i=this.refresherEndBounceEnabled&&t?"cubic-bezier(0.19,1.64,0.42,0.72)":"linear";t&&(e=this.refresherEndBounceEnabled?this.refresherCompleteDuration/1e3:this.refresherCompleteDuration/3e3),this.refresherTransition=`transform ${t?e:this.refresherDefaultDuration/1e3}s ${i}`,this.wxsPropType=this.refresherTransition+"end"+fe.getTime(),this.moveDis=0,o===me.Refresher.Complete&&(this.refresherCompleteSubTimeout&&(clearTimeout(this.refresherCompleteSubTimeout),this.refresherCompleteSubTimeout=null),this.refresherCompleteSubTimeout=fe.delay((()=>{this.$nextTick((()=>{this.refresherStatus=me.Refresher.Default,this.isRefresherInComplete=!1}))}),800*e)),this._emitTouchmove({pullingDistance:0,dy:this.moveDis})}),e)}o&&(fe.delay((()=>this.loading=!1),e?X:0),i&&this._onRestore())},_doRefresherRefreshAnimate(){this._cleanRefresherCompleteTimeout();!this.doRefreshAnimateAfter&&this.finalShowRefresherWhenReload&&-1===this.customRefresherHeight&&"80rpx"===this.refresherThreshold?this.doRefreshAnimateAfter=!0:(this.refresherRevealStackCount++,this.wxsPropType="begin"+fe.getTime(),this.moveDis=this.finalRefresherThreshold,this.refresherStatus=me.Refresher.Loading,this.isTouchmoving=!0,this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this._doRefresherLoad(!1))},_doRefresherLoad(e=!0){this._onRefresh(!1,e),this.loading=!0},_updateCustomRefresherHeight(){this._getNodeClientRect(".zp-custom-refresher-slot-view").then((e=>{this.customRefresherHeight=e?e[0].height:0,this.showCustomRefresher=this.customRefresherHeight>0,this.doRefreshAnimateAfter&&(this.doRefreshAnimateAfter=!1,this._doRefresherRefreshAnimate())}))},_emitTouchmove(e){e.viewHeight=this.finalRefresherThreshold,e.rate=e.viewHeight>0?e.pullingDistance/e.viewHeight:0,this.hasTouchmove&&this.oldPullingDistance!==e.pullingDistance&&this.$emit("refresherTouchmove",e),this.oldPullingDistance=e.pullingDistance},_cleanRefresherCompleteTimeout(){this.refresherCompleteTimeout=this._cleanTimeout(this.refresherCompleteTimeout)},_cleanRefresherEndTimeout(){this.refresherEndTimeout=this._cleanTimeout(this.refresherEndTimeout)}}},be={props:{loadingMoreCustomStyle:{type:Object,default:function(){return fe.gc("loadingMoreCustomStyle",{})}},loadingMoreTitleCustomStyle:{type:Object,default:function(){return fe.gc("loadingMoreTitleCustomStyle",{})}},loadingMoreLoadingIconCustomStyle:{type:Object,default:function(){return fe.gc("loadingMoreLoadingIconCustomStyle",{})}},loadingMoreLoadingIconType:{type:String,default:fe.gc("loadingMoreLoadingIconType","flower")},loadingMoreLoadingIconCustomImage:{type:String,default:fe.gc("loadingMoreLoadingIconCustomImage","")},loadingMoreLoadingAnimated:{type:Boolean,default:fe.gc("loadingMoreLoadingAnimated",!0)},loadingMoreEnabled:{type:Boolean,default:fe.gc("loadingMoreEnabled",!0)},toBottomLoadingMoreEnabled:{type:Boolean,default:fe.gc("toBottomLoadingMoreEnabled",!0)},loadingMoreDefaultAsLoading:{type:[Boolean],default:fe.gc("loadingMoreDefaultAsLoading",!1)},loadingMoreDefaultText:{type:[String,Object],default:fe.gc("loadingMoreDefaultText",null)},loadingMoreLoadingText:{type:[String,Object],default:fe.gc("loadingMoreLoadingText",null)},loadingMoreNoMoreText:{type:[String,Object],default:fe.gc("loadingMoreNoMoreText",null)},loadingMoreFailText:{type:[String,Object],default:fe.gc("loadingMoreFailText",null)},hideNoMoreInside:{type:Boolean,default:fe.gc("hideNoMoreInside",!1)},hideNoMoreByLimit:{type:Number,default:fe.gc("hideNoMoreByLimit",0)},showDefaultLoadingMoreText:{type:Boolean,default:fe.gc("showDefaultLoadingMoreText",!0)},showLoadingMoreNoMoreView:{type:Boolean,default:fe.gc("showLoadingMoreNoMoreView",!0)},showLoadingMoreNoMoreLine:{type:Boolean,default:fe.gc("showLoadingMoreNoMoreLine",!0)},loadingMoreNoMoreLineCustomStyle:{type:Object,default:function(){return fe.gc("loadingMoreNoMoreLineCustomStyle",{})}},insideMore:{type:Boolean,default:fe.gc("insideMore",!1)},lowerThreshold:{type:[Number,String],default:fe.gc("lowerThreshold","100rpx")}},data:()=>({M:me.More,loadingStatus:me.More.Default,loadingStatusAfterRender:me.More.Default,loadingMoreTimeStamp:0,loadingMoreDefaultSlot:null,showLoadingMore:!1,customNoMore:-1}),computed:{zLoadMoreConfig(){return{status:this.loadingStatusAfterRender,defaultAsLoading:this.loadingMoreDefaultAsLoading,defaultThemeStyle:this.finalLoadingMoreThemeStyle,customStyle:this.loadingMoreCustomStyle,titleCustomStyle:this.loadingMoreTitleCustomStyle,iconCustomStyle:this.loadingMoreLoadingIconCustomStyle,loadingIconType:this.loadingMoreLoadingIconType,loadingIconCustomImage:this.loadingMoreLoadingIconCustomImage,loadingAnimated:this.loadingMoreLoadingAnimated,showNoMoreLine:this.showLoadingMoreNoMoreLine,noMoreLineCustomStyle:this.loadingMoreNoMoreLineCustomStyle,defaultText:this.finalLoadingMoreDefaultText,loadingText:this.finalLoadingMoreLoadingText,noMoreText:this.finalLoadingMoreNoMoreText,failText:this.finalLoadingMoreFailText,hideContent:!this.loadingMoreDefaultAsLoading&&this.listRendering}},finalLoadingMoreThemeStyle(){return this.loadingMoreThemeStyle.length?this.loadingMoreThemeStyle:this.defaultThemeStyle},showLoadingMoreDefault(){return this._showLoadingMore("Default")},showLoadingMoreLoading(){return this._showLoadingMore("Loading")},showLoadingMoreNoMore(){return this._showLoadingMore("NoMore")},showLoadingMoreFail(){return this._showLoadingMore("Fail")},showLoadingMoreCustom(){return this._showLoadingMore("Custom")}},methods:{pageReachBottom(){!this.useChatRecordMode&&this._onLoadingMore("toBottom")},doLoadMore(e){this._onLoadingMore(e)},_checkScrolledToBottom(e,t=!1){-1===this.cacheScrollNodeHeight?this._getNodeClientRect(".zp-scroll-view").then((t=>{if(t){const i=t[0].height;this.cacheScrollNodeHeight=i,e-i<=this.finalLowerThreshold&&this._onLoadingMore("toBottom")}})):e-this.cacheScrollNodeHeight<=this.finalLowerThreshold?this._onLoadingMore("toBottom"):e-this.cacheScrollNodeHeight<=500&&!t&&fe.delay((()=>{this._getNodeClientRect(".zp-scroll-view",!0,!0).then((e=>{this.oldScrollTop=e[0].scrollTop;const t=e[0].scrollHeight-this.oldScrollTop;this._checkScrolledToBottom(t,!0)}))}),150,"checkScrolledToBottomDelay")},_onLoadingMore(e="click"){"toBottom"===e&&!this.scrollToBottomBounceEnabled&&this.scrollEnable&&(this.scrollEnable=!1,this.$nextTick((()=>{this.scrollEnable=!0}))),this.$emit("scrolltolower",e),("toBottom"!==e||this.toBottomLoadingMoreEnabled&&!this.useChatRecordMode)&&(this.refresherOnly||!this.loadingMoreEnabled||this.loadingStatus!==me.More.Default&&this.loadingStatus!==me.More.Fail||this.loading||this._doLoadingMore())},_doLoadingMore(){this.pageNo>=this.defaultPageNo&&this.loadingStatus!==me.More.NoMore&&(this.pageNo++,this._startLoading(!1),this.isLocalPaging?this._localPagingQueryList(this.pageNo,this.defaultPageSize,this.localPagingLoadingTime,(e=>{this.completeByTotal(e,this.totalLocalPagingList.length)})):(this._emitQuery(this.pageNo,this.defaultPageSize,me.QueryFrom.LoadingMore),this._callMyParentQuery()),this.loadingType=me.LoadingType.LoadingMore)},_preCheckShowNoMoreInside(e,t,i){this.loadingStatus===me.More.NoMore&&this.hideNoMoreByLimit>0&&e.length?this.showLoadingMore=e.length>this.hideNoMoreByLimit:this.loadingStatus===me.More.NoMore&&this.hideNoMoreInside&&e.length||this.insideMore&&!1!==this.insideOfPaging&&e.length?(this.$nextTick((()=>{this._checkShowNoMoreInside(e,t,i)})),this.insideMore&&!1!==this.insideOfPaging&&e.length&&(this.showLoadingMore=e.length)):this.showLoadingMore=e.length},async _checkShowNoMoreInside(e,t,i){try{const e=t||await this._getNodeClientRect(".zp-scroll-view");if(this.usePageScroll){if(e){const t=e[0].top+e[0].height;this.insideOfPaging=t<this.windowHeight,this.hideNoMoreInside&&(this.showLoadingMore=!this.insideOfPaging),this._updateInsideOfPaging()}}else{const t=i||await this._getNodeClientRect(".zp-paging-container-content"),o=t?t[0].height:0,a=e?e[0].height:0;this.insideOfPaging=o<a,this.hideNoMoreInside&&(this.showLoadingMore=!this.insideOfPaging),this._updateInsideOfPaging()}}catch(o){this.insideOfPaging=!e.length,this.hideNoMoreInside&&(this.showLoadingMore=!this.insideOfPaging),this._updateInsideOfPaging()}},_showLoadingMore(e){if(!this.showLoadingMoreWhenReload&&(this.loadingStatus===me.More.Default&&!this.nShowBottom||!this.realTotalData.length))return!1;if((!this.showLoadingMoreWhenReload||this.isUserPullDown||this.loadingStatus!==me.More.Loading)&&!this.showLoadingMore||!this.loadingMoreEnabled&&(!this.showLoadingMoreWhenReload||this.isUserPullDown||this.loadingStatus!==me.More.Loading)||this.refresherOnly)return!1;if(this.useChatRecordMode&&"Loading"!==e)return!1;if(!this.$slots)return!1;if("Custom"===e)return this.showDefaultLoadingMoreText&&!(this.loadingStatus===me.More.NoMore&&!this.showLoadingMoreNoMoreView);return this.loadingStatus===me.More[e]&&this.$slots[`loadingMore${e}`]&&("NoMore"!==e||this.showLoadingMoreNoMoreView)}}},Pe={props:{autoHideLoadingAfterFirstLoaded:{type:Boolean,default:fe.gc("autoHideLoadingAfterFirstLoaded",!0)},loadingFullFixed:{type:Boolean,default:fe.gc("loadingFullFixed",!1)},autoShowSystemLoading:{type:Boolean,default:fe.gc("autoShowSystemLoading",!1)},systemLoadingMask:{type:Boolean,default:fe.gc("systemLoadingMask",!0)},systemLoadingText:{type:[String,Object],default:fe.gc("systemLoadingText",null)}},data:()=>({loading:!1,loadingForNow:!1}),watch:{loadingStatus(e){this.$emit("loadingStatusChange",e),this.$nextTick((()=>{this.loadingStatusAfterRender=e}))},loading(e){e&&(this.loadingForNow=e)}},computed:{showLoading(){return!(this.firstPageLoaded||!this.loading||!this.loadingForNow)&&(this.finalShowSystemLoading&&x({title:this.finalSystemLoadingText,mask:this.systemLoadingMask}),this.autoHideLoadingAfterFirstLoaded?!!this.fromEmptyViewReload||!this.pagingLoaded:this.loadingType===me.LoadingType.Refresher)},finalShowSystemLoading(){return this.autoShowSystemLoading&&this.loadingType===me.LoadingType.Refresher}},methods:{_startLoading(e=!1){(this.showLoadingMoreWhenReload&&!this.isUserPullDown||!e)&&(this.loadingStatus=me.More.Loading),this.loading=!0},_endSystemLoadingAndRefresh(){this.finalShowSystemLoading&&M(),!this.useCustomRefresher&&I()}}},De={props:{usePageScroll:{type:Boolean,default:fe.gc("usePageScroll",!1)},scrollable:{type:Boolean,default:fe.gc("scrollable",!0)},showScrollbar:{type:Boolean,default:fe.gc("showScrollbar",!0)},scrollX:{type:Boolean,default:fe.gc("scrollX",!1)},scrollToTopBounceEnabled:{type:Boolean,default:fe.gc("scrollToTopBounceEnabled",!1)},scrollToBottomBounceEnabled:{type:Boolean,default:fe.gc("scrollToBottomBounceEnabled",!0)},scrollWithAnimation:{type:Boolean,default:fe.gc("scrollWithAnimation",!1)},scrollIntoView:{type:String,default:fe.gc("scrollIntoView","")}},data:()=>({scrollTop:0,oldScrollTop:0,scrollViewStyle:{},scrollViewContainerStyle:{},scrollViewInStyle:{},pageScrollTop:-1,scrollEnable:!0,privateScrollWithAnimation:-1,cacheScrollNodeHeight:-1}),watch:{oldScrollTop(e){!this.usePageScroll&&this._scrollTopChange(e,!1)},pageScrollTop(e){this.usePageScroll&&this._scrollTopChange(e,!0)},usePageScroll:{handler(e){this.loaded&&this.autoHeight&&this._setAutoHeight(!e),e&&this.$nextTick((()=>{const e=this.$refs["zp-scroll-view"].$refs.main;e&&(e.style={})}))},immediate:!0},finalScrollTop(e){this.useChatRecordMode||(this.renderPropScrollTop=e<6?0:10)}},computed:{finalScrollWithAnimation(){if(-1!==this.privateScrollWithAnimation){const e=1===this.privateScrollWithAnimation;return this.privateScrollWithAnimation=-1,e}return this.scrollWithAnimation},finalScrollViewStyle(){return 1!=this.superContentZIndex&&(this.scrollViewStyle["z-index"]=this.superContentZIndex,this.scrollViewStyle.position="relative"),this.scrollViewStyle},finalScrollTop(){return this.usePageScroll?this.pageScrollTop:this.oldScrollTop},finalIsOldWebView(){return this.isOldWebView&&!this.usePageScroll}},methods:{scrollToTop(e,t=!0){this.$nextTick((()=>{this._scrollToTop(e,!1)}))},scrollToBottom(e,t=!0){this.$nextTick((()=>{this._scrollToBottom(e)}))},scrollIntoViewById(e,t,i){this._scrollIntoView(e,t,i)},scrollIntoViewByNodeTop(e,t,i){this.scrollTop=this.oldScrollTop,this.$nextTick((()=>{this._scrollIntoViewByNodeTop(e,t,i)}))},scrollToY(e,t,i){this.scrollTop=this.oldScrollTop,this.$nextTick((()=>{this._scrollToY(e,t,i)}))},scrollIntoViewByIndex(e,t,i){this._scrollIntoView(e,t,i)},scrollIntoViewByView(e,t,i){this._scrollIntoView(e,t,i)},updatePageScrollTop(e){this.pageScrollTop=e},updatePageScrollTopHeight(){this._updatePageScrollTopOrBottomHeight("top")},updatePageScrollBottomHeight(){this._updatePageScrollTopOrBottomHeight("bottom")},updateLeftAndRightWidth(){this.finalIsOldWebView&&this.$nextTick((()=>this._updateLeftAndRightWidth(this.scrollViewContainerStyle,"zp-page")))},updateScrollViewScrollTop(e,t=!0){this.privateScrollWithAnimation=t?1:0,this.scrollTop=this.oldScrollTop,this.$nextTick((()=>{this.scrollTop=e,this.oldScrollTop=this.scrollTop}))},_onScrollToUpper(){this.$emit("scrolltoupper"),this.$emit("scrollTopChange",0),this.$nextTick((()=>{this.oldScrollTop=0})),this.useChatRecordMode&&this.loadingStatus!==me.More.NoMore&&this._onLoadingMore("click")},_onScrollToLower(e){(!e.detail||!e.detail.direction||"bottom"===e.detail.direction)&&this._onLoadingMore("toBottom")},_scrollToTop(e=!0,t=!0){this.usePageScroll?this.$nextTick((()=>{L({scrollTop:0,duration:e?100:0})})):(this.privateScrollWithAnimation=e?1:0,this.scrollTop=this.oldScrollTop,this.$nextTick((()=>{this.scrollTop=0,this.oldScrollTop=this.scrollTop})))},async _scrollToBottom(e=!0){if(this.usePageScroll)this.$nextTick((()=>{L({scrollTop:Number.MAX_VALUE,duration:e?100:0})}));else try{this.privateScrollWithAnimation=e?1:0;const t=await this._getNodeClientRect(".zp-paging-container"),i=await this._getNodeClientRect(".zp-scroll-view"),o=t?t[0].height:0,a=i?i[0].height:0;o>a&&(this.scrollTop=this.oldScrollTop,this.$nextTick((()=>{this.scrollTop=o-a+this.virtualPlaceholderTopHeight,this.oldScrollTop=this.scrollTop})))}catch(t){}},_scrollIntoView(e,t=0,i=!1,o){try{this.scrollTop=this.oldScrollTop,this.$nextTick((()=>{this._getNodeClientRect("#"+e.replace("#",""),this.$parent).then((e=>{if(e){let a=e[0].top;this._scrollIntoViewByNodeTop(a,t,i),o&&o()}}))}))}catch(a){}},_scrollIntoViewByNodeTop(e,t=0,i=!1){this._scrollToY(e,t,i,!0)},_scrollToY(e,t=0,i=!1,o=!1){this.privateScrollWithAnimation=i?1:0,this.usePageScroll?L({scrollTop:e-t,duration:i?100:0}):(o&&(e+=this.oldScrollTop),this.scrollTop=e-t,this.oldScrollTop=this.scrollTop)},_scroll(e){this.$emit("scroll",e);const t=e.detail.scrollTop;this.finalUseVirtualList&&this._updateVirtualScroll(t,this.oldScrollTop-t),this.oldScrollTop=t;const i=e.detail.scrollHeight-this.oldScrollTop;!this.isIos&&this._checkScrolledToBottom(i)},_doCheckScrollViewShouldFullHeight(e){this.autoFullHeight&&this.usePageScroll&&this.isTotalChangeFromAddData?this.$nextTick((()=>{this._checkScrollViewShouldFullHeight(((t,i)=>{this._preCheckShowNoMoreInside(e,t,i)}))})):this._preCheckShowNoMoreInside(e)},async _checkScrollViewShouldFullHeight(e){try{const t=await this._getNodeClientRect(".zp-scroll-view"),i=await this._getNodeClientRect(".zp-paging-container-content");if(!t||!i)return;const o=i[0].height,a=t[0].top;this.isAddedData&&o+a<=this.windowHeight?(this._setAutoHeight(!0,t),e(t,i)):(this._setAutoHeight(!1),e(null,null))}catch(t){e(null,null)}},_scrollTopChange(e,t){this.$emit("scrollTopChange",e),this.$emit("update:scrollTop",e),this._checkShouldShowBackToTop(e);const i=e>5?6:0;t&&this.wxsPageScrollTop!==i?this.wxsPageScrollTop=i:t||this.wxsScrollTop===i||(this.wxsScrollTop=i)},_updatePageScrollTopOrBottomHeight(e){if(!this.usePageScroll)return;this._doCheckScrollViewShouldFullHeight(this.realTotalData);const t=`.zp-page-${e}`,i=`margin${e.slice(0,1).toUpperCase()+e.slice(1)}`;let o=this.safeAreaInsetBottom;this.$nextTick((()=>{fe.delay((()=>{this._getNodeClientRect(t).then((t=>{if(t){let a=t[0].height;"bottom"===e?o&&(a+=this.safeAreaBottom):this.cacheTopHeight=a,this.$set(this.scrollViewStyle,i,`${a}px`)}else o&&this.$set(this.scrollViewStyle,i,`${this.safeAreaBottom}px`)}))}),0)}))}}},Be={props:{autoShowBackToTop:{type:Boolean,default:fe.gc("autoShowBackToTop",!1)},backToTopThreshold:{type:[Number,String],default:fe.gc("backToTopThreshold","400rpx")},backToTopImg:{type:String,default:fe.gc("backToTopImg","")},backToTopWithAnimate:{type:Boolean,default:fe.gc("backToTopWithAnimate",!0)},backToTopBottom:{type:[Number,String],default:fe.gc("backToTopBottom","160rpx")},backToTopStyle:{type:Object,default:function(){return fe.gc("backToTopStyle",{})}},enableBackToTop:{type:Boolean,default:fe.gc("enableBackToTop",!0)}},data:()=>({backToTopClass:"zp-back-to-top zp-back-to-top-hide",lastBackToTopShowTime:0,showBackToTopClass:!1}),computed:{finalEnableBackToTop(){return!this.usePageScroll&&this.enableBackToTop},finalBackToTopThreshold(){return fe.convertToPx(this.backToTopThreshold)},finalBackToTopStyle(){const e=this.backToTopStyle;return e.bottom||(e.bottom=this.windowBottom+fe.convertToPx(this.backToTopBottom)+"px"),e.position||(e.position=this.usePageScroll?"fixed":"absolute"),e}},methods:{_backToTopClick(){!this.backToTopWithAnimate&&this._checkShouldShowBackToTop(0),this.scrollToTop(this.backToTopWithAnimate)},_checkShouldShowBackToTop(e){this.autoShowBackToTop?e>this.finalBackToTopThreshold?this.showBackToTopClass||(this.showBackToTopClass=!0,this.lastBackToTopShowTime=(new Date).getTime(),fe.delay((()=>{this.backToTopClass="zp-back-to-top zp-back-to-top-show"}),300)):this.showBackToTopClass&&(this.backToTopClass="zp-back-to-top zp-back-to-top-hide",fe.delay((()=>{this.showBackToTopClass=!1}),(new Date).getTime()-this.lastBackToTopShowTime<500?0:300)):this.showBackToTopClass=!1}}},Ve={props:{useVirtualList:{type:Boolean,default:fe.gc("useVirtualList",!1)},useCompatibilityMode:{type:Boolean,default:fe.gc("useCompatibilityMode",!1)},extraData:{type:Object,default:function(){return fe.gc("extraData",{})}},useInnerList:{type:Boolean,default:fe.gc("useInnerList",!1)},forceCloseInnerList:{type:Boolean,default:fe.gc("forceCloseInnerList",!1)},cellKeyName:{type:String,default:fe.gc("cellKeyName","")},innerListStyle:{type:Object,default:function(){return fe.gc("innerListStyle",{})}},innerCellStyle:{type:Object,default:function(){return fe.gc("innerCellStyle",{})}},preloadPage:{type:[Number,String],default:fe.gc("preloadPage",12),validator:e=>(e<=0&&fe.consoleErr("preload-page必须大于0!"),e>0)},cellHeightMode:{type:String,default:fe.gc("cellHeightMode",me.CellHeightMode.Fixed)},virtualListCol:{type:[Number,String],default:fe.gc("virtualListCol",1)},virtualScrollFps:{type:[Number,String],default:fe.gc("virtualScrollFps",80)}},data:()=>({virtualListKey:fe.getInstanceId(),virtualPageHeight:0,virtualCellHeight:0,virtualScrollTimeStamp:0,virtualList:[],virtualPlaceholderTopHeight:0,virtualPlaceholderBottomHeight:0,virtualTopRangeIndex:0,virtualBottomRangeIndex:0,lastVirtualTopRangeIndex:0,lastVirtualBottomRangeIndex:0,virtualItemInsertedCount:0,virtualHeightCacheList:[],getCellHeightRetryCount:{fixed:0,dynamic:0},pagingOrgTop:-1,updateVirtualListFromDataChange:!1}),watch:{realTotalData(e){this.finalUseVirtualList&&(this.updateVirtualListFromDataChange=!0,this.$nextTick((()=>{this.getCellHeightRetryCount.fixed=0,!e.length&&this._resetDynamicListState(!this.isUserPullDown),e.length&&this.cellHeightMode===me.CellHeightMode.Fixed&&this.isFirstPage&&this._updateFixedCellHeight(),this._updateVirtualScroll(this.oldScrollTop)})))},virtualList(e){this.$emit("update:virtualList",e),this.$emit("virtualListChange",e)}},computed:{virtualCellIndexKey:()=>oe,finalUseVirtualList(){return this.useVirtualList&&this.usePageScroll&&fe.consoleErr("使用页面滚动时,开启虚拟列表无效!"),this.useVirtualList&&!this.usePageScroll},finalUseInnerList(){return this.useInnerList||this.finalUseVirtualList&&!this.forceCloseInnerList},finalCellKeyName(){return this.cellKeyName},finalVirtualPageHeight(){return this.virtualPageHeight>0?this.virtualPageHeight:this.windowHeight},virtualRangePageHeight(){return this.finalVirtualPageHeight*this.preloadPage},virtualScrollDisTimeStamp(){return 1e3/this.virtualScrollFps}},methods:{doInsertVirtualListItem(e,t){if(this.cellHeightMode!==me.CellHeightMode.Dynamic)return;this.virtualItemInsertedCount++,e&&"[object Object]"===Object.prototype.toString.call(e)||(e={item:e});const i=this.virtualCellIndexKey;e[i]=`custom-${this.virtualItemInsertedCount}`,e[ae]=`${this.virtualListKey}-${e[i]}`,this.totalData.splice(t,0,e),this.$nextTick((async()=>{let o=0;for(;o<=10;){await fe.wait(X);const a=await this._getNodeClientRect(`#zp-id-${e[i]}`,this.finalUseInnerList);if(!a){o++;continue}const s=a?a[0].height:0,r=this.virtualHeightCacheList[t-1],l=r?r.totalHeight:0;this.virtualHeightCacheList.splice(t,0,{height:s,lastTotalHeight:l,totalHeight:l+s});for(let e=t+1;e<this.virtualHeightCacheList.length;e++){const t=this.virtualHeightCacheList[e];t.lastTotalHeight+=s,t.totalHeight+=s}this._updateVirtualScroll(this.oldScrollTop);break}}))},didUpdateVirtualListCell(e){if(this.cellHeightMode!==me.CellHeightMode.Dynamic)return;const t=this.virtualHeightCacheList[e];this.$nextTick((()=>{this._getNodeClientRect(`#zp-id-${e}`,this.finalUseInnerList).then((i=>{const o=i?i[0].height:0,a=o-t.height;t.height=o,t.totalHeight=t.lastTotalHeight+o;for(let t=e+1;t<this.virtualHeightCacheList.length;t++){const e=this.virtualHeightCacheList[t];e.totalHeight+=a,e.lastTotalHeight+=a}}))}))},didDeleteVirtualListCell(e){if(this.cellHeightMode!==me.CellHeightMode.Dynamic)return;const t=this.virtualHeightCacheList[e];for(let i=e+1;i<this.virtualHeightCacheList.length;i++){const e=this.virtualHeightCacheList[i];e.totalHeight-=t.height,e.lastTotalHeight-=t.height}this.virtualHeightCacheList.splice(e,1)},_virtualListInit(){this.$nextTick((()=>{fe.delay((()=>{this._getNodeClientRect(".zp-scroll-view").then((e=>{e&&(this.pagingOrgTop=e[0].top,this.virtualPageHeight=e[0].height)}))}))}))},_updateFixedCellHeight(){this.$nextTick((()=>{fe.delay((()=>{this._getNodeClientRect("#zp-id-0",this.finalUseInnerList).then((e=>{if(e)this.virtualCellHeight=e[0].height,this._updateVirtualScroll(this.oldScrollTop);else{if(this.getCellHeightRetryCount.fixed>10)return;this.getCellHeightRetryCount.fixed++,this._updateFixedCellHeight()}}))}),X,"updateFixedCellHeightDelay")}))},_updateDynamicCellHeight(e,t="bottom"){const i="top"===t,o=this.virtualHeightCacheList,a=i?[]:o;let s=0;this.$nextTick((()=>{fe.delay((async()=>{for(let r=0;r<e.length;r++){const l=await this._getNodeClientRect(`#zp-id-${e[r][this.virtualCellIndexKey]}`,this.finalUseInnerList),h=l?l[0].height:0;if(!l)return void(this.getCellHeightRetryCount.dynamic<=10&&(o.splice(o.length-r,r),this.getCellHeightRetryCount.dynamic++,this._updateDynamicCellHeight(e,t)));const n=a.length?a.slice(-1)[0]:null,d=n?n.totalHeight:0;a.push({height:h,lastTotalHeight:d,totalHeight:d+h}),i&&(s+=h)}if(i&&e.length){for(let e=0;e<o.length;e++){const t=o[e];t.lastTotalHeight+=s,t.totalHeight+=s}this.virtualHeightCacheList=a.concat(o)}this._updateVirtualScroll(this.oldScrollTop)}),X,"updateDynamicCellHeightDelay")}))},_setCellIndex(e,t="bottom"){let i=0;const o=this.virtualCellIndexKey;if(this.totalData.length){if("bottom"===t){i=this.realTotalData.length;const e=this.realTotalData.length?this.realTotalData.slice(-1)[0]:null;e&&void 0!==e[o]&&(i=e[o]+1)}else if("top"===t){const t=this.realTotalData.length?this.realTotalData[0]:null;t&&void 0!==t[o]&&(i=t[o]-e.length)}}else this._resetDynamicListState();for(let a=0;a<e.length;a++){let t=e[a];t&&"[object Object]"===Object.prototype.toString.call(t)||(t={item:t}),t[o]=i+a,t[ae]=`${this.virtualListKey}-${t[o]}`,e[a]=t}this.getCellHeightRetryCount.dynamic=0,this.cellHeightMode===me.CellHeightMode.Dynamic&&this._updateDynamicCellHeight(e,t)},_updateVirtualScroll(e,t=0){const i=fe.getTime();if(0===e&&this._resetTopRange(),0!==e&&this.virtualScrollTimeStamp&&i-this.virtualScrollTimeStamp<=this.virtualScrollDisTimeStamp)return;this.virtualScrollTimeStamp=i;let o=0;const a=this.cellHeightMode;if(a===me.CellHeightMode.Fixed)o=parseInt(e/this.virtualCellHeight)||0,this._updateFixedTopRangeIndex(o),this._updateFixedBottomRangeIndex(o);else if(a===me.CellHeightMode.Dynamic){const i=t>0?"top":"bottom",o=this.virtualRangePageHeight,a=e-o,s=e+this.finalVirtualPageHeight+o;let r=0,l=0,h=!1;const n=this.virtualHeightCacheList,d=n?n.slice(-1)[0]:null;let c=this.virtualTopRangeIndex;if("bottom"===i)for(let e=c;e<n.length;e++){const t=n[e];if(t&&t.totalHeight>a){this.virtualTopRangeIndex=e,this.virtualPlaceholderTopHeight=t.lastTotalHeight;break}}else{let e=!1;for(let t=c;t>=0;t--){const i=n[t];if(i&&i.totalHeight<a){this.virtualTopRangeIndex=t,this.virtualPlaceholderTopHeight=i.lastTotalHeight,e=!0;break}}!e&&this._resetTopRange()}for(let e=this.virtualTopRangeIndex;e<n.length;e++){const t=n[e];if(t&&t.totalHeight>s){r=e,l=d.totalHeight-t.totalHeight,h=!0;break}}h&&0!==this.virtualBottomRangeIndex?(this.virtualBottomRangeIndex=r,this.virtualPlaceholderBottomHeight=l):(this.virtualBottomRangeIndex=this.realTotalData.length?this.realTotalData.length-1:this.pageSize,this.virtualPlaceholderBottomHeight=0),this._updateVirtualList()}},_updateFixedTopRangeIndex(e){let t=0===this.virtualCellHeight?0:e-(parseInt(this.finalVirtualPageHeight/this.virtualCellHeight)||1)*this.preloadPage;t*=this.virtualListCol,t=Math.max(0,t),this.virtualTopRangeIndex=t,this.virtualPlaceholderTopHeight=t/this.virtualListCol*this.virtualCellHeight},_updateFixedBottomRangeIndex(e){let t=0===this.virtualCellHeight?this.pageSize:e+(parseInt(this.finalVirtualPageHeight/this.virtualCellHeight)||1)*(this.preloadPage+1);t*=this.virtualListCol,t=Math.min(this.realTotalData.length,t),this.virtualBottomRangeIndex=t,this.virtualPlaceholderBottomHeight=(this.realTotalData.length-t)*this.virtualCellHeight/this.virtualListCol,this._updateVirtualList()},_updateVirtualList(){(this.updateVirtualListFromDataChange||this.lastVirtualTopRangeIndex!==this.virtualTopRangeIndex||this.lastVirtualBottomRangeIndex!==this.virtualBottomRangeIndex)&&(this.updateVirtualListFromDataChange=!1,this.lastVirtualTopRangeIndex=this.virtualTopRangeIndex,this.lastVirtualBottomRangeIndex=this.virtualBottomRangeIndex,this.virtualList=this.realTotalData.slice(this.virtualTopRangeIndex,this.virtualBottomRangeIndex+1))},_resetDynamicListState(e=!1){this.virtualHeightCacheList=[],e&&(this.virtualList=[]),this.virtualTopRangeIndex=0,this.virtualPlaceholderTopHeight=0},_resetTopRange(){this.virtualTopRangeIndex=0,this.virtualPlaceholderTopHeight=0,this._updateVirtualList()},_checkVirtualListScroll(){this.finalUseVirtualList&&this.$nextTick((()=>{this._getNodeClientRect(".zp-paging-touch-view").then((e=>{const t=e?e[0].top:0;(!e||t===this.pagingOrgTop&&0!==this.virtualPlaceholderTopHeight)&&this._updateVirtualScroll(0)}))}))},_innerCellClick(e,t){this.$emit("innerCellClick",e,t)}}},Ee=m(),ze={name:"z-paging",components:{zPagingRefresh:Te,zPagingLoadMore:ye,zPagingEmptyView:$},mixins:[Se,Ce,Ie,Le,ve,ke,be,Pe,De,Be,Ve],data:()=>({base64Arrow:O,base64Flower:W,base64BackToTop:Y,loadingType:me.LoadingType.Refresher,requestTimeStamp:0,chatRecordLoadingMoreText:"",wxsPropType:"",renderPropScrollTop:-1,checkScrolledToBottomTimeOut:null,cacheTopHeight:-1,insideOfPaging:-1,isLoadFailed:!1,isIos:"ios"===Ee.platform,disabledBounce:!1,fromCompleteEmit:!1,disabledCompleteEmit:!1,pageLaunched:!1,wxsIsScrollTopInTopRange:!0,wxsScrollTop:0,wxsPageScrollTop:0,wxsOnPullingDown:!1}),props:{delay:{type:[Number,String],default:fe.gc("delay",0)},minDelay:{type:[Number,String],default:fe.gc("minDelay",0)},pagingStyle:{type:Object,default:function(){return fe.gc("pagingStyle",{})}},height:{type:String,default:fe.gc("height","")},width:{type:String,default:fe.gc("width","")},bgColor:{type:String,default:fe.gc("bgColor","")},pagingContentStyle:{type:Object,default:function(){return fe.gc("pagingContentStyle",{})}},autoHeight:{type:Boolean,default:fe.gc("autoHeight",!1)},autoHeightAddition:{type:[Number,String],default:fe.gc("autoHeightAddition","0px")},defaultThemeStyle:{type:String,default:fe.gc("defaultThemeStyle","black")},fixed:{type:Boolean,default:fe.gc("fixed",!0)},safeAreaInsetBottom:{type:Boolean,default:fe.gc("safeAreaInsetBottom",!1)},useSafeAreaPlaceholder:{type:Boolean,default:fe.gc("useSafeAreaPlaceholder",!1)},topZIndex:{type:Number,default:fe.gc("topZIndex",99)},superContentZIndex:{type:Number,default:fe.gc("superContentZIndex",1)},contentZIndex:{type:Number,default:fe.gc("contentZIndex",10)},autoFullHeight:{type:Boolean,default:fe.gc("autoFullHeight",!0)},watchTouchDirectionChange:{type:Boolean,default:fe.gc("watchTouchDirectionChange",!1)}},created(){this.createdReload&&!this.refresherOnly&&this.auto&&(this._startLoading(),this.$nextTick(this._preReload))},mounted(){this.wxsPropType=fe.getTime().toString(),this.renderJsIgnore,this.createdReload||this.refresherOnly||!this.auto||this.$nextTick(this._preReload),this.finalUseCache&&this._setListByLocalCache();let e=0;e=X,this.$nextTick((()=>{this.systemInfo=m(),!this.usePageScroll&&this.autoHeight&&this._setAutoHeight(),this.loaded=!0})),this.updatePageScrollTopHeight(),this.updatePageScrollBottomHeight(),this.updateLeftAndRightWidth(),this.finalRefresherEnabled&&this.useCustomRefresher&&this.$nextTick((()=>{this.isTouchmoving=!0})),this._onEmit(),this.finalUseVirtualList&&this._virtualListInit(),this.$nextTick((()=>{setTimeout((()=>{this._getCssSafeAreaInsetBottom((()=>this.safeAreaInsetBottom&&this.updatePageScrollBottomHeight()))}),e)}))},destroyed(){this._offEmit()},unmounted(){this._offEmit()},watch:{defaultThemeStyle:{handler(e){e.length&&(this.finalRefresherDefaultStyle=e)},immediate:!0},autoHeight(e){this.loaded&&!this.usePageScroll&&this._setAutoHeight(e)},autoHeightAddition(e){this.loaded&&!this.usePageScroll&&this.autoHeight&&this._setAutoHeight(e)}},computed:{finalPagingStyle(){const e=this.pagingStyle;if(!this.systemInfo)return e;const{windowTop:t,windowBottom:i}=this;return!this.usePageScroll&&this.fixed&&(t&&!e.top&&(e.top=t+"px"),i&&!e.bottom&&(e.bottom=i+"px")),this.bgColor.length&&!e.background&&(e.background=this.bgColor),this.height.length&&!e.height&&(e.height=this.height),this.width.length&&!e.width&&(e.width=this.width),e},finalLowerThreshold(){return fe.convertToPx(this.lowerThreshold)},finalPagingContentStyle(){return 1!=this.contentZIndex&&(this.pagingContentStyle["z-index"]=this.contentZIndex,this.pagingContentStyle.position="relative"),this.pagingContentStyle},renderJsIgnore(){return(this.usePageScroll&&this.useChatRecordMode||!this.refresherEnabled||!this.useCustomRefresher)&&this.$nextTick((()=>{this.renderPropScrollTop=10})),0},windowHeight(){return this.systemInfo&&this.systemInfo.windowHeight||0},windowBottom(){if(!this.systemInfo)return 0;let e=this.systemInfo.windowBottom||0;return this.safeAreaInsetBottom&&!this.useSafeAreaPlaceholder&&(e+=this.safeAreaBottom),e},isIosAndH5(){return this.isIos}},methods:{getVersion:()=>`z-paging v${q}`,setSpecialEffects(e){this.setListSpecialEffects(e)},setListSpecialEffects(e){this.nFixFreezing=e&&Object.keys(e).length,this.isIos&&(this.privateRefresherEnabled=0),!this.usePageScroll&&this.$refs["zp-n-list"].setSpecialEffects(e)},_doVibrateShort(){},async _setAutoHeight(e=!0,t=null){let i="min-height";i="min-height";try{if(e){let e=t||await this._getNodeClientRect(".zp-scroll-view"),o=await this._getNodeClientRect(".zp-page-bottom");if(e){const t=e[0].top;let a=this.windowHeight-t;a-=o?o[0].height:0;const s=a+fe.convertToPx(this.autoHeightAddition)-(this.insideMore?1:0)+"px !important";this.$set(this.scrollViewStyle,i,s),this.$set(this.scrollViewInStyle,i,s)}}else this.$delete(this.scrollViewStyle,i),this.$delete(this.scrollViewInStyle,i)}catch(o){}},_updateInsideOfPaging(){this.insideMore&&!0===this.insideOfPaging&&setTimeout(this.doLoadMore,200)},_cleanTimeout:e=>(e&&(clearTimeout(e),e=null),e),_onEmit(){v(ee,(()=>{this.loading&&this.complete(!1).catch((()=>{}))})),v(te,(e=>{setTimeout((()=>{if(this.loading)if(this.disabledCompleteEmit)this.disabledCompleteEmit=!1;else{const t=e.type||"normal",i=e.list||e,o=e.rule;switch(this.fromCompleteEmit=!0,t){case"normal":this.complete(i);break;case"total":this.completeByTotal(i,o);break;case"nomore":this.completeByNoMore(i,o);break;case"key":this.completeByKey(i,o)}}}),1)}))},_offEmit(){k(ee),k(te)}}};var He=0,Ne=-1,_e=-1;function Fe(e,t){var i=Ze(t),o={},a={};if(t.callMethod("_handleListTouchstart"),!i||(o=i.getState(),a=i.getDataset(),!Ye(e,i))){var s=o.isTouchEnded;o.oldMoveDis=0;var r=Ge(e),l=qe(a.loading);o.startY=r.touchY,_e=o.startY,o.lastTouch=r,!l&&s&&(o.isTouchmoving=!1),o.isTouchEnded=!1,t.callMethod("_handleRefresherTouchstart",r)}}function Ue(e,t){var i=Ge(e),o=Ze(t),a=o.getDataset(),s=a.refresherthreshold;qe(a.isios);var r=o.getState(),l={},h=0,n=!1;if(qe(a.watchtouchdirectionchange)){h=(l=Je(e,o)).currentDis;var d=(n=l.isDown)?"top":"bottom";n==r.oldTouchDirection&&n!=r.oldEmitedTouchDirection&&(t.callMethod("_handleTouchDirectionChange",{direction:d}),r.oldEmitedTouchDirection=n),r.oldTouchDirection=n}if(Ye(e,o))return $e(r,t,!1),!0;if(!function(e,t,i,o){var a=o.refreshermaxangle,s=qe(o.refresheraecc),r=i.lastTouch,l=i.reachMaxAngle,h=i.oldMoveDis;if(!r)return!0;if(a>=0&&a<=90&&r){if((!h||h<1)&&!s&&null!=l&&!l)return!1;var n=Math.abs(t.touchX-r.touchX),d=Math.abs(t.touchY-r.touchY),c=Math.sqrt(Math.pow(n,2)+Math.pow(d,2));if((n||d)&&n>1)if(Math.asin(d/c)/Math.PI*180<a){var g=i.hitReachMaxAngleCount||0;return i.hitReachMaxAngleCount=++g,i.hitReachMaxAngleCount>2&&(i.lastTouch=t,i.reachMaxAngle=!1),!1}}return i.lastTouch=t,!0}(0,i,r,a))return $e(r,t,!1),!0;if(h=(l=Je(e,o)).currentDis,n=l.isDown,h<0)return je(0,o,r,!1),$e(r,t,!1),!0;if(n&&!r.disabledBounce)return t.callMethod("_handleScrollViewDisableBounce",{bounce:!1}),r.disabledBounce=!0,$e(r,t,n),!n;je(h,o,r,!1);var c=r.refresherStatus,g=qe(a.oldistouchmoving),u=qe(a.hastouchmove),p=r.isTouchmoving;return r.refresherStatus=h>=s?1:0,p||(r.isTouchmoving=!0,p=!0),r.isTouchEnded&&(r.isTouchEnded=!1),u&&t.callMethod("_handleWxsPullingDown",{moveDis:h,diffDis:l.diffDis}),null!=c&&c==r.refresherStatus&&g==p||t.callMethod("_handleRefresherTouchmove",h,i),$e(r,t,n),!n}function Oe(e,t){Ge(e);var i=Ze(t);i.getDataset();var o=i.getState();if(!Ye(e,i)&&(o.reachMaxAngle=!0,o.hitReachMaxAngleCount=0,o.disabledBounce=!1,o.isTouchmoving)){var a=o.refresherStatus,s=o.moveDis,r=i.getDataset().refresherthreshold,l=Je(e,i).currentDis;if(l>=r&&1===a||(o.isTouchmoving=!1),t.callMethod("_handleRefresherTouchend",l),o.isTouchEnded=!0,!(s<r)){var h=!1;l>=r&&(l=r,h=!0),je(l,i,o,h)}}}function Qe(){if(!navigator)return!1;if(-1!=Ne)return Ne;return Ne=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"].every((function(e){return navigator.userAgent.indexOf(e)<0}))}var We=!1;function je(e,t,i,o){e=e||0,i.moveDis!=e&&(i.moveDis=e,Ke("translateY("+e+"px)",t,o,""))}function Ke(e,t,i,o){qe(t.getDataset().refreshernotransform)||(e="translateY(0px)"==e?"none":e,t.requestAnimationFrame((function(){var a={transform:e};i&&(a.transition="transform .1s linear"),o.length&&(a.transition=o),t.setStyle(a)})))}function Je(e,t){var i=t.getState(),o=parseFloat(t.getDataset().refresherthreshold),a=parseFloat(t.getDataset().refresheroutrate),s=parseFloat(t.getDataset().refresherpullrate),r=Ge(e),l=i.startY&&"NaN"!=i.startY?i.startY:_e,h=r.touchY-l,n=i.oldMoveDis||0;i.oldMoveDis=h;var d=h-n;return d>0&&(d*=s,He>o&&(d*=1-a)),He+=d=d>100?d/100:d>20?d/20:d,{currentDis:He=Math.max(0,He),diffDis:d,isDown:d>0}}function Ge(e){var t=e;return e.touches&&e.touches.length?t=e.touches[0]:e.changedTouches&&e.changedTouches.length?t=e.changedTouches[0]:e.datail&&e.datail!={}&&(t=e.datail),{touchX:t.clientX,touchY:t.clientY}}function Ze(e){var t=e.getState().currentIns;return t||e.callMethod("_handlePropUpdate"),t}function Ye(e,t,i){var o=t.getDataset();t.getState();var a=qe(o.loading),s=qe(o.usechatrecordmode),r=qe(o.refresherenabled),l=qe(o.usecustomrefresher),h=qe(o.usepagescroll),n=parseFloat(o.pagescrolltop),d=parseFloat(o.scrolltop);return a||s||!r||!l||h&&l&&n>5||!h&&l&&d>5}function $e(e,t,i){(e.onPullingDown||!1)!=i&&t.callMethod("_handleWxsPullingDownStatusChange",i),e.onPullingDown=i}function qe(e){return 1==(e=("string"==typeof e?JSON.parse(e):e)||!1)||"true"==e}const Xe={touchstart:Fe,touchmove:Ue,touchend:Oe,mousedown:function(e,t){Qe()&&(Fe(e,t),We=!0)},mousemove:function(e,t){Qe()&&We&&Ue(e,t)},mouseup:function(e,t){Qe()&&(Oe(e,t),We=!1)},mouseleave:function(e,t){Qe()&&(We=!1)},propObserver:function(e,t,i,o){var a=i.getState()||{};if(a.currentIns=o,o.getDataset().loading,e&&-1!=e.indexOf("end"))Ke("translateY(0px)",o,!1,e.split("end")[0]),a.moveDis=0,a.oldMoveDis=0,He=0;else if(e&&-1!=e.indexOf("begin")){je(o.getDataset().refresherthreshold,o,a,!1)}}},et=e=>{e.$wxs||(e.$wxs=[]),e.$wxs.push("pagingWxs"),e.mixins||(e.mixins=[]),e.mixins.push({beforeCreate(){this.pagingWxs=Xe}})},tt={startY:0,isTouchFromZPaging:!1,isUsePageScroll:!1,isReachedTop:!0,isIosAndH5:!1,appLaunched:!1},it={name:"z-paging",mixins:[{mounted(){window&&this._handleTouch()},methods:{renderPropIsIosAndH5Change(e){-1!==e&&(tt.isIosAndH5=e)},_handleTouch(){window.$zPagingRenderJsInited||(window.$zPagingRenderJsInited=!0,window.addEventListener("touchstart",this._handleTouchstart,{passive:!0}),window.addEventListener("touchmove",this._handleTouchmove,{passive:!1}))},_handleTouchstart(e){const t=fe.getTouch(e);tt.startY=t.touchY;const i=fe.getTouchFromZPaging(e.target);tt.isTouchFromZPaging=i.isFromZp,tt.isUsePageScroll=i.isPageScroll,tt.isReachedTop=i.isReachedTop},_handleTouchmove(e){const t=fe.getTouch(e).touchY-tt.startY;tt.isTouchFromZPaging&&(tt.isReachedTop&&t>0||tt.isIosAndH5&&!tt.isUsePageScroll&&t<0)&&e.cancelable&&!e.defaultPrevented&&e.preventDefault()},_removeAllEventListener(){window.removeEventListener("touchstart"),window.removeEventListener("touchmove")}}}]},ot=e=>{e.$renderjs||(e.$renderjs=[]),e.$renderjs.push("pagingRenderjs"),e.mixins||(e.mixins=[]),e.mixins.push({beforeCreate(){this.pagingRenderjs=this},mounted(){this.$ownerInstance=this.$gcd(this,!0)}}),e.mixins.push(it)};et(ze),ot(ze);const at=_(ze,[["render",function(u,p,f,m,S,w){const R=g,C=b("z-paging-refresh"),A=c,x=d,M=b("z-paging-load-more"),I=N(P("z-paging-empty-view"),$),L=V;return e(),t(R,{class:n({"z-paging-content":!0,"z-paging-content-fixed":!u.usePageScroll&&u.fixed,"z-paging-content-page":u.usePageScroll,"z-paging-reached-top":u.renderPropScrollTop<1}),style:a([u.finalPagingStyle])},{default:i((()=>[-1===u.cssSafeAreaInsetBottom?(e(),t(R,{key:0,class:"zp-safe-area-inset-bottom"})):h("",!0),!u.usePageScroll&&u.zSlots.top?D(u.$slots,"top",{key:1},void 0,!0):u.usePageScroll&&u.zSlots.top?(e(),t(R,{key:2,class:"zp-page-top",onTouchmove:p[0]||(p[0]=l((()=>{}),["stop","prevent"])),style:a([{top:`${u.windowTop}px`,"z-index":u.topZIndex}])},{default:i((()=>[D(u.$slots,"top",{},void 0,!0)])),_:3},8,["style"])):h("",!0),o(R,{class:n({"zp-view-super":!0,"zp-scroll-view-super":!u.usePageScroll}),style:a([u.finalScrollViewStyle])},{default:i((()=>[u.zSlots.left?(e(),t(R,{key:0,class:n({"zp-page-left":!0,"zp-absoulte":u.finalIsOldWebView})},{default:i((()=>[D(u.$slots,"left",{},void 0,!0)])),_:3},8,["class"])):h("",!0),o(R,{class:n({"zp-scroll-view-container":!0,"zp-absoulte":u.finalIsOldWebView}),style:a([u.scrollViewContainerStyle])},{default:i((()=>[o(L,{ref:"zp-scroll-view",class:n({"zp-scroll-view":!0,"zp-scroll-view-absolute":!u.usePageScroll,"zp-scroll-view-hide-scrollbar":!u.showScrollbar}),"scroll-top":u.scrollTop,"scroll-x":u.scrollX,"scroll-y":u.scrollable&&!u.usePageScroll&&u.scrollEnable&&(!!u.refresherCompleteScrollable||u.refresherStatus!==u.R.Complete),"enable-back-to-top":u.finalEnableBackToTop,"show-scrollbar":u.showScrollbar,"scroll-with-animation":u.finalScrollWithAnimation,"scroll-into-view":u.scrollIntoView,"lower-threshold":u.finalLowerThreshold,"upper-threshold":5,"refresher-enabled":u.finalRefresherEnabled&&!u.useCustomRefresher,"refresher-threshold":u.finalRefresherThreshold,"refresher-default-style":u.finalRefresherDefaultStyle,"refresher-background":u.refresherBackground,"refresher-triggered":u.finalRefresherTriggered,onScroll:u._scroll,onScrolltolower:u._onScrollToLower,onScrolltoupper:u._onScrollToUpper,onRefresherrestore:u._onRestore,onRefresherrefresh:p[2]||(p[2]=e=>u._onRefresh(!0))},{default:i((()=>[o(R,{class:"zp-paging-touch-view",onTouchstart:u.pagingWxs.touchstart,onTouchmove:u.pagingWxs.touchmove,onTouchend:u.pagingWxs.touchend,onTouchcancel:u.pagingWxs.touchend,onMousedown:u.pagingWxs.mousedown,onMousemove:u.pagingWxs.mousemove,onMouseup:u.pagingWxs.mouseup,onMouseleave:u.pagingWxs.mouseleave},{default:i((()=>[u.finalRefresherFixedBacHeight>0?(e(),t(R,{key:0,class:"zp-fixed-bac-view",style:a([{background:u.refresherFixedBackground,height:`${u.finalRefresherFixedBacHeight}px`}])},null,8,["style"])):h("",!0),o(R,{class:"zp-paging-main",style:a([u.scrollViewInStyle,{transform:u.finalRefresherTransform,transition:u.refresherTransition}]),"change:prop":u.pagingWxs.propObserver,prop:u.wxsPropType,"data-refresherThreshold":u.finalRefresherThreshold,"data-isIos":u.isIos,"data-loading":u.loading||u.isRefresherInComplete,"data-useChatRecordMode":u.useChatRecordMode,"data-refresherEnabled":u.refresherEnabled,"data-useCustomRefresher":u.useCustomRefresher,"data-pageScrollTop":u.wxsPageScrollTop,"data-scrollTop":u.wxsScrollTop,"data-refresherMaxAngle":u.refresherMaxAngle,"data-refresherNoTransform":u.refresherNoTransform,"data-refresherAecc":u.refresherAngleEnableChangeContinued,"data-usePageScroll":u.usePageScroll,"data-watchTouchDirectionChange":u.watchTouchDirectionChange,"data-oldIsTouchmoving":u.isTouchmoving,"data-refresherOutRate":u.finalRefresherOutRate,"data-refresherPullRate":u.finalRefresherPullRate,"data-hasTouchmove":u.hasTouchmove,"change:renderPropIsIosAndH5":u.pagingRenderjs.renderPropIsIosAndH5Change,renderPropIsIosAndH5:u.isIosAndH5},{default:i((()=>[u.showRefresher?(e(),t(R,{key:0,class:"zp-custom-refresher-view",style:a([{"margin-top":`-${u.finalRefresherThreshold+u.refresherThresholdUpdateTag}px`,background:u.refresherBackground,opacity:u.isTouchmoving?1:0}])},{default:i((()=>[o(R,{class:"zp-custom-refresher-container",style:a([{height:`${u.finalRefresherThreshold}px`,background:u.refresherBackground}])},{default:i((()=>[o(R,{class:"zp-custom-refresher-slot-view"},{default:i((()=>[u.zSlots.refresherComplete&&u.refresherStatus===u.R.Complete?h("",!0):D(u.$slots,"refresher",{key:0,refresherStatus:u.refresherStatus},void 0,!0)])),_:3}),u.zSlots.refresherComplete&&u.refresherStatus===u.R.Complete?D(u.$slots,"refresherComplete",{key:0},void 0,!0):u.showCustomRefresher?h("",!0):(e(),t(C,{key:1,ref:"refresh",style:a([{height:`${u.finalRefresherThreshold}px`}]),status:u.refresherStatus,defaultThemeStyle:u.finalRefresherThemeStyle,defaultText:u.finalRefresherDefaultText,pullingText:u.finalRefresherPullingText,refreshingText:u.finalRefresherRefreshingText,completeText:u.finalRefresherCompleteText,defaultImg:u.refresherDefaultImg,pullingImg:u.refresherPullingImg,refreshingImg:u.refresherRefreshingImg,completeImg:u.refresherCompleteImg,refreshingAnimated:u.refresherRefreshingAnimated,showUpdateTime:u.showRefresherUpdateTime,updateTimeKey:u.refresherUpdateTimeKey,updateTimeTextMap:u.finalRefresherUpdateTimeTextMap,imgStyle:u.refresherImgStyle,titleStyle:u.refresherTitleStyle,updateTimeStyle:u.refresherUpdateTimeStyle},null,8,["style","status","defaultThemeStyle","defaultText","pullingText","refreshingText","completeText","defaultImg","pullingImg","refreshingImg","completeImg","refreshingAnimated","showUpdateTime","updateTimeKey","updateTimeTextMap","imgStyle","titleStyle","updateTimeStyle"]))])),_:3},8,["style"])])),_:3},8,["style"])):h("",!0),o(R,{class:"zp-paging-container"},{default:i((()=>[u.useChatRecordMode&&u.zSlots.chatLoading&&u.loadingStatus!==u.M.NoMore&&u.realTotalData.length?D(u.$slots,"chatLoading",{key:0},void 0,!0):u.useChatRecordMode&&u.loadingStatus!==u.M.NoMore&&u.realTotalData.length?(e(),t(R,{key:1,class:"zp-chat-record-loading-container"},{default:i((()=>[u.loadingStatus!==u.M.Loading?(e(),t(A,{key:0,onClick:u._onScrollToUpper,class:n("white"===u.defaultThemeStyle?"zp-loading-more-text zp-loading-more-text-white":"zp-loading-more-text zp-loading-more-text-black")},{default:i((()=>[s(r(u.chatRecordLoadingMoreText),1)])),_:1},8,["onClick","class"])):(e(),t(x,{key:1,src:u.base64Flower,class:"zp-chat-record-loading-custom-image"},null,8,["src"]))])),_:1})):h("",!0),u.showLoading&&u.zSlots.loading&&!u.loadingFullFixed?D(u.$slots,"loading",{key:2},void 0,!0):h("",!0),o(R,{class:"zp-paging-container-content",style:a([{transform:u.virtualPlaceholderTopHeight>0?`translateY(${u.virtualPlaceholderTopHeight}px)`:"none"},u.finalPagingContentStyle])},{default:i((()=>[D(u.$slots,"default",{},void 0,!0),u.finalUseInnerList?(e(),T(y,{key:0},[D(u.$slots,"header",{},void 0,!0),o(R,{class:"zp-list-container",style:a([u.innerListStyle])},{default:i((()=>[u.finalUseVirtualList?(e(!0),T(y,{key:0},B(u.virtualList,((o,r)=>(e(),t(R,{class:"zp-list-cell",style:a([u.innerCellStyle]),id:`zp-id-${o[u.virtualCellIndexKey]}`,key:o.zp_unique_index,onClick:e=>u._innerCellClick(o,u.virtualTopRangeIndex+r)},{default:i((()=>[u.useCompatibilityMode?(e(),t(R,{key:0},{default:i((()=>[s("使用兼容模式请在组件源码z-paging.vue第99行中注释这一行,并打开下面一行注释")])),_:1})):D(u.$slots,"cell",{key:1,item:o,index:u.virtualTopRangeIndex+r},void 0,!0)])),_:2},1032,["style","id","onClick"])))),128)):(e(!0),T(y,{key:1},B(u.realTotalData,((o,a)=>(e(),t(R,{class:"zp-list-cell",key:a,onClick:e=>u._innerCellClick(o,a)},{default:i((()=>[D(u.$slots,"cell",{item:o,index:a},void 0,!0)])),_:2},1032,["onClick"])))),128))])),_:3},8,["style"]),D(u.$slots,"footer",{},void 0,!0)],64)):h("",!0),u.useVirtualList?(e(),t(R,{key:1,class:"zp-virtual-placeholder",style:a([{height:u.virtualPlaceholderBottomHeight+"px"}])},null,8,["style"])):h("",!0),u.showLoadingMoreDefault?D(u.$slots,"loadingMoreDefault",{key:2},void 0,!0):u.showLoadingMoreLoading?D(u.$slots,"loadingMoreLoading",{key:3},void 0,!0):u.showLoadingMoreNoMore?D(u.$slots,"loadingMoreNoMore",{key:4},void 0,!0):u.showLoadingMoreFail?D(u.$slots,"loadingMoreFail",{key:5},void 0,!0):u.showLoadingMoreCustom?(e(),t(M,{key:6,onDoClick:p[1]||(p[1]=e=>u._onLoadingMore("click")),zConfig:u.zLoadMoreConfig},null,8,["zConfig"])):h("",!0),u.safeAreaInsetBottom&&u.useSafeAreaPlaceholder?(e(),t(R,{key:7,class:"zp-safe-area-placeholder",style:a([{height:u.safeAreaBottom+"px"}])},null,8,["style"])):h("",!0)])),_:3},8,["style"]),u.showEmpty?(e(),t(R,{key:3,class:n({"zp-empty-view":!0,"zp-empty-view-center":u.emptyViewCenter}),style:a([u.emptyViewSuperStyle])},{default:i((()=>[u.zSlots.empty?D(u.$slots,"empty",{key:0,isLoadFailed:u.isLoadFailed},void 0,!0):(e(),t(I,{key:1,emptyViewImg:u.finalEmptyViewImg,emptyViewText:u.finalEmptyViewText,showEmptyViewReload:u.finalShowEmptyViewReload,emptyViewReloadText:u.finalEmptyViewReloadText,isLoadFailed:u.isLoadFailed,emptyViewStyle:u.emptyViewStyle,emptyViewTitleStyle:u.emptyViewTitleStyle,emptyViewImgStyle:u.emptyViewImgStyle,emptyViewReloadStyle:u.emptyViewReloadStyle,emptyViewZIndex:u.emptyViewZIndex,emptyViewFixed:u.emptyViewFixed,onReload:u._emptyViewReload,onViewClick:u._emptyViewClick},null,8,["emptyViewImg","emptyViewText","showEmptyViewReload","emptyViewReloadText","isLoadFailed","emptyViewStyle","emptyViewTitleStyle","emptyViewImgStyle","emptyViewReloadStyle","emptyViewZIndex","emptyViewFixed","onReload","onViewClick"]))])),_:3},8,["class","style"])):h("",!0)])),_:3})])),_:3},8,["style","change:prop","prop","data-refresherThreshold","data-isIos","data-loading","data-useChatRecordMode","data-refresherEnabled","data-useCustomRefresher","data-pageScrollTop","data-scrollTop","data-refresherMaxAngle","data-refresherNoTransform","data-refresherAecc","data-usePageScroll","data-watchTouchDirectionChange","data-oldIsTouchmoving","data-refresherOutRate","data-refresherPullRate","data-hasTouchmove","change:renderPropIsIosAndH5","renderPropIsIosAndH5"])])),_:3},8,["onTouchstart","onTouchmove","onTouchend","onTouchcancel","onMousedown","onMousemove","onMouseup","onMouseleave"])])),_:3},8,["class","scroll-top","scroll-x","scroll-y","enable-back-to-top","show-scrollbar","scroll-with-animation","scroll-into-view","lower-threshold","refresher-enabled","refresher-threshold","refresher-default-style","refresher-background","refresher-triggered","onScroll","onScrolltolower","onScrolltoupper","onRefresherrestore"])])),_:3},8,["class","style"]),u.zSlots.right?(e(),t(R,{key:1,class:n({"zp-page-right":!0,"zp-absoulte zp-right":u.finalIsOldWebView})},{default:i((()=>[D(u.$slots,"right",{},void 0,!0)])),_:3},8,["class"])):h("",!0)])),_:3},8,["class","style"]),!u.usePageScroll&&u.zSlots.bottom?D(u.$slots,"bottom",{key:3},void 0,!0):u.usePageScroll&&u.zSlots.bottom?(e(),t(R,{key:4,class:"zp-page-bottom",onTouchmove:p[3]||(p[3]=l((()=>{}),["stop","prevent"])),style:a([{bottom:`${u.windowBottom}px`}])},{default:i((()=>[D(u.$slots,"bottom",{},void 0,!0)])),_:3},8,["style"])):h("",!0),u.showBackToTopClass?(e(),t(R,{key:5,class:n(u.backToTopClass),style:a([u.finalBackToTopStyle]),onClick:l(u._backToTopClick,["stop"])},{default:i((()=>[u.zSlots.backToTop?D(u.$slots,"backToTop",{key:0},void 0,!0):(e(),t(x,{key:1,class:"zp-back-to-top-img",src:u.backToTopImg.length?u.backToTopImg:u.base64BackToTop},null,8,["src"]))])),_:3},8,["class","style","onClick"])):h("",!0),u.showLoading&&u.zSlots.loading&&u.loadingFullFixed?(e(),t(R,{key:6,class:"zp-loading-fixed"},{default:i((()=>[D(u.$slots,"loading",{},void 0,!0)])),_:3})):h("",!0)])),_:3},8,["class","style"])}],["__scopeId","data-v-5acc9432"]]),st=_({__name:"msgList",setup(a){const l=E([]),h=E(null);function d(e,t){F({pageNum:e,pageSize:t}).then((e=>{for(var t of e.rows)switch(t.type){case 30001:t.name="你有一条会员缴费等待审批,点击去处理!",t.path="/member/audit";break;case 30002:t.name="你有一条级位考试等待审批,点击去处理!",t.path="/level/approval";break;case 30003:t.name="你有一条段位考试等待审批,点击去处理!",t.path="/rank/approval";break;case 30004:t.name="你有一条会员调动等待审批,点击去处理!",t.path="/member/mobillize";break;case 30005:t.name="你有一条团体会员认证等待审批,点击去处理!",t.path="/group/authentication";break;case 30006:t.name="你有一条段位成绩等待审批,点击去处理!",t.path="/rank/score/approval";break;case 40001:t.name="你有一条级位申请待提交,点击去处理!",t.path="/level/apply/modify/"+t.eventId;break;case 40002:t.name="你有一条段位申请待提交,点击去处理!",t.path="/rank/apply/modify/"+t.eventId;break;case 40003:t.name="你有一条成绩维护的数据待提交,点击去处理!",t.path="/rank/score/modify/"+t.eventId;break;case 50001:t.name="你有一条新的个人会员申请,点击去处理!",t.path="/member/list"}h.value.complete(e.rows)}))}return E(2),(a,u)=>{const p=c,f=g,m=N(P("uni-section"),H),S=N(P("z-paging"),at);return e(),t(f,null,{default:i((()=>[o(S,{ref_key:"paging",ref:h,modelValue:l.value,"onUpdate:modelValue":u[0]||(u[0]=e=>l.value=e),onQuery:d},{default:i((()=>[o(m,{title:"待办提醒",padding:""},{default:i((()=>[o(f,{class:"msglist"},{default:i((()=>[(e(!0),T(y,null,B(l.value,(a=>(e(),t(f,{class:"msgitem",onClick:e=>{return z({url:(t=a).path}),void U({id:t.id}).then((e=>{t.readFlag="1"}));var t}},{default:i((()=>[o(p,{class:n(["dot",{done:"1"==a.readFlag}])},null,8,["class"]),o(f,{class:"tt esp"},{default:i((()=>[s(r(a.name),1)])),_:2},1024),o(f,{class:"date"},{default:i((()=>[s(r(a.createTime),1)])),_:2},1024)])),_:2},1032,["onClick"])))),256))])),_:1})])),_:1})])),_:1},8,["modelValue"])])),_:1})}}},[["__scopeId","data-v-40a48524"]]);export{st as default};