@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"}};var au="action-buttons",Zx=au;import{jsx as HM}from"react/jsx-runtime";var Qc="k-actions",YM=[],OM={},lu={alignment:"start",orientation:"horizontal"},Q=e=>{let{alignment:t=lu.alignment,orientation:a=lu.orientation,...r}=e;return HM("div",{...r,className:o(Qc,{[`${Qc}-${t}`]:t,[`${Qc}-${a}`]:a},e.className),children:e.children})};Q.states=YM;Q.options=OM;Q.className=Qc;Q.defaultOptions=lu;Q.moduleName=au;Q.folderName=Zx;var Jx=Q;import{Fragment as WM,jsx as Ux}from"react/jsx-runtime";var ru="k-font-icon",FM=[],GM={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]},zM={},hn=e=>{let{size:t,themeColor:a,icon:r,rotate:s,flip:i,...n}=e;return r?Ux("span",{...n,className:o(e.className,ru,C(ru,{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"})}):Ux(WM,{})};hn.states=FM;hn.options=GM;hn.className=ru;hn.defaultOptions=zM;var jx=hn;import{Fragment as XM,jsx as Vc}from"react/jsx-runtime";var su="k-svg-icon",QM=[],VM={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]},qx={viewBox:"0 0 24 24"},xn=e=>{let{size:t,themeColor:a,rotate:r,flip:s,viewBox:i=qx.viewBox,icon:n,...p}=e;if(!n)return Vc(XM,{});n==="none"&&{...p,className:o(e.className,su,"k-none")};let m=typeof n=="object"&&n.name&&n.name;return Vc("span",{...p,className:o(e.className,su,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:Vc("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=QM;xn.options=VM;xn.className=su;xn.defaultOptions=qx;var iu=xn;import*as nu from"@progress/kendo-svg-icons";var _x="icon",$x="icons";import{Fragment as eg,jsx as gn}from"react/jsx-runtime";var Xc="k-icon",ZM=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),JM=[],UM={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]},du={viewBox:"0 0 24 24",type:"svg"},g=e=>{let{size:t,themeColor:a,icon:r,type:s=du.type,rotate:i,flip:n,viewBox:p=du.viewBox,...m}=e;if(!r)return gn(eg,{});if(s==="svg"){if(r==="none")return gn(iu,{...m,className:o(e.className,Xc),icon:r,size:t});let f=nu[r]?r:ZM(`${r}-icon`);return nu[f]?gn(iu,{...m,className:o(e.className,Xc),icon:nu[f],size:t,themeColor:a,rotate:i,flip:n,viewBox:p}):gn(eg,{})}return gn(jx,{...m,className:o(e.className,Xc),icon:r,size:t,themeColor:a,rotate:i,flip:n})};g.states=JM;g.options=UM;g.defaultOptions=du;g.className=Xc;g.moduleName=_x;g.folderName=$x;var cu=g;var pu="button",tg=pu;import{Fragment as $M,jsx as bn,jsxs as og}from"react/jsx-runtime";var Nn="k-button",jM=["icon-button"],qM=[l.hover,l.focus,l.active,l.selected,l.disabled,l.generating],_M={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]},or={size:d.medium,rounded:x.medium,fillMode:N.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},c=e=>{let{size:t=or.size,rounded:a=or.rounded,fillMode:r=or.fillMode,themeColor:s=or.themeColor,showArrow:i=or.showArrow,arrowIconName:n=or.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 og("button",{...w,className:o(e.className,Nn,Wc(Nn,p),C(Nn,{size:t,rounded:a,fillMode:r,themeColor:s}),h(Nn,{hover:m,focus:f,active:A,disabled:b,selected:v}),{"k-icon-button":!E&&!P&&I}),children:[y&&bn(g,{className:o(M,"k-button-icon"),icon:y}),E?og($M,{children:[E&&bn("span",{className:"k-button-text",children:E}),e.children]}):e.children&&bn("span",{className:"k-button-text",children:e.children}),i&&bn("span",{className:"k-menu-button-arrow k-button-arrow",children:bn(g,{icon:n})})]})};c.states=qM;c.options=_M;c.variants=jM;c.className=Nn;c.defaultOptions=or;c.moduleName=pu;c.folderName=tg;import{jsx as ew}from"react/jsx-runtime";var Ve=e=>ew(c,{icon:"folder",...e,children:void 0});import{jsx as tw}from"react/jsx-runtime";var Mo=e=>tw(c,{icon:"folder",children:"Button",...e});import{jsx as eQ}from"react/jsx-runtime";var mu="button",ag=mu;import{jsx as lw}from"react/jsx-runtime";var An="k-button-group",ow=[l.disabled],aw={fillMode:[N.solid,N.flat,N.outline,N.clear,N.link]},lg={fillMode:N.solid},B=e=>{let{fillMode:t=lg.fillMode,disabled:a,stretched:r,...s}=e;return lw("div",{...s,className:o(e.className,An,C(An,{fillMode:t}),h(An,{disabled:a}),{[`${An}-stretched`]:r}),children:e.children})};B.states=ow;B.options=aw;B.className=An;B.defaultOptions=lg;B.moduleName=mu;B.folderName=ag;import{Fragment as hQ,jsx as kQ,jsxs as xQ}from"react/jsx-runtime";import{Fragment as TQ,jsx as vQ,jsxs as yQ}from"react/jsx-runtime";import{Fragment as SQ,jsx as LQ,jsxs as IQ}from"react/jsx-runtime";import{Fragment as YQ,jsx as KQ,jsxs as OQ}from"react/jsx-runtime";var nt="calendar",kt=nt;import{jsx as uu,jsxs as iw}from"react/jsx-runtime";var fu="k-calendar",rw=[],sw={size:[d.small,d.medium,d.large]},ds={size:d.medium,showCalendarHeader:!0,orientation:"horizontal",calendarView:"month",calendarTitleText:"October 2021"},bt=e=>{let{size:t=ds.size,orientation:a=ds.orientation,calendarView:r=ds.calendarView,calendarTitleText:s=ds.calendarTitleText,showCalendarHeader:i=ds.showCalendarHeader,showWeek:n,showCalendarFooter:p,calendarFooterText:m,dir:f,...A}=e;return iw("div",{...A,dir:f,className:o(e.className,fu,C(fu,{size:t}),{"k-week-number":n}),children:[i&&uu(ar,{calendarView:r,showToday:!p,calendarTitleText:s,orientation:a,size:t,dir:f}),uu(Zc,{calendarView:r,orientation:a,children:e.children}),p&&uu(vn,{calendarFooterText:m,size:t})]})};bt.states=rw;bt.options=sw;bt.className=fu;bt.defaultOptions=ds;bt.moduleName=nt;bt.folderName=kt;import{jsx as pw}from"react/jsx-runtime";var rg="k-calendar-container",nw=[],dw={},cw={},cs=e=>{let{...t}=e;return pw("div",{...t,className:o(e.className,rg),children:e.children})};cs.states=nw;cs.options=dw;cs.className=rg;cs.defaultOptions=cw;cs.moduleName=nt;cs.folderName=kt;import{Fragment as uw,jsx as Tn,jsxs as fw}from"react/jsx-runtime";var mw=[l.hover,l.focus,l.active,l.selected,l.disabled],T=e=>{let{text:t,headerCell:a,today:r,weekend:s,showOtherMonth:i,weekCell:n,rangeStart:p,rangeMid:m,rangeEnd:f,dayIndicator:A,empty:v,hover:b,focus:y,active:E,selected:M,disabled:w,...I}=e,O=`k-calendar-${a?"th":"td"}`,W=[e.className,O,h(O,{hover:b,focus:y,active:E,selected:M,disabled:w}),{"k-today":r,"k-weekend":s,"k-other-month":i,"k-alt":n,"k-range-start":p,"k-range-mid":m,"k-range-end":f,"k-empty":v}];return a?Tn("th",{...I,className:o(W),children:t}):n?Tn("td",{...I,className:o(W),children:t}):Tn("td",{...I,className:o(W),children:v&&!i?Tn(uw,{children:"\xA0"}):fw("span",{className:"k-link",children:[t,A&&Tn("span",{className:"k-day-indicator"})]})})};T.states=mw;import{jsx as yn,jsxs as sg}from"react/jsx-runtime";var ig="k-calendar-header",kw={size:[d.small,d.medium,d.large]},ps={calendarTitleText:"October 2021",showToday:!0,showNavigationButtons:!0,orientation:"horizontal",size:d.medium},ar=e=>{let{calendarTitleText:t=ps.calendarTitleText,showToday:a=ps.showToday,showNavigationButtons:r=ps.showNavigationButtons,orientation:s=ps.orientation,size:i=ps.size,calendarView:n,dir:p,...m}=e,f=p==="rtl"?"chevron-right":"chevron-left",A=p==="rtl"?"chevron-left":"chevron-right";return sg("div",{...m,className:o(e.className,ig,{"k-vstack":s==="vertical"}),children:[yn(c,{disabled:n==="century",className:"k-calendar-title",text:t,size:i,fillMode:"flat",themeColor:"primary"}),yn("span",{className:"k-spacer"}),sg("span",{className:"k-calendar-nav",children:[r&&yn(c,{className:"k-calendar-nav-prev",icon:f,size:i,fillMode:"flat"}),a&&yn(c,{size:i,fillMode:"flat",className:"k-calendar-nav-today",children:"Today"}),r&&yn(c,{className:"k-calendar-nav-next",icon:A,size:i,fillMode:"flat"})]})]})};ar.options=kw;ar.className=ig;ar.defaultOptions=ps;import{jsx as ng}from"react/jsx-runtime";var dg="k-calendar-footer",hw={size:[d.small,d.medium,d.large]},ku={size:d.medium,calendarFooterText:"Tuesday, October 12, 2021"},vn=e=>{let{size:t=ku.size,calendarFooterText:a=ku.calendarFooterText,...r}=e;return ng("div",{...r,className:o(e.className,dg),children:ng(c,{size:t,fillMode:"flat",themeColor:"primary",className:"k-calendar-nav-today",children:a})})};vn.options=hw;vn.className=dg;vn.defaultOptions=ku;import{jsx as bw}from"react/jsx-runtime";var xw=[],gw={},se=e=>{let{type:t,...a}=e;return bw(t,{...a,className:o(e.className),children:e.children})};se.states=xw;se.options=gw;var ce="typography",ke=ce;import{jsx as vw}from"react/jsx-runtime";var cg="k-body",Nw=[],Aw={},En=e=>vw(se,{...e,className:o(e.className,cg),type:"body"});En.states=Nw;En.options=Aw;En.className=cg;En.moduleName=ce;En.folderName=ke;import{jsx as Ew}from"react/jsx-runtime";var pg="k-pre",Tw=[],yw={},Cn=e=>Ew(se,{...e,className:o(e.className,pg),type:"pre"});Cn.states=Tw;Cn.options=yw;Cn.className=pg;Cn.moduleName=ce;Cn.folderName=ke;import{jsx as ww}from"react/jsx-runtime";var mg="k-code",Cw=[],Mw={},Mn=e=>ww(se,{...e,className:o(e.className,mg),type:"code"});Mn.states=Cw;Mn.options=Mw;Mn.className=mg;Mn.moduleName=ce;Mn.folderName=ke;import{jsx as Iw}from"react/jsx-runtime";var ug="k-paragraph",Lw=[],Sw={},wn=e=>Iw(se,{...e,className:o(e.className,ug),type:"p"});wn.states=Lw;wn.options=Sw;wn.className=ug;wn.moduleName=ce;wn.folderName=ke;import{jsx as Dw}from"react/jsx-runtime";var fg="k-h1",Bw=[],Pw={},Ln=e=>Dw(se,{...e,className:o(e.className,fg),type:"h1"});Ln.states=Bw;Ln.options=Pw;Ln.className=fg;Ln.moduleName=ce;Ln.folderName=ke;import{jsx as Yw}from"react/jsx-runtime";var kg="k-h2",Rw=[],Kw={},Sn=e=>Yw(se,{...e,className:o(e.className,kg),type:"h2"});Sn.states=Rw;Sn.options=Kw;Sn.className=kg;Sn.moduleName=ce;Sn.folderName=ke;import{jsx as Fw}from"react/jsx-runtime";var hg="k-h3",Ow=[],Hw={},In=e=>Fw(se,{...e,className:o(e.className,hg),type:"h3"});In.states=Ow;In.options=Hw;In.className=hg;In.moduleName=ce;In.folderName=ke;import{jsx as Ww}from"react/jsx-runtime";var xg="k-h4",Gw=[],zw={},Bn=e=>Ww(se,{...e,className:o(e.className,xg),type:"h4"});Bn.states=Gw;Bn.options=zw;Bn.className=xg;Bn.moduleName=ce;Bn.folderName=ke;import{jsx as Xw}from"react/jsx-runtime";var gg="k-h5",Qw=[],Vw={},Pn=e=>Xw(se,{...e,className:o(e.className,gg),type:"h5"});Pn.states=Qw;Pn.options=Vw;Pn.className=gg;Pn.moduleName=ce;Pn.folderName=ke;import{jsx as Uw}from"react/jsx-runtime";var bg="k-h6",Zw=[],Jw={},Dn=e=>Uw(se,{...e,className:o(e.className,bg),type:"h6"});Dn.states=Zw;Dn.options=Jw;Dn.className=bg;Dn.moduleName=ce;Dn.folderName=ke;import{jsx as _w}from"react/jsx-runtime";var Ng="k-display-1",jw=[],qw={},Rn=e=>_w(se,{...e,className:o(e.className,Ng),type:"div"});Rn.states=jw;Rn.options=qw;Rn.className=Ng;Rn.moduleName=ce;Rn.folderName=ke;import{jsx as tL}from"react/jsx-runtime";var Ag="k-display-2",$w=[],eL={},Kn=e=>tL(se,{...e,className:o(e.className,Ag),type:"div"});Kn.states=$w;Kn.options=eL;Kn.className=Ag;Kn.moduleName=ce;Kn.folderName=ke;import{jsx as lL}from"react/jsx-runtime";var vg="k-display-3",oL=[],aL={},Yn=e=>lL(se,{...e,className:o(e.className,vg),type:"div"});Yn.states=oL;Yn.options=aL;Yn.className=vg;Yn.moduleName=ce;Yn.folderName=ke;import{jsx as iL}from"react/jsx-runtime";var Tg="k-display-4",rL=[],sL={},On=e=>iL(se,{...e,className:o(e.className,Tg),type:"div"});On.states=rL;On.options=sL;On.className=Tg;On.moduleName=ce;On.folderName=ke;var Hn="input",Jc=Hn;import{jsx as cL}from"react/jsx-runtime";var Uc="k-input",nL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],dL={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},jc={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=jc.size,rounded:f=jc.rounded,fillMode:A=jc.fillMode,...v}=e;return cL("span",{...v,className:o(e.className,Uc,C(Uc,{size:m,rounded:f,fillMode:A}),h(Uc,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p}))})};L.states=nL;L.options=dL;L.className=Uc;L.defaultOptions=jc;L.moduleName=Hn;L.folderName=Jc;import{jsx as uL}from"react/jsx-runtime";var qc="k-picker",pL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],mL={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},_c={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=_c.size,rounded:f=_c.rounded,fillMode:A=_c.fillMode,...v}=e;return uL("span",{...v,className:o(e.className,qc,C(qc,{size:m,rounded:f,fillMode:A}),h(qc,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p})),children:e.children})};Nt.states=pL;Nt.options=mL;Nt.className=qc;Nt.defaultOptions=_c;Nt.moduleName=Hn;Nt.folderName=Jc;import{Fragment as hL,jsx as hu}from"react/jsx-runtime";var yg="k-clear-value",fL=[l.disabled,l.loading,l.readonly],kL={},oe=e=>{let{disabled:t,loading:a,readonly:r,value:s}=e;return t||r||a||!s?hu(hL,{}):hu("span",{className:o(e.className,yg),children:hu(g,{icon:"x"})})};oe.states=fL;oe.options=kL;oe.className=yg;import{jsx as bL}from"react/jsx-runtime";var xu="k-input-inner",xL=[],gL={},$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 bL("input",{...i,type:a,className:o(e.className,xu,C(xu,e)),placeholder:r,autoComplete:s,defaultValue:t})};pe.states=xL;pe.options=gL;pe.className=xu;import{jsx as Eg,jsxs as vL}from"react/jsx-runtime";var gu="k-input-inner",NL=[],AL={},La=e=>{let{value:t,placeholder:a,showValue:r,valueIcon:s,valueIconName:i,...n}=e;return vL("span",{...n,className:o(e.className,gu,C(gu,e)),children:[s,!s&&i&&Eg(g,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&Eg("span",{className:"k-input-value-text",children:t})]})};La.states=NL;La.options=AL;La.className=gu;import{jsx as EL}from"react/jsx-runtime";var bu="k-input-inner",TL=[],yL={},Cg={value:"",placeholder:""},Fn=e=>{let{value:t=Cg.value,placeholder:a=Cg.placeholder,rows:r,...s}=e;return EL("textarea",{...s,className:o(e.className,bu,C(bu,e)),placeholder:a,rows:r,defaultValue:t})};Fn.states=TL;Fn.options=yL;Fn.className=bu;import{Fragment as ML,jsx as Mg}from"react/jsx-runtime";var wg="k-input-loading-icon",CL=[l.disabled,l.loading],j=e=>{let{disabled:t,loading:a}=e;return t||!a?Mg(ML,{}):Mg("span",{className:o(e.className,wg,"k-icon k-i-loading")})};j.states=CL;j.className=wg;import{Fragment as SL,jsx as Lg}from"react/jsx-runtime";var Sg="k-input-validation-icon",wL=[l.valid,l.invalid,l.disabled,l.loading],LL={},J=e=>{let{valid:t,invalid:a,disabled:r,loading:s}=e,i=a?"warning-circle":"check-circle";return r||s||!!!(t||a)?Lg(SL,{}):Lg(g,{className:o(Sg),icon:i})};J.states=wL;J.options=LL;J.className=Sg;import{Fragment as PL,jsx as Ig}from"react/jsx-runtime";var IL="k-input-prefix",BL={direction:"horizontal"},$=e=>{let{direction:t=BL.direction,...a}=e;return e.children?Ig("span",{...a,className:o(IL,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Ig(PL,{})};import{Fragment as KL,jsx as Bg}from"react/jsx-runtime";var DL="k-input-suffix",RL={direction:"horizontal"},ee=e=>{let{direction:t=RL.direction,...a}=e;return e.children?Bg("span",{...a,className:o(DL,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Bg(KL,{})};import{jsx as P3}from"react/jsx-runtime";import{jsx as Y3}from"react/jsx-runtime";import{jsx as OL}from"react/jsx-runtime";var Pg="k-input-separator",YL={direction:"vertical"},Me=e=>{let{direction:t=YL.direction,...a}=e;return OL("span",{...a,className:o(Pg,e.className,{[`${Pg}-${t}`]:t})})};import{jsx as GL}from"react/jsx-runtime";var ep="k-input-group",HL=[l.disabled],FL={fillMode:[N.solid,N.flat,N.outline,N.clear,N.link]},Dg={fillMode:N.solid},ms=e=>{let{fillMode:t=Dg.fillMode,disabled:a,...r}=e;return GL("div",{...r,className:o(e.className,ep,C(ep,{fillMode:t}),h(ep,{disabled:a})),children:e.children})};ms.states=HL;ms.options=FL;ms.className=ep;ms.defaultOptions=Dg;var Nu="popup",Rg=Nu;import{jsx as Kg}from"react/jsx-runtime";var Yg="k-animation-container",zL=[],WL={},Og={positionMode:"absolute"},Vo=e=>{let{positionMode:t=Og.positionMode,animationStyle:a,offset:r,...s}=e;return Kg("div",{...s,style:{...r,...e.style},className:o(e.className,Yg,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:Kg("div",{className:"k-child-animation-container",style:a,children:e.children})})};Vo.states=zL;Vo.options=WL;Vo.className=Yg;Vo.defaultOptions=Og;Vo.moduleName=Nu;Vo.folderName=Rg;var Au="popup",Hg=Au;import{jsx as Fg}from"react/jsx-runtime";var Gg="k-popup",QL=[],VL={},zg={positionMode:"absolute"},H=e=>{let{offset:t,positionMode:a=zg.positionMode,animationStyle:r,...s}=e;return Fg(Vo,{positionMode:a,offset:t,animationStyle:r,children:Fg("div",{...s,className:o(e.className,Gg),children:e.children})})};H.states=QL;H.options=VL;H.className=Gg;H.defaultOptions=zg;H.moduleName=Au;H.folderName=Hg;import{jsx as ZL}from"react/jsx-runtime";var XL="k-no-data",Gn=e=>ZL("span",{className:o(XL,e.className),children:e.children});var Sa="list",$a=Sa;import{jsx as us,jsxs as Wg}from"react/jsx-runtime";var vu="k-list",JL=[],UL={size:[d.small,d.medium,d.large]},Qg={size:d.medium},z=e=>{let{size:t=Qg.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=Wg(Gn,{className:"k-sr-only",children:[b.length," items found."]})))}):v=us(Gn,{children:"No data found."}),Wg("div",{...p,className:o(e.className,vu,C(vu,{size:t}),{"k-virtual-list":a}),children:[s,i,f,A,v]})};z.states=JL;z.options=UL;z.className=vu;z.defaultOptions=Qg;z.moduleName=Sa;z.folderName=$a;import{jsx as $L}from"react/jsx-runtime";var Vg="k-list-container",jL=[],qL={},_L={},ks=e=>{let{...t}=e;return $L("div",{...t,className:o(e.className,Vg),children:e.children})};ks.states=jL;ks.options=qL;ks.className=Vg;ks.defaultOptions=_L;ks.moduleName=Sa;ks.folderName=$a;import{jsx as lr,jsxs as oS}from"react/jsx-runtime";var Tu="k-list",eS=[],tS={size:[d.small,d.medium,d.large]},Xg={size:d.medium},Ia=e=>{let{size:t=Xg.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(lr(D,{...v.props},`optChild-${b}-${new Date().getTime()}`))})):(m.push(lr(Zg,{...f.props,children:f.props.label},`listChild-${A}`)),f.props.children.map((v,b)=>{m.push(lr(D,{...v.props},`fwOptChild-${b}-${new Date().getTime()}`))})),n=lr(we,{label:i,virtualization:a,children:m})):f.type===D&&(m.push(lr(D,{...f.props},`${f.type}-${A}`)),p=lr(fs,{virtualization:a,children:m}))}):p=lr(Gn,{children:"No data found."}),oS("div",{...s,className:o(e.className,Tu,C(Tu,{size:t}),{"k-virtual-list":a}),children:[n,p]})};Ia.states=eS;Ia.options=tS;Ia.className=Tu;Ia.defaultOptions=Xg;Ia.moduleName=Sa;Ia.folderName=$a;var rr="checkbox",hs=rr;import{jsx as Jg}from"react/jsx-runtime";var tp="k-checkbox",aS=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],lS={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full]},yu={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=yu.size,rounded:v=yu.rounded,...b}=e;return Jg("span",{className:"k-checkbox-wrap",children:Jg("input",{...b,id:t,type:"checkbox",defaultChecked:a,required:f,className:o(e.className,tp,C(tp,{size:A,rounded:v}),h(tp,{hover:s,focus:i,disabled:n,invalid:p,valid:m,indeterminate:r,checked:a}))})})};$e.states=aS;$e.options=lS;$e.className=tp;$e.defaultOptions=yu;$e.moduleName=rr;$e.folderName=hs;import{jsx as iS}from"react/jsx-runtime";var Ug="k-checkbox-list",rS=[],sS={},jg={layout:"vertical"},el=e=>{let{layout:t=jg.layout,...a}=e;return iS("ul",{...a,className:o(e.className,Ug,{[`k-list-${t}`]:t}),children:e.children})};el.states=rS;el.options=sS;el.className=Ug;el.defaultOptions=jg;el.moduleName=rr;el.folderName=hs;import{jsx as pS}from"react/jsx-runtime";var qg="k-checkbox-list-item",nS=[],dS={},cS={},tl=e=>{let{...t}=e;return pS("li",{...t,className:o(e.className,qg),children:e.children})};tl.states=nS;tl.options=dS;tl.className=qg;tl.defaultOptions=cS;tl.moduleName=rr;tl.folderName=hs;import{Fragment as sZ,jsx as rZ,jsxs as iZ}from"react/jsx-runtime";import{Fragment as mZ,jsx as pZ,jsxs as uZ}from"react/jsx-runtime";import{Fragment as gZ,jsx as xZ,jsxs as bZ}from"react/jsx-runtime";import{Fragment as yZ,jsx as TZ,jsxs as EZ}from"react/jsx-runtime";import{jsx as LZ}from"react/jsx-runtime";import{jsx as PZ}from"react/jsx-runtime";import{jsx as op,jsxs as kS}from"react/jsx-runtime";var Cu="k-list-item",mS=[l.hover,l.focus,l.selected,l.disabled],uS={},fS={},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 kS("li",{...b,className:o(e.className,r?"k-list-group-item":Cu,h(Cu,{hover:m,focus:f,disabled:v,selected:A})),children:[n&&op($e,{checked:p}),s&&op(g,{icon:i}),op("span",{className:"k-list-item-text",children:y}),a&&a!==""&&op("div",{className:"k-list-item-group-label",children:a})]})};D.states=mS;D.options=uS;D.className=Cu;D.defaultOptions=fS;D.moduleName=Sa;D.folderName=$a;import{jsx as Mu,jsxs as xS}from"react/jsx-runtime";var hS="k-list-content",fs=e=>{let{virtualization:t,...a}=e;return xS("div",{...a,className:o(hS,e.className),children:[Mu("ul",{className:o("k-list-ul"),children:e.children}),t&&Mu("div",{className:"k-height-container",children:Mu("div",{})})]})};import{jsx as _g}from"react/jsx-runtime";var gS="k-list-group-sticky-header",$g=e=>_g("div",{className:o(gS,e.className),children:_g("div",{className:"k-list-header-text",children:e.children})});import{Fragment as bS,jsx as eb,jsxs as NS}from"react/jsx-runtime";var we=e=>{let{virtualization:t,label:a}=e;return NS(bS,{children:[a&&eb($g,{children:a}),e.children&&eb(fs,{virtualization:t,children:e.children})]})};import{jsx as tb}from"react/jsx-runtime";var AS="k-list-group-item",Zg=e=>tb("li",{className:o(AS,e.className),children:tb("span",{className:"k-list-item-text",children:e.children})});import{jsx as ES}from"react/jsx-runtime";var wu="k-list-optionlabel",vS=[l.hover,l.focus,l.selected,l.disabled],TS={},yS={},ap=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...n}=e;return ES("div",{...n,className:o(wu,h(wu,{hover:a,focus:r,selected:s,disabled:i})),children:t})};ap.states=vS;ap.options=TS;ap.className=wu;ap.defaultOptions=yS;import{jsx as LS}from"react/jsx-runtime";var Lu="k-list-custom-value",CS=[l.hover,l.focus,l.selected,l.disabled],MS={},wS={},dt=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...n}=e;return LS("div",{...n,className:o(Lu,h(Lu,{hover:a,focus:r,selected:s,disabled:i})),children:t})};dt.states=CS;dt.options=MS;dt.className=Lu;dt.defaultOptions=wS;import{jsx as xJ}from"react/jsx-runtime";import{jsx as AJ}from"react/jsx-runtime";import{jsx as EJ,jsxs as CJ}from"react/jsx-runtime";import{jsx as SJ,jsxs as IJ}from"react/jsx-runtime";import{jsx as RJ}from"react/jsx-runtime";import{jsx as HJ,jsxs as FJ}from"react/jsx-runtime";import{jsx as QJ,jsxs as VJ}from"react/jsx-runtime";var Su="suggestion",ob=Su;import{jsx as Iu,jsxs as BS}from"react/jsx-runtime";var ab="k-suggestion-group",SS=[],IS={},lb={layout:"scrollable"},Xo=e=>{let{layout:t=lb.layout,...a}=e,r=Iu("div",{...a,className:o(ab,{"k-suggestion-group-scrollable":t=="scrollable"},e.className),children:e.children});return t=="scrollButtons"?BS("div",{className:"k-suggestion-scrollwrap",children:[Iu(c,{icon:"chevron-left"}),r,Iu(c,{icon:"chevron-right"})]}):r};Xo.states=SS;Xo.options=IS;Xo.className=ab;Xo.defaultOptions=lb;Xo.moduleName=Su;Xo.folderName=ob;import{jsx as KS}from"react/jsx-runtime";var lp="k-suggestion",PS=[l.active,l.hover,l.focus],DS={themeColor:[u.base,u.primary,u.secondary]},RS={text:"Suggestion"},ol=e=>{let{themeColor:t,active:a,hover:r,focus:s,text:i,...n}=e;return KS("span",{...n,className:o(e.className,lp,h(lp,{hover:r,active:a,focus:s}),C(lp,{themeColor:t})),children:i})};ol.states=PS;ol.options=DS;ol.className=lp;ol.item=RS;import{Fragment as TU,jsx as vU,jsxs as yU}from"react/jsx-runtime";import{Fragment as LU,jsx as wU,jsxs as SU}from"react/jsx-runtime";import{Fragment as RU,jsx as DU,jsxs as KU}from"react/jsx-runtime";var Bu="avatar",rb=Bu;import{jsx as sb}from"react/jsx-runtime";var zn="k-avatar";var YS=[l.hover,l.focus,l.active,l.selected,l.disabled],OS={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 sb("div",{...p,className:o(e.className,zn,C(zn,{size:t,rounded:a,fillMode:r,themeColor:s}),{[`${zn}-bordered`]:n}),children:sb("span",{className:`${zn}-${i}`,children:e.children})})};Vt.states=YS;Vt.options=OS;Vt.className=zn;Vt.defaultOptions=sr;Vt.moduleName=Bu;Vt.folderName=rb;import{jsx as qU}from"react/jsx-runtime";import{jsx as t5}from"react/jsx-runtime";import{jsx as r5}from"react/jsx-runtime";var Pu="badge",nb=Pu;import{jsx as GS}from"react/jsx-runtime";var Wn="k-badge",HS=[],FS={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},al=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 GS("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})};al.states=HS;al.options=FS;al.className=Wn;al.defaultOptions=Qn;al.moduleName=Pu;al.folderName=nb;import{jsx as b5}from"react/jsx-runtime";import{jsx as y5}from"react/jsx-runtime";import{jsx as P5}from"react/jsx-runtime";var Vn="chip",rp=Vn;import{jsx as xs,jsxs as QS}from"react/jsx-runtime";var sp="k-chip",zS=[l.hover,l.focus,l.active,l.selected,l.disabled],WS={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 QS("div",{...M,className:o(e.className,sp,C(sp,{size:t,rounded:a,fillMode:r,themeColor:s}),h(sp,{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=zS;Xt.options=WS;Xt.className=sp;Xt.defaultOptions=gs;Xt.moduleName=Vn;Xt.folderName=rp;import{jsx as ZS}from"react/jsx-runtime";var Du="k-chip-list",VS=[],XS={size:[d.small,d.medium,d.large]},db={size:d.medium},Zt=e=>{let{size:t=db.size,...a}=e;return ZS("div",{...a,className:o(e.className,Du,C(Du,{size:t})),children:e.children})};Zt.states=VS;Zt.options=XS;Zt.className=Du;Zt.defaultOptions=db;Zt.moduleName=Vn;Zt.folderName=rp;import{jsx as J5}from"react/jsx-runtime";import{jsx as _5}from"react/jsx-runtime";import{jsx as o9}from"react/jsx-runtime";import{jsx as i9}from"react/jsx-runtime";import{Fragment as u9,jsx as m9,jsxs as f9}from"react/jsx-runtime";import{jsx as cb,jsxs as jS}from"react/jsx-runtime";var pb="k-color-preview",JS=[],US={},ll=e=>{let{color:t,iconName:a,...r}=e;return jS("span",{...r,className:o(e.className,pb,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&cb(g,{icon:a,className:"k-color-preview-icon"}),cb("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};ll.states=JS;ll.options=US;ll.className=pb;var Xn="loader",np=Xn;import{Fragment as Ru,jsx as mb,jsxs as dp}from"react/jsx-runtime";var Ku="k-loader",qS={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},_S=[],$S={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]},cp={size:d.medium,themeColor:u.primary,animation:"pulsing"},Zo=e=>{let{size:t=cp.size,themeColor:a=cp.themeColor,animation:r=cp.animation,...s}=e,i=mb("span",{className:"k-loader-segment"});return mb("div",{...s,className:o(e.className,Ku,{[`k-loader-${qS[r]||r}`]:r},C(Ku,{size:t,themeColor:a})),children:dp("div",{className:"k-loader-canvas",children:[r==="pulsing"&&dp(Ru,{children:[i,i]}),r==="infinite-spinner"&&dp(Ru,{children:[i,i,i]}),r==="converging-spinner"&&dp(Ru,{children:[i,i,i,i]})]})})};Zo.states=_S;Zo.options=$S;Zo.className=Ku;Zo.defaultOptions=cp;Zo.moduleName=Xn;Zo.folderName=np;var ub=Zo;import{jsx as Yu,jsxs as fb}from"react/jsx-runtime";var Ou="k-loader-container",eI=[],tI={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 fb("div",{...p,className:o(e.className,Ou,C(Ou,{size:t}),{[`k-loader-${s}`]:s}),children:[Yu("div",{className:`k-loader-container-overlay k-overlay-${i}`}),fb("div",{className:o("k-loader-container-inner",{"k-loader-container-panel":n}),children:[Yu(ub,{size:t,themeColor:a,animation:r}),Yu("div",{className:"k-loader-container-label",children:"Loading..."})]})]})};dr.states=eI;dr.options=tI;dr.className=Ou;dr.defaultOptions=nr;dr.moduleName=Xn;dr.folderName=np;import{jsx as W9}from"react/jsx-runtime";import{jsx as Z9}from"react/jsx-runtime";import{jsx as q9}from"react/jsx-runtime";import{jsx as tj}from"react/jsx-runtime";var Hu="skeleton",kb=Hu;import{jsx as rI}from"react/jsx-runtime";var Fu="k-skeleton",oI=["circle","text","rect"],aI=[],lI={},Gu={variant:"text",shape:"text",animation:"pulse"},wo=e=>{let{variant:t,shape:a,animation:r=Gu.animation,...s}=e,i=`skeleton-${t||a||Gu.variant}`;return rI("span",{...s,className:o(e.className,Fu,Wc(Fu,i),{[`k-skeleton-${r}`]:r}),style:e.style})};wo.states=aI;wo.options=lI;wo.variants=oI;wo.className=Fu;wo.defaultOptions=Gu;wo.moduleName=Hu;wo.folderName=kb;import{jsx as xj}from"react/jsx-runtime";import{jsx as sI}from"react/jsx-runtime";var zu=e=>sI(wo,{shape:"rect",...e});import{jsx as yj}from"react/jsx-runtime";import{jsx as Zn,jsxs as Wu}from"react/jsx-runtime";var Qu="k-form-field",iI=[l.disabled],ct=e=>{let{label:t,orientation:a,optional:r,editor:s,hint:i,error:n,info:p,disabled:m,dir:f,colSpan:A}=e;return Wu("div",{className:o(Qu,e.className,h(Qu,{disabled:m}),{[`k-col-span-${A}`]:A}),dir:f,children:[t&&Wu("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"}),Wu("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})]})]})};ct.states=iI;ct.className=Qu;import{Fragment as nI,jsx as Vu,jsxs as dI}from"react/jsx-runtime";var hb="k-form-fieldset",Jo=e=>{let{legend:t,layout:a,cols:r,gutters:s,colSpan:i}=e;return dI("fieldset",{className:o(hb,{[`k-col-span-${i}`]:i}),children:[t&&Vu("legend",{className:"k-form-legend",children:t}),a==="grid"?Vu("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}):Vu(nI,{children:e.children})]})};Jo.className=hb;var xb="form",gb="forms";import{Fragment as mI,jsx as Jn,jsxs as uI}from"react/jsx-runtime";import{createElement as Xu}from"react";var pp="k-form",cI=[],pI={size:[d.small,d.medium,d.large]},mp={size:d.medium,layout:"basic",tag:"form"},Lo=e=>{let{size:t=mp.size,orientation:a,layout:r=mp.layout,formButtons:s,cols:i,gutters:n,tag:p=mp.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===ct?A.push(Xu(ct,{...v.props,orientation:a,key:b})):A.push(v)}):m.type===ct?A.push(Xu(ct,{...m.props,orientation:a,key:`${new Date().getTime()}`})):m.type===Jo&&A.push(Xu(Jo,{...m.props,key:`${new Date().getTime()}`}))),uI(f,{tag:p,className:o(e.className,pp,C(pp,{size:t}),{[`${pp}-${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(mI,{children:A}),s&&Jn("div",{className:"k-form-buttons",children:s})]})};Lo.states=cI;Lo.options=pI;Lo.className=pp;Lo.defaultOptions=mp;Lo.moduleName=xb;Lo.folderName=gb;import{jsx as kI}from"react/jsx-runtime";var fI="k-actionsheet-footer",bb={alignment:"stretched",orientation:"horizontal"},So=e=>{let{alignment:t=bb.alignment,orientation:a=bb.orientation,template:r,as:s=r?"div":Q,...i}=e;return kI(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,fI),children:e.children})};var Zu="searchbox",Nb=Zu;import{jsx as Un,jsxs as gI}from"react/jsx-runtime";var Ab="k-searchbox",hI=[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]},Ju={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=Ju.showIcon,icon:E=Ju.icon,...M}=e;return gI(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,Ab),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=hI;Xe.options=xI;Xe.className=Ab;Xe.defaultOptions=Ju;Xe.moduleName=Zu;Xe.folderName=Nb;import{jsx as r7}from"react/jsx-runtime";var Uu="textbox",vb=Uu;import{Fragment as Tb,jsx as rl,jsxs as ju}from"react/jsx-runtime";var yb="k-textbox",bI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],NI={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 ju(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,yb),children:[p&&ju(Tb,{children:[rl($,{children:p}),s&&rl(Me,{})]}),rl(pe,{placeholder:v,value:A,type:f}),n&&rl(J,{valid:E,invalid:M,loading:I,disabled:P}),rl(j,{loading:I,disabled:P}),i&&rl(oe,{loading:I,disabled:P,readonly:O,value:A}),m&&ju(Tb,{children:[s&&rl(Me,{}),rl(ee,{children:m})]})]})};U.states=bI;U.options=NI;U.className=yb;U.defaultOptions=cr;U.moduleName=Uu;U.folderName=vb;import{jsx as g7}from"react/jsx-runtime";import{Fragment as y7,jsx as T7}from"react/jsx-runtime";import{Fragment as S7,jsx as L7}from"react/jsx-runtime";import{jsx as sl,jsxs as qu}from"react/jsx-runtime";var Mb="k-actionsheet-titlebar",AI={},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 qu("div",{...v,className:o(e.className,Mb),children:[qu("div",{className:"k-actionsheet-titlebar-group",children:[r&&sl("div",{className:"k-actionsheet-actions",children:r}),!A&&qu("div",{className:"k-actionsheet-title",children:[t&&sl("div",{className:"k-text-center",children:t}),a&&sl("div",{className:"k-actionsheet-subtitle k-text-center",children:a})]}),A&&sl("div",{className:"k-actionsheet-title",children:A}),s&&sl("div",{className:"k-actionsheet-actions",children:s})]}),(n||i)&&sl("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:n?sl(U,{value:p,placeholder:m,size:f?"large":"medium"}):sl(Xe,{placeholder:"Filter",size:f?"large":"medium"})})]})};ie.className=Mb;ie.defaultOptions=AI;import{jsx as _u,jsxs as EI}from"react/jsx-runtime";var $u="k-actionsheet-view",vI=[],TI={},yI={},bs=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...n}=e,p=s?.type===ie&&_u(ie,{adaptive:t,...s?.props}),m=i?.type===So&&_u(So,{...i?.props});return EI("div",{...n,className:o(e.className,$u,{[`${$u}-animated`]:a}),children:[p,_u("div",{className:"k-actionsheet-content",children:r}),m]})};bs.states=vI;bs.options=TI;bs.className=$u;bs.defaultOptions=yI;var jn="action-sheet",up=jn;import{jsx as fp,jsxs as wI}from"react/jsx-runtime";var wb="k-actionsheet",CI=[],MI={},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 wI("div",{className:"k-actionsheet-container",children:[s&&fp("div",{className:"k-overlay"}),fp(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:fp("div",{...f,className:o(e.className,wb,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||fp(bs,{header:p,footer:m,adaptive:r,...e,children:n})})})]})};ae.states=CI;ae.options=MI;ae.className=wb;ae.defaultOptions=qn;ae.moduleName=jn;ae.folderName=up;import{jsx as BI}from"react/jsx-runtime";var Lb="k-actionsheet-container",LI=[],SI={},II={},Ns=e=>{let{children:t,...a}=e;return BI("div",{...a,className:Lb,children:t})};Ns.states=LI;Ns.options=SI;Ns.className=Lb;Ns.defaultOptions=II;Ns.moduleName=jn;Ns.folderName=up;import{jsx as rq}from"react/jsx-runtime";import{Fragment as DI,jsx as _n,jsxs as ef}from"react/jsx-runtime";var tf="k-actionsheet-item",PI=[l.hover,l.focus,l.selected,l.disabled],of=e=>{let{iconName:t,text:a,description:r,hover:s,focus:i,selected:n,disabled:p,...m}=e;return ef("span",{...m,className:o(e.className,tf,h(tf,{hover:s,focus:i,selected:n,disabled:p})),children:[!e.children&&_n(DI,{children:ef("span",{className:"k-actionsheet-action",children:[t&&_n("span",{className:"k-icon-wrap",children:_n(g,{className:"k-actionsheet-item-icon",icon:t})}),ef("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]})};of.states=PI;of.className=tf;import{jsx as fq,jsxs as kq}from"react/jsx-runtime";import{jsx as bq}from"react/jsx-runtime";import{jsx as Tq}from"react/jsx-runtime";import{jsx as Mq}from"react/jsx-runtime";var Ib="dropdown-list",Bb="dropdownlist";import{Fragment as YI,jsx as Lt,jsxs as af}from"react/jsx-runtime";var Pb="k-dropdownlist",RI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],KI={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:tr,...ns}=e;return af(YI,{children:[af(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,Pb,{"k-icon-picker":!i&&n}),children:[Lt($,{children:p}),Lt(La,{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:tr,inputValue:f,inputPlaceholder:A,title:gt,subtitle:Co}),children:Lt("div",{className:"k-list-container",children:af(z,{size:"large",children:[Lt(D,{text:"List item"}),Lt(D,{text:"List item"}),Lt(D,{text:"List item"})]})})})]})};te.states=RI;te.options=KI;te.className=Pb;te.defaultOptions=As;te.moduleName=Ib;te.folderName=Bb;import{jsx as e_}from"react/jsx-runtime";import{jsx as r_,jsxs as s_}from"react/jsx-runtime";import{Fragment as f_,jsx as m_,jsxs as u_}from"react/jsx-runtime";import{jsx as g_}from"react/jsx-runtime";import{jsx as T_,jsxs as y_}from"react/jsx-runtime";import{jsx as L_,jsxs as S_}from"react/jsx-runtime";import{Fragment as O_,jsx as K_,jsxs as Y_}from"react/jsx-runtime";import{Fragment as X_,jsx as Q_,jsxs as V_}from"react/jsx-runtime";var mr="radio",vs=mr;import{jsx as Db}from"react/jsx-runtime";var kp="k-radio",OI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked],HI={size:[d.small,d.medium,d.large]},Rb={size:d.medium},Io=e=>{let{id:t,checked:a,hover:r,focus:s,disabled:i,invalid:n,valid:p,required:m,size:f=Rb.size,...A}=e;return Db("span",{className:"k-radio-wrap",children:Db("input",{...A,id:t,type:"radio",checked:a,required:m,className:o(e.className,kp,C(kp,{size:f}),h(kp,{hover:r,focus:s,disabled:i,invalid:n,valid:p,checked:a}))})})};Io.states=OI;Io.options=HI;Io.className=kp;Io.defaultOptions=Rb;Io.moduleName=mr;Io.folderName=vs;import{jsx as zI}from"react/jsx-runtime";var Kb="k-radio-list",FI=[],GI={},Yb={layout:"vertical"},il=e=>{let{layout:t=Yb.layout,...a}=e;return zI("ul",{...a,className:o(e.className,Kb,{[`k-list-${t}`]:t}),children:e.children})};il.states=FI;il.options=GI;il.className=Kb;il.defaultOptions=Yb;il.moduleName=mr;il.folderName=vs;import{jsx as XI}from"react/jsx-runtime";var Ob="k-radio-list-item",WI=[],QI={},VI={},nl=e=>{let{...t}=e;return XI("li",{...t,className:o(e.className,Ob),children:e.children})};nl.states=WI;nl.options=QI;nl.className=Ob;nl.defaultOptions=VI;nl.moduleName=mr;nl.folderName=vs;import{jsx as b$}from"react/jsx-runtime";import{Fragment as y$,jsx as T$,jsxs as E$}from"react/jsx-runtime";import{Fragment as S$,jsx as L$,jsxs as I$}from"react/jsx-runtime";import{Fragment as Y$,jsx as R$,jsxs as K$}from"react/jsx-runtime";import{Fragment as z$,jsx as G$,jsxs as W$}from"react/jsx-runtime";import{Fragment as J$,jsx as Z$,jsxs as U$}from"react/jsx-runtime";import{Fragment as JI,jsx as St,jsxs as Ts}from"react/jsx-runtime";var hp=({size:e,...t})=>St(Lo,{formButtons:Ts(JI,{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(ct,{label:"Label",editor:St(U,{size:e})}),St(ct,{label:"Label",hint:"Hint text",editor:St(te,{value:"Dropdown List",size:e})}),St(ct,{label:"City",editor:Ts("ul",{className:"k-radio-list k-list-horizontal",children:[Ts("li",{className:"k-radio-list-item",children:[St(Io,{checked:!0,size:e}),St("label",{className:"k-radio-label",children:"Label"})]}),Ts("li",{className:"k-radio-list-item",children:[St(Io,{size:e}),St("label",{className:"k-radio-label",children:"Label"})]}),Ts("li",{className:"k-radio-list-item",children:[St(Io,{size:e}),St("label",{className:"k-radio-label",children:"Label"})]})]})})]}),size:e,...t});import{Fragment as Aee,jsx as Nee,jsxs as vee}from"react/jsx-runtime";import{Fragment as Lee,jsx as wee,jsxs as See}from"react/jsx-runtime";var rf="menu-button",Hb=rf;import{Fragment as qI,jsx as Fb,jsxs as _I}from"react/jsx-runtime";var Gb="k-menu-button",UI=[l.hover,l.focus,l.active,l.selected,l.disabled],jI={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 _I(qI,{children:[Fb(c,{...w,className:o(e.className,Gb),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&&Fb(H,{className:"k-menu-popup",children:E})]})};X.states=UI;X.options=jI;X.className=Gb;X.defaultOptions=ur;X.moduleName=rf;X.folderName=Hb;import{jsx as Jee}from"react/jsx-runtime";import{jsx as _ee}from"react/jsx-runtime";import{jsx as ote}from"react/jsx-runtime";var Jt="menu",io=Jt;import{Fragment as tB,jsx as ys,jsxs as zb}from"react/jsx-runtime";var nf="k-menu-item",$I=[l.hover,l.focus,l.active,l.selected,l.disabled],eB={},Wb={iconPosition:"before"},et=e=>{let{hover:t,focus:a,active:r,selected:s,di