UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

2 lines (1 loc) 37.8 kB
var Ja=Object.create;var Re=Object.defineProperty;var Ga=Object.getOwnPropertyDescriptor;var Ya=Object.getOwnPropertyNames;var qa=Object.getPrototypeOf,Xa=Object.prototype.hasOwnProperty;var Qa=(t,a)=>{for(var l in a)Re(t,l,{get:a[l],enumerable:!0})},qe=(t,a,l,o)=>{if(a&&typeof a=="object"||typeof a=="function")for(let i of Ya(a))!Xa.call(t,i)&&i!==l&&Re(t,i,{get:()=>a[i],enumerable:!(o=Ga(a,i))||o.enumerable});return t};var Za=(t,a,l)=>(l=t!=null?Ja(qa(t)):{},qe(a||!t||!t.__esModule?Re(l,"default",{value:t,enumerable:!0}):l,t)),ja=t=>qe(Re({},"__esModule",{value:!0}),t);var Ft={};Qa(Ft,{MultiViewCalendar:()=>J,default:()=>Bt});module.exports=ja(Ft);var c=(...t)=>t.filter(a=>a!==!0&&!!a).map(a=>Array.isArray(a)?c(...a):typeof a=="object"?Object.keys(a).map((l,o)=>a[o]||a[l]&&l||null).filter(l=>l!==null).join(" "):a).filter(a=>!!a).join(" ");var _=(t,a)=>c({[`${t}-xs`]:a.size==="xsmall",[`${t}-sm`]:a.size==="small",[`${t}-md`]:a.size==="medium",[`${t}-lg`]:a.size==="large",[`${t}-xl`]:a.size==="xlarge",[`${t}-xxl`]:a.size==="xxlarge",[`${t}-xxxl`]:a.size==="xxxlarge"},{[`${t}-${a.fillMode}`]:a.fillMode},{[`${t}-${a.themeColor}`]:a.themeColor},{"k-rounded-sm":a.rounded==="small","k-rounded-md":a.rounded==="medium","k-rounded-lg":a.rounded==="large","k-rounded-full":a.rounded==="full","k-rounded-none":a.rounded==="none"}),Ee=(t,a)=>{let{valid:l,invalid:o,hover:i,focus:u,checked:b,active:x,selected:w,disabled:f,indeterminate:A,loading:E,empty:I,readonly:j,highlighted:Ce,...W}=a;return c({"k-valid":l,"k-invalid":o,"k-hover":i,"k-focus":u,"k-checked":b,"k-active":x,"k-selected":w,"k-disabled":f,"k-indeterminate":A&&!b,"k-loading":E,"k-empty":I,"k-readonly":j,"k-highlighted":Ce},Object.keys(W).reduce((O,H)=>(H.startsWith("k-")?O[H]=W[H]:O[`k-${H}`]=W[H],O),{}))};function Xe(t,a){if(!a)return{};let l=Array.isArray(a)?a:[a];return Object.fromEntries(l.map(o=>[`k-${o}`,!0]))}var r={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},G={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},Y={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},B={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},p={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},z={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 ze={};function ee(t){return ze[t]=(ze[t]||0)+1,`k-${t}-${ze[t]}`}var Ze=require("react/jsx-runtime"),Qe="k-calendar-view",Ke={orientation:"horizontal",calendarView:"month"},Le=t=>{let{orientation:a=Ke.orientation,calendarView:l=Ke.calendarView,gridRole:o,ariaLabelledBy:i,...u}=t;return(0,Ze.jsx)("div",{...u,className:c(t.className,Qe,`k-calendar-${l}view`,"k-align-items-start","k-justify-content-center",{"k-hstack":a==="horizontal","k-vstack":a==="vertical"}),...o?{role:"grid","aria-labelledby":i,tabIndex:0}:{},children:t.children})};Le.className=Qe;Le.defaultOptions=Ke;var ue=require("react/jsx-runtime"),He="k-font-icon",et=[],at={size:[r.undefined,r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info]},tt={},xe=t=>{let{size:a,themeColor:l,icon:o,rotate:i,flip:u,...b}=t;return o?(0,ue.jsx)("span",{...b,className:c(t.className,He,_(He,{size:a}),{[`k-i-${o}`]:o,[`k-color-${l}`]:l,[`k-rotate-${i}`]:i,"k-flip-h":u==="h"||u==="both","k-flip-v":u==="v"||u==="both"}),"aria-hidden":"true"}):(0,ue.jsx)(ue.Fragment,{})};xe.states=et;xe.options=at;xe.className=He;xe.defaultOptions=tt;var je=xe;var q=require("react/jsx-runtime"),_e="k-svg-icon",lt=[],nt={size:[r.undefined,r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info],variant:[B.outline,B.solid,B.duotone]},Ve={viewBox:"0 0 24 24",variant:B.outline},be=t=>{var E,I;let{size:a,themeColor:l,rotate:o,flip:i,viewBox:u=Ve.viewBox,variant:b=Ve.variant,icon:x,...w}=t;if(!x)return(0,q.jsx)(q.Fragment,{});if(x==="none")return(0,q.jsx)("span",{...w,className:c(t.className,_e,_("k-icon",{size:a}),"k-none"),"aria-hidden":"true"});let f=typeof x=="object"&&x.name&&x.name,A=typeof x=="object"?b&&((E=x.variants)==null?void 0:E[b])||((I=x.variants)==null?void 0:I.outline)||x.content:void 0;return(0,q.jsx)("span",{...w,className:c(t.className,_e,_("k-icon",{size:a}),{[`k-svg-i-${f}`]:f,[`k-color-${l}`]:l,[`k-rotate-${o}`]:o,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true",children:(0,q.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof x=="object"?x.viewBox:u,dangerouslySetInnerHTML:A!==void 0?{__html:A}:void 0,children:x?void 0:t.children})})};be.states=lt;be.options=nt;be.className=_e;be.defaultOptions=Ve;var Be=be;var Fe=Za(require("@progress/kendo-svg-icons"));var ea="icon",aa="icons";var na=require("react");var ta=require("react"),la=(0,ta.createContext)({iconsType:"svg"});var U=require("react/jsx-runtime"),Me="k-icon",ot=t=>t.replace(/([-_][a-z0-9])/gi,a=>a.toUpperCase().replace("-","").replace("_","")),rt=[],dt={size:[r.undefined,r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info],variant:[B.outline,B.solid,B.duotone]},Ie={viewBox:"0 0 24 24",type:"svg",variant:B.outline},F=t=>{let{iconsType:a}=(0,na.useContext)(la),{size:l,themeColor:o,icon:i,type:u=a||Ie.type,rotate:b,flip:x,viewBox:w=Ie.viewBox,variant:f=Ie.variant,...A}=t;if(!i)return(0,U.jsx)(U.Fragment,{});if((a||u)==="svg"){if(i==="none")return(0,U.jsx)(Be,{...A,className:c(t.className,Me),icon:i,size:l,variant:f});let I=Fe[i]?i:ot(`${i}-icon`);return Fe[I]?(0,U.jsx)(Be,{...A,className:c(t.className,Me),icon:Fe[I],size:l,themeColor:o,rotate:b,flip:x,viewBox:w,variant:f}):(0,U.jsx)(U.Fragment,{})}return(0,U.jsx)(je,{...A,className:c(t.className,Me),icon:i,size:l,themeColor:o,rotate:b,flip:x})};F.states=rt;F.options=dt;F.defaultOptions=Ie;F.className=Me;F.moduleName=ea;F.folderName=aa;F.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 Pe="button",oa=Pe;var K=require("react/jsx-runtime"),fe="k-button",it=["icon-button"],st=[z.hover,z.focus,z.active,z.selected,z.disabled,z.generating],ct={size:[r.undefined,r.xsmall,r.small,r.medium,r.large],rounded:[G.undefined,G.none,G.small,G.medium,G.large,G.full],fillMode:[Y.undefined,Y.solid,Y.flat,Y.outline,Y.clear,Y.link],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.inverse]},We={showArrow:!1,arrowIconName:"chevron-down"},y=t=>{let{as:a="button",size:l,rounded:o,fillMode:i,themeColor:u,showArrow:b=We.showArrow,arrowIconName:x=We.arrowIconName,variant:w,hover:f,focus:A,active:E,selected:I,disabled:j,togglable:Ce,ariaDisabled:W,icon:O,iconSize:H,text:me,iconClassName:ve,className:pe,...Oe}=t,Ae=O!=null,$a=t.children!==void 0;return(0,K.jsxs)(a,{className:c(pe,fe,Xe(fe,w),_(fe,{size:l,rounded:o,fillMode:i,themeColor:u}),Ee(fe,{hover:f,focus:A,active:E,disabled:j||W,selected:I}),{"k-icon-button":!me&&!$a&&Ae}),"aria-pressed":Ce?I?"true":"false":void 0,...Oe,"aria-disabled":W?"true":void 0,disabled:j||void 0,children:[typeof O=="string"&&O&&(0,K.jsx)(F,{className:c(ve,"k-button-icon"),icon:O,size:H}),O&&typeof O!="string"&&(0,K.jsx)(K.Fragment,{children:O}),me?(0,K.jsxs)(K.Fragment,{children:[me&&(0,K.jsx)("span",{className:"k-button-text",children:me}),t.children]}):t.children&&(0,K.jsx)("span",{className:"k-button-text",children:t.children}),b&&(0,K.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,K.jsx)(F,{icon:x})})]})};y.states=st;y.options=ct;y.variants=it;y.className=fe;y.defaultOptions=We;y.moduleName=Pe;y.folderName=oa;y.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 da=require("react/jsx-runtime"),ra=t=>(0,da.jsx)(y,{icon:"folder",...t,"aria-label":t["aria-label"]||"Folder",children:void 0});var sa=require("react/jsx-runtime"),ia=t=>(0,sa.jsx)(y,{icon:"folder",children:"Button",...t});var Ca=require("react/jsx-runtime"),ca=t=>(0,Ca.jsx)(y,{children:"Button",...t});var Se=require("react/jsx-runtime"),Ct=y.options,mt=y.states,pt={...y.defaultOptions,variant:"text"},ut=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],xt=[],ae=t=>{let{variant:a,...l}=t;switch(a){case"icon-only":return(0,Se.jsx)(ra,{...l,icon:"star"});case"icon-and-text":return(0,Se.jsx)(ia,{...l,icon:"star",children:"Button"});default:return(0,Se.jsx)(ca,{...l,children:"Button"})}};ae.options=Ct;ae.states=mt;ae.variants=ut;ae.defaultOptions=pt;ae.modifiers=xt;ae.className=y.className;var $=require("react/jsx-runtime"),ma="k-calendar-header",bt={size:[r.undefined,r.small,r.medium,r.large]},we={calendarTitleText:"October 2021",showToday:!0,showNavigationButtons:!0,orientation:"horizontal"},X=t=>{let{calendarTitleText:a=we.calendarTitleText,showToday:l=we.showToday,showNavigationButtons:o=we.showNavigationButtons,orientation:i=we.orientation,size:u,calendarView:b,dir:x,titleId:w,...f}=t,A=x==="rtl"?"chevron-right":"chevron-left",E=x==="rtl"?"chevron-left":"chevron-right",I=w||ee("calendar-title");return(0,$.jsxs)("div",{...f,className:c(t.className,ma,{"k-vstack":i==="vertical"}),children:[(0,$.jsx)(y,{disabled:b==="century",className:"k-calendar-title",text:a,size:u,fillMode:"flat",themeColor:"primary",id:I,tabIndex:-1,"aria-label":`Navigate to parent view: ${a}`,...b==="century"?{"aria-disabled":"true"}:{}}),(0,$.jsx)("span",{className:"k-spacer"}),(0,$.jsxs)("span",{className:"k-calendar-nav",children:[o&&(0,$.jsx)(y,{className:"k-calendar-nav-prev",icon:A,size:u,fillMode:"flat",tabIndex:-1,"aria-label":"Navigate to previous view"}),l&&(0,$.jsx)(y,{size:u,fillMode:"flat",className:"k-calendar-nav-today",tabIndex:-1,children:"Today"}),o&&(0,$.jsx)(y,{className:"k-calendar-nav-next",icon:E,size:u,fillMode:"flat",tabIndex:-1,"aria-label":"Navigate to next view"})]})]})};X.options=bt;X.className=ma;X.defaultOptions=we;var Ue=require("react/jsx-runtime"),pa="k-calendar-footer",ft={size:[r.undefined,r.small,r.medium,r.large]},ua={calendarFooterText:"Tuesday, October 12, 2021"},ke=t=>{let{size:a,calendarFooterText:l=ua.calendarFooterText,...o}=t;return(0,Ue.jsx)("div",{...o,className:c(t.className,pa),children:(0,Ue.jsx)(y,{size:a,fillMode:"flat",themeColor:"primary",className:"k-calendar-nav-today",children:l})})};ke.options=ft;ke.className=pa;ke.defaultOptions=ua;var L="calendar",S=L;var te=require("react/jsx-runtime"),$e="k-calendar",wt=[],kt={size:[r.undefined,r.small,r.medium,r.large]},ye={showCalendarHeader:!0,orientation:"horizontal",calendarView:"month",calendarTitleText:"October 2021"},h=t=>{let{size:a,orientation:l=ye.orientation,calendarView:o=ye.calendarView,calendarTitleText:i=ye.calendarTitleText,showCalendarHeader:u=ye.showCalendarHeader,showWeek:b,showCalendarFooter:x,calendarFooterText:w,dir:f,...A}=t,E=ee("calendar-title");return(0,te.jsxs)("div",{...A,dir:f,className:c(t.className,$e,_($e,{size:a}),{"k-week-number":b}),children:[u&&(0,te.jsx)(X,{calendarView:o,showToday:!x,calendarTitleText:i,orientation:l,size:a,dir:f,titleId:E}),(0,te.jsx)(Le,{calendarView:o,orientation:l,gridRole:!0,ariaLabelledBy:E,children:t.children}),x&&(0,te.jsx)(ke,{calendarFooterText:w,size:a})]})};h.states=wt;h.options=kt;h.className=$e;h.defaultOptions=ye;h.moduleName=L;h.folderName=S;h.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 ba=require("react/jsx-runtime"),xa="k-calendar-container",yt=[],ht={},Tt={},le=t=>{let{...a}=t;return(0,ba.jsx)("div",{...a,className:c(t.className,xa),children:t.children})};le.states=yt;le.options=ht;le.className=xa;le.defaultOptions=Tt;le.moduleName=L;le.folderName=S;var V=require("react/jsx-runtime"),gt=[z.hover,z.focus,z.active,z.selected,z.disabled],e=t=>{let{text:a,headerCell:l,today:o,weekend:i,showOtherMonth:u,weekCell:b,rangeStart:x,rangeMid:w,rangeEnd:f,dayIndicator:A,empty:E,hover:I,focus:j,active:Ce,selected:W,disabled:O,...H}=t,ve=`k-calendar-${l?"th":"td"}`,pe=[t.className,ve,Ee(ve,{hover:I,focus:j,active:Ce,selected:W,disabled:O}),{"k-today":o,"k-weekend":i,"k-other-month":u,"k-alt":b,"k-range-start":x,"k-range-mid":w,"k-range-end":f,"k-empty":E}],Oe={Su:"Sunday",Mo:"Monday",Tu:"Tuesday",We:"Wednesday",Th:"Thursday",Fr:"Friday",Sa:"Saturday",W:"Week number"};if(l){let Ae=a?Oe[a]||a:void 0;return(0,V.jsx)("th",{...H,className:c(pe),role:"columnheader",scope:"col","aria-label":Ae,children:b?(0,V.jsx)("span",{className:"k-sr-only",children:Ae}):a})}return b?(0,V.jsx)("td",{...H,className:c(pe),children:a}):(0,V.jsx)("td",{...H,className:c(pe),role:"gridcell",...W?{"aria-selected":"true"}:{},...O?{"aria-disabled":"true"}:{},children:E&&!u?(0,V.jsx)(V.Fragment,{children:"\xA0"}):(0,V.jsxs)("span",{className:"k-link",children:[a,A&&(0,V.jsx)("span",{className:"k-day-indicator"})]})})};e.states=gt;var ne=require("react/jsx-runtime"),fa="k-calendar-thead",wa={cellsText:["Su","Mo","Tu","We","Th","Fr","Sa"]},oe=t=>{let{showWeek:a,cellsText:l=wa.cellsText,...o}=t;return(0,ne.jsx)("thead",{...o,className:c(t.className,fa),role:"rowgroup",children:(0,ne.jsxs)("tr",{className:"k-calendar-tr",role:"row",children:[a&&(0,ne.jsx)(e,{weekCell:!0,headerCell:!0,text:"W"}),l.map((i,u)=>(0,ne.jsx)(e,{text:i,headerCell:!0},u))]})})};oe.className=fa;oe.defaultOptions=wa;var ya=require("react/jsx-runtime"),ka="k-calendar-tbody",R=t=>{let{...a}=t;return(0,ya.jsx)("tbody",{...a,className:c(t.className,ka),role:"rowgroup",children:t.children})};R.className=ka;R.moduleName=L;R.folderName=S;var re=require("react/jsx-runtime"),Nt="k-calendar-table",P=t=>{let{calendarCaption:a,showTableHead:l,showWeek:o,ariaLabelledBy:i,ariaActiveDescendant:u,gridRole:b,...x}=t;return(0,re.jsxs)("table",{...x,className:c(t.className,Nt),...b?{role:"grid","aria-labelledby":i,"aria-activedescendant":u,tabIndex:0}:{role:"none"},children:[a&&(0,re.jsx)("caption",{className:"k-calendar-caption",children:a}),l&&(0,re.jsx)(oe,{showWeek:o}),(0,re.jsx)(R,{children:t.children})]})};var Q=require("react/jsx-runtime"),ha="k-calendar-navigation",he=t=>(0,Q.jsxs)("div",{...t,className:c(t.className,ha),children:[(0,Q.jsx)("span",{className:"k-calendar-navigation-highlight"}),(0,Q.jsxs)("div",{className:"k-content k-scrollable",children:[(0,Q.jsx)("ul",{className:"k-reset",children:t.children}),(0,Q.jsx)("div",{className:"k-scrollable-placeholder",style:{height:"1000px"}})]})]});he.className=ha;he.moduleName=L;he.folderName=S;var Ta=require("react/jsx-runtime"),vt="k-calendar-table",Je=t=>{let{tableRole:a="none",ariaLabelledBy:l,...o}=t;return(0,Ta.jsx)("table",{...o,className:c(t.className,vt),role:a,...l?{"aria-labelledby":l}:{},...a==="grid"?{tabIndex:0}:{},children:t.children})};var M=require("react/jsx-runtime"),ga="k-calendar-view",de={orientation:"vertical",calendarView:"month",headerText:"April 2018",showWeekdays:!0,showNavigationButtons:!1},ie=t=>{let{orientation:a=de.orientation,calendarView:l=de.calendarView,headerText:o=de.headerText,showWeekdays:i=de.showWeekdays,showNavigationButtons:u=de.showNavigationButtons,showWeekNumbers:b,weekdayCellsText:x,gridLabelledBy:w,...f}=t;return(0,M.jsxs)("div",{...f,className:c(ga,`k-calendar-${l}view`,t.className,{"k-hstack":a==="horizontal","k-vstack":a==="vertical"}),children:[(0,M.jsx)(X,{showNavigationButtons:u,calendarTitleText:o,orientation:"horizontal"}),i&&(0,M.jsxs)(Je,{className:"k-calendar-weekdays",tableRole:"table",children:[(0,M.jsxs)("colgroup",{children:[(0,M.jsx)("col",{}),(0,M.jsx)("col",{}),(0,M.jsx)("col",{}),(0,M.jsx)("col",{}),(0,M.jsx)("col",{}),(0,M.jsx)("col",{}),(0,M.jsx)("col",{})]}),(0,M.jsx)(oe,{cellsText:x,showWeek:b})]}),(0,M.jsxs)("div",{className:"k-content k-scrollable",role:"none",children:[(0,M.jsx)(Je,{tableRole:"grid",ariaLabelledBy:w,children:t.children}),(0,M.jsx)("div",{className:"k-scrollable-placeholder",style:{height:"1000px"}})]})]})};ie.className=ga;ie.defaultOptions=de;ie.moduleName=L;ie.folderName=S;var Z=require("react/jsx-runtime"),Na="k-calendar-infinite",At={size:[r.undefined,r.small,r.medium,r.large]},Rt=["Aug","Sep","Oct","Nov","Dec","2021","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","2022","Feb","Mar","Apr","May","Jun","Jul"],Et={2021:"marker",2022:"marker"},Lt=(t,a)=>t.map((l,o)=>(0,Z.jsx)("li",{children:(0,Z.jsx)("span",{className:a[l]==="marker"?"k-calendar-navigation-marker":void 0,children:l})},o)),Te={showNavigation:!0,calendarView:"month",navigationItems:Rt,navigationMarkerConfig:Et},T=t=>{let{size:a,showNavigation:l=Te.showNavigation,calendarView:o=Te.calendarView,navigationItems:i=Te.navigationItems,navigationMarkerConfig:u=Te.navigationMarkerConfig,calendarTitleText:b,showWeekdays:x,showWeekNumbers:w,showNavigationButtons:f,calendarWeekdays:A,...E}=t,I=ee("calendar-infinite-title");return(0,Z.jsxs)("div",{...E,className:c(t.className,"k-calendar",Na,_("k-calendar",{size:a})),children:[l&&(0,Z.jsx)(he,{children:Lt(i,u)}),(0,Z.jsx)(ie,{calendarView:o,headerText:b,showWeekdays:x,showWeekNumbers:w,showNavigationButtons:f,orientation:"vertical",weekdayCellsText:A,gridLabelledBy:I,children:t.children})]})};T.options=At;T.className=Na;T.defaultOptions=Te;T.moduleName=L;T.folderName=S;T.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 Aa=require("react/jsx-runtime"),va="k-calendar-tr",d=t=>{let{...a}=t;return(0,Aa.jsx)("tr",{...a,className:c(t.className,va),role:"row",children:t.children})};d.className=va;d.moduleName=L;d.folderName=S;var Ea=require("react/jsx-runtime"),Ra="k-calendar-caption",D=t=>{let{text:a,scope:l,colSpan:o,rowSpan:i,...u}=t;return(0,Ea.jsx)("th",{...u,scope:l,colSpan:o,rowSpan:i,className:c(t.className,Ra),children:a})};D.className=Ra;D.moduleName=L;D.folderName=S;var g=require("react/jsx-runtime"),La=({showOtherCentury:t,...a})=>(0,g.jsx)(h,{calendarView:"century",calendarTitleText:"2000 - 2099",children:(0,g.jsxs)(P,{children:[(0,g.jsxs)(d,{children:[(0,g.jsx)(e,{text:"1990 - 1999"}),(0,g.jsx)(e,{text:"2000 - 2009"}),(0,g.jsx)(e,{text:"2010 - 2019",today:!0}),(0,g.jsx)(e,{text:"2020 - 2029"})]}),(0,g.jsxs)(d,{children:[(0,g.jsx)(e,{text:"2030 - 2039"}),(0,g.jsx)(e,{text:"2040 - 2049"}),(0,g.jsx)(e,{text:"2050 - 2059"}),(0,g.jsx)(e,{text:"2060 - 2069"})]}),(0,g.jsxs)(d,{children:[(0,g.jsx)(e,{text:"2070 - 2079"}),(0,g.jsx)(e,{text:"2080 - 2089"}),(0,g.jsx)(e,{text:"2090 - 2099"}),(0,g.jsx)(e,{text:"2100 - 2109",empty:!t})]})]}),...a});var N=require("react/jsx-runtime"),Ma=({showOtherDecade:t,...a})=>(0,N.jsx)(h,{calendarView:"decade",calendarTitleText:"2020 - 2029",children:(0,N.jsxs)(P,{children:[(0,N.jsxs)(d,{children:[(0,N.jsx)(e,{text:"2019",empty:!t}),(0,N.jsx)(e,{text:"2020"}),(0,N.jsx)(e,{text:"2021",today:!0}),(0,N.jsx)(e,{text:"2022"})]}),(0,N.jsxs)(d,{children:[(0,N.jsx)(e,{text:"2023"}),(0,N.jsx)(e,{text:"2024"}),(0,N.jsx)(e,{text:"2025"}),(0,N.jsx)(e,{text:"2026"})]}),(0,N.jsxs)(d,{children:[(0,N.jsx)(e,{text:"2027"}),(0,N.jsx)(e,{text:"2028"}),(0,N.jsx)(e,{text:"2029"}),(0,N.jsx)(e,{text:"2030",empty:!t})]})]}),...a});var s=require("react/jsx-runtime"),Ia=({showCaptions:t,showOtherMonth:a,...l})=>(0,s.jsx)(h,{calendarView:"month",children:(0,s.jsxs)(P,{calendarCaption:t&&"October 2021",showTableHead:!0,children:[(0,s.jsxs)(d,{children:[(0,s.jsx)(e,{text:"26",showOtherMonth:a,empty:!a,weekend:a}),(0,s.jsx)(e,{text:"27",showOtherMonth:a,empty:!a}),(0,s.jsx)(e,{text:"28",showOtherMonth:a,empty:!a}),(0,s.jsx)(e,{text:"29",showOtherMonth:a,empty:!a}),(0,s.jsx)(e,{text:"30",showOtherMonth:a,empty:!a}),(0,s.jsx)(e,{text:"1"}),(0,s.jsx)(e,{text:"2",weekend:!0})]}),(0,s.jsxs)(d,{children:[(0,s.jsx)(e,{text:"3",weekend:!0}),(0,s.jsx)(e,{text:"4"}),(0,s.jsx)(e,{text:"5"}),(0,s.jsx)(e,{text:"6"}),(0,s.jsx)(e,{text:"7"}),(0,s.jsx)(e,{text:"8"}),(0,s.jsx)(e,{text:"9",weekend:!0})]}),(0,s.jsxs)(d,{children:[(0,s.jsx)(e,{text:"10",weekend:!0}),(0,s.jsx)(e,{text:"11"}),(0,s.jsx)(e,{text:"12",today:!0}),(0,s.jsx)(e,{text:"13"}),(0,s.jsx)(e,{text:"14"}),(0,s.jsx)(e,{text:"15"}),(0,s.jsx)(e,{text:"16",weekend:!0})]}),(0,s.jsxs)(d,{children:[(0,s.jsx)(e,{text:"17",weekend:!0}),(0,s.jsx)(e,{text:"18"}),(0,s.jsx)(e,{text:"19"}),(0,s.jsx)(e,{text:"20"}),(0,s.jsx)(e,{text:"21"}),(0,s.jsx)(e,{text:"22"}),(0,s.jsx)(e,{text:"23",weekend:!0})]}),(0,s.jsxs)(d,{children:[(0,s.jsx)(e,{text:"24",weekend:!0}),(0,s.jsx)(e,{text:"25"}),(0,s.jsx)(e,{text:"26"}),(0,s.jsx)(e,{text:"27"}),(0,s.jsx)(e,{text:"28"}),(0,s.jsx)(e,{text:"29"}),(0,s.jsx)(e,{text:"30",weekend:!0})]}),(0,s.jsxs)(d,{children:[(0,s.jsx)(e,{text:"31",weekend:!0}),(0,s.jsx)(e,{text:"1",showOtherMonth:a,empty:!a}),(0,s.jsx)(e,{text:"2",showOtherMonth:a,empty:!a}),(0,s.jsx)(e,{text:"3",showOtherMonth:a,empty:!a}),(0,s.jsx)(e,{text:"4",showOtherMonth:a,empty:!a}),(0,s.jsx)(e,{text:"5",showOtherMonth:a,empty:!a}),(0,s.jsx)(e,{text:"6",showOtherMonth:a,empty:!a,weekend:a})]})]}),...l});var Sa=require("react/jsx-runtime");var v=require("react/jsx-runtime"),Da=t=>(0,v.jsx)(h,{calendarView:"year",calendarTitleText:"2019",children:(0,v.jsxs)(P,{children:[(0,v.jsxs)(d,{children:[(0,v.jsx)(e,{text:"Jan"}),(0,v.jsx)(e,{text:"Feb"}),(0,v.jsx)(e,{text:"Mar"}),(0,v.jsx)(e,{text:"Apr"})]}),(0,v.jsxs)(d,{children:[(0,v.jsx)(e,{text:"May"}),(0,v.jsx)(e,{text:"Jun"}),(0,v.jsx)(e,{text:"Jul"}),(0,v.jsx)(e,{text:"Au"})]}),(0,v.jsxs)(d,{children:[(0,v.jsx)(e,{text:"Sep"}),(0,v.jsx)(e,{text:"Oct",today:!0}),(0,v.jsx)(e,{text:"Nov"}),(0,v.jsx)(e,{text:"Dec"})]})]}),...t});var n=require("react/jsx-runtime"),Oa=({firstCaption:t="January 2021",secondCaption:a="February 2021",...l})=>(0,n.jsx)(T,{calendarTitleText:"January 2021",children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("colgroup",{children:[(0,n.jsx)("col",{}),(0,n.jsx)("col",{}),(0,n.jsx)("col",{}),(0,n.jsx)("col",{}),(0,n.jsx)("col",{}),(0,n.jsx)("col",{}),(0,n.jsx)("col",{})]}),(0,n.jsxs)(R,{children:[(0,n.jsx)(d,{"aria-hidden":"true",children:(0,n.jsx)(D,{scope:"col",colSpan:7,text:t})}),(0,n.jsxs)(d,{children:[(0,n.jsx)(e,{empty:!0}),(0,n.jsx)(e,{empty:!0}),(0,n.jsx)(e,{empty:!0}),(0,n.jsx)(e,{empty:!0}),(0,n.jsx)(e,{empty:!0}),(0,n.jsx)(e,{text:"1"}),(0,n.jsx)(e,{text:"2",weekend:!0})]}),(0,n.jsxs)(d,{children:[(0,n.jsx)(e,{text:"3",weekend:!0}),(0,n.jsx)(e,{text:"4"}),(0,n.jsx)(e,{text:"5"}),(0,n.jsx)(e,{text:"6"}),(0,n.jsx)(e,{text:"7"}),(0,n.jsx)(e,{text:"8"}),(0,n.jsx)(e,{text:"9",weekend:!0})]}),(0,n.jsxs)(d,{children:[(0,n.jsx)(e,{text:"10",weekend:!0}),(0,n.jsx)(e,{text:"11"}),(0,n.jsx)(e,{text:"12"}),(0,n.jsx)(e,{text:"13"}),(0,n.jsx)(e,{text:"14"}),(0,n.jsx)(e,{text:"15"}),(0,n.jsx)(e,{text:"16",weekend:!0})]}),(0,n.jsxs)(d,{children:[(0,n.jsx)(e,{text:"17",weekend:!0}),(0,n.jsx)(e,{text:"18"}),(0,n.jsx)(e,{text:"19"}),(0,n.jsx)(e,{text:"20"}),(0,n.jsx)(e,{text:"21"}),(0,n.jsx)(e,{text:"22"}),(0,n.jsx)(e,{text:"23",weekend:!0})]}),(0,n.jsxs)(d,{children:[(0,n.jsx)(e,{text:"24",weekend:!0}),(0,n.jsx)(e,{text:"25"}),(0,n.jsx)(e,{text:"26"}),(0,n.jsx)(e,{text:"27"}),(0,n.jsx)(e,{text:"28"}),(0,n.jsx)(e,{text:"29"}),(0,n.jsx)(e,{text:"30",weekend:!0})]}),(0,n.jsxs)(d,{children:[(0,n.jsx)(e,{text:"31",weekend:!0}),(0,n.jsx)(e,{empty:!0}),(0,n.jsx)(e,{empty:!0}),(0,n.jsx)(e,{empty:!0}),(0,n.jsx)(e,{empty:!0}),(0,n.jsx)(e,{empty:!0}),(0,n.jsx)(e,{empty:!0})]})]}),(0,n.jsx)(R,{children:(0,n.jsx)(d,{"aria-hidden":"true",children:(0,n.jsx)(D,{scope:"col",colSpan:7,text:a})})})]}),...l});var C=require("react/jsx-runtime"),za=({firstCaption:t="2021",secondCaption:a="2022",...l})=>(0,C.jsx)(T,{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,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.jsxs)(R,{children:[(0,C.jsx)(d,{"aria-hidden":"true",children:(0,C.jsx)(D,{scope:"col",colSpan:4,text:t})}),(0,C.jsxs)(d,{children:[(0,C.jsx)(e,{text:"Jan",today:!0}),(0,C.jsx)(e,{text:"Feb"}),(0,C.jsx)(e,{text:"Mar"}),(0,C.jsx)(e,{text:"Apr"})]}),(0,C.jsxs)(d,{children:[(0,C.jsx)(e,{text:"May"}),(0,C.jsx)(e,{text:"Jun"}),(0,C.jsx)(e,{text:"Jul"}),(0,C.jsx)(e,{text:"Aug"})]}),(0,C.jsxs)(d,{children:[(0,C.jsx)(e,{text:"Sep"}),(0,C.jsx)(e,{text:"Oct"}),(0,C.jsx)(e,{text:"Nov"}),(0,C.jsx)(e,{text:"Dec"})]})]}),(0,C.jsxs)(R,{children:[(0,C.jsx)(d,{"aria-hidden":"true",children:(0,C.jsx)(D,{scope:"col",colSpan:4,text:a})}),(0,C.jsxs)(d,{children:[(0,C.jsx)(e,{text:"Jan"}),(0,C.jsx)(e,{text:"Feb"}),(0,C.jsx)(e,{text:"Mar"}),(0,C.jsx)(e,{text:"Apr"})]}),(0,C.jsxs)(d,{children:[(0,C.jsx)(e,{text:"May"}),(0,C.jsx)(e,{text:"Jun"}),(0,C.jsx)(e,{text:"Jul"}),(0,C.jsx)(e,{text:"Aug"})]}),(0,C.jsxs)(d,{children:[(0,C.jsx)(e,{text:"Sep"}),(0,C.jsx)(e,{text:"Oct"}),(0,C.jsx)(e,{text:"Nov"}),(0,C.jsx)(e,{text:"Dec"})]})]})]}),...l});var m=require("react/jsx-runtime"),Ka=({firstCaption:t="2020 - 2029",secondCaption:a="2030 - 2039",...l})=>(0,m.jsx)(T,{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,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)("colgroup",{children:[(0,m.jsx)("col",{}),(0,m.jsx)("col",{}),(0,m.jsx)("col",{}),(0,m.jsx)("col",{})]}),(0,m.jsxs)(R,{children:[(0,m.jsx)(d,{"aria-hidden":"true",children:(0,m.jsx)(D,{scope:"col",colSpan:4,text:t})}),(0,m.jsxs)(d,{children:[(0,m.jsx)(e,{text:"2020",today:!0}),(0,m.jsx)(e,{text:"2021"}),(0,m.jsx)(e,{text:"2022"}),(0,m.jsx)(e,{text:"2023"})]}),(0,m.jsxs)(d,{children:[(0,m.jsx)(e,{text:"2024"}),(0,m.jsx)(e,{text:"2025"}),(0,m.jsx)(e,{text:"2026"}),(0,m.jsx)(e,{text:"2027"})]}),(0,m.jsxs)(d,{children:[(0,m.jsx)(e,{text:"2028"}),(0,m.jsx)(e,{text:"2029"}),(0,m.jsx)(e,{empty:!0}),(0,m.jsx)(e,{empty:!0})]})]}),(0,m.jsxs)(R,{children:[(0,m.jsx)(d,{"aria-hidden":"true",children:(0,m.jsx)(D,{scope:"col",colSpan:4,text:a})}),(0,m.jsxs)(d,{children:[(0,m.jsx)(e,{text:"2030"}),(0,m.jsx)(e,{text:"2031"}),(0,m.jsx)(e,{text:"2032"}),(0,m.jsx)(e,{text:"2033"})]}),(0,m.jsxs)(d,{children:[(0,m.jsx)(e,{text:"2034"}),(0,m.jsx)(e,{text:"2035"}),(0,m.jsx)(e,{text:"2036"}),(0,m.jsx)(e,{text:"2037"})]}),(0,m.jsxs)(d,{children:[(0,m.jsx)(e,{text:"2038"}),(0,m.jsx)(e,{text:"2039"}),(0,m.jsx)(e,{empty:!0}),(0,m.jsx)(e,{empty:!0})]})]})]}),...l});var k=require("react/jsx-runtime"),Ha=({firstCaption:t="2000 - 2099",...a})=>(0,k.jsx)(T,{calendarView:"century",showWeekdays:!1,calendarTitleText:"2000 - 2099",navigationItems:["1900","2000"],navigationMarkerConfig:{2e3:"marker"},children:(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)("colgroup",{children:[(0,k.jsx)("col",{}),(0,k.jsx)("col",{}),(0,k.jsx)("col",{}),(0,k.jsx)("col",{})]}),(0,k.jsxs)(R,{children:[(0,k.jsx)(d,{"aria-hidden":"true",children:(0,k.jsx)(D,{scope:"col",colSpan:4,text:t})}),(0,k.jsxs)(d,{children:[(0,k.jsx)(e,{text:"1900 - 1999"}),(0,k.jsx)(e,{text:"2000 - 2009"}),(0,k.jsx)(e,{text:"2010 - 2019"}),(0,k.jsx)(e,{text:"2020 - 2029"})]}),(0,k.jsxs)(d,{children:[(0,k.jsx)(e,{text:"2030 - 2039"}),(0,k.jsx)(e,{text:"2040 - 2049"}),(0,k.jsx)(e,{text:"2050 - 2059"}),(0,k.jsx)(e,{text:"2060 - 2069"})]}),(0,k.jsxs)(d,{children:[(0,k.jsx)(e,{text:"2070 - 2079"}),(0,k.jsx)(e,{text:"2080 - 2089"}),(0,k.jsx)(e,{text:"2090 - 2099"}),(0,k.jsx)(e,{empty:!0})]})]})]}),...a});var Ge=require("react/jsx-runtime");var _a=require("react/jsx-runtime");var Ye=require("react/jsx-runtime");var ge=require("react/jsx-runtime"),Mt=h.options,It=h.states,Va={...h.defaultOptions,variant:"month"},St=[{name:"month",title:"Month View"},{name:"year",title:"Year View"},{name:"decade",title:"Decade View"},{name:"century",title:"Century View"}],Dt=[{name:"footer",title:"Calendar Footer"},{name:"other",title:"Show other cells"}],se=t=>{let{variant:a,modifiers:l,...o}={...Va,...t},i={showCalendarFooter:!1};Object.keys(l||{}).forEach(f=>{switch(f){case"other":i.showOtherMonth=!!(l!=null&&l[f]),i.showOtherCentury=!!(l!=null&&l[f]),i.showOtherDecade=!!(l!=null&&l[f]);break;case"footer":i.showCalendarFooter=!!(l!=null&&l[f]);break;default:return}});let{showOtherMonth:u,showOtherDecade:b,showOtherCentury:x,showCalendarFooter:w}=i;switch(a){case"century":return(0,ge.jsx)(La,{size:o.size,showOtherCentury:x,showCalendarFooter:w});case"decade":return(0,ge.jsx)(Ma,{size:o.size,showOtherDecade:b,showCalendarFooter:w});case"year":return(0,ge.jsx)(Da,{calendarTitleText:"2021",size:o.size,showCalendarFooter:w});default:return(0,ge.jsx)(Ia,{size:o.size,showOtherMonth:u,showCalendarFooter:w})}};se.options=Mt;se.states=It;se.variants=St;se.defaultOptions=Va;se.modifiers=Dt;se.className=h.className;var Ne=require("react/jsx-runtime"),Ot=T.options,zt=T.states,Ba={...T.defaultOptions,variant:"month"},Kt=[{name:"month",title:"Month View"},{name:"year",title:"Year View"},{name:"decade",title:"Decade View"},{name:"century",title:"Century View"}],Ht=[{name:"footer",title:"Calendar Footer"},{name:"other",title:"Show other cells"}],ce=t=>{let{variant:a,modifiers:l,...o}={...Ba,...t},i={showCalendarFooter:!1};Object.keys(l||{}).forEach(f=>{switch(f){case"other":i.showOtherMonth=!!(l!=null&&l[f]),i.showOtherCentury=!!(l!=null&&l[f]),i.showOtherDecade=!!(l!=null&&l[f]);break;case"footer":i.showCalendarFooter=!!(l!=null&&l[f]);break;default:return}});let{showOtherMonth:u,showOtherDecade:b,showOtherCentury:x,showCalendarFooter:w}=i;switch(a){case"century":return(0,Ne.jsx)(Ha,{size:o.size,showOtherCentury:x,showCalendarFooter:w});case"decade":return(0,Ne.jsx)(Ka,{size:o.size,showOtherDecade:b,showCalendarFooter:w});case"year":return(0,Ne.jsx)(za,{size:o.size,showCalendarFooter:w});default:return(0,Ne.jsx)(Oa,{size:o.size,showOtherMonth:u,showCalendarFooter:w})}};ce.options=Ot;ce.states=zt;ce.variants=Kt;ce.defaultOptions=Ba;ce.modifiers=Ht;ce.className=T.className;var Fa="calendar",Pa="calendar";var Ua=require("react/jsx-runtime"),Wa="k-calendar-range",_t=[],Vt={size:[r.undefined,r.small,r.medium,r.large]},De={calendarTitleText:"October 2021 - November 2021",orientation:"horizontal",calendarView:"month"},J=t=>{let{size:a,orientation:l=De.orientation,calendarView:o=De.calendarView,calendarTitleText:i=De.calendarTitleText,showCalendarFooter:u,showWeek:b,dir:x,...w}=t;return(0,Ua.jsx)(h,{...w,className:c(t.className,Wa),size:a,calendarTitleText:i,calendarView:o,orientation:l,showCalendarFooter:u,showWeek:b,dir:x})};J.states=_t;J.options=Vt;J.className=Wa;J.defaultOptions=De;J.moduleName=Fa;J.folderName=Pa;J.ariaSpec={selector:".k-calendar-range",rules:[{selector:".k-calendar-range .k-calendar-view",attribute:"role=grid",usage:"Specifies the role of the multi-view calendar wrapper."},{selector:".k-calendar-range .k-calendar-view",attribute:"aria-labelledby",usage:"Pointing to the k-calendar-title element."},{selector:".k-calendar-range .k-calendar-view",attribute:"tabindex=0",usage:"Makes the grid focusable."},{selector:".k-calendar-range .k-calendar-table",attribute:"role=none",usage:"Inner tables have role removed \u2014 content belongs to single grid."},{selector:".k-calendar-thead",attribute:"role=rowgroup",usage:"Explicit rowgroup role."},{selector:".k-calendar-tbody",attribute:"role=rowgroup",usage:"Explicit rowgroup role."},{selector:".k-calendar-tr",attribute:"role=row",usage:"Explicit row role."},{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-prev,.k-calendar-nav-next",attribute:"tabindex=-1",usage:"Navigation buttons are not focusable."},{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 Bt=J;