UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

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