l.y?i.yMax:l.y}}return i}(l);if(n.mercator){var h=Jt(s.xMax,s.yMax),c=Jt(s.xMin,s.yMin);s.xMax=h[0],s.yMax=h[1],s.xMin=c[0],s.yMin=c[1]}for(var d=e.width/Math.abs(s.xMax-s.xMin),p=e.height/Math.abs(s.yMax-s.yMin),x=d{this.uevent.trigger("renderComplete")}),50);break;case"funnel":this.animationInstance=new ie({timing:e.timing,duration:l,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&Tt(a,e),e.chartData.funnelData=function(t,e,i,a){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=P({},{type:"funnel",activeWidth:10,activeOpacity:.3,border:!1,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,minSize:0,labelAlign:"right",linearType:"none",customColor:[]},e.extra.funnel),n=(e.height-e.area[0]-e.area[2])/t.length,l={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.height-e.area[2]},s=r.activeWidth*e.pix,h=Math.min((e.width-e.area[1]-e.area[3])/2-s,(e.height-e.area[0]-e.area[2])/2-s),c=et(t,h,r,n,o);if(a.save(),a.translate(l.x,l.y),r.customColor=E(r.linearType,r.customColor,t,i),"pyramid"==r.type)for(let x=0;x4&&void 0!==arguments[4]?arguments[4]:1,r=P({},{type:"straight",width:2,activeType:"none",linearType:"none",onShadow:!1,animation:"vertical"},e.extra.line);r.width*=e.pix;let n=e.chartData.xAxisData,l=n.xAxisPoints,s=n.eachSpacing;var h=[];a.save();let c=0,d=e.width+s;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(a.translate(e._scrollDistance_,0),c=-e._scrollDistance_-2*s+e.area[3],d=c+(e.xAxis.itemCount+4)*s),t.forEach((function(t,n){let p,x,g;a.beginPath(),a.setStrokeStyle(t.color),a.moveTo(-1e4,-1e4),a.lineTo(-10001,-10001),a.stroke(),p=[].concat(e.chartData.yAxisData.ranges[t.index]),x=p.pop(),g=p.shift();var u=ut(t.data,x,g,l,s,e,i,r,o);h.push(u);var f=V(u,t);if("dash"==t.lineType){let i=t.dashLength?t.dashLength:8;i*=e.pix,a.setLineDash([i,i])}a.beginPath();var y=t.color;if("none"!==r.linearType&&t.linearColor&&t.linearColor.length>0){for(var m=a.createLinearGradient(e.chartData.xAxisData.startX,e.height/2,e.chartData.xAxisData.endX,e.height/2),b=0;b0?a.setShadow(t.setShadow[0],t.setShadow[1],t.setShadow[2],t.setShadow[3]):a.setShadow(0,0,0,"rgba(0,0,0,0)"),a.setLineWidth(r.width),f.forEach((function(t,e){if(1===t.length)a.moveTo(t[0].x,t[0].y);else{a.moveTo(t[0].x,t[0].y);let e=0;if("curve"===r.type)for(let o=0;oc&&(a.moveTo(r.x,r.y),e=1),o>0&&r.x>c&&r.xc&&(a.moveTo(o.x,o.y),e=1),i>0&&o.x>c&&o.xc&&(a.moveTo(o.x,o.y),e=1),i>0&&o.x>c&&o.x4&&void 0!==arguments[4]?arguments[4]:1;P({},{type:"circle"},e.extra.scatter);let r=e.chartData.xAxisData,n=r.xAxisPoints,l=r.eachSpacing;var s=[];a.save();let h=0;return e.width,e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(a.translate(e._scrollDistance_,0),h=-e._scrollDistance_-2*l+e.area[3],e.xAxis.itemCount),t.forEach((function(t,r){let s,h,c;s=[].concat(e.chartData.yAxisData.ranges[t.index]),h=s.pop(),c=s.shift();var d=gt(t.data,h,c,n,l,e,i,o);a.beginPath(),a.setStrokeStyle(t.color),a.setFillStyle(t.color),a.setLineWidth(1*e.pix);var p=t.pointShape;if("diamond"===p)d.forEach((function(t,e){null!==t&&(a.moveTo(t.x,t.y-4.5),a.lineTo(t.x-4.5,t.y),a.lineTo(t.x,t.y+4.5),a.lineTo(t.x+4.5,t.y),a.lineTo(t.x,t.y-4.5))}));else if("circle"===p)d.forEach((function(t,i){null!==t&&(a.moveTo(t.x+2.5*e.pix,t.y),a.arc(t.x,t.y,3*e.pix,0,2*Math.PI,!1))}));else if("square"===p)d.forEach((function(t,e){null!==t&&(a.moveTo(t.x-3.5,t.y-3.5),a.rect(t.x-3.5,t.y-3.5,7,7))}));else if("triangle"===p)d.forEach((function(t,e){null!==t&&(a.moveTo(t.x,t.y-4.5),a.lineTo(t.x-4.5,t.y+4.5),a.lineTo(t.x+4.5,t.y+4.5),a.lineTo(t.x,t.y-4.5))}));else if("triangle"===p)return;a.closePath(),a.fill(),a.stroke()})),!1!==e.dataLabel&&1===o&&t.forEach((function(t,r){let s,h,c;s=[].concat(e.chartData.yAxisData.ranges[t.index]),h=s.pop(),c=s.shift(),Dt(gt(t.data,h,c,n,l,e,i,o),t,i,a,e)})),a.restore(),{xAxisPoints:n,calPoints:s,eachSpacing:l}}(r,e,i,a,t),l=o.xAxisPoints,s=o.calPoints,h=o.eachSpacing;e.chartData.xAxisPoints=l,e.chartData.calPoints=s,e.chartData.eachSpacing=h,Xt(0,e,i,a),!1!==e.enableMarkLine&&1===t&&Ot(e,0,a),Ht(e.series,e,i,a,e.chartData),Bt(e,i,a,t),te(0,a)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"bubble":this.animationInstance=new ie({timing:e.timing,duration:l,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&Tt(a,e),Nt(0,e,0,a),Gt(n,e,i,a);var o=function(t,e,i,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=P({},{opacity:1,border:2},e.extra.bubble);let n=e.chartData.xAxisData,l=n.xAxisPoints,s=n.eachSpacing;var h=[];a.save();let c=0;return e.width,e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(a.translate(e._scrollDistance_,0),c=-e._scrollDistance_-2*s+e.area[3],e.xAxis.itemCount),t.forEach((function(t,n){let h,c,d;h=[].concat(e.chartData.yAxisData.ranges[t.index]),c=h.pop(),d=h.shift();var p=gt(t.data,c,d,l,s,e,i,o);a.beginPath(),a.setStrokeStyle(t.color),a.setLineWidth(r.border*e.pix),a.setFillStyle(M(t.color,r.opacity)),p.forEach((function(t,i){a.moveTo(t.x+t.r,t.y),a.arc(t.x,t.y,t.r*e.pix,0,2*Math.PI,!1)})),a.closePath(),a.fill(),a.stroke(),!1!==e.dataLabel&&1===o&&p.forEach((function(o,r){a.beginPath();var n=t.textSize*e.pix||i.fontSize;a.setFontSize(n),a.setFillStyle(t.textColor||"#FFFFFF"),a.setTextAlign("center"),a.fillText(String(o.t),o.x,o.y+n/2),a.closePath(),a.stroke(),a.setTextAlign("left")}))})),a.restore(),{xAxisPoints:l,calPoints:h,eachSpacing:s}}(r,e,i,a,t),l=o.xAxisPoints,s=o.calPoints,h=o.eachSpacing;e.chartData.xAxisPoints=l,e.chartData.calPoints=s,e.chartData.eachSpacing=h,Xt(0,e,i,a),!1!==e.enableMarkLine&&1===t&&Ot(e,0,a),Ht(e.series,e,i,a,e.chartData),Bt(e,i,a,t),te(0,a)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"mix":this.animationInstance=new ie({timing:e.timing,duration:l,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&Tt(a,e),Nt(0,e,0,a),Gt(n,e,i,a);var o=function(t,e,i,a){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=e.chartData.xAxisData,n=r.xAxisPoints,l=r.eachSpacing,s=P({},{width:l/2,barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.mix.column),h=P({},{opacity:.2,gradient:!1},e.extra.mix.area),c=P({},{width:2},e.extra.mix.line),d=e.height-e.area[2],p=[];var x=0,g=0;t.forEach((function(t,e){"column"==t.type&&(g+=1)})),a.save();let u=-2,f=n.length+2,y=0,m=e.width+l;e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(a.translate(e._scrollDistance_,0),u=Math.floor(-e._scrollDistance_/l)-2,f=u+e.xAxis.itemCount+4,y=-e._scrollDistance_-2*l+e.area[3],m=y+(e.xAxis.itemCount+4)*l),s.customColor=E(s.linearType,s.customColor,t,i),t.forEach((function(t,r){let b,v,S;b=[].concat(e.chartData.yAxisData.ranges[t.index]),v=b.pop(),S=b.shift();var w=gt(t.data,v,S,n,l,e,i,o);if(p.push(w),"column"==t.type){w=lt(w,l,g,x,0,e);for(let i=0;iu&&ip?p:l,h=h>p?p:h,c=c>p?p:c,d=d>p?p:d,l=l<0?0:l,h=h<0?0:h,c=c<0?0:c,d=d<0?0:d,a.arc(t+l,i+l,l,-Math.PI,-Math.PI/2),a.arc(t+r-h,i+h,h,-Math.PI/2,0),a.arc(t+r-c,i+n-c,c,0,Math.PI/2),a.arc(t+d,i+n-d,d,Math.PI/2,Math.PI)}else a.moveTo(T,o.y),a.lineTo(T+o.width,o.y),a.lineTo(T+o.width,e.height-e.area[2]),a.lineTo(T,e.height-e.area[2]),a.lineTo(T,o.y),a.setLineWidth(1),a.setStrokeStyle(C);a.setFillStyle(A),a.closePath(),a.fill()}}x+=1}if("area"==t.type){let i=V(w,t);for(let o=0;o1){var D=r[0];let e=r[r.length-1];a.moveTo(D.x,D.y);let i=0;if("curve"===t.style)for(let t=0;ty&&(a.moveTo(e.x,e.y),i=1),t>0&&e.x>y&&e.xy&&(a.moveTo(e.x,e.y),i=1),t>0&&e.x>y&&e.xy&&(a.moveTo(o.x,o.y),e=1),t>0&&o.x>y&&o.xy&&(a.moveTo(o.x,o.y),e=1),t>0&&o.x>y&&o.x4&&void 0!==arguments[4]?arguments[4]:1,r=e.chartData.xAxisData,n=r.xAxisPoints,l=r.eachSpacing,s=P({},{type:"group",width:l/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0,labelPosition:"outside"},e.extra.column),h=[];a.save();let c=-2,d=n.length+2;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(a.translate(e._scrollDistance_,0),c=Math.floor(-e._scrollDistance_/l)-2,d=c+e.xAxis.itemCount+4),e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===o&&Et(e.tooltip.offset.x,e,0,a,l),s.customColor=E(s.linearType,s.customColor,t,i),t.forEach((function(r,p){let x,g,u;x=[].concat(e.chartData.yAxisData.ranges[r.index]),g=x.pop(),u=x.shift();let f=(e.height-e.area[0]-e.area[2])*(0-g)/(u-g),y=e.height-Math.round(f)-e.area[2];r.zeroPoints=y;var m=r.data;switch(s.type){case"group":var b=ft(m,g,u,n,l,e,i,y,o),v=bt(m,g,u,n,l,e,i,p,t,o);h.push(v),b=lt(b,l,t.length,p,0,e);for(let t=0;tc&&ty?y:i.y,o=i.width,r=Math.abs(y-i.y);s.barBorderCircle&&(s.barBorderRadius=[o/2,o/2,0,0]),i.y>y&&(s.barBorderRadius=[0,0,o/2,o/2]);let[n,l,h,c]=s.barBorderRadius,d=Math.min(o/2,r/2);n=n>d?d:n,l=l>d?d:l,h=h>d?d:h,c=c>d?d:c,n=n<0?0:n,l=l<0?0:l,h=h<0?0:h,c=c<0?0:c,a.arc(t+n,e+n,n,-Math.PI,-Math.PI/2),a.arc(t+o-l,e+l,l,-Math.PI/2,0),a.arc(t+o-h,e+r-h,h,0,Math.PI/2),a.arc(t+c,e+r-c,c,Math.PI/2,Math.PI)}else a.moveTo(S,i.y),a.lineTo(S+i.width,i.y),a.lineTo(S+i.width,y),a.lineTo(S,y),a.lineTo(S,i.y),a.setLineWidth(1),a.setStrokeStyle(A);a.setFillStyle(T),a.closePath(),a.fill()}}break;case"stack":b=bt(m,g,u,n,l,e,i,p,t,o),h.push(b),b=ct(b,l,t.length,0,0,e);for(let t=0;tc&&t0&&(w-=P),a.setFillStyle(T),a.moveTo(S,i.y),a.fillRect(S,i.y,i.width,w),a.closePath(),a.fill()}}break;case"meter":b=gt(m,g,u,n,l,e,i,o),h.push(b),b=ht(b,l,t.length,p,0,e,s.meterBorder);for(let t=0;tc&&t0&&(a.setStrokeStyle(r.color),a.setLineWidth(s.meterBorder*e.pix)),0==p?a.setFillStyle(s.meterFillColor):a.setFillStyle(i.color||r.color),S=i.x-i.width/2,w=e.height-i.y-e.area[2],s.barBorderRadius&&4===s.barBorderRadius.length||!0===s.barBorderCircle){const t=S,e=i.y,o=i.width,r=y-i.y;s.barBorderCircle&&(s.barBorderRadius=[o/2,o/2,0,0]);let[n,l,h,c]=s.barBorderRadius,d=Math.min(o/2,r/2);n=n>d?d:n,l=l>d?d:l,h=h>d?d:h,c=c>d?d:c,n=n<0?0:n,l=l<0?0:l,h=h<0?0:h,c=c<0?0:c,a.arc(t+n,e+n,n,-Math.PI,-Math.PI/2),a.arc(t+o-l,e+l,l,-Math.PI/2,0),a.arc(t+o-h,e+r-h,h,0,Math.PI/2),a.arc(t+c,e+r-c,c,Math.PI/2,Math.PI),a.fill()}else a.moveTo(S,i.y),a.lineTo(S+i.width,i.y),a.lineTo(S+i.width,y),a.lineTo(S,y),a.lineTo(S,i.y),a.fill();0==p&&s.meterBorder>0&&(a.closePath(),a.stroke())}}}})),!1!==e.dataLabel&&1===o&&t.forEach((function(r,h){let c,d,p;c=[].concat(e.chartData.yAxisData.ranges[r.index]),d=c.pop(),p=c.shift();var x=r.data;switch(s.type){case"group":Mt(lt(ft(x,d,p,n,l,e,i,o),l,t.length,h,0,e),r,i,a,e);break;case"stack":Mt(bt(x,d,p,n,l,e,i,h,t,o),r,i,a,e);break;case"meter":Mt(gt(x,d,p,n,l,e,i,o),r,i,a,e)}})),a.restore(),{xAxisPoints:n,calPoints:h,eachSpacing:l}}(r,e,i,a,t),l=o.xAxisPoints,s=o.calPoints,h=o.eachSpacing;e.chartData.xAxisPoints=l,e.chartData.calPoints=s,e.chartData.eachSpacing=h,Xt(0,e,i,a),!1!==e.enableMarkLine&&1===t&&Ot(e,0,a),Ht(e.series,e,i,a,e.chartData),Bt(e,i,a,t),te(0,a)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"mount":this.animationInstance=new ie({timing:e.timing,duration:l,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&Tt(a,e),Nt(0,e,0,a),Gt(n,e,i,a);var o=function(t,e,i,a){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=e.chartData.xAxisData,n=r.xAxisPoints,l=r.eachSpacing,s=P({},{type:"mount",widthRatio:1,borderWidth:1,barBorderCircle:!1,barBorderRadius:[],linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.mount);s.widthRatio=s.widthRatio<=0?0:s.widthRatio,s.widthRatio=s.widthRatio>=2?2:s.widthRatio,a.save();let h,c,d,p=-2,x=n.length+2;e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(a.translate(e._scrollDistance_,0),p=Math.floor(-e._scrollDistance_/l)-2,x=p+e.xAxis.itemCount+4),s.customColor=E(s.linearType,s.customColor,t,i),h=[].concat(e.chartData.yAxisData.ranges[0]),c=h.pop(),d=h.shift();let g=e.height-e.area[0]-e.area[2],u=g*(0-c)/(d-c),f=e.height-Math.round(u)-e.area[2];var y=yt(t,c,d,n,l,e,s,f,o);switch(s.type){case"bar":for(let i=0;ip&&if?f:o.y,i=o.width,r=Math.abs(f-o.y);s.barBorderCircle&&(s.barBorderRadius=[i/2,i/2,0,0]),o.y>f&&(s.barBorderRadius=[0,0,i/2,i/2]);let[n,l,h,c]=s.barBorderRadius,d=Math.min(i/2,r/2);n=n>d?d:n,l=l>d?d:l,h=h>d?d:h,c=c>d?d:c,n=n<0?0:n,l=l<0?0:l,h=h<0?0:h,c=c<0?0:c,a.arc(t+n,e+n,n,-Math.PI,-Math.PI/2),a.arc(t+i-l,e+l,l,-Math.PI/2,0),a.arc(t+i-h,e+r-h,h,0,Math.PI/2),a.arc(t+c,e+r-c,c,Math.PI/2,Math.PI)}else a.moveTo(m,o.y),a.lineTo(m+o.width,o.y),a.lineTo(m+o.width,f),a.lineTo(m,f),a.lineTo(m,o.y);a.setStrokeStyle(S),a.setFillStyle(v),s.borderWidth>0&&(a.setLineWidth(s.borderWidth*e.pix),a.closePath(),a.stroke()),a.fill()}}break;case"triangle":for(let i=0;ip&&i0&&(a.setLineWidth(s.borderWidth*e.pix),a.stroke()),a.fill())}break;case"mount":for(let i=0;ip&&i0&&(a.setLineWidth(s.borderWidth*e.pix),a.stroke()),a.fill())}break;case"sharp":for(let i=0;ip&&i0&&(a.setLineWidth(s.borderWidth*e.pix),a.stroke()),a.fill())}}if(!1!==e.dataLabel&&1===o){let r,h,c;r=[].concat(e.chartData.yAxisData.ranges[0]),h=r.pop(),c=r.shift(),Ft(y=yt(t,h,c,n,l,e,s,f,o),t,i,a,e,f)}return a.restore(),{xAxisPoints:n,calPoints:y,eachSpacing:l}}(r,e,i,a,t),l=o.xAxisPoints,s=o.calPoints,h=o.eachSpacing;e.chartData.xAxisPoints=l,e.chartData.calPoints=s,e.chartData.eachSpacing=h,Xt(0,e,i,a),!1!==e.enableMarkLine&&1===t&&Ot(e,0,a),Ht(e.series,e,i,a,e.chartData),Bt(e,i,a,t),te(0,a)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"bar":this.animationInstance=new ie({timing:e.timing,duration:l,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&Tt(a,e),Gt(n,e,i,a);var o=function(t,e,i,a){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=[],n=(e.height-e.area[0]-e.area[2])/e.categories.length;for(let d=0;dh&&td?d:n,s=s>d?d:s,h=h>d?d:h,c=c>d?d:c,n=n<0?0:n,s=s<0?0:s,h=h<0?0:h,c=c<0?0:c,a.arc(t+c,o+c,c,-Math.PI,-Math.PI/2),a.arc(i.x-n,o+n,n,-Math.PI/2,0),a.arc(i.x-s,o+e-s,s,0,Math.PI/2),a.arc(t+h,o+e-h,h,Math.PI/2,Math.PI)}else a.moveTo(b,v),a.lineTo(i.x,v),a.lineTo(i.x,v+i.width),a.lineTo(b,v+i.width),a.lineTo(b,v),a.setLineWidth(1),a.setStrokeStyle(w);a.setFillStyle(S),a.closePath(),a.fill()}}break;case"stack":y=vt(f,g,u,r,n,e,i,p,t,o),s.push(y),y=dt(y,n,t.length,0,0,e);for(let t=0;th&&t4&&void 0!==arguments[4]?arguments[4]:1,r=P({},{type:"straight",opacity:.2,addLine:!1,width:2,gradient:!1,activeType:"none"},e.extra.area);let n=e.chartData.xAxisData,l=n.xAxisPoints,s=n.eachSpacing,h=e.height-e.area[2],c=[];a.save();let d=0,p=e.width+s;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(a.translate(e._scrollDistance_,0),d=-e._scrollDistance_-2*s+e.area[3],p=d+(e.xAxis.itemCount+4)*s),t.forEach((function(t,n){let x,g,u;x=[].concat(e.chartData.yAxisData.ranges[t.index]),g=x.pop(),u=x.shift();let f=gt(t.data,g,u,l,s,e,i,o);c.push(f);let y=V(f,t);for(let i=0;i1){let t=o[0],e=o[o.length-1];a.moveTo(t.x,t.y);let i=0;if("curve"===r.type)for(let r=0;rd&&(a.moveTo(t.x,t.y),i=1),r>0&&t.x>d&&t.xd&&(a.moveTo(t.x,t.y),i=1),r>0&&t.x>d&&t.x
d&&(a.moveTo(t.x,t.y),i=1),r>0&&t.x>d&&t.x
d&&(a.moveTo(i.x,i.y),t=1),e>0&&i.x>d&&i.x
d&&(a.moveTo(i.x,i.y),t=1),e>0&&i.x>d&&i.x
d&&(a.moveTo(i.x,i.y),t=1),e>0&&i.x>d&&i.x
4&&void 0!==arguments[4]?arguments[4]:1,r=P({},{type:"area",activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF",linearType:"none",customColor:[]},e.extra.rose);0==i.pieChartLinePadding&&(i.pieChartLinePadding=r.activeRadius*e.pix);var n={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},l=Math.min((e.width-e.area[1]-e.area[3])/2-i.pieChartLinePadding-i.pieChartTextPadding-i._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-i.pieChartLinePadding-i.pieChartTextPadding);l=l<10?10:l;var s=r.minRadius||.5*l;l4&&void 0!==arguments[4]?arguments[4]:1,r=P({},{gridColor:"#cccccc",gridType:"radar",gridEval:1,axisLabel:!1,axisLabelTofix:0,labelShow:!0,labelColor:"#666666",labelPointShow:!1,labelPointRadius:3,labelPointColor:"#cccccc",opacity:.2,gridCount:3,border:!1,borderWidth:2,linearType:"none",customColor:[]},e.extra.radar),n=H(e.categories.length),l={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},s=(e.width-e.area[1]-e.area[3])/2,h=(e.height-e.area[0]-e.area[2])/2,c=Math.min(s-(X(e.categories,i.fontSize,a)+i.radarLabelTextMargin),h-i.radarLabelTextMargin);c=(c-=i.radarLabelTextMargin*e.pix)<10?10:c,c=r.radius?r.radius:c,a.beginPath(),a.setLineWidth(1*e.pix),a.setStrokeStyle(r.gridColor),n.forEach((function(t,e){var i=I(c*Math.cos(t),c*Math.sin(t),l);a.moveTo(l.x,l.y),e%r.gridEval==0&&a.lineTo(i.x,i.y)})),a.stroke(),a.closePath();for(var d=function(t){var i={};if(a.beginPath(),a.setLineWidth(1*e.pix),a.setStrokeStyle(r.gridColor),"radar"==r.gridType)n.forEach((function(e,o){var n=I(c/r.gridCount*t*Math.cos(e),c/r.gridCount*t*Math.sin(e),l);0===o?(i=n,a.moveTo(n.x,n.y)):a.lineTo(n.x,n.y)})),a.lineTo(i.x,i.y);else{var o=I(c/r.gridCount*t*Math.cos(1.5),c/r.gridCount*t*Math.sin(1.5),l);a.arc(l.x,l.y,l.y-o.y,0,2*Math.PI,!1)}a.stroke(),a.closePath()},p=1;p<=r.gridCount;p++)d(p);r.customColor=E(r.linearType,r.customColor,t,i);var x=Q(n,l,c,t,e,o);if(x.forEach((function(i,o){a.beginPath(),a.setLineWidth(r.borderWidth*e.pix),a.setStrokeStyle(i.color);var n,s=M(i.color,r.opacity);"custom"==r.linearType&&((n=a.createCircularGradient?a.createCircularGradient(l.x,l.y,c):a.createRadialGradient(l.x,l.y,0,l.x,l.y,c)).addColorStop(0,M(r.customColor[t[o].linearIndex],r.opacity)),n.addColorStop(1,M(i.color,r.opacity)),s=n),a.setFillStyle(s),i.data.forEach((function(t,e){0===e?a.moveTo(t.position.x,t.position.y):a.lineTo(t.position.x,t.position.y)})),a.closePath(),a.fill(),!0===r.border&&a.stroke(),a.closePath(),!1!==e.dataPointShape&&At(i.data.map((function(t){return t.position})),i.color,i.pointShape,a,e)})),!0===r.axisLabel){const i=Math.max(r.max,Math.max.apply(null,R(t))),o=c/r.gridCount,n=e.fontSize*e.pix;for(a.setFontSize(n),a.setFillStyle(e.fontColor),a.setTextAlign("left"),p=0;p4&&void 0!==arguments[4]?arguments[4]:1,l=P({},{startAngle:.75,endAngle:.25,type:"default",direction:"cw",lineCap:"round",width:12,gap:2,linearType:"none",customColor:[]},e.extra.arcbar);t=at(t,l,n),o=l.centerX||l.centerY?{x:l.centerX?l.centerX:e.width/2,y:l.centerY?l.centerY:e.height/2}:{x:e.width/2,y:e.height/2},l.radius?r=l.radius:(r=Math.min(o.x,o.y),r-=5*e.pix,r-=l.width/2),r=r<10?10:r,l.customColor=E(l.linearType,l.customColor,t,i);for(let c=0;c5&&void 0!==arguments[5]?arguments[5]:1,n=P({},{type:"default",startAngle:.75,endAngle:.25,width:15,labelOffset:13,splitLine:{fixRadius:0,splitNumber:10,width:15,color:"#FFFFFF",childNumber:5,childWidth:5},pointer:{width:15,color:"auto"}},i.extra.gauge);null==n.oldAngle&&(n.oldAngle=n.startAngle),null==n.oldData&&(n.oldData=0),t=rt(t,n.startAngle,n.endAngle);var l={x:i.width/2,y:i.height/2},s=Math.min(l.x,l.y);s-=5*i.pix;var h=(s=(s-=n.width/2)<10?10:s)-n.width,c=0;if("progress"==n.type){var d=s-3*n.width;o.beginPath();let t=o.createLinearGradient(l.x,l.y-d,l.x,l.y+d);t.addColorStop("0",M(e[0].color,.3)),t.addColorStop("1.0",M("#FFFFFF",.1)),o.setFillStyle(t),o.arc(l.x,l.y,d,0,2*Math.PI,!1),o.fill(),o.setLineWidth(n.width),o.setStrokeStyle(M(e[0].color,.3)),o.setLineCap("round"),o.beginPath(),o.arc(l.x,l.y,h,n.startAngle*Math.PI,n.endAngle*Math.PI,!1),o.stroke(),c=n.endAngler/g?o.setStrokeStyle(M(e[0].color,1)):o.setStrokeStyle(M(e[0].color,.3)),o.setLineWidth(3*i.pix),o.moveTo(p,0),o.lineTo(x,0),o.stroke(),o.rotate(a*Math.PI);o.restore(),e=ot(e,n,r),o.setLineWidth(n.width),o.setStrokeStyle(e[0].color),o.setLineCap("round"),o.beginPath(),o.arc(l.x,l.y,h,n.startAngle*Math.PI,e[0]._proportion_*Math.PI,!1),o.stroke();let f=s-2.5*n.width;o.save(),o.translate(l.x,l.y),o.rotate((e[0]._proportion_-1)*Math.PI),o.beginPath(),o.setLineWidth(n.width/3);let y=o.createLinearGradient(0,.6*-f,0,.6*f);y.addColorStop("0",M("#FFFFFF",0)),y.addColorStop("0.5",M(e[0].color,1)),y.addColorStop("1.0",M("#FFFFFF",0)),o.setStrokeStyle(y),o.arc(0,0,f,.85*Math.PI,1.15*Math.PI,!1),o.stroke(),o.beginPath(),o.setLineWidth(1),o.setStrokeStyle(e[0].color),o.setFillStyle(e[0].color),o.moveTo(-f-n.width/3/2,-4),o.lineTo(-f-n.width/3/2-4,0),o.lineTo(-f-n.width/3/2,4),o.lineTo(-f-n.width/3/2,-4),o.stroke(),o.fill(),o.restore()}else{o.setLineWidth(n.width),o.setLineCap("butt");for(let e=0;e5&&void 0!==arguments[5]?arguments[5]:1,n=P({},{color:{},average:{}},i.extra.candle);n.color=P({},{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},n.color),n.average=P({},{show:!1,name:[],day:[],color:a.color},n.average),i.extra.candle=n;let l=i.chartData.xAxisData,s=l.xAxisPoints,h=l.eachSpacing,c=[];o.save();let d=-2,p=s.length+2,x=0,g=i.width+h;return i._scrollDistance_&&0!==i._scrollDistance_&&!0===i.enableScroll&&(o.translate(i._scrollDistance_,0),d=Math.floor(-i._scrollDistance_/h)-2,p=d+i.xAxis.itemCount+4,x=-i._scrollDistance_-2*h+i.area[3],g=x+(i.xAxis.itemCount+4)*h),(n.average.show||e)&&e.forEach((function(t,e){let n,l,c;n=[].concat(i.chartData.yAxisData.ranges[t.index]),l=n.pop(),c=n.shift();var d=V(gt(t.data,l,c,s,h,i,a,r),t);for(let i=0;ix&&(o.moveTo(a.x,a.y),t=1),i>0&&a.x>x&&a.xd&&a0?(o.setStrokeStyle(n.color.upLine),o.setFillStyle(n.color.upFill),o.setLineWidth(1*i.pix),o.moveTo(t[3].x,t[3].y),o.lineTo(t[1].x,t[1].y),o.lineTo(t[1].x-h/4,t[1].y),o.lineTo(t[0].x-h/4,t[0].y),o.lineTo(t[0].x,t[0].y),o.lineTo(t[2].x,t[2].y),o.lineTo(t[0].x,t[0].y),o.lineTo(t[0].x+h/4,t[0].y),o.lineTo(t[1].x+h/4,t[1].y),o.lineTo(t[1].x,t[1].y),o.moveTo(t[3].x,t[3].y)):(o.setStrokeStyle(n.color.downLine),o.setFillStyle(n.color.downFill),o.setLineWidth(1*i.pix),o.moveTo(t[3].x,t[3].y),o.lineTo(t[0].x,t[0].y),o.lineTo(t[0].x-h/4,t[0].y),o.lineTo(t[1].x-h/4,t[1].y),o.lineTo(t[1].x,t[1].y),o.lineTo(t[2].x,t[2].y),o.lineTo(t[1].x,t[1].y),o.lineTo(t[1].x+h/4,t[1].y),o.lineTo(t[0].x+h/4,t[0].y),o.lineTo(t[0].x,t[0].y),o.moveTo(t[3].x,t[3].y)),o.closePath(),o.fill(),o.stroke()}})),o.restore(),{xAxisPoints:s,calPoints:c,eachSpacing:h}}(r,s,e,i,a,t),l=o.xAxisPoints,h=o.calPoints,c=o.eachSpacing;e.chartData.xAxisPoints=l,e.chartData.calPoints=h,e.chartData.eachSpacing=c,Xt(0,e,i,a),!1!==e.enableMarkLine&&1===t&&Ot(e,0,a),Ht(s?0:e.series,e,i,a,e.chartData),Bt(e,i,a,t),te(0,a)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}})}}function oe(){this.events={}}ie.prototype.stop=function(){this.isStop=!0},oe.prototype.addEventListener=function(t,e){this.events[t]=this.events[t]||[],this.events[t].push(e)},oe.prototype.delEventListener=function(t){this.events[t]=[]},oe.prototype.trigger=function(){for(var t=arguments.length,e=Array(t),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};this.opts=P({},this.opts,t),this.opts.updateData=!0;let e=t.scrollPosition||"current";switch(e){case"current":this.opts._scrollDistance_=this.scrollOption.currentOffset;break;case"left":this.opts._scrollDistance_=0,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0};break;case"right":let t=wt(this.opts.series,this.opts,this.config,this.context).yAxisWidth;this.config.yAxisWidth=t;let e=0,i=pt(this.opts.categories,this.opts,this.config),a=i.xAxisPoints,o=i.startX;e=i.endX-o-i.eachSpacing*(a.length-1),this.scrollOption={currentOffset:e,startTouchX:e,distance:0,lastMoveTime:0},this.opts._scrollDistance_=e}ae.call(this,this.opts.type,this.opts,this.config,this.context)},re.prototype.zoom=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.opts.xAxis.itemCount;if(!0!==this.opts.enableScroll)return void console.log("[uCharts] 请启用滚动条后使用");let e=Math.round(Math.abs(this.scrollOption.currentOffset)/this.opts.chartData.eachSpacing)+Math.round(this.opts.xAxis.itemCount/2);this.opts.animation=!1,this.opts.xAxis.itemCount=t.itemCount;let i=wt(this.opts.series,this.opts,this.config,this.context),a=i.yAxisWidth;this.config.yAxisWidth=a;let o=0,r=pt(this.opts.categories,this.opts,this.config),n=r.xAxisPoints,l=r.startX,s=r.endX,h=r.eachSpacing,c=h*e,d=s-l,p=d-h*(n.length-1);o=d/2-c,o>0&&(o=0),o=this.opts.categories.length?this.opts.categories.length:n,this.opts.animation=!1,this.opts.xAxis.itemCount=n;let l=0,s=pt(this.opts.categories,this.opts,this.config),h=s.xAxisPoints,c=s.startX,d=s.endX,p=s.eachSpacing,x=p*this.scrollOption.moveCurrent1,g=d-c-p*(h.length-1);l=-x+Math.min(a[0].x,a[1].x)-this.opts.area[3]-p,l>0&&(l=0),l2*Math.PI&&(t-=2*Math.PI),t},n=Math.atan2(e.center.y-t.y,t.x-e.center.x);(n*=-1)<0&&(n+=2*Math.PI),e.angleList.map((function(t){return r(-1*t)})).forEach((function(t,e){var i=r(t-a/2),l=r(t+a/2);l=i&&n<=l||n+2*Math.PI>=i&&n+2*Math.PI<=l)&&(o=e)}))}return o}({x:i.x,y:i.y},this.opts.chartData.radarData,this.opts.categories.length):"funnel"===this.opts.type?function(t,e){for(var i=-1,a=0,o=e.series.length;ar.funnelArea[0]&&t.xr.funnelArea[1]&&t.yr.area[0]&&t.xr.area[1]&&t.y4&&void 0!==arguments[4]?arguments[4]:0,r={index:-1,group:[]},n=i.chartData.eachSpacing/2;let l=i.chartData.yAxisPoints;return e&&e.length>0&&$(t,i)&&l.forEach((function(e,i){t.y+o+n>e&&(r.index=i)})),r}({x:i.x,y:i.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset)):function(t,e,i,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r={index:-1,group:[]},n=i.chartData.eachSpacing/2;let l=[];if(e&&e.length>0){if(i.categories){for(let t=1;te&&(r.index=i)}));else{let i=Array(e.length);for(let r=0;re.start.x&&t.xe.start.y&&t.yi[0]-0&&t.xi[1]-0&&t.y1&&void 0!==arguments[1]?arguments[1]:{},i=null;if(i=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0]){G(i,this.opts,t);var a=this.getLegendDataIndex(t);a>=0&&("candle"==this.opts.type?this.opts.seriesMA[a].show=!this.opts.seriesMA[a].show:this.opts.series[a].show=!this.opts.series[a].show,this.opts.animation=!!e.animation,this.opts._scrollDistance_=this.scrollOption.currentOffset,ae.call(this,this.opts.type,this.opts,this.config,this.context))}},re.prototype.showToolTip=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null;(i=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0])||console.log("[uCharts] 未获取到event坐标信息");var a=G(i,this.opts,t),o=this.scrollOption.currentOffset,r=P({},this.opts,{_scrollDistance_:o,animation:!1});if("line"===this.opts.type||"area"===this.opts.type||"column"===this.opts.type||"scatter"===this.opts.type||"bubble"===this.opts.type){var n=this.getCurrentDataIndex(t);if((p=null==e.index?n.index:e.index)>-1||p.length>0)if(0!==(s=N(this.opts.series,p,n.group)).length){var l=(d=j(s,this.opts,p,n.group,this.opts.categories,e)).textList;(h=d.offset).y=a.y,r.tooltip={textList:void 0!==e.textList?e.textList:l,offset:void 0!==e.offset?e.offset:h,option:e,index:p,group:n.group}}ae.call(this,r.type,r,this.config,this.context)}if("mount"===this.opts.type){if((p=null==e.index?this.getCurrentDataIndex(t).index:e.index)>-1){r=P({},this.opts,{animation:!1});var s=P({},r._series_[p]),h=(l=[{text:e.formatter?e.formatter(s,void 0,p,r):s.name+": "+s.data,color:s.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?s.legendShape:this.opts.extra.tooltip.legendShape}],{x:r.chartData.calPoints[p].x,y:a.y});r.tooltip={textList:e.textList?e.textList:l,offset:void 0!==e.offset?e.offset:h,option:e,index:p}}ae.call(this,r.type,r,this.config,this.context)}if("bar"===this.opts.type){n=this.getCurrentDataIndex(t);if((p=null==e.index?n.index:e.index)>-1||p.length>0)if(0!==(s=N(this.opts.series,p,n.group)).length){l=(d=j(s,this.opts,p,n.group,this.opts.categories,e)).textList;(h=d.offset).x=a.x,r.tooltip={textList:void 0!==e.textList?e.textList:l,offset:void 0!==e.offset?e.offset:h,option:e,index:p}}ae.call(this,r.type,r,this.config,this.context)}if("mix"===this.opts.type){n=this.getCurrentDataIndex(t);if((p=null==e.index?n.index:e.index)>-1){o=this.scrollOption.currentOffset,r=P({},this.opts,{_scrollDistance_:o,animation:!1});if(0!==(s=N(this.opts.series,p)).length){var c=J(s,this.opts,p,this.opts.categories,e);l=c.textList;(h=c.offset).y=a.y,r.tooltip={textList:e.textList?e.textList:l,offset:void 0!==e.offset?e.offset:h,option:e,index:p}}}ae.call(this,r.type,r,this.config,this.context)}if("candle"===this.opts.type){n=this.getCurrentDataIndex(t);if((p=null==e.index?n.index:e.index)>-1){o=this.scrollOption.currentOffset,r=P({},this.opts,{_scrollDistance_:o,animation:!1});if(0!==(s=N(this.opts.series,p)).length){var d;l=(d=Y(this.opts.series[0].data,s,this.opts,p,this.opts.categories,this.opts.extra.candle)).textList;(h=d.offset).y=a.y,r.tooltip={textList:e.textList?e.textList:l,offset:void 0!==e.offset?e.offset:h,option:e,index:p}}}ae.call(this,r.type,r,this.config,this.context)}if("pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type||"funnel"===this.opts.type){if((p=null==e.index?this.getCurrentDataIndex(t):e.index)>-1){r=P({},this.opts,{animation:!1}),s=P({},r._series_[p]),l=[{text:e.formatter?e.formatter(s,void 0,p,r):s.name+": "+s.data,color:s.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?s.legendShape:this.opts.extra.tooltip.legendShape}],h={x:a.x,y:a.y};r.tooltip={textList:e.textList?e.textList:l,offset:void 0!==e.offset?e.offset:h,option:e,index:p}}ae.call(this,r.type,r,this.config,this.context)}if("map"===this.opts.type){if((p=null==e.index?this.getCurrentDataIndex(t):e.index)>-1){r=P({},this.opts,{animation:!1});(s=P({},this.opts.series[p])).name=s.properties.name;l=[{text:e.formatter?e.formatter(s,void 0,p,this.opts):s.name,color:s.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?s.legendShape:this.opts.extra.tooltip.legendShape}],h={x:a.x,y:a.y};r.tooltip={textList:e.textList?e.textList:l,offset:void 0!==e.offset?e.offset:h,option:e,index:p}}r.updateData=!1,ae.call(this,r.type,r,this.config,this.context)}if("word"===this.opts.type){if((p=null==e.index?this.getCurrentDataIndex(t):e.index)>-1){r=P({},this.opts,{animation:!1}),s=P({},this.opts.series[p]),l=[{text:e.formatter?e.formatter(s,void 0,p,this.opts):s.name,color:s.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?s.legendShape:this.opts.extra.tooltip.legendShape}],h={x:a.x,y:a.y};r.tooltip={textList:e.textList?e.textList:l,offset:void 0!==e.offset?e.offset:h,option:e,index:p}}r.updateData=!1,ae.call(this,r.type,r,this.config,this.context)}if("radar"===this.opts.type){var p;if((p=null==e.index?this.getCurrentDataIndex(t):e.index)>-1){r=P({},this.opts,{animation:!1});if(0!==(s=N(this.opts.series,p)).length){l=s.map((t=>({text:e.formatter?e.formatter(t,this.opts.categories[p],p,this.opts):t.name+": "+t.data,color:t.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?t.legendShape:this.opts.extra.tooltip.legendShape}))),h={x:a.x,y:a.y};r.tooltip={textList:e.textList?e.textList:l,offset:void 0!==e.offset?e.offset:h,option:e,index:p}}}ae.call(this,r.type,r,this.config,this.context)}},re.prototype.translate=function(t){this.scrollOption={currentOffset:t,startTouchX:t,distance:0,lastMoveTime:0};let e=P({},this.opts,{_scrollDistance_:t,animation:!1});ae.call(this,this.opts.type,e,this.config,this.context)},re.prototype.scrollStart=function(t){var e=null,i=G(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],this.opts,t);e&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=i.x)},re.prototype.scroll=function(t){0===this.scrollOption.lastMoveTime&&(this.scrollOption.lastMoveTime=Date.now());let e=this.opts.touchMoveLimit||60,i=Date.now();if(!(i-this.scrollOption.lastMoveTime{var i=new Date;i.setTime(1e3*t);var a=i.getFullYear(),o=i.getMonth()+1;o=o<10?"0"+o:o;var r=i.getDate();r=r<10?"0"+r:r;var n=i.getHours();n=n<10?"0"+n:n;var l=i.getMinutes(),s=i.getSeconds();return l=l<10?"0"+l:l,s=s<10?"0"+s:s,"full"==e?a+"-"+o+"-"+r+" "+n+":"+l+":"+s:"y-m-d"==e?a+"-"+o+"-"+r:"h:m"==e?n+":"+l:"h:m:s"==e?n+":"+l+":"+s:[a,o,r,n,l,s]})(t,"h:m")},seriesDemo1:function(t,e,i,a){return t+"元"},tooltipDemo1:function(t,e,i,a){return 0==i?"随便用"+t.data+"年":"其他我没改"+t.data+"天"},pieDemo:function(t,e,i,a){if(void 0!==e)return i[e].name+":"+i[e].data+"元"}},demotype:{type:"line",color:ne,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"curve",width:2}}},pie:{type:"pie",color:ne,padding:[5,5,5,5],extra:{pie:{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},ring:{type:"ring",color:ne,padding:[5,5,5,5],rotate:!1,dataLabel:!0,legend:{show:!0,position:"right",lineHeight:25},title:{name:"收益率",fontSize:15,color:"#666666"},subtitle:{name:"70%",fontSize:25,color:"#7cb5ec"},extra:{ring:{ringWidth:30,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},rose:{type:"rose",color:ne,padding:[5,5,5,5],legend:{show:!0,position:"left",lineHeight:25},extra:{rose:{type:"area",minRadius:50,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF"}}},word:{type:"word",color:ne,extra:{word:{type:"normal",autoColors:!1}}},funnel:{type:"funnel",color:ne,padding:[15,15,0,15],extra:{funnel:{activeOpacity:.3,activeWidth:10,border:!0,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,labelAlign:"right"}}},map:{type:"map",color:ne,padding:[0,0,0,0],dataLabel:!0,extra:{map:{border:!0,borderWidth:1,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#F04864",activeFillColor:"#FACC14",activeFillOpacity:1}}},arcbar:{type:"arcbar",color:ne,title:{name:"百分比",fontSize:25,color:"#00FF00"},subtitle:{name:"默认标题",fontSize:15,color:"#666666"},extra:{arcbar:{type:"default",width:12,backgroundColor:"#E9E9E9",startAngle:.75,endAngle:.25,gap:2}}},line:{type:"line",color:ne,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"straight",width:2,activeType:"hollow"}}},tline:{type:"line",color:ne,padding:[15,10,0,15],xAxis:{disableGrid:!1,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{line:{type:"curve",width:2,activeType:"hollow"}}},tarea:{type:"area",color:ne,padding:[15,10,0,15],xAxis:{disableGrid:!0,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{area:{type:"curve",opacity:.2,addLine:!0,width:2,gradient:!0,activeType:"hollow"}}},column:{type:"column",color:ne,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{column:{type:"group",width:30,activeBgColor:"#000000",activeBgOpacity:.08}}},mount:{type:"mount",color:ne,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{mount:{type:"mount",widthRatio:1.5}}},bar:{type:"bar",color:ne,padding:[15,30,0,5],xAxis:{boundaryGap:"justify",disableGrid:!1,min:0,axisLine:!1},yAxis:{},legend:{},extra:{bar:{type:"group",width:30,meterBorde:1,meterFillColor:"#FFFFFF",activeBgColor:"#000000",activeBgOpacity:.08}}},area:{type:"area",color:ne,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{area:{type:"straight",opacity:.2,addLine:!0,width:2,gradient:!1,activeType:"hollow"}}},radar:{type:"radar",color:ne,padding:[5,5,5,5],dataLabel:!1,legend:{show:!0,position:"right",lineHeight:25},extra:{radar:{gridType:"radar",gridColor:"#CCCCCC",gridCount:3,opacity:.2,max:200,labelShow:!0}}},gauge:{type:"gauge",color:ne,title:{name:"66Km/H",fontSize:25,color:"#2fc25b",offsetY:50},subtitle:{name:"实时速度",fontSize:15,color:"#1890ff",offsetY:-50},extra:{gauge:{type:"default",width:30,labelColor:"#666666",startAngle:.75,endAngle:.25,startNumber:0,endNumber:100,labelFormat:"",splitLine:{fixRadius:0,splitNumber:10,width:30,color:"#FFFFFF",childNumber:5,childWidth:12},pointer:{width:24,color:"auto"}}}},candle:{type:"candle",color:ne,padding:[15,15,0,15],enableScroll:!0,enableMarkLine:!0,dataLabel:!1,xAxis:{labelCount:4,itemCount:40,disableGrid:!0,gridColor:"#CCCCCC",gridType:"solid",dashLength:4,scrollShow:!0,scrollAlign:"left",scrollColor:"#A6A6A6",scrollBackgroundColor:"#EFEBEF"},yAxis:{},legend:{},extra:{candle:{color:{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},average:{show:!0,name:["MA5","MA10","MA30"],day:[5,10,20],color:["#1890ff","#2fc25b","#facc14"]}},markLine:{type:"dash",dashLength:5,data:[{value:2150,lineColor:"#f04864",showLabel:!0},{value:2350,lineColor:"#f04864",showLabel:!0}]}}},mix:{type:"mix",color:ne,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{disabled:!1,disableGrid:!1,splitNumber:5,gridType:"dash",dashLength:4,gridColor:"#CCCCCC",padding:10,showTitle:!0,data:[]},legend:{},extra:{mix:{column:{width:20}}}},scatter:{type:"scatter",color:ne,padding:[15,15,0,15],dataLabel:!1,xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0},yAxis:{disableGrid:!1,gridType:"dash"},legend:{},extra:{scatter:{}}},bubble:{type:"bubble",color:ne,padding:[15,15,0,15],xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0,max:250},yAxis:{disableGrid:!1,gridType:"dash",data:[{min:0,max:150}]},legend:{},extra:{bubble:{border:2,opacity:.5}}}},se=["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],he={type:["pie","ring","rose","funnel","line","column","area","radar","gauge","candle","demotype"],categories:["line","column","area","radar","gauge","candle","demotype"],instance:{},option:{},formatter:{tooltipDemo1:function(t){let e="";for(let i in t){0==i&&(e+=t[i].axisValueLabel+"年销售额");let a="--";null!==t[i].data&&(a=t[i].data),e+="\n"+t[i].seriesName+":"+a+" 万元"}return e},legendFormat:function(t){return"自定义图例+"+t},yAxisFormatDemo:function(t,e){return t+"元"},seriesFormatDemo:function(t){return t.name+"年"+t.value+"元"}},demotype:{color:se},column:{color:se,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{bottom:"left"},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!0,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"bar",data:[],barwidth:20,label:{show:!0,color:"#666666",position:"top"}}},line:{color:se,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{bottom:"left"},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!0,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"line",data:[],barwidth:20,label:{show:!0,color:"#666666",position:"top"}}},area:{color:se,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{bottom:"left"},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!0,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"line",data:[],areaStyle:{},label:{show:!0,color:"#666666",position:"top"}}},pie:{color:se,title:{text:""},tooltip:{trigger:"item"},grid:{top:40,bottom:30,right:15,left:15},legend:{bottom:"left"},seriesTemplate:{name:"",type:"pie",data:[],radius:"50%",label:{show:!0,color:"#666666",position:"top"}}},ring:{color:se,title:{text:""},tooltip:{trigger:"item"},grid:{top:40,bottom:30,right:15,left:15},legend:{bottom:"left"},seriesTemplate:{name:"",type:"pie",data:[],radius:["40%","70%"],avoidLabelOverlap:!1,label:{show:!0,color:"#666666",position:"top"},labelLine:{show:!0}}},rose:{color:se,title:{text:""},tooltip:{trigger:"item"},legend:{top:"bottom"},seriesTemplate:{name:"",type:"pie",data:[],radius:"55%",center:["50%","50%"],roseType:"area"}},funnel:{color:se,title:{text:""},tooltip:{trigger:"item",formatter:"{b} : {c}%"},legend:{top:"bottom"},seriesTemplate:{name:"",type:"funnel",left:"10%",top:60,bottom:60,width:"80%",min:0,max:100,minSize:"0%",maxSize:"100%",sort:"descending",gap:2,label:{show:!0,position:"inside"},labelLine:{length:10,lineStyle:{width:1,type:"solid"}},itemStyle:{bordercolor:"#fff",borderwidth:1},emphasis:{label:{fontSize:20}},data:[]}},gauge:{color:se,tooltip:{formatter:"{a}
{b} : {c}%"},seriesTemplate:{name:"业务指标",type:"gauge",detail:{formatter:"{value}%"},data:[{value:50,name:"完成率"}]}},candle:{xAxis:{data:[]},yAxis:{},color:se,title:{text:""},dataZoom:[{type:"inside",xAxisIndex:[0,1],start:10,end:100},{show:!0,xAxisIndex:[0,1],type:"slider",bottom:10,start:10,end:100}],seriesTemplate:{name:"",type:"k",data:[]}}};var ce={},de=null;function pe(t={},...e){for(let i in e)for(let a in e[i])e[i].hasOwnProperty(a)&&(t[a]=e[i][a]&&"object"==typeof e[i][a]?pe(Array.isArray(e[i][a])?[]:{},t[a],e[i][a]):e[i][a]);return t}function xe(t,e){for(let i in t)t.hasOwnProperty(i)&&null!==t[i]&&"object"==typeof t[i]?xe(t[i],e):"format"===i&&"string"==typeof t[i]&&(t.formatter=e[t[i]]?e[t[i]]:void 0);return t}const ge={data:()=>({rid:null}),mounted(){de={top:0,left:0};let t=document.querySelectorAll("uni-main")[0];void 0===t&&(t=document.querySelectorAll("uni-page-wrapper")[0]),de={top:t.offsetTop,left:t.offsetLeft},setTimeout((()=>{null===this.rid&&this.$ownerInstance&&this.$ownerInstance.callMethod("getRenderType")}),200)},destroyed(){delete le.option[this.rid],delete le.instance[this.rid],delete he.option[this.rid],delete he.instance[this.rid]},methods:{ecinit(t,e,i,a){let o=JSON.stringify(t.id);this.rid=o,ce[o]=this.$ownerInstance||a;let r=JSON.parse(JSON.stringify(t)),n=r.type;n&&he.type.includes(n)?he.option[o]=pe({},he[n],r):he.option[o]=pe({},r);let l=r.chartData;if(l){he.option[o].xAxis&&he.option[o].xAxis.type&&"category"===he.option[o].xAxis.type&&(he.option[o].xAxis.data=l.categories),he.option[o].yAxis&&he.option[o].yAxis.type&&"category"===he.option[o].yAxis.type&&(he.option[o].yAxis.data=l.categories),he.option[o].series=[];for(var s=0;s{let i=JSON.parse(JSON.stringify({x:e.event.offsetX,y:e.event.offsetY}));ce[t].callMethod("emitMsg",{name:"getIndex",params:{type:"getIndex",event:i,currentIndex:e.dataIndex,value:e.data,seriesName:e.seriesName,id:t}})})),he.instance[t].on("highlight",(e=>{ce[t].callMethod("emitMsg",{name:"getHighlight",params:{type:"highlight",res:e,id:t}})}))),this.updataEChart(t,he.option[t])):this.updataEChart(t,he.option[t])},updataEChart(t,e){if((e=xe(e,he.formatter)).tooltip&&(e.tooltip.show=!!e.tooltipShow,e.tooltip.position=this.tooltipPosition(),"string"==typeof e.tooltipFormat&&he.formatter[e.tooltipFormat]&&(e.tooltip.formatter=e.tooltip.formatter?e.tooltip.formatter:he.formatter[e.tooltipFormat])),e.series)for(let i in e.series){let t=e.series[i].linearGradient;t&&(e.series[i].color=new echarts.graphic.LinearGradient(t[0],t[1],t[2],t[3],t[4]))}he.instance[t].setOption(e,e.notMerge),he.instance[t].on("finished",(function(){ce[t].callMethod("emitMsg",{name:"complete",params:{type:"complete",complete:!0,id:t}}),he.instance[t]&&he.instance[t].off("finished")})),void 0!==ce[t].$el.children[0].clientWidth&&(Math.abs(ce[t].$el.children[0].clientWidth-he.instance[t].getWidth())>3||Math.abs(ce[t].$el.children[0].clientHeight-he.instance[t].getHeight())>3)&&this.ecresize()},tooltipPosition:()=>(t,e,i,a,o)=>{let r=t[0],n=t[1],l=o.viewSize[0],s=o.viewSize[1],h=o.contentSize[0],c=o.contentSize[1],d=r+30,p=n+30;return d+h>l&&(d=r-h-30),p+c>s&&(p=n-c-30),[d,p]},ucinit(t,e,i,a){if(JSON.stringify(t)==JSON.stringify(e))return;if(!t.canvasId)return;let o=JSON.parse(JSON.stringify(t.canvasId));this.rid=o,ce[o]=this.$ownerInstance||a,le.option[o]=JSON.parse(JSON.stringify(t)),le.option[o]=xe(le.option[o],le.formatter);let r=document.getElementById(o);r&&r.children[0]&&(le.option[o].context=r.children[0].getContext("2d"),le.instance[o]&&le.option[o]&&!0===le.option[o].update?this.updataUChart():setTimeout((()=>{le.option[o].context.restore(),le.option[o].context.save(),this.newUChart()}),100))},newUChart(){let t=this.rid;le.instance[t]=new re(le.option[t]),le.instance[t].addEventListener("renderComplete",(()=>{ce[t].callMethod("emitMsg",{name:"complete",params:{type:"complete",complete:!0,id:t,opts:le.instance[t].opts}}),le.instance[t].delEventListener("renderComplete")})),le.instance[t].addEventListener("scrollLeft",(()=>{ce[t].callMethod("emitMsg",{name:"scrollLeft",params:{type:"scrollLeft",scrollLeft:!0,id:t,opts:le.instance[t].opts}})})),le.instance[t].addEventListener("scrollRight",(()=>{ce[t].callMethod("emitMsg",{name:"scrollRight",params:{type:"scrollRight",scrollRight:!0,id:t,opts:le.instance[t].opts}})}))},updataUChart(){let t=this.rid;le.instance[t].updateData(le.option[t])},tooltipDefault(t,e,i,a){if(e){let i=t.data;return"object"==typeof t.data&&(i=t.data.value),e+" "+t.name+":"+i}return t.properties&&t.properties.name?t.properties.name:t.name+":"+t.data},showTooltip(t,e){let i=le.option[e].tooltipCustom;if(i&&null!=i){let a;i.x>=0&&i.y>=0&&(a={x:i.x,y:i.y+10}),le.instance[e].showToolTip(t,{index:i.index,offset:a,textList:i.textList,formatter:(t,i,a,o)=>"string"==typeof le.option[e].tooltipFormat&&le.formatter[le.option[e].tooltipFormat]?le.formatter[le.option[e].tooltipFormat](t,i,a,o):this.tooltipDefault(t,i,a,o)})}else le.instance[e].showToolTip(t,{formatter:(t,i,a,o)=>"string"==typeof le.option[e].tooltipFormat&&le.formatter[le.option[e].tooltipFormat]?le.formatter[le.option[e].tooltipFormat](t,i,a,o):this.tooltipDefault(t,i,a,o)})},tap(t){let e=this.rid,i=le.option[e].ontap,a=le.option[e].tooltipShow,o=le.option[e].tapLegend;if(0==i)return;let r=null,n=null,l=document.getElementById("UC"+e).getBoundingClientRect(),s={};s=t.detail.x?{x:t.detail.x-l.left,y:t.detail.y-l.top+de.top}:{x:t.clientX-l.left,y:t.clientY-l.top+de.top},t.changedTouches=[],t.changedTouches.unshift(s),r=le.instance[e].getCurrentDataIndex(t),n=le.instance[e].getLegendDataIndex(t),!0===o&&le.instance[e].touchLegend(t),1==a&&this.showTooltip(t,e),ce[e].callMethod("emitMsg",{name:"getIndex",params:{type:"getIndex",event:s,currentIndex:r,legendIndex:n,id:e,opts:le.instance[e].opts}})},touchStart(t){let e=this.rid;0!=le.option[e].ontouch&&(!0===le.option[e].enableScroll&&1==t.touches.length&&le.instance[e].scrollStart(t),ce[e].callMethod("emitMsg",{name:"getTouchStart",params:{type:"touchStart",event:t.changedTouches[0],id:e,opts:le.instance[e].opts}}))},touchMove(t){let e=this.rid,i=le.option[e].ontouch;if(0!=i){if(!0===le.option[e].enableScroll&&1==t.changedTouches.length&&le.instance[e].scroll(t),!0===le.option[e].ontap&&!1===le.option[e].enableScroll&&!0===le.option[e].onmovetip){let i=document.getElementById("UC"+e).getBoundingClientRect(),a={x:t.changedTouches[0].clientX-i.left,y:t.changedTouches[0].clientY-i.top+de.top};t.changedTouches.unshift(a),!0===le.option[e].tooltipShow&&this.showTooltip(t,e)}!0===i&&!0===le.option[e].enableScroll&&!0===le.option[e].onzoom&&2==t.changedTouches.length&&le.instance[e].dobuleZoom(t),ce[e].callMethod("emitMsg",{name:"getTouchMove",params:{type:"touchMove",event:t.changedTouches[0],id:e,opts:le.instance[e].opts}})}},touchEnd(t){let e=this.rid;0!=le.option[e].ontouch&&(!0===le.option[e].enableScroll&&0==t.touches.length&&le.instance[e].scrollEnd(t),ce[e].callMethod("emitMsg",{name:"getTouchEnd",params:{type:"touchEnd",event:t.changedTouches[0],id:e,opts:le.instance[e].opts}}))},mouseDown(t){let e=this.rid;if(0==le.option[e].onmouse)return;let i=document.getElementById("UC"+e).getBoundingClientRect(),a={};a={x:t.clientX-i.left,y:t.clientY-i.top+de.top},t.changedTouches=[],t.changedTouches.unshift(a),le.instance[e].scrollStart(t),le.option[e].mousedown=!0,ce[e].callMethod("emitMsg",{name:"getTouchStart",params:{type:"mouseDown",event:a,id:e,opts:le.instance[e].opts}})},mouseMove(t){let e=this.rid,i=le.option[e].onmouse,a=le.option[e].tooltipShow;if(0==i)return;let o=document.getElementById("UC"+e).getBoundingClientRect(),r={};r={x:t.clientX-o.left,y:t.clientY-o.top+de.top},t.changedTouches=[],t.changedTouches.unshift(r),le.option[e].mousedown?(le.instance[e].scroll(t),ce[e].callMethod("emitMsg",{name:"getTouchMove",params:{type:"mouseMove",event:r,id:e,opts:le.instance[e].opts}})):le.instance[e]&&1==a&&this.showTooltip(t,e)},mouseUp(t){let e=this.rid;if(0==le.option[e].onmouse)return;let i=document.getElementById("UC"+e).getBoundingClientRect(),a={};a={x:t.clientX-i.left,y:t.clientY-i.top+de.top},t.changedTouches=[],t.changedTouches.unshift(a),le.instance[e].scrollEnd(t),le.option[e].mousedown=!1,ce[e].callMethod("emitMsg",{name:"getTouchEnd",params:{type:"mouseUp",event:a,id:e,opts:le.instance[e].opts}})}}},ue=t=>{t.$renderjs||(t.$renderjs=[]),t.$renderjs.push("rdcharts"),t.mixins||(t.mixins=[]),t.mixins.push({beforeCreate(){this.rdcharts=this},mounted(){this.$ownerInstance=this.$gcd(this,!0)}}),t.mixins.push(ge)};function fe(t={},...e){for(let i in e)for(let a in e[i])e[i].hasOwnProperty(a)&&(t[a]=e[i][a]&&"object"==typeof e[i][a]?fe(Array.isArray(e[i][a])?[]:{},t[a],e[i][a]):e[i][a]);return t}function ye(t,e){for(let i in t)t.hasOwnProperty(i)&&null!==t[i]&&"object"==typeof t[i]?ye(t[i],e):"format"===i&&"string"==typeof t[i]&&(t.formatter=e[t[i]]?e[t[i]]:void 0);return t}const me={name:"qiun-data-charts",mixins:[c.mixinDatacom],props:{type:{type:String,default:null},canvasId:{type:String,default:"uchartsid"},canvas2d:{type:Boolean,default:!1},background:{type:String,default:"rgba(0,0,0,0)"},animation:{type:Boolean,default:!0},chartData:{type:Object,default:()=>({categories:[],series:[]})},opts:{type:Object,default:()=>({})},eopts:{type:Object,default:()=>({})},loadingType:{type:Number,default:2},errorShow:{type:Boolean,default:!0},errorReload:{type:Boolean,default:!0},errorMessage:{type:String,default:null},inScrollView:{type:Boolean,default:!1},reshow:{type:Boolean,default:!1},reload:{type:Boolean,default:!1},disableScroll:{type:Boolean,default:!1},optsWatch:{type:Boolean,default:!0},onzoom:{type:Boolean,default:!1},ontap:{type:Boolean,default:!0},ontouch:{type:Boolean,default:!1},onmouse:{type:Boolean,default:!0},onmovetip:{type:Boolean,default:!1},echartsH5:{type:Boolean,default:!1},echartsApp:{type:Boolean,default:!1},tooltipShow:{type:Boolean,default:!0},tooltipFormat:{type:String,default:void 0},tooltipCustom:{type:Object,default:void 0},startDate:{type:String,default:void 0},endDate:{type:String,default:void 0},textEnum:{type:Array,default:()=>[]},groupEnum:{type:Array,default:()=>[]},pageScrollTop:{type:Number,default:0},directory:{type:String,default:"/"},tapLegend:{type:Boolean,default:!0},menus:{type:Array,default:()=>[]}},data:()=>({cid:"uchartsid",inWx:!1,inAli:!1,inTt:!1,inBd:!1,inH5:!1,inApp:!1,inWin:!1,type2d:!0,disScroll:!1,openmouse:!1,pixel:1,cWidth:375,cHeight:250,showchart:!1,echarts:!1,echartsResize:{state:!1},uchartsOpts:{},echartsOpts:{},drawData:{},lastDrawTime:null}),created(){if(this.cid=this.canvasId,"uchartsid"==this.canvasId||""==this.canvasId){let t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",e=t.length,i="";for(let a=0;a<32;a++)i+=t.charAt(Math.floor(Math.random()*e));this.cid=i}const t=d();"windows"!==t.platform&&"mac"!==t.platform||(this.inWin=!0),this.type2d=!1,this.disScroll=this.disableScroll},mounted(){this.inH5=!0,!0===this.inWin&&(this.openmouse=this.onmouse),!0===this.echartsH5&&(this.echarts=!0),this.$nextTick((()=>{this.beforeInit()}));const t=this.inH5?500:200,e=this;p(function(t,e){let i=!1;return function(){clearTimeout(i),i&&clearTimeout(i),i=setTimeout((()=>{i=!1,t.apply(this,arguments)}),e)}}((function(t){if(1==e.mixinDatacomLoading)return;let i=e.mixinDatacomErrorMessage;null!==i&&"null"!==i&&""!==i||(e.echarts?e.echartsResize.state=!e.echartsResize.state:e.resizeHandler())}),t))},destroyed(){!0===this.echarts?(delete he.option[this.cid],delete he.instance[this.cid]):(delete le.option[this.cid],delete le.instance[this.cid]),x((()=>{}))},watch:{chartDataProps:{handler(t,e){"object"==typeof t?JSON.stringify(t)!==JSON.stringify(e)&&(this._clearChart(),t.series&&t.series.length>0?this.beforeInit():(this.mixinDatacomLoading=!0,this.showchart=!1,this.mixinDatacomErrorMessage=null)):(this.mixinDatacomLoading=!1,this._clearChart(),this.showchart=!1,this.mixinDatacomErrorMessage="参数错误:chartData数据类型错误")},immediate:!1,deep:!0},localdata:{handler(t,e){JSON.stringify(t)!==JSON.stringify(e)&&(t.length>0?this.beforeInit():(this.mixinDatacomLoading=!0,this._clearChart(),this.showchart=!1,this.mixinDatacomErrorMessage=null))},immediate:!1,deep:!0},optsProps:{handler(t,e){"object"==typeof t?JSON.stringify(t)!==JSON.stringify(e)&&!1===this.echarts&&1==this.optsWatch&&this.checkData(this.drawData):(this.mixinDatacomLoading=!1,this._clearChart(),this.showchart=!1,this.mixinDatacomErrorMessage="参数错误:opts数据类型错误")},immediate:!1,deep:!0},eoptsProps:{handler(t,e){"object"==typeof t?JSON.stringify(t)!==JSON.stringify(e)&&!0===this.echarts&&this.checkData(this.drawData):(this.mixinDatacomLoading=!1,this.showchart=!1,this.mixinDatacomErrorMessage="参数错误:eopts数据类型错误")},immediate:!1,deep:!0},reshow(t,e){!0===t&&!1===this.mixinDatacomLoading&&setTimeout((()=>{this.mixinDatacomErrorMessage=null,this.echartsResize.state=!this.echartsResize.state,this.checkData(this.drawData)}),200)},reload(t,e){!0===t&&(this.showchart=!1,this.mixinDatacomErrorMessage=null,this.reloading())},mixinDatacomErrorMessage(t,e){t&&(this.emitMsg({name:"error",params:{type:"error",errorShow:this.errorShow,msg:t,id:this.cid}}),this.errorShow)},errorMessage(t,e){t&&this.errorShow&&null!==t&&"null"!==t&&""!==t?(this.showchart=!1,this.mixinDatacomLoading=!1,this.mixinDatacomErrorMessage=t):(this.showchart=!1,this.mixinDatacomErrorMessage=null,this.reloading())}},computed:{optsProps(){return JSON.parse(JSON.stringify(this.opts))},eoptsProps(){return JSON.parse(JSON.stringify(this.eopts))},chartDataProps(){return JSON.parse(JSON.stringify(this.chartData))}},methods:{beforeInit(){this.mixinDatacomErrorMessage=null,"object"==typeof this.chartData&&null!=this.chartData&&void 0!==this.chartData.series&&this.chartData.series.length>0?(this.drawData=fe({},this.chartData),this.mixinDatacomLoading=!1,this.showchart=!0,this.checkData(this.chartData)):this.localdata.length>0?(this.mixinDatacomLoading=!1,this.showchart=!0,this.localdataInit(this.localdata)):""!==this.collection?(this.mixinDatacomLoading=!1,this.getCloudData()):this.mixinDatacomLoading=!0},localdataInit(t){if(this.groupEnum.length>0)for(let c=0;c0)for(let c=0;c0)a=this.chartData.categories;else if(this.startDate&&this.endDate){let t=new Date(this.startDate),e=new Date(this.endDate);for(;t<=e;)a.push((n=void 0,l=void 0,s=void 0,n=(r=t).getFullYear(),l=r.getMonth()+1,s=r.getDate(),l>=1&&l<=9&&(l="0"+l),s>=0&&s<=9&&(s="0"+s),n+"-"+l+"-"+s)),t=t.setDate(t.getDate()+1),t=new Date(t)}else{let e={};t.map((function(t,i){null==t.text||e[t.text]||(a.push(t.text),e[t.text]=!0)}))}i.categories=a}var r,n,l,s;let h={};if(t.map((function(t,e){null==t.group||h[t.group]||(o.push({name:t.group,data:[]}),h[t.group]=!0)})),0==o.length)if(o=[{name:"默认分组",data:[]}],!0===e)for(let c=0;c0)for(let e=0;e0&&(this.mixinDatacomErrorMessage=null,!0===this.echarts?(he.option[e].chartData=i,this.$nextTick((()=>{this.init()}))):(le.option[e].categories=i.categories,le.option[e].series=i.series,this.$nextTick((()=>{this.init()}))))},resizeHandler(){let t=Date.now();t-(this.lastDrawTime?this.lastDrawTime:t-3e3)<1e3||g().in(this).select("#ChartBoxId"+this.cid).boundingClientRect((t=>{this.showchart=!0,t.width>0&&t.height>0&&(t.width===this.cWidth&&t.height===this.cHeight||this.checkData(this.drawData))})).exec()},getCloudData(){1!=this.mixinDatacomLoading&&(this.mixinDatacomLoading=!0,this.mixinDatacomGet().then((t=>{this.mixinDatacomResData=t.result.data,this.localdataInit(this.mixinDatacomResData)})).catch((t=>{this.mixinDatacomLoading=!1,this.showchart=!1,this.mixinDatacomErrorMessage="请求错误:"+t})))},onMixinDatacomPropsChange(t,e){1==t&&""!==this.collection&&(this.showchart=!1,this.mixinDatacomErrorMessage=null,this._clearChart(),this.getCloudData())},_clearChart(){let t=this.cid;if(!0!==this.echarts&&le.option[t]&&le.option[t].context){const e=le.option[t].context;"object"!=typeof e||le.option[t].update||(e.clearRect(0,0,this.cWidth*this.pixel,this.cHeight*this.pixel),e.draw())}},init(){let t=this.cid;g().in(this).select("#ChartBoxId"+t).boundingClientRect((e=>{e.width>0&&e.height>0?(this.mixinDatacomLoading=!1,this.showchart=!0,this.lastDrawTime=Date.now(),this.cWidth=e.width,this.cHeight=e.height,!0!==this.echarts&&(le.option[t].background="rgba(0,0,0,0)"==this.background?"#FFFFFF":this.background,le.option[t].canvas2d=this.type2d,le.option[t].pixelRatio=this.pixel,le.option[t].animation=this.animation,le.option[t].width=e.width*this.pixel,le.option[t].height=e.height*this.pixel,le.option[t].onzoom=this.onzoom,le.option[t].ontap=this.ontap,le.option[t].ontouch=this.ontouch,le.option[t].onmouse=this.openmouse,le.option[t].onmovetip=this.onmovetip,le.option[t].tooltipShow=this.tooltipShow,le.option[t].tooltipFormat=this.tooltipFormat,le.option[t].tooltipCustom=this.tooltipCustom,le.option[t].inScrollView=this.inScrollView,le.option[t].lastDrawTime=this.lastDrawTime,le.option[t].tapLegend=this.tapLegend),this.inH5||this.inApp?1==this.echarts?(he.option[t].ontap=this.ontap,he.option[t].onmouse=this.openmouse,he.option[t].tooltipShow=this.tooltipShow,he.option[t].tooltipFormat=this.tooltipFormat,he.option[t].tooltipCustom=this.tooltipCustom,he.option[t].lastDrawTime=this.lastDrawTime,this.echartsOpts=fe({},he.option[t])):(le.option[t].rotateLock=le.option[t].rotate,this.uchartsOpts=fe({},le.option[t])):(le.option[t]=ye(le.option[t],le.formatter),this.mixinDatacomErrorMessage=null,this.mixinDatacomLoading=!1,this.showchart=!0,this.$nextTick((()=>{if(!0===this.type2d){g().in(this).select("#"+t).fields({node:!0,size:!0}).exec((i=>{if(i[0]){const a=i[0].node,o=a.getContext("2d");le.option[t].context=o,le.option[t].rotateLock=le.option[t].rotate,le.instance[t]&&le.option[t]&&!0===le.option[t].update?this._updataUChart(t):(a.width=e.width*this.pixel,a.height=e.height*this.pixel,a._width=e.width*this.pixel,a._height=e.height*this.pixel,setTimeout((()=>{le.option[t].context.restore(),le.option[t].context.save(),this._newChart(t)}),100))}else this.showchart=!1,this.mixinDatacomErrorMessage="参数错误:开启2d模式后,未获取到dom节点,canvas-id:"+t}))}else this.inAli&&(le.option[t].rotateLock=le.option[t].rotate),le.option[t].context=u(t,this),le.instance[t]&&le.option[t]&&!0===le.option[t].update?this._updataUChart(t):setTimeout((()=>{le.option[t].context.restore(),le.option[t].context.save(),this._newChart(t)}),100)})))):(this.mixinDatacomLoading=!1,this.showchart=!1,1==this.reshow&&(this.mixinDatacomErrorMessage="布局错误:未获取到父元素宽高尺寸!canvas-id:"+t))})).exec()},saveImage(){f({canvasId:this.cid,success:t=>{var e=document.createElement("a");e.href=t.tempFilePath,e.download=this.cid,e.target="_blank",e.click()}},this)},getImage(){if(0==this.type2d)f({canvasId:this.cid,success:t=>{this.emitMsg({name:"getImage",params:{type:"getImage",base64:t.tempFilePath}})}},this);else{g().in(this).select("#"+this.cid).fields({node:!0,size:!0}).exec((t=>{if(t[0]){const e=t[0].node;this.emitMsg({name:"getImage",params:{type:"getImage",base64:e.toDataURL("image/png")}})}}))}},_error(t){this.mixinDatacomErrorMessage=t.detail.errMsg},emitMsg(t){this.$emit(t.name,t.params)},getRenderType(){!0===this.echarts&&!1===this.mixinDatacomLoading&&this.beforeInit()},toJSON(){return this}}};ue(me);const be=t(me,[["render",function(t,n,s,h,c,d){const p=y(m("qiun-loading"),T),x=r,g=y(m("qiun-error"),A),u=w;return e(),i(x,{class:"chartsview",id:"ChartBoxId"+c.cid},{default:a((()=>[t.mixinDatacomLoading?(e(),i(x,{key:0},{default:a((()=>[o(p,{loadingType:s.loadingType},null,8,["loadingType"])])),_:1})):l("",!0),t.mixinDatacomErrorMessage&&s.errorShow?(e(),i(x,{key:1,onClick:d.reloading},{default:a((()=>[o(g,{errorMessage:s.errorMessage},null,8,["errorMessage"])])),_:1},8,["onClick"])):l("",!0),c.echarts?b((e(),i(x,{key:2,style:v([{background:s.background},{width:"100%",height:"100%"}]),"data-directory":s.directory,id:"EC"+c.cid,prop:c.echartsOpts,"change:prop":t.rdcharts.ecinit,resize:c.echartsResize,"change:resize":t.rdcharts.ecresize},null,8,["style","data-directory","id","prop","change:prop","resize","change:resize"])),[[S,c.showchart]]):(e(),i(x,{key:3,onClick:t.rdcharts.tap,onMousemove:t.rdcharts.mouseMove,onMousedown:t.rdcharts.mouseDown,onMouseup:t.rdcharts.mouseUp,onTouchstart:t.rdcharts.touchStart,onTouchmove:t.rdcharts.touchMove,onTouchend:t.rdcharts.touchEnd,id:"UC"+c.cid,prop:c.uchartsOpts,"change:prop":t.rdcharts.ucinit},{default:a((()=>[b(o(u,{id:c.cid,canvasId:c.cid,style:v({width:c.cWidth+"px",height:c.cHeight+"px",background:s.background}),"disable-scroll":s.disableScroll,onError:d._error},null,8,["id","canvasId","style","disable-scroll","onError"]),[[S,c.showchart]])])),_:1},8,["onClick","onMousemove","onMousedown","onMouseup","onTouchstart","onTouchmove","onTouchend","id","prop","change:prop"]))])),_:1},8,["id"])}],["__scopeId","data-v-53c001dd"]]);export{be as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/ranking-bc16c92f.css b/alpha/admin/unpackage/dist/build/h5/assets/ranking-bc16c92f.css
new file mode 100644
index 0000000000000000000000000000000000000000..1aba6ec34dc8f70d9fe4615323e76c96bfef3889
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/ranking-bc16c92f.css
@@ -0,0 +1 @@
+.text-btn[data-v-7e6baa4e]{color:#2979ff;cursor:pointer;margin:0 5px}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/register-admin-161c0c69.css b/alpha/admin/unpackage/dist/build/h5/assets/register-admin-161c0c69.css
new file mode 100644
index 0000000000000000000000000000000000000000..635ea1d0695bbfc1ca8f436ea3a3a3df85fcfe38
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/register-admin-161c0c69.css
@@ -0,0 +1 @@
+.input-box[data-v-e75f6013] .uni-input-input[type=password]::-ms-reveal{display:none}.uni-content[data-v-e75f6013]{padding:0 1.875rem}.login-logo[data-v-e75f6013]{display:none}@media screen and (min-width: 690px){.uni-content[data-v-e75f6013]{margin:0 auto;position:relative;top:100px;padding:30px 40px 80px;max-width:450px;max-height:450px;border-radius:10px;box-shadow:0 0 20px #efefef;background-color:#fff}.login-logo[data-v-e75f6013]{display:flex;justify-content:center}.login-logo uni-image[data-v-e75f6013]{width:60px;height:60px}.register-back[data-v-e75f6013]{display:none}uni-button[data-v-e75f6013]{padding-bottom:1px}}.uni-content uni-view[data-v-e75f6013]{box-sizing:border-box}.title[data-v-e75f6013]{display:flex;padding:18px 0;font-weight:800;flex-direction:column}.tip[data-v-e75f6013]{display:flex;color:#bdbdc0;font-size:11px;margin:6px 0}.uni-content[data-v-e75f6013] .uni-easyinput__content,.input-box[data-v-e75f6013]{height:44px;background-color:#f8f8f8!important;border-radius:0;font-size:14px;display:flex;flex:1}.link[data-v-e75f6013]{color:#04498c;cursor:pointer}.uni-content[data-v-e75f6013] .uni-forms-item__inner{padding-bottom:8px}.uni-btn[data-v-e75f6013]{text-align:center;height:40px;line-height:40px;margin:15px 0 10px;color:#fff!important;border-radius:5px;font-size:16px}.uni-body.uni_modules-uni-id-pages-pages-login-login-withoutpwd[data-v-e75f6013]{height:auto!important}@media screen and (max-width: 690px){.uni-content[data-v-e75f6013]{margin-top:15px;height:100%;background-color:#fff}}@media screen and (min-width: 690px){.uni-content[data-v-e75f6013]{padding:30px 40px 60px;max-height:520px}.link-box[data-v-e75f6013]{display:flex;flex-direction:row;justify-content:space-between;margin-top:10px}.link[data-v-e75f6013]{font-size:12px}}.uni-content[data-v-e75f6013] .uni-forms-item__label{position:absolute;left:-15px}uni-button[data-v-e75f6013]{margin-top:15px}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/register-b87ba729.css b/alpha/admin/unpackage/dist/build/h5/assets/register-b87ba729.css
new file mode 100644
index 0000000000000000000000000000000000000000..5a8ed3be4a9c72a41facd75000f126a073ee7ead
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/register-b87ba729.css
@@ -0,0 +1 @@
+.input-box[data-v-7ae85e3a] .uni-input-input[type=password]::-ms-reveal{display:none}.uni-content[data-v-7ae85e3a]{padding:0 1.875rem}.login-logo[data-v-7ae85e3a]{display:none}@media screen and (min-width: 690px){.uni-content[data-v-7ae85e3a]{margin:0 auto;position:relative;top:100px;padding:30px 40px 80px;max-width:450px;max-height:450px;border-radius:10px;box-shadow:0 0 20px #efefef;background-color:#fff}.login-logo[data-v-7ae85e3a]{display:flex;justify-content:center}.login-logo uni-image[data-v-7ae85e3a]{width:60px;height:60px}.register-back[data-v-7ae85e3a]{display:none}uni-button[data-v-7ae85e3a]{padding-bottom:1px}}.uni-content uni-view[data-v-7ae85e3a]{box-sizing:border-box}.title[data-v-7ae85e3a]{display:flex;padding:18px 0;font-weight:800;flex-direction:column}.tip[data-v-7ae85e3a]{display:flex;color:#bdbdc0;font-size:11px;margin:6px 0}.uni-content[data-v-7ae85e3a] .uni-easyinput__content,.input-box[data-v-7ae85e3a]{height:44px;background-color:#f8f8f8!important;border-radius:0;font-size:14px;display:flex;flex:1}.link[data-v-7ae85e3a]{color:#04498c;cursor:pointer}.uni-content[data-v-7ae85e3a] .uni-forms-item__inner{padding-bottom:8px}.uni-btn[data-v-7ae85e3a]{text-align:center;height:40px;line-height:40px;margin:15px 0 10px;color:#fff!important;border-radius:5px;font-size:16px}.uni-body.uni_modules-uni-id-pages-pages-login-login-withoutpwd[data-v-7ae85e3a]{height:auto!important}@media screen and (max-width: 690px){.uni-content[data-v-7ae85e3a]{margin-top:15px;height:100%;background-color:#fff}}@media screen and (min-width: 690px){.uni-content[data-v-7ae85e3a]{padding:30px 40px 60px;max-height:530px}.link-box[data-v-7ae85e3a]{display:flex;flex-direction:row;justify-content:space-between;margin-top:10px}.link[data-v-7ae85e3a]{font-size:12px}}.uni-content[data-v-7ae85e3a] .uni-forms-item__label{position:absolute;left:-15px}uni-button[data-v-7ae85e3a]{margin-top:15px}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/register-by-email-825c75a7.css b/alpha/admin/unpackage/dist/build/h5/assets/register-by-email-825c75a7.css
new file mode 100644
index 0000000000000000000000000000000000000000..7ed89bcf8878329d3cae4d99dd63057b79461e3f
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/register-by-email-825c75a7.css
@@ -0,0 +1 @@
+.input-box[data-v-6ac98dd5] .uni-input-input[type=password]::-ms-reveal{display:none}.uni-content[data-v-6ac98dd5]{padding:0 1.875rem}.login-logo[data-v-6ac98dd5]{display:none}@media screen and (min-width: 690px){.uni-content[data-v-6ac98dd5]{margin:0 auto;position:relative;top:100px;padding:30px 40px 80px;max-width:450px;max-height:450px;border-radius:10px;box-shadow:0 0 20px #efefef;background-color:#fff}.login-logo[data-v-6ac98dd5]{display:flex;justify-content:center}.login-logo uni-image[data-v-6ac98dd5]{width:60px;height:60px}.register-back[data-v-6ac98dd5]{display:none}uni-button[data-v-6ac98dd5]{padding-bottom:1px}}.uni-content uni-view[data-v-6ac98dd5]{box-sizing:border-box}.title[data-v-6ac98dd5]{display:flex;padding:18px 0;font-weight:800;flex-direction:column}.tip[data-v-6ac98dd5]{display:flex;color:#bdbdc0;font-size:11px;margin:6px 0}.uni-content[data-v-6ac98dd5] .uni-easyinput__content,.input-box[data-v-6ac98dd5]{height:44px;background-color:#f8f8f8!important;border-radius:0;font-size:14px;display:flex;flex:1}.link[data-v-6ac98dd5]{color:#04498c;cursor:pointer}.uni-content[data-v-6ac98dd5] .uni-forms-item__inner{padding-bottom:8px}.uni-btn[data-v-6ac98dd5]{text-align:center;height:40px;line-height:40px;margin:15px 0 10px;color:#fff!important;border-radius:5px;font-size:16px}.uni-body.uni_modules-uni-id-pages-pages-login-login-withoutpwd[data-v-6ac98dd5]{height:auto!important}@media screen and (max-width: 690px){.uni-content[data-v-6ac98dd5]{margin-top:15px}}@media screen and (min-width: 690px){.uni-content[data-v-6ac98dd5]{padding:30px 40px;max-height:650px}.link-box[data-v-6ac98dd5]{display:flex;flex-direction:row;justify-content:space-between;margin-top:10px}.link[data-v-6ac98dd5]{font-size:12px}}.uni-content[data-v-6ac98dd5] .uni-forms-item__label{position:absolute;left:-15px}uni-button[data-v-6ac98dd5]{margin-top:15px}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/retention-883d6bd3.css b/alpha/admin/unpackage/dist/build/h5/assets/retention-883d6bd3.css
new file mode 100644
index 0000000000000000000000000000000000000000..bf14668d259eb259f2bdc0a678dfa79475912ea8
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/retention-883d6bd3.css
@@ -0,0 +1 @@
+.flex[data-v-80313bba]{display:flex;flex-wrap:wrap;align-items:center}.label-text[data-v-80313bba]{font-size:14px;color:#666;margin:auto 5px auto 0}.line-bottom[data-v-80313bba]{border-bottom:2px solid #eee}.uni-stat-table-bg[data-v-80313bba]{background-color:#4e82d9;color:#fff}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/retention-c7cd26e8.css b/alpha/admin/unpackage/dist/build/h5/assets/retention-c7cd26e8.css
new file mode 100644
index 0000000000000000000000000000000000000000..e9e78d6e13a0add841b015f5cce4f0b134126a46
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/retention-c7cd26e8.css
@@ -0,0 +1 @@
+.flex[data-v-02223ba4]{display:flex;flex-wrap:wrap;align-items:center}.label-text[data-v-02223ba4]{font-size:14px;color:#666;margin:auto 5px auto 0}.line-bottom[data-v-02223ba4]{border-bottom:2px solid #eee}.uni-stat-table-bg[data-v-02223ba4]{background-color:#4e82d9;color:#fff}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/retrieve-bad3e0eb.css b/alpha/admin/unpackage/dist/build/h5/assets/retrieve-bad3e0eb.css
new file mode 100644
index 0000000000000000000000000000000000000000..262d70ae5260f96af793bcb779c7a355e7d1b5d8
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/retrieve-bad3e0eb.css
@@ -0,0 +1 @@
+.input-box[data-v-332307ef] .uni-input-input[type=password]::-ms-reveal{display:none}.uni-content[data-v-332307ef]{padding:0 1.875rem}.login-logo[data-v-332307ef]{display:none}@media screen and (min-width: 690px){.uni-content[data-v-332307ef]{margin:0 auto;position:relative;top:100px;padding:30px 40px 80px;max-width:450px;max-height:450px;border-radius:10px;box-shadow:0 0 20px #efefef;background-color:#fff}.login-logo[data-v-332307ef]{display:flex;justify-content:center}.login-logo uni-image[data-v-332307ef]{width:60px;height:60px}.register-back[data-v-332307ef]{display:none}uni-button[data-v-332307ef]{padding-bottom:1px}}.uni-content uni-view[data-v-332307ef]{box-sizing:border-box}.title[data-v-332307ef]{display:flex;padding:18px 0;font-weight:800;flex-direction:column}.tip[data-v-332307ef]{display:flex;color:#bdbdc0;font-size:11px;margin:6px 0}.uni-content[data-v-332307ef] .uni-easyinput__content,.input-box[data-v-332307ef]{height:44px;background-color:#f8f8f8!important;border-radius:0;font-size:14px;display:flex;flex:1}.link[data-v-332307ef]{color:#04498c;cursor:pointer}.uni-content[data-v-332307ef] .uni-forms-item__inner{padding-bottom:8px}.uni-btn[data-v-332307ef]{text-align:center;height:40px;line-height:40px;margin:15px 0 10px;color:#fff!important;border-radius:5px;font-size:16px}.uni-body.uni_modules-uni-id-pages-pages-login-login-withoutpwd[data-v-332307ef]{height:auto!important}@media screen and (max-width: 690px){.uni-content[data-v-332307ef]{margin-top:15px}}@media screen and (min-width: 690px){.uni-content[data-v-332307ef]{padding:30px 40px 40px;max-height:650px}.link-box[data-v-332307ef]{display:flex;flex-direction:row;justify-content:space-between;margin-top:10px}.link[data-v-332307ef]{font-size:12px}}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/retrieve-by-email-ec76efa9.css b/alpha/admin/unpackage/dist/build/h5/assets/retrieve-by-email-ec76efa9.css
new file mode 100644
index 0000000000000000000000000000000000000000..c3fc8f169a6205b5f32717a3af90f47e8c81d5e2
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/retrieve-by-email-ec76efa9.css
@@ -0,0 +1 @@
+.input-box[data-v-b2bc532c] .uni-input-input[type=password]::-ms-reveal{display:none}.uni-content[data-v-b2bc532c]{padding:0 1.875rem}.login-logo[data-v-b2bc532c]{display:none}@media screen and (min-width: 690px){.uni-content[data-v-b2bc532c]{margin:0 auto;position:relative;top:100px;padding:30px 40px 80px;max-width:450px;max-height:450px;border-radius:10px;box-shadow:0 0 20px #efefef;background-color:#fff}.login-logo[data-v-b2bc532c]{display:flex;justify-content:center}.login-logo uni-image[data-v-b2bc532c]{width:60px;height:60px}.register-back[data-v-b2bc532c]{display:none}uni-button[data-v-b2bc532c]{padding-bottom:1px}}.uni-content uni-view[data-v-b2bc532c]{box-sizing:border-box}.title[data-v-b2bc532c]{display:flex;padding:18px 0;font-weight:800;flex-direction:column}.tip[data-v-b2bc532c]{display:flex;color:#bdbdc0;font-size:11px;margin:6px 0}.uni-content[data-v-b2bc532c] .uni-easyinput__content,.input-box[data-v-b2bc532c]{height:44px;background-color:#f8f8f8!important;border-radius:0;font-size:14px;display:flex;flex:1}.link[data-v-b2bc532c]{color:#04498c;cursor:pointer}.uni-content[data-v-b2bc532c] .uni-forms-item__inner{padding-bottom:8px}.uni-btn[data-v-b2bc532c]{text-align:center;height:40px;line-height:40px;margin:15px 0 10px;color:#fff!important;border-radius:5px;font-size:16px}.uni-body.uni_modules-uni-id-pages-pages-login-login-withoutpwd[data-v-b2bc532c]{height:auto!important}@media screen and (max-width: 690px){.uni-content[data-v-b2bc532c]{margin-top:15px}}@media screen and (min-width: 690px){.uni-content[data-v-b2bc532c]{padding:30px 40px 40px;max-height:650px}.link-box[data-v-b2bc532c]{display:flex;flex-direction:row;justify-content:space-between;margin-top:10px}.link[data-v-b2bc532c]{font-size:12px}}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/rotate-9f2e0410.svg b/alpha/admin/unpackage/dist/build/h5/assets/rotate-9f2e0410.svg
new file mode 100644
index 0000000000000000000000000000000000000000..0143706ca7adea484ed38339980c2cc23559595e
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/rotate-9f2e0410.svg
@@ -0,0 +1,15 @@
+
+
+
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/scene-55119c9b.css b/alpha/admin/unpackage/dist/build/h5/assets/scene-55119c9b.css
new file mode 100644
index 0000000000000000000000000000000000000000..cb1973596e10be0334cfbae7660873ba69618309
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/scene-55119c9b.css
@@ -0,0 +1 @@
+.uni-stat-panel[data-v-ceafa36b]{box-shadow:unset;border-bottom:1px solid #eee;padding:0;margin:0 15px}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/set-pwd-b173b497.css b/alpha/admin/unpackage/dist/build/h5/assets/set-pwd-b173b497.css
new file mode 100644
index 0000000000000000000000000000000000000000..4c9a808077d741f669df6a4efba14c29516dcf8f
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/set-pwd-b173b497.css
@@ -0,0 +1 @@
+.input-box[data-v-48ed0c26] .uni-input-input[type=password]::-ms-reveal{display:none}.uni-content[data-v-48ed0c26]{padding:0 1.875rem}.login-logo[data-v-48ed0c26]{display:none}@media screen and (min-width: 690px){.uni-content[data-v-48ed0c26]{margin:0 auto;position:relative;top:100px;padding:30px 40px 80px;max-width:450px;max-height:450px;border-radius:10px;box-shadow:0 0 20px #efefef;background-color:#fff}.login-logo[data-v-48ed0c26]{display:flex;justify-content:center}.login-logo uni-image[data-v-48ed0c26]{width:60px;height:60px}.register-back[data-v-48ed0c26]{display:none}uni-button[data-v-48ed0c26]{padding-bottom:1px}}.uni-content uni-view[data-v-48ed0c26]{box-sizing:border-box}.title[data-v-48ed0c26]{display:flex;padding:18px 0;font-weight:800;flex-direction:column}.tip[data-v-48ed0c26]{display:flex;color:#bdbdc0;font-size:11px;margin:6px 0}.uni-content[data-v-48ed0c26] .uni-easyinput__content,.input-box[data-v-48ed0c26]{height:44px;background-color:#f8f8f8!important;border-radius:0;font-size:14px;display:flex;flex:1}.link[data-v-48ed0c26]{color:#04498c;cursor:pointer}.uni-content[data-v-48ed0c26] .uni-forms-item__inner{padding-bottom:8px}.uni-btn[data-v-48ed0c26]{text-align:center;height:40px;line-height:40px;margin:15px 0 10px;color:#fff!important;border-radius:5px;font-size:16px}.uni-body.uni_modules-uni-id-pages-pages-login-login-withoutpwd[data-v-48ed0c26]{height:auto!important}.uni-btn[type=default][data-v-48ed0c26]{color:inherit!important}.uni-content[data-v-48ed0c26] .uni-forms-item{margin-bottom:10px}.popup-captcha[data-v-48ed0c26]{display:flex;padding:.625rem;background-color:#fff;border-radius:2px;flex-direction:column;position:relative}.popup-captcha .title[data-v-48ed0c26]{font-weight:400;padding:0 0 15px;color:#666}.popup-captcha .close[data-v-48ed0c26]{position:absolute;bottom:-40px;margin-left:-13px;left:50%}.popup-captcha .uni-btn[data-v-48ed0c26]{margin:0}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/stickiness-5e951bec.css b/alpha/admin/unpackage/dist/build/h5/assets/stickiness-5e951bec.css
new file mode 100644
index 0000000000000000000000000000000000000000..4fa4fed12889f8a4c2c4bbee59de52d87d9d6ecc
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/stickiness-5e951bec.css
@@ -0,0 +1 @@
+.flex[data-v-696af8be]{display:flex;flex-wrap:wrap;align-items:center}.label-text[data-v-696af8be]{font-size:14px;color:#666;margin:auto 5px auto 0}.line-bottom[data-v-696af8be]{border-bottom:2px solid #eee}.uni-stat-panel[data-v-696af8be]{box-shadow:unset;border-bottom:1px solid #eee;padding:0;margin:0 15px}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/stickiness-73769afa.css b/alpha/admin/unpackage/dist/build/h5/assets/stickiness-73769afa.css
new file mode 100644
index 0000000000000000000000000000000000000000..7bc5a5405ebbfb0539abca6b9dcd6d5aca5cef7d
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/stickiness-73769afa.css
@@ -0,0 +1 @@
+.flex[data-v-c4c976ab]{display:flex;flex-wrap:wrap;align-items:center}.label-text[data-v-c4c976ab]{font-size:14px;color:#666;margin:auto 5px auto 0}.line-bottom[data-v-c4c976ab]{border-bottom:2px solid #eee}.uni-stat-panel[data-v-c4c976ab]{box-shadow:unset;border-bottom:1px solid #eee;padding:0;margin:0 15px}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/timeUtil.4078d62f.js b/alpha/admin/unpackage/dist/build/h5/assets/timeUtil.4078d62f.js
new file mode 100644
index 0000000000000000000000000000000000000000..ce13c037cc2e021a072475ab00391e3c31f697b7
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/timeUtil.4078d62f.js
@@ -0,0 +1 @@
+var e={getDateObject:function(e){if(!e)return"";let t;return"string"!=typeof e||isNaN(e)||(e=Number(e)),"number"==typeof e?(10==e.toString().length&&(e*=1e3),t=new Date(e)):"object"==typeof e&&(t=new Date(e.getTime())),t},timeFormat:function(t,n="yyyy-MM-dd hh:mm:ss"){try{if(!t)return"";let a=e.getDateObject(t),g={"M+":a.getMonth()+1,"d+":a.getDate(),"h+":a.getHours(),"m+":a.getMinutes(),"s+":a.getSeconds(),"q+":Math.floor((a.getMonth()+3)/3),S:a.getMilliseconds()};/(y+)/.test(n)&&(n=n.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length)));for(let e in g)new RegExp("("+e+")").test(n)&&(n=n.replace(RegExp.$1,1==RegExp.$1.length?g[e]:("00"+g[e]).substr((""+g[e]).length)));return n}catch(a){return time}},getDateInfo:function(t=new Date){let n=e.getDateObject(t),a=n.getFullYear()+"",g=n.getMonth()+1<10?"0"+(n.getMonth()+1):n.getMonth()+1,o=n.getDate()<10?"0"+n.getDate():n.getDate(),r=n.getHours()<10?"0"+n.getHours():n.getHours(),i=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),m=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds(),s=n.getMilliseconds(),D=n.getDay(),h=Math.floor((n.getMonth()+3)/3);return{year:Number(a),month:Number(g),day:Number(o),hour:Number(r),minute:Number(i),second:Number(m),millisecond:Number(s),week:Number(D),quarter:Number(h)}},getOffsetStartAndEnd:function(t="day",n=0,a=new Date){let g,o,r=e.getDateObject(a);if("hour"===t){let t=36e5,a=e.getDateInfo(new Date(r.getTime()+1*t*n));g=new Date(`${a.year}/${a.month}/${a.day} ${a.hour}:00:00`).getTime(),o=new Date(`${a.year}/${a.month}/${a.day} ${a.hour}:00:00`).getTime()+(t-1)}else if("day"===t){let t=864e5,a=e.getDateInfo(new Date(r.getTime()+1*t*n));g=new Date(`${a.year}/${a.month}/${a.day}`).getTime(),o=new Date(`${a.year}/${a.month}/${a.day}`).getTime()+(t-1)}else if("week"===t){r.setDate(r.getDate()-r.getDay()+1+7*n);let t=e.getDateInfo(r);r.setDate(r.getDate()+7);let a=e.getDateInfo(r);g=new Date(`${t.year}/${t.month}/${t.day}`).getTime(),o=new Date(`${a.year}/${a.month}/${a.day}`).getTime()-1}else if("month"===t){let t=e.getDateInfo(r),a=t.month+n,i=t.year;a>12?(i+=Math.floor(a/12),a=Math.abs(a)%12):a<=0&&(i=i-1-Math.floor(Math.abs(a)/12),a=12-Math.abs(a)%12);let m=new Date(i,a,0).getDate();g=new Date(`${i}/${a}/1`).getTime(),o=new Date(`${i}/${a}/${m}`).getTime()+86399999}else if("quarter"===t){r.setMonth(r.getMonth()+3*n);let t=e.getDateInfo(r).month;[1,2,3].indexOf(t)>-1?t=1:[4,5,6].indexOf(t)>-1?t=4:[7,8,9].indexOf(t)>-1?t=7:[10,11,12].indexOf(t)>-1&&(t=10),r.setMonth(t-1);let a=e.getDateInfo(r);r.setMonth(r.getMonth()+3);let i=e.getDateInfo(r);g=new Date(`${a.year}/${a.month}/1`).getTime(),o=new Date(`${i.year}/${i.month}/1`).getTime()-1}else if("year"===t){let t=e.getDateInfo(r).year+n;g=new Date(`${t}/1/1`).getTime(),o=new Date(`${t}/12/31`).getTime()+86399999}return{startTime:g,endTime:o}}};export{e as t};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-173d2b94.ttf b/alpha/admin/unpackage/dist/build/h5/assets/uni-173d2b94.ttf
new file mode 100644
index 0000000000000000000000000000000000000000..60a1968d08cc6056c70b5402b2effac43c6f96a3
Binary files /dev/null and b/alpha/admin/unpackage/dist/build/h5/assets/uni-173d2b94.ttf differ
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-captcha-ad333770.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-captcha-ad333770.css
new file mode 100644
index 0000000000000000000000000000000000000000..2440b1d4e38026a87785c6717cfd3eb10660ee66
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-captcha-ad333770.css
@@ -0,0 +1 @@
+.captcha-box[data-v-07444ffa]{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;flex:1}.captcha-img-box[data-v-07444ffa],.captcha[data-v-07444ffa]{height:44px;line-height:44px}.captcha-img-box[data-v-07444ffa]{position:relative;background-color:#fefae7}.captcha[data-v-07444ffa]{background-color:#f8f8f8;font-size:14px;flex:1;padding:0 .625rem;margin-left:.625rem;box-sizing:border-box}.captcha-img-box[data-v-07444ffa],.captcha-img[data-v-07444ffa],.loding[data-v-07444ffa]{height:44px!important;width:100px}.captcha-img[data-v-07444ffa]{cursor:pointer}.loding[data-v-07444ffa]{z-index:9;color:#bbb;position:absolute;text-align:center;line-height:45px;animation:rotate-07444ffa 1s linear infinite}.opacity[data-v-07444ffa]{opacity:.5}@keyframes rotate-07444ffa{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-captcha.7a7d8040.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-captcha.7a7d8040.js
new file mode 100644
index 0000000000000000000000000000000000000000..199e017c6171397266816d4135f8aaac544b170f
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-captcha.7a7d8040.js
@@ -0,0 +1 @@
+import{_ as a,s as e,L as t,f as s,A as c,g as o,o as l,c as n,w as i,a as p,b as h,z as u,m as g,i as d,M as m}from"./index-389238f5.js";const r=a({props:{modelValue:String,value:String,scene:{type:String,default:()=>""},focus:{type:Boolean,default:()=>!1}},computed:{val:{get(){return this.value||this.modelValue},set(a){this.$emit("update:modelValue",a)}}},data:()=>({focusCaptchaInput:!1,captchaBase64:"",loging:!1}),watch:{scene:{handler(a){a?this.getImageCaptcha(this.focus):e({title:"scene不能为空",icon:"none"})},immediate:!0}},methods:{getImageCaptcha(a=!0){this.loging=!0,a&&(this.val="",this.focusCaptchaInput=!0);t.importObject("uni-captcha-co",{customUI:!0}).getImageCaptcha({scene:this.scene}).then((a=>{this.captchaBase64=a.captchaBase64})).catch((a=>{e({title:a.message,icon:"none"})})).finally((a=>{this.loging=!1}))}}},[["render",function(a,e,t,r,f,B){const C=s(o("uni-icons"),c),I=g,x=d,y=m;return l(),n(x,{class:"captcha-box"},{default:i((()=>[p(x,{class:"captcha-img-box"},{default:i((()=>[f.loging?(l(),n(C,{key:0,class:"loding",size:"20px",color:"#BBB",type:"spinner-cycle"})):h("",!0),p(I,{class:u(["captcha-img",{opacity:f.loging}]),onClick:B.getImageCaptcha,src:f.captchaBase64,mode:"widthFix"},null,8,["class","onClick","src"])])),_:1}),p(y,{onBlur:e[0]||(e[0]=a=>f.focusCaptchaInput=!1),focus:f.focusCaptchaInput,type:"text",class:"captcha",inputBorder:!1,maxlength:"4",modelValue:B.val,"onUpdate:modelValue":e[1]||(e[1]=a=>B.val=a),placeholder:"请输入验证码"},null,8,["focus","modelValue"])])),_:1})}],["__scopeId","data-v-07444ffa"]]);export{r as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-card-0ea40861.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-card-0ea40861.css
new file mode 100644
index 0000000000000000000000000000000000000000..be652bd5f80c51ded17ca5de18f08ce36fabd243
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-card-0ea40861.css
@@ -0,0 +1 @@
+.show-stable[data-v-aef060cf]{position:absolute;padding:5px 10px;background-color:#303133;color:#fff;border-radius:4px;border:1px solid #e9e9eb;z-index:99999}.uni-card[data-v-b4135a35]{margin:10px;padding:0 8px;border-radius:4px;overflow:hidden;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,SimSun,sans-serif;background-color:#fff;flex:1}.uni-card .uni-card__cover[data-v-b4135a35]{position:relative;margin-top:10px;flex-direction:row;overflow:hidden;border-radius:4px}.uni-card .uni-card__cover .uni-card__cover-image[data-v-b4135a35]{flex:1;vertical-align:middle}.uni-card .uni-card__header[data-v-b4135a35]{display:flex;border-bottom:1px #DCDCDC solid;flex-direction:row;align-items:center;padding:10px;overflow:hidden}.uni-card .uni-card__header .uni-card__header-box[data-v-b4135a35]{display:flex;flex:1;flex-direction:row;align-items:center;overflow:hidden}.uni-card .uni-card__header .uni-card__header-avatar[data-v-b4135a35]{width:40px;height:40px;overflow:hidden;border-radius:5px;margin-right:10px}.uni-card .uni-card__header .uni-card__header-avatar .uni-card__header-avatar-image[data-v-b4135a35]{flex:1;width:40px;height:40px}.uni-card .uni-card__header .uni-card__header-content[data-v-b4135a35]{display:flex;flex-direction:column;justify-content:center;flex:1;overflow:hidden}.uni-card .uni-card__header .uni-card__header-content .uni-card__header-content-title[data-v-b4135a35]{font-size:15px;color:#3a3a3a}.uni-card .uni-card__header .uni-card__header-content .uni-card__header-content-subtitle[data-v-b4135a35]{font-size:12px;margin-top:5px;color:#909399}.uni-card .uni-card__header .uni-card__header-extra[data-v-b4135a35]{line-height:12px}.uni-card .uni-card__header .uni-card__header-extra .uni-card__header-extra-text[data-v-b4135a35]{font-size:12px;color:#909399}.uni-card .uni-card__content[data-v-b4135a35]{padding:10px;font-size:14px;color:#6a6a6a;line-height:22px}.uni-card .uni-card__actions[data-v-b4135a35]{font-size:12px}.uni-card--border[data-v-b4135a35]{border:1px solid #DCDCDC}.uni-card--shadow[data-v-b4135a35]{position:relative;box-shadow:0 1px 8px 1px rgba(165,165,165,.2)}.uni-card--full[data-v-b4135a35]{margin:0;border-left-width:0;border-radius:0}.uni-card--full[data-v-b4135a35]:after{border-radius:0}.uni-ellipsis[data-v-b4135a35]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-card.0addf51a.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-card.0addf51a.js
new file mode 100644
index 0000000000000000000000000000000000000000..73880bbb19e479f97fe17d055608e35e1aa53501
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-card.0addf51a.js
@@ -0,0 +1 @@
+import{_ as e,f as t,A as a,g as s,o as l,c as n,w as i,a as o,I as d,d as r,t as c,b as u,p,i as _,C as f,z as h,m as y}from"./index-389238f5.js";const g=e({props:{content:String,top:{type:[Number,String],default:-60},left:{type:[Number,String],default:-100},width:{type:[Number,String],default:200}},data:()=>({showStableInfo:!1,arrowStyle:{}}),methods:{mouseenter(e){this.showStableInfo=!0}}},[["render",function(e,f,h,y,g,b){const m=t(s("uni-icons"),a),x=p,S=_;return l(),n(S,{style:{position:"relative"}},{default:i((()=>[o(m,{onMouseenter:b.mouseenter,onMouseleave:f[0]||(f[0]=e=>g.showStableInfo=!1),style:{padding:"0 10px",color:"#a8a8a8",cursor:"pointer"},type:"info"},null,8,["onMouseenter"]),g.showStableInfo?(l(),n(S,{key:0,class:"show-stable",style:d({top:`${h.top}px`,left:`${h.left}px`,width:`${h.width}px`})},{default:i((()=>[o(x,null,{default:i((()=>[r(c(h.content),1)])),_:1})])),_:1},8,["style"])):u("",!0)])),_:1})}],["__scopeId","data-v-aef060cf"]]);const b=e({name:"UniCard",emits:["click"],props:{title:{type:String,default:""},subTitle:{type:String,default:""},padding:{type:String,default:"10px"},margin:{type:String,default:"15px"},spacing:{type:String,default:"0 10px"},extra:{type:String,default:""},cover:{type:String,default:""},thumbnail:{type:String,default:""},isFull:{type:Boolean,default:!1},isShadow:{type:Boolean,default:!0},shadow:{type:String,default:"0px 0px 3px 1px rgba(0, 0, 0, 0.08)"},border:{type:Boolean,default:!0}},methods:{onClick(e){this.$emit("click",e)}}},[["render",function(e,t,a,s,g,b){const m=y,x=_,S=p;return l(),n(x,{class:h(["uni-card",{"uni-card--full":a.isFull,"uni-card--shadow":a.isShadow,"uni-card--border":a.border}]),style:d({margin:a.isFull?0:a.margin,padding:a.spacing,"box-shadow":a.isShadow?a.shadow:""})},{default:i((()=>[f(e.$slots,"cover",{},(()=>[a.cover?(l(),n(x,{key:0,class:"uni-card__cover"},{default:i((()=>[o(m,{class:"uni-card__cover-image",mode:"widthFix",onClick:t[0]||(t[0]=e=>b.onClick("cover")),src:a.cover},null,8,["src"])])),_:1})):u("",!0)]),!0),f(e.$slots,"title",{},(()=>[a.title||a.extra?(l(),n(x,{key:0,class:"uni-card__header"},{default:i((()=>[o(x,{class:"uni-card__header-box",onClick:t[1]||(t[1]=e=>b.onClick("title"))},{default:i((()=>[a.thumbnail?(l(),n(x,{key:0,class:"uni-card__header-avatar"},{default:i((()=>[o(m,{class:"uni-card__header-avatar-image",src:a.thumbnail,mode:"aspectFit"},null,8,["src"])])),_:1})):u("",!0),o(x,{class:"uni-card__header-content"},{default:i((()=>[o(S,{class:"uni-card__header-content-title uni-ellipsis"},{default:i((()=>[r(c(a.title),1)])),_:1}),a.title&&a.subTitle?(l(),n(S,{key:0,class:"uni-card__header-content-subtitle uni-ellipsis"},{default:i((()=>[r(c(a.subTitle),1)])),_:1})):u("",!0)])),_:1})])),_:1}),o(x,{class:"uni-card__header-extra",onClick:t[2]||(t[2]=e=>b.onClick("extra"))},{default:i((()=>[o(S,{class:"uni-card__header-extra-text"},{default:i((()=>[r(c(a.extra),1)])),_:1})])),_:1})])),_:1})):u("",!0)]),!0),o(x,{class:"uni-card__content",style:d({padding:a.padding}),onClick:t[3]||(t[3]=e=>b.onClick("content"))},{default:i((()=>[f(e.$slots,"default",{},void 0,!0)])),_:3},8,["style"]),o(x,{class:"uni-card__actions",onClick:t[4]||(t[4]=e=>b.onClick("actions"))},{default:i((()=>[f(e.$slots,"actions",{},void 0,!0)])),_:3})])),_:3},8,["class","style"])}],["__scopeId","data-v-b4135a35"]]);export{g as _,b as a};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-data-checkbox-a63315ae.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-data-checkbox-a63315ae.css
new file mode 100644
index 0000000000000000000000000000000000000000..e123f0e9b06c97b081dfbaec00c3f7293746384c
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-data-checkbox-a63315ae.css
@@ -0,0 +1 @@
+.uni-data-loading[data-v-56cecf7b]{display:flex;flex-direction:row;justify-content:center;align-items:center;height:36px;padding-left:10px;color:#999}.uni-data-checklist[data-v-56cecf7b]{position:relative;z-index:0;flex:1}.uni-data-checklist .checklist-group[data-v-56cecf7b]{display:flex;flex-direction:row;flex-wrap:wrap}.uni-data-checklist .checklist-group.is-list[data-v-56cecf7b]{flex-direction:column}.uni-data-checklist .checklist-group .checklist-box[data-v-56cecf7b]{display:flex;flex-direction:row;align-items:center;position:relative;margin:5px 25px 5px 0}.uni-data-checklist .checklist-group .checklist-box .hidden[data-v-56cecf7b]{position:absolute;opacity:0}.uni-data-checklist .checklist-group .checklist-box .checklist-content[data-v-56cecf7b]{display:flex;flex:1;flex-direction:row;align-items:center;justify-content:space-between}.uni-data-checklist .checklist-group .checklist-box .checklist-content .checklist-text[data-v-56cecf7b]{font-size:14px;color:#666;margin-left:5px;line-height:14px}.uni-data-checklist .checklist-group .checklist-box .checklist-content .checkobx__list[data-v-56cecf7b]{border-right-width:1px;border-right-color:#007aff;border-right-style:solid;border-bottom-width:1px;border-bottom-color:#007aff;border-bottom-style:solid;height:12px;width:6px;left:-5px;transform-origin:center;transform:rotate(45deg);opacity:0}.uni-data-checklist .checklist-group .checklist-box .checkbox__inner[data-v-56cecf7b]{flex-shrink:0;box-sizing:border-box;position:relative;width:16px;height:16px;border:1px solid #DCDFE6;border-radius:4px;background-color:#fff;z-index:1}.uni-data-checklist .checklist-group .checklist-box .checkbox__inner .checkbox__inner-icon[data-v-56cecf7b]{position:absolute;top:1px;left:5px;height:8px;width:4px;border-right-width:1px;border-right-color:#fff;border-right-style:solid;border-bottom-width:1px;border-bottom-color:#fff;border-bottom-style:solid;opacity:0;transform-origin:center;transform:rotate(40deg)}.uni-data-checklist .checklist-group .checklist-box .radio__inner[data-v-56cecf7b]{display:flex;flex-shrink:0;box-sizing:border-box;justify-content:center;align-items:center;position:relative;width:16px;height:16px;border:1px solid #DCDFE6;border-radius:16px;background-color:#fff;z-index:1}.uni-data-checklist .checklist-group .checklist-box .radio__inner .radio__inner-icon[data-v-56cecf7b]{width:8px;height:8px;border-radius:10px;opacity:0}.uni-data-checklist .checklist-group .checklist-box.is--default.is-disable[data-v-56cecf7b]{cursor:not-allowed}.uni-data-checklist .checklist-group .checklist-box.is--default.is-disable .checkbox__inner[data-v-56cecf7b]{background-color:#f2f6fc;border-color:#dcdfe6;cursor:not-allowed}.uni-data-checklist .checklist-group .checklist-box.is--default.is-disable .radio__inner[data-v-56cecf7b]{background-color:#f2f6fc;border-color:#dcdfe6}.uni-data-checklist .checklist-group .checklist-box.is--default.is-disable .checklist-text[data-v-56cecf7b]{color:#999}.uni-data-checklist .checklist-group .checklist-box.is--default.is-checked .checkbox__inner[data-v-56cecf7b]{border-color:#2979ff;background-color:#2979ff}.uni-data-checklist .checklist-group .checklist-box.is--default.is-checked .checkbox__inner .checkbox__inner-icon[data-v-56cecf7b]{opacity:1;transform:rotate(45deg)}.uni-data-checklist .checklist-group .checklist-box.is--default.is-checked .radio__inner[data-v-56cecf7b]{border-color:#2979ff}.uni-data-checklist .checklist-group .checklist-box.is--default.is-checked .radio__inner .radio__inner-icon[data-v-56cecf7b]{opacity:1;background-color:#2979ff}.uni-data-checklist .checklist-group .checklist-box.is--default.is-checked .checklist-text[data-v-56cecf7b]{color:#2979ff}.uni-data-checklist .checklist-group .checklist-box.is--default.is-checked.is-disable .checkbox__inner[data-v-56cecf7b],.uni-data-checklist .checklist-group .checklist-box.is--default.is-checked.is-disable .checklist-text[data-v-56cecf7b],.uni-data-checklist .checklist-group .checklist-box.is--default.is-checked.is-disable .radio__inner[data-v-56cecf7b]{opacity:.4}.uni-data-checklist .checklist-group .checklist-box.is--button[data-v-56cecf7b]{margin-right:10px;padding:5px 10px;border:1px #DCDFE6 solid;border-radius:3px;transition:border-color .2s}.uni-data-checklist .checklist-group .checklist-box.is--button.is-disable[data-v-56cecf7b]{cursor:not-allowed;border:1px #eee solid;opacity:.4}.uni-data-checklist .checklist-group .checklist-box.is--button.is-disable .checkbox__inner[data-v-56cecf7b],.uni-data-checklist .checklist-group .checklist-box.is--button.is-disable .radio__inner[data-v-56cecf7b]{background-color:#f2f6fc;border-color:#dcdfe6;cursor:not-allowed}.uni-data-checklist .checklist-group .checklist-box.is--button.is-disable .checklist-text[data-v-56cecf7b]{color:#999}.uni-data-checklist .checklist-group .checklist-box.is--button.is-checked[data-v-56cecf7b]{border-color:#2979ff}.uni-data-checklist .checklist-group .checklist-box.is--button.is-checked .checkbox__inner[data-v-56cecf7b]{border-color:#2979ff;background-color:#2979ff}.uni-data-checklist .checklist-group .checklist-box.is--button.is-checked .checkbox__inner .checkbox__inner-icon[data-v-56cecf7b]{opacity:1;transform:rotate(45deg)}.uni-data-checklist .checklist-group .checklist-box.is--button.is-checked .radio__inner[data-v-56cecf7b]{border-color:#2979ff}.uni-data-checklist .checklist-group .checklist-box.is--button.is-checked .radio__inner .radio__inner-icon[data-v-56cecf7b]{opacity:1;background-color:#2979ff}.uni-data-checklist .checklist-group .checklist-box.is--button.is-checked .checklist-text[data-v-56cecf7b]{color:#2979ff}.uni-data-checklist .checklist-group .checklist-box.is--button.is-checked.is-disable[data-v-56cecf7b]{opacity:.4}.uni-data-checklist .checklist-group .checklist-box.is--tag[data-v-56cecf7b]{margin-right:10px;padding:5px 10px;border:1px #DCDFE6 solid;border-radius:3px;background-color:#f5f5f5}.uni-data-checklist .checklist-group .checklist-box.is--tag .checklist-text[data-v-56cecf7b]{margin:0;color:#666}.uni-data-checklist .checklist-group .checklist-box.is--tag.is-disable[data-v-56cecf7b]{cursor:not-allowed;opacity:.4}.uni-data-checklist .checklist-group .checklist-box.is--tag.is-checked[data-v-56cecf7b]{background-color:#2979ff;border-color:#2979ff}.uni-data-checklist .checklist-group .checklist-box.is--tag.is-checked .checklist-text[data-v-56cecf7b]{color:#fff}.uni-data-checklist .checklist-group .checklist-box.is--list[data-v-56cecf7b]{display:flex;padding:10px 15px 10px 0;margin:0}.uni-data-checklist .checklist-group .checklist-box.is--list.is-list-border[data-v-56cecf7b]{border-top:1px #eee solid}.uni-data-checklist .checklist-group .checklist-box.is--list.is-disable[data-v-56cecf7b]{cursor:not-allowed}.uni-data-checklist .checklist-group .checklist-box.is--list.is-disable .checkbox__inner[data-v-56cecf7b]{background-color:#f2f6fc;border-color:#dcdfe6;cursor:not-allowed}.uni-data-checklist .checklist-group .checklist-box.is--list.is-disable .checklist-text[data-v-56cecf7b]{color:#999}.uni-data-checklist .checklist-group .checklist-box.is--list.is-checked .checkbox__inner[data-v-56cecf7b]{border-color:#2979ff;background-color:#2979ff}.uni-data-checklist .checklist-group .checklist-box.is--list.is-checked .checkbox__inner .checkbox__inner-icon[data-v-56cecf7b]{opacity:1;transform:rotate(45deg)}.uni-data-checklist .checklist-group .checklist-box.is--list.is-checked .radio__inner .radio__inner-icon[data-v-56cecf7b]{opacity:1}.uni-data-checklist .checklist-group .checklist-box.is--list.is-checked .checklist-text[data-v-56cecf7b]{color:#2979ff}.uni-data-checklist .checklist-group .checklist-box.is--list.is-checked .checklist-content .checkobx__list[data-v-56cecf7b]{opacity:1;border-color:#2979ff}.uni-data-checklist .checklist-group .checklist-box.is--list.is-checked.is-disable .checkbox__inner[data-v-56cecf7b],.uni-data-checklist .checklist-group .checklist-box.is--list.is-checked.is-disable .checklist-text[data-v-56cecf7b]{opacity:.4}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-data-checkbox.b1dd95fe.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-data-checkbox.b1dd95fe.js
new file mode 100644
index 0000000000000000000000000000000000000000..17e998d6c0361204e006ec9fa40f1149b30155bf
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-data-checkbox.b1dd95fe.js
@@ -0,0 +1 @@
+import{L as e,_ as t,f as s,g as l,o as a,c as i,w as o,d,t as c,e as n,F as r,z as h,r as u,I as m,a as f,b as y,p as g,i as p,U as b,V as x,W as k,av as v,aw as D}from"./index-389238f5.js";import{_}from"./uni-load-more.67944ae0.js";const C=t({name:"uniDataChecklist",mixins:[e.mixinDatacom||{}],emits:["input","update:modelValue","change"],props:{mode:{type:String,default:"default"},multiple:{type:Boolean,default:!1},value:{type:[Array,String,Number],default:()=>""},modelValue:{type:[Array,String,Number],default:()=>""},localdata:{type:Array,default:()=>[]},min:{type:[Number,String],default:""},max:{type:[Number,String],default:""},wrap:{type:Boolean,default:!1},icon:{type:String,default:"left"},selectedColor:{type:String,default:""},selectedTextColor:{type:String,default:""},emptyText:{type:String,default:"暂无数据"},disabled:{type:Boolean,default:!1},map:{type:Object,default:()=>({text:"text",value:"value"})}},watch:{localdata:{handler(e){this.range=e,this.dataList=this.getDataList(this.getSelectedValue(e))},deep:!0},mixinDatacomResData(e){this.range=e,this.dataList=this.getDataList(this.getSelectedValue(e))},value(e){this.dataList=this.getDataList(e)},modelValue(e){this.dataList=this.getDataList(e)}},data:()=>({dataList:[],range:[],contentText:{contentdown:"查看更多",contentrefresh:"加载中",contentnomore:"没有更多"},isLocal:!0,styles:{selectedColor:"#2979ff",selectedTextColor:"#666"},isTop:0}),computed:{dataValue(){return""===this.value?this.modelValue:(this.modelValue,this.value)}},created(){this.localdata&&0!==this.localdata.length?(this.isLocal=!0,this.range=this.localdata,this.dataList=this.getDataList(this.getSelectedValue(this.range))):this.collection&&(this.isLocal=!1,this.loadData())},methods:{loadData(){this.mixinDatacomGet().then((e=>{this.mixinDatacomResData=e.result.data,0===this.mixinDatacomResData.length?(this.isLocal=!1,this.mixinDatacomErrorMessage=this.emptyText):this.isLocal=!0})).catch((e=>{this.mixinDatacomErrorMessage=e.message}))},getForm(e="uniForms"){let t=this.$parent,s=t.$options.name;for(;s!==e;){if(t=t.$parent,!t)return!1;s=t.$options.name}return t},chagne(e){const t=e.detail.value;let s={value:[],data:[]};if(this.multiple)this.range.forEach((e=>{t.includes(e[this.map.value]+"")&&(s.value.push(e[this.map.value]),s.data.push(e))}));else{const e=this.range.find((e=>e[this.map.value]+""===t));e&&(s={value:e[this.map.value],data:e})}this.$emit("input",s.value),this.$emit("update:modelValue",s.value),this.$emit("change",{detail:s}),this.multiple?this.dataList=this.getDataList(s.value,!0):this.dataList=this.getDataList(s.value)},getDataList(e){let t=JSON.parse(JSON.stringify(this.range)),s=[];return this.multiple&&(Array.isArray(e)||(e=[])),t.forEach(((t,l)=>{if(t.disabled=t.disable||t.disabled||!1,this.multiple)if(e.length>0){let s=e.find((e=>e===t[this.map.value]));t.selected=void 0!==s}else t.selected=!1;else t.selected=e===t[this.map.value];s.push(t)})),this.setRange(s)},setRange(e){let t=e.filter((e=>e.selected)),s=Number(this.min)||0,l=Number(this.max)||"";return e.forEach(((a,i)=>{if(this.multiple){if(t.length<=s){void 0!==t.find((e=>e[this.map.value]===a[this.map.value]))&&(a.disabled=!0)}if(t.length>=l&&""!==l){void 0===t.find((e=>e[this.map.value]===a[this.map.value]))&&(a.disabled=!0)}}this.setStyles(a,i),e[i]=a})),e},setStyles(e,t){e.styleBackgroud=this.setStyleBackgroud(e),e.styleIcon=this.setStyleIcon(e),e.styleIconText=this.setStyleIconText(e),e.styleRightIcon=this.setStyleRightIcon(e)},getSelectedValue(e){if(!this.multiple)return this.dataValue;let t=[];return e.forEach((e=>{e.selected&&t.push(e[this.map.value])})),this.dataValue.length>0?this.dataValue:t},setStyleBackgroud(e){let t={},s=this.selectedColor?this.selectedColor:"#2979ff";this.selectedColor&&("list"!==this.mode&&(t["border-color"]=e.selected?s:"#DCDFE6"),"tag"===this.mode&&(t["background-color"]=e.selected?s:"#f5f5f5"));let l="";for(let a in t)l+=`${a}:${t[a]};`;return l},setStyleIcon(e){let t={},s="";if(this.selectedColor){let s=this.selectedColor?this.selectedColor:"#2979ff";t["background-color"]=e.selected?s:"#fff",t["border-color"]=e.selected?s:"#DCDFE6",!e.selected&&e.disabled&&(t["background-color"]="#F2F6FC",t["border-color"]=e.selected?s:"#DCDFE6")}for(let l in t)s+=`${l}:${t[l]};`;return s},setStyleIconText(e){let t={},s="";if(this.selectedColor){let s=this.selectedColor?this.selectedColor:"#2979ff";"tag"===this.mode?t.color=e.selected?this.selectedTextColor?this.selectedTextColor:"#fff":"#666":t.color=e.selected?this.selectedTextColor?this.selectedTextColor:s:"#666",!e.selected&&e.disabled&&(t.color="#999")}for(let l in t)s+=`${l}:${t[l]};`;return s},setStyleRightIcon(e){let t={},s="";"list"===this.mode&&(t["border-color"]=e.selected?this.styles.selectedColor:"#DCDFE6");for(let l in t)s+=`${l}:${t[l]};`;return s}}},[["render",function(e,t,C,S,L,T){const I=s(l("uni-load-more"),_),V=g,$=p,E=b,B=x,F=k,w=v,R=D;return a(),i($,{class:"uni-data-checklist",style:m({"margin-top":L.isTop+"px"})},{default:o((()=>[L.isLocal?(a(),n(r,{key:1},[C.multiple?(a(),i(F,{key:0,class:h(["checklist-group",{"is-list":"list"===C.mode||C.wrap}]),onChange:T.chagne},{default:o((()=>[(a(!0),n(r,null,u(L.dataList,((e,t)=>(a(),i(B,{class:h(["checklist-box",["is--"+C.mode,e.selected?"is-checked":"",C.disabled||e.disabled?"is-disable":"",0!==t&&"list"===C.mode?"is-list-border":""]]),style:m(e.styleBackgroud),key:t},{default:o((()=>[f(E,{class:"hidden",hidden:"",disabled:C.disabled||!!e.disabled,value:e[C.map.value]+"",checked:e.selected},null,8,["disabled","value","checked"]),"tag"!==C.mode&&"list"!==C.mode||"list"===C.mode&&"left"===C.icon?(a(),i($,{key:0,class:"checkbox__inner",style:m(e.styleIcon)},{default:o((()=>[f($,{class:"checkbox__inner-icon"})])),_:2},1032,["style"])):y("",!0),f($,{class:h(["checklist-content",{"list-content":"list"===C.mode&&"left"===C.icon}])},{default:o((()=>[f(V,{class:"checklist-text",style:m(e.styleIconText)},{default:o((()=>[d(c(e[C.map.text]),1)])),_:2},1032,["style"]),"list"===C.mode&&"right"===C.icon?(a(),i($,{key:0,class:"checkobx__list",style:m(e.styleBackgroud)},null,8,["style"])):y("",!0)])),_:2},1032,["class"])])),_:2},1032,["class","style"])))),128))])),_:1},8,["class","onChange"])):(a(),i(R,{key:1,class:h(["checklist-group",{"is-list":"list"===C.mode,"is-wrap":C.wrap}]),onChange:T.chagne},{default:o((()=>[(a(!0),n(r,null,u(L.dataList,((e,t)=>(a(),i(B,{class:h(["checklist-box",["is--"+C.mode,e.selected?"is-checked":"",C.disabled||e.disabled?"is-disable":"",0!==t&&"list"===C.mode?"is-list-border":""]]),style:m(e.styleBackgroud),key:t},{default:o((()=>[f(w,{class:"hidden",hidden:"",disabled:C.disabled||e.disabled,value:e[C.map.value]+"",checked:e.selected},null,8,["disabled","value","checked"]),"tag"!==C.mode&&"list"!==C.mode||"list"===C.mode&&"left"===C.icon?(a(),i($,{key:0,class:"radio__inner",style:m(e.styleBackgroud)},{default:o((()=>[f($,{class:"radio__inner-icon",style:m(e.styleIcon)},null,8,["style"])])),_:2},1032,["style"])):y("",!0),f($,{class:h(["checklist-content",{"list-content":"list"===C.mode&&"left"===C.icon}])},{default:o((()=>[f(V,{class:"checklist-text",style:m(e.styleIconText)},{default:o((()=>[d(c(e[C.map.text]),1)])),_:2},1032,["style"]),"list"===C.mode&&"right"===C.icon?(a(),i($,{key:0,style:m(e.styleRightIcon),class:"checkobx__list"},null,8,["style"])):y("",!0)])),_:2},1032,["class"])])),_:2},1032,["class","style"])))),128))])),_:1},8,["class","onChange"]))],64)):(a(),i($,{key:0,class:"uni-data-loading"},{default:o((()=>[e.mixinDatacomErrorMessage?(a(),i(V,{key:1},{default:o((()=>[d(c(e.mixinDatacomErrorMessage),1)])),_:1})):(a(),i(I,{key:0,status:"loading",iconType:"snow",iconSize:18,"content-text":L.contentText},null,8,["content-text"]))])),_:1}))])),_:1},8,["style"])}],["__scopeId","data-v-56cecf7b"]]);export{C as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-data-select-85c277ad.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-data-select-85c277ad.css
new file mode 100644
index 0000000000000000000000000000000000000000..4ab8abf16326687196850783ff77fece8b16ddf1
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-data-select-85c277ad.css
@@ -0,0 +1 @@
+@media screen and (max-width: 500px){.hide-on-phone[data-v-1772d1d5]{display:none}}.uni-stat__select[data-v-1772d1d5]{display:flex;align-items:center;cursor:pointer;width:100%;flex:1;box-sizing:border-box}.uni-stat-box[data-v-1772d1d5],.uni-stat__actived[data-v-1772d1d5]{width:100%;flex:1}.uni-label-text[data-v-1772d1d5]{font-size:14px;font-weight:700;color:#6a6a6a;margin:auto 5px auto 0}.uni-select[data-v-1772d1d5]{font-size:14px;border:1px solid #e5e5e5;box-sizing:border-box;border-radius:4px;padding:0 5px 0 10px;position:relative;display:flex;-webkit-user-select:none;user-select:none;flex-direction:row;align-items:center;border-bottom:solid 1px #e5e5e5;width:100%;flex:1;height:35px}.uni-select--disabled[data-v-1772d1d5]{background-color:#f5f7fa;cursor:not-allowed}.uni-select__label[data-v-1772d1d5]{font-size:16px;height:35px;padding-right:10px;color:#909399}.uni-select__input-box[data-v-1772d1d5]{height:35px;position:relative;display:flex;flex:1;flex-direction:row;align-items:center}.uni-select__input[data-v-1772d1d5]{flex:1;font-size:14px;height:22px;line-height:22px}.uni-select__input-plac[data-v-1772d1d5]{font-size:14px;color:#909399}.uni-select__selector[data-v-1772d1d5]{box-sizing:border-box;position:absolute;top:calc(100% + 12px);left:0;width:100%;background-color:#fff;border:1px solid #EBEEF5;border-radius:6px;box-shadow:0 2px 12px rgba(0,0,0,.1);z-index:3;padding:4px 0}.uni-select__selector-scroll[data-v-1772d1d5]{max-height:200px;box-sizing:border-box}.uni-select__selector-empty[data-v-1772d1d5],.uni-select__selector-item[data-v-1772d1d5]{display:flex;cursor:pointer;line-height:35px;font-size:14px;text-align:center;padding:0 10px}.uni-select__selector-item[data-v-1772d1d5]:hover{background-color:#f9f9f9}.uni-select__selector-empty[data-v-1772d1d5]:last-child,.uni-select__selector-item[data-v-1772d1d5]:last-child{border-bottom:none}.uni-select__selector__disabled[data-v-1772d1d5]{opacity:.4;cursor:default}.uni-popper__arrow[data-v-1772d1d5],.uni-popper__arrow[data-v-1772d1d5]:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid;border-width:6px}.uni-popper__arrow[data-v-1772d1d5]{filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));top:-6px;left:10%;margin-right:3px;border-top-width:0;border-bottom-color:#ebeef5}.uni-popper__arrow[data-v-1772d1d5]:after{content:" ";top:1px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff}.uni-select__input-text[data-v-1772d1d5]{width:100%;color:#3a3a3a;white-space:nowrap;text-overflow:ellipsis;-o-text-overflow:ellipsis;overflow:hidden}.uni-select__input-placeholder[data-v-1772d1d5]{color:#6a6a6a;font-size:12px}.uni-select--mask[data-v-1772d1d5]{position:fixed;top:0;bottom:0;right:0;left:0}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-data-select.8acadad5.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-data-select.8acadad5.js
new file mode 100644
index 0000000000000000000000000000000000000000..d64c5609b1507ef4076608e89dc55adca21fba6e
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-data-select.8acadad5.js
@@ -0,0 +1 @@
+import{L as e,ak as t,v as a,_ as l,f as s,A as i,g as c,o,c as n,w as r,e as h,t as u,b as d,a as m,z as p,d as f,F as y,r as _,i as g,p as b,S as C}from"./index-389238f5.js";const D=l({name:"uni-stat-select",mixins:[e.mixinDatacom||{}],props:{localdata:{type:Array,default:()=>[]},value:{type:[String,Number],default:""},modelValue:{type:[String,Number],default:""},label:{type:String,default:""},placeholder:{type:String,default:"请选择"},emptyTips:{type:String,default:"无选项"},clear:{type:Boolean,default:!0},defItem:{type:Number,default:0},disabled:{type:Boolean,default:!1},format:{type:String,default:""}},data:()=>({showSelector:!1,current:"",mixinDatacomResData:[],apps:[],channels:[],cacheKey:"uni-data-select-lastSelectedValue"}),created(){this.debounceGet=this.debounce((()=>{this.query()}),300),this.collection&&!this.localdata.length&&this.debounceGet()},computed:{typePlaceholder(){const e=this.placeholder,t={"opendb-stat-app-versions":"版本","opendb-app-channels":"渠道","opendb-app-list":"应用"}[this.collection];return t?e+t:e},valueCom(){return this.modelValue}},watch:{localdata:{immediate:!0,handler(e,t){Array.isArray(e)&&t!==e&&(this.mixinDatacomResData=e)}},valueCom(e,t){this.initDefVal()},mixinDatacomResData:{immediate:!0,handler(e){e.length&&this.initDefVal()}}},methods:{debounce(e,t=100){let a=null;return function(...l){a&&clearTimeout(a),a=setTimeout((()=>{e.apply(this,l)}),t)}},query(){this.mixinDatacomEasyGet()},onMixinDatacomPropsChange(){this.collection&&this.debounceGet()},initDefVal(){let e="";if(!this.valueCom&&0!==this.valueCom||this.isDisabled(this.valueCom)){let t;if(this.collection&&(t=this.getCache()),t||0===t)e=t;else{let t="";this.defItem>0&&this.defItem<=this.mixinDatacomResData.length&&(t=this.mixinDatacomResData[this.defItem-1].value),e=t}(e||0===e)&&this.emit(e)}else e=this.valueCom;const t=this.mixinDatacomResData.find((t=>t.value===e));this.current=t?this.formatItemName(t):""},isDisabled(e){let t=!1;return this.mixinDatacomResData.forEach((a=>{a.value===e&&(t=a.disable)})),t},clearVal(){this.emit(""),this.collection&&this.removeCache()},change(e){e.disable||(this.showSelector=!1,this.current=this.formatItemName(e),this.emit(e.value))},emit(e){this.$emit("change",e),this.$emit("input",e),this.$emit("update:modelValue",e),this.collection&&this.setCache(e)},toggleSelector(){this.disabled||(this.showSelector=!this.showSelector)},formatItemName(e){let{text:t,value:a,channel_code:l}=e;if(l=l?`(${l})`:"",this.format){let t="";t=this.format;for(let a in e)t=t.replace(new RegExp(`{${a}}`,"g"),e[a]);return t}return this.collection.indexOf("app-list")>0?`${t}(${a})`:t||`未命名${l}`},getLoadData(){return this.mixinDatacomResData},getCurrentCacheKey(){return this.collection},getCache(e=this.getCurrentCacheKey()){return(t(this.cacheKey)||{})[e]},setCache(e,l=this.getCurrentCacheKey()){let s=t(this.cacheKey)||{};s[l]=e,a(this.cacheKey,s)},removeCache(e=this.getCurrentCacheKey()){let l=t(this.cacheKey)||{};delete l[e],a(this.cacheKey,l)}}},[["render",function(e,t,a,l,D,x){const k=g,v=s(c("uni-icons"),i),S=b,w=C;return o(),n(k,{class:"uni-stat__select"},{default:r((()=>[a.label?(o(),h("span",{key:0,class:"uni-label-text hide-on-phone"},u(a.label+":"),1)):d("",!0),m(k,{class:p(["uni-stat-box",{"uni-stat__actived":D.current}])},{default:r((()=>[m(k,{class:p(["uni-select",{"uni-select--disabled":a.disabled}])},{default:r((()=>[m(k,{class:"uni-select__input-box",onClick:x.toggleSelector},{default:r((()=>[D.current?(o(),n(k,{key:0,class:"uni-select__input-text"},{default:r((()=>[f(u(D.current),1)])),_:1})):(o(),n(k,{key:1,class:"uni-select__input-text uni-select__input-placeholder"},{default:r((()=>[f(u(x.typePlaceholder),1)])),_:1})),D.current&&a.clear?(o(),n(v,{key:2,type:"clear",color:"#c0c4cc",size:"24",onClick:x.clearVal},null,8,["onClick"])):(o(),n(v,{key:3,type:D.showSelector?"top":"bottom",size:"14",color:"#999"},null,8,["type"]))])),_:1},8,["onClick"]),D.showSelector?(o(),n(k,{key:0,class:"uni-select--mask",onClick:x.toggleSelector},null,8,["onClick"])):d("",!0),D.showSelector?(o(),n(k,{key:1,class:"uni-select__selector"},{default:r((()=>[m(k,{class:"uni-popper__arrow"}),m(w,{"scroll-y":"true",class:"uni-select__selector-scroll"},{default:r((()=>[0===D.mixinDatacomResData.length?(o(),n(k,{key:0,class:"uni-select__selector-empty"},{default:r((()=>[m(S,null,{default:r((()=>[f(u(a.emptyTips),1)])),_:1})])),_:1})):(o(!0),h(y,{key:1},_(D.mixinDatacomResData,((e,t)=>(o(),n(k,{class:"uni-select__selector-item",key:t,onClick:t=>x.change(e)},{default:r((()=>[m(S,{class:p({"uni-select__selector__disabled":e.disable})},{default:r((()=>[f(u(x.formatItemName(e)),1)])),_:2},1032,["class"])])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})):d("",!0)])),_:1},8,["class"])])),_:1},8,["class"])])),_:1})}],["__scopeId","data-v-1772d1d5"]]);export{D as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-dateformat.b1c4ea95.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-dateformat.b1c4ea95.js
new file mode 100644
index 0000000000000000000000000000000000000000..620d01b509df54fd95db1c605529c650ea04e512
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-dateformat.b1c4ea95.js
@@ -0,0 +1 @@
+import{_ as e,aq as t,o as r,c as a,w as s,d as h,t as f,p as o}from"./index-389238f5.js";const d=e({name:"uniDateformat",props:{date:{type:[Object,String,Number],default:()=>"-"},locale:{type:String,default:"zh"},threshold:{type:Array,default:()=>[0,0]},format:{type:String,default:"yyyy/MM/dd hh:mm:ss"},refreshRate:{type:[Number,String],default:0}},data:()=>({refreshMark:0}),computed:{dateShow(){return this.refreshMark,t(this.date,{locale:this.locale,threshold:this.threshold,format:this.format})}},watch:{refreshRate:{handler(){this.setAutoRefresh()},immediate:!0}},methods:{refresh(){this.refreshMark++},setAutoRefresh(){clearInterval(this.refreshInterval),this.refreshRate&&(this.refreshInterval=setInterval((()=>{this.refresh()}),parseInt(this.refreshRate)))}}},[["render",function(e,t,d,l,i,n){const u=o;return r(),a(u,null,{default:s((()=>[h(f(n.dateShow),1)])),_:1})}]]);export{d as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-easyinput-cfd2af8c.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-easyinput-cfd2af8c.css
new file mode 100644
index 0000000000000000000000000000000000000000..beec5909c05bd77d38b72a75219a9a091f96c849
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-easyinput-cfd2af8c.css
@@ -0,0 +1 @@
+.uni-easyinput[data-v-a08716d2]{width:100%;flex:1;position:relative;text-align:left;color:#333;font-size:14px}.uni-easyinput__content[data-v-a08716d2]{flex:1;width:100%;display:flex;box-sizing:border-box;flex-direction:row;align-items:center;border-color:#fff;transition-property:border-color;transition-duration:.3s}.uni-easyinput__content-input[data-v-a08716d2]{width:auto;position:relative;overflow:hidden;flex:1;line-height:1;font-size:14px;height:35px}.uni-easyinput__placeholder-class[data-v-a08716d2]{color:#999;font-size:12px}.is-textarea[data-v-a08716d2]{align-items:flex-start}.is-textarea-icon[data-v-a08716d2]{margin-top:5px}.uni-easyinput__content-textarea[data-v-a08716d2]{position:relative;overflow:hidden;flex:1;line-height:1.5;font-size:14px;margin:6px 6px 6px 0;height:80px;min-height:80px;width:auto}.input-padding[data-v-a08716d2]{padding-left:10px}.content-clear-icon[data-v-a08716d2]{padding:0 5px}.label-icon[data-v-a08716d2]{margin-right:5px;margin-top:-1px}.is-input-border[data-v-a08716d2]{display:flex;box-sizing:border-box;flex-direction:row;align-items:center;border:1px solid #F0F0F0;border-radius:4px}.uni-error-message[data-v-a08716d2]{position:absolute;bottom:-17px;left:0;line-height:12px;color:#e43d33;font-size:12px;text-align:left}.uni-error-msg--boeder[data-v-a08716d2]{position:relative;bottom:0;line-height:22px}.is-input-error-border[data-v-a08716d2]{border-color:#e43d33}.is-input-error-border .uni-easyinput__placeholder-class[data-v-a08716d2]{color:#f29e99}.uni-easyinput--border[data-v-a08716d2]{margin-bottom:0;padding:10px 15px;border-top:1px #eee solid}.uni-easyinput-error[data-v-a08716d2]{padding-bottom:0}.is-first-border[data-v-a08716d2]{border:none}.is-disabled[data-v-a08716d2]{background-color:#f7f6f6;color:#d5d5d5}.is-disabled .uni-easyinput__placeholder-class[data-v-a08716d2]{color:#d5d5d5;font-size:12px}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-easyinput.a1fc57c1.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-easyinput.a1fc57c1.js
new file mode 100644
index 0000000000000000000000000000000000000000..209beea47fe6cd1cc3a55ae4eb3cc6cb1d72c782
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-easyinput.a1fc57c1.js
@@ -0,0 +1 @@
+import{_ as e,f as t,A as s,g as o,o as i,c as l,w as a,a as r,z as n,I as c,b as u,e as h,F as d,C as p,Q as f,M as m,i as y}from"./index-389238f5.js";function g(e){let t="";for(let s in e){t+=`${s}:${e[s]};`}return t}const b=e({name:"uni-easyinput",emits:["click","iconClick","update:modelValue","input","focus","blur","confirm","clear","eyes","change","keyboardheightchange"],model:{prop:"modelValue",event:"update:modelValue"},options:{virtualHost:!0},inject:{form:{from:"uniForm",default:null},formItem:{from:"uniFormItem",default:null}},props:{name:String,value:[Number,String],modelValue:[Number,String],type:{type:String,default:"text"},clearable:{type:Boolean,default:!0},autoHeight:{type:Boolean,default:!1},placeholder:{type:String,default:" "},placeholderStyle:String,focus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},clearSize:{type:[Number,String],default:24},inputBorder:{type:Boolean,default:!0},prefixIcon:{type:String,default:""},suffixIcon:{type:String,default:""},trim:{type:[Boolean,String],default:!1},cursorSpacing:{type:Number,default:0},passwordIcon:{type:Boolean,default:!0},primaryColor:{type:String,default:"#2979ff"},styles:{type:Object,default:()=>({color:"#333",backgroundColor:"#fff",disableColor:"#F7F6F6",borderColor:"#e5e5e5"})},errorMessage:{type:[String,Boolean],default:""}},data:()=>({focused:!1,val:"",showMsg:"",border:!1,isFirstBorder:!1,showClearIcon:!1,showPassword:!1,focusShow:!1,localMsg:"",isEnter:!1}),computed:{isVal(){const e=this.val;return!(!e&&0!==e)},msg(){return this.localMsg||this.errorMessage},inputMaxlength(){return Number(this.maxlength)},boxStyle(){return`color:${this.inputBorder&&this.msg?"#e43d33":this.styles.color};`},inputContentClass(){return function(e){let t="";for(let s in e)e[s]&&(t+=`${s} `);return t}({"is-input-border":this.inputBorder,"is-input-error-border":this.inputBorder&&this.msg,"is-textarea":"textarea"===this.type,"is-disabled":this.disabled,"is-focused":this.focusShow})},inputContentStyle(){const e=this.focusShow?this.primaryColor:this.styles.borderColor;return g({"border-color":(this.inputBorder&&this.msg?"#dd524d":e)||"#e5e5e5","background-color":this.disabled?this.styles.disableColor:this.styles.backgroundColor})},inputStyle(){return g({"padding-right":"password"===this.type||this.clearable||this.prefixIcon?"":"10px","padding-left":this.prefixIcon?"":"10px"})}},watch:{value(e){this.val=e},modelValue(e){this.val=e},focus(e){this.$nextTick((()=>{this.focused=this.focus,this.focusShow=this.focus}))}},created(){this.init(),this.form&&this.formItem&&this.$watch("formItem.errMsg",(e=>{this.localMsg=e}))},mounted(){this.$nextTick((()=>{this.focused=this.focus,this.focusShow=this.focus}))},methods:{init(){this.value||0===this.value?this.val=this.value:this.modelValue||0===this.modelValue||""===this.modelValue?this.val=this.modelValue:this.val=null},onClickIcon(e){this.$emit("iconClick",e)},onEyes(){this.showPassword=!this.showPassword,this.$emit("eyes",this.showPassword)},onInput(e){let t=e.detail.value;this.trim&&("boolean"==typeof this.trim&&this.trim&&(t=this.trimStr(t)),"string"==typeof this.trim&&(t=this.trimStr(t,this.trim))),this.errMsg&&(this.errMsg=""),this.val=t,this.$emit("input",t),this.$emit("update:modelValue",t)},onFocus(){this.$nextTick((()=>{this.focused=!0})),this.$emit("focus",null)},_Focus(e){this.focusShow=!0,this.$emit("focus",e)},onBlur(){this.focused=!1,this.$emit("focus",null)},_Blur(e){if(e.detail.value,this.focusShow=!1,this.$emit("blur",e),!1===this.isEnter&&this.$emit("change",this.val),this.form&&this.formItem){const{validateTrigger:e}=this.form;"blur"===e&&this.formItem.onFieldChange()}},onConfirm(e){this.$emit("confirm",this.val),this.isEnter=!0,this.$emit("change",this.val),this.$nextTick((()=>{this.isEnter=!1}))},onClear(e){this.val="",this.$emit("input",""),this.$emit("update:modelValue",""),this.$emit("clear")},onkeyboardheightchange(e){this.$emit("keyboardheightchange",e)},trimStr:(e,t="both")=>"both"===t?e.trim():"left"===t?e.trimLeft():"right"===t?e.trimRight():"start"===t?e.trimStart():"end"===t?e.trimEnd():"all"===t?e.replace(/\s+/g,""):e}},[["render",function(e,g,b,S,x,C){const w=t(o("uni-icons"),s),k=f,v=m,I=y;return i(),l(I,{class:n(["uni-easyinput",{"uni-easyinput-error":C.msg}]),style:c(C.boxStyle)},{default:a((()=>[r(I,{class:n(["uni-easyinput__content",C.inputContentClass]),style:c(C.inputContentStyle)},{default:a((()=>[b.prefixIcon?(i(),l(w,{key:0,class:"content-clear-icon",type:b.prefixIcon,color:"#c0c4cc",onClick:g[0]||(g[0]=e=>C.onClickIcon("prefix")),size:"22"},null,8,["type"])):u("",!0),"textarea"===b.type?(i(),l(k,{key:1,class:n(["uni-easyinput__content-textarea",{"input-padding":b.inputBorder}]),name:b.name,value:x.val,placeholder:b.placeholder,placeholderStyle:b.placeholderStyle,disabled:b.disabled,"placeholder-class":"uni-easyinput__placeholder-class",maxlength:C.inputMaxlength,focus:x.focused,autoHeight:b.autoHeight,"cursor-spacing":b.cursorSpacing,onInput:C.onInput,onBlur:C._Blur,onFocus:C._Focus,onConfirm:C.onConfirm,onKeyboardheightchange:C.onkeyboardheightchange},null,8,["class","name","value","placeholder","placeholderStyle","disabled","maxlength","focus","autoHeight","cursor-spacing","onInput","onBlur","onFocus","onConfirm","onKeyboardheightchange"])):(i(),l(v,{key:2,type:"password"===b.type?"text":b.type,class:"uni-easyinput__content-input",style:c(C.inputStyle),name:b.name,value:x.val,password:!x.showPassword&&"password"===b.type,placeholder:b.placeholder,placeholderStyle:b.placeholderStyle,"placeholder-class":"uni-easyinput__placeholder-class",disabled:b.disabled,maxlength:C.inputMaxlength,focus:x.focused,confirmType:b.confirmType,"cursor-spacing":b.cursorSpacing,onFocus:C._Focus,onBlur:C._Blur,onInput:C.onInput,onConfirm:C.onConfirm,onKeyboardheightchange:C.onkeyboardheightchange},null,8,["type","style","name","value","password","placeholder","placeholderStyle","disabled","maxlength","focus","confirmType","cursor-spacing","onFocus","onBlur","onInput","onConfirm","onKeyboardheightchange"])),"password"===b.type&&b.passwordIcon?(i(),h(d,{key:3},[C.isVal?(i(),l(w,{key:0,class:n(["content-clear-icon",{"is-textarea-icon":"textarea"===b.type}]),type:x.showPassword?"eye-slash-filled":"eye-filled",size:22,color:x.focusShow?b.primaryColor:"#c0c4cc",onClick:C.onEyes},null,8,["class","type","color","onClick"])):u("",!0)],64)):b.suffixIcon?(i(),h(d,{key:4},[b.suffixIcon?(i(),l(w,{key:0,class:"content-clear-icon",type:b.suffixIcon,color:"#c0c4cc",onClick:g[1]||(g[1]=e=>C.onClickIcon("suffix")),size:"22"},null,8,["type"])):u("",!0)],64)):(i(),h(d,{key:5},[b.clearable&&C.isVal&&!b.disabled&&"textarea"!==b.type?(i(),l(w,{key:0,class:n(["content-clear-icon",{"is-textarea-icon":"textarea"===b.type}]),type:"clear",size:b.clearSize,color:C.msg?"#dd524d":x.focusShow?b.primaryColor:"#c0c4cc",onClick:C.onClear},null,8,["class","size","color","onClick"])):u("",!0)],64)),p(e.$slots,"right",{},void 0,!0)])),_:3},8,["class","style"])])),_:3},8,["class","style"])}],["__scopeId","data-v-a08716d2"]]);export{b as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-file-picker-208fe2fe.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-file-picker-208fe2fe.css
new file mode 100644
index 0000000000000000000000000000000000000000..e3fd918243bdf40349497428fccc12a980e381e3
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-file-picker-208fe2fe.css
@@ -0,0 +1 @@
+.uni-file-picker__container[data-v-86b162f5]{display:flex;box-sizing:border-box;flex-wrap:wrap;margin:-5px}.file-picker__box[data-v-86b162f5]{position:relative;width:33.3%;height:0;padding-top:33.33%;box-sizing:border-box}.file-picker__box-content[data-v-86b162f5]{position:absolute;top:0;right:0;bottom:0;left:0;margin:5px;border:1px #eee solid;border-radius:5px;overflow:hidden}.file-picker__progress[data-v-86b162f5]{position:absolute;bottom:0;left:0;right:0;z-index:2}.file-picker__progress-item[data-v-86b162f5]{width:100%}.file-picker__mask[data-v-86b162f5]{display:flex;justify-content:center;align-items:center;position:absolute;right:0;top:0;bottom:0;left:0;color:#fff;font-size:12px;background-color:rgba(0,0,0,.4)}.file-image[data-v-86b162f5]{width:100%;height:100%}.is-add[data-v-86b162f5]{display:flex;align-items:center;justify-content:center}.icon-add[data-v-86b162f5]{width:50px;height:5px;background-color:#f1f1f1;border-radius:2px}.rotate[data-v-86b162f5]{position:absolute;transform:rotate(90deg)}.icon-del-box[data-v-86b162f5]{display:flex;align-items:center;justify-content:center;position:absolute;top:3px;right:3px;height:26px;width:26px;border-radius:50%;background-color:rgba(0,0,0,.5);z-index:2;transform:rotate(-45deg)}.icon-del[data-v-86b162f5]{width:15px;height:2px;background-color:#fff;border-radius:2px}.uni-file-picker__files[data-v-5d376bd5]{display:flex;flex-direction:column;justify-content:flex-start}.uni-file-picker__lists[data-v-5d376bd5]{position:relative;margin-top:5px;overflow:hidden}.file-picker__mask[data-v-5d376bd5]{display:flex;justify-content:center;align-items:center;position:absolute;right:0;top:0;bottom:0;left:0;color:#fff;font-size:14px;background-color:rgba(0,0,0,.4)}.uni-file-picker__lists-box[data-v-5d376bd5]{position:relative}.uni-file-picker__item[data-v-5d376bd5]{display:flex;align-items:center;padding:8px 5px 8px 10px}.files-border[data-v-5d376bd5]{border-top:1px #eee solid}.files__name[data-v-5d376bd5]{flex:1;font-size:14px;color:#666;margin-right:25px;word-break:break-all;word-wrap:break-word}.icon-files[data-v-5d376bd5]{position:static;background-color:initial}.is-list-card[data-v-5d376bd5]{border:1px #eee solid;margin-bottom:5px;border-radius:5px;box-shadow:0 0 2px rgba(0,0,0,.1);padding:5px}.files__image[data-v-5d376bd5]{width:40px;height:40px;margin-right:10px}.header-image[data-v-5d376bd5]{width:100%;height:100%}.is-text-box[data-v-5d376bd5]{border:1px #eee solid;border-radius:5px}.is-text-image[data-v-5d376bd5]{width:25px;height:25px;margin-left:5px}.rotate[data-v-5d376bd5]{position:absolute;transform:rotate(90deg)}.icon-del-box[data-v-5d376bd5]{display:flex;margin:auto 0;align-items:center;justify-content:center;position:absolute;top:0px;bottom:0;right:5px;height:26px;width:26px;z-index:2;transform:rotate(-45deg)}.icon-del[data-v-5d376bd5]{width:15px;height:1px;background-color:#333}@media all and (min-width: 768px){.uni-file-picker__files[data-v-5d376bd5]{max-width:375px}}.uni-file-picker[data-v-c59319f7]{box-sizing:border-box;overflow:hidden;width:100%;flex:1}.uni-file-picker__header[data-v-c59319f7]{padding-top:5px;padding-bottom:10px;display:flex;justify-content:space-between}.file-title[data-v-c59319f7]{font-size:14px;color:#333}.file-count[data-v-c59319f7]{font-size:14px;color:#999}.is-add[data-v-c59319f7]{display:flex;align-items:center;justify-content:center}.icon-add[data-v-c59319f7]{width:50px;height:5px;background-color:#f1f1f1;border-radius:2px}.rotate[data-v-c59319f7]{position:absolute;transform:rotate(90deg)}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-file-picker.1b864550.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-file-picker.1b864550.js
new file mode 100644
index 0000000000000000000000000000000000000000..b240f52c34ca1e74b99961c98595322ce27d7fd8
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-file-picker.1b864550.js
@@ -0,0 +1 @@
+import{L as e,a0 as t,ax as s,ay as i,s as l,a6 as o,_ as a,az as r,o as n,c as d,w as h,e as u,F as c,r as p,I as f,a as m,D as y,b as g,d as b,C as F,m as x,i as _,aA as k,z as w,t as v,B as I,p as P,q as T}from"./index-389238f5.js";const S="chooseAndUploadFile:fail";function $(e,t){return e.tempFiles.forEach(((e,s)=>{e.name||(e.name=e.path.substring(e.path.lastIndexOf("/")+1)),t&&(e.fileType=t),e.cloudPath=Date.now()+"_"+s+e.name.substring(e.name.lastIndexOf("."))})),e.tempFilePaths||(e.tempFilePaths=e.tempFiles.map((e=>e.path))),e}function C(t,s=5,i){const l=(t=JSON.parse(JSON.stringify(t))).length;let o=0,a=this;return new Promise((r=>{for(;o=l)return void(!t.find((e=>!e.url&&!e.errMsg))&&r(t));const d=t[s],h=a.files.findIndex((e=>e.uuid===d.uuid));d.url="",delete d.errMsg,e.uploadFile({filePath:d.path,cloudPath:d.cloudPath,fileType:d.fileType,onUploadProgress:e=>{e.index=h,i&&i(e)}}).then((e=>{d.url=e.fileID,d.index=h,s{d.errMsg=e.errMsg||e.message,d.index=h,s{if(t){const s=t(e);if(void 0!==s)return Promise.resolve(s).then((t=>void 0===t?e:t))}return e})).then((e=>!1===e?{errMsg:"chooseAndUploadFile:ok",tempFilePaths:[],tempFiles:[]}:e))}function M(e={type:"all"}){return"image"===e.type?L(function(e){const{count:s,sizeType:i=["original","compressed"],sourceType:l,extension:o}=e;return new Promise(((e,a)=>{t({count:s,sizeType:i,sourceType:l,extension:o,success(t){e($(t,"image"))},fail(e){a({errMsg:e.errMsg.replace("chooseImage:fail",S)})}})}))}(e),e):"video"===e.type?L(function(e){const{camera:t,compressed:i,maxDuration:l,sourceType:o,extension:a}=e;return new Promise(((e,r)=>{s({camera:t,compressed:i,maxDuration:l,sourceType:o,extension:a,success(t){const{tempFilePath:s,duration:i,size:l,height:o,width:a}=t;e($({errMsg:"chooseVideo:ok",tempFilePaths:[s],tempFiles:[{name:t.tempFile&&t.tempFile.name||"",path:s,size:l,type:t.tempFile&&t.tempFile.type||"",width:a,height:o,duration:i,fileType:"video",cloudPath:""}]},"video"))},fail(e){r({errMsg:e.errMsg.replace("chooseVideo:fail",S)})}})}))}(e),e):L(function(e){const{count:t,extension:s}=e;return new Promise(((e,l)=>{let o=i;if("undefined"!=typeof wx&&"function"==typeof wx.chooseMessageFile&&(o=wx.chooseMessageFile),"function"!=typeof o)return l({errMsg:S+" 请指定 type 类型,该平台仅支持选择 image 或 video。"});o({type:"all",count:t,extension:s,success(t){e($(t))},fail(e){l({errMsg:e.errMsg.replace("chooseFile:fail",S)})}})}))}(e),e)}const O=e=>{const t=e.lastIndexOf("."),s=e.length;return{name:e.substring(0,t),ext:e.substring(t+1,s)}},E=e=>{if(Array.isArray(e))return e;return e.replace(/(\[|\])/g,"").split(",")},j=async(e,t="image")=>{const s=O(e.name).ext.toLowerCase();let i={name:e.name,uuid:e.uuid,extname:s||"",cloudPath:e.cloudPath,fileType:e.fileType,url:e.path||e.path,size:e.size,image:{},path:e.path,video:{}};if("image"===t){const t=await(l=e.path,new Promise(((e,t)=>{o({src:l,success(t){e(t)},fail(e){t(e)}})})));delete i.video,i.image.width=t.width,i.image.height=t.height,i.image.location=t.path}else delete i.image;var l;return i};const B=a({name:"uniFilePicker",components:{uploadImage:a({name:"uploadImage",emits:["uploadFiles","choose","delFile"],props:{filesList:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},disablePreview:{type:Boolean,default:!1},limit:{type:[Number,String],default:9},imageStyles:{type:Object,default:()=>({width:"auto",height:"auto",border:{}})},delIcon:{type:Boolean,default:!0},readonly:{type:Boolean,default:!1}},computed:{styles(){return Object.assign({width:"auto",height:"auto",border:{}},this.imageStyles)},boxStyle(){const{width:e="auto",height:t="auto"}=this.styles;let s={};"auto"===t?"auto"!==e?(s.height=this.value2px(e),s["padding-top"]=0):s.height=0:(s.height=this.value2px(t),s["padding-top"]=0),s.width="auto"===e?"auto"!==t?this.value2px(t):"33.3%":this.value2px(e);let i="";for(let l in s)i+=`${l}:${s[l]};`;return i},borderStyle(){let{border:e}=this.styles,t={};if("boolean"==typeof e)t.border=e?"1px #eee solid":"none";else{let s=e&&e.width||1;s=this.value2px(s);let i=e&&e.radius||3;i=this.value2px(i),t={"border-width":s,"border-style":e&&e.style||"solid","border-color":e&&e.color||"#eee","border-radius":i}}let s="";for(let i in t)s+=`${i}:${t[i]};`;return s}},methods:{uploadFiles(e,t){this.$emit("uploadFiles",e)},choose(){this.$emit("choose")},delFile(e){this.$emit("delFile",e)},prviewImage(e,t){let s=[];1===Number(this.limit)&&this.disablePreview&&!this.disabled&&this.$emit("choose"),this.disablePreview||(this.filesList.forEach((e=>{s.push(e.url)})),r({urls:s,current:t}))},value2px:e=>("number"==typeof e?e+="px":-1===e.indexOf("%")&&(e=-1!==e.indexOf("px")?e:e+"px"),e)}},[["render",function(e,t,s,i,l,o){const a=x,r=_,w=k;return n(),d(r,{class:"uni-file-picker__container"},{default:h((()=>[(n(!0),u(c,null,p(s.filesList,((e,t)=>(n(),d(r,{class:"file-picker__box",key:t,style:f(o.boxStyle)},{default:h((()=>[m(r,{class:"file-picker__box-content",style:f(o.borderStyle)},{default:h((()=>[m(a,{class:"file-image",src:e.url,mode:"aspectFill",onClick:y((s=>o.prviewImage(e,t)),["stop"])},null,8,["src","onClick"]),s.delIcon&&!s.readonly?(n(),d(r,{key:0,class:"icon-del-box",onClick:y((e=>o.delFile(t)),["stop"])},{default:h((()=>[m(r,{class:"icon-del"}),m(r,{class:"icon-del rotate"})])),_:2},1032,["onClick"])):g("",!0),e.progress&&100!==e.progress||0===e.progress?(n(),d(r,{key:1,class:"file-picker__progress"},{default:h((()=>[m(w,{class:"file-picker__progress-item",percent:-1===e.progress?0:e.progress,"stroke-width":"4",backgroundColor:e.errMsg?"#ff5a5f":"#EBEBEB"},null,8,["percent","backgroundColor"])])),_:2},1024)):g("",!0),e.errMsg?(n(),d(r,{key:2,class:"file-picker__mask",onClick:y((s=>o.uploadFiles(e,t)),["stop"])},{default:h((()=>[b(" 点击重试 ")])),_:2},1032,["onClick"])):g("",!0)])),_:2},1032,["style"])])),_:2},1032,["style"])))),128)),s.filesList.length[m(r,{class:"file-picker__box-content is-add",style:f(o.borderStyle),onClick:o.choose},{default:h((()=>[F(e.$slots,"default",{},(()=>[m(r,{class:"icon-add"}),m(r,{class:"icon-add rotate"})]),!0)])),_:3},8,["style","onClick"])])),_:3},8,["style"])):g("",!0)])),_:3})}],["__scopeId","data-v-86b162f5"]]),uploadFile:a({name:"uploadFile",emits:["uploadFiles","choose","delFile"],props:{filesList:{type:Array,default:()=>[]},delIcon:{type:Boolean,default:!0},limit:{type:[Number,String],default:9},showType:{type:String,default:""},listStyles:{type:Object,default:()=>({border:!0,dividline:!0,borderStyle:{}})},readonly:{type:Boolean,default:!1}},computed:{list(){let e=[];return this.filesList.forEach((t=>{e.push(t)})),e},styles(){return Object.assign({border:!0,dividline:!0,"border-style":{}},this.listStyles)},borderStyle(){let{borderStyle:e,border:t}=this.styles,s={};if(t){let t=e&&e.width||1;t=this.value2px(t);let i=e&&e.radius||5;i=this.value2px(i),s={"border-width":t,"border-style":e&&e.style||"solid","border-color":e&&e.color||"#eee","border-radius":i}}else s.border="none";let i="";for(let l in s)i+=`${l}:${s[l]};`;return i},borderLineStyle(){let e={},{borderStyle:t}=this.styles;if(t&&t.color&&(e["border-color"]=t.color),t&&t.width){let s=t&&t.width||1,i=t&&t.style||0;"number"==typeof s?s+="px":s=s.indexOf("px")?s:s+"px",e["border-width"]=s,"number"==typeof i?i+="px":i=i.indexOf("px")?i:i+"px",e["border-top-style"]=i}let s="";for(let i in e)s+=`${i}:${e[i]};`;return s}},methods:{uploadFiles(e,t){this.$emit("uploadFiles",{item:e,index:t})},choose(){this.$emit("choose")},delFile(e){this.$emit("delFile",e)},value2px:e=>("number"==typeof e?e+="px":e=-1!==e.indexOf("px")?e:e+"px",e)}},[["render",function(e,t,s,i,l,o){const a=_,r=k;return n(),d(a,{class:"uni-file-picker__files"},{default:h((()=>[s.readonly?g("",!0):(n(),d(a,{key:0,class:"files-button",onClick:o.choose},{default:h((()=>[F(e.$slots,"default",{},void 0,!0)])),_:3},8,["onClick"])),o.list.length>0?(n(),d(a,{key:1,class:"uni-file-picker__lists is-text-box",style:f(o.borderStyle)},{default:h((()=>[(n(!0),u(c,null,p(o.list,((e,t)=>(n(),d(a,{class:w(["uni-file-picker__lists-box",{"files-border":0!==t&&o.styles.dividline}]),key:t,style:f(0!==t&&o.styles.dividline&&o.borderLineStyle)},{default:h((()=>[m(a,{class:"uni-file-picker__item"},{default:h((()=>[m(a,{class:"files__name"},{default:h((()=>[b(v(e.name),1)])),_:2},1024),s.delIcon&&!s.readonly?(n(),d(a,{key:0,class:"icon-del-box icon-files",onClick:e=>o.delFile(t)},{default:h((()=>[m(a,{class:"icon-del icon-files"}),m(a,{class:"icon-del rotate"})])),_:2},1032,["onClick"])):g("",!0)])),_:2},1024),e.progress&&100!==e.progress||0===e.progress?(n(),d(a,{key:0,class:"file-picker__progress"},{default:h((()=>[m(r,{class:"file-picker__progress-item",percent:-1===e.progress?0:e.progress,"stroke-width":"4",backgroundColor:e.errMsg?"#ff5a5f":"#EBEBEB"},null,8,["percent","backgroundColor"])])),_:2},1024)):g("",!0),"error"===e.status?(n(),d(a,{key:1,class:"file-picker__mask",onClick:y((s=>o.uploadFiles(e,t)),["stop"])},{default:h((()=>[b(" 点击重试 ")])),_:2},1032,["onClick"])):g("",!0)])),_:2},1032,["class","style"])))),128))])),_:1},8,["style"])):g("",!0)])),_:3})}],["__scopeId","data-v-5d376bd5"]])},options:{virtualHost:!0},emits:["select","success","fail","progress","delete","update:modelValue","input"],props:{modelValue:{type:[Array,Object],default:()=>[]},disabled:{type:Boolean,default:!1},disablePreview:{type:Boolean,default:!1},delIcon:{type:Boolean,default:!0},autoUpload:{type:Boolean,default:!0},limit:{type:[Number,String],default:9},mode:{type:String,default:"grid"},fileMediatype:{type:String,default:"image"},fileExtname:{type:[Array,String],default:()=>[]},title:{type:String,default:""},listStyles:{type:Object,default:()=>({border:!0,dividline:!0,borderStyle:{}})},imageStyles:{type:Object,default:()=>({width:"auto",height:"auto"})},readonly:{type:Boolean,default:!1},returnType:{type:String,default:"array"},sizeType:{type:Array,default:()=>["original","compressed"]},sourceType:{type:Array,default:()=>["album","camera"]}},data:()=>({files:[],localValue:[]}),watch:{modelValue:{handler(e,t){this.setValue(e,t)},immediate:!0}},computed:{filesList(){let e=[];return this.files.forEach((t=>{e.push(t)})),e},showType(){return"image"===this.fileMediatype?this.mode:"list"},limitLength(){return"object"===this.returnType?1:this.limit?this.limit>=9?9:this.limit:1}},created(){e.config&&e.config.provider||(this.noSpace=!0,e.chooseAndUploadFile=M),this.form=this.getForm("uniForms"),this.formItem=this.getForm("uniFormsItem"),this.form&&this.formItem&&this.formItem.name&&(this.rename=this.formItem.name,this.form.inputChildrens.push(this))},methods:{clearFiles(e){0===e||e?this.files.splice(e,1):(this.files=[],this.$nextTick((()=>{this.setEmit()}))),this.$nextTick((()=>{this.setEmit()}))},upload(){let e=[];return this.files.forEach(((t,s)=>{"ready"!==t.status&&"error"!==t.status||e.push(Object.assign({},t))})),this.uploadFiles(e)},async setValue(e,t){const s=async e=>{let t="";return t=e.fileID?e.fileID:e.url,/cloud:\/\/([\w.]+\/?)\S*/.test(t)&&(e.fileID=t,e.url=await this.getTempFileURL(t)),e.url&&(e.path=e.url),e};if("object"===this.returnType)e?await s(e):e={};else{e||(e=[]);for(let t=0;t0?e:[];this.files=[].concat(i)},choose(){this.disabled||(this.files.length>=Number(this.limitLength)&&"grid"!==this.showType&&"array"===this.returnType?l({title:`您最多选择 ${this.limitLength} 个文件`,icon:"none"}):this.chooseFiles())},chooseFiles(){const t=E(this.fileExtname);e.chooseAndUploadFile({type:this.fileMediatype,compressed:!1,sizeType:this.sizeType,sourceType:this.sourceType,extension:t.length>0?t:void 0,count:this.limitLength-this.files.length,onChooseFile:this.chooseFileCallback,onUploadProgress:e=>{this.setProgress(e,e.index)}}).then((e=>{this.setSuccessAndError(e.tempFiles)})).catch((e=>{console.log("选择失败",e)}))},async chooseFileCallback(e){const t=E(this.fileExtname);(1===Number(this.limitLength)&&this.disablePreview&&!this.disabled||"object"===this.returnType)&&(this.files=[]);let{filePaths:s,files:i}=((e,t)=>{let s=[],i=[];return t&&0!==t.length?(e.tempFiles.forEach((e=>{const l=O(e.name).ext.toLowerCase();-1!==t.indexOf(l)&&(i.push(e),s.push(e.path))})),i.length!==e.tempFiles.length&&l({title:`当前选择了${e.tempFiles.length}个文件 ,${e.tempFiles.length-i.length} 个文件格式不正确`,icon:"none",duration:5e3}),{filePaths:s,files:i}):{filePaths:s,files:i}})(e,t);t&&t.length>0||(s=e.tempFilePaths,i=e.tempFiles);let o=[];for(let l=0;l{this.setProgress(e,e.index,!0)})).then((e=>(this.setSuccessAndError(e),e))).catch((e=>{console.log(e)}))},async setSuccessAndError(e,t){let s=[],i=[],l=[],o=[];for(let a=0;ae.uuid===t.uuid)):t.index;if(-1===r||!this.files)break;if("request:fail"===t.errMsg)this.files[r].url=t.path,this.files[r].status="error",this.files[r].errMsg=t.errMsg,i.push(this.files[r]),o.push(this.files[r].url);else{this.files[r].errMsg="",this.files[r].fileID=t.url;/cloud:\/\/([\w.]+\/?)\S*/.test(t.url)?this.files[r].url=await this.getTempFileURL(t.url):this.files[r].url=t.url,this.files[r].status="success",this.files[r].progress+=1,s.push(this.files[r]),l.push(this.files[r].fileID)}}s.length>0&&(this.setEmit(),this.$emit("success",{tempFiles:this.backObject(s),tempFilePaths:l})),i.length>0&&this.$emit("fail",{tempFiles:this.backObject(i),tempFilePaths:o})},setProgress(e,t,s){this.files.length;const i=Math.round(100*e.loaded/e.total);let l=t;s||(l=this.files.findIndex((t=>t.uuid===e.tempFile.uuid))),-1!==l&&this.files[l]&&(this.files[l].progress=i-1,this.$emit("progress",{index:l,progress:parseInt(i),tempFile:this.files[l]}))},delFile(e){this.$emit("delete",{tempFile:this.files[e],tempFilePath:this.files[e].url}),this.files.splice(e,1),this.$nextTick((()=>{this.setEmit()}))},getFileExt(e){const t=e.lastIndexOf("."),s=e.length;return{name:e.substring(0,t),ext:e.substring(t+1,s)}},setEmit(){let e=[];"object"===this.returnType?(e=this.backObject(this.files)[0],this.localValue=e||null):(e=this.backObject(this.files),this.localValue||(this.localValue=[]),this.localValue=[...e]),this.$emit("update:modelValue",this.localValue)},backObject(e){let t=[];return e.forEach((e=>{t.push({extname:e.extname,fileType:e.fileType,image:e.image,name:e.name,path:e.path,size:e.size,fileID:e.fileID,url:e.url})})),t},async getTempFileURL(t){t={fileList:[].concat(t)};return(await e.getTempFileURL(t)).fileList[0].tempFileURL||""},getForm(e="uniForms"){let t=this.$parent,s=t.$options.name;for(;s!==e;){if(t=t.$parent,!t)return!1;s=t.$options.name}return t}}},[["render",function(e,t,s,i,l,o){const a=P,r=_,u=I("upload-image"),c=T,p=I("upload-file");return n(),d(r,{class:"uni-file-picker"},{default:h((()=>[s.title?(n(),d(r,{key:0,class:"uni-file-picker__header"},{default:h((()=>[m(a,{class:"file-title"},{default:h((()=>[b(v(s.title),1)])),_:1}),m(a,{class:"file-count"},{default:h((()=>[b(v(o.filesList.length)+"/"+v(o.limitLength),1)])),_:1})])),_:1})):g("",!0),"image"===s.fileMediatype&&"grid"===o.showType?(n(),d(u,{key:1,readonly:s.readonly,"image-styles":s.imageStyles,"files-list":o.filesList,limit:o.limitLength,disablePreview:s.disablePreview,delIcon:s.delIcon,onUploadFiles:o.uploadFiles,onChoose:o.choose,onDelFile:o.delFile},{default:h((()=>[F(e.$slots,"default",{},(()=>[m(r,{class:"is-add"},{default:h((()=>[m(r,{class:"icon-add"}),m(r,{class:"icon-add rotate"})])),_:1})]),!0)])),_:3},8,["readonly","image-styles","files-list","limit","disablePreview","delIcon","onUploadFiles","onChoose","onDelFile"])):g("",!0),"image"!==s.fileMediatype||"grid"!==o.showType?(n(),d(p,{key:2,readonly:s.readonly,"list-styles":s.listStyles,"files-list":o.filesList,showType:o.showType,delIcon:s.delIcon,onUploadFiles:o.uploadFiles,onChoose:o.choose,onDelFile:o.delFile},{default:h((()=>[F(e.$slots,"default",{},(()=>[m(c,{type:"primary",size:"mini"},{default:h((()=>[b("选择文件")])),_:1})]),!0)])),_:3},8,["readonly","list-styles","files-list","showType","delIcon","onUploadFiles","onChoose","onDelFile"])):g("",!0)])),_:3})}],["__scopeId","data-v-c59319f7"]]);export{B as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-forms-e3b0c442.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-forms-e3b0c442.css
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-forms-item-3ba8e15f.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-forms-item-3ba8e15f.css
new file mode 100644
index 0000000000000000000000000000000000000000..5e946167d7bab28677a2072803ba149b87250e59
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-forms-item-3ba8e15f.css
@@ -0,0 +1 @@
+.uni-forms-item[data-v-540b8126]{position:relative;display:flex;margin-bottom:22px;flex-direction:row}.uni-forms-item__label[data-v-540b8126]{display:flex;flex-direction:row;align-items:center;text-align:left;font-size:14px;color:#606266;height:36px;padding:0 12px 0 0;vertical-align:middle;flex-shrink:0;box-sizing:border-box}.uni-forms-item__label.no-label[data-v-540b8126]{padding:0}.uni-forms-item__content[data-v-540b8126]{position:relative;font-size:14px;flex:1;box-sizing:border-box;flex-direction:row}.uni-forms-item .uni-forms-item__nuve-content[data-v-540b8126]{display:flex;flex-direction:column;flex:1}.uni-forms-item__error[data-v-540b8126]{color:#f56c6c;font-size:12px;line-height:1;padding-top:4px;position:absolute;top:100%;left:0;transition:transform .3s;transform:translateY(-100%);opacity:0}.uni-forms-item__error .error-text[data-v-540b8126]{color:#f56c6c;font-size:12px}.uni-forms-item__error.msg--active[data-v-540b8126]{opacity:1;transform:translateY(0)}.uni-forms-item.is-direction-left[data-v-540b8126]{flex-direction:row}.uni-forms-item.is-direction-top[data-v-540b8126]{flex-direction:column}.uni-forms-item.is-direction-top .uni-forms-item__label[data-v-540b8126]{padding:0 0 8px;line-height:1.5715;text-align:left;white-space:initial}.uni-forms-item .is-required[data-v-540b8126]{color:#dd524d;font-weight:700}.uni-forms-item--border[data-v-540b8126]{margin-bottom:0;padding:10px 0;border-top:1px #eee solid}.uni-forms-item--border .uni-forms-item__content[data-v-540b8126]{flex-direction:column;justify-content:flex-start;align-items:flex-start}.uni-forms-item--border .uni-forms-item__content .uni-forms-item__error[data-v-540b8126]{position:relative;top:5px;left:0;padding-top:0}.is-first-border[data-v-540b8126]{border:none}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-forms-item.69698491.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-forms-item.69698491.js
new file mode 100644
index 0000000000000000000000000000000000000000..9da6db599a079ace3122258485e85b8780613d14
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-forms-item.69698491.js
@@ -0,0 +1 @@
+import{_ as t,s as e,y as i,o as s,c as r,w as l,C as a,a as o,z as n,I as u,d as h,b as d,t as m,p as f,i as c}from"./index-389238f5.js";const b=t({name:"uniFormsItem",options:{virtualHost:!0},provide(){return{uniFormItem:this}},inject:{form:{from:"uniForm",default:null}},props:{rules:{type:Array,default:()=>null},name:{type:[String,Array],default:""},required:{type:Boolean,default:!1},label:{type:String,default:""},labelWidth:{type:[String,Number],default:""},labelAlign:{type:String,default:""},errorMessage:{type:[String,Boolean],default:""},leftIcon:String,iconColor:{type:String,default:"#606266"}},data:()=>({errMsg:"",userRules:null,localLabelAlign:"left",localLabelWidth:"65px",localLabelPos:"left",border:!1,isFirstBorder:!1}),computed:{msg(){return this.errorMessage||this.errMsg}},watch:{"form.formRules"(t){this.init()},"form.labelWidth"(t){this.localLabelWidth=this._labelWidthUnit(t)},"form.labelPosition"(t){this.localLabelPos=this._labelPosition()},"form.labelAlign"(t){}},created(){this.init(!0),this.name&&this.form&&this.$watch((()=>this.form._getDataValue(this.name,this.form.localData)),((t,e)=>{if(!this.form._isEqual(t,e)){const e=this.itemSetValue(t);this.onFieldChange(e,!1)}}),{immediate:!1})},unmounted(){this.__isUnmounted=!0,this.unInit()},methods:{setRules(t=null){this.userRules=t,this.init(!1)},setValue(){},async onFieldChange(t,s=!0){const{formData:r,localData:l,errShowType:a,validateCheck:o,validateTrigger:n,_isRequiredField:u,_realName:h}=this.form,d=h(this.name);t||(t=this.form.formData[d]);const m=this.itemRules.rules&&this.itemRules.rules.length;if(!this.validator||!m||0===m)return;const f=u(this.itemRules.rules||[]);let c=null;return"bind"===n||s?(c=await this.validator.validateUpdate({[d]:t},r),f||void 0!==t&&""!==t||(c=null),c&&c.errorMessage?("undertext"===a&&(this.errMsg=c?c.errorMessage:""),"toast"===a&&e({title:c.errorMessage||"校验错误",icon:"none"}),"modal"===a&&i({title:"提示",content:c.errorMessage||"校验错误"})):this.errMsg="",o(c||null)):this.errMsg="",c||null},init(t=!1){const{validator:e,formRules:i,childrens:s,formData:r,localData:l,_realName:a,labelWidth:o,_getDataValue:n,_setDataValue:u}=this.form||{};if(this.localLabelAlign=this._justifyContent(),this.localLabelWidth=this._labelWidthUnit(o),this.localLabelPos=this._labelPosition(),this.form&&t&&s.push(this),!e||!i)return;this.form.isFirstBorder||(this.form.isFirstBorder=!0,this.isFirstBorder=!0),this.group&&(this.group.isFirstBorder||(this.group.isFirstBorder=!0,this.isFirstBorder=!0)),this.border=this.form.border;const h=a(this.name),d=this.userRules||this.rules;"object"==typeof i&&d&&(i[h]={rules:d},e.updateSchema(i));const m=i[h]||{};this.itemRules=m,this.validator=e,this.itemSetValue(n(this.name,l))},unInit(){if(this.form){const{childrens:t,formData:e,_realName:i}=this.form;t.forEach(((t,s)=>{t===this&&(this.form.childrens.splice(s,1),delete e[i(t.name)])}))}},itemSetValue(t){const e=this.form._realName(this.name),i=this.itemRules.rules||[],s=this.form._getValue(e,t,i);return this.form._setDataValue(e,this.form.formData,s),s},clearValidate(){this.errMsg=""},_isRequired(){return this.required},_justifyContent(){if(this.form){const{labelAlign:t}=this.form;let e=this.labelAlign?this.labelAlign:t;if("left"===e)return"flex-start";if("center"===e)return"center";if("right"===e)return"flex-end"}return"flex-start"},_labelWidthUnit(t){return this.num2px(this.labelWidth?this.labelWidth:t||(this.label?65:"auto"))},_labelPosition(){return this.form&&this.form.labelPosition||"left"},isTrigger:(t,e,i)=>"submit"!==t&&t?"bind":void 0===t?"bind"!==e?e?"submit":""===i?"bind":"submit":"bind":"submit",num2px:t=>"number"==typeof t?`${t}px`:t}},[["render",function(t,e,i,b,g,_){const p=f,y=c;return s(),r(y,{class:n(["uni-forms-item",["is-direction-"+g.localLabelPos,g.border?"uni-forms-item--border":"",g.border&&g.isFirstBorder?"is-first-border":""]])},{default:l((()=>[a(t.$slots,"label",{},(()=>[o(y,{class:n(["uni-forms-item__label",{"no-label":!i.label&&!i.required}]),style:u({width:g.localLabelWidth,justifyContent:g.localLabelAlign})},{default:l((()=>[i.required?(s(),r(p,{key:0,class:"is-required"},{default:l((()=>[h("*")])),_:1})):d("",!0),o(p,null,{default:l((()=>[h(m(i.label),1)])),_:1})])),_:1},8,["class","style"])]),!0),o(y,{class:"uni-forms-item__content"},{default:l((()=>[a(t.$slots,"default",{},void 0,!0),o(y,{class:n(["uni-forms-item__error",{"msg--active":_.msg}])},{default:l((()=>[o(p,null,{default:l((()=>[h(m(_.msg),1)])),_:1})])),_:1},8,["class"])])),_:3})])),_:3},8,["class"])}],["__scopeId","data-v-540b8126"]]);export{b as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-forms.bc4bcf6e.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-forms.bc4bcf6e.js
new file mode 100644
index 0000000000000000000000000000000000000000..a88c3e1428f18815baa28068694fca8d430d1c25
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-forms.bc4bcf6e.js
@@ -0,0 +1 @@
+import{_ as e,an as t,o as r,c as a,w as n,a as i,C as l,ao as s,i as u}from"./index-389238f5.js";var o={email:/^\S+?@\S+?\.\S+?$/,idcard:/^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i")};const m={int:"integer",bool:"boolean",double:"number",long:"number",password:"string"};function d(e,t=""){["label"].forEach((t=>{void 0===e[t]&&(e[t]="")}));let r=t;for(let a in e){let t=new RegExp("{"+a+"}");r=r.replace(t,e[a])}return r}const f={integer:e=>f.number(e)&&parseInt(e,10)===e,string:e=>"string"==typeof e,number:e=>!isNaN(e)&&"number"==typeof e,boolean:function(e){return"boolean"==typeof e},float:function(e){return f.number(e)&&!f.integer(e)},array:e=>Array.isArray(e),object:e=>"object"==typeof e&&!f.array(e),date:e=>e instanceof Date,timestamp(e){return!(!this.integer(e)||Math.abs(e).toString().length>16)},file:e=>"string"==typeof e.url,email:e=>"string"==typeof e&&!!e.match(o.email)&&e.length<255,url:e=>"string"==typeof e&&!!e.match(o.url),pattern(e,t){try{return new RegExp(e).test(t)}catch(r){return!1}},method:e=>"function"==typeof e,idcard:e=>"string"==typeof e&&!!e.match(o.idcard),"url-https"(e){return this.url(e)&&e.startsWith("https://")},"url-scheme":e=>e.startsWith("://"),"url-web":e=>!1};class c{constructor(e){this._message=e}async validateRule(e,t,r,a,n){var i=null;let l=t.rules;if(l.findIndex((e=>e.required))<0){if(null==r)return i;if("string"==typeof r&&!r.length)return i}var s=this._message;if(void 0===l)return s.default;for(var u=0;u{l=e}));(l||"string"==typeof s&&s||!1===s)&&(i=this._getMessage(e,l||s,n))}catch(l){i=this._getMessage(e,l.message,n)}return i}_getMessage(e,t,r){return d(e,t||e.errorMessage||this._message[r]||t.default)}_getValidateType(e){var t="";return e.required?t="required":e.format?t="format":e.arrayType?t="arrayTypeFormat":e.range?t="range":void 0!==e.maximum||void 0!==e.minimum?t="rangeNumber":void 0!==e.maxLength||void 0!==e.minLength?t="rangeLength":e.pattern?t="pattern":e.validateFunction&&(t="validateFunction"),t}}const h={required:(e,t,r)=>e.required&&function(e,t){return null==e||"string"==typeof e&&!e||!(!Array.isArray(e)||e.length)||"object"===t&&!Object.keys(e).length}(t,e.format||typeof t)?d(e,e.errorMessage||r.required):null,range(e,t,r){const{range:a,errorMessage:n}=e;let i=new Array(a.length);for(let s=0;s-1&&(l=!0),l?null:d(e,n||r.enum)},rangeNumber(e,t,r){if(!f.number(t))return d(e,e.errorMessage||r.pattern.mismatch);let{minimum:a,maximum:n,exclusiveMinimum:i,exclusiveMaximum:l}=e,s=i?t<=a:t=n:t>n;return void 0!==a&&s?d(e,e.errorMessage||r.number[i?"exclusiveMinimum":"minimum"]):void 0!==n&&u?d(e,e.errorMessage||r.number[l?"exclusiveMaximum":"maximum"]):void 0!==a&&void 0!==n&&(s||u)?d(e,e.errorMessage||r.number.range):null},rangeLength(e,t,r){if(!f.string(t)&&!f.array(t))return d(e,e.errorMessage||r.pattern.mismatch);let a=e.minLength,n=e.maxLength,i=t.length;return void 0!==a&&in?d(e,e.errorMessage||r.length.maxLength):void 0!==a&&void 0!==n&&(in)?d(e,e.errorMessage||r.length.range):null},pattern:(e,t,r)=>f.pattern(e.pattern,t)?null:d(e,e.errorMessage||r.pattern.mismatch),format(e,t,r){var a=Object.keys(f),n=m[e.format]?m[e.format]:e.format||e.arrayType;return a.indexOf(n)>-1&&!f[n](t)?d(e,e.errorMessage||r.typeError):null},arrayTypeFormat(e,t,r){if(!Array.isArray(t))return d(e,e.errorMessage||r.typeError);for(let a=0;ar.indexOf(e)<0));return[{key:"invalid",errorMessage:d({field:JSON.stringify(a)},g.message.TAG+g.message.defaultInvalid)}]}}g.message=new function(){return{TAG:"",default:"验证错误",defaultInvalid:"提交的字段{field}在数据库中并不存在",validateFunction:"验证无效",required:"{label}必填",enum:"{label}超出范围",timestamp:"{label}格式无效",whitespace:"{label}不能为空",typeError:"{label}类型无效",date:{format:"{label}日期{value}格式无效",parse:"{label}日期无法解析,{value}无效",invalid:"{label}日期{value}无效"},length:{minLength:"{label}长度不能少于{minLength}",maxLength:"{label}长度不能超过{maxLength}",range:"{label}必须介于{minLength}和{maxLength}之间"},number:{minimum:"{label}不能小于{minimum}",maximum:"{label}不能大于{maximum}",exclusiveMinimum:"{label}不能小于等于{minimum}",exclusiveMaximum:"{label}不能大于等于{maximum}",range:"{label}必须介于{minimum}and{maximum}之间"},pattern:{mismatch:"{label}格式不匹配"}}};const p=(e,t,r)=>{const a=r.find((e=>{return e.format&&("int"===(t=e.format)||"double"===t||"number"===t||"timestamp"===t);var t})),n=r.find((e=>e.format&&"boolean"===e.format||"bool"===e.format));return a&&(t=t||0===t?M(Number(t))?Number(t):t:null),n&&(t=!!w(t)&&t),t},b=(e,t)=>S(t,e),y=(e,t={})=>{const r=_(e);if("object"==typeof r&&Array.isArray(r)&&r.length>1){return r.reduce(((e,t)=>e+`#${t}`),"_formdata_")}return r[0]||e},v=e=>{let t=e.replace("_formdata_#","");return t=t.split("#").map((e=>M(e)?Number(e):e)),t},x=(e,t,r)=>("object"!=typeof e||_(t).reduce(((e,t,a,n)=>a===n.length-1?(e[t]=r,null):(t in e||(e[t]=/^[0-9]{1,}$/.test(n[a+1])?[]:{}),e[t])),e),e);function _(e){return Array.isArray(e)?e:e.replace(/\[/g,".").replace(/\]/g,"").split(".")}const S=(e,t,r="undefined")=>{let a=_(t).reduce(((e,t)=>(e||{})[t]),e);return a&&void 0===a?r:a},M=e=>!isNaN(Number(e)),w=e=>"boolean"==typeof e;const k=e({name:"uniForms",emits:["validate","submit"],options:{virtualHost:!0},props:{value:{type:Object,default:()=>null},modelValue:{type:Object,default:()=>null},model:{type:Object,default:()=>null},rules:{type:Object,default:()=>({})},errShowType:{type:String,default:"undertext"},validateTrigger:{type:String,default:"submit"},labelPosition:{type:String,default:"left"},labelWidth:{type:[String,Number],default:""},labelAlign:{type:String,default:"left"},border:{type:Boolean,default:!1}},provide(){return{uniForm:this}},data:()=>({formData:{},formRules:{}}),computed:{localData(){const e=this.model||this.modelValue||this.value;return e?(t=e,JSON.parse(JSON.stringify(t))):{};var t}},watch:{rules:{handler:function(e,t){this.setRules(e)},deep:!0,immediate:!0}},created(){t().$vm.$.appContext.config.globalProperties.binddata||(t().$vm.$.appContext.config.globalProperties.binddata=function(e,t,r){if(r)this.$refs[r].setValue(e,t);else{let r;for(let e in this.$refs){const t=this.$refs[e];if(t&&t.$options&&"uniForms"===t.$options.name){r=t;break}}if(!r)return console.error("当前 uni-froms 组件缺少 ref 属性");r.setValue(e,t)}}),this.childrens=[],this.inputChildrens=[],this.setRules(this.rules)},methods:{setRules(e){this.formRules=Object.assign({},this.formRules,e),this.validator=new g(e)},setValue(e,t){let r=this.childrens.find((t=>t.name===e));return r?(this.formData[e]=p(0,t,this.formRules[e]&&this.formRules[e].rules||[]),r.onFieldChange(this.formData[e])):null},validate(e,t){return this.checkAll(this.formData,e,t)},validateField(e=[],t){e=[].concat(e);let r={};return this.childrens.forEach((t=>{const a=y(t.name);-1!==e.indexOf(a)&&(r=Object.assign({},r,{[a]:this.formData[a]}))})),this.checkAll(r,[],t)},clearValidate(e=[]){e=[].concat(e),this.childrens.forEach((t=>{if(0===e.length)t.errMsg="";else{const r=y(t.name);-1!==e.indexOf(r)&&(t.errMsg="")}}))},submit(e,t,r){for(let a in this.dataValue){this.childrens.find((e=>e.name===a))&&void 0===this.formData[a]&&(this.formData[a]=this._getValue(a,this.dataValue[a]))}return r||console.warn("submit 方法即将废弃,请使用validate方法代替!"),this.checkAll(this.formData,e,t,"submit")},async checkAll(e,t,r,a){if(!this.validator)return;let n,i=[];for(let o in e){const e=this.childrens.find((e=>y(e.name)===o));e&&i.push(e)}r||"function"!=typeof t||(r=t),!r&&"function"!=typeof r&&Promise&&(n=new Promise(((e,t)=>{r=function(r,a){r?t(r):e(a)}})));let l=[],s=JSON.parse(JSON.stringify(e));for(let o in i){const e=i[o];let t=y(e.name);const r=await e.onFieldChange(s[t]);if(r&&(l.push(r),"toast"===this.errShowType||"modal"===this.errShowType))break}Array.isArray(l)&&0===l.length&&(l=null),Array.isArray(t)&&t.forEach((e=>{let t=y(e),r=b(e,this.localData);void 0!==r&&(s[t]=r)})),"submit"===a?this.$emit("submit",{detail:{value:s,errors:l}}):this.$emit("validate",l);let u={};return u=((e={},t)=>{let r=JSON.parse(JSON.stringify(e)),a={};for(let n in r){let e=v(n);x(a,e,r[n])}return a})(s,this.name),r&&"function"==typeof r&&r(l,u),n&&r?n:null},validateCheck(e){this.$emit("validate",e)},_getValue:p,_isRequiredField:e=>{let t=!1;for(let r=0;r(t[e]=r,r||""),_getDataValue:b,_realName:y,_isRealName:e=>/^_formdata_#*/.test(e),_isEqual:(e,t)=>{if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return e===t;var r=toString.call(e);if(r!==toString.call(t))return!1;switch(r){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t}if("[object Object]"==r){var a=Object.getOwnPropertyNames(e),n=Object.getOwnPropertyNames(t);if(a.length!=n.length)return!1;for(var i=0;i[i(c,null,{default:n((()=>[l(e.$slots,"default",{},void 0,!0)])),_:3})])),_:3})}],["__scopeId","data-v-7b66846a"]]);export{k as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-agreements-2a2e04b7.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-agreements-2a2e04b7.css
new file mode 100644
index 0000000000000000000000000000000000000000..ea9a77b2b9a7b50faaa679a9a68eb7e8e18c89d4
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-agreements-2a2e04b7.css
@@ -0,0 +1 @@
+uni-view[data-v-2709ff10]{display:flex;box-sizing:border-box;flex-direction:column}.root[data-v-2709ff10]{flex-direction:row;align-items:center;font-size:12px;color:#8a8f8b}.checkbox-box[data-v-2709ff10],.uni-label-pointer[data-v-2709ff10]{align-items:center;display:flex;flex-direction:row}.item[data-v-2709ff10]{flex-direction:row}.text[data-v-2709ff10]{line-height:26px}.agreement[data-v-2709ff10]{color:#04498c;cursor:pointer}.checkbox-box[data-v-2709ff10] .uni-checkbox-input{border-radius:100%}.checkbox-box[data-v-2709ff10] .uni-checkbox-input.uni-checkbox-input-checked{border-color:#2979ff;color:#fff!important;background-color:#2979ff}.content[data-v-2709ff10]{flex-wrap:wrap;flex-direction:row}.root[data-v-2709ff10] .uni-popup__error{color:#333}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-agreements.0414ff30.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-agreements.0414ff30.js
new file mode 100644
index 0000000000000000000000000000000000000000..568ccc347b6894987328b9e997b28a0985dde557
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-agreements.0414ff30.js
@@ -0,0 +1 @@
+import{_ as e,aa as t,n as s,f as a,g as n,a5 as r,o as l,c as i,w as o,e as p,F as u,a as c,d as g,r as d,t as m,b as f,U as h,p as A,V as _,W as k,i as x}from"./index-389238f5.js";import{_ as y}from"./uni-popup-dialog.39d6dc6f.js";let v=()=>console.log("为定义");const C=e({name:"uni-agreements",computed:{agreements(){if(!t.agreements)return[];let{serviceUrl:e,privacyUrl:s}=t.agreements;return[{url:e,title:"用户服务协议"},{url:s,title:"隐私政策条款"}]}},props:{scope:{type:String,default:()=>"register"}},methods:{popupConfirm(){this.isAgree=!0,v()},popup(e){this.needPopupAgreements=!0,this.$nextTick((()=>{e&&(v=e),this.$refs.popupAgreement.open()}))},navigateTo({url:e,title:t}){s({url:"/uni_modules/uni-id-pages/pages/common/webview/webview?url="+e+"&title="+t,success:e=>{},fail:()=>{},complete:()=>{}})},hasAnd:(e,t)=>e.length-1>t,setAgree(e){this.isAgree=!this.isAgree,this.$emit("setAgree",this.isAgree)}},created(){var e,s;this.needAgreements=((null==(s=null==(e=t)?void 0:e.agreements)?void 0:s.scope)||[]).includes(this.scope)},data:()=>({isAgree:!1,needAgreements:!0,needPopupAgreements:!1})},[["render",function(e,t,s,v,C,b){const w=h,T=A,P=_,U=k,$=x,j=a(n("uni-popup-dialog"),y),F=a(n("uni-popup"),r);return b.agreements.length?(l(),i($,{key:0,class:"root"},{default:o((()=>[C.needAgreements?(l(),p(u,{key:0},[c(U,{onChange:b.setAgree},{default:o((()=>[c(P,{class:"checkbox-box"},{default:o((()=>[c(w,{checked:C.isAgree,style:{transform:"scale(0.5)","margin-right":"-6px"}},null,8,["checked"]),c(T,{class:"text"},{default:o((()=>[g("同意")])),_:1})])),_:1})])),_:1},8,["onChange"]),c($,{class:"content"},{default:o((()=>[(l(!0),p(u,null,d(b.agreements,((e,t)=>(l(),i($,{class:"item",key:t},{default:o((()=>[c(T,{class:"agreement text",onClick:t=>b.navigateTo(e)},{default:o((()=>[g(m(e.title),1)])),_:2},1032,["onClick"]),b.hasAnd(b.agreements,t)?(l(),i(T,{key:0,class:"text and",space:"nbsp"},{default:o((()=>[g(" 和 ")])),_:1})):f("",!0)])),_:2},1024)))),128))])),_:1})],64)):f("",!0),C.needAgreements||C.needPopupAgreements?(l(),i(F,{key:1,ref:"popupAgreement",type:"center"},{default:o((()=>[c(j,{confirmText:"同意",onConfirm:b.popupConfirm},{default:o((()=>[c($,{class:"content"},{default:o((()=>[c(T,{class:"text"},{default:o((()=>[g("请先阅读并同意")])),_:1}),(l(!0),p(u,null,d(b.agreements,((e,t)=>(l(),i($,{class:"item",key:t},{default:o((()=>[c(T,{class:"agreement text",onClick:t=>b.navigateTo(e)},{default:o((()=>[g(m(e.title),1)])),_:2},1032,["onClick"]),b.hasAnd(b.agreements,t)?(l(),i(T,{key:0,class:"text and",space:"nbsp"},{default:o((()=>[g(" 和 ")])),_:1})):f("",!0)])),_:2},1024)))),128))])),_:1})])),_:1},8,["onConfirm"])])),_:1},512)):f("",!0)])),_:1})):f("",!0)}],["__scopeId","data-v-2709ff10"]]);export{C as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-email-form-04bad1f7.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-email-form-04bad1f7.css
new file mode 100644
index 0000000000000000000000000000000000000000..399428c5df0492acdcfc569bee3c0c945aa98aa0
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-email-form-04bad1f7.css
@@ -0,0 +1 @@
+.box[data-v-55918d51]{position:relative;margin-top:10px}.short-code-btn[data-v-55918d51]{padding:0;position:absolute;top:0;right:8px;width:8.125rem;max-width:130px;height:44px;display:flex;justify-content:center;align-items:center}.inner-text[data-v-55918d51]{font-size:14px;color:#aaa}.inner-text-active[data-v-55918d51]{color:#04498c}.captcha[data-v-55918d51]{width:10.9375rem}.input-box[data-v-55918d51]{margin:0;padding:4px;background-color:#f8f8f8;font-size:14px}.box[data-v-55918d51] .content-clear-icon{margin-right:100px}.box[data-v-55918d51]{display:flex;flex-direction:row}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-email-form.79cacd6d.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-email-form.79cacd6d.js
new file mode 100644
index 0000000000000000000000000000000000000000..d0eb58effdccd0a7d97d7bc21f1c6e9a064f85ef
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-email-form.79cacd6d.js
@@ -0,0 +1 @@
+import{_ as e,s as t,L as a,f as s,g as i,o as n,c as o,w as l,a as r,z as u,d as c,t as m,p as d,i as h}from"./index-389238f5.js";import{_ as p}from"./uni-captcha.7a7d8040.js";import{_ as f}from"./uni-easyinput.a1fc57c1.js";const g=e({name:"uni-email-code-form",model:{prop:"modelValue",event:"update:modelValue"},props:{event:["update:modelValue"],count:{type:[String,Number],default:60},email:{type:[String],default:""},type:{type:String,default:()=>"register"},focusCaptchaInput:{type:Boolean,default:()=>!1}},data:()=>({captcha:"",reverseNumber:0,reverseTimer:null,modelValue:"",focusEmailCodeInput:!1}),watch:{captcha(e,t){4==e.length&&4!=t.length&&this.start()},modelValue(e){this.$emit("input",e),this.$emit("update:modelValue",e)}},computed:{innerText(){return 0==this.reverseNumber?"获取邮箱验证码":"重新发送("+this.reverseNumber+"s)"}},created(){this.initClick()},methods:{getImageCaptcha(e){this.$refs.captcha.getImageCaptcha(e)},initClick(){this.start=function(e,t){let a;return t=t||500,function(){let s=this,i=arguments;a&&clearTimeout(a);let n=!a;a=setTimeout((()=>{a=null}),t),n&&e.apply(s,i)}}((()=>{0==this.reverseNumber&&this.sendMsg()}))},sendMsg(){if(4!=this.captcha.length)return this.$refs.captcha.focusCaptchaInput=!0,t({title:"请先输入图形验证码",icon:"none",duration:3e3});if(!this.email)return t({title:"请输入邮箱",icon:"none",duration:3e3});if(!/@/.test(this.email))return t({title:"邮箱格式错误",icon:"none",duration:3e3});const e=a.importObject("uni-id-co",{customUI:!0});console.log("sendEmailCode",{email:this.email,scene:this.type,captcha:this.captcha}),e.sendEmailCode({email:this.email,scene:this.type,captcha:this.captcha}).then((e=>{t({title:"邮箱验证码发送成功",icon:"none",duration:3e3}),this.reverseNumber=Number(this.count),this.getCode()})).catch((e=>{"uni-id-invalid-mail-template"==e.code?(this.modelValue="123456",t({title:"已启动测试模式,详情【控制台信息】",icon:"none",duration:3e3}),console.warn(e.message)):(this.getImageCaptcha(),this.captcha="",t({title:e.message,icon:"none",duration:3e3}))}))},getCode(){if(0==this.reverseNumber)return clearTimeout(this.reverseTimer),void(this.reverseTimer=null);this.reverseNumber--,this.reverseTimer=setTimeout((()=>{this.getCode()}),1e3)}}},[["render",function(e,t,a,g,v,C){const b=s(i("uni-captcha"),p),V=s(i("uni-easyinput"),f),y=d,I=h;return n(),o(I,null,{default:l((()=>[r(b,{focus:a.focusCaptchaInput,ref:"captcha",scene:"send-email-code",modelValue:v.captcha,"onUpdate:modelValue":t[0]||(t[0]=e=>v.captcha=e)},null,8,["focus","modelValue"]),r(I,{class:"box"},{default:l((()=>[r(V,{focus:v.focusEmailCodeInput,onBlur:t[1]||(t[1]=e=>v.focusEmailCodeInput=!1),type:"number",class:"input-box",inputBorder:!1,modelValue:v.modelValue,"onUpdate:modelValue":t[2]||(t[2]=e=>v.modelValue=e),maxlength:"6",placeholder:"请输入邮箱验证码"},null,8,["focus","modelValue"]),r(I,{class:"short-code-btn","hover-class":"hover",onClick:e.start},{default:l((()=>[r(y,{class:u(["inner-text",0==v.reverseNumber?"inner-text-active":""])},{default:l((()=>[c(m(C.innerText),1)])),_:1},8,["class"])])),_:1},8,["onClick"])])),_:1})])),_:1})}],["__scopeId","data-v-55918d51"]]);export{g as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-fab-login-dc2ac76e.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-fab-login-dc2ac76e.css
new file mode 100644
index 0000000000000000000000000000000000000000..a5d8f07c40159e29200c3bb1c241140cf41f1f83
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-fab-login-dc2ac76e.css
@@ -0,0 +1 @@
+.fab-login-box[data-v-358aab82],.item[data-v-358aab82]{display:flex;box-sizing:border-box;flex-direction:column}.fab-login-box[data-v-358aab82]{flex-direction:row;flex-wrap:wrap;width:23.4375rem;justify-content:space-around;position:fixed;left:0}.item[data-v-358aab82]{flex-direction:column;justify-content:center;align-items:center;height:6.25rem;cursor:pointer}@media screen and (min-width: 690px){.fab-login-box[data-v-358aab82]{max-width:500px;margin-left:calc(50% - 250px)}.item[data-v-358aab82]{height:5rem}}@media screen and (max-width: 690px){.fab-login-box[data-v-358aab82]{bottom:.3125rem}}.logo[data-v-358aab82]{width:1.875rem;height:1.875rem;max-width:40px;max-height:40px;border-radius:100%;border:solid 1px #F6F6F6}.login-title[data-v-358aab82]{text-align:center;margin-top:6px;color:#999;font-size:10px;width:70px}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-fab-login.8d4ba320.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-fab-login.8d4ba320.js
new file mode 100644
index 0000000000000000000000000000000000000000..2d5d28897ba5ce5336568aeca03dc8fadb7bcdf4
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-fab-login.8d4ba320.js
@@ -0,0 +1 @@
+import{_ as e,aa as t,ad as i,ae as n,G as o,s,N as a,O as l,a4 as u,L as r,$ as p,y as g,o as c,c as d,w as f,a as h,e as m,F as y,r as w,d as v,t as b,m as _,p as x,i as C}from"./index-389238f5.js";const S=e({computed:{agreements(){if(!t.agreements)return[];let{serviceUrl:e,privacyUrl:i}=t.agreements;return[{url:e,title:"用户服务协议"},{url:i,title:"隐私政策条款"}]},agree:{get(){return this.getParentComponent().agree},set(e){return this.getParentComponent().agree=e}}},data:()=>({servicesList:[{id:"username",text:"账号登录",logo:"/uni_modules/uni-id-pages/static/login/uni-fab-login/user.png",path:"/uni_modules/uni-id-pages/pages/login/login-withpwd"},{id:"smsCode",text:"短信验证码",logo:"/uni_modules/uni-id-pages/static/login/uni-fab-login/sms.png",path:"/uni_modules/uni-id-pages/pages/login/login-withoutpwd?type=smsCode"},{id:"weixin",text:"微信登录",logo:"/uni_modules/uni-id-pages/static/login/uni-fab-login/weixin.png"},{id:"apple",text:"苹果登录",logo:"/uni_modules/uni-id-pages/static/app-plus/uni-fab-login/apple.png"},{id:"univerify",text:"一键登录",logo:"/uni_modules/uni-id-pages/static/app-plus/uni-fab-login/univerify.png"},{id:"taobao",text:"淘宝登录",logo:"/uni_modules/uni-id-pages/static/app-plus/uni-fab-login/taobao.png"},{id:"facebook",text:"脸书登录",logo:"/uni_modules/uni-id-pages/static/app-plus/uni-fab-login/facebook.png"},{id:"alipay",text:"支付宝登录",logo:"/uni_modules/uni-id-pages/static/app-plus/uni-fab-login/alipay.png"},{id:"qq",text:"QQ登录",logo:"/uni_modules/uni-id-pages/static/app-plus/uni-fab-login/qq.png"},{id:"google",text:"谷歌登录",logo:"/uni_modules/uni-id-pages/static/app-plus/uni-fab-login/google.png"},{id:"douyin",text:"抖音登录",logo:"/uni_modules/uni-id-pages/static/app-plus/uni-fab-login/douyin.png"},{id:"sinaweibo",text:"新浪微博",logo:"/uni_modules/uni-id-pages/static/app-plus/uni-fab-login/sinaweibo.png"}],univerifyStyle:{fullScreen:!0,backgroundColor:"#ffffff",buttons:{iconWidth:"45px",list:[]},privacyTerms:{defaultCheckBoxState:!1,textColor:"#BBBBBB",termsColor:"#5496E3",prefix:"我已阅读并同意",suffix:"并使用本机号码登录",privacyItems:[]}}}),watch:{agree(e){this.univerifyStyle.privacyTerms.defaultCheckBoxState=e}},async created(){let e=this.servicesList,i=t.loginTypes;e=e.filter((e=>"apple"!=e.id&&i.includes(e.id))),i.includes("univerify")&&(this.univerifyStyle.privacyTerms.privacyItems=this.agreements,e.forEach((({id:e,logo:t,path:i})=>{"univerify"!=e&&this.univerifyStyle.buttons.list.push({iconPath:t,provider:e,path:i})}))),this.servicesList=e.filter((e=>(e.path?e.path.split("?")[0]:"")!=this.getRoute(1)))},methods:{getParentComponent(){return this.$parent.$parent},setUserInfo(e){console.log("setUserInfo",e)},getRoute(e=0){let t=i();return e>t.length?"":"/"+t[t.length-e].route},toPage(e,t=0){let i=["navigateTo","redirectTo"][t];if(this.getRoute(1)==e.split("?")[0]&&"/uni_modules/uni-id-pages/pages/login/login-withoutpwd"==this.getRoute(1)){let t=e.split("?")[1].split("=")[1];n("uni-id-pages-setLoginType",t)}else this.getRoute(2)==e?o():this.getRoute(1)!=e?uni[i]({url:e,animationType:"slide-in-left",complete(e){}}):console.log("出乎意料的情况,path:"+e)},async login_before(e,i=!0,n={}){var r,p;if(console.log(e),["qq","xiaomi","sinaweibo","taobao","facebook","google","alipay","douyin"].includes(e))return s({title:"该登录方式暂未实现,欢迎提交pr",icon:"none",duration:3e3});if(["univerify","apple"].includes(e))return s({title:"当前设备不支持此登录,请选择其他登录方式",icon:"none",duration:3e3});let g=((null==(p=null==(r=t)?void 0:r.agreements)?void 0:p.scope)||[]).includes("register");if("univerify"!=e&&g&&!this.agree){return this.getParentComponent().$refs.agreements.popup((()=>{this.login_before(e,i,n)}))}if("weixin"==e){let e=location.protocol+"//"+document.domain+(window.location.href.includes("#")?"/#":"")+"/uni_modules/uni-id-pages/pages/login/login-withoutpwd?is_weixin_redirect=true&type=weixin";return"micromessenger"==window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i)?window.open(`https://open.weixin.qq.com/connect/oauth2/authorize?\n\t\t\t\t\t\t\t\t\t\tappid=${t.appid.weixin.h5}\n\t\t\t\t\t\t\t\t\t\t&redirect_uri=${encodeURIComponent(e)}\n\t\t\t\t\t\t\t\t\t\t&response_type=code\n\t\t\t\t\t\t\t\t\t\t&scope=snsapi_userinfo\n\t\t\t\t\t\t\t\t\t\t&state=STATE&connect_redirect=1#wechat_redirect`):location.href=`https://open.weixin.qq.com/connect/qrconnect?appid=${t.appid.weixin.web}\n\t\t\t\t\t\t\t\t\t\t\t&redirect_uri=${encodeURIComponent(e)}\n\t\t\t\t\t\t\t\t\t\t\t&response_type=code&scope=snsapi_login&state=STATE#wechat_redirect`}if(a({mask:!0}),"univerify"==e){let e=function(){l(),t.close(),t.offButtonsClick(n)},t=uni.getUniverifyManager(),i=!1,n=async t=>{console.log("点击了第三方登录,provider:",t,t.provider,this.univerifyStyle.buttons.list),i=!0;let n=(await uni.getCheckBoxState())[1].state;this.agree=n;let{path:o}=this.univerifyStyle.buttons.list[t.index];o?(this.getRoute(1).includes("login-withoutpwd")&&o.includes("login-withoutpwd")&&this.getParentComponent().showCurrentWebview(),this.toPage(o,1),e()):n?(e(),setTimeout((()=>{this.login_before(t.provider)}),500)):s({title:"你未同意隐私政策协议",icon:"none",duration:3e3})};return t.onButtonsClick(n),t.login({univerifyStyle:this.univerifyStyle,success:e=>{this.login(e.authResult,"univerify")},fail(e){console.log(e),i||o()},complete:async e=>{l(),t.offButtonsClick(n)}})}if("weixinMobile"===e)return this.login({phoneCode:n.phoneNumberCode},e);u({provider:e,onlyAuthorize:!0,success:async t=>{if("apple"==e){let e=await this.getUserInfo({provider:"apple"});Object.assign(t.authResult,e.userInfo),l()}this.login("weixin"==e?{code:t.code}:t.authResult,e)},fail:async e=>{console.log(e),l()}})},login(e,t){console.log({params:e,type:t});let i="loginBy"+t.trim().replace(t[0],t[0].toUpperCase());r.importObject("uni-id-co",{customUI:!0})[i](e).then((e=>{s({title:"登录成功",icon:"none",duration:2e3}),e.loginType=t,p.loginSuccess(e)})).catch((e=>{g({content:e.message,confirmText:"知道了",showCancel:!1})})).finally((e=>{"univerify"==t&&uni.closeAuthView(),l()}))},doUserProfileNext(){try{p.loginSuccess()}catch(e){console.log(e)}},getUserInfo:async e=>new Promise(((t,i)=>{uni.getUserInfo({...e,success:e=>{t(e)},fail:e=>{g({content:JSON.stringify(e),showCancel:!1}),i(e)}})}))}},[["render",function(e,t,i,n,o,s){const a=_,l=x,u=C;return c(),d(u,null,{default:f((()=>[h(u,{class:"fab-login-box"},{default:f((()=>[(c(!0),m(y,null,w(o.servicesList,((e,t)=>(c(),d(u,{class:"item",key:t,onClick:t=>e.path?s.toPage(e.path):s.login_before(e.id,!1)},{default:f((()=>[h(a,{class:"logo",src:e.logo,mode:"scaleToFill"},null,8,["src"]),h(l,{class:"login-title"},{default:f((()=>[v(b(e.text),1)])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})}],["__scopeId","data-v-358aab82"]]);export{S as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-sms-form-f3a905f0.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-sms-form-f3a905f0.css
new file mode 100644
index 0000000000000000000000000000000000000000..291e3c9ab5c4e72083457abe2ce725900ea12826
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-sms-form-f3a905f0.css
@@ -0,0 +1 @@
+.box[data-v-c9fb6b9d]{position:relative;margin-top:10px}.short-code-btn[data-v-c9fb6b9d]{padding:0;position:absolute;top:0;right:8px;width:8.125rem;max-width:100px;height:44px;display:flex;justify-content:center;align-items:center}.inner-text[data-v-c9fb6b9d]{font-size:14px;color:#aaa}.inner-text-active[data-v-c9fb6b9d]{color:#04498c}.captcha[data-v-c9fb6b9d]{width:10.9375rem}.input-box[data-v-c9fb6b9d]{margin:0;padding:4px;background-color:#f8f8f8;font-size:14px}.box[data-v-c9fb6b9d] .content-clear-icon{margin-right:110px}.box[data-v-c9fb6b9d]{display:flex;flex-direction:row}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-sms-form.2fbc0429.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-sms-form.2fbc0429.js
new file mode 100644
index 0000000000000000000000000000000000000000..802ef681f444d928cfdb2472afa0ef89f2ab992f
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-id-pages-sms-form.2fbc0429.js
@@ -0,0 +1 @@
+import{_ as e,s as t,L as s,f as a,g as n,o,c as i,w as r,a as u,z as c,d as l,t as h,p as d,i as m}from"./index-389238f5.js";import{_ as p}from"./uni-captcha.7a7d8040.js";import{_ as f}from"./uni-easyinput.a1fc57c1.js";const g=e({name:"uni-sms-form",model:{prop:"modelValue",event:"update:modelValue"},props:{event:["update:modelValue"],count:{type:[String,Number],default:60},phone:{type:[String,Number],default:""},type:{type:String,default:()=>"login"},focusCaptchaInput:{type:Boolean,default:()=>!1}},data:()=>({captcha:"",reverseNumber:0,reverseTimer:null,modelValue:"",focusSmsCodeInput:!1}),watch:{captcha(e,t){4==e.length&&4!=t.length&&this.start()},modelValue(e){this.$emit("input",e),this.$emit("update:modelValue",e)}},computed:{innerText(){return 0==this.reverseNumber?"获取短信验证码":"重新发送("+this.reverseNumber+"s)"}},created(){this.initClick()},methods:{getImageCaptcha(e){this.$refs.captcha.getImageCaptcha(e)},initClick(){this.start=function(e,t){let s;return t=t||500,function(){let a=this,n=arguments;s&&clearTimeout(s);let o=!s;s=setTimeout((()=>{s=null}),t),o&&e.apply(a,n)}}((()=>{0==this.reverseNumber&&this.sendMsg()}))},sendMsg(){if(4!=this.captcha.length)return this.$refs.captcha.focusCaptchaInput=!0,t({title:"请先输入图形验证码",icon:"none",duration:3e3});if(!/^1\d{10}$/.test(this.phone))return t({title:"手机号格式错误",icon:"none",duration:3e3});const e=s.importObject("uni-id-co",{customUI:!0});console.log("sendSmsCode",{mobile:this.phone,scene:this.type,captcha:this.captcha}),e.sendSmsCode({mobile:this.phone,scene:this.type,captcha:this.captcha}).then((e=>{t({title:"短信验证码发送成功",icon:"none",duration:3e3}),this.reverseNumber=Number(this.count),this.getCode()})).catch((e=>{"uni-id-invalid-sms-template-id"==e.code?(this.modelValue="123456",t({title:"已启动测试模式,详情【控制台信息】",icon:"none",duration:3e3}),console.warn(e.message)):(this.getImageCaptcha(),this.captcha="",t({title:e.message,icon:"none",duration:3e3}))}))},getCode(){if(0==this.reverseNumber)return clearTimeout(this.reverseTimer),void(this.reverseTimer=null);this.reverseNumber--,this.reverseTimer=setTimeout((()=>{this.getCode()}),1e3)}}},[["render",function(e,t,s,g,b,v){const C=a(n("uni-captcha"),p),V=a(n("uni-easyinput"),f),y=d,I=m;return o(),i(I,null,{default:r((()=>[u(C,{focus:s.focusCaptchaInput,ref:"captcha",scene:"send-sms-code",modelValue:b.captcha,"onUpdate:modelValue":t[0]||(t[0]=e=>b.captcha=e)},null,8,["focus","modelValue"]),u(I,{class:"box"},{default:r((()=>[u(V,{focus:b.focusSmsCodeInput,onBlur:t[1]||(t[1]=e=>b.focusSmsCodeInput=!1),type:"number",class:"input-box",inputBorder:!1,modelValue:b.modelValue,"onUpdate:modelValue":t[2]||(t[2]=e=>b.modelValue=e),maxlength:"6",clearable:!1,placeholder:"请输入短信验证码"},null,8,["focus","modelValue"]),u(I,{class:"short-code-btn","hover-class":"hover",onClick:e.start},{default:r((()=>[u(y,{class:c(["inner-text",0==b.reverseNumber?"inner-text-active":""])},{default:r((()=>[l(h(v.innerText),1)])),_:1},8,["class"])])),_:1},8,["onClick"])])),_:1})])),_:1})}],["__scopeId","data-v-c9fb6b9d"]]);export{g as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-id-permissions.7a340838.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-id-permissions.7a340838.js
new file mode 100644
index 0000000000000000000000000000000000000000..a89f6de13b7e4d3c589d9e97bb3a31b2e0e98f0c
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-id-permissions.7a340838.js
@@ -0,0 +1 @@
+const e={permission_id:{rules:[{required:!0},{format:"string"}],label:"权限标识"},permission_name:{rules:[{required:!0},{format:"string"}],label:"权限名称"},comment:{rules:[{format:"string"}],label:"备注"}},t={};function a(e,t){let a={};for(let r in e){let{type:l,value:n}=e[r];switch(l){case"search":"string"==typeof n&&n.length&&(a[r]=new RegExp(n));break;case"select":if(n.length){let e=[];for(let a of n)e.push(t.eq(a));a[r]=t.or(e)}break;case"range":if(n.length){let e=n[0],l=n[1];a[r]=t.and([t.gte(e),t.lte(l)])}break;case"date":if(n.length){let[e,l]=n,s=new Date(e),i=new Date(l);a[r]=t.and([t.gte(s),t.lte(i)])}break;case"timestamp":if(n.length){let[e,l]=n;a[r]=t.and([t.gte(e),t.lte(l)])}}}return a}export{t as e,a as f,e as v};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-id-roles.ef72d0a7.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-id-roles.ef72d0a7.js
new file mode 100644
index 0000000000000000000000000000000000000000..6cece3b8006505d7b6a8e1b6b89f50f74c92a62b
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-id-roles.ef72d0a7.js
@@ -0,0 +1 @@
+const e={role_id:{rules:[{required:!0},{format:"string"}],label:"唯一ID"},role_name:{rules:[{required:!0},{format:"string"}],label:"名称"},permission:{rules:[{format:"array"}],label:"权限"},comment:{rules:[{format:"string"}],label:"备注"},create_date:{rules:[{format:"timestamp"}]}},t={};function a(e,t){let a={};for(let r in e){let{type:l,value:s}=e[r];switch(l){case"search":"string"==typeof s&&s.length&&(a[r]=new RegExp(s));break;case"select":if(s.length){let e=[];for(let a of s)e.push(t.eq(a));a[r]=t.or(e)}break;case"range":if(s.length){let e=s[0],l=s[1];a[r]=t.and([t.gte(e),t.lte(l)])}break;case"date":if(s.length){let[e,l]=s,n=new Date(e),i=new Date(l);a[r]=t.and([t.gte(n),t.lte(i)])}break;case"timestamp":if(s.length){let[e,l]=s;a[r]=t.and([t.gte(e),t.lte(l)])}}}return a}export{t as e,a as f,e as v};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-id-users.cf221585.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-id-users.cf221585.js
new file mode 100644
index 0000000000000000000000000000000000000000..347705c6748e7dbc28c7ed9e0981eb8ab88e469a
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-id-users.cf221585.js
@@ -0,0 +1 @@
+const e={username:{rules:[{required:!0,errorMessage:"请输入用户名"},{minLength:3,maxLength:32,errorMessage:"用户名长度在 {minLength} 到 {maxLength} 个字符"},{validateFunction:function(e,t,a,l){return(/^1\d{10}$/.test(t)||/^(\w-*\.*)+@(\w-?)+(\.\w{2,})+$/.test(t))&&l("用户名不能是:手机号或邮箱"),/^\d+$/.test(t)&&l("用户名不能为纯数字"),/[\u4E00-\u9FA5\uF900-\uFA2D]{1,}/.test(t)&&l("用户名不能包含中文"),!0}}],label:"用户名"},nickname:{rules:[{minLength:3,maxLength:32,errorMessage:"昵称长度在 {minLength} 到 {maxLength} 个字符"},{validateFunction:function(e,t,a,l){return(/^1\d{10}$/.test(t)||/^(\w-*\.*)+@(\w-?)+(\.\w{2,})+$/.test(t))&&l("昵称不能是:手机号或邮箱"),/^\d+$/.test(t)&&l("昵称不能为纯数字"),!0}}],label:"昵称"},password:{rules:[{required:!0},{format:"password"},{minLength:6}],label:"密码"},mobile:{rules:[{format:"string"},{pattern:"^\\+?[0-9-]{3,20}$"}],label:"手机号码"},status:{rules:[{format:"int"},{range:[{text:"正常",value:0},{text:"禁用",value:1},{text:"审核中",value:2},{text:"审核拒绝",value:3}]}],defaultValue:0,label:"用户状态"},email:{rules:[{format:"string"},{format:"email"}],label:"邮箱"},role:{rules:[{format:"array"}],label:"角色"},last_login_date:{rules:[{format:"timestamp"}]}},t={status_valuetotext:{0:"正常",1:"禁用",2:"审核中",3:"审核拒绝"}};function a(e,t){let a={};for(let l in e){let{type:r,value:n}=e[l];switch(r){case"search":"string"==typeof n&&n.length&&(a[l]=new RegExp(n));break;case"select":if(n.length){let e=[];for(let a of n)e.push(t.eq(a));a[l]=t.or(e)}break;case"range":if(n.length){let e=n[0],r=n[1];a[l]=t.and([t.gte(e),t.lte(r)])}break;case"date":if(n.length){let[e,r]=n,s=new Date(e),u=new Date(r);a[l]=t.and([t.gte(s),t.lte(u)])}break;case"timestamp":if(n.length){let[e,r]=n;a[l]=t.and([t.gte(e),t.lte(r)])}}}return a}export{t as e,a as f,e as v};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-link-8c2d623c.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-link-8c2d623c.css
new file mode 100644
index 0000000000000000000000000000000000000000..b081870311b92fa1ac489be07af343f9c95bca62
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-link-8c2d623c.css
@@ -0,0 +1 @@
+.uni-link[data-v-44511933]{cursor:pointer}.uni-link--withline[data-v-44511933]{text-decoration:underline}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-link.d3d03343.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-link.d3d03343.js
new file mode 100644
index 0000000000000000000000000000000000000000..4b4f2bc9be9e517c090b6ceabb3e69af34f83e87
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-link.d3d03343.js
@@ -0,0 +1 @@
+import{_ as e,aB as t,o as i,e as n,C as s,d as o,t as l,z as r,I as a,c as d,w as h,p as u}from"./index-389238f5.js";const f=e({name:"uniLink",props:{href:{type:String,default:""},text:{type:String,default:""},download:{type:String,default:""},showUnderLine:{type:[Boolean,String],default:!0},copyTips:{type:String,default:"已自动复制网址,请在手机浏览器里粘贴该网址"},color:{type:String,default:"#999999"},fontSize:{type:[Number,String],default:14}},computed:{isShowA(){return this._isH5=!0,!(!this.isMail()&&!this.isTel()||!0!==this._isH5)}},created(){this._isH5=null},methods:{isMail(){return this.href.startsWith("mailto:")},isTel(){return this.href.startsWith("tel:")},openURL(){window.open(this.href)},makePhoneCall(e){t({phoneNumber:e})}}},[["render",function(e,t,f,p,c,w){const S=u;return w.isShowA?(i(),n("a",{key:0,class:r(["uni-link",{"uni-link--withline":!0===f.showUnderLine||"true"===f.showUnderLine}]),href:f.href,style:a({color:f.color,fontSize:f.fontSize+"px"}),download:f.download},[s(e.$slots,"default",{},(()=>[o(l(f.text),1)]),!0)],14,["href","download"])):(i(),d(S,{key:1,class:r(["uni-link",{"uni-link--withline":!0===f.showUnderLine||"true"===f.showUnderLine}]),style:a({color:f.color,fontSize:f.fontSize+"px"}),onClick:w.openURL},{default:h((()=>[s(e.$slots,"default",{},(()=>[o(l(f.text),1)]),!0)])),_:3},8,["class","style","onClick"]))}],["__scopeId","data-v-44511933"]]);export{f as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-load-more-45eaeab2.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-load-more-45eaeab2.css
new file mode 100644
index 0000000000000000000000000000000000000000..8bd0e2cfcfdf79838577e3b350e7332354bf98b1
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-load-more-45eaeab2.css
@@ -0,0 +1 @@
+.uni-load-more[data-v-d82f3750]{display:flex;flex-direction:row;height:40px;align-items:center;justify-content:center}.uni-load-more__text[data-v-d82f3750]{font-size:14px;margin-left:8px}.uni-load-more__img[data-v-d82f3750]{width:24px;height:24px}.uni-load-more__img--nvue[data-v-d82f3750]{color:#666}.uni-load-more__img--android[data-v-d82f3750],.uni-load-more__img--ios[data-v-d82f3750]{width:24px;height:24px;transform:rotate(0)}.uni-load-more__img--android[data-v-d82f3750]{animation:loading-ios 1s 0s linear infinite}@keyframes loading-android-d82f3750{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.uni-load-more__img--ios-H5[data-v-d82f3750]{position:relative;animation:loading-ios-H5-d82f3750 1s 0s step-end infinite}.uni-load-more__img--ios-H5 uni-image[data-v-d82f3750]{position:absolute;width:100%;height:100%;left:0;top:0}@keyframes loading-ios-H5-d82f3750{0%{transform:rotate(0)}8%{transform:rotate(30deg)}16%{transform:rotate(60deg)}24%{transform:rotate(90deg)}32%{transform:rotate(120deg)}40%{transform:rotate(150deg)}48%{transform:rotate(180deg)}56%{transform:rotate(210deg)}64%{transform:rotate(240deg)}73%{transform:rotate(270deg)}82%{transform:rotate(300deg)}91%{transform:rotate(330deg)}to{transform:rotate(360deg)}}.uni-load-more__img--android-H5[data-v-d82f3750]{animation:loading-android-H5-rotate-d82f3750 2s linear infinite;transform-origin:center center}.uni-load-more__img--android-H5 circle[data-v-d82f3750]{display:inline-block;animation:loading-android-H5-dash-d82f3750 1.5s ease-in-out infinite;stroke:currentColor;stroke-linecap:round}@keyframes loading-android-H5-rotate-d82f3750{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes loading-android-H5-dash-d82f3750{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40}to{stroke-dasharray:90,150;stroke-dashoffset:-120}}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-load-more.67944ae0.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-load-more.67944ae0.js
new file mode 100644
index 0000000000000000000000000000000000000000..1394f98ecb325fc666a9495f5e5f45b41d410506
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-load-more.67944ae0.js
@@ -0,0 +1 @@
+import{Y as e,ap as o,_ as n,o as t,c as i,w as c,e as a,I as d,J as s,a as l,b as A,d as h,t as m,m as r,i as w,p as E}from"./index-389238f5.js";const u={en:{"uni-load-more.contentdown":"Pull up to show more","uni-load-more.contentrefresh":"loading...","uni-load-more.contentnomore":"No more data"},"zh-Hans":{"uni-load-more.contentdown":"上拉显示更多","uni-load-more.contentrefresh":"正在加载...","uni-load-more.contentnomore":"没有更多数据了"},"zh-Hant":{"uni-load-more.contentdown":"上拉顯示更多","uni-load-more.contentrefresh":"正在加載...","uni-load-more.contentnomore":"沒有更多數據了"}};let I;setTimeout((()=>{I=e().platform}),16);const{t:R}=o(u);const D=n({name:"UniLoadMore",emits:["clickLoadMore"],props:{status:{type:String,default:"more"},showIcon:{type:Boolean,default:!0},iconType:{type:String,default:"auto"},iconSize:{type:Number,default:24},color:{type:String,default:"#777777"},contentText:{type:Object,default:()=>({contentdown:"",contentrefresh:"",contentnomore:""})},showText:{type:Boolean,default:!0}},data:()=>({webviewHide:!1,platform:I,imgBase64:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QzlBMzU3OTlEOUM0MTFFOUI0NTZDNERBQURBQzI4RkUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QzlBMzU3OUFEOUM0MTFFOUI0NTZDNERBQURBQzI4RkUiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpDOUEzNTc5N0Q5QzQxMUU5QjQ1NkM0REFBREFDMjhGRSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpDOUEzNTc5OEQ5QzQxMUU5QjQ1NkM0REFBREFDMjhGRSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pt+ALSwAAA6CSURBVHja1FsLkFZVHb98LM+F5bHL8khA1iSeiyQBCRM+YGqKUnnJTDLGI0BGZlKDIU2MMglUiDApEZvSsZnQtBRJtKwQNKQMFYeRDR10WOLd8ljYXdh+v8v5fR3Od+797t1dnOnO/Ofce77z+J//+b/P+ZqtXbs2sJ9MJhNUV1cHJ06cCJo3bx7EPc2aNcvpy7pWrVoF+/fvDyoqKoI2bdoE9fX1F7TjN8a+EXBn/fkfvw942Tf+wYMHg9mzZwfjxo0LDhw4EPa1x2MbFw/fOGfPng1qa2tzcCkILsLDydq2bRsunpOTMM7TD/W/tZDZhPdeKD+yGxHhdu3aBV27dg3OnDlzMVANMheLAO3btw8KCwuDmpoaX5OxbgUIMEq7K8IcPnw4KCsrC/r37x8cP378/4cAXAB3vqSkJMuiDhTkw+XcuXNhOWbMmKBly5YhUT8xArhyFvP0BfwRsAuwxJZJsm/nzp2DTp06he/OU+cZ64K6o0ePBkOHDg2GDx8e6gEbJ5Q/NHNuAJQ1hgBeHUDlR7nVTkY8rQAvAi4z34vR/mPs1FoRsaCgIJThI0eOBC1atEiFGGV+5MiRoS45efJkqFjJFXV1dQuA012m2WcwTw98fy6CqBdsaiIO4CScrGPHjvk4odhavPquRtFWXEC25VgkREKOCh/qDSq+vn37htzD/mZTOmOc5U7zKzBPEedygWshcDyWvs30igAbU+6oyMgJBCFhwQE0fccxN60Ay9iebbjoDh06hMowjQxT4fXq1SskArmHZpkArvixp/kWzHdMeArExSJEaiXIjjRjRJ4DaAGWpibLzXN3Fm1vA5teBgh3j1Rv3bp1YgKwPdmf2p9zcyNYYgPKMfY0T5f5nNYdw158nJ8QawW4CLKwiOBSEgO/hok2eBydR+3dYH+PLxA5J8Vv0KBBwenTp0P2JWAx6+yFEBfs8lMY+y0SWMBNI9E4ThKi58VKTg3FQZS1RQF1cz27eC0QHMu+3E0SkUowjhVt5VdaWhp07949ZHv2Qd1EjDXM2cla1M0nl3GxAs3J9yREzyTdFVKVFOaE9qRA8GM0WebRuo9JGZKA7Mv2SeS/Z8+eoQ9BArMfFrLGo6jvxbhHbJZnKX2Rzz1O7QhJJ9Cs2ZMaWIyq/zhdeqPNfIoHd58clIQD+JSXl4dKlyIAuBdVXZwFVWKspSSoxE++h8x4k3uCnEhE4I5KwRiFWGOU0QWKiCYLbdoRMRKAu2kQ9vkfLU6dOhX06NEjlH+yMRZSinnuyWnYosVcji8CEA/6Cg2JF+IIUBqnGKUTCNwtwBN4f89RiK1R96DEgO2o0NDmtEdvVFdVVYV+P3UAPUEs6GFwV3PHmXkD4vh74iDFJysVI/MlaQhwKeBNTLYX5VuA8T4/gZxA4MRGFxDB6R7OmYPfyykGRJbyie+XnGYnQIC/coH9+vULiYrxrkL9ZA9+0ykaHIfEpM7ge8TiJ2CsHYwyMfafAF1yCGBHYIbCVDjDjKt7BeB51D+LgQa6OkG7IDYEEtvQ7lnXLKLtLdLuJBpE4gPUXcW2+PkZwOex+4cGDhwYDBkyRL7/HFcEwUGPo/8uWRUpYnfxGHco8HkewLHLyYmAawAPuIFZxhOpDfJQ8gbUv41yORAptMWBNr6oqMhWird5+u+iHmBb2nhjDV7HWBNQTgK8y11l5NetWzc5ULscAtSj7nbNI0skhWeUZCc0W4nyH/jO4Vz0u1IeYhbk4AiwM6tjxIWByHsoZ9qcIBPJd/y+DwPfBESOmCa/QF3WiZHucLlEDpNxcNhmheEOPgdQNx6/VZFQzFZ5TN08AHXQt2Ii3EdyFuUsPtTcGPhW5iMiCNELvz+Gdn9huG4HUJaW/w3g0wxV0XaG7arG2WeKiUWYM4Y7GO5ezshTARbbWGw/DvXkpp/ivVvE0JVoMxN4rpGzJMhE5Pl+xlATsDIqikP9F9D2z3h9nOksEUFhK+qO4rcPkoalMQ/HqJLIyb3F3JdjrCcw1yZ8joyJLR5gCo54etlag7qIoeNh1N1BRYj3DTFJ0elotxPlVzkGuYAmL0VSJVGAJA41c4Z6A3BzTLfn0HYwYKEI6CUAMzZEWvLsIcQOo1AmmyyM72nHJCfYsogflGV6jEk9vyQZXSuq6w4c16NsGcGZbwOPr+H1RkOk2LEzjNepxQkihHSCQ4ynAYNRx2zMKV92CQMWqj8J0BRE8EShxRFN6YrfCRhC0x3r/Zm4IbQCcmJoV0kMamllccR6FjHqUC5F2R/wS2dcymOlfAKOS4KmzQb5cpNC2MC7JhVn5wjXoJ44rYhLh8n0eXOCorJxa7POjbSlCGVczr34/RsAmrcvo9s+wGp3tzVhntxiXiJ4nvEYb4FJkf0O8HocAePmLvCxnL0AORraVekJk6TYjDabRVXfRE2lCN1h6ZQRN1+InUbsCpKwoBZHh0dODN9JBCUffItXxEavTQkUtnfTVAplCWL3JISz29h4NjotnuSsQKJCk8dF+kJR6RARjrqFVmfPnj3ZbK8cIJ0msd6jgHPGtfVTQ8VLmlvh4mct9sobRmPic0DyDQQnx/NlfYUgyz59+oScsH379pAwXABD32nTpoUHIToESeI5mnbE/UqDdyLcafEBf2MCqgC7NwxIbMREJQ0g4D4sfJwnD+AmRrII05cfMWJE+L1169bQr+fip06dGp4oJ83lmYd5wj/EmMa4TaHivo4EeCguYZBnkB5g2aWA69OIEnUHOaGysjIYMGBAMGnSpODYsWPZwCpFmm4lNq+4gSLQA7jcX8DwtjEyRC8wjabnXEx9kfWnTJkSJkAo90xpJVV+FmcVNeYAF5zWngS4C4O91MBxmAv8blLEpbjI5sz9MTdAhcgkCT1RO8mZkAjfiYpTEvStAS53Uw1vAiUGgZ3GpuQEYvoiBqlIan7kSDHnTwJQFNiPu0+5VxCVYhcZIjNrdXUDdp+Eq5AZ3Gkg8QAyVZRZIk4Tl4QAbF9cXJxNYZMAtAokgs4BrNxEpCtteXg7DDTMDKYNSuQdKsnJBek7HxewvxaosWxLYXtw+cJp18217wql4aKCfBNoEu0O5VU+PhctJ0YeXD4C6JQpyrlpSLTojpGGGN5YwNziChdIZLk4lvLcFJ9jMX3QdiImY9bmGQU+TRUL5CHITTRlgF8D9ouD1MfmLoEPl5xokIumZ2cfgMpHt47IW9N64Hsh7wQYYjyIugWuF5fCqYncXRd5vPMWyizzvhi/32+nvG0dZc9vR6fZOu0md5e+uC408FvKSIOZwXlGvxPv95izA2Vtvg1xKFWARI+vMX66HUhpQQb643uW1bSjuTWyw2SBvDrBvjFic1eGGlz5esq3ko9uSIlBRqPuFcCv8F4WIcN12nVaBd0SaYwI6PDDImR11JkqgHcPmQssjxIn6bUshygDFJUTxPMpHk+jfjPgupgdnYV2R/g7xSjtpah8RJBewhwf0gGK6XI92u4wXFEU40afJ4DN4h5LcAd+40HI3JgJecuT0c062W0i2hQJUTcxan3/CMW1PF2K6bbA+Daz4xRs1D3Br1Cm0OihKCqizW78/nXAF/G5TXrEcVzaNMH6CyMswqsAHqDyDLEyou8lwOXnKF8DjI6KjV3KzMBiXkDH8ij/H214J5A596ekrZ3F0zXlWeL7+P5eUrNo3/QwC15uxthuzidy7DzKRwEDaAViiDgKbTbz7CJnzo0bN7pIfIiid8SuPwn25o3QCmpnyjlZkyxPP8EomCJzrGb7GJMx7tNsq4MT2xMUYaiErZOluTzKsnz3gwCeCZyVRZJfYplNEokEjwrPtxlxjeYAk+F1F74VAzPxQRNYYdtpOUvWs8J1sGhBJMNsb7igN8plJs1eSmLIhLKE4rvaCX27gOhLpLOsIzJ7qn/i+wZzcvSOZ23/du8TZjwV8zHIXoP4R3ifBxiFz1dcVpa3aPntPE+c6TmIWE9EtcMmAcPdWAhYhAXxcLOQi9L1WhD1Sc8p1d2oL7XGiRKp8F4A2i8K/nfI+y/gsTDJ/YC/8+AD5Uh04KHiGl+cIFPnBDDrPMjwRGkLXyxO4VGbfQWnDH2v0bVWE3C9QOXlepbgjEfIJQI6XDG3z5ahD9cw2pS78ipB85wyScNTvsVzlzzhL8/jRrnmVjfFJK/m3m4nj9vbgQTguT8XZTjsm672R5uJKEaQmBI/c58gyus8ZDagLpEVSJBIyHp4jn++xqPV71OgQgJYEWOtZ/haxRtKmWOBu8xdBLftWltsY84zE6WIEy/eIOWL+BaayMx+KHtL7EAkqdNDLiEXmEMUHniedtJqg9HmZtfvt26vNi0BdG3Ft3g8ZOf7PAu59TxtzivLNIekyi+wD1i8CuUiD9FXAa8C+/xS3JPmZnomyc7H+fb4/Se0bk41Fel621r4cgVxbq91V4jVqwB7HTe2M7jgB+QWHavZkDRPmZcASoZEmBx6i75bGjPcMdL4/VKGFAGWZkGzPG0XAbdL9A81G5LOmUnC9hHKJeO7dcUMjblSl12867ElFTtaGl20xvvLGPdVz/8TVuU7y0x1PG7vtNg24oz9Uo/Z412++VFWI7Fcog9tu9Lm6gvRmIPv9x1xmQAu6RDkXtbOtlGEmpgD5Nvnyc0dcv0EE6cfdi1HmhMf9wDF3k3gtRvEedhxjpgfqPb9PU9iEJHnyOUA7bQUXh6kq/D7l2iTjWv7XOD530BDr8jIrus+srXjt4MzumJMHuTsBa63YKE1+RR5lBjEikCCnWKWiHdzOgKO+nRIBAF88za/IFmJ3eMZov4CYxGBabcpGL8EYx+SeMXJeRwHNsV/h+vdxeuhEpN3ZyNY78Gm2fknJxVGhyjixPiQvVkNzT1elD9Py/aTAL64Hb9vcYmC9zfdXdT/C1LeGbg4rnBaAihDFJH12W5ulfNCNe/xTsP3bp8ikzJs5BF+5PNfAQYAPaseTdsEcaYAAAAASUVORK5CYII="}),computed:{iconSnowWidth(){return 2*(Math.floor(this.iconSize/24)||1)},contentdownText(){return this.contentText.contentdown||R("uni-load-more.contentdown")},contentrefreshText(){return this.contentText.contentrefresh||R("uni-load-more.contentrefresh")},contentnomoreText(){return this.contentText.contentnomore||R("uni-load-more.contentnomore")}},mounted(){},methods:{onClick(){this.$emit("clickLoadMore",{detail:{status:this.status}})}}},[["render",function(e,o,n,u,I,R){const D=r,J=w,x=E;return t(),i(J,{class:"uni-load-more",onClick:R.onClick},{default:c((()=>[!I.webviewHide&&("circle"===n.iconType||"auto"===n.iconType&&"android"===I.platform)&&"loading"===n.status&&n.showIcon?(t(),a("svg",{key:0,width:"24",height:"24",viewBox:"25 25 50 50",style:d({width:n.iconSize+"px",height:n.iconSize+"px"}),class:"uni-load-more__img uni-load-more__img--android-H5"},[s("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:d({color:n.color}),"stroke-width":3},null,4)],4)):!I.webviewHide&&"loading"===n.status&&n.showIcon?(t(),i(J,{key:1,style:d({width:n.iconSize+"px",height:n.iconSize+"px"}),class:"uni-load-more__img uni-load-more__img--ios-H5"},{default:c((()=>[l(D,{src:I.imgBase64,mode:"widthFix"},null,8,["src"])])),_:1},8,["style"])):A("",!0),n.showText?(t(),i(x,{key:2,class:"uni-load-more__text",style:d({color:n.color})},{default:c((()=>[h(m("more"===n.status?R.contentdownText:"loading"===n.status?R.contentrefreshText:R.contentnomoreText),1)])),_:1},8,["style"])):A("",!0)])),_:1},8,["onClick"])}],["__scopeId","data-v-d82f3750"]]);export{D as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-match-media-9d3d031f.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-match-media-9d3d031f.css
new file mode 100644
index 0000000000000000000000000000000000000000..89c6a7b114c444ab9ca5d7cd1f3af9cba3cdc384
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-match-media-9d3d031f.css
@@ -0,0 +1 @@
+uni-view[data-v-f04bde01]{display:block}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-match-media.cb822f29.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-match-media.cb822f29.js
new file mode 100644
index 0000000000000000000000000000000000000000..f1c8a1d137e77c537facde53dcecfccb7084d73b
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-match-media.cb822f29.js
@@ -0,0 +1 @@
+import{_ as t,ah as i,P as e,T as a,o as h,c as n,w as s,C as d,i as r}from"./index-389238f5.js";let m;const o=t({name:"UniMatchMedia",props:{width:{type:[Number,String],default:""},minWidth:{type:[Number,String],default:""},maxWidth:{type:[Number,String],default:""},height:{type:[Number,String],default:""},minHeight:{type:[Number,String],default:""},maxHeight:{type:[Number,String],default:""},orientation:{type:String,default:""}},data:()=>({matches:!0}),mounted(){m=i(this),m.observe({width:this.width,maxWidth:this.maxWidth,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight,maxHeight:this.maxHeight,orientation:this.orientation},(t=>{this.matches=t}))},destroyed(){m.disconnect()}},[["render",function(t,i,m,o,u,g){const l=r;return e((h(),n(l,null,{default:s((()=>[d(t.$slots,"default",{},void 0,!0)])),_:3},512)),[[a,u.matches]])}],["__scopeId","data-v-f04bde01"]]);export{o as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-notice-bar-9aaf6cb8.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-notice-bar-9aaf6cb8.css
new file mode 100644
index 0000000000000000000000000000000000000000..11eec06eca4021d86d75064188252f7c3b17f370
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-notice-bar-9aaf6cb8.css
@@ -0,0 +1 @@
+.uni-noticebar[data-v-69ae3424]{display:flex;width:100%;box-sizing:border-box;flex-direction:row;align-items:center;padding:10px 12px;margin-bottom:10px}.uni-cursor-point[data-v-69ae3424]{cursor:pointer}.uni-noticebar-close[data-v-69ae3424]{margin-left:8px;margin-right:5px}.uni-noticebar-icon[data-v-69ae3424]{margin-right:5px}.uni-noticebar__content-wrapper[data-v-69ae3424]{flex:1;flex-direction:column;overflow:hidden}.uni-noticebar__content-wrapper--single[data-v-69ae3424]{line-height:18px}.uni-noticebar__content-wrapper--single[data-v-69ae3424],.uni-noticebar__content-wrapper--scrollable[data-v-69ae3424]{flex-direction:row}.uni-noticebar__content-wrapper--scrollable[data-v-69ae3424]{position:relative}.uni-noticebar__content--scrollable[data-v-69ae3424]{flex:1;display:block;overflow:hidden}.uni-noticebar__content--single[data-v-69ae3424]{display:flex;flex:none;width:100%;justify-content:center}.uni-noticebar__content-text[data-v-69ae3424]{font-size:14px;line-height:18px;word-break:break-all}.uni-noticebar__content-text--single[data-v-69ae3424]{display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.uni-noticebar__content-text--scrollable[data-v-69ae3424]{position:absolute;display:block;height:18px;line-height:18px;white-space:nowrap;padding-left:100%;animation:notice-69ae3424 10s 0s linear infinite both;animation-play-state:paused}.uni-noticebar__more[data-v-69ae3424]{display:inline-flex;flex-direction:row;flex-wrap:nowrap;align-items:center;padding-left:5px}@keyframes notice-69ae3424{to{transform:translate3d(-100%,0,0)}}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-notice-bar.629dd577.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-notice-bar.629dd577.js
new file mode 100644
index 0000000000000000000000000000000000000000..e57bfb555fc2491fb52432f4b0e61cd65396cf93
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-notice-bar.629dd577.js
@@ -0,0 +1 @@
+import{_ as e,al as t,f as o,A as i,g as n,o as a,c as l,w as s,b as r,a as c,z as u,I as h,d,t as m,p,i as b}from"./index-389238f5.js";const y=e({name:"UniNoticeBar",emits:["click","getmore","close"],props:{text:{type:String,default:""},moreText:{type:String,default:""},backgroundColor:{type:String,default:"#FFF9EA"},speed:{type:Number,default:100},color:{type:String,default:"#FF9A43"},fontSize:{type:Number,default:14},moreColor:{type:String,default:"#FF9A43"},single:{type:[Boolean,String],default:!1},scrollable:{type:[Boolean,String],default:!1},showIcon:{type:[Boolean,String],default:!1},showGetMore:{type:[Boolean,String],default:!1},showClose:{type:[Boolean,String],default:!1}},data:()=>({textWidth:0,boxWidth:0,wrapWidth:"",webviewHide:!1,elId:`Uni_${Math.ceil(1e6*Math.random()).toString(36)}`,elIdBox:`Uni_${Math.ceil(1e6*Math.random()).toString(36)}`,show:!0,animationDuration:"none",animationPlayState:"paused",animationDelay:"0s"}),computed:{isShowGetMore(){return!0===this.showGetMore||"true"===this.showGetMore},isShowClose(){return!(!0!==this.showClose&&"true"!==this.showClose||!1!==this.showGetMore&&"false"!==this.showGetMore)}},mounted(){this.$nextTick((()=>{this.initSize()}))},methods:{initSize(){if(this.scrollable){let e=[],o=new Promise(((e,o)=>{t().in(this).select(`#${this.elId}`).boundingClientRect().exec((t=>{this.textWidth=t[0].width,e()}))})),i=new Promise(((e,o)=>{t().in(this).select(`#${this.elIdBox}`).boundingClientRect().exec((t=>{this.boxWidth=t[0].width,e()}))}));e.push(o),e.push(i),Promise.all(e).then((()=>{this.animationDuration=this.textWidth/this.speed+"s",this.animationDelay=`-${this.boxWidth/this.speed}s`,setTimeout((()=>{this.animationPlayState="running"}),1e3)}))}},loopAnimation(){},clickMore(){this.$emit("getmore")},close(){this.show=!1,this.$emit("close")},onClick(){this.$emit("click")}}},[["render",function(e,t,y,w,f,S){const _=o(n("uni-icons"),i),g=p,x=b;return f.show?(a(),l(x,{key:0,class:"uni-noticebar",style:h({backgroundColor:y.backgroundColor}),onClick:S.onClick},{default:s((()=>[!0===y.showIcon||"true"===y.showIcon?(a(),l(_,{key:0,class:"uni-noticebar-icon",type:"sound",color:y.color,size:1.5*y.fontSize},null,8,["color","size"])):r("",!0),c(x,{ref:"textBox",class:u(["uni-noticebar__content-wrapper",{"uni-noticebar__content-wrapper--scrollable":y.scrollable,"uni-noticebar__content-wrapper--single":!y.scrollable&&(y.single||y.moreText)}]),style:h({height:y.scrollable?1.5*y.fontSize+"px":"auto"})},{default:s((()=>[c(x,{id:f.elIdBox,class:u(["uni-noticebar__content",{"uni-noticebar__content--scrollable":y.scrollable,"uni-noticebar__content--single":!y.scrollable&&(y.single||y.moreText)}])},{default:s((()=>[c(g,{id:f.elId,ref:"animationEle",class:u(["uni-noticebar__content-text",{"uni-noticebar__content-text--scrollable":y.scrollable,"uni-noticebar__content-text--single":!y.scrollable&&(y.single||y.showGetMore)}]),style:h({color:y.color,fontSize:y.fontSize+"px",lineHeight:1.5*y.fontSize+"px",width:f.wrapWidth+"px",animationDuration:f.animationDuration,"-webkit-animationDuration":f.animationDuration,animationPlayState:f.webviewHide?"paused":f.animationPlayState,"-webkit-animationPlayState":f.webviewHide?"paused":f.animationPlayState,animationDelay:f.animationDelay,"-webkit-animationDelay":f.animationDelay})},{default:s((()=>[d(m(y.text),1)])),_:1},8,["id","class","style"])])),_:1},8,["id","class"])])),_:1},8,["class","style"]),S.isShowGetMore?(a(),l(x,{key:1,class:"uni-noticebar__more uni-cursor-point",onClick:S.clickMore},{default:s((()=>[y.moreText.length>0?(a(),l(g,{key:0,style:h({color:y.moreColor,fontSize:y.fontSize+"px"})},{default:s((()=>[d(m(y.moreText),1)])),_:1},8,["style"])):(a(),l(_,{key:1,type:"right",color:y.moreColor,size:1.1*y.fontSize},null,8,["color","size"]))])),_:1},8,["onClick"])):r("",!0),S.isShowClose?(a(),l(x,{key:2,class:"uni-noticebar-close uni-cursor-point"},{default:s((()=>[c(_,{type:"closeempty",color:y.color,size:1.1*y.fontSize,onClick:S.close},null,8,["color","size","onClick"])])),_:1})):r("",!0)])),_:1},8,["style","onClick"])):r("",!0)}],["__scopeId","data-v-69ae3424"]]);export{y as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-pagination-a9a41ff3.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-pagination-a9a41ff3.css
new file mode 100644
index 0000000000000000000000000000000000000000..bda23fbb246d11d014bba400630a4af3b5ababca
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-pagination-a9a41ff3.css
@@ -0,0 +1 @@
+.uni-pagination[data-v-bd0b20fd]{display:flex;position:relative;overflow:hidden;flex-direction:row;justify-content:center;align-items:center}.uni-pagination__total[data-v-bd0b20fd]{font-size:14px;color:#999;margin-right:15px}.uni-pagination__btn[data-v-bd0b20fd]{display:flex;cursor:pointer;padding:0 8px;line-height:30px;font-size:12px;position:relative;background-color:#f0f0f0;flex-direction:row;justify-content:center;align-items:center;text-align:center;border-radius:5px}.uni-pagination__child-btn[data-v-bd0b20fd]{display:flex;position:relative;flex-direction:row;justify-content:center;align-items:center;text-align:center;color:#666;font-size:12px}.uni-pagination__num[data-v-bd0b20fd]{display:flex;flex:1;flex-direction:row;justify-content:center;align-items:center;height:30px;line-height:30px;font-size:12px;color:#666;margin:0 5px}.uni-pagination__num-tag[data-v-bd0b20fd]{cursor:pointer;min-width:30px;margin:0 5px;height:30px;text-align:center;line-height:30px;color:#999;border-radius:4px}.uni-pagination__num-current[data-v-bd0b20fd]{display:flex;flex-direction:row}.uni-pagination__num-current-text[data-v-bd0b20fd]{font-size:15px}.current-index-text[data-v-bd0b20fd]{color:#2979ff}.uni-pagination--enabled[data-v-bd0b20fd]{color:#333;opacity:1}.uni-pagination--disabled[data-v-bd0b20fd]{opacity:.5;cursor:default}.uni-pagination--hover[data-v-bd0b20fd]{color:rgba(0,0,0,.6);background-color:#eee}.tag--active[data-v-bd0b20fd]:hover{color:#2979ff}.page--active[data-v-bd0b20fd]{color:#fff;background-color:#2979ff}.page--active[data-v-bd0b20fd]:hover{color:#fff}.is-pc-hide[data-v-bd0b20fd]{display:block}.is-phone-hide[data-v-bd0b20fd]{display:none}@media screen and (min-width: 450px){.is-pc-hide[data-v-bd0b20fd]{display:none}.is-phone-hide[data-v-bd0b20fd]{display:block}.uni-pagination__num-flex-none[data-v-bd0b20fd]{flex:none}}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-pagination.018f31ea.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-pagination.018f31ea.js
new file mode 100644
index 0000000000000000000000000000000000000000..195d04138c6f736baaea2280aae88c7641f1d00f
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-pagination.018f31ea.js
@@ -0,0 +1 @@
+import{ap as e,_ as t,f as n,A as i,g as a,o as r,c as s,w as u,a as c,d as p,t as o,b as l,z as g,e as h,F as d,r as x,p as m,q as f,K as _,i as P}from"./index-389238f5.js";const I={en:{"uni-pagination.prevText":"prev","uni-pagination.nextText":"next","uni-pagination.piecePerPage":"piece/page"},es:{"uni-pagination.prevText":"anterior","uni-pagination.nextText":"prxima","uni-pagination.piecePerPage":"Art��culo/P��gina"},fr:{"uni-pagination.prevText":"précédente","uni-pagination.nextText":"suivante","uni-pagination.piecePerPage":"Articles/Pages"},"zh-Hans":{"uni-pagination.prevText":"上一页","uni-pagination.nextText":"下一页","uni-pagination.piecePerPage":"条/页"},"zh-Hant":{"uni-pagination.prevText":"上一頁","uni-pagination.nextText":"下一頁","uni-pagination.piecePerPage":"條/頁"}},{t:k}=e(I);const v=t({name:"UniPagination",emits:["update:modelValue","input","change","pageSizeChange"],props:{value:{type:[Number,String],default:1},modelValue:{type:[Number,String],default:1},prevText:{type:String},nextText:{type:String},piecePerPageText:{type:String},current:{type:[Number,String],default:1},total:{type:[Number,String],default:0},pageSize:{type:[Number,String],default:10},showIcon:{type:[Boolean,String],default:!1},showPageSize:{type:[Boolean,String],default:!1},pagerCount:{type:Number,default:7},pageSizeRange:{type:Array,default:()=>[20,50,100,500]}},data:()=>({pageSizeIndex:0,currentIndex:1,paperData:[],pickerShow:!1}),computed:{piecePerPage(){return this.piecePerPageText||k("uni-pagination.piecePerPage")},prevPageText(){return this.prevText||k("uni-pagination.prevText")},nextPageText(){return this.nextText||k("uni-pagination.nextText")},maxPage(){let e=1,t=Number(this.total),n=Number(this.pageSize);return t&&n&&(e=Math.ceil(t/n)),e},paper(){const e=this.currentIndex,t=this.pagerCount,n=this.total,i=this.pageSize;let a=[],r=[],s=Math.ceil(n/i);for(let c=0;c{(t+1)/2>=e?n1&&r.push(n):e+2<=u?n>e-(t+1)/2&&ne-(t+1)/2||s-tt?((t+1)/2>=e?r[r.length-1]="...":e+2<=u?(r[1]="...",r[r.length-1]="..."):r[1]="...",r.push(a[a.length-1])):(t+1)/2>=e||e+2<=u||(r.shift(),r.push(a[a.length-1])),r}},watch:{current:{immediate:!0,handler(e,t){this.currentIndex=e<1?1:e}},value:{immediate:!0,handler(e){1===Number(this.current)&&(this.currentIndex=e<1?1:e)}},pageSizeIndex(e){this.$emit("pageSizeChange",this.pageSizeRange[e])}},methods:{pickerChange(e){this.pageSizeIndex=e.detail.value,this.pickerClick()},pickerClick(){const e=document.querySelector("body");if(!e)return;const t="uni-pagination-picker-show";this.pickerShow=!this.pickerShow,this.pickerShow?e.classList.add(t):setTimeout((()=>e.classList.remove(t)),300)},selectPage(e,t){if(parseInt(e))this.currentIndex=e,this.change("current");else{let e=Math.ceil(this.total/this.pageSize);if(t<=1)return void(this.currentIndex-5>1?this.currentIndex-=5:this.currentIndex=1);if(t>=6)return void(this.currentIndex+5>e?this.currentIndex=e:this.currentIndex+=5)}},clickLeft(){1!==Number(this.currentIndex)&&(this.currentIndex-=1,this.change("prev"))},clickRight(){Number(this.currentIndex)>=this.maxPage||(this.currentIndex+=1,this.change("next"))},change(e){this.$emit("input",this.currentIndex),this.$emit("update:modelValue",this.currentIndex),this.$emit("change",{type:e,current:this.currentIndex})}}},[["render",function(e,t,I,k,v,S){const y=m,z=n(a("uni-icons"),i),b=f,T=_,C=P;return r(),s(C,{class:"uni-pagination"},{default:u((()=>[!0===I.showPageSize||"true"===I.showPageSize?(r(),s(T,{key:0,class:"select-picker",mode:"selector",value:v.pageSizeIndex,range:I.pageSizeRange,onChange:S.pickerChange,onCancel:S.pickerClick,onClick:S.pickerClick},{default:u((()=>[c(b,{type:"default",size:"mini",plain:!0},{default:u((()=>[c(y,null,{default:u((()=>[p(o(I.pageSizeRange[v.pageSizeIndex])+" "+o(S.piecePerPage),1)])),_:1}),c(z,{class:"select-picker-icon",type:"arrowdown",size:"12",color:"#999"})])),_:1})])),_:1},8,["value","range","onChange","onCancel","onClick"])):l("",!0),c(C,{class:"uni-pagination__total is-phone-hide"},{default:u((()=>[p("共 "+o(I.total)+" 条",1)])),_:1}),c(C,{class:g(["uni-pagination__btn",1===v.currentIndex?"uni-pagination--disabled":"uni-pagination--enabled"]),"hover-class":1===v.currentIndex?"":"uni-pagination--hover","hover-start-time":20,"hover-stay-time":70,onClick:S.clickLeft},{default:u((()=>[!0===I.showIcon||"true"===I.showIcon?(r(),s(z,{key:0,color:"#666",size:"16",type:"left"})):(r(),s(y,{key:1,class:"uni-pagination__child-btn"},{default:u((()=>[p(o(S.prevPageText),1)])),_:1}))])),_:1},8,["class","hover-class","onClick"]),c(C,{class:"uni-pagination__num uni-pagination__num-flex-none"},{default:u((()=>[c(C,{class:"uni-pagination__num-current"},{default:u((()=>[c(y,{class:"uni-pagination__num-current-text is-pc-hide current-index-text"},{default:u((()=>[p(o(v.currentIndex),1)])),_:1}),c(y,{class:"uni-pagination__num-current-text is-pc-hide"},{default:u((()=>[p("/"+o(S.maxPage||0),1)])),_:1}),(r(!0),h(d,null,x(S.paper,((e,t)=>(r(),s(C,{key:t,class:g([{"page--active":e===v.currentIndex},"uni-pagination__num-tag tag--active is-phone-hide"]),onClick:n=>S.selectPage(e,t)},{default:u((()=>[c(y,null,{default:u((()=>[p(o(e),1)])),_:2},1024)])),_:2},1032,["class","onClick"])))),128))])),_:1})])),_:1}),c(C,{class:g(["uni-pagination__btn",v.currentIndex>=S.maxPage?"uni-pagination--disabled":"uni-pagination--enabled"]),"hover-class":v.currentIndex===S.maxPage?"":"uni-pagination--hover","hover-start-time":20,"hover-stay-time":70,onClick:S.clickRight},{default:u((()=>[!0===I.showIcon||"true"===I.showIcon?(r(),s(z,{key:0,color:"#666",size:"16",type:"right"})):(r(),s(y,{key:1,class:"uni-pagination__child-btn"},{default:u((()=>[p(o(S.nextPageText),1)])),_:1}))])),_:1},8,["class","hover-class","onClick"])])),_:1})}],["__scopeId","data-v-bd0b20fd"]]);export{v as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-pay-orders.57c55841.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-pay-orders.57c55841.js
new file mode 100644
index 0000000000000000000000000000000000000000..07c2bae3b9e196d2280102007c2b1f5eaf988747
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-pay-orders.57c55841.js
@@ -0,0 +1 @@
+const e={provider_valuetotext:{wxpay:"微信支付",alipay:"支付宝",appleiap:"苹果应用内支付"},status_valuetotext:{0:"未支付",1:"已支付",2:"已部分退款",3:"已全额退款","-1":"已关闭"}};function t(e,t){let a={};for(let l in e){let{type:n,value:s}=e[l];switch(n){case"search":"string"==typeof s&&s.length&&(a[l]=new RegExp(s));break;case"select":if(s.length){let e=[];for(let a of s)e.push(t.eq(a));a[l]=t.or(e)}break;case"range":if(s.length){let e=s[0],n=s[1];a[l]=t.and([t.gte(e),t.lte(n)])}break;case"date":if(s.length){let[e,n]=s,r=new Date(e),i=new Date(n);a[l]=t.and([t.gte(r),t.lte(i)])}break;case"timestamp":if(s.length){let[e,n]=s;a[l]=t.and([t.gte(e),t.lte(n)])}}}return a}export{e,t as f};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-popup-captcha-e8a89b0e.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-popup-captcha-e8a89b0e.css
new file mode 100644
index 0000000000000000000000000000000000000000..7c855fd1a715993c2bf9ddec162c0a28ac3616f3
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-popup-captcha-e8a89b0e.css
@@ -0,0 +1 @@
+uni-view[data-v-f0f3582f]{display:flex;flex-direction:column}.popup-captcha[data-v-f0f3582f]{display:flex;max-width:600px;width:18.75rem;padding-bottom:0;background-color:#fff;border-radius:10px;flex-direction:column;position:relative}.popup-captcha .content[data-v-f0f3582f]{padding:1.3em .8em}.popup-captcha .title[data-v-f0f3582f]{text-align:center;word-wrap:break-word;word-break:break-all;white-space:pre-wrap;font-weight:400;font-size:18px;overflow:hidden;text-overflow:ellipsis;color:#111;margin-bottom:15px}.button-box[data-v-f0f3582f]{height:44px;border-top:solid 1px #eee;flex-direction:row;align-items:center;justify-content:space-around}.button-box[data-v-f0f3582f],.btn[data-v-f0f3582f]{height:44px;line-height:44px}.button-box .btn[data-v-f0f3582f]{flex:1;margin:1px;text-align:center}.button-box .confirm[data-v-f0f3582f]{color:#007aff;border-left:solid 1px #eee}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-popup-captcha.a1d919b2.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-popup-captcha.a1d919b2.js
new file mode 100644
index 0000000000000000000000000000000000000000..09fc0ec158eb2e2e44d6da94278c123035cc9e96
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-popup-captcha.a1d919b2.js
@@ -0,0 +1 @@
+import{_ as e,s as t,f as s,g as a,a5 as o,o as l,c,w as n,a as u,d as i,t as p,p as f,i as r}from"./index-389238f5.js";import{_ as d}from"./uni-captcha.7a7d8040.js";const m=e({data:()=>({focus:!1}),props:{modelValue:String,value:String,scene:{type:String,default:()=>""},title:{type:String,default:()=>""}},computed:{val:{get(){return this.value||this.modelValue},set(e){this.$emit("update:modelValue",e)}}},methods:{open(){this.focus=!0,this.val="",this.$refs.popup.open()},close(){this.focus=!1,this.$refs.popup.close()},confirm(){if(!this.val)return t({title:"请填写验证码",icon:"none"});this.close(),this.$emit("confirm")}}},[["render",function(e,t,m,h,_,v){const g=f,V=s(a("uni-captcha"),d),b=r,k=s(a("uni-popup"),o);return l(),c(k,{ref:"popup",type:"center"},{default:n((()=>[u(b,{class:"popup-captcha"},{default:n((()=>[u(b,{class:"content"},{default:n((()=>[u(g,{class:"title"},{default:n((()=>[i(p(m.title),1)])),_:1}),u(V,{focus:_.focus,scene:m.scene,modelValue:v.val,"onUpdate:modelValue":t[0]||(t[0]=e=>v.val=e)},null,8,["focus","scene","modelValue"])])),_:1}),u(b,{class:"button-box"},{default:n((()=>[u(b,{onClick:v.close,class:"btn"},{default:n((()=>[i("取消")])),_:1},8,["onClick"]),u(b,{onClick:v.confirm,class:"btn confirm"},{default:n((()=>[i("确认")])),_:1},8,["onClick"])])),_:1})])),_:1})])),_:1},512)}],["__scopeId","data-v-f0f3582f"]]);export{m as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-popup-dialog-95c0e766.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-popup-dialog-95c0e766.css
new file mode 100644
index 0000000000000000000000000000000000000000..d4ad6312a2292cde9b391348fa36eaa77a8a549b
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-popup-dialog-95c0e766.css
@@ -0,0 +1 @@
+.uni-popup-dialog[data-v-fcded7e8]{width:300px;border-radius:11px;background-color:#fff}.uni-dialog-title[data-v-fcded7e8]{display:flex;flex-direction:row;justify-content:center;padding-top:25px}.uni-dialog-title-text[data-v-fcded7e8]{font-size:16px;font-weight:500}.uni-dialog-content[data-v-fcded7e8]{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:20px}.uni-dialog-content-text[data-v-fcded7e8]{font-size:14px;color:#6c6c6c}.uni-dialog-button-group[data-v-fcded7e8]{display:flex;flex-direction:row;border-top-color:#f5f5f5;border-top-style:solid;border-top-width:1px}.uni-dialog-button[data-v-fcded7e8]{display:flex;flex:1;flex-direction:row;justify-content:center;align-items:center;height:45px}.uni-border-left[data-v-fcded7e8]{border-left-color:#f0f0f0;border-left-style:solid;border-left-width:1px}.uni-dialog-button-text[data-v-fcded7e8]{font-size:16px;color:#333}.uni-button-color[data-v-fcded7e8]{color:#2979ff}.uni-dialog-input[data-v-fcded7e8]{flex:1;font-size:14px;border:1px #eee solid;height:40px;padding:0 10px;border-radius:5px;color:#555}.uni-popup__success[data-v-fcded7e8]{color:#18bc37}.uni-popup__warn[data-v-fcded7e8]{color:#f3a73f}.uni-popup__error[data-v-fcded7e8]{color:#e43d33}.uni-popup__info[data-v-fcded7e8]{color:#909399}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-popup-dialog.39d6dc6f.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-popup-dialog.39d6dc6f.js
new file mode 100644
index 0000000000000000000000000000000000000000..0a19d6332ea5310fb3ae939cb3d0b71c4b05d525
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-popup-dialog.39d6dc6f.js
@@ -0,0 +1 @@
+import{ap as e,_ as t,o,c as l,w as i,a,z as p,d as u,t as n,C as s,p as c,i as d,M as r}from"./index-389238f5.js";const h={data:()=>({}),created(){this.popup=this.getParent()},methods:{getParent(e="uniPopup"){let t=this.$parent,o=t.$options.name;for(;o!==e;){if(t=t.$parent,!t)return!1;o=t.$options.name}return t}}},f={en:{"uni-popup.cancel":"cancel","uni-popup.ok":"ok","uni-popup.placeholder":"pleace enter","uni-popup.title":"Hint","uni-popup.shareTitle":"Share to"},"zh-Hans":{"uni-popup.cancel":"取消","uni-popup.ok":"确定","uni-popup.placeholder":"请输入","uni-popup.title":"提示","uni-popup.shareTitle":"分享到"},"zh-Hant":{"uni-popup.cancel":"取消","uni-popup.ok":"確定","uni-popup.placeholder":"請輸入","uni-popup.title":"提示","uni-popup.shareTitle":"分享到"}},{t:g}=e(f);const m=t({name:"uniPopupDialog",mixins:[h],emits:["confirm","close"],props:{value:{type:[String,Number],default:""},placeholder:{type:[String,Number],default:""},type:{type:String,default:"error"},mode:{type:String,default:"base"},title:{type:String,default:""},content:{type:String,default:""},beforeClose:{type:Boolean,default:!1},cancelText:{type:String,default:""},confirmText:{type:String,default:""}},data:()=>({dialogType:"error",focus:!1,val:""}),computed:{okText(){return this.confirmText||g("uni-popup.ok")},closeText(){return this.cancelText||g("uni-popup.cancel")},placeholderText(){return this.placeholder||g("uni-popup.placeholder")},titleText(){return this.title||g("uni-popup.title")}},watch:{type(e){this.dialogType=e},mode(e){"input"===e&&(this.dialogType="info")},value(e){this.val=e}},created(){this.popup.disableMask(),"input"===this.mode?(this.dialogType="info",this.val=this.value):this.dialogType=this.type},mounted(){this.focus=!0},methods:{onOk(){"input"===this.mode?this.$emit("confirm",this.val):this.$emit("confirm"),this.beforeClose||this.popup.close()},closeDialog(){this.$emit("close"),this.beforeClose||this.popup.close()},close(){this.popup.close()}}},[["render",function(e,t,h,f,g,m){const y=c,T=d,x=r;return o(),l(T,{class:"uni-popup-dialog"},{default:i((()=>[a(T,{class:"uni-dialog-title"},{default:i((()=>[a(y,{class:p(["uni-dialog-title-text",["uni-popup__"+g.dialogType]])},{default:i((()=>[u(n(m.titleText),1)])),_:1},8,["class"])])),_:1}),"base"===h.mode?(o(),l(T,{key:0,class:"uni-dialog-content"},{default:i((()=>[s(e.$slots,"default",{},(()=>[a(y,{class:"uni-dialog-content-text"},{default:i((()=>[u(n(h.content),1)])),_:1})]),!0)])),_:3})):(o(),l(T,{key:1,class:"uni-dialog-content"},{default:i((()=>[s(e.$slots,"default",{},(()=>[a(x,{class:"uni-dialog-input",modelValue:g.val,"onUpdate:modelValue":t[0]||(t[0]=e=>g.val=e),type:"text",placeholder:m.placeholderText,focus:g.focus},null,8,["modelValue","placeholder","focus"])]),!0)])),_:3})),a(T,{class:"uni-dialog-button-group"},{default:i((()=>[a(T,{class:"uni-dialog-button",onClick:m.closeDialog},{default:i((()=>[a(y,{class:"uni-dialog-button-text"},{default:i((()=>[u(n(m.closeText),1)])),_:1})])),_:1},8,["onClick"]),a(T,{class:"uni-dialog-button uni-border-left",onClick:m.onOk},{default:i((()=>[a(y,{class:"uni-dialog-button-text uni-button-color"},{default:i((()=>[u(n(m.okText),1)])),_:1})])),_:1},8,["onClick"])])),_:1})])),_:3})}],["__scopeId","data-v-fcded7e8"]]);export{m as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-portal-8c737489.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-portal-8c737489.css
new file mode 100644
index 0000000000000000000000000000000000000000..618bdc678f8e51aec5cf449873efb5ef05cf688b
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-portal-8c737489.css
@@ -0,0 +1 @@
+.strong[data-v-9817eb0f]{padding:.3125rem;display:inline-block;color:#c7254e}.a-label[data-v-9817eb0f]{text-decoration:none;color:#0366d6;font-weight:700;padding:.3125rem}.text-separated[data-v-9817eb0f]{line-height:2em;color:#2c3e50}.tip[data-v-9817eb0f]{display:flex;flex-direction:column;align-items:flex-start;background-color:#f3f5f7;color:#2c3e50;padding:10px;font-size:1rem;border-color:#409eff;border-left-width:8px;border-left-style:solid}.tip uni-text[data-v-9817eb0f]{margin-right:15px}.tip .custom-button[data-v-9817eb0f]{margin-left:0}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-breadcrumb-41bb7932.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-breadcrumb-41bb7932.css
new file mode 100644
index 0000000000000000000000000000000000000000..4da33a32c429a164b50dec7e7167667d14e75aa9
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-breadcrumb-41bb7932.css
@@ -0,0 +1 @@
+.uni-breadcrumb-item[data-v-c8775c9c]{display:flex;align-items:center;white-space:nowrap;font-size:14px}.uni-breadcrumb-item--slot[data-v-c8775c9c]{color:#6a6a6a;padding:0 10px}.uni-breadcrumb-item--slot-link[data-v-c8775c9c]{color:#3a3a3a;font-weight:700;cursor:pointer}.uni-breadcrumb-item--slot-link[data-v-c8775c9c]:hover{color:#2979ff}.uni-breadcrumb-item--separator[data-v-c8775c9c]{font-size:12px;color:#6a6a6a}.uni-breadcrumb-item:first-child .uni-breadcrumb-item--slot[data-v-c8775c9c]{padding-left:0}.uni-breadcrumb-item:last-child .uni-breadcrumb-item--separator[data-v-c8775c9c]{display:none}.uni-breadcrumb[data-v-d7415a56]{display:flex}.uni-breadcrumb-x[data-v-14258348]{flex:1;display:flex;padding:0 5px;min-height:55px;line-height:55px;align-items:center}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-breadcrumb.647cd81f.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-breadcrumb.647cd81f.js
new file mode 100644
index 0000000000000000000000000000000000000000..d43114f0e6e8bacd1c38736c6512a7207dab8ac9
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-breadcrumb.647cd81f.js
@@ -0,0 +1 @@
+import{_ as a,ad as t,x as r,n as e,o as s,c as u,w as o,a as n,z as c,C as d,e as i,d as l,t as p,i as m,p as b,E as f,f as _,g as h,F as v,r as g}from"./index-389238f5.js";const C=a({data:()=>({currentPage:""}),options:{virtualHost:!0},props:{to:{type:String,default:""},replace:{type:Boolean,default:!1}},inject:{uniBreadcrumb:{from:"uniBreadcrumb",default:null}},created(){const a=t(),r=a[a.length-1];r&&(this.currentPage=`/${r.route}`)},computed:{separator(){return this.uniBreadcrumb.separator},separatorClass(){return this.uniBreadcrumb.separatorClass}},methods:{navTo(){const{to:a}=this;a&&this.currentPage!==a&&(this.replace?r({url:a}):e({url:a}))}}},[["render",function(a,t,r,e,f,_){const h=m,v=b;return s(),u(h,{class:"uni-breadcrumb-item"},{default:o((()=>[n(h,{class:c({"uni-breadcrumb-item--slot":!0,"uni-breadcrumb-item--slot-link":r.to&&f.currentPage!==r.to}),onClick:_.navTo},{default:o((()=>[d(a.$slots,"default",{},void 0,!0)])),_:3},8,["class","onClick"]),_.separatorClass?(s(),i("i",{key:0,class:c(["uni-breadcrumb-item--separator",_.separatorClass])},null,2)):(s(),u(v,{key:1,class:"uni-breadcrumb-item--separator"},{default:o((()=>[l(p(_.separator),1)])),_:1}))])),_:3})}],["__scopeId","data-v-c8775c9c"]]);const y=a({options:{virtualHost:!0},props:{separator:{type:String,default:"/"},separatorClass:{type:String,default:""}},provide(){return{uniBreadcrumb:this}}},[["render",function(a,t,r,e,n,c){const i=m;return s(),u(i,{class:"uni-breadcrumb"},{default:o((()=>[d(a.$slots,"default",{},void 0,!0)])),_:3})}],["__scopeId","data-v-d7415a56"]]);const k=a({name:"uni-stat-breadcrumb",data:()=>({}),computed:{...f("app",["routes"])}},[["render",function(a,t,r,e,c,d){const b=_(h("uni-breadcrumb-item"),C),f=_(h("uni-breadcrumb"),y),k=m;return s(),u(k,{class:"uni-breadcrumb-x"},{default:o((()=>[n(f,{separator:"/"},{default:o((()=>[(s(!0),i(v,null,g(a.routes,((a,t)=>(s(),u(b,{key:t,to:a.to&&a.to.path||""},{default:o((()=>[l(p(a.name),1)])),_:2},1032,["to"])))),128))])),_:1})])),_:1})}],["__scopeId","data-v-14258348"]]);export{k as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-panel-77ddbcf2.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-panel-77ddbcf2.css
new file mode 100644
index 0000000000000000000000000000000000000000..615015f0411889dff98857df23690ad0e841900d
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-panel-77ddbcf2.css
@@ -0,0 +1 @@
+.uni-stat-tooltip-s[data-v-e5a3af22]{width:160px;white-space:normal}.uni-stat--sum-x[data-v-e5a3af22]{display:flex;justify-content:space-evenly;flex-wrap:wrap;border-radius:4px;padding:15px;box-shadow:-1px -1px 5px rgba(0,0,0,.1)}.uni-stat--sum-item[data-v-e5a3af22]{white-space:nowrap;text-align:center;margin:10px 18px}.uni-stat--sum-item-width[data-v-e5a3af22]{width:100px}.uni-stat--sum-item-title[data-v-e5a3af22]{display:flex;align-items:center;justify-content:center;min-height:17px;font-size:12px;color:#666}.uni-stat--sum-item-value[data-v-e5a3af22]{font-size:24px;line-height:48px;font-weight:700;color:#333}.uni-stat--sum-item-contrast[data-v-e5a3af22]{font-size:14px;color:#666}@media screen and (max-width: 500px){.uni-stat--sum-x[data-v-e5a3af22]{padding:15px 0;justify-content:space-between;flex-wrap:unset;overflow-x:auto!important}[data-v-e5a3af22]::-webkit-scrollbar{display:none}}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-panel.2e6a5931.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-panel.2e6a5931.js
new file mode 100644
index 0000000000000000000000000000000000000000..fc9275033f8569b450af27ffcaa79db914039b6f
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-panel.2e6a5931.js
@@ -0,0 +1 @@
+import{_ as t,f as a,A as s,g as e,o as l,c as i,w as u,e as n,F as o,r as m,z as c,a as r,am as d,d as p,t as f,b as _,i as y}from"./index-389238f5.js";import{_ as v}from"./uni-tooltip.58062496.js";const k=t({name:"uni-stat-panel",data:()=>({}),props:{items:{type:Array,default:()=>[]},contrast:{type:Boolean,default:!1}}},[["render",function(t,k,x,b,h,j){const w=a(e("uni-icons"),s),A=y,g=a(e("uni-tooltip"),v);return l(),i(A,{class:"uni-stat--sum-x mb-m"},{default:u((()=>[(l(!0),n(o,null,m(x.items,((t,a)=>(l(),i(A,{key:a,class:c(["uni-stat--sum-item",["今天"===t.value?"uni-stat--sum-item-width":""]])},{default:u((()=>[r(g,null,d({default:u((()=>[r(A,{class:"uni-stat--sum-item-title"},{default:u((()=>[p(f(t.title?t.title:"")+" ",1),t.title?(l(),i(w,{key:0,class:"ml-s",type:"help",color:"#666"})):_("",!0)])),_:2},1024)])),_:2},[t.tooltip?{name:"content",fn:u((()=>[r(A,{class:"uni-stat-tooltip-s"},{default:u((()=>[p(f(t.tooltip),1)])),_:2},1024)])),key:"0"}:void 0]),1024),r(A,{class:"uni-stat--sum-item-value"},{default:u((()=>[p(f(t.value?t.value:0),1)])),_:2},1024),x.contrast?(l(),i(A,{key:0,class:"uni-stat--sum-item-contrast"},{default:u((()=>[p(f(t.contrast?t.contrast:0),1)])),_:2},1024)):_("",!0)])),_:2},1032,["class"])))),128))])),_:1})}],["__scopeId","data-v-e5a3af22"]]);export{k as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-table-836378df.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-table-836378df.css
new file mode 100644
index 0000000000000000000000000000000000000000..ee1887a0bcddb8f1683094cce226df4a14968c8d
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-table-836378df.css
@@ -0,0 +1 @@
+.uni-stat-tooltip-s[data-v-f1597293]{width:160px;white-space:normal}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-table.19e19a80.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-table.19e19a80.js
new file mode 100644
index 0000000000000000000000000000000000000000..0de4ffcf8081fcae489d218233c3e071f5136df7
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-table.19e19a80.js
@@ -0,0 +1 @@
+import{_ as t,f as a,A as e,g as l,h as o,j as i,k as s,l as n,o as d,c as u,w as p,a as f,e as r,F as y,r as _,am as c,d as k,t as m,b as g,i as b}from"./index-389238f5.js";import{_ as h}from"./uni-tooltip.58062496.js";const j=t({name:"uni-stat-table",data:()=>({}),props:{data:{type:Array,default:()=>[]},filedsMap:{type:Array,default:()=>[]},loading:{type:Boolean,default:!1},tooltip:{type:Boolean,default:!1}}},[["render",function(t,j,v,x,A,M){const B=a(l("uni-icons"),e),q=b,w=a(l("uni-tooltip"),h),F=a(l("uni-th"),o),I=a(l("uni-tr"),i),T=a(l("uni-td"),s),z=a(l("uni-table"),n);return d(),u(z,{loading:v.loading,border:"",stripe:"",emptyText:"暂无数据"},{default:p((()=>[f(I,null,{default:p((()=>[(d(!0),r(y,null,_(v.filedsMap,((t,a)=>(d(),r(y,{key:a},[t.title?(d(),u(F,{key:a,align:"center"},{default:p((()=>[f(w,null,c({default:p((()=>[k(m(t.title)+" ",1),v.tooltip&&t.tooltip?(d(),u(B,{key:0,type:"help",color:"#666"})):g("",!0)])),_:2},[v.tooltip&&t.tooltip?{name:"content",fn:p((()=>[f(q,{class:"uni-stat-tooltip-s"},{default:p((()=>[k(m(t.tooltip),1)])),_:2},1024)])),key:"0"}:void 0]),1024)])),_:2},1024)):g("",!0)],64)))),128))])),_:1}),(d(!0),r(y,null,_(v.data,((t,a)=>(d(),u(I,{key:a},{default:p((()=>[(d(!0),r(y,null,_(v.filedsMap,((a,e)=>(d(),r(y,{key:e},[a.title?(d(),u(T,{key:e,align:"center"},{default:p((()=>[k(m(void 0!==t[a.field]?t[a.field]:"-"),1)])),_:2},1024)):g("",!0)],64)))),128))])),_:2},1024)))),128))])),_:1},8,["loading"])}],["__scopeId","data-v-f1597293"]]);export{j as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-tabs-6fbceb64.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-tabs-6fbceb64.css
new file mode 100644
index 0000000000000000000000000000000000000000..ff237836e8d6d67031ec284c72f06d9fc551fff8
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-tabs-6fbceb64.css
@@ -0,0 +1 @@
+.uni-stat-tooltip-s[data-v-317b24ae]{width:160px;white-space:normal}.uni-label-text[data-v-317b24ae]{font-size:14px;font-weight:700;color:#555;margin-top:17px;margin-bottom:17px;margin-right:5px}.uni-stat--tab-x[data-v-317b24ae]{display:flex;margin:0 15px;white-space:nowrap}.uni-stat--tab[data-v-317b24ae]{display:flex;flex-wrap:wrap}.uni-stat--tab-item[data-v-317b24ae]{white-space:nowrap;font-size:14px;color:#666;text-align:center;cursor:pointer;box-sizing:border-box;margin:15px 0}.uni-stat--tab-item-disabled[data-v-317b24ae]{cursor:unset;opacity:.4}.uni-stat--tab-item-line[data-v-317b24ae]{margin-right:30px;padding:2px 0;border-bottom:1px solid transparent}.uni-stat--tab-item-line[data-v-317b24ae]:last-child{margin-right:0}.uni-stat--tab-item-line-active[data-v-317b24ae]{color:#2979ff;border-bottom:1px solid #2979ff}.uni-stat--tab-item-boldLine[data-v-317b24ae]{box-sizing:border-box;margin-right:30px;padding:2px 0;border-bottom:2px solid transparent}.uni-stat--tab-item-boldLine[data-v-317b24ae]:last-child{margin-right:0}.uni-stat--tab-item-boldLine-active[data-v-317b24ae]{box-sizing:border-box;color:#2979ff;border-bottom:2px solid #2979ff}.uni-stat--tab-item-box[data-v-317b24ae]{padding:5px 15px;border:1px solid #dcdfe6}.uni-stat--tab-item-box[data-v-317b24ae]:not(:last-child){border-right-color:transparent}.uni-stat--tab-item-box-active[data-v-317b24ae]{box-sizing:border-box;border:1px solid #2979ff!important}@media screen and (max-width: 500px){.hide-on-phone[data-v-317b24ae]{display:none}.uni-stat--tab[data-v-317b24ae]{flex-wrap:unset;overflow-x:auto!important}[data-v-317b24ae]::-webkit-scrollbar{display:none}}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-tabs.4355c19c.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-tabs.4355c19c.js
new file mode 100644
index 0000000000000000000000000000000000000000..cc045d8b2139db35016268fdef19fb4f996c0b78
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-stat-tabs.4355c19c.js
@@ -0,0 +1 @@
+import{_ as t,L as e,ak as a,v as s,f as i,A as l,g as n,o as r,c as d,w as o,d as h,t as c,b as u,a as m,z as p,e as f,F as b,r as y,am as _,i as g}from"./index-389238f5.js";import{_ as C}from"./uni-tooltip.58062496.js";const T=t({name:"uni-stat-tabs",data:()=>({currentTab:0,renderTabs:[],cacheKey:"uni-admin-statTabsData"}),props:{type:{type:String,default:"line"},value:{type:[String,Number],default:""},modelValue:{type:[String,Number],default:""},current:{type:[String,Number],default:0},mode:{type:String,default:""},today:{type:Boolean,default:!1},yesterday:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},tooltip:{type:Boolean,default:!1},all:{type:Boolean,default:!0},label:{type:String,default:""},placeholder:{type:String,default:"暂无选项"},tabs:{type:Array,default:()=>[]}},created(){this.last=`${this.mode.replace("-","_")}_last_data`},mounted(){this.init()},computed:{},watch:{current:{immediate:!0,handler(t){this.currentTab=t}},tabs:{immediate:!1,handler(t){this.init()}},renderTabs(t){const e=this.current;this.mode&&t.length&&e>=0&&this.$nextTick((function(){const t=this.renderTabs[e];this.change(t,e)}))}},methods:{init(){if(this.mode.indexOf("platform")>-1)this.renderTabs=this.getCache()||[],this.getPlatform();else if("date"===this.mode){const t=[{_id:7,name:"最近七天"},{_id:30,name:"最近30天"},{_id:90,name:"最近90天"}];this.yesterday&&t.unshift({_id:1,name:"昨天"}),this.today&&t.unshift({_id:0,name:"今天"}),this.renderTabs=t}else this.renderTabs=this.tabs},change(t,e){if(t.disabled)return;const a=t._id,s=t.name;this.currentTab=e,this.emit(a,e,s,t)},emit(t,e,a,s){this.$emit("change",t,e,a,s),this.$emit("input",t,e,a),this.$emit("update:modelValue",t,e,a)},getPlatform(){e.database().collection("uni-stat-app-platforms").get().then((t=>{let e=t.result.data;if(e=e.filter((t=>!t.hasOwnProperty("enable")||t.enable)),e.sort(((t,e)=>t.order-e.order)),"platform-channel"===this.mode){e=e.filter((t=>/^android|ios$/.test(t.code)));let t=e.map((t=>`platform_id == "${t._id}"`)).join(" || ");t=`(${t})`,this.setAllItem(e,t)}else if("platform-scene"===this.mode){e=e.filter((t=>/mp-/.test(t.code)));let t=e.map((t=>`platform_id == "${t._id}"`)).join(" || ");t=`(${t})`,this.setAllItem(e,t)}else this.setAllItem(e);this.setCache(e),this.renderTabs=e}))},setAllItem(t,e="",a="全部"){this.all&&t.unshift({name:a,_id:e})},getCurrentCacheKey(){return this.mode},getCache(t=this.getCurrentCacheKey()){return(a(this.cacheKey)||{})[t]},setCache(t,e=this.getCurrentCacheKey()){let i=a(this.cacheKey)||{};i[e]=t,s(this.cacheKey,i)},removeCache(t=this.getCurrentCacheKey()){let e=a(this.cacheKey)||{};delete e[t],s(this.cacheKey,e)}}},[["render",function(t,e,a,s,T,$){const k=g,K=i(n("uni-icons"),l),S=i(n("uni-tooltip"),C);return r(),d(k,{class:"uni-stat--tab-x"},{default:o((()=>[a.label?(r(),d(k,{key:0,class:"uni-label-text hide-on-phone"},{default:o((()=>[h(c(a.label+":"),1)])),_:1})):u("",!0),m(k,{class:"uni-stat--tab"},{default:o((()=>[T.renderTabs.length?(r(!0),f(b,{key:1},y(T.renderTabs,((t,e)=>(r(),d(k,{key:e,onClick:a=>$.change(t,e),class:p(["uni-stat--tab-item",[e===T.currentTab?`uni-stat--tab-item-${a.type}-active`:"",`uni-stat--tab-item-${a.type}`,t.disabled?"uni-stat--tab-item-disabled":""]])},{default:o((()=>[m(S,null,_({default:o((()=>[h(c(t.name)+" ",1),t.tooltip?(r(),d(K,{key:0,type:"help",color:"#666"})):u("",!0)])),_:2},[t.tooltip?{name:"content",fn:o((()=>[m(k,{class:"uni-stat-tooltip-s"},{default:o((()=>[h(c(t.tooltip),1)])),_:2},1024)])),key:"0"}:void 0]),1024)])),_:2},1032,["onClick","class"])))),128)):(r(),d(k,{key:0,class:p(["uni-stat--tab-item uni-stat--tab-item-disabled",[`uni-stat--tab-item-${a.type}`]])},{default:o((()=>[h(c(a.placeholder),1)])),_:1},8,["class"]))])),_:1})])),_:1})}],["__scopeId","data-v-317b24ae"]]);export{T as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-tooltip-6af3c8a4.css b/alpha/admin/unpackage/dist/build/h5/assets/uni-tooltip-6af3c8a4.css
new file mode 100644
index 0000000000000000000000000000000000000000..8f7f2847de5c0e5b6b01e40fdba2e729ff541862
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-tooltip-6af3c8a4.css
@@ -0,0 +1 @@
+.uni-tooltip[data-v-ed25c689]{position:relative;cursor:pointer}.uni-tooltip-popup[data-v-ed25c689]{z-index:1;display:none;position:absolute;left:0;background-color:#333;border-radius:8px;color:#fff;font-size:12px;text-align:left;line-height:16px;padding:12px}.uni-tooltip:hover .uni-tooltip-popup[data-v-ed25c689]{display:block}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni-tooltip.58062496.js b/alpha/admin/unpackage/dist/build/h5/assets/uni-tooltip.58062496.js
new file mode 100644
index 0000000000000000000000000000000000000000..cc8f14e79238828158e75d356ddc41f6d2d2645e
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni-tooltip.58062496.js
@@ -0,0 +1 @@
+import{_ as t,o,c as s,w as n,C as a,d as e,t as c,b as l,i as p}from"./index-389238f5.js";const d=t({name:"uni-tooltip",data:()=>({}),props:{content:{type:String,default:""},placement:{type:String,default:"bottom"}}},[["render",function(t,d,i,u,r,f){const _=p;return o(),s(_,{class:"uni-tooltip"},{default:n((()=>[a(t.$slots,"default",{},void 0,!0),i.content||t.$slots.content?(o(),s(_,{key:0,class:"uni-tooltip-popup"},{default:n((()=>[a(t.$slots,"content",{},(()=>[e(c(i.content),1)]),!0)])),_:3})):l("",!0)])),_:3})}],["__scopeId","data-v-ed25c689"]]);export{d as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni.baf7f1ff.css b/alpha/admin/unpackage/dist/build/h5/assets/uni.baf7f1ff.css
new file mode 100644
index 0000000000000000000000000000000000000000..5304e72700662f48059cf3c5a89d337538505685
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni.baf7f1ff.css
@@ -0,0 +1 @@
+uni-button{position:relative;display:block;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;box-sizing:border-box;font-size:18px;text-align:center;text-decoration:none;line-height:2.55555556;border-radius:5px;-webkit-tap-highlight-color:transparent;overflow:hidden;color:#000;background-color:#f8f8f8;cursor:pointer}uni-button[hidden]{display:none!important}uni-button:after{content:" ";width:200%;height:200%;position:absolute;top:0;left:0;border:1px solid rgba(0,0,0,.2);transform:scale(.5);transform-origin:0 0;box-sizing:border-box;border-radius:10px}uni-button[native]{padding-left:0;padding-right:0}uni-button[native] .uni-button-cover-view-wrapper{border:inherit;border-color:inherit;border-radius:inherit;background-color:inherit}uni-button[native] .uni-button-cover-view-inner{padding-left:14px;padding-right:14px}uni-button uni-cover-view{line-height:inherit;white-space:inherit}uni-button[type=default]{color:#000;background-color:#f8f8f8}uni-button[type=primary]{color:#fff;background-color:#007aff}uni-button[type=warn]{color:#fff;background-color:#e64340}uni-button[disabled]{color:rgba(255,255,255,.6);cursor:not-allowed}uni-button[disabled][type=default],uni-button[disabled]:not([type]){color:rgba(0,0,0,.3);background-color:#f7f7f7}uni-button[disabled][type=primary]{background-color:rgba(0,122,255,.6)}uni-button[disabled][type=warn]{background-color:#ec8b89}uni-button[type=primary][plain]{color:#007aff;border:1px solid #007aff;background-color:transparent}uni-button[type=primary][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=primary][plain]:after{border-width:0}uni-button[type=default][plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[type=default][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=default][plain]:after{border-width:0}uni-button[plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[plain]:after{border-width:0}uni-button[plain][native] .uni-button-cover-view-inner{padding:0}uni-button[type=warn][plain]{color:#e64340;border:1px solid #e64340;background-color:transparent}uni-button[type=warn][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=warn][plain]:after{border-width:0}uni-button[size=mini]{display:inline-block;line-height:2.3;font-size:13px;padding:0 1.34em}uni-button[size=mini][native]{padding:0}uni-button[size=mini][native] .uni-button-cover-view-inner{padding:0 1.34em}uni-button[loading]:not([disabled]){cursor:progress}uni-button[loading]:before{content:" ";display:inline-block;width:18px;height:18px;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}uni-button[loading][type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}uni-button[loading][type=primary][plain]{color:#007aff;background-color:transparent}uni-button[loading][type=default]{color:rgba(0,0,0,.6);background-color:#dedede}uni-button[loading][type=default][plain]{color:#353535;background-color:transparent}uni-button[loading][type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}uni-button[loading][type=warn][plain]{color:#e64340;background-color:transparent}uni-button[loading][native]:before{content:none}.button-hover{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}.button-hover[type=primary][plain]{color:rgba(0,122,255,.6);border-color:rgba(0,122,255,.6);background-color:transparent}.button-hover[type=default]{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[type=default][plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}.button-hover[type=warn][plain]{color:rgba(230,67,64,.6);border-color:rgba(230,67,64,.6);background-color:transparent}@media (prefers-color-scheme: dark){uni-button,uni-button[type=default]{color:#d6d6d6;background-color:#343434}.button-hover,.button-hover[type=default]{color:#d6d6d6;background-color:rgba(255,255,255,.1)}uni-button[disabled][type=default],uni-button[disabled]:not([type]){color:rgba(255,255,255,.2);background-color:rgba(255,255,255,.08)}uni-button[type=primary][plain][disabled]{color:rgba(255,255,255,.2);border-color:rgba(255,255,255,.2)}uni-button[type=default][plain]{color:#d6d6d6;border:1px solid #d6d6d6}.button-hover[type=default][plain]{color:rgba(150,150,150,.6);border-color:rgba(150,150,150,.6);background-color:rgba(50,50,50,.2)}uni-button[type=default][plain][disabled]{border-color:rgba(255,255,255,.2);color:rgba(255,255,255,.2)}}uni-canvas{width:300px;height:150px;display:block;position:relative}uni-canvas>.uni-canvas-canvas{position:absolute;top:0;left:0;width:100%;height:100%}uni-checkbox-group[hidden]{display:none}uni-checkbox{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-checkbox[hidden]{display:none}uni-checkbox[disabled]{cursor:not-allowed}.uni-checkbox-wrapper{display:inline-flex;align-items:center;vertical-align:middle}.uni-checkbox-input{margin-right:5px;appearance:none;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:22px;height:22px;position:relative}.uni-checkbox-input svg{color:#007aff;font-size:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73)}uni-checkbox:not([disabled]) .uni-checkbox-input:hover{border-color:#007aff}uni-checkbox-group{display:block}uni-image{width:320px;height:240px;display:inline-block;overflow:hidden;position:relative}uni-image[hidden]{display:none}uni-image>div{width:100%;height:100%;background-repeat:no-repeat}uni-image>img{-webkit-touch-callout:none;user-select:none;display:block;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0}uni-image>.uni-image-will-change{will-change:transform}uni-input{display:block;font-size:16px;line-height:1.4em;height:1.4em;min-height:1.4em;overflow:hidden}uni-input[hidden]{display:none}.uni-input-wrapper,.uni-input-placeholder,.uni-input-form,.uni-input-input{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-input-wrapper,.uni-input-form{display:flex;position:relative;width:100%;height:100%;flex-direction:column;justify-content:center}.uni-input-placeholder,.uni-input-input{width:100%}.uni-input-placeholder{position:absolute;top:auto!important;left:0;color:gray;overflow:hidden;text-overflow:clip;white-space:pre;word-break:keep-all;pointer-events:none;line-height:inherit}.uni-input-input{position:relative;display:block;height:100%;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-input-input[type=search]::-webkit-search-cancel-button,.uni-input-input[type=search]::-webkit-search-decoration{display:none}.uni-input-input::-webkit-outer-spin-button,.uni-input-input::-webkit-inner-spin-button{appearance:none;margin:0}.uni-input-input[type=number]{-moz-appearance:textfield}.uni-input-input:disabled{-webkit-text-fill-color:currentcolor}.uni-label-pointer{cursor:pointer}uni-movable-area{display:block;position:relative;width:10px;height:10px}uni-movable-area[hidden]{display:none}uni-movable-view{display:inline-block;width:10px;height:10px;top:0px;left:0px;position:absolute;cursor:grab}uni-movable-view[hidden]{display:none}uni-navigator{height:auto;width:auto;display:block;cursor:pointer}uni-navigator[hidden]{display:none}.navigator-hover{background-color:rgba(0,0,0,.1);opacity:.7}.navigator-wrap,.navigator-wrap:link,.navigator-wrap:visited,.navigator-wrap:hover,.navigator-wrap:active{text-decoration:none;color:inherit;cursor:pointer}uni-picker-view-column{flex:1;position:relative;height:100%;overflow:hidden}uni-picker-view-column[hidden]{display:none}.uni-picker-view-group{height:100%;overflow:hidden}.uni-picker-view-mask{transform:translateZ(0)}.uni-picker-view-indicator,.uni-picker-view-mask{position:absolute;left:0;width:100%;z-index:3;pointer-events:none}.uni-picker-view-mask{top:0;height:100%;margin:0 auto;background-image:linear-gradient(180deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6)),linear-gradient(0deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6));background-position:top,bottom;background-size:100% 102px;background-repeat:no-repeat;transform:translateZ(0)}.uni-picker-view-indicator{height:34px;top:50%;transform:translateY(-50%)}.uni-picker-view-content{position:absolute;top:0;left:0;width:100%;will-change:transform;padding:102px 0;cursor:pointer}.uni-picker-view-content>*{height:34px;overflow:hidden}.uni-picker-view-indicator:before{top:0;border-top:1px solid #e5e5e5;transform-origin:0 0;transform:scaleY(.5)}.uni-picker-view-indicator:after{bottom:0;border-bottom:1px solid #e5e5e5;transform-origin:0 100%;transform:scaleY(.5)}.uni-picker-view-indicator:after,.uni-picker-view-indicator:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#e5e5e5}@media (prefers-color-scheme: dark){.uni-picker-view-indicator:before{border-top-color:var(--UI-FG-3)}.uni-picker-view-indicator:after{border-bottom-color:var(--UI-FG-3)}.uni-picker-view-mask{background-image:linear-gradient(180deg,rgba(35,35,35,.95),rgba(35,35,35,.6)),linear-gradient(0deg,rgba(35,35,35,.95),rgba(35,35,35,.6))}}uni-picker-view{display:block}.uni-picker-view-wrapper{display:flex;position:relative;overflow:hidden;height:100%}uni-picker-view[hidden]{display:none}uni-progress{display:flex;align-items:center}uni-progress[hidden]{display:none}.uni-progress-bar{flex:1}.uni-progress-inner-bar{width:0;height:100%}.uni-progress-info{margin-top:0;margin-bottom:0;min-width:2em;margin-left:15px;font-size:16px}uni-radio-group{display:block}uni-radio-group[hidden]{display:none}uni-radio{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-radio[hidden]{display:none}uni-radio[disabled]{cursor:not-allowed}.uni-radio-wrapper{display:inline-flex;align-items:center;vertical-align:middle}.uni-radio-input{appearance:none;margin-right:5px;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:50%;width:22px;height:22px;position:relative}uni-radio:not([disabled]) .uni-radio-input:hover{border-color:#007aff}.uni-radio-input svg{color:#fff;font-size:18px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73)}.uni-radio-input.uni-radio-input-disabled{background-color:#e1e1e1;border-color:#d1d1d1}.uni-radio-input.uni-radio-input-disabled svg{color:#adadad}@keyframes once-show{0%{top:0}}uni-resize-sensor,uni-resize-sensor>div{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden}uni-resize-sensor{display:block;z-index:-1;visibility:hidden;animation:once-show 1ms}uni-resize-sensor>div>div{position:absolute;left:0;top:0}uni-resize-sensor>div:first-child>div{width:100000px;height:100000px}uni-resize-sensor>div:last-child>div{width:200%;height:200%}uni-scroll-view{display:block;width:100%}uni-scroll-view[hidden]{display:none}.uni-scroll-view{position:relative;-webkit-overflow-scrolling:touch;width:100%;height:100%;max-height:inherit}.uni-scroll-view-content{width:100%;height:100%}.uni-scroll-view-refresher{position:relative;overflow:hidden}.uni-scroll-view-refresh{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:row;justify-content:center;align-items:center}.uni-scroll-view-refresh-inner{display:flex;align-items:center;justify-content:center;line-height:0;width:40px;height:40px;border-radius:50%;background-color:#fff;box-shadow:0 1px 6px rgba(0,0,0,.118),0 1px 4px rgba(0,0,0,.118)}.uni-scroll-view-refresh__spinner{transform-origin:center center;animation:uni-scroll-view-refresh-rotate 2s linear infinite}.uni-scroll-view-refresh__spinner>circle{stroke:currentColor;stroke-linecap:round;animation:uni-scroll-view-refresh-dash 2s linear infinite}@keyframes uni-scroll-view-refresh-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes uni-scroll-view-refresh-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}uni-swiper-item{display:block;overflow:hidden;will-change:transform;position:absolute;width:100%;height:100%;cursor:grab}uni-swiper-item[hidden]{display:none}uni-swiper{display:block;height:150px}uni-swiper[hidden]{display:none}.uni-swiper-wrapper{overflow:hidden;position:relative;width:100%;height:100%;transform:translateZ(0)}.uni-swiper-slides{position:absolute;left:0;top:0;right:0;bottom:0}.uni-swiper-slide-frame{position:absolute;left:0;top:0;width:100%;height:100%;will-change:transform}.uni-swiper-dots{position:absolute;font-size:0}.uni-swiper-dots-horizontal{left:50%;bottom:10px;text-align:center;white-space:nowrap;transform:translate(-50%)}.uni-swiper-dots-horizontal .uni-swiper-dot{margin-right:8px}.uni-swiper-dots-horizontal .uni-swiper-dot:last-child{margin-right:0}.uni-swiper-dots-vertical{right:10px;top:50%;text-align:right;transform:translateY(-50%)}.uni-swiper-dots-vertical .uni-swiper-dot{display:block;margin-bottom:9px}.uni-swiper-dots-vertical .uni-swiper-dot:last-child{margin-bottom:0}.uni-swiper-dot{display:inline-block;width:8px;height:8px;cursor:pointer;transition-property:background-color;transition-timing-function:ease;background:rgba(0,0,0,.3);border-radius:50%}.uni-swiper-dot-active{background-color:#000}.uni-swiper-navigation{width:26px;height:26px;cursor:pointer;position:absolute;top:50%;margin-top:-13px;display:flex;align-items:center;transition:all .2s;border-radius:50%;opacity:1}.uni-swiper-navigation-disabled{opacity:.35;cursor:not-allowed}.uni-swiper-navigation-hide{opacity:0;cursor:auto;pointer-events:none}.uni-swiper-navigation-prev{left:10px}.uni-swiper-navigation-prev svg{margin-left:-1px;left:10px}.uni-swiper-navigation-prev.uni-swiper-navigation-vertical{top:18px;left:50%;margin-left:-13px}.uni-swiper-navigation-prev.uni-swiper-navigation-vertical svg{transform:rotate(90deg);margin-left:auto;margin-top:-2px}.uni-swiper-navigation-next{right:10px}.uni-swiper-navigation-next svg{transform:rotate(180deg)}.uni-swiper-navigation-next.uni-swiper-navigation-vertical{top:auto;bottom:5px;left:50%;margin-left:-13px}.uni-swiper-navigation-next.uni-swiper-navigation-vertical svg{margin-top:2px;transform:rotate(270deg)}uni-switch{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-switch[hidden]{display:none}uni-switch[disabled]{cursor:not-allowed}.uni-switch-wrapper{display:inline-flex;align-items:center;vertical-align:middle}.uni-switch-input{appearance:none;position:relative;width:52px;height:32px;margin-right:5px;border:1px solid #dfdfdf;outline:0;border-radius:16px;box-sizing:border-box;background-color:#dfdfdf;transition:background-color .1s,border .1s}uni-switch[disabled] .uni-switch-input{opacity:.7}.uni-switch-input:before{content:" ";position:absolute;top:0;left:0;width:50px;height:30px;border-radius:15px;background-color:#fdfdfd;transition:transform .3s}.uni-switch-input:after{content:" ";position:absolute;top:0;left:0;width:30px;height:30px;border-radius:15px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4);transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.uni-switch-input.uni-switch-input-checked{border-color:#007aff;background-color:#007aff}.uni-switch-input.uni-switch-input-checked:before{transform:scale(0)}.uni-switch-input.uni-switch-input-checked:after{transform:translate(20px)}uni-switch .uni-checkbox-input{margin-right:5px;appearance:none;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:22px;height:22px;position:relative;color:#007aff}uni-switch:not([disabled]) .uni-checkbox-input:hover{border-color:#007aff}uni-switch .uni-checkbox-input svg{fill:#007aff;font-size:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73)}.uni-checkbox-input.uni-checkbox-input-disabled{background-color:#e1e1e1}.uni-checkbox-input.uni-checkbox-input-disabled:before{color:#adadad}@media (prefers-color-scheme: dark){uni-switch .uni-switch-input{border-color:#3b3b3f}uni-switch .uni-switch-input,uni-switch .uni-switch-input:before{background-color:#3b3b3f}uni-switch .uni-switch-input:after{background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4)}uni-switch .uni-checkbox-input{background-color:#2c2c2c;border:1px solid #656565}}uni-text[selectable]{cursor:auto;user-select:text}uni-text{white-space:pre-line}uni-textarea{width:300px;height:150px;display:block;position:relative;font-size:16px;line-height:normal;white-space:pre-wrap;word-break:break-all}uni-textarea[hidden]{display:none}.uni-textarea-wrapper,.uni-textarea-placeholder,.uni-textarea-line,.uni-textarea-compute,.uni-textarea-textarea{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-textarea-wrapper{display:block;position:relative;width:100%;height:100%;min-height:inherit}.uni-textarea-placeholder,.uni-textarea-line,.uni-textarea-compute,.uni-textarea-textarea{position:absolute;width:100%;height:100%;left:0;top:0;white-space:inherit;word-break:inherit}.uni-textarea-placeholder{color:gray;overflow:hidden}.uni-textarea-line,.uni-textarea-compute{visibility:hidden;height:auto}.uni-textarea-line{width:1em}.uni-textarea-textarea{resize:none;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-textarea-textarea-fix-margin{width:auto;right:0;margin:0 -3px}.uni-textarea-textarea:disabled{-webkit-text-fill-color:currentcolor}uni-view{display:block}uni-view[hidden]{display:none}uni-actionsheet{display:block;box-sizing:border-box}.uni-actionsheet{position:fixed;left:6px;right:6px;bottom:6px;transform:translateY(100%);backface-visibility:hidden;z-index:999;visibility:hidden;transition:transform .3s,visibility .3s}.uni-actionsheet.uni-actionsheet_toggle{visibility:visible;transform:translate(0)}.uni-actionsheet *{box-sizing:border-box}.uni-actionsheet__menu,.uni-actionsheet__action{border-radius:5px;background-color:#fcfcfd}.uni-actionsheet__action{margin-top:6px}.uni-actionsheet__cell,.uni-actionsheet__title{position:relative;padding:10px 6px;text-align:center;font-size:18px;text-overflow:ellipsis;overflow:hidden;cursor:pointer}.uni-actionsheet__title{position:absolute;top:0;right:0;left:0;z-index:1;color:var(--UI-FG);background-color:#fff;border-radius:5px 5px 0 0;border-bottom:1px solid #e5e5e5}.uni-actionsheet__cell:before{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1px solid #e5e5e5;color:#e5e5e5;transform-origin:0 0;transform:scaleY(.5)}.uni-actionsheet__cell:active{background-color:#ececec}.uni-actionsheet__cell:first-child:before{display:none}@media screen and (min-width: 500px) and (min-height: 500px){.uni-mask.uni-actionsheet__mask{background:none}.uni-actionsheet{width:300px;left:50%;right:auto;top:50%;bottom:auto;transform:translate(-50%,-50%);opacity:0;transition:opacity .3s,visibility .3s}.uni-actionsheet.uni-actionsheet_toggle{opacity:1;transform:translate(-50%,-50%)}.uni-actionsheet__menu{box-shadow:0 0 20px 5px rgba(0,0,0,.3)}.uni-actionsheet__action{display:none}}@media (prefers-color-scheme: dark){.uni-actionsheet__title{background-color:var(--UI-BG-1);border-bottom-color:var(--UI-BORDER-CLOLOR-1)}.uni-actionsheet__action,.uni-actionsheet__menu{background-color:var(--UI-BG-2)}.uni-actionsheet__cell:active{background-color:var(--UI-BG-CLOLOR-ACTIVE)}.uni-actionsheet__cell:before{border-top-color:var(--UI-BORDER-CLOLOR-1);color:var(--UI-BORDER-CLOLOR-1)}}uni-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999;display:block;box-sizing:border-box}.uni-modal{position:fixed;z-index:999;width:80%;max-width:300px;top:50%;left:50%;transform:translate(-50%,-50%);background-color:#fff;text-align:center;border-radius:3px;overflow:hidden}.uni-modal *{box-sizing:border-box}.uni-modal__hd{padding:1em 1.6em .3em}.uni-modal__title{font-weight:400;font-size:18px;word-wrap:break-word;word-break:break-all;white-space:pre-wrap;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.uni-modal__bd{padding:1.3em 1.6em;min-height:40px;font-size:15px;line-height:1.4;word-wrap:break-word;word-break:break-all;white-space:pre-wrap;color:#999;max-height:400px;overflow-x:hidden;overflow-y:auto}.uni-modal__textarea{resize:none;border:0;margin:0;width:90%;padding:10px;font-size:20px;outline:none;border:none;background-color:#eee;text-decoration:inherit}.uni-modal__ft{position:relative;line-height:48px;font-size:18px;display:flex}.uni-modal__ft:after{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1px solid #d5d5d6;color:#d5d5d6;transform-origin:0 0;transform:scaleY(.5)}.uni-modal__btn{display:block;flex:1;color:#3cc51f;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative;cursor:pointer}.uni-modal__btn:active{background-color:#eee}.uni-modal__btn:after{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1px solid #d5d5d6;color:#d5d5d6;transform-origin:0 0;transform:scaleX(.5)}.uni-modal__btn:first-child:after{display:none}.uni-modal__btn_default{color:#353535}.uni-modal__btn_primary{color:#007aff}@media (prefers-color-scheme: dark){.uni-modal{color:var(--UI-FG-0);background-color:var(--UI-BG-2)}.uni-modal__bd{color:var(--UI-FG-1)}.uni-modal__btn:active{color:#aaa;background-color:var(--UI-BG-CLOLOR-ACTIVE)}.uni-modal__ft:after,.uni-modal__btn:after{color:var(--UI-BORDER-CLOLOR-1);border-color:var(--UI-BORDER-CLOLOR-1)}}uni-toast{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999;display:block;box-sizing:border-box;pointer-events:none;font-size:16px}.uni-sample-toast{position:fixed;z-index:999;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;max-width:80%}.uni-simple-toast__text{display:inline-block;vertical-align:middle;color:#fff;background-color:rgba(17,17,17,.7);padding:10px 20px;border-radius:5px;font-size:13px;text-align:center;max-width:100%;word-break:break-all;white-space:normal}uni-toast .uni-mask{pointer-events:auto}.uni-toast{position:fixed;z-index:999;width:8em;top:50%;left:50%;transform:translate(-50%,-50%);background:rgba(17,17,17,.7);text-align:center;border-radius:5px;color:#fff}.uni-toast *{box-sizing:border-box}.uni-toast__icon{margin:20px 0 0;width:38px!important;height:38px!important;vertical-align:baseline!important}.uni-icon_toast{margin:15px 0 0}.uni-icon_toast.uni-icon-success-no-circle:before{color:#fff;font-size:55px}.uni-icon_toast.uni-loading{margin:20px 0 0;width:38px;height:38px;vertical-align:baseline}.uni-toast__content{margin:0 0 15px}@media (prefers-color-scheme: dark){.uni-toast{background-color:#606060;color:var(--UI-FG-0)}}uni-picker{position:relative;display:block;cursor:pointer}uni-picker[hidden]{display:none}uni-picker[disabled]{cursor:not-allowed}.uni-picker-container{display:none;position:fixed;left:0;right:0;top:0;bottom:0;box-sizing:border-box;z-index:999;font-size:16px}.uni-picker-container .uni-picker-custom *{box-sizing:border-box}.uni-picker-container .uni-picker-custom{position:fixed;left:0;bottom:0;transform:translateY(100%);backface-visibility:hidden;z-index:999;width:100%;background-color:#fff;visibility:hidden;transition:transform .3s,visibility .3s}.uni-picker-container .uni-picker-custom.uni-picker-toggle{visibility:visible;transform:translate(0)}.uni-picker-container .uni-picker-content{position:relative;display:block;width:100%;height:238px;background-color:#fff}.uni-picker-container .uni-picker-item{padding:0;height:34px;line-height:34px;text-align:center;color:#000;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;cursor:pointer}.uni-picker-container .uni-picker-header{display:block;position:relative;text-align:center;width:100%;height:45px}.uni-picker-container .uni-picker-header:after{content:"";position:absolute;left:0;bottom:0;right:0;height:1px;clear:both;border-bottom:1px solid #e5e5e5;color:#e5e5e5;transform-origin:0 100%;transform:scaleY(.5)}.uni-picker-container .uni-picker-action{display:block;max-width:50%;top:0;height:100%;box-sizing:border-box;padding:0 14px;font-size:17px;line-height:45px;overflow:hidden;cursor:pointer}.uni-picker-container .uni-picker-action.uni-picker-action-cancel{float:left;color:#888}.uni-picker-container .uni-picker-action.uni-picker-action-confirm{float:right;color:#007aff}.uni-picker-container .uni-picker-select{display:none}.uni-picker-system{position:absolute;display:none;display:block;top:0;left:0;width:100%;height:100%;overflow:hidden}.uni-picker-system>.uni-picker-system_input{position:absolute;border:none;height:100%;opacity:0;cursor:pointer}.uni-picker-system>.uni-picker-system_input.firefox{top:0;left:0;width:100%}.uni-picker-system>.uni-picker-system_input.chrome{top:0;left:0;width:2em;font-size:32px;height:32px}@media screen and (min-width: 500px) and (min-height: 500px){.uni-mask.uni-picker-mask{background:none}.uni-picker-container .uni-picker-custom{width:300px;left:50%;right:auto;top:50%;bottom:auto;transform:translate(-50%,-50%);opacity:0;border-radius:5px;transition:opacity .3s,visibility .3s;box-shadow:0 0 20px 5px rgba(0,0,0,.3)}.uni-picker-container .uni-picker-header{border-radius:5px 5px 0 0}.uni-picker-container .uni-picker-content{transform:translate(0 0);overflow:hidden;border-radius:0 0 5px 5px}.uni-picker-container .uni-picker-custom.uni-picker-toggle{opacity:1;transform:translate(-50%,-50%)}.uni-selector-select .uni-picker-header,.uni-selector-select .uni-picker-content{display:none}.uni-selector-select .uni-picker-select{display:block;max-height:300px;overflow:auto;background-color:#fff;border-radius:5px;padding:6px 0}.uni-selector-select .uni-picker-item{padding:0 10px;color:#555}.uni-selector-select .uni-picker-item:hover{background-color:#f6f6f6}.uni-selector-select .uni-picker-item.selected{color:#007aff}}@media (prefers-color-scheme: dark){.uni-picker-container .uni-picker-content{background-color:var(--UI-BG-2)}.uni-picker-container .uni-picker-action.uni-picker-action-cancel{color:var(--UI-FG-0)}.uni-picker-container .uni-picker-custom{background-color:var(--UI-BG-2)}.uni-selector-select .uni-picker-item{color:var(--UI-FG-0)}.uni-picker-container .uni-picker-header:after{border-bottom-color:var(--UI-FG-3)}}uni-web-view{display:flex}uni-web-view.uni-webview--fullscreen{position:absolute;left:0;right:0;top:0;bottom:0}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-common-webview-webview.e810cea7.js b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-common-webview-webview.e810cea7.js
new file mode 100644
index 0000000000000000000000000000000000000000..d3e7e9554e6d9c9b4260ed31cf00c76a8619c37c
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-common-webview-webview.e810cea7.js
@@ -0,0 +1 @@
+import{_ as t,y as s,G as a,af as l,o as e,c as n,w as r,i as o,b as u,ag as c}from"./index-389238f5.js";const i=t({onLoad({url:t,title:e}){"http"!=t.substring(0,4)?(s({title:"错误",content:'不是一个有效的网站链接,"'+t+'"',showCancel:!1,confirmText:"知道了",complete:()=>{a()}}),e="页面路径错误"):this.url=t,e&&l({title:e})},data:()=>({url:null})},[["render",function(t,s,a,l,i,d){const f=c,m=o;return e(),n(m,null,{default:r((()=>[i.url?(e(),n(f,{key:0,src:i.url},null,8,["src"])):u("",!0)])),_:1})}]]);export{i as default};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-login-login-smscode.f55038fb.js b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-login-login-smscode.f55038fb.js
new file mode 100644
index 0000000000000000000000000000000000000000..37e11a3f8db7123f7a28503f72a8be93075b3e8e
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-login-login-smscode.f55038fb.js
@@ -0,0 +1 @@
+import{_ as o,L as s,s as e,o as t,c as a,w as n,i,a as p,d as c,m as u,p as l,f as r,g as m,q as d}from"./index-389238f5.js";import{_ as h}from"./uni-id-pages-sms-form.2fbc0429.js";import{_ as f}from"./uni-forms.bc4bcf6e.js";import{_ as g}from"./uni-popup-captcha.a1d919b2.js";import{m as _}from"./login-page.mixin.6ab7e5a6.js";import"./uni-captcha.7a7d8040.js";import"./uni-easyinput.a1fc57c1.js";const b=o({mixins:[_],data:()=>({code:"",phone:"",captcha:"",logo:"/static/logo.png"}),computed:{tipText(){return"验证码已通过短信发送至"+this.phone}},onLoad({phoneNumber:o}){this.phone=o},onShow(){document.onkeydown=o=>{var s=o||window.event;s&&13==s.keyCode&&this.submit()}},methods:{submit(){const o=s.importObject("uni-id-co",{errorOptions:{type:"toast"}});if(6!=this.code.length)return this.$refs.smsCode.focusSmsCodeInput=!0,e({title:"验证码不能为空",icon:"none",duration:3e3});o.loginBySms({mobile:this.phone,code:this.code,captcha:this.captcha}).then((o=>{this.loginSuccess(o)})).catch((o=>{"uni-id-captcha-required"==o.errCode?this.$refs.popup.open():console.log(o.errMsg)})).finally((o=>{this.captcha=""}))}}},[["render",function(o,s,e,_,b,y){const C=u,j=i,x=l,V=r(m("uni-id-pages-sms-form"),h),w=d,k=r(m("uni-forms"),f),S=r(m("uni-popup-captcha"),g);return t(),a(j,{class:"uni-content"},{default:n((()=>[p(j,{class:"login-logo"},{default:n((()=>[p(C,{src:b.logo},null,8,["src"])])),_:1}),p(x,{class:"title"},{default:n((()=>[c("请输入验证码")])),_:1}),p(x,{class:"tip"},{default:n((()=>[c("先输入图形验证码,再获取短信验证码")])),_:1}),p(k,null,{default:n((()=>[p(V,{focusCaptchaInput:"",modelValue:b.code,"onUpdate:modelValue":s[0]||(s[0]=o=>b.code=o),type:"login-by-sms",ref:"smsCode",phone:b.phone},null,8,["modelValue","phone"]),p(w,{class:"uni-btn send-btn",type:"primary",onClick:y.submit},{default:n((()=>[c("登录")])),_:1},8,["onClick"])])),_:1}),p(S,{onConfirm:y.submit,modelValue:b.captcha,"onUpdate:modelValue":s[1]||(s[1]=o=>b.captcha=o),scene:"login-by-sms",ref:"popup"},null,8,["onConfirm","modelValue"])])),_:1})}],["__scopeId","data-v-93225fe2"]]);export{b as default};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-login-login-withoutpwd.89332b49.js b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-login-login-withoutpwd.89332b49.js
new file mode 100644
index 0000000000000000000000000000000000000000..9c1591da403d31c72de49c40de02f1520538bf9f
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-login-login-withoutpwd.89332b49.js
@@ -0,0 +1 @@
+import{_ as e,aa as i,ab as n,ac as s,s as o,n as t,o as a,c as l,w as u,i as p,a as r,d,e as c,F as g,m,p as h,q as f,f as y,g as b}from"./index-389238f5.js";import{_}from"./uni-id-pages-agreements.0414ff30.js";import{_ as k}from"./uni-easyinput.a1fc57c1.js";import{_ as w}from"./uni-id-pages-fab-login.8d4ba320.js";import{m as x}from"./login-page.mixin.6ab7e5a6.js";import"./uni-popup-dialog.39d6dc6f.js";const L=e({mixins:[x],data:()=>({type:"",phone:"",focusPhone:!1,logo:"/static/logo.png"}),computed:{loginTypes:async()=>i.loginTypes,isPhone(){return/^1\d{10}$/.test(this.phone)},imgSrc(){return"weixin"==this.type?"/uni_modules/uni-id-pages/static/login/weixin.png":"/uni_modules/uni-id-pages/static/app-plus/apple.png"}},async onLoad(e){let s=e.type||i.loginTypes[0];this.type=s,"univerify"!=s&&(this.focusPhone=!0),this.$nextTick((()=>{["weixin","apple"].includes(s)&&(this.$refs.uniFabLogin.servicesList=this.$refs.uniFabLogin.servicesList.filter((e=>e.id!=s)))})),n("uni-id-pages-setLoginType",(e=>{this.type=e}))},onShow(){document.onkeydown=e=>{var i=e||window.event;i&&13==i.keyCode&&this.toSmsPage()}},onUnload(){s("uni-id-pages-setLoginType")},onReady(){},methods:{showCurrentWebview(){undefined.setStyle({top:0})},quickLogin(e){var i,n;let s={};(null==(i=e.detail)?void 0:i.code)&&(s.phoneNumberCode=e.detail.code),("weixinMobile"!==this.type||(null==(n=e.detail)?void 0:n.code))&&this.$refs.uniFabLogin.login_before(this.type,!0,s)},toSmsPage(){return this.isPhone?this.needAgreements&&!this.agree?this.$refs.agreements.popup(this.toSmsPage):void t({url:"/uni_modules/uni-id-pages/pages/login/login-smscode?phoneNumber="+this.phone}):(this.focusPhone=!0,o({title:"手机号码格式不正确",icon:"none",duration:3e3}))},toPwdLogin(){t({url:"../login/password"})},chooseArea(){o({title:"暂不支持其他国家",icon:"none",duration:3e3})}}},[["render",function(e,i,n,s,o,t){const x=m,L=p,P=h,v=f,C=y(b("uni-id-pages-agreements"),_),S=y(b("uni-easyinput"),k),j=y(b("uni-id-pages-fab-login"),w);return a(),l(L,{class:"uni-content"},{default:u((()=>[r(L,{class:"login-logo"},{default:u((()=>[r(x,{src:o.logo},null,8,["src"])])),_:1}),r(P,{class:"title"},{default:u((()=>[d("请选择登录方式")])),_:1}),["apple","weixin","weixinMobile"].includes(o.type)?(a(),c(g,{key:0},[r(P,{class:"tip"},{default:u((()=>[d("将根据第三方账号服务平台的授权范围获取你的信息")])),_:1}),r(L,{class:"quickLogin"},{default:u((()=>["weixinMobile"!==o.type?(a(),l(x,{key:0,onClick:t.quickLogin,src:t.imgSrc,mode:"widthFix",class:"quickLoginBtn"},null,8,["onClick","src"])):(a(),l(v,{key:1,type:"primary","open-type":"getPhoneNumber",onGetphonenumber:t.quickLogin,class:"uni-btn"},{default:u((()=>[d("微信授权手机号登录")])),_:1},8,["onGetphonenumber"])),r(C,{scope:"register",ref:"agreements"},null,512)])),_:1})],64)):(a(),c(g,{key:1},[r(P,{class:"tip"},{default:u((()=>[d("未注册的账号验证通过后将自动注册")])),_:1}),r(L,{class:"phone-box"},{default:u((()=>[r(L,{onClick:t.chooseArea,class:"area"},{default:u((()=>[d("+86")])),_:1},8,["onClick"]),r(S,{focus:o.focusPhone,onBlur:i[0]||(i[0]=e=>o.focusPhone=!1),class:"input-box",type:"number",inputBorder:!1,modelValue:o.phone,"onUpdate:modelValue":i[1]||(i[1]=e=>o.phone=e),maxlength:"11",placeholder:"请输入手机号"},null,8,["focus","modelValue"])])),_:1}),r(C,{scope:"register",ref:"agreements"},null,512),r(v,{class:"uni-btn",type:"primary",onClick:t.toSmsPage},{default:u((()=>[d("获取验证码")])),_:1},8,["onClick"])],64)),r(j,{ref:"uniFabLogin"},null,512)])),_:1})}],["__scopeId","data-v-e394d6b8"]]);export{L as default};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-login-login-withpwd.668f64ea.js b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-login-login-withpwd.668f64ea.js
new file mode 100644
index 0000000000000000000000000000000000000000..cb1e324ef1ad3cda9805568de4de0151acd3329f
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-login-login-withpwd.668f64ea.js
@@ -0,0 +1 @@
+import{_ as e,L as s,n as a,s as t,o as i,c as n,w as o,i as r,a as u,d as l,b as c,t as d,m as p,p as m,f,g as h,q as g}from"./index-389238f5.js";import{_ as w}from"./uni-easyinput.a1fc57c1.js";import{_}from"./uni-forms-item.69698491.js";import{_ as C}from"./uni-forms.bc4bcf6e.js";import{_ as b}from"./uni-captcha.7a7d8040.js";import{_ as k}from"./uni-id-pages-agreements.0414ff30.js";import{_ as y}from"./uni-id-pages-fab-login.8d4ba320.js";import{m as j}from"./login-page.mixin.6ab7e5a6.js";import"./uni-popup-dialog.39d6dc6f.js";const x=s.importObject("uni-id-co",{errorOptions:{type:"toast"}});const V=e({mixins:[j],data:()=>({password:"",username:"",captcha:"",needCaptcha:!1,focusUsername:!1,focusPassword:!1,logo:"/static/logo.png"}),onShow(){document.onkeydown=e=>{var s=e||window.event;s&&13==s.keyCode&&this.pwdLogin()}},methods:{toRetrievePwd(){let e="/uni_modules/uni-id-pages/pages/retrieve/retrieve";/^1\d{10}$/.test(this.username)&&(e+=`?phoneNumber=${this.username}`),a({url:e})},pwdLogin(){if(!this.password.length)return this.focusPassword=!0,t({title:"请输入密码",icon:"none",duration:3e3});if(!this.username.length)return this.focusUsername=!0,t({title:"请输入手机号/用户名/邮箱",icon:"none",duration:3e3});if(this.needCaptcha&&4!=this.captcha.length)return this.$refs.captcha.getImageCaptcha(),t({title:"请输入验证码",icon:"none",duration:3e3});if(this.needAgreements&&!this.agree)return this.$refs.agreements.popup(this.pwdLogin);let e={password:this.password,captcha:this.captcha};/^1\d{10}$/.test(this.username)?e.mobile=this.username:/@/.test(this.username)?e.email=this.username:e.username=this.username,x.login(e).then((e=>{this.loginSuccess(e)})).catch((e=>{"uni-id-captcha-required"==e.errCode?this.needCaptcha=!0:this.needCaptcha&&this.$refs.captcha.getImageCaptcha()}))},toRegister(){a({url:this.config.isAdmin?"/uni_modules/uni-id-pages/pages/register/register-admin":"/uni_modules/uni-id-pages/pages/register/register",fail(e){console.error(e)}})}}},[["render",function(e,s,a,t,j,x){const V=p,v=r,U=m,L=f(h("uni-easyinput"),w),P=f(h("uni-forms-item"),_),$=f(h("uni-forms"),C),A=f(h("uni-captcha"),b),B=f(h("uni-id-pages-agreements"),k),R=g,I=f(h("uni-id-pages-fab-login"),y);return i(),n(v,{class:"uni-content"},{default:o((()=>[u(v,{class:"login-logo"},{default:o((()=>[u(V,{src:j.logo},null,8,["src"])])),_:1}),u(U,{class:"title title-box"},{default:o((()=>[l("账号密码登录")])),_:1}),u($,null,{default:o((()=>[u(P,{name:"username"},{default:o((()=>[u(L,{focus:j.focusUsername,onBlur:s[0]||(s[0]=e=>j.focusUsername=!1),class:"input-box",inputBorder:!1,modelValue:j.username,"onUpdate:modelValue":s[1]||(s[1]=e=>j.username=e),placeholder:"请输入手机号/用户名/邮箱"},null,8,["focus","modelValue"])])),_:1}),u(P,{name:"password"},{default:o((()=>[u(L,{focus:j.focusPassword,onBlur:s[2]||(s[2]=e=>j.focusPassword=!1),class:"input-box",clearable:"",type:"password",inputBorder:!1,modelValue:j.password,"onUpdate:modelValue":s[3]||(s[3]=e=>j.password=e),placeholder:"请输入密码"},null,8,["focus","modelValue"])])),_:1})])),_:1}),j.needCaptcha?(i(),n(A,{key:0,focus:"",ref:"captcha",scene:"login-by-pwd",modelValue:j.captcha,"onUpdate:modelValue":s[4]||(s[4]=e=>j.captcha=e)},null,8,["modelValue"])):c("",!0),u(B,{scope:"login",ref:"agreements"},null,512),u(R,{class:"uni-btn",type:"primary",onClick:x.pwdLogin},{default:o((()=>[l("登录")])),_:1},8,["onClick"]),u(v,{class:"link-box"},{default:o((()=>[e.config.isAdmin?c("",!0):(i(),n(v,{key:0},{default:o((()=>[u(U,{class:"forget"},{default:o((()=>[l("忘记了?")])),_:1}),u(U,{class:"link",onClick:x.toRetrievePwd},{default:o((()=>[l("找回密码")])),_:1},8,["onClick"])])),_:1})),u(U,{class:"link",onClick:x.toRegister},{default:o((()=>[l(d(e.config.isAdmin?"注册管理员账号":"注册账号"),1)])),_:1},8,["onClick"])])),_:1}),u(I,{ref:"uniFabLogin"},null,512)])),_:1})}],["__scopeId","data-v-e40f8cce"]]);export{V as default};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-register-register-admin.8d337068.js b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-register-register-admin.8d337068.js
new file mode 100644
index 0000000000000000000000000000000000000000..465ad901830ad05764f499f6f7e4dcbfc139bcb6
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-register-register-admin.8d337068.js
@@ -0,0 +1 @@
+import{_ as a,L as e,s,G as o,y as t,n as r,o as l,c as i,w as u,i as n,a as m,d,m as c,p,f,g as h,q as g}from"./index-389238f5.js";import{_ as w}from"./uni-match-media.cb822f29.js";import{_}from"./uni-easyinput.a1fc57c1.js";import{_ as k}from"./uni-forms-item.69698491.js";import{_ as b}from"./uni-captcha.7a7d8040.js";import{_ as V}from"./uni-id-pages-agreements.0414ff30.js";import{_ as D}from"./uni-forms.bc4bcf6e.js";import{r as y}from"./validator.496e107f.js";import{m as x}from"./login-page.mixin.6ab7e5a6.js";import"./uni-popup-dialog.39d6dc6f.js";import"./password.4f678814.js";const j=e.importObject("uni-id-co",{customUI:!0});const v=a({mixins:[x],data:()=>({formData:{username:"",nickname:"",password:"",password2:"",captcha:""},rules:y,focusUsername:!1,focusNickname:!1,focusPassword:!1,focusPassword2:!1,logo:"/static/logo.png"}),onReady(){this.$refs.form.setRules(this.rules)},onShow(){document.onkeydown=a=>{var e=a||window.event;e&&13==e.keyCode&&this.submit()}},methods:{submit(){this.$refs.form.validate().then((a=>4!=this.formData.captcha.length?(this.$refs.captcha.focusCaptchaInput=!0,s({title:"请输入验证码",icon:"none",duration:3e3})):this.needAgreements&&!this.agree?this.$refs.agreements.popup((()=>{this.submitForm(a)})):void this.submitForm(a))).catch((a=>{let e=a[0].key;e=e.replace(e[0],e[0].toUpperCase()),this["focus"+e]=!0}))},submitForm(a){j.registerAdmin(this.formData).then((a=>{o()})).catch((a=>{this.$refs.captcha.getImageCaptcha(),t({title:"提示",content:a.errMsg||`创建失败: ${a.errCode}`,showCancel:!1})}))},navigateBack(){o()},toLogin(){r({url:"/uni_modules/uni-id-pages/pages/login/login-withpwd"})},registerByEmail(){r({url:"/uni_modules/uni-id-pages/pages/register/register-by-email"})}}},[["render",function(a,e,s,o,t,r){const y=c,x=n,j=p,v=f(h("uni-match-media"),w),C=f(h("uni-easyinput"),_),U=f(h("uni-forms-item"),k),B=f(h("uni-captcha"),b),P=f(h("uni-id-pages-agreements"),V),$=g,q=f(h("uni-forms"),D);return l(),i(x,{class:"uni-content"},{default:u((()=>[m(v,{"min-width":690},{default:u((()=>[m(x,{class:"login-logo"},{default:u((()=>[m(y,{src:t.logo},null,8,["src"])])),_:1}),m(j,{class:"title title-box"},{default:u((()=>[d("创建超级管理员")])),_:1})])),_:1}),m(q,{ref:"form",value:t.formData,rules:t.rules,"validate-trigger":"submit","err-show-type":"toast"},{default:u((()=>[m(U,{name:"username",required:""},{default:u((()=>[m(C,{inputBorder:!1,focus:t.focusUsername,onBlur:e[0]||(e[0]=a=>t.focusUsername=!1),class:"input-box",placeholder:"请输入用户名",modelValue:t.formData.username,"onUpdate:modelValue":e[1]||(e[1]=a=>t.formData.username=a),trim:"both"},null,8,["focus","modelValue"])])),_:1}),m(U,{name:"nickname"},{default:u((()=>[m(C,{inputBorder:!1,focus:t.focusNickname,onBlur:e[2]||(e[2]=a=>t.focusNickname=!1),class:"input-box",placeholder:"请输入用户昵称",modelValue:t.formData.nickname,"onUpdate:modelValue":e[3]||(e[3]=a=>t.formData.nickname=a),trim:"both"},null,8,["focus","modelValue"])])),_:1}),m(U,{name:"password",modelValue:t.formData.password,"onUpdate:modelValue":e[6]||(e[6]=a=>t.formData.password=a),required:""},{default:u((()=>[m(C,{inputBorder:!1,focus:t.focusPassword,onBlur:e[4]||(e[4]=a=>t.focusPassword=!1),class:"input-box",maxlength:"20",placeholder:"请输入"+("weak"==a.config.passwordStrength?"6":"8")+"-16位密码",type:"password",modelValue:t.formData.password,"onUpdate:modelValue":e[5]||(e[5]=a=>t.formData.password=a),trim:"both"},null,8,["focus","placeholder","modelValue"])])),_:1},8,["modelValue"]),m(U,{name:"password2",modelValue:t.formData.password2,"onUpdate:modelValue":e[9]||(e[9]=a=>t.formData.password2=a),required:""},{default:u((()=>[m(C,{inputBorder:!1,focus:t.focusPassword2,onBlur:e[7]||(e[7]=a=>t.focusPassword2=!1),class:"input-box",placeholder:"再次输入密码",maxlength:"20",type:"password",modelValue:t.formData.password2,"onUpdate:modelValue":e[8]||(e[8]=a=>t.formData.password2=a),trim:"both"},null,8,["focus","modelValue"])])),_:1},8,["modelValue"]),m(U,null,{default:u((()=>[m(B,{ref:"captcha",scene:"register",modelValue:t.formData.captcha,"onUpdate:modelValue":e[10]||(e[10]=a=>t.formData.captcha=a)},null,8,["modelValue"])])),_:1}),m(P,{scope:"register",ref:"agreements"},null,512),m($,{class:"uni-btn",type:"primary",onClick:r.submit},{default:u((()=>[d("注册")])),_:1},8,["onClick"]),m($,{onClick:r.navigateBack,class:"register-back"},{default:u((()=>[d("返回")])),_:1},8,["onClick"]),m(v,{"min-width":690},{default:u((()=>[m(x,{class:"link-box"},{default:u((()=>[m(j,{class:"link",onClick:r.toLogin},{default:u((()=>[d("已有账号?点此登录")])),_:1},8,["onClick"])])),_:1})])),_:1})])),_:1},8,["value","rules"])])),_:1})}],["__scopeId","data-v-e75f6013"]]);export{v as default};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-register-register-by-email.ae7991c3.js b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-register-register-by-email.ae7991c3.js
new file mode 100644
index 0000000000000000000000000000000000000000..242f6cc7604b9b4b7ba274d48b1b6d93e71a048f
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-register-register-by-email.ae7991c3.js
@@ -0,0 +1 @@
+import{_ as e,L as a,n as s,G as o,o as r,c as t,w as l,i,a as m,d as u,m as n,p as d,f as c,g as p,q as f}from"./index-389238f5.js";import{_ as g}from"./uni-match-media.cb822f29.js";import{_ as h}from"./uni-easyinput.a1fc57c1.js";import{_ as w}from"./uni-forms-item.69698491.js";import{_}from"./uni-id-pages-email-form.79cacd6d.js";import{_ as k}from"./uni-id-pages-agreements.0414ff30.js";import{_ as b}from"./uni-forms.bc4bcf6e.js";import"./validator.496e107f.js";import{m as V}from"./login-page.mixin.6ab7e5a6.js";import{p as D}from"./password.4f678814.js";import"./uni-captcha.7a7d8040.js";import"./uni-popup-dialog.39d6dc6f.js";const y=a.importObject("uni-id-co");const x=e({mixins:[V],data:()=>({formData:{email:"",nickname:"",password:"",password2:"",code:""},rules:{email:{rules:[{required:!0,errorMessage:"请输入邮箱"},{format:"email",errorMessage:"邮箱格式不正确"}]},nickname:{rules:[{minLength:3,maxLength:32,errorMessage:"昵称长度在 {minLength} 到 {maxLength} 个字符"},{validateFunction:function(e,a,s,o){return(/^1\d{10}$/.test(a)||/^(\w-*\.*)+@(\w-?)+(\.\w{2,})+$/.test(a))&&o("昵称不能是:手机号或邮箱"),/^\d+$/.test(a)&&o("昵称不能为纯数字"),!0}}],label:"昵称"},...D.getPwdRules(),code:{rules:[{required:!0,errorMessage:"请输入邮箱验证码"},{pattern:/^.{6}$/,errorMessage:"邮箱验证码不正确"}]}},focusEmail:!1,focusNickname:!1,focusPassword:!1,focusPassword2:!1,logo:"/static/logo.png"}),onReady(){this.$refs.form.setRules(this.rules)},onShow(){document.onkeydown=e=>{var a=e||window.event;a&&13==a.keyCode&&this.submit()}},methods:{submit(){this.$refs.form.validate().then((e=>{if(this.needAgreements&&!this.agree)return this.$refs.agreements.popup((()=>{this.submitForm(e)}));this.submitForm(e)})).catch((e=>{let a=e[0].key;a=a.replace(a[0],a[0].toUpperCase()),this["focus"+a]=!0}))},submitForm(e){y.registerUserByEmail(this.formData).then((e=>{s({url:"/uni_modules/uni-id-pages/pages/login/login-withpwd",complete:e=>{}})})).catch((e=>{console.log(e.message)}))},navigateBack(){o()},toLogin(){s({url:"/uni_modules/uni-id-pages/pages/login/login-withpwd"})},registerByUserName(){s({url:"/uni_modules/uni-id-pages/pages/register/register"})}}},[["render",function(e,a,s,o,V,D){const y=n,x=i,j=d,B=c(p("uni-match-media"),g),v=c(p("uni-easyinput"),h),C=c(p("uni-forms-item"),w),U=c(p("uni-id-pages-email-form"),_),L=c(p("uni-id-pages-agreements"),k),P=f,$=c(p("uni-forms"),b);return r(),t(x,{class:"uni-content"},{default:l((()=>[m(B,{"min-width":690},{default:l((()=>[m(x,{class:"login-logo"},{default:l((()=>[m(y,{src:V.logo},null,8,["src"])])),_:1}),m(j,{class:"title title-box"},{default:l((()=>[u("邮箱验证码注册")])),_:1})])),_:1}),m($,{ref:"form",value:V.formData,rules:V.rules,"validate-trigger":"submit","err-show-type":"toast"},{default:l((()=>[m(C,{name:"email",required:""},{default:l((()=>[m(v,{inputBorder:!1,focus:V.focusEmail,onBlur:a[0]||(a[0]=e=>V.focusEmail=!1),class:"input-box",placeholder:"请输入邮箱",modelValue:V.formData.email,"onUpdate:modelValue":a[1]||(a[1]=e=>V.formData.email=e),trim:"both"},null,8,["focus","modelValue"])])),_:1}),m(C,{name:"nickname"},{default:l((()=>[m(v,{inputBorder:!1,focus:V.focusNickname,onBlur:a[2]||(a[2]=e=>V.focusNickname=!1),class:"input-box",placeholder:"请输入用户昵称",modelValue:V.formData.nickname,"onUpdate:modelValue":a[3]||(a[3]=e=>V.formData.nickname=e),trim:"both"},null,8,["focus","modelValue"])])),_:1}),m(C,{name:"password",modelValue:V.formData.password,"onUpdate:modelValue":a[6]||(a[6]=e=>V.formData.password=e),required:""},{default:l((()=>[m(v,{inputBorder:!1,focus:V.focusPassword,onBlur:a[4]||(a[4]=e=>V.focusPassword=!1),class:"input-box",maxlength:"20",placeholder:"请输入"+("weak"==e.config.passwordStrength?"6":"8")+"-16位密码",type:"password",modelValue:V.formData.password,"onUpdate:modelValue":a[5]||(a[5]=e=>V.formData.password=e),trim:"both"},null,8,["focus","placeholder","modelValue"])])),_:1},8,["modelValue"]),m(C,{name:"password2",modelValue:V.formData.password2,"onUpdate:modelValue":a[9]||(a[9]=e=>V.formData.password2=e),required:""},{default:l((()=>[m(v,{inputBorder:!1,focus:V.focusPassword2,onBlur:a[7]||(a[7]=e=>V.focusPassword2=!1),class:"input-box",placeholder:"再次输入密码",maxlength:"20",type:"password",modelValue:V.formData.password2,"onUpdate:modelValue":a[8]||(a[8]=e=>V.formData.password2=e),trim:"both"},null,8,["focus","modelValue"])])),_:1},8,["modelValue"]),m(C,{name:"code"},{default:l((()=>[m(U,{ref:"shortCode",email:V.formData.email,type:"register",modelValue:V.formData.code,"onUpdate:modelValue":a[10]||(a[10]=e=>V.formData.code=e)},null,8,["email","modelValue"])])),_:1}),m(L,{scope:"register",ref:"agreements"},null,512),m(P,{class:"uni-btn",type:"primary",onClick:D.submit},{default:l((()=>[u("注册")])),_:1},8,["onClick"]),m(P,{onClick:D.navigateBack,class:"register-back"},{default:l((()=>[u("返回")])),_:1},8,["onClick"]),m(B,{"min-width":690},{default:l((()=>[m(x,{class:"link-box"},{default:l((()=>[m(j,{class:"link",onClick:D.registerByUserName},{default:l((()=>[u("用户名密码注册")])),_:1},8,["onClick"]),m(j,{class:"link",onClick:D.toLogin},{default:l((()=>[u("已有账号?点此登录")])),_:1},8,["onClick"])])),_:1})])),_:1})])),_:1},8,["value","rules"])])),_:1})}],["__scopeId","data-v-6ac98dd5"]]);export{x as default};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-register-register.575c11d6.js b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-register-register.575c11d6.js
new file mode 100644
index 0000000000000000000000000000000000000000..48cec9bf38570d85b71d7c2650c10b996ed7710e
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-register-register.575c11d6.js
@@ -0,0 +1 @@
+import{_ as a,L as e,s,G as o,n as t,o as r,c as l,w as i,i as u,a as n,d as m,m as d,p as c,f as p,g as f,q as h}from"./index-389238f5.js";import{_ as g}from"./uni-match-media.cb822f29.js";import{_ as w}from"./uni-easyinput.a1fc57c1.js";import{_}from"./uni-forms-item.69698491.js";import{_ as k}from"./uni-captcha.7a7d8040.js";import{_ as b}from"./uni-id-pages-agreements.0414ff30.js";import{_ as V}from"./uni-forms.bc4bcf6e.js";import{r as D}from"./validator.496e107f.js";import{m as y}from"./login-page.mixin.6ab7e5a6.js";import"./uni-popup-dialog.39d6dc6f.js";import"./password.4f678814.js";const x=e.importObject("uni-id-co");const j=a({mixins:[y],data:()=>({formData:{username:"",nickname:"",password:"",password2:"",captcha:""},rules:D,focusUsername:!1,focusNickname:!1,focusPassword:!1,focusPassword2:!1,logo:"/static/logo.png"}),onReady(){this.$refs.form.setRules(this.rules)},onShow(){document.onkeydown=a=>{var e=a||window.event;e&&13==e.keyCode&&this.submit()}},methods:{submit(){this.$refs.form.validate().then((a=>4!=this.formData.captcha.length?(this.$refs.captcha.focusCaptchaInput=!0,s({title:"请输入验证码",icon:"none",duration:3e3})):this.needAgreements&&!this.agree?this.$refs.agreements.popup((()=>{this.submitForm(a)})):void this.submitForm(a))).catch((a=>{let e=a[0].key;e=e.replace(e[0],e[0].toUpperCase()),this["focus"+e]=!0}))},submitForm(a){x.registerUser(this.formData).then((a=>{this.loginSuccess(a)})).catch((a=>{console.log(a.message),this.$refs.captcha.getImageCaptcha()}))},navigateBack(){o()},toLogin(){t({url:"/uni_modules/uni-id-pages/pages/login/login-withpwd"})},registerByEmail(){t({url:"/uni_modules/uni-id-pages/pages/register/register-by-email"})}}},[["render",function(a,e,s,o,t,D){const y=d,x=u,j=c,v=p(f("uni-match-media"),g),B=p(f("uni-easyinput"),w),C=p(f("uni-forms-item"),_),U=p(f("uni-captcha"),k),P=p(f("uni-id-pages-agreements"),b),$=h,q=p(f("uni-forms"),V);return r(),l(x,{class:"uni-content"},{default:i((()=>[n(v,{"min-width":690},{default:i((()=>[n(x,{class:"login-logo"},{default:i((()=>[n(y,{src:t.logo},null,8,["src"])])),_:1}),n(j,{class:"title title-box"},{default:i((()=>[m("用户名密码注册")])),_:1})])),_:1}),n(q,{ref:"form",value:t.formData,rules:t.rules,"validate-trigger":"submit","err-show-type":"toast"},{default:i((()=>[n(C,{name:"username",required:""},{default:i((()=>[n(B,{inputBorder:!1,focus:t.focusUsername,onBlur:e[0]||(e[0]=a=>t.focusUsername=!1),class:"input-box",placeholder:"请输入用户名",modelValue:t.formData.username,"onUpdate:modelValue":e[1]||(e[1]=a=>t.formData.username=a),trim:"both"},null,8,["focus","modelValue"])])),_:1}),n(C,{name:"nickname"},{default:i((()=>[n(B,{inputBorder:!1,focus:t.focusNickname,onBlur:e[2]||(e[2]=a=>t.focusNickname=!1),class:"input-box",placeholder:"请输入用户昵称",modelValue:t.formData.nickname,"onUpdate:modelValue":e[3]||(e[3]=a=>t.formData.nickname=a),trim:"both"},null,8,["focus","modelValue"])])),_:1}),n(C,{name:"password",modelValue:t.formData.password,"onUpdate:modelValue":e[6]||(e[6]=a=>t.formData.password=a),required:""},{default:i((()=>[n(B,{inputBorder:!1,focus:t.focusPassword,onBlur:e[4]||(e[4]=a=>t.focusPassword=!1),class:"input-box",maxlength:"20",placeholder:"请输入"+("weak"==a.config.passwordStrength?"6":"8")+"-16位密码",type:"password",modelValue:t.formData.password,"onUpdate:modelValue":e[5]||(e[5]=a=>t.formData.password=a),trim:"both"},null,8,["focus","placeholder","modelValue"])])),_:1},8,["modelValue"]),n(C,{name:"password2",modelValue:t.formData.password2,"onUpdate:modelValue":e[9]||(e[9]=a=>t.formData.password2=a),required:""},{default:i((()=>[n(B,{inputBorder:!1,focus:t.focusPassword2,onBlur:e[7]||(e[7]=a=>t.focusPassword2=!1),class:"input-box",placeholder:"再次输入密码",maxlength:"20",type:"password",modelValue:t.formData.password2,"onUpdate:modelValue":e[8]||(e[8]=a=>t.formData.password2=a),trim:"both"},null,8,["focus","modelValue"])])),_:1},8,["modelValue"]),n(C,null,{default:i((()=>[n(U,{ref:"captcha",scene:"register",modelValue:t.formData.captcha,"onUpdate:modelValue":e[10]||(e[10]=a=>t.formData.captcha=a)},null,8,["modelValue"])])),_:1}),n(P,{scope:"register",ref:"agreements"},null,512),n($,{class:"uni-btn",type:"primary",onClick:D.submit},{default:i((()=>[m("注册")])),_:1},8,["onClick"]),n($,{onClick:D.navigateBack,class:"register-back"},{default:i((()=>[m("返回")])),_:1},8,["onClick"]),n(v,{"min-width":690},{default:i((()=>[n(x,{class:"link-box"},{default:i((()=>[n(j,{class:"link",onClick:D.registerByEmail},{default:i((()=>[m("邮箱验证码注册")])),_:1},8,["onClick"]),n(j,{class:"link",onClick:D.toLogin},{default:i((()=>[m("已有账号?点此登录")])),_:1},8,["onClick"])])),_:1})])),_:1})])),_:1},8,["value","rules"])])),_:1})}],["__scopeId","data-v-7ae85e3a"]]);export{j as default};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-retrieve-retrieve-by-email.89348ce7.js b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-retrieve-retrieve-by-email.89348ce7.js
new file mode 100644
index 0000000000000000000000000000000000000000..5ee1cb77cef5c0b8842c2936be862018ded6d57d
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-retrieve-retrieve-by-email.89348ce7.js
@@ -0,0 +1 @@
+import{_ as a,L as e,n as o,x as s,o as t,c as r,w as i,i as l,a as u,d as m,m as d,p as n,f as c,g as p,q as f}from"./index-389238f5.js";import{_ as h}from"./uni-match-media.cb822f29.js";import{_ as w}from"./uni-easyinput.a1fc57c1.js";import{_ as g}from"./uni-forms-item.69698491.js";import{_}from"./uni-id-pages-email-form.79cacd6d.js";import{_ as b}from"./uni-forms.bc4bcf6e.js";import{_ as D}from"./uni-popup-captcha.a1d919b2.js";import{m as k}from"./login-page.mixin.6ab7e5a6.js";import{p as y}from"./password.4f678814.js";import"./uni-captcha.7a7d8040.js";const C=e.importObject("uni-id-co",{errorOptions:{type:"toast"}});const V=a({mixins:[k],data:()=>({lock:!1,focusEmail:!0,focusPassword:!1,focusPassword2:!1,formData:{email:"",code:"",password:"",password2:"",captcha:""},rules:{email:{rules:[{required:!0,errorMessage:"请输入邮箱"},{format:"email",errorMessage:"邮箱格式不正确"}]},code:{rules:[{required:!0,errorMessage:"请输入邮箱验证码"},{pattern:/^.{6}$/,errorMessage:"请输入6位验证码"}]},...y.getPwdRules()},logo:"/static/logo.png"}),computed:{isEmail(){return/@/.test(this.formData.email)},isPwd(){return/^.{6,20}$/.test(this.formData.password)},isCode(){return/^\d{6}$/.test(this.formData.code)}},onLoad(a){a&&a.emailNumber&&(this.formData.email=a.emailNumber,a.lock&&(this.lock=a.lock,this.focusEmail=!0))},onReady(){this.formData.email&&this.$refs.shortCode.start(),this.$refs.form.setRules(this.rules)},onShow(){document.onkeydown=a=>{var e=a||window.event;e&&13==e.keyCode&&this.submit()}},methods:{submit(){this.$refs.form.validate().then((a=>{let{email:e,password:s,captcha:t,code:r}=this.formData;C.resetPwdByEmail({email:e,code:r,password:s,captcha:t}).then((a=>{o({url:"/uni_modules/uni-id-pages/pages/login/login-withpwd",complete:a=>{}})})).catch((a=>{"uni-id-captcha-required"==a.errCode&&this.$refs.popup.open()})).finally((a=>{this.formData.captcha=""}))})).catch((a=>{let e=a[0].key;if("code"==e)return this.$refs.shortCode.focusSmsCodeInput=!0;e=e.replace(e[0],e[0].toUpperCase()),this["focus"+e]=!0}))},retrieveByPhone(){o({url:"/uni_modules/uni-id-pages/pages/retrieve/retrieve"})},backLogin(){s({url:"/uni_modules/uni-id-pages/pages/login/login-withpwd"})}}},[["render",function(a,e,o,s,k,y){const C=d,V=l,x=n,j=c(p("uni-match-media"),h),P=c(p("uni-easyinput"),w),v=c(p("uni-forms-item"),g),B=c(p("uni-id-pages-email-form"),_),$=f,E=c(p("uni-forms"),b),U=c(p("uni-popup-captcha"),D);return t(),r(V,{class:"uni-content"},{default:i((()=>[u(j,{"min-width":690},{default:i((()=>[u(V,{class:"login-logo"},{default:i((()=>[u(C,{src:k.logo},null,8,["src"])])),_:1}),u(x,{class:"title title-box"},{default:i((()=>[m("通过邮箱验证码找回密码")])),_:1})])),_:1}),u(E,{ref:"form",value:k.formData,"err-show-type":"toast"},{default:i((()=>[u(v,{name:"email"},{default:i((()=>[u(P,{focus:k.focusEmail,onBlur:e[0]||(e[0]=a=>k.focusEmail=!1),class:"input-box",disabled:k.lock,inputBorder:!1,modelValue:k.formData.email,"onUpdate:modelValue":e[1]||(e[1]=a=>k.formData.email=a),placeholder:"请输入邮箱"},null,8,["focus","disabled","modelValue"])])),_:1}),u(v,{name:"code"},{default:i((()=>[u(B,{ref:"shortCode",email:k.formData.email,type:"reset-pwd-by-email",modelValue:k.formData.code,"onUpdate:modelValue":e[2]||(e[2]=a=>k.formData.code=a)},null,8,["email","modelValue"])])),_:1}),u(v,{name:"password"},{default:i((()=>[u(P,{focus:k.focusPassword,onBlur:e[3]||(e[3]=a=>k.focusPassword=!1),class:"input-box",type:"password",inputBorder:!1,modelValue:k.formData.password,"onUpdate:modelValue":e[4]||(e[4]=a=>k.formData.password=a),placeholder:"请输入新密码"},null,8,["focus","modelValue"])])),_:1}),u(v,{name:"password2"},{default:i((()=>[u(P,{focus:k.focusPassword2,onBlur:e[5]||(e[5]=a=>k.focusPassword2=!1),class:"input-box",type:"password",inputBorder:!1,modelValue:k.formData.password2,"onUpdate:modelValue":e[6]||(e[6]=a=>k.formData.password2=a),placeholder:"请再次输入新密码"},null,8,["focus","modelValue"])])),_:1}),u($,{class:"uni-btn send-btn-box",type:"primary",onClick:y.submit},{default:i((()=>[m("提交")])),_:1},8,["onClick"]),u(j,{"min-width":690},{default:i((()=>[u(V,{class:"link-box"},{default:i((()=>[u(x,{class:"link",onClick:y.retrieveByPhone},{default:i((()=>[m("通过手机验证码找回密码")])),_:1},8,["onClick"]),u(V),u(x,{class:"link",onClick:y.backLogin},{default:i((()=>[m("返回登录")])),_:1},8,["onClick"])])),_:1})])),_:1})])),_:1},8,["value"]),u(U,{onConfirm:y.submit,modelValue:k.formData.captcha,"onUpdate:modelValue":e[7]||(e[7]=a=>k.formData.captcha=a),scene:"reset-pwd-by-sms",ref:"popup"},null,8,["onConfirm","modelValue"])])),_:1})}],["__scopeId","data-v-b2bc532c"]]);export{V as default};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-retrieve-retrieve.3cafdf7e.js b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-retrieve-retrieve.3cafdf7e.js
new file mode 100644
index 0000000000000000000000000000000000000000..7ddf5cd1206cad9ff0128eaf3b077d52a6136005
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-retrieve-retrieve.3cafdf7e.js
@@ -0,0 +1 @@
+import{_ as e,L as o,G as s,n as a,x as r,o as t,c as n,w as i,i as u,a as l,d,m as p,p as m,f as c,g as f,q as h}from"./index-389238f5.js";import{_ as w}from"./uni-match-media.cb822f29.js";import{_ as g}from"./uni-easyinput.a1fc57c1.js";import{_}from"./uni-forms-item.69698491.js";import{_ as b}from"./uni-id-pages-sms-form.2fbc0429.js";import{_ as y}from"./uni-forms.bc4bcf6e.js";import{_ as D}from"./uni-popup-captcha.a1d919b2.js";import{m as k}from"./login-page.mixin.6ab7e5a6.js";import"./uni-captcha.7a7d8040.js";const C=o.importObject("uni-id-co",{errorOptions:{type:"toast"}});const V=e({mixins:[k],data:()=>({lock:!1,focusPhone:!0,focusPassword:!1,focusPassword2:!1,formData:{phone:"",code:"",password:"",password2:"",captcha:""},rules:{phone:{rules:[{required:!0,errorMessage:"请输入手机号"},{pattern:/^1\d{10}$/,errorMessage:"手机号码格式不正确"}]},code:{rules:[{required:!0,errorMessage:"请输入短信验证码"},{pattern:/^.{6}$/,errorMessage:"请输入6位验证码"}]},password:{rules:[{required:!0,errorMessage:"请输入新密码"},{pattern:/^.{6,20}$/,errorMessage:"密码为6 - 20位"}]},password2:{rules:[{required:!0,errorMessage:"请确认密码"},{pattern:/^.{6,20}$/,errorMessage:"密码为6 - 20位"},{validateFunction:function(e,o,s,a){return o!=s.password&&a("两次输入密码不一致"),!0}}]}},logo:"/static/logo.png"}),computed:{isPhone(){return/^1\d{10}$/.test(this.formData.phone)},isPwd(){return/^.{6,20}$/.test(this.formData.password)},isCode(){return/^\d{6}$/.test(this.formData.code)}},onLoad(e){e&&e.phoneNumber&&(this.formData.phone=e.phoneNumber,e.lock&&(this.lock=e.lock,this.focusPhone=!0))},onReady(){this.formData.phone&&this.$refs.shortCode.start(),this.$refs.form.setRules(this.rules)},onShow(){document.onkeydown=e=>{var o=e||window.event;o&&13==o.keyCode&&this.submit()}},methods:{submit(){this.$refs.form.validate().then((e=>{let{phone:o,password:a,captcha:r,code:t}=this.formData;C.resetPwdBySms({mobile:o,code:t,password:a,captcha:r}).then((e=>{s()})).catch((e=>{"uni-id-captcha-required"==e.errCode&&this.$refs.popup.open()})).finally((e=>{this.formData.captcha=""}))})).catch((e=>{let o=e[0].key;if("code"==o)return this.$refs.shortCode.focusSmsCodeInput=!0;o=o.replace(o[0],o[0].toUpperCase()),this["focus"+o]=!0}))},retrieveByEmail(){a({url:"/uni_modules/uni-id-pages/pages/retrieve/retrieve-by-email"})},backLogin(){r({url:"/uni_modules/uni-id-pages/pages/login/login-withpwd"})}}},[["render",function(e,o,s,a,r,k){const C=p,V=u,x=m,P=c(f("uni-match-media"),w),$=c(f("uni-easyinput"),g),v=c(f("uni-forms-item"),_),j=c(f("uni-id-pages-sms-form"),b),B=h,M=c(f("uni-forms"),y),q=c(f("uni-popup-captcha"),D);return t(),n(V,{class:"uni-content"},{default:i((()=>[l(P,{"min-width":690},{default:i((()=>[l(V,{class:"login-logo"},{default:i((()=>[l(C,{src:r.logo},null,8,["src"])])),_:1}),l(x,{class:"title title-box"},{default:i((()=>[d("通过手机验证码找回密码")])),_:1})])),_:1}),l(M,{ref:"form",value:r.formData,"err-show-type":"toast"},{default:i((()=>[l(v,{name:"phone"},{default:i((()=>[l($,{focus:r.focusPhone,onBlur:o[0]||(o[0]=e=>r.focusPhone=!1),class:"input-box",disabled:r.lock,type:"number",inputBorder:!1,modelValue:r.formData.phone,"onUpdate:modelValue":o[1]||(o[1]=e=>r.formData.phone=e),maxlength:"11",placeholder:"请输入手机号"},null,8,["focus","disabled","modelValue"])])),_:1}),l(v,{name:"code"},{default:i((()=>[l(j,{ref:"shortCode",phone:r.formData.phone,type:"reset-pwd-by-sms",modelValue:r.formData.code,"onUpdate:modelValue":o[2]||(o[2]=e=>r.formData.code=e)},null,8,["phone","modelValue"])])),_:1}),l(v,{name:"password"},{default:i((()=>[l($,{focus:r.focusPassword,onBlur:o[3]||(o[3]=e=>r.focusPassword=!1),class:"input-box",type:"password",inputBorder:!1,modelValue:r.formData.password,"onUpdate:modelValue":o[4]||(o[4]=e=>r.formData.password=e),placeholder:"请输入新密码"},null,8,["focus","modelValue"])])),_:1}),l(v,{name:"password2"},{default:i((()=>[l($,{focus:r.focusPassword2,onBlur:o[5]||(o[5]=e=>r.focusPassword2=!1),class:"input-box",type:"password",inputBorder:!1,modelValue:r.formData.password2,"onUpdate:modelValue":o[6]||(o[6]=e=>r.formData.password2=e),placeholder:"请再次输入新密码"},null,8,["focus","modelValue"])])),_:1}),l(B,{class:"uni-btn send-btn-box",type:"primary",onClick:k.submit},{default:i((()=>[d("提交")])),_:1},8,["onClick"]),l(P,{"min-width":690},{default:i((()=>[l(V,{class:"link-box"},{default:i((()=>[l(x,{class:"link",onClick:k.retrieveByEmail},{default:i((()=>[d("通过邮箱验证码找回密码")])),_:1},8,["onClick"]),l(V),l(x,{class:"link",onClick:k.backLogin},{default:i((()=>[d("返回登录")])),_:1},8,["onClick"])])),_:1})])),_:1})])),_:1},8,["value"]),l(q,{onConfirm:k.submit,modelValue:r.formData.captcha,"onUpdate:modelValue":o[7]||(o[7]=e=>r.formData.captcha=e),scene:"reset-pwd-by-sms",ref:"popup"},null,8,["onConfirm","modelValue"])])),_:1})}],["__scopeId","data-v-332307ef"]]);export{V as default};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-userinfo-bind-mobile-bind-mobile.3efbf535.js b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-userinfo-bind-mobile-bind-mobile.3efbf535.js
new file mode 100644
index 0000000000000000000000000000000000000000..ea14f8993cf3c6e82f1e5606ae575822be79351b
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-userinfo-bind-mobile-bind-mobile.3efbf535.js
@@ -0,0 +1 @@
+import{_ as o,s as a,L as e,$ as t,G as s,o as i,c as n,w as l,i as m,a as r,d as u,m as c,p as d,f as p,g as f,q as b}from"./index-389238f5.js";import{_ as h}from"./uni-match-media.cb822f29.js";import{_ as D}from"./uni-easyinput.a1fc57c1.js";import{_ as g}from"./uni-id-pages-sms-form.2fbc0429.js";import{_}from"./uni-popup-captcha.a1d919b2.js";import"./uni-captcha.7a7d8040.js";const y=o({data:()=>({formData:{mobile:"",code:"",captcha:""},focusMobile:!0,logo:"/static/logo.png"}),computed:{tipText(){return`验证码已通过短信发送至 ${this.formData.mobile}。密码为6 - 20位`}},onLoad(o){},onReady(){},methods:{submit(){if(!/^1\d{10}$/.test(this.formData.mobile))return this.focusMobile=!0,a({title:"手机号码格式不正确",icon:"none",duration:3e3});if(!/^\d{6}$/.test(this.formData.code))return this.$refs.smsForm.focusSmsCodeInput=!0,a({title:"验证码格式不正确",icon:"none",duration:3e3});e.importObject("uni-id-co").bindMobileBySms(this.formData).then((o=>{a({title:o.errMsg,icon:"none",duration:3e3}),this.getOpenerEventChannel(),t.setUserInfo(this.formData),s()})).catch((o=>{console.log(o),"uni-id-captcha-required"==o.errCode&&this.$refs.popup.open()})).finally((o=>{this.formData.captcha=""}))}}},[["render",function(o,a,e,t,s,y){const V=c,j=m,x=d,C=p(f("uni-match-media"),h),M=p(f("uni-easyinput"),D),$=p(f("uni-id-pages-sms-form"),g),U=b,B=p(f("uni-popup-captcha"),_);return i(),n(j,{class:"uni-content"},{default:l((()=>[r(C,{"min-width":690},{default:l((()=>[r(j,{class:"login-logo"},{default:l((()=>[r(V,{src:s.logo},null,8,["src"])])),_:1}),r(x,{class:"title title-box"},{default:l((()=>[u("绑定手机号")])),_:1})])),_:1}),r(M,{clearable:"",focus:s.focusMobile,onBlur:a[0]||(a[0]=o=>s.focusMobile=!1),type:"number",class:"input-box",inputBorder:!1,modelValue:s.formData.mobile,"onUpdate:modelValue":a[1]||(a[1]=o=>s.formData.mobile=o),maxlength:"11",placeholder:"请输入手机号"},null,8,["focus","modelValue"]),r($,{ref:"smsForm",type:"bind-mobile-by-sms",modelValue:s.formData.code,"onUpdate:modelValue":a[2]||(a[2]=o=>s.formData.code=o),phone:s.formData.mobile},null,8,["modelValue","phone"]),r(U,{class:"uni-btn send-btn-box",type:"primary",onClick:y.submit},{default:l((()=>[u("提交")])),_:1},8,["onClick"]),r(B,{onConfirm:y.submit,modelValue:s.formData.captcha,"onUpdate:modelValue":a[3]||(a[3]=o=>s.formData.captcha=o),scene:"bind-mobile-by-sms",ref:"popup"},null,8,["onConfirm","modelValue"])])),_:1})}],["__scopeId","data-v-8ad2d767"]]);export{y as default};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-userinfo-change_pwd-change_pwd.70d77e52.js b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-userinfo-change_pwd-change_pwd.70d77e52.js
new file mode 100644
index 0000000000000000000000000000000000000000..5a728a97aebb201bff099a5b569cc34b6775e1d2
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-userinfo-change_pwd-change_pwd.70d77e52.js
@@ -0,0 +1 @@
+import{_ as s,L as o,u as a,v as e,x as r,y as t,o as d,c as l,w as n,i as u,a as i,d as m,m as w,p as f,f as c,g as p,q as P}from"./index-389238f5.js";import{_}from"./uni-match-media.cb822f29.js";import{_ as h}from"./uni-easyinput.a1fc57c1.js";import{_ as g}from"./uni-forms-item.69698491.js";import{_ as y}from"./uni-forms.bc4bcf6e.js";import{m as x}from"./login-page.mixin.6ab7e5a6.js";import{p as b}from"./password.4f678814.js";const D=o.importObject("uni-id-co",{customUI:!0});const V=s({mixins:[x],data:()=>({focusOldPassword:!1,focusNewPassword:!1,focusNewPassword2:!1,formData:{oldPassword:"",newPassword:"",newPassword2:""},rules:{oldPassword:{rules:[{required:!0,errorMessage:"请输入新密码"},{pattern:/^.{6,20}$/,errorMessage:"密码为6 - 20位"}]},...b.getPwdRules("newPassword","newPassword2")},logo:"/static/logo.png"}),onReady(){this.$refs.form.setRules(this.rules)},onShow(){document.onkeydown=s=>{var o=s||window.event;o&&13==o.keyCode&&this.submit()}},methods:{submit(){this.$refs.form.validate().then((s=>{let{oldPassword:o,newPassword:d}=this.formData;D.updatePwd({oldPassword:o,newPassword:d}).then((s=>{a("uni_id_token"),e("uni_id_token_expired",0),r({url:"/uni_modules/uni-id-pages/pages/login/login-withpwd"})})).catch((s=>{t({content:s.message,showCancel:!1})}))})).catch((s=>{let o=s[0].key;o=o.replace(o[0],o[0].toUpperCase()),this["focus"+o]=!0}))}}},[["render",function(s,o,a,e,r,t){const x=w,b=u,D=f,V=c(p("uni-match-media"),_),j=c(p("uni-easyinput"),h),k=c(p("uni-forms-item"),g),v=P,B=c(p("uni-forms"),y);return d(),l(b,{class:"uni-content"},{default:n((()=>[i(V,{"min-width":690},{default:n((()=>[i(b,{class:"login-logo"},{default:n((()=>[i(x,{src:r.logo},null,8,["src"])])),_:1}),i(D,{class:"title title-box"},{default:n((()=>[m("修改密码")])),_:1})])),_:1}),i(B,{ref:"form",value:r.formData,"err-show-type":"toast"},{default:n((()=>[i(k,{name:"oldPassword"},{default:n((()=>[i(j,{focus:r.focusOldPassword,onBlur:o[0]||(o[0]=s=>r.focusOldPassword=!1),class:"input-box",type:"password",inputBorder:!1,modelValue:r.formData.oldPassword,"onUpdate:modelValue":o[1]||(o[1]=s=>r.formData.oldPassword=s),placeholder:"请输入旧密码"},null,8,["focus","modelValue"])])),_:1}),i(k,{name:"newPassword"},{default:n((()=>[i(j,{focus:r.focusNewPassword,onBlur:o[2]||(o[2]=s=>r.focusNewPassword=!1),class:"input-box",type:"password",inputBorder:!1,modelValue:r.formData.newPassword,"onUpdate:modelValue":o[3]||(o[3]=s=>r.formData.newPassword=s),placeholder:"请输入新密码"},null,8,["focus","modelValue"])])),_:1}),i(k,{name:"newPassword2"},{default:n((()=>[i(j,{focus:r.focusNewPassword2,onBlur:o[4]||(o[4]=s=>r.focusNewPassword2=!1),class:"input-box",type:"password",inputBorder:!1,modelValue:r.formData.newPassword2,"onUpdate:modelValue":o[5]||(o[5]=s=>r.formData.newPassword2=s),placeholder:"请再次输入新密码"},null,8,["focus","modelValue"])])),_:1}),i(v,{class:"uni-btn send-btn-box",type:"primary",onClick:t.submit},{default:n((()=>[m("提交")])),_:1},8,["onClick"])])),_:1},8,["value"])])),_:1})}],["__scopeId","data-v-310f3ac4"]]);export{V as default};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-userinfo-cropImage-cropImage.5c0c9d44.js b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-userinfo-cropImage-cropImage.5c0c9d44.js
new file mode 100644
index 0000000000000000000000000000000000000000..2b3f8081262dcef98f6111d2d75899e475510b0e
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-userinfo-cropImage-cropImage.5c0c9d44.js
@@ -0,0 +1 @@
+import{Y as t,_ as i,N as e,a6 as a,a7 as s,s as h,H as l,O as o,o as n,c,w as p,a as g,I as r,e as d,r as m,F as u,D as f,b as w,C as y,d as D,z as v,a0 as T,a8 as H,i as W,m as S,a9 as C,G as x,B as L}from"./index-389238f5.js";function k(t,i){return Math.sqrt(Math.pow(t,2)+Math.pow(i,2))}function Y(t,i){const e=i.touches[0].clientX,a=i.touches[0].clientY;let{clipWidth:s,clipHeight:h,clipY:l,clipX:o,clipStart:n,isLockRatio:c,maxWidth:p,minWidth:g,maxHeight:r,minHeight:d}=t;p/=2,g/=2,d/=2,r/=2;let m=s,u=h,f=l,w=o,y=()=>(m=m<=p?m>=g?m:g:p,u=u<=r?u>=d?u:d:r,!(m>p||mr||u1&&n.corner<4?1:-1)*(n.y-a),n.corner){case 1:if(m=n.width-n.x+e,c&&(u=m/(s/h)),!y())return;break;case 2:if(m=n.width-n.x+e,c&&(u=m/(s/h)),!y())return;f=n.clipY-(u-n.height);break;case 3:if(m=n.width+n.x-e,c&&(u=m/(s/h)),!y())return;f=n.clipY-(u-n.height),w=n.clipX-(m-n.width);break;case 4:if(m=n.width+n.x-e,c&&(u=m/(s/h)),!y())return;w=n.clipX-(m-n.width)}return{width:m,height:u,clipX:w,clipY:f}}const M={};const X=i({components:{limeClipper:i({name:"l-clipper",props:{value:{type:Boolean,default:!0},customStyle:{type:String},canvasId:{type:String,default:"l-clipper"},zIndex:{type:Number,default:99},imageUrl:{type:String},fileType:{type:String,default:"png"},quality:{type:Number,default:1},width:{type:Number,default:400},height:{type:Number,default:400},minWidth:{type:Number,default:200},maxWidth:{type:Number,default:600},minHeight:{type:Number,default:200},maxHeight:{type:Number,default:600},isLockWidth:{type:Boolean,default:!1},isLockHeight:{type:Boolean,default:!1},isLockRatio:{type:Boolean,default:!0},scaleRatio:{type:Number,default:1},minRatio:{type:Number,default:.5},maxRatio:{type:Number,default:2},isDisableScale:{type:Boolean,default:!1},isDisableRotate:{type:Boolean,default:!1},isLimitMove:{type:Boolean,default:!1},isShowPhotoBtn:{type:Boolean,default:!0},isShowRotateBtn:{type:Boolean,default:!0},isShowConfirmBtn:{type:Boolean,default:!0},isShowCancelBtn:{type:Boolean,default:!0},rotateAngle:{type:Number,default:90},source:{type:Object,default:()=>({album:"从相册中选择",camera:"拍照"})}},data(){return{canvasWidth:0,canvasHeight:0,clipX:0,clipY:0,clipWidth:0,clipHeight:0,animation:!1,imageWidth:0,imageHeight:0,imageTop:0,imageLeft:0,scale:1,angle:0,image:this.imageUrl,sysinfo:{},throttleTimer:null,throttleFlag:!0,timeClipCenter:null,flagClipTouch:!1,flagEndTouch:!1,clipStart:{},animationTimer:null,touchRelative:[{x:0,y:0}],hypotenuseLength:0,ctx:null}},computed:{clipStyle(){const{clipWidth:t,clipHeight:i,clipY:e,clipX:a,animation:s}=this;return`\n\t\t\twidth: ${t}px;\n\t\t\theight:${i}px;\n\t\t\ttransition-property: ${s?"":"background"};\n\t\t\tleft: ${a}px;\n\t\t\ttop: ${e}px\n\t\t\t`},imageStyle(){const{imageWidth:t,imageHeight:i,imageLeft:e,imageTop:a,animation:s,scale:h,angle:l}=this;return`\n\t\t\t\twidth: ${t?t+"px":"auto"};\n\t\t\t\theight: ${i?i+"px":"auto"};\n\t\t\t\ttransform: translate3d(${e-t/2}px, ${a-i/2}px, 0) scale(${h}) rotate(${l}deg);\n\t\t\t\ttransition-duration: ${s?.35:0}s\n\t\t\t`},clipSize(){const{clipWidth:t,clipHeight:i}=this;return{clipWidth:t,clipHeight:i}},clipPoint(){const{clipY:t,clipX:i}=this;return{clipY:t,clipX:i}}},watch:{value(t){if(t){if(this.imageUrl){const{imageWidth:t,imageHeight:i,imageLeft:e,imageTop:a,scale:s,clipX:h,clipY:l,clipWidth:o,clipHeight:n,path:c}=(null==M?void 0:M[this.imageUrl])||{};c!=this.image?this.image=this.imageUrl:this.setDiffData({imageWidth:t,imageHeight:i,imageLeft:e,imageTop:a,scale:s,clipX:h,clipY:l,clipWidth:o,clipHeight:n})}}else this.animation=0,this.angle=0},imageUrl(t){this.image=t},image:{handler:async function(t){this.getImageInfo(t)}},clipSize({widthVal:t,heightVal:i}){let{minWidth:e,minHeight:a}=this;e/=2,a/=2,t{this.setDiffData({animation:!1})}),260);this.setDiffData({animationTimer:t}),this.animationTimer=t}},isLimitMove(t){t&&(this.angle%90&&this.setDiffData({angle:90*Math.round(this.angle/90)}),this.imgMarginDetectionScale())},clipPoint(){this.cutDetectionPosition()},width(t,i){t!==i&&this.setDiffData({clipWidth:t/2})},height(t,i){t!==i&&this.setDiffData({clipHeight:t/2})}},mounted(){const i=t();this.sysinfo=i,this.setClipInfo(),this.image&&this.getImageInfo(this.image),this.setClipCenter(),this.calcClipSize(),this.cutDetectionPosition()},methods:{setDiffData(t){Object.keys(t).forEach((i=>{this[i]!==t[i]&&(this[i]=t[i])}))},getImageInfo(t){t&&(this.value&&e({title:"请稍候...",mask:!0}),a({src:t,success:i=>{this.imgComputeSize(i.width,i.height),this.image=i.path,this.isLimitMove&&(this.imgMarginDetectionScale(),this.$emit("ready",i));const{imageWidth:e,imageHeight:a,imageLeft:s,imageTop:h,scale:l,clipX:o,clipY:n,clipWidth:c,clipHeight:p}=this;M[t]=Object.assign(i,{imageWidth:e,imageHeight:a,imageLeft:s,imageTop:h,scale:l,clipX:o,clipY:n,clipWidth:c,clipHeight:p})},fail:t=>{this.imgComputeSize(),this.isLimitMove&&this.imgMarginDetectionScale()}}))},setClipInfo(){const{width:t,height:i,sysinfo:e,canvasId:a}=this,h=t/2,l=i/2,o=(e.windowHeight-l)/2,n=(e.windowWidth-h)/2,c=e.windowWidth/2,p=e.windowHeight/2;this.ctx=s(a,this),this.clipWidth=h,this.clipHeight=l,this.clipX=n,this.clipY=o,this.canvasHeight=l,this.canvasWidth=h,this.imageLeft=c,this.imageTop=p},setClipCenter(){const{sysInfo:i,clipHeight:e,clipWidth:a,imageTop:s,imageLeft:h}=this;let l=i||t(),o=.5*(l.windowHeight-e),n=.5*(l.windowWidth-a);this.imageTop=s-this.clipY+o,this.imageLeft=h-this.clipX+n,this.clipY=o,this.clipX=n},calcClipSize(){const{clipHeight:t,clipWidth:i,sysinfo:e,clipX:a,clipY:s}=this;i>e.windowWidth?this.setDiffData({clipWidth:e.windowWidth}):i+a>e.windowWidth&&this.setDiffData({clipX:e.windowWidth-a}),t>e.windowHeight?this.setDiffData({clipHeight:e.windowHeight}):t+s>e.windowHeight&&(this.clipY=e.windowHeight-s,this.setDiffData({clipY:e.windowHeight-s}))},cutDetectionPosition(){const{clipX:t,clipY:i,sysinfo:e,clipHeight:a,clipWidth:s}=this;let h=()=>{i<0&&this.setDiffData({clipY:0}),i>e.windowHeight-a&&this.setDiffData({clipY:e.windowHeight-a})},l=()=>{t<0&&this.setDiffData({clipX:0}),t>e.windowWidth-s&&this.setDiffData({clipX:e.windowWidth-s})};if(null===i&&null===t){let t=.5*(e.windowHeight-a),i=.5*(e.windowWidth-s);this.setDiffData({clipX:i,clipY:t})}else null!==i&&null!==t?(h(),l()):null!==i&&null===t?(h(),this.setDiffData({clipX:(e.windowWidth-s)/2})):null===i&&null!==t&&(l(),this.setDiffData({clipY:(e.windowHeight-a)/2}))},imgComputeSize(i,e){const{imageWidth:a,imageHeight:s}=function(i,e,a){let s=i,h=e,{clipWidth:l,clipHeight:o,sysinfo:n,width:c,height:p}=a;s&&h?s/h>(l||c)/(l||p)?(h=o||p,s=i/e*h):(s=l||c,h=e/i*s):(s=(n||t()).windowWidth,h=0);return{imageWidth:s,imageHeight:h}}(i,e,this);this.imageWidth=a,this.imageHeight=s},imgMarginDetectionScale(t){if(!this.isLimitMove)return;const i=function(t,i){i=i||t.scale;let{imageWidth:e,imageHeight:a,clipWidth:s,clipHeight:h,angle:l}=t;return l/90%2&&(e=a,a=e),e*it*i/2,g=p(s),r=p(h);return e=l+g>=e?e:l+g,e=l+o-g<=e?e:l+o-g,a=n+r>=a?a:n+r,a=n+c-r<=a?a:n+c-r,{left:e,top:a,scale:i}}(this,t);this.setDiffData({imageLeft:e,imageTop:a,scale:i})},throttle(){this.setDiffData({throttleFlag:!0})},moveDuring(){clearTimeout(this.timeClipCenter)},moveStop(){clearTimeout(this.timeClipCenter);const t=setTimeout((()=>{this.animation||this.setDiffData({animation:!0}),this.setClipCenter()}),800);this.setDiffData({timeClipCenter:t})},clipTouchStart(t){if(t.preventDefault(),!this.image)return void h({title:"请选择图片",icon:"none",duration:3e3});const i=t.touches[0].clientX,e=t.touches[0].clientY,{clipX:a,clipY:s,clipWidth:l,clipHeight:o}=this,n=function(t,i,e,a,s,h){let l;const o=[t+e/2,i+a/2],n=[s,h];return n[0]<=o[0]&&n[1]<=o[1]?l=3:n[0]>=o[0]&&n[1]<=o[1]?l=2:n[0]<=o[0]&&n[1]>=o[1]?l=4:n[0]>=o[0]&&n[1]>=o[1]&&(l=1),l}(a,s,l,o,i,e);this.moveDuring(),n&&(this.clipStart={width:l,height:o,x:i,y:e,clipY:s,clipX:a,corner:n},this.flagClipTouch=!0,this.flagEndTouch=!0)},clipTouchMove(t){if(t.stopPropagation(),t.preventDefault(),!this.image)return void h({title:"请选择图片",icon:"none",duration:3e3});if(1!==t.touches.length)return;const{flagClipTouch:i,throttleFlag:e}=this;if(i&&e){const{isLockRatio:i,isLockHeight:e,isLockWidth:a}=this;if(i&&(a||e))return;this.setDiffData({throttleFlag:!1}),this.throttle();const s=Y(this,t);if(s){const{width:t,height:i,clipX:h,clipY:l}=s;a||e?a?e||this.setDiffData({clipHeight:i,clipY:l}):this.setDiffData({clipWidth:t,clipX:h}):this.setDiffData({clipWidth:t,clipHeight:i,clipX:h,clipY:l}),this.imgMarginDetectionScale()}}},clipTouchEnd(){this.moveStop(),this.flagClipTouch=!1},imageTouchStart(t){event.preventDefault(),this.flagEndTouch=!1;const{imageLeft:i,imageTop:e}=this,a=t.touches[0].clientX,s=t.touches[0].clientY;let h=[];if(1===t.touches.length)h[0]={x:a-i,y:s-e},this.touchRelative=h;else{const l=t.touches[1].clientX,o=t.touches[1].clientY;const n=k(Math.abs(a-l),Math.abs(s-o));h=[{x:a-i,y:s-e},{x:l-i,y:o-e}],this.touchRelative=h,this.hypotenuseLength=n}},imageTouchMove(t){event.preventDefault();const{flagEndTouch:i,throttleFlag:e}=this;if(i||!e)return;const a=t.touches[0].clientX,s=t.touches[0].clientY;if(this.setDiffData({throttleFlag:!1}),this.throttle(),this.moveDuring(),1===t.touches.length){const{left:t,top:i}=function(t,i,e){return{left:i-t.touchRelative[0].x,top:e-t.touchRelative[0].y}}(this,a,s);this.setDiffData({imageLeft:t,imageTop:i}),this.imgMarginDetectionPosition()}else{const i=t.touches[1].clientX,e=t.touches[1].clientY;let h=Math.abs(a-i),l=Math.abs(s-e),o=k(h,l),n=this.scale*(o/this.hypotenuseLength);this.isDisableScale?n=1:(n=n<=this.minRatio?this.minRatio:n,n=n>=this.maxRatio?this.maxRatio:n,this.$emit("change",{width:this.imageWidth*n,height:this.imageHeight*n})),this.imgMarginDetectionScale(n),this.hypotenuseLength=Math.sqrt(Math.pow(h,2)+Math.pow(l,2)),this.scale=n}},imageTouchEnd(){this.setDiffData({flagEndTouch:!0}),this.moveStop()},uploadImage(){const t=Object.entries(this.source),i=["original","compressed"],e=({tempFilePaths:t,tempFiles:i})=>{this.image=t?t[0]:i[0].path},a=t=>{"message"!==t&&T({count:1,sizeType:i,sourceType:[t],success:e})};t.length>1?l({itemList:t.map((t=>t[1])),success:({tapIndex:i})=>{a(t[i][0])}}):a(t[0][0])},imageReset(){const i=this.sysinfo||t();this.scale=1,this.angle=0,this.imageTop=i.windowHeight/2,this.imageLeft=i.windowWidth/2},imageLoad(t){this.imageReset(),o(),this.$emit("ready",t.detail)},rotate(t){if(this.isDisableRotate)return;if(!this.image)return void h({title:"请选择图片",icon:"none",duration:3e3});const{rotateAngle:i}=this,e=this.angle,a=t.currentTarget.dataset.type;this.angle="along"===a?e+i:e-i,this.$emit("rotate",this.angle)},confirm(){if(!this.image)return void h({title:"请选择图片",icon:"none",duration:3e3});e({title:"加载中"});const{canvasHeight:t,canvasWidth:i,clipHeight:a,clipWidth:s,ctx:l,scale:n,imageLeft:c,imageTop:p,clipX:g,clipY:r,angle:d,scaleRatio:m,image:u,quality:f,fileType:w,type:y,canvasId:D}=this,v=()=>{const t=this.imageWidth*n*m,i=this.imageHeight*n*m,e=c-g,h=p-r;l.translate(e*m,h*m),l.rotate(d*Math.PI/180),l.drawImage(u,-t/2,-i/2,t,i),l.draw(!1,(()=>{const t=s*m,i=a*m;let e={x:0,y:0,width:t,height:i,destWidth:t,destHeight:i,canvasId:D,fileType:w,quality:f,success:t=>{h.url=t.tempFilePath,o(),this.$emit("success",h),this.$emit("input",!1)},fail:t=>{console.error("error",t),this.$emit("fail",t),this.$emit("input",!1)}},h={url:"",width:t,height:i};H(e,this)}))};i!==s||t!==a?(this.canvasWidth=s,this.canvasHeight=a,l.draw(),this.$nextTick((()=>{setTimeout((()=>{v()}),100)}))):v()},cancel(){this.$emit("cancel",!1),this.$emit("input",!1)}}},[["render",function(t,i,e,a,s,h){const l=W,o=S,T=C;return n(),c(l,{class:v(["l-clipper",{open:e.value}]),"disable-scroll":"",style:r("z-index: "+e.zIndex+";"+e.customStyle)},{default:p((()=>[g(l,{class:"l-clipper-mask",onTouchstart:f(h.clipTouchStart,["stop","prevent"]),onTouchmove:f(h.clipTouchMove,["stop","prevent"]),onTouchend:f(h.clipTouchEnd,["stop","prevent"])},{default:p((()=>[g(l,{class:"l-clipper__content",style:r(h.clipStyle)},{default:p((()=>[(n(),d(u,null,m([0,0,0,0],((t,i)=>g(l,{class:"l-clipper__edge",key:i}))),64))])),_:1},8,["style"])])),_:1},8,["onTouchstart","onTouchmove","onTouchend"]),s.image?(n(),c(o,{key:0,class:"l-clipper-image",onError:h.imageLoad,onLoad:h.imageLoad,onTouchstart:f(h.imageTouchStart,["stop","prevent"]),onTouchmove:f(h.imageTouchMove,["stop","prevent"]),onTouchend:f(h.imageTouchEnd,["stop","prevent"]),src:s.image,mode:"auto"==s.imageWidth?"widthFix":"",style:r(h.imageStyle)},null,8,["onError","onLoad","onTouchstart","onTouchmove","onTouchend","src","mode","style"])):w("",!0),g(T,{"canvas-id":e.canvasId,id:"l-clipper","disable-scroll":"",style:r("width: "+s.canvasWidth*e.scaleRatio+"px; height:"+s.canvasHeight*e.scaleRatio+"px;"),class:"l-clipper-canvas"},null,8,["canvas-id","style"]),g(l,{class:"l-clipper-tools"},{default:p((()=>[g(l,{class:"l-clipper-tools__btns"},{default:p((()=>[e.isShowCancelBtn?(n(),c(l,{key:0,onClick:h.cancel},{default:p((()=>[t.$slots.cancel?y(t.$slots,"cancel",{key:0},void 0,!0):(n(),c(l,{key:1,class:"cancel"},{default:p((()=>[D("取消")])),_:1}))])),_:3},8,["onClick"])):w("",!0),e.isShowPhotoBtn?(n(),c(l,{key:1,onClick:h.uploadImage},{default:p((()=>[t.$slots.photo?y(t.$slots,"photo",{key:0},void 0,!0):(n(),c(o,{key:1,src:"/admin/assets/photo-6f69f4e3.svg"}))])),_:3},8,["onClick"])):w("",!0),e.isShowRotateBtn?(n(),c(l,{key:2,onClick:h.rotate},{default:p((()=>[t.$slots.rotate?y(t.$slots,"rotate",{key:0},void 0,!0):(n(),c(o,{key:1,src:"/admin/assets/rotate-9f2e0410.svg","data-type":"inverse"}))])),_:3},8,["onClick"])):w("",!0),e.isShowConfirmBtn?(n(),c(l,{key:3,onClick:h.confirm},{default:p((()=>[t.$slots.confirm?y(t.$slots,"confirm",{key:0},void 0,!0):(n(),c(l,{key:1,class:"confirm"},{default:p((()=>[D("确定")])),_:1}))])),_:3},8,["onClick"])):w("",!0)])),_:3}),y(t.$slots,"default",{},void 0,!0)])),_:3})])),_:3},8,["class","style"])}],["__scopeId","data-v-592a86cd"]])},data:()=>({path:"",options:{width:600,height:600}}),onLoad({path:t,options:i}){this.path=t,i&&(this.options=JSON.parse(i))},methods:{successFn(t){this.getOpenerEventChannel().emit("success",t.url),x()},cancel(){x()}}},[["render",function(t,i,e,a,s,h){const l=L("limeClipper"),o=W;return n(),c(o,{class:"content"},{default:p((()=>[g(l,{width:s.options.width,"scale-ratio":2,"is-lock-width":!1,"is-lock-height":!1,height:s.options.height,"image-url":s.path,onSuccess:h.successFn,onCancel:h.cancel},null,8,["width","height","image-url","onSuccess","onCancel"])])),_:1})}],["__scopeId","data-v-c2c356f4"]]);export{X as default};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-userinfo-deactivate-deactivate.900aed6f.js b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-userinfo-deactivate-deactivate.900aed6f.js
new file mode 100644
index 0000000000000000000000000000000000000000..39d7601e238e504e123d9f9c68a2c3e3a7005474
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-userinfo-deactivate-deactivate.900aed6f.js
@@ -0,0 +1 @@
+import{_ as n,G as e,y as a,L as t,s,u as o,v as c,n as i,o as d,c as l,w as u,i as p,a as r,d as _,p as f,q as m}from"./index-389238f5.js";const k=n({data:()=>({}),onLoad(){},methods:{cancel(){e()},nextStep(){a({content:"已经仔细阅读注销提示,知晓可能带来的后果,并确认要注销",complete:n=>{if(n.confirm){t.importObject("uni-id-co").closeAccount().then((n=>{s({title:"注销成功",duration:3e3}),o("uni_id_token"),c("uni_id_token_expired",0),i({url:"/uni_modules/uni-id-pages/pages/login/login-withoutpwd"})}))}else e()}})}}},[["render",function(n,e,a,t,s,o){const c=f,i=m,k=p;return d(),l(k,{class:"uni-content"},{default:u((()=>[r(c,{class:"words",space:"emsp"},{default:u((()=>[_(" 一、注销是不可逆操作,注销后:\\n 1.帐号将无法登录、无法找回。\\n 2.帐号所有信息都会清除(个人身份信息、粉丝数等;发布的作品、评论、点赞等;交易信息等),你 的朋友将无法通过本应用帐号联系你,请自行备份相关 信息和数据。\\n 二、重要提示\\n 1.封禁帐号(永久封禁、社交封禁、直播权限封禁)不能申请注销。\\n 2.注销后,你的身份证、三方帐号(微信、QQ、微博、支付宝)、手机号等绑定关系将解除,解除后可以绑定到其他帐号。\\n 3.注销后,手机号可以注册新的帐号,新帐号不会存在之前帐号的任何信息(作品、粉丝、评论、个人信息等)。\\n 4.注销本应用帐号前,需尽快处理帐号下的资金问题。\\n 5.视具体帐号情况而定,注销最多需要7天。\\n ")])),_:1}),r(k,{class:"button-group"},{default:u((()=>[r(i,{onClick:o.nextStep,class:"next",type:"default"},{default:u((()=>[_("下一步")])),_:1},8,["onClick"]),r(i,{onClick:o.cancel,type:"warn"},{default:u((()=>[_("取消")])),_:1},8,["onClick"])])),_:1})])),_:1})}],["__scopeId","data-v-3b80a2de"]]);export{k as default};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-userinfo-set-pwd-set-pwd.ab65324d.js b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-userinfo-set-pwd-set-pwd.ab65324d.js
new file mode 100644
index 0000000000000000000000000000000000000000..089c45fcd9a7a2a08a4d41b6f73d4d8a63f52e14
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-userinfo-set-pwd-set-pwd.ab65324d.js
@@ -0,0 +1 @@
+import{_ as s,L as a,Z as o,aa as e,s as t,y as r,$ as n,o as i,c as l,w as d,i as u,a as c,d as m,b as p,m as f,p as w,f as h,g,q as P}from"./index-389238f5.js";import{_}from"./uni-match-media.cb822f29.js";import{_ as y}from"./uni-easyinput.a1fc57c1.js";import{_ as b}from"./uni-forms-item.69698491.js";import{_ as D}from"./uni-id-pages-sms-form.2fbc0429.js";import{_ as k}from"./uni-forms.bc4bcf6e.js";import{_ as C}from"./uni-popup-captcha.a1d919b2.js";import{p as I}from"./password.4f678814.js";import"./uni-captcha.7a7d8040.js";const V=a.importObject("uni-id-co",{customUI:!0});const U=s({name:"set-pwd.vue",data:()=>({uniIdRedirectUrl:"",loginType:"",logo:"/static/logo.png",focusNewPassword:!1,focusNewPassword2:!1,allowSkip:!1,formData:{code:"",captcha:"",newPassword:"",newPassword2:""},rules:I.getPwdRules("newPassword","newPassword2")}),computed:{userInfo:()=>o.userInfo},onReady(){this.$refs.form.setRules(this.rules)},onLoad(s){var a;this.uniIdRedirectUrl=s.uniIdRedirectUrl,this.loginType=s.loginType,e.setPasswordAfterLogin&&(null==(a=e.setPasswordAfterLogin)?void 0:a.allowSkip)&&(this.allowSkip=!0)},methods:{submit(){if(!/^\d{6}$/.test(this.formData.code))return this.$refs.smsCode.focusSmsCodeInput=!0,t({title:"验证码格式不正确",icon:"none"});this.$refs.form.validate().then((s=>{V.setPwd({password:this.formData.newPassword,code:this.formData.code,captcha:this.formData.captcha}).then((s=>{r({content:"密码设置成功",showCancel:!1,success:()=>{n.loginBack({uniIdRedirectUrl:this.uniIdRedirectUrl,loginType:this.loginType})}})})).catch((s=>{r({content:s.message,showCancel:!1})}))})).catch((s=>{"uni-id-captcha-required"==s.errCode?this.$refs.popup.open():console.log(s.errMsg)})).finally((s=>{this.formData.captcha=""}))},skip(){n.loginBack(this.uniIdRedirectUrl)}}},[["render",function(s,a,o,e,t,r){const n=f,I=u,V=w,U=h(g("uni-match-media"),_),j=h(g("uni-easyinput"),y),R=h(g("uni-forms-item"),b),v=h(g("uni-id-pages-sms-form"),D),x=P,B=h(g("uni-forms"),k),N=h(g("uni-popup-captcha"),C);return i(),l(I,{class:"uni-content"},{default:d((()=>[c(U,{"min-width":690},{default:d((()=>[c(I,{class:"login-logo"},{default:d((()=>[c(n,{src:t.logo},null,8,["src"])])),_:1}),c(V,{class:"title title-box"},{default:d((()=>[m("设置密码")])),_:1})])),_:1}),c(B,{class:"set-password-form",ref:"form",value:t.formData,"err-show-type":"toast"},{default:d((()=>[c(V,{class:"tip"},{default:d((()=>[m("输入密码")])),_:1}),c(R,{name:"newPassword"},{default:d((()=>[c(j,{focus:t.focusNewPassword,onBlur:a[0]||(a[0]=s=>t.focusNewPassword=!1),class:"input-box",type:"password",inputBorder:!1,modelValue:t.formData.newPassword,"onUpdate:modelValue":a[1]||(a[1]=s=>t.formData.newPassword=s),placeholder:"请输入密码"},null,8,["focus","modelValue"])])),_:1}),c(V,{class:"tip"},{default:d((()=>[m("再次输入密码")])),_:1}),c(R,{name:"newPassword2"},{default:d((()=>[c(j,{focus:t.focusNewPassword2,onBlur:a[2]||(a[2]=s=>t.focusNewPassword2=!1),class:"input-box",type:"password",inputBorder:!1,modelValue:t.formData.newPassword2,"onUpdate:modelValue":a[3]||(a[3]=s=>t.formData.newPassword2=s),placeholder:"请再次输入新密码"},null,8,["focus","modelValue"])])),_:1}),c(v,{modelValue:t.formData.code,"onUpdate:modelValue":a[4]||(a[4]=s=>t.formData.code=s),type:"set-pwd-by-sms",ref:"smsCode",phone:r.userInfo.mobile},null,8,["modelValue","phone"]),c(I,{class:"link-box"},{default:d((()=>[c(x,{class:"uni-btn send-btn",type:"primary",onClick:r.submit},{default:d((()=>[m("确认")])),_:1},8,["onClick"]),t.allowSkip?(i(),l(x,{key:0,class:"uni-btn send-btn",type:"default",onClick:r.skip},{default:d((()=>[m("跳过")])),_:1},8,["onClick"])):p("",!0)])),_:1})])),_:1},8,["value"]),c(N,{onConfirm:r.submit,modelValue:t.formData.captcha,"onUpdate:modelValue":a[5]||(a[5]=s=>t.formData.captcha=s),scene:"set-pwd-by-sms",ref:"popup"},null,8,["onConfirm","modelValue"])])),_:1})}],["__scopeId","data-v-48ed0c26"]]);export{U as default};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-userinfo-userinfo.d40ff874.js b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-userinfo-userinfo.d40ff874.js
new file mode 100644
index 0000000000000000000000000000000000000000..5644cc6022a41a978d5c4df148db87dd5c9af118
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-id-pages-pages-userinfo-userinfo.d40ff874.js
@@ -0,0 +1 @@
+import{_ as e,L as t,o as i,c as s,w as o,I as a,b as l,m as n,i as c,Y as d,Z as r,$ as u,n as h,a0 as p,N as g,O as f,f as m,g as y,A as b,z as w,a1 as k,a2 as _,x as S,a3 as x,a as C,C as v,d as I,t as B,p as T,R as M,a4 as L,a5 as P,q as $,s as F,e as A,F as j}from"./index-389238f5.js";import{_ as z}from"./uni-popup-dialog.39d6dc6f.js";const U=e({name:"cloud-image",emits:["click"],props:{mode:{type:String,default:()=>"widthFix"},src:{default:()=>""},width:{type:String,default:()=>"100rpx"},height:{type:String,default:()=>"100rpx"}},watch:{src:{handler(e){e&&"cloud://"==e.substring(0,8)?t.getTempFileURL({fileList:[e]}).then((e=>{this.cSrc=e.fileList[0].tempFileURL})):this.cSrc=e},immediate:!0}},methods:{onClick(){this.$emit("click")}},data:()=>({cSrc:!1})},[["render",function(e,t,d,r,u,h){const p=n,g=c;return i(),s(g,{onClick:h.onClick,style:a([{width:d.width,height:d.height},{"justify-content":"center"}])},{default:o((()=>[u.cSrc?(i(),s(p,{key:0,style:a({width:d.width,height:d.height}),src:u.cSrc,mode:d.mode},null,8,["style","src","mode"])):l("",!0)])),_:1},8,["onClick","style"])}]]);const O=e({data:()=>({isPC:!1}),props:{width:{type:String,default:()=>"50px"},height:{type:String,default:()=>"50px"},border:{type:Boolean,default:()=>!1}},async mounted(){this.isPC=!["ios","android"].includes(d().platform)},computed:{hasLogin:()=>r.hasLogin,userInfo:()=>r.userInfo,avatar_file:()=>r.userInfo.avatar_file},methods:{setAvatarFile(e){u.updateUserInfo({avatar_file:e})},uploadAvatarImg(e){if(!this.hasLogin)return h({url:"/uni_modules/uni-id-pages/pages/login/login-withoutpwd"});const i={quality:100,width:600,height:600,resize:!0};p({count:1,crop:i,success:async e=>{let s=e.tempFiles[0],o={extname:s.name.split(".")[s.name.split(".").length-1]},a=e.tempFilePaths[0];a=await new Promise((e=>{this.isPC||h({url:"/uni_modules/uni-id-pages/pages/userinfo/cropImage/cropImage?path="+a+`&options=${JSON.stringify(i)}`,animationType:"fade-in",events:{success:t=>{e(t)}},complete(e){}})}));let l=this.userInfo._id+""+Date.now();o.name=l,g({title:"更新中",mask:!0});let{fileID:n}=await t.uploadFile({filePath:a,cloudPath:l,fileType:"image"});o.url=n,f(),this.setAvatarFile(o)}})}}},[["render",function(e,t,l,n,d,r){const u=m(y("cloud-image"),U),h=m(y("uni-icons"),b),p=c;return i(),s(p,{onClick:r.uploadAvatarImg,class:w(["box",{showBorder:l.border}]),style:a({width:l.width,height:l.height,lineHeight:l.height})},{default:o((()=>[r.avatar_file?(i(),s(u,{key:0,src:r.avatar_file.url,width:l.width,height:l.height},null,8,["src","width","height"])):(i(),s(h,{key:1,style:a({width:l.width,height:l.height,lineHeight:l.height}),class:"chooseAvatar",type:"plusempty",size:"30",color:"#dddddd"},null,8,["style"]))])),_:1},8,["onClick","class","style"])}],["__scopeId","data-v-9650e156"]]);const N=e({name:"UniListItem",emits:["click","switchChange"],props:{direction:{type:String,default:"row"},title:{type:String,default:""},note:{type:String,default:""},ellipsis:{type:[Number,String],default:0},disabled:{type:[Boolean,String],default:!1},clickable:{type:Boolean,default:!1},showArrow:{type:[Boolean,String],default:!1},link:{type:[Boolean,String],default:!1},to:{type:String,default:""},showBadge:{type:[Boolean,String],default:!1},showSwitch:{type:[Boolean,String],default:!1},switchChecked:{type:[Boolean,String],default:!1},badgeText:{type:String,default:""},badgeType:{type:String,default:"success"},badgeStyle:{type:Object,default:()=>({})},rightText:{type:String,default:""},thumb:{type:String,default:""},thumbSize:{type:String,default:"base"},showExtraIcon:{type:[Boolean,String],default:!1},extraIcon:{type:Object,default:()=>({type:"",color:"#000000",size:20,customPrefix:""})},border:{type:Boolean,default:!0},customStyle:{type:Object,default:()=>({padding:"",backgroundColor:"#FFFFFF"})},keepScrollPosition:{type:Boolean,default:!1}},watch:{"customStyle.padding":{handler(e){"number"==typeof e&&(e+="");let t=e.split(" ");if(1===t.length){const e=t[0];this.padding={top:e,right:e,bottom:e,left:e}}else if(2===t.length){const[e,i]=t;this.padding={top:e,right:i,bottom:e,left:i}}else if(4===t.length){const[e,i,s,o]=t;this.padding={top:e,right:i,bottom:s,left:o}}},immediate:!0}},data:()=>({isFirstChild:!1,padding:{top:"",right:"",bottom:"",left:""}}),mounted(){this.list=this.getForm(),this.list&&(this.list.firstChildAppend||(this.list.firstChildAppend=!0,this.isFirstChild=!0))},methods:{getForm(e="uniList"){let t=this.$parent,i=t.$options.name;for(;i!==e;){if(t=t.$parent,!t)return!1;i=t.$options.name}return t},onClick(){""===this.to?(this.clickable||this.link)&&this.$emit("click",{data:{}}):this.openPage()},onSwitchChange(e){this.$emit("switchChange",e.detail)},openPage(){-1!==["navigateTo","redirectTo","reLaunch","switchTab"].indexOf(this.link)?this.pageApi(this.link):this.pageApi("navigateTo")},pageApi(e){let t={url:this.to,success:e=>{this.$emit("click",{data:e})},fail:e=>{this.$emit("click",{data:e})}};switch(e){case"navigateTo":default:h(t);break;case"redirectTo":S(t);break;case"reLaunch":_(t);break;case"switchTab":k(t)}}}},[["render",function(e,t,d,r,u,h){const p=c,g=n,f=m(y("uni-icons"),b),k=T,_=m(y("uni-badge"),x),S=M;return i(),s(p,{class:w([{"uni-list-item--disabled":d.disabled},"uni-list-item"]),style:a({"background-color":d.customStyle.backgroundColor}),"hover-class":!d.clickable&&!d.link||d.disabled||d.showSwitch?"":"uni-list-item--hover",onClick:h.onClick},{default:o((()=>[u.isFirstChild?l("",!0):(i(),s(p,{key:0,class:w(["border--left",{"uni-list--border":d.border}])},null,8,["class"])),C(p,{class:w(["uni-list-item__container",{"container--right":d.showArrow||d.link,"flex--direction":"column"===d.direction}]),style:a({paddingTop:u.padding.top,paddingLeft:u.padding.left,paddingRight:u.padding.right,paddingBottom:u.padding.bottom})},{default:o((()=>[v(e.$slots,"header",{},(()=>[C(p,{class:"uni-list-item__header"},{default:o((()=>[d.thumb?(i(),s(p,{key:0,class:"uni-list-item__icon"},{default:o((()=>[C(g,{src:d.thumb,class:w(["uni-list-item__icon-img",["uni-list--"+d.thumbSize]])},null,8,["src","class"])])),_:1})):d.showExtraIcon?(i(),s(p,{key:1,class:"uni-list-item__icon"},{default:o((()=>[C(f,{customPrefix:d.extraIcon.customPrefix,color:d.extraIcon.color,size:d.extraIcon.size,type:d.extraIcon.type},null,8,["customPrefix","color","size","type"])])),_:1})):l("",!0)])),_:1})]),!0),v(e.$slots,"body",{},(()=>[C(p,{class:w(["uni-list-item__content",{"uni-list-item__content--center":d.thumb||d.showExtraIcon||d.showBadge||d.showSwitch}])},{default:o((()=>[d.title?(i(),s(k,{key:0,class:w(["uni-list-item__content-title",[0!==d.ellipsis&&d.ellipsis<=2?"uni-ellipsis-"+d.ellipsis:""]])},{default:o((()=>[I(B(d.title),1)])),_:1},8,["class"])):l("",!0),d.note?(i(),s(k,{key:1,class:"uni-list-item__content-note"},{default:o((()=>[I(B(d.note),1)])),_:1})):l("",!0)])),_:1},8,["class"])]),!0),v(e.$slots,"footer",{},(()=>[d.rightText||d.showBadge||d.showSwitch?(i(),s(p,{key:0,class:w(["uni-list-item__extra",{"flex--justify":"column"===d.direction}])},{default:o((()=>[d.rightText?(i(),s(k,{key:0,class:"uni-list-item__extra-text"},{default:o((()=>[I(B(d.rightText),1)])),_:1})):l("",!0),d.showBadge?(i(),s(_,{key:1,type:d.badgeType,text:d.badgeText,"custom-style":d.badgeStyle},null,8,["type","text","custom-style"])):l("",!0),d.showSwitch?(i(),s(S,{key:2,disabled:d.disabled,checked:d.switchChecked,onChange:h.onSwitchChange},null,8,["disabled","checked","onChange"])):l("",!0)])),_:1},8,["class"])):l("",!0)]),!0)])),_:3},8,["class","style"]),d.showArrow||d.link?(i(),s(f,{key:1,size:16,class:"uni-icon-wrapper",color:"#bbb",type:"arrowright"})):l("",!0)])),_:3},8,["class","style","hover-class","onClick"])}],["__scopeId","data-v-77963a5a"]]);const q=e({name:"uniList","mp-weixin":{options:{multipleSlots:!1}},props:{stackFromEnd:{type:Boolean,default:!1},enableBackToTop:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},border:{type:Boolean,default:!0},renderReverse:{type:Boolean,default:!1}},created(){this.firstChildAppend=!1},methods:{loadMore(e){this.$emit("scrolltolower")},scroll(e){this.$emit("scroll",e)}}},[["render",function(e,t,a,n,d,r){const u=c;return i(),s(u,{class:"uni-list uni-border-top-bottom"},{default:o((()=>[a.border?(i(),s(u,{key:0,class:"uni-list--border-top"})):l("",!0),v(e.$slots,"default",{},void 0,!0),a.border?(i(),s(u,{key:1,class:"uni-list--border-bottom"})):l("",!0)])),_:3})}],["__scopeId","data-v-c1d7c358"]]);t.database().collection("uni-id-users");const R=t.importObject("uni-id-co");const E=e({emits:["success"],computed:{},data:()=>({}),methods:{beforeGetphonenumber:async()=>await new Promise(((e,i)=>{g({mask:!0}),wx.checkSession({success(){e(),f()},fail(){L({success({code:s}){t.importObject("uni-id-co",{customUI:!0}).loginByWeixin({code:s}).then((t=>{e()})).catch((e=>{console.log(e),i()})).finally((e=>{f()}))},fail:e=>{console.error(e),i()}})}})})),async bindMobileByMpWeixin(e){"getPhoneNumber:ok"==e.detail.errMsg?(await this.beforeGetphonenumber(),R.bindMobileByMpWeixin(e.detail).then((e=>{this.$emit("success")})).finally((e=>{this.closeMe()}))):this.closeMe()},async open(){this.$refs.popup.open()},closeMe(e){this.$refs.popup.close()}}},[["render",function(e,t,a,l,n,d){const r=T,u=$,h=c,p=m(y("uni-popup"),P);return i(),s(p,{ref:"popup",type:"bottom"},{default:o((()=>[C(h,{class:"box"},{default:o((()=>[C(r,{class:"headBox"},{default:o((()=>[I("绑定资料")])),_:1}),C(r,{class:"tip"},{default:o((()=>[I("将一键获取你的手机号码绑定你的个人资料")])),_:1}),C(h,{class:"btnBox"},{default:o((()=>[C(r,{onClick:d.closeMe,class:"close"},{default:o((()=>[I("关闭")])),_:1},8,["onClick"]),C(u,{class:"agree uni-btn",type:"primary","open-type":"getPhoneNumber",onGetphonenumber:d.bindMobileByMpWeixin},{default:o((()=>[I("获取")])),_:1},8,["onGetphonenumber"])])),_:1})])),_:1})])),_:1},512)}],["__scopeId","data-v-1edc5089"]]),G=t.importObject("uni-id-co");const W=e({computed:{userInfo:()=>r.userInfo},data:()=>({univerifyStyle:{authButton:{title:"本机号码一键绑定"},otherLoginButton:{title:"其他号码绑定"}},hasPwd:!1,showLoginManage:!1}),async onShow(){this.univerifyStyle.authButton.title="本机号码一键绑定",this.univerifyStyle.otherLoginButton.title="其他号码绑定"},async onLoad(e){e.showLoginManage&&(this.showLoginManage=!0);let t=await G.getAccountInfo();this.hasPwd=t.isPasswordSet},methods:{login(){h({url:"/uni_modules/uni-id-pages/pages/login/login-withoutpwd",complete:e=>{}})},logout(){u.logout()},bindMobileSuccess(){u.updateUserInfo()},changePassword(){h({url:"/uni_modules/uni-id-pages/pages/userinfo/change_pwd/change_pwd",complete:e=>{}})},bindMobile(){this.bindMobileBySmsCode()},univerify(){L({provider:"univerify",univerifyStyle:this.univerifyStyle,success:async e=>{G.bindMobileByUniverify(e.authResult).then((e=>{u.updateUserInfo()})).catch((e=>{console.log(e)})).finally((e=>{uni.closeAuthView()}))},fail:e=>{console.log(e),"30002"!=e.code&&"30001"!=e.code||this.bindMobileBySmsCode()}})},bindMobileBySmsCode(){h({url:"./bind-mobile/bind-mobile"})},setNickname(e){e?(u.updateUserInfo({nickname:e}),this.$refs.dialog.close()):this.$refs.dialog.open()},deactivate(){h({url:"/uni_modules/uni-id-pages/pages/userinfo/deactivate/deactivate"})},async bindThirdAccount(e){const i=t.importObject("uni-id-co"),s={weixin:"wx_openid",alipay:"ali_openid",apple:"apple_openid",qq:"qq_openid"}[e.toLowerCase()];this.userInfo[s]?(await i["unbind"+e](),await u.updateUserInfo()):L({provider:e.toLowerCase(),onlyAuthorize:!0,success:async t=>{const s=await i["bind"+e]({code:t.code});s.errCode&&F({title:s.errMsg||"绑定失败",duration:3e3}),await u.updateUserInfo()},fail:async e=>{console.log(e),f()}})}}},[["render",function(e,t,a,n,d,r){const u=m(y("uni-id-pages-avatar"),O),h=c,p=m(y("uni-list-item"),N),g=m(y("uni-list"),q),f=m(y("uni-popup-dialog"),z),b=m(y("uni-popup"),P),w=m(y("uni-id-pages-bind-mobile"),E),k=$;return i(),s(h,{class:"uni-content"},{default:o((()=>[C(h,{class:"avatar"},{default:o((()=>[C(u,{width:"260rpx",height:"260rpx"})])),_:1}),C(g,null,{default:o((()=>[C(p,{class:"item",onClick:t[0]||(t[0]=e=>r.setNickname("")),title:"昵称",rightText:r.userInfo.nickname||"未设置",link:""},null,8,["rightText"]),C(p,{class:"item",onClick:r.bindMobile,title:"手机号",rightText:r.userInfo.mobile||"未绑定",link:""},null,8,["onClick","rightText"]),r.userInfo.email?(i(),s(p,{key:0,class:"item",title:"电子邮箱",rightText:r.userInfo.email},null,8,["rightText"])):l("",!0),d.hasPwd?(i(),s(p,{key:1,class:"item",onClick:r.changePassword,title:"修改密码",link:""},null,8,["onClick"])):l("",!0)])),_:1}),C(g,{class:"mt10"},{default:o((()=>[C(p,{onClick:r.deactivate,title:"注销账号",link:"navigateTo"},null,8,["onClick"])])),_:1}),C(b,{ref:"dialog",type:"dialog"},{default:o((()=>[C(f,{mode:"input",value:r.userInfo.nickname,onConfirm:r.setNickname,title:"设置昵称",placeholder:"请输入要设置的昵称"},null,8,["value","onConfirm"])])),_:1},512),C(w,{ref:"bind-mobile-by-sms",onSuccess:r.bindMobileSuccess},null,8,["onSuccess"]),d.showLoginManage?(i(),A(j,{key:0},[r.userInfo._id?(i(),s(k,{key:0,onClick:r.logout},{default:o((()=>[I("退出登录")])),_:1},8,["onClick"])):(i(),s(k,{key:1,onClick:r.login},{default:o((()=>[I("去登录")])),_:1},8,["onClick"]))],64)):l("",!0)])),_:1})}],["__scopeId","data-v-3ac98ea6"]]);export{W as default};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-upgrade-center-pages-version-add.3b71204d.js b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-upgrade-center-pages-version-add.3b71204d.js
new file mode 100644
index 0000000000000000000000000000000000000000..3cee14181018d4a13572ed7f799640644165e05b
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-upgrade-center-pages-version-add.3b71204d.js
@@ -0,0 +1 @@
+import{_ as e,L as a,N as t,O as l,y as i,s,G as n,o,c as r,w as d,i as u,a as m,d as p,t as c,b as f,e as h,r as _,F as b,P as y,f as g,g as D,Q as V,q as k,p as v,R as x,T as C,U as S,V as U,W as w}from"./index-389238f5.js";import{_ as W}from"./uni-easyinput.a1fc57c1.js";import{_ as F}from"./uni-forms-item.69698491.js";import{_ as T}from"./uni-data-checkbox.b1dd95fe.js";import{_ as G,a as j}from"./uni-card.0addf51a.js";import{_ as O}from"./uni-file-picker.1b864550.js";import{_ as q}from"./uni-forms.bc4bcf6e.js";import{a as I,f as L}from"./version_add_detail_mixin.1fff617b.js";import{a as P}from"./utils.df25cf33.js";import"./uni-load-more.67944ae0.js";const A=a.database();A.command;const z=P;const N=e({mixins:[I],data:()=>({latestVersion:"0.0.0",lastVersionId:""}),async onLoad({appid:e,name:a,type:t}){if(e&&t&&a){const l=await this.getStoreList(e);this.formData={...this.formData,appid:e,name:a,type:t,store_list:l},this.latestStableData=await this.getDetail(e,t),!this.isWGT&&this.latestStableData.length&&this.setFormData("Android"),this.isWGT&&this.rules.min_uni_version.rules.push({required:!0})}},watch:{isiOS(e){e||!this.hasPackage?this.formData.url="":this.formData.url=this.appFileList.url},"formData.platform"(e){this.setFormData(e)}},methods:{setFormData(e){t({mask:!0}),this.latestVersion="0.0.0",this.lastVersionId="";const a=this.getData(this.latestStableData,e)[0];if(a){const{_id:e,version:t,name:l,platform:i,min_uni_version:s,url:n}=a;this.lastVersionId=e,this.latestVersion=t,this.formData.name=l,this.isWGT?this.formData.min_uni_version=s:(delete this.formData.min_uni_version,this.formData.platform=i[0],this.isiOS&&(this.formData.url=n))}else this.isWGT&&(this.formData.min_uni_version="");l()},submit(){t({mask:!0}),this.$refs.form.validate(["store_list"]).then((e=>{if(function(e="0",a="0"){e=String(e).split("."),a=String(a).split(".");const t=Math.min(e.length,a.length);let l=0;for(let i=0;is){l=1;break}if(ta.length,s=i?e:a;for(let e=t;e0){l=i?1:-1;break}}return l}(this.latestVersion,e.version)>=0)throw i({content:`版本号必须大于当前已上线版本(${this.latestVersion})`,showCancel:!1}),new Error("版本号必须大于已上线版本(${this.latestVersion})");this.isWGT||(e.platform=[e.platform]),(this.isiOS||this.isWGT)&&delete e.store_list,e.store_list&&e.store_list.forEach((e=>{e.priority=parseFloat(e.priority)})),this.submitForm(e)})).catch((e=>{l()}))},async submitForm(e){e=this.createCenterRecord(e);const a=A.collection(z);let t,o=[];this.isWGT||(o=await this.getDetail(e.appid,e.type,this.createStatQuery(e))),o.length?(e.create_date=Date.now(),t=a.doc(o[0]._id).update(e)):t=a.add(e),t.then((async t=>{e.stable_publish&&this.lastVersionId&&await a.doc(this.lastVersionId).update({stable_publish:!1}),s({title:"新增成功"}),this.getOpenerEventChannel().emit("refreshData"),setTimeout((()=>n()),500)})).catch((e=>{i({content:e.message||"请求服务失败",showCancel:!1})})).finally((()=>{l()}))},getDetail:(e,a,s={})=>(t({mask:!0}),A.collection(z).where(Object.assign({appid:e,type:a,stable_publish:!0},s)).field(L).get().then((e=>e.result.data)).catch((e=>{i({content:e.message||"请求服务失败",showCancel:!1})})).finally((()=>{l()}))),getData:(e=[],a)=>"string"==typeof a?e.filter((e=>e.platform.includes(a))):e.filter((e=>e.platform.toString()===a.toString())),back(){i({title:"取消发布",content:this.hasPackage?"将会删除已上传的包":void 0,success:e=>{e.confirm&&(this.hasPackage&&this.deleteFile([this.appFileList.url]),n())}})}}},[["render",function(e,a,t,l,i,s){const n=u,I=g(D("uni-easyinput"),W),L=g(D("uni-forms-item"),F),P=V,A=g(D("uni-data-checkbox"),T),z=g(D("show-info"),G),N=k,E=v,$=g(D("uni-file-picker"),O),M=S,Q=U,R=w,B=g(D("uni-card"),j),H=x,J=g(D("uni-forms"),q);return o(),r(n,{class:"uni-container"},{default:d((()=>[m(n,{class:"uni-header"},{default:d((()=>[m(n,{class:"uni-group"},{default:d((()=>[m(n,{class:"uni-title"},{default:d((()=>[p("包类型")])),_:1}),m(n,{class:"uni-sub-title"},{default:d((()=>[p(c(e.type_valuetotext[e.formData.type]),1)])),_:1})])),_:1})])),_:1}),m(J,{ref:"form",value:e.formData,validateTrigger:"bind",labelWidth:e.labelWidth},{default:d((()=>[m(L,{name:"appid",label:"AppID",required:""},{default:d((()=>[m(I,{disabled:!0,modelValue:e.formData.appid,"onUpdate:modelValue":a[0]||(a[0]=a=>e.formData.appid=a),trim:"both"},null,8,["modelValue"])])),_:1}),m(L,{name:"name",label:"应用名称"},{default:d((()=>[m(I,{disabled:!0,modelValue:e.formData.name,"onUpdate:modelValue":a[1]||(a[1]=a=>e.formData.name=a),trim:"both"},null,8,["modelValue"])])),_:1}),m(L,{name:"title",label:"更新标题"},{default:d((()=>[m(I,{placeholder:"更新标题",modelValue:e.formData.title,"onUpdate:modelValue":a[2]||(a[2]=a=>e.formData.title=a)},null,8,["modelValue"])])),_:1}),m(L,{name:"contents",label:"更新内容",required:""},{default:d((()=>[m(P,{"auto-height":"",style:{"box-sizing":"content-box"},onInput:a[3]||(a[3]=a=>e.binddata("contents",a.detail.value)),class:"uni-textarea-border",value:e.formData.contents,"onUpdate:value":a[4]||(a[4]=a=>e.formData.contents=a)},null,8,["value"])])),_:1}),m(L,{name:"platform",label:"平台",required:""},{default:d((()=>[m(A,{multiple:e.isWGT,modelValue:e.formData.platform,"onUpdate:modelValue":a[5]||(a[5]=a=>e.formData.platform=a),localdata:e.platformLocaldata},null,8,["multiple","modelValue","localdata"])])),_:1}),m(L,{name:"version",label:"版本号",required:""},{default:d((()=>[m(I,{modelValue:e.formData.version,"onUpdate:modelValue":a[6]||(a[6]=a=>e.formData.version=a),placeholder:"当前包版本号,必须大于当前线上发行版本号"},null,8,["modelValue"])])),_:1}),e.isWGT?(o(),r(L,{key:"min_uni_version",name:"min_uni_version",label:"原生App最低版本",required:e.isWGT},{default:d((()=>[m(I,{placeholder:"原生App最低版本",modelValue:e.formData.min_uni_version,"onUpdate:modelValue":a[7]||(a[7]=a=>e.formData.min_uni_version=a)},null,8,["modelValue"]),m(z,{content:e.minUniVersionContent},null,8,["content"])])),_:1},8,["required"])):f("",!0),e.isiOS?f("",!0):(o(),r(L,{key:1,label:"上传apk包"},{default:d((()=>[m($,{modelValue:e.appFileList,"onUpdate:modelValue":a[8]||(a[8]=a=>e.appFileList=a),"file-extname":e.fileExtname,disabled:e.hasPackage,returnType:"object","file-mediatype":"all",limit:"1",onSuccess:e.packageUploadSuccess,onDelete:e.packageDelete},{default:d((()=>[m(n,{class:"flex"},{default:d((()=>[m(N,{type:"primary",size:"mini",onClick:e.selectFile,style:{margin:"0"}},{default:d((()=>[p("选择文件")])),_:1},8,["onClick"]),m(E,{style:{padding:"10px","font-size":"12px",color:"#666"}},{default:d((()=>[p("上传apk到当前服务空间的云存储中,上传成功后,会自动使用云存储地址填充下载链接")])),_:1}),m(E,{class:"uni-sub-title",style:{"font-size":"12px"}},{default:d((()=>[p("上传文件后同步到各地cdn缓存节点有延迟。请适当等候再提交新版信息入库,触发客户端更新提示。")])),_:1})])),_:1})])),_:1},8,["modelValue","file-extname","disabled","onSuccess","onDelete"]),e.hasPackage?(o(),r(E,{key:0,style:{"padding-left":"20px",color:"#a8a8a8"}},{default:d((()=>[p(c(Number(e.appFileList.size/1024/1024).toFixed(2))+"M",1)])),_:1})):f("",!0)])),_:1})),m(L,{key:"url",name:"url",label:e.isiOS?"AppStore":"下载链接",required:""},{default:d((()=>[m(I,{placeholder:"链接",modelValue:e.formData.url,"onUpdate:modelValue":a[9]||(a[9]=a=>e.formData.url=a),maxlength:-1},null,8,["modelValue"])])),_:1},8,["label"]),e.isiOS||e.isWGT||!e.formData.store_list.length?f("",!0):(o(),r(L,{label:"Android应用市场",labelWidth:"125px",key:"store_list",name:"store_list"},{default:d((()=>[m(n,{style:{flex:"1"}},{default:d((()=>[(o(!0),h(b,null,_(e.formData.store_list,(a=>(o(),r(n,{key:a.id},{default:d((()=>[m(B,{style:{margin:"0px 0px 20px 0px"}},{default:d((()=>[m(n,{style:{display:"flex"}},{default:d((()=>[m(R,{style:{"user-select":"none"},onChange:({detail:{value:e}})=>{a.enable=!!e.length}},{default:d((()=>[m(Q,{class:"title_padding"},{default:d((()=>[m(M,{value:"scheme",checked:a.enable},null,8,["checked"]),m(E,null,{default:d((()=>[p("是否启用")])),_:1})])),_:2},1024)])),_:2},1032,["onChange"])])),_:2},1024),m(L,{label:"商店名称"},{default:d((()=>[m(I,{disabled:"",modelValue:a.name,"onUpdate:modelValue":e=>a.name=e,trim:"both"},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),m(L,{label:"Scheme"},{default:d((()=>[m(I,{disabled:"",modelValue:a.scheme,"onUpdate:modelValue":e=>a.scheme=e,trim:"both"},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),m(L,{label:"优先级"},{default:d((()=>[m(I,{modelValue:a.priority,"onUpdate:modelValue":e=>a.priority=e,type:"number"},null,8,["modelValue","onUpdate:modelValue"]),m(z,{top:-100,left:-180,content:e.priorityContent},null,8,["content"])])),_:2},1024)])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1})),e.isWGT?(o(),r(L,{key:"is_silently",name:"is_silently",label:"静默更新"},{default:d((()=>[m(H,{onChange:a[10]||(a[10]=a=>e.binddata("is_silently",a.detail.value)),checked:e.formData.is_silently},null,8,["checked"]),m(z,{top:-80,content:e.silentlyContent},null,8,["content"])])),_:1})):f("",!0),e.isiOS?f("",!0):(o(),r(L,{key:"is_mandatory",name:"is_mandatory",label:"强制更新"},{default:d((()=>[m(H,{onChange:a[11]||(a[11]=a=>e.binddata("is_mandatory",a.detail.value)),checked:e.formData.is_mandatory},null,8,["checked"]),m(z,{content:e.mandatoryContent},null,8,["content"])])),_:1})),m(L,{name:"stable_publish",label:"上线发行"},{default:d((()=>[m(H,{onChange:a[12]||(a[12]=a=>e.binddata("stable_publish",a.detail.value)),checked:e.formData.stable_publish},null,8,["checked"]),m(z,{top:-40,content:e.stablePublishContent2},null,8,["content"])])),_:1}),y(m(L,{name:"type",label:"安装包类型"},{default:d((()=>[m(A,{modelValue:e.formData.type,"onUpdate:modelValue":a[13]||(a[13]=a=>e.formData.type=a),localdata:e.formOptions.type_localdata},null,8,["modelValue","localdata"])])),_:1},512),[[C,!1]]),m(n,{class:"uni-button-group"},{default:d((()=>[m(N,{type:"primary",class:"uni-button",style:{width:"100px"},onClick:s.submit},{default:d((()=>[p("发布")])),_:1},8,["onClick"]),m(N,{type:"warn",class:"uni-button",style:{width:"100px","margin-left":"15px"},onClick:s.back},{default:d((()=>[p("取消")])),_:1},8,["onClick"])])),_:1})])),_:1},8,["value","labelWidth"])])),_:1})}],["__scopeId","data-v-b471f01c"]]);export{N as default};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-upgrade-center-pages-version-detail.0a376ba7.js b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-upgrade-center-pages-version-detail.0a376ba7.js
new file mode 100644
index 0000000000000000000000000000000000000000..156edf03efaf9368ddbb95d6eebdf7c7f545ee99
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-upgrade-center-pages-version-detail.0a376ba7.js
@@ -0,0 +1 @@
+import{_ as e,L as a,N as t,O as l,s as i,G as s,y as o,o as n,c as d,w as u,i as r,a as m,d as c,t as f,b as p,e as h,r as b,F as _,P as y,q as D,f as k,g,Q as V,p as S,R as v,X as x,T as C,U as w,V as U,W as j}from"./index-389238f5.js";import{_ as F}from"./uni-easyinput.a1fc57c1.js";import{_ as T}from"./uni-forms-item.69698491.js";import{_ as W}from"./uni-data-checkbox.b1dd95fe.js";import{_ as q,a as L}from"./uni-card.0addf51a.js";import{_ as O}from"./uni-file-picker.1b864550.js";import{_ as P}from"./uni-dateformat.b1c4ea95.js";import{_ as G}from"./uni-forms.bc4bcf6e.js";import{a as I,f as E}from"./version_add_detail_mixin.1fff617b.js";import{c as A,a as z}from"./utils.df25cf33.js";import"./uni-load-more.67944ae0.js";const M=a.database();M.command;const B=z;const N=e({mixins:[I],data:()=>({showStableInfo:!1,isStable:!0,originalData:{},detailsState:!0}),async onLoad(e){const a=e.id;this.formDataId=a,await this.getDetail(a),this.isStable=this.formData.stable_publish,this.latestStableData=await this.getLatestVersion(),this.isWGT&&this.rules.min_uni_version.rules.push({required:!0})},methods:{submit(){t({mask:!0}),this.$refs.form.validate(["store_list"]).then((e=>{e.store_list&&e.store_list.forEach((e=>{e.priority=parseFloat(e.priority)})),this.submitForm(e)})).catch((e=>{l()}))},async submitForm(e){const a=M.collection(B);a.doc(this.formDataId).update(e).then((async t=>{!this.isStable&&!0===e.stable_publish&&this.latestStableData&&await a.doc(this.latestStableData._id).update({stable_publish:!1}),i({title:"修改成功"}),this.getOpenerEventChannel().emit("refreshData"),setTimeout((()=>s()),500)})).catch((e=>{o({content:e.message||"请求服务失败",showCancel:!1})})).finally((()=>{l()}))},getDetail(e){return t({mask:!0}),M.collection(B).doc(e).field(E).get().then((e=>{const a=e.result.data[0];a&&(a.store_list||(a.store_list=[]),this.formData=a,this.originalData=A(this.formData))})).catch((e=>{o({content:e.message||"请求服务失败",showCancel:!1})})).finally((()=>{l()}))},deletePackage(){o({title:"提示",content:"是否删除该版本",success:e=>{e.confirm&&(t({mask:!0}),M.collection(B).doc(this.formDataId).remove().then((()=>{i({title:"删除成功"}),this.getOpenerEventChannel().emit("refreshData"),setTimeout((()=>s()),500)})).catch((e=>{o({content:e.message||"请求服务失败",showCancel:!1})})).finally((()=>{l()})))}})},async getLatestVersion(){const e={appid:this.formData.appid,type:this.formData.type,stable_publish:!0};this.isWGT||(e.platform=this.formData.platform[0]);return(await M.collection(B).where(e).get()).result.data.find((e=>e.platform.toString()===this.formData.platform.toString()))},cancelEdit(){let e="";!this.isiOS&&this.hasPackage&&(e+="\n将会删除已上传的包"),o({title:"取消修改",content:e,success:e=>{e.confirm&&(this.formData=A(this.originalData),this.detailsState=!0,this.hasPackage&&this.deleteFile([this.appFileList.url]))}})}}},[["render",function(e,a,t,l,i,s){const o=r,I=D,E=k(g("uni-easyinput"),F),A=k(g("uni-forms-item"),T),z=V,M=k(g("uni-data-checkbox"),W),B=k(g("show-info"),q),N=k(g("uni-file-picker"),O),H=S,J=w,Q=U,R=j,X=k(g("uni-card"),L),$=v,K=k(g("uni-dateformat"),P),Y=x,Z=k(g("uni-forms"),G);return n(),d(o,{class:"uni-container"},{default:u((()=>[m(o,{class:"uni-header"},{default:u((()=>[m(o,{class:"uni-group"},{default:u((()=>[m(o,{class:"uni-title"},{default:u((()=>[c("包类型")])),_:1}),m(o,{class:"uni-sub-title",style:{display:"flex","justify-content":"center","align-items":"center"}},{default:u((()=>[c(f(e.type_valuetotext[e.formData.type]),1)])),_:1})])),_:1}),i.isStable?p("",!0):(n(),d(o,{key:0,class:"uni-group"},{default:u((()=>[m(I,{class:"uni-button",type:"warn",size:"mini",onClick:s.deletePackage},{default:u((()=>[c("删除")])),_:1},8,["onClick"])])),_:1}))])),_:1}),m(Z,{ref:"form",value:e.formData,validateTrigger:"bind",labelWidth:e.labelWidth},{default:u((()=>[m(A,{name:"appid",label:"AppID",required:""},{default:u((()=>[m(E,{disabled:!0,modelValue:e.formData.appid,"onUpdate:modelValue":a[0]||(a[0]=a=>e.formData.appid=a),trim:"both"},null,8,["modelValue"])])),_:1}),m(A,{name:"name",label:"应用名称"},{default:u((()=>[m(E,{disabled:!0,modelValue:e.formData.name,"onUpdate:modelValue":a[1]||(a[1]=a=>e.formData.name=a),trim:"both"},null,8,["modelValue"])])),_:1}),m(A,{name:"title",label:"更新标题"},{default:u((()=>[m(E,{disabled:i.detailsState,placeholder:"更新标题",modelValue:e.formData.title,"onUpdate:modelValue":a[2]||(a[2]=a=>e.formData.title=a)},null,8,["disabled","modelValue"])])),_:1}),m(A,{name:"contents",label:"更新内容",required:""},{default:u((()=>[m(z,{"auto-height":"",style:{"box-sizing":"content-box"},disabled:i.detailsState,onInput:a[3]||(a[3]=a=>e.binddata("contents",a.detail.value)),class:"uni-textarea-border",value:e.formData.contents,"onUpdate:value":a[4]||(a[4]=a=>e.formData.contents=a)},null,8,["disabled","value"])])),_:1}),m(A,{name:"platform",label:"平台",required:""},{default:u((()=>[m(M,{disabled:!0,multiple:!0,modelValue:e.formData.platform,"onUpdate:modelValue":a[5]||(a[5]=a=>e.formData.platform=a),localdata:e.platformLocaldata},null,8,["modelValue","localdata"])])),_:1}),m(A,{name:"version",label:"版本号",required:""},{default:u((()=>[m(E,{disabled:!0,modelValue:e.formData.version,"onUpdate:modelValue":a[6]||(a[6]=a=>e.formData.version=a),placeholder:"当前包版本号,必须大于当前已上线版本号"},null,8,["modelValue"])])),_:1}),e.isWGT?(n(),d(A,{key:"min_uni_version",name:"min_uni_version",label:"原生App最低版本",required:e.isWGT},{default:u((()=>[m(E,{disabled:i.detailsState,placeholder:"原生App最低版本",modelValue:e.formData.min_uni_version,"onUpdate:modelValue":a[7]||(a[7]=a=>e.formData.min_uni_version=a)},null,8,["disabled","modelValue"]),m(B,{content:e.minUniVersionContent},null,8,["content"])])),_:1},8,["required"])):p("",!0),e.isiOS||i.detailsState?p("",!0):(n(),d(A,{key:1,label:"上传apk包"},{default:u((()=>[m(N,{modelValue:e.appFileList,"onUpdate:modelValue":a[8]||(a[8]=a=>e.appFileList=a),"file-extname":e.fileExtname,disabled:e.hasPackage,returnType:"object","file-mediatype":"all",limit:"1",onSuccess:e.packageUploadSuccess,onDelete:e.packageDelete},{default:u((()=>[m(I,{type:"primary",size:"mini",onClick:e.selectFile},{default:u((()=>[c("选择文件")])),_:1},8,["onClick"])])),_:1},8,["modelValue","file-extname","disabled","onSuccess","onDelete"]),e.hasPackage?(n(),d(H,{key:0,style:{"padding-left":"20px",color:"#a8a8a8"}},{default:u((()=>[c(f(Number(e.appFileList.size/1024/1024).toFixed(2))+"M",1)])),_:1})):p("",!0)])),_:1})),m(A,{key:"url",name:"url",label:e.isiOS?"AppStore":"下载链接",required:""},{default:u((()=>[m(E,{disabled:i.detailsState,placeholder:"下载链接",modelValue:e.formData.url,"onUpdate:modelValue":a[9]||(a[9]=a=>e.formData.url=a),maxlength:-1},null,8,["disabled","modelValue"])])),_:1},8,["label"]),e.isiOS||e.isWGT||!e.formData.store_list.length?p("",!0):(n(),d(A,{label:"Android应用市场",key:"store_list",name:"store_list",labelWidth:"120"},{default:u((()=>[m(o,{style:{flex:"1"}},{default:u((()=>[(n(!0),h(_,null,b(e.formData.store_list,((a,t)=>(n(),d(o,{key:a.id},{default:u((()=>[m(X,{style:{margin:"0px 0px 20px 0px"}},{default:u((()=>[m(o,{style:{display:"flex"}},{default:u((()=>[m(R,{style:{"user-select":"none"},onChange:({detail:{value:e}})=>{a.enable=!!e.length}},{default:u((()=>[m(Q,{class:"title_padding"},{default:u((()=>[m(J,{disabled:i.detailsState,value:"scheme",checked:a.enable},null,8,["disabled","checked"]),m(H,null,{default:u((()=>[c("是否启用")])),_:1})])),_:2},1024)])),_:2},1032,["onChange"])])),_:2},1024),m(A,{label:"商店名称"},{default:u((()=>[m(E,{disabled:"",modelValue:a.name,"onUpdate:modelValue":e=>a.name=e,trim:"both"},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),m(A,{label:"Scheme"},{default:u((()=>[m(E,{disabled:"",modelValue:a.scheme,"onUpdate:modelValue":e=>a.scheme=e,trim:"both"},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),m(A,{label:"优先级"},{default:u((()=>[m(E,{disabled:i.detailsState,modelValue:a.priority,"onUpdate:modelValue":e=>a.priority=e,type:"number"},null,8,["disabled","modelValue","onUpdate:modelValue"]),m(B,{top:-100,left:-180,content:e.priorityContent},null,8,["content"])])),_:2},1024)])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1})),e.isWGT?(n(),d(A,{key:"is_silently",name:"is_silently",label:"静默更新"},{default:u((()=>[m($,{disabled:i.detailsState,onChange:a[10]||(a[10]=a=>(e.binddata("is_silently",a.detail.value),e.formData.is_silently=a.detail.value)),checked:e.formData.is_silently},null,8,["disabled","checked"]),m(B,{top:-80,content:e.silentlyContent},null,8,["content"])])),_:1})):p("",!0),e.isiOS?p("",!0):(n(),d(A,{key:"is_mandatory",name:"is_mandatory",label:"强制更新"},{default:u((()=>[m($,{disabled:i.detailsState,onChange:a[11]||(a[11]=a=>(e.binddata("is_mandatory",a.detail.value),e.formData.is_mandatory=a.detail.value)),checked:e.formData.is_mandatory},null,8,["disabled","checked"]),m(B,{width:"230",top:-30,content:e.mandatoryContent},null,8,["content"])])),_:1})),m(A,{name:"stable_publish",label:"上线发行"},{default:u((()=>[m($,{disabled:i.detailsState||i.isStable,onChange:a[12]||(a[12]=a=>(e.binddata("stable_publish",a.detail.value),e.formData.stable_publish=a.detail.value)),checked:e.formData.stable_publish},null,8,["disabled","checked"]),i.isStable?(n(),d(B,{key:0,top:-50,width:"350",content:e.stablePublishContent},null,8,["content"])):(n(),d(B,{key:1,top:-40,content:e.stablePublishContent2},null,8,["content"]))])),_:1}),m(A,{name:"create_date",label:"上传时间"},{default:u((()=>[m(K,{format:"yyyy-MM-dd hh:mm:ss",date:e.formData.create_date,threshold:[0,0]},null,8,["date"])])),_:1}),y(m(A,{name:"type",label:"安装包类型"},{default:u((()=>[m(M,{modelValue:e.formData.type,"onUpdate:modelValue":a[13]||(a[13]=a=>e.formData.type=a),localdata:e.formOptions.type_localdata},null,8,["modelValue","localdata"])])),_:1},512),[[C,!1]]),m(o,{class:"uni-button-group"},{default:u((()=>[i.detailsState?(n(),d(I,{key:0,type:"primary",class:"uni-button",style:{width:"100px"},onClick:a[14]||(a[14]=e=>i.detailsState=!1)},{default:u((()=>[c("修改")])),_:1})):p("",!0),i.detailsState?p("",!0):(n(),d(I,{key:1,type:"primary",class:"uni-button",style:{width:"100px"},onClick:s.submit},{default:u((()=>[c("提交")])),_:1},8,["onClick"])),i.detailsState?p("",!0):(n(),d(I,{key:2,type:"warn",class:"uni-button",style:{width:"100px"},onClick:s.cancelEdit},{default:u((()=>[c("取消")])),_:1},8,["onClick"])),m(Y,{"open-type":"navigateBack",style:{"margin-left":"15px"}},{default:u((()=>[m(I,{class:"uni-button",style:{width:"100px"}},{default:u((()=>[c("返回")])),_:1})])),_:1})])),_:1})])),_:1},8,["value","labelWidth"])])),_:1})}],["__scopeId","data-v-f2716d1e"]]);export{N as default};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-upgrade-center-pages-version-list.ebe393cb.js b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-upgrade-center-pages-version-list.ebe393cb.js
new file mode 100644
index 0000000000000000000000000000000000000000..fa07cc7e55d747b62a6b222c06b74fa5627971d4
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/uni_modules-uni-upgrade-center-pages-version-list.ebe393cb.js
@@ -0,0 +1 @@
+import{L as e,_ as t,f as a,g as l,o as s,c as i,w as n,a as d,e as o,F as r,r as h,z as c,d as p,t as u,b as g,p as f,i as m,S as _,A as y,B as v,C as b,D as x,E as w,G as k,n as C,H as D,y as S,I,J as $,K as V,M as T,q as A,h as N,j as L,k as F,l as B}from"./index-389238f5.js";import{_ as M}from"./uni-load-more.67944ae0.js";import{_ as j}from"./uni-dateformat.b1c4ea95.js";import{_ as P}from"./uni-pagination.018f31ea.js";import{_ as z}from"./unicloud-db.dfa2c90d.js";import{a as O,e as E,d as R,b as W}from"./utils.df25cf33.js";const U={props:{localdata:{type:[Array,Object],default:()=>[]},spaceInfo:{type:Object,default:()=>({})},collection:{type:String,default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:20},getcount:{type:[Boolean,String],default:!1},getone:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String],default:!1},manual:{type:Boolean,default:!1},value:{type:[Array,String,Number],default:()=>[]},modelValue:{type:[Array,String,Number],default:()=>[]},preload:{type:Boolean,default:!1},stepSearh:{type:Boolean,default:!0},selfField:{type:String,default:""},parentField:{type:String,default:""},multiple:{type:Boolean,default:!1},map:{type:Object,default:()=>({text:"text",value:"value"})}},data(){return{loading:!1,errorMessage:"",loadMore:{contentdown:"",contentrefresh:"",contentnomore:""},dataList:[],selected:[],selectedIndex:0,page:{current:this.pageCurrent,size:this.pageSize,count:0}}},computed:{isLocaldata(){return!this.collection.length},postField(){let e=[this.field];return this.parentField&&e.push(`${this.parentField} as parent_value`),e.join(",")},dataValue(){return(Array.isArray(this.modelValue)?this.modelValue.length>0:null!==this.modelValue||void 0!==this.modelValue)?this.modelValue:this.value},hasValue(){return"number"==typeof this.dataValue||null!=this.dataValue&&this.dataValue.length>0}},created(){this.$watch((()=>{var e=[];return["pageCurrent","pageSize","spaceInfo","value","modelValue","localdata","collection","action","field","orderby","where","getont","getcount","gettree"].forEach((t=>{e.push(this[t])})),e}),((e,t)=>{for(let a=2;a{this.loading=!1,this.selected=t.result.data,e&&e()})).catch((e=>{this.loading=!1,this.errorMessage=e})))},getTreePath(e){this.loading||(this.loading=!0,this.getCommand({field:this.postField,getTreePath:{startWith:`${this.selfField}=='${this.dataValue}'`}}).then((t=>{this.loading=!1;let a=[];this._extractTreePath(t.result.data,a),this.selected=a,e&&e()})).catch((e=>{this.loading=!1,this.errorMessage=e})))},loadData(){this.isLocaldata?this._processLocalData():null==this.dataValue?this.stepSearh?this._loadNodeData((e=>{this._treeData=e,this._updateBindData()})):this._loadAllData((e=>{this._treeData=[],this._extractTree(e,this._treeData,null),this._updateBindData()})):this._loadNodeData((e=>{this._treeData=e,this._updateBindData(),this._updateSelected()}))},_loadAllData(e){this.loading||(this.loading=!0,this.getCommand({field:this.postField,gettree:!0,startwith:`${this.selfField}=='${this.dataValue}'`}).then((t=>{this.loading=!1,e(t.result.data),this.onDataChange()})).catch((e=>{this.loading=!1,this.errorMessage=e})))},_loadNodeData(e,t){this.loading||(this.loading=!0,this.getCommand({field:this.postField,where:t||this._postWhere(),pageSize:500}).then((t=>{this.loading=!1,e(t.result.data),this.onDataChange()})).catch((e=>{this.loading=!1,this.errorMessage=e})))},_pathWhere(){let e=[],t=this._getParentNameByField();return t&&e.push(`${t} == '${this.dataValue}'`),this.where?`(${this.where}) && (${e.join(" || ")})`:e.join(" || ")},_postWhere(){let e=[],t=this.selected,a=this.parentField;if(a&&e.push(`${a} == null || ${a} == ""`),t.length)for(var l=0;lnull===e.parent_value||void 0===e.parent_value||""===e.parent_value)));for(let n=0;ne.parent_value===s));i.length?a.push(i):l=!1}return{dataList:a,hasNodes:l}},_extractTree(e,t,a){let l=this.map.value;for(let s=0;s({}),created(){this.managedMode||this.$nextTick((()=>{this.load()}))},methods:{onPropsChange(){this._treeData=[],this.selectedIndex=0,this.load()},load(){this.isLocaldata?this.loadData():this.dataValue.length&&this.getTreePath((e=>{this.loadData()}))},handleSelect(e){this.selectedIndex=e},handleNodeClick(e,t,a){if(e.disable)return;const l=this.dataList[t][a],s=l[this.map.text],i=l[this.map.value];if(t{e.length?(this._treeData.push(...e),this._updateBindData(l)):l.isleaf=!0,this.onSelectedChange(l,l.isleaf)}),this._nodeWhere()):this.onSelectedChange(l,!0)},updateData(e){this._treeData=e.treeData,this.selected=e.selected,this._treeData.length?this._updateBindData():this.loadData()},onDataChange(){this.$emit("datachange")},onSelectedChange(e,t){t&&this._dispatchEvent(),e&&this.$emit("nodeclick",e)},_dispatchEvent(){this.$emit("change",this.selected.slice(0))}}},[["render",function(e,t,y,v,b,x){const w=f,k=m,C=_,D=a(l("uni-load-more"),M);return s(),i(k,{class:"uni-data-pickerview"},{default:n((()=>[d(C,{class:"selected-area","scroll-x":"true","scroll-y":"false","show-scrollbar":!1},{default:n((()=>[d(k,{class:"selected-list"},{default:n((()=>[(s(!0),o(r,null,h(e.selected,((t,a)=>(s(),o(r,{key:a},[t.text?(s(),i(k,{key:0,class:c(["selected-item",{"selected-item-active":a==e.selectedIndex,"selected-item-text-overflow":y.ellipsis}]),onClick:e=>x.handleSelect(a)},{default:n((()=>[d(w,{class:""},{default:n((()=>[p(u(t.text),1)])),_:2},1024)])),_:2},1032,["class","onClick"])):g("",!0)],64)))),128))])),_:1})])),_:1}),d(k,{class:"tab-c"},{default:n((()=>[(s(!0),o(r,null,h(e.dataList,((t,a)=>(s(),o(r,{key:e.index},[a==e.selectedIndex?(s(),i(C,{class:"list",key:a,"scroll-y":!0},{default:n((()=>[(s(!0),o(r,null,h(t,((t,l)=>(s(),i(k,{class:c(["item",{"is-disabled":!!t.disable}]),key:l,onClick:e=>x.handleNodeClick(t,a,l)},{default:n((()=>[d(w,{class:"item-text item-text-overflow"},{default:n((()=>[p(u(t[e.map.text]),1)])),_:2},1024),e.selected.length>a&&t[e.map.value]==e.selected[a].value?(s(),i(k,{key:0,class:"check"})):g("",!0)])),_:2},1032,["class","onClick"])))),128))])),_:2},1024)):g("",!0)],64)))),128)),e.loading?(s(),i(k,{key:0,class:"loading-cover"},{default:n((()=>[d(D,{class:"load-more",contentText:e.loadMore,status:"loading"},null,8,["contentText"])])),_:1})):g("",!0),e.errorMessage?(s(),i(k,{key:1,class:"error-message"},{default:n((()=>[d(w,{class:"error-text"},{default:n((()=>[p(u(e.errorMessage),1)])),_:1})])),_:1})):g("",!0)])),_:1})])),_:1})}],["__scopeId","data-v-bae1831b"]])},props:{options:{type:[Object,Array],default:()=>({})},popupTitle:{type:String,default:"请选择"},placeholder:{type:String,default:"请选择"},heightMobile:{type:String,default:""},readonly:{type:Boolean,default:!1},clearIcon:{type:Boolean,default:!0},border:{type:Boolean,default:!0},split:{type:String,default:"/"},ellipsis:{type:Boolean,default:!0}},data:()=>({isOpened:!1,inputSelected:[]}),created(){this.form=this.getForm("uniForms"),this.formItem=this.getForm("uniFormsItem"),this.formItem&&this.formItem.name&&(this.rename=this.formItem.name,this.form.inputChildrens.push(this)),this.$nextTick((()=>{this.load()}))},methods:{clear(){this.inputSelected.splice(0),this._dispatchEvent([])},onPropsChange(){this._treeData=[],this.selectedIndex=0,this.load()},load(){this.readonly?this._processReadonly(this.localdata,this.dataValue):this.isLocaldata?(this.loadData(),this.inputSelected=this.selected.slice(0)):this.parentField||this.selfField||!this.hasValue?this.hasValue&&this.getTreePath((()=>{this.inputSelected=this.selected.slice(0)})):this.getNodeData((()=>{this.inputSelected=this.selected.slice(0)}))},getForm(e="uniForms"){let t=this.$parent,a=t.$options.name;for(;a!==e;){if(t=t.$parent,!t)return!1;a=t.$options.name}return t},show(){this.isOpened=!0,setTimeout((()=>{this.$refs.pickerView.updateData({treeData:this._treeData,selected:this.selected,selectedIndex:this.selectedIndex})}),200),this.$emit("popupopened")},hide(){this.isOpened=!1,this.$emit("popupclosed")},handleInput(){this.readonly||this.show()},handleClose(e){this.hide()},onnodeclick(e){this.$emit("nodeclick",e)},ondatachange(e){this._treeData=this.$refs.pickerView._treeData},onchange(e){this.hide(),this.$nextTick((()=>{this.inputSelected=e})),this._dispatchEvent(e)},_processReadonly(e,t){if(e.findIndex((e=>e.children))>-1){let e;return Array.isArray(t)?(e=t[t.length-1],"object"==typeof e&&e.value&&(e=e.value)):e=t,void(this.inputSelected=this._findNodePath(e,this.localdata))}if(!this.hasValue)return void(this.inputSelected=[]);let a=[];for(let i=0;ie.value==l));s&&a.push(s)}a.length&&(this.inputSelected=a)},_filterForArray(e,t){var a=[];for(let i=0;ie.value==l));s&&a.push(s)}return a},_dispatchEvent(e){let t={};if(e.length){for(var a=new Array(e.length),l=0;l[d($,{class:"uni-data-tree-input",onClick:D.handleInput},{default:n((()=>[b(e.$slots,"default",{options:w.options,data:C.inputSelected,error:e.errorMessage},(()=>[d($,{class:c(["input-value",{"input-value-border":w.border}])},{default:n((()=>[e.errorMessage?(s(),i(S,{key:0,class:"selected-area error-text"},{default:n((()=>[p(u(e.errorMessage),1)])),_:1})):e.loading&&!C.isOpened?(s(),i($,{key:1,class:"selected-area"},{default:n((()=>[d(I,{class:"load-more",contentText:e.loadMore,status:"loading"},null,8,["contentText"])])),_:1})):C.inputSelected.length?(s(),i(V,{key:2,class:"selected-area","scroll-x":"true"},{default:n((()=>[d($,{class:"selected-list"},{default:n((()=>[(s(!0),o(r,null,h(C.inputSelected,((e,t)=>(s(),i($,{class:"selected-item",key:t},{default:n((()=>[d(S,{class:"text-color"},{default:n((()=>[p(u(e.text),1)])),_:2},1024),t[p(u(w.split),1)])),_:1})):g("",!0)])),_:2},1024)))),128))])),_:1})])),_:1})):(s(),i(S,{key:3,class:"selected-area placeholder"},{default:n((()=>[p(u(w.placeholder),1)])),_:1})),w.clearIcon&&!w.readonly&&C.inputSelected.length?(s(),i($,{key:4,class:"icon-clear",onClick:x(D.clear,["stop"])},{default:n((()=>[d(T,{type:"clear",color:"#c0c4cc",size:"24"})])),_:1},8,["onClick"])):g("",!0),w.clearIcon&&C.inputSelected.length||w.readonly?g("",!0):(s(),i($,{key:5,class:"arrow-area"},{default:n((()=>[d($,{class:"input-arrow"})])),_:1}))])),_:1},8,["class"])]),!0)])),_:3},8,["onClick"]),C.isOpened?(s(),i($,{key:0,class:"uni-data-tree-cover",onClick:D.handleClose},null,8,["onClick"])):g("",!0),C.isOpened?(s(),i($,{key:1,class:"uni-data-tree-dialog"},{default:n((()=>[d($,{class:"uni-popper__arrow"}),d($,{class:"dialog-caption"},{default:n((()=>[d($,{class:"title-area"},{default:n((()=>[d(S,{class:"dialog-title"},{default:n((()=>[p(u(w.popupTitle),1)])),_:1})])),_:1}),d($,{class:"dialog-close",onClick:D.handleClose},{default:n((()=>[d($,{class:"dialog-close-plus","data-id":"close"}),d($,{class:"dialog-close-plus dialog-close-rotate","data-id":"close"})])),_:1},8,["onClick"])])),_:1}),d(A,{class:"picker-view",ref:"pickerView",modelValue:e.dataValue,"onUpdate:modelValue":t[0]||(t[0]=t=>e.dataValue=t),localdata:e.localdata,preload:e.preload,collection:e.collection,field:e.field,orderby:e.orderby,where:e.where,"step-searh":e.stepSearh,"self-field":e.selfField,"parent-field":e.parentField,"managed-mode":!0,map:e.map,ellipsis:w.ellipsis,onChange:D.onchange,onDatachange:D.ondatachange,onNodeclick:D.onnodeclick},null,8,["modelValue","localdata","preload","collection","field","orderby","where","step-searh","self-field","parent-field","map","ellipsis","onChange","onDatachange","onNodeclick"])])),_:1})):g("",!0)])),_:3})}],["__scopeId","data-v-fc53b656"]]),H=e.database(),K=H.command,G=["name","title","stable_publish","type"];function J(e={}){return{create_env:K.neq("uni-stat"),...e}}const X=t({data:()=>({backButtonHover:!1,appVersionListDbName:O,currentAppid:"",currentAppName:"",query:"",where:"",orderby:"stable_publish desc,create_date desc",selectedIndexs:[],options:{pageSize:20,pageCurrent:1,...E},imageStyles:{width:64,height:64},loaded:!1,containerTop:{},appList:[],showAppIndex:0}),async onLoad({appid:e}){await this.getAppList(),this.appList.length?(this.loaded=!0,this.appList.forEach(((t,a)=>{(t.appid===e||R)&&(this.showAppIndex=a)})),this.setAppInfo(this.showAppIndex),this.where=J({appid:this.currentAppid})):this.showModalToAppManager()},computed:{...w("app",["appid"]),appNameList(){return this.appList.map((e=>e.name))}},watch:{showAppIndex(e){this.setAppInfo(e),this.where=J({appid:this.currentAppid})}},onReady(){this.containerTop.height=`${document.documentElement?document.documentElement.clientHeight:window.innerHeight}px`},methods:{setAppInfo(e){this.currentAppid=this.appList[e].appid,this.currentAppName=this.appList[e].name},navigateBack(){k()},getWhere(){const e=this.query.trim();if(!e)return"";const t=new RegExp(e,"i");return G.map((e=>t+".test("+e+")")).join(" || ")},search(){const e=this.getWhere(),t=e===this.where;this.where=e,this.where&&(this.where=`(${this.where}) && `),this.where+=`${new RegExp(this.currentAppid,"i")}.test(appid)`,t&&this.loadData()},loadData(e=!0){this.$refs.udb.loadData({clear:e})},onPageChanged(e){this.$refs.udb.loadData({current:e.current})},navigateTo(e,t){C({url:e,events:{refreshData:()=>{this.loadData(t)}}})},selectedItems(){var e=this.$refs.udb.dataList;return this.selectedIndexs.map((t=>e[t]._id))},delTable(){this.$refs.udb.remove(this.selectedItems())},selectionChange(e){this.selectedIndexs=e.detail.index},confirmDelete(e){this.$refs.udb.remove(e)},publish(e){const{top:t,left:a,width:l,height:s}=document.querySelector(".uni-button.publish").getBoundingClientRect(),i=Object.keys(this.options.type_valuetotext);D({itemList:Object.values(this.options.type_valuetotext),popover:{top:t+s,left:a,width:l},success:async e=>{this.navigateTo(`./add?appid=${this.currentAppid}&name=${this.currentAppName}&type=${i[e.tapIndex]}`)}})},async getAppList(){try{const{result:e}=await H.collection(W).get();e&&e.data&&e.data.length>0?this.appList=e.data.filter((e=>e.appid!==this.appid)):this.showModalToAppManager()}catch(e){-1===["TOKEN_INVALID_TOKEN_EXPIRED","TOKEN_INVALID_ANONYMOUS_USER"].indexOf(e.code)&&this.showModalToAppManager()}},showModalToAppManager(){let e=null,t=3;function a(){C({url:"/pages/system/app/list"}),clearInterval(e)}e=setInterval((()=>{--t<=0&&a()}),1e3),S({title:"请先添加应用",content:"即将跳转至应用管理……",showCancel:!1,confirmText:"立即跳转",success:e=>a()})},store_list_key(e){const t=e?e.filter((e=>e.enable)):[];return t.length?t.sort(((e,t)=>t.priority-e.priority)).map((e=>e.name)).join(","):"-"}}},[["render",function(e,t,c,g,_,v){const b=m,x=a(l("uni-icons"),y),w=V,k=T,C=A,D=a(l("uni-th"),N),S=a(l("uni-tr"),L),M=a(l("uni-td"),F),O=f,E=a(l("uni-data-picker"),q),R=a(l("uni-dateformat"),j),W=a(l("uni-table"),B),U=a(l("uni-pagination"),P),H=a(l("unicloud-db"),z);return s(),i(b,{class:"main"},{default:n((()=>[_.loaded?(s(),i(b,{key:0},{default:n((()=>[d(b,{class:"uni-header"},{default:n((()=>[d(b,{class:"uni-group"},{default:n((()=>[d(b,{class:"uni-sub-title"},{default:n((()=>[p("当前应用:")])),_:1}),d(b,{class:"uni-title app-list"},{default:n((()=>[d(w,{onChange:t[0]||(t[0]=e=>_.showAppIndex=e.detail.value),value:_.showAppIndex,range:v.appNameList},{default:n((()=>[d(b,{class:"uni-input",style:{"font-size":"14px"}},{default:n((()=>[p(u(v.appNameList[_.showAppIndex])+" ",1),d(x,{type:"bottom"})])),_:1})])),_:1},8,["value","range"])])),_:1})])),_:1}),d(b,{class:"uni-group"},{default:n((()=>[d(k,{class:"uni-search",type:"text",modelValue:_.query,"onUpdate:modelValue":t[1]||(t[1]=e=>_.query=e),onConfirm:v.search,placeholder:"请输入搜索内容"},null,8,["modelValue","onConfirm"]),d(C,{class:"uni-button",type:"default",size:"mini",onClick:v.search},{default:n((()=>[p("搜索")])),_:1},8,["onClick"]),d(C,{class:"uni-button publish",type:"primary",size:"mini",onClick:v.publish},{default:n((()=>[p("发布新版")])),_:1},8,["onClick"]),d(C,{class:"uni-button",type:"warn",size:"mini",disabled:!_.selectedIndexs.length,onClick:v.delTable},{default:n((()=>[p("批量删除")])),_:1},8,["disabled","onClick"])])),_:1})])),_:1}),d(b,{class:"uni-container"},{default:n((()=>[d(H,{ref:"udb",collection:_.appVersionListDbName,field:"store_list,appid,contents,platform,type,version,min_uni_version,url,stable_publish,create_date,title,name",where:_.where,"page-data":"replace",orderby:_.orderby,getcount:!0,"page-size":_.options.pageSize,"page-current":_.options.pageCurrent,options:_.options},{default:n((({data:e,pagination:t,loading:a,error:l,options:c})=>[d(W,{style:{"overflow-y":"hidden"},loading:a,emptyText:l.message||"没有更多数据",border:"",stripe:"",type:"selection",onSelectionChange:v.selectionChange},{default:n((()=>[d(S,null,{default:n((()=>[d(D,{align:"center"},{default:n((()=>[p("AppID")])),_:1}),d(D,{align:"center"},{default:n((()=>[p("更新标题")])),_:1}),d(D,{align:"center"},{default:n((()=>[p("安装包类型")])),_:1}),d(D,{align:"center"},{default:n((()=>[p("平台")])),_:1}),d(D,{align:"center"},{default:n((()=>[p("已上架应用市场")])),_:1}),d(D,{align:"center"},{default:n((()=>[p("版本号")])),_:1}),d(D,{align:"center"},{default:n((()=>[p("安装包状态")])),_:1}),d(D,{align:"center"},{default:n((()=>[p("上传时间")])),_:1}),d(D,{align:"center"},{default:n((()=>[p("操作")])),_:1})])),_:1}),(s(!0),o(r,null,h(e,((e,t)=>(s(),i(S,{key:t,disabled:e.stable_publish},{default:n((()=>[d(M,{align:"center"},{default:n((()=>[p(u(e.appid),1)])),_:2},1024),d(M,{align:"center"},{default:n((()=>[p(u(e.title||"-"),1)])),_:2},1024),d(M,{align:"center"},{default:n((()=>[d(O,{style:I({padding:"5px 8px",backgroundColor:"wgt"===e.type?"#f0f9eb":"#ecf5ff",color:"wgt"===e.type?"#67c23a":"#409eff",border:"1px solid "+("wgt"===e.type?"#e1f3d8":"#d9ecff"),borderRadius:"4px"})},{default:n((()=>[p(u(c.type_valuetotext[e.type]),1)])),_:2},1032,["style"])])),_:2},1024),d(M,{align:"center"},{default:n((()=>[d(E,{localdata:c.platform_valuetotext,value:e.platform,border:!1,readonly:!0,split:","},null,8,["localdata","value"])])),_:2},1024),d(M,{align:"center"},{default:n((()=>[d(O,null,{default:n((()=>[p(u(v.store_list_key(e.store_list)),1)])),_:2},1024)])),_:2},1024),d(M,{align:"center"},{default:n((()=>[p(u(e.version),1)])),_:2},1024),d(M,{align:"center"},{default:n((()=>[p(u(1==e.stable_publish?"已上线":"已下线"),1)])),_:2},1024),d(M,{align:"center"},{default:n((()=>[d(R,{format:"yyyy-MM-dd hh:mm:ss",date:e.create_date,threshold:[0,0]},null,8,["date"])])),_:2},1024),d(M,{align:"center"},{default:n((()=>[d(C,{onClick:t=>v.navigateTo("./detail?id="+e._id,!1),class:"uni-button",size:"mini",type:"primary"},{default:n((()=>[p("详情")])),_:2},1032,["onClick"])])),_:2},1024)])),_:2},1032,["disabled"])))),128))])),_:2},1032,["loading","emptyText","onSelectionChange"]),d(b,{class:"uni-pagination-box"},{default:n((()=>[d(U,{"show-icon":"","page-size":t.size,modelValue:t.current,"onUpdate:modelValue":e=>t.current=e,total:t.count,onChange:v.onPageChanged},null,8,["page-size","modelValue","onUpdate:modelValue","total","onChange"])])),_:2},1024)])),_:1},8,["collection","where","orderby","page-size","page-current","options"])])),_:1})])),_:1})):(s(),i(b,{key:1,class:"page-loading",style:I(_.containerTop)},{default:n((()=>[$("i",{class:"uni-icon_toast uni-loading"})])),_:1},8,["style"]))])),_:1})}],["__scopeId","data-v-a55f3636"]]);export{X as default};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/unicloud-db.dfa2c90d.js b/alpha/admin/unpackage/dist/build/h5/assets/unicloud-db.dfa2c90d.js
new file mode 100644
index 0000000000000000000000000000000000000000..434037872d73dd189e2d3638c716f745066a62a5
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/unicloud-db.dfa2c90d.js
@@ -0,0 +1 @@
+import{ap as t,_ as e,ar as i,as as n,at as o,N as a,L as s,s as l,y as c,O as r,o as d,c as h,w as u,C as p,au as g,i as m}from"./index-389238f5.js";const f={en:{"uniCloud.component.add.success":"Success","uniCloud.component.update.success":"Success","uniCloud.component.remove.showModal.title":"Tips","uniCloud.component.remove.showModal.content":"是否删除该数据"},es:{"uniCloud.component.add.success":"新增成功","uniCloud.component.update.success":"修改成功","uniCloud.component.remove.showModal.title":"提示","uniCloud.component.remove.showModal.content":"是否删除该数据"},fr:{"uniCloud.component.add.success":"新增成功","uniCloud.component.update.success":"修改成功","uniCloud.component.remove.showModal.title":"提示","uniCloud.component.remove.showModal.content":"是否删除该数据"},"zh-Hans":{"uniCloud.component.add.success":"新增成功","uniCloud.component.update.success":"修改成功","uniCloud.component.remove.showModal.title":"提示","uniCloud.component.remove.showModal.content":"是否删除该数据"},"zh-Hant":{"uniCloud.component.add.success":"新增成功","uniCloud.component.update.success":"修改成功","uniCloud.component.remove.showModal.title":"提示","uniCloud.component.remove.showModal.content":"是否刪除數據"}},y=Array.isArray,{t:C}=t(f),v="load",_="error",S="add",w="replace",b="auto",M="manual",D=["pageCurrent","pageSize","collection","action","field","getcount","orderby","where","groupby","groupField","distinct"];const L=e({name:"UniClouddb",setup(t){const e=t.ssrKey?t.getone?i(void 0,t.ssrKey):n([],t.ssrKey):t.getone?i(void 0,"ejMlO/fkQSgm8hMB20Q5CQ=="):n([],"CT2D4fWLgGMuoQaRngMEfA=="),a=g();return o((()=>{e.value&&0!==e.value.length||t.manual||t.loadtime!==b||a.proxy.loadData()})),{dataList:e}},async serverPrefetch(){if(!this.manual&&this.loadtime===b)return this.loadData()},props:{options:{type:[Object,Array],default:()=>({})},spaceInfo:{type:Object,default:()=>({})},collection:{type:[String,Array],default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:20},getcount:{type:[Boolean,String],default:!1},getone:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String,Object],default:!1},gettreepath:{type:[Boolean,String],default:!1},startwith:{type:String,default:""},limitlevel:{type:Number,default:10},groupby:{type:String,default:""},groupField:{type:String,default:""},distinct:{type:[Boolean,String],default:!1},pageIndistinct:{type:[Boolean,String],default:!1},foreignKey:{type:String,default:""},loadtime:{type:String,default:"auto"},manual:{type:Boolean,default:!1},ssrKey:{type:[String,Number],default:""}},data:()=>({loading:!1,hasMore:!1,paginationInternal:{},errorMessage:""}),computed:{collectionArgs(){return y(this.collection)?this.collection:[this.collection]},isLookup(){return y(this.collection)&&this.collection.length>1||"string"==typeof this.collection&&this.collection.indexOf(",")>-1},mainCollection(){if("string"==typeof this.collection)return this.collection.split(",")[0];return JSON.parse(JSON.stringify(this.collection[0])).$db[0].$param[0]}},created(){this._isEnded=!1,this.paginationInternal={current:this.pageCurrent,size:this.pageSize,count:0},this.$watch((()=>{var t=[];return D.forEach((e=>{t.push(this[e])})),t}),((t,e)=>{if(this.paginationInternal.size=this.pageSize,t[0]!==e[0]&&(this.paginationInternal.current=this.pageCurrent),this.loadtime===M)return;let i=!1;for(let n=2;n{o&&o(t),i&&l({title:n||C("uniCloud.component.add.success")})})).catch((t=>{d&&d(t),u&&c({content:t.message,showCancel:!1})})).finally((()=>{p&&r(),h&&h()}))},remove(t,{action:e,success:i,fail:n,complete:o,confirmTitle:a,confirmContent:s,needConfirm:l=!0,needLoading:r=!0,loadingTitle:d=""}={}){t&&t.length&&(l?c({title:a||C("uniCloud.component.remove.showModal.title"),content:s||C("uniCloud.component.remove.showModal.content"),showCancel:!0,success:a=>{a.confirm&&this._execRemove(t,e,i,n,o,l,r,d)}}):this._execRemove(t,e,i,n,o,l,r,d))},update(t,e,{action:i,showToast:n=!0,toastTitle:o,success:d,fail:h,complete:u,needConfirm:p=!0,needLoading:g=!0,loadingTitle:m=""}={}){g&&a({title:m});let f=s.database(this.spaceInfo);return i&&(f=f.action(i)),f.collection(this.mainCollection).doc(t).update(e).then((t=>{d&&d(t),n&&l({title:o||C("uniCloud.component.update.success")})})).catch((t=>{h&&h(t),p&&c({content:t.message,showCancel:!1})})).finally((()=>{g&&r(),u&&u()}))},getTemp(t=!0){let e=s.database(this.spaceInfo);this.action&&(e=e.action(this.action)),e=e.collection(...this.collectionArgs),this.foreignKey&&(e=e.foreignKey(this.foreignKey)),this.where&&Object.keys(this.where).length&&(e=e.where(this.where)),this.field&&(e=e.field(this.field)),this.groupby&&(e=e.groupBy(this.groupby)),this.groupField&&(e=e.groupField(this.groupField)),!0===this.distinct&&(e=e.distinct()),this.orderby&&(e=e.orderBy(this.orderby));const{current:i,size:n}=this.paginationInternal,o={};this.getcount&&(o.getCount=this.getcount);const a={limitLevel:this.limitlevel,startWith:this.startwith};return this.gettree&&(o.getTree=a),this.gettreepath&&(o.getTreePath=a),e=e.skip(n*(i-1)).limit(n),t?(e=e.getTemp(o),e.udb=this):e=e.get(o),e},setResult(t){0===t.code?this._execLoadDataSuccess(t):this._execLoadDataFail(new Error(t.message))},_execLoadData(t,e){if(!this.loading)return this.loading=!0,this.errorMessage="",this._getExec().then((i=>{this.loading=!1,this._execLoadDataSuccess(i.result,t,e)})).catch((e=>{this.loading=!1,this._execLoadDataFail(e,t)}))},_execLoadDataSuccess(t,e,i){const{data:n,count:o}=t;this._isEnded=void 0!==o?this.paginationInternal.current*this.paginationInternal.size>=o:n.length{i&&i(t.result),this.pageData===w?this.refresh():this.removeData(u)})).catch((t=>{n&&n(t),l&&c({content:t.message,showCancel:!1})})).finally((()=>{d&&r(),o&&o()}))},removeData(t){const e=t.slice(0),i=this.dataList;for(let n=i.length-1;n>=0;n--){const t=e.indexOf(i[n]._id);t>=0&&(i.splice(n,1),e.splice(t,1))}},_dispatchEvent(t,e){this._changeDataFunction?this._changeDataFunction(e,this._isEnded,this.paginationInternal):this.$emit(t,e,this._isEnded,this.paginationInternal)}}},[["render",function(t,e,i,n,o,a){const s=m;return d(),h(s,null,{default:u((()=>[p(t.$slots,"default",{options:i.options,data:n.dataList,pagination:o.paginationInternal,loading:o.loading,hasMore:o.hasMore,error:o.errorMessage})])),_:3})}]]);export{L as _};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/uniicons-89ed7d6d.ttf b/alpha/admin/unpackage/dist/build/h5/assets/uniicons-89ed7d6d.ttf
new file mode 100644
index 0000000000000000000000000000000000000000..835f33bc9411461b8b9046b3fec742e921d6ce3a
Binary files /dev/null and b/alpha/admin/unpackage/dist/build/h5/assets/uniicons-89ed7d6d.ttf differ
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/userinfo-7b5baffd.css b/alpha/admin/unpackage/dist/build/h5/assets/userinfo-7b5baffd.css
new file mode 100644
index 0000000000000000000000000000000000000000..bdc033a19f02629a220c5216bdd258914a48b4e6
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/userinfo-7b5baffd.css
@@ -0,0 +1 @@
+.box[data-v-9650e156]{overflow:hidden}.chooseAvatar[data-v-9650e156]{display:inline-block;box-sizing:border-box;border:dotted 1px #ddd;border-radius:10px;text-align:center;padding:1px}.showBorder[data-v-9650e156]{border:solid 1px #ddd}.uni-list-item[data-v-77963a5a]{display:flex;font-size:16px;position:relative;justify-content:space-between;align-items:center;background-color:#fff;flex-direction:row;cursor:pointer}.uni-list-item--disabled[data-v-77963a5a]{opacity:.3}.uni-list-item--hover[data-v-77963a5a]{background-color:#f1f1f1!important}.uni-list-item__container[data-v-77963a5a]{position:relative;display:flex;flex-direction:row;padding:12px 15px;flex:1;overflow:hidden}.container--right[data-v-77963a5a]{padding-right:0}.uni-list--border[data-v-77963a5a]{position:absolute;top:0;right:0;left:0}.uni-list--border[data-v-77963a5a]:after{position:absolute;top:0;right:0;left:0;height:1px;content:"";transform:scaleY(.5);background-color:#e5e5e5}.uni-list-item__content[data-v-77963a5a]{display:flex;padding-right:8px;flex:1;color:#3b4144;flex-direction:column;justify-content:space-between;overflow:hidden}.uni-list-item__content--center[data-v-77963a5a]{justify-content:center}.uni-list-item__content-title[data-v-77963a5a]{font-size:14px;color:#3b4144;overflow:hidden}.uni-list-item__content-note[data-v-77963a5a]{margin-top:.1875rem;color:#999;font-size:12px;overflow:hidden}.uni-list-item__extra[data-v-77963a5a]{display:flex;flex-direction:row;justify-content:flex-end;align-items:center}.uni-list-item__header[data-v-77963a5a]{display:flex;flex-direction:row;align-items:center}.uni-list-item__icon[data-v-77963a5a]{margin-right:.5625rem;flex-direction:row;justify-content:center;align-items:center}.uni-list-item__icon-img[data-v-77963a5a]{display:block;height:26px;width:26px;margin-right:10px}.uni-icon-wrapper[data-v-77963a5a]{display:flex;align-items:center;padding:0 10px}.flex--direction[data-v-77963a5a]{flex-direction:column;align-items:initial}.flex--justify[data-v-77963a5a]{justify-content:initial}.uni-list--lg[data-v-77963a5a]{height:40px;width:40px}.uni-list--base[data-v-77963a5a]{height:26px;width:26px}.uni-list--sm[data-v-77963a5a]{height:20px;width:20px}.uni-list-item__extra-text[data-v-77963a5a]{color:#999;font-size:12px}.uni-ellipsis-1[data-v-77963a5a]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.uni-ellipsis-2[data-v-77963a5a]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.uni-list[data-v-c1d7c358]{display:flex;background-color:#fff;position:relative;flex-direction:column}.uni-list--border[data-v-c1d7c358]{position:relative;z-index:-1}.uni-list--border-top[data-v-c1d7c358]{position:absolute;top:0;right:0;left:0;height:1px;transform:scaleY(.5);background-color:#e5e5e5;z-index:1}.uni-list--border-bottom[data-v-c1d7c358]{position:absolute;bottom:0;right:0;left:0;height:1px;transform:scaleY(.5);background-color:#e5e5e5}.input-box[data-v-1edc5089] .uni-input-input[type=password]::-ms-reveal{display:none}.uni-content[data-v-1edc5089]{padding:0 1.875rem}.login-logo[data-v-1edc5089]{display:none}@media screen and (min-width: 690px){.uni-content[data-v-1edc5089]{margin:0 auto;position:relative;top:100px;padding:30px 40px 80px;max-width:450px;max-height:450px;border-radius:10px;box-shadow:0 0 20px #efefef;background-color:#fff}.login-logo[data-v-1edc5089]{display:flex;justify-content:center}.login-logo uni-image[data-v-1edc5089]{width:60px;height:60px}.register-back[data-v-1edc5089]{display:none}uni-button[data-v-1edc5089]{padding-bottom:1px}}.uni-content uni-view[data-v-1edc5089]{box-sizing:border-box}.title[data-v-1edc5089]{display:flex;padding:18px 0;font-weight:800;flex-direction:column}.tip[data-v-1edc5089]{display:flex;color:#bdbdc0;font-size:11px;margin:6px 0}.uni-content[data-v-1edc5089] .uni-easyinput__content,.input-box[data-v-1edc5089]{height:44px;background-color:#f8f8f8!important;border-radius:0;font-size:14px;display:flex;flex:1}.link[data-v-1edc5089]{color:#04498c;cursor:pointer}.uni-content[data-v-1edc5089] .uni-forms-item__inner{padding-bottom:8px}.uni-btn[data-v-1edc5089]{text-align:center;height:40px;line-height:40px;margin:15px 0 10px;color:#fff!important;border-radius:5px;font-size:16px}.uni-body.uni_modules-uni-id-pages-pages-login-login-withoutpwd[data-v-1edc5089]{height:auto!important}uni-view[data-v-1edc5089]{display:flex}.box[data-v-1edc5089]{background-color:#fff;height:200px;width:23.4375rem;flex-direction:column;border-top-left-radius:15px;border-top-right-radius:15px}.headBox[data-v-1edc5089]{padding:.625rem;height:2.5rem;line-height:2.5rem;text-align:left;font-size:16px;color:#333;margin-left:.46875rem}.tip[data-v-1edc5089]{color:#666;text-align:left;justify-content:center;margin:.3125rem .9375rem;font-size:18px}.btnBox[data-v-1edc5089]{margin-top:1.40625rem;justify-content:center;flex-direction:row}.close[data-v-1edc5089],.agree[data-v-1edc5089]{text-align:center;width:6.25rem;height:2.5rem;line-height:2.5rem;border-radius:5px;margin:0 .625rem;font-size:14px}.close[data-v-1edc5089]{color:#999;border-color:#eee;border-style:solid;border-width:1px;background-color:#fff}.close[data-v-1edc5089]:active{color:#989898;background-color:#e2e2e2}.agree[data-v-1edc5089]{color:#fff}.agree[data-v-1edc5089]:active{background-color:#f5f5f6}.input-box[data-v-3ac98ea6] .uni-input-input[type=password]::-ms-reveal{display:none}.uni-content[data-v-3ac98ea6]{padding:0 1.875rem}.login-logo[data-v-3ac98ea6]{display:none}@media screen and (min-width: 690px){.uni-content[data-v-3ac98ea6]{margin:0 auto;position:relative;top:100px;padding:30px 40px 80px;max-width:450px;max-height:450px;border-radius:10px;box-shadow:0 0 20px #efefef;background-color:#fff}.login-logo[data-v-3ac98ea6]{display:flex;justify-content:center}.login-logo uni-image[data-v-3ac98ea6]{width:60px;height:60px}.register-back[data-v-3ac98ea6]{display:none}uni-button[data-v-3ac98ea6]{padding-bottom:1px}}.uni-content uni-view[data-v-3ac98ea6]{box-sizing:border-box}.title[data-v-3ac98ea6]{display:flex;padding:18px 0;font-weight:800;flex-direction:column}.tip[data-v-3ac98ea6]{display:flex;color:#bdbdc0;font-size:11px;margin:6px 0}.uni-content[data-v-3ac98ea6] .uni-easyinput__content,.input-box[data-v-3ac98ea6]{height:44px;background-color:#f8f8f8!important;border-radius:0;font-size:14px;display:flex;flex:1}.link[data-v-3ac98ea6]{color:#04498c;cursor:pointer}.uni-content[data-v-3ac98ea6] .uni-forms-item__inner{padding-bottom:8px}.uni-btn[data-v-3ac98ea6]{text-align:center;height:40px;line-height:40px;margin:15px 0 10px;color:#fff!important;border-radius:5px;font-size:16px}.uni-body.uni_modules-uni-id-pages-pages-login-login-withoutpwd[data-v-3ac98ea6]{height:auto!important}.uni-content[data-v-3ac98ea6]{padding:0}uni-view[data-v-3ac98ea6]{display:flex;box-sizing:border-box;flex-direction:column}@media screen and (min-width: 690px){.uni-content[data-v-3ac98ea6]{padding:0;max-width:690px;margin-left:calc(50% - 345px);border:none;max-height:none;border-radius:0;box-shadow:none}}.avatar[data-v-3ac98ea6]{align-items:center;justify-content:center;margin:22px 0;width:100%}.item[data-v-3ac98ea6]{flex:1;flex-direction:row;justify-content:space-between;align-items:center}uni-button[data-v-3ac98ea6]{margin:40px 10% 10%;border-radius:0;background-color:#fff;width:80%}.mt10[data-v-3ac98ea6]{margin-top:10px}
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/util.63f19a41.js b/alpha/admin/unpackage/dist/build/h5/assets/util.63f19a41.js
new file mode 100644
index 0000000000000000000000000000000000000000..5ff83665b4a162c4a7564e7496587ee42a7c2b5a
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/util.63f19a41.js
@@ -0,0 +1 @@
+import{L as t}from"./index-389238f5.js";function e(t){let{fieldsMap:e,data:n,formatter:r=!0}=t,i=JSON.parse(JSON.stringify(n));return i.map((t=>{for(let i in t){let o=e.find((t=>t.field==i));if("object"==typeof o){let{fix:e=0}=o;"number"==typeof o.multiple&&"number"==typeof t[i]&&(t[i]=Number((t[i]*o.multiple).toFixed(e))),r&&o.formatter&&"number"==typeof t[i]&&(","===o.formatter?t[i]=(n=t[i],String(n).replace(/\B(?=(\d{3})+(?!\d))/g,",")):"%"===o.formatter?t[i]=`${(100*t[i]).toFixed(e)}%`:"-"===o.formatter&&(t[i]=l(t[i])))}}var n})),i}function n(t,e,n){let{start_time:r,dimension:i}=e;if(["hour","day"].indexOf(i)>-1){let e,o=[];"hour"===i?e=36e5:"day"===i&&(e=864e5);let a=r[0],s=r[1],u=a;for(o=[a];u+e<=s;)u+=e,o.push(u);let f=[];for(let r=0;rt.start_time===e));if(i)f.push(i);else{let t={start_time:e};n.map(((e,n)=>{t[e.field]=0})),f.push(t)}}return f}return t}function r(t,e=!1,n=[]){const r=[],i=Object.keys(t),o=t.start_time;i.forEach((i=>{if("time_range"===i||-1!==n.indexOf(i))return;let a=t[i];a&&("string"==typeof a&&a.indexOf(i)>-1?r.push(a):("string"==typeof a&&(a=`"${a}"`),Array.isArray(a)?2===a.length&&i.indexOf("time")>-1?r.push(`${i} >= ${a[0]} && ${i} <= ${a[1]}`):(a=a.map((t=>`${i} == "${t}"`)).join(" || "),a&&r.push(`(${a})`)):e&&"dimension"===i?m(o)?r.push('dimension == "hour"'):a&&'"hour"'!==a?r.push(`${i} == ${a}`):r.push('dimension == "day"'):r.push(`${i} == ${a}`)))}));return r.join(" && ")||{}}function i(t,e={},n,r="",i="value"){const o=[],a=n;t=JSON.parse(JSON.stringify(t));const f=JSON.parse(JSON.stringify(e));for(const l of t){let{field:t,computed:p,formatter:c,disable:m,fix:d}=l;if(!m){const m=(n=a||l).hasOwnProperty(i);if(e){const o=e[r+t];if(p){const e=p.split("/");let[o,a]=e;o=Number(f[r+o]),a=Number(f[r+a]);const l=u(s(o,a),c,d);m&&t===n.field?n[i]=l:n[t]=l}else if(o){const e=u(o,c,d);m?n.field===t&&(n[i]=e):n[t]=e}}m&&o.push(n)}}return o}function o(t,e,n){e&&(t=t.filter((t=>t.field===e))),n&&(t=t.filter((t=>t.field&&t.hasOwnProperty(n))));return t.map((t=>{let e=[];return t.computed?e=t.computed.split("/"):e.push(t.field),e=e.map((e=>-1===t.stat?e:`${e} as ${"temp_"+e}`)),e.join()})).join()}function a(t,e,n){e&&(t=t.filter((t=>t.field===e))),n&&(t=t.filter((t=>t.field&&t.hasOwnProperty(n))));return t.map((t=>{const e=t.stat;let n=[];return t.computed?n=t.computed.split("/"):n.push(t.field),n=n.map((t=>{if(-1!==e)return`${e||"sum"}(${"temp_"+t}) as ${t}`})),n.filter(Boolean).join()})).filter(Boolean).join()}function s(t,e){return e?t/e:0}function u(t,e=",",n){if("number"!=typeof t)return t;if("%"===e)return t*=100,String(t).indexOf(".")>-1&&(t=t.toFixed(2)),t=t?t+e:t;if("%%"===e)return(t=Number(t)).toFixed(2)+"%";if("-"===e)return f(t,"day");if(":"===e){let n,r,i;n=r=i=0;const o=3600,a=60;if((t=Math.ceil(t))>=o){n=Math.floor(t/o);const e=t%o;e>=a?(r=Math.floor(e/a),i=e%a):i=e}else o>=t&&t>=a?(r=Math.floor(t/a),i=t%a):i=t;return[n,r,i].map((t=>t<10?"0"+t:t)).join(e)}return","===e?t.toLocaleString():(String(t).indexOf(".")>-1&&(t=Math.abs(t)>1?t.toFixed(n||0):t.toFixed(n||2)),t)}function f(t,e){let n=new Date(t);if("hour"===e){let t=n.getHours();return t=t<10?"0"+t:t,`${t}:00 ~ ${t}:59`}if("week"===e){const t=n.getDate()-n.getDay()+1,e=t+6;let r=new Date(n.setDate(t));r=l(r);let i=new Date(n.setDate(e));return i=l(i),`${r} ~ ${i}`}if("month"===e){let t=new Date(n.getFullYear(),n.getMonth(),1);t=l(t);let e=new Date(n.getFullYear(),n.getMonth()+1,0);return e=l(e),`${t} ~ ${e}`}return l(n)}function l(t,e,n="-"){let r=t;"object"!=typeof r&&(r=new Date(r));const i=r.getFullYear(),o=r.getMonth()+1,a=r.getDate(),s=r.getHours(),u=r.getMinutes(),f=r.getSeconds(),l=[i,p(o),p(a)].join(n),c=[p(s),p(u),p(f)].join(":");return"dateTime"===e?l+" "+c:l}function p(t){return t<10?"0"+t:t}function c(t=0,e=Date.now()){const n=new Date(e);let r=[n.getFullYear(),n.getMonth()+1,n.getDate()].join("/");r+=" 00:00:00";return new Date(r).getTime()-864e5*t}function m(t,e=2){if(!t.length)return!0;const[n,r]=t;return r-n<864e5*e}function d(e=this.query,n="total_devices"){let i;"object"==typeof e&&(e=r(e,!1,["uni_platform"]));return t.database().collection("uni-stat-result").where(e).field(`${n} as temp_${n}, start_time`).groupBy("start_time").groupField(`sum(temp_${n}) as ${n}`).orderBy("start_time","desc").get().then((t=>{const e=t.result.data;return i=e.length&&e[0][n],i=u(i),this.panelData&&this.panelData.forEach((t=>{t.field===n&&(t.value=i)})),Promise.resolve(i)}))}function h(t,e=100){let n=null;return function(...r){n&&clearTimeout(n),n=setTimeout((()=>{t.apply(this,r)}),e)}}const g={};function y(t){for(const n in g)if(g.hasOwnProperty(n)){if(g[n]===t)return n}var e=(window.URL||window.webkitURL).createObjectURL(t);return g[e]=t,e}function $(t,e){let n=[],r=0;for(;e.getTime()-t.getTime()>=0;)n[r]=t.getTime(),t.setDate(t.getDate()+1),r+=1;return n}function w(t){return Object.assign({},t,{type:"native_app",create_env:"uni-stat"})}export{o as a,a as b,d as c,h as d,m as e,u as f,c as g,f as h,w as i,$ as j,y as k,e as l,i as m,n,l as p,r as s};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/utils.df25cf33.js b/alpha/admin/unpackage/dist/build/h5/assets/utils.df25cf33.js
new file mode 100644
index 0000000000000000000000000000000000000000..0dc6df0bc582d92d2098fa66b09a8c10fb4e376f
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/utils.df25cf33.js
@@ -0,0 +1 @@
+const e={appid:{rules:[{required:!0},{format:"string"}],label:"AppID"},name:{rules:[{format:"string"}],label:"应用名称"},title:{rules:[{format:"string"}],label:"更新标题"},contents:{rules:[{required:!0},{format:"string"}],label:"更新内容"},platform:{rules:[{required:!0},{range:[{value:"Android",text:"安卓"},{value:"iOS",text:"苹果"}]}],label:"平台"},type:{rules:[{required:!0},{format:"string"},{range:[{value:"native_app",text:"原生App安装包"},{value:"wgt",text:"wgt资源包"}]}],label:"安装包类型"},version:{rules:[{required:!0},{format:"string"}],label:"版本号"},min_uni_version:{rules:[{format:"string"}],label:"原生App最低版本"},url:{rules:[{required:!0},{format:"string"}],label:"链接"},stable_publish:{rules:[{format:"bool"}],label:"上线发行"},create_date:{rules:[{format:"timestamp"}],label:"上传时间"},is_silently:{rules:[{format:"bool"}],label:"静默更新",defaultValue:!1},is_mandatory:{rules:[{format:"bool"}],label:"强制更新",defaultValue:!1},store_list:{rules:[{format:"array"}],label:"应用市场"}},t={platform_valuetotext:[{value:"Android",text:"安卓"},{value:"iOS",text:"苹果"}],type_valuetotext:{native_app:"原生App安装包",wgt:"wgt资源包"}};function r(e){if([null,void 0,NaN,!1].includes(e))return e;if("object"!=typeof e&&"function"!=typeof e)return e;var t,l=(t=e,"[object Array]"===Object.prototype.toString.call(t)?[]:{});for(let a in e)e.hasOwnProperty(a)&&(l[a]="object"==typeof e[a]?r(e[a]):e[a]);return l}const l="opendb-app-list",a="opendb-app-versions",o="";export{a,l as b,r as c,o as d,t as e,e as v};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/validator.496e107f.js b/alpha/admin/unpackage/dist/build/h5/assets/validator.496e107f.js
new file mode 100644
index 0000000000000000000000000000000000000000..30531c3ea09e95e39c7f90c7fec2c19d7e237474
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/validator.496e107f.js
@@ -0,0 +1 @@
+import{p as e}from"./password.4f678814.js";const t={username:{rules:[{required:!0,errorMessage:"请输入用户名"},{minLength:3,maxLength:32,errorMessage:"用户名长度在 {minLength} 到 {maxLength} 个字符"},{validateFunction:function(e,t,n,r){return(/^1\d{10}$/.test(t)||/^(\w-*\.*)+@(\w-?)+(\.\w{2,})+$/.test(t))&&r("用户名不能是:手机号或邮箱"),/^\d+$/.test(t)&&r("用户名不能为纯数字"),/[\u4E00-\u9FA5\uF900-\uFA2D]{1,}/.test(t)&&r("用户名不能包含中文"),!0}}],label:"用户名"},nickname:{rules:[{minLength:3,maxLength:32,errorMessage:"昵称长度在 {minLength} 到 {maxLength} 个字符"},{validateFunction:function(e,t,n,r){return(/^1\d{10}$/.test(t)||/^(\w-*\.*)+@(\w-?)+(\.\w{2,})+$/.test(t))&&r("昵称不能是:手机号或邮箱"),/^\d+$/.test(t)&&r("昵称不能为纯数字"),!0}}],label:"昵称"},...e.getPwdRules()};export{t as r};
diff --git a/alpha/admin/unpackage/dist/build/h5/assets/version_add_detail_mixin.1fff617b.js b/alpha/admin/unpackage/dist/build/h5/assets/version_add_detail_mixin.1fff617b.js
new file mode 100644
index 0000000000000000000000000000000000000000..b982a4050745aab2f4764ce6cf03c24afe166851
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/assets/version_add_detail_mixin.1fff617b.js
@@ -0,0 +1 @@
+import{L as t,s as e}from"./index-389238f5.js";import{e as a,v as i}from"./utils.df25cf33.js";const s=t.database();function r(t){let e={};for(let a in i)t.includes(a)&&(e[a]=i[a]);return e}const l="appid,name,title,contents,platform,type,version,min_uni_version,url,stable_publish,is_silently,is_mandatory,create_date,store_list",n={data:()=>({labelWidth:"80px",enableiOSWgt:!0,silentlyContent:"静默更新:App升级时会在后台下载wgt包并自行安装。新功能在下次启动App时生效",mandatoryContent:"强制更新:App升级弹出框不可取消",stablePublishContent:"同时只可有一个线上发行版,线上发行不可更设为下线。\n未上线可以设为上线发行并自动替换当前线上发行版",stablePublishContent2:"使用本包替换当前线上发行版",uploadFileContent:"可下载安装包地址。上传文件到云存储自动填写,也可以手动填写",minUniVersionContent:"上次使用新Api或打包新模块的App版本",priorityContent:"检查更新时,按照优先级从大到小依次尝试跳转商店。如果都跳转失败,则会打开浏览器使用下载链接下载apk安装包",latestStableData:[],appFileList:null,type_valuetotext:a.type_valuetotext,preUrl:"",formData:{appid:"",name:"",title:"",contents:"",platform:[],store_list:[],type:"",version:"",min_uni_version:"",url:"",stable_publish:!1,create_date:null},formOptions:{platform_localdata:[{value:"Android",text:"安卓"},{value:"iOS",text:"苹果"}],type_localdata:[{value:"native_app",text:"原生App安装包"},{value:"wgt",text:"App资源包"}]},rules:{...r(["appid","contents","platform","type","version","min_uni_version","url","stable_publish","title","name","is_silently","is_mandatory","store_list"])}}),onReady(){this.$refs.form.setRules(this.rules)},computed:{isWGT(){return"wgt"===this.formData.type},isiOS(){return!this.isWGT&&this.formData.platform.includes("iOS")},hasPackage(){return this.appFileList&&!!Object.keys(this.appFileList).length},fileExtname(){return this.isWGT?["wgt"]:["apk"]},platformLocaldata(){return this.isWGT?this.enableiOSWgt?this.formOptions.platform_localdata:[this.formOptions.platform_localdata[0]]:this.formOptions.platform_localdata},uni_platform(){return(this.isiOS?"iOS":"Android").toLocaleLowerCase()}},methods:{getStoreList:t=>s.collection("opendb-app-list").where({appid:t}).get().then((t=>t.result.data[0].store_list||[])),packageUploadSuccess(t){e({icon:"success",title:"上传成功",duration:800}),this.preUrl=this.formData.url,this.formData.url=t.tempFilePaths[0]},deleteFile(t){return this.$request("deleteFile",{fileList:t},{functionName:"uni-upgrade-center"})},async packageDelete(t){this.hasPackage&&(await this.deleteFile([t.tempFilePath]),e({icon:"success",title:"删除成功",duration:800}),this.formData.url=this.preUrl,this.$refs.form.clearValidate("url"))},selectFile(){this.hasPackage&&e({icon:"none",title:"只可上传一个文件,请删除已上传后重试",duration:1e3})},createCenterRecord(t){return{...t,uni_platform:this.uni_platform,create_env:"upgrade-center"}},createCenterQuery:({appid:t})=>({appid:t,create_env:"upgrade-center"}),createStatQuery({appid:t,type:e,version:a,uni_platform:i}){return{appid:t,type:e,version:a,uni_platform:i||this.uni_platform,create_env:"uni-stat",stable_publish:!1}}}};export{n as a,l as f};
diff --git a/alpha/admin/unpackage/dist/build/h5/index.html b/alpha/admin/unpackage/dist/build/h5/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..59063ff9b441e3faa1f14262fba55f7b3e0d8731
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/index.html
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+ admin
+
+
+
+
+
+
+
+
+
+
diff --git a/alpha/admin/unpackage/dist/build/h5/static/admin-icons.ttf b/alpha/admin/unpackage/dist/build/h5/static/admin-icons.ttf
new file mode 100644
index 0000000000000000000000000000000000000000..8b74e537286cc1f3fce505e09322454a79ef9731
Binary files /dev/null and b/alpha/admin/unpackage/dist/build/h5/static/admin-icons.ttf differ
diff --git a/alpha/admin/unpackage/dist/build/h5/static/logo.png b/alpha/admin/unpackage/dist/build/h5/static/logo.png
new file mode 100644
index 0000000000000000000000000000000000000000..710f9246e7f27c03d72858b39e9ab57d1fa36b5c
Binary files /dev/null and b/alpha/admin/unpackage/dist/build/h5/static/logo.png differ
diff --git a/alpha/admin/unpackage/dist/build/h5/uni_modules/qiun-data-charts/static/h5/echarts.min.js b/alpha/admin/unpackage/dist/build/h5/uni_modules/qiun-data-charts/static/h5/echarts.min.js
new file mode 100644
index 0000000000000000000000000000000000000000..5396a032a62151dacaa6e35e007f8b9242ebe51c
--- /dev/null
+++ b/alpha/admin/unpackage/dist/build/h5/uni_modules/qiun-data-charts/static/h5/echarts.min.js
@@ -0,0 +1,23 @@
+
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
+* 版本为4.2.1,修改一处源码:this.el.hide() 改为 this.el?this.el.hide():true
+*/
+
+
+!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.echarts={})}(this,function(t){"use strict";function e(t,e){"createCanvas"===t&&(nw=null),ew[t]=e}function i(t){if(null==t||"object"!=typeof t)return t;var e=t,n=Y_.call(t);if("[object Array]"===n){if(!O(t)){e=[];for(var o=0,a=t.length;o=0){var o="touchend"!==n?e.targetTouches[0]:e.changedTouches[0];o&&st(t,o,e,i)}else st(t,e,e,i),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var a=e.button;return null==e.which&&void 0!==a&&gw.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function ht(t,e,i){pw?t.addEventListener(e,i):t.attachEvent("on"+e,i)}function ct(t,e,i){pw?t.removeEventListener(e,i):t.detachEvent("on"+e,i)}function dt(t){return 2===t.which||3===t.which}function ft(t){var e=t[1][0]-t[0][0],i=t[1][1]-t[0][1];return Math.sqrt(e*e+i*i)}function pt(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}function gt(t,e,i){return{type:t,event:i,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:i.zrX,offsetY:i.zrY,gestureEvent:i.gestureEvent,pinchX:i.pinchX,pinchY:i.pinchY,pinchScale:i.pinchScale,wheelDelta:i.zrDelta,zrByTouch:i.zrByTouch,which:i.which,stop:mt}}function mt(t){mw(this.event)}function vt(){}function yt(t,e,i){if(t[t.rectHover?"rectContain":"contain"](e,i)){for(var n,o=t;o;){if(o.clipPath&&!o.clipPath.contain(e,i))return!1;o.silent&&(n=!0),o=o.parent}return!n||xw}return!1}function xt(){var t=new bw(6);return _t(t),t}function _t(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function wt(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function bt(t,e,i){var n=e[0]*i[0]+e[2]*i[1],o=e[1]*i[0]+e[3]*i[1],a=e[0]*i[2]+e[2]*i[3],r=e[1]*i[2]+e[3]*i[3],s=e[0]*i[4]+e[2]*i[5]+e[4],l=e[1]*i[4]+e[3]*i[5]+e[5];return t[0]=n,t[1]=o,t[2]=a,t[3]=r,t[4]=s,t[5]=l,t}function St(t,e,i){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+i[0],t[5]=e[5]+i[1],t}function Mt(t,e,i){var n=e[0],o=e[2],a=e[4],r=e[1],s=e[3],l=e[5],u=Math.sin(i),h=Math.cos(i);return t[0]=n*h+r*u,t[1]=-n*u+r*h,t[2]=o*h+s*u,t[3]=-o*u+h*s,t[4]=h*a+u*l,t[5]=h*l-u*a,t}function It(t,e,i){var n=i[0],o=i[1];return t[0]=e[0]*n,t[1]=e[1]*o,t[2]=e[2]*n,t[3]=e[3]*o,t[4]=e[4]*n,t[5]=e[5]*o,t}function Tt(t,e){var i=e[0],n=e[2],o=e[4],a=e[1],r=e[3],s=e[5],l=i*r-a*n;return l?(l=1/l,t[0]=r*l,t[1]=-a*l,t[2]=-n*l,t[3]=i*l,t[4]=(n*s-r*o)*l,t[5]=(a*o-i*s)*l,t):null}function At(t){var e=xt();return wt(e,t),e}function Dt(t){return t>Iw||t<-Iw}function Ct(t){this._target=t.target,this._life=t.life||1e3,this._delay=t.delay||0,this._initialized=!1,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"Linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart,this._pausedTime=0,this._paused=!1}function Lt(t){return(t=Math.round(t))<0?0:t>255?255:t}function kt(t){return(t=Math.round(t))<0?0:t>360?360:t}function Pt(t){return t<0?0:t>1?1:t}function Nt(t){return Lt(t.length&&"%"===t.charAt(t.length-1)?parseFloat(t)/100*255:parseInt(t,10))}function Ot(t){return Pt(t.length&&"%"===t.charAt(t.length-1)?parseFloat(t)/100:parseFloat(t))}function Et(t,e,i){return i<0?i+=1:i>1&&(i-=1),6*i<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function Rt(t,e,i){return t+(e-t)*i}function zt(t,e,i,n,o){return t[0]=e,t[1]=i,t[2]=n,t[3]=o,t}function Bt(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function Vt(t,e){Vw&&Bt(Vw,e),Vw=Bw.put(t,Vw||e.slice())}function Gt(t,e){if(t){e=e||[];var i=Bw.get(t);if(i)return Bt(e,i);var n=(t+="").replace(/ /g,"").toLowerCase();if(n in zw)return Bt(e,zw[n]),Vt(t,e),e;if("#"!==n.charAt(0)){var o=n.indexOf("("),a=n.indexOf(")");if(-1!==o&&a+1===n.length){var r=n.substr(0,o),s=n.substr(o+1,a-(o+1)).split(","),l=1;switch(r){case"rgba":if(4!==s.length)return void zt(e,0,0,0,1);l=Ot(s.pop());case"rgb":return 3!==s.length?void zt(e,0,0,0,1):(zt(e,Nt(s[0]),Nt(s[1]),Nt(s[2]),l),Vt(t,e),e);case"hsla":return 4!==s.length?void zt(e,0,0,0,1):(s[3]=Ot(s[3]),Ft(s,e),Vt(t,e),e);case"hsl":return 3!==s.length?void zt(e,0,0,0,1):(Ft(s,e),Vt(t,e),e);default:return}}zt(e,0,0,0,1)}else{if(4===n.length)return(u=parseInt(n.substr(1),16))>=0&&u<=4095?(zt(e,(3840&u)>>4|(3840&u)>>8,240&u|(240&u)>>4,15&u|(15&u)<<4,1),Vt(t,e),e):void zt(e,0,0,0,1);if(7===n.length){var u=parseInt(n.substr(1),16);return u>=0&&u<=16777215?(zt(e,(16711680&u)>>16,(65280&u)>>8,255&u,1),Vt(t,e),e):void zt(e,0,0,0,1)}}}}function Ft(t,e){var i=(parseFloat(t[0])%360+360)%360/360,n=Ot(t[1]),o=Ot(t[2]),a=o<=.5?o*(n+1):o+n-o*n,r=2*o-a;return e=e||[],zt(e,Lt(255*Et(r,a,i+1/3)),Lt(255*Et(r,a,i)),Lt(255*Et(r,a,i-1/3)),1),4===t.length&&(e[3]=t[3]),e}function Wt(t){if(t){var e,i,n=t[0]/255,o=t[1]/255,a=t[2]/255,r=Math.min(n,o,a),s=Math.max(n,o,a),l=s-r,u=(s+r)/2;if(0===l)e=0,i=0;else{i=u<.5?l/(s+r):l/(2-s-r);var h=((s-n)/6+l/2)/l,c=((s-o)/6+l/2)/l,d=((s-a)/6+l/2)/l;n===s?e=d-c:o===s?e=1/3+h-d:a===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,i,u];return null!=t[3]&&f.push(t[3]),f}}function Ht(t,e){var i=Gt(t);if(i){for(var n=0;n<3;n++)i[n]=e<0?i[n]*(1-e)|0:(255-i[n])*e+i[n]|0,i[n]>255?i[n]=255:t[n]<0&&(i[n]=0);return qt(i,4===i.length?"rgba":"rgb")}}function Zt(t){var e=Gt(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function Ut(t,e,i){if(e&&e.length&&t>=0&&t<=1){i=i||[];var n=t*(e.length-1),o=Math.floor(n),a=Math.ceil(n),r=e[o],s=e[a],l=n-o;return i[0]=Lt(Rt(r[0],s[0],l)),i[1]=Lt(Rt(r[1],s[1],l)),i[2]=Lt(Rt(r[2],s[2],l)),i[3]=Pt(Rt(r[3],s[3],l)),i}}function Xt(t,e,i){if(e&&e.length&&t>=0&&t<=1){var n=t*(e.length-1),o=Math.floor(n),a=Math.ceil(n),r=Gt(e[o]),s=Gt(e[a]),l=n-o,u=qt([Lt(Rt(r[0],s[0],l)),Lt(Rt(r[1],s[1],l)),Lt(Rt(r[2],s[2],l)),Pt(Rt(r[3],s[3],l))],"rgba");return i?{color:u,leftIndex:o,rightIndex:a,value:n}:u}}function jt(t,e,i,n){if(t=Gt(t))return t=Wt(t),null!=e&&(t[0]=kt(e)),null!=i&&(t[1]=Ot(i)),null!=n&&(t[2]=Ot(n)),qt(Ft(t),"rgba")}function Yt(t,e){if((t=Gt(t))&&null!=e)return t[3]=Pt(e),qt(t,"rgba")}function qt(t,e){if(t&&t.length){var i=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(i+=","+t[3]),e+"("+i+")"}}function Kt(t,e){return t[e]}function $t(t,e,i){t[e]=i}function Jt(t,e,i){return(e-t)*i+t}function Qt(t,e,i){return i>.5?e:t}function te(t,e,i,n,o){var a=t.length;if(1===o)for(s=0;so)t.length=o;else for(r=n;r=0&&!(m[i]<=e);i--);i=Math.min(i,u-2)}else{for(i=L;ie);i++);i=Math.min(i-1,u-2)}L=i,k=e;var n=m[i+1]-m[i];if(0!==n)if(I=(e-m[i])/n,l)if(A=v[i],T=v[0===i?i:i-1],D=v[i>u-2?u-1:i+1],C=v[i>u-3?u-1:i+2],d)ne(T,A,D,C,I,I*I,I*I*I,r(t,o),g);else{if(f)a=ne(T,A,D,C,I,I*I,I*I*I,P,1),a=re(P);else{if(p)return Qt(A,D,I);a=oe(T,A,D,C,I,I*I,I*I*I)}s(t,o,a)}else if(d)te(v[i],v[i+1],I,r(t,o),g);else{var a;if(f)te(v[i],v[i+1],I,P,1),a=re(P);else{if(p)return Qt(v[i],v[i+1],I);a=Jt(v[i],v[i+1],I)}s(t,o,a)}},ondestroy:i});return e&&"spline"!==e&&(N.easing=e),N}}}function ue(t,e,i,n,o,a,r,s){_(n)?(a=o,o=n,n=0):x(o)?(a=o,o="linear",n=0):x(n)?(a=n,n=0):x(i)?(a=i,i=500):i||(i=500),t.stopAnimation(),he(t,"",t,e,i,n,s);var l=t.animators.slice(),u=l.length;u||a&&a();for(var h=0;h0&&t.animate(e,!1).when(null==o?500:o,s).delay(a||0)}function ce(t,e,i,n){if(e){var o={};o[e]={},o[e][i]=n,t.attr(o)}else t.attr(i,n)}function de(t,e,i,n){i<0&&(t+=i,i=-i),n<0&&(e+=n,n=-n),this.x=t,this.y=e,this.width=i,this.height=n}function fe(t){for(var e=0;t>=eb;)e|=1&t,t>>=1;return t+e}function pe(t,e,i,n){var o=e+1;if(o===i)return 1;if(n(t[o++],t[e])<0){for(;o=0;)o++;return o-e}function ge(t,e,i){for(i--;e>>1])<0?l=a:s=a+1;var u=n-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=r}}function ve(t,e,i,n,o,a){var r=0,s=0,l=1;if(a(t,e[i+o])>0){for(s=n-o;l0;)r=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),r+=o,l+=o}else{for(s=o+1;ls&&(l=s);var u=r;r=o-l,l=o-u}for(r++;r>>1);a(t,e[i+h])>0?r=h+1:l=h}return l}function ye(t,e,i,n,o,a){var r=0,s=0,l=1;if(a(t,e[i+o])<0){for(s=o+1;ls&&(l=s);var u=r;r=o-l,l=o-u}else{for(s=n-o;l=0;)r=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),r+=o,l+=o}for(r++;r>>1);a(t,e[i+h])<0?l=h:r=h+1}return l}function xe(t,e){function i(i){var s=a[i],u=r[i],h=a[i+1],c=r[i+1];r[i]=u+c,i===l-3&&(a[i+1]=a[i+2],r[i+1]=r[i+2]),l--;var d=ye(t[h],t,s,u,0,e);s+=d,0!==(u-=d)&&0!==(c=ve(t[s+u-1],t,h,c,c-1,e))&&(u<=c?n(s,u,h,c):o(s,u,h,c))}function n(i,n,o,a){var r=0;for(r=0;r=ib||f>=ib);if(p)break;g<0&&(g=0),g+=2}if((s=g)<1&&(s=1),1===n){for(r=0;r=0;r--)t[f+r]=t[d+r];if(0===n){v=!0;break}}if(t[c--]=u[h--],1==--a){v=!0;break}if(0!=(m=a-ve(t[l],u,0,a,a-1,e))){for(a-=m,f=(c-=m)+1,d=(h-=m)+1,r=0;r=ib||m>=ib);if(v)break;p<0&&(p=0),p+=2}if((s=p)<1&&(s=1),1===a){for(f=(c-=n)+1,d=(l-=n)+1,r=n-1;r>=0;r--)t[f+r]=t[d+r];t[c]=u[h]}else{if(0===a)throw new Error;for(d=c-(a-1),r=0;r=0;r--)t[f+r]=t[d+r];t[c]=u[h]}else for(d=c-(a-1),r=0;r1;){var t=l-2;if(t>=1&&r[t-1]<=r[t]+r[t+1]||t>=2&&r[t-2]<=r[t]+r[t-1])r[t-1]r[t+1])break;i(t)}},this.forceMergeRuns=function(){for(;l>1;){var t=l-2;t>0&&r[t-1]s&&(l=s),me(t,i,i+l,i+a,e),a=l}r.pushRun(i,a),r.mergeRuns(),o-=a,i+=a}while(0!==o);r.forceMergeRuns()}}function we(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}function be(t,e,i){var n=null==e.x?0:e.x,o=null==e.x2?1:e.x2,a=null==e.y?0:e.y,r=null==e.y2?0:e.y2;return e.global||(n=n*i.width+i.x,o=o*i.width+i.x,a=a*i.height+i.y,r=r*i.height+i.y),n=isNaN(n)?0:n,o=isNaN(o)?1:o,a=isNaN(a)?0:a,r=isNaN(r)?0:r,t.createLinearGradient(n,a,o,r)}function Se(t,e,i){var n=i.width,o=i.height,a=Math.min(n,o),r=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(r=r*n+i.x,s=s*o+i.y,l*=a),t.createRadialGradient(r,s,0,r,s,l)}function Me(){return!1}function Ie(t,e,i){var n=iw(),o=e.getWidth(),a=e.getHeight(),r=n.style;return r&&(r.position="absolute",r.left=0,r.top=0,r.width=o+"px",r.height=a+"px",n.setAttribute("data-zr-dom-id",t)),n.width=o*i,n.height=a*i,n}function Te(t){if("string"==typeof t){var e=mb.get(t);return e&&e.image}return t}function Ae(t,e,i,n,o){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!i)return e;var a=mb.get(t),r={hostEl:i,cb:n,cbPayload:o};return a?!Ce(e=a.image)&&a.pending.push(r):((e=new Image).onload=e.onerror=De,mb.put(t,e.__cachedImgObj={image:e,pending:[r]}),e.src=e.__zrImageSrc=t),e}return t}return e}function De(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;exb&&(yb=0,vb={}),yb++,vb[i]=o,o}function ke(t,e,i,n,o,a,r,s){return r?Ne(t,e,i,n,o,a,r,s):Pe(t,e,i,n,o,a,s)}function Pe(t,e,i,n,o,a,r){var s=He(t,e,o,a,r),l=Le(t,e);o&&(l+=o[1]+o[3]);var u=s.outerHeight,h=new de(Oe(0,l,i),Ee(0,u,n),l,u);return h.lineHeight=s.lineHeight,h}function Ne(t,e,i,n,o,a,r,s){var l=Ze(t,{rich:r,truncate:s,font:e,textAlign:i,textPadding:o,textLineHeight:a}),u=l.outerWidth,h=l.outerHeight;return new de(Oe(0,u,i),Ee(0,h,n),u,h)}function Oe(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function Ee(t,e,i){return"middle"===i?t-=e/2:"bottom"===i&&(t-=e),t}function Re(t,e,i){var n=e.x,o=e.y,a=e.height,r=e.width,s=a/2,l="left",u="top";switch(t){case"left":n-=i,o+=s,l="right",u="middle";break;case"right":n+=i+r,o+=s,u="middle";break;case"top":n+=r/2,o-=i,l="center",u="bottom";break;case"bottom":n+=r/2,o+=a+i,l="center";break;case"inside":n+=r/2,o+=s,l="center",u="middle";break;case"insideLeft":n+=i,o+=s,u="middle";break;case"insideRight":n+=r-i,o+=s,l="right",u="middle";break;case"insideTop":n+=r/2,o+=i,l="center";break;case"insideBottom":n+=r/2,o+=a-i,l="center",u="bottom";break;case"insideTopLeft":n+=i,o+=i;break;case"insideTopRight":n+=r-i,o+=i,l="right";break;case"insideBottomLeft":n+=i,o+=a-i,u="bottom";break;case"insideBottomRight":n+=r-i,o+=a-i,l="right",u="bottom"}return{x:n,y:o,textAlign:l,textVerticalAlign:u}}function ze(t,e,i,n,o){if(!e)return"";var a=(t+"").split("\n");o=Be(e,i,n,o);for(var r=0,s=a.length;r=r;l++)s-=r;var u=Le(i,e);return u>s&&(i="",u=0),s=t-u,n.ellipsis=i,n.ellipsisWidth=u,n.contentWidth=s,n.containerWidth=t,n}function Ve(t,e){var i=e.containerWidth,n=e.font,o=e.contentWidth;if(!i)return"";var a=Le(t,n);if(a<=i)return t;for(var r=0;;r++){if(a<=o||r>=e.maxIterations){t+=e.ellipsis;break}var s=0===r?Ge(t,o,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*o/a):0;a=Le(t=t.substr(0,s),n)}return""===t&&(t=e.placeholder),t}function Ge(t,e,i,n){for(var o=0,a=0,r=t.length;au)t="",r=[];else if(null!=h)for(var c=Be(h-(i?i[1]+i[3]:0),e,o.ellipsis,{minChar:o.minChar,placeholder:o.placeholder}),d=0,f=r.length;do&&Ue(i,t.substring(o,a)),Ue(i,n[2],n[1]),o=_b.lastIndex}of)return{lines:[],width:0,height:0};k.textWidth=Le(k.text,_);var b=y.textWidth,S=null==b||"auto"===b;if("string"==typeof b&&"%"===b.charAt(b.length-1))k.percentWidth=b,u.push(k),b=0;else{if(S){b=k.textWidth;var M=y.textBackgroundColor,I=M&&M.image;I&&Ce(I=Te(I))&&(b=Math.max(b,I.width*w/I.height))}var T=x?x[1]+x[3]:0;b+=T;var C=null!=d?d-m:null;null!=C&&Cl&&(i*=l/(c=i+n),n*=l/c),o+a>l&&(o*=l/(c=o+a),a*=l/c),n+o>u&&(n*=u/(c=n+o),o*=u/c),i+a>u&&(i*=u/(c=i+a),a*=u/c),t.moveTo(r+i,s),t.lineTo(r+l-n,s),0!==n&&t.arc(r+l-n,s+n,n,-Math.PI/2,0),t.lineTo(r+l,s+u-o),0!==o&&t.arc(r+l-o,s+u-o,o,0,Math.PI/2),t.lineTo(r+a,s+u),0!==a&&t.arc(r+a,s+u-a,a,Math.PI/2,Math.PI),t.lineTo(r,s+i),0!==i&&t.arc(r+i,s+i,i,Math.PI,1.5*Math.PI)}function Ye(t){return qe(t),d(t.rich,qe),t}function qe(t){if(t){t.font=Xe(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||Mb[e]?e:"left";var i=t.textVerticalAlign||t.textBaseline;"center"===i&&(i="middle"),t.textVerticalAlign=null==i||Ib[i]?i:"top",t.textPadding&&(t.textPadding=L(t.textPadding))}}function Ke(t,e,i,n,o,a){n.rich?Je(t,e,i,n,o,a):$e(t,e,i,n,o,a)}function $e(t,e,i,n,o,a){var r,s=ii(n),l=!1,u=e.__attrCachedBy===rb.PLAIN_TEXT;a!==sb?(a&&(r=a.style,l=!s&&u&&r),e.__attrCachedBy=s?rb.NONE:rb.PLAIN_TEXT):u&&(e.__attrCachedBy=rb.NONE);var h=n.font||Sb;l&&h===(r.font||Sb)||(e.font=h);var c=t.__computedFont;t.__styleFont!==h&&(t.__styleFont=h,c=t.__computedFont=e.font);var d=n.textPadding,f=n.textLineHeight,p=t.__textCotentBlock;p&&!t.__dirtyText||(p=t.__textCotentBlock=He(i,c,d,f,n.truncate));var g=p.outerHeight,m=p.lines,v=p.lineHeight,y=ai(g,n,o),x=y.baseX,_=y.baseY,w=y.textAlign||"left",b=y.textVerticalAlign;ti(e,n,o,x,_);var S=Ee(_,g,b),M=x,I=S;if(s||d){var T=Le(i,c);d&&(T+=d[1]+d[3]);var A=Oe(x,T,w);s&&ni(t,e,n,A,S,T,g),d&&(M=hi(x,w,d),I+=d[0])}e.textAlign=w,e.textBaseline="middle",e.globalAlpha=n.opacity||1;for(B=0;B=0&&"right"===(_=b[C]).textAlign;)ei(t,e,_,n,M,v,D,"right"),I-=_.width,D-=_.width,C--;for(A+=(a-(A-m)-(y-D)-I)/2;T<=C;)ei(t,e,_=b[T],n,M,v,A+_.width/2,"center"),A+=_.width,T++;v+=M}}function ti(t,e,i,n,o){if(i&&e.textRotation){var a=e.textOrigin;"center"===a?(n=i.width/2+i.x,o=i.height/2+i.y):a&&(n=a[0]+i.x,o=a[1]+i.y),t.translate(n,o),t.rotate(-e.textRotation),t.translate(-n,-o)}}function ei(t,e,i,n,o,a,r,s){var l=n.rich[i.styleName]||{};l.text=i.text;var u=i.textVerticalAlign,h=a+o/2;"top"===u?h=a+i.height/2:"bottom"===u&&(h=a+o-i.height/2),!i.isLineHolder&&ii(l)&&ni(t,e,l,"right"===s?r-i.width:"center"===s?r-i.width/2:r,h-i.height/2,i.width,i.height);var c=i.textPadding;c&&(r=hi(r,s,c),h-=i.height/2-c[2]-i.textHeight/2),ri(e,"shadowBlur",D(l.textShadowBlur,n.textShadowBlur,0)),ri(e,"shadowColor",l.textShadowColor||n.textShadowColor||"transparent"),ri(e,"shadowOffsetX",D(l.textShadowOffsetX,n.textShadowOffsetX,0)),ri(e,"shadowOffsetY",D(l.textShadowOffsetY,n.textShadowOffsetY,0)),ri(e,"textAlign",s),ri(e,"textBaseline","middle"),ri(e,"font",i.font||Sb);var d=si(l.textStroke||n.textStroke,p),f=li(l.textFill||n.textFill),p=A(l.textStrokeWidth,n.textStrokeWidth);d&&(ri(e,"lineWidth",p),ri(e,"strokeStyle",d),e.strokeText(i.text,r,h)),f&&(ri(e,"fillStyle",f),e.fillText(i.text,r,h))}function ii(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function ni(t,e,i,n,o,a,r){var s=i.textBackgroundColor,l=i.textBorderWidth,u=i.textBorderColor,h=_(s);if(ri(e,"shadowBlur",i.textBoxShadowBlur||0),ri(e,"shadowColor",i.textBoxShadowColor||"transparent"),ri(e,"shadowOffsetX",i.textBoxShadowOffsetX||0),ri(e,"shadowOffsetY",i.textBoxShadowOffsetY||0),h||l&&u){e.beginPath();var c=i.textBorderRadius;c?je(e,{x:n,y:o,width:a,height:r,r:c}):e.rect(n,o,a,r),e.closePath()}if(h)if(ri(e,"fillStyle",s),null!=i.fillOpacity){f=e.globalAlpha;e.globalAlpha=i.fillOpacity*i.opacity,e.fill(),e.globalAlpha=f}else e.fill();else if(w(s)){var d=s.image;(d=Ae(d,null,t,oi,s))&&Ce(d)&&e.drawImage(d,n,o,a,r)}if(l&&u)if(ri(e,"lineWidth",l),ri(e,"strokeStyle",u),null!=i.strokeOpacity){var f=e.globalAlpha;e.globalAlpha=i.strokeOpacity*i.opacity,e.stroke(),e.globalAlpha=f}else e.stroke()}function oi(t,e){e.image=t}function ai(t,e,i){var n=e.x||0,o=e.y||0,a=e.textAlign,r=e.textVerticalAlign;if(i){var s=e.textPosition;if(s instanceof Array)n=i.x+ui(s[0],i.width),o=i.y+ui(s[1],i.height);else{var l=Re(s,i,e.textDistance);n=l.x,o=l.y,a=a||l.textAlign,r=r||l.textVerticalAlign}var u=e.textOffset;u&&(n+=u[0],o+=u[1])}return{baseX:n,baseY:o,textAlign:a,textVerticalAlign:r}}function ri(t,e,i){return t[e]=ab(t,e,i),t[e]}function si(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function li(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function ui(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function hi(t,e,i){return"right"===e?t-i[1]:"center"===e?t+i[3]/2-i[1]/2:t+i[3]}function ci(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)}function di(t){t=t||{},Kw.call(this,t);for(var e in t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new ub(t.style,this),this._rect=null,this.__clipPaths=[]}function fi(t){di.call(this,t)}function pi(t){return parseInt(t,10)}function gi(t){return!!t&&(!!t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh)}function mi(t,e,i){return Cb.copy(t.getBoundingRect()),t.transform&&Cb.applyTransform(t.transform),Lb.width=e,Lb.height=i,!Cb.intersect(Lb)}function vi(t,e){if(t===e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var i=0;i=i.length&&i.push({option:t})}}),i}function Ni(t){var e=R();Zb(t,function(t,i){var n=t.exist;n&&e.set(n.id,t)}),Zb(t,function(t,i){var n=t.option;k(!n||null==n.id||!e.get(n.id)||e.get(n.id)===t,"id duplicates: "+(n&&n.id)),n&&null!=n.id&&e.set(n.id,t),!t.keyInfo&&(t.keyInfo={})}),Zb(t,function(t,i){var n=t.exist,o=t.option,a=t.keyInfo;if(Ub(o)){if(a.name=null!=o.name?o.name+"":n?n.name:jb+i,n)a.id=n.id;else if(null!=o.id)a.id=o.id+"";else{var r=0;do{a.id="\0"+a.name+"\0"+r++}while(e.get(a.id))}e.set(a.id,t)}})}function Oi(t){var e=t.name;return!(!e||!e.indexOf(jb))}function Ei(t){return Ub(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}function Ri(t,e){function i(t,e,i){for(var n=0,o=t.length;n-rS&&trS||t<-rS}function tn(t,e,i,n,o){var a=1-o;return a*a*(a*t+3*o*e)+o*o*(o*n+3*a*i)}function en(t,e,i,n,o){var a=1-o;return 3*(((e-t)*a+2*(i-e)*o)*a+(n-i)*o*o)}function nn(t,e,i,n,o,a){var r=n+3*(e-i)-t,s=3*(i-2*e+t),l=3*(e-t),u=t-o,h=s*s-3*r*l,c=s*l-9*r*u,d=l*l-3*s*u,f=0;if(Ji(h)&&Ji(c))Ji(s)?a[0]=0:(M=-l/s)>=0&&M<=1&&(a[f++]=M);else{var p=c*c-4*h*d;if(Ji(p)){var g=c/h,m=-g/2;(M=-s/r+g)>=0&&M<=1&&(a[f++]=M),m>=0&&m<=1&&(a[f++]=m)}else if(p>0){var v=aS(p),y=h*s+1.5*r*(-c+v),x=h*s+1.5*r*(-c-v);(M=(-s-((y=y<0?-oS(-y,uS):oS(y,uS))+(x=x<0?-oS(-x,uS):oS(x,uS))))/(3*r))>=0&&M<=1&&(a[f++]=M)}else{var _=(2*h*s-3*r*c)/(2*aS(h*h*h)),w=Math.acos(_)/3,b=aS(h),S=Math.cos(w),M=(-s-2*b*S)/(3*r),m=(-s+b*(S+lS*Math.sin(w)))/(3*r),I=(-s+b*(S-lS*Math.sin(w)))/(3*r);M>=0&&M<=1&&(a[f++]=M),m>=0&&m<=1&&(a[f++]=m),I>=0&&I<=1&&(a[f++]=I)}}return f}function on(t,e,i,n,o){var a=6*i-12*e+6*t,r=9*e+3*n-3*t-9*i,s=3*e-3*t,l=0;if(Ji(r))Qi(a)&&(c=-s/a)>=0&&c<=1&&(o[l++]=c);else{var u=a*a-4*r*s;if(Ji(u))o[0]=-a/(2*r);else if(u>0){var h=aS(u),c=(-a+h)/(2*r),d=(-a-h)/(2*r);c>=0&&c<=1&&(o[l++]=c),d>=0&&d<=1&&(o[l++]=d)}}return l}function an(t,e,i,n,o,a){var r=(e-t)*o+t,s=(i-e)*o+e,l=(n-i)*o+i,u=(s-r)*o+r,h=(l-s)*o+s,c=(h-u)*o+u;a[0]=t,a[1]=r,a[2]=u,a[3]=c,a[4]=c,a[5]=h,a[6]=l,a[7]=n}function rn(t,e,i,n,o,a,r,s,l,u,h){var c,d,f,p,g,m=.005,v=1/0;hS[0]=l,hS[1]=u;for(var y=0;y<1;y+=.05)cS[0]=tn(t,i,o,r,y),cS[1]=tn(e,n,a,s,y),(p=hw(hS,cS))=0&&p=0&&c<=1&&(o[l++]=c);else{var u=r*r-4*a*s;if(Ji(u))(c=-r/(2*a))>=0&&c<=1&&(o[l++]=c);else if(u>0){var h=aS(u),c=(-r+h)/(2*a),d=(-r-h)/(2*a);c>=0&&c<=1&&(o[l++]=c),d>=0&&d<=1&&(o[l++]=d)}}return l}function hn(t,e,i){var n=t+i-2*e;return 0===n?.5:(t-e)/n}function cn(t,e,i,n,o){var a=(e-t)*n+t,r=(i-e)*n+e,s=(r-a)*n+a;o[0]=t,o[1]=a,o[2]=s,o[3]=s,o[4]=r,o[5]=i}function dn(t,e,i,n,o,a,r,s,l){var u,h=.005,c=1/0;hS[0]=r,hS[1]=s;for(var d=0;d<1;d+=.05)cS[0]=sn(t,i,o,d),cS[1]=sn(e,n,a,d),(m=hw(hS,cS))=0&&m1e-4)return s[0]=t-i,s[1]=e-n,l[0]=t+i,void(l[1]=e+n);if(yS[0]=mS(o)*i+t,yS[1]=gS(o)*n+e,xS[0]=mS(a)*i+t,xS[1]=gS(a)*n+e,u(s,yS,xS),h(l,yS,xS),(o%=vS)<0&&(o+=vS),(a%=vS)<0&&(a+=vS),o>a&&!r?a+=vS:oo&&(_S[0]=mS(f)*i+t,_S[1]=gS(f)*n+e,u(s,_S,s),h(l,_S,l))}function yn(t,e,i,n,o,a,r){if(0===o)return!1;var s=o,l=0,u=t;if(r>e+s&&r>n+s||rt+s&&a>i+s||ae+c&&h>n+c&&h>a+c&&h>s+c||ht+c&&u>i+c&&u>o+c&&u>r+c||ue+u&&l>n+u&&l>a+u||lt+u&&s>i+u&&s>o+u||si||h+uo&&(o+=zS);var d=Math.atan2(l,s);return d<0&&(d+=zS),d>=n&&d<=o||d+zS>=n&&d+zS<=o}function Sn(t,e,i,n,o,a){if(a>e&&a>n||ao?r:0}function Mn(t,e){return Math.abs(t-e)e&&u>n&&u>a&&u>s||u1&&In(),c=tn(e,n,a,s,WS[0]),p>1&&(d=tn(e,n,a,s,WS[1]))),2===p?me&&s>n&&s>a||s=0&&u<=1){for(var h=0,c=sn(e,n,a,u),d=0;di||s<-i)return 0;u=Math.sqrt(i*i-s*s);FS[0]=-u,FS[1]=u;var l=Math.abs(n-o);if(l<1e-4)return 0;if(l%VS<1e-4){n=0,o=VS;p=a?1:-1;return r>=FS[0]+t&&r<=FS[1]+t?p:0}if(a){var u=n;n=wn(o),o=wn(u)}else n=wn(n),o=wn(o);n>o&&(o+=VS);for(var h=0,c=0;c<2;c++){var d=FS[c];if(d+t>r){var f=Math.atan2(s,d),p=a?1:-1;f<0&&(f=VS+f),(f>=n&&f<=o||f+VS>=n&&f+VS<=o)&&(f>Math.PI/2&&f<1.5*Math.PI&&(p=-p),h+=p)}}return h}function Cn(t,e,i,n,o){for(var a=0,r=0,s=0,l=0,u=0,h=0;h1&&(i||(a+=Sn(r,s,l,u,n,o))),1===h&&(l=r=t[h],u=s=t[h+1]),c){case BS.M:r=l=t[h++],s=u=t[h++];break;case BS.L:if(i){if(yn(r,s,t[h],t[h+1],e,n,o))return!0}else a+=Sn(r,s,t[h],t[h+1],n,o)||0;r=t[h++],s=t[h++];break;case BS.C:if(i){if(xn(r,s,t[h++],t[h++],t[h++],t[h++],t[h],t[h+1],e,n,o))return!0}else a+=Tn(r,s,t[h++],t[h++],t[h++],t[h++],t[h],t[h+1],n,o)||0;r=t[h++],s=t[h++];break;case BS.Q:if(i){if(_n(r,s,t[h++],t[h++],t[h],t[h+1],e,n,o))return!0}else a+=An(r,s,t[h++],t[h++],t[h],t[h+1],n,o)||0;r=t[h++],s=t[h++];break;case BS.A:var d=t[h++],f=t[h++],p=t[h++],g=t[h++],m=t[h++],v=t[h++];h+=1;var y=1-t[h++],x=Math.cos(m)*p+d,_=Math.sin(m)*g+f;h>1?a+=Sn(r,s,x,_,n,o):(l=x,u=_);var w=(n-d)*g/p+d;if(i){if(bn(d,f,g,m,m+v,y,e,w,o))return!0}else a+=Dn(d,f,g,m,m+v,y,w,o);r=Math.cos(m+v)*p+d,s=Math.sin(m+v)*g+f;break;case BS.R:l=r=t[h++],u=s=t[h++];var x=l+t[h++],_=u+t[h++];if(i){if(yn(l,u,x,u,e,n,o)||yn(x,u,x,_,e,n,o)||yn(x,_,l,_,e,n,o)||yn(l,_,l,u,e,n,o))return!0}else a+=Sn(x,u,x,_,n,o),a+=Sn(l,_,l,u,n,o);break;case BS.Z:if(i){if(yn(r,s,l,u,e,n,o))return!0}else a+=Sn(r,s,l,u,n,o);r=l,s=u}}return i||Mn(s,u)||(a+=Sn(r,s,l,u,n,o)||0),0!==a}function Ln(t,e,i){return Cn(t,0,!1,e,i)}function kn(t,e,i,n){return Cn(t,e,!0,i,n)}function Pn(t){di.call(this,t),this.path=null}function Nn(t,e,i,n,o,a,r,s,l,u,h){var c=l*(tM/180),d=QS(c)*(t-i)/2+JS(c)*(e-n)/2,f=-1*JS(c)*(t-i)/2+QS(c)*(e-n)/2,p=d*d/(r*r)+f*f/(s*s);p>1&&(r*=$S(p),s*=$S(p));var g=(o===a?-1:1)*$S((r*r*(s*s)-r*r*(f*f)-s*s*(d*d))/(r*r*(f*f)+s*s*(d*d)))||0,m=g*r*f/s,v=g*-s*d/r,y=(t+i)/2+QS(c)*m-JS(c)*v,x=(e+n)/2+JS(c)*m+QS(c)*v,_=nM([1,0],[(d-m)/r,(f-v)/s]),w=[(d-m)/r,(f-v)/s],b=[(-1*d-m)/r,(-1*f-v)/s],S=nM(w,b);iM(w,b)<=-1&&(S=tM),iM(w,b)>=1&&(S=0),0===a&&S>0&&(S-=2*tM),1===a&&S<0&&(S+=2*tM),h.addData(u,y,x,r,s,_,S,c,a)}function On(t){if(!t)return new ES;for(var e,i=0,n=0,o=i,a=n,r=new ES,s=ES.CMD,l=t.match(oM),u=0;u=2){if(o&&"spline"!==o){var a=fM(n,o,i,e.smoothConstraint);t.moveTo(n[0][0],n[0][1]);for(var r=n.length,s=0;s<(i?r:r-1);s++){var l=a[2*s],u=a[2*s+1],h=n[(s+1)%r];t.bezierCurveTo(l[0],l[1],u[0],u[1],h[0],h[1])}}else{"spline"===o&&(n=dM(n,i)),t.moveTo(n[0][0],n[0][1]);for(var s=1,c=n.length;s=0)?(i={textFill:null,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth},t.textFill="#fff",null==t.textStroke&&(t.textStroke=a,null==t.textStrokeWidth&&(t.textStrokeWidth=2))):null!=a&&(i={textFill:null},t.textFill=a),i&&(t.insideRollback=i)}}function bo(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function So(t,e){var i=e||e.getModel("textStyle");return P([t.fontStyle||i&&i.getShallow("fontStyle")||"",t.fontWeight||i&&i.getShallow("fontWeight")||"",(t.fontSize||i&&i.getShallow("fontSize")||12)+"px",t.fontFamily||i&&i.getShallow("fontFamily")||"sans-serif"].join(" "))}function Mo(t,e,i,n,o,a){if("function"==typeof o&&(a=o,o=null),n&&n.isAnimationEnabled()){var r=t?"Update":"",s=n.getShallow("animationDuration"+r),l=n.getShallow("animationEasing"+r),u=n.getShallow("animationDelay"+r);"function"==typeof u&&(u=u(o,n.getAnimationDelayParams?n.getAnimationDelayParams(e,o):null)),"function"==typeof s&&(s=s(o)),s>0?e.animateTo(i,s,u||0,l,a,!!a):(e.stopAnimation(),e.attr(i),a&&a())}else e.stopAnimation(),e.attr(i),a&&a()}function Io(t,e,i,n,o){Mo(!0,t,e,i,n,o)}function To(t,e,i,n,o){Mo(!1,t,e,i,n,o)}function Ao(t,e){for(var i=_t([]);t&&t!==e;)bt(i,t.getLocalTransform(),i),t=t.parent;return i}function Do(t,e,i){return e&&!c(e)&&(e=Tw.getLocalTransform(e)),i&&(e=Tt([],e)),Q([],t,e)}function Co(t,e,i){var n=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),o=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),a=["left"===t?-n:"right"===t?n:0,"top"===t?-o:"bottom"===t?o:0];return a=Do(a,e,i),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function Lo(t,e,i,n){function o(t){var e={position:F(t.position),rotation:t.rotation};return t.shape&&(e.shape=a({},t.shape)),e}if(t&&e){var r=function(t){var e={};return t.traverse(function(t){!t.isGroup&&t.anid&&(e[t.anid]=t)}),e}(t);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var n=o(t);t.attr(o(e)),Io(t,n,i,t.dataIndex)}}})}}function ko(t,e){return f(t,function(t){var i=t[0];i=LM(i,e.x),i=kM(i,e.x+e.width);var n=t[1];return n=LM(n,e.y),n=kM(n,e.y+e.height),[i,n]})}function Po(t,e,i){var n=(e=a({rectHover:!0},e)).style={strokeNoScale:!0};if(i=i||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(n.image=t.slice(8),r(n,i),new fi(e)):Xn(t.replace("path://",""),e,i,"center")}function No(t,e,i){this.parentModel=e,this.ecModel=i,this.option=t}function Oo(t,e,i){for(var n=0;n0){if(t<=e[0])return i[0];if(t>=e[1])return i[1]}else{if(t>=e[0])return i[0];if(t<=e[1])return i[1]}else{if(t===e[0])return i[0];if(t===e[1])return i[1]}return(t-e[0])/o*a+i[0]}function Vo(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?zo(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function Go(t,e,i){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),i?t:+t}function Fo(t){return t.sort(function(t,e){return t-e}),t}function Wo(t){if(t=+t,isNaN(t))return 0;for(var e=1,i=0;Math.round(t*e)/e!==t;)e*=10,i++;return i}function Ho(t){var e=t.toString(),i=e.indexOf("e");if(i>0){var n=+e.slice(i+1);return n<0?-n:0}var o=e.indexOf(".");return o<0?0:e.length-1-o}function Zo(t,e){var i=Math.log,n=Math.LN10,o=Math.floor(i(t[1]-t[0])/n),a=Math.round(i(Math.abs(e[1]-e[0]))/n),r=Math.min(Math.max(-o+a,0),20);return isFinite(r)?r:20}function Uo(t,e,i){if(!t[e])return 0;var n=p(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===n)return 0;for(var o=Math.pow(10,i),a=f(t,function(t){return(isNaN(t)?0:t)/n*o*100}),r=100*o,s=f(a,function(t){return Math.floor(t)}),l=p(s,function(t,e){return t+e},0),u=f(a,function(t,e){return t-s[e]});lh&&(h=u[d],c=d);++s[c],u[c]=0,++l}return s[e]/o}function Xo(t){var e=2*Math.PI;return(t%e+e)%e}function jo(t){return t>-UM&&t=-20?+t.toFixed(n<0?-n:0):t}function Jo(t){function e(t,i,n){return t.interval[n]=0}function ta(t){return isNaN(t)?"-":(t=(t+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function ea(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}function ia(t){return null==t?"":(t+"").replace(KM,function(t,e){return $M[e]})}function na(t,e,i){y(e)||(e=[e]);var n=e.length;if(!n)return"";for(var o=e[0].$vars||[],a=0;a':'':{renderMode:o,content:"{marker"+a+"|} ",style:{color:i}}:""}function ra(t,e){return t+="","0000".substr(0,e-t.length)+t}function sa(t,e,i){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var n=Yo(e),o=i?"UTC":"",a=n["get"+o+"FullYear"](),r=n["get"+o+"Month"]()+1,s=n["get"+o+"Date"](),l=n["get"+o+"Hours"](),u=n["get"+o+"Minutes"](),h=n["get"+o+"Seconds"](),c=n["get"+o+"Milliseconds"]();return t=t.replace("MM",ra(r,2)).replace("M",r).replace("yyyy",a).replace("yy",a%100).replace("dd",ra(s,2)).replace("d",s).replace("hh",ra(l,2)).replace("h",l).replace("mm",ra(u,2)).replace("m",u).replace("ss",ra(h,2)).replace("s",h).replace("SSS",ra(c,3))}function la(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}function ua(t,e,i,n,o){var a=0,r=0;null==n&&(n=1/0),null==o&&(o=1/0);var s=0;e.eachChild(function(l,u){var h,c,d=l.position,f=l.getBoundingRect(),p=e.childAt(u+1),g=p&&p.getBoundingRect();if("horizontal"===t){var m=f.width+(g?-g.x+f.x:0);(h=a+m)>n||l.newline?(a=0,h=m,r+=s+i,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(g?-g.y+f.y:0);(c=r+v)>o||l.newline?(a+=s+i,r=0,c=v,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=a,d[1]=r,"horizontal"===t?a=h+i:r=c+i)})}function ha(t,e,i){var n=e.width,o=e.height,a=Vo(t.x,n),r=Vo(t.y,o),s=Vo(t.x2,n),l=Vo(t.y2,o);return(isNaN(a)||isNaN(parseFloat(t.x)))&&(a=0),(isNaN(s)||isNaN(parseFloat(t.x2)))&&(s=n),(isNaN(r)||isNaN(parseFloat(t.y)))&&(r=0),(isNaN(l)||isNaN(parseFloat(t.y2)))&&(l=o),i=qM(i||0),{width:Math.max(s-a-i[1]-i[3],0),height:Math.max(l-r-i[0]-i[2],0)}}function ca(t,e,i){i=qM(i||0);var n=e.width,o=e.height,a=Vo(t.left,n),r=Vo(t.top,o),s=Vo(t.right,n),l=Vo(t.bottom,o),u=Vo(t.width,n),h=Vo(t.height,o),c=i[2]+i[0],d=i[1]+i[3],f=t.aspect;switch(isNaN(u)&&(u=n-s-d-a),isNaN(h)&&(h=o-l-c-r),null!=f&&(isNaN(u)&&isNaN(h)&&(f>n/o?u=.8*n:h=.8*o),isNaN(u)&&(u=f*h),isNaN(h)&&(h=u/f)),isNaN(a)&&(a=n-s-u-d),isNaN(r)&&(r=o-l-h-c),t.left||t.right){case"center":a=n/2-u/2-i[3];break;case"right":a=n-u-d}switch(t.top||t.bottom){case"middle":case"center":r=o/2-h/2-i[0];break;case"bottom":r=o-h-c}a=a||0,r=r||0,isNaN(u)&&(u=n-d-a-(s||0)),isNaN(h)&&(h=o-c-r-(l||0));var p=new de(a+i[3],r+i[0],u,h);return p.margin=i,p}function da(t,e,i,n,o){var a=!o||!o.hv||o.hv[0],s=!o||!o.hv||o.hv[1],l=o&&o.boundingMode||"all";if(a||s){var u;if("raw"===l)u="group"===t.type?new de(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(u=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();(u=u.clone()).applyTransform(h)}e=ca(r({width:u.width,height:u.height},e),i,n);var c=t.position,d=a?e.x-u.x:0,f=s?e.y-u.y:0;t.attr("position","raw"===l?[d,f]:[c[0]+d,c[1]+f])}}function fa(t,e){return null!=t[oI[e][0]]||null!=t[oI[e][1]]&&null!=t[oI[e][2]]}function pa(t,e,i){function n(i,n){var r={},l=0,u={},h=0;if(iI(i,function(e){u[e]=t[e]}),iI(i,function(t){o(e,t)&&(r[t]=u[t]=e[t]),a(r,t)&&l++,a(u,t)&&h++}),s[n])return a(e,i[1])?u[i[2]]=null:a(e,i[2])&&(u[i[1]]=null),u;if(2!==h&&l){if(l>=2)return r;for(var c=0;ce)return t[n];return t[i-1]}function ya(t){var e=t.get("coordinateSystem"),i={coordSysName:e,coordSysDims:[],axisMap:R(),categoryAxisMap:R()},n=fI[e];if(n)return n(t,i,i.axisMap,i.categoryAxisMap),i}function xa(t){return"category"===t.get("type")}function _a(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===vI?{}:[]),this.sourceFormat=t.sourceFormat||yI,this.seriesLayoutBy=t.seriesLayoutBy||_I,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&R(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}function wa(t){var e=t.option.source,i=yI;if(S(e))i=xI;else if(y(e)){0===e.length&&(i=gI);for(var n=0,o=e.length;n=e:"max"===i?t<=e:t===e}function Xa(t,e){return t.join(",")===e.join(",")}function ja(t,e){AI(e=e||{},function(e,i){if(null!=e){var n=t[i];if(lI.hasClass(i)){e=Di(e);var o=Pi(n=Di(n),e);t[i]=CI(o,function(t){return t.option&&t.exist?LI(t.exist,t.option,!0):t.exist||t.option})}else t[i]=LI(n,e,!0)}})}function Ya(t){var e=t&&t.itemStyle;if(e)for(var i=0,o=OI.length;i=0;p--){var g=t[p];if(s||(d=g.data.rawIndexOf(g.stackedByDimension,c)),d>=0){var m=g.data.getByRawIndex(g.stackResultDimension,d);if(h>=0&&m>0||h<=0&&m<0){h+=m,f=m;break}}}return n[0]=h,n[1]=f,n});r.hostModel.setData(l),e.data=l})}function rr(t,e){_a.isInstance(t)||(t=_a.seriesDataToSource(t)),this._source=t;var i=this._data=t.data,n=t.sourceFormat;n===xI&&(this._offset=0,this._dimSize=e,this._data=i),a(this,GI[n===gI?n+"_"+t.seriesLayoutBy:n])}function sr(){return this._data.length}function lr(t){return this._data[t]}function ur(t){for(var e=0;ee.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function Mr(t,e){d(t.CHANGABLE_METHODS,function(i){t.wrapMethod(i,v(Ir,e))})}function Ir(t){var e=Tr(t);e&&e.setOutputEnd(this.count())}function Tr(t){var e=(t.ecModel||{}).scheduler,i=e&&e.getPipeline(t.uid);if(i){var n=i.currentTask;if(n){var o=n.agentStubMap;o&&(n=o.get(t.uid))}return n}}function Ar(){this.group=new tb,this.uid=Ro("viewChart"),this.renderTask=gr({plan:Lr,reset:kr}),this.renderTask.context={view:this}}function Dr(t,e){if(t&&(t.trigger(e),"group"===t.type))for(var i=0;i=0?n():c=setTimeout(n,-a),u=o};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(t){l=t},d}function Nr(t,e,i,n){var o=t[e];if(o){var a=o[iT]||o,r=o[oT];if(o[nT]!==i||r!==n){if(null==i||!n)return t[e]=a;(o=t[e]=Pr(a,i,"debounce"===n))[iT]=a,o[oT]=n,o[nT]=i}return o}}function Or(t,e){var i=t[e];i&&i[iT]&&(t[e]=i[iT])}function Er(t,e,i,n){this.ecInstance=t,this.api=e,this.unfinished;var i=this._dataProcessorHandlers=i.slice(),n=this._visualHandlers=n.slice();this._allHandlers=i.concat(n),this._stageTaskMap=R()}function Rr(t,e,i,n,o){function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}o=o||{};var r;d(e,function(e,s){if(!o.visualType||o.visualType===e.visualType){var l=t._stageTaskMap.get(e.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,d=h.agentStubMap;d.each(function(t){a(o,t)&&(t.dirty(),c=!0)}),c&&h.dirty(),hT(h,n);var f=t.getPerformArgs(h,o.block);d.each(function(t){t.perform(f)}),r|=h.perform(f)}else u&&u.each(function(s,l){a(o,s)&&s.dirty();var u=t.getPerformArgs(s,o.block);u.skip=!e.performRawSeries&&i.isSeriesFiltered(s.context.model),hT(s,n),r|=s.perform(u)})}}),t.unfinished|=r}function zr(t,e,i,n,o){function a(i){var a=i.uid,s=r.get(a)||r.set(a,gr({plan:Hr,reset:Zr,count:Xr}));s.context={model:i,ecModel:n,api:o,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},jr(t,i,s)}var r=i.seriesTaskMap||(i.seriesTaskMap=R()),s=e.seriesType,l=e.getTargetSeries;e.createOnAllSeries?n.eachRawSeries(a):s?n.eachRawSeriesByType(s,a):l&&l(n,o).each(a);var u=t._pipelineMap;r.each(function(t,e){u.get(e)||(t.dispose(),r.removeKey(e))})}function Br(t,e,i,n,o){function a(e){var i=e.uid,n=s.get(i);n||(n=s.set(i,gr({reset:Gr,onDirty:Wr})),r.dirty()),n.context={model:e,overallProgress:h,modifyOutputEnd:c},n.agent=r,n.__block=h,jr(t,e,n)}var r=i.overallTask=i.overallTask||gr({reset:Vr});r.context={ecModel:n,api:o,overallReset:e.overallReset,scheduler:t};var s=r.agentStubMap=r.agentStubMap||R(),l=e.seriesType,u=e.getTargetSeries,h=!0,c=e.modifyOutputEnd;l?n.eachRawSeriesByType(l,a):u?u(n,o).each(a):(h=!1,d(n.getSeries(),a));var f=t._pipelineMap;s.each(function(t,e){f.get(e)||(t.dispose(),r.dirty(),s.removeKey(e))})}function Vr(t){t.overallReset(t.ecModel,t.api,t.payload)}function Gr(t,e){return t.overallProgress&&Fr}function Fr(){this.agent.dirty(),this.getDownstream().dirty()}function Wr(){this.agent&&this.agent.dirty()}function Hr(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function Zr(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=Di(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?f(e,function(t,e){return Ur(e)}):cT}function Ur(t){return function(e,i){var n=i.data,o=i.resetDefines[t];if(o&&o.dataEach)for(var a=e.start;a0?parseInt(n,10)/100:n?parseFloat(n):0;var o=i.getAttribute("stop-color")||"#000000";e.addColorStop(n,o)}i=i.nextSibling}}function Qr(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),r(e.__inheritedStyle,t.__inheritedStyle))}function ts(t){for(var e=P(t).split(_T),i=[],n=0;n0;a-=2){var r=o[a],s=o[a-1];switch(n=n||xt(),s){case"translate":r=P(r).split(_T),St(n,n,[parseFloat(r[0]),parseFloat(r[1]||0)]);break;case"scale":r=P(r).split(_T),It(n,n,[parseFloat(r[0]),parseFloat(r[1]||r[0])]);break;case"rotate":r=P(r).split(_T),Mt(n,n,parseFloat(r[0]));break;case"skew":r=P(r).split(_T),console.warn("Skew transform is not supported yet");break;case"matrix":r=P(r).split(_T);n[0]=parseFloat(r[0]),n[1]=parseFloat(r[1]),n[2]=parseFloat(r[2]),n[3]=parseFloat(r[3]),n[4]=parseFloat(r[4]),n[5]=parseFloat(r[5])}}e.setLocalTransform(n)}}function os(t){var e=t.getAttribute("style"),i={};if(!e)return i;var n={};TT.lastIndex=0;for(var o;null!=(o=TT.exec(e));)n[o[1]]=o[2];for(var a in ST)ST.hasOwnProperty(a)&&null!=n[a]&&(i[ST[a]]=n[a]);return i}function as(t,e,i){var n=e/t.width,o=i/t.height,a=Math.min(n,o);return{scale:[a,a],position:[-(t.x+t.width/2)*a+e/2,-(t.y+t.height/2)*a+i/2]}}function rs(t,e){return(new $r).parse(t,e)}function ss(t){return function(e,i,n){e=e&&e.toLowerCase(),fw.prototype[t].call(this,e,i,n)}}function ls(){fw.call(this)}function us(t,e,n){function o(t,e){return t.__prio-e.__prio}n=n||{},"string"==typeof e&&(e=JT[e]),this.id,this.group,this._dom=t;var a=this._zr=Ii(t,{renderer:n.renderer||"canvas",devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height});this._throttledZrFlush=Pr(m(a.flush,a),17),(e=i(e))&&BI(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new Fa;var r=this._api=As(this);_e($T,o),_e(YT,o),this._scheduler=new Er(this,r,YT,$T),fw.call(this,this._ecEventProcessor=new Ds),this._messageCenter=new ls,this._initEvents(),this.resize=m(this.resize,this),this._pendingActions=[],a.animation.on("frame",this._onframe,this),vs(a,this),N(this)}function hs(t,e,i){var n,o=this._model,a=this._coordSysMgr.getCoordinateSystems();e=Vi(o,e);for(var r=0;re.get("hoverLayerThreshold")&&!U_.node&&i.traverse(function(t){t.isGroup||(t.useHoverLayer=!0)})}function Is(t,e){var i=t.get("blendMode")||null;e.group.traverse(function(t){t.isGroup||t.style.blend!==i&&t.setStyle("blend",i),t.eachPendingDisplayable&&t.eachPendingDisplayable(function(t){t.setStyle("blend",i)})})}function Ts(t,e){var i=t.get("z"),n=t.get("zlevel");e.group.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=n&&(t.zlevel=n))})}function As(t){var e=t._coordSysMgr;return a(new Ga(t),{getCoordinateSystems:m(e.getCoordinateSystems,e),getComponentByElement:function(e){for(;e;){var i=e.__ecComponentInfo;if(null!=i)return t._model.getComponent(i.mainType,i.index);e=e.parent}}})}function Ds(){this.eventInfo}function Cs(t){function e(t,e){for(var n=0;n65535?dA:pA}function Js(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function Qs(t,e){d(gA.concat(e.__wrappedMethods||[]),function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t.__wrappedMethods=e.__wrappedMethods,d(mA,function(n){t[n]=i(e[n])}),t._calculationInfo=a(e._calculationInfo)}function tl(t,e,i,n,o){var a=cA[e.type],r=n-1,s=e.name,l=t[s][r];if(l&&l.length=0?this._indices[t]:-1}function al(t,e){var i=t._idList[e];return null==i&&(i=il(t,t._idDimIdx,e)),null==i&&(i=hA+e),i}function rl(t){return y(t)||(t=[t]),t}function sl(t,e){var i=t.dimensions,n=new vA(f(i,t.getDimensionInfo,t),t.hostModel);Qs(n,t);for(var o=n._storage={},a=t._storage,r=0;r=0?(o[s]=ll(a[s]),n._rawExtent[s]=ul(),n._extent[s]=null):o[s]=a[s])}return n}function ll(t){for(var e=new Array(t.length),i=0;in&&(r=o.interval=n);var s=o.intervalPrecision=Ml(r);return Tl(o.niceTickExtent=[MA(Math.ceil(t[0]/r)*r,s),MA(Math.floor(t[1]/r)*r,s)],t),o}function Ml(t){return Ho(t)+2}function Il(t,e,i){t[e]=Math.max(Math.min(t[e],i[1]),i[0])}function Tl(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),Il(t,0,e),Il(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function Al(t,e,i,n){var o=[];if(!t)return o;e[0]1e4)return[];return e[1]>(o.length?o[o.length-1]:i[1])&&o.push(e[1]),o}function Dl(t){return t.get("stack")||AA+t.seriesIndex}function Cl(t){return t.dim+t.index}function Ll(t){var e=[],i=t.axis;if("category"===i.type){for(var n=i.getBandWidth(),o=0;o=0?"p":"n",b=m;p&&(o[r][_]||(o[r][_]={p:m,n:m}),b=o[r][_][w]);var S,M,I,T;if(g)S=b,M=(A=i.dataToPoint([x,_]))[1]+l,I=A[0]-m,T=u,Math.abs(I)a[1]?(n=a[1],o=a[0]):(n=a[0],o=a[1]);var r=e.toGlobalCoord(e.dataToCoord(0));return ro&&(r=o),r}function Vl(t,e){return VA(t,BA(e))}function Gl(t,e){var i,n,o,a=t.type,r=e.getMin(),s=e.getMax(),l=null!=r,u=null!=s,h=t.getExtent();"ordinal"===a?i=e.getCategories().length:(y(n=e.get("boundaryGap"))||(n=[n||0,n||0]),"boolean"==typeof n[0]&&(n=[0,0]),n[0]=Vo(n[0],1),n[1]=Vo(n[1],1),o=h[1]-h[0]||Math.abs(h[0])),null==r&&(r="ordinal"===a?i?0:NaN:h[0]-n[0]*o),null==s&&(s="ordinal"===a?i?i-1:NaN:h[1]+n[1]*o),"dataMin"===r?r=h[0]:"function"==typeof r&&(r=r({min:h[0],max:h[1]})),"dataMax"===s?s=h[1]:"function"==typeof s&&(s=s({min:h[0],max:h[1]})),(null==r||!isFinite(r))&&(r=NaN),(null==s||!isFinite(s))&&(s=NaN),t.setBlank(I(r)||I(s)||"ordinal"===a&&!t.getOrdinalMeta().categories.length),e.getNeedCrossZero()&&(r>0&&s>0&&!l&&(r=0),r<0&&s<0&&!u&&(s=0));var c=e.ecModel;if(c&&"time"===a){var f,p=kl("bar",c);if(d(p,function(t){f|=t.getBaseAxis()===e.axis}),f){var g=Pl(p),m=Fl(r,s,e,g);r=m.min,s=m.max}}return[r,s]}function Fl(t,e,i,n){var o=i.axis.getExtent(),a=o[1]-o[0],r=Ol(n,i.axis);if(void 0===r)return{min:t,max:e};var s=1/0;d(r,function(t){s=Math.min(t.offset,s)});var l=-1/0;d(r,function(t){l=Math.max(t.offset+t.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,h=e-t,c=h/(1-(s+l)/a)-h;return e+=c*(l/u),t-=c*(s/u),{min:t,max:e}}function Wl(t,e){var i=Gl(t,e),n=null!=e.getMin(),o=null!=e.getMax(),a=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var r=t.type;t.setExtent(i[0],i[1]),t.niceExtent({splitNumber:a,fixMin:n,fixMax:o,minInterval:"interval"===r||"time"===r?e.get("minInterval"):null,maxInterval:"interval"===r||"time"===r?e.get("maxInterval"):null});var s=e.get("interval");null!=s&&t.setInterval&&t.setInterval(s)}function Hl(t,e){if(e=e||t.get("type"))switch(e){case"category":return new SA(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new TA;default:return(xl.getClass(e)||TA).create(t)}}function Zl(t){var e=t.scale.getExtent(),i=e[0],n=e[1];return!(i>0&&n>0||i<0&&n<0)}function Ul(t){var e=t.getLabelModel().get("formatter"),i="category"===t.type?t.scale.getExtent()[0]:null;return"string"==typeof e?e=function(e){return function(i){return i=t.scale.getLabel(i),e.replace("{value}",null!=i?i:"")}}(e):"function"==typeof e?function(n,o){return null!=i&&(o=n-i),e(Xl(t,n),o)}:function(e){return t.scale.getLabel(e)}}function Xl(t,e){return"category"===t.type?t.scale.getLabel(e):e}function jl(t){var e=t.model,i=t.scale;if(e.get("axisLabel.show")&&!i.isBlank()){var n,o,a="category"===t.type,r=i.getExtent();o=a?i.count():(n=i.getTicks()).length;var s,l=t.getLabelModel(),u=Ul(t),h=1;o>40&&(h=Math.ceil(o/40));for(var c=0;c>1^-(1&s),l=l>>1^-(1&l),o=s+=o,a=l+=a,n.push([s/i,l/i])}return n}function ou(t){return"category"===t.type?ru(t):uu(t)}function au(t,e){return"category"===t.type?lu(t,e):{ticks:t.scale.getTicks()}}function ru(t){var e=t.getLabelModel(),i=su(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:i.labelCategoryInterval}:i}function su(t,e){var i=hu(t,"labels"),n=ql(e),o=cu(i,n);if(o)return o;var a,r;return a=x(n)?vu(t,n):mu(t,r="auto"===n?fu(t):n),du(i,n,{labels:a,labelCategoryInterval:r})}function lu(t,e){var i=hu(t,"ticks"),n=ql(e),o=cu(i,n);if(o)return o;var a,r;if(e.get("show")&&!t.scale.isBlank()||(a=[]),x(n))a=vu(t,n,!0);else if("auto"===n){var s=su(t,t.getLabelModel());r=s.labelCategoryInterval,a=f(s.labels,function(t){return t.tickValue})}else a=mu(t,r=n,!0);return du(i,n,{ticks:a,tickCategoryInterval:r})}function uu(t){var e=t.scale.getTicks(),i=Ul(t);return{labels:f(e,function(e,n){return{formattedLabel:i(e,n),rawLabel:t.scale.getLabel(e),tickValue:e}})}}function hu(t,e){return nD(t)[e]||(nD(t)[e]=[])}function cu(t,e){for(var i=0;i40&&(s=Math.max(1,Math.floor(r/40)));for(var l=a[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),h=Math.abs(u*Math.cos(n)),c=Math.abs(u*Math.sin(n)),d=0,f=0;l<=a[1];l+=s){var p=0,g=0,m=ke(i(l),e.font,"center","top");p=1.3*m.width,g=1.3*m.height,d=Math.max(d,p,7),f=Math.max(f,g,7)}var v=d/h,y=f/c;isNaN(v)&&(v=1/0),isNaN(y)&&(y=1/0);var x=Math.max(0,Math.floor(Math.min(v,y))),_=nD(t.model),w=_.lastAutoInterval,b=_.lastTickCount;return null!=w&&null!=b&&Math.abs(w-x)<=1&&Math.abs(b-r)<=1&&w>x?x=w:(_.lastTickCount=r,_.lastAutoInterval=x),x}function gu(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function mu(t,e,i){function n(t){l.push(i?t:{formattedLabel:o(t),rawLabel:a.getLabel(t),tickValue:t})}var o=Ul(t),a=t.scale,r=a.getExtent(),s=t.getLabelModel(),l=[],u=Math.max((e||0)+1,1),h=r[0],c=a.count();0!==h&&u>1&&c/u>2&&(h=Math.round(Math.ceil(h/u)*u));var d=Kl(t),f=s.get("showMinLabel")||d,p=s.get("showMaxLabel")||d;f&&h!==r[0]&&n(r[0]);for(var g=h;g<=r[1];g+=u)n(g);return p&&g!==r[1]&&n(r[1]),l}function vu(t,e,i){var n=t.scale,o=Ul(t),a=[];return d(n.getTicks(),function(t){var r=n.getLabel(t);e(t,r)&&a.push(i?t:{formattedLabel:o(t),rawLabel:r,tickValue:t})}),a}function yu(t,e){var i=(t[1]-t[0])/e/2;t[0]+=i,t[1]-=i}function xu(t,e,i,n,o){function a(t,e){return h?t>e:t0&&(t.coord-=u/(2*(e+1)))}),s={coord:e[r-1].coord+u},e.push(s)}var h=l[0]>l[1];a(e[0].coord,l[0])&&(o?e[0].coord=l[0]:e.shift()),o&&a(l[0],e[0].coord)&&e.unshift({coord:l[0]}),a(l[1],s.coord)&&(o?s.coord=l[1]:e.pop()),o&&a(s.coord,l[1])&&e.push({coord:l[1]})}}function _u(t,e){var i=t.mapDimension("defaultedLabel",!0),n=i.length;if(1===n)return fr(t,e,i[0]);if(n){for(var o=[],a=0;a0?i=n[0]:n[1]<0&&(i=n[1]),i}function Ou(t,e,i,n){var o=NaN;t.stacked&&(o=i.get(i.getCalculationInfo("stackedOverDimension"),n)),isNaN(o)&&(o=t.valueStart);var a=t.baseDataOffset,r=[];return r[a]=i.get(t.baseDim,n),r[1-a]=o,e.dataToPoint(r)}function Eu(t,e){var i=[];return e.diff(t).add(function(t){i.push({cmd:"+",idx:t})}).update(function(t,e){i.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){i.push({cmd:"-",idx:t})}).execute(),i}function Ru(t){return isNaN(t[0])||isNaN(t[1])}function zu(t,e,i,n,o,a,r,s,l,u,h){return"none"!==u&&u?Bu.apply(this,arguments):Vu.apply(this,arguments)}function Bu(t,e,i,n,o,a,r,s,l,u,h){for(var c=0,d=i,f=0;f=o||d<0)break;if(Ru(p)){if(h){d+=a;continue}break}if(d===i)t[a>0?"moveTo":"lineTo"](p[0],p[1]);else if(l>0){var g=e[c],m="y"===u?1:0,v=(p[m]-g[m])*l;_D(bD,g),bD[m]=g[m]+v,_D(SD,p),SD[m]=p[m]-v,t.bezierCurveTo(bD[0],bD[1],SD[0],SD[1],p[0],p[1])}else t.lineTo(p[0],p[1]);c=d,d+=a}return f}function Vu(t,e,i,n,o,a,r,s,l,u,h){for(var c=0,d=i,f=0;f=o||d<0)break;if(Ru(p)){if(h){d+=a;continue}break}if(d===i)t[a>0?"moveTo":"lineTo"](p[0],p[1]),_D(bD,p);else if(l>0){var g=d+a,m=e[g];if(h)for(;m&&Ru(e[g]);)m=e[g+=a];var v=.5,y=e[c];if(!(m=e[g])||Ru(m))_D(SD,p);else{Ru(m)&&!h&&(m=p),U(wD,m,y);var x,_;if("x"===u||"y"===u){var w="x"===u?0:1;x=Math.abs(p[w]-y[w]),_=Math.abs(p[w]-m[w])}else x=uw(p,y),_=uw(p,m);xD(SD,p,wD,-l*(1-(v=_/(_+x))))}vD(bD,bD,s),yD(bD,bD,r),vD(SD,SD,s),yD(SD,SD,r),t.bezierCurveTo(bD[0],bD[1],SD[0],SD[1],p[0],p[1]),xD(bD,p,wD,l*v)}else t.lineTo(p[0],p[1]);c=d,d+=a}return f}function Gu(t,e){var i=[1/0,1/0],n=[-1/0,-1/0];if(e)for(var o=0;on[0]&&(n[0]=a[0]),a[1]>n[1]&&(n[1]=a[1])}return{min:e?i:n,max:e?n:i}}function Fu(t,e){if(t.length===e.length){for(var i=0;ie[0]?1:-1;e[0]+=n*i,e[1]-=n*i}return e}function Zu(t,e,i){if(!i.valueDim)return[];for(var n=[],o=0,a=e.count();oa[1]&&a.reverse();var r=o.getExtent(),s=Math.PI/180;i&&(a[0]-=.5,a[1]+=.5);var l=new hM({shape:{cx:Go(t.cx,1),cy:Go(t.cy,1),r0:Go(a[0],1),r:Go(a[1],1),startAngle:-r[0]*s,endAngle:-r[1]*s,clockwise:o.inverse}});return e&&(l.shape.endAngle=-r[0]*s,To(l,{shape:{endAngle:-r[1]*s}},n)),l}function ju(t,e,i,n){return"polar"===t.type?Xu(t,e,i,n):Uu(t,e,i,n)}function Yu(t,e,i){for(var n=e.getBaseAxis(),o="x"===n.dim||"radius"===n.dim?0:1,a=[],r=0;r