"use strict";const a=require("../js/z-paging-static.js"),n=require("../js/z-paging-enum.js"),t=require("../../../../../common/vendor.js"),u={name:"z-paging-load-more",data(){return{M:n.Enum.More,zTheme:{title:{white:"#efefef",black:"#a4a4a4"},line:{white:"#efefef",black:"#eeeeee"},circleBorder:{white:"#aaaaaa",black:"#c8c8c8"},circleBorderTop:{white:"#ffffff",black:"#444444"},flower:{white:a.zStatic.base64FlowerWhite,black:a.zStatic.base64Flower},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")}}};function i(l,f,m,h,c,e){return t.e({a:!e.c.hideContent},e.c.hideContent?{}:t.e({b:e.c.showNoMoreLine&&e.finalStatus===c.M.NoMore},e.c.showNoMoreLine&&e.finalStatus===c.M.NoMore?{c:e.c.unit==="rpx"?1:"",d:e.c.unit==="px"?1:"",e:t.s({backgroundColor:c.zTheme.line[e.ts]}),f:t.s(e.c.noMoreLineCustomStyle)}:{},{g:e.finalStatus===c.M.Loading&&!!e.c.loadingIconCustomImage},e.finalStatus===c.M.Loading&&e.c.loadingIconCustomImage?{h:e.c.loadingIconCustomImage,i:t.s(e.c.iconCustomStyle),j:e.c.loadingAnimated?1:"",k:e.c.unit==="rpx"?1:"",l:e.c.unit==="px"?1:""}:{},{m:e.finalStatus===c.M.Loading&&e.finalLoadingIconType==="flower"&&!e.c.loadingIconCustomImage.length},e.finalStatus===c.M.Loading&&e.finalLoadingIconType==="flower"&&!e.c.loadingIconCustomImage.length?{n:e.c.unit==="rpx"?1:"",o:e.c.unit==="px"?1:"",p:t.s(e.c.iconCustomStyle),q:c.zTheme.flower[e.ts]}:{},{r:e.finalStatus===c.M.Loading&&e.finalLoadingIconType==="circle"&&!e.c.loadingIconCustomImage.length},e.finalStatus===c.M.Loading&&e.finalLoadingIconType==="circle"&&!e.c.loadingIconCustomImage.length?{s:e.c.unit==="rpx"?1:"",t:e.c.unit==="px"?1:"",v:t.s({borderColor:c.zTheme.circleBorder[e.ts],borderTopColor:c.zTheme.circleBorderTop[e.ts]}),w:t.s(e.c.iconCustomStyle)}:{},{x:!e.c.isChat||!e.c.chatDefaultAsLoading&&e.finalStatus===c.M.Default||e.finalStatus===c.M.Fail},!e.c.isChat||!e.c.chatDefaultAsLoading&&e.finalStatus===c.M.Default||e.finalStatus===c.M.Fail?{y:t.t(e.ownLoadingMoreText),z:e.c.unit==="rpx"?1:"",A:e.c.unit==="px"?1:"",B:t.s({color:c.zTheme.title[e.ts]}),C:t.s(e.c.titleCustomStyle)}:{},{D:e.c.showNoMoreLine&&e.finalStatus===c.M.NoMore},e.c.showNoMoreLine&&e.finalStatus===c.M.NoMore?{E:e.c.unit==="rpx"?1:"",F:e.c.unit==="px"?1:"",G:t.s({backgroundColor:c.zTheme.line[e.ts]}),H:t.s(e.c.noMoreLineCustomStyle)}:{}),{I:e.c.unit==="rpx"?1:"",J:e.c.unit==="px"?1:"",K:t.s(e.c.customStyle),L:t.o((...r)=>e.doClick&&e.doClick(...r))})}const g=t._export_sfc(u,[["render",i],["__scopeId","data-v-8cc5c400"]]);wx.createComponent(g);
