UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 227 kB
var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...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 L=(e,t)=>r({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),v=(e,t)=>{let{valid:o,invalid:a,hover:l,focus:n,checked:d,active:p,selected:b,disabled:T,indeterminate:h,loading:k,empty:f,readonly:w,highlighted:C,...A}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":l,"k-focus":n,"k-checked":d,"k-active":p,"k-selected":b,"k-disabled":T,"k-indeterminate":h&&!d,"k-loading":k,"k-empty":f,"k-readonly":w,"k-highlighted":C},Object.keys(A).reduce((E,G)=>(G.startsWith("k-")?E[G]=A[G]:E[`k-${G}`]=A[G],E),{}))};function Us(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var s={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},g={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},N={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},ao={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},y={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={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 Ni={};function z(e){return Ni[e]=(Ni[e]||0)+1,`k-${e}-${Ni[e]}`}import{Fragment as Jm,jsx as $s}from"react/jsx-runtime";var ki="k-font-icon",Vm=[],Wm={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[y.undefined,y.base,y.primary,y.secondary,y.tertiary,y.success,y.warning,y.error,y.info]},Xm={},Rr=e=>{let{size:t,themeColor:o,icon:a,rotate:l,flip:n,...d}=e;return a?$s("span",{...d,className:r(e.className,ki,L(ki,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${l}`]:l,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true"}):$s(Jm,{})};Rr.states=Vm;Rr.options=Wm;Rr.className=ki;Rr.defaultOptions=Xm;var Vs=Rr;import{Fragment as Qm,jsx as gl}from"react/jsx-runtime";var vi="k-svg-icon",qm=[],Ym={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[y.undefined,y.base,y.primary,y.secondary,y.tertiary,y.success,y.warning,y.error,y.info],variant:[ao.outline,ao.solid,ao.duotone]},wi={viewBox:"0 0 24 24",variant:ao.outline},Or=e=>{let{size:t,themeColor:o,rotate:a,flip:l,viewBox:n=wi.viewBox,variant:d=wi.variant,icon:p,...b}=e;if(!p)return gl(Qm,{});if(p==="none")return gl("span",{...b,className:r(e.className,vi,L("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let T=typeof p=="object"&&p.name&&p.name,h=typeof p=="object"?d&&p.variants?.[d]||p.variants?.outline||p.content:void 0;return gl("span",{...b,className:r(e.className,vi,L("k-icon",{size:t}),{[`k-svg-i-${T}`]:T,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true",children:gl("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof p=="object"?p.viewBox:n,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:p?void 0:e.children})})};Or.states=qm;Or.options=Ym;Or.className=vi;Or.defaultOptions=wi;var Ci=Or;import*as Li from"@progress/kendo-svg-icons";var Ws="icon",Xs="icons";import{useContext as jm}from"react";import{createContext as Zm}from"react";var Js=Zm({iconsType:"svg"});import{Fragment as qs,jsx as Gr}from"react/jsx-runtime";var hl="k-icon",eu=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),tu=[],ou={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[y.undefined,y.base,y.primary,y.secondary,y.tertiary,y.success,y.warning,y.error,y.info],variant:[ao.outline,ao.solid,ao.duotone]},xl={viewBox:"0 0 24 24",type:"svg",variant:ao.outline},u=e=>{let{iconsType:t}=jm(Js),{size:o,themeColor:a,icon:l,type:n=t||xl.type,rotate:d,flip:p,viewBox:b=xl.viewBox,variant:T=xl.variant,...h}=e;if(!l)return Gr(qs,{});if((t||n)==="svg"){if(l==="none")return Gr(Ci,{...h,className:r(e.className,hl),icon:l,size:o,variant:T});let f=Li[l]?l:eu(`${l}-icon`);return Li[f]?Gr(Ci,{...h,className:r(e.className,hl),icon:Li[f],size:o,themeColor:a,rotate:d,flip:p,viewBox:b,variant:T}):Gr(qs,{})}return Gr(Vs,{...h,className:r(e.className,hl),icon:l,size:o,themeColor:a,rotate:d,flip:p})};u.states=tu;u.options=ou;u.defaultOptions=xl;u.className=hl;u.moduleName=Ws;u.folderName=Xs;u.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 Mi="button",Ys=Mi;import{Fragment as Qs,jsx as Ca,jsxs as Zs}from"react/jsx-runtime";var Pr="k-button",au=["icon-button"],ru=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],lu={size:[s.undefined,s.xsmall,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[y.undefined,y.base,y.primary,y.secondary,y.tertiary,y.success,y.warning,y.error,y.info,y.inverse]},yi={showArrow:!1,arrowIconName:"chevron-down"},c=e=>{let{as:t="button",size:o,rounded:a,fillMode:l,themeColor:n,showArrow:d=yi.showArrow,arrowIconName:p=yi.arrowIconName,variant:b,hover:T,focus:h,active:k,selected:f,disabled:w,togglable:C,ariaDisabled:A,icon:E,iconSize:G,text:D,iconClassName:xe,className:le,...Ve}=e,rt=E!=null,lt=e.children!==void 0;return Zs(t,{className:r(le,Pr,Us(Pr,b),L(Pr,{size:o,rounded:a,fillMode:l,themeColor:n}),v(Pr,{hover:T,focus:h,active:k,disabled:w||A,selected:f}),{"k-icon-button":!D&&!lt&&rt}),"aria-pressed":C?f?"true":"false":void 0,...Ve,"aria-disabled":A?"true":void 0,disabled:w||void 0,children:[typeof E=="string"&&E&&Ca(u,{className:r(xe,"k-button-icon"),icon:E,size:G}),E&&typeof E!="string"&&Ca(Qs,{children:E}),D?Zs(Qs,{children:[D&&Ca("span",{className:"k-button-text",children:D}),e.children]}):e.children&&Ca("span",{className:"k-button-text",children:e.children}),d&&Ca("span",{className:"k-menu-button-arrow k-button-arrow",children:Ca(u,{icon:p})})]})};c.states=ru;c.options=lu;c.variants=au;c.className=Pr;c.defaultOptions=yi;c.moduleName=Mi;c.folderName=Ys;c.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};import{jsx as iu}from"react/jsx-runtime";var Ao=e=>iu(c,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as nu}from"react/jsx-runtime";var Hr=e=>nu(c,{icon:"folder",children:"Button",...e});import{jsx as su}from"react/jsx-runtime";var ta=e=>su(c,{children:"Button",...e});import{jsx as Si}from"react/jsx-runtime";var du=c.options,cu=c.states,pu={...c.defaultOptions,variant:"text"},mu=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],uu=[],La=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return Si(Ao,{...o,icon:"star"});case"icon-and-text":return Si(Hr,{...o,icon:"star",children:"Button"});default:return Si(ta,{...o,children:"Button"})}};La.options=du;La.states=cu;La.variants=mu;La.defaultOptions=pu;La.modifiers=uu;La.className=c.className;var Ii="button",js=Ii;import{jsx as gu}from"react/jsx-runtime";var Br="k-button-group",bu=[i.disabled],fu={fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link]},Tu={},R=e=>{let{fillMode:t,disabled:o,stretched:a,...l}=e;return gu("div",{role:"group",...l,className:r(e.className,Br,L(Br,{fillMode:t}),v(Br,{disabled:o}),{[`${Br}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};R.states=bu;R.options=fu;R.className=Br;R.defaultOptions=Tu;R.moduleName=Ii;R.folderName=js;R.ariaSpec={selector:".k-button-group",rules:[{selector:".k-button-group:not(.k-split-button)",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-button-group.k-disabled",attribute:"aria-disabled=true",usage:"The attribute is rendered only when the entire button group is disabled."},{selector:".k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button",attribute:"aria-pressed (when selected)",usage:"Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true."}]};import{Fragment as NL,jsx as xL,jsxs as kL}from"react/jsx-runtime";import{Fragment as yL,jsx as ML,jsxs as SL}from"react/jsx-runtime";import{Fragment as GL,jsx as OL,jsxs as PL}from"react/jsx-runtime";import{Fragment as zL,jsx as DL,jsxs as FL}from"react/jsx-runtime";import{Fragment as JL,jsx as XL,jsxs as qL}from"react/jsx-runtime";import{Fragment as tM,jsx as eM,jsxs as oM}from"react/jsx-runtime";import{jsx as fo,jsxs as Ai}from"react/jsx-runtime";var hu={...c.options,...R.options},xu=c.states,Nu={...c.defaultOptions,...R.defaultOptions,variant:"text-button"},ku=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],vu=[],Ma=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?Ai(R,{fillMode:a.fillMode,className:o,children:[fo(c,{...a,icon:"star"}),fo(c,{...a,icon:"star"}),fo(c,{...a,icon:"star"})]}):t==="icon-text-button"?Ai(R,{fillMode:a.fillMode,className:o,children:[fo(c,{...a,icon:"star",children:"First"}),fo(c,{...a,icon:"star",children:"Middle"}),fo(c,{...a,icon:"star",children:"Last"})]}):Ai(R,{fillMode:a.fillMode,className:o,children:[fo(c,{...a,children:"First"}),fo(c,{...a,children:"Middle"}),fo(c,{...a,children:"Last"})]})};Ma.options=hu;Ma.states=xu;Ma.variants=ku;Ma.defaultOptions=Nu;Ma.modifiers=vu;Ma.className=R.className;var _r="input",Nl=_r;import{jsx as Mu}from"react/jsx-runtime";var kl="k-input",wu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Cu={size:[s.undefined,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Lu={},He=e=>{let{hover:t,focus:o,disabled:a,invalid:l,valid:n,loading:d,readonly:p,size:b,rounded:T,fillMode:h,...k}=e;return Mu("span",{...k,className:r(e.className,kl,L(kl,{size:b,rounded:T,fillMode:h}),v(kl,{hover:t,focus:o,disabled:a,invalid:l,valid:n,loading:d,readonly:p}))})};He.states=wu;He.options=Cu;He.className=kl;He.defaultOptions=Lu;He.moduleName=_r;He.folderName=Nl;import{jsx as Au}from"react/jsx-runtime";var vl="k-picker",yu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Su={size:[s.undefined,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Iu={},ro=e=>{let{hover:t,focus:o,disabled:a,invalid:l,valid:n,loading:d,readonly:p,size:b,rounded:T,fillMode:h,...k}=e;return Au("span",{...k,className:r(e.className,vl,L(vl,{size:b,rounded:T,fillMode:h}),v(vl,{hover:t,focus:o,disabled:a,invalid:l,valid:n,loading:d,readonly:p})),children:e.children})};ro.states=yu;ro.options=Su;ro.className=vl;ro.defaultOptions=Iu;ro.moduleName=_r;ro.folderName=Nl;import{Fragment as Ou,jsx as Ei}from"react/jsx-runtime";var ed="k-clear-value",Eu=[i.disabled,i.loading,i.readonly],Ru={},St=e=>{let{disabled:t,loading:o,readonly:a,value:l}=e;return t||a||o||!l?Ei(Ou,{}):Ei("span",{className:r(e.className,ed),children:Ei(u,{icon:"x"})})};St.states=Eu;St.options=Ru;St.className=ed;import{jsx as Hu}from"react/jsx-runtime";var Ri="k-input-inner",Gu=[],Pu={},wl={type:"text",autocomplete:"off",value:"",placeholder:""},It=e=>{let{value:t=wl.value,type:o=wl.type,placeholder:a=wl.placeholder,autocomplete:l=wl.autocomplete,disabled:n,readOnly:d,...p}=e;return Hu("input",{...p,type:o,className:r(e.className,Ri,L(Ri,e)),placeholder:a,autoComplete:l,defaultValue:t,disabled:n||void 0,readOnly:d||void 0})};It.states=Gu;It.options=Pu;It.className=Ri;import{jsx as td,jsxs as Ku}from"react/jsx-runtime";var Oi="k-input-inner",Bu=[],_u={},oa=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:l,valueIconName:n,...d}=e;return Ku("span",{...d,className:r(e.className,Oi,L(Oi,e)),children:[l,!l&&n&&td(u,{className:"k-input-value-icon",icon:n}),a&&!t&&o,a&&t&&td("span",{className:"k-input-value-text",children:t})]})};oa.states=Bu;oa.options=_u;oa.className=Oi;import{jsx as Fu}from"react/jsx-runtime";var Gi="k-input-inner",Du=[],zu={},od={value:"",placeholder:""},Pi=e=>{let{value:t=od.value,placeholder:o=od.placeholder,rows:a,disabled:l,...n}=e;return Fu("textarea",{...n,className:r(e.className,Gi,L(Gi,e)),placeholder:o,rows:a,defaultValue:t,disabled:l||void 0})};Pi.states=Du;Pi.options=zu;Pi.className=Gi;import{Fragment as $u,jsx as ad}from"react/jsx-runtime";var rd="k-input-loading-icon",Uu=[i.disabled,i.loading],Tt=e=>{let{disabled:t,loading:o}=e;return t||!o?ad($u,{}):ad("span",{className:r(e.className,rd,"k-icon k-i-loading")})};Tt.states=Uu;Tt.className=rd;import{Fragment as Xu,jsx as ld}from"react/jsx-runtime";var id="k-input-validation-icon",Vu=[i.valid,i.invalid,i.disabled,i.loading],Wu={},it=e=>{let{valid:t,invalid:o,disabled:a,loading:l}=e,n=o?"warning-circle":"check-circle";return a||l||!!!(t||o)?ld(Xu,{}):ld(u,{className:r(id),icon:n})};it.states=Vu;it.options=Wu;it.className=id;import{Fragment as Yu,jsx as nd}from"react/jsx-runtime";var Ju="k-input-prefix",qu={direction:"horizontal"},Ht=e=>{let{direction:t=qu.direction,...o}=e;return e.children?nd("span",{...o,className:r(Ju,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):nd(Yu,{})};import{Fragment as ju,jsx as sd}from"react/jsx-runtime";var Qu="k-input-suffix",Zu={direction:"horizontal"},Bt=e=>{let{direction:t=Zu.direction,...o}=e;return e.children?sd("span",{...o,className:r(Qu,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):sd(ju,{})};import{jsx as oy}from"react/jsx-runtime";import{jsx as tb}from"react/jsx-runtime";var eb="k-input-suffix-text",Hi=e=>{let{children:t,...o}=e;return tb("span",{...o,className:r(eb,e.className),children:t})};import{jsx as ab}from"react/jsx-runtime";var dd="k-input-separator",ob={direction:"vertical"},_t=e=>{let{direction:t=ob.direction,...o}=e;return ab("span",{...o,className:r(dd,e.className,{[`${dd}-${t}`]:t})})};import{Fragment as cd,jsx as lo,jsxs as Bi}from"react/jsx-runtime";var rb=He.states,lb=He.defaultOptions,ib=He.options,nb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],sb=[],ya=e=>{let{modifiers:t,valid:o,invalid:a,loading:l,disabled:n,readonly:d,...p}=e,b=t?.prefix,T=t?.suffix,h=t?.["clear-button"],k=t?.["validation-icon"],f=t?.separators;return Bi(He,{...p,valid:o,invalid:a,loading:l,disabled:n,readonly:d,style:{width:300},children:[b&&Bi(cd,{children:[lo(Ht,{children:lo(u,{icon:"lock"})}),f&&lo(_t,{})]}),lo(It,{placeholder:"Placeholder",value:"Value"}),k&&lo(it,{valid:o,invalid:a,loading:l,disabled:n}),lo(Tt,{loading:l,disabled:n}),h&&lo(St,{loading:l,disabled:n,readonly:d,value:"Value"}),T&&Bi(cd,{children:[f&&lo(_t,{}),lo(Bt,{children:lo(ta,{size:p.size,fillMode:"clear",children:"Send"})})]})]})};ya.options=ib;ya.states=rb;ya.variants=sb;ya.defaultOptions=lb;ya.modifiers=nb;ya.className=He.className;import{jsx as pd,jsxs as pb}from"react/jsx-runtime";var md="k-color-preview",db=[],cb={},Eo=e=>{let{color:t,iconName:o,...a}=e;return pb("span",{...a,className:r(e.className,md,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&pd(u,{icon:o,className:"k-color-preview-icon"}),pd("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Eo.states=db;Eo.options=cb;Eo.className=md;var _i="popup",ud=_i;import{jsx as bd}from"react/jsx-runtime";var fd="k-animation-container",mb=[],ub={},Ki={positionMode:"absolute",shown:!0},io=e=>{let{positionMode:t=Ki.positionMode,shown:o=Ki.shown,animationStyle:a,offset:l,...n}=e;return bd("div",{...n,style:{...l,...e.style},className:r(e.className,fd,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:bd("div",{className:"k-child-animation-container",style:a,children:e.children})})};io.states=mb;io.options=ub;io.className=fd;io.defaultOptions=Ki;io.moduleName=_i;io.folderName=ud;var Di="popup",Td=Di;import{jsx as gd}from"react/jsx-runtime";var hd="k-popup",bb=[],fb={},xd={positionMode:"absolute"},se=e=>{let{offset:t,positionMode:o=xd.positionMode,animationStyle:a,containerClassName:l,containerRole:n,containerAriaLabel:d,...p}=e;return gd(io,{positionMode:o,offset:t,animationStyle:a,className:l,role:n,"aria-label":d,children:gd("div",{...p,className:r(e.className,hd),children:e.children})})};se.states=bb;se.options=fb;se.className=hd;se.defaultOptions=xd;se.moduleName=Di;se.folderName=Td;se.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 zi="action-buttons",Nd=zi;import{jsx as hb}from"react/jsx-runtime";var Cl="k-actions",Tb=[],gb={},Fi={alignment:"start",orientation:"horizontal"},Kt=e=>{let{alignment:t=Fi.alignment,orientation:o=Fi.orientation,...a}=e;return hb("div",{...a,className:r(Cl,{[`${Cl}-${t}`]:t,[`${Cl}-${o}`]:o},e.className),children:e.children})};Kt.states=Tb;Kt.options=gb;Kt.className=Cl;Kt.defaultOptions=Fi;Kt.moduleName=zi;Kt.folderName=Nd;import{jsx as Nb}from"react/jsx-runtime";var xb="k-actionsheet-footer",kd={alignment:"stretched",orientation:"horizontal"},Ro=e=>{let{alignment:t=kd.alignment,orientation:o=kd.orientation,template:a,as:l=a?"div":Kt,...n}=e;return Nb(l,{...n,...!a&&{alignment:t,orientation:o},className:r(e.className,xb),children:e.children})};var Ui="searchbox",vd=Ui;import{jsx as Kr,jsxs as wb}from"react/jsx-runtime";var wd="k-searchbox",kb=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],vb={size:[s.undefined,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},$i={showIcon:!0,icon:"search"},Se=e=>{let{value:t,placeholder:o,size:a,rounded:l,fillMode:n,hover:d,focus:p,valid:b,invalid:T,required:h,loading:k,disabled:f,showIcon:w=$i.showIcon,icon:C=$i.icon,"aria-label":A,...E}=e;return wb(He,{...E,size:a,rounded:l,fillMode:n,hover:d,focus:p,valid:b,invalid:T,required:h,loading:k,disabled:f,className:r(e.className,wd),children:[w&&Kr(u,{className:"k-input-icon",icon:C}),Kr(It,{placeholder:o,value:t,"aria-label":A}),Kr(Tt,{...e}),Kr(it,{...e}),Kr(St,{...e})]})};Se.states=kb;Se.options=vb;Se.className=wd;Se.defaultOptions=$i;Se.moduleName=Ui;Se.folderName=vd;import{jsx as yS}from"react/jsx-runtime";var Vi="textbox",Cd=Vi;import{Fragment as Ld,jsx as Oo,jsxs as Wi}from"react/jsx-runtime";var Md="k-textbox",Cb=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Lb={size:[s.undefined,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Ll={showClearButton:!0,showValidationIcon:!0,separators:!0},ve=e=>{let{size:t,rounded:o,fillMode:a,separators:l=Ll.separators,showClearButton:n=Ll.showClearButton,showValidationIcon:d=Ll.showValidationIcon,prefix:p,suffix:b,type:T,value:h,placeholder:k,hover:f,focus:w,valid:C,invalid:A,required:E,loading:G,disabled:D,readonly:xe,id:le,"aria-label":Ve,"aria-describedby":rt,...lt}=e;return Wi(He,{...lt,size:t,rounded:o,fillMode:a,hover:f,focus:w,valid:C,invalid:A,required:E,loading:G,disabled:D,readonly:xe,className:r(e.className,Md),children:[p&&Wi(Ld,{children:[Oo(Ht,{children:p}),l&&Oo(_t,{})]}),Oo(It,{id:le,placeholder:k,value:h,type:T,disabled:D,"aria-label":Ve,"aria-describedby":rt,"aria-invalid":A?"true":void 0}),d&&Oo(it,{valid:C,invalid:A,loading:G,disabled:D}),Oo(Tt,{loading:G,disabled:D}),n&&Oo(St,{loading:G,disabled:D,readonly:xe,value:h}),b&&Wi(Ld,{children:[l&&Oo(_t,{}),Oo(Bt,{children:b})]})]})};ve.states=Cb;ve.options=Lb;ve.className=Md;ve.defaultOptions=Ll;ve.moduleName=Vi;ve.folderName=Cd;ve.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 Dr=ve;import{jsx as Mb}from"react/jsx-runtime";var yd=e=>Mb(Dr,{...e});import{Fragment as VS,jsx as $S}from"react/jsx-runtime";import{Fragment as QS,jsx as YS}from"react/jsx-runtime";import{jsx as tI}from"react/jsx-runtime";import{jsx as Xi}from"react/jsx-runtime";var yb=ve.states,Sb=ve.defaultOptions,Ib=ve.options,Ab=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Eb=[],Sa=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(l=>{switch(l){case"prefix":a.prefix=t?.[l]?Xi(u,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[l]?Xi(ta,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[l];break;default:break}}),Xi(yd,{value:"Value",style:{width:300},...o,...a})};Sa.options=Ib;Sa.states=yb;Sa.variants=Eb;Sa.defaultOptions=Sb;Sa.modifiers=Ab;Sa.className=ve.className;import{jsx as Go,jsxs as Ji}from"react/jsx-runtime";var Sd="k-actionsheet-titlebar",Rb={},nt=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:l,filter:n,input:d,inputValue:p,inputPlaceholder:b,adaptive:T,titleId:h,children:k,...f}=e;return Ji("div",{...f,className:r(e.className,Sd),children:[Ji("div",{className:"k-actionsheet-titlebar-group",children:[a&&Go("div",{className:"k-actionsheet-actions",children:a}),!k&&Ji("div",{className:"k-actionsheet-title",id:h,children:[t&&Go("div",{className:"k-text-center",children:t}),o&&Go("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),k&&Go("div",{className:"k-actionsheet-title",id:h,children:k}),l&&Go("div",{className:"k-actionsheet-actions",children:l})]}),(d||n)&&Go("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?Go(ve,{value:p,placeholder:b,size:T?"large":"medium","aria-label":t||b||"Input"}):Go(Se,{placeholder:"Filter",size:T?"large":"medium","aria-label":"Filter options"})})]})};nt.className=Sd;nt.defaultOptions=Rb;import{jsx as qi,jsxs as Hb}from"react/jsx-runtime";var Yi="k-actionsheet-view",Ob=[],Gb={},Pb={},Ia=e=>{let{adaptive:t,animated:o,children:a,header:l,footer:n,titleId:d,...p}=e,b=l?.type===nt&&qi(nt,{adaptive:t,titleId:d,...l?.props}),T=n?.type===Ro&&qi(Ro,{...n?.props});return Hb("div",{...p,className:r(e.className,Yi,{[`${Yi}-animated`]:o}),children:[b,qi("div",{className:"k-actionsheet-content",children:a}),T]})};Ia.states=Ob;Ia.options=Gb;Ia.className=Yi;Ia.defaultOptions=Pb;var zr="action-sheet",Ml=zr;var Qi="overlay",Id=Qi;import{jsx as Db}from"react/jsx-runtime";var Ad="k-overlay",Bb=[],_b={},Kb={},Po=e=>{let{...t}=e;return Db("div",{...t,className:r(e.className,Ad),children:e.children})};Po.states=Bb;Po.options=_b;Po.className=Ad;Po.defaultOptions=Kb;Po.moduleName=Qi;Po.folderName=Id;import{jsx as yl,jsxs as Ub}from"react/jsx-runtime";var Ed="k-actionsheet",zb=[],Fb={},Fr={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Oe=e=>{let{side:t=Fr.side,fullscreen:o=Fr.fullscreen,adaptive:a=Fr.adaptive,overlay:l=Fr.overlay,template:n,children:d,header:p,footer:b,id:T,...h}=e,k=T&&!n&&p?`${T}-title`:void 0;return Ub("div",{className:"k-actionsheet-container",children:[l&&yl(Po,{}),yl(io,{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:yl("div",{...h,id:T,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":k,className:r(e.className,Ed,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:n||yl(Ia,{header:p,footer:b,adaptive:a,titleId:k,...e,children:d})})})]})};Oe.states=zb;Oe.options=Fb;Oe.className=Ed;Oe.defaultOptions=Fr;Oe.moduleName=zr;Oe.folderName=Ml;Oe.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};import{jsx as Xb}from"react/jsx-runtime";var Rd="k-actionsheet-container",$b=[],Vb={},Wb={},Aa=e=>{let{children:t,...o}=e;return Xb("div",{...o,className:Rd,children:t})};Aa.states=$b;Aa.options=Vb;Aa.className=Rd;Aa.defaultOptions=Wb;Aa.moduleName=zr;Aa.folderName=Ml;import{jsx as Jb}from"react/jsx-runtime";var Zi=e=>{let{...t}=e;return Jb("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Yb,jsx as Ur,jsxs as ji}from"react/jsx-runtime";var en="k-actionsheet-item",qb=[i.hover,i.focus,i.selected,i.disabled],Ho=e=>{let{iconName:t,text:o,description:a,hover:l,focus:n,selected:d,disabled:p,...b}=e;return ji("span",{...b,className:r(e.className,en,v(en,{hover:l,focus:n,selected:d,disabled:p})),children:[!e.children&&Ur(Yb,{children:ji("span",{className:"k-actionsheet-action",children:[t&&Ur("span",{className:"k-icon-wrap",children:Ur(u,{className:"k-actionsheet-item-icon",icon:t})}),ji("span",{className:"k-actionsheet-item-text",children:[o&&Ur("span",{className:"k-actionsheet-item-title",children:o}),a&&Ur("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Ho.states=qb;Ho.className=en;import{jsx as eA,jsxs as tA}from"react/jsx-runtime";import{jsx as lA}from"react/jsx-runtime";import{jsx as dA}from"react/jsx-runtime";import{jsx as uA}from"react/jsx-runtime";import{jsx as We,jsxs as tn}from"react/jsx-runtime";var Qb=Oe.options,Zb=Oe.states,Gd={...Oe.defaultOptions,variant:"normal"},jb=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ef=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Ea=e=>{let{variant:t,modifiers:o,...a}={...Gd,...e},l={},n=tn(Zi,{children:[We(Ho,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),We(Ho,{text:"Add to Favorites",iconName:"heart"}),We(Ho,{text:"Upload New",iconName:"upload",disabled:!0}),We("hr",{className:"k-hr"}),We(Ho,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",p="Select Item";return t==="fullScreen"&&(l.fullScreen=!0),Object.keys(o||{}).forEach(b=>{switch(b){case"actions":l.actionsStart=!!o?.[b],l.actionsEnd=!!o?.[b];break;case"subtitle":l.subtitle=o?.[b]?d:void 0;break;case"footer":l.footer=!!o?.[b];break;default:break}}),t==="adaptive"?We(Oe,{...a,adaptive:!0,fullscreen:l.fullScreen,header:We(nt,{actionsStart:l.actionsStart?We(c,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?We(c,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:p,subtitle:l.subtitle}),footer:l.footer?tn(Ro,{alignment:"stretched",children:[We(c,{text:"Cancel",size:"large",themeColor:"base"}),We(c,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:n}):We(Oe,{...a,fullscreen:l.fullScreen,header:We(nt,{actionsStart:l.actionsStart?We(c,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?We(c,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:l.subtitle}),footer:l.footer?tn(Ro,{alignment:"stretched",children:[We(c,{text:"Apply",themeColor:"primary"}),We(c,{text:"Cancel",themeColor:"base"})]}):void 0,children:n})};Ea.options=Qb;Ea.states=Zb;Ea.variants=jb;Ea.defaultOptions=Gd;Ea.modifiers=ef;Ea.className=Oe.className;var on="slider",Pd=on;import{jsx as Ra,jsxs as an}from"react/jsx-runtime";var $r="k-slider",tf=[i.hover,i.focus,i.active,i.disabled,i.readonly],of={},Dt={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},Le=e=>{let{type:t=Dt.type,orientation:o=Dt.orientation,gradientType:a=Dt.gradientType,readonly:l=Dt.readonly,disabled:n=Dt.disabled,handlePosition:d=Dt.handlePosition,showButtons:p=Dt.showButtons,showTicks:b=Dt.showTicks,value:T=Dt.value,min:h=Dt.min,max:k=Dt.max,startValue:f,endValue:w,hover:C,focus:A,active:E,trackStyle:G,dir:D,...xe}=e,Ve=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),rt,lt;return o==="horizontal"?(rt=D==="rtl"?"chevron-left":"chevron-right",lt=D==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(rt="chevron-up",lt="chevron-down"),an("div",{...xe,className:r($r,e.className,v($r,{readonly:l,disabled:n}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:D,children:[p&&Ra(c,{className:"k-button-decrease",rounded:"full",icon:lt,tabIndex:-1,title:"Decrease"}),an("div",{className:"k-slider-track-wrap",children:[b&&Ra("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),an("div",{className:"k-slider-track",style:G,children:[Ra("div",{className:"k-slider-selection"}),t==="range"&&Ra("span",{className:r("k-draghandle","k-draghandle-start",v($r,{hover:C,focus:A,active:E})),role:"slider",tabIndex:n?void 0:0,"aria-valuenow":f??h,"aria-valuemin":h,"aria-valuemax":w??k,"aria-orientation":Ve,"aria-disabled":n?"true":void 0,"aria-readonly":l?"true":void 0,"aria-label":xe["aria-label"]?`${xe["aria-label"]} start`:"Range start"}),Ra("span",{className:r("k-draghandle",`k-draghandle-${d}`,v($r,{hover:C,focus:A,active:E})),role:"slider",tabIndex:n?void 0:0,"aria-valuenow":t==="range"?w??k:T,"aria-valuemin":t==="range"?f??h:h,"aria-valuemax":k,"aria-orientation":Ve,"aria-disabled":n?"true":void 0,"aria-readonly":l?"true":void 0,"aria-label":t==="range"?xe["aria-label"]?`${xe["aria-label"]} end`:"Range end":xe["aria-label"]})]})]}),p&&Ra(c,{className:"k-button-increase",rounded:"full",icon:rt,tabIndex:-1,title:"Increase"})]})};Le.states=tf;Le.options=of;Le.className=$r;Le.defaultOptions=Dt;Le.moduleName=on;Le.folderName=Pd;Le.ariaSpec={selector:".k-slider",rules:[{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"role=slider",usage:"Sets the proper role for Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-label or aria-labelledby or title",usage:"The Slider needs an accessible name to be assigned to it."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the Slider is in a form and announces the invalid state."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuenow",usage:"Specifies the currently selected value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemin",usage:"Specifies the minimum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemax",usage:"Specifies the maximum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuetext (when has text alternative)",usage:"Specifies a human-readable text alternative to the numeric value. Provided by consuming applications."},{selector:".k-slider:not(.k-disabled) .k-draghandle:not(.k-hsv-draghandle)",attribute:"tabindex=0",usage:"The element must be focusable. Disabled sliders are removed from tab order."},{selector:".k-slider-vertical .k-draghandle",attribute:"aria-orientation=vertical (when vertical)",usage:"Present only when slider is vertical."},{selector:".k-slider.k-disabled .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-disabled=true",usage:"Rendered only when the Slider is disabled."},{selector:".k-slider.k-readonly .k-draghandle",attribute:"aria-readonly=true (when readonly)",usage:"Rendered only when the Slider is readonly. Readonly sliders remain focusable but their value cannot be changed."},{selector:".k-slider .k-button",attribute:"tabindex=-1",usage:"Excludes the buttons from the natural tab order. Keyboard users use arrow keys on the drag handle."},{selector:".k-slider .k-button",attribute:"title",usage:'Provides a tooltip describing the button action (e.g., "Decrease" or "Increase").'},{selector:".k-slider .k-slider-items",attribute:"aria-hidden=true",usage:"Hides the tick list from assistive technologies. Tick values are redundant with the drag handle value attributes."},{selector:".k-slider .k-tick",attribute:"role=presentation",usage:"Removes semantic meaning from individual tick elements. Ticks are visual-only markers."},{selector:".k-slider .k-tick",attribute:"title",usage:"Represents the value associated with the respective tick."}]};import{jsx as Hd}from"react/jsx-runtime";var Bd="k-tick",af=[],rf={},_d={label:!1},_=e=>{let{style:t,label:o=_d.label,orientation:a,large:l,text:n,...d}=e;return Hd("li",{...d,role:"presentation",title:n||"Tick",className:r(e.className,Bd,{[`k-tick-${a}`]:a,"k-tick-large":l}),style:t,children:o&&Hd("span",{className:"k-label",children:n})})};_.states=af;_.options=rf;_.className=Bd;_.defaultOptions=_d;import{Fragment as lf,jsx as zt,jsxs as nf}from"react/jsx-runtime";var Kd=e=>zt(Le,{"aria-label":e["aria-label"]||"Slider",children:nf(lf,{children:[zt(_,{className:"k-first",label:!0,large:!0,text:"0"}),zt(_,{}),zt(_,{}),zt(_,{}),zt(_,{}),zt(_,{label:!0,large:!0,text:"5"}),zt(_,{}),zt(_,{}),zt(_,{}),zt(_,{}),zt(_,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as sf,jsx as Ft,jsxs as df}from"react/jsx-runtime";var Dd=e=>Ft(Le,{children:df(sf,{children:[Ft(_,{className:"k-first",label:!0,large:!0,text:"0"}),Ft(_,{}),Ft(_,{}),Ft(_,{}),Ft(_,{}),Ft(_,{label:!0,large:!0,text:"5"}),Ft(_,{}),Ft(_,{}),Ft(_,{}),Ft(_,{}),Ft(_,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as tE,jsx as eE,jsxs as oE}from"react/jsx-runtime";import{Fragment as nE,jsx as iE,jsxs as sE}from"react/jsx-runtime";import{jsx as cf}from"react/jsx-runtime";var rn=e=>cf(Le,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as pf}from"react/jsx-runtime";var ln=e=>pf(Le,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as xE,jsx as hE,jsxs as NE}from"react/jsx-runtime";import{Fragment as LE,jsx as CE,jsxs as ME}from"react/jsx-runtime";import{jsx as no,jsxs as zd}from"react/jsx-runtime";var mf=Le.options,uf=Le.states,Fd={...Le.defaultOptions,variant:"horizontal",label:!0},bf=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],ff=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Oa=e=>{let{variant:t,modifiers:o,...a}=e,l=Fd.label,n={};Object.keys(o||{}).forEach(p=>{switch(p){case"button":{n.showButtons=!!o?.[p];break}case"label":{l=!!o?.[p];break}case"tick":{n.showTicks=!!o?.[p];break}}});let d={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?zd(Dd,{style:{height:"300px",...d},...a,...n,children:[no(_,{label:l,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),no(_,{label:l,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),no(_,{label:l,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),no(_,{label:l,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),no(_,{label:l,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):zd(Kd,{style:{width:"400px",...d},...a,...n,children:[no(_,{label:l,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),no(_,{label:l,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),no(_,{label:l,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),no(_,{label:l,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),no(_,{label:l,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Oa.options=mf;Oa.states=uf;Oa.variants=bf;Oa.defaultOptions=Fd;Oa.modifiers=ff;Oa.className=Le.className;import{jsx as Ud,jsxs as Nf}from"react/jsx-runtime";var $d="k-spin-button",hf=[],xf={size:[s.undefined,s.small,s.medium,s.large],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link]},nn={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Bo=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:l=nn.increaseLabel,decreaseLabel:n=nn.decreaseLabel,...d}=e;return Nf("span",{...d,className:r($d,e.className),children:[Ud(c,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":l}),Ud(c,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":n})]})};Bo.states=hf;Bo.options=xf;Bo.className=$d;Bo.defaultOptions=nn;Bo.moduleName=null;Bo.folderName=null;var Vd="numeric-textbox",Wd="numerictextbox";import{Fragment as Xd,jsx as To,jsxs as sn}from"react/jsx-runtime";var Jd="k-numerictextbox",kf=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],vf={size:[s.undefined,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Sl={showSpinButton:!0,showClearButton:!0,separators:!0},j=e=>{let{size:t,rounded:o,fillMode:a,separators:l=Sl.separators,showClearButton:n=Sl.showClearButton,showSpinButton:d=Sl.showSpinButton,prefix:p,suffix:b,value:T,placeholder:h,hover:k,focus:f,valid:w,invalid:C,required:A,loading:E,disabled:G,readonly:D,id:xe,"aria-label":le,"aria-describedby":Ve,...rt}=e;return sn(He,{...rt,size:t,rounded:o,fillMode:a,hover:k,focus:f,valid:w,invalid:C,required:A,loading:E,disabled:G,readonly:D,className:r(e.className,Jd),children:[p&&sn(Xd,{children:[To(Ht,{children:p}),l&&To(_t,{})]}),To(It,{id:xe,placeholder:h,value:T,role:"spinbutton",disabled:G,"aria-label":le,"aria-describedby":Ve,"aria-invalid":C?"true":void 0}),To(it,{valid:w,invalid:C,loading:E,disabled:G}),To(Tt,{loading:E,disabled:G}),n&&To(St,{loading:E,disabled:G,readonly:D,value:T}),b&&sn(Xd,{children:[l&&To(_t,{}),To(Bt,{children:b})]}),d&&To(Bo,{className:"k-input-spinner",size:t,fillMode:a,disabled:G})]})};j.states=kf;j.options=vf;j.className=Jd;j.defaultOptions=Sl;j.moduleName=Vd;j.folderName=Wd;j.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 Vr=j;import{jsx as wf}from"react/jsx-runtime";var qd=e=>wf(Vr,{...e});import cn from"react";import{jsx as Yd}from"react/jsx-runtime";var Cf="k-list-group-sticky-header",dn=e=>Yd("div",{className:r(Cf,e.className),children:Yd("div",{className:"k-list-header-text",children:e.children})});import{jsx as Mf}from"react/jsx-runtime";var Lf="k-no-data",Wr=e=>{let{live:t,...o}=e;return Mf("span",{...o,className:r(Lf,e.className),"aria-live":t?"polite":void 0,children:e.children})};var aa="list",Ga=aa;import{jsx as Qd,jsxs as Zd}from"react/jsx-runtime";var pn="k-list",yf=[],Sf={size:[s.undefined,s.small,s.medium,s.large]},If={},ae=e=>{let{size:t,virtualization:o,children:a,header:l,selectAll:n,optionLabel:d,customValue:p,noData:b,screenReaders:T,...h}=e,f=cn.Children.toArray(a)[0],w=f?.props?.children?cn.Children.count(f.props.children):cn.Children.count(a);return Zd("div",{...h,className:r(e.className,pn,L(pn,{size:t}),{"k-virtual-list":o}),children:[d,n,p,l&&Qd(dn,{children:l}),a||(b!==void 0?b:Qd(Wr,{live:!0,children:"No data found."})),T&&a&&Zd(Wr,{className:"k-sr-only",live:!0,children:[w," items found."]})]})};ae.states=yf;ae.options=Sf;ae.className=pn;ae.defaultOptions=If;ae.moduleName=aa;ae.folderName=Ga;ae.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};import{jsx as Of}from"react/jsx-runtime";var jd="k-list-container",Af=[],Ef={},Rf={},Pa=e=>{let{...t}=e;return Of("div",{...t,className:r(e.className,jd),children:e.children})};Pa.states=Af;Pa.options=Ef;Pa.className=jd;Pa.defaultOptions=Rf;Pa.moduleName=aa;Pa.folderName=Ga;var ra="checkbox",Ha=ra;import{jsx as ec}from"react/jsx-runtime";var Il="k-checkbox",Gf=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],Pf={size:[s.undefined,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full]},Hf={},we=e=>{let{id:t,checked:o,indeterminate:a,hover:l,focus:n,disabled:d,invalid:p,valid:b,required:T,size:h,rounded:k,wrapperRole:f,...w}=e;return ec("span",{className:"k-checkbox-wrap",role:f,children:ec("input",{...w,id:t,type:"checkbox",defaultChecked:o,required:T,disabled:d||void 0,"aria-invalid":p?"true":void 0,className:r(e.className,Il,L(Il,{size:h,rounded:k}),v(Il,{hover:l,focus:n,disabled:d,invalid:p,valid:b,indeterminate:a,checked:o}))})})};we.states=Gf;we.options=Pf;we.className=Il;we.defaultOptions=Hf;we.moduleName=ra;we.folderName=Ha;we.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 Zt=we;import{jsx as Kf}from"react/jsx-runtime";var tc="k-checkbox-list",Bf=[],_f={},oc={layout:"vertical"},st=e=>{let{layout:t=oc.layout,...o}=e;return Kf("ul",{...o,className:r(e.className,tc,{[`k-list-${t}`]:t}),children:e.children})};st.states=Bf;st.options=_f;st.className=tc;st.defaultOptions=oc;st.moduleName=ra;st.folderName=Ha;import{jsx as Uf}from"react/jsx-runtime";var ac="k-checkbox-list-item",Df=[],zf={},Ff={},dt=e=>{let{...t}=e;return Uf("li",{...t,className:r(e.className,ac),children:e.children})};dt.states=Df;dt.options=zf;dt.className=ac;dt.defaultOptions=Ff;dt.moduleName=ra;dt.folderName=Ha;import{Fragment as $f,jsx as rc,jsxs as Vf}from"react/jsx-runtime";var go=({children:e="Label",id:t="cb-label-after",...o})=>Vf($f,{children:[rc(Zt,{id:t,...o}),rc("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as YR,jsx as qR,jsxs as QR}from"react/jsx-runtime";import{Fragment as oO,jsx as tO,jsxs as aO}from"react/jsx-runtime";import{Fragment as sO,jsx as nO,jsxs as dO}from"react/jsx-runtime";import{jsx as uO}from"react/jsx-runtime";import{jsx as gO}from"react/jsx-runtime";import{jsx as kO}from"react/jsx-runtime";import{jsx as Ut,jsxs as lc}from"react/jsx-runtime";var Wf=st.options,Xf=st.states,Jf={...st.defaultOptions,variant:"vertical"},qf=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Yf=[],Ba=e=>{let{variant:t,...o}=e;return t==="horizontal"?lc(st,{layout:"horizontal",...o,children:[Ut(dt,{children:Ut(go,{id:z("cb"),defaultChecked:!0,children:"Label"})}),Ut(dt,{children:Ut(go,{id:z("cb"),children:"Label"})}),Ut(dt,{children:Ut(go,{id:z("cb"),children:"Label"})})]}):lc(st,{...o,children:[Ut(dt,{children:Ut(go,{id:z("cb"),defaultChecked:!0,children:"Label"})}),Ut(dt,{children:Ut(go,{id:z("cb"),children:"Label"})}),Ut(dt,{children:Ut(go,{id:z("cb"),children:"Label"})})]})};Ba.options=Wf;Ba.states=Xf;Ba.variants=qf;Ba.defaultOptions=Jf;Ba.modifiers=Yf;Ba.className=st.className;import{jsx as oT}from"react/jsx-runtime";var Qf=Zt.options,Zf=Zt.states,jf=Zt.defaultOptions,eT=[],tT=[],_a=e=>oT(go,{id:z("checkbox"),...e,defaultChecked:!0,children:"Label"});_a.options=Qf;_a.states=Zf;_a.variants=eT;_a.defaultOptions=jf;_a.modifiers=tT;_a.className=Zt.className;import{jsx as la,jsxs as iT}from"react/jsx-runtime";var mn="k-list-item",aT=[i.hover,i.focus,i.selected,i.disabled],rT={},lT={},q=e=>{let{text:t,groupLabel:o,group:a,iconName:l,iconClassName:n,showCheckbox:d,checked:p,hover:b,focus:T,selected:h,disabled:k,actions:f,description:w,id:C,...A}=e,E=t||e.children;return iT("li",{...A,id:C,role:a?"presentation":"option",tabIndex:a?void 0:T?0:-1,"aria-selected":!a&&h?"true":a?void 0:"false","aria-disabled":!a&&k?"true":void 0,className:r(e.className,a?"k-list-group-item":mn,v(mn,{hover:b,focus:T,disabled:k,selected:h})),children:[d&&la(we,{checked:p}),l&&la("span",{className:"k-list-item-icon-wrapper",children:la(u,{icon:l,className:r("k-list-item-icon",n)})}),la("span",{className:"k-list-item-text",children:E}),f&&la("div",{className:"k-list-item-actions",children:f}),w&&la("span",{className:"k-list-item-description",children:w}),o&&o!==""&&la("div",{className:"k-list-item-group-label",children:o})]})};q.states=aT;q.options=rT;q.className=mn;q.defaultOptions=lT;q.moduleName=aa;q.folderName=Ga;q.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 technol