UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 169 kB
var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var C=(e,t)=>r({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),M=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:i,checked:l,active:c,selected:u,disabled:b,indeterminate:h,loading:N,empty:m,readonly:L,highlighted:k,...S}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":i,"k-checked":l,"k-active":c,"k-selected":u,"k-disabled":b,"k-indeterminate":h&&!l,"k-loading":N,"k-empty":m,"k-readonly":L,"k-highlighted":k},Object.keys(S).reduce((A,y)=>(y.startsWith("k-")?A[y]=S[y]:A[`k-${y}`]=S[y],A),{}))};function Ja(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"},f={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},x={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},lt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},g={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},s={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var Zn={};function w(e){return Zn[e]=(Zn[e]||0)+1,`k-${e}-${Zn[e]}`}import{Fragment as Ad,jsx as ri}from"react/jsx-runtime";var Qn="k-font-icon",Md=[],Sd={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info]},yd={},fa=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:i,...l}=e;return a?ri("span",{...l,className:r(e.className,Qn,C(Qn,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true"}):ri(Ad,{})};fa.states=Md;fa.options=Sd;fa.className=Qn;fa.defaultOptions=yd;var si=fa;import{Fragment as Id,jsx as Ya}from"react/jsx-runtime";var jn="k-svg-icon",Cd=[],Ed={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info],variant:[lt.outline,lt.solid,lt.duotone]},er={viewBox:"0 0 24 24",variant:lt.outline},ba=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:i=er.viewBox,variant:l=er.variant,icon:c,...u}=e;if(!c)return Ya(Id,{});if(c==="none")return Ya("span",{...u,className:r(e.className,jn,C("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let b=typeof c=="object"&&c.name&&c.name,h=typeof c=="object"?l&&c.variants?.[l]||c.variants?.outline||c.content:void 0;return Ya("span",{...u,className:r(e.className,jn,C("k-icon",{size:t}),{[`k-svg-i-${b}`]:b,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:Ya("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:i,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:c?void 0:e.children})})};ba.states=Cd;ba.options=Ed;ba.className=jn;ba.defaultOptions=er;var tr=ba;import*as or from"@progress/kendo-svg-icons";var ii="icon",li="icons";import{useContext as Od}from"react";import{createContext as Td}from"react";var pi=Td({iconsType:"svg"});import{Fragment as di,jsx as ha}from"react/jsx-runtime";var Za="k-icon",Bd=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Pd=[],wd={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info],variant:[lt.outline,lt.solid,lt.duotone]},Qa={viewBox:"0 0 24 24",type:"svg",variant:lt.outline},v=e=>{let{iconsType:t}=Od(pi),{size:o,themeColor:a,icon:n,type:i=t||Qa.type,rotate:l,flip:c,viewBox:u=Qa.viewBox,variant:b=Qa.variant,...h}=e;if(!n)return ha(di,{});if((t||i)==="svg"){if(n==="none")return ha(tr,{...h,className:r(e.className,Za),icon:n,size:o,variant:b});let m=or[n]?n:Bd(`${n}-icon`);return or[m]?ha(tr,{...h,className:r(e.className,Za),icon:or[m],size:o,themeColor:a,rotate:l,flip:c,viewBox:u,variant:b}):ha(di,{})}return ha(si,{...h,className:r(e.className,Za),icon:n,size:o,themeColor:a,rotate:l,flip:c})};v.states=Pd;v.options=wd;v.defaultOptions=Qa;v.className=Za;v.moduleName=ii;v.folderName=li;v.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var ar="button",ci=ar;import{Fragment as mi,jsx as uo,jsxs as ui}from"react/jsx-runtime";var xa="k-button",Kd=["icon-button"],Rd=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],_d={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info,g.inverse]},nr={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:i,showArrow:l=nr.showArrow,arrowIconName:c=nr.arrowIconName,variant:u,hover:b,focus:h,active:N,selected:m,disabled:L,togglable:k,ariaDisabled:S,icon:A,iconSize:y,text:E,iconClassName:$,className:pe,...xe}=e,ge=A!=null,Ne=e.children!==void 0;return ui(t,{className:r(pe,xa,Ja(xa,u),C(xa,{size:o,rounded:a,fillMode:n,themeColor:i}),M(xa,{hover:b,focus:h,active:N,disabled:L||S,selected:m}),{"k-icon-button":!E&&!Ne&&ge}),"aria-pressed":k?m?"true":"false":void 0,...xe,"aria-disabled":S?"true":void 0,disabled:L||void 0,children:[typeof A=="string"&&A&&uo(v,{className:r($,"k-button-icon"),icon:A,size:y}),A&&typeof A!="string"&&uo(mi,{children:A}),E?ui(mi,{children:[E&&uo("span",{className:"k-button-text",children:E}),e.children]}):e.children&&uo("span",{className:"k-button-text",children:e.children}),l&&uo("span",{className:"k-menu-button-arrow k-button-arrow",children:uo(v,{icon:c})})]})};p.states=Rd;p.options=_d;p.variants=Kd;p.className=xa;p.defaultOptions=nr;p.moduleName=ar;p.folderName=ci;p.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 Dd}from"react/jsx-runtime";var W=e=>Dd(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as Hd}from"react/jsx-runtime";var ga=e=>Hd(p,{icon:"folder",children:"Button",...e});import{jsx as zd}from"react/jsx-runtime";var at=e=>zd(p,{children:"Button",...e});import{jsx as rr}from"react/jsx-runtime";var Ud=p.options,Fd=p.states,Gd={...p.defaultOptions,variant:"text"},Vd=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],$d=[],fo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return rr(W,{...o,icon:"star"});case"icon-and-text":return rr(ga,{...o,icon:"star",children:"Button"});default:return rr(at,{...o,children:"Button"})}};fo.options=Ud;fo.states=Fd;fo.variants=Vd;fo.defaultOptions=Gd;fo.modifiers=$d;fo.className=p.className;var sr="button",fi=sr;import{jsx as Jd}from"react/jsx-runtime";var Na="k-button-group",Xd=[s.disabled],qd={fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},Wd={},T=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return Jd("div",{role:"group",...n,className:r(e.className,Na,C(Na,{fillMode:t}),M(Na,{disabled:o}),{[`${Na}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};T.states=Xd;T.options=qd;T.className=Na;T.defaultOptions=Wd;T.moduleName=sr;T.folderName=fi;T.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 cv,jsx as dv,jsxs as mv}from"react/jsx-runtime";import{Fragment as gv,jsx as xv,jsxs as Nv}from"react/jsx-runtime";import{Fragment as yv,jsx as Sv,jsxs as Av}from"react/jsx-runtime";import{Fragment as Bv,jsx as Ov,jsxs as Pv}from"react/jsx-runtime";import{Fragment as Hv,jsx as Dv,jsxs as zv}from"react/jsx-runtime";import{Fragment as Xv,jsx as $v,jsxs as qv}from"react/jsx-runtime";import{jsx as vt,jsxs as ir}from"react/jsx-runtime";var Yd={...p.options,...T.options},Zd=p.states,Qd={...p.defaultOptions,...T.defaultOptions,variant:"text-button"},jd=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],ec=[],bo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?ir(T,{fillMode:a.fillMode,className:o,children:[vt(p,{...a,icon:"star"}),vt(p,{...a,icon:"star"}),vt(p,{...a,icon:"star"})]}):t==="icon-text-button"?ir(T,{fillMode:a.fillMode,className:o,children:[vt(p,{...a,icon:"star",children:"First"}),vt(p,{...a,icon:"star",children:"Middle"}),vt(p,{...a,icon:"star",children:"Last"})]}):ir(T,{fillMode:a.fillMode,className:o,children:[vt(p,{...a,children:"First"}),vt(p,{...a,children:"Middle"}),vt(p,{...a,children:"Last"})]})};bo.options=Yd;bo.states=Zd;bo.variants=jd;bo.defaultOptions=Qd;bo.modifiers=ec;bo.className=T.className;var va="input",ja=va;import{jsx as nc}from"react/jsx-runtime";var en="k-input",tc=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],oc={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},ac={},Z=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c,size:u,rounded:b,fillMode:h,...N}=e;return nc("span",{...N,className:r(e.className,en,C(en,{size:u,rounded:b,fillMode:h}),M(en,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c}))})};Z.states=tc;Z.options=oc;Z.className=en;Z.defaultOptions=ac;Z.moduleName=va;Z.folderName=ja;import{jsx as lc}from"react/jsx-runtime";var tn="k-picker",rc=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],sc={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},ic={},pt=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c,size:u,rounded:b,fillMode:h,...N}=e;return lc("span",{...N,className:r(e.className,tn,C(tn,{size:u,rounded:b,fillMode:h}),M(tn,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c})),children:e.children})};pt.states=rc;pt.options=sc;pt.className=tn;pt.defaultOptions=ic;pt.moduleName=va;pt.folderName=ja;import{Fragment as cc,jsx as lr}from"react/jsx-runtime";var bi="k-clear-value",pc=[s.disabled,s.loading,s.readonly],dc={},Ke=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?lr(cc,{}):lr("span",{className:r(e.className,bi),children:lr(v,{icon:"x"})})};Ke.states=pc;Ke.options=dc;Ke.className=bi;import{jsx as fc}from"react/jsx-runtime";var pr="k-input-inner",mc=[],uc={},on={type:"text",autocomplete:"off",value:"",placeholder:""},ve=e=>{let{value:t=on.value,type:o=on.type,placeholder:a=on.placeholder,autocomplete:n=on.autocomplete,disabled:i,readOnly:l,...c}=e;return fc("input",{...c,type:o,className:r(e.className,pr,C(pr,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:i||void 0,readOnly:l||void 0})};ve.states=mc;ve.options=uc;ve.className=pr;import{jsx as hi,jsxs as xc}from"react/jsx-runtime";var dr="k-input-inner",bc=[],hc={},Wt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:i,...l}=e;return xc("span",{...l,className:r(e.className,dr,C(dr,e)),children:[n,!n&&i&&hi(v,{className:"k-input-value-icon",icon:i}),a&&!t&&o,a&&t&&hi("span",{className:"k-input-value-text",children:t})]})};Wt.states=bc;Wt.options=hc;Wt.className=dr;import{jsx as vc}from"react/jsx-runtime";var cr="k-input-inner",gc=[],Nc={},xi={value:"",placeholder:""},ka=e=>{let{value:t=xi.value,placeholder:o=xi.placeholder,rows:a,disabled:n,...i}=e;return vc("textarea",{...i,className:r(e.className,cr,C(cr,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};ka.states=gc;ka.options=Nc;ka.className=cr;import{Fragment as Lc,jsx as gi}from"react/jsx-runtime";var Ni="k-input-loading-icon",kc=[s.disabled,s.loading],Ie=e=>{let{disabled:t,loading:o}=e;return t||!o?gi(Lc,{}):gi("span",{className:r(e.className,Ni,"k-icon k-i-loading")})};Ie.states=kc;Ie.className=Ni;import{Fragment as yc,jsx as vi}from"react/jsx-runtime";var ki="k-input-validation-icon",Mc=[s.valid,s.invalid,s.disabled,s.loading],Sc={},ke=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,i=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?vi(yc,{}):vi(v,{className:r(ki),icon:i})};ke.states=Mc;ke.options=Sc;ke.className=ki;import{Fragment as Ec,jsx as Li}from"react/jsx-runtime";var Ac="k-input-prefix",Cc={direction:"horizontal"},Fe=e=>{let{direction:t=Cc.direction,...o}=e;return e.children?Li("span",{...o,className:r(Ac,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Li(Ec,{})};import{Fragment as Oc,jsx as Mi}from"react/jsx-runtime";var Ic="k-input-suffix",Tc={direction:"horizontal"},Ge=e=>{let{direction:t=Tc.direction,...o}=e;return e.children?Mi("span",{...o,className:r(Ic,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Mi(Oc,{})};import{jsx as qk}from"react/jsx-runtime";import{jsx as Pc}from"react/jsx-runtime";var Bc="k-input-suffix-text",mr=e=>{let{children:t,...o}=e;return Pc("span",{...o,className:r(Bc,e.className),children:t})};import{jsx as Kc}from"react/jsx-runtime";var Si="k-input-separator",wc={direction:"vertical"},Ve=e=>{let{direction:t=wc.direction,...o}=e;return Kc("span",{...o,className:r(Si,e.className,{[`${Si}-${t}`]:t})})};import{Fragment as yi,jsx as dt,jsxs as ur}from"react/jsx-runtime";var Rc=Z.states,_c=Z.defaultOptions,Dc=Z.options,Hc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],zc=[],ho=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:i,readonly:l,...c}=e,u=t?.prefix,b=t?.suffix,h=t?.["clear-button"],N=t?.["validation-icon"],m=t?.separators;return ur(Z,{...c,valid:o,invalid:a,loading:n,disabled:i,readonly:l,style:{width:300},children:[u&&ur(yi,{children:[dt(Fe,{children:dt(v,{icon:"lock"})}),m&&dt(Ve,{})]}),dt(ve,{placeholder:"Placeholder",value:"Value"}),N&&dt(ke,{valid:o,invalid:a,loading:n,disabled:i}),dt(Ie,{loading:n,disabled:i}),h&&dt(Ke,{loading:n,disabled:i,readonly:l,value:"Value"}),b&&ur(yi,{children:[m&&dt(Ve,{}),dt(Ge,{children:dt(at,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};ho.options=Dc;ho.states=Rc;ho.variants=zc;ho.defaultOptions=_c;ho.modifiers=Hc;ho.className=Z.className;import{jsx as Ai,jsxs as Gc}from"react/jsx-runtime";var Ci="k-color-preview",Uc=[],Fc={},Ot=e=>{let{color:t,iconName:o,...a}=e;return Gc("span",{...a,className:r(e.className,Ci,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&Ai(v,{icon:o,className:"k-color-preview-icon"}),Ai("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ot.states=Uc;Ot.options=Fc;Ot.className=Ci;var fr="popup",Ei=fr;import{jsx as Ii}from"react/jsx-runtime";var Ti="k-animation-container",Vc=[],$c={},br={positionMode:"absolute",shown:!0},ct=e=>{let{positionMode:t=br.positionMode,shown:o=br.shown,animationStyle:a,offset:n,...i}=e;return Ii("div",{...i,style:{...n,...e.style},className:r(e.className,Ti,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Ii("div",{className:"k-child-animation-container",style:a,children:e.children})})};ct.states=Vc;ct.options=$c;ct.className=Ti;ct.defaultOptions=br;ct.moduleName=fr;ct.folderName=Ei;var hr="popup",Oi=hr;import{jsx as Bi}from"react/jsx-runtime";var Pi="k-popup",Xc=[],qc={},wi={positionMode:"absolute"},G=e=>{let{offset:t,positionMode:o=wi.positionMode,animationStyle:a,containerClassName:n,containerRole:i,containerAriaLabel:l,...c}=e;return Bi(ct,{positionMode:o,offset:t,animationStyle:a,className:n,role:i,"aria-label":l,children:Bi("div",{...c,className:r(e.className,Pi),children:e.children})})};G.states=Xc;G.options=qc;G.className=Pi;G.defaultOptions=wi;G.moduleName=hr;G.folderName=Oi;G.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 xr="action-buttons",Ki=xr;import{jsx as Yc}from"react/jsx-runtime";var an="k-actions",Wc=[],Jc={},gr={alignment:"start",orientation:"horizontal"},Re=e=>{let{alignment:t=gr.alignment,orientation:o=gr.orientation,...a}=e;return Yc("div",{...a,className:r(an,{[`${an}-${t}`]:t,[`${an}-${o}`]:o},e.className),children:e.children})};Re.states=Wc;Re.options=Jc;Re.className=an;Re.defaultOptions=gr;Re.moduleName=xr;Re.folderName=Ki;var Ri=Re;import{jsx as Qc}from"react/jsx-runtime";var Zc="k-actionsheet-footer",_i={alignment:"stretched",orientation:"horizontal"},Bt=e=>{let{alignment:t=_i.alignment,orientation:o=_i.orientation,template:a,as:n=a?"div":Re,...i}=e;return Qc(n,{...i,...!a&&{alignment:t,orientation:o},className:r(e.className,Zc),children:e.children})};var Nr="searchbox",Di=Nr;import{jsx as La,jsxs as tm}from"react/jsx-runtime";var Hi="k-searchbox",jc=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],em={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},vr={showIcon:!0,icon:"search"},$e=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:i,hover:l,focus:c,valid:u,invalid:b,required:h,loading:N,disabled:m,showIcon:L=vr.showIcon,icon:k=vr.icon,"aria-label":S,...A}=e;return tm(Z,{...A,size:a,rounded:n,fillMode:i,hover:l,focus:c,valid:u,invalid:b,required:h,loading:N,disabled:m,className:r(e.className,Hi),children:[L&&La(v,{className:"k-input-icon",icon:k}),La(ve,{placeholder:o,value:t,"aria-label":S}),La(Ie,{...e}),La(ke,{...e}),La(Ke,{...e})]})};$e.states=jc;$e.options=em;$e.className=Hi;$e.defaultOptions=vr;$e.moduleName=Nr;$e.folderName=Di;import{jsx as gM}from"react/jsx-runtime";var kr="textbox",zi=kr;import{Fragment as Ui,jsx as Pt,jsxs as Lr}from"react/jsx-runtime";var Fi="k-textbox",om=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],am={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},nn={showClearButton:!0,showValidationIcon:!0,separators:!0},ie=e=>{let{size:t,rounded:o,fillMode:a,separators:n=nn.separators,showClearButton:i=nn.showClearButton,showValidationIcon:l=nn.showValidationIcon,prefix:c,suffix:u,type:b,value:h,placeholder:N,hover:m,focus:L,valid:k,invalid:S,required:A,loading:y,disabled:E,readonly:$,id:pe,"aria-label":xe,"aria-describedby":ge,...Ne}=e;return Lr(Z,{...Ne,size:t,rounded:o,fillMode:a,hover:m,focus:L,valid:k,invalid:S,required:A,loading:y,disabled:E,readonly:$,className:r(e.className,Fi),children:[c&&Lr(Ui,{children:[Pt(Fe,{children:c}),n&&Pt(Ve,{})]}),Pt(ve,{id:pe,placeholder:N,value:h,type:b,disabled:E,"aria-label":xe,"aria-describedby":ge,"aria-invalid":S?"true":void 0}),l&&Pt(ke,{valid:k,invalid:S,loading:y,disabled:E}),Pt(Ie,{loading:y,disabled:E}),i&&Pt(Ke,{loading:y,disabled:E,readonly:$,value:h}),u&&Lr(Ui,{children:[n&&Pt(Ve,{}),Pt(Ge,{children:u})]})]})};ie.states=om;ie.options=am;ie.className=Fi;ie.defaultOptions=nn;ie.moduleName=kr;ie.folderName=zi;ie.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 Ma=ie;import{jsx as nm}from"react/jsx-runtime";var rn=e=>nm(Ma,{...e});import{Fragment as RM,jsx as KM}from"react/jsx-runtime";import{Fragment as FM,jsx as UM}from"react/jsx-runtime";import{jsx as XM}from"react/jsx-runtime";import{jsx as Mr}from"react/jsx-runtime";var rm=ie.states,sm=ie.defaultOptions,im=ie.options,lm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],pm=[],xo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Mr(v,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?Mr(at,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),Mr(rn,{value:"Value",style:{width:300},...o,...a})};xo.options=im;xo.states=rm;xo.variants=pm;xo.defaultOptions=sm;xo.modifiers=lm;xo.className=ie.className;import{jsx as wt,jsxs as Sr}from"react/jsx-runtime";var Gi="k-actionsheet-titlebar",dm={},Le=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:i,input:l,inputValue:c,inputPlaceholder:u,adaptive:b,titleId:h,children:N,...m}=e;return Sr("div",{...m,className:r(e.className,Gi),children:[Sr("div",{className:"k-actionsheet-titlebar-group",children:[a&&wt("div",{className:"k-actionsheet-actions",children:a}),!N&&Sr("div",{className:"k-actionsheet-title",id:h,children:[t&&wt("div",{className:"k-text-center",children:t}),o&&wt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&wt("div",{className:"k-actionsheet-title",id:h,children:N}),n&&wt("div",{className:"k-actionsheet-actions",children:n})]}),(l||i)&&wt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?wt(ie,{value:c,placeholder:u,size:b?"large":"medium","aria-label":t||u||"Input"}):wt($e,{placeholder:"Filter",size:b?"large":"medium","aria-label":"Filter options"})})]})};Le.className=Gi;Le.defaultOptions=dm;import{jsx as yr,jsxs as fm}from"react/jsx-runtime";var Ar="k-actionsheet-view",cm=[],mm={},um={},go=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:i,titleId:l,...c}=e,u=n?.type===Le&&yr(Le,{adaptive:t,titleId:l,...n?.props}),b=i?.type===Bt&&yr(Bt,{...i?.props});return fm("div",{...c,className:r(e.className,Ar,{[`${Ar}-animated`]:o}),children:[u,yr("div",{className:"k-actionsheet-content",children:a}),b]})};go.states=cm;go.options=mm;go.className=Ar;go.defaultOptions=um;var Sa="action-sheet",sn=Sa;var Cr="overlay",Vi=Cr;import{jsx as gm}from"react/jsx-runtime";var $i="k-overlay",bm=[],hm={},xm={},mt=e=>{let{...t}=e;return gm("div",{...t,className:r(e.className,$i),children:e.children})};mt.states=bm;mt.options=hm;mt.className=$i;mt.defaultOptions=xm;mt.moduleName=Cr;mt.folderName=Vi;import{jsx as ln,jsxs as km}from"react/jsx-runtime";var Xi="k-actionsheet",Nm=[],vm={},ya={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},J=e=>{let{side:t=ya.side,fullscreen:o=ya.fullscreen,adaptive:a=ya.adaptive,overlay:n=ya.overlay,template:i,children:l,header:c,footer:u,id:b,...h}=e,N=b&&!i&&c?`${b}-title`:void 0;return km("div",{className:"k-actionsheet-container",children:[n&&ln(mt,{}),ln(ct,{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:ln("div",{...h,id:b,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":N,className:r(e.className,Xi,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:i||ln(go,{header:c,footer:u,adaptive:a,titleId:N,...e,children:l})})})]})};J.states=Nm;J.options=vm;J.className=Xi;J.defaultOptions=ya;J.moduleName=Sa;J.folderName=sn;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 ym}from"react/jsx-runtime";var qi="k-actionsheet-container",Lm=[],Mm={},Sm={},No=e=>{let{children:t,...o}=e;return ym("div",{...o,className:qi,children:t})};No.states=Lm;No.options=Mm;No.className=qi;No.defaultOptions=Sm;No.moduleName=Sa;No.folderName=sn;import{jsx as Am}from"react/jsx-runtime";var Er=e=>{let{...t}=e;return Am("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Em,jsx as Aa,jsxs as Ir}from"react/jsx-runtime";var Tr="k-actionsheet-item",Cm=[s.hover,s.focus,s.selected,s.disabled],Kt=e=>{let{iconName:t,text:o,description:a,hover:n,focus:i,selected:l,disabled:c,...u}=e;return Ir("span",{...u,className:r(e.className,Tr,M(Tr,{hover:n,focus:i,selected:l,disabled:c})),children:[!e.children&&Aa(Em,{children:Ir("span",{className:"k-actionsheet-action",children:[t&&Aa("span",{className:"k-icon-wrap",children:Aa(v,{className:"k-actionsheet-item-icon",icon:t})}),Ir("span",{className:"k-actionsheet-item-text",children:[o&&Aa("span",{className:"k-actionsheet-item-title",children:o}),a&&Aa("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Kt.states=Cm;Kt.className=Tr;import{jsx as $S,jsxs as XS}from"react/jsx-runtime";import{jsx as YS}from"react/jsx-runtime";import{jsx as ey}from"react/jsx-runtime";import{jsx as ny}from"react/jsx-runtime";import{jsx as le,jsxs as Or}from"react/jsx-runtime";var Im=J.options,Tm=J.states,Ji={...J.defaultOptions,variant:"normal"},Om=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Bm=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],vo=e=>{let{variant:t,modifiers:o,...a}={...Ji,...e},n={},i=Or(Er,{children:[le(Kt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),le(Kt,{text:"Add to Favorites",iconName:"heart"}),le(Kt,{text:"Upload New",iconName:"upload",disabled:!0}),le("hr",{className:"k-hr"}),le(Kt,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",c="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(u=>{switch(u){case"actions":n.actionsStart=!!o?.[u],n.actionsEnd=!!o?.[u];break;case"subtitle":n.subtitle=o?.[u]?l:void 0;break;case"footer":n.footer=!!o?.[u];break;default:break}}),t==="adaptive"?le(J,{...a,adaptive:!0,fullscreen:n.fullScreen,header:le(Le,{actionsStart:n.actionsStart?le(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?le(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:n.subtitle}),footer:n.footer?Or(Bt,{alignment:"stretched",children:[le(p,{text:"Cancel",size:"large",themeColor:"base"}),le(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:i}):le(J,{...a,fullscreen:n.fullScreen,header:le(Le,{actionsStart:n.actionsStart?le(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?le(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Or(Bt,{alignment:"stretched",children:[le(p,{text:"Apply",themeColor:"primary"}),le(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:i})};vo.options=Im;vo.states=Tm;vo.variants=Om;vo.defaultOptions=Ji;vo.modifiers=Bm;vo.className=J.className;var Br="slider",Yi=Br;import{jsx as ko,jsxs as Pr}from"react/jsx-runtime";var Ca="k-slider",Pm=[s.hover,s.focus,s.active,s.disabled,s.readonly],wm={},Xe={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},U=e=>{let{type:t=Xe.type,orientation:o=Xe.orientation,gradientType:a=Xe.gradientType,readonly:n=Xe.readonly,disabled:i=Xe.disabled,handlePosition:l=Xe.handlePosition,showButtons:c=Xe.showButtons,showTicks:u=Xe.showTicks,value:b=Xe.value,min:h=Xe.min,max:N=Xe.max,startValue:m,endValue:L,hover:k,focus:S,active:A,trackStyle:y,dir:E,...$}=e,xe=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ge,Ne;return o==="horizontal"?(ge=E==="rtl"?"chevron-left":"chevron-right",Ne=E==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ge="chevron-up",Ne="chevron-down"),Pr("div",{...$,className:r(Ca,e.className,M(Ca,{readonly:n,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:E,children:[c&&ko(p,{className:"k-button-decrease",rounded:"full",icon:Ne,tabIndex:-1,title:"Decrease"}),Pr("div",{className:"k-slider-track-wrap",children:[u&&ko("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Pr("div",{className:"k-slider-track",style:y,children:[ko("div",{className:"k-slider-selection"}),t==="range"&&ko("span",{className:r("k-draghandle","k-draghandle-start",M(Ca,{hover:k,focus:S,active:A})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":m??h,"aria-valuemin":h,"aria-valuemax":L??N,"aria-orientation":xe,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":$["aria-label"]?`${$["aria-label"]} start`:"Range start"}),ko("span",{className:r("k-draghandle",`k-draghandle-${l}`,M(Ca,{hover:k,focus:S,active:A})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":t==="range"?L??N:b,"aria-valuemin":t==="range"?m??h:h,"aria-valuemax":N,"aria-orientation":xe,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?$["aria-label"]?`${$["aria-label"]} end`:"Range end":$["aria-label"]})]})]}),c&&ko(p,{className:"k-button-increase",rounded:"full",icon:ge,tabIndex:-1,title:"Increase"})]})};U.states=Pm;U.options=wm;U.className=Ca;U.defaultOptions=Xe;U.moduleName=Br;U.folderName=Yi;U.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 Zi}from"react/jsx-runtime";var Qi="k-tick",Km=[],Rm={},ji={label:!1},I=e=>{let{style:t,label:o=ji.label,orientation:a,large:n,text:i,...l}=e;return Zi("li",{...l,role:"presentation",title:i||"Tick",className:r(e.className,Qi,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&Zi("span",{className:"k-label",children:i})})};I.states=Km;I.options=Rm;I.className=Qi;I.defaultOptions=ji;import{Fragment as _m,jsx as qe,jsxs as Dm}from"react/jsx-runtime";var el=e=>qe(U,{"aria-label":e["aria-label"]||"Slider",children:Dm(_m,{children:[qe(I,{className:"k-first",label:!0,large:!0,text:"0"}),qe(I,{}),qe(I,{}),qe(I,{}),qe(I,{}),qe(I,{label:!0,large:!0,text:"5"}),qe(I,{}),qe(I,{}),qe(I,{}),qe(I,{}),qe(I,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as Hm,jsx as We,jsxs as zm}from"react/jsx-runtime";var tl=e=>We(U,{children:zm(Hm,{children:[We(I,{className:"k-first",label:!0,large:!0,text:"0"}),We(I,{}),We(I,{}),We(I,{}),We(I,{}),We(I,{label:!0,large:!0,text:"5"}),We(I,{}),We(I,{}),We(I,{}),We(I,{}),We(I,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as Xy,jsx as $y,jsxs as qy}from"react/jsx-runtime";import{Fragment as Qy,jsx as Zy,jsxs as jy}from"react/jsx-runtime";import{jsx as Um}from"react/jsx-runtime";var wr=e=>Um(U,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as Fm}from"react/jsx-runtime";var Kr=e=>Fm(U,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as dA,jsx as pA,jsxs as cA}from"react/jsx-runtime";import{Fragment as hA,jsx as bA,jsxs as xA}from"react/jsx-runtime";import{jsx as ut,jsxs as ol}from"react/jsx-runtime";var Gm=U.options,Vm=U.states,al={...U.defaultOptions,variant:"horizontal",label:!0},$m=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Xm=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Lo=e=>{let{variant:t,modifiers:o,...a}=e,n=al.label,i={};Object.keys(o||{}).forEach(c=>{switch(c){case"button":{i.showButtons=!!o?.[c];break}case"label":{n=!!o?.[c];break}case"tick":{i.showTicks=!!o?.[c];break}}});let l={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?ol(tl,{style:{height:"300px",...l},...a,...i,children:[ut(I,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),ut(I,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),ut(I,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),ut(I,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),ut(I,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):ol(el,{style:{width:"400px",...l},...a,...i,children:[ut(I,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),ut(I,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),ut(I,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),ut(I,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),ut(I,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Lo.options=Gm;Lo.states=Vm;Lo.variants=$m;Lo.defaultOptions=al;Lo.modifiers=Xm;Lo.className=U.className;import{jsx as nl,jsxs as Zm}from"react/jsx-runtime";var rl="k-spin-button",Jm=[],Ym={size:[d.undefined,d.small,d.medium,d.large],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},Rr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Rt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Rr.increaseLabel,decreaseLabel:i=Rr.decreaseLabel,...l}=e;return Zm("span",{...l,className:r(rl,e.className),children:[nl(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),nl(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":i})]})};Rt.states=Jm;Rt.options=Ym;Rt.className=rl;Rt.defaultOptions=Rr;Rt.moduleName=null;Rt.folderName=null;var sl="numeric-textbox",il="numerictextbox";import{Fragment as ll,jsx as kt,jsxs as _r}from"react/jsx-runtime";var pl="k-numerictextbox",Qm=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],jm={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},pn={showSpinButton:!0,showClearButton:!0,separators:!0},_=e=>{let{size:t,rounded:o,fillMode:a,separators:n=pn.separators,showClearButton:i=pn.showClearButton,showSpinButton:l=pn.showSpinButton,prefix:c,suffix:u,value:b,placeholder:h,hover:N,focus:m,valid:L,invalid:k,required:S,loading:A,disabled:y,readonly:E,id:$,"aria-label":pe,"aria-describedby":xe,...ge}=e;return _r(Z,{...ge,size:t,rounded:o,fillMode:a,hover:N,focus:m,valid:L,invalid:k,required:S,loading:A,disabled:y,readonly:E,className:r(e.className,pl),children:[c&&_r(ll,{children:[kt(Fe,{children:c}),n&&kt(Ve,{})]}),kt(ve,{id:$,placeholder:h,value:b,role:"spinbutton",disabled:y,"aria-label":pe,"aria-describedby":xe,"aria-invalid":k?"true":void 0}),kt(ke,{valid:L,invalid:k,loading:A,disabled:y}),kt(Ie,{loading:A,disabled:y}),i&&kt(Ke,{loading:A,disabled:y,readonly:E,value:b}),u&&_r(ll,{children:[n&&kt(Ve,{}),kt(Ge,{children:u})]}),l&&kt(Rt,{className:"k-input-spinner",size:t,fillMode:a,disabled:y})]})};_.states=Qm;_.options=jm;_.className=pl;_.defaultOptions=pn;_.moduleName=sl;_.folderName=il;_.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 Ea=_;import{jsx as eu}from"react/jsx-runtime";var dl=e=>eu(Ea,{...e});import Hr from"react";import{jsx as cl}from"react/jsx-runtime";var tu="k-list-group-sticky-header",Dr=e=>cl("div",{className:r(tu,e.className),children:cl("div",{className:"k-list-header-text",children:e.children})});import{jsx as au}from"react/jsx-runtime";var ou="k-no-data",dn=e=>{let{live:t,...o}=e;return au("span",{...o,className:r(ou,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Jt="list",Mo=Jt;import{jsx as ml,jsxs as ul}from"react/jsx-runtime";var zr="k-list",nu=[],ru={size:[d.undefined,d.small,d.medium,d.large]},su={},K=e=>{let{size:t,virtualization:o,children:a,header:n,selectAll:i,optionLabel:l,customValue:c,noData:u,screenReaders:b,...h}=e,m=Hr.Children.toArray(a)[0],L=m?.props?.children?Hr.Children.count(m.props.children):Hr.Children.count(a);return ul("div",{...h,className:r(e.className,zr,C(zr,{size:t}),{"k-virtual-list":o}),children:[l,i,c,n&&ml(Dr,{children:n}),a||(u!==void 0?u:ml(dn,{live:!0,children:"No data found."})),b&&a&&ul(dn,{className:"k-sr-only",live:!0,children:[L," items found."]})]})};K.states=nu;K.options=ru;K.className=zr;K.defaultOptions=su;K.moduleName=Jt;K.folderName=Mo;K.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 du}from"react/jsx-runtime";var fl="k-list-container",iu=[],lu={},pu={},So=e=>{let{...t}=e;return du("div",{...t,className:r(e.className,fl),children:e.children})};So.states=iu;So.options=lu;So.className=fl;So.defaultOptions=pu;So.moduleName=Jt;So.folderName=Mo;var Yt="checkbox",yo=Yt;import{jsx as bl}from"react/jsx-runtime";var cn="k-checkbox",cu=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.checked,s.indeterminate],mu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},uu={},Te=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:i,disabled:l,invalid:c,valid:u,required:b,size:h,rounded:N,wrapperRole:m,...L}=e;return bl("span",{className:"k-checkbox-wrap",role:m,children:bl("input",{...L,id:t,type:"checkbox",defaultChecked:o,required:b,disabled:l||void 0,"aria-invalid":c?"true":void 0,className:r(e.className,cn,C(cn,{size:h,rounded:N}),M(cn,{hover:n,focus:i,disabled:l,invalid:c,valid:u,indeterminate:a,checked:o}))})})};Te.states=cu;Te.options=mu;Te.className=cn;Te.defaultOptions=uu;Te.moduleName=Yt;Te.folderName=yo;Te.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 nt=Te;import{jsx as hu}from"react/jsx-runtime";var hl="k-checkbox-list",fu=[],bu={},xl={layout:"vertical"},Me=e=>{let{layout:t=xl.layout,...o}=e;return hu("ul",{...o,className:r(e.className,hl,{[`k-list-${t}`]:t}),children:e.children})};Me.states=fu;Me.options=bu;Me.className=hl;Me.defaultOptions=xl;Me.moduleName=Yt;Me.folderName=yo;import{jsx as vu}from"react/jsx-runtime";var gl="k-checkbox-list-item",xu=[],gu={},Nu={},Se=e=>{let{...t}=e;return vu("li",{...t,className:r(e.className,gl),children:e.children})};Se.states=xu;Se.options=gu;Se.className=gl;Se.defaultOptions=Nu;Se.moduleName=Yt;Se.folderName=yo;import{Fragment as ku,jsx as Nl,jsxs as Lu}from"react/jsx-runtime";var Lt=({children:e="Label",id:t="cb-label-after",...o})=>Lu(ku,{children:[Nl(nt,{id:t,...o}),Nl("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as UC,jsx as zC,jsxs as FC}from"react/jsx-runtime";import{Fragment as qC,jsx as XC,jsxs as WC}from"react/jsx-runtime";import{Fragment as jC,jsx as QC,jsxs as eE}from"react/jsx-runtime";import{jsx as nE}from"react/jsx-runtime";import{jsx as lE}from"react/jsx-runtime";import{jsx as mE}from"react/jsx-runtime";import{jsx as Je,jsxs as vl}from"react/jsx-runtime";var Mu=Me.options,Su=Me.states,yu={...Me.defaultOptions,variant:"vertical"},Au=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Cu=[],Ao=e=>{let{variant:t,...o}=e;return t==="horizontal"?vl(Me,{layout:"horizontal",...o,children:[Je(Se,{children:Je(Lt,{id:w("cb"),defaultChecked:!0,children:"Label"})}),Je(Se,{children:Je(Lt,{id:w("cb"),children:"Label"})}),Je(Se,{children:Je(Lt,{id:w("cb"),children:"Label"})})]}):vl(Me,{...o,children:[Je(Se,{children:Je(Lt,{id:w("cb"),defaultChecked:!0,children:"Label"})}),Je(Se,{children:Je(Lt,{id:w("cb"),children:"Label"})}),Je(Se,{children:Je(Lt,{id:w("cb"),children:"Label"})})]})};Ao.options=Mu;Ao.states=Su;Ao.variants=Au;Ao.defaultOptions=yu;Ao.modifiers=Cu;Ao.className=Me.className;import{jsx as Pu}from"react/jsx-runtime";var Eu=nt.options,Iu=nt.states,Tu=nt.defaultOptions,Ou=[],Bu=[],Co=e=>Pu(Lt,{id:w("checkbox"),...e,defaultChecked:!0,children:"Label"});Co.options=Eu;Co.states=Iu;Co.variants=Ou;Co.defaultOptions=Tu;Co.modifiers=Bu;Co.className=nt.className;import{jsx as Zt,jsxs as _u}from"react/jsx-runtime";var Ur="k-list-item",wu=[s.hover,s.focus,s.selected,s.disabled],Ku={},Ru={},O=e=>{let{text:t,groupLabel:o,group:a,iconName:n,iconClassName:i,showCheckbox:l,checked:c,hover:u,focus:b,selected:h,disabled:N,actions:m,description:L,id:k,...S}=e,A=t||e.children;return _u("li",{...S,id:k,role:a?"presentation":"option",tabIndex:a?void 0:b?0:-1,"aria-selected":!a&&h?"true":a?void 0:"false","aria-disabled":!a&&N?"true":void 0,className:r(e.className,a?"k-list-group-item":Ur,M(Ur,{hover:u,focus:b,disabled:N,selected:h})),children:[l&&Zt(Te,{checked:c}),n&&Zt("span",{className:"k-list-item-icon-wrapper",children:Zt(v,{icon:n,className:r("k-list-item-icon",i)})}),Zt("span",{className:"k-list-item-text",children:A}),m&&Zt("div",{className:"k-list-item-actions",children:m}),L&&Zt("span",{className:"k-list-item-description",children:L}),o&&o!==""&&Zt("div",{className:"k-list-item-group-label",children:o})]})};O.states=wu;O.options=Ku;O.className=Ur;O.defaultOptions=Ru;O.moduleName=Jt;O.folderName=Mo;O.ariaSpec={selector:".k-list-item",rules:[{selector:".k-list-item",attribute:"role=option",usage:"Each list item is an option in the listbox."},{selector:".k-list-item",attribute:"id",usage:"ID for aria-activedescendant reference."},{selector:".k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state of the option."},{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-item-icon",attribute:"aria-hidden=true",usage:"Decorative icons are hidden from assistive technology."}]};import{jsx as Hu}from"react/jsx-runtime";var Du="k-list-ul