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