@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 124 kB
JavaScript
var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var y=(e,t)=>r({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),E=(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 r({"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 Fn(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},m={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},He={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"},i={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var xa={};function D(e){return xa[e]=(xa[e]||0)+1,`k-${e}-${xa[e]}`}import{Fragment as ps,jsx as Vn}from"react/jsx-runtime";var Na="k-font-icon",ls=[],ds={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},cs={},ho=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...c}=e;return a?Vn("span",{...c,className:r(e.className,Na,y(Na,{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"}):Vn(ps,{})};ho.states=ls;ho.options=ds;ho.className=Na;ho.defaultOptions=cs;var $n=ho;import{Fragment as fs,jsx as zo}from"react/jsx-runtime";var ka="k-svg-icon",us=[],ms={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info],variant:[He.outline,He.solid,He.duotone]},va={viewBox:"0 0 24 24",variant:He.outline},xo=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=va.viewBox,variant:c=va.variant,icon:u,...h}=e;if(!u)return zo(fs,{});if(u==="none")return zo("span",{...h,className:r(e.className,ka,y("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 zo("span",{...h,className:r(e.className,ka,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:zo("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})})};xo.states=us;xo.options=ms;xo.className=ka;xo.defaultOptions=va;var ga=xo;import*as La from"@progress/kendo-svg-icons";var Xn="icon",qn="icons";import{useContext as hs}from"react";import{createContext as bs}from"react";var Jn=bs({iconsType:"svg"});import{Fragment as Wn,jsx as No}from"react/jsx-runtime";var Uo="k-icon",xs=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Ns=[],ks={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info],variant:[He.outline,He.solid,He.duotone]},Go={viewBox:"0 0 24 24",type:"svg",variant:He.outline},L=e=>{let{iconsType:t}=hs(Jn),{size:o,themeColor:a,icon:n,type:s=t||Go.type,rotate:c,flip:u,viewBox:h=Go.viewBox,variant:x=Go.variant,...b}=e;if(!n)return No(Wn,{});if((t||s)==="svg"){if(n==="none")return No(ga,{...b,className:r(e.className,Uo),icon:n,size:o,variant:x});let p=La[n]?n:xs(`${n}-icon`);return La[p]?No(ga,{...b,className:r(e.className,Uo),icon:La[p],size:o,themeColor:a,rotate:c,flip:u,viewBox:h,variant:x}):No(Wn,{})}return No($n,{...b,className:r(e.className,Uo),icon:n,size:o,themeColor:a,rotate:c,flip:u})};L.states=Ns;L.options=ks;L.defaultOptions=Go;L.className=Uo;L.moduleName=Xn;L.folderName=qn;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 Ma="button",Yn=Ma;import{Fragment as Qn,jsx as Ot,jsxs as Zn}from"react/jsx-runtime";var ko="k-button",vs=["icon-button"],gs=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],Ls={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[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]},Sa={showArrow:!1,arrowIconName:"chevron-down"},l=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:c=Sa.showArrow,arrowIconName:u=Sa.arrowIconName,variant:h,hover:x,focus:b,active:N,selected:p,disabled:g,togglable:k,ariaDisabled:M,icon:I,iconSize:S,text:w,iconClassName:W,className:ne,...le}=e,de=I!=null,ce=e.children!==void 0;return Zn(t,{className:r(ne,ko,Fn(ko,h),y(ko,{size:o,rounded:a,fillMode:n,themeColor:s}),E(ko,{hover:x,focus:b,active:N,disabled:g||M,selected:p}),{"k-icon-button":!w&&!ce&&de}),"aria-pressed":k?p?"true":"false":void 0,...le,"aria-disabled":M?"true":void 0,disabled:g||void 0,children:[typeof I=="string"&&I&&Ot(L,{className:r(W,"k-button-icon"),icon:I,size:S}),I&&typeof I!="string"&&Ot(Qn,{children:I}),w?Zn(Qn,{children:[w&&Ot("span",{className:"k-button-text",children:w}),e.children]}):e.children&&Ot("span",{className:"k-button-text",children:e.children}),c&&Ot("span",{className:"k-menu-button-arrow k-button-arrow",children:Ot(L,{icon:u})})]})};l.states=gs;l.options=Ls;l.variants=vs;l.className=ko;l.defaultOptions=Sa;l.moduleName=Ma;l.folderName=Yn;l.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var Ia="button",jn=Ia;import{jsx as ys}from"react/jsx-runtime";var vo="k-button-group",Ms=[i.disabled],Ss={fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},Is={},C=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return ys("div",{role:"group",...n,className:r(e.className,vo,y(vo,{fillMode:t}),E(vo,{disabled:o}),{[`${vo}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};C.states=Ms;C.options=Ss;C.className=vo;C.defaultOptions=Is;C.moduleName=Ia;C.folderName=jn;C.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."}]};var go="input",Fo=go;import{jsx as As}from"react/jsx-runtime";var Vo="k-input",Cs=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Ts={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Es={},Y=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 As("span",{...N,className:r(e.className,Vo,y(Vo,{size:h,rounded:x,fillMode:b}),E(Vo,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u}))})};Y.states=Cs;Y.options=Ts;Y.className=Vo;Y.defaultOptions=Es;Y.moduleName=go;Y.folderName=Fo;import{jsx as Ps}from"react/jsx-runtime";var $o="k-picker",Os=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],ws={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Bs={},ze=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 Ps("span",{...N,className:r(e.className,$o,y($o,{size:h,rounded:x,fillMode:b}),E($o,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u})),children:e.children})};ze.states=Os;ze.options=ws;ze.className=$o;ze.defaultOptions=Bs;ze.moduleName=go;ze.folderName=Fo;import{Fragment as _s,jsx as ya}from"react/jsx-runtime";var er="k-clear-value",Rs=[i.disabled,i.loading,i.readonly],Ks={},ve=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?ya(_s,{}):ya("span",{className:r(e.className,er),children:ya(L,{icon:"x"})})};ve.states=Rs;ve.options=Ks;ve.className=er;import{jsx as zs}from"react/jsx-runtime";var Ca="k-input-inner",Ds=[],Hs={},Xo={type:"text",autocomplete:"off",value:"",placeholder:""},ge=e=>{let{value:t=Xo.value,type:o=Xo.type,placeholder:a=Xo.placeholder,autocomplete:n=Xo.autocomplete,disabled:s,readOnly:c,...u}=e;return zs("input",{...u,type:o,className:r(e.className,Ca,y(Ca,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:c||void 0})};ge.states=Ds;ge.options=Hs;ge.className=Ca;import{jsx as tr,jsxs as Fs}from"react/jsx-runtime";var Ta="k-input-inner",Us=[],Gs={},xt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...c}=e;return Fs("span",{...c,className:r(e.className,Ta,y(Ta,e)),children:[n,!n&&s&&tr(L,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&tr("span",{className:"k-input-value-text",children:t})]})};xt.states=Us;xt.options=Gs;xt.className=Ta;import{jsx as Xs}from"react/jsx-runtime";var Ea="k-input-inner",Vs=[],$s={},or={value:"",placeholder:""},Aa=e=>{let{value:t=or.value,placeholder:o=or.placeholder,rows:a,disabled:n,...s}=e;return Xs("textarea",{...s,className:r(e.className,Ea,y(Ea,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Aa.states=Vs;Aa.options=$s;Aa.className=Ea;import{Fragment as Js,jsx as ar}from"react/jsx-runtime";var nr="k-input-loading-icon",qs=[i.disabled,i.loading],xe=e=>{let{disabled:t,loading:o}=e;return t||!o?ar(Js,{}):ar("span",{className:r(e.className,nr,"k-icon k-i-loading")})};xe.states=qs;xe.className=nr;import{Fragment as Qs,jsx as rr}from"react/jsx-runtime";var ir="k-input-validation-icon",Ws=[i.valid,i.invalid,i.disabled,i.loading],Ys={},pe=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?rr(Qs,{}):rr(L,{className:r(ir),icon:s})};pe.states=Ws;pe.options=Ys;pe.className=ir;import{Fragment as el,jsx as sr}from"react/jsx-runtime";var Zs="k-input-prefix",js={direction:"horizontal"},ye=e=>{let{direction:t=js.direction,...o}=e;return e.children?sr("span",{...o,className:r(Zs,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):sr(el,{})};import{Fragment as al,jsx as lr}from"react/jsx-runtime";var tl="k-input-suffix",ol={direction:"horizontal"},Ce=e=>{let{direction:t=ol.direction,...o}=e;return e.children?lr("span",{...o,className:r(tl,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):lr(al,{})};import{jsx as $f}from"react/jsx-runtime";import{jsx as rl}from"react/jsx-runtime";var nl="k-input-suffix-text",Oa=e=>{let{children:t,...o}=e;return rl("span",{...o,className:r(nl,e.className),children:t})};import{jsx as sl}from"react/jsx-runtime";var dr="k-input-separator",il={direction:"vertical"},Te=e=>{let{direction:t=il.direction,...o}=e;return sl("span",{...o,className:r(dr,e.className,{[`${dr}-${t}`]:t})})};import{jsx as ll}from"react/jsx-runtime";var Nt=e=>ll(l,{children:"Button",...e});import{Fragment as cr,jsx as Ue,jsxs as wa}from"react/jsx-runtime";var dl=Y.states,cl=Y.defaultOptions,pl=Y.options,ul=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],ml=[],wt=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 wa(Y,{...u,valid:o,invalid:a,loading:n,disabled:s,readonly:c,style:{width:300},children:[h&&wa(cr,{children:[Ue(ye,{children:Ue(L,{icon:"lock"})}),p&&Ue(Te,{})]}),Ue(ge,{placeholder:"Placeholder",value:"Value"}),N&&Ue(pe,{valid:o,invalid:a,loading:n,disabled:s}),Ue(xe,{loading:n,disabled:s}),b&&Ue(ve,{loading:n,disabled:s,readonly:c,value:"Value"}),x&&wa(cr,{children:[p&&Ue(Te,{}),Ue(Ce,{children:Ue(Nt,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};wt.options=pl;wt.states=dl;wt.variants=ml;wt.defaultOptions=cl;wt.modifiers=ul;wt.className=Y.className;import{jsx as fl}from"react/jsx-runtime";var at=e=>fl(l,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as bl}from"react/jsx-runtime";var Lo=e=>bl(l,{icon:"folder",children:"Button",...e});import{jsx as Ba}from"react/jsx-runtime";var hl=l.options,xl=l.states,Nl={...l.defaultOptions,variant:"text"},kl=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],vl=[],Bt=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return Ba(at,{...o,icon:"star"});case"icon-and-text":return Ba(Lo,{...o,icon:"star",children:"Button"});default:return Ba(Nt,{...o,children:"Button"})}};Bt.options=hl;Bt.states=xl;Bt.variants=kl;Bt.defaultOptions=Nl;Bt.modifiers=vl;Bt.className=l.className;import{jsx as pr,jsxs as Ml}from"react/jsx-runtime";var ur="k-color-preview",gl=[],Ll={},nt=e=>{let{color:t,iconName:o,...a}=e;return Ml("span",{...a,className:r(e.className,ur,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&pr(L,{icon:o,className:"k-color-preview-icon"}),pr("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};nt.states=gl;nt.options=Ll;nt.className=ur;var Pa="popup",mr=Pa;import{jsx as fr}from"react/jsx-runtime";var br="k-animation-container",Sl=[],Il={},Ra={positionMode:"absolute",shown:!0},Ge=e=>{let{positionMode:t=Ra.positionMode,shown:o=Ra.shown,animationStyle:a,offset:n,...s}=e;return fr("div",{...s,style:{...n,...e.style},className:r(e.className,br,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:fr("div",{className:"k-child-animation-container",style:a,children:e.children})})};Ge.states=Sl;Ge.options=Il;Ge.className=br;Ge.defaultOptions=Ra;Ge.moduleName=Pa;Ge.folderName=mr;var Ka="popup",hr=Ka;import{jsx as xr}from"react/jsx-runtime";var Nr="k-popup",yl=[],Cl={},kr={positionMode:"absolute"},V=e=>{let{offset:t,positionMode:o=kr.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:c,...u}=e;return xr(Ge,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":c,children:xr("div",{...u,className:r(e.className,Nr),children:e.children})})};V.states=yl;V.options=Cl;V.className=Nr;V.defaultOptions=kr;V.moduleName=Ka;V.folderName=hr;V.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 _a="action-buttons",vr=_a;import{jsx as Al}from"react/jsx-runtime";var qo="k-actions",Tl=[],El={},Da={alignment:"start",orientation:"horizontal"},Fe=e=>{let{alignment:t=Da.alignment,orientation:o=Da.orientation,...a}=e;return Al("div",{...a,className:r(qo,{[`${qo}-${t}`]:t,[`${qo}-${o}`]:o},e.className),children:e.children})};Fe.states=Tl;Fe.options=El;Fe.className=qo;Fe.defaultOptions=Da;Fe.moduleName=_a;Fe.folderName=vr;import{jsx as wl}from"react/jsx-runtime";var Ol="k-actionsheet-footer",gr={alignment:"stretched",orientation:"horizontal"},rt=e=>{let{alignment:t=gr.alignment,orientation:o=gr.orientation,template:a,as:n=a?"div":Fe,...s}=e;return wl(n,{...s,...!a&&{alignment:t,orientation:o},className:r(e.className,Ol),children:e.children})};var Ha="searchbox",Lr=Ha;import{jsx as Mo,jsxs as Rl}from"react/jsx-runtime";var Mr="k-searchbox",Bl=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Pl={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},za={showIcon:!0,icon:"search"},Ee=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=za.showIcon,icon:k=za.icon,"aria-label":M,...I}=e;return Rl(Y,{...I,size:a,rounded:n,fillMode:s,hover:c,focus:u,valid:h,invalid:x,required:b,loading:N,disabled:p,className:r(e.className,Mr),children:[g&&Mo(L,{className:"k-input-icon",icon:k}),Mo(ge,{placeholder:o,value:t,"aria-label":M}),Mo(xe,{...e}),Mo(pe,{...e}),Mo(ve,{...e})]})};Ee.states=Bl;Ee.options=Pl;Ee.className=Mr;Ee.defaultOptions=za;Ee.moduleName=Ha;Ee.folderName=Lr;import{jsx as Dh}from"react/jsx-runtime";var Ua="textbox",Sr=Ua;import{Fragment as Ir,jsx as it,jsxs as Ga}from"react/jsx-runtime";var yr="k-textbox",Kl=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],_l={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Jo={showClearButton:!0,showValidationIcon:!0,separators:!0},oe=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Jo.separators,showClearButton:s=Jo.showClearButton,showValidationIcon:c=Jo.showValidationIcon,prefix:u,suffix:h,type:x,value:b,placeholder:N,hover:p,focus:g,valid:k,invalid:M,required:I,loading:S,disabled:w,readonly:W,id:ne,"aria-label":le,"aria-describedby":de,...ce}=e;return Ga(Y,{...ce,size:t,rounded:o,fillMode:a,hover:p,focus:g,valid:k,invalid:M,required:I,loading:S,disabled:w,readonly:W,className:r(e.className,yr),children:[u&&Ga(Ir,{children:[it(ye,{children:u}),n&&it(Te,{})]}),it(ge,{id:ne,placeholder:N,value:b,type:x,disabled:w,"aria-label":le,"aria-describedby":de,"aria-invalid":M?"true":void 0}),c&&it(pe,{valid:k,invalid:M,loading:S,disabled:w}),it(xe,{loading:S,disabled:w}),s&&it(ve,{loading:S,disabled:w,readonly:W,value:b}),h&&Ga(Ir,{children:[n&&it(Te,{}),it(Ce,{children:h})]})]})};oe.states=Kl;oe.options=_l;oe.className=yr;oe.defaultOptions=Jo;oe.moduleName=Ua;oe.folderName=Sr;oe.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 So=oe;import{jsx as Dl}from"react/jsx-runtime";var Cr=e=>Dl(So,{...e});import{Fragment as ox,jsx as tx}from"react/jsx-runtime";import{Fragment as lx,jsx as sx}from"react/jsx-runtime";import{jsx as ux}from"react/jsx-runtime";import{jsx as Fa}from"react/jsx-runtime";var Hl=oe.states,zl=oe.defaultOptions,Ul=oe.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]?Fa(L,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?Fa(Nt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),Fa(Cr,{value:"Value",style:{width:300},...o,...a})};Pt.options=Ul;Pt.states=Hl;Pt.variants=Fl;Pt.defaultOptions=zl;Pt.modifiers=Gl;Pt.className=oe.className;import{jsx as st,jsxs as Va}from"react/jsx-runtime";var Tr="k-actionsheet-titlebar",Vl={},ue=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 Va("div",{...p,className:r(e.className,Tr),children:[Va("div",{className:"k-actionsheet-titlebar-group",children:[a&&st("div",{className:"k-actionsheet-actions",children:a}),!N&&Va("div",{className:"k-actionsheet-title",id:b,children:[t&&st("div",{className:"k-text-center",children:t}),o&&st("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&st("div",{className:"k-actionsheet-title",id:b,children:N}),n&&st("div",{className:"k-actionsheet-actions",children:n})]}),(c||s)&&st("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?st(oe,{value:u,placeholder:h,size:x?"large":"medium","aria-label":t||h||"Input"}):st(Ee,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};ue.className=Tr;ue.defaultOptions=Vl;import{jsx as $a,jsxs as Jl}from"react/jsx-runtime";var Xa="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===ue&&$a(ue,{adaptive:t,titleId:c,...n?.props}),x=s?.type===rt&&$a(rt,{...s?.props});return Jl("div",{...u,className:r(e.className,Xa,{[`${Xa}-animated`]:o}),children:[h,$a("div",{className:"k-actionsheet-content",children:a}),x]})};Rt.states=$l;Rt.options=Xl;Rt.className=Xa;Rt.defaultOptions=ql;var Io="action-sheet",Wo=Io;var qa="overlay",Er=qa;import{jsx as Zl}from"react/jsx-runtime";var Ar="k-overlay",Wl=[],Yl={},Ql={},lt=e=>{let{...t}=e;return Zl("div",{...t,className:r(e.className,Ar),children:e.children})};lt.states=Wl;lt.options=Yl;lt.className=Ar;lt.defaultOptions=Ql;lt.moduleName=qa;lt.folderName=Er;import{jsx as Yo,jsxs as td}from"react/jsx-runtime";var Or="k-actionsheet",jl=[],ed={},yo={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},q=e=>{let{side:t=yo.side,fullscreen:o=yo.fullscreen,adaptive:a=yo.adaptive,overlay:n=yo.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&&Yo(lt,{}),Yo(Ge,{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:Yo("div",{...b,id:x,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":N,className:r(e.className,Or,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||Yo(Rt,{header:u,footer:h,adaptive:a,titleId:N,...e,children:c})})})]})};q.states=jl;q.options=ed;q.className=Or;q.defaultOptions=yo;q.moduleName=Io;q.folderName=Wo;q.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 wr="k-actionsheet-container",od=[],ad={},nd={},Kt=e=>{let{children:t,...o}=e;return rd("div",{...o,className:wr,children:t})};Kt.states=od;Kt.options=ad;Kt.className=wr;Kt.defaultOptions=nd;Kt.moduleName=Io;Kt.folderName=Wo;import{jsx as id}from"react/jsx-runtime";var Ja=e=>{let{...t}=e;return id("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as ld,jsx as Co,jsxs as Wa}from"react/jsx-runtime";var Ya="k-actionsheet-item",sd=[i.hover,i.focus,i.selected,i.disabled],dt=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:c,disabled:u,...h}=e;return Wa("span",{...h,className:r(e.className,Ya,E(Ya,{hover:n,focus:s,selected:c,disabled:u})),children:[!e.children&&Co(ld,{children:Wa("span",{className:"k-actionsheet-action",children:[t&&Co("span",{className:"k-icon-wrap",children:Co(L,{className:"k-actionsheet-item-icon",icon:t})}),Wa("span",{className:"k-actionsheet-item-text",children:[o&&Co("span",{className:"k-actionsheet-item-title",children:o}),a&&Co("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};dt.states=sd;dt.className=Ya;import{jsx as pN,jsxs as uN}from"react/jsx-runtime";import{jsx as hN}from"react/jsx-runtime";import{jsx as vN}from"react/jsx-runtime";import{jsx as SN}from"react/jsx-runtime";import{jsx as ae,jsxs as Qa}from"react/jsx-runtime";var dd=q.options,cd=q.states,Pr={...q.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}={...Pr,...e},n={},s=Qa(Ja,{children:[ae(dt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),ae(dt,{text:"Add to Favorites",iconName:"heart"}),ae(dt,{text:"Upload New",iconName:"upload",disabled:!0}),ae("hr",{className:"k-hr"}),ae(dt,{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"?ae(q,{...a,adaptive:!0,fullscreen:n.fullScreen,header:ae(ue,{actionsStart:n.actionsStart?ae(l,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?ae(l,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:n.subtitle}),footer:n.footer?Qa(rt,{alignment:"stretched",children:[ae(l,{text:"Cancel",size:"large",themeColor:"base"}),ae(l,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):ae(q,{...a,fullscreen:n.fullScreen,header:ae(ue,{actionsStart:n.actionsStart?ae(l,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?ae(l,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Qa(rt,{alignment:"stretched",children:[ae(l,{text:"Apply",themeColor:"primary"}),ae(l,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};_t.options=dd;_t.states=cd;_t.variants=pd;_t.defaultOptions=Pr;_t.modifiers=ud;_t.className=q.className;import{Fragment as ZN,jsx as QN,jsxs as jN}from"react/jsx-runtime";import{Fragment as rk,jsx as nk,jsxs as ik}from"react/jsx-runtime";import{Fragment as uk,jsx as pk,jsxs as mk}from"react/jsx-runtime";import{Fragment as kk,jsx as Nk,jsxs as vk}from"react/jsx-runtime";import{Fragment as yk,jsx as Ik,jsxs as Ck}from"react/jsx-runtime";import{Fragment as Bk,jsx as wk,jsxs as Pk}from"react/jsx-runtime";import{jsx as qe,jsxs as Za}from"react/jsx-runtime";var md={...l.options,...C.options},fd=l.states,bd={...l.defaultOptions,...C.defaultOptions,variant:"text-button"},hd=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],xd=[],Dt=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?Za(C,{fillMode:a.fillMode,className:o,children:[qe(l,{...a,icon:"star"}),qe(l,{...a,icon:"star"}),qe(l,{...a,icon:"star"})]}):t==="icon-text-button"?Za(C,{fillMode:a.fillMode,className:o,children:[qe(l,{...a,icon:"star",children:"First"}),qe(l,{...a,icon:"star",children:"Middle"}),qe(l,{...a,icon:"star",children:"Last"})]}):Za(C,{fillMode:a.fillMode,className:o,children:[qe(l,{...a,children:"First"}),qe(l,{...a,children:"Middle"}),qe(l,{...a,children:"Last"})]})};Dt.options=md;Dt.states=fd;Dt.variants=hd;Dt.defaultOptions=bd;Dt.modifiers=xd;Dt.className=C.className;var ja="slider",Rr=ja;import{jsx as Ht,jsxs as en}from"react/jsx-runtime";var To="k-slider",Nd=[i.hover,i.focus,i.active,i.disabled,i.readonly],kd={},Ae={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},G=e=>{let{type:t=Ae.type,orientation:o=Ae.orientation,gradientType:a=Ae.gradientType,readonly:n=Ae.readonly,disabled:s=Ae.disabled,handlePosition:c=Ae.handlePosition,showButtons:u=Ae.showButtons,showTicks:h=Ae.showTicks,value:x=Ae.value,min:b=Ae.min,max:N=Ae.max,startValue:p,endValue:g,hover:k,focus:M,active:I,trackStyle:S,dir:w,...W}=e,le=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),de,ce;return o==="horizontal"?(de=w==="rtl"?"chevron-left":"chevron-right",ce=w==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(de="chevron-up",ce="chevron-down"),en("div",{...W,className:r(To,e.className,E(To,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:w,children:[u&&Ht(l,{className:"k-button-decrease",rounded:"full",icon:ce,tabIndex:-1,title:"Decrease"}),en("div",{className:"k-slider-track-wrap",children:[h&&Ht("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),en("div",{className:"k-slider-track",style:S,children:[Ht("div",{className:"k-slider-selection"}),t==="range"&&Ht("span",{className:r("k-draghandle","k-draghandle-start",E(To,{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":le,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":W["aria-label"]?`${W["aria-label"]} start`:"Range start"}),Ht("span",{className:r("k-draghandle",`k-draghandle-${c}`,E(To,{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":le,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?W["aria-label"]?`${W["aria-label"]} end`:"Range end":W["aria-label"]})]})]}),u&&Ht(l,{className:"k-button-increase",rounded:"full",icon:de,tabIndex:-1,title:"Increase"})]})};G.states=Nd;G.options=kd;G.className=To;G.defaultOptions=Ae;G.moduleName=ja;G.folderName=Rr;G.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 Kr}from"react/jsx-runtime";var _r="k-tick",vd=[],gd={},Dr={label:!1},T=e=>{let{style:t,label:o=Dr.label,orientation:a,large:n,text:s,...c}=e;return Kr("li",{...c,role:"presentation",title:s||"Tick",className:r(e.className,_r,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&Kr("span",{className:"k-label",children:s})})};T.states=vd;T.options=gd;T.className=_r;T.defaultOptions=Dr;import{Fragment as Ld,jsx as Oe,jsxs as Md}from"react/jsx-runtime";var Hr=e=>Oe(G,{"aria-label":e["aria-label"]||"Slider",children:Md(Ld,{children:[Oe(T,{className:"k-first",label:!0,large:!0,text:"0"}),Oe(T,{}),Oe(T,{}),Oe(T,{}),Oe(T,{}),Oe(T,{label:!0,large:!0,text:"5"}),Oe(T,{}),Oe(T,{}),Oe(T,{}),Oe(T,{}),Oe(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as Sd,jsx as we,jsxs as Id}from"react/jsx-runtime";var zr=e=>we(G,{children:Id(Sd,{children:[we(T,{className:"k-first",label:!0,large:!0,text:"0"}),we(T,{}),we(T,{}),we(T,{}),we(T,{}),we(T,{label:!0,large:!0,text:"5"}),we(T,{}),we(T,{}),we(T,{}),we(T,{}),we(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as fv,jsx as mv,jsxs as bv}from"react/jsx-runtime";import{Fragment as vv,jsx as kv,jsxs as gv}from"react/jsx-runtime";import{jsx as yd}from"react/jsx-runtime";var tn=e=>yd(G,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as Cd}from"react/jsx-runtime";var on=e=>Cd(G,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as wv,jsx as Ov,jsxs as Bv}from"react/jsx-runtime";import{Fragment as Dv,jsx as _v,jsxs as Hv}from"react/jsx-runtime";import{jsx as Ve,jsxs as Ur}from"react/jsx-runtime";var Td=G.options,Ed=G.states,Gr={...G.defaultOptions,variant:"horizontal",label:!0},Ad=[{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}],zt=e=>{let{variant:t,modifiers:o,...a}=e,n=Gr.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"?Ur(zr,{style:{height:"300px",...c},...a,...s,children:[Ve(T,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),Ve(T,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),Ve(T,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),Ve(T,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),Ve(T,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):Ur(Hr,{style:{width:"400px",...c},...a,...s,children:[Ve(T,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),Ve(T,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),Ve(T,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),Ve(T,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),Ve(T,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};zt.options=Td;zt.states=Ed;zt.variants=Ad;zt.defaultOptions=Gr;zt.modifiers=Od;zt.className=G.className;import{jsx as Fr,jsxs as Kd}from"react/jsx-runtime";var Vr="k-spin-button",Pd=[],Rd={size:[d.undefined,d.small,d.medium,d.large],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},an={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},ct=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=an.increaseLabel,decreaseLabel:s=an.decreaseLabel,...c}=e;return Kd("span",{...c,className:r(Vr,e.className),children:[Fr(l,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),Fr(l,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};ct.states=Pd;ct.options=Rd;ct.className=Vr;ct.defaultOptions=an;ct.moduleName=null;ct.folderName=null;var $r="numeric-textbox",Xr="numerictextbox";import{Fragment as qr,jsx as Je,jsxs as nn}from"react/jsx-runtime";var Jr="k-numerictextbox",_d=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Dd={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Qo={showSpinButton:!0,showClearButton:!0,separators:!0},H=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Qo.separators,showClearButton:s=Qo.showClearButton,showSpinButton:c=Qo.showSpinButton,prefix:u,suffix:h,value:x,placeholder:b,hover:N,focus:p,valid:g,invalid:k,required:M,loading:I,disabled:S,readonly:w,id:W,"aria-label":ne,"aria-describedby":le,...de}=e;return nn(Y,{...de,size:t,rounded:o,fillMode:a,hover:N,focus:p,valid:g,invalid:k,required:M,loading:I,disabled:S,readonly:w,className:r(e.className,Jr),children:[u&&nn(qr,{children:[Je(ye,{children:u}),n&&Je(Te,{})]}),Je(ge,{id:W,placeholder:b,value:x,role:"spinbutton",disabled:S,"aria-label":ne,"aria-describedby":le,"aria-invalid":k?"true":void 0}),Je(pe,{valid:g,invalid:k,loading:I,disabled:S}),Je(xe,{loading:I,disabled:S}),s&&Je(ve,{loading:I,disabled:S,readonly:w,value:x}),h&&nn(qr,{children:[n&&Je(Te,{}),Je(Ce,{children:h})]}),c&&Je(ct,{className:"k-input-spinner",size:t,fillMode:a,disabled:S})]})};H.states=_d;H.options=Dd;H.className=Jr;H.defaultOptions=Qo;H.moduleName=$r;H.folderName=Xr;H.ariaSpec={selector:".k-numerictextbox",rules:[{selector:".k-numerictextbox > .k-input-inner",attribute:"role=spinbutton",usage:"Announces the spin button capabilities of the NumericTextBox."},{selector:".k-numerictextbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuenow (when has value)",usage:"Announces the current value of the component."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemin (when has min)",usage:"Announces the minimum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemax (when has max)",usage:"Announces the maximum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the NumericTextBox is in an invalid state."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message."},{selector:".k-numerictextbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"role=button or nodeName=button",usage:"Describes the role of the spin buttons."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"aria-label",usage:"The button element requires discernible text."},{selector:".k-numerictextbox.k-disabled .k-spin-button > .k-button",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."}]};var Eo=H;import{jsx as Hd}from"react/jsx-runtime";var Wr=e=>Hd(Eo,{...e});import sn from"react";import{jsx as Yr}from"react/jsx-runtime";var zd="k-list-group-sticky-header",rn=e=>Yr("div",{className:r(zd,e.className),children:Yr("div",{className:"k-list-header-text",children:e.children})});import{jsx as Gd}from"react/jsx-runtime";var Ud="k-no-data",Zo=e=>{let{live:t,...o}=e;return Gd("span",{...o,className:r(Ud,e.className),"aria-live":t?"polite":void 0,children:e.children})};var kt="list",Ut=kt;import{jsx as Qr,jsxs as Zr}from"react/jsx-runtime";var ln="k-list",Fd=[],Vd={size:[d.undefined,d.small,d.medium,d.large]},$d={},R=e=>{let{size:t,virtualization:o,children:a,header:n,selectAll:s,optionLabel:c,customValue:u,noData:h,screenReaders:x,...b}=e,p=sn.Children.toArray(a)[0],g=p?.props?.children?sn.Children.count(p.props.children):sn.Children.count(a);return Zr("div",{...b,className:r(e.className,ln,y(ln,{size:t}),{"k-virtual-list":o}),children:[c,s,u,n&&Qr(rn,{children:n}),a||(h!==void 0?h:Qr(Zo,{live:!0,children:"No data found."})),x&&a&&Zr(Zo,{className:"k-sr-only",live:!0,children:[g," items found."]})]})};R.states=Fd;R.options=Vd;R.className=ln;R.defaultOptions=$d;R.moduleName=kt;R.folderName=Ut;R.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 Wd}from"react/jsx-runtime";var jr="k-list-container",Xd=[],qd={},Jd={},Gt=e=>{let{...t}=e;return Wd("div",{...t,className:r(e.className,jr),children:e.children})};Gt.states=Xd;Gt.options=qd;Gt.className=jr;Gt.defaultOptions=Jd;Gt.moduleName=kt;Gt.folderName=Ut;var vt="checkbox",Ft=vt;import{jsx as ei}from"react/jsx-runtime";var jo="k-checkbox",Yd=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],Qd={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},Zd={},Ne=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 ei("span",{className:"k-checkbox-wrap",role:p,children:ei("input",{...g,id:t,type:"checkbox",defaultChecked:o,required:x,disabled:c||void 0,"aria-invalid":u?"true":void 0,className:r(e.className,jo,y(jo,{size:b,rounded:N}),E(jo,{hover:n,focus:s,disabled:c,invalid:u,valid:h,indeterminate:a,checked:o}))})})};Ne.states=Yd;Ne.options=Qd;Ne.className=jo;Ne.defaultOptions=Zd;Ne.moduleName=vt;Ne.folderName=Ft;Ne.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 De=Ne;import{jsx as tc}from"react/jsx-runtime";var ti="k-checkbox-list",jd=[],ec={},oi={layout:"vertical"},me=e=>{let{layout:t=oi.layout,...o}=e;return tc("ul",{...o,className:r(e.className,ti,{[`k-list-${t}`]:t}),children:e.children})};me.states=jd;me.options=ec;me.className=ti;me.defaultOptions=oi;me.moduleName=vt;me.folderName=Ft;import{jsx as rc}from"react/jsx-runtime";var ai="k-checkbox-list-item",oc=[],ac={},nc={},fe=e=>{let{...t}=e;return rc("li",{...t,className:r(e.className,ai),children:e.children})};fe.states=oc;fe.options=ac;fe.className=ai;fe.defaultOptions=nc;fe.moduleName=vt;fe.folderName=Ft;import{Fragment as ic,jsx as ni,jsxs as sc}from"react/jsx-runtime";var We=({children:e="Label",id:t="cb-label-after",...o})=>sc(ic,{children:[ni(De,{id:t,...o}),ni("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as dL,jsx as lL,jsxs as cL}from"react/jsx-runtime";import{Fragment as bL,jsx as fL,jsxs as hL}from"react/jsx-runtime";import{Fragment as gL,jsx as vL,jsxs as LL}from"react/jsx-runtime";import{jsx as yL}from"react/jsx-runtime";import{jsx as AL}from"react/jsx-runtime";import{jsx as PL}from"react/jsx-runtime";import{jsx as Be,jsxs as ri}from"react/jsx-runtime";var lc=me.options,dc=me.states,cc={...me.defaultOptions,variant:"vertical"},pc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],uc=[],Vt=e=>{let{variant:t,...o}=e;return t==="horizontal"?ri(me,{layout:"horizontal",...o,children:[Be(fe,{children:Be(We,{id:D("cb"),defaultChecked:!0,children:"Label"})}),Be(fe,{children:Be(We,{id:D("cb"),children:"Label"})}),Be(fe,{children:Be(We,{id:D("cb"),children:"Label"})})]}):ri(me,{...o,children:[Be(fe,{children:Be(We,{id:D("cb"),defaultChecked:!0,children:"Label"})}),Be(fe,{children:Be(We,{id:D("cb"),children:"Label"})}),Be(fe,{children:Be(We,{id:D("cb"),children:"Label"})})]})};Vt.options=lc;Vt.states=dc;Vt.variants=pc;Vt.defaultOptions=cc;Vt.modifiers=uc;Vt.className=me.className;import{jsx as Nc}from"react/jsx-runtime";var mc=De.options,fc=De.states,bc=De.defaultOptions,hc=[],xc=[],$t=e=>Nc(We,{id:D("checkbox"),...e,defaultChecked:!0,children:"Label"});$t.options=mc;$t.states=fc;$t.variants=hc;$t.defaultOptions=bc;$t.modifiers=xc;$t.className=De.className;import{jsx as gt,jsxs as Lc}from"react/jsx-runtime";var dn="k-list-item",kc=[i.hover,i.focus,i.selected,i.disabled],vc={},gc={},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 Lc("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:r(e.className,a?"k-list-group-item":dn,E(dn,{hover:h,focus:x,disabled:N,selected:b})),children:[c&>(Ne,{checked:u}),n&>("span",{className:"k-list-item-icon-wrapper",children:gt(L,{icon:n,className:r("k-list-item-icon",s)})}),gt("span",{className:"k-list-item-text",children:I}),p&>("div",{className:"k-list-item-actions",children:p}),g&>("span",{className:"k-list-item-description",children:g}),o&&o!==""&>("div",{className:"k-list-item-group-label",children:o})]})};A.states=kc;A.options=vc;A.className=dn;A.defaultOptions=gc;A.moduleName=kt;A.folderName=Ut;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 Sc}from"react/jsx-runtime";var Mc="k-list-ul",Ye=e=>