UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

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