@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 293 kB
JavaScript
var hI=Object.create;var nd=Object.defineProperty;var gI=Object.getOwnPropertyDescriptor;var xI=Object.getOwnPropertyNames;var bI=Object.getPrototypeOf,vI=Object.prototype.hasOwnProperty;var yI=(e,t)=>{for(var a in t)nd(e,a,{get:t[a],enumerable:!0})},Oh=(e,t,a,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of xI(t))!vI.call(e,s)&&s!==a&&nd(e,s,{get:()=>t[s],enumerable:!(r=gI(t,s))||r.enumerable});return e};var Wh=(e,t,a)=>(a=e!=null?hI(bI(e)):{},Oh(t||!e||!e.__esModule?nd(a,"default",{value:e,enumerable:!0}):a,e)),wI=e=>Oh(nd({},"__esModule",{value:!0}),e);var SH={};yI(SH,{TabStripBottom:()=>CH});module.exports=wI(SH);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)=>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,"k-highlighted":t.highlighted});var n={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},h={small:"small",medium:"medium",large:"large",full:"full"},b={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"},Ht={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var mi=require("react/jsx-runtime"),rp="k-icon k-font-icon",TI=[],AI={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]},NI={},ui=e=>{let{size:t,themeColor:a,icon:r,rotate:s,flip:i,...d}=e;return r?(0,mi.jsx)("span",{...d,className:o(e.className,rp,C(rp,{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,mi.jsx)(mi.Fragment,{})};ui.states=TI;ui.options=AI;ui.className=rp;ui.defaultOptions=NI;var Qh=ui;var Cl=require("react/jsx-runtime"),sp="k-icon k-svg-icon",CI=[],SI={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]},Vh={viewBox:"0 0 24 24"},ki=e=>{let{size:t,themeColor:a,rotate:r,flip:s,viewBox:i=Vh.viewBox,icon:d,...p}=e;if(!d)return(0,Cl.jsx)(Cl.Fragment,{});d==="none"&&{...p,className:o(e.className,sp,"k-none")};let m=typeof d=="object"&&d.name&&d.name;return(0,Cl.jsx)("span",{...p,className:o(e.className,sp,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,Cl.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})})};ki.states=CI;ki.options=SI;ki.className=sp;ki.defaultOptions=Vh;var ip=ki;var Xh=Wh(require("@progress/kendo-svg-icons")),ua=require("react/jsx-runtime"),II=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),BI=[],MI={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]},np={viewBox:"0 0 24 24",type:"svg"},y=e=>{let{size:t,themeColor:a,icon:r,type:s=np.type,rotate:i,flip:d,viewBox:p=np.viewBox,...m}=e;if(!r)return(0,ua.jsx)(ua.Fragment,{});if(s==="svg"){if(r==="none")return(0,ua.jsx)(ip,{...m,icon:r,size:t});let f=II(`${r}-icon`);return Xh[f]?(0,ua.jsx)(ip,{...m,icon:Xh[f],size:t,themeColor:a,rotate:i,flip:d,viewBox:p}):(0,ua.jsx)(ua.Fragment,{})}return(0,ua.jsx)(Qh,{...m,icon:r,size:t,themeColor:a,rotate:i,flip:d})};y.states=BI;y.options=MI;y.defaultOptions=np;var dp=y;var jh=require("react/jsx-runtime"),Zh="k-tabstrip-items",LI=[],EI={},YI={tabAlignment:"start"},fi=e=>{let{children:t,tabAlignment:a,...r}=e;return(0,jh.jsx)("ul",{...r,className:o(e.className,Zh,"k-reset",`k-tabstrip-items-${a}`),children:t})};fi.states=LI;fi.options=EI;fi.className=Zh;fi.defaultOptions=YI;var Jh=fi;var $h=require("react/jsx-runtime"),Uh="k-tabstrip-items-wrapper",PI=[],GI={},qh={orientation:"horizontal"},hi=e=>{let{children:t,orientation:a=qh.orientation,...r}=e;return(0,$h.jsx)("div",{...r,className:o(e.className,Uh,{"k-hstack":a==="horizontal","k-vstack":a==="vertical"}),children:t})};hi.states=PI;hi.options=GI;hi.className=Uh;hi.defaultOptions=qh;var _h=hi;var Ot=require("react/jsx-runtime"),Sl="k-tabstrip",KI=[],DI={size:[n.small,n.medium,n.large]},gi={size:n.medium,position:"top",tabAlignment:"start",scrollButtons:"around"},Fo=e=>{let{size:t=gi.size,scrollable:a,children:r,tabStripItems:s,position:i=gi.position,tabAlignment:d=gi.tabAlignment,scrollButtons:p=gi.scrollButtons,dir:m,scrollingPosition:f,...v}=e,T={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"},A={start:"start",center:"center",end:"end",justify:"justify",stretched:"stretched"};return(0,Ot.jsxs)("div",{dir:m,...v,className:o(Sl,e.className,{[`${Sl}-${i}`]:i,[`${Sl}-scrollable`]:a,[`${Sl}-scrollable-overlay`]:a&&(p==="hidden"||!p),[`${Sl}-scrollable-${f}`]:f&&f!=="both"},C(Sl,{size:t})),children:[i==="bottom"&&r,(0,Ot.jsxs)(_h,{orientation:g[i],children:[a&&(p==="around"||p==="start")&&(0,Ot.jsx)("span",{className:o("k-tabstrip-prev","k-button",C("k-button",{size:t,fillMode:b.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:(0,Ot.jsx)(y,{className:"k-button-icon",icon:`caret-alt-${T[i].prev}`})}),a&&p==="start"&&(0,Ot.jsx)("span",{className:o("k-tabstrip-next","k-button",C("k-button",{size:t,fillMode:b.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:(0,Ot.jsx)(y,{className:"k-button-icon",icon:`caret-alt-${T[i].next}`})}),(0,Ot.jsx)(Jh,{className:o({"k-tabstrip-items-scroll":a&&p==="hidden"}),tabAlignment:A[d],children:s}),a&&p==="end"&&(0,Ot.jsx)("span",{className:o("k-tabstrip-prev","k-button",C("k-button",{size:t,fillMode:b.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:(0,Ot.jsx)(y,{className:"k-button-icon",icon:`caret-alt-${T[i].prev}`})}),a&&(p==="around"||p==="end")&&(0,Ot.jsx)("span",{className:o("k-tabstrip-next","k-button",C("k-button",{size:t,fillMode:b.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:(0,Ot.jsx)(y,{className:"k-button-icon",icon:`caret-alt-${T[i].next}`})})]}),i!=="bottom"&&r]})};Fo.states=KI;Fo.options=DI;Fo.className=Sl;Fo.defaultOptions=gi;var tg=require("react/jsx-runtime"),FI=[],RI={},eg=e=>{let{type:t,...a}=e,r=t==="p"?"paragraph":t,s=t.includes("display")?"div":t;return(0,tg.jsx)(s,{...a,className:o(e.className,{[`k-${r}`]:t}),children:e.children})};eg.states=FI;eg.options=RI;var ag=require("react/jsx-runtime"),dd="k-actions",zI=[],HI={},cp={alignment:"start",orientation:"horizontal"},Z=e=>{let{alignment:t=cp.alignment,orientation:a=cp.orientation,...r}=e;return(0,ag.jsx)("div",{...r,className:o(dd,{[`${dd}-${t}`]:t,[`${dd}-${a}`]:a},e.className),children:e.children})};Z.states=zI;Z.options=HI;Z.className=dd;Z.defaultOptions=cp;var og=Z;var lg=require("react/jsx-runtime"),cd="k-input",OI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],WI={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},pd={size:n.medium,rounded:n.medium,fillMode:b.solid},M=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p,size:m=pd.size,rounded:f=pd.rounded,fillMode:v=pd.fillMode,...T}=e;return(0,lg.jsx)("span",{...T,className:o(e.className,cd,C(cd,{size:m,rounded:f,fillMode:v}),x(cd,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p}))})};M.states=OI;M.options=WI;M.className=cd;M.defaultOptions=pd;var rg=require("react/jsx-runtime"),md="k-picker",QI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],VI={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},ud={size:n.medium,rounded:h.medium,fillMode:b.solid},Wt=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p,size:m=ud.size,rounded:f=ud.rounded,fillMode:v=ud.fillMode,...T}=e;return(0,rg.jsx)("span",{...T,className:o(e.className,md,C(md,{size:m,rounded:f,fillMode:v}),x(md,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p})),children:e.children})};Wt.states=QI;Wt.options=VI;Wt.className=md;Wt.defaultOptions=ud;var Sr=require("react/jsx-runtime"),sg="k-clear-value",XI=[l.disabled,l.loading,l.readonly],ZI={},re=e=>{let{disabled:t,loading:a,readonly:r,value:s}=e;return t||r||a||!s?(0,Sr.jsx)(Sr.Fragment,{}):(0,Sr.jsx)("span",{className:o(e.className,sg),children:(0,Sr.jsx)(y,{icon:"x"})})};re.states=XI;re.options=ZI;re.className=sg;var ig=require("react/jsx-runtime"),pp="k-input-inner",JI=[],jI={},kd={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=kd.value,type:a=kd.type,placeholder:r=kd.placeholder,autocomplete:s=kd.autocomplete,...i}=e;return(0,ig.jsx)("input",{...i,type:a,className:o(e.className,pp,C(pp,e)),placeholder:r,autoComplete:s,defaultValue:t})};ce.states=JI;ce.options=jI;ce.className=pp;var xi=require("react/jsx-runtime"),mp="k-input-inner",UI=[],qI={},ka=e=>{let{value:t,placeholder:a,showValue:r,valueIcon:s,valueIconName:i,...d}=e;return(0,xi.jsxs)("span",{...d,className:o(e.className,mp,C(mp,e)),children:[s,!s&&i&&(0,xi.jsx)(y,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&(0,xi.jsx)("span",{className:"k-input-value-text",children:t})]})};ka.states=UI;ka.options=qI;ka.className=mp;var dg=require("react/jsx-runtime"),up="k-input-inner",_I=[],$I={},ng={value:"",placeholder:""},bi=e=>{let{value:t=ng.value,placeholder:a=ng.placeholder,rows:r,...s}=e;return(0,dg.jsx)("textarea",{...s,className:o(e.className,up,C(up,e)),placeholder:a,rows:r,defaultValue:t})};bi.states=_I;bi.options=$I;bi.className=up;var vi=require("react/jsx-runtime"),cg="k-input-loading-icon",eB=[l.disabled,l.loading],_=e=>{let{disabled:t,loading:a}=e;return t||!a?(0,vi.jsx)(vi.Fragment,{}):(0,vi.jsx)("span",{className:o(e.className,cg,"k-icon k-i-loading")})};_.states=eB;_.className=cg;var yi=require("react/jsx-runtime"),pg="k-input-validation-icon",tB=[l.valid,l.invalid,l.disabled,l.loading],oB={},U=e=>{let{valid:t,invalid:a,disabled:r,loading:s}=e,i=a?"warning-circle":"check-circle";return r||s||!!!(t||a)?(0,yi.jsx)(yi.Fragment,{}):(0,yi.jsx)(y,{className:o(pg),icon:i})};U.states=tB;U.options=oB;U.className=pg;var wi=require("react/jsx-runtime"),aB="k-input-prefix",lB={direction:"horizontal"},ae=e=>{let{direction:t=lB.direction,...a}=e;return e.children?(0,wi.jsx)("span",{...a,className:o(aB,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,wi.jsx)(wi.Fragment,{})};var Ti=require("react/jsx-runtime"),rB="k-input-suffix",sB={direction:"horizontal"},le=e=>{let{direction:t=sB.direction,...a}=e;return e.children?(0,Ti.jsx)("span",{...a,className:o(rB,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Ti.jsx)(Ti.Fragment,{})};var iB=require("react/jsx-runtime");var nB=require("react/jsx-runtime");var ug=require("react/jsx-runtime"),mg="k-input-separator",dB={direction:"vertical"},Ce=e=>{let{direction:t=dB.direction,...a}=e;return(0,ug.jsx)("span",{...a,className:o(mg,e.className,{[`${mg}-${t}`]:t})})};var kp=require("react/jsx-runtime"),kg="k-animation-container",cB=[],pB={},fg={positionMode:"absolute"},Pa=e=>{let{positionMode:t=fg.positionMode,animationStyle:a,offset:r,...s}=e;return(0,kp.jsx)("div",{...s,style:{...r,...e.style},className:o(e.className,kg,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,kp.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};Pa.states=cB;Pa.options=pB;Pa.className=kg;Pa.defaultOptions=fg;var fp=require("react/jsx-runtime"),hg="k-popup",mB=[],uB={},gg={positionMode:"absolute"},H=e=>{let{offset:t,positionMode:a=gg.positionMode,animationStyle:r,...s}=e;return(0,fp.jsx)(Pa,{positionMode:a,offset:t,animationStyle:r,children:(0,fp.jsx)("div",{...s,className:o(e.className,hg),children:e.children})})};H.states=mB;H.options=uB;H.className=hg;H.defaultOptions=gg;var xg=require("react/jsx-runtime"),kB="k-no-data",Ai=e=>(0,xg.jsx)("span",{className:o(kB,e.className),children:e.children});var Ro=require("react/jsx-runtime"),hp="k-list",fB=[],hB={size:[n.small,n.medium,n.large]},bg={size:n.medium},J=e=>{let{size:t=bg.size,virtualization:a,children:r,optionLabel:s,customValue:i,screenReaders:d,...p}=e,m,f,v,T,g=[];return r?r.map((A,N)=>{A.type===Me?(A.props.root===!0?(m=A.props.label,A.props.children.map((S,B)=>{g.push((0,Ro.jsx)(K,{...S.props},`optChild-${B}-${new Date().getTime()}`))})):A.props.children.forEach((S,B)=>{let L="";B===0&&(L=A.props.label),g.push((0,Ro.jsx)(K,{className:B===0?"k-first":"",...S.props,groupLabel:L},`groupLabel-${B}-${new Date().getTime()}`))}),f=(0,Ro.jsx)(Me,{label:m,virtualization:a,children:g})):A.type===K&&(g.push((0,Ro.jsx)(K,{...A.props},`${A.type}-${N}`)),v=(0,Ro.jsx)(Ir,{virtualization:a,children:g}),d&&(T=(0,Ro.jsxs)(Ai,{className:"k-sr-only",children:[g.length," items found."]})))}):T=(0,Ro.jsx)(Ai,{children:"No data found."}),(0,Ro.jsxs)("div",{...p,className:o(e.className,hp,C(hp,{size:t}),{"k-virtual-list":a}),children:[s,i,f,v,T]})};J.states=fB;J.options=hB;J.className=hp;J.defaultOptions=bg;var zo=require("react/jsx-runtime"),gp="k-list",gB=[],xB={size:[n.small,n.medium,n.large]},vg={size:n.medium},Il=e=>{let{size:t=vg.size,virtualization:a,children:r,...s}=e,i,d,p,m=[];return r?r.map((f,v)=>{f.type===Me?(f.props.root===!0?(i=f.props.label,f.props.children.map((T,g)=>{m.push((0,zo.jsx)(K,{...T.props},`optChild-${g}-${new Date().getTime()}`))})):(m.push((0,zo.jsx)(yg,{...f.props,children:f.props.label},`listChild-${v}`)),f.props.children.map((T,g)=>{m.push((0,zo.jsx)(K,{...T.props},`fwOptChild-${g}-${new Date().getTime()}`))})),d=(0,zo.jsx)(Me,{label:i,virtualization:a,children:m})):f.type===K&&(m.push((0,zo.jsx)(K,{...f.props},`${f.type}-${v}`)),p=(0,zo.jsx)(Ir,{virtualization:a,children:m}))}):p=(0,zo.jsx)(Ai,{children:"No data found."}),(0,zo.jsxs)("div",{...s,className:o(e.className,gp,C(gp,{size:t}),{"k-virtual-list":a}),children:[d,p]})};Il.states=gB;Il.options=xB;Il.className=gp;Il.defaultOptions=vg;var bp=require("react/jsx-runtime"),fd="k-checkbox",bB=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],vB={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full]},xp={size:n.medium,rounded:h.medium},ct=e=>{let{id:t,checked:a,indeterminate:r,hover:s,focus:i,disabled:d,invalid:p,valid:m,required:f,size:v=xp.size,rounded:T=xp.rounded,...g}=e;return(0,bp.jsx)("span",{className:"k-checkbox-wrap",children:(0,bp.jsx)("input",{...g,id:t,type:"checkbox",defaultChecked:a,required:f,className:o(e.className,fd,C(fd,{size:v,rounded:T}),x(fd,{hover:s,focus:i,disabled:d,invalid:p,valid:m,indeterminate:r,checked:a}))})})};ct.states=bB;ct.options=vB;ct.className=fd;ct.defaultOptions=xp;var Ag=require("react/jsx-runtime"),wg="k-checkbox-list",yB=[],wB={},Tg={layout:"vertical"},Br=e=>{let{layout:t=Tg.layout,...a}=e;return(0,Ag.jsx)("ul",{...a,className:o(e.className,wg,{[`k-list-${t}`]:t}),children:e.children})};Br.states=yB;Br.options=wB;Br.className=wg;Br.defaultOptions=Tg;var Cg=require("react/jsx-runtime"),Ng="k-checkbox-list-item",TB=[],AB={},NB={},Mr=e=>{let{...t}=e;return(0,Cg.jsx)("li",{...t,className:o(e.className,Ng),children:e.children})};Mr.states=TB;Mr.options=AB;Mr.className=Ng;Mr.defaultOptions=NB;var yp=require("react/jsx-runtime");var wp=require("react/jsx-runtime");var Tp=require("react/jsx-runtime");var Ap=require("react/jsx-runtime");var CB=require("react/jsx-runtime");var SB=require("react/jsx-runtime");var Bl=require("react/jsx-runtime"),Np="k-list-item",IB=[l.hover,l.focus,l.selected,l.disabled],BB={},MB={},K=e=>{let{text:t,groupLabel:a,group:r,showIcon:s,iconName:i,showCheckbox:d,checked:p,hover:m,focus:f,selected:v,disabled:T,...g}=e,A=t||e.children;return(0,Bl.jsxs)("li",{...g,className:o(e.className,r?"k-list-group-item":Np,x(Np,{hover:m,focus:f,disabled:T,selected:v})),children:[d&&(0,Bl.jsx)(ct,{checked:p}),s&&(0,Bl.jsx)(y,{icon:i}),(0,Bl.jsx)("span",{className:"k-list-item-text",children:A}),a&&a!==""&&(0,Bl.jsx)("div",{className:"k-list-item-group-label",children:a})]})};K.states=IB;K.options=BB;K.className=Np;K.defaultOptions=MB;var Lr=require("react/jsx-runtime"),LB="k-list-content",Ir=e=>{let{virtualization:t,...a}=e;return(0,Lr.jsxs)("div",{...a,className:o(LB,e.className),children:[(0,Lr.jsx)("ul",{className:o("k-list-ul"),children:e.children}),t&&(0,Lr.jsx)("div",{className:"k-height-container",children:(0,Lr.jsx)("div",{})})]})};var Cp=require("react/jsx-runtime"),EB="k-list-group-sticky-header",Sg=e=>(0,Cp.jsx)("div",{className:o(EB,e.className),children:(0,Cp.jsx)("div",{className:"k-list-header-text",children:e.children})});var Ml=require("react/jsx-runtime"),Me=e=>{let{virtualization:t,label:a}=e;return(0,Ml.jsxs)(Ml.Fragment,{children:[a&&(0,Ml.jsx)(Sg,{children:a}),e.children&&(0,Ml.jsx)(Ir,{virtualization:t,children:e.children})]})};var Sp=require("react/jsx-runtime"),YB="k-list-group-item",yg=e=>(0,Sp.jsx)("li",{className:o(YB,e.className),children:(0,Sp.jsx)("span",{className:"k-list-item-text",children:e.children})});var Ig=require("react/jsx-runtime"),Ip="k-list-optionlabel",PB=[l.hover,l.focus,l.selected,l.disabled],GB={},KB={},hd=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return(0,Ig.jsx)("div",{...d,className:o(Ip,x(Ip,{hover:a,focus:r,selected:s,disabled:i})),children:t})};hd.states=PB;hd.options=GB;hd.className=Ip;hd.defaultOptions=KB;var Bg=require("react/jsx-runtime"),Bp="k-list-custom-value",DB=[l.hover,l.focus,l.selected,l.disabled],FB={},RB={},gt=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return(0,Bg.jsx)("div",{...d,className:o(Bp,x(Bp,{hover:a,focus:r,selected:s,disabled:i})),children:t})};gt.states=DB;gt.options=FB;gt.className=Bp;gt.defaultOptions=RB;var zB=require("react/jsx-runtime");var HB=require("react/jsx-runtime");var Mg=require("react/jsx-runtime");var Lg=require("react/jsx-runtime");var OB=require("react/jsx-runtime");var Eg=require("react/jsx-runtime");var Yg=require("react/jsx-runtime");var wo=require("react/jsx-runtime"),gd="k-button",WB=[l.hover,l.focus,l.active,l.selected,l.disabled],QB={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Ll={size:n.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},c=e=>{let{size:t=Ll.size,rounded:a=Ll.rounded,fillMode:r=Ll.fillMode,themeColor:s=Ll.themeColor,showArrow:i=Ll.showArrow,arrowIconName:d=Ll.arrowIconName,hover:p,focus:m,active:f,selected:v,disabled:T,icon:g,text:A,iconClassName:N,...S}=e,B=g!==void 0,L=e.children!==void 0;return(0,wo.jsxs)("button",{...S,className:o(e.className,gd,C(gd,{size:t,rounded:a,fillMode:r,themeColor:s}),x(gd,{hover:p,focus:m,active:f,disabled:T,selected:v}),{"k-icon-button":!A&&!L&&B}),children:[g&&(0,wo.jsx)(y,{className:o(N,"k-button-icon"),icon:g}),A?(0,wo.jsxs)(wo.Fragment,{children:[A&&(0,wo.jsx)("span",{className:"k-button-text",children:A}),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)(y,{icon:d})})]})};c.states=WB;c.options=QB;c.className=gd;c.defaultOptions=Ll;var Pg=require("react/jsx-runtime"),xt=e=>(0,Pg.jsx)(c,{icon:"folder",...e,children:void 0});var Gg=require("react/jsx-runtime"),To=e=>(0,Gg.jsx)(c,{icon:"folder",children:"Button",...e});var VB=require("react/jsx-runtime");var Er=require("react/jsx-runtime"),Kg="k-suggestion-group",XB=[],ZB={},Dg={scrollable:!0},El=e=>{let{scrollable:t=Dg.scrollable,...a}=e,r=(0,Er.jsx)("div",{...a,className:o(Kg,e.className),children:e.children});return t?(0,Er.jsxs)("div",{className:"k-suggestion-scrollwrap",children:[(0,Er.jsx)(c,{icon:"chevron-left"}),r,(0,Er.jsx)(c,{icon:"chevron-right"})]}):r};El.states=XB;El.options=ZB;El.className=Kg;El.defaultOptions=Dg;var Fg=require("react/jsx-runtime"),xd="k-suggestion",JB=[l.active,l.hover,l.focus],jB={themeColor:[u.base,u.primary,u.secondary]},UB={text:"Suggestion"},Yl=e=>{let{themeColor:t,active:a,hover:r,focus:s,text:i,...d}=e;return(0,Fg.jsx)("span",{...d,className:o(e.className,xd,x(xd,{hover:r,active:a,focus:s}),C(xd,{themeColor:t})),children:i})};Yl.states=JB;Yl.options=jB;Yl.className=xd;Yl.item=UB;var Mp=require("react/jsx-runtime");var Lp=require("react/jsx-runtime");var Ep=require("react/jsx-runtime"),Ni="k-avatar";var qB=[l.hover,l.focus,l.active,l.selected,l.disabled],_B={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Pl={type:"text",size:n.medium,rounded:h.full,fillMode:b.solid,themeColor:u.primary,border:!1},Ho=e=>{let{size:t=Pl.size,rounded:a=Pl.rounded,fillMode:r=Pl.fillMode,themeColor:s=Pl.themeColor,type:i=Pl.type,border:d=Pl.border,...p}=e;return(0,Ep.jsx)("div",{...p,className:o(e.className,Ni,C(Ni,{size:t,rounded:a,fillMode:r,themeColor:s}),{[`${Ni}-bordered`]:d}),children:(0,Ep.jsx)("span",{className:`${Ni}-${i}`,children:e.children})})};Ho.states=qB;Ho.options=_B;Ho.className=Ni;Ho.defaultOptions=Pl;var $B=require("react/jsx-runtime");var eM=require("react/jsx-runtime");var tM=require("react/jsx-runtime");var zg=require("react/jsx-runtime"),Ci="k-badge",oM=[],aM={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.outline],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Si={size:n.medium,fillMode:b.solid,themeColor:u.primary,cutoutBorder:!1},Yr=e=>{let{size:t=Si.size,fillMode:a=Si.fillMode,themeColor:r=Si.themeColor,cutoutBorder:s=Si.cutoutBorder,rounded:i,position:d,align:p,...m}=e;return(0,zg.jsx)("span",{...m,className:o(e.className,Ci,C(Ci,{size:t,rounded:i,fillMode:a,themeColor:r}),{[`${Ci}-${d}`]:d,[`k-${p}`]:p,[`${Ci}-border-cutout`]:s}),children:e.children})};Yr.states=oM;Yr.options=aM;Yr.className=Ci;Yr.defaultOptions=Si;var lM=require("react/jsx-runtime");var rM=require("react/jsx-runtime");var sM=require("react/jsx-runtime");var fa=require("react/jsx-runtime"),bd="k-chip",iM=[l.hover,l.focus,l.active,l.selected,l.disabled],nM={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.outline],themeColor:[u.base,u.success,u.warning,u.error,u.info]},Pr={size:n.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,avatarImage:"/packages/html/assets/avatar.jpg"},Ao=e=>{let{size:t=Pr.size,rounded:a=Pr.rounded,fillMode:r=Pr.fillMode,themeColor:s=Pr.themeColor,text:i,icon:d,actions:p,showAvatar:m,avatarImage:f=Pr.avatarImage,hover:v,focus:T,active:g,selected:A,disabled:N,...S}=e;return(0,fa.jsxs)("div",{...S,className:o(e.className,bd,C(bd,{size:t,rounded:a,fillMode:r,themeColor:s}),x(bd,{hover:v,focus:T,active:g,disabled:N,selected:A})),children:[d&&(0,fa.jsx)(y,{className:"k-chip-icon",icon:d,size:"small"}),m&&(0,fa.jsx)(Ho,{className:"k-chip-avatar",type:"image",children:(0,fa.jsx)("img",{src:f})}),(0,fa.jsx)("span",{className:"k-chip-content",children:e.children?e.children:i&&(0,fa.jsx)("span",{className:"k-chip-label",children:i})}),p&&(0,fa.jsx)("span",{className:"k-chip-actions",children:p})]})};Ao.states=iM;Ao.options=nM;Ao.className=bd;Ao.defaultOptions=Pr;var Og=require("react/jsx-runtime"),Yp="k-chip-list",dM=[],cM={size:[n.small,n.medium,n.large]},Hg={size:n.medium},No=e=>{let{size:t=Hg.size,...a}=e;return(0,Og.jsx)("div",{...a,className:o(e.className,Yp,C(Yp,{size:t})),children:e.children})};No.states=dM;No.options=cM;No.className=Yp;No.defaultOptions=Hg;var pM=require("react/jsx-runtime");var mM=require("react/jsx-runtime");var uM=require("react/jsx-runtime");var kM=require("react/jsx-runtime");var Pp=require("react/jsx-runtime");var Ii=require("react/jsx-runtime"),Wg="k-color-preview",fM=[],hM={},Ga=e=>{let{color:t,iconName:a,...r}=e;return(0,Ii.jsxs)("span",{...r,className:o(e.className,Wg,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&(0,Ii.jsx)(y,{icon:a,className:"k-color-preview-icon"}),(0,Ii.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ga.states=fM;Ga.options=hM;Ga.className=Wg;var ro=require("react/jsx-runtime"),Gp="k-loader",gM={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},xM=[],bM={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]},yd={size:n.medium,themeColor:u.primary,animation:"pulsing"},Ka=e=>{let{size:t=yd.size,themeColor:a=yd.themeColor,animation:r=yd.animation,...s}=e,i=(0,ro.jsx)("span",{className:"k-loader-segment"});return(0,ro.jsx)("div",{...s,className:o(e.className,Gp,{[`k-loader-${gM[r]||r}`]:r},C(Gp,{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]})]})})};Ka.states=xM;Ka.options=bM;Ka.className=Gp;Ka.defaultOptions=yd;var Qg=Ka;var Dl=require("react/jsx-runtime"),Kp="k-loader-container",vM=[],yM={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]},Kl={size:n.medium,themeColor:u.primary,loaderType:"pulsing",position:"top",overlay:"dark",panel:!1},Bi=e=>{let{size:t=Kl.size,themeColor:a=Kl.themeColor,loaderType:r=Kl.loaderType,position:s=Kl.position,overlay:i=Kl.overlay,panel:d=Kl.panel,...p}=e;return(0,Dl.jsxs)("div",{...p,className:o(e.className,Kp,C(Kp,{size:t}),{[`k-loader-${s}`]:s}),children:[(0,Dl.jsx)("div",{className:`k-loader-container-overlay k-overlay-${i}`}),(0,Dl.jsxs)("div",{className:o("k-loader-container-inner",{"k-loader-container-panel":d}),children:[(0,Dl.jsx)(Qg,{size:t,themeColor:a,animation:r}),(0,Dl.jsx)("div",{className:`k-loader-container-label !k-text-${a}`,children:"Loading..."})]})]})};Bi.states=vM;Bi.options=yM;Bi.className=Kp;Bi.defaultOptions=Kl;var wM=require("react/jsx-runtime");var TM=require("react/jsx-runtime");var AM=require("react/jsx-runtime");var NM=require("react/jsx-runtime");var Xg=require("react/jsx-runtime"),Vg="k-skeleton",CM=[],SM={},Dp={shape:"text",animation:"pulse"},Da=e=>{let{shape:t=Dp.shape,animation:a=Dp.animation,...r}=e;return(0,Xg.jsx)("span",{...r,className:o(e.className,Vg,{[`k-skeleton-${t}`]:t,[`k-skeleton-${a}`]:a}),style:e.style})};Da.states=CM;Da.options=SM;Da.className=Vg;Da.defaultOptions=Dp;var IM=require("react/jsx-runtime");var Jg=require("react/jsx-runtime"),Zg=e=>(0,Jg.jsx)(Da,{shape:"rect",...e});var BM=require("react/jsx-runtime");var Oo=require("react/jsx-runtime"),Fp="k-form-field",MM=[l.disabled],pt=e=>{let{label:t,orientation:a,optional:r,editor:s,hint:i,error:d,info:p,disabled:m,dir:f,colSpan:v}=e;return(0,Oo.jsxs)("div",{className:o(Fp,e.className,x(Fp,{disabled:m}),{[`k-col-span-${v}`]:v}),dir:f,children:[t&&(0,Oo.jsxs)("label",{className:o("k-label","k-form-label"),children:[t,r&&(0,Oo.jsx)("span",{className:"k-label-optional",children:"(Optional)"}),p&&(0,Oo.jsx)("span",{className:"k-field-info",children:"(field info)"})]}),a==="horizontal"&&!t&&(0,Oo.jsx)("span",{className:"k-label k-form-label k-label-empty"}),(0,Oo.jsxs)("div",{className:"k-form-field-wrap",children:[s,i&&(0,Oo.jsx)("div",{className:"k-form-hint",children:i}),d&&(0,Oo.jsx)("div",{className:"k-form-error",children:d})]})]})};pt.states=MM;pt.className=Fp;var Fa=require("react/jsx-runtime"),jg="k-form-fieldset",Wo=e=>{let{legend:t,layout:a,cols:r,gutters:s,colSpan:i}=e;return(0,Fa.jsxs)("fieldset",{className:o(jg,{[`k-col-span-${i}`]:i}),children:[t&&(0,Fa.jsx)("legend",{className:"k-form-legend",children:t}),a==="grid"?(0,Fa.jsx)("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}):(0,Fa.jsx)(Fa.Fragment,{children:e.children})]})};Wo.className=jg;var Qo=require("react/jsx-runtime"),Ad=require("react"),wd="k-form",LM=[],EM={size:[n.small,n.medium,n.large]},Td={size:n.medium,layout:"basic",tag:"form"},ha=e=>{let{size:t=Td.size,orientation:a,layout:r=Td.layout,formButtons:s,cols:i,gutters:d,tag:p=Td.tag,children:m}=e,f=({tag:T,className:g,children:A})=>T==="form"?(0,Qo.jsx)("form",{className:g,children:A}):(0,Qo.jsx)("div",{className:g,children:A}),v=[];return m&&(Array.isArray(m)?m.map((T,g)=>{T.type===pt?v.push((0,Ad.createElement)(pt,{...T.props,orientation:a,key:g})):v.push(T)}):m.type===pt?v.push((0,Ad.createElement)(pt,{...m.props,orientation:a,key:`${new Date().getTime()}`})):m.type===Wo&&v.push((0,Ad.createElement)(Wo,{...m.props,key:`${new Date().getTime()}`}))),(0,Qo.jsxs)(f,{tag:p,className:o(e.className,wd,C(wd,{size:t}),{[`${wd}-${a}`]:a}),children:[r==="grid"?(0,Qo.jsx)("div",{className:o("k-form-layout","k-d-grid",{[`k-grid-cols-${i}`]:i}),style:{...typeof d=="string"&&{gap:d},...typeof d=="object"&&d.rows&&{rowGap:d.rows},...typeof d=="object"&&d.cols&&{columnGap:d.cols}},children:v}):(0,Qo.jsx)(Qo.Fragment,{children:v}),s&&(0,Qo.jsx)("div",{className:"k-form-buttons",children:s})]})};ha.states=LM;ha.options=EM;ha.className=wd;ha.defaultOptions=Td;var qg=require("react/jsx-runtime"),YM="k-actionsheet-footer",Ug={alignment:"stretched",orientation:"horizontal"},Co=e=>{let{alignment:t=Ug.alignment,orientation:a=Ug.orientation,template:r,as:s=r?"div":Z,...i}=e;return(0,qg.jsx)(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,YM),children:e.children})};var Ra=require("react/jsx-runtime"),_g="k-searchbox",PM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],GM={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Rp={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:f,required:v,loading:T,disabled:g,showIcon:A=Rp.showIcon,icon:N=Rp.icon,...S}=e;return(0,Ra.jsxs)(M,{...S,size:r,rounded:s,fillMode:i,hover:d,focus:p,valid:m,invalid:f,required:v,loading:T,disabled:g,className:o(e.className,_g),children:[A&&(0,Ra.jsx)(y,{className:"k-input-icon",icon:N}),(0,Ra.jsx)(ce,{placeholder:a,value:t}),(0,Ra.jsx)(_,{...e}),(0,Ra.jsx)(U,{...e}),(0,Ra.jsx)(re,{...e})]})};st.states=PM;st.options=GM;st.className=_g;st.defaultOptions=Rp;var KM=require("react/jsx-runtime");var bt=require("react/jsx-runtime"),$g="k-textbox",DM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],FM={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Fl={showClearButton:!0,showValidationIcon:!0,size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode,separators:!0},q=e=>{let{size:t=Fl.size,rounded:a=Fl.rounded,fillMode:r=Fl.fillMode,separators:s=Fl.separators,showClearButton:i=Fl.showClearButton,showValidationIcon:d=Fl.showValidationIcon,prefix:p,suffix:m,type:f,value:v,placeholder:T,hover:g,focus:A,valid:N,invalid:S,required:B,loading:L,disabled:P,readonly:z,...V}=e;return(0,bt.jsxs)(M,{...V,size:t,rounded:a,fillMode:r,hover:g,focus:A,valid:N,invalid:S,required:B,loading:L,disabled:P,readonly:z,className:o(e.className,$g),children:[p&&(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(ae,{children:p}),s&&(0,bt.jsx)(Ce,{})]}),(0,bt.jsx)(ce,{placeholder:T,value:v,type:f}),d&&(0,bt.jsx)(U,{valid:N,invalid:S,loading:L,disabled:P}),(0,bt.jsx)(_,{loading:L,disabled:P}),i&&(0,bt.jsx)(re,{loading:L,disabled:P,readonly:z,value:v}),m&&(0,bt.jsxs)(bt.Fragment,{children:[s&&(0,bt.jsx)(Ce,{}),(0,bt.jsx)(le,{children:m})]})]})};q.states=DM;q.options=FM;q.className=$g;q.defaultOptions=Fl;var RM=require("react/jsx-runtime");var tx=require("react/jsx-runtime");var ax=require("react/jsx-runtime");var Qt=require("react/jsx-runtime"),lx="k-actionsheet-titlebar",zM={},se=e=>{let{title:t,subtitle:a,actionsStart:r,actionsEnd:s,filter:i,input:d,inputValue:p,inputPlaceholder:m,adaptive:f,children:v,...T}=e;return(0,Qt.jsxs)("div",{...T,className:o(e.className,lx),children:[(0,Qt.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[r&&(0,Qt.jsx)("div",{className:"k-actionsheet-actions",children:r}),!v&&(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})]}),v&&(0,Qt.jsx)("div",{className:"k-actionsheet-title",children:v}),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:f?"large":"medium"}):(0,Qt.jsx)(st,{placeholder:"Filter",size:f?"large":"medium"})})]})};se.className=lx;se.defaultOptions=zM;var Gr=require("react/jsx-runtime"),zp="k-actionsheet-view",HM=[],OM={},WM={},Kr=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...d}=e,p=(s==null?void 0:s.type)===se&&(0,Gr.jsx)(se,{adaptive:t,...s==null?void 0:s.props}),m=(i==null?void 0:i.type)===Co&&(0,Gr.jsx)(Co,{...i==null?void 0:i.props});return(0,Gr.jsxs)("div",{...d,className:o(e.className,zp,{[`${zp}-animated`]:a}),children:[p,(0,Gr.jsx)("div",{className:"k-actionsheet-content",children:r}),m]})};Kr.states=HM;Kr.options=OM;Kr.className=zp;Kr.defaultOptions=WM;var Rl=require("react/jsx-runtime"),rx="k-actionsheet",QM=[],VM={},Mi={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},pe=e=>{let{side:t=Mi.side,fullscreen:a=Mi.fullscreen,adaptive:r=Mi.adaptive,overlay:s=Mi.overlay,template:i,children:d,header:p,footer:m,...f}=e;return(0,Rl.jsxs)("div",{className:"k-actionsheet-container",children:[s&&(0,Rl.jsx)("div",{className:"k-overlay"}),(0,Rl.jsx)(Pa,{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,Rl.jsx)("div",{...f,className:o(e.className,rx,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||(0,Rl.jsx)(Kr,{header:p,footer:m,adaptive:r,...e,children:d})})})]})};pe.states=QM;pe.options=VM;pe.className=rx;pe.defaultOptions=Mi;var XM=require("react/jsx-runtime");var so=require("react/jsx-runtime"),Hp="k-actionsheet-item",ZM=[l.hover,l.focus,l.selected,l.disabled],Op=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,Hp,x(Hp,{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)(y,{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]})};Op.states=ZM;Op.className=Hp;var sx=require("react/jsx-runtime");var JM=require("react/jsx-runtime");var jM=require("react/jsx-runtime");var UM=require("react/jsx-runtime");var Re=require("react/jsx-runtime"),nx="k-dropdownlist",qM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],_M={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Dr={showValue:!0,arrowIconName:"caret-alt-down",size:n.medium,rounded:h.medium,fillMode:b.solid},ie=e=>{let{size:t=Dr.size,rounded:a=Dr.rounded,fillMode:r=Dr.fillMode,arrowIconName:s=Dr.arrowIconName,showValue:i=Dr.showValue,valueIconName:d,prefix:p,suffix:m,value:f,placeholder:v,hover:T,focus:g,valid:A,invalid:N,required:S,loading:B,disabled:L,readonly:P,popup:z,opened:V,adaptive:Ne,adaptiveSettings:qe,adaptiveTitle:Ct,adaptiveSubtitle:yo,adaptiveFilter:Nl,...Cr}=e;return(0,Re.jsxs)(Re.Fragment,{children:[(0,Re.jsxs)(Wt,{...Cr,size:t,rounded:a,fillMode:r,hover:T,focus:g,valid:A,invalid:N,required:S,loading:B,disabled:L,readonly:P,className:o(e.className,nx,{"k-icon-picker":!i&&d}),children:[(0,Re.jsx)(ae,{children:p}),(0,Re.jsx)(ka,{placeholder:v,value:f,showValue:i,valueIconName:d}),(0,Re.jsx)(U,{valid:A,invalid:N,loading:B,disabled:L}),(0,Re.jsx)(_,{loading:B,disabled:L}),(0,Re.jsx)(le,{children:m}),(0,Re.jsx)(c,{className:"k-input-button",icon:s,rounded:null,size:e.size,fillMode:e.fillMode})]}),V&&z&&(0,Re.jsx)(H,{className:"k-list-container k-dropdownlist-popup",children:z}),Ne&&(0,Re.jsx)(pe,{adaptive:!0,...qe,header:(0,Re.jsx)(se,{actionsEnd:(0,Re.jsx)(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Nl,inputValue:f,inputPlaceholder:v,title:Ct,subtitle:yo}),children:(0,Re.jsx)("div",{className:"k-list-container",children:(0,Re.jsxs)(J,{size:"large",children:[(0,Re.jsx)(K,{text:"List item"}),(0,Re.jsx)(K,{text:"List item"}),(0,Re.jsx)(K,{text:"List item"})]})})})]})};ie.states=qM;ie.options=_M;ie.className=nx;ie.defaultOptions=Dr;var $M=require("react/jsx-runtime");var dx=require("react/jsx-runtime");var Wp=require("react/jsx-runtime");var eL=require("react/jsx-runtime");var cx=require("react/jsx-runtime");var px=require("react/jsx-runtime");var Qp=require("react/jsx-runtime");var Vp=require("react/jsx-runtime");var Xp=require("react/jsx-runtime"),Nd="k-radio",tL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked],oL={size:[n.small,n.medium,n.large]},mx={size:n.medium},ga=e=>{let{id:t,checked:a,hover:r,focus:s,disabled:i,invalid:d,valid:p,required:m,size:f=mx.size,...v}=e;return(0,Xp.jsx)("span",{className:"k-radio-wrap",children:(0,Xp.jsx)("input",{...v,id:t,type:"radio",checked:a,required:m,className:o(e.className,Nd,C(Nd,{size:f}),x(Nd,{hover:r,focus:s,disabled:i,invalid:d,valid:p,checked:a}))})})};ga.states=tL;ga.options=oL;ga.className=Nd;ga.defaultOptions=mx;var fx=require("react/jsx-runtime"),ux="k-radio-list",aL=[],lL={},kx={layout:"vertical"},Fr=e=>{let{layout:t=kx.layout,...a}=e;return(0,fx.jsx)("ul",{...a,className:o(e.className,ux,{[`k-list-${t}`]:t}),children:e.children})};Fr.states=aL;Fr.options=lL;Fr.className=ux;Fr.defaultOptions=kx;var gx=require("react/jsx-runtime"),hx="k-radio-list-item",rL=[],sL={},iL={},Rr=e=>{let{...t}=e;return(0,gx.jsx)("li",{...t,className:o(e.className,hx),children:e.children})};Rr.states=rL;Rr.options=sL;Rr.className=hx;Rr.defaultOptions=iL;var nL=require("react/jsx-runtime");var Jp=require("react/jsx-runtime");var jp=require("react/jsx-runtime");var Up=require("react/jsx-runtime");var qp=require("react/jsx-runtime");var _p=require("react/jsx-runtime");var Se=require("react/jsx-runtime"),Cd=({size:e,...t})=>(0,Se.jsx)(ha,{formButtons:(0,Se.jsxs)(Se.Fragment,{children:[(0,Se.jsx)(c,{className:"k-form-submit",themeColor:"primary",size:e,children:"Submit"}),(0,Se.jsx)(c,{className:"k-form-clear",size:e,children:"Clear"})]}),children:(0,Se.jsxs)(Wo,{legend:"Form Legend",children:[(0,Se.jsx)(pt,{label:"Label",editor:(0,Se.jsx)(q,{size:e})}),(0,Se.jsx)(pt,{label:"Label",hint:"Hint text",editor:(0,Se.jsx)(ie,{value:"Dropdown List",size:e})}),(0,Se.jsx)(pt,{label:"City",editor:(0,Se.jsxs)("ul",{className:"k-radio-list k-list-horizontal",children:[(0,Se.jsxs)("li",{className:"k-radio-list-item",children:[(0,Se.jsx)(ga,{checked:!0,size:e}),(0,Se.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,Se.jsxs)("li",{className:"k-radio-list-item",children:[(0,Se.jsx)(ga,{size:e}),(0,Se.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,Se.jsxs)("li",{className:"k-radio-list-item",children:[(0,Se.jsx)(ga,{size:e}),(0,Se.jsx)("label",{className:"k-radio-label",children:"Label"})]})]})})]}),size:e,...t});var $p=require("react/jsx-runtime");var em=require("react/jsx-runtime");var bx=require("react/jsx-runtime"),Li="k-button-group",cL=[l.disabled],pL={fillMode:[b.solid,b.flat,b.outline,b.clear,b.link]},xx={fillMode:b.solid},G=e=>{let{fillMode:t=xx.fillMode,disabled:a,stretched:r,...s}=e;return(0,bx.jsx)("div",{...s,className:o(e.className,Li,C(Li,{fillMode:t}),x(Li,{disabled:a}),{[`${Li}-stretched`]:r}),children:e.children})};G.states=cL;G.options=pL;G.className=Li;G.defaultOptions=xx;var tm=require("react/jsx-runtime");var om=require("react/jsx-runtime");var am=require("react/jsx-runtime");var lm=require("react/jsx-runtime");var Ol=require("react/jsx-runtime"),vx="k-menu-button",mL=[l.hover,l.focus,l.active,l.selected,l.disabled],uL={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Hl={size:n.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,showArrow:!0,arrowIconName:"caret-alt-down"},ee=e=>{let{size:t=Hl.size,rounded:a=Hl.rounded,fillMode:r=Hl.fillMode,themeColor:s=Hl.themeColor,hover:i,focus:d,active:p,selected:m,disabled:f,icon:v,text:T,showArrow:g=Hl.showArrow,arrowIconName:A=Hl.arrowIconName,popup:N,opened:S,...B}=e;return(0,Ol.jsxs)(Ol.Fragment,{children:[(0,Ol.jsx)(c,{...B,className:o(e.className,vx),text:T,size:t,rounded:a,fillMode:r,themeColor:s,hover:i,focus:d,active:p,selected:m,disabled:f,icon:v,showArrow:g,arrowIconName:A}),S&&N&&(0,Ol.jsx)(H,{className:"k-menu-popup",children:N})]})};ee.states=mL;ee.options=uL;ee.className=vx;ee.defaultOptions=Hl;var kL=require("react/jsx-runtime");var fL=require("react/jsx-runtime");var hL=require("react/jsx-runtime");var io=require("react/jsx-runtime"),sm="k-menu-item",gL=[l.hover,l.focus,l.active,l.selected,l.disabled],xL={},yx={iconPosition:"before"},mt=e=>{let{hover:t,focus:a,active:r,selected:s,disabled:i,icon:d,text:p,first:m,last:f,showArrow:v,arrowIconName:T,iconPosition:g=yx.iconPosition,dir:A,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=T;return L||(L=A==="rtl"?"caret-alt-left":"caret-alt-right"),(0,io.jsxs)("li",{...S,className:o(e.className,sm,"k-item",x(sm,{focus:a,disabled:i,hover:t,active:r,selected:s}),{"k-first":m,"k-last":f}),children:[(0,io.jsxs)("span",{className:o("k-link k-menu-link"),children:[d&&g==="before"&&(0,io.jsx)(y,{className:"k-menu-link-icon",icon:d}),(0,io.jsx)("span",{className:"k-menu-link-text",children:p}),d&&g==="after"&&(0,io.jsx)(y,{className:"k-menu-link-icon",icon:d}),v&&(0,io.jsx)("span",{className:"k-menu-expand-arrow",children:(0,io.jsx)(y,{icon:L})})]}),B]})};mt.states=gL;mt.options=xL;mt.className=sm;mt.defaultOptions=yx;var no=require("react/jsx-runtime"),im="k-menu-item",bL=[l.hover,l.focus,l.active,l.selected,l.disabled],vL={},nm={dir:"ltr",iconPosition:"before"},So=e=>{let{hover:t,focus:a,active:r,selected:s,disabled:i,icon:d,text:p,first:m,last:f,showArrow:v,arrowIconName:T,iconPosition:g=nm.iconPosition,dir:A=nm.dir,children:N,popup:S,...B}=e,L=(0,no.jsx)(no.Fragment,{});N&&N.forEach(z=>{if(z.type==="MenuListItemContent"){L.props.children.push(z);return}});let P=T;return P||(P=A==="rtl"?"caret-alt-left":"caret-alt-right"),(0,no.jsxs)("li",{...B,className:o(e.className,im,"k-item",x(im,{focus:a,disabled:i}),{"k-first":m,"k-last":f}),children:[(0,no.jsxs)("span",{className:o("k-link k-menu-link",x("k-menu-link",{hover:t,active:r,selected:s,disabled:i})),children:[d&&g==="before"&&(0,no.jsx)(y,{className:"k-menu-link-icon",icon:d}),(0,no.jsx)("span",{className:"k-menu-link-text",children:p}),d&&g==="after"&&(0,no.jsx)(y,{className:"k-menu-link-icon",icon:d}),v&&(0,no.jsx)("span",{className:"k-menu-expand-arrow",children:(0,no.jsx)(y,{icon:P})})]}),L,S]})};So.states=bL;So.options=vL;So.className=im;So.defaultOptions=nm;var Ax=require("react/jsx-runtime"),wx="k-menu-scroll-wrapper",yL=[],wL={},TL={},Ei=e=>{let{className:t,children:a,orientation:r,...s}=e;return(0,Ax.jsx)("div",{...s,className:o(t,wx,{"k-menu-scroll-wrapper-vertical":r==="vertical"}),children:a})};Ei.states=yL;Ei.options=wL;Ei.className=wx;Ei.defaultOptions=TL;var Tx=Ei;var ut=require("react/jsx-runtime"),dm="k-menu",AL=[],NL={},Sd={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Io=e=>{let{children:t,orientation:a=Sd.orientation,header:r=Sd.header,scrollable:s,scrollButtonsPosition:i=Sd.scrollButtonsPosition,wrapperStyles:d,dir:p,popup:m,...f}=e,v={horizontal:{prev:p!=="rtl"?"left":"right",next:p!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},T=(0,ut.jsx)("ul",{dir:p,...f,className:o(e.className,"k-reset",dm,{[`${dm}-${a}`]:a,"k-header":r}),children:t});return(0,ut.jsxs)(ut.Fragment,{children:[s?(0,ut.jsxs)(Tx,{orientation:a,style:d,dir:e.dir,children:[i==="start"&&(0,ut.jsxs)(ut.Fragment,{children:[(0,ut.jsx)(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${v[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),(0,ut.jsx)(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${v[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),i==="around"&&(0,ut.jsx)(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${v[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),T,i==="end"&&(0,ut.jsxs)(ut.Fragment,{children:[(0,ut.jsx)(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${v[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),(0,ut.jsx)(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${v[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),i==="around"&&(0,ut.jsx)(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${v[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}):T,m]})};Io.states=AL;Io.options=NL;Io.className=dm;Io.defaultOptions=Sd;var Cx=require("react/jsx-runtime"),cm="k-separator",Nx={orientation:"horizontal"},Yi=e=>{let{orientation:t=Nx.orientation,...a}=e;return(0,Cx.jsx)("li",{...a,className:o(e.className,"k-item",cm,{[`${cm}-${t}`]:t})})};Yi.className=cm;Yi.defaultOptions=Nx;var Sx=require("react/jsx-runtime");var um=require("react/jsx-runtime"),Ix=require("react"),pm="k-menu-group",CL=[],SL={size:[n.small,n.medium,n.large]},mm={size:n.medium,dir:"ltr"},xa=e=>{let{children:t,size:a=mm.size,dir:r=mm.dir,...s}=e,i=[];return t&&Array.isArray(t)&&t.map((d,p)=>{d.type===So?i.push((0,Ix.createElement)(So,{...d.props,dir:r,key:p})):d.type===Yi?i.push((0,um.jsx)(Yi,{})):i.push(d)}),(0,um.jsx)("ul",{...s,className:o(e.className,pm,C(pm,{size:a})),children:i})};xa.states=CL;xa.options=SL;xa.className=pm;xa.defaultOptions=mm;var km=require("react/jsx-runtime");var fm=require("react/jsx-runtime");var hm=require("react/jsx-runtime");var gm=require("react/jsx-runtime");var xm=require("react/jsx-runtime");var Bx=require("react/jsx-runtime");var ba=require("react/jsx-runtime"),bm="k-split-button",IL=[l.hover,l.focus,l.active,l.selected,l.disabled],BL={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},zr={size:n.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,arrowIconName:"caret-alt-down"},We=e=>{let{size:t=zr.size,rounded:a=zr.rounded,fillMode:r=zr.fillMode,themeColor:s=zr.themeColor,hover:i,focus:d,active:p,selected:m,disabled:f,icon:v,text:T,arrowIconName:g=zr.arrowIconName,popup:A,opened:N,...S}=e;return(0,ba.jsxs)(ba.Fragment,{children:[(0,ba.jsxs)("div",{...S,className:o(e.className,bm,"k-button-group",C(bm,{rounded:a})),children:[(0,ba.jsx)(c,{text:T,icon:v,size:t,rounded:a,fillMode:r,themeColor:s,hover:i,focus:d,active:p,selected:m,disabled:f,children:e.children}),(0,ba.jsx)(c,{