@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 296 kB
JavaScript
var LI=Object.create;var xd=Object.defineProperty;var EI=Object.getOwnPropertyDescriptor;var YI=Object.getOwnPropertyNames;var PI=Object.getPrototypeOf,GI=Object.prototype.hasOwnProperty;var KI=(e,t)=>{for(var a in t)xd(e,a,{get:t[a],enumerable:!0})},og=(e,t,a,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of YI(t))!GI.call(e,s)&&s!==a&&xd(e,s,{get:()=>t[s],enumerable:!(r=EI(t,s))||r.enumerable});return e};var ag=(e,t,a)=>(a=e!=null?LI(PI(e)):{},og(t||!e||!e.__esModule?xd(a,"default",{value:e,enumerable:!0}):a,e)),DI=e=>og(xd({},"__esModule",{value:!0}),e);var jH={};KI(jH,{DATETIMEPICKER_CLASSNAME:()=>tg,DateTimePicker:()=>xi,default:()=>$d});module.exports=DI(jH);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"}),v=(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 d={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"},Ot={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var lg=require("react/jsx-runtime"),bd="k-input",FI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],RI={size:[d.small,d.medium,d.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},vd={size:d.medium,rounded:d.medium,fillMode:b.solid},M=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:c,size:m=vd.size,rounded:k=vd.rounded,fillMode:y=vd.fillMode,...T}=e;return(0,lg.jsx)("span",{...T,className:o(e.className,bd,C(bd,{size:m,rounded:k,fillMode:y}),v(bd,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:c}))})};M.states=FI;M.options=RI;M.className=bd;M.defaultOptions=vd;var rg=require("react/jsx-runtime"),yd="k-picker",zI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],HI={size:[d.small,d.medium,d.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},wd={size:d.medium,rounded:h.medium,fillMode:b.solid},Wt=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:c,size:m=wd.size,rounded:k=wd.rounded,fillMode:y=wd.fillMode,...T}=e;return(0,rg.jsx)("span",{...T,className:o(e.className,yd,C(yd,{size:m,rounded:k,fillMode:y}),v(yd,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:c})),children:e.children})};Wt.states=zI;Wt.options=HI;Wt.className=yd;Wt.defaultOptions=wd;var bi=require("react/jsx-runtime"),mp="k-icon k-font-icon",OI=[],WI={size:[d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},QI={},vi=e=>{let{size:t,themeColor:a,icon:r,rotate:s,flip:i,...n}=e;return r?(0,bi.jsx)("span",{...n,className:o(e.className,mp,C(mp,{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,bi.jsx)(bi.Fragment,{})};vi.states=OI;vi.options=WI;vi.className=mp;vi.defaultOptions=QI;var sg=vi;var El=require("react/jsx-runtime"),up="k-icon k-svg-icon",VI=[],XI={size:[d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},ig={viewBox:"0 0 24 24"},yi=e=>{let{size:t,themeColor:a,rotate:r,flip:s,viewBox:i=ig.viewBox,icon:n,...c}=e;if(!n)return(0,El.jsx)(El.Fragment,{});n==="none"&&{...c,className:o(e.className,up,"k-none")};let m=typeof n=="object"&&n.name&&n.name;return(0,El.jsx)("span",{...c,className:o(e.className,up,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,El.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof n=="object"?n.viewBox:i,dangerouslySetInnerHTML:typeof n=="object"?{__html:n.content}:void 0,children:n?void 0:e.children})})};yi.states=VI;yi.options=XI;yi.className=up;yi.defaultOptions=ig;var kp=yi;var ng=ag(require("@progress/kendo-svg-icons")),xa=require("react/jsx-runtime"),ZI=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),JI=[],jI={size:[d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},fp={viewBox:"0 0 24 24",type:"svg"},x=e=>{let{size:t,themeColor:a,icon:r,type:s=fp.type,rotate:i,flip:n,viewBox:c=fp.viewBox,...m}=e;if(!r)return(0,xa.jsx)(xa.Fragment,{});if(s==="svg"){if(r==="none")return(0,xa.jsx)(kp,{...m,icon:r,size:t});let k=ZI(`${r}-icon`);return ng[k]?(0,xa.jsx)(kp,{...m,icon:ng[k],size:t,themeColor:a,rotate:i,flip:n,viewBox:c}):(0,xa.jsx)(xa.Fragment,{})}return(0,xa.jsx)(sg,{...m,icon:r,size:t,themeColor:a,rotate:i,flip:n})};x.states=JI;x.options=jI;x.defaultOptions=fp;var hp=x;var Er=require("react/jsx-runtime"),dg="k-clear-value",UI=[l.disabled,l.loading,l.readonly],qI={},re=e=>{let{disabled:t,loading:a,readonly:r,value:s}=e;return t||r||a||!s?(0,Er.jsx)(Er.Fragment,{}):(0,Er.jsx)("span",{className:o(e.className,dg),children:(0,Er.jsx)(x,{icon:"x"})})};re.states=UI;re.options=qI;re.className=dg;var cg=require("react/jsx-runtime"),gp="k-input-inner",_I=[],$I={},Td={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=Td.value,type:a=Td.type,placeholder:r=Td.placeholder,autocomplete:s=Td.autocomplete,...i}=e;return(0,cg.jsx)("input",{...i,type:a,className:o(e.className,gp,C(gp,e)),placeholder:r,autoComplete:s,defaultValue:t})};ce.states=_I;ce.options=$I;ce.className=gp;var wi=require("react/jsx-runtime"),xp="k-input-inner",eB=[],tB={},ba=e=>{let{value:t,placeholder:a,showValue:r,valueIcon:s,valueIconName:i,...n}=e;return(0,wi.jsxs)("span",{...n,className:o(e.className,xp,C(xp,e)),children:[s,!s&&i&&(0,wi.jsx)(x,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&(0,wi.jsx)("span",{className:"k-input-value-text",children:t})]})};ba.states=eB;ba.options=tB;ba.className=xp;var mg=require("react/jsx-runtime"),bp="k-input-inner",oB=[],aB={},pg={value:"",placeholder:""},Ti=e=>{let{value:t=pg.value,placeholder:a=pg.placeholder,rows:r,...s}=e;return(0,mg.jsx)("textarea",{...s,className:o(e.className,bp,C(bp,e)),placeholder:a,rows:r,defaultValue:t})};Ti.states=oB;Ti.options=aB;Ti.className=bp;var Ai=require("react/jsx-runtime"),ug="k-input-loading-icon",lB=[l.disabled,l.loading],_=e=>{let{disabled:t,loading:a}=e;return t||!a?(0,Ai.jsx)(Ai.Fragment,{}):(0,Ai.jsx)("span",{className:o(e.className,ug,"k-icon k-i-loading")})};_.states=lB;_.className=ug;var Ni=require("react/jsx-runtime"),kg="k-input-validation-icon",rB=[l.valid,l.invalid,l.disabled,l.loading],sB={},U=e=>{let{valid:t,invalid:a,disabled:r,loading:s}=e,i=a?"warning-circle":"check-circle";return r||s||!!!(t||a)?(0,Ni.jsx)(Ni.Fragment,{}):(0,Ni.jsx)(x,{className:o(kg),icon:i})};U.states=rB;U.options=sB;U.className=kg;var Ci=require("react/jsx-runtime"),iB="k-input-prefix",nB={direction:"horizontal"},ae=e=>{let{direction:t=nB.direction,...a}=e;return e.children?(0,Ci.jsx)("span",{...a,className:o(iB,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Ci.jsx)(Ci.Fragment,{})};var Si=require("react/jsx-runtime"),dB="k-input-suffix",cB={direction:"horizontal"},le=e=>{let{direction:t=cB.direction,...a}=e;return e.children?(0,Si.jsx)("span",{...a,className:o(dB,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Si.jsx)(Si.Fragment,{})};var pB=require("react/jsx-runtime");var mB=require("react/jsx-runtime");var hg=require("react/jsx-runtime"),fg="k-input-separator",uB={direction:"vertical"},Ce=e=>{let{direction:t=uB.direction,...a}=e;return(0,hg.jsx)("span",{...a,className:o(fg,e.className,{[`${fg}-${t}`]:t})})};var wo=require("react/jsx-runtime"),Ad="k-button",kB=[l.hover,l.focus,l.active,l.selected,l.disabled],fB={size:[d.small,d.medium,d.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]},Yl={size:d.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},p=e=>{let{size:t=Yl.size,rounded:a=Yl.rounded,fillMode:r=Yl.fillMode,themeColor:s=Yl.themeColor,showArrow:i=Yl.showArrow,arrowIconName:n=Yl.arrowIconName,hover:c,focus:m,active:k,selected:y,disabled:T,icon:g,text:A,iconClassName:N,...S}=e,B=g!==void 0,L=e.children!==void 0;return(0,wo.jsxs)("button",{...S,className:o(e.className,Ad,C(Ad,{size:t,rounded:a,fillMode:r,themeColor:s}),v(Ad,{hover:c,focus:m,active:k,disabled:T,selected:y}),{"k-icon-button":!A&&!L&&B}),children:[g&&(0,wo.jsx)(x,{className:o(N,"k-button-icon"),icon:g}),A?(0,wo.jsxs)(wo.Fragment,{children:[A&&(0,wo.jsx)("span",{className:"k-button-text",children:A}),e.children]}):e.children&&(0,wo.jsx)("span",{className:"k-button-text",children:e.children}),i&&(0,wo.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,wo.jsx)(x,{icon:n})})]})};p.states=kB;p.options=fB;p.className=Ad;p.defaultOptions=Yl;var gg=require("react/jsx-runtime"),He=e=>(0,gg.jsx)(p,{icon:"folder",...e,children:void 0});var xg=require("react/jsx-runtime"),To=e=>(0,xg.jsx)(p,{icon:"folder",children:"Button",...e});var hB=require("react/jsx-runtime");var vp=require("react/jsx-runtime"),bg="k-animation-container",gB=[],xB={},vg={positionMode:"absolute"},Fa=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})})};Fa.states=gB;Fa.options=xB;Fa.className=bg;Fa.defaultOptions=vg;var yp=require("react/jsx-runtime"),yg="k-popup",bB=[],vB={},wg={positionMode:"absolute"},H=e=>{let{offset:t,positionMode:a=wg.positionMode,animationStyle:r,...s}=e;return(0,yp.jsx)(Fa,{positionMode:a,offset:t,animationStyle:r,children:(0,yp.jsx)("div",{...s,className:o(e.className,yg),children:e.children})})};H.states=bB;H.options=vB;H.className=yg;H.defaultOptions=wg;var Ag=require("react/jsx-runtime"),Nd="k-actions",yB=[],wB={},wp={alignment:"start",orientation:"horizontal"},Z=e=>{let{alignment:t=wp.alignment,orientation:a=wp.orientation,...r}=e;return(0,Ag.jsx)("div",{...r,className:o(Nd,{[`${Nd}-${t}`]:t,[`${Nd}-${a}`]:a},e.className),children:e.children})};Z.states=yB;Z.options=wB;Z.className=Nd;Z.defaultOptions=wp;var Tg=Z;var Cg=require("react/jsx-runtime"),Ii="k-button-group",TB=[l.disabled],AB={fillMode:[b.solid,b.flat,b.outline,b.clear,b.link]},Ng={fillMode:b.solid},G=e=>{let{fillMode:t=Ng.fillMode,disabled:a,stretched:r,...s}=e;return(0,Cg.jsx)("div",{...s,className:o(e.className,Ii,C(Ii,{fillMode:t}),v(Ii,{disabled:a}),{[`${Ii}-stretched`]:r}),children:e.children})};G.states=TB;G.options=AB;G.className=Ii;G.defaultOptions=Ng;var Tp=require("react/jsx-runtime");var Ap=require("react/jsx-runtime");var Np=require("react/jsx-runtime");var Cp=require("react/jsx-runtime");var Pr=require("react/jsx-runtime"),Sp="k-calendar",NB=[],CB={size:[d.small,d.medium,d.large]},Yr={size:d.medium,showCalendarHeader:!0,orientation:"horizontal",calendarView:"month",calendarTitleText:"October 2021"},Qt=e=>{let{size:t=Yr.size,orientation:a=Yr.orientation,calendarView:r=Yr.calendarView,calendarTitleText:s=Yr.calendarTitleText,showCalendarHeader:i=Yr.showCalendarHeader,showWeek:n,showCalendarFooter:c,calendarFooterText:m,dir:k,...y}=e;return(0,Pr.jsxs)("div",{...y,dir:k,className:o(e.className,Sp,C(Sp,{size:t}),{"k-week-number":n}),children:[i&&(0,Pr.jsx)(Pl,{calendarView:r,showToday:!c,calendarTitleText:s,orientation:a,size:t,dir:k}),(0,Pr.jsx)(Cd,{calendarView:r,orientation:a,children:e.children}),c&&(0,Pr.jsx)(Bi,{calendarFooterText:m,size:t})]})};Qt.states=NB;Qt.options=CB;Qt.className=Sp;Qt.defaultOptions=Yr;var Fo=require("react/jsx-runtime"),SB=[l.hover,l.focus,l.active,l.selected,l.disabled],w=e=>{let{text:t,headerCell:a,today:r,weekend:s,showOtherMonth:i,weekCell:n,rangeStart:c,rangeMid:m,rangeEnd:k,dayIndicator:y,empty:T,hover:g,focus:A,active:N,selected:S,disabled:B,...L}=e,z=`k-calendar-${a?"th":"td"}`,X=[e.className,z,v(z,{hover:g,focus:A,active:N,selected:S,disabled:B}),{"k-today":r,"k-weekend":s,"k-other-month":i,"k-alt":n,"k-range-start":c,"k-range-mid":m,"k-range-end":k,"k-empty":T}];return a?(0,Fo.jsx)("th",{...L,className:o(X),children:t}):n?(0,Fo.jsx)("td",{...L,className:o(X),children:t}):(0,Fo.jsx)("td",{...L,className:o(X),children:T&&!i?(0,Fo.jsx)(Fo.Fragment,{children:"\xA0"}):(0,Fo.jsxs)("span",{className:"k-link",children:[t,y&&(0,Fo.jsx)("span",{className:"k-day-indicator"})]})})};w.states=SB;var va=require("react/jsx-runtime"),Sg="k-calendar-header",IB={size:[d.small,d.medium,d.large]},Gr={calendarTitleText:"October 2021",showToday:!0,showNavigationButtons:!0,orientation:"horizontal",size:d.medium},Pl=e=>{let{calendarTitleText:t=Gr.calendarTitleText,showToday:a=Gr.showToday,showNavigationButtons:r=Gr.showNavigationButtons,orientation:s=Gr.orientation,size:i=Gr.size,calendarView:n,dir:c,...m}=e,k=c==="rtl"?"chevron-right":"chevron-left",y=c==="rtl"?"chevron-left":"chevron-right";return(0,va.jsxs)("div",{...m,className:o(e.className,Sg,{"k-vstack":s==="vertical"}),children:[(0,va.jsx)(p,{disabled:n==="century",className:"k-calendar-title",text:t,size:i,fillMode:"flat",themeColor:"primary"}),(0,va.jsx)("span",{className:"k-spacer"}),(0,va.jsxs)("span",{className:"k-calendar-nav",children:[r&&(0,va.jsx)(p,{className:"k-calendar-nav-prev",icon:k,size:i,fillMode:"flat"}),a&&(0,va.jsx)(p,{size:i,fillMode:"flat",className:"k-calendar-nav-today",children:"Today"}),r&&(0,va.jsx)(p,{className:"k-calendar-nav-next",icon:y,size:i,fillMode:"flat"})]})]})};Pl.options=IB;Pl.className=Sg;Pl.defaultOptions=Gr;var Bp=require("react/jsx-runtime"),Ig="k-calendar-footer",BB={size:[d.small,d.medium,d.large]},Ip={size:d.medium,calendarFooterText:"Tuesday, October 12, 2021"},Bi=e=>{let{size:t=Ip.size,calendarFooterText:a=Ip.calendarFooterText,...r}=e;return(0,Bp.jsx)("div",{...r,className:o(e.className,Ig),children:(0,Bp.jsx)(p,{size:t,fillMode:"flat",themeColor:"primary",className:"k-calendar-nav-today",children:a})})};Bi.options=BB;Bi.className=Ig;Bi.defaultOptions=Ip;var Mg=require("react/jsx-runtime"),MB=[],LB={},Bg=e=>{let{type:t,...a}=e,r=t==="p"?"paragraph":t,s=t.includes("display")?"div":t;return(0,Mg.jsx)(s,{...a,className:o(e.className,{[`k-${r}`]:t}),children:e.children})};Bg.states=MB;Bg.options=LB;var Lg=require("react/jsx-runtime"),EB="k-no-data",Mi=e=>(0,Lg.jsx)("span",{className:o(EB,e.className),children:e.children});var Ro=require("react/jsx-runtime"),Mp="k-list",YB=[],PB={size:[d.small,d.medium,d.large]},Eg={size:d.medium},J=e=>{let{size:t=Eg.size,virtualization:a,children:r,optionLabel:s,customValue:i,screenReaders:n,...c}=e,m,k,y,T,g=[];return r?r.map((A,N)=>{A.type===Be?(A.props.root===!0?(m=A.props.label,A.props.children.map((S,B)=>{g.push((0,Ro.jsx)(K,{...S.props},`optChild-${B}-${new Date().getTime()}`))})):A.props.children.forEach((S,B)=>{let L="";B===0&&(L=A.props.label),g.push((0,Ro.jsx)(K,{className:B===0?"k-first":"",...S.props,groupLabel:L},`groupLabel-${B}-${new Date().getTime()}`))}),k=(0,Ro.jsx)(Be,{label:m,virtualization:a,children:g})):A.type===K&&(g.push((0,Ro.jsx)(K,{...A.props},`${A.type}-${N}`)),y=(0,Ro.jsx)(Kr,{virtualization:a,children:g}),n&&(T=(0,Ro.jsxs)(Mi,{className:"k-sr-only",children:[g.length," items found."]})))}):T=(0,Ro.jsx)(Mi,{children:"No data found."}),(0,Ro.jsxs)("div",{...c,className:o(e.className,Mp,C(Mp,{size:t}),{"k-virtual-list":a}),children:[s,i,k,y,T]})};J.states=YB;J.options=PB;J.className=Mp;J.defaultOptions=Eg;var zo=require("react/jsx-runtime"),Lp="k-list",GB=[],KB={size:[d.small,d.medium,d.large]},Yg={size:d.medium},Gl=e=>{let{size:t=Yg.size,virtualization:a,children:r,...s}=e,i,n,c,m=[];return r?r.map((k,y)=>{k.type===Be?(k.props.root===!0?(i=k.props.label,k.props.children.map((T,g)=>{m.push((0,zo.jsx)(K,{...T.props},`optChild-${g}-${new Date().getTime()}`))})):(m.push((0,zo.jsx)(Pg,{...k.props,children:k.props.label},`listChild-${y}`)),k.props.children.map((T,g)=>{m.push((0,zo.jsx)(K,{...T.props},`fwOptChild-${g}-${new Date().getTime()}`))})),n=(0,zo.jsx)(Be,{label:i,virtualization:a,children:m})):k.type===K&&(m.push((0,zo.jsx)(K,{...k.props},`${k.type}-${y}`)),c=(0,zo.jsx)(Kr,{virtualization:a,children:m}))}):c=(0,zo.jsx)(Mi,{children:"No data found."}),(0,zo.jsxs)("div",{...s,className:o(e.className,Lp,C(Lp,{size:t}),{"k-virtual-list":a}),children:[n,c]})};Gl.states=GB;Gl.options=KB;Gl.className=Lp;Gl.defaultOptions=Yg;var Yp=require("react/jsx-runtime"),Sd="k-checkbox",DB=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],FB={size:[d.small,d.medium,d.large],rounded:[h.small,h.medium,h.large,h.full]},Ep={size:d.medium,rounded:h.medium},ct=e=>{let{id:t,checked:a,indeterminate:r,hover:s,focus:i,disabled:n,invalid:c,valid:m,required:k,size:y=Ep.size,rounded:T=Ep.rounded,...g}=e;return(0,Yp.jsx)("span",{className:"k-checkbox-wrap",children:(0,Yp.jsx)("input",{...g,id:t,type:"checkbox",defaultChecked:a,required:k,className:o(e.className,Sd,C(Sd,{size:y,rounded:T}),v(Sd,{hover:s,focus:i,disabled:n,invalid:c,valid:m,indeterminate:r,checked:a}))})})};ct.states=DB;ct.options=FB;ct.className=Sd;ct.defaultOptions=Ep;var Dg=require("react/jsx-runtime"),Gg="k-checkbox-list",RB=[],zB={},Kg={layout:"vertical"},Dr=e=>{let{layout:t=Kg.layout,...a}=e;return(0,Dg.jsx)("ul",{...a,className:o(e.className,Gg,{[`k-list-${t}`]:t}),children:e.children})};Dr.states=RB;Dr.options=zB;Dr.className=Gg;Dr.defaultOptions=Kg;var Rg=require("react/jsx-runtime"),Fg="k-checkbox-list-item",HB=[],OB={},WB={},Fr=e=>{let{...t}=e;return(0,Rg.jsx)("li",{...t,className:o(e.className,Fg),children:e.children})};Fr.states=HB;Fr.options=OB;Fr.className=Fg;Fr.defaultOptions=WB;var Gp=require("react/jsx-runtime");var Kp=require("react/jsx-runtime");var Dp=require("react/jsx-runtime");var Fp=require("react/jsx-runtime");var QB=require("react/jsx-runtime");var VB=require("react/jsx-runtime");var Kl=require("react/jsx-runtime"),Rp="k-list-item",XB=[l.hover,l.focus,l.selected,l.disabled],ZB={},JB={},K=e=>{let{text:t,groupLabel:a,group:r,showIcon:s,iconName:i,showCheckbox:n,checked:c,hover:m,focus:k,selected:y,disabled:T,...g}=e,A=t||e.children;return(0,Kl.jsxs)("li",{...g,className:o(e.className,r?"k-list-group-item":Rp,v(Rp,{hover:m,focus:k,disabled:T,selected:y})),children:[n&&(0,Kl.jsx)(ct,{checked:c}),s&&(0,Kl.jsx)(x,{icon:i}),(0,Kl.jsx)("span",{className:"k-list-item-text",children:A}),a&&a!==""&&(0,Kl.jsx)("div",{className:"k-list-item-group-label",children:a})]})};K.states=XB;K.options=ZB;K.className=Rp;K.defaultOptions=JB;var Rr=require("react/jsx-runtime"),jB="k-list-content",Kr=e=>{let{virtualization:t,...a}=e;return(0,Rr.jsxs)("div",{...a,className:o(jB,e.className),children:[(0,Rr.jsx)("ul",{className:o("k-list-ul"),children:e.children}),t&&(0,Rr.jsx)("div",{className:"k-height-container",children:(0,Rr.jsx)("div",{})})]})};var zp=require("react/jsx-runtime"),UB="k-list-group-sticky-header",zg=e=>(0,zp.jsx)("div",{className:o(UB,e.className),children:(0,zp.jsx)("div",{className:"k-list-header-text",children:e.children})});var Dl=require("react/jsx-runtime"),Be=e=>{let{virtualization:t,label:a}=e;return(0,Dl.jsxs)(Dl.Fragment,{children:[a&&(0,Dl.jsx)(zg,{children:a}),e.children&&(0,Dl.jsx)(Kr,{virtualization:t,children:e.children})]})};var Hp=require("react/jsx-runtime"),qB="k-list-group-item",Pg=e=>(0,Hp.jsx)("li",{className:o(qB,e.className),children:(0,Hp.jsx)("span",{className:"k-list-item-text",children:e.children})});var Hg=require("react/jsx-runtime"),Op="k-list-optionlabel",_B=[l.hover,l.focus,l.selected,l.disabled],$B={},eM={},Id=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...n}=e;return(0,Hg.jsx)("div",{...n,className:o(Op,v(Op,{hover:a,focus:r,selected:s,disabled:i})),children:t})};Id.states=_B;Id.options=$B;Id.className=Op;Id.defaultOptions=eM;var Og=require("react/jsx-runtime"),Wp="k-list-custom-value",tM=[l.hover,l.focus,l.selected,l.disabled],oM={},aM={},xt=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...n}=e;return(0,Og.jsx)("div",{...n,className:o(Wp,v(Wp,{hover:a,focus:r,selected:s,disabled:i})),children:t})};xt.states=tM;xt.options=oM;xt.className=Wp;xt.defaultOptions=aM;var lM=require("react/jsx-runtime");var rM=require("react/jsx-runtime");var Wg=require("react/jsx-runtime");var Qg=require("react/jsx-runtime");var sM=require("react/jsx-runtime");var Vg=require("react/jsx-runtime");var Xg=require("react/jsx-runtime");var zr=require("react/jsx-runtime"),Zg="k-suggestion-group",iM=[],nM={},Jg={scrollable:!0},Fl=e=>{let{scrollable:t=Jg.scrollable,...a}=e,r=(0,zr.jsx)("div",{...a,className:o(Zg,e.className),children:e.children});return t?(0,zr.jsxs)("div",{className:"k-suggestion-scrollwrap",children:[(0,zr.jsx)(p,{icon:"chevron-left"}),r,(0,zr.jsx)(p,{icon:"chevron-right"})]}):r};Fl.states=iM;Fl.options=nM;Fl.className=Zg;Fl.defaultOptions=Jg;var jg=require("react/jsx-runtime"),Bd="k-suggestion",dM=[l.active,l.hover,l.focus],cM={themeColor:[u.base,u.primary,u.secondary]},pM={text:"Suggestion"},Rl=e=>{let{themeColor:t,active:a,hover:r,focus:s,text:i,...n}=e;return(0,jg.jsx)("span",{...n,className:o(e.className,Bd,v(Bd,{hover:r,active:a,focus:s}),C(Bd,{themeColor:t})),children:i})};Rl.states=dM;Rl.options=cM;Rl.className=Bd;Rl.item=pM;var Qp=require("react/jsx-runtime");var Vp=require("react/jsx-runtime");var Xp=require("react/jsx-runtime"),Li="k-avatar";var mM=[l.hover,l.focus,l.active,l.selected,l.disabled],uM={size:[d.small,d.medium,d.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]},zl={type:"text",size:d.medium,rounded:h.full,fillMode:b.solid,themeColor:u.primary,border:!1},Ho=e=>{let{size:t=zl.size,rounded:a=zl.rounded,fillMode:r=zl.fillMode,themeColor:s=zl.themeColor,type:i=zl.type,border:n=zl.border,...c}=e;return(0,Xp.jsx)("div",{...c,className:o(e.className,Li,C(Li,{size:t,rounded:a,fillMode:r,themeColor:s}),{[`${Li}-bordered`]:n}),children:(0,Xp.jsx)("span",{className:`${Li}-${i}`,children:e.children})})};Ho.states=mM;Ho.options=uM;Ho.className=Li;Ho.defaultOptions=zl;var kM=require("react/jsx-runtime");var fM=require("react/jsx-runtime");var hM=require("react/jsx-runtime");var qg=require("react/jsx-runtime"),Ei="k-badge",gM=[],xM={size:[d.small,d.medium,d.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]},Yi={size:d.medium,fillMode:b.solid,themeColor:u.primary,cutoutBorder:!1},Hr=e=>{let{size:t=Yi.size,fillMode:a=Yi.fillMode,themeColor:r=Yi.themeColor,cutoutBorder:s=Yi.cutoutBorder,rounded:i,position:n,align:c,...m}=e;return(0,qg.jsx)("span",{...m,className:o(e.className,Ei,C(Ei,{size:t,rounded:i,fillMode:a,themeColor:r}),{[`${Ei}-${n}`]:n,[`k-${c}`]:c,[`${Ei}-border-cutout`]:s}),children:e.children})};Hr.states=gM;Hr.options=xM;Hr.className=Ei;Hr.defaultOptions=Yi;var bM=require("react/jsx-runtime");var vM=require("react/jsx-runtime");var yM=require("react/jsx-runtime");var ya=require("react/jsx-runtime"),Md="k-chip",wM=[l.hover,l.focus,l.active,l.selected,l.disabled],TM={size:[d.small,d.medium,d.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]},Or={size:d.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,avatarImage:"/packages/html/assets/avatar.jpg"},Ao=e=>{let{size:t=Or.size,rounded:a=Or.rounded,fillMode:r=Or.fillMode,themeColor:s=Or.themeColor,text:i,icon:n,actions:c,showAvatar:m,avatarImage:k=Or.avatarImage,hover:y,focus:T,active:g,selected:A,disabled:N,...S}=e;return(0,ya.jsxs)("div",{...S,className:o(e.className,Md,C(Md,{size:t,rounded:a,fillMode:r,themeColor:s}),v(Md,{hover:y,focus:T,active:g,disabled:N,selected:A})),children:[n&&(0,ya.jsx)(x,{className:"k-chip-icon",icon:n,size:"small"}),m&&(0,ya.jsx)(Ho,{className:"k-chip-avatar",type:"image",children:(0,ya.jsx)("img",{src:k})}),(0,ya.jsx)("span",{className:"k-chip-content",children:e.children?e.children:i&&(0,ya.jsx)("span",{className:"k-chip-label",children:i})}),c&&(0,ya.jsx)("span",{className:"k-chip-actions",children:c})]})};Ao.states=wM;Ao.options=TM;Ao.className=Md;Ao.defaultOptions=Or;var $g=require("react/jsx-runtime"),Zp="k-chip-list",AM=[],NM={size:[d.small,d.medium,d.large]},_g={size:d.medium},No=e=>{let{size:t=_g.size,...a}=e;return(0,$g.jsx)("div",{...a,className:o(e.className,Zp,C(Zp,{size:t})),children:e.children})};No.states=AM;No.options=NM;No.className=Zp;No.defaultOptions=_g;var CM=require("react/jsx-runtime");var SM=require("react/jsx-runtime");var IM=require("react/jsx-runtime");var BM=require("react/jsx-runtime");var Jp=require("react/jsx-runtime");var Pi=require("react/jsx-runtime"),ex="k-color-preview",MM=[],LM={},Ra=e=>{let{color:t,iconName:a,...r}=e;return(0,Pi.jsxs)("span",{...r,className:o(e.className,ex,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&(0,Pi.jsx)(x,{icon:a,className:"k-color-preview-icon"}),(0,Pi.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ra.states=MM;Ra.options=LM;Ra.className=ex;var ro=require("react/jsx-runtime"),jp="k-loader",EM={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},YM=[],PM={size:[d.small,d.medium,d.large],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Ed={size:d.medium,themeColor:u.primary,animation:"pulsing"},za=e=>{let{size:t=Ed.size,themeColor:a=Ed.themeColor,animation:r=Ed.animation,...s}=e,i=(0,ro.jsx)("span",{className:"k-loader-segment"});return(0,ro.jsx)("div",{...s,className:o(e.className,jp,{[`k-loader-${EM[r]||r}`]:r},C(jp,{size:t,themeColor:a})),children:(0,ro.jsxs)("div",{className:"k-loader-canvas",children:[r==="pulsing"&&(0,ro.jsxs)(ro.Fragment,{children:[i,i]}),r==="infinite-spinner"&&(0,ro.jsxs)(ro.Fragment,{children:[i,i,i]}),r==="converging-spinner"&&(0,ro.jsxs)(ro.Fragment,{children:[i,i,i,i]})]})})};za.states=YM;za.options=PM;za.className=jp;za.defaultOptions=Ed;var tx=za;var Wl=require("react/jsx-runtime"),Up="k-loader-container",GM=[],KM={size:[d.small,d.medium,d.large],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Ol={size:d.medium,themeColor:u.primary,loaderType:"pulsing",position:"top",overlay:"dark",panel:!1},Gi=e=>{let{size:t=Ol.size,themeColor:a=Ol.themeColor,loaderType:r=Ol.loaderType,position:s=Ol.position,overlay:i=Ol.overlay,panel:n=Ol.panel,...c}=e;return(0,Wl.jsxs)("div",{...c,className:o(e.className,Up,C(Up,{size:t}),{[`k-loader-${s}`]:s}),children:[(0,Wl.jsx)("div",{className:`k-loader-container-overlay k-overlay-${i}`}),(0,Wl.jsxs)("div",{className:o("k-loader-container-inner",{"k-loader-container-panel":n}),children:[(0,Wl.jsx)(tx,{size:t,themeColor:a,animation:r}),(0,Wl.jsx)("div",{className:`k-loader-container-label !k-text-${a}`,children:"Loading..."})]})]})};Gi.states=GM;Gi.options=KM;Gi.className=Up;Gi.defaultOptions=Ol;var DM=require("react/jsx-runtime");var FM=require("react/jsx-runtime");var RM=require("react/jsx-runtime");var zM=require("react/jsx-runtime");var ax=require("react/jsx-runtime"),ox="k-skeleton",HM=[],OM={},qp={shape:"text",animation:"pulse"},Ha=e=>{let{shape:t=qp.shape,animation:a=qp.animation,...r}=e;return(0,ax.jsx)("span",{...r,className:o(e.className,ox,{[`k-skeleton-${t}`]:t,[`k-skeleton-${a}`]:a}),style:e.style})};Ha.states=HM;Ha.options=OM;Ha.className=ox;Ha.defaultOptions=qp;var WM=require("react/jsx-runtime");var lx=require("react/jsx-runtime"),_p=e=>(0,lx.jsx)(Ha,{shape:"rect",...e});var QM=require("react/jsx-runtime");var Oo=require("react/jsx-runtime"),$p="k-form-field",VM=[l.disabled],pt=e=>{let{label:t,orientation:a,optional:r,editor:s,hint:i,error:n,info:c,disabled:m,dir:k,colSpan:y}=e;return(0,Oo.jsxs)("div",{className:o($p,e.className,v($p,{disabled:m}),{[`k-col-span-${y}`]:y}),dir:k,children:[t&&(0,Oo.jsxs)("label",{className:o("k-label","k-form-label"),children:[t,r&&(0,Oo.jsx)("span",{className:"k-label-optional",children:"(Optional)"}),c&&(0,Oo.jsx)("span",{className:"k-field-info",children:"(field info)"})]}),a==="horizontal"&&!t&&(0,Oo.jsx)("span",{className:"k-label k-form-label k-label-empty"}),(0,Oo.jsxs)("div",{className:"k-form-field-wrap",children:[s,i&&(0,Oo.jsx)("div",{className:"k-form-hint",children:i}),n&&(0,Oo.jsx)("div",{className:"k-form-error",children:n})]})]})};pt.states=VM;pt.className=$p;var Oa=require("react/jsx-runtime"),rx="k-form-fieldset",Wo=e=>{let{legend:t,layout:a,cols:r,gutters:s,colSpan:i}=e;return(0,Oa.jsxs)("fieldset",{className:o(rx,{[`k-col-span-${i}`]:i}),children:[t&&(0,Oa.jsx)("legend",{className:"k-form-legend",children:t}),a==="grid"?(0,Oa.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,Oa.jsx)(Oa.Fragment,{children:e.children})]})};Wo.className=rx;var Qo=require("react/jsx-runtime"),Gd=require("react"),Yd="k-form",XM=[],ZM={size:[d.small,d.medium,d.large]},Pd={size:d.medium,layout:"basic",tag:"form"},wa=e=>{let{size:t=Pd.size,orientation:a,layout:r=Pd.layout,formButtons:s,cols:i,gutters:n,tag:c=Pd.tag,children:m}=e,k=({tag:T,className:g,children:A})=>T==="form"?(0,Qo.jsx)("form",{className:g,children:A}):(0,Qo.jsx)("div",{className:g,children:A}),y=[];return m&&(Array.isArray(m)?m.map((T,g)=>{T.type===pt?y.push((0,Gd.createElement)(pt,{...T.props,orientation:a,key:g})):y.push(T)}):m.type===pt?y.push((0,Gd.createElement)(pt,{...m.props,orientation:a,key:`${new Date().getTime()}`})):m.type===Wo&&y.push((0,Gd.createElement)(Wo,{...m.props,key:`${new Date().getTime()}`}))),(0,Qo.jsxs)(k,{tag:c,className:o(e.className,Yd,C(Yd,{size:t}),{[`${Yd}-${a}`]:a}),children:[r==="grid"?(0,Qo.jsx)("div",{className:o("k-form-layout","k-d-grid",{[`k-grid-cols-${i}`]:i}),style:{...typeof n=="string"&&{gap:n},...typeof n=="object"&&n.rows&&{rowGap:n.rows},...typeof n=="object"&&n.cols&&{columnGap:n.cols}},children:y}):(0,Qo.jsx)(Qo.Fragment,{children:y}),s&&(0,Qo.jsx)("div",{className:"k-form-buttons",children:s})]})};wa.states=XM;wa.options=ZM;wa.className=Yd;wa.defaultOptions=Pd;var ix=require("react/jsx-runtime"),JM="k-actionsheet-footer",sx={alignment:"stretched",orientation:"horizontal"},Co=e=>{let{alignment:t=sx.alignment,orientation:a=sx.orientation,template:r,as:s=r?"div":Z,...i}=e;return(0,ix.jsx)(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,JM),children:e.children})};var Wa=require("react/jsx-runtime"),nx="k-searchbox",jM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],UM={size:[d.small,d.medium,d.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},em={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:n,focus:c,valid:m,invalid:k,required:y,loading:T,disabled:g,showIcon:A=em.showIcon,icon:N=em.icon,...S}=e;return(0,Wa.jsxs)(M,{...S,size:r,rounded:s,fillMode:i,hover:n,focus:c,valid:m,invalid:k,required:y,loading:T,disabled:g,className:o(e.className,nx),children:[A&&(0,Wa.jsx)(x,{className:"k-input-icon",icon:N}),(0,Wa.jsx)(ce,{placeholder:a,value:t}),(0,Wa.jsx)(_,{...e}),(0,Wa.jsx)(U,{...e}),(0,Wa.jsx)(re,{...e})]})};rt.states=jM;rt.options=UM;rt.className=nx;rt.defaultOptions=em;var qM=require("react/jsx-runtime");var bt=require("react/jsx-runtime"),dx="k-textbox",_M=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],$M={size:[d.small,d.medium,d.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Ql={showClearButton:!0,showValidationIcon:!0,size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode,separators:!0},ee=e=>{let{size:t=Ql.size,rounded:a=Ql.rounded,fillMode:r=Ql.fillMode,separators:s=Ql.separators,showClearButton:i=Ql.showClearButton,showValidationIcon:n=Ql.showValidationIcon,prefix:c,suffix:m,type:k,value:y,placeholder:T,hover:g,focus:A,valid:N,invalid:S,required:B,loading:L,disabled:P,readonly:z,...X}=e;return(0,bt.jsxs)(M,{...X,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,dx),children:[c&&(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(ae,{children:c}),s&&(0,bt.jsx)(Ce,{})]}),(0,bt.jsx)(ce,{placeholder:T,value:y,type:k}),n&&(0,bt.jsx)(U,{valid:N,invalid:S,loading:L,disabled:P}),(0,bt.jsx)(_,{loading:L,disabled:P}),i&&(0,bt.jsx)(re,{loading:L,disabled:P,readonly:z,value:y}),m&&(0,bt.jsxs)(bt.Fragment,{children:[s&&(0,bt.jsx)(Ce,{}),(0,bt.jsx)(le,{children:m})]})]})};ee.states=_M;ee.options=$M;ee.className=dx;ee.defaultOptions=Ql;var eL=require("react/jsx-runtime");var px=require("react/jsx-runtime");var ux=require("react/jsx-runtime");var Vt=require("react/jsx-runtime"),kx="k-actionsheet-titlebar",tL={},se=e=>{let{title:t,subtitle:a,actionsStart:r,actionsEnd:s,filter:i,input:n,inputValue:c,inputPlaceholder:m,adaptive:k,children:y,...T}=e;return(0,Vt.jsxs)("div",{...T,className:o(e.className,kx),children:[(0,Vt.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[r&&(0,Vt.jsx)("div",{className:"k-actionsheet-actions",children:r}),!y&&(0,Vt.jsxs)("div",{className:"k-actionsheet-title",children:[t&&(0,Vt.jsx)("div",{className:"k-text-center",children:t}),a&&(0,Vt.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:a})]}),y&&(0,Vt.jsx)("div",{className:"k-actionsheet-title",children:y}),s&&(0,Vt.jsx)("div",{className:"k-actionsheet-actions",children:s})]}),(n||i)&&(0,Vt.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:n?(0,Vt.jsx)(ee,{value:c,placeholder:m,size:k?"large":"medium"}):(0,Vt.jsx)(rt,{placeholder:"Filter",size:k?"large":"medium"})})]})};se.className=kx;se.defaultOptions=tL;var Wr=require("react/jsx-runtime"),tm="k-actionsheet-view",oL=[],aL={},lL={},Qr=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...n}=e,c=(s==null?void 0:s.type)===se&&(0,Wr.jsx)(se,{adaptive:t,...s==null?void 0:s.props}),m=(i==null?void 0:i.type)===Co&&(0,Wr.jsx)(Co,{...i==null?void 0:i.props});return(0,Wr.jsxs)("div",{...n,className:o(e.className,tm,{[`${tm}-animated`]:a}),children:[c,(0,Wr.jsx)("div",{className:"k-actionsheet-content",children:r}),m]})};Qr.states=oL;Qr.options=aL;Qr.className=tm;Qr.defaultOptions=lL;var Vl=require("react/jsx-runtime"),fx="k-actionsheet",rL=[],sL={},Ki={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},pe=e=>{let{side:t=Ki.side,fullscreen:a=Ki.fullscreen,adaptive:r=Ki.adaptive,overlay:s=Ki.overlay,template:i,children:n,header:c,footer:m,...k}=e;return(0,Vl.jsxs)("div",{className:"k-actionsheet-container",children:[s&&(0,Vl.jsx)("div",{className:"k-overlay"}),(0,Vl.jsx)(Fa,{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,Vl.jsx)("div",{...k,className:o(e.className,fx,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||(0,Vl.jsx)(Qr,{header:c,footer:m,adaptive:r,...e,children:n})})})]})};pe.states=rL;pe.options=sL;pe.className=fx;pe.defaultOptions=Ki;var iL=require("react/jsx-runtime");var so=require("react/jsx-runtime"),om="k-actionsheet-item",nL=[l.hover,l.focus,l.selected,l.disabled],am=e=>{let{iconName:t,text:a,description:r,hover:s,focus:i,selected:n,disabled:c,...m}=e;return(0,so.jsxs)("span",{...m,className:o(e.className,om,v(om,{hover:s,focus:i,selected:n,disabled:c})),children:[!e.children&&(0,so.jsx)(so.Fragment,{children:(0,so.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,so.jsx)("span",{className:"k-icon-wrap",children:(0,so.jsx)(x,{className:"k-actionsheet-item-icon",icon:t})}),(0,so.jsxs)("span",{className:"k-actionsheet-item-text",children:[a&&(0,so.jsx)("span",{className:"k-actionsheet-item-title",children:a}),r&&(0,so.jsx)("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};am.states=nL;am.className=om;var hx=require("react/jsx-runtime");var dL=require("react/jsx-runtime");var cL=require("react/jsx-runtime");var pL=require("react/jsx-runtime");var De=require("react/jsx-runtime"),xx="k-dropdownlist",mL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],uL={size:[d.small,d.medium,d.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Vr={showValue:!0,arrowIconName:"caret-alt-down",size:d.medium,rounded:h.medium,fillMode:b.solid},ie=e=>{let{size:t=Vr.size,rounded:a=Vr.rounded,fillMode:r=Vr.fillMode,arrowIconName:s=Vr.arrowIconName,showValue:i=Vr.showValue,valueIconName:n,prefix:c,suffix:m,value:k,placeholder:y,hover:T,focus:g,valid:A,invalid:N,required:S,loading:B,disabled:L,readonly:P,popup:z,opened:X,adaptive:Ne,adaptiveSettings:Ue,adaptiveTitle:Ct,adaptiveSubtitle:yo,adaptiveFilter:Ll,...Lr}=e;return(0,De.jsxs)(De.Fragment,{children:[(0,De.jsxs)(Wt,{...Lr,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,xx,{"k-icon-picker":!i&&n}),children:[(0,De.jsx)(ae,{children:c}),(0,De.jsx)(ba,{placeholder:y,value:k,showValue:i,valueIconName:n}),(0,De.jsx)(U,{valid:A,invalid:N,loading:B,disabled:L}),(0,De.jsx)(_,{loading:B,disabled:L}),(0,De.jsx)(le,{children:m}),(0,De.jsx)(p,{className:"k-input-button",icon:s,rounded:null,size:e.size,fillMode:e.fillMode})]}),X&&z&&(0,De.jsx)(H,{className:"k-list-container k-dropdownlist-popup",children:z}),Ne&&(0,De.jsx)(pe,{adaptive:!0,...Ue,header:(0,De.jsx)(se,{actionsEnd:(0,De.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Ll,inputValue:k,inputPlaceholder:y,title:Ct,subtitle:yo}),children:(0,De.jsx)("div",{className:"k-list-container",children:(0,De.jsxs)(J,{size:"large",children:[(0,De.jsx)(K,{text:"List item"}),(0,De.jsx)(K,{text:"List item"}),(0,De.jsx)(K,{text:"List item"})]})})})]})};ie.states=mL;ie.options=uL;ie.className=xx;ie.defaultOptions=Vr;var kL=require("react/jsx-runtime");var bx=require("react/jsx-runtime");var lm=require("react/jsx-runtime");var fL=require("react/jsx-runtime");var vx=require("react/jsx-runtime");var yx=require("react/jsx-runtime");var rm=require("react/jsx-runtime");var sm=require("react/jsx-runtime");var im=require("react/jsx-runtime"),Kd="k-radio",hL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked],gL={size:[d.small,d.medium,d.large]},wx={size:d.medium},Ta=e=>{let{id:t,checked:a,hover:r,focus:s,disabled:i,invalid:n,valid:c,required:m,size:k=wx.size,...y}=e;return(0,im.jsx)("span",{className:"k-radio-wrap",children:(0,im.jsx)("input",{...y,id:t,type:"radio",checked:a,required:m,className:o(e.className,Kd,C(Kd,{size:k}),v(Kd,{hover:r,focus:s,disabled:i,invalid:n,valid:c,checked:a}))})})};Ta.states=hL;Ta.options=gL;Ta.className=Kd;Ta.defaultOptions=wx;var Nx=require("react/jsx-runtime"),Tx="k-radio-list",xL=[],bL={},Ax={layout:"vertical"},Xr=e=>{let{layout:t=Ax.layout,...a}=e;return(0,Nx.jsx)("ul",{...a,className:o(e.className,Tx,{[`k-list-${t}`]:t}),children:e.children})};Xr.states=xL;Xr.options=bL;Xr.className=Tx;Xr.defaultOptions=Ax;var Sx=require("react/jsx-runtime"),Cx="k-radio-list-item",vL=[],yL={},wL={},Zr=e=>{let{...t}=e;return(0,Sx.jsx)("li",{...t,className:o(e.className,Cx),children:e.children})};Zr.states=vL;Zr.options=yL;Zr.className=Cx;Zr.defaultOptions=wL;var TL=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 um=require("react/jsx-runtime");var Se=require("react/jsx-runtime"),Dd=({size:e,...t})=>(0,Se.jsx)(wa,{formButtons:(0,Se.jsxs)(Se.Fragment,{children:[(0,Se.jsx)(p,{className:"k-form-submit",themeColor:"primary",size:e,children:"Submit"}),(0,Se.jsx)(p,{className:"k-form-clear",size:e,children:"Clear"})]}),children:(0,Se.jsxs)(Wo,{legend:"Form Legend",children:[(0,Se.jsx)(pt,{label:"Label",editor:(0,Se.jsx)(ee,{size:e})}),(0,Se.jsx)(pt,{label:"Label",hint:"Hint text",editor:(0,Se.jsx)(ie,{value:"Dropdown List",size:e})}),(0,Se.jsx)(pt,{label:"City",editor:(0,Se.jsxs)("ul",{className:"k-radio-list k-list-horizontal",children:[(0,Se.jsxs)("li",{className:"k-radio-list-item",children:[(0,Se.jsx)(Ta,{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)(Ta,{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)(Ta,{size:e}),(0,Se.jsx)("label",{className:"k-radio-label",children:"Label"})]})]})})]}),size:e,...t});var km=require("react/jsx-runtime");var fm=require("react/jsx-runtime");var Jl=require("react/jsx-runtime"),Ix="k-menu-button",NL=[l.hover,l.focus,l.active,l.selected,l.disabled],CL={size:[d.small,d.medium,d.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]},Zl={size:d.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,showArrow:!0,arrowIconName:"caret-alt-down"},q=e=>{let{size:t=Zl.size,rounded:a=Zl.rounded,fillMode:r=Zl.fillMode,themeColor:s=Zl.themeColor,hover:i,focus:n,active:c,selected:m,disabled:k,icon:y,text:T,showArrow:g=Zl.showArrow,arrowIconName:A=Zl.arrowIconName,popup:N,opened:S,...B}=e;return(0,Jl.jsxs)(Jl.Fragment,{children:[(0,Jl.jsx)(p,{...B,className:o(e.className,Ix),text:T,size:t,rounded:a,fillMode:r,themeColor:s,hover:i,focus:n,active:c,selected:m,disabled:k,icon:y,showArrow:g,arrowIconName:A}),S&&N&&(0,Jl.jsx)(H,{className:"k-menu-popup",children:N})]})};q.states=NL;q.options=CL;q.className=Ix;q.defaultOptions=Zl;var SL=require("react/jsx-runtime");var IL=require("react/jsx-runtime");var BL=require("react/jsx-runtime");var io=require("react/jsx-runtime"),gm="k-menu-item",ML=[l.hover,l.focus,l.active,l.selected,l.disabled],LL={},Bx={iconPosition:"before"},mt=e=>{let{hover:t,focus:a,active:r,selected:s,disabled:i,icon:n,text:c,first:m,last:k,showArrow:y,arrowIconName:T,iconPosition:g=Bx.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,gm,"k-item",v(gm,{focus:a,disabled:i,hover:t,active:r,selected:s}),{"k-first":m,"k-last":k}),children:[(0,io.jsxs)("span",{className:o("k-link k-menu-link"),children:[n&&g==="before"&&(0,io.jsx)(x,{className:"k-menu-link-icon",icon:n}),(0,io.jsx)("span",{className:"k-menu-link-text",children:c}),n&&g==="after"&&(0,io.jsx)(x,{className:"k-menu-link-icon",icon:n}),y&&(0,io.jsx)("span",{className:"k-menu-expand-arrow",children:(0,io.jsx)(x,{icon:L})})]}),B]})};mt.states=ML;mt.options=LL;mt.className=gm;mt.defaultOptions=Bx;var no=require("react/jsx-runtime"),xm="k-menu-item",EL=[l.hover,l.focus,l.active,l.selected,l.disabled],YL={},bm={dir:"ltr",iconPosition:"before"},So=e=>{let{hover:t,focus:a,active:r,selected:s,disabled:i,icon:n,text:c,first:m,last:k,showArrow:y,arrowIconName:T,iconPosition:g=bm.iconPosition,dir:A=bm.dir,children:N,popup:S,...B}=e,L=(0,no.jsx)(no.Fragment,{});N&&N.forEach(z=>{if(z.type==="MenuListItemContent"){L.props.children.push(z);return}});let P=T;return P||(P=A==="rtl"?"caret-alt-left":"caret-alt-right"),(0,no.jsxs)("li",{...B,className:o(e.className,xm,"k-item",v(xm,{focus:a,disabled:i}),{"k-first":m,"k-last":k}),children:[(0,no.jsxs)("span",{className:o("k-link k-menu-link",v("k-menu-link",{hover:t,active:r,selected:s,disabled:i})),children:[n&&g==="before"&&(0,no.jsx)(x,{className:"k-menu-link-icon",icon:n}),(0,no.jsx)("span",{className:"k-menu-link-text",children:c}),n&&g==="after"&&(0,no.jsx)(x,{className:"k-menu-link-icon",icon:n}),y&&(0,no.jsx)("span",{className:"k-menu-expand-arrow",children:(0,no.jsx)(x,{icon:P})})]}),L,S]})};So.states=EL;So.options=YL;So.className=xm;So.defaultOptions=bm;var Ex=require("react/jsx-runtime"),Mx="k-menu-scroll-wrapper",PL=[],GL={},KL={},Di=e=>{let{className:t,children:a,orientation:r,...s}=e;return(0,Ex.jsx)("div",{...s,className:o(t,Mx,{"k-menu-scroll-wrapper-vertical":r==="vertical"}),children:a})};Di.states=PL;Di.options=GL;Di.className=Mx;Di.defaultOptions=KL;var Lx=Di;var ut=require("react/jsx-runtime"),vm="k-menu",DL=[],FL={},Fd={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Io=e=>{let{children:t,orientation:a=Fd.orientation,header:r=Fd.header,scrollable:s,scrollButtonsPosition:i=Fd.scrollButtonsPosition,wrapperStyles:n,dir:c,popup:m,...k}=e,y={horizontal:{prev:c!=="rtl"?"left":"right",next:c!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},T=(0,ut.jsx)("ul",{dir:c,...k,className:o(e.className,"k-reset",vm,{[`${vm}-${a}`]:a,"k-header":r}),children:t});return(0,ut.jsxs)(ut.Fragment,{children:[s?(0,ut.jsxs)(Lx,{orientation:a,style:n,dir:e.dir,children:[i==="start"&&(0,ut.jsxs)(ut.Fragment,{children:[(0,ut.jsx)(p,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),(0,ut.jsx)(p,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),i==="around"&&(0,ut.jsx)(p,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),T,i==="end"&&(0,ut.jsxs)(ut.Fragment,{children:[(0,ut.jsx)(p,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),(0,ut.jsx)(p,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),i==="around"&&(0,ut.jsx)(p,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}):T,m]})};Io.states=DL;Io.options=FL;Io.className=vm;Io.defaultOptions=Fd;var Px=require("react/jsx-runtime"),ym="k-separator",Yx={orientation:"horizontal"},Fi=e=>{let{orientation:t=Yx.orientation,...a}=e;return(0,Px.jsx)("li",{...a,className:o(e.className,"k-item",ym,{[`${ym}-${t}`]:t})})};Fi.className=ym;Fi.defaultOptions=Yx;var Gx=require("react/jsx-runtime");var Am=require("react/jsx-runtime"),Kx=require("react"),wm="k-menu-group",RL=[],zL={size:[d.small,d.medium,d.large]},Tm={size:d.medium,dir:"ltr"},Aa=e=>{let{children:t,size:a=Tm.size,dir:r=Tm.dir,...s}=e,i=[];return t&&Array.isArray(t)&&t.map((n,c)=>{n.type===So?i.push((0,Kx.createElement)(So,{...n.props,dir:r,key:c})):n.type===Fi?i.push((0,Am.jsx)(Fi,{})):i.push(n)}),(0,Am.jsx)("ul",{...s,className:o(e.className,wm,C(wm,{size:a})),children:i})};Aa.states=RL;Aa.options=zL;Aa.className=wm;Aa.defaultOptions=Tm;var Nm=require("react/jsx-runtime");var Cm=require("react/jsx-runtime");var Sm=require("react/jsx-runtime");var Im=require("react/jsx-runtime");var Bm=require("react/jsx-runtime");var Dx=require("react/jsx-runtime");var Na=require("react/jsx-runtime"),Mm="k-split-button",HL=[l.hover,l.focus,l.active,l.selected,l.disabled],OL={size:[d.small,d.medium,d.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]},Jr={size:d.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,arrowIconName:"caret-alt-down"},Oe=e=>{let{size:t=Jr.size,rounded:a=Jr.rounded,fillMode:r=Jr.fillMode,themeColor:s=Jr.themeColor,