UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 308 kB
var fI=Object.create;var cd=Object.defineProperty;var hI=Object.getOwnPropertyDescriptor;var gI=Object.getOwnPropertyNames;var xI=Object.getPrototypeOf,bI=Object.prototype.hasOwnProperty;var vI=(e,t)=>{for(var a in t)cd(e,a,{get:t[a],enumerable:!0})},Oh=(e,t,a,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of gI(t))!bI.call(e,s)&&s!==a&&cd(e,s,{get:()=>t[s],enumerable:!(r=hI(t,s))||r.enumerable});return e};var Wh=(e,t,a)=>(a=e!=null?fI(xI(e)):{},Oh(t||!e||!e.__esModule?cd(a,"default",{value:e,enumerable:!0}):a,e)),yI=e=>Oh(cd({},"__esModule",{value:!0}),e);var SH={};vI(SH,{ChartWizardNormal:()=>CH});module.exports=yI(SH);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 S=(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"},Wt={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var Vh=require("react/jsx-runtime"),pd="k-actions",wI=[],TI={},rp={alignment:"start",orientation:"horizontal"},J=e=>{let{alignment:t=rp.alignment,orientation:a=rp.orientation,...r}=e;return(0,Vh.jsx)("div",{...r,className:o(pd,{[`${pd}-${t}`]:t,[`${pd}-${a}`]:a},e.className),children:e.children})};J.states=wI;J.options=TI;J.className=pd;J.defaultOptions=rp;var Qh=J;var gi=require("react/jsx-runtime"),sp="k-icon k-font-icon",AI=[],NI={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]},CI={},xi=e=>{let{size:t,themeColor:a,icon:r,rotate:s,flip:i,...d}=e;return r?(0,gi.jsx)("span",{...d,className:o(e.className,sp,S(sp,{size:t}),{[`k-i-${r}`]:r,[`k-color-${a}`]:a,[`k-rotate-${s}`]:s,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"})}):(0,gi.jsx)(gi.Fragment,{})};xi.states=AI;xi.options=NI;xi.className=sp;xi.defaultOptions=CI;var Xh=xi;var Il=require("react/jsx-runtime"),ip="k-icon k-svg-icon",SI=[],II={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]},Zh={viewBox:"0 0 24 24"},bi=e=>{let{size:t,themeColor:a,rotate:r,flip:s,viewBox:i=Zh.viewBox,icon:d,...p}=e;if(!d)return(0,Il.jsx)(Il.Fragment,{});d==="none"&&{...p,className:o(e.className,ip,"k-none")};let m=typeof d=="object"&&d.name&&d.name;return(0,Il.jsx)("span",{...p,className:o(e.className,ip,S("k-icon",{size:t}),{[`k-svg-i-${m}`]:m,[`k-color-${a}`]:a,[`k-rotate-${r}`]:r,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),children:(0,Il.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof d=="object"?d.viewBox:i,dangerouslySetInnerHTML:typeof d=="object"?{__html:d.content}:void 0,children:d?void 0:e.children})})};bi.states=SI;bi.options=II;bi.className=ip;bi.defaultOptions=Zh;var np=bi;var Jh=Wh(require("@progress/kendo-svg-icons")),fa=require("react/jsx-runtime"),BI=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),MI=[],LI={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]},dp={viewBox:"0 0 24 24",type:"svg"},y=e=>{let{size:t,themeColor:a,icon:r,type:s=dp.type,rotate:i,flip:d,viewBox:p=dp.viewBox,...m}=e;if(!r)return(0,fa.jsx)(fa.Fragment,{});if(s==="svg"){if(r==="none")return(0,fa.jsx)(np,{...m,icon:r,size:t});let f=BI(`${r}-icon`);return Jh[f]?(0,fa.jsx)(np,{...m,icon:Jh[f],size:t,themeColor:a,rotate:i,flip:d,viewBox:p}):(0,fa.jsx)(fa.Fragment,{})}return(0,fa.jsx)(Xh,{...m,icon:r,size:t,themeColor:a,rotate:i,flip:d})};y.states=MI;y.options=LI;y.defaultOptions=dp;var cp=y;var To=require("react/jsx-runtime"),md="k-button",EI=[l.hover,l.focus,l.active,l.selected,l.disabled],YI={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]},Bl={size:n.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},c=e=>{let{size:t=Bl.size,rounded:a=Bl.rounded,fillMode:r=Bl.fillMode,themeColor:s=Bl.themeColor,showArrow:i=Bl.showArrow,arrowIconName:d=Bl.arrowIconName,hover:p,focus:m,active:f,selected:v,disabled:A,icon:g,text:N,iconClassName:C,...I}=e,M=g!==void 0,E=e.children!==void 0;return(0,To.jsxs)("button",{...I,className:o(e.className,md,S(md,{size:t,rounded:a,fillMode:r,themeColor:s}),x(md,{hover:p,focus:m,active:f,disabled:A,selected:v}),{"k-icon-button":!N&&!E&&M}),children:[g&&(0,To.jsx)(y,{className:o(C,"k-button-icon"),icon:g}),N?(0,To.jsxs)(To.Fragment,{children:[N&&(0,To.jsx)("span",{className:"k-button-text",children:N}),e.children]}):e.children&&(0,To.jsx)("span",{className:"k-button-text",children:e.children}),i&&(0,To.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,To.jsx)(y,{icon:d})})]})};c.states=EI;c.options=YI;c.className=md;c.defaultOptions=Bl;var jh=require("react/jsx-runtime"),xt=e=>(0,jh.jsx)(c,{icon:"folder",...e,children:void 0});var Uh=require("react/jsx-runtime"),Ao=e=>(0,Uh.jsx)(c,{icon:"folder",children:"Button",...e});var PI=require("react/jsx-runtime");var pp=require("react/jsx-runtime"),qh="k-animation-container",GI=[],KI={},_h={positionMode:"absolute"},Ka=e=>{let{positionMode:t=_h.positionMode,animationStyle:a,offset:r,...s}=e;return(0,pp.jsx)("div",{...s,style:{...r,...e.style},className:o(e.className,qh,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,pp.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};Ka.states=GI;Ka.options=KI;Ka.className=qh;Ka.defaultOptions=_h;var mp=require("react/jsx-runtime"),$h="k-popup",DI=[],FI={},eg={positionMode:"absolute"},O=e=>{let{offset:t,positionMode:a=eg.positionMode,animationStyle:r,...s}=e;return(0,mp.jsx)(Ka,{positionMode:a,offset:t,animationStyle:r,children:(0,mp.jsx)("div",{...s,className:o(e.className,$h),children:e.children})})};O.states=DI;O.options=FI;O.className=$h;O.defaultOptions=eg;var Ll=require("react/jsx-runtime"),tg="k-menu-button",RI=[l.hover,l.focus,l.active,l.selected,l.disabled],zI={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]},Ml={size:n.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,showArrow:!0,arrowIconName:"caret-alt-down"},te=e=>{let{size:t=Ml.size,rounded:a=Ml.rounded,fillMode:r=Ml.fillMode,themeColor:s=Ml.themeColor,hover:i,focus:d,active:p,selected:m,disabled:f,icon:v,text:A,showArrow:g=Ml.showArrow,arrowIconName:N=Ml.arrowIconName,popup:C,opened:I,...M}=e;return(0,Ll.jsxs)(Ll.Fragment,{children:[(0,Ll.jsx)(c,{...M,className:o(e.className,tg),text:A,size:t,rounded:a,fillMode:r,themeColor:s,hover:i,focus:d,active:p,selected:m,disabled:f,icon:v,showArrow:g,arrowIconName:N}),I&&C&&(0,Ll.jsx)(O,{className:"k-menu-popup",children:C})]})};te.states=RI;te.options=zI;te.className=tg;te.defaultOptions=Ml;var HI=require("react/jsx-runtime");var OI=require("react/jsx-runtime");var WI=require("react/jsx-runtime");var so=require("react/jsx-runtime"),kp="k-menu-item",QI=[l.hover,l.focus,l.active,l.selected,l.disabled],VI={},og={iconPosition:"before"},pt=e=>{let{hover:t,focus:a,active:r,selected:s,disabled:i,icon:d,text:p,first:m,last:f,showArrow:v,arrowIconName:A,iconPosition:g=og.iconPosition,dir:N,children:C,...I}=e,M=(0,so.jsx)(so.Fragment,{});C&&C.forEach(G=>{if(G.type==="MenuItemContent"){M.props.children.push(G);return}});let E=A;return E||(E=N==="rtl"?"caret-alt-left":"caret-alt-right"),(0,so.jsxs)("li",{...I,className:o(e.className,kp,"k-item",x(kp,{focus:a,disabled:i,hover:t,active:r,selected:s}),{"k-first":m,"k-last":f}),children:[(0,so.jsxs)("span",{className:o("k-link k-menu-link"),children:[d&&g==="before"&&(0,so.jsx)(y,{className:"k-menu-link-icon",icon:d}),(0,so.jsx)("span",{className:"k-menu-link-text",children:p}),d&&g==="after"&&(0,so.jsx)(y,{className:"k-menu-link-icon",icon:d}),v&&(0,so.jsx)("span",{className:"k-menu-expand-arrow",children:(0,so.jsx)(y,{icon:E})})]}),M]})};pt.states=QI;pt.options=VI;pt.className=kp;pt.defaultOptions=og;var io=require("react/jsx-runtime"),fp="k-menu-item",XI=[l.hover,l.focus,l.active,l.selected,l.disabled],ZI={},hp={dir:"ltr",iconPosition:"before"},No=e=>{let{hover:t,focus:a,active:r,selected:s,disabled:i,icon:d,text:p,first:m,last:f,showArrow:v,arrowIconName:A,iconPosition:g=hp.iconPosition,dir:N=hp.dir,children:C,popup:I,...M}=e,E=(0,io.jsx)(io.Fragment,{});C&&C.forEach(H=>{if(H.type==="MenuListItemContent"){E.props.children.push(H);return}});let G=A;return G||(G=N==="rtl"?"caret-alt-left":"caret-alt-right"),(0,io.jsxs)("li",{...M,className:o(e.className,fp,"k-item",x(fp,{focus:a,disabled:i}),{"k-first":m,"k-last":f}),children:[(0,io.jsxs)("span",{className:o("k-link k-menu-link",x("k-menu-link",{hover:t,active:r,selected:s,disabled:i})),children:[d&&g==="before"&&(0,io.jsx)(y,{className:"k-menu-link-icon",icon:d}),(0,io.jsx)("span",{className:"k-menu-link-text",children:p}),d&&g==="after"&&(0,io.jsx)(y,{className:"k-menu-link-icon",icon:d}),v&&(0,io.jsx)("span",{className:"k-menu-expand-arrow",children:(0,io.jsx)(y,{icon:G})})]}),E,I]})};No.states=XI;No.options=ZI;No.className=fp;No.defaultOptions=hp;var rg=require("react/jsx-runtime"),ag="k-menu-scroll-wrapper",JI=[],jI={},UI={},vi=e=>{let{className:t,children:a,orientation:r,...s}=e;return(0,rg.jsx)("div",{...s,className:o(t,ag,{"k-menu-scroll-wrapper-vertical":r==="vertical"}),children:a})};vi.states=JI;vi.options=jI;vi.className=ag;vi.defaultOptions=UI;var lg=vi;var mt=require("react/jsx-runtime"),gp="k-menu",qI=[],_I={},ud={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Co=e=>{let{children:t,orientation:a=ud.orientation,header:r=ud.header,scrollable:s,scrollButtonsPosition:i=ud.scrollButtonsPosition,wrapperStyles:d,dir:p,popup:m,...f}=e,v={horizontal:{prev:p!=="rtl"?"left":"right",next:p!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},A=(0,mt.jsx)("ul",{dir:p,...f,className:o(e.className,"k-reset",gp,{[`${gp}-${a}`]:a,"k-header":r}),children:t});return(0,mt.jsxs)(mt.Fragment,{children:[s?(0,mt.jsxs)(lg,{orientation:a,style:d,dir:e.dir,children:[i==="start"&&(0,mt.jsxs)(mt.Fragment,{children:[(0,mt.jsx)(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${v[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),(0,mt.jsx)(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"&&(0,mt.jsx)(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${v[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),A,i==="end"&&(0,mt.jsxs)(mt.Fragment,{children:[(0,mt.jsx)(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${v[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),(0,mt.jsx)(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"&&(0,mt.jsx)(c,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${v[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}):A,m]})};Co.states=qI;Co.options=_I;Co.className=gp;Co.defaultOptions=ud;var ig=require("react/jsx-runtime"),xp="k-separator",sg={orientation:"horizontal"},yi=e=>{let{orientation:t=sg.orientation,...a}=e;return(0,ig.jsx)("li",{...a,className:o(e.className,"k-item",xp,{[`${xp}-${t}`]:t})})};yi.className=xp;yi.defaultOptions=sg;var ng=require("react/jsx-runtime");var yp=require("react/jsx-runtime"),dg=require("react"),bp="k-menu-group",$I=[],eB={size:[n.small,n.medium,n.large]},vp={size:n.medium,dir:"ltr"},ha=e=>{let{children:t,size:a=vp.size,dir:r=vp.dir,...s}=e,i=[];return t&&Array.isArray(t)&&t.map((d,p)=>{d.type===No?i.push((0,dg.createElement)(No,{...d.props,dir:r,key:p})):d.type===yi?i.push((0,yp.jsx)(yi,{})):i.push(d)}),(0,yp.jsx)("ul",{...s,className:o(e.className,bp,S(bp,{size:a})),children:i})};ha.states=$I;ha.options=eB;ha.className=bp;ha.defaultOptions=vp;var wp=require("react/jsx-runtime");var Tp=require("react/jsx-runtime");var Ap=require("react/jsx-runtime");var Np=require("react/jsx-runtime");var Cp=require("react/jsx-runtime");var cg=require("react/jsx-runtime");var Qt=require("react/jsx-runtime"),kd="k-window",tB=[],oB={themeColor:[u.primary,u.light,u.dark]},aB={},El=e=>{let{title:t,actions:a,minimized:r,themeColor:s,actionButtons:i,actionButtonsAlign:d,...p}=e;return(0,Qt.jsxs)("div",{...p,className:o(e.className,kd,S(kd,{themeColor:s}),{[`${kd}-minimized`]:r}),children:[(t!==void 0||a)&&(0,Qt.jsxs)("div",{className:"k-window-titlebar",children:[t!==void 0&&(0,Qt.jsx)("span",{className:"k-window-title",children:t}),a&&(0,Qt.jsx)(Qt.Fragment,{children:(0,Qt.jsx)("div",{className:"k-window-titlebar-actions",children:a.map(m=>m==="more-vertical"?(0,Qt.jsx)(te,{icon:m,fillMode:"flat",showArrow:!1,className:"k-window-titlebar-action"},m):(0,Qt.jsx)(c,{icon:m,fillMode:"flat",className:"k-window-titlebar-action"},m))})})]}),(0,Qt.jsx)("div",{className:o("k-window-content",{"k-hidden":r}),children:e.children}),i&&(0,Qt.jsx)(J,{alignment:d,className:"k-window-actions",children:i})]})};El.states=tB;El.options=oB;El.className=kd;El.defaultOptions=aB;var pg=require("react/jsx-runtime");var ug=require("react/jsx-runtime"),mg="k-chart-wizard",lB=[],rB={},sB={},Mr=e=>{let{children:t,...a}=e;return(0,ug.jsx)(El,{title:"Chart Preview",actions:["window","x"],...a,className:o(e.className,mg),children:t})};Mr.states=lB;Mr.options=rB;Mr.className=mg;Mr.defaultOptions=sB;var Da=require("react/jsx-runtime"),iB=[],nB={},kg={buttonText:"Export"},wi=e=>{let{buttonText:t=kg.buttonText,children:a}=e;return(0,Da.jsxs)(Da.Fragment,{children:[(0,Da.jsx)("div",{className:"k-preview-pane-header",children:(0,Da.jsx)(te,{fillMode:"flat",icon:"export",showArrow:!1,children:t})}),(0,Da.jsx)("div",{className:"k-preview-pane-content",children:a})]})};wi.states=iB;wi.options=nB;wi.defaultOptions=kg;var fg=require("react/jsx-runtime"),Yl="k-pane",dB=[],cB={},Sp={resizable:!0,flex:!1},Le=e=>{let{scrollable:t,flexBasis:a,flex:r=Sp.flex,collapsible:s,resizable:i=Sp.resizable,pinned:d,unpinned:p,tabbed:m,...f}=e;return(0,fg.jsx)("div",{...f,style:{flexBasis:a,...e.style},className:o(e.className,Yl,{[`${Yl}-static`]:a,[`${Yl}-flex`]:r,"k-scrollable":t,[`${Yl}-pinned`]:d,[`${Yl}-unpinned`]:p,[`${Yl}-tabbed`]:m}),children:e.children})};Le.states=dB;Le.options=cB;Le.className=Yl;Le.defaultOptions=Sp;var Vt=require("react/jsx-runtime"),Lr="k-splitbar",pB=[l.hover,l.focus],mB={},Ip={orientation:"horizontal",draggable:!0},Fa=e=>{let{hover:t,focus:a,orientation:r=Ip.orientation,draggable:s=Ip.draggable,collapsePrev:i,collapseNext:d,...p}=e;return(0,Vt.jsxs)("div",{...p,className:o(e.className,Lr,x(Lr,{hover:t,focus:a}),{[`${Lr}-${r}`]:r,[`${Lr}-draggable-${r}`]:s,[`${Lr}-static-${r}`]:!s&&!i&&!d}),children:[i&&(0,Vt.jsx)(Vt.Fragment,{children:(0,Vt.jsx)("div",{className:"k-collapse-prev",children:(0,Vt.jsx)(y,{icon:`caret-alt-${r==="horizontal"?"left":"up"}`,size:"xsmall"})})}),(0,Vt.jsx)("div",{className:"k-resize-handle"}),d&&(0,Vt.jsx)(Vt.Fragment,{children:(0,Vt.jsx)("div",{className:"k-collapse-next",children:(0,Vt.jsx)(y,{icon:`caret-alt-${r==="horizontal"?"right":"down"}`,size:"xsmall"})})})]})};Fa.states=pB;Fa.options=mB;Fa.className=Lr;Fa.defaultOptions=Ip;var Mp=require("react/jsx-runtime"),gg=require("react"),Bp="k-splitter",uB={},hg={orientation:"horizontal"},bt=e=>{let{orientation:t=hg.orientation,children:a,...r}=e,s=[];return a&&Array.isArray(a)&&a.map((i,d)=>{if(i.type===Le){let p=a[d+1],m=i.props,f=p==null?void 0:p.props;s.push((0,gg.createElement)(Le,{...m,key:d}),p&&(0,Mp.jsx)(Fa,{draggable:m.resizable!==!1&&f.resizable!==!1,collapsePrev:m.collapsible,collapseNext:f.collapsible,orientation:t},`splitbar-${d}`))}else s.push(i)}),(0,Mp.jsx)("div",{...r,className:o(e.className,Bp,{[`${Bp}-${t}`]:t},"k-splitter-flex"),children:s})};bt.options=uB;bt.className=Bp;bt.defaultOptions=hg;var xg=require("react/jsx-runtime");var bg=require("react/jsx-runtime");var yg=require("react/jsx-runtime"),vg="k-chart-wizard-splitter",kB=[],fB={},hB={},Er=e=>{let{children:t,...a}=e;return(0,yg.jsx)(bt,{...a,className:o(e.className,vg),children:t})};Er.states=kB;Er.options=fB;Er.className=vg;Er.defaultOptions=hB;var Tg=require("react/jsx-runtime"),wg="k-chart-types-wrapper",gB={},xB={},ga=e=>(0,Tg.jsx)("div",{...e,className:o(e.className,wg),children:e.children});ga.options=gB;ga.className=wg;ga.defaultOptions=xB;var Ti=require("react/jsx-runtime"),Lp="k-icon-text-wrapper",bB=[l.focus,l.selected],vB={},yB={},vt=e=>{let{focus:t,selected:a,icon:r,text:s,...i}=e;return(0,Ti.jsxs)("div",{...i,className:o(e.className,Lp,x(Lp,{focus:t,selected:a})),children:[(0,Ti.jsx)("div",{className:"k-icon-background-area",children:(0,Ti.jsx)(y,{icon:r,size:"xlarge"})}),s]})};vt.states=bB;vt.options=vB;vt.className=Lp;vt.defaultOptions=yB;var no=require("react/jsx-runtime"),fd="k-expander",wB=[l.hover,l.focus,l.disabled],TB={},AB={},Ro=e=>{let{title:t,subtitle:a,expanded:r,hover:s,focus:i,disabled:d,dir:p,contentStyle:m,...f}=e;return(0,no.jsxs)("div",{...f,className:o(e.className,fd,x(fd,{hover:s,focus:i,disabled:d}),{"k-expanded":r}),dir:p,children:[(0,no.jsxs)("div",{className:o("k-expander-header",x(fd,{hover:s})),children:[(0,no.jsx)("div",{className:"k-expander-title",children:t}),(0,no.jsx)("span",{className:"k-spacer"}),(0,no.jsx)("div",{className:"k-expander-sub-title",children:a}),(0,no.jsx)("span",{className:"k-expander-indicator",children:r?(0,no.jsx)(y,{icon:"chevron-up"}):(0,no.jsx)(y,{icon:"chevron-down"})})]}),(0,no.jsx)("div",{className:o("k-expander-content-wrapper",{"k-hidden":!r}),children:(0,no.jsx)("div",{className:"k-expander-content",style:m,children:e.children})})]})};Ro.states=wB;Ro.options=TB;Ro.className=fd;Ro.defaultOptions=AB;var CB=require("react/jsx-runtime");var SB=require("react/jsx-runtime");var Cg=require("react/jsx-runtime"),Ag="k-tabstrip-items",IB=[],BB={},MB={tabAlignment:"start"},Ai=e=>{let{children:t,tabAlignment:a,...r}=e;return(0,Cg.jsx)("ul",{...r,className:o(e.className,Ag,"k-reset",`k-tabstrip-items-${a}`),children:t})};Ai.states=IB;Ai.options=BB;Ai.className=Ag;Ai.defaultOptions=MB;var Ng=Ai;var Mg=require("react/jsx-runtime"),Sg="k-tabstrip-items-wrapper",LB=[],EB={},Ig={orientation:"horizontal"},Ni=e=>{let{children:t,orientation:a=Ig.orientation,...r}=e;return(0,Mg.jsx)("div",{...r,className:o(e.className,Sg,{"k-hstack":a==="horizontal","k-vstack":a==="vertical"}),children:t})};Ni.states=LB;Ni.options=EB;Ni.className=Sg;Ni.defaultOptions=Ig;var Bg=Ni;var Xt=require("react/jsx-runtime"),Pl="k-tabstrip",YB=[],PB={size:[n.small,n.medium,n.large]},Ci={size:n.medium,position:"top",tabAlignment:"start",scrollButtons:"around"},zo=e=>{let{size:t=Ci.size,scrollable:a,children:r,tabStripItems:s,position:i=Ci.position,tabAlignment:d=Ci.tabAlignment,scrollButtons:p=Ci.scrollButtons,dir:m,scrollingPosition:f,...v}=e,A={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"},N={start:"start",center:"center",end:"end",justify:"justify",stretched:"stretched"};return(0,Xt.jsxs)("div",{dir:m,...v,className:o(Pl,e.className,{[`${Pl}-${i}`]:i,[`${Pl}-scrollable`]:a,[`${Pl}-scrollable-overlay`]:a&&(p==="hidden"||!p),[`${Pl}-scrollable-${f}`]:f&&f!=="both"},S(Pl,{size:t})),children:[i==="bottom"&&r,(0,Xt.jsxs)(Bg,{orientation:g[i],children:[a&&(p==="around"||p==="start")&&(0,Xt.jsx)("span",{className:o("k-tabstrip-prev","k-button",S("k-button",{size:t,fillMode:b.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:(0,Xt.jsx)(y,{className:"k-button-icon",icon:`caret-alt-${A[i].prev}`})}),a&&p==="start"&&(0,Xt.jsx)("span",{className:o("k-tabstrip-next","k-button",S("k-button",{size:t,fillMode:b.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:(0,Xt.jsx)(y,{className:"k-button-icon",icon:`caret-alt-${A[i].next}`})}),(0,Xt.jsx)(Ng,{className:o({"k-tabstrip-items-scroll":a&&p==="hidden"}),tabAlignment:N[d],children:s}),a&&p==="end"&&(0,Xt.jsx)("span",{className:o("k-tabstrip-prev","k-button",S("k-button",{size:t,fillMode:b.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:(0,Xt.jsx)(y,{className:"k-button-icon",icon:`caret-alt-${A[i].prev}`})}),a&&(p==="around"||p==="end")&&(0,Xt.jsx)("span",{className:o("k-tabstrip-next","k-button",S("k-button",{size:t,fillMode:b.flat,themeColor:u.base,rounded:null}),"k-icon-button"),children:(0,Xt.jsx)(y,{className:"k-button-icon",icon:`caret-alt-${A[i].next}`})})]}),i!=="bottom"&&r]})};zo.states=YB;zo.options=PB;zo.className=Pl;zo.defaultOptions=Ci;var Eg=require("react/jsx-runtime"),GB=[],KB={},Lg=e=>{let{type:t,...a}=e,r=t==="p"?"paragraph":t,s=t.includes("display")?"div":t;return(0,Eg.jsx)(s,{...a,className:o(e.className,{[`k-${r}`]:t}),children:e.children})};Lg.states=GB;Lg.options=KB;var Yg=require("react/jsx-runtime"),hd="k-input",DB=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],FB={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},gd={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=gd.size,rounded:f=gd.rounded,fillMode:v=gd.fillMode,...A}=e;return(0,Yg.jsx)("span",{...A,className:o(e.className,hd,S(hd,{size:m,rounded:f,fillMode:v}),x(hd,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p}))})};L.states=DB;L.options=FB;L.className=hd;L.defaultOptions=gd;var Pg=require("react/jsx-runtime"),xd="k-picker",RB=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],zB={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},bd={size:n.medium,rounded:h.medium,fillMode:b.solid},Zt=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p,size:m=bd.size,rounded:f=bd.rounded,fillMode:v=bd.fillMode,...A}=e;return(0,Pg.jsx)("span",{...A,className:o(e.className,xd,S(xd,{size:m,rounded:f,fillMode:v}),x(xd,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p})),children:e.children})};Zt.states=RB;Zt.options=zB;Zt.className=xd;Zt.defaultOptions=bd;var Yr=require("react/jsx-runtime"),Gg="k-clear-value",HB=[l.disabled,l.loading,l.readonly],OB={},se=e=>{let{disabled:t,loading:a,readonly:r,value:s}=e;return t||r||a||!s?(0,Yr.jsx)(Yr.Fragment,{}):(0,Yr.jsx)("span",{className:o(e.className,Gg),children:(0,Yr.jsx)(y,{icon:"x"})})};se.states=HB;se.options=OB;se.className=Gg;var Kg=require("react/jsx-runtime"),Ep="k-input-inner",WB=[],QB={},vd={type:"text",autocomplete:"off",value:"",placeholder:""},pe=e=>{let{value:t=vd.value,type:a=vd.type,placeholder:r=vd.placeholder,autocomplete:s=vd.autocomplete,...i}=e;return(0,Kg.jsx)("input",{...i,type:a,className:o(e.className,Ep,S(Ep,e)),placeholder:r,autoComplete:s,defaultValue:t})};pe.states=WB;pe.options=QB;pe.className=Ep;var Si=require("react/jsx-runtime"),Yp="k-input-inner",VB=[],XB={},xa=e=>{let{value:t,placeholder:a,showValue:r,valueIcon:s,valueIconName:i,...d}=e;return(0,Si.jsxs)("span",{...d,className:o(e.className,Yp,S(Yp,e)),children:[s,!s&&i&&(0,Si.jsx)(y,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&(0,Si.jsx)("span",{className:"k-input-value-text",children:t})]})};xa.states=VB;xa.options=XB;xa.className=Yp;var Fg=require("react/jsx-runtime"),Pp="k-input-inner",ZB=[],JB={},Dg={value:"",placeholder:""},Ii=e=>{let{value:t=Dg.value,placeholder:a=Dg.placeholder,rows:r,...s}=e;return(0,Fg.jsx)("textarea",{...s,className:o(e.className,Pp,S(Pp,e)),placeholder:a,rows:r,defaultValue:t})};Ii.states=ZB;Ii.options=JB;Ii.className=Pp;var Bi=require("react/jsx-runtime"),Rg="k-input-loading-icon",jB=[l.disabled,l.loading],$=e=>{let{disabled:t,loading:a}=e;return t||!a?(0,Bi.jsx)(Bi.Fragment,{}):(0,Bi.jsx)("span",{className:o(e.className,Rg,"k-icon k-i-loading")})};$.states=jB;$.className=Rg;var Mi=require("react/jsx-runtime"),zg="k-input-validation-icon",UB=[l.valid,l.invalid,l.disabled,l.loading],qB={},q=e=>{let{valid:t,invalid:a,disabled:r,loading:s}=e,i=a?"warning-circle":"check-circle";return r||s||!!!(t||a)?(0,Mi.jsx)(Mi.Fragment,{}):(0,Mi.jsx)(y,{className:o(zg),icon:i})};q.states=UB;q.options=qB;q.className=zg;var Li=require("react/jsx-runtime"),_B="k-input-prefix",$B={direction:"horizontal"},le=e=>{let{direction:t=$B.direction,...a}=e;return e.children?(0,Li.jsx)("span",{...a,className:o(_B,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Li.jsx)(Li.Fragment,{})};var Ei=require("react/jsx-runtime"),eM="k-input-suffix",tM={direction:"horizontal"},re=e=>{let{direction:t=tM.direction,...a}=e;return e.children?(0,Ei.jsx)("span",{...a,className:o(eM,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Ei.jsx)(Ei.Fragment,{})};var oM=require("react/jsx-runtime");var aM=require("react/jsx-runtime");var Og=require("react/jsx-runtime"),Hg="k-input-separator",lM={direction:"vertical"},Se=e=>{let{direction:t=lM.direction,...a}=e;return(0,Og.jsx)("span",{...a,className:o(Hg,e.className,{[`${Hg}-${t}`]:t})})};var Wg=require("react/jsx-runtime"),rM="k-no-data",Yi=e=>(0,Wg.jsx)("span",{className:o(rM,e.className),children:e.children});var Ho=require("react/jsx-runtime"),Gp="k-list",sM=[],iM={size:[n.small,n.medium,n.large]},Qg={size:n.medium},j=e=>{let{size:t=Qg.size,virtualization:a,children:r,optionLabel:s,customValue:i,screenReaders:d,...p}=e,m,f,v,A,g=[];return r?r.map((N,C)=>{N.type===Ee?(N.props.root===!0?(m=N.props.label,N.props.children.map((I,M)=>{g.push((0,Ho.jsx)(D,{...I.props},`optChild-${M}-${new Date().getTime()}`))})):N.props.children.forEach((I,M)=>{let E="";M===0&&(E=N.props.label),g.push((0,Ho.jsx)(D,{className:M===0?"k-first":"",...I.props,groupLabel:E},`groupLabel-${M}-${new Date().getTime()}`))}),f=(0,Ho.jsx)(Ee,{label:m,virtualization:a,children:g})):N.type===D&&(g.push((0,Ho.jsx)(D,{...N.props},`${N.type}-${C}`)),v=(0,Ho.jsx)(Pr,{virtualization:a,children:g}),d&&(A=(0,Ho.jsxs)(Yi,{className:"k-sr-only",children:[g.length," items found."]})))}):A=(0,Ho.jsx)(Yi,{children:"No data found."}),(0,Ho.jsxs)("div",{...p,className:o(e.className,Gp,S(Gp,{size:t}),{"k-virtual-list":a}),children:[s,i,f,v,A]})};j.states=sM;j.options=iM;j.className=Gp;j.defaultOptions=Qg;var Oo=require("react/jsx-runtime"),Kp="k-list",nM=[],dM={size:[n.small,n.medium,n.large]},Vg={size:n.medium},Gl=e=>{let{size:t=Vg.size,virtualization:a,children:r,...s}=e,i,d,p,m=[];return r?r.map((f,v)=>{f.type===Ee?(f.props.root===!0?(i=f.props.label,f.props.children.map((A,g)=>{m.push((0,Oo.jsx)(D,{...A.props},`optChild-${g}-${new Date().getTime()}`))})):(m.push((0,Oo.jsx)(Xg,{...f.props,children:f.props.label},`listChild-${v}`)),f.props.children.map((A,g)=>{m.push((0,Oo.jsx)(D,{...A.props},`fwOptChild-${g}-${new Date().getTime()}`))})),d=(0,Oo.jsx)(Ee,{label:i,virtualization:a,children:m})):f.type===D&&(m.push((0,Oo.jsx)(D,{...f.props},`${f.type}-${v}`)),p=(0,Oo.jsx)(Pr,{virtualization:a,children:m}))}):p=(0,Oo.jsx)(Yi,{children:"No data found."}),(0,Oo.jsxs)("div",{...s,className:o(e.className,Kp,S(Kp,{size:t}),{"k-virtual-list":a}),children:[d,p]})};Gl.states=nM;Gl.options=dM;Gl.className=Kp;Gl.defaultOptions=Vg;var Fp=require("react/jsx-runtime"),yd="k-checkbox",cM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],pM={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full]},Dp={size:n.medium,rounded:h.medium},ut=e=>{let{id:t,checked:a,indeterminate:r,hover:s,focus:i,disabled:d,invalid:p,valid:m,required:f,size:v=Dp.size,rounded:A=Dp.rounded,...g}=e;return(0,Fp.jsx)("span",{className:"k-checkbox-wrap",children:(0,Fp.jsx)("input",{...g,id:t,type:"checkbox",defaultChecked:a,required:f,className:o(e.className,yd,S(yd,{size:v,rounded:A}),x(yd,{hover:s,focus:i,disabled:d,invalid:p,valid:m,indeterminate:r,checked:a}))})})};ut.states=cM;ut.options=pM;ut.className=yd;ut.defaultOptions=Dp;var jg=require("react/jsx-runtime"),Zg="k-checkbox-list",mM=[],uM={},Jg={layout:"vertical"},Gr=e=>{let{layout:t=Jg.layout,...a}=e;return(0,jg.jsx)("ul",{...a,className:o(e.className,Zg,{[`k-list-${t}`]:t}),children:e.children})};Gr.states=mM;Gr.options=uM;Gr.className=Zg;Gr.defaultOptions=Jg;var qg=require("react/jsx-runtime"),Ug="k-checkbox-list-item",kM=[],fM={},hM={},Kr=e=>{let{...t}=e;return(0,qg.jsx)("li",{...t,className:o(e.className,Ug),children:e.children})};Kr.states=kM;Kr.options=fM;Kr.className=Ug;Kr.defaultOptions=hM;var zp=require("react/jsx-runtime");var Hp=require("react/jsx-runtime");var Op=require("react/jsx-runtime");var Wp=require("react/jsx-runtime");var gM=require("react/jsx-runtime");var xM=require("react/jsx-runtime");var Kl=require("react/jsx-runtime"),Qp="k-list-item",bM=[l.hover,l.focus,l.selected,l.disabled],vM={},yM={},D=e=>{let{text:t,groupLabel:a,group:r,showIcon:s,iconName:i,showCheckbox:d,checked:p,hover:m,focus:f,selected:v,disabled:A,...g}=e,N=t||e.children;return(0,Kl.jsxs)("li",{...g,className:o(e.className,r?"k-list-group-item":Qp,x(Qp,{hover:m,focus:f,disabled:A,selected:v})),children:[d&&(0,Kl.jsx)(ut,{checked:p}),s&&(0,Kl.jsx)(y,{icon:i}),(0,Kl.jsx)("span",{className:"k-list-item-text",children:N}),a&&a!==""&&(0,Kl.jsx)("div",{className:"k-list-item-group-label",children:a})]})};D.states=bM;D.options=vM;D.className=Qp;D.defaultOptions=yM;var Dr=require("react/jsx-runtime"),wM="k-list-content",Pr=e=>{let{virtualization:t,...a}=e;return(0,Dr.jsxs)("div",{...a,className:o(wM,e.className),children:[(0,Dr.jsx)("ul",{className:o("k-list-ul"),children:e.children}),t&&(0,Dr.jsx)("div",{className:"k-height-container",children:(0,Dr.jsx)("div",{})})]})};var Vp=require("react/jsx-runtime"),TM="k-list-group-sticky-header",_g=e=>(0,Vp.jsx)("div",{className:o(TM,e.className),children:(0,Vp.jsx)("div",{className:"k-list-header-text",children:e.children})});var Dl=require("react/jsx-runtime"),Ee=e=>{let{virtualization:t,label:a}=e;return(0,Dl.jsxs)(Dl.Fragment,{children:[a&&(0,Dl.jsx)(_g,{children:a}),e.children&&(0,Dl.jsx)(Pr,{virtualization:t,children:e.children})]})};var Xp=require("react/jsx-runtime"),AM="k-list-group-item",Xg=e=>(0,Xp.jsx)("li",{className:o(AM,e.className),children:(0,Xp.jsx)("span",{className:"k-list-item-text",children:e.children})});var $g=require("react/jsx-runtime"),Zp="k-list-optionlabel",NM=[l.hover,l.focus,l.selected,l.disabled],CM={},SM={},wd=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return(0,$g.jsx)("div",{...d,className:o(Zp,x(Zp,{hover:a,focus:r,selected:s,disabled:i})),children:t})};wd.states=NM;wd.options=CM;wd.className=Zp;wd.defaultOptions=SM;var ex=require("react/jsx-runtime"),Jp="k-list-custom-value",IM=[l.hover,l.focus,l.selected,l.disabled],BM={},MM={},yt=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return(0,ex.jsx)("div",{...d,className:o(Jp,x(Jp,{hover:a,focus:r,selected:s,disabled:i})),children:t})};yt.states=IM;yt.options=BM;yt.className=Jp;yt.defaultOptions=MM;var LM=require("react/jsx-runtime");var EM=require("react/jsx-runtime");var tx=require("react/jsx-runtime");var ox=require("react/jsx-runtime");var YM=require("react/jsx-runtime");var ax=require("react/jsx-runtime");var lx=require("react/jsx-runtime");var Fr=require("react/jsx-runtime"),rx="k-suggestion-group",PM=[],GM={},sx={scrollable:!0},Fl=e=>{let{scrollable:t=sx.scrollable,...a}=e,r=(0,Fr.jsx)("div",{...a,className:o(rx,e.className),children:e.children});return t?(0,Fr.jsxs)("div",{className:"k-suggestion-scrollwrap",children:[(0,Fr.jsx)(c,{icon:"chevron-left"}),r,(0,Fr.jsx)(c,{icon:"chevron-right"})]}):r};Fl.states=PM;Fl.options=GM;Fl.className=rx;Fl.defaultOptions=sx;var ix=require("react/jsx-runtime"),Td="k-suggestion",KM=[l.active,l.hover,l.focus],DM={themeColor:[u.base,u.primary,u.secondary]},FM={text:"Suggestion"},Rl=e=>{let{themeColor:t,active:a,hover:r,focus:s,text:i,...d}=e;return(0,ix.jsx)("span",{...d,className:o(e.className,Td,x(Td,{hover:r,active:a,focus:s}),S(Td,{themeColor:t})),children:i})};Rl.states=KM;Rl.options=DM;Rl.className=Td;Rl.item=FM;var jp=require("react/jsx-runtime");var Up=require("react/jsx-runtime");var qp=require("react/jsx-runtime"),Pi="k-avatar";var RM=[l.hover,l.focus,l.active,l.selected,l.disabled],zM={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]},zl={type:"text",size:n.medium,rounded:h.full,fillMode:b.solid,themeColor:u.primary,border:!1},Wo=e=>{let{size:t=zl.size,rounded:a=zl.rounded,fillMode:r=zl.fillMode,themeColor:s=zl.themeColor,type:i=zl.type,border:d=zl.border,...p}=e;return(0,qp.jsx)("div",{...p,className:o(e.className,Pi,S(Pi,{size:t,rounded:a,fillMode:r,themeColor:s}),{[`${Pi}-bordered`]:d}),children:(0,qp.jsx)("span",{className:`${Pi}-${i}`,children:e.children})})};Wo.states=RM;Wo.options=zM;Wo.className=Pi;Wo.defaultOptions=zl;var HM=require("react/jsx-runtime");var OM=require("react/jsx-runtime");var WM=require("react/jsx-runtime");var dx=require("react/jsx-runtime"),Gi="k-badge",QM=[],VM={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]},Ki={size:n.medium,fillMode:b.solid,themeColor:u.primary,cutoutBorder:!1},Rr=e=>{let{size:t=Ki.size,fillMode:a=Ki.fillMode,themeColor:r=Ki.themeColor,cutoutBorder:s=Ki.cutoutBorder,rounded:i,position:d,align:p,...m}=e;return(0,dx.jsx)("span",{...m,className:o(e.className,Gi,S(Gi,{size:t,rounded:i,fillMode:a,themeColor:r}),{[`${Gi}-${d}`]:d,[`k-${p}`]:p,[`${Gi}-border-cutout`]:s}),children:e.children})};Rr.states=QM;Rr.options=VM;Rr.className=Gi;Rr.defaultOptions=Ki;var XM=require("react/jsx-runtime");var ZM=require("react/jsx-runtime");var JM=require("react/jsx-runtime");var ba=require("react/jsx-runtime"),Ad="k-chip",jM=[l.hover,l.focus,l.active,l.selected,l.disabled],UM={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]},zr={size:n.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,avatarImage:"/packages/html/assets/avatar.jpg"},So=e=>{let{size:t=zr.size,rounded:a=zr.rounded,fillMode:r=zr.fillMode,themeColor:s=zr.themeColor,text:i,icon:d,actions:p,showAvatar:m,avatarImage:f=zr.avatarImage,hover:v,focus:A,active:g,selected:N,disabled:C,...I}=e;return(0,ba.jsxs)("div",{...I,className:o(e.className,Ad,S(Ad,{size:t,rounded:a,fillMode:r,themeColor:s}),x(Ad,{hover:v,focus:A,active:g,disabled:C,selected:N})),children:[d&&(0,ba.jsx)(y,{className:"k-chip-icon",icon:d,size:"small"}),m&&(0,ba.jsx)(Wo,{className:"k-chip-avatar",type:"image",children:(0,ba.jsx)("img",{src:f})}),(0,ba.jsx)("span",{className:"k-chip-content",children:e.children?e.children:i&&(0,ba.jsx)("span",{className:"k-chip-label",children:i})}),p&&(0,ba.jsx)("span",{className:"k-chip-actions",children:p})]})};So.states=jM;So.options=UM;So.className=Ad;So.defaultOptions=zr;var px=require("react/jsx-runtime"),_p="k-chip-list",qM=[],_M={size:[n.small,n.medium,n.large]},cx={size:n.medium},Io=e=>{let{size:t=cx.size,...a}=e;return(0,px.jsx)("div",{...a,className:o(e.className,_p,S(_p,{size:t})),children:e.children})};Io.states=qM;Io.options=_M;Io.className=_p;Io.defaultOptions=cx;var $M=require("react/jsx-runtime");var eL=require("react/jsx-runtime");var tL=require("react/jsx-runtime");var oL=require("react/jsx-runtime");var $p=require("react/jsx-runtime");var Di=require("react/jsx-runtime"),mx="k-color-preview",aL=[],lL={},Ra=e=>{let{color:t,iconName:a,...r}=e;return(0,Di.jsxs)("span",{...r,className:o(e.className,mx,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&(0,Di.jsx)(y,{icon:a,className:"k-color-preview-icon"}),(0,Di.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ra.states=aL;Ra.options=lL;Ra.className=mx;var co=require("react/jsx-runtime"),em="k-loader",rL={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},sL=[],iL={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]},Cd={size:n.medium,themeColor:u.primary,animation:"pulsing"},za=e=>{let{size:t=Cd.size,themeColor:a=Cd.themeColor,animation:r=Cd.animation,...s}=e,i=(0,co.jsx)("span",{className:"k-loader-segment"});return(0,co.jsx)("div",{...s,className:o(e.className,em,{[`k-loader-${rL[r]||r}`]:r},S(em,{size:t,themeColor:a})),children:(0,co.jsxs)("div",{className:"k-loader-canvas",children:[r==="pulsing"&&(0,co.jsxs)(co.Fragment,{children:[i,i]}),r==="infinite-spinner"&&(0,co.jsxs)(co.Fragment,{children:[i,i,i]}),r==="converging-spinner"&&(0,co.jsxs)(co.Fragment,{children:[i,i,i,i]})]})})};za.states=sL;za.options=iL;za.className=em;za.defaultOptions=Cd;var ux=za;var Wl=require("react/jsx-runtime"),tm="k-loader-container",nL=[],dL={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]},Ol={size:n.medium,themeColor:u.primary,loaderType:"pulsing",position:"top",overlay:"dark",panel:!1},Fi=e=>{let{size:t=Ol.size,themeColor:a=Ol.themeColor,loaderType:r=Ol.loaderType,position:s=Ol.position,overlay:i=Ol.overlay,panel:d=Ol.panel,...p}=e;return(0,Wl.jsxs)("div",{...p,className:o(e.className,tm,S(tm,{size:t}),{[`k-loader-${s}`]:s}),children:[(0,Wl.jsx)("div",{className:`k-loader-container-overlay k-overlay-${i}`}),(0,Wl.jsxs)("div",{className:o("k-loader-container-inner",{"k-loader-container-panel":d}),children:[(0,Wl.jsx)(ux,{size:t,themeColor:a,animation:r}),(0,Wl.jsx)("div",{className:`k-loader-container-label !k-text-${a}`,children:"Loading..."})]})]})};Fi.states=nL;Fi.options=dL;Fi.className=tm;Fi.defaultOptions=Ol;var cL=require("react/jsx-runtime");var pL=require("react/jsx-runtime");var mL=require("react/jsx-runtime");var uL=require("react/jsx-runtime");var fx=require("react/jsx-runtime"),kx="k-skeleton",kL=[],fL={},om={shape:"text",animation:"pulse"},Ha=e=>{let{shape:t=om.shape,animation:a=om.animation,...r}=e;return(0,fx.jsx)("span",{...r,className:o(e.className,kx,{[`k-skeleton-${t}`]:t,[`k-skeleton-${a}`]:a}),style:e.style})};Ha.states=kL;Ha.options=fL;Ha.className=kx;Ha.defaultOptions=om;var hL=require("react/jsx-runtime");var gx=require("react/jsx-runtime"),hx=e=>(0,gx.jsx)(Ha,{shape:"rect",...e});var gL=require("react/jsx-runtime");var Qo=require("react/jsx-runtime"),am="k-form-field",xL=[l.disabled],kt=e=>{let{label:t,orientation:a,optional:r,editor:s,hint:i,error:d,info:p,disabled:m,dir:f,colSpan:v}=e;return(0,Qo.jsxs)("div",{className:o(am,e.className,x(am,{disabled:m}),{[`k-col-span-${v}`]:v}),dir:f,children:[t&&(0,Qo.jsxs)("label",{className:o("k-label","k-form-label"),children:[t,r&&(0,Qo.jsx)("span",{className:"k-label-optional",children:"(Optional)"}),p&&(0,Qo.jsx)("span",{className:"k-field-info",children:"(field info)"})]}),a==="horizontal"&&!t&&(0,Qo.jsx)("span",{className:"k-label k-form-label k-label-empty"}),(0,Qo.jsxs)("div",{className:"k-form-field-wrap",children:[s,i&&(0,Qo.jsx)("div",{className:"k-form-hint",children:i}),d&&(0,Qo.jsx)("div",{className:"k-form-error",children:d})]})]})};kt.states=xL;kt.className=am;var Oa=require("react/jsx-runtime"),xx="k-form-fieldset",Vo=e=>{let{legend:t,layout:a,cols:r,gutters:s,colSpan:i}=e;return(0,Oa.jsxs)("fieldset",{className:o(xx,{[`k-col-span-${i}`]:i}),children:[t&&(0,Oa.jsx)("legend",{className:"k-form-legend",children:t}),a==="grid"?(0,Oa.jsx)("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}):(0,Oa.jsx)(Oa.Fragment,{children:e.children})]})};Vo.className=xx;var Xo=require("react/jsx-runtime"),Bd=require("react"),Sd="k-form",bL=[],vL={size:[n.small,n.medium,n.large]},Id={size:n.medium,layout:"basic",tag:"form"},va=e=>{let{size:t=Id.size,orientation:a,layout:r=Id.layout,formButtons:s,cols:i,gutters:d,tag:p=Id.tag,children:m}=e,f=({tag:A,className:g,children:N})=>A==="form"?(0,Xo.jsx)("form",{className:g,children:N}):(0,Xo.jsx)("div",{className:g,children:N}),v=[];return m&&(Array.isArray(m)?m.map((A,g)=>{A.type===kt?v.push((0,Bd.createElement)(kt,{...A.props,orientation:a,key:g})):v.push(A)}):m.type===kt?v.push((0,Bd.createElement)(kt,{...m.props,orientation:a,key:`${new Date().getTime()}`})):m.type===Vo&&v.push((0,Bd.createElement)(Vo,{...m.props,key:`${new Date().getTime()}`}))),(0,Xo.jsxs)(f,{tag:p,className:o(e.className,Sd,S(Sd,{size:t}),{[`${Sd}-${a}`]:a}),children:[r==="grid"?(0,Xo.jsx)("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}):(0,Xo.jsx)(Xo.Fragment,{children:v}),s&&(0,Xo.jsx)("div",{className:"k-form-buttons",children:s})]})};va.states=bL;va.options=vL;va.className=Sd;va.defaultOptions=Id;var vx=require("react/jsx-runtime"),yL="k-actionsheet-footer",bx={alignment:"stretched",orientation:"horizontal"},Bo=e=>{let{alignment:t=bx.alignment,orientation:a=bx.orientation,template:r,as:s=r?"div":J,...i}=e;return(0,vx.jsx)(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,yL),children:e.children})};var Wa=require("react/jsx-runtime"),yx="k-searchbox",wL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],TL={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},lm={showIcon:!0,icon:"search",size:L.defaultOptions.size,rounded:L.defaultOptions.rounded,fillMode:L.defaultOptions.fillMode},it=e=>{let{value:t,placeholder:a,size:r,rounded:s,fillMode:i,hover:d,focus:p,valid:m,invalid:f,required:v,loading:A,disabled:g,showIcon:N=lm.showIcon,icon:C=lm.icon,...I}=e;return(0,Wa.jsxs)(L,{...I,size:r,rounded:s,fillMode:i,hover:d,focus:p,valid:m,invalid:f,required:v,loading:A,disabled:g,className:o(e.className,yx),children:[N&&(0,Wa.jsx)(y,{className:"k-input-icon",icon:C}),(0,Wa.jsx)(pe,{placeholder:a,value:t}),(0,Wa.jsx)($,{...e}),(0,Wa.jsx)(q,{...e}),(0,Wa.jsx)(se,{...e})]})};it.states=wL;it.options=TL;it.className=yx;it.defaultOptions=lm;var AL=require("react/jsx-runtime");var wt=require("react/jsx-runtime"),wx="k-textbox",NL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],CL={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Ql={showClearButton:!0,showValidationIcon:!0,size:L.defaultOptions.size,rounded:L.defaultOptions.rounded,fillMode:L.defaultOptions.fillMode,separators:!0},_=e=>{let{size:t=Ql.size,rounded:a=Ql.rounded,fillMode:r=Ql.fillMode,separators:s=Ql.separators,showClearButton:i=Ql.showClearButton,showValidationIcon:d=Ql.showValidationIcon,prefix:p,suffix:m,type:f,value:v,placeholder:A,hover:g,focus:N,valid:C,invalid:I,required:M,loading:E,disabled:G,readonly:H,...X}=e;return(0,wt.jsxs)(L,{...X,size:t,rounded:a,fillMode:r,hover:g,focus:N,valid:C,invalid:I,required:M,loading:E,disabled:G,readonly:H,className:o(e.className,wx),children:[p&&(0,wt.jsxs)(wt.Fragment,{children:[(0,wt.jsx)(le,{children:p}),s&&(0,wt.jsx)(Se,{})]}),(0,wt.jsx)(pe,{placeholder:A,value:v,type:f}),d&&(0,wt.jsx)(q,{valid:C,invalid:I,loading:E,disabled:G}),(0,wt.jsx)($,{loading:E,disabled:G}),i&&(0,wt.jsx)(se,{loading:E,disabled:G,readonly:H,value:v}),m&&(0,wt.jsxs)(wt.Fragment,{children:[s&&(0,wt.jsx)(Se,{}),(0,wt.jsx)(re,{children:m})]})]})};_.states=NL;_.options=CL;_.className=wx;_.defaultOptions=Ql;var SL=require("react/jsx-runtime");var Ax=require("react/jsx-runtime");var Cx=require("react/jsx-runtime");var Jt=require("react/jsx-runtime"),Sx="k-actionsheet-titlebar",IL={},ie=e=>{let{title:t,subtitle:a,actionsStart:r,actionsEnd:s,filter:i,input:d,inputValue:p,inputPlaceholder:m,adaptive:f,children:v,...A}=e;return(0,Jt.jsxs)("div",{...A,className:o(e.className,Sx),children:[(0,Jt.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[r&&(0,Jt.jsx)("div",{className:"k-actionsheet-actions",children:r}),!v&&(0,Jt.jsxs)("div",{className:"k-actionsheet-title",children:[t&&(0,Jt.jsx)("div",{className:"k-text-center",children:t}),a&&(0,Jt.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:a})]}),v&&(0,Jt.jsx)("div",{className:"k-actionsheet-title",children:v}),s&&(0,Jt.jsx)("div",{className:"k-actionsheet-actions",children:s})]}),(d||i)&&(0,Jt.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?(0,Jt.jsx)(_,{value:p,placeholder:m,size:f?"large":"medium"}):(0,Jt.jsx)(it,{placeholder:"Filter",size:f?"large":"medium"})})]})};ie.className=Sx;ie.defaultOptions=IL;var Hr=require("react/jsx-runtime"),rm="k-actionsheet-view",BL=[],ML={},LL={},Or=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...d}=e,p=(s==null?void 0:s.type)===ie&&(0,Hr.jsx)(ie,{adaptive:t,...s==null?void 0:s.props}),m=(i==null?void 0:i.type)===Bo&&(0,Hr.jsx)(Bo,{...i==null?void 0:i.props});return(0,Hr.jsxs)("div",{...d,className:o(e.className,rm,{[`${rm}-animated`]:a}),children:[p,(0,Hr.jsx)("div",{className:"k-actionsheet-content",children:r}),m]})};Or.states=BL;Or.options=ML;Or.className=rm;Or.defaultOptions=LL;var Vl=require("react/jsx-runtime"),Ix="k-actionsheet",EL=[],YL={},Ri={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},me=e=>{let{side:t=Ri.side,fullscreen:a=Ri.fullscreen,adaptive:r=Ri.adaptive,overlay:s=Ri.overlay,template:i,children:d,header:p,footer:m,...f}=e;return(0,Vl.jsxs)("div",{className:"k-actionsheet-container",children:[s&&(0,Vl.jsx)("div",{className:"k-overlay"}),(0,Vl.jsx)(Ka,{animationStyle:{[`${a===!0?"top":t}`]:0,[`${a===!0?"width":null}`]:"100%",[`${a===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:(0,Vl.jsx)("div",{...f,className:o(e.className,Ix,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||(0,Vl.jsx)(Or,{header:p,footer:m,adaptive:r,...e,children:d})})})]})};me.states=EL;me.options=YL;me.className=Ix;me.defaultOptions=Ri;var PL=require("react/jsx-runtime");var po=require("react/jsx-runtime"),sm="k-actionsheet-item",GL=[l.hover,l.focus,l.selected,l.disabled],im=e=>{let{iconName:t,text:a,description:r,hover:s,focus:i,selected:d,disabled:p,...m}=e;return(0,po.jsxs)("span",{...m,className:o(e.className,sm,x(sm,{hover:s,focus:i,selected:d,disabled:p})),children:[!e.children&&(0,po.jsx)(po.Fragment,{children:(0,po.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,po.jsx)("span",{className:"k-icon-wrap",children:(0,po.jsx)(y,{className:"k-actionsheet-item-icon",icon:t})}),(0,po.jsxs)("span",{className:"k-actionsheet-item-text",children:[a&&(0,po.jsx)("span",{className:"k-actionsheet-item-title",children:a}),r&&(0,po.jsx)("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};im.states=GL;im.className=sm;var Bx=require("react/jsx-runtime");var KL=require("react/jsx-runtime");var DL=require("react/jsx-runtime");var FL=require("react/jsx-runtime");var ze=require("react/jsx-runtime"),Lx="k-dropdownlist",RL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],zL={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Wr={showValue:!0,arrowIconName:"caret-alt-down",size:n.medium,rounded:h.medium,fillMode:b.solid},ne=e=>{let{size:t=Wr.size,rounded:a=Wr.rounded,fillMode:r=Wr.fillMode,a