UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 320 kB
var o=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?o(...t):typeof t=="object"?Object.keys(t).map((a,r)=>t[r]||t[a]&&a||null).filter(a=>a!==null).join(" "):t).filter(t=>!!t).join(" ");var C=(e,t)=>o({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.fillMode}-${t.themeColor}`]:t.fillMode&&t.themeColor},{[`${e}-${t.themeColor}`]:t.themeColor&&t.fillMode===void 0},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full"}),x=(e,t)=>{let{valid:a,invalid:r,hover:s,focus:i,checked:n,active:p,selected:m,disabled:f,indeterminate:v,loading:T,empty:N,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":v&&!n,"k-loading":T,"k-empty":N,"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 Vc(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"},g={small:"small",medium:"medium",large:"large",full:"full"},A={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"},Vt={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var dt="calendar",ht=dt;import{jsx as ru,jsxs as GM}from"react/jsx-runtime";var su="k-calendar",HM=[],FM={size:[d.small,d.medium,d.large]},ps={size:d.medium,showCalendarHeader:!0,orientation:"horizontal",calendarView:"month",calendarTitleText:"October 2021"},Nt=e=>{let{size:t=ps.size,orientation:a=ps.orientation,calendarView:r=ps.calendarView,calendarTitleText:s=ps.calendarTitleText,showCalendarHeader:i=ps.showCalendarHeader,showWeek:n,showCalendarFooter:p,calendarFooterText:m,dir:f,...v}=e;return GM("div",{...v,dir:f,className:o(e.className,su,C(su,{size:t}),{"k-week-number":n}),children:[i&&ru(lr,{calendarView:r,showToday:!p,calendarTitleText:s,orientation:a,size:t,dir:f}),ru(Xc,{calendarView:r,orientation:a,children:e.children}),p&&ru(gn,{calendarFooterText:m,size:t})]})};Nt.states=HM;Nt.options=FM;Nt.className=su;Nt.defaultOptions=ps;Nt.moduleName=dt;Nt.folderName=ht;import{jsx as VM}from"react/jsx-runtime";var Ux="k-calendar-container",zM=[],WM={},QM={},ms=e=>{let{...t}=e;return VM("div",{...t,className:o(e.className,Ux),children:e.children})};ms.states=zM;ms.options=WM;ms.className=Ux;ms.defaultOptions=QM;ms.moduleName=dt;ms.folderName=ht;import{Fragment as ZM,jsx as bn,jsxs as JM}from"react/jsx-runtime";var XM=[l.hover,l.focus,l.active,l.selected,l.disabled],h=e=>{let{text:t,headerCell:a,today:r,weekend:s,showOtherMonth:i,weekCell:n,rangeStart:p,rangeMid:m,rangeEnd:f,dayIndicator:v,empty:T,hover:N,focus:y,active:E,selected:M,disabled:w,...I}=e,H=`k-calendar-${a?"th":"td"}`,V=[e.className,H,x(H,{hover:N,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":T}];return a?bn("th",{...I,className:o(V),children:t}):n?bn("td",{...I,className:o(V),children:t}):bn("td",{...I,className:o(V),children:T&&!i?bn(ZM,{children:"\xA0"}):JM("span",{className:"k-link",children:[t,v&&bn("span",{className:"k-day-indicator"})]})})};h.states=XM;import{Fragment as _M,jsx as jx}from"react/jsx-runtime";var iu="k-font-icon",UM=[],jM={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]},qM={},Nn=e=>{let{size:t,themeColor:a,icon:r,rotate:s,flip:i,...n}=e;return r?jx("span",{...n,className:o(e.className,iu,C(iu,{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"})}):jx(_M,{})};Nn.states=UM;Nn.options=jM;Nn.className=iu;Nn.defaultOptions=qM;var qx=Nn;import{Fragment as tw,jsx as Zc}from"react/jsx-runtime";var nu="k-svg-icon",$M=[],ew={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]},_x={viewBox:"0 0 24 24"},An=e=>{let{size:t,themeColor:a,rotate:r,flip:s,viewBox:i=_x.viewBox,icon:n,...p}=e;if(!n)return Zc(tw,{});n==="none"&&{...p,className:o(e.className,nu,"k-none")};let m=typeof n=="object"&&n.name&&n.name;return Zc("span",{...p,className:o(e.className,nu,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:Zc("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})})};An.states=$M;An.options=ew;An.className=nu;An.defaultOptions=_x;var du=An;import*as cu from"@progress/kendo-svg-icons";var $x="icon",eg="icons";import{Fragment as tg,jsx as vn}from"react/jsx-runtime";var Jc="k-icon",ow=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),aw=[],lw={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]},pu={viewBox:"0 0 24 24",type:"svg"},b=e=>{let{size:t,themeColor:a,icon:r,type:s=pu.type,rotate:i,flip:n,viewBox:p=pu.viewBox,...m}=e;if(!r)return vn(tg,{});if(s==="svg"){if(r==="none")return vn(du,{...m,className:o(e.className,Jc),icon:r,size:t});let f=cu[r]?r:ow(`${r}-icon`);return cu[f]?vn(du,{...m,className:o(e.className,Jc),icon:cu[f],size:t,themeColor:a,rotate:i,flip:n,viewBox:p}):vn(tg,{})}return vn(qx,{...m,className:o(e.className,Jc),icon:r,size:t,themeColor:a,rotate:i,flip:n})};b.states=aw;b.options=lw;b.defaultOptions=pu;b.className=Jc;b.moduleName=$x;b.folderName=eg;var mu=b;var uu="button",og=uu;import{Fragment as nw,jsx as Tn,jsxs as ag}from"react/jsx-runtime";var yn="k-button",rw=["icon-button"],sw=[l.hover,l.focus,l.active,l.selected,l.disabled,l.generating],iw={size:[d.small,d.medium,d.large],rounded:[g.small,g.medium,g.large,g.full],fillMode:[A.solid,A.flat,A.outline,A.clear,A.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},rr={size:d.medium,rounded:g.medium,fillMode:A.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},c=e=>{let{size:t=rr.size,rounded:a=rr.rounded,fillMode:r=rr.fillMode,themeColor:s=rr.themeColor,showArrow:i=rr.showArrow,arrowIconName:n=rr.arrowIconName,variant:p,hover:m,focus:f,active:v,selected:T,disabled:N,icon:y,text:E,iconClassName:M,...w}=e,I=y!==void 0,P=e.children!==void 0;return ag("button",{...w,className:o(e.className,yn,Vc(yn,p),C(yn,{size:t,rounded:a,fillMode:r,themeColor:s}),x(yn,{hover:m,focus:f,active:v,disabled:N,selected:T}),{"k-icon-button":!E&&!P&&I}),children:[y&&Tn(b,{className:o(M,"k-button-icon"),icon:y}),E?ag(nw,{children:[E&&Tn("span",{className:"k-button-text",children:E}),e.children]}):e.children&&Tn("span",{className:"k-button-text",children:e.children}),i&&Tn("span",{className:"k-menu-button-arrow k-button-arrow",children:Tn(b,{icon:n})})]})};c.states=sw;c.options=iw;c.variants=rw;c.className=yn;c.defaultOptions=rr;c.moduleName=uu;c.folderName=og;import{jsx as dw}from"react/jsx-runtime";var Xe=e=>dw(c,{icon:"folder",...e,children:void 0});import{jsx as cw}from"react/jsx-runtime";var Lo=e=>cw(c,{icon:"folder",children:"Button",...e});import{jsx as dQ}from"react/jsx-runtime";import{jsx as En,jsxs as lg}from"react/jsx-runtime";var rg="k-calendar-header",pw={size:[d.small,d.medium,d.large]},us={calendarTitleText:"October 2021",showToday:!0,showNavigationButtons:!0,orientation:"horizontal",size:d.medium},lr=e=>{let{calendarTitleText:t=us.calendarTitleText,showToday:a=us.showToday,showNavigationButtons:r=us.showNavigationButtons,orientation:s=us.orientation,size:i=us.size,calendarView:n,dir:p,...m}=e,f=p==="rtl"?"chevron-right":"chevron-left",v=p==="rtl"?"chevron-left":"chevron-right";return lg("div",{...m,className:o(e.className,rg,{"k-vstack":s==="vertical"}),children:[En(c,{disabled:n==="century",className:"k-calendar-title",text:t,size:i,fillMode:"flat",themeColor:"primary"}),En("span",{className:"k-spacer"}),lg("span",{className:"k-calendar-nav",children:[r&&En(c,{className:"k-calendar-nav-prev",icon:f,size:i,fillMode:"flat"}),a&&En(c,{size:i,fillMode:"flat",className:"k-calendar-nav-today",children:"Today"}),r&&En(c,{className:"k-calendar-nav-next",icon:v,size:i,fillMode:"flat"})]})]})};lr.options=pw;lr.className=rg;lr.defaultOptions=us;import{jsx as sg}from"react/jsx-runtime";var ig="k-calendar-footer",mw={size:[d.small,d.medium,d.large]},fu={size:d.medium,calendarFooterText:"Tuesday, October 12, 2021"},gn=e=>{let{size:t=fu.size,calendarFooterText:a=fu.calendarFooterText,...r}=e;return sg("div",{...r,className:o(e.className,ig),children:sg(c,{size:t,fillMode:"flat",themeColor:"primary",className:"k-calendar-nav-today",children:a})})};gn.options=mw;gn.className=ig;gn.defaultOptions=fu;import{jsx as kw}from"react/jsx-runtime";var uw=[],fw={},ie=e=>{let{type:t,...a}=e;return kw(t,{...a,className:o(e.className),children:e.children})};ie.states=uw;ie.options=fw;var pe="typography",he=pe;import{jsx as gw}from"react/jsx-runtime";var ng="k-body",hw=[],xw={},Cn=e=>gw(ie,{...e,className:o(e.className,ng),type:"body"});Cn.states=hw;Cn.options=xw;Cn.className=ng;Cn.moduleName=pe;Cn.folderName=he;import{jsx as Aw}from"react/jsx-runtime";var dg="k-pre",bw=[],Nw={},Mn=e=>Aw(ie,{...e,className:o(e.className,dg),type:"pre"});Mn.states=bw;Mn.options=Nw;Mn.className=dg;Mn.moduleName=pe;Mn.folderName=he;import{jsx as yw}from"react/jsx-runtime";var cg="k-code",vw=[],Tw={},wn=e=>yw(ie,{...e,className:o(e.className,cg),type:"code"});wn.states=vw;wn.options=Tw;wn.className=cg;wn.moduleName=pe;wn.folderName=he;import{jsx as Mw}from"react/jsx-runtime";var pg="k-paragraph",Ew=[],Cw={},Ln=e=>Mw(ie,{...e,className:o(e.className,pg),type:"p"});Ln.states=Ew;Ln.options=Cw;Ln.className=pg;Ln.moduleName=pe;Ln.folderName=he;import{jsx as Sw}from"react/jsx-runtime";var mg="k-h1",ww=[],Lw={},Sn=e=>Sw(ie,{...e,className:o(e.className,mg),type:"h1"});Sn.states=ww;Sn.options=Lw;Sn.className=mg;Sn.moduleName=pe;Sn.folderName=he;import{jsx as Pw}from"react/jsx-runtime";var ug="k-h2",Iw=[],Bw={},In=e=>Pw(ie,{...e,className:o(e.className,ug),type:"h2"});In.states=Iw;In.options=Bw;In.className=ug;In.moduleName=pe;In.folderName=he;import{jsx as Kw}from"react/jsx-runtime";var fg="k-h3",Dw=[],Rw={},Bn=e=>Kw(ie,{...e,className:o(e.className,fg),type:"h3"});Bn.states=Dw;Bn.options=Rw;Bn.className=fg;Bn.moduleName=pe;Bn.folderName=he;import{jsx as Hw}from"react/jsx-runtime";var kg="k-h4",Yw=[],Ow={},Pn=e=>Hw(ie,{...e,className:o(e.className,kg),type:"h4"});Pn.states=Yw;Pn.options=Ow;Pn.className=kg;Pn.moduleName=pe;Pn.folderName=he;import{jsx as zw}from"react/jsx-runtime";var hg="k-h5",Fw=[],Gw={},Dn=e=>zw(ie,{...e,className:o(e.className,hg),type:"h5"});Dn.states=Fw;Dn.options=Gw;Dn.className=hg;Dn.moduleName=pe;Dn.folderName=he;import{jsx as Vw}from"react/jsx-runtime";var xg="k-h6",Ww=[],Qw={},Rn=e=>Vw(ie,{...e,className:o(e.className,xg),type:"h6"});Rn.states=Ww;Rn.options=Qw;Rn.className=xg;Rn.moduleName=pe;Rn.folderName=he;import{jsx as Jw}from"react/jsx-runtime";var gg="k-display-1",Xw=[],Zw={},Kn=e=>Jw(ie,{...e,className:o(e.className,gg),type:"div"});Kn.states=Xw;Kn.options=Zw;Kn.className=gg;Kn.moduleName=pe;Kn.folderName=he;import{jsx as qw}from"react/jsx-runtime";var bg="k-display-2",Uw=[],jw={},Yn=e=>qw(ie,{...e,className:o(e.className,bg),type:"div"});Yn.states=Uw;Yn.options=jw;Yn.className=bg;Yn.moduleName=pe;Yn.folderName=he;import{jsx as eL}from"react/jsx-runtime";var Ng="k-display-3",_w=[],$w={},On=e=>eL(ie,{...e,className:o(e.className,Ng),type:"div"});On.states=_w;On.options=$w;On.className=Ng;On.moduleName=pe;On.folderName=he;import{jsx as aL}from"react/jsx-runtime";var Ag="k-display-4",tL=[],oL={},Hn=e=>aL(ie,{...e,className:o(e.className,Ag),type:"div"});Hn.states=tL;Hn.options=oL;Hn.className=Ag;Hn.moduleName=pe;Hn.folderName=he;var ku="action-buttons",vg=ku;import{jsx as sL}from"react/jsx-runtime";var Uc="k-actions",lL=[],rL={},hu={alignment:"start",orientation:"horizontal"},X=e=>{let{alignment:t=hu.alignment,orientation:a=hu.orientation,...r}=e;return sL("div",{...r,className:o(Uc,{[`${Uc}-${t}`]:t,[`${Uc}-${a}`]:a},e.className),children:e.children})};X.states=lL;X.options=rL;X.className=Uc;X.defaultOptions=hu;X.moduleName=ku;X.folderName=vg;var Tg=X;var Fn="input",jc=Fn;import{jsx as dL}from"react/jsx-runtime";var qc="k-input",iL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],nL={size:[d.small,d.medium,d.large],rounded:[g.small,g.medium,g.large,g.full],fillMode:[A.solid,A.flat,A.outline]},_c={size:d.medium,rounded:d.medium,fillMode:A.solid},L=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:v=_c.fillMode,...T}=e;return dL("span",{...T,className:o(e.className,qc,C(qc,{size:m,rounded:f,fillMode:v}),x(qc,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p}))})};L.states=iL;L.options=nL;L.className=qc;L.defaultOptions=_c;L.moduleName=Fn;L.folderName=jc;import{jsx as mL}from"react/jsx-runtime";var $c="k-picker",cL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],pL={size:[d.small,d.medium,d.large],rounded:[g.small,g.medium,g.large,g.full],fillMode:[A.solid,A.flat,A.outline]},ep={size:d.medium,rounded:g.medium,fillMode:A.solid},At=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p,size:m=ep.size,rounded:f=ep.rounded,fillMode:v=ep.fillMode,...T}=e;return mL("span",{...T,className:o(e.className,$c,C($c,{size:m,rounded:f,fillMode:v}),x($c,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p})),children:e.children})};At.states=cL;At.options=pL;At.className=$c;At.defaultOptions=ep;At.moduleName=Fn;At.folderName=jc;import{Fragment as kL,jsx as xu}from"react/jsx-runtime";var yg="k-clear-value",uL=[l.disabled,l.loading,l.readonly],fL={},ae=e=>{let{disabled:t,loading:a,readonly:r,value:s}=e;return t||r||a||!s?xu(kL,{}):xu("span",{className:o(e.className,yg),children:xu(b,{icon:"x"})})};ae.states=uL;ae.options=fL;ae.className=yg;import{jsx as gL}from"react/jsx-runtime";var gu="k-input-inner",hL=[],xL={},tp={type:"text",autocomplete:"off",value:"",placeholder:""},me=e=>{let{value:t=tp.value,type:a=tp.type,placeholder:r=tp.placeholder,autocomplete:s=tp.autocomplete,...i}=e;return gL("input",{...i,type:a,className:o(e.className,gu,C(gu,e)),placeholder:r,autoComplete:s,defaultValue:t})};me.states=hL;me.options=xL;me.className=gu;import{jsx as Eg,jsxs as AL}from"react/jsx-runtime";var bu="k-input-inner",bL=[],NL={},Sa=e=>{let{value:t,placeholder:a,showValue:r,valueIcon:s,valueIconName:i,...n}=e;return AL("span",{...n,className:o(e.className,bu,C(bu,e)),children:[s,!s&&i&&Eg(b,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&Eg("span",{className:"k-input-value-text",children:t})]})};Sa.states=bL;Sa.options=NL;Sa.className=bu;import{jsx as yL}from"react/jsx-runtime";var Nu="k-input-inner",vL=[],TL={},Cg={value:"",placeholder:""},Gn=e=>{let{value:t=Cg.value,placeholder:a=Cg.placeholder,rows:r,...s}=e;return yL("textarea",{...s,className:o(e.className,Nu,C(Nu,e)),placeholder:a,rows:r,defaultValue:t})};Gn.states=vL;Gn.options=TL;Gn.className=Nu;import{Fragment as CL,jsx as Mg}from"react/jsx-runtime";var wg="k-input-loading-icon",EL=[l.disabled,l.loading],q=e=>{let{disabled:t,loading:a}=e;return t||!a?Mg(CL,{}):Mg("span",{className:o(e.className,wg,"k-icon k-i-loading")})};q.states=EL;q.className=wg;import{Fragment as LL,jsx as Lg}from"react/jsx-runtime";var Sg="k-input-validation-icon",ML=[l.valid,l.invalid,l.disabled,l.loading],wL={},U=e=>{let{valid:t,invalid:a,disabled:r,loading:s}=e,i=a?"warning-circle":"check-circle";return r||s||!!!(t||a)?Lg(LL,{}):Lg(b,{className:o(Sg),icon:i})};U.states=ML;U.options=wL;U.className=Sg;import{Fragment as BL,jsx as Ig}from"react/jsx-runtime";var SL="k-input-prefix",IL={direction:"horizontal"},ee=e=>{let{direction:t=IL.direction,...a}=e;return e.children?Ig("span",{...a,className:o(SL,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Ig(BL,{})};import{Fragment as RL,jsx as Bg}from"react/jsx-runtime";var PL="k-input-suffix",DL={direction:"horizontal"},te=e=>{let{direction:t=DL.direction,...a}=e;return e.children?Bg("span",{...a,className:o(PL,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Bg(RL,{})};import{jsx as q6}from"react/jsx-runtime";import{jsx as t3}from"react/jsx-runtime";import{jsx as YL}from"react/jsx-runtime";var Pg="k-input-separator",KL={direction:"vertical"},we=e=>{let{direction:t=KL.direction,...a}=e;return YL("span",{...a,className:o(Pg,e.className,{[`${Pg}-${t}`]:t})})};import{jsx as FL}from"react/jsx-runtime";var op="k-input-group",OL=[l.disabled],HL={fillMode:[A.solid,A.flat,A.outline,A.clear,A.link]},Dg={fillMode:A.solid},fs=e=>{let{fillMode:t=Dg.fillMode,disabled:a,...r}=e;return FL("div",{...r,className:o(e.className,op,C(op,{fillMode:t}),x(op,{disabled:a})),children:e.children})};fs.states=OL;fs.options=HL;fs.className=op;fs.defaultOptions=Dg;var Au="popup",Rg=Au;import{jsx as Kg}from"react/jsx-runtime";var Yg="k-animation-container",GL=[],zL={},Og={positionMode:"absolute"},Jo=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})})};Jo.states=GL;Jo.options=zL;Jo.className=Yg;Jo.defaultOptions=Og;Jo.moduleName=Au;Jo.folderName=Rg;var vu="popup",Hg=vu;import{jsx as Fg}from"react/jsx-runtime";var Gg="k-popup",WL=[],QL={},zg={positionMode:"absolute"},F=e=>{let{offset:t,positionMode:a=zg.positionMode,animationStyle:r,...s}=e;return Fg(Jo,{positionMode:a,offset:t,animationStyle:r,children:Fg("div",{...s,className:o(e.className,Gg),children:e.children})})};F.states=WL;F.options=QL;F.className=Gg;F.defaultOptions=zg;F.moduleName=vu;F.folderName=Hg;import{jsx as XL}from"react/jsx-runtime";var VL="k-no-data",zn=e=>XL("span",{className:o(VL,e.className),children:e.children});var Ia="list",ol=Ia;import{jsx as ks,jsxs as Wg}from"react/jsx-runtime";var Tu="k-list",ZL=[],JL={size:[d.small,d.medium,d.large]},Qg={size:d.medium},Q=e=>{let{size:t=Qg.size,virtualization:a,children:r,optionLabel:s,customValue:i,screenReaders:n,...p}=e,m,f,v,T,N=[];return r?r.map((y,E)=>{y.type===Le?(y.props.root===!0?(m=y.props.label,y.props.children.map((M,w)=>{N.push(ks(D,{...M.props},`optChild-${w}-${new Date().getTime()}`))})):y.props.children.forEach((M,w)=>{let I="";w===0&&(I=y.props.label),N.push(ks(D,{className:w===0?"k-first":"",...M.props,groupLabel:I},`groupLabel-${w}-${new Date().getTime()}`))}),f=ks(Le,{label:m,virtualization:a,children:N})):y.type===D&&(N.push(ks(D,{...y.props},`${y.type}-${E}`)),v=ks(hs,{virtualization:a,children:N}),n&&(T=Wg(zn,{className:"k-sr-only",children:[N.length," items found."]})))}):T=ks(zn,{children:"No data found."}),Wg("div",{...p,className:o(e.className,Tu,C(Tu,{size:t}),{"k-virtual-list":a}),children:[s,i,f,v,T]})};Q.states=ZL;Q.options=JL;Q.className=Tu;Q.defaultOptions=Qg;Q.moduleName=Ia;Q.folderName=ol;import{jsx as _L}from"react/jsx-runtime";var Vg="k-list-container",UL=[],jL={},qL={},xs=e=>{let{...t}=e;return _L("div",{...t,className:o(e.className,Vg),children:e.children})};xs.states=UL;xs.options=jL;xs.className=Vg;xs.defaultOptions=qL;xs.moduleName=Ia;xs.folderName=ol;import{jsx as sr,jsxs as tS}from"react/jsx-runtime";var yu="k-list",$L=[],eS={size:[d.small,d.medium,d.large]},Xg={size:d.medium},Ba=e=>{let{size:t=Xg.size,virtualization:a,children:r,...s}=e,i,n,p,m=[];return r?r.map((f,v)=>{f.type===Le?(f.props.root===!0?(i=f.props.label,f.props.children.map((T,N)=>{m.push(sr(D,{...T.props},`optChild-${N}-${new Date().getTime()}`))})):(m.push(sr(Zg,{...f.props,children:f.props.label},`listChild-${v}`)),f.props.children.map((T,N)=>{m.push(sr(D,{...T.props},`fwOptChild-${N}-${new Date().getTime()}`))})),n=sr(Le,{label:i,virtualization:a,children:m})):f.type===D&&(m.push(sr(D,{...f.props},`${f.type}-${v}`)),p=sr(hs,{virtualization:a,children:m}))}):p=sr(zn,{children:"No data found."}),tS("div",{...s,className:o(e.className,yu,C(yu,{size:t}),{"k-virtual-list":a}),children:[n,p]})};Ba.states=$L;Ba.options=eS;Ba.className=yu;Ba.defaultOptions=Xg;Ba.moduleName=Ia;Ba.folderName=ol;var ir="checkbox",gs=ir;import{jsx as Jg}from"react/jsx-runtime";var ap="k-checkbox",oS=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],aS={size:[d.small,d.medium,d.large],rounded:[g.small,g.medium,g.large,g.full]},Eu={size:d.medium,rounded:g.medium},et=e=>{let{id:t,checked:a,indeterminate:r,hover:s,focus:i,disabled:n,invalid:p,valid:m,required:f,size:v=Eu.size,rounded:T=Eu.rounded,...N}=e;return Jg("span",{className:"k-checkbox-wrap",children:Jg("input",{...N,id:t,type:"checkbox",defaultChecked:a,required:f,className:o(e.className,ap,C(ap,{size:v,rounded:T}),x(ap,{hover:s,focus:i,disabled:n,invalid:p,valid:m,indeterminate:r,checked:a}))})})};et.states=oS;et.options=aS;et.className=ap;et.defaultOptions=Eu;et.moduleName=ir;et.folderName=gs;import{jsx as sS}from"react/jsx-runtime";var Ug="k-checkbox-list",lS=[],rS={},jg={layout:"vertical"},al=e=>{let{layout:t=jg.layout,...a}=e;return sS("ul",{...a,className:o(e.className,Ug,{[`k-list-${t}`]:t}),children:e.children})};al.states=lS;al.options=rS;al.className=Ug;al.defaultOptions=jg;al.moduleName=ir;al.folderName=gs;import{jsx as cS}from"react/jsx-runtime";var qg="k-checkbox-list-item",iS=[],nS={},dS={},ll=e=>{let{...t}=e;return cS("li",{...t,className:o(e.className,qg),children:e.children})};ll.states=iS;ll.options=nS;ll.className=qg;ll.defaultOptions=dS;ll.moduleName=ir;ll.folderName=gs;import{Fragment as yX,jsx as TX,jsxs as EX}from"react/jsx-runtime";import{Fragment as SX,jsx as LX,jsxs as IX}from"react/jsx-runtime";import{Fragment as KX,jsx as RX,jsxs as YX}from"react/jsx-runtime";import{Fragment as zX,jsx as GX,jsxs as WX}from"react/jsx-runtime";import{jsx as ZX}from"react/jsx-runtime";import{jsx as qX}from"react/jsx-runtime";import{jsx as lp,jsxs as fS}from"react/jsx-runtime";var Mu="k-list-item",pS=[l.hover,l.focus,l.selected,l.disabled],mS={},uS={},D=e=>{let{text:t,groupLabel:a,group:r,showIcon:s,iconName:i,showCheckbox:n,checked:p,hover:m,focus:f,selected:v,disabled:T,...N}=e,y=t||e.children;return fS("li",{...N,className:o(e.className,r?"k-list-group-item":Mu,x(Mu,{hover:m,focus:f,disabled:T,selected:v})),children:[n&&lp(et,{checked:p}),s&&lp(b,{icon:i}),lp("span",{className:"k-list-item-text",children:y}),a&&a!==""&&lp("div",{className:"k-list-item-group-label",children:a})]})};D.states=pS;D.options=mS;D.className=Mu;D.defaultOptions=uS;D.moduleName=Ia;D.folderName=ol;import{jsx as wu,jsxs as hS}from"react/jsx-runtime";var kS="k-list-content",hs=e=>{let{virtualization:t,...a}=e;return hS("div",{...a,className:o(kS,e.className),children:[wu("ul",{className:o("k-list-ul"),children:e.children}),t&&wu("div",{className:"k-height-container",children:wu("div",{})})]})};import{jsx as _g}from"react/jsx-runtime";var xS="k-list-group-sticky-header",$g=e=>_g("div",{className:o(xS,e.className),children:_g("div",{className:"k-list-header-text",children:e.children})});import{Fragment as gS,jsx as eb,jsxs as bS}from"react/jsx-runtime";var Le=e=>{let{virtualization:t,label:a}=e;return bS(gS,{children:[a&&eb($g,{children:a}),e.children&&eb(hs,{virtualization:t,children:e.children})]})};import{jsx as tb}from"react/jsx-runtime";var NS="k-list-group-item",Zg=e=>tb("li",{className:o(NS,e.className),children:tb("span",{className:"k-list-item-text",children:e.children})});import{jsx as yS}from"react/jsx-runtime";var Lu="k-list-optionlabel",AS=[l.hover,l.focus,l.selected,l.disabled],vS={},TS={},rp=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...n}=e;return yS("div",{...n,className:o(Lu,x(Lu,{hover:a,focus:r,selected:s,disabled:i})),children:t})};rp.states=AS;rp.options=vS;rp.className=Lu;rp.defaultOptions=TS;import{jsx as wS}from"react/jsx-runtime";var Su="k-list-custom-value",ES=[l.hover,l.focus,l.selected,l.disabled],CS={},MS={},ct=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...n}=e;return wS("div",{...n,className:o(Su,x(Su,{hover:a,focus:r,selected:s,disabled:i})),children:t})};ct.states=ES;ct.options=CS;ct.className=Su;ct.defaultOptions=MS;import{jsx as RZ}from"react/jsx-runtime";import{jsx as HZ}from"react/jsx-runtime";import{jsx as WZ,jsxs as QZ}from"react/jsx-runtime";import{jsx as JZ,jsxs as UZ}from"react/jsx-runtime";import{jsx as $Z}from"react/jsx-runtime";import{jsx as aJ,jsxs as lJ}from"react/jsx-runtime";import{jsx as nJ,jsxs as dJ}from"react/jsx-runtime";var Iu="suggestion",ob=Iu;import{jsx as Bu,jsxs as IS}from"react/jsx-runtime";var ab="k-suggestion-group",LS=[],SS={},lb={layout:"scrollable"},Uo=e=>{let{layout:t=lb.layout,...a}=e,r=Bu("div",{...a,className:o(ab,{"k-suggestion-group-scrollable":t=="scrollable"},e.className),children:e.children});return t=="scrollButtons"?IS("div",{className:"k-suggestion-scrollwrap",children:[Bu(c,{icon:"chevron-left"}),r,Bu(c,{icon:"chevron-right"})]}):r};Uo.states=LS;Uo.options=SS;Uo.className=ab;Uo.defaultOptions=lb;Uo.moduleName=Iu;Uo.folderName=ob;import{jsx as RS}from"react/jsx-runtime";var sp="k-suggestion",BS=[l.active,l.hover,l.focus],PS={themeColor:[u.base,u.primary,u.secondary]},DS={text:"Suggestion"},rl=e=>{let{themeColor:t,active:a,hover:r,focus:s,text:i,...n}=e;return RS("span",{...n,className:o(e.className,sp,x(sp,{hover:r,active:a,focus:s}),C(sp,{themeColor:t})),children:i})};rl.states=BS;rl.options=PS;rl.className=sp;rl.item=DS;import{Fragment as GJ,jsx as FJ,jsxs as zJ}from"react/jsx-runtime";import{Fragment as ZJ,jsx as XJ,jsxs as JJ}from"react/jsx-runtime";import{Fragment as $J,jsx as _J,jsxs as eU}from"react/jsx-runtime";var Pu="avatar",rb=Pu;import{jsx as sb}from"react/jsx-runtime";var Wn="k-avatar";var KS=[l.hover,l.focus,l.active,l.selected,l.disabled],YS={size:[d.small,d.medium,d.large],rounded:[g.small,g.medium,g.large,g.full],fillMode:[A.solid,A.flat,A.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:g.full,fillMode:A.solid,themeColor:u.primary,border:!1},Xt=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 sb("div",{...p,className:o(e.className,Wn,C(Wn,{size:t,rounded:a,fillMode:r,themeColor:s}),{[`${Wn}-bordered`]:n}),children:sb("span",{className:`${Wn}-${i}`,children:e.children})})};Xt.states=KS;Xt.options=YS;Xt.className=Wn;Xt.defaultOptions=nr;Xt.moduleName=Pu;Xt.folderName=rb;import{jsx as kU}from"react/jsx-runtime";import{jsx as bU}from"react/jsx-runtime";import{jsx as TU}from"react/jsx-runtime";var Du="badge",nb=Du;import{jsx as FS}from"react/jsx-runtime";var Qn="k-badge",OS=[],HS={size:[d.small,d.medium,d.large],rounded:[g.small,g.medium,g.large,g.full],fillMode:[A.solid,A.outline],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Vn={size:d.medium,fillMode:A.solid,themeColor:u.primary,cutoutBorder:!1},sl=e=>{let{size:t=Vn.size,fillMode:a=Vn.fillMode,themeColor:r=Vn.themeColor,cutoutBorder:s=Vn.cutoutBorder,rounded:i,position:n,align:p,...m}=e;return FS("span",{...m,className:o(e.className,Qn,C(Qn,{size:t,rounded:i,fillMode:a,themeColor:r}),{[`${Qn}-${n}`]:n,[`k-${p}`]:p,[`${Qn}-border-cutout`]:s}),children:e.children})};sl.states=OS;sl.options=HS;sl.className=Qn;sl.defaultOptions=Vn;sl.moduleName=Du;sl.folderName=nb;import{jsx as YU}from"react/jsx-runtime";import{jsx as zU}from"react/jsx-runtime";import{jsx as qU}from"react/jsx-runtime";var Xn="chip",ip=Xn;import{jsx as bs,jsxs as WS}from"react/jsx-runtime";var np="k-chip",GS=[l.hover,l.focus,l.active,l.selected,l.disabled],zS={size:[d.small,d.medium,d.large],rounded:[g.small,g.medium,g.large,g.full],fillMode:[A.solid,A.outline],themeColor:[u.base,u.success,u.warning,u.error,u.info]},Ns={size:d.medium,rounded:g.medium,fillMode:A.solid,themeColor:u.base,avatarImage:"/packages/html/assets/avatar.jpg"},Zt=e=>{let{size:t=Ns.size,rounded:a=Ns.rounded,fillMode:r=Ns.fillMode,themeColor:s=Ns.themeColor,text:i,icon:n,actions:p,showAvatar:m,avatarImage:f=Ns.avatarImage,hover:v,focus:T,active:N,selected:y,disabled:E,...M}=e;return WS("div",{...M,className:o(e.className,np,C(np,{size:t,rounded:a,fillMode:r,themeColor:s}),x(np,{hover:v,focus:T,active:N,disabled:E,selected:y})),children:[n&&bs(b,{className:"k-chip-icon",icon:n,size:"small"}),m&&bs(Xt,{className:"k-chip-avatar",type:"image",children:bs("img",{src:f})}),bs("span",{className:"k-chip-content",children:e.children?e.children:i&&bs("span",{className:"k-chip-label",children:i})}),p&&bs("span",{className:"k-chip-actions",children:p})]})};Zt.states=GS;Zt.options=zS;Zt.className=np;Zt.defaultOptions=Ns;Zt.moduleName=Xn;Zt.folderName=ip;import{jsx as XS}from"react/jsx-runtime";var Ru="k-chip-list",QS=[],VS={size:[d.small,d.medium,d.large]},db={size:d.medium},Jt=e=>{let{size:t=db.size,...a}=e;return XS("div",{...a,className:o(e.className,Ru,C(Ru,{size:t})),children:e.children})};Jt.states=QS;Jt.options=VS;Jt.className=Ru;Jt.defaultOptions=db;Jt.moduleName=Xn;Jt.folderName=ip;import{jsx as m5}from"react/jsx-runtime";import{jsx as h5}from"react/jsx-runtime";import{jsx as N5}from"react/jsx-runtime";import{jsx as E5}from"react/jsx-runtime";import{Fragment as I5,jsx as S5,jsxs as B5}from"react/jsx-runtime";import{jsx as cb,jsxs as US}from"react/jsx-runtime";var pb="k-color-preview",ZS=[],JS={},il=e=>{let{color:t,iconName:a,...r}=e;return US("span",{...r,className:o(e.className,pb,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&cb(b,{icon:a,className:"k-color-preview-icon"}),cb("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};il.states=ZS;il.options=JS;il.className=pb;var Zn="loader",cp=Zn;import{Fragment as Ku,jsx as mb,jsxs as pp}from"react/jsx-runtime";var Yu="k-loader",jS={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},qS=[],_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]},mp={size:d.medium,themeColor:u.primary,animation:"pulsing"},jo=e=>{let{size:t=mp.size,themeColor:a=mp.themeColor,animation:r=mp.animation,...s}=e,i=mb("span",{className:"k-loader-segment"});return mb("div",{...s,className:o(e.className,Yu,{[`k-loader-${jS[r]||r}`]:r},C(Yu,{size:t,themeColor:a})),children:pp("div",{className:"k-loader-canvas",children:[r==="pulsing"&&pp(Ku,{children:[i,i]}),r==="infinite-spinner"&&pp(Ku,{children:[i,i,i]}),r==="converging-spinner"&&pp(Ku,{children:[i,i,i,i]})]})})};jo.states=qS;jo.options=_S;jo.className=Yu;jo.defaultOptions=mp;jo.moduleName=Zn;jo.folderName=cp;var ub=jo;import{jsx as Ou,jsxs as fb}from"react/jsx-runtime";var Hu="k-loader-container",$S=[],eI={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 fb("div",{...p,className:o(e.className,Hu,C(Hu,{size:t}),{[`k-loader-${s}`]:s}),children:[Ou("div",{className:`k-loader-container-overlay k-overlay-${i}`}),fb("div",{className:o("k-loader-container-inner",{"k-loader-container-panel":n}),children:[Ou(ub,{size:t,themeColor:a,animation:r}),Ou("div",{className:"k-loader-container-label",children:"Loading..."})]})]})};pr.states=$S;pr.options=eI;pr.className=Hu;pr.defaultOptions=cr;pr.moduleName=Zn;pr.folderName=cp;import{jsx as i9}from"react/jsx-runtime";import{jsx as p9}from"react/jsx-runtime";import{jsx as k9}from"react/jsx-runtime";import{jsx as b9}from"react/jsx-runtime";var Fu="skeleton",kb=Fu;import{jsx as lI}from"react/jsx-runtime";var Gu="k-skeleton",tI=["circle","text","rect"],oI=[],aI={},zu={variant:"text",shape:"text",animation:"pulse"},So=e=>{let{variant:t,shape:a,animation:r=zu.animation,...s}=e,i=`skeleton-${t||a||zu.variant}`;return lI("span",{...s,className:o(e.className,Gu,Vc(Gu,i),{[`k-skeleton-${r}`]:r}),style:e.style})};So.states=oI;So.options=aI;So.variants=tI;So.className=Gu;So.defaultOptions=zu;So.moduleName=Fu;So.folderName=kb;import{jsx as R9}from"react/jsx-runtime";import{jsx as rI}from"react/jsx-runtime";var Wu=e=>rI(So,{shape:"rect",...e});import{jsx as z9}from"react/jsx-runtime";import{jsx as Jn,jsxs as Qu}from"react/jsx-runtime";var Vu="k-form-field",sI=[l.disabled],pt=e=>{let{label:t,orientation:a,optional:r,editor:s,hint:i,error:n,info:p,disabled:m,dir:f,colSpan:v}=e;return Qu("div",{className:o(Vu,e.className,x(Vu,{disabled:m}),{[`k-col-span-${v}`]:v}),dir:f,children:[t&&Qu("label",{className:o("k-label","k-form-label"),children:[t,r&&Jn("span",{className:"k-label-optional",children:"(Optional)"}),p&&Jn("span",{className:"k-field-info",children:"(field info)"})]}),a==="horizontal"&&!t&&Jn("span",{className:"k-label k-form-label k-label-empty"}),Qu("div",{className:"k-form-field-wrap",children:[s,i&&Jn("div",{className:"k-form-hint",children:i}),n&&Jn("div",{className:"k-form-error",children:n})]})]})};pt.states=sI;pt.className=Vu;import{Fragment as iI,jsx as Xu,jsxs as nI}from"react/jsx-runtime";var hb="k-form-fieldset",qo=e=>{let{legend:t,layout:a,cols:r,gutters:s,colSpan:i}=e;return nI("fieldset",{className:o(hb,{[`k-col-span-${i}`]:i}),children:[t&&Xu("legend",{className:"k-form-legend",children:t}),a==="grid"?Xu("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}):Xu(iI,{children:e.children})]})};qo.className=hb;var xb="form",gb="forms";import{Fragment as pI,jsx as Un,jsxs as mI}from"react/jsx-runtime";import{createElement as Zu}from"react";var up="k-form",dI=[],cI={size:[d.small,d.medium,d.large]},fp={size:d.medium,layout:"basic",tag:"form"},Io=e=>{let{size:t=fp.size,orientation:a,layout:r=fp.layout,formButtons:s,cols:i,gutters:n,tag:p=fp.tag,children:m}=e,f=({tag:T,className:N,children:y})=>T==="form"?Un("form",{className:N,children:y}):Un("div",{className:N,children:y}),v=[];return m&&(Array.isArray(m)?m.map((T,N)=>{T.type===pt?v.push(Zu(pt,{...T.props,orientation:a,key:N})):v.push(T)}):m.type===pt?v.push(Zu(pt,{...m.props,orientation:a,key:`${new Date().getTime()}`})):m.type===qo&&v.push(Zu(qo,{...m.props,key:`${new Date().getTime()}`}))),mI(f,{tag:p,className:o(e.className,up,C(up,{size:t}),{[`${up}-${a}`]:a}),children:[r==="grid"?Un("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:v}):Un(pI,{children:v}),s&&Un("div",{className:"k-form-buttons",children:s})]})};Io.states=dI;Io.options=cI;Io.className=up;Io.defaultOptions=fp;Io.moduleName=xb;Io.folderName=gb;import{jsx as fI}from"react/jsx-runtime";var uI="k-actionsheet-footer",bb={alignment:"stretched",orientation:"horizontal"},Bo=e=>{let{alignment:t=bb.alignment,orientation:a=bb.orientation,template:r,as:s=r?"div":X,...i}=e;return fI(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,uI),children:e.children})};var Ju="searchbox",Nb=Ju;import{jsx as jn,jsxs as xI}from"react/jsx-runtime";var Ab="k-searchbox",kI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],hI={size:[d.small,d.medium,d.large],rounded:[g.small,g.medium,g.large,g.full],fillMode:[A.solid,A.flat,A.outline]},Uu={showIcon:!0,icon:"search",size:L.defaultOptions.size,rounded:L.defaultOptions.rounded,fillMode:L.defaultOptions.fillMode},Ze=e=>{let{value:t,placeholder:a,size:r,rounded:s,fillMode:i,hover:n,focus:p,valid:m,invalid:f,required:v,loading:T,disabled:N,showIcon:y=Uu.showIcon,icon:E=Uu.icon,...M}=e;return xI(L,{...M,size:r,rounded:s,fillMode:i,hover:n,focus:p,valid:m,invalid:f,required:v,loading:T,disabled:N,className:o(e.className,Ab),children:[y&&jn(b,{className:"k-input-icon",icon:E}),jn(me,{placeholder:a,value:t}),jn(q,{...e}),jn(U,{...e}),jn(ae,{...e})]})};Ze.states=kI;Ze.options=hI;Ze.className=Ab;Ze.defaultOptions=Uu;Ze.moduleName=Ju;Ze.folderName=Nb;import{jsx as Tj}from"react/jsx-runtime";var ju="textbox",vb=ju;import{Fragment as Tb,jsx as nl,jsxs as qu}from"react/jsx-runtime";var yb="k-textbox",gI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],bI={size:[d.small,d.medium,d.large],rounded:[g.small,g.medium,g.large,g.full],fillMode:[A.solid,A.flat,A.outline]},mr={showClearButton:!0,showValidationIcon:!0,size:L.defaultOptions.size,rounded:L.defaultOptions.rounded,fillMode:L.defaultOptions.fillMode,separators:!0},j=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:v,placeholder:T,hover:N,focus:y,valid:E,invalid:M,required:w,loading:I,disabled:P,readonly:H,...V}=e;return qu(L,{...V,size:t,rounded:a,fillMode:r,hover:N,focus:y,valid:E,invalid:M,required:w,loading:I,disabled:P,readonly:H,className:o(e.className,yb),children:[p&&qu(Tb,{children:[nl(ee,{children:p}),s&&nl(we,{})]}),nl(me,{placeholder:T,value:v,type:f}),n&&nl(U,{valid:E,invalid:M,loading:I,disabled:P}),nl(q,{loading:I,disabled:P}),i&&nl(ae,{loading:I,disabled:P,readonly:H,value:v}),m&&qu(Tb,{children:[s&&nl(we,{}),nl(te,{children:m})]})]})};j.states=gI;j.options=bI;j.className=yb;j.defaultOptions=mr;j.moduleName=ju;j.folderName=vb;import{jsx as Kj}from"react/jsx-runtime";import{Fragment as zj,jsx as Gj}from"react/jsx-runtime";import{Fragment as Jj,jsx as Zj}from"react/jsx-runtime";import{jsx as dl,jsxs as _u}from"react/jsx-runtime";var Mb="k-actionsheet-titlebar",NI={},ne=e=>{let{title:t,subtitle:a,actionsStart:r,actionsEnd:s,filter:i,input:n,inputValue:p,inputPlaceholder:m,adaptive:f,children:v,...T}=e;return _u("div",{...T,className:o(e.className,Mb),children:[_u("div",{className:"k-actionsheet-titlebar-group",children:[r&&dl("div",{className:"k-actionsheet-actions",children:r}),!v&&_u("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})]}),v&&dl("div",{className:"k-actionsheet-title",children:v}),s&&dl("div",{className:"k-actionsheet-actions",children:s})]}),(n||i)&&dl("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:n?dl(j,{value:p,placeholder:m,size:f?"large":"medium"}):dl(Ze,{placeholder:"Filter",size:f?"large":"medium"})})]})};ne.className=Mb;ne.defaultOptions=NI;import{jsx as $u,jsxs as yI}from"react/jsx-runtime";var ef="k-actionsheet-view",AI=[],vI={},TI={},As=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...n}=e,p=s?.type===ne&&$u(ne,{adaptive:t,...s?.props}),m=i?.type===Bo&&$u(Bo,{...i?.props});return yI("div",{...n,className:o(e.className,ef,{[`${ef}-animated`]:a}),children:[p,$u("div",{className:"k-actionsheet-content",children:r}),m]})};As.states=AI;As.options=vI;As.className=ef;As.defaultOptions=TI;var qn="action-sheet",kp=qn;import{jsx as hp,jsxs as MI}from"react/jsx-runtime";var wb="k-actionsheet",EI=[],CI={},_n={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},le=e=>{let{side:t=_n.side,fullscreen:a=_n.fullscreen,adaptive:r=_n.adaptive,overlay:s=_n.overlay,template:i,children:n,header:p,footer:m,...f}=e;return MI("div",{className:"k-actionsheet-container",children:[s&&hp("div",{className:"k-overlay"}),hp(Jo,{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:hp("div",{...f,className:o(e.className,wb,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||hp(As,{header:p,footer:m,adaptive:r,...e,children:n})})})]})};le.states=EI;le.options=CI;le.className=wb;le.defaultOptions=_n;le.moduleName=qn;le.folderName=kp;import{jsx as II}from"react/jsx-runtime";var Lb="k-actionsheet-container",wI=[],LI={},SI={},vs=e=>{let{children:t,...a}=e;return II("div",{...a,className:Lb,children:t})};vs.states=wI;vs.options=LI;vs.className=Lb;vs.defaultOptions=SI;vs.moduleName=qn;vs.folderName=kp;import{jsx as T7}from"react/jsx-runtime";import{Fragment as PI,jsx as $n,jsxs as tf}from"react/jsx-runtime";var of="k-actionsheet-item",BI=[l.hover,l.focus,l.selected,l.disabled],af=e=>{let{iconName:t,text:a,description:r,hover:s,focus:i,selected:n,disabled:p,...m}=e;return tf("span",{...m,className:o(e.className,of,x(of,{hover:s,focus:i,selected:n,disabled:p})),children:[!e.children&&$n(PI,{children:tf("span",{className:"k-actionsheet-action",children:[t&&$n("span",{className:"k-icon-wrap",children:$n(b,{className:"k-actionsheet-item-icon",icon:t})}),tf("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]})};af.states=BI;af.className=of;import{jsx as B7,jsxs as P7}from"react/jsx-runtime";import{jsx as Y7}from"react/jsx-runtime";import{jsx as G7}from"react/jsx-runtime";import{jsx as V7}from"react/jsx-runtime";var Ib="dropdown-list",Bb="dropdownlist";import{Fragment as KI,jsx as St,jsxs as lf}from"react/jsx-runtime";var Pb="k-dropdownlist",DI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],RI={size:[d.small,d.medium,d.large],rounded:[g.small,g.medium,g.large,g.full],fillMode:[A.solid,A.flat,A.outline]},Ts={showValue:!0,arrowIconName:"caret-alt-down",size:d.medium,rounded:g.medium,fillMode:A.solid},oe=e=>{let{size:t=Ts.size,rounded:a=Ts.rounded,fillMode:r=Ts.fillMode,arrowIconName:s=Ts.arrowIconName,showValue:i=Ts.showValue,valueIconName:n,prefix:p,suffix:m,value:f,placeholder:v,hover:T,focus:N,valid:y,invalid:E,required:M,loading:w,disabled:I,readonly:P,popup:H,opened:V,adaptive:Me,adaptiveSettings:$e,adaptiveTitle:bt,adaptiveSubtitle:wo,adaptiveFilter:ar,...cs}=e;return lf(KI,{children:[lf(At,{...cs,size:t,rounded:a,fillMode:r,hover:T,focus:N,valid:y,invalid:E,required:M,loading:w,disabled:I,readonly:P,className:o(e.className,Pb,{"k-icon-picker":!i&&n}),children:[St(ee,{children:p}),St(Sa,{placeholder:v,value:f,showValue:i,valueIconName:n}),St(U,{valid:y,invalid:E,loading:w,disabled:I}),St(q,{loading:w,disabled:I}),St(te,{children:m}),St(c,{className:"k-input-button",icon:s,rounded:null,size:e.size,fillMode:e.fillMode})]}),V&&H&&St(F,{className:"k-list-container k-dropdownlist-popup",children:H}),Me&&St(le,{adaptive:!0,...$e,header:St(ne,{actionsEnd:St(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:ar,inputValue:f,inputPlaceholder:v,title:bt,subtitle:wo}),children:St("div",{className:"k-list-container",children:lf(Q,{size:"large",children:[St(D,{text:"List item"}),St(D,{text:"List item"}),St(D,{text:"List item"})]})})})]})};oe.states=DI;oe.options=RI;oe.className=Pb;oe.defaultOptions=Ts;oe.moduleName=Ib;oe.folderName=Bb;import{jsx as gq}from"react/jsx-runtime";import{jsx as Tq,jsxs as yq}from"react/jsx-runtime";import{Fragment as Bq,jsx as Sq,jsxs as Iq}from"react/jsx-runtime";import{jsx as Kq}from"react/jsx-runtime";import{jsx as Gq,jsxs as zq}from"react/jsx-runtime";import{jsx as Zq,jsxs as Jq}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",ys=fr;import{jsx as Db}from"react/jsx-runtime";var xp="k-radio",YI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked],OI={size:[d.small,d.medium,d.large]},Rb={size:d.medium},Po=e=>{let{id:t,checked:a,hover:r,focus:s,disabled:i,invalid:n,valid:p,required:m,size:f=Rb.size,...v}=e;return Db("span",{className:"k-radio-wrap",children:Db("input",{...v,id:t,type:"radio",checked:a,required:m,className:o(e.className,xp,C(xp,{size:f}),x(xp,{hover:r,focus:s,disabled:i,invalid:n,valid:p,checked:a}))})})};Po.states=YI;Po.options=OI;Po.className=xp;Po.defaultOptions=Rb;Po.moduleName=fr;Po.folderName=ys;import{jsx as GI}from"react/jsx-runtime";var Kb="k-radio-list",HI=[],FI={},Yb={layout:"vertical"},cl=e=>{let{layout:t=Yb.layout,...a}=e;return GI("ul",{...a,className:o(e.className,Kb,{[`k-list-${t}`]:t}),children:e.children})};cl.states=HI;cl.options=FI;cl.className=Kb;cl.defaultOptions=Yb;cl.moduleName=fr;cl.folderName=ys;import{jsx as VI}from"react/jsx-runtime";var Ob="k-radio-list-item",zI=[],WI={},QI={},pl=e=>{let{...t}=e;return VI("li",{...t,className:o(e.className,Ob),children:e.children})};pl.states=zI;pl.options=WI;pl.className=Ob;pl.defaultOptions=QI;pl.moduleName=fr;pl.folderName=ys;import{jsx as Y_}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 t$,jsx as $_,jsxs as e$}from"react/jsx-runtime";import{Fragment as s$,jsx as r$,jsxs as i$}from"react/jsx-runtime";import{Fragment as m$,jsx as p$,jsxs as u$}from"react/jsx-runtime";import{Fragment as ZI,jsx as It,jsxs as Es}from"react/jsx-runtime";var gp=({size:e,...t})=>It(Io,{formButtons:Es(ZI,{children:[It(c,{className:"k-form-submit",themeColor:"primary",size:e,children:"Submit"}),It(c,{className:"k-form-clear",size:e,children:"Clear"})]}),children:Es(qo,{legend:"Form Legend",children:[It(pt,{label:"Label",editor:It(j,{size:e})}),It(pt,{label:"Label",hint:"Hint text",editor:It(oe,{value:"Dropdown List",size:e})}),It(pt,{label:"City",editor:Es("ul",{className:"k-radio-list k-list-horizontal",children:[Es("li",{className:"k-radio-list-item",children:[It(Po,{checked:!0,size:e}),It("label",{className:"k-radio-label",children:"Label"})]}),Es("li",{className:"k-radio-list-item",children:[It(Po,{size:e}),It("label",{className:"k-radio-label",children:"Label"})]}),Es("li",{className:"k-radio-list-item",children:[It(Po,{size:e}),It("label",{className:"k-radio-label",children:"Label"})]})]})})]}),size:e,...t});import{Fragment as H$,jsx as O$,jsxs as F$}from"react/jsx-runtime";import{Fragment as Z$,jsx as X$,jsxs as J$}from"react/jsx-runtime";var sf="button",Hb=sf;import{jsx as jI}from"react/jsx-runtime";var ed="k-button-group",JI=[l.disabled],UI={fillMode:[A.solid,A.flat,A.outline,A.clear,A.link]},Fb={fillMode:A.solid},B=e=>{let{fillMode:t=Fb.fillMode,disabled:a,stretched:r,...s}=e;return jI("div",{...s,className:o(e.className,ed,C(ed,{fillMode:t}),x(ed,{disabled:a}),{[`${ed}-stretched`]:r}),children:e.children})};B.states=JI;B.options=UI;B.className=ed;B.defaultOptions=Fb;B.moduleName=sf;B.folderName=Hb;import{Fragment as mee,jsx as pee,jsxs as uee}from"react/jsx-runtime";import{Fragment as bee,jsx as gee,jsxs as Nee}from"react/jsx-runtime";import{Fragment as Cee,jsx as Eee,jsxs as Mee}from"react/jsx-runtime";import{Fragment as Pee,jsx as Bee,jsxs as Dee}from"react/jsx-runtime";var nf="menu-button",Gb=nf;import{Fragment as $I,jsx as zb,jsxs as eB}from"react/jsx-runtime";var Wb="k-menu-button",qI=[l.hover,l.focus,l.active,l.selected,l.disabled],_I={size:[d.small,d.medium,d.large],rounded:[g.small,g.medium,g.large,g.full],fillMode:[A.solid,A.flat,A.outline,A.clear,A.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},kr={size:d.medium,rounded:g.medium,fillMode:A.solid,themeColor:u.base,showArrow:!0,arrowIconName:"caret-alt-down"},J=e=>{let{size:t=kr.size,rounded:a=kr.rounded,fillMode:r=kr.fillMode,themeColor:s=kr.themeColor,hover:i,focus:n,active:p,selected:m,disabled:f,icon:v,text:T,showArrow:N=kr.showArrow,arrowIconName:y=kr.arrowIconName,popup:E,opened:M,...w}=e;return eB($I,{children:[zb(c,{...w,className:o(e.className,Wb),text:T,size:t,rounded:a,fillMode:r,themeColor:s,hover:i,focus:n,active:p,selected:m,disabled:f,icon:v,showArrow:N,arrowIconName:y}),M&&E&&zb(F,{className:"k-menu-popup",children:E})]})};J.states=qI;J.options=_I;J.className=Wb;J.defaultOptions=kr;J.moduleName=nf;J.folderName=Gb;import{jsx as qee}from"react/jsx-runtime";import{jsx as tte}from"react/jsx-runtime";import{jsx as rte}from"react/jsx-runtime";var Ut="menu",no=Ut;import{Fragment as aB,jsx as Cs,jsxs as Qb}from"react/jsx-runtime";var cf="k-menu-item",tB=[l.hover,l.focus,l.active,l.selected,l.disabled],oB={},Vb={iconPosition:"before"},tt=e=>{let{hover:t,focus:a,active:r,sele