UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 153 kB
var yc=Object.create;var Va=Object.defineProperty;var Tc=Object.getOwnPropertyDescriptor;var Ec=Object.getOwnPropertyNames;var Cc=Object.getPrototypeOf,Oc=Object.prototype.hasOwnProperty;var Ac=(e,t)=>{for(var o in t)Va(e,o,{get:t[o],enumerable:!0})},Hi=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Ec(t))!Oc.call(e,r)&&r!==o&&Va(e,r,{get:()=>t[r],enumerable:!(a=Tc(t,r))||a.enumerable});return e};var Fi=(e,t,o)=>(o=e!=null?yc(Cc(e)):{},Hi(t||!e||!e.__esModule?Va(o,"default",{value:e,enumerable:!0}):o,e)),wc=e=>Hi(Va({},"__esModule",{value:!0}),e);var Cx={};Ac(Cx,{ImageEditorNormal:()=>Ex});module.exports=wc(Cx);var i=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?i(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var T=(e,t)=>i({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),E=(e,t)=>{let{valid:o,invalid:a,hover:r,focus:s,checked:d,active:m,selected:f,disabled:x,indeterminate:h,loading:N,empty:p,readonly:v,highlighted:k,...S}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":r,"k-focus":s,"k-checked":d,"k-active":m,"k-selected":f,"k-disabled":x,"k-indeterminate":h&&!d,"k-loading":N,"k-empty":p,"k-readonly":v,"k-highlighted":k},Object.keys(S).reduce((I,y)=>(y.startsWith("k-")?I[y]=S[y]:I[`k-${y}`]=S[y],I),{}))};function Ui(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},b={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Nt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},g={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},n={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var Or={};function R(e){return Or[e]=(Or[e]||0)+1,`k-${e}-${Or[e]}`}var ha=require("react/jsx-runtime"),Ar="k-font-icon",Rc=[],Bc={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info]},Pc={},xa=e=>{let{size:t,themeColor:o,icon:a,rotate:r,flip:s,...d}=e;return a?(0,ha.jsx)("span",{...d,className:i(e.className,Ar,T(Ar,{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,ha.jsx)(ha.Fragment,{})};xa.states=Rc;xa.options=Bc;xa.className=Ar;xa.defaultOptions=Pc;var Gi=xa;var ro=require("react/jsx-runtime"),wr="k-svg-icon",Kc=[],Dc={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info],variant:[Nt.outline,Nt.solid,Nt.duotone]},Rr={viewBox:"0 0 24 24",variant:Nt.outline},Na=e=>{var N,p;let{size:t,themeColor:o,rotate:a,flip:r,viewBox:s=Rr.viewBox,variant:d=Rr.variant,icon:m,...f}=e;if(!m)return(0,ro.jsx)(ro.Fragment,{});if(m==="none")return(0,ro.jsx)("span",{...f,className:i(e.className,wr,T("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof m=="object"&&m.name&&m.name,h=typeof m=="object"?d&&((N=m.variants)==null?void 0:N[d])||((p=m.variants)==null?void 0:p.outline)||m.content:void 0;return(0,ro.jsx)("span",{...f,className:i(e.className,wr,T("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,ro.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:s,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:m?void 0:e.children})})};Na.states=Kc;Na.options=Dc;Na.className=wr;Na.defaultOptions=Rr;var Br=Na;var Pr=Fi(require("@progress/kendo-svg-icons"));var Vi="icon",$i="icons";var Wi=require("react");var Xi=require("react"),qi=(0,Xi.createContext)({iconsType:"svg"});var Ct=require("react/jsx-runtime"),$a="k-icon",_c=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),zc=[],Hc={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info],variant:[Nt.outline,Nt.solid,Nt.duotone]},Xa={viewBox:"0 0 24 24",type:"svg",variant:Nt.outline},L=e=>{let{iconsType:t}=(0,Wi.useContext)(qi),{size:o,themeColor:a,icon:r,type:s=t||Xa.type,rotate:d,flip:m,viewBox:f=Xa.viewBox,variant:x=Xa.variant,...h}=e;if(!r)return(0,Ct.jsx)(Ct.Fragment,{});if((t||s)==="svg"){if(r==="none")return(0,Ct.jsx)(Br,{...h,className:i(e.className,$a),icon:r,size:o,variant:x});let p=Pr[r]?r:_c(`${r}-icon`);return Pr[p]?(0,Ct.jsx)(Br,{...h,className:i(e.className,$a),icon:Pr[p],size:o,themeColor:a,rotate:d,flip:m,viewBox:f,variant:x}):(0,Ct.jsx)(Ct.Fragment,{})}return(0,Ct.jsx)(Gi,{...h,className:i(e.className,$a),icon:r,size:o,themeColor:a,rotate:d,flip:m})};L.states=zc;L.options=Hc;L.defaultOptions=Xa;L.className=$a;L.moduleName=Vi;L.folderName=$i;L.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var Kr="button",Ji=Kr;var Ze=require("react/jsx-runtime"),ka="k-button",Fc=["icon-button"],Uc=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],Gc={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info,g.inverse]},Dr={showArrow:!1,arrowIconName:"chevron-down"},c=e=>{let{as:t="button",size:o,rounded:a,fillMode:r,themeColor:s,showArrow:d=Dr.showArrow,arrowIconName:m=Dr.arrowIconName,variant:f,hover:x,focus:h,active:N,selected:p,disabled:v,togglable:k,ariaDisabled:S,icon:I,iconSize:y,text:A,iconClassName:H,className:te,...ae}=e,me=I!=null,ue=e.children!==void 0;return(0,Ze.jsxs)(t,{className:i(te,ka,Ui(ka,f),T(ka,{size:o,rounded:a,fillMode:r,themeColor:s}),E(ka,{hover:x,focus:h,active:N,disabled:v||S,selected:p}),{"k-icon-button":!A&&!ue&&me}),"aria-pressed":k?p?"true":"false":void 0,...ae,"aria-disabled":S?"true":void 0,disabled:v||void 0,children:[typeof I=="string"&&I&&(0,Ze.jsx)(L,{className:i(H,"k-button-icon"),icon:I,size:y}),I&&typeof I!="string"&&(0,Ze.jsx)(Ze.Fragment,{children:I}),A?(0,Ze.jsxs)(Ze.Fragment,{children:[A&&(0,Ze.jsx)("span",{className:"k-button-text",children:A}),e.children]}):e.children&&(0,Ze.jsx)("span",{className:"k-button-text",children:e.children}),d&&(0,Ze.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Ze.jsx)(L,{icon:m})})]})};c.states=Uc;c.options=Gc;c.variants=Fc;c.className=ka;c.defaultOptions=Dr;c.moduleName=Kr;c.folderName=Ji;c.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 Yi=require("react/jsx-runtime"),Ot=e=>(0,Yi.jsx)(c,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Zi=require("react/jsx-runtime"),va=e=>(0,Zi.jsx)(c,{icon:"folder",children:"Button",...e});var Qi=require("react/jsx-runtime"),no=e=>(0,Qi.jsx)(c,{children:"Button",...e});var qa=require("react/jsx-runtime"),Vc=c.options,$c=c.states,Xc={...c.defaultOptions,variant:"text"},qc=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Wc=[],ko=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,qa.jsx)(Ot,{...o,icon:"star"});case"icon-and-text":return(0,qa.jsx)(va,{...o,icon:"star",children:"Button"});default:return(0,qa.jsx)(no,{...o,children:"Button"})}};ko.options=Vc;ko.states=$c;ko.variants=qc;ko.defaultOptions=Xc;ko.modifiers=Wc;ko.className=c.className;var _r="button",ji=_r;var es=require("react/jsx-runtime"),ga="k-button-group",Jc=[n.disabled],Yc={fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},Zc={},w=e=>{let{fillMode:t,disabled:o,stretched:a,...r}=e;return(0,es.jsx)("div",{role:"group",...r,className:i(e.className,ga,T(ga,{fillMode:t}),E(ga,{disabled:o}),{[`${ga}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};w.states=Jc;w.options=Yc;w.className=ga;w.defaultOptions=Zc;w.moduleName=_r;w.folderName=ji;w.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 zr=require("react/jsx-runtime");var Hr=require("react/jsx-runtime");var Fr=require("react/jsx-runtime");var Ur=require("react/jsx-runtime");var Gr=require("react/jsx-runtime");var Vr=require("react/jsx-runtime");var Ve=require("react/jsx-runtime"),Qc={...c.options,...w.options},jc=c.states,ep={...c.defaultOptions,...w.defaultOptions,variant:"text-button"},tp=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],op=[],vo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,Ve.jsxs)(w,{fillMode:a.fillMode,className:o,children:[(0,Ve.jsx)(c,{...a,icon:"star"}),(0,Ve.jsx)(c,{...a,icon:"star"}),(0,Ve.jsx)(c,{...a,icon:"star"})]}):t==="icon-text-button"?(0,Ve.jsxs)(w,{fillMode:a.fillMode,className:o,children:[(0,Ve.jsx)(c,{...a,icon:"star",children:"First"}),(0,Ve.jsx)(c,{...a,icon:"star",children:"Middle"}),(0,Ve.jsx)(c,{...a,icon:"star",children:"Last"})]}):(0,Ve.jsxs)(w,{fillMode:a.fillMode,className:o,children:[(0,Ve.jsx)(c,{...a,children:"First"}),(0,Ve.jsx)(c,{...a,children:"Middle"}),(0,Ve.jsx)(c,{...a,children:"Last"})]})};vo.options=Qc;vo.states=jc;vo.variants=tp;vo.defaultOptions=ep;vo.modifiers=op;vo.className=w.className;var La="input",Wa=La;var ts=require("react/jsx-runtime"),Ja="k-input",ap=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],rp={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},np={},U=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:d,readonly:m,size:f,rounded:x,fillMode:h,...N}=e;return(0,ts.jsx)("span",{...N,className:i(e.className,Ja,T(Ja,{size:f,rounded:x,fillMode:h}),E(Ja,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:d,readonly:m}))})};U.states=ap;U.options=rp;U.className=Ja;U.defaultOptions=np;U.moduleName=La;U.folderName=Wa;var os=require("react/jsx-runtime"),Ya="k-picker",ip=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],sp={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},lp={},kt=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:d,readonly:m,size:f,rounded:x,fillMode:h,...N}=e;return(0,os.jsx)("span",{...N,className:i(e.className,Ya,T(Ya,{size:f,rounded:x,fillMode:h}),E(Ya,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:d,readonly:m})),children:e.children})};kt.states=ip;kt.options=sp;kt.className=Ya;kt.defaultOptions=lp;kt.moduleName=La;kt.folderName=Wa;var go=require("react/jsx-runtime"),as="k-clear-value",dp=[n.disabled,n.loading,n.readonly],cp={},be=e=>{let{disabled:t,loading:o,readonly:a,value:r}=e;return t||a||o||!r?(0,go.jsx)(go.Fragment,{}):(0,go.jsx)("span",{className:i(e.className,as),children:(0,go.jsx)(L,{icon:"x"})})};be.states=dp;be.options=cp;be.className=as;var rs=require("react/jsx-runtime"),$r="k-input-inner",pp=[],mp={},Za={type:"text",autocomplete:"off",value:"",placeholder:""},fe=e=>{let{value:t=Za.value,type:o=Za.type,placeholder:a=Za.placeholder,autocomplete:r=Za.autocomplete,disabled:s,readOnly:d,...m}=e;return(0,rs.jsx)("input",{...m,type:o,className:i(e.className,$r,T($r,e)),placeholder:a,autoComplete:r,defaultValue:t,disabled:s||void 0,readOnly:d||void 0})};fe.states=pp;fe.options=mp;fe.className=$r;var Sa=require("react/jsx-runtime"),Xr="k-input-inner",up=[],bp={},io=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:r,valueIconName:s,...d}=e;return(0,Sa.jsxs)("span",{...d,className:i(e.className,Xr,T(Xr,e)),children:[r,!r&&s&&(0,Sa.jsx)(L,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&(0,Sa.jsx)("span",{className:"k-input-value-text",children:t})]})};io.states=up;io.options=bp;io.className=Xr;var is=require("react/jsx-runtime"),qr="k-input-inner",fp=[],hp={},ns={value:"",placeholder:""},Ma=e=>{let{value:t=ns.value,placeholder:o=ns.placeholder,rows:a,disabled:r,...s}=e;return(0,is.jsx)("textarea",{...s,className:i(e.className,qr,T(qr,e)),placeholder:o,rows:a,defaultValue:t,disabled:r||void 0})};Ma.states=fp;Ma.options=hp;Ma.className=qr;var Ia=require("react/jsx-runtime"),ss="k-input-loading-icon",xp=[n.disabled,n.loading],se=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Ia.jsx)(Ia.Fragment,{}):(0,Ia.jsx)("span",{className:i(e.className,ss,"k-icon k-i-loading")})};se.states=xp;se.className=ss;var ya=require("react/jsx-runtime"),ls="k-input-validation-icon",Np=[n.valid,n.invalid,n.disabled,n.loading],kp={},re=e=>{let{valid:t,invalid:o,disabled:a,loading:r}=e,s=o?"warning-circle":"check-circle";return a||r||!!!(t||o)?(0,ya.jsx)(ya.Fragment,{}):(0,ya.jsx)(L,{className:i(ls),icon:s})};re.states=Np;re.options=kp;re.className=ls;var Ta=require("react/jsx-runtime"),vp="k-input-prefix",gp={direction:"horizontal"},Me=e=>{let{direction:t=gp.direction,...o}=e;return e.children?(0,Ta.jsx)("span",{...o,className:i(vp,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Ta.jsx)(Ta.Fragment,{})};var Ea=require("react/jsx-runtime"),Lp="k-input-suffix",Sp={direction:"horizontal"},Ie=e=>{let{direction:t=Sp.direction,...o}=e;return e.children?(0,Ea.jsx)("span",{...o,className:i(Lp,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Ea.jsx)(Ea.Fragment,{})};var Mp=require("react/jsx-runtime");var ds=require("react/jsx-runtime"),Ip="k-input-suffix-text",Wr=e=>{let{children:t,...o}=e;return(0,ds.jsx)("span",{...o,className:i(Ip,e.className),children:t})};var ps=require("react/jsx-runtime"),cs="k-input-separator",yp={direction:"vertical"},le=e=>{let{direction:t=yp.direction,...o}=e;return(0,ps.jsx)("span",{...o,className:i(cs,e.className,{[`${cs}-${t}`]:t})})};var de=require("react/jsx-runtime"),Tp=U.states,Ep=U.defaultOptions,Cp=U.options,Op=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Ap=[],Lo=e=>{let{modifiers:t,valid:o,invalid:a,loading:r,disabled:s,readonly:d,...m}=e,f=t==null?void 0:t.prefix,x=t==null?void 0:t.suffix,h=t==null?void 0:t["clear-button"],N=t==null?void 0:t["validation-icon"],p=t==null?void 0:t.separators;return(0,de.jsxs)(U,{...m,valid:o,invalid:a,loading:r,disabled:s,readonly:d,style:{width:300},children:[f&&(0,de.jsxs)(de.Fragment,{children:[(0,de.jsx)(Me,{children:(0,de.jsx)(L,{icon:"lock"})}),p&&(0,de.jsx)(le,{})]}),(0,de.jsx)(fe,{placeholder:"Placeholder",value:"Value"}),N&&(0,de.jsx)(re,{valid:o,invalid:a,loading:r,disabled:s}),(0,de.jsx)(se,{loading:r,disabled:s}),h&&(0,de.jsx)(be,{loading:r,disabled:s,readonly:d,value:"Value"}),x&&(0,de.jsxs)(de.Fragment,{children:[p&&(0,de.jsx)(le,{}),(0,de.jsx)(Ie,{children:(0,de.jsx)(no,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};Lo.options=Cp;Lo.states=Tp;Lo.variants=Ap;Lo.defaultOptions=Ep;Lo.modifiers=Op;Lo.className=U.className;var Ca=require("react/jsx-runtime"),ms="k-color-preview",wp=[],Rp={},Ut=e=>{let{color:t,iconName:o,...a}=e;return(0,Ca.jsxs)("span",{...a,className:i(e.className,ms,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,Ca.jsx)(L,{icon:o,className:"k-color-preview-icon"}),(0,Ca.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ut.states=wp;Ut.options=Rp;Ut.className=ms;var Jr="popup",us=Jr;var Zr=require("react/jsx-runtime"),bs="k-animation-container",Bp=[],Pp={},Yr={positionMode:"absolute",shown:!0},vt=e=>{let{positionMode:t=Yr.positionMode,shown:o=Yr.shown,animationStyle:a,offset:r,...s}=e;return(0,Zr.jsx)("div",{...s,style:{...r,...e.style},className:i(e.className,bs,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,Zr.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};vt.states=Bp;vt.options=Pp;vt.className=bs;vt.defaultOptions=Yr;vt.moduleName=Jr;vt.folderName=us;var Qr="popup",fs=Qr;var jr=require("react/jsx-runtime"),hs="k-popup",Kp=[],Dp={},xs={positionMode:"absolute"},W=e=>{let{offset:t,positionMode:o=xs.positionMode,animationStyle:a,containerClassName:r,containerRole:s,containerAriaLabel:d,...m}=e;return(0,jr.jsx)(vt,{positionMode:o,offset:t,animationStyle:a,className:r,role:s,"aria-label":d,children:(0,jr.jsx)("div",{...m,className:i(e.className,hs),children:e.children})})};W.states=Kp;W.options=Dp;W.className=hs;W.defaultOptions=xs;W.moduleName=Qr;W.folderName=fs;W.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 en="action-buttons",Ns=en;var ks=require("react/jsx-runtime"),Qa="k-actions",_p=[],zp={},tn={alignment:"start",orientation:"horizontal"},gt=e=>{let{alignment:t=tn.alignment,orientation:o=tn.orientation,...a}=e;return(0,ks.jsx)("div",{...a,className:i(Qa,{[`${Qa}-${t}`]:t,[`${Qa}-${o}`]:o},e.className),children:e.children})};gt.states=_p;gt.options=zp;gt.className=Qa;gt.defaultOptions=tn;gt.moduleName=en;gt.folderName=Ns;var gs=require("react/jsx-runtime"),Hp="k-actionsheet-footer",vs={alignment:"stretched",orientation:"horizontal"},Gt=e=>{let{alignment:t=vs.alignment,orientation:o=vs.orientation,template:a,as:r=a?"div":gt,...s}=e;return(0,gs.jsx)(r,{...s,...!a&&{alignment:t,orientation:o},className:i(e.className,Hp),children:e.children})};var on="searchbox",Ls=on;var Vt=require("react/jsx-runtime"),Ss="k-searchbox",Fp=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],Up={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},an={showIcon:!0,icon:"search"},at=e=>{let{value:t,placeholder:o,size:a,rounded:r,fillMode:s,hover:d,focus:m,valid:f,invalid:x,required:h,loading:N,disabled:p,showIcon:v=an.showIcon,icon:k=an.icon,"aria-label":S,...I}=e;return(0,Vt.jsxs)(U,{...I,size:a,rounded:r,fillMode:s,hover:d,focus:m,valid:f,invalid:x,required:h,loading:N,disabled:p,className:i(e.className,Ss),children:[v&&(0,Vt.jsx)(L,{className:"k-input-icon",icon:k}),(0,Vt.jsx)(fe,{placeholder:o,value:t,"aria-label":S}),(0,Vt.jsx)(se,{...e}),(0,Vt.jsx)(re,{...e}),(0,Vt.jsx)(be,{...e})]})};at.states=Fp;at.options=Up;at.className=Ss;at.defaultOptions=an;at.moduleName=on;at.folderName=Ls;var Gp=require("react/jsx-runtime");var rn="textbox",Ms=rn;var ye=require("react/jsx-runtime"),Is="k-textbox",Vp=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],$p={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},ja={showClearButton:!0,showValidationIcon:!0,separators:!0},F=e=>{let{size:t,rounded:o,fillMode:a,separators:r=ja.separators,showClearButton:s=ja.showClearButton,showValidationIcon:d=ja.showValidationIcon,prefix:m,suffix:f,type:x,value:h,placeholder:N,hover:p,focus:v,valid:k,invalid:S,required:I,loading:y,disabled:A,readonly:H,id:te,"aria-label":ae,"aria-describedby":me,...ue}=e;return(0,ye.jsxs)(U,{...ue,size:t,rounded:o,fillMode:a,hover:p,focus:v,valid:k,invalid:S,required:I,loading:y,disabled:A,readonly:H,className:i(e.className,Is),children:[m&&(0,ye.jsxs)(ye.Fragment,{children:[(0,ye.jsx)(Me,{children:m}),r&&(0,ye.jsx)(le,{})]}),(0,ye.jsx)(fe,{id:te,placeholder:N,value:h,type:x,disabled:A,"aria-label":ae,"aria-describedby":me,"aria-invalid":S?"true":void 0}),d&&(0,ye.jsx)(re,{valid:k,invalid:S,loading:y,disabled:A}),(0,ye.jsx)(se,{loading:y,disabled:A}),s&&(0,ye.jsx)(be,{loading:y,disabled:A,readonly:H,value:h}),f&&(0,ye.jsxs)(ye.Fragment,{children:[r&&(0,ye.jsx)(le,{}),(0,ye.jsx)(Ie,{children:f})]})]})};F.states=Vp;F.options=$p;F.className=Is;F.defaultOptions=ja;F.moduleName=rn;F.folderName=Ms;F.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 Oa=F;var Ts=require("react/jsx-runtime"),ys=e=>(0,Ts.jsx)(Oa,{...e});var Es=require("react/jsx-runtime");var Cs=require("react/jsx-runtime");var Xp=require("react/jsx-runtime");var er=require("react/jsx-runtime"),qp=F.states,Wp=F.defaultOptions,Jp=F.options,Yp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Zp=[],So=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t!=null&&t[r]?(0,er.jsx)(L,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[r]?(0,er.jsx)(no,{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,er.jsx)(ys,{value:"Value",style:{width:300},...o,...a})};So.options=Jp;So.states=qp;So.variants=Zp;So.defaultOptions=Wp;So.modifiers=Yp;So.className=F.className;var Qe=require("react/jsx-runtime"),Os="k-actionsheet-titlebar",Qp={},De=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:r,filter:s,input:d,inputValue:m,inputPlaceholder:f,adaptive:x,titleId:h,children:N,...p}=e;return(0,Qe.jsxs)("div",{...p,className:i(e.className,Os),children:[(0,Qe.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,Qe.jsx)("div",{className:"k-actionsheet-actions",children:a}),!N&&(0,Qe.jsxs)("div",{className:"k-actionsheet-title",id:h,children:[t&&(0,Qe.jsx)("div",{className:"k-text-center",children:t}),o&&(0,Qe.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&(0,Qe.jsx)("div",{className:"k-actionsheet-title",id:h,children:N}),r&&(0,Qe.jsx)("div",{className:"k-actionsheet-actions",children:r})]}),(d||s)&&(0,Qe.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?(0,Qe.jsx)(F,{value:m,placeholder:f,size:x?"large":"medium","aria-label":t||f||"Input"}):(0,Qe.jsx)(at,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};De.className=Os;De.defaultOptions=Qp;var Mo=require("react/jsx-runtime"),nn="k-actionsheet-view",jp=[],em={},tm={},Io=e=>{let{adaptive:t,animated:o,children:a,header:r,footer:s,titleId:d,...m}=e,f=(r==null?void 0:r.type)===De&&(0,Mo.jsx)(De,{adaptive:t,titleId:d,...r==null?void 0:r.props}),x=(s==null?void 0:s.type)===Gt&&(0,Mo.jsx)(Gt,{...s==null?void 0:s.props});return(0,Mo.jsxs)("div",{...m,className:i(e.className,nn,{[`${nn}-animated`]:o}),children:[f,(0,Mo.jsx)("div",{className:"k-actionsheet-content",children:a}),x]})};Io.states=jp;Io.options=em;Io.className=nn;Io.defaultOptions=tm;var Aa="action-sheet",tr=Aa;var sn="overlay",As=sn;var Rs=require("react/jsx-runtime"),ws="k-overlay",om=[],am={},rm={},$t=e=>{let{...t}=e;return(0,Rs.jsx)("div",{...t,className:i(e.className,ws),children:e.children})};$t.states=om;$t.options=am;$t.className=ws;$t.defaultOptions=rm;$t.moduleName=sn;$t.folderName=As;var so=require("react/jsx-runtime"),Bs="k-actionsheet",nm=[],im={},wa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},j=e=>{let{side:t=wa.side,fullscreen:o=wa.fullscreen,adaptive:a=wa.adaptive,overlay:r=wa.overlay,template:s,children:d,header:m,footer:f,id:x,...h}=e,N=x&&!s&&m?`${x}-title`:void 0;return(0,so.jsxs)("div",{className:"k-actionsheet-container",children:[r&&(0,so.jsx)($t,{}),(0,so.jsx)(vt,{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":N,className:i(e.className,Bs,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||(0,so.jsx)(Io,{header:m,footer:f,adaptive:a,titleId:N,...e,children:d})})})]})};j.states=nm;j.options=im;j.className=Bs;j.defaultOptions=wa;j.moduleName=Aa;j.folderName=tr;j.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 Ks=require("react/jsx-runtime"),Ps="k-actionsheet-container",sm=[],lm={},dm={},yo=e=>{let{children:t,...o}=e;return(0,Ks.jsx)("div",{...o,className:Ps,children:t})};yo.states=sm;yo.options=lm;yo.className=Ps;yo.defaultOptions=dm;yo.moduleName=Aa;yo.folderName=tr;var Ds=require("react/jsx-runtime"),ln=e=>{let{...t}=e;return(0,Ds.jsx)("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};var rt=require("react/jsx-runtime"),dn="k-actionsheet-item",cm=[n.hover,n.focus,n.selected,n.disabled],Xt=e=>{let{iconName:t,text:o,description:a,hover:r,focus:s,selected:d,disabled:m,...f}=e;return(0,rt.jsxs)("span",{...f,className:i(e.className,dn,E(dn,{hover:r,focus:s,selected:d,disabled:m})),children:[!e.children&&(0,rt.jsx)(rt.Fragment,{children:(0,rt.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,rt.jsx)("span",{className:"k-icon-wrap",children:(0,rt.jsx)(L,{className:"k-actionsheet-item-icon",icon:t})}),(0,rt.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,rt.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,rt.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Xt.states=cm;Xt.className=dn;var _s=require("react/jsx-runtime");var pm=require("react/jsx-runtime");var mm=require("react/jsx-runtime");var um=require("react/jsx-runtime");var J=require("react/jsx-runtime"),bm=j.options,fm=j.states,Hs={...j.defaultOptions,variant:"normal"},hm=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],xm=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],To=e=>{let{variant:t,modifiers:o,...a}={...Hs,...e},r={},s=(0,J.jsxs)(ln,{children:[(0,J.jsx)(Xt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,J.jsx)(Xt,{text:"Add to Favorites",iconName:"heart"}),(0,J.jsx)(Xt,{text:"Upload New",iconName:"upload",disabled:!0}),(0,J.jsx)("hr",{className:"k-hr"}),(0,J.jsx)(Xt,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",m="Select Item";return t==="fullScreen"&&(r.fullScreen=!0),Object.keys(o||{}).forEach(f=>{switch(f){case"actions":r.actionsStart=!!(o!=null&&o[f]),r.actionsEnd=!!(o!=null&&o[f]);break;case"subtitle":r.subtitle=o!=null&&o[f]?d:void 0;break;case"footer":r.footer=!!(o!=null&&o[f]);break;default:break}}),t==="adaptive"?(0,J.jsx)(j,{...a,adaptive:!0,fullscreen:r.fullScreen,header:(0,J.jsx)(De,{actionsStart:r.actionsStart?(0,J.jsx)(c,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?(0,J.jsx)(c,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:r.subtitle}),footer:r.footer?(0,J.jsxs)(Gt,{alignment:"stretched",children:[(0,J.jsx)(c,{text:"Cancel",size:"large",themeColor:"base"}),(0,J.jsx)(c,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):(0,J.jsx)(j,{...a,fullscreen:r.fullScreen,header:(0,J.jsx)(De,{actionsStart:r.actionsStart?(0,J.jsx)(c,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?(0,J.jsx)(c,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:r.subtitle}),footer:r.footer?(0,J.jsxs)(Gt,{alignment:"stretched",children:[(0,J.jsx)(c,{text:"Apply",themeColor:"primary"}),(0,J.jsx)(c,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};To.options=bm;To.states=fm;To.variants=hm;To.defaultOptions=Hs;To.modifiers=xm;To.className=j.className;var cn="slider",Fs=cn;var mt=require("react/jsx-runtime"),Ra="k-slider",Nm=[n.hover,n.focus,n.active,n.disabled,n.readonly],km={},nt={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},q=e=>{let{type:t=nt.type,orientation:o=nt.orientation,gradientType:a=nt.gradientType,readonly:r=nt.readonly,disabled:s=nt.disabled,handlePosition:d=nt.handlePosition,showButtons:m=nt.showButtons,showTicks:f=nt.showTicks,value:x=nt.value,min:h=nt.min,max:N=nt.max,startValue:p,endValue:v,hover:k,focus:S,active:I,trackStyle:y,dir:A,...H}=e,ae=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),me,ue;return o==="horizontal"?(me=A==="rtl"?"chevron-left":"chevron-right",ue=A==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(me="chevron-up",ue="chevron-down"),(0,mt.jsxs)("div",{...H,className:i(Ra,e.className,E(Ra,{readonly:r,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:A,children:[m&&(0,mt.jsx)(c,{className:"k-button-decrease",rounded:"full",icon:ue,tabIndex:-1,title:"Decrease"}),(0,mt.jsxs)("div",{className:"k-slider-track-wrap",children:[f&&(0,mt.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,mt.jsxs)("div",{className:"k-slider-track",style:y,children:[(0,mt.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,mt.jsx)("span",{className:i("k-draghandle","k-draghandle-start",E(Ra,{hover:k,focus:S,active:I})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":p??h,"aria-valuemin":h,"aria-valuemax":v??N,"aria-orientation":ae,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":H["aria-label"]?`${H["aria-label"]} start`:"Range start"}),(0,mt.jsx)("span",{className:i("k-draghandle",`k-draghandle-${d}`,E(Ra,{hover:k,focus:S,active:I})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?v??N:x,"aria-valuemin":t==="range"?p??h:h,"aria-valuemax":N,"aria-orientation":ae,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":t==="range"?H["aria-label"]?`${H["aria-label"]} end`:"Range end":H["aria-label"]})]})]}),m&&(0,mt.jsx)(c,{className:"k-button-increase",rounded:"full",icon:me,tabIndex:-1,title:"Increase"})]})};q.states=Nm;q.options=km;q.className=Ra;q.defaultOptions=nt;q.moduleName=cn;q.folderName=Fs;q.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 pn=require("react/jsx-runtime"),Us="k-tick",vm=[],gm={},Gs={label:!1},C=e=>{let{style:t,label:o=Gs.label,orientation:a,large:r,text:s,...d}=e;return(0,pn.jsx)("li",{...d,role:"presentation",title:s||"Tick",className:i(e.className,Us,{[`k-tick-${a}`]:a,"k-tick-large":r}),style:t,children:o&&(0,pn.jsx)("span",{className:"k-label",children:s})})};C.states=vm;C.options=gm;C.className=Us;C.defaultOptions=Gs;var he=require("react/jsx-runtime"),Vs=e=>(0,he.jsx)(q,{"aria-label":e["aria-label"]||"Slider",children:(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(C,{className:"k-first",label:!0,large:!0,text:"0"}),(0,he.jsx)(C,{}),(0,he.jsx)(C,{}),(0,he.jsx)(C,{}),(0,he.jsx)(C,{}),(0,he.jsx)(C,{label:!0,large:!0,text:"5"}),(0,he.jsx)(C,{}),(0,he.jsx)(C,{}),(0,he.jsx)(C,{}),(0,he.jsx)(C,{}),(0,he.jsx)(C,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var xe=require("react/jsx-runtime"),$s=e=>(0,xe.jsx)(q,{children:(0,xe.jsxs)(xe.Fragment,{children:[(0,xe.jsx)(C,{className:"k-first",label:!0,large:!0,text:"0"}),(0,xe.jsx)(C,{}),(0,xe.jsx)(C,{}),(0,xe.jsx)(C,{}),(0,xe.jsx)(C,{}),(0,xe.jsx)(C,{label:!0,large:!0,text:"5"}),(0,xe.jsx)(C,{}),(0,xe.jsx)(C,{}),(0,xe.jsx)(C,{}),(0,xe.jsx)(C,{}),(0,xe.jsx)(C,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var mn=require("react/jsx-runtime");var un=require("react/jsx-runtime");var Xs=require("react/jsx-runtime"),bn=e=>(0,Xs.jsx)(q,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var qs=require("react/jsx-runtime"),fn=e=>(0,qs.jsx)(q,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var hn=require("react/jsx-runtime");var xn=require("react/jsx-runtime");var $e=require("react/jsx-runtime"),Lm=q.options,Sm=q.states,Ws={...q.defaultOptions,variant:"horizontal",label:!0},Mm=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Im=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Eo=e=>{let{variant:t,modifiers:o,...a}=e,r=Ws.label,s={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{s.showButtons=!!(o!=null&&o[m]);break}case"label":{r=!!(o!=null&&o[m]);break}case"tick":{s.showTicks=!!(o!=null&&o[m]);break}}});let d={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,$e.jsxs)($s,{style:{height:"300px",...d},...a,...s,children:[(0,$e.jsx)(C,{label:r,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,$e.jsx)(C,{label:r,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,$e.jsx)(C,{label:r,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,$e.jsx)(C,{label:r,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,$e.jsx)(C,{label:r,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,$e.jsxs)(Vs,{style:{width:"400px",...d},...a,...s,children:[(0,$e.jsx)(C,{label:r,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,$e.jsx)(C,{label:r,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,$e.jsx)(C,{label:r,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,$e.jsx)(C,{label:r,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,$e.jsx)(C,{label:r,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Eo.options=Lm;Eo.states=Sm;Eo.variants=Mm;Eo.defaultOptions=Ws;Eo.modifiers=Im;Eo.className=q.className;var Ba=require("react/jsx-runtime"),Js="k-spin-button",Em=[],Cm={size:[l.undefined,l.small,l.medium,l.large],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},Nn={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Lt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:r=Nn.increaseLabel,decreaseLabel:s=Nn.decreaseLabel,...d}=e;return(0,Ba.jsxs)("span",{...d,className:i(Js,e.className),children:[(0,Ba.jsx)(c,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":r}),(0,Ba.jsx)(c,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Lt.states=Em;Lt.options=Cm;Lt.className=Js;Lt.defaultOptions=Nn;Lt.moduleName=null;Lt.folderName=null;var Ys="numeric-textbox",Zs="numerictextbox";var Ne=require("react/jsx-runtime"),Qs="k-numerictextbox",Om=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Am={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},or={showSpinButton:!0,showClearButton:!0,separators:!0},D=e=>{let{size:t,rounded:o,fillMode:a,separators:r=or.separators,showClearButton:s=or.showClearButton,showSpinButton:d=or.showSpinButton,prefix:m,suffix:f,value:x,placeholder:h,hover:N,focus:p,valid:v,invalid:k,required:S,loading:I,disabled:y,readonly:A,id:H,"aria-label":te,"aria-describedby":ae,...me}=e;return(0,Ne.jsxs)(U,{...me,size:t,rounded:o,fillMode:a,hover:N,focus:p,valid:v,invalid:k,required:S,loading:I,disabled:y,readonly:A,className:i(e.className,Qs),children:[m&&(0,Ne.jsxs)(Ne.Fragment,{children:[(0,Ne.jsx)(Me,{children:m}),r&&(0,Ne.jsx)(le,{})]}),(0,Ne.jsx)(fe,{id:H,placeholder:h,value:x,role:"spinbutton",disabled:y,"aria-label":te,"aria-describedby":ae,"aria-invalid":k?"true":void 0}),(0,Ne.jsx)(re,{valid:v,invalid:k,loading:I,disabled:y}),(0,Ne.jsx)(se,{loading:I,disabled:y}),s&&(0,Ne.jsx)(be,{loading:I,disabled:y,readonly:A,value:x}),f&&(0,Ne.jsxs)(Ne.Fragment,{children:[r&&(0,Ne.jsx)(le,{}),(0,Ne.jsx)(Ie,{children:f})]}),d&&(0,Ne.jsx)(Lt,{className:"k-input-spinner",size:t,fillMode:a,disabled:y})]})};D.states=Om;D.options=Am;D.className=Qs;D.defaultOptions=or;D.moduleName=Ys;D.folderName=Zs;D.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 Pa=D;var el=require("react/jsx-runtime"),js=e=>(0,el.jsx)(Pa,{...e});var rr=Fi(require("react"));var kn=require("react/jsx-runtime"),wm="k-list-group-sticky-header",vn=e=>(0,kn.jsx)("div",{className:i(wm,e.className),children:(0,kn.jsx)("div",{className:"k-list-header-text",children:e.children})});var tl=require("react/jsx-runtime"),Rm="k-no-data",ar=e=>{let{live:t,...o}=e;return(0,tl.jsx)("span",{...o,className:i(Rm,e.className),"aria-live":t?"polite":void 0,children:e.children})};var lo="list",Co=lo;var Oo=require("react/jsx-runtime"),gn="k-list",Bm=[],Pm={size:[l.undefined,l.small,l.medium,l.large]},Km={},K=e=>{var k;let{size:t,virtualization:o,children:a,header:r,selectAll:s,optionLabel:d,customValue:m,noData:f,screenReaders:x,...h}=e,p=rr.default.Children.toArray(a)[0],v=(k=p==null?void 0:p.props)!=null&&k.children?rr.default.Children.count(p.props.children):rr.default.Children.count(a);return(0,Oo.jsxs)("div",{...h,className:i(e.className,gn,T(gn,{size:t}),{"k-virtual-list":o}),children:[d,s,m,r&&(0,Oo.jsx)(vn,{children:r}),a||(f!==void 0?f:(0,Oo.jsx)(ar,{live:!0,children:"No data found."})),x&&a&&(0,Oo.jsxs)(ar,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};K.states=Bm;K.options=Pm;K.className=gn;K.defaultOptions=Km;K.moduleName=lo;K.folderName=Co;K.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"),ol="k-list-container",Dm=[],_m={},zm={},Ao=e=>{let{...t}=e;return(0,al.jsx)("div",{...t,className:i(e.className,ol),children:e.children})};Ao.states=Dm;Ao.options=_m;Ao.className=ol;Ao.defaultOptions=zm;Ao.moduleName=lo;Ao.folderName=Co;var co="checkbox",wo=co;var Ln=require("react/jsx-runtime"),nr="k-checkbox",Hm=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],Fm={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Um={},_e=e=>{let{id:t,checked:o,indeterminate:a,hover:r,focus:s,disabled:d,invalid:m,valid:f,required:x,size:h,rounded:N,wrapperRole:p,...v}=e;return(0,Ln.jsx)("span",{className:"k-checkbox-wrap",role:p,children:(0,Ln.jsx)("input",{...v,id:t,type:"checkbox",defaultChecked:o,required:x,disabled:d||void 0,"aria-invalid":m?"true":void 0,className:i(e.className,nr,T(nr,{size:h,rounded:N}),E(nr,{hover:r,focus:s,disabled:d,invalid:m,valid:f,indeterminate:a,checked:o}))})})};_e.states=Hm;_e.options=Fm;_e.className=nr;_e.defaultOptions=Um;_e.moduleName=co;_e.folderName=wo;_e.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 ut=_e;var il=require("react/jsx-runtime"),rl="k-checkbox-list",Gm=[],Vm={},nl={layout:"vertical"},ze=e=>{let{layout:t=nl.layout,...o}=e;return(0,il.jsx)("ul",{...o,className:i(e.className,rl,{[`k-list-${t}`]:t}),children:e.children})};ze.states=Gm;ze.options=Vm;ze.className=rl;ze.defaultOptions=nl;ze.moduleName=co;ze.folderName=wo;var ll=require("react/jsx-runtime"),sl="k-checkbox-list-item",$m=[],Xm={},qm={},He=e=>{let{...t}=e;return(0,ll.jsx)("li",{...t,className:i(e.className,sl),children:e.children})};He.states=$m;He.options=Xm;He.className=sl;He.defaultOptions=qm;He.moduleName=co;He.folderName=wo;var po=require("react/jsx-runtime"),bt=({children:e="Label",id:t="cb-label-after",...o})=>(0,po.jsxs)(po.Fragment,{children:[(0,po.jsx)(ut,{id:t,...o}),(0,po.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var Sn=require("react/jsx-runtime");var Mn=require("react/jsx-runtime");var In=require("react/jsx-runtime");var Wm=require("react/jsx-runtime");var Jm=require("react/jsx-runtime");var Ym=require("react/jsx-runtime");var Te=require("react/jsx-runtime"),Zm=ze.options,Qm=ze.states,jm={...ze.defaultOptions,variant:"vertical"},eu=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],tu=[],Ro=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,Te.jsxs)(ze,{layout:"horizontal",...o,children:[(0,Te.jsx)(He,{children:(0,Te.jsx)(bt,{id:R("cb"),defaultChecked:!0,children:"Label"})}),(0,Te.jsx)(He,{children:(0,Te.jsx)(bt,{id:R("cb"),children:"Label"})}),(0,Te.jsx)(He,{children:(0,Te.jsx)(bt,{id:R("cb"),children:"Label"})})]}):(0,Te.jsxs)(ze,{...o,children:[(0,Te.jsx)(He,{children:(0,Te.jsx)(bt,{id:R("cb"),defaultChecked:!0,children:"Label"})}),(0,Te.jsx)(He,{children:(0,Te.jsx)(bt,{id:R("cb"),children:"Label"})}),(0,Te.jsx)(He,{children:(0,Te.jsx)(bt,{id:R("cb"),children:"Label"})})]})};Ro.options=Zm;Ro.states=Qm;Ro.variants=eu;Ro.defaultOptions=jm;Ro.modifiers=tu;Ro.className=ze.className;var dl=require("react/jsx-runtime"),ou=ut.options,au=ut.states,ru=ut.defaultOptions,nu=[],iu=[],Bo=e=>(0,dl.jsx)(bt,{id:R("checkbox"),...e,defaultChecked:!0,children:"Label"});Bo.options=ou;Bo.states=au;Bo.variants=nu;Bo.defaultOptions=ru;Bo.modifiers=iu;Bo.className=ut.className;var St=require("react/jsx-runtime"),yn="k-list-item",su=[n.hover,n.focus,n.selected,n.disabled],lu={},du={},B=e=>{let{text: