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