@progress/kendo-themes-html 13.2.0-dev.2 → 13.2.0-dev.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/dist/cjs/datetime-selector/datetime-selector.spec.js +1 -1
  2. package/dist/cjs/datetimepicker/datetimepicker.spec.js +1 -1
  3. package/dist/cjs/datetimepicker/demos/datetimepicker.js +1 -1
  4. package/dist/cjs/datetimepicker/templates/datetimepicker-adaptive.js +1 -1
  5. package/dist/cjs/datetimepicker/templates/datetimepicker-disabled.js +1 -1
  6. package/dist/cjs/datetimepicker/templates/datetimepicker-invalid.js +1 -1
  7. package/dist/cjs/datetimepicker/templates/datetimepicker-normal.js +1 -1
  8. package/dist/cjs/datetimepicker/templates/datetimepicker-popup.js +1 -1
  9. package/dist/cjs/grid/templates/grid-with-pinned-rows-pin-column.js +1 -1
  10. package/dist/cjs/imageeditor/templates/imageeditor-crop.js +1 -1
  11. package/dist/cjs/imageeditor/templates/imageeditor-normal.js +1 -1
  12. package/dist/cjs/imageeditor/templates/imageeditor-resize.js +1 -1
  13. package/dist/cjs/index.js +3 -3
  14. package/dist/cjs/scheduler/demos/scheduler.js +1 -1
  15. package/dist/cjs/scheduler/scheduler-toolbar.spec.js +1 -1
  16. package/dist/cjs/scheduler/scheduler.spec.js +1 -1
  17. package/dist/cjs/scheduler/templates/scheduler-agenda.js +1 -1
  18. package/dist/cjs/scheduler/templates/scheduler-day.js +1 -1
  19. package/dist/cjs/scheduler/templates/scheduler-flex-agenda.js +1 -1
  20. package/dist/cjs/scheduler/templates/scheduler-flex-day.js +1 -1
  21. package/dist/cjs/scheduler/templates/scheduler-flex-horizontal-grouping.js +1 -1
  22. package/dist/cjs/scheduler/templates/scheduler-flex-month.js +1 -1
  23. package/dist/cjs/scheduler/templates/scheduler-flex-timeline.js +1 -1
  24. package/dist/cjs/scheduler/templates/scheduler-flex-vertical-grouping.js +1 -1
  25. package/dist/cjs/scheduler/templates/scheduler-flex-week.js +1 -1
  26. package/dist/cjs/scheduler/templates/scheduler-flex-year.js +1 -1
  27. package/dist/cjs/scheduler/templates/scheduler-horizontal-grouping.js +1 -1
  28. package/dist/cjs/scheduler/templates/scheduler-month.js +1 -1
  29. package/dist/cjs/scheduler/templates/scheduler-timeline.js +1 -1
  30. package/dist/cjs/scheduler/templates/scheduler-vertical-grouping.js +1 -1
  31. package/dist/cjs/scheduler/templates/scheduler-week.js +1 -1
  32. package/dist/cjs/segmented-control/segmented-control.spec.js +1 -1
  33. package/dist/cjs/segmented-control/templates/segmented-control-disabled.js +1 -1
  34. package/dist/cjs/segmented-control/templates/segmented-control-icons.js +1 -1
  35. package/dist/cjs/segmented-control/templates/segmented-control-normal.js +1 -1
  36. package/dist/cjs/segmented-control/templates/segmented-control-stretched.js +1 -1
  37. package/dist/cjs/segmented-control/templates/segmented-control-text.js +1 -1
  38. package/dist/esm/datetime-selector/datetime-selector.spec.mjs +1 -1
  39. package/dist/esm/datetimepicker/datetimepicker.spec.mjs +1 -1
  40. package/dist/esm/datetimepicker/demos/datetimepicker.mjs +1 -1
  41. package/dist/esm/datetimepicker/templates/datetimepicker-adaptive.mjs +1 -1
  42. package/dist/esm/datetimepicker/templates/datetimepicker-disabled.mjs +1 -1
  43. package/dist/esm/datetimepicker/templates/datetimepicker-invalid.mjs +1 -1
  44. package/dist/esm/datetimepicker/templates/datetimepicker-normal.mjs +1 -1
  45. package/dist/esm/datetimepicker/templates/datetimepicker-popup.mjs +1 -1
  46. package/dist/esm/grid/templates/grid-with-pinned-rows-pin-column.mjs +1 -1
  47. package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
  48. package/dist/esm/imageeditor/templates/imageeditor-normal.mjs +1 -1
  49. package/dist/esm/imageeditor/templates/imageeditor-resize.mjs +1 -1
  50. package/dist/esm/index.mjs +8 -8
  51. package/dist/esm/scheduler/demos/scheduler.mjs +1 -1
  52. package/dist/esm/scheduler/scheduler-toolbar.spec.mjs +1 -1
  53. package/dist/esm/scheduler/scheduler.spec.mjs +1 -1
  54. package/dist/esm/scheduler/templates/scheduler-agenda.mjs +1 -1
  55. package/dist/esm/scheduler/templates/scheduler-day.mjs +1 -1
  56. package/dist/esm/scheduler/templates/scheduler-flex-agenda.mjs +1 -1
  57. package/dist/esm/scheduler/templates/scheduler-flex-day.mjs +1 -1
  58. package/dist/esm/scheduler/templates/scheduler-flex-horizontal-grouping.mjs +1 -1
  59. package/dist/esm/scheduler/templates/scheduler-flex-month.mjs +1 -1
  60. package/dist/esm/scheduler/templates/scheduler-flex-timeline.mjs +1 -1
  61. package/dist/esm/scheduler/templates/scheduler-flex-vertical-grouping.mjs +1 -1
  62. package/dist/esm/scheduler/templates/scheduler-flex-week.mjs +1 -1
  63. package/dist/esm/scheduler/templates/scheduler-flex-year.mjs +1 -1
  64. package/dist/esm/scheduler/templates/scheduler-horizontal-grouping.mjs +1 -1
  65. package/dist/esm/scheduler/templates/scheduler-month.mjs +1 -1
  66. package/dist/esm/scheduler/templates/scheduler-timeline.mjs +1 -1
  67. package/dist/esm/scheduler/templates/scheduler-vertical-grouping.mjs +1 -1
  68. package/dist/esm/scheduler/templates/scheduler-week.mjs +1 -1
  69. package/dist/esm/segmented-control/segmented-control.spec.mjs +1 -1
  70. package/dist/esm/segmented-control/templates/segmented-control-disabled.mjs +1 -1
  71. package/dist/esm/segmented-control/templates/segmented-control-icons.mjs +1 -1
  72. package/dist/esm/segmented-control/templates/segmented-control-normal.mjs +1 -1
  73. package/dist/esm/segmented-control/templates/segmented-control-stretched.mjs +1 -1
  74. package/dist/esm/segmented-control/templates/segmented-control-text.mjs +1 -1
  75. package/dist/types/segmented-control/segmented-control.spec.d.ts +1 -0
  76. package/package.json +2 -2
  77. package/src/action-sheet/tests/action-sheet-date-time-selector.tsx +9 -8
  78. package/src/datetime-selector/datetime-selector.spec.tsx +8 -9
  79. package/src/grid/templates/grid-with-pinned-rows-pin-column.tsx +2 -2
  80. package/src/grid/tests/grid-row-pinning-with-sticky-grouping.tsx +1 -1
  81. package/src/grid/tests/grid-row-pinning.tsx +8 -8
  82. package/src/imageeditor/templates/imageeditor-crop.tsx +5 -5
  83. package/src/scheduler/scheduler-toolbar.spec.tsx +8 -7
  84. package/src/scheduler/scheduler.spec.tsx +3 -4
  85. package/src/scheduler/templates/scheduler-agenda.tsx +8 -7
  86. package/src/scheduler/templates/scheduler-flex-agenda.tsx +8 -7
  87. package/src/scheduler/templates/scheduler-flex-day.tsx +8 -7
  88. package/src/scheduler/templates/scheduler-flex-month.tsx +8 -7
  89. package/src/scheduler/templates/scheduler-flex-timeline.tsx +8 -7
  90. package/src/scheduler/templates/scheduler-flex-week.tsx +8 -7
  91. package/src/scheduler/templates/scheduler-flex-year.tsx +7 -6
  92. package/src/scheduler/templates/scheduler-month.tsx +8 -7
  93. package/src/scheduler/templates/scheduler-timeline.tsx +8 -7
  94. package/src/scheduler/templates/scheduler-week.tsx +8 -7
  95. package/src/scheduler/tests/scheduler-current-time-marker.tsx +15 -14
  96. package/src/scheduler/tests/scheduler-events.tsx +8 -7
  97. package/src/scheduler/tests/scheduler-react-timeline-multi.tsx +8 -7
  98. package/src/segmented-control/segmented-control.spec.tsx +3 -1
  99. package/src/segmented-control/templates/segmented-control-icons.tsx +3 -3
  100. package/src/segmented-control/tests/segmented-control-sizes.tsx +3 -15
  101. package/src/segmented-control/tests/segmented-control-states.tsx +1 -5
  102. package/src/segmented-control/tests/segmented-control.tsx +20 -30
