logistics_sy/public/mobile/assets/z-paging.dba6931f.js

2 lines
97 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{o as e,c as t,w as i,b as o,x as s,l as a,t as r,v as l,h as n,s as h,n as d,y as g,k as u,X as c,$ as f,Y as p,Z as m,P as T,e as y,F as S,_ as w,a0 as R,D as C,a1 as A,a2 as x,G as M,a3 as I,a4 as L,a5 as v,r as b,a as B,E,f as P,U as k}from"./index.26a6cf84.js";import{_ as V}from"./plugin-vue_export-helper.21dcd24c.js";var D="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAD1BMVEVHcExRUVFMTExRUVFRUVE9CdWsAAAABHRSTlMAjjrY9ZnUjwAAAQFJREFUWMPt2MsNgzAMgGEEE1B1gKJmAIRYoCH7z9RCXrabh33iYktcIv35EEg5ZBh07pvxJU6MFSPOSRnjnBUjUsaciRUjMsb4xIoRCWNiYsUInzE5sWKEyxiYWDbyefqHx1zIeiYTk7mQYziTYecxHvEJjwmIT3hMQELCYSISEg4TkZj0mYTEpM8kJCU9JiMp6TEZyUmbAUhO2gxAQNJiIAKSFgMRmNQZhMCkziAEJTUGIyipMRjBSZkhCE7KDEFIUmTeGCHJxWz0zXaE0GTCG8ZFtEaS347r/1fe11YyHYVfubxayfjoHmc0YYwmmmiiiSaaaKLJ7ckyz5ve+dw3Xw2emdwm9xSbAAAAAElFTkSuQmCC",z="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAElBMVEVHcEz///////////////////+IGTx/AAAABnRSTlMA/dAkXZOhASU/AAABYElEQVRYw+2YwXLCIBCGsdAHWGbyAKZ4zxi9O017rxLf/1UaWFAgA1m8dcpedNSPf/l/Vh0Ya/Wn6hN0JcGvoCqRM4C8VBFiDwBqqNuJKV0rAnCgy3AUqZE57x0iqTL8Br4U3WBf/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jvJ21+SPCBHPJDDk6QITekEV7gqCC19CpKAym9IMfckKv4olMBCeIrWwVEfvkshzQekO9r9P1/ALk+IG1eSPCDiCJfyG+FyU+A6ZCa/piZDinpz7LpkCv5gdkAEshP5emQhv7onw6pGeULyZCSUYiRDAmMkpJkCKs4JhFSq8p8hJBSVbAkhARV6ZUQoisik0FqXTmcDHLVFfbJIEFXoiiCNMpiSxGkVJaNiiBBWQArgTTaUl4JpNQWJUsgQVteXQg+AKkLxQWFGKW+5J2+eVp4S168X3CF1CltCKdTJ8lb84YK2bUBO+wZW0Pqv9nk4tKu49N45NJC5dMM5tLW5tOg59Jq6NM06dL+abFXwr/RkuvTXJwae1abtE/Dt0/ruksTvs84AZ/BCC4jHnyGVfiM3VBQFANEXEah+Ax18RlP4zNox2dkkM/wI58xTn8yDCXGYCDV3W5RGSajtXyGhG1jbpbjzpwGt/0MJft8jqC7iUbQ/QZaxdnKqcIftwAAAABJRU5ErkJggg==";var Q=V({name:"z-paging-empty-view",data:()=>({base64Empty:O,base64Error:U}),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?this.base64Error:this.base64Empty},finalEmptyViewStyle(){return this.emptyViewStyle["z-index"]=this.emptyViewZIndex,this.emptyViewStyle}},methods:{reloadClick(){this.$emit("reload")},emptyViewClick(){this.$emit("viewClick")}}},[["render",function(c,f,p,m,T,y){const S=d,w=g,R=u;return e(),t(R,{class:h({"zp-container":!0,"zp-container-fixed":p.emptyViewFixed}),style:s([y.finalEmptyViewStyle]),onClick:y.emptyViewClick},{default:i((()=>[o(R,{class:"zp-main"},{default:i((()=>[p.emptyViewImg.length?(e(),t(S,{key:1,class:"zp-main-image",mode:"aspectFit",style:s([p.emptyViewImgStyle]),src:p.emptyViewImg},null,8,["style","src"])):(e(),t(S,{key:0,class:"zp-main-image",style:s([p.emptyViewImgStyle]),src:y.emptyImg},null,8,["style","src"])),o(w,{class:"zp-main-title",style:s([p.emptyViewTitleStyle])},{default:i((()=>[a(r(p.emptyViewText),1)])),_:1},8,["style"]),p.showEmptyViewReload?(e(),t(w,{key:2,class:"zp-main-error-btn",style:s([p.emptyViewReloadStyle]),onClick:l(y.reloadClick,["stop"])},{default:i((()=>[a(r(p.emptyViewReloadText),1)])),_:1},8,["style","onClick"])):n("v-if",!0)])),_:1})])),_:1},8,["class","style","onClick"])}],["__scopeId","data-v-5da7ec7e"]]);var j=100,K="z-paging-i18n-update",G="z-paging-error-emit",J="z-paging-complete-emit",Z="zp_index",Y="zp_unique_index";function $(e=!0){return q(!1,e)}function q(e,t=!0){let i="";t&&(i=p().language);let o=e||m("z-paging-i18n-update")||i;o=o.toLowerCase();const s=new RegExp("_","");return o=o.replace(s,"-"),-1!==o.indexOf("zh")?"zh"===o||"zh-cn"===o||-1!==o.indexOf("zh-hans")?"zh-cn":"zh-hant-cn":-1!==o.indexOf("en")?"en":"zh-cn"}var X={t:{refresherDefaultText:{en:"Pull down to refresh","zh-cn":"继续下拉刷新","zh-hant-cn":"繼續下拉重繪"},refresherPullingText:{en:"Release to refresh","zh-cn":"松开立即刷新","zh-hant-cn":"鬆開立即重繪"},refresherRefreshingText:{en:"Refreshing...","zh-cn":"正在刷新...","zh-hant-cn":"正在重繪..."},refresherCompleteText:{en:"Refresh succeeded","zh-cn":"刷新成功","zh-hant-cn":"重繪成功"},loadingMoreDefaultText:{en:"Click to load more","zh-cn":"点击加载更多","zh-hant-cn":"點擊加載更多"},loadingMoreLoadingText:{en:"Loading...","zh-cn":"正在加载...","zh-hant-cn":"正在加載..."},loadingMoreNoMoreText:{en:"No more data","zh-cn":"没有更多了","zh-hant-cn":"沒有更多了"},loadingMoreFailText:{en:"Load failed,click to reload","zh-cn":"加载失败,点击重新加载","zh-hant-cn":"加載失敗,點擊重新加載"},emptyViewText:{en:"No data","zh-cn":"没有数据哦~","zh-hant-cn":"沒有數據哦~"},emptyViewReloadText:{en:"Reload","zh-cn":"重新加载","zh-hant-cn":"重新加載"},emptyViewErrorText:{en:"Sorry,load failed","zh-cn":"很抱歉,加载失败","zh-hant-cn":"很抱歉,加載失敗"},systemLoadingText:{en:"Loading...","zh-cn":"加载中...","zh-hant-cn":"加載中..."},refresherUpdateTimeText:{en:"Last update: ","zh-cn":"最后更新:","zh-hant-cn":"最後更新:"},refresherUpdateTimeNoneText:{en:"None","zh-cn":"无","zh-hant-cn":"無"},refresherUpdateTimeTodayText:{en:"Today","zh-cn":"今天","zh-hant-cn":"今天"},refresherUpdateTimeYesterdayText:{en:"Yesterday","zh-cn":"昨天","zh-hant-cn":"昨天"}},getLanguage:$,getLanguageName:function(e=!0){return{"zh-cn":"简体中文","zh-hant-cn":"繁體中文",en:"English"}[$(e)]},setLanguage:function(e){c("z-paging-i18n-update",e),f("z-paging-i18n-update",e)},_getPrivateLanguage:q};let ee=null,te=!1;var ie={setConfig:function(e){try{c("Z-PAGING-CONFIG-STORAGE-KEY",e)}catch(t){}},getConfig:function(){try{if(te)return ee;ee=m("Z-PAGING-CONFIG-STORAGE-KEY"),te=!0}catch(e){return null}}},oe={};const se="Z-PAGING-REFRESHER-TIME-STORAGE-KEY";let ae=null;function re(){try{return m(se)}catch(e){return null}}function le(){return(new Date).getTime()}function ne(e){return 1===(e=e.toString()).length?"0"+e:e}var he={gc:function(e,t){if(!ae)if(oe&&Object.keys(oe).length)ae=oe;else{const e=ie.getConfig();ie&&e&&(ae=e)}if(!ae)return t;const i=ae[function(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}(e)];return void 0===i?t:i},setRefesrherTime:function(e,t){try{let i=re();i||(i={}),i[t]=e,c(se,i)}catch(i){}},getRefesrherFormatTimeByKey:function(e){const t=function(e){const t=re();if(t){const i=t[e];if(i)return i}return null}(e);let i=X.t.refresherUpdateTimeNoneText[X.getLanguage()];return t&&(i=function(e){const t=new Date(e),i=new Date,o=new Date(e).setHours(0,0,0,0),s=(new Date).setHours(0,0,0,0),a=o-s;let r="";const l=function(e){const t=e.getHours(),i=e.getMinutes();return`${ne(t)}:${ne(i)}`}(t);r=0===a?X.t.refresherUpdateTimeTodayText[X.getLanguage()]:-864e5===a?X.t.refresherUpdateTimeYesterdayText[X.getLanguage()]:function(e,t=!0){const i=e.getFullYear(),o=e.getMonth()+1,s=e.getDate();return t?`${i}-${ne(o)}-${ne(s)}`:`${ne(o)}-${ne(s)}`}(t,t.getFullYear()!==i.getFullYear());return`${r} ${l}`}(t)),`${X.t.refresherUpdateTimeText[X.getLanguage()]}${i}`},arrayIsEqual:function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0},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},convertTextToPx: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?T(e):e)},getTime:le,getInstanceId:function(){let e=[];for(let t=0;t<10;t++)e[t]="0123456789abcdef".substr(Math.floor(16*Math.random()),1);return e.join("")+le()},consoleErr:function(e){console.error(`[z-paging]${e}`)},consoleWarn:function(e){console.warn(`[z-paging]${e}`)}};const de={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"}};const ge=p();var ue=V({name:"z-paging-refresh",data:()=>({R:de.Refresher,systemInfo:ge,base64Arrow:D,base64ArrowWhite:z,base64Flower:N,base64FlowerWhite:H,base64Success:F,base64SuccessWhite:_,refresherTimeText:"",leftImageLoaded:!1}),props:{status:{default:de.Refresher.Default},defaultThemeStyle:{},defaultText:"",pullingText:"",refreshingText:"",completeText:"",defaultImg:"",pullingImg:"",refreshingImg:"",completeImg:"",showUpdateTime:{default:!1},updateTimeKey:"",imgStyle:{default:{}},titleStyle:{default:{}},updateTimeStyle:{default:{}}},computed:{statusTextArr(){return this.updateTime(this.updateTimeKey),[this.defaultText,this.pullingText,this.refreshingText,this.completeText]},currentTitle(){return this.statusTextArr[this.status]||this.defaultText},leftImageClass(){if(this.status===this.R.Complete)return"zp-r-left-image-no-transform .zp-r-left-image-pre-size";let e="zp-r-left-image ";return this.status===this.R.Default?this.leftImageLoaded?e+="zp-r-arrow-down":(this.leftImageLoaded=!0,e+="zp-r-arrow-down-no-duration"):e+="zp-r-arrow-top",e+" zp-r-left-image-pre-size"},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,i="white"===this.defaultThemeStyle;return t===e.Default?this.defaultImg?this.defaultImg:i?this.base64ArrowWhite:this.base64Arrow:t===e.ReleaseToRefresh?this.pullingImg?this.pullingImg:this.defaultImg?this.defaultImg:i?this.base64ArrowWhite:this.base64Arrow:t===e.Loading?this.refreshingImg?this.refreshingImg:i?this.base64FlowerWhite:this.base64Flower:t===e.Complete?this.completeImg?this.completeImg:i?this.base64SuccessWhite:this.base64Success:""},rightTextStyle(){let e={},t="#555555";return"white"===this.defaultThemeStyle&&(t="#efefef"),e.color=t,e}},methods:{updateTime(e){e||(e=this.updateTimeKey),this.showUpdateTime&&(this.refresherTimeText=he.getRefesrherFormatTimeByKey(e))}}},[["render",function(l,c,f,p,m,T){const y=d,S=u,w=g;return e(),t(S,{style:{height:"100%"}},{default:i((()=>[o(S,{class:h(f.showUpdateTime?"zp-r-container zp-r-container-padding":"zp-r-container")},{default:i((()=>[o(S,{class:"zp-r-left"},{default:i((()=>[f.status!==m.R.Loading?(e(),t(y,{key:0,class:h(T.leftImageClass),style:s([T.leftImageStyle,f.imgStyle]),src:T.leftImageSrc},null,8,["class","style","src"])):(e(),t(y,{key:1,class:"zp-line-loading-image zp-r-left-image",style:s([T.leftImageStyle,f.imgStyle]),src:T.leftImageSrc},null,8,["style","src"]))])),_:1}),o(S,{class:"zp-r-right"},{default:i((()=>[o(w,{class:"zp-r-right-text",style:s([T.rightTextStyle,f.titleStyle])},{default:i((()=>[a(r(T.currentTitle),1)])),_:1},8,["style"]),f.showUpdateTime&&m.refresherTimeText.length?(e(),t(w,{key:0,class:"zp-r-right-text zp-r-right-time-text",style:s([T.rightTextStyle,f.updateTimeStyle])},{default:i((()=>[a(r(m.refresherTimeText),1)])),_:1},8,["style"])):n("v-if",!0)])),_:1})])),_:1},8,["class"])])),_:1})}],["__scopeId","data-v-d83b196e"]]);var ce=V({name:"z-paging-load-more",data:()=>({M:de.More,base64Arrow:D,base64Flower:N,base64FlowerWhite:H}),props:["zConfig"],computed:{ownLoadingMoreText(){return this.statusTextArr[this.finalStatus]},statusTextArr(){return[this.zConfig.defaultText,this.zConfig.loadingText,this.zConfig.noMoreText,this.zConfig.failText]},finalStatus(){return this.zConfig.defaultAsLoading&&this.zConfig.status===this.M.Default?this.M.Loading:this.zConfig.status}},methods:{doClick(){this.$emit("doClick")}}},[["render",function(l,c,f,p,m,T){const w=g,R=d,C=u;return e(),t(C,{class:"zp-l-container",style:s([f.zConfig.customStyle]),onClick:T.doClick},{default:i((()=>[f.zConfig.hideContent?n("v-if",!0):(e(),y(S,{key:0},[f.zConfig.showNoMoreLine&&T.finalStatus===m.M.NoMore?(e(),t(w,{key:0,class:h("white"===f.zConfig.defaultThemeStyle?"zp-l-line zp-l-line-white":"zp-l-line zp-l-line-black"),style:s([f.zConfig.noMoreLineCustomStyle])},null,8,["class","style"])):n("v-if",!0),T.finalStatus===m.M.Loading&&f.zConfig.loadingIconCustomImage.length?(e(),t(R,{key:1,src:f.zConfig.loadingIconCustomImage,style:s([f.zConfig.iconCustomStyle]),class:h({"zp-l-line-loading-custom-image":!0,"zp-l-line-loading-custom-image-animated":f.zConfig.loadingAnimated})},null,8,["src","style","class"])):n("v-if",!0),T.finalStatus!==m.M.Loading||"flower"!==f.zConfig.loadingIconType||f.zConfig.loadingIconCustomImage.length?n("v-if",!0):(e(),t(R,{key:2,class:"zp-line-loading-image",style:s([f.zConfig.iconCustomStyle]),src:"white"===f.zConfig.defaultThemeStyle?m.base64FlowerWhite:m.base64Flower},null,8,["style","src"])),T.finalStatus!==m.M.Loading||"circle"!==f.zConfig.loadingIconType||f.zConfig.loadingIconCustomImage.length?n("v-if",!0):(e(),t(w,{key:3,class:h("white"===f.zConfig.defaultThemeStyle?"zp-l-line-loading-view zp-l-line-loading-view-white":"zp-l-line-loading-view zp-l-line-loading-view-black"),style:s([f.zConfig.iconCustomStyle])},null,8,["class","style"])),o(w,{class:h("white"===f.zConfig.defaultThemeStyle?"zp-l-text zp-l-text-white":"zp-l-text zp-l-text-black"),style:s([f.zConfig.titleCustomStyle])},{default:i((()=>[a(r(T.ownLoadingMoreText),1)])),_:1},8,["class","style"]),f.zConfig.showNoMoreLine&&T.finalStatus===m.M.NoMore?(e(),t(w,{key:4,class:h("white"===f.zConfig.defaultThemeStyle?"zp-l-line zp-l-line-white":"zp-l-line zp-l-line-black"),style:s([f.zConfig.noMoreLineCustomStyle])},null,8,["class","style"])):n("v-if",!0)],64))])),_:1},8,["style","onClick"])}],["__scopeId","data-v-11b53696"]]);function fe(){return w()}var pe={handleQuery:function(e){try{setTimeout((function(){fe().globalData.zp_handleQueryCallback=e}),1)}catch(t){}},_handleQuery:function(e,t,i){const o=fe().globalData.zp_handleQueryCallback;return o?o(e,t,i):[e,t,i]}};const me={props:{defaultPageNo:{type:[Number,String],default:he.gc("defaultPageNo",1),observer:function(e,t){this.pageNo=e}},defaultPageSize:{type:[Number,String],default:he.gc("defaultPageSize",10),validator:e=>(e<=0&&he.consoleErr("default-page-size必须大于0"),e>0)},dataKey:{type:[Number,String,Object],default:function(){return he.gc("dataKey",null)}},autowireListName:{type:String,default:function(){return he.gc("autowireListName","")}},autowireQueryName:{type:String,default:function(){return he.gc("autowireQueryName","")}},mountedAutoCallReload:{type:Boolean,default:he.gc("mountedAutoCallReload",!0)},auto:{type:Boolean,default:he.gc("auto",!0)},reloadWhenRefresh:{type:Boolean,default:he.gc("reloadWhenRefresh",!0)},autoScrollToTopWhenReload:{type:Boolean,default:he.gc("autoScrollToTopWhenReload",!0)},autoCleanListWhenReload:{type:Boolean,default:he.gc("autoCleanListWhenReload",!0)},showRefresherWhenReload:{type:Boolean,default:he.gc("showRefresherWhenReload",!1)},showLoadingMoreWhenReload:{type:Boolean,default:he.gc("showLoadingMoreWhenReload",!1)},createdReload:{type:Boolean,default:he.gc("createdReload",!1)},localPagingLoadingTime:{type:[Number,String],default:he.gc("localPagingLoadingTime",200)},insideMore:{type:Boolean,default:he.gc("insideMore",!1)},useChatRecordMode:{type:Boolean,default:he.gc("useChatRecordMode",!1)},autoHideKeyboardWhenChat:{type:Boolean,default:he.gc("autoHideKeyboardWhenChat",!0)},concat:{type:Boolean,default:he.gc("concat",!0)},value:{type:Array,default:function(){return[]}},modelValue:{type:Array,default:function(){return[]}}},data:()=>({currentData:[],totalData:[],realTotalData:[],totalLocalPagingList:[],pageNo:1,isLocalPaging:!1,isAddedData:!1,isTotalChangeFromAddData:!1,privateConcat:!0,myParentQuery:-1,firstPageLoaded:!1,pagingLoaded:!1,loaded:!1,isUserReload:!0,fromEmptyViewReload:!1,listRendering:!1,listRenderingTimeout:null}),computed:{pageSize(){return this.defaultPageSize},finalConcat(){return this.concat&&this.privateConcat},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){this.customNoMore=-1,this.addData(e,t)},end(e,t=!0){this.complete(e,t)},completeByKey(e,t=null,i=!0){null===t||null===this.dataKey||t===this.dataKey?(this.customNoMore=-1,this.addData(e,i)):this.isFirstPage&&this.endRefresh()},endByKey(e,t=null,i=!0){this.completeByKey(e,t,i)},completeByTotalCount(e,t,i=!0){if("undefined"==t)this.customNoMore=-1;else{let o=this._checkDataType(e,i,!1);if(e=o.data,i=o.success,t>=0&&i)return void this.$nextTick((()=>{let o=!0,s=this.realTotalData.length;this.pageNo==this.defaultPageNo&&(s=0);let a=s+(this.privateConcat?e.length:0)-t;a>=0&&(o=!1,a=this.defaultPageSize-a,a>0&&a<e.length&&this.privateConcat&&(e=e.splice(0,a))),this.completeByNoMore(e,o,i)}))}this.addData(e,i)},completeByTotal(e,t,i=!0){this.completeByTotalCount(e,t,i)},endByTotalCount(e,t,i=!0){this.completeByTotalCount(e,t,i)},endByTotal(e,t,i=!0){this.completeByTotalCount(e,t,i)},completeByNoMore(e,t,i=!0){"undefined"!=t&&(this.customNoMore=1==t?1:0),this.addData(e,i)},endByNoMore(e,t,i=!0){this.completeByNoMore(e,t,i)},addData(e,t=!0){this.fromCompleteEmit||(this.disabledCompleteEmit=!0,this.fromCompleteEmit=!1);const i=he.getTime();let o=0;const s=i-this.requestTimeStamp;let a=this.minDelay;this.isFirstPage&&this.finalShowRefresherWhenReload&&(a=Math.max(400,a)),this.requestTimeStamp>0&&s<a&&(o=a-s),this.$nextTick((()=>{let i=this.delay>0?this.delay:o;setTimeout((()=>{this._addData(e,t,!1)}),i)}))},addDataFromTop(e,t=!0,i=!0){"[object Array]"!==Object.prototype.toString.call(e)&&(e=[e]),this.totalData=[...e,...this.totalData],t&&setTimeout((()=>{this._scrollToTop(i)}),j)},resetTotalData(e){if(null==e)return void(this.showConsoleError&&he.consoleErr("方法resetTotalData参数缺失"));this.isTotalChangeFromAddData=!0,"[object Array]"!==Object.prototype.toString.call(e)&&(e=[e]),this.totalData=e},addChatRecordData(e,t=!0,i=!0){"[object Array]"!==Object.prototype.toString.call(e)&&(e=[e]),this.useChatRecordMode&&(this.isTotalChangeFromAddData=!0,this.totalData=[...this.totalData,...e],t&&setTimeout((()=>{this._scrollToBottom(i)}),j))},setLocalPaging(e,t=!0){this.isLocalPaging=!0,this.$nextTick((()=>{this._addData(e,t,!0)}))},reload(e=this.showRefresherWhenReload){e&&(this.privateShowRefresherWhenReload=e,this.isUserPullDown=!0),this._preReload(e,!1)},refresh(){if(!this.realTotalData.length)return void this.reload();const e=this.pageNo-this.defaultPageNo+1;if(e>=1){this.loading=!0,this.privateConcat=!1;const t=e*this.pageSize;this._emitQuery(this.defaultPageNo,t,de.QueryFrom.Refresh),this._callMyParentQuery(this.defaultPageNo,t)}},clean(){this._reload(!0),this._addData([],!0,!1)},clear(){this.clean()},doChatRecordLoadMore(){this.useChatRecordMode&&this._onLoadingMore("click")},_preReload(e=this.showRefresherWhenReload,t=!0){this.isUserReload=!0,this.loadingType=de.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.cacheScrollNodeHeight=-1,this.insideOfPaging=-1,this.pageNo=this.defaultPageNo,this._cleanRefresherEndTimeout(),!this.privateShowRefresherWhenReload&&!e&&this._startLoading(!0),this.firstPageLoaded=!0,this.isTotalChangeFromAddData=!1,this.isUserReload&&this.autoCleanListWhenReload&&(this.totalData=[]),!e){this._emitQuery(this.pageNo,this.defaultPageSize,i?de.QueryFrom.UserPullDown:de.QueryFrom.Reload),setTimeout((()=>{this._callMyParentQuery()}),0),!t&&this.autoScrollToTopWhenReload&&this._scrollToTop(!1),!this.usePageScroll&&this.useChatRecordMode&&this.showConsoleError&&he.consoleWarn("使用聊天记录模式时建议使用页面滚动可将usePageScroll设置为true以启用页面滚动")}this.$nextTick((()=>{}))},_addData(e,t,i){this.isAddedData=!0,this.fromEmptyViewReload=!1,this.isTotalChangeFromAddData=!0,this.refresherTriggered=!1,!this.useCustomRefresher&&R();const o=this.isUserPullDown;this.showRefresherUpdateTime&&this.isFirstPage&&(he.setRefesrherTime(he.getTime(),this.refresherUpdateTimeKey),this.tempLanguageUpdateKey=he.getTime(),this.$refs.refresh&&this.$refs.refresh.updateTime()),o&&this.isFirstPage&&(this.isUserPullDown=!1);let s=this._checkDataType(e,t,i);e=s.data,t=s.success;let a=j;if(this.loadingForNow=!1,setTimeout((()=>{this.pagingLoaded=!0,this.$nextTick((()=>{this._refresherEnd(a>0,!0,o)}))}),a),this.isFirstPage&&(this.isLoadFailed=!t),t)if(!1===this.privateConcat&&this.loadingStatus===de.More.NoMore||(this.loadingStatus=de.More.Default),i)this.totalLocalPagingList=e,this._localPagingQueryList(this.defaultPageNo,this.defaultPageSize,0,(e=>{this.complete(e)}));else{setTimeout((()=>{this._currentDataChange(e,this.currentData)}),0)}else this._currentDataChange(e,this.currentData),this.loadingStatus=de.More.Fail,this.loadingType===de.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((()=>{setTimeout((()=>{this._getNodeClientRect(".zp-paging-container-content").then((e=>{e&&this.$emit("contentHeightChanged",e[0].height)}))}),this.isIos?100:300)})))},_currentDataChange(e,t){if(e=[...e],this.listRendering=!0,this.listRenderingTimeout&&clearTimeout(this.listRenderingTimeout),this.$nextTick((()=>{this.listRenderingTimeout=setTimeout((()=>{this.listRendering=!1}),100)})),this.finalUseVirtualList&&this._setCellIndex(e,0===this.totalData.length),this.useChatRecordMode&&e.reverse(),this.isFirstPage&&this.finalConcat&&(this.totalData=[]),-1!==this.customNoMore?0!==this.customNoMore&&e.length||(this.loadingStatus=de.More.NoMore):(!e.length||e.length&&e.length<this.defaultPageSize)&&(this.loadingStatus=de.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),setTimeout((()=>{this._scrollIntoView(i,30+Math.max(0,this.cacheTopHeight),!1,(()=>{this.$emit("update:chatIndex",0)}))}),this.usePageScroll?this.isIos?50:100:200)):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},_localPagingQueryList(e,t,i,o){if(e=parseInt(e),t=parseInt(t),e<0||t<=0)return void this._localPagingQueryResult(o,[],i);e=Math.max(1,e);let s=[...this.totalLocalPagingList],a=(e-1)*t;a+t<=s.length?this._localPagingQueryResult(o,s.splice(a,t),i):a<s.length?this._localPagingQueryResult(o,s.splice(a,s.length-a),i):this._localPagingQueryResult(o,[],i)},_localPagingQueryResult(e,t,i){setTimeout((()=>{e(t)}),i)},_callMyParentList(e){if(this.autowireListName.length){const t=he.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=he.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.requestTimeStamp=he.getTime(),this.$emit("query",...pe._handleQuery(e,t,i))},_checkDataType(e,t,i){const o=Object.prototype.toString.call(e);if("[object Boolean]"===o)t=e,e=[];else if("[object Null]"===o)e=[];else if("[object Array]"!==o){e=[];let t=i?"setLocalPaging":"complete";"[object Undefined]"!==o&&this.showConsoleError&&he.consoleErr(`${t}参数类型不正确第一个参数类型必须为Array!`)}return{data:e,success:t}}}},Te=p(),ye={props:{language:{type:String,default:he.gc("language","")},followSystemLanguage:{type:Boolean,default:he.gc("followSystemLanguage",!0)}},data:()=>({tempLanguageUpdateKey:0}),computed:{tempLanguage(){let e=!1;return this.tempLanguageUpdateKey,this.followSystemLanguage&&(e=Te.language),m(K)||e||"zh-cn"},finalTempLanguage(){return this.language.length?this.language:this.tempLanguage},finalLanguage(){let e=this.finalTempLanguage.toLowerCase();return X._getPrivateLanguage(e,this.followSystemLanguage)},finalRefresherDefaultText(){return this._getI18nText("refresherDefaultText",this.refresherDefaultText)},finalRefresherPullingText(){return this._getI18nText("refresherPullingText",this.refresherPullingText)},finalRefresherRefreshingText(){return this._getI18nText("refresherRefreshingText",this.refresherRefreshingText)},finalRefresherCompleteText(){return this._getI18nText("refresherCompleteText",this.refresherCompleteText)},finalLoadingMoreDefaultText(){return this._getI18nText("loadingMoreDefaultText",this.loadingMoreDefaultText)},finalLoadingMoreLoadingText(){return this._getI18nText("loadingMoreLoadingText",this.loadingMoreLoadingText)},finalLoadingMoreNoMoreText(){return this._getI18nText("loadingMoreNoMoreText",this.loadingMoreNoMoreText)},finalLoadingMoreFailText(){return this._getI18nText("loadingMoreFailText",this.loadingMoreFailText)},finalEmptyViewText(){return this.isLoadFailed?this.finalEmptyViewErrorText:this._getI18nText("emptyViewText",this.emptyViewText)},finalEmptyViewReloadText(){return this._getI18nText("emptyViewReloadText",this.emptyViewReloadText)},finalEmptyViewErrorText(){return this._getI18nText("emptyViewErrorText",this.emptyViewErrorText)},finalSystemLoadingText(){return this._getI18nText("systemLoadingText",this.systemLoadingText)}},methods:{setI18n(e){X.setLanguage(e)},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 X.t[e][this.finalLanguage]}}},Se={props:{nvueListIs:{type:String,default:he.gc("nvueListIs","list")},nvueWaterfallConfig:{type:Object,default:function(){return he.gc("nvueWaterfallConfig",{})}},nvueBounce:{type:Boolean,default:he.gc("nvueBounce",!0)},nvueFastScroll:{type:Boolean,default:he.gc("nvueFastScroll",!1)},nvueListId:{type:String,default:he.gc("nvueListId","")},nvueRefresherStyle:{type:Object,default:function(){return he.gc("nvueRefresherStyle",{})}},nvuePagingEnabled:{type:Boolean,default:he.gc("nvuePagingEnabled",!1)},hideNvueBottomTag:{type:Boolean,default:he.gc("hideNvueBottomTag",!1)},offsetAccuracy:{type:Number,default:he.gc("offsetAccuracy",10)}},data:()=>({nRefresherLoading:!1,nListIsDragging:!1,nShowBottom:!0,nFixFreezing:!1,nShowRefresherReveal:!1,nIsFirstPageAndNoMore:!1,nFirstPageAndNoMoreChecked:!1,nLoadingMoreFixedHeight:!1,nShowRefresherRevealHeight:0,nOldShowRefresherRevealHeight:-1,nRefresherWidth:T(750)}),watch:{nIsFirstPageAndNoMore:{handler(e){const t=!this.useChatRecordMode||e?{}:{transform:"rotate(180deg)"};this.$emit("update:cellStyle",t)},immediate:!0}},computed:{},methods:{}},we={props:{hideEmptyView:{type:Boolean,default:he.gc("hideEmptyView",!1)},emptyViewText:{type:[String,Object],default:he.gc("emptyViewText",null)},showEmptyViewReload:{type:Boolean,default:he.gc("showEmptyViewReload",!1)},showEmptyViewReloadWhenError:{type:Boolean,default:he.gc("showEmptyViewReloadWhenError",!0)},emptyViewReloadText:{type:[String,Object],default:he.gc("emptyViewReloadText",null)},emptyViewImg:{type:String,default:he.gc("emptyViewImg","")},emptyViewErrorText:{type:[String,Object],default:he.gc("emptyViewErrorText",null)},emptyViewErrorImg:{type:String,default:he.gc("emptyViewErrorImg","")},emptyViewStyle:{type:Object,default:function(){return he.gc("emptyViewStyle",{})}},emptyViewSuperStyle:{type:Object,default:function(){return he.gc("emptyViewSuperStyle",{})}},emptyViewImgStyle:{type:Object,default:function(){return he.gc("emptyViewImgStyle",{})}},emptyViewTitleStyle:{type:Object,default:function(){return he.gc("emptyViewTitleStyle",{})}},emptyViewReloadStyle:{type:Object,default:function(){return he.gc("emptyViewReloadStyle",{})}},emptyViewFixed:{type:Boolean,default:function(){return he.gc("emptyViewFixed",!1)}},emptyViewCenter:{type:Boolean,default:function(){return he.gc("emptyViewCenter",!0)}},autoHideEmptyViewWhenLoading:{type:Boolean,default:he.gc("autoHideEmptyViewWhenLoading",!0)},autoHideEmptyViewWhenPull:{type:Boolean,default:he.gc("autoHideEmptyViewWhenPull",!0)},emptyViewZIndex:{type:Number,default:he.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.totalData.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()),e=!0})),this.$nextTick((()=>{e||(this.fromEmptyViewReload=!0,this.reload())}))},_emptyViewClick(){this.$emit("emptyViewClick")}}},Re={props:{refresherThemeStyle:{type:String,default:function(){return he.gc("refresherThemeStyle","")}},refresherImgStyle:{type:Object,default:function(){return he.gc("refresherImgStyle",{})}},refresherTitleStyle:{type:Object,default:function(){return he.gc("refresherTitleStyle",{})}},refresherUpdateTimeStyle:{type:Object,default:function(){return he.gc("refresherUpdateTimeStyle",{})}},watchRefresherTouchmove:{type:Boolean,default:he.gc("watchRefresherTouchmove",!1)},loadingMoreThemeStyle:{type:String,default:function(){return he.gc("loadingMoreThemeStyle","")}},refresherOnly:{type:Boolean,default:he.gc("refresherOnly",!1)},refresherDefaultDuration:{type:[Number,String],default:he.gc("refresherDefaultDuration",100)},refresherCompleteDelay:{type:[Number,String],default:he.gc("refresherCompleteDelay",0)},refresherCompleteDuration:{type:[Number,String],default:he.gc("refresherCompleteDuration",300)},refresherCompleteScrollable:{type:Boolean,default:he.gc("refresherCompleteScrollable",!1)},useCustomRefresher:{type:Boolean,default:he.gc("useCustomRefresher",!0)},refresherFps:{type:[Number,String],default:he.gc("refresherFps",40)},refresherMaxAngle:{type:[Number,String],default:he.gc("refresherMaxAngle",40)},refresherAngleEnableChangeContinued:{type:Boolean,default:he.gc("refresherAngleEnableChangeContinued",!1)},refresherDefaultText:{type:[String,Object],default:he.gc("refresherDefaultText",null)},refresherPullingText:{type:[String,Object],default:he.gc("refresherPullingText",null)},refresherRefreshingText:{type:[String,Object],default:he.gc("refresherRefreshingText",null)},refresherCompleteText:{type:[String,Object],default:he.gc("refresherCompleteText",null)},refresherDefaultImg:{type:String,default:he.gc("refresherDefaultImg",null)},refresherPullingImg:{type:String,default:he.gc("refresherPullingImg",null)},refresherRefreshingImg:{type:String,default:he.gc("refresherRefreshingImg",null)},refresherCompleteImg:{type:String,default:he.gc("refresherCompleteImg",null)},refresherEndBounceEnabled:{type:Boolean,default:he.gc("refresherEndBounceEnabled",!0)},refresherEnabled:{type:Boolean,default:he.gc("refresherEnabled",!0)},refresherThreshold:{type:[Number,String],default:he.gc("refresherThreshold","80rpx")},refresherDefaultStyle:{type:String,default:he.gc("refresherDefaultStyle","black")},refresherBackground:{type:String,default:he.gc("refresherBackground","transparent")},refresherFixedBackground:{type:String,default:he.gc("refresherFixedBackground","transparent")},refresherFixedBacHeight:{type:[Number,String],default:he.gc("refresherFixedBacHeight",0)},refresherOutRate:{type:Number,default:he.gc("refresherOutRate",.7)},refresherPullRate:{type:Number,default:he.gc("refresherPullRate",.85)},showRefresherUpdateTime:{type:Boolean,default:he.gc("showRefresherUpdateTime",!1)},refresherUpdateTimeKey:{type:String,default:he.gc("refresherUpdateTimeKey","default")}},data:()=>({R:de.Refresher,refresherStatus:de.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,oldRefresherTouchmoveY:0,oldTouchDirection:""}),watch:{refresherDefaultStyle:{handler(e){e.length&&(this.finalRefresherDefaultStyle=e)},immediate:!0},refresherStatus(e,t){e===de.Refresher.Loading&&this._cleanRefresherEndTimeout(),this.$emit("refresherStatusChange",e),this.$emit("update:refresherStatus",e)},moveDis(e,t){this.oldMoveDis=t}},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:he.convertTextToPx(e)},finalRefresherFixedBacHeight(){return he.convertTextToPx(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"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&&this.isTouchmoving;return-1===this.customRefresherHeight&&e&&setTimeout((()=>{this.$nextTick((()=>{this._updateCustomRefresherHeight()}))}),100),e},hasTouchmove(){return this.watchRefresherTouchmove}},methods:{endRefresh(){this._refresherEnd()},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=de.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=de.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?de.Refresher.ReleaseToRefresh:this.refresherStatus=de.Refresher.Default,this.moveDis=e},_handleRefresherTouchend(e){this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this.refresherReachMaxAngle=!0,e<0&&this.usePageScroll&&this.loadingMoreEnabled&&this.useCustomRefresher&&-1===this.pageScrollTop&&this.showConsoleError&&he.consoleErr("usePageScroll为true并且自定义下拉刷新时必须引入mixin或在page滚动时通过调用z-paging组件的updatePageScrollTop方法设置当前的scrollTop"),this.isTouchEnded=!0,e>=this.finalRefresherThreshold&&this.refresherStatus===de.Refresher.ReleaseToRefresh?(this.moveDis=this.finalRefresherThreshold,this.refresherStatus=de.Refresher.Loading,this._doRefresherLoad()):(this._refresherEnd(),this.isTouchmovingTimeout=setTimeout((()=>{this.isTouchmoving=!1}),this.refresherDefaultDuration)),this.scrollEnable=!0,this.$emit("refresherTouchend",e)},_handleListTouchstart(){this.useChatRecordMode&&this.autoHideKeyboardWhenChat&&(C(),this.$emit("hidedKeyboard"))},_handleScrollViewDisableBounce(e){this.usePageScroll||this.scrollToTopBounceEnabled||(this.refresherTransition="",this.scrollEnable=e.bounce)},_handleWxsPullingDownStatusChange(e){this.wxsOnPullingDown=e,e&&!this.useChatRecordMode&&(this.renderPropScrollTop=0)},_handleWxsPullingDown(e){this._emitTouchmove({pullingDistance:e.moveDis,dy:e.diffDis})},_handleTouchDirectionChange(e){this.$emit("touchDirectionChange",e.direction)},_handlePropUpdate(e){this.wxsPropType=he.getTime().toString()},_refresherEnd(e=!0,t=!1,i=!1,o=!0){if(this.loadingType===de.LoadingType.Refresher){let e=0;t&&(i||this.showRefresherWhenReload)&&(e=this.refresherCompleteDuration>700?1:this.refresherCompleteDelay);const o=e>0?de.Refresher.Complete:de.Refresher.Default;if(this.finalShowRefresherWhenReload){const e=this.refresherRevealStackCount;if(this.refresherRevealStackCount--,e>1)return}this._cleanRefresherEndTimeout(),this.refresherEndTimeout=setTimeout((()=>{this.refresherStatus=o}),this.refresherStatus!==de.Refresher.Default&&o===de.Refresher.Default?this.refresherCompleteDuration:0),e>0&&(this.isRefresherInComplete=!0),this._cleanRefresherCompleteTimeout(),this.refresherCompleteTimeout=setTimeout((()=>{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"+he.getTime(),this.moveDis=0,o===de.Refresher.Complete&&(this.refresherCompleteSubTimeout&&(clearTimeout(this.refresherCompleteSubTimeout),this.refresherCompleteSubTimeout=null),this.refresherCompleteSubTimeout=setTimeout((()=>{this.$nextTick((()=>{this.refresherStatus=de.Refresher.Default,this.isRefresherInComplete=!1}))}),800*e))}),e)}o&&(setTimeout((()=>{this.loading=!1}),e?j: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"+he.getTime(),this.moveDis=this.finalRefresherThreshold,this.refresherStatus=de.Refresher.Loading,this.isTouchmoving=!0,this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this._doRefresherLoad(!1))},_doRefresherLoad(e=!0){this._onRefresh(!1,e),this.loading=!0},_getFinalRefresherMoveDis(e){return(e*=this.finalRefresherPullRate)>=this.finalRefresherThreshold&&(e=this.finalRefresherThreshold+(e-this.finalRefresherThreshold)*(1-this.finalRefresherOutRate)),e},_updateCustomRefresherHeight(){this._getNodeClientRect(".zp-custom-refresher-slot-view").then((e=>{e?(this.customRefresherHeight=e[0].height,this.customRefresherHeight>0&&(this.showCustomRefresher=!0)):this.customRefresherHeight=0,this.doRefreshAnimateAfter&&(this.doRefreshAnimateAfter=!1,this._doRefresherRefreshAnimate())}))},_emitTouchmove(e){e.viewHeight=this.finalRefresherThreshold,e.rate=e.pullingDistance/e.viewHeight,this.hasTouchmove&&this.$emit("refresherTouchmove",e)},_cleanRefresherCompleteTimeout(){this.refresherCompleteTimeout=this._cleanTimeout(this.refresherCompleteTimeout)},_cleanRefresherEndTimeout(){this.refresherEndTimeout=this._cleanTimeout(this.refresherEndTimeout)}}},Ce={props:{loadingMoreCustomStyle:{type:Object,default:function(){return he.gc("loadingMoreCustomStyle",{})}},loadingMoreTitleCustomStyle:{type:Object,default:function(){return he.gc("loadingMoreTitleCustomStyle",{})}},loadingMoreLoadingIconCustomStyle:{type:Object,default:function(){return he.gc("loadingMoreLoadingIconCustomStyle",{})}},loadingMoreLoadingIconType:{type:String,default:he.gc("loadingMoreLoadingIconType","flower")},loadingMoreLoadingIconCustomImage:{type:String,default:he.gc("loadingMoreLoadingIconCustomImage","")},loadingMoreLoadingAnimated:{type:Boolean,default:he.gc("loadingMoreLoadingAnimated",!0)},loadingMoreEnabled:{type:Boolean,default:he.gc("loadingMoreEnabled",!0)},toBottomLoadingMoreEnabled:{type:Boolean,default:he.gc("toBottomLoadingMoreEnabled",!0)},loadingMoreDefaultAsLoading:{type:[Boolean],default:he.gc("loadingMoreDefaultAsLoading",!1)},loadingMoreDefaultText:{type:[String,Object],default:he.gc("loadingMoreDefaultText",null)},loadingMoreLoadingText:{type:[String,Object],default:he.gc("loadingMoreLoadingText",null)},loadingMoreNoMoreText:{type:[String,Object],default:he.gc("loadingMoreNoMoreText",null)},loadingMoreFailText:{type:[String,Object],default:he.gc("loadingMoreFailText",null)},hideLoadingMoreWhenNoMoreAndInsideOfPaging:{type:Boolean,default:he.gc("hideLoadingMoreWhenNoMoreAndInsideOfPaging",!1)},hideLoadingMoreWhenNoMoreByLimit:{type:Number,default:he.gc("hideLoadingMoreWhenNoMoreByLimit",0)},showDefaultLoadingMoreText:{type:Boolean,default:he.gc("showDefaultLoadingMoreText",!0)},showLoadingMoreNoMoreView:{type:Boolean,default:he.gc("showLoadingMoreNoMoreView",!0)},showLoadingMoreNoMoreLine:{type:Boolean,default:he.gc("showLoadingMoreNoMoreLine",!0)},loadingMoreNoMoreLineCustomStyle:{type:Object,default:function(){return he.gc("loadingMoreNoMoreLineCustomStyle",{})}},lowerThreshold:{type:[Number,String],default:he.gc("lowerThreshold","100rpx")}},data:()=>({M:de.More,loadingStatus:de.More.Default,loadingStatusAfterRender:de.More.Default,loadingMoreTimeStamp:0,loadingMoreDefaultSlot:null,showLoadingMore:!1,customNoMore:-1}),computed:{zPagingLoadMoreConfig(){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){this.checkScrolledToBottomTimeOut&&(clearTimeout(this.checkScrolledToBottomTimeOut),this.checkScrolledToBottomTimeOut=null),-1===this.cacheScrollNodeHeight?this._getNodeClientRect(".zp-scroll-view").then((t=>{if(t){let 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&&(this.checkScrolledToBottomTimeOut=setTimeout((()=>{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))},_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!==de.More.Default&&this.loadingStatus!==de.More.Fail||this.loading||this._doLoadingMore())},_doLoadingMore(){this.pageNo>=this.defaultPageNo&&this.loadingStatus!==de.More.NoMore&&(this.pageNo++,this._startLoading(!1),this.isLocalPaging?this._localPagingQueryList(this.pageNo,this.defaultPageSize,this.localPagingLoadingTime,(e=>{this.addData(e)})):(this._emitQuery(this.pageNo,this.defaultPageSize,de.QueryFrom.LoadingMore),this._callMyParentQuery()),this.loadingType=de.LoadingType.LoadingMore)},_preCheckShowLoadingMoreWhenNoMoreAndInsideOfPaging(e,t,i){this.loadingStatus===de.More.NoMore&&this.hideLoadingMoreWhenNoMoreByLimit>0&&e.length?this.showLoadingMore=e.length>this.hideLoadingMoreWhenNoMoreByLimit:this.loadingStatus===de.More.NoMore&&this.hideLoadingMoreWhenNoMoreAndInsideOfPaging&&e.length||this.insideMore&&!1!==this.insideOfPaging&&e.length?(this.$nextTick((()=>{this._checkShowLoadingMoreWhenNoMoreAndInsideOfPaging(e,t,i)})),this.insideMore&&!1!==this.insideOfPaging&&e.length&&(this.showLoadingMore=e.length)):this.showLoadingMore=e.length},async _checkShowLoadingMoreWhenNoMoreAndInsideOfPaging(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.hideLoadingMoreWhenNoMoreAndInsideOfPaging&&(this.showLoadingMore=!this.insideOfPaging),this._updateInsideOfPaging()}}else{let t=0,o=0;const s=i||await this._getNodeClientRect(".zp-paging-container-content");s&&(t=s[0].height),e&&(o=e[0].height),this.insideOfPaging=t<o,this.hideLoadingMoreWhenNoMoreAndInsideOfPaging&&(this.showLoadingMore=!this.insideOfPaging),this._updateInsideOfPaging()}}catch(o){this.insideOfPaging=!e.length,this.hideLoadingMoreWhenNoMoreAndInsideOfPaging&&(this.showLoadingMore=!this.insideOfPaging),this._updateInsideOfPaging()}},_showLoadingMore(e){if(!this.showLoadingMoreWhenReload&&(this.loadingStatus===de.More.Default&&!this.nShowBottom||!this.totalData.length))return!1;if((!this.showLoadingMoreWhenReload||this.isUserPullDown||this.loadingStatus!==de.More.Loading)&&!this.showLoadingMore||!this.loadingMoreEnabled&&(!this.showLoadingMoreWhenReload||this.isUserPullDown||this.loadingStatus!==de.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===de.More.NoMore&&!this.showLoadingMoreNoMoreView);return this.loadingStatus===de.More[e]&&this.$slots[`loadingMore${e}`]&&("NoMore"!==e||this.showLoadingMoreNoMoreView)}}},Ae={props:{autoHideLoadingAfterFirstLoaded:{type:Boolean,default:he.gc("autoHideLoadingAfterFirstLoaded",!0)},loadingFullFixed:{type:Boolean,default:he.gc("loadingFullFixed",!1)},autoShowSystemLoading:{type:Boolean,default:he.gc("autoShowSystemLoading",!1)},systemLoadingText:{type:[String,Object],default:he.gc("systemLoadingText",null)}},data:()=>({loading:!1,loadingForNow:!1}),watch:{loadingStatus(e,t){this.$emit("loadingStatusChange",e),this.$nextTick((()=>{this.loadingStatusAfterRender=e}))},loading(e){e&&(this.loadingForNow=e)}},computed:{showLoading(){let e=!1;return!(this.firstPageLoaded||!this.loading||!this.loadingForNow)&&(e=this.autoHideLoadingAfterFirstLoaded?!!this.fromEmptyViewReload||!this.pagingLoaded:this.loadingType===de.LoadingType.Refresher,this.autoShowSystemLoading&&this.loadingType===de.LoadingType.Refresher&&A({title:this.finalSystemLoadingText}),e)}},methods:{_startLoading(e=!1){(this.showLoadingMoreWhenReload&&!this.isUserPullDown||!e)&&(this.loadingStatus=de.More.Loading),this.loading=!0}}},xe={props:{usePageScroll:{type:Boolean,default:he.gc("usePageScroll",!1)},scrollable:{type:Boolean,default:he.gc("scrollable",!0)},showScrollbar:{type:Boolean,default:he.gc("showScrollbar",!0)},scrollX:{type:Boolean,default:he.gc("scrollX",!1)},scrollToTopBounceEnabled:{type:Boolean,default:he.gc("scrollToTopBounceEnabled",!1)},scrollToBottomBounceEnabled:{type:Boolean,default:he.gc("scrollToBottomBounceEnabled",!0)},scrollWithAnimation:{type:Boolean,default:he.gc("scrollWithAnimation",!1)},scrollIntoView:{type:String,default:he.gc("scrollIntoView","")}},data:()=>({scrollTop:0,oldScrollTop:0,scrollViewStyle:{},scrollViewContainerStyle:{},scrollViewInStyle:{},pageScrollTop:-1,scrollEnable:!0,privateScrollWithAnimation:-1,cacheScrollNodeHeight:-1}),watch:{oldScrollTop(e,t){!this.usePageScroll&&this._scrollTopChange(e,t,!1)},pageScrollTop(e,t){this.usePageScroll&&this._scrollTopChange(e,t,!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,t){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){null!=e?this.pageScrollTop=e:he.consoleErr("updatePageScrollTop方法缺少参数请将页面onPageScroll事件中的scrollTop传递给此方法")},updatePageScrollTopHeight(){this._updatePageScrollTopOrBottomHeight("top")},updatePageScrollBottomHeight(){this._updatePageScrollTopOrBottomHeight("bottom")},updateLeftAndRightWidth(){this.$nextTick((()=>{this._updateLeftAndRightWidth()}))},updateScrollViewScrollTop(e,t=!0){this.privateScrollWithAnimation=t?1:0,this.scrollTop=this.oldScrollTop,this.$nextTick((()=>{this.scrollTop=e,this.oldScrollTop=this.scrollTop}))},_scrollToUpper(){this.$emit("scrolltoupper"),this.$emit("scrollTopChange",0),this.$nextTick((()=>{this.oldScrollTop=0})),this.useChatRecordMode&&this.loadingStatus!==de.More.NoMore&&this._onLoadingMore("click")},_scrollToTop(e=!0,t=!0){this.usePageScroll?this.$nextTick((()=>{x({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((()=>{x({scrollTop:Number.MAX_VALUE,duration:e?100:0})}));else try{this.privateScrollWithAnimation=e?1:0;let t=0,i=0;const o=await this._getNodeClientRect(".zp-paging-container"),s=await this._getNodeClientRect(".zp-scroll-view");o&&(t=o[0].height),s&&(i=s[0].height),t>i&&(this.scrollTop=this.oldScrollTop,this.$nextTick((()=>{this.scrollTop=t-i+this.virtualPlaceholderTopHeight,this.oldScrollTop=this.scrollTop})))}catch(t){}},_scrollIntoView(e,t=0,i=!1,o){try{this.scrollTop=this.oldScrollTop,this.$nextTick((()=>{-1!=e.indexOf("#")&&(e=e.replace("#","")),this._getNodeClientRect("#"+e,!1).then((e=>{if(e){let s=e[0].top;this._scrollIntoViewByNodeTop(s,t,i),o&&o()}}))}))}catch(s){}},_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?x({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)},_scrollTopChange(e,t,i){this.$emit("scrollTopChange",e),this.$emit("update:scrollTop",e),this._checkShouldShowBackToTop(e,t);const o=this.isIos?e>5?6:0:e;i?this.wxsPageScrollTop=o:this.wxsScrollTop=o},_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((()=>{setTimeout((()=>{this._getNodeClientRect(t).then((t=>{if(t){let s=t[0].height;"bottom"===e?o&&(s+=this.safeAreaBottom):this.cacheTopHeight=s,this.$set(this.scrollViewStyle,i,`${s}px`)}else o&&this.$set(this.scrollViewStyle,i,`${this.safeAreaBottom}px`)}))}),0)}))},_updateLeftAndRightWidth(){this.finalIsOldWebView&&this.$nextTick((()=>{setTimeout((()=>{this._getNodeClientRect(".zp-page-left").then((e=>{this.$set(this.scrollViewContainerStyle,"left",e?e[0].width+"px":"0px")})),this._getNodeClientRect(".zp-page-right").then((e=>{this.$set(this.scrollViewContainerStyle,"right",e?e[0].width+"px":"0px")}))}),0)}))}}},Me={props:{autoShowBackToTop:{type:Boolean,default:he.gc("autoShowBackToTop",!1)},backToTopThreshold:{type:[Number,String],default:he.gc("backToTopThreshold","400rpx")},backToTopImg:{type:String,default:he.gc("backToTopImg","")},backToTopWithAnimate:{type:Boolean,default:he.gc("backToTopWithAnimate",!0)},backToTopBottom:{type:[Number,String],default:he.gc("backToTopBottom","160rpx")},backToTopStyle:{type:Object,default:function(){return he.gc("backToTopStyle",{})}},enableBackToTop:{type:Boolean,default:he.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 he.convertTextToPx(this.backToTopThreshold)},finalBackToTopStyle(){let e=this.backToTopStyle;return e.bottom||(e.bottom=this.windowBottom+he.convertTextToPx(this.backToTopBottom)+"px"),e.position||(e.position=this.usePageScroll?"fixed":"absolute"),e}},methods:{_backToTopClick(){!this.backToTopWithAnimate&&this._checkShouldShowBackToTop(1,0),this.scrollToTop(this.backToTopWithAnimate)},_checkShouldShowBackToTop(e,t){if(this.autoShowBackToTop){if(e!==t)if(e>this.finalBackToTopThreshold)this.showBackToTopClass||(this.showBackToTopClass=!0,this.lastBackToTopShowTime=(new Date).getTime(),setTimeout((()=>{this.backToTopClass="zp-back-to-top zp-back-to-top-show"}),300));else if(this.showBackToTopClass){let e=300;(new Date).getTime()-this.lastBackToTopShowTime<500&&(e=0),this.backToTopClass="zp-back-to-top zp-back-to-top-hide",setTimeout((()=>{this.showBackToTopClass=!1}),e)}}else this.showBackToTopClass=!1}}},Ie={props:{useVirtualList:{type:Boolean,default:he.gc("useVirtualList",!1)},useInnerList:{type:Boolean,default:he.gc("useInnerList",!1)},forceCloseInnerList:{type:Boolean,default:he.gc("forceCloseInnerList",!1)},cellKeyName:{type:String,default:he.gc("cellKeyName","")},innerListStyle:{type:Object,default:function(){return he.gc("innerListStyle",{})}},innerCellStyle:{type:Object,default:function(){return he.gc("innerCellStyle",{})}},preloadPage:{type:[Number,String],default:he.gc("preloadPage",7),validator:e=>(e<=0&&he.consoleErr("preload-page必须大于0"),e>0)},cellHeightMode:{type:String,default:he.gc("cellHeightMode","fixed")},virtualListCol:{type:[Number,String],default:he.gc("virtualListCol",1)},virtualScrollFps:{type:[Number,String],default:he.gc("virtualScrollFps",60)}},data:()=>({virtualListKey:he.getInstanceId(),virtualPageHeight:0,virtualCellHeight:0,virtualScrollTimeStamp:0,virtualList:[],virtualPlaceholderTopHeight:0,virtualPlaceholderBottomHeight:0,virtualTopRangeIndex:0,virtualBottomRangeIndex:0,lastVirtualTopRangeIndex:0,lastVirtualBottomRangeIndex:0,virtualHeightCacheList:[],getCellHeightRetryCount:{fixed:0,dynamic:0},pagingOrgTop:-1,updateVirtualListFromDataChange:!1}),watch:{realTotalData(e){this.finalUseVirtualList&&(this.updateVirtualListFromDataChange=!0,this.$nextTick((()=>{e.length||this._resetDynamicListState(!this.isUserPullDown),this.getCellHeightRetryCount.fixed=0,this.finalUseVirtualList&&e.length&&this.cellHeightMode===de.CellHeightMode.Fixed&&this.isFirstPage&&this._updateFixedCellHeight(),this.finalUseVirtualList&&this._updateVirtualScroll(this.oldScrollTop)})))},virtualList(e){this.$emit("update:virtualList",e),this.$emit("virtualListChange",e)}},computed:{finalUseVirtualList(){return this.useVirtualList&&this.usePageScroll&&he.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:{_virtualListInit(){this.$nextTick((()=>{setTimeout((()=>{this._getNodeClientRect(".zp-scroll-view").then((e=>{e&&e.length&&(this.pagingOrgTop=e[0].top,this.virtualPageHeight=e[0].height)}))}),j)}))},_updateFixedCellHeight(){this.$nextTick((()=>{const e=setTimeout((()=>{this._getNodeClientRect("#zp-0",this.finalUseInnerList).then((t=>{if(t&&t.length)this.virtualCellHeight=t[0].height,this._updateVirtualScroll(this.oldScrollTop);else{if(clearTimeout(e),this.getCellHeightRetryCount.fixed>10)return;this.getCellHeightRetryCount.fixed++,this._updateFixedCellHeight()}}))}),j)}))},_updateDynamicCellHeight(e){this.$nextTick((()=>{const t=setTimeout((async()=>{for(let i=0;i<e.length;i++){let o=e[i];const s=await this._getNodeClientRect(`#zp-${o[Z]}`,this.finalUseInnerList),a=s&&s.length,r=a?s[0].height:0;if(!a){if(clearTimeout(t),this.virtualHeightCacheList=this.virtualHeightCacheList.slice(-i),this.getCellHeightRetryCount.dynamic>10)return;this.getCellHeightRetryCount.dynamic++,this._updateDynamicCellHeight(e);break}let l=null;this.virtualHeightCacheList.length&&(l=this.virtualHeightCacheList.slice(-1)[0]);const n=l?l.totalHeight:0;this.virtualHeightCacheList.push({height:r,lastHeight:n,totalHeight:n+r})}this._updateVirtualScroll(this.oldScrollTop)}),j)}))},_setCellIndex(e,t){let i=null,o=0;t?this._resetDynamicListState():(o=this.realTotalData.length,this.realTotalData.length&&(i=this.realTotalData.slice(-1)[0]),i&&void 0!==i[Z]&&(o=i[Z]+1));for(let s=0;s<e.length;s++){let t=e[s];t&&"[object Object]"===Object.prototype.toString.call(t)||(t={item:t}),t[Z]=o+s,t[Y]=`${this.virtualListKey}-${t[Z]}`,e[s]=t}this.getCellHeightRetryCount.dynamic=0,this.cellHeightMode===de.CellHeightMode.Dynamic&&this._updateDynamicCellHeight(e)},_updateVirtualScroll(e,t=0){const i=he.getTime();if(0===e&&this._resetTopRange(),0!==e&&this.virtualScrollTimeStamp&&i-this.virtualScrollTimeStamp<=this.virtualScrollDisTimeStamp)return;this.virtualScrollTimeStamp=Number(i);let o=0;const s=this.cellHeightMode;if(s===de.CellHeightMode.Fixed)o=parseInt(e/this.virtualCellHeight)||0,this._updateFixedTopRangeIndex(o),this._updateFixedBottomRangeIndex(o);else if(s===de.CellHeightMode.Dynamic){const i=t>0?"top":"bottom",o=this.virtualRangePageHeight,s=e-o,a=e+this.finalVirtualPageHeight+o;let r=0,l=0,n=!1,h=null;const d=this.virtualHeightCacheList;d.length&&(h=d.slice(-1)[0]);let g=this.virtualTopRangeIndex;if("bottom"===i)for(let e=g;e<d.length;e++){const t=d[e];if(t&&t.totalHeight>s){this.virtualTopRangeIndex=e,this.virtualPlaceholderTopHeight=t.lastHeight;break}}else{let e=!1;for(let t=g;t>=0;t--){const i=d[t];if(i&&i.totalHeight<s){this.virtualTopRangeIndex=t,this.virtualPlaceholderTopHeight=i.lastHeight,e=!0;break}}!e&&this._resetTopRange()}for(let e=this.virtualTopRangeIndex;e<d.length;e++){const t=d[e];if(t&&t.totalHeight>a){r=e,l=h.totalHeight-t.totalHeight,n=!0;break}}n&&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)*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)*(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.length,i=t?e[0].top:0;(!t||i===this.pagingOrgTop&&0!==this.virtualPlaceholderTopHeight)&&this._updateVirtualScroll(0)}))}))}}},Le=p();var ve={name:"z-paging",components:{zPagingRefresh:ue,zPagingLoadMore:ce,zPagingEmptyView:Q},mixins:[me,ye,Se,we,Re,Ce,Ae,xe,Me,Ie],data:()=>({base64Arrow:D,base64Flower:N,base64BackToTop:W,loadingType:de.LoadingType.Refresher,requestTimeStamp:0,chatRecordLoadingMoreText:"",wxsPropType:"",renderPropScrollTop:-1,checkScrolledToBottomTimeOut:null,systemInfo:null,cssSafeAreaInsetBottom:-1,cacheTopHeight:-1,insideOfPaging:-1,isLoadFailed:!1,isIos:"ios"===Le.platform,disabledBounce:!1,fromCompleteEmit:!1,disabledCompleteEmit:!1,wxsIsScrollTopInTopRange:!0,wxsScrollTop:0,wxsPageScrollTop:0,wxsOnPullingDown:!1}),props:{delay:{type:[Number,String],default:he.gc("delay",0)},minDelay:{type:[Number,String],default:he.gc("minDelay",0)},pagingStyle:{type:Object,default:function(){return he.gc("pagingStyle",{})}},height:{type:String,default:he.gc("height","")},width:{type:String,default:he.gc("width","")},bgColor:{type:String,default:he.gc("bgColor","")},pagingContentStyle:{type:Object,default:function(){return he.gc("pagingContentStyle",{})}},autoHeight:{type:Boolean,default:he.gc("autoHeight",!1)},autoHeightAddition:{type:[Number,String],default:he.gc("autoHeightAddition","0px")},defaultThemeStyle:{type:String,default:function(){return he.gc("defaultThemeStyle","black")}},fixed:{type:Boolean,default:he.gc("fixed",!0)},safeAreaInsetBottom:{type:Boolean,default:he.gc("safeAreaInsetBottom",!1)},useSafeAreaPlaceholder:{type:Boolean,default:he.gc("useSafeAreaPlaceholder",!1)},topZIndex:{type:Number,default:he.gc("topZIndex",99)},superContentZIndex:{type:Number,default:he.gc("superContentZIndex",1)},contentZIndex:{type:Number,default:he.gc("contentZIndex",10)},autoFullHeight:{type:Boolean,default:he.gc("autoFullHeight",!0)},watchTouchDirectionChange:{type:Boolean,default:he.gc("watchTouchDirectionChange",!1)},showConsoleError:{type:Boolean,default:he.gc("showConsoleError",!0)}},created(){this.createdReload&&!this.refresherOnly&&this.mountedAutoCallReload&&this.auto&&(this._startLoading(),this._preReload())},mounted(){this.wxsPropType=he.getTime().toString(),this.renderJsIgnore,!this.createdReload&&!this.refresherOnly&&this.mountedAutoCallReload&&this.auto&&this.$nextTick((()=>{this._preReload()}));let e=0;e=100,this.$nextTick((()=>{this.systemInfo=p(),!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()}),100)}))},destroyed(){this._offEmit()},unmounted(){this._offEmit()},watch:{defaultThemeStyle:{handler(e){e.length&&(this.finalRefresherDefaultStyle=e)},immediate:!0},autoHeight(e,t){this.loaded&&!this.usePageScroll&&this._setAutoHeight(e)},autoHeightAddition(e,t){this.loaded&&!this.usePageScroll&&this.autoHeight&&this._setAutoHeight(e)}},computed:{finalPagingStyle(){const e=this.pagingStyle;if(!this.systemInfo)return e;const t=this.windowTop,i=this.windowBottom;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 he.convertTextToPx(this.lowerThreshold)},finalPagingContentStyle(){return 1!=this.contentZIndex&&(this.pagingContentStyle["z-index"]=this.contentZIndex,this.pagingContentStyle.position="relative"),this.pagingContentStyle},safeAreaBottom(){if(!this.systemInfo)return 0;let e=0;return e=-1===this.cssSafeAreaInsetBottom?0:this.cssSafeAreaInsetBottom,e},renderJsIgnore(){return(this.usePageScroll&&this.useChatRecordMode||!this.refresherEnabled||!this.useCustomRefresher)&&this.$nextTick((()=>{this.renderPropScrollTop=10})),0},windowHeight(){return this.systemInfo&&this.systemInfo.windowHeight||0},windowTop(){return document.getElementsByTagName("uni-page-head").length&&this.systemInfo&&this.systemInfo.windowTop||0},windowBottom(){if(!this.systemInfo)return 0;let e=this.systemInfo.windowBottom||0;return this.safeAreaInsetBottom&&!this.useSafeAreaPlaceholder&&(e+=this.safeAreaBottom),e},isOldWebView(){try{const e=Le.system.split(" "),t=e[0],i=parseInt(e[1].slice(0,1));if("iOS"===t&&i<=10||"Android"===t&&i<=6)return!0}catch(e){return!1}return!1},isIosAndH5(){return this.isIos}},methods:{getVersion:()=>`z-paging v${zConstant.version}`,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)},_doCheckScrollViewShouldFullHeight(e){this.autoFullHeight&&this.usePageScroll&&this.isTotalChangeFromAddData?this.$nextTick((()=>{this._checkScrollViewShouldFullHeight(((t,i)=>{this._preCheckShowLoadingMoreWhenNoMoreAndInsideOfPaging(e,t,i)}))})):this._preCheckShowLoadingMoreWhenNoMoreAndInsideOfPaging(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,s=t[0].top;this.isAddedData&&o+s<=this.windowHeight?(this._setAutoHeight(!0,t),e(t,i)):(this._setAutoHeight(!1),e(null,null))}catch(t){e(null,null)}},async _setAutoHeight(e=!0,t=null){let i="height";this.usePageScroll&&(i="min-height");try{if(e){let e=t||await this._getNodeClientRect(".scroll-view"),o=await this._getNodeClientRect(".zp-page-bottom");if(e){const t=e[0].top;let s=this.windowHeight-t;o&&(s-=o[0].height);let a=he.convertTextToPx(this.autoHeightAddition);this.$set(this.scrollViewStyle,i,s+a-(this.insideMore?1:0)+"px"),this.$set(this.scrollViewInStyle,i,s+a-(this.insideMore?1:0)+"px")}}else this.$delete(this.scrollViewStyle,i),this.$delete(this.scrollViewInStyle,i)}catch(o){}},_getCssSafeAreaInsetBottom(){this._getNodeClientRect(".zp-safe-area-inset-bottom").then((e=>{e&&(this.cssSafeAreaInsetBottom=e[0].height,this.safeAreaInsetBottom&&this.updatePageScrollBottomHeight())}))},_updateInsideOfPaging(){this.insideMore&&!0===this.insideOfPaging&&setTimeout((()=>{this.doLoadMore()}),200)},_getNodeClientRect(e,t=!0,i=!1){let o=t?M().in(this):M();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)}))}))},_cleanTimeout:e=>(e&&(clearTimeout(e),e=null),e),_onEmit(){I(K,(()=>{this.tempLanguageUpdateKey=he.getTime()})),I(G,(()=>{this.loading&&this.complete(!1)})),I(J,(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(){L(K),L(G),L(J)}}},be=0,Be=-1,Ee=-1;function Pe(e,t){var i=Oe(t),o={},s={};if(t.callMethod("_handleListTouchstart"),!i||(o=i.getState(),s=i.getDataset(),!Ue(e,i,0))){var a=o.isTouchEnded;o.oldMoveDis=0;var r=_e(e),l=Qe(s.loading);o.startY=r.touchY,Ee=o.startY,o.lastTouch=r,!l&&a&&(o.isTouchmoving=!1),o.isTouchEnded=!1,t.callMethod("_handleRefresherTouchstart",r)}}function ke(e,t){var i,o=_e(e),s=Oe(t),a=(i=s.getDataset()).refresherthreshold,r=Qe(i.isios),l=s.getState(),n={},h=0,d=!1;if(Qe((i=s.getDataset()).watchtouchdirectionchange)&&(h=(n=Fe(e,s)).currentDis,d=n.isDown,l.oldAcceptedIsDown==d&&(t.callMethod("_handleTouchDirectionChange",{direction:d?"top":"bottom"}),l.oldIsDown=d),l.oldAcceptedIsDown=d),Ue(e,s,1))return We(l,t,!1),!0;if(!function(e,t,i,o){var s=o.refreshermaxangle,a=Qe(o.refresheraecc),r=i.lastTouch,l=i.reachMaxAngle,n=i.oldMoveDis;if(!r)return!0;if(s>=0&&s<=90&&r){if((!n||n<1)&&!a&&null!=l&&!l)return!1;var h=Math.abs(t.touchX-r.touchX),d=Math.abs(t.touchY-r.touchY),g=Math.sqrt(Math.pow(h,2)+Math.pow(d,2));if((h||d)&&h>1)if(Math.asin(d/g)/Math.PI*180<s){var u=i.hitReachMaxAngleCount||0;return i.hitReachMaxAngleCount=++u,i.hitReachMaxAngleCount>2&&(i.lastTouch=t,i.reachMaxAngle=!1),!1}}return i.lastTouch=t,!0}(0,o,l,i))return We(l,t,!1),!0;if(h=(n=Fe(e,s)).currentDis,d=n.isDown,h<0)return Ne(0,s,l,!1),We(l,t,!1),!0;if(d&&!l.disabledBounce)return r&&t.callMethod("_handleScrollViewDisableBounce",{bounce:!1}),l.disabledBounce=!0,We(l,t,d),!d;Ne(h,s,l,!1);var g=l.refresherStatus,u=Qe(i.oldistouchmoving),c=Qe(i.hastouchmove),f=l.isTouchmoving;return l.refresherStatus=h>=a?1:0,f||(l.isTouchmoving=!0,f=!0),l.isTouchEnded&&(l.isTouchEnded=!1),c&&t.callMethod("_handleWxsPullingDown",{moveDis:h,diffDis:n.diffDis}),null!=g&&g==l.refresherStatus&&u==f||t.callMethod("_handleRefresherTouchmove",h,o),We(l,t,d),!d}function Ve(e,t){_e(e);var i=Oe(t);i.getDataset();var o=i.getState();if(!Ue(e,i,2)&&(o.reachMaxAngle=!0,o.hitReachMaxAngleCount=0,o.disabledBounce=!1,o.fixedIsTopHitCount=0,o.isTouchmoving)){var s=o.refresherStatus,a=o.moveDis,r=i.getDataset().refresherthreshold,l=Fe(e,i).currentDis;if(l>=r&&1===s||(o.isTouchmoving=!1),t.callMethod("_handleRefresherTouchend",l),o.isTouchEnded=!0,!(a<r)){var n=!1;l>=r&&(l=r,n=!0),Ne(l,i,o,n)}}}function De(){if(!navigator)return!1;if(-1!=Be)return Be;for(var e=navigator.userAgent,t=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],i=!0,o=0;o<t.length;o++)if(e.indexOf(t[o])>0){i=!1;break}return Be=i}var ze=!1;function Ne(e,t,i,o){e=e||0,i.moveDis!=e&&(i.moveDis=e,He("translateY("+e+"px)",t,o,""))}function He(e,t,i,o){"translateY(0px)"==e&&(e="none"),t.requestAnimationFrame((function(){var s={transform:e};i&&(s.transition="transform .1s linear"),o.length&&(s.transition=o),t.setStyle(s)}))}function Fe(e,t){var i=t.getState(),o=parseFloat(t.getDataset().refresherthreshold),s=parseFloat(t.getDataset().refresheroutrate),a=parseFloat(t.getDataset().refresherpullrate),r=_e(e),l=i.startY&&"NaN"!=i.startY?i.startY:Ee,n=r.touchY-l,h=i.oldMoveDis||0;i.oldMoveDis=n;var d=n-h;return d>0&&(d*=a,be>o&&(d*=1-s)),d>200?(be=0,d=0):(be+=d,be=Math.max(0,be)),{currentDis:be,diffDis:d,isDown:d>0}}function _e(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 Oe(e){var t=e.getState().currentIns;return t||e.callMethod("_handlePropUpdate"),t}function Ue(e,t,i){var o=t.getDataset(),s=t.getState(),a=Qe(o.loading),r=Qe(o.usechatrecordmode),l=Qe(o.refresherenabled),n=Qe(o.usecustomrefresher),h=Qe(o.usepagescroll),d=parseFloat(o.pagescrolltop),g=parseFloat(o.scrolltop),u=h?d:g,c=!1,f=Qe(o.isios);!f&&u==(s.startScrollTop||0)&&u<=105&&(c=!0);var p=s.fixedIsTopHitCount||0;return c?(++p<=3&&(c=!1),s.fixedIsTopHitCount=p):s.fixedIsTopHitCount=0,f||0!==i||(s.startScrollTop=u||0),f||2!==i||(c=!0),a||r||!l||!n||h&&n&&d>5&&!c||!h&&n&&g>5&&!c}function We(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 je={touchstart:Pe,touchmove:ke,touchend:Ve,mousedown:function(e,t){De()&&(Pe(e,t),ze=!0)},mousemove:function(e,t){De()&&ze&&ke(e,t)},mouseup:function(e,t){De()&&(Ve(e,t),ze=!1)},mouseleave:function(e,t){De()&&(ze=!1)},propObserver:function(e,t,i,o){var s=i.getState()||{};if(s.currentIns=o,o.getDataset().loading,e&&-1!=e.indexOf("end"))He("translateY(0px)",o,!1,e.split("end")[0]),s.moveDis=0,s.oldMoveDis=0,be=0;else if(e&&-1!=e.indexOf("begin")){Ne(o.getDataset().refresherthreshold,o,s,!1)}}};var Ke=e=>{e.$wxs||(e.$wxs=[]),e.$wxs.push("pagingWxs"),e.mixins||(e.mixins=[]),e.mixins.push({beforeCreate(){this.pagingWxs=je}})},Ge={startY:0,isTouchFromZPaging:!1,isUsePageScroll:!1,isReachedTop:!0,isIosAndH5:!1};const Je={name:"z-paging",mixins:[{mounted(){this._handleTouch()},methods:{renderPropIsIosAndH5Change(e){-1!==e&&(Ge.isIosAndH5=e)},_handleTouch(){window&&!window.$zPagingRenderJsInited&&(window.$zPagingRenderJsInited=!0,window.addEventListener("touchstart",this._handleTouchstart,{passive:!0}),window.addEventListener("touchmove",this._handleTouchmove,{passive:!1}))},_handleTouchstart(e){const t=he.getTouch(e);Ge.startY=t.touchY;const i=he.getTouchFromZPaging(e.target);Ge.isTouchFromZPaging=i.isFromZp,Ge.isUsePageScroll=i.isPageScroll,Ge.isReachedTop=i.isReachedTop},_handleTouchmove(e){var t=he.getTouch(e).touchY-Ge.startY;Ge.isTouchFromZPaging&&(Ge.isReachedTop&&t>0||Ge.isIosAndH5&&!Ge.isUsePageScroll&&t<0)&&e.cancelable&&!e.defaultPrevented&&e.preventDefault()},_removeAllEventListener(){window.removeEventListener("touchstart"),window.removeEventListener("touchmove")}}}]};var Ze=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(Je)};Ke(ve),Ze(ve);var Ye=V(ve,[["render",function(c,f,p,m,T,w){const R=u,C=v("z-paging-refresh"),A=g,x=d,M=v("z-paging-load-more"),I=b(B("z-paging-empty-view"),Q),L=k;return e(),t(R,{class:h({"z-paging-content":!0,"z-paging-content-fixed":!c.usePageScroll&&c.fixed,"z-paging-content-page":c.usePageScroll,"z-paging-reached-top":c.renderPropScrollTop<1}),style:s([c.finalPagingStyle])},{default:i((()=>[-1===c.cssSafeAreaInsetBottom?(e(),t(R,{key:0,class:"zp-safe-area-inset-bottom"})):n("v-if",!0),n(" 顶部固定的slot "),!c.usePageScroll&&c.$slots.top?E(c.$slots,"top",{key:1},void 0,!0):c.usePageScroll&&c.$slots.top?(e(),t(R,{key:2,class:"zp-page-top",style:s([{top:`${c.windowTop}px`,"z-index":c.topZIndex}])},{default:i((()=>[E(c.$slots,"top",{},void 0,!0)])),_:3},8,["style"])):n("v-if",!0),o(R,{class:h({"zp-view-super":!0,"zp-scroll-view-super":!c.usePageScroll}),style:s([c.finalScrollViewStyle])},{default:i((()=>[c.$slots.left?(e(),t(R,{key:0,class:h({"zp-page-left":!0,"zp-absoulte":c.finalIsOldWebView})},{default:i((()=>[E(c.$slots,"left",{},void 0,!0)])),_:3},8,["class"])):n("v-if",!0),o(R,{class:h({"zp-scroll-view-container":!0,"zp-absoulte":c.finalIsOldWebView}),style:s([c.scrollViewContainerStyle])},{default:i((()=>[o(L,{ref:"zp-scroll-view",class:h({"zp-scroll-view":!0,"zp-scroll-view-absolute":!c.usePageScroll,"zp-scroll-view-hide-scrollbar":!c.showScrollbar}),"scroll-top":c.scrollTop,"scroll-x":c.scrollX,"scroll-y":c.scrollable&&!c.usePageScroll&&c.scrollEnable&&(!!c.refresherCompleteScrollable||c.refresherStatus!==c.R.Complete),"enable-back-to-top":c.finalEnableBackToTop,"show-scrollbar":c.showScrollbar,"scroll-with-animation":c.finalScrollWithAnimation,"scroll-into-view":c.scrollIntoView,"lower-threshold":c.finalLowerThreshold,"upper-threshold":5,"refresher-enabled":c.finalRefresherEnabled&&!c.useCustomRefresher,"refresher-threshold":c.finalRefresherThreshold,"refresher-default-style":c.finalRefresherDefaultStyle,"refresher-background":c.refresherBackground,"refresher-triggered":c.finalRefresherTriggered,onScroll:c._scroll,onScrolltolower:f[2]||(f[2]=e=>c._onLoadingMore("toBottom")),onScrolltoupper:c._scrollToUpper,onRefresherrestore:c._onRestore,onRefresherrefresh:f[3]||(f[3]=e=>c._onRefresh(!0))},{default:i((()=>[o(R,{class:"zp-paging-touch-view",onTouchstart:c.pagingWxs.touchstart,onTouchmove:c.pagingWxs.touchmove,onTouchend:c.pagingWxs.touchend,onTouchcancel:c.pagingWxs.touchend,onMousedown:c.pagingWxs.mousedown,onMousemove:c.pagingWxs.mousemove,onMouseup:c.pagingWxs.mouseup,onMouseleave:c.pagingWxs.mouseleave},{default:i((()=>[c.finalRefresherFixedBacHeight>0?(e(),t(R,{key:0,class:"zp-fixed-bac-view",style:s([{background:c.refresherFixedBackground,height:`${c.finalRefresherFixedBacHeight}px`}])},null,8,["style"])):n("v-if",!0),o(R,{class:"zp-paging-main",style:s([c.scrollViewInStyle,{transform:c.finalRefresherTransform,transition:c.refresherTransition}]),"change:prop":c.pagingWxs.propObserver,prop:c.wxsPropType,"data-refresherThreshold":c.finalRefresherThreshold,"data-isIos":c.isIos,"data-loading":c.loading||c.isRefresherInComplete,"data-useChatRecordMode":c.useChatRecordMode,"data-refresherEnabled":c.refresherEnabled,"data-useCustomRefresher":c.useCustomRefresher,"data-pageScrollTop":c.wxsPageScrollTop,"data-scrollTop":c.wxsScrollTop,"data-refresherMaxAngle":c.refresherMaxAngle,"data-refresherAecc":c.refresherAngleEnableChangeContinued,"data-usePageScroll":c.usePageScroll,"data-watchTouchDirectionChange":c.watchTouchDirectionChange,"data-oldIsTouchmoving":c.isTouchmoving,"data-refresherOutRate":c.finalRefresherOutRate,"data-refresherPullRate":c.finalRefresherPullRate,"data-hasTouchmove":c.hasTouchmove,"change:renderPropIsIosAndH5":c.pagingRenderjs.renderPropIsIosAndH5Change,renderPropIsIosAndH5:c.isIosAndH5},{default:i((()=>[c.showRefresher?(e(),t(R,{key:0,class:"zp-custom-refresher-view",style:s([{"margin-top":`-${c.finalRefresherThreshold}px`,background:c.refresherBackground}])},{default:i((()=>[o(R,{class:"zp-custom-refresher-container",style:s([{height:`${c.finalRefresherThreshold}px`,background:c.refresherBackground}])},{default:i((()=>[n(" 下拉刷新view "),o(R,{class:"zp-custom-refresher-slot-view"},{default:i((()=>[c.$slots.refresherComplete&&c.refresherStatus===c.R.Complete?n("v-if",!0):E(c.$slots,"refresher",{key:0,refresherStatus:c.refresherStatus},void 0,!0)])),_:3}),c.$slots.refresherComplete&&c.refresherStatus===c.R.Complete?E(c.$slots,"refresherComplete",{key:0},void 0,!0):c.showCustomRefresher?n("v-if",!0):(e(),t(C,{key:1,ref:"refresh",style:s([{height:`${c.finalRefresherThreshold}px`}]),status:c.refresherStatus,defaultThemeStyle:c.finalRefresherThemeStyle,defaultText:c.finalRefresherDefaultText,pullingText:c.finalRefresherPullingText,refreshingText:c.finalRefresherRefreshingText,completeText:c.finalRefresherCompleteText,defaultImg:c.refresherDefaultImg,pullingImg:c.refresherPullingImg,refreshingImg:c.refresherRefreshingImg,completeImg:c.refresherCompleteImg,showUpdateTime:c.showRefresherUpdateTime,updateTimeKey:c.refresherUpdateTimeKey,imgStyle:c.refresherImgStyle,titleStyle:c.refresherTitleStyle,updateTimeStyle:c.refresherUpdateTimeStyle},null,8,["style","status","defaultThemeStyle","defaultText","pullingText","refreshingText","completeText","defaultImg","pullingImg","refreshingImg","completeImg","showUpdateTime","updateTimeKey","imgStyle","titleStyle","updateTimeStyle"]))])),_:3},8,["style"])])),_:3},8,["style"])):n("v-if",!0),o(R,{class:"zp-paging-container"},{default:i((()=>[c.useChatRecordMode&&c.$slots.chatLoading&&c.loadingStatus!==c.M.NoMore&&c.realTotalData.length?E(c.$slots,"chatLoading",{key:0},void 0,!0):c.useChatRecordMode&&c.loadingStatus!==c.M.NoMore&&c.realTotalData.length?(e(),t(R,{key:1,class:"zp-chat-record-loading-container"},{default:i((()=>[c.loadingStatus!==c.M.Loading?(e(),t(A,{key:0,onClick:f[0]||(f[0]=e=>c._scrollToUpper()),class:h("white"===c.defaultThemeStyle?"zp-loading-more-text zp-loading-more-text-white":"zp-loading-more-text zp-loading-more-text-black")},{default:i((()=>[a(r(c.chatRecordLoadingMoreText),1)])),_:1},8,["class"])):(e(),t(x,{key:1,src:c.base64Flower,class:"zp-chat-record-loading-custom-image"},null,8,["src"]))])),_:1})):n("v-if",!0),n(" 全屏Loading "),c.showLoading&&c.$slots.loading&&!c.loadingFullFixed?E(c.$slots,"loading",{key:2},void 0,!0):n("v-if",!0),n(" 主体内容 "),o(R,{class:"zp-paging-container-content",style:s([{transform:c.virtualPlaceholderTopHeight>0?`translateY(${c.virtualPlaceholderTopHeight}px)`:"none"},c.finalPagingContentStyle])},{default:i((()=>[E(c.$slots,"default",{},void 0,!0),n(" 内置列表&虚拟列表 "),c.finalUseInnerList?(e(),y(S,{key:0},[E(c.$slots,"header",{},void 0,!0),o(R,{class:"zp-list-container",style:s([c.innerListStyle])},{default:i((()=>[c.finalUseVirtualList?(e(!0),y(S,{key:0},P(c.virtualList,((o,a)=>(e(),t(R,{class:"zp-list-cell",style:s([c.innerCellStyle]),id:`zp-${o.zp_index}`,key:o.zp_unique_index},{default:i((()=>[E(c.$slots,"cell",{item:o,index:c.virtualTopRangeIndex+a},void 0,!0)])),_:2},1032,["style","id"])))),128)):(e(!0),y(S,{key:1},P(c.realTotalData,((o,s)=>(e(),t(R,{class:"zp-list-cell",key:s},{default:i((()=>[E(c.$slots,"cell",{item:o,index:s},void 0,!0)])),_:2},1024)))),128))])),_:3},8,["style"]),E(c.$slots,"footer",{},void 0,!0)],64)):n("v-if",!0),c.useVirtualList?(e(),t(R,{key:1,class:"zp-virtual-placeholder",style:s([{height:c.virtualPlaceholderBottomHeight+"px"}])},null,8,["style"])):n("v-if",!0),n(" 上拉加载更多view "),c.showLoadingMoreDefault?E(c.$slots,"loadingMoreDefault",{key:2},void 0,!0):c.showLoadingMoreLoading?E(c.$slots,"loadingMoreLoading",{key:3},void 0,!0):c.showLoadingMoreNoMore?E(c.$slots,"loadingMoreNoMore",{key:4},void 0,!0):c.showLoadingMoreFail?E(c.$slots,"loadingMoreFail",{key:5},void 0,!0):c.showLoadingMoreCustom?(e(),t(M,{key:6,onDoClick:f[1]||(f[1]=e=>c._onLoadingMore("click")),zConfig:c.zPagingLoadMoreConfig},null,8,["zConfig"])):n("v-if",!0),c.safeAreaInsetBottom&&c.useSafeAreaPlaceholder?(e(),t(R,{key:7,class:"zp-safe-area-placeholder",style:s([{height:c.safeAreaBottom+"px"}])},null,8,["style"])):n("v-if",!0)])),_:3},8,["style"]),n(" 空数据图 "),c.showEmpty?(e(),t(R,{key:3,class:h({"zp-empty-view":!0,"zp-empty-view-center":c.emptyViewCenter}),style:s([{emptyViewSuperStyle:c.emptyViewSuperStyle}])},{default:i((()=>[c.$slots.empty?E(c.$slots,"empty",{key:0},void 0,!0):(e(),t(I,{key:1,emptyViewImg:c.finalEmptyViewImg,emptyViewText:c.finalEmptyViewText,showEmptyViewReload:c.finalShowEmptyViewReload,emptyViewReloadText:c.finalEmptyViewReloadText,isLoadFailed:c.isLoadFailed,emptyViewStyle:c.emptyViewStyle,emptyViewTitleStyle:c.emptyViewTitleStyle,emptyViewImgStyle:c.emptyViewImgStyle,emptyViewReloadStyle:c.emptyViewReloadStyle,emptyViewZIndex:c.emptyViewZIndex,emptyViewFixed:c.emptyViewFixed,onReload:c._emptyViewReload,onViewClick:c._emptyViewClick},null,8,["emptyViewImg","emptyViewText","showEmptyViewReload","emptyViewReloadText","isLoadFailed","emptyViewStyle","emptyViewTitleStyle","emptyViewImgStyle","emptyViewReloadStyle","emptyViewZIndex","emptyViewFixed","onReload","onViewClick"]))])),_:3},8,["class","style"])):n("v-if",!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-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","onScrolltoupper","onRefresherrestore"])])),_:3},8,["class","style"]),c.$slots.right?(e(),t(R,{key:1,class:h({"zp-page-right":!0,"zp-absoulte zp-right":c.finalIsOldWebView})},{default:i((()=>[E(c.$slots,"right",{},void 0,!0)])),_:3},8,["class"])):n("v-if",!0)])),_:3},8,["class","style"]),n(" 底部固定的slot "),!c.usePageScroll&&c.$slots.bottom?E(c.$slots,"bottom",{key:3},void 0,!0):c.usePageScroll&&c.$slots.bottom?(e(),t(R,{key:4,class:"zp-page-bottom",style:s([{bottom:`${c.windowBottom}px`}])},{default:i((()=>[E(c.$slots,"bottom",{},void 0,!0)])),_:3},8,["style"])):n("v-if",!0),n(" 点击返回顶部view "),c.showBackToTopClass?(e(),t(R,{key:5,class:h(c.backToTopClass),style:s([c.finalBackToTopStyle]),onClick:l(c._backToTopClick,["stop"])},{default:i((()=>[c.$slots.backToTop?E(c.$slots,"backToTop",{key:0},void 0,!0):(e(),t(x,{key:1,class:"zp-back-to-top-img",src:c.backToTopImg.length?c.backToTopImg:c.base64BackToTop},null,8,["src"]))])),_:3},8,["class","style","onClick"])):n("v-if",!0),n(" 全屏Loading(铺满z-paging并固定) "),c.showLoading&&c.$slots.loading&&c.loadingFullFixed?(e(),t(R,{key:6,class:"zp-loading-fixed"},{default:i((()=>[E(c.$slots,"loading",{},void 0,!0)])),_:3})):n("v-if",!0)])),_:3},8,["class","style"])}],["__scopeId","data-v-d882a128"]]);export{Ye as _};