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