@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 287 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"}),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"},xt={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};import{jsx as Gc,jsxs as hv}from"react/jsx-runtime";var Kc="k-calendar",uv=[],kv={size:[n.small,n.medium,n.large]},bl={size:n.medium,showCalendarHeader:!0,orientation:"horizontal",calendarView:"month",calendarTitleText:"October 2021"},bt=e=>{let{size:t=bl.size,orientation:a=bl.orientation,calendarView:r=bl.calendarView,calendarTitleText:s=bl.calendarTitleText,showCalendarHeader:i=bl.showCalendarHeader,showWeek:d,showCalendarFooter:p,calendarFooterText:m,dir:k,...w}=e;return hv("div",{...w,dir:k,className:o(e.className,Kc,C(Kc,{size:t}),{"k-week-number":d}),children:[i&&Gc(wa,{calendarView:r,showToday:!p,calendarTitleText:s,orientation:a,size:t,dir:k}),Gc(gn,{calendarView:r,orientation:a,children:e.children}),p&&Gc(ns,{calendarFooterText:m,size:t})]})};bt.states=uv;bt.options=kv;bt.className=Kc;bt.defaultOptions=bl;import{Fragment as gv,jsx as ds,jsxs as xv}from"react/jsx-runtime";var fv=[l.hover,l.focus,l.active,l.selected,l.disabled],v=e=>{let{text:t,headerCell:a,today:r,weekend:s,showOtherMonth:i,weekCell:d,rangeStart:p,rangeMid:m,rangeEnd:k,dayIndicator:w,empty:A,hover:g,focus:T,active:N,selected:S,disabled:B,...L}=e,D=`k-calendar-${a?"th":"td"}`,O=[e.className,D,b(D,{hover:g,focus:T,active:N,selected:S,disabled:B}),{"k-today":r,"k-weekend":s,"k-other-month":i,"k-alt":d,"k-range-start":p,"k-range-mid":m,"k-range-end":k,"k-empty":A}];return a?ds("th",{...L,className:o(O),children:t}):d?ds("td",{...L,className:o(O),children:t}):ds("td",{...L,className:o(O),children:A&&!i?ds(gv,{children:"\xA0"}):xv("span",{className:"k-link",children:[t,w&&ds("span",{className:"k-day-indicator"})]})})};v.states=fv;import{Fragment as wv,jsx as sk}from"react/jsx-runtime";var Dc="k-icon k-font-icon",bv=[],vv={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]},yv={},cs=e=>{let{size:t,themeColor:a,icon:r,rotate:s,flip:i,...d}=e;return r?sk("span",{...d,className:o(e.className,Dc,C(Dc,{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"})}):sk(wv,{})};cs.states=bv;cs.options=vv;cs.className=Dc;cs.defaultOptions=yv;var ik=cs;import{Fragment as Nv,jsx as xn}from"react/jsx-runtime";var Fc="k-icon k-svg-icon",Av=[],Tv={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]},nk={viewBox:"0 0 24 24"},ps=e=>{let{size:t,themeColor:a,rotate:r,flip:s,viewBox:i=nk.viewBox,icon:d,...p}=e;if(!d)return xn(Nv,{});d==="none"&&{...p,className:o(e.className,Fc,"k-none")};let m=typeof d=="object"&&d.name&&d.name;return xn("span",{...p,className:o(e.className,Fc,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:xn("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})})};ps.states=Av;ps.options=Tv;ps.className=Fc;ps.defaultOptions=nk;var zc=ps;import*as dk from"@progress/kendo-svg-icons";import{Fragment as ck,jsx as ms}from"react/jsx-runtime";var Cv=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Sv=[],Iv={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]},Rc={viewBox:"0 0 24 24",type:"svg"},y=e=>{let{size:t,themeColor:a,icon:r,type:s=Rc.type,rotate:i,flip:d,viewBox:p=Rc.viewBox,...m}=e;if(!r)return ms(ck,{});if(s==="svg"){if(r==="none")return ms(zc,{...m,icon:r,size:t});let k=Cv(`${r}-icon`);return dk[k]?ms(zc,{...m,icon:dk[k],size:t,themeColor:a,rotate:i,flip:d,viewBox:p}):ms(ck,{})}return ms(ik,{...m,icon:r,size:t,themeColor:a,rotate:i,flip:d})};y.states=Sv;y.options=Iv;y.defaultOptions=Rc;var Hc=y;import{Fragment as Lv,jsx as us,jsxs as pk}from"react/jsx-runtime";var bn="k-button",Bv=[l.hover,l.focus,l.active,l.selected,l.disabled],Mv={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]},Aa={size:n.medium,rounded:f.medium,fillMode:x.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},c=e=>{let{size:t=Aa.size,rounded:a=Aa.rounded,fillMode:r=Aa.fillMode,themeColor:s=Aa.themeColor,showArrow:i=Aa.showArrow,arrowIconName:d=Aa.arrowIconName,hover:p,focus:m,active:k,selected:w,disabled:A,icon:g,text:T,iconClassName:N,...S}=e,B=g!==void 0,L=e.children!==void 0;return pk("button",{...S,className:o(e.className,bn,C(bn,{size:t,rounded:a,fillMode:r,themeColor:s}),b(bn,{hover:p,focus:m,active:k,disabled:A,selected:w}),{"k-icon-button":!T&&!L&&B}),children:[g&&us(y,{className:o(N,"k-button-icon"),icon:g}),T?pk(Lv,{children:[T&&us("span",{className:"k-button-text",children:T}),e.children]}):e.children&&us("span",{className:"k-button-text",children:e.children}),i&&us("span",{className:"k-menu-button-arrow k-button-arrow",children:us(y,{icon:d})})]})};c.states=Bv;c.options=Mv;c.className=bn;c.defaultOptions=Aa;import{jsx as Ev}from"react/jsx-runtime";var tt=e=>Ev(c,{icon:"folder",...e,children:void 0});import{jsx as Yv}from"react/jsx-runtime";var Ft=e=>Yv(c,{icon:"folder",children:"Button",...e});import{jsx as pG}from"react/jsx-runtime";import{jsx as ks,jsxs as mk}from"react/jsx-runtime";var uk="k-calendar-header",Pv={size:[n.small,n.medium,n.large]},vl={calendarTitleText:"October 2021",showToday:!0,showNavigationButtons:!0,orientation:"horizontal",size:n.medium},wa=e=>{let{calendarTitleText:t=vl.calendarTitleText,showToday:a=vl.showToday,showNavigationButtons:r=vl.showNavigationButtons,orientation:s=vl.orientation,size:i=vl.size,calendarView:d,dir:p,...m}=e,k=p==="rtl"?"chevron-right":"chevron-left",w=p==="rtl"?"chevron-left":"chevron-right";return mk("div",{...m,className:o(e.className,uk,{"k-vstack":s==="vertical"}),children:[ks(c,{disabled:d==="century",className:"k-calendar-title",text:t,size:i,fillMode:"flat",themeColor:"primary"}),ks("span",{className:"k-spacer"}),mk("span",{className:"k-calendar-nav",children:[r&&ks(c,{className:"k-calendar-nav-prev",icon:k,size:i,fillMode:"flat"}),a&&ks(c,{size:i,fillMode:"flat",className:"k-calendar-nav-today",children:"Today"}),r&&ks(c,{className:"k-calendar-nav-next",icon:w,size:i,fillMode:"flat"})]})]})};wa.options=Pv;wa.className=uk;wa.defaultOptions=vl;import{jsx as kk}from"react/jsx-runtime";var hk="k-calendar-footer",Gv={size:[n.small,n.medium,n.large]},Wc={size:n.medium,calendarFooterText:"Tuesday, October 12, 2021"},ns=e=>{let{size:t=Wc.size,calendarFooterText:a=Wc.calendarFooterText,...r}=e;return kk("div",{...r,className:o(e.className,hk),children:kk(c,{size:t,fillMode:"flat",themeColor:"primary",className:"k-calendar-nav-today",children:a})})};ns.options=Gv;ns.className=hk;ns.defaultOptions=Wc;import{jsx as Fv}from"react/jsx-runtime";var Kv=[],Dv={},fk=e=>{let{type:t,...a}=e,r=t==="p"?"paragraph":t,s=t.includes("display")?"div":t;return Fv(s,{...a,className:o(e.className,{[`k-${r}`]:t}),children:e.children})};fk.states=Kv;fk.options=Dv;import{jsx as Hv}from"react/jsx-runtime";var vn="k-actions",zv=[],Rv={},Oc={alignment:"start",orientation:"horizontal"},Q=e=>{let{alignment:t=Oc.alignment,orientation:a=Oc.orientation,...r}=e;return Hv("div",{...r,className:o(vn,{[`${vn}-${t}`]:t,[`${vn}-${a}`]:a},e.className),children:e.children})};Q.states=zv;Q.options=Rv;Q.className=vn;Q.defaultOptions=Oc;var gk=Q;import{jsx as Qv}from"react/jsx-runtime";var yn="k-input",Wv=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],Ov={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},wn={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=wn.size,rounded:k=wn.rounded,fillMode:w=wn.fillMode,...A}=e;return Qv("span",{...A,className:o(e.className,yn,C(yn,{size:m,rounded:k,fillMode:w}),b(yn,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p}))})};M.states=Wv;M.options=Ov;M.className=yn;M.defaultOptions=wn;import{jsx as Zv}from"react/jsx-runtime";var An="k-picker",Vv=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],Xv={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Tn={size:n.medium,rounded:f.medium,fillMode:x.solid},vt=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p,size:m=Tn.size,rounded:k=Tn.rounded,fillMode:w=Tn.fillMode,...A}=e;return Zv("span",{...A,className:o(e.className,An,C(An,{size:m,rounded:k,fillMode:w}),b(An,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p})),children:e.children})};vt.states=Vv;vt.options=Xv;vt.className=An;vt.defaultOptions=Tn;import{Fragment as Uv,jsx as Qc}from"react/jsx-runtime";var xk="k-clear-value",Jv=[l.disabled,l.loading,l.readonly],jv={},te=e=>{let{disabled:t,loading:a,readonly:r,value:s}=e;return t||r||a||!s?Qc(Uv,{}):Qc("span",{className:o(e.className,xk),children:Qc(y,{icon:"x"})})};te.states=Jv;te.options=jv;te.className=xk;import{jsx as $v}from"react/jsx-runtime";var Vc="k-input-inner",qv=[],_v={},Nn={type:"text",autocomplete:"off",value:"",placeholder:""},le=e=>{let{value:t=Nn.value,type:a=Nn.type,placeholder:r=Nn.placeholder,autocomplete:s=Nn.autocomplete,...i}=e;return $v("input",{...i,type:a,className:o(e.className,Vc,C(Vc,e)),placeholder:r,autoComplete:s,defaultValue:t})};le.states=qv;le.options=_v;le.className=Vc;import{jsx as bk,jsxs as oy}from"react/jsx-runtime";var Xc="k-input-inner",ey=[],ty={},go=e=>{let{value:t,placeholder:a,showValue:r,valueIcon:s,valueIconName:i,...d}=e;return oy("span",{...d,className:o(e.className,Xc,C(Xc,e)),children:[s,!s&&i&&bk(y,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&bk("span",{className:"k-input-value-text",children:t})]})};go.states=ey;go.options=ty;go.className=Xc;import{jsx as ry}from"react/jsx-runtime";var Zc="k-input-inner",ay=[],ly={},vk={value:"",placeholder:""},hs=e=>{let{value:t=vk.value,placeholder:a=vk.placeholder,rows:r,...s}=e;return ry("textarea",{...s,className:o(e.className,Zc,C(Zc,e)),placeholder:a,rows:r,defaultValue:t})};hs.states=ay;hs.options=ly;hs.className=Zc;import{Fragment as iy,jsx as yk}from"react/jsx-runtime";var wk="k-input-loading-icon",sy=[l.disabled,l.loading],j=e=>{let{disabled:t,loading:a}=e;return t||!a?yk(iy,{}):yk("span",{className:o(e.className,wk,"k-icon k-i-loading")})};j.states=sy;j.className=wk;import{Fragment as cy,jsx as Ak}from"react/jsx-runtime";var Tk="k-input-validation-icon",ny=[l.valid,l.invalid,l.disabled,l.loading],dy={},Z=e=>{let{valid:t,invalid:a,disabled:r,loading:s}=e,i=a?"warning-circle":"check-circle";return r||s||!!!(t||a)?Ak(cy,{}):Ak(y,{className:o(Tk),icon:i})};Z.states=ny;Z.options=dy;Z.className=Tk;import{Fragment as uy,jsx as Nk}from"react/jsx-runtime";var py="k-input-prefix",my={direction:"horizontal"},$=e=>{let{direction:t=my.direction,...a}=e;return e.children?Nk("span",{...a,className:o(py,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Nk(uy,{})};import{Fragment as fy,jsx as Ck}from"react/jsx-runtime";var ky="k-input-suffix",hy={direction:"horizontal"},ee=e=>{let{direction:t=hy.direction,...a}=e;return e.children?Ck("span",{...a,className:o(ky,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Ck(fy,{})};import{jsx as gK}from"react/jsx-runtime";import{jsx as yK}from"react/jsx-runtime";import{jsx as xy}from"react/jsx-runtime";var Sk="k-input-separator",gy={direction:"vertical"},ge=e=>{let{direction:t=gy.direction,...a}=e;return xy("span",{...a,className:o(Sk,e.className,{[`${Sk}-${t}`]:t})})};import{jsx as Ik}from"react/jsx-runtime";var Bk="k-animation-container",by=[],vy={},Mk={positionMode:"absolute"},Eo=e=>{let{positionMode:t=Mk.positionMode,animationStyle:a,offset:r,...s}=e;return Ik("div",{...s,style:{...r,...e.style},className:o(e.className,Bk,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:Ik("div",{className:"k-child-animation-container",style:a,children:e.children})})};Eo.states=by;Eo.options=vy;Eo.className=Bk;Eo.defaultOptions=Mk;import{jsx as Lk}from"react/jsx-runtime";var Ek="k-popup",yy=[],wy={},Yk={positionMode:"absolute"},F=e=>{let{offset:t,positionMode:a=Yk.positionMode,animationStyle:r,...s}=e;return Lk(Eo,{positionMode:a,offset:t,animationStyle:r,children:Lk("div",{...s,className:o(e.className,Ek),children:e.children})})};F.states=yy;F.options=wy;F.className=Ek;F.defaultOptions=Yk;import{jsx as Ty}from"react/jsx-runtime";var Ay="k-no-data",fs=e=>Ty("span",{className:o(Ay,e.className),children:e.children});import{jsx as yl,jsxs as Pk}from"react/jsx-runtime";var Jc="k-list",Ny=[],Cy={size:[n.small,n.medium,n.large]},Gk={size:n.medium},V=e=>{let{size:t=Gk.size,virtualization:a,children:r,optionLabel:s,customValue:i,screenReaders:d,...p}=e,m,k,w,A,g=[];return r?r.map((T,N)=>{T.type===xe?(T.props.root===!0?(m=T.props.label,T.props.children.map((S,B)=>{g.push(yl(P,{...S.props},`optChild-${B}-${new Date().getTime()}`))})):T.props.children.forEach((S,B)=>{let L="";B===0&&(L=T.props.label),g.push(yl(P,{className:B===0?"k-first":"",...S.props,groupLabel:L},`groupLabel-${B}-${new Date().getTime()}`))}),k=yl(xe,{label:m,virtualization:a,children:g})):T.type===P&&(g.push(yl(P,{...T.props},`${T.type}-${N}`)),w=yl(wl,{virtualization:a,children:g}),d&&(A=Pk(fs,{className:"k-sr-only",children:[g.length," items found."]})))}):A=yl(fs,{children:"No data found."}),Pk("div",{...p,className:o(e.className,Jc,C(Jc,{size:t}),{"k-virtual-list":a}),children:[s,i,k,w,A]})};V.states=Ny;V.options=Cy;V.className=Jc;V.defaultOptions=Gk;import{jsx as Ta,jsxs as By}from"react/jsx-runtime";var jc="k-list",Sy=[],Iy={size:[n.small,n.medium,n.large]},Kk={size:n.medium},Na=e=>{let{size:t=Kk.size,virtualization:a,children:r,...s}=e,i,d,p,m=[];return r?r.map((k,w)=>{k.type===xe?(k.props.root===!0?(i=k.props.label,k.props.children.map((A,g)=>{m.push(Ta(P,{...A.props},`optChild-${g}-${new Date().getTime()}`))})):(m.push(Ta(Dk,{...k.props,children:k.props.label},`listChild-${w}`)),k.props.children.map((A,g)=>{m.push(Ta(P,{...A.props},`fwOptChild-${g}-${new Date().getTime()}`))})),d=Ta(xe,{label:i,virtualization:a,children:m})):k.type===P&&(m.push(Ta(P,{...k.props},`${k.type}-${w}`)),p=Ta(wl,{virtualization:a,children:m}))}):p=Ta(fs,{children:"No data found."}),By("div",{...s,className:o(e.className,jc,C(jc,{size:t}),{"k-virtual-list":a}),children:[d,p]})};Na.states=Sy;Na.options=Iy;Na.className=jc;Na.defaultOptions=Kk;import{jsx as Fk}from"react/jsx-runtime";var Cn="k-checkbox",My=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],Ly={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full]},Uc={size:n.medium,rounded:f.medium},Oe=e=>{let{id:t,checked:a,indeterminate:r,hover:s,focus:i,disabled:d,invalid:p,valid:m,required:k,size:w=Uc.size,rounded:A=Uc.rounded,...g}=e;return Fk("span",{className:"k-checkbox-wrap",children:Fk("input",{...g,id:t,type:"checkbox",defaultChecked:a,required:k,className:o(e.className,Cn,C(Cn,{size:w,rounded:A}),b(Cn,{hover:s,focus:i,disabled:d,invalid:p,valid:m,indeterminate:r,checked:a}))})})};Oe.states=My;Oe.options=Ly;Oe.className=Cn;Oe.defaultOptions=Uc;import{jsx as Py}from"react/jsx-runtime";var zk="k-checkbox-list",Ey=[],Yy={},Rk={layout:"vertical"},Al=e=>{let{layout:t=Rk.layout,...a}=e;return Py("ul",{...a,className:o(e.className,zk,{[`k-list-${t}`]:t}),children:e.children})};Al.states=Ey;Al.options=Yy;Al.className=zk;Al.defaultOptions=Rk;import{jsx as Fy}from"react/jsx-runtime";var Hk="k-checkbox-list-item",Gy=[],Ky={},Dy={},Tl=e=>{let{...t}=e;return Fy("li",{...t,className:o(e.className,Hk),children:e.children})};Tl.states=Gy;Tl.options=Ky;Tl.className=Hk;Tl.defaultOptions=Dy;import{Fragment as TD,jsx as AD,jsxs as ND}from"react/jsx-runtime";import{Fragment as MD,jsx as BD,jsxs as LD}from"react/jsx-runtime";import{Fragment as KD,jsx as GD,jsxs as DD}from"react/jsx-runtime";import{Fragment as WD,jsx as HD,jsxs as OD}from"react/jsx-runtime";import{jsx as ZD}from"react/jsx-runtime";import{jsx as qD}from"react/jsx-runtime";import{jsx as Sn,jsxs as Wy}from"react/jsx-runtime";var _c="k-list-item",zy=[l.hover,l.focus,l.selected,l.disabled],Ry={},Hy={},P=e=>{let{text:t,groupLabel:a,group:r,showIcon:s,iconName:i,showCheckbox:d,checked:p,hover:m,focus:k,selected:w,disabled:A,...g}=e,T=t||e.children;return Wy("li",{...g,className:o(e.className,r?"k-list-group-item":_c,b(_c,{hover:m,focus:k,disabled:A,selected:w})),children:[d&&Sn(Oe,{checked:p}),s&&Sn(y,{icon:i}),Sn("span",{className:"k-list-item-text",children:T}),a&&a!==""&&Sn("div",{className:"k-list-item-group-label",children:a})]})};P.states=zy;P.options=Ry;P.className=_c;P.defaultOptions=Hy;import{jsx as $c,jsxs as Qy}from"react/jsx-runtime";var Oy="k-list-content",wl=e=>{let{virtualization:t,...a}=e;return Qy("div",{...a,className:o(Oy,e.className),children:[$c("ul",{className:o("k-list-ul"),children:e.children}),t&&$c("div",{className:"k-height-container",children:$c("div",{})})]})};import{jsx as Wk}from"react/jsx-runtime";var Vy="k-list-group-sticky-header",Ok=e=>Wk("div",{className:o(Vy,e.className),children:Wk("div",{className:"k-list-header-text",children:e.children})});import{Fragment as Xy,jsx as Qk,jsxs as Zy}from"react/jsx-runtime";var xe=e=>{let{virtualization:t,label:a}=e;return Zy(Xy,{children:[a&&Qk(Ok,{children:a}),e.children&&Qk(wl,{virtualization:t,children:e.children})]})};import{jsx as Vk}from"react/jsx-runtime";var Jy="k-list-group-item",Dk=e=>Vk("li",{className:o(Jy,e.className),children:Vk("span",{className:"k-list-item-text",children:e.children})});import{jsx as _y}from"react/jsx-runtime";var ep="k-list-optionlabel",jy=[l.hover,l.focus,l.selected,l.disabled],Uy={},qy={},In=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return _y("div",{...d,className:o(ep,b(ep,{hover:a,focus:r,selected:s,disabled:i})),children:t})};In.states=jy;In.options=Uy;In.className=ep;In.defaultOptions=qy;import{jsx as ow}from"react/jsx-runtime";var tp="k-list-custom-value",$y=[l.hover,l.focus,l.selected,l.disabled],ew={},tw={},Ze=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return ow("div",{...d,className:o(tp,b(tp,{hover:a,focus:r,selected:s,disabled:i})),children:t})};Ze.states=$y;Ze.options=ew;Ze.className=tp;Ze.defaultOptions=tw;import{jsx as PF}from"react/jsx-runtime";import{jsx as FF}from"react/jsx-runtime";import{jsx as WF,jsxs as OF}from"react/jsx-runtime";import{jsx as ZF,jsxs as JF}from"react/jsx-runtime";import{jsx as _F}from"react/jsx-runtime";import{jsx as oz,jsxs as az}from"react/jsx-runtime";import{jsx as iz,jsxs as nz}from"react/jsx-runtime";import{jsx as Xk}from"react/jsx-runtime";var gs="k-avatar";var aw=[l.hover,l.focus,l.active,l.selected,l.disabled],lw={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]},Ca={type:"text",size:n.medium,rounded:f.full,fillMode:x.solid,themeColor:u.primary,border:!1},to=e=>{let{size:t=Ca.size,rounded:a=Ca.rounded,fillMode:r=Ca.fillMode,themeColor:s=Ca.themeColor,type:i=Ca.type,border:d=Ca.border,...p}=e;return Xk("div",{...p,className:o(e.className,gs,C(gs,{size:t,rounded:a,fillMode:r,themeColor:s}),{[`${gs}-bordered`]:d}),children:Xk("span",{className:`${gs}-${i}`,children:e.children})})};to.states=aw;to.options=lw;to.className=gs;to.defaultOptions=Ca;import{jsx as Ez}from"react/jsx-runtime";import{jsx as Kz}from"react/jsx-runtime";import{jsx as Rz}from"react/jsx-runtime";import{jsx as iw}from"react/jsx-runtime";var xs="k-badge",rw=[],sw={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]},bs={size:n.medium,fillMode:x.solid,themeColor:u.primary,cutoutBorder:!1},Nl=e=>{let{size:t=bs.size,fillMode:a=bs.fillMode,themeColor:r=bs.themeColor,cutoutBorder:s=bs.cutoutBorder,rounded:i,position:d,align:p,...m}=e;return iw("span",{...m,className:o(e.className,xs,C(xs,{size:t,rounded:i,fillMode:a,themeColor:r}),{[`${xs}-${d}`]:d,[`k-${p}`]:p,[`${xs}-border-cutout`]:s}),children:e.children})};Nl.states=rw;Nl.options=sw;Nl.className=xs;Nl.defaultOptions=bs;import{jsx as _z}from"react/jsx-runtime";import{jsx as aR}from"react/jsx-runtime";import{jsx as mR}from"react/jsx-runtime";import{jsx as Cl,jsxs as cw}from"react/jsx-runtime";var Bn="k-chip",nw=[l.hover,l.focus,l.active,l.selected,l.disabled],dw={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]},Sl={size:n.medium,rounded:f.medium,fillMode:x.solid,themeColor:u.base,avatarImage:"/packages/html/assets/avatar.jpg"},zt=e=>{let{size:t=Sl.size,rounded:a=Sl.rounded,fillMode:r=Sl.fillMode,themeColor:s=Sl.themeColor,text:i,icon:d,actions:p,showAvatar:m,avatarImage:k=Sl.avatarImage,hover:w,focus:A,active:g,selected:T,disabled:N,...S}=e;return cw("div",{...S,className:o(e.className,Bn,C(Bn,{size:t,rounded:a,fillMode:r,themeColor:s}),b(Bn,{hover:w,focus:A,active:g,disabled:N,selected:T})),children:[d&&Cl(y,{className:"k-chip-icon",icon:d,size:"small"}),m&&Cl(to,{className:"k-chip-avatar",type:"image",children:Cl("img",{src:k})}),Cl("span",{className:"k-chip-content",children:e.children?e.children:i&&Cl("span",{className:"k-chip-label",children:i})}),p&&Cl("span",{className:"k-chip-actions",children:p})]})};zt.states=nw;zt.options=dw;zt.className=Bn;zt.defaultOptions=Sl;import{jsx as uw}from"react/jsx-runtime";var op="k-chip-list",pw=[],mw={size:[n.small,n.medium,n.large]},Jk={size:n.medium},Rt=e=>{let{size:t=Jk.size,...a}=e;return uw("div",{...a,className:o(e.className,op,C(op,{size:t})),children:e.children})};Rt.states=pw;Rt.options=mw;Rt.className=op;Rt.defaultOptions=Jk;import{jsx as TR}from"react/jsx-runtime";import{jsx as IR}from"react/jsx-runtime";import{jsx as ER}from"react/jsx-runtime";import{jsx as DR}from"react/jsx-runtime";import{Fragment as OR,jsx as WR,jsxs as QR}from"react/jsx-runtime";import{jsx as jk,jsxs as fw}from"react/jsx-runtime";var Uk="k-color-preview",kw=[],hw={},Yo=e=>{let{color:t,iconName:a,...r}=e;return fw("span",{...r,className:o(e.className,Uk,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&jk(y,{icon:a,className:"k-color-preview-icon"}),jk("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Yo.states=kw;Yo.options=hw;Yo.className=Uk;import{Fragment as ap,jsx as qk,jsxs as Ln}from"react/jsx-runtime";var lp="k-loader",gw={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},xw=[],bw={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]},En={size:n.medium,themeColor:u.primary,animation:"pulsing"},Po=e=>{let{size:t=En.size,themeColor:a=En.themeColor,animation:r=En.animation,...s}=e,i=qk("span",{className:"k-loader-segment"});return qk("div",{...s,className:o(e.className,lp,{[`k-loader-${gw[r]||r}`]:r},C(lp,{size:t,themeColor:a})),children:Ln("div",{className:"k-loader-canvas",children:[r==="pulsing"&&Ln(ap,{children:[i,i]}),r==="infinite-spinner"&&Ln(ap,{children:[i,i,i]}),r==="converging-spinner"&&Ln(ap,{children:[i,i,i,i]})]})})};Po.states=xw;Po.options=bw;Po.className=lp;Po.defaultOptions=En;var _k=Po;import{jsx as rp,jsxs as $k}from"react/jsx-runtime";var sp="k-loader-container",vw=[],yw={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]},Ia={size:n.medium,themeColor:u.primary,loaderType:"pulsing",position:"top",overlay:"dark",panel:!1},vs=e=>{let{size:t=Ia.size,themeColor:a=Ia.themeColor,loaderType:r=Ia.loaderType,position:s=Ia.position,overlay:i=Ia.overlay,panel:d=Ia.panel,...p}=e;return $k("div",{...p,className:o(e.className,sp,C(sp,{size:t}),{[`k-loader-${s}`]:s}),children:[rp("div",{className:`k-loader-container-overlay k-overlay-${i}`}),$k("div",{className:o("k-loader-container-inner",{"k-loader-container-panel":d}),children:[rp(_k,{size:t,themeColor:a,animation:r}),rp("div",{className:`k-loader-container-label !k-text-${a}`,children:"Loading..."})]})]})};vs.states=vw;vs.options=yw;vs.className=sp;vs.defaultOptions=Ia;import{jsx as f0}from"react/jsx-runtime";import{jsx as v0}from"react/jsx-runtime";import{jsx as T0}from"react/jsx-runtime";import{jsx as I0}from"react/jsx-runtime";import{jsx as Tw}from"react/jsx-runtime";var eh="k-skeleton",ww=[],Aw={},ip={shape:"text",animation:"pulse"},Go=e=>{let{shape:t=ip.shape,animation:a=ip.animation,...r}=e;return Tw("span",{...r,className:o(e.className,eh,{[`k-skeleton-${t}`]:t,[`k-skeleton-${a}`]:a}),style:e.style})};Go.states=ww;Go.options=Aw;Go.className=eh;Go.defaultOptions=ip;import{jsx as W0}from"react/jsx-runtime";import{jsx as Nw}from"react/jsx-runtime";var th=e=>Nw(Go,{shape:"rect",...e});import{jsx as j0}from"react/jsx-runtime";import{jsx as ys,jsxs as np}from"react/jsx-runtime";var dp="k-form-field",Cw=[l.disabled],Je=e=>{let{label:t,orientation:a,optional:r,editor:s,hint:i,error:d,info:p,disabled:m,dir:k,colSpan:w}=e;return np("div",{className:o(dp,e.className,b(dp,{disabled:m}),{[`k-col-span-${w}`]:w}),dir:k,children:[t&&np("label",{className:o("k-label","k-form-label"),children:[t,r&&ys("span",{className:"k-label-optional",children:"(Optional)"}),p&&ys("span",{className:"k-field-info",children:"(field info)"})]}),a==="horizontal"&&!t&&ys("span",{className:"k-label k-form-label k-label-empty"}),np("div",{className:"k-form-field-wrap",children:[s,i&&ys("div",{className:"k-form-hint",children:i}),d&&ys("div",{className:"k-form-error",children:d})]})]})};Je.states=Cw;Je.className=dp;import{Fragment as Sw,jsx as cp,jsxs as Iw}from"react/jsx-runtime";var oh="k-form-fieldset",xo=e=>{let{legend:t,layout:a,cols:r,gapX:s,gapY:i}=e;return Iw("fieldset",{className:o(oh),children:[t&&cp("legend",{className:"k-form-legend",children:t}),a==="grid"?cp("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}):cp(Sw,{children:e.children})]})};xo.className=oh;import{Fragment as Lw,jsx as ws,jsxs as Ew}from"react/jsx-runtime";import{createElement as pp}from"react";var Yn="k-form",Bw=[],Mw={size:[n.small,n.medium,n.large]},Pn={size:n.medium,layout:"basic",tag:"form"},Ko=e=>{let{size:t=Pn.size,orientation:a,layout:r=Pn.layout,formButtons:s,cols:i,gapX:d,gapY:p,tag:m=Pn.tag,children:k}=e,w=({tag:g,className:T,children:N})=>g==="form"?ws("form",{className:T,children:N}):ws("div",{className:T,children:N}),A=[];return k&&(Array.isArray(k)?k.map((g,T)=>{g.type===Je?A.push(pp(Je,{...g.props,orientation:a,key:T})):A.push(g)}):k.type===Je?A.push(pp(Je,{...k.props,orientation:a,key:`${new Date().getTime()}`})):k.type===xo&&A.push(pp(xo,{...k.props,key:`${new Date().getTime()}`}))),Ew(w,{tag:m,className:o(e.className,Yn,C(Yn,{size:t}),{[`${Yn}-${a}`]:a}),children:[r==="grid"?ws("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}):ws(Lw,{children:A}),s&&ws("div",{className:"k-form-buttons",children:s})]})};Ko.states=Bw;Ko.options=Mw;Ko.className=Yn;Ko.defaultOptions=Pn;import{jsx as Pw}from"react/jsx-runtime";var Yw="k-actionsheet-footer",ah={alignment:"stretched",orientation:"horizontal"},Ht=e=>{let{alignment:t=ah.alignment,orientation:a=ah.orientation,template:r,as:s=r?"div":Q,...i}=e;return Pw(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,Yw),children:e.children})};import{jsx as As,jsxs as Dw}from"react/jsx-runtime";var lh="k-searchbox",Gw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],Kw={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},mp={showIcon:!0,icon:"search",size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode},Fe=e=>{let{value:t,placeholder:a,size:r,rounded:s,fillMode:i,hover:d,focus:p,valid:m,invalid:k,required:w,loading:A,disabled:g,showIcon:T=mp.showIcon,icon:N=mp.icon,...S}=e;return Dw(M,{...S,size:r,rounded:s,fillMode:i,hover:d,focus:p,valid:m,invalid:k,required:w,loading:A,disabled:g,className:o(e.className,lh),children:[T&&As(y,{className:"k-input-icon",icon:N}),As(le,{placeholder:a,value:t}),As(j,{...e}),As(Z,{...e}),As(te,{...e})]})};Fe.states=Gw;Fe.options=Kw;Fe.className=lh;Fe.defaultOptions=mp;import{jsx as CH}from"react/jsx-runtime";import{Fragment as rh,jsx as Do,jsxs as up}from"react/jsx-runtime";var sh="k-textbox",Fw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],zw={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Ba={showClearButton:!0,showValidationIcon:!0,size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode,separators:!0},J=e=>{let{size:t=Ba.size,rounded:a=Ba.rounded,fillMode:r=Ba.fillMode,separators:s=Ba.separators,showClearButton:i=Ba.showClearButton,showValidationIcon:d=Ba.showValidationIcon,prefix:p,suffix:m,type:k,value:w,placeholder:A,hover:g,focus:T,valid:N,invalid:S,required:B,loading:L,disabled:E,readonly:D,...O}=e;return up(M,{...O,size:t,rounded:a,fillMode:r,hover:g,focus:T,valid:N,invalid:S,required:B,loading:L,disabled:E,readonly:D,className:o(e.className,sh),children:[p&&up(rh,{children:[Do($,{children:p}),s&&Do(ge,{})]}),Do(le,{placeholder:A,value:w,type:k}),d&&Do(Z,{valid:N,invalid:S,loading:L,disabled:E}),Do(j,{loading:L,disabled:E}),i&&Do(te,{loading:L,disabled:E,readonly:D,value:w}),m&&up(rh,{children:[s&&Do(ge,{}),Do(ee,{children:m})]})]})};J.states=Fw;J.options=zw;J.className=sh;J.defaultOptions=Ba;import{jsx as DH}from"react/jsx-runtime";import{Fragment as OH,jsx as WH}from"react/jsx-runtime";import{Fragment as jH,jsx as JH}from"react/jsx-runtime";import{jsx as Fo,jsxs as kp}from"react/jsx-runtime";var dh="k-actionsheet-titlebar",Rw={},ae=e=>{let{title:t,subtitle:a,actionsStart:r,actionsEnd:s,filter:i,input:d,inputValue:p,inputPlaceholder:m,adaptive:k,children:w,...A}=e;return kp("div",{...A,className:o(e.className,dh),children:[kp("div",{className:"k-actionsheet-titlebar-group",children:[r&&Fo("div",{className:"k-actionsheet-actions",children:r}),!w&&kp("div",{className:"k-actionsheet-title",children:[t&&Fo("div",{className:"k-text-center",children:t}),a&&Fo("div",{className:"k-actionsheet-subtitle k-text-center",children:a})]}),w&&Fo("div",{className:"k-actionsheet-title",children:w}),s&&Fo("div",{className:"k-actionsheet-actions",children:s})]}),(d||i)&&Fo("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?Fo(J,{value:p,placeholder:m,size:k?"large":"medium"}):Fo(Fe,{placeholder:"Filter",size:k?"large":"medium"})})]})};ae.className=dh;ae.defaultOptions=Rw;import{jsx as hp,jsxs as Qw}from"react/jsx-runtime";var fp="k-actionsheet-view",Hw=[],Ww={},Ow={},Il=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...d}=e,p=s?.type===ae&&hp(ae,{adaptive:t,...s?.props}),m=i?.type===Ht&&hp(Ht,{...i?.props});return Qw("div",{...d,className:o(e.className,fp,{[`${fp}-animated`]:a}),children:[p,hp("div",{className:"k-actionsheet-content",children:r}),m]})};Il.states=Hw;Il.options=Ww;Il.className=fp;Il.defaultOptions=Ow;import{jsx as Gn,jsxs as Zw}from"react/jsx-runtime";var ch="k-actionsheet",Vw=[],Xw={},Ts={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},re=e=>{let{side:t=Ts.side,fullscreen:a=Ts.fullscreen,adaptive:r=Ts.adaptive,overlay:s=Ts.overlay,template:i,children:d,header:p,footer:m,...k}=e;return Zw("div",{className:"k-actionsheet-container",children:[s&&Gn("div",{className:"k-overlay"}),Gn(Eo,{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:Gn("div",{...k,className:o(e.className,ch,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||Gn(Il,{header:p,footer:m,adaptive:r,...e,children:d})})})]})};re.states=Vw;re.options=Xw;re.className=ch;re.defaultOptions=Ts;import{jsx as b8}from"react/jsx-runtime";import{Fragment as jw,jsx as Ns,jsxs as gp}from"react/jsx-runtime";var xp="k-actionsheet-item",Jw=[l.hover,l.focus,l.selected,l.disabled],bp=e=>{let{iconName:t,text:a,description:r,hover:s,focus:i,selected:d,disabled:p,...m}=e;return gp("span",{...m,className:o(e.className,xp,b(xp,{hover:s,focus:i,selected:d,disabled:p})),children:[!e.children&&Ns(jw,{children:gp("span",{className:"k-actionsheet-action",children:[t&&Ns("span",{className:"k-icon-wrap",children:Ns(y,{className:"k-actionsheet-item-icon",icon:t})}),gp("span",{className:"k-actionsheet-item-text",children:[a&&Ns("span",{className:"k-actionsheet-item-title",children:a}),r&&Ns("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};bp.states=Jw;bp.className=xp;import{jsx as I8,jsxs as B8}from"react/jsx-runtime";import{jsx as Y8}from"react/jsx-runtime";import{jsx as D8}from"react/jsx-runtime";import{jsx as H8}from"react/jsx-runtime";import{Fragment as _w,jsx as it,jsxs as vp}from"react/jsx-runtime";var mh="k-dropdownlist",Uw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],qw={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Bl={showValue:!0,arrowIconName:"caret-alt-down",size:n.medium,rounded:f.medium,fillMode:x.solid},se=e=>{let{size:t=Bl.size,rounded:a=Bl.rounded,fillMode:r=Bl.fillMode,arrowIconName:s=Bl.arrowIconName,showValue:i=Bl.showValue,valueIconName:d,prefix:p,suffix:m,value:k,placeholder:w,hover:A,focus:g,valid:T,invalid:N,required:S,loading:B,disabled:L,readonly:E,popup:D,opened:O,adaptive:fe,adaptiveSettings:Ee,adaptiveTitle:et,adaptiveSubtitle:Dt,adaptiveFilter:ya,...xl}=e;return vp(_w,{children:[vp(vt,{...xl,size:t,rounded:a,fillMode:r,hover:A,focus:g,valid:T,invalid:N,required:S,loading:B,disabled:L,readonly:E,className:o(e.className,mh,{"k-icon-picker":!i&&d}),children:[it($,{children:p}),it(go,{placeholder:w,value:k,showValue:i,valueIconName:d}),it(Z,{valid:T,invalid:N,loading:B,disabled:L}),it(j,{loading:B,disabled:L}),it(ee,{children:m}),it(c,{className:"k-input-button",icon:s,rounded:null,size:e.size,fillMode:e.fillMode})]}),O&&D&&it(F,{className:"k-list-container k-dropdownlist-popup",children:D}),fe&&it(re,{adaptive:!0,...Ee,header:it(ae,{actionsEnd:it(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:ya,inputValue:k,inputPlaceholder:w,title:et,subtitle:Dt}),children:it("div",{className:"k-list-container",children:vp(V,{size:"large",children:[it(P,{text:"List item"}),it(P,{text:"List item"}),it(P,{text:"List item"})]})})})]})};se.states=Uw;se.options=qw;se.className=mh;se.defaultOptions=Bl;import{jsx as pW}from"react/jsx-runtime";import{jsx as fW,jsxs as gW}from"react/jsx-runtime";import{Fragment as NW,jsx as AW,jsxs as TW}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 RW,jsxs as HW}from"react/jsx-runtime";import{Fragment as jW,jsx as ZW,jsxs as JW}from"react/jsx-runtime";import{Fragment as aO,jsx as tO,jsxs as oO}from"react/jsx-runtime";import{jsx as uh}from"react/jsx-runtime";var Kn="k-radio",$w=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked],eA={size:[n.small,n.medium,n.large]},kh={size:n.medium},bo=e=>{let{id:t,checked:a,hover:r,focus:s,disabled:i,invalid:d,valid:p,required:m,size:k=kh.size,...w}=e;return uh("span",{className:"k-radio-wrap",children:uh("input",{...w,id:t,type:"radio",checked:a,required:m,className:o(e.className,Kn,C(Kn,{size:k}),b(Kn,{hover:r,focus:s,disabled:i,invalid:d,valid:p,checked:a}))})})};bo.states=$w;bo.options=eA;bo.className=Kn;bo.defaultOptions=kh;import{jsx as aA}from"react/jsx-runtime";var hh="k-radio-list",tA=[],oA={},fh={layout:"vertical"},Ml=e=>{let{layout:t=fh.layout,...a}=e;return aA("ul",{...a,className:o(e.className,hh,{[`k-list-${t}`]:t}),children:e.children})};Ml.states=tA;Ml.options=oA;Ml.className=hh;Ml.defaultOptions=fh;import{jsx as iA}from"react/jsx-runtime";var gh="k-radio-list-item",lA=[],rA={},sA={},Ll=e=>{let{...t}=e;return iA("li",{...t,className:o(e.className,gh),children:e.children})};Ll.states=lA;Ll.options=rA;Ll.className=gh;Ll.defaultOptions=sA;import{jsx as CO}from"react/jsx-runtime";import{Fragment as LO,jsx as MO,jsxs as EO}from"react/jsx-runtime";import{Fragment as DO,jsx as KO,jsxs as FO}from"react/jsx-runtime";import{Fragment as QO,jsx as WO,jsxs as OO}from"react/jsx-runtime";import{Fragment as jO,jsx as JO,jsxs as UO}from"react/jsx-runtime";import{Fragment as tQ,jsx as eQ,jsxs as oQ}from"react/jsx-runtime";import{Fragment as dA,jsx as nt,jsxs as El}from"react/jsx-runtime";var Dn=({size:e,...t})=>nt(Ko,{formButtons:El(dA,{children:[nt(c,{className:"k-form-submit",themeColor:"primary",size:e,children:"Submit"}),nt(c,{className:"k-form-clear",size:e,children:"Clear"})]}),children:El(xo,{legend:"Form Legend",children:[nt(Je,{label:"Label",editor:nt(J,{size:e})}),nt(Je,{label:"Label",hint:"Hint text",editor:nt(se,{value:"Dropdown List",size:e})}),nt(Je,{label:"City",editor:El("ul",{className:"k-radio-list k-list-horizontal",children:[El("li",{className:"k-radio-list-item",children:[nt(bo,{checked:!0,size:e}),nt("label",{className:"k-radio-label",children:"Label"})]}),El("li",{className:"k-radio-list-item",children:[nt(bo,{size:e}),nt("label",{className:"k-radio-label",children:"Label"})]}),El("li",{className:"k-radio-list-item",children:[nt(bo,{size:e}),nt("label",{className:"k-radio-label",children:"Label"})]})]})})]}),size:e,...t});import{Fragment as IQ,jsx as SQ,jsxs as BQ}from"react/jsx-runtime";import{jsx as mA}from"react/jsx-runtime";var Cs="k-button-group",cA=[l.disabled],pA={fillMode:[x.solid,x.flat,x.outline,x.clear,x.link]},xh={fillMode:x.solid},Y=e=>{let{fillMode:t=xh.fillMode,disabled:a,stretched:r,...s}=e;return mA("div",{...s,className:o(e.className,Cs,C(Cs,{fillMode:t}),b(Cs,{disabled:a}),{[`${Cs}-stretched`]:r}),children:e.children})};Y.states=cA;Y.options=pA;Y.className=Cs;Y.defaultOptions=xh;import{Fragment as QQ,jsx as OQ,jsxs as VQ}from"react/jsx-runtime";import{Fragment as qQ,jsx as UQ,jsxs as _Q}from"react/jsx-runtime";import{Fragment as lV,jsx as aV,jsxs as rV}from"react/jsx-runtime";import{Fragment as pV,jsx as cV,jsxs as mV}from"react/jsx-runtime";import{Fragment as hA,jsx as bh,jsxs as fA}from"react/jsx-runtime";var vh="k-menu-button",uA=[l.hover,l.focus,l.active,l.selected,l.disabled],kA={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]},La={size:n.medium,rounded:f.medium,fillMode:x.solid,themeColor:u.base,showArrow:!0,arrowIconName:"caret-alt-down"},U=e=>{let{size:t=La.size,rounded:a=La.rounded,fillMode:r=La.fillMode,themeColor:s=La.themeColor,hover:i,focus:d,active:p,selected:m,disabled:k,icon:w,text:A,showArrow:g=La.showArrow,arrowIconName:T=La.arrowIconName,popup:N,opened:S,...B}=e;return fA(hA,{children:[bh(c,{...B,className:o(e.className,vh),text:A,size:t,rounded:a,fillMode:r,themeColor:s,hover:i,focus:d,active:p,selected:m,disabled:k,icon:w,showArrow:g,arrowIconName:T}),S&&N&&bh(F,{className:"k-menu-popup",children:N})]})};U.states=uA;U.options=kA;U.className=vh;U.defaultOptions=La;import{jsx as SV}from"react/jsx-runtime";import{jsx as LV}from"react/jsx-runtime";import{jsx as GV}from"react/jsx-runtime";import{Fragment as bA,jsx as Yl,jsxs as yh}from"react/jsx-runtime";var Ap="k-menu-item",gA=[l.hover,l.focus,l.active,l.selected,l.disabled],xA={},wh={iconPosition:"before"},Qe=e=>{let{hover:t,focus:a,active:r,selected:s,disabled:i,icon:d,text:p,first:m,last:k,showArrow:w,arrowIconName:A,iconPosition:g=wh.iconPosition,dir:T,children:N,...S}=e,B=Yl(bA,{});N&&N.forEach(E=>{if(E.type==="MenuItemContent"){B.props.children.push(E);return}});let L=A;return L||(L=T==="rtl"?"caret-alt-left":"caret-alt-right"),yh("li",{...S,className:o(e.className,Ap,"k-item",b(Ap,{focus:a,disabled:i,hover:t,active:r,selected:s}),{"k-first":m,"k-last":k}),children:[yh("span",{className:o("k-link k-menu-link"),children:[d&&g==="before"&&Yl(y,{className:"k-menu-link-icon",icon:d}),Yl("span",{className:"k-menu-link-text",children:p}),d&&g==="after"&&Yl(y,{className:"k-menu-link-icon",icon:d}),w&&Yl("span",{className:"k-menu-expand-arrow",children:Yl(y,{icon:L})})]}),B]})};Qe.states=gA;Qe.options=xA;Qe.className=Ap;Qe.defaultOptions=wh;import{Fragment as wA,jsx as Pl,jsxs as Ah}from"react/jsx-runtime";var Tp="k-menu-item",vA=[l.hover,l.focus,l.active,l.selected,l.disabled],yA={},Np={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:w,arrowIconName:A,iconPosition:g=Np.iconPosition,dir:T=Np.dir,children:N,popup:S,...B}=e,L=Pl(wA,{});N&&N.forEach(D=>{if(D.type==="MenuListItemContent"){L.props.children.push(D);return}});let E=A;return E||(E=T==="rtl"?"caret-alt-left":"caret-alt-right"),Ah("li",{...B,className:o(e.className,Tp,"k-item",b(Tp,{focus:a,disabled:i}),{"k-first":m,"k-last":k}),children:[Ah("span",{className:o("k-link k-menu-link",b("k-menu-link",{hover:t,active:r,selected:s,disabled:i})),children:[d&&g==="before"&&Pl(y,{className:"k-menu-link-icon",icon:d}),Pl("span",{className:"k-menu-link-text",children:p}),d&&g==="after"&&Pl(y,{className:"k-menu-link-icon",icon:d}),w&&Pl("span",{className:"k-menu-expand-arrow",children:Pl(y,{icon:E})})]}),L,S]})};Wt.states=vA;Wt.options=yA;Wt.className=Tp;Wt.defaultOptions=Np;import{jsx as CA}from"react/jsx-runtime";var Th="k-menu-scroll-wrapper",AA=[],TA={},NA={},Ss=e=>{let{className:t,children:a,orientation:r,...s}=e;return CA("div",{...s,className:o(t,Th,{"k-menu-scroll-wrapper-vertical":r==="vertical"}),children:a})};Ss.states=AA;Ss.options=TA;Ss.className=Th;Ss.defaultOptions=NA;var Nh=Ss;import{Fragment as Cp,jsx as Ea,jsxs as Fn}from"react/jsx-runtime";var Sp="k-menu",SA=[],IA={},zn={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Ot=e=>{let{children:t,orientation:a=zn.orientation,header:r=zn.header,scrollable:s,scrollButtonsPosition:i=zn.scrollButtonsPosition,wrapperStyles:d,dir:p,popup:m,...k}=e,w={horizontal:{prev:p!=="rtl"?"left":"right",next:p!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},A=Ea("ul",{dir:p,...k,className:o(e.className,"k-reset",Sp,{[`${Sp}-${a}`]:a,"k-header":r}),children:t});return Fn(Cp,{children:[s?Fn(Nh,{orientation:a,style:d,dir:e.dir,children:[i==="start"&&Fn(Cp,{children:[Ea(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${w[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),Ea(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${w[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),i==="around"&&Ea(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${w[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),A,i==="end"&&Fn(Cp,{children:[Ea(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${w[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),Ea(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${w[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),i==="around"&&Ea(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${w[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}):A,m]})};Ot.states=SA;Ot.options=IA;Ot.className=Sp;Ot.defaultOptions=zn;import{jsx as BA}from"react/jsx-runtime";var Ip="k-separator",Ch={orientation:"horizontal"},Is=e=>{let{orientation:t=Ch.orientation,...a}=e;return BA("li",{...a,className:o(e.className,"k-item",Ip,{[`${Ip}-${t}`]:t})})};Is.className=Ip;Is.defaultOptions=Ch;import{Fragment as l6,jsx as r6}from"react/jsx-runtime";import{jsx as Sh}from"react/jsx-runtime";import{createElement as EA}from"react";var Bp="k-menu-group",MA=[],LA={size:[n.small,n.medium,n.large]},Mp={size:n.medium,dir:"ltr"},vo=e=>{let{children:t,size:a=Mp.size,dir:r=Mp.dir,...s}=e,i=[];return t&&Array.isArray(t)&&t.map((d,p)=>{d.type===Wt?i.push(EA(Wt,{...d.props,dir:r,key:p})):d.type===Is?i.push(Sh(Is,{})):i.push(d)}),Sh("ul",{...s,className:o(e.className,Bp,C(Bp,{size:a})),children:i})};vo.states=MA;vo.options=LA;vo.className=Bp;vo.defaultOptions=Mp;import{Fragment as h6,jsx as k6,jsxs as f6}from"react/jsx-runtime";import{Fragment as A6,jsx as y6,jsxs as w6}from"react/jsx-runtime";import{Fragment as I6,jsx as S6,jsxs as B6}from"react/jsx-runtime";import{Fragment as P6,jsx as Y6,jsxs as G6}from"react/jsx-runtime";import{Fragment as R6,jsx as z6,jsxs as H6}from"react/jsx-runtime";import{jsx as r3,jsxs as s3}from"react/jsx-runtime";import{Fragment as GA,jsx as Lp,jsxs as Ih}from"react/jsx-runtime";var Ep="k-split-button",YA=[l.hover,l.focus,l.active,l.selected,l.disabled],PA={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Gl={size:n.medium,rounded:f.medium,fillMode:x.solid,themeColor:u.base,arrowIconName:"caret-alt-down"},Ce=e=>{let{size:t=Gl.size,rounded:a=Gl.rounded,fillMode:r=Gl.fillMode,themeColor:s=Gl.themeColor,hover:i,focus:d,active:p,selected:m,disabled:k,icon:w,text:A,arrowIconName:g=Gl.arrowIconName,popup:T,opened:N,...S}=e;return Ih(GA,{children:[Ih("div",{...S,className:o(e.className,Ep,"k-button-group",C(Ep,{rounded:a})),children:[Lp(c,{text:A,icon:w,size:t,rounded:a,fillMode:r,themeColor:s,hover:i,focus:d,active:p,selected:m,disabled:k,children:e.children}),Lp(c,{className:"k-split-button-arrow",icon:g,size:t,rounded:a,fillMode:r,disabled:k})]}),N&&T&&Lp(F,{className:"k-menu-popup",children:T})]})};Ce.states=YA;Ce.options=PA;Ce.className=Ep;Ce.defaultOptions=Gl;var Yp=Ce;import{jsx as y3}from"react/jsx-runtime";import{jsx as N3}from"react/jsx-runtime";import{jsx as B3}from"react/jsx-runtime";import{jsx as P3,jsxs as G3}from"react/jsx-runtime";import{Fragment as Bh,jsx as Bs,jsxs as Pp}from"react/jsx-runtime";var Mh="k-textarea",KA=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled],DA={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},zo={size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode,flow:"vertical",affixesOrientation:"horizontal",resize:"both",separators:!0},Ms=e=>{let{size:t=zo.size,rounded:a=zo.rounded,fillMode:r=zo.fillMode,separators:s=zo.separators,affixesOrientation:i=zo.affixesOrientation,flow:d=zo.flow,resize:p=zo.resize,prefix:m,suffix:k,rows:w,value:A,placeholder:g,hover:T,focus:N,valid:S,invalid:B,required:L,disabled:E,...D}=e;return Pp(M,{...D,size:t,rounded:a,fillMode:r,hover:T,focus:N,valid:S,invalid:B,required:L,disabled:E,className:o(e.className,Mh,{"!k-flex-col":d==="vertical","!k-flex-row":d==="horizontal"}),children:[m&&Pp(Bh,{children:[Bs($,{className:o({"!k-align-items-start":d===i}),direction:i,children:m}),s&&Bs(ge,{direction:d==="horizontal"?"vertical":"horizontal"})]}),Bs(hs,{className:o("!k-overflow-auto",{"!k-flex-none":d==="vertical","k-resize-x":p==="x","k-resize-y":p==="y","k-resize":p==="both","k-resize-none":p==="none"})