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