<<<<<<<< HEAD:dist/assets/index-legacy-651bac37.js
System.register(["./index-legacy-dacf2886.js","./index-legacy-ea7ac980.js"],(function(e,t){"use strict";var a,n,r,l,u,o,m,c,s,i,d,D,f,y,g,h,p;return{setters:[e=>{a=e.ai,n=e.ah,r=e.bJ,l=e.a5,u=e.c,o=e.bK,m=e.d,c=e.r,s=e.e,i=e.w,d=e.bG,D=e.a,f=e.h,y=e.ak,g=e.k},e=>{h=e.p,p=e.P}],execute:function(){const t=a({},h,{modelValue:n(),filter:Function,formatter:{type:Function,default:(e,t)=>t}}),v=Object.keys(h),x=(e,t,a,n,l,u)=>{const o=function(e,t){if(e<0)return[];const a=Array(e);let n=-1;for(;++n<e;)a[n]=t(n);return a}(t-e+1,(t=>{const l=r(e+t);return n(a,{text:l,value:l})}));return l?l(a,o,u):o},V=(new Date).getFullYear(),[w]=u("date-picker"),F=a({},t,{columnsType:{type:Array,default:()=>["year","month","day"]},minDate:{type:Date,default:()=>new Date(V-10,0,1),validator:o},maxDate:{type:Date,default:()=>new Date(V+10,11,31),validator:o}});var Y=m({name:w,props:F,emits:["confirm","cancel","change","update:modelValue"],setup(e,{emit:t,slots:a}){const n=c(e.modelValue),u=c(!1),o=t=>t===e.minDate.getFullYear(),m=t=>t===e.maxDate.getFullYear(),g=t=>{const{minDate:a,columnsType:r}=e,l=r.indexOf(t),o=u.value?e.modelValue[l]:n.value[l];if(o)return+o;switch(t){case"year":return a.getFullYear();case"month":return a.getMonth()+1;case"day":return a.getDate()}},h=()=>{const t=g("year"),a=g("month"),n=o(t)&&(t=>t===e.minDate.getMonth()+1)(a)?e.minDate.getDate():1,r=m(t)&&(t=>t===e.maxDate.getMonth()+1)(a)?e.maxDate.getDate():((e,t)=>32-new Date(e,t-1,32).getDate())(t,a);return x(n,r,"day",e.formatter,e.filter)},V=s((()=>e.columnsType.map((t=>{switch(t){case"year":return(()=>{const t=e.minDate.getFullYear(),a=e.maxDate.getFullYear();return x(t,a,"year",e.formatter,e.filter)})();case"month":return(()=>{const t=g("year"),a=o(t)?e.minDate.getMonth()+1:1,n=m(t)?e.maxDate.getMonth()+1:12;return x(a,n,"month",e.formatter,e.filter)})();case"day":return h();default:throw new Error(`[Vant] DatePicker: unsupported columns type: ${t}`)}}))));i(n,(a=>{d(a,e.modelValue)||t("update:modelValue",a)})),i((()=>e.modelValue),((e,t)=>{u.value=d(t,n.value),e=((e,t)=>e.map(((e,a)=>{const n=t[a];if(n.length){const t=+n[0].value,a=+n[n.length-1].value;return r(l(+e,t,a))}return e})))(e,V.value),d(e,n.value)||(n.value=e),u.value=!1}),{immediate:!0});const w=(...e)=>t("change",...e),F=(...e)=>t("cancel",...e),Y=(...e)=>t("confirm",...e);return()=>D(p,f({modelValue:n.value,"onUpdate:modelValue":e=>n.value=e,columns:V.value,onChange:w,onCancel:F,onConfirm:Y},y(e,v)),a)}});e("D",g(Y))}}}));
========
System.register(["./index-legacy-cc1c21a0.js","./index-legacy-a2432559.js"],(function(e,t){"use strict";var a,n,r,l,u,o,m,c,s,i,d,D,f,y,g,h,p;return{setters:[e=>{a=e.ai,n=e.ah,r=e.bJ,l=e.a5,u=e.c,o=e.bK,m=e.d,c=e.r,s=e.e,i=e.w,d=e.bG,D=e.a,f=e.h,y=e.ak,g=e.k},e=>{h=e.p,p=e.P}],execute:function(){const t=a({},h,{modelValue:n(),filter:Function,formatter:{type:Function,default:(e,t)=>t}}),v=Object.keys(h),x=(e,t,a,n,l,u)=>{const o=function(e,t){if(e<0)return[];const a=Array(e);let n=-1;for(;++n<e;)a[n]=t(n);return a}(t-e+1,(t=>{const l=r(e+t);return n(a,{text:l,value:l})}));return l?l(a,o,u):o},V=(new Date).getFullYear(),[w]=u("date-picker"),F=a({},t,{columnsType:{type:Array,default:()=>["year","month","day"]},minDate:{type:Date,default:()=>new Date(V-10,0,1),validator:o},maxDate:{type:Date,default:()=>new Date(V+10,11,31),validator:o}});var Y=m({name:w,props:F,emits:["confirm","cancel","change","update:modelValue"],setup(e,{emit:t,slots:a}){const n=c(e.modelValue),u=c(!1),o=t=>t===e.minDate.getFullYear(),m=t=>t===e.maxDate.getFullYear(),g=t=>{const{minDate:a,columnsType:r}=e,l=r.indexOf(t),o=u.value?e.modelValue[l]:n.value[l];if(o)return+o;switch(t){case"year":return a.getFullYear();case"month":return a.getMonth()+1;case"day":return a.getDate()}},h=()=>{const t=g("year"),a=g("month"),n=o(t)&&(t=>t===e.minDate.getMonth()+1)(a)?e.minDate.getDate():1,r=m(t)&&(t=>t===e.maxDate.getMonth()+1)(a)?e.maxDate.getDate():((e,t)=>32-new Date(e,t-1,32).getDate())(t,a);return x(n,r,"day",e.formatter,e.filter)},V=s((()=>e.columnsType.map((t=>{switch(t){case"year":return(()=>{const t=e.minDate.getFullYear(),a=e.maxDate.getFullYear();return x(t,a,"year",e.formatter,e.filter)})();case"month":return(()=>{const t=g("year"),a=o(t)?e.minDate.getMonth()+1:1,n=m(t)?e.maxDate.getMonth()+1:12;return x(a,n,"month",e.formatter,e.filter)})();case"day":return h();default:throw new Error(`[Vant] DatePicker: unsupported columns type: ${t}`)}}))));i(n,(a=>{d(a,e.modelValue)||t("update:modelValue",a)})),i((()=>e.modelValue),((e,t)=>{u.value=d(t,n.value),e=((e,t)=>e.map(((e,a)=>{const n=t[a];if(n.length){const t=+n[0].value,a=+n[n.length-1].value;return r(l(+e,t,a))}return e})))(e,V.value),d(e,n.value)||(n.value=e),u.value=!1}),{immediate:!0});const w=(...e)=>t("change",...e),F=(...e)=>t("cancel",...e),Y=(...e)=>t("confirm",...e);return()=>D(p,f({modelValue:n.value,"onUpdate:modelValue":e=>n.value=e,columns:V.value,onChange:w,onCancel:F,onConfirm:Y},y(e,v)),a)}});e("D",g(Y))}}}));
>>>>>>>> 0f2588f61580675e1c866dc0769d4ceb917efcec:dist/assets/index-legacy-c15992a2.js
