@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 304 kB
JavaScript
var o=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?o(...t):typeof t=="object"?Object.keys(t).map((a,r)=>t[r]||t[a]&&a||null).filter(a=>a!==null).join(" "):t).filter(t=>!!t).join(" ");var C=(e,t)=>o({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.fillMode}-${t.themeColor}`]:t.fillMode&&t.themeColor},{[`${e}-${t.themeColor}`]:t.themeColor&&t.fillMode===void 0},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full"}),x=(e,t)=>o({"k-valid":t.valid,"k-invalid":t.invalid,"k-hover":t.hover,"k-focus":t.focus,"k-checked":t.checked,"k-active":t.active,"k-selected":t.selected,"k-disabled":t.disabled,"k-indeterminate":t.indeterminate&&!t.checked,"k-loading":t.loading,"k-empty":t.empty,"k-readonly":t.readonly,"k-highlighted":t.highlighted});var n={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},h={small:"small",medium:"medium",large:"large",full:"full"},b={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},u={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},l={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted"},vt={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};import{jsx as Dv}from"react/jsx-runtime";var Nn="k-actions",Gv=[],Kv={},Hc={alignment:"start",orientation:"horizontal"},Q=e=>{let{alignment:t=Hc.alignment,orientation:a=Hc.orientation,...r}=e;return Dv("div",{...r,className:o(Nn,{[`${Nn}-${t}`]:t,[`${Nn}-${a}`]:a},e.className),children:e.children})};Q.states=Gv;Q.options=Kv;Q.className=Nn;Q.defaultOptions=Hc;var hk=Q;import{Fragment as Hv,jsx as gk}from"react/jsx-runtime";var Oc="k-icon k-font-icon",Fv=[],Rv={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]},zv={},xs=e=>{let{size:t,themeColor:a,icon:r,rotate:s,flip:i,...d}=e;return r?gk("span",{...d,className:o(e.className,Oc,C(Oc,{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"})}):gk(Hv,{})};xs.states=Fv;xs.options=Rv;xs.className=Oc;xs.defaultOptions=zv;var xk=xs;import{Fragment as Qv,jsx as Cn}from"react/jsx-runtime";var Wc="k-icon k-svg-icon",Ov=[],Wv={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]},bk={viewBox:"0 0 24 24"},bs=e=>{let{size:t,themeColor:a,rotate:r,flip:s,viewBox:i=bk.viewBox,icon:d,...p}=e;if(!d)return Cn(Qv,{});d==="none"&&{...p,className:o(e.className,Wc,"k-none")};let m=typeof d=="object"&&d.name&&d.name;return Cn("span",{...p,className:o(e.className,Wc,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:Cn("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})})};bs.states=Ov;bs.options=Wv;bs.className=Wc;bs.defaultOptions=bk;var Qc=bs;import*as vk from"@progress/kendo-svg-icons";import{Fragment as yk,jsx as vs}from"react/jsx-runtime";var Vv=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Xv=[],Zv={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},Vc={viewBox:"0 0 24 24",type:"svg"},y=e=>{let{size:t,themeColor:a,icon:r,type:s=Vc.type,rotate:i,flip:d,viewBox:p=Vc.viewBox,...m}=e;if(!r)return vs(yk,{});if(s==="svg"){if(r==="none")return vs(Qc,{...m,icon:r,size:t});let k=Vv(`${r}-icon`);return vk[k]?vs(Qc,{...m,icon:vk[k],size:t,themeColor:a,rotate:i,flip:d,viewBox:p}):vs(yk,{})}return vs(xk,{...m,icon:r,size:t,themeColor:a,rotate:i,flip:d})};y.states=Xv;y.options=Zv;y.defaultOptions=Vc;var Xc=y;import{Fragment as Uv,jsx as ys,jsxs as wk}from"react/jsx-runtime";var Sn="k-button",Jv=[l.hover,l.focus,l.active,l.selected,l.disabled],jv={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Ia={size:n.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},c=e=>{let{size:t=Ia.size,rounded:a=Ia.rounded,fillMode:r=Ia.fillMode,themeColor:s=Ia.themeColor,showArrow:i=Ia.showArrow,arrowIconName:d=Ia.arrowIconName,hover:p,focus:m,active:k,selected:v,disabled:T,icon:g,text:A,iconClassName:N,...I}=e,M=g!==void 0,E=e.children!==void 0;return wk("button",{...I,className:o(e.className,Sn,C(Sn,{size:t,rounded:a,fillMode:r,themeColor:s}),x(Sn,{hover:p,focus:m,active:k,disabled:T,selected:v}),{"k-icon-button":!A&&!E&&M}),children:[g&&ys(y,{className:o(N,"k-button-icon"),icon:g}),A?wk(Uv,{children:[A&&ys("span",{className:"k-button-text",children:A}),e.children]}):e.children&&ys("span",{className:"k-button-text",children:e.children}),i&&ys("span",{className:"k-menu-button-arrow k-button-arrow",children:ys(y,{icon:d})})]})};c.states=Jv;c.options=jv;c.className=Sn;c.defaultOptions=Ia;import{jsx as qv}from"react/jsx-runtime";var Je=e=>qv(c,{icon:"folder",...e,children:void 0});import{jsx as _v}from"react/jsx-runtime";var Ot=e=>_v(c,{icon:"folder",children:"Button",...e});import{jsx as XG}from"react/jsx-runtime";import{jsx as Tk}from"react/jsx-runtime";var Ak="k-animation-container",$v=[],ey={},Nk={positionMode:"absolute"},zo=e=>{let{positionMode:t=Nk.positionMode,animationStyle:a,offset:r,...s}=e;return Tk("div",{...s,style:{...r,...e.style},className:o(e.className,Ak,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:Tk("div",{className:"k-child-animation-container",style:a,children:e.children})})};zo.states=$v;zo.options=ey;zo.className=Ak;zo.defaultOptions=Nk;import{jsx as Ck}from"react/jsx-runtime";var Sk="k-popup",ty=[],oy={},Ik={positionMode:"absolute"},R=e=>{let{offset:t,positionMode:a=Ik.positionMode,animationStyle:r,...s}=e;return Ck(zo,{positionMode:a,offset:t,animationStyle:r,children:Ck("div",{...s,className:o(e.className,Sk),children:e.children})})};R.states=ty;R.options=oy;R.className=Sk;R.defaultOptions=Ik;import{Fragment as ry,jsx as Bk,jsxs as sy}from"react/jsx-runtime";var Mk="k-menu-button",ay=[l.hover,l.focus,l.active,l.selected,l.disabled],ly={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Ba={size:n.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,showArrow:!0,arrowIconName:"caret-alt-down"},q=e=>{let{size:t=Ba.size,rounded:a=Ba.rounded,fillMode:r=Ba.fillMode,themeColor:s=Ba.themeColor,hover:i,focus:d,active:p,selected:m,disabled:k,icon:v,text:T,showArrow:g=Ba.showArrow,arrowIconName:A=Ba.arrowIconName,popup:N,opened:I,...M}=e;return sy(ry,{children:[Bk(c,{...M,className:o(e.className,Mk),text:T,size:t,rounded:a,fillMode:r,themeColor:s,hover:i,focus:d,active:p,selected:m,disabled:k,icon:v,showArrow:g,arrowIconName:A}),I&&N&&Bk(R,{className:"k-menu-popup",children:N})]})};q.states=ay;q.options=ly;q.className=Mk;q.defaultOptions=Ba;import{jsx as gK}from"react/jsx-runtime";import{jsx as yK}from"react/jsx-runtime";import{jsx as NK}from"react/jsx-runtime";import{Fragment as dy,jsx as Il,jsxs as Lk}from"react/jsx-runtime";var Jc="k-menu-item",iy=[l.hover,l.focus,l.active,l.selected,l.disabled],ny={},Ek={iconPosition:"before"},Qe=e=>{let{hover:t,focus:a,active:r,selected:s,disabled:i,icon:d,text:p,first:m,last:k,showArrow:v,arrowIconName:T,iconPosition:g=Ek.iconPosition,dir:A,children:N,...I}=e,M=Il(dy,{});N&&N.forEach(Y=>{if(Y.type==="MenuItemContent"){M.props.children.push(Y);return}});let E=T;return E||(E=A==="rtl"?"caret-alt-left":"caret-alt-right"),Lk("li",{...I,className:o(e.className,Jc,"k-item",x(Jc,{focus:a,disabled:i,hover:t,active:r,selected:s}),{"k-first":m,"k-last":k}),children:[Lk("span",{className:o("k-link k-menu-link"),children:[d&&g==="before"&&Il(y,{className:"k-menu-link-icon",icon:d}),Il("span",{className:"k-menu-link-text",children:p}),d&&g==="after"&&Il(y,{className:"k-menu-link-icon",icon:d}),v&&Il("span",{className:"k-menu-expand-arrow",children:Il(y,{icon:E})})]}),M]})};Qe.states=iy;Qe.options=ny;Qe.className=Jc;Qe.defaultOptions=Ek;import{Fragment as my,jsx as Bl,jsxs as Yk}from"react/jsx-runtime";var jc="k-menu-item",cy=[l.hover,l.focus,l.active,l.selected,l.disabled],py={},Uc={dir:"ltr",iconPosition:"before"},Wt=e=>{let{hover:t,focus:a,active:r,selected:s,disabled:i,icon:d,text:p,first:m,last:k,showArrow:v,arrowIconName:T,iconPosition:g=Uc.iconPosition,dir:A=Uc.dir,children:N,popup:I,...M}=e,E=Bl(my,{});N&&N.forEach(F=>{if(F.type==="MenuListItemContent"){E.props.children.push(F);return}});let Y=T;return Y||(Y=A==="rtl"?"caret-alt-left":"caret-alt-right"),Yk("li",{...M,className:o(e.className,jc,"k-item",x(jc,{focus:a,disabled:i}),{"k-first":m,"k-last":k}),children:[Yk("span",{className:o("k-link k-menu-link",x("k-menu-link",{hover:t,active:r,selected:s,disabled:i})),children:[d&&g==="before"&&Bl(y,{className:"k-menu-link-icon",icon:d}),Bl("span",{className:"k-menu-link-text",children:p}),d&&g==="after"&&Bl(y,{className:"k-menu-link-icon",icon:d}),v&&Bl("span",{className:"k-menu-expand-arrow",children:Bl(y,{icon:Y})})]}),E,I]})};Wt.states=cy;Wt.options=py;Wt.className=jc;Wt.defaultOptions=Uc;import{jsx as hy}from"react/jsx-runtime";var Pk="k-menu-scroll-wrapper",uy=[],ky={},fy={},ws=e=>{let{className:t,children:a,orientation:r,...s}=e;return hy("div",{...s,className:o(t,Pk,{"k-menu-scroll-wrapper-vertical":r==="vertical"}),children:a})};ws.states=uy;ws.options=ky;ws.className=Pk;ws.defaultOptions=fy;var Gk=ws;import{Fragment as qc,jsx as Ma,jsxs as In}from"react/jsx-runtime";var _c="k-menu",gy=[],xy={},Bn={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Qt=e=>{let{children:t,orientation:a=Bn.orientation,header:r=Bn.header,scrollable:s,scrollButtonsPosition:i=Bn.scrollButtonsPosition,wrapperStyles:d,dir:p,popup:m,...k}=e,v={horizontal:{prev:p!=="rtl"?"left":"right",next:p!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},T=Ma("ul",{dir:p,...k,className:o(e.className,"k-reset",_c,{[`${_c}-${a}`]:a,"k-header":r}),children:t});return In(qc,{children:[s?In(Gk,{orientation:a,style:d,dir:e.dir,children:[i==="start"&&In(qc,{children:[Ma(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${v[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),Ma(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${v[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),i==="around"&&Ma(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${v[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),T,i==="end"&&In(qc,{children:[Ma(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${v[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),Ma(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${v[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),i==="around"&&Ma(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${v[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}):T,m]})};Qt.states=gy;Qt.options=xy;Qt.className=_c;Qt.defaultOptions=Bn;import{jsx as by}from"react/jsx-runtime";var $c="k-separator",Kk={orientation:"horizontal"},Ts=e=>{let{orientation:t=Kk.orientation,...a}=e;return by("li",{...a,className:o(e.className,"k-item",$c,{[`${$c}-${t}`]:t})})};Ts.className=$c;Ts.defaultOptions=Kk;import{Fragment as JK,jsx as jK}from"react/jsx-runtime";import{jsx as Dk}from"react/jsx-runtime";import{createElement as wy}from"react";var ep="k-menu-group",vy=[],yy={size:[n.small,n.medium,n.large]},tp={size:n.medium,dir:"ltr"},Ao=e=>{let{children:t,size:a=tp.size,dir:r=tp.dir,...s}=e,i=[];return t&&Array.isArray(t)&&t.map((d,p)=>{d.type===Wt?i.push(wy(Wt,{...d.props,dir:r,key:p})):d.type===Ts?i.push(Dk(Ts,{})):i.push(d)}),Dk("ul",{...s,className:o(e.className,ep,C(ep,{size:a})),children:i})};Ao.states=vy;Ao.options=yy;Ao.className=ep;Ao.defaultOptions=tp;import{Fragment as rD,jsx as lD,jsxs as sD}from"react/jsx-runtime";import{Fragment as uD,jsx as pD,jsxs as mD}from"react/jsx-runtime";import{Fragment as xD,jsx as gD,jsxs as bD}from"react/jsx-runtime";import{Fragment as AD,jsx as TD,jsxs as ND}from"react/jsx-runtime";import{Fragment as MD,jsx as BD,jsxs as LD}from"react/jsx-runtime";import{jsx as jD,jsxs as UD}from"react/jsx-runtime";import{Fragment as Cy,jsx as La,jsxs as Fk}from"react/jsx-runtime";var Mn="k-window",Ty=[],Ay={themeColor:[u.primary,u.light,u.dark]},Ny={},Ea=e=>{let{title:t,actions:a,minimized:r,themeColor:s,actionButtons:i,actionButtonsAlign:d,...p}=e;return Fk("div",{...p,className:o(e.className,Mn,C(Mn,{themeColor:s}),{[`${Mn}-minimized`]:r}),children:[(t!==void 0||a)&&Fk("div",{className:"k-window-titlebar",children:[t!==void 0&&La("span",{className:"k-window-title",children:t}),a&&La(Cy,{children:La("div",{className:"k-window-titlebar-actions",children:a.map(m=>m==="more-vertical"?La(q,{icon:m,fillMode:"flat",showArrow:!1,className:"k-window-titlebar-action"},m):La(c,{icon:m,fillMode:"flat",className:"k-window-titlebar-action"},m))})})]}),La("div",{className:o("k-window-content",{"k-hidden":r}),children:e.children}),i&&La(Q,{alignment:d,className:"k-window-actions",children:i})]})};Ea.states=Ty;Ea.options=Ay;Ea.className=Mn;Ea.defaultOptions=Ny;import{Fragment as mF,jsx as uF}from"react/jsx-runtime";import{jsx as My}from"react/jsx-runtime";var Rk="k-chart-wizard",Sy=[],Iy={},By={},Ml=e=>{let{children:t,...a}=e;return My(Ea,{title:"Chart Preview",actions:["window","x"],...a,className:o(e.className,Rk),children:t})};Ml.states=Sy;Ml.options=Iy;Ml.className=Rk;Ml.defaultOptions=By;import{Fragment as Yy,jsx as op,jsxs as Py}from"react/jsx-runtime";var Ly=[],Ey={},zk={buttonText:"Export"},As=e=>{let{buttonText:t=zk.buttonText,children:a}=e;return Py(Yy,{children:[op("div",{className:"k-preview-pane-header",children:op(q,{fillMode:"flat",icon:"export",showArrow:!1,children:t})}),op("div",{className:"k-preview-pane-content",children:a})]})};As.states=Ly;As.options=Ey;As.defaultOptions=zk;import{jsx as Dy}from"react/jsx-runtime";var Ya="k-pane",Gy=[],Ky={},ap={resizable:!0,flex:!1},be=e=>{let{scrollable:t,flexBasis:a,flex:r=ap.flex,collapsible:s,resizable:i=ap.resizable,pinned:d,unpinned:p,tabbed:m,...k}=e;return Dy("div",{...k,style:{flexBasis:a,...e.style},className:o(e.className,Ya,{[`${Ya}-static`]:a,[`${Ya}-flex`]:r,"k-scrollable":t,[`${Ya}-pinned`]:d,[`${Ya}-unpinned`]:p,[`${Ya}-tabbed`]:m}),children:e.children})};be.states=Gy;be.options=Ky;be.className=Ya;be.defaultOptions=ap;import{Fragment as Hk,jsx as Pa,jsxs as zy}from"react/jsx-runtime";var Ll="k-splitbar",Fy=[l.hover,l.focus],Ry={},lp={orientation:"horizontal",draggable:!0},Ho=e=>{let{hover:t,focus:a,orientation:r=lp.orientation,draggable:s=lp.draggable,collapsePrev:i,collapseNext:d,...p}=e;return zy("div",{...p,className:o(e.className,Ll,x(Ll,{hover:t,focus:a}),{[`${Ll}-${r}`]:r,[`${Ll}-draggable-${r}`]:s,[`${Ll}-static-${r}`]:!s&&!i&&!d}),children:[i&&Pa(Hk,{children:Pa("div",{className:"k-collapse-prev",children:Pa(y,{icon:`caret-alt-${r==="horizontal"?"left":"up"}`,size:"xsmall"})})}),Pa("div",{className:"k-resize-handle"}),d&&Pa(Hk,{children:Pa("div",{className:"k-collapse-next",children:Pa(y,{icon:`caret-alt-${r==="horizontal"?"right":"down"}`,size:"xsmall"})})})]})};Ho.states=Fy;Ho.options=Ry;Ho.className=Ll;Ho.defaultOptions=lp;import{jsx as Ok}from"react/jsx-runtime";import{createElement as Oy}from"react";var rp="k-splitter",Hy={},Wk={orientation:"horizontal"},je=e=>{let{orientation:t=Wk.orientation,children:a,...r}=e,s=[];return a&&Array.isArray(a)&&a.map((i,d)=>{if(i.type===be){let p=a[d+1],m=i.props,k=p?.props;s.push(Oy(be,{...m,key:d}),p&&Ok(Ho,{draggable:m.resizable!==!1&&k.resizable!==!1,collapsePrev:m.collapsible,collapseNext:k.collapsible,orientation:t},`splitbar-${d}`))}else s.push(i)}),Ok("div",{...r,className:o(e.className,rp,{[`${rp}-${t}`]:t},"k-splitter-flex"),children:s})};je.options=Hy;je.className=rp;je.defaultOptions=Wk;import{jsx as OF,jsxs as WF}from"react/jsx-runtime";import{jsx as ZF,jsxs as JF}from"react/jsx-runtime";import{jsx as Xy}from"react/jsx-runtime";var Qk="k-chart-wizard-splitter",Wy=[],Qy={},Vy={},El=e=>{let{children:t,...a}=e;return Xy(je,{...a,className:o(e.className,Qk),children:t})};El.states=Wy;El.options=Qy;El.className=Qk;El.defaultOptions=Vy;import{jsx as jy}from"react/jsx-runtime";var Vk="k-chart-types-wrapper",Zy={},Jy={},No=e=>jy("div",{...e,className:o(e.className,Vk),children:e.children});No.options=Zy;No.className=Vk;No.defaultOptions=Jy;import{jsx as Xk,jsxs as $y}from"react/jsx-runtime";var sp="k-icon-text-wrapper",Uy=[l.focus,l.selected],qy={},_y={},Ue=e=>{let{focus:t,selected:a,icon:r,text:s,...i}=e;return $y("div",{...i,className:o(e.className,sp,x(sp,{focus:t,selected:a})),children:[Xk("div",{className:"k-icon-background-area",children:Xk(y,{icon:r,size:"xlarge"})}),s]})};Ue.states=Uy;Ue.options=qy;Ue.className=sp;Ue.defaultOptions=_y;import{jsx as Oo,jsxs as Zk}from"react/jsx-runtime";var Ln="k-expander",ew=[l.hover,l.focus,l.disabled],tw={},ow={},lo=e=>{let{title:t,subtitle:a,expanded:r,hover:s,focus:i,disabled:d,dir:p,contentStyle:m,...k}=e;return Zk("div",{...k,className:o(e.className,Ln,x(Ln,{hover:s,focus:i,disabled:d}),{"k-expanded":r}),dir:p,children:[Zk("div",{className:o("k-expander-header",x(Ln,{hover:s})),children:[Oo("div",{className:"k-expander-title",children:t}),Oo("span",{className:"k-spacer"}),Oo("div",{className:"k-expander-sub-title",children:a}),Oo("span",{className:"k-expander-indicator",children:r?Oo(y,{icon:"chevron-up"}):Oo(y,{icon:"chevron-down"})})]}),Oo("div",{className:o("k-expander-content-wrapper",{"k-hidden":!r}),children:Oo("div",{className:"k-expander-content",style:m,children:e.children})})]})};lo.states=ew;lo.options=tw;lo.className=Ln;lo.defaultOptions=ow;import{jsx as SR}from"react/jsx-runtime";import{jsx as LR}from"react/jsx-runtime";import{jsx as iw}from"react/jsx-runtime";var Jk="k-tabstrip-items",lw=[],rw={},sw={tabAlignment:"start"},Ns=e=>{let{children:t,tabAlignment:a,...r}=e;return iw("ul",{...r,className:o(e.className,Jk,"k-reset",`k-tabstrip-items-${a}`),children:t})};Ns.states=lw;Ns.options=rw;Ns.className=Jk;Ns.defaultOptions=sw;var jk=Ns;import{jsx as cw}from"react/jsx-runtime";var Uk="k-tabstrip-items-wrapper",nw=[],dw={},qk={orientation:"horizontal"},Cs=e=>{let{children:t,orientation:a=qk.orientation,...r}=e;return cw("div",{...r,className:o(e.className,Uk,{"k-hstack":a==="horizontal","k-vstack":a==="vertical"}),children:t})};Cs.states=nw;Cs.options=dw;Cs.className=Uk;Cs.defaultOptions=qk;var _k=Cs;import{jsx as Co,jsxs as $k}from"react/jsx-runtime";var Ga="k-tabstrip",pw=[],mw={size:[n.small,n.medium,n.large]},Ss={size:n.medium,position:"top",tabAlignment:"start",scrollButtons:"around"},ro=e=>{let{size:t=Ss.size,scrollable:a,children:r,tabStripItems:s,position:i=Ss.position,tabAlignment:d=Ss.tabAlignment,scrollButtons:p=Ss.scrollButtons,dir:m,scrollingPosition:k,...v}=e,T={top:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},bottom:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},right:{prev:"up",next:"down"},left:{prev:"up",next:"down"}},g={top:"horizontal",bottom:"horizontal",left:"vertical",right:"vertical"},A={start:"start",center:"center",end:"end",justify:"justify",stretched:"stretched"};return $k("div",{dir:m,...v,className:o(Ga,e.className,{[`${Ga}-${i}`]:i,[`${Ga}-scrollable`]:a,[`${Ga}-scrollable-overlay`]:a&&(p==="hidden"||!p),[`${Ga}-scrollable-${k}`]:k&&k!=="both"},C(Ga,{size:t})),children:[i==="bottom"&&r,$k(_k,{orientation:g[i],children:[a&&(p==="around"||p==="start")&&Co("span",{className:o("k-tabstrip-prev","k-button",C("k-button",{size:t,fillMode:b.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:Co(y,{className:"k-button-icon",icon:`caret-alt-${T[i].prev}`})}),a&&p==="start"&&Co("span",{className:o("k-tabstrip-next","k-button",C("k-button",{size:t,fillMode:b.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:Co(y,{className:"k-button-icon",icon:`caret-alt-${T[i].next}`})}),Co(jk,{className:o({"k-tabstrip-items-scroll":a&&p==="hidden"}),tabAlignment:A[d],children:s}),a&&p==="end"&&Co("span",{className:o("k-tabstrip-prev","k-button",C("k-button",{size:t,fillMode:b.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:Co(y,{className:"k-button-icon",icon:`caret-alt-${T[i].prev}`})}),a&&(p==="around"||p==="end")&&Co("span",{className:o("k-tabstrip-next","k-button",C("k-button",{size:t,fillMode:b.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:Co(y,{className:"k-button-icon",icon:`caret-alt-${T[i].next}`})})]}),i!=="bottom"&&r]})};ro.states=pw;ro.options=mw;ro.className=Ga;ro.defaultOptions=Ss;import{jsx as fw}from"react/jsx-runtime";var uw=[],kw={},ef=e=>{let{type:t,...a}=e,r=t==="p"?"paragraph":t,s=t.includes("display")?"div":t;return fw(s,{...a,className:o(e.className,{[`k-${r}`]:t}),children:e.children})};ef.states=uw;ef.options=kw;import{jsx as xw}from"react/jsx-runtime";var En="k-input",hw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],gw={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Yn={size:n.medium,rounded:n.medium,fillMode:b.solid},L=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p,size:m=Yn.size,rounded:k=Yn.rounded,fillMode:v=Yn.fillMode,...T}=e;return xw("span",{...T,className:o(e.className,En,C(En,{size:m,rounded:k,fillMode:v}),x(En,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p}))})};L.states=hw;L.options=gw;L.className=En;L.defaultOptions=Yn;import{jsx as yw}from"react/jsx-runtime";var Pn="k-picker",bw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],vw={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Gn={size:n.medium,rounded:h.medium,fillMode:b.solid},yt=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p,size:m=Gn.size,rounded:k=Gn.rounded,fillMode:v=Gn.fillMode,...T}=e;return yw("span",{...T,className:o(e.className,Pn,C(Pn,{size:m,rounded:k,fillMode:v}),x(Pn,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p})),children:e.children})};yt.states=bw;yt.options=vw;yt.className=Pn;yt.defaultOptions=Gn;import{Fragment as Aw,jsx as ip}from"react/jsx-runtime";var tf="k-clear-value",ww=[l.disabled,l.loading,l.readonly],Tw={},oe=e=>{let{disabled:t,loading:a,readonly:r,value:s}=e;return t||r||a||!s?ip(Aw,{}):ip("span",{className:o(e.className,tf),children:ip(y,{icon:"x"})})};oe.states=ww;oe.options=Tw;oe.className=tf;import{jsx as Sw}from"react/jsx-runtime";var np="k-input-inner",Nw=[],Cw={},Kn={type:"text",autocomplete:"off",value:"",placeholder:""},ie=e=>{let{value:t=Kn.value,type:a=Kn.type,placeholder:r=Kn.placeholder,autocomplete:s=Kn.autocomplete,...i}=e;return Sw("input",{...i,type:a,className:o(e.className,np,C(np,e)),placeholder:r,autoComplete:s,defaultValue:t})};ie.states=Nw;ie.options=Cw;ie.className=np;import{jsx as of,jsxs as Mw}from"react/jsx-runtime";var dp="k-input-inner",Iw=[],Bw={},So=e=>{let{value:t,placeholder:a,showValue:r,valueIcon:s,valueIconName:i,...d}=e;return Mw("span",{...d,className:o(e.className,dp,C(dp,e)),children:[s,!s&&i&&of(y,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&of("span",{className:"k-input-value-text",children:t})]})};So.states=Iw;So.options=Bw;So.className=dp;import{jsx as Yw}from"react/jsx-runtime";var cp="k-input-inner",Lw=[],Ew={},af={value:"",placeholder:""},Is=e=>{let{value:t=af.value,placeholder:a=af.placeholder,rows:r,...s}=e;return Yw("textarea",{...s,className:o(e.className,cp,C(cp,e)),placeholder:a,rows:r,defaultValue:t})};Is.states=Lw;Is.options=Ew;Is.className=cp;import{Fragment as Gw,jsx as lf}from"react/jsx-runtime";var rf="k-input-loading-icon",Pw=[l.disabled,l.loading],j=e=>{let{disabled:t,loading:a}=e;return t||!a?lf(Gw,{}):lf("span",{className:o(e.className,rf,"k-icon k-i-loading")})};j.states=Pw;j.className=rf;import{Fragment as Fw,jsx as sf}from"react/jsx-runtime";var nf="k-input-validation-icon",Kw=[l.valid,l.invalid,l.disabled,l.loading],Dw={},Z=e=>{let{valid:t,invalid:a,disabled:r,loading:s}=e,i=a?"warning-circle":"check-circle";return r||s||!!!(t||a)?sf(Fw,{}):sf(y,{className:o(nf),icon:i})};Z.states=Kw;Z.options=Dw;Z.className=nf;import{Fragment as Hw,jsx as df}from"react/jsx-runtime";var Rw="k-input-prefix",zw={direction:"horizontal"},ee=e=>{let{direction:t=zw.direction,...a}=e;return e.children?df("span",{...a,className:o(Rw,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):df(Hw,{})};import{Fragment as Qw,jsx as cf}from"react/jsx-runtime";var Ow="k-input-suffix",Ww={direction:"horizontal"},te=e=>{let{direction:t=Ww.direction,...a}=e;return e.children?cf("span",{...a,className:o(Ow,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):cf(Qw,{})};import{jsx as Gz}from"react/jsx-runtime";import{jsx as Rz}from"react/jsx-runtime";import{jsx as Xw}from"react/jsx-runtime";var pf="k-input-separator",Vw={direction:"vertical"},xe=e=>{let{direction:t=Vw.direction,...a}=e;return Xw("span",{...a,className:o(pf,e.className,{[`${pf}-${t}`]:t})})};import{jsx as Jw}from"react/jsx-runtime";var Zw="k-no-data",Bs=e=>Jw("span",{className:o(Zw,e.className),children:e.children});import{jsx as Yl,jsxs as mf}from"react/jsx-runtime";var pp="k-list",jw=[],Uw={size:[n.small,n.medium,n.large]},uf={size:n.medium},V=e=>{let{size:t=uf.size,virtualization:a,children:r,optionLabel:s,customValue:i,screenReaders:d,...p}=e,m,k,v,T,g=[];return r?r.map((A,N)=>{A.type===ve?(A.props.root===!0?(m=A.props.label,A.props.children.map((I,M)=>{g.push(Yl(G,{...I.props},`optChild-${M}-${new Date().getTime()}`))})):A.props.children.forEach((I,M)=>{let E="";M===0&&(E=A.props.label),g.push(Yl(G,{className:M===0?"k-first":"",...I.props,groupLabel:E},`groupLabel-${M}-${new Date().getTime()}`))}),k=Yl(ve,{label:m,virtualization:a,children:g})):A.type===G&&(g.push(Yl(G,{...A.props},`${A.type}-${N}`)),v=Yl(Pl,{virtualization:a,children:g}),d&&(T=mf(Bs,{className:"k-sr-only",children:[g.length," items found."]})))}):T=Yl(Bs,{children:"No data found."}),mf("div",{...p,className:o(e.className,pp,C(pp,{size:t}),{"k-virtual-list":a}),children:[s,i,k,v,T]})};V.states=jw;V.options=Uw;V.className=pp;V.defaultOptions=uf;import{jsx as Ka,jsxs as $w}from"react/jsx-runtime";var mp="k-list",qw=[],_w={size:[n.small,n.medium,n.large]},kf={size:n.medium},Da=e=>{let{size:t=kf.size,virtualization:a,children:r,...s}=e,i,d,p,m=[];return r?r.map((k,v)=>{k.type===ve?(k.props.root===!0?(i=k.props.label,k.props.children.map((T,g)=>{m.push(Ka(G,{...T.props},`optChild-${g}-${new Date().getTime()}`))})):(m.push(Ka(ff,{...k.props,children:k.props.label},`listChild-${v}`)),k.props.children.map((T,g)=>{m.push(Ka(G,{...T.props},`fwOptChild-${g}-${new Date().getTime()}`))})),d=Ka(ve,{label:i,virtualization:a,children:m})):k.type===G&&(m.push(Ka(G,{...k.props},`${k.type}-${v}`)),p=Ka(Pl,{virtualization:a,children:m}))}):p=Ka(Bs,{children:"No data found."}),$w("div",{...s,className:o(e.className,mp,C(mp,{size:t}),{"k-virtual-list":a}),children:[d,p]})};Da.states=qw;Da.options=_w;Da.className=mp;Da.defaultOptions=kf;import{jsx as hf}from"react/jsx-runtime";var Dn="k-checkbox",eT=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],tT={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full]},up={size:n.medium,rounded:h.medium},Ve=e=>{let{id:t,checked:a,indeterminate:r,hover:s,focus:i,disabled:d,invalid:p,valid:m,required:k,size:v=up.size,rounded:T=up.rounded,...g}=e;return hf("span",{className:"k-checkbox-wrap",children:hf("input",{...g,id:t,type:"checkbox",defaultChecked:a,required:k,className:o(e.className,Dn,C(Dn,{size:v,rounded:T}),x(Dn,{hover:s,focus:i,disabled:d,invalid:p,valid:m,indeterminate:r,checked:a}))})})};Ve.states=eT;Ve.options=tT;Ve.className=Dn;Ve.defaultOptions=up;import{jsx as lT}from"react/jsx-runtime";var gf="k-checkbox-list",oT=[],aT={},xf={layout:"vertical"},Gl=e=>{let{layout:t=xf.layout,...a}=e;return lT("ul",{...a,className:o(e.className,gf,{[`k-list-${t}`]:t}),children:e.children})};Gl.states=oT;Gl.options=aT;Gl.className=gf;Gl.defaultOptions=xf;import{jsx as nT}from"react/jsx-runtime";var bf="k-checkbox-list-item",rT=[],sT={},iT={},Kl=e=>{let{...t}=e;return nT("li",{...t,className:o(e.className,bf),children:e.children})};Kl.states=rT;Kl.options=sT;Kl.className=bf;Kl.defaultOptions=iT;import{Fragment as L0,jsx as M0,jsxs as E0}from"react/jsx-runtime";import{Fragment as D0,jsx as K0,jsxs as F0}from"react/jsx-runtime";import{Fragment as W0,jsx as O0,jsxs as Q0}from"react/jsx-runtime";import{Fragment as j0,jsx as J0,jsxs as U0}from"react/jsx-runtime";import{jsx as eH}from"react/jsx-runtime";import{jsx as lH}from"react/jsx-runtime";import{jsx as Fn,jsxs as mT}from"react/jsx-runtime";var fp="k-list-item",dT=[l.hover,l.focus,l.selected,l.disabled],cT={},pT={},G=e=>{let{text:t,groupLabel:a,group:r,showIcon:s,iconName:i,showCheckbox:d,checked:p,hover:m,focus:k,selected:v,disabled:T,...g}=e,A=t||e.children;return mT("li",{...g,className:o(e.className,r?"k-list-group-item":fp,x(fp,{hover:m,focus:k,disabled:T,selected:v})),children:[d&&Fn(Ve,{checked:p}),s&&Fn(y,{icon:i}),Fn("span",{className:"k-list-item-text",children:A}),a&&a!==""&&Fn("div",{className:"k-list-item-group-label",children:a})]})};G.states=dT;G.options=cT;G.className=fp;G.defaultOptions=pT;import{jsx as hp,jsxs as kT}from"react/jsx-runtime";var uT="k-list-content",Pl=e=>{let{virtualization:t,...a}=e;return kT("div",{...a,className:o(uT,e.className),children:[hp("ul",{className:o("k-list-ul"),children:e.children}),t&&hp("div",{className:"k-height-container",children:hp("div",{})})]})};import{jsx as vf}from"react/jsx-runtime";var fT="k-list-group-sticky-header",yf=e=>vf("div",{className:o(fT,e.className),children:vf("div",{className:"k-list-header-text",children:e.children})});import{Fragment as hT,jsx as wf,jsxs as gT}from"react/jsx-runtime";var ve=e=>{let{virtualization:t,label:a}=e;return gT(hT,{children:[a&&wf(yf,{children:a}),e.children&&wf(Pl,{virtualization:t,children:e.children})]})};import{jsx as Tf}from"react/jsx-runtime";var xT="k-list-group-item",ff=e=>Tf("li",{className:o(xT,e.className),children:Tf("span",{className:"k-list-item-text",children:e.children})});import{jsx as wT}from"react/jsx-runtime";var gp="k-list-optionlabel",bT=[l.hover,l.focus,l.selected,l.disabled],vT={},yT={},Rn=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return wT("div",{...d,className:o(gp,x(gp,{hover:a,focus:r,selected:s,disabled:i})),children:t})};Rn.states=bT;Rn.options=vT;Rn.className=gp;Rn.defaultOptions=yT;import{jsx as CT}from"react/jsx-runtime";var xp="k-list-custom-value",TT=[l.hover,l.focus,l.selected,l.disabled],AT={},NT={},qe=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return CT("div",{...d,className:o(xp,x(xp,{hover:a,focus:r,selected:s,disabled:i})),children:t})};qe.states=TT;qe.options=AT;qe.className=xp;qe.defaultOptions=NT;import{jsx as HH}from"react/jsx-runtime";import{jsx as VH}from"react/jsx-runtime";import{jsx as jH,jsxs as UH}from"react/jsx-runtime";import{jsx as e8,jsxs as t8}from"react/jsx-runtime";import{jsx as r8}from"react/jsx-runtime";import{jsx as d8,jsxs as c8}from"react/jsx-runtime";import{jsx as k8,jsxs as f8}from"react/jsx-runtime";import{jsx as bp,jsxs as BT}from"react/jsx-runtime";var Af="k-suggestion-group",ST=[],IT={},Nf={scrollable:!0},Fa=e=>{let{scrollable:t=Nf.scrollable,...a}=e,r=bp("div",{...a,className:o(Af,e.className),children:e.children});return t?BT("div",{className:"k-suggestion-scrollwrap",children:[bp(c,{icon:"chevron-left"}),r,bp(c,{icon:"chevron-right"})]}):r};Fa.states=ST;Fa.options=IT;Fa.className=Af;Fa.defaultOptions=Nf;import{jsx as YT}from"react/jsx-runtime";var zn="k-suggestion",MT=[l.active,l.hover,l.focus],LT={themeColor:[u.base,u.primary,u.secondary]},ET={text:"Suggestion"},Ra=e=>{let{themeColor:t,active:a,hover:r,focus:s,text:i,...d}=e;return YT("span",{...d,className:o(e.className,zn,x(zn,{hover:r,active:a,focus:s}),C(zn,{themeColor:t})),children:i})};Ra.states=MT;Ra.options=LT;Ra.className=zn;Ra.item=ET;import{Fragment as Q8,jsx as W8,jsxs as V8}from"react/jsx-runtime";import{Fragment as U8,jsx as j8,jsxs as q8}from"react/jsx-runtime";import{jsx as Cf}from"react/jsx-runtime";var Ms="k-avatar";var PT=[l.hover,l.focus,l.active,l.selected,l.disabled],GT={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},za={type:"text",size:n.medium,rounded:h.full,fillMode:b.solid,themeColor:u.primary,border:!1},so=e=>{let{size:t=za.size,rounded:a=za.rounded,fillMode:r=za.fillMode,themeColor:s=za.themeColor,type:i=za.type,border:d=za.border,...p}=e;return Cf("div",{...p,className:o(e.className,Ms,C(Ms,{size:t,rounded:a,fillMode:r,themeColor:s}),{[`${Ms}-bordered`]:d}),children:Cf("span",{className:`${Ms}-${i}`,children:e.children})})};so.states=PT;so.options=GT;so.className=Ms;so.defaultOptions=za;import{jsx as dO}from"react/jsx-runtime";import{jsx as uO}from"react/jsx-runtime";import{jsx as gO}from"react/jsx-runtime";import{jsx as FT}from"react/jsx-runtime";var Ls="k-badge",KT=[],DT={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.outline],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Es={size:n.medium,fillMode:b.solid,themeColor:u.primary,cutoutBorder:!1},Dl=e=>{let{size:t=Es.size,fillMode:a=Es.fillMode,themeColor:r=Es.themeColor,cutoutBorder:s=Es.cutoutBorder,rounded:i,position:d,align:p,...m}=e;return FT("span",{...m,className:o(e.className,Ls,C(Ls,{size:t,rounded:i,fillMode:a,themeColor:r}),{[`${Ls}-${d}`]:d,[`k-${p}`]:p,[`${Ls}-border-cutout`]:s}),children:e.children})};Dl.states=KT;Dl.options=DT;Dl.className=Ls;Dl.defaultOptions=Es;import{jsx as BO}from"react/jsx-runtime";import{jsx as PO}from"react/jsx-runtime";import{jsx as WO}from"react/jsx-runtime";import{jsx as Fl,jsxs as HT}from"react/jsx-runtime";var Hn="k-chip",RT=[l.hover,l.focus,l.active,l.selected,l.disabled],zT={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.outline],themeColor:[u.base,u.success,u.warning,u.error,u.info]},Rl={size:n.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,avatarImage:"/packages/html/assets/avatar.jpg"},Vt=e=>{let{size:t=Rl.size,rounded:a=Rl.rounded,fillMode:r=Rl.fillMode,themeColor:s=Rl.themeColor,text:i,icon:d,actions:p,showAvatar:m,avatarImage:k=Rl.avatarImage,hover:v,focus:T,active:g,selected:A,disabled:N,...I}=e;return HT("div",{...I,className:o(e.className,Hn,C(Hn,{size:t,rounded:a,fillMode:r,themeColor:s}),x(Hn,{hover:v,focus:T,active:g,disabled:N,selected:A})),children:[d&&Fl(y,{className:"k-chip-icon",icon:d,size:"small"}),m&&Fl(so,{className:"k-chip-avatar",type:"image",children:Fl("img",{src:k})}),Fl("span",{className:"k-chip-content",children:e.children?e.children:i&&Fl("span",{className:"k-chip-label",children:i})}),p&&Fl("span",{className:"k-chip-actions",children:p})]})};Vt.states=RT;Vt.options=zT;Vt.className=Hn;Vt.defaultOptions=Rl;import{jsx as QT}from"react/jsx-runtime";var vp="k-chip-list",OT=[],WT={size:[n.small,n.medium,n.large]},If={size:n.medium},Xt=e=>{let{size:t=If.size,...a}=e;return QT("div",{...a,className:o(e.className,vp,C(vp,{size:t})),children:e.children})};Xt.states=OT;Xt.options=WT;Xt.className=vp;Xt.defaultOptions=If;import{jsx as tW}from"react/jsx-runtime";import{jsx as rW}from"react/jsx-runtime";import{jsx as dW}from"react/jsx-runtime";import{jsx as kW}from"react/jsx-runtime";import{Fragment as vW,jsx as bW,jsxs as yW}from"react/jsx-runtime";import{jsx as Bf,jsxs as ZT}from"react/jsx-runtime";var Mf="k-color-preview",VT=[],XT={},Wo=e=>{let{color:t,iconName:a,...r}=e;return ZT("span",{...r,className:o(e.className,Mf,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&Bf(y,{icon:a,className:"k-color-preview-icon"}),Bf("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Wo.states=VT;Wo.options=XT;Wo.className=Mf;import{Fragment as yp,jsx as Lf,jsxs as Wn}from"react/jsx-runtime";var wp="k-loader",JT={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},jT=[],UT={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]},Qn={size:n.medium,themeColor:u.primary,animation:"pulsing"},Qo=e=>{let{size:t=Qn.size,themeColor:a=Qn.themeColor,animation:r=Qn.animation,...s}=e,i=Lf("span",{className:"k-loader-segment"});return Lf("div",{...s,className:o(e.className,wp,{[`k-loader-${JT[r]||r}`]:r},C(wp,{size:t,themeColor:a})),children:Wn("div",{className:"k-loader-canvas",children:[r==="pulsing"&&Wn(yp,{children:[i,i]}),r==="infinite-spinner"&&Wn(yp,{children:[i,i,i]}),r==="converging-spinner"&&Wn(yp,{children:[i,i,i,i]})]})})};Qo.states=jT;Qo.options=UT;Qo.className=wp;Qo.defaultOptions=Qn;var Ef=Qo;import{jsx as Tp,jsxs as Yf}from"react/jsx-runtime";var Ap="k-loader-container",qT=[],_T={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]},Oa={size:n.medium,themeColor:u.primary,loaderType:"pulsing",position:"top",overlay:"dark",panel:!1},Ys=e=>{let{size:t=Oa.size,themeColor:a=Oa.themeColor,loaderType:r=Oa.loaderType,position:s=Oa.position,overlay:i=Oa.overlay,panel:d=Oa.panel,...p}=e;return Yf("div",{...p,className:o(e.className,Ap,C(Ap,{size:t}),{[`k-loader-${s}`]:s}),children:[Tp("div",{className:`k-loader-container-overlay k-overlay-${i}`}),Yf("div",{className:o("k-loader-container-inner",{"k-loader-container-panel":d}),children:[Tp(Ef,{size:t,themeColor:a,animation:r}),Tp("div",{className:`k-loader-container-label !k-text-${a}`,children:"Loading..."})]})]})};Ys.states=qT;Ys.options=_T;Ys.className=Ap;Ys.defaultOptions=Oa;import{jsx as ZW}from"react/jsx-runtime";import{jsx as qW}from"react/jsx-runtime";import{jsx as tQ}from"react/jsx-runtime";import{jsx as rQ}from"react/jsx-runtime";import{jsx as tA}from"react/jsx-runtime";var Pf="k-skeleton",$T=[],eA={},Np={shape:"text",animation:"pulse"},Vo=e=>{let{shape:t=Np.shape,animation:a=Np.animation,...r}=e;return tA("span",{...r,className:o(e.className,Pf,{[`k-skeleton-${t}`]:t,[`k-skeleton-${a}`]:a}),style:e.style})};Vo.states=$T;Vo.options=eA;Vo.className=Pf;Vo.defaultOptions=Np;import{jsx as bQ}from"react/jsx-runtime";import{jsx as oA}from"react/jsx-runtime";var Gf=e=>oA(Vo,{shape:"rect",...e});import{jsx as CQ}from"react/jsx-runtime";import{jsx as Ps,jsxs as Cp}from"react/jsx-runtime";var Sp="k-form-field",aA=[l.disabled],Xe=e=>{let{label:t,orientation:a,optional:r,editor:s,hint:i,error:d,info:p,disabled:m,dir:k,colSpan:v}=e;return Cp("div",{className:o(Sp,e.className,x(Sp,{disabled:m}),{[`k-col-span-${v}`]:v}),dir:k,children:[t&&Cp("label",{className:o("k-label","k-form-label"),children:[t,r&&Ps("span",{className:"k-label-optional",children:"(Optional)"}),p&&Ps("span",{className:"k-field-info",children:"(field info)"})]}),a==="horizontal"&&!t&&Ps("span",{className:"k-label k-form-label k-label-empty"}),Cp("div",{className:"k-form-field-wrap",children:[s,i&&Ps("div",{className:"k-form-hint",children:i}),d&&Ps("div",{className:"k-form-error",children:d})]})]})};Xe.states=aA;Xe.className=Sp;import{Fragment as lA,jsx as Ip,jsxs as rA}from"react/jsx-runtime";var Kf="k-form-fieldset",io=e=>{let{legend:t,layout:a,cols:r,gutters:s,colSpan:i}=e;return rA("fieldset",{className:o(Kf,{[`k-col-span-${i}`]:i}),children:[t&&Ip("legend",{className:"k-form-legend",children:t}),a==="grid"?Ip("div",{className:o("k-form-layout","k-d-grid",{[`k-grid-cols-${r}`]:r}),style:{...typeof s=="string"&&{gap:s},...typeof s=="object"&&s.rows&&{rowGap:s.rows},...typeof s=="object"&&s.cols&&{columnGap:s.cols}},children:e.children}):Ip(lA,{children:e.children})]})};io.className=Kf;import{Fragment as nA,jsx as Gs,jsxs as dA}from"react/jsx-runtime";import{createElement as Bp}from"react";var Vn="k-form",sA=[],iA={size:[n.small,n.medium,n.large]},Xn={size:n.medium,layout:"basic",tag:"form"},Io=e=>{let{size:t=Xn.size,orientation:a,layout:r=Xn.layout,formButtons:s,cols:i,gutters:d,tag:p=Xn.tag,children:m}=e,k=({tag:T,className:g,children:A})=>T==="form"?Gs("form",{className:g,children:A}):Gs("div",{className:g,children:A}),v=[];return m&&(Array.isArray(m)?m.map((T,g)=>{T.type===Xe?v.push(Bp(Xe,{...T.props,orientation:a,key:g})):v.push(T)}):m.type===Xe?v.push(Bp(Xe,{...m.props,orientation:a,key:`${new Date().getTime()}`})):m.type===io&&v.push(Bp(io,{...m.props,key:`${new Date().getTime()}`}))),dA(k,{tag:p,className:o(e.className,Vn,C(Vn,{size:t}),{[`${Vn}-${a}`]:a}),children:[r==="grid"?Gs("div",{className:o("k-form-layout","k-d-grid",{[`k-grid-cols-${i}`]:i}),style:{...typeof d=="string"&&{gap:d},...typeof d=="object"&&d.rows&&{rowGap:d.rows},...typeof d=="object"&&d.cols&&{columnGap:d.cols}},children:v}):Gs(nA,{children:v}),s&&Gs("div",{className:"k-form-buttons",children:s})]})};Io.states=sA;Io.options=iA;Io.className=Vn;Io.defaultOptions=Xn;import{jsx as pA}from"react/jsx-runtime";var cA="k-actionsheet-footer",Df={alignment:"stretched",orientation:"horizontal"},Zt=e=>{let{alignment:t=Df.alignment,orientation:a=Df.orientation,template:r,as:s=r?"div":Q,...i}=e;return pA(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,cA),children:e.children})};import{jsx as Ks,jsxs as kA}from"react/jsx-runtime";var Ff="k-searchbox",mA=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],uA={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Mp={showIcon:!0,icon:"search",size:L.defaultOptions.size,rounded:L.defaultOptions.rounded,fillMode:L.defaultOptions.fillMode},Re=e=>{let{value:t,placeholder:a,size:r,rounded:s,fillMode:i,hover:d,focus:p,valid:m,invalid:k,required:v,loading:T,disabled:g,showIcon:A=Mp.showIcon,icon:N=Mp.icon,...I}=e;return kA(L,{...I,size:r,rounded:s,fillMode:i,hover:d,focus:p,valid:m,invalid:k,required:v,loading:T,disabled:g,className:o(e.className,Ff),children:[A&&Ks(y,{className:"k-input-icon",icon:N}),Ks(ie,{placeholder:a,value:t}),Ks(j,{...e}),Ks(Z,{...e}),Ks(oe,{...e})]})};Re.states=mA;Re.options=uA;Re.className=Ff;Re.defaultOptions=Mp;import{jsx as aV}from"react/jsx-runtime";import{Fragment as Rf,jsx as Xo,jsxs as Lp}from"react/jsx-runtime";var zf="k-textbox",fA=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],hA={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Wa={showClearButton:!0,showValidationIcon:!0,size:L.defaultOptions.size,rounded:L.defaultOptions.rounded,fillMode:L.defaultOptions.fillMode,separators:!0},J=e=>{let{size:t=Wa.size,rounded:a=Wa.rounded,fillMode:r=Wa.fillMode,separators:s=Wa.separators,showClearButton:i=Wa.showClearButton,showValidationIcon:d=Wa.showValidationIcon,prefix:p,suffix:m,type:k,value:v,placeholder:T,hover:g,focus:A,valid:N,invalid:I,required:M,loading:E,disabled:Y,readonly:F,...O}=e;return Lp(L,{...O,size:t,rounded:a,fillMode:r,hover:g,focus:A,valid:N,invalid:I,required:M,loading:E,disabled:Y,readonly:F,className:o(e.className,zf),children:[p&&Lp(Rf,{children:[Xo(ee,{children:p}),s&&Xo(xe,{})]}),Xo(ie,{placeholder:T,value:v,type:k}),d&&Xo(Z,{valid:N,invalid:I,loading:E,disabled:Y}),Xo(j,{loading:E,disabled:Y}),i&&Xo(oe,{loading:E,disabled:Y,readonly:F,value:v}),m&&Lp(Rf,{children:[s&&Xo(xe,{}),Xo(te,{children:m})]})]})};J.states=fA;J.options=hA;J.className=zf;J.defaultOptions=Wa;import{jsx as kV}from"react/jsx-runtime";import{Fragment as vV,jsx as bV}from"react/jsx-runtime";import{Fragment as CV,jsx as NV}from"react/jsx-runtime";import{jsx as Zo,jsxs as Ep}from"react/jsx-runtime";var Wf="k-actionsheet-titlebar",gA={},le=e=>{let{title:t,subtitle:a,actionsStart:r,actionsEnd:s,filter:i,input:d,inputValue:p,inputPlaceholder:m,adaptive:k,children:v,...T}=e;return Ep("div",{...T,className:o(e.className,Wf),children:[Ep("div",{className:"k-actionsheet-titlebar-group",children:[r&&Zo("div",{className:"k-actionsheet-actions",children:r}),!v&&Ep("div",{className:"k-actionsheet-title",children:[t&&Zo("div",{className:"k-text-center",children:t}),a&&Zo("div",{className:"k-actionsheet-subtitle k-text-center",children:a})]}),v&&Zo("div",{className:"k-actionsheet-title",children:v}),s&&Zo("div",{className:"k-actionsheet-actions",children:s})]}),(d||i)&&Zo("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?Zo(J,{value:p,placeholder:m,size:k?"large":"medium"}):Zo(Re,{placeholder:"Filter",size:k?"large":"medium"})})]})};le.className=Wf;le.defaultOptions=gA;import{jsx as Yp,jsxs as yA}from"react/jsx-runtime";var Pp="k-actionsheet-view",xA=[],bA={},vA={},zl=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...d}=e,p=s?.type===le&&Yp(le,{adaptive:t,...s?.props}),m=i?.type===Zt&&Yp(Zt,{...i?.props});return yA("div",{...d,className:o(e.className,Pp,{[`${Pp}-animated`]:a}),children:[p,Yp("div",{className:"k-actionsheet-content",children:r}),m]})};zl.states=xA;zl.options=bA;zl.className=Pp;zl.defaultOptions=vA;import{jsx as Zn,jsxs as AA}from"react/jsx-runtime";var Qf="k-actionsheet",wA=[],TA={},Ds={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ne=e=>{let{side:t=Ds.side,fullscreen:a=Ds.fullscreen,adaptive:r=Ds.adaptive,overlay:s=Ds.overlay,template:i,children:d,header:p,footer:m,...k}=e;return AA("div",{className:"k-actionsheet-container",children:[s&&Zn("div",{className:"k-overlay"}),Zn(zo,{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:Zn("div",{...k,className:o(e.className,Qf,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||Zn(zl,{header:p,footer:m,adaptive:r,...e,children:d})})})]})};ne.states=wA;ne.options=TA;ne.className=Qf;ne.defaultOptions=Ds;import{jsx as UV}from"react/jsx-runtime";import{Fragment as CA,jsx as Fs,jsxs as Gp}from"react/jsx-runtime";var Kp="k-actionsheet-item",NA=[l.hover,l.focus,l.selected,l.disabled],Dp=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,Kp,x(Kp,{hover:s,focus:i,selected:d,disabled:p})),children:[!e.children&&Fs(CA,{children:Gp("span",{className:"k-actionsheet-action",children:[t&&Fs("span",{className:"k-icon-wrap",children:Fs(y,{className:"k-actionsheet-item-icon",icon:t})}),Gp("span",{className:"k-actionsheet-item-text",children:[a&&Fs("span",{className:"k-actionsheet-item-title",children:a}),r&&Fs("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};Dp.states=NA;Dp.className=Kp;import{jsx as r6,jsxs as s6}from"react/jsx-runtime";import{jsx as c6}from"react/jsx-runtime";import{jsx as k6}from"react/jsx-runtime";import{jsx as x6}from"react/jsx-runtime";import{Fragment as BA,jsx as it,jsxs as Fp}from"react/jsx-runtime";var Xf="k-dropdownlist",SA=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],IA={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Hl={showValue:!0,arrowIconName:"caret-alt-down",size:n.medium,rounded:h.medium,fillMode:b.solid},re=e=>{let{size:t=Hl.size,rounded:a=Hl.rounded,fillMode:r=Hl.fillMode,arrowIconName:s=Hl.arrowIconName,showValue:i=Hl.showValue,valueIconName:d,prefix:p,suffix:m,value:k,placeholder:v,hover:T,focus:g,valid:A,invalid:N,required:I,loading:M,disabled:E,readonly:Y,popup:F,opened:O,adaptive:ge,adaptiveSettings:Ke,adaptiveTitle:tt,adaptiveSubtitle:Ht,adaptiveFilter:Sa,...Sl}=e;return Fp(BA,{children:[Fp(yt,{...Sl,size:t,rounded:a,fillMode:r,hover:T,focus:g,valid:A,invalid:N,required:I,loading:M,disabled:E,readonly:Y,className:o(e.className,Xf,{"k-icon-picker":!i&&d}),children:[it(ee,{children:p}),it(So,{placeholder:v,value:k,showValue:i,valueIconName:d}),it(Z,{valid:A,invalid:N,loading:M,disabled:E}),it(j,{loading:M,disabled:E}),it(te,{children:m}),it(c,{className:"k-input-button",icon:s,rounded:null,size:e.size,fillMode:e.fillMode})]}),O&&F&&it(R,{className:"k-list-container k-dropdownlist-popup",children:F}),ge&&it(ne,{adaptive:!0,...Ke,header:it(le,{actionsEnd:it(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Sa,inputValue:k,inputPlaceh