UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 293 kB
var FS=Object.create;var ed=Object.defineProperty;var zS=Object.getOwnPropertyDescriptor;var RS=Object.getOwnPropertyNames;var HS=Object.getPrototypeOf,WS=Object.prototype.hasOwnProperty;var OS=(e,t)=>{for(var a in t)ed(e,a,{get:t[a],enumerable:!0})},If=(e,t,a,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of RS(t))!WS.call(e,s)&&s!==a&&ed(e,s,{get:()=>t[s],enumerable:!(r=zS(t,s))||r.enumerable});return e};var Bf=(e,t,a)=>(a=e!=null?FS(HS(e)):{},If(t||!e||!e.__esModule?ed(a,"default",{value:e,enumerable:!0}):a,e)),QS=e=>If(ed({},"__esModule",{value:!0}),e);var z0={};OS(z0,{PivotGridNormal:()=>Cf});module.exports=QS(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"},Qt={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var ci=require("react/jsx-runtime"),qc="k-icon k-font-icon",VS=[],XS={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]},ZS={},pi=e=>{let{size:t,themeColor:a,icon:r,rotate:s,flip:i,...d}=e;return r?(0,ci.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,ci.jsx)(ci.Fragment,{})};pi.states=VS;pi.options=XS;pi.className=qc;pi.defaultOptions=ZS;var Mf=pi;var Cl=require("react/jsx-runtime"),_c="k-icon k-svg-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]},Lf={viewBox:"0 0 24 24"},mi=e=>{let{size:t,themeColor:a,rotate:r,flip:s,viewBox:i=Lf.viewBox,icon:d,...p}=e;if(!d)return(0,Cl.jsx)(Cl.Fragment,{});d==="none"&&{...p,className:o(e.className,_c,"k-none")};let m=typeof d=="object"&&d.name&&d.name;return(0,Cl.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,Cl.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof d=="object"?d.viewBox:i,dangerouslySetInnerHTML:typeof d=="object"?{__html:d.content}:void 0,children:d?void 0:e.children})})};mi.states=JS;mi.options=jS;mi.className=_c;mi.defaultOptions=Lf;var $c=mi;var Ef=Bf(require("@progress/kendo-svg-icons")),pa=require("react/jsx-runtime"),US=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),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]},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,pa.jsx)(pa.Fragment,{});if(s==="svg"){if(r==="none")return(0,pa.jsx)($c,{...m,icon:r,size:t});let k=US(`${r}-icon`);return Ef[k]?(0,pa.jsx)($c,{...m,icon:Ef[k],size:t,themeColor:a,rotate:i,flip:d,viewBox:p}):(0,pa.jsx)(pa.Fragment,{})}return(0,pa.jsx)(Mf,{...m,icon:r,size:t,themeColor:a,rotate:i,flip:d})};v.states=qS;v.options=_S;v.defaultOptions=ep;var tp=v;var ui=require("react/jsx-runtime"),Yf="k-pivotgrid-configurator-button",$S=[],eI={},tI={},ki=e=>{let{...t}=e;return(0,ui.jsx)("div",{...t,className:o(e.className,Yf),children:(0,ui.jsxs)("span",{children:["Change settings",(0,ui.jsx)(v,{icon:"gear"})]})})};ki.states=$S;ki.options=eI;ki.className=Yf;ki.defaultOptions=tI;var Pf=ki;var Fo=require("react/jsx-runtime"),Gf="k-pivotgrid",oI=[],aI={},td={emptyCell:(0,Fo.jsx)("span",{className:"k-pivotgrid-empty-cell",children:(0,Fo.jsx)("span",{className:"k-sr-only",children:"PivotGrid component. Use the arrow keys to navigate."})}),configuratorDisplay:"none",configuratorPosition:"right"},Nr=e=>{let{emptyCell:t=td.emptyCell,configuratorDisplay:a=td.configuratorDisplay,configuratorPosition:r=td.configuratorPosition,configurator:s,columnHeaders:i,rowHeaders:d,children:p,...m}=e;return(0,Fo.jsxs)("div",{className:{left:"k-d-flex k-flex-row-reverse k-pos-relative",bottom:"k-d-flex k-flex-col k-pos-relative",top:"k-d-flex k-flex-col-reverse k-pos-relative",right:"k-d-flex k-flex-row k-pos-relative"}[r],children:[(0,Fo.jsxs)("div",{...m,className:o(e.className,Gf),children:[t,(0,Fo.jsx)("div",{className:"k-pivotgrid-column-headers",children:i}),(0,Fo.jsx)("div",{className:"k-pivotgrid-row-headers",children:d}),(0,Fo.jsx)("div",{className:"k-pivotgrid-values",children:p})]}),s&&a==="opened"&&s,a!=="none"&&(0,Fo.jsx)(Pf,{})]})};Nr.states=oI;Nr.options=aI;Nr.className=Gf;Nr.defaultOptions=td;var Df=require("react/jsx-runtime"),Kf="k-pivotgrid-table",lI=[],rI={},sI={},Ma=e=>{let{children:t,...a}=e;return(0,Df.jsx)("table",{...a,className:o(e.className,Kf),children:t})};Ma.states=lI;Ma.options=rI;Ma.className=Kf;Ma.defaultOptions=sI;var zf=require("react/jsx-runtime"),Ff="k-pivotgrid-tbody",iI=[],nI={},dI={},La=e=>{let{children:t,...a}=e;return(0,zf.jsx)("tbody",{...a,className:o(e.className,Ff),children:t})};La.states=iI;La.options=nI;La.className=Ff;La.defaultOptions=dI;var Rf=require("react/jsx-runtime"),op="k-pivotgrid-row",cI=[l.hover,l.selected],pI={},mI={},Qe=e=>{let{columnTotal:t,children:a,hover:r,selected:s,...i}=e;return(0,Rf.jsx)("tr",{...i,className:o(e.className,op,{"k-pivotgrid-column-total":t},b(op,{hover:r,selected:s})),children:a})};Qe.states=cI;Qe.options=pI;Qe.className=op;Qe.defaultOptions=mI;var Cr=require("react/jsx-runtime"),ap="k-pivotgrid-cell",uI=[l.focus,l.selected],kI={},hI={},W=e=>{let{as:t="td",toggle:a,headerTitle:r,content:s,headerRootCell:i,totalCell:d,headerTotalCell:p,rowTotalCell:m,focus:k,selected:y,...A}=e,g={up:"up",down:"down"};return(0,Cr.jsxs)(t,{...A,className:o(e.className,ap,{"k-pivotgrid-expanded":a==="up","k-pivotgrid-header-root":i,"k-pivotgrid-total":d,"k-pivotgrid-header-total":p,"k-pivotgrid-row-total":m},b(ap,{focus:k,selected:y})),children:[a&&(0,Cr.jsx)(v,{className:"k-pivotgrid-toggle",icon:`chevron-${g[a]}`}),r&&(0,Cr.jsx)("span",{className:"k-pivotgrid-header-title",children:r}),(s||s==="")&&(0,Cr.jsx)("span",{className:"k-pivotgrid-content",children:s})]})};W.states=uI;W.options=kI;W.className=ap;W.defaultOptions=hI;var Wf=require("react/jsx-runtime"),od="k-actions",fI=[],gI={},lp={alignment:"start",orientation:"horizontal"},j=e=>{let{alignment:t=lp.alignment,orientation:a=lp.orientation,...r}=e;return(0,Wf.jsx)("div",{...r,className:o(od,{[`${od}-${t}`]:t,[`${od}-${a}`]:a},e.className),children:e.children})};j.states=fI;j.options=gI;j.className=od;j.defaultOptions=lp;var Hf=j;var wo=require("react/jsx-runtime"),ad="k-button",xI=[l.hover,l.focus,l.active,l.selected,l.disabled],bI={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]},Sl={size:n.medium,rounded:f.medium,fillMode:x.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},c=e=>{let{size:t=Sl.size,rounded:a=Sl.rounded,fillMode:r=Sl.fillMode,themeColor:s=Sl.themeColor,showArrow:i=Sl.showArrow,arrowIconName:d=Sl.arrowIconName,hover:p,focus:m,active:k,selected:y,disabled:A,icon:g,text:T,iconClassName:N,...S}=e,B=g!==void 0,E=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}),b(ad,{hover:p,focus:m,active:k,disabled:A,selected:y}),{"k-icon-button":!T&&!E&&B}),children:[g&&(0,wo.jsx)(v,{className:o(N,"k-button-icon"),icon:g}),T?(0,wo.jsxs)(wo.Fragment,{children:[T&&(0,wo.jsx)("span",{className:"k-button-text",children:T}),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)(v,{icon:d})})]})};c.states=xI;c.options=bI;c.className=ad;c.defaultOptions=Sl;var Of=require("react/jsx-runtime"),Bt=e=>(0,Of.jsx)(c,{icon:"folder",...e,children:void 0});var Qf=require("react/jsx-runtime"),Ao=e=>(0,Qf.jsx)(c,{icon:"folder",children:"Button",...e});var vI=require("react/jsx-runtime");var Vt=require("react/jsx-runtime"),ld="k-pivotgrid-configurator",yI=[],wI={},AI=(0,Vt.jsxs)(Vt.Fragment,{children:[(0,Vt.jsx)(c,{children:"Cancel"}),(0,Vt.jsx)(c,{themeColor:"primary",children:"Apply"})]}),hi={orientation:"vertical",mode:"push",actionButtons:AI,header:"Settings"},fi=e=>{let{orientation:t=hi.orientation,mode:a=hi.mode,actionButtons:r=hi.actionButtons,header:s=hi.header,children:i,...d}=e;return(0,Vt.jsx)("div",{...d,className:o(e.className,ld),children:(0,Vt.jsxs)("div",{className:o("k-pivotgrid-configurator-panel",{[`${ld}-${t}`]:t,[`${ld}-${a}`]:a}),children:[(0,Vt.jsx)("div",{className:"k-pivotgrid-configurator-header",children:(0,Vt.jsx)("div",{className:"k-pivotgrid-configurator-header-text",children:s})}),(0,Vt.jsx)("div",{className:"k-pivotgrid-configurator-content",children:i}),(0,Vt.jsx)(j,{alignment:"end",className:"k-pivotgrid-configurator-actions",children:r})]})})};fi.states=yI;fi.options=wI;fi.className=ld;fi.defaultOptions=hi;var Xf=require("react/jsx-runtime"),TI=[],NI={},Vf=e=>{let{type:t,...a}=e,r=t==="p"?"paragraph":t,s=t.includes("display")?"div":t;return(0,Xf.jsx)(s,{...a,className:o(e.className,{[`k-${r}`]:t}),children:e.children})};Vf.states=TI;Vf.options=NI;var Zf=require("react/jsx-runtime"),rd="k-input",CI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],SI={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},sd={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=sd.size,rounded:k=sd.rounded,fillMode:y=sd.fillMode,...A}=e;return(0,Zf.jsx)("span",{...A,className:o(e.className,rd,C(rd,{size:m,rounded:k,fillMode:y}),b(rd,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p}))})};M.states=CI;M.options=SI;M.className=rd;M.defaultOptions=sd;var Jf=require("react/jsx-runtime"),id="k-picker",II=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],BI={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},nd={size:n.medium,rounded:f.medium,fillMode:x.solid},Xt=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p,size:m=nd.size,rounded:k=nd.rounded,fillMode:y=nd.fillMode,...A}=e;return(0,Jf.jsx)("span",{...A,className:o(e.className,id,C(id,{size:m,rounded:k,fillMode:y}),b(id,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p})),children:e.children})};Xt.states=II;Xt.options=BI;Xt.className=id;Xt.defaultOptions=nd;var Sr=require("react/jsx-runtime"),jf="k-clear-value",MI=[l.disabled,l.loading,l.readonly],LI={},ie=e=>{let{disabled:t,loading:a,readonly:r,value:s}=e;return t||r||a||!s?(0,Sr.jsx)(Sr.Fragment,{}):(0,Sr.jsx)("span",{className:o(e.className,jf),children:(0,Sr.jsx)(v,{icon:"x"})})};ie.states=MI;ie.options=LI;ie.className=jf;var Uf=require("react/jsx-runtime"),rp="k-input-inner",EI=[],YI={},dd={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=dd.value,type:a=dd.type,placeholder:r=dd.placeholder,autocomplete:s=dd.autocomplete,...i}=e;return(0,Uf.jsx)("input",{...i,type:a,className:o(e.className,rp,C(rp,e)),placeholder:r,autoComplete:s,defaultValue:t})};ce.states=EI;ce.options=YI;ce.className=rp;var gi=require("react/jsx-runtime"),sp="k-input-inner",PI=[],GI={},ma=e=>{let{value:t,placeholder:a,showValue:r,valueIcon:s,valueIconName:i,...d}=e;return(0,gi.jsxs)("span",{...d,className:o(e.className,sp,C(sp,e)),children:[s,!s&&i&&(0,gi.jsx)(v,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&(0,gi.jsx)("span",{className:"k-input-value-text",children:t})]})};ma.states=PI;ma.options=GI;ma.className=sp;var _f=require("react/jsx-runtime"),ip="k-input-inner",KI=[],DI={},qf={value:"",placeholder:""},xi=e=>{let{value:t=qf.value,placeholder:a=qf.placeholder,rows:r,...s}=e;return(0,_f.jsx)("textarea",{...s,className:o(e.className,ip,C(ip,e)),placeholder:a,rows:r,defaultValue:t})};xi.states=KI;xi.options=DI;xi.className=ip;var bi=require("react/jsx-runtime"),$f="k-input-loading-icon",FI=[l.disabled,l.loading],ee=e=>{let{disabled:t,loading:a}=e;return t||!a?(0,bi.jsx)(bi.Fragment,{}):(0,bi.jsx)("span",{className:o(e.className,$f,"k-icon k-i-loading")})};ee.states=FI;ee.className=$f;var vi=require("react/jsx-runtime"),eg="k-input-validation-icon",zI=[l.valid,l.invalid,l.disabled,l.loading],RI={},_=e=>{let{valid:t,invalid:a,disabled:r,loading:s}=e,i=a?"warning-circle":"check-circle";return r||s||!!!(t||a)?(0,vi.jsx)(vi.Fragment,{}):(0,vi.jsx)(v,{className:o(eg),icon:i})};_.states=zI;_.options=RI;_.className=eg;var yi=require("react/jsx-runtime"),HI="k-input-prefix",WI={direction:"horizontal"},re=e=>{let{direction:t=WI.direction,...a}=e;return e.children?(0,yi.jsx)("span",{...a,className:o(HI,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,yi.jsx)(yi.Fragment,{})};var wi=require("react/jsx-runtime"),OI="k-input-suffix",QI={direction:"horizontal"},se=e=>{let{direction:t=QI.direction,...a}=e;return e.children?(0,wi.jsx)("span",{...a,className:o(OI,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,wi.jsx)(wi.Fragment,{})};var VI=require("react/jsx-runtime");var XI=require("react/jsx-runtime");var og=require("react/jsx-runtime"),tg="k-input-separator",ZI={direction:"vertical"},Se=e=>{let{direction:t=ZI.direction,...a}=e;return(0,og.jsx)("span",{...a,className:o(tg,e.className,{[`${tg}-${t}`]:t})})};var np=require("react/jsx-runtime"),ag="k-animation-container",JI=[],jI={},lg={positionMode:"absolute"},Ea=e=>{let{positionMode:t=lg.positionMode,animationStyle:a,offset:r,...s}=e;return(0,np.jsx)("div",{...s,style:{...r,...e.style},className:o(e.className,ag,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,np.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};Ea.states=JI;Ea.options=jI;Ea.className=ag;Ea.defaultOptions=lg;var dp=require("react/jsx-runtime"),rg="k-popup",UI=[],qI={},sg={positionMode:"absolute"},O=e=>{let{offset:t,positionMode:a=sg.positionMode,animationStyle:r,...s}=e;return(0,dp.jsx)(Ea,{positionMode:a,offset:t,animationStyle:r,children:(0,dp.jsx)("div",{...s,className:o(e.className,rg),children:e.children})})};O.states=UI;O.options=qI;O.className=rg;O.defaultOptions=sg;var ig=require("react/jsx-runtime"),_I="k-no-data",Ai=e=>(0,ig.jsx)("span",{className:o(_I,e.className),children:e.children});var zo=require("react/jsx-runtime"),cp="k-list",$I=[],eB={size:[n.small,n.medium,n.large]},ng={size:n.medium},U=e=>{let{size:t=ng.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===Le?(T.props.root===!0?(m=T.props.label,T.props.children.map((S,B)=>{g.push((0,zo.jsx)(D,{...S.props},`optChild-${B}-${new Date().getTime()}`))})):T.props.children.forEach((S,B)=>{let E="";B===0&&(E=T.props.label),g.push((0,zo.jsx)(D,{className:B===0?"k-first":"",...S.props,groupLabel:E},`groupLabel-${B}-${new Date().getTime()}`))}),k=(0,zo.jsx)(Le,{label:m,virtualization:a,children:g})):T.type===D&&(g.push((0,zo.jsx)(D,{...T.props},`${T.type}-${N}`)),y=(0,zo.jsx)(Ir,{virtualization:a,children:g}),d&&(A=(0,zo.jsxs)(Ai,{className:"k-sr-only",children:[g.length," items found."]})))}):A=(0,zo.jsx)(Ai,{children:"No data found."}),(0,zo.jsxs)("div",{...p,className:o(e.className,cp,C(cp,{size:t}),{"k-virtual-list":a}),children:[s,i,k,y,A]})};U.states=$I;U.options=eB;U.className=cp;U.defaultOptions=ng;var Ro=require("react/jsx-runtime"),pp="k-list",tB=[],oB={size:[n.small,n.medium,n.large]},dg={size:n.medium},Il=e=>{let{size:t=dg.size,virtualization:a,children:r,...s}=e,i,d,p,m=[];return r?r.map((k,y)=>{k.type===Le?(k.props.root===!0?(i=k.props.label,k.props.children.map((A,g)=>{m.push((0,Ro.jsx)(D,{...A.props},`optChild-${g}-${new Date().getTime()}`))})):(m.push((0,Ro.jsx)(cg,{...k.props,children:k.props.label},`listChild-${y}`)),k.props.children.map((A,g)=>{m.push((0,Ro.jsx)(D,{...A.props},`fwOptChild-${g}-${new Date().getTime()}`))})),d=(0,Ro.jsx)(Le,{label:i,virtualization:a,children:m})):k.type===D&&(m.push((0,Ro.jsx)(D,{...k.props},`${k.type}-${y}`)),p=(0,Ro.jsx)(Ir,{virtualization:a,children:m}))}):p=(0,Ro.jsx)(Ai,{children:"No data found."}),(0,Ro.jsxs)("div",{...s,className:o(e.className,pp,C(pp,{size:t}),{"k-virtual-list":a}),children:[d,p]})};Il.states=tB;Il.options=oB;Il.className=pp;Il.defaultOptions=dg;var up=require("react/jsx-runtime"),cd="k-checkbox",aB=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],lB={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full]},mp={size:n.medium,rounded:f.medium},mt=e=>{let{id:t,checked:a,indeterminate:r,hover:s,focus:i,disabled:d,invalid:p,valid:m,required:k,size:y=mp.size,rounded:A=mp.rounded,...g}=e;return(0,up.jsx)("span",{className:"k-checkbox-wrap",children:(0,up.jsx)("input",{...g,id:t,type:"checkbox",defaultChecked:a,required:k,className:o(e.className,cd,C(cd,{size:y,rounded:A}),b(cd,{hover:s,focus:i,disabled:d,invalid:p,valid:m,indeterminate:r,checked:a}))})})};mt.states=aB;mt.options=lB;mt.className=cd;mt.defaultOptions=mp;var ug=require("react/jsx-runtime"),pg="k-checkbox-list",rB=[],sB={},mg={layout:"vertical"},Br=e=>{let{layout:t=mg.layout,...a}=e;return(0,ug.jsx)("ul",{...a,className:o(e.className,pg,{[`k-list-${t}`]:t}),children:e.children})};Br.states=rB;Br.options=sB;Br.className=pg;Br.defaultOptions=mg;var hg=require("react/jsx-runtime"),kg="k-checkbox-list-item",iB=[],nB={},dB={},Mr=e=>{let{...t}=e;return(0,hg.jsx)("li",{...t,className:o(e.className,kg),children:e.children})};Mr.states=iB;Mr.options=nB;Mr.className=kg;Mr.defaultOptions=dB;var hp=require("react/jsx-runtime");var fp=require("react/jsx-runtime");var gp=require("react/jsx-runtime");var xp=require("react/jsx-runtime");var cB=require("react/jsx-runtime");var pB=require("react/jsx-runtime");var Bl=require("react/jsx-runtime"),bp="k-list-item",mB=[l.hover,l.focus,l.selected,l.disabled],uB={},kB={},D=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,Bl.jsxs)("li",{...g,className:o(e.className,r?"k-list-group-item":bp,b(bp,{hover:m,focus:k,disabled:A,selected:y})),children:[d&&(0,Bl.jsx)(mt,{checked:p}),s&&(0,Bl.jsx)(v,{icon:i}),(0,Bl.jsx)("span",{className:"k-list-item-text",children:T}),a&&a!==""&&(0,Bl.jsx)("div",{className:"k-list-item-group-label",children:a})]})};D.states=mB;D.options=uB;D.className=bp;D.defaultOptions=kB;var Lr=require("react/jsx-runtime"),hB="k-list-content",Ir=e=>{let{virtualization:t,...a}=e;return(0,Lr.jsxs)("div",{...a,className:o(hB,e.className),children:[(0,Lr.jsx)("ul",{className:o("k-list-ul"),children:e.children}),t&&(0,Lr.jsx)("div",{className:"k-height-container",children:(0,Lr.jsx)("div",{})})]})};var vp=require("react/jsx-runtime"),fB="k-list-group-sticky-header",fg=e=>(0,vp.jsx)("div",{className:o(fB,e.className),children:(0,vp.jsx)("div",{className:"k-list-header-text",children:e.children})});var Ml=require("react/jsx-runtime"),Le=e=>{let{virtualization:t,label:a}=e;return(0,Ml.jsxs)(Ml.Fragment,{children:[a&&(0,Ml.jsx)(fg,{children:a}),e.children&&(0,Ml.jsx)(Ir,{virtualization:t,children:e.children})]})};var yp=require("react/jsx-runtime"),gB="k-list-group-item",cg=e=>(0,yp.jsx)("li",{className:o(gB,e.className),children:(0,yp.jsx)("span",{className:"k-list-item-text",children:e.children})});var gg=require("react/jsx-runtime"),wp="k-list-optionlabel",xB=[l.hover,l.focus,l.selected,l.disabled],bB={},vB={},pd=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return(0,gg.jsx)("div",{...d,className:o(wp,b(wp,{hover:a,focus:r,selected:s,disabled:i})),children:t})};pd.states=xB;pd.options=bB;pd.className=wp;pd.defaultOptions=vB;var xg=require("react/jsx-runtime"),Ap="k-list-custom-value",yB=[l.hover,l.focus,l.selected,l.disabled],wB={},AB={},bt=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return(0,xg.jsx)("div",{...d,className:o(Ap,b(Ap,{hover:a,focus:r,selected:s,disabled:i})),children:t})};bt.states=yB;bt.options=wB;bt.className=Ap;bt.defaultOptions=AB;var TB=require("react/jsx-runtime");var NB=require("react/jsx-runtime");var bg=require("react/jsx-runtime");var vg=require("react/jsx-runtime");var CB=require("react/jsx-runtime");var yg=require("react/jsx-runtime");var wg=require("react/jsx-runtime");var Tp=require("react/jsx-runtime"),Ti="k-avatar";var SB=[l.hover,l.focus,l.active,l.selected,l.disabled],IB={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]},Ll={type:"text",size:n.medium,rounded:f.full,fillMode:x.solid,themeColor:u.primary,border:!1},Ho=e=>{let{size:t=Ll.size,rounded:a=Ll.rounded,fillMode:r=Ll.fillMode,themeColor:s=Ll.themeColor,type:i=Ll.type,border:d=Ll.border,...p}=e;return(0,Tp.jsx)("div",{...p,className:o(e.className,Ti,C(Ti,{size:t,rounded:a,fillMode:r,themeColor:s}),{[`${Ti}-bordered`]:d}),children:(0,Tp.jsx)("span",{className:`${Ti}-${i}`,children:e.children})})};Ho.states=SB;Ho.options=IB;Ho.className=Ti;Ho.defaultOptions=Ll;var BB=require("react/jsx-runtime");var MB=require("react/jsx-runtime");var LB=require("react/jsx-runtime");var Tg=require("react/jsx-runtime"),Ni="k-badge",EB=[],YB={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]},Ci={size:n.medium,fillMode:x.solid,themeColor:u.primary,cutoutBorder:!1},Er=e=>{let{size:t=Ci.size,fillMode:a=Ci.fillMode,themeColor:r=Ci.themeColor,cutoutBorder:s=Ci.cutoutBorder,rounded:i,position:d,align:p,...m}=e;return(0,Tg.jsx)("span",{...m,className:o(e.className,Ni,C(Ni,{size:t,rounded:i,fillMode:a,themeColor:r}),{[`${Ni}-${d}`]:d,[`k-${p}`]:p,[`${Ni}-border-cutout`]:s}),children:e.children})};Er.states=EB;Er.options=YB;Er.className=Ni;Er.defaultOptions=Ci;var PB=require("react/jsx-runtime");var GB=require("react/jsx-runtime");var KB=require("react/jsx-runtime");var ua=require("react/jsx-runtime"),md="k-chip",DB=[l.hover,l.focus,l.active,l.selected,l.disabled],FB={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]},Yr={size:n.medium,rounded:f.medium,fillMode:x.solid,themeColor:u.base,avatarImage:"/packages/html/assets/avatar.jpg"},To=e=>{let{size:t=Yr.size,rounded:a=Yr.rounded,fillMode:r=Yr.fillMode,themeColor:s=Yr.themeColor,text:i,icon:d,actions:p,showAvatar:m,avatarImage:k=Yr.avatarImage,hover:y,focus:A,active:g,selected:T,disabled:N,...S}=e;return(0,ua.jsxs)("div",{...S,className:o(e.className,md,C(md,{size:t,rounded:a,fillMode:r,themeColor:s}),b(md,{hover:y,focus:A,active:g,disabled:N,selected:T})),children:[d&&(0,ua.jsx)(v,{className:"k-chip-icon",icon:d,size:"small"}),m&&(0,ua.jsx)(Ho,{className:"k-chip-avatar",type:"image",children:(0,ua.jsx)("img",{src:k})}),(0,ua.jsx)("span",{className:"k-chip-content",children:e.children?e.children:i&&(0,ua.jsx)("span",{className:"k-chip-label",children:i})}),p&&(0,ua.jsx)("span",{className:"k-chip-actions",children:p})]})};To.states=DB;To.options=FB;To.className=md;To.defaultOptions=Yr;var Cg=require("react/jsx-runtime"),Np="k-chip-list",zB=[],RB={size:[n.small,n.medium,n.large]},Ng={size:n.medium},No=e=>{let{size:t=Ng.size,...a}=e;return(0,Cg.jsx)("div",{...a,className:o(e.className,Np,C(Np,{size:t})),children:e.children})};No.states=zB;No.options=RB;No.className=Np;No.defaultOptions=Ng;var HB=require("react/jsx-runtime");var WB=require("react/jsx-runtime");var OB=require("react/jsx-runtime");var QB=require("react/jsx-runtime");var Cp=require("react/jsx-runtime");var Si=require("react/jsx-runtime"),Sg="k-color-preview",VB=[],XB={},Ya=e=>{let{color:t,iconName:a,...r}=e;return(0,Si.jsxs)("span",{...r,className:o(e.className,Sg,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&(0,Si.jsx)(v,{icon:a,className:"k-color-preview-icon"}),(0,Si.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ya.states=VB;Ya.options=XB;Ya.className=Sg;var io=require("react/jsx-runtime"),Sp="k-loader",ZB={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},JB=[],jB={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]},kd={size:n.medium,themeColor:u.primary,animation:"pulsing"},Pa=e=>{let{size:t=kd.size,themeColor:a=kd.themeColor,animation:r=kd.animation,...s}=e,i=(0,io.jsx)("span",{className:"k-loader-segment"});return(0,io.jsx)("div",{...s,className:o(e.className,Sp,{[`k-loader-${ZB[r]||r}`]:r},C(Sp,{size:t,themeColor:a})),children:(0,io.jsxs)("div",{className:"k-loader-canvas",children:[r==="pulsing"&&(0,io.jsxs)(io.Fragment,{children:[i,i]}),r==="infinite-spinner"&&(0,io.jsxs)(io.Fragment,{children:[i,i,i]}),r==="converging-spinner"&&(0,io.jsxs)(io.Fragment,{children:[i,i,i,i]})]})})};Pa.states=JB;Pa.options=jB;Pa.className=Sp;Pa.defaultOptions=kd;var Ig=Pa;var Pl=require("react/jsx-runtime"),Ip="k-loader-container",UB=[],qB={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]},Yl={size:n.medium,themeColor:u.primary,loaderType:"pulsing",position:"top",overlay:"dark",panel:!1},Ii=e=>{let{size:t=Yl.size,themeColor:a=Yl.themeColor,loaderType:r=Yl.loaderType,position:s=Yl.position,overlay:i=Yl.overlay,panel:d=Yl.panel,...p}=e;return(0,Pl.jsxs)("div",{...p,className:o(e.className,Ip,C(Ip,{size:t}),{[`k-loader-${s}`]:s}),children:[(0,Pl.jsx)("div",{className:`k-loader-container-overlay k-overlay-${i}`}),(0,Pl.jsxs)("div",{className:o("k-loader-container-inner",{"k-loader-container-panel":d}),children:[(0,Pl.jsx)(Ig,{size:t,themeColor:a,animation:r}),(0,Pl.jsx)("div",{className:`k-loader-container-label !k-text-${a}`,children:"Loading..."})]})]})};Ii.states=UB;Ii.options=qB;Ii.className=Ip;Ii.defaultOptions=Yl;var _B=require("react/jsx-runtime");var $B=require("react/jsx-runtime");var eM=require("react/jsx-runtime");var tM=require("react/jsx-runtime");var Mg=require("react/jsx-runtime"),Bg="k-skeleton",oM=[],aM={},Bp={shape:"text",animation:"pulse"},Ga=e=>{let{shape:t=Bp.shape,animation:a=Bp.animation,...r}=e;return(0,Mg.jsx)("span",{...r,className:o(e.className,Bg,{[`k-skeleton-${t}`]:t,[`k-skeleton-${a}`]:a}),style:e.style})};Ga.states=oM;Ga.options=aM;Ga.className=Bg;Ga.defaultOptions=Bp;var lM=require("react/jsx-runtime");var Eg=require("react/jsx-runtime"),Lg=e=>(0,Eg.jsx)(Ga,{shape:"rect",...e});var rM=require("react/jsx-runtime");var Wo=require("react/jsx-runtime"),Mp="k-form-field",sM=[l.disabled],vt=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,Wo.jsxs)("div",{className:o(Mp,e.className,b(Mp,{disabled:m}),{[`k-col-span-${y}`]:y}),dir:k,children:[t&&(0,Wo.jsxs)("label",{className:o("k-label","k-form-label"),children:[t,r&&(0,Wo.jsx)("span",{className:"k-label-optional",children:"(Optional)"}),p&&(0,Wo.jsx)("span",{className:"k-field-info",children:"(field info)"})]}),a==="horizontal"&&!t&&(0,Wo.jsx)("span",{className:"k-label k-form-label k-label-empty"}),(0,Wo.jsxs)("div",{className:"k-form-field-wrap",children:[s,i&&(0,Wo.jsx)("div",{className:"k-form-hint",children:i}),d&&(0,Wo.jsx)("div",{className:"k-form-error",children:d})]})]})};vt.states=sM;vt.className=Mp;var Ka=require("react/jsx-runtime"),Yg="k-form-fieldset",ka=e=>{let{legend:t,layout:a,cols:r,gapX:s,gapY:i}=e;return(0,Ka.jsxs)("fieldset",{className:o(Yg),children:[t&&(0,Ka.jsx)("legend",{className:"k-form-legend",children:t}),a==="grid"?(0,Ka.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,Ka.jsx)(Ka.Fragment,{children:e.children})]})};ka.className=Yg;var Oo=require("react/jsx-runtime"),gd=require("react"),hd="k-form",iM=[],nM={size:[n.small,n.medium,n.large]},fd={size:n.medium,layout:"basic",tag:"form"},Da=e=>{let{size:t=fd.size,orientation:a,layout:r=fd.layout,formButtons:s,cols:i,gapX:d,gapY:p,tag:m=fd.tag,children:k}=e,y=({tag:g,className:T,children:N})=>g==="form"?(0,Oo.jsx)("form",{className:T,children:N}):(0,Oo.jsx)("div",{className:T,children:N}),A=[];return k&&(Array.isArray(k)?k.map((g,T)=>{g.type===vt?A.push((0,gd.createElement)(vt,{...g.props,orientation:a,key:T})):A.push(g)}):k.type===vt?A.push((0,gd.createElement)(vt,{...k.props,orientation:a,key:`${new Date().getTime()}`})):k.type===ka&&A.push((0,gd.createElement)(ka,{...k.props,key:`${new Date().getTime()}`}))),(0,Oo.jsxs)(y,{tag:m,className:o(e.className,hd,C(hd,{size:t}),{[`${hd}-${a}`]:a}),children:[r==="grid"?(0,Oo.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,Oo.jsx)(Oo.Fragment,{children:A}),s&&(0,Oo.jsx)("div",{className:"k-form-buttons",children:s})]})};Da.states=iM;Da.options=nM;Da.className=hd;Da.defaultOptions=fd;var Gg=require("react/jsx-runtime"),dM="k-actionsheet-footer",Pg={alignment:"stretched",orientation:"horizontal"},Co=e=>{let{alignment:t=Pg.alignment,orientation:a=Pg.orientation,template:r,as:s=r?"div":j,...i}=e;return(0,Gg.jsx)(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,dM),children:e.children})};var Fa=require("react/jsx-runtime"),Kg="k-searchbox",cM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],pM={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Lp={showIcon:!0,icon:"search",size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode},nt=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=Lp.showIcon,icon:N=Lp.icon,...S}=e;return(0,Fa.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,Kg),children:[T&&(0,Fa.jsx)(v,{className:"k-input-icon",icon:N}),(0,Fa.jsx)(ce,{placeholder:a,value:t}),(0,Fa.jsx)(ee,{...e}),(0,Fa.jsx)(_,{...e}),(0,Fa.jsx)(ie,{...e})]})};nt.states=cM;nt.options=pM;nt.className=Kg;nt.defaultOptions=Lp;var mM=require("react/jsx-runtime");var yt=require("react/jsx-runtime"),Dg="k-textbox",uM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],kM={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Gl={showClearButton:!0,showValidationIcon:!0,size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode,separators:!0},$=e=>{let{size:t=Gl.size,rounded:a=Gl.rounded,fillMode:r=Gl.fillMode,separators:s=Gl.separators,showClearButton:i=Gl.showClearButton,showValidationIcon:d=Gl.showValidationIcon,prefix:p,suffix:m,type:k,value:y,placeholder:A,hover:g,focus:T,valid:N,invalid:S,required:B,loading:E,disabled:G,readonly:H,...J}=e;return(0,yt.jsxs)(M,{...J,size:t,rounded:a,fillMode:r,hover:g,focus:T,valid:N,invalid:S,required:B,loading:E,disabled:G,readonly:H,className:o(e.className,Dg),children:[p&&(0,yt.jsxs)(yt.Fragment,{children:[(0,yt.jsx)(re,{children:p}),s&&(0,yt.jsx)(Se,{})]}),(0,yt.jsx)(ce,{placeholder:A,value:y,type:k}),d&&(0,yt.jsx)(_,{valid:N,invalid:S,loading:E,disabled:G}),(0,yt.jsx)(ee,{loading:E,disabled:G}),i&&(0,yt.jsx)(ie,{loading:E,disabled:G,readonly:H,value:y}),m&&(0,yt.jsxs)(yt.Fragment,{children:[s&&(0,yt.jsx)(Se,{}),(0,yt.jsx)(se,{children:m})]})]})};$.states=uM;$.options=kM;$.className=Dg;$.defaultOptions=Gl;var hM=require("react/jsx-runtime");var zg=require("react/jsx-runtime");var Hg=require("react/jsx-runtime");var Zt=require("react/jsx-runtime"),Wg="k-actionsheet-titlebar",fM={},ne=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,Zt.jsxs)("div",{...A,className:o(e.className,Wg),children:[(0,Zt.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[r&&(0,Zt.jsx)("div",{className:"k-actionsheet-actions",children:r}),!y&&(0,Zt.jsxs)("div",{className:"k-actionsheet-title",children:[t&&(0,Zt.jsx)("div",{className:"k-text-center",children:t}),a&&(0,Zt.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:a})]}),y&&(0,Zt.jsx)("div",{className:"k-actionsheet-title",children:y}),s&&(0,Zt.jsx)("div",{className:"k-actionsheet-actions",children:s})]}),(d||i)&&(0,Zt.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?(0,Zt.jsx)($,{value:p,placeholder:m,size:k?"large":"medium"}):(0,Zt.jsx)(nt,{placeholder:"Filter",size:k?"large":"medium"})})]})};ne.className=Wg;ne.defaultOptions=fM;var Pr=require("react/jsx-runtime"),Ep="k-actionsheet-view",gM=[],xM={},bM={},Gr=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...d}=e,p=(s==null?void 0:s.type)===ne&&(0,Pr.jsx)(ne,{adaptive:t,...s==null?void 0:s.props}),m=(i==null?void 0:i.type)===Co&&(0,Pr.jsx)(Co,{...i==null?void 0:i.props});return(0,Pr.jsxs)("div",{...d,className:o(e.className,Ep,{[`${Ep}-animated`]:a}),children:[p,(0,Pr.jsx)("div",{className:"k-actionsheet-content",children:r}),m]})};Gr.states=gM;Gr.options=xM;Gr.className=Ep;Gr.defaultOptions=bM;var Kl=require("react/jsx-runtime"),Og="k-actionsheet",vM=[],yM={},Bi={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},pe=e=>{let{side:t=Bi.side,fullscreen:a=Bi.fullscreen,adaptive:r=Bi.adaptive,overlay:s=Bi.overlay,template:i,children:d,header:p,footer:m,...k}=e;return(0,Kl.jsxs)("div",{className:"k-actionsheet-container",children:[s&&(0,Kl.jsx)("div",{className:"k-overlay"}),(0,Kl.jsx)(Ea,{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,Kl.jsx)("div",{...k,className:o(e.className,Og,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||(0,Kl.jsx)(Gr,{header:p,footer:m,adaptive:r,...e,children:d})})})]})};pe.states=vM;pe.options=yM;pe.className=Og;pe.defaultOptions=Bi;var wM=require("react/jsx-runtime");var no=require("react/jsx-runtime"),Yp="k-actionsheet-item",AM=[l.hover,l.focus,l.selected,l.disabled],Pp=e=>{let{iconName:t,text:a,description:r,hover:s,focus:i,selected:d,disabled:p,...m}=e;return(0,no.jsxs)("span",{...m,className:o(e.className,Yp,b(Yp,{hover:s,focus:i,selected:d,disabled:p})),children:[!e.children&&(0,no.jsx)(no.Fragment,{children:(0,no.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,no.jsx)("span",{className:"k-icon-wrap",children:(0,no.jsx)(v,{className:"k-actionsheet-item-icon",icon:t})}),(0,no.jsxs)("span",{className:"k-actionsheet-item-text",children:[a&&(0,no.jsx)("span",{className:"k-actionsheet-item-title",children:a}),r&&(0,no.jsx)("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};Pp.states=AM;Pp.className=Yp;var Qg=require("react/jsx-runtime");var TM=require("react/jsx-runtime");var NM=require("react/jsx-runtime");var CM=require("react/jsx-runtime");var Fe=require("react/jsx-runtime"),Xg="k-dropdownlist",SM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],IM={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Kr={showValue:!0,arrowIconName:"caret-alt-down",size:n.medium,rounded:f.medium,fillMode:x.solid},me=e=>{let{size:t=Kr.size,rounded:a=Kr.rounded,fillMode:r=Kr.fillMode,arrowIconName:s=Kr.arrowIconName,showValue:i=Kr.showValue,valueIconName:d,prefix:p,suffix:m,value:k,placeholder:y,hover:A,focus:g,valid:T,invalid:N,required:S,loading:B,disabled:E,readonly:G,popup:H,opened:J,adaptive:Ce,adaptiveSettings:Ue,adaptiveTitle:It,adaptiveSubtitle:yo,adaptiveFilter:Nl,...Tr}=e;return(0,Fe.jsxs)(Fe.Fragment,{children:[(0,Fe.jsxs)(Xt,{...Tr,size:t,rounded:a,fillMode:r,hover:A,focus:g,valid:T,invalid:N,required:S,loading:B,disabled:E,readonly:G,className:o(e.className,Xg,{"k-icon-picker":!i&&d}),children:[(0,Fe.jsx)(re,{children:p}),(0,Fe.jsx)(ma,{placeholder:y,value:k,showValue:i,valueIconName:d}),(0,Fe.jsx)(_,{valid:T,invalid:N,loading:B,disabled:E}),(0,Fe.jsx)(ee,{loading:B,disabled:E}),(0,Fe.jsx)(se,{children:m}),(0,Fe.jsx)(c,{className:"k-input-button",icon:s,rounded:null,size:e.size,fillMode:e.fillMode})]}),J&&H&&(0,Fe.jsx)(O,{className:"k-list-container k-dropdownlist-popup",children:H}),Ce&&(0,Fe.jsx)(pe,{adaptive:!0,...Ue,header:(0,Fe.jsx)(ne,{actionsEnd:(0,Fe.jsx)(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Nl,inputValue:k,inputPlaceholder:y,title:It,subtitle:yo}),children:(0,Fe.jsx)("div",{className:"k-list-container",children:(0,Fe.jsxs)(U,{size:"large",children:[(0,Fe.jsx)(D,{text:"List item"}),(0,Fe.jsx)(D,{text:"List item"}),(0,Fe.jsx)(D,{text:"List item"})]})})})]})};me.states=SM;me.options=IM;me.className=Xg;me.defaultOptions=Kr;var BM=require("react/jsx-runtime");var Zg=require("react/jsx-runtime");var Gp=require("react/jsx-runtime");var MM=require("react/jsx-runtime");var Jg=require("react/jsx-runtime");var jg=require("react/jsx-runtime");var Kp=require("react/jsx-runtime");var Dp=require("react/jsx-runtime");var Fp=require("react/jsx-runtime"),xd="k-radio",LM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked],EM={size:[n.small,n.medium,n.large]},Ug={size:n.medium},ha=e=>{let{id:t,checked:a,hover:r,focus:s,disabled:i,invalid:d,valid:p,required:m,size:k=Ug.size,...y}=e;return(0,Fp.jsx)("span",{className:"k-radio-wrap",children:(0,Fp.jsx)("input",{...y,id:t,type:"radio",checked:a,required:m,className:o(e.className,xd,C(xd,{size:k}),b(xd,{hover:r,focus:s,disabled:i,invalid:d,valid:p,checked:a}))})})};ha.states=LM;ha.options=EM;ha.className=xd;ha.defaultOptions=Ug;var $g=require("react/jsx-runtime"),qg="k-radio-list",YM=[],PM={},_g={layout:"vertical"},Dr=e=>{let{layout:t=_g.layout,...a}=e;return(0,$g.jsx)("ul",{...a,className:o(e.className,qg,{[`k-list-${t}`]:t}),children:e.children})};Dr.states=YM;Dr.options=PM;Dr.className=qg;Dr.defaultOptions=_g;var tx=require("react/jsx-runtime"),ex="k-radio-list-item",GM=[],KM={},DM={},Fr=e=>{let{...t}=e;return(0,tx.jsx)("li",{...t,className:o(e.className,ex),children:e.children})};Fr.states=GM;Fr.options=KM;Fr.className=ex;Fr.defaultOptions=DM;var FM=require("react/jsx-runtime");var Rp=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 Ie=require("react/jsx-runtime"),bd=({size:e,...t})=>(0,Ie.jsx)(Da,{formButtons:(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)(c,{className:"k-form-submit",themeColor:"primary",size:e,children:"Submit"}),(0,Ie.jsx)(c,{className:"k-form-clear",size:e,children:"Clear"})]}),children:(0,Ie.jsxs)(ka,{legend:"Form Legend",children:[(0,Ie.jsx)(vt,{label:"Label",editor:(0,Ie.jsx)($,{size:e})}),(0,Ie.jsx)(vt,{label:"Label",hint:"Hint text",editor:(0,Ie.jsx)(me,{value:"Dropdown List",size:e})}),(0,Ie.jsx)(vt,{label:"City",editor:(0,Ie.jsxs)("ul",{className:"k-radio-list k-list-horizontal",children:[(0,Ie.jsxs)("li",{className:"k-radio-list-item",children:[(0,Ie.jsx)(ha,{checked:!0,size:e}),(0,Ie.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,Ie.jsxs)("li",{className:"k-radio-list-item",children:[(0,Ie.jsx)(ha,{size:e}),(0,Ie.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,Ie.jsxs)("li",{className:"k-radio-list-item",children:[(0,Ie.jsx)(ha,{size:e}),(0,Ie.jsx)("label",{className:"k-radio-label",children:"Label"})]})]})})]}),size:e,...t});var Vp=require("react/jsx-runtime");var ax=require("react/jsx-runtime"),Mi="k-button-group",RM=[l.disabled],HM={fillMode:[x.solid,x.flat,x.outline,x.clear,x.link]},ox={fillMode:x.solid},K=e=>{let{fillMode:t=ox.fillMode,disabled:a,stretched:r,...s}=e;return(0,ax.jsx)("div",{...s,className:o(e.className,Mi,C(Mi,{fillMode:t}),b(Mi,{disabled:a}),{[`${Mi}-stretched`]:r}),children:e.children})};K.states=RM;K.options=HM;K.className=Mi;K.defaultOptions=ox;var Xp=require("react/jsx-runtime");var Zp=require("react/jsx-runtime");var Jp=require("react/jsx-runtime");var jp=require("react/jsx-runtime");var zl=require("react/jsx-runtime"),lx="k-menu-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]},Fl={size:n.medium,rounded:f.medium,fillMode:x.solid,themeColor:u.base,showArrow:!0,arrowIconName:"caret-alt-down"},oe=e=>{let{size:t=Fl.size,rounded:a=Fl.rounded,fillMode:r=Fl.fillMode,themeColor:s=Fl.themeColor,hover:i,focus:d,active:p,selected:m,disabled:k,icon:y,text:A,showArrow:g=Fl.showArrow,arrowIconName:T=Fl.arrowIconName,popup:N,opened:S,...B}=e;return(0,zl.jsxs)(zl.Fragment,{children:[(0,zl.jsx)(c,{...B,className:o(e.className,lx),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,zl.jsx)(O,{className:"k-menu-popup",children:N})]})};oe.states=WM;oe.options=OM;oe.className=lx;oe.defaultOptions=Fl;var QM=require("react/jsx-runtime");var VM=require("react/jsx-runtime");var XM=require("react/jsx-runtime");var co=require("react/jsx-runtime"),qp="k-menu-item",ZM=[l.hover,l.focus,l.active,l.selected,l.disabled],JM={},rx={iconPosition:"before"},ut=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=rx.iconPosition,dir:T,children:N,...S}=e,B=(0,co.jsx)(co.Fragment,{});N&&N.forEach(G=>{if(G.type==="MenuItemContent"){B.props.children.push(G);return}});let E=A;return E||(E=T==="rtl"?"caret-alt-left":"caret-alt-right"),(0,co.jsxs)("li",{...S,className:o(e.className,qp,"k-item",b(qp,{focus:a,disabled:i,hover:t,active:r,selected:s}),{"k-first":m,"k-last":k}),children:[(0,co.jsxs)("span",{className:o("k-link k-menu-link"),children:[d&&g==="before"&&(0,co.jsx)(v,{className:"k-menu-link-icon",icon:d}),(0,co.jsx)("span",{className:"k-menu-link-text",children:p}),d&&g==="after"&&(0,co.jsx)(v,{className:"k-menu-link-icon",icon:d}),y&&(0,co.jsx)("span",{className:"k-menu-expand-arrow",children:(0,co.jsx)(v,{icon:E})})]}),B]})};ut.states=ZM;ut.options=JM;ut.className=qp;ut.defaultOptions=rx;var po=require("react/jsx-runtime"),_p="k-menu-item",jM=[l.hover,l.focus,l.active,l.selected,l.disabled],UM={},$p={dir:"ltr",iconPosition:"before"},So=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=$p.iconPosition,dir:T=$p.dir,children:N,popup:S,...B}=e,E=(0,po.jsx)(po.Fragment,{});N&&N.forEach(H=>{if(H.type==="MenuListItemContent"){E.props.children.push(H);return}});let G=A;return G||(G=T==="rtl"?"caret-alt-left":"caret-alt-right"),(0,po.jsxs)("li",{...B,className:o(e.className,_p,"k-item",b(_p,{focus:a,disabled:i}),{"k-first":m,"k-last":k}),children:[(0,po.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,po.jsx)(v,{className:"k-menu-link-icon",icon:d}),(0,po.jsx)("span",{className:"k-menu-link-text",children:p}),d&&g==="after"&&(0,po.jsx)(v,{className:"k-menu-link-icon",icon:d}),y&&(0,po.jsx)("span",{className:"k-menu-expand-arrow",children:(0,po.jsx)(v,{icon:G})})]}),E,S]})};So.states=jM;So.options=UM;So.className=_p;So.defaultOptions=$p;var nx=require("react/jsx-runtime"),sx="k-menu-scroll-wrapper",qM=[],_M={},$M={},Li=e=>{let{className:t,children:a,orientation:r,...s}=e;return(0,nx.jsx)("div",{...s,className:o(t,sx,{"k-menu-scroll-wrapper-vertical":r==="vertical"}),children:a})};Li.states=qM;Li.options=_M;Li.className=sx;Li.defaultOptions=$M;var ix=Li;var kt=require("react/jsx-runtime"),em="k-menu",eL=[],tL={},vd={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Io=e=>{let{children:t,orientation:a=vd.orientation,header:r=vd.header,scrollable:s,scrollButtonsPosition:i=vd.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,kt.jsx)("ul",{dir:p,...k,className:o(e.className,"k-reset",em,{[`${em}-${a}`]:a,"k-header":r}),children:t});return(0,kt.jsxs)(kt.Fragment,{children:[s?(0,kt.jsxs)(ix,{orientation:a,style:d,dir:e.dir,children:[i==="start"&&(0,kt.jsxs)(kt.Fragment,{children:[(0,kt.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,kt.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,kt.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,kt.jsxs)(kt.Fragment,{children:[(0,kt.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,kt.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,kt.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]})};Io.states=eL;Io.options=tL;Io.className=em;Io.defaultOptions=vd;var cx=require("react/jsx-runtime"),tm="k-separator",dx={orientation:"horizontal"},Ei=e=>{let{orientation:t=dx.orientation,...a}=e;return(0,cx.jsx)("li",{...a,className:o(e.className,"k-item",tm,{[`${tm}-${t}`]:t})})};Ei.className=tm;Ei.defaultOptions=dx;var px=require("react/jsx-runtime");var lm=require("react/jsx-runtime"),mx=require("react"),om="k-menu-group",oL=[],aL={size:[n.small,n.medium,n.large]},am={size:n.medium,dir:"ltr"},fa=e=>{let{children:t,size:a=am.size,dir:r=am.dir,...s}=e,i=[];return t&&Array.isArray(t)&&t.map((d,p)=>{d.type===So?i.push((0,mx.createElement)(So,{...d.props,dir:r,key:p})):d.type===Ei?i.push((0,lm.jsx)(Ei,{})):i.push(d)}),(0,lm.jsx)("ul",{...s,className:o(e.className,om,C(om,{size:a})),children:i})};fa.states=oL;fa.options=aL;fa.className=om;fa.defaultOptions=am;var rm=require("react/jsx-runtime");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 ux=require("react/jsx-runtime");var ga=require("react/jsx-runtime"),cm="k-split-button",lL=[l.hover,l.focus,l.active,l.selected,l.disabled],rL={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]},zr={size:n.medium,rounded:f.medium,fillMode:x.solid,themeColor:u.base,arrowIconName:"caret-alt-down"},Ve=e=>{let{size:t=zr.size,rounded:a=zr.rounded,fillMode:r=zr.fillMode,themeColor:s=zr.themeColor,hover:i,focus:d,active:p,selected:m,disabled:k,icon:y,text:A,arrowIconName:g=zr.arrowIconName,popup:T,opened:N,...S}=e;return(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsxs)("div",{...S,className:o(e.className,cm,"k-button-group",C(cm,{rounded:a})),children:[(0,ga.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,ga.jsx)(c,{className:"k-split-button-arrow",icon:g,size:t,rounded:a,fil