@@ -1 +1 @@
1
- var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,n)=>t[n]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var A=(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"}),W=(e,t)=>{let{valid:o,invalid:n,hover:l,focus:i,checked:c,active:u,selected:p,disabled:C,indeterminate:y,loading:T,empty:S,readonly:Q,highlighted:V,...M}=t;return r({"k-valid":o,"k-invalid":n,"k-hover":l,"k-focus":i,"k-checked":c,"k-active":u,"k-selected":p,"k-disabled":C,"k-indeterminate":y&&!c,"k-loading":T,"k-empty":S,"k-readonly":Q,"k-highlighted":V},Object.keys(M).reduce((B,E)=>(E.startsWith("k-")?B[E]=M[E]:B[`k-${E}`]=M[E],B),{}))};function Oa(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(n=>[`k-${n}`,!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"},k={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},b={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",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 Ye="input",xt=Ye;import{jsx as fn}from"react/jsx-runtime";var bt="k-input",mn=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading,d.readonly],pn={size:[s.undefined,s.small,s.medium,s.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[k.undefined,k.solid,k.flat,k.outline]},un={},_=e=>{let{hover:t,focus:o,disabled:n,invalid:l,valid:i,loading:c,readonly:u,size:p,rounded:C,fillMode:y,...T}=e;return fn("span",{...T,className:r(e.className,bt,A(bt,{size:p,rounded:C,fillMode:y}),W(bt,{hover:t,focus:o,disabled:n,invalid:l,valid:i,loading:c,readonly:u}))})};_.states=mn;_.options=pn;_.className=bt;_.defaultOptions=un;_.moduleName=Ye;_.folderName=xt;import{jsx as hn}from"react/jsx-runtime";var ht="k-picker",Cn=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading,d.readonly],xn={size:[s.undefined,s.small,s.medium,s.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[k.undefined,k.solid,k.flat,k.outline]},bn={},Le=e=>{let{hover:t,focus:o,disabled:n,invalid:l,valid:i,loading:c,readonly:u,size:p,rounded:C,fillMode:y,...T}=e;return hn("span",{...T,className:r(e.className,ht,A(ht,{size:p,rounded:C,fillMode:y}),W(ht,{hover:t,focus:o,disabled:n,invalid:l,valid:i,loading:c,readonly:u})),children:e.children})};Le.states=Cn;Le.options=xn;Le.className=ht;Le.defaultOptions=bn;Le.moduleName=Ye;Le.folderName=xt;import{Fragment as yn,jsx as _a}from"react/jsx-runtime";var Kt="k-font-icon",Nn=[],Tn={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[b.undefined,b.base,b.primary,b.secondary,b.tertiary,b.success,b.warning,b.error,b.info,b.light,b.dark]},kn={},Qe=e=>{let{size:t,themeColor:o,icon:n,rotate:l,flip:i,...c}=e;return n?_a("span",{...c,className:r(e.className,Kt,A(Kt,{size:t}),{[`k-i-${n}`]:n,[`k-color-${o}`]:o,[`k-rotate-${l}`]:l,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true"}):_a(yn,{})};Qe.states=Nn;Qe.options=Tn;Qe.className=Kt;Qe.defaultOptions=kn;var Ha=Qe;import{Fragment as An,jsx as Nt}from"react/jsx-runtime";var zt="k-svg-icon",gn=[],vn={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[b.undefined,b.base,b.primary,b.secondary,b.tertiary,b.success,b.warning,b.error,b.info,b.light,b.dark]},Ba={viewBox:"0 0 24 24"},Ze=e=>{let{size:t,themeColor:o,rotate:n,flip:l,viewBox:i=Ba.viewBox,icon:c,...u}=e;if(!c)return Nt(An,{});if(c==="none")return Nt("span",{...u,className:r(e.className,zt,A("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let p=typeof c=="object"&&c.name&&c.name;return Nt("span",{...u,className:r(e.className,zt,A("k-icon",{size:t}),{[`k-svg-i-${p}`]:p,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true",children:Nt("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:i,dangerouslySetInnerHTML:typeof c=="object"?{__html:c.content}:void 0,children:c?void 0:e.children})})};Ze.states=gn;Ze.options=vn;Ze.className=zt;Ze.defaultOptions=Ba;var Ft=Ze;import*as Vt from"@progress/kendo-svg-icons";var Da="icon",Pa="icons";import{useContext as Sn}from"react";import{createContext as wn}from"react";var Ka=wn({iconsType:"svg"});import{Fragment as za,jsx as je}from"react/jsx-runtime";var Tt="k-icon",En=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Mn=[],In={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[b.undefined,b.base,b.primary,b.secondary,b.tertiary,b.success,b.warning,b.error,b.info,b.light,b.dark]},Ut={viewBox:"0 0 24 24",type:"svg"},w=e=>{let{iconsType:t}=Sn(Ka),{size:o,themeColor:n,icon:l,type:i=t||Ut.type,rotate:c,flip:u,viewBox:p=Ut.viewBox,...C}=e;if(!l)return je(za,{});if((t||i)==="svg"){if(l==="none")return je(Ft,{...C,className:r(e.className,Tt),icon:l,size:o});let T=Vt[l]?l:En(`${l}-icon`);return Vt[T]?je(Ft,{...C,className:r(e.className,Tt),icon:Vt[T],size:o,themeColor:n,rotate:c,flip:u,viewBox:p}):je(za,{})}return je(Ha,{...C,className:r(e.className,Tt),icon:l,size:o,themeColor:n,rotate:c,flip:u})};w.states=Mn;w.options=In;w.defaultOptions=Ut;w.className=Tt;w.moduleName=Da;w.folderName=Pa;w.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."}]};import{Fragment as On,jsx as Gt}from"react/jsx-runtime";var Fa="k-clear-value",Ln=[d.disabled,d.loading,d.readonly],Rn={},ee=e=>{let{disabled:t,loading:o,readonly:n,value:l}=e;return t||n||o||!l?Gt(On,{}):Gt("span",{className:r(e.className,Fa),children:Gt(w,{icon:"x"})})};ee.states=Ln;ee.options=Rn;ee.className=Fa;import{jsx as Bn}from"react/jsx-runtime";var Wt="k-input-inner",_n=[],Hn={},kt={type:"text",autocomplete:"off",value:"",placeholder:""},te=e=>{let{value:t=kt.value,type:o=kt.type,placeholder:n=kt.placeholder,autocomplete:l=kt.autocomplete,disabled:i,readOnly:c,...u}=e;return Bn("input",{...u,type:o,className:r(e.className,Wt,A(Wt,e)),placeholder:n,autoComplete:l,defaultValue:t,disabled:i||void 0,readOnly:c||void 0})};te.states=_n;te.options=Hn;te.className=Wt;import{jsx as Va,jsxs as Kn}from"react/jsx-runtime";var $t="k-input-inner",Dn=[],Pn={},Jt=e=>{let{value:t,placeholder:o,showValue:n,valueIcon:l,valueIconName:i,...c}=e;return Kn("span",{...c,className:r(e.className,$t,A($t,e)),children:[l,!l&&i&&Va(w,{className:"k-input-value-icon",icon:i}),n&&!t&&o,n&&t&&Va("span",{className:"k-input-value-text",children:t})]})};Jt.states=Dn;Jt.options=Pn;Jt.className=$t;import{jsx as Vn}from"react/jsx-runtime";var Xt="k-input-inner",zn=[],Fn={},Ua={value:"",placeholder:""},qt=e=>{let{value:t=Ua.value,placeholder:o=Ua.placeholder,rows:n,disabled:l,...i}=e;return Vn("textarea",{...i,className:r(e.className,Xt,A(Xt,e)),placeholder:o,rows:n,defaultValue:t,disabled:l||void 0})};qt.states=zn;qt.options=Fn;qt.className=Xt;import{Fragment as Gn,jsx as Ga}from"react/jsx-runtime";var Wa="k-input-loading-icon",Un=[d.disabled,d.loading],re=e=>{let{disabled:t,loading:o}=e;return t||!o?Ga(Gn,{}):Ga("span",{className:r(e.className,Wa,"k-icon k-i-loading")})};re.states=Un;re.className=Wa;import{Fragment as Jn,jsx as $a}from"react/jsx-runtime";var Ja="k-input-validation-icon",Wn=[d.valid,d.invalid,d.disabled,d.loading],$n={},ae=e=>{let{valid:t,invalid:o,disabled:n,loading:l}=e,i=o?"warning-circle":"check-circle";return n||l||!!!(t||o)?$a(Jn,{}):$a(w,{className:r(Ja),icon:i})};ae.states=Wn;ae.options=$n;ae.className=Ja;import{Fragment as Yn,jsx as Xa}from"react/jsx-runtime";var Xn="k-input-prefix",qn={direction:"horizontal"},Re=e=>{let{direction:t=qn.direction,...o}=e;return e.children?Xa("span",{...o,className:r(Xn,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Xa(Yn,{})};import{Fragment as jn,jsx as qa}from"react/jsx-runtime";var Qn="k-input-suffix",Zn={direction:"horizontal"},Oe=e=>{let{direction:t=Zn.direction,...o}=e;return e.children?qa("span",{...o,className:r(Qn,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):qa(jn,{})};import{jsx as Is}from"react/jsx-runtime";import{jsx as _s}from"react/jsx-runtime";import{jsx as tl}from"react/jsx-runtime";var Ya="k-input-separator",el={direction:"vertical"},_e=e=>{let{direction:t=el.direction,...o}=e;return tl("span",{...o,className:r(Ya,e.className,{[`${Ya}-${t}`]:t})})};var Yt="button",Qa=Yt;import{Fragment as ll,jsx as et,jsxs as Za}from"react/jsx-runtime";var tt="k-button",al=["icon-button"],ol=[d.hover,d.focus,d.active,d.selected,d.disabled,d.generating],nl={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:[k.undefined,k.solid,k.flat,k.outline,k.clear,k.link],themeColor:[b.undefined,b.base,b.primary,b.secondary,b.tertiary,b.success,b.warning,b.error,b.info,b.light,b.dark,b.inverse]},Qt={showArrow:!1,arrowIconName:"caret-alt-down"},m=e=>{let{as:t="button",size:o,rounded:n,fillMode:l,themeColor:i,showArrow:c=Qt.showArrow,arrowIconName:u=Qt.arrowIconName,variant:p,hover:C,focus:y,active:T,selected:S,disabled:Q,togglable:V,ariaDisabled:M,icon:B,text:E,iconClassName:Z,className:le,...ue}=e,we=B!==void 0,be=e.children!==void 0;return Za(t,{className:r(le,tt,Oa(tt,p),A(tt,{size:o,rounded:n,fillMode:l,themeColor:i}),W(tt,{hover:C,focus:y,active:T,disabled:Q||M,selected:S}),{"k-icon-button":!E&&!be&&we}),...ue,"aria-pressed":V?S?"true":"false":void 0,"aria-disabled":M?"true":void 0,disabled:Q||void 0,children:[B&&et(w,{className:r(Z,"k-button-icon"),icon:B}),E?Za(ll,{children:[E&&et("span",{className:"k-button-text",children:E}),e.children]}):e.children&&et("span",{className:"k-button-text",children:e.children}),c&&et("span",{className:"k-menu-button-arrow k-button-arrow",children:et(w,{icon:u})})]})};m.states=ol;m.options=nl;m.variants=al;m.className=tt;m.defaultOptions=Qt;m.moduleName=Yt;m.folderName=Qa;m.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."}]};import{jsx as rl}from"react/jsx-runtime";var Se=e=>rl(m,{children:"Button",...e});import{Fragment as ja,jsx as ie,jsxs as Zt}from"react/jsx-runtime";var il=_.states,sl=_.defaultOptions,dl=_.options,cl=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],ml=[],He=e=>{let{modifiers:t,valid:o,invalid:n,loading:l,disabled:i,readonly:c,...u}=e,p=t?.prefix,C=t?.suffix,y=t?.["clear-button"],T=t?.["validation-icon"],S=t?.separators;return Zt(_,{...u,valid:o,invalid:n,loading:l,disabled:i,readonly:c,style:{width:300},children:[p&&Zt(ja,{children:[ie(Re,{children:ie(w,{icon:"lock"})}),S&&ie(_e,{})]}),ie(te,{placeholder:"Placeholder",value:"Value"}),T&&ie(ae,{valid:o,invalid:n,loading:l,disabled:i}),ie(re,{loading:l,disabled:i}),y&&ie(ee,{loading:l,disabled:i,readonly:c,value:"Value"}),C&&Zt(ja,{children:[S&&ie(_e,{}),ie(Oe,{children:ie(Se,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};He.options=dl;He.states=il;He.variants=ml;He.defaultOptions=sl;He.modifiers=cl;He.className=_.className;import{jsx as pl}from"react/jsx-runtime";var eo=e=>pl(m,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as ul}from"react/jsx-runtime";var to=e=>ul(m,{icon:"folder",children:"Button",...e});import{jsx as jt}from"react/jsx-runtime";var fl=m.options,Cl=m.states,xl={...m.defaultOptions,variant:"text"},bl=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],hl=[],Be=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return jt(eo,{...o,icon:"star"});case"icon-and-text":return jt(to,{...o,icon:"star",children:"Button"});default:return jt(Se,{...o,children:"Button"})}};Be.options=fl;Be.states=Cl;Be.variants=bl;Be.defaultOptions=xl;Be.modifiers=hl;Be.className=m.className;var ea="popup",ao=ea;import{jsx as oo}from"react/jsx-runtime";var no="k-animation-container",Nl=[],Tl={},lo={positionMode:"absolute"},se=e=>{let{positionMode:t=lo.positionMode,animationStyle:o,offset:n,...l}=e;return oo("div",{...l,style:{...n,...e.style},className:r(e.className,no,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:oo("div",{className:"k-child-animation-container",style:o,children:e.children})})};se.states=Nl;se.options=Tl;se.className=no;se.defaultOptions=lo;se.moduleName=ea;se.folderName=ao;var ta="popup",ro=ta;import{jsx as io}from"react/jsx-runtime";var so="k-popup",kl=[],yl={},co={positionMode:"absolute"},j=e=>{let{offset:t,positionMode:o=co.positionMode,animationStyle:n,containerClassName:l,containerRole:i,containerAriaLabel:c,...u}=e;return io(se,{positionMode:o,offset:t,animationStyle:n,className:l,role:i,"aria-label":c,children:io("div",{...u,className:r(e.className,so),children:e.children})})};j.states=kl;j.options=yl;j.className=so;j.defaultOptions=co;j.moduleName=ta;j.folderName=ro;j.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 aa="action-buttons",mo=aa;import{jsx as Al}from"react/jsx-runtime";var yt="k-actions",gl=[],vl={},oa={alignment:"start",orientation:"horizontal"},$=e=>{let{alignment:t=oa.alignment,orientation:o=oa.orientation,...n}=e;return Al("div",{...n,className:r(yt,{[`${yt}-${t}`]:t,[`${yt}-${o}`]:o},e.className),children:e.children})};$.states=gl;$.options=vl;$.className=yt;$.defaultOptions=oa;$.moduleName=aa;$.folderName=mo;var na="button",po=na;import{jsx as Ml}from"react/jsx-runtime";var at="k-button-group",wl=[d.disabled],Sl={fillMode:[k.undefined,k.solid,k.flat,k.outline,k.clear,k.link]},El={},I=e=>{let{fillMode:t,disabled:o,stretched:n,...l}=e;return Ml("div",{role:"group",...l,className:r(e.className,at,A(at,{fillMode:t}),W(at,{disabled:o}),{[`${at}-stretched`]:n}),...o&&{"aria-disabled":"true"},children:e.children})};I.states=wl;I.options=Sl;I.className=at;I.defaultOptions=El;I.moduleName=na;I.folderName=po;I.ariaSpec={selector:".k-button-group",rules:[{selector:".k-button-group:not(.k-split-button)",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-button-group.k-disabled",attribute:"aria-disabled=true",usage:"The attribute is rendered only when the entire button group is disabled."},{selector:".k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button",attribute:"aria-pressed (when selected)",usage:"Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true."}]};import{Fragment as Nc,jsx as hc,jsxs as Tc}from"react/jsx-runtime";import{Fragment as wc,jsx as Ac,jsxs as Sc}from"react/jsx-runtime";import{Fragment as Oc,jsx as Rc,jsxs as _c}from"react/jsx-runtime";import{Fragment as zc,jsx as Kc,jsxs as Fc}from"react/jsx-runtime";import{Fragment as Jc,jsx as $c,jsxs as Xc}from"react/jsx-runtime";import{Fragment as em,jsx as jc,jsxs as tm}from"react/jsx-runtime";import{jsx as fe,jsxs as la}from"react/jsx-runtime";var Il={...m.options,...I.options},Ll=m.states,Rl={...m.defaultOptions,...I.defaultOptions,variant:"text-button"},Ol=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],_l=[],De=e=>{let{variant:t,className:o,...n}=e;return t==="icon-button"?la(I,{fillMode:n.fillMode,className:o,children:[fe(m,{...n,icon:"star"}),fe(m,{...n,icon:"star"}),fe(m,{...n,icon:"star"})]}):t==="icon-text-button"?la(I,{fillMode:n.fillMode,className:o,children:[fe(m,{...n,icon:"star",children:"First"}),fe(m,{...n,icon:"star",children:"Middle"}),fe(m,{...n,icon:"star",children:"Last"})]}):la(I,{fillMode:n.fillMode,className:o,children:[fe(m,{...n,children:"First"}),fe(m,{...n,children:"Middle"}),fe(m,{...n,children:"Last"})]})};De.options=Il;De.states=Ll;De.variants=Ol;De.defaultOptions=Rl;De.modifiers=_l;De.className=I.className;import{jsx as Hl}from"react/jsx-runtime";var uo="k-calendar-view",ra={orientation:"horizontal",calendarView:"month"},gt=e=>{let{orientation:t=ra.orientation,calendarView:o=ra.calendarView,gridRole:n,ariaLabelledBy:l,...i}=e;return Hl("div",{...i,className:r(e.className,uo,`k-calendar-${o}view`,"k-align-items-start","k-justify-content-center",{"k-hstack":t==="horizontal","k-vstack":t==="vertical"}),...n?{role:"grid","aria-labelledby":l,tabIndex:0}:{},children:e.children})};gt.className=uo;gt.defaultOptions=ra;import{jsx as ot,jsxs as fo}from"react/jsx-runtime";var Co="k-calendar-header",Bl={size:[s.undefined,s.small,s.medium,s.large]},nt={calendarTitleText:"October 2021",showToday:!0,showNavigationButtons:!0,orientation:"horizontal"},Ee=e=>{let{calendarTitleText:t=nt.calendarTitleText,showToday:o=nt.showToday,showNavigationButtons:n=nt.showNavigationButtons,orientation:l=nt.orientation,size:i,calendarView:c,dir:u,titleId:p,...C}=e,y=u==="rtl"?"chevron-right":"chevron-left",T=u==="rtl"?"chevron-left":"chevron-right",S=p||he("calendar-title");return fo("div",{...C,className:r(e.className,Co,{"k-vstack":l==="vertical"}),children:[ot(m,{disabled:c==="century",className:"k-calendar-title",text:t,size:i,fillMode:"flat",themeColor:"primary",id:S,tabIndex:-1,"aria-label":`Navigate to parent view: ${t}`,...c==="century"?{"aria-disabled":"true"}:{}}),ot("span",{className:"k-spacer"}),fo("span",{className:"k-calendar-nav",children:[n&&ot(m,{className:"k-calendar-nav-prev",icon:y,size:i,fillMode:"flat",tabIndex:-1,"aria-label":"Navigate to previous view"}),o&&ot(m,{size:i,fillMode:"flat",className:"k-calendar-nav-today",tabIndex:-1,children:"Today"}),n&&ot(m,{className:"k-calendar-nav-next",icon:T,size:i,fillMode:"flat",tabIndex:-1,"aria-label":"Navigate to next view"})]})]})};Ee.options=Bl;Ee.className=Co;Ee.defaultOptions=nt;import{jsx as xo}from"react/jsx-runtime";var bo="k-calendar-footer",Dl={size:[s.undefined,s.small,s.medium,s.large]},ho={calendarFooterText:"Tuesday, October 12, 2021"},lt=e=>{let{size:t,calendarFooterText:o=ho.calendarFooterText,...n}=e;return xo("div",{...n,className:r(e.className,bo),children:xo(m,{size:t,fillMode:"flat",themeColor:"primary",className:"k-calendar-nav-today",children:o})})};lt.options=Dl;lt.className=bo;lt.defaultOptions=ho;var D="calendar",z=D;import{jsx as ia,jsxs as zl}from"react/jsx-runtime";var sa="k-calendar",Pl=[],Kl={size:[s.undefined,s.small,s.medium,s.large]},rt={showCalendarHeader:!0,orientation:"horizontal",calendarView:"month",calendarTitleText:"October 2021"},L=e=>{let{size:t,orientation:o=rt.orientation,calendarView:n=rt.calendarView,calendarTitleText:l=rt.calendarTitleText,showCalendarHeader:i=rt.showCalendarHeader,showWeek:c,showCalendarFooter:u,calendarFooterText:p,dir:C,...y}=e,T=he("calendar-title");return zl("div",{...y,dir:C,className:r(e.className,sa,A(sa,{size:t}),{"k-week-number":c}),children:[i&&ia(Ee,{calendarView:n,showToday:!u,calendarTitleText:l,orientation:o,size:t,dir:C,titleId:T}),ia(gt,{calendarView:n,orientation:o,gridRole:!0,ariaLabelledBy:T,children:e.children}),u&&ia(lt,{calendarFooterText:p,size:t})]})};L.states=Pl;L.options=Kl;L.className=sa;L.defaultOptions=rt;L.moduleName=D;L.folderName=z;L.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."}]};import{jsx as Gl}from"react/jsx-runtime";var No="k-calendar-container",Fl=[],Vl={},Ul={},Pe=e=>{let{...t}=e;return Gl("div",{...t,className:r(e.className,No),children:e.children})};Pe.states=Fl;Pe.options=Vl;Pe.className=No;Pe.defaultOptions=Ul;Pe.moduleName=D;Pe.folderName=z;import{Fragment as $l,jsx as Ke,jsxs as Jl}from"react/jsx-runtime";var Wl=[d.hover,d.focus,d.active,d.selected,d.disabled],a=e=>{let{text:t,headerCell:o,today:n,weekend:l,showOtherMonth:i,weekCell:c,rangeStart:u,rangeMid:p,rangeEnd:C,dayIndicator:y,empty:T,hover:S,focus:Q,active:V,selected:M,disabled:B,...E}=e,le=`k-calendar-${o?"th":"td"}`,ue=[e.className,le,W(le,{hover:S,focus:Q,active:V,selected:M,disabled:B}),{"k-today":n,"k-weekend":l,"k-other-month":i,"k-alt":c,"k-range-start":u,"k-range-mid":p,"k-range-end":C,"k-empty":T}],we={Su:"Sunday",Mo:"Monday",Tu:"Tuesday",We:"Wednesday",Th:"Thursday",Fr:"Friday",Sa:"Saturday",W:"Week number"};if(o){let be=t?we[t]||t:void 0;return Ke("th",{...E,className:r(ue),role:"columnheader",scope:"col","aria-label":be,children:c?Ke("span",{className:"k-sr-only",children:be}):t})}return c?Ke("td",{...E,className:r(ue),children:t}):Ke("td",{...E,className:r(ue),role:"gridcell",...M?{"aria-selected":"true"}:{},...B?{"aria-disabled":"true"}:{},children:T&&!i?Ke($l,{children:"\xA0"}):Jl("span",{className:"k-link",children:[t,y&&Ke("span",{className:"k-day-indicator"})]})})};a.states=Wl;import{jsx as da,jsxs as Xl}from"react/jsx-runtime";var To="k-calendar-thead",ko={cellsText:["Su","Mo","Tu","We","Th","Fr","Sa"]},ze=e=>{let{showWeek:t,cellsText:o=ko.cellsText,...n}=e;return da("thead",{...n,className:r(e.className,To),role:"rowgroup",children:Xl("tr",{className:"k-calendar-tr",role:"row",children:[t&&da(a,{weekCell:!0,headerCell:!0,text:"W"}),o.map((l,i)=>da(a,{text:l,headerCell:!0},i))]})})};ze.className=To;ze.defaultOptions=ko;import{jsx as ql}from"react/jsx-runtime";var yo="k-calendar-tbody",H=e=>{let{...t}=e;return ql("tbody",{...t,className:r(e.className,yo),role:"rowgroup",children:e.children})};H.className=yo;H.moduleName=D;H.folderName=z;import{jsx as ca,jsxs as Ql}from"react/jsx-runtime";var Yl="k-calendar-table",de=e=>{let{calendarCaption:t,showTableHead:o,showWeek:n,ariaLabelledBy:l,ariaActiveDescendant:i,gridRole:c,...u}=e;return Ql("table",{...u,className:r(e.className,Yl),...c?{role:"grid","aria-labelledby":l,"aria-activedescendant":i,tabIndex:0}:{role:"none"},children:[t&&ca("caption",{className:"k-calendar-caption",children:t}),o&&ca(ze,{showWeek:n}),ca(H,{children:e.children})]})};import{jsx as ma,jsxs as go}from"react/jsx-runtime";var vo="k-calendar-navigation",it=e=>go("div",{...e,className:r(e.className,vo),children:[ma("span",{className:"k-calendar-navigation-highlight"}),go("div",{className:"k-content k-scrollable",children:[ma("ul",{className:"k-reset",children:e.children}),ma("div",{className:"k-scrollable-placeholder",style:{height:"1000px"}})]})]});it.className=vo;it.moduleName=D;it.folderName=z;import{jsx as jl}from"react/jsx-runtime";var Zl="k-calendar-table",pa=e=>{let{tableRole:t="none",ariaLabelledBy:o,...n}=e;return jl("table",{...n,className:r(e.className,Zl),role:t,...o?{"aria-labelledby":o}:{},...t==="grid"?{tabIndex:0}:{},children:e.children})};import{jsx as oe,jsxs as vt}from"react/jsx-runtime";var Ao="k-calendar-view",Fe={orientation:"vertical",calendarView:"month",headerText:"April 2018",showWeekdays:!0,showNavigationButtons:!1},Ve=e=>{let{orientation:t=Fe.orientation,calendarView:o=Fe.calendarView,headerText:n=Fe.headerText,showWeekdays:l=Fe.showWeekdays,showNavigationButtons:i=Fe.showNavigationButtons,showWeekNumbers:c,weekdayCellsText:u,gridLabelledBy:p,...C}=e;return vt("div",{...C,className:r(Ao,`k-calendar-${o}view`,e.className,{"k-hstack":t==="horizontal","k-vstack":t==="vertical"}),children:[oe(Ee,{showNavigationButtons:i,calendarTitleText:n,orientation:"horizontal"}),l&&vt(pa,{className:"k-calendar-weekdays",tableRole:"table",children:[vt("colgroup",{children:[oe("col",{}),oe("col",{}),oe("col",{}),oe("col",{}),oe("col",{}),oe("col",{}),oe("col",{})]}),oe(ze,{cellsText:u,showWeek:c})]}),vt("div",{className:"k-content k-scrollable",role:"none",children:[oe(pa,{tableRole:"grid",ariaLabelledBy:p,children:e.children}),oe("div",{className:"k-scrollable-placeholder",style:{height:"1000px"}})]})]})};Ve.className=Ao;Ve.defaultOptions=Fe;Ve.moduleName=D;Ve.folderName=z;import{jsx as At,jsxs as nr}from"react/jsx-runtime";var wo="k-calendar-infinite",er={size:[s.undefined,s.small,s.medium,s.large]},tr=["Aug","Sep","Oct","Nov","Dec","2021","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","2022","Feb","Mar","Apr","May","Jun","Jul"],ar={2021:"marker",2022:"marker"},or=(e,t)=>e.map((o,n)=>At("li",{children:At("span",{className:t[o]==="marker"?"k-calendar-navigation-marker":void 0,children:o})},n)),st={showNavigation:!0,calendarView:"month",navigationItems:tr,navigationMarkerConfig:ar},R=e=>{let{size:t,showNavigation:o=st.showNavigation,calendarView:n=st.calendarView,navigationItems:l=st.navigationItems,navigationMarkerConfig:i=st.navigationMarkerConfig,calendarTitleText:c,showWeekdays:u,showWeekNumbers:p,showNavigationButtons:C,calendarWeekdays:y,...T}=e,S=he("calendar-infinite-title");return nr("div",{...T,className:r(e.className,"k-calendar",wo,A("k-calendar",{size:t})),children:[o&&At(it,{children:or(l,i)}),At(Ve,{calendarView:n,headerText:c,showWeekdays:u,showWeekNumbers:p,showNavigationButtons:C,orientation:"vertical",weekdayCellsText:y,gridLabelledBy:S,children:e.children})]})};R.options=er;R.className=wo;R.defaultOptions=st;R.moduleName=D;R.folderName=z;R.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."}]};import{jsx as lr}from"react/jsx-runtime";var So="k-calendar-tr",f=e=>{let{...t}=e;return lr("tr",{...t,className:r(e.className,So),role:"row",children:e.children})};f.className=So;f.moduleName=D;f.folderName=z;import{jsx as rr}from"react/jsx-runtime";var Eo="k-calendar-caption",F=e=>{let{text:t,scope:o,colSpan:n,rowSpan:l,...i}=e;return rr("th",{...i,scope:o,colSpan:n,rowSpan:l,className:r(e.className,Eo),children:t})};F.className=Eo;F.moduleName=D;F.folderName=z;import{jsx as X,jsxs as wt}from"react/jsx-runtime";var Mo=({showOtherCentury:e,...t})=>X(L,{calendarView:"century",calendarTitleText:"2000 - 2099",children:wt(de,{children:[wt(f,{children:[X(a,{text:"1990 - 1999"}),X(a,{text:"2000 - 2009"}),X(a,{text:"2010 - 2019",today:!0}),X(a,{text:"2020 - 2029"})]}),wt(f,{children:[X(a,{text:"2030 - 2039"}),X(a,{text:"2040 - 2049"}),X(a,{text:"2050 - 2059"}),X(a,{text:"2060 - 2069"})]}),wt(f,{children:[X(a,{text:"2070 - 2079"}),X(a,{text:"2080 - 2089"}),X(a,{text:"2090 - 2099"}),X(a,{text:"2100 - 2109",empty:!e})]})]}),...t});import{jsx as q,jsxs as St}from"react/jsx-runtime";var Io=({showOtherDecade:e,...t})=>q(L,{calendarView:"decade",calendarTitleText:"2020 - 2029",children:St(de,{children:[St(f,{children:[q(a,{text:"2019",empty:!e}),q(a,{text:"2020"}),q(a,{text:"2021",today:!0}),q(a,{text:"2022"})]}),St(f,{children:[q(a,{text:"2023"}),q(a,{text:"2024"}),q(a,{text:"2025"}),q(a,{text:"2026"})]}),St(f,{children:[q(a,{text:"2027"}),q(a,{text:"2028"}),q(a,{text:"2029"}),q(a,{text:"2030",empty:!e})]})]}),...t});import{jsx as h,jsxs as Me}from"react/jsx-runtime";var Et=({showCaptions:e,showOtherMonth:t,...o})=>h(L,{calendarView:"month",children:Me(de,{calendarCaption:e&&"October 2021",showTableHead:!0,children:[Me(f,{children:[h(a,{text:"26",showOtherMonth:t,empty:!t,weekend:t}),h(a,{text:"27",showOtherMonth:t,empty:!t}),h(a,{text:"28",showOtherMonth:t,empty:!t}),h(a,{text:"29",showOtherMonth:t,empty:!t}),h(a,{text:"30",showOtherMonth:t,empty:!t}),h(a,{text:"1"}),h(a,{text:"2",weekend:!0})]}),Me(f,{children:[h(a,{text:"3",weekend:!0}),h(a,{text:"4"}),h(a,{text:"5"}),h(a,{text:"6"}),h(a,{text:"7"}),h(a,{text:"8"}),h(a,{text:"9",weekend:!0})]}),Me(f,{children:[h(a,{text:"10",weekend:!0}),h(a,{text:"11"}),h(a,{text:"12",today:!0}),h(a,{text:"13"}),h(a,{text:"14"}),h(a,{text:"15"}),h(a,{text:"16",weekend:!0})]}),Me(f,{children:[h(a,{text:"17",weekend:!0}),h(a,{text:"18"}),h(a,{text:"19"}),h(a,{text:"20"}),h(a,{text:"21"}),h(a,{text:"22"}),h(a,{text:"23",weekend:!0})]}),Me(f,{children:[h(a,{text:"24",weekend:!0}),h(a,{text:"25"}),h(a,{text:"26"}),h(a,{text:"27"}),h(a,{text:"28"}),h(a,{text:"29"}),h(a,{text:"30",weekend:!0})]}),Me(f,{children:[h(a,{text:"31",weekend:!0}),h(a,{text:"1",showOtherMonth:t,empty:!t}),h(a,{text:"2",showOtherMonth:t,empty:!t}),h(a,{text:"3",showOtherMonth:t,empty:!t}),h(a,{text:"4",showOtherMonth:t,empty:!t}),h(a,{text:"5",showOtherMonth:t,empty:!t}),h(a,{text:"6",showOtherMonth:t,empty:!t,weekend:t})]})]}),...o});import{jsx as Up,jsxs as Gp}from"react/jsx-runtime";import{jsx as Y,jsxs as Mt}from"react/jsx-runtime";var Lo=e=>Y(L,{calendarView:"year",calendarTitleText:"2019",children:Mt(de,{children:[Mt(f,{children:[Y(a,{text:"Jan"}),Y(a,{text:"Feb"}),Y(a,{text:"Mar"}),Y(a,{text:"Apr"})]}),Mt(f,{children:[Y(a,{text:"May"}),Y(a,{text:"Jun"}),Y(a,{text:"Jul"}),Y(a,{text:"Au"})]}),Mt(f,{children:[Y(a,{text:"Sep"}),Y(a,{text:"Oct",today:!0}),Y(a,{text:"Nov"}),Y(a,{text:"Dec"})]})]}),...e});import{Fragment as ir,jsx as x,jsxs as Ce}from"react/jsx-runtime";var Ro=({firstCaption:e="January 2021",secondCaption:t="February 2021",...o})=>x(R,{calendarTitleText:"January 2021",children:Ce(ir,{children:[Ce("colgroup",{children:[x("col",{}),x("col",{}),x("col",{}),x("col",{}),x("col",{}),x("col",{}),x("col",{})]}),Ce(H,{children:[x(f,{"aria-hidden":"true",children:x(F,{scope:"col",colSpan:7,text:e})}),Ce(f,{children:[x(a,{empty:!0}),x(a,{empty:!0}),x(a,{empty:!0}),x(a,{empty:!0}),x(a,{empty:!0}),x(a,{text:"1"}),x(a,{text:"2",weekend:!0})]}),Ce(f,{children:[x(a,{text:"3",weekend:!0}),x(a,{text:"4"}),x(a,{text:"5"}),x(a,{text:"6"}),x(a,{text:"7"}),x(a,{text:"8"}),x(a,{text:"9",weekend:!0})]}),Ce(f,{children:[x(a,{text:"10",weekend:!0}),x(a,{text:"11"}),x(a,{text:"12"}),x(a,{text:"13"}),x(a,{text:"14"}),x(a,{text:"15"}),x(a,{text:"16",weekend:!0})]}),Ce(f,{children:[x(a,{text:"17",weekend:!0}),x(a,{text:"18"}),x(a,{text:"19"}),x(a,{text:"20"}),x(a,{text:"21"}),x(a,{text:"22"}),x(a,{text:"23",weekend:!0})]}),Ce(f,{children:[x(a,{text:"24",weekend:!0}),x(a,{text:"25"}),x(a,{text:"26"}),x(a,{text:"27"}),x(a,{text:"28"}),x(a,{text:"29"}),x(a,{text:"30",weekend:!0})]}),Ce(f,{children:[x(a,{text:"31",weekend:!0}),x(a,{empty:!0}),x(a,{empty:!0}),x(a,{empty:!0}),x(a,{empty:!0}),x(a,{empty:!0}),x(a,{empty:!0})]})]}),x(H,{children:x(f,{"aria-hidden":"true",children:x(F,{scope:"col",colSpan:7,text:t})})})]}),...o});import{Fragment as sr,jsx as g,jsxs as ce}from"react/jsx-runtime";var Oo=({firstCaption:e="2021",secondCaption:t="2022",...o})=>g(R,{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:ce(sr,{children:[ce("colgroup",{children:[g("col",{}),g("col",{}),g("col",{}),g("col",{})]}),ce(H,{children:[g(f,{"aria-hidden":"true",children:g(F,{scope:"col",colSpan:4,text:e})}),ce(f,{children:[g(a,{text:"Jan",today:!0}),g(a,{text:"Feb"}),g(a,{text:"Mar"}),g(a,{text:"Apr"})]}),ce(f,{children:[g(a,{text:"May"}),g(a,{text:"Jun"}),g(a,{text:"Jul"}),g(a,{text:"Aug"})]}),ce(f,{children:[g(a,{text:"Sep"}),g(a,{text:"Oct"}),g(a,{text:"Nov"}),g(a,{text:"Dec"})]})]}),ce(H,{children:[g(f,{"aria-hidden":"true",children:g(F,{scope:"col",colSpan:4,text:t})}),ce(f,{children:[g(a,{text:"Jan"}),g(a,{text:"Feb"}),g(a,{text:"Mar"}),g(a,{text:"Apr"})]}),ce(f,{children:[g(a,{text:"May"}),g(a,{text:"Jun"}),g(a,{text:"Jul"}),g(a,{text:"Aug"})]}),ce(f,{children:[g(a,{text:"Sep"}),g(a,{text:"Oct"}),g(a,{text:"Nov"}),g(a,{text:"Dec"})]})]})]}),...o});import{Fragment as dr,jsx as v,jsxs as me}from"react/jsx-runtime";var _o=({firstCaption:e="2020 - 2029",secondCaption:t="2030 - 2039",...o})=>v(R,{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:me(dr,{children:[me("colgroup",{children:[v("col",{}),v("col",{}),v("col",{}),v("col",{})]}),me(H,{children:[v(f,{"aria-hidden":"true",children:v(F,{scope:"col",colSpan:4,text:e})}),me(f,{children:[v(a,{text:"2020",today:!0}),v(a,{text:"2021"}),v(a,{text:"2022"}),v(a,{text:"2023"})]}),me(f,{children:[v(a,{text:"2024"}),v(a,{text:"2025"}),v(a,{text:"2026"}),v(a,{text:"2027"})]}),me(f,{children:[v(a,{text:"2028"}),v(a,{text:"2029"}),v(a,{empty:!0}),v(a,{empty:!0})]})]}),me(H,{children:[v(f,{"aria-hidden":"true",children:v(F,{scope:"col",colSpan:4,text:t})}),me(f,{children:[v(a,{text:"2030"}),v(a,{text:"2031"}),v(a,{text:"2032"}),v(a,{text:"2033"})]}),me(f,{children:[v(a,{text:"2034"}),v(a,{text:"2035"}),v(a,{text:"2036"}),v(a,{text:"2037"})]}),me(f,{children:[v(a,{text:"2038"}),v(a,{text:"2039"}),v(a,{empty:!0}),v(a,{empty:!0})]})]})]}),...o});import{Fragment as cr,jsx as O,jsxs as Ue}from"react/jsx-runtime";var Ho=({firstCaption:e="2000 - 2099",...t})=>O(R,{calendarView:"century",showWeekdays:!1,calendarTitleText:"2000 - 2099",navigationItems:["1900","2000"],navigationMarkerConfig:{2e3:"marker"},children:Ue(cr,{children:[Ue("colgroup",{children:[O("col",{}),O("col",{}),O("col",{}),O("col",{})]}),Ue(H,{children:[O(f,{"aria-hidden":"true",children:O(F,{scope:"col",colSpan:4,text:e})}),Ue(f,{children:[O(a,{text:"1900 - 1999"}),O(a,{text:"2000 - 2009"}),O(a,{text:"2010 - 2019"}),O(a,{text:"2020 - 2029"})]}),Ue(f,{children:[O(a,{text:"2030 - 2039"}),O(a,{text:"2040 - 2049"}),O(a,{text:"2050 - 2059"}),O(a,{text:"2060 - 2069"})]}),Ue(f,{children:[O(a,{text:"2070 - 2079"}),O(a,{text:"2080 - 2089"}),O(a,{text:"2090 - 2099"}),O(a,{empty:!0})]})]})]}),...t});import{Fragment as mu,jsx as du,jsxs as cu}from"react/jsx-runtime";import{jsx as Cu,jsxs as xu}from"react/jsx-runtime";import{Fragment as yu,jsx as Tu,jsxs as ku}from"react/jsx-runtime";import{jsx as It}from"react/jsx-runtime";var mr=L.options,pr=L.states,Bo={...L.defaultOptions,variant:"month"},ur=[{name:"month",title:"Month View"},{name:"year",title:"Year View"},{name:"decade",title:"Decade View"},{name:"century",title:"Century View"}],fr=[{name:"footer",title:"Calendar Footer"},{name:"other",title:"Show other cells"}],Ge=e=>{let{variant:t,modifiers:o,...n}={...Bo,...e},l={showCalendarFooter:!1};Object.keys(o||{}).forEach(C=>{switch(C){case"other":l.showOtherMonth=!!o?.[C],l.showOtherCentury=!!o?.[C],l.showOtherDecade=!!o?.[C];break;case"footer":l.showCalendarFooter=!!o?.[C];break;default:return}});let{showOtherMonth:i,showOtherDecade:c,showOtherCentury:u,showCalendarFooter:p}=l;switch(t){case"century":return It(Mo,{size:n.size,showOtherCentury:u,showCalendarFooter:p});case"decade":return It(Io,{size:n.size,showOtherDecade:c,showCalendarFooter:p});case"year":return It(Lo,{calendarTitleText:"2021",size:n.size,showCalendarFooter:p});default:return It(Et,{size:n.size,showOtherMonth:i,showCalendarFooter:p})}};Ge.options=mr;Ge.states=pr;Ge.variants=ur;Ge.defaultOptions=Bo;Ge.modifiers=fr;Ge.className=L.className;import{jsx as Lt}from"react/jsx-runtime";var Cr=R.options,xr=R.states,Do={...R.defaultOptions,variant:"month"},br=[{name:"month",title:"Month View"},{name:"year",title:"Year View"},{name:"decade",title:"Decade View"},{name:"century",title:"Century View"}],hr=[{name:"footer",title:"Calendar Footer"},{name:"other",title:"Show other cells"}],We=e=>{let{variant:t,modifiers:o,...n}={...Do,...e},l={showCalendarFooter:!1};Object.keys(o||{}).forEach(C=>{switch(C){case"other":l.showOtherMonth=!!o?.[C],l.showOtherCentury=!!o?.[C],l.showOtherDecade=!!o?.[C];break;case"footer":l.showCalendarFooter=!!o?.[C];break;default:return}});let{showOtherMonth:i,showOtherDecade:c,showOtherCentury:u,showCalendarFooter:p}=l;switch(t){case"century":return Lt(Ho,{size:n.size,showOtherCentury:u,showCalendarFooter:p});case"decade":return Lt(_o,{size:n.size,showOtherDecade:c,showCalendarFooter:p});case"year":return Lt(Oo,{size:n.size,showCalendarFooter:p});default:return Lt(Ro,{size:n.size,showOtherMonth:i,showCalendarFooter:p})}};We.options=Cr;We.states=xr;We.variants=br;We.defaultOptions=Do;We.modifiers=hr;We.className=R.className;var Po="time-selector",Ko="timeselector";import{Fragment as zo,jsx as Rt,jsxs as Fo}from"react/jsx-runtime";var ua="k-timeselector",Nr=[],Tr={size:[s.undefined,s.small,s.medium,s.large]},kr={},xe=e=>{let{size:t,header:o,fastSelection:n,columns:l,focusedColumn:i,...c}=e,u=l.map(function(p,C){let y=!1,T=!0;return p===i&&(y=!0),(C===0||p==="tt")&&(T=!1),Rt(fa,{type:p,focus:y,separator:T},C)});return Fo("div",{...c,className:r(e.className,ua,A(ua,{size:t})),role:"group","aria-label":"Time selector",children:[Rt(zo,{children:o}),Rt(zo,{children:n}),Fo("div",{className:"k-time-list-container",children:[Rt("span",{className:"k-time-highlight"}),u]})]})};xe.states=Nr;xe.options=Tr;xe.className=ua;xe.defaultOptions=kr;xe.moduleName=Po;xe.folderName=Ko;xe.ariaSpec={selector:".k-timeselector",rules:[{selector:".k-timeselector",attribute:"role=group",usage:"Groups the time selection columns."},{selector:".k-timeselector",attribute:"aria-label",usage:"Describes the time selector purpose."},{selector:".k-time-list",attribute:"role=listbox",usage:"Each time column list acts as a listbox."},{selector:".k-time-list",attribute:"aria-label",usage:"Describes which time unit the column selects."},{selector:".k-time-list-wrapper .k-reset",attribute:"role=none",usage:"Removes semantic meaning from the ul element."},{selector:".k-time-list-wrapper .k-item",attribute:"role=option",usage:"Each item in the time list is an option."}]};import{Fragment as gr,jsx as Ie,jsxs as Ca}from"react/jsx-runtime";var yr=[d.focus],fa=e=>{let{type:t,focus:o,separator:n,...l}=e,i,c=["00","01","02","03","04","05","06","07","08","09"];switch(t){case"dd":i="Day";break;case"HH":i="Hour";break;case"mm":i="Minute";break;case"ss":i="Second";break;case"SSS":i="Millisecond",c=["000","001","002","003","004","005","006","007","008","009"];break;case"tt":i="AM/PM",c=["AM","PM"];break;default:i="Column Name";break}let u=c.map((p,C)=>Ie("li",{className:"k-item",role:"option","aria-selected":"false",children:Ie("span",{children:p})},C));return Ca(gr,{children:[n&&Ie("div",{className:"k-time-separator",children:":"}),Ca("div",{...l,className:r(e.className,"k-time-list-wrapper",W("k-time-list-wrapper",{focus:o})),children:[Ie("span",{className:"k-title",children:i}),Ie("div",{className:"k-time-list",role:"listbox","aria-label":i,children:Ca("div",{className:"k-content k-scrollable k-time-container",children:[Ie("ul",{className:"k-reset",style:{transform:"translateY(97px)"},role:"none",children:u}),Ie("div",{className:"k-scrollable-placeholder"})]})})]})]})};fa.states=yr;import{jsx as Ar,jsxs as wr}from"react/jsx-runtime";var vr="k-time-header",dt=e=>{let{title:t,...o}=e;return wr("div",{...o,className:r(e.className,vr),children:[t!=null&&Ar("span",{className:"k-title",children:t}),e.children]})};import{jsx as Of,jsxs as _f}from"react/jsx-runtime";import{Fragment as Gf,jsx as Vf,jsxs as Uf}from"react/jsx-runtime";import{Fragment as eC,jsx as Zf,jsxs as jf}from"react/jsx-runtime";import{Fragment as cC,jsx as sC,jsxs as dC}from"react/jsx-runtime";var Uo="date-time-picker",Go="datetimepicker";import{Fragment as Wo,jsx as J,jsxs as ct}from"react/jsx-runtime";var xa="k-datetime-wrap",Sr=[],Er={size:[s.undefined,s.small,s.medium,s.large]},ba={tab:"date",actionButtons:!0},pe=e=>{let{size:t,tab:o=ba.tab,actionButtons:n=ba.actionButtons,dir:l,...i}=e;return ct("div",{...i,className:r(e.className,xa,{"k-date-tab":o==="date","k-time-tab":o==="time"},A(xa,{size:t})),role:"group","aria-label":"Date and time selector",children:[J("div",{className:"k-datetime-buttongroup",role:"tablist",children:ct(I,{stretched:!0,role:"presentation",children:[J(m,{className:"k-group-start",size:t,selected:o==="date",role:"tab","aria-selected":o==="date"?"true":"false",children:"Date"}),J(m,{className:"k-group-end",size:t,selected:o==="time",role:"tab","aria-selected":o==="time"?"true":"false",children:"Time"})]})}),J("div",{className:"k-datetime-selector",children:o==="time"?ct(Wo,{children:[J("div",{className:"k-datetime-calendar-wrap"}),J("div",{className:"k-datetime-time-wrap",children:J(xe,{size:t,columns:["HH","mm","ss","tt"],focusedColumn:"mm",header:J(dt,{title:"10:00:00 AM",children:J(m,{size:t,fillMode:"flat",className:"k-time-now",children:"Now"})})})})]}):ct(Wo,{children:[J("div",{className:"k-datetime-calendar-wrap",children:J(Et,{size:t,showOtherMonth:!0,dir:l})}),J("div",{className:"k-datetime-time-wrap"})]})}),n&&ct($,{className:"k-datetime-footer",alignment:"stretched",children:[J(m,{size:t,themeColor:"primary",className:"k-time-accept",children:"Set"}),J(m,{size:t,className:"k-time-cancel",children:"Cancel"})]})]})};pe.states=Sr;pe.options=Er;pe.className=xa;pe.defaultOptions=ba;pe.moduleName=Uo;pe.folderName=Go;pe.ariaSpec={selector:".k-datetime-wrap",rules:[{selector:".k-datetime-wrap",attribute:"role=group",usage:"Groups the date/time selector components."},{selector:".k-datetime-wrap",attribute:"aria-label",usage:"Describes the date/time selector purpose."},{selector:".k-datetime-buttongroup",attribute:"role=tablist",usage:"The buttongroup acts as a tablist for Date/Time tabs."},{selector:".k-datetime-buttongroup .k-button",attribute:"role=tab",usage:"Each tab button has role=tab."},{selector:".k-datetime-buttongroup .k-button",attribute:"aria-selected",usage:"Indicates which tab is currently active."}]};import{jsx as Ir}from"react/jsx-runtime";var Mr="k-actionsheet-footer",$o={alignment:"stretched",orientation:"horizontal"},Ne=e=>{let{alignment:t=$o.alignment,orientation:o=$o.orientation,template:n,as:l=n?"div":$,...i}=e;return Ir(l,{...i,...!n&&{alignment:t,orientation:o},className:r(e.className,Mr),children:e.children})};var ha="searchbox",Jo=ha;import{jsx as mt,jsxs as Or}from"react/jsx-runtime";var Xo="k-searchbox",Lr=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading],Rr={size:[s.undefined,s.small,s.medium,s.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[k.undefined,k.solid,k.flat,k.outline]},Na={showIcon:!0,icon:"search"},Te=e=>{let{value:t,placeholder:o,size:n,rounded:l,fillMode:i,hover:c,focus:u,valid:p,invalid:C,required:y,loading:T,disabled:S,showIcon:Q=Na.showIcon,icon:V=Na.icon,"aria-label":M,...B}=e;return Or(_,{...B,size:n,rounded:l,fillMode:i,hover:c,focus:u,valid:p,invalid:C,required:y,loading:T,disabled:S,className:r(e.className,Xo),children:[Q&&mt(w,{className:"k-input-icon",icon:V}),mt(te,{placeholder:o,value:t,"aria-label":M}),mt(re,{...e}),mt(ae,{...e}),mt(ee,{...e})]})};Te.states=Lr;Te.options=Rr;Te.className=Xo;Te.defaultOptions=Na;Te.moduleName=ha;Te.folderName=Jo;import{jsx as $C}from"react/jsx-runtime";var Ta="textbox",qo=Ta;import{Fragment as Yo,jsx as ke,jsxs as ka}from"react/jsx-runtime";var Qo="k-textbox",_r=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading,d.readonly],Hr={size:[s.undefined,s.small,s.medium,s.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[k.undefined,k.solid,k.flat,k.outline]},Ot={showClearButton:!0,showValidationIcon:!0,separators:!0},U=e=>{let{size:t,rounded:o,fillMode:n,separators:l=Ot.separators,showClearButton:i=Ot.showClearButton,showValidationIcon:c=Ot.showValidationIcon,prefix:u,suffix:p,type:C,value:y,placeholder:T,hover:S,focus:Q,valid:V,invalid:M,required:B,loading:E,disabled:Z,readonly:le,id:ue,"aria-label":we,"aria-describedby":be,...Bt}=e;return ka(_,{...Bt,size:t,rounded:o,fillMode:n,hover:S,focus:Q,valid:V,invalid:M,required:B,loading:E,disabled:Z,readonly:le,className:r(e.className,Qo),children:[u&&ka(Yo,{children:[ke(Re,{children:u}),l&&ke(_e,{})]}),ke(te,{id:ue,placeholder:T,value:y,type:C,disabled:Z,"aria-label":we,"aria-describedby":be,"aria-invalid":M?"true":void 0}),c&&ke(ae,{valid:V,invalid:M,loading:E,disabled:Z}),ke(re,{loading:E,disabled:Z}),i&&ke(ee,{loading:E,disabled:Z,readonly:le,value:y}),p&&ka(Yo,{children:[l&&ke(_e,{}),ke(Oe,{children:p})]})]})};U.states=_r;U.options=Hr;U.className=Qo;U.defaultOptions=Ot;U.moduleName=Ta;U.folderName=qo;U.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 pt=U;import{jsx as Br}from"react/jsx-runtime";var Zo=e=>Br(pt,{...e});import{Fragment as cx,jsx as dx}from"react/jsx-runtime";import{Fragment as xx,jsx as Cx}from"react/jsx-runtime";import{jsx as Tx}from"react/jsx-runtime";import{jsx as ya}from"react/jsx-runtime";var Dr=U.states,Pr=U.defaultOptions,Kr=U.options,zr=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Fr=[],$e=e=>{let{modifiers:t,...o}=e,n={};return Object.keys(t||{}).forEach(l=>{switch(l){case"prefix":n.prefix=t?.[l]?ya(w,{icon:"lock"}):void 0;break;case"suffix":n.suffix=t?.[l]?ya(Se,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":n.showClearButton=t?.[l];break;default:break}}),ya(Zo,{value:"Value",style:{width:300},...o,...n})};$e.options=Kr;$e.states=Dr;$e.variants=Fr;$e.defaultOptions=Pr;$e.modifiers=zr;$e.className=U.className;import{jsx as ye,jsxs as ga}from"react/jsx-runtime";var jo="k-actionsheet-titlebar",Vr={},ne=e=>{let{title:t,subtitle:o,actionsStart:n,actionsEnd:l,filter:i,input:c,inputValue:u,inputPlaceholder:p,adaptive:C,titleId:y,children:T,...S}=e;return ga("div",{...S,className:r(e.className,jo),children:[ga("div",{className:"k-actionsheet-titlebar-group",children:[n&&ye("div",{className:"k-actionsheet-actions",children:n}),!T&&ga("div",{className:"k-actionsheet-title",id:y,children:[t&&ye("div",{className:"k-text-center",children:t}),o&&ye("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),T&&ye("div",{className:"k-actionsheet-title",id:y,children:T}),l&&ye("div",{className:"k-actionsheet-actions",children:l})]}),(c||i)&&ye("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?ye(U,{value:u,placeholder:p,size:C?"large":"medium","aria-label":t||p||"Input"}):ye(Te,{placeholder:"Filter",size:C?"large":"medium","aria-label":"Filter options"})})]})};ne.className=jo;ne.defaultOptions=Vr;import{jsx as va,jsxs as $r}from"react/jsx-runtime";var Aa="k-actionsheet-view",Ur=[],Gr={},Wr={},Je=e=>{let{adaptive:t,animated:o,children:n,header:l,footer:i,titleId:c,...u}=e,p=l?.type===ne&&va(ne,{adaptive:t,titleId:c,...l?.props}),C=i?.type===Ne&&va(Ne,{...i?.props});return $r("div",{...u,className:r(e.className,Aa,{[`${Aa}-animated`]:o}),children:[p,va("div",{className:"k-actionsheet-content",children:n}),C]})};Je.states=Ur;Je.options=Gr;Je.className=Aa;Je.defaultOptions=Wr;var ut="action-sheet",_t=ut;var wa="overlay",en=wa;import{jsx as Yr}from"react/jsx-runtime";var Sa="k-overlay",Jr=[],Xr={themeColor:[b.undefined,b.light,b.dark,b.inverse]},qr={},ge=e=>{let{themeColor:t,...o}=e;return Yr("div",{...o,className:r(e.className,Sa,A(Sa,{themeColor:t})),children:e.children})};ge.states=Jr;ge.options=Xr;ge.className=Sa;ge.defaultOptions=qr;ge.moduleName=wa;ge.folderName=en;import{jsx as Ht,jsxs as jr}from"react/jsx-runtime";var tn="k-actionsheet",Qr=[],Zr={},ft={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},P=e=>{let{side:t=ft.side,fullscreen:o=ft.fullscreen,adaptive:n=ft.adaptive,overlay:l=ft.overlay,template:i,children:c,header:u,footer:p,id:C,...y}=e,T=C&&!i&&u?`${C}-title`:void 0;return jr("div",{className:"k-actionsheet-container",children:[l&&Ht(ge,{}),Ht(se,{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:Ht("div",{...y,id:C,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":T,className:r(e.className,tn,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":n}),children:i||Ht(Je,{header:u,footer:p,adaptive:n,titleId:T,...e,children:c})})})]})};P.states=Qr;P.options=Zr;P.className=tn;P.defaultOptions=ft;P.moduleName=ut;P.folderName=_t;P.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};import{jsx as oi}from"react/jsx-runtime";var an="k-actionsheet-container",ei=[],ti={},ai={},Xe=e=>{let{children:t,...o}=e;return oi("div",{...o,className:an,children:t})};Xe.states=ei;Xe.options=ti;Xe.className=an;Xe.defaultOptions=ai;Xe.moduleName=ut;Xe.folderName=_t;import{jsx as ni}from"react/jsx-runtime";var Ea=e=>{let{...t}=e;return ni("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as ri,jsx as Ct,jsxs as Ma}from"react/jsx-runtime";var Ia="k-actionsheet-item",li=[d.hover,d.focus,d.selected,d.disabled],ve=e=>{let{iconName:t,text:o,description:n,hover:l,focus:i,selected:c,disabled:u,...p}=e;return Ma("span",{...p,className:r(e.className,Ia,W(Ia,{hover:l,focus:i,selected:c,disabled:u})),children:[!e.children&&Ct(ri,{children:Ma("span",{className:"k-actionsheet-action",children:[t&&Ct("span",{className:"k-icon-wrap",children:Ct(w,{className:"k-actionsheet-item-icon",icon:t})}),Ma("span",{className:"k-actionsheet-item-text",children:[o&&Ct("span",{className:"k-actionsheet-item-title",children:o}),n&&Ct("span",{className:"k-actionsheet-item-description",children:n})]})]})}),e.children]})};ve.states=li;ve.className=Ia;import{jsx as Nb,jsxs as Tb}from"react/jsx-runtime";import{jsx as vb}from"react/jsx-runtime";import{jsx as Eb}from"react/jsx-runtime";import{jsx as Rb}from"react/jsx-runtime";import{jsx as K,jsxs as La}from"react/jsx-runtime";var ii=P.options,si=P.states,nn={...P.defaultOptions,variant:"normal"},di=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ci=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],qe=e=>{let{variant:t,modifiers:o,...n}={...nn,...e},l={},i=La(Ea,{children:[K(ve,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),K(ve,{text:"Add to Favorites",iconName:"heart"}),K(ve,{text:"Upload New",iconName:"upload",disabled:!0}),K("hr",{className:"k-hr"}),K(ve,{text:"Cancel",iconName:"cancel"})]}),c="Choose from the items below",u="Select Item";return t==="fullScreen"&&(l.fullScreen=!0),Object.keys(o||{}).forEach(p=>{switch(p){case"actions":l.actionsStart=!!o?.[p],l.actionsEnd=!!o?.[p];break;case"subtitle":l.subtitle=o?.[p]?c:void 0;break;case"footer":l.footer=!!o?.[p];break;default:break}}),t==="adaptive"?K(P,{...n,adaptive:!0,fullscreen:l.fullScreen,header:K(ne,{actionsStart:l.actionsStart?K(m,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?K(m,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:l.subtitle}),footer:l.footer?La(Ne,{alignment:"stretched",children:[K(m,{text:"Cancel",size:"large",themeColor:"base"}),K(m,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:i}):K(P,{...n,fullscreen:l.fullScreen,header:K(ne,{actionsStart:l.actionsStart?K(m,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?K(m,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:l.subtitle}),footer:l.footer?La(Ne,{alignment:"stretched",children:[K(m,{text:"Apply",themeColor:"primary"}),K(m,{text:"Cancel",themeColor:"base"})]}):void 0,children:i})};qe.options=ii;qe.states=si;qe.variants=di;qe.defaultOptions=nn;qe.modifiers=ci;qe.className=P.className;var ln="date-time-picker",rn="datetimepicker";import{Fragment as ui,jsx as G,jsxs as Ra}from"react/jsx-runtime";var sn="k-datetimepicker",mi=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading,d.readonly],pi={size:[s.undefined,s.small,s.medium,s.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[k.undefined,k.solid,k.flat,k.outline]},dn={tab:"date"},Ae=e=>{let{size:t,rounded:o,fillMode:n,tab:l=dn.tab,prefix:i,suffix:c,value:u,placeholder:p,hover:C,focus:y,valid:T,invalid:S,required:Q,loading:V,disabled:M,readonly:B,opened:E,dir:Z,adaptive:le,adaptiveSettings:ue,adaptiveTitle:we,adaptiveSubtitle:be,...Bt}=e,Dt=he("datetimepicker-popup");return Ra(ui,{children:[Ra(_,{...Bt,dir:Z,size:t,rounded:o,fillMode:n,hover:C,focus:y,valid:T,invalid:S,required:Q,loading:V,disabled:M,readonly:B,className:r(e.className,sn),children:[G(Re,{children:i}),G(te,{placeholder:p,value:u,role:"combobox","aria-haspopup":"dialog","aria-expanded":E?"true":"false","aria-controls":E||le?Dt:void 0,"aria-invalid":S?"true":void 0,"aria-label":"Select date and time",disabled:M}),G(ae,{valid:T,invalid:S,loading:V,disabled:M}),G(re,{loading:V,disabled:M}),G(ee,{loading:V,disabled:M,readonly:B,value:u}),G(Oe,{children:c}),G(m,{className:"k-input-button",icon:l==="time"?"clock":"calendar",size:t,fillMode:n,tabIndex:-1,"aria-label":"Select date and time",disabled:M})]}),E&&G(j,{id:Dt,className:"k-datetime-container k-datetimepicker-popup",dir:Z,children:G(pe,{size:t,tab:l,dir:Z})}),le&&G(P,{adaptive:!0,id:Dt,...ue,header:G(ne,{actionsEnd:G(m,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:we,subtitle:be}),footer:Ra(Ne,{children:[G(m,{text:"Cancel",size:"large",className:"k-time-cancel"}),G(m,{text:"Set",size:"large",themeColor:"primary",className:"k-time-accept"})]}),children:G(pe,{size:"large",tab:l,actionButtons:!1})})]})};Ae.states=mi;Ae.options=pi;Ae.className=sn;Ae.defaultOptions=dn;Ae.moduleName=ln;Ae.folderName=rn;Ae.ariaSpec={selector:".k-datetimepicker",rules:[{selector:".k-datetimepicker .k-input-inner",attribute:"role=combobox",usage:"The input element follows the combobox specification."},{selector:".k-datetimepicker .k-input-inner",attribute:"aria-haspopup=dialog",usage:"Indicates the component has a Dialog Popup."},{selector:".k-datetimepicker .k-input-inner",attribute:"aria-expanded=true/false",usage:"Announces whether the Popup is visible or not."},{selector:".k-datetimepicker .k-input-inner",attribute:"aria-controls (when open)",usage:"Points to the popup element containing the calendar or time selector."},{selector:".k-datetimepicker .k-input-inner",attribute:"aria-activedescendant (when open)",usage:"Points to the focused item in the Calendar or Time Popup."},{selector:".k-datetimepicker .k-input-inner",attribute:"label for or aria-label or aria-labelledby",usage:"The input needs an accessible name."},{selector:".k-invalid .k-input-inner",attribute:"aria-invalid=true",usage:"Rendered only when the picker is in form and announces invalid state."},{selector:".k-disabled .k-input-inner",attribute:"disabled or aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-datetimepicker .k-input-button",attribute:"tabindex=-1",usage:"Button element must not be focusable."},{selector:".k-datetimepicker .k-input-button",attribute:"aria-label",usage:"The button needs an accessible name."},{selector:".k-datetimepicker.k-disabled .k-button",attribute:"disabled or aria-disabled",usage:"Rendered only when the picker is disabled."}]};var cn=Ae;import{jsx as fi}from"react/jsx-runtime";var fh=e=>fi(cn,{disabled:!0,value:"6/1/2025 10:00 AM",...e});export{fh as DateTimePickerDisabled};
1
+ 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 v=(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"}),W=(e,t)=>{let{valid:o,invalid:l,hover:n,focus:i,checked:c,active:p,selected:m,disabled:C,indeterminate:k,loading:T,empty:E,readonly:Y,highlighted:F,...M}=t;return r({"k-valid":o,"k-invalid":l,"k-hover":n,"k-focus":i,"k-checked":c,"k-active":p,"k-selected":m,"k-disabled":C,"k-indeterminate":k&&!c,"k-loading":T,"k-empty":E,"k-readonly":Y,"k-highlighted":F},Object.keys(M).reduce((D,w)=>(w.startsWith("k-")?D[w]=M[w]:D[`k-${w}`]=M[w],D),{}))};function _a(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"},S={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},x={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",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 Bt={};function be(e){return Bt[e]=(Bt[e]||0)+1,`k-${e}-${Bt[e]}`}var qe="input",Ct=qe;import{jsx as hn}from"react/jsx-runtime";var ft="k-input",fn=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading,d.readonly],xn={size:[s.undefined,s.small,s.medium,s.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[S.undefined,S.solid,S.flat,S.outline]},bn={},O=e=>{let{hover:t,focus:o,disabled:l,invalid:n,valid:i,loading:c,readonly:p,size:m,rounded:C,fillMode:k,...T}=e;return hn("span",{...T,className:r(e.className,ft,v(ft,{size:m,rounded:C,fillMode:k}),W(ft,{hover:t,focus:o,disabled:l,invalid:n,valid:i,loading:c,readonly:p}))})};O.states=fn;O.options=xn;O.className=ft;O.defaultOptions=bn;O.moduleName=qe;O.folderName=Ct;import{jsx as gn}from"react/jsx-runtime";var xt="k-picker",Nn=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading,d.readonly],Tn={size:[s.undefined,s.small,s.medium,s.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[S.undefined,S.solid,S.flat,S.outline]},kn={},Le=e=>{let{hover:t,focus:o,disabled:l,invalid:n,valid:i,loading:c,readonly:p,size:m,rounded:C,fillMode:k,...T}=e;return gn("span",{...T,className:r(e.className,xt,v(xt,{size:m,rounded:C,fillMode:k}),W(xt,{hover:t,focus:o,disabled:l,invalid:n,valid:i,loading:c,readonly:p})),children:e.children})};Le.states=Nn;Le.options=Tn;Le.className=xt;Le.defaultOptions=kn;Le.moduleName=qe;Le.folderName=Ct;import{Fragment as An,jsx as Da}from"react/jsx-runtime";var zt="k-font-icon",yn=[],Sn={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.light,x.dark]},vn={},Ye=e=>{let{size:t,themeColor:o,icon:l,rotate:n,flip:i,...c}=e;return l?Da("span",{...c,className:r(e.className,zt,v(zt,{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"}):Da(An,{})};Ye.states=yn;Ye.options=Sn;Ye.className=zt;Ye.defaultOptions=vn;var Ha=Ye;import{Fragment as Mn,jsx as bt}from"react/jsx-runtime";var Ft="k-svg-icon",En=[],wn={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.light,x.dark]},Ka={viewBox:"0 0 24 24"},Qe=e=>{let{size:t,themeColor:o,rotate:l,flip:n,viewBox:i=Ka.viewBox,icon:c,...p}=e;if(!c)return bt(Mn,{});if(c==="none")return bt("span",{...p,className:r(e.className,Ft,v("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let m=typeof c=="object"&&c.name&&c.name;return bt("span",{...p,className:r(e.className,Ft,v("k-icon",{size:t}),{[`k-svg-i-${m}`]:m,[`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:bt("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:i,dangerouslySetInnerHTML:typeof c=="object"?{__html:c.content}:void 0,children:c?void 0:e.children})})};Qe.states=En;Qe.options=wn;Qe.className=Ft;Qe.defaultOptions=Ka;var Vt=Qe;import*as Ut from"@progress/kendo-svg-icons";var Pa="icon",Ba="icons";import{useContext as Ln}from"react";import{createContext as In}from"react";var za=In({iconsType:"svg"});import{Fragment as Fa,jsx as Ze}from"react/jsx-runtime";var ht="k-icon",Rn=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),On=[],_n={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.light,x.dark]},Wt={viewBox:"0 0 24 24",type:"svg"},A=e=>{let{iconsType:t}=Ln(za),{size:o,themeColor:l,icon:n,type:i=t||Wt.type,rotate:c,flip:p,viewBox:m=Wt.viewBox,...C}=e;if(!n)return Ze(Fa,{});if((t||i)==="svg"){if(n==="none")return Ze(Vt,{...C,className:r(e.className,ht),icon:n,size:o});let T=Ut[n]?n:Rn(`${n}-icon`);return Ut[T]?Ze(Vt,{...C,className:r(e.className,ht),icon:Ut[T],size:o,themeColor:l,rotate:c,flip:p,viewBox:m}):Ze(Fa,{})}return Ze(Ha,{...C,className:r(e.className,ht),icon:n,size:o,themeColor:l,rotate:c,flip:p})};A.states=On;A.options=_n;A.defaultOptions=Wt;A.className=ht;A.moduleName=Pa;A.folderName=Ba;A.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."}]};import{Fragment as Kn,jsx as $t}from"react/jsx-runtime";var Va="k-clear-value",Dn=[d.disabled,d.loading,d.readonly],Hn={},j=e=>{let{disabled:t,loading:o,readonly:l,value:n}=e;return t||l||o||!n?$t(Kn,{}):$t("span",{className:r(e.className,Va),children:$t(A,{icon:"x"})})};j.states=Dn;j.options=Hn;j.className=Va;import{jsx as zn}from"react/jsx-runtime";var Jt="k-input-inner",Pn=[],Bn={},Nt={type:"text",autocomplete:"off",value:"",placeholder:""},ee=e=>{let{value:t=Nt.value,type:o=Nt.type,placeholder:l=Nt.placeholder,autocomplete:n=Nt.autocomplete,disabled:i,readOnly:c,...p}=e;return zn("input",{...p,type:o,className:r(e.className,Jt,v(Jt,e)),placeholder:l,autoComplete:n,defaultValue:t,disabled:i||void 0,readOnly:c||void 0})};ee.states=Pn;ee.options=Bn;ee.className=Jt;import{jsx as Ua,jsxs as Un}from"react/jsx-runtime";var Xt="k-input-inner",Fn=[],Vn={},Gt=e=>{let{value:t,placeholder:o,showValue:l,valueIcon:n,valueIconName:i,...c}=e;return Un("span",{...c,className:r(e.className,Xt,v(Xt,e)),children:[n,!n&&i&&Ua(A,{className:"k-input-value-icon",icon:i}),l&&!t&&o,l&&t&&Ua("span",{className:"k-input-value-text",children:t})]})};Gt.states=Fn;Gt.options=Vn;Gt.className=Xt;import{jsx as Jn}from"react/jsx-runtime";var qt="k-input-inner",Wn=[],$n={},Wa={value:"",placeholder:""},Yt=e=>{let{value:t=Wa.value,placeholder:o=Wa.placeholder,rows:l,disabled:n,...i}=e;return Jn("textarea",{...i,className:r(e.className,qt,v(qt,e)),placeholder:o,rows:l,defaultValue:t,disabled:n||void 0})};Yt.states=Wn;Yt.options=$n;Yt.className=qt;import{Fragment as Gn,jsx as $a}from"react/jsx-runtime";var Ja="k-input-loading-icon",Xn=[d.disabled,d.loading],le=e=>{let{disabled:t,loading:o}=e;return t||!o?$a(Gn,{}):$a("span",{className:r(e.className,Ja,"k-icon k-i-loading")})};le.states=Xn;le.className=Ja;import{Fragment as Qn,jsx as Xa}from"react/jsx-runtime";var Ga="k-input-validation-icon",qn=[d.valid,d.invalid,d.disabled,d.loading],Yn={},te=e=>{let{valid:t,invalid:o,disabled:l,loading:n}=e,i=o?"warning-circle":"check-circle";return l||n||!!!(t||o)?Xa(Qn,{}):Xa(A,{className:r(Ga),icon:i})};te.states=qn;te.options=Yn;te.className=Ga;import{Fragment as el,jsx as qa}from"react/jsx-runtime";var Zn="k-input-prefix",jn={direction:"horizontal"},Re=e=>{let{direction:t=jn.direction,...o}=e;return e.children?qa("span",{...o,className:r(Zn,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):qa(el,{})};import{Fragment as ol,jsx as Ya}from"react/jsx-runtime";var tl="k-input-suffix",al={direction:"horizontal"},Oe=e=>{let{direction:t=al.direction,...o}=e;return e.children?Ya("span",{...o,className:r(tl,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Ya(ol,{})};import{jsx as Os}from"react/jsx-runtime";import{jsx as Ks}from"react/jsx-runtime";import{jsx as ll}from"react/jsx-runtime";var Qa="k-input-separator",nl={direction:"vertical"},_e=e=>{let{direction:t=nl.direction,...o}=e;return ll("span",{...o,className:r(Qa,e.className,{[`${Qa}-${t}`]:t})})};var Qt="button",Za=Qt;import{Fragment as dl,jsx as je,jsxs as ja}from"react/jsx-runtime";var et="k-button",rl=["icon-button"],il=[d.hover,d.focus,d.active,d.selected,d.disabled,d.generating],sl={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:[S.undefined,S.solid,S.flat,S.outline,S.clear,S.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.light,x.dark,x.inverse]},Zt={showArrow:!1,arrowIconName:"caret-alt-down"},b=e=>{let{as:t="button",size:o,rounded:l,fillMode:n,themeColor:i,showArrow:c=Zt.showArrow,arrowIconName:p=Zt.arrowIconName,variant:m,hover:C,focus:k,active:T,selected:E,disabled:Y,togglable:F,ariaDisabled:M,icon:D,text:w,iconClassName:Q,className:ne,...pe}=e,Ae=D!==void 0,xe=e.children!==void 0;return ja(t,{className:r(ne,et,_a(et,m),v(et,{size:o,rounded:l,fillMode:n,themeColor:i}),W(et,{hover:C,focus:k,active:T,disabled:Y||M,selected:E}),{"k-icon-button":!w&&!xe&&Ae}),...pe,"aria-pressed":F?E?"true":"false":void 0,"aria-disabled":M?"true":void 0,disabled:Y||void 0,children:[D&&je(A,{className:r(Q,"k-button-icon"),icon:D}),w?ja(dl,{children:[w&&je("span",{className:"k-button-text",children:w}),e.children]}):e.children&&je("span",{className:"k-button-text",children:e.children}),c&&je("span",{className:"k-menu-button-arrow k-button-arrow",children:je(A,{icon:p})})]})};b.states=il;b.options=sl;b.variants=rl;b.className=et;b.defaultOptions=Zt;b.moduleName=Qt;b.folderName=Za;b.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."}]};import{jsx as cl}from"react/jsx-runtime";var Ee=e=>cl(b,{children:"Button",...e});import{Fragment as eo,jsx as re,jsxs as jt}from"react/jsx-runtime";var ml=O.states,pl=O.defaultOptions,ul=O.options,Cl=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],fl=[],De=e=>{let{modifiers:t,valid:o,invalid:l,loading:n,disabled:i,readonly:c,...p}=e,m=t?.prefix,C=t?.suffix,k=t?.["clear-button"],T=t?.["validation-icon"],E=t?.separators;return jt(O,{...p,valid:o,invalid:l,loading:n,disabled:i,readonly:c,style:{width:300},children:[m&&jt(eo,{children:[re(Re,{children:re(A,{icon:"lock"})}),E&&re(_e,{})]}),re(ee,{placeholder:"Placeholder",value:"Value"}),T&&re(te,{valid:o,invalid:l,loading:n,disabled:i}),re(le,{loading:n,disabled:i}),k&&re(j,{loading:n,disabled:i,readonly:c,value:"Value"}),C&&jt(eo,{children:[E&&re(_e,{}),re(Oe,{children:re(Ee,{size:p.size,fillMode:"clear",children:"Send"})})]})]})};De.options=ul;De.states=ml;De.variants=fl;De.defaultOptions=pl;De.modifiers=Cl;De.className=O.className;import{jsx as xl}from"react/jsx-runtime";var to=e=>xl(b,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as bl}from"react/jsx-runtime";var ao=e=>bl(b,{icon:"folder",children:"Button",...e});import{jsx as ea}from"react/jsx-runtime";var hl=b.options,Nl=b.states,Tl={...b.defaultOptions,variant:"text"},kl=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],gl=[],He=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return ea(to,{...o,icon:"star"});case"icon-and-text":return ea(ao,{...o,icon:"star",children:"Button"});default:return ea(Ee,{...o,children:"Button"})}};He.options=hl;He.states=Nl;He.variants=kl;He.defaultOptions=Tl;He.modifiers=gl;He.className=b.className;var ta="popup",oo=ta;import{jsx as no}from"react/jsx-runtime";var lo="k-animation-container",yl=[],Sl={},ro={positionMode:"absolute"},ie=e=>{let{positionMode:t=ro.positionMode,animationStyle:o,offset:l,...n}=e;return no("div",{...n,style:{...l,...e.style},className:r(e.className,lo,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:no("div",{className:"k-child-animation-container",style:o,children:e.children})})};ie.states=yl;ie.options=Sl;ie.className=lo;ie.defaultOptions=ro;ie.moduleName=ta;ie.folderName=oo;var aa="popup",io=aa;import{jsx as so}from"react/jsx-runtime";var co="k-popup",vl=[],Al={},mo={positionMode:"absolute"},Z=e=>{let{offset:t,positionMode:o=mo.positionMode,animationStyle:l,containerClassName:n,containerRole:i,containerAriaLabel:c,...p}=e;return so(ie,{positionMode:o,offset:t,animationStyle:l,className:n,role:i,"aria-label":c,children:so("div",{...p,className:r(e.className,co),children:e.children})})};Z.states=vl;Z.options=Al;Z.className=co;Z.defaultOptions=mo;Z.moduleName=aa;Z.folderName=io;Z.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 oa="action-buttons",po=oa;import{jsx as Ml}from"react/jsx-runtime";var Tt="k-actions",El=[],wl={},na={alignment:"start",orientation:"horizontal"},$=e=>{let{alignment:t=na.alignment,orientation:o=na.orientation,...l}=e;return Ml("div",{...l,className:r(Tt,{[`${Tt}-${t}`]:t,[`${Tt}-${o}`]:o},e.className),children:e.children})};$.states=El;$.options=wl;$.className=Tt;$.defaultOptions=na;$.moduleName=oa;$.folderName=po;import{jsx as Il}from"react/jsx-runtime";var uo="k-calendar-view",la={orientation:"horizontal",calendarView:"month"},kt=e=>{let{orientation:t=la.orientation,calendarView:o=la.calendarView,gridRole:l,ariaLabelledBy:n,...i}=e;return Il("div",{...i,className:r(e.className,uo,`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})};kt.className=uo;kt.defaultOptions=la;import{jsx as tt,jsxs as Co}from"react/jsx-runtime";var fo="k-calendar-header",Ll={size:[s.undefined,s.small,s.medium,s.large]},at={calendarTitleText:"October 2021",showToday:!0,showNavigationButtons:!0,orientation:"horizontal"},we=e=>{let{calendarTitleText:t=at.calendarTitleText,showToday:o=at.showToday,showNavigationButtons:l=at.showNavigationButtons,orientation:n=at.orientation,size:i,calendarView:c,dir:p,titleId:m,...C}=e,k=p==="rtl"?"chevron-right":"chevron-left",T=p==="rtl"?"chevron-left":"chevron-right",E=m||be("calendar-title");return Co("div",{...C,className:r(e.className,fo,{"k-vstack":n==="vertical"}),children:[tt(b,{disabled:c==="century",className:"k-calendar-title",text:t,size:i,fillMode:"flat",themeColor:"primary",id:E,tabIndex:-1,"aria-label":`Navigate to parent view: ${t}`,...c==="century"?{"aria-disabled":"true"}:{}}),tt("span",{className:"k-spacer"}),Co("span",{className:"k-calendar-nav",children:[l&&tt(b,{className:"k-calendar-nav-prev",icon:k,size:i,fillMode:"flat",tabIndex:-1,"aria-label":"Navigate to previous view"}),o&&tt(b,{size:i,fillMode:"flat",className:"k-calendar-nav-today",tabIndex:-1,children:"Today"}),l&&tt(b,{className:"k-calendar-nav-next",icon:T,size:i,fillMode:"flat",tabIndex:-1,"aria-label":"Navigate to next view"})]})]})};we.options=Ll;we.className=fo;we.defaultOptions=at;import{jsx as xo}from"react/jsx-runtime";var bo="k-calendar-footer",Rl={size:[s.undefined,s.small,s.medium,s.large]},ho={calendarFooterText:"Tuesday, October 12, 2021"},ot=e=>{let{size:t,calendarFooterText:o=ho.calendarFooterText,...l}=e;return xo("div",{...l,className:r(e.className,bo),children:xo(b,{size:t,fillMode:"flat",themeColor:"primary",className:"k-calendar-nav-today",children:o})})};ot.options=Rl;ot.className=bo;ot.defaultOptions=ho;var H="calendar",B=H;import{jsx as ra,jsxs as Dl}from"react/jsx-runtime";var ia="k-calendar",Ol=[],_l={size:[s.undefined,s.small,s.medium,s.large]},nt={showCalendarHeader:!0,orientation:"horizontal",calendarView:"month",calendarTitleText:"October 2021"},I=e=>{let{size:t,orientation:o=nt.orientation,calendarView:l=nt.calendarView,calendarTitleText:n=nt.calendarTitleText,showCalendarHeader:i=nt.showCalendarHeader,showWeek:c,showCalendarFooter:p,calendarFooterText:m,dir:C,...k}=e,T=be("calendar-title");return Dl("div",{...k,dir:C,className:r(e.className,ia,v(ia,{size:t}),{"k-week-number":c}),children:[i&&ra(we,{calendarView:l,showToday:!p,calendarTitleText:n,orientation:o,size:t,dir:C,titleId:T}),ra(kt,{calendarView:l,orientation:o,gridRole:!0,ariaLabelledBy:T,children:e.children}),p&&ra(ot,{calendarFooterText:m,size:t})]})};I.states=Ol;I.options=_l;I.className=ia;I.defaultOptions=nt;I.moduleName=H;I.folderName=B;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."}]};import{jsx as Bl}from"react/jsx-runtime";var No="k-calendar-container",Hl=[],Kl={},Pl={},Ke=e=>{let{...t}=e;return Bl("div",{...t,className:r(e.className,No),children:e.children})};Ke.states=Hl;Ke.options=Kl;Ke.className=No;Ke.defaultOptions=Pl;Ke.moduleName=H;Ke.folderName=B;import{Fragment as Fl,jsx as Pe,jsxs as Vl}from"react/jsx-runtime";var zl=[d.hover,d.focus,d.active,d.selected,d.disabled],a=e=>{let{text:t,headerCell:o,today:l,weekend:n,showOtherMonth:i,weekCell:c,rangeStart:p,rangeMid:m,rangeEnd:C,dayIndicator:k,empty:T,hover:E,focus:Y,active:F,selected:M,disabled:D,...w}=e,ne=`k-calendar-${o?"th":"td"}`,pe=[e.className,ne,W(ne,{hover:E,focus:Y,active:F,selected:M,disabled:D}),{"k-today":l,"k-weekend":n,"k-other-month":i,"k-alt":c,"k-range-start":p,"k-range-mid":m,"k-range-end":C,"k-empty":T}],Ae={Su:"Sunday",Mo:"Monday",Tu:"Tuesday",We:"Wednesday",Th:"Thursday",Fr:"Friday",Sa:"Saturday",W:"Week number"};if(o){let xe=t?Ae[t]||t:void 0;return Pe("th",{...w,className:r(pe),role:"columnheader",scope:"col","aria-label":xe,children:c?Pe("span",{className:"k-sr-only",children:xe}):t})}return c?Pe("td",{...w,className:r(pe),children:t}):Pe("td",{...w,className:r(pe),role:"gridcell",...M?{"aria-selected":"true"}:{},...D?{"aria-disabled":"true"}:{},children:T&&!i?Pe(Fl,{children:"\xA0"}):Vl("span",{className:"k-link",children:[t,k&&Pe("span",{className:"k-day-indicator"})]})})};a.states=zl;import{jsx as sa,jsxs as Ul}from"react/jsx-runtime";var To="k-calendar-thead",ko={cellsText:["Su","Mo","Tu","We","Th","Fr","Sa"]},Be=e=>{let{showWeek:t,cellsText:o=ko.cellsText,...l}=e;return sa("thead",{...l,className:r(e.className,To),role:"rowgroup",children:Ul("tr",{className:"k-calendar-tr",role:"row",children:[t&&sa(a,{weekCell:!0,headerCell:!0,text:"W"}),o.map((n,i)=>sa(a,{text:n,headerCell:!0},i))]})})};Be.className=To;Be.defaultOptions=ko;import{jsx as Wl}from"react/jsx-runtime";var go="k-calendar-tbody",_=e=>{let{...t}=e;return Wl("tbody",{...t,className:r(e.className,go),role:"rowgroup",children:e.children})};_.className=go;_.moduleName=H;_.folderName=B;import{jsx as da,jsxs as Jl}from"react/jsx-runtime";var $l="k-calendar-table",se=e=>{let{calendarCaption:t,showTableHead:o,showWeek:l,ariaLabelledBy:n,ariaActiveDescendant:i,gridRole:c,...p}=e;return Jl("table",{...p,className:r(e.className,$l),...c?{role:"grid","aria-labelledby":n,"aria-activedescendant":i,tabIndex:0}:{role:"none"},children:[t&&da("caption",{className:"k-calendar-caption",children:t}),o&&da(Be,{showWeek:l}),da(_,{children:e.children})]})};import{jsx as ca,jsxs as yo}from"react/jsx-runtime";var So="k-calendar-navigation",lt=e=>yo("div",{...e,className:r(e.className,So),children:[ca("span",{className:"k-calendar-navigation-highlight"}),yo("div",{className:"k-content k-scrollable",children:[ca("ul",{className:"k-reset",children:e.children}),ca("div",{className:"k-scrollable-placeholder",style:{height:"1000px"}})]})]});lt.className=So;lt.moduleName=H;lt.folderName=B;import{jsx as Gl}from"react/jsx-runtime";var Xl="k-calendar-table",ma=e=>{let{tableRole:t="none",ariaLabelledBy:o,...l}=e;return Gl("table",{...l,className:r(e.className,Xl),role:t,...o?{"aria-labelledby":o}:{},...t==="grid"?{tabIndex:0}:{},children:e.children})};import{jsx as ae,jsxs as gt}from"react/jsx-runtime";var vo="k-calendar-view",ze={orientation:"vertical",calendarView:"month",headerText:"April 2018",showWeekdays:!0,showNavigationButtons:!1},Fe=e=>{let{orientation:t=ze.orientation,calendarView:o=ze.calendarView,headerText:l=ze.headerText,showWeekdays:n=ze.showWeekdays,showNavigationButtons:i=ze.showNavigationButtons,showWeekNumbers:c,weekdayCellsText:p,gridLabelledBy:m,...C}=e;return gt("div",{...C,className:r(vo,`k-calendar-${o}view`,e.className,{"k-hstack":t==="horizontal","k-vstack":t==="vertical"}),children:[ae(we,{showNavigationButtons:i,calendarTitleText:l,orientation:"horizontal"}),n&&gt(ma,{className:"k-calendar-weekdays",tableRole:"table",children:[gt("colgroup",{children:[ae("col",{}),ae("col",{}),ae("col",{}),ae("col",{}),ae("col",{}),ae("col",{}),ae("col",{})]}),ae(Be,{cellsText:p,showWeek:c})]}),gt("div",{className:"k-content k-scrollable",role:"none",children:[ae(ma,{tableRole:"grid",ariaLabelledBy:m,children:e.children}),ae("div",{className:"k-scrollable-placeholder",style:{height:"1000px"}})]})]})};Fe.className=vo;Fe.defaultOptions=ze;Fe.moduleName=H;Fe.folderName=B;import{jsx as yt,jsxs as jl}from"react/jsx-runtime";var Ao="k-calendar-infinite",ql={size:[s.undefined,s.small,s.medium,s.large]},Yl=["Aug","Sep","Oct","Nov","Dec","2021","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","2022","Feb","Mar","Apr","May","Jun","Jul"],Ql={2021:"marker",2022:"marker"},Zl=(e,t)=>e.map((o,l)=>yt("li",{children:yt("span",{className:t[o]==="marker"?"k-calendar-navigation-marker":void 0,children:o})},l)),rt={showNavigation:!0,calendarView:"month",navigationItems:Yl,navigationMarkerConfig:Ql},L=e=>{let{size:t,showNavigation:o=rt.showNavigation,calendarView:l=rt.calendarView,navigationItems:n=rt.navigationItems,navigationMarkerConfig:i=rt.navigationMarkerConfig,calendarTitleText:c,showWeekdays:p,showWeekNumbers:m,showNavigationButtons:C,calendarWeekdays:k,...T}=e,E=be("calendar-infinite-title");return jl("div",{...T,className:r(e.className,"k-calendar",Ao,v("k-calendar",{size:t})),children:[o&&yt(lt,{children:Zl(n,i)}),yt(Fe,{calendarView:l,headerText:c,showWeekdays:p,showWeekNumbers:m,showNavigationButtons:C,orientation:"vertical",weekdayCellsText:k,gridLabelledBy:E,children:e.children})]})};L.options=ql;L.className=Ao;L.defaultOptions=rt;L.moduleName=H;L.folderName=B;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."}]};import{jsx as er}from"react/jsx-runtime";var Eo="k-calendar-tr",u=e=>{let{...t}=e;return er("tr",{...t,className:r(e.className,Eo),role:"row",children:e.children})};u.className=Eo;u.moduleName=H;u.folderName=B;import{jsx as tr}from"react/jsx-runtime";var wo="k-calendar-caption",z=e=>{let{text:t,scope:o,colSpan:l,rowSpan:n,...i}=e;return tr("th",{...i,scope:o,colSpan:l,rowSpan:n,className:r(e.className,wo),children:t})};z.className=wo;z.moduleName=H;z.folderName=B;import{jsx as X,jsxs as St}from"react/jsx-runtime";var Mo=({showOtherCentury:e,...t})=>X(I,{calendarView:"century",calendarTitleText:"2000 - 2099",children:St(se,{children:[St(u,{children:[X(a,{text:"1990 - 1999"}),X(a,{text:"2000 - 2009"}),X(a,{text:"2010 - 2019",today:!0}),X(a,{text:"2020 - 2029"})]}),St(u,{children:[X(a,{text:"2030 - 2039"}),X(a,{text:"2040 - 2049"}),X(a,{text:"2050 - 2059"}),X(a,{text:"2060 - 2069"})]}),St(u,{children:[X(a,{text:"2070 - 2079"}),X(a,{text:"2080 - 2089"}),X(a,{text:"2090 - 2099"}),X(a,{text:"2100 - 2109",empty:!e})]})]}),...t});import{jsx as G,jsxs as vt}from"react/jsx-runtime";var Io=({showOtherDecade:e,...t})=>G(I,{calendarView:"decade",calendarTitleText:"2020 - 2029",children:vt(se,{children:[vt(u,{children:[G(a,{text:"2019",empty:!e}),G(a,{text:"2020"}),G(a,{text:"2021",today:!0}),G(a,{text:"2022"})]}),vt(u,{children:[G(a,{text:"2023"}),G(a,{text:"2024"}),G(a,{text:"2025"}),G(a,{text:"2026"})]}),vt(u,{children:[G(a,{text:"2027"}),G(a,{text:"2028"}),G(a,{text:"2029"}),G(a,{text:"2030",empty:!e})]})]}),...t});import{jsx as h,jsxs as Me}from"react/jsx-runtime";var At=({showCaptions:e,showOtherMonth:t,...o})=>h(I,{calendarView:"month",children:Me(se,{calendarCaption:e&&"October 2021",showTableHead:!0,children:[Me(u,{children:[h(a,{text:"26",showOtherMonth:t,empty:!t,weekend:t}),h(a,{text:"27",showOtherMonth:t,empty:!t}),h(a,{text:"28",showOtherMonth:t,empty:!t}),h(a,{text:"29",showOtherMonth:t,empty:!t}),h(a,{text:"30",showOtherMonth:t,empty:!t}),h(a,{text:"1"}),h(a,{text:"2",weekend:!0})]}),Me(u,{children:[h(a,{text:"3",weekend:!0}),h(a,{text:"4"}),h(a,{text:"5"}),h(a,{text:"6"}),h(a,{text:"7"}),h(a,{text:"8"}),h(a,{text:"9",weekend:!0})]}),Me(u,{children:[h(a,{text:"10",weekend:!0}),h(a,{text:"11"}),h(a,{text:"12",today:!0}),h(a,{text:"13"}),h(a,{text:"14"}),h(a,{text:"15"}),h(a,{text:"16",weekend:!0})]}),Me(u,{children:[h(a,{text:"17",weekend:!0}),h(a,{text:"18"}),h(a,{text:"19"}),h(a,{text:"20"}),h(a,{text:"21"}),h(a,{text:"22"}),h(a,{text:"23",weekend:!0})]}),Me(u,{children:[h(a,{text:"24",weekend:!0}),h(a,{text:"25"}),h(a,{text:"26"}),h(a,{text:"27"}),h(a,{text:"28"}),h(a,{text:"29"}),h(a,{text:"30",weekend:!0})]}),Me(u,{children:[h(a,{text:"31",weekend:!0}),h(a,{text:"1",showOtherMonth:t,empty:!t}),h(a,{text:"2",showOtherMonth:t,empty:!t}),h(a,{text:"3",showOtherMonth:t,empty:!t}),h(a,{text:"4",showOtherMonth:t,empty:!t}),h(a,{text:"5",showOtherMonth:t,empty:!t}),h(a,{text:"6",showOtherMonth:t,empty:!t,weekend:t})]})]}),...o});import{jsx as Bm,jsxs as zm}from"react/jsx-runtime";import{jsx as q,jsxs as Et}from"react/jsx-runtime";var Lo=e=>q(I,{calendarView:"year",calendarTitleText:"2019",children:Et(se,{children:[Et(u,{children:[q(a,{text:"Jan"}),q(a,{text:"Feb"}),q(a,{text:"Mar"}),q(a,{text:"Apr"})]}),Et(u,{children:[q(a,{text:"May"}),q(a,{text:"Jun"}),q(a,{text:"Jul"}),q(a,{text:"Au"})]}),Et(u,{children:[q(a,{text:"Sep"}),q(a,{text:"Oct",today:!0}),q(a,{text:"Nov"}),q(a,{text:"Dec"})]})]}),...e});import{Fragment as ar,jsx as f,jsxs as ue}from"react/jsx-runtime";var Ro=({firstCaption:e="January 2021",secondCaption:t="February 2021",...o})=>f(L,{calendarTitleText:"January 2021",children:ue(ar,{children:[ue("colgroup",{children:[f("col",{}),f("col",{}),f("col",{}),f("col",{}),f("col",{}),f("col",{}),f("col",{})]}),ue(_,{children:[f(u,{"aria-hidden":"true",children:f(z,{scope:"col",colSpan:7,text:e})}),ue(u,{children:[f(a,{empty:!0}),f(a,{empty:!0}),f(a,{empty:!0}),f(a,{empty:!0}),f(a,{empty:!0}),f(a,{text:"1"}),f(a,{text:"2",weekend:!0})]}),ue(u,{children:[f(a,{text:"3",weekend:!0}),f(a,{text:"4"}),f(a,{text:"5"}),f(a,{text:"6"}),f(a,{text:"7"}),f(a,{text:"8"}),f(a,{text:"9",weekend:!0})]}),ue(u,{children:[f(a,{text:"10",weekend:!0}),f(a,{text:"11"}),f(a,{text:"12"}),f(a,{text:"13"}),f(a,{text:"14"}),f(a,{text:"15"}),f(a,{text:"16",weekend:!0})]}),ue(u,{children:[f(a,{text:"17",weekend:!0}),f(a,{text:"18"}),f(a,{text:"19"}),f(a,{text:"20"}),f(a,{text:"21"}),f(a,{text:"22"}),f(a,{text:"23",weekend:!0})]}),ue(u,{children:[f(a,{text:"24",weekend:!0}),f(a,{text:"25"}),f(a,{text:"26"}),f(a,{text:"27"}),f(a,{text:"28"}),f(a,{text:"29"}),f(a,{text:"30",weekend:!0})]}),ue(u,{children:[f(a,{text:"31",weekend:!0}),f(a,{empty:!0}),f(a,{empty:!0}),f(a,{empty:!0}),f(a,{empty:!0}),f(a,{empty:!0}),f(a,{empty:!0})]})]}),f(_,{children:f(u,{"aria-hidden":"true",children:f(z,{scope:"col",colSpan:7,text:t})})})]}),...o});import{Fragment as or,jsx as g,jsxs as de}from"react/jsx-runtime";var Oo=({firstCaption:e="2021",secondCaption:t="2022",...o})=>g(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:de(or,{children:[de("colgroup",{children:[g("col",{}),g("col",{}),g("col",{}),g("col",{})]}),de(_,{children:[g(u,{"aria-hidden":"true",children:g(z,{scope:"col",colSpan:4,text:e})}),de(u,{children:[g(a,{text:"Jan",today:!0}),g(a,{text:"Feb"}),g(a,{text:"Mar"}),g(a,{text:"Apr"})]}),de(u,{children:[g(a,{text:"May"}),g(a,{text:"Jun"}),g(a,{text:"Jul"}),g(a,{text:"Aug"})]}),de(u,{children:[g(a,{text:"Sep"}),g(a,{text:"Oct"}),g(a,{text:"Nov"}),g(a,{text:"Dec"})]})]}),de(_,{children:[g(u,{"aria-hidden":"true",children:g(z,{scope:"col",colSpan:4,text:t})}),de(u,{children:[g(a,{text:"Jan"}),g(a,{text:"Feb"}),g(a,{text:"Mar"}),g(a,{text:"Apr"})]}),de(u,{children:[g(a,{text:"May"}),g(a,{text:"Jun"}),g(a,{text:"Jul"}),g(a,{text:"Aug"})]}),de(u,{children:[g(a,{text:"Sep"}),g(a,{text:"Oct"}),g(a,{text:"Nov"}),g(a,{text:"Dec"})]})]})]}),...o});import{Fragment as nr,jsx as y,jsxs as ce}from"react/jsx-runtime";var _o=({firstCaption:e="2020 - 2029",secondCaption:t="2030 - 2039",...o})=>y(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:ce(nr,{children:[ce("colgroup",{children:[y("col",{}),y("col",{}),y("col",{}),y("col",{})]}),ce(_,{children:[y(u,{"aria-hidden":"true",children:y(z,{scope:"col",colSpan:4,text:e})}),ce(u,{children:[y(a,{text:"2020",today:!0}),y(a,{text:"2021"}),y(a,{text:"2022"}),y(a,{text:"2023"})]}),ce(u,{children:[y(a,{text:"2024"}),y(a,{text:"2025"}),y(a,{text:"2026"}),y(a,{text:"2027"})]}),ce(u,{children:[y(a,{text:"2028"}),y(a,{text:"2029"}),y(a,{empty:!0}),y(a,{empty:!0})]})]}),ce(_,{children:[y(u,{"aria-hidden":"true",children:y(z,{scope:"col",colSpan:4,text:t})}),ce(u,{children:[y(a,{text:"2030"}),y(a,{text:"2031"}),y(a,{text:"2032"}),y(a,{text:"2033"})]}),ce(u,{children:[y(a,{text:"2034"}),y(a,{text:"2035"}),y(a,{text:"2036"}),y(a,{text:"2037"})]}),ce(u,{children:[y(a,{text:"2038"}),y(a,{text:"2039"}),y(a,{empty:!0}),y(a,{empty:!0})]})]})]}),...o});import{Fragment as lr,jsx as R,jsxs as Ve}from"react/jsx-runtime";var Do=({firstCaption:e="2000 - 2099",...t})=>R(L,{calendarView:"century",showWeekdays:!1,calendarTitleText:"2000 - 2099",navigationItems:["1900","2000"],navigationMarkerConfig:{2e3:"marker"},children:Ve(lr,{children:[Ve("colgroup",{children:[R("col",{}),R("col",{}),R("col",{}),R("col",{})]}),Ve(_,{children:[R(u,{"aria-hidden":"true",children:R(z,{scope:"col",colSpan:4,text:e})}),Ve(u,{children:[R(a,{text:"1900 - 1999"}),R(a,{text:"2000 - 2009"}),R(a,{text:"2010 - 2019"}),R(a,{text:"2020 - 2029"})]}),Ve(u,{children:[R(a,{text:"2030 - 2039"}),R(a,{text:"2040 - 2049"}),R(a,{text:"2050 - 2059"}),R(a,{text:"2060 - 2069"})]}),Ve(u,{children:[R(a,{text:"2070 - 2079"}),R(a,{text:"2080 - 2089"}),R(a,{text:"2090 - 2099"}),R(a,{empty:!0})]})]})]}),...t});import{Fragment as ip,jsx as lp,jsxs as rp}from"react/jsx-runtime";import{jsx as mp,jsxs as pp}from"react/jsx-runtime";import{Fragment as hp,jsx as xp,jsxs as bp}from"react/jsx-runtime";import{jsx as wt}from"react/jsx-runtime";var rr=I.options,ir=I.states,Ho={...I.defaultOptions,variant:"month"},sr=[{name:"month",title:"Month View"},{name:"year",title:"Year View"},{name:"decade",title:"Decade View"},{name:"century",title:"Century View"}],dr=[{name:"footer",title:"Calendar Footer"},{name:"other",title:"Show other cells"}],Ue=e=>{let{variant:t,modifiers:o,...l}={...Ho,...e},n={showCalendarFooter:!1};Object.keys(o||{}).forEach(C=>{switch(C){case"other":n.showOtherMonth=!!o?.[C],n.showOtherCentury=!!o?.[C],n.showOtherDecade=!!o?.[C];break;case"footer":n.showCalendarFooter=!!o?.[C];break;default:return}});let{showOtherMonth:i,showOtherDecade:c,showOtherCentury:p,showCalendarFooter:m}=n;switch(t){case"century":return wt(Mo,{size:l.size,showOtherCentury:p,showCalendarFooter:m});case"decade":return wt(Io,{size:l.size,showOtherDecade:c,showCalendarFooter:m});case"year":return wt(Lo,{calendarTitleText:"2021",size:l.size,showCalendarFooter:m});default:return wt(At,{size:l.size,showOtherMonth:i,showCalendarFooter:m})}};Ue.options=rr;Ue.states=ir;Ue.variants=sr;Ue.defaultOptions=Ho;Ue.modifiers=dr;Ue.className=I.className;import{jsx as Mt}from"react/jsx-runtime";var cr=L.options,mr=L.states,Ko={...L.defaultOptions,variant:"month"},pr=[{name:"month",title:"Month View"},{name:"year",title:"Year View"},{name:"decade",title:"Decade View"},{name:"century",title:"Century View"}],ur=[{name:"footer",title:"Calendar Footer"},{name:"other",title:"Show other cells"}],We=e=>{let{variant:t,modifiers:o,...l}={...Ko,...e},n={showCalendarFooter:!1};Object.keys(o||{}).forEach(C=>{switch(C){case"other":n.showOtherMonth=!!o?.[C],n.showOtherCentury=!!o?.[C],n.showOtherDecade=!!o?.[C];break;case"footer":n.showCalendarFooter=!!o?.[C];break;default:return}});let{showOtherMonth:i,showOtherDecade:c,showOtherCentury:p,showCalendarFooter:m}=n;switch(t){case"century":return Mt(Do,{size:l.size,showOtherCentury:p,showCalendarFooter:m});case"decade":return Mt(_o,{size:l.size,showOtherDecade:c,showCalendarFooter:m});case"year":return Mt(Oo,{size:l.size,showCalendarFooter:m});default:return Mt(Ro,{size:l.size,showOtherMonth:i,showCalendarFooter:m})}};We.options=cr;We.states=mr;We.variants=pr;We.defaultOptions=Ko;We.modifiers=ur;We.className=L.className;var pa="segmented-control",Po=pa,Bo="segmented-control-button",zo="segmented-control";import{jsx as xr,jsxs as br}from"react/jsx-runtime";var It="k-segmented-control",Cr=[],fr={size:[s.undefined,s.small,s.medium,s.large]},he=e=>{let{size:t,stretched:o,children:l,thumbStyles:n,...i}=e;return br("div",{...i,className:r(e.className,It,v(It,{size:t}),{[`${It}-stretched`]:o}),role:"group",children:[xr("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:n}),l]})};he.states=Cr;he.options=fr;he.className=It;he.moduleName=pa;he.folderName=Po;he.ariaSpec={selector:".k-segmented-control",rules:[{selector:".k-segmented-control",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-segmented-control-button",attribute:"role=button or nodeName=button",usage:"Each button must have the appropriate button role."},{selector:".k-segmented-control-button.k-selected",attribute:"aria-pressed=true",usage:"Only the selected button within the group will have this attribute set to true."},{selector:".k-segmented-control-button.k-disabled",attribute:"aria-disabled=true",usage:"Indicates that the button is disabled and cannot be interacted with."},{selector:".k-segmented-control-thumb",attribute:"aria-hidden=true",usage:"The thumb is purely decorative and should be hidden from screen readers."}]};import{jsx as Fo,jsxs as kr}from"react/jsx-runtime";var ua="k-segmented-control-button",hr=[d.selected,d.hover,d.focus,d.disabled],Nr={},Tr={},Ce=e=>{let{hover:t,focus:o,selected:l,disabled:n,icon:i,text:c,iconClassName:p,...m}=e;return kr("button",{...m,className:r(e.className,ua,W(ua,{hover:t,focus:o,disabled:n,selected:l})),"aria-pressed":l?"true":"false","aria-disabled":n?"true":void 0,children:[i&&Fo(A,{className:r(p,"k-segmented-control-button-icon"),icon:i}),(c||e.children)&&Fo("span",{className:"k-segmented-control-button-text",children:c||e.children})]})};Ce.states=hr;Ce.options=Nr;Ce.className=ua;Ce.defaultOptions=Tr;Ce.moduleName=Bo;Ce.folderName=zo;import{Fragment as Au,jsx as vu,jsxs as Eu}from"react/jsx-runtime";import{Fragment as Ou,jsx as Ru,jsxs as _u}from"react/jsx-runtime";import{Fragment as zu,jsx as Bu,jsxs as Fu}from"react/jsx-runtime";import{Fragment as Xu,jsx as Ju,jsxs as Gu}from"react/jsx-runtime";import{Fragment as eC,jsx as ju,jsxs as tC}from"react/jsx-runtime";var Vo="time-selector",Uo="timeselector";import{Fragment as Wo,jsx as Ot,jsxs as $o}from"react/jsx-runtime";var Ca="k-timeselector",gr=[],yr={size:[s.undefined,s.small,s.medium,s.large]},Sr={},fe=e=>{let{size:t,header:o,fastSelection:l,columns:n,focusedColumn:i,...c}=e,p=n.map(function(m,C){let k=!1,T=!0;return m===i&&(k=!0),(C===0||m==="tt")&&(T=!1),Ot(fa,{type:m,focus:k,separator:T},C)});return $o("div",{...c,className:r(e.className,Ca,v(Ca,{size:t})),role:"group","aria-label":"Time selector",children:[Ot(Wo,{children:o}),Ot(Wo,{children:l}),$o("div",{className:"k-time-list-container",children:[Ot("span",{className:"k-time-highlight"}),p]})]})};fe.states=gr;fe.options=yr;fe.className=Ca;fe.defaultOptions=Sr;fe.moduleName=Vo;fe.folderName=Uo;fe.ariaSpec={selector:".k-timeselector",rules:[{selector:".k-timeselector",attribute:"role=group",usage:"Groups the time selection columns."},{selector:".k-timeselector",attribute:"aria-label",usage:"Describes the time selector purpose."},{selector:".k-time-list",attribute:"role=listbox",usage:"Each time column list acts as a listbox."},{selector:".k-time-list",attribute:"aria-label",usage:"Describes which time unit the column selects."},{selector:".k-time-list-wrapper .k-reset",attribute:"role=none",usage:"Removes semantic meaning from the ul element."},{selector:".k-time-list-wrapper .k-item",attribute:"role=option",usage:"Each item in the time list is an option."}]};import{Fragment as Ar,jsx as Ie,jsxs as xa}from"react/jsx-runtime";var vr=[d.focus],fa=e=>{let{type:t,focus:o,separator:l,...n}=e,i,c=["00","01","02","03","04","05","06","07","08","09"];switch(t){case"dd":i="Day";break;case"HH":i="Hour";break;case"mm":i="Minute";break;case"ss":i="Second";break;case"SSS":i="Millisecond",c=["000","001","002","003","004","005","006","007","008","009"];break;case"tt":i="AM/PM",c=["AM","PM"];break;default:i="Column Name";break}let p=c.map((m,C)=>Ie("li",{className:"k-item",role:"option","aria-selected":"false",children:Ie("span",{children:m})},C));return xa(Ar,{children:[l&&Ie("div",{className:"k-time-separator",children:":"}),xa("div",{...n,className:r(e.className,"k-time-list-wrapper",W("k-time-list-wrapper",{focus:o})),children:[Ie("span",{className:"k-title",children:i}),Ie("div",{className:"k-time-list",role:"listbox","aria-label":i,children:xa("div",{className:"k-content k-scrollable k-time-container",children:[Ie("ul",{className:"k-reset",style:{transform:"translateY(97px)"},role:"none",children:p}),Ie("div",{className:"k-scrollable-placeholder"})]})})]})]})};fa.states=vr;import{jsx as wr,jsxs as Mr}from"react/jsx-runtime";var Er="k-time-header",it=e=>{let{title:t,...o}=e;return Mr("div",{...o,className:r(e.className,Er),children:[t!=null&&wr("span",{className:"k-title",children:t}),e.children]})};import{jsx as EC,jsxs as wC}from"react/jsx-runtime";import{Fragment as PC,jsx as HC,jsxs as KC}from"react/jsx-runtime";import{Fragment as GC,jsx as JC,jsxs as XC}from"react/jsx-runtime";import{Fragment as nf,jsx as af,jsxs as of}from"react/jsx-runtime";var Xo="date-time-picker",Go="datetimepicker";import{Fragment as qo,jsx as J,jsxs as st}from"react/jsx-runtime";var ba="k-datetime-wrap",Ir=[],Lr={size:[s.undefined,s.small,s.medium,s.large]},ha={tab:"date",actionButtons:!0},me=e=>{let{size:t,tab:o=ha.tab,actionButtons:l=ha.actionButtons,dir:n,...i}=e;return st("div",{...i,className:r(e.className,ba,{"k-date-tab":o==="date","k-time-tab":o==="time"},v(ba,{size:t})),role:"group","aria-label":"Date and time selector",children:[J("div",{className:"k-datetime-buttongroup",children:st(he,{stretched:!0,thumbStyles:o==="date"?{width:"50%"}:{width:"50%",left:"50%"},size:t,children:[J(Ce,{selected:o==="date",children:"Date"}),J(Ce,{selected:o==="time",children:"Time"})]})}),J("div",{className:"k-datetime-selector",children:o==="time"?st(qo,{children:[J("div",{className:"k-datetime-calendar-wrap"}),J("div",{className:"k-datetime-time-wrap",children:J(fe,{size:t,columns:["HH","mm","ss","tt"],focusedColumn:"mm",header:J(it,{title:"10:00:00 AM",children:J(b,{size:t,fillMode:"flat",className:"k-time-now",children:"Now"})})})})]}):st(qo,{children:[J("div",{className:"k-datetime-calendar-wrap",children:J(At,{size:t,showOtherMonth:!0,dir:n})}),J("div",{className:"k-datetime-time-wrap"})]})}),l&&st($,{className:"k-datetime-footer",alignment:"stretched",children:[J(b,{size:t,themeColor:"primary",className:"k-time-accept",children:"Set"}),J(b,{size:t,className:"k-time-cancel",children:"Cancel"})]})]})};me.states=Ir;me.options=Lr;me.className=ba;me.defaultOptions=ha;me.moduleName=Xo;me.folderName=Go;me.ariaSpec={selector:".k-datetime-wrap",rules:[{selector:".k-datetime-wrap",attribute:"role=group",usage:"Groups the date/time selector components."},{selector:".k-datetime-wrap",attribute:"aria-label",usage:"Describes the date/time selector purpose."},{selector:".k-datetime-buttongroup",attribute:"role=group",usage:"The segmented control acts as a group for Date/Time selection."},{selector:".k-datetime-buttongroup .k-segmented-control-button",attribute:"aria-pressed",usage:"Indicates which option is currently active."}]};import{jsx as Or}from"react/jsx-runtime";var Rr="k-actionsheet-footer",Yo={alignment:"stretched",orientation:"horizontal"},Ne=e=>{let{alignment:t=Yo.alignment,orientation:o=Yo.orientation,template:l,as:n=l?"div":$,...i}=e;return Or(n,{...i,...!l&&{alignment:t,orientation:o},className:r(e.className,Rr),children:e.children})};var Na="searchbox",Qo=Na;import{jsx as dt,jsxs as Hr}from"react/jsx-runtime";var Zo="k-searchbox",_r=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading],Dr={size:[s.undefined,s.small,s.medium,s.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[S.undefined,S.solid,S.flat,S.outline]},Ta={showIcon:!0,icon:"search"},Te=e=>{let{value:t,placeholder:o,size:l,rounded:n,fillMode:i,hover:c,focus:p,valid:m,invalid:C,required:k,loading:T,disabled:E,showIcon:Y=Ta.showIcon,icon:F=Ta.icon,"aria-label":M,...D}=e;return Hr(O,{...D,size:l,rounded:n,fillMode:i,hover:c,focus:p,valid:m,invalid:C,required:k,loading:T,disabled:E,className:r(e.className,Zo),children:[Y&&dt(A,{className:"k-input-icon",icon:F}),dt(ee,{placeholder:o,value:t,"aria-label":M}),dt(le,{...e}),dt(te,{...e}),dt(j,{...e})]})};Te.states=_r;Te.options=Dr;Te.className=Zo;Te.defaultOptions=Ta;Te.moduleName=Na;Te.folderName=Qo;import{jsx as Ff}from"react/jsx-runtime";var ka="textbox",jo=ka;import{Fragment as en,jsx as ke,jsxs as ga}from"react/jsx-runtime";var tn="k-textbox",Kr=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading,d.readonly],Pr={size:[s.undefined,s.small,s.medium,s.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[S.undefined,S.solid,S.flat,S.outline]},_t={showClearButton:!0,showValidationIcon:!0,separators:!0},V=e=>{let{size:t,rounded:o,fillMode:l,separators:n=_t.separators,showClearButton:i=_t.showClearButton,showValidationIcon:c=_t.showValidationIcon,prefix:p,suffix:m,type:C,value:k,placeholder:T,hover:E,focus:Y,valid:F,invalid:M,required:D,loading:w,disabled:Q,readonly:ne,id:pe,"aria-label":Ae,"aria-describedby":xe,...Kt}=e;return ga(O,{...Kt,size:t,rounded:o,fillMode:l,hover:E,focus:Y,valid:F,invalid:M,required:D,loading:w,disabled:Q,readonly:ne,className:r(e.className,tn),children:[p&&ga(en,{children:[ke(Re,{children:p}),n&&ke(_e,{})]}),ke(ee,{id:pe,placeholder:T,value:k,type:C,disabled:Q,"aria-label":Ae,"aria-describedby":xe,"aria-invalid":M?"true":void 0}),c&&ke(te,{valid:F,invalid:M,loading:w,disabled:Q}),ke(le,{loading:w,disabled:Q}),i&&ke(j,{loading:w,disabled:Q,readonly:ne,value:k}),m&&ga(en,{children:[n&&ke(_e,{}),ke(Oe,{children:m})]})]})};V.states=Kr;V.options=Pr;V.className=tn;V.defaultOptions=_t;V.moduleName=ka;V.folderName=jo;V.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 ct=V;import{jsx as Br}from"react/jsx-runtime";var an=e=>Br(ct,{...e});import{Fragment as lx,jsx as nx}from"react/jsx-runtime";import{Fragment as mx,jsx as cx}from"react/jsx-runtime";import{jsx as fx}from"react/jsx-runtime";import{jsx as ya}from"react/jsx-runtime";var zr=V.states,Fr=V.defaultOptions,Vr=V.options,Ur=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Wr=[],$e=e=>{let{modifiers:t,...o}=e,l={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":l.prefix=t?.[n]?ya(A,{icon:"lock"}):void 0;break;case"suffix":l.suffix=t?.[n]?ya(Ee,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":l.showClearButton=t?.[n];break;default:break}}),ya(an,{value:"Value",style:{width:300},...o,...l})};$e.options=Vr;$e.states=zr;$e.variants=Wr;$e.defaultOptions=Fr;$e.modifiers=Ur;$e.className=V.className;import{jsx as ge,jsxs as Sa}from"react/jsx-runtime";var on="k-actionsheet-titlebar",$r={},oe=e=>{let{title:t,subtitle:o,actionsStart:l,actionsEnd:n,filter:i,input:c,inputValue:p,inputPlaceholder:m,adaptive:C,titleId:k,children:T,...E}=e;return Sa("div",{...E,className:r(e.className,on),children:[Sa("div",{className:"k-actionsheet-titlebar-group",children:[l&&ge("div",{className:"k-actionsheet-actions",children:l}),!T&&Sa("div",{className:"k-actionsheet-title",id:k,children:[t&&ge("div",{className:"k-text-center",children:t}),o&&ge("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),T&&ge("div",{className:"k-actionsheet-title",id:k,children:T}),n&&ge("div",{className:"k-actionsheet-actions",children:n})]}),(c||i)&&ge("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?ge(V,{value:p,placeholder:m,size:C?"large":"medium","aria-label":t||m||"Input"}):ge(Te,{placeholder:"Filter",size:C?"large":"medium","aria-label":"Filter options"})})]})};oe.className=on;oe.defaultOptions=$r;import{jsx as va,jsxs as qr}from"react/jsx-runtime";var Aa="k-actionsheet-view",Jr=[],Xr={},Gr={},Je=e=>{let{adaptive:t,animated:o,children:l,header:n,footer:i,titleId:c,...p}=e,m=n?.type===oe&&va(oe,{adaptive:t,titleId:c,...n?.props}),C=i?.type===Ne&&va(Ne,{...i?.props});return qr("div",{...p,className:r(e.className,Aa,{[`${Aa}-animated`]:o}),children:[m,va("div",{className:"k-actionsheet-content",children:l}),C]})};Je.states=Jr;Je.options=Xr;Je.className=Aa;Je.defaultOptions=Gr;var mt="action-sheet",Dt=mt;var Ea="overlay",nn=Ea;import{jsx as jr}from"react/jsx-runtime";var wa="k-overlay",Yr=[],Qr={themeColor:[x.undefined,x.light,x.dark,x.inverse]},Zr={},ye=e=>{let{themeColor:t,...o}=e;return jr("div",{...o,className:r(e.className,wa,v(wa,{themeColor:t})),children:e.children})};ye.states=Yr;ye.options=Qr;ye.className=wa;ye.defaultOptions=Zr;ye.moduleName=Ea;ye.folderName=nn;import{jsx as Ht,jsxs as ai}from"react/jsx-runtime";var ln="k-actionsheet",ei=[],ti={},pt={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},K=e=>{let{side:t=pt.side,fullscreen:o=pt.fullscreen,adaptive:l=pt.adaptive,overlay:n=pt.overlay,template:i,children:c,header:p,footer:m,id:C,...k}=e,T=C&&!i&&p?`${C}-title`:void 0;return ai("div",{className:"k-actionsheet-container",children:[n&&Ht(ye,{}),Ht(ie,{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:Ht("div",{...k,id:C,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":T,className:r(e.className,ln,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":l}),children:i||Ht(Je,{header:p,footer:m,adaptive:l,titleId:T,...e,children:c})})})]})};K.states=ei;K.options=ti;K.className=ln;K.defaultOptions=pt;K.moduleName=mt;K.folderName=Dt;K.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};import{jsx as ri}from"react/jsx-runtime";var rn="k-actionsheet-container",oi=[],ni={},li={},Xe=e=>{let{children:t,...o}=e;return ri("div",{...o,className:rn,children:t})};Xe.states=oi;Xe.options=ni;Xe.className=rn;Xe.defaultOptions=li;Xe.moduleName=mt;Xe.folderName=Dt;import{jsx as ii}from"react/jsx-runtime";var Ma=e=>{let{...t}=e;return ii("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as di,jsx as ut,jsxs as Ia}from"react/jsx-runtime";var La="k-actionsheet-item",si=[d.hover,d.focus,d.selected,d.disabled],Se=e=>{let{iconName:t,text:o,description:l,hover:n,focus:i,selected:c,disabled:p,...m}=e;return Ia("span",{...m,className:r(e.className,La,W(La,{hover:n,focus:i,selected:c,disabled:p})),children:[!e.children&&ut(di,{children:Ia("span",{className:"k-actionsheet-action",children:[t&&ut("span",{className:"k-icon-wrap",children:ut(A,{className:"k-actionsheet-item-icon",icon:t})}),Ia("span",{className:"k-actionsheet-item-text",children:[o&&ut("span",{className:"k-actionsheet-item-title",children:o}),l&&ut("span",{className:"k-actionsheet-item-description",children:l})]})]})}),e.children]})};Se.states=si;Se.className=La;import{jsx as Cb,jsxs as fb}from"react/jsx-runtime";import{jsx as Nb}from"react/jsx-runtime";import{jsx as yb}from"react/jsx-runtime";import{jsx as Eb}from"react/jsx-runtime";import{jsx as P,jsxs as Ra}from"react/jsx-runtime";var ci=K.options,mi=K.states,dn={...K.defaultOptions,variant:"normal"},pi=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ui=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Ge=e=>{let{variant:t,modifiers:o,...l}={...dn,...e},n={},i=Ra(Ma,{children:[P(Se,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),P(Se,{text:"Add to Favorites",iconName:"heart"}),P(Se,{text:"Upload New",iconName:"upload",disabled:!0}),P("hr",{className:"k-hr"}),P(Se,{text:"Cancel",iconName:"cancel"})]}),c="Choose from the items below",p="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(m=>{switch(m){case"actions":n.actionsStart=!!o?.[m],n.actionsEnd=!!o?.[m];break;case"subtitle":n.subtitle=o?.[m]?c:void 0;break;case"footer":n.footer=!!o?.[m];break;default:break}}),t==="adaptive"?P(K,{...l,adaptive:!0,fullscreen:n.fullScreen,header:P(oe,{actionsStart:n.actionsStart?P(b,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?P(b,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:p,subtitle:n.subtitle}),footer:n.footer?Ra(Ne,{alignment:"stretched",children:[P(b,{text:"Cancel",size:"large",themeColor:"base"}),P(b,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:i}):P(K,{...l,fullscreen:n.fullScreen,header:P(oe,{actionsStart:n.actionsStart?P(b,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?P(b,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Ra(Ne,{alignment:"stretched",children:[P(b,{text:"Apply",themeColor:"primary"}),P(b,{text:"Cancel",themeColor:"base"})]}):void 0,children:i})};Ge.options=ci;Ge.states=mi;Ge.variants=pi;Ge.defaultOptions=dn;Ge.modifiers=ui;Ge.className=K.className;var cn="date-time-picker",mn="datetimepicker";import{Fragment as xi,jsx as U,jsxs as Oa}from"react/jsx-runtime";var pn="k-datetimepicker",Ci=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading,d.readonly],fi={size:[s.undefined,s.small,s.medium,s.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[S.undefined,S.solid,S.flat,S.outline]},un={tab:"date"},ve=e=>{let{size:t,rounded:o,fillMode:l,tab:n=un.tab,prefix:i,suffix:c,value:p,placeholder:m,hover:C,focus:k,valid:T,invalid:E,required:Y,loading:F,disabled:M,readonly:D,opened:w,dir:Q,adaptive:ne,adaptiveSettings:pe,adaptiveTitle:Ae,adaptiveSubtitle:xe,...Kt}=e,Pt=be("datetimepicker-popup");return Oa(xi,{children:[Oa(O,{...Kt,dir:Q,size:t,rounded:o,fillMode:l,hover:C,focus:k,valid:T,invalid:E,required:Y,loading:F,disabled:M,readonly:D,className:r(e.className,pn),children:[U(Re,{children:i}),U(ee,{placeholder:m,value:p,role:"combobox","aria-haspopup":"dialog","aria-expanded":w?"true":"false","aria-controls":w||ne?Pt:void 0,"aria-invalid":E?"true":void 0,"aria-label":"Select date and time",disabled:M}),U(te,{valid:T,invalid:E,loading:F,disabled:M}),U(le,{loading:F,disabled:M}),U(j,{loading:F,disabled:M,readonly:D,value:p}),U(Oe,{children:c}),U(b,{className:"k-input-button",icon:n==="time"?"clock":"calendar",size:t,fillMode:l,tabIndex:-1,"aria-label":"Select date and time",disabled:M})]}),w&&U(Z,{id:Pt,className:"k-datetime-container k-datetimepicker-popup",dir:Q,children:U(me,{size:t,tab:n,dir:Q})}),ne&&U(K,{adaptive:!0,id:Pt,...pe,header:U(oe,{actionsEnd:U(b,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:Ae,subtitle:xe}),footer:Oa(Ne,{children:[U(b,{text:"Cancel",size:"large",className:"k-time-cancel"}),U(b,{text:"Set",size:"large",themeColor:"primary",className:"k-time-accept"})]}),children:U(me,{size:"large",tab:n,actionButtons:!1})})]})};ve.states=Ci;ve.options=fi;ve.className=pn;ve.defaultOptions=un;ve.moduleName=cn;ve.folderName=mn;ve.ariaSpec={selector:".k-datetimepicker",rules:[{selector:".k-datetimepicker .k-input-inner",attribute:"role=combobox",usage:"The input element follows the combobox specification."},{selector:".k-datetimepicker .k-input-inner",attribute:"aria-haspopup=dialog",usage:"Indicates the component has a Dialog Popup."},{selector:".k-datetimepicker .k-input-inner",attribute:"aria-expanded=true/false",usage:"Announces whether the Popup is visible or not."},{selector:".k-datetimepicker .k-input-inner",attribute:"aria-controls (when open)",usage:"Points to the popup element containing the calendar or time selector."},{selector:".k-datetimepicker .k-input-inner",attribute:"aria-activedescendant (when open)",usage:"Points to the focused item in the Calendar or Time Popup."},{selector:".k-datetimepicker .k-input-inner",attribute:"label for or aria-label or aria-labelledby",usage:"The input needs an accessible name."},{selector:".k-invalid .k-input-inner",attribute:"aria-invalid=true",usage:"Rendered only when the picker is in form and announces invalid state."},{selector:".k-disabled .k-input-inner",attribute:"disabled or aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-datetimepicker .k-input-button",attribute:"tabindex=-1",usage:"Button element must not be focusable."},{selector:".k-datetimepicker .k-input-button",attribute:"aria-label",usage:"The button needs an accessible name."},{selector:".k-datetimepicker.k-disabled .k-button",attribute:"disabled or aria-disabled",usage:"Rendered only when the picker is disabled."}]};var Cn=ve;import{jsx as bi}from"react/jsx-runtime";var dh=e=>bi(Cn,{disabled:!0,value:"6/1/2025 10:00 AM",...e});export{dh as DateTimePickerDisabled};