@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 319 kB
JavaScript
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"}),h=(e,t)=>{let{valid:a,invalid:r,hover:s,focus:i,checked:n,active:p,selected:m,disabled:f,indeterminate:A,loading:v,empty:b,readonly:y,highlighted:E,...M}=t;return o({"k-valid":a,"k-invalid":r,"k-hover":s,"k-focus":i,"k-checked":n,"k-active":p,"k-selected":m,"k-disabled":f,"k-indeterminate":A&&!n,"k-loading":v,"k-empty":b,"k-readonly":y,"k-highlighted":E},Object.keys(M).reduce((w,I)=>(I.startsWith("k-")?w[I]=M[I]:w[`k-${I}`]=M[I],w),{}))};function Wc(e,t){if(!t)return{};let a=Array.isArray(t)?t:[t];return Object.fromEntries(a.map(r=>[`k-${r}`,!0]))}var d={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},x={small:"small",medium:"medium",large:"large",full:"full"},N={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",generating:"generating",expanded:"expanded"},Qt={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};import{Fragment as FM,jsx as Zx}from"react/jsx-runtime";var au="k-font-icon",YM=[],OM={size:[d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},HM={},hn=e=>{let{size:t,themeColor:a,icon:r,rotate:s,flip:i,...n}=e;return r?Zx("span",{...n,className:o(e.className,au,C(au,{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"})}):Zx(FM,{})};hn.states=YM;hn.options=OM;hn.className=au;hn.defaultOptions=HM;var Jx=hn;import{Fragment as WM,jsx as Qc}from"react/jsx-runtime";var lu="k-svg-icon",GM=[],zM={size:[d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},Ux={viewBox:"0 0 24 24"},xn=e=>{let{size:t,themeColor:a,rotate:r,flip:s,viewBox:i=Ux.viewBox,icon:n,...p}=e;if(!n)return Qc(WM,{});n==="none"&&{...p,className:o(e.className,lu,"k-none")};let m=typeof n=="object"&&n.name&&n.name;return Qc("span",{...p,className:o(e.className,lu,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:Qc("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof n=="object"?n.viewBox:i,dangerouslySetInnerHTML:typeof n=="object"?{__html:n.content}:void 0,children:n?void 0:e.children})})};xn.states=GM;xn.options=zM;xn.className=lu;xn.defaultOptions=Ux;var ru=xn;import*as su from"@progress/kendo-svg-icons";var jx="icon",qx="icons";import{Fragment as _x,jsx as gn}from"react/jsx-runtime";var Vc="k-icon",QM=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),VM=[],XM={size:[d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},iu={viewBox:"0 0 24 24",type:"svg"},g=e=>{let{size:t,themeColor:a,icon:r,type:s=iu.type,rotate:i,flip:n,viewBox:p=iu.viewBox,...m}=e;if(!r)return gn(_x,{});if(s==="svg"){if(r==="none")return gn(ru,{...m,className:o(e.className,Vc),icon:r,size:t});let f=su[r]?r:QM(`${r}-icon`);return su[f]?gn(ru,{...m,className:o(e.className,Vc),icon:su[f],size:t,themeColor:a,rotate:i,flip:n,viewBox:p}):gn(_x,{})}return gn(Jx,{...m,className:o(e.className,Vc),icon:r,size:t,themeColor:a,rotate:i,flip:n})};g.states=VM;g.options=XM;g.defaultOptions=iu;g.className=Vc;g.moduleName=jx;g.folderName=qx;var nu=g;import{Fragment as _M,jsx as Mo,jsxs as bn}from"react/jsx-runtime";var $x="k-map",UM=[],jM={},qM=bn(_M,{children:["\xA9 ",Mo("a",{href:"#",children:"Attribution"})]}),ds={attribution:qM,markerStyle:{zIndex:"1000",left:"500px",top:"300px"},scrollContainerStyle:{transformOrigin:"left top 0px"},horizontalScrollbarStyle:{transformOrigin:"left top 0px",width:"24px"},verticalScrollbarStyle:{transformOrigin:"left top 0px",height:"239px"}},$a=e=>{let{attribution:t=ds.attribution,markerStyle:a=ds.markerStyle,scrollContainerStyle:r=ds.scrollContainerStyle,horizontalScrollbarStyle:s=ds.horizontalScrollbarStyle,verticalScrollbarStyle:i=ds.verticalScrollbarStyle,children:n,...p}=e;return bn("div",{...p,className:o(e.className,$x),children:[bn("div",{className:"km-scroll-wrapper",style:{overflow:"hidden"},children:[Mo("div",{className:"km-scroll-header"}),bn("div",{className:"km-scroll-container",style:r,children:[Mo("div",{className:"k-layer",style:{zIndex:"1000"},children:Mo(g,{className:"k-marker",icon:"map-marker-target",size:"xxlarge",style:a})}),Mo("div",{className:"k-layer",children:n})]}),Mo("div",{className:"km-touch-scrollbar km-horizontal-scrollbar",style:s}),Mo("div",{className:"km-touch-scrollbar km-vertical-scrollbar",style:i})]}),Mo("div",{className:"k-map-controls k-bottom-end",children:Mo("div",{className:"k-attribution",children:t})}),bn("div",{className:"k-map-controls k-top-start",children:[Mo(cs,{}),Mo(ps,{})]})]})};$a.states=UM;$a.options=jM;$a.className=$x;$a.defaultOptions=ds;$a.moduleName="map";$a.folderName="map";import{jsx as tw}from"react/jsx-runtime";var $M=[],ew={},se=e=>{let{type:t,...a}=e;return tw(t,{...a,className:o(e.className),children:e.children})};se.states=$M;se.options=ew;var ce="typography",ke=ce;import{jsx as lw}from"react/jsx-runtime";var eg="k-body",ow=[],aw={},Nn=e=>lw(se,{...e,className:o(e.className,eg),type:"body"});Nn.states=ow;Nn.options=aw;Nn.className=eg;Nn.moduleName=ce;Nn.folderName=ke;import{jsx as iw}from"react/jsx-runtime";var tg="k-pre",rw=[],sw={},An=e=>iw(se,{...e,className:o(e.className,tg),type:"pre"});An.states=rw;An.options=sw;An.className=tg;An.moduleName=ce;An.folderName=ke;import{jsx as cw}from"react/jsx-runtime";var og="k-code",nw=[],dw={},vn=e=>cw(se,{...e,className:o(e.className,og),type:"code"});vn.states=nw;vn.options=dw;vn.className=og;vn.moduleName=ce;vn.folderName=ke;import{jsx as uw}from"react/jsx-runtime";var ag="k-paragraph",pw=[],mw={},Tn=e=>uw(se,{...e,className:o(e.className,ag),type:"p"});Tn.states=pw;Tn.options=mw;Tn.className=ag;Tn.moduleName=ce;Tn.folderName=ke;import{jsx as hw}from"react/jsx-runtime";var lg="k-h1",fw=[],kw={},yn=e=>hw(se,{...e,className:o(e.className,lg),type:"h1"});yn.states=fw;yn.options=kw;yn.className=lg;yn.moduleName=ce;yn.folderName=ke;import{jsx as bw}from"react/jsx-runtime";var rg="k-h2",xw=[],gw={},En=e=>bw(se,{...e,className:o(e.className,rg),type:"h2"});En.states=xw;En.options=gw;En.className=rg;En.moduleName=ce;En.folderName=ke;import{jsx as vw}from"react/jsx-runtime";var sg="k-h3",Nw=[],Aw={},Cn=e=>vw(se,{...e,className:o(e.className,sg),type:"h3"});Cn.states=Nw;Cn.options=Aw;Cn.className=sg;Cn.moduleName=ce;Cn.folderName=ke;import{jsx as Ew}from"react/jsx-runtime";var ig="k-h4",Tw=[],yw={},Mn=e=>Ew(se,{...e,className:o(e.className,ig),type:"h4"});Mn.states=Tw;Mn.options=yw;Mn.className=ig;Mn.moduleName=ce;Mn.folderName=ke;import{jsx as ww}from"react/jsx-runtime";var ng="k-h5",Cw=[],Mw={},wn=e=>ww(se,{...e,className:o(e.className,ng),type:"h5"});wn.states=Cw;wn.options=Mw;wn.className=ng;wn.moduleName=ce;wn.folderName=ke;import{jsx as Iw}from"react/jsx-runtime";var dg="k-h6",Lw=[],Sw={},Ln=e=>Iw(se,{...e,className:o(e.className,dg),type:"h6"});Ln.states=Lw;Ln.options=Sw;Ln.className=dg;Ln.moduleName=ce;Ln.folderName=ke;import{jsx as Dw}from"react/jsx-runtime";var cg="k-display-1",Bw=[],Pw={},Sn=e=>Dw(se,{...e,className:o(e.className,cg),type:"div"});Sn.states=Bw;Sn.options=Pw;Sn.className=cg;Sn.moduleName=ce;Sn.folderName=ke;import{jsx as Yw}from"react/jsx-runtime";var pg="k-display-2",Rw=[],Kw={},In=e=>Yw(se,{...e,className:o(e.className,pg),type:"div"});In.states=Rw;In.options=Kw;In.className=pg;In.moduleName=ce;In.folderName=ke;import{jsx as Fw}from"react/jsx-runtime";var mg="k-display-3",Ow=[],Hw={},Bn=e=>Fw(se,{...e,className:o(e.className,mg),type:"div"});Bn.states=Ow;Bn.options=Hw;Bn.className=mg;Bn.moduleName=ce;Bn.folderName=ke;import{jsx as Ww}from"react/jsx-runtime";var ug="k-display-4",Gw=[],zw={},Pn=e=>Ww(se,{...e,className:o(e.className,ug),type:"div"});Pn.states=Gw;Pn.options=zw;Pn.className=ug;Pn.moduleName=ce;Pn.folderName=ke;var du="action-buttons",fg=du;import{jsx as Xw}from"react/jsx-runtime";var Xc="k-actions",Qw=[],Vw={},cu={alignment:"start",orientation:"horizontal"},Q=e=>{let{alignment:t=cu.alignment,orientation:a=cu.orientation,...r}=e;return Xw("div",{...r,className:o(Xc,{[`${Xc}-${t}`]:t,[`${Xc}-${a}`]:a},e.className),children:e.children})};Q.states=Qw;Q.options=Vw;Q.className=Xc;Q.defaultOptions=cu;Q.moduleName=du;Q.folderName=fg;var kg=Q;var Dn="input",Zc=Dn;import{jsx as Uw}from"react/jsx-runtime";var Jc="k-input",Zw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],Jw={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},Uc={size:d.medium,rounded:d.medium,fillMode:N.solid},L=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p,size:m=Uc.size,rounded:f=Uc.rounded,fillMode:A=Uc.fillMode,...v}=e;return Uw("span",{...v,className:o(e.className,Jc,C(Jc,{size:m,rounded:f,fillMode:A}),h(Jc,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p}))})};L.states=Zw;L.options=Jw;L.className=Jc;L.defaultOptions=Uc;L.moduleName=Dn;L.folderName=Zc;import{jsx as _w}from"react/jsx-runtime";var jc="k-picker",jw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],qw={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},qc={size:d.medium,rounded:x.medium,fillMode:N.solid},bt=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p,size:m=qc.size,rounded:f=qc.rounded,fillMode:A=qc.fillMode,...v}=e;return _w("span",{...v,className:o(e.className,jc,C(jc,{size:m,rounded:f,fillMode:A}),h(jc,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p})),children:e.children})};bt.states=jw;bt.options=qw;bt.className=jc;bt.defaultOptions=qc;bt.moduleName=Dn;bt.folderName=Zc;import{Fragment as tL,jsx as pu}from"react/jsx-runtime";var hg="k-clear-value",$w=[l.disabled,l.loading,l.readonly],eL={},oe=e=>{let{disabled:t,loading:a,readonly:r,value:s}=e;return t||r||a||!s?pu(tL,{}):pu("span",{className:o(e.className,hg),children:pu(g,{icon:"x"})})};oe.states=$w;oe.options=eL;oe.className=hg;import{jsx as lL}from"react/jsx-runtime";var mu="k-input-inner",oL=[],aL={},_c={type:"text",autocomplete:"off",value:"",placeholder:""},pe=e=>{let{value:t=_c.value,type:a=_c.type,placeholder:r=_c.placeholder,autocomplete:s=_c.autocomplete,...i}=e;return lL("input",{...i,type:a,className:o(e.className,mu,C(mu,e)),placeholder:r,autoComplete:s,defaultValue:t})};pe.states=oL;pe.options=aL;pe.className=mu;import{jsx as xg,jsxs as iL}from"react/jsx-runtime";var uu="k-input-inner",rL=[],sL={},wa=e=>{let{value:t,placeholder:a,showValue:r,valueIcon:s,valueIconName:i,...n}=e;return iL("span",{...n,className:o(e.className,uu,C(uu,e)),children:[s,!s&&i&&xg(g,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&xg("span",{className:"k-input-value-text",children:t})]})};wa.states=rL;wa.options=sL;wa.className=uu;import{jsx as cL}from"react/jsx-runtime";var fu="k-input-inner",nL=[],dL={},gg={value:"",placeholder:""},Rn=e=>{let{value:t=gg.value,placeholder:a=gg.placeholder,rows:r,...s}=e;return cL("textarea",{...s,className:o(e.className,fu,C(fu,e)),placeholder:a,rows:r,defaultValue:t})};Rn.states=nL;Rn.options=dL;Rn.className=fu;import{Fragment as mL,jsx as bg}from"react/jsx-runtime";var Ng="k-input-loading-icon",pL=[l.disabled,l.loading],j=e=>{let{disabled:t,loading:a}=e;return t||!a?bg(mL,{}):bg("span",{className:o(e.className,Ng,"k-icon k-i-loading")})};j.states=pL;j.className=Ng;import{Fragment as kL,jsx as Ag}from"react/jsx-runtime";var vg="k-input-validation-icon",uL=[l.valid,l.invalid,l.disabled,l.loading],fL={},J=e=>{let{valid:t,invalid:a,disabled:r,loading:s}=e,i=a?"warning-circle":"check-circle";return r||s||!!!(t||a)?Ag(kL,{}):Ag(g,{className:o(vg),icon:i})};J.states=uL;J.options=fL;J.className=vg;import{Fragment as gL,jsx as Tg}from"react/jsx-runtime";var hL="k-input-prefix",xL={direction:"horizontal"},$=e=>{let{direction:t=xL.direction,...a}=e;return e.children?Tg("span",{...a,className:o(hL,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Tg(gL,{})};import{Fragment as AL,jsx as yg}from"react/jsx-runtime";var bL="k-input-suffix",NL={direction:"horizontal"},ee=e=>{let{direction:t=NL.direction,...a}=e;return e.children?yg("span",{...a,className:o(bL,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):yg(AL,{})};import{jsx as f6}from"react/jsx-runtime";import{jsx as g6}from"react/jsx-runtime";import{jsx as TL}from"react/jsx-runtime";var Eg="k-input-separator",vL={direction:"vertical"},Me=e=>{let{direction:t=vL.direction,...a}=e;return TL("span",{...a,className:o(Eg,e.className,{[`${Eg}-${t}`]:t})})};import{jsx as CL}from"react/jsx-runtime";var $c="k-input-group",yL=[l.disabled],EL={fillMode:[N.solid,N.flat,N.outline,N.clear,N.link]},Cg={fillMode:N.solid},ms=e=>{let{fillMode:t=Cg.fillMode,disabled:a,...r}=e;return CL("div",{...r,className:o(e.className,$c,C($c,{fillMode:t}),h($c,{disabled:a})),children:e.children})};ms.states=yL;ms.options=EL;ms.className=$c;ms.defaultOptions=Cg;var ku="popup",Mg=ku;import{jsx as wg}from"react/jsx-runtime";var Lg="k-animation-container",ML=[],wL={},Sg={positionMode:"absolute"},Vo=e=>{let{positionMode:t=Sg.positionMode,animationStyle:a,offset:r,...s}=e;return wg("div",{...s,style:{...r,...e.style},className:o(e.className,Lg,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:wg("div",{className:"k-child-animation-container",style:a,children:e.children})})};Vo.states=ML;Vo.options=wL;Vo.className=Lg;Vo.defaultOptions=Sg;Vo.moduleName=ku;Vo.folderName=Mg;var hu="popup",Ig=hu;import{jsx as Bg}from"react/jsx-runtime";var Pg="k-popup",LL=[],SL={},Dg={positionMode:"absolute"},H=e=>{let{offset:t,positionMode:a=Dg.positionMode,animationStyle:r,...s}=e;return Bg(Vo,{positionMode:a,offset:t,animationStyle:r,children:Bg("div",{...s,className:o(e.className,Pg),children:e.children})})};H.states=LL;H.options=SL;H.className=Pg;H.defaultOptions=Dg;H.moduleName=hu;H.folderName=Ig;import{jsx as BL}from"react/jsx-runtime";var IL="k-no-data",Kn=e=>BL("span",{className:o(IL,e.className),children:e.children});var La="list",el=La;import{jsx as us,jsxs as Rg}from"react/jsx-runtime";var xu="k-list",PL=[],DL={size:[d.small,d.medium,d.large]},Kg={size:d.medium},z=e=>{let{size:t=Kg.size,virtualization:a,children:r,optionLabel:s,customValue:i,screenReaders:n,...p}=e,m,f,A,v,b=[];return r?r.map((y,E)=>{y.type===we?(y.props.root===!0?(m=y.props.label,y.props.children.map((M,w)=>{b.push(us(D,{...M.props},`optChild-${w}-${new Date().getTime()}`))})):y.props.children.forEach((M,w)=>{let I="";w===0&&(I=y.props.label),b.push(us(D,{className:w===0?"k-first":"",...M.props,groupLabel:I},`groupLabel-${w}-${new Date().getTime()}`))}),f=us(we,{label:m,virtualization:a,children:b})):y.type===D&&(b.push(us(D,{...y.props},`${y.type}-${E}`)),A=us(fs,{virtualization:a,children:b}),n&&(v=Rg(Kn,{className:"k-sr-only",children:[b.length," items found."]})))}):v=us(Kn,{children:"No data found."}),Rg("div",{...p,className:o(e.className,xu,C(xu,{size:t}),{"k-virtual-list":a}),children:[s,i,f,A,v]})};z.states=PL;z.options=DL;z.className=xu;z.defaultOptions=Kg;z.moduleName=La;z.folderName=el;import{jsx as OL}from"react/jsx-runtime";var Yg="k-list-container",RL=[],KL={},YL={},ks=e=>{let{...t}=e;return OL("div",{...t,className:o(e.className,Yg),children:e.children})};ks.states=RL;ks.options=KL;ks.className=Yg;ks.defaultOptions=YL;ks.moduleName=La;ks.folderName=el;import{jsx as ar,jsxs as GL}from"react/jsx-runtime";var gu="k-list",HL=[],FL={size:[d.small,d.medium,d.large]},Og={size:d.medium},Sa=e=>{let{size:t=Og.size,virtualization:a,children:r,...s}=e,i,n,p,m=[];return r?r.map((f,A)=>{f.type===we?(f.props.root===!0?(i=f.props.label,f.props.children.map((v,b)=>{m.push(ar(D,{...v.props},`optChild-${b}-${new Date().getTime()}`))})):(m.push(ar(Hg,{...f.props,children:f.props.label},`listChild-${A}`)),f.props.children.map((v,b)=>{m.push(ar(D,{...v.props},`fwOptChild-${b}-${new Date().getTime()}`))})),n=ar(we,{label:i,virtualization:a,children:m})):f.type===D&&(m.push(ar(D,{...f.props},`${f.type}-${A}`)),p=ar(fs,{virtualization:a,children:m}))}):p=ar(Kn,{children:"No data found."}),GL("div",{...s,className:o(e.className,gu,C(gu,{size:t}),{"k-virtual-list":a}),children:[n,p]})};Sa.states=HL;Sa.options=FL;Sa.className=gu;Sa.defaultOptions=Og;Sa.moduleName=La;Sa.folderName=el;var lr="checkbox",hs=lr;import{jsx as Fg}from"react/jsx-runtime";var ep="k-checkbox",zL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],WL={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full]},bu={size:d.medium,rounded:x.medium},$e=e=>{let{id:t,checked:a,indeterminate:r,hover:s,focus:i,disabled:n,invalid:p,valid:m,required:f,size:A=bu.size,rounded:v=bu.rounded,...b}=e;return Fg("span",{className:"k-checkbox-wrap",children:Fg("input",{...b,id:t,type:"checkbox",defaultChecked:a,required:f,className:o(e.className,ep,C(ep,{size:A,rounded:v}),h(ep,{hover:s,focus:i,disabled:n,invalid:p,valid:m,indeterminate:r,checked:a}))})})};$e.states=zL;$e.options=WL;$e.className=ep;$e.defaultOptions=bu;$e.moduleName=lr;$e.folderName=hs;import{jsx as XL}from"react/jsx-runtime";var Gg="k-checkbox-list",QL=[],VL={},zg={layout:"vertical"},tl=e=>{let{layout:t=zg.layout,...a}=e;return XL("ul",{...a,className:o(e.className,Gg,{[`k-list-${t}`]:t}),children:e.children})};tl.states=QL;tl.options=VL;tl.className=Gg;tl.defaultOptions=zg;tl.moduleName=lr;tl.folderName=hs;import{jsx as jL}from"react/jsx-runtime";var Wg="k-checkbox-list-item",ZL=[],JL={},UL={},ol=e=>{let{...t}=e;return jL("li",{...t,className:o(e.className,Wg),children:e.children})};ol.states=ZL;ol.options=JL;ol.className=Wg;ol.defaultOptions=UL;ol.moduleName=lr;ol.folderName=hs;import{Fragment as G3,jsx as F3,jsxs as z3}from"react/jsx-runtime";import{Fragment as Z3,jsx as X3,jsxs as J3}from"react/jsx-runtime";import{Fragment as $3,jsx as _3,jsxs as eX}from"react/jsx-runtime";import{Fragment as rX,jsx as lX,jsxs as sX}from"react/jsx-runtime";import{jsx as cX}from"react/jsx-runtime";import{jsx as fX}from"react/jsx-runtime";import{jsx as tp,jsxs as eS}from"react/jsx-runtime";var Au="k-list-item",qL=[l.hover,l.focus,l.selected,l.disabled],_L={},$L={},D=e=>{let{text:t,groupLabel:a,group:r,showIcon:s,iconName:i,showCheckbox:n,checked:p,hover:m,focus:f,selected:A,disabled:v,...b}=e,y=t||e.children;return eS("li",{...b,className:o(e.className,r?"k-list-group-item":Au,h(Au,{hover:m,focus:f,disabled:v,selected:A})),children:[n&&tp($e,{checked:p}),s&&tp(g,{icon:i}),tp("span",{className:"k-list-item-text",children:y}),a&&a!==""&&tp("div",{className:"k-list-item-group-label",children:a})]})};D.states=qL;D.options=_L;D.className=Au;D.defaultOptions=$L;D.moduleName=La;D.folderName=el;import{jsx as vu,jsxs as oS}from"react/jsx-runtime";var tS="k-list-content",fs=e=>{let{virtualization:t,...a}=e;return oS("div",{...a,className:o(tS,e.className),children:[vu("ul",{className:o("k-list-ul"),children:e.children}),t&&vu("div",{className:"k-height-container",children:vu("div",{})})]})};import{jsx as Qg}from"react/jsx-runtime";var aS="k-list-group-sticky-header",Vg=e=>Qg("div",{className:o(aS,e.className),children:Qg("div",{className:"k-list-header-text",children:e.children})});import{Fragment as lS,jsx as Xg,jsxs as rS}from"react/jsx-runtime";var we=e=>{let{virtualization:t,label:a}=e;return rS(lS,{children:[a&&Xg(Vg,{children:a}),e.children&&Xg(fs,{virtualization:t,children:e.children})]})};import{jsx as Zg}from"react/jsx-runtime";var sS="k-list-group-item",Hg=e=>Zg("li",{className:o(sS,e.className),children:Zg("span",{className:"k-list-item-text",children:e.children})});import{jsx as cS}from"react/jsx-runtime";var Tu="k-list-optionlabel",iS=[l.hover,l.focus,l.selected,l.disabled],nS={},dS={},op=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...n}=e;return cS("div",{...n,className:o(Tu,h(Tu,{hover:a,focus:r,selected:s,disabled:i})),children:t})};op.states=iS;op.options=nS;op.className=Tu;op.defaultOptions=dS;import{jsx as fS}from"react/jsx-runtime";var yu="k-list-custom-value",pS=[l.hover,l.focus,l.selected,l.disabled],mS={},uS={},nt=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...n}=e;return fS("div",{...n,className:o(yu,h(yu,{hover:a,focus:r,selected:s,disabled:i})),children:t})};nt.states=pS;nt.options=mS;nt.className=yu;nt.defaultOptions=uS;import{jsx as _X}from"react/jsx-runtime";import{jsx as oZ}from"react/jsx-runtime";import{jsx as sZ,jsxs as iZ}from"react/jsx-runtime";import{jsx as pZ,jsxs as mZ}from"react/jsx-runtime";import{jsx as hZ}from"react/jsx-runtime";import{jsx as NZ,jsxs as AZ}from"react/jsx-runtime";import{jsx as EZ,jsxs as CZ}from"react/jsx-runtime";var Eu="button",Jg=Eu;import{Fragment as gS,jsx as Yn,jsxs as Ug}from"react/jsx-runtime";var On="k-button",kS=["icon-button"],hS=[l.hover,l.focus,l.active,l.selected,l.disabled,l.generating],xS={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},rr={size:d.medium,rounded:x.medium,fillMode:N.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},c=e=>{let{size:t=rr.size,rounded:a=rr.rounded,fillMode:r=rr.fillMode,themeColor:s=rr.themeColor,showArrow:i=rr.showArrow,arrowIconName:n=rr.arrowIconName,variant:p,hover:m,focus:f,active:A,selected:v,disabled:b,icon:y,text:E,iconClassName:M,...w}=e,I=y!==void 0,P=e.children!==void 0;return Ug("button",{...w,className:o(e.className,On,Wc(On,p),C(On,{size:t,rounded:a,fillMode:r,themeColor:s}),h(On,{hover:m,focus:f,active:A,disabled:b,selected:v}),{"k-icon-button":!E&&!P&&I}),children:[y&&Yn(g,{className:o(M,"k-button-icon"),icon:y}),E?Ug(gS,{children:[E&&Yn("span",{className:"k-button-text",children:E}),e.children]}):e.children&&Yn("span",{className:"k-button-text",children:e.children}),i&&Yn("span",{className:"k-menu-button-arrow k-button-arrow",children:Yn(g,{icon:n})})]})};c.states=hS;c.options=xS;c.variants=kS;c.className=On;c.defaultOptions=rr;c.moduleName=Eu;c.folderName=Jg;import{jsx as bS}from"react/jsx-runtime";var Ve=e=>bS(c,{icon:"folder",...e,children:void 0});import{jsx as NS}from"react/jsx-runtime";var wo=e=>NS(c,{icon:"folder",children:"Button",...e});import{jsx as sJ}from"react/jsx-runtime";var Cu="suggestion",jg=Cu;import{jsx as Mu,jsxs as TS}from"react/jsx-runtime";var qg="k-suggestion-group",AS=[],vS={},_g={layout:"scrollable"},Xo=e=>{let{layout:t=_g.layout,...a}=e,r=Mu("div",{...a,className:o(qg,{"k-suggestion-group-scrollable":t=="scrollable"},e.className),children:e.children});return t=="scrollButtons"?TS("div",{className:"k-suggestion-scrollwrap",children:[Mu(c,{icon:"chevron-left"}),r,Mu(c,{icon:"chevron-right"})]}):r};Xo.states=AS;Xo.options=vS;Xo.className=qg;Xo.defaultOptions=_g;Xo.moduleName=Cu;Xo.folderName=jg;import{jsx as MS}from"react/jsx-runtime";var ap="k-suggestion",yS=[l.active,l.hover,l.focus],ES={themeColor:[u.base,u.primary,u.secondary]},CS={text:"Suggestion"},al=e=>{let{themeColor:t,active:a,hover:r,focus:s,text:i,...n}=e;return MS("span",{...n,className:o(e.className,ap,h(ap,{hover:r,active:a,focus:s}),C(ap,{themeColor:t})),children:i})};al.states=yS;al.options=ES;al.className=ap;al.item=CS;import{Fragment as EJ,jsx as yJ,jsxs as CJ}from"react/jsx-runtime";import{Fragment as IJ,jsx as SJ,jsxs as BJ}from"react/jsx-runtime";import{Fragment as YJ,jsx as KJ,jsxs as OJ}from"react/jsx-runtime";var wu="avatar",$g=wu;import{jsx as eb}from"react/jsx-runtime";var Hn="k-avatar";var wS=[l.hover,l.focus,l.active,l.selected,l.disabled],LS={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},sr={type:"text",size:d.medium,rounded:x.full,fillMode:N.solid,themeColor:u.primary,border:!1},Vt=e=>{let{size:t=sr.size,rounded:a=sr.rounded,fillMode:r=sr.fillMode,themeColor:s=sr.themeColor,type:i=sr.type,border:n=sr.border,...p}=e;return eb("div",{...p,className:o(e.className,Hn,C(Hn,{size:t,rounded:a,fillMode:r,themeColor:s}),{[`${Hn}-bordered`]:n}),children:eb("span",{className:`${Hn}-${i}`,children:e.children})})};Vt.states=wS;Vt.options=LS;Vt.className=Hn;Vt.defaultOptions=sr;Vt.moduleName=wu;Vt.folderName=$g;import{jsx as $J}from"react/jsx-runtime";import{jsx as aU}from"react/jsx-runtime";import{jsx as iU}from"react/jsx-runtime";var Lu="badge",ob=Lu;import{jsx as BS}from"react/jsx-runtime";var Fn="k-badge",SS=[],IS={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.outline],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Gn={size:d.medium,fillMode:N.solid,themeColor:u.primary,cutoutBorder:!1},ll=e=>{let{size:t=Gn.size,fillMode:a=Gn.fillMode,themeColor:r=Gn.themeColor,cutoutBorder:s=Gn.cutoutBorder,rounded:i,position:n,align:p,...m}=e;return BS("span",{...m,className:o(e.className,Fn,C(Fn,{size:t,rounded:i,fillMode:a,themeColor:r}),{[`${Fn}-${n}`]:n,[`k-${p}`]:p,[`${Fn}-border-cutout`]:s}),children:e.children})};ll.states=SS;ll.options=IS;ll.className=Fn;ll.defaultOptions=Gn;ll.moduleName=Lu;ll.folderName=ob;import{jsx as AU}from"react/jsx-runtime";import{jsx as CU}from"react/jsx-runtime";import{jsx as RU}from"react/jsx-runtime";var zn="chip",lp=zn;import{jsx as xs,jsxs as RS}from"react/jsx-runtime";var rp="k-chip",PS=[l.hover,l.focus,l.active,l.selected,l.disabled],DS={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.outline],themeColor:[u.base,u.success,u.warning,u.error,u.info]},gs={size:d.medium,rounded:x.medium,fillMode:N.solid,themeColor:u.base,avatarImage:"/packages/html/assets/avatar.jpg"},Xt=e=>{let{size:t=gs.size,rounded:a=gs.rounded,fillMode:r=gs.fillMode,themeColor:s=gs.themeColor,text:i,icon:n,actions:p,showAvatar:m,avatarImage:f=gs.avatarImage,hover:A,focus:v,active:b,selected:y,disabled:E,...M}=e;return RS("div",{...M,className:o(e.className,rp,C(rp,{size:t,rounded:a,fillMode:r,themeColor:s}),h(rp,{hover:A,focus:v,active:b,disabled:E,selected:y})),children:[n&&xs(g,{className:"k-chip-icon",icon:n,size:"small"}),m&&xs(Vt,{className:"k-chip-avatar",type:"image",children:xs("img",{src:f})}),xs("span",{className:"k-chip-content",children:e.children?e.children:i&&xs("span",{className:"k-chip-label",children:i})}),p&&xs("span",{className:"k-chip-actions",children:p})]})};Xt.states=PS;Xt.options=DS;Xt.className=rp;Xt.defaultOptions=gs;Xt.moduleName=zn;Xt.folderName=lp;import{jsx as OS}from"react/jsx-runtime";var Su="k-chip-list",KS=[],YS={size:[d.small,d.medium,d.large]},ab={size:d.medium},Zt=e=>{let{size:t=ab.size,...a}=e;return OS("div",{...a,className:o(e.className,Su,C(Su,{size:t})),children:e.children})};Zt.states=KS;Zt.options=YS;Zt.className=Su;Zt.defaultOptions=ab;Zt.moduleName=zn;Zt.folderName=lp;import{jsx as jU}from"react/jsx-runtime";import{jsx as e5}from"react/jsx-runtime";import{jsx as l5}from"react/jsx-runtime";import{jsx as d5}from"react/jsx-runtime";import{Fragment as k5,jsx as f5,jsxs as h5}from"react/jsx-runtime";import{jsx as lb,jsxs as GS}from"react/jsx-runtime";var rb="k-color-preview",HS=[],FS={},rl=e=>{let{color:t,iconName:a,...r}=e;return GS("span",{...r,className:o(e.className,rb,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&lb(g,{icon:a,className:"k-color-preview-icon"}),lb("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};rl.states=HS;rl.options=FS;rl.className=rb;var Wn="loader",ip=Wn;import{Fragment as Iu,jsx as sb,jsxs as np}from"react/jsx-runtime";var Bu="k-loader",zS={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},WS=[],QS={size:[d.small,d.medium,d.large],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},dp={size:d.medium,themeColor:u.primary,animation:"pulsing"},Zo=e=>{let{size:t=dp.size,themeColor:a=dp.themeColor,animation:r=dp.animation,...s}=e,i=sb("span",{className:"k-loader-segment"});return sb("div",{...s,className:o(e.className,Bu,{[`k-loader-${zS[r]||r}`]:r},C(Bu,{size:t,themeColor:a})),children:np("div",{className:"k-loader-canvas",children:[r==="pulsing"&&np(Iu,{children:[i,i]}),r==="infinite-spinner"&&np(Iu,{children:[i,i,i]}),r==="converging-spinner"&&np(Iu,{children:[i,i,i,i]})]})})};Zo.states=WS;Zo.options=QS;Zo.className=Bu;Zo.defaultOptions=dp;Zo.moduleName=Wn;Zo.folderName=ip;var ib=Zo;import{jsx as Pu,jsxs as nb}from"react/jsx-runtime";var Du="k-loader-container",VS=[],XS={size:[d.small,d.medium,d.large],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},nr={size:d.medium,themeColor:u.primary,loaderType:"pulsing",position:"top",overlay:"dark",panel:!1},dr=e=>{let{size:t=nr.size,themeColor:a=nr.themeColor,loaderType:r=nr.loaderType,position:s=nr.position,overlay:i=nr.overlay,panel:n=nr.panel,...p}=e;return nb("div",{...p,className:o(e.className,Du,C(Du,{size:t}),{[`k-loader-${s}`]:s}),children:[Pu("div",{className:`k-loader-container-overlay k-overlay-${i}`}),nb("div",{className:o("k-loader-container-inner",{"k-loader-container-panel":n}),children:[Pu(ib,{size:t,themeColor:a,animation:r}),Pu("div",{className:"k-loader-container-label",children:"Loading..."})]})]})};dr.states=VS;dr.options=XS;dr.className=Du;dr.defaultOptions=nr;dr.moduleName=Wn;dr.folderName=ip;import{jsx as V5}from"react/jsx-runtime";import{jsx as U5}from"react/jsx-runtime";import{jsx as $5}from"react/jsx-runtime";import{jsx as a9}from"react/jsx-runtime";var Ru="skeleton",db=Ru;import{jsx as jS}from"react/jsx-runtime";var Ku="k-skeleton",ZS=["circle","text","rect"],JS=[],US={},Yu={variant:"text",shape:"text",animation:"pulse"},Lo=e=>{let{variant:t,shape:a,animation:r=Yu.animation,...s}=e,i=`skeleton-${t||a||Yu.variant}`;return jS("span",{...s,className:o(e.className,Ku,Wc(Ku,i),{[`k-skeleton-${r}`]:r}),style:e.style})};Lo.states=JS;Lo.options=US;Lo.variants=ZS;Lo.className=Ku;Lo.defaultOptions=Yu;Lo.moduleName=Ru;Lo.folderName=db;import{jsx as b9}from"react/jsx-runtime";import{jsx as qS}from"react/jsx-runtime";var Ou=e=>qS(Lo,{shape:"rect",...e});import{jsx as C9}from"react/jsx-runtime";import{jsx as Qn,jsxs as Hu}from"react/jsx-runtime";var Fu="k-form-field",_S=[l.disabled],dt=e=>{let{label:t,orientation:a,optional:r,editor:s,hint:i,error:n,info:p,disabled:m,dir:f,colSpan:A}=e;return Hu("div",{className:o(Fu,e.className,h(Fu,{disabled:m}),{[`k-col-span-${A}`]:A}),dir:f,children:[t&&Hu("label",{className:o("k-label","k-form-label"),children:[t,r&&Qn("span",{className:"k-label-optional",children:"(Optional)"}),p&&Qn("span",{className:"k-field-info",children:"(field info)"})]}),a==="horizontal"&&!t&&Qn("span",{className:"k-label k-form-label k-label-empty"}),Hu("div",{className:"k-form-field-wrap",children:[s,i&&Qn("div",{className:"k-form-hint",children:i}),n&&Qn("div",{className:"k-form-error",children:n})]})]})};dt.states=_S;dt.className=Fu;import{Fragment as $S,jsx as Gu,jsxs as eI}from"react/jsx-runtime";var cb="k-form-fieldset",Jo=e=>{let{legend:t,layout:a,cols:r,gutters:s,colSpan:i}=e;return eI("fieldset",{className:o(cb,{[`k-col-span-${i}`]:i}),children:[t&&Gu("legend",{className:"k-form-legend",children:t}),a==="grid"?Gu("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}):Gu($S,{children:e.children})]})};Jo.className=cb;var pb="form",mb="forms";import{Fragment as aI,jsx as Vn,jsxs as lI}from"react/jsx-runtime";import{createElement as zu}from"react";var cp="k-form",tI=[],oI={size:[d.small,d.medium,d.large]},pp={size:d.medium,layout:"basic",tag:"form"},So=e=>{let{size:t=pp.size,orientation:a,layout:r=pp.layout,formButtons:s,cols:i,gutters:n,tag:p=pp.tag,children:m}=e,f=({tag:v,className:b,children:y})=>v==="form"?Vn("form",{className:b,children:y}):Vn("div",{className:b,children:y}),A=[];return m&&(Array.isArray(m)?m.map((v,b)=>{v.type===dt?A.push(zu(dt,{...v.props,orientation:a,key:b})):A.push(v)}):m.type===dt?A.push(zu(dt,{...m.props,orientation:a,key:`${new Date().getTime()}`})):m.type===Jo&&A.push(zu(Jo,{...m.props,key:`${new Date().getTime()}`}))),lI(f,{tag:p,className:o(e.className,cp,C(cp,{size:t}),{[`${cp}-${a}`]:a}),children:[r==="grid"?Vn("div",{className:o("k-form-layout","k-d-grid",{[`k-grid-cols-${i}`]:i}),style:{...typeof n=="string"&&{gap:n},...typeof n=="object"&&n.rows&&{rowGap:n.rows},...typeof n=="object"&&n.cols&&{columnGap:n.cols}},children:A}):Vn(aI,{children:A}),s&&Vn("div",{className:"k-form-buttons",children:s})]})};So.states=tI;So.options=oI;So.className=cp;So.defaultOptions=pp;So.moduleName=pb;So.folderName=mb;import{jsx as sI}from"react/jsx-runtime";var rI="k-actionsheet-footer",ub={alignment:"stretched",orientation:"horizontal"},Io=e=>{let{alignment:t=ub.alignment,orientation:a=ub.orientation,template:r,as:s=r?"div":Q,...i}=e;return sI(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,rI),children:e.children})};var Wu="searchbox",fb=Wu;import{jsx as Xn,jsxs as dI}from"react/jsx-runtime";var kb="k-searchbox",iI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],nI={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},Qu={showIcon:!0,icon:"search",size:L.defaultOptions.size,rounded:L.defaultOptions.rounded,fillMode:L.defaultOptions.fillMode},Xe=e=>{let{value:t,placeholder:a,size:r,rounded:s,fillMode:i,hover:n,focus:p,valid:m,invalid:f,required:A,loading:v,disabled:b,showIcon:y=Qu.showIcon,icon:E=Qu.icon,...M}=e;return dI(L,{...M,size:r,rounded:s,fillMode:i,hover:n,focus:p,valid:m,invalid:f,required:A,loading:v,disabled:b,className:o(e.className,kb),children:[y&&Xn(g,{className:"k-input-icon",icon:E}),Xn(pe,{placeholder:a,value:t}),Xn(j,{...e}),Xn(J,{...e}),Xn(oe,{...e})]})};Xe.states=iI;Xe.options=nI;Xe.className=kb;Xe.defaultOptions=Qu;Xe.moduleName=Wu;Xe.folderName=fb;import{jsx as ij}from"react/jsx-runtime";var Vu="textbox",hb=Vu;import{Fragment as xb,jsx as sl,jsxs as Xu}from"react/jsx-runtime";var gb="k-textbox",cI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],pI={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},cr={showClearButton:!0,showValidationIcon:!0,size:L.defaultOptions.size,rounded:L.defaultOptions.rounded,fillMode:L.defaultOptions.fillMode,separators:!0},U=e=>{let{size:t=cr.size,rounded:a=cr.rounded,fillMode:r=cr.fillMode,separators:s=cr.separators,showClearButton:i=cr.showClearButton,showValidationIcon:n=cr.showValidationIcon,prefix:p,suffix:m,type:f,value:A,placeholder:v,hover:b,focus:y,valid:E,invalid:M,required:w,loading:I,disabled:P,readonly:O,...W}=e;return Xu(L,{...W,size:t,rounded:a,fillMode:r,hover:b,focus:y,valid:E,invalid:M,required:w,loading:I,disabled:P,readonly:O,className:o(e.className,gb),children:[p&&Xu(xb,{children:[sl($,{children:p}),s&&sl(Me,{})]}),sl(pe,{placeholder:v,value:A,type:f}),n&&sl(J,{valid:E,invalid:M,loading:I,disabled:P}),sl(j,{loading:I,disabled:P}),i&&sl(oe,{loading:I,disabled:P,readonly:O,value:A}),m&&Xu(xb,{children:[s&&sl(Me,{}),sl(ee,{children:m})]})]})};U.states=cI;U.options=pI;U.className=gb;U.defaultOptions=cr;U.moduleName=Vu;U.folderName=hb;import{jsx as Nj}from"react/jsx-runtime";import{Fragment as Cj,jsx as Ej}from"react/jsx-runtime";import{Fragment as Bj,jsx as Ij}from"react/jsx-runtime";import{jsx as il,jsxs as Zu}from"react/jsx-runtime";var Ab="k-actionsheet-titlebar",mI={},ie=e=>{let{title:t,subtitle:a,actionsStart:r,actionsEnd:s,filter:i,input:n,inputValue:p,inputPlaceholder:m,adaptive:f,children:A,...v}=e;return Zu("div",{...v,className:o(e.className,Ab),children:[Zu("div",{className:"k-actionsheet-titlebar-group",children:[r&&il("div",{className:"k-actionsheet-actions",children:r}),!A&&Zu("div",{className:"k-actionsheet-title",children:[t&&il("div",{className:"k-text-center",children:t}),a&&il("div",{className:"k-actionsheet-subtitle k-text-center",children:a})]}),A&&il("div",{className:"k-actionsheet-title",children:A}),s&&il("div",{className:"k-actionsheet-actions",children:s})]}),(n||i)&&il("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:n?il(U,{value:p,placeholder:m,size:f?"large":"medium"}):il(Xe,{placeholder:"Filter",size:f?"large":"medium"})})]})};ie.className=Ab;ie.defaultOptions=mI;import{jsx as Ju,jsxs as hI}from"react/jsx-runtime";var Uu="k-actionsheet-view",uI=[],fI={},kI={},bs=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...n}=e,p=s?.type===ie&&Ju(ie,{adaptive:t,...s?.props}),m=i?.type===Io&&Ju(Io,{...i?.props});return hI("div",{...n,className:o(e.className,Uu,{[`${Uu}-animated`]:a}),children:[p,Ju("div",{className:"k-actionsheet-content",children:r}),m]})};bs.states=uI;bs.options=fI;bs.className=Uu;bs.defaultOptions=kI;var Zn="action-sheet",mp=Zn;import{jsx as up,jsxs as bI}from"react/jsx-runtime";var vb="k-actionsheet",xI=[],gI={},Jn={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ae=e=>{let{side:t=Jn.side,fullscreen:a=Jn.fullscreen,adaptive:r=Jn.adaptive,overlay:s=Jn.overlay,template:i,children:n,header:p,footer:m,...f}=e;return bI("div",{className:"k-actionsheet-container",children:[s&&up("div",{className:"k-overlay"}),up(Vo,{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:up("div",{...f,className:o(e.className,vb,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||up(bs,{header:p,footer:m,adaptive:r,...e,children:n})})})]})};ae.states=xI;ae.options=gI;ae.className=vb;ae.defaultOptions=Jn;ae.moduleName=Zn;ae.folderName=mp;import{jsx as TI}from"react/jsx-runtime";var Tb="k-actionsheet-container",NI=[],AI={},vI={},Ns=e=>{let{children:t,...a}=e;return TI("div",{...a,className:Tb,children:t})};Ns.states=NI;Ns.options=AI;Ns.className=Tb;Ns.defaultOptions=vI;Ns.moduleName=Zn;Ns.folderName=mp;import{jsx as i7}from"react/jsx-runtime";import{Fragment as EI,jsx as Un,jsxs as ju}from"react/jsx-runtime";var qu="k-actionsheet-item",yI=[l.hover,l.focus,l.selected,l.disabled],_u=e=>{let{iconName:t,text:a,description:r,hover:s,focus:i,selected:n,disabled:p,...m}=e;return ju("span",{...m,className:o(e.className,qu,h(qu,{hover:s,focus:i,selected:n,disabled:p})),children:[!e.children&&Un(EI,{children:ju("span",{className:"k-actionsheet-action",children:[t&&Un("span",{className:"k-icon-wrap",children:Un(g,{className:"k-actionsheet-item-icon",icon:t})}),ju("span",{className:"k-actionsheet-item-text",children:[a&&Un("span",{className:"k-actionsheet-item-title",children:a}),r&&Un("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};_u.states=yI;_u.className=qu;import{jsx as h7,jsxs as x7}from"react/jsx-runtime";import{jsx as A7}from"react/jsx-runtime";import{jsx as E7}from"react/jsx-runtime";import{jsx as L7}from"react/jsx-runtime";var Eb="dropdown-list",Cb="dropdownlist";import{Fragment as wI,jsx as Lt,jsxs as $u}from"react/jsx-runtime";var Mb="k-dropdownlist",CI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],MI={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},As={showValue:!0,arrowIconName:"caret-alt-down",size:d.medium,rounded:x.medium,fillMode:N.solid},te=e=>{let{size:t=As.size,rounded:a=As.rounded,fillMode:r=As.fillMode,arrowIconName:s=As.arrowIconName,showValue:i=As.showValue,valueIconName:n,prefix:p,suffix:m,value:f,placeholder:A,hover:v,focus:b,valid:y,invalid:E,required:M,loading:w,disabled:I,readonly:P,popup:O,opened:W,adaptive:Ce,adaptiveSettings:_e,adaptiveTitle:gt,adaptiveSubtitle:Co,adaptiveFilter:or,...ns}=e;return $u(wI,{children:[$u(bt,{...ns,size:t,rounded:a,fillMode:r,hover:v,focus:b,valid:y,invalid:E,required:M,loading:w,disabled:I,readonly:P,className:o(e.className,Mb,{"k-icon-picker":!i&&n}),children:[Lt($,{children:p}),Lt(wa,{placeholder:A,value:f,showValue:i,valueIconName:n}),Lt(J,{valid:y,invalid:E,loading:w,disabled:I}),Lt(j,{loading:w,disabled:I}),Lt(ee,{children:m}),Lt(c,{className:"k-input-button",icon:s,rounded:null,size:e.size,fillMode:e.fillMode})]}),W&&O&&Lt(H,{className:"k-list-container k-dropdownlist-popup",children:O}),Ce&&Lt(ae,{adaptive:!0,..._e,header:Lt(ie,{actionsEnd:Lt(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:or,inputValue:f,inputPlaceholder:A,title:gt,subtitle:Co}),children:Lt("div",{className:"k-list-container",children:$u(z,{size:"large",children:[Lt(D,{text:"List item"}),Lt(D,{text:"List item"}),Lt(D,{text:"List item"})]})})})]})};te.states=CI;te.options=MI;te.className=Mb;te.defaultOptions=As;te.moduleName=Eb;te.folderName=Cb;import{jsx as oq}from"react/jsx-runtime";import{jsx as iq,jsxs as nq}from"react/jsx-runtime";import{Fragment as hq,jsx as fq,jsxs as kq}from"react/jsx-runtime";import{jsx as Nq}from"react/jsx-runtime";import{jsx as Eq,jsxs as Cq}from"react/jsx-runtime";import{jsx as Iq,jsxs as Bq}from"react/jsx-runtime";import{Fragment as Fq,jsx as Oq,jsxs as Hq}from"react/jsx-runtime";import{Fragment as Jq,jsx as Xq,jsxs as Zq}from"react/jsx-runtime";var mr="radio",vs=mr;import{jsx as wb}from"react/jsx-runtime";var fp="k-radio",LI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked],SI={size:[d.small,d.medium,d.large]},Lb={size:d.medium},Bo=e=>{let{id:t,checked:a,hover:r,focus:s,disabled:i,invalid:n,valid:p,required:m,size:f=Lb.size,...A}=e;return wb("span",{className:"k-radio-wrap",children:wb("input",{...A,id:t,type:"radio",checked:a,required:m,className:o(e.className,fp,C(fp,{size:f}),h(fp,{hover:r,focus:s,disabled:i,invalid:n,valid:p,checked:a}))})})};Bo.states=LI;Bo.options=SI;Bo.className=fp;Bo.defaultOptions=Lb;Bo.moduleName=mr;Bo.folderName=vs;import{jsx as PI}from"react/jsx-runtime";var Sb="k-radio-list",II=[],BI={},Ib={layout:"vertical"},nl=e=>{let{layout:t=Ib.layout,...a}=e;return PI("ul",{...a,className:o(e.className,Sb,{[`k-list-${t}`]:t}),children:e.children})};nl.states=II;nl.options=BI;nl.className=Sb;nl.defaultOptions=Ib;nl.moduleName=mr;nl.folderName=vs;import{jsx as YI}from"react/jsx-runtime";var Bb="k-radio-list-item",DI=[],RI={},KI={},dl=e=>{let{...t}=e;return YI("li",{...t,className:o(e.className,Bb),children:e.children})};dl.states=DI;dl.options=RI;dl.className=Bb;dl.defaultOptions=KI;dl.moduleName=mr;dl.folderName=vs;import{jsx as A_}from"react/jsx-runtime";import{Fragment as C_,jsx as E_,jsxs as M_}from"react/jsx-runtime";import{Fragment as B_,jsx as I_,jsxs as P_}from"react/jsx-runtime";import{Fragment as H_,jsx as Y_,jsxs as O_}from"react/jsx-runtime";import{Fragment as Q_,jsx as W_,jsxs as V_}from"react/jsx-runtime";import{Fragment as j_,jsx as U_,jsxs as q_}from"react/jsx-runtime";import{Fragment as HI,jsx as St,jsxs as Ts}from"react/jsx-runtime";var kp=({size:e,...t})=>St(So,{formButtons:Ts(HI,{children:[St(c,{className:"k-form-submit",themeColor:"primary",size:e,children:"Submit"}),St(c,{className:"k-form-clear",size:e,children:"Clear"})]}),children:Ts(Jo,{legend:"Form Legend",children:[St(dt,{label:"Label",editor:St(U,{size:e})}),St(dt,{label:"Label",hint:"Hint text",editor:St(te,{value:"Dropdown List",size:e})}),St(dt,{label:"City",editor:Ts("ul",{className:"k-radio-list k-list-horizontal",children:[Ts("li",{className:"k-radio-list-item",children:[St(Bo,{checked:!0,size:e}),St("label",{className:"k-radio-label",children:"Label"})]}),Ts("li",{className:"k-radio-list-item",children:[St(Bo,{size:e}),St("label",{className:"k-radio-label",children:"Label"})]}),Ts("li",{className:"k-radio-list-item",children:[St(Bo,{size:e}),St("label",{className:"k-radio-label",children:"Label"})]})]})})]}),size:e,...t});import{Fragment as T$,jsx as v$,jsxs as y$}from"react/jsx-runtime";import{Fragment as I$,jsx as S$,jsxs as B$}from"react/jsx-runtime";var tf="button",Pb=tf;import{jsx as zI}from"react/jsx-runtime";var jn="k-button-group",FI=[l.disabled],GI={fillMode:[N.solid,N.flat,N.outline,N.clear,N.link]},Db={fillMode:N.solid},B=e=>{let{fillMode:t=Db.fillMode,disabled:a,stretched:r,...s}=e;return zI("div",{...s,className:o(e.className,jn,C(jn,{fillMode:t}),h(jn,{disabled:a}),{[`${jn}-stretched`]:r}),children:e.children})};B.states=FI;B.options=GI;B.className=jn;B.defaultOptions=Db;B.moduleName=tf;B.folderName=Pb;import{Fragment as j$,jsx as U$,jsxs as q$}from"react/jsx-runtime";import{Fragment as aee,jsx as oee,jsxs as lee}from"react/jsx-runtime";import{Fragment as cee,jsx as dee,jsxs as pee}from"react/jsx-runtime";import{Fragment as xee,jsx as hee,jsxs as gee}from"react/jsx-runtime";var of="menu-button",Rb=of;import{Fragment as VI,jsx as Kb,jsxs as XI}from"react/jsx-runtime";var Yb="k-menu-button",WI=[l.hover,l.focus,l.active,l.selected,l.disabled],QI={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},ur={size:d.medium,rounded:x.medium,fillMode:N.solid,themeColor:u.base,showArrow:!0,arrowIconName:"caret-alt-down"},X=e=>{let{size:t=ur.size,rounded:a=ur.rounded,fillMode:r=ur.fillMode,themeColor:s=ur.themeColor,hover:i,focus:n,active:p,selected:m,disabled:f,icon:A,text:v,showArrow:b=ur.showArrow,arrowIconName:y=ur.arrowIconName,popup:E,opened:M,...w}=e;return XI(VI,{children:[Kb(c,{...w,className:o(e.className,Yb),text:v,size:t,rounded:a,fillMode:r,themeColor:s,hover:i,focus:n,active:p,selected:m,disabled:f,icon:A,showArrow:b,arrowIconName:y}),M&&E&&Kb(H,{className:"k-menu-popup",children:E})]})};X.states=WI;X.options=QI;X.className=Yb;X.defaultOptions=ur;X.moduleName=of;X.folderName=Rb;import{jsx as Ree}from"react/jsx-runtime";import{jsx as Hee}from"react/jsx-runtime";import{jsx as Wee}from"react/jsx-runtime";var Jt="menu",io=Jt;import{Fragment as UI,jsx as ys,jsxs as Ob}from"react/jsx-runtime";var lf="k-menu-item",ZI=[l.hover,l.focus,l.active,l.selected,l.disabled],JI={},Hb={iconPosition:"before"},et=e=>{let{hover:t,focus:a,active:r,selected:s,disabled:i,icon:n,text:p,first:m,last:f,showArrow:A,arrowIconName:v,iconPosition:b=Hb.iconPosition,dir:y,children:E,...M}=e,w=ys(UI,{});E&&E.forEach(P=>{if(P.type==="MenuItemContent"){w.props.children.push(P);return}});let I=v;return I||(I=y==="rtl"?"caret-alt-left":"caret-alt-right"),Ob("li",{...M,className:o(e.className,lf,"k-item",h(lf,{focus:a,disabled:i,hover:t,active:r,selected:s}),{"k-first":m,"k-last":f}),children:[Ob("span",{className:o("k-link k-menu-link"),children:[n&&b==="before"&&ys(g,{className:"k-menu-link-icon",icon:n}),ys("span",{className:"k-menu-link-text",children:p}),n&&b==="after"&&ys(g,{className:"k-menu-link-icon",icon:n}),A&&ys("span",{className:"k-menu-expand-arrow",children:ys(g,{icon:I})})]}),w]})};et.states=ZI;et.options=JI;et.className=lf;et.defaultOptions=Hb;et.moduleName=Jt;et.folderName=io;import{Fragment as _I,jsx as Es,jsxs as Fb}from"react/jsx-runtime";var rf="k-menu-item",jI=[l.hover,l.focus,l.active,l.selected,l.disabled],qI={},sf={dir:"ltr",iconPosition:"before"},Ut=e=>{let{hover:t,focus:a,active:r,selected:s,disabled:i,icon:n,text:p,first:m,last:f,showArrow:A,arrowIconName:v,iconPosition:b=sf.iconPosition,dir:y=sf.dir,children:E,popup:M,...w}=e,I=Es(_I,{});E&&E.forEach(O=>{if(O.type==="MenuListItemContent"){I.props.children.push(O);return}});let P=v;return P||(P=y==="rtl"?"caret-alt-left":"caret-alt-right"),Fb("li",{...w,className:o(e.className,rf,"k-item",h(rf,{focus:a,disabled:i}),{"k-first":m,"k-last":f}),children:[Fb("span",{className:o("k-link k-menu-link",h("k-menu-link",{hover:t,active:r,selected:s,disabled:i})),children:[n&&b==="before"&&Es(g,{className:"k-menu-link-icon",icon:n}),Es("span",{className:"k-menu-link-text",children:p}),n&&b==="after"&&Es(g,{className:"k-menu-link-icon",icon:n}),A&&Es("span",{className:"k-menu-expand-arrow",children:Es(g,{icon:P})})]}),I,M]})};Ut.states=jI;Ut.options=qI;Ut.className=rf;Ut.defaultOptions=sf;Ut.moduleName=Jt;Ut.folderName=io;im