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