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})},cs=(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 ps=(e,t,o)=>(o=e!=null?up(hp(e)):{},cs(t||!e||!e.__esModule?br(o,"default",{value:e,enumerable:!0}):o,e)),Np=e=>cs(br({},"__esModule",{value:!0}),e);var Zk={};kp(Zk,{TaskboardDemo:()=>vo,default:()=>Qk});module.exports=Np(Zk);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 ms(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"},us={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 tn="action-buttons",fs=tn;var bs=require("react/jsx-runtime"),hr="k-actions",vp=[],Lp={},on={alignment:"start",orientation:"horizontal"},se=e=>{let{alignment:t=on.alignment,orientation:o=on.orientation,...a}=e;return(0,bs.jsx)("div",{...a,className:n(hr,{[`${hr}-${t}`]:t,[`${hr}-${o}`]:o},e.className),children:e.children})};se.states=vp;se.options=Lp;se.className=hr;se.defaultOptions=on;se.moduleName=tn;se.folderName=fs;var Fa=require("react/jsx-runtime"),an="k-font-icon",gp=[],Mp={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]},Cp={},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,an,A(an,{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=gp;Ua.options=Mp;Ua.className=an;Ua.defaultOptions=Cp;var hs=Ua;var go=require("react/jsx-runtime"),rn="k-svg-icon",Sp=[],Tp={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]},nn={viewBox:"0 0 24 24",variant:wt.outline},Ga=e=>{var k,m;let{size:t,themeColor:o,rotate:a,flip:r,viewBox:s=nn.viewBox,variant:c=nn.variant,icon:p,...b}=e;if(!p)return(0,go.jsx)(go.Fragment,{});if(p==="none")return(0,go.jsx)("span",{...b,className:n(e.className,rn,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,go.jsx)("span",{...b,className:n(e.className,rn,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,go.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=Sp;Ga.options=Tp;Ga.className=rn;Ga.defaultOptions=nn;var sn=Ga;var ln=ps(require("@progress/kendo-svg-icons"));var xs="icon",ks="icons";var Ls=require("react");var Ns=require("react"),vs=(0,Ns.createContext)({iconsType:"svg"});var Vt=require("react/jsx-runtime"),xr="k-icon",yp=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Ip=[],Ap={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]},kr={viewBox:"0 0 24 24",type:"svg",variant:wt.outline},M=e=>{let{iconsType:t}=(0,Ls.useContext)(vs),{size:o,themeColor:a,icon:r,type:s=t||kr.type,rotate:c,flip:p,viewBox:b=kr.viewBox,variant:x=kr.variant,...h}=e;if(!r)return(0,Vt.jsx)(Vt.Fragment,{});if((t||s)==="svg"){if(r==="none")return(0,Vt.jsx)(sn,{...h,className:n(e.className,xr),icon:r,size:o,variant:x});let m=ln[r]?r:yp(`${r}-icon`);return ln[m]?(0,Vt.jsx)(sn,{...h,className:n(e.className,xr),icon:ln[m],size:o,themeColor:a,rotate:c,flip:p,viewBox:b,variant:x}):(0,Vt.jsx)(Vt.Fragment,{})}return(0,Vt.jsx)(hs,{...h,className:n(e.className,xr),icon:r,size:o,themeColor:a,rotate:c,flip:p})};M.states=Ip;M.options=Ap;M.defaultOptions=kr;M.className=xr;M.moduleName=xs;M.folderName=ks;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 dn="button",gs=dn;var ct=require("react/jsx-runtime"),Va="k-button",Ep=["icon-button"],Op=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],Bp={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]},cn={showArrow:!1,arrowIconName:"chevron-down"},l=e=>{let{as:t="button",size:o,rounded:a,fillMode:r,themeColor:s,showArrow:c=cn.showArrow,arrowIconName:p=cn.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,ms(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=Op;l.options=Bp;l.variants=Ep;l.className=Va;l.defaultOptions=cn;l.moduleName=dn;l.folderName=gs;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 Ms=require("react/jsx-runtime"),$t=e=>(0,Ms.jsx)(l,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Cs=require("react/jsx-runtime"),$a=e=>(0,Cs.jsx)(l,{icon:"folder",children:"Button",...e});var Ss=require("react/jsx-runtime"),Mo=e=>(0,Ss.jsx)(l,{children:"Button",...e});var Nr=require("react/jsx-runtime"),wp=l.options,Rp=l.states,Kp={...l.defaultOptions,variant:"text"},Pp=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Dp=[],Do=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,Nr.jsx)($t,{...o,icon:"star"});case"icon-and-text":return(0,Nr.jsx)($a,{...o,icon:"star",children:"Button"});default:return(0,Nr.jsx)(Mo,{...o,children:"Button"})}};Do.options=wp;Do.states=Rp;Do.variants=Pp;Do.defaultOptions=Kp;Do.modifiers=Dp;Do.className=l.className;var qe=require("react/jsx-runtime"),Ts="k-taskboard-pane",_p=[],Hp={},zp=void 0,Fp={header:zp},_o=e=>{let{header:t,paneHeaderId:o,...a}=e;return(0,qe.jsxs)("div",{...a,className:n(e.className,Ts,"k-taskboard-edit-pane"),children:[(0,qe.jsx)("div",{className:"k-taskboard-pane-header",children:t||(0,qe.jsxs)(qe.Fragment,{children:[(0,qe.jsx)("div",{className:"k-taskboard-pane-header-text",id:o,children:"Card X"}),(0,qe.jsx)("span",{className:"k-spacer"}),(0,qe.jsx)("div",{className:"k-taskboard-pane-header-actions",children:(0,qe.jsx)(l,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"})})]})}),(0,qe.jsx)("div",{className:"k-taskboard-pane-content",children:e.children}),(0,qe.jsxs)(se,{alignment:"end",className:"k-taskboard-pane-actions",children:[(0,qe.jsx)(l,{icon:"trash",children:"Delete"}),(0,qe.jsx)(l,{themeColor:"primary",icon:"pencil",children:"Edit"})]})]})};_o.states=_p;_o.options=Hp;_o.className=Ts;_o.defaultOptions=Fp;var pn="button",ys=pn;var Is=require("react/jsx-runtime"),Xa="k-button-group",Up=[i.disabled],Gp={fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},Vp={},R=e=>{let{fillMode:t,disabled:o,stretched:a,...r}=e;return(0,Is.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=Up;R.options=Gp;R.className=Xa;R.defaultOptions=Vp;R.moduleName=pn;R.folderName=ys;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 mn=require("react/jsx-runtime");var un=require("react/jsx-runtime");var fn=require("react/jsx-runtime");var bn=require("react/jsx-runtime");var hn=require("react/jsx-runtime");var xn=require("react/jsx-runtime");var rt=require("react/jsx-runtime"),$p={...l.options,...R.options},Xp=l.states,qp={...l.defaultOptions,...R.defaultOptions,variant:"text-button"},Wp=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Jp=[],Ho=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"})]})};Ho.options=$p;Ho.states=Xp;Ho.variants=Wp;Ho.defaultOptions=qp;Ho.modifiers=Jp;Ho.className=R.className;var qa="input",vr=qa;var As=require("react/jsx-runtime"),Lr="k-input",Yp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Qp={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]},Zp={},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,As.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}))})};V.states=Yp;V.options=Qp;V.className=Lr;V.defaultOptions=Zp;V.moduleName=qa;V.folderName=vr;var Es=require("react/jsx-runtime"),gr="k-picker",jp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],em={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]},tm={},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,Es.jsx)("span",{...k,className:n(e.className,gr,A(gr,{size:b,rounded:x,fillMode:h}),S(gr,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:c,readonly:p})),children:e.children})};Rt.states=jp;Rt.options=em;Rt.className=gr;Rt.defaultOptions=tm;Rt.moduleName=qa;Rt.folderName=vr;var zo=require("react/jsx-runtime"),Os="k-clear-value",om=[i.disabled,i.loading,i.readonly],am={},Me=e=>{let{disabled:t,loading:o,readonly:a,value:r}=e;return t||a||o||!r?(0,zo.jsx)(zo.Fragment,{}):(0,zo.jsx)("span",{className:n(e.className,Os),children:(0,zo.jsx)(M,{icon:"x"})})};Me.states=om;Me.options=am;Me.className=Os;var Bs=require("react/jsx-runtime"),kn="k-input-inner",rm=[],nm={},Mr={type:"text",autocomplete:"off",value:"",placeholder:""},Ce=e=>{let{value:t=Mr.value,type:o=Mr.type,placeholder:a=Mr.placeholder,autocomplete:r=Mr.autocomplete,disabled:s,readOnly:c,...p}=e;return(0,Bs.jsx)("input",{...p,type:o,className:n(e.className,kn,A(kn,e)),placeholder:a,autoComplete:r,defaultValue:t,disabled:s||void 0,readOnly:c||void 0})};Ce.states=rm;Ce.options=nm;Ce.className=kn;var Wa=require("react/jsx-runtime"),Nn="k-input-inner",im=[],sm={},Co=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:r,valueIconName:s,...c}=e;return(0,Wa.jsxs)("span",{...c,className:n(e.className,Nn,A(Nn,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})]})};Co.states=im;Co.options=sm;Co.className=Nn;var Rs=require("react/jsx-runtime"),vn="k-input-inner",lm=[],dm={},ws={value:"",placeholder:""},Ja=e=>{let{value:t=ws.value,placeholder:o=ws.placeholder,rows:a,disabled:r,...s}=e;return(0,Rs.jsx)("textarea",{...s,className:n(e.className,vn,A(vn,e)),placeholder:o,rows:a,defaultValue:t,disabled:r||void 0})};Ja.states=lm;Ja.options=dm;Ja.className=vn;var Ya=require("react/jsx-runtime"),Ks="k-input-loading-icon",cm=[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,Ks,"k-icon k-i-loading")})};fe.states=cm;fe.className=Ks;var Qa=require("react/jsx-runtime"),Ps="k-input-validation-icon",pm=[i.valid,i.invalid,i.disabled,i.loading],mm={},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(Ps),icon:s})};ce.states=pm;ce.options=mm;ce.className=Ps;var Za=require("react/jsx-runtime"),um="k-input-prefix",fm={direction:"horizontal"},Ke=e=>{let{direction:t=fm.direction,...o}=e;return e.children?(0,Za.jsx)("span",{...o,className:n(um,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Za.jsx)(Za.Fragment,{})};var ja=require("react/jsx-runtime"),bm="k-input-suffix",hm={direction:"horizontal"},Pe=e=>{let{direction:t=hm.direction,...o}=e;return e.children?(0,ja.jsx)("span",{...o,className:n(bm,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,ja.jsx)(ja.Fragment,{})};var xm=require("react/jsx-runtime");var Ds=require("react/jsx-runtime"),km="k-input-suffix-text",Ln=e=>{let{children:t,...o}=e;return(0,Ds.jsx)("span",{...o,className:n(km,e.className),children:t})};var Hs=require("react/jsx-runtime"),_s="k-input-separator",Nm={direction:"vertical"},be=e=>{let{direction:t=Nm.direction,...o}=e;return(0,Hs.jsx)("span",{...o,className:n(_s,e.className,{[`${_s}-${t}`]:t})})};var he=require("react/jsx-runtime"),vm=V.states,Lm=V.defaultOptions,gm=V.options,Mm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Cm=[],Fo=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)(Mo,{size:p.size,fillMode:"clear",children:"Send"})})]})]})};Fo.options=gm;Fo.states=vm;Fo.variants=Cm;Fo.defaultOptions=Lm;Fo.modifiers=Mm;Fo.className=V.className;var er=require("react/jsx-runtime"),zs="k-color-preview",Sm=[],Tm={},ao=e=>{let{color:t,iconName:o,...a}=e;return(0,er.jsxs)("span",{...a,className:n(e.className,zs,{"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=Sm;ao.options=Tm;ao.className=zs;var gn="popup",Fs=gn;var Cn=require("react/jsx-runtime"),Us="k-animation-container",ym=[],Im={},Mn={positionMode:"absolute",shown:!0},Kt=e=>{let{positionMode:t=Mn.positionMode,shown:o=Mn.shown,animationStyle:a,offset:r,...s}=e;return(0,Cn.jsx)("div",{...s,style:{...r,...e.style},className:n(e.className,Us,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,Cn.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};Kt.states=ym;Kt.options=Im;Kt.className=Us;Kt.defaultOptions=Mn;Kt.moduleName=gn;Kt.folderName=Fs;var Sn="popup",Gs=Sn;var Tn=require("react/jsx-runtime"),Vs="k-popup",Am=[],Em={},$s={positionMode:"absolute"},Q=e=>{let{offset:t,positionMode:o=$s.positionMode,animationStyle:a,containerClassName:r,containerRole:s,containerAriaLabel:c,...p}=e;return(0,Tn.jsx)(Kt,{positionMode:o,offset:t,animationStyle:a,className:r,role:s,"aria-label":c,children:(0,Tn.jsx)("div",{...p,className:n(e.className,Vs),children:e.children})})};Q.states=Am;Q.options=Em;Q.className=Vs;Q.defaultOptions=$s;Q.moduleName=Sn;Q.folderName=Gs;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 qs=require("react/jsx-runtime"),Om="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,Om),children:e.children})};var yn="searchbox",Ws=yn;var no=require("react/jsx-runtime"),Js="k-searchbox",Bm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],wm={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=Bm;nt.options=wm;nt.className=Js;nt.defaultOptions=In;nt.moduleName=yn;nt.folderName=Ws;var Rm=require("react/jsx-runtime");var An="textbox",Ys=An;var De=require("react/jsx-runtime"),Qs="k-textbox",Km=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Pm={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=Km;_.options=Pm;_.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 Dm=require("react/jsx-runtime");var Sr=require("react/jsx-runtime"),_m=_.states,Hm=_.defaultOptions,zm=_.options,Fm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Um=[],Uo=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)(Mo,{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})};Uo.options=zm;Uo.states=_m;Uo.variants=Um;Uo.defaultOptions=Hm;Uo.modifiers=Fm;Uo.className=_.className;var pt=require("react/jsx-runtime"),ol="k-actionsheet-titlebar",Gm={},We=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"})})]})};We.className=ol;We.defaultOptions=Gm;var Go=require("react/jsx-runtime"),En="k-actionsheet-view",Vm=[],$m={},Xm={},Vo=e=>{let{adaptive:t,animated:o,children:a,header:r,footer:s,titleId:c,...p}=e,b=(r==null?void 0:r.type)===We&&(0,Go.jsx)(We,{adaptive:t,titleId:c,...r==null?void 0:r.props}),x=(s==null?void 0:s.type)===ro&&(0,Go.jsx)(ro,{...s==null?void 0:s.props});return(0,Go.jsxs)("div",{...p,className:n(e.className,En,{[`${En}-animated`]:o}),children:[b,(0,Go.jsx)("div",{className:"k-actionsheet-content",children:a}),x]})};Vo.states=Vm;Vo.options=$m;Vo.className=En;Vo.defaultOptions=Xm;var or="action-sheet",Tr=or;var On="overlay",al=On;var nl=require("react/jsx-runtime"),rl="k-overlay",qm=[],Wm={},Jm={},io=e=>{let{...t}=e;return(0,nl.jsx)("div",{...t,className:n(e.className,rl),children:e.children})};io.states=qm;io.options=Wm;io.className=rl;io.defaultOptions=Jm;io.moduleName=On;io.folderName=al;var So=require("react/jsx-runtime"),il="k-actionsheet",Ym=[],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,So.jsxs)("div",{className:"k-actionsheet-container",children:[r&&(0,So.jsx)(io,{}),(0,So.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,So.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,So.jsx)(Vo,{header:p,footer:b,adaptive:a,titleId:k,...e,children:c})})})]})};ae.states=Ym;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",Zm=[],jm={},eu={},$o=e=>{let{children:t,...o}=e;return(0,ll.jsx)("div",{...o,className:sl,children:t})};$o.states=Zm;$o.options=jm;$o.className=sl;$o.defaultOptions=eu;$o.moduleName=or;$o.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",tu=[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=tu;so.className=wn;var cl=require("react/jsx-runtime");var ou=require("react/jsx-runtime");var au=require("react/jsx-runtime");var ru=require("react/jsx-runtime");var Z=require("react/jsx-runtime"),nu=ae.options,iu=ae.states,ml={...ae.defaultOptions,variant:"normal"},su=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],lu=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Xo=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)(We,{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)(We,{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})};Xo.options=nu;Xo.states=iu;Xo.variants=su;Xo.defaultOptions=ml;Xo.modifiers=lu;Xo.className=ae.className;var Rn="slider",ul=Rn;var yt=require("react/jsx-runtime"),rr="k-slider",du=[i.hover,i.focus,i.active,i.disabled,i.readonly],cu={},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=du;J.options=cu;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",pu=[],mu={},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=pu;O.options=mu;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"),uu=J.options,fu=J.states,vl={...J.defaultOptions,variant:"horizontal",label:!0},bu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],hu=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],qo=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%"}})]})};qo.options=uu;qo.states=fu;qo.variants=bu;qo.defaultOptions=vl;qo.modifiers=hu;qo.className=J.className;var nr=require("react/jsx-runtime"),Ll="k-spin-button",Nu=[],vu={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=Nu;Pt.options=vu;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",Lu=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],gu={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=Lu;z.options=gu;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=ps(require("react"));var Gn=require("react/jsx-runtime"),Mu="k-list-group-sticky-header",Vn=e=>(0,Gn.jsx)("div",{className:n(Mu,e.className),children:(0,Gn.jsx)("div",{className:"k-list-header-text",children:e.children})});var yl=require("react/jsx-runtime"),Cu="k-no-data",Ir=e=>{let{live:t,...o}=e;return(0,yl.jsx)("span",{...o,className:n(Cu,e.className),"aria-live":t?"polite":void 0,children:e.children})};var To="list",Wo=To;var Jo=require("react/jsx-runtime"),$n="k-list",Su=[],Tu={size:[d.undefined,d.small,d.medium,d.large]},yu={},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,Jo.jsxs)("div",{...h,className:n(e.className,$n,A($n,{size:t}),{"k-virtual-list":o}),children:[c,s,p,r&&(0,Jo.jsx)(Vn,{children:r}),a||(b!==void 0?b:(0,Jo.jsx)(Ir,{live:!0,children:"No data found."})),x&&a&&(0,Jo.jsxs)(Ir,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};D.states=Su;D.options=Tu;D.className=$n;D.defaultOptions=yu;D.moduleName=To;D.folderName=Wo;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",Iu=[],Au={},Eu={},Yo=e=>{let{...t}=e;return(0,Al.jsx)("div",{...t,className:n(e.className,Il),children:e.children})};Yo.states=Iu;Yo.options=Au;Yo.className=Il;Yo.defaultOptions=Eu;Yo.moduleName=To;Yo.folderName=Wo;var yo="checkbox",Qo=yo;var Xn=require("react/jsx-runtime"),Er="k-checkbox",Ou=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],Bu={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},wu={},Je=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}))})})};Je.states=Ou;Je.options=Bu;Je.className=Er;Je.defaultOptions=wu;Je.moduleName=yo;Je.folderName=Qo;Je.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=Je;var Bl=require("react/jsx-runtime"),El="k-checkbox-list",Ru=[],Ku={},Ol={layout:"vertical"},Ye=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})};Ye.states=Ru;Ye.options=Ku;Ye.className=El;Ye.defaultOptions=Ol;Ye.moduleName=yo;Ye.folderName=Qo;var Rl=require("react/jsx-runtime"),wl="k-checkbox-list-item",Pu=[],Du={},_u={},Qe=e=>{let{...t}=e;return(0,Rl.jsx)("li",{...t,className:n(e.className,wl),children:e.children})};Qe.states=Pu;Qe.options=Du;Qe.className=wl;Qe.defaultOptions=_u;Qe.moduleName=yo;Qe.folderName=Qo;var Io=require("react/jsx-runtime"),Xt=({children:e="Label",id:t="cb-label-after",...o})=>(0,Io.jsxs)(Io.Fragment,{children:[(0,Io.jsx)(It,{id:t,...o}),(0,Io.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 Hu=require("react/jsx-runtime");var zu=require("react/jsx-runtime");var Fu=require("react/jsx-runtime");var _e=require("react/jsx-runtime"),Uu=Ye.options,Gu=Ye.states,Vu={...Ye.defaultOptions,variant:"vertical"},$u=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Xu=[],Zo=e=>{let{variant:t,...o