UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 169 kB
var up=Object.create;var br=Object.defineProperty;var fp=Object.getOwnPropertyDescriptor;var bp=Object.getOwnPropertyNames;var hp=Object.getPrototypeOf,xp=Object.prototype.hasOwnProperty;var kp=(e,t)=>{for(var o in t)br(e,o,{get:t[o],enumerable:!0})},ps=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of bp(t))!xp.call(e,r)&&r!==o&&br(e,r,{get:()=>t[r],enumerable:!(a=fp(t,r))||a.enumerable});return e};var ms=(e,t,o)=>(o=e!=null?up(hp(e)):{},ps(t||!e||!e.__esModule?br(o,"default",{value:e,enumerable:!0}):o,e)),Np=e=>ps(br({},"__esModule",{value:!0}),e);var Qk={};kp(Qk,{TaskBoardNormal:()=>ds});module.exports=Np(Qk);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"}),S=(e,t)=>{let{valid:o,invalid:a,hover:r,focus:s,checked:c,active:p,selected:b,disabled:x,indeterminate:h,loading:k,empty:m,readonly:v,highlighted:N,...g}=t;return n({"k-valid":o,"k-invalid":a,"k-hover":r,"k-focus":s,"k-checked":c,"k-active":p,"k-selected":b,"k-disabled":x,"k-indeterminate":h&&!c,"k-loading":k,"k-empty":m,"k-readonly":v,"k-highlighted":N},Object.keys(g).reduce((y,I)=>(I.startsWith("k-")?y[I]=g[I]:y[`k-${I}`]=g[I],y),{}))};function us(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"},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"},wt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},L={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"},fs={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var en={};function E(e){return en[e]=(en[e]||0)+1,`k-${e}-${en[e]}`}var Fa=require("react/jsx-runtime"),tn="k-font-icon",vp=[],Lp={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info]},gp={},Ua=e=>{let{size:t,themeColor:o,icon:a,rotate:r,flip:s,...c}=e;return a?(0,Fa.jsx)("span",{...c,className:n(e.className,tn,A(tn,{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"}):(0,Fa.jsx)(Fa.Fragment,{})};Ua.states=vp;Ua.options=Lp;Ua.className=tn;Ua.defaultOptions=gp;var bs=Ua;var Lo=require("react/jsx-runtime"),on="k-svg-icon",Mp=[],Cp={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[wt.outline,wt.solid,wt.duotone]},an={viewBox:"0 0 24 24",variant:wt.outline},Ga=e=>{var k,m;let{size:t,themeColor:o,rotate:a,flip:r,viewBox:s=an.viewBox,variant:c=an.variant,icon:p,...b}=e;if(!p)return(0,Lo.jsx)(Lo.Fragment,{});if(p==="none")return(0,Lo.jsx)("span",{...b,className:n(e.className,on,A("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof p=="object"&&p.name&&p.name,h=typeof p=="object"?c&&((k=p.variants)==null?void 0:k[c])||((m=p.variants)==null?void 0:m.outline)||p.content:void 0;return(0,Lo.jsx)("span",{...b,className:n(e.className,on,A("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`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:(0,Lo.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof p=="object"?p.viewBox:s,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:p?void 0:e.children})})};Ga.states=Mp;Ga.options=Cp;Ga.className=on;Ga.defaultOptions=an;var rn=Ga;var nn=ms(require("@progress/kendo-svg-icons"));var hs="icon",xs="icons";var vs=require("react");var ks=require("react"),Ns=(0,ks.createContext)({iconsType:"svg"});var Vt=require("react/jsx-runtime"),hr="k-icon",Sp=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Tp=[],yp={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[wt.outline,wt.solid,wt.duotone]},xr={viewBox:"0 0 24 24",type:"svg",variant:wt.outline},M=e=>{let{iconsType:t}=(0,vs.useContext)(Ns),{size:o,themeColor:a,icon:r,type:s=t||xr.type,rotate:c,flip:p,viewBox:b=xr.viewBox,variant:x=xr.variant,...h}=e;if(!r)return(0,Vt.jsx)(Vt.Fragment,{});if((t||s)==="svg"){if(r==="none")return(0,Vt.jsx)(rn,{...h,className:n(e.className,hr),icon:r,size:o,variant:x});let m=nn[r]?r:Sp(`${r}-icon`);return nn[m]?(0,Vt.jsx)(rn,{...h,className:n(e.className,hr),icon:nn[m],size:o,themeColor:a,rotate:c,flip:p,viewBox:b,variant:x}):(0,Vt.jsx)(Vt.Fragment,{})}return(0,Vt.jsx)(bs,{...h,className:n(e.className,hr),icon:r,size:o,themeColor:a,rotate:c,flip:p})};M.states=Tp;M.options=yp;M.defaultOptions=xr;M.className=hr;M.moduleName=hs;M.folderName=xs;M.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 sn="button",Ls=sn;var ct=require("react/jsx-runtime"),Va="k-button",Ip=["icon-button"],Ap=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],Ep={size:[d.undefined,d.xsmall,d.small,d.medium,d.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:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},ln={showArrow:!1,arrowIconName:"chevron-down"},l=e=>{let{as:t="button",size:o,rounded:a,fillMode:r,themeColor:s,showArrow:c=ln.showArrow,arrowIconName:p=ln.arrowIconName,variant:b,hover:x,focus:h,active:k,selected:m,disabled:v,togglable:N,ariaDisabled:g,icon:y,iconSize:I,text:w,iconClassName:G,className:ie,...de}=e,Le=y!=null,ge=e.children!==void 0;return(0,ct.jsxs)(t,{className:n(ie,Va,us(Va,b),A(Va,{size:o,rounded:a,fillMode:r,themeColor:s}),S(Va,{hover:x,focus:h,active:k,disabled:v||g,selected:m}),{"k-icon-button":!w&&!ge&&Le}),"aria-pressed":N?m?"true":"false":void 0,...de,"aria-disabled":g?"true":void 0,disabled:v||void 0,children:[typeof y=="string"&&y&&(0,ct.jsx)(M,{className:n(G,"k-button-icon"),icon:y,size:I}),y&&typeof y!="string"&&(0,ct.jsx)(ct.Fragment,{children:y}),w?(0,ct.jsxs)(ct.Fragment,{children:[w&&(0,ct.jsx)("span",{className:"k-button-text",children:w}),e.children]}):e.children&&(0,ct.jsx)("span",{className:"k-button-text",children:e.children}),c&&(0,ct.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,ct.jsx)(M,{icon:p})})]})};l.states=Ap;l.options=Ep;l.variants=Ip;l.className=Va;l.defaultOptions=ln;l.moduleName=sn;l.folderName=Ls;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 gs=require("react/jsx-runtime"),$t=e=>(0,gs.jsx)(l,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Ms=require("react/jsx-runtime"),$a=e=>(0,Ms.jsx)(l,{icon:"folder",children:"Button",...e});var Cs=require("react/jsx-runtime"),go=e=>(0,Cs.jsx)(l,{children:"Button",...e});var kr=require("react/jsx-runtime"),Op=l.options,Bp=l.states,wp={...l.defaultOptions,variant:"text"},Rp=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Kp=[],Po=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,kr.jsx)($t,{...o,icon:"star"});case"icon-and-text":return(0,kr.jsx)($a,{...o,icon:"star",children:"Button"});default:return(0,kr.jsx)(go,{...o,children:"Button"})}};Po.options=Op;Po.states=Bp;Po.variants=Rp;Po.defaultOptions=wp;Po.modifiers=Kp;Po.className=l.className;var dn="button",Ss=dn;var Ts=require("react/jsx-runtime"),Xa="k-button-group",Pp=[i.disabled],Dp={fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},_p={},R=e=>{let{fillMode:t,disabled:o,stretched:a,...r}=e;return(0,Ts.jsx)("div",{role:"group",...r,className:n(e.className,Xa,A(Xa,{fillMode:t}),S(Xa,{disabled:o}),{[`${Xa}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};R.states=Pp;R.options=Dp;R.className=Xa;R.defaultOptions=_p;R.moduleName=dn;R.folderName=Ss;R.ariaSpec={selector:".k-button-group",rules:[{selector:".k-button-group:not(.k-split-button)",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-button-group.k-disabled",attribute:"aria-disabled=true",usage:"The attribute is rendered only when the entire button group is disabled."},{selector:".k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button",attribute:"aria-pressed (when selected)",usage:"Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true."}]};var cn=require("react/jsx-runtime");var pn=require("react/jsx-runtime");var mn=require("react/jsx-runtime");var un=require("react/jsx-runtime");var fn=require("react/jsx-runtime");var bn=require("react/jsx-runtime");var rt=require("react/jsx-runtime"),Hp={...l.options,...R.options},zp=l.states,Fp={...l.defaultOptions,...R.defaultOptions,variant:"text-button"},Up=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Gp=[],Do=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,rt.jsxs)(R,{fillMode:a.fillMode,className:o,children:[(0,rt.jsx)(l,{...a,icon:"star"}),(0,rt.jsx)(l,{...a,icon:"star"}),(0,rt.jsx)(l,{...a,icon:"star"})]}):t==="icon-text-button"?(0,rt.jsxs)(R,{fillMode:a.fillMode,className:o,children:[(0,rt.jsx)(l,{...a,icon:"star",children:"First"}),(0,rt.jsx)(l,{...a,icon:"star",children:"Middle"}),(0,rt.jsx)(l,{...a,icon:"star",children:"Last"})]}):(0,rt.jsxs)(R,{fillMode:a.fillMode,className:o,children:[(0,rt.jsx)(l,{...a,children:"First"}),(0,rt.jsx)(l,{...a,children:"Middle"}),(0,rt.jsx)(l,{...a,children:"Last"})]})};Do.options=Hp;Do.states=zp;Do.variants=Up;Do.defaultOptions=Fp;Do.modifiers=Gp;Do.className=R.className;var qa="input",Nr=qa;var ys=require("react/jsx-runtime"),vr="k-input",Vp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],$p={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Xp={},V=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:c,readonly:p,size:b,rounded:x,fillMode:h,...k}=e;return(0,ys.jsx)("span",{...k,className:n(e.className,vr,A(vr,{size:b,rounded:x,fillMode:h}),S(vr,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:c,readonly:p}))})};V.states=Vp;V.options=$p;V.className=vr;V.defaultOptions=Xp;V.moduleName=qa;V.folderName=Nr;var Is=require("react/jsx-runtime"),Lr="k-picker",qp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Wp={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Jp={},Rt=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:c,readonly:p,size:b,rounded:x,fillMode:h,...k}=e;return(0,Is.jsx)("span",{...k,className:n(e.className,Lr,A(Lr,{size:b,rounded:x,fillMode:h}),S(Lr,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:c,readonly:p})),children:e.children})};Rt.states=qp;Rt.options=Wp;Rt.className=Lr;Rt.defaultOptions=Jp;Rt.moduleName=qa;Rt.folderName=Nr;var _o=require("react/jsx-runtime"),As="k-clear-value",Yp=[i.disabled,i.loading,i.readonly],Qp={},Me=e=>{let{disabled:t,loading:o,readonly:a,value:r}=e;return t||a||o||!r?(0,_o.jsx)(_o.Fragment,{}):(0,_o.jsx)("span",{className:n(e.className,As),children:(0,_o.jsx)(M,{icon:"x"})})};Me.states=Yp;Me.options=Qp;Me.className=As;var Es=require("react/jsx-runtime"),hn="k-input-inner",Zp=[],jp={},gr={type:"text",autocomplete:"off",value:"",placeholder:""},Ce=e=>{let{value:t=gr.value,type:o=gr.type,placeholder:a=gr.placeholder,autocomplete:r=gr.autocomplete,disabled:s,readOnly:c,...p}=e;return(0,Es.jsx)("input",{...p,type:o,className:n(e.className,hn,A(hn,e)),placeholder:a,autoComplete:r,defaultValue:t,disabled:s||void 0,readOnly:c||void 0})};Ce.states=Zp;Ce.options=jp;Ce.className=hn;var Wa=require("react/jsx-runtime"),xn="k-input-inner",em=[],tm={},Mo=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:r,valueIconName:s,...c}=e;return(0,Wa.jsxs)("span",{...c,className:n(e.className,xn,A(xn,e)),children:[r,!r&&s&&(0,Wa.jsx)(M,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&(0,Wa.jsx)("span",{className:"k-input-value-text",children:t})]})};Mo.states=em;Mo.options=tm;Mo.className=xn;var Bs=require("react/jsx-runtime"),kn="k-input-inner",om=[],am={},Os={value:"",placeholder:""},Ja=e=>{let{value:t=Os.value,placeholder:o=Os.placeholder,rows:a,disabled:r,...s}=e;return(0,Bs.jsx)("textarea",{...s,className:n(e.className,kn,A(kn,e)),placeholder:o,rows:a,defaultValue:t,disabled:r||void 0})};Ja.states=om;Ja.options=am;Ja.className=kn;var Ya=require("react/jsx-runtime"),ws="k-input-loading-icon",rm=[i.disabled,i.loading],fe=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Ya.jsx)(Ya.Fragment,{}):(0,Ya.jsx)("span",{className:n(e.className,ws,"k-icon k-i-loading")})};fe.states=rm;fe.className=ws;var Qa=require("react/jsx-runtime"),Rs="k-input-validation-icon",nm=[i.valid,i.invalid,i.disabled,i.loading],im={},ce=e=>{let{valid:t,invalid:o,disabled:a,loading:r}=e,s=o?"warning-circle":"check-circle";return a||r||!!!(t||o)?(0,Qa.jsx)(Qa.Fragment,{}):(0,Qa.jsx)(M,{className:n(Rs),icon:s})};ce.states=nm;ce.options=im;ce.className=Rs;var Za=require("react/jsx-runtime"),sm="k-input-prefix",lm={direction:"horizontal"},Ke=e=>{let{direction:t=lm.direction,...o}=e;return e.children?(0,Za.jsx)("span",{...o,className:n(sm,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Za.jsx)(Za.Fragment,{})};var ja=require("react/jsx-runtime"),dm="k-input-suffix",cm={direction:"horizontal"},Pe=e=>{let{direction:t=cm.direction,...o}=e;return e.children?(0,ja.jsx)("span",{...o,className:n(dm,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,ja.jsx)(ja.Fragment,{})};var pm=require("react/jsx-runtime");var Ks=require("react/jsx-runtime"),mm="k-input-suffix-text",Nn=e=>{let{children:t,...o}=e;return(0,Ks.jsx)("span",{...o,className:n(mm,e.className),children:t})};var Ds=require("react/jsx-runtime"),Ps="k-input-separator",um={direction:"vertical"},be=e=>{let{direction:t=um.direction,...o}=e;return(0,Ds.jsx)("span",{...o,className:n(Ps,e.className,{[`${Ps}-${t}`]:t})})};var he=require("react/jsx-runtime"),fm=V.states,bm=V.defaultOptions,hm=V.options,xm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],km=[],Ho=e=>{let{modifiers:t,valid:o,invalid:a,loading:r,disabled:s,readonly:c,...p}=e,b=t==null?void 0:t.prefix,x=t==null?void 0:t.suffix,h=t==null?void 0:t["clear-button"],k=t==null?void 0:t["validation-icon"],m=t==null?void 0:t.separators;return(0,he.jsxs)(V,{...p,valid:o,invalid:a,loading:r,disabled:s,readonly:c,style:{width:300},children:[b&&(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(Ke,{children:(0,he.jsx)(M,{icon:"lock"})}),m&&(0,he.jsx)(be,{})]}),(0,he.jsx)(Ce,{placeholder:"Placeholder",value:"Value"}),k&&(0,he.jsx)(ce,{valid:o,invalid:a,loading:r,disabled:s}),(0,he.jsx)(fe,{loading:r,disabled:s}),h&&(0,he.jsx)(Me,{loading:r,disabled:s,readonly:c,value:"Value"}),x&&(0,he.jsxs)(he.Fragment,{children:[m&&(0,he.jsx)(be,{}),(0,he.jsx)(Pe,{children:(0,he.jsx)(go,{size:p.size,fillMode:"clear",children:"Send"})})]})]})};Ho.options=hm;Ho.states=fm;Ho.variants=km;Ho.defaultOptions=bm;Ho.modifiers=xm;Ho.className=V.className;var er=require("react/jsx-runtime"),_s="k-color-preview",Nm=[],vm={},ao=e=>{let{color:t,iconName:o,...a}=e;return(0,er.jsxs)("span",{...a,className:n(e.className,_s,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,er.jsx)(M,{icon:o,className:"k-color-preview-icon"}),(0,er.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};ao.states=Nm;ao.options=vm;ao.className=_s;var vn="popup",Hs=vn;var gn=require("react/jsx-runtime"),zs="k-animation-container",Lm=[],gm={},Ln={positionMode:"absolute",shown:!0},Kt=e=>{let{positionMode:t=Ln.positionMode,shown:o=Ln.shown,animationStyle:a,offset:r,...s}=e;return(0,gn.jsx)("div",{...s,style:{...r,...e.style},className:n(e.className,zs,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,gn.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};Kt.states=Lm;Kt.options=gm;Kt.className=zs;Kt.defaultOptions=Ln;Kt.moduleName=vn;Kt.folderName=Hs;var Mn="popup",Fs=Mn;var Cn=require("react/jsx-runtime"),Us="k-popup",Mm=[],Cm={},Gs={positionMode:"absolute"},Q=e=>{let{offset:t,positionMode:o=Gs.positionMode,animationStyle:a,containerClassName:r,containerRole:s,containerAriaLabel:c,...p}=e;return(0,Cn.jsx)(Kt,{positionMode:o,offset:t,animationStyle:a,className:r,role:s,"aria-label":c,children:(0,Cn.jsx)("div",{...p,className:n(e.className,Us),children:e.children})})};Q.states=Mm;Q.options=Cm;Q.className=Us;Q.defaultOptions=Gs;Q.moduleName=Mn;Q.folderName=Fs;Q.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 Sn="action-buttons",Vs=Sn;var $s=require("react/jsx-runtime"),Mr="k-actions",Sm=[],Tm={},Tn={alignment:"start",orientation:"horizontal"},se=e=>{let{alignment:t=Tn.alignment,orientation:o=Tn.orientation,...a}=e;return(0,$s.jsx)("div",{...a,className:n(Mr,{[`${Mr}-${t}`]:t,[`${Mr}-${o}`]:o},e.className),children:e.children})};se.states=Sm;se.options=Tm;se.className=Mr;se.defaultOptions=Tn;se.moduleName=Sn;se.folderName=Vs;var qs=require("react/jsx-runtime"),ym="k-actionsheet-footer",Xs={alignment:"stretched",orientation:"horizontal"},ro=e=>{let{alignment:t=Xs.alignment,orientation:o=Xs.orientation,template:a,as:r=a?"div":se,...s}=e;return(0,qs.jsx)(r,{...s,...!a&&{alignment:t,orientation:o},className:n(e.className,ym),children:e.children})};var yn="searchbox",Ws=yn;var no=require("react/jsx-runtime"),Js="k-searchbox",Im=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Am={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},In={showIcon:!0,icon:"search"},nt=e=>{let{value:t,placeholder:o,size:a,rounded:r,fillMode:s,hover:c,focus:p,valid:b,invalid:x,required:h,loading:k,disabled:m,showIcon:v=In.showIcon,icon:N=In.icon,"aria-label":g,...y}=e;return(0,no.jsxs)(V,{...y,size:a,rounded:r,fillMode:s,hover:c,focus:p,valid:b,invalid:x,required:h,loading:k,disabled:m,className:n(e.className,Js),children:[v&&(0,no.jsx)(M,{className:"k-input-icon",icon:N}),(0,no.jsx)(Ce,{placeholder:o,value:t,"aria-label":g}),(0,no.jsx)(fe,{...e}),(0,no.jsx)(ce,{...e}),(0,no.jsx)(Me,{...e})]})};nt.states=Im;nt.options=Am;nt.className=Js;nt.defaultOptions=In;nt.moduleName=yn;nt.folderName=Ws;var Em=require("react/jsx-runtime");var An="textbox",Ys=An;var De=require("react/jsx-runtime"),Qs="k-textbox",Om=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Bm={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Cr={showClearButton:!0,showValidationIcon:!0,separators:!0},_=e=>{let{size:t,rounded:o,fillMode:a,separators:r=Cr.separators,showClearButton:s=Cr.showClearButton,showValidationIcon:c=Cr.showValidationIcon,prefix:p,suffix:b,type:x,value:h,placeholder:k,hover:m,focus:v,valid:N,invalid:g,required:y,loading:I,disabled:w,readonly:G,id:ie,"aria-label":de,"aria-describedby":Le,...ge}=e;return(0,De.jsxs)(V,{...ge,size:t,rounded:o,fillMode:a,hover:m,focus:v,valid:N,invalid:g,required:y,loading:I,disabled:w,readonly:G,className:n(e.className,Qs),children:[p&&(0,De.jsxs)(De.Fragment,{children:[(0,De.jsx)(Ke,{children:p}),r&&(0,De.jsx)(be,{})]}),(0,De.jsx)(Ce,{id:ie,placeholder:k,value:h,type:x,disabled:w,"aria-label":de,"aria-describedby":Le,"aria-invalid":g?"true":void 0}),c&&(0,De.jsx)(ce,{valid:N,invalid:g,loading:I,disabled:w}),(0,De.jsx)(fe,{loading:I,disabled:w}),s&&(0,De.jsx)(Me,{loading:I,disabled:w,readonly:G,value:h}),b&&(0,De.jsxs)(De.Fragment,{children:[r&&(0,De.jsx)(be,{}),(0,De.jsx)(Pe,{children:b})]})]})};_.states=Om;_.options=Bm;_.className=Qs;_.defaultOptions=Cr;_.moduleName=An;_.folderName=Ys;_.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 tr=_;var js=require("react/jsx-runtime"),Zs=e=>(0,js.jsx)(tr,{...e});var el=require("react/jsx-runtime");var tl=require("react/jsx-runtime");var wm=require("react/jsx-runtime");var Sr=require("react/jsx-runtime"),Rm=_.states,Km=_.defaultOptions,Pm=_.options,Dm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],_m=[],zo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t!=null&&t[r]?(0,Sr.jsx)(M,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[r]?(0,Sr.jsx)(go,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[r];break;default:break}}),(0,Sr.jsx)(Zs,{value:"Value",style:{width:300},...o,...a})};zo.options=Pm;zo.states=Rm;zo.variants=_m;zo.defaultOptions=Km;zo.modifiers=Dm;zo.className=_.className;var pt=require("react/jsx-runtime"),ol="k-actionsheet-titlebar",Hm={},qe=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:r,filter:s,input:c,inputValue:p,inputPlaceholder:b,adaptive:x,titleId:h,children:k,...m}=e;return(0,pt.jsxs)("div",{...m,className:n(e.className,ol),children:[(0,pt.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,pt.jsx)("div",{className:"k-actionsheet-actions",children:a}),!k&&(0,pt.jsxs)("div",{className:"k-actionsheet-title",id:h,children:[t&&(0,pt.jsx)("div",{className:"k-text-center",children:t}),o&&(0,pt.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),k&&(0,pt.jsx)("div",{className:"k-actionsheet-title",id:h,children:k}),r&&(0,pt.jsx)("div",{className:"k-actionsheet-actions",children:r})]}),(c||s)&&(0,pt.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?(0,pt.jsx)(_,{value:p,placeholder:b,size:x?"large":"medium","aria-label":t||b||"Input"}):(0,pt.jsx)(nt,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};qe.className=ol;qe.defaultOptions=Hm;var Fo=require("react/jsx-runtime"),En="k-actionsheet-view",zm=[],Fm={},Um={},Uo=e=>{let{adaptive:t,animated:o,children:a,header:r,footer:s,titleId:c,...p}=e,b=(r==null?void 0:r.type)===qe&&(0,Fo.jsx)(qe,{adaptive:t,titleId:c,...r==null?void 0:r.props}),x=(s==null?void 0:s.type)===ro&&(0,Fo.jsx)(ro,{...s==null?void 0:s.props});return(0,Fo.jsxs)("div",{...p,className:n(e.className,En,{[`${En}-animated`]:o}),children:[b,(0,Fo.jsx)("div",{className:"k-actionsheet-content",children:a}),x]})};Uo.states=zm;Uo.options=Fm;Uo.className=En;Uo.defaultOptions=Um;var or="action-sheet",Tr=or;var On="overlay",al=On;var nl=require("react/jsx-runtime"),rl="k-overlay",Gm=[],Vm={},$m={},io=e=>{let{...t}=e;return(0,nl.jsx)("div",{...t,className:n(e.className,rl),children:e.children})};io.states=Gm;io.options=Vm;io.className=rl;io.defaultOptions=$m;io.moduleName=On;io.folderName=al;var Co=require("react/jsx-runtime"),il="k-actionsheet",Xm=[],qm={},ar={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ae=e=>{let{side:t=ar.side,fullscreen:o=ar.fullscreen,adaptive:a=ar.adaptive,overlay:r=ar.overlay,template:s,children:c,header:p,footer:b,id:x,...h}=e,k=x&&!s&&p?`${x}-title`:void 0;return(0,Co.jsxs)("div",{className:"k-actionsheet-container",children:[r&&(0,Co.jsx)(io,{}),(0,Co.jsx)(Kt,{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:(0,Co.jsx)("div",{...h,id:x,role:"dialog","aria-modal":r?"true":void 0,"aria-labelledby":k,className:n(e.className,il,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||(0,Co.jsx)(Uo,{header:p,footer:b,adaptive:a,titleId:k,...e,children:c})})})]})};ae.states=Xm;ae.options=qm;ae.className=il;ae.defaultOptions=ar;ae.moduleName=or;ae.folderName=Tr;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."}]};var ll=require("react/jsx-runtime"),sl="k-actionsheet-container",Wm=[],Jm={},Ym={},Go=e=>{let{children:t,...o}=e;return(0,ll.jsx)("div",{...o,className:sl,children:t})};Go.states=Wm;Go.options=Jm;Go.className=sl;Go.defaultOptions=Ym;Go.moduleName=or;Go.folderName=Tr;var dl=require("react/jsx-runtime"),Bn=e=>{let{...t}=e;return(0,dl.jsx)("div",{...t,className:n(e.className,"k-list-ul"),children:e.children})};var xt=require("react/jsx-runtime"),wn="k-actionsheet-item",Qm=[i.hover,i.focus,i.selected,i.disabled],so=e=>{let{iconName:t,text:o,description:a,hover:r,focus:s,selected:c,disabled:p,...b}=e;return(0,xt.jsxs)("span",{...b,className:n(e.className,wn,S(wn,{hover:r,focus:s,selected:c,disabled:p})),children:[!e.children&&(0,xt.jsx)(xt.Fragment,{children:(0,xt.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,xt.jsx)("span",{className:"k-icon-wrap",children:(0,xt.jsx)(M,{className:"k-actionsheet-item-icon",icon:t})}),(0,xt.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,xt.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,xt.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};so.states=Qm;so.className=wn;var cl=require("react/jsx-runtime");var Zm=require("react/jsx-runtime");var jm=require("react/jsx-runtime");var eu=require("react/jsx-runtime");var Z=require("react/jsx-runtime"),tu=ae.options,ou=ae.states,ml={...ae.defaultOptions,variant:"normal"},au=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ru=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Vo=e=>{let{variant:t,modifiers:o,...a}={...ml,...e},r={},s=(0,Z.jsxs)(Bn,{children:[(0,Z.jsx)(so,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,Z.jsx)(so,{text:"Add to Favorites",iconName:"heart"}),(0,Z.jsx)(so,{text:"Upload New",iconName:"upload",disabled:!0}),(0,Z.jsx)("hr",{className:"k-hr"}),(0,Z.jsx)(so,{text:"Cancel",iconName:"cancel"})]}),c="Choose from the items below",p="Select Item";return t==="fullScreen"&&(r.fullScreen=!0),Object.keys(o||{}).forEach(b=>{switch(b){case"actions":r.actionsStart=!!(o!=null&&o[b]),r.actionsEnd=!!(o!=null&&o[b]);break;case"subtitle":r.subtitle=o!=null&&o[b]?c:void 0;break;case"footer":r.footer=!!(o!=null&&o[b]);break;default:break}}),t==="adaptive"?(0,Z.jsx)(ae,{...a,adaptive:!0,fullscreen:r.fullScreen,header:(0,Z.jsx)(qe,{actionsStart:r.actionsStart?(0,Z.jsx)(l,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?(0,Z.jsx)(l,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:p,subtitle:r.subtitle}),footer:r.footer?(0,Z.jsxs)(ro,{alignment:"stretched",children:[(0,Z.jsx)(l,{text:"Cancel",size:"large",themeColor:"base"}),(0,Z.jsx)(l,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):(0,Z.jsx)(ae,{...a,fullscreen:r.fullScreen,header:(0,Z.jsx)(qe,{actionsStart:r.actionsStart?(0,Z.jsx)(l,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?(0,Z.jsx)(l,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:r.subtitle}),footer:r.footer?(0,Z.jsxs)(ro,{alignment:"stretched",children:[(0,Z.jsx)(l,{text:"Apply",themeColor:"primary"}),(0,Z.jsx)(l,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Vo.options=tu;Vo.states=ou;Vo.variants=au;Vo.defaultOptions=ml;Vo.modifiers=ru;Vo.className=ae.className;var Rn="slider",ul=Rn;var yt=require("react/jsx-runtime"),rr="k-slider",nu=[i.hover,i.focus,i.active,i.disabled,i.readonly],iu={},kt={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},J=e=>{let{type:t=kt.type,orientation:o=kt.orientation,gradientType:a=kt.gradientType,readonly:r=kt.readonly,disabled:s=kt.disabled,handlePosition:c=kt.handlePosition,showButtons:p=kt.showButtons,showTicks:b=kt.showTicks,value:x=kt.value,min:h=kt.min,max:k=kt.max,startValue:m,endValue:v,hover:N,focus:g,active:y,trackStyle:I,dir:w,...G}=e,de=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),Le,ge;return o==="horizontal"?(Le=w==="rtl"?"chevron-left":"chevron-right",ge=w==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(Le="chevron-up",ge="chevron-down"),(0,yt.jsxs)("div",{...G,className:n(rr,e.className,S(rr,{readonly:r,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:w,children:[p&&(0,yt.jsx)(l,{className:"k-button-decrease",rounded:"full",icon:ge,tabIndex:-1,title:"Decrease"}),(0,yt.jsxs)("div",{className:"k-slider-track-wrap",children:[b&&(0,yt.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,yt.jsxs)("div",{className:"k-slider-track",style:I,children:[(0,yt.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,yt.jsx)("span",{className:n("k-draghandle","k-draghandle-start",S(rr,{hover:N,focus:g,active:y})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":m??h,"aria-valuemin":h,"aria-valuemax":v??k,"aria-orientation":de,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":G["aria-label"]?`${G["aria-label"]} start`:"Range start"}),(0,yt.jsx)("span",{className:n("k-draghandle",`k-draghandle-${c}`,S(rr,{hover:N,focus:g,active:y})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?v??k:x,"aria-valuemin":t==="range"?m??h:h,"aria-valuemax":k,"aria-orientation":de,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":t==="range"?G["aria-label"]?`${G["aria-label"]} end`:"Range end":G["aria-label"]})]})]}),p&&(0,yt.jsx)(l,{className:"k-button-increase",rounded:"full",icon:Le,tabIndex:-1,title:"Increase"})]})};J.states=nu;J.options=iu;J.className=rr;J.defaultOptions=kt;J.moduleName=Rn;J.folderName=ul;J.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."}]};var Kn=require("react/jsx-runtime"),fl="k-tick",su=[],lu={},bl={label:!1},O=e=>{let{style:t,label:o=bl.label,orientation:a,large:r,text:s,...c}=e;return(0,Kn.jsx)("li",{...c,role:"presentation",title:s||"Tick",className:n(e.className,fl,{[`k-tick-${a}`]:a,"k-tick-large":r}),style:t,children:o&&(0,Kn.jsx)("span",{className:"k-label",children:s})})};O.states=su;O.options=lu;O.className=fl;O.defaultOptions=bl;var Se=require("react/jsx-runtime"),hl=e=>(0,Se.jsx)(J,{"aria-label":e["aria-label"]||"Slider",children:(0,Se.jsxs)(Se.Fragment,{children:[(0,Se.jsx)(O,{className:"k-first",label:!0,large:!0,text:"0"}),(0,Se.jsx)(O,{}),(0,Se.jsx)(O,{}),(0,Se.jsx)(O,{}),(0,Se.jsx)(O,{}),(0,Se.jsx)(O,{label:!0,large:!0,text:"5"}),(0,Se.jsx)(O,{}),(0,Se.jsx)(O,{}),(0,Se.jsx)(O,{}),(0,Se.jsx)(O,{}),(0,Se.jsx)(O,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var Te=require("react/jsx-runtime"),xl=e=>(0,Te.jsx)(J,{children:(0,Te.jsxs)(Te.Fragment,{children:[(0,Te.jsx)(O,{className:"k-first",label:!0,large:!0,text:"0"}),(0,Te.jsx)(O,{}),(0,Te.jsx)(O,{}),(0,Te.jsx)(O,{}),(0,Te.jsx)(O,{}),(0,Te.jsx)(O,{label:!0,large:!0,text:"5"}),(0,Te.jsx)(O,{}),(0,Te.jsx)(O,{}),(0,Te.jsx)(O,{}),(0,Te.jsx)(O,{}),(0,Te.jsx)(O,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var Pn=require("react/jsx-runtime");var Dn=require("react/jsx-runtime");var kl=require("react/jsx-runtime"),_n=e=>(0,kl.jsx)(J,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Nl=require("react/jsx-runtime"),Hn=e=>(0,Nl.jsx)(J,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var zn=require("react/jsx-runtime");var Fn=require("react/jsx-runtime");var it=require("react/jsx-runtime"),du=J.options,cu=J.states,vl={...J.defaultOptions,variant:"horizontal",label:!0},pu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],mu=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],$o=e=>{let{variant:t,modifiers:o,...a}=e,r=vl.label,s={};Object.keys(o||{}).forEach(p=>{switch(p){case"button":{s.showButtons=!!(o!=null&&o[p]);break}case"label":{r=!!(o!=null&&o[p]);break}case"tick":{s.showTicks=!!(o!=null&&o[p]);break}}});let c={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,it.jsxs)(xl,{style:{height:"300px",...c},...a,...s,children:[(0,it.jsx)(O,{label:r,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,it.jsx)(O,{label:r,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,it.jsx)(O,{label:r,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,it.jsx)(O,{label:r,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,it.jsx)(O,{label:r,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,it.jsxs)(hl,{style:{width:"400px",...c},...a,...s,children:[(0,it.jsx)(O,{label:r,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,it.jsx)(O,{label:r,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,it.jsx)(O,{label:r,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,it.jsx)(O,{label:r,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,it.jsx)(O,{label:r,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};$o.options=du;$o.states=cu;$o.variants=pu;$o.defaultOptions=vl;$o.modifiers=mu;$o.className=J.className;var nr=require("react/jsx-runtime"),Ll="k-spin-button",bu=[],hu={size:[d.undefined,d.small,d.medium,d.large],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},Un={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Pt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:r=Un.increaseLabel,decreaseLabel:s=Un.decreaseLabel,...c}=e;return(0,nr.jsxs)("span",{...c,className:n(Ll,e.className),children:[(0,nr.jsx)(l,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":r}),(0,nr.jsx)(l,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Pt.states=bu;Pt.options=hu;Pt.className=Ll;Pt.defaultOptions=Un;Pt.moduleName=null;Pt.folderName=null;var gl="numeric-textbox",Ml="numerictextbox";var ye=require("react/jsx-runtime"),Cl="k-numerictextbox",xu=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],ku={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},yr={showSpinButton:!0,showClearButton:!0,separators:!0},z=e=>{let{size:t,rounded:o,fillMode:a,separators:r=yr.separators,showClearButton:s=yr.showClearButton,showSpinButton:c=yr.showSpinButton,prefix:p,suffix:b,value:x,placeholder:h,hover:k,focus:m,valid:v,invalid:N,required:g,loading:y,disabled:I,readonly:w,id:G,"aria-label":ie,"aria-describedby":de,...Le}=e;return(0,ye.jsxs)(V,{...Le,size:t,rounded:o,fillMode:a,hover:k,focus:m,valid:v,invalid:N,required:g,loading:y,disabled:I,readonly:w,className:n(e.className,Cl),children:[p&&(0,ye.jsxs)(ye.Fragment,{children:[(0,ye.jsx)(Ke,{children:p}),r&&(0,ye.jsx)(be,{})]}),(0,ye.jsx)(Ce,{id:G,placeholder:h,value:x,role:"spinbutton",disabled:I,"aria-label":ie,"aria-describedby":de,"aria-invalid":N?"true":void 0}),(0,ye.jsx)(ce,{valid:v,invalid:N,loading:y,disabled:I}),(0,ye.jsx)(fe,{loading:y,disabled:I}),s&&(0,ye.jsx)(Me,{loading:y,disabled:I,readonly:w,value:x}),b&&(0,ye.jsxs)(ye.Fragment,{children:[r&&(0,ye.jsx)(be,{}),(0,ye.jsx)(Pe,{children:b})]}),c&&(0,ye.jsx)(Pt,{className:"k-input-spinner",size:t,fillMode:a,disabled:I})]})};z.states=xu;z.options=ku;z.className=Cl;z.defaultOptions=yr;z.moduleName=gl;z.folderName=Ml;z.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 ir=z;var Tl=require("react/jsx-runtime"),Sl=e=>(0,Tl.jsx)(ir,{...e});var Ar=ms(require("react"));var Gn=require("react/jsx-runtime"),Nu="k-list-group-sticky-header",Vn=e=>(0,Gn.jsx)("div",{className:n(Nu,e.className),children:(0,Gn.jsx)("div",{className:"k-list-header-text",children:e.children})});var yl=require("react/jsx-runtime"),vu="k-no-data",Ir=e=>{let{live:t,...o}=e;return(0,yl.jsx)("span",{...o,className:n(vu,e.className),"aria-live":t?"polite":void 0,children:e.children})};var So="list",Xo=So;var qo=require("react/jsx-runtime"),$n="k-list",Lu=[],gu={size:[d.undefined,d.small,d.medium,d.large]},Mu={},D=e=>{var N;let{size:t,virtualization:o,children:a,header:r,selectAll:s,optionLabel:c,customValue:p,noData:b,screenReaders:x,...h}=e,m=Ar.default.Children.toArray(a)[0],v=(N=m==null?void 0:m.props)!=null&&N.children?Ar.default.Children.count(m.props.children):Ar.default.Children.count(a);return(0,qo.jsxs)("div",{...h,className:n(e.className,$n,A($n,{size:t}),{"k-virtual-list":o}),children:[c,s,p,r&&(0,qo.jsx)(Vn,{children:r}),a||(b!==void 0?b:(0,qo.jsx)(Ir,{live:!0,children:"No data found."})),x&&a&&(0,qo.jsxs)(Ir,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};D.states=Lu;D.options=gu;D.className=$n;D.defaultOptions=Mu;D.moduleName=So;D.folderName=Xo;D.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var Al=require("react/jsx-runtime"),Il="k-list-container",Cu=[],Su={},Tu={},Wo=e=>{let{...t}=e;return(0,Al.jsx)("div",{...t,className:n(e.className,Il),children:e.children})};Wo.states=Cu;Wo.options=Su;Wo.className=Il;Wo.defaultOptions=Tu;Wo.moduleName=So;Wo.folderName=Xo;var To="checkbox",Jo=To;var Xn=require("react/jsx-runtime"),Er="k-checkbox",yu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],Iu={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Au={},We=e=>{let{id:t,checked:o,indeterminate:a,hover:r,focus:s,disabled:c,invalid:p,valid:b,required:x,size:h,rounded:k,wrapperRole:m,...v}=e;return(0,Xn.jsx)("span",{className:"k-checkbox-wrap",role:m,children:(0,Xn.jsx)("input",{...v,id:t,type:"checkbox",defaultChecked:o,required:x,disabled:c||void 0,"aria-invalid":p?"true":void 0,className:n(e.className,Er,A(Er,{size:h,rounded:k}),S(Er,{hover:r,focus:s,disabled:c,invalid:p,valid:b,indeterminate:a,checked:o}))})})};We.states=yu;We.options=Iu;We.className=Er;We.defaultOptions=Au;We.moduleName=To;We.folderName=Jo;We.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 It=We;var Bl=require("react/jsx-runtime"),El="k-checkbox-list",Eu=[],Ou={},Ol={layout:"vertical"},Je=e=>{let{layout:t=Ol.layout,...o}=e;return(0,Bl.jsx)("ul",{...o,className:n(e.className,El,{[`k-list-${t}`]:t}),children:e.children})};Je.states=Eu;Je.options=Ou;Je.className=El;Je.defaultOptions=Ol;Je.moduleName=To;Je.folderName=Jo;var Rl=require("react/jsx-runtime"),wl="k-checkbox-list-item",Bu=[],wu={},Ru={},Ye=e=>{let{...t}=e;return(0,Rl.jsx)("li",{...t,className:n(e.className,wl),children:e.children})};Ye.states=Bu;Ye.options=wu;Ye.className=wl;Ye.defaultOptions=Ru;Ye.moduleName=To;Ye.folderName=Jo;var yo=require("react/jsx-runtime"),Xt=({children:e="Label",id:t="cb-label-after",...o})=>(0,yo.jsxs)(yo.Fragment,{children:[(0,yo.jsx)(It,{id:t,...o}),(0,yo.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var qn=require("react/jsx-runtime");var Wn=require("react/jsx-runtime");var Jn=require("react/jsx-runtime");var Ku=require("react/jsx-runtime");var Pu=require("react/jsx-runtime");var Du=require("react/jsx-runtime");var _e=require("react/jsx-runtime"),_u=Je.options,Hu=Je.states,zu={...Je.defaultOptions,variant:"vertical"},Fu=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Uu=[],Yo=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,_e.jsxs)(Je,{layout:"horizontal",...o,children:[(0,_e.jsx)(Ye,{children:(0,_e.jsx)(Xt,{id:E("cb"),defaultChecked:!0,children:"Label"})}),(0,_e.jsx)(Ye,{children:(0,_e.jsx)(Xt,{id:E("cb"),children:"Label"})}),(0,_e.jsx)(Ye,{children:(0,_e.jsx)(Xt,{id:E("cb"),children:"Label"})})]}):(0,_e.jsxs)(Je,{...o,children:[(0,_e.jsx)(Ye,{children:(0,_e.jsx)(Xt,{id:E("cb"),defaultChecked:!0,children:"Label"})}),(0,_e.jsx)(Ye,{children:(0,_e.jsx)(Xt,{id:E("cb"),children:"Label"})}),(0,_e.jsx)(Ye,{children:(0,_e.jsx)(Xt,{id:E("cb"),children:"Label"})})]})};Yo.options=_u;Yo.states=Hu;Yo.variants=Fu;Yo.defaultOptions=zu;Yo.modifiers=Uu;Yo.className=Je.className;var Kl=require("react/jsx-runtime"),Gu=It.options,Vu=It.states,$u=It.defaultOptions,Xu=[],qu=[],Qo=e=>(0,Kl.jsx)(Xt,{id:E("checkbox"),...e,defaultChecked:!0,children:"Label"});Qo.options=Gu;Qo.states=Vu;Qo.variants=Xu;Qo.defaultOptions=$u;Qo.modifiers=qu;Qo.className=It.className;