UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

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