@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 116 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 y=(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"}),E=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:s,checked:d,active:m,selected:h,disabled:x,indeterminate:b,loading:N,empty:c,readonly:g,highlighted:v,...I}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":d,"k-active":m,"k-selected":h,"k-disabled":x,"k-indeterminate":b&&!d,"k-loading":N,"k-empty":c,"k-readonly":g,"k-highlighted":v},Object.keys(I).reduce((M,S)=>(S.startsWith("k-")?M[S]=I[S]:M[`k-${S}`]=I[S],M),{}))};function Mn(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"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},f={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Re={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},k={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 ta={};function B(e){return ta[e]=(ta[e]||0)+1,`k-${e}-${ta[e]}`}import{Fragment as Ki,jsx as Cn}from"react/jsx-runtime";var oa="k-font-icon",Pi=[],Ri={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info]},Bi={},to=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...d}=e;return a?Cn("span",{...d,className:i(e.className,oa,y(oa,{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"}):Cn(Ki,{})};to.states=Pi;to.options=Ri;to.className=oa;to.defaultOptions=Bi;var yn=to;import{Fragment as Hi,jsx as Co}from"react/jsx-runtime";var aa="k-svg-icon",_i=[],Di={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info],variant:[Re.outline,Re.solid,Re.duotone]},na={viewBox:"0 0 24 24",variant:Re.outline},oo=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=na.viewBox,variant:d=na.variant,icon:m,...h}=e;if(!m)return Co(Hi,{});if(m==="none")return Co("span",{...h,className:i(e.className,aa,y("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof m=="object"&&m.name&&m.name,b=typeof m=="object"?d&&m.variants?.[d]||m.variants?.outline||m.content:void 0;return Co("span",{...h,className:i(e.className,aa,y("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:Co("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:s,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:m?void 0:e.children})})};oo.states=_i;oo.options=Di;oo.className=aa;oo.defaultOptions=na;var ra=oo;import*as ia from"@progress/kendo-svg-icons";var En="icon",Tn="icons";import{useContext as Ui}from"react";import{createContext as zi}from"react";var An=zi({iconsType:"svg"});import{Fragment as On,jsx as ao}from"react/jsx-runtime";var yo="k-icon",Gi=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Fi=[],Vi={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info],variant:[Re.outline,Re.solid,Re.duotone]},Eo={viewBox:"0 0 24 24",type:"svg",variant:Re.outline},L=e=>{let{iconsType:t}=Ui(An),{size:o,themeColor:a,icon:n,type:s=t||Eo.type,rotate:d,flip:m,viewBox:h=Eo.viewBox,variant:x=Eo.variant,...b}=e;if(!n)return ao(On,{});if((t||s)==="svg"){if(n==="none")return ao(ra,{...b,className:i(e.className,yo),icon:n,size:o,variant:x});let c=ia[n]?n:Gi(`${n}-icon`);return ia[c]?ao(ra,{...b,className:i(e.className,yo),icon:ia[c],size:o,themeColor:a,rotate:d,flip:m,viewBox:h,variant:x}):ao(On,{})}return ao(yn,{...b,className:i(e.className,yo),icon:n,size:o,themeColor:a,rotate:d,flip:m})};L.states=Fi;L.options=Vi;L.defaultOptions=Eo;L.className=yo;L.moduleName=En;L.folderName=Tn;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 sa="button",wn=sa;import{Fragment as Pn,jsx as gt,jsxs as Rn}from"react/jsx-runtime";var no="k-button",$i=["icon-button"],Xi=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],qi={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info,k.inverse]},la={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:d=la.showArrow,arrowIconName:m=la.arrowIconName,variant:h,hover:x,focus:b,active:N,selected:c,disabled:g,togglable:v,ariaDisabled:I,icon:M,iconSize:S,text:A,iconClassName:V,className:ee,...ae}=e,ne=M!=null,re=e.children!==void 0;return Rn(t,{className:i(ee,no,Mn(no,h),y(no,{size:o,rounded:a,fillMode:n,themeColor:s}),E(no,{hover:x,focus:b,active:N,disabled:g||I,selected:c}),{"k-icon-button":!A&&!re&&ne}),"aria-pressed":v?c?"true":"false":void 0,...ae,"aria-disabled":I?"true":void 0,disabled:g||void 0,children:[typeof M=="string"&&M&>(L,{className:i(V,"k-button-icon"),icon:M,size:S}),M&&typeof M!="string"&>(Pn,{children:M}),A?Rn(Pn,{children:[A&>("span",{className:"k-button-text",children:A}),e.children]}):e.children&>("span",{className:"k-button-text",children:e.children}),d&>("span",{className:"k-menu-button-arrow k-button-arrow",children:gt(L,{icon:m})})]})};p.states=Xi;p.options=qi;p.variants=$i;p.className=no;p.defaultOptions=la;p.moduleName=sa;p.folderName=wn;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 Ji}from"react/jsx-runtime";var Qe=e=>Ji(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as Wi}from"react/jsx-runtime";var ro=e=>Wi(p,{icon:"folder",children:"Button",...e});import{jsx as Yi}from"react/jsx-runtime";var dt=e=>Yi(p,{children:"Button",...e});import{jsx as da}from"react/jsx-runtime";var Qi=p.options,Zi=p.states,ji={...p.defaultOptions,variant:"text"},es=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],ts=[],Lt=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return da(Qe,{...o,icon:"star"});case"icon-and-text":return da(ro,{...o,icon:"star",children:"Button"});default:return da(dt,{...o,children:"Button"})}};Lt.options=Qi;Lt.states=Zi;Lt.variants=es;Lt.defaultOptions=ji;Lt.modifiers=ts;Lt.className=p.className;var ca="button",Bn=ca;import{jsx as rs}from"react/jsx-runtime";var io="k-button-group",os=[r.disabled],as={fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},ns={},R=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return rs("div",{role:"group",...n,className:i(e.className,io,y(io,{fillMode:t}),E(io,{disabled:o}),{[`${io}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};R.states=os;R.options=as;R.className=io;R.defaultOptions=ns;R.moduleName=ca;R.folderName=Bn;R.ariaSpec={selector:".k-button-group",rules:[{selector:".k-button-group:not(.k-split-button)",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-button-group.k-disabled",attribute:"aria-disabled=true",usage:"The attribute is rendered only when the entire button group is disabled."},{selector:".k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button",attribute:"aria-pressed (when selected)",usage:"Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true."}]};import{Fragment as Eu,jsx as yu,jsxs as Tu}from"react/jsx-runtime";import{Fragment as Bu,jsx as Ru,jsxs as Ku}from"react/jsx-runtime";import{Fragment as Gu,jsx as Uu,jsxs as Fu}from"react/jsx-runtime";import{Fragment as Wu,jsx as Ju,jsxs as Yu}from"react/jsx-runtime";import{Fragment as of,jsx as tf,jsxs as af}from"react/jsx-runtime";import{Fragment as cf,jsx as df,jsxs as pf}from"react/jsx-runtime";import{jsx as Ge,jsxs as pa}from"react/jsx-runtime";var is={...p.options,...R.options},ss=p.states,ls={...p.defaultOptions,...R.defaultOptions,variant:"text-button"},ds=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],cs=[],It=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?pa(R,{fillMode:a.fillMode,className:o,children:[Ge(p,{...a,icon:"star"}),Ge(p,{...a,icon:"star"}),Ge(p,{...a,icon:"star"})]}):t==="icon-text-button"?pa(R,{fillMode:a.fillMode,className:o,children:[Ge(p,{...a,icon:"star",children:"First"}),Ge(p,{...a,icon:"star",children:"Middle"}),Ge(p,{...a,icon:"star",children:"Last"})]}):pa(R,{fillMode:a.fillMode,className:o,children:[Ge(p,{...a,children:"First"}),Ge(p,{...a,children:"Middle"}),Ge(p,{...a,children:"Last"})]})};It.options=is;It.states=ss;It.variants=ds;It.defaultOptions=ls;It.modifiers=cs;It.className=R.className;var so="input",To=so;import{jsx as fs}from"react/jsx-runtime";var Ao="k-input",ps=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],ms={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},us={},$=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:m,size:h,rounded:x,fillMode:b,...N}=e;return fs("span",{...N,className:i(e.className,Ao,y(Ao,{size:h,rounded:x,fillMode:b}),E(Ao,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:m}))})};$.states=ps;$.options=ms;$.className=Ao;$.defaultOptions=us;$.moduleName=so;$.folderName=To;import{jsx as Ns}from"react/jsx-runtime";var Oo="k-picker",bs=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],hs={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},xs={},Be=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:m,size:h,rounded:x,fillMode:b,...N}=e;return Ns("span",{...N,className:i(e.className,Oo,y(Oo,{size:h,rounded:x,fillMode:b}),E(Oo,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:m})),children:e.children})};Be.states=bs;Be.options=hs;Be.className=Oo;Be.defaultOptions=xs;Be.moduleName=so;Be.folderName=To;import{Fragment as gs,jsx as ma}from"react/jsx-runtime";var Kn="k-clear-value",vs=[r.disabled,r.loading,r.readonly],ks={},be=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?ma(gs,{}):ma("span",{className:i(e.className,Kn),children:ma(L,{icon:"x"})})};be.states=vs;be.options=ks;be.className=Kn;import{jsx as Ss}from"react/jsx-runtime";var ua="k-input-inner",Ls=[],Is={},wo={type:"text",autocomplete:"off",value:"",placeholder:""},he=e=>{let{value:t=wo.value,type:o=wo.type,placeholder:a=wo.placeholder,autocomplete:n=wo.autocomplete,disabled:s,readOnly:d,...m}=e;return Ss("input",{...m,type:o,className:i(e.className,ua,y(ua,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:d||void 0})};he.states=Ls;he.options=Is;he.className=ua;import{jsx as _n,jsxs as ys}from"react/jsx-runtime";var fa="k-input-inner",Ms=[],Cs={},ct=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...d}=e;return ys("span",{...d,className:i(e.className,fa,y(fa,e)),children:[n,!n&&s&&_n(L,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&_n("span",{className:"k-input-value-text",children:t})]})};ct.states=Ms;ct.options=Cs;ct.className=fa;import{jsx as As}from"react/jsx-runtime";var ba="k-input-inner",Es=[],Ts={},Dn={value:"",placeholder:""},ha=e=>{let{value:t=Dn.value,placeholder:o=Dn.placeholder,rows:a,disabled:n,...s}=e;return As("textarea",{...s,className:i(e.className,ba,y(ba,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};ha.states=Es;ha.options=Ts;ha.className=ba;import{Fragment as ws,jsx as Hn}from"react/jsx-runtime";var zn="k-input-loading-icon",Os=[r.disabled,r.loading],ue=e=>{let{disabled:t,loading:o}=e;return t||!o?Hn(ws,{}):Hn("span",{className:i(e.className,zn,"k-icon k-i-loading")})};ue.states=Os;ue.className=zn;import{Fragment as Bs,jsx as Un}from"react/jsx-runtime";var Gn="k-input-validation-icon",Ps=[r.valid,r.invalid,r.disabled,r.loading],Rs={},ie=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?Un(Bs,{}):Un(L,{className:i(Gn),icon:s})};ie.states=Ps;ie.options=Rs;ie.className=Gn;import{Fragment as Ds,jsx as Fn}from"react/jsx-runtime";var Ks="k-input-prefix",_s={direction:"horizontal"},ge=e=>{let{direction:t=_s.direction,...o}=e;return e.children?Fn("span",{...o,className:i(Ks,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Fn(Ds,{})};import{Fragment as Us,jsx as Vn}from"react/jsx-runtime";var Hs="k-input-suffix",zs={direction:"horizontal"},Le=e=>{let{direction:t=zs.direction,...o}=e;return e.children?Vn("span",{...o,className:i(Hs,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Vn(Us,{})};import{jsx as pb}from"react/jsx-runtime";import{jsx as Fs}from"react/jsx-runtime";var Gs="k-input-suffix-text",xa=e=>{let{children:t,...o}=e;return Fs("span",{...o,className:i(Gs,e.className),children:t})};import{jsx as $s}from"react/jsx-runtime";var $n="k-input-separator",Vs={direction:"vertical"},Ie=e=>{let{direction:t=Vs.direction,...o}=e;return $s("span",{...o,className:i($n,e.className,{[`${$n}-${t}`]:t})})};import{Fragment as Xn,jsx as Ke,jsxs as Na}from"react/jsx-runtime";var Xs=$.states,qs=$.defaultOptions,Js=$.options,Ws=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Ys=[],St=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:s,readonly:d,...m}=e,h=t?.prefix,x=t?.suffix,b=t?.["clear-button"],N=t?.["validation-icon"],c=t?.separators;return Na($,{...m,valid:o,invalid:a,loading:n,disabled:s,readonly:d,style:{width:300},children:[h&&Na(Xn,{children:[Ke(ge,{children:Ke(L,{icon:"lock"})}),c&&Ke(Ie,{})]}),Ke(he,{placeholder:"Placeholder",value:"Value"}),N&&Ke(ie,{valid:o,invalid:a,loading:n,disabled:s}),Ke(ue,{loading:n,disabled:s}),b&&Ke(be,{loading:n,disabled:s,readonly:d,value:"Value"}),x&&Na(Xn,{children:[c&&Ke(Ie,{}),Ke(Le,{children:Ke(dt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};St.options=Js;St.states=Xs;St.variants=Ys;St.defaultOptions=qs;St.modifiers=Ws;St.className=$.className;import{jsx as qn,jsxs as js}from"react/jsx-runtime";var Jn="k-color-preview",Qs=[],Zs={},Ze=e=>{let{color:t,iconName:o,...a}=e;return js("span",{...a,className:i(e.className,Jn,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&qn(L,{icon:o,className:"k-color-preview-icon"}),qn("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ze.states=Qs;Ze.options=Zs;Ze.className=Jn;var va="popup",Wn=va;import{jsx as Yn}from"react/jsx-runtime";var Qn="k-animation-container",el=[],tl={},ka={positionMode:"absolute",shown:!0},_e=e=>{let{positionMode:t=ka.positionMode,shown:o=ka.shown,animationStyle:a,offset:n,...s}=e;return Yn("div",{...s,style:{...n,...e.style},className:i(e.className,Qn,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Yn("div",{className:"k-child-animation-container",style:a,children:e.children})})};_e.states=el;_e.options=tl;_e.className=Qn;_e.defaultOptions=ka;_e.moduleName=va;_e.folderName=Wn;var ga="popup",Zn=ga;import{jsx as jn}from"react/jsx-runtime";var er="k-popup",ol=[],al={},tr={positionMode:"absolute"},z=e=>{let{offset:t,positionMode:o=tr.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:d,...m}=e;return jn(_e,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":d,children:jn("div",{...m,className:i(e.className,er),children:e.children})})};z.states=ol;z.options=al;z.className=er;z.defaultOptions=tr;z.moduleName=ga;z.folderName=Zn;z.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 La="action-buttons",or=La;import{jsx as il}from"react/jsx-runtime";var Po="k-actions",nl=[],rl={},Ia={alignment:"start",orientation:"horizontal"},De=e=>{let{alignment:t=Ia.alignment,orientation:o=Ia.orientation,...a}=e;return il("div",{...a,className:i(Po,{[`${Po}-${t}`]:t,[`${Po}-${o}`]:o},e.className),children:e.children})};De.states=nl;De.options=rl;De.className=Po;De.defaultOptions=Ia;De.moduleName=La;De.folderName=or;import{jsx as ll}from"react/jsx-runtime";var sl="k-actionsheet-footer",ar={alignment:"stretched",orientation:"horizontal"},je=e=>{let{alignment:t=ar.alignment,orientation:o=ar.orientation,template:a,as:n=a?"div":De,...s}=e;return ll(n,{...s,...!a&&{alignment:t,orientation:o},className:i(e.className,sl),children:e.children})};var Sa="searchbox",nr=Sa;import{jsx as lo,jsxs as pl}from"react/jsx-runtime";var rr="k-searchbox",dl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],cl={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Ma={showIcon:!0,icon:"search"},Se=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:d,focus:m,valid:h,invalid:x,required:b,loading:N,disabled:c,showIcon:g=Ma.showIcon,icon:v=Ma.icon,"aria-label":I,...M}=e;return pl($,{...M,size:a,rounded:n,fillMode:s,hover:d,focus:m,valid:h,invalid:x,required:b,loading:N,disabled:c,className:i(e.className,rr),children:[g&&lo(L,{className:"k-input-icon",icon:v}),lo(he,{placeholder:o,value:t,"aria-label":I}),lo(ue,{...e}),lo(ie,{...e}),lo(be,{...e})]})};Se.states=dl;Se.options=cl;Se.className=rr;Se.defaultOptions=Ma;Se.moduleName=Sa;Se.folderName=nr;import{jsx as Kh}from"react/jsx-runtime";var Ca="textbox",ir=Ca;import{Fragment as sr,jsx as et,jsxs as ya}from"react/jsx-runtime";var lr="k-textbox",ml=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],ul={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Ro={showClearButton:!0,showValidationIcon:!0,separators:!0},Z=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Ro.separators,showClearButton:s=Ro.showClearButton,showValidationIcon:d=Ro.showValidationIcon,prefix:m,suffix:h,type:x,value:b,placeholder:N,hover:c,focus:g,valid:v,invalid:I,required:M,loading:S,disabled:A,readonly:V,id:ee,"aria-label":ae,"aria-describedby":ne,...re}=e;return ya($,{...re,size:t,rounded:o,fillMode:a,hover:c,focus:g,valid:v,invalid:I,required:M,loading:S,disabled:A,readonly:V,className:i(e.className,lr),children:[m&&ya(sr,{children:[et(ge,{children:m}),n&&et(Ie,{})]}),et(he,{id:ee,placeholder:N,value:b,type:x,disabled:A,"aria-label":ae,"aria-describedby":ne,"aria-invalid":I?"true":void 0}),d&&et(ie,{valid:v,invalid:I,loading:S,disabled:A}),et(ue,{loading:S,disabled:A}),s&&et(be,{loading:S,disabled:A,readonly:V,value:b}),h&&ya(sr,{children:[n&&et(Ie,{}),et(Le,{children:h})]})]})};Z.states=ml;Z.options=ul;Z.className=lr;Z.defaultOptions=Ro;Z.moduleName=Ca;Z.folderName=ir;Z.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 co=Z;import{jsx as fl}from"react/jsx-runtime";var dr=e=>fl(co,{...e});import{Fragment as ex,jsx as jh}from"react/jsx-runtime";import{Fragment as ix,jsx as rx}from"react/jsx-runtime";import{jsx as cx}from"react/jsx-runtime";import{jsx as Ea}from"react/jsx-runtime";var bl=Z.states,hl=Z.defaultOptions,xl=Z.options,Nl=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],vl=[],Mt=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Ea(L,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?Ea(dt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),Ea(dr,{value:"Value",style:{width:300},...o,...a})};Mt.options=xl;Mt.states=bl;Mt.variants=vl;Mt.defaultOptions=hl;Mt.modifiers=Nl;Mt.className=Z.className;import{jsx as tt,jsxs as Ta}from"react/jsx-runtime";var cr="k-actionsheet-titlebar",kl={},se=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:d,inputValue:m,inputPlaceholder:h,adaptive:x,titleId:b,children:N,...c}=e;return Ta("div",{...c,className:i(e.className,cr),children:[Ta("div",{className:"k-actionsheet-titlebar-group",children:[a&&tt("div",{className:"k-actionsheet-actions",children:a}),!N&&Ta("div",{className:"k-actionsheet-title",id:b,children:[t&&tt("div",{className:"k-text-center",children:t}),o&&tt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&tt("div",{className:"k-actionsheet-title",id:b,children:N}),n&&tt("div",{className:"k-actionsheet-actions",children:n})]}),(d||s)&&tt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?tt(Z,{value:m,placeholder:h,size:x?"large":"medium","aria-label":t||h||"Input"}):tt(Se,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};se.className=cr;se.defaultOptions=kl;import{jsx as Aa,jsxs as Sl}from"react/jsx-runtime";var Oa="k-actionsheet-view",gl=[],Ll={},Il={},Ct=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:d,...m}=e,h=n?.type===se&&Aa(se,{adaptive:t,titleId:d,...n?.props}),x=s?.type===je&&Aa(je,{...s?.props});return Sl("div",{...m,className:i(e.className,Oa,{[`${Oa}-animated`]:o}),children:[h,Aa("div",{className:"k-actionsheet-content",children:a}),x]})};Ct.states=gl;Ct.options=Ll;Ct.className=Oa;Ct.defaultOptions=Il;var po="action-sheet",Bo=po;var wa="overlay",pr=wa;import{jsx as El}from"react/jsx-runtime";var mr="k-overlay",Ml=[],Cl={},yl={},ot=e=>{let{...t}=e;return El("div",{...t,className:i(e.className,mr),children:e.children})};ot.states=Ml;ot.options=Cl;ot.className=mr;ot.defaultOptions=yl;ot.moduleName=wa;ot.folderName=pr;import{jsx as Ko,jsxs as Ol}from"react/jsx-runtime";var ur="k-actionsheet",Tl=[],Al={},mo={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},U=e=>{let{side:t=mo.side,fullscreen:o=mo.fullscreen,adaptive:a=mo.adaptive,overlay:n=mo.overlay,template:s,children:d,header:m,footer:h,id:x,...b}=e,N=x&&!s&&m?`${x}-title`:void 0;return Ol("div",{className:"k-actionsheet-container",children:[n&&Ko(ot,{}),Ko(_e,{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:Ko("div",{...b,id:x,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":N,className:i(e.className,ur,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||Ko(Ct,{header:m,footer:h,adaptive:a,titleId:N,...e,children:d})})})]})};U.states=Tl;U.options=Al;U.className=ur;U.defaultOptions=mo;U.moduleName=po;U.folderName=Bo;U.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 Bl}from"react/jsx-runtime";var fr="k-actionsheet-container",wl=[],Pl={},Rl={},yt=e=>{let{children:t,...o}=e;return Bl("div",{...o,className:fr,children:t})};yt.states=wl;yt.options=Pl;yt.className=fr;yt.defaultOptions=Rl;yt.moduleName=po;yt.folderName=Bo;import{jsx as Kl}from"react/jsx-runtime";var Pa=e=>{let{...t}=e;return Kl("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};import{Fragment as Dl,jsx as uo,jsxs as Ra}from"react/jsx-runtime";var Ba="k-actionsheet-item",_l=[r.hover,r.focus,r.selected,r.disabled],at=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:d,disabled:m,...h}=e;return Ra("span",{...h,className:i(e.className,Ba,E(Ba,{hover:n,focus:s,selected:d,disabled:m})),children:[!e.children&&uo(Dl,{children:Ra("span",{className:"k-actionsheet-action",children:[t&&uo("span",{className:"k-icon-wrap",children:uo(L,{className:"k-actionsheet-item-icon",icon:t})}),Ra("span",{className:"k-actionsheet-item-text",children:[o&&uo("span",{className:"k-actionsheet-item-title",children:o}),a&&uo("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};at.states=_l;at.className=Ba;import{jsx as dN,jsxs as cN}from"react/jsx-runtime";import{jsx as fN}from"react/jsx-runtime";import{jsx as NN}from"react/jsx-runtime";import{jsx as LN}from"react/jsx-runtime";import{jsx as j,jsxs as Ka}from"react/jsx-runtime";var Hl=U.options,zl=U.states,hr={...U.defaultOptions,variant:"normal"},Ul=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Gl=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Et=e=>{let{variant:t,modifiers:o,...a}={...hr,...e},n={},s=Ka(Pa,{children:[j(at,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),j(at,{text:"Add to Favorites",iconName:"heart"}),j(at,{text:"Upload New",iconName:"upload",disabled:!0}),j("hr",{className:"k-hr"}),j(at,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",m="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]?d:void 0;break;case"footer":n.footer=!!o?.[h];break;default:break}}),t==="adaptive"?j(U,{...a,adaptive:!0,fullscreen:n.fullScreen,header:j(se,{actionsStart:n.actionsStart?j(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?j(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:n.subtitle}),footer:n.footer?Ka(je,{alignment:"stretched",children:[j(p,{text:"Cancel",size:"large",themeColor:"base"}),j(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):j(U,{...a,fullscreen:n.fullScreen,header:j(se,{actionsStart:n.actionsStart?j(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?j(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Ka(je,{alignment:"stretched",children:[j(p,{text:"Apply",themeColor:"primary"}),j(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Et.options=Hl;Et.states=zl;Et.variants=Ul;Et.defaultOptions=hr;Et.modifiers=Gl;Et.className=U.className;var _a="slider",xr=_a;import{jsx as Tt,jsxs as Da}from"react/jsx-runtime";var fo="k-slider",Fl=[r.hover,r.focus,r.active,r.disabled,r.readonly],Vl={},Me={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},D=e=>{let{type:t=Me.type,orientation:o=Me.orientation,gradientType:a=Me.gradientType,readonly:n=Me.readonly,disabled:s=Me.disabled,handlePosition:d=Me.handlePosition,showButtons:m=Me.showButtons,showTicks:h=Me.showTicks,value:x=Me.value,min:b=Me.min,max:N=Me.max,startValue:c,endValue:g,hover:v,focus:I,active:M,trackStyle:S,dir:A,...V}=e,ae=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ne,re;return o==="horizontal"?(ne=A==="rtl"?"chevron-left":"chevron-right",re=A==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ne="chevron-up",re="chevron-down"),Da("div",{...V,className:i(fo,e.className,E(fo,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:A,children:[m&&Tt(p,{className:"k-button-decrease",rounded:"full",icon:re,tabIndex:-1,title:"Decrease"}),Da("div",{className:"k-slider-track-wrap",children:[h&&Tt("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Da("div",{className:"k-slider-track",style:S,children:[Tt("div",{className:"k-slider-selection"}),t==="range"&&Tt("span",{className:i("k-draghandle","k-draghandle-start",E(fo,{hover:v,focus:I,active:M})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":c??b,"aria-valuemin":b,"aria-valuemax":g??N,"aria-orientation":ae,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":V["aria-label"]?`${V["aria-label"]} start`:"Range start"}),Tt("span",{className:i("k-draghandle",`k-draghandle-${d}`,E(fo,{hover:v,focus:I,active:M})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?g??N:x,"aria-valuemin":t==="range"?c??b:b,"aria-valuemax":N,"aria-orientation":ae,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?V["aria-label"]?`${V["aria-label"]} end`:"Range end":V["aria-label"]})]})]}),m&&Tt(p,{className:"k-button-increase",rounded:"full",icon:ne,tabIndex:-1,title:"Increase"})]})};D.states=Fl;D.options=Vl;D.className=fo;D.defaultOptions=Me;D.moduleName=_a;D.folderName=xr;D.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 Nr}from"react/jsx-runtime";var vr="k-tick",$l=[],Xl={},kr={label:!1},C=e=>{let{style:t,label:o=kr.label,orientation:a,large:n,text:s,...d}=e;return Nr("li",{...d,role:"presentation",title:s||"Tick",className:i(e.className,vr,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&Nr("span",{className:"k-label",children:s})})};C.states=$l;C.options=Xl;C.className=vr;C.defaultOptions=kr;import{Fragment as ql,jsx as Ce,jsxs as Jl}from"react/jsx-runtime";var gr=e=>Ce(D,{"aria-label":e["aria-label"]||"Slider",children:Jl(ql,{children:[Ce(C,{className:"k-first",label:!0,large:!0,text:"0"}),Ce(C,{}),Ce(C,{}),Ce(C,{}),Ce(C,{}),Ce(C,{label:!0,large:!0,text:"5"}),Ce(C,{}),Ce(C,{}),Ce(C,{}),Ce(C,{}),Ce(C,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as Wl,jsx as ye,jsxs as Yl}from"react/jsx-runtime";var Lr=e=>ye(D,{children:Yl(Wl,{children:[ye(C,{className:"k-first",label:!0,large:!0,text:"0"}),ye(C,{}),ye(C,{}),ye(C,{}),ye(C,{}),ye(C,{label:!0,large:!0,text:"5"}),ye(C,{}),ye(C,{}),ye(C,{}),ye(C,{}),ye(C,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as cv,jsx as dv,jsxs as pv}from"react/jsx-runtime";import{Fragment as hv,jsx as bv,jsxs as xv}from"react/jsx-runtime";import{jsx as Ql}from"react/jsx-runtime";var Ha=e=>Ql(D,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as Zl}from"react/jsx-runtime";var za=e=>Zl(D,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as Ev,jsx as yv,jsxs as Tv}from"react/jsx-runtime";import{Fragment as Rv,jsx as Pv,jsxs as Bv}from"react/jsx-runtime";import{jsx as He,jsxs as Ir}from"react/jsx-runtime";var jl=D.options,ed=D.states,Sr={...D.defaultOptions,variant:"horizontal",label:!0},td=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],od=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],At=e=>{let{variant:t,modifiers:o,...a}=e,n=Sr.label,s={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{s.showButtons=!!o?.[m];break}case"label":{n=!!o?.[m];break}case"tick":{s.showTicks=!!o?.[m];break}}});let d={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?Ir(Lr,{style:{height:"300px",...d},...a,...s,children:[He(C,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),He(C,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),He(C,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),He(C,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),He(C,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):Ir(gr,{style:{width:"400px",...d},...a,...s,children:[He(C,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),He(C,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),He(C,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),He(C,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),He(C,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};At.options=jl;At.states=ed;At.variants=td;At.defaultOptions=Sr;At.modifiers=od;At.className=D.className;import{jsx as Mr,jsxs as sd}from"react/jsx-runtime";var Cr="k-spin-button",rd=[],id={size:[l.undefined,l.small,l.medium,l.large],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},Ua={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},nt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Ua.increaseLabel,decreaseLabel:s=Ua.decreaseLabel,...d}=e;return sd("span",{...d,className:i(Cr,e.className),children:[Mr(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),Mr(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};nt.states=rd;nt.options=id;nt.className=Cr;nt.defaultOptions=Ua;nt.moduleName=null;nt.folderName=null;var yr="numeric-textbox",Er="numerictextbox";import{Fragment as Tr,jsx as Fe,jsxs as Ga}from"react/jsx-runtime";var Ar="k-numerictextbox",ld=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],dd={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},_o={showSpinButton:!0,showClearButton:!0,separators:!0},K=e=>{let{size:t,rounded:o,fillMode:a,separators:n=_o.separators,showClearButton:s=_o.showClearButton,showSpinButton:d=_o.showSpinButton,prefix:m,suffix:h,value:x,placeholder:b,hover:N,focus:c,valid:g,invalid:v,required:I,loading:M,disabled:S,readonly:A,id:V,"aria-label":ee,"aria-describedby":ae,...ne}=e;return Ga($,{...ne,size:t,rounded:o,fillMode:a,hover:N,focus:c,valid:g,invalid:v,required:I,loading:M,disabled:S,readonly:A,className:i(e.className,Ar),children:[m&&Ga(Tr,{children:[Fe(ge,{children:m}),n&&Fe(Ie,{})]}),Fe(he,{id:V,placeholder:b,value:x,role:"spinbutton",disabled:S,"aria-label":ee,"aria-describedby":ae,"aria-invalid":v?"true":void 0}),Fe(ie,{valid:g,invalid:v,loading:M,disabled:S}),Fe(ue,{loading:M,disabled:S}),s&&Fe(be,{loading:M,disabled:S,readonly:A,value:x}),h&&Ga(Tr,{children:[n&&Fe(Ie,{}),Fe(Le,{children:h})]}),d&&Fe(nt,{className:"k-input-spinner",size:t,fillMode:a,disabled:S})]})};K.states=ld;K.options=dd;K.className=Ar;K.defaultOptions=_o;K.moduleName=yr;K.folderName=Er;K.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 bo=K;import{jsx as cd}from"react/jsx-runtime";var Or=e=>cd(bo,{...e});import Va from"react";import{jsx as wr}from"react/jsx-runtime";var pd="k-list-group-sticky-header",Fa=e=>wr("div",{className:i(pd,e.className),children:wr("div",{className:"k-list-header-text",children:e.children})});import{jsx as ud}from"react/jsx-runtime";var md="k-no-data",Do=e=>{let{live:t,...o}=e;return ud("span",{...o,className:i(md,e.className),"aria-live":t?"polite":void 0,children:e.children})};var pt="list",Ot=pt;import{jsx as Pr,jsxs as Rr}from"react/jsx-runtime";var $a="k-list",fd=[],bd={size:[l.undefined,l.small,l.medium,l.large]},hd={},w=e=>{let{size:t,virtualization:o,children:a,header:n,selectAll:s,optionLabel:d,customValue:m,noData:h,screenReaders:x,...b}=e,c=Va.Children.toArray(a)[0],g=c?.props?.children?Va.Children.count(c.props.children):Va.Children.count(a);return Rr("div",{...b,className:i(e.className,$a,y($a,{size:t}),{"k-virtual-list":o}),children:[d,s,m,n&&Pr(Fa,{children:n}),a||(h!==void 0?h:Pr(Do,{live:!0,children:"No data found."})),x&&a&&Rr(Do,{className:"k-sr-only",live:!0,children:[g," items found."]})]})};w.states=fd;w.options=bd;w.className=$a;w.defaultOptions=hd;w.moduleName=pt;w.folderName=Ot;w.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 kd}from"react/jsx-runtime";var Br="k-list-container",xd=[],Nd={},vd={},wt=e=>{let{...t}=e;return kd("div",{...t,className:i(e.className,Br),children:e.children})};wt.states=xd;wt.options=Nd;wt.className=Br;wt.defaultOptions=vd;wt.moduleName=pt;wt.folderName=Ot;var mt="checkbox",Pt=mt;import{jsx as Kr}from"react/jsx-runtime";var Ho="k-checkbox",gd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],Ld={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Id={},fe=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:s,disabled:d,invalid:m,valid:h,required:x,size:b,rounded:N,wrapperRole:c,...g}=e;return Kr("span",{className:"k-checkbox-wrap",role:c,children:Kr("input",{...g,id:t,type:"checkbox",defaultChecked:o,required:x,disabled:d||void 0,"aria-invalid":m?"true":void 0,className:i(e.className,Ho,y(Ho,{size:b,rounded:N}),E(Ho,{hover:n,focus:s,disabled:d,invalid:m,valid:h,indeterminate:a,checked:o}))})})};fe.states=gd;fe.options=Ld;fe.className=Ho;fe.defaultOptions=Id;fe.moduleName=mt;fe.folderName=Pt;fe.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 Pe=fe;import{jsx as Cd}from"react/jsx-runtime";var _r="k-checkbox-list",Sd=[],Md={},Dr={layout:"vertical"},le=e=>{let{layout:t=Dr.layout,...o}=e;return Cd("ul",{...o,className:i(e.className,_r,{[`k-list-${t}`]:t}),children:e.children})};le.states=Sd;le.options=Md;le.className=_r;le.defaultOptions=Dr;le.moduleName=mt;le.folderName=Pt;import{jsx as Ad}from"react/jsx-runtime";var Hr="k-checkbox-list-item",yd=[],Ed={},Td={},de=e=>{let{...t}=e;return Ad("li",{...t,className:i(e.className,Hr),children:e.children})};de.states=yd;de.options=Ed;de.className=Hr;de.defaultOptions=Td;de.moduleName=mt;de.folderName=Pt;import{Fragment as Od,jsx as zr,jsxs as wd}from"react/jsx-runtime";var Ve=({children:e="Label",id:t="cb-label-after",...o})=>wd(Od,{children:[zr(Pe,{id:t,...o}),zr("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as rg,jsx as ng,jsxs as ig}from"react/jsx-runtime";import{Fragment as pg,jsx as cg,jsxs as mg}from"react/jsx-runtime";import{Fragment as xg,jsx as hg,jsxs as Ng}from"react/jsx-runtime";import{jsx as Lg}from"react/jsx-runtime";import{jsx as Cg}from"react/jsx-runtime";import{jsx as Ag}from"react/jsx-runtime";import{jsx as Ee,jsxs as Ur}from"react/jsx-runtime";var Pd=le.options,Rd=le.states,Bd={...le.defaultOptions,variant:"vertical"},Kd=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],_d=[],Rt=e=>{let{variant:t,...o}=e;return t==="horizontal"?Ur(le,{layout:"horizontal",...o,children:[Ee(de,{children:Ee(Ve,{id:B("cb"),defaultChecked:!0,children:"Label"})}),Ee(de,{children:Ee(Ve,{id:B("cb"),children:"Label"})}),Ee(de,{children:Ee(Ve,{id:B("cb"),children:"Label"})})]}):Ur(le,{...o,children:[Ee(de,{children:Ee(Ve,{id:B("cb"),defaultChecked:!0,children:"Label"})}),Ee(de,{children:Ee(Ve,{id:B("cb"),children:"Label"})}),Ee(de,{children:Ee(Ve,{id:B("cb"),children:"Label"})})]})};Rt.options=Pd;Rt.states=Rd;Rt.variants=Kd;Rt.defaultOptions=Bd;Rt.modifiers=_d;Rt.className=le.className;import{jsx as Fd}from"react/jsx-runtime";var Dd=Pe.options,Hd=Pe.states,zd=Pe.defaultOptions,Ud=[],Gd=[],Bt=e=>Fd(Ve,{id:B("checkbox"),...e,defaultChecked:!0,children:"Label"});Bt.options=Dd;Bt.states=Hd;Bt.variants=Ud;Bt.defaultOptions=zd;Bt.modifiers=Gd;Bt.className=Pe.className;import{jsx as ut,jsxs as qd}from"react/jsx-runtime";var Xa="k-list-item",Vd=[r.hover,r.focus,r.selected,r.disabled],$d={},Xd={},T=e=>{let{text:t,groupLabel:o,group:a,iconName:n,iconClassName:s,showCheckbox:d,checked:m,hover:h,focus:x,selected:b,disabled:N,actions:c,description:g,id:v,...I}=e,M=t||e.children;return qd("li",{...I,id:v,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":Xa,E(Xa,{hover:h,focus:x,disabled:N,selected:b})),children:[d&&ut(fe,{checked:m}),n&&ut("span",{className:"k-list-item-icon-wrapper",children:ut(L,{icon:n,className:i("k-list-item-icon",s)})}),ut("span",{className:"k-list-item-text",children:M}),c&&ut("div",{className:"k-list-item-actions",children:c}),g&&ut("span",{className:"k-list-item-description",children:g}),o&&o!==""&&ut("div",{className:"k-list-item-group-label",children:o})]})};T.states=Vd;T.options=$d;T.className=Xa;T.defaultOptions=Xd;T.moduleName=pt;T.folderName=Ot;T.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 Wd}from"react/jsx-runtime";var Jd="k-list-ul",$e=e=>{let{children:t,role:o,id:a,...n