UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

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