UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 290 kB
var FS=Object.create;var ed=Object.defineProperty;var zS=Object.getOwnPropertyDescriptor;var RS=Object.getOwnPropertyNames;var HS=Object.getPrototypeOf,WS=Object.prototype.hasOwnProperty;var OS=(e,t)=>{for(var a in t)ed(e,a,{get:t[a],enumerable:!0})},Cf=(e,t,a,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of RS(t))!WS.call(e,s)&&s!==a&&ed(e,s,{get:()=>t[s],enumerable:!(r=zS(t,s))||r.enumerable});return e};var Sf=(e,t,a)=>(a=e!=null?FS(HS(e)):{},Cf(t||!e||!e.__esModule?ed(a,"default",{value:e,enumerable:!0}):a,e)),QS=e=>Cf(ed({},"__esModule",{value:!0}),e);var R0={};OS(R0,{TabStripScrollableButtonsHidden:()=>z0});module.exports=QS(R0);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"}),b=(e,t)=>o({"k-valid":t.valid,"k-invalid":t.invalid,"k-hover":t.hover,"k-focus":t.focus,"k-checked":t.checked,"k-active":t.active,"k-selected":t.selected,"k-disabled":t.disabled,"k-indeterminate":t.indeterminate&&!t.checked,"k-loading":t.loading,"k-empty":t.empty,"k-readonly":t.readonly});var n={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={small:"small",medium:"medium",large:"large",full:"full"},x={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"},Ht={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var ri=require("react/jsx-runtime"),qc="k-icon k-font-icon",VS=[],XS={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},ZS={},si=e=>{let{size:t,themeColor:a,icon:r,rotate:s,flip:i,...d}=e;return r?(0,ri.jsx)("span",{...d,className:o(e.className,qc,C(qc,{size:t}),{[`k-i-${r}`]:r,[`k-color-${a}`]:a,[`k-rotate-${s}`]:s,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"})}):(0,ri.jsx)(ri.Fragment,{})};si.states=VS;si.options=XS;si.className=qc;si.defaultOptions=ZS;var If=si;var Al=require("react/jsx-runtime"),_c="k-icon k-svg-icon",JS=[],jS={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},Bf={viewBox:"0 0 24 24"},ii=e=>{let{size:t,themeColor:a,rotate:r,flip:s,viewBox:i=Bf.viewBox,icon:d,...p}=e;if(!d)return(0,Al.jsx)(Al.Fragment,{});d==="none"&&{...p,className:o(e.className,_c,"k-none")};let m=typeof d=="object"&&d.name&&d.name;return(0,Al.jsx)("span",{...p,className:o(e.className,_c,C("k-icon",{size:t}),{[`k-svg-i-${m}`]:m,[`k-color-${a}`]:a,[`k-rotate-${r}`]:r,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),children:(0,Al.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof d=="object"?d.viewBox:i,dangerouslySetInnerHTML:typeof d=="object"?{__html:d.content}:void 0,children:d?void 0:e.children})})};ii.states=JS;ii.options=jS;ii.className=_c;ii.defaultOptions=Bf;var $c=ii;var Mf=Sf(require("@progress/kendo-svg-icons")),ca=require("react/jsx-runtime"),US=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),qS=[],_S={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},ep={viewBox:"0 0 24 24",type:"svg"},v=e=>{let{size:t,themeColor:a,icon:r,type:s=ep.type,rotate:i,flip:d,viewBox:p=ep.viewBox,...m}=e;if(!r)return(0,ca.jsx)(ca.Fragment,{});if(s==="svg"){if(r==="none")return(0,ca.jsx)($c,{...m,icon:r,size:t});let k=US(`${r}-icon`);return Mf[k]?(0,ca.jsx)($c,{...m,icon:Mf[k],size:t,themeColor:a,rotate:i,flip:d,viewBox:p}):(0,ca.jsx)(ca.Fragment,{})}return(0,ca.jsx)(If,{...m,icon:r,size:t,themeColor:a,rotate:i,flip:d})};v.states=qS;v.options=_S;v.defaultOptions=ep;var tp=v;var Yf=require("react/jsx-runtime"),Lf="k-tabstrip-items",$S=[],eI={},tI={tabAlignment:"start"},ni=e=>{let{children:t,tabAlignment:a,...r}=e;return(0,Yf.jsx)("ul",{...r,className:o(e.className,Lf,"k-reset",`k-tabstrip-items-${a}`),children:t})};ni.states=$S;ni.options=eI;ni.className=Lf;ni.defaultOptions=tI;var Ef=ni;var Df=require("react/jsx-runtime"),Pf="k-tabstrip-items-wrapper",oI=[],aI={},Gf={orientation:"horizontal"},di=e=>{let{children:t,orientation:a=Gf.orientation,...r}=e;return(0,Df.jsx)("div",{...r,className:o(e.className,Pf,{"k-hstack":a==="horizontal","k-vstack":a==="vertical"}),children:t})};di.states=oI;di.options=aI;di.className=Pf;di.defaultOptions=Gf;var Kf=di;var Wt=require("react/jsx-runtime"),Tl="k-tabstrip",lI=[],rI={size:[n.small,n.medium,n.large]},ci={size:n.medium,position:"top",tabAlignment:"start",scrollButtons:"around"},Do=e=>{let{size:t=ci.size,scrollable:a,children:r,tabStripItems:s,position:i=ci.position,tabAlignment:d=ci.tabAlignment,scrollButtons:p=ci.scrollButtons,dir:m,scrollingPosition:k,...y}=e,A={top:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},bottom:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},right:{prev:"up",next:"down"},left:{prev:"up",next:"down"}},g={top:"horizontal",bottom:"horizontal",left:"vertical",right:"vertical"},T={start:"start",center:"center",end:"end",justify:"justify",stretched:"stretched"};return(0,Wt.jsxs)("div",{dir:m,...y,className:o(Tl,e.className,{[`${Tl}-${i}`]:i,[`${Tl}-scrollable`]:a,[`${Tl}-scrollable-overlay`]:a&&(p==="hidden"||!p),[`${Tl}-scrollable-${k}`]:k&&k!=="both"},C(Tl,{size:t})),children:[i==="bottom"&&r,(0,Wt.jsxs)(Kf,{orientation:g[i],children:[a&&(p==="around"||p==="start")&&(0,Wt.jsx)("span",{className:o("k-tabstrip-prev","k-button",C("k-button",{size:t,fillMode:x.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:(0,Wt.jsx)(v,{className:"k-button-icon",icon:`caret-alt-${A[i].prev}`})}),a&&p==="start"&&(0,Wt.jsx)("span",{className:o("k-tabstrip-next","k-button",C("k-button",{size:t,fillMode:x.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:(0,Wt.jsx)(v,{className:"k-button-icon",icon:`caret-alt-${A[i].next}`})}),(0,Wt.jsx)(Ef,{className:o({"k-tabstrip-items-scroll":a&&p==="hidden"}),tabAlignment:T[d],children:s}),a&&p==="end"&&(0,Wt.jsx)("span",{className:o("k-tabstrip-prev","k-button",C("k-button",{size:t,fillMode:x.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:(0,Wt.jsx)(v,{className:"k-button-icon",icon:`caret-alt-${A[i].prev}`})}),a&&(p==="around"||p==="end")&&(0,Wt.jsx)("span",{className:o("k-tabstrip-next","k-button",C("k-button",{size:t,fillMode:x.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:(0,Wt.jsx)(v,{className:"k-button-icon",icon:`caret-alt-${A[i].next}`})})]}),i!=="bottom"&&r]})};Do.states=lI;Do.options=rI;Do.className=Tl;Do.defaultOptions=ci;var zf=require("react/jsx-runtime"),sI=[],iI={},Ff=e=>{let{type:t,...a}=e,r=t==="p"?"paragraph":t,s=t.includes("display")?"div":t;return(0,zf.jsx)(s,{...a,className:o(e.className,{[`k-${r}`]:t}),children:e.children})};Ff.states=sI;Ff.options=iI;var Hf=require("react/jsx-runtime"),td="k-actions",nI=[],dI={},op={alignment:"start",orientation:"horizontal"},Z=e=>{let{alignment:t=op.alignment,orientation:a=op.orientation,...r}=e;return(0,Hf.jsx)("div",{...r,className:o(td,{[`${td}-${t}`]:t,[`${td}-${a}`]:a},e.className),children:e.children})};Z.states=nI;Z.options=dI;Z.className=td;Z.defaultOptions=op;var Rf=Z;var Wf=require("react/jsx-runtime"),od="k-input",cI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],pI={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},ad={size:n.medium,rounded:n.medium,fillMode:x.solid},M=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p,size:m=ad.size,rounded:k=ad.rounded,fillMode:y=ad.fillMode,...A}=e;return(0,Wf.jsx)("span",{...A,className:o(e.className,od,C(od,{size:m,rounded:k,fillMode:y}),b(od,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p}))})};M.states=cI;M.options=pI;M.className=od;M.defaultOptions=ad;var Of=require("react/jsx-runtime"),ld="k-picker",mI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],uI={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},rd={size:n.medium,rounded:f.medium,fillMode:x.solid},Ot=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p,size:m=rd.size,rounded:k=rd.rounded,fillMode:y=rd.fillMode,...A}=e;return(0,Of.jsx)("span",{...A,className:o(e.className,ld,C(ld,{size:m,rounded:k,fillMode:y}),b(ld,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p})),children:e.children})};Ot.states=mI;Ot.options=uI;Ot.className=ld;Ot.defaultOptions=rd;var yr=require("react/jsx-runtime"),Qf="k-clear-value",kI=[l.disabled,l.loading,l.readonly],hI={},re=e=>{let{disabled:t,loading:a,readonly:r,value:s}=e;return t||r||a||!s?(0,yr.jsx)(yr.Fragment,{}):(0,yr.jsx)("span",{className:o(e.className,Qf),children:(0,yr.jsx)(v,{icon:"x"})})};re.states=kI;re.options=hI;re.className=Qf;var Vf=require("react/jsx-runtime"),ap="k-input-inner",fI=[],gI={},sd={type:"text",autocomplete:"off",value:"",placeholder:""},ne=e=>{let{value:t=sd.value,type:a=sd.type,placeholder:r=sd.placeholder,autocomplete:s=sd.autocomplete,...i}=e;return(0,Vf.jsx)("input",{...i,type:a,className:o(e.className,ap,C(ap,e)),placeholder:r,autoComplete:s,defaultValue:t})};ne.states=fI;ne.options=gI;ne.className=ap;var pi=require("react/jsx-runtime"),lp="k-input-inner",xI=[],bI={},pa=e=>{let{value:t,placeholder:a,showValue:r,valueIcon:s,valueIconName:i,...d}=e;return(0,pi.jsxs)("span",{...d,className:o(e.className,lp,C(lp,e)),children:[s,!s&&i&&(0,pi.jsx)(v,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&(0,pi.jsx)("span",{className:"k-input-value-text",children:t})]})};pa.states=xI;pa.options=bI;pa.className=lp;var Zf=require("react/jsx-runtime"),rp="k-input-inner",vI=[],yI={},Xf={value:"",placeholder:""},mi=e=>{let{value:t=Xf.value,placeholder:a=Xf.placeholder,rows:r,...s}=e;return(0,Zf.jsx)("textarea",{...s,className:o(e.className,rp,C(rp,e)),placeholder:a,rows:r,defaultValue:t})};mi.states=vI;mi.options=yI;mi.className=rp;var ui=require("react/jsx-runtime"),Jf="k-input-loading-icon",wI=[l.disabled,l.loading],_=e=>{let{disabled:t,loading:a}=e;return t||!a?(0,ui.jsx)(ui.Fragment,{}):(0,ui.jsx)("span",{className:o(e.className,Jf,"k-icon k-i-loading")})};_.states=wI;_.className=Jf;var ki=require("react/jsx-runtime"),jf="k-input-validation-icon",AI=[l.valid,l.invalid,l.disabled,l.loading],TI={},U=e=>{let{valid:t,invalid:a,disabled:r,loading:s}=e,i=a?"warning-circle":"check-circle";return r||s||!!!(t||a)?(0,ki.jsx)(ki.Fragment,{}):(0,ki.jsx)(v,{className:o(jf),icon:i})};U.states=AI;U.options=TI;U.className=jf;var hi=require("react/jsx-runtime"),NI="k-input-prefix",CI={direction:"horizontal"},ae=e=>{let{direction:t=CI.direction,...a}=e;return e.children?(0,hi.jsx)("span",{...a,className:o(NI,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,hi.jsx)(hi.Fragment,{})};var fi=require("react/jsx-runtime"),SI="k-input-suffix",II={direction:"horizontal"},le=e=>{let{direction:t=II.direction,...a}=e;return e.children?(0,fi.jsx)("span",{...a,className:o(SI,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,fi.jsx)(fi.Fragment,{})};var BI=require("react/jsx-runtime");var MI=require("react/jsx-runtime");var qf=require("react/jsx-runtime"),Uf="k-input-separator",LI={direction:"vertical"},Ne=e=>{let{direction:t=LI.direction,...a}=e;return(0,qf.jsx)("span",{...a,className:o(Uf,e.className,{[`${Uf}-${t}`]:t})})};var sp=require("react/jsx-runtime"),_f="k-animation-container",EI=[],YI={},$f={positionMode:"absolute"},Ba=e=>{let{positionMode:t=$f.positionMode,animationStyle:a,offset:r,...s}=e;return(0,sp.jsx)("div",{...s,style:{...r,...e.style},className:o(e.className,_f,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,sp.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};Ba.states=EI;Ba.options=YI;Ba.className=_f;Ba.defaultOptions=$f;var ip=require("react/jsx-runtime"),eg="k-popup",PI=[],GI={},tg={positionMode:"absolute"},H=e=>{let{offset:t,positionMode:a=tg.positionMode,animationStyle:r,...s}=e;return(0,ip.jsx)(Ba,{positionMode:a,offset:t,animationStyle:r,children:(0,ip.jsx)("div",{...s,className:o(e.className,eg),children:e.children})})};H.states=PI;H.options=GI;H.className=eg;H.defaultOptions=tg;var og=require("react/jsx-runtime"),KI="k-no-data",gi=e=>(0,og.jsx)("span",{className:o(KI,e.className),children:e.children});var Fo=require("react/jsx-runtime"),np="k-list",DI=[],FI={size:[n.small,n.medium,n.large]},ag={size:n.medium},J=e=>{let{size:t=ag.size,virtualization:a,children:r,optionLabel:s,customValue:i,screenReaders:d,...p}=e,m,k,y,A,g=[];return r?r.map((T,N)=>{T.type===Be?(T.props.root===!0?(m=T.props.label,T.props.children.map((S,B)=>{g.push((0,Fo.jsx)(K,{...S.props},`optChild-${B}-${new Date().getTime()}`))})):T.props.children.forEach((S,B)=>{let L="";B===0&&(L=T.props.label),g.push((0,Fo.jsx)(K,{className:B===0?"k-first":"",...S.props,groupLabel:L},`groupLabel-${B}-${new Date().getTime()}`))}),k=(0,Fo.jsx)(Be,{label:m,virtualization:a,children:g})):T.type===K&&(g.push((0,Fo.jsx)(K,{...T.props},`${T.type}-${N}`)),y=(0,Fo.jsx)(wr,{virtualization:a,children:g}),d&&(A=(0,Fo.jsxs)(gi,{className:"k-sr-only",children:[g.length," items found."]})))}):A=(0,Fo.jsx)(gi,{children:"No data found."}),(0,Fo.jsxs)("div",{...p,className:o(e.className,np,C(np,{size:t}),{"k-virtual-list":a}),children:[s,i,k,y,A]})};J.states=DI;J.options=FI;J.className=np;J.defaultOptions=ag;var zo=require("react/jsx-runtime"),dp="k-list",zI=[],RI={size:[n.small,n.medium,n.large]},lg={size:n.medium},Nl=e=>{let{size:t=lg.size,virtualization:a,children:r,...s}=e,i,d,p,m=[];return r?r.map((k,y)=>{k.type===Be?(k.props.root===!0?(i=k.props.label,k.props.children.map((A,g)=>{m.push((0,zo.jsx)(K,{...A.props},`optChild-${g}-${new Date().getTime()}`))})):(m.push((0,zo.jsx)(rg,{...k.props,children:k.props.label},`listChild-${y}`)),k.props.children.map((A,g)=>{m.push((0,zo.jsx)(K,{...A.props},`fwOptChild-${g}-${new Date().getTime()}`))})),d=(0,zo.jsx)(Be,{label:i,virtualization:a,children:m})):k.type===K&&(m.push((0,zo.jsx)(K,{...k.props},`${k.type}-${y}`)),p=(0,zo.jsx)(wr,{virtualization:a,children:m}))}):p=(0,zo.jsx)(gi,{children:"No data found."}),(0,zo.jsxs)("div",{...s,className:o(e.className,dp,C(dp,{size:t}),{"k-virtual-list":a}),children:[d,p]})};Nl.states=zI;Nl.options=RI;Nl.className=dp;Nl.defaultOptions=lg;var pp=require("react/jsx-runtime"),id="k-checkbox",HI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],WI={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full]},cp={size:n.medium,rounded:f.medium},ct=e=>{let{id:t,checked:a,indeterminate:r,hover:s,focus:i,disabled:d,invalid:p,valid:m,required:k,size:y=cp.size,rounded:A=cp.rounded,...g}=e;return(0,pp.jsx)("span",{className:"k-checkbox-wrap",children:(0,pp.jsx)("input",{...g,id:t,type:"checkbox",defaultChecked:a,required:k,className:o(e.className,id,C(id,{size:y,rounded:A}),b(id,{hover:s,focus:i,disabled:d,invalid:p,valid:m,indeterminate:r,checked:a}))})})};ct.states=HI;ct.options=WI;ct.className=id;ct.defaultOptions=cp;var ng=require("react/jsx-runtime"),sg="k-checkbox-list",OI=[],QI={},ig={layout:"vertical"},Ar=e=>{let{layout:t=ig.layout,...a}=e;return(0,ng.jsx)("ul",{...a,className:o(e.className,sg,{[`k-list-${t}`]:t}),children:e.children})};Ar.states=OI;Ar.options=QI;Ar.className=sg;Ar.defaultOptions=ig;var cg=require("react/jsx-runtime"),dg="k-checkbox-list-item",VI=[],XI={},ZI={},Tr=e=>{let{...t}=e;return(0,cg.jsx)("li",{...t,className:o(e.className,dg),children:e.children})};Tr.states=VI;Tr.options=XI;Tr.className=dg;Tr.defaultOptions=ZI;var up=require("react/jsx-runtime");var kp=require("react/jsx-runtime");var hp=require("react/jsx-runtime");var fp=require("react/jsx-runtime");var JI=require("react/jsx-runtime");var jI=require("react/jsx-runtime");var Cl=require("react/jsx-runtime"),gp="k-list-item",UI=[l.hover,l.focus,l.selected,l.disabled],qI={},_I={},K=e=>{let{text:t,groupLabel:a,group:r,showIcon:s,iconName:i,showCheckbox:d,checked:p,hover:m,focus:k,selected:y,disabled:A,...g}=e,T=t||e.children;return(0,Cl.jsxs)("li",{...g,className:o(e.className,r?"k-list-group-item":gp,b(gp,{hover:m,focus:k,disabled:A,selected:y})),children:[d&&(0,Cl.jsx)(ct,{checked:p}),s&&(0,Cl.jsx)(v,{icon:i}),(0,Cl.jsx)("span",{className:"k-list-item-text",children:T}),a&&a!==""&&(0,Cl.jsx)("div",{className:"k-list-item-group-label",children:a})]})};K.states=UI;K.options=qI;K.className=gp;K.defaultOptions=_I;var Nr=require("react/jsx-runtime"),$I="k-list-content",wr=e=>{let{virtualization:t,...a}=e;return(0,Nr.jsxs)("div",{...a,className:o($I,e.className),children:[(0,Nr.jsx)("ul",{className:o("k-list-ul"),children:e.children}),t&&(0,Nr.jsx)("div",{className:"k-height-container",children:(0,Nr.jsx)("div",{})})]})};var xp=require("react/jsx-runtime"),eB="k-list-group-sticky-header",pg=e=>(0,xp.jsx)("div",{className:o(eB,e.className),children:(0,xp.jsx)("div",{className:"k-list-header-text",children:e.children})});var Sl=require("react/jsx-runtime"),Be=e=>{let{virtualization:t,label:a}=e;return(0,Sl.jsxs)(Sl.Fragment,{children:[a&&(0,Sl.jsx)(pg,{children:a}),e.children&&(0,Sl.jsx)(wr,{virtualization:t,children:e.children})]})};var bp=require("react/jsx-runtime"),tB="k-list-group-item",rg=e=>(0,bp.jsx)("li",{className:o(tB,e.className),children:(0,bp.jsx)("span",{className:"k-list-item-text",children:e.children})});var mg=require("react/jsx-runtime"),vp="k-list-optionlabel",oB=[l.hover,l.focus,l.selected,l.disabled],aB={},lB={},nd=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return(0,mg.jsx)("div",{...d,className:o(vp,b(vp,{hover:a,focus:r,selected:s,disabled:i})),children:t})};nd.states=oB;nd.options=aB;nd.className=vp;nd.defaultOptions=lB;var ug=require("react/jsx-runtime"),yp="k-list-custom-value",rB=[l.hover,l.focus,l.selected,l.disabled],sB={},iB={},ft=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return(0,ug.jsx)("div",{...d,className:o(yp,b(yp,{hover:a,focus:r,selected:s,disabled:i})),children:t})};ft.states=rB;ft.options=sB;ft.className=yp;ft.defaultOptions=iB;var nB=require("react/jsx-runtime");var dB=require("react/jsx-runtime");var kg=require("react/jsx-runtime");var hg=require("react/jsx-runtime");var cB=require("react/jsx-runtime");var fg=require("react/jsx-runtime");var gg=require("react/jsx-runtime");var wp=require("react/jsx-runtime"),xi="k-avatar";var pB=[l.hover,l.focus,l.active,l.selected,l.disabled],mB={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Il={type:"text",size:n.medium,rounded:f.full,fillMode:x.solid,themeColor:u.primary,border:!1},Ro=e=>{let{size:t=Il.size,rounded:a=Il.rounded,fillMode:r=Il.fillMode,themeColor:s=Il.themeColor,type:i=Il.type,border:d=Il.border,...p}=e;return(0,wp.jsx)("div",{...p,className:o(e.className,xi,C(xi,{size:t,rounded:a,fillMode:r,themeColor:s}),{[`${xi}-bordered`]:d}),children:(0,wp.jsx)("span",{className:`${xi}-${i}`,children:e.children})})};Ro.states=pB;Ro.options=mB;Ro.className=xi;Ro.defaultOptions=Il;var uB=require("react/jsx-runtime");var kB=require("react/jsx-runtime");var hB=require("react/jsx-runtime");var bg=require("react/jsx-runtime"),bi="k-badge",fB=[],gB={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.outline],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},vi={size:n.medium,fillMode:x.solid,themeColor:u.primary,cutoutBorder:!1},Cr=e=>{let{size:t=vi.size,fillMode:a=vi.fillMode,themeColor:r=vi.themeColor,cutoutBorder:s=vi.cutoutBorder,rounded:i,position:d,align:p,...m}=e;return(0,bg.jsx)("span",{...m,className:o(e.className,bi,C(bi,{size:t,rounded:i,fillMode:a,themeColor:r}),{[`${bi}-${d}`]:d,[`k-${p}`]:p,[`${bi}-border-cutout`]:s}),children:e.children})};Cr.states=fB;Cr.options=gB;Cr.className=bi;Cr.defaultOptions=vi;var xB=require("react/jsx-runtime");var bB=require("react/jsx-runtime");var vB=require("react/jsx-runtime");var ma=require("react/jsx-runtime"),dd="k-chip",yB=[l.hover,l.focus,l.active,l.selected,l.disabled],wB={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.outline],themeColor:[u.base,u.success,u.warning,u.error,u.info]},Sr={size:n.medium,rounded:f.medium,fillMode:x.solid,themeColor:u.base,avatarImage:"/packages/html/assets/avatar.jpg"},vo=e=>{let{size:t=Sr.size,rounded:a=Sr.rounded,fillMode:r=Sr.fillMode,themeColor:s=Sr.themeColor,text:i,icon:d,actions:p,showAvatar:m,avatarImage:k=Sr.avatarImage,hover:y,focus:A,active:g,selected:T,disabled:N,...S}=e;return(0,ma.jsxs)("div",{...S,className:o(e.className,dd,C(dd,{size:t,rounded:a,fillMode:r,themeColor:s}),b(dd,{hover:y,focus:A,active:g,disabled:N,selected:T})),children:[d&&(0,ma.jsx)(v,{className:"k-chip-icon",icon:d,size:"small"}),m&&(0,ma.jsx)(Ro,{className:"k-chip-avatar",type:"image",children:(0,ma.jsx)("img",{src:k})}),(0,ma.jsx)("span",{className:"k-chip-content",children:e.children?e.children:i&&(0,ma.jsx)("span",{className:"k-chip-label",children:i})}),p&&(0,ma.jsx)("span",{className:"k-chip-actions",children:p})]})};vo.states=yB;vo.options=wB;vo.className=dd;vo.defaultOptions=Sr;var yg=require("react/jsx-runtime"),Ap="k-chip-list",AB=[],TB={size:[n.small,n.medium,n.large]},vg={size:n.medium},yo=e=>{let{size:t=vg.size,...a}=e;return(0,yg.jsx)("div",{...a,className:o(e.className,Ap,C(Ap,{size:t})),children:e.children})};yo.states=AB;yo.options=TB;yo.className=Ap;yo.defaultOptions=vg;var NB=require("react/jsx-runtime");var CB=require("react/jsx-runtime");var SB=require("react/jsx-runtime");var IB=require("react/jsx-runtime");var Tp=require("react/jsx-runtime");var yi=require("react/jsx-runtime"),wg="k-color-preview",BB=[],MB={},Ma=e=>{let{color:t,iconName:a,...r}=e;return(0,yi.jsxs)("span",{...r,className:o(e.className,wg,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&(0,yi.jsx)(v,{icon:a,className:"k-color-preview-icon"}),(0,yi.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ma.states=BB;Ma.options=MB;Ma.className=wg;var ro=require("react/jsx-runtime"),Np="k-loader",LB={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},EB=[],YB={size:[n.small,n.medium,n.large],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},pd={size:n.medium,themeColor:u.primary,animation:"pulsing"},La=e=>{let{size:t=pd.size,themeColor:a=pd.themeColor,animation:r=pd.animation,...s}=e,i=(0,ro.jsx)("span",{className:"k-loader-segment"});return(0,ro.jsx)("div",{...s,className:o(e.className,Np,{[`k-loader-${LB[r]||r}`]:r},C(Np,{size:t,themeColor:a})),children:(0,ro.jsxs)("div",{className:"k-loader-canvas",children:[r==="pulsing"&&(0,ro.jsxs)(ro.Fragment,{children:[i,i]}),r==="infinite-spinner"&&(0,ro.jsxs)(ro.Fragment,{children:[i,i,i]}),r==="converging-spinner"&&(0,ro.jsxs)(ro.Fragment,{children:[i,i,i,i]})]})})};La.states=EB;La.options=YB;La.className=Np;La.defaultOptions=pd;var Ag=La;var Ll=require("react/jsx-runtime"),Cp="k-loader-container",PB=[],GB={size:[n.small,n.medium,n.large],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Ml={size:n.medium,themeColor:u.primary,loaderType:"pulsing",position:"top",overlay:"dark",panel:!1},wi=e=>{let{size:t=Ml.size,themeColor:a=Ml.themeColor,loaderType:r=Ml.loaderType,position:s=Ml.position,overlay:i=Ml.overlay,panel:d=Ml.panel,...p}=e;return(0,Ll.jsxs)("div",{...p,className:o(e.className,Cp,C(Cp,{size:t}),{[`k-loader-${s}`]:s}),children:[(0,Ll.jsx)("div",{className:`k-loader-container-overlay k-overlay-${i}`}),(0,Ll.jsxs)("div",{className:o("k-loader-container-inner",{"k-loader-container-panel":d}),children:[(0,Ll.jsx)(Ag,{size:t,themeColor:a,animation:r}),(0,Ll.jsx)("div",{className:`k-loader-container-label !k-text-${a}`,children:"Loading..."})]})]})};wi.states=PB;wi.options=GB;wi.className=Cp;wi.defaultOptions=Ml;var KB=require("react/jsx-runtime");var DB=require("react/jsx-runtime");var FB=require("react/jsx-runtime");var zB=require("react/jsx-runtime");var Ng=require("react/jsx-runtime"),Tg="k-skeleton",RB=[],HB={},Sp={shape:"text",animation:"pulse"},Ea=e=>{let{shape:t=Sp.shape,animation:a=Sp.animation,...r}=e;return(0,Ng.jsx)("span",{...r,className:o(e.className,Tg,{[`k-skeleton-${t}`]:t,[`k-skeleton-${a}`]:a}),style:e.style})};Ea.states=RB;Ea.options=HB;Ea.className=Tg;Ea.defaultOptions=Sp;var WB=require("react/jsx-runtime");var Sg=require("react/jsx-runtime"),Cg=e=>(0,Sg.jsx)(Ea,{shape:"rect",...e});var OB=require("react/jsx-runtime");var Ho=require("react/jsx-runtime"),Ip="k-form-field",QB=[l.disabled],gt=e=>{let{label:t,orientation:a,optional:r,editor:s,hint:i,error:d,info:p,disabled:m,dir:k,colSpan:y}=e;return(0,Ho.jsxs)("div",{className:o(Ip,e.className,b(Ip,{disabled:m}),{[`k-col-span-${y}`]:y}),dir:k,children:[t&&(0,Ho.jsxs)("label",{className:o("k-label","k-form-label"),children:[t,r&&(0,Ho.jsx)("span",{className:"k-label-optional",children:"(Optional)"}),p&&(0,Ho.jsx)("span",{className:"k-field-info",children:"(field info)"})]}),a==="horizontal"&&!t&&(0,Ho.jsx)("span",{className:"k-label k-form-label k-label-empty"}),(0,Ho.jsxs)("div",{className:"k-form-field-wrap",children:[s,i&&(0,Ho.jsx)("div",{className:"k-form-hint",children:i}),d&&(0,Ho.jsx)("div",{className:"k-form-error",children:d})]})]})};gt.states=QB;gt.className=Ip;var Ya=require("react/jsx-runtime"),Ig="k-form-fieldset",ua=e=>{let{legend:t,layout:a,cols:r,gapX:s,gapY:i}=e;return(0,Ya.jsxs)("fieldset",{className:o(Ig),children:[t&&(0,Ya.jsx)("legend",{className:"k-form-legend",children:t}),a==="grid"?(0,Ya.jsx)("div",{className:o("k-form-layout","k-d-grid",{[`k-grid-cols-${r}`]:r,[`k-gap-x-${s}`]:s,[`k-gap-y-${i}`]:i}),children:e.children}):(0,Ya.jsx)(Ya.Fragment,{children:e.children})]})};ua.className=Ig;var Wo=require("react/jsx-runtime"),kd=require("react"),md="k-form",VB=[],XB={size:[n.small,n.medium,n.large]},ud={size:n.medium,layout:"basic",tag:"form"},Pa=e=>{let{size:t=ud.size,orientation:a,layout:r=ud.layout,formButtons:s,cols:i,gapX:d,gapY:p,tag:m=ud.tag,children:k}=e,y=({tag:g,className:T,children:N})=>g==="form"?(0,Wo.jsx)("form",{className:T,children:N}):(0,Wo.jsx)("div",{className:T,children:N}),A=[];return k&&(Array.isArray(k)?k.map((g,T)=>{g.type===gt?A.push((0,kd.createElement)(gt,{...g.props,orientation:a,key:T})):A.push(g)}):k.type===gt?A.push((0,kd.createElement)(gt,{...k.props,orientation:a,key:`${new Date().getTime()}`})):k.type===ua&&A.push((0,kd.createElement)(ua,{...k.props,key:`${new Date().getTime()}`}))),(0,Wo.jsxs)(y,{tag:m,className:o(e.className,md,C(md,{size:t}),{[`${md}-${a}`]:a}),children:[r==="grid"?(0,Wo.jsx)("div",{className:o("k-form-layout","k-d-grid",{[`k-grid-cols-${i}`]:i,[`k-gap-x-${d}`]:d,[`k-gap-y-${p}`]:p}),children:A}):(0,Wo.jsx)(Wo.Fragment,{children:A}),s&&(0,Wo.jsx)("div",{className:"k-form-buttons",children:s})]})};Pa.states=VB;Pa.options=XB;Pa.className=md;Pa.defaultOptions=ud;var wo=require("react/jsx-runtime"),hd="k-button",ZB=[l.hover,l.focus,l.active,l.selected,l.disabled],JB={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},El={size:n.medium,rounded:f.medium,fillMode:x.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},c=e=>{let{size:t=El.size,rounded:a=El.rounded,fillMode:r=El.fillMode,themeColor:s=El.themeColor,showArrow:i=El.showArrow,arrowIconName:d=El.arrowIconName,hover:p,focus:m,active:k,selected:y,disabled:A,icon:g,text:T,iconClassName:N,...S}=e,B=g!==void 0,L=e.children!==void 0;return(0,wo.jsxs)("button",{...S,className:o(e.className,hd,C(hd,{size:t,rounded:a,fillMode:r,themeColor:s}),b(hd,{hover:p,focus:m,active:k,disabled:A,selected:y}),{"k-icon-button":!T&&!L&&B}),children:[g&&(0,wo.jsx)(v,{className:o(N,"k-button-icon"),icon:g}),T?(0,wo.jsxs)(wo.Fragment,{children:[T&&(0,wo.jsx)("span",{className:"k-button-text",children:T}),e.children]}):e.children&&(0,wo.jsx)("span",{className:"k-button-text",children:e.children}),i&&(0,wo.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,wo.jsx)(v,{icon:d})})]})};c.states=ZB;c.options=JB;c.className=hd;c.defaultOptions=El;var Bg=require("react/jsx-runtime"),Ct=e=>(0,Bg.jsx)(c,{icon:"folder",...e,children:void 0});var Mg=require("react/jsx-runtime"),Ao=e=>(0,Mg.jsx)(c,{icon:"folder",children:"Button",...e});var jB=require("react/jsx-runtime");var Eg=require("react/jsx-runtime"),UB="k-actionsheet-footer",Lg={alignment:"stretched",orientation:"horizontal"},To=e=>{let{alignment:t=Lg.alignment,orientation:a=Lg.orientation,template:r,as:s=r?"div":Z,...i}=e;return(0,Eg.jsx)(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,UB),children:e.children})};var Ga=require("react/jsx-runtime"),Yg="k-searchbox",qB=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],_B={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Bp={showIcon:!0,icon:"search",size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode},st=e=>{let{value:t,placeholder:a,size:r,rounded:s,fillMode:i,hover:d,focus:p,valid:m,invalid:k,required:y,loading:A,disabled:g,showIcon:T=Bp.showIcon,icon:N=Bp.icon,...S}=e;return(0,Ga.jsxs)(M,{...S,size:r,rounded:s,fillMode:i,hover:d,focus:p,valid:m,invalid:k,required:y,loading:A,disabled:g,className:o(e.className,Yg),children:[T&&(0,Ga.jsx)(v,{className:"k-input-icon",icon:N}),(0,Ga.jsx)(ne,{placeholder:a,value:t}),(0,Ga.jsx)(_,{...e}),(0,Ga.jsx)(U,{...e}),(0,Ga.jsx)(re,{...e})]})};st.states=qB;st.options=_B;st.className=Yg;st.defaultOptions=Bp;var $B=require("react/jsx-runtime");var xt=require("react/jsx-runtime"),Pg="k-textbox",eM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],tM={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Yl={showClearButton:!0,showValidationIcon:!0,size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode,separators:!0},q=e=>{let{size:t=Yl.size,rounded:a=Yl.rounded,fillMode:r=Yl.fillMode,separators:s=Yl.separators,showClearButton:i=Yl.showClearButton,showValidationIcon:d=Yl.showValidationIcon,prefix:p,suffix:m,type:k,value:y,placeholder:A,hover:g,focus:T,valid:N,invalid:S,required:B,loading:L,disabled:P,readonly:R,...X}=e;return(0,xt.jsxs)(M,{...X,size:t,rounded:a,fillMode:r,hover:g,focus:T,valid:N,invalid:S,required:B,loading:L,disabled:P,readonly:R,className:o(e.className,Pg),children:[p&&(0,xt.jsxs)(xt.Fragment,{children:[(0,xt.jsx)(ae,{children:p}),s&&(0,xt.jsx)(Ne,{})]}),(0,xt.jsx)(ne,{placeholder:A,value:y,type:k}),d&&(0,xt.jsx)(U,{valid:N,invalid:S,loading:L,disabled:P}),(0,xt.jsx)(_,{loading:L,disabled:P}),i&&(0,xt.jsx)(re,{loading:L,disabled:P,readonly:R,value:y}),m&&(0,xt.jsxs)(xt.Fragment,{children:[s&&(0,xt.jsx)(Ne,{}),(0,xt.jsx)(le,{children:m})]})]})};q.states=eM;q.options=tM;q.className=Pg;q.defaultOptions=Yl;var oM=require("react/jsx-runtime");var Kg=require("react/jsx-runtime");var Fg=require("react/jsx-runtime");var Qt=require("react/jsx-runtime"),zg="k-actionsheet-titlebar",aM={},se=e=>{let{title:t,subtitle:a,actionsStart:r,actionsEnd:s,filter:i,input:d,inputValue:p,inputPlaceholder:m,adaptive:k,children:y,...A}=e;return(0,Qt.jsxs)("div",{...A,className:o(e.className,zg),children:[(0,Qt.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[r&&(0,Qt.jsx)("div",{className:"k-actionsheet-actions",children:r}),!y&&(0,Qt.jsxs)("div",{className:"k-actionsheet-title",children:[t&&(0,Qt.jsx)("div",{className:"k-text-center",children:t}),a&&(0,Qt.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:a})]}),y&&(0,Qt.jsx)("div",{className:"k-actionsheet-title",children:y}),s&&(0,Qt.jsx)("div",{className:"k-actionsheet-actions",children:s})]}),(d||i)&&(0,Qt.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?(0,Qt.jsx)(q,{value:p,placeholder:m,size:k?"large":"medium"}):(0,Qt.jsx)(st,{placeholder:"Filter",size:k?"large":"medium"})})]})};se.className=zg;se.defaultOptions=aM;var Ir=require("react/jsx-runtime"),Mp="k-actionsheet-view",lM=[],rM={},sM={},Br=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...d}=e,p=(s==null?void 0:s.type)===se&&(0,Ir.jsx)(se,{adaptive:t,...s==null?void 0:s.props}),m=(i==null?void 0:i.type)===To&&(0,Ir.jsx)(To,{...i==null?void 0:i.props});return(0,Ir.jsxs)("div",{...d,className:o(e.className,Mp,{[`${Mp}-animated`]:a}),children:[p,(0,Ir.jsx)("div",{className:"k-actionsheet-content",children:r}),m]})};Br.states=lM;Br.options=rM;Br.className=Mp;Br.defaultOptions=sM;var Pl=require("react/jsx-runtime"),Rg="k-actionsheet",iM=[],nM={},Ai={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},de=e=>{let{side:t=Ai.side,fullscreen:a=Ai.fullscreen,adaptive:r=Ai.adaptive,overlay:s=Ai.overlay,template:i,children:d,header:p,footer:m,...k}=e;return(0,Pl.jsxs)("div",{className:"k-actionsheet-container",children:[s&&(0,Pl.jsx)("div",{className:"k-overlay"}),(0,Pl.jsx)(Ba,{animationStyle:{[`${a===!0?"top":t}`]:0,[`${a===!0?"width":null}`]:"100%",[`${a===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:(0,Pl.jsx)("div",{...k,className:o(e.className,Rg,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||(0,Pl.jsx)(Br,{header:p,footer:m,adaptive:r,...e,children:d})})})]})};de.states=iM;de.options=nM;de.className=Rg;de.defaultOptions=Ai;var dM=require("react/jsx-runtime");var so=require("react/jsx-runtime"),Lp="k-actionsheet-item",cM=[l.hover,l.focus,l.selected,l.disabled],Ep=e=>{let{iconName:t,text:a,description:r,hover:s,focus:i,selected:d,disabled:p,...m}=e;return(0,so.jsxs)("span",{...m,className:o(e.className,Lp,b(Lp,{hover:s,focus:i,selected:d,disabled:p})),children:[!e.children&&(0,so.jsx)(so.Fragment,{children:(0,so.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,so.jsx)("span",{className:"k-icon-wrap",children:(0,so.jsx)(v,{className:"k-actionsheet-item-icon",icon:t})}),(0,so.jsxs)("span",{className:"k-actionsheet-item-text",children:[a&&(0,so.jsx)("span",{className:"k-actionsheet-item-title",children:a}),r&&(0,so.jsx)("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};Ep.states=cM;Ep.className=Lp;var Hg=require("react/jsx-runtime");var pM=require("react/jsx-runtime");var mM=require("react/jsx-runtime");var uM=require("react/jsx-runtime");var De=require("react/jsx-runtime"),Og="k-dropdownlist",kM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],hM={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Mr={showValue:!0,arrowIconName:"caret-alt-down",size:n.medium,rounded:f.medium,fillMode:x.solid},ce=e=>{let{size:t=Mr.size,rounded:a=Mr.rounded,fillMode:r=Mr.fillMode,arrowIconName:s=Mr.arrowIconName,showValue:i=Mr.showValue,valueIconName:d,prefix:p,suffix:m,value:k,placeholder:y,hover:A,focus:g,valid:T,invalid:N,required:S,loading:B,disabled:L,readonly:P,popup:R,opened:X,adaptive:Te,adaptiveSettings:Je,adaptiveTitle:Nt,adaptiveSubtitle:bo,adaptiveFilter:wl,...vr}=e;return(0,De.jsxs)(De.Fragment,{children:[(0,De.jsxs)(Ot,{...vr,size:t,rounded:a,fillMode:r,hover:A,focus:g,valid:T,invalid:N,required:S,loading:B,disabled:L,readonly:P,className:o(e.className,Og,{"k-icon-picker":!i&&d}),children:[(0,De.jsx)(ae,{children:p}),(0,De.jsx)(pa,{placeholder:y,value:k,showValue:i,valueIconName:d}),(0,De.jsx)(U,{valid:T,invalid:N,loading:B,disabled:L}),(0,De.jsx)(_,{loading:B,disabled:L}),(0,De.jsx)(le,{children:m}),(0,De.jsx)(c,{className:"k-input-button",icon:s,rounded:null,size:e.size,fillMode:e.fillMode})]}),X&&R&&(0,De.jsx)(H,{className:"k-list-container k-dropdownlist-popup",children:R}),Te&&(0,De.jsx)(de,{adaptive:!0,...Je,header:(0,De.jsx)(se,{actionsEnd:(0,De.jsx)(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:wl,inputValue:k,inputPlaceholder:y,title:Nt,subtitle:bo}),children:(0,De.jsx)("div",{className:"k-list-container",children:(0,De.jsxs)(J,{size:"large",children:[(0,De.jsx)(K,{text:"List item"}),(0,De.jsx)(K,{text:"List item"}),(0,De.jsx)(K,{text:"List item"})]})})})]})};ce.states=kM;ce.options=hM;ce.className=Og;ce.defaultOptions=Mr;var fM=require("react/jsx-runtime");var Qg=require("react/jsx-runtime");var Yp=require("react/jsx-runtime");var gM=require("react/jsx-runtime");var Vg=require("react/jsx-runtime");var Xg=require("react/jsx-runtime");var Pp=require("react/jsx-runtime");var Gp=require("react/jsx-runtime");var Kp=require("react/jsx-runtime"),fd="k-radio",xM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked],bM={size:[n.small,n.medium,n.large]},Zg={size:n.medium},ka=e=>{let{id:t,checked:a,hover:r,focus:s,disabled:i,invalid:d,valid:p,required:m,size:k=Zg.size,...y}=e;return(0,Kp.jsx)("span",{className:"k-radio-wrap",children:(0,Kp.jsx)("input",{...y,id:t,type:"radio",checked:a,required:m,className:o(e.className,fd,C(fd,{size:k}),b(fd,{hover:r,focus:s,disabled:i,invalid:d,valid:p,checked:a}))})})};ka.states=xM;ka.options=bM;ka.className=fd;ka.defaultOptions=Zg;var Ug=require("react/jsx-runtime"),Jg="k-radio-list",vM=[],yM={},jg={layout:"vertical"},Lr=e=>{let{layout:t=jg.layout,...a}=e;return(0,Ug.jsx)("ul",{...a,className:o(e.className,Jg,{[`k-list-${t}`]:t}),children:e.children})};Lr.states=vM;Lr.options=yM;Lr.className=Jg;Lr.defaultOptions=jg;var _g=require("react/jsx-runtime"),qg="k-radio-list-item",wM=[],AM={},TM={},Er=e=>{let{...t}=e;return(0,_g.jsx)("li",{...t,className:o(e.className,qg),children:e.children})};Er.states=wM;Er.options=AM;Er.className=qg;Er.defaultOptions=TM;var NM=require("react/jsx-runtime");var Fp=require("react/jsx-runtime");var zp=require("react/jsx-runtime");var Rp=require("react/jsx-runtime");var Hp=require("react/jsx-runtime");var Wp=require("react/jsx-runtime");var Ce=require("react/jsx-runtime"),gd=({size:e,...t})=>(0,Ce.jsx)(Pa,{formButtons:(0,Ce.jsxs)(Ce.Fragment,{children:[(0,Ce.jsx)(c,{className:"k-form-submit",themeColor:"primary",size:e,children:"Submit"}),(0,Ce.jsx)(c,{className:"k-form-clear",size:e,children:"Clear"})]}),children:(0,Ce.jsxs)(ua,{legend:"Form Legend",children:[(0,Ce.jsx)(gt,{label:"Label",editor:(0,Ce.jsx)(q,{size:e})}),(0,Ce.jsx)(gt,{label:"Label",hint:"Hint text",editor:(0,Ce.jsx)(ce,{value:"Dropdown List",size:e})}),(0,Ce.jsx)(gt,{label:"City",editor:(0,Ce.jsxs)("ul",{className:"k-radio-list k-list-horizontal",children:[(0,Ce.jsxs)("li",{className:"k-radio-list-item",children:[(0,Ce.jsx)(ka,{checked:!0,size:e}),(0,Ce.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,Ce.jsxs)("li",{className:"k-radio-list-item",children:[(0,Ce.jsx)(ka,{size:e}),(0,Ce.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,Ce.jsxs)("li",{className:"k-radio-list-item",children:[(0,Ce.jsx)(ka,{size:e}),(0,Ce.jsx)("label",{className:"k-radio-label",children:"Label"})]})]})})]}),size:e,...t});var Op=require("react/jsx-runtime");var ex=require("react/jsx-runtime"),Ti="k-button-group",SM=[l.disabled],IM={fillMode:[x.solid,x.flat,x.outline,x.clear,x.link]},$g={fillMode:x.solid},G=e=>{let{fillMode:t=$g.fillMode,disabled:a,stretched:r,...s}=e;return(0,ex.jsx)("div",{...s,className:o(e.className,Ti,C(Ti,{fillMode:t}),b(Ti,{disabled:a}),{[`${Ti}-stretched`]:r}),children:e.children})};G.states=SM;G.options=IM;G.className=Ti;G.defaultOptions=$g;var Qp=require("react/jsx-runtime");var Vp=require("react/jsx-runtime");var Xp=require("react/jsx-runtime");var Zp=require("react/jsx-runtime");var Dl=require("react/jsx-runtime"),tx="k-menu-button",BM=[l.hover,l.focus,l.active,l.selected,l.disabled],MM={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Kl={size:n.medium,rounded:f.medium,fillMode:x.solid,themeColor:u.base,showArrow:!0,arrowIconName:"caret-alt-down"},ee=e=>{let{size:t=Kl.size,rounded:a=Kl.rounded,fillMode:r=Kl.fillMode,themeColor:s=Kl.themeColor,hover:i,focus:d,active:p,selected:m,disabled:k,icon:y,text:A,showArrow:g=Kl.showArrow,arrowIconName:T=Kl.arrowIconName,popup:N,opened:S,...B}=e;return(0,Dl.jsxs)(Dl.Fragment,{children:[(0,Dl.jsx)(c,{...B,className:o(e.className,tx),text:A,size:t,rounded:a,fillMode:r,themeColor:s,hover:i,focus:d,active:p,selected:m,disabled:k,icon:y,showArrow:g,arrowIconName:T}),S&&N&&(0,Dl.jsx)(H,{className:"k-menu-popup",children:N})]})};ee.states=BM;ee.options=MM;ee.className=tx;ee.defaultOptions=Kl;var LM=require("react/jsx-runtime");var EM=require("react/jsx-runtime");var YM=require("react/jsx-runtime");var io=require("react/jsx-runtime"),jp="k-menu-item",PM=[l.hover,l.focus,l.active,l.selected,l.disabled],GM={},ox={iconPosition:"before"},pt=e=>{let{hover:t,focus:a,active:r,selected:s,disabled:i,icon:d,text:p,first:m,last:k,showArrow:y,arrowIconName:A,iconPosition:g=ox.iconPosition,dir:T,children:N,...S}=e,B=(0,io.jsx)(io.Fragment,{});N&&N.forEach(P=>{if(P.type==="MenuItemContent"){B.props.children.push(P);return}});let L=A;return L||(L=T==="rtl"?"caret-alt-left":"caret-alt-right"),(0,io.jsxs)("li",{...S,className:o(e.className,jp,"k-item",b(jp,{focus:a,disabled:i,hover:t,active:r,selected:s}),{"k-first":m,"k-last":k}),children:[(0,io.jsxs)("span",{className:o("k-link k-menu-link"),children:[d&&g==="before"&&(0,io.jsx)(v,{className:"k-menu-link-icon",icon:d}),(0,io.jsx)("span",{className:"k-menu-link-text",children:p}),d&&g==="after"&&(0,io.jsx)(v,{className:"k-menu-link-icon",icon:d}),y&&(0,io.jsx)("span",{className:"k-menu-expand-arrow",children:(0,io.jsx)(v,{icon:L})})]}),B]})};pt.states=PM;pt.options=GM;pt.className=jp;pt.defaultOptions=ox;var no=require("react/jsx-runtime"),Up="k-menu-item",KM=[l.hover,l.focus,l.active,l.selected,l.disabled],DM={},qp={dir:"ltr",iconPosition:"before"},No=e=>{let{hover:t,focus:a,active:r,selected:s,disabled:i,icon:d,text:p,first:m,last:k,showArrow:y,arrowIconName:A,iconPosition:g=qp.iconPosition,dir:T=qp.dir,children:N,popup:S,...B}=e,L=(0,no.jsx)(no.Fragment,{});N&&N.forEach(R=>{if(R.type==="MenuListItemContent"){L.props.children.push(R);return}});let P=A;return P||(P=T==="rtl"?"caret-alt-left":"caret-alt-right"),(0,no.jsxs)("li",{...B,className:o(e.className,Up,"k-item",b(Up,{focus:a,disabled:i}),{"k-first":m,"k-last":k}),children:[(0,no.jsxs)("span",{className:o("k-link k-menu-link",b("k-menu-link",{hover:t,active:r,selected:s,disabled:i})),children:[d&&g==="before"&&(0,no.jsx)(v,{className:"k-menu-link-icon",icon:d}),(0,no.jsx)("span",{className:"k-menu-link-text",children:p}),d&&g==="after"&&(0,no.jsx)(v,{className:"k-menu-link-icon",icon:d}),y&&(0,no.jsx)("span",{className:"k-menu-expand-arrow",children:(0,no.jsx)(v,{icon:P})})]}),L,S]})};No.states=KM;No.options=DM;No.className=Up;No.defaultOptions=qp;var rx=require("react/jsx-runtime"),ax="k-menu-scroll-wrapper",FM=[],zM={},RM={},Ni=e=>{let{className:t,children:a,orientation:r,...s}=e;return(0,rx.jsx)("div",{...s,className:o(t,ax,{"k-menu-scroll-wrapper-vertical":r==="vertical"}),children:a})};Ni.states=FM;Ni.options=zM;Ni.className=ax;Ni.defaultOptions=RM;var lx=Ni;var mt=require("react/jsx-runtime"),_p="k-menu",HM=[],WM={},xd={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Co=e=>{let{children:t,orientation:a=xd.orientation,header:r=xd.header,scrollable:s,scrollButtonsPosition:i=xd.scrollButtonsPosition,wrapperStyles:d,dir:p,popup:m,...k}=e,y={horizontal:{prev:p!=="rtl"?"left":"right",next:p!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},A=(0,mt.jsx)("ul",{dir:p,...k,className:o(e.className,"k-reset",_p,{[`${_p}-${a}`]:a,"k-header":r}),children:t});return(0,mt.jsxs)(mt.Fragment,{children:[s?(0,mt.jsxs)(lx,{orientation:a,style:d,dir:e.dir,children:[i==="start"&&(0,mt.jsxs)(mt.Fragment,{children:[(0,mt.jsx)(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),(0,mt.jsx)(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),i==="around"&&(0,mt.jsx)(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),A,i==="end"&&(0,mt.jsxs)(mt.Fragment,{children:[(0,mt.jsx)(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),(0,mt.jsx)(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),i==="around"&&(0,mt.jsx)(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}):A,m]})};Co.states=HM;Co.options=WM;Co.className=_p;Co.defaultOptions=xd;var ix=require("react/jsx-runtime"),$p="k-separator",sx={orientation:"horizontal"},Ci=e=>{let{orientation:t=sx.orientation,...a}=e;return(0,ix.jsx)("li",{...a,className:o(e.className,"k-item",$p,{[`${$p}-${t}`]:t})})};Ci.className=$p;Ci.defaultOptions=sx;var nx=require("react/jsx-runtime");var om=require("react/jsx-runtime"),dx=require("react"),em="k-menu-group",OM=[],QM={size:[n.small,n.medium,n.large]},tm={size:n.medium,dir:"ltr"},ha=e=>{let{children:t,size:a=tm.size,dir:r=tm.dir,...s}=e,i=[];return t&&Array.isArray(t)&&t.map((d,p)=>{d.type===No?i.push((0,dx.createElement)(No,{...d.props,dir:r,key:p})):d.type===Ci?i.push((0,om.jsx)(Ci,{})):i.push(d)}),(0,om.jsx)("ul",{...s,className:o(e.className,em,C(em,{size:a})),children:i})};ha.states=OM;ha.options=QM;ha.className=em;ha.defaultOptions=tm;var am=require("react/jsx-runtime");var lm=require("react/jsx-runtime");var rm=require("react/jsx-runtime");var sm=require("react/jsx-runtime");var im=require("react/jsx-runtime");var cx=require("react/jsx-runtime");var fa=require("react/jsx-runtime"),nm="k-split-button",VM=[l.hover,l.focus,l.active,l.selected,l.disabled],XM={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Yr={size:n.medium,rounded:f.medium,fillMode:x.solid,themeColor:u.base,arrowIconName:"caret-alt-down"},Oe=e=>{let{size:t=Yr.size,rounded:a=Yr.rounded,fillMode:r=Yr.fillMode,themeColor:s=Yr.themeColor,hover:i,focus:d,active:p,selected:m,disabled:k,icon:y,text:A,arrowIconName:g=Yr.arrowIconName,popup:T,opened:N,...S}=e;return(0,fa.jsxs)(fa.Fragment,{children:[(0,fa.jsxs)("div",{...S,className:o(e.className,nm,"k-button-group",C(nm,{rounded:a})),children:[(0,fa.jsx)(c,{text:A,icon:y,size:t,rounded:a,fillMode:r,themeColor:s,hover:i,focus:d,active:p,selected:m,disabled:k,children:e.children}),(0,fa.jsx)(c,{className:"k-split-button-arrow",icon:g,size:t,rounded:a,fillMode:r,disabled:k})]}),N&&T&&(0,fa.jsx)(H,{className:"k-menu-popup",children:T})]})};Oe.states=VM;Oe.options=XM;Oe.className=nm;Oe.defaultOptions=Yr;var dm=Oe;var ZM=require("react/jsx-runtime");var JM=require("react/jsx-runtime");var jM=require("react/jsx-runtime");var px=require("react/jsx-runtime");var Vt=require("react/jsx-runtime"),mx="k-textarea",UM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled],qM={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Ka={size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode,flow:"vertical",affixesOrientation:"horizontal",resize:"both",separators:!0},Si=e=>{let{size:t=Ka.size,rounded:a=Ka.rounded,fillMode:r=Ka.fillMode,separators:s=Ka.separators,affixesOrientation:i=Ka.affixesOrientation,flow:d=Ka.flow,resize:p=Ka.resize,prefix:m,suffix:k,rows:y,value:A,placeholder:g,hover:T,focus:N,valid:S,invalid:B,required:L,disabled:P,...R}=e;return(0,Vt.jsxs)(M,{...R,size:t,rounded:a,fillMode:r,hover:T,focus:N,valid:S,invalid:B,required:L,disabled:P,className:o(e.className,mx,{"!k-fle