UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 164 kB
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]}`}import{Fragment as jd,jsx as Bi}from"react/jsx-runtime";var _r="k-font-icon",Yd=[],Qd={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]},Zd={},La=e=>{let{size:t,themeColor:o,icon:a,rotate:r,flip:s,...c}=e;return a?Bi("span",{...c,className:n(e.className,_r,y(_r,{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"}):Bi(jd,{})};La.states=Yd;La.options=Qd;La.className=_r;La.defaultOptions=Zd;var wi=La;import{Fragment as oc,jsx as Qa}from"react/jsx-runtime";var Hr="k-svg-icon",ec=[],tc={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]},zr={viewBox:"0 0 24 24",variant:ft.outline},ga=e=>{let{size:t,themeColor:o,rotate:a,flip:r,viewBox:s=zr.viewBox,variant:c=zr.variant,icon:p,...b}=e;if(!p)return Qa(oc,{});if(p==="none")return Qa("span",{...b,className:n(e.className,Hr,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 Qa("span",{...b,className:n(e.className,Hr,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:Qa("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=ec;ga.options=tc;ga.className=Hr;ga.defaultOptions=zr;var Fr=ga;import*as Ur from"@progress/kendo-svg-icons";var Ri="icon",Ki="icons";import{useContext as rc}from"react";import{createContext as ac}from"react";var Pi=ac({iconsType:"svg"});import{Fragment as Di,jsx as Ma}from"react/jsx-runtime";var Za="k-icon",nc=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),ic=[],sc={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]},ja={viewBox:"0 0 24 24",type:"svg",variant:ft.outline},M=e=>{let{iconsType:t}=rc(Pi),{size:o,themeColor:a,icon:r,type:s=t||ja.type,rotate:c,flip:p,viewBox:b=ja.viewBox,variant:x=ja.variant,...h}=e;if(!r)return Ma(Di,{});if((t||s)==="svg"){if(r==="none")return Ma(Fr,{...h,className:n(e.className,Za),icon:r,size:o,variant:x});let m=Ur[r]?r:nc(`${r}-icon`);return Ur[m]?Ma(Fr,{...h,className:n(e.className,Za),icon:Ur[m],size:o,themeColor:a,rotate:c,flip:p,viewBox:b,variant:x}):Ma(Di,{})}return Ma(wi,{...h,className:n(e.className,Za),icon:r,size:o,themeColor:a,rotate:c,flip:p})};M.states=ic;M.options=sc;M.defaultOptions=ja;M.className=Za;M.moduleName=Ri;M.folderName=Ki;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 Gr="button",_i=Gr;import{Fragment as Hi,jsx as bo,jsxs as zi}from"react/jsx-runtime";var Ca="k-button",lc=["icon-button"],dc=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],cc={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]},Vr={showArrow:!1,arrowIconName:"chevron-down"},l=e=>{let{as:t="button",size:o,rounded:a,fillMode:r,themeColor:s,showArrow:c=Vr.showArrow,arrowIconName:p=Vr.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 zi(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&&bo(M,{className:n(F,"k-button-icon"),icon:S,size:T}),S&&typeof S!="string"&&bo(Hi,{children:S}),E?zi(Hi,{children:[E&&bo("span",{className:"k-button-text",children:E}),e.children]}):e.children&&bo("span",{className:"k-button-text",children:e.children}),c&&bo("span",{className:"k-menu-button-arrow k-button-arrow",children:bo(M,{icon:p})})]})};l.states=dc;l.options=cc;l.variants=lc;l.className=Ca;l.defaultOptions=Vr;l.moduleName=Gr;l.folderName=_i;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 pc}from"react/jsx-runtime";var gt=e=>pc(l,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as mc}from"react/jsx-runtime";var Sa=e=>mc(l,{icon:"folder",children:"Button",...e});import{jsx as uc}from"react/jsx-runtime";var Qt=e=>uc(l,{children:"Button",...e});import{jsx as $r}from"react/jsx-runtime";var fc=l.options,bc=l.states,hc={...l.defaultOptions,variant:"text"},xc=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],kc=[],ho=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return $r(gt,{...o,icon:"star"});case"icon-and-text":return $r(Sa,{...o,icon:"star",children:"Button"});default:return $r(Qt,{...o,children:"Button"})}};ho.options=fc;ho.states=bc;ho.variants=xc;ho.defaultOptions=hc;ho.modifiers=kc;ho.className=l.className;var Xr="button",Fi=Xr;import{jsx as gc}from"react/jsx-runtime";var Ta="k-button-group",Nc=[i.disabled],vc={fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},Lc={},O=e=>{let{fillMode:t,disabled:o,stretched:a,...r}=e;return gc("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=Nc;O.options=vc;O.className=Ta;O.defaultOptions=Lc;O.moduleName=Xr;O.folderName=Fi;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 pv,jsx as cv,jsxs as mv}from"react/jsx-runtime";import{Fragment as kv,jsx as xv,jsxs as Nv}from"react/jsx-runtime";import{Fragment as Sv,jsx as Cv,jsxs as Tv}from"react/jsx-runtime";import{Fragment as Bv,jsx as Ov,jsxs as wv}from"react/jsx-runtime";import{Fragment as Hv,jsx as _v,jsxs as zv}from"react/jsx-runtime";import{Fragment as Xv,jsx as $v,jsxs as qv}from"react/jsx-runtime";import{jsx as Mt,jsxs as qr}from"react/jsx-runtime";var Mc={...l.options,...O.options},Cc=l.states,Sc={...l.defaultOptions,...O.defaultOptions,variant:"text-button"},Tc=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],yc=[],xo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?qr(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"?qr(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"})]}):qr(O,{fillMode:a.fillMode,className:o,children:[Mt(l,{...a,children:"First"}),Mt(l,{...a,children:"Middle"}),Mt(l,{...a,children:"Last"})]})};xo.options=Mc;xo.states=Cc;xo.variants=Tc;xo.defaultOptions=Sc;xo.modifiers=yc;xo.className=O.className;var ya="input",er=ya;import{jsx as Oc}from"react/jsx-runtime";var tr="k-input",Ic=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Ac={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]},Ec={},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 Oc("span",{...k,className:n(e.className,tr,y(tr,{size:b,rounded:x,fillMode:h}),C(tr,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:c,readonly:p}))})};U.states=Ic;U.options=Ac;U.className=tr;U.defaultOptions=Ec;U.moduleName=ya;U.folderName=er;import{jsx as Kc}from"react/jsx-runtime";var or="k-picker",Bc=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],wc={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]},Rc={},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 Kc("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})),children:e.children})};bt.states=Bc;bt.options=wc;bt.className=or;bt.defaultOptions=Rc;bt.moduleName=ya;bt.folderName=er;import{Fragment as _c,jsx as Wr}from"react/jsx-runtime";var Ui="k-clear-value",Pc=[i.disabled,i.loading,i.readonly],Dc={},ue=e=>{let{disabled:t,loading:o,readonly:a,value:r}=e;return t||a||o||!r?Wr(_c,{}):Wr("span",{className:n(e.className,Ui),children:Wr(M,{icon:"x"})})};ue.states=Pc;ue.options=Dc;ue.className=Ui;import{jsx as Fc}from"react/jsx-runtime";var Jr="k-input-inner",Hc=[],zc={},ar={type:"text",autocomplete:"off",value:"",placeholder:""},fe=e=>{let{value:t=ar.value,type:o=ar.type,placeholder:a=ar.placeholder,autocomplete:r=ar.autocomplete,disabled:s,readOnly:c,...p}=e;return Fc("input",{...p,type:o,className:n(e.className,Jr,y(Jr,e)),placeholder:a,autoComplete:r,defaultValue:t,disabled:s||void 0,readOnly:c||void 0})};fe.states=Hc;fe.options=zc;fe.className=Jr;import{jsx as Gi,jsxs as Vc}from"react/jsx-runtime";var Yr="k-input-inner",Uc=[],Gc={},Zt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:r,valueIconName:s,...c}=e;return Vc("span",{...c,className:n(e.className,Yr,y(Yr,e)),children:[r,!r&&s&&Gi(M,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&Gi("span",{className:"k-input-value-text",children:t})]})};Zt.states=Uc;Zt.options=Gc;Zt.className=Yr;import{jsx as qc}from"react/jsx-runtime";var Qr="k-input-inner",$c=[],Xc={},Vi={value:"",placeholder:""},Ia=e=>{let{value:t=Vi.value,placeholder:o=Vi.placeholder,rows:a,disabled:r,...s}=e;return qc("textarea",{...s,className:n(e.className,Qr,y(Qr,e)),placeholder:o,rows:a,defaultValue:t,disabled:r||void 0})};Ia.states=$c;Ia.options=Xc;Ia.className=Qr;import{Fragment as Jc,jsx as $i}from"react/jsx-runtime";var Xi="k-input-loading-icon",Wc=[i.disabled,i.loading],ne=e=>{let{disabled:t,loading:o}=e;return t||!o?$i(Jc,{}):$i("span",{className:n(e.className,Xi,"k-icon k-i-loading")})};ne.states=Wc;ne.className=Xi;import{Fragment as Zc,jsx as qi}from"react/jsx-runtime";var Wi="k-input-validation-icon",Yc=[i.valid,i.invalid,i.disabled,i.loading],Qc={},oe=e=>{let{valid:t,invalid:o,disabled:a,loading:r}=e,s=o?"warning-circle":"check-circle";return a||r||!!!(t||o)?qi(Zc,{}):qi(M,{className:n(Wi),icon:s})};oe.states=Yc;oe.options=Qc;oe.className=Wi;import{Fragment as tp,jsx as Ji}from"react/jsx-runtime";var jc="k-input-prefix",ep={direction:"horizontal"},Ne=e=>{let{direction:t=ep.direction,...o}=e;return e.children?Ji("span",{...o,className:n(jc,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Ji(tp,{})};import{Fragment as rp,jsx as Yi}from"react/jsx-runtime";var op="k-input-suffix",ap={direction:"horizontal"},ve=e=>{let{direction:t=ap.direction,...o}=e;return e.children?Yi("span",{...o,className:n(op,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Yi(rp,{})};import{jsx as qL}from"react/jsx-runtime";import{jsx as ip}from"react/jsx-runtime";var np="k-input-suffix-text",Zr=e=>{let{children:t,...o}=e;return ip("span",{...o,className:n(np,e.className),children:t})};import{jsx as lp}from"react/jsx-runtime";var Qi="k-input-separator",sp={direction:"vertical"},ie=e=>{let{direction:t=sp.direction,...o}=e;return lp("span",{...o,className:n(Qi,e.className,{[`${Qi}-${t}`]:t})})};import{Fragment as Zi,jsx as ht,jsxs as jr}from"react/jsx-runtime";var dp=U.states,cp=U.defaultOptions,pp=U.options,mp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],up=[],ko=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 jr(U,{...p,valid:o,invalid:a,loading:r,disabled:s,readonly:c,style:{width:300},children:[b&&jr(Zi,{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&&jr(Zi,{children:[m&&ht(ie,{}),ht(ve,{children:ht(Qt,{size:p.size,fillMode:"clear",children:"Send"})})]})]})};ko.options=pp;ko.states=dp;ko.variants=up;ko.defaultOptions=cp;ko.modifiers=mp;ko.className=U.className;import{jsx as ji,jsxs as hp}from"react/jsx-runtime";var es="k-color-preview",fp=[],bp={},wt=e=>{let{color:t,iconName:o,...a}=e;return hp("span",{...a,className:n(e.className,es,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&ji(M,{icon:o,className:"k-color-preview-icon"}),ji("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};wt.states=fp;wt.options=bp;wt.className=es;var en="popup",ts=en;import{jsx as os}from"react/jsx-runtime";var as="k-animation-container",xp=[],kp={},tn={positionMode:"absolute",shown:!0},xt=e=>{let{positionMode:t=tn.positionMode,shown:o=tn.shown,animationStyle:a,offset:r,...s}=e;return os("div",{...s,style:{...r,...e.style},className:n(e.className,as,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:os("div",{className:"k-child-animation-container",style:a,children:e.children})})};xt.states=xp;xt.options=kp;xt.className=as;xt.defaultOptions=tn;xt.moduleName=en;xt.folderName=ts;var on="popup",rs=on;import{jsx as ns}from"react/jsx-runtime";var is="k-popup",Np=[],vp={},ss={positionMode:"absolute"},q=e=>{let{offset:t,positionMode:o=ss.positionMode,animationStyle:a,containerClassName:r,containerRole:s,containerAriaLabel:c,...p}=e;return ns(xt,{positionMode:o,offset:t,animationStyle:a,className:r,role:s,"aria-label":c,children:ns("div",{...p,className:n(e.className,is),children:e.children})})};q.states=Np;q.options=vp;q.className=is;q.defaultOptions=ss;q.moduleName=on;q.folderName=rs;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.'}]};var an="action-buttons",ls=an;import{jsx as Mp}from"react/jsx-runtime";var rr="k-actions",Lp=[],gp={},rn={alignment:"start",orientation:"horizontal"},j=e=>{let{alignment:t=rn.alignment,orientation:o=rn.orientation,...a}=e;return Mp("div",{...a,className:n(rr,{[`${rr}-${t}`]:t,[`${rr}-${o}`]:o},e.className),children:e.children})};j.states=Lp;j.options=gp;j.className=rr;j.defaultOptions=rn;j.moduleName=an;j.folderName=ls;import{jsx as Sp}from"react/jsx-runtime";var Cp="k-actionsheet-footer",ds={alignment:"stretched",orientation:"horizontal"},Rt=e=>{let{alignment:t=ds.alignment,orientation:o=ds.orientation,template:a,as:r=a?"div":j,...s}=e;return Sp(r,{...s,...!a&&{alignment:t,orientation:o},className:n(e.className,Cp),children:e.children})};var nn="searchbox",cs=nn;import{jsx as Aa,jsxs as Ip}from"react/jsx-runtime";var ps="k-searchbox",Tp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],yp={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]},sn={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=sn.showIcon,icon:N=sn.icon,"aria-label":g,...S}=e;return Ip(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,ps),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=Tp;He.options=yp;He.className=ps;He.defaultOptions=sn;He.moduleName=nn;He.folderName=cs;import{jsx as kM}from"react/jsx-runtime";var ln="textbox",ms=ln;import{Fragment as us,jsx as Kt,jsxs as dn}from"react/jsx-runtime";var fs="k-textbox",Ap=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Ep={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 dn(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,fs),children:[p&&dn(us,{children:[Kt(Ne,{children:p}),r&&Kt(ie,{})]}),Kt(fe,{id:Z,placeholder:k,value:h,type:x,disabled:E,"aria-label":te,"aria-describedby":pe,"aria-invalid":g?"true":void 0}),c&&Kt(oe,{valid:N,invalid:g,loading:T,disabled:E}),Kt(ne,{loading:T,disabled:E}),s&&Kt(ue,{loading:T,disabled:E,readonly:F,value:h}),b&&dn(us,{children:[r&&Kt(ie,{}),Kt(ve,{children:b})]})]})};_.states=Ap;_.options=Ep;_.className=fs;_.defaultOptions=nr;_.moduleName=ln;_.folderName=ms;_.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 Op}from"react/jsx-runtime";var bs=e=>Op(Ea,{...e});import{Fragment as PM,jsx as KM}from"react/jsx-runtime";import{Fragment as UM,jsx as FM}from"react/jsx-runtime";import{jsx as XM}from"react/jsx-runtime";import{jsx as cn}from"react/jsx-runtime";var Bp=_.states,wp=_.defaultOptions,Rp=_.options,Kp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Pp=[],No=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t?.[r]?cn(M,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[r]?cn(Qt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[r];break;default:break}}),cn(bs,{value:"Value",style:{width:300},...o,...a})};No.options=Rp;No.states=Bp;No.variants=Pp;No.defaultOptions=wp;No.modifiers=Kp;No.className=_.className;import{jsx as Pt,jsxs as pn}from"react/jsx-runtime";var hs="k-actionsheet-titlebar",Dp={},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 pn("div",{...m,className:n(e.className,hs),children:[pn("div",{className:"k-actionsheet-titlebar-group",children:[a&&Pt("div",{className:"k-actionsheet-actions",children:a}),!k&&pn("div",{className:"k-actionsheet-title",id:h,children:[t&&Pt("div",{className:"k-text-center",children:t}),o&&Pt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),k&&Pt("div",{className:"k-actionsheet-title",id:h,children:k}),r&&Pt("div",{className:"k-actionsheet-actions",children:r})]}),(c||s)&&Pt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?Pt(_,{value:p,placeholder:b,size:x?"large":"medium","aria-label":t||b||"Input"}):Pt(He,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};Te.className=hs;Te.defaultOptions=Dp;import{jsx as mn,jsxs as Fp}from"react/jsx-runtime";var un="k-actionsheet-view",_p=[],Hp={},zp={},vo=e=>{let{adaptive:t,animated:o,children:a,header:r,footer:s,titleId:c,...p}=e,b=r?.type===Te&&mn(Te,{adaptive:t,titleId:c,...r?.props}),x=s?.type===Rt&&mn(Rt,{...s?.props});return Fp("div",{...p,className:n(e.className,un,{[`${un}-animated`]:o}),children:[b,mn("div",{className:"k-actionsheet-content",children:a}),x]})};vo.states=_p;vo.options=Hp;vo.className=un;vo.defaultOptions=zp;var Oa="action-sheet",ir=Oa;var fn="overlay",xs=fn;import{jsx as $p}from"react/jsx-runtime";var ks="k-overlay",Up=[],Gp={},Vp={},Dt=e=>{let{...t}=e;return $p("div",{...t,className:n(e.className,ks),children:e.children})};Dt.states=Up;Dt.options=Gp;Dt.className=ks;Dt.defaultOptions=Vp;Dt.moduleName=fn;Dt.folderName=xs;import{jsx as sr,jsxs as Wp}from"react/jsx-runtime";var Ns="k-actionsheet",Xp=[],qp={},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 Wp("div",{className:"k-actionsheet-container",children:[r&&sr(Dt,{}),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,Ns,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||sr(vo,{header:p,footer:b,adaptive:a,titleId:k,...e,children:c})})})]})};J.states=Xp;J.options=qp;J.className=Ns;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 Zp}from"react/jsx-runtime";var vs="k-actionsheet-container",Jp=[],Yp={},Qp={},Lo=e=>{let{children:t,...o}=e;return Zp("div",{...o,className:vs,children:t})};Lo.states=Jp;Lo.options=Yp;Lo.className=vs;Lo.defaultOptions=Qp;Lo.moduleName=Oa;Lo.folderName=ir;import{jsx as jp}from"react/jsx-runtime";var bn=e=>{let{...t}=e;return jp("div",{...t,className:n(e.className,"k-list-ul"),children:e.children})};import{Fragment as tm,jsx as wa,jsxs as hn}from"react/jsx-runtime";var xn="k-actionsheet-item",em=[i.hover,i.focus,i.selected,i.disabled],_t=e=>{let{iconName:t,text:o,description:a,hover:r,focus:s,selected:c,disabled:p,...b}=e;return hn("span",{...b,className:n(e.className,xn,C(xn,{hover:r,focus:s,selected:c,disabled:p})),children:[!e.children&&wa(tm,{children:hn("span",{className:"k-actionsheet-action",children:[t&&wa("span",{className:"k-icon-wrap",children:wa(M,{className:"k-actionsheet-item-icon",icon:t})}),hn("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]})};_t.states=em;_t.className=xn;import{jsx as $C,jsxs as XC}from"react/jsx-runtime";import{jsx as YC}from"react/jsx-runtime";import{jsx as eS}from"react/jsx-runtime";import{jsx as rS}from"react/jsx-runtime";import{jsx as be,jsxs as kn}from"react/jsx-runtime";var om=J.options,am=J.states,gs={...J.defaultOptions,variant:"normal"},rm=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],nm=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],go=e=>{let{variant:t,modifiers:o,...a}={...gs,...e},r={},s=kn(bn,{children:[be(_t,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),be(_t,{text:"Add to Favorites",iconName:"heart"}),be(_t,{text:"Upload New",iconName:"upload",disabled:!0}),be("hr",{className:"k-hr"}),be(_t,{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?kn(Rt,{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?kn(Rt,{alignment:"stretched",children:[be(l,{text:"Apply",themeColor:"primary"}),be(l,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};go.options=om;go.states=am;go.variants=rm;go.defaultOptions=gs;go.modifiers=nm;go.className=J.className;var Nn="slider",Ms=Nn;import{jsx as Mo,jsxs as vn}from"react/jsx-runtime";var Ra="k-slider",im=[i.hover,i.focus,i.active,i.disabled,i.readonly],sm={},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"),vn("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&&Mo(l,{className:"k-button-decrease",rounded:"full",icon:me,tabIndex:-1,title:"Decrease"}),vn("div",{className:"k-slider-track-wrap",children:[b&&Mo("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),vn("div",{className:"k-slider-track",style:T,children:[Mo("div",{className:"k-slider-selection"}),t==="range"&&Mo("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"}),Mo("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&&Mo(l,{className:"k-button-increase",rounded:"full",icon:pe,tabIndex:-1,title:"Increase"})]})};X.states=im;X.options=sm;X.className=Ra;X.defaultOptions=Ye;X.moduleName=Nn;X.folderName=Ms;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 Cs}from"react/jsx-runtime";var Ss="k-tick",lm=[],dm={},Ts={label:!1},A=e=>{let{style:t,label:o=Ts.label,orientation:a,large:r,text:s,...c}=e;return Cs("li",{...c,role:"presentation",title:s||"Tick",className:n(e.className,Ss,{[`k-tick-${a}`]:a,"k-tick-large":r}),style:t,children:o&&Cs("span",{className:"k-label",children:s})})};A.states=lm;A.options=dm;A.className=Ss;A.defaultOptions=Ts;import{Fragment as cm,jsx as Qe,jsxs as pm}from"react/jsx-runtime";var ys=e=>Qe(X,{"aria-label":e["aria-label"]||"Slider",children:pm(cm,{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 mm,jsx as Ze,jsxs as um}from"react/jsx-runtime";var Is=e=>Ze(X,{children:um(mm,{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 XS,jsx as $S,jsxs as qS}from"react/jsx-runtime";import{Fragment as ZS,jsx as QS,jsxs as jS}from"react/jsx-runtime";import{jsx as fm}from"react/jsx-runtime";var Ln=e=>fm(X,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as bm}from"react/jsx-runtime";var gn=e=>bm(X,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as cT,jsx as dT,jsxs as pT}from"react/jsx-runtime";import{Fragment as hT,jsx as bT,jsxs as xT}from"react/jsx-runtime";import{jsx as kt,jsxs as As}from"react/jsx-runtime";var hm=X.options,xm=X.states,Es={...X.defaultOptions,variant:"horizontal",label:!0},km=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Nm=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Co=e=>{let{variant:t,modifiers:o,...a}=e,r=Es.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"?As(Is,{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%"}})]}):As(ys,{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%"}})]})};Co.options=hm;Co.states=xm;Co.variants=km;Co.defaultOptions=Es;Co.modifiers=Nm;Co.className=X.className;import{jsx as Os,jsxs as Cm}from"react/jsx-runtime";var Bs="k-spin-button",gm=[],Mm={size:[d.undefined,d.small,d.medium,d.large],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},Mn={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Nt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:r=Mn.increaseLabel,decreaseLabel:s=Mn.decreaseLabel,...c}=e;return Cm("span",{...c,className:n(Bs,e.className),children:[Os(l,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":r}),Os(l,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Nt.states=gm;Nt.options=Mm;Nt.className=Bs;Nt.defaultOptions=Mn;Nt.moduleName=null;Nt.folderName=null;var ws="numeric-textbox",Rs="numerictextbox";import{Fragment as Ks,jsx as Ct,jsxs as Cn}from"react/jsx-runtime";var Ps="k-numerictextbox",Sm=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Tm={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 Cn(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,Ps),children:[p&&Cn(Ks,{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&&Cn(Ks,{children:[r&&Ct(ie,{}),Ct(ve,{children:b})]}),c&&Ct(Nt,{className:"k-input-spinner",size:t,fillMode:a,disabled:T})]})};H.states=Sm;H.options=Tm;H.className=Ps;H.defaultOptions=lr;H.moduleName=ws;H.folderName=Rs;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 ym}from"react/jsx-runtime";var Ds=e=>ym(Ka,{...e});import Tn from"react";import{jsx as _s}from"react/jsx-runtime";var Im="k-list-group-sticky-header",Sn=e=>_s("div",{className:n(Im,e.className),children:_s("div",{className:"k-list-header-text",children:e.children})});import{jsx as Em}from"react/jsx-runtime";var Am="k-no-data",dr=e=>{let{live:t,...o}=e;return Em("span",{...o,className:n(Am,e.className),"aria-live":t?"polite":void 0,children:e.children})};var jt="list",So=jt;import{jsx as Hs,jsxs as zs}from"react/jsx-runtime";var yn="k-list",Om=[],Bm={size:[d.undefined,d.small,d.medium,d.large]},wm={},P=e=>{let{size:t,virtualization:o,children:a,header:r,selectAll:s,optionLabel:c,customValue:p,noData:b,screenReaders:x,...h}=e,m=Tn.Children.toArray(a)[0],v=m?.props?.children?Tn.Children.count(m.props.children):Tn.Children.count(a);return zs("div",{...h,className:n(e.className,yn,y(yn,{size:t}),{"k-virtual-list":o}),children:[c,s,p,r&&Hs(Sn,{children:r}),a||(b!==void 0?b:Hs(dr,{live:!0,children:"No data found."})),x&&a&&zs(dr,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};P.states=Om;P.options=Bm;P.className=yn;P.defaultOptions=wm;P.moduleName=jt;P.folderName=So;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 Dm}from"react/jsx-runtime";var Fs="k-list-container",Rm=[],Km={},Pm={},To=e=>{let{...t}=e;return Dm("div",{...t,className:n(e.className,Fs),children:e.children})};To.states=Rm;To.options=Km;To.className=Fs;To.defaultOptions=Pm;To.moduleName=jt;To.folderName=So;var eo="checkbox",yo=eo;import{jsx as Us}from"react/jsx-runtime";var cr="k-checkbox",_m=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],Hm={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},zm={},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 Us("span",{className:"k-checkbox-wrap",role:m,children:Us("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=_m;ye.options=Hm;ye.className=cr;ye.defaultOptions=zm;ye.moduleName=eo;ye.folderName=yo;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 Gm}from"react/jsx-runtime";var Gs="k-checkbox-list",Fm=[],Um={},Vs={layout:"vertical"},Ie=e=>{let{layout:t=Vs.layout,...o}=e;return Gm("ul",{...o,className:n(e.className,Gs,{[`k-list-${t}`]:t}),children:e.children})};Ie.states=Fm;Ie.options=Um;Ie.className=Gs;Ie.defaultOptions=Vs;Ie.moduleName=eo;Ie.folderName=yo;import{jsx as qm}from"react/jsx-runtime";var $s="k-checkbox-list-item",Vm=[],$m={},Xm={},Ae=e=>{let{...t}=e;return qm("li",{...t,className:n(e.className,$s),children:e.children})};Ae.states=Vm;Ae.options=$m;Ae.className=$s;Ae.defaultOptions=Xm;Ae.moduleName=eo;Ae.folderName=yo;import{Fragment as Wm,jsx as Xs,jsxs as Jm}from"react/jsx-runtime";var St=({children:e="Label",id:t="cb-label-after",...o})=>Jm(Wm,{children:[Xs(ct,{id:t,...o}),Xs("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as Fy,jsx as zy,jsxs as Uy}from"react/jsx-runtime";import{Fragment as qy,jsx as Xy,jsxs as Wy}from"react/jsx-runtime";import{Fragment as jy,jsx as Zy,jsxs as eI}from"react/jsx-runtime";import{jsx as rI}from"react/jsx-runtime";import{jsx as lI}from"react/jsx-runtime";import{jsx as mI}from"react/jsx-runtime";import{jsx as je,jsxs as qs}from"react/jsx-runtime";var Ym=Ie.options,Qm=Ie.states,Zm={...Ie.defaultOptions,variant:"vertical"},jm=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],eu=[],Io=e=>{let{variant:t,...o}=e;return t==="horizontal"?qs(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"})})]}):qs(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"})})]})};Io.options=Ym;Io.states=Qm;Io.variants=jm;Io.defaultOptions=Zm;Io.modifiers=eu;Io.className=Ie.className;import{jsx as iu}from"react/jsx-runtime";var tu=ct.options,ou=ct.states,au=ct.defaultOptions,ru=[],nu=[],Ao=e=>iu(St,{id:I("checkbox"),...e,defaultChecked:!0,children:"Label"});Ao.options=tu;Ao.states=ou;Ao.variants=ru;Ao.defaultOptions=au;Ao.modifiers=nu;Ao.className=ct.className;import{jsx as to,jsxs as cu}from"react/jsx-runtime";var In="k-list-item",su=[i.hover,i.focus,i.selected,i.disabled],lu={},du={},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 cu("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":In,C(In,{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",children:S}),m&&to("div",{className:"k-list-item-actions",children:m}),v&&to("span",{className:"k-list-item-description",children:v}),o&&o!==""&&to("div",{className:"k-list-item-group-label",children:o})]})};B.states=su;B.options=lu;B.className=In;B.defaultOptions=du;B.moduleName=jt;B.folderName=So;B.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