UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 293 kB
var hI=Object.create;var nd=Object.defineProperty;var gI=Object.getOwnPropertyDescriptor;var xI=Object.getOwnPropertyNames;var bI=Object.getPrototypeOf,vI=Object.prototype.hasOwnProperty;var yI=(e,t)=>{for(var a in t)nd(e,a,{get:t[a],enumerable:!0})},Wh=(e,t,a,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of xI(t))!vI.call(e,s)&&s!==a&&nd(e,s,{get:()=>t[s],enumerable:!(r=gI(t,s))||r.enumerable});return e};var Qh=(e,t,a)=>(a=e!=null?hI(bI(e)):{},Wh(t||!e||!e.__esModule?nd(a,"default",{value:e,enumerable:!0}):a,e)),wI=e=>Wh(nd({},"__esModule",{value:!0}),e);var SH={};yI(SH,{DateTimePickerNormal:()=>CH});module.exports=wI(SH);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"}),x=(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,"k-highlighted":t.highlighted});var n={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},h={small:"small",medium:"medium",large:"large",full:"full"},b={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",highlighted:"highlighted"},Ht={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var Vh=require("react/jsx-runtime"),dd="k-input",TI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],AI={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},cd={size:n.medium,rounded:n.medium,fillMode:b.solid},M=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p,size:m=cd.size,rounded:f=cd.rounded,fillMode:v=cd.fillMode,...T}=e;return(0,Vh.jsx)("span",{...T,className:o(e.className,dd,C(dd,{size:m,rounded:f,fillMode:v}),x(dd,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p}))})};M.states=TI;M.options=AI;M.className=dd;M.defaultOptions=cd;var Xh=require("react/jsx-runtime"),pd="k-picker",NI=[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:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},md={size:n.medium,rounded:h.medium,fillMode:b.solid},Ot=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p,size:m=md.size,rounded:f=md.rounded,fillMode:v=md.fillMode,...T}=e;return(0,Xh.jsx)("span",{...T,className:o(e.className,pd,C(pd,{size:m,rounded:f,fillMode:v}),x(pd,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p})),children:e.children})};Ot.states=NI;Ot.options=CI;Ot.className=pd;Ot.defaultOptions=md;var pi=require("react/jsx-runtime"),rp="k-icon k-font-icon",SI=[],II={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]},BI={},mi=e=>{let{size:t,themeColor:a,icon:r,rotate:s,flip:i,...d}=e;return r?(0,pi.jsx)("span",{...d,className:o(e.className,rp,C(rp,{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,pi.jsx)(pi.Fragment,{})};mi.states=SI;mi.options=II;mi.className=rp;mi.defaultOptions=BI;var Zh=mi;var Al=require("react/jsx-runtime"),sp="k-icon k-svg-icon",MI=[],LI={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]},Jh={viewBox:"0 0 24 24"},ui=e=>{let{size:t,themeColor:a,rotate:r,flip:s,viewBox:i=Jh.viewBox,icon:d,...p}=e;if(!d)return(0,Al.jsx)(Al.Fragment,{});d==="none"&&{...p,className:o(e.className,sp,"k-none")};let m=typeof d=="object"&&d.name&&d.name;return(0,Al.jsx)("span",{...p,className:o(e.className,sp,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,Al.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})})};ui.states=MI;ui.options=LI;ui.className=sp;ui.defaultOptions=Jh;var ip=ui;var jh=Qh(require("@progress/kendo-svg-icons")),pa=require("react/jsx-runtime"),EI=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),YI=[],PI={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]},np={viewBox:"0 0 24 24",type:"svg"},y=e=>{let{size:t,themeColor:a,icon:r,type:s=np.type,rotate:i,flip:d,viewBox:p=np.viewBox,...m}=e;if(!r)return(0,pa.jsx)(pa.Fragment,{});if(s==="svg"){if(r==="none")return(0,pa.jsx)(ip,{...m,icon:r,size:t});let f=EI(`${r}-icon`);return jh[f]?(0,pa.jsx)(ip,{...m,icon:jh[f],size:t,themeColor:a,rotate:i,flip:d,viewBox:p}):(0,pa.jsx)(pa.Fragment,{})}return(0,pa.jsx)(Zh,{...m,icon:r,size:t,themeColor:a,rotate:i,flip:d})};y.states=YI;y.options=PI;y.defaultOptions=np;var dp=y;var Cr=require("react/jsx-runtime"),Uh="k-clear-value",GI=[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,Cr.jsx)(Cr.Fragment,{}):(0,Cr.jsx)("span",{className:o(e.className,Uh),children:(0,Cr.jsx)(y,{icon:"x"})})};re.states=GI;re.options=KI;re.className=Uh;var qh=require("react/jsx-runtime"),cp="k-input-inner",DI=[],FI={},ud={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=ud.value,type:a=ud.type,placeholder:r=ud.placeholder,autocomplete:s=ud.autocomplete,...i}=e;return(0,qh.jsx)("input",{...i,type:a,className:o(e.className,cp,C(cp,e)),placeholder:r,autoComplete:s,defaultValue:t})};ce.states=DI;ce.options=FI;ce.className=cp;var ki=require("react/jsx-runtime"),pp="k-input-inner",RI=[],zI={},ma=e=>{let{value:t,placeholder:a,showValue:r,valueIcon:s,valueIconName:i,...d}=e;return(0,ki.jsxs)("span",{...d,className:o(e.className,pp,C(pp,e)),children:[s,!s&&i&&(0,ki.jsx)(y,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&(0,ki.jsx)("span",{className:"k-input-value-text",children:t})]})};ma.states=RI;ma.options=zI;ma.className=pp;var $h=require("react/jsx-runtime"),mp="k-input-inner",HI=[],OI={},_h={value:"",placeholder:""},fi=e=>{let{value:t=_h.value,placeholder:a=_h.placeholder,rows:r,...s}=e;return(0,$h.jsx)("textarea",{...s,className:o(e.className,mp,C(mp,e)),placeholder:a,rows:r,defaultValue:t})};fi.states=HI;fi.options=OI;fi.className=mp;var hi=require("react/jsx-runtime"),eg="k-input-loading-icon",WI=[l.disabled,l.loading],_=e=>{let{disabled:t,loading:a}=e;return t||!a?(0,hi.jsx)(hi.Fragment,{}):(0,hi.jsx)("span",{className:o(e.className,eg,"k-icon k-i-loading")})};_.states=WI;_.className=eg;var gi=require("react/jsx-runtime"),tg="k-input-validation-icon",QI=[l.valid,l.invalid,l.disabled,l.loading],VI={},U=e=>{let{valid:t,invalid:a,disabled:r,loading:s}=e,i=a?"warning-circle":"check-circle";return r||s||!!!(t||a)?(0,gi.jsx)(gi.Fragment,{}):(0,gi.jsx)(y,{className:o(tg),icon:i})};U.states=QI;U.options=VI;U.className=tg;var xi=require("react/jsx-runtime"),XI="k-input-prefix",ZI={direction:"horizontal"},ae=e=>{let{direction:t=ZI.direction,...a}=e;return e.children?(0,xi.jsx)("span",{...a,className:o(XI,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,xi.jsx)(xi.Fragment,{})};var bi=require("react/jsx-runtime"),JI="k-input-suffix",jI={direction:"horizontal"},le=e=>{let{direction:t=jI.direction,...a}=e;return e.children?(0,bi.jsx)("span",{...a,className:o(JI,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,bi.jsx)(bi.Fragment,{})};var UI=require("react/jsx-runtime");var qI=require("react/jsx-runtime");var ag=require("react/jsx-runtime"),og="k-input-separator",_I={direction:"vertical"},Ce=e=>{let{direction:t=_I.direction,...a}=e;return(0,ag.jsx)("span",{...a,className:o(og,e.className,{[`${og}-${t}`]:t})})};var yo=require("react/jsx-runtime"),kd="k-button",$I=[l.hover,l.focus,l.active,l.selected,l.disabled],eB={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline,b.clear,b.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:h.medium,fillMode:b.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:f,selected:v,disabled:T,icon:g,text:A,iconClassName:N,...S}=e,B=g!==void 0,L=e.children!==void 0;return(0,yo.jsxs)("button",{...S,className:o(e.className,kd,C(kd,{size:t,rounded:a,fillMode:r,themeColor:s}),x(kd,{hover:p,focus:m,active:f,disabled:T,selected:v}),{"k-icon-button":!A&&!L&&B}),children:[g&&(0,yo.jsx)(y,{className:o(N,"k-button-icon"),icon:g}),A?(0,yo.jsxs)(yo.Fragment,{children:[A&&(0,yo.jsx)("span",{className:"k-button-text",children:A}),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)(y,{icon:d})})]})};c.states=$I;c.options=eB;c.className=kd;c.defaultOptions=Nl;var lg=require("react/jsx-runtime"),gt=e=>(0,lg.jsx)(c,{icon:"folder",...e,children:void 0});var rg=require("react/jsx-runtime"),wo=e=>(0,rg.jsx)(c,{icon:"folder",children:"Button",...e});var tB=require("react/jsx-runtime");var up=require("react/jsx-runtime"),sg="k-animation-container",oB=[],aB={},ig={positionMode:"absolute"},Ea=e=>{let{positionMode:t=ig.positionMode,animationStyle:a,offset:r,...s}=e;return(0,up.jsx)("div",{...s,style:{...r,...e.style},className:o(e.className,sg,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,up.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};Ea.states=oB;Ea.options=aB;Ea.className=sg;Ea.defaultOptions=ig;var kp=require("react/jsx-runtime"),ng="k-popup",lB=[],rB={},dg={positionMode:"absolute"},H=e=>{let{offset:t,positionMode:a=dg.positionMode,animationStyle:r,...s}=e;return(0,kp.jsx)(Ea,{positionMode:a,offset:t,animationStyle:r,children:(0,kp.jsx)("div",{...s,className:o(e.className,ng),children:e.children})})};H.states=lB;H.options=rB;H.className=ng;H.defaultOptions=dg;var pg=require("react/jsx-runtime"),fd="k-actions",sB=[],iB={},fp={alignment:"start",orientation:"horizontal"},Z=e=>{let{alignment:t=fp.alignment,orientation:a=fp.orientation,...r}=e;return(0,pg.jsx)("div",{...r,className:o(fd,{[`${fd}-${t}`]:t,[`${fd}-${a}`]:a},e.className),children:e.children})};Z.states=sB;Z.options=iB;Z.className=fd;Z.defaultOptions=fp;var cg=Z;var ug=require("react/jsx-runtime"),vi="k-button-group",nB=[l.disabled],dB={fillMode:[b.solid,b.flat,b.outline,b.clear,b.link]},mg={fillMode:b.solid},G=e=>{let{fillMode:t=mg.fillMode,disabled:a,stretched:r,...s}=e;return(0,ug.jsx)("div",{...s,className:o(e.className,vi,C(vi,{fillMode:t}),x(vi,{disabled:a}),{[`${vi}-stretched`]:r}),children:e.children})};G.states=nB;G.options=dB;G.className=vi;G.defaultOptions=mg;var hp=require("react/jsx-runtime");var gp=require("react/jsx-runtime");var xp=require("react/jsx-runtime");var bp=require("react/jsx-runtime");var Ir=require("react/jsx-runtime"),vp="k-calendar",cB=[],pB={size:[n.small,n.medium,n.large]},Sr={size:n.medium,showCalendarHeader:!0,orientation:"horizontal",calendarView:"month",calendarTitleText:"October 2021"},Wt=e=>{let{size:t=Sr.size,orientation:a=Sr.orientation,calendarView:r=Sr.calendarView,calendarTitleText:s=Sr.calendarTitleText,showCalendarHeader:i=Sr.showCalendarHeader,showWeek:d,showCalendarFooter:p,calendarFooterText:m,dir:f,...v}=e;return(0,Ir.jsxs)("div",{...v,dir:f,className:o(e.className,vp,C(vp,{size:t}),{"k-week-number":d}),children:[i&&(0,Ir.jsx)(Cl,{calendarView:r,showToday:!p,calendarTitleText:s,orientation:a,size:t,dir:f}),(0,Ir.jsx)(hd,{calendarView:r,orientation:a,children:e.children}),p&&(0,Ir.jsx)(yi,{calendarFooterText:m,size:t})]})};Wt.states=cB;Wt.options=pB;Wt.className=vp;Wt.defaultOptions=Sr;var Ko=require("react/jsx-runtime"),mB=[l.hover,l.focus,l.active,l.selected,l.disabled],w=e=>{let{text:t,headerCell:a,today:r,weekend:s,showOtherMonth:i,weekCell:d,rangeStart:p,rangeMid:m,rangeEnd:f,dayIndicator:v,empty:T,hover:g,focus:A,active:N,selected:S,disabled:B,...L}=e,z=`k-calendar-${a?"th":"td"}`,V=[e.className,z,x(z,{hover:g,focus:A,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":f,"k-empty":T}];return a?(0,Ko.jsx)("th",{...L,className:o(V),children:t}):d?(0,Ko.jsx)("td",{...L,className:o(V),children:t}):(0,Ko.jsx)("td",{...L,className:o(V),children:T&&!i?(0,Ko.jsx)(Ko.Fragment,{children:"\xA0"}):(0,Ko.jsxs)("span",{className:"k-link",children:[t,v&&(0,Ko.jsx)("span",{className:"k-day-indicator"})]})})};w.states=mB;var ua=require("react/jsx-runtime"),kg="k-calendar-header",uB={size:[n.small,n.medium,n.large]},Br={calendarTitleText:"October 2021",showToday:!0,showNavigationButtons:!0,orientation:"horizontal",size:n.medium},Cl=e=>{let{calendarTitleText:t=Br.calendarTitleText,showToday:a=Br.showToday,showNavigationButtons:r=Br.showNavigationButtons,orientation:s=Br.orientation,size:i=Br.size,calendarView:d,dir:p,...m}=e,f=p==="rtl"?"chevron-right":"chevron-left",v=p==="rtl"?"chevron-left":"chevron-right";return(0,ua.jsxs)("div",{...m,className:o(e.className,kg,{"k-vstack":s==="vertical"}),children:[(0,ua.jsx)(c,{disabled:d==="century",className:"k-calendar-title",text:t,size:i,fillMode:"flat",themeColor:"primary"}),(0,ua.jsx)("span",{className:"k-spacer"}),(0,ua.jsxs)("span",{className:"k-calendar-nav",children:[r&&(0,ua.jsx)(c,{className:"k-calendar-nav-prev",icon:f,size:i,fillMode:"flat"}),a&&(0,ua.jsx)(c,{size:i,fillMode:"flat",className:"k-calendar-nav-today",children:"Today"}),r&&(0,ua.jsx)(c,{className:"k-calendar-nav-next",icon:v,size:i,fillMode:"flat"})]})]})};Cl.options=uB;Cl.className=kg;Cl.defaultOptions=Br;var wp=require("react/jsx-runtime"),fg="k-calendar-footer",kB={size:[n.small,n.medium,n.large]},yp={size:n.medium,calendarFooterText:"Tuesday, October 12, 2021"},yi=e=>{let{size:t=yp.size,calendarFooterText:a=yp.calendarFooterText,...r}=e;return(0,wp.jsx)("div",{...r,className:o(e.className,fg),children:(0,wp.jsx)(c,{size:t,fillMode:"flat",themeColor:"primary",className:"k-calendar-nav-today",children:a})})};yi.options=kB;yi.className=fg;yi.defaultOptions=yp;var gg=require("react/jsx-runtime"),fB=[],hB={},hg=e=>{let{type:t,...a}=e,r=t==="p"?"paragraph":t,s=t.includes("display")?"div":t;return(0,gg.jsx)(s,{...a,className:o(e.className,{[`k-${r}`]:t}),children:e.children})};hg.states=fB;hg.options=hB;var xg=require("react/jsx-runtime"),gB="k-no-data",wi=e=>(0,xg.jsx)("span",{className:o(gB,e.className),children:e.children});var Do=require("react/jsx-runtime"),Tp="k-list",xB=[],bB={size:[n.small,n.medium,n.large]},bg={size:n.medium},J=e=>{let{size:t=bg.size,virtualization:a,children:r,optionLabel:s,customValue:i,screenReaders:d,...p}=e,m,f,v,T,g=[];return r?r.map((A,N)=>{A.type===Me?(A.props.root===!0?(m=A.props.label,A.props.children.map((S,B)=>{g.push((0,Do.jsx)(K,{...S.props},`optChild-${B}-${new Date().getTime()}`))})):A.props.children.forEach((S,B)=>{let L="";B===0&&(L=A.props.label),g.push((0,Do.jsx)(K,{className:B===0?"k-first":"",...S.props,groupLabel:L},`groupLabel-${B}-${new Date().getTime()}`))}),f=(0,Do.jsx)(Me,{label:m,virtualization:a,children:g})):A.type===K&&(g.push((0,Do.jsx)(K,{...A.props},`${A.type}-${N}`)),v=(0,Do.jsx)(Mr,{virtualization:a,children:g}),d&&(T=(0,Do.jsxs)(wi,{className:"k-sr-only",children:[g.length," items found."]})))}):T=(0,Do.jsx)(wi,{children:"No data found."}),(0,Do.jsxs)("div",{...p,className:o(e.className,Tp,C(Tp,{size:t}),{"k-virtual-list":a}),children:[s,i,f,v,T]})};J.states=xB;J.options=bB;J.className=Tp;J.defaultOptions=bg;var Fo=require("react/jsx-runtime"),Ap="k-list",vB=[],yB={size:[n.small,n.medium,n.large]},vg={size:n.medium},Sl=e=>{let{size:t=vg.size,virtualization:a,children:r,...s}=e,i,d,p,m=[];return r?r.map((f,v)=>{f.type===Me?(f.props.root===!0?(i=f.props.label,f.props.children.map((T,g)=>{m.push((0,Fo.jsx)(K,{...T.props},`optChild-${g}-${new Date().getTime()}`))})):(m.push((0,Fo.jsx)(yg,{...f.props,children:f.props.label},`listChild-${v}`)),f.props.children.map((T,g)=>{m.push((0,Fo.jsx)(K,{...T.props},`fwOptChild-${g}-${new Date().getTime()}`))})),d=(0,Fo.jsx)(Me,{label:i,virtualization:a,children:m})):f.type===K&&(m.push((0,Fo.jsx)(K,{...f.props},`${f.type}-${v}`)),p=(0,Fo.jsx)(Mr,{virtualization:a,children:m}))}):p=(0,Fo.jsx)(wi,{children:"No data found."}),(0,Fo.jsxs)("div",{...s,className:o(e.className,Ap,C(Ap,{size:t}),{"k-virtual-list":a}),children:[d,p]})};Sl.states=vB;Sl.options=yB;Sl.className=Ap;Sl.defaultOptions=vg;var Cp=require("react/jsx-runtime"),gd="k-checkbox",wB=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],TB={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full]},Np={size:n.medium,rounded:h.medium},dt=e=>{let{id:t,checked:a,indeterminate:r,hover:s,focus:i,disabled:d,invalid:p,valid:m,required:f,size:v=Np.size,rounded:T=Np.rounded,...g}=e;return(0,Cp.jsx)("span",{className:"k-checkbox-wrap",children:(0,Cp.jsx)("input",{...g,id:t,type:"checkbox",defaultChecked:a,required:f,className:o(e.className,gd,C(gd,{size:v,rounded:T}),x(gd,{hover:s,focus:i,disabled:d,invalid:p,valid:m,indeterminate:r,checked:a}))})})};dt.states=wB;dt.options=TB;dt.className=gd;dt.defaultOptions=Np;var Ag=require("react/jsx-runtime"),wg="k-checkbox-list",AB=[],NB={},Tg={layout:"vertical"},Lr=e=>{let{layout:t=Tg.layout,...a}=e;return(0,Ag.jsx)("ul",{...a,className:o(e.className,wg,{[`k-list-${t}`]:t}),children:e.children})};Lr.states=AB;Lr.options=NB;Lr.className=wg;Lr.defaultOptions=Tg;var Cg=require("react/jsx-runtime"),Ng="k-checkbox-list-item",CB=[],SB={},IB={},Er=e=>{let{...t}=e;return(0,Cg.jsx)("li",{...t,className:o(e.className,Ng),children:e.children})};Er.states=CB;Er.options=SB;Er.className=Ng;Er.defaultOptions=IB;var Ip=require("react/jsx-runtime");var Bp=require("react/jsx-runtime");var Mp=require("react/jsx-runtime");var Lp=require("react/jsx-runtime");var BB=require("react/jsx-runtime");var MB=require("react/jsx-runtime");var Il=require("react/jsx-runtime"),Ep="k-list-item",LB=[l.hover,l.focus,l.selected,l.disabled],EB={},YB={},K=e=>{let{text:t,groupLabel:a,group:r,showIcon:s,iconName:i,showCheckbox:d,checked:p,hover:m,focus:f,selected:v,disabled:T,...g}=e,A=t||e.children;return(0,Il.jsxs)("li",{...g,className:o(e.className,r?"k-list-group-item":Ep,x(Ep,{hover:m,focus:f,disabled:T,selected:v})),children:[d&&(0,Il.jsx)(dt,{checked:p}),s&&(0,Il.jsx)(y,{icon:i}),(0,Il.jsx)("span",{className:"k-list-item-text",children:A}),a&&a!==""&&(0,Il.jsx)("div",{className:"k-list-item-group-label",children:a})]})};K.states=LB;K.options=EB;K.className=Ep;K.defaultOptions=YB;var Yr=require("react/jsx-runtime"),PB="k-list-content",Mr=e=>{let{virtualization:t,...a}=e;return(0,Yr.jsxs)("div",{...a,className:o(PB,e.className),children:[(0,Yr.jsx)("ul",{className:o("k-list-ul"),children:e.children}),t&&(0,Yr.jsx)("div",{className:"k-height-container",children:(0,Yr.jsx)("div",{})})]})};var Yp=require("react/jsx-runtime"),GB="k-list-group-sticky-header",Sg=e=>(0,Yp.jsx)("div",{className:o(GB,e.className),children:(0,Yp.jsx)("div",{className:"k-list-header-text",children:e.children})});var Bl=require("react/jsx-runtime"),Me=e=>{let{virtualization:t,label:a}=e;return(0,Bl.jsxs)(Bl.Fragment,{children:[a&&(0,Bl.jsx)(Sg,{children:a}),e.children&&(0,Bl.jsx)(Mr,{virtualization:t,children:e.children})]})};var Pp=require("react/jsx-runtime"),KB="k-list-group-item",yg=e=>(0,Pp.jsx)("li",{className:o(KB,e.className),children:(0,Pp.jsx)("span",{className:"k-list-item-text",children:e.children})});var Ig=require("react/jsx-runtime"),Gp="k-list-optionlabel",DB=[l.hover,l.focus,l.selected,l.disabled],FB={},RB={},xd=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return(0,Ig.jsx)("div",{...d,className:o(Gp,x(Gp,{hover:a,focus:r,selected:s,disabled:i})),children:t})};xd.states=DB;xd.options=FB;xd.className=Gp;xd.defaultOptions=RB;var Bg=require("react/jsx-runtime"),Kp="k-list-custom-value",zB=[l.hover,l.focus,l.selected,l.disabled],HB={},OB={},xt=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return(0,Bg.jsx)("div",{...d,className:o(Kp,x(Kp,{hover:a,focus:r,selected:s,disabled:i})),children:t})};xt.states=zB;xt.options=HB;xt.className=Kp;xt.defaultOptions=OB;var WB=require("react/jsx-runtime");var QB=require("react/jsx-runtime");var Mg=require("react/jsx-runtime");var Lg=require("react/jsx-runtime");var VB=require("react/jsx-runtime");var Eg=require("react/jsx-runtime");var Yg=require("react/jsx-runtime");var Pr=require("react/jsx-runtime"),Pg="k-suggestion-group",XB=[],ZB={},Gg={scrollable:!0},Ml=e=>{let{scrollable:t=Gg.scrollable,...a}=e,r=(0,Pr.jsx)("div",{...a,className:o(Pg,e.className),children:e.children});return t?(0,Pr.jsxs)("div",{className:"k-suggestion-scrollwrap",children:[(0,Pr.jsx)(c,{icon:"chevron-left"}),r,(0,Pr.jsx)(c,{icon:"chevron-right"})]}):r};Ml.states=XB;Ml.options=ZB;Ml.className=Pg;Ml.defaultOptions=Gg;var Kg=require("react/jsx-runtime"),bd="k-suggestion",JB=[l.active,l.hover,l.focus],jB={themeColor:[u.base,u.primary,u.secondary]},UB={text:"Suggestion"},Ll=e=>{let{themeColor:t,active:a,hover:r,focus:s,text:i,...d}=e;return(0,Kg.jsx)("span",{...d,className:o(e.className,bd,x(bd,{hover:r,active:a,focus:s}),C(bd,{themeColor:t})),children:i})};Ll.states=JB;Ll.options=jB;Ll.className=bd;Ll.item=UB;var Dp=require("react/jsx-runtime");var Fp=require("react/jsx-runtime");var Rp=require("react/jsx-runtime"),Ti="k-avatar";var qB=[l.hover,l.focus,l.active,l.selected,l.disabled],_B={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},El={type:"text",size:n.medium,rounded:h.full,fillMode:b.solid,themeColor:u.primary,border:!1},Ro=e=>{let{size:t=El.size,rounded:a=El.rounded,fillMode:r=El.fillMode,themeColor:s=El.themeColor,type:i=El.type,border:d=El.border,...p}=e;return(0,Rp.jsx)("div",{...p,className:o(e.className,Ti,C(Ti,{size:t,rounded:a,fillMode:r,themeColor:s}),{[`${Ti}-bordered`]:d}),children:(0,Rp.jsx)("span",{className:`${Ti}-${i}`,children:e.children})})};Ro.states=qB;Ro.options=_B;Ro.className=Ti;Ro.defaultOptions=El;var $B=require("react/jsx-runtime");var eM=require("react/jsx-runtime");var tM=require("react/jsx-runtime");var Fg=require("react/jsx-runtime"),Ai="k-badge",oM=[],aM={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.outline],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Ni={size:n.medium,fillMode:b.solid,themeColor:u.primary,cutoutBorder:!1},Gr=e=>{let{size:t=Ni.size,fillMode:a=Ni.fillMode,themeColor:r=Ni.themeColor,cutoutBorder:s=Ni.cutoutBorder,rounded:i,position:d,align:p,...m}=e;return(0,Fg.jsx)("span",{...m,className:o(e.className,Ai,C(Ai,{size:t,rounded:i,fillMode:a,themeColor:r}),{[`${Ai}-${d}`]:d,[`k-${p}`]:p,[`${Ai}-border-cutout`]:s}),children:e.children})};Gr.states=oM;Gr.options=aM;Gr.className=Ai;Gr.defaultOptions=Ni;var lM=require("react/jsx-runtime");var rM=require("react/jsx-runtime");var sM=require("react/jsx-runtime");var ka=require("react/jsx-runtime"),vd="k-chip",iM=[l.hover,l.focus,l.active,l.selected,l.disabled],nM={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.outline],themeColor:[u.base,u.success,u.warning,u.error,u.info]},Kr={size:n.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,avatarImage:"/packages/html/assets/avatar.jpg"},To=e=>{let{size:t=Kr.size,rounded:a=Kr.rounded,fillMode:r=Kr.fillMode,themeColor:s=Kr.themeColor,text:i,icon:d,actions:p,showAvatar:m,avatarImage:f=Kr.avatarImage,hover:v,focus:T,active:g,selected:A,disabled:N,...S}=e;return(0,ka.jsxs)("div",{...S,className:o(e.className,vd,C(vd,{size:t,rounded:a,fillMode:r,themeColor:s}),x(vd,{hover:v,focus:T,active:g,disabled:N,selected:A})),children:[d&&(0,ka.jsx)(y,{className:"k-chip-icon",icon:d,size:"small"}),m&&(0,ka.jsx)(Ro,{className:"k-chip-avatar",type:"image",children:(0,ka.jsx)("img",{src:f})}),(0,ka.jsx)("span",{className:"k-chip-content",children:e.children?e.children:i&&(0,ka.jsx)("span",{className:"k-chip-label",children:i})}),p&&(0,ka.jsx)("span",{className:"k-chip-actions",children:p})]})};To.states=iM;To.options=nM;To.className=vd;To.defaultOptions=Kr;var zg=require("react/jsx-runtime"),zp="k-chip-list",dM=[],cM={size:[n.small,n.medium,n.large]},Rg={size:n.medium},Ao=e=>{let{size:t=Rg.size,...a}=e;return(0,zg.jsx)("div",{...a,className:o(e.className,zp,C(zp,{size:t})),children:e.children})};Ao.states=dM;Ao.options=cM;Ao.className=zp;Ao.defaultOptions=Rg;var pM=require("react/jsx-runtime");var mM=require("react/jsx-runtime");var uM=require("react/jsx-runtime");var kM=require("react/jsx-runtime");var Hp=require("react/jsx-runtime");var Ci=require("react/jsx-runtime"),Hg="k-color-preview",fM=[],hM={},Ya=e=>{let{color:t,iconName:a,...r}=e;return(0,Ci.jsxs)("span",{...r,className:o(e.className,Hg,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&(0,Ci.jsx)(y,{icon:a,className:"k-color-preview-icon"}),(0,Ci.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ya.states=fM;Ya.options=hM;Ya.className=Hg;var lo=require("react/jsx-runtime"),Op="k-loader",gM={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},xM=[],bM={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]},wd={size:n.medium,themeColor:u.primary,animation:"pulsing"},Pa=e=>{let{size:t=wd.size,themeColor:a=wd.themeColor,animation:r=wd.animation,...s}=e,i=(0,lo.jsx)("span",{className:"k-loader-segment"});return(0,lo.jsx)("div",{...s,className:o(e.className,Op,{[`k-loader-${gM[r]||r}`]:r},C(Op,{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]})]})})};Pa.states=xM;Pa.options=bM;Pa.className=Op;Pa.defaultOptions=wd;var Og=Pa;var Gl=require("react/jsx-runtime"),Wp="k-loader-container",vM=[],yM={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]},Pl={size:n.medium,themeColor:u.primary,loaderType:"pulsing",position:"top",overlay:"dark",panel:!1},Si=e=>{let{size:t=Pl.size,themeColor:a=Pl.themeColor,loaderType:r=Pl.loaderType,position:s=Pl.position,overlay:i=Pl.overlay,panel:d=Pl.panel,...p}=e;return(0,Gl.jsxs)("div",{...p,className:o(e.className,Wp,C(Wp,{size:t}),{[`k-loader-${s}`]:s}),children:[(0,Gl.jsx)("div",{className:`k-loader-container-overlay k-overlay-${i}`}),(0,Gl.jsxs)("div",{className:o("k-loader-container-inner",{"k-loader-container-panel":d}),children:[(0,Gl.jsx)(Og,{size:t,themeColor:a,animation:r}),(0,Gl.jsx)("div",{className:`k-loader-container-label !k-text-${a}`,children:"Loading..."})]})]})};Si.states=vM;Si.options=yM;Si.className=Wp;Si.defaultOptions=Pl;var wM=require("react/jsx-runtime");var TM=require("react/jsx-runtime");var AM=require("react/jsx-runtime");var NM=require("react/jsx-runtime");var Qg=require("react/jsx-runtime"),Wg="k-skeleton",CM=[],SM={},Qp={shape:"text",animation:"pulse"},Ga=e=>{let{shape:t=Qp.shape,animation:a=Qp.animation,...r}=e;return(0,Qg.jsx)("span",{...r,className:o(e.className,Wg,{[`k-skeleton-${t}`]:t,[`k-skeleton-${a}`]:a}),style:e.style})};Ga.states=CM;Ga.options=SM;Ga.className=Wg;Ga.defaultOptions=Qp;var IM=require("react/jsx-runtime");var Xg=require("react/jsx-runtime"),Vg=e=>(0,Xg.jsx)(Ga,{shape:"rect",...e});var BM=require("react/jsx-runtime");var zo=require("react/jsx-runtime"),Vp="k-form-field",MM=[l.disabled],ct=e=>{let{label:t,orientation:a,optional:r,editor:s,hint:i,error:d,info:p,disabled:m,dir:f,colSpan:v}=e;return(0,zo.jsxs)("div",{className:o(Vp,e.className,x(Vp,{disabled:m}),{[`k-col-span-${v}`]:v}),dir:f,children:[t&&(0,zo.jsxs)("label",{className:o("k-label","k-form-label"),children:[t,r&&(0,zo.jsx)("span",{className:"k-label-optional",children:"(Optional)"}),p&&(0,zo.jsx)("span",{className:"k-field-info",children:"(field info)"})]}),a==="horizontal"&&!t&&(0,zo.jsx)("span",{className:"k-label k-form-label k-label-empty"}),(0,zo.jsxs)("div",{className:"k-form-field-wrap",children:[s,i&&(0,zo.jsx)("div",{className:"k-form-hint",children:i}),d&&(0,zo.jsx)("div",{className:"k-form-error",children:d})]})]})};ct.states=MM;ct.className=Vp;var Ka=require("react/jsx-runtime"),Zg="k-form-fieldset",Ho=e=>{let{legend:t,layout:a,cols:r,gutters:s,colSpan:i}=e;return(0,Ka.jsxs)("fieldset",{className:o(Zg,{[`k-col-span-${i}`]:i}),children:[t&&(0,Ka.jsx)("legend",{className:"k-form-legend",children:t}),a==="grid"?(0,Ka.jsx)("div",{className:o("k-form-layout","k-d-grid",{[`k-grid-cols-${r}`]:r}),style:{...typeof s=="string"&&{gap:s},...typeof s=="object"&&s.rows&&{rowGap:s.rows},...typeof s=="object"&&s.cols&&{columnGap:s.cols}},children:e.children}):(0,Ka.jsx)(Ka.Fragment,{children:e.children})]})};Ho.className=Zg;var Oo=require("react/jsx-runtime"),Nd=require("react"),Td="k-form",LM=[],EM={size:[n.small,n.medium,n.large]},Ad={size:n.medium,layout:"basic",tag:"form"},fa=e=>{let{size:t=Ad.size,orientation:a,layout:r=Ad.layout,formButtons:s,cols:i,gutters:d,tag:p=Ad.tag,children:m}=e,f=({tag:T,className:g,children:A})=>T==="form"?(0,Oo.jsx)("form",{className:g,children:A}):(0,Oo.jsx)("div",{className:g,children:A}),v=[];return m&&(Array.isArray(m)?m.map((T,g)=>{T.type===ct?v.push((0,Nd.createElement)(ct,{...T.props,orientation:a,key:g})):v.push(T)}):m.type===ct?v.push((0,Nd.createElement)(ct,{...m.props,orientation:a,key:`${new Date().getTime()}`})):m.type===Ho&&v.push((0,Nd.createElement)(Ho,{...m.props,key:`${new Date().getTime()}`}))),(0,Oo.jsxs)(f,{tag:p,className:o(e.className,Td,C(Td,{size:t}),{[`${Td}-${a}`]:a}),children:[r==="grid"?(0,Oo.jsx)("div",{className:o("k-form-layout","k-d-grid",{[`k-grid-cols-${i}`]:i}),style:{...typeof d=="string"&&{gap:d},...typeof d=="object"&&d.rows&&{rowGap:d.rows},...typeof d=="object"&&d.cols&&{columnGap:d.cols}},children:v}):(0,Oo.jsx)(Oo.Fragment,{children:v}),s&&(0,Oo.jsx)("div",{className:"k-form-buttons",children:s})]})};fa.states=LM;fa.options=EM;fa.className=Td;fa.defaultOptions=Ad;var jg=require("react/jsx-runtime"),YM="k-actionsheet-footer",Jg={alignment:"stretched",orientation:"horizontal"},No=e=>{let{alignment:t=Jg.alignment,orientation:a=Jg.orientation,template:r,as:s=r?"div":Z,...i}=e;return(0,jg.jsx)(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,YM),children:e.children})};var Da=require("react/jsx-runtime"),Ug="k-searchbox",PM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],GM={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Xp={showIcon:!0,icon:"search",size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode},rt=e=>{let{value:t,placeholder:a,size:r,rounded:s,fillMode:i,hover:d,focus:p,valid:m,invalid:f,required:v,loading:T,disabled:g,showIcon:A=Xp.showIcon,icon:N=Xp.icon,...S}=e;return(0,Da.jsxs)(M,{...S,size:r,rounded:s,fillMode:i,hover:d,focus:p,valid:m,invalid:f,required:v,loading:T,disabled:g,className:o(e.className,Ug),children:[A&&(0,Da.jsx)(y,{className:"k-input-icon",icon:N}),(0,Da.jsx)(ce,{placeholder:a,value:t}),(0,Da.jsx)(_,{...e}),(0,Da.jsx)(U,{...e}),(0,Da.jsx)(re,{...e})]})};rt.states=PM;rt.options=GM;rt.className=Ug;rt.defaultOptions=Xp;var KM=require("react/jsx-runtime");var bt=require("react/jsx-runtime"),qg="k-textbox",DM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],FM={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Kl={showClearButton:!0,showValidationIcon:!0,size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode,separators:!0},q=e=>{let{size:t=Kl.size,rounded:a=Kl.rounded,fillMode:r=Kl.fillMode,separators:s=Kl.separators,showClearButton:i=Kl.showClearButton,showValidationIcon:d=Kl.showValidationIcon,prefix:p,suffix:m,type:f,value:v,placeholder:T,hover:g,focus:A,valid:N,invalid:S,required:B,loading:L,disabled:P,readonly:z,...V}=e;return(0,bt.jsxs)(M,{...V,size:t,rounded:a,fillMode:r,hover:g,focus:A,valid:N,invalid:S,required:B,loading:L,disabled:P,readonly:z,className:o(e.className,qg),children:[p&&(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(ae,{children:p}),s&&(0,bt.jsx)(Ce,{})]}),(0,bt.jsx)(ce,{placeholder:T,value:v,type:f}),d&&(0,bt.jsx)(U,{valid:N,invalid:S,loading:L,disabled:P}),(0,bt.jsx)(_,{loading:L,disabled:P}),i&&(0,bt.jsx)(re,{loading:L,disabled:P,readonly:z,value:v}),m&&(0,bt.jsxs)(bt.Fragment,{children:[s&&(0,bt.jsx)(Ce,{}),(0,bt.jsx)(le,{children:m})]})]})};q.states=DM;q.options=FM;q.className=qg;q.defaultOptions=Kl;var RM=require("react/jsx-runtime");var $g=require("react/jsx-runtime");var tx=require("react/jsx-runtime");var Qt=require("react/jsx-runtime"),ox="k-actionsheet-titlebar",zM={},se=e=>{let{title:t,subtitle:a,actionsStart:r,actionsEnd:s,filter:i,input:d,inputValue:p,inputPlaceholder:m,adaptive:f,children:v,...T}=e;return(0,Qt.jsxs)("div",{...T,className:o(e.className,ox),children:[(0,Qt.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[r&&(0,Qt.jsx)("div",{className:"k-actionsheet-actions",children:r}),!v&&(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})]}),v&&(0,Qt.jsx)("div",{className:"k-actionsheet-title",children:v}),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:f?"large":"medium"}):(0,Qt.jsx)(rt,{placeholder:"Filter",size:f?"large":"medium"})})]})};se.className=ox;se.defaultOptions=zM;var Dr=require("react/jsx-runtime"),Zp="k-actionsheet-view",HM=[],OM={},WM={},Fr=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...d}=e,p=(s==null?void 0:s.type)===se&&(0,Dr.jsx)(se,{adaptive:t,...s==null?void 0:s.props}),m=(i==null?void 0:i.type)===No&&(0,Dr.jsx)(No,{...i==null?void 0:i.props});return(0,Dr.jsxs)("div",{...d,className:o(e.className,Zp,{[`${Zp}-animated`]:a}),children:[p,(0,Dr.jsx)("div",{className:"k-actionsheet-content",children:r}),m]})};Fr.states=HM;Fr.options=OM;Fr.className=Zp;Fr.defaultOptions=WM;var Dl=require("react/jsx-runtime"),ax="k-actionsheet",QM=[],VM={},Ii={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},pe=e=>{let{side:t=Ii.side,fullscreen:a=Ii.fullscreen,adaptive:r=Ii.adaptive,overlay:s=Ii.overlay,template:i,children:d,header:p,footer:m,...f}=e;return(0,Dl.jsxs)("div",{className:"k-actionsheet-container",children:[s&&(0,Dl.jsx)("div",{className:"k-overlay"}),(0,Dl.jsx)(Ea,{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,Dl.jsx)("div",{...f,className:o(e.className,ax,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||(0,Dl.jsx)(Fr,{header:p,footer:m,adaptive:r,...e,children:d})})})]})};pe.states=QM;pe.options=VM;pe.className=ax;pe.defaultOptions=Ii;var XM=require("react/jsx-runtime");var ro=require("react/jsx-runtime"),Jp="k-actionsheet-item",ZM=[l.hover,l.focus,l.selected,l.disabled],jp=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,Jp,x(Jp,{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)(y,{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]})};jp.states=ZM;jp.className=Jp;var lx=require("react/jsx-runtime");var JM=require("react/jsx-runtime");var jM=require("react/jsx-runtime");var UM=require("react/jsx-runtime");var Fe=require("react/jsx-runtime"),sx="k-dropdownlist",qM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],_M={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Rr={showValue:!0,arrowIconName:"caret-alt-down",size:n.medium,rounded:h.medium,fillMode:b.solid},ie=e=>{let{size:t=Rr.size,rounded:a=Rr.rounded,fillMode:r=Rr.fillMode,arrowIconName:s=Rr.arrowIconName,showValue:i=Rr.showValue,valueIconName:d,prefix:p,suffix:m,value:f,placeholder:v,hover:T,focus:g,valid:A,invalid:N,required:S,loading:B,disabled:L,readonly:P,popup:z,opened:V,adaptive:Ne,adaptiveSettings:Ue,adaptiveTitle:Ct,adaptiveSubtitle:vo,adaptiveFilter:Tl,...Nr}=e;return(0,Fe.jsxs)(Fe.Fragment,{children:[(0,Fe.jsxs)(Ot,{...Nr,size:t,rounded:a,fillMode:r,hover:T,focus:g,valid:A,invalid:N,required:S,loading:B,disabled:L,readonly:P,className:o(e.className,sx,{"k-icon-picker":!i&&d}),children:[(0,Fe.jsx)(ae,{children:p}),(0,Fe.jsx)(ma,{placeholder:v,value:f,showValue:i,valueIconName:d}),(0,Fe.jsx)(U,{valid:A,invalid:N,loading:B,disabled:L}),(0,Fe.jsx)(_,{loading:B,disabled:L}),(0,Fe.jsx)(le,{children:m}),(0,Fe.jsx)(c,{className:"k-input-button",icon:s,rounded:null,size:e.size,fillMode:e.fillMode})]}),V&&z&&(0,Fe.jsx)(H,{className:"k-list-container k-dropdownlist-popup",children:z}),Ne&&(0,Fe.jsx)(pe,{adaptive:!0,...Ue,header:(0,Fe.jsx)(se,{actionsEnd:(0,Fe.jsx)(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Tl,inputValue:f,inputPlaceholder:v,title:Ct,subtitle:vo}),children:(0,Fe.jsx)("div",{className:"k-list-container",children:(0,Fe.jsxs)(J,{size:"large",children:[(0,Fe.jsx)(K,{text:"List item"}),(0,Fe.jsx)(K,{text:"List item"}),(0,Fe.jsx)(K,{text:"List item"})]})})})]})};ie.states=qM;ie.options=_M;ie.className=sx;ie.defaultOptions=Rr;var $M=require("react/jsx-runtime");var ix=require("react/jsx-runtime");var Up=require("react/jsx-runtime");var eL=require("react/jsx-runtime");var nx=require("react/jsx-runtime");var dx=require("react/jsx-runtime");var qp=require("react/jsx-runtime");var _p=require("react/jsx-runtime");var $p=require("react/jsx-runtime"),Cd="k-radio",tL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked],oL={size:[n.small,n.medium,n.large]},cx={size:n.medium},ha=e=>{let{id:t,checked:a,hover:r,focus:s,disabled:i,invalid:d,valid:p,required:m,size:f=cx.size,...v}=e;return(0,$p.jsx)("span",{className:"k-radio-wrap",children:(0,$p.jsx)("input",{...v,id:t,type:"radio",checked:a,required:m,className:o(e.className,Cd,C(Cd,{size:f}),x(Cd,{hover:r,focus:s,disabled:i,invalid:d,valid:p,checked:a}))})})};ha.states=tL;ha.options=oL;ha.className=Cd;ha.defaultOptions=cx;var ux=require("react/jsx-runtime"),px="k-radio-list",aL=[],lL={},mx={layout:"vertical"},zr=e=>{let{layout:t=mx.layout,...a}=e;return(0,ux.jsx)("ul",{...a,className:o(e.className,px,{[`k-list-${t}`]:t}),children:e.children})};zr.states=aL;zr.options=lL;zr.className=px;zr.defaultOptions=mx;var fx=require("react/jsx-runtime"),kx="k-radio-list-item",rL=[],sL={},iL={},Hr=e=>{let{...t}=e;return(0,fx.jsx)("li",{...t,className:o(e.className,kx),children:e.children})};Hr.states=rL;Hr.options=sL;Hr.className=kx;Hr.defaultOptions=iL;var nL=require("react/jsx-runtime");var tm=require("react/jsx-runtime");var om=require("react/jsx-runtime");var am=require("react/jsx-runtime");var lm=require("react/jsx-runtime");var rm=require("react/jsx-runtime");var Se=require("react/jsx-runtime"),Sd=({size:e,...t})=>(0,Se.jsx)(fa,{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)(Ho,{legend:"Form Legend",children:[(0,Se.jsx)(ct,{label:"Label",editor:(0,Se.jsx)(q,{size:e})}),(0,Se.jsx)(ct,{label:"Label",hint:"Hint text",editor:(0,Se.jsx)(ie,{value:"Dropdown List",size:e})}),(0,Se.jsx)(ct,{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)(ha,{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)(ha,{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)(ha,{size:e}),(0,Se.jsx)("label",{className:"k-radio-label",children:"Label"})]})]})})]}),size:e,...t});var sm=require("react/jsx-runtime");var im=require("react/jsx-runtime");var zl=require("react/jsx-runtime"),hx="k-menu-button",cL=[l.hover,l.focus,l.active,l.selected,l.disabled],pL={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Rl={size:n.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,showArrow:!0,arrowIconName:"caret-alt-down"},ee=e=>{let{size:t=Rl.size,rounded:a=Rl.rounded,fillMode:r=Rl.fillMode,themeColor:s=Rl.themeColor,hover:i,focus:d,active:p,selected:m,disabled:f,icon:v,text:T,showArrow:g=Rl.showArrow,arrowIconName:A=Rl.arrowIconName,popup:N,opened:S,...B}=e;return(0,zl.jsxs)(zl.Fragment,{children:[(0,zl.jsx)(c,{...B,className:o(e.className,hx),text:T,size:t,rounded:a,fillMode:r,themeColor:s,hover:i,focus:d,active:p,selected:m,disabled:f,icon:v,showArrow:g,arrowIconName:A}),S&&N&&(0,zl.jsx)(H,{className:"k-menu-popup",children:N})]})};ee.states=cL;ee.options=pL;ee.className=hx;ee.defaultOptions=Rl;var mL=require("react/jsx-runtime");var uL=require("react/jsx-runtime");var kL=require("react/jsx-runtime");var so=require("react/jsx-runtime"),dm="k-menu-item",fL=[l.hover,l.focus,l.active,l.selected,l.disabled],hL={},gx={iconPosition:"before"},pt=e=>{let{hover:t,focus:a,active:r,selected:s,disabled:i,icon:d,text:p,first:m,last:f,showArrow:v,arrowIconName:T,iconPosition:g=gx.iconPosition,dir:A,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=T;return L||(L=A==="rtl"?"caret-alt-left":"caret-alt-right"),(0,so.jsxs)("li",{...S,className:o(e.className,dm,"k-item",x(dm,{focus:a,disabled:i,hover:t,active:r,selected:s}),{"k-first":m,"k-last":f}),children:[(0,so.jsxs)("span",{className:o("k-link k-menu-link"),children:[d&&g==="before"&&(0,so.jsx)(y,{className:"k-menu-link-icon",icon:d}),(0,so.jsx)("span",{className:"k-menu-link-text",children:p}),d&&g==="after"&&(0,so.jsx)(y,{className:"k-menu-link-icon",icon:d}),v&&(0,so.jsx)("span",{className:"k-menu-expand-arrow",children:(0,so.jsx)(y,{icon:L})})]}),B]})};pt.states=fL;pt.options=hL;pt.className=dm;pt.defaultOptions=gx;var io=require("react/jsx-runtime"),cm="k-menu-item",gL=[l.hover,l.focus,l.active,l.selected,l.disabled],xL={},pm={dir:"ltr",iconPosition:"before"},Co=e=>{let{hover:t,focus:a,active:r,selected:s,disabled:i,icon:d,text:p,first:m,last:f,showArrow:v,arrowIconName:T,iconPosition:g=pm.iconPosition,dir:A=pm.dir,children:N,popup:S,...B}=e,L=(0,io.jsx)(io.Fragment,{});N&&N.forEach(z=>{if(z.type==="MenuListItemContent"){L.props.children.push(z);return}});let P=T;return P||(P=A==="rtl"?"caret-alt-left":"caret-alt-right"),(0,io.jsxs)("li",{...B,className:o(e.className,cm,"k-item",x(cm,{focus:a,disabled:i}),{"k-first":m,"k-last":f}),children:[(0,io.jsxs)("span",{className:o("k-link k-menu-link",x("k-menu-link",{hover:t,active:r,selected:s,disabled:i})),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}),v&&(0,io.jsx)("span",{className:"k-menu-expand-arrow",children:(0,io.jsx)(y,{icon:P})})]}),L,S]})};Co.states=gL;Co.options=xL;Co.className=cm;Co.defaultOptions=pm;var vx=require("react/jsx-runtime"),xx="k-menu-scroll-wrapper",bL=[],vL={},yL={},Bi=e=>{let{className:t,children:a,orientation:r,...s}=e;return(0,vx.jsx)("div",{...s,className:o(t,xx,{"k-menu-scroll-wrapper-vertical":r==="vertical"}),children:a})};Bi.states=bL;Bi.options=vL;Bi.className=xx;Bi.defaultOptions=yL;var bx=Bi;var mt=require("react/jsx-runtime"),mm="k-menu",wL=[],TL={},Id={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},So=e=>{let{children:t,orientation:a=Id.orientation,header:r=Id.header,scrollable:s,scrollButtonsPosition:i=Id.scrollButtonsPosition,wrapperStyles:d,dir:p,popup:m,...f}=e,v={horizontal:{prev:p!=="rtl"?"left":"right",next:p!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},T=(0,mt.jsx)("ul",{dir:p,...f,className:o(e.className,"k-reset",mm,{[`${mm}-${a}`]:a,"k-header":r}),children:t});return(0,mt.jsxs)(mt.Fragment,{children:[s?(0,mt.jsxs)(bx,{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-${v[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-${v[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-${v[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),T,i==="end"&&(0,mt.jsxs)(mt.Fragment,{children:[(0,mt.jsx)(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${v[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-${v[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-${v[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}):T,m]})};So.states=wL;So.options=TL;So.className=mm;So.defaultOptions=Id;var wx=require("react/jsx-runtime"),um="k-separator",yx={orientation:"horizontal"},Mi=e=>{let{orientation:t=yx.orientation,...a}=e;return(0,wx.jsx)("li",{...a,className:o(e.className,"k-item",um,{[`${um}-${t}`]:t})})};Mi.className=um;Mi.defaultOptions=yx;var Tx=require("react/jsx-runtime");var hm=require("react/jsx-runtime"),Ax=require("react"),km="k-menu-group",AL=[],NL={size:[n.small,n.medium,n.large]},fm={size:n.medium,dir:"ltr"},ga=e=>{let{children:t,size:a=fm.size,dir:r=fm.dir,...s}=e,i=[];return t&&Array.isArray(t)&&t.map((d,p)=>{d.type===Co?i.push((0,Ax.createElement)(Co,{...d.props,dir:r,key:p})):d.type===Mi?i.push((0,hm.jsx)(Mi,{})):i.push(d)}),(0,hm.jsx)("ul",{...s,className:o(e.className,km,C(km,{size:a})),children:i})};ga.states=AL;ga.options=NL;ga.className=km;ga.defaultOptions=fm;var gm=require("react/jsx-runtime");var xm=require("react/jsx-runtime");var bm=require("react/jsx-runtime");var vm=require("react/jsx-runtime");var ym=require("react/jsx-runtime");var Nx=require("react/jsx-runtime");var xa=require("react/jsx-runtime"),wm="k-split-button",CL=[l.hover,l.focus,l.active,l.selected,l.disabled],SL={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Or={size:n.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,arrowIconName:"caret-alt-down"},Oe=e=>{let{size:t=Or.size,rounded:a=Or.rounded,fillMode:r=Or.fillMode,themeColor:s=Or.themeColor,hover:i,focus:d,active:p,selected:m,disable