@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 57.6 kB
JavaScript
var Xo=Object.create;var yt=Object.defineProperty;var qo=Object.getOwnPropertyDescriptor;var Yo=Object.getOwnPropertyNames;var Go=Object.getPrototypeOf,Qo=Object.prototype.hasOwnProperty;var Zo=(e,t)=>{for(var o in t)yt(e,o,{get:t[o],enumerable:!0})},ua=(e,t,o,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Yo(t))!Qo.call(e,n)&&n!==o&&yt(e,n,{get:()=>t[n],enumerable:!(l=qo(t,n))||l.enumerable});return e};var jo=(e,t,o)=>(o=e!=null?Xo(Go(e)):{},ua(t||!e||!e.__esModule?yt(o,"default",{value:e,enumerable:!0}):o,e)),en=e=>ua(yt({},"__esModule",{value:!0}),e);var or={};Zo(or,{DatePickerDisabled:()=>ar});module.exports=en(or);var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,l)=>t[l]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var R=(e,t)=>r({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),re=(e,t)=>{let{valid:o,invalid:l,hover:n,focus:i,checked:m,active:p,selected:C,disabled:f,indeterminate:v,loading:y,empty:A,readonly:Y,highlighted:F,...D}=t;return r({"k-valid":o,"k-invalid":l,"k-hover":n,"k-focus":i,"k-checked":m,"k-active":p,"k-selected":C,"k-disabled":f,"k-indeterminate":v&&!m,"k-loading":y,"k-empty":A,"k-readonly":Y,"k-highlighted":F},Object.keys(D).reduce((E,O)=>(O.startsWith("k-")?E[O]=D[O]:E[`k-${O}`]=D[O],E),{}))};function Ca(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(l=>[`k-${l}`,!0]))}var s={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},N={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},w={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},ie={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},k={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},d={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var Pt={};function he(e){return Pt[e]=(Pt[e]||0)+1,`k-${e}-${Pt[e]}`}var et="input",Tt=et;var fa=require("react/jsx-runtime"),vt="k-input",tn=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading,d.readonly],an={size:[s.undefined,s.small,s.medium,s.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[w.undefined,w.solid,w.flat,w.outline]},on={},z=e=>{let{hover:t,focus:o,disabled:l,invalid:n,valid:i,loading:m,readonly:p,size:C,rounded:f,fillMode:v,...y}=e;return(0,fa.jsx)("span",{...y,className:r(e.className,vt,R(vt,{size:C,rounded:f,fillMode:v}),re(vt,{hover:t,focus:o,disabled:l,invalid:n,valid:i,loading:m,readonly:p}))})};z.states=tn;z.options=an;z.className=vt;z.defaultOptions=on;z.moduleName=et;z.folderName=Tt;var xa=require("react/jsx-runtime"),wt="k-picker",nn=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading,d.readonly],ln={size:[s.undefined,s.small,s.medium,s.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[w.undefined,w.solid,w.flat,w.outline]},rn={},Le=e=>{let{hover:t,focus:o,disabled:l,invalid:n,valid:i,loading:m,readonly:p,size:C,rounded:f,fillMode:v,...y}=e;return(0,xa.jsx)("span",{...y,className:r(e.className,wt,R(wt,{size:C,rounded:f,fillMode:v}),re(wt,{hover:t,focus:o,disabled:l,invalid:n,valid:i,loading:m,readonly:p})),children:e.children})};Le.states=nn;Le.options=ln;Le.className=wt;Le.defaultOptions=rn;Le.moduleName=et;Le.folderName=Tt;var tt=require("react/jsx-runtime"),_t="k-font-icon",sn=[],dn={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info]},cn={},at=e=>{let{size:t,themeColor:o,icon:l,rotate:n,flip:i,...m}=e;return l?(0,tt.jsx)("span",{...m,className:r(e.className,_t,R(_t,{size:t}),{[`k-i-${l}`]:l,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true"}):(0,tt.jsx)(tt.Fragment,{})};at.states=sn;at.options=dn;at.className=_t;at.defaultOptions=cn;var ba=at;var Ae=require("react/jsx-runtime"),Kt="k-svg-icon",pn=[],mn={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info],variant:[ie.outline,ie.solid,ie.duotone]},Ht={viewBox:"0 0 24 24",variant:ie.outline},ot=e=>{var y,A;let{size:t,themeColor:o,rotate:l,flip:n,viewBox:i=Ht.viewBox,variant:m=Ht.variant,icon:p,...C}=e;if(!p)return(0,Ae.jsx)(Ae.Fragment,{});if(p==="none")return(0,Ae.jsx)("span",{...C,className:r(e.className,Kt,R("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let f=typeof p=="object"&&p.name&&p.name,v=typeof p=="object"?m&&((y=p.variants)==null?void 0:y[m])||((A=p.variants)==null?void 0:A.outline)||p.content:void 0;return(0,Ae.jsx)("span",{...C,className:r(e.className,Kt,R("k-icon",{size:t}),{[`k-svg-i-${f}`]:f,[`k-color-${o}`]:o,[`k-rotate-${l}`]:l,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:(0,Ae.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof p=="object"?p.viewBox:i,dangerouslySetInnerHTML:v!==void 0?{__html:v}:void 0,children:p?void 0:e.children})})};ot.states=pn;ot.options=mn;ot.className=Kt;ot.defaultOptions=Ht;var Dt=ot;var zt=jo(require("@progress/kendo-svg-icons"));var ha="icon",Na="icons";var Ta=require("react");var ka=require("react"),ya=(0,ka.createContext)({iconsType:"svg"});var ue=require("react/jsx-runtime"),gt="k-icon",un=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Cn=[],fn={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info],variant:[ie.outline,ie.solid,ie.duotone]},At={viewBox:"0 0 24 24",type:"svg",variant:ie.outline},S=e=>{let{iconsType:t}=(0,Ta.useContext)(ya),{size:o,themeColor:l,icon:n,type:i=t||At.type,rotate:m,flip:p,viewBox:C=At.viewBox,variant:f=At.variant,...v}=e;if(!n)return(0,ue.jsx)(ue.Fragment,{});if((t||i)==="svg"){if(n==="none")return(0,ue.jsx)(Dt,{...v,className:r(e.className,gt),icon:n,size:o,variant:f});let A=zt[n]?n:un(`${n}-icon`);return zt[A]?(0,ue.jsx)(Dt,{...v,className:r(e.className,gt),icon:zt[A],size:o,themeColor:l,rotate:m,flip:p,viewBox:C,variant:f}):(0,ue.jsx)(ue.Fragment,{})}return(0,ue.jsx)(ba,{...v,className:r(e.className,gt),icon:n,size:o,themeColor:l,rotate:m,flip:p})};S.states=Cn;S.options=fn;S.defaultOptions=At;S.className=gt;S.moduleName=ha;S.folderName=Na;S.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var Oe=require("react/jsx-runtime"),va="k-clear-value",xn=[d.disabled,d.loading,d.readonly],bn={},te=e=>{let{disabled:t,loading:o,readonly:l,value:n}=e;return t||l||o||!n?(0,Oe.jsx)(Oe.Fragment,{}):(0,Oe.jsx)("span",{className:r(e.className,va),children:(0,Oe.jsx)(S,{icon:"x"})})};te.states=xn;te.options=bn;te.className=va;var wa=require("react/jsx-runtime"),Bt="k-input-inner",hn=[],Nn={},St={type:"text",autocomplete:"off",value:"",placeholder:""},ae=e=>{let{value:t=St.value,type:o=St.type,placeholder:l=St.placeholder,autocomplete:n=St.autocomplete,disabled:i,readOnly:m,...p}=e;return(0,wa.jsx)("input",{...p,type:o,className:r(e.className,Bt,R(Bt,e)),placeholder:l,autoComplete:n,defaultValue:t,disabled:i||void 0,readOnly:m||void 0})};ae.states=hn;ae.options=Nn;ae.className=Bt;var nt=require("react/jsx-runtime"),Vt="k-input-inner",kn=[],yn={},Ft=e=>{let{value:t,placeholder:o,showValue:l,valueIcon:n,valueIconName:i,...m}=e;return(0,nt.jsxs)("span",{...m,className:r(e.className,Vt,R(Vt,e)),children:[n,!n&&i&&(0,nt.jsx)(S,{className:"k-input-value-icon",icon:i}),l&&!t&&o,l&&t&&(0,nt.jsx)("span",{className:"k-input-value-text",children:t})]})};Ft.states=kn;Ft.options=yn;Ft.className=Vt;var Aa=require("react/jsx-runtime"),Ut="k-input-inner",Tn=[],vn={},ga={value:"",placeholder:""},Wt=e=>{let{value:t=ga.value,placeholder:o=ga.placeholder,rows:l,disabled:n,...i}=e;return(0,Aa.jsx)("textarea",{...i,className:r(e.className,Ut,R(Ut,e)),placeholder:o,rows:l,defaultValue:t,disabled:n||void 0})};Wt.states=Tn;Wt.options=vn;Wt.className=Ut;var lt=require("react/jsx-runtime"),Sa="k-input-loading-icon",wn=[d.disabled,d.loading],se=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,lt.jsx)(lt.Fragment,{}):(0,lt.jsx)("span",{className:r(e.className,Sa,"k-icon k-i-loading")})};se.states=wn;se.className=Sa;var rt=require("react/jsx-runtime"),Ea="k-input-validation-icon",gn=[d.valid,d.invalid,d.disabled,d.loading],An={},oe=e=>{let{valid:t,invalid:o,disabled:l,loading:n}=e,i=o?"warning-circle":"check-circle";return l||n||!!!(t||o)?(0,rt.jsx)(rt.Fragment,{}):(0,rt.jsx)(S,{className:r(Ea),icon:i})};oe.states=gn;oe.options=An;oe.className=Ea;var it=require("react/jsx-runtime"),Sn="k-input-prefix",En={direction:"horizontal"},Pe=e=>{let{direction:t=En.direction,...o}=e;return e.children?(0,it.jsx)("span",{...o,className:r(Sn,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,it.jsx)(it.Fragment,{})};var st=require("react/jsx-runtime"),In="k-input-suffix",Mn={direction:"horizontal"},_e=e=>{let{direction:t=Mn.direction,...o}=e;return e.children?(0,st.jsx)("span",{...o,className:r(In,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,st.jsx)(st.Fragment,{})};var Rn=require("react/jsx-runtime");var Ln=require("react/jsx-runtime");var Ma=require("react/jsx-runtime"),Ia="k-input-separator",On={direction:"vertical"},Ke=e=>{let{direction:t=On.direction,...o}=e;return(0,Ma.jsx)("span",{...o,className:r(Ia,e.className,{[`${Ia}-${t}`]:t})})};var $t="button",Ra=$t;var Z=require("react/jsx-runtime"),dt="k-button",Pn=["icon-button"],_n=[d.hover,d.focus,d.active,d.selected,d.disabled,d.generating],Kn={size:[s.undefined,s.xsmall,s.small,s.medium,s.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[w.undefined,w.solid,w.flat,w.outline,w.clear,w.link],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info,k.inverse]},Jt={showArrow:!1,arrowIconName:"chevron-down"},T=e=>{let{as:t="button",size:o,rounded:l,fillMode:n,themeColor:i,showArrow:m=Jt.showArrow,arrowIconName:p=Jt.arrowIconName,variant:C,hover:f,focus:v,active:y,selected:A,disabled:Y,togglable:F,ariaDisabled:D,icon:E,iconSize:O,text:Q,iconClassName:pe,className:me,...xe}=e,be=E!=null,ge=e.children!==void 0;return(0,Z.jsxs)(t,{className:r(me,dt,Ca(dt,C),R(dt,{size:o,rounded:l,fillMode:n,themeColor:i}),re(dt,{hover:f,focus:v,active:y,disabled:Y||D,selected:A}),{"k-icon-button":!Q&&!ge&&be}),"aria-pressed":F?A?"true":"false":void 0,...xe,"aria-disabled":D?"true":void 0,disabled:Y||void 0,children:[typeof E=="string"&&E&&(0,Z.jsx)(S,{className:r(pe,"k-button-icon"),icon:E,size:O}),E&&typeof E!="string"&&(0,Z.jsx)(Z.Fragment,{children:E}),Q?(0,Z.jsxs)(Z.Fragment,{children:[Q&&(0,Z.jsx)("span",{className:"k-button-text",children:Q}),e.children]}):e.children&&(0,Z.jsx)("span",{className:"k-button-text",children:e.children}),m&&(0,Z.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Z.jsx)(S,{icon:p})})]})};T.states=_n;T.options=Kn;T.variants=Pn;T.className=dt;T.defaultOptions=Jt;T.moduleName=$t;T.folderName=Ra;T.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var La=require("react/jsx-runtime"),Se=e=>(0,La.jsx)(T,{children:"Button",...e});var B=require("react/jsx-runtime"),Hn=z.states,Dn=z.defaultOptions,zn=z.options,Bn=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Vn=[],He=e=>{let{modifiers:t,valid:o,invalid:l,loading:n,disabled:i,readonly:m,...p}=e,C=t==null?void 0:t.prefix,f=t==null?void 0:t.suffix,v=t==null?void 0:t["clear-button"],y=t==null?void 0:t["validation-icon"],A=t==null?void 0:t.separators;return(0,B.jsxs)(z,{...p,valid:o,invalid:l,loading:n,disabled:i,readonly:m,style:{width:300},children:[C&&(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(Pe,{children:(0,B.jsx)(S,{icon:"lock"})}),A&&(0,B.jsx)(Ke,{})]}),(0,B.jsx)(ae,{placeholder:"Placeholder",value:"Value"}),y&&(0,B.jsx)(oe,{valid:o,invalid:l,loading:n,disabled:i}),(0,B.jsx)(se,{loading:n,disabled:i}),v&&(0,B.jsx)(te,{loading:n,disabled:i,readonly:m,value:"Value"}),f&&(0,B.jsxs)(B.Fragment,{children:[A&&(0,B.jsx)(Ke,{}),(0,B.jsx)(_e,{children:(0,B.jsx)(Se,{size:p.size,fillMode:"clear",children:"Send"})})]})]})};He.options=zn;He.states=Hn;He.variants=Vn;He.defaultOptions=Dn;He.modifiers=Bn;He.className=z.className;var Pa=require("react/jsx-runtime"),Oa=e=>(0,Pa.jsx)(T,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Ka=require("react/jsx-runtime"),_a=e=>(0,Ka.jsx)(T,{icon:"folder",children:"Button",...e});var Et=require("react/jsx-runtime"),Fn=T.options,Un=T.states,Wn={...T.defaultOptions,variant:"text"},$n=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Jn=[],De=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,Et.jsx)(Oa,{...o,icon:"star"});case"icon-and-text":return(0,Et.jsx)(_a,{...o,icon:"star",children:"Button"});default:return(0,Et.jsx)(Se,{...o,children:"Button"})}};De.options=Fn;De.states=Un;De.variants=$n;De.defaultOptions=Wn;De.modifiers=Jn;De.className=T.className;var Xt="popup",Ha=Xt;var Yt=require("react/jsx-runtime"),Da="k-animation-container",Xn=[],qn={},qt={positionMode:"absolute",shown:!0},de=e=>{let{positionMode:t=qt.positionMode,shown:o=qt.shown,animationStyle:l,offset:n,...i}=e;return(0,Yt.jsx)("div",{...i,style:{...n,...e.style},className:r(e.className,Da,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,Yt.jsx)("div",{className:"k-child-animation-container",style:l,children:e.children})})};de.states=Xn;de.options=qn;de.className=Da;de.defaultOptions=qt;de.moduleName=Xt;de.folderName=Ha;var Gt="popup",za=Gt;var Qt=require("react/jsx-runtime"),Ba="k-popup",Yn=[],Gn={},Va={positionMode:"absolute"},Ce=e=>{let{offset:t,positionMode:o=Va.positionMode,animationStyle:l,containerClassName:n,containerRole:i,containerAriaLabel:m,...p}=e;return(0,Qt.jsx)(de,{positionMode:o,offset:t,animationStyle:l,className:n,role:i,"aria-label":m,children:(0,Qt.jsx)("div",{...p,className:r(e.className,Ba),children:e.children})})};Ce.states=Yn;Ce.options=Gn;Ce.className=Ba;Ce.defaultOptions=Va;Ce.moduleName=Gt;Ce.folderName=za;Ce.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var Ua=require("react/jsx-runtime"),Fa="k-calendar-view",Zt={orientation:"horizontal",calendarView:"month"},It=e=>{let{orientation:t=Zt.orientation,calendarView:o=Zt.calendarView,gridRole:l,ariaLabelledBy:n,...i}=e;return(0,Ua.jsx)("div",{...i,className:r(e.className,Fa,`k-calendar-${o}view`,"k-align-items-start","k-justify-content-center",{"k-hstack":t==="horizontal","k-vstack":t==="vertical"}),...l?{role:"grid","aria-labelledby":n,tabIndex:0}:{},children:e.children})};It.className=Fa;It.defaultOptions=Zt;var fe=require("react/jsx-runtime"),Wa="k-calendar-header",Qn={size:[s.undefined,s.small,s.medium,s.large]},ct={calendarTitleText:"October 2021",showToday:!0,showNavigationButtons:!0,orientation:"horizontal"},Ee=e=>{let{calendarTitleText:t=ct.calendarTitleText,showToday:o=ct.showToday,showNavigationButtons:l=ct.showNavigationButtons,orientation:n=ct.orientation,size:i,calendarView:m,dir:p,titleId:C,...f}=e,v=p==="rtl"?"chevron-right":"chevron-left",y=p==="rtl"?"chevron-left":"chevron-right",A=C||he("calendar-title");return(0,fe.jsxs)("div",{...f,className:r(e.className,Wa,{"k-vstack":n==="vertical"}),children:[(0,fe.jsx)(T,{disabled:m==="century",className:"k-calendar-title",text:t,size:i,fillMode:"flat",themeColor:"primary",id:A,tabIndex:-1,"aria-label":`Navigate to parent view: ${t}`,...m==="century"?{"aria-disabled":"true"}:{}}),(0,fe.jsx)("span",{className:"k-spacer"}),(0,fe.jsxs)("span",{className:"k-calendar-nav",children:[l&&(0,fe.jsx)(T,{className:"k-calendar-nav-prev",icon:v,size:i,fillMode:"flat",tabIndex:-1,"aria-label":"Navigate to previous view"}),o&&(0,fe.jsx)(T,{size:i,fillMode:"flat",className:"k-calendar-nav-today",tabIndex:-1,children:"Today"}),l&&(0,fe.jsx)(T,{className:"k-calendar-nav-next",icon:y,size:i,fillMode:"flat",tabIndex:-1,"aria-label":"Navigate to next view"})]})]})};Ee.options=Qn;Ee.className=Wa;Ee.defaultOptions=ct;var jt=require("react/jsx-runtime"),$a="k-calendar-footer",Zn={size:[s.undefined,s.small,s.medium,s.large]},Ja={calendarFooterText:"Tuesday, October 12, 2021"},pt=e=>{let{size:t,calendarFooterText:o=Ja.calendarFooterText,...l}=e;return(0,jt.jsx)("div",{...l,className:r(e.className,$a),children:(0,jt.jsx)(T,{size:t,fillMode:"flat",themeColor:"primary",className:"k-calendar-nav-today",children:o})})};pt.options=Zn;pt.className=$a;pt.defaultOptions=Ja;var U="calendar",J=U;var ze=require("react/jsx-runtime"),ea="k-calendar",jn=[],el={size:[s.undefined,s.small,s.medium,s.large]},mt={showCalendarHeader:!0,orientation:"horizontal",calendarView:"month",calendarTitleText:"October 2021"},I=e=>{let{size:t,orientation:o=mt.orientation,calendarView:l=mt.calendarView,calendarTitleText:n=mt.calendarTitleText,showCalendarHeader:i=mt.showCalendarHeader,showWeek:m,showCalendarFooter:p,calendarFooterText:C,dir:f,...v}=e,y=he("calendar-title");return(0,ze.jsxs)("div",{...v,dir:f,className:r(e.className,ea,R(ea,{size:t}),{"k-week-number":m}),children:[i&&(0,ze.jsx)(Ee,{calendarView:l,showToday:!p,calendarTitleText:n,orientation:o,size:t,dir:f,titleId:y}),(0,ze.jsx)(It,{calendarView:l,orientation:o,gridRole:!0,ariaLabelledBy:y,children:e.children}),p&&(0,ze.jsx)(pt,{calendarFooterText:C,size:t})]})};I.states=jn;I.options=el;I.className=ea;I.defaultOptions=mt;I.moduleName=U;I.folderName=J;I.ariaSpec={selector:".k-calendar:not(.k-calendar-infinite):not(.k-calendar-range)",rules:[{selector:".k-calendar:not(.k-calendar-infinite):not(.k-calendar-range) .k-calendar-view",attribute:"role=grid",usage:"Specifies the role of the Calendar view container."},{selector:".k-calendar:not(.k-calendar-infinite):not(.k-calendar-range) .k-calendar-view",attribute:"aria-labelledby",usage:"Pointing to the current view label (e.g. March 2022 or 2020-2029)."},{selector:".k-calendar:not(.k-calendar-infinite):not(.k-calendar-range) .k-calendar-view",attribute:"tabindex=0",usage:"Makes the grid focusable."},{selector:".k-calendar:not(.k-calendar-infinite):not(.k-calendar-range) .k-calendar-table",attribute:"role=none",usage:"Inner table has role removed \u2014 content belongs to the grid on the view."},{selector:".k-calendar-thead",attribute:"role=rowgroup",usage:"Groups header rows."},{selector:".k-calendar-tbody",attribute:"role=rowgroup",usage:"Groups body rows."},{selector:".k-calendar-tr",attribute:"role=row",usage:"Each row in the calendar table."},{selector:".k-calendar-thead .k-calendar-th",attribute:"role=columnheader",usage:"Column header for day names."},{selector:".k-calendar-thead .k-calendar-th",attribute:"scope=col",usage:"Specifies the header applies to a column."},{selector:".k-calendar-thead .k-calendar-th",attribute:"aria-label",usage:"Full name of the day of the week."},{selector:".k-calendar-td:not(.k-alt):not(.k-empty)",attribute:"role=gridcell",usage:"Date cells in the calendar body."},{selector:".k-calendar-td.k-selected",attribute:"aria-selected=true",usage:"Indicates the selected date."},{selector:".k-calendar-td.k-disabled",attribute:"aria-disabled=true",usage:"Indicates a disabled date."},{selector:".k-calendar-nav-next,.k-calendar-nav-prev",attribute:"tabindex=-1",usage:"Navigation buttons are not focusable."},{selector:".k-calendar-nav-next,.k-calendar-nav-prev",attribute:"aria-label",usage:"Describes the navigation button purpose."},{selector:".k-calendar-title",attribute:"tabindex=-1",usage:"Title button is not focusable."},{selector:".k-calendar-title",attribute:"aria-label",usage:"Describes the title button purpose."},{selector:".k-calendar-nav-today",attribute:"tabindex=-1",usage:"Today link/button is not focusable."}]};var qa=require("react/jsx-runtime"),Xa="k-calendar-container",tl=[],al={},ol={},Be=e=>{let{...t}=e;return(0,qa.jsx)("div",{...t,className:r(e.className,Xa),children:e.children})};Be.states=tl;Be.options=al;Be.className=Xa;Be.defaultOptions=ol;Be.moduleName=U;Be.folderName=J;var ne=require("react/jsx-runtime"),nl=[d.hover,d.focus,d.active,d.selected,d.disabled],a=e=>{let{text:t,headerCell:o,today:l,weekend:n,showOtherMonth:i,weekCell:m,rangeStart:p,rangeMid:C,rangeEnd:f,dayIndicator:v,empty:y,hover:A,focus:Y,active:F,selected:D,disabled:E,...O}=e,pe=`k-calendar-${o?"th":"td"}`,me=[e.className,pe,re(pe,{hover:A,focus:Y,active:F,selected:D,disabled:E}),{"k-today":l,"k-weekend":n,"k-other-month":i,"k-alt":m,"k-range-start":p,"k-range-mid":C,"k-range-end":f,"k-empty":y}],xe={Su:"Sunday",Mo:"Monday",Tu:"Tuesday",We:"Wednesday",Th:"Thursday",Fr:"Friday",Sa:"Saturday",W:"Week number"};if(o){let be=t?xe[t]||t:void 0;return(0,ne.jsx)("th",{...O,className:r(me),role:"columnheader",scope:"col","aria-label":be,children:m?(0,ne.jsx)("span",{className:"k-sr-only",children:be}):t})}return m?(0,ne.jsx)("td",{...O,className:r(me),children:t}):(0,ne.jsx)("td",{...O,className:r(me),role:"gridcell",...D?{"aria-selected":"true"}:{},...E?{"aria-disabled":"true"}:{},children:y&&!i?(0,ne.jsx)(ne.Fragment,{children:"\xA0"}):(0,ne.jsxs)("span",{className:"k-link",children:[t,v&&(0,ne.jsx)("span",{className:"k-day-indicator"})]})})};a.states=nl;var Ve=require("react/jsx-runtime"),Ya="k-calendar-thead",Ga={cellsText:["Su","Mo","Tu","We","Th","Fr","Sa"]},Fe=e=>{let{showWeek:t,cellsText:o=Ga.cellsText,...l}=e;return(0,Ve.jsx)("thead",{...l,className:r(e.className,Ya),role:"rowgroup",children:(0,Ve.jsxs)("tr",{className:"k-calendar-tr",role:"row",children:[t&&(0,Ve.jsx)(a,{weekCell:!0,headerCell:!0,text:"W"}),o.map((n,i)=>(0,Ve.jsx)(a,{text:n,headerCell:!0},i))]})})};Fe.className=Ya;Fe.defaultOptions=Ga;var Za=require("react/jsx-runtime"),Qa="k-calendar-tbody",V=e=>{let{...t}=e;return(0,Za.jsx)("tbody",{...t,className:r(e.className,Qa),role:"rowgroup",children:e.children})};V.className=Qa;V.moduleName=U;V.folderName=J;var Ue=require("react/jsx-runtime"),ll="k-calendar-table",ce=e=>{let{calendarCaption:t,showTableHead:o,showWeek:l,ariaLabelledBy:n,ariaActiveDescendant:i,gridRole:m,...p}=e;return(0,Ue.jsxs)("table",{...p,className:r(e.className,ll),...m?{role:"grid","aria-labelledby":n,"aria-activedescendant":i,tabIndex:0}:{role:"none"},children:[t&&(0,Ue.jsx)("caption",{className:"k-calendar-caption",children:t}),o&&(0,Ue.jsx)(Fe,{showWeek:l}),(0,Ue.jsx)(V,{children:e.children})]})};var Ie=require("react/jsx-runtime"),ja="k-calendar-navigation",ut=e=>(0,Ie.jsxs)("div",{...e,className:r(e.className,ja),children:[(0,Ie.jsx)("span",{className:"k-calendar-navigation-highlight"}),(0,Ie.jsxs)("div",{className:"k-content k-scrollable",children:[(0,Ie.jsx)("ul",{className:"k-reset",children:e.children}),(0,Ie.jsx)("div",{className:"k-scrollable-placeholder",style:{height:"1000px"}})]})]});ut.className=ja;ut.moduleName=U;ut.folderName=J;var eo=require("react/jsx-runtime"),rl="k-calendar-table",ta=e=>{let{tableRole:t="none",ariaLabelledBy:o,...l}=e;return(0,eo.jsx)("table",{...l,className:r(e.className,rl),role:t,...o?{"aria-labelledby":o}:{},...t==="grid"?{tabIndex:0}:{},children:e.children})};var W=require("react/jsx-runtime"),to="k-calendar-view",We={orientation:"vertical",calendarView:"month",headerText:"April 2018",showWeekdays:!0,showNavigationButtons:!1},$e=e=>{let{orientation:t=We.orientation,calendarView:o=We.calendarView,headerText:l=We.headerText,showWeekdays:n=We.showWeekdays,showNavigationButtons:i=We.showNavigationButtons,showWeekNumbers:m,weekdayCellsText:p,gridLabelledBy:C,...f}=e;return(0,W.jsxs)("div",{...f,className:r(to,`k-calendar-${o}view`,e.className,{"k-hstack":t==="horizontal","k-vstack":t==="vertical"}),children:[(0,W.jsx)(Ee,{showNavigationButtons:i,calendarTitleText:l,orientation:"horizontal"}),n&&(0,W.jsxs)(ta,{className:"k-calendar-weekdays",tableRole:"table",children:[(0,W.jsxs)("colgroup",{children:[(0,W.jsx)("col",{}),(0,W.jsx)("col",{}),(0,W.jsx)("col",{}),(0,W.jsx)("col",{}),(0,W.jsx)("col",{}),(0,W.jsx)("col",{}),(0,W.jsx)("col",{})]}),(0,W.jsx)(Fe,{cellsText:p,showWeek:m})]}),(0,W.jsxs)("div",{className:"k-content k-scrollable",role:"none",children:[(0,W.jsx)(ta,{tableRole:"grid",ariaLabelledBy:C,children:e.children}),(0,W.jsx)("div",{className:"k-scrollable-placeholder",style:{height:"1000px"}})]})]})};$e.className=to;$e.defaultOptions=We;$e.moduleName=U;$e.folderName=J;var Me=require("react/jsx-runtime"),ao="k-calendar-infinite",il={size:[s.undefined,s.small,s.medium,s.large]},sl=["Aug","Sep","Oct","Nov","Dec","2021","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","2022","Feb","Mar","Apr","May","Jun","Jul"],dl={2021:"marker",2022:"marker"},cl=(e,t)=>e.map((o,l)=>(0,Me.jsx)("li",{children:(0,Me.jsx)("span",{className:t[o]==="marker"?"k-calendar-navigation-marker":void 0,children:o})},l)),Ct={showNavigation:!0,calendarView:"month",navigationItems:sl,navigationMarkerConfig:dl},L=e=>{let{size:t,showNavigation:o=Ct.showNavigation,calendarView:l=Ct.calendarView,navigationItems:n=Ct.navigationItems,navigationMarkerConfig:i=Ct.navigationMarkerConfig,calendarTitleText:m,showWeekdays:p,showWeekNumbers:C,showNavigationButtons:f,calendarWeekdays:v,...y}=e,A=he("calendar-infinite-title");return(0,Me.jsxs)("div",{...y,className:r(e.className,"k-calendar",ao,R("k-calendar",{size:t})),children:[o&&(0,Me.jsx)(ut,{children:cl(n,i)}),(0,Me.jsx)($e,{calendarView:l,headerText:m,showWeekdays:p,showWeekNumbers:C,showNavigationButtons:f,orientation:"vertical",weekdayCellsText:v,gridLabelledBy:A,children:e.children})]})};L.options=il;L.className=ao;L.defaultOptions=Ct;L.moduleName=U;L.folderName=J;L.ariaSpec={selector:".k-calendar-infinite",rules:[{selector:".k-calendar-infinite .k-content .k-calendar-table",attribute:"role=grid",usage:"The content table is the grid element for the infinite calendar."},{selector:".k-calendar-infinite .k-content .k-calendar-table",attribute:"aria-labelledby",usage:"Pointing to the current view title element."},{selector:".k-calendar-infinite .k-content .k-calendar-table",attribute:"tabindex=0",usage:"Makes the grid focusable."},{selector:".k-calendar-infinite .k-calendar-weekdays",attribute:"role=table",usage:"Weekday header table keeps table semantics (not part of grid)."},{selector:".k-calendar-view div.k-content.k-scrollable",attribute:"role=none",usage:"Scrollable wrapper is transparent to a11y tree."},{selector:".k-calendar-infinite .k-calendar-tbody",attribute:"role=rowgroup",usage:"Explicit rowgroup role on tbody."},{selector:".k-calendar-infinite .k-calendar-tr",attribute:"role=row",usage:"Explicit row role on tr."},{selector:".k-calendar-infinite .k-calendar-weekdays .k-calendar-th",attribute:"role=columnheader",usage:"Explicit columnheader role on weekday headers."},{selector:".k-calendar-infinite .k-calendar-weekdays .k-calendar-th",attribute:"scope=col",usage:"Specifies that the header applies to a column."},{selector:".k-calendar-infinite .k-calendar-weekdays .k-calendar-th",attribute:"aria-label",usage:"Full name of the day of the week."},{selector:".k-calendar-infinite .k-calendar-td:not(.k-alt):not(.k-empty)",attribute:"role=gridcell",usage:"Date cells in the calendar body."},{selector:".k-calendar-td.k-selected",attribute:"aria-selected=true",usage:"Specifies whether the date is selected."},{selector:".k-calendar-td.k-disabled",attribute:"aria-disabled=true",usage:"Specifies a disabled date."},{selector:".k-calendar-title",attribute:"tabindex=-1",usage:"Title button is not focusable."},{selector:".k-calendar-nav-today",attribute:"tabindex=-1",usage:"Today link is not focusable."}]};var no=require("react/jsx-runtime"),oo="k-calendar-tr",u=e=>{let{...t}=e;return(0,no.jsx)("tr",{...t,className:r(e.className,oo),role:"row",children:e.children})};u.className=oo;u.moduleName=U;u.folderName=J;var ro=require("react/jsx-runtime"),lo="k-calendar-caption",X=e=>{let{text:t,scope:o,colSpan:l,rowSpan:n,...i}=e;return(0,ro.jsx)("th",{...i,scope:o,colSpan:l,rowSpan:n,className:r(e.className,lo),children:t})};X.className=lo;X.moduleName=U;X.folderName=J;var P=require("react/jsx-runtime"),io=({showOtherCentury:e,...t})=>(0,P.jsx)(I,{calendarView:"century",calendarTitleText:"2000 - 2099",children:(0,P.jsxs)(ce,{children:[(0,P.jsxs)(u,{children:[(0,P.jsx)(a,{text:"1990 - 1999"}),(0,P.jsx)(a,{text:"2000 - 2009"}),(0,P.jsx)(a,{text:"2010 - 2019",today:!0}),(0,P.jsx)(a,{text:"2020 - 2029"})]}),(0,P.jsxs)(u,{children:[(0,P.jsx)(a,{text:"2030 - 2039"}),(0,P.jsx)(a,{text:"2040 - 2049"}),(0,P.jsx)(a,{text:"2050 - 2059"}),(0,P.jsx)(a,{text:"2060 - 2069"})]}),(0,P.jsxs)(u,{children:[(0,P.jsx)(a,{text:"2070 - 2079"}),(0,P.jsx)(a,{text:"2080 - 2089"}),(0,P.jsx)(a,{text:"2090 - 2099"}),(0,P.jsx)(a,{text:"2100 - 2109",empty:!e})]})]}),...t});var _=require("react/jsx-runtime"),so=({showOtherDecade:e,...t})=>(0,_.jsx)(I,{calendarView:"decade",calendarTitleText:"2020 - 2029",children:(0,_.jsxs)(ce,{children:[(0,_.jsxs)(u,{children:[(0,_.jsx)(a,{text:"2019",empty:!e}),(0,_.jsx)(a,{text:"2020"}),(0,_.jsx)(a,{text:"2021",today:!0}),(0,_.jsx)(a,{text:"2022"})]}),(0,_.jsxs)(u,{children:[(0,_.jsx)(a,{text:"2023"}),(0,_.jsx)(a,{text:"2024"}),(0,_.jsx)(a,{text:"2025"}),(0,_.jsx)(a,{text:"2026"})]}),(0,_.jsxs)(u,{children:[(0,_.jsx)(a,{text:"2027"}),(0,_.jsx)(a,{text:"2028"}),(0,_.jsx)(a,{text:"2029"}),(0,_.jsx)(a,{text:"2030",empty:!e})]})]}),...t});var x=require("react/jsx-runtime"),ft=({showCaptions:e,showOtherMonth:t,...o})=>(0,x.jsx)(I,{calendarView:"month",children:(0,x.jsxs)(ce,{calendarCaption:e&&"October 2021",showTableHead:!0,children:[(0,x.jsxs)(u,{children:[(0,x.jsx)(a,{text:"26",showOtherMonth:t,empty:!t,weekend:t}),(0,x.jsx)(a,{text:"27",showOtherMonth:t,empty:!t}),(0,x.jsx)(a,{text:"28",showOtherMonth:t,empty:!t}),(0,x.jsx)(a,{text:"29",showOtherMonth:t,empty:!t}),(0,x.jsx)(a,{text:"30",showOtherMonth:t,empty:!t}),(0,x.jsx)(a,{text:"1"}),(0,x.jsx)(a,{text:"2",weekend:!0})]}),(0,x.jsxs)(u,{children:[(0,x.jsx)(a,{text:"3",weekend:!0}),(0,x.jsx)(a,{text:"4"}),(0,x.jsx)(a,{text:"5"}),(0,x.jsx)(a,{text:"6"}),(0,x.jsx)(a,{text:"7"}),(0,x.jsx)(a,{text:"8"}),(0,x.jsx)(a,{text:"9",weekend:!0})]}),(0,x.jsxs)(u,{children:[(0,x.jsx)(a,{text:"10",weekend:!0}),(0,x.jsx)(a,{text:"11"}),(0,x.jsx)(a,{text:"12",today:!0}),(0,x.jsx)(a,{text:"13"}),(0,x.jsx)(a,{text:"14"}),(0,x.jsx)(a,{text:"15"}),(0,x.jsx)(a,{text:"16",weekend:!0})]}),(0,x.jsxs)(u,{children:[(0,x.jsx)(a,{text:"17",weekend:!0}),(0,x.jsx)(a,{text:"18"}),(0,x.jsx)(a,{text:"19"}),(0,x.jsx)(a,{text:"20"}),(0,x.jsx)(a,{text:"21"}),(0,x.jsx)(a,{text:"22"}),(0,x.jsx)(a,{text:"23",weekend:!0})]}),(0,x.jsxs)(u,{children:[(0,x.jsx)(a,{text:"24",weekend:!0}),(0,x.jsx)(a,{text:"25"}),(0,x.jsx)(a,{text:"26"}),(0,x.jsx)(a,{text:"27"}),(0,x.jsx)(a,{text:"28"}),(0,x.jsx)(a,{text:"29"}),(0,x.jsx)(a,{text:"30",weekend:!0})]}),(0,x.jsxs)(u,{children:[(0,x.jsx)(a,{text:"31",weekend:!0}),(0,x.jsx)(a,{text:"1",showOtherMonth:t,empty:!t}),(0,x.jsx)(a,{text:"2",showOtherMonth:t,empty:!t}),(0,x.jsx)(a,{text:"3",showOtherMonth:t,empty:!t}),(0,x.jsx)(a,{text:"4",showOtherMonth:t,empty:!t}),(0,x.jsx)(a,{text:"5",showOtherMonth:t,empty:!t}),(0,x.jsx)(a,{text:"6",showOtherMonth:t,empty:!t,weekend:t})]})]}),...o});var co=require("react/jsx-runtime");var K=require("react/jsx-runtime"),po=e=>(0,K.jsx)(I,{calendarView:"year",calendarTitleText:"2019",children:(0,K.jsxs)(ce,{children:[(0,K.jsxs)(u,{children:[(0,K.jsx)(a,{text:"Jan"}),(0,K.jsx)(a,{text:"Feb"}),(0,K.jsx)(a,{text:"Mar"}),(0,K.jsx)(a,{text:"Apr"})]}),(0,K.jsxs)(u,{children:[(0,K.jsx)(a,{text:"May"}),(0,K.jsx)(a,{text:"Jun"}),(0,K.jsx)(a,{text:"Jul"}),(0,K.jsx)(a,{text:"Au"})]}),(0,K.jsxs)(u,{children:[(0,K.jsx)(a,{text:"Sep"}),(0,K.jsx)(a,{text:"Oct",today:!0}),(0,K.jsx)(a,{text:"Nov"}),(0,K.jsx)(a,{text:"Dec"})]})]}),...e});var c=require("react/jsx-runtime"),mo=({firstCaption:e="January 2021",secondCaption:t="February 2021",...o})=>(0,c.jsx)(L,{calendarTitleText:"January 2021",children:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("colgroup",{children:[(0,c.jsx)("col",{}),(0,c.jsx)("col",{}),(0,c.jsx)("col",{}),(0,c.jsx)("col",{}),(0,c.jsx)("col",{}),(0,c.jsx)("col",{}),(0,c.jsx)("col",{})]}),(0,c.jsxs)(V,{children:[(0,c.jsx)(u,{"aria-hidden":"true",children:(0,c.jsx)(X,{scope:"col",colSpan:7,text:e})}),(0,c.jsxs)(u,{children:[(0,c.jsx)(a,{empty:!0}),(0,c.jsx)(a,{empty:!0}),(0,c.jsx)(a,{empty:!0}),(0,c.jsx)(a,{empty:!0}),(0,c.jsx)(a,{empty:!0}),(0,c.jsx)(a,{text:"1"}),(0,c.jsx)(a,{text:"2",weekend:!0})]}),(0,c.jsxs)(u,{children:[(0,c.jsx)(a,{text:"3",weekend:!0}),(0,c.jsx)(a,{text:"4"}),(0,c.jsx)(a,{text:"5"}),(0,c.jsx)(a,{text:"6"}),(0,c.jsx)(a,{text:"7"}),(0,c.jsx)(a,{text:"8"}),(0,c.jsx)(a,{text:"9",weekend:!0})]}),(0,c.jsxs)(u,{children:[(0,c.jsx)(a,{text:"10",weekend:!0}),(0,c.jsx)(a,{text:"11"}),(0,c.jsx)(a,{text:"12"}),(0,c.jsx)(a,{text:"13"}),(0,c.jsx)(a,{text:"14"}),(0,c.jsx)(a,{text:"15"}),(0,c.jsx)(a,{text:"16",weekend:!0})]}),(0,c.jsxs)(u,{children:[(0,c.jsx)(a,{text:"17",weekend:!0}),(0,c.jsx)(a,{text:"18"}),(0,c.jsx)(a,{text:"19"}),(0,c.jsx)(a,{text:"20"}),(0,c.jsx)(a,{text:"21"}),(0,c.jsx)(a,{text:"22"}),(0,c.jsx)(a,{text:"23",weekend:!0})]}),(0,c.jsxs)(u,{children:[(0,c.jsx)(a,{text:"24",weekend:!0}),(0,c.jsx)(a,{text:"25"}),(0,c.jsx)(a,{text:"26"}),(0,c.jsx)(a,{text:"27"}),(0,c.jsx)(a,{text:"28"}),(0,c.jsx)(a,{text:"29"}),(0,c.jsx)(a,{text:"30",weekend:!0})]}),(0,c.jsxs)(u,{children:[(0,c.jsx)(a,{text:"31",weekend:!0}),(0,c.jsx)(a,{empty:!0}),(0,c.jsx)(a,{empty:!0}),(0,c.jsx)(a,{empty:!0}),(0,c.jsx)(a,{empty:!0}),(0,c.jsx)(a,{empty:!0}),(0,c.jsx)(a,{empty:!0})]})]}),(0,c.jsx)(V,{children:(0,c.jsx)(u,{"aria-hidden":"true",children:(0,c.jsx)(X,{scope:"col",colSpan:7,text:t})})})]}),...o});var b=require("react/jsx-runtime"),uo=({firstCaption:e="2021",secondCaption:t="2022",...o})=>(0,b.jsx)(L,{calendarView:"year",showWeekdays:!1,calendarTitleText:"2021",navigationItems:["2016","2017","2018","2019","2020","2021","2022","2023","2024","2025","2026","2027","2028","2029","2030","2031","2032","2033","2034","2035","2036","2037","2038","2039","2040","2041","2042"],navigationMarkerConfig:{2021:"marker",2030:"marker",2040:"marker"},children:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("colgroup",{children:[(0,b.jsx)("col",{}),(0,b.jsx)("col",{}),(0,b.jsx)("col",{}),(0,b.jsx)("col",{})]}),(0,b.jsxs)(V,{children:[(0,b.jsx)(u,{"aria-hidden":"true",children:(0,b.jsx)(X,{scope:"col",colSpan:4,text:e})}),(0,b.jsxs)(u,{children:[(0,b.jsx)(a,{text:"Jan",today:!0}),(0,b.jsx)(a,{text:"Feb"}),(0,b.jsx)(a,{text:"Mar"}),(0,b.jsx)(a,{text:"Apr"})]}),(0,b.jsxs)(u,{children:[(0,b.jsx)(a,{text:"May"}),(0,b.jsx)(a,{text:"Jun"}),(0,b.jsx)(a,{text:"Jul"}),(0,b.jsx)(a,{text:"Aug"})]}),(0,b.jsxs)(u,{children:[(0,b.jsx)(a,{text:"Sep"}),(0,b.jsx)(a,{text:"Oct"}),(0,b.jsx)(a,{text:"Nov"}),(0,b.jsx)(a,{text:"Dec"})]})]}),(0,b.jsxs)(V,{children:[(0,b.jsx)(u,{"aria-hidden":"true",children:(0,b.jsx)(X,{scope:"col",colSpan:4,text:t})}),(0,b.jsxs)(u,{children:[(0,b.jsx)(a,{text:"Jan"}),(0,b.jsx)(a,{text:"Feb"}),(0,b.jsx)(a,{text:"Mar"}),(0,b.jsx)(a,{text:"Apr"})]}),(0,b.jsxs)(u,{children:[(0,b.jsx)(a,{text:"May"}),(0,b.jsx)(a,{text:"Jun"}),(0,b.jsx)(a,{text:"Jul"}),(0,b.jsx)(a,{text:"Aug"})]}),(0,b.jsxs)(u,{children:[(0,b.jsx)(a,{text:"Sep"}),(0,b.jsx)(a,{text:"Oct"}),(0,b.jsx)(a,{text:"Nov"}),(0,b.jsx)(a,{text:"Dec"})]})]})]}),...o});var h=require("react/jsx-runtime"),Co=({firstCaption:e="2020 - 2029",secondCaption:t="2030 - 2039",...o})=>(0,h.jsx)(L,{calendarView:"decade",showWeekdays:!1,calendarTitleText:"2020 - 2029",navigationItems:["1970","1980","1990","2000","2010","2020","2030","2040","2050","2060","2070","2080","2090"],navigationMarkerConfig:{2020:"marker"},children:(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("colgroup",{children:[(0,h.jsx)("col",{}),(0,h.jsx)("col",{}),(0,h.jsx)("col",{}),(0,h.jsx)("col",{})]}),(0,h.jsxs)(V,{children:[(0,h.jsx)(u,{"aria-hidden":"true",children:(0,h.jsx)(X,{scope:"col",colSpan:4,text:e})}),(0,h.jsxs)(u,{children:[(0,h.jsx)(a,{text:"2020",today:!0}),(0,h.jsx)(a,{text:"2021"}),(0,h.jsx)(a,{text:"2022"}),(0,h.jsx)(a,{text:"2023"})]}),(0,h.jsxs)(u,{children:[(0,h.jsx)(a,{text:"2024"}),(0,h.jsx)(a,{text:"2025"}),(0,h.jsx)(a,{text:"2026"}),(0,h.jsx)(a,{text:"2027"})]}),(0,h.jsxs)(u,{children:[(0,h.jsx)(a,{text:"2028"}),(0,h.jsx)(a,{text:"2029"}),(0,h.jsx)(a,{empty:!0}),(0,h.jsx)(a,{empty:!0})]})]}),(0,h.jsxs)(V,{children:[(0,h.jsx)(u,{"aria-hidden":"true",children:(0,h.jsx)(X,{scope:"col",colSpan:4,text:t})}),(0,h.jsxs)(u,{children:[(0,h.jsx)(a,{text:"2030"}),(0,h.jsx)(a,{text:"2031"}),(0,h.jsx)(a,{text:"2032"}),(0,h.jsx)(a,{text:"2033"})]}),(0,h.jsxs)(u,{children:[(0,h.jsx)(a,{text:"2034"}),(0,h.jsx)(a,{text:"2035"}),(0,h.jsx)(a,{text:"2036"}),(0,h.jsx)(a,{text:"2037"})]}),(0,h.jsxs)(u,{children:[(0,h.jsx)(a,{text:"2038"}),(0,h.jsx)(a,{text:"2039"}),(0,h.jsx)(a,{empty:!0}),(0,h.jsx)(a,{empty:!0})]})]})]}),...o});var g=require("react/jsx-runtime"),fo=({firstCaption:e="2000 - 2099",...t})=>(0,g.jsx)(L,{calendarView:"century",showWeekdays:!1,calendarTitleText:"2000 - 2099",navigationItems:["1900","2000"],navigationMarkerConfig:{2e3:"marker"},children:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("colgroup",{children:[(0,g.jsx)("col",{}),(0,g.jsx)("col",{}),(0,g.jsx)("col",{}),(0,g.jsx)("col",{})]}),(0,g.jsxs)(V,{children:[(0,g.jsx)(u,{"aria-hidden":"true",children:(0,g.jsx)(X,{scope:"col",colSpan:4,text:e})}),(0,g.jsxs)(u,{children:[(0,g.jsx)(a,{text:"1900 - 1999"}),(0,g.jsx)(a,{text:"2000 - 2009"}),(0,g.jsx)(a,{text:"2010 - 2019"}),(0,g.jsx)(a,{text:"2020 - 2029"})]}),(0,g.jsxs)(u,{children:[(0,g.jsx)(a,{text:"2030 - 2039"}),(0,g.jsx)(a,{text:"2040 - 2049"}),(0,g.jsx)(a,{text:"2050 - 2059"}),(0,g.jsx)(a,{text:"2060 - 2069"})]}),(0,g.jsxs)(u,{children:[(0,g.jsx)(a,{text:"2070 - 2079"}),(0,g.jsx)(a,{text:"2080 - 2089"}),(0,g.jsx)(a,{text:"2090 - 2099"}),(0,g.jsx)(a,{empty:!0})]})]})]}),...t});var aa=require("react/jsx-runtime");var xo=require("react/jsx-runtime");var oa=require("react/jsx-runtime");var xt=require("react/jsx-runtime"),pl=I.options,ml=I.states,bo={...I.defaultOptions,variant:"month"},ul=[{name:"month",title:"Month View"},{name:"year",title:"Year View"},{name:"decade",title:"Decade View"},{name:"century",title:"Century View"}],Cl=[{name:"footer",title:"Calendar Footer"},{name:"other",title:"Show other cells"}],Je=e=>{let{variant:t,modifiers:o,...l}={...bo,...e},n={showCalendarFooter:!1};Object.keys(o||{}).forEach(f=>{switch(f){case"other":n.showOtherMonth=!!(o!=null&&o[f]),n.showOtherCentury=!!(o!=null&&o[f]),n.showOtherDecade=!!(o!=null&&o[f]);break;case"footer":n.showCalendarFooter=!!(o!=null&&o[f]);break;default:return}});let{showOtherMonth:i,showOtherDecade:m,showOtherCentury:p,showCalendarFooter:C}=n;switch(t){case"century":return(0,xt.jsx)(io,{size:l.size,showOtherCentury:p,showCalendarFooter:C});case"decade":return(0,xt.jsx)(so,{size:l.size,showOtherDecade:m,showCalendarFooter:C});case"year":return(0,xt.jsx)(po,{calendarTitleText:"2021",size:l.size,showCalendarFooter:C});default:return(0,xt.jsx)(ft,{size:l.size,showOtherMonth:i,showCalendarFooter:C})}};Je.options=pl;Je.states=ml;Je.variants=ul;Je.defaultOptions=bo;Je.modifiers=Cl;Je.className=I.className;var bt=require("react/jsx-runtime"),fl=L.options,xl=L.states,ho={...L.defaultOptions,variant:"month"},bl=[{name:"month",title:"Month View"},{name:"year",title:"Year View"},{name:"decade",title:"Decade View"},{name:"century",title:"Century View"}],hl=[{name:"footer",title:"Calendar Footer"},{name:"other",title:"Show other cells"}],Xe=e=>{let{variant:t,modifiers:o,...l}={...ho,...e},n={showCalendarFooter:!1};Object.keys(o||{}).forEach(f=>{switch(f){case"other":n.showOtherMonth=!!(o!=null&&o[f]),n.showOtherCentury=!!(o!=null&&o[f]),n.showOtherDecade=!!(o!=null&&o[f]);break;case"footer":n.showCalendarFooter=!!(o!=null&&o[f]);break;default:return}});let{showOtherMonth:i,showOtherDecade:m,showOtherCentury:p,showCalendarFooter:C}=n;switch(t){case"century":return(0,bt.jsx)(fo,{size:l.size,showOtherCentury:p,showCalendarFooter:C});case"decade":return(0,bt.jsx)(Co,{size:l.size,showOtherDecade:m,showCalendarFooter:C});case"year":return(0,bt.jsx)(uo,{size:l.size,showCalendarFooter:C});default:return(0,bt.jsx)(mo,{size:l.size,showOtherMonth:i,showCalendarFooter:C})}};Xe.options=fl;Xe.states=xl;Xe.variants=bl;Xe.defaultOptions=ho;Xe.modifiers=hl;Xe.className=L.className;var na="action-buttons",No=na;var ko=require("react/jsx-runtime"),Mt="k-actions",Nl=[],kl={},la={alignment:"start",orientation:"horizontal"},Ne=e=>{let{alignment:t=la.alignment,orientation:o=la.orientation,...l}=e;return(0,ko.jsx)("div",{...l,className:r(Mt,{[`${Mt}-${t}`]:t,[`${Mt}-${o}`]:o},e.className),children:e.children})};Ne.states=Nl;Ne.options=kl;Ne.className=Mt;Ne.defaultOptions=la;Ne.moduleName=na;Ne.folderName=No;var To=require("react/jsx-runtime"),yl="k-actionsheet-footer",yo={alignment:"stretched",orientation:"horizontal"},qe=e=>{let{alignment:t=yo.alignment,orientation:o=yo.orientation,template:l,as:n=l?"div":Ne,...i}=e;return(0,To.jsx)(n,{...i,...!l&&{alignment:t,orientation:o},className:r(e.className,yl),children:e.children})};var ra="searchbox",vo=ra;var ke=require("react/jsx-runtime"),wo="k-searchbox",Tl=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading],vl={size:[s.undefined,s.small,s.medium,s.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[w.undefined,w.solid,w.flat,w.outline]},ia={showIcon:!0,icon:"search"},ye=e=>{let{value:t,placeholder:o,size:l,rounded:n,fillMode:i,hover:m,focus:p,valid:C,invalid:f,required:v,loading:y,disabled:A,showIcon:Y=ia.showIcon,icon:F=ia.icon,"aria-label":D,...E}=e;return(0,ke.jsxs)(z,{...E,size:l,rounded:n,fillMode:i,hover:m,focus:p,valid:C,invalid:f,required:v,loading:y,disabled:A,className:r(e.className,wo),children:[Y&&(0,ke.jsx)(S,{className:"k-input-icon",icon:F}),(0,ke.jsx)(ae,{placeholder:o,value:t,"aria-label":D}),(0,ke.jsx)(se,{...e}),(0,ke.jsx)(oe,{...e}),(0,ke.jsx)(te,{...e})]})};ye.states=Tl;ye.options=vl;ye.className=wo;ye.defaultOptions=ia;ye.moduleName=ra;ye.folderName=vo;var wl=require("react/jsx-runtime");var sa="textbox",go=sa;var q=require("react/jsx-runtime"),Ao="k-textbox",gl=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading,d.readonly],Al={size:[s.undefined,s.small,s.medium,s.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[w.undefined,w.solid,w.flat,w.outline]},Rt={showClearButton:!0,showValidationIcon:!0,separators:!0},G=e=>{let{size:t,rounded:o,fillMode:l,separators:n=Rt.separators,showClearButton:i=Rt.showClearButton,showValidationIcon:m=Rt.showValidationIcon,prefix:p,suffix:C,type:f,value:v,placeholder:y,hover:A,focus:Y,valid:F,invalid:D,required:E,loading:O,disabled:Q,readonly:pe,id:me,"aria-label":xe,"aria-describedby":be,...ge}=e;return(0,q.jsxs)(z,{...ge,size:t,rounded:o,fillMode:l,hover:A,focus:Y,valid:F,invalid:D,required:E,loading:O,disabled:Q,readonly:pe,className:r(e.className,Ao),children:[p&&(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(Pe,{children:p}),n&&(0,q.jsx)(Ke,{})]}),(0,q.jsx)(ae,{id:me,placeholder:y,value:v,type:f,disabled:Q,"aria-label":xe,"aria-describedby":be,"aria-invalid":D?"true":void 0}),m&&(0,q.jsx)(oe,{valid:F,invalid:D,loading:O,disabled:Q}),(0,q.jsx)(se,{loading:O,disabled:Q}),i&&(0,q.jsx)(te,{loading:O,disabled:Q,readonly:pe,value:v}),C&&(0,q.jsxs)(q.Fragment,{children:[n&&(0,q.jsx)(Ke,{}),(0,q.jsx)(_e,{children:C})]})]})};G.states=gl;G.options=Al;G.className=Ao;G.defaultOptions=Rt;G.moduleName=sa;G.folderName=go;G.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var ht=G;var Eo=require("react/jsx-runtime"),So=e=>(0,Eo.jsx)(ht,{...e});var Io=require("react/jsx-runtime");var Mo=require("react/jsx-runtime");var Sl=require("react/jsx-runtime");var Lt=require("react/jsx-runtime"),El=G.states,Il=G.defaultOptions,Ml=G.options,Rl=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Ll=[],Ye=e=>{let{modifiers:t,...o}=e,l={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":l.prefix=t!=null&&t[n]?(0,Lt.jsx)(S,{icon:"lock"}):void 0;break;case"suffix":l.suffix=t!=null&&t[n]?(0,Lt.jsx)(Se,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":l.showClearButton=t==null?void 0:t[n];break;default:break}}),(0,Lt.jsx)(So,{value:"Value",style:{width:300},...o,...l})};Ye.options=Ml;Ye.states=El;Ye.variants=Ll;Ye.defaultOptions=Il;Ye.modifiers=Rl;Ye.className=G.className;var j=require("react/jsx-runtime"),Ro="k-actionsheet-titlebar",Ol={},le=e=>{let{title:t,subtitle:o,actionsStart:l,actionsEnd:n,filter:i,input:m,inputValue:p,inputPlaceholder:C,adaptive:f,titleId:v,children:y,...A}=e;return(0,j.jsxs)("div",{...A,className:r(e.className,Ro),children:[(0,j.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[l&&(0,j.jsx)("div",{className:"k-actionsheet-actions",children:l}),!y&&(0,j.jsxs)("div",{className:"k-actionsheet-title",id:v,children:[t&&(0,j.jsx)("div",{className:"k-text-center",children:t}),o&&(0,j.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),y&&(0,j.jsx)("div",{className:"k-actionsheet-title",id:v,children:y}),n&&(0,j.jsx)("div",{className:"k-actionsheet-actions",children:n})]}),(m||i)&&(0,j.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:m?(0,j.jsx)(G,{value:p,placeholder:C,size:f?"large":"medium","aria-label":t||C||"Input"}):(0,j.jsx)(ye,{placeholder:"Filter",size:f?"large":"medium","aria-label":"Filter options"})})]})};le.className=Ro;le.defaultOptions=Ol;var Ge=require("react/jsx-runtime"),da="k-actionsheet-view",Pl=[],_l={},Kl={},Qe=e=>{let{adaptive:t,animated:o,children:l,header:n,footer:i,titleId:m,...p}=e,C=(n==null?void 0:n.type)===le&&(0,Ge.jsx)(le,{adaptive:t,titleId:m,...n==null?void 0:n.props}),f=(i==null?void 0:i.type)===qe&&(0,Ge.jsx)(qe,{...i==null?void 0:i.props});return(0,Ge.jsxs)("div",{...p,className:r(e.className,da,{[`${da}-animated`]:o}),children:[C,(0,Ge.jsx)("div",{className:"k-actionsheet-content",children:l}),f]})};Qe.states=Pl;Qe.options=_l;Qe.className=da;Qe.defaultOptions=Kl;var Nt="action-sheet",Ot=Nt;var ca="overlay",Lo=ca;var Po=require("react/jsx-runtime"),Oo="k-overlay",Hl=[],Dl={},zl={},Te=e=>{let{...t}=e;return(0,Po.jsx)("div",{...t,className:r(e.className,Oo),children:e.children})};Te.states=Hl;Te.options=Dl;Te.className=Oo;Te.defaultOptions=zl;Te.moduleName=ca;Te.folderName=Lo;var Re=require("react/jsx-runtime"),_o="k-actionsheet",Bl=[],Vl={},kt={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},$=e=>{let{side:t=kt.side,fullscreen:o=kt.fullscreen,adaptive:l=kt.adaptive,overlay:n=kt.overlay,template:i,children:m,header:p,footer:C,id:f,...v}=e,y=f&&!i&&p?`${f}-title`:void 0;return(0,Re.jsxs)("div",{className:"k-actionsheet-container",children:[n&&(0,Re.jsx)(Te,{}),(0,Re.jsx)(de,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:(0,Re.jsx)("div",{...v,id:f,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":y,className:r(e.className,_o,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":l}),children:i||(0,Re.j