@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 164 kB
JavaScript
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 y=(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"}),C=(e,t)=>{let{valid:o,invalid:a,hover:r,focus:s,checked:c,active:p,selected:b,disabled:x,indeterminate:h,loading:k,empty:m,readonly:v,highlighted:N,...g}=t;return n({"k-valid":o,"k-invalid":a,"k-hover":r,"k-focus":s,"k-checked":c,"k-active":p,"k-selected":b,"k-disabled":x,"k-indeterminate":h&&!c,"k-loading":k,"k-empty":m,"k-readonly":v,"k-highlighted":N},Object.keys(g).reduce((S,T)=>(T.startsWith("k-")?S[T]=g[T]:S[`k-${T}`]=g[T],S),{}))};function Ei(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},f={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},ft={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},L={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"},Oi={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var Dr={};function I(e){return Dr[e]=(Dr[e]||0)+1,`k-${e}-${Dr[e]}`}var _r="action-buttons",Bi=_r;import{jsx as Zd}from"react/jsx-runtime";var Qa="k-actions",Yd=[],Qd={},Hr={alignment:"start",orientation:"horizontal"},j=e=>{let{alignment:t=Hr.alignment,orientation:o=Hr.orientation,...a}=e;return Zd("div",{...a,className:n(Qa,{[`${Qa}-${t}`]:t,[`${Qa}-${o}`]:o},e.className),children:e.children})};j.states=Yd;j.options=Qd;j.className=Qa;j.defaultOptions=Hr;j.moduleName=_r;j.folderName=Bi;import{Fragment as oc,jsx as wi}from"react/jsx-runtime";var zr="k-font-icon",jd=[],ec={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info]},tc={},La=e=>{let{size:t,themeColor:o,icon:a,rotate:r,flip:s,...c}=e;return a?wi("span",{...c,className:n(e.className,zr,y(zr,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):wi(oc,{})};La.states=jd;La.options=ec;La.className=zr;La.defaultOptions=tc;var Ri=La;import{Fragment as nc,jsx as Za}from"react/jsx-runtime";var Fr="k-svg-icon",ac=[],rc={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[ft.outline,ft.solid,ft.duotone]},Ur={viewBox:"0 0 24 24",variant:ft.outline},ga=e=>{let{size:t,themeColor:o,rotate:a,flip:r,viewBox:s=Ur.viewBox,variant:c=Ur.variant,icon:p,...b}=e;if(!p)return Za(nc,{});if(p==="none")return Za("span",{...b,className:n(e.className,Fr,y("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof p=="object"&&p.name&&p.name,h=typeof p=="object"?c&&p.variants?.[c]||p.variants?.outline||p.content:void 0;return Za("span",{...b,className:n(e.className,Fr,y("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true",children:Za("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof p=="object"?p.viewBox:s,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:p?void 0:e.children})})};ga.states=ac;ga.options=rc;ga.className=Fr;ga.defaultOptions=Ur;var Gr=ga;import*as Vr from"@progress/kendo-svg-icons";var Ki="icon",Pi="icons";import{useContext as sc}from"react";import{createContext as ic}from"react";var Di=ic({iconsType:"svg"});import{Fragment as _i,jsx as Ma}from"react/jsx-runtime";var ja="k-icon",lc=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),dc=[],cc={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[ft.outline,ft.solid,ft.duotone]},er={viewBox:"0 0 24 24",type:"svg",variant:ft.outline},M=e=>{let{iconsType:t}=sc(Di),{size:o,themeColor:a,icon:r,type:s=t||er.type,rotate:c,flip:p,viewBox:b=er.viewBox,variant:x=er.variant,...h}=e;if(!r)return Ma(_i,{});if((t||s)==="svg"){if(r==="none")return Ma(Gr,{...h,className:n(e.className,ja),icon:r,size:o,variant:x});let m=Vr[r]?r:lc(`${r}-icon`);return Vr[m]?Ma(Gr,{...h,className:n(e.className,ja),icon:Vr[m],size:o,themeColor:a,rotate:c,flip:p,viewBox:b,variant:x}):Ma(_i,{})}return Ma(Ri,{...h,className:n(e.className,ja),icon:r,size:o,themeColor:a,rotate:c,flip:p})};M.states=dc;M.options=cc;M.defaultOptions=er;M.className=ja;M.moduleName=Ki;M.folderName=Pi;M.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 $r="button",Hi=$r;import{Fragment as zi,jsx as ho,jsxs as Fi}from"react/jsx-runtime";var Ca="k-button",pc=["icon-button"],mc=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],uc={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},Xr={showArrow:!1,arrowIconName:"chevron-down"},l=e=>{let{as:t="button",size:o,rounded:a,fillMode:r,themeColor:s,showArrow:c=Xr.showArrow,arrowIconName:p=Xr.arrowIconName,variant:b,hover:x,focus:h,active:k,selected:m,disabled:v,togglable:N,ariaDisabled:g,icon:S,iconSize:T,text:E,iconClassName:F,className:Z,...te}=e,pe=S!=null,me=e.children!==void 0;return Fi(t,{className:n(Z,Ca,Ei(Ca,b),y(Ca,{size:o,rounded:a,fillMode:r,themeColor:s}),C(Ca,{hover:x,focus:h,active:k,disabled:v||g,selected:m}),{"k-icon-button":!E&&!me&&pe}),"aria-pressed":N?m?"true":"false":void 0,...te,"aria-disabled":g?"true":void 0,disabled:v||void 0,children:[typeof S=="string"&&S&&ho(M,{className:n(F,"k-button-icon"),icon:S,size:T}),S&&typeof S!="string"&&ho(zi,{children:S}),E?Fi(zi,{children:[E&&ho("span",{className:"k-button-text",children:E}),e.children]}):e.children&&ho("span",{className:"k-button-text",children:e.children}),c&&ho("span",{className:"k-menu-button-arrow k-button-arrow",children:ho(M,{icon:p})})]})};l.states=mc;l.options=uc;l.variants=pc;l.className=Ca;l.defaultOptions=Xr;l.moduleName=$r;l.folderName=Hi;l.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 fc}from"react/jsx-runtime";var gt=e=>fc(l,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as bc}from"react/jsx-runtime";var Sa=e=>bc(l,{icon:"folder",children:"Button",...e});import{jsx as hc}from"react/jsx-runtime";var Qt=e=>hc(l,{children:"Button",...e});import{jsx as qr}from"react/jsx-runtime";var xc=l.options,kc=l.states,Nc={...l.defaultOptions,variant:"text"},vc=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Lc=[],xo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return qr(gt,{...o,icon:"star"});case"icon-and-text":return qr(Sa,{...o,icon:"star",children:"Button"});default:return qr(Qt,{...o,children:"Button"})}};xo.options=xc;xo.states=kc;xo.variants=vc;xo.defaultOptions=Nc;xo.modifiers=Lc;xo.className=l.className;import{Fragment as Tc,jsx as wt,jsxs as Wr}from"react/jsx-runtime";var Ui="k-taskboard-pane",gc=[],Mc={},Cc=void 0,Sc={header:Cc},ko=e=>{let{header:t,paneHeaderId:o,...a}=e;return Wr("div",{...a,className:n(e.className,Ui,"k-taskboard-edit-pane"),children:[wt("div",{className:"k-taskboard-pane-header",children:t||Wr(Tc,{children:[wt("div",{className:"k-taskboard-pane-header-text",id:o,children:"Card X"}),wt("span",{className:"k-spacer"}),wt("div",{className:"k-taskboard-pane-header-actions",children:wt(l,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"})})]})}),wt("div",{className:"k-taskboard-pane-content",children:e.children}),Wr(j,{alignment:"end",className:"k-taskboard-pane-actions",children:[wt(l,{icon:"trash",children:"Delete"}),wt(l,{themeColor:"primary",icon:"pencil",children:"Edit"})]})]})};ko.states=gc;ko.options=Mc;ko.className=Ui;ko.defaultOptions=Sc;var Jr="button",Gi=Jr;import{jsx as Ec}from"react/jsx-runtime";var Ta="k-button-group",yc=[i.disabled],Ic={fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},Ac={},O=e=>{let{fillMode:t,disabled:o,stretched:a,...r}=e;return Ec("div",{role:"group",...r,className:n(e.className,Ta,y(Ta,{fillMode:t}),C(Ta,{disabled:o}),{[`${Ta}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};O.states=yc;O.options=Ic;O.className=Ta;O.defaultOptions=Ac;O.moduleName=Jr;O.folderName=Gi;O.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 Mv,jsx as gv,jsxs as Cv}from"react/jsx-runtime";import{Fragment as Ev,jsx as Av,jsxs as Ov}from"react/jsx-runtime";import{Fragment as Dv,jsx as Pv,jsxs as _v}from"react/jsx-runtime";import{Fragment as Vv,jsx as Gv,jsxs as $v}from"react/jsx-runtime";import{Fragment as Qv,jsx as Yv,jsxs as Zv}from"react/jsx-runtime";import{Fragment as rL,jsx as aL,jsxs as nL}from"react/jsx-runtime";import{jsx as Mt,jsxs as Yr}from"react/jsx-runtime";var Oc={...l.options,...O.options},Bc=l.states,wc={...l.defaultOptions,...O.defaultOptions,variant:"text-button"},Rc=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Kc=[],No=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?Yr(O,{fillMode:a.fillMode,className:o,children:[Mt(l,{...a,icon:"star"}),Mt(l,{...a,icon:"star"}),Mt(l,{...a,icon:"star"})]}):t==="icon-text-button"?Yr(O,{fillMode:a.fillMode,className:o,children:[Mt(l,{...a,icon:"star",children:"First"}),Mt(l,{...a,icon:"star",children:"Middle"}),Mt(l,{...a,icon:"star",children:"Last"})]}):Yr(O,{fillMode:a.fillMode,className:o,children:[Mt(l,{...a,children:"First"}),Mt(l,{...a,children:"Middle"}),Mt(l,{...a,children:"Last"})]})};No.options=Oc;No.states=Bc;No.variants=Rc;No.defaultOptions=wc;No.modifiers=Kc;No.className=O.className;var ya="input",tr=ya;import{jsx as Hc}from"react/jsx-runtime";var or="k-input",Pc=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Dc={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},_c={},U=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:c,readonly:p,size:b,rounded:x,fillMode:h,...k}=e;return Hc("span",{...k,className:n(e.className,or,y(or,{size:b,rounded:x,fillMode:h}),C(or,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:c,readonly:p}))})};U.states=Pc;U.options=Dc;U.className=or;U.defaultOptions=_c;U.moduleName=ya;U.folderName=tr;import{jsx as Gc}from"react/jsx-runtime";var ar="k-picker",zc=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Fc={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Uc={},bt=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:c,readonly:p,size:b,rounded:x,fillMode:h,...k}=e;return Gc("span",{...k,className:n(e.className,ar,y(ar,{size:b,rounded:x,fillMode:h}),C(ar,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:c,readonly:p})),children:e.children})};bt.states=zc;bt.options=Fc;bt.className=ar;bt.defaultOptions=Uc;bt.moduleName=ya;bt.folderName=tr;import{Fragment as Xc,jsx as Qr}from"react/jsx-runtime";var Vi="k-clear-value",Vc=[i.disabled,i.loading,i.readonly],$c={},ue=e=>{let{disabled:t,loading:o,readonly:a,value:r}=e;return t||a||o||!r?Qr(Xc,{}):Qr("span",{className:n(e.className,Vi),children:Qr(M,{icon:"x"})})};ue.states=Vc;ue.options=$c;ue.className=Vi;import{jsx as Jc}from"react/jsx-runtime";var Zr="k-input-inner",qc=[],Wc={},rr={type:"text",autocomplete:"off",value:"",placeholder:""},fe=e=>{let{value:t=rr.value,type:o=rr.type,placeholder:a=rr.placeholder,autocomplete:r=rr.autocomplete,disabled:s,readOnly:c,...p}=e;return Jc("input",{...p,type:o,className:n(e.className,Zr,y(Zr,e)),placeholder:a,autoComplete:r,defaultValue:t,disabled:s||void 0,readOnly:c||void 0})};fe.states=qc;fe.options=Wc;fe.className=Zr;import{jsx as $i,jsxs as Zc}from"react/jsx-runtime";var jr="k-input-inner",Yc=[],Qc={},Zt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:r,valueIconName:s,...c}=e;return Zc("span",{...c,className:n(e.className,jr,y(jr,e)),children:[r,!r&&s&&$i(M,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&$i("span",{className:"k-input-value-text",children:t})]})};Zt.states=Yc;Zt.options=Qc;Zt.className=jr;import{jsx as tp}from"react/jsx-runtime";var en="k-input-inner",jc=[],ep={},Xi={value:"",placeholder:""},Ia=e=>{let{value:t=Xi.value,placeholder:o=Xi.placeholder,rows:a,disabled:r,...s}=e;return tp("textarea",{...s,className:n(e.className,en,y(en,e)),placeholder:o,rows:a,defaultValue:t,disabled:r||void 0})};Ia.states=jc;Ia.options=ep;Ia.className=en;import{Fragment as ap,jsx as qi}from"react/jsx-runtime";var Wi="k-input-loading-icon",op=[i.disabled,i.loading],ne=e=>{let{disabled:t,loading:o}=e;return t||!o?qi(ap,{}):qi("span",{className:n(e.className,Wi,"k-icon k-i-loading")})};ne.states=op;ne.className=Wi;import{Fragment as ip,jsx as Ji}from"react/jsx-runtime";var Yi="k-input-validation-icon",rp=[i.valid,i.invalid,i.disabled,i.loading],np={},oe=e=>{let{valid:t,invalid:o,disabled:a,loading:r}=e,s=o?"warning-circle":"check-circle";return a||r||!!!(t||o)?Ji(ip,{}):Ji(M,{className:n(Yi),icon:s})};oe.states=rp;oe.options=np;oe.className=Yi;import{Fragment as dp,jsx as Qi}from"react/jsx-runtime";var sp="k-input-prefix",lp={direction:"horizontal"},Ne=e=>{let{direction:t=lp.direction,...o}=e;return e.children?Qi("span",{...o,className:n(sp,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Qi(dp,{})};import{Fragment as mp,jsx as Zi}from"react/jsx-runtime";var cp="k-input-suffix",pp={direction:"horizontal"},ve=e=>{let{direction:t=pp.direction,...o}=e;return e.children?Zi("span",{...o,className:n(cp,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Zi(mp,{})};import{jsx as ng}from"react/jsx-runtime";import{jsx as fp}from"react/jsx-runtime";var up="k-input-suffix-text",tn=e=>{let{children:t,...o}=e;return fp("span",{...o,className:n(up,e.className),children:t})};import{jsx as hp}from"react/jsx-runtime";var ji="k-input-separator",bp={direction:"vertical"},ie=e=>{let{direction:t=bp.direction,...o}=e;return hp("span",{...o,className:n(ji,e.className,{[`${ji}-${t}`]:t})})};import{Fragment as es,jsx as ht,jsxs as on}from"react/jsx-runtime";var xp=U.states,kp=U.defaultOptions,Np=U.options,vp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Lp=[],vo=e=>{let{modifiers:t,valid:o,invalid:a,loading:r,disabled:s,readonly:c,...p}=e,b=t?.prefix,x=t?.suffix,h=t?.["clear-button"],k=t?.["validation-icon"],m=t?.separators;return on(U,{...p,valid:o,invalid:a,loading:r,disabled:s,readonly:c,style:{width:300},children:[b&&on(es,{children:[ht(Ne,{children:ht(M,{icon:"lock"})}),m&&ht(ie,{})]}),ht(fe,{placeholder:"Placeholder",value:"Value"}),k&&ht(oe,{valid:o,invalid:a,loading:r,disabled:s}),ht(ne,{loading:r,disabled:s}),h&&ht(ue,{loading:r,disabled:s,readonly:c,value:"Value"}),x&&on(es,{children:[m&&ht(ie,{}),ht(ve,{children:ht(Qt,{size:p.size,fillMode:"clear",children:"Send"})})]})]})};vo.options=Np;vo.states=xp;vo.variants=Lp;vo.defaultOptions=kp;vo.modifiers=vp;vo.className=U.className;import{jsx as ts,jsxs as Cp}from"react/jsx-runtime";var os="k-color-preview",gp=[],Mp={},Rt=e=>{let{color:t,iconName:o,...a}=e;return Cp("span",{...a,className:n(e.className,os,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&ts(M,{icon:o,className:"k-color-preview-icon"}),ts("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Rt.states=gp;Rt.options=Mp;Rt.className=os;var an="popup",as=an;import{jsx as rs}from"react/jsx-runtime";var ns="k-animation-container",Sp=[],Tp={},rn={positionMode:"absolute",shown:!0},xt=e=>{let{positionMode:t=rn.positionMode,shown:o=rn.shown,animationStyle:a,offset:r,...s}=e;return rs("div",{...s,style:{...r,...e.style},className:n(e.className,ns,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:rs("div",{className:"k-child-animation-container",style:a,children:e.children})})};xt.states=Sp;xt.options=Tp;xt.className=ns;xt.defaultOptions=rn;xt.moduleName=an;xt.folderName=as;var nn="popup",is=nn;import{jsx as ss}from"react/jsx-runtime";var ls="k-popup",yp=[],Ip={},ds={positionMode:"absolute"},q=e=>{let{offset:t,positionMode:o=ds.positionMode,animationStyle:a,containerClassName:r,containerRole:s,containerAriaLabel:c,...p}=e;return ss(xt,{positionMode:o,offset:t,animationStyle:a,className:r,role:s,"aria-label":c,children:ss("div",{...p,className:n(e.className,ls),children:e.children})})};q.states=yp;q.options=Ip;q.className=ls;q.defaultOptions=ds;q.moduleName=nn;q.folderName=is;q.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.'}]};import{jsx as Ep}from"react/jsx-runtime";var Ap="k-actionsheet-footer",cs={alignment:"stretched",orientation:"horizontal"},Kt=e=>{let{alignment:t=cs.alignment,orientation:o=cs.orientation,template:a,as:r=a?"div":j,...s}=e;return Ep(r,{...s,...!a&&{alignment:t,orientation:o},className:n(e.className,Ap),children:e.children})};var sn="searchbox",ps=sn;import{jsx as Aa,jsxs as wp}from"react/jsx-runtime";var ms="k-searchbox",Op=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Bp={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},ln={showIcon:!0,icon:"search"},He=e=>{let{value:t,placeholder:o,size:a,rounded:r,fillMode:s,hover:c,focus:p,valid:b,invalid:x,required:h,loading:k,disabled:m,showIcon:v=ln.showIcon,icon:N=ln.icon,"aria-label":g,...S}=e;return wp(U,{...S,size:a,rounded:r,fillMode:s,hover:c,focus:p,valid:b,invalid:x,required:h,loading:k,disabled:m,className:n(e.className,ms),children:[v&&Aa(M,{className:"k-input-icon",icon:N}),Aa(fe,{placeholder:o,value:t,"aria-label":g}),Aa(ne,{...e}),Aa(oe,{...e}),Aa(ue,{...e})]})};He.states=Op;He.options=Bp;He.className=ms;He.defaultOptions=ln;He.moduleName=sn;He.folderName=ps;import{jsx as MM}from"react/jsx-runtime";var dn="textbox",us=dn;import{Fragment as fs,jsx as Pt,jsxs as cn}from"react/jsx-runtime";var bs="k-textbox",Rp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Kp={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},nr={showClearButton:!0,showValidationIcon:!0,separators:!0},_=e=>{let{size:t,rounded:o,fillMode:a,separators:r=nr.separators,showClearButton:s=nr.showClearButton,showValidationIcon:c=nr.showValidationIcon,prefix:p,suffix:b,type:x,value:h,placeholder:k,hover:m,focus:v,valid:N,invalid:g,required:S,loading:T,disabled:E,readonly:F,id:Z,"aria-label":te,"aria-describedby":pe,...me}=e;return cn(U,{...me,size:t,rounded:o,fillMode:a,hover:m,focus:v,valid:N,invalid:g,required:S,loading:T,disabled:E,readonly:F,className:n(e.className,bs),children:[p&&cn(fs,{children:[Pt(Ne,{children:p}),r&&Pt(ie,{})]}),Pt(fe,{id:Z,placeholder:k,value:h,type:x,disabled:E,"aria-label":te,"aria-describedby":pe,"aria-invalid":g?"true":void 0}),c&&Pt(oe,{valid:N,invalid:g,loading:T,disabled:E}),Pt(ne,{loading:T,disabled:E}),s&&Pt(ue,{loading:T,disabled:E,readonly:F,value:h}),b&&cn(fs,{children:[r&&Pt(ie,{}),Pt(ve,{children:b})]})]})};_.states=Rp;_.options=Kp;_.className=bs;_.defaultOptions=nr;_.moduleName=dn;_.folderName=us;_.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 Ea=_;import{jsx as Pp}from"react/jsx-runtime";var hs=e=>Pp(Ea,{...e});import{Fragment as FM,jsx as zM}from"react/jsx-runtime";import{Fragment as qM,jsx as XM}from"react/jsx-runtime";import{jsx as QM}from"react/jsx-runtime";import{jsx as pn}from"react/jsx-runtime";var Dp=_.states,_p=_.defaultOptions,Hp=_.options,zp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Fp=[],Lo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t?.[r]?pn(M,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[r]?pn(Qt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[r];break;default:break}}),pn(hs,{value:"Value",style:{width:300},...o,...a})};Lo.options=Hp;Lo.states=Dp;Lo.variants=Fp;Lo.defaultOptions=_p;Lo.modifiers=zp;Lo.className=_.className;import{jsx as Dt,jsxs as mn}from"react/jsx-runtime";var xs="k-actionsheet-titlebar",Up={},Te=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:r,filter:s,input:c,inputValue:p,inputPlaceholder:b,adaptive:x,titleId:h,children:k,...m}=e;return mn("div",{...m,className:n(e.className,xs),children:[mn("div",{className:"k-actionsheet-titlebar-group",children:[a&&Dt("div",{className:"k-actionsheet-actions",children:a}),!k&&mn("div",{className:"k-actionsheet-title",id:h,children:[t&&Dt("div",{className:"k-text-center",children:t}),o&&Dt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),k&&Dt("div",{className:"k-actionsheet-title",id:h,children:k}),r&&Dt("div",{className:"k-actionsheet-actions",children:r})]}),(c||s)&&Dt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?Dt(_,{value:p,placeholder:b,size:x?"large":"medium","aria-label":t||b||"Input"}):Dt(He,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};Te.className=xs;Te.defaultOptions=Up;import{jsx as un,jsxs as Xp}from"react/jsx-runtime";var fn="k-actionsheet-view",Gp=[],Vp={},$p={},go=e=>{let{adaptive:t,animated:o,children:a,header:r,footer:s,titleId:c,...p}=e,b=r?.type===Te&&un(Te,{adaptive:t,titleId:c,...r?.props}),x=s?.type===Kt&&un(Kt,{...s?.props});return Xp("div",{...p,className:n(e.className,fn,{[`${fn}-animated`]:o}),children:[b,un("div",{className:"k-actionsheet-content",children:a}),x]})};go.states=Gp;go.options=Vp;go.className=fn;go.defaultOptions=$p;var Oa="action-sheet",ir=Oa;var bn="overlay",ks=bn;import{jsx as Yp}from"react/jsx-runtime";var Ns="k-overlay",qp=[],Wp={},Jp={},_t=e=>{let{...t}=e;return Yp("div",{...t,className:n(e.className,Ns),children:e.children})};_t.states=qp;_t.options=Wp;_t.className=Ns;_t.defaultOptions=Jp;_t.moduleName=bn;_t.folderName=ks;import{jsx as sr,jsxs as jp}from"react/jsx-runtime";var vs="k-actionsheet",Qp=[],Zp={},Ba={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},J=e=>{let{side:t=Ba.side,fullscreen:o=Ba.fullscreen,adaptive:a=Ba.adaptive,overlay:r=Ba.overlay,template:s,children:c,header:p,footer:b,id:x,...h}=e,k=x&&!s&&p?`${x}-title`:void 0;return jp("div",{className:"k-actionsheet-container",children:[r&&sr(_t,{}),sr(xt,{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:sr("div",{...h,id:x,role:"dialog","aria-modal":r?"true":void 0,"aria-labelledby":k,className:n(e.className,vs,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||sr(go,{header:p,footer:b,adaptive:a,titleId:k,...e,children:c})})})]})};J.states=Qp;J.options=Zp;J.className=vs;J.defaultOptions=Ba;J.moduleName=Oa;J.folderName=ir;J.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 am}from"react/jsx-runtime";var Ls="k-actionsheet-container",em=[],tm={},om={},Mo=e=>{let{children:t,...o}=e;return am("div",{...o,className:Ls,children:t})};Mo.states=em;Mo.options=tm;Mo.className=Ls;Mo.defaultOptions=om;Mo.moduleName=Oa;Mo.folderName=ir;import{jsx as rm}from"react/jsx-runtime";var hn=e=>{let{...t}=e;return rm("div",{...t,className:n(e.className,"k-list-ul"),children:e.children})};import{Fragment as im,jsx as wa,jsxs as xn}from"react/jsx-runtime";var kn="k-actionsheet-item",nm=[i.hover,i.focus,i.selected,i.disabled],Ht=e=>{let{iconName:t,text:o,description:a,hover:r,focus:s,selected:c,disabled:p,...b}=e;return xn("span",{...b,className:n(e.className,kn,C(kn,{hover:r,focus:s,selected:c,disabled:p})),children:[!e.children&&wa(im,{children:xn("span",{className:"k-actionsheet-action",children:[t&&wa("span",{className:"k-icon-wrap",children:wa(M,{className:"k-actionsheet-item-icon",icon:t})}),xn("span",{className:"k-actionsheet-item-text",children:[o&&wa("span",{className:"k-actionsheet-item-title",children:o}),a&&wa("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Ht.states=nm;Ht.className=kn;import{jsx as YC,jsxs as QC}from"react/jsx-runtime";import{jsx as tS}from"react/jsx-runtime";import{jsx as nS}from"react/jsx-runtime";import{jsx as dS}from"react/jsx-runtime";import{jsx as be,jsxs as Nn}from"react/jsx-runtime";var sm=J.options,lm=J.states,Ms={...J.defaultOptions,variant:"normal"},dm=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],cm=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Co=e=>{let{variant:t,modifiers:o,...a}={...Ms,...e},r={},s=Nn(hn,{children:[be(Ht,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),be(Ht,{text:"Add to Favorites",iconName:"heart"}),be(Ht,{text:"Upload New",iconName:"upload",disabled:!0}),be("hr",{className:"k-hr"}),be(Ht,{text:"Cancel",iconName:"cancel"})]}),c="Choose from the items below",p="Select Item";return t==="fullScreen"&&(r.fullScreen=!0),Object.keys(o||{}).forEach(b=>{switch(b){case"actions":r.actionsStart=!!o?.[b],r.actionsEnd=!!o?.[b];break;case"subtitle":r.subtitle=o?.[b]?c:void 0;break;case"footer":r.footer=!!o?.[b];break;default:break}}),t==="adaptive"?be(J,{...a,adaptive:!0,fullscreen:r.fullScreen,header:be(Te,{actionsStart:r.actionsStart?be(l,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?be(l,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:p,subtitle:r.subtitle}),footer:r.footer?Nn(Kt,{alignment:"stretched",children:[be(l,{text:"Cancel",size:"large",themeColor:"base"}),be(l,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):be(J,{...a,fullscreen:r.fullScreen,header:be(Te,{actionsStart:r.actionsStart?be(l,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?be(l,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:r.subtitle}),footer:r.footer?Nn(Kt,{alignment:"stretched",children:[be(l,{text:"Apply",themeColor:"primary"}),be(l,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Co.options=sm;Co.states=lm;Co.variants=dm;Co.defaultOptions=Ms;Co.modifiers=cm;Co.className=J.className;var vn="slider",Cs=vn;import{jsx as So,jsxs as Ln}from"react/jsx-runtime";var Ra="k-slider",pm=[i.hover,i.focus,i.active,i.disabled,i.readonly],mm={},Ye={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},X=e=>{let{type:t=Ye.type,orientation:o=Ye.orientation,gradientType:a=Ye.gradientType,readonly:r=Ye.readonly,disabled:s=Ye.disabled,handlePosition:c=Ye.handlePosition,showButtons:p=Ye.showButtons,showTicks:b=Ye.showTicks,value:x=Ye.value,min:h=Ye.min,max:k=Ye.max,startValue:m,endValue:v,hover:N,focus:g,active:S,trackStyle:T,dir:E,...F}=e,te=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),pe,me;return o==="horizontal"?(pe=E==="rtl"?"chevron-left":"chevron-right",me=E==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(pe="chevron-up",me="chevron-down"),Ln("div",{...F,className:n(Ra,e.className,C(Ra,{readonly:r,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:E,children:[p&&So(l,{className:"k-button-decrease",rounded:"full",icon:me,tabIndex:-1,title:"Decrease"}),Ln("div",{className:"k-slider-track-wrap",children:[b&&So("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Ln("div",{className:"k-slider-track",style:T,children:[So("div",{className:"k-slider-selection"}),t==="range"&&So("span",{className:n("k-draghandle","k-draghandle-start",C(Ra,{hover:N,focus:g,active:S})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":m??h,"aria-valuemin":h,"aria-valuemax":v??k,"aria-orientation":te,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":F["aria-label"]?`${F["aria-label"]} start`:"Range start"}),So("span",{className:n("k-draghandle",`k-draghandle-${c}`,C(Ra,{hover:N,focus:g,active:S})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?v??k:x,"aria-valuemin":t==="range"?m??h:h,"aria-valuemax":k,"aria-orientation":te,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":t==="range"?F["aria-label"]?`${F["aria-label"]} end`:"Range end":F["aria-label"]})]})]}),p&&So(l,{className:"k-button-increase",rounded:"full",icon:pe,tabIndex:-1,title:"Increase"})]})};X.states=pm;X.options=mm;X.className=Ra;X.defaultOptions=Ye;X.moduleName=vn;X.folderName=Cs;X.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 Ss}from"react/jsx-runtime";var Ts="k-tick",um=[],fm={},ys={label:!1},A=e=>{let{style:t,label:o=ys.label,orientation:a,large:r,text:s,...c}=e;return Ss("li",{...c,role:"presentation",title:s||"Tick",className:n(e.className,Ts,{[`k-tick-${a}`]:a,"k-tick-large":r}),style:t,children:o&&Ss("span",{className:"k-label",children:s})})};A.states=um;A.options=fm;A.className=Ts;A.defaultOptions=ys;import{Fragment as bm,jsx as Qe,jsxs as hm}from"react/jsx-runtime";var Is=e=>Qe(X,{"aria-label":e["aria-label"]||"Slider",children:hm(bm,{children:[Qe(A,{className:"k-first",label:!0,large:!0,text:"0"}),Qe(A,{}),Qe(A,{}),Qe(A,{}),Qe(A,{}),Qe(A,{label:!0,large:!0,text:"5"}),Qe(A,{}),Qe(A,{}),Qe(A,{}),Qe(A,{}),Qe(A,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as xm,jsx as Ze,jsxs as km}from"react/jsx-runtime";var As=e=>Ze(X,{children:km(xm,{children:[Ze(A,{className:"k-first",label:!0,large:!0,text:"0"}),Ze(A,{}),Ze(A,{}),Ze(A,{}),Ze(A,{}),Ze(A,{label:!0,large:!0,text:"5"}),Ze(A,{}),Ze(A,{}),Ze(A,{}),Ze(A,{}),Ze(A,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as QS,jsx as YS,jsxs as ZS}from"react/jsx-runtime";import{Fragment as aT,jsx as oT,jsxs as rT}from"react/jsx-runtime";import{jsx as Nm}from"react/jsx-runtime";var gn=e=>Nm(X,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as vm}from"react/jsx-runtime";var Mn=e=>vm(X,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as bT,jsx as fT,jsxs as hT}from"react/jsx-runtime";import{Fragment as LT,jsx as vT,jsxs as gT}from"react/jsx-runtime";import{jsx as kt,jsxs as Es}from"react/jsx-runtime";var Lm=X.options,gm=X.states,Os={...X.defaultOptions,variant:"horizontal",label:!0},Mm=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Cm=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],To=e=>{let{variant:t,modifiers:o,...a}=e,r=Os.label,s={};Object.keys(o||{}).forEach(p=>{switch(p){case"button":{s.showButtons=!!o?.[p];break}case"label":{r=!!o?.[p];break}case"tick":{s.showTicks=!!o?.[p];break}}});let c={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?Es(As,{style:{height:"300px",...c},...a,...s,children:[kt(A,{label:r,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),kt(A,{label:r,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),kt(A,{label:r,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),kt(A,{label:r,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),kt(A,{label:r,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):Es(Is,{style:{width:"400px",...c},...a,...s,children:[kt(A,{label:r,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),kt(A,{label:r,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),kt(A,{label:r,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),kt(A,{label:r,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),kt(A,{label:r,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};To.options=Lm;To.states=gm;To.variants=Mm;To.defaultOptions=Os;To.modifiers=Cm;To.className=X.className;import{jsx as Bs,jsxs as Am}from"react/jsx-runtime";var ws="k-spin-button",ym=[],Im={size:[d.undefined,d.small,d.medium,d.large],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},Cn={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Nt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:r=Cn.increaseLabel,decreaseLabel:s=Cn.decreaseLabel,...c}=e;return Am("span",{...c,className:n(ws,e.className),children:[Bs(l,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":r}),Bs(l,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Nt.states=ym;Nt.options=Im;Nt.className=ws;Nt.defaultOptions=Cn;Nt.moduleName=null;Nt.folderName=null;var Rs="numeric-textbox",Ks="numerictextbox";import{Fragment as Ps,jsx as Ct,jsxs as Sn}from"react/jsx-runtime";var Ds="k-numerictextbox",Em=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Om={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},lr={showSpinButton:!0,showClearButton:!0,separators:!0},H=e=>{let{size:t,rounded:o,fillMode:a,separators:r=lr.separators,showClearButton:s=lr.showClearButton,showSpinButton:c=lr.showSpinButton,prefix:p,suffix:b,value:x,placeholder:h,hover:k,focus:m,valid:v,invalid:N,required:g,loading:S,disabled:T,readonly:E,id:F,"aria-label":Z,"aria-describedby":te,...pe}=e;return Sn(U,{...pe,size:t,rounded:o,fillMode:a,hover:k,focus:m,valid:v,invalid:N,required:g,loading:S,disabled:T,readonly:E,className:n(e.className,Ds),children:[p&&Sn(Ps,{children:[Ct(Ne,{children:p}),r&&Ct(ie,{})]}),Ct(fe,{id:F,placeholder:h,value:x,role:"spinbutton",disabled:T,"aria-label":Z,"aria-describedby":te,"aria-invalid":N?"true":void 0}),Ct(oe,{valid:v,invalid:N,loading:S,disabled:T}),Ct(ne,{loading:S,disabled:T}),s&&Ct(ue,{loading:S,disabled:T,readonly:E,value:x}),b&&Sn(Ps,{children:[r&&Ct(ie,{}),Ct(ve,{children:b})]}),c&&Ct(Nt,{className:"k-input-spinner",size:t,fillMode:a,disabled:T})]})};H.states=Em;H.options=Om;H.className=Ds;H.defaultOptions=lr;H.moduleName=Rs;H.folderName=Ks;H.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 Ka=H;import{jsx as Bm}from"react/jsx-runtime";var _s=e=>Bm(Ka,{...e});import yn from"react";import{jsx as Hs}from"react/jsx-runtime";var wm="k-list-group-sticky-header",Tn=e=>Hs("div",{className:n(wm,e.className),children:Hs("div",{className:"k-list-header-text",children:e.children})});import{jsx as Km}from"react/jsx-runtime";var Rm="k-no-data",dr=e=>{let{live:t,...o}=e;return Km("span",{...o,className:n(Rm,e.className),"aria-live":t?"polite":void 0,children:e.children})};var jt="list",yo=jt;import{jsx as zs,jsxs as Fs}from"react/jsx-runtime";var In="k-list",Pm=[],Dm={size:[d.undefined,d.small,d.medium,d.large]},_m={},P=e=>{let{size:t,virtualization:o,children:a,header:r,selectAll:s,optionLabel:c,customValue:p,noData:b,screenReaders:x,...h}=e,m=yn.Children.toArray(a)[0],v=m?.props?.children?yn.Children.count(m.props.children):yn.Children.count(a);return Fs("div",{...h,className:n(e.className,In,y(In,{size:t}),{"k-virtual-list":o}),children:[c,s,p,r&&zs(Tn,{children:r}),a||(b!==void 0?b:zs(dr,{live:!0,children:"No data found."})),x&&a&&Fs(dr,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};P.states=Pm;P.options=Dm;P.className=In;P.defaultOptions=_m;P.moduleName=jt;P.folderName=yo;P.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 Um}from"react/jsx-runtime";var Us="k-list-container",Hm=[],zm={},Fm={},Io=e=>{let{...t}=e;return Um("div",{...t,className:n(e.className,Us),children:e.children})};Io.states=Hm;Io.options=zm;Io.className=Us;Io.defaultOptions=Fm;Io.moduleName=jt;Io.folderName=yo;var eo="checkbox",Ao=eo;import{jsx as Gs}from"react/jsx-runtime";var cr="k-checkbox",Gm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],Vm={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},$m={},ye=e=>{let{id:t,checked:o,indeterminate:a,hover:r,focus:s,disabled:c,invalid:p,valid:b,required:x,size:h,rounded:k,wrapperRole:m,...v}=e;return Gs("span",{className:"k-checkbox-wrap",role:m,children:Gs("input",{...v,id:t,type:"checkbox",defaultChecked:o,required:x,disabled:c||void 0,"aria-invalid":p?"true":void 0,className:n(e.className,cr,y(cr,{size:h,rounded:k}),C(cr,{hover:r,focus:s,disabled:c,invalid:p,valid:b,indeterminate:a,checked:o}))})})};ye.states=Gm;ye.options=Vm;ye.className=cr;ye.defaultOptions=$m;ye.moduleName=eo;ye.folderName=Ao;ye.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 ct=ye;import{jsx as Wm}from"react/jsx-runtime";var Vs="k-checkbox-list",Xm=[],qm={},$s={layout:"vertical"},Ie=e=>{let{layout:t=$s.layout,...o}=e;return Wm("ul",{...o,className:n(e.className,Vs,{[`k-list-${t}`]:t}),children:e.children})};Ie.states=Xm;Ie.options=qm;Ie.className=Vs;Ie.defaultOptions=$s;Ie.moduleName=eo;Ie.folderName=Ao;import{jsx as Zm}from"react/jsx-runtime";var Xs="k-checkbox-list-item",Jm=[],Ym={},Qm={},Ae=e=>{let{...t}=e;return Zm("li",{...t,className:n(e.className,Xs),children:e.children})};Ae.states=Jm;Ae.options=Ym;Ae.className=Xs;Ae.defaultOptions=Qm;Ae.moduleName=eo;Ae.folderName=Ao;import{Fragment as jm,jsx as qs,jsxs as eu}from"react/jsx-runtime";var St=({children:e="Label",id:t="cb-label-after",...o})=>eu(jm,{children:[qs(ct,{id:t,...o}),qs("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as Xy,jsx as $y,jsxs as qy}from"react/jsx-runtime";import{Fragment as Zy,jsx as Qy,jsxs as jy}from"react/jsx-runtime";import{Fragment as rI,jsx as aI,jsxs as nI}from"react/jsx-runtime";import{jsx as dI}from"react/jsx-runtime";import{jsx as uI}from"react/jsx-runtime";import{jsx as xI}from"react/jsx-runtime";import{jsx as je,jsxs as Ws}from"react/jsx-runtime";var tu=Ie.options,ou=Ie.states,au={...Ie.defaultOptions,variant:"vertical"},ru=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],nu=[],Eo=e=>{let{variant:t,...o}=e;return t==="horizontal"?Ws(Ie,{layout:"horizontal",...o,children:[je(Ae,{children:je(St,{id:I("cb"),defaultChecked:!0,children:"Label"})}),je(Ae,{children:je(St,{id:I("cb"),children:"Label"})}),je(Ae,{children:je(St,{id:I("cb"),children:"Label"})})]}):Ws(Ie,{...o,children:[je(Ae,{children:je(St,{id:I("cb"),defaultChecked:!0,children:"Label"})}),je(Ae,{children:je(St,{id:I("cb"),children:"Label"})}),je(Ae,{children:je(St,{id:I("cb"),children:"Label"})})]})};Eo.options=tu;Eo.states=ou;Eo.variants=ru;Eo.defaultOptions=au;Eo.modifiers=nu;Eo.className=Ie.className;import{jsx as pu}from"react/jsx-runtime";var iu=ct.options,su=ct.states,lu=ct.defaultOptions,du=[],cu=[],Oo=e=>pu(St,{id:I("checkbox"),...e,defaultChecked:!0,children:"Label"});Oo.options=iu;Oo.states=su;Oo.variants=du;Oo.defaultOptions=lu;Oo.modifiers=cu;Oo.className=ct.className;import{jsx as to,jsxs as bu}from"react/jsx-runtime";var An="k-list-item",mu=[i.hover,i.focus,i.selected,i.disabled],uu={},fu={},B=e=>{let{text:t,groupLabel:o,group:a,iconName:r,iconClassName:s,showCheckbox:c,checked:p,hover:b,focus:x,selected:h,disabled:k,actions:m,description:v,id:N,...g}=e,S=t||e.children;return bu("li",{...g,id:N,role:a?"presentation":"option",tabIndex:a?void 0:x?0:-1,"aria-selected":!a&&h?"true":a?void 0:"false","aria-disabled":!a&&k?"true":void 0,className:n(e.className,a?"k-list-group-item":An,C(An,{hover:b,focus:x,disabled:k,selected:h})),children:[c&&to(ye,{checked:p}),r&&to("span",{className:"k-list-item-icon-wrapper",children:to(M,{icon:r,className:n("k-list-item-icon",s)})}),to("span",{className:"k-list-item-text",child