@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 id=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)id(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&&id(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?id(a,"default",{value:e,enumerable:!0}):a,e)),yI=e=>Qh(id({},"__esModule",{value:!0}),e);var CH={};vI(CH,{DATEPICKER_CLASSNAME:()=>Wh,DatePicker:()=>cl,default:()=>Fd});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"),nd="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]},dd={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=dd.size,rounded:f=dd.rounded,fillMode:v=dd.fillMode,...T}=e;return(0,Xh.jsx)("span",{...T,className:o(e.className,nd,C(nd,{size:m,rounded:f,fillMode:v}),x(nd,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p}))})};M.states=wI;M.options=TI;M.className=nd;M.defaultOptions=dd;var Zh=require("react/jsx-runtime"),cd="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]},pd={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=pd.size,rounded:f=pd.rounded,fillMode:v=pd.fillMode,...T}=e;return(0,Zh.jsx)("span",{...T,className:o(e.className,cd,C(cd,{size:m,rounded:f,fillMode:v}),x(cd,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p})),children:e.children})};Ot.states=AI;Ot.options=NI;Ot.className=cd;Ot.defaultOptions=pd;var pi=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={},mi=e=>{let{size:t,themeColor:a,icon:r,rotate:s,flip:i,...d}=e;return r?(0,pi.jsx)("span",{...d,className:o(e.className,rp,C(rp,{size:t}),{[`k-i-${r}`]:r,[`k-color-${a}`]:a,[`k-rotate-${s}`]:s,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"})}):(0,pi.jsx)(pi.Fragment,{})};mi.states=CI;mi.options=SI;mi.className=rp;mi.defaultOptions=II;var Jh=mi;var Nl=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"},ui=e=>{let{size:t,themeColor:a,rotate:r,flip:s,viewBox:i=jh.viewBox,icon:d,...p}=e;if(!d)return(0,Nl.jsx)(Nl.Fragment,{});d==="none"&&{...p,className:o(e.className,sp,"k-none")};let m=typeof d=="object"&&d.name&&d.name;return(0,Nl.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,Nl.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof d=="object"?d.viewBox:i,dangerouslySetInnerHTML:typeof d=="object"?{__html:d.content}:void 0,children:d?void 0:e.children})})};ui.states=BI;ui.options=MI;ui.className=sp;ui.defaultOptions=jh;var ip=ui;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 Sr=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,Sr.jsx)(Sr.Fragment,{}):(0,Sr.jsx)("span",{className:o(e.className,qh),children:(0,Sr.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={},md={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=md.value,type:a=md.type,placeholder:r=md.placeholder,autocomplete:s=md.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 ki=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,ki.jsxs)("span",{...d,className:o(e.className,pp,C(pp,e)),children:[s,!s&&i&&(0,ki.jsx)(y,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&(0,ki.jsx)("span",{className:"k-input-value-text",children:t})]})};ma.states=FI;ma.options=RI;ma.className=pp;var eg=require("react/jsx-runtime"),mp="k-input-inner",zI=[],HI={},$h={value:"",placeholder:""},fi=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})};fi.states=zI;fi.options=HI;fi.className=mp;var hi=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,hi.jsx)(hi.Fragment,{}):(0,hi.jsx)("span",{className:o(e.className,tg,"k-icon k-i-loading")})};_.states=OI;_.className=tg;var gi=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,gi.jsx)(gi.Fragment,{}):(0,gi.jsx)(y,{className:o(og),icon:i})};U.states=WI;U.options=QI;U.className=og;var xi=require("react/jsx-runtime"),VI="k-input-prefix",XI={direction:"horizontal"},ae=e=>{let{direction:t=XI.direction,...a}=e;return e.children?(0,xi.jsx)("span",{...a,className:o(VI,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,xi.jsx)(xi.Fragment,{})};var bi=require("react/jsx-runtime"),ZI="k-input-suffix",JI={direction:"horizontal"},le=e=>{let{direction:t=JI.direction,...a}=e;return e.children?(0,bi.jsx)("span",{...a,className:o(ZI,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,bi.jsx)(bi.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"),ud="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]},Cl={size:n.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},c=e=>{let{size:t=Cl.size,rounded:a=Cl.rounded,fillMode:r=Cl.fillMode,themeColor:s=Cl.themeColor,showArrow:i=Cl.showArrow,arrowIconName:d=Cl.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,ud,C(ud,{size:t,rounded:a,fillMode:r,themeColor:s}),x(ud,{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=ud;c.defaultOptions=Cl;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 Br=require("react/jsx-runtime"),fp="k-calendar",rB=[],sB={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,...v}=e;return(0,Br.jsxs)("div",{...v,dir:f,className:o(e.className,fp,C(fp,{size:t}),{"k-week-number":d}),children:[i&&(0,Br.jsx)(Sl,{calendarView:r,showToday:!p,calendarTitleText:s,orientation:a,size:t,dir:f}),(0,Br.jsx)(kd,{calendarView:r,orientation:a,children:e.children}),p&&(0,Br.jsx)(vi,{calendarFooterText:m,size:t})]})};Wt.states=rB;Wt.options=sB;Wt.className=fp;Wt.defaultOptions=Ir;var Ko=require("react/jsx-runtime"),iB=[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=iB;var ua=require("react/jsx-runtime"),pg="k-calendar-header",nB={size:[n.small,n.medium,n.large]},Mr={calendarTitleText:"October 2021",showToday:!0,showNavigationButtons:!0,orientation:"horizontal",size:n.medium},Sl=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",v=p==="rtl"?"chevron-left":"chevron-right";return(0,ua.jsxs)("div",{...m,className:o(e.className,pg,{"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"})]})]})};Sl.options=nB;Sl.className=pg;Sl.defaultOptions=Mr;var gp=require("react/jsx-runtime"),mg="k-calendar-footer",dB={size:[n.small,n.medium,n.large]},hp={size:n.medium,calendarFooterText:"Tuesday, October 12, 2021"},vi=e=>{let{size:t=hp.size,calendarFooterText:a=hp.calendarFooterText,...r}=e;return(0,gp.jsx)("div",{...r,className:o(e.className,mg),children:(0,gp.jsx)(c,{size:t,fillMode:"flat",themeColor:"primary",className:"k-calendar-nav-today",children:a})})};vi.options=dB;vi.className=mg;vi.defaultOptions=hp;var kg=require("react/jsx-runtime"),cB=[],pB={},ug=e=>{let{type:t,...a}=e,r=t==="p"?"paragraph":t,s=t.includes("display")?"div":t;return(0,kg.jsx)(s,{...a,className:o(e.className,{[`k-${r}`]:t}),children:e.children})};ug.states=cB;ug.options=pB;var hg=require("react/jsx-runtime"),fd="k-actions",mB=[],uB={},xp={alignment:"start",orientation:"horizontal"},Z=e=>{let{alignment:t=xp.alignment,orientation:a=xp.orientation,...r}=e;return(0,hg.jsx)("div",{...r,className:o(fd,{[`${fd}-${t}`]:t,[`${fd}-${a}`]:a},e.className),children:e.children})};Z.states=mB;Z.options=uB;Z.className=fd;Z.defaultOptions=xp;var fg=Z;var gg=require("react/jsx-runtime"),kB="k-no-data",yi=e=>(0,gg.jsx)("span",{className:o(kB,e.className),children:e.children});var Do=require("react/jsx-runtime"),bp="k-list",fB=[],hB={size:[n.small,n.medium,n.large]},xg={size:n.medium},J=e=>{let{size:t=xg.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)(Lr,{virtualization:a,children:g}),d&&(T=(0,Do.jsxs)(yi,{className:"k-sr-only",children:[g.length," items found."]})))}):T=(0,Do.jsx)(yi,{children:"No data found."}),(0,Do.jsxs)("div",{...p,className:o(e.className,bp,C(bp,{size:t}),{"k-virtual-list":a}),children:[s,i,f,v,T]})};J.states=fB;J.options=hB;J.className=bp;J.defaultOptions=xg;var Fo=require("react/jsx-runtime"),vp="k-list",gB=[],xB={size:[n.small,n.medium,n.large]},bg={size:n.medium},Il=e=>{let{size:t=bg.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)(vg,{...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)(Lr,{virtualization:a,children:m}))}):p=(0,Fo.jsx)(yi,{children:"No data found."}),(0,Fo.jsxs)("div",{...s,className:o(e.className,vp,C(vp,{size:t}),{"k-virtual-list":a}),children:[d,p]})};Il.states=gB;Il.options=xB;Il.className=vp;Il.defaultOptions=bg;var wp=require("react/jsx-runtime"),hd="k-checkbox",bB=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],vB={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full]},yp={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=yp.size,rounded:T=yp.rounded,...g}=e;return(0,wp.jsx)("span",{className:"k-checkbox-wrap",children:(0,wp.jsx)("input",{...g,id:t,type:"checkbox",defaultChecked:a,required:f,className:o(e.className,hd,C(hd,{size:v,rounded:T}),x(hd,{hover:s,focus:i,disabled:d,invalid:p,valid:m,indeterminate:r,checked:a}))})})};dt.states=bB;dt.options=vB;dt.className=hd;dt.defaultOptions=yp;var Tg=require("react/jsx-runtime"),yg="k-checkbox-list",yB=[],wB={},wg={layout:"vertical"},Er=e=>{let{layout:t=wg.layout,...a}=e;return(0,Tg.jsx)("ul",{...a,className:o(e.className,yg,{[`k-list-${t}`]:t}),children:e.children})};Er.states=yB;Er.options=wB;Er.className=yg;Er.defaultOptions=wg;var Ng=require("react/jsx-runtime"),Ag="k-checkbox-list-item",TB=[],AB={},NB={},Yr=e=>{let{...t}=e;return(0,Ng.jsx)("li",{...t,className:o(e.className,Ag),children:e.children})};Yr.states=TB;Yr.options=AB;Yr.className=Ag;Yr.defaultOptions=NB;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 CB=require("react/jsx-runtime");var SB=require("react/jsx-runtime");var Bl=require("react/jsx-runtime"),Ip="k-list-item",IB=[l.hover,l.focus,l.selected,l.disabled],BB={},MB={},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,Bl.jsxs)("li",{...g,className:o(e.className,r?"k-list-group-item":Ip,x(Ip,{hover:m,focus:f,disabled:T,selected:v})),children:[d&&(0,Bl.jsx)(dt,{checked:p}),s&&(0,Bl.jsx)(y,{icon:i}),(0,Bl.jsx)("span",{className:"k-list-item-text",children:A}),a&&a!==""&&(0,Bl.jsx)("div",{className:"k-list-item-group-label",children:a})]})};K.states=IB;K.options=BB;K.className=Ip;K.defaultOptions=MB;var Pr=require("react/jsx-runtime"),LB="k-list-content",Lr=e=>{let{virtualization:t,...a}=e;return(0,Pr.jsxs)("div",{...a,className:o(LB,e.className),children:[(0,Pr.jsx)("ul",{className:o("k-list-ul"),children:e.children}),t&&(0,Pr.jsx)("div",{className:"k-height-container",children:(0,Pr.jsx)("div",{})})]})};var Bp=require("react/jsx-runtime"),EB="k-list-group-sticky-header",Cg=e=>(0,Bp.jsx)("div",{className:o(EB,e.className),children:(0,Bp.jsx)("div",{className:"k-list-header-text",children:e.children})});var Ml=require("react/jsx-runtime"),Me=e=>{let{virtualization:t,label:a}=e;return(0,Ml.jsxs)(Ml.Fragment,{children:[a&&(0,Ml.jsx)(Cg,{children:a}),e.children&&(0,Ml.jsx)(Lr,{virtualization:t,children:e.children})]})};var Mp=require("react/jsx-runtime"),YB="k-list-group-item",vg=e=>(0,Mp.jsx)("li",{className:o(YB,e.className),children:(0,Mp.jsx)("span",{className:"k-list-item-text",children:e.children})});var Sg=require("react/jsx-runtime"),Lp="k-list-optionlabel",PB=[l.hover,l.focus,l.selected,l.disabled],GB={},KB={},gd=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return(0,Sg.jsx)("div",{...d,className:o(Lp,x(Lp,{hover:a,focus:r,selected:s,disabled:i})),children:t})};gd.states=PB;gd.options=GB;gd.className=Lp;gd.defaultOptions=KB;var Ig=require("react/jsx-runtime"),Ep="k-list-custom-value",DB=[l.hover,l.focus,l.selected,l.disabled],FB={},RB={},xt=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return(0,Ig.jsx)("div",{...d,className:o(Ep,x(Ep,{hover:a,focus:r,selected:s,disabled:i})),children:t})};xt.states=DB;xt.options=FB;xt.className=Ep;xt.defaultOptions=RB;var zB=require("react/jsx-runtime");var HB=require("react/jsx-runtime");var Bg=require("react/jsx-runtime");var Mg=require("react/jsx-runtime");var OB=require("react/jsx-runtime");var Lg=require("react/jsx-runtime");var Eg=require("react/jsx-runtime");var Gr=require("react/jsx-runtime"),Yg="k-suggestion-group",WB=[],QB={},Pg={scrollable:!0},Ll=e=>{let{scrollable:t=Pg.scrollable,...a}=e,r=(0,Gr.jsx)("div",{...a,className:o(Yg,e.className),children:e.children});return t?(0,Gr.jsxs)("div",{className:"k-suggestion-scrollwrap",children:[(0,Gr.jsx)(c,{icon:"chevron-left"}),r,(0,Gr.jsx)(c,{icon:"chevron-right"})]}):r};Ll.states=WB;Ll.options=QB;Ll.className=Yg;Ll.defaultOptions=Pg;var Gg=require("react/jsx-runtime"),xd="k-suggestion",VB=[l.active,l.hover,l.focus],XB={themeColor:[u.base,u.primary,u.secondary]},ZB={text:"Suggestion"},El=e=>{let{themeColor:t,active:a,hover:r,focus:s,text:i,...d}=e;return(0,Gg.jsx)("span",{...d,className:o(e.className,xd,x(xd,{hover:r,active:a,focus:s}),C(xd,{themeColor:t})),children:i})};El.states=VB;El.options=XB;El.className=xd;El.item=ZB;var Yp=require("react/jsx-runtime");var Pp=require("react/jsx-runtime");var Gp=require("react/jsx-runtime"),wi="k-avatar";var JB=[l.hover,l.focus,l.active,l.selected,l.disabled],jB={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]},Yl={type:"text",size:n.medium,rounded:h.full,fillMode:b.solid,themeColor:u.primary,border:!1},Ro=e=>{let{size:t=Yl.size,rounded:a=Yl.rounded,fillMode:r=Yl.fillMode,themeColor:s=Yl.themeColor,type:i=Yl.type,border:d=Yl.border,...p}=e;return(0,Gp.jsx)("div",{...p,className:o(e.className,wi,C(wi,{size:t,rounded:a,fillMode:r,themeColor:s}),{[`${wi}-bordered`]:d}),children:(0,Gp.jsx)("span",{className:`${wi}-${i}`,children:e.children})})};Ro.states=JB;Ro.options=jB;Ro.className=wi;Ro.defaultOptions=Yl;var UB=require("react/jsx-runtime");var qB=require("react/jsx-runtime");var _B=require("react/jsx-runtime");var Dg=require("react/jsx-runtime"),Ti="k-badge",$B=[],eM={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]},Ai={size:n.medium,fillMode:b.solid,themeColor:u.primary,cutoutBorder:!1},Kr=e=>{let{size:t=Ai.size,fillMode:a=Ai.fillMode,themeColor:r=Ai.themeColor,cutoutBorder:s=Ai.cutoutBorder,rounded:i,position:d,align:p,...m}=e;return(0,Dg.jsx)("span",{...m,className:o(e.className,Ti,C(Ti,{size:t,rounded:i,fillMode:a,themeColor:r}),{[`${Ti}-${d}`]:d,[`k-${p}`]:p,[`${Ti}-border-cutout`]:s}),children:e.children})};Kr.states=$B;Kr.options=eM;Kr.className=Ti;Kr.defaultOptions=Ai;var tM=require("react/jsx-runtime");var oM=require("react/jsx-runtime");var aM=require("react/jsx-runtime");var ka=require("react/jsx-runtime"),bd="k-chip",lM=[l.hover,l.focus,l.active,l.selected,l.disabled],rM={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]},Dr={size:n.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,avatarImage:"/packages/html/assets/avatar.jpg"},To=e=>{let{size:t=Dr.size,rounded:a=Dr.rounded,fillMode:r=Dr.fillMode,themeColor:s=Dr.themeColor,text:i,icon:d,actions:p,showAvatar:m,avatarImage:f=Dr.avatarImage,hover:v,focus:T,active:g,selected:A,disabled:N,...S}=e;return(0,ka.jsxs)("div",{...S,className:o(e.className,bd,C(bd,{size:t,rounded:a,fillMode:r,themeColor:s}),x(bd,{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=lM;To.options=rM;To.className=bd;To.defaultOptions=Dr;var Rg=require("react/jsx-runtime"),Kp="k-chip-list",sM=[],iM={size:[n.small,n.medium,n.large]},Fg={size:n.medium},Ao=e=>{let{size:t=Fg.size,...a}=e;return(0,Rg.jsx)("div",{...a,className:o(e.className,Kp,C(Kp,{size:t})),children:e.children})};Ao.states=sM;Ao.options=iM;Ao.className=Kp;Ao.defaultOptions=Fg;var nM=require("react/jsx-runtime");var dM=require("react/jsx-runtime");var cM=require("react/jsx-runtime");var pM=require("react/jsx-runtime");var Dp=require("react/jsx-runtime");var Ni=require("react/jsx-runtime"),zg="k-color-preview",mM=[],uM={},Ya=e=>{let{color:t,iconName:a,...r}=e;return(0,Ni.jsxs)("span",{...r,className:o(e.className,zg,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&(0,Ni.jsx)(y,{icon:a,className:"k-color-preview-icon"}),(0,Ni.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ya.states=mM;Ya.options=uM;Ya.className=zg;var lo=require("react/jsx-runtime"),Fp="k-loader",kM={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},fM=[],hM={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]},yd={size:n.medium,themeColor:u.primary,animation:"pulsing"},Pa=e=>{let{size:t=yd.size,themeColor:a=yd.themeColor,animation:r=yd.animation,...s}=e,i=(0,lo.jsx)("span",{className:"k-loader-segment"});return(0,lo.jsx)("div",{...s,className:o(e.className,Fp,{[`k-loader-${kM[r]||r}`]:r},C(Fp,{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=fM;Pa.options=hM;Pa.className=Fp;Pa.defaultOptions=yd;var Hg=Pa;var Kl=require("react/jsx-runtime"),Rp="k-loader-container",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]},Gl={size:n.medium,themeColor:u.primary,loaderType:"pulsing",position:"top",overlay:"dark",panel:!1},Ci=e=>{let{size:t=Gl.size,themeColor:a=Gl.themeColor,loaderType:r=Gl.loaderType,position:s=Gl.position,overlay:i=Gl.overlay,panel:d=Gl.panel,...p}=e;return(0,Kl.jsxs)("div",{...p,className:o(e.className,Rp,C(Rp,{size:t}),{[`k-loader-${s}`]:s}),children:[(0,Kl.jsx)("div",{className:`k-loader-container-overlay k-overlay-${i}`}),(0,Kl.jsxs)("div",{className:o("k-loader-container-inner",{"k-loader-container-panel":d}),children:[(0,Kl.jsx)(Hg,{size:t,themeColor:a,animation:r}),(0,Kl.jsx)("div",{className:`k-loader-container-label !k-text-${a}`,children:"Loading..."})]})]})};Ci.states=gM;Ci.options=xM;Ci.className=Rp;Ci.defaultOptions=Gl;var bM=require("react/jsx-runtime");var vM=require("react/jsx-runtime");var yM=require("react/jsx-runtime");var wM=require("react/jsx-runtime");var Wg=require("react/jsx-runtime"),Og="k-skeleton",TM=[],AM={},zp={shape:"text",animation:"pulse"},Ga=e=>{let{shape:t=zp.shape,animation:a=zp.animation,...r}=e;return(0,Wg.jsx)("span",{...r,className:o(e.className,Og,{[`k-skeleton-${t}`]:t,[`k-skeleton-${a}`]:a}),style:e.style})};Ga.states=TM;Ga.options=AM;Ga.className=Og;Ga.defaultOptions=zp;var NM=require("react/jsx-runtime");var Vg=require("react/jsx-runtime"),Qg=e=>(0,Vg.jsx)(Ga,{shape:"rect",...e});var CM=require("react/jsx-runtime");var zo=require("react/jsx-runtime"),Hp="k-form-field",SM=[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(Hp,e.className,x(Hp,{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=SM;ct.className=Hp;var Ka=require("react/jsx-runtime"),Xg="k-form-fieldset",Ho=e=>{let{legend:t,layout:a,cols:r,gutters:s,colSpan:i}=e;return(0,Ka.jsxs)("fieldset",{className:o(Xg,{[`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=Xg;var Oo=require("react/jsx-runtime"),Ad=require("react"),wd="k-form",IM=[],BM={size:[n.small,n.medium,n.large]},Td={size:n.medium,layout:"basic",tag:"form"},fa=e=>{let{size:t=Td.size,orientation:a,layout:r=Td.layout,formButtons:s,cols:i,gutters:d,tag:p=Td.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,Ad.createElement)(ct,{...T.props,orientation:a,key:g})):v.push(T)}):m.type===ct?v.push((0,Ad.createElement)(ct,{...m.props,orientation:a,key:`${new Date().getTime()}`})):m.type===Ho&&v.push((0,Ad.createElement)(Ho,{...m.props,key:`${new Date().getTime()}`}))),(0,Oo.jsxs)(f,{tag:p,className:o(e.className,wd,C(wd,{size:t}),{[`${wd}-${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=IM;fa.options=BM;fa.className=wd;fa.defaultOptions=Td;var Jg=require("react/jsx-runtime"),MM="k-actionsheet-footer",Zg={alignment:"stretched",orientation:"horizontal"},No=e=>{let{alignment:t=Zg.alignment,orientation:a=Zg.orientation,template:r,as:s=r?"div":Z,...i}=e;return(0,Jg.jsx)(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,MM),children:e.children})};var Da=require("react/jsx-runtime"),jg="k-searchbox",LM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],EM={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Op={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=Op.showIcon,icon:N=Op.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,jg),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=LM;rt.options=EM;rt.className=jg;rt.defaultOptions=Op;var YM=require("react/jsx-runtime");var bt=require("react/jsx-runtime"),Ug="k-textbox",PM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],GM={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Dl={showClearButton:!0,showValidationIcon:!0,size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode,separators:!0},q=e=>{let{size:t=Dl.size,rounded:a=Dl.rounded,fillMode:r=Dl.fillMode,separators:s=Dl.separators,showClearButton:i=Dl.showClearButton,showValidationIcon:d=Dl.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,Ug),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=PM;q.options=GM;q.className=Ug;q.defaultOptions=Dl;var KM=require("react/jsx-runtime");var _g=require("react/jsx-runtime");var ex=require("react/jsx-runtime");var Qt=require("react/jsx-runtime"),tx="k-actionsheet-titlebar",DM={},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,tx),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=tx;se.defaultOptions=DM;var Fr=require("react/jsx-runtime"),Wp="k-actionsheet-view",FM=[],RM={},zM={},Rr=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...d}=e,p=(s==null?void 0:s.type)===se&&(0,Fr.jsx)(se,{adaptive:t,...s==null?void 0:s.props}),m=(i==null?void 0:i.type)===No&&(0,Fr.jsx)(No,{...i==null?void 0:i.props});return(0,Fr.jsxs)("div",{...d,className:o(e.className,Wp,{[`${Wp}-animated`]:a}),children:[p,(0,Fr.jsx)("div",{className:"k-actionsheet-content",children:r}),m]})};Rr.states=FM;Rr.options=RM;Rr.className=Wp;Rr.defaultOptions=zM;var Fl=require("react/jsx-runtime"),ox="k-actionsheet",HM=[],OM={},Si={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},pe=e=>{let{side:t=Si.side,fullscreen:a=Si.fullscreen,adaptive:r=Si.adaptive,overlay:s=Si.overlay,template:i,children:d,header:p,footer:m,...f}=e;return(0,Fl.jsxs)("div",{className:"k-actionsheet-container",children:[s&&(0,Fl.jsx)("div",{className:"k-overlay"}),(0,Fl.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,Fl.jsx)("div",{...f,className:o(e.className,ox,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||(0,Fl.jsx)(Rr,{header:p,footer:m,adaptive:r,...e,children:d})})})]})};pe.states=HM;pe.options=OM;pe.className=ox;pe.defaultOptions=Si;var WM=require("react/jsx-runtime");var ro=require("react/jsx-runtime"),Qp="k-actionsheet-item",QM=[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,ro.jsxs)("span",{...m,className:o(e.className,Qp,x(Qp,{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]})};Vp.states=QM;Vp.className=Qp;var ax=require("react/jsx-runtime");var VM=require("react/jsx-runtime");var XM=require("react/jsx-runtime");var ZM=require("react/jsx-runtime");var Fe=require("react/jsx-runtime"),rx="k-dropdownlist",JM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],jM={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},zr={showValue:!0,arrowIconName:"caret-alt-down",size:n.medium,rounded:h.medium,fillMode:b.solid},ie=e=>{let{size:t=zr.size,rounded:a=zr.rounded,fillMode:r=zr.fillMode,arrowIconName:s=zr.arrowIconName,showValue:i=zr.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:Al,...Cr}=e;return(0,Fe.jsxs)(Fe.Fragment,{children:[(0,Fe.jsxs)(Ot,{...Cr,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,rx,{"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:Al,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=JM;ie.options=jM;ie.className=rx;ie.defaultOptions=zr;var UM=require("react/jsx-runtime");var sx=require("react/jsx-runtime");var Xp=require("react/jsx-runtime");var qM=require("react/jsx-runtime");var ix=require("react/jsx-runtime");var nx=require("react/jsx-runtime");var Zp=require("react/jsx-runtime");var Jp=require("react/jsx-runtime");var jp=require("react/jsx-runtime"),Nd="k-radio",_M=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked],$M={size:[n.small,n.medium,n.large]},dx={size:n.medium},ha=e=>{let{id:t,checked:a,hover:r,focus:s,disabled:i,invalid:d,valid:p,required:m,size:f=dx.size,...v}=e;return(0,jp.jsx)("span",{className:"k-radio-wrap",children:(0,jp.jsx)("input",{...v,id:t,type:"radio",checked:a,required:m,className:o(e.className,Nd,C(Nd,{size:f}),x(Nd,{hover:r,focus:s,disabled:i,invalid:d,valid:p,checked:a}))})})};ha.states=_M;ha.options=$M;ha.className=Nd;ha.defaultOptions=dx;var mx=require("react/jsx-runtime"),cx="k-radio-list",eL=[],tL={},px={layout:"vertical"},Hr=e=>{let{layout:t=px.layout,...a}=e;return(0,mx.jsx)("ul",{...a,className:o(e.className,cx,{[`k-list-${t}`]:t}),children:e.children})};Hr.states=eL;Hr.options=tL;Hr.className=cx;Hr.defaultOptions=px;var kx=require("react/jsx-runtime"),ux="k-radio-list-item",oL=[],aL={},lL={},Or=e=>{let{...t}=e;return(0,kx.jsx)("li",{...t,className:o(e.className,ux),children:e.children})};Or.states=oL;Or.options=aL;Or.className=ux;Or.defaultOptions=lL;var rL=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 Se=require("react/jsx-runtime"),Cd=({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 om=require("react/jsx-runtime");var am=require("react/jsx-runtime");var hx=require("react/jsx-runtime"),Ii="k-button-group",iL=[l.disabled],nL={fillMode:[b.solid,b.flat,b.outline,b.clear,b.link]},fx={fillMode:b.solid},G=e=>{let{fillMode:t=fx.fillMode,disabled:a,stretched:r,...s}=e;return(0,hx.jsx)("div",{...s,className:o(e.className,Ii,C(Ii,{fillMode:t}),x(Ii,{disabled:a}),{[`${Ii}-stretched`]:r}),children:e.children})};G.states=iL;G.options=nL;G.className=Ii;G.defaultOptions=fx;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 Hl=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]},zl={size:n.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,showArrow:!0,arrowIconName:"caret-alt-down"},ee=e=>{let{size:t=zl.size,rounded:a=zl.rounded,fillMode:r=zl.fillMode,themeColor:s=zl.themeColor,hover:i,focus:d,active:p,selected:m,disabled:f,icon:v,text:T,showArrow:g=zl.showArrow,arrowIconName:A=zl.arrowIconName,popup:N,opened:S,...B}=e;return(0,Hl.jsxs)(Hl.Fragment,{children:[(0,Hl.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,Hl.jsx)(H,{className:"k-menu-popup",children:N})]})};ee.states=dL;ee.options=cL;ee.className=gx;ee.defaultOptions=zl;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={},Bi=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})};Bi.states=xL;Bi.options=bL;Bi.className=bx;Bi.defaultOptions=vL;var vx=Bi;var mt=require("react/jsx-runtime"),mm="k-menu",yL=[],wL={},Sd={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},So=e=>{let{children:t,orientation:a=Sd.orientation,header:r=Sd.header,scrollable:s,scrollButtonsPosition:i=Sd.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=Sd;var Tx=require("react/jsx-runtime"),um="k-separator",wx={orientation:"horizontal"},Mi=e=>{let{orientation:t=wx.orientation,...a}=e;return(0,Tx.jsx)("li",{...a,className:o(e.className,"k-item",um,{[`${um}-${t}`]:t})})};Mi.className=um;Mi.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===Mi?i.push((0,hm.jsx)(Mi,{})):i.push(d)}),(0,hm.jsx)("ul",{...s,className:o(e.className,km,C(km,{size:a})),children:i})};ga.states=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]},Wr={size:n.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,arrowIconName:"caret-alt-down"},Oe=e=>{let{size:t=Wr.size,rounded:a=Wr.rounded,fillMode:r=Wr.fillMode,themeColor:s=Wr.themeColor,hover:i,fo