deep-clone-e8b26cc5.js 28 KB

12345
  1. <<<<<<<< HEAD:dist/assets/deep-clone-e8b26cc5.js
  2. import{j as g,d as h,ac as V,w,ad as A,g as t,t as C,x as z,D as v,ae as F,p as G,m as M,M as k,f as S,aa as m,a4 as U,af as K,I as r,F as n}from"./index-6ef77773.js";import{c as I,s as B}from"./index-d74619c8.js";import{a as E,g as R,o as Y,s,i as c,U as f}from"./index-9f728215.js";import{I as p}from"./index-6cce5316.js";const[b,x]=g("radio-group"),D={disabled:Boolean,iconSize:C,direction:String,modelValue:z,checkedColor:String},y=Symbol(b);var T=h({name:b,props:D,emits:["change","update:modelValue"],setup(e,{emit:a,slots:l}){const{linkChildren:o}=V(y),i=d=>a("update:modelValue",d);return w(()=>e.modelValue,d=>a("change",d)),o({props:e,updateValue:i}),A(()=>e.modelValue),()=>{var d;return t("div",{class:x([e.direction]),role:"radiogroup"},[(d=l.default)==null?void 0:d.call(l)])}}});const P=v(T),[L,J]=g("radio");var N=h({name:L,props:I,emits:["update:modelValue"],setup(e,{emit:a,slots:l}){const{parent:o}=F(y),i=()=>(o?o.props.modelValue:e.modelValue)===e.name,d=()=>{o?o.updateValue(e.name):a("update:modelValue",e.name)};return()=>t(B,M({bem:J,role:"radio",parent:o,checked:i(),onToggle:d},e),G(l,["default","icon"]))}});const O=v(N),Z=h({name:"col-upload",props:{modelValue:{type:Array,default:()=>[]},deletable:{type:Boolean,default:!0},maxCount:{type:Number,default:1},native:{type:Boolean,default:!1},uploadSize:{type:Number,default:5},uploadType:{type:String,default:"IMAGE"},accept:{type:String,default:"image/*"},bucket:{type:String,default:"gyt"},path:{type:String,default:""},uploadIcon:{type:String,default:E},size:{type:String,default:"default"},disabled:{type:Boolean,default:!1},position:{type:String,default:"outside"}},emits:["uploadChange","update:modelValue"],methods:{nativeUpload(){if(this.disabled)return;const e=this.uploadType==="VIDEO"?"video":"img";let a=1;this.maxCount>1?a=this.maxCount-this.modelValue.length:a=this.maxCount,k({api:"chooseFile",content:{type:e,max:a,bucket:this.bucket,path:this.path}},l=>{if(console.log(l,"fileUrl"),this.maxCount>1){const o=l.fileUrl;console.log(o,"files"),this.$emit("update:modelValue",[...this.modelValue,...o.split(",")]),this.$emit("uploadChange",[...this.modelValue,...o.split(",")])}else this.$emit("update:modelValue",[l.fileUrl]),this.$emit("uploadChange",[l.fileUrl])})},beforeRead(e){return console.log(e,"beforeRead"),e.size/1024/1024<this.uploadSize?!0:(S(`上传文件大小不能超过 ${this.uploadSize}MB`),!1)},beforeDelete(){return!0},async afterRead(e){try{e.status="uploading",e.message="上传中...",await this.uploadFile(e.file)}catch(a){m()}},onClose(e,a){const l=this.modelValue,o=l.findIndex(i=>i==a);o>-1&&(l.splice(o,1),this.$emit("update:modelValue",l),this.$emit("uploadChange")),e.stopPropagation()},async getFile(e){try{await this.uploadFile(e)}catch(a){}},async uploadFile(e){try{const a=e.name||"",l=this.path?this.path+"/"+(a&&a.replace(/ /gi,"_")):a&&a.replace(/ /gi,"_"),o=new Date().getTime()+l;console.log(e);const{data:i}=await R({filename:o,bucketName:this.bucket,postData:{filename:o,acl:"public-read",key:o,unknowValueField:[]}});U({message:"加载中...",forbidClick:!0,loadingType:"spinner",duration:0});const d={policy:i.policy,signature:i.signature,key:o,KSSAccessKeyId:i.kssAccessKeyId,acl:"public-read",name:o,file:e},u=await Y(K(this.bucket),d);m(),this.maxCount>1?(this.$emit("update:modelValue",[...this.modelValue,u]),this.$emit("uploadChange",[...this.modelValue,u])):(this.$emit("update:modelValue",[u]),this.$emit("uploadChange",[u]))}catch(a){console.log(a,"uploadFile")}}},render(){return A(()=>this.modelValue),t(n,null,[this.modelValue.length>0&&this.maxCount>1&&this.modelValue.map(e=>t("div",{class:["van-uploader",s.uploader,s[this.size]]},[this.deletable&&!this.disabled&&t(r,{name:"cross",onClick:a=>this.onClose(a,e),class:s["img-close"]},null),t("div",{class:["van-uploader__upload"]},[this.uploadType==="IMAGE"?t(p,{src:e,class:s.previewImg,fit:"cover"},null):t("video",{ref:"videoUpload",style:{backgroundColor:"#F8F8F8"},class:s.previewImg,poster:c,src:e+"#t=1,4"},null)])])),this.native?this.maxCount>1?this.modelValue.length<this.maxCount&&t("div",{class:["van-uploader",s.uploader,s[this.size]],onClick:this.nativeUpload},[t(r,{name:this.uploadIcon,class:["van-uploader__upload"],size:"32"},null)]):t("div",{class:["van-uploader",s.uploader,s[this.size]],onClick:this.nativeUpload},[this.modelValue.length>0?t("div",{class:["van-uploader__upload"]},[this.modelValue.map(e=>t(n,null,[this.deletable&&!this.disabled&&t(r,{name:"cross",onClick:a=>this.onClose(a,e),class:[s["img-close"],s.singleImgClose]},null),this.uploadType==="IMAGE"?t(p,{fit:"cover",position:"center",class:s.uploadImg,src:e},null):t("video",{ref:"videoUpload",class:s.uploadImg,poster:c,style:{backgroundColor:"#F8F8F8"},src:e+"#t=1,4"},null)]))]):t(r,{name:this.uploadIcon,class:["van-uploader__upload"],size:"32"},null)]):this.maxCount>1?this.modelValue.length<this.maxCount&&t(f,{class:["van-uploader",s.uploader,s[this.size]],afterRead:this.afterRead,beforeRead:this.beforeRead,beforeDelete:this.beforeDelete,uploadIcon:this.uploadIcon,maxCount:this.maxCount,disabled:this.disabled,accept:this.accept},null):t(f,{class:["van-uploader",s.uploader,s[this.size]],afterRead:this.afterRead,beforeRead:this.beforeRead,beforeDelete:this.beforeDelete,uploadIcon:this.uploadIcon,accept:this.accept,disabled:this.disabled},{default:()=>[this.modelValue.length>0?t("div",{class:["van-uploader__upload"]},[this.modelValue.map(e=>t(n,null,[this.deletable&&!this.disabled&&t(r,{name:"cross",onClick:a=>this.onClose(a,e),class:[s["img-close"],s.singleImgClose]},null),this.uploadType==="IMAGE"?t(p,{fit:"cover",position:"center",class:s.uploadImg,src:e},null):t("video",{ref:"videoUpload",class:s.uploadImg,poster:c,style:{backgroundColor:"#F8F8F8"},src:e+"#t=1,4"},null)]))]):t(r,{name:this.uploadIcon,class:["van-uploader__upload"],size:"32"},null)]}),this.$slots.default&&this.$slots.default()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C2Eaaov7oRhpEbTrWUHmWTTL0d7ZB1+0lkYG2d27Hxv+8Uwj1sUwcpKwX/PyvlXVQXJa1nBrydJyCW86l96X4mH7D/sl2G9J5WHfD72sA+H/8P+Gdhf/6eAd3c/7EEneDw8ffJsiwes/OzJh0ecFVBIz5+8ekTY4UUwve8bPBxNll5GU/tWDg9GE+/iSYdfvpDKh2TmY7eUNAEKZz7+vcmT21ebELlNHDSIN4Er6vXzZ08lSQqXtqSkMnAzV7SSvjggSEoDctNNK7iebvpmrujJzVzRSSJUSnFP3799FZq+ALpB0n4bf71dAAAAAElFTkSuQmCC",W=e=>{if(e===null)return null;const a=Object.assign({},e);return Object.keys(a).forEach(l=>a[l]=typeof e[l]=="object"?W(e[l]):e[l]),Array.isArray(e)?(a.length=e.length,Array.from(a)):a};export{Z as M,P as R,O as a,_ as b,W as d,Q as i};
  3. ========
  4. import{j as g,d as h,ac as V,w,ad as A,g as t,t as C,x as z,D as v,ae as F,p as G,m as M,M as k,f as S,aa as m,a4 as U,af as K,I as r,F as n}from"./index-dbd58bee.js";import{c as I,s as B}from"./index-360635aa.js";import{a as E,g as R,o as Y,s,i as c,U as f}from"./index-1d340b32.js";import{I as p}from"./index-56f13818.js";const[b,x]=g("radio-group"),D={disabled:Boolean,iconSize:C,direction:String,modelValue:z,checkedColor:String},y=Symbol(b);var T=h({name:b,props:D,emits:["change","update:modelValue"],setup(e,{emit:a,slots:l}){const{linkChildren:o}=V(y),i=d=>a("update:modelValue",d);return w(()=>e.modelValue,d=>a("change",d)),o({props:e,updateValue:i}),A(()=>e.modelValue),()=>{var d;return t("div",{class:x([e.direction]),role:"radiogroup"},[(d=l.default)==null?void 0:d.call(l)])}}});const P=v(T),[L,J]=g("radio");var N=h({name:L,props:I,emits:["update:modelValue"],setup(e,{emit:a,slots:l}){const{parent:o}=F(y),i=()=>(o?o.props.modelValue:e.modelValue)===e.name,d=()=>{o?o.updateValue(e.name):a("update:modelValue",e.name)};return()=>t(B,M({bem:J,role:"radio",parent:o,checked:i(),onToggle:d},e),G(l,["default","icon"]))}});const O=v(N),Z=h({name:"col-upload",props:{modelValue:{type:Array,default:()=>[]},deletable:{type:Boolean,default:!0},maxCount:{type:Number,default:1},native:{type:Boolean,default:!1},uploadSize:{type:Number,default:5},uploadType:{type:String,default:"IMAGE"},accept:{type:String,default:"image/*"},bucket:{type:String,default:"gyt"},path:{type:String,default:""},uploadIcon:{type:String,default:E},size:{type:String,default:"default"},disabled:{type:Boolean,default:!1},position:{type:String,default:"outside"}},emits:["uploadChange","update:modelValue"],methods:{nativeUpload(){if(this.disabled)return;const e=this.uploadType==="VIDEO"?"video":"img";let a=1;this.maxCount>1?a=this.maxCount-this.modelValue.length:a=this.maxCount,k({api:"chooseFile",content:{type:e,max:a,bucket:this.bucket,path:this.path}},l=>{if(console.log(l,"fileUrl"),this.maxCount>1){const o=l.fileUrl;console.log(o,"files"),this.$emit("update:modelValue",[...this.modelValue,...o.split(",")]),this.$emit("uploadChange",[...this.modelValue,...o.split(",")])}else this.$emit("update:modelValue",[l.fileUrl]),this.$emit("uploadChange",[l.fileUrl])})},beforeRead(e){return console.log(e,"beforeRead"),e.size/1024/1024<this.uploadSize?!0:(S(`上传文件大小不能超过 ${this.uploadSize}MB`),!1)},beforeDelete(){return!0},async afterRead(e){try{e.status="uploading",e.message="上传中...",await this.uploadFile(e.file)}catch(a){m()}},onClose(e,a){const l=this.modelValue,o=l.findIndex(i=>i==a);o>-1&&(l.splice(o,1),this.$emit("update:modelValue",l),this.$emit("uploadChange")),e.stopPropagation()},async getFile(e){try{await this.uploadFile(e)}catch(a){}},async uploadFile(e){try{const a=e.name||"",l=this.path?this.path+"/"+(a&&a.replace(/ /gi,"_")):a&&a.replace(/ /gi,"_"),o=new Date().getTime()+l;console.log(e);const{data:i}=await R({filename:o,bucketName:this.bucket,postData:{filename:o,acl:"public-read",key:o,unknowValueField:[]}});U({message:"加载中...",forbidClick:!0,loadingType:"spinner",duration:0});const d={policy:i.policy,signature:i.signature,key:o,KSSAccessKeyId:i.kssAccessKeyId,acl:"public-read",name:o,file:e},u=await Y(K(this.bucket),d);m(),this.maxCount>1?(this.$emit("update:modelValue",[...this.modelValue,u]),this.$emit("uploadChange",[...this.modelValue,u])):(this.$emit("update:modelValue",[u]),this.$emit("uploadChange",[u]))}catch(a){console.log(a,"uploadFile")}}},render(){return A(()=>this.modelValue),t(n,null,[this.modelValue.length>0&&this.maxCount>1&&this.modelValue.map(e=>t("div",{class:["van-uploader",s.uploader,s[this.size]]},[this.deletable&&!this.disabled&&t(r,{name:"cross",onClick:a=>this.onClose(a,e),class:s["img-close"]},null),t("div",{class:["van-uploader__upload"]},[this.uploadType==="IMAGE"?t(p,{src:e,class:s.previewImg,fit:"cover"},null):t("video",{ref:"videoUpload",style:{backgroundColor:"#F8F8F8"},class:s.previewImg,poster:c,src:e+"#t=1,4"},null)])])),this.native?this.maxCount>1?this.modelValue.length<this.maxCount&&t("div",{class:["van-uploader",s.uploader,s[this.size]],onClick:this.nativeUpload},[t(r,{name:this.uploadIcon,class:["van-uploader__upload"],size:"32"},null)]):t("div",{class:["van-uploader",s.uploader,s[this.size]],onClick:this.nativeUpload},[this.modelValue.length>0?t("div",{class:["van-uploader__upload"]},[this.modelValue.map(e=>t(n,null,[this.deletable&&!this.disabled&&t(r,{name:"cross",onClick:a=>this.onClose(a,e),class:[s["img-close"],s.singleImgClose]},null),this.uploadType==="IMAGE"?t(p,{fit:"cover",position:"center",class:s.uploadImg,src:e},null):t("video",{ref:"videoUpload",class:s.uploadImg,poster:c,style:{backgroundColor:"#F8F8F8"},src:e+"#t=1,4"},null)]))]):t(r,{name:this.uploadIcon,class:["van-uploader__upload"],size:"32"},null)]):this.maxCount>1?this.modelValue.length<this.maxCount&&t(f,{class:["van-uploader",s.uploader,s[this.size]],afterRead:this.afterRead,beforeRead:this.beforeRead,beforeDelete:this.beforeDelete,uploadIcon:this.uploadIcon,maxCount:this.maxCount,disabled:this.disabled,accept:this.accept},null):t(f,{class:["van-uploader",s.uploader,s[this.size]],afterRead:this.afterRead,beforeRead:this.beforeRead,beforeDelete:this.beforeDelete,uploadIcon:this.uploadIcon,accept:this.accept,disabled:this.disabled},{default:()=>[this.modelValue.length>0?t("div",{class:["van-uploader__upload"]},[this.modelValue.map(e=>t(n,null,[this.deletable&&!this.disabled&&t(r,{name:"cross",onClick:a=>this.onClose(a,e),class:[s["img-close"],s.singleImgClose]},null),this.uploadType==="IMAGE"?t(p,{fit:"cover",position:"center",class:s.uploadImg,src:e},null):t("video",{ref:"videoUpload",class:s.uploadImg,poster:c,style:{backgroundColor:"#F8F8F8"},src:e+"#t=1,4"},null)]))]):t(r,{name:this.uploadIcon,class:["van-uploader__upload"],size:"32"},null)]}),this.$slots.default&&this.$slots.default()])}}),Q="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJgAAACYCAMAAAAvHNATAAABPlBMVEUAAADw8PDa2tr4+Pja2trZ2dn39/f6+vrZ2dn5+fn29vbZ2dnu7u7k5OTs7Ozc3Nz4+PiZmZnZ2dno6Og9PT329vbh4eGXl5fr6+v09PTk5OTBwcHu7u7y8vLNzc2cnJzV1dXx8fGnp6e6urrPz8+1tbXs7Oyvr6+fn5/FxcXw8PDS0tLc3Nze3t7JycmhoaHDw8OysrK4uLjHx8e+vr6pqamrq6tEREQ60cCxsbGtra3Ly8tB0sHn5+e8vLzm5uYly7zb29spzL00z7+kpKSjo6O3t7cvzb4dybpKSkpXV1dz3dBBQUFj2M1I1MMhyruSkpJycnJpaWlkZGRO1caMjIyHh4deXl5MTExr2s9SUlLw9vbb8u97e3tubm5c18tX1coayLnn9fOU5NqE4NZ/f3/M7uvG7um76+dLS0sG1X6ZAAAAEHRSTlMABvLPx8/KbGzyGxvHx2xstSOCNgAACgRJREFUeNrs2mlz0lAUxvFYdx31ITmhCYYRXOiUEmUcFVRqaVFbU2qhQKl0cd++/xfw3MqlUqoMN9DcGfm/O2/Cb24yOdNJDcM4c+ncjNltGdySnDIAknKIg4vLKQkgI4cl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+yKYtiO5vdhloubvj6Ya4yTGozrIk5MBlOfHFUbUWdKyOXwVAxTF/hmxX9r3aeXwYbloCUla6ZvS6XOYoUozSC5yd5bLKMrl9wrZ5fpVSHM5e6eS9KE3Qy2jqUSJnoVOLGCOMnrWdh+FIkrenpXYgroc1wIG3B/DwxD3U1hXATpAQxjVdGMoUCuVnTSt1rcWAgSZ5bSw+djIcyjfRdsz14KM6Sg6PwhG+sxK8hn1mgL2+BYS0Y0EUpcTAphPtt3wTocXw2lzWYgK/OrAbCG+jD3JsftUm0epw51G0WwEp07b3h93ULQ1DPUz7WdSvIzJiNStXFp0q+vdapLDVnuR5VBtQMKYU0O7oT14p+RoWqsR61mtU5bW6r6srPhWhKA9rm2OS8YQD9LJq4yS71tIC2Eaaov7oRhpEbTrWUHmWTTL0d7ZB1+0lkYG2d27Hxv+8Uwj1sUwcpKwX/PyvlXVQXJa1nBrydJyCW86l96X4mH7D/sl2G9J5WHfD72sA+H/8P+Gdhf/6eAd3c/7EEneDw8ffJsiwes/OzJh0ecFVBIz5+8ekTY4UUwve8bPBxNll5GU/tWDg9GE+/iSYdfvpDKh2TmY7eUNAEKZz7+vcmT21ebELlNHDSIN4Er6vXzZ08lSQqXtqSkMnAzV7SSvjggSEoDctNNK7iebvpmrujJzVzRSSJUSnFP3799FZq+ALpB0n4bf71dAAAAAElFTkSuQmCC",W=e=>{if(e===null)return null;const a=Object.assign({},e);return Object.keys(a).forEach(l=>a[l]=typeof e[l]=="object"?W(e[l]):e[l]),Array.isArray(e)?(a.length=e.length,Array.from(a)):a};export{Z as M,P as R,O as a,_ as b,W as d,Q as i};
  5. >>>>>>>> 87d4d1b1 (更新):dist/assets/deep-clone-efed013e.js