UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 82.1 kB
var Zr=Object.create;var bo=Object.defineProperty;var jr=Object.getOwnPropertyDescriptor;var ei=Object.getOwnPropertyNames;var ti=Object.getPrototypeOf,oi=Object.prototype.hasOwnProperty;var ai=(e,t)=>{for(var o in t)bo(e,o,{get:t[o],enumerable:!0})},wl=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ei(t))!oi.call(e,i)&&i!==o&&bo(e,i,{get:()=>t[i],enumerable:!(r=jr(t,i))||r.enumerable});return e};var li=(e,t,o)=>(o=e!=null?Zr(ti(e)):{},wl(t||!e||!e.__esModule?bo(o,"default",{value:e,enumerable:!0}):o,e)),si=e=>wl(bo({},"__esModule",{value:!0}),e);var yp={};ai(yp,{TreeListAggregates:()=>Lp});module.exports=si(yp);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 C=(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"},f={small:"small",medium:"medium",large:"large",full:"full"},b={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 To=require("react/jsx-runtime"),fo="k-grid",ri=[],ii={size:[s.small,s.medium,s.large]},Ko={size:s.medium,pagerPosition:"bottom"},X=e=>{let{size:t=Ko.size,pagerPosition:o=Ko.pagerPosition,toolbar:r,pager:i,groupingHeader:n,gridSelectionAggregates:d,_renderAriaRoot:m,resizable:u,...h}=e;return(0,To.jsxs)("div",{...h,className:a(e.className,fo,{[`${fo}-resizable`]:u},C(fo,{size:t})),children:[r,o==="top"&&i,n,e.children&&m?(0,To.jsx)("div",{className:"k-grid-aria-root",children:e.children}):e.children,d,o==="bottom"&&i]})};X.states=ri;X.options=ii;X.className=fo;X.defaultOptions=Ko;var Ml=require("react/jsx-runtime"),ni="k-grid-header",ae=e=>{let{draggable:t}=e;return(0,Ml.jsx)("div",{...e,className:a(e.className,ni,{"k-grid-draggable-header":t}),children:e.children})};var Il=require("react/jsx-runtime");var Gl=require("react/jsx-runtime"),Rl="k-data-table",di=[],ci={size:[s.small,s.medium,s.large]},Al={size:s.medium},lt=e=>{let{size:t=Al.size,...o}=e;return(0,Gl.jsx)("div",{...o,className:a(e.className,Rl,C("k-table",{size:t})),children:e.children})};lt.states=di;lt.options=ci;lt.className=Rl;lt.defaultOptions=Al;var pi=require("react/jsx-runtime");var mi=require("react/jsx-runtime");var ui=require("react/jsx-runtime");var Hl=require("react/jsx-runtime"),Do="k-table",bi=[],fi={size:[s.small,s.medium,s.large]},Ti={},me=e=>{let{size:t,...o}=e;return(0,Hl.jsx)("table",{...o,className:a(e.className,Do,C(Do,{size:t})),children:e.children})};me.states=bi;me.options=fi;me.className=Do;me.defaultOptions=Ti;var Pl=require("react/jsx-runtime"),$o="k-table-list",hi=[],xi={size:[s.small,s.medium,s.large]},Ni={},kt=e=>{let{size:t,virtualization:o,...r}=e;return(0,Pl.jsx)("ul",{...r,className:a(e.className,"k-table",$o,C($o,{size:t}),{"k-virtual-table":o}),children:e.children})};kt.states=hi;kt.options=xi;kt.className=$o;kt.defaultOptions=Ni;var zl=require("react/jsx-runtime"),gi="k-table-thead",_=e=>(0,zl.jsx)("thead",{className:a(e.className,gi),children:e.children});var Bl=require("react/jsx-runtime"),ki="k-table-tbody",J=e=>(0,Bl.jsx)("tbody",{className:a(e.className,ki),children:e.children});var vi=require("react/jsx-runtime");var El=require("react/jsx-runtime"),_o="k-table-row",Li=[l.hover,l.focus,l.selected,l.disabled,l.highlighted],H=e=>{let{hover:t,focus:o,selected:r,highlighted:i,disabled:n,alt:d,...m}=e;return(0,El.jsx)("tr",{...m,className:a(e.className,_o,{"k-table-alt-row":d},w(_o,{hover:t,focus:o,disabled:n,selected:r,highlighted:i})),children:e.children})};H.states=Li;H.className=_o;var Ol=require("react/jsx-runtime"),Vo="k-table-row",yi=[l.hover,l.focus,l.selected,l.disabled],ho=e=>{let{hover:t,focus:o,selected:r,disabled:i,alt:n,...d}=e;return(0,Ol.jsx)("li",{...d,className:a(e.className,Vo,{"k-table-alt-row":n},w(Vo,{hover:t,focus:o,disabled:i,selected:r})),children:e.children})};ho.states=yi;ho.className=Vo;var Kl=require("react/jsx-runtime"),Ci="k-table-th",vt=e=>{let{text:t,colspan:o,rowspan:r,...i}=e,n=t||e.children;return(0,Kl.jsx)("th",{colSpan:o,rowSpan:r,...i,className:a(e.className,Ci),children:n})};var Si=require("react/jsx-runtime");var Dl=require("react/jsx-runtime"),Fo="k-table-td",wi=[l.focus,l.selected,l.highlighted],M=e=>{let{focus:t,selected:o,highlighted:r,text:i,colspan:n,rowspan:d,...m}=e,u=i||e.children;return(0,Dl.jsx)("td",{colSpan:n,rowSpan:d,...m,className:a(e.className,Fo,w(Fo,{focus:t,selected:o,highlighted:r})),children:u})};M.states=wi;M.className=Fo;var Mi=require("react/jsx-runtime");var Ii=require("react/jsx-runtime");var Ri=require("react/jsx-runtime");var Ai=require("react/jsx-runtime");var Gi=require("react/jsx-runtime");var Vl=require("react/jsx-runtime");var Fl=require("react/jsx-runtime");var Xl=require("react/jsx-runtime");var Xo=require("react/jsx-runtime");var Jl=require("react/jsx-runtime"),Ei="k-grid-header-table",le=e=>(0,Jl.jsx)(me,{size:"medium",...e,className:a(e.className,Ei),children:e.children});var Vt=require("react/jsx-runtime"),Jo="k-icon k-font-icon",Oi=[],Ki={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]},Di={},Ft=e=>{let{size:t,themeColor:o,icon:r,rotate:i,flip:n,...d}=e;return r?(0,Vt.jsx)("span",{...d,className:a(e.className,Jo,C(Jo,{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,Vt.jsx)(Vt.Fragment,{})};Ft.states=Oi;Ft.options=Ki;Ft.className=Jo;Ft.defaultOptions=Di;var Wl=Ft;var st=require("react/jsx-runtime"),Wo="k-icon k-svg-icon",$i=[],_i={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]},Ul={viewBox:"0 0 24 24"},Xt=e=>{let{size:t,themeColor:o,rotate:r,flip:i,viewBox:n=Ul.viewBox,icon:d,...m}=e;if(!d)return(0,st.jsx)(st.Fragment,{});d==="none"&&{...m,className:a(e.className,Wo,"k-none")};let u=typeof d=="object"&&d.name&&d.name;return(0,st.jsx)("span",{...m,className:a(e.className,Wo,C("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,st.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})})};Xt.states=$i;Xt.options=_i;Xt.className=Wo;Xt.defaultOptions=Ul;var Uo=Xt;var ql=li(require("@progress/kendo-svg-icons")),Ee=require("react/jsx-runtime"),Vi=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Fi=[],Xi={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]},qo={viewBox:"0 0 24 24",type:"svg"},x=e=>{let{size:t,themeColor:o,icon:r,type:i=qo.type,rotate:n,flip:d,viewBox:m=qo.viewBox,...u}=e;if(!r)return(0,Ee.jsx)(Ee.Fragment,{});if(i==="svg"){if(r==="none")return(0,Ee.jsx)(Uo,{...u,icon:r,size:t});let h=Vi(`${r}-icon`);return ql[h]?(0,Ee.jsx)(Uo,{...u,icon:ql[h],size:t,themeColor:o,rotate:n,flip:d,viewBox:m}):(0,Ee.jsx)(Ee.Fragment,{})}return(0,Ee.jsx)(Wl,{...u,icon:r,size:t,themeColor:o,rotate:n,flip:d})};x.states=Fi;x.options=Xi;x.defaultOptions=qo;var ue=require("react/jsx-runtime"),Qo="k-header",Ji=[l.hover,l.focus,l.active],Ql={sortIcon:"sort-asc-small"},D=e=>{let{menu:t,sortable:o,filterable:r,sticky:i,resizable:n,columnTitle:d,hover:m,focus:u,active:h,sortIcon:g=Ql.sortIcon,sortOrder:L,...c}=e;return(0,ue.jsxs)(vt,{...c,className:a(e.className,Qo,{"k-filterable":t||r,"k-sorted":o,"k-grid-header-sticky":i,"k-touch-action-none":n},w(Qo,{hover:m,focus:u,active:h})),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)(x,{icon:g})}),L&&(0,ue.jsx)("span",{className:"k-sort-order",children:L})]}),t&&(0,ue.jsx)("a",{href:"#",className:a("k-grid-header-menu",{"k-active":h,"k-grid-filter-menu":t==="filter","k-grid-column-menu":t==="column"}),children:(0,ue.jsx)(x,{icon:t==="filter"?"filter":"more-vertical"})})]}),e.children,n&&(0,ue.jsx)("span",{className:"k-column-resizer k-touch-action-none"})]})};D.states=Ji;D.className=Qo;D.defaultOptions=Ql;var Yl=require("react/jsx-runtime"),Wi="k-grid-container",Q=e=>(0,Yl.jsx)("div",{...e,className:a(e.className,Wi),children:e.children});var Zl=require("react/jsx-runtime"),Ui="k-grid-content",Y=e=>(0,Zl.jsx)("div",{...e,className:a(e.className,Ui),children:e.children});var jl=require("react/jsx-runtime"),qi="k-grid-table",Z=e=>(0,jl.jsx)(me,{size:"medium",...e,className:a(e.className,qi),children:e.children});var Qi=require("react/jsx-runtime");var Yi=require("react/jsx-runtime");var ke=require("react/jsx-runtime"),xo="k-button",Zi=[l.hover,l.focus,l.active,l.selected,l.disabled],ji={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.light,p.dark,p.inverse]},rt={size:s.medium,rounded:f.medium,fillMode:b.solid,themeColor:p.base,showArrow:!1,arrowIconName:"caret-alt-down"},N=e=>{let{size:t=rt.size,rounded:o=rt.rounded,fillMode:r=rt.fillMode,themeColor:i=rt.themeColor,showArrow:n=rt.showArrow,arrowIconName:d=rt.arrowIconName,hover:m,focus:u,active:h,selected:g,disabled:L,icon:c,text:k,iconClassName:v,...S}=e,R=c!==void 0,G=e.children!==void 0;return(0,ke.jsxs)("button",{...S,className:a(e.className,xo,C(xo,{size:t,rounded:o,fillMode:r,themeColor:i}),w(xo,{hover:m,focus:u,active:h,disabled:L,selected:g}),{"k-icon-button":!k&&!G&&R}),children:[c&&(0,ke.jsx)(x,{className:a(v,"k-button-icon"),icon:c}),k?(0,ke.jsxs)(ke.Fragment,{children:[k&&(0,ke.jsx)("span",{className:"k-button-text",children:k}),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)(x,{icon:d})})]})};N.states=Zi;N.options=ji;N.className=xo;N.defaultOptions=rt;var es=require("react/jsx-runtime"),No=e=>(0,es.jsx)(N,{icon:"folder",...e,children:void 0});var ts=require("react/jsx-runtime"),Yo=e=>(0,ts.jsx)(N,{icon:"folder",children:"Button",...e});var en=require("react/jsx-runtime");var os=require("react/jsx-runtime"),go="k-input",tn=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],on={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[b.solid,b.flat,b.outline]},ko={size:s.medium,rounded:s.medium,fillMode:b.solid},E=e=>{let{hover:t,focus:o,disabled:r,invalid:i,valid:n,loading:d,readonly:m,size:u=ko.size,rounded:h=ko.rounded,fillMode:g=ko.fillMode,...L}=e;return(0,os.jsx)("span",{...L,className:a(e.className,go,C(go,{size:u,rounded:h,fillMode:g}),w(go,{hover:t,focus:o,disabled:r,invalid:i,valid:n,loading:d,readonly:m}))})};E.states=tn;E.options=on;E.className=go;E.defaultOptions=ko;var as=require("react/jsx-runtime"),vo="k-picker",an=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],ln={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[b.solid,b.flat,b.outline]},Lo={size:s.medium,rounded:f.medium,fillMode:b.solid},ve=e=>{let{hover:t,focus:o,disabled:r,invalid:i,valid:n,loading:d,readonly:m,size:u=Lo.size,rounded:h=Lo.rounded,fillMode:g=Lo.fillMode,...L}=e;return(0,as.jsx)("span",{...L,className:a(e.className,vo,C(vo,{size:u,rounded:h,fillMode:g}),w(vo,{hover:t,focus:o,disabled:r,invalid:i,valid:n,loading:d,readonly:m})),children:e.children})};ve.states=an;ve.options=ln;ve.className=vo;ve.defaultOptions=Lo;var Lt=require("react/jsx-runtime"),ls="k-clear-value",sn=[l.disabled,l.loading,l.readonly],rn={},Le=e=>{let{disabled:t,loading:o,readonly:r,value:i}=e;return t||r||o||!i?(0,Lt.jsx)(Lt.Fragment,{}):(0,Lt.jsx)("span",{className:a(e.className,ls),children:(0,Lt.jsx)(x,{icon:"x"})})};Le.states=sn;Le.options=rn;Le.className=ls;var ss=require("react/jsx-runtime"),Zo="k-input-inner",nn=[],dn={},yo={type:"text",autocomplete:"off",value:"",placeholder:""},ye=e=>{let{value:t=yo.value,type:o=yo.type,placeholder:r=yo.placeholder,autocomplete:i=yo.autocomplete,...n}=e;return(0,ss.jsx)("input",{...n,type:o,className:a(e.className,Zo,C(Zo,e)),placeholder:r,autoComplete:i,defaultValue:t})};ye.states=nn;ye.options=dn;ye.className=Zo;var Jt=require("react/jsx-runtime"),jo="k-input-inner",cn=[],pn={},it=e=>{let{value:t,placeholder:o,showValue:r,valueIcon:i,valueIconName:n,...d}=e;return(0,Jt.jsxs)("span",{...d,className:a(e.className,jo,C(jo,e)),children:[i,!i&&n&&(0,Jt.jsx)(x,{className:"k-input-value-icon",icon:n}),r&&!t&&o,r&&t&&(0,Jt.jsx)("span",{className:"k-input-value-text",children:t})]})};it.states=cn;it.options=pn;it.className=jo;var is=require("react/jsx-runtime"),ea="k-input-inner",mn=[],un={},rs={value:"",placeholder:""},ta=e=>{let{value:t=rs.value,placeholder:o=rs.placeholder,rows:r,...i}=e;return(0,is.jsx)("textarea",{...i,className:a(e.className,ea,C(ea,e)),placeholder:o,rows:r,defaultValue:t})};ta.states=mn;ta.options=un;ta.className=ea;var Wt=require("react/jsx-runtime"),ns="k-input-loading-icon",bn=[l.disabled,l.loading],be=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Wt.jsx)(Wt.Fragment,{}):(0,Wt.jsx)("span",{className:a(e.className,ns,"k-icon k-i-loading")})};be.states=bn;be.className=ns;var Ut=require("react/jsx-runtime"),ds="k-input-validation-icon",fn=[l.valid,l.invalid,l.disabled,l.loading],Tn={},ce=e=>{let{valid:t,invalid:o,disabled:r,loading:i}=e,n=o?"warning-circle":"check-circle";return r||i||!!!(t||o)?(0,Ut.jsx)(Ut.Fragment,{}):(0,Ut.jsx)(x,{className:a(ds),icon:n})};ce.states=fn;ce.options=Tn;ce.className=ds;var qt=require("react/jsx-runtime"),hn="k-input-prefix",xn={direction:"horizontal"},Ie=e=>{let{direction:t=xn.direction,...o}=e;return e.children?(0,qt.jsx)("span",{...o,className:a(hn,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,qt.jsx)(qt.Fragment,{})};var Qt=require("react/jsx-runtime"),Nn="k-input-suffix",gn={direction:"horizontal"},Re=e=>{let{direction:t=gn.direction,...o}=e;return e.children?(0,Qt.jsx)("span",{...o,className:a(Nn,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Qt.jsx)(Qt.Fragment,{})};var kn=require("react/jsx-runtime");var vn=require("react/jsx-runtime");var ps=require("react/jsx-runtime"),cs="k-input-separator",Ln={direction:"vertical"},Oe=e=>{let{direction:t=Ln.direction,...o}=e;return(0,ps.jsx)("span",{...o,className:a(cs,e.className,{[`${cs}-${t}`]:t})})};var oa=require("react/jsx-runtime"),ms="k-animation-container",yn=[],Cn={},us={positionMode:"absolute"},We=e=>{let{positionMode:t=us.positionMode,animationStyle:o,offset:r,...i}=e;return(0,oa.jsx)("div",{...i,style:{...r,...e.style},className:a(e.className,ms,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,oa.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};We.states=yn;We.options=Cn;We.className=ms;We.defaultOptions=us;var aa=require("react/jsx-runtime"),bs="k-popup",Sn=[],wn={},fs={positionMode:"absolute"},j=e=>{let{offset:t,positionMode:o=fs.positionMode,animationStyle:r,...i}=e;return(0,aa.jsx)(We,{positionMode:o,offset:t,animationStyle:r,children:(0,aa.jsx)("div",{...i,className:a(e.className,bs),children:e.children})})};j.states=Sn;j.options=wn;j.className=bs;j.defaultOptions=fs;var Ts=require("react/jsx-runtime"),Co="k-actions",Mn=[],In={},la={alignment:"start",orientation:"horizontal"},Ue=e=>{let{alignment:t=la.alignment,orientation:o=la.orientation,...r}=e;return(0,Ts.jsx)("div",{...r,className:a(Co,{[`${Co}-${t}`]:t,[`${Co}-${o}`]:o},e.className),children:e.children})};Ue.states=Mn;Ue.options=In;Ue.className=Co;Ue.defaultOptions=la;var xs=require("react/jsx-runtime"),Rn="k-actionsheet-footer",hs={alignment:"stretched",orientation:"horizontal"},Yt=e=>{let{alignment:t=hs.alignment,orientation:o=hs.orientation,template:r,as:i=r?"div":Ue,...n}=e;return(0,xs.jsx)(i,{...n,...!r&&{alignment:t,orientation:o},className:a(e.className,Rn),children:e.children})};var qe=require("react/jsx-runtime"),Ns="k-searchbox",An=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],Gn={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[b.solid,b.flat,b.outline]},sa={showIcon:!0,icon:"search",size:E.defaultOptions.size,rounded:E.defaultOptions.rounded,fillMode:E.defaultOptions.fillMode},Ke=e=>{let{value:t,placeholder:o,size:r,rounded:i,fillMode:n,hover:d,focus:m,valid:u,invalid:h,required:g,loading:L,disabled:c,showIcon:k=sa.showIcon,icon:v=sa.icon,...S}=e;return(0,qe.jsxs)(E,{...S,size:r,rounded:i,fillMode:n,hover:d,focus:m,valid:u,invalid:h,required:g,loading:L,disabled:c,className:a(e.className,Ns),children:[k&&(0,qe.jsx)(x,{className:"k-input-icon",icon:v}),(0,qe.jsx)(ye,{placeholder:o,value:t}),(0,qe.jsx)(be,{...e}),(0,qe.jsx)(ce,{...e}),(0,qe.jsx)(Le,{...e})]})};Ke.states=An;Ke.options=Gn;Ke.className=Ns;Ke.defaultOptions=sa;var Hn=require("react/jsx-runtime");var se=require("react/jsx-runtime"),gs="k-textbox",Pn=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],zn={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[b.solid,b.flat,b.outline]},nt={showClearButton:!0,showValidationIcon:!0,size:E.defaultOptions.size,rounded:E.defaultOptions.rounded,fillMode:E.defaultOptions.fillMode,separators:!0},Ae=e=>{let{size:t=nt.size,rounded:o=nt.rounded,fillMode:r=nt.fillMode,separators:i=nt.separators,showClearButton:n=nt.showClearButton,showValidationIcon:d=nt.showValidationIcon,prefix:m,suffix:u,type:h,value:g,placeholder:L,hover:c,focus:k,valid:v,invalid:S,required:R,loading:G,disabled:z,readonly:q,...ie}=e;return(0,se.jsxs)(E,{...ie,size:t,rounded:o,fillMode:r,hover:c,focus:k,valid:v,invalid:S,required:R,loading:G,disabled:z,readonly:q,className:a(e.className,gs),children:[m&&(0,se.jsxs)(se.Fragment,{children:[(0,se.jsx)(Ie,{children:m}),i&&(0,se.jsx)(Oe,{})]}),(0,se.jsx)(ye,{placeholder:L,value:g,type:h}),d&&(0,se.jsx)(ce,{valid:v,invalid:S,loading:G,disabled:z}),(0,se.jsx)(be,{loading:G,disabled:z}),n&&(0,se.jsx)(Le,{loading:G,disabled:z,readonly:q,value:g}),u&&(0,se.jsxs)(se.Fragment,{children:[i&&(0,se.jsx)(Oe,{}),(0,se.jsx)(Re,{children:u})]})]})};Ae.states=Pn;Ae.options=zn;Ae.className=gs;Ae.defaultOptions=nt;var Bn=require("react/jsx-runtime");var vs=require("react/jsx-runtime");var Ls=require("react/jsx-runtime");var pe=require("react/jsx-runtime"),ys="k-actionsheet-titlebar",En={},fe=e=>{let{title:t,subtitle:o,actionsStart:r,actionsEnd:i,filter:n,input:d,inputValue:m,inputPlaceholder:u,adaptive:h,children:g,...L}=e;return(0,pe.jsxs)("div",{...L,className:a(e.className,ys),children:[(0,pe.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[r&&(0,pe.jsx)("div",{className:"k-actionsheet-actions",children:r}),!g&&(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})]}),g&&(0,pe.jsx)("div",{className:"k-actionsheet-title",children:g}),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)(Ae,{value:m,placeholder:u,size:h?"large":"medium"}):(0,pe.jsx)(Ke,{placeholder:"Filter",size:h?"large":"medium"})})]})};fe.className=ys;fe.defaultOptions=En;var yt=require("react/jsx-runtime"),ra="k-actionsheet-view",On=[],Kn={},Dn={},Ct=e=>{let{adaptive:t,animated:o,children:r,header:i,footer:n,...d}=e,m=(i==null?void 0:i.type)===fe&&(0,yt.jsx)(fe,{adaptive:t,...i==null?void 0:i.props}),u=(n==null?void 0:n.type)===Yt&&(0,yt.jsx)(Yt,{...n==null?void 0:n.props});return(0,yt.jsxs)("div",{...d,className:a(e.className,ra,{[`${ra}-animated`]:o}),children:[m,(0,yt.jsx)("div",{className:"k-actionsheet-content",children:r}),u]})};Ct.states=On;Ct.options=Kn;Ct.className=ra;Ct.defaultOptions=Dn;var dt=require("react/jsx-runtime"),Cs="k-actionsheet",$n=[],_n={},Zt={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Ce=e=>{let{side:t=Zt.side,fullscreen:o=Zt.fullscreen,adaptive:r=Zt.adaptive,overlay:i=Zt.overlay,template:n,children:d,header:m,footer:u,...h}=e;return(0,dt.jsxs)("div",{className:"k-actionsheet-container",children:[i&&(0,dt.jsx)("div",{className:"k-overlay"}),(0,dt.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,dt.jsx)("div",{...h,className:a(e.className,Cs,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":r}),children:n||(0,dt.jsx)(Ct,{header:m,footer:u,adaptive:r,...e,children:d})})})]})};Ce.states=$n;Ce.options=_n;Ce.className=Cs;Ce.defaultOptions=Zt;var Vn=require("react/jsx-runtime");var Te=require("react/jsx-runtime"),ia="k-actionsheet-item",Fn=[l.hover,l.focus,l.selected,l.disabled],na=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,ia,w(ia,{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)(x,{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]})};na.states=Fn;na.className=ia;var Ss=require("react/jsx-runtime");var Xn=require("react/jsx-runtime");var Jn=require("react/jsx-runtime");var Wn=require("react/jsx-runtime");var Ms=require("react/jsx-runtime"),Un="k-no-data",jt=e=>(0,Ms.jsx)("span",{className:a(Un,e.className),children:e.children});var Ge=require("react/jsx-runtime"),da="k-list",qn=[],Qn={size:[s.small,s.medium,s.large]},Is={size:s.medium},O=e=>{let{size:t=Is.size,virtualization:o,children:r,optionLabel:i,customValue:n,screenReaders:d,...m}=e,u,h,g,L,c=[];return r?r.map((k,v)=>{k.type===ee?(k.props.root===!0?(u=k.props.label,k.props.children.map((S,R)=>{c.push((0,Ge.jsx)(A,{...S.props},`optChild-${R}-${new Date().getTime()}`))})):k.props.children.forEach((S,R)=>{let G="";R===0&&(G=k.props.label),c.push((0,Ge.jsx)(A,{className:R===0?"k-first":"",...S.props,groupLabel:G},`groupLabel-${R}-${new Date().getTime()}`))}),h=(0,Ge.jsx)(ee,{label:u,virtualization:o,children:c})):k.type===A&&(c.push((0,Ge.jsx)(A,{...k.props},`${k.type}-${v}`)),g=(0,Ge.jsx)(St,{virtualization:o,children:c}),d&&(L=(0,Ge.jsxs)(jt,{className:"k-sr-only",children:[c.length," items found."]})))}):L=(0,Ge.jsx)(jt,{children:"No data found."}),(0,Ge.jsxs)("div",{...m,className:a(e.className,da,C(da,{size:t}),{"k-virtual-list":o}),children:[i,n,h,g,L]})};O.states=qn;O.options=Qn;O.className=da;O.defaultOptions=Is;var He=require("react/jsx-runtime"),ca="k-list",Yn=[],Zn={size:[s.small,s.medium,s.large]},Rs={size:s.medium},ct=e=>{let{size:t=Rs.size,virtualization:o,children:r,...i}=e,n,d,m,u=[];return r?r.map((h,g)=>{h.type===ee?(h.props.root===!0?(n=h.props.label,h.props.children.map((L,c)=>{u.push((0,He.jsx)(A,{...L.props},`optChild-${c}-${new Date().getTime()}`))})):(u.push((0,He.jsx)(As,{...h.props,children:h.props.label},`listChild-${g}`)),h.props.children.map((L,c)=>{u.push((0,He.jsx)(A,{...L.props},`fwOptChild-${c}-${new Date().getTime()}`))})),d=(0,He.jsx)(ee,{label:n,virtualization:o,children:u})):h.type===A&&(u.push((0,He.jsx)(A,{...h.props},`${h.type}-${g}`)),m=(0,He.jsx)(St,{virtualization:o,children:u}))}):m=(0,He.jsx)(jt,{children:"No data found."}),(0,He.jsxs)("div",{...i,className:a(e.className,ca,C(ca,{size:t}),{"k-virtual-list":o}),children:[d,m]})};ct.states=Yn;ct.options=Zn;ct.className=ca;ct.defaultOptions=Rs;var ma=require("react/jsx-runtime"),So="k-checkbox",jn=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],ed={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full]},pa={size:s.medium,rounded:f.medium},De=e=>{let{id:t,checked:o,indeterminate:r,hover:i,focus:n,disabled:d,invalid:m,valid:u,required:h,size:g=pa.size,rounded:L=pa.rounded,...c}=e;return(0,ma.jsx)("span",{className:"k-checkbox-wrap",children:(0,ma.jsx)("input",{...c,id:t,type:"checkbox",defaultChecked:o,required:h,className:a(e.className,So,C(So,{size:g,rounded:L}),w(So,{hover:i,focus:n,disabled:d,invalid:m,valid:u,indeterminate:r,checked:o}))})})};De.states=jn;De.options=ed;De.className=So;De.defaultOptions=pa;var Ps=require("react/jsx-runtime"),Gs="k-checkbox-list",td=[],od={},Hs={layout:"vertical"},wt=e=>{let{layout:t=Hs.layout,...o}=e;return(0,Ps.jsx)("ul",{...o,className:a(e.className,Gs,{[`k-list-${t}`]:t}),children:e.children})};wt.states=td;wt.options=od;wt.className=Gs;wt.defaultOptions=Hs;var Bs=require("react/jsx-runtime"),zs="k-checkbox-list-item",ad=[],ld={},sd={},Mt=e=>{let{...t}=e;return(0,Bs.jsx)("li",{...t,className:a(e.className,zs),children:e.children})};Mt.states=ad;Mt.options=ld;Mt.className=zs;Mt.defaultOptions=sd;var ba=require("react/jsx-runtime");var fa=require("react/jsx-runtime");var Ta=require("react/jsx-runtime");var ha=require("react/jsx-runtime");var rd=require("react/jsx-runtime");var id=require("react/jsx-runtime");var pt=require("react/jsx-runtime"),xa="k-list-item",nd=[l.hover,l.focus,l.selected,l.disabled],dd={},cd={},A=e=>{let{text:t,groupLabel:o,group:r,showIcon:i,iconName:n,showCheckbox:d,checked:m,hover:u,focus:h,selected:g,disabled:L,...c}=e,k=t||e.children;return(0,pt.jsxs)("li",{...c,className:a(e.className,r?"k-list-group-item":xa,w(xa,{hover:u,focus:h,disabled:L,selected:g})),children:[d&&(0,pt.jsx)(De,{checked:m}),i&&(0,pt.jsx)(x,{icon:n}),(0,pt.jsx)("span",{className:"k-list-item-text",children:k}),o&&o!==""&&(0,pt.jsx)("div",{className:"k-list-item-group-label",children:o})]})};A.states=nd;A.options=dd;A.className=xa;A.defaultOptions=cd;var It=require("react/jsx-runtime"),pd="k-list-content",St=e=>{let{virtualization:t,...o}=e;return(0,It.jsxs)("div",{...o,className:a(pd,e.className),children:[(0,It.jsx)("ul",{className:a("k-list-ul"),children:e.children}),t&&(0,It.jsx)("div",{className:"k-height-container",children:(0,It.jsx)("div",{})})]})};var Na=require("react/jsx-runtime"),md="k-list-group-sticky-header",Es=e=>(0,Na.jsx)("div",{className:a(md,e.className),children:(0,Na.jsx)("div",{className:"k-list-header-text",children:e.children})});var mt=require("react/jsx-runtime"),ee=e=>{let{virtualization:t,label:o}=e;return(0,mt.jsxs)(mt.Fragment,{children:[o&&(0,mt.jsx)(Es,{children:o}),e.children&&(0,mt.jsx)(St,{virtualization:t,children:e.children})]})};var ga=require("react/jsx-runtime"),ud="k-list-group-item",As=e=>(0,ga.jsx)("li",{className:a(ud,e.className),children:(0,ga.jsx)("span",{className:"k-list-item-text",children:e.children})});var Os=require("react/jsx-runtime"),ka="k-list-optionlabel",bd=[l.hover,l.focus,l.selected,l.disabled],fd={},Td={},wo=e=>{let{text:t,hover:o,focus:r,selected:i,disabled:n,...d}=e;return(0,Os.jsx)("div",{...d,className:a(ka,w(ka,{hover:o,focus:r,selected:i,disabled:n})),children:t})};wo.states=bd;wo.options=fd;wo.className=ka;wo.defaultOptions=Td;var Ks=require("react/jsx-runtime"),va="k-list-custom-value",hd=[l.hover,l.focus,l.selected,l.disabled],xd={},Nd={},Qe=e=>{let{text:t,hover:o,focus:r,selected:i,disabled:n,...d}=e;return(0,Ks.jsx)("div",{...d,className:a(va,w(va,{hover:o,focus:r,selected:i,disabled:n})),children:t})};Qe.states=hd;Qe.options=xd;Qe.className=va;Qe.defaultOptions=Nd;var gd=require("react/jsx-runtime");var kd=require("react/jsx-runtime");var Ds=require("react/jsx-runtime");var $s=require("react/jsx-runtime");var vd=require("react/jsx-runtime");var _s=require("react/jsx-runtime");var Vs=require("react/jsx-runtime");var $=require("react/jsx-runtime"),Fs="k-dropdownlist",Ld=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],yd={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[b.solid,b.flat,b.outline]},Rt={showValue:!0,arrowIconName:"caret-alt-down",size:s.medium,rounded:f.medium,fillMode:b.solid},Se=e=>{let{size:t=Rt.size,rounded:o=Rt.rounded,fillMode:r=Rt.fillMode,arrowIconName:i=Rt.arrowIconName,showValue:n=Rt.showValue,valueIconName:d,prefix:m,suffix:u,value:h,placeholder:g,hover:L,focus:c,valid:k,invalid:v,required:S,loading:R,disabled:G,readonly:z,popup:q,opened:ie,adaptive:$t,adaptiveSettings:_t,adaptiveTitle:Eo,adaptiveSubtitle:Oo,adaptiveFilter:Qr,...Yr}=e;return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(ve,{...Yr,size:t,rounded:o,fillMode:r,hover:L,focus:c,valid:k,invalid:v,required:S,loading:R,disabled:G,readonly:z,className:a(e.className,Fs,{"k-icon-picker":!n&&d}),children:[(0,$.jsx)(Ie,{children:m}),(0,$.jsx)(it,{placeholder:g,value:h,showValue:n,valueIconName:d}),(0,$.jsx)(ce,{valid:k,invalid:v,loading:R,disabled:G}),(0,$.jsx)(be,{loading:R,disabled:G}),(0,$.jsx)(Re,{children:u}),(0,$.jsx)(N,{className:"k-input-button",icon:i,rounded:null,size:e.size,fillMode:e.fillMode})]}),ie&&q&&(0,$.jsx)(j,{className:"k-list-container k-dropdownlist-popup",children:q}),$t&&(0,$.jsx)(Ce,{adaptive:!0,..._t,header:(0,$.jsx)(fe,{actionsEnd:(0,$.jsx)(N,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Qr,inputValue:h,inputPlaceholder:g,title:Eo,subtitle:Oo}),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"})]})})})]})};Se.states=Ld;Se.options=yd;Se.className=Fs;Se.defaultOptions=Rt;var Cd=require("react/jsx-runtime");var Xs=require("react/jsx-runtime");var La=require("react/jsx-runtime");var Sd=require("react/jsx-runtime");var Js=require("react/jsx-runtime");var Ws=require("react/jsx-runtime");var ya=require("react/jsx-runtime");var Ca=require("react/jsx-runtime");var eo=require("react/jsx-runtime"),Us="k-spin-button",wd=[],Md={size:[s.small,s.medium,s.large],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link]},Sa={size:s.medium,fillMode:b.solid},At=e=>{let{size:t=Sa.size,fillMode:o=Sa.fillMode,...r}=e;return(0,eo.jsxs)("span",{...r,className:a(Us,e.className),children:[(0,eo.jsx)(N,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),(0,eo.jsx)(N,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};At.states=wd;At.options=Md;At.className=Us;At.defaultOptions=Sa;var te=require("react/jsx-runtime"),qs="k-numerictextbox",Id=[l.hover,l.focus,l.valid,l.invalid,l.loading,l.required,l.disabled,l.readonly],Rd={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[b.solid,b.flat,b.outline]},bt={showSpinButton:!0,showClearButton:!0,size:E.defaultOptions.size,rounded:E.defaultOptions.rounded,fillMode:E.defaultOptions.fillMode,separators:!0},K=e=>{let{size:t=bt.size,rounded:o=bt.rounded,fillMode:r=bt.fillMode,separators:i=bt.separators,showClearButton:n=bt.showClearButton,showSpinButton:d=bt.showSpinButton,prefix:m,suffix:u,value:h,placeholder:g,hover:L,focus:c,valid:k,invalid:v,required:S,loading:R,disabled:G,readonly:z,...q}=e;return(0,te.jsxs)(E,{...q,size:t,rounded:o,fillMode:r,hover:L,focus:c,valid:k,invalid:v,required:S,loading:R,disabled:G,readonly:z,className:a(e.className,qs),children:[m&&(0,te.jsxs)(te.Fragment,{children:[(0,te.jsx)(Ie,{children:m}),i&&(0,te.jsx)(Oe,{})]}),(0,te.jsx)(ye,{placeholder:g,value:h}),(0,te.jsx)(ce,{valid:k,invalid:v,loading:R,disabled:G}),(0,te.jsx)(be,{loading:R,disabled:G}),n&&(0,te.jsx)(Le,{loading:R,disabled:G,readonly:z,value:h}),u&&(0,te.jsxs)(te.Fragment,{children:[i&&(0,te.jsx)(Oe,{}),(0,te.jsx)(Re,{children:u})]}),d&&(0,te.jsx)(At,{className:"k-input-spinner",size:t,fillMode:r})]})};K.states=Id;K.options=Rd;K.className=qs;K.defaultOptions=bt;var Ad=require("react/jsx-runtime");var Ys=require("react/jsx-runtime");var Zs=require("react/jsx-runtime");var B=require("react/jsx-runtime"),Mo="k-pager",Gd=[l.focus,l.disabled],Hd={size:[s.small,s.medium,s.large]},ne={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=ne.responsive,size:o=ne.size,pagerSizeInfo:r=ne.pagerSizeInfo,pageTitleInfo:i=ne.pageTitleInfo,maxPagesInfo:n=ne.maxPagesInfo,itemsPerPage:d=ne.itemsPerPage,maxPages:m=ne.maxPages,currentPage:u=ne.currentPage,previousNext:h=ne.previousNext,type:g=ne.type,pageSizes:L=ne.pageSizes,refresh:c=ne.refresh,info:k=ne.info,focus:v,disabled:S,dir:R,...G}=e,z=[],q=[];for(let ie=1;ie<=m;ie++)z.push((0,B.jsx)(N,{selected:ie===u,fillMode:"flat",themeColor:"primary",size:o,rounded:null,children:ie})),q.push((0,B.jsx)("option",{selected:ie===u,children:ie}));return(0,B.jsxs)("div",{dir:R,...G,className:a(e.className,Mo,C(Mo,{size:o}),w(Mo,{focus:v,disabled:S}),{"k-pager-responsive":t}),children:[(0,B.jsxs)("div",{className:a("k-pager-numbers-wrap"),children:[h&&(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(N,{className:a("k-pager-nav","k-pager-first"),disabled:u===1&&!S,fillMode:"flat",size:o,rounded:null,icon:R==="rtl"?"caret-alt-to-right":"caret-alt-to-left"}),(0,B.jsx)(N,{className:a("k-pager-nav"),disabled:u===1&&!S,fillMode:"flat",size:o,rounded:null,icon:R==="rtl"?"caret-alt-right":"caret-alt-left"})]}),g==="numeric"&&(0,B.jsx)("div",{className:a("k-pager-numbers"),children:z}),g==="input"&&(0,B.jsxs)("span",{className:a("k-pager-input"),children:[i&&(0,B.jsx)("span",{children:"Page"}),(0,B.jsx)(K,{value:`${u}`,size:o,showSpinButton:!1,showClearButton:!1}),(0,B.jsx)("span",{children:n&&`of ${m}`})]}),h&&(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(N,{className:a("k-pager-nav"),disabled:u===m&&!S,fillMode:"flat",size:o,rounded:null,icon:R==="rtl"?"caret-alt-left":"caret-alt-right"}),(0,B.jsx)(N,{className:a("k-pager-nav","k-pager-last"),disabled:u===m&&!S,fillMode:"flat",size:o,rounded:null,icon:R==="rtl"?"caret-alt-to-left":"caret-alt-to-right"})]})]}),L&&(0,B.jsxs)("span",{className:a("k-pager-sizes"),children:[(0,B.jsx)(Se,{value:`${d}`,size:o}),r&&(0,B.jsx)("span",{children:"items per page"})]}),c&&(0,B.jsx)(N,{className:a("k-pager-refresh"),fillMode:"flat",size:o,rounded:null,icon:"arrow-rotate-cw"}),k&&(0,B.jsx)("span",{className:a("k-pager-info"),children:k})]})};Ye.states=Gd;Ye.options=Hd;Ye.className=Mo;Ye.defaultOptions=ne;var Pd=require("react/jsx-runtime");var zd=require("react/jsx-runtime");var Bd=require("react/jsx-runtime");var Ed=require("react/jsx-runtime");var er=require("react/jsx-runtime"),to="k-button-group",Od=[l.disabled],Kd={fillMode:[b.solid,b.flat,b.outline,b.clear,b.link]},js={fillMode:b.solid},V=e=>{let{fillMode:t=js.fillMode,disabled:o,stretched:r,...i}=e;return(0,er.jsx)("div",{...i,className:a(e.className,to,C(to,{fillMode:t}),w(to,{disabled:o}),{[`${to}-stretched`]:r}),children:e.children})};V.states=Od;V.options=Kd;V.className=to;V.defaultOptions=js;var wa=require("react/jsx-runtime");var Ma=require("react/jsx-runtime");var Ia=require("react/jsx-runtime");var Ra=require("react/jsx-runtime");var oo=require("react/jsx-runtime"),tr="k-color-preview",Dd=[],$d={},Ze=e=>{let{color:t,iconName:o,...r}=e;return(0,oo.jsxs)("span",{...r,className:a(e.className,tr,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,oo.jsx)(x,{icon:o,className:"k-color-preview-icon"}),(0,oo.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ze.states=Dd;Ze.options=$d;Ze.className=tr;var we=require("react/jsx-runtime"),ao="k-slider",_d=[l.hover,l.focus,l.active,l.disabled,l.readonly],Vd={},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:h,active:g,trackStyle:L,dir:c,...k}=e,v,S;return o==="horizontal"?(v=c==="rtl"?"caret-alt-left":"caret-alt-right",S=c==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(v="caret-alt-up",S="caret-alt-down"),(0,we.jsxs)("div",{...k,className:a(ao,e.className,w(ao,{readonly:r,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:c,children:[d&&(0,we.jsx)(N,{className:"k-button-decrease",rounded:"full",icon:S}),(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:L,children:[(0,we.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,we.jsx)("span",{className:a("k-draghandle","k-draghandle-start",w(ao,{hover:u,focus:h,active:g}))}),(0,we.jsx)("span",{className:a("k-draghandle",`k-draghandle-${n}`,w(ao,{hover:u,focus:h,active:g}))})]})]}),d&&(0,we.jsx)(N,{className:"k-button-increase",rounded:"full",icon:v})]})};he.states=_d;he.options=Vd;he.className=ao;he.defaultOptions=je;var Aa=require("react/jsx-runtime"),or="k-tick",Fd=[],Xd={},ar={label:!1},et=e=>{let{style:t,label:o=ar.label,orientation:r,large:i,text:n,...d}=e;return(0,Aa.jsx)("li",{...d,className:a(e.className,or,{[`k-tick-${r}`]:r,"k-tick-large":i}),style:t,children:o&&(0,Aa.jsx)("span",{className:"k-label",children:n})})};et.states=Fd;et.options=Xd;et.className=or;et.defaultOptions=ar;var Ga=require("react/jsx-runtime");var Ha=require("react/jsx-runtime");var Pa=require("react/jsx-runtime");var za=require("react/jsx-runtime");var lr=require("react/jsx-runtime"),Ba=e=>(0,lr.jsx)(he,{type:"gradient",showButtons:!1,showTicks:!1,...e});var sr=require("react/jsx-runtime"),Ea=e=>(0,sr.jsx)(he,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});var y=require("react/jsx-runtime"),rr="k-colorgradient-inputs",Jd=[],Wd={size:[s.small,s.medium,s.large]},ir={mode:"rgba",size:s.medium},Gt=e=>{let{mode:t=ir.mode,size:o,...r}=e;return(0,y.jsxs)("div",{...r,className:a(rr,"k-hstack"),children:[(0,y.jsx)("div",{className:"k-vstack",children:(0,y.jsx)(N,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),t==="rgba"&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,y.jsx)(y.Fragment,{children:(0,y.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,y.jsx)(Ae,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Gt.states=Jd;Gt.options=Wd;Gt.className=rr;Gt.defaultOptions=ir;var re=require("react/jsx-runtime"),nr="k-colorgradient-color-contrast",Ud=[],qd={},Qd={},Ht=()=>(0,re.jsxs)("div",{className:a(nr,"k-vbox"),children:[(0,re.jsxs)("div",{className:"k-contrast-ratio",children:[(0,re.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,re.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,re.jsx)(x,{icon:"check"}),(0,re.jsx)(x,{icon:"check"})]})]}),(0,re.jsxs)("div",{children:[(0,re.jsx)("span",{children:"AA: 4.5"}),(0,re.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,re.jsx)(x,{icon:"check"})]})]}),(0,re.jsxs)("div",{children:[(0,re.jsx)("span",{children:"AAA: 7.0"}),(0,re.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,re.jsx)(x,{icon:"x"})]})]})]});Ht.states=Ud;Ht.options=qd;Ht.className=nr;Ht.defaultOptions=Qd;var W=require("react/jsx-runtime"),Io="k-colorgradient",Yd=[l.hover,l.focus,l.readonly,l.disabled],Zd={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:h=Me.contrast,dir:g,hover:L,focus:c,hoverHandle:k,focusHandle:v,canvasOrientation:S=Me.canvasOrientation,...R}=e;return(0,W.jsxs)("div",{...R,className:a(e.className,Io,C(Io,{size:t}),w(Io,{hover:L,focus:c,readonly:r,disabled:i})),dir:g,children:[!S||S==="horizontal"&&(0,W.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,W.jsx)("div",{className:"k-hsv-rectangle",style:n,children:(0,W.jsx)("div",{className:"k-hsv-gradient",children:(0,W.jsx)("div",{className:a("k-hsv-draghandle","k-draghandle",{"k-hover":k,"k-focus":v}),style:d})})}),(0,W.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,W.jsx)(Ea,{className:"k-hue-slider",hover:k,focus:v}),o!=="rgb"&&o!=="hsv"&&(0,W.jsx)(Ea,{className:"k-alpha-slider",hover:k,focus:v,trackStyle:m})]})]}),S==="vertical"&&(0,W.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,W.jsx)("div",{className:"k-hsv-rectangle",style:n,children:(0,W.jsx)("div",{className:"k-hsv-gradient",children:(0,W.jsx)("div",{className:a("k-hsv-draghandle","k-draghandle",{"k-hover":k,"k-focus":v}),style:d})})}),(0,W.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,W.jsx)(Ba,{className:"k-hue-slider",hover:k,focus:v}),o!=="rgb"&&o!=="hsv"&&(0,W.jsx)(Ba,{className:"k-alpha-slider",hover:k,focus:v,trackStyle:u})]})]}),(0,W.jsx)(Gt,{mode:e.mode,size:t}),h&&(0,W.jsx)(Ht,{})]})};tt.states=Yd;tt.options=Zd;tt.className=Io;tt.defaultOptions=Me;var jd=require("react/jsx-runtime");var ec=require("react/jsx-runtime");var cr=require("react/jsx-runtime"),dr=e=>(0,cr.jsx)("tr",{children:e.children});var pr=require("react/jsx-runtime"),Oa="k-colorpalette-tile",tc=[l.hover,l.focus,l.selected],oc={},lo=e=>{let{color:t,tileSize:o,hover:r,focus:i,selected:n,...d}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,pr.jsx)("td",{...d,className:a(e.className,Oa,w(Oa,{hover:r,focus:i,selected:n})),style:m})};lo.states=tc;lo.options=oc;lo.className=Oa;var Pt=require("react/jsx-runtime"),Ro="k-colorpalette",ac=[l.disabled],lc={size:[s.small,s.medium,s.large]},Ka={columns:10,size:s.medium},zt=e=>{let{size:t=Ka.size,palette:o,columns:r=Ka.columns,tileSize:i,disabled:n,...d}=e,m=[];if(o){let u=r||o.columns,h=o.colors?o.colors:o;Array.isArray(h)&&Array.from({length:Math.ceil(h.length/u)},(g,L)=>{let c=[];h.slice(L*u,(L+1)*u).map((v,S)=>{c.push((0,Pt.jsx)(lo,{color:v,tileSize:i},S))});let k=(0,Pt.jsx)(dr,{children:c},L);m.push(k)})}return(0,Pt.jsx)("div",{...d,className:a(e.className,Ro,w(Ro,{disabled:n}),C(Ro,{size:t})),children:(0,Pt.jsx)("table",{className:"k-colorpalette-table",children:(0,Pt.jsx)("tbody",{children:m.length>0?m:e.children})})})};zt.states=ac;zt.options=lc;zt.className=Ro;zt.defaultOptions=Ka;var Da={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7e