@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 290 kB
JavaScript
var o=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?o(...t):typeof t=="object"?Object.keys(t).map((a,r)=>t[r]||t[a]&&a||null).filter(a=>a!==null).join(" "):t).filter(t=>!!t).join(" ");var C=(e,t)=>o({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.fillMode}-${t.themeColor}`]:t.fillMode&&t.themeColor},{[`${e}-${t.themeColor}`]:t.themeColor&&t.fillMode===void 0},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full"}),x=(e,t)=>o({"k-valid":t.valid,"k-invalid":t.invalid,"k-hover":t.hover,"k-focus":t.focus,"k-checked":t.checked,"k-active":t.active,"k-selected":t.selected,"k-disabled":t.disabled,"k-indeterminate":t.indeterminate&&!t.checked,"k-loading":t.loading,"k-empty":t.empty,"k-readonly":t.readonly,"k-highlighted":t.highlighted});var n={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},h={small:"small",medium:"medium",large:"large",full:"full"},b={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},u={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},l={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted"},xt={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};import{Fragment as Yv,jsx as ps,jsxs as Pv}from"react/jsx-runtime";var Ev=[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:v,empty:T,hover:g,focus:A,active:N,selected:S,disabled:B,...L}=e,D=`k-calendar-${a?"th":"td"}`,H=[e.className,D,x(D,{hover:g,focus:A,active:N,selected:S,disabled:B}),{"k-today":r,"k-weekend":s,"k-other-month":i,"k-alt":d,"k-range-start":p,"k-range-mid":m,"k-range-end":k,"k-empty":T}];return a?ps("th",{...L,className:o(H),children:t}):d?ps("td",{...L,className:o(H),children:t}):ps("td",{...L,className:o(H),children:T&&!i?ps(Yv,{children:"\xA0"}):Pv("span",{className:"k-link",children:[t,v&&ps("span",{className:"k-day-indicator"})]})})};w.states=Ev;import{Fragment as Fv,jsx as kk}from"react/jsx-runtime";var Rc="k-icon k-font-icon",Gv=[],Kv={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]},Dv={},ms=e=>{let{size:t,themeColor:a,icon:r,rotate:s,flip:i,...d}=e;return r?kk("span",{...d,className:o(e.className,Rc,C(Rc,{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"})}):kk(Fv,{})};ms.states=Gv;ms.options=Kv;ms.className=Rc;ms.defaultOptions=Dv;var fk=ms;import{Fragment as Hv,jsx as yn}from"react/jsx-runtime";var zc="k-icon k-svg-icon",Rv=[],zv={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]},hk={viewBox:"0 0 24 24"},us=e=>{let{size:t,themeColor:a,rotate:r,flip:s,viewBox:i=hk.viewBox,icon:d,...p}=e;if(!d)return yn(Hv,{});d==="none"&&{...p,className:o(e.className,zc,"k-none")};let m=typeof d=="object"&&d.name&&d.name;return yn("span",{...p,className:o(e.className,zc,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:yn("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})})};us.states=Rv;us.options=zv;us.className=zc;us.defaultOptions=hk;var Hc=us;import*as gk from"@progress/kendo-svg-icons";import{Fragment as xk,jsx as ks}from"react/jsx-runtime";var Ov=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Wv=[],Qv={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]},Oc={viewBox:"0 0 24 24",type:"svg"},y=e=>{let{size:t,themeColor:a,icon:r,type:s=Oc.type,rotate:i,flip:d,viewBox:p=Oc.viewBox,...m}=e;if(!r)return ks(xk,{});if(s==="svg"){if(r==="none")return ks(Hc,{...m,icon:r,size:t});let k=Ov(`${r}-icon`);return gk[k]?ks(Hc,{...m,icon:gk[k],size:t,themeColor:a,rotate:i,flip:d,viewBox:p}):ks(xk,{})}return ks(fk,{...m,icon:r,size:t,themeColor:a,rotate:i,flip:d})};y.states=Wv;y.options=Qv;y.defaultOptions=Oc;var Wc=y;import{Fragment as Zv,jsx as fs,jsxs as bk}from"react/jsx-runtime";var wn="k-button",Vv=[l.hover,l.focus,l.active,l.selected,l.disabled],Xv={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Ta={size:n.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},c=e=>{let{size:t=Ta.size,rounded:a=Ta.rounded,fillMode:r=Ta.fillMode,themeColor:s=Ta.themeColor,showArrow:i=Ta.showArrow,arrowIconName:d=Ta.arrowIconName,hover:p,focus:m,active:k,selected:v,disabled:T,icon:g,text:A,iconClassName:N,...S}=e,B=g!==void 0,L=e.children!==void 0;return bk("button",{...S,className:o(e.className,wn,C(wn,{size:t,rounded:a,fillMode:r,themeColor:s}),x(wn,{hover:p,focus:m,active:k,disabled:T,selected:v}),{"k-icon-button":!A&&!L&&B}),children:[g&&fs(y,{className:o(N,"k-button-icon"),icon:g}),A?bk(Zv,{children:[A&&fs("span",{className:"k-button-text",children:A}),e.children]}):e.children&&fs("span",{className:"k-button-text",children:e.children}),i&&fs("span",{className:"k-menu-button-arrow k-button-arrow",children:fs(y,{icon:d})})]})};c.states=Vv;c.options=Xv;c.className=wn;c.defaultOptions=Ta;import{jsx as Jv}from"react/jsx-runtime";var Ze=e=>Jv(c,{icon:"folder",...e,children:void 0});import{jsx as jv}from"react/jsx-runtime";var Rt=e=>jv(c,{icon:"folder",children:"Button",...e});import{jsx as HG}from"react/jsx-runtime";import{jsx as hs,jsxs as vk}from"react/jsx-runtime";var yk="k-calendar-header",Uv={size:[n.small,n.medium,n.large]},Tl={calendarTitleText:"October 2021",showToday:!0,showNavigationButtons:!0,orientation:"horizontal",size:n.medium},Aa=e=>{let{calendarTitleText:t=Tl.calendarTitleText,showToday:a=Tl.showToday,showNavigationButtons:r=Tl.showNavigationButtons,orientation:s=Tl.orientation,size:i=Tl.size,calendarView:d,dir:p,...m}=e,k=p==="rtl"?"chevron-right":"chevron-left",v=p==="rtl"?"chevron-left":"chevron-right";return vk("div",{...m,className:o(e.className,yk,{"k-vstack":s==="vertical"}),children:[hs(c,{disabled:d==="century",className:"k-calendar-title",text:t,size:i,fillMode:"flat",themeColor:"primary"}),hs("span",{className:"k-spacer"}),vk("span",{className:"k-calendar-nav",children:[r&&hs(c,{className:"k-calendar-nav-prev",icon:k,size:i,fillMode:"flat"}),a&&hs(c,{size:i,fillMode:"flat",className:"k-calendar-nav-today",children:"Today"}),r&&hs(c,{className:"k-calendar-nav-next",icon:v,size:i,fillMode:"flat"})]})]})};Aa.options=Uv;Aa.className=yk;Aa.defaultOptions=Tl;import{jsx as wk}from"react/jsx-runtime";var Tk="k-calendar-footer",qv={size:[n.small,n.medium,n.large]},Qc={size:n.medium,calendarFooterText:"Tuesday, October 12, 2021"},gs=e=>{let{size:t=Qc.size,calendarFooterText:a=Qc.calendarFooterText,...r}=e;return wk("div",{...r,className:o(e.className,Tk),children:wk(c,{size:t,fillMode:"flat",themeColor:"primary",className:"k-calendar-nav-today",children:a})})};gs.options=qv;gs.className=Tk;gs.defaultOptions=Qc;import{jsx as ey}from"react/jsx-runtime";var _v=[],$v={},Ak=e=>{let{type:t,...a}=e,r=t==="p"?"paragraph":t,s=t.includes("display")?"div":t;return ey(s,{...a,className:o(e.className,{[`k-${r}`]:t}),children:e.children})};Ak.states=_v;Ak.options=$v;import{jsx as ay}from"react/jsx-runtime";var Tn="k-actions",ty=[],oy={},Vc={alignment:"start",orientation:"horizontal"},W=e=>{let{alignment:t=Vc.alignment,orientation:a=Vc.orientation,...r}=e;return ay("div",{...r,className:o(Tn,{[`${Tn}-${t}`]:t,[`${Tn}-${a}`]:a},e.className),children:e.children})};W.states=ty;W.options=oy;W.className=Tn;W.defaultOptions=Vc;var Nk=W;import{jsx as sy}from"react/jsx-runtime";var An="k-input",ly=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],ry={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Nn={size:n.medium,rounded:n.medium,fillMode:b.solid},M=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p,size:m=Nn.size,rounded:k=Nn.rounded,fillMode:v=Nn.fillMode,...T}=e;return sy("span",{...T,className:o(e.className,An,C(An,{size:m,rounded:k,fillMode:v}),x(An,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p}))})};M.states=ly;M.options=ry;M.className=An;M.defaultOptions=Nn;import{jsx as dy}from"react/jsx-runtime";var Cn="k-picker",iy=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],ny={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Sn={size:n.medium,rounded:h.medium,fillMode:b.solid},bt=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p,size:m=Sn.size,rounded:k=Sn.rounded,fillMode:v=Sn.fillMode,...T}=e;return dy("span",{...T,className:o(e.className,Cn,C(Cn,{size:m,rounded:k,fillMode:v}),x(Cn,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p})),children:e.children})};bt.states=iy;bt.options=ny;bt.className=Cn;bt.defaultOptions=Sn;import{Fragment as my,jsx as Xc}from"react/jsx-runtime";var Ck="k-clear-value",cy=[l.disabled,l.loading,l.readonly],py={},te=e=>{let{disabled:t,loading:a,readonly:r,value:s}=e;return t||r||a||!s?Xc(my,{}):Xc("span",{className:o(e.className,Ck),children:Xc(y,{icon:"x"})})};te.states=cy;te.options=py;te.className=Ck;import{jsx as fy}from"react/jsx-runtime";var Zc="k-input-inner",uy=[],ky={},In={type:"text",autocomplete:"off",value:"",placeholder:""},se=e=>{let{value:t=In.value,type:a=In.type,placeholder:r=In.placeholder,autocomplete:s=In.autocomplete,...i}=e;return fy("input",{...i,type:a,className:o(e.className,Zc,C(Zc,e)),placeholder:r,autoComplete:s,defaultValue:t})};se.states=uy;se.options=ky;se.className=Zc;import{jsx as Sk,jsxs as xy}from"react/jsx-runtime";var Jc="k-input-inner",hy=[],gy={},bo=e=>{let{value:t,placeholder:a,showValue:r,valueIcon:s,valueIconName:i,...d}=e;return xy("span",{...d,className:o(e.className,Jc,C(Jc,e)),children:[s,!s&&i&&Sk(y,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&Sk("span",{className:"k-input-value-text",children:t})]})};bo.states=hy;bo.options=gy;bo.className=Jc;import{jsx as yy}from"react/jsx-runtime";var jc="k-input-inner",by=[],vy={},Ik={value:"",placeholder:""},xs=e=>{let{value:t=Ik.value,placeholder:a=Ik.placeholder,rows:r,...s}=e;return yy("textarea",{...s,className:o(e.className,jc,C(jc,e)),placeholder:a,rows:r,defaultValue:t})};xs.states=by;xs.options=vy;xs.className=jc;import{Fragment as Ty,jsx as Bk}from"react/jsx-runtime";var Mk="k-input-loading-icon",wy=[l.disabled,l.loading],J=e=>{let{disabled:t,loading:a}=e;return t||!a?Bk(Ty,{}):Bk("span",{className:o(e.className,Mk,"k-icon k-i-loading")})};J.states=wy;J.className=Mk;import{Fragment as Cy,jsx as Lk}from"react/jsx-runtime";var Ek="k-input-validation-icon",Ay=[l.valid,l.invalid,l.disabled,l.loading],Ny={},X=e=>{let{valid:t,invalid:a,disabled:r,loading:s}=e,i=a?"warning-circle":"check-circle";return r||s||!!!(t||a)?Lk(Cy,{}):Lk(y,{className:o(Ek),icon:i})};X.states=Ay;X.options=Ny;X.className=Ek;import{Fragment as By,jsx as Yk}from"react/jsx-runtime";var Sy="k-input-prefix",Iy={direction:"horizontal"},$=e=>{let{direction:t=Iy.direction,...a}=e;return e.children?Yk("span",{...a,className:o(Sy,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Yk(By,{})};import{Fragment as Ey,jsx as Pk}from"react/jsx-runtime";var My="k-input-suffix",Ly={direction:"horizontal"},ee=e=>{let{direction:t=Ly.direction,...a}=e;return e.children?Pk("span",{...a,className:o(My,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Pk(Ey,{})};import{jsx as ZK}from"react/jsx-runtime";import{jsx as qK}from"react/jsx-runtime";import{jsx as Py}from"react/jsx-runtime";var Gk="k-input-separator",Yy={direction:"vertical"},ge=e=>{let{direction:t=Yy.direction,...a}=e;return Py("span",{...a,className:o(Gk,e.className,{[`${Gk}-${t}`]:t})})};import{jsx as Kk}from"react/jsx-runtime";var Dk="k-animation-container",Gy=[],Ky={},Fk={positionMode:"absolute"},Go=e=>{let{positionMode:t=Fk.positionMode,animationStyle:a,offset:r,...s}=e;return Kk("div",{...s,style:{...r,...e.style},className:o(e.className,Dk,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:Kk("div",{className:"k-child-animation-container",style:a,children:e.children})})};Go.states=Gy;Go.options=Ky;Go.className=Dk;Go.defaultOptions=Fk;import{jsx as Rk}from"react/jsx-runtime";var zk="k-popup",Dy=[],Fy={},Hk={positionMode:"absolute"},F=e=>{let{offset:t,positionMode:a=Hk.positionMode,animationStyle:r,...s}=e;return Rk(Go,{positionMode:a,offset:t,animationStyle:r,children:Rk("div",{...s,className:o(e.className,zk),children:e.children})})};F.states=Dy;F.options=Fy;F.className=zk;F.defaultOptions=Hk;import{jsx as zy}from"react/jsx-runtime";var Ry="k-no-data",bs=e=>zy("span",{className:o(Ry,e.className),children:e.children});import{jsx as Al,jsxs as Ok}from"react/jsx-runtime";var Uc="k-list",Hy=[],Oy={size:[n.small,n.medium,n.large]},Wk={size:n.medium},Q=e=>{let{size:t=Wk.size,virtualization:a,children:r,optionLabel:s,customValue:i,screenReaders:d,...p}=e,m,k,v,T,g=[];return r?r.map((A,N)=>{A.type===xe?(A.props.root===!0?(m=A.props.label,A.props.children.map((S,B)=>{g.push(Al(P,{...S.props},`optChild-${B}-${new Date().getTime()}`))})):A.props.children.forEach((S,B)=>{let L="";B===0&&(L=A.props.label),g.push(Al(P,{className:B===0?"k-first":"",...S.props,groupLabel:L},`groupLabel-${B}-${new Date().getTime()}`))}),k=Al(xe,{label:m,virtualization:a,children:g})):A.type===P&&(g.push(Al(P,{...A.props},`${A.type}-${N}`)),v=Al(Nl,{virtualization:a,children:g}),d&&(T=Ok(bs,{className:"k-sr-only",children:[g.length," items found."]})))}):T=Al(bs,{children:"No data found."}),Ok("div",{...p,className:o(e.className,Uc,C(Uc,{size:t}),{"k-virtual-list":a}),children:[s,i,k,v,T]})};Q.states=Hy;Q.options=Oy;Q.className=Uc;Q.defaultOptions=Wk;import{jsx as Na,jsxs as Vy}from"react/jsx-runtime";var qc="k-list",Wy=[],Qy={size:[n.small,n.medium,n.large]},Qk={size:n.medium},Ca=e=>{let{size:t=Qk.size,virtualization:a,children:r,...s}=e,i,d,p,m=[];return r?r.map((k,v)=>{k.type===xe?(k.props.root===!0?(i=k.props.label,k.props.children.map((T,g)=>{m.push(Na(P,{...T.props},`optChild-${g}-${new Date().getTime()}`))})):(m.push(Na(Vk,{...k.props,children:k.props.label},`listChild-${v}`)),k.props.children.map((T,g)=>{m.push(Na(P,{...T.props},`fwOptChild-${g}-${new Date().getTime()}`))})),d=Na(xe,{label:i,virtualization:a,children:m})):k.type===P&&(m.push(Na(P,{...k.props},`${k.type}-${v}`)),p=Na(Nl,{virtualization:a,children:m}))}):p=Na(bs,{children:"No data found."}),Vy("div",{...s,className:o(e.className,qc,C(qc,{size:t}),{"k-virtual-list":a}),children:[d,p]})};Ca.states=Wy;Ca.options=Qy;Ca.className=qc;Ca.defaultOptions=Qk;import{jsx as Xk}from"react/jsx-runtime";var Bn="k-checkbox",Xy=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],Zy={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full]},_c={size:n.medium,rounded:h.medium},Oe=e=>{let{id:t,checked:a,indeterminate:r,hover:s,focus:i,disabled:d,invalid:p,valid:m,required:k,size:v=_c.size,rounded:T=_c.rounded,...g}=e;return Xk("span",{className:"k-checkbox-wrap",children:Xk("input",{...g,id:t,type:"checkbox",defaultChecked:a,required:k,className:o(e.className,Bn,C(Bn,{size:v,rounded:T}),x(Bn,{hover:s,focus:i,disabled:d,invalid:p,valid:m,indeterminate:r,checked:a}))})})};Oe.states=Xy;Oe.options=Zy;Oe.className=Bn;Oe.defaultOptions=_c;import{jsx as Uy}from"react/jsx-runtime";var Zk="k-checkbox-list",Jy=[],jy={},Jk={layout:"vertical"},Cl=e=>{let{layout:t=Jk.layout,...a}=e;return Uy("ul",{...a,className:o(e.className,Zk,{[`k-list-${t}`]:t}),children:e.children})};Cl.states=Jy;Cl.options=jy;Cl.className=Zk;Cl.defaultOptions=Jk;import{jsx as ew}from"react/jsx-runtime";var jk="k-checkbox-list-item",qy=[],_y={},$y={},Sl=e=>{let{...t}=e;return ew("li",{...t,className:o(e.className,jk),children:e.children})};Sl.states=qy;Sl.options=_y;Sl.className=jk;Sl.defaultOptions=$y;import{Fragment as eF,jsx as $D,jsxs as tF}from"react/jsx-runtime";import{Fragment as sF,jsx as rF,jsxs as iF}from"react/jsx-runtime";import{Fragment as mF,jsx as pF,jsxs as uF}from"react/jsx-runtime";import{Fragment as xF,jsx as gF,jsxs as bF}from"react/jsx-runtime";import{jsx as TF}from"react/jsx-runtime";import{jsx as SF}from"react/jsx-runtime";import{jsx as Mn,jsxs as lw}from"react/jsx-runtime";var ep="k-list-item",tw=[l.hover,l.focus,l.selected,l.disabled],ow={},aw={},P=e=>{let{text:t,groupLabel:a,group:r,showIcon:s,iconName:i,showCheckbox:d,checked:p,hover:m,focus:k,selected:v,disabled:T,...g}=e,A=t||e.children;return lw("li",{...g,className:o(e.className,r?"k-list-group-item":ep,x(ep,{hover:m,focus:k,disabled:T,selected:v})),children:[d&&Mn(Oe,{checked:p}),s&&Mn(y,{icon:i}),Mn("span",{className:"k-list-item-text",children:A}),a&&a!==""&&Mn("div",{className:"k-list-item-group-label",children:a})]})};P.states=tw;P.options=ow;P.className=ep;P.defaultOptions=aw;import{jsx as tp,jsxs as sw}from"react/jsx-runtime";var rw="k-list-content",Nl=e=>{let{virtualization:t,...a}=e;return sw("div",{...a,className:o(rw,e.className),children:[tp("ul",{className:o("k-list-ul"),children:e.children}),t&&tp("div",{className:"k-height-container",children:tp("div",{})})]})};import{jsx as Uk}from"react/jsx-runtime";var iw="k-list-group-sticky-header",qk=e=>Uk("div",{className:o(iw,e.className),children:Uk("div",{className:"k-list-header-text",children:e.children})});import{Fragment as nw,jsx as _k,jsxs as dw}from"react/jsx-runtime";var xe=e=>{let{virtualization:t,label:a}=e;return dw(nw,{children:[a&&_k(qk,{children:a}),e.children&&_k(Nl,{virtualization:t,children:e.children})]})};import{jsx as $k}from"react/jsx-runtime";var cw="k-list-group-item",Vk=e=>$k("li",{className:o(cw,e.className),children:$k("span",{className:"k-list-item-text",children:e.children})});import{jsx as kw}from"react/jsx-runtime";var op="k-list-optionlabel",pw=[l.hover,l.focus,l.selected,l.disabled],mw={},uw={},Ln=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return kw("div",{...d,className:o(op,x(op,{hover:a,focus:r,selected:s,disabled:i})),children:t})};Ln.states=pw;Ln.options=mw;Ln.className=op;Ln.defaultOptions=uw;import{jsx as xw}from"react/jsx-runtime";var ap="k-list-custom-value",fw=[l.hover,l.focus,l.selected,l.disabled],hw={},gw={},Je=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return xw("div",{...d,className:o(ap,x(ap,{hover:a,focus:r,selected:s,disabled:i})),children:t})};Je.states=fw;Je.options=hw;Je.className=ap;Je.defaultOptions=gw;import{jsx as cR}from"react/jsx-runtime";import{jsx as kR}from"react/jsx-runtime";import{jsx as xR,jsxs as bR}from"react/jsx-runtime";import{jsx as TR,jsxs as AR}from"react/jsx-runtime";import{jsx as IR}from"react/jsx-runtime";import{jsx as ER,jsxs as YR}from"react/jsx-runtime";import{jsx as DR,jsxs as FR}from"react/jsx-runtime";import{jsx as lp,jsxs as yw}from"react/jsx-runtime";var ef="k-suggestion-group",bw=[],vw={},tf={scrollable:!0},Sa=e=>{let{scrollable:t=tf.scrollable,...a}=e,r=lp("div",{...a,className:o(ef,e.className),children:e.children});return t?yw("div",{className:"k-suggestion-scrollwrap",children:[lp(c,{icon:"chevron-left"}),r,lp(c,{icon:"chevron-right"})]}):r};Sa.states=bw;Sa.options=vw;Sa.className=ef;Sa.defaultOptions=tf;import{jsx as Nw}from"react/jsx-runtime";var En="k-suggestion",ww=[l.active,l.hover,l.focus],Tw={themeColor:[u.base,u.primary,u.secondary]},Aw={text:"Suggestion"},Ia=e=>{let{themeColor:t,active:a,hover:r,focus:s,text:i,...d}=e;return Nw("span",{...d,className:o(e.className,En,x(En,{hover:r,active:a,focus:s}),C(En,{themeColor:t})),children:i})};Ia.states=ww;Ia.options=Tw;Ia.className=En;Ia.item=Aw;import{Fragment as uz,jsx as mz,jsxs as kz}from"react/jsx-runtime";import{Fragment as bz,jsx as xz,jsxs as vz}from"react/jsx-runtime";import{jsx as of}from"react/jsx-runtime";var vs="k-avatar";var Cw=[l.hover,l.focus,l.active,l.selected,l.disabled],Sw={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Ba={type:"text",size:n.medium,rounded:h.full,fillMode:b.solid,themeColor:u.primary,border:!1},eo=e=>{let{size:t=Ba.size,rounded:a=Ba.rounded,fillMode:r=Ba.fillMode,themeColor:s=Ba.themeColor,type:i=Ba.type,border:d=Ba.border,...p}=e;return of("div",{...p,className:o(e.className,vs,C(vs,{size:t,rounded:a,fillMode:r,themeColor:s}),{[`${vs}-bordered`]:d}),children:of("span",{className:`${vs}-${i}`,children:e.children})})};eo.states=Cw;eo.options=Sw;eo.className=vs;eo.defaultOptions=Ba;import{jsx as Ez}from"react/jsx-runtime";import{jsx as Kz}from"react/jsx-runtime";import{jsx as zz}from"react/jsx-runtime";import{jsx as Mw}from"react/jsx-runtime";var ys="k-badge",Iw=[],Bw={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.outline],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},ws={size:n.medium,fillMode:b.solid,themeColor:u.primary,cutoutBorder:!1},Il=e=>{let{size:t=ws.size,fillMode:a=ws.fillMode,themeColor:r=ws.themeColor,cutoutBorder:s=ws.cutoutBorder,rounded:i,position:d,align:p,...m}=e;return Mw("span",{...m,className:o(e.className,ys,C(ys,{size:t,rounded:i,fillMode:a,themeColor:r}),{[`${ys}-${d}`]:d,[`k-${p}`]:p,[`${ys}-border-cutout`]:s}),children:e.children})};Il.states=Iw;Il.options=Bw;Il.className=ys;Il.defaultOptions=ws;import{jsx as _z}from"react/jsx-runtime";import{jsx as a0}from"react/jsx-runtime";import{jsx as m0}from"react/jsx-runtime";import{jsx as Bl,jsxs as Yw}from"react/jsx-runtime";var Yn="k-chip",Lw=[l.hover,l.focus,l.active,l.selected,l.disabled],Ew={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.outline],themeColor:[u.base,u.success,u.warning,u.error,u.info]},Ml={size:n.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,avatarImage:"/packages/html/assets/avatar.jpg"},zt=e=>{let{size:t=Ml.size,rounded:a=Ml.rounded,fillMode:r=Ml.fillMode,themeColor:s=Ml.themeColor,text:i,icon:d,actions:p,showAvatar:m,avatarImage:k=Ml.avatarImage,hover:v,focus:T,active:g,selected:A,disabled:N,...S}=e;return Yw("div",{...S,className:o(e.className,Yn,C(Yn,{size:t,rounded:a,fillMode:r,themeColor:s}),x(Yn,{hover:v,focus:T,active:g,disabled:N,selected:A})),children:[d&&Bl(y,{className:"k-chip-icon",icon:d,size:"small"}),m&&Bl(eo,{className:"k-chip-avatar",type:"image",children:Bl("img",{src:k})}),Bl("span",{className:"k-chip-content",children:e.children?e.children:i&&Bl("span",{className:"k-chip-label",children:i})}),p&&Bl("span",{className:"k-chip-actions",children:p})]})};zt.states=Lw;zt.options=Ew;zt.className=Yn;zt.defaultOptions=Ml;import{jsx as Kw}from"react/jsx-runtime";var rp="k-chip-list",Pw=[],Gw={size:[n.small,n.medium,n.large]},lf={size:n.medium},Ht=e=>{let{size:t=lf.size,...a}=e;return Kw("div",{...a,className:o(e.className,rp,C(rp,{size:t})),children:e.children})};Ht.states=Pw;Ht.options=Gw;Ht.className=rp;Ht.defaultOptions=lf;import{jsx as A0}from"react/jsx-runtime";import{jsx as I0}from"react/jsx-runtime";import{jsx as E0}from"react/jsx-runtime";import{jsx as D0}from"react/jsx-runtime";import{Fragment as W0,jsx as O0,jsxs as Q0}from"react/jsx-runtime";import{jsx as rf,jsxs as Rw}from"react/jsx-runtime";var sf="k-color-preview",Dw=[],Fw={},Ko=e=>{let{color:t,iconName:a,...r}=e;return Rw("span",{...r,className:o(e.className,sf,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&rf(y,{icon:a,className:"k-color-preview-icon"}),rf("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ko.states=Dw;Ko.options=Fw;Ko.className=sf;import{Fragment as sp,jsx as nf,jsxs as Gn}from"react/jsx-runtime";var ip="k-loader",zw={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},Hw=[],Ow={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]},Kn={size:n.medium,themeColor:u.primary,animation:"pulsing"},Do=e=>{let{size:t=Kn.size,themeColor:a=Kn.themeColor,animation:r=Kn.animation,...s}=e,i=nf("span",{className:"k-loader-segment"});return nf("div",{...s,className:o(e.className,ip,{[`k-loader-${zw[r]||r}`]:r},C(ip,{size:t,themeColor:a})),children:Gn("div",{className:"k-loader-canvas",children:[r==="pulsing"&&Gn(sp,{children:[i,i]}),r==="infinite-spinner"&&Gn(sp,{children:[i,i,i]}),r==="converging-spinner"&&Gn(sp,{children:[i,i,i,i]})]})})};Do.states=Hw;Do.options=Ow;Do.className=ip;Do.defaultOptions=Kn;var df=Do;import{jsx as np,jsxs as cf}from"react/jsx-runtime";var dp="k-loader-container",Ww=[],Qw={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]},La={size:n.medium,themeColor:u.primary,loaderType:"pulsing",position:"top",overlay:"dark",panel:!1},Ts=e=>{let{size:t=La.size,themeColor:a=La.themeColor,loaderType:r=La.loaderType,position:s=La.position,overlay:i=La.overlay,panel:d=La.panel,...p}=e;return cf("div",{...p,className:o(e.className,dp,C(dp,{size:t}),{[`k-loader-${s}`]:s}),children:[np("div",{className:`k-loader-container-overlay k-overlay-${i}`}),cf("div",{className:o("k-loader-container-inner",{"k-loader-container-panel":d}),children:[np(df,{size:t,themeColor:a,animation:r}),np("div",{className:`k-loader-container-label !k-text-${a}`,children:"Loading..."})]})]})};Ts.states=Ww;Ts.options=Qw;Ts.className=dp;Ts.defaultOptions=La;import{jsx as hH}from"react/jsx-runtime";import{jsx as vH}from"react/jsx-runtime";import{jsx as AH}from"react/jsx-runtime";import{jsx as IH}from"react/jsx-runtime";import{jsx as Zw}from"react/jsx-runtime";var pf="k-skeleton",Vw=[],Xw={},cp={shape:"text",animation:"pulse"},Fo=e=>{let{shape:t=cp.shape,animation:a=cp.animation,...r}=e;return Zw("span",{...r,className:o(e.className,pf,{[`k-skeleton-${t}`]:t,[`k-skeleton-${a}`]:a}),style:e.style})};Fo.states=Vw;Fo.options=Xw;Fo.className=pf;Fo.defaultOptions=cp;import{jsx as OH}from"react/jsx-runtime";import{jsx as Jw}from"react/jsx-runtime";var mf=e=>Jw(Fo,{shape:"rect",...e});import{jsx as jH}from"react/jsx-runtime";import{jsx as As,jsxs as pp}from"react/jsx-runtime";var mp="k-form-field",jw=[l.disabled],We=e=>{let{label:t,orientation:a,optional:r,editor:s,hint:i,error:d,info:p,disabled:m,dir:k,colSpan:v}=e;return pp("div",{className:o(mp,e.className,x(mp,{disabled:m}),{[`k-col-span-${v}`]:v}),dir:k,children:[t&&pp("label",{className:o("k-label","k-form-label"),children:[t,r&&As("span",{className:"k-label-optional",children:"(Optional)"}),p&&As("span",{className:"k-field-info",children:"(field info)"})]}),a==="horizontal"&&!t&&As("span",{className:"k-label k-form-label k-label-empty"}),pp("div",{className:"k-form-field-wrap",children:[s,i&&As("div",{className:"k-form-hint",children:i}),d&&As("div",{className:"k-form-error",children:d})]})]})};We.states=jw;We.className=mp;import{Fragment as Uw,jsx as up,jsxs as qw}from"react/jsx-runtime";var uf="k-form-fieldset",to=e=>{let{legend:t,layout:a,cols:r,gutters:s,colSpan:i}=e;return qw("fieldset",{className:o(uf,{[`k-col-span-${i}`]:i}),children:[t&&up("legend",{className:"k-form-legend",children:t}),a==="grid"?up("div",{className:o("k-form-layout","k-d-grid",{[`k-grid-cols-${r}`]:r}),style:{...typeof s=="string"&&{gap:s},...typeof s=="object"&&s.rows&&{rowGap:s.rows},...typeof s=="object"&&s.cols&&{columnGap:s.cols}},children:e.children}):up(Uw,{children:e.children})]})};to.className=uf;import{Fragment as eT,jsx as Ns,jsxs as tT}from"react/jsx-runtime";import{createElement as kp}from"react";var Dn="k-form",_w=[],$w={size:[n.small,n.medium,n.large]},Fn={size:n.medium,layout:"basic",tag:"form"},vo=e=>{let{size:t=Fn.size,orientation:a,layout:r=Fn.layout,formButtons:s,cols:i,gutters:d,tag:p=Fn.tag,children:m}=e,k=({tag:T,className:g,children:A})=>T==="form"?Ns("form",{className:g,children:A}):Ns("div",{className:g,children:A}),v=[];return m&&(Array.isArray(m)?m.map((T,g)=>{T.type===We?v.push(kp(We,{...T.props,orientation:a,key:g})):v.push(T)}):m.type===We?v.push(kp(We,{...m.props,orientation:a,key:`${new Date().getTime()}`})):m.type===to&&v.push(kp(to,{...m.props,key:`${new Date().getTime()}`}))),tT(k,{tag:p,className:o(e.className,Dn,C(Dn,{size:t}),{[`${Dn}-${a}`]:a}),children:[r==="grid"?Ns("div",{className:o("k-form-layout","k-d-grid",{[`k-grid-cols-${i}`]:i}),style:{...typeof d=="string"&&{gap:d},...typeof d=="object"&&d.rows&&{rowGap:d.rows},...typeof d=="object"&&d.cols&&{columnGap:d.cols}},children:v}):Ns(eT,{children:v}),s&&Ns("div",{className:"k-form-buttons",children:s})]})};vo.states=_w;vo.options=$w;vo.className=Dn;vo.defaultOptions=Fn;import{jsx as aT}from"react/jsx-runtime";var oT="k-actionsheet-footer",kf={alignment:"stretched",orientation:"horizontal"},Ot=e=>{let{alignment:t=kf.alignment,orientation:a=kf.orientation,template:r,as:s=r?"div":W,...i}=e;return aT(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,oT),children:e.children})};import{jsx as Cs,jsxs as sT}from"react/jsx-runtime";var ff="k-searchbox",lT=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],rT={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},fp={showIcon:!0,icon:"search",size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode},De=e=>{let{value:t,placeholder:a,size:r,rounded:s,fillMode:i,hover:d,focus:p,valid:m,invalid:k,required:v,loading:T,disabled:g,showIcon:A=fp.showIcon,icon:N=fp.icon,...S}=e;return sT(M,{...S,size:r,rounded:s,fillMode:i,hover:d,focus:p,valid:m,invalid:k,required:v,loading:T,disabled:g,className:o(e.className,ff),children:[A&&Cs(y,{className:"k-input-icon",icon:N}),Cs(se,{placeholder:a,value:t}),Cs(J,{...e}),Cs(X,{...e}),Cs(te,{...e})]})};De.states=lT;De.options=rT;De.className=ff;De.defaultOptions=fp;import{jsx as C8}from"react/jsx-runtime";import{Fragment as hf,jsx as Ro,jsxs as hp}from"react/jsx-runtime";var gf="k-textbox",iT=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],nT={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Ea={showClearButton:!0,showValidationIcon:!0,size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode,separators:!0},Z=e=>{let{size:t=Ea.size,rounded:a=Ea.rounded,fillMode:r=Ea.fillMode,separators:s=Ea.separators,showClearButton:i=Ea.showClearButton,showValidationIcon:d=Ea.showValidationIcon,prefix:p,suffix:m,type:k,value:v,placeholder:T,hover:g,focus:A,valid:N,invalid:S,required:B,loading:L,disabled:E,readonly:D,...H}=e;return hp(M,{...H,size:t,rounded:a,fillMode:r,hover:g,focus:A,valid:N,invalid:S,required:B,loading:L,disabled:E,readonly:D,className:o(e.className,gf),children:[p&&hp(hf,{children:[Ro($,{children:p}),s&&Ro(ge,{})]}),Ro(se,{placeholder:T,value:v,type:k}),d&&Ro(X,{valid:N,invalid:S,loading:L,disabled:E}),Ro(J,{loading:L,disabled:E}),i&&Ro(te,{loading:L,disabled:E,readonly:D,value:v}),m&&hp(hf,{children:[s&&Ro(ge,{}),Ro(ee,{children:m})]})]})};Z.states=iT;Z.options=nT;Z.className=gf;Z.defaultOptions=Ea;import{jsx as D8}from"react/jsx-runtime";import{Fragment as W8,jsx as O8}from"react/jsx-runtime";import{Fragment as j8,jsx as J8}from"react/jsx-runtime";import{jsx as zo,jsxs as gp}from"react/jsx-runtime";var vf="k-actionsheet-titlebar",dT={},ae=e=>{let{title:t,subtitle:a,actionsStart:r,actionsEnd:s,filter:i,input:d,inputValue:p,inputPlaceholder:m,adaptive:k,children:v,...T}=e;return gp("div",{...T,className:o(e.className,vf),children:[gp("div",{className:"k-actionsheet-titlebar-group",children:[r&&zo("div",{className:"k-actionsheet-actions",children:r}),!v&&gp("div",{className:"k-actionsheet-title",children:[t&&zo("div",{className:"k-text-center",children:t}),a&&zo("div",{className:"k-actionsheet-subtitle k-text-center",children:a})]}),v&&zo("div",{className:"k-actionsheet-title",children:v}),s&&zo("div",{className:"k-actionsheet-actions",children:s})]}),(d||i)&&zo("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?zo(Z,{value:p,placeholder:m,size:k?"large":"medium"}):zo(De,{placeholder:"Filter",size:k?"large":"medium"})})]})};ae.className=vf;ae.defaultOptions=dT;import{jsx as xp,jsxs as uT}from"react/jsx-runtime";var bp="k-actionsheet-view",cT=[],pT={},mT={},Ll=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...d}=e,p=s?.type===ae&&xp(ae,{adaptive:t,...s?.props}),m=i?.type===Ot&&xp(Ot,{...i?.props});return uT("div",{...d,className:o(e.className,bp,{[`${bp}-animated`]:a}),children:[p,xp("div",{className:"k-actionsheet-content",children:r}),m]})};Ll.states=cT;Ll.options=pT;Ll.className=bp;Ll.defaultOptions=mT;import{jsx as Rn,jsxs as hT}from"react/jsx-runtime";var yf="k-actionsheet",kT=[],fT={},Ss={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ie=e=>{let{side:t=Ss.side,fullscreen:a=Ss.fullscreen,adaptive:r=Ss.adaptive,overlay:s=Ss.overlay,template:i,children:d,header:p,footer:m,...k}=e;return hT("div",{className:"k-actionsheet-container",children:[s&&Rn("div",{className:"k-overlay"}),Rn(Go,{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:Rn("div",{...k,className:o(e.className,yf,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||Rn(Ll,{header:p,footer:m,adaptive:r,...e,children:d})})})]})};ie.states=kT;ie.options=fT;ie.className=yf;ie.defaultOptions=Ss;import{jsx as bO}from"react/jsx-runtime";import{Fragment as xT,jsx as Is,jsxs as vp}from"react/jsx-runtime";var yp="k-actionsheet-item",gT=[l.hover,l.focus,l.selected,l.disabled],wp=e=>{let{iconName:t,text:a,description:r,hover:s,focus:i,selected:d,disabled:p,...m}=e;return vp("span",{...m,className:o(e.className,yp,x(yp,{hover:s,focus:i,selected:d,disabled:p})),children:[!e.children&&Is(xT,{children:vp("span",{className:"k-actionsheet-action",children:[t&&Is("span",{className:"k-icon-wrap",children:Is(y,{className:"k-actionsheet-item-icon",icon:t})}),vp("span",{className:"k-actionsheet-item-text",children:[a&&Is("span",{className:"k-actionsheet-item-title",children:a}),r&&Is("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};wp.states=gT;wp.className=yp;import{jsx as IO,jsxs as BO}from"react/jsx-runtime";import{jsx as YO}from"react/jsx-runtime";import{jsx as DO}from"react/jsx-runtime";import{jsx as HO}from"react/jsx-runtime";import{Fragment as yT,jsx as rt,jsxs as Tp}from"react/jsx-runtime";var Tf="k-dropdownlist",bT=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],vT={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},El={showValue:!0,arrowIconName:"caret-alt-down",size:n.medium,rounded:h.medium,fillMode:b.solid},le=e=>{let{size:t=El.size,rounded:a=El.rounded,fillMode:r=El.fillMode,arrowIconName:s=El.arrowIconName,showValue:i=El.showValue,valueIconName:d,prefix:p,suffix:m,value:k,placeholder:v,hover:T,focus:g,valid:A,invalid:N,required:S,loading:B,disabled:L,readonly:E,popup:D,opened:H,adaptive:he,adaptiveSettings:Pe,adaptiveTitle:$e,adaptiveSubtitle:Ft,adaptiveFilter:wa,...wl}=e;return Tp(yT,{children:[Tp(bt,{...wl,size:t,rounded:a,fillMode:r,hover:T,focus:g,valid:A,invalid:N,required:S,loading:B,disabled:L,readonly:E,className:o(e.className,Tf,{"k-icon-picker":!i&&d}),children:[rt($,{children:p}),rt(bo,{placeholder:v,value:k,showValue:i,valueIconName:d}),rt(X,{valid:A,invalid:N,loading:B,disabled:L}),rt(J,{loading:B,disabled:L}),rt(ee,{children:m}),rt(c,{className:"k-input-button",icon:s,rounded:null,size:e.size,fillMode:e.fillMode})]}),H&&D&&rt(F,{className:"k-list-container k-dropdownlist-popup",children:D}),he&&rt(ie,{adaptive:!0,...Pe,header:rt(ae,{actionsEnd:rt(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:wa,inputValue:k,inputPlaceholder:v,title:$e,subtitle:Ft}),children:rt("div",{className:"k-list-container",children:Tp(Q,{size:"large",children:[rt(P,{text:"List item"}),rt(P,{text:"List item"}),rt(P,{text:"List item"})]})})})]})};le.states=bT;le.options=vT;le.className=Tf;le.defaultOptions=El;import{jsx as pW}from"react/jsx-runtime";import{jsx as hW,jsxs as gW}from"react/jsx-runtime";import{Fragment as NW,jsx as TW,jsxs as AW}from"react/jsx-runtime";import{jsx as BW}from"react/jsx-runtime";import{jsx as PW,jsxs as GW}from"react/jsx-runtime";import{jsx as zW,jsxs as HW}from"react/jsx-runtime";import{Fragment as jW,jsx as ZW,jsxs as JW}from"react/jsx-runtime";import{Fragment as aQ,jsx as tQ,jsxs as oQ}from"react/jsx-runtime";import{jsx as Af}from"react/jsx-runtime";var zn="k-radio",wT=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked],TT={size:[n.small,n.medium,n.large]},Nf={size:n.medium},yo=e=>{let{id:t,checked:a,hover:r,focus:s,disabled:i,invalid:d,valid:p,required:m,size:k=Nf.size,...v}=e;return Af("span",{className:"k-radio-wrap",children:Af("input",{...v,id:t,type:"radio",checked:a,required:m,className:o(e.className,zn,C(zn,{size:k}),x(zn,{hover:r,focus:s,disabled:i,invalid:d,valid:p,checked:a}))})})};yo.states=wT;yo.options=TT;yo.className=zn;yo.defaultOptions=Nf;import{jsx as CT}from"react/jsx-runtime";var Cf="k-radio-list",AT=[],NT={},Sf={layout:"vertical"},Yl=e=>{let{layout:t=Sf.layout,...a}=e;return CT("ul",{...a,className:o(e.className,Cf,{[`k-list-${t}`]:t}),children:e.children})};Yl.states=AT;Yl.options=NT;Yl.className=Cf;Yl.defaultOptions=Sf;import{jsx as MT}from"react/jsx-runtime";var If="k-radio-list-item",ST=[],IT={},BT={},Pl=e=>{let{...t}=e;return MT("li",{...t,className:o(e.className,If),children:e.children})};Pl.states=ST;Pl.options=IT;Pl.className=If;Pl.defaultOptions=BT;import{jsx as CQ}from"react/jsx-runtime";import{Fragment as LQ,jsx as MQ,jsxs as EQ}from"react/jsx-runtime";import{Fragment as DQ,jsx as KQ,jsxs as FQ}from"react/jsx-runtime";import{Fragment as QQ,jsx as OQ,jsxs as WQ}from"react/jsx-runtime";import{Fragment as jQ,jsx as JQ,jsxs as UQ}from"react/jsx-runtime";import{Fragment as tV,jsx as eV,jsxs as oV}from"react/jsx-runtime";import{Fragment as ET,jsx as st,jsxs as Gl}from"react/jsx-runtime";var Hn=({size:e,...t})=>st(vo,{formButtons:Gl(ET,{children:[st(c,{className:"k-form-submit",themeColor:"primary",size:e,children:"Submit"}),st(c,{className:"k-form-clear",size:e,children:"Clear"})]}),children:Gl(to,{legend:"Form Legend",children:[st(We,{label:"Label",editor:st(Z,{size:e})}),st(We,{label:"Label",hint:"Hint text",editor:st(le,{value:"Dropdown List",size:e})}),st(We,{label:"City",editor:Gl("ul",{className:"k-radio-list k-list-horizontal",children:[Gl("li",{className:"k-radio-list-item",children:[st(yo,{checked:!0,size:e}),st("label",{className:"k-radio-label",children:"Label"})]}),Gl("li",{className:"k-radio-list-item",children:[st(yo,{size:e}),st("label",{className:"k-radio-label",children:"Label"})]}),Gl("li",{className:"k-radio-list-item",children:[st(yo,{size:e}),st("label",{className:"k-radio-label",children:"Label"})]})]})})]}),size:e,...t});import{Fragment as IV,jsx as SV,jsxs as BV}from"react/jsx-runtime";import{Fragment as KV,jsx as GV,jsxs as DV}from"react/jsx-runtime";import{jsx as GT}from"react/jsx-runtime";var Bs="k-button-group",YT=[l.disabled],PT={fillMode:[b.solid,b.flat,b.outline,b.clear,b.link]},Bf={fillMode:b.solid},Y=e=>{let{fillMode:t=Bf.fillMode,disabled:a,stretched:r,...s}=e;return GT("div",{...s,className:o(e.className,Bs,C(Bs,{fillMode:t}),x(Bs,{disabled:a}),{[`${Bs}-stretched`]:r}),children:e.children})};Y.states=YT;Y.options=PT;Y.className=Bs;Y.defaultOptions=Bf;import{Fragment as $V,jsx as _V,jsxs as e6}from"react/jsx-runtime";import{Fragment as s6,jsx as r6,jsxs as i6}from"react/jsx-runtime";import{Fragment as u6,jsx as m6,jsxs as k6}from"react/jsx-runtime";import{Fragment as v6,jsx as b6,jsxs as y6}from"react/jsx-runtime";import{Fragment as FT,jsx as Mf,jsxs as RT}from"react/jsx-runtime";var Lf="k-menu-button",KT=[l.hover,l.focus,l.active,l.selected,l.disabled],DT={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Pa={size:n.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,showArrow:!0,arrowIconName:"caret-alt-down"},U=e=>{let{size:t=Pa.size,rounded:a=Pa.rounded,fillMode:r=Pa.fillMode,themeColor:s=Pa.themeColor,hover:i,focus:d,active:p,selected:m,disabled:k,icon:v,text:T,showArrow:g=Pa.showArrow,arrowIconName:A=Pa.arrowIconName,popup:N,opened:S,...B}=e;return RT(FT,{children:[Mf(c,{...B,className:o(e.className,Lf),text:T,size:t,rounded:a,fillMode:r,themeColor:s,hover:i,focus:d,active:p,selected:m,disabled:k,icon:v,showArrow:g,arrowIconName:A}),S&&N&&Mf(F,{className:"k-menu-popup",children:N})]})};U.states=KT;U.options=DT;U.className=Lf;U.defaultOptions=Pa;import{jsx as K6}from"react/jsx-runtime";import{jsx as z6}from"react/jsx-runtime";import{jsx as Q6}from"react/jsx-runtime";import{Fragment as OT,jsx as Kl,jsxs as Ef}from"react/jsx-runtime";var Cp="k-menu-item",zT=[l.hover,l.focus,l.active,l.selected,l.disabled],HT={},Yf={iconPosition:"before"},Qe=e=>{let{hover:t,focus:a,active:r,selected:s,disabled:i,icon:d,text:p,first:m,last:k,showArrow:v,arrowIconName:T,iconPosition:g=Yf.iconPosition,dir:A,children:N,...S}=e,B=Kl(OT,{});N&&N.forEach(E=>{if(E.type==="MenuItemContent"){B.props.children.push(E);return}});let L=T;return L||(L=A==="rtl"?"caret-alt-left":"caret-alt-right"),Ef("li",{...S,className:o(e.className,Cp,"k-item",x(Cp,{focus:a,disabled:i,hover:t,active:r,selected:s}),{"k-first":m,"k-last":k}),children:[Ef("span",{className:o("k-link k-menu-link"),children:[d&&g==="before"&&Kl(y,{className:"k-menu-link-icon",icon:d}),Kl("span",{className:"k-menu-link-text",children:p}),d&&g==="after"&&Kl(y,{className:"k-menu-link-icon",icon:d}),v&&Kl("span",{className:"k-menu-expand-arrow",children:Kl(y,{icon:L})})]}),B]})};Qe.states=zT;Qe.options=HT;Qe.className=Cp;Qe.defaultOptions=Yf;import{Fragment as VT,jsx as Dl,jsxs as Pf}from"react/jsx-runtime";var Sp="k-menu-item",WT=[l.hover,l.focus,l.active,l.selected,l.disabled],QT={},Ip={dir:"ltr",iconPosition:"before"},Wt=e=>{let{hover:t,focus:a,active:r,selected:s,disabled:i,icon:d,text:p,first:m,last:k,showArrow:v,arrowIconName:T,iconPosition:g=Ip.iconPosition,dir:A=Ip.dir,children:N,popup:S,...B}=e,L=Dl(VT,{});N&&N.forEach(D=>{if(D.type==="MenuListItemContent"){L.props.children.push(D);return}});let E=T;return E||(E=A==="rtl"?"caret-alt-left":"caret-alt-right"),Pf("li",{...B,className:o(e.className,Sp,"k-item",x(Sp,{focus:a,disabled:i}),{"k-first":m,"k-last":k}),children:[Pf("span",{className:o("k-link k-menu-link",x("k-menu-link",{hover:t,active:r,selected:s,disabled:i})),children:[d&&g==="before"&&Dl(y,{className:"k-menu-link-icon",icon:d}),Dl("span",{className:"k-menu-link-text",children:p}),d&&g==="after"&&Dl(y,{className:"k-menu-link-icon",icon:d}),v&&Dl("span",{className:"k-menu-expand-arrow",children:Dl(y,{icon:E})})]}),L,S]})};Wt.states=WT;Wt.options=QT;Wt.className=Sp;Wt.defaultOptions=Ip;import{jsx as jT}from"react/jsx-runtime";var Gf="k-menu-scroll-wrapper",XT=[],ZT={},JT={},Ms=e=>{let{className:t,children:a,orientation:r,...s}=e;return jT("div",{...s,className:o(t,Gf,{"k-menu-scroll-wrapper-vertical":r==="vertical"}),children:a})};Ms.states=XT;Ms.options=ZT;Ms.className=Gf;Ms.defaultOptions=JT;var Kf=Ms;import{Fragment as Bp,jsx as Ga,jsxs as On}from"react/jsx-runtime";var Mp="k-menu",UT=[],qT={},Wn={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Qt=e=>{let{children:t,orientation:a=Wn.orientation,header:r=Wn.header,scrollable:s,scrollButtonsPosition:i=Wn.scrollButtonsPosition,wrapperStyles:d,dir:p,popup:m,...k}=e,v={horizontal:{prev:p!=="rtl"?"left":"right",next:p!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},T=Ga("ul",{dir:p,...k,className:o(e.className,"k-reset",Mp,{[`${Mp}-${a}`]:a,"k-header":r}),children:t});return On(Bp,{children:[s?On(Kf,{orientation:a,style:d,dir:e.dir,children:[i==="start"&&On(Bp,{children:[Ga(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${v[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),Ga(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${v[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),i==="around"&&Ga(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${v[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),T,i==="end"&&On(Bp,{children:[Ga(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${v[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),Ga(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${v[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),i==="around"&&Ga(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${v[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}):T,m]})};Qt.states=UT;Qt.options=qT;Qt.className=Mp;Qt.defaultOptions=Wn;import{jsx as _T}from"react/jsx-runtime";var Lp="k-separator",Df={orientation:"horizontal"},Ls=e=>{let{orientation:t=Df.orientation,...a}=e;return _T("li",{...a,className:o(e.className,"k-item",Lp,{[`${Lp}-${t}`]:t})})};Ls.className=Lp;Ls.defaultOptions=Df;import{Fragment as u3,jsx as k3}from"react/jsx-runtime";import{jsx as Ff}from"react/jsx-runtime";import{createElement as tA}from"react";var Ep="k-menu-group",$T=[],eA={size:[n.small,n.medium,n.large]},Yp={size:n.medium,dir:"ltr"},wo=e=>{let{children:t,size:a=Yp.size,dir:r=Yp.dir,...s}=e,i=[];return t&&Array.isArray(t)&&t.map((d,p)=>{d.type===Wt?i.push(tA(Wt,{...d.props,dir:r,key:p})):d.type===Ls?i.push(Ff(Ls,{})):i.push(d)}),Ff("ul",{...s,className:o(e.className,Ep,C(Ep,{size:a})),children:i})};wo.states=$T;wo.options=eA;wo.className=Ep;wo.defaultOptions=Yp;import{Fragment as A3,jsx as T3,jsxs as N3}from"react/jsx-runtime";import{Fragment as E3,jsx as M3,jsxs as L3}from"react/jsx-runtime";import{Fragment as D3,jsx as K3,jsxs as F3}from"react/jsx-runtime";import{Fragment as W3,jsx as O3,jsxs as Q3}from"react/jsx-runtime";import{Fragment as j3,jsx as J3,jsxs as U3}from"react/jsx-runtime";import{jsx as kX,jsxs as fX}from"react/jsx-runtime";import{Fragment as lA,jsx as Pp,jsxs as Rf}from"react/jsx-runtime";var Gp="k-split-button",oA=[l.hover,l.focus,l.active,l.selected,l.disabled],aA={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Fl={size:n.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,arrowIconName:"caret-alt-down"},Ne=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:v,text:T,arrowIconName:g=Fl.arrowIconName,popup:A,opened:N,...S}=e;return Rf(lA,{children:[Rf("div",{...S,className:o(e.className,Gp,"k-button-group",C(Gp,{rounded:a})),children:[Pp(c,{text:T,icon:v,size:t,rounded:a,fillMode:r,themeColor:s,hover:i,focus:d,active:p,selected:m,disabled:k,children:e.children}),Pp(c,{className:"k-split-button-arrow",icon:g,size:t,rounded:a,fillMode:r,disabled:k})]}),N&&A&&Pp(F,{className:"k-menu-popup",children:A})]})};Ne.states=oA;Ne.options=aA;Ne.className=Gp;Ne.defaultOptions=Fl;var Kp=Ne;import{jsx as MX}from"react/jsx-runtime";import{jsx as PX}from"react/jsx-runtime";import{jsx as FX}from"react/jsx-runtime";import{jsx as WX,jsxs as QX}from"react/jsx-runtime";import{jsx as rA}from"react/jsx-runtime";var zf="k-speech-to-text-button",Hf={icon:"microphone-outline"},Ct=e=>{let{listening:t=!1,icon:a=Hf.icon,...r}=e;return rA(c,{...r,icon:t?"stop-sm":a,className:o(e.className,zf,{"k-listening":t})})};Ct.states=c.states;Ct.options=c.options;Ct.className=zf;Ct.defaultOptions=Hf;import{jsx as iZ}from"react/jsx-runtime";import{jsx as pZ}from"react/jsx-runtime";import{Fragment as Of,jsx as Es,jsxs as Dp}from"react/jsx-runtime";var Wf="k-textarea",sA=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled],iA={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},To={size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode,flow:"vertical",