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