@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 286 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"},gt={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};import{jsx as uv}from"react/jsx-runtime";var pv=[],mv={},lk=e=>{let{type:t,...a}=e,r=t==="p"?"paragraph":t,s=t.includes("display")?"div":t;return uv(s,{...a,className:o(e.className,{[`k-${r}`]:t}),children:e.children})};lk.states=pv;lk.options=mv;import{Fragment as gv,jsx as rk}from"react/jsx-runtime";var Yc="k-icon k-font-icon",kv=[],hv={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]},fv={},is=e=>{let{size:t,themeColor:a,icon:r,rotate:s,flip:i,...d}=e;return r?rk("span",{...d,className:o(e.className,Yc,C(Yc,{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"})}):rk(gv,{})};is.states=kv;is.options=hv;is.className=Yc;is.defaultOptions=fv;var sk=is;import{Fragment as vv,jsx as hn}from"react/jsx-runtime";var Pc="k-icon k-svg-icon",xv=[],bv={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]},ik={viewBox:"0 0 24 24"},ns=e=>{let{size:t,themeColor:a,rotate:r,flip:s,viewBox:i=ik.viewBox,icon:d,...p}=e;if(!d)return hn(vv,{});d==="none"&&{...p,className:o(e.className,Pc,"k-none")};let m=typeof d=="object"&&d.name&&d.name;return hn("span",{...p,className:o(e.className,Pc,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:hn("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})})};ns.states=xv;ns.options=bv;ns.className=Pc;ns.defaultOptions=ik;var Gc=ns;import*as nk from"@progress/kendo-svg-icons";import{Fragment as dk,jsx as ds}from"react/jsx-runtime";var yv=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),wv=[],Av={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]},Kc={viewBox:"0 0 24 24",type:"svg"},v=e=>{let{size:t,themeColor:a,icon:r,type:s=Kc.type,rotate:i,flip:d,viewBox:p=Kc.viewBox,...m}=e;if(!r)return ds(dk,{});if(s==="svg"){if(r==="none")return ds(Gc,{...m,icon:r,size:t});let k=yv(`${r}-icon`);return nk[k]?ds(Gc,{...m,icon:nk[k],size:t,themeColor:a,rotate:i,flip:d,viewBox:p}):ds(dk,{})}return ds(sk,{...m,icon:r,size:t,themeColor:a,rotate:i,flip:d})};v.states=wv;v.options=Av;v.defaultOptions=Kc;var Dc=v;import{jsx as Cv}from"react/jsx-runtime";var fn="k-actions",Tv=[],Nv={},Fc={alignment:"start",orientation:"horizontal"},O=e=>{let{alignment:t=Fc.alignment,orientation:a=Fc.orientation,...r}=e;return Cv("div",{...r,className:o(fn,{[`${fn}-${t}`]:t,[`${fn}-${a}`]:a},e.className),children:e.children})};O.states=Tv;O.options=Nv;O.className=fn;O.defaultOptions=Fc;var ck=O;import{jsx as Bv}from"react/jsx-runtime";var gn="k-input",Sv=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],Iv={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},xn={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=xn.size,rounded:k=xn.rounded,fillMode:y=xn.fillMode,...A}=e;return Bv("span",{...A,className:o(e.className,gn,C(gn,{size:m,rounded:k,fillMode:y}),b(gn,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p}))})};M.states=Sv;M.options=Iv;M.className=gn;M.defaultOptions=xn;import{jsx as Ev}from"react/jsx-runtime";var bn="k-picker",Mv=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],Lv={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},vn={size:n.medium,rounded:f.medium,fillMode:x.solid},xt=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p,size:m=vn.size,rounded:k=vn.rounded,fillMode:y=vn.fillMode,...A}=e;return Ev("span",{...A,className:o(e.className,bn,C(bn,{size:m,rounded:k,fillMode:y}),b(bn,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p})),children:e.children})};xt.states=Mv;xt.options=Lv;xt.className=bn;xt.defaultOptions=vn;import{Fragment as Gv,jsx as zc}from"react/jsx-runtime";var pk="k-clear-value",Yv=[l.disabled,l.loading,l.readonly],Pv={},te=e=>{let{disabled:t,loading:a,readonly:r,value:s}=e;return t||r||a||!s?zc(Gv,{}):zc("span",{className:o(e.className,pk),children:zc(v,{icon:"x"})})};te.states=Yv;te.options=Pv;te.className=pk;import{jsx as Fv}from"react/jsx-runtime";var Rc="k-input-inner",Kv=[],Dv={},yn={type:"text",autocomplete:"off",value:"",placeholder:""},le=e=>{let{value:t=yn.value,type:a=yn.type,placeholder:r=yn.placeholder,autocomplete:s=yn.autocomplete,...i}=e;return Fv("input",{...i,type:a,className:o(e.className,Rc,C(Rc,e)),placeholder:r,autoComplete:s,defaultValue:t})};le.states=Kv;le.options=Dv;le.className=Rc;import{jsx as mk,jsxs as Hv}from"react/jsx-runtime";var Hc="k-input-inner",zv=[],Rv={},fo=e=>{let{value:t,placeholder:a,showValue:r,valueIcon:s,valueIconName:i,...d}=e;return Hv("span",{...d,className:o(e.className,Hc,C(Hc,e)),children:[s,!s&&i&&mk(v,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&mk("span",{className:"k-input-value-text",children:t})]})};fo.states=zv;fo.options=Rv;fo.className=Hc;import{jsx as Qv}from"react/jsx-runtime";var Wc="k-input-inner",Wv=[],Ov={},uk={value:"",placeholder:""},cs=e=>{let{value:t=uk.value,placeholder:a=uk.placeholder,rows:r,...s}=e;return Qv("textarea",{...s,className:o(e.className,Wc,C(Wc,e)),placeholder:a,rows:r,defaultValue:t})};cs.states=Wv;cs.options=Ov;cs.className=Wc;import{Fragment as Xv,jsx as kk}from"react/jsx-runtime";var hk="k-input-loading-icon",Vv=[l.disabled,l.loading],J=e=>{let{disabled:t,loading:a}=e;return t||!a?kk(Xv,{}):kk("span",{className:o(e.className,hk,"k-icon k-i-loading")})};J.states=Vv;J.className=hk;import{Fragment as jv,jsx as fk}from"react/jsx-runtime";var gk="k-input-validation-icon",Zv=[l.valid,l.invalid,l.disabled,l.loading],Jv={},X=e=>{let{valid:t,invalid:a,disabled:r,loading:s}=e,i=a?"warning-circle":"check-circle";return r||s||!!!(t||a)?fk(jv,{}):fk(v,{className:o(gk),icon:i})};X.states=Zv;X.options=Jv;X.className=gk;import{Fragment as _v,jsx as xk}from"react/jsx-runtime";var Uv="k-input-prefix",qv={direction:"horizontal"},$=e=>{let{direction:t=qv.direction,...a}=e;return e.children?xk("span",{...a,className:o(Uv,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):xk(_v,{})};import{Fragment as ty,jsx as bk}from"react/jsx-runtime";var $v="k-input-suffix",ey={direction:"horizontal"},ee=e=>{let{direction:t=ey.direction,...a}=e;return e.children?bk("span",{...a,className:o($v,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):bk(ty,{})};import{jsx as PG}from"react/jsx-runtime";import{jsx as FG}from"react/jsx-runtime";import{jsx as ay}from"react/jsx-runtime";var vk="k-input-separator",oy={direction:"vertical"},fe=e=>{let{direction:t=oy.direction,...a}=e;return ay("span",{...a,className:o(vk,e.className,{[`${vk}-${t}`]:t})})};import{jsx as yk}from"react/jsx-runtime";var wk="k-animation-container",ly=[],ry={},Ak={positionMode:"absolute"},Mo=e=>{let{positionMode:t=Ak.positionMode,animationStyle:a,offset:r,...s}=e;return yk("div",{...s,style:{...r,...e.style},className:o(e.className,wk,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:yk("div",{className:"k-child-animation-container",style:a,children:e.children})})};Mo.states=ly;Mo.options=ry;Mo.className=wk;Mo.defaultOptions=Ak;import{jsx as Tk}from"react/jsx-runtime";var Nk="k-popup",sy=[],iy={},Ck={positionMode:"absolute"},F=e=>{let{offset:t,positionMode:a=Ck.positionMode,animationStyle:r,...s}=e;return Tk(Mo,{positionMode:a,offset:t,animationStyle:r,children:Tk("div",{...s,className:o(e.className,Nk),children:e.children})})};F.states=sy;F.options=iy;F.className=Nk;F.defaultOptions=Ck;import{jsx as dy}from"react/jsx-runtime";var ny="k-no-data",ps=e=>dy("span",{className:o(ny,e.className),children:e.children});import{jsx as gl,jsxs as Sk}from"react/jsx-runtime";var Oc="k-list",cy=[],py={size:[n.small,n.medium,n.large]},Ik={size:n.medium},Q=e=>{let{size:t=Ik.size,virtualization:a,children:r,optionLabel:s,customValue:i,screenReaders:d,...p}=e,m,k,y,A,g=[];return r?r.map((T,N)=>{T.type===ge?(T.props.root===!0?(m=T.props.label,T.props.children.map((S,B)=>{g.push(gl(P,{...S.props},`optChild-${B}-${new Date().getTime()}`))})):T.props.children.forEach((S,B)=>{let L="";B===0&&(L=T.props.label),g.push(gl(P,{className:B===0?"k-first":"",...S.props,groupLabel:L},`groupLabel-${B}-${new Date().getTime()}`))}),k=gl(ge,{label:m,virtualization:a,children:g})):T.type===P&&(g.push(gl(P,{...T.props},`${T.type}-${N}`)),y=gl(xl,{virtualization:a,children:g}),d&&(A=Sk(ps,{className:"k-sr-only",children:[g.length," items found."]})))}):A=gl(ps,{children:"No data found."}),Sk("div",{...p,className:o(e.className,Oc,C(Oc,{size:t}),{"k-virtual-list":a}),children:[s,i,k,y,A]})};Q.states=cy;Q.options=py;Q.className=Oc;Q.defaultOptions=Ik;import{jsx as va,jsxs as ky}from"react/jsx-runtime";var Qc="k-list",my=[],uy={size:[n.small,n.medium,n.large]},Bk={size:n.medium},ya=e=>{let{size:t=Bk.size,virtualization:a,children:r,...s}=e,i,d,p,m=[];return r?r.map((k,y)=>{k.type===ge?(k.props.root===!0?(i=k.props.label,k.props.children.map((A,g)=>{m.push(va(P,{...A.props},`optChild-${g}-${new Date().getTime()}`))})):(m.push(va(Mk,{...k.props,children:k.props.label},`listChild-${y}`)),k.props.children.map((A,g)=>{m.push(va(P,{...A.props},`fwOptChild-${g}-${new Date().getTime()}`))})),d=va(ge,{label:i,virtualization:a,children:m})):k.type===P&&(m.push(va(P,{...k.props},`${k.type}-${y}`)),p=va(xl,{virtualization:a,children:m}))}):p=va(ps,{children:"No data found."}),ky("div",{...s,className:o(e.className,Qc,C(Qc,{size:t}),{"k-virtual-list":a}),children:[d,p]})};ya.states=my;ya.options=uy;ya.className=Qc;ya.defaultOptions=Bk;import{jsx as Lk}from"react/jsx-runtime";var wn="k-checkbox",hy=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],fy={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full]},Vc={size:n.medium,rounded:f.medium},We=e=>{let{id:t,checked:a,indeterminate:r,hover:s,focus:i,disabled:d,invalid:p,valid:m,required:k,size:y=Vc.size,rounded:A=Vc.rounded,...g}=e;return Lk("span",{className:"k-checkbox-wrap",children:Lk("input",{...g,id:t,type:"checkbox",defaultChecked:a,required:k,className:o(e.className,wn,C(wn,{size:y,rounded:A}),b(wn,{hover:s,focus:i,disabled:d,invalid:p,valid:m,indeterminate:r,checked:a}))})})};We.states=hy;We.options=fy;We.className=wn;We.defaultOptions=Vc;import{jsx as by}from"react/jsx-runtime";var Ek="k-checkbox-list",gy=[],xy={},Yk={layout:"vertical"},bl=e=>{let{layout:t=Yk.layout,...a}=e;return by("ul",{...a,className:o(e.className,Ek,{[`k-list-${t}`]:t}),children:e.children})};bl.states=gy;bl.options=xy;bl.className=Ek;bl.defaultOptions=Yk;import{jsx as Ay}from"react/jsx-runtime";var Pk="k-checkbox-list-item",vy=[],yy={},wy={},vl=e=>{let{...t}=e;return Ay("li",{...t,className:o(e.className,Pk),children:e.children})};vl.states=vy;vl.options=yy;vl.className=Pk;vl.defaultOptions=wy;import{Fragment as HK,jsx as RK,jsxs as WK}from"react/jsx-runtime";import{Fragment as ZK,jsx as XK,jsxs as JK}from"react/jsx-runtime";import{Fragment as $K,jsx as _K,jsxs as eD}from"react/jsx-runtime";import{Fragment as rD,jsx as lD,jsxs as sD}from"react/jsx-runtime";import{jsx as cD}from"react/jsx-runtime";import{jsx as kD}from"react/jsx-runtime";import{jsx as An,jsxs as Sy}from"react/jsx-runtime";var Zc="k-list-item",Ty=[l.hover,l.focus,l.selected,l.disabled],Ny={},Cy={},P=e=>{let{text:t,groupLabel:a,group:r,showIcon:s,iconName:i,showCheckbox:d,checked:p,hover:m,focus:k,selected:y,disabled:A,...g}=e,T=t||e.children;return Sy("li",{...g,className:o(e.className,r?"k-list-group-item":Zc,b(Zc,{hover:m,focus:k,disabled:A,selected:y})),children:[d&&An(We,{checked:p}),s&&An(v,{icon:i}),An("span",{className:"k-list-item-text",children:T}),a&&a!==""&&An("div",{className:"k-list-item-group-label",children:a})]})};P.states=Ty;P.options=Ny;P.className=Zc;P.defaultOptions=Cy;import{jsx as Jc,jsxs as By}from"react/jsx-runtime";var Iy="k-list-content",xl=e=>{let{virtualization:t,...a}=e;return By("div",{...a,className:o(Iy,e.className),children:[Jc("ul",{className:o("k-list-ul"),children:e.children}),t&&Jc("div",{className:"k-height-container",children:Jc("div",{})})]})};import{jsx as Gk}from"react/jsx-runtime";var My="k-list-group-sticky-header",Kk=e=>Gk("div",{className:o(My,e.className),children:Gk("div",{className:"k-list-header-text",children:e.children})});import{Fragment as Ly,jsx as Dk,jsxs as Ey}from"react/jsx-runtime";var ge=e=>{let{virtualization:t,label:a}=e;return Ey(Ly,{children:[a&&Dk(Kk,{children:a}),e.children&&Dk(xl,{virtualization:t,children:e.children})]})};import{jsx as Fk}from"react/jsx-runtime";var Yy="k-list-group-item",Mk=e=>Fk("li",{className:o(Yy,e.className),children:Fk("span",{className:"k-list-item-text",children:e.children})});import{jsx as Dy}from"react/jsx-runtime";var jc="k-list-optionlabel",Py=[l.hover,l.focus,l.selected,l.disabled],Gy={},Ky={},Tn=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return Dy("div",{...d,className:o(jc,b(jc,{hover:a,focus:r,selected:s,disabled:i})),children:t})};Tn.states=Py;Tn.options=Gy;Tn.className=jc;Tn.defaultOptions=Ky;import{jsx as Hy}from"react/jsx-runtime";var Uc="k-list-custom-value",Fy=[l.hover,l.focus,l.selected,l.disabled],zy={},Ry={},Xe=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return Hy("div",{...d,className:o(Uc,b(Uc,{hover:a,focus:r,selected:s,disabled:i})),children:t})};Xe.states=Fy;Xe.options=zy;Xe.className=Uc;Xe.defaultOptions=Ry;import{jsx as qD}from"react/jsx-runtime";import{jsx as tF}from"react/jsx-runtime";import{jsx as rF,jsxs as sF}from"react/jsx-runtime";import{jsx as cF,jsxs as pF}from"react/jsx-runtime";import{jsx as hF}from"react/jsx-runtime";import{jsx as bF,jsxs as vF}from"react/jsx-runtime";import{jsx as TF,jsxs as NF}from"react/jsx-runtime";import{jsx as zk}from"react/jsx-runtime";var ms="k-avatar";var Wy=[l.hover,l.focus,l.active,l.selected,l.disabled],Oy={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]},wa={type:"text",size:n.medium,rounded:f.full,fillMode:x.solid,themeColor:u.primary,border:!1},$t=e=>{let{size:t=wa.size,rounded:a=wa.rounded,fillMode:r=wa.fillMode,themeColor:s=wa.themeColor,type:i=wa.type,border:d=wa.border,...p}=e;return zk("div",{...p,className:o(e.className,ms,C(ms,{size:t,rounded:a,fillMode:r,themeColor:s}),{[`${ms}-bordered`]:d}),children:zk("span",{className:`${ms}-${i}`,children:e.children})})};$t.states=Wy;$t.options=Oy;$t.className=ms;$t.defaultOptions=wa;import{jsx as jF}from"react/jsx-runtime";import{jsx as $F}from"react/jsx-runtime";import{jsx as az}from"react/jsx-runtime";import{jsx as Xy}from"react/jsx-runtime";var us="k-badge",Qy=[],Vy={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]},ks={size:n.medium,fillMode:x.solid,themeColor:u.primary,cutoutBorder:!1},yl=e=>{let{size:t=ks.size,fillMode:a=ks.fillMode,themeColor:r=ks.themeColor,cutoutBorder:s=ks.cutoutBorder,rounded:i,position:d,align:p,...m}=e;return Xy("span",{...m,className:o(e.className,us,C(us,{size:t,rounded:i,fillMode:a,themeColor:r}),{[`${us}-${d}`]:d,[`k-${p}`]:p,[`${us}-border-cutout`]:s}),children:e.children})};yl.states=Qy;yl.options=Vy;yl.className=us;yl.defaultOptions=ks;import{jsx as hz}from"react/jsx-runtime";import{jsx as vz}from"react/jsx-runtime";import{jsx as Bz}from"react/jsx-runtime";import{jsx as wl,jsxs as jy}from"react/jsx-runtime";var Nn="k-chip",Zy=[l.hover,l.focus,l.active,l.selected,l.disabled],Jy={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]},Al={size:n.medium,rounded:f.medium,fillMode:x.solid,themeColor:u.base,avatarImage:"/packages/html/assets/avatar.jpg"},Dt=e=>{let{size:t=Al.size,rounded:a=Al.rounded,fillMode:r=Al.fillMode,themeColor:s=Al.themeColor,text:i,icon:d,actions:p,showAvatar:m,avatarImage:k=Al.avatarImage,hover:y,focus:A,active:g,selected:T,disabled:N,...S}=e;return jy("div",{...S,className:o(e.className,Nn,C(Nn,{size:t,rounded:a,fillMode:r,themeColor:s}),b(Nn,{hover:y,focus:A,active:g,disabled:N,selected:T})),children:[d&&wl(v,{className:"k-chip-icon",icon:d,size:"small"}),m&&wl($t,{className:"k-chip-avatar",type:"image",children:wl("img",{src:k})}),wl("span",{className:"k-chip-content",children:e.children?e.children:i&&wl("span",{className:"k-chip-label",children:i})}),p&&wl("span",{className:"k-chip-actions",children:p})]})};Dt.states=Zy;Dt.options=Jy;Dt.className=Nn;Dt.defaultOptions=Al;import{jsx as _y}from"react/jsx-runtime";var qc="k-chip-list",Uy=[],qy={size:[n.small,n.medium,n.large]},Hk={size:n.medium},Ft=e=>{let{size:t=Hk.size,...a}=e;return _y("div",{...a,className:o(e.className,qc,C(qc,{size:t})),children:e.children})};Ft.states=Uy;Ft.options=qy;Ft.className=qc;Ft.defaultOptions=Hk;import{jsx as Hz}from"react/jsx-runtime";import{jsx as Vz}from"react/jsx-runtime";import{jsx as jz}from"react/jsx-runtime";import{jsx as eR}from"react/jsx-runtime";import{Fragment as sR,jsx as rR,jsxs as iR}from"react/jsx-runtime";import{jsx as Wk,jsxs as tw}from"react/jsx-runtime";var Ok="k-color-preview",$y=[],ew={},Lo=e=>{let{color:t,iconName:a,...r}=e;return tw("span",{...r,className:o(e.className,Ok,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&Wk(v,{icon:a,className:"k-color-preview-icon"}),Wk("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Lo.states=$y;Lo.options=ew;Lo.className=Ok;import{Fragment as _c,jsx as Qk,jsxs as Sn}from"react/jsx-runtime";var $c="k-loader",ow={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},aw=[],lw={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]},In={size:n.medium,themeColor:u.primary,animation:"pulsing"},Eo=e=>{let{size:t=In.size,themeColor:a=In.themeColor,animation:r=In.animation,...s}=e,i=Qk("span",{className:"k-loader-segment"});return Qk("div",{...s,className:o(e.className,$c,{[`k-loader-${ow[r]||r}`]:r},C($c,{size:t,themeColor:a})),children:Sn("div",{className:"k-loader-canvas",children:[r==="pulsing"&&Sn(_c,{children:[i,i]}),r==="infinite-spinner"&&Sn(_c,{children:[i,i,i]}),r==="converging-spinner"&&Sn(_c,{children:[i,i,i,i]})]})})};Eo.states=aw;Eo.options=lw;Eo.className=$c;Eo.defaultOptions=In;var Vk=Eo;import{jsx as ep,jsxs as Xk}from"react/jsx-runtime";var tp="k-loader-container",rw=[],sw={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]},Ta={size:n.medium,themeColor:u.primary,loaderType:"pulsing",position:"top",overlay:"dark",panel:!1},hs=e=>{let{size:t=Ta.size,themeColor:a=Ta.themeColor,loaderType:r=Ta.loaderType,position:s=Ta.position,overlay:i=Ta.overlay,panel:d=Ta.panel,...p}=e;return Xk("div",{...p,className:o(e.className,tp,C(tp,{size:t}),{[`k-loader-${s}`]:s}),children:[ep("div",{className:`k-loader-container-overlay k-overlay-${i}`}),Xk("div",{className:o("k-loader-container-inner",{"k-loader-container-panel":d}),children:[ep(Vk,{size:t,themeColor:a,animation:r}),ep("div",{className:`k-loader-container-label !k-text-${a}`,children:"Loading..."})]})]})};hs.states=rw;hs.options=sw;hs.className=tp;hs.defaultOptions=Ta;import{jsx as YR}from"react/jsx-runtime";import{jsx as DR}from"react/jsx-runtime";import{jsx as HR}from"react/jsx-runtime";import{jsx as VR}from"react/jsx-runtime";import{jsx as dw}from"react/jsx-runtime";var Zk="k-skeleton",iw=[],nw={},op={shape:"text",animation:"pulse"},Yo=e=>{let{shape:t=op.shape,animation:a=op.animation,...r}=e;return dw("span",{...r,className:o(e.className,Zk,{[`k-skeleton-${t}`]:t,[`k-skeleton-${a}`]:a}),style:e.style})};Yo.states=iw;Yo.options=nw;Yo.className=Zk;Yo.defaultOptions=op;import{jsx as r0}from"react/jsx-runtime";import{jsx as cw}from"react/jsx-runtime";var Jk=e=>cw(Yo,{shape:"rect",...e});import{jsx as m0}from"react/jsx-runtime";import{jsx as fs,jsxs as ap}from"react/jsx-runtime";var lp="k-form-field",pw=[l.disabled],Ze=e=>{let{label:t,orientation:a,optional:r,editor:s,hint:i,error:d,info:p,disabled:m,dir:k,colSpan:y}=e;return ap("div",{className:o(lp,e.className,b(lp,{disabled:m}),{[`k-col-span-${y}`]:y}),dir:k,children:[t&&ap("label",{className:o("k-label","k-form-label"),children:[t,r&&fs("span",{className:"k-label-optional",children:"(Optional)"}),p&&fs("span",{className:"k-field-info",children:"(field info)"})]}),a==="horizontal"&&!t&&fs("span",{className:"k-label k-form-label k-label-empty"}),ap("div",{className:"k-form-field-wrap",children:[s,i&&fs("div",{className:"k-form-hint",children:i}),d&&fs("div",{className:"k-form-error",children:d})]})]})};Ze.states=pw;Ze.className=lp;import{Fragment as mw,jsx as rp,jsxs as uw}from"react/jsx-runtime";var jk="k-form-fieldset",go=e=>{let{legend:t,layout:a,cols:r,gapX:s,gapY:i}=e;return uw("fieldset",{className:o(jk),children:[t&&rp("legend",{className:"k-form-legend",children:t}),a==="grid"?rp("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}):rp(mw,{children:e.children})]})};go.className=jk;import{Fragment as fw,jsx as gs,jsxs as gw}from"react/jsx-runtime";import{createElement as sp}from"react";var Bn="k-form",kw=[],hw={size:[n.small,n.medium,n.large]},Mn={size:n.medium,layout:"basic",tag:"form"},Po=e=>{let{size:t=Mn.size,orientation:a,layout:r=Mn.layout,formButtons:s,cols:i,gapX:d,gapY:p,tag:m=Mn.tag,children:k}=e,y=({tag:g,className:T,children:N})=>g==="form"?gs("form",{className:T,children:N}):gs("div",{className:T,children:N}),A=[];return k&&(Array.isArray(k)?k.map((g,T)=>{g.type===Ze?A.push(sp(Ze,{...g.props,orientation:a,key:T})):A.push(g)}):k.type===Ze?A.push(sp(Ze,{...k.props,orientation:a,key:`${new Date().getTime()}`})):k.type===go&&A.push(sp(go,{...k.props,key:`${new Date().getTime()}`}))),gw(y,{tag:m,className:o(e.className,Bn,C(Bn,{size:t}),{[`${Bn}-${a}`]:a}),children:[r==="grid"?gs("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}):gs(fw,{children:A}),s&&gs("div",{className:"k-form-buttons",children:s})]})};Po.states=kw;Po.options=hw;Po.className=Bn;Po.defaultOptions=Mn;import{Fragment as vw,jsx as xs,jsxs as Uk}from"react/jsx-runtime";var Ln="k-button",xw=[l.hover,l.focus,l.active,l.selected,l.disabled],bw={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]},Na={size:n.medium,rounded:f.medium,fillMode:x.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},c=e=>{let{size:t=Na.size,rounded:a=Na.rounded,fillMode:r=Na.fillMode,themeColor:s=Na.themeColor,showArrow:i=Na.showArrow,arrowIconName:d=Na.arrowIconName,hover:p,focus:m,active:k,selected:y,disabled:A,icon:g,text:T,iconClassName:N,...S}=e,B=g!==void 0,L=e.children!==void 0;return Uk("button",{...S,className:o(e.className,Ln,C(Ln,{size:t,rounded:a,fillMode:r,themeColor:s}),b(Ln,{hover:p,focus:m,active:k,disabled:A,selected:y}),{"k-icon-button":!T&&!L&&B}),children:[g&&xs(v,{className:o(N,"k-button-icon"),icon:g}),T?Uk(vw,{children:[T&&xs("span",{className:"k-button-text",children:T}),e.children]}):e.children&&xs("span",{className:"k-button-text",children:e.children}),i&&xs("span",{className:"k-menu-button-arrow k-button-arrow",children:xs(v,{icon:d})})]})};c.states=xw;c.options=bw;c.className=Ln;c.defaultOptions=Na;import{jsx as yw}from"react/jsx-runtime";var $e=e=>yw(c,{icon:"folder",...e,children:void 0});import{jsx as ww}from"react/jsx-runtime";var zt=e=>ww(c,{icon:"folder",children:"Button",...e});import{jsx as O0}from"react/jsx-runtime";import{jsx as Tw}from"react/jsx-runtime";var Aw="k-actionsheet-footer",qk={alignment:"stretched",orientation:"horizontal"},Rt=e=>{let{alignment:t=qk.alignment,orientation:a=qk.orientation,template:r,as:s=r?"div":O,...i}=e;return Tw(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,Aw),children:e.children})};import{jsx as bs,jsxs as Sw}from"react/jsx-runtime";var _k="k-searchbox",Nw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],Cw={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},ip={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:y,loading:A,disabled:g,showIcon:T=ip.showIcon,icon:N=ip.icon,...S}=e;return Sw(M,{...S,size:r,rounded:s,fillMode:i,hover:d,focus:p,valid:m,invalid:k,required:y,loading:A,disabled:g,className:o(e.className,_k),children:[T&&bs(v,{className:"k-input-icon",icon:N}),bs(le,{placeholder:a,value:t}),bs(J,{...e}),bs(X,{...e}),bs(te,{...e})]})};De.states=Nw;De.options=Cw;De.className=_k;De.defaultOptions=ip;import{jsx as nH}from"react/jsx-runtime";import{Fragment as $k,jsx as Go,jsxs as np}from"react/jsx-runtime";var eh="k-textbox",Iw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],Bw={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Ca={showClearButton:!0,showValidationIcon:!0,size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode,separators:!0},Z=e=>{let{size:t=Ca.size,rounded:a=Ca.rounded,fillMode:r=Ca.fillMode,separators:s=Ca.separators,showClearButton:i=Ca.showClearButton,showValidationIcon:d=Ca.showValidationIcon,prefix:p,suffix:m,type:k,value:y,placeholder:A,hover:g,focus:T,valid:N,invalid:S,required:B,loading:L,disabled:E,readonly:D,...W}=e;return np(M,{...W,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,eh),children:[p&&np($k,{children:[Go($,{children:p}),s&&Go(fe,{})]}),Go(le,{placeholder:A,value:y,type:k}),d&&Go(X,{valid:N,invalid:S,loading:L,disabled:E}),Go(J,{loading:L,disabled:E}),i&&Go(te,{loading:L,disabled:E,readonly:D,value:y}),m&&np($k,{children:[s&&Go(fe,{}),Go(ee,{children:m})]})]})};Z.states=Iw;Z.options=Bw;Z.className=eh;Z.defaultOptions=Ca;import{jsx as bH}from"react/jsx-runtime";import{Fragment as NH,jsx as TH}from"react/jsx-runtime";import{Fragment as LH,jsx as MH}from"react/jsx-runtime";import{jsx as Ko,jsxs as dp}from"react/jsx-runtime";var ah="k-actionsheet-titlebar",Mw={},ae=e=>{let{title:t,subtitle:a,actionsStart:r,actionsEnd:s,filter:i,input:d,inputValue:p,inputPlaceholder:m,adaptive:k,children:y,...A}=e;return dp("div",{...A,className:o(e.className,ah),children:[dp("div",{className:"k-actionsheet-titlebar-group",children:[r&&Ko("div",{className:"k-actionsheet-actions",children:r}),!y&&dp("div",{className:"k-actionsheet-title",children:[t&&Ko("div",{className:"k-text-center",children:t}),a&&Ko("div",{className:"k-actionsheet-subtitle k-text-center",children:a})]}),y&&Ko("div",{className:"k-actionsheet-title",children:y}),s&&Ko("div",{className:"k-actionsheet-actions",children:s})]}),(d||i)&&Ko("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?Ko(Z,{value:p,placeholder:m,size:k?"large":"medium"}):Ko(De,{placeholder:"Filter",size:k?"large":"medium"})})]})};ae.className=ah;ae.defaultOptions=Mw;import{jsx as cp,jsxs as Pw}from"react/jsx-runtime";var pp="k-actionsheet-view",Lw=[],Ew={},Yw={},Tl=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...d}=e,p=s?.type===ae&&cp(ae,{adaptive:t,...s?.props}),m=i?.type===Rt&&cp(Rt,{...i?.props});return Pw("div",{...d,className:o(e.className,pp,{[`${pp}-animated`]:a}),children:[p,cp("div",{className:"k-actionsheet-content",children:r}),m]})};Tl.states=Lw;Tl.options=Ew;Tl.className=pp;Tl.defaultOptions=Yw;import{jsx as En,jsxs as Dw}from"react/jsx-runtime";var lh="k-actionsheet",Gw=[],Kw={},vs={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},re=e=>{let{side:t=vs.side,fullscreen:a=vs.fullscreen,adaptive:r=vs.adaptive,overlay:s=vs.overlay,template:i,children:d,header:p,footer:m,...k}=e;return Dw("div",{className:"k-actionsheet-container",children:[s&&En("div",{className:"k-overlay"}),En(Mo,{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:En("div",{...k,className:o(e.className,lh,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||En(Tl,{header:p,footer:m,adaptive:r,...e,children:d})})})]})};re.states=Gw;re.options=Kw;re.className=lh;re.defaultOptions=vs;import{jsx as t8}from"react/jsx-runtime";import{Fragment as zw,jsx as ys,jsxs as mp}from"react/jsx-runtime";var up="k-actionsheet-item",Fw=[l.hover,l.focus,l.selected,l.disabled],kp=e=>{let{iconName:t,text:a,description:r,hover:s,focus:i,selected:d,disabled:p,...m}=e;return mp("span",{...m,className:o(e.className,up,b(up,{hover:s,focus:i,selected:d,disabled:p})),children:[!e.children&&ys(zw,{children:mp("span",{className:"k-actionsheet-action",children:[t&&ys("span",{className:"k-icon-wrap",children:ys(v,{className:"k-actionsheet-item-icon",icon:t})}),mp("span",{className:"k-actionsheet-item-text",children:[a&&ys("span",{className:"k-actionsheet-item-title",children:a}),r&&ys("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};kp.states=Fw;kp.className=up;import{jsx as c8,jsxs as p8}from"react/jsx-runtime";import{jsx as h8}from"react/jsx-runtime";import{jsx as b8}from"react/jsx-runtime";import{jsx as A8}from"react/jsx-runtime";import{Fragment as Ww,jsx as rt,jsxs as hp}from"react/jsx-runtime";var sh="k-dropdownlist",Rw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],Hw={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Nl={showValue:!0,arrowIconName:"caret-alt-down",size:n.medium,rounded:f.medium,fillMode:x.solid},se=e=>{let{size:t=Nl.size,rounded:a=Nl.rounded,fillMode:r=Nl.fillMode,arrowIconName:s=Nl.arrowIconName,showValue:i=Nl.showValue,valueIconName:d,prefix:p,suffix:m,value:k,placeholder:y,hover:A,focus:g,valid:T,invalid:N,required:S,loading:B,disabled:L,readonly:E,popup:D,opened:W,adaptive:he,adaptiveSettings:Le,adaptiveTitle:_e,adaptiveSubtitle:Kt,adaptiveFilter:ba,...fl}=e;return hp(Ww,{children:[hp(xt,{...fl,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,sh,{"k-icon-picker":!i&&d}),children:[rt($,{children:p}),rt(fo,{placeholder:y,value:k,showValue:i,valueIconName:d}),rt(X,{valid:T,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})]}),W&&D&&rt(F,{className:"k-list-container k-dropdownlist-popup",children:D}),he&&rt(re,{adaptive:!0,...Le,header:rt(ae,{actionsEnd:rt(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:ba,inputValue:k,inputPlaceholder:y,title:_e,subtitle:Kt}),children:rt("div",{className:"k-list-container",children:hp(Q,{size:"large",children:[rt(P,{text:"List item"}),rt(P,{text:"List item"}),rt(P,{text:"List item"})]})})})]})};se.states=Rw;se.options=Hw;se.className=sh;se.defaultOptions=Nl;import{jsx as Z8}from"react/jsx-runtime";import{jsx as _8,jsxs as $8}from"react/jsx-runtime";import{Fragment as iW,jsx as rW,jsxs as sW}from"react/jsx-runtime";import{jsx as pW}from"react/jsx-runtime";import{jsx as fW,jsxs as gW}from"react/jsx-runtime";import{jsx as wW,jsxs as AW}from"react/jsx-runtime";import{Fragment as LW,jsx as BW,jsxs as MW}from"react/jsx-runtime";import{Fragment as zW,jsx as DW,jsxs as FW}from"react/jsx-runtime";import{jsx as ih}from"react/jsx-runtime";var Yn="k-radio",Ow=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked],Qw={size:[n.small,n.medium,n.large]},nh={size:n.medium},xo=e=>{let{id:t,checked:a,hover:r,focus:s,disabled:i,invalid:d,valid:p,required:m,size:k=nh.size,...y}=e;return ih("span",{className:"k-radio-wrap",children:ih("input",{...y,id:t,type:"radio",checked:a,required:m,className:o(e.className,Yn,C(Yn,{size:k}),b(Yn,{hover:r,focus:s,disabled:i,invalid:d,valid:p,checked:a}))})})};xo.states=Ow;xo.options=Qw;xo.className=Yn;xo.defaultOptions=nh;import{jsx as Zw}from"react/jsx-runtime";var dh="k-radio-list",Vw=[],Xw={},ch={layout:"vertical"},Cl=e=>{let{layout:t=ch.layout,...a}=e;return Zw("ul",{...a,className:o(e.className,dh,{[`k-list-${t}`]:t}),children:e.children})};Cl.states=Vw;Cl.options=Xw;Cl.className=dh;Cl.defaultOptions=ch;import{jsx as qw}from"react/jsx-runtime";var ph="k-radio-list-item",Jw=[],jw={},Uw={},Sl=e=>{let{...t}=e;return qw("li",{...t,className:o(e.className,ph),children:e.children})};Sl.states=Jw;Sl.options=jw;Sl.className=ph;Sl.defaultOptions=Uw;import{jsx as nO}from"react/jsx-runtime";import{Fragment as uO,jsx as mO,jsxs as kO}from"react/jsx-runtime";import{Fragment as bO,jsx as xO,jsxs as vO}from"react/jsx-runtime";import{Fragment as CO,jsx as TO,jsxs as NO}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 $w,jsx as st,jsxs as Il}from"react/jsx-runtime";var Pn=({size:e,...t})=>st(Po,{formButtons:Il($w,{children:[st(c,{className:"k-form-submit",themeColor:"primary",size:e,children:"Submit"}),st(c,{className:"k-form-clear",size:e,children:"Clear"})]}),children:Il(go,{legend:"Form Legend",children:[st(Ze,{label:"Label",editor:st(Z,{size:e})}),st(Ze,{label:"Label",hint:"Hint text",editor:st(se,{value:"Dropdown List",size:e})}),st(Ze,{label:"City",editor:Il("ul",{className:"k-radio-list k-list-horizontal",children:[Il("li",{className:"k-radio-list-item",children:[st(xo,{checked:!0,size:e}),st("label",{className:"k-radio-label",children:"Label"})]}),Il("li",{className:"k-radio-list-item",children:[st(xo,{size:e}),st("label",{className:"k-radio-label",children:"Label"})]}),Il("li",{className:"k-radio-list-item",children:[st(xo,{size:e}),st("label",{className:"k-radio-label",children:"Label"})]})]})})]}),size:e,...t});import{Fragment as cQ,jsx as dQ,jsxs as pQ}from"react/jsx-runtime";import{jsx as oA}from"react/jsx-runtime";var ws="k-button-group",eA=[l.disabled],tA={fillMode:[x.solid,x.flat,x.outline,x.clear,x.link]},mh={fillMode:x.solid},Y=e=>{let{fillMode:t=mh.fillMode,disabled:a,stretched:r,...s}=e;return oA("div",{...s,className:o(e.className,ws,C(ws,{fillMode:t}),b(ws,{disabled:a}),{[`${ws}-stretched`]:r}),children:e.children})};Y.states=eA;Y.options=tA;Y.className=ws;Y.defaultOptions=mh;import{Fragment as CQ,jsx as NQ,jsxs as SQ}from"react/jsx-runtime";import{Fragment as YQ,jsx as EQ,jsxs as PQ}from"react/jsx-runtime";import{Fragment as RQ,jsx as zQ,jsxs as HQ}from"react/jsx-runtime";import{Fragment as ZQ,jsx as XQ,jsxs as JQ}from"react/jsx-runtime";import{Fragment as rA,jsx as uh,jsxs as sA}from"react/jsx-runtime";var kh="k-menu-button",aA=[l.hover,l.focus,l.active,l.selected,l.disabled],lA={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]},Ia={size:n.medium,rounded:f.medium,fillMode:x.solid,themeColor:u.base,showArrow:!0,arrowIconName:"caret-alt-down"},U=e=>{let{size:t=Ia.size,rounded:a=Ia.rounded,fillMode:r=Ia.fillMode,themeColor:s=Ia.themeColor,hover:i,focus:d,active:p,selected:m,disabled:k,icon:y,text:A,showArrow:g=Ia.showArrow,arrowIconName:T=Ia.arrowIconName,popup:N,opened:S,...B}=e;return sA(rA,{children:[uh(c,{...B,className:o(e.className,kh),text:A,size:t,rounded:a,fillMode:r,themeColor:s,hover:i,focus:d,active:p,selected:m,disabled:k,icon:y,showArrow:g,arrowIconName:T}),S&&N&&uh(F,{className:"k-menu-popup",children:N})]})};U.states=aA;U.options=lA;U.className=kh;U.defaultOptions=Ia;import{jsx as dV}from"react/jsx-runtime";import{jsx as uV}from"react/jsx-runtime";import{jsx as gV}from"react/jsx-runtime";import{Fragment as dA,jsx as Bl,jsxs as hh}from"react/jsx-runtime";var xp="k-menu-item",iA=[l.hover,l.focus,l.active,l.selected,l.disabled],nA={},fh={iconPosition:"before"},Oe=e=>{let{hover:t,focus:a,active:r,selected:s,disabled:i,icon:d,text:p,first:m,last:k,showArrow:y,arrowIconName:A,iconPosition:g=fh.iconPosition,dir:T,children:N,...S}=e,B=Bl(dA,{});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"),hh("li",{...S,className:o(e.className,xp,"k-item",b(xp,{focus:a,disabled:i,hover:t,active:r,selected:s}),{"k-first":m,"k-last":k}),children:[hh("span",{className:o("k-link k-menu-link"),children:[d&&g==="before"&&Bl(v,{className:"k-menu-link-icon",icon:d}),Bl("span",{className:"k-menu-link-text",children:p}),d&&g==="after"&&Bl(v,{className:"k-menu-link-icon",icon:d}),y&&Bl("span",{className:"k-menu-expand-arrow",children:Bl(v,{icon:L})})]}),B]})};Oe.states=iA;Oe.options=nA;Oe.className=xp;Oe.defaultOptions=fh;import{Fragment as mA,jsx as Ml,jsxs as gh}from"react/jsx-runtime";var bp="k-menu-item",cA=[l.hover,l.focus,l.active,l.selected,l.disabled],pA={},vp={dir:"ltr",iconPosition:"before"},Ht=e=>{let{hover:t,focus:a,active:r,selected:s,disabled:i,icon:d,text:p,first:m,last:k,showArrow:y,arrowIconName:A,iconPosition:g=vp.iconPosition,dir:T=vp.dir,children:N,popup:S,...B}=e,L=Ml(mA,{});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"),gh("li",{...B,className:o(e.className,bp,"k-item",b(bp,{focus:a,disabled:i}),{"k-first":m,"k-last":k}),children:[gh("span",{className:o("k-link k-menu-link",b("k-menu-link",{hover:t,active:r,selected:s,disabled:i})),children:[d&&g==="before"&&Ml(v,{className:"k-menu-link-icon",icon:d}),Ml("span",{className:"k-menu-link-text",children:p}),d&&g==="after"&&Ml(v,{className:"k-menu-link-icon",icon:d}),y&&Ml("span",{className:"k-menu-expand-arrow",children:Ml(v,{icon:E})})]}),L,S]})};Ht.states=cA;Ht.options=pA;Ht.className=bp;Ht.defaultOptions=vp;import{jsx as fA}from"react/jsx-runtime";var xh="k-menu-scroll-wrapper",uA=[],kA={},hA={},As=e=>{let{className:t,children:a,orientation:r,...s}=e;return fA("div",{...s,className:o(t,xh,{"k-menu-scroll-wrapper-vertical":r==="vertical"}),children:a})};As.states=uA;As.options=kA;As.className=xh;As.defaultOptions=hA;var bh=As;import{Fragment as yp,jsx as Ba,jsxs as Gn}from"react/jsx-runtime";var wp="k-menu",gA=[],xA={},Kn={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Wt=e=>{let{children:t,orientation:a=Kn.orientation,header:r=Kn.header,scrollable:s,scrollButtonsPosition:i=Kn.scrollButtonsPosition,wrapperStyles:d,dir:p,popup:m,...k}=e,y={horizontal:{prev:p!=="rtl"?"left":"right",next:p!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},A=Ba("ul",{dir:p,...k,className:o(e.className,"k-reset",wp,{[`${wp}-${a}`]:a,"k-header":r}),children:t});return Gn(yp,{children:[s?Gn(bh,{orientation:a,style:d,dir:e.dir,children:[i==="start"&&Gn(yp,{children:[Ba(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),Ba(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),i==="around"&&Ba(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),A,i==="end"&&Gn(yp,{children:[Ba(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),Ba(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),i==="around"&&Ba(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}):A,m]})};Wt.states=gA;Wt.options=xA;Wt.className=wp;Wt.defaultOptions=Kn;import{jsx as bA}from"react/jsx-runtime";var Ap="k-separator",vh={orientation:"horizontal"},Ts=e=>{let{orientation:t=vh.orientation,...a}=e;return bA("li",{...a,className:o(e.className,"k-item",Ap,{[`${Ap}-${t}`]:t})})};Ts.className=Ap;Ts.defaultOptions=vh;import{Fragment as RV,jsx as HV}from"react/jsx-runtime";import{jsx as yh}from"react/jsx-runtime";import{createElement as wA}from"react";var Tp="k-menu-group",vA=[],yA={size:[n.small,n.medium,n.large]},Np={size:n.medium,dir:"ltr"},bo=e=>{let{children:t,size:a=Np.size,dir:r=Np.dir,...s}=e,i=[];return t&&Array.isArray(t)&&t.map((d,p)=>{d.type===Ht?i.push(wA(Ht,{...d.props,dir:r,key:p})):d.type===Ts?i.push(yh(Ts,{})):i.push(d)}),yh("ul",{...s,className:o(e.className,Tp,C(Tp,{size:a})),children:i})};bo.states=vA;bo.options=yA;bo.className=Tp;bo.defaultOptions=Np;import{Fragment as qV,jsx as UV,jsxs as _V}from"react/jsx-runtime";import{Fragment as r6,jsx as a6,jsxs as l6}from"react/jsx-runtime";import{Fragment as c6,jsx as d6,jsxs as p6}from"react/jsx-runtime";import{Fragment as f6,jsx as h6,jsxs as g6}from"react/jsx-runtime";import{Fragment as w6,jsx as y6,jsxs as A6}from"react/jsx-runtime";import{jsx as H6,jsxs as W6}from"react/jsx-runtime";import{Fragment as NA,jsx as Cp,jsxs as wh}from"react/jsx-runtime";var Sp="k-split-button",AA=[l.hover,l.focus,l.active,l.selected,l.disabled],TA={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]},Ll={size:n.medium,rounded:f.medium,fillMode:x.solid,themeColor:u.base,arrowIconName:"caret-alt-down"},Ne=e=>{let{size:t=Ll.size,rounded:a=Ll.rounded,fillMode:r=Ll.fillMode,themeColor:s=Ll.themeColor,hover:i,focus:d,active:p,selected:m,disabled:k,icon:y,text:A,arrowIconName:g=Ll.arrowIconName,popup:T,opened:N,...S}=e;return wh(NA,{children:[wh("div",{...S,className:o(e.className,Sp,"k-button-group",C(Sp,{rounded:a})),children:[Cp(c,{text:A,icon:y,size:t,rounded:a,fillMode:r,themeColor:s,hover:i,focus:d,active:p,selected:m,disabled:k,children:e.children}),Cp(c,{className:"k-split-button-arrow",icon:g,size:t,rounded:a,fillMode:r,disabled:k})]}),N&&T&&Cp(F,{className:"k-menu-popup",children:T})]})};Ne.states=AA;Ne.options=TA;Ne.className=Sp;Ne.defaultOptions=Ll;var Ip=Ne;import{jsx as a3}from"react/jsx-runtime";import{jsx as i3}from"react/jsx-runtime";import{jsx as p3}from"react/jsx-runtime";import{jsx as f3,jsxs as g3}from"react/jsx-runtime";import{Fragment as Ah,jsx as Ns,jsxs as Bp}from"react/jsx-runtime";var Th="k-textarea",CA=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled],SA={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Do={size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode,flow:"vertical",affixesOrientation:"horizontal",resize:"both",separators:!0},Cs=e=>{let{size:t=Do.size,rounded:a=Do.rounded,fillMode:r=Do.fillMode,separators:s=Do.separators,affixesOrientation:i=Do.affixesOrientation,flow:d=Do.flow,resize:p=Do.resize,prefix:m,suffix:k,rows:y,value:A,placeholder:g,hover:T,focus:N,valid:S,invalid:B,required:L,disabled:E,...D}=e;return Bp(M,{...D,size:t,rounded:a,fillMode:r,hover:T,focus:N,valid:S,invalid:B,required:L,disabled:E,className:o(e.className,Th,{"!k-flex-col":d==="vertical","!k-flex-row":d==="horizontal"}),children:[m&&Bp(Ah,{children:[Ns($,{className:o({"!k-align-items-start":d===i}),direction:i,children:m}),s&&Ns(fe,{direction:d==="horizontal"?"vertical":"horizontal"})]}),Ns(cs,{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"}),value:A,placeholder:g,rows:y}),k&&Bp(Ah,{children:[s&&Ns(fe,{direction:d==="horizontal"?"vertical":"horizontal"}),Ns(ee,{className:o({"!k-align-items-start":d===i}),direction:i,children:k})]})]})};Cs.states=CA;Cs.options=SA;Cs.className=Th;Cs.defaultOptions=Do;import{jsx as L3}from"react/jsx-runtime";import{Fragment as D3,jsx as K3}from"react/jsx-runtime";import{Fragment as O3,jsx as W3}from"react/jsx-runtime";import{jsx as Dn,jsxs as MA}from"react/jsx-runtime";var Fn="k-listbox",IA=[l.disabled],BA={size:[n.small,n.medium,n.large]},Mp={size:n.medium,actionsPosition:"left"},Ss=e=>{let{size:t=Mp.size,disabled:a,children:r,actionsPosition:s=Mp.actionsPosition,actions:i,dir:d,...p}=e;return MA("div",{...p,dir:d,className:o(e.className,Fn,C(Fn,{size:t}),b(Fn,{disabled:a}),{[`k-listbox-actions-${s}`]:s}),children:[i&&Dn("div",{className:"k-listbox-actions",children:i.map(m=>Dn(c,{icon:{left:d!=="rtl"?"caret-alt-left":"caret-alt-right",right:d!=="rtl"?"caret-alt-right":"caret-alt-left",to:d!=="rtl"?"caret-double-alt-right":"caret-double-alt-left",from:d!=="rtl"?"caret-double-alt-left":"caret-double-alt-right",up:"caret-alt-up",down:"caret-alt-down",x:"x"}[m],size:t},m))}),Dn("div",{className:o("k-list-scroller","k-selectable"),children:Dn(Q,{size:t,children:r})})]})};Ss.states=IA;Ss.options=BA;Ss.className=Fn;Ss.defaultOptions=Mp;import{jsx as lX}from"react/jsx-runtime";import{jsx as Ep,jsxs as Lp}from"react/jsx-runtime";var Ct="k-progressbar",LA=[l.disabled,l.indeterminate],EA={},Ma={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},El=e=>{let{disabled:t,height:a,indeterminate:r=Ma.indeterminate,label:s=Ma.label,labelPosition:i=Ma.labelPosition,orientation:d=Ma.orientation,reverse:p=Ma.reverse,value:m=Ma.value,width:k,style:y,...A}=e;return Lp("div",{...A,className:o(e.className,Ct,b(Ct,{disabled:t}),{[`${Ct}-${d}`]:d,[`${Ct}-indeterminate`]:r,[`${Ct}-reverse`]:p}),style:{...y,"--kendo-progressbar-value":m,[d==="horizontal"?"height":"width"]:d==="horizontal"?a:k},children:[Ep("span",{className:o("k-progress-status-wrap",{[`k-progress-${i}`]:i&&!r}),children:s&&Lp("span",{className:"k-progress-status",children:[m,"%"]})}),!r&&Ep("div",{className:"k-progressbar-value k-selected",children:Ep("span",{className:o("k-progress-status-wrap",{[`k-progress-${i}`]:i}),children:s&&Lp("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};El.states=LA;El.options=EA;El.className=Ct;El.defaultOptions=Ma;import{jsx as Yp}from"react/jsx-runtime";var Ch="k-chunk-progressbar",YA=(e,t)=>t<=e-1,PA=[l.disabled,l.indeterminate],GA={},zn={chunkCount:5,orientation:"horizontal",progress:0},Rn=e=>{let{disabled:t,chunkCount:a=zn.chunkCount,indeterminate:r,orientation:s=zn.orientation,progress:i=zn.progress,reverse:d,...p}=e;return Yp("div",{...p,className:o(e.className,Ct,Ch,b(Ct,{disabled:t}),{[`${Ct}-${s}`]:s,[`${Ct}-indeterminate`]:r,[`${Ct}-reverse`]:d}),children:Yp("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(a)].map((m,k)=>Yp("li",{className:o("k-progressbar-chunk",{"k-first":k===0,"k-last":k===[...Array(a)].length-1,"k-selected":YA(i,k)})},k))})})};Rn.stat