@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 121 kB
JavaScript
var i=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?i(...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)=>i({[`${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"}),T=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:s,checked:c,active:u,selected:h,disabled:x,indeterminate:b,loading:N,empty:p,readonly:g,highlighted:k,...M}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":c,"k-active":u,"k-selected":h,"k-disabled":x,"k-indeterminate":b&&!c,"k-loading":N,"k-empty":p,"k-readonly":g,"k-highlighted":k},Object.keys(M).reduce((I,S)=>(S.startsWith("k-")?I[S]=M[S]:I[`k-${S}`]=M[S],I),{}))};function Dn(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},m={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},De={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},v={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},r={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 fa={};function K(e){return fa[e]=(fa[e]||0)+1,`k-${e}-${fa[e]}`}import{Fragment as is,jsx as Hn}from"react/jsx-runtime";var ba="k-font-icon",as=[],ns={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},rs={},fo=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...c}=e;return a?Hn("span",{...c,className:i(e.className,ba,C(ba,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):Hn(is,{})};fo.states=as;fo.options=ns;fo.className=ba;fo.defaultOptions=rs;var zn=fo;import{Fragment as ds,jsx as _o}from"react/jsx-runtime";var ha="k-svg-icon",ss=[],ls={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info],variant:[De.outline,De.solid,De.duotone]},xa={viewBox:"0 0 24 24",variant:De.outline},bo=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=xa.viewBox,variant:c=xa.variant,icon:u,...h}=e;if(!u)return _o(ds,{});if(u==="none")return _o("span",{...h,className:i(e.className,ha,C("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof u=="object"&&u.name&&u.name,b=typeof u=="object"?c&&u.variants?.[c]||u.variants?.outline||u.content:void 0;return _o("span",{...h,className:i(e.className,ha,C("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`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:_o("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof u=="object"?u.viewBox:s,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:u?void 0:e.children})})};bo.states=ss;bo.options=ls;bo.className=ha;bo.defaultOptions=xa;var Na=bo;import*as ka from"@progress/kendo-svg-icons";var Un="icon",Gn="icons";import{useContext as ps}from"react";import{createContext as cs}from"react";var Fn=cs({iconsType:"svg"});import{Fragment as Vn,jsx as ho}from"react/jsx-runtime";var Do="k-icon",us=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),ms=[],fs={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info],variant:[De.outline,De.solid,De.duotone]},Ho={viewBox:"0 0 24 24",type:"svg",variant:De.outline},L=e=>{let{iconsType:t}=ps(Fn),{size:o,themeColor:a,icon:n,type:s=t||Ho.type,rotate:c,flip:u,viewBox:h=Ho.viewBox,variant:x=Ho.variant,...b}=e;if(!n)return ho(Vn,{});if((t||s)==="svg"){if(n==="none")return ho(Na,{...b,className:i(e.className,Do),icon:n,size:o,variant:x});let p=ka[n]?n:us(`${n}-icon`);return ka[p]?ho(Na,{...b,className:i(e.className,Do),icon:ka[p],size:o,themeColor:a,rotate:c,flip:u,viewBox:h,variant:x}):ho(Vn,{})}return ho(zn,{...b,className:i(e.className,Do),icon:n,size:o,themeColor:a,rotate:c,flip:u})};L.states=ms;L.options=fs;L.defaultOptions=Ho;L.className=Do;L.moduleName=Un;L.folderName=Gn;L.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 va="button",$n=va;import{Fragment as Xn,jsx as At,jsxs as qn}from"react/jsx-runtime";var xo="k-button",bs=["icon-button"],hs=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],xs={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},ga={showArrow:!1,arrowIconName:"chevron-down"},d=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:c=ga.showArrow,arrowIconName:u=ga.arrowIconName,variant:h,hover:x,focus:b,active:N,selected:p,disabled:g,togglable:k,ariaDisabled:M,icon:I,iconSize:S,text:O,iconClassName:X,className:te,...re}=e,ie=I!=null,se=e.children!==void 0;return qn(t,{className:i(te,xo,Dn(xo,h),C(xo,{size:o,rounded:a,fillMode:n,themeColor:s}),T(xo,{hover:x,focus:b,active:N,disabled:g||M,selected:p}),{"k-icon-button":!O&&!se&&ie}),"aria-pressed":k?p?"true":"false":void 0,...re,"aria-disabled":M?"true":void 0,disabled:g||void 0,children:[typeof I=="string"&&I&&At(L,{className:i(X,"k-button-icon"),icon:I,size:S}),I&&typeof I!="string"&&At(Xn,{children:I}),O?qn(Xn,{children:[O&&At("span",{className:"k-button-text",children:O}),e.children]}):e.children&&At("span",{className:"k-button-text",children:e.children}),c&&At("span",{className:"k-menu-button-arrow k-button-arrow",children:At(L,{icon:u})})]})};d.states=hs;d.options=xs;d.variants=bs;d.className=xo;d.defaultOptions=ga;d.moduleName=va;d.folderName=$n;d.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 Ns}from"react/jsx-runtime";var tt=e=>Ns(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as ks}from"react/jsx-runtime";var No=e=>ks(d,{icon:"folder",children:"Button",...e});import{jsx as vs}from"react/jsx-runtime";var bt=e=>vs(d,{children:"Button",...e});import{jsx as La}from"react/jsx-runtime";var gs=d.options,Ls=d.states,Ms={...d.defaultOptions,variant:"text"},Ss=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Is=[],Ot=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return La(tt,{...o,icon:"star"});case"icon-and-text":return La(No,{...o,icon:"star",children:"Button"});default:return La(bt,{...o,children:"Button"})}};Ot.options=gs;Ot.states=Ls;Ot.variants=Ss;Ot.defaultOptions=Ms;Ot.modifiers=Is;Ot.className=d.className;var Ma="button",Jn=Ma;import{jsx as Es}from"react/jsx-runtime";var ko="k-button-group",Cs=[r.disabled],ys={fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},Ts={},E=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return Es("div",{role:"group",...n,className:i(e.className,ko,C(ko,{fillMode:t}),T(ko,{disabled:o}),{[`${ko}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};E.states=Cs;E.options=ys;E.className=ko;E.defaultOptions=Ts;E.moduleName=Ma;E.folderName=Jn;E.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 vf,jsx as kf,jsxs as gf}from"react/jsx-runtime";import{Fragment as yf,jsx as Cf,jsxs as Tf}from"react/jsx-runtime";import{Fragment as Pf,jsx as Bf,jsxs as Rf}from"react/jsx-runtime";import{Fragment as Uf,jsx as zf,jsxs as Gf}from"react/jsx-runtime";import{Fragment as Jf,jsx as qf,jsxs as Wf}from"react/jsx-runtime";import{Fragment as tb,jsx as eb,jsxs as ob}from"react/jsx-runtime";import{jsx as Xe,jsxs as Sa}from"react/jsx-runtime";var As={...d.options,...E.options},Os=d.states,ws={...d.defaultOptions,...E.defaultOptions,variant:"text-button"},Bs=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Ps=[],wt=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?Sa(E,{fillMode:a.fillMode,className:o,children:[Xe(d,{...a,icon:"star"}),Xe(d,{...a,icon:"star"}),Xe(d,{...a,icon:"star"})]}):t==="icon-text-button"?Sa(E,{fillMode:a.fillMode,className:o,children:[Xe(d,{...a,icon:"star",children:"First"}),Xe(d,{...a,icon:"star",children:"Middle"}),Xe(d,{...a,icon:"star",children:"Last"})]}):Sa(E,{fillMode:a.fillMode,className:o,children:[Xe(d,{...a,children:"First"}),Xe(d,{...a,children:"Middle"}),Xe(d,{...a,children:"Last"})]})};wt.options=As;wt.states=Os;wt.variants=Bs;wt.defaultOptions=ws;wt.modifiers=Ps;wt.className=E.className;var vo="input",zo=vo;import{jsx as Ds}from"react/jsx-runtime";var Uo="k-input",Rs=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Ks={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},_s={},q=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u,size:h,rounded:x,fillMode:b,...N}=e;return Ds("span",{...N,className:i(e.className,Uo,C(Uo,{size:h,rounded:x,fillMode:b}),T(Uo,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u}))})};q.states=Rs;q.options=Ks;q.className=Uo;q.defaultOptions=_s;q.moduleName=vo;q.folderName=zo;import{jsx as Gs}from"react/jsx-runtime";var Go="k-picker",Hs=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],zs={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Us={},He=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u,size:h,rounded:x,fillMode:b,...N}=e;return Gs("span",{...N,className:i(e.className,Go,C(Go,{size:h,rounded:x,fillMode:b}),T(Go,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u})),children:e.children})};He.states=Hs;He.options=zs;He.className=Go;He.defaultOptions=Us;He.moduleName=vo;He.folderName=zo;import{Fragment as $s,jsx as Ia}from"react/jsx-runtime";var Wn="k-clear-value",Fs=[r.disabled,r.loading,r.readonly],Vs={},xe=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?Ia($s,{}):Ia("span",{className:i(e.className,Wn),children:Ia(L,{icon:"x"})})};xe.states=Fs;xe.options=Vs;xe.className=Wn;import{jsx as Js}from"react/jsx-runtime";var Ca="k-input-inner",Xs=[],qs={},Fo={type:"text",autocomplete:"off",value:"",placeholder:""},Ne=e=>{let{value:t=Fo.value,type:o=Fo.type,placeholder:a=Fo.placeholder,autocomplete:n=Fo.autocomplete,disabled:s,readOnly:c,...u}=e;return Js("input",{...u,type:o,className:i(e.className,Ca,C(Ca,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:c||void 0})};Ne.states=Xs;Ne.options=qs;Ne.className=Ca;import{jsx as Yn,jsxs as Qs}from"react/jsx-runtime";var ya="k-input-inner",Ws=[],Ys={},ht=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...c}=e;return Qs("span",{...c,className:i(e.className,ya,C(ya,e)),children:[n,!n&&s&&Yn(L,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&Yn("span",{className:"k-input-value-text",children:t})]})};ht.states=Ws;ht.options=Ys;ht.className=ya;import{jsx as el}from"react/jsx-runtime";var Ta="k-input-inner",Zs=[],js={},Qn={value:"",placeholder:""},Ea=e=>{let{value:t=Qn.value,placeholder:o=Qn.placeholder,rows:a,disabled:n,...s}=e;return el("textarea",{...s,className:i(e.className,Ta,C(Ta,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Ea.states=Zs;Ea.options=js;Ea.className=Ta;import{Fragment as ol,jsx as Zn}from"react/jsx-runtime";var jn="k-input-loading-icon",tl=[r.disabled,r.loading],fe=e=>{let{disabled:t,loading:o}=e;return t||!o?Zn(ol,{}):Zn("span",{className:i(e.className,jn,"k-icon k-i-loading")})};fe.states=tl;fe.className=jn;import{Fragment as rl,jsx as er}from"react/jsx-runtime";var tr="k-input-validation-icon",al=[r.valid,r.invalid,r.disabled,r.loading],nl={},le=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?er(rl,{}):er(L,{className:i(tr),icon:s})};le.states=al;le.options=nl;le.className=tr;import{Fragment as ll,jsx as or}from"react/jsx-runtime";var il="k-input-prefix",sl={direction:"horizontal"},Se=e=>{let{direction:t=sl.direction,...o}=e;return e.children?or("span",{...o,className:i(il,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):or(ll,{})};import{Fragment as pl,jsx as ar}from"react/jsx-runtime";var dl="k-input-suffix",cl={direction:"horizontal"},Ie=e=>{let{direction:t=cl.direction,...o}=e;return e.children?ar("span",{...o,className:i(dl,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):ar(pl,{})};import{jsx as oh}from"react/jsx-runtime";import{jsx as ml}from"react/jsx-runtime";var ul="k-input-suffix-text",Aa=e=>{let{children:t,...o}=e;return ml("span",{...o,className:i(ul,e.className),children:t})};import{jsx as bl}from"react/jsx-runtime";var nr="k-input-separator",fl={direction:"vertical"},Ce=e=>{let{direction:t=fl.direction,...o}=e;return bl("span",{...o,className:i(nr,e.className,{[`${nr}-${t}`]:t})})};import{Fragment as rr,jsx as ze,jsxs as Oa}from"react/jsx-runtime";var hl=q.states,xl=q.defaultOptions,Nl=q.options,kl=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],vl=[],Bt=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:s,readonly:c,...u}=e,h=t?.prefix,x=t?.suffix,b=t?.["clear-button"],N=t?.["validation-icon"],p=t?.separators;return Oa(q,{...u,valid:o,invalid:a,loading:n,disabled:s,readonly:c,style:{width:300},children:[h&&Oa(rr,{children:[ze(Se,{children:ze(L,{icon:"lock"})}),p&&ze(Ce,{})]}),ze(Ne,{placeholder:"Placeholder",value:"Value"}),N&&ze(le,{valid:o,invalid:a,loading:n,disabled:s}),ze(fe,{loading:n,disabled:s}),b&&ze(xe,{loading:n,disabled:s,readonly:c,value:"Value"}),x&&Oa(rr,{children:[p&&ze(Ce,{}),ze(Ie,{children:ze(bt,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};Bt.options=Nl;Bt.states=hl;Bt.variants=vl;Bt.defaultOptions=xl;Bt.modifiers=kl;Bt.className=q.className;import{jsx as ir,jsxs as Ml}from"react/jsx-runtime";var sr="k-color-preview",gl=[],Ll={},ot=e=>{let{color:t,iconName:o,...a}=e;return Ml("span",{...a,className:i(e.className,sr,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&ir(L,{icon:o,className:"k-color-preview-icon"}),ir("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};ot.states=gl;ot.options=Ll;ot.className=sr;var wa="popup",lr=wa;import{jsx as dr}from"react/jsx-runtime";var cr="k-animation-container",Sl=[],Il={},Ba={positionMode:"absolute",shown:!0},Ue=e=>{let{positionMode:t=Ba.positionMode,shown:o=Ba.shown,animationStyle:a,offset:n,...s}=e;return dr("div",{...s,style:{...n,...e.style},className:i(e.className,cr,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:dr("div",{className:"k-child-animation-container",style:a,children:e.children})})};Ue.states=Sl;Ue.options=Il;Ue.className=cr;Ue.defaultOptions=Ba;Ue.moduleName=wa;Ue.folderName=lr;var Pa="popup",pr=Pa;import{jsx as ur}from"react/jsx-runtime";var mr="k-popup",Cl=[],yl={},fr={positionMode:"absolute"},G=e=>{let{offset:t,positionMode:o=fr.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:c,...u}=e;return ur(Ue,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":c,children:ur("div",{...u,className:i(e.className,mr),children:e.children})})};G.states=Cl;G.options=yl;G.className=mr;G.defaultOptions=fr;G.moduleName=Pa;G.folderName=pr;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 Ra="action-buttons",br=Ra;import{jsx as Al}from"react/jsx-runtime";var Vo="k-actions",Tl=[],El={},Ka={alignment:"start",orientation:"horizontal"},Ge=e=>{let{alignment:t=Ka.alignment,orientation:o=Ka.orientation,...a}=e;return Al("div",{...a,className:i(Vo,{[`${Vo}-${t}`]:t,[`${Vo}-${o}`]:o},e.className),children:e.children})};Ge.states=Tl;Ge.options=El;Ge.className=Vo;Ge.defaultOptions=Ka;Ge.moduleName=Ra;Ge.folderName=br;import{jsx as wl}from"react/jsx-runtime";var Ol="k-actionsheet-footer",hr={alignment:"stretched",orientation:"horizontal"},at=e=>{let{alignment:t=hr.alignment,orientation:o=hr.orientation,template:a,as:n=a?"div":Ge,...s}=e;return wl(n,{...s,...!a&&{alignment:t,orientation:o},className:i(e.className,Ol),children:e.children})};var _a="searchbox",xr=_a;import{jsx as go,jsxs as Rl}from"react/jsx-runtime";var Nr="k-searchbox",Bl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],Pl={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Da={showIcon:!0,icon:"search"},ye=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:c,focus:u,valid:h,invalid:x,required:b,loading:N,disabled:p,showIcon:g=Da.showIcon,icon:k=Da.icon,"aria-label":M,...I}=e;return Rl(q,{...I,size:a,rounded:n,fillMode:s,hover:c,focus:u,valid:h,invalid:x,required:b,loading:N,disabled:p,className:i(e.className,Nr),children:[g&&go(L,{className:"k-input-icon",icon:k}),go(Ne,{placeholder:o,value:t,"aria-label":M}),go(fe,{...e}),go(le,{...e}),go(xe,{...e})]})};ye.states=Bl;ye.options=Pl;ye.className=Nr;ye.defaultOptions=Da;ye.moduleName=_a;ye.folderName=xr;import{jsx as yx}from"react/jsx-runtime";var Ha="textbox",kr=Ha;import{Fragment as vr,jsx as nt,jsxs as za}from"react/jsx-runtime";var gr="k-textbox",Kl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],_l={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},$o={showClearButton:!0,showValidationIcon:!0,separators:!0},j=e=>{let{size:t,rounded:o,fillMode:a,separators:n=$o.separators,showClearButton:s=$o.showClearButton,showValidationIcon:c=$o.showValidationIcon,prefix:u,suffix:h,type:x,value:b,placeholder:N,hover:p,focus:g,valid:k,invalid:M,required:I,loading:S,disabled:O,readonly:X,id:te,"aria-label":re,"aria-describedby":ie,...se}=e;return za(q,{...se,size:t,rounded:o,fillMode:a,hover:p,focus:g,valid:k,invalid:M,required:I,loading:S,disabled:O,readonly:X,className:i(e.className,gr),children:[u&&za(vr,{children:[nt(Se,{children:u}),n&&nt(Ce,{})]}),nt(Ne,{id:te,placeholder:N,value:b,type:x,disabled:O,"aria-label":re,"aria-describedby":ie,"aria-invalid":M?"true":void 0}),c&&nt(le,{valid:k,invalid:M,loading:S,disabled:O}),nt(fe,{loading:S,disabled:O}),s&&nt(xe,{loading:S,disabled:O,readonly:X,value:b}),h&&za(vr,{children:[n&&nt(Ce,{}),nt(Ie,{children:h})]})]})};j.states=Kl;j.options=_l;j.className=gr;j.defaultOptions=$o;j.moduleName=Ha;j.folderName=kr;j.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 Lo=j;import{jsx as Dl}from"react/jsx-runtime";var Lr=e=>Dl(Lo,{...e});import{Fragment as $x,jsx as Vx}from"react/jsx-runtime";import{Fragment as Qx,jsx as Yx}from"react/jsx-runtime";import{jsx as tN}from"react/jsx-runtime";import{jsx as Ua}from"react/jsx-runtime";var Hl=j.states,zl=j.defaultOptions,Ul=j.options,Gl=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Fl=[],Pt=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Ua(L,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?Ua(bt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),Ua(Lr,{value:"Value",style:{width:300},...o,...a})};Pt.options=Ul;Pt.states=Hl;Pt.variants=Fl;Pt.defaultOptions=zl;Pt.modifiers=Gl;Pt.className=j.className;import{jsx as rt,jsxs as Ga}from"react/jsx-runtime";var Mr="k-actionsheet-titlebar",Vl={},de=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:c,inputValue:u,inputPlaceholder:h,adaptive:x,titleId:b,children:N,...p}=e;return Ga("div",{...p,className:i(e.className,Mr),children:[Ga("div",{className:"k-actionsheet-titlebar-group",children:[a&&rt("div",{className:"k-actionsheet-actions",children:a}),!N&&Ga("div",{className:"k-actionsheet-title",id:b,children:[t&&rt("div",{className:"k-text-center",children:t}),o&&rt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&rt("div",{className:"k-actionsheet-title",id:b,children:N}),n&&rt("div",{className:"k-actionsheet-actions",children:n})]}),(c||s)&&rt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?rt(j,{value:u,placeholder:h,size:x?"large":"medium","aria-label":t||h||"Input"}):rt(ye,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};de.className=Mr;de.defaultOptions=Vl;import{jsx as Fa,jsxs as Jl}from"react/jsx-runtime";var Va="k-actionsheet-view",$l=[],Xl={},ql={},Rt=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:c,...u}=e,h=n?.type===de&&Fa(de,{adaptive:t,titleId:c,...n?.props}),x=s?.type===at&&Fa(at,{...s?.props});return Jl("div",{...u,className:i(e.className,Va,{[`${Va}-animated`]:o}),children:[h,Fa("div",{className:"k-actionsheet-content",children:a}),x]})};Rt.states=$l;Rt.options=Xl;Rt.className=Va;Rt.defaultOptions=ql;var Mo="action-sheet",Xo=Mo;var $a="overlay",Sr=$a;import{jsx as Zl}from"react/jsx-runtime";var Ir="k-overlay",Wl=[],Yl={},Ql={},it=e=>{let{...t}=e;return Zl("div",{...t,className:i(e.className,Ir),children:e.children})};it.states=Wl;it.options=Yl;it.className=Ir;it.defaultOptions=Ql;it.moduleName=$a;it.folderName=Sr;import{jsx as qo,jsxs as td}from"react/jsx-runtime";var Cr="k-actionsheet",jl=[],ed={},So={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},V=e=>{let{side:t=So.side,fullscreen:o=So.fullscreen,adaptive:a=So.adaptive,overlay:n=So.overlay,template:s,children:c,header:u,footer:h,id:x,...b}=e,N=x&&!s&&u?`${x}-title`:void 0;return td("div",{className:"k-actionsheet-container",children:[n&&qo(it,{}),qo(Ue,{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:qo("div",{...b,id:x,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":N,className:i(e.className,Cr,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||qo(Rt,{header:u,footer:h,adaptive:a,titleId:N,...e,children:c})})})]})};V.states=jl;V.options=ed;V.className=Cr;V.defaultOptions=So;V.moduleName=Mo;V.folderName=Xo;V.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};import{jsx as rd}from"react/jsx-runtime";var yr="k-actionsheet-container",od=[],ad={},nd={},Kt=e=>{let{children:t,...o}=e;return rd("div",{...o,className:yr,children:t})};Kt.states=od;Kt.options=ad;Kt.className=yr;Kt.defaultOptions=nd;Kt.moduleName=Mo;Kt.folderName=Xo;import{jsx as id}from"react/jsx-runtime";var Xa=e=>{let{...t}=e;return id("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};import{Fragment as ld,jsx as Io,jsxs as qa}from"react/jsx-runtime";var Ja="k-actionsheet-item",sd=[r.hover,r.focus,r.selected,r.disabled],st=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:c,disabled:u,...h}=e;return qa("span",{...h,className:i(e.className,Ja,T(Ja,{hover:n,focus:s,selected:c,disabled:u})),children:[!e.children&&Io(ld,{children:qa("span",{className:"k-actionsheet-action",children:[t&&Io("span",{className:"k-icon-wrap",children:Io(L,{className:"k-actionsheet-item-icon",icon:t})}),qa("span",{className:"k-actionsheet-item-text",children:[o&&Io("span",{className:"k-actionsheet-item-title",children:o}),a&&Io("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};st.states=sd;st.className=Ja;import{jsx as ek,jsxs as tk}from"react/jsx-runtime";import{jsx as rk}from"react/jsx-runtime";import{jsx as dk}from"react/jsx-runtime";import{jsx as mk}from"react/jsx-runtime";import{jsx as ee,jsxs as Wa}from"react/jsx-runtime";var dd=V.options,cd=V.states,Er={...V.defaultOptions,variant:"normal"},pd=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ud=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],_t=e=>{let{variant:t,modifiers:o,...a}={...Er,...e},n={},s=Wa(Xa,{children:[ee(st,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),ee(st,{text:"Add to Favorites",iconName:"heart"}),ee(st,{text:"Upload New",iconName:"upload",disabled:!0}),ee("hr",{className:"k-hr"}),ee(st,{text:"Cancel",iconName:"cancel"})]}),c="Choose from the items below",u="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(h=>{switch(h){case"actions":n.actionsStart=!!o?.[h],n.actionsEnd=!!o?.[h];break;case"subtitle":n.subtitle=o?.[h]?c:void 0;break;case"footer":n.footer=!!o?.[h];break;default:break}}),t==="adaptive"?ee(V,{...a,adaptive:!0,fullscreen:n.fullScreen,header:ee(de,{actionsStart:n.actionsStart?ee(d,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?ee(d,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:n.subtitle}),footer:n.footer?Wa(at,{alignment:"stretched",children:[ee(d,{text:"Cancel",size:"large",themeColor:"base"}),ee(d,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):ee(V,{...a,fullscreen:n.fullScreen,header:ee(de,{actionsStart:n.actionsStart?ee(d,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?ee(d,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Wa(at,{alignment:"stretched",children:[ee(d,{text:"Apply",themeColor:"primary"}),ee(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};_t.options=dd;_t.states=cd;_t.variants=pd;_t.defaultOptions=Er;_t.modifiers=ud;_t.className=V.className;var Ya="slider",Ar=Ya;import{jsx as Dt,jsxs as Qa}from"react/jsx-runtime";var Co="k-slider",md=[r.hover,r.focus,r.active,r.disabled,r.readonly],fd={},Te={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=Te.type,orientation:o=Te.orientation,gradientType:a=Te.gradientType,readonly:n=Te.readonly,disabled:s=Te.disabled,handlePosition:c=Te.handlePosition,showButtons:u=Te.showButtons,showTicks:h=Te.showTicks,value:x=Te.value,min:b=Te.min,max:N=Te.max,startValue:p,endValue:g,hover:k,focus:M,active:I,trackStyle:S,dir:O,...X}=e,re=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ie,se;return o==="horizontal"?(ie=O==="rtl"?"chevron-left":"chevron-right",se=O==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ie="chevron-up",se="chevron-down"),Qa("div",{...X,className:i(Co,e.className,T(Co,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:O,children:[u&&Dt(d,{className:"k-button-decrease",rounded:"full",icon:se,tabIndex:-1,title:"Decrease"}),Qa("div",{className:"k-slider-track-wrap",children:[h&&Dt("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Qa("div",{className:"k-slider-track",style:S,children:[Dt("div",{className:"k-slider-selection"}),t==="range"&&Dt("span",{className:i("k-draghandle","k-draghandle-start",T(Co,{hover:k,focus:M,active:I})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":p??b,"aria-valuemin":b,"aria-valuemax":g??N,"aria-orientation":re,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":X["aria-label"]?`${X["aria-label"]} start`:"Range start"}),Dt("span",{className:i("k-draghandle",`k-draghandle-${c}`,T(Co,{hover:k,focus:M,active:I})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?g??N:x,"aria-valuemin":t==="range"?p??b:b,"aria-valuemax":N,"aria-orientation":re,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?X["aria-label"]?`${X["aria-label"]} end`:"Range end":X["aria-label"]})]})]}),u&&Dt(d,{className:"k-button-increase",rounded:"full",icon:ie,tabIndex:-1,title:"Increase"})]})};U.states=md;U.options=fd;U.className=Co;U.defaultOptions=Te;U.moduleName=Ya;U.folderName=Ar;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 Or}from"react/jsx-runtime";var wr="k-tick",bd=[],hd={},Br={label:!1},y=e=>{let{style:t,label:o=Br.label,orientation:a,large:n,text:s,...c}=e;return Or("li",{...c,role:"presentation",title:s||"Tick",className:i(e.className,wr,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&Or("span",{className:"k-label",children:s})})};y.states=bd;y.options=hd;y.className=wr;y.defaultOptions=Br;import{Fragment as xd,jsx as Ee,jsxs as Nd}from"react/jsx-runtime";var Pr=e=>Ee(U,{"aria-label":e["aria-label"]||"Slider",children:Nd(xd,{children:[Ee(y,{className:"k-first",label:!0,large:!0,text:"0"}),Ee(y,{}),Ee(y,{}),Ee(y,{}),Ee(y,{}),Ee(y,{label:!0,large:!0,text:"5"}),Ee(y,{}),Ee(y,{}),Ee(y,{}),Ee(y,{}),Ee(y,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as kd,jsx as Ae,jsxs as vd}from"react/jsx-runtime";var Rr=e=>Ae(U,{children:vd(kd,{children:[Ae(y,{className:"k-first",label:!0,large:!0,text:"0"}),Ae(y,{}),Ae(y,{}),Ae(y,{}),Ae(y,{}),Ae(y,{label:!0,large:!0,text:"5"}),Ae(y,{}),Ae(y,{}),Ae(y,{}),Ae(y,{}),Ae(y,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as tv,jsx as ev,jsxs as ov}from"react/jsx-runtime";import{Fragment as sv,jsx as iv,jsxs as lv}from"react/jsx-runtime";import{jsx as gd}from"react/jsx-runtime";var Za=e=>gd(U,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as Ld}from"react/jsx-runtime";var ja=e=>Ld(U,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as kv,jsx as Nv,jsxs as vv}from"react/jsx-runtime";import{Fragment as Iv,jsx as Sv,jsxs as Cv}from"react/jsx-runtime";import{jsx as Fe,jsxs as Kr}from"react/jsx-runtime";var Md=U.options,Sd=U.states,_r={...U.defaultOptions,variant:"horizontal",label:!0},Id=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Cd=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Ht=e=>{let{variant:t,modifiers:o,...a}=e,n=_r.label,s={};Object.keys(o||{}).forEach(u=>{switch(u){case"button":{s.showButtons=!!o?.[u];break}case"label":{n=!!o?.[u];break}case"tick":{s.showTicks=!!o?.[u];break}}});let c={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?Kr(Rr,{style:{height:"300px",...c},...a,...s,children:[Fe(y,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),Fe(y,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),Fe(y,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),Fe(y,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),Fe(y,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):Kr(Pr,{style:{width:"400px",...c},...a,...s,children:[Fe(y,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),Fe(y,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),Fe(y,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),Fe(y,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),Fe(y,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Ht.options=Md;Ht.states=Sd;Ht.variants=Id;Ht.defaultOptions=_r;Ht.modifiers=Cd;Ht.className=U.className;import{jsx as Dr,jsxs as Od}from"react/jsx-runtime";var Hr="k-spin-button",Ed=[],Ad={size:[l.undefined,l.small,l.medium,l.large],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},en={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},lt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=en.increaseLabel,decreaseLabel:s=en.decreaseLabel,...c}=e;return Od("span",{...c,className:i(Hr,e.className),children:[Dr(d,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),Dr(d,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};lt.states=Ed;lt.options=Ad;lt.className=Hr;lt.defaultOptions=en;lt.moduleName=null;lt.folderName=null;var zr="numeric-textbox",Ur="numerictextbox";import{Fragment as Gr,jsx as qe,jsxs as tn}from"react/jsx-runtime";var Fr="k-numerictextbox",wd=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Bd={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Jo={showSpinButton:!0,showClearButton:!0,separators:!0},_=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Jo.separators,showClearButton:s=Jo.showClearButton,showSpinButton:c=Jo.showSpinButton,prefix:u,suffix:h,value:x,placeholder:b,hover:N,focus:p,valid:g,invalid:k,required:M,loading:I,disabled:S,readonly:O,id:X,"aria-label":te,"aria-describedby":re,...ie}=e;return tn(q,{...ie,size:t,rounded:o,fillMode:a,hover:N,focus:p,valid:g,invalid:k,required:M,loading:I,disabled:S,readonly:O,className:i(e.className,Fr),children:[u&&tn(Gr,{children:[qe(Se,{children:u}),n&&qe(Ce,{})]}),qe(Ne,{id:X,placeholder:b,value:x,role:"spinbutton",disabled:S,"aria-label":te,"aria-describedby":re,"aria-invalid":k?"true":void 0}),qe(le,{valid:g,invalid:k,loading:I,disabled:S}),qe(fe,{loading:I,disabled:S}),s&&qe(xe,{loading:I,disabled:S,readonly:O,value:x}),h&&tn(Gr,{children:[n&&qe(Ce,{}),qe(Ie,{children:h})]}),c&&qe(lt,{className:"k-input-spinner",size:t,fillMode:a,disabled:S})]})};_.states=wd;_.options=Bd;_.className=Fr;_.defaultOptions=Jo;_.moduleName=zr;_.folderName=Ur;_.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 yo=_;import{jsx as Pd}from"react/jsx-runtime";var Vr=e=>Pd(yo,{...e});import an from"react";import{jsx as $r}from"react/jsx-runtime";var Rd="k-list-group-sticky-header",on=e=>$r("div",{className:i(Rd,e.className),children:$r("div",{className:"k-list-header-text",children:e.children})});import{jsx as _d}from"react/jsx-runtime";var Kd="k-no-data",Wo=e=>{let{live:t,...o}=e;return _d("span",{...o,className:i(Kd,e.className),"aria-live":t?"polite":void 0,children:e.children})};var xt="list",zt=xt;import{jsx as Xr,jsxs as qr}from"react/jsx-runtime";var nn="k-list",Dd=[],Hd={size:[l.undefined,l.small,l.medium,l.large]},zd={},P=e=>{let{size:t,virtualization:o,children:a,header:n,selectAll:s,optionLabel:c,customValue:u,noData:h,screenReaders:x,...b}=e,p=an.Children.toArray(a)[0],g=p?.props?.children?an.Children.count(p.props.children):an.Children.count(a);return qr("div",{...b,className:i(e.className,nn,C(nn,{size:t}),{"k-virtual-list":o}),children:[c,s,u,n&&Xr(on,{children:n}),a||(h!==void 0?h:Xr(Wo,{live:!0,children:"No data found."})),x&&a&&qr(Wo,{className:"k-sr-only",live:!0,children:[g," items found."]})]})};P.states=Dd;P.options=Hd;P.className=nn;P.defaultOptions=zd;P.moduleName=xt;P.folderName=zt;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 Vd}from"react/jsx-runtime";var Jr="k-list-container",Ud=[],Gd={},Fd={},Ut=e=>{let{...t}=e;return Vd("div",{...t,className:i(e.className,Jr),children:e.children})};Ut.states=Ud;Ut.options=Gd;Ut.className=Jr;Ut.defaultOptions=Fd;Ut.moduleName=xt;Ut.folderName=zt;var Nt="checkbox",Gt=Nt;import{jsx as Wr}from"react/jsx-runtime";var Yo="k-checkbox",$d=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],Xd={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},qd={},be=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:s,disabled:c,invalid:u,valid:h,required:x,size:b,rounded:N,wrapperRole:p,...g}=e;return Wr("span",{className:"k-checkbox-wrap",role:p,children:Wr("input",{...g,id:t,type:"checkbox",defaultChecked:o,required:x,disabled:c||void 0,"aria-invalid":u?"true":void 0,className:i(e.className,Yo,C(Yo,{size:b,rounded:N}),T(Yo,{hover:n,focus:s,disabled:c,invalid:u,valid:h,indeterminate:a,checked:o}))})})};be.states=$d;be.options=Xd;be.className=Yo;be.defaultOptions=qd;be.moduleName=Nt;be.folderName=Gt;be.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 Ke=be;import{jsx as Yd}from"react/jsx-runtime";var Yr="k-checkbox-list",Jd=[],Wd={},Qr={layout:"vertical"},ce=e=>{let{layout:t=Qr.layout,...o}=e;return Yd("ul",{...o,className:i(e.className,Yr,{[`k-list-${t}`]:t}),children:e.children})};ce.states=Jd;ce.options=Wd;ce.className=Yr;ce.defaultOptions=Qr;ce.moduleName=Nt;ce.folderName=Gt;import{jsx as ec}from"react/jsx-runtime";var Zr="k-checkbox-list-item",Qd=[],Zd={},jd={},pe=e=>{let{...t}=e;return ec("li",{...t,className:i(e.className,Zr),children:e.children})};pe.states=Qd;pe.options=Zd;pe.className=Zr;pe.defaultOptions=jd;pe.moduleName=Nt;pe.folderName=Gt;import{Fragment as tc,jsx as jr,jsxs as oc}from"react/jsx-runtime";var Je=({children:e="Label",id:t="cb-label-after",...o})=>oc(tc,{children:[jr(Ke,{id:t,...o}),jr("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as Yg,jsx as Wg,jsxs as Qg}from"react/jsx-runtime";import{Fragment as oL,jsx as tL,jsxs as aL}from"react/jsx-runtime";import{Fragment as lL,jsx as sL,jsxs as dL}from"react/jsx-runtime";import{jsx as mL}from"react/jsx-runtime";import{jsx as xL}from"react/jsx-runtime";import{jsx as gL}from"react/jsx-runtime";import{jsx as Oe,jsxs as ei}from"react/jsx-runtime";var ac=ce.options,nc=ce.states,rc={...ce.defaultOptions,variant:"vertical"},ic=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],sc=[],Ft=e=>{let{variant:t,...o}=e;return t==="horizontal"?ei(ce,{layout:"horizontal",...o,children:[Oe(pe,{children:Oe(Je,{id:K("cb"),defaultChecked:!0,children:"Label"})}),Oe(pe,{children:Oe(Je,{id:K("cb"),children:"Label"})}),Oe(pe,{children:Oe(Je,{id:K("cb"),children:"Label"})})]}):ei(ce,{...o,children:[Oe(pe,{children:Oe(Je,{id:K("cb"),defaultChecked:!0,children:"Label"})}),Oe(pe,{children:Oe(Je,{id:K("cb"),children:"Label"})}),Oe(pe,{children:Oe(Je,{id:K("cb"),children:"Label"})})]})};Ft.options=ac;Ft.states=nc;Ft.variants=ic;Ft.defaultOptions=rc;Ft.modifiers=sc;Ft.className=ce.className;import{jsx as mc}from"react/jsx-runtime";var lc=Ke.options,dc=Ke.states,cc=Ke.defaultOptions,pc=[],uc=[],Vt=e=>mc(Je,{id:K("checkbox"),...e,defaultChecked:!0,children:"Label"});Vt.options=lc;Vt.states=dc;Vt.variants=pc;Vt.defaultOptions=cc;Vt.modifiers=uc;Vt.className=Ke.className;import{jsx as kt,jsxs as xc}from"react/jsx-runtime";var rn="k-list-item",fc=[r.hover,r.focus,r.selected,r.disabled],bc={},hc={},A=e=>{let{text:t,groupLabel:o,group:a,iconName:n,iconClassName:s,showCheckbox:c,checked:u,hover:h,focus:x,selected:b,disabled:N,actions:p,description:g,id:k,...M}=e,I=t||e.children;return xc("li",{...M,id:k,role:a?"presentation":"option",tabIndex:a?void 0:x?0:-1,"aria-selected":!a&&b?"true":a?void 0:"false","aria-disabled":!a&&N?"true":void 0,className:i(e.className,a?"k-list-group-item":rn,T(rn,{hover:h,focus:x,disabled:N,selected:b})),children:[c&&kt(be,{checked:u}),n&&kt("span",{className:"k-list-item-icon-wrapper",children:kt(L,{icon:n,className:i("k-list-item-icon",s)})}),kt("span",{className:"k-list-item-text",children:I}),p&&kt("div",{className:"k-list-item-actions",children:p}),g&&kt("span",{className:"k-list-item-description",children:g}),o&&o!==""&&kt("div",{className:"k-list-item-group-label",children:o})]})};A.states=fc;A.options=bc;A.className=rn;A.defaultOptions=hc;A.moduleName=xt;A.folderName=zt;A.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 kc}from"react/jsx-runtime";var Nc="k-list-ul",We=e=>{let{children: