diff --git a/dist/v-distpicker.esm.js b/dist/v-distpicker.esm.js new file mode 100644 index 0000000..fefac34 --- /dev/null +++ b/dist/v-distpicker.esm.js @@ -0,0 +1,6 @@ +/*! + * v-distpicker v2.0.8 + * (c) 2017-2022 jcc + * Released under the MIT License. + */ +import{ref as e,reactive as r,onBeforeMount as t,watch as n,openBlock as o,createElementBlock as i,normalizeClass as a,Fragment as u,createElementVNode as c,withDirectives as l,toDisplayString as s,renderList as f,vModelSelect as p,createCommentVNode as v}from"vue";var d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function y(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var h={exports:{}},b={exports:{}},g=function(e){return e&&e.Math==Math&&e},m=g("object"==typeof globalThis&&globalThis)||g("object"==typeof window&&window)||g("object"==typeof self&&self)||g("object"==typeof d&&d)||function(){return this}()||Function("return this")(),w=function(e){try{return!!e()}catch(e){return!0}},S=!w((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),O=S,k=Function.prototype,x=k.apply,j=k.call,A="object"==typeof Reflect&&Reflect.apply||(O?j.bind(x):function(){return j.apply(x,arguments)}),P=S,C=Function.prototype,T=C.bind,E=C.call,L=P&&T.bind(E,E),F=P?function(e){return e&&L(e)}:function(e){return e&&function(){return E.apply(e,arguments)}},I=function(e){return"function"==typeof e},_={},M=!w((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),D=S,N=Function.prototype.call,R=D?N.bind(N):function(){return N.apply(N,arguments)},G={},B={}.propertyIsEnumerable,V=Object.getOwnPropertyDescriptor,z=V&&!B.call({1:2},1);G.f=z?function(e){var r=V(this,e);return!!r&&r.enumerable}:B;var U,H,W=function(e,r){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:r}},J=F,Y=J({}.toString),$=J("".slice),q=function(e){return $(Y(e),8,-1)},X=w,K=q,Q=Object,Z=F("".split),ee=X((function(){return!Q("z").propertyIsEnumerable(0)}))?function(e){return"String"==K(e)?Z(e,""):Q(e)}:Q,re=TypeError,te=function(e){if(null==e)throw re("Can't call method on "+e);return e},ne=ee,oe=te,ie=function(e){return ne(oe(e))},ae=I,ue=function(e){return"object"==typeof e?null!==e:ae(e)},ce={},le=ce,se=m,fe=I,pe=function(e){return fe(e)?e:void 0},ve=function(e,r){return arguments.length<2?pe(le[e])||pe(se[e]):le[e]&&le[e][r]||se[e]&&se[e][r]},de=F({}.isPrototypeOf),ye=m,he=ve("navigator","userAgent")||"",be=ye.process,ge=ye.Deno,me=be&&be.versions||ge&&ge.version,we=me&&me.v8;we&&(H=(U=we.split("."))[0]>0&&U[0]<4?1:+(U[0]+U[1])),!H&&he&&(!(U=he.match(/Edge\/(\d+)/))||U[1]>=74)&&(U=he.match(/Chrome\/(\d+)/))&&(H=+U[1]);var Se=H,Oe=Se,ke=w,xe=!!Object.getOwnPropertySymbols&&!ke((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Oe&&Oe<41})),je=xe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ae=ve,Pe=I,Ce=de,Te=Object,Ee=je?function(e){return"symbol"==typeof e}:function(e){var r=Ae("Symbol");return Pe(r)&&Ce(r.prototype,Te(e))},Le=String,Fe=function(e){try{return Le(e)}catch(e){return"Object"}},Ie=I,_e=Fe,Me=TypeError,De=function(e){if(Ie(e))return e;throw Me(_e(e)+" is not a function")},Ne=De,Re=function(e,r){var t=e[r];return null==t?void 0:Ne(t)},Ge=R,Be=I,Ve=ue,ze=TypeError,Ue={exports:{}},He=m,We=Object.defineProperty,Je=function(e,r){try{We(He,e,{value:r,configurable:!0,writable:!0})}catch(t){He[e]=r}return r},Ye=m["__core-js_shared__"]||Je("__core-js_shared__",{}),$e=Ye;(Ue.exports=function(e,r){return $e[e]||($e[e]=void 0!==r?r:{})})("versions",[]).push({version:"3.24.1",mode:"pure",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"});var qe=te,Xe=Object,Ke=function(e){return Xe(qe(e))},Qe=Ke,Ze=F({}.hasOwnProperty),er=Object.hasOwn||function(e,r){return Ze(Qe(e),r)},rr=F,tr=0,nr=Math.random(),or=rr(1..toString),ir=function(e){return"Symbol("+(void 0===e?"":e)+")_"+or(++tr+nr,36)},ar=m,ur=Ue.exports,cr=er,lr=ir,sr=xe,fr=je,pr=ur("wks"),vr=ar.Symbol,dr=vr&&vr.for,yr=fr?vr:vr&&vr.withoutSetter||lr,hr=function(e){if(!cr(pr,e)||!sr&&"string"!=typeof pr[e]){var r="Symbol."+e;sr&&cr(vr,e)?pr[e]=vr[e]:pr[e]=fr&&dr?dr(r):yr(r)}return pr[e]},br=R,gr=ue,mr=Ee,wr=Re,Sr=function(e,r){var t,n;if("string"===r&&Be(t=e.toString)&&!Ve(n=Ge(t,e)))return n;if(Be(t=e.valueOf)&&!Ve(n=Ge(t,e)))return n;if("string"!==r&&Be(t=e.toString)&&!Ve(n=Ge(t,e)))return n;throw ze("Can't convert object to primitive value")},Or=TypeError,kr=hr("toPrimitive"),xr=function(e,r){if(!gr(e)||mr(e))return e;var t,n=wr(e,kr);if(n){if(void 0===r&&(r="default"),t=br(n,e,r),!gr(t)||mr(t))return t;throw Or("Can't convert object to primitive value")}return void 0===r&&(r="number"),Sr(e,r)},jr=Ee,Ar=function(e){var r=xr(e,"string");return jr(r)?r:r+""},Pr=ue,Cr=m.document,Tr=Pr(Cr)&&Pr(Cr.createElement),Er=function(e){return Tr?Cr.createElement(e):{}},Lr=Er,Fr=!M&&!w((function(){return 7!=Object.defineProperty(Lr("div"),"a",{get:function(){return 7}}).a})),Ir=M,_r=R,Mr=G,Dr=W,Nr=ie,Rr=Ar,Gr=er,Br=Fr,Vr=Object.getOwnPropertyDescriptor;_.f=Ir?Vr:function(e,r){if(e=Nr(e),r=Rr(r),Br)try{return Vr(e,r)}catch(e){}if(Gr(e,r))return Dr(!_r(Mr.f,e,r),e[r])};var zr=w,Ur=I,Hr=/#|\.prototype\./,Wr=function(e,r){var t=Yr[Jr(e)];return t==qr||t!=$r&&(Ur(r)?zr(r):!!r)},Jr=Wr.normalize=function(e){return String(e).replace(Hr,".").toLowerCase()},Yr=Wr.data={},$r=Wr.NATIVE="N",qr=Wr.POLYFILL="P",Xr=Wr,Kr=De,Qr=S,Zr=F(F.bind),et=function(e,r){return Kr(e),void 0===r?e:Qr?Zr(e,r):function(){return e.apply(r,arguments)}},rt={},tt=M&&w((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),nt=ue,ot=String,it=TypeError,at=function(e){if(nt(e))return e;throw it(ot(e)+" is not an object")},ut=M,ct=Fr,lt=tt,st=at,ft=Ar,pt=TypeError,vt=Object.defineProperty,dt=Object.getOwnPropertyDescriptor;rt.f=ut?lt?function(e,r,t){if(st(e),r=ft(r),st(t),"function"==typeof e&&"prototype"===r&&"value"in t&&"writable"in t&&!t.writable){var n=dt(e,r);n&&n.writable&&(e[r]=t.value,t={configurable:"configurable"in t?t.configurable:n.configurable,enumerable:"enumerable"in t?t.enumerable:n.enumerable,writable:!1})}return vt(e,r,t)}:vt:function(e,r,t){if(st(e),r=ft(r),st(t),ct)try{return vt(e,r,t)}catch(e){}if("get"in t||"set"in t)throw pt("Accessors not supported");return"value"in t&&(e[r]=t.value),e};var yt=rt,ht=W,bt=M?function(e,r,t){return yt.f(e,r,ht(1,t))}:function(e,r,t){return e[r]=t,e},gt=m,mt=A,wt=F,St=I,Ot=_.f,kt=Xr,xt=ce,jt=et,At=bt,Pt=er,Ct=function(e){var r=function(t,n,o){if(this instanceof r){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,o)}return mt(e,this,arguments)};return r.prototype=e.prototype,r},Tt=function(e,r){var t,n,o,i,a,u,c,l,s=e.target,f=e.global,p=e.stat,v=e.proto,d=f?gt:p?gt[s]:(gt[s]||{}).prototype,y=f?xt:xt[s]||At(xt,s,{})[s],h=y.prototype;for(o in r)t=!kt(f?o:s+(p?".":"#")+o,e.forced)&&d&&Pt(d,o),a=y[o],t&&(u=e.dontCallGetSet?(l=Ot(d,o))&&l.value:d[o]),i=t&&u?u:r[o],t&&typeof a==typeof i||(c=e.bind&&t?jt(i,gt):e.wrap&&t?Ct(i):v&&St(i)?wt(i):i,(e.sham||i&&i.sham||a&&a.sham)&&At(c,"sham",!0),At(y,o,c),v&&(Pt(xt,n=s+"Prototype")||At(xt,n,{}),At(xt[n],o,i),e.real&&h&&!h[o]&&At(h,o,i)))},Et=Math.ceil,Lt=Math.floor,Ft=Math.trunc||function(e){var r=+e;return(r>0?Lt:Et)(r)},It=function(e){var r=+e;return r!=r||0===r?0:Ft(r)},_t=It,Mt=Math.max,Dt=Math.min,Nt=function(e,r){var t=_t(e);return t<0?Mt(t+r,0):Dt(t,r)},Rt=It,Gt=Math.min,Bt=function(e){return e>0?Gt(Rt(e),9007199254740991):0},Vt=function(e){return Bt(e.length)},zt=ie,Ut=Nt,Ht=Vt,Wt=function(e){return function(r,t,n){var o,i=zt(r),a=Ht(i),u=Ut(n,a);if(e&&t!=t){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===t)return e||u||0;return!e&&-1}},Jt={includes:Wt(!0),indexOf:Wt(!1)},Yt={},$t=er,qt=ie,Xt=Jt.indexOf,Kt=Yt,Qt=F([].push),Zt=function(e,r){var t,n=qt(e),o=0,i=[];for(t in n)!$t(Kt,t)&&$t(n,t)&&Qt(i,t);for(;r.length>o;)$t(n,t=r[o++])&&(~Xt(i,t)||Qt(i,t));return i},en=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],rn=Zt,tn=en,nn=Object.keys||function(e){return rn(e,tn)},on=M,an=F,un=nn,cn=ie,ln=an(G.f),sn=an([].push),fn=function(e){return function(r){for(var t,n=cn(r),o=un(n),i=o.length,a=0,u=[];i>a;)t=o[a++],on&&!ln(n,t)||sn(u,e?[t,n[t]]:n[t]);return u}},pn={entries:fn(!0),values:fn(!1)}.values;Tt({target:"Object",stat:!0},{values:function(e){return pn(e)}});var vn=ce.Object.values,dn=y(h.exports=b.exports=vn),yn={exports:{}},hn={exports:{}},bn=q,gn=Array.isArray||function(e){return"Array"==bn(e)},mn={};mn[hr("toStringTag")]="z";var wn="[object z]"===String(mn),Sn=wn,On=I,kn=q,xn=hr("toStringTag"),jn=Object,An="Arguments"==kn(function(){return arguments}()),Pn=Sn?kn:function(e){var r,t,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,r){try{return e[r]}catch(e){}}(r=jn(e),xn))?t:An?kn(r):"Object"==(n=kn(r))&&On(r.callee)?"Arguments":n},Cn=I,Tn=Ye,En=F(Function.toString);Cn(Tn.inspectSource)||(Tn.inspectSource=function(e){return En(e)});var Ln=Tn.inspectSource,Fn=F,In=w,_n=I,Mn=Pn,Dn=Ln,Nn=function(){},Rn=[],Gn=ve("Reflect","construct"),Bn=/^\s*(?:class|function)\b/,Vn=Fn(Bn.exec),zn=!Bn.exec(Nn),Un=function(e){if(!_n(e))return!1;try{return Gn(Nn,Rn,e),!0}catch(e){return!1}},Hn=function(e){if(!_n(e))return!1;switch(Mn(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return zn||!!Vn(Bn,Dn(e))}catch(e){return!0}};Hn.sham=!0;var Wn=!Gn||In((function(){var e;return Un(Un.call)||!Un(Object)||!Un((function(){e=!0}))||e}))?Hn:Un,Jn=Ar,Yn=rt,$n=W,qn=function(e,r,t){var n=Jn(r);n in e?Yn.f(e,n,$n(0,t)):e[n]=t},Xn=w,Kn=Se,Qn=hr("species"),Zn=function(e){return Kn>=51||!Xn((function(){var r=[];return(r.constructor={})[Qn]=function(){return{foo:1}},1!==r[e](Boolean).foo}))},eo=F([].slice),ro=Tt,to=gn,no=Wn,oo=ue,io=Nt,ao=Vt,uo=ie,co=qn,lo=hr,so=eo,fo=Zn("slice"),po=lo("species"),vo=Array,yo=Math.max;ro({target:"Array",proto:!0,forced:!fo},{slice:function(e,r){var t,n,o,i=uo(this),a=ao(i),u=io(e,a),c=io(void 0===r?a:r,a);if(to(i)&&(t=i.constructor,(no(t)&&(t===vo||to(t.prototype))||oo(t)&&null===(t=t[po]))&&(t=void 0),t===vo||void 0===t))return so(i,u,c);for(n=new(void 0===t?vo:t)(yo(c-u,0)),o=0;u=u?e?"":void 0:(n=Mo(i,a))<55296||n>56319||a+1===u||(o=Mo(i,a+1))<56320||o>57343?e?_o(i,a):n:e?Do(i,a,a+2):o-56320+(n-55296<<10)+65536}},Ro={codeAt:No(!1),charAt:No(!0)},Go=I,Bo=Ln,Vo=m.WeakMap,zo=Go(Vo)&&/native code/.test(Bo(Vo)),Uo=Ue.exports,Ho=ir,Wo=Uo("keys"),Jo=function(e){return Wo[e]||(Wo[e]=Ho(e))},Yo=zo,$o=m,qo=F,Xo=ue,Ko=bt,Qo=er,Zo=Ye,ei=Jo,ri=Yt,ti=$o.TypeError,ni=$o.WeakMap;if(Yo||Zo.state){var oi=Zo.state||(Zo.state=new ni),ii=qo(oi.get),ai=qo(oi.has),ui=qo(oi.set);ho=function(e,r){if(ai(oi,e))throw new ti("Object already initialized");return r.facade=e,ui(oi,e,r),r},bo=function(e){return ii(oi,e)||{}},go=function(e){return ai(oi,e)}}else{var ci=ei("state");ri[ci]=!0,ho=function(e,r){if(Qo(e,ci))throw new ti("Object already initialized");return r.facade=e,Ko(e,ci,r),r},bo=function(e){return Qo(e,ci)?e[ci]:{}},go=function(e){return Qo(e,ci)}}var li={set:ho,get:bo,has:go,enforce:function(e){return go(e)?bo(e):ho(e,{})},getterFor:function(e){return function(r){var t;if(!Xo(r)||(t=bo(r)).type!==e)throw ti("Incompatible receiver, "+e+" required");return t}}},si=M,fi=er,pi=Function.prototype,vi=si&&Object.getOwnPropertyDescriptor,di=fi(pi,"name"),yi={EXISTS:di,PROPER:di&&"something"===function(){}.name,CONFIGURABLE:di&&(!si||si&&vi(pi,"name").configurable)},hi={},bi=M,gi=tt,mi=rt,wi=at,Si=ie,Oi=nn;hi.f=bi&&!gi?Object.defineProperties:function(e,r){wi(e);for(var t,n=Si(r),o=Oi(r),i=o.length,a=0;i>a;)mi.f(e,t=o[a++],n[t]);return e};var ki,xi=ve("document","documentElement"),ji=at,Ai=hi,Pi=en,Ci=Yt,Ti=xi,Ei=Er,Li=Jo("IE_PROTO"),Fi=function(){},Ii=function(e){return"