UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

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