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