UNPKG

simple-chakra-ui-datepicker

Version:

This is a package inspired on the necesity to use a datepicker for [Chakra UI](https://v1.chakra-ui.com/faq#is-there-a-datepicker-in-chakra-ui).

28 lines (24 loc) 19.4 kB
(function(C,w){typeof exports=="object"&&typeof module<"u"?w(exports,require("react"),require("@chakra-ui/react"),require("@chakra-ui/icons")):typeof define=="function"&&define.amd?define(["exports","react","@chakra-ui/react","@chakra-ui/icons"],w):(C=typeof globalThis<"u"?globalThis:C||self,w(C["simple-chakra-ui-datepicker"]={},C.React,C["@chakra-ui/react"],C["@chakra-ui/icons"]))})(this,function(C,w,v,Ee){"use strict";var Re={exports:{}},re={};/** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Me;function nr(){if(Me)return re;Me=1;var l=w,s=Symbol.for("react.element"),m=Symbol.for("react.fragment"),E=Object.prototype.hasOwnProperty,R=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,_={key:!0,ref:!0,__self:!0,__source:!0};function O(j,d,y){var h,x={},Y=null,J=null;y!==void 0&&(Y=""+y),d.key!==void 0&&(Y=""+d.key),d.ref!==void 0&&(J=d.ref);for(h in d)E.call(d,h)&&!_.hasOwnProperty(h)&&(x[h]=d[h]);if(j&&j.defaultProps)for(h in d=j.defaultProps,d)x[h]===void 0&&(x[h]=d[h]);return{$$typeof:s,type:j,key:Y,ref:J,props:x,_owner:R.current}}return re.Fragment=m,re.jsx=O,re.jsxs=O,re}var ne={};/** * @license React * react-jsx-runtime.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var We;function tr(){return We||(We=1,process.env.NODE_ENV!=="production"&&function(){var l=w,s=Symbol.for("react.element"),m=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),R=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),j=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),Y=Symbol.for("react.lazy"),J=Symbol.for("react.offscreen"),fe=Symbol.iterator,xe="@@iterator";function Te(e){if(e===null||typeof e!="object")return null;var r=fe&&e[fe]||e[xe];return typeof r=="function"?r:null}var F=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function p(e){{for(var r=arguments.length,n=new Array(r>1?r-1:0),t=1;t<r;t++)n[t-1]=arguments[t];te("error",e,n)}}function te(e,r,n){{var t=F.ReactDebugCurrentFrame,c=t.getStackAddendum();c!==""&&(r+="%s",n=n.concat([c]));var f=n.map(function(u){return String(u)});f.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,f)}}var de=!1,Ce=!1,ve=!1,je=!1,G=!1,N;N=Symbol.for("react.module.reference");function pe(e){return!!(typeof e=="string"||typeof e=="function"||e===E||e===_||G||e===R||e===y||e===h||je||e===J||de||Ce||ve||typeof e=="object"&&e!==null&&(e.$$typeof===Y||e.$$typeof===x||e.$$typeof===O||e.$$typeof===j||e.$$typeof===d||e.$$typeof===N||e.getModuleId!==void 0))}function ae(e,r,n){var t=e.displayName;if(t)return t;var c=r.displayName||r.name||"";return c!==""?n+"("+c+")":n}function he(e){return e.displayName||"Context"}function k(e){if(e==null)return null;if(typeof e.tag=="number"&&p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case E:return"Fragment";case m:return"Portal";case _:return"Profiler";case R:return"StrictMode";case y:return"Suspense";case h:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var r=e;return he(r)+".Consumer";case O:var n=e;return he(n._context)+".Provider";case d:return ae(e,e.render,"ForwardRef");case x:var t=e.displayName||null;return t!==null?t:k(e.type)||"Memo";case Y:{var c=e,f=c._payload,u=c._init;try{return k(u(f))}catch{return null}}}return null}var A=Object.assign,U=0,$,M,ge,oe,I,H,W;function q(){}q.__reactDisabledLog=!0;function Se(){{if(U===0){$=console.log,M=console.info,ge=console.warn,oe=console.error,I=console.group,H=console.groupCollapsed,W=console.groupEnd;var e={configurable:!0,enumerable:!0,value:q,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}U++}}function we(){{if(U--,U===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:A({},e,{value:$}),info:A({},e,{value:M}),warn:A({},e,{value:ge}),error:A({},e,{value:oe}),group:A({},e,{value:I}),groupCollapsed:A({},e,{value:H}),groupEnd:A({},e,{value:W})})}U<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ie=F.ReactCurrentDispatcher,se;function K(e,r,n){{if(se===void 0)try{throw Error()}catch(c){var t=c.stack.trim().match(/\n( *(at )?)/);se=t&&t[1]||""}return` `+se+e}}var ue=!1,B;{var Pe=typeof WeakMap=="function"?WeakMap:Map;B=new Pe}function be(e,r){if(!e||ue)return"";{var n=B.get(e);if(n!==void 0)return n}var t;ue=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var f;f=ie.current,ie.current=null,Se();try{if(r){var u=function(){throw Error()};if(Object.defineProperty(u.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(u,[])}catch(V){t=V}Reflect.construct(e,[],u)}else{try{u.call()}catch(V){t=V}e.call(u.prototype)}}else{try{throw Error()}catch(V){t=V}e()}}catch(V){if(V&&t&&typeof V.stack=="string"){for(var o=V.stack.split(` `),T=t.stack.split(` `),g=o.length-1,b=T.length-1;g>=1&&b>=0&&o[g]!==T[b];)b--;for(;g>=1&&b>=0;g--,b--)if(o[g]!==T[b]){if(g!==1||b!==1)do if(g--,b--,b<0||o[g]!==T[b]){var S=` `+o[g].replace(" at new "," at ");return e.displayName&&S.includes("<anonymous>")&&(S=S.replace("<anonymous>",e.displayName)),typeof e=="function"&&B.set(e,S),S}while(g>=1&&b>=0);break}}}finally{ue=!1,ie.current=f,we(),Error.prepareStackTrace=c}var ee=e?e.displayName||e.name:"",rr=ee?K(ee):"";return typeof e=="function"&&B.set(e,rr),rr}function Oe(e,r,n){return be(e,!1)}function ke(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function X(e,r,n){if(e==null)return"";if(typeof e=="function")return be(e,ke(e));if(typeof e=="string")return K(e);switch(e){case y:return K("Suspense");case h:return K("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case d:return Oe(e.render);case x:return X(e.type,r,n);case Y:{var t=e,c=t._payload,f=t._init;try{return X(f(c),r,n)}catch{}}}return""}var a=Object.prototype.hasOwnProperty,L={},D=F.ReactDebugCurrentFrame;function z(e){if(e){var r=e._owner,n=X(e.type,e._source,r?r.type:null);D.setExtraStackFrame(n)}else D.setExtraStackFrame(null)}function ye(e,r,n,t,c){{var f=Function.call.bind(a);for(var u in e)if(f(e,u)){var o=void 0;try{if(typeof e[u]!="function"){var T=Error((t||"React class")+": "+n+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}o=e[u](r,u,t,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(g){o=g}o&&!(o instanceof Error)&&(z(c),p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",t||"React class",n,u,typeof o),z(null)),o instanceof Error&&!(o.message in L)&&(L[o.message]=!0,z(c),p("Failed %s type: %s",n,o.message),z(null))}}}var me=Array.isArray;function le(e){return me(e)}function De(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,n=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function Z(e){try{return _e(e),!1}catch{return!0}}function _e(e){return""+e}function Je(e){if(Z(e))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",De(e)),_e(e)}var ce=F.ReactCurrentOwner,or={key:!0,ref:!0,__self:!0,__source:!0},Ge,He,Fe;Fe={};function ir(e){if(a.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function sr(e){if(a.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function ur(e,r){if(typeof e.ref=="string"&&ce.current&&r&&ce.current.stateNode!==r){var n=k(ce.current.type);Fe[n]||(p('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',k(ce.current.type),e.ref),Fe[n]=!0)}}function lr(e,r){{var n=function(){Ge||(Ge=!0,p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}}function cr(e,r){{var n=function(){He||(He=!0,p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}}var fr=function(e,r,n,t,c,f,u){var o={$$typeof:s,type:e,key:r,ref:n,props:u,_owner:f};return o._store={},Object.defineProperty(o._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(o,"_self",{configurable:!1,enumerable:!1,writable:!1,value:t}),Object.defineProperty(o,"_source",{configurable:!1,enumerable:!1,writable:!1,value:c}),Object.freeze&&(Object.freeze(o.props),Object.freeze(o)),o};function dr(e,r,n,t,c){{var f,u={},o=null,T=null;n!==void 0&&(Je(n),o=""+n),sr(r)&&(Je(r.key),o=""+r.key),ir(r)&&(T=r.ref,ur(r,c));for(f in r)a.call(r,f)&&!or.hasOwnProperty(f)&&(u[f]=r[f]);if(e&&e.defaultProps){var g=e.defaultProps;for(f in g)u[f]===void 0&&(u[f]=g[f])}if(o||T){var b=typeof e=="function"?e.displayName||e.name||"Unknown":e;o&&lr(u,b),T&&cr(u,b)}return fr(e,o,T,c,t,ce.current,u)}}var Ae=F.ReactCurrentOwner,qe=F.ReactDebugCurrentFrame;function Q(e){if(e){var r=e._owner,n=X(e.type,e._source,r?r.type:null);qe.setExtraStackFrame(n)}else qe.setExtraStackFrame(null)}var Ie;Ie=!1;function Ye(e){return typeof e=="object"&&e!==null&&e.$$typeof===s}function Ke(){{if(Ae.current){var e=k(Ae.current.type);if(e)return` Check the render method of \``+e+"`."}return""}}function vr(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),n=e.lineNumber;return` Check your code at `+r+":"+n+"."}return""}}var Xe={};function pr(e){{var r=Ke();if(!r){var n=typeof e=="string"?e:e.displayName||e.name;n&&(r=` Check the top-level render call using <`+n+">.")}return r}}function Ze(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var n=pr(r);if(Xe[n])return;Xe[n]=!0;var t="";e&&e._owner&&e._owner!==Ae.current&&(t=" It was passed a child from "+k(e._owner.type)+"."),Q(e),p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,t),Q(null)}}function Qe(e,r){{if(typeof e!="object")return;if(le(e))for(var n=0;n<e.length;n++){var t=e[n];Ye(t)&&Ze(t,r)}else if(Ye(e))e._store&&(e._store.validated=!0);else if(e){var c=Te(e);if(typeof c=="function"&&c!==e.entries)for(var f=c.call(e),u;!(u=f.next()).done;)Ye(u.value)&&Ze(u.value,r)}}}function hr(e){{var r=e.type;if(r==null||typeof r=="string")return;var n;if(typeof r=="function")n=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===d||r.$$typeof===x))n=r.propTypes;else return;if(n){var t=k(r);ye(n,e.props,"prop",t,e)}else if(r.PropTypes!==void 0&&!Ie){Ie=!0;var c=k(r);p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",c||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function gr(e){{for(var r=Object.keys(e.props),n=0;n<r.length;n++){var t=r[n];if(t!=="children"&&t!=="key"){Q(e),p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",t),Q(null);break}}e.ref!==null&&(Q(e),p("Invalid attribute `ref` supplied to `React.Fragment`."),Q(null))}}function er(e,r,n,t,c,f){{var u=pe(e);if(!u){var o="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(o+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var T=vr(c);T?o+=T:o+=Ke();var g;e===null?g="null":le(e)?g="array":e!==void 0&&e.$$typeof===s?(g="<"+(k(e.type)||"Unknown")+" />",o=" Did you accidentally export a JSX literal instead of a component?"):g=typeof e,p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",g,o)}var b=dr(e,r,n,c,f);if(b==null)return b;if(u){var S=r.children;if(S!==void 0)if(t)if(le(S)){for(var ee=0;ee<S.length;ee++)Qe(S[ee],e);Object.freeze&&Object.freeze(S)}else p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Qe(S,e)}return e===E?gr(b):hr(b),b}}function br(e,r,n){return er(e,r,n,!0)}function yr(e,r,n){return er(e,r,n,!1)}var mr=yr,_r=br;ne.Fragment=E,ne.jsx=mr,ne.jsxs=_r}()),ne}process.env.NODE_ENV==="production"?Re.exports=nr():Re.exports=tr();var i=Re.exports;function P(l,s,m){return l?s:m}function Ve(l,s){return(l==null?void 0:l.getDate())===(s==null?void 0:s.getDate())&&(l==null?void 0:l.getMonth())===(s==null?void 0:s.getMonth())&&(l==null?void 0:l.getFullYear())===(s==null?void 0:s.getFullYear())}function Be(l,s){return!!l&&!!s&&l.getTime()>s.getTime()}function Le(l,s){return!!l&&!!s&&l.getTime()<s.getTime()}function Ne({labels:l,gap:s}){return i.jsx(v.Box,{display:"grid",gridTemplateColumns:"repeat(7, 1fr)",gap:s,marginTop:5,children:l.map(m=>i.jsx(v.Text,{fontSize:"12px",children:m},m))})}function Ue({months:l=["January","February","March","April","May","June","July","August","September","October","November","December"],defaultValue:s=0,onChange:m=()=>{},currentYear:E,maxDate:R,minDate:_}){const O=d=>{const{value:y}=d.target;m&&m(y)},j=d=>{if(E){const y=new Date(E,d,1);return Be(y,R)||Le(y,_)}return!1};return i.jsx(v.Select,{border:"none",value:s,onChange:O,size:"sm",maxW:"fit-content",_focusVisible:{borderColor:"transparent"},cursor:"pointer",children:l.map((d,y)=>i.jsx("option",{value:y,disabled:j(y),children:d},y))})}function $e({defaultValue:l=new Date().getFullYear(),onChange:s,endYear:m=new Date().getFullYear()+5,initialYear:E=new Date().getFullYear()-100,maxDate:R,minDate:_}){const O=h=>{const{value:x}=h.target;s&&s(x)},j=Math.min(m,(R==null?void 0:R.getFullYear())||1/0),d=Math.max(E,(_==null?void 0:_.getFullYear())||-1/0),y=Array.from(Array(j-d+1).keys(),h=>h+d);return i.jsx(v.Select,{border:"none",value:l,onChange:O,size:"sm",maxW:"fit-content",_focusVisible:{borderColor:"transparent"},cursor:"pointer",children:y.map((h,x)=>i.jsx("option",{value:h,children:h},x))})}function ze({onNext:l,onPrev:s,rightArrowIcon:m=i.jsx(Ee.ChevronRightIcon,{}),leftArrowIcon:E=i.jsx(Ee.ChevronLeftIcon,{}),bgColor:R,activeColor:_}){return i.jsxs(v.Flex,{gap:"3px",justifyContent:"center",children:[i.jsx(v.IconButton,{"aria-label":"Go back",bg:R,icon:E,_hover:{borderColor:_},onClick:s}),i.jsx(v.IconButton,{"aria-label":"Go ahead",bg:R,icon:m,_hover:{borderColor:_},onClick:l})]})}function ar({isDisabled:l=!1,icon:s=i.jsx(Ee.CalendarIcon,{}),rightArrowIcon:m,leftArrowIcon:E,withArrow:R=!0,closable:_=!0,closeOnClick:O=!0,isInvalid:j,containerProps:d,popoverProps:y,inputProps:h,placeholder:x="Pick a date",clearLabel:Y="Clear",todayLabel:J="Today",daysLabels:fe=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],defaultValue:xe,months:Te,colorSchema:F="blue",activeColor:p="blue.400",inactiveColor:te="gray.50",monthGap:de="5px",dateBorderRadius:Ce="md",disabledDates:ve,disabledWeekend:je,maxDate:G,minDate:N,onChange:pe,formatDate:ae}){const{isOpen:he,onToggle:k,onClose:A}=v.useDisclosure(),[U,$]=w.useState(""),[M,ge]=w.useState(xe),oe=M||new Date,[I,H]=w.useState(oe.getMonth()),[W,q]=w.useState(oe.getFullYear()),Se=new Date(W,I),we=new Date(W,I+1,0),ie=Se.getDay(),se=new Array(ie).fill(void 0),K=new Array(we.getDate()).fill(void 0).map((a,L)=>L+1),ue=[...se,...K],B=a=>{ge(a),pe&&pe(a)},Pe=a=>{if(!a)return;const L=new Date(W,I,a);B(L)};w.useEffect(()=>{$(M?ae?ae(M):M.toLocaleDateString():"")},[$,M,ae]);const be=()=>i.jsx(i.Fragment,{children:ue.map((a,L)=>{const D=P(a,new Date(W,I,a),a),z=Ve(M,D);let ye=!1,me=!1;D&&G&&(ye=Be(D,G)),D&&N&&(me=Le(D,N));const le=Array.isArray(ve)&&ve.some(_e=>Ve(D,_e)),De=D&&je&&[0,6].includes(D.getDay()),Z=ye||me||le||De;return i.jsx(v.Box,{as:P(a,"button","span"),bg:P(a,P(z,p,te),"transparent"),textColor:P(z,"white","black"),aspectRatio:1,borderRadius:Ce,display:"flex",justifyContent:"center",alignItems:"center",disabled:Z,_disabled:{opacity:.5,cursor:"not-allowed"},cursor:P(a,"pointer","default"),_hover:P(a,{bg:P(Z,te,p),color:P(Z,"initial","white"),borderColor:"transparent"},{}),onClick:()=>{Z||(Pe(a),O&&A())},children:a},L)})}),Oe=()=>{H(a=>P(a!==11,a+1,0)),I===11&&q(a=>a+1)},ke=()=>{H(a=>P(a!==0,a-1,11)),I===0&&q(a=>a-1)},X=()=>{B(new Date)};return i.jsxs(v.Popover,{isOpen:he,onClose:A,...y,children:[i.jsx(v.PopoverTrigger,{children:i.jsxs(v.Box,{position:"relative",pointerEvents:l?"none":void 0,backgroundColor:l?"gray.100":void 0,opacity:l?.8:1,...d,children:[i.jsx(v.Input,{isReadOnly:!0,placeholder:x,defaultValue:U,colorScheme:F,cursor:"pointer",isInvalid:j,onClick:k,...h}),i.jsx(v.Box,{as:"span",position:"absolute",right:"0.5rem",top:"50%",transform:"translateY(-50%)",children:s})]})}),i.jsxs(v.PopoverContent,{children:[R&&i.jsx(v.PopoverArrow,{}),_&&i.jsx(v.PopoverCloseButton,{}),i.jsxs(v.PopoverBody,{children:[i.jsxs(v.Flex,{mt:_?6:2,alignItems:"center",justifyContent:"space-around",children:[i.jsx(Ue,{defaultValue:I,months:Te,currentYear:W,maxDate:G,minDate:N,activeColor:p,onChange:a=>H(a)}),i.jsx($e,{defaultValue:W,maxDate:G,minDate:N,activeColor:p,onChange:a=>q(a)}),i.jsx(ze,{bgColor:te,activeColor:p,rightArrowIcon:m,leftArrowIcon:E,onNext:Oe,onPrev:ke})]}),i.jsx(Ne,{labels:fe,gap:de}),i.jsx(v.Box,{display:"grid",gridTemplateColumns:"repeat(7, 1fr)",gap:de,marginTop:2,children:i.jsx(be,{})})]}),i.jsx(v.PopoverFooter,{children:i.jsxs(v.Box,{display:"flex",justifyContent:"space-between",children:[i.jsx(v.Button,{size:"sm",colorScheme:F,bg:p,onClick:X,_hover:{borderColor:"transparent"},children:J}),i.jsx(v.Button,{size:"sm",variant:"ghost",color:p,colorScheme:F,_hover:{borderColor:p},onClick:()=>{B(void 0)},children:Y})]})})]})]})}C.ControlButtons=ze,C.LabelDays=Ne,C.MonthSelect=Ue,C.SimpleDatePicker=ar,C.YearSelect=$e,Object.defineProperty(C,Symbol.toStringTag,{value:"Module"})});