UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 290 kB
var DS=Object.create;var ed=Object.defineProperty;var FS=Object.getOwnPropertyDescriptor;var zS=Object.getOwnPropertyNames;var RS=Object.getPrototypeOf,HS=Object.prototype.hasOwnProperty;var WS=(e,t)=>{for(var a in t)ed(e,a,{get:t[a],enumerable:!0})},Cf=(e,t,a,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of zS(t))!HS.call(e,s)&&s!==a&&ed(e,s,{get:()=>t[s],enumerable:!(r=FS(t,s))||r.enumerable});return e};var Sf=(e,t,a)=>(a=e!=null?DS(RS(e)):{},Cf(t||!e||!e.__esModule?ed(a,"default",{value:e,enumerable:!0}):a,e)),OS=e=>Cf(ed({},"__esModule",{value:!0}),e);var R0={};WS(R0,{TabStripClosable:()=>z0});module.exports=OS(R0);var o=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?o(...t):typeof t=="object"?Object.keys(t).map((a,r)=>t[r]||t[a]&&a||null).filter(a=>a!==null).join(" "):t).filter(t=>!!t).join(" ");var C=(e,t)=>o({[`${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.fillMode}-${t.themeColor}`]:t.fillMode&&t.themeColor},{[`${e}-${t.themeColor}`]:t.themeColor&&t.fillMode===void 0},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full"}),b=(e,t)=>o({"k-valid":t.valid,"k-invalid":t.invalid,"k-hover":t.hover,"k-focus":t.focus,"k-checked":t.checked,"k-active":t.active,"k-selected":t.selected,"k-disabled":t.disabled,"k-indeterminate":t.indeterminate&&!t.checked,"k-loading":t.loading,"k-empty":t.empty,"k-readonly":t.readonly});var n={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={small:"small",medium:"medium",large:"large",full:"full"},x={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},u={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},l={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"},Ht={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var ri=require("react/jsx-runtime"),qc="k-icon k-font-icon",QS=[],VS={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},XS={},si=e=>{let{size:t,themeColor:a,icon:r,rotate:s,flip:i,...d}=e;return r?(0,ri.jsx)("span",{...d,className:o(e.className,qc,C(qc,{size:t}),{[`k-i-${r}`]:r,[`k-color-${a}`]:a,[`k-rotate-${s}`]:s,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"})}):(0,ri.jsx)(ri.Fragment,{})};si.states=QS;si.options=VS;si.className=qc;si.defaultOptions=XS;var If=si;var wl=require("react/jsx-runtime"),_c="k-icon k-svg-icon",ZS=[],JS={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},Bf={viewBox:"0 0 24 24"},ii=e=>{let{size:t,themeColor:a,rotate:r,flip:s,viewBox:i=Bf.viewBox,icon:d,...p}=e;if(!d)return(0,wl.jsx)(wl.Fragment,{});d==="none"&&{...p,className:o(e.className,_c,"k-none")};let m=typeof d=="object"&&d.name&&d.name;return(0,wl.jsx)("span",{...p,className:o(e.className,_c,C("k-icon",{size:t}),{[`k-svg-i-${m}`]:m,[`k-color-${a}`]:a,[`k-rotate-${r}`]:r,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),children:(0,wl.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof d=="object"?d.viewBox:i,dangerouslySetInnerHTML:typeof d=="object"?{__html:d.content}:void 0,children:d?void 0:e.children})})};ii.states=ZS;ii.options=JS;ii.className=_c;ii.defaultOptions=Bf;var $c=ii;var Mf=Sf(require("@progress/kendo-svg-icons")),ca=require("react/jsx-runtime"),jS=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),US=[],qS={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},ep={viewBox:"0 0 24 24",type:"svg"},v=e=>{let{size:t,themeColor:a,icon:r,type:s=ep.type,rotate:i,flip:d,viewBox:p=ep.viewBox,...m}=e;if(!r)return(0,ca.jsx)(ca.Fragment,{});if(s==="svg"){if(r==="none")return(0,ca.jsx)($c,{...m,icon:r,size:t});let k=jS(`${r}-icon`);return Mf[k]?(0,ca.jsx)($c,{...m,icon:Mf[k],size:t,themeColor:a,rotate:i,flip:d,viewBox:p}):(0,ca.jsx)(ca.Fragment,{})}return(0,ca.jsx)(If,{...m,icon:r,size:t,themeColor:a,rotate:i,flip:d})};v.states=US;v.options=qS;v.defaultOptions=ep;var tp=v;var Yf=require("react/jsx-runtime"),Lf="k-tabstrip-items",_S=[],$S={},eI={tabAlignment:"start"},ni=e=>{let{children:t,tabAlignment:a,...r}=e;return(0,Yf.jsx)("ul",{...r,className:o(e.className,Lf,"k-reset",`k-tabstrip-items-${a}`),children:t})};ni.states=_S;ni.options=$S;ni.className=Lf;ni.defaultOptions=eI;var Ef=ni;var Df=require("react/jsx-runtime"),Pf="k-tabstrip-items-wrapper",tI=[],oI={},Gf={orientation:"horizontal"},di=e=>{let{children:t,orientation:a=Gf.orientation,...r}=e;return(0,Df.jsx)("div",{...r,className:o(e.className,Pf,{"k-hstack":a==="horizontal","k-vstack":a==="vertical"}),children:t})};di.states=tI;di.options=oI;di.className=Pf;di.defaultOptions=Gf;var Kf=di;var Wt=require("react/jsx-runtime"),Al="k-tabstrip",aI=[],lI={size:[n.small,n.medium,n.large]},ci={size:n.medium,position:"top",tabAlignment:"start",scrollButtons:"around"},Do=e=>{let{size:t=ci.size,scrollable:a,children:r,tabStripItems:s,position:i=ci.position,tabAlignment:d=ci.tabAlignment,scrollButtons:p=ci.scrollButtons,dir:m,scrollingPosition:k,...y}=e,A={top:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},bottom:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},right:{prev:"up",next:"down"},left:{prev:"up",next:"down"}},g={top:"horizontal",bottom:"horizontal",left:"vertical",right:"vertical"},T={start:"start",center:"center",end:"end",justify:"justify",stretched:"stretched"};return(0,Wt.jsxs)("div",{dir:m,...y,className:o(Al,e.className,{[`${Al}-${i}`]:i,[`${Al}-scrollable`]:a,[`${Al}-scrollable-overlay`]:a&&(p==="hidden"||!p),[`${Al}-scrollable-${k}`]:k&&k!=="both"},C(Al,{size:t})),children:[i==="bottom"&&r,(0,Wt.jsxs)(Kf,{orientation:g[i],children:[a&&(p==="around"||p==="start")&&(0,Wt.jsx)("span",{className:o("k-tabstrip-prev","k-button",C("k-button",{size:t,fillMode:x.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:(0,Wt.jsx)(v,{className:"k-button-icon",icon:`caret-alt-${A[i].prev}`})}),a&&p==="start"&&(0,Wt.jsx)("span",{className:o("k-tabstrip-next","k-button",C("k-button",{size:t,fillMode:x.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:(0,Wt.jsx)(v,{className:"k-button-icon",icon:`caret-alt-${A[i].next}`})}),(0,Wt.jsx)(Ef,{className:o({"k-tabstrip-items-scroll":a&&p==="hidden"}),tabAlignment:T[d],children:s}),a&&p==="end"&&(0,Wt.jsx)("span",{className:o("k-tabstrip-prev","k-button",C("k-button",{size:t,fillMode:x.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:(0,Wt.jsx)(v,{className:"k-button-icon",icon:`caret-alt-${A[i].prev}`})}),a&&(p==="around"||p==="end")&&(0,Wt.jsx)("span",{className:o("k-tabstrip-next","k-button",C("k-button",{size:t,fillMode:x.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:(0,Wt.jsx)(v,{className:"k-button-icon",icon:`caret-alt-${A[i].next}`})})]}),i!=="bottom"&&r]})};Do.states=aI;Do.options=lI;Do.className=Al;Do.defaultOptions=ci;var zf=require("react/jsx-runtime"),rI=[],sI={},Ff=e=>{let{type:t,...a}=e,r=t==="p"?"paragraph":t,s=t.includes("display")?"div":t;return(0,zf.jsx)(s,{...a,className:o(e.className,{[`k-${r}`]:t}),children:e.children})};Ff.states=rI;Ff.options=sI;var Hf=require("react/jsx-runtime"),td="k-actions",iI=[],nI={},op={alignment:"start",orientation:"horizontal"},Z=e=>{let{alignment:t=op.alignment,orientation:a=op.orientation,...r}=e;return(0,Hf.jsx)("div",{...r,className:o(td,{[`${td}-${t}`]:t,[`${td}-${a}`]:a},e.className),children:e.children})};Z.states=iI;Z.options=nI;Z.className=td;Z.defaultOptions=op;var Rf=Z;var Wf=require("react/jsx-runtime"),od="k-input",dI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],cI={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},ad={size:n.medium,rounded:n.medium,fillMode:x.solid},M=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p,size:m=ad.size,rounded:k=ad.rounded,fillMode:y=ad.fillMode,...A}=e;return(0,Wf.jsx)("span",{...A,className:o(e.className,od,C(od,{size:m,rounded:k,fillMode:y}),b(od,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p}))})};M.states=dI;M.options=cI;M.className=od;M.defaultOptions=ad;var Of=require("react/jsx-runtime"),ld="k-picker",pI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],mI={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},rd={size:n.medium,rounded:f.medium,fillMode:x.solid},Ot=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p,size:m=rd.size,rounded:k=rd.rounded,fillMode:y=rd.fillMode,...A}=e;return(0,Of.jsx)("span",{...A,className:o(e.className,ld,C(ld,{size:m,rounded:k,fillMode:y}),b(ld,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p})),children:e.children})};Ot.states=pI;Ot.options=mI;Ot.className=ld;Ot.defaultOptions=rd;var yr=require("react/jsx-runtime"),Qf="k-clear-value",uI=[l.disabled,l.loading,l.readonly],kI={},re=e=>{let{disabled:t,loading:a,readonly:r,value:s}=e;return t||r||a||!s?(0,yr.jsx)(yr.Fragment,{}):(0,yr.jsx)("span",{className:o(e.className,Qf),children:(0,yr.jsx)(v,{icon:"x"})})};re.states=uI;re.options=kI;re.className=Qf;var Vf=require("react/jsx-runtime"),ap="k-input-inner",hI=[],fI={},sd={type:"text",autocomplete:"off",value:"",placeholder:""},ne=e=>{let{value:t=sd.value,type:a=sd.type,placeholder:r=sd.placeholder,autocomplete:s=sd.autocomplete,...i}=e;return(0,Vf.jsx)("input",{...i,type:a,className:o(e.className,ap,C(ap,e)),placeholder:r,autoComplete:s,defaultValue:t})};ne.states=hI;ne.options=fI;ne.className=ap;var pi=require("react/jsx-runtime"),lp="k-input-inner",gI=[],xI={},pa=e=>{let{value:t,placeholder:a,showValue:r,valueIcon:s,valueIconName:i,...d}=e;return(0,pi.jsxs)("span",{...d,className:o(e.className,lp,C(lp,e)),children:[s,!s&&i&&(0,pi.jsx)(v,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&(0,pi.jsx)("span",{className:"k-input-value-text",children:t})]})};pa.states=gI;pa.options=xI;pa.className=lp;var Zf=require("react/jsx-runtime"),rp="k-input-inner",bI=[],vI={},Xf={value:"",placeholder:""},mi=e=>{let{value:t=Xf.value,placeholder:a=Xf.placeholder,rows:r,...s}=e;return(0,Zf.jsx)("textarea",{...s,className:o(e.className,rp,C(rp,e)),placeholder:a,rows:r,defaultValue:t})};mi.states=bI;mi.options=vI;mi.className=rp;var ui=require("react/jsx-runtime"),Jf="k-input-loading-icon",yI=[l.disabled,l.loading],_=e=>{let{disabled:t,loading:a}=e;return t||!a?(0,ui.jsx)(ui.Fragment,{}):(0,ui.jsx)("span",{className:o(e.className,Jf,"k-icon k-i-loading")})};_.states=yI;_.className=Jf;var ki=require("react/jsx-runtime"),jf="k-input-validation-icon",wI=[l.valid,l.invalid,l.disabled,l.loading],AI={},U=e=>{let{valid:t,invalid:a,disabled:r,loading:s}=e,i=a?"warning-circle":"check-circle";return r||s||!!!(t||a)?(0,ki.jsx)(ki.Fragment,{}):(0,ki.jsx)(v,{className:o(jf),icon:i})};U.states=wI;U.options=AI;U.className=jf;var hi=require("react/jsx-runtime"),TI="k-input-prefix",NI={direction:"horizontal"},ae=e=>{let{direction:t=NI.direction,...a}=e;return e.children?(0,hi.jsx)("span",{...a,className:o(TI,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,hi.jsx)(hi.Fragment,{})};var fi=require("react/jsx-runtime"),CI="k-input-suffix",SI={direction:"horizontal"},le=e=>{let{direction:t=SI.direction,...a}=e;return e.children?(0,fi.jsx)("span",{...a,className:o(CI,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,fi.jsx)(fi.Fragment,{})};var II=require("react/jsx-runtime");var BI=require("react/jsx-runtime");var qf=require("react/jsx-runtime"),Uf="k-input-separator",MI={direction:"vertical"},Ne=e=>{let{direction:t=MI.direction,...a}=e;return(0,qf.jsx)("span",{...a,className:o(Uf,e.className,{[`${Uf}-${t}`]:t})})};var sp=require("react/jsx-runtime"),_f="k-animation-container",LI=[],EI={},$f={positionMode:"absolute"},Ia=e=>{let{positionMode:t=$f.positionMode,animationStyle:a,offset:r,...s}=e;return(0,sp.jsx)("div",{...s,style:{...r,...e.style},className:o(e.className,_f,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,sp.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};Ia.states=LI;Ia.options=EI;Ia.className=_f;Ia.defaultOptions=$f;var ip=require("react/jsx-runtime"),eg="k-popup",YI=[],PI={},tg={positionMode:"absolute"},H=e=>{let{offset:t,positionMode:a=tg.positionMode,animationStyle:r,...s}=e;return(0,ip.jsx)(Ia,{positionMode:a,offset:t,animationStyle:r,children:(0,ip.jsx)("div",{...s,className:o(e.className,eg),children:e.children})})};H.states=YI;H.options=PI;H.className=eg;H.defaultOptions=tg;var og=require("react/jsx-runtime"),GI="k-no-data",gi=e=>(0,og.jsx)("span",{className:o(GI,e.className),children:e.children});var Fo=require("react/jsx-runtime"),np="k-list",KI=[],DI={size:[n.small,n.medium,n.large]},ag={size:n.medium},J=e=>{let{size:t=ag.size,virtualization:a,children:r,optionLabel:s,customValue:i,screenReaders:d,...p}=e,m,k,y,A,g=[];return r?r.map((T,N)=>{T.type===Be?(T.props.root===!0?(m=T.props.label,T.props.children.map((S,B)=>{g.push((0,Fo.jsx)(K,{...S.props},`optChild-${B}-${new Date().getTime()}`))})):T.props.children.forEach((S,B)=>{let L="";B===0&&(L=T.props.label),g.push((0,Fo.jsx)(K,{className:B===0?"k-first":"",...S.props,groupLabel:L},`groupLabel-${B}-${new Date().getTime()}`))}),k=(0,Fo.jsx)(Be,{label:m,virtualization:a,children:g})):T.type===K&&(g.push((0,Fo.jsx)(K,{...T.props},`${T.type}-${N}`)),y=(0,Fo.jsx)(wr,{virtualization:a,children:g}),d&&(A=(0,Fo.jsxs)(gi,{className:"k-sr-only",children:[g.length," items found."]})))}):A=(0,Fo.jsx)(gi,{children:"No data found."}),(0,Fo.jsxs)("div",{...p,className:o(e.className,np,C(np,{size:t}),{"k-virtual-list":a}),children:[s,i,k,y,A]})};J.states=KI;J.options=DI;J.className=np;J.defaultOptions=ag;var zo=require("react/jsx-runtime"),dp="k-list",FI=[],zI={size:[n.small,n.medium,n.large]},lg={size:n.medium},Tl=e=>{let{size:t=lg.size,virtualization:a,children:r,...s}=e,i,d,p,m=[];return r?r.map((k,y)=>{k.type===Be?(k.props.root===!0?(i=k.props.label,k.props.children.map((A,g)=>{m.push((0,zo.jsx)(K,{...A.props},`optChild-${g}-${new Date().getTime()}`))})):(m.push((0,zo.jsx)(rg,{...k.props,children:k.props.label},`listChild-${y}`)),k.props.children.map((A,g)=>{m.push((0,zo.jsx)(K,{...A.props},`fwOptChild-${g}-${new Date().getTime()}`))})),d=(0,zo.jsx)(Be,{label:i,virtualization:a,children:m})):k.type===K&&(m.push((0,zo.jsx)(K,{...k.props},`${k.type}-${y}`)),p=(0,zo.jsx)(wr,{virtualization:a,children:m}))}):p=(0,zo.jsx)(gi,{children:"No data found."}),(0,zo.jsxs)("div",{...s,className:o(e.className,dp,C(dp,{size:t}),{"k-virtual-list":a}),children:[d,p]})};Tl.states=FI;Tl.options=zI;Tl.className=dp;Tl.defaultOptions=lg;var pp=require("react/jsx-runtime"),id="k-checkbox",RI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],HI={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full]},cp={size:n.medium,rounded:f.medium},ct=e=>{let{id:t,checked:a,indeterminate:r,hover:s,focus:i,disabled:d,invalid:p,valid:m,required:k,size:y=cp.size,rounded:A=cp.rounded,...g}=e;return(0,pp.jsx)("span",{className:"k-checkbox-wrap",children:(0,pp.jsx)("input",{...g,id:t,type:"checkbox",defaultChecked:a,required:k,className:o(e.className,id,C(id,{size:y,rounded:A}),b(id,{hover:s,focus:i,disabled:d,invalid:p,valid:m,indeterminate:r,checked:a}))})})};ct.states=RI;ct.options=HI;ct.className=id;ct.defaultOptions=cp;var ng=require("react/jsx-runtime"),sg="k-checkbox-list",WI=[],OI={},ig={layout:"vertical"},Ar=e=>{let{layout:t=ig.layout,...a}=e;return(0,ng.jsx)("ul",{...a,className:o(e.className,sg,{[`k-list-${t}`]:t}),children:e.children})};Ar.states=WI;Ar.options=OI;Ar.className=sg;Ar.defaultOptions=ig;var cg=require("react/jsx-runtime"),dg="k-checkbox-list-item",QI=[],VI={},XI={},Tr=e=>{let{...t}=e;return(0,cg.jsx)("li",{...t,className:o(e.className,dg),children:e.children})};Tr.states=QI;Tr.options=VI;Tr.className=dg;Tr.defaultOptions=XI;var up=require("react/jsx-runtime");var kp=require("react/jsx-runtime");var hp=require("react/jsx-runtime");var fp=require("react/jsx-runtime");var ZI=require("react/jsx-runtime");var JI=require("react/jsx-runtime");var Nl=require("react/jsx-runtime"),gp="k-list-item",jI=[l.hover,l.focus,l.selected,l.disabled],UI={},qI={},K=e=>{let{text:t,groupLabel:a,group:r,showIcon:s,iconName:i,showCheckbox:d,checked:p,hover:m,focus:k,selected:y,disabled:A,...g}=e,T=t||e.children;return(0,Nl.jsxs)("li",{...g,className:o(e.className,r?"k-list-group-item":gp,b(gp,{hover:m,focus:k,disabled:A,selected:y})),children:[d&&(0,Nl.jsx)(ct,{checked:p}),s&&(0,Nl.jsx)(v,{icon:i}),(0,Nl.jsx)("span",{className:"k-list-item-text",children:T}),a&&a!==""&&(0,Nl.jsx)("div",{className:"k-list-item-group-label",children:a})]})};K.states=jI;K.options=UI;K.className=gp;K.defaultOptions=qI;var Nr=require("react/jsx-runtime"),_I="k-list-content",wr=e=>{let{virtualization:t,...a}=e;return(0,Nr.jsxs)("div",{...a,className:o(_I,e.className),children:[(0,Nr.jsx)("ul",{className:o("k-list-ul"),children:e.children}),t&&(0,Nr.jsx)("div",{className:"k-height-container",children:(0,Nr.jsx)("div",{})})]})};var xp=require("react/jsx-runtime"),$I="k-list-group-sticky-header",pg=e=>(0,xp.jsx)("div",{className:o($I,e.className),children:(0,xp.jsx)("div",{className:"k-list-header-text",children:e.children})});var Cl=require("react/jsx-runtime"),Be=e=>{let{virtualization:t,label:a}=e;return(0,Cl.jsxs)(Cl.Fragment,{children:[a&&(0,Cl.jsx)(pg,{children:a}),e.children&&(0,Cl.jsx)(wr,{virtualization:t,children:e.children})]})};var bp=require("react/jsx-runtime"),eB="k-list-group-item",rg=e=>(0,bp.jsx)("li",{className:o(eB,e.className),children:(0,bp.jsx)("span",{className:"k-list-item-text",children:e.children})});var mg=require("react/jsx-runtime"),vp="k-list-optionlabel",tB=[l.hover,l.focus,l.selected,l.disabled],oB={},aB={},nd=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return(0,mg.jsx)("div",{...d,className:o(vp,b(vp,{hover:a,focus:r,selected:s,disabled:i})),children:t})};nd.states=tB;nd.options=oB;nd.className=vp;nd.defaultOptions=aB;var ug=require("react/jsx-runtime"),yp="k-list-custom-value",lB=[l.hover,l.focus,l.selected,l.disabled],rB={},sB={},ft=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return(0,ug.jsx)("div",{...d,className:o(yp,b(yp,{hover:a,focus:r,selected:s,disabled:i})),children:t})};ft.states=lB;ft.options=rB;ft.className=yp;ft.defaultOptions=sB;var iB=require("react/jsx-runtime");var nB=require("react/jsx-runtime");var kg=require("react/jsx-runtime");var hg=require("react/jsx-runtime");var dB=require("react/jsx-runtime");var fg=require("react/jsx-runtime");var gg=require("react/jsx-runtime");var wp=require("react/jsx-runtime"),xi="k-avatar";var cB=[l.hover,l.focus,l.active,l.selected,l.disabled],pB={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Sl={type:"text",size:n.medium,rounded:f.full,fillMode:x.solid,themeColor:u.primary,border:!1},Ro=e=>{let{size:t=Sl.size,rounded:a=Sl.rounded,fillMode:r=Sl.fillMode,themeColor:s=Sl.themeColor,type:i=Sl.type,border:d=Sl.border,...p}=e;return(0,wp.jsx)("div",{...p,className:o(e.className,xi,C(xi,{size:t,rounded:a,fillMode:r,themeColor:s}),{[`${xi}-bordered`]:d}),children:(0,wp.jsx)("span",{className:`${xi}-${i}`,children:e.children})})};Ro.states=cB;Ro.options=pB;Ro.className=xi;Ro.defaultOptions=Sl;var mB=require("react/jsx-runtime");var uB=require("react/jsx-runtime");var kB=require("react/jsx-runtime");var bg=require("react/jsx-runtime"),bi="k-badge",hB=[],fB={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.outline],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},vi={size:n.medium,fillMode:x.solid,themeColor:u.primary,cutoutBorder:!1},Cr=e=>{let{size:t=vi.size,fillMode:a=vi.fillMode,themeColor:r=vi.themeColor,cutoutBorder:s=vi.cutoutBorder,rounded:i,position:d,align:p,...m}=e;return(0,bg.jsx)("span",{...m,className:o(e.className,bi,C(bi,{size:t,rounded:i,fillMode:a,themeColor:r}),{[`${bi}-${d}`]:d,[`k-${p}`]:p,[`${bi}-border-cutout`]:s}),children:e.children})};Cr.states=hB;Cr.options=fB;Cr.className=bi;Cr.defaultOptions=vi;var gB=require("react/jsx-runtime");var xB=require("react/jsx-runtime");var bB=require("react/jsx-runtime");var ma=require("react/jsx-runtime"),dd="k-chip",vB=[l.hover,l.focus,l.active,l.selected,l.disabled],yB={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.outline],themeColor:[u.base,u.success,u.warning,u.error,u.info]},Sr={size:n.medium,rounded:f.medium,fillMode:x.solid,themeColor:u.base,avatarImage:"/packages/html/assets/avatar.jpg"},bo=e=>{let{size:t=Sr.size,rounded:a=Sr.rounded,fillMode:r=Sr.fillMode,themeColor:s=Sr.themeColor,text:i,icon:d,actions:p,showAvatar:m,avatarImage:k=Sr.avatarImage,hover:y,focus:A,active:g,selected:T,disabled:N,...S}=e;return(0,ma.jsxs)("div",{...S,className:o(e.className,dd,C(dd,{size:t,rounded:a,fillMode:r,themeColor:s}),b(dd,{hover:y,focus:A,active:g,disabled:N,selected:T})),children:[d&&(0,ma.jsx)(v,{className:"k-chip-icon",icon:d,size:"small"}),m&&(0,ma.jsx)(Ro,{className:"k-chip-avatar",type:"image",children:(0,ma.jsx)("img",{src:k})}),(0,ma.jsx)("span",{className:"k-chip-content",children:e.children?e.children:i&&(0,ma.jsx)("span",{className:"k-chip-label",children:i})}),p&&(0,ma.jsx)("span",{className:"k-chip-actions",children:p})]})};bo.states=vB;bo.options=yB;bo.className=dd;bo.defaultOptions=Sr;var yg=require("react/jsx-runtime"),Ap="k-chip-list",wB=[],AB={size:[n.small,n.medium,n.large]},vg={size:n.medium},vo=e=>{let{size:t=vg.size,...a}=e;return(0,yg.jsx)("div",{...a,className:o(e.className,Ap,C(Ap,{size:t})),children:e.children})};vo.states=wB;vo.options=AB;vo.className=Ap;vo.defaultOptions=vg;var TB=require("react/jsx-runtime");var NB=require("react/jsx-runtime");var CB=require("react/jsx-runtime");var SB=require("react/jsx-runtime");var Tp=require("react/jsx-runtime");var yi=require("react/jsx-runtime"),wg="k-color-preview",IB=[],BB={},Ba=e=>{let{color:t,iconName:a,...r}=e;return(0,yi.jsxs)("span",{...r,className:o(e.className,wg,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&(0,yi.jsx)(v,{icon:a,className:"k-color-preview-icon"}),(0,yi.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ba.states=IB;Ba.options=BB;Ba.className=wg;var lo=require("react/jsx-runtime"),Np="k-loader",MB={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},LB=[],EB={size:[n.small,n.medium,n.large],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},pd={size:n.medium,themeColor:u.primary,animation:"pulsing"},Ma=e=>{let{size:t=pd.size,themeColor:a=pd.themeColor,animation:r=pd.animation,...s}=e,i=(0,lo.jsx)("span",{className:"k-loader-segment"});return(0,lo.jsx)("div",{...s,className:o(e.className,Np,{[`k-loader-${MB[r]||r}`]:r},C(Np,{size:t,themeColor:a})),children:(0,lo.jsxs)("div",{className:"k-loader-canvas",children:[r==="pulsing"&&(0,lo.jsxs)(lo.Fragment,{children:[i,i]}),r==="infinite-spinner"&&(0,lo.jsxs)(lo.Fragment,{children:[i,i,i]}),r==="converging-spinner"&&(0,lo.jsxs)(lo.Fragment,{children:[i,i,i,i]})]})})};Ma.states=LB;Ma.options=EB;Ma.className=Np;Ma.defaultOptions=pd;var Ag=Ma;var Ml=require("react/jsx-runtime"),Cp="k-loader-container",YB=[],PB={size:[n.small,n.medium,n.large],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Bl={size:n.medium,themeColor:u.primary,loaderType:"pulsing",position:"top",overlay:"dark",panel:!1},wi=e=>{let{size:t=Bl.size,themeColor:a=Bl.themeColor,loaderType:r=Bl.loaderType,position:s=Bl.position,overlay:i=Bl.overlay,panel:d=Bl.panel,...p}=e;return(0,Ml.jsxs)("div",{...p,className:o(e.className,Cp,C(Cp,{size:t}),{[`k-loader-${s}`]:s}),children:[(0,Ml.jsx)("div",{className:`k-loader-container-overlay k-overlay-${i}`}),(0,Ml.jsxs)("div",{className:o("k-loader-container-inner",{"k-loader-container-panel":d}),children:[(0,Ml.jsx)(Ag,{size:t,themeColor:a,animation:r}),(0,Ml.jsx)("div",{className:`k-loader-container-label !k-text-${a}`,children:"Loading..."})]})]})};wi.states=YB;wi.options=PB;wi.className=Cp;wi.defaultOptions=Bl;var GB=require("react/jsx-runtime");var KB=require("react/jsx-runtime");var DB=require("react/jsx-runtime");var FB=require("react/jsx-runtime");var Ng=require("react/jsx-runtime"),Tg="k-skeleton",zB=[],RB={},Sp={shape:"text",animation:"pulse"},La=e=>{let{shape:t=Sp.shape,animation:a=Sp.animation,...r}=e;return(0,Ng.jsx)("span",{...r,className:o(e.className,Tg,{[`k-skeleton-${t}`]:t,[`k-skeleton-${a}`]:a}),style:e.style})};La.states=zB;La.options=RB;La.className=Tg;La.defaultOptions=Sp;var HB=require("react/jsx-runtime");var Sg=require("react/jsx-runtime"),Cg=e=>(0,Sg.jsx)(La,{shape:"rect",...e});var WB=require("react/jsx-runtime");var Ho=require("react/jsx-runtime"),Ip="k-form-field",OB=[l.disabled],gt=e=>{let{label:t,orientation:a,optional:r,editor:s,hint:i,error:d,info:p,disabled:m,dir:k,colSpan:y}=e;return(0,Ho.jsxs)("div",{className:o(Ip,e.className,b(Ip,{disabled:m}),{[`k-col-span-${y}`]:y}),dir:k,children:[t&&(0,Ho.jsxs)("label",{className:o("k-label","k-form-label"),children:[t,r&&(0,Ho.jsx)("span",{className:"k-label-optional",children:"(Optional)"}),p&&(0,Ho.jsx)("span",{className:"k-field-info",children:"(field info)"})]}),a==="horizontal"&&!t&&(0,Ho.jsx)("span",{className:"k-label k-form-label k-label-empty"}),(0,Ho.jsxs)("div",{className:"k-form-field-wrap",children:[s,i&&(0,Ho.jsx)("div",{className:"k-form-hint",children:i}),d&&(0,Ho.jsx)("div",{className:"k-form-error",children:d})]})]})};gt.states=OB;gt.className=Ip;var Ea=require("react/jsx-runtime"),Ig="k-form-fieldset",ua=e=>{let{legend:t,layout:a,cols:r,gapX:s,gapY:i}=e;return(0,Ea.jsxs)("fieldset",{className:o(Ig),children:[t&&(0,Ea.jsx)("legend",{className:"k-form-legend",children:t}),a==="grid"?(0,Ea.jsx)("div",{className:o("k-form-layout","k-d-grid",{[`k-grid-cols-${r}`]:r,[`k-gap-x-${s}`]:s,[`k-gap-y-${i}`]:i}),children:e.children}):(0,Ea.jsx)(Ea.Fragment,{children:e.children})]})};ua.className=Ig;var Wo=require("react/jsx-runtime"),kd=require("react"),md="k-form",QB=[],VB={size:[n.small,n.medium,n.large]},ud={size:n.medium,layout:"basic",tag:"form"},Ya=e=>{let{size:t=ud.size,orientation:a,layout:r=ud.layout,formButtons:s,cols:i,gapX:d,gapY:p,tag:m=ud.tag,children:k}=e,y=({tag:g,className:T,children:N})=>g==="form"?(0,Wo.jsx)("form",{className:T,children:N}):(0,Wo.jsx)("div",{className:T,children:N}),A=[];return k&&(Array.isArray(k)?k.map((g,T)=>{g.type===gt?A.push((0,kd.createElement)(gt,{...g.props,orientation:a,key:T})):A.push(g)}):k.type===gt?A.push((0,kd.createElement)(gt,{...k.props,orientation:a,key:`${new Date().getTime()}`})):k.type===ua&&A.push((0,kd.createElement)(ua,{...k.props,key:`${new Date().getTime()}`}))),(0,Wo.jsxs)(y,{tag:m,className:o(e.className,md,C(md,{size:t}),{[`${md}-${a}`]:a}),children:[r==="grid"?(0,Wo.jsx)("div",{className:o("k-form-layout","k-d-grid",{[`k-grid-cols-${i}`]:i,[`k-gap-x-${d}`]:d,[`k-gap-y-${p}`]:p}),children:A}):(0,Wo.jsx)(Wo.Fragment,{children:A}),s&&(0,Wo.jsx)("div",{className:"k-form-buttons",children:s})]})};Ya.states=QB;Ya.options=VB;Ya.className=md;Ya.defaultOptions=ud;var yo=require("react/jsx-runtime"),hd="k-button",XB=[l.hover,l.focus,l.active,l.selected,l.disabled],ZB={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Ll={size:n.medium,rounded:f.medium,fillMode:x.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},c=e=>{let{size:t=Ll.size,rounded:a=Ll.rounded,fillMode:r=Ll.fillMode,themeColor:s=Ll.themeColor,showArrow:i=Ll.showArrow,arrowIconName:d=Ll.arrowIconName,hover:p,focus:m,active:k,selected:y,disabled:A,icon:g,text:T,iconClassName:N,...S}=e,B=g!==void 0,L=e.children!==void 0;return(0,yo.jsxs)("button",{...S,className:o(e.className,hd,C(hd,{size:t,rounded:a,fillMode:r,themeColor:s}),b(hd,{hover:p,focus:m,active:k,disabled:A,selected:y}),{"k-icon-button":!T&&!L&&B}),children:[g&&(0,yo.jsx)(v,{className:o(N,"k-button-icon"),icon:g}),T?(0,yo.jsxs)(yo.Fragment,{children:[T&&(0,yo.jsx)("span",{className:"k-button-text",children:T}),e.children]}):e.children&&(0,yo.jsx)("span",{className:"k-button-text",children:e.children}),i&&(0,yo.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,yo.jsx)(v,{icon:d})})]})};c.states=XB;c.options=ZB;c.className=hd;c.defaultOptions=Ll;var Bg=require("react/jsx-runtime"),Ct=e=>(0,Bg.jsx)(c,{icon:"folder",...e,children:void 0});var Mg=require("react/jsx-runtime"),wo=e=>(0,Mg.jsx)(c,{icon:"folder",children:"Button",...e});var JB=require("react/jsx-runtime");var Eg=require("react/jsx-runtime"),jB="k-actionsheet-footer",Lg={alignment:"stretched",orientation:"horizontal"},Ao=e=>{let{alignment:t=Lg.alignment,orientation:a=Lg.orientation,template:r,as:s=r?"div":Z,...i}=e;return(0,Eg.jsx)(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,jB),children:e.children})};var Pa=require("react/jsx-runtime"),Yg="k-searchbox",UB=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],qB={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Bp={showIcon:!0,icon:"search",size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode},st=e=>{let{value:t,placeholder:a,size:r,rounded:s,fillMode:i,hover:d,focus:p,valid:m,invalid:k,required:y,loading:A,disabled:g,showIcon:T=Bp.showIcon,icon:N=Bp.icon,...S}=e;return(0,Pa.jsxs)(M,{...S,size:r,rounded:s,fillMode:i,hover:d,focus:p,valid:m,invalid:k,required:y,loading:A,disabled:g,className:o(e.className,Yg),children:[T&&(0,Pa.jsx)(v,{className:"k-input-icon",icon:N}),(0,Pa.jsx)(ne,{placeholder:a,value:t}),(0,Pa.jsx)(_,{...e}),(0,Pa.jsx)(U,{...e}),(0,Pa.jsx)(re,{...e})]})};st.states=UB;st.options=qB;st.className=Yg;st.defaultOptions=Bp;var _B=require("react/jsx-runtime");var xt=require("react/jsx-runtime"),Pg="k-textbox",$B=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],eM={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},El={showClearButton:!0,showValidationIcon:!0,size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode,separators:!0},q=e=>{let{size:t=El.size,rounded:a=El.rounded,fillMode:r=El.fillMode,separators:s=El.separators,showClearButton:i=El.showClearButton,showValidationIcon:d=El.showValidationIcon,prefix:p,suffix:m,type:k,value:y,placeholder:A,hover:g,focus:T,valid:N,invalid:S,required:B,loading:L,disabled:P,readonly:R,...X}=e;return(0,xt.jsxs)(M,{...X,size:t,rounded:a,fillMode:r,hover:g,focus:T,valid:N,invalid:S,required:B,loading:L,disabled:P,readonly:R,className:o(e.className,Pg),children:[p&&(0,xt.jsxs)(xt.Fragment,{children:[(0,xt.jsx)(ae,{children:p}),s&&(0,xt.jsx)(Ne,{})]}),(0,xt.jsx)(ne,{placeholder:A,value:y,type:k}),d&&(0,xt.jsx)(U,{valid:N,invalid:S,loading:L,disabled:P}),(0,xt.jsx)(_,{loading:L,disabled:P}),i&&(0,xt.jsx)(re,{loading:L,disabled:P,readonly:R,value:y}),m&&(0,xt.jsxs)(xt.Fragment,{children:[s&&(0,xt.jsx)(Ne,{}),(0,xt.jsx)(le,{children:m})]})]})};q.states=$B;q.options=eM;q.className=Pg;q.defaultOptions=El;var tM=require("react/jsx-runtime");var Kg=require("react/jsx-runtime");var Fg=require("react/jsx-runtime");var Qt=require("react/jsx-runtime"),zg="k-actionsheet-titlebar",oM={},se=e=>{let{title:t,subtitle:a,actionsStart:r,actionsEnd:s,filter:i,input:d,inputValue:p,inputPlaceholder:m,adaptive:k,children:y,...A}=e;return(0,Qt.jsxs)("div",{...A,className:o(e.className,zg),children:[(0,Qt.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[r&&(0,Qt.jsx)("div",{className:"k-actionsheet-actions",children:r}),!y&&(0,Qt.jsxs)("div",{className:"k-actionsheet-title",children:[t&&(0,Qt.jsx)("div",{className:"k-text-center",children:t}),a&&(0,Qt.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:a})]}),y&&(0,Qt.jsx)("div",{className:"k-actionsheet-title",children:y}),s&&(0,Qt.jsx)("div",{className:"k-actionsheet-actions",children:s})]}),(d||i)&&(0,Qt.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?(0,Qt.jsx)(q,{value:p,placeholder:m,size:k?"large":"medium"}):(0,Qt.jsx)(st,{placeholder:"Filter",size:k?"large":"medium"})})]})};se.className=zg;se.defaultOptions=oM;var Ir=require("react/jsx-runtime"),Mp="k-actionsheet-view",aM=[],lM={},rM={},Br=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...d}=e,p=(s==null?void 0:s.type)===se&&(0,Ir.jsx)(se,{adaptive:t,...s==null?void 0:s.props}),m=(i==null?void 0:i.type)===Ao&&(0,Ir.jsx)(Ao,{...i==null?void 0:i.props});return(0,Ir.jsxs)("div",{...d,className:o(e.className,Mp,{[`${Mp}-animated`]:a}),children:[p,(0,Ir.jsx)("div",{className:"k-actionsheet-content",children:r}),m]})};Br.states=aM;Br.options=lM;Br.className=Mp;Br.defaultOptions=rM;var Yl=require("react/jsx-runtime"),Rg="k-actionsheet",sM=[],iM={},Ai={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},de=e=>{let{side:t=Ai.side,fullscreen:a=Ai.fullscreen,adaptive:r=Ai.adaptive,overlay:s=Ai.overlay,template:i,children:d,header:p,footer:m,...k}=e;return(0,Yl.jsxs)("div",{className:"k-actionsheet-container",children:[s&&(0,Yl.jsx)("div",{className:"k-overlay"}),(0,Yl.jsx)(Ia,{animationStyle:{[`${a===!0?"top":t}`]:0,[`${a===!0?"width":null}`]:"100%",[`${a===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:(0,Yl.jsx)("div",{...k,className:o(e.className,Rg,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||(0,Yl.jsx)(Br,{header:p,footer:m,adaptive:r,...e,children:d})})})]})};de.states=sM;de.options=iM;de.className=Rg;de.defaultOptions=Ai;var nM=require("react/jsx-runtime");var ro=require("react/jsx-runtime"),Lp="k-actionsheet-item",dM=[l.hover,l.focus,l.selected,l.disabled],Ep=e=>{let{iconName:t,text:a,description:r,hover:s,focus:i,selected:d,disabled:p,...m}=e;return(0,ro.jsxs)("span",{...m,className:o(e.className,Lp,b(Lp,{hover:s,focus:i,selected:d,disabled:p})),children:[!e.children&&(0,ro.jsx)(ro.Fragment,{children:(0,ro.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,ro.jsx)("span",{className:"k-icon-wrap",children:(0,ro.jsx)(v,{className:"k-actionsheet-item-icon",icon:t})}),(0,ro.jsxs)("span",{className:"k-actionsheet-item-text",children:[a&&(0,ro.jsx)("span",{className:"k-actionsheet-item-title",children:a}),r&&(0,ro.jsx)("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};Ep.states=dM;Ep.className=Lp;var Hg=require("react/jsx-runtime");var cM=require("react/jsx-runtime");var pM=require("react/jsx-runtime");var mM=require("react/jsx-runtime");var Ke=require("react/jsx-runtime"),Og="k-dropdownlist",uM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],kM={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Mr={showValue:!0,arrowIconName:"caret-alt-down",size:n.medium,rounded:f.medium,fillMode:x.solid},ce=e=>{let{size:t=Mr.size,rounded:a=Mr.rounded,fillMode:r=Mr.fillMode,arrowIconName:s=Mr.arrowIconName,showValue:i=Mr.showValue,valueIconName:d,prefix:p,suffix:m,value:k,placeholder:y,hover:A,focus:g,valid:T,invalid:N,required:S,loading:B,disabled:L,readonly:P,popup:R,opened:X,adaptive:Te,adaptiveSettings:Je,adaptiveTitle:Nt,adaptiveSubtitle:xo,adaptiveFilter:yl,...vr}=e;return(0,Ke.jsxs)(Ke.Fragment,{children:[(0,Ke.jsxs)(Ot,{...vr,size:t,rounded:a,fillMode:r,hover:A,focus:g,valid:T,invalid:N,required:S,loading:B,disabled:L,readonly:P,className:o(e.className,Og,{"k-icon-picker":!i&&d}),children:[(0,Ke.jsx)(ae,{children:p}),(0,Ke.jsx)(pa,{placeholder:y,value:k,showValue:i,valueIconName:d}),(0,Ke.jsx)(U,{valid:T,invalid:N,loading:B,disabled:L}),(0,Ke.jsx)(_,{loading:B,disabled:L}),(0,Ke.jsx)(le,{children:m}),(0,Ke.jsx)(c,{className:"k-input-button",icon:s,rounded:null,size:e.size,fillMode:e.fillMode})]}),X&&R&&(0,Ke.jsx)(H,{className:"k-list-container k-dropdownlist-popup",children:R}),Te&&(0,Ke.jsx)(de,{adaptive:!0,...Je,header:(0,Ke.jsx)(se,{actionsEnd:(0,Ke.jsx)(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:yl,inputValue:k,inputPlaceholder:y,title:Nt,subtitle:xo}),children:(0,Ke.jsx)("div",{className:"k-list-container",children:(0,Ke.jsxs)(J,{size:"large",children:[(0,Ke.jsx)(K,{text:"List item"}),(0,Ke.jsx)(K,{text:"List item"}),(0,Ke.jsx)(K,{text:"List item"})]})})})]})};ce.states=uM;ce.options=kM;ce.className=Og;ce.defaultOptions=Mr;var hM=require("react/jsx-runtime");var Qg=require("react/jsx-runtime");var Yp=require("react/jsx-runtime");var fM=require("react/jsx-runtime");var Vg=require("react/jsx-runtime");var Xg=require("react/jsx-runtime");var Pp=require("react/jsx-runtime");var Gp=require("react/jsx-runtime");var Kp=require("react/jsx-runtime"),fd="k-radio",gM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked],xM={size:[n.small,n.medium,n.large]},Zg={size:n.medium},ka=e=>{let{id:t,checked:a,hover:r,focus:s,disabled:i,invalid:d,valid:p,required:m,size:k=Zg.size,...y}=e;return(0,Kp.jsx)("span",{className:"k-radio-wrap",children:(0,Kp.jsx)("input",{...y,id:t,type:"radio",checked:a,required:m,className:o(e.className,fd,C(fd,{size:k}),b(fd,{hover:r,focus:s,disabled:i,invalid:d,valid:p,checked:a}))})})};ka.states=gM;ka.options=xM;ka.className=fd;ka.defaultOptions=Zg;var Ug=require("react/jsx-runtime"),Jg="k-radio-list",bM=[],vM={},jg={layout:"vertical"},Lr=e=>{let{layout:t=jg.layout,...a}=e;return(0,Ug.jsx)("ul",{...a,className:o(e.className,Jg,{[`k-list-${t}`]:t}),children:e.children})};Lr.states=bM;Lr.options=vM;Lr.className=Jg;Lr.defaultOptions=jg;var _g=require("react/jsx-runtime"),qg="k-radio-list-item",yM=[],wM={},AM={},Er=e=>{let{...t}=e;return(0,_g.jsx)("li",{...t,className:o(e.className,qg),children:e.children})};Er.states=yM;Er.options=wM;Er.className=qg;Er.defaultOptions=AM;var TM=require("react/jsx-runtime");var Fp=require("react/jsx-runtime");var zp=require("react/jsx-runtime");var Rp=require("react/jsx-runtime");var Hp=require("react/jsx-runtime");var Wp=require("react/jsx-runtime");var Ce=require("react/jsx-runtime"),gd=({size:e,...t})=>(0,Ce.jsx)(Ya,{formButtons:(0,Ce.jsxs)(Ce.Fragment,{children:[(0,Ce.jsx)(c,{className:"k-form-submit",themeColor:"primary",size:e,children:"Submit"}),(0,Ce.jsx)(c,{className:"k-form-clear",size:e,children:"Clear"})]}),children:(0,Ce.jsxs)(ua,{legend:"Form Legend",children:[(0,Ce.jsx)(gt,{label:"Label",editor:(0,Ce.jsx)(q,{size:e})}),(0,Ce.jsx)(gt,{label:"Label",hint:"Hint text",editor:(0,Ce.jsx)(ce,{value:"Dropdown List",size:e})}),(0,Ce.jsx)(gt,{label:"City",editor:(0,Ce.jsxs)("ul",{className:"k-radio-list k-list-horizontal",children:[(0,Ce.jsxs)("li",{className:"k-radio-list-item",children:[(0,Ce.jsx)(ka,{checked:!0,size:e}),(0,Ce.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,Ce.jsxs)("li",{className:"k-radio-list-item",children:[(0,Ce.jsx)(ka,{size:e}),(0,Ce.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,Ce.jsxs)("li",{className:"k-radio-list-item",children:[(0,Ce.jsx)(ka,{size:e}),(0,Ce.jsx)("label",{className:"k-radio-label",children:"Label"})]})]})})]}),size:e,...t});var Op=require("react/jsx-runtime");var ex=require("react/jsx-runtime"),Ti="k-button-group",CM=[l.disabled],SM={fillMode:[x.solid,x.flat,x.outline,x.clear,x.link]},$g={fillMode:x.solid},G=e=>{let{fillMode:t=$g.fillMode,disabled:a,stretched:r,...s}=e;return(0,ex.jsx)("div",{...s,className:o(e.className,Ti,C(Ti,{fillMode:t}),b(Ti,{disabled:a}),{[`${Ti}-stretched`]:r}),children:e.children})};G.states=CM;G.options=SM;G.className=Ti;G.defaultOptions=$g;var Qp=require("react/jsx-runtime");var Vp=require("react/jsx-runtime");var Xp=require("react/jsx-runtime");var Zp=require("react/jsx-runtime");var Kl=require("react/jsx-runtime"),tx="k-menu-button",IM=[l.hover,l.focus,l.active,l.selected,l.disabled],BM={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Gl={size:n.medium,rounded:f.medium,fillMode:x.solid,themeColor:u.base,showArrow:!0,arrowIconName:"caret-alt-down"},ee=e=>{let{size:t=Gl.size,rounded:a=Gl.rounded,fillMode:r=Gl.fillMode,themeColor:s=Gl.themeColor,hover:i,focus:d,active:p,selected:m,disabled:k,icon:y,text:A,showArrow:g=Gl.showArrow,arrowIconName:T=Gl.arrowIconName,popup:N,opened:S,...B}=e;return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(c,{...B,className:o(e.className,tx),text:A,size:t,rounded:a,fillMode:r,themeColor:s,hover:i,focus:d,active:p,selected:m,disabled:k,icon:y,showArrow:g,arrowIconName:T}),S&&N&&(0,Kl.jsx)(H,{className:"k-menu-popup",children:N})]})};ee.states=IM;ee.options=BM;ee.className=tx;ee.defaultOptions=Gl;var MM=require("react/jsx-runtime");var LM=require("react/jsx-runtime");var EM=require("react/jsx-runtime");var so=require("react/jsx-runtime"),jp="k-menu-item",YM=[l.hover,l.focus,l.active,l.selected,l.disabled],PM={},ox={iconPosition:"before"},pt=e=>{let{hover:t,focus:a,active:r,selected:s,disabled:i,icon:d,text:p,first:m,last:k,showArrow:y,arrowIconName:A,iconPosition:g=ox.iconPosition,dir:T,children:N,...S}=e,B=(0,so.jsx)(so.Fragment,{});N&&N.forEach(P=>{if(P.type==="MenuItemContent"){B.props.children.push(P);return}});let L=A;return L||(L=T==="rtl"?"caret-alt-left":"caret-alt-right"),(0,so.jsxs)("li",{...S,className:o(e.className,jp,"k-item",b(jp,{focus:a,disabled:i,hover:t,active:r,selected:s}),{"k-first":m,"k-last":k}),children:[(0,so.jsxs)("span",{className:o("k-link k-menu-link"),children:[d&&g==="before"&&(0,so.jsx)(v,{className:"k-menu-link-icon",icon:d}),(0,so.jsx)("span",{className:"k-menu-link-text",children:p}),d&&g==="after"&&(0,so.jsx)(v,{className:"k-menu-link-icon",icon:d}),y&&(0,so.jsx)("span",{className:"k-menu-expand-arrow",children:(0,so.jsx)(v,{icon:L})})]}),B]})};pt.states=YM;pt.options=PM;pt.className=jp;pt.defaultOptions=ox;var io=require("react/jsx-runtime"),Up="k-menu-item",GM=[l.hover,l.focus,l.active,l.selected,l.disabled],KM={},qp={dir:"ltr",iconPosition:"before"},To=e=>{let{hover:t,focus:a,active:r,selected:s,disabled:i,icon:d,text:p,first:m,last:k,showArrow:y,arrowIconName:A,iconPosition:g=qp.iconPosition,dir:T=qp.dir,children:N,popup:S,...B}=e,L=(0,io.jsx)(io.Fragment,{});N&&N.forEach(R=>{if(R.type==="MenuListItemContent"){L.props.children.push(R);return}});let P=A;return P||(P=T==="rtl"?"caret-alt-left":"caret-alt-right"),(0,io.jsxs)("li",{...B,className:o(e.className,Up,"k-item",b(Up,{focus:a,disabled:i}),{"k-first":m,"k-last":k}),children:[(0,io.jsxs)("span",{className:o("k-link k-menu-link",b("k-menu-link",{hover:t,active:r,selected:s,disabled:i})),children:[d&&g==="before"&&(0,io.jsx)(v,{className:"k-menu-link-icon",icon:d}),(0,io.jsx)("span",{className:"k-menu-link-text",children:p}),d&&g==="after"&&(0,io.jsx)(v,{className:"k-menu-link-icon",icon:d}),y&&(0,io.jsx)("span",{className:"k-menu-expand-arrow",children:(0,io.jsx)(v,{icon:P})})]}),L,S]})};To.states=GM;To.options=KM;To.className=Up;To.defaultOptions=qp;var rx=require("react/jsx-runtime"),ax="k-menu-scroll-wrapper",DM=[],FM={},zM={},Ni=e=>{let{className:t,children:a,orientation:r,...s}=e;return(0,rx.jsx)("div",{...s,className:o(t,ax,{"k-menu-scroll-wrapper-vertical":r==="vertical"}),children:a})};Ni.states=DM;Ni.options=FM;Ni.className=ax;Ni.defaultOptions=zM;var lx=Ni;var mt=require("react/jsx-runtime"),_p="k-menu",RM=[],HM={},xd={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},No=e=>{let{children:t,orientation:a=xd.orientation,header:r=xd.header,scrollable:s,scrollButtonsPosition:i=xd.scrollButtonsPosition,wrapperStyles:d,dir:p,popup:m,...k}=e,y={horizontal:{prev:p!=="rtl"?"left":"right",next:p!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},A=(0,mt.jsx)("ul",{dir:p,...k,className:o(e.className,"k-reset",_p,{[`${_p}-${a}`]:a,"k-header":r}),children:t});return(0,mt.jsxs)(mt.Fragment,{children:[s?(0,mt.jsxs)(lx,{orientation:a,style:d,dir:e.dir,children:[i==="start"&&(0,mt.jsxs)(mt.Fragment,{children:[(0,mt.jsx)(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),(0,mt.jsx)(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),i==="around"&&(0,mt.jsx)(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),A,i==="end"&&(0,mt.jsxs)(mt.Fragment,{children:[(0,mt.jsx)(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),(0,mt.jsx)(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),i==="around"&&(0,mt.jsx)(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}):A,m]})};No.states=RM;No.options=HM;No.className=_p;No.defaultOptions=xd;var ix=require("react/jsx-runtime"),$p="k-separator",sx={orientation:"horizontal"},Ci=e=>{let{orientation:t=sx.orientation,...a}=e;return(0,ix.jsx)("li",{...a,className:o(e.className,"k-item",$p,{[`${$p}-${t}`]:t})})};Ci.className=$p;Ci.defaultOptions=sx;var nx=require("react/jsx-runtime");var om=require("react/jsx-runtime"),dx=require("react"),em="k-menu-group",WM=[],OM={size:[n.small,n.medium,n.large]},tm={size:n.medium,dir:"ltr"},ha=e=>{let{children:t,size:a=tm.size,dir:r=tm.dir,...s}=e,i=[];return t&&Array.isArray(t)&&t.map((d,p)=>{d.type===To?i.push((0,dx.createElement)(To,{...d.props,dir:r,key:p})):d.type===Ci?i.push((0,om.jsx)(Ci,{})):i.push(d)}),(0,om.jsx)("ul",{...s,className:o(e.className,em,C(em,{size:a})),children:i})};ha.states=WM;ha.options=OM;ha.className=em;ha.defaultOptions=tm;var am=require("react/jsx-runtime");var lm=require("react/jsx-runtime");var rm=require("react/jsx-runtime");var sm=require("react/jsx-runtime");var im=require("react/jsx-runtime");var cx=require("react/jsx-runtime");var fa=require("react/jsx-runtime"),nm="k-split-button",QM=[l.hover,l.focus,l.active,l.selected,l.disabled],VM={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Yr={size:n.medium,rounded:f.medium,fillMode:x.solid,themeColor:u.base,arrowIconName:"caret-alt-down"},We=e=>{let{size:t=Yr.size,rounded:a=Yr.rounded,fillMode:r=Yr.fillMode,themeColor:s=Yr.themeColor,hover:i,focus:d,active:p,selected:m,disabled:k,icon:y,text:A,arrowIconName:g=Yr.arrowIconName,popup:T,opened:N,...S}=e;return(0,fa.jsxs)(fa.Fragment,{children:[(0,fa.jsxs)("div",{...S,className:o(e.className,nm,"k-button-group",C(nm,{rounded:a})),children:[(0,fa.jsx)(c,{text:A,icon:y,size:t,rounded:a,fillMode:r,themeColor:s,hover:i,focus:d,active:p,selected:m,disabled:k,children:e.children}),(0,fa.jsx)(c,{className:"k-split-button-arrow",icon:g,size:t,rounded:a,fillMode:r,disabled:k})]}),N&&T&&(0,fa.jsx)(H,{className:"k-menu-popup",children:T})]})};We.states=QM;We.options=VM;We.className=nm;We.defaultOptions=Yr;var dm=We;var XM=require("react/jsx-runtime");var ZM=require("react/jsx-runtime");var JM=require("react/jsx-runtime");var px=require("react/jsx-runtime");var Vt=require("react/jsx-runtime"),mx="k-textarea",jM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled],UM={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Ga={size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode,flow:"vertical",affixesOrientation:"horizontal",resize:"both",separators:!0},Si=e=>{let{size:t=Ga.size,rounded:a=Ga.rounded,fillMode:r=Ga.fillMode,separators:s=Ga.separators,affixesOrientation:i=Ga.affixesOrientation,flow:d=Ga.flow,resize:p=Ga.resize,prefix:m,suffix:k,rows:y,value:A,placeholder:g,hover:T,focus:N,valid:S,invalid:B,required:L,disabled:P,...R}=e;return(0,Vt.jsxs)(M,{...R,size:t,rounded:a,fillMode:r,hover:T,focus:N,valid:S,invalid:B,required:L,disabled:P,className:o(e.className,mx,{"!k-flex-col":d==="ver