@progress/kendo-themes-html 13.2.0-dev.1 → 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 Kt={};function he(e){return Kt[e]=(Kt[e]||0)+1,`k-${e}-${Kt[e]}`}var Ye="input",xt=Ye;import{jsx as un}from"react/jsx-runtime";var bt="k-input",cn=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading,d.readonly],mn={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]},pn={},_=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 un("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=cn;_.options=mn;_.className=bt;_.defaultOptions=pn;_.moduleName=Ye;_.folderName=xt;import{jsx as bn}from"react/jsx-runtime";var ht="k-picker",fn=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading,d.readonly],Cn={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]},xn={},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 bn("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=fn;Le.options=Cn;Le.className=ht;Le.defaultOptions=xn;Le.moduleName=Ye;Le.folderName=xt;import{Fragment as kn,jsx as _a}from"react/jsx-runtime";var Pt="k-font-icon",hn=[],Nn={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]},Tn={},Qe=e=>{let{size:t,themeColor:o,icon:n,rotate:l,flip:i,...c}=e;return n?_a("span",{...c,className:r(e.className,Pt,A(Pt,{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(kn,{})};Qe.states=hn;Qe.options=Nn;Qe.className=Pt;Qe.defaultOptions=Tn;var Ha=Qe;import{Fragment as vn,jsx as Nt}from"react/jsx-runtime";var zt="k-svg-icon",yn=[],gn={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(vn,{});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=yn;Ze.options=gn;Ze.className=zt;Ze.defaultOptions=Ba;var Ft=Ze;import*as Vt from"@progress/kendo-svg-icons";var Da="icon",Ka="icons";import{useContext as wn}from"react";import{createContext as An}from"react";var Pa=An({iconsType:"svg"});import{Fragment as za,jsx as je}from"react/jsx-runtime";var Tt="k-icon",Sn=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),En=[],Mn={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}=wn(Pa),{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:Sn(`${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=En;w.options=Mn;w.defaultOptions=Ut;w.className=Tt;w.moduleName=Da;w.folderName=Ka;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 Rn,jsx as Gt}from"react/jsx-runtime";var Fa="k-clear-value",In=[d.disabled,d.loading,d.readonly],Ln={},ee=e=>{let{disabled:t,loading:o,readonly:n,value:l}=e;return t||n||o||!l?Gt(Rn,{}):Gt("span",{className:r(e.className,Fa),children:Gt(w,{icon:"x"})})};ee.states=In;ee.options=Ln;ee.className=Fa;import{jsx as Hn}from"react/jsx-runtime";var Wt="k-input-inner",On=[],_n={},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 Hn("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=On;te.options=_n;te.className=Wt;import{jsx as Va,jsxs as Kn}from"react/jsx-runtime";var $t="k-input-inner",Bn=[],Dn={},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=Bn;Jt.options=Dn;Jt.className=$t;import{jsx as Fn}from"react/jsx-runtime";var Xt="k-input-inner",Pn=[],zn={},Ua={value:"",placeholder:""},qt=e=>{let{value:t=Ua.value,placeholder:o=Ua.placeholder,rows:n,disabled:l,...i}=e;return Fn("textarea",{...i,className:r(e.className,Xt,A(Xt,e)),placeholder:o,rows:n,defaultValue:t,disabled:l||void 0})};qt.states=Pn;qt.options=zn;qt.className=Xt;import{Fragment as Un,jsx as Ga}from"react/jsx-runtime";var Wa="k-input-loading-icon",Vn=[d.disabled,d.loading],re=e=>{let{disabled:t,loading:o}=e;return t||!o?Ga(Un,{}):Ga("span",{className:r(e.className,Wa,"k-icon k-i-loading")})};re.states=Vn;re.className=Wa;import{Fragment as $n,jsx as $a}from"react/jsx-runtime";var Ja="k-input-validation-icon",Gn=[d.valid,d.invalid,d.disabled,d.loading],Wn={},ae=e=>{let{valid:t,invalid:o,disabled:n,loading:l}=e,i=o?"warning-circle":"check-circle";return n||l||!!!(t||o)?$a($n,{}):$a(w,{className:r(Ja),icon:i})};ae.states=Gn;ae.options=Wn;ae.className=Ja;import{Fragment as qn,jsx as Xa}from"react/jsx-runtime";var Jn="k-input-prefix",Xn={direction:"horizontal"},Re=e=>{let{direction:t=Xn.direction,...o}=e;return e.children?Xa("span",{...o,className:r(Jn,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Xa(qn,{})};import{Fragment as Zn,jsx as qa}from"react/jsx-runtime";var Yn="k-input-suffix",Qn={direction:"horizontal"},Oe=e=>{let{direction:t=Qn.direction,...o}=e;return e.children?qa("span",{...o,className:r(Yn,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):qa(Zn,{})};import{jsx as Es}from"react/jsx-runtime";import{jsx as Rs}from"react/jsx-runtime";import{jsx as el}from"react/jsx-runtime";var Ya="k-input-separator",jn={direction:"vertical"},_e=e=>{let{direction:t=jn.direction,...o}=e;return el("span",{...o,className:r(Ya,e.className,{[`${Ya}-${t}`]:t})})};var Yt="button",Qa=Yt;import{Fragment as nl,jsx as et,jsxs as Za}from"react/jsx-runtime";var tt="k-button",tl=["icon-button"],al=[d.hover,d.focus,d.active,d.selected,d.disabled,d.generating],ol={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(nl,{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=al;m.options=ol;m.variants=tl;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 ll}from"react/jsx-runtime";var Se=e=>ll(m,{children:"Button",...e});import{Fragment as ja,jsx as ie,jsxs as Zt}from"react/jsx-runtime";var rl=_.states,il=_.defaultOptions,sl=_.options,dl=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],cl=[],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=sl;He.states=rl;He.variants=cl;He.defaultOptions=il;He.modifiers=dl;He.className=_.className;import{jsx as ml}from"react/jsx-runtime";var eo=e=>ml(m,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as pl}from"react/jsx-runtime";var to=e=>pl(m,{icon:"folder",children:"Button",...e});import{jsx as jt}from"react/jsx-runtime";var ul=m.options,fl=m.states,Cl={...m.defaultOptions,variant:"text"},xl=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],bl=[],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=ul;Be.states=fl;Be.variants=xl;Be.defaultOptions=Cl;Be.modifiers=bl;Be.className=m.className;var ea="popup",ao=ea;import{jsx as oo}from"react/jsx-runtime";var no="k-animation-container",hl=[],Nl={},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=hl;se.options=Nl;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",Tl=[],kl={},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=Tl;j.options=kl;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 vl}from"react/jsx-runtime";var yt="k-actions",yl=[],gl={},oa={alignment:"start",orientation:"horizontal"},$=e=>{let{alignment:t=oa.alignment,orientation:o=oa.orientation,...n}=e;return vl("div",{...n,className:r(yt,{[`${yt}-${t}`]:t,[`${yt}-${o}`]:o},e.className),children:e.children})};$.states=yl;$.options=gl;$.className=yt;$.defaultOptions=oa;$.moduleName=aa;$.folderName=mo;var na="button",po=na;import{jsx as El}from"react/jsx-runtime";var at="k-button-group",Al=[d.disabled],wl={fillMode:[k.undefined,k.solid,k.flat,k.outline,k.clear,k.link]},Sl={},I=e=>{let{fillMode:t,disabled:o,stretched:n,...l}=e;return El("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=Al;I.options=wl;I.className=at;I.defaultOptions=Sl;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 bc,jsx as xc,jsxs as hc}from"react/jsx-runtime";import{Fragment as vc,jsx as gc,jsxs as Ac}from"react/jsx-runtime";import{Fragment as Lc,jsx as Ic,jsxs as Rc}from"react/jsx-runtime";import{Fragment as Kc,jsx as Dc,jsxs as Pc}from"react/jsx-runtime";import{Fragment as Wc,jsx as Gc,jsxs as $c}from"react/jsx-runtime";import{Fragment as Zc,jsx as Qc,jsxs as jc}from"react/jsx-runtime";import{jsx as fe,jsxs as la}from"react/jsx-runtime";var Ml={...m.options,...I.options},Il=m.states,Ll={...m.defaultOptions,...I.defaultOptions,variant:"text-button"},Rl=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Ol=[],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=Ml;De.states=Il;De.variants=Rl;De.defaultOptions=Ll;De.modifiers=Ol;De.className=I.className;import{jsx as _l}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 _l("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",Hl={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=Hl;Ee.className=Co;Ee.defaultOptions=nt;import{jsx as xo}from"react/jsx-runtime";var bo="k-calendar-footer",Bl={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=Bl;lt.className=bo;lt.defaultOptions=ho;var D="calendar",z=D;import{jsx as ia,jsxs as Pl}from"react/jsx-runtime";var sa="k-calendar",Dl=[],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 Pl("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=Dl;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 Ul}from"react/jsx-runtime";var No="k-calendar-container",zl=[],Fl={},Vl={},Ke=e=>{let{...t}=e;return Ul("div",{...t,className:r(e.className,No),children:e.children})};Ke.states=zl;Ke.options=Fl;Ke.className=No;Ke.defaultOptions=Vl;Ke.moduleName=D;Ke.folderName=z;import{Fragment as Wl,jsx as Pe,jsxs as $l}from"react/jsx-runtime";var Gl=[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 Pe("th",{...E,className:r(ue),role:"columnheader",scope:"col","aria-label":be,children:c?Pe("span",{className:"k-sr-only",children:be}):t})}return c?Pe("td",{...E,className:r(ue),children:t}):Pe("td",{...E,className:r(ue),role:"gridcell",...M?{"aria-selected":"true"}:{},...B?{"aria-disabled":"true"}:{},children:T&&!i?Pe(Wl,{children:"\xA0"}):$l("span",{className:"k-link",children:[t,y&&Pe("span",{className:"k-day-indicator"})]})})};a.states=Gl;import{jsx as da,jsxs as Jl}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:Jl("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 Xl}from"react/jsx-runtime";var yo="k-calendar-tbody",H=e=>{let{...t}=e;return Xl("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 Yl}from"react/jsx-runtime";var ql="k-calendar-table",de=e=>{let{calendarCaption:t,showTableHead:o,showWeek:n,ariaLabelledBy:l,ariaActiveDescendant:i,gridRole:c,...u}=e;return Yl("table",{...u,className:r(e.className,ql),...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 Zl}from"react/jsx-runtime";var Ql="k-calendar-table",pa=e=>{let{tableRole:t="none",ariaLabelledBy:o,...n}=e;return Zl("table",{...n,className:r(e.className,Ql),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 or}from"react/jsx-runtime";var wo="k-calendar-infinite",jl={size:[s.undefined,s.small,s.medium,s.large]},er=["Aug","Sep","Oct","Nov","Dec","2021","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","2022","Feb","Mar","Apr","May","Jun","Jul"],tr={2021:"marker",2022:"marker"},ar=(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:er,navigationMarkerConfig:tr},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 or("div",{...T,className:r(e.className,"k-calendar",wo,A("k-calendar",{size:t})),children:[o&&At(it,{children:ar(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=jl;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 nr}from"react/jsx-runtime";var So="k-calendar-tr",f=e=>{let{...t}=e;return nr("tr",{...t,className:r(e.className,So),role:"row",children:e.children})};f.className=So;f.moduleName=D;f.folderName=z;import{jsx as lr}from"react/jsx-runtime";var Eo="k-calendar-caption",F=e=>{let{text:t,scope:o,colSpan:n,rowSpan:l,...i}=e;return lr("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 Fp,jsxs as Vp}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 rr,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(rr,{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 ir,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(ir,{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 sr,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(sr,{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 dr,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(dr,{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 du,jsx as iu,jsxs as su}from"react/jsx-runtime";import{jsx as uu,jsxs as fu}from"react/jsx-runtime";import{Fragment as Tu,jsx as hu,jsxs as Nu}from"react/jsx-runtime";import{jsx as It}from"react/jsx-runtime";var cr=L.options,mr=L.states,Bo={...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"}],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=cr;Ge.states=mr;Ge.variants=pr;Ge.defaultOptions=Bo;Ge.modifiers=ur;Ge.className=L.className;import{jsx as Lt}from"react/jsx-runtime";var fr=R.options,Cr=R.states,Do={...R.defaultOptions,variant:"month"},xr=[{name:"month",title:"Month View"},{name:"year",title:"Year View"},{name:"decade",title:"Decade View"},{name:"century",title:"Century View"}],br=[{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=fr;We.states=Cr;We.variants=xr;We.defaultOptions=Do;We.modifiers=br;We.className=R.className;var Ko="time-selector",Po="timeselector";import{Fragment as zo,jsx as Rt,jsxs as Fo}from"react/jsx-runtime";var ua="k-timeselector",hr=[],Nr={size:[s.undefined,s.small,s.medium,s.large]},Tr={},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=hr;xe.options=Nr;xe.className=ua;xe.defaultOptions=Tr;xe.moduleName=Ko;xe.folderName=Po;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 yr,jsx as Ie,jsxs as Ca}from"react/jsx-runtime";var kr=[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(yr,{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=kr;import{jsx as vr,jsxs as Ar}from"react/jsx-runtime";var gr="k-time-header",dt=e=>{let{title:t,...o}=e;return Ar("div",{...o,className:r(e.className,gr),children:[t!=null&&vr("span",{className:"k-title",children:t}),e.children]})};import{jsx as Lf,jsxs as Rf}from"react/jsx-runtime";import{Fragment as Vf,jsx as zf,jsxs as Ff}from"react/jsx-runtime";import{Fragment as Zf,jsx as Yf,jsxs as Qf}from"react/jsx-runtime";import{Fragment as sC,jsx as rC,jsxs as iC}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",wr=[],Sr={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=wr;pe.options=Sr;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 Mr}from"react/jsx-runtime";var Er="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 Mr(l,{...i,...!n&&{alignment:t,orientation:o},className:r(e.className,Er),children:e.children})};var ha="searchbox",Jo=ha;import{jsx as mt,jsxs as Rr}from"react/jsx-runtime";var Xo="k-searchbox",Ir=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading],Lr={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 Rr(_,{...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=Ir;Te.options=Lr;Te.className=Xo;Te.defaultOptions=Na;Te.moduleName=ha;Te.folderName=Jo;import{jsx as GC}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",Or=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading,d.readonly],_r={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=Or;U.options=_r;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 Hr}from"react/jsx-runtime";var Zo=e=>Hr(pt,{...e});import{Fragment as sx,jsx as ix}from"react/jsx-runtime";import{Fragment as fx,jsx as ux}from"react/jsx-runtime";import{jsx as hx}from"react/jsx-runtime";import{jsx as ya}from"react/jsx-runtime";var Br=U.states,Dr=U.defaultOptions,Kr=U.options,Pr=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],zr=[],$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=Br;$e.variants=zr;$e.defaultOptions=Dr;$e.modifiers=Pr;$e.className=U.className;import{jsx as ye,jsxs as ga}from"react/jsx-runtime";var jo="k-actionsheet-titlebar",Fr={},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=Fr;import{jsx as va,jsxs as Wr}from"react/jsx-runtime";var Aa="k-actionsheet-view",Vr=[],Ur={},Gr={},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 Wr("div",{...u,className:r(e.className,Aa,{[`${Aa}-animated`]:o}),children:[p,va("div",{className:"k-actionsheet-content",children:n}),C]})};Je.states=Vr;Je.options=Ur;Je.className=Aa;Je.defaultOptions=Gr;var ut="action-sheet",_t=ut;var wa="overlay",en=wa;import{jsx as qr}from"react/jsx-runtime";var Sa="k-overlay",$r=[],Jr={themeColor:[b.undefined,b.light,b.dark,b.inverse]},Xr={},ge=e=>{let{themeColor:t,...o}=e;return qr("div",{...o,className:r(e.className,Sa,A(Sa,{themeColor:t})),children:e.children})};ge.states=$r;ge.options=Jr;ge.className=Sa;ge.defaultOptions=Xr;ge.moduleName=wa;ge.folderName=en;import{jsx as Ht,jsxs as Zr}from"react/jsx-runtime";var tn="k-actionsheet",Yr=[],Qr={},ft={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},K=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 Zr("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})})})]})};K.states=Yr;K.options=Qr;K.className=tn;K.defaultOptions=ft;K.moduleName=ut;K.folderName=_t;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 ai}from"react/jsx-runtime";var an="k-actionsheet-container",jr=[],ei={},ti={},Xe=e=>{let{children:t,...o}=e;return ai("div",{...o,className:an,children:t})};Xe.states=jr;Xe.options=ei;Xe.className=an;Xe.defaultOptions=ti;Xe.moduleName=ut;Xe.folderName=_t;import{jsx as oi}from"react/jsx-runtime";var Ea=e=>{let{...t}=e;return oi("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as li,jsx as Ct,jsxs as Ma}from"react/jsx-runtime";var Ia="k-actionsheet-item",ni=[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(li,{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=ni;ve.className=Ia;import{jsx as bb,jsxs as hb}from"react/jsx-runtime";import{jsx as yb}from"react/jsx-runtime";import{jsx as wb}from"react/jsx-runtime";import{jsx as Ib}from"react/jsx-runtime";import{jsx as P,jsxs as La}from"react/jsx-runtime";var ri=K.options,ii=K.states,nn={...K.defaultOptions,variant:"normal"},si=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],di=[{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:[P(ve,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),P(ve,{text:"Add to Favorites",iconName:"heart"}),P(ve,{text:"Upload New",iconName:"upload",disabled:!0}),P("hr",{className:"k-hr"}),P(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"?P(K,{...n,adaptive:!0,fullscreen:l.fullScreen,header:P(ne,{actionsStart:l.actionsStart?P(m,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?P(m,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:l.subtitle}),footer:l.footer?La(Ne,{alignment:"stretched",children:[P(m,{text:"Cancel",size:"large",themeColor:"base"}),P(m,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:i}):P(K,{...n,fullscreen:l.fullScreen,header:P(ne,{actionsStart:l.actionsStart?P(m,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?P(m,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:l.subtitle}),footer:l.footer?La(Ne,{alignment:"stretched",children:[P(m,{text:"Apply",themeColor:"primary"}),P(m,{text:"Cancel",themeColor:"base"})]}):void 0,children:i})};qe.options=ri;qe.states=ii;qe.variants=si;qe.defaultOptions=nn;qe.modifiers=di;qe.className=K.className;var ln="date-time-picker",rn="datetimepicker";import{Fragment as pi,jsx as G,jsxs as Ra}from"react/jsx-runtime";var sn="k-datetimepicker",ci=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading,d.readonly],mi={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(pi,{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(K,{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=ci;Ae.options=mi;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 dh=Ae;export{sn as DATETIMEPICKER_CLASSNAME,Ae as DateTimePicker,dh as default};
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 bn}from"react/jsx-runtime";var ft="k-input",Cn=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading,d.readonly],fn={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]},xn={},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 bn("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=Cn;O.options=fn;O.className=ft;O.defaultOptions=xn;O.moduleName=qe;O.folderName=Ct;import{jsx as kn}from"react/jsx-runtime";var xt="k-picker",hn=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading,d.readonly],Nn={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]},Tn={},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 kn("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=hn;Le.options=Nn;Le.className=xt;Le.defaultOptions=Tn;Le.moduleName=qe;Le.folderName=Ct;import{Fragment as vn,jsx as Da}from"react/jsx-runtime";var zt="k-font-icon",gn=[],yn={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]},Sn={},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(vn,{})};Ye.states=gn;Ye.options=yn;Ye.className=zt;Ye.defaultOptions=Sn;var Ha=Ye;import{Fragment as wn,jsx as bt}from"react/jsx-runtime";var Ft="k-svg-icon",An=[],En={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(wn,{});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=An;Qe.options=En;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 In}from"react";import{createContext as Mn}from"react";var za=Mn({iconsType:"svg"});import{Fragment as Fa,jsx as Ze}from"react/jsx-runtime";var ht="k-icon",Ln=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Rn=[],On={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}=In(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:Ln(`${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=Rn;A.options=On;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 Hn,jsx as $t}from"react/jsx-runtime";var Va="k-clear-value",_n=[d.disabled,d.loading,d.readonly],Dn={},j=e=>{let{disabled:t,loading:o,readonly:l,value:n}=e;return t||l||o||!n?$t(Hn,{}):$t("span",{className:r(e.className,Va),children:$t(A,{icon:"x"})})};j.states=_n;j.options=Dn;j.className=Va;import{jsx as Bn}from"react/jsx-runtime";var Jt="k-input-inner",Kn=[],Pn={},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 Bn("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=Kn;ee.options=Pn;ee.className=Jt;import{jsx as Ua,jsxs as Vn}from"react/jsx-runtime";var Xt="k-input-inner",zn=[],Fn={},Gt=e=>{let{value:t,placeholder:o,showValue:l,valueIcon:n,valueIconName:i,...c}=e;return Vn("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=zn;Gt.options=Fn;Gt.className=Xt;import{jsx as $n}from"react/jsx-runtime";var qt="k-input-inner",Un=[],Wn={},Wa={value:"",placeholder:""},Yt=e=>{let{value:t=Wa.value,placeholder:o=Wa.placeholder,rows:l,disabled:n,...i}=e;return $n("textarea",{...i,className:r(e.className,qt,v(qt,e)),placeholder:o,rows:l,defaultValue:t,disabled:n||void 0})};Yt.states=Un;Yt.options=Wn;Yt.className=qt;import{Fragment as Xn,jsx as $a}from"react/jsx-runtime";var Ja="k-input-loading-icon",Jn=[d.disabled,d.loading],le=e=>{let{disabled:t,loading:o}=e;return t||!o?$a(Xn,{}):$a("span",{className:r(e.className,Ja,"k-icon k-i-loading")})};le.states=Jn;le.className=Ja;import{Fragment as Yn,jsx as Xa}from"react/jsx-runtime";var Ga="k-input-validation-icon",Gn=[d.valid,d.invalid,d.disabled,d.loading],qn={},te=e=>{let{valid:t,invalid:o,disabled:l,loading:n}=e,i=o?"warning-circle":"check-circle";return l||n||!!!(t||o)?Xa(Yn,{}):Xa(A,{className:r(Ga),icon:i})};te.states=Gn;te.options=qn;te.className=Ga;import{Fragment as jn,jsx as qa}from"react/jsx-runtime";var Qn="k-input-prefix",Zn={direction:"horizontal"},Re=e=>{let{direction:t=Zn.direction,...o}=e;return e.children?qa("span",{...o,className:r(Qn,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):qa(jn,{})};import{Fragment as al,jsx as Ya}from"react/jsx-runtime";var el="k-input-suffix",tl={direction:"horizontal"},Oe=e=>{let{direction:t=tl.direction,...o}=e;return e.children?Ya("span",{...o,className:r(el,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Ya(al,{})};import{jsx as Ls}from"react/jsx-runtime";import{jsx as Ds}from"react/jsx-runtime";import{jsx as nl}from"react/jsx-runtime";var Qa="k-input-separator",ol={direction:"vertical"},_e=e=>{let{direction:t=ol.direction,...o}=e;return nl("span",{...o,className:r(Qa,e.className,{[`${Qa}-${t}`]:t})})};var Qt="button",Za=Qt;import{Fragment as sl,jsx as je,jsxs as ja}from"react/jsx-runtime";var et="k-button",ll=["icon-button"],rl=[d.hover,d.focus,d.active,d.selected,d.disabled,d.generating],il={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(sl,{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=rl;b.options=il;b.variants=ll;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 dl}from"react/jsx-runtime";var Ee=e=>dl(b,{children:"Button",...e});import{Fragment as eo,jsx as re,jsxs as jt}from"react/jsx-runtime";var cl=O.states,ml=O.defaultOptions,pl=O.options,ul=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Cl=[],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=pl;De.states=cl;De.variants=Cl;De.defaultOptions=ml;De.modifiers=ul;De.className=O.className;import{jsx as fl}from"react/jsx-runtime";var to=e=>fl(b,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as xl}from"react/jsx-runtime";var ao=e=>xl(b,{icon:"folder",children:"Button",...e});import{jsx as ea}from"react/jsx-runtime";var bl=b.options,hl=b.states,Nl={...b.defaultOptions,variant:"text"},Tl=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],kl=[],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=bl;He.states=hl;He.variants=Tl;He.defaultOptions=Nl;He.modifiers=kl;He.className=b.className;var ta="popup",oo=ta;import{jsx as no}from"react/jsx-runtime";var lo="k-animation-container",gl=[],yl={},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=gl;ie.options=yl;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",Sl=[],vl={},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=Sl;Z.options=vl;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 wl}from"react/jsx-runtime";var Tt="k-actions",Al=[],El={},na={alignment:"start",orientation:"horizontal"},$=e=>{let{alignment:t=na.alignment,orientation:o=na.orientation,...l}=e;return wl("div",{...l,className:r(Tt,{[`${Tt}-${t}`]:t,[`${Tt}-${o}`]:o},e.className),children:e.children})};$.states=Al;$.options=El;$.className=Tt;$.defaultOptions=na;$.moduleName=oa;$.folderName=po;import{jsx as Ml}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 Ml("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",Il={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=Il;we.className=fo;we.defaultOptions=at;import{jsx as xo}from"react/jsx-runtime";var bo="k-calendar-footer",Ll={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=Ll;ot.className=bo;ot.defaultOptions=ho;var H="calendar",B=H;import{jsx as ra,jsxs as _l}from"react/jsx-runtime";var ia="k-calendar",Rl=[],Ol={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 _l("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=Rl;I.options=Ol;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 Pl}from"react/jsx-runtime";var No="k-calendar-container",Dl=[],Hl={},Kl={},Ke=e=>{let{...t}=e;return Pl("div",{...t,className:r(e.className,No),children:e.children})};Ke.states=Dl;Ke.options=Hl;Ke.className=No;Ke.defaultOptions=Kl;Ke.moduleName=H;Ke.folderName=B;import{Fragment as zl,jsx as Pe,jsxs as Fl}from"react/jsx-runtime";var Bl=[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(zl,{children:"\xA0"}):Fl("span",{className:"k-link",children:[t,k&&Pe("span",{className:"k-day-indicator"})]})})};a.states=Bl;import{jsx as sa,jsxs as Vl}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:Vl("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 Ul}from"react/jsx-runtime";var go="k-calendar-tbody",_=e=>{let{...t}=e;return Ul("tbody",{...t,className:r(e.className,go),role:"rowgroup",children:e.children})};_.className=go;_.moduleName=H;_.folderName=B;import{jsx as da,jsxs as $l}from"react/jsx-runtime";var Wl="k-calendar-table",se=e=>{let{calendarCaption:t,showTableHead:o,showWeek:l,ariaLabelledBy:n,ariaActiveDescendant:i,gridRole:c,...p}=e;return $l("table",{...p,className:r(e.className,Wl),...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 Xl}from"react/jsx-runtime";var Jl="k-calendar-table",ma=e=>{let{tableRole:t="none",ariaLabelledBy:o,...l}=e;return Xl("table",{...l,className:r(e.className,Jl),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 Zl}from"react/jsx-runtime";var Ao="k-calendar-infinite",Gl={size:[s.undefined,s.small,s.medium,s.large]},ql=["Aug","Sep","Oct","Nov","Dec","2021","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","2022","Feb","Mar","Apr","May","Jun","Jul"],Yl={2021:"marker",2022:"marker"},Ql=(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:ql,navigationMarkerConfig:Yl},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 Zl("div",{...T,className:r(e.className,"k-calendar",Ao,v("k-calendar",{size:t})),children:[o&&yt(lt,{children:Ql(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=Gl;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 jl}from"react/jsx-runtime";var Eo="k-calendar-tr",u=e=>{let{...t}=e;return jl("tr",{...t,className:r(e.className,Eo),role:"row",children:e.children})};u.className=Eo;u.moduleName=H;u.folderName=B;import{jsx as er}from"react/jsx-runtime";var wo="k-calendar-caption",z=e=>{let{text:t,scope:o,colSpan:l,rowSpan:n,...i}=e;return er("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 Km,jsxs as Pm}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 tr,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(tr,{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 ar,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(ar,{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 or,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(or,{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 nr,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(nr,{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 lp,jsx as op,jsxs as np}from"react/jsx-runtime";import{jsx as dp,jsxs as cp}from"react/jsx-runtime";import{Fragment as xp,jsx as Cp,jsxs as fp}from"react/jsx-runtime";import{jsx as wt}from"react/jsx-runtime";var lr=I.options,rr=I.states,Ho={...I.defaultOptions,variant:"month"},ir=[{name:"month",title:"Month View"},{name:"year",title:"Year View"},{name:"decade",title:"Decade View"},{name:"century",title:"Century View"}],sr=[{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=lr;Ue.states=rr;Ue.variants=ir;Ue.defaultOptions=Ho;Ue.modifiers=sr;Ue.className=I.className;import{jsx as Mt}from"react/jsx-runtime";var dr=L.options,cr=L.states,Ko={...L.defaultOptions,variant:"month"},mr=[{name:"month",title:"Month View"},{name:"year",title:"Year View"},{name:"decade",title:"Decade View"},{name:"century",title:"Century View"}],pr=[{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=dr;We.states=cr;We.variants=mr;We.defaultOptions=Ko;We.modifiers=pr;We.className=L.className;var pa="segmented-control",Po=pa,Bo="segmented-control-button",zo="segmented-control";import{jsx as fr,jsxs as xr}from"react/jsx-runtime";var It="k-segmented-control",ur=[],Cr={size:[s.undefined,s.small,s.medium,s.large]},he=e=>{let{size:t,stretched:o,children:l,thumbStyles:n,...i}=e;return xr("div",{...i,className:r(e.className,It,v(It,{size:t}),{[`${It}-stretched`]:o}),role:"group",children:[fr("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:n}),l]})};he.states=ur;he.options=Cr;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 Tr}from"react/jsx-runtime";var ua="k-segmented-control-button",br=[d.selected,d.hover,d.focus,d.disabled],hr={},Nr={},Ce=e=>{let{hover:t,focus:o,selected:l,disabled:n,icon:i,text:c,iconClassName:p,...m}=e;return Tr("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=br;Ce.options=hr;Ce.className=ua;Ce.defaultOptions=Nr;Ce.moduleName=Bo;Ce.folderName=zo;import{Fragment as Su,jsx as yu,jsxs as vu}from"react/jsx-runtime";import{Fragment as Lu,jsx as Iu,jsxs as Ru}from"react/jsx-runtime";import{Fragment as Pu,jsx as Ku,jsxs as Bu}from"react/jsx-runtime";import{Fragment as $u,jsx as Wu,jsxs as Ju}from"react/jsx-runtime";import{Fragment as Zu,jsx as Qu,jsxs as ju}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",kr=[],gr={size:[s.undefined,s.small,s.medium,s.large]},yr={},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=kr;fe.options=gr;fe.className=Ca;fe.defaultOptions=yr;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 vr,jsx as Ie,jsxs as xa}from"react/jsx-runtime";var Sr=[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(vr,{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=Sr;import{jsx as Er,jsxs as wr}from"react/jsx-runtime";var Ar="k-time-header",it=e=>{let{title:t,...o}=e;return wr("div",{...o,className:r(e.className,Ar),children:[t!=null&&Er("span",{className:"k-title",children:t}),e.children]})};import{jsx as vC,jsxs as AC}from"react/jsx-runtime";import{Fragment as HC,jsx as _C,jsxs as DC}from"react/jsx-runtime";import{Fragment as JC,jsx as WC,jsxs as $C}from"react/jsx-runtime";import{Fragment as af,jsx as ef,jsxs as tf}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",Mr=[],Ir={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=Mr;me.options=Ir;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 Rr}from"react/jsx-runtime";var Lr="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 Rr(n,{...i,...!l&&{alignment:t,orientation:o},className:r(e.className,Lr),children:e.children})};var Na="searchbox",Qo=Na;import{jsx as dt,jsxs as Dr}from"react/jsx-runtime";var Zo="k-searchbox",Or=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading],_r={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 Dr(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=Or;Te.options=_r;Te.className=Zo;Te.defaultOptions=Ta;Te.moduleName=Na;Te.folderName=Qo;import{jsx as Bf}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",Hr=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading,d.readonly],Kr={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=Hr;V.options=Kr;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 Pr}from"react/jsx-runtime";var an=e=>Pr(ct,{...e});import{Fragment as ox,jsx as ax}from"react/jsx-runtime";import{Fragment as dx,jsx as sx}from"react/jsx-runtime";import{jsx as ux}from"react/jsx-runtime";import{jsx as ya}from"react/jsx-runtime";var Br=V.states,zr=V.defaultOptions,Fr=V.options,Vr=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Ur=[],$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=Fr;$e.states=Br;$e.variants=Ur;$e.defaultOptions=zr;$e.modifiers=Vr;$e.className=V.className;import{jsx as ge,jsxs as Sa}from"react/jsx-runtime";var on="k-actionsheet-titlebar",Wr={},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=Wr;import{jsx as va,jsxs as Gr}from"react/jsx-runtime";var Aa="k-actionsheet-view",$r=[],Jr={},Xr={},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 Gr("div",{...p,className:r(e.className,Aa,{[`${Aa}-animated`]:o}),children:[m,va("div",{className:"k-actionsheet-content",children:l}),C]})};Je.states=$r;Je.options=Jr;Je.className=Aa;Je.defaultOptions=Xr;var mt="action-sheet",Dt=mt;var Ea="overlay",nn=Ea;import{jsx as Zr}from"react/jsx-runtime";var wa="k-overlay",qr=[],Yr={themeColor:[x.undefined,x.light,x.dark,x.inverse]},Qr={},ye=e=>{let{themeColor:t,...o}=e;return Zr("div",{...o,className:r(e.className,wa,v(wa,{themeColor:t})),children:e.children})};ye.states=qr;ye.options=Yr;ye.className=wa;ye.defaultOptions=Qr;ye.moduleName=Ea;ye.folderName=nn;import{jsx as Ht,jsxs as ti}from"react/jsx-runtime";var ln="k-actionsheet",jr=[],ei={},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 ti("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=jr;K.options=ei;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 li}from"react/jsx-runtime";var rn="k-actionsheet-container",ai=[],oi={},ni={},Xe=e=>{let{children:t,...o}=e;return li("div",{...o,className:rn,children:t})};Xe.states=ai;Xe.options=oi;Xe.className=rn;Xe.defaultOptions=ni;Xe.moduleName=mt;Xe.folderName=Dt;import{jsx as ri}from"react/jsx-runtime";var Ma=e=>{let{...t}=e;return ri("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as si,jsx as ut,jsxs as Ia}from"react/jsx-runtime";var La="k-actionsheet-item",ii=[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(si,{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=ii;Se.className=La;import{jsx as pb,jsxs as ub}from"react/jsx-runtime";import{jsx as bb}from"react/jsx-runtime";import{jsx as kb}from"react/jsx-runtime";import{jsx as vb}from"react/jsx-runtime";import{jsx as P,jsxs as Ra}from"react/jsx-runtime";var di=K.options,ci=K.states,dn={...K.defaultOptions,variant:"normal"},mi=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],pi=[{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=di;Ge.states=ci;Ge.variants=mi;Ge.defaultOptions=dn;Ge.modifiers=pi;Ge.className=K.className;var cn="date-time-picker",mn="datetimepicker";import{Fragment as fi,jsx as U,jsxs as Oa}from"react/jsx-runtime";var pn="k-datetimepicker",ui=[d.hover,d.focus,d.valid,d.invalid,d.required,d.disabled,d.loading,d.readonly],Ci={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(fi,{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=ui;ve.options=Ci;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 nh=ve;export{pn as DATETIMEPICKER_CLASSNAME,ve as DateTimePicker,nh as default};