UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

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