@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;var bt="column-menu",Lt=bt;import{jsx as UM}from"react/jsx-runtime";var du="k-column-menu",ZM=[],JM={size:[d.small,d.medium,d.large]},cu={view:"list",size:d.medium},$a=e=>{let{view:t=cu.view,size:a=cu.size,...r}=e;return UM("div",{...r,className:o(e.className,du,C(du,{size:a}),{"k-column-menu-tabbed":t==="tabbed"}),children:e.children})};$a.states=ZM;$a.options=JM;$a.className=du;$a.defaultOptions=cu;$a.moduleName=bt;$a.folderName=Lt;import{jsx as $x}from"react/jsx-runtime";var pu="k-column-list",jM=[],qM={size:[d.small,d.medium,d.large]},eg={size:d.medium},ds=e=>{let{size:t=eg.size,...a}=e;return $x("div",{className:"k-column-list-wrapper",children:$x("div",{...a,className:o(e.className,pu,C(pu,{size:t})),children:e.children})})};ds.states=jM;ds.options=qM;ds.className=pu;ds.defaultOptions=eg;ds.moduleName=bt;ds.folderName=Lt;var ar="checkbox",cs=ar;import{jsx as tg}from"react/jsx-runtime";var Xc="k-checkbox",_M=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],$M={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full]},mu={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=mu.size,rounded:v=mu.rounded,...b}=e;return tg("span",{className:"k-checkbox-wrap",children:tg("input",{...b,id:t,type:"checkbox",defaultChecked:a,required:f,className:o(e.className,Xc,C(Xc,{size:A,rounded:v}),h(Xc,{hover:s,focus:i,disabled:n,invalid:p,valid:m,indeterminate:r,checked:a}))})})};$e.states=_M;$e.options=$M;$e.className=Xc;$e.defaultOptions=mu;$e.moduleName=ar;$e.folderName=cs;import{jsx as ow}from"react/jsx-runtime";var og="k-checkbox-list",ew=[],tw={},ag={layout:"vertical"},el=e=>{let{layout:t=ag.layout,...a}=e;return ow("ul",{...a,className:o(e.className,og,{[`k-list-${t}`]:t}),children:e.children})};el.states=ew;el.options=tw;el.className=og;el.defaultOptions=ag;el.moduleName=ar;el.folderName=cs;import{jsx as sw}from"react/jsx-runtime";var lg="k-checkbox-list-item",aw=[],lw={},rw={},tl=e=>{let{...t}=e;return sw("li",{...t,className:o(e.className,lg),children:e.children})};tl.states=aw;tl.options=lw;tl.className=lg;tl.defaultOptions=rw;tl.moduleName=ar;tl.folderName=cs;import{Fragment as lQ,jsx as aQ,jsxs as rQ}from"react/jsx-runtime";import{Fragment as cQ,jsx as dQ,jsxs as pQ}from"react/jsx-runtime";import{Fragment as hQ,jsx as kQ,jsxs as xQ}from"react/jsx-runtime";import{Fragment as vQ,jsx as AQ,jsxs as TQ}from"react/jsx-runtime";import{jsx as MQ}from"react/jsx-runtime";import{jsx as IQ}from"react/jsx-runtime";import{jsx as rg,jsxs as cw}from"react/jsx-runtime";var fu="k-column-list-item",iw=[l.focus,l.disabled,l.hover],nw={},dw={},Zc=e=>{let{label:t,checked:a,focus:r,hover:s,disabled:i,...n}=e;return cw("label",{...n,className:o(e.className,fu,h(fu,{focus:r,hover:s,disabled:i})),children:[rg($e,{disabled:i,checked:a}),rg("span",{className:"k-checkbox-label",children:t})]})};Zc.states=iw;Zc.options=nw;Zc.className=fu;Zc.defaultOptions=dw;import{jsx as ku,jsxs as sg}from"react/jsx-runtime";var hu="k-columnmenu-item",pw=[l.focus,l.selected],mw={},uw={},wa=e=>{let{focus:t,selected:a,text:r,startIcon:s,endIcon:i,sortIndex:n,...p}=e;return sg("div",{...p,className:o(e.className,hu,h(hu,{focus:t,selected:a})),children:[s&&ku(g,{icon:s}),r,i&&sg("span",{className:"k-columnmenu-indicators",children:[ku(g,{icon:i}),n&&ku("span",{className:"k-sort-index",children:n})]}),e.children]})};wa.states=pw;wa.options=mw;wa.className=hu;wa.defaultOptions=uw;wa.moduleName=bt;wa.folderName=Lt;import{jsx as eV}from"react/jsx-runtime";import{jsx as kw}from"react/jsx-runtime";var fw="k-columnmenu-item-content",ig=e=>kw("div",{...e,className:o(e.className,fw,"k-columns-item"),children:e.children});import{jsx as ng}from"react/jsx-runtime";var dg="k-filter-menu",hw=[],xw={},gw={},ol=e=>{let{...t}=e;return ng("form",{...t,className:o(e.className,dg),children:ng("div",{className:"k-filter-menu-container",children:e.children})})};ol.states=hw;ol.options=xw;ol.className=dg;ol.defaultOptions=gw;ol.moduleName=bt;ol.folderName=Lt;import{jsx as pV}from"react/jsx-runtime";import{jsx as xu,jsxs as Tw}from"react/jsx-runtime";var bw="k-item",Nw={size:[d.small,d.medium,d.large]},Aw=[],vw={size:d.medium},Jc=e=>{let{text:t,size:a,...r}=e;return xu("li",{...r,className:o(e.className,bw),children:Tw("label",{className:"k-label k-checkbox-label",children:[xu($e,{size:a}),xu("span",{children:t})]})})};Jc.states=Aw;Jc.options=Nw;Jc.defaultOptions=vw;import{jsx as Cw}from"react/jsx-runtime";var gu="k-group-menu",yw=[],Ew={size:[d.small,d.medium,d.large]},cg={size:d.medium},ps=e=>{let{size:t=cg.size,...a}=e;return Cw("div",{...a,className:o(e.className,gu,C(gu,{size:t})),children:e.children})};ps.states=yw;ps.options=Ew;ps.className=gu;ps.defaultOptions=cg;ps.moduleName=bt;ps.folderName=Lt;import{Fragment as Sw,jsx as Uc,jsxs as pg}from"react/jsx-runtime";var bu="k-group-menu-item",Mw=[l.hover,l.selected],ww={},Lw={},ms=e=>{let{hover:t,selected:a,text:r,actionsStart:s,actionsEnd:i,...n}=e;return pg("div",{...n,className:o(e.className,bu,h(bu,{hover:t,selected:a})),children:[s&&Uc("span",{className:"k-group-menu-item-actions",children:s}),Uc("span",{className:"k-group-item-text",children:r}),i&&pg(Sw,{children:[Uc("span",{className:"k-spacer"}),Uc("span",{className:"k-group-menu-item-actions",children:i})]}),e.children]})};ms.states=Mw;ms.options=ww;ms.className=bu;ms.defaultOptions=Lw;ms.moduleName=bt;ms.folderName=Lt;import{jsx as lr}from"react/jsx-runtime";var Nu="k-group-menu-item-action",Iw=[l.hover,l.disabled,l.selected],Bw={size:[d.small,d.medium,d.large]},mg={size:d.medium};var jc=e=>{let{hover:t,disabled:a,selected:r,size:s=mg.size,type:i,...n}=e,p;switch(i){case"remove":p=lr(g,{icon:"x-circle",size:s});break;case"add":p=lr(g,{icon:"plus-circle",size:s});break;case"drag":p=lr(g,{icon:"handle-drag-dots",size:s});break;case"up":p=lr(g,{icon:"chevron-up",size:s});break;case"down":p=lr(g,{icon:"chevron-down",size:s});break;default:p=lr(g,{icon:i,size:s});break}return lr("span",{...n,className:o(e.className,Nu,h(Nu,{selected:r,hover:t,disabled:a}),`k-group-menu-item-${i}-action`),children:p})};jc.options=Iw;jc.options=Bw;jc.className=Nu;jc.defaultOptions=mg;import{jsx as IV}from"react/jsx-runtime";import{Fragment as OV,jsx as KV,jsxs as YV}from"react/jsx-runtime";import{jsx as Kw}from"react/jsx-runtime";var ug="k-tabstrip-items",Pw=[],Dw={},Rw={tabAlignment:"start"},bn=e=>{let{children:t,tabAlignment:a,...r}=e;return Kw("ul",{...r,className:o(e.className,ug,"k-reset",`k-tabstrip-items-${a}`),children:t})};bn.states=Pw;bn.options=Dw;bn.className=ug;bn.defaultOptions=Rw;var fg=bn;import{jsx as Hw}from"react/jsx-runtime";var kg="k-tabstrip-items-wrapper",Yw=[],Ow={},hg={orientation:"horizontal"},Nn=e=>{let{children:t,orientation:a=hg.orientation,...r}=e;return Hw("div",{...r,className:o(e.className,kg,{"k-hstack":a==="horizontal","k-vstack":a==="vertical"}),children:t})};Nn.states=Yw;Nn.options=Ow;Nn.className=kg;Nn.defaultOptions=hg;var xg=Nn;var An="tabstrip",qc=An;import{jsx as La,jsxs as gg}from"react/jsx-runtime";var rr="k-tabstrip",Fw=[],Gw={size:[d.small,d.medium,d.large]},vn={size:d.medium,position:"top",tabAlignment:"start",scrollButtons:"around"},Mo=e=>{let{size:t=vn.size,scrollable:a,children:r,tabStripItems:s,position:i=vn.position,tabAlignment:n=vn.tabAlignment,scrollButtons:p=vn.scrollButtons,dir:m,scrollingPosition:f,...A}=e,v={top:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},bottom:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},right:{prev:"up",next:"down"},left:{prev:"up",next:"down"}},b={top:"horizontal",bottom:"horizontal",left:"vertical",right:"vertical"},y={start:"start",center:"center",end:"end",justify:"justify",stretched:"stretched"};return gg("div",{dir:m,...A,className:o(rr,e.className,{[`${rr}-${i}`]:i,[`${rr}-scrollable`]:a,[`${rr}-scrollable-overlay`]:a&&(p==="hidden"||!p),[`${rr}-scrollable-${f}`]:f&&f!=="both"},C(rr,{size:t})),children:[i==="bottom"&&r,gg(xg,{orientation:b[i],children:[a&&(p==="around"||p==="start")&&La("span",{className:o("k-tabstrip-prev","k-button",C("k-button",{size:t,fillMode:N.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:La(g,{className:"k-button-icon",icon:`caret-alt-${v[i].prev}`})}),a&&p==="start"&&La("span",{className:o("k-tabstrip-next","k-button",C("k-button",{size:t,fillMode:N.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:La(g,{className:"k-button-icon",icon:`caret-alt-${v[i].next}`})}),La(fg,{className:o({"k-tabstrip-items-scroll":a&&p==="hidden"}),tabAlignment:y[n],children:s}),a&&p==="end"&&La("span",{className:o("k-tabstrip-prev","k-button",C("k-button",{size:t,fillMode:N.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:La(g,{className:"k-button-icon",icon:`caret-alt-${v[i].prev}`})}),a&&(p==="around"||p==="end")&&La("span",{className:o("k-tabstrip-next","k-button",C("k-button",{size:t,fillMode:N.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:La(g,{className:"k-button-icon",icon:`caret-alt-${v[i].next}`})})]}),i!=="bottom"&&r]})};Mo.states=Fw;Mo.options=Gw;Mo.className=rr;Mo.defaultOptions=vn;Mo.moduleName=An;Mo.folderName=qc;import{jsx as Vw}from"react/jsx-runtime";var bg="k-tabstrip-wrapper",zw=[],Ww={},Qw={},us=e=>{let{...t}=e;return Vw("div",{...t,className:o(e.className,bg),children:e.children})};us.states=zw;us.options=Ww;us.className=bg;us.defaultOptions=Qw;us.moduleName=An;us.folderName=qc;import{jsx as Jw}from"react/jsx-runtime";var Xw=[],Zw={},se=e=>{let{type:t,...a}=e;return Jw(t,{...a,className:o(e.className),children:e.children})};se.states=Xw;se.options=Zw;var ce="typography",ke=ce;import{jsx as qw}from"react/jsx-runtime";var Ng="k-body",Uw=[],jw={},Tn=e=>qw(se,{...e,className:o(e.className,Ng),type:"body"});Tn.states=Uw;Tn.options=jw;Tn.className=Ng;Tn.moduleName=ce;Tn.folderName=ke;import{jsx as eL}from"react/jsx-runtime";var Ag="k-pre",_w=[],$w={},yn=e=>eL(se,{...e,className:o(e.className,Ag),type:"pre"});yn.states=_w;yn.options=$w;yn.className=Ag;yn.moduleName=ce;yn.folderName=ke;import{jsx as aL}from"react/jsx-runtime";var vg="k-code",tL=[],oL={},En=e=>aL(se,{...e,className:o(e.className,vg),type:"code"});En.states=tL;En.options=oL;En.className=vg;En.moduleName=ce;En.folderName=ke;import{jsx as sL}from"react/jsx-runtime";var Tg="k-paragraph",lL=[],rL={},Cn=e=>sL(se,{...e,className:o(e.className,Tg),type:"p"});Cn.states=lL;Cn.options=rL;Cn.className=Tg;Cn.moduleName=ce;Cn.folderName=ke;import{jsx as dL}from"react/jsx-runtime";var yg="k-h1",iL=[],nL={},Mn=e=>dL(se,{...e,className:o(e.className,yg),type:"h1"});Mn.states=iL;Mn.options=nL;Mn.className=yg;Mn.moduleName=ce;Mn.folderName=ke;import{jsx as mL}from"react/jsx-runtime";var Eg="k-h2",cL=[],pL={},wn=e=>mL(se,{...e,className:o(e.className,Eg),type:"h2"});wn.states=cL;wn.options=pL;wn.className=Eg;wn.moduleName=ce;wn.folderName=ke;import{jsx as kL}from"react/jsx-runtime";var Cg="k-h3",uL=[],fL={},Ln=e=>kL(se,{...e,className:o(e.className,Cg),type:"h3"});Ln.states=uL;Ln.options=fL;Ln.className=Cg;Ln.moduleName=ce;Ln.folderName=ke;import{jsx as gL}from"react/jsx-runtime";var Mg="k-h4",hL=[],xL={},Sn=e=>gL(se,{...e,className:o(e.className,Mg),type:"h4"});Sn.states=hL;Sn.options=xL;Sn.className=Mg;Sn.moduleName=ce;Sn.folderName=ke;import{jsx as AL}from"react/jsx-runtime";var wg="k-h5",bL=[],NL={},In=e=>AL(se,{...e,className:o(e.className,wg),type:"h5"});In.states=bL;In.options=NL;In.className=wg;In.moduleName=ce;In.folderName=ke;import{jsx as yL}from"react/jsx-runtime";var Lg="k-h6",vL=[],TL={},Bn=e=>yL(se,{...e,className:o(e.className,Lg),type:"h6"});Bn.states=vL;Bn.options=TL;Bn.className=Lg;Bn.moduleName=ce;Bn.folderName=ke;import{jsx as ML}from"react/jsx-runtime";var Sg="k-display-1",EL=[],CL={},Pn=e=>ML(se,{...e,className:o(e.className,Sg),type:"div"});Pn.states=EL;Pn.options=CL;Pn.className=Sg;Pn.moduleName=ce;Pn.folderName=ke;import{jsx as SL}from"react/jsx-runtime";var Ig="k-display-2",wL=[],LL={},Dn=e=>SL(se,{...e,className:o(e.className,Ig),type:"div"});Dn.states=wL;Dn.options=LL;Dn.className=Ig;Dn.moduleName=ce;Dn.folderName=ke;import{jsx as PL}from"react/jsx-runtime";var Bg="k-display-3",IL=[],BL={},Rn=e=>PL(se,{...e,className:o(e.className,Bg),type:"div"});Rn.states=IL;Rn.options=BL;Rn.className=Bg;Rn.moduleName=ce;Rn.folderName=ke;import{jsx as KL}from"react/jsx-runtime";var Pg="k-display-4",DL=[],RL={},Kn=e=>KL(se,{...e,className:o(e.className,Pg),type:"div"});Kn.states=DL;Kn.options=RL;Kn.className=Pg;Kn.moduleName=ce;Kn.folderName=ke;var Au="action-buttons",Dg=Au;import{jsx as HL}from"react/jsx-runtime";var _c="k-actions",YL=[],OL={},vu={alignment:"start",orientation:"horizontal"},Q=e=>{let{alignment:t=vu.alignment,orientation:a=vu.orientation,...r}=e;return HL("div",{...r,className:o(_c,{[`${_c}-${t}`]:t,[`${_c}-${a}`]:a},e.className),children:e.children})};Q.states=YL;Q.options=OL;Q.className=_c;Q.defaultOptions=vu;Q.moduleName=Au;Q.folderName=Dg;var Rg=Q;var Yn="input",$c=Yn;import{jsx as zL}from"react/jsx-runtime";var ep="k-input",FL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],GL={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},tp={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=tp.size,rounded:f=tp.rounded,fillMode:A=tp.fillMode,...v}=e;return zL("span",{...v,className:o(e.className,ep,C(ep,{size:m,rounded:f,fillMode:A}),h(ep,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p}))})};L.states=FL;L.options=GL;L.className=ep;L.defaultOptions=tp;L.moduleName=Yn;L.folderName=$c;import{jsx as VL}from"react/jsx-runtime";var op="k-picker",WL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],QL={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},ap={size:d.medium,rounded:x.medium,fillMode:N.solid},Nt=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p,size:m=ap.size,rounded:f=ap.rounded,fillMode:A=ap.fillMode,...v}=e;return VL("span",{...v,className:o(e.className,op,C(op,{size:m,rounded:f,fillMode:A}),h(op,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p})),children:e.children})};Nt.states=WL;Nt.options=QL;Nt.className=op;Nt.defaultOptions=ap;Nt.moduleName=Yn;Nt.folderName=$c;import{Fragment as JL,jsx as Tu}from"react/jsx-runtime";var Kg="k-clear-value",XL=[l.disabled,l.loading,l.readonly],ZL={},oe=e=>{let{disabled:t,loading:a,readonly:r,value:s}=e;return t||r||a||!s?Tu(JL,{}):Tu("span",{className:o(e.className,Kg),children:Tu(g,{icon:"x"})})};oe.states=XL;oe.options=ZL;oe.className=Kg;import{jsx as qL}from"react/jsx-runtime";var yu="k-input-inner",UL=[],jL={},lp={type:"text",autocomplete:"off",value:"",placeholder:""},pe=e=>{let{value:t=lp.value,type:a=lp.type,placeholder:r=lp.placeholder,autocomplete:s=lp.autocomplete,...i}=e;return qL("input",{...i,type:a,className:o(e.className,yu,C(yu,e)),placeholder:r,autoComplete:s,defaultValue:t})};pe.states=UL;pe.options=jL;pe.className=yu;import{jsx as Yg,jsxs as eS}from"react/jsx-runtime";var Eu="k-input-inner",_L=[],$L={},Sa=e=>{let{value:t,placeholder:a,showValue:r,valueIcon:s,valueIconName:i,...n}=e;return eS("span",{...n,className:o(e.className,Eu,C(Eu,e)),children:[s,!s&&i&&Yg(g,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&Yg("span",{className:"k-input-value-text",children:t})]})};Sa.states=_L;Sa.options=$L;Sa.className=Eu;import{jsx as aS}from"react/jsx-runtime";var Cu="k-input-inner",tS=[],oS={},Og={value:"",placeholder:""},On=e=>{let{value:t=Og.value,placeholder:a=Og.placeholder,rows:r,...s}=e;return aS("textarea",{...s,className:o(e.className,Cu,C(Cu,e)),placeholder:a,rows:r,defaultValue:t})};On.states=tS;On.options=oS;On.className=Cu;import{Fragment as rS,jsx as Hg}from"react/jsx-runtime";var Fg="k-input-loading-icon",lS=[l.disabled,l.loading],j=e=>{let{disabled:t,loading:a}=e;return t||!a?Hg(rS,{}):Hg("span",{className:o(e.className,Fg,"k-icon k-i-loading")})};j.states=lS;j.className=Fg;import{Fragment as nS,jsx as Gg}from"react/jsx-runtime";var zg="k-input-validation-icon",sS=[l.valid,l.invalid,l.disabled,l.loading],iS={},J=e=>{let{valid:t,invalid:a,disabled:r,loading:s}=e,i=a?"warning-circle":"check-circle";return r||s||!!!(t||a)?Gg(nS,{}):Gg(g,{className:o(zg),icon:i})};J.states=sS;J.options=iS;J.className=zg;import{Fragment as pS,jsx as Wg}from"react/jsx-runtime";var dS="k-input-prefix",cS={direction:"horizontal"},$=e=>{let{direction:t=cS.direction,...a}=e;return e.children?Wg("span",{...a,className:o(dS,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Wg(pS,{})};import{Fragment as fS,jsx as Qg}from"react/jsx-runtime";var mS="k-input-suffix",uS={direction:"horizontal"},ee=e=>{let{direction:t=uS.direction,...a}=e;return e.children?Qg("span",{...a,className:o(mS,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Qg(fS,{})};import{jsx as IX}from"react/jsx-runtime";import{jsx as RX}from"react/jsx-runtime";import{jsx as hS}from"react/jsx-runtime";var Vg="k-input-separator",kS={direction:"vertical"},Me=e=>{let{direction:t=kS.direction,...a}=e;return hS("span",{...a,className:o(Vg,e.className,{[`${Vg}-${t}`]:t})})};import{jsx as bS}from"react/jsx-runtime";var rp="k-input-group",xS=[l.disabled],gS={fillMode:[N.solid,N.flat,N.outline,N.clear,N.link]},Xg={fillMode:N.solid},fs=e=>{let{fillMode:t=Xg.fillMode,disabled:a,...r}=e;return bS("div",{...r,className:o(e.className,rp,C(rp,{fillMode:t}),h(rp,{disabled:a})),children:e.children})};fs.states=xS;fs.options=gS;fs.className=rp;fs.defaultOptions=Xg;var Mu="popup",Zg=Mu;import{jsx as Jg}from"react/jsx-runtime";var Ug="k-animation-container",NS=[],AS={},jg={positionMode:"absolute"},Vo=e=>{let{positionMode:t=jg.positionMode,animationStyle:a,offset:r,...s}=e;return Jg("div",{...s,style:{...r,...e.style},className:o(e.className,Ug,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:Jg("div",{className:"k-child-animation-container",style:a,children:e.children})})};Vo.states=NS;Vo.options=AS;Vo.className=Ug;Vo.defaultOptions=jg;Vo.moduleName=Mu;Vo.folderName=Zg;var wu="popup",qg=wu;import{jsx as _g}from"react/jsx-runtime";var $g="k-popup",vS=[],TS={},eb={positionMode:"absolute"},H=e=>{let{offset:t,positionMode:a=eb.positionMode,animationStyle:r,...s}=e;return _g(Vo,{positionMode:a,offset:t,animationStyle:r,children:_g("div",{...s,className:o(e.className,$g),children:e.children})})};H.states=vS;H.options=TS;H.className=$g;H.defaultOptions=eb;H.moduleName=wu;H.folderName=qg;import{jsx as ES}from"react/jsx-runtime";var yS="k-no-data",Hn=e=>ES("span",{className:o(yS,e.className),children:e.children});var Ia="list",ll=Ia;import{jsx as ks,jsxs as tb}from"react/jsx-runtime";var Lu="k-list",CS=[],MS={size:[d.small,d.medium,d.large]},ob={size:d.medium},z=e=>{let{size:t=ob.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(ks(D,{...M.props},`optChild-${w}-${new Date().getTime()}`))})):y.props.children.forEach((M,w)=>{let I="";w===0&&(I=y.props.label),b.push(ks(D,{className:w===0?"k-first":"",...M.props,groupLabel:I},`groupLabel-${w}-${new Date().getTime()}`))}),f=ks(we,{label:m,virtualization:a,children:b})):y.type===D&&(b.push(ks(D,{...y.props},`${y.type}-${E}`)),A=ks(hs,{virtualization:a,children:b}),n&&(v=tb(Hn,{className:"k-sr-only",children:[b.length," items found."]})))}):v=ks(Hn,{children:"No data found."}),tb("div",{...p,className:o(e.className,Lu,C(Lu,{size:t}),{"k-virtual-list":a}),children:[s,i,f,A,v]})};z.states=CS;z.options=MS;z.className=Lu;z.defaultOptions=ob;z.moduleName=Ia;z.folderName=ll;import{jsx as IS}from"react/jsx-runtime";var ab="k-list-container",wS=[],LS={},SS={},xs=e=>{let{...t}=e;return IS("div",{...t,className:o(e.className,ab),children:e.children})};xs.states=wS;xs.options=LS;xs.className=ab;xs.defaultOptions=SS;xs.moduleName=Ia;xs.folderName=ll;import{jsx as sr,jsxs as DS}from"react/jsx-runtime";var Su="k-list",BS=[],PS={size:[d.small,d.medium,d.large]},lb={size:d.medium},Ba=e=>{let{size:t=lb.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(sr(D,{...v.props},`optChild-${b}-${new Date().getTime()}`))})):(m.push(sr(rb,{...f.props,children:f.props.label},`listChild-${A}`)),f.props.children.map((v,b)=>{m.push(sr(D,{...v.props},`fwOptChild-${b}-${new Date().getTime()}`))})),n=sr(we,{label:i,virtualization:a,children:m})):f.type===D&&(m.push(sr(D,{...f.props},`${f.type}-${A}`)),p=sr(hs,{virtualization:a,children:m}))}):p=sr(Hn,{children:"No data found."}),DS("div",{...s,className:o(e.className,Su,C(Su,{size:t}),{"k-virtual-list":a}),children:[n,p]})};Ba.states=BS;Ba.options=PS;Ba.className=Su;Ba.defaultOptions=lb;Ba.moduleName=Ia;Ba.folderName=ll;import{jsx as sp,jsxs as OS}from"react/jsx-runtime";var Iu="k-list-item",RS=[l.hover,l.focus,l.selected,l.disabled],KS={},YS={},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 OS("li",{...b,className:o(e.className,r?"k-list-group-item":Iu,h(Iu,{hover:m,focus:f,disabled:v,selected:A})),children:[n&&sp($e,{checked:p}),s&&sp(g,{icon:i}),sp("span",{className:"k-list-item-text",children:y}),a&&a!==""&&sp("div",{className:"k-list-item-group-label",children:a})]})};D.states=RS;D.options=KS;D.className=Iu;D.defaultOptions=YS;D.moduleName=Ia;D.folderName=ll;import{jsx as Bu,jsxs as FS}from"react/jsx-runtime";var HS="k-list-content",hs=e=>{let{virtualization:t,...a}=e;return FS("div",{...a,className:o(HS,e.className),children:[Bu("ul",{className:o("k-list-ul"),children:e.children}),t&&Bu("div",{className:"k-height-container",children:Bu("div",{})})]})};import{jsx as sb}from"react/jsx-runtime";var GS="k-list-group-sticky-header",ib=e=>sb("div",{className:o(GS,e.className),children:sb("div",{className:"k-list-header-text",children:e.children})});import{Fragment as zS,jsx as nb,jsxs as WS}from"react/jsx-runtime";var we=e=>{let{virtualization:t,label:a}=e;return WS(zS,{children:[a&&nb(ib,{children:a}),e.children&&nb(hs,{virtualization:t,children:e.children})]})};import{jsx as db}from"react/jsx-runtime";var QS="k-list-group-item",rb=e=>db("li",{className:o(QS,e.className),children:db("span",{className:"k-list-item-text",children:e.children})});import{jsx as JS}from"react/jsx-runtime";var Pu="k-list-optionlabel",VS=[l.hover,l.focus,l.selected,l.disabled],XS={},ZS={},ip=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...n}=e;return JS("div",{...n,className:o(Pu,h(Pu,{hover:a,focus:r,selected:s,disabled:i})),children:t})};ip.states=VS;ip.options=XS;ip.className=Pu;ip.defaultOptions=ZS;import{jsx as _S}from"react/jsx-runtime";var Du="k-list-custom-value",US=[l.hover,l.focus,l.selected,l.disabled],jS={},qS={},nt=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...n}=e;return _S("div",{...n,className:o(Du,h(Du,{hover:a,focus:r,selected:s,disabled:i})),children:t})};nt.states=US;nt.options=jS;nt.className=Du;nt.defaultOptions=qS;import{jsx as fJ}from"react/jsx-runtime";import{jsx as gJ}from"react/jsx-runtime";import{jsx as vJ,jsxs as TJ}from"react/jsx-runtime";import{jsx as MJ,jsxs as wJ}from"react/jsx-runtime";import{jsx as BJ}from"react/jsx-runtime";import{jsx as KJ,jsxs as YJ}from"react/jsx-runtime";import{jsx as GJ,jsxs as zJ}from"react/jsx-runtime";var Ru="button",cb=Ru;import{Fragment as oI,jsx as Fn,jsxs as pb}from"react/jsx-runtime";var Gn="k-button",$S=["icon-button"],eI=[l.hover,l.focus,l.active,l.selected,l.disabled,l.generating],tI={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]},ir={size:d.medium,rounded:x.medium,fillMode:N.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},c=e=>{let{size:t=ir.size,rounded:a=ir.rounded,fillMode:r=ir.fillMode,themeColor:s=ir.themeColor,showArrow:i=ir.showArrow,arrowIconName:n=ir.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 pb("button",{...w,className:o(e.className,Gn,Wc(Gn,p),C(Gn,{size:t,rounded:a,fillMode:r,themeColor:s}),h(Gn,{hover:m,focus:f,active:A,disabled:b,selected:v}),{"k-icon-button":!E&&!P&&I}),children:[y&&Fn(g,{className:o(M,"k-button-icon"),icon:y}),E?pb(oI,{children:[E&&Fn("span",{className:"k-button-text",children:E}),e.children]}):e.children&&Fn("span",{className:"k-button-text",children:e.children}),i&&Fn("span",{className:"k-menu-button-arrow k-button-arrow",children:Fn(g,{icon:n})})]})};c.states=eI;c.options=tI;c.variants=$S;c.className=Gn;c.defaultOptions=ir;c.moduleName=Ru;c.folderName=cb;import{jsx as aI}from"react/jsx-runtime";var Ve=e=>aI(c,{icon:"folder",...e,children:void 0});import{jsx as lI}from"react/jsx-runtime";var wo=e=>lI(c,{icon:"folder",children:"Button",...e});import{jsx as vU}from"react/jsx-runtime";var Ku="suggestion",mb=Ku;import{jsx as Yu,jsxs as iI}from"react/jsx-runtime";var ub="k-suggestion-group",rI=[],sI={},fb={layout:"scrollable"},Xo=e=>{let{layout:t=fb.layout,...a}=e,r=Yu("div",{...a,className:o(ub,{"k-suggestion-group-scrollable":t=="scrollable"},e.className),children:e.children});return t=="scrollButtons"?iI("div",{className:"k-suggestion-scrollwrap",children:[Yu(c,{icon:"chevron-left"}),r,Yu(c,{icon:"chevron-right"})]}):r};Xo.states=rI;Xo.options=sI;Xo.className=ub;Xo.defaultOptions=fb;Xo.moduleName=Ku;Xo.folderName=mb;import{jsx as pI}from"react/jsx-runtime";var np="k-suggestion",nI=[l.active,l.hover,l.focus],dI={themeColor:[u.base,u.primary,u.secondary]},cI={text:"Suggestion"},rl=e=>{let{themeColor:t,active:a,hover:r,focus:s,text:i,...n}=e;return pI("span",{...n,className:o(e.className,np,h(np,{hover:r,active:a,focus:s}),C(np,{themeColor:t})),children:i})};rl.states=nI;rl.options=dI;rl.className=np;rl.item=cI;import{Fragment as GU,jsx as FU,jsxs as zU}from"react/jsx-runtime";import{Fragment as ZU,jsx as XU,jsxs as JU}from"react/jsx-runtime";import{Fragment as $U,jsx as _U,jsxs as e5}from"react/jsx-runtime";var Ou="avatar",kb=Ou;import{jsx as hb}from"react/jsx-runtime";var zn="k-avatar";var mI=[l.hover,l.focus,l.active,l.selected,l.disabled],uI={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]},nr={type:"text",size:d.medium,rounded:x.full,fillMode:N.solid,themeColor:u.primary,border:!1},Vt=e=>{let{size:t=nr.size,rounded:a=nr.rounded,fillMode:r=nr.fillMode,themeColor:s=nr.themeColor,type:i=nr.type,border:n=nr.border,...p}=e;return hb("div",{...p,className:o(e.className,zn,C(zn,{size:t,rounded:a,fillMode:r,themeColor:s}),{[`${zn}-bordered`]:n}),children:hb("span",{className:`${zn}-${i}`,children:e.children})})};Vt.states=mI;Vt.options=uI;Vt.className=zn;Vt.defaultOptions=nr;Vt.moduleName=Ou;Vt.folderName=kb;import{jsx as k5}from"react/jsx-runtime";import{jsx as b5}from"react/jsx-runtime";import{jsx as T5}from"react/jsx-runtime";var Hu="badge",gb=Hu;import{jsx as hI}from"react/jsx-runtime";var Wn="k-badge",fI=[],kI={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]},Qn={size:d.medium,fillMode:N.solid,themeColor:u.primary,cutoutBorder:!1},sl=e=>{let{size:t=Qn.size,fillMode:a=Qn.fillMode,themeColor:r=Qn.themeColor,cutoutBorder:s=Qn.cutoutBorder,rounded:i,position:n,align:p,...m}=e;return hI("span",{...m,className:o(e.className,Wn,C(Wn,{size:t,rounded:i,fillMode:a,themeColor:r}),{[`${Wn}-${n}`]:n,[`k-${p}`]:p,[`${Wn}-border-cutout`]:s}),children:e.children})};sl.states=fI;sl.options=kI;sl.className=Wn;sl.defaultOptions=Qn;sl.moduleName=Hu;sl.folderName=gb;import{jsx as Y5}from"react/jsx-runtime";import{jsx as z5}from"react/jsx-runtime";import{jsx as q5}from"react/jsx-runtime";var Vn="chip",dp=Vn;import{jsx as gs,jsxs as bI}from"react/jsx-runtime";var cp="k-chip",xI=[l.hover,l.focus,l.active,l.selected,l.disabled],gI={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]},bs={size:d.medium,rounded:x.medium,fillMode:N.solid,themeColor:u.base,avatarImage:"/packages/html/assets/avatar.jpg"},Xt=e=>{let{size:t=bs.size,rounded:a=bs.rounded,fillMode:r=bs.fillMode,themeColor:s=bs.themeColor,text:i,icon:n,actions:p,showAvatar:m,avatarImage:f=bs.avatarImage,hover:A,focus:v,active:b,selected:y,disabled:E,...M}=e;return bI("div",{...M,className:o(e.className,cp,C(cp,{size:t,rounded:a,fillMode:r,themeColor:s}),h(cp,{hover:A,focus:v,active:b,disabled:E,selected:y})),children:[n&&gs(g,{className:"k-chip-icon",icon:n,size:"small"}),m&&gs(Vt,{className:"k-chip-avatar",type:"image",children:gs("img",{src:f})}),gs("span",{className:"k-chip-content",children:e.children?e.children:i&&gs("span",{className:"k-chip-label",children:i})}),p&&gs("span",{className:"k-chip-actions",children:p})]})};Xt.states=xI;Xt.options=gI;Xt.className=cp;Xt.defaultOptions=bs;Xt.moduleName=Vn;Xt.folderName=dp;import{jsx as vI}from"react/jsx-runtime";var Fu="k-chip-list",NI=[],AI={size:[d.small,d.medium,d.large]},bb={size:d.medium},Zt=e=>{let{size:t=bb.size,...a}=e;return vI("div",{...a,className:o(e.className,Fu,C(Fu,{size:t})),children:e.children})};Zt.states=NI;Zt.options=AI;Zt.className=Fu;Zt.defaultOptions=bb;Zt.moduleName=Vn;Zt.folderName=dp;import{jsx as m9}from"react/jsx-runtime";import{jsx as h9}from"react/jsx-runtime";import{jsx as N9}from"react/jsx-runtime";import{jsx as E9}from"react/jsx-runtime";import{Fragment as I9,jsx as S9,jsxs as B9}from"react/jsx-runtime";import{jsx as Nb,jsxs as EI}from"react/jsx-runtime";var Ab="k-color-preview",TI=[],yI={},il=e=>{let{color:t,iconName:a,...r}=e;return EI("span",{...r,className:o(e.className,Ab,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&Nb(g,{icon:a,className:"k-color-preview-icon"}),Nb("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};il.states=TI;il.options=yI;il.className=Ab;var Xn="loader",mp=Xn;import{Fragment as Gu,jsx as vb,jsxs as up}from"react/jsx-runtime";var zu="k-loader",CI={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},MI=[],wI={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]},fp={size:d.medium,themeColor:u.primary,animation:"pulsing"},Zo=e=>{let{size:t=fp.size,themeColor:a=fp.themeColor,animation:r=fp.animation,...s}=e,i=vb("span",{className:"k-loader-segment"});return vb("div",{...s,className:o(e.className,zu,{[`k-loader-${CI[r]||r}`]:r},C(zu,{size:t,themeColor:a})),children:up("div",{className:"k-loader-canvas",children:[r==="pulsing"&&up(Gu,{children:[i,i]}),r==="infinite-spinner"&&up(Gu,{children:[i,i,i]}),r==="converging-spinner"&&up(Gu,{children:[i,i,i,i]})]})})};Zo.states=MI;Zo.options=wI;Zo.className=zu;Zo.defaultOptions=fp;Zo.moduleName=Xn;Zo.folderName=mp;var Tb=Zo;import{jsx as Wu,jsxs as yb}from"react/jsx-runtime";var Qu="k-loader-container",LI=[],SI={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]},cr={size:d.medium,themeColor:u.primary,loaderType:"pulsing",position:"top",overlay:"dark",panel:!1},pr=e=>{let{size:t=cr.size,themeColor:a=cr.themeColor,loaderType:r=cr.loaderType,position:s=cr.position,overlay:i=cr.overlay,panel:n=cr.panel,...p}=e;return yb("div",{...p,className:o(e.className,Qu,C(Qu,{size:t}),{[`k-loader-${s}`]:s}),children:[Wu("div",{className:`k-loader-container-overlay k-overlay-${i}`}),yb("div",{className:o("k-loader-container-inner",{"k-loader-container-panel":n}),children:[Wu(Tb,{size:t,themeColor:a,animation:r}),Wu("div",{className:"k-loader-container-label",children:"Loading..."})]})]})};pr.states=LI;pr.options=SI;pr.className=Qu;pr.defaultOptions=cr;pr.moduleName=Xn;pr.folderName=mp;import{jsx as ij}from"react/jsx-runtime";import{jsx as pj}from"react/jsx-runtime";import{jsx as kj}from"react/jsx-runtime";import{jsx as bj}from"react/jsx-runtime";var Vu="skeleton",Eb=Vu;import{jsx as DI}from"react/jsx-runtime";var Xu="k-skeleton",II=["circle","text","rect"],BI=[],PI={},Zu={variant:"text",shape:"text",animation:"pulse"},Lo=e=>{let{variant:t,shape:a,animation:r=Zu.animation,...s}=e,i=`skeleton-${t||a||Zu.variant}`;return DI("span",{...s,className:o(e.className,Xu,Wc(Xu,i),{[`k-skeleton-${r}`]:r}),style:e.style})};Lo.states=BI;Lo.options=PI;Lo.variants=II;Lo.className=Xu;Lo.defaultOptions=Zu;Lo.moduleName=Vu;Lo.folderName=Eb;import{jsx as Rj}from"react/jsx-runtime";import{jsx as RI}from"react/jsx-runtime";var Ju=e=>RI(Lo,{shape:"rect",...e});import{jsx as zj}from"react/jsx-runtime";import{jsx as Zn,jsxs as Uu}from"react/jsx-runtime";var ju="k-form-field",KI=[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 Uu("div",{className:o(ju,e.className,h(ju,{disabled:m}),{[`k-col-span-${A}`]:A}),dir:f,children:[t&&Uu("label",{className:o("k-label","k-form-label"),children:[t,r&&Zn("span",{className:"k-label-optional",children:"(Optional)"}),p&&Zn("span",{className:"k-field-info",children:"(field info)"})]}),a==="horizontal"&&!t&&Zn("span",{className:"k-label k-form-label k-label-empty"}),Uu("div",{className:"k-form-field-wrap",children:[s,i&&Zn("div",{className:"k-form-hint",children:i}),n&&Zn("div",{className:"k-form-error",children:n})]})]})};dt.states=KI;dt.className=ju;import{Fragment as YI,jsx as qu,jsxs as OI}from"react/jsx-runtime";var Cb="k-form-fieldset",Jo=e=>{let{legend:t,layout:a,cols:r,gutters:s,colSpan:i}=e;return OI("fieldset",{className:o(Cb,{[`k-col-span-${i}`]:i}),children:[t&&qu("legend",{className:"k-form-legend",children:t}),a==="grid"?qu("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}):qu(YI,{children:e.children})]})};Jo.className=Cb;var Mb="form",wb="forms";import{Fragment as GI,jsx as Jn,jsxs as zI}from"react/jsx-runtime";import{createElement as _u}from"react";var kp="k-form",HI=[],FI={size:[d.small,d.medium,d.large]},hp={size:d.medium,layout:"basic",tag:"form"},So=e=>{let{size:t=hp.size,orientation:a,layout:r=hp.layout,formButtons:s,cols:i,gutters:n,tag:p=hp.tag,children:m}=e,f=({tag:v,className:b,children:y})=>v==="form"?Jn("form",{className:b,children:y}):Jn("div",{className:b,children:y}),A=[];return m&&(Array.isArray(m)?m.map((v,b)=>{v.type===dt?A.push(_u(dt,{...v.props,orientation:a,key:b})):A.push(v)}):m.type===dt?A.push(_u(dt,{...m.props,orientation:a,key:`${new Date().getTime()}`})):m.type===Jo&&A.push(_u(Jo,{...m.props,key:`${new Date().getTime()}`}))),zI(f,{tag:p,className:o(e.className,kp,C(kp,{size:t}),{[`${kp}-${a}`]:a}),children:[r==="grid"?Jn("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}):Jn(GI,{children:A}),s&&Jn("div",{className:"k-form-buttons",children:s})]})};So.states=HI;So.options=FI;So.className=kp;So.defaultOptions=hp;So.moduleName=Mb;So.folderName=wb;import{jsx as QI}from"react/jsx-runtime";var WI="k-actionsheet-footer",Lb={alignment:"stretched",orientation:"horizontal"},Io=e=>{let{alignment:t=Lb.alignment,orientation:a=Lb.orientation,template:r,as:s=r?"div":Q,...i}=e;return QI(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,WI),children:e.children})};var $u="searchbox",Sb=$u;import{jsx as Un,jsxs as ZI}from"react/jsx-runtime";var Ib="k-searchbox",VI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],XI={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},ef={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=ef.showIcon,icon:E=ef.icon,...M}=e;return ZI(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,Ib),children:[y&&Un(g,{className:"k-input-icon",icon:E}),Un(pe,{placeholder:a,value:t}),Un(j,{...e}),Un(J,{...e}),Un(oe,{...e})]})};Xe.states=VI;Xe.options=XI;Xe.className=Ib;Xe.defaultOptions=ef;Xe.moduleName=$u;Xe.folderName=Sb;import{jsx as T7}from"react/jsx-runtime";var tf="textbox",Bb=tf;import{Fragment as Pb,jsx as nl,jsxs as of}from"react/jsx-runtime";var Db="k-textbox",JI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],UI={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},mr={showClearButton:!0,showValidationIcon:!0,size:L.defaultOptions.size,rounded:L.defaultOptions.rounded,fillMode:L.defaultOptions.fillMode,separators:!0},U=e=>{let{size:t=mr.size,rounded:a=mr.rounded,fillMode:r=mr.fillMode,separators:s=mr.separators,showClearButton:i=mr.showClearButton,showValidationIcon:n=mr.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 of(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,Db),children:[p&&of(Pb,{children:[nl($,{children:p}),s&&nl(Me,{})]}),nl(pe,{placeholder:v,value:A,type:f}),n&&nl(J,{valid:E,invalid:M,loading:I,disabled:P}),nl(j,{loading:I,disabled:P}),i&&nl(oe,{loading:I,disabled:P,readonly:O,value:A}),m&&of(Pb,{children:[s&&nl(Me,{}),nl(ee,{children:m})]})]})};U.states=JI;U.options=UI;U.className=Db;U.defaultOptions=mr;U.moduleName=tf;U.folderName=Bb;import{jsx as K7}from"react/jsx-runtime";import{Fragment as z7,jsx as G7}from"react/jsx-runtime";import{Fragment as J7,jsx as Z7}from"react/jsx-runtime";import{jsx as dl,jsxs as af}from"react/jsx-runtime";var Yb="k-actionsheet-titlebar",jI={},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 af("div",{...v,className:o(e.className,Yb),children:[af("div",{className:"k-actionsheet-titlebar-group",children:[r&&dl("div",{className:"k-actionsheet-actions",children:r}),!A&&af("div",{className:"k-actionsheet-title",children:[t&&dl("div",{className:"k-text-center",children:t}),a&&dl("div",{className:"k-actionsheet-subtitle k-text-center",children:a})]}),A&&dl("div",{className:"k-actionsheet-title",children:A}),s&&dl("div",{className:"k-actionsheet-actions",children:s})]}),(n||i)&&dl("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:n?dl(U,{value:p,placeholder:m,size:f?"large":"medium"}):dl(Xe,{placeholder:"Filter",size:f?"large":"medium"})})]})};ie.className=Yb;ie.defaultOptions=jI;import{jsx as lf,jsxs as eB}from"react/jsx-runtime";var rf="k-actionsheet-view",qI=[],_I={},$I={},Ns=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...n}=e,p=s?.type===ie&&lf(ie,{adaptive:t,...s?.props}),m=i?.type===Io&&lf(Io,{...i?.props});return eB("div",{...n,className:o(e.className,rf,{[`${rf}-animated`]:a}),children:[p,lf("div",{className:"k-actionsheet-content",children:r}),m]})};Ns.states=qI;Ns.options=_I;Ns.className=rf;Ns.defaultOptions=$I;var jn="action-sheet",xp=jn;import{jsx as gp,jsxs as aB}from"react/jsx-runtime";var Ob="k-actionsheet",tB=[],oB={},qn={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ae=e=>{let{side:t=qn.side,fullscreen:a=qn.fullscreen,adaptive:r=qn.adaptive,overlay:s=qn.overlay,template:i,children:n,header:p,footer:m,...f}=e;return aB("div",{className:"k-actionsheet-container",children:[s&&gp("div",{className:"k-overlay"}),gp(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:gp("div",{...f,className:o(e.className,Ob,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||gp(Ns,{header:p,footer:m,adaptive:r,...e,children:n})})})]})};ae.states=tB;ae.options=oB;ae.className=Ob;ae.defaultOptions=qn;ae.moduleName=jn;ae.folderName=xp;import{jsx as iB}from"react/jsx-runtime";var Hb="k-actionsheet-container",lB=[],rB={},sB={},As=e=>{let{children:t,...a}=e;return iB("div",{...a,className:Hb,children:t})};As.states=lB;As.options=rB;As.className=Hb;As.defaultOptions=sB;As.moduleName=jn;As.folderName=xp;import{jsx as Tq}from"react/jsx-runtime";import{Fragment as dB,jsx as _n,jsxs as sf}from"react/jsx-runtime";var nf="k-actionsheet-item",nB=[l.hover,l.focus,l.selected,l.disabled],df=e=>{let{iconName:t,text:a,description:r,hover:s,focus:i,selected:n,disabled:p,...m}=e;return sf("span",{...m,className:o(e.className,nf,h(nf,{hover:s,focus:i,selected:n,disabled:p})),children:[!e.children&&_n(dB,{children:sf("span",{className:"k-actionsheet-action",children:[t&&_n("span",{className:"k-icon-wrap",children:_n(g,{className:"k-actionsheet-item-icon",icon:t})}),sf("span",{className:"k-actionsheet-item-text",children:[a&&_n("span",{className:"k-actionsheet-item-title",children:a}),r&&_n("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};df.states=nB;df.className=nf;import{jsx as Bq,jsxs as Pq}from"react/jsx-runtime";import{jsx as Yq}from"react/jsx-runtime";import{jsx as Gq}from"react/jsx-runtime";import{jsx as Vq}from"react/jsx-runtime";var Gb="dropdown-list",zb="dropdownlist";import{Fragment as mB,jsx as St,jsxs as cf}from"react/jsx-runtime";var Wb="k-dropdownlist",cB=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],pB={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},vs={showValue:!0,arrowIconName:"caret-alt-down",size:d.medium,rounded:x.medium,fillMode:N.solid},te=e=>{let{size:t=vs.size,rounded:a=vs.rounded,fillMode:r=vs.fillMode,arrowIconName:s=vs.arrowIconName,showValue:i=vs.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 cf(mB,{children:[cf(Nt,{...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,Wb,{"k-icon-picker":!i&&n}),children:[St($,{children:p}),St(Sa,{placeholder:A,value:f,showValue:i,valueIconName:n}),St(J,{valid:y,invalid:E,loading:w,disabled:I}),St(j,{loading:w,disabled:I}),St(ee,{children:m}),St(c,{className:"k-input-button",icon:s,rounded:null,size:e.size,fillMode:e.fillMode})]}),W&&O&&St(H,{className:"k-list-container k-dropdownlist-popup",children:O}),Ce&&St(ae,{adaptive:!0,..._e,header:St(ie,{actionsEnd:St(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:or,inputValue:f,inputPlaceholder:A,title:gt,subtitle:Co}),children:St("div",{className:"k-list-container",children:cf(z,{size:"large",children:[St(D,{text:"List item"}),St(D,{text:"List item"}),St(D,{text:"List item"})]})})})]})};te.states=cB;te.options=pB;te.className=Wb;te.defaultOptions=vs;te.moduleName=Gb;te.folderName=zb;import{jsx as g_}from"react/jsx-runtime";import{jsx as T_,jsxs as y_}from"react/jsx-runtime";import{Fragment as B_,jsx as S_,jsxs as I_}from"react/jsx-runtime";import{jsx as K_}from"react/jsx-runtime";import{jsx as G_,jsxs as z_}from"react/jsx-runtime";import{jsx as Z_,jsxs as J_}from"react/jsx-runtime";import{Fragment as o$,jsx as e$,jsxs as t$}from"react/jsx-runtime";import{Fragment as c$,jsx as n$,jsxs as d$}from"react/jsx-runtime";var fr="radio",Ts=fr;import{jsx as Qb}from"react/jsx-runtime";var bp="k-radio",uB=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked],fB={size:[d.small,d.medium,d.large]},Vb={size:d.medium},Bo=e=>{let{id:t,checked:a,hover:r,focus:s,disabled:i,invalid:n,valid:p,required:m,size:f=Vb.size,...A}=e;return Qb("span",{className:"k-radio-wrap",children:Qb("input",{...A,id:t,type:"radio",checked:a,required:m,className:o(e.className,bp,C(bp,{size:f}),h(bp,{hover:r,focus:s,disabled:i,invalid:n,valid:p,checked:a}))})})};Bo.states=uB;Bo.options=fB;Bo.className=bp;Bo.defaultOptions=Vb;Bo.moduleName=fr;Bo.folderName=Ts;imp