@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 54 kB
JavaScript
var hn=Object.create;var Lt=Object.defineProperty;var Nn=Object.getOwnPropertyDescriptor;var Ln=Object.getOwnPropertyNames;var gn=Object.getPrototypeOf,vn=Object.prototype.hasOwnProperty;var In=(e,t)=>{for(var o in t)Lt(e,o,{get:t[o],enumerable:!0})},Ho=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ln(t))!vn.call(e,i)&&i!==o&&Lt(e,i,{get:()=>t[i],enumerable:!(n=Nn(t,i))||n.enumerable});return e};var zo=(e,t,o)=>(o=e!=null?hn(gn(e)):{},Ho(t||!e||!e.__esModule?Lt(o,"default",{value:e,enumerable:!0}):o,e)),kn=e=>Ho(Lt({},"__esModule",{value:!0}),e);var br={};In(br,{PagerInput:()=>fr});module.exports=kn(br);var a=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?a(...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 C=(e,t)=>a({[`${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"}),R=(e,t)=>{let{valid:o,invalid:n,hover:i,focus:r,checked:p,active:d,selected:c,disabled:u,indeterminate:b,loading:N,empty:L,readonly:S,highlighted:T,...w}=t;return a({"k-valid":o,"k-invalid":n,"k-hover":i,"k-focus":r,"k-checked":p,"k-active":d,"k-selected":c,"k-disabled":u,"k-indeterminate":b&&!p,"k-loading":N,"k-empty":L,"k-readonly":S,"k-highlighted":T},Object.keys(w).reduce((g,I)=>(I.startsWith("k-")?g[I]=w[I]:g[`k-${I}`]=w[I],g),{}))};function Bo(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(n=>[`k-${n}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},m={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},f={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},le={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},x={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},s={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 O(e){return Bt[e]=(Bt[e]||0)+1,`k-${e}-${Bt[e]}`}var ot=require("react/jsx-runtime"),Ut="k-font-icon",Sn=[],An={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info]},Cn={},it=e=>{let{size:t,themeColor:o,icon:n,rotate:i,flip:r,...p}=e;return n?(0,ot.jsx)("span",{...p,className:a(e.className,Ut,C(Ut,{size:t}),{[`k-i-${n}`]:n,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true"}):(0,ot.jsx)(ot.Fragment,{})};it.states=Sn;it.options=An;it.className=Ut;it.defaultOptions=Cn;var Uo=it;var Ce=require("react/jsx-runtime"),Ft="k-svg-icon",Tn=[],yn={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info],variant:[le.outline,le.solid,le.duotone]},Vt={viewBox:"0 0 24 24",variant:le.outline},nt=e=>{var N,L;let{size:t,themeColor:o,rotate:n,flip:i,viewBox:r=Vt.viewBox,variant:p=Vt.variant,icon:d,...c}=e;if(!d)return(0,Ce.jsx)(Ce.Fragment,{});if(d==="none")return(0,Ce.jsx)("span",{...c,className:a(e.className,Ft,C("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let u=typeof d=="object"&&d.name&&d.name,b=typeof d=="object"?p&&((N=d.variants)==null?void 0:N[p])||((L=d.variants)==null?void 0:L.outline)||d.content:void 0;return(0,Ce.jsx)("span",{...c,className:a(e.className,Ft,C("k-icon",{size:t}),{[`k-svg-i-${u}`]:u,[`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",children:(0,Ce.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof d=="object"?d.viewBox:r,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:d?void 0:e.children})})};nt.states=Tn;nt.options=yn;nt.className=Ft;nt.defaultOptions=Vt;var Gt=nt;var Xt=zo(require("@progress/kendo-svg-icons"));var Fo="icon",Vo="icons";var $o=require("react");var Go=require("react"),Xo=(0,Go.createContext)({iconsType:"svg"});var ce=require("react/jsx-runtime"),gt="k-icon",En=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Mn=[],On={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info],variant:[le.outline,le.solid,le.duotone]},vt={viewBox:"0 0 24 24",type:"svg",variant:le.outline},v=e=>{let{iconsType:t}=(0,$o.useContext)(Xo),{size:o,themeColor:n,icon:i,type:r=t||vt.type,rotate:p,flip:d,viewBox:c=vt.viewBox,variant:u=vt.variant,...b}=e;if(!i)return(0,ce.jsx)(ce.Fragment,{});if((t||r)==="svg"){if(i==="none")return(0,ce.jsx)(Gt,{...b,className:a(e.className,gt),icon:i,size:o,variant:u});let L=Xt[i]?i:En(`${i}-icon`);return Xt[L]?(0,ce.jsx)(Gt,{...b,className:a(e.className,gt),icon:Xt[L],size:o,themeColor:n,rotate:p,flip:d,viewBox:c,variant:u}):(0,ce.jsx)(ce.Fragment,{})}return(0,ce.jsx)(Uo,{...b,className:a(e.className,gt),icon:i,size:o,themeColor:n,rotate:p,flip:d})};v.states=Mn;v.options=On;v.defaultOptions=vt;v.className=gt;v.moduleName=Fo;v.folderName=Vo;v.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var $t="button",qo=$t;var Y=require("react/jsx-runtime"),at="k-button",Pn=["icon-button"],wn=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],Rn={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},qt={showArrow:!1,arrowIconName:"chevron-down"},h=e=>{let{as:t="button",size:o,rounded:n,fillMode:i,themeColor:r,showArrow:p=qt.showArrow,arrowIconName:d=qt.arrowIconName,variant:c,hover:u,focus:b,active:N,selected:L,disabled:S,togglable:T,ariaDisabled:w,icon:g,iconSize:I,text:K,iconClassName:ie,className:y,...Se}=e,Ae=g!=null,et=e.children!==void 0;return(0,Y.jsxs)(t,{className:a(y,at,Bo(at,c),C(at,{size:o,rounded:n,fillMode:i,themeColor:r}),R(at,{hover:u,focus:b,active:N,disabled:S||w,selected:L}),{"k-icon-button":!K&&!et&&Ae}),"aria-pressed":T?L?"true":"false":void 0,...Se,"aria-disabled":w?"true":void 0,disabled:S||void 0,children:[typeof g=="string"&&g&&(0,Y.jsx)(v,{className:a(ie,"k-button-icon"),icon:g,size:I}),g&&typeof g!="string"&&(0,Y.jsx)(Y.Fragment,{children:g}),K?(0,Y.jsxs)(Y.Fragment,{children:[K&&(0,Y.jsx)("span",{className:"k-button-text",children:K}),e.children]}):e.children&&(0,Y.jsx)("span",{className:"k-button-text",children:e.children}),p&&(0,Y.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Y.jsx)(v,{icon:d})})]})};h.states=wn;h.options=Rn;h.variants=Pn;h.className=at;h.defaultOptions=qt;h.moduleName=$t;h.folderName=qo;h.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var Jo=require("react/jsx-runtime"),Wo=e=>(0,Jo.jsx)(h,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Qo=require("react/jsx-runtime"),Yo=e=>(0,Qo.jsx)(h,{icon:"folder",children:"Button",...e});var Zo=require("react/jsx-runtime"),Te=e=>(0,Zo.jsx)(h,{children:"Button",...e});var It=require("react/jsx-runtime"),Kn=h.options,_n=h.states,Dn={...h.defaultOptions,variant:"text"},Hn=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],zn=[],we=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,It.jsx)(Wo,{...o,icon:"star"});case"icon-and-text":return(0,It.jsx)(Yo,{...o,icon:"star",children:"Button"});default:return(0,It.jsx)(Te,{...o,children:"Button"})}};we.options=Kn;we.states=_n;we.variants=Hn;we.defaultOptions=Dn;we.modifiers=zn;we.className=h.className;var st="input",kt=st;var jo=require("react/jsx-runtime"),St="k-input",Bn=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Un={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Fn={},_=e=>{let{hover:t,focus:o,disabled:n,invalid:i,valid:r,loading:p,readonly:d,size:c,rounded:u,fillMode:b,...N}=e;return(0,jo.jsx)("span",{...N,className:a(e.className,St,C(St,{size:c,rounded:u,fillMode:b}),R(St,{hover:t,focus:o,disabled:n,invalid:i,valid:r,loading:p,readonly:d}))})};_.states=Bn;_.options=Un;_.className=St;_.defaultOptions=Fn;_.moduleName=st;_.folderName=kt;var ei=require("react/jsx-runtime"),At="k-picker",Vn=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Gn={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Xn={},xe=e=>{let{hover:t,focus:o,disabled:n,invalid:i,valid:r,loading:p,readonly:d,size:c,rounded:u,fillMode:b,...N}=e;return(0,ei.jsx)("span",{...N,className:a(e.className,At,C(At,{size:c,rounded:u,fillMode:b}),R(At,{hover:t,focus:o,disabled:n,invalid:i,valid:r,loading:p,readonly:d})),children:e.children})};xe.states=Vn;xe.options=Gn;xe.className=At;xe.defaultOptions=Xn;xe.moduleName=st;xe.folderName=kt;var Re=require("react/jsx-runtime"),ti="k-clear-value",$n=[s.disabled,s.loading,s.readonly],qn={},ne=e=>{let{disabled:t,loading:o,readonly:n,value:i}=e;return t||n||o||!i?(0,Re.jsx)(Re.Fragment,{}):(0,Re.jsx)("span",{className:a(e.className,ti),children:(0,Re.jsx)(v,{icon:"x"})})};ne.states=$n;ne.options=qn;ne.className=ti;var oi=require("react/jsx-runtime"),Wt="k-input-inner",Wn=[],Jn={},Ct={type:"text",autocomplete:"off",value:"",placeholder:""},ae=e=>{let{value:t=Ct.value,type:o=Ct.type,placeholder:n=Ct.placeholder,autocomplete:i=Ct.autocomplete,disabled:r,readOnly:p,...d}=e;return(0,oi.jsx)("input",{...d,type:o,className:a(e.className,Wt,C(Wt,e)),placeholder:n,autoComplete:i,defaultValue:t,disabled:r||void 0,readOnly:p||void 0})};ae.states=Wn;ae.options=Jn;ae.className=Wt;var rt=require("react/jsx-runtime"),Jt="k-input-inner",Yn=[],Qn={},lt=e=>{let{value:t,placeholder:o,showValue:n,valueIcon:i,valueIconName:r,...p}=e;return(0,rt.jsxs)("span",{...p,className:a(e.className,Jt,C(Jt,e)),children:[i,!i&&r&&(0,rt.jsx)(v,{className:"k-input-value-icon",icon:r}),n&&!t&&o,n&&t&&(0,rt.jsx)("span",{className:"k-input-value-text",children:t})]})};lt.states=Yn;lt.options=Qn;lt.className=Jt;var ni=require("react/jsx-runtime"),Yt="k-input-inner",Zn=[],jn={},ii={value:"",placeholder:""},Qt=e=>{let{value:t=ii.value,placeholder:o=ii.placeholder,rows:n,disabled:i,...r}=e;return(0,ni.jsx)("textarea",{...r,className:a(e.className,Yt,C(Yt,e)),placeholder:o,rows:n,defaultValue:t,disabled:i||void 0})};Qt.states=Zn;Qt.options=jn;Qt.className=Yt;var dt=require("react/jsx-runtime"),ai="k-input-loading-icon",ea=[s.disabled,s.loading],ee=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,dt.jsx)(dt.Fragment,{}):(0,dt.jsx)("span",{className:a(e.className,ai,"k-icon k-i-loading")})};ee.states=ea;ee.className=ai;var pt=require("react/jsx-runtime"),si="k-input-validation-icon",ta=[s.valid,s.invalid,s.disabled,s.loading],oa={},Q=e=>{let{valid:t,invalid:o,disabled:n,loading:i}=e,r=o?"warning-circle":"check-circle";return n||i||!!!(t||o)?(0,pt.jsx)(pt.Fragment,{}):(0,pt.jsx)(v,{className:a(si),icon:r})};Q.states=ta;Q.options=oa;Q.className=si;var ct=require("react/jsx-runtime"),ia="k-input-prefix",na={direction:"horizontal"},he=e=>{let{direction:t=na.direction,...o}=e;return e.children?(0,ct.jsx)("span",{...o,className:a(ia,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,ct.jsx)(ct.Fragment,{})};var mt=require("react/jsx-runtime"),aa="k-input-suffix",sa={direction:"horizontal"},Ne=e=>{let{direction:t=sa.direction,...o}=e;return e.children?(0,mt.jsx)("span",{...o,className:a(aa,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,mt.jsx)(mt.Fragment,{})};var ra=require("react/jsx-runtime");var ri=require("react/jsx-runtime"),la="k-input-suffix-text",Zt=e=>{let{children:t,...o}=e;return(0,ri.jsx)("span",{...o,className:a(la,e.className),children:t})};var di=require("react/jsx-runtime"),li="k-input-separator",da={direction:"vertical"},me=e=>{let{direction:t=da.direction,...o}=e;return(0,di.jsx)("span",{...o,className:a(li,e.className,{[`${li}-${t}`]:t})})};var D=require("react/jsx-runtime"),pa=_.states,ca=_.defaultOptions,ma=_.options,ua=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],fa=[],Ke=e=>{let{modifiers:t,valid:o,invalid:n,loading:i,disabled:r,readonly:p,...d}=e,c=t==null?void 0:t.prefix,u=t==null?void 0:t.suffix,b=t==null?void 0:t["clear-button"],N=t==null?void 0:t["validation-icon"],L=t==null?void 0:t.separators;return(0,D.jsxs)(_,{...d,valid:o,invalid:n,loading:i,disabled:r,readonly:p,style:{width:300},children:[c&&(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(he,{children:(0,D.jsx)(v,{icon:"lock"})}),L&&(0,D.jsx)(me,{})]}),(0,D.jsx)(ae,{placeholder:"Placeholder",value:"Value"}),N&&(0,D.jsx)(Q,{valid:o,invalid:n,loading:i,disabled:r}),(0,D.jsx)(ee,{loading:i,disabled:r}),b&&(0,D.jsx)(ne,{loading:i,disabled:r,readonly:p,value:"Value"}),u&&(0,D.jsxs)(D.Fragment,{children:[L&&(0,D.jsx)(me,{}),(0,D.jsx)(Ne,{children:(0,D.jsx)(Te,{size:d.size,fillMode:"clear",children:"Send"})})]})]})};Ke.options=ma;Ke.states=pa;Ke.variants=fa;Ke.defaultOptions=ca;Ke.modifiers=ua;Ke.className=_.className;var jt="popup",pi=jt;var to=require("react/jsx-runtime"),ci="k-animation-container",ba=[],xa={},eo={positionMode:"absolute",shown:!0},de=e=>{let{positionMode:t=eo.positionMode,shown:o=eo.shown,animationStyle:n,offset:i,...r}=e;return(0,to.jsx)("div",{...r,style:{...i,...e.style},className:a(e.className,ci,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,to.jsx)("div",{className:"k-child-animation-container",style:n,children:e.children})})};de.states=ba;de.options=xa;de.className=ci;de.defaultOptions=eo;de.moduleName=jt;de.folderName=pi;var oo="popup",mi=oo;var io=require("react/jsx-runtime"),ui="k-popup",ha=[],Na={},fi={positionMode:"absolute"},ue=e=>{let{offset:t,positionMode:o=fi.positionMode,animationStyle:n,containerClassName:i,containerRole:r,containerAriaLabel:p,...d}=e;return(0,io.jsx)(de,{positionMode:o,offset:t,animationStyle:n,className:i,role:r,"aria-label":p,children:(0,io.jsx)("div",{...d,className:a(e.className,ui),children:e.children})})};ue.states=ha;ue.options=Na;ue.className=ui;ue.defaultOptions=fi;ue.moduleName=oo;ue.folderName=mi;ue.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 no="action-buttons",bi=no;var xi=require("react/jsx-runtime"),Tt="k-actions",La=[],ga={},ao={alignment:"start",orientation:"horizontal"},Le=e=>{let{alignment:t=ao.alignment,orientation:o=ao.orientation,...n}=e;return(0,xi.jsx)("div",{...n,className:a(Tt,{[`${Tt}-${t}`]:t,[`${Tt}-${o}`]:o},e.className),children:e.children})};Le.states=La;Le.options=ga;Le.className=Tt;Le.defaultOptions=ao;Le.moduleName=no;Le.folderName=bi;var Ni=require("react/jsx-runtime"),va="k-actionsheet-footer",hi={alignment:"stretched",orientation:"horizontal"},_e=e=>{let{alignment:t=hi.alignment,orientation:o=hi.orientation,template:n,as:i=n?"div":Le,...r}=e;return(0,Ni.jsx)(i,{...r,...!n&&{alignment:t,orientation:o},className:a(e.className,va),children:e.children})};var so="searchbox",Li=so;var ge=require("react/jsx-runtime"),gi="k-searchbox",Ia=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],ka={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},ro={showIcon:!0,icon:"search"},te=e=>{let{value:t,placeholder:o,size:n,rounded:i,fillMode:r,hover:p,focus:d,valid:c,invalid:u,required:b,loading:N,disabled:L,showIcon:S=ro.showIcon,icon:T=ro.icon,"aria-label":w,...g}=e;return(0,ge.jsxs)(_,{...g,size:n,rounded:i,fillMode:r,hover:p,focus:d,valid:c,invalid:u,required:b,loading:N,disabled:L,className:a(e.className,gi),children:[S&&(0,ge.jsx)(v,{className:"k-input-icon",icon:T}),(0,ge.jsx)(ae,{placeholder:o,value:t,"aria-label":w}),(0,ge.jsx)(ee,{...e}),(0,ge.jsx)(Q,{...e}),(0,ge.jsx)(ne,{...e})]})};te.states=Ia;te.options=ka;te.className=gi;te.defaultOptions=ro;te.moduleName=so;te.folderName=Li;var Sa=require("react/jsx-runtime");var lo="textbox",vi=lo;var U=require("react/jsx-runtime"),Ii="k-textbox",Aa=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Ca={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},yt={showClearButton:!0,showValidationIcon:!0,separators:!0},V=e=>{let{size:t,rounded:o,fillMode:n,separators:i=yt.separators,showClearButton:r=yt.showClearButton,showValidationIcon:p=yt.showValidationIcon,prefix:d,suffix:c,type:u,value:b,placeholder:N,hover:L,focus:S,valid:T,invalid:w,required:g,loading:I,disabled:K,readonly:ie,id:y,"aria-label":Se,"aria-describedby":Ae,...et}=e;return(0,U.jsxs)(_,{...et,size:t,rounded:o,fillMode:n,hover:L,focus:S,valid:T,invalid:w,required:g,loading:I,disabled:K,readonly:ie,className:a(e.className,Ii),children:[d&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(he,{children:d}),i&&(0,U.jsx)(me,{})]}),(0,U.jsx)(ae,{id:y,placeholder:N,value:b,type:u,disabled:K,"aria-label":Se,"aria-describedby":Ae,"aria-invalid":w?"true":void 0}),p&&(0,U.jsx)(Q,{valid:T,invalid:w,loading:I,disabled:K}),(0,U.jsx)(ee,{loading:I,disabled:K}),r&&(0,U.jsx)(ne,{loading:I,disabled:K,readonly:ie,value:b}),c&&(0,U.jsxs)(U.Fragment,{children:[i&&(0,U.jsx)(me,{}),(0,U.jsx)(Ne,{children:c})]})]})};V.states=Aa;V.options=Ca;V.className=Ii;V.defaultOptions=yt;V.moduleName=lo;V.folderName=vi;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 ut=V;var Si=require("react/jsx-runtime"),ki=e=>(0,Si.jsx)(ut,{...e});var Ai=require("react/jsx-runtime");var Ci=require("react/jsx-runtime");var Ta=require("react/jsx-runtime");var Et=require("react/jsx-runtime"),ya=V.states,Ea=V.defaultOptions,Ma=V.options,Oa=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Pa=[],De=e=>{let{modifiers:t,...o}=e,n={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":n.prefix=t!=null&&t[i]?(0,Et.jsx)(v,{icon:"lock"}):void 0;break;case"suffix":n.suffix=t!=null&&t[i]?(0,Et.jsx)(Te,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":n.showClearButton=t==null?void 0:t[i];break;default:break}}),(0,Et.jsx)(ki,{value:"Value",style:{width:300},...o,...n})};De.options=Ma;De.states=ya;De.variants=Pa;De.defaultOptions=Ea;De.modifiers=Oa;De.className=V.className;var Z=require("react/jsx-runtime"),Ti="k-actionsheet-titlebar",wa={},se=e=>{let{title:t,subtitle:o,actionsStart:n,actionsEnd:i,filter:r,input:p,inputValue:d,inputPlaceholder:c,adaptive:u,titleId:b,children:N,...L}=e;return(0,Z.jsxs)("div",{...L,className:a(e.className,Ti),children:[(0,Z.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[n&&(0,Z.jsx)("div",{className:"k-actionsheet-actions",children:n}),!N&&(0,Z.jsxs)("div",{className:"k-actionsheet-title",id:b,children:[t&&(0,Z.jsx)("div",{className:"k-text-center",children:t}),o&&(0,Z.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&(0,Z.jsx)("div",{className:"k-actionsheet-title",id:b,children:N}),i&&(0,Z.jsx)("div",{className:"k-actionsheet-actions",children:i})]}),(p||r)&&(0,Z.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:p?(0,Z.jsx)(V,{value:d,placeholder:c,size:u?"large":"medium","aria-label":t||c||"Input"}):(0,Z.jsx)(te,{placeholder:"Filter",size:u?"large":"medium","aria-label":"Filter options"})})]})};se.className=Ti;se.defaultOptions=wa;var He=require("react/jsx-runtime"),po="k-actionsheet-view",Ra=[],Ka={},_a={},ze=e=>{let{adaptive:t,animated:o,children:n,header:i,footer:r,titleId:p,...d}=e,c=(i==null?void 0:i.type)===se&&(0,He.jsx)(se,{adaptive:t,titleId:p,...i==null?void 0:i.props}),u=(r==null?void 0:r.type)===_e&&(0,He.jsx)(_e,{...r==null?void 0:r.props});return(0,He.jsxs)("div",{...d,className:a(e.className,po,{[`${po}-animated`]:o}),children:[c,(0,He.jsx)("div",{className:"k-actionsheet-content",children:n}),u]})};ze.states=Ra;ze.options=Ka;ze.className=po;ze.defaultOptions=_a;var ft="action-sheet",Mt=ft;var co="overlay",yi=co;var Mi=require("react/jsx-runtime"),Ei="k-overlay",Da=[],Ha={},za={},ve=e=>{let{...t}=e;return(0,Mi.jsx)("div",{...t,className:a(e.className,Ei),children:e.children})};ve.states=Da;ve.options=Ha;ve.className=Ei;ve.defaultOptions=za;ve.moduleName=co;ve.folderName=yi;var ye=require("react/jsx-runtime"),Oi="k-actionsheet",Ba=[],Ua={},bt={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},z=e=>{let{side:t=bt.side,fullscreen:o=bt.fullscreen,adaptive:n=bt.adaptive,overlay:i=bt.overlay,template:r,children:p,header:d,footer:c,id:u,...b}=e,N=u&&!r&&d?`${u}-title`:void 0;return(0,ye.jsxs)("div",{className:"k-actionsheet-container",children:[i&&(0,ye.jsx)(ve,{}),(0,ye.jsx)(de,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:(0,ye.jsx)("div",{...b,id:u,role:"dialog","aria-modal":i?"true":void 0,"aria-labelledby":N,className:a(e.className,Oi,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":n}),children:r||(0,ye.jsx)(ze,{header:d,footer:c,adaptive:n,titleId:N,...e,children:p})})})]})};z.states=Ba;z.options=Ua;z.className=Oi;z.defaultOptions=bt;z.moduleName=ft;z.folderName=Mt;z.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."}]};var wi=require("react/jsx-runtime"),Pi="k-actionsheet-container",Fa=[],Va={},Ga={},Be=e=>{let{children:t,...o}=e;return(0,wi.jsx)("div",{...o,className:Pi,children:t})};Be.states=Fa;Be.options=Va;Be.className=Pi;Be.defaultOptions=Ga;Be.moduleName=ft;Be.folderName=Mt;var Ri=require("react/jsx-runtime"),mo=e=>{let{...t}=e;return(0,Ri.jsx)("div",{...t,className:a(e.className,"k-list-ul"),children:e.children})};var oe=require("react/jsx-runtime"),uo="k-actionsheet-item",Xa=[s.hover,s.focus,s.selected,s.disabled],Ie=e=>{let{iconName:t,text:o,description:n,hover:i,focus:r,selected:p,disabled:d,...c}=e;return(0,oe.jsxs)("span",{...c,className:a(e.className,uo,R(uo,{hover:i,focus:r,selected:p,disabled:d})),children:[!e.children&&(0,oe.jsx)(oe.Fragment,{children:(0,oe.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,oe.jsx)("span",{className:"k-icon-wrap",children:(0,oe.jsx)(v,{className:"k-actionsheet-item-icon",icon:t})}),(0,oe.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,oe.jsx)("span",{className:"k-actionsheet-item-title",children:o}),n&&(0,oe.jsx)("span",{className:"k-actionsheet-item-description",children:n})]})]})}),e.children]})};Ie.states=Xa;Ie.className=uo;var Ki=require("react/jsx-runtime");var $a=require("react/jsx-runtime");var qa=require("react/jsx-runtime");var Wa=require("react/jsx-runtime");var E=require("react/jsx-runtime"),Ja=z.options,Ya=z.states,Di={...z.defaultOptions,variant:"normal"},Qa=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Za=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Ue=e=>{let{variant:t,modifiers:o,...n}={...Di,...e},i={},r=(0,E.jsxs)(mo,{children:[(0,E.jsx)(Ie,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,E.jsx)(Ie,{text:"Add to Favorites",iconName:"heart"}),(0,E.jsx)(Ie,{text:"Upload New",iconName:"upload",disabled:!0}),(0,E.jsx)("hr",{className:"k-hr"}),(0,E.jsx)(Ie,{text:"Cancel",iconName:"cancel"})]}),p="Choose from the items below",d="Select Item";return t==="fullScreen"&&(i.fullScreen=!0),Object.keys(o||{}).forEach(c=>{switch(c){case"actions":i.actionsStart=!!(o!=null&&o[c]),i.actionsEnd=!!(o!=null&&o[c]);break;case"subtitle":i.subtitle=o!=null&&o[c]?p:void 0;break;case"footer":i.footer=!!(o!=null&&o[c]);break;default:break}}),t==="adaptive"?(0,E.jsx)(z,{...n,adaptive:!0,fullscreen:i.fullScreen,header:(0,E.jsx)(se,{actionsStart:i.actionsStart?(0,E.jsx)(h,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?(0,E.jsx)(h,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:d,subtitle:i.subtitle}),footer:i.footer?(0,E.jsxs)(_e,{alignment:"stretched",children:[(0,E.jsx)(h,{text:"Cancel",size:"large",themeColor:"base"}),(0,E.jsx)(h,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:r}):(0,E.jsx)(z,{...n,fullscreen:i.fullScreen,header:(0,E.jsx)(se,{actionsStart:i.actionsStart?(0,E.jsx)(h,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?(0,E.jsx)(h,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:i.subtitle}),footer:i.footer?(0,E.jsxs)(_e,{alignment:"stretched",children:[(0,E.jsx)(h,{text:"Apply",themeColor:"primary"}),(0,E.jsx)(h,{text:"Cancel",themeColor:"base"})]}):void 0,children:r})};Ue.options=Ja;Ue.states=Ya;Ue.variants=Qa;Ue.defaultOptions=Di;Ue.modifiers=Za;Ue.className=z.className;var Ot=zo(require("react"));var fo=require("react/jsx-runtime"),ja="k-list-group-sticky-header",bo=e=>(0,fo.jsx)("div",{className:a(ja,e.className),children:(0,fo.jsx)("div",{className:"k-list-header-text",children:e.children})});var Hi=require("react/jsx-runtime"),es="k-no-data",xo=e=>{let{live:t,...o}=e;return(0,Hi.jsx)("span",{...o,className:a(es,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Ee="list",Fe=Ee;var Ve=require("react/jsx-runtime"),ho="k-list",ts=[],os={size:[l.undefined,l.small,l.medium,l.large]},is={},P=e=>{var T;let{size:t,virtualization:o,children:n,header:i,selectAll:r,optionLabel:p,customValue:d,noData:c,screenReaders:u,...b}=e,L=Ot.default.Children.toArray(n)[0],S=(T=L==null?void 0:L.props)!=null&&T.children?Ot.default.Children.count(L.props.children):Ot.default.Children.count(n);return(0,Ve.jsxs)("div",{...b,className:a(e.className,ho,C(ho,{size:t}),{"k-virtual-list":o}),children:[p,r,d,i&&(0,Ve.jsx)(bo,{children:i}),n||(c!==void 0?c:(0,Ve.jsx)(xo,{live:!0,children:"No data found."})),u&&n&&(0,Ve.jsxs)(xo,{className:"k-sr-only",live:!0,children:[S," items found."]})]})};P.states=ts;P.options=os;P.className=ho;P.defaultOptions=is;P.moduleName=Ee;P.folderName=Fe;P.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var Bi=require("react/jsx-runtime"),zi="k-list-container",ns=[],as={},ss={},Ge=e=>{let{...t}=e;return(0,Bi.jsx)("div",{...t,className:a(e.className,zi),children:e.children})};Ge.states=ns;Ge.options=as;Ge.className=zi;Ge.defaultOptions=ss;Ge.moduleName=Ee;Ge.folderName=Fe;var Me="checkbox",Xe=Me;var No=require("react/jsx-runtime"),Pt="k-checkbox",rs=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.checked,s.indeterminate],ls={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full]},ds={},W=e=>{let{id:t,checked:o,indeterminate:n,hover:i,focus:r,disabled:p,invalid:d,valid:c,required:u,size:b,rounded:N,wrapperRole:L,...S}=e;return(0,No.jsx)("span",{className:"k-checkbox-wrap",role:L,children:(0,No.jsx)("input",{...S,id:t,type:"checkbox",defaultChecked:o,required:u,disabled:p||void 0,"aria-invalid":d?"true":void 0,className:a(e.className,Pt,C(Pt,{size:b,rounded:N}),R(Pt,{hover:i,focus:r,disabled:p,invalid:d,valid:c,indeterminate:n,checked:o}))})})};W.states=rs;W.options=ls;W.className=Pt;W.defaultOptions=ds;W.moduleName=Me;W.folderName=Xe;W.ariaSpec={selector:".k-checkbox",rules:[{selector:".k-checkbox",attribute:"role=checkbox or type=checkbox",usage:"Announces the checkbox role of the element."},{selector:".k-checkbox",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name to which it will be assigned."},{selector:".k-checkbox",attribute:"aria-checked=true/false/mixed or checked",usage:"For native checkboxes the checked state is handled by the browser. aria-checked is used for custom implementations."},{selector:".k-checkbox",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the checkbox."},{selector:".k-checkbox",attribute:"disabled or aria-disabled=true (when disabled)",usage:"For native checkboxes use the HTML disabled attribute. aria-disabled for custom implementations."},{selector:".k-invalid, .ng-invalid",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the CheckBox is in a form and announces the invalid state."}]};var re=W;var Vi=require("react/jsx-runtime"),Ui="k-checkbox-list",ps=[],cs={},Fi={layout:"vertical"},G=e=>{let{layout:t=Fi.layout,...o}=e;return(0,Vi.jsx)("ul",{...o,className:a(e.className,Ui,{[`k-list-${t}`]:t}),children:e.children})};G.states=ps;G.options=cs;G.className=Ui;G.defaultOptions=Fi;G.moduleName=Me;G.folderName=Xe;var Xi=require("react/jsx-runtime"),Gi="k-checkbox-list-item",ms=[],us={},fs={},X=e=>{let{...t}=e;return(0,Xi.jsx)("li",{...t,className:a(e.className,Gi),children:e.children})};X.states=ms;X.options=us;X.className=Gi;X.defaultOptions=fs;X.moduleName=Me;X.folderName=Xe;var Oe=require("react/jsx-runtime"),fe=({children:e="Label",id:t="cb-label-after",...o})=>(0,Oe.jsxs)(Oe.Fragment,{children:[(0,Oe.jsx)(re,{id:t,...o}),(0,Oe.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var Lo=require("react/jsx-runtime");var go=require("react/jsx-runtime");var vo=require("react/jsx-runtime");var bs=require("react/jsx-runtime");var xs=require("react/jsx-runtime");var hs=require("react/jsx-runtime");var F=require("react/jsx-runtime"),Ns=G.options,Ls=G.states,gs={...G.defaultOptions,variant:"vertical"},vs=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Is=[],$e=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,F.jsxs)(G,{layout:"horizontal",...o,children:[(0,F.jsx)(X,{children:(0,F.jsx)(fe,{id:O("cb"),defaultChecked:!0,children:"Label"})}),(0,F.jsx)(X,{children:(0,F.jsx)(fe,{id:O("cb"),children:"Label"})}),(0,F.jsx)(X,{children:(0,F.jsx)(fe,{id:O("cb"),children:"Label"})})]}):(0,F.jsxs)(G,{...o,children:[(0,F.jsx)(X,{children:(0,F.jsx)(fe,{id:O("cb"),defaultChecked:!0,children:"Label"})}),(0,F.jsx)(X,{children:(0,F.jsx)(fe,{id:O("cb"),children:"Label"})}),(0,F.jsx)(X,{children:(0,F.jsx)(fe,{id:O("cb"),children:"Label"})})]})};$e.options=Ns;$e.states=Ls;$e.variants=vs;$e.defaultOptions=gs;$e.modifiers=Is;$e.className=G.className;var $i=require("react/jsx-runtime"),ks=re.options,Ss=re.states,As=re.defaultOptions,Cs=[],Ts=[],qe=e=>(0,$i.jsx)(fe,{id:O("checkbox"),...e,defaultChecked:!0,children:"Label"});qe.options=ks;qe.states=Ss;qe.variants=Cs;qe.defaultOptions=As;qe.modifiers=Ts;qe.className=re.className;var pe=require("react/jsx-runtime"),Io="k-list-item",ys=[s.hover,s.focus,s.selected,s.disabled],Es={},Ms={},A=e=>{let{text:t,groupLabel:o,group:n,iconName:i,iconClassName:r,showCheckbox:p,checked:d,hover:c,focus:u,selected:b,disabled:N,actions:L,description:S,id:T,...w}=e,g=t||e.children;return(0,pe.jsxs)("li",{...w,id:T,role:n?"presentation":"option",tabIndex:n?void 0:u?0:-1,"aria-selected":!n&&b?"true":n?void 0:"false","aria-disabled":!n&&N?"true":void 0,className:a(e.className,n?"k-list-group-item":Io,R(Io,{hover:c,focus:u,disabled:N,selected:b})),children:[p&&(0,pe.jsx)(W,{checked:d}),i&&(0,pe.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,pe.jsx)(v,{icon:i,className:a("k-list-item-icon",r)})}),(0,pe.jsx)("span",{className:"k-list-item-text",children:g}),L&&(0,pe.jsx)("div",{className:"k-list-item-actions",children:L}),S&&(0,pe.jsx)("span",{className:"k-list-item-description",children:S}),o&&o!==""&&(0,pe.jsx)("div",{className:"k-list-item-group-label",children:o})]})};A.states=ys;A.options=Es;A.className=Io;A.defaultOptions=Ms;A.moduleName=Ee;A.folderName=Fe;A.ariaSpec={selector:".k-list-item",rules:[{selector:".k-list-item",attribute:"role=option",usage:"Each list item is an option in the listbox."},{selector:".k-list-item",attribute:"id",usage:"ID for aria-activedescendant reference."},{selector:".k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state of the option."},{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-item-icon",attribute:"aria-hidden=true",usage:"Decorative icons are hidden from assistive technology."}]};var qi=require("react/jsx-runtime"),Os="k-list-ul",Pe=e=>{let{children:t,role:o,id:n,...i}=e;return(0,qi.jsx)("ul",{...i,id:n,role:o,className:a(Os,e.className),children:t})};Pe.ariaSpec={selector:".k-list-ul",rules:[{selector:'.k-list-ul[role="listbox"]',attribute:"role=listbox",usage:"For ungrouped lists, the UL has the listbox role."},{selector:'.k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."},{selector:'.k-list-ul[role="group"]',attribute:"role=group",usage:"For grouped sublists under a group header."},{selector:'.k-list-ul[role="group"]',attribute:"aria-labelledby (when grouped)",usage:"References the group header ID."}]};var We=require("react/jsx-runtime"),Ps="k-list-content",$=e=>{let{virtualization:t,grouping:o,"aria-label":n,"aria-labelledby":i,listboxId:r,...p}=e;return(0,We.jsxs)("div",{...p,className:a(Ps,e.className),role:o?"listbox":void 0,id:o?r:void 0,"aria-label":o?n:void 0,"aria-labelledby":o?i:void 0,children:[o?e.children:(0,We.jsx)(Pe,{role:"listbox",id:r,"aria-label":n,"aria-labelledby":i,children:e.children}),t&&(0,We.jsx)("div",{className:"k-height-container",children:(0,We.jsx)("div",{})})]})};$.ariaSpec={selector:".k-list-content",rules:[{selector:'.k-list-content[role="listbox"]',attribute:"role=listbox",usage:"For grouped lists, the list content container has the listbox role."},{selector:'.k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."}]};var Je=require("react/jsx-runtime"),wt="k-list-sticky-header",ws=[s.hover,s.focus,s.selected],Rs={},Ks={},Rt=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:n,indeterminate:i,hover:r,focus:p,selected:d,...c}=e;return(0,Je.jsx)("div",{...c,className:a(wt,e.className),children:(0,Je.jsxs)("div",{className:a(`${wt}-item`,R(`${wt}-item`,{hover:r,focus:p,selected:d})),children:[o&&(0,Je.jsx)(W,{checked:n,indeterminate:i,"aria-label":t}),(0,Je.jsx)("span",{className:"k-list-item-text",children:t})]})})};Rt.states=ws;Rt.options=Rs;Rt.className=wt;Rt.defaultOptions=Ks;var ko=require("react/jsx-runtime");var Ye=require("react/jsx-runtime"),_s="k-list-group-item",xt=e=>{let{groupIconName:t,...o}=e;return(0,Ye.jsxs)("li",{...o,role:"presentation",className:a(_s,e.className),children:[t&&(0,Ye.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,Ye.jsx)(v,{icon:t,className:"k-list-item-icon"})}),(0,Ye.jsx)("span",{className:"k-list-item-text",children:e.children})]})};xt.ariaSpec={selector:".k-list-group-item",rules:[{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-group-item",attribute:"id (when referenced)",usage:"ID for aria-labelledby on the parent group UL."}]};var Wi=require("react/jsx-runtime"),So="k-list-optionlabel",Ds=[s.hover,s.focus,s.selected,s.disabled],Hs={},zs={},Kt=e=>{let{text:t,hover:o,focus:n,selected:i,disabled:r,...p}=e;return(0,Wi.jsx)("div",{...p,className:a(So,R(So,{hover:o,focus:n,selected:i,disabled:r})),children:t})};Kt.states=Ds;Kt.options=Hs;Kt.className=So;Kt.defaultOptions=zs;var Ji=require("react/jsx-runtime"),Ao="k-list-custom-value",Bs=[s.hover,s.focus,s.selected,s.disabled],Us={},Fs={},_t=e=>{let{text:t,hover:o,focus:n,selected:i,disabled:r,...p}=e;return(0,Ji.jsx)("div",{...p,className:a(Ao,R(Ao,{hover:o,focus:n,selected:i,disabled:r})),children:t})};_t.states=Bs;_t.options=Us;_t.className=Ao;_t.defaultOptions=Fs;var Co=require("react/jsx-runtime");var To=require("react/jsx-runtime");var yo=require("react/jsx-runtime");var Eo=require("react/jsx-runtime");var Vs=require("react/jsx-runtime");var Mo=require("react/jsx-runtime");var Yi="dropdown-list",Qi="dropdownlist";var M=require("react/jsx-runtime"),Zi="k-dropdownlist",Gs=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Xs={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Oo={showValue:!0,arrowIconName:"chevron-down"},H=e=>{let{size:t,rounded:o,fillMode:n,arrowIconName:i=Oo.arrowIconName,showValue:r=Oo.showValue,valueIconName:p,prefix:d,suffix:c,value:u,placeholder:b,hover:N,focus:L,valid:S,invalid:T,required:w,loading:g,disabled:I,readonly:K,popup:ie,opened:y,adaptive:Se,adaptiveSettings:Ae,adaptiveTitle:et,adaptiveSubtitle:mn,adaptiveFilter:un,id:tt,activeDescendant:_o,"aria-label":fn,...bn}=e,xn=tt?`${tt}-listbox`:void 0,Do=tt?`${tt}-value`:void 0;return(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)(xe,{...bn,id:tt,size:t,rounded:o,fillMode:n,hover:N,focus:L,valid:S,invalid:T,required:w,loading:g,disabled:I,readonly:K,className:a(e.className,Zi,{"k-icon-picker":!r&&p}),role:"combobox","aria-haspopup":"listbox","aria-expanded":y?"true":"false","aria-controls":y?xn:void 0,"aria-activedescendant":y&&_o?_o:void 0,"aria-describedby":y?Do:void 0,"aria-disabled":I?"true":void 0,"aria-label":fn,tabIndex:0,children:[(0,M.jsx)(he,{children:d}),(0,M.jsx)(lt,{placeholder:b,value:u,showValue:r,valueIconName:p,id:Do}),(0,M.jsx)(Q,{valid:S,invalid:T,loading:g,disabled:I}),(0,M.jsx)(ee,{loading:g,disabled:I}),(0,M.jsx)(Ne,{children:c}),(0,M.jsx)(h,{className:"k-input-button",icon:i,size:e.size,fillMode:e.fillMode,"aria-label":b||"Toggle dropdown",tabIndex:-1})]}),y&&ie&&(0,M.jsx)(ue,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:ie}),Se&&(0,M.jsx)(z,{adaptive:!0,...Ae,header:(0,M.jsx)(se,{actionsEnd:(0,M.jsx)(h,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:un,inputValue:u,inputPlaceholder:b,title:et,subtitle:mn}),children:(0,M.jsx)("div",{className:"k-list-container",children:(0,M.jsx)(P,{size:"large",children:(0,M.jsxs)($,{"aria-label":"Options",children:[(0,M.jsx)(A,{text:"List item"}),(0,M.jsx)(A,{text:"List item"}),(0,M.jsx)(A,{text:"List item"})]})})})})]})};H.states=Gs;H.options=Xs;H.className=Zi;H.defaultOptions=Oo;H.moduleName=Yi;H.folderName=Qi;H.ariaSpec={rules:[{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"role=combobox",usage:"Announces the dropdown element."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-haspopup=listbox",usage:"Indicates the presence of a listbox popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-expanded",usage:"Announces the visibility state of the popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-label",usage:"Accessible name for the dropdown."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-dropdownlist.k-disabled",attribute:"aria-disabled=true",usage:"Rendered when the dropdown is disabled."},{selector:".k-dropdownlist .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-dropdownlist .k-input-button",attribute:"tabindex=-1",usage:"The button must not be focusable."},{selector:".k-dropdownlist-popup .k-list-content, .k-dropdownlist-popup .k-list-ul",attribute:"role=listbox",usage:"Popup list has listbox role."},{selector:'.k-dropdownlist-popup .k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby",usage:"Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."},{selector:".k-dropdownlist-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."}]};var $s=require("react/jsx-runtime");var ji=require("react/jsx-runtime");var Po=require("react/jsx-runtime");var qs=require("react/jsx-runtime");var en=require("react/jsx-runtime");var wo=require("react/jsx-runtime");var Ws=require("react/jsx-runtime");var J=require("react/jsx-runtime"),Js=H.states,Ys=H.defaultOptions,Qs=H.options,Zs=[{name:"opened",title:"Opened"}],js=[],Ze=e=>{let{modifiers:t,...o}=e,n={},i=(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)("div",{className:"k-list-filter",children:(0,J.jsx)(te,{})}),(0,J.jsx)(P,{style:{width:300},size:o.size,children:(0,J.jsxs)($,{children:[(0,J.jsx)(A,{children:"List item"}),(0,J.jsx)(A,{children:"List item"}),(0,J.jsx)(A,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(r=>{r==="opened"&&(n.opened=!!(t!=null&&t[r]),n.popup=t!=null&&t[r]?i:void 0)}),(0,J.jsx)("div",{children:(0,J.jsx)(H,{placeholder:"Value",style:{width:300},...o,...n})})};Ze.options=Qs;Ze.states=Js;Ze.variants=js;Ze.defaultOptions=Ys;Ze.modifiers=Zs;Ze.className=H.className;var ht=require("react/jsx-runtime"),tn="k-spin-button",or=[],ir={size:[l.undefined,l.small,l.medium,l.large],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},Ro={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},ke=e=>{let{size:t,fillMode:o,disabled:n,increaseLabel:i=Ro.increaseLabel,decreaseLabel:r=Ro.decreaseLabel,...p}=e;return(0,ht.jsxs)("span",{...p,className:a(tn,e.className),children:[(0,ht.jsx)(h,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:n,"aria-label":i}),(0,ht.jsx)(h,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:n,"aria-label":r})]})};ke.states=or;ke.options=ir;ke.className=tn;ke.defaultOptions=Ro;ke.moduleName=null;ke.folderName=null;var on="numeric-textbox",nn="numerictextbox";var B=require("react/jsx-runtime"),an="k-numerictextbox",nr=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],ar={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Dt={showSpinButton:!0,showClearButton:!0,separators:!0},q=e=>{let{size:t,rounded:o,fillMode:n,separators:i=Dt.separators,showClearButton:r=Dt.showClearButton,showSpinButton:p=Dt.showSpinButton,prefix:d,suffix:c,value:u,placeholder:b,hover:N,focus:L,valid:S,invalid:T,required:w,loading:g,disabled:I,readonly:K,id:ie,"aria-label":y,"aria-describedby":Se,...Ae}=e;return(0,B.jsxs)(_,{...Ae,size:t,rounded:o,fillMode:n,hover:N,focus:L,valid:S,invalid:T,required:w,loading:g,disabled:I,readonly:K,className:a(e.className,an),children:[d&&(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(he,{children:d}),i&&(0,B.jsx)(me,{})]}),(0,B.jsx)(ae,{id:ie,placeholder:b,value:u,role:"spinbutton",disabled:I,"aria-label":y,"aria-describedby":Se,"aria-invalid":T?"true":void 0}),(0,B.jsx)(Q,{valid:S,invalid:T,loading:g,disabled:I}),(0,B.jsx)(ee,{loading:g,disabled:I}),r&&(0,B.jsx)(ne,{loading:g,disabled:I,readonly:K,value:u}),c&&(0,B.jsxs)(B.Fragment,{children:[i&&(0,B.jsx)(me,{}),(0,B.jsx)(Ne,{children:c})]}),p&&(0,B.jsx)(ke,{className:"k-input-spinner",size:t,fillMode:n,disabled:I})]})};q.states=nr;q.options=ar;q.className=an;q.defaultOptions=Dt;q.moduleName=on;q.folderName=nn;q.ariaSpec={selector:".k-numerictextbox",rules:[{selector:".k-numerictextbox > .k-input-inner",attribute:"role=spinbutton",usage:"Announces the spin button capabilities of the NumericTextBox."},{selector:".k-numerictextbox > .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-numerictextbox > .k-input-inner",attribute:"aria-valuenow (when has value)",usage:"Announces the current value of the component."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemin (when has min)",usage:"Announces the minimum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemax (when has max)",usage:"Announces the maximum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the NumericTextBox is in an invalid state."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message."},{selector:".k-numerictextbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"role=button or nodeName=button",usage:"Describes the role of the spin buttons."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"aria-label",usage:"The button element requires discernible text."},{selector:".k-numerictextbox.k-disabled .k-spin-button > .k-button",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."}]};var Nt=q;var rn=require("react/jsx-runtime"),sn=e=>(0,rn.jsx)(Nt,{...e});var ln=require("react/jsx-runtime");var dn=require("react/jsx-runtime");var sr=require("react/jsx-runtime");var Ht=require("react/jsx-runtime"),rr=q.states,lr=q.defaultOptions,dr=q.options,pr=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],cr=[],je=e=>{let{modifiers:t,...o}=e,n={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":n.prefix=t!=null&&t[i]?(0,Ht.jsx)(H,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":n.suffix=t!=null&&t[i]?(0,Ht.jsx)(Zt,{children:"mm"}):void 0;break;case"clear-button":n.showClearButton=t==null?void 0:t[i];break;case"spin-button":n.showSpinButton=t==null?void 0:t[i];break;default:break}}),(0,Ht.jsx)(sn,{value:"Value",style:{width:300},...o,...n})};je.options=dr;je.states=rr;je.variants=cr;je.defaultOptions=lr;je.modifiers=pr;je.className=q.className;var Ko="pager",pn=Ko;var k=require("react/jsx-runtime"),zt="k-pager",mr=[s.focus,s.disabled],ur={size:[l.undefined,l.small,l.medium,l.large]},j={responsive:!0,pagerSizeInfo:!0,pageTitleInfo:!0,maxPagesInfo:!0,type:"numeric",pageSizes:!0,refresh:!0,previousNext:!0,info:"1 - 5 of 20 items",itemsPerPage:5,maxPages:6,currentPage:1},be=e=>{let{responsive:t=j.responsive,size:o,pagerSizeInfo:n=j.pagerSizeInfo,pageTitleInfo:i=j.pageTitleInfo,maxPagesInfo:r=j.maxPagesInfo,itemsPerPage:p=j.itemsPerPage,maxPages:d=j.maxPages,currentPage:c=j.curr