UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 166 kB
var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var A=(e,t)=>n({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),M=(e,t)=>{let{valid:o,invalid:a,hover:r,focus:s,checked:l,active:c,selected:b,disabled:N,indeterminate:h,loading:k,empty:m,readonly:L,highlighted:C,...S}=t;return n({"k-valid":o,"k-invalid":a,"k-hover":r,"k-focus":s,"k-checked":l,"k-active":c,"k-selected":b,"k-disabled":N,"k-indeterminate":h&&!l,"k-loading":k,"k-empty":m,"k-readonly":L,"k-highlighted":C},Object.keys(S).reduce((T,I)=>(I.startsWith("k-")?T[I]=S[I]:T[`k-${I}`]=S[I],T),{}))};function Bi(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var p={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},f={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},ft={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},x={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"},Pi={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var Ur={};function y(e){return Ur[e]=(Ur[e]||0)+1,`k-${e}-${Ur[e]}`}var Vr="action-buttons",wi=Vr;import{jsx as Qd}from"react/jsx-runtime";var Wa="k-actions",Jd=[],Yd={},$r={alignment:"start",orientation:"horizontal"},z=e=>{let{alignment:t=$r.alignment,orientation:o=$r.orientation,...a}=e;return Qd("div",{...a,className:n(Wa,{[`${Wa}-${t}`]:t,[`${Wa}-${o}`]:o},e.className),children:e.children})};z.states=Jd;z.options=Yd;z.className=Wa;z.defaultOptions=$r;z.moduleName=Vr;z.folderName=wi;import{Fragment as tp,jsx as Ri}from"react/jsx-runtime";var Xr="k-font-icon",Zd=[],jd={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info]},ep={},ha=e=>{let{size:t,themeColor:o,icon:a,rotate:r,flip:s,...l}=e;return a?Ri("span",{...l,className:n(e.className,Xr,A(Xr,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):Ri(tp,{})};ha.states=Zd;ha.options=jd;ha.className=Xr;ha.defaultOptions=ep;var Ki=ha;import{Fragment as rp,jsx as Ja}from"react/jsx-runtime";var qr="k-svg-icon",op=[],ap={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info],variant:[ft.outline,ft.solid,ft.duotone]},Wr={viewBox:"0 0 24 24",variant:ft.outline},xa=e=>{let{size:t,themeColor:o,rotate:a,flip:r,viewBox:s=Wr.viewBox,variant:l=Wr.variant,icon:c,...b}=e;if(!c)return Ja(rp,{});if(c==="none")return Ja("span",{...b,className:n(e.className,qr,A("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let N=typeof c=="object"&&c.name&&c.name,h=typeof c=="object"?l&&c.variants?.[l]||c.variants?.outline||c.content:void 0;return Ja("span",{...b,className:n(e.className,qr,A("k-icon",{size:t}),{[`k-svg-i-${N}`]:N,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true",children:Ja("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:s,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:c?void 0:e.children})})};xa.states=op;xa.options=ap;xa.className=qr;xa.defaultOptions=Wr;var Jr=xa;import*as Yr from"@progress/kendo-svg-icons";var _i="icon",Di="icons";import{useContext as ip}from"react";import{createContext as np}from"react";var Hi=np({iconsType:"svg"});import{Fragment as zi,jsx as Na}from"react/jsx-runtime";var Ya="k-icon",sp=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),lp=[],dp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info],variant:[ft.outline,ft.solid,ft.duotone]},Qa={viewBox:"0 0 24 24",type:"svg",variant:ft.outline},v=e=>{let{iconsType:t}=ip(Hi),{size:o,themeColor:a,icon:r,type:s=t||Qa.type,rotate:l,flip:c,viewBox:b=Qa.viewBox,variant:N=Qa.variant,...h}=e;if(!r)return Na(zi,{});if((t||s)==="svg"){if(r==="none")return Na(Jr,{...h,className:n(e.className,Ya),icon:r,size:o,variant:N});let m=Yr[r]?r:sp(`${r}-icon`);return Yr[m]?Na(Jr,{...h,className:n(e.className,Ya),icon:Yr[m],size:o,themeColor:a,rotate:l,flip:c,viewBox:b,variant:N}):Na(zi,{})}return Na(Ki,{...h,className:n(e.className,Ya),icon:r,size:o,themeColor:a,rotate:l,flip:c})};v.states=lp;v.options=dp;v.defaultOptions=Qa;v.className=Ya;v.moduleName=_i;v.folderName=Di;v.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var Qr="button",Fi=Qr;import{Fragment as Gi,jsx as uo,jsxs as Ui}from"react/jsx-runtime";var ka="k-button",pp=["icon-button"],cp=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],mp={size:[p.undefined,p.xsmall,p.small,p.medium,p.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:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},Zr={showArrow:!1,arrowIconName:"chevron-down"},d=e=>{let{as:t="button",size:o,rounded:a,fillMode:r,themeColor:s,showArrow:l=Zr.showArrow,arrowIconName:c=Zr.arrowIconName,variant:b,hover:N,focus:h,active:k,selected:m,disabled:L,togglable:C,ariaDisabled:S,icon:T,iconSize:I,text:w,iconClassName:Q,className:pe,...ue}=e,fe=T!=null,be=e.children!==void 0;return Ui(t,{className:n(pe,ka,Bi(ka,b),A(ka,{size:o,rounded:a,fillMode:r,themeColor:s}),M(ka,{hover:N,focus:h,active:k,disabled:L||S,selected:m}),{"k-icon-button":!w&&!be&&fe}),"aria-pressed":C?m?"true":"false":void 0,...ue,"aria-disabled":S?"true":void 0,disabled:L||void 0,children:[typeof T=="string"&&T&&uo(v,{className:n(Q,"k-button-icon"),icon:T,size:I}),T&&typeof T!="string"&&uo(Gi,{children:T}),w?Ui(Gi,{children:[w&&uo("span",{className:"k-button-text",children:w}),e.children]}):e.children&&uo("span",{className:"k-button-text",children:e.children}),l&&uo("span",{className:"k-menu-button-arrow k-button-arrow",children:uo(v,{icon:c})})]})};d.states=cp;d.options=mp;d.variants=pp;d.className=ka;d.defaultOptions=Zr;d.moduleName=Qr;d.folderName=Fi;d.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};import{jsx as up}from"react/jsx-runtime";var V=e=>up(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as fp}from"react/jsx-runtime";var R=e=>fp(d,{icon:"folder",children:"Button",...e});import{jsx as bp}from"react/jsx-runtime";var Jt=e=>bp(d,{children:"Button",...e});import{jsx as jr}from"react/jsx-runtime";var hp=d.options,xp=d.states,Np={...d.defaultOptions,variant:"text"},kp=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],gp=[],fo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return jr(V,{...o,icon:"star"});case"icon-and-text":return jr(R,{...o,icon:"star",children:"Button"});default:return jr(Jt,{...o,children:"Button"})}};fo.options=hp;fo.states=xp;fo.variants=kp;fo.defaultOptions=Np;fo.modifiers=gp;fo.className=d.className;var en="prompt",Vi=en;import{Fragment as Mp,jsx as $i}from"react/jsx-runtime";var Xi="k-prompt",vp=[],Cp={},Lp={},G=e=>{let{...t}=e;return $i("div",{...t,className:n(e.className,Xi),children:$i(Mp,{children:e.children})})};G.states=vp;G.options=Cp;G.className=Xi;G.defaultOptions=Lp;G.moduleName=en;G.folderName=Vi;G.ariaSpec={selector:".k-prompt",rules:[{selector:".k-input-prefix > .k-button",attribute:"role=button or nodeName=button",usage:"The buttons must have appropriate role."},{selector:".k-input-prefix > .k-button",attribute:"aria-label or title",usage:"The buttons must be properly labelled."},{selector:".k-input-suffix > .k-button",attribute:"role=button or nodeName=button",usage:"The buttons must have appropriate role."},{selector:".k-input-suffix > .k-button",attribute:"aria-label or title",usage:"The buttons must be properly labelled."},{selector:".k-input-suffix > .k-prompt-send.k-disabled",attribute:"disabled",usage:"Announces send action as disabled if necessary."},{selector:".k-prompt-expander .k-button",attribute:"aria-controls (when present)",usage:"Points to the controlled element based on the given id."},{selector:".k-prompt-expander .k-button",attribute:"aria-expanded",usage:"Indicates the expanded state of the prompt expander content."},{selector:".k-prompt-expander .k-suggestion-group",attribute:"role=group",usage:"Indicates that the suggestion container element is a group."},{selector:".k-prompt-expander .k-suggestion",attribute:"role=button",usage:"Indicates that the suggestion element is a button."},{selector:".k-prompt-expander .k-suggestion",attribute:"aria-label or title",usage:"The suggestion elements must be properly labelled."},{selector:".k-prompt-expander .k-suggestion",attribute:"tabindex=0",usage:"The suggestion element should be focusable."}]};import{jsx as Ap}from"react/jsx-runtime";var Sp="k-prompt-header",bt=e=>{let{...t}=e;return Ap("div",{...t,className:n(e.className,Sp),children:e.children})};import{Fragment as yp,jsx as qi}from"react/jsx-runtime";var Ip="k-prompt-content",Me=e=>{let{...t}=e;return qi("div",{...t,className:n(e.className,Ip),children:qi(yp,{children:e.children})})};import{jsx as Ep}from"react/jsx-runtime";var Tp="k-prompt-view",Se=e=>{let{...t}=e;return Ep("div",{...t,className:n(e.className,Tp),children:e.children})};import{jsx as Wi,jsxs as Bp}from"react/jsx-runtime";var Op="k-prompt-expander",Za=e=>{let{title:t,children:o,expanded:a,...r}=e,s=y("prompt-expander-content");return Bp("div",{...r,className:n(e.className,Op),children:[Wi(R,{fillMode:"flat",icon:a?"chevron-up":"chevron-down","aria-expanded":a?"true":"false","aria-controls":a?s:void 0,children:t}),a&&Wi("div",{className:"k-prompt-expander-content",id:s,children:o})]})};import{jsx as wp}from"react/jsx-runtime";var Pp="k-prompt-footer",bo=e=>{let{...t}=e;return wp("div",{...t,className:n(e.className,Pp),children:e.children})};import{jsx as Lg}from"react/jsx-runtime";import{jsx as Rp}from"react/jsx-runtime";var Ji="k-prompt-send",Yi={generating:!1},Ct=e=>{let{generating:t=Yi.generating,...o}=e;return Rp(d,{...o,className:n(e.className,Ji,{"k-generating":t}),icon:t?"stop-sm":"paper-plane",active:t,fillMode:"flat","aria-label":t?"Stop generating":"Send prompt"})};Ct.states=d.states;Ct.options=d.options;Ct.className=Ji;Ct.defaultOptions=Yi;import{jsx as Qi,jsxs as zp}from"react/jsx-runtime";var ja="k-fab",Dp=[i.hover,i.focus,i.active,i.selected,i.disabled],Hp={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},Zi={type:"button"},oe=e=>{let{size:t,rounded:o,themeColor:a,text:r,icon:s,type:l=Zi.type,position:c,hover:b,focus:N,active:h,selected:k,disabled:m,...L}=e;return zp("button",{...L,type:l,className:n(e.className,ja,A(ja,{size:t,rounded:o,themeColor:a}),M(ja,{hover:b,focus:N,active:h,disabled:m,selected:k}),{[`!k-pos-absolute k-${c}`]:c}),...!r&&s&&!e["aria-label"]&&{"aria-label":"Action"},...m&&{"aria-disabled":"true"},disabled:m||void 0,children:[s&&Qi(v,{className:"k-fab-icon",icon:s}),r&&Qi("span",{className:"k-fab-text",children:r})]})};oe.states=Dp;oe.options=Hp;oe.className=ja;oe.defaultOptions=Zi;oe.moduleName="fab";oe.folderName="fab";oe.ariaSpec={selector:".k-fab",rules:[{selector:".k-fab",attribute:"role=button or nodeName=button",usage:"Omitted if the <button> DOM element is used."},{selector:".k-fab",attribute:"aria-label or title (when icon-only)",usage:"The attribute must be present when no text is initially visible in the button."},{selector:".k-fab.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."}]};import{jsx as Gp}from"react/jsx-runtime";var Fp="k-fab-items",ji=e=>{let{position:t,...o}=e;return Gp("ul",{...o,className:n(e.className,Fp,{[`k-fab-items-${t}`]:t}),children:e.children})};import{jsx as ts,jsxs as Vp}from"react/jsx-runtime";var es="k-fab-item",Up=[i.hover,i.focus,i.active,i.disabled],tn=e=>{let{text:t,icon:o,align:a,hover:r,focus:s,active:l,disabled:c,...b}=e;return Vp("li",{...b,className:n(e.className,es,{[`k-text-${a}`]:a},M(es,{hover:r,focus:s,active:l,disabled:c})),children:[ts("span",{className:"k-fab-item-text",children:t}),ts(v,{className:"k-fab-item-icon",icon:o})]})};tn.states=Up;import{jsx as Xg}from"react/jsx-runtime";import{jsx as Yg}from"react/jsx-runtime";import{jsx as ev}from"react/jsx-runtime";import{jsx as rv}from"react/jsx-runtime";import{jsx as ho,jsxs as Yp}from"react/jsx-runtime";var $p=oe.options,Xp=oe.states,qp={...oe.defaultOptions,variant:"text"},Wp=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Jp=[{name:"opened",title:"Opened"}],xo=e=>{let{variant:t,modifiers:o,...a}=e,{opened:r}=o||{},s=r?ho("div",{className:"k-fab-popup k-popup k-popup-transparent",style:{position:"absolute",top:"calc(16px + 36px)",right:"calc(16px + calc(36px / 2) - calc(36px /2))"},children:ho(ji,{position:"bottom",children:ho(tn,{text:"Item",icon:"pencil",align:"right"})})}):null,l;switch(t){case"icon-only":l=ho(oe,{...a,icon:"star"});break;case"icon-and-text":l=ho(oe,{...a,icon:"star",text:"Action"});break;default:l=ho(oe,{...a,text:"Action"});break}return Yp("span",{style:{position:"relative"},children:[l,s]})};xo.options=$p;xo.states=Xp;xo.variants=Wp;xo.defaultOptions=qp;xo.modifiers=Jp;xo.className=oe.className;import{jsx as Qp}from"react/jsx-runtime";var os="k-prompt-stop-fab",as={generating:!0},Yt=e=>{let{generating:t=as.generating,icon:o,...a}=e;return Qp(oe,{...a,className:n(e.className,os,{"k-generating":t}),style:{bottom:"16px",right:"16px"},position:"bottom-end",icon:t?"stop-sm":o,active:t,"aria-label":t?"Stop generating":"Action"})};Yt.states=d.states;Yt.options=d.options;Yt.className=os;Yt.defaultOptions=as;var on="button",rs=on;import{jsx as tc}from"react/jsx-runtime";var ga="k-button-group",Zp=[i.disabled],jp={fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},ec={},B=e=>{let{fillMode:t,disabled:o,stretched:a,...r}=e;return tc("div",{role:"group",...r,className:n(e.className,ga,A(ga,{fillMode:t}),M(ga,{disabled:o}),{[`${ga}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};B.states=Zp;B.options=jp;B.className=ga;B.defaultOptions=ec;B.moduleName=on;B.folderName=rs;B.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 Hv,jsx as Dv,jsxs as zv}from"react/jsx-runtime";import{Fragment as Xv,jsx as $v,jsxs as qv}from"react/jsx-runtime";import{Fragment as jv,jsx as Zv,jsxs as eC}from"react/jsx-runtime";import{Fragment as iC,jsx as nC,jsxs as sC}from"react/jsx-runtime";import{Fragment as uC,jsx as mC,jsxs as fC}from"react/jsx-runtime";import{Fragment as gC,jsx as kC,jsxs as vC}from"react/jsx-runtime";import{jsx as Lt,jsxs as an}from"react/jsx-runtime";var oc={...d.options,...B.options},ac=d.states,rc={...d.defaultOptions,...B.defaultOptions,variant:"text-button"},nc=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],ic=[],No=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?an(B,{fillMode:a.fillMode,className:o,children:[Lt(d,{...a,icon:"star"}),Lt(d,{...a,icon:"star"}),Lt(d,{...a,icon:"star"})]}):t==="icon-text-button"?an(B,{fillMode:a.fillMode,className:o,children:[Lt(d,{...a,icon:"star",children:"First"}),Lt(d,{...a,icon:"star",children:"Middle"}),Lt(d,{...a,icon:"star",children:"Last"})]}):an(B,{fillMode:a.fillMode,className:o,children:[Lt(d,{...a,children:"First"}),Lt(d,{...a,children:"Middle"}),Lt(d,{...a,children:"Last"})]})};No.options=oc;No.states=ac;No.variants=nc;No.defaultOptions=rc;No.modifiers=ic;No.className=B.className;var va="input",er=va;import{jsx as pc}from"react/jsx-runtime";var tr="k-input",sc=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],lc={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},dc={},j=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:l,readonly:c,size:b,rounded:N,fillMode:h,...k}=e;return pc("span",{...k,className:n(e.className,tr,A(tr,{size:b,rounded:N,fillMode:h}),M(tr,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:l,readonly:c}))})};j.states=sc;j.options=lc;j.className=tr;j.defaultOptions=dc;j.moduleName=va;j.folderName=er;import{jsx as fc}from"react/jsx-runtime";var or="k-picker",cc=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],mc={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},uc={},ht=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:l,readonly:c,size:b,rounded:N,fillMode:h,...k}=e;return fc("span",{...k,className:n(e.className,or,A(or,{size:b,rounded:N,fillMode:h}),M(or,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:l,readonly:c})),children:e.children})};ht.states=cc;ht.options=mc;ht.className=or;ht.defaultOptions=uc;ht.moduleName=va;ht.folderName=er;import{Fragment as xc,jsx as rn}from"react/jsx-runtime";var ns="k-clear-value",bc=[i.disabled,i.loading,i.readonly],hc={},Ue=e=>{let{disabled:t,loading:o,readonly:a,value:r}=e;return t||a||o||!r?rn(xc,{}):rn("span",{className:n(e.className,ns),children:rn(v,{icon:"x"})})};Ue.states=bc;Ue.options=hc;Ue.className=ns;import{jsx as gc}from"react/jsx-runtime";var nn="k-input-inner",Nc=[],kc={},ar={type:"text",autocomplete:"off",value:"",placeholder:""},Ve=e=>{let{value:t=ar.value,type:o=ar.type,placeholder:a=ar.placeholder,autocomplete:r=ar.autocomplete,disabled:s,readOnly:l,...c}=e;return gc("input",{...c,type:o,className:n(e.className,nn,A(nn,e)),placeholder:a,autoComplete:r,defaultValue:t,disabled:s||void 0,readOnly:l||void 0})};Ve.states=Nc;Ve.options=kc;Ve.className=nn;import{jsx as is,jsxs as Lc}from"react/jsx-runtime";var sn="k-input-inner",vc=[],Cc={},Qt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:r,valueIconName:s,...l}=e;return Lc("span",{...l,className:n(e.className,sn,A(sn,e)),children:[r,!r&&s&&is(v,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&is("span",{className:"k-input-value-text",children:t})]})};Qt.states=vc;Qt.options=Cc;Qt.className=sn;import{jsx as Ac}from"react/jsx-runtime";var ln="k-input-inner",Mc=[],Sc={},ss={value:"",placeholder:""},Ca=e=>{let{value:t=ss.value,placeholder:o=ss.placeholder,rows:a,disabled:r,...s}=e;return Ac("textarea",{...s,className:n(e.className,ln,A(ln,e)),placeholder:o,rows:a,defaultValue:t,disabled:r||void 0})};Ca.states=Mc;Ca.options=Sc;Ca.className=ln;import{Fragment as yc,jsx as ls}from"react/jsx-runtime";var ds="k-input-loading-icon",Ic=[i.disabled,i.loading],De=e=>{let{disabled:t,loading:o}=e;return t||!o?ls(yc,{}):ls("span",{className:n(e.className,ds,"k-icon k-i-loading")})};De.states=Ic;De.className=ds;import{Fragment as Oc,jsx as ps}from"react/jsx-runtime";var cs="k-input-validation-icon",Tc=[i.valid,i.invalid,i.disabled,i.loading],Ec={},Ae=e=>{let{valid:t,invalid:o,disabled:a,loading:r}=e,s=o?"warning-circle":"check-circle";return a||r||!!!(t||o)?ps(Oc,{}):ps(v,{className:n(cs),icon:s})};Ae.states=Tc;Ae.options=Ec;Ae.className=cs;import{Fragment as wc,jsx as ms}from"react/jsx-runtime";var Bc="k-input-prefix",Pc={direction:"horizontal"},He=e=>{let{direction:t=Pc.direction,...o}=e;return e.children?ms("span",{...o,className:n(Bc,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):ms(wc,{})};import{Fragment as _c,jsx as us}from"react/jsx-runtime";var Rc="k-input-suffix",Kc={direction:"horizontal"},ze=e=>{let{direction:t=Kc.direction,...o}=e;return e.children?us("span",{...o,className:n(Rc,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):us(_c,{})};import{jsx as vL}from"react/jsx-runtime";import{jsx as Hc}from"react/jsx-runtime";var Dc="k-input-suffix-text",dn=e=>{let{children:t,...o}=e;return Hc("span",{...o,className:n(Dc,e.className),children:t})};import{jsx as Fc}from"react/jsx-runtime";var fs="k-input-separator",zc={direction:"vertical"},Ie=e=>{let{direction:t=zc.direction,...o}=e;return Fc("span",{...o,className:n(fs,e.className,{[`${fs}-${t}`]:t})})};import{Fragment as bs,jsx as xt,jsxs as pn}from"react/jsx-runtime";var Gc=j.states,Uc=j.defaultOptions,Vc=j.options,$c=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Xc=[],ko=e=>{let{modifiers:t,valid:o,invalid:a,loading:r,disabled:s,readonly:l,...c}=e,b=t?.prefix,N=t?.suffix,h=t?.["clear-button"],k=t?.["validation-icon"],m=t?.separators;return pn(j,{...c,valid:o,invalid:a,loading:r,disabled:s,readonly:l,style:{width:300},children:[b&&pn(bs,{children:[xt(He,{children:xt(v,{icon:"lock"})}),m&&xt(Ie,{})]}),xt(Ve,{placeholder:"Placeholder",value:"Value"}),k&&xt(Ae,{valid:o,invalid:a,loading:r,disabled:s}),xt(De,{loading:r,disabled:s}),h&&xt(Ue,{loading:r,disabled:s,readonly:l,value:"Value"}),N&&pn(bs,{children:[m&&xt(Ie,{}),xt(ze,{children:xt(Jt,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};ko.options=Vc;ko.states=Gc;ko.variants=Xc;ko.defaultOptions=Uc;ko.modifiers=$c;ko.className=j.className;import{jsx as hs,jsxs as Jc}from"react/jsx-runtime";var xs="k-color-preview",qc=[],Wc={},wt=e=>{let{color:t,iconName:o,...a}=e;return Jc("span",{...a,className:n(e.className,xs,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&hs(v,{icon:o,className:"k-color-preview-icon"}),hs("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};wt.states=qc;wt.options=Wc;wt.className=xs;var cn="popup",Ns=cn;import{jsx as ks}from"react/jsx-runtime";var gs="k-animation-container",Yc=[],Qc={},mn={positionMode:"absolute",shown:!0},Nt=e=>{let{positionMode:t=mn.positionMode,shown:o=mn.shown,animationStyle:a,offset:r,...s}=e;return ks("div",{...s,style:{...r,...e.style},className:n(e.className,gs,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:ks("div",{className:"k-child-animation-container",style:a,children:e.children})})};Nt.states=Yc;Nt.options=Qc;Nt.className=gs;Nt.defaultOptions=mn;Nt.moduleName=cn;Nt.folderName=Ns;var un="popup",vs=un;import{jsx as Cs}from"react/jsx-runtime";var Ls="k-popup",Zc=[],jc={},Ms={positionMode:"absolute"},U=e=>{let{offset:t,positionMode:o=Ms.positionMode,animationStyle:a,containerClassName:r,containerRole:s,containerAriaLabel:l,...c}=e;return Cs(Nt,{positionMode:o,offset:t,animationStyle:a,className:r,role:s,"aria-label":l,children:Cs("div",{...c,className:n(e.className,Ls),children:e.children})})};U.states=Zc;U.options=jc;U.className=Ls;U.defaultOptions=Ms;U.moduleName=un;U.folderName=vs;U.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.'}]};import{jsx as tm}from"react/jsx-runtime";var em="k-actionsheet-footer",Ss={alignment:"stretched",orientation:"horizontal"},Rt=e=>{let{alignment:t=Ss.alignment,orientation:o=Ss.orientation,template:a,as:r=a?"div":z,...s}=e;return tm(r,{...s,...!a&&{alignment:t,orientation:o},className:n(e.className,em),children:e.children})};var fn="searchbox",As=fn;import{jsx as La,jsxs as rm}from"react/jsx-runtime";var Is="k-searchbox",om=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],am={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},bn={showIcon:!0,icon:"search"},Qe=e=>{let{value:t,placeholder:o,size:a,rounded:r,fillMode:s,hover:l,focus:c,valid:b,invalid:N,required:h,loading:k,disabled:m,showIcon:L=bn.showIcon,icon:C=bn.icon,"aria-label":S,...T}=e;return rm(j,{...T,size:a,rounded:r,fillMode:s,hover:l,focus:c,valid:b,invalid:N,required:h,loading:k,disabled:m,className:n(e.className,Is),children:[L&&La(v,{className:"k-input-icon",icon:C}),La(Ve,{placeholder:o,value:t,"aria-label":S}),La(De,{...e}),La(Ae,{...e}),La(Ue,{...e})]})};Qe.states=om;Qe.options=am;Qe.className=Is;Qe.defaultOptions=bn;Qe.moduleName=fn;Qe.folderName=As;import{jsx as HM}from"react/jsx-runtime";var hn="textbox",ys=hn;import{Fragment as Ts,jsx as Kt,jsxs as xn}from"react/jsx-runtime";var Es="k-textbox",nm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],im={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},rr={showClearButton:!0,showValidationIcon:!0,separators:!0},he=e=>{let{size:t,rounded:o,fillMode:a,separators:r=rr.separators,showClearButton:s=rr.showClearButton,showValidationIcon:l=rr.showValidationIcon,prefix:c,suffix:b,type:N,value:h,placeholder:k,hover:m,focus:L,valid:C,invalid:S,required:T,loading:I,disabled:w,readonly:Q,id:pe,"aria-label":ue,"aria-describedby":fe,...be}=e;return xn(j,{...be,size:t,rounded:o,fillMode:a,hover:m,focus:L,valid:C,invalid:S,required:T,loading:I,disabled:w,readonly:Q,className:n(e.className,Es),children:[c&&xn(Ts,{children:[Kt(He,{children:c}),r&&Kt(Ie,{})]}),Kt(Ve,{id:pe,placeholder:k,value:h,type:N,disabled:w,"aria-label":ue,"aria-describedby":fe,"aria-invalid":S?"true":void 0}),l&&Kt(Ae,{valid:C,invalid:S,loading:I,disabled:w}),Kt(De,{loading:I,disabled:w}),s&&Kt(Ue,{loading:I,disabled:w,readonly:Q,value:h}),b&&xn(Ts,{children:[r&&Kt(Ie,{}),Kt(ze,{children:b})]})]})};he.states=nm;he.options=im;he.className=Es;he.defaultOptions=rr;he.moduleName=hn;he.folderName=ys;he.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var Ma=he;import{jsx as sm}from"react/jsx-runtime";var Os=e=>sm(Ma,{...e});import{Fragment as aS,jsx as oS}from"react/jsx-runtime";import{Fragment as dS,jsx as lS}from"react/jsx-runtime";import{jsx as uS}from"react/jsx-runtime";import{jsx as Nn}from"react/jsx-runtime";var lm=he.states,dm=he.defaultOptions,pm=he.options,cm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],mm=[],go=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t?.[r]?Nn(v,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[r]?Nn(Jt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[r];break;default:break}}),Nn(Os,{value:"Value",style:{width:300},...o,...a})};go.options=pm;go.states=lm;go.variants=mm;go.defaultOptions=dm;go.modifiers=cm;go.className=he.className;import{jsx as _t,jsxs as kn}from"react/jsx-runtime";var Bs="k-actionsheet-titlebar",um={},ye=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:r,filter:s,input:l,inputValue:c,inputPlaceholder:b,adaptive:N,titleId:h,children:k,...m}=e;return kn("div",{...m,className:n(e.className,Bs),children:[kn("div",{className:"k-actionsheet-titlebar-group",children:[a&&_t("div",{className:"k-actionsheet-actions",children:a}),!k&&kn("div",{className:"k-actionsheet-title",id:h,children:[t&&_t("div",{className:"k-text-center",children:t}),o&&_t("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),k&&_t("div",{className:"k-actionsheet-title",id:h,children:k}),r&&_t("div",{className:"k-actionsheet-actions",children:r})]}),(l||s)&&_t("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?_t(he,{value:c,placeholder:b,size:N?"large":"medium","aria-label":t||b||"Input"}):_t(Qe,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};ye.className=Bs;ye.defaultOptions=um;import{jsx as gn,jsxs as xm}from"react/jsx-runtime";var vn="k-actionsheet-view",fm=[],bm={},hm={},vo=e=>{let{adaptive:t,animated:o,children:a,header:r,footer:s,titleId:l,...c}=e,b=r?.type===ye&&gn(ye,{adaptive:t,titleId:l,...r?.props}),N=s?.type===Rt&&gn(Rt,{...s?.props});return xm("div",{...c,className:n(e.className,vn,{[`${vn}-animated`]:o}),children:[b,gn("div",{className:"k-actionsheet-content",children:a}),N]})};vo.states=fm;vo.options=bm;vo.className=vn;vo.defaultOptions=hm;var Sa="action-sheet",nr=Sa;var Cn="overlay",Ps=Cn;import{jsx as vm}from"react/jsx-runtime";var ws="k-overlay",Nm=[],km={},gm={},Dt=e=>{let{...t}=e;return vm("div",{...t,className:n(e.className,ws),children:e.children})};Dt.states=Nm;Dt.options=km;Dt.className=ws;Dt.defaultOptions=gm;Dt.moduleName=Cn;Dt.folderName=Ps;import{jsx as ir,jsxs as Mm}from"react/jsx-runtime";var Rs="k-actionsheet",Cm=[],Lm={},Aa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ae=e=>{let{side:t=Aa.side,fullscreen:o=Aa.fullscreen,adaptive:a=Aa.adaptive,overlay:r=Aa.overlay,template:s,children:l,header:c,footer:b,id:N,...h}=e,k=N&&!s&&c?`${N}-title`:void 0;return Mm("div",{className:"k-actionsheet-container",children:[r&&ir(Dt,{}),ir(Nt,{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:ir("div",{...h,id:N,role:"dialog","aria-modal":r?"true":void 0,"aria-labelledby":k,className:n(e.className,Rs,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||ir(vo,{header:c,footer:b,adaptive:a,titleId:k,...e,children:l})})})]})};ae.states=Cm;ae.options=Lm;ae.className=Rs;ae.defaultOptions=Aa;ae.moduleName=Sa;ae.folderName=nr;ae.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};import{jsx as ym}from"react/jsx-runtime";var Ks="k-actionsheet-container",Sm=[],Am={},Im={},Co=e=>{let{children:t,...o}=e;return ym("div",{...o,className:Ks,children:t})};Co.states=Sm;Co.options=Am;Co.className=Ks;Co.defaultOptions=Im;Co.moduleName=Sa;Co.folderName=nr;import{jsx as Tm}from"react/jsx-runtime";var Ln=e=>{let{...t}=e;return Tm("div",{...t,className:n(e.className,"k-list-ul"),children:e.children})};import{Fragment as Om,jsx as Ia,jsxs as Mn}from"react/jsx-runtime";var Sn="k-actionsheet-item",Em=[i.hover,i.focus,i.selected,i.disabled],Ht=e=>{let{iconName:t,text:o,description:a,hover:r,focus:s,selected:l,disabled:c,...b}=e;return Mn("span",{...b,className:n(e.className,Sn,M(Sn,{hover:r,focus:s,selected:l,disabled:c})),children:[!e.children&&Ia(Om,{children:Mn("span",{className:"k-actionsheet-action",children:[t&&Ia("span",{className:"k-icon-wrap",children:Ia(v,{className:"k-actionsheet-item-icon",icon:t})}),Mn("span",{className:"k-actionsheet-item-text",children:[o&&Ia("span",{className:"k-actionsheet-item-title",children:o}),a&&Ia("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Ht.states=Em;Ht.className=Sn;import{jsx as mA,jsxs as uA}from"react/jsx-runtime";import{jsx as xA}from"react/jsx-runtime";import{jsx as vA}from"react/jsx-runtime";import{jsx as SA}from"react/jsx-runtime";import{jsx as xe,jsxs as An}from"react/jsx-runtime";var Bm=ae.options,Pm=ae.states,Ds={...ae.defaultOptions,variant:"normal"},wm=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Rm=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Lo=e=>{let{variant:t,modifiers:o,...a}={...Ds,...e},r={},s=An(Ln,{children:[xe(Ht,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),xe(Ht,{text:"Add to Favorites",iconName:"heart"}),xe(Ht,{text:"Upload New",iconName:"upload",disabled:!0}),xe("hr",{className:"k-hr"}),xe(Ht,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",c="Select Item";return t==="fullScreen"&&(r.fullScreen=!0),Object.keys(o||{}).forEach(b=>{switch(b){case"actions":r.actionsStart=!!o?.[b],r.actionsEnd=!!o?.[b];break;case"subtitle":r.subtitle=o?.[b]?l:void 0;break;case"footer":r.footer=!!o?.[b];break;default:break}}),t==="adaptive"?xe(ae,{...a,adaptive:!0,fullscreen:r.fullScreen,header:xe(ye,{actionsStart:r.actionsStart?xe(d,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?xe(d,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:r.subtitle}),footer:r.footer?An(Rt,{alignment:"stretched",children:[xe(d,{text:"Cancel",size:"large",themeColor:"base"}),xe(d,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):xe(ae,{...a,fullscreen:r.fullScreen,header:xe(ye,{actionsStart:r.actionsStart?xe(d,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?xe(d,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:r.subtitle}),footer:r.footer?An(Rt,{alignment:"stretched",children:[xe(d,{text:"Apply",themeColor:"primary"}),xe(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Lo.options=Bm;Lo.states=Pm;Lo.variants=wm;Lo.defaultOptions=Ds;Lo.modifiers=Rm;Lo.className=ae.className;var In="slider",Hs=In;import{jsx as Mo,jsxs as yn}from"react/jsx-runtime";var ya="k-slider",Km=[i.hover,i.focus,i.active,i.disabled,i.readonly],_m={},Ze={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},Y=e=>{let{type:t=Ze.type,orientation:o=Ze.orientation,gradientType:a=Ze.gradientType,readonly:r=Ze.readonly,disabled:s=Ze.disabled,handlePosition:l=Ze.handlePosition,showButtons:c=Ze.showButtons,showTicks:b=Ze.showTicks,value:N=Ze.value,min:h=Ze.min,max:k=Ze.max,startValue:m,endValue:L,hover:C,focus:S,active:T,trackStyle:I,dir:w,...Q}=e,ue=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),fe,be;return o==="horizontal"?(fe=w==="rtl"?"chevron-left":"chevron-right",be=w==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(fe="chevron-up",be="chevron-down"),yn("div",{...Q,className:n(ya,e.className,M(ya,{readonly:r,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:w,children:[c&&Mo(d,{className:"k-button-decrease",rounded:"full",icon:be,tabIndex:-1,title:"Decrease"}),yn("div",{className:"k-slider-track-wrap",children:[b&&Mo("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),yn("div",{className:"k-slider-track",style:I,children:[Mo("div",{className:"k-slider-selection"}),t==="range"&&Mo("span",{className:n("k-draghandle","k-draghandle-start",M(ya,{hover:C,focus:S,active:T})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":m??h,"aria-valuemin":h,"aria-valuemax":L??k,"aria-orientation":ue,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":Q["aria-label"]?`${Q["aria-label"]} start`:"Range start"}),Mo("span",{className:n("k-draghandle",`k-draghandle-${l}`,M(ya,{hover:C,focus:S,active:T})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?L??k:N,"aria-valuemin":t==="range"?m??h:h,"aria-valuemax":k,"aria-orientation":ue,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":t==="range"?Q["aria-label"]?`${Q["aria-label"]} end`:"Range end":Q["aria-label"]})]})]}),c&&Mo(d,{className:"k-button-increase",rounded:"full",icon:fe,tabIndex:-1,title:"Increase"})]})};Y.states=Km;Y.options=_m;Y.className=ya;Y.defaultOptions=Ze;Y.moduleName=In;Y.folderName=Hs;Y.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 zs}from"react/jsx-runtime";var Fs="k-tick",Dm=[],Hm={},Gs={label:!1},O=e=>{let{style:t,label:o=Gs.label,orientation:a,large:r,text:s,...l}=e;return zs("li",{...l,role:"presentation",title:s||"Tick",className:n(e.className,Fs,{[`k-tick-${a}`]:a,"k-tick-large":r}),style:t,children:o&&zs("span",{className:"k-label",children:s})})};O.states=Dm;O.options=Hm;O.className=Fs;O.defaultOptions=Gs;import{Fragment as zm,jsx as je,jsxs as Fm}from"react/jsx-runtime";var Us=e=>je(Y,{"aria-label":e["aria-label"]||"Slider",children:Fm(zm,{children:[je(O,{className:"k-first",label:!0,large:!0,text:"0"}),je(O,{}),je(O,{}),je(O,{}),je(O,{}),je(O,{label:!0,large:!0,text:"5"}),je(O,{}),je(O,{}),je(O,{}),je(O,{}),je(O,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as Gm,jsx as et,jsxs as Um}from"react/jsx-runtime";var Vs=e=>et(Y,{children:Um(Gm,{children:[et(O,{className:"k-first",label:!0,large:!0,text:"0"}),et(O,{}),et(O,{}),et(O,{}),et(O,{}),et(O,{label:!0,large:!0,text:"5"}),et(O,{}),et(O,{}),et(O,{}),et(O,{}),et(O,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as uI,jsx as mI,jsxs as fI}from"react/jsx-runtime";import{Fragment as kI,jsx as NI,jsxs as gI}from"react/jsx-runtime";import{jsx as Vm}from"react/jsx-runtime";var Tn=e=>Vm(Y,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as $m}from"react/jsx-runtime";var En=e=>$m(Y,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as OI,jsx as EI,jsxs as BI}from"react/jsx-runtime";import{Fragment as _I,jsx as KI,jsxs as DI}from"react/jsx-runtime";import{jsx as kt,jsxs as $s}from"react/jsx-runtime";var Xm=Y.options,qm=Y.states,Xs={...Y.defaultOptions,variant:"horizontal",label:!0},Wm=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Jm=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],So=e=>{let{variant:t,modifiers:o,...a}=e,r=Xs.label,s={};Object.keys(o||{}).forEach(c=>{switch(c){case"button":{s.showButtons=!!o?.[c];break}case"label":{r=!!o?.[c];break}case"tick":{s.showTicks=!!o?.[c];break}}});let l={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?$s(Vs,{style:{height:"300px",...l},...a,...s,children:[kt(O,{label:r,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),kt(O,{label:r,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),kt(O,{label:r,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),kt(O,{label:r,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),kt(O,{label:r,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):$s(Us,{style:{width:"400px",...l},...a,...s,children:[kt(O,{label:r,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),kt(O,{label:r,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),kt(O,{label:r,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),kt(O,{label:r,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),kt(O,{label:r,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};So.options=Xm;So.states=qm;So.variants=Wm;So.defaultOptions=Xs;So.modifiers=Jm;So.className=Y.className;import{jsx as qs,jsxs as eu}from"react/jsx-runtime";var Ws="k-spin-button",Zm=[],jm={size:[p.undefined,p.small,p.medium,p.large],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},On={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},zt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:r=On.increaseLabel,decreaseLabel:s=On.decreaseLabel,...l}=e;return eu("span",{...l,className:n(Ws,e.className),children:[qs(d,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":r}),qs(d,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};zt.states=Zm;zt.options=jm;zt.className=Ws;zt.defaultOptions=On;zt.moduleName=null;zt.folderName=null;var Js="numeric-textbox",Ys="numerictextbox";import{Fragment as Qs,jsx as Mt,jsxs as Bn}from"react/jsx-runtime";var Zs="k-numerictextbox",tu=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],ou={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},sr={showSpinButton:!0,showClearButton:!0,separators:!0},$=e=>{let{size:t,rounded:o,fillMode:a,separators:r=sr.separators,showClearButton:s=sr.showClearButton,showSpinButton:l=sr.showSpinButton,prefix:c,suffix:b,value:N,placeholder:h,hover:k,focus:m,valid:L,invalid:C,required:S,loading:T,disabled:I,readonly:w,id:Q,"aria-label":pe,"aria-describedby":ue,...fe}=e;return Bn(j,{...fe,size:t,rounded:o,fillMode:a,hover:k,focus:m,valid:L,invalid:C,required:S,loading:T,disabled:I,readonly:w,className:n(e.className,Zs),children:[c&&Bn(Qs,{children:[Mt(He,{children:c}),r&&Mt(Ie,{})]}),Mt(Ve,{id:Q,placeholder:h,value:N,role:"spinbutton",disabled:I,"aria-label":pe,"aria-describedby":ue,"aria-invalid":C?"true":void 0}),Mt(Ae,{valid:L,invalid:C,loading:T,disabled:I}),Mt(De,{loading:T,disabled:I}),s&&Mt(Ue,{loading:T,disabled:I,readonly:w,value:N}),b&&Bn(Qs,{children:[r&&Mt(Ie,{}),Mt(ze,{children:b})]}),l&&Mt(zt,{className:"k-input-spinner",size:t,fillMode:a,disabled:I})]})};$.states=tu;$.options=ou;$.className=Zs;$.defaultOptions=sr;$.moduleName=Js;$.folderName=Ys;$.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 Ta=$;import{jsx as au}from"react/jsx-runtime";var js=e=>au(Ta,{...e});import wn from"react";import{jsx as el}from"react/jsx-runtime";var ru="k-list-group-sticky-header",Pn=e=>el("div",{className:n(ru,e.className),children:el("div",{className:"k-list-header-text",children:e.children})});import{jsx as iu}from"react/jsx-runtime";var nu="k-no-data",lr=e=>{let{live:t,...o}=e;return iu("span",{...o,className:n(nu,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Zt="list",Ao=Zt;import{jsx as tl,jsxs as ol}from"react/jsx-runtime";var Rn="k-list",su=[],lu={size:[p.und