@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 81.3 kB
JavaScript
var Ur=Object.create;var To=Object.defineProperty;var qr=Object.getOwnPropertyDescriptor;var Qr=Object.getOwnPropertyNames;var Yr=Object.getPrototypeOf,Zr=Object.prototype.hasOwnProperty;var jr=(e,t)=>{for(var o in t)To(e,o,{get:t[o],enumerable:!0})},Il=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Qr(t))!Zr.call(e,i)&&i!==o&&To(e,i,{get:()=>t[i],enumerable:!(r=qr(t,i))||r.enumerable});return e};var ei=(e,t,o)=>(o=e!=null?Ur(Yr(e)):{},Il(t||!e||!e.__esModule?To(o,"default",{value:e,enumerable:!0}):o,e)),ti=e=>Il(To({},"__esModule",{value:!0}),e);var fp={};jr(fp,{GridWithGrouping:()=>up});module.exports=ti(fp);var a=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?a(...t):typeof t=="object"?Object.keys(t).map((o,r)=>t[r]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var y=(e,t)=>a({[`${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"}),w=(e,t)=>a({"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 s={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},b={small:"small",medium:"medium",large:"large",full:"full"},f={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},p={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"};var Ft=require("react/jsx-runtime"),$o="k-icon k-font-icon",oi=[],ai={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.light,p.dark]},li={},Jt=e=>{let{size:t,themeColor:o,icon:r,rotate:i,flip:n,...d}=e;return r?(0,Ft.jsx)("span",{...d,className:a(e.className,$o,y($o,{size:t}),{[`k-i-${r}`]:r,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"})}):(0,Ft.jsx)(Ft.Fragment,{})};Jt.states=oi;Jt.options=ai;Jt.className=$o;Jt.defaultOptions=li;var Al=Jt;var at=require("react/jsx-runtime"),_o="k-icon k-svg-icon",si=[],ri={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.light,p.dark]},Rl={viewBox:"0 0 24 24"},Wt=e=>{let{size:t,themeColor:o,rotate:r,flip:i,viewBox:n=Rl.viewBox,icon:d,...m}=e;if(!d)return(0,at.jsx)(at.Fragment,{});d==="none"&&{...m,className:a(e.className,_o,"k-none")};let u=typeof d=="object"&&d.name&&d.name;return(0,at.jsx)("span",{...m,className:a(e.className,_o,y("k-icon",{size:t}),{[`k-svg-i-${u}`]:u,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),children:(0,at.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof d=="object"?d.viewBox:n,dangerouslySetInnerHTML:typeof d=="object"?{__html:d.content}:void 0,children:d?void 0:e.children})})};Wt.states=si;Wt.options=ri;Wt.className=_o;Wt.defaultOptions=Rl;var Vo=Wt;var Gl=ei(require("@progress/kendo-svg-icons")),Ee=require("react/jsx-runtime"),ii=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),ni=[],di={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.light,p.dark]},Xo={viewBox:"0 0 24 24",type:"svg"},S=e=>{let{size:t,themeColor:o,icon:r,type:i=Xo.type,rotate:n,flip:d,viewBox:m=Xo.viewBox,...u}=e;if(!r)return(0,Ee.jsx)(Ee.Fragment,{});if(i==="svg"){if(r==="none")return(0,Ee.jsx)(Vo,{...u,icon:r,size:t});let T=ii(`${r}-icon`);return Gl[T]?(0,Ee.jsx)(Vo,{...u,icon:Gl[T],size:t,themeColor:o,rotate:n,flip:d,viewBox:m}):(0,Ee.jsx)(Ee.Fragment,{})}return(0,Ee.jsx)(Al,{...u,icon:r,size:t,themeColor:o,rotate:n,flip:d})};S.states=ni;S.options=di;S.defaultOptions=Xo;var Ut=require("react/jsx-runtime"),ci="k-chip-action";var lt=e=>{let{type:t,...o}=e,r;switch(t){case"remove":r=(0,Ut.jsx)(S,{icon:"x-circle",size:"small"});break;case"more":r=(0,Ut.jsx)(S,{icon:"more-vertical",size:"small"});break;default:return(0,Ut.jsx)(S,{icon:t,size:"small"})}return(0,Ut.jsx)("span",{...o,className:a(e.className,ci,`k-chip-${t}-action`),children:r})};var Fo=require("react/jsx-runtime"),qt="k-avatar";var pi=[l.hover,l.focus,l.active,l.selected,l.disabled],mi={size:[s.small,s.medium,s.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[f.solid,f.flat,f.outline],themeColor:[p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.light,p.dark,p.inverse]},st={type:"text",size:s.medium,rounded:b.full,fillMode:f.solid,themeColor:p.primary,border:!1},vt=e=>{let{size:t=st.size,rounded:o=st.rounded,fillMode:r=st.fillMode,themeColor:i=st.themeColor,type:n=st.type,border:d=st.border,...m}=e;return(0,Fo.jsx)("div",{...m,className:a(e.className,qt,y(qt,{size:t,rounded:o,fillMode:r,themeColor:i}),{[`${qt}-bordered`]:d}),children:(0,Fo.jsx)("span",{className:`${qt}-${n}`,children:e.children})})};vt.states=pi;vt.options=mi;vt.className=qt;vt.defaultOptions=st;var ui=require("react/jsx-runtime");var fi=require("react/jsx-runtime");var bi=require("react/jsx-runtime");var Oe=require("react/jsx-runtime"),ho="k-chip",Ti=[l.hover,l.focus,l.active,l.selected,l.disabled],hi={size:[s.small,s.medium,s.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[f.solid,f.outline],themeColor:[p.base,p.success,p.warning,p.error,p.info]},Lt={size:s.medium,rounded:b.medium,fillMode:f.solid,themeColor:p.base,avatarImage:"/packages/html/assets/avatar.jpg"},rt=e=>{let{size:t=Lt.size,rounded:o=Lt.rounded,fillMode:r=Lt.fillMode,themeColor:i=Lt.themeColor,text:n,icon:d,actions:m,showAvatar:u,avatarImage:T=Lt.avatarImage,hover:x,focus:v,active:c,selected:N,disabled:k,...C}=e;return(0,Oe.jsxs)("div",{...C,className:a(e.className,ho,y(ho,{size:t,rounded:o,fillMode:r,themeColor:i}),w(ho,{hover:x,focus:v,active:c,disabled:k,selected:N})),children:[d&&(0,Oe.jsx)(S,{className:"k-chip-icon",icon:d,size:"small"}),u&&(0,Oe.jsx)(vt,{className:"k-chip-avatar",type:"image",children:(0,Oe.jsx)("img",{src:T})}),(0,Oe.jsx)("span",{className:"k-chip-content",children:e.children?e.children:n&&(0,Oe.jsx)("span",{className:"k-chip-label",children:n})}),m&&(0,Oe.jsx)("span",{className:"k-chip-actions",children:m})]})};rt.states=Ti;rt.options=hi;rt.className=ho;rt.defaultOptions=Lt;var zl=require("react/jsx-runtime"),Jo="k-chip-list",xi=[],Ni={size:[s.small,s.medium,s.large]},Pl={size:s.medium},yt=e=>{let{size:t=Pl.size,...o}=e;return(0,zl.jsx)("div",{...o,className:a(e.className,Jo,y(Jo,{size:t})),children:e.children})};yt.states=xi;yt.options=Ni;yt.className=Jo;yt.defaultOptions=Pl;var gi=require("react/jsx-runtime");var ki=require("react/jsx-runtime");var vi=require("react/jsx-runtime");var Li=require("react/jsx-runtime");var Wo=require("react/jsx-runtime");var go=require("react/jsx-runtime"),No="k-grid",yi=[],Si={size:[s.small,s.medium,s.large]},Uo={size:s.medium,pagerPosition:"bottom"},J=e=>{let{size:t=Uo.size,pagerPosition:o=Uo.pagerPosition,toolbar:r,pager:i,groupingHeader:n,gridSelectionAggregates:d,_renderAriaRoot:m,resizable:u,...T}=e;return(0,go.jsxs)("div",{...T,className:a(e.className,No,{[`${No}-resizable`]:u},y(No,{size:t})),children:[r,o==="top"&&i,n,e.children&&m?(0,go.jsx)("div",{className:"k-grid-aria-root",children:e.children}):e.children,d,o==="bottom"&&i]})};J.states=yi;J.options=Si;J.className=No;J.defaultOptions=Uo;var Bl=require("react/jsx-runtime"),Ci="k-grid-header",ne=e=>{let{draggable:t}=e;return(0,Bl.jsx)("div",{...e,className:a(e.className,Ci,{"k-grid-draggable-header":t}),children:e.children})};var Qt=require("react/jsx-runtime"),wi="k-grouping-header",qo=e=>{let{dropHint:t,dropClue:o,...r}=e;return(0,Qt.jsxs)("div",{...r,className:a(e.className,wi),children:[o&&(0,Qt.jsx)("div",{className:"k-grouping-dropclue"}),e.children,(0,Qt.jsx)("div",{className:"k-grouping-drop-container",children:t})]})};var Kl=require("react/jsx-runtime"),El="k-data-table",Mi=[],Ii={size:[s.small,s.medium,s.large]},Ol={size:s.medium},it=e=>{let{size:t=Ol.size,...o}=e;return(0,Kl.jsx)("div",{...o,className:a(e.className,El,y("k-table",{size:t})),children:e.children})};it.states=Mi;it.options=Ii;it.className=El;it.defaultOptions=Ol;var Ai=require("react/jsx-runtime");var Ri=require("react/jsx-runtime");var Gi=require("react/jsx-runtime");var Dl=require("react/jsx-runtime"),Qo="k-table",Hi=[],Pi={size:[s.small,s.medium,s.large]},zi={},me=e=>{let{size:t,...o}=e;return(0,Dl.jsx)("table",{...o,className:a(e.className,Qo,y(Qo,{size:t})),children:e.children})};me.states=Hi;me.options=Pi;me.className=Qo;me.defaultOptions=zi;var $l=require("react/jsx-runtime"),Yo="k-table-list",Bi=[],Ei={size:[s.small,s.medium,s.large]},Oi={},St=e=>{let{size:t,virtualization:o,...r}=e;return(0,$l.jsx)("ul",{...r,className:a(e.className,"k-table",Yo,y(Yo,{size:t}),{"k-virtual-table":o}),children:e.children})};St.states=Bi;St.options=Ei;St.className=Yo;St.defaultOptions=Oi;var _l=require("react/jsx-runtime"),Ki="k-table-thead",U=e=>(0,_l.jsx)("thead",{className:a(e.className,Ki),children:e.children});var Vl=require("react/jsx-runtime"),Di="k-table-tbody",j=e=>(0,Vl.jsx)("tbody",{className:a(e.className,Di),children:e.children});var $i=require("react/jsx-runtime");var Xl=require("react/jsx-runtime"),Zo="k-table-row",_i=[l.hover,l.focus,l.selected,l.disabled,l.highlighted],B=e=>{let{hover:t,focus:o,selected:r,highlighted:i,disabled:n,alt:d,...m}=e;return(0,Xl.jsx)("tr",{...m,className:a(e.className,Zo,{"k-table-alt-row":d},w(Zo,{hover:t,focus:o,disabled:n,selected:r,highlighted:i})),children:e.children})};B.states=_i;B.className=Zo;var Fl=require("react/jsx-runtime"),jo="k-table-row",Vi=[l.hover,l.focus,l.selected,l.disabled],ko=e=>{let{hover:t,focus:o,selected:r,disabled:i,alt:n,...d}=e;return(0,Fl.jsx)("li",{...d,className:a(e.className,jo,{"k-table-alt-row":n},w(jo,{hover:t,focus:o,disabled:i,selected:r})),children:e.children})};ko.states=Vi;ko.className=jo;var Jl=require("react/jsx-runtime"),Xi="k-table-th",Ct=e=>{let{text:t,colspan:o,rowspan:r,...i}=e,n=t||e.children;return(0,Jl.jsx)("th",{colSpan:o,rowSpan:r,...i,className:a(e.className,Xi),children:n})};var Fi=require("react/jsx-runtime");var Wl=require("react/jsx-runtime"),ea="k-table-td",Ji=[l.focus,l.selected,l.highlighted],H=e=>{let{focus:t,selected:o,highlighted:r,text:i,colspan:n,rowspan:d,...m}=e,u=i||e.children;return(0,Wl.jsx)("td",{colSpan:n,rowSpan:d,...m,className:a(e.className,ea,w(ea,{focus:t,selected:o,highlighted:r})),children:u})};H.states=Ji;H.className=ea;var Wi=require("react/jsx-runtime");var Ui=require("react/jsx-runtime");var qi=require("react/jsx-runtime");var Qi=require("react/jsx-runtime");var Yi=require("react/jsx-runtime");var Ql=require("react/jsx-runtime");var Yl=require("react/jsx-runtime");var Zl=require("react/jsx-runtime");var ta=require("react/jsx-runtime");var jl=require("react/jsx-runtime"),on="k-grid-header-table",de=e=>(0,jl.jsx)(me,{size:"medium",...e,className:a(e.className,on),children:e.children});var ue=require("react/jsx-runtime"),oa="k-header",an=[l.hover,l.focus,l.active],es={sortIcon:"sort-asc-small"},D=e=>{let{menu:t,sortable:o,filterable:r,sticky:i,resizable:n,columnTitle:d,hover:m,focus:u,active:T,sortIcon:x=es.sortIcon,sortOrder:v,...c}=e;return(0,ue.jsxs)(Ct,{...c,className:a(e.className,oa,{"k-filterable":t||r,"k-sorted":o,"k-grid-header-sticky":i,"k-touch-action-none":n},w(oa,{hover:m,focus:u,active:T})),children:[d&&(0,ue.jsxs)("span",{className:"k-cell-inner",children:[(0,ue.jsxs)("span",{className:"k-link",children:[(0,ue.jsx)("span",{className:"k-column-title",children:d}),o&&(0,ue.jsx)("span",{className:"k-sort-icon",children:(0,ue.jsx)(S,{icon:x})}),v&&(0,ue.jsx)("span",{className:"k-sort-order",children:v})]}),t&&(0,ue.jsx)("a",{href:"#",className:a("k-grid-header-menu",{"k-active":T,"k-grid-filter-menu":t==="filter","k-grid-column-menu":t==="column"}),children:(0,ue.jsx)(S,{icon:t==="filter"?"filter":"more-vertical"})})]}),e.children,n&&(0,ue.jsx)("span",{className:"k-column-resizer k-touch-action-none"})]})};D.states=an;D.className=oa;D.defaultOptions=es;var ts=require("react/jsx-runtime"),ln="k-grid-container",ae=e=>(0,ts.jsx)("div",{...e,className:a(e.className,ln),children:e.children});var os=require("react/jsx-runtime"),sn="k-grid-content",le=e=>(0,os.jsx)("div",{...e,className:a(e.className,sn),children:e.children});var as=require("react/jsx-runtime"),rn="k-grid-table",se=e=>(0,as.jsx)(me,{size:"medium",...e,className:a(e.className,rn),children:e.children});var nn=require("react/jsx-runtime");var dn=require("react/jsx-runtime");var ke=require("react/jsx-runtime"),vo="k-button",cn=[l.hover,l.focus,l.active,l.selected,l.disabled],pn={size:[s.small,s.medium,s.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.light,p.dark,p.inverse]},nt={size:s.medium,rounded:b.medium,fillMode:f.solid,themeColor:p.base,showArrow:!1,arrowIconName:"caret-alt-down"},h=e=>{let{size:t=nt.size,rounded:o=nt.rounded,fillMode:r=nt.fillMode,themeColor:i=nt.themeColor,showArrow:n=nt.showArrow,arrowIconName:d=nt.arrowIconName,hover:m,focus:u,active:T,selected:x,disabled:v,icon:c,text:N,iconClassName:k,...C}=e,I=c!==void 0,R=e.children!==void 0;return(0,ke.jsxs)("button",{...C,className:a(e.className,vo,y(vo,{size:t,rounded:o,fillMode:r,themeColor:i}),w(vo,{hover:m,focus:u,active:T,disabled:v,selected:x}),{"k-icon-button":!N&&!R&&I}),children:[c&&(0,ke.jsx)(S,{className:a(k,"k-button-icon"),icon:c}),N?(0,ke.jsxs)(ke.Fragment,{children:[N&&(0,ke.jsx)("span",{className:"k-button-text",children:N}),e.children]}):e.children&&(0,ke.jsx)("span",{className:"k-button-text",children:e.children}),n&&(0,ke.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,ke.jsx)(S,{icon:d})})]})};h.states=cn;h.options=pn;h.className=vo;h.defaultOptions=nt;var ls=require("react/jsx-runtime"),Lo=e=>(0,ls.jsx)(h,{icon:"folder",...e,children:void 0});var ss=require("react/jsx-runtime"),aa=e=>(0,ss.jsx)(h,{icon:"folder",children:"Button",...e});var mn=require("react/jsx-runtime");var rs=require("react/jsx-runtime"),yo="k-input",un=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],fn={size:[s.small,s.medium,s.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[f.solid,f.flat,f.outline]},So={size:s.medium,rounded:s.medium,fillMode:f.solid},E=e=>{let{hover:t,focus:o,disabled:r,invalid:i,valid:n,loading:d,readonly:m,size:u=So.size,rounded:T=So.rounded,fillMode:x=So.fillMode,...v}=e;return(0,rs.jsx)("span",{...v,className:a(e.className,yo,y(yo,{size:u,rounded:T,fillMode:x}),w(yo,{hover:t,focus:o,disabled:r,invalid:i,valid:n,loading:d,readonly:m}))})};E.states=un;E.options=fn;E.className=yo;E.defaultOptions=So;var is=require("react/jsx-runtime"),Co="k-picker",bn=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],Tn={size:[s.small,s.medium,s.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[f.solid,f.flat,f.outline]},wo={size:s.medium,rounded:b.medium,fillMode:f.solid},ve=e=>{let{hover:t,focus:o,disabled:r,invalid:i,valid:n,loading:d,readonly:m,size:u=wo.size,rounded:T=wo.rounded,fillMode:x=wo.fillMode,...v}=e;return(0,is.jsx)("span",{...v,className:a(e.className,Co,y(Co,{size:u,rounded:T,fillMode:x}),w(Co,{hover:t,focus:o,disabled:r,invalid:i,valid:n,loading:d,readonly:m})),children:e.children})};ve.states=bn;ve.options=Tn;ve.className=Co;ve.defaultOptions=wo;var wt=require("react/jsx-runtime"),ns="k-clear-value",hn=[l.disabled,l.loading,l.readonly],xn={},Le=e=>{let{disabled:t,loading:o,readonly:r,value:i}=e;return t||r||o||!i?(0,wt.jsx)(wt.Fragment,{}):(0,wt.jsx)("span",{className:a(e.className,ns),children:(0,wt.jsx)(S,{icon:"x"})})};Le.states=hn;Le.options=xn;Le.className=ns;var ds=require("react/jsx-runtime"),la="k-input-inner",Nn=[],gn={},Mo={type:"text",autocomplete:"off",value:"",placeholder:""},ye=e=>{let{value:t=Mo.value,type:o=Mo.type,placeholder:r=Mo.placeholder,autocomplete:i=Mo.autocomplete,...n}=e;return(0,ds.jsx)("input",{...n,type:o,className:a(e.className,la,y(la,e)),placeholder:r,autoComplete:i,defaultValue:t})};ye.states=Nn;ye.options=gn;ye.className=la;var Yt=require("react/jsx-runtime"),sa="k-input-inner",kn=[],vn={},dt=e=>{let{value:t,placeholder:o,showValue:r,valueIcon:i,valueIconName:n,...d}=e;return(0,Yt.jsxs)("span",{...d,className:a(e.className,sa,y(sa,e)),children:[i,!i&&n&&(0,Yt.jsx)(S,{className:"k-input-value-icon",icon:n}),r&&!t&&o,r&&t&&(0,Yt.jsx)("span",{className:"k-input-value-text",children:t})]})};dt.states=kn;dt.options=vn;dt.className=sa;var ps=require("react/jsx-runtime"),ra="k-input-inner",Ln=[],yn={},cs={value:"",placeholder:""},ia=e=>{let{value:t=cs.value,placeholder:o=cs.placeholder,rows:r,...i}=e;return(0,ps.jsx)("textarea",{...i,className:a(e.className,ra,y(ra,e)),placeholder:o,rows:r,defaultValue:t})};ia.states=Ln;ia.options=yn;ia.className=ra;var Zt=require("react/jsx-runtime"),ms="k-input-loading-icon",Sn=[l.disabled,l.loading],fe=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Zt.jsx)(Zt.Fragment,{}):(0,Zt.jsx)("span",{className:a(e.className,ms,"k-icon k-i-loading")})};fe.states=Sn;fe.className=ms;var jt=require("react/jsx-runtime"),us="k-input-validation-icon",Cn=[l.valid,l.invalid,l.disabled,l.loading],wn={},ce=e=>{let{valid:t,invalid:o,disabled:r,loading:i}=e,n=o?"warning-circle":"check-circle";return r||i||!!!(t||o)?(0,jt.jsx)(jt.Fragment,{}):(0,jt.jsx)(S,{className:a(us),icon:n})};ce.states=Cn;ce.options=wn;ce.className=us;var eo=require("react/jsx-runtime"),Mn="k-input-prefix",In={direction:"horizontal"},Ie=e=>{let{direction:t=In.direction,...o}=e;return e.children?(0,eo.jsx)("span",{...o,className:a(Mn,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,eo.jsx)(eo.Fragment,{})};var to=require("react/jsx-runtime"),An="k-input-suffix",Rn={direction:"horizontal"},Ae=e=>{let{direction:t=Rn.direction,...o}=e;return e.children?(0,to.jsx)("span",{...o,className:a(An,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,to.jsx)(to.Fragment,{})};var Gn=require("react/jsx-runtime");var Hn=require("react/jsx-runtime");var bs=require("react/jsx-runtime"),fs="k-input-separator",Pn={direction:"vertical"},Ke=e=>{let{direction:t=Pn.direction,...o}=e;return(0,bs.jsx)("span",{...o,className:a(fs,e.className,{[`${fs}-${t}`]:t})})};var na=require("react/jsx-runtime"),Ts="k-animation-container",zn=[],Bn={},hs={positionMode:"absolute"},We=e=>{let{positionMode:t=hs.positionMode,animationStyle:o,offset:r,...i}=e;return(0,na.jsx)("div",{...i,style:{...r,...e.style},className:a(e.className,Ts,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,na.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};We.states=zn;We.options=Bn;We.className=Ts;We.defaultOptions=hs;var da=require("react/jsx-runtime"),xs="k-popup",En=[],On={},Ns={positionMode:"absolute"},q=e=>{let{offset:t,positionMode:o=Ns.positionMode,animationStyle:r,...i}=e;return(0,da.jsx)(We,{positionMode:o,offset:t,animationStyle:r,children:(0,da.jsx)("div",{...i,className:a(e.className,xs),children:e.children})})};q.states=En;q.options=On;q.className=xs;q.defaultOptions=Ns;var gs=require("react/jsx-runtime"),Io="k-actions",Kn=[],Dn={},ca={alignment:"start",orientation:"horizontal"},Ue=e=>{let{alignment:t=ca.alignment,orientation:o=ca.orientation,...r}=e;return(0,gs.jsx)("div",{...r,className:a(Io,{[`${Io}-${t}`]:t,[`${Io}-${o}`]:o},e.className),children:e.children})};Ue.states=Kn;Ue.options=Dn;Ue.className=Io;Ue.defaultOptions=ca;var vs=require("react/jsx-runtime"),$n="k-actionsheet-footer",ks={alignment:"stretched",orientation:"horizontal"},oo=e=>{let{alignment:t=ks.alignment,orientation:o=ks.orientation,template:r,as:i=r?"div":Ue,...n}=e;return(0,vs.jsx)(i,{...n,...!r&&{alignment:t,orientation:o},className:a(e.className,$n),children:e.children})};var qe=require("react/jsx-runtime"),Ls="k-searchbox",_n=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],Vn={size:[s.small,s.medium,s.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[f.solid,f.flat,f.outline]},pa={showIcon:!0,icon:"search",size:E.defaultOptions.size,rounded:E.defaultOptions.rounded,fillMode:E.defaultOptions.fillMode},De=e=>{let{value:t,placeholder:o,size:r,rounded:i,fillMode:n,hover:d,focus:m,valid:u,invalid:T,required:x,loading:v,disabled:c,showIcon:N=pa.showIcon,icon:k=pa.icon,...C}=e;return(0,qe.jsxs)(E,{...C,size:r,rounded:i,fillMode:n,hover:d,focus:m,valid:u,invalid:T,required:x,loading:v,disabled:c,className:a(e.className,Ls),children:[N&&(0,qe.jsx)(S,{className:"k-input-icon",icon:k}),(0,qe.jsx)(ye,{placeholder:o,value:t}),(0,qe.jsx)(fe,{...e}),(0,qe.jsx)(ce,{...e}),(0,qe.jsx)(Le,{...e})]})};De.states=_n;De.options=Vn;De.className=Ls;De.defaultOptions=pa;var Xn=require("react/jsx-runtime");var ee=require("react/jsx-runtime"),ys="k-textbox",Fn=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],Jn={size:[s.small,s.medium,s.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[f.solid,f.flat,f.outline]},ct={showClearButton:!0,showValidationIcon:!0,size:E.defaultOptions.size,rounded:E.defaultOptions.rounded,fillMode:E.defaultOptions.fillMode,separators:!0},Re=e=>{let{size:t=ct.size,rounded:o=ct.rounded,fillMode:r=ct.fillMode,separators:i=ct.separators,showClearButton:n=ct.showClearButton,showValidationIcon:d=ct.showValidationIcon,prefix:m,suffix:u,type:T,value:x,placeholder:v,hover:c,focus:N,valid:k,invalid:C,required:I,loading:R,disabled:P,readonly:W,...oe}=e;return(0,ee.jsxs)(E,{...oe,size:t,rounded:o,fillMode:r,hover:c,focus:N,valid:k,invalid:C,required:I,loading:R,disabled:P,readonly:W,className:a(e.className,ys),children:[m&&(0,ee.jsxs)(ee.Fragment,{children:[(0,ee.jsx)(Ie,{children:m}),i&&(0,ee.jsx)(Ke,{})]}),(0,ee.jsx)(ye,{placeholder:v,value:x,type:T}),d&&(0,ee.jsx)(ce,{valid:k,invalid:C,loading:R,disabled:P}),(0,ee.jsx)(fe,{loading:R,disabled:P}),n&&(0,ee.jsx)(Le,{loading:R,disabled:P,readonly:W,value:x}),u&&(0,ee.jsxs)(ee.Fragment,{children:[i&&(0,ee.jsx)(Ke,{}),(0,ee.jsx)(Ae,{children:u})]})]})};Re.states=Fn;Re.options=Jn;Re.className=ys;Re.defaultOptions=ct;var Wn=require("react/jsx-runtime");var Cs=require("react/jsx-runtime");var ws=require("react/jsx-runtime");var pe=require("react/jsx-runtime"),Ms="k-actionsheet-titlebar",Un={},be=e=>{let{title:t,subtitle:o,actionsStart:r,actionsEnd:i,filter:n,input:d,inputValue:m,inputPlaceholder:u,adaptive:T,children:x,...v}=e;return(0,pe.jsxs)("div",{...v,className:a(e.className,Ms),children:[(0,pe.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[r&&(0,pe.jsx)("div",{className:"k-actionsheet-actions",children:r}),!x&&(0,pe.jsxs)("div",{className:"k-actionsheet-title",children:[t&&(0,pe.jsx)("div",{className:"k-text-center",children:t}),o&&(0,pe.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),x&&(0,pe.jsx)("div",{className:"k-actionsheet-title",children:x}),i&&(0,pe.jsx)("div",{className:"k-actionsheet-actions",children:i})]}),(d||n)&&(0,pe.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?(0,pe.jsx)(Re,{value:m,placeholder:u,size:T?"large":"medium"}):(0,pe.jsx)(De,{placeholder:"Filter",size:T?"large":"medium"})})]})};be.className=Ms;be.defaultOptions=Un;var Mt=require("react/jsx-runtime"),ma="k-actionsheet-view",qn=[],Qn={},Yn={},It=e=>{let{adaptive:t,animated:o,children:r,header:i,footer:n,...d}=e,m=(i==null?void 0:i.type)===be&&(0,Mt.jsx)(be,{adaptive:t,...i==null?void 0:i.props}),u=(n==null?void 0:n.type)===oo&&(0,Mt.jsx)(oo,{...n==null?void 0:n.props});return(0,Mt.jsxs)("div",{...d,className:a(e.className,ma,{[`${ma}-animated`]:o}),children:[m,(0,Mt.jsx)("div",{className:"k-actionsheet-content",children:r}),u]})};It.states=qn;It.options=Qn;It.className=ma;It.defaultOptions=Yn;var pt=require("react/jsx-runtime"),Is="k-actionsheet",Zn=[],jn={},ao={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Se=e=>{let{side:t=ao.side,fullscreen:o=ao.fullscreen,adaptive:r=ao.adaptive,overlay:i=ao.overlay,template:n,children:d,header:m,footer:u,...T}=e;return(0,pt.jsxs)("div",{className:"k-actionsheet-container",children:[i&&(0,pt.jsx)("div",{className:"k-overlay"}),(0,pt.jsx)(We,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:(0,pt.jsx)("div",{...T,className:a(e.className,Is,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":r}),children:n||(0,pt.jsx)(It,{header:m,footer:u,adaptive:r,...e,children:d})})})]})};Se.states=Zn;Se.options=jn;Se.className=Is;Se.defaultOptions=ao;var ed=require("react/jsx-runtime");var Te=require("react/jsx-runtime"),ua="k-actionsheet-item",td=[l.hover,l.focus,l.selected,l.disabled],fa=e=>{let{iconName:t,text:o,description:r,hover:i,focus:n,selected:d,disabled:m,...u}=e;return(0,Te.jsxs)("span",{...u,className:a(e.className,ua,w(ua,{hover:i,focus:n,selected:d,disabled:m})),children:[!e.children&&(0,Te.jsx)(Te.Fragment,{children:(0,Te.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,Te.jsx)("span",{className:"k-icon-wrap",children:(0,Te.jsx)(S,{className:"k-actionsheet-item-icon",icon:t})}),(0,Te.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,Te.jsx)("span",{className:"k-actionsheet-item-title",children:o}),r&&(0,Te.jsx)("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};fa.states=td;fa.className=ua;var As=require("react/jsx-runtime");var od=require("react/jsx-runtime");var ad=require("react/jsx-runtime");var ld=require("react/jsx-runtime");var Gs=require("react/jsx-runtime"),sd="k-no-data",lo=e=>(0,Gs.jsx)("span",{className:a(sd,e.className),children:e.children});var Ge=require("react/jsx-runtime"),ba="k-list",rd=[],id={size:[s.small,s.medium,s.large]},Hs={size:s.medium},O=e=>{let{size:t=Hs.size,virtualization:o,children:r,optionLabel:i,customValue:n,screenReaders:d,...m}=e,u,T,x,v,c=[];return r?r.map((N,k)=>{N.type===Q?(N.props.root===!0?(u=N.props.label,N.props.children.map((C,I)=>{c.push((0,Ge.jsx)(A,{...C.props},`optChild-${I}-${new Date().getTime()}`))})):N.props.children.forEach((C,I)=>{let R="";I===0&&(R=N.props.label),c.push((0,Ge.jsx)(A,{className:I===0?"k-first":"",...C.props,groupLabel:R},`groupLabel-${I}-${new Date().getTime()}`))}),T=(0,Ge.jsx)(Q,{label:u,virtualization:o,children:c})):N.type===A&&(c.push((0,Ge.jsx)(A,{...N.props},`${N.type}-${k}`)),x=(0,Ge.jsx)(At,{virtualization:o,children:c}),d&&(v=(0,Ge.jsxs)(lo,{className:"k-sr-only",children:[c.length," items found."]})))}):v=(0,Ge.jsx)(lo,{children:"No data found."}),(0,Ge.jsxs)("div",{...m,className:a(e.className,ba,y(ba,{size:t}),{"k-virtual-list":o}),children:[i,n,T,x,v]})};O.states=rd;O.options=id;O.className=ba;O.defaultOptions=Hs;var He=require("react/jsx-runtime"),Ta="k-list",nd=[],dd={size:[s.small,s.medium,s.large]},Ps={size:s.medium},mt=e=>{let{size:t=Ps.size,virtualization:o,children:r,...i}=e,n,d,m,u=[];return r?r.map((T,x)=>{T.type===Q?(T.props.root===!0?(n=T.props.label,T.props.children.map((v,c)=>{u.push((0,He.jsx)(A,{...v.props},`optChild-${c}-${new Date().getTime()}`))})):(u.push((0,He.jsx)(zs,{...T.props,children:T.props.label},`listChild-${x}`)),T.props.children.map((v,c)=>{u.push((0,He.jsx)(A,{...v.props},`fwOptChild-${c}-${new Date().getTime()}`))})),d=(0,He.jsx)(Q,{label:n,virtualization:o,children:u})):T.type===A&&(u.push((0,He.jsx)(A,{...T.props},`${T.type}-${x}`)),m=(0,He.jsx)(At,{virtualization:o,children:u}))}):m=(0,He.jsx)(lo,{children:"No data found."}),(0,He.jsxs)("div",{...i,className:a(e.className,Ta,y(Ta,{size:t}),{"k-virtual-list":o}),children:[d,m]})};mt.states=nd;mt.options=dd;mt.className=Ta;mt.defaultOptions=Ps;var xa=require("react/jsx-runtime"),Ao="k-checkbox",cd=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],pd={size:[s.small,s.medium,s.large],rounded:[b.small,b.medium,b.large,b.full]},ha={size:s.medium,rounded:b.medium},$e=e=>{let{id:t,checked:o,indeterminate:r,hover:i,focus:n,disabled:d,invalid:m,valid:u,required:T,size:x=ha.size,rounded:v=ha.rounded,...c}=e;return(0,xa.jsx)("span",{className:"k-checkbox-wrap",children:(0,xa.jsx)("input",{...c,id:t,type:"checkbox",defaultChecked:o,required:T,className:a(e.className,Ao,y(Ao,{size:x,rounded:v}),w(Ao,{hover:i,focus:n,disabled:d,invalid:m,valid:u,indeterminate:r,checked:o}))})})};$e.states=cd;$e.options=pd;$e.className=Ao;$e.defaultOptions=ha;var Os=require("react/jsx-runtime"),Bs="k-checkbox-list",md=[],ud={},Es={layout:"vertical"},Rt=e=>{let{layout:t=Es.layout,...o}=e;return(0,Os.jsx)("ul",{...o,className:a(e.className,Bs,{[`k-list-${t}`]:t}),children:e.children})};Rt.states=md;Rt.options=ud;Rt.className=Bs;Rt.defaultOptions=Es;var Ds=require("react/jsx-runtime"),Ks="k-checkbox-list-item",fd=[],bd={},Td={},Gt=e=>{let{...t}=e;return(0,Ds.jsx)("li",{...t,className:a(e.className,Ks),children:e.children})};Gt.states=fd;Gt.options=bd;Gt.className=Ks;Gt.defaultOptions=Td;var ga=require("react/jsx-runtime");var ka=require("react/jsx-runtime");var va=require("react/jsx-runtime");var La=require("react/jsx-runtime");var hd=require("react/jsx-runtime");var xd=require("react/jsx-runtime");var ut=require("react/jsx-runtime"),ya="k-list-item",Nd=[l.hover,l.focus,l.selected,l.disabled],gd={},kd={},A=e=>{let{text:t,groupLabel:o,group:r,showIcon:i,iconName:n,showCheckbox:d,checked:m,hover:u,focus:T,selected:x,disabled:v,...c}=e,N=t||e.children;return(0,ut.jsxs)("li",{...c,className:a(e.className,r?"k-list-group-item":ya,w(ya,{hover:u,focus:T,disabled:v,selected:x})),children:[d&&(0,ut.jsx)($e,{checked:m}),i&&(0,ut.jsx)(S,{icon:n}),(0,ut.jsx)("span",{className:"k-list-item-text",children:N}),o&&o!==""&&(0,ut.jsx)("div",{className:"k-list-item-group-label",children:o})]})};A.states=Nd;A.options=gd;A.className=ya;A.defaultOptions=kd;var Ht=require("react/jsx-runtime"),vd="k-list-content",At=e=>{let{virtualization:t,...o}=e;return(0,Ht.jsxs)("div",{...o,className:a(vd,e.className),children:[(0,Ht.jsx)("ul",{className:a("k-list-ul"),children:e.children}),t&&(0,Ht.jsx)("div",{className:"k-height-container",children:(0,Ht.jsx)("div",{})})]})};var Sa=require("react/jsx-runtime"),Ld="k-list-group-sticky-header",$s=e=>(0,Sa.jsx)("div",{className:a(Ld,e.className),children:(0,Sa.jsx)("div",{className:"k-list-header-text",children:e.children})});var ft=require("react/jsx-runtime"),Q=e=>{let{virtualization:t,label:o}=e;return(0,ft.jsxs)(ft.Fragment,{children:[o&&(0,ft.jsx)($s,{children:o}),e.children&&(0,ft.jsx)(At,{virtualization:t,children:e.children})]})};var Ca=require("react/jsx-runtime"),yd="k-list-group-item",zs=e=>(0,Ca.jsx)("li",{className:a(yd,e.className),children:(0,Ca.jsx)("span",{className:"k-list-item-text",children:e.children})});var _s=require("react/jsx-runtime"),wa="k-list-optionlabel",Sd=[l.hover,l.focus,l.selected,l.disabled],Cd={},wd={},Ro=e=>{let{text:t,hover:o,focus:r,selected:i,disabled:n,...d}=e;return(0,_s.jsx)("div",{...d,className:a(wa,w(wa,{hover:o,focus:r,selected:i,disabled:n})),children:t})};Ro.states=Sd;Ro.options=Cd;Ro.className=wa;Ro.defaultOptions=wd;var Vs=require("react/jsx-runtime"),Ma="k-list-custom-value",Md=[l.hover,l.focus,l.selected,l.disabled],Id={},Ad={},Qe=e=>{let{text:t,hover:o,focus:r,selected:i,disabled:n,...d}=e;return(0,Vs.jsx)("div",{...d,className:a(Ma,w(Ma,{hover:o,focus:r,selected:i,disabled:n})),children:t})};Qe.states=Md;Qe.options=Id;Qe.className=Ma;Qe.defaultOptions=Ad;var Rd=require("react/jsx-runtime");var Gd=require("react/jsx-runtime");var Xs=require("react/jsx-runtime");var Fs=require("react/jsx-runtime");var Hd=require("react/jsx-runtime");var Js=require("react/jsx-runtime");var Ws=require("react/jsx-runtime");var $=require("react/jsx-runtime"),Us="k-dropdownlist",Pd=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],zd={size:[s.small,s.medium,s.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[f.solid,f.flat,f.outline]},Pt={showValue:!0,arrowIconName:"caret-alt-down",size:s.medium,rounded:b.medium,fillMode:f.solid},Ce=e=>{let{size:t=Pt.size,rounded:o=Pt.rounded,fillMode:r=Pt.fillMode,arrowIconName:i=Pt.arrowIconName,showValue:n=Pt.showValue,valueIconName:d,prefix:m,suffix:u,value:T,placeholder:x,hover:v,focus:c,valid:N,invalid:k,required:C,loading:I,disabled:R,readonly:P,popup:W,opened:oe,adaptive:Vt,adaptiveSettings:Xt,adaptiveTitle:Ko,adaptiveSubtitle:Do,adaptiveFilter:Jr,...Wr}=e;return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(ve,{...Wr,size:t,rounded:o,fillMode:r,hover:v,focus:c,valid:N,invalid:k,required:C,loading:I,disabled:R,readonly:P,className:a(e.className,Us,{"k-icon-picker":!n&&d}),children:[(0,$.jsx)(Ie,{children:m}),(0,$.jsx)(dt,{placeholder:x,value:T,showValue:n,valueIconName:d}),(0,$.jsx)(ce,{valid:N,invalid:k,loading:I,disabled:R}),(0,$.jsx)(fe,{loading:I,disabled:R}),(0,$.jsx)(Ae,{children:u}),(0,$.jsx)(h,{className:"k-input-button",icon:i,rounded:null,size:e.size,fillMode:e.fillMode})]}),oe&&W&&(0,$.jsx)(q,{className:"k-list-container k-dropdownlist-popup",children:W}),Vt&&(0,$.jsx)(Se,{adaptive:!0,...Xt,header:(0,$.jsx)(be,{actionsEnd:(0,$.jsx)(h,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Jr,inputValue:T,inputPlaceholder:x,title:Ko,subtitle:Do}),children:(0,$.jsx)("div",{className:"k-list-container",children:(0,$.jsxs)(O,{size:"large",children:[(0,$.jsx)(A,{text:"List item"}),(0,$.jsx)(A,{text:"List item"}),(0,$.jsx)(A,{text:"List item"})]})})})]})};Ce.states=Pd;Ce.options=zd;Ce.className=Us;Ce.defaultOptions=Pt;var Bd=require("react/jsx-runtime");var qs=require("react/jsx-runtime");var Ia=require("react/jsx-runtime");var Ed=require("react/jsx-runtime");var Qs=require("react/jsx-runtime");var Ys=require("react/jsx-runtime");var Aa=require("react/jsx-runtime");var Ra=require("react/jsx-runtime");var so=require("react/jsx-runtime"),Zs="k-spin-button",Od=[],Kd={size:[s.small,s.medium,s.large],fillMode:[f.solid,f.flat,f.outline,f.clear,f.link]},Ga={size:s.medium,fillMode:f.solid},zt=e=>{let{size:t=Ga.size,fillMode:o=Ga.fillMode,...r}=e;return(0,so.jsxs)("span",{...r,className:a(Zs,e.className),children:[(0,so.jsx)(h,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),(0,so.jsx)(h,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};zt.states=Od;zt.options=Kd;zt.className=Zs;zt.defaultOptions=Ga;var Y=require("react/jsx-runtime"),js="k-numerictextbox",Dd=[l.hover,l.focus,l.valid,l.invalid,l.loading,l.required,l.disabled,l.readonly],$d={size:[s.small,s.medium,s.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[f.solid,f.flat,f.outline]},Tt={showSpinButton:!0,showClearButton:!0,size:E.defaultOptions.size,rounded:E.defaultOptions.rounded,fillMode:E.defaultOptions.fillMode,separators:!0},K=e=>{let{size:t=Tt.size,rounded:o=Tt.rounded,fillMode:r=Tt.fillMode,separators:i=Tt.separators,showClearButton:n=Tt.showClearButton,showSpinButton:d=Tt.showSpinButton,prefix:m,suffix:u,value:T,placeholder:x,hover:v,focus:c,valid:N,invalid:k,required:C,loading:I,disabled:R,readonly:P,...W}=e;return(0,Y.jsxs)(E,{...W,size:t,rounded:o,fillMode:r,hover:v,focus:c,valid:N,invalid:k,required:C,loading:I,disabled:R,readonly:P,className:a(e.className,js),children:[m&&(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(Ie,{children:m}),i&&(0,Y.jsx)(Ke,{})]}),(0,Y.jsx)(ye,{placeholder:x,value:T}),(0,Y.jsx)(ce,{valid:N,invalid:k,loading:I,disabled:R}),(0,Y.jsx)(fe,{loading:I,disabled:R}),n&&(0,Y.jsx)(Le,{loading:I,disabled:R,readonly:P,value:T}),u&&(0,Y.jsxs)(Y.Fragment,{children:[i&&(0,Y.jsx)(Ke,{}),(0,Y.jsx)(Ae,{children:u})]}),d&&(0,Y.jsx)(zt,{className:"k-input-spinner",size:t,fillMode:r})]})};K.states=Dd;K.options=$d;K.className=js;K.defaultOptions=Tt;var _d=require("react/jsx-runtime");var tr=require("react/jsx-runtime");var or=require("react/jsx-runtime");var z=require("react/jsx-runtime"),Go="k-pager",Vd=[l.focus,l.disabled],Xd={size:[s.small,s.medium,s.large]},re={responsive:!0,size:s.medium,pagerSizeInfo:!0,pageTitleInfo:!0,maxPagesInfo:!0,type:"numeric",pageSizes:!0,refresh:!0,previousNext:!0,info:"1 - 5 of 20 items",itemsPerPage:5,maxPages:6,currentPage:1},Ye=e=>{let{responsive:t=re.responsive,size:o=re.size,pagerSizeInfo:r=re.pagerSizeInfo,pageTitleInfo:i=re.pageTitleInfo,maxPagesInfo:n=re.maxPagesInfo,itemsPerPage:d=re.itemsPerPage,maxPages:m=re.maxPages,currentPage:u=re.currentPage,previousNext:T=re.previousNext,type:x=re.type,pageSizes:v=re.pageSizes,refresh:c=re.refresh,info:N=re.info,focus:k,disabled:C,dir:I,...R}=e,P=[],W=[];for(let oe=1;oe<=m;oe++)P.push((0,z.jsx)(h,{selected:oe===u,fillMode:"flat",themeColor:"primary",size:o,rounded:null,children:oe})),W.push((0,z.jsx)("option",{selected:oe===u,children:oe}));return(0,z.jsxs)("div",{dir:I,...R,className:a(e.className,Go,y(Go,{size:o}),w(Go,{focus:k,disabled:C}),{"k-pager-responsive":t}),children:[(0,z.jsxs)("div",{className:a("k-pager-numbers-wrap"),children:[T&&(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(h,{className:a("k-pager-nav","k-pager-first"),disabled:u===1&&!C,fillMode:"flat",size:o,rounded:null,icon:I==="rtl"?"caret-alt-to-right":"caret-alt-to-left"}),(0,z.jsx)(h,{className:a("k-pager-nav"),disabled:u===1&&!C,fillMode:"flat",size:o,rounded:null,icon:I==="rtl"?"caret-alt-right":"caret-alt-left"})]}),x==="numeric"&&(0,z.jsx)("div",{className:a("k-pager-numbers"),children:P}),x==="input"&&(0,z.jsxs)("span",{className:a("k-pager-input"),children:[i&&(0,z.jsx)("span",{children:"Page"}),(0,z.jsx)(K,{value:`${u}`,size:o,showSpinButton:!1,showClearButton:!1}),(0,z.jsx)("span",{children:n&&`of ${m}`})]}),T&&(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(h,{className:a("k-pager-nav"),disabled:u===m&&!C,fillMode:"flat",size:o,rounded:null,icon:I==="rtl"?"caret-alt-left":"caret-alt-right"}),(0,z.jsx)(h,{className:a("k-pager-nav","k-pager-last"),disabled:u===m&&!C,fillMode:"flat",size:o,rounded:null,icon:I==="rtl"?"caret-alt-to-left":"caret-alt-to-right"})]})]}),v&&(0,z.jsxs)("span",{className:a("k-pager-sizes"),children:[(0,z.jsx)(Ce,{value:`${d}`,size:o}),r&&(0,z.jsx)("span",{children:"items per page"})]}),c&&(0,z.jsx)(h,{className:a("k-pager-refresh"),fillMode:"flat",size:o,rounded:null,icon:"arrow-rotate-cw"}),N&&(0,z.jsx)("span",{className:a("k-pager-info"),children:N})]})};Ye.states=Vd;Ye.options=Xd;Ye.className=Go;Ye.defaultOptions=re;var Fd=require("react/jsx-runtime");var Jd=require("react/jsx-runtime");var Wd=require("react/jsx-runtime");var Ud=require("react/jsx-runtime");var lr=require("react/jsx-runtime"),ro="k-button-group",qd=[l.disabled],Qd={fillMode:[f.solid,f.flat,f.outline,f.clear,f.link]},ar={fillMode:f.solid},_=e=>{let{fillMode:t=ar.fillMode,disabled:o,stretched:r,...i}=e;return(0,lr.jsx)("div",{...i,className:a(e.className,ro,y(ro,{fillMode:t}),w(ro,{disabled:o}),{[`${ro}-stretched`]:r}),children:e.children})};_.states=qd;_.options=Qd;_.className=ro;_.defaultOptions=ar;var Ha=require("react/jsx-runtime");var Pa=require("react/jsx-runtime");var za=require("react/jsx-runtime");var Ba=require("react/jsx-runtime");var io=require("react/jsx-runtime"),sr="k-color-preview",Yd=[],Zd={},Ze=e=>{let{color:t,iconName:o,...r}=e;return(0,io.jsxs)("span",{...r,className:a(e.className,sr,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,io.jsx)(S,{icon:o,className:"k-color-preview-icon"}),(0,io.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ze.states=Yd;Ze.options=Zd;Ze.className=sr;var we=require("react/jsx-runtime"),no="k-slider",jd=[l.hover,l.focus,l.active,l.disabled,l.readonly],ec={},je={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},he=e=>{let{type:t=je.type,orientation:o=je.orientation,readonly:r=je.readonly,disabled:i=je.disabled,handlePosition:n=je.handlePosition,showButtons:d=je.showButtons,showTicks:m=je.showTicks,hover:u,focus:T,active:x,trackStyle:v,dir:c,...N}=e,k,C;return o==="horizontal"?(k=c==="rtl"?"caret-alt-left":"caret-alt-right",C=c==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(k="caret-alt-up",C="caret-alt-down"),(0,we.jsxs)("div",{...N,className:a(no,e.className,w(no,{readonly:r,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:c,children:[d&&(0,we.jsx)(h,{className:"k-button-decrease",rounded:"full",icon:C}),(0,we.jsxs)("div",{className:"k-slider-track-wrap",children:[m&&(0,we.jsx)("ul",{className:"k-reset k-slider-items",children:e.children}),(0,we.jsxs)("div",{className:"k-slider-track",style:v,children:[(0,we.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,we.jsx)("span",{className:a("k-draghandle","k-draghandle-start",w(no,{hover:u,focus:T,active:x}))}),(0,we.jsx)("span",{className:a("k-draghandle",`k-draghandle-${n}`,w(no,{hover:u,focus:T,active:x}))})]})]}),d&&(0,we.jsx)(h,{className:"k-button-increase",rounded:"full",icon:k})]})};he.states=jd;he.options=ec;he.className=no;he.defaultOptions=je;var Ea=require("react/jsx-runtime"),rr="k-tick",tc=[],oc={},ir={label:!1},et=e=>{let{style:t,label:o=ir.label,orientation:r,large:i,text:n,...d}=e;return(0,Ea.jsx)("li",{...d,className:a(e.className,rr,{[`k-tick-${r}`]:r,"k-tick-large":i}),style:t,children:o&&(0,Ea.jsx)("span",{className:"k-label",children:n})})};et.states=tc;et.options=oc;et.className=rr;et.defaultOptions=ir;var Oa=require("react/jsx-runtime");var Ka=require("react/jsx-runtime");var Da=require("react/jsx-runtime");var $a=require("react/jsx-runtime");var nr=require("react/jsx-runtime"),_a=e=>(0,nr.jsx)(he,{type:"gradient",showButtons:!1,showTicks:!1,...e});var dr=require("react/jsx-runtime"),Va=e=>(0,dr.jsx)(he,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});var L=require("react/jsx-runtime"),cr="k-colorgradient-inputs",ac=[],lc={size:[s.small,s.medium,s.large]},pr={mode:"rgba",size:s.medium},Bt=e=>{let{mode:t=pr.mode,size:o,...r}=e;return(0,L.jsxs)("div",{...r,className:a(cr,"k-hstack"),children:[(0,L.jsx)("div",{className:"k-vstack",children:(0,L.jsx)(h,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),t==="rgba"&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,L.jsx)(L.Fragment,{children:(0,L.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,L.jsx)(Re,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Bt.states=ac;Bt.options=lc;Bt.className=cr;Bt.defaultOptions=pr;var te=require("react/jsx-runtime"),mr="k-colorgradient-color-contrast",sc=[],rc={},ic={},Et=()=>(0,te.jsxs)("div",{className:a(mr,"k-vbox"),children:[(0,te.jsxs)("div",{className:"k-contrast-ratio",children:[(0,te.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,te.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,te.jsx)(S,{icon:"check"}),(0,te.jsx)(S,{icon:"check"})]})]}),(0,te.jsxs)("div",{children:[(0,te.jsx)("span",{children:"AA: 4.5"}),(0,te.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,te.jsx)(S,{icon:"check"})]})]}),(0,te.jsxs)("div",{children:[(0,te.jsx)("span",{children:"AAA: 7.0"}),(0,te.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,te.jsx)(S,{icon:"x"})]})]})]});Et.states=sc;Et.options=rc;Et.className=mr;Et.defaultOptions=ic;var X=require("react/jsx-runtime"),Ho="k-colorgradient",nc=[l.hover,l.focus,l.readonly,l.disabled],dc={size:[s.small,s.medium,s.large]},Me={size:s.medium,mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},tt=e=>{let{size:t=Me.size,mode:o=Me.mode,readonly:r=Me.readonly,disabled:i=Me.disabled,gradientStyle:n=Me.gradientStyle,dragHandleStyle:d=Me.dragHandleStyle,alphaStyle:m=Me.alphaStyle,alphaStyleHorizontal:u=Me.alphaStyleHorizontal,contrast:T=Me.contrast,dir:x,hover:v,focus:c,hoverHandle:N,focusHandle:k,canvasOrientation:C=Me.canvasOrientation,...I}=e;return(0,X.jsxs)("div",{...I,className:a(e.className,Ho,y(Ho,{size:t}),w(Ho,{hover:v,focus:c,readonly:r,disabled:i})),dir:x,children:[!C||C==="horizontal"&&(0,X.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,X.jsx)("div",{className:"k-hsv-rectangle",style:n,children:(0,X.jsx)("div",{className:"k-hsv-gradient",children:(0,X.jsx)("div",{className:a("k-hsv-draghandle","k-draghandle",{"k-hover":N,"k-focus":k}),style:d})})}),(0,X.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,X.jsx)(Va,{className:"k-hue-slider",hover:N,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,X.jsx)(Va,{className:"k-alpha-slider",hover:N,focus:k,trackStyle:m})]})]}),C==="vertical"&&(0,X.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,X.jsx)("div",{className:"k-hsv-rectangle",style:n,children:(0,X.jsx)("div",{className:"k-hsv-gradient",children:(0,X.jsx)("div",{className:a("k-hsv-draghandle","k-draghandle",{"k-hover":N,"k-focus":k}),style:d})})}),(0,X.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,X.jsx)(_a,{className:"k-hue-slider",hover:N,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,X.jsx)(_a,{className:"k-alpha-slider",hover:N,focus:k,trackStyle:u})]})]}),(0,X.jsx)(Bt,{mode:e.mode,size:t}),T&&(0,X.jsx)(Et,{})]})};tt.states=nc;tt.options=dc;tt.className=Ho;tt.defaultOptions=Me;var cc=require("react/jsx-runtime");var pc=require("react/jsx-runtime");var fr=require("react/jsx-runtime"),ur=e=>(0,fr.jsx)("tr",{children:e.children});var br=require("react/jsx-runtime"),Xa="k-colorpalette-tile",mc=[l.hover,l.focus,l.selected],uc={},co=e=>{let{color:t,tileSize:o,hover:r,