UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 76.9 kB
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 v=(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"}),C=(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"};import{jsx as Ss,jsxs as ws}from"react/jsx-runtime";var ao="k-grid",ys=[],Cs={size:[s.small,s.medium,s.large]},Ao={size:s.medium,pagerPosition:"bottom"},K=e=>{let{size:t=Ao.size,pagerPosition:o=Ao.pagerPosition,toolbar:r,pager:n,groupingHeader:i,gridSelectionAggregates:d,_renderAriaRoot:m,resizable:u,...T}=e;return ws("div",{...T,className:a(e.className,ao,{[`${ao}-resizable`]:u},v(ao,{size:t})),children:[r,o==="top"&&n,i,e.children&&m?Ss("div",{className:"k-grid-aria-root",children:e.children}):e.children,d,o==="bottom"&&n]})};K.states=ys;K.options=Cs;K.className=ao;K.defaultOptions=Ao;import{jsx as Yd}from"react/jsx-runtime";import{jsx as tc,jsxs as oc}from"react/jsx-runtime";import{jsx as Rs}from"react/jsx-runtime";var Va="k-data-table",Ms=[],Is={size:[s.small,s.medium,s.large]},Fa={size:s.medium},Fe=e=>{let{size:t=Fa.size,...o}=e;return Rs("div",{...o,className:a(e.className,Va,v("k-table",{size:t})),children:e.children})};Fe.states=Ms;Fe.options=Is;Fe.className=Va;Fe.defaultOptions=Fa;import{jsx as cc}from"react/jsx-runtime";import{jsx as bc}from"react/jsx-runtime";import{jsx as xc}from"react/jsx-runtime";import{jsx as Ps}from"react/jsx-runtime";var Go="k-table",As=[],Gs={size:[s.small,s.medium,s.large]},Hs={},he=e=>{let{size:t,...o}=e;return Ps("table",{...o,className:a(e.className,Go,v(Go,{size:t})),children:e.children})};he.states=As;he.options=Gs;he.className=Go;he.defaultOptions=Hs;import{jsx as Os}from"react/jsx-runtime";var Ho="k-table-list",zs=[],Bs={size:[s.small,s.medium,s.large]},Es={},it=e=>{let{size:t,virtualization:o,...r}=e;return Os("ul",{...r,className:a(e.className,"k-table",Ho,v(Ho,{size:t}),{"k-virtual-table":o}),children:e.children})};it.states=zs;it.options=Bs;it.className=Ho;it.defaultOptions=Es;import{jsx as Mc}from"react/jsx-runtime";import{jsx as Gc}from"react/jsx-runtime";import{jsx as Bc}from"react/jsx-runtime";import{jsx as Ds}from"react/jsx-runtime";var Po="k-table-row",Ks=[l.hover,l.focus,l.selected,l.disabled,l.highlighted],z=e=>{let{hover:t,focus:o,selected:r,highlighted:n,disabled:i,alt:d,...m}=e;return Ds("tr",{...m,className:a(e.className,Po,{"k-table-alt-row":d},C(Po,{hover:t,focus:o,disabled:i,selected:r,highlighted:n})),children:e.children})};z.states=Ks;z.className=Po;import{jsx as _s}from"react/jsx-runtime";var zo="k-table-row",$s=[l.hover,l.focus,l.selected,l.disabled],lo=e=>{let{hover:t,focus:o,selected:r,disabled:n,alt:i,...d}=e;return _s("li",{...d,className:a(e.className,zo,{"k-table-alt-row":i},C(zo,{hover:t,focus:o,disabled:n,selected:r})),children:e.children})};lo.states=$s;lo.className=zo;import{jsx as Fs}from"react/jsx-runtime";var Vs="k-table-th",nt=e=>{let{text:t,colspan:o,rowspan:r,...n}=e,i=t||e.children;return Fs("th",{colSpan:o,rowSpan:r,...n,className:a(e.className,Vs),children:i})};import{jsx as qc}from"react/jsx-runtime";import{jsx as Js}from"react/jsx-runtime";var Bo="k-table-td",Xs=[l.focus,l.selected,l.highlighted],B=e=>{let{focus:t,selected:o,highlighted:r,text:n,colspan:i,rowspan:d,...m}=e,u=n||e.children;return Js("td",{colSpan:i,rowSpan:d,...m,className:a(e.className,Bo,C(Bo,{focus:t,selected:o,highlighted:r})),children:u})};B.states=Xs;B.className=Bo;import{jsx as op}from"react/jsx-runtime";import{jsx as rp}from"react/jsx-runtime";import{jsx as cp}from"react/jsx-runtime";import{jsx as bp}from"react/jsx-runtime";import{jsx as xp}from"react/jsx-runtime";import{jsx as Cp,jsxs as Sp}from"react/jsx-runtime";import{jsx as Rp,jsxs as Ap}from"react/jsx-runtime";import{jsx as zp,jsxs as Bp}from"react/jsx-runtime";import{Fragment as _p,jsx as Dp,jsxs as $p}from"react/jsx-runtime";import{jsx as xm}from"react/jsx-runtime";import{Fragment as er,jsx as Wa}from"react/jsx-runtime";var Eo="k-icon k-font-icon",Ys=[],Zs={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]},js={},Gt=e=>{let{size:t,themeColor:o,icon:r,rotate:n,flip:i,...d}=e;return r?Wa("span",{...d,className:a(e.className,Eo,v(Eo,{size:t}),{[`k-i-${r}`]:r,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"})}):Wa(er,{})};Gt.states=Ys;Gt.options=Zs;Gt.className=Eo;Gt.defaultOptions=js;var Ua=Gt;import{Fragment as ar,jsx as so}from"react/jsx-runtime";var Oo="k-icon k-svg-icon",tr=[],or={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]},qa={viewBox:"0 0 24 24"},Ht=e=>{let{size:t,themeColor:o,rotate:r,flip:n,viewBox:i=qa.viewBox,icon:d,...m}=e;if(!d)return so(ar,{});d==="none"&&{...m,className:a(e.className,Oo,"k-none")};let u=typeof d=="object"&&d.name&&d.name;return so("span",{...m,className:a(e.className,Oo,v("k-icon",{size:t}),{[`k-svg-i-${u}`]:u,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),children:so("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof d=="object"?d.viewBox:i,dangerouslySetInnerHTML:typeof d=="object"?{__html:d.content}:void 0,children:d?void 0:e.children})})};Ht.states=tr;Ht.options=or;Ht.className=Oo;Ht.defaultOptions=qa;var Ko=Ht;import*as Qa from"@progress/kendo-svg-icons";import{Fragment as Ya,jsx as Pt}from"react/jsx-runtime";var lr=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),sr=[],rr={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]},Do={viewBox:"0 0 24 24",type:"svg"},L=e=>{let{size:t,themeColor:o,icon:r,type:n=Do.type,rotate:i,flip:d,viewBox:m=Do.viewBox,...u}=e;if(!r)return Pt(Ya,{});if(n==="svg"){if(r==="none")return Pt(Ko,{...u,icon:r,size:t});let T=lr(`${r}-icon`);return Qa[T]?Pt(Ko,{...u,icon:Qa[T],size:t,themeColor:o,rotate:i,flip:d,viewBox:m}):Pt(Ya,{})}return Pt(Ua,{...u,icon:r,size:t,themeColor:o,rotate:i,flip:d})};L.states=sr;L.options=rr;L.defaultOptions=Do;import{jsx as Xe,jsxs as $o}from"react/jsx-runtime";var _o="k-header",ir=[l.hover,l.focus,l.active],Za={sortIcon:"sort-asc-small"},$=e=>{let{menu:t,sortable:o,filterable:r,sticky:n,resizable:i,columnTitle:d,hover:m,focus:u,active:T,sortIcon:x=Za.sortIcon,sortOrder:k,...c}=e;return $o(nt,{...c,className:a(e.className,_o,{"k-filterable":t||r,"k-sorted":o,"k-grid-header-sticky":n,"k-touch-action-none":i},C(_o,{hover:m,focus:u,active:T})),children:[d&&$o("span",{className:"k-cell-inner",children:[$o("span",{className:"k-link",children:[Xe("span",{className:"k-column-title",children:d}),o&&Xe("span",{className:"k-sort-icon",children:Xe(L,{icon:x})}),k&&Xe("span",{className:"k-sort-order",children:k})]}),t&&Xe("a",{href:"#",className:a("k-grid-header-menu",{"k-active":T,"k-grid-filter-menu":t==="filter","k-grid-column-menu":t==="column"}),children:Xe(L,{icon:t==="filter"?"filter":"more-vertical"})})]}),e.children,i&&Xe("span",{className:"k-column-resizer k-touch-action-none"})]})};$.states=ir;$.className=_o;$.defaultOptions=Za;import{jsx as Vm}from"react/jsx-runtime";import{jsx as Wm}from"react/jsx-runtime";import{jsx as jm}from"react/jsx-runtime";import{jsx as au}from"react/jsx-runtime";import{jsx as du}from"react/jsx-runtime";import{Fragment as cr,jsx as zt,jsxs as ja}from"react/jsx-runtime";var ro="k-button",nr=[l.hover,l.focus,l.active,l.selected,l.disabled],dr={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]},Je={size:s.medium,rounded:f.medium,fillMode:b.solid,themeColor:p.base,showArrow:!1,arrowIconName:"caret-alt-down"},h=e=>{let{size:t=Je.size,rounded:o=Je.rounded,fillMode:r=Je.fillMode,themeColor:n=Je.themeColor,showArrow:i=Je.showArrow,arrowIconName:d=Je.arrowIconName,hover:m,focus:u,active:T,selected:x,disabled:k,icon:c,text:N,iconClassName:g,...y}=e,S=c!==void 0,M=e.children!==void 0;return ja("button",{...y,className:a(e.className,ro,v(ro,{size:t,rounded:o,fillMode:r,themeColor:n}),C(ro,{hover:m,focus:u,active:T,disabled:k,selected:x}),{"k-icon-button":!N&&!M&&S}),children:[c&&zt(L,{className:a(g,"k-button-icon"),icon:c}),N?ja(cr,{children:[N&&zt("span",{className:"k-button-text",children:N}),e.children]}):e.children&&zt("span",{className:"k-button-text",children:e.children}),i&&zt("span",{className:"k-menu-button-arrow k-button-arrow",children:zt(L,{icon:d})})]})};h.states=nr;h.options=dr;h.className=ro;h.defaultOptions=Je;import{jsx as pr}from"react/jsx-runtime";var io=e=>pr(h,{icon:"folder",...e,children:void 0});import{jsx as mr}from"react/jsx-runtime";var Vo=e=>mr(h,{icon:"folder",children:"Button",...e});import{jsx as Lu}from"react/jsx-runtime";import{jsx as fr}from"react/jsx-runtime";var no="k-input",ur=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],br={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[b.solid,b.flat,b.outline]},co={size:s.medium,rounded:s.medium,fillMode:b.solid},G=e=>{let{hover:t,focus:o,disabled:r,invalid:n,valid:i,loading:d,readonly:m,size:u=co.size,rounded:T=co.rounded,fillMode:x=co.fillMode,...k}=e;return fr("span",{...k,className:a(e.className,no,v(no,{size:u,rounded:T,fillMode:x}),C(no,{hover:t,focus:o,disabled:r,invalid:n,valid:i,loading:d,readonly:m}))})};G.states=ur;G.options=br;G.className=no;G.defaultOptions=co;import{jsx as xr}from"react/jsx-runtime";var po="k-picker",Tr=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],hr={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[b.solid,b.flat,b.outline]},mo={size:s.medium,rounded:f.medium,fillMode:b.solid},pe=e=>{let{hover:t,focus:o,disabled:r,invalid:n,valid:i,loading:d,readonly:m,size:u=mo.size,rounded:T=mo.rounded,fillMode:x=mo.fillMode,...k}=e;return xr("span",{...k,className:a(e.className,po,v(po,{size:u,rounded:T,fillMode:x}),C(po,{hover:t,focus:o,disabled:r,invalid:n,valid:i,loading:d,readonly:m})),children:e.children})};pe.states=Tr;pe.options=hr;pe.className=po;pe.defaultOptions=mo;import{Fragment as kr,jsx as Fo}from"react/jsx-runtime";var el="k-clear-value",Nr=[l.disabled,l.loading,l.readonly],gr={},me=e=>{let{disabled:t,loading:o,readonly:r,value:n}=e;return t||r||o||!n?Fo(kr,{}):Fo("span",{className:a(e.className,el),children:Fo(L,{icon:"x"})})};me.states=Nr;me.options=gr;me.className=el;import{jsx as yr}from"react/jsx-runtime";var Xo="k-input-inner",vr=[],Lr={},uo={type:"text",autocomplete:"off",value:"",placeholder:""},ue=e=>{let{value:t=uo.value,type:o=uo.type,placeholder:r=uo.placeholder,autocomplete:n=uo.autocomplete,...i}=e;return yr("input",{...i,type:o,className:a(e.className,Xo,v(Xo,e)),placeholder:r,autoComplete:n,defaultValue:t})};ue.states=vr;ue.options=Lr;ue.className=Xo;import{jsx as tl,jsxs as wr}from"react/jsx-runtime";var Jo="k-input-inner",Cr=[],Sr={},We=e=>{let{value:t,placeholder:o,showValue:r,valueIcon:n,valueIconName:i,...d}=e;return wr("span",{...d,className:a(e.className,Jo,v(Jo,e)),children:[n,!n&&i&&tl(L,{className:"k-input-value-icon",icon:i}),r&&!t&&o,r&&t&&tl("span",{className:"k-input-value-text",children:t})]})};We.states=Cr;We.options=Sr;We.className=Jo;import{jsx as Rr}from"react/jsx-runtime";var Wo="k-input-inner",Mr=[],Ir={},ol={value:"",placeholder:""},Uo=e=>{let{value:t=ol.value,placeholder:o=ol.placeholder,rows:r,...n}=e;return Rr("textarea",{...n,className:a(e.className,Wo,v(Wo,e)),placeholder:o,rows:r,defaultValue:t})};Uo.states=Mr;Uo.options=Ir;Uo.className=Wo;import{Fragment as Gr,jsx as al}from"react/jsx-runtime";var ll="k-input-loading-icon",Ar=[l.disabled,l.loading],le=e=>{let{disabled:t,loading:o}=e;return t||!o?al(Gr,{}):al("span",{className:a(e.className,ll,"k-icon k-i-loading")})};le.states=Ar;le.className=ll;import{Fragment as zr,jsx as sl}from"react/jsx-runtime";var rl="k-input-validation-icon",Hr=[l.valid,l.invalid,l.disabled,l.loading],Pr={},ae=e=>{let{valid:t,invalid:o,disabled:r,loading:n}=e,i=o?"warning-circle":"check-circle";return r||n||!!!(t||o)?sl(zr,{}):sl(L,{className:a(rl),icon:i})};ae.states=Hr;ae.options=Pr;ae.className=rl;import{Fragment as Or,jsx as il}from"react/jsx-runtime";var Br="k-input-prefix",Er={direction:"horizontal"},xe=e=>{let{direction:t=Er.direction,...o}=e;return e.children?il("span",{...o,className:a(Br,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):il(Or,{})};import{Fragment as $r,jsx as nl}from"react/jsx-runtime";var Kr="k-input-suffix",Dr={direction:"horizontal"},Ne=e=>{let{direction:t=Dr.direction,...o}=e;return e.children?nl("span",{...o,className:a(Kr,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):nl($r,{})};import{jsx as pb}from"react/jsx-runtime";import{jsx as fb}from"react/jsx-runtime";import{jsx as Vr}from"react/jsx-runtime";var dl="k-input-separator",_r={direction:"vertical"},ye=e=>{let{direction:t=_r.direction,...o}=e;return Vr("span",{...o,className:a(dl,e.className,{[`${dl}-${t}`]:t})})};import{jsx as cl}from"react/jsx-runtime";var pl="k-animation-container",Fr=[],Xr={},ml={positionMode:"absolute"},He=e=>{let{positionMode:t=ml.positionMode,animationStyle:o,offset:r,...n}=e;return cl("div",{...n,style:{...r,...e.style},className:a(e.className,pl,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:cl("div",{className:"k-child-animation-container",style:o,children:e.children})})};He.states=Fr;He.options=Xr;He.className=pl;He.defaultOptions=ml;import{jsx as ul}from"react/jsx-runtime";var bl="k-popup",Jr=[],Wr={},fl={positionMode:"absolute"},X=e=>{let{offset:t,positionMode:o=fl.positionMode,animationStyle:r,...n}=e;return ul(He,{positionMode:o,offset:t,animationStyle:r,children:ul("div",{...n,className:a(e.className,bl),children:e.children})})};X.states=Jr;X.options=Wr;X.className=bl;X.defaultOptions=fl;import{jsx as Qr}from"react/jsx-runtime";var bo="k-actions",Ur=[],qr={},qo={alignment:"start",orientation:"horizontal"},Pe=e=>{let{alignment:t=qo.alignment,orientation:o=qo.orientation,...r}=e;return Qr("div",{...r,className:a(bo,{[`${bo}-${t}`]:t,[`${bo}-${o}`]:o},e.className),children:e.children})};Pe.states=Ur;Pe.options=qr;Pe.className=bo;Pe.defaultOptions=qo;import{jsx as Zr}from"react/jsx-runtime";var Yr="k-actionsheet-footer",Tl={alignment:"stretched",orientation:"horizontal"},Bt=e=>{let{alignment:t=Tl.alignment,orientation:o=Tl.orientation,template:r,as:n=r?"div":Pe,...i}=e;return Zr(n,{...i,...!r&&{alignment:t,orientation:o},className:a(e.className,Yr),children:e.children})};import{jsx as Et,jsxs as ti}from"react/jsx-runtime";var hl="k-searchbox",jr=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],ei={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[b.solid,b.flat,b.outline]},Qo={showIcon:!0,icon:"search",size:G.defaultOptions.size,rounded:G.defaultOptions.rounded,fillMode:G.defaultOptions.fillMode},Ce=e=>{let{value:t,placeholder:o,size:r,rounded:n,fillMode:i,hover:d,focus:m,valid:u,invalid:T,required:x,loading:k,disabled:c,showIcon:N=Qo.showIcon,icon:g=Qo.icon,...y}=e;return ti(G,{...y,size:r,rounded:n,fillMode:i,hover:d,focus:m,valid:u,invalid:T,required:x,loading:k,disabled:c,className:a(e.className,hl),children:[N&&Et(L,{className:"k-input-icon",icon:g}),Et(ue,{placeholder:o,value:t}),Et(le,{...e}),Et(ae,{...e}),Et(me,{...e})]})};Ce.states=jr;Ce.options=ei;Ce.className=hl;Ce.defaultOptions=Qo;import{jsx as df}from"react/jsx-runtime";import{Fragment as xl,jsx as ze,jsxs as Yo}from"react/jsx-runtime";var Nl="k-textbox",oi=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],ai={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[b.solid,b.flat,b.outline]},Ue={showClearButton:!0,showValidationIcon:!0,size:G.defaultOptions.size,rounded:G.defaultOptions.rounded,fillMode:G.defaultOptions.fillMode,separators:!0},ge=e=>{let{size:t=Ue.size,rounded:o=Ue.rounded,fillMode:r=Ue.fillMode,separators:n=Ue.separators,showClearButton:i=Ue.showClearButton,showValidationIcon:d=Ue.showValidationIcon,prefix:m,suffix:u,type:T,value:x,placeholder:k,hover:c,focus:N,valid:g,invalid:y,required:S,loading:M,disabled:A,readonly:V,...W}=e;return Yo(G,{...W,size:t,rounded:o,fillMode:r,hover:c,focus:N,valid:g,invalid:y,required:S,loading:M,disabled:A,readonly:V,className:a(e.className,Nl),children:[m&&Yo(xl,{children:[ze(xe,{children:m}),n&&ze(ye,{})]}),ze(ue,{placeholder:k,value:x,type:T}),d&&ze(ae,{valid:g,invalid:y,loading:M,disabled:A}),ze(le,{loading:M,disabled:A}),i&&ze(me,{loading:M,disabled:A,readonly:V,value:x}),u&&Yo(xl,{children:[n&&ze(ye,{}),ze(Ne,{children:u})]})]})};ge.states=oi;ge.options=ai;ge.className=Nl;ge.defaultOptions=Ue;import{jsx as gf}from"react/jsx-runtime";import{Fragment as Sf,jsx as Cf}from"react/jsx-runtime";import{Fragment as Hf,jsx as Gf}from"react/jsx-runtime";import{jsx as Be,jsxs as Zo}from"react/jsx-runtime";var kl="k-actionsheet-titlebar",li={},se=e=>{let{title:t,subtitle:o,actionsStart:r,actionsEnd:n,filter:i,input:d,inputValue:m,inputPlaceholder:u,adaptive:T,children:x,...k}=e;return Zo("div",{...k,className:a(e.className,kl),children:[Zo("div",{className:"k-actionsheet-titlebar-group",children:[r&&Be("div",{className:"k-actionsheet-actions",children:r}),!x&&Zo("div",{className:"k-actionsheet-title",children:[t&&Be("div",{className:"k-text-center",children:t}),o&&Be("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),x&&Be("div",{className:"k-actionsheet-title",children:x}),n&&Be("div",{className:"k-actionsheet-actions",children:n})]}),(d||i)&&Be("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?Be(ge,{value:m,placeholder:u,size:T?"large":"medium"}):Be(Ce,{placeholder:"Filter",size:T?"large":"medium"})})]})};se.className=kl;se.defaultOptions=li;import{jsx as jo,jsxs as ni}from"react/jsx-runtime";var ea="k-actionsheet-view",si=[],ri={},ii={},dt=e=>{let{adaptive:t,animated:o,children:r,header:n,footer:i,...d}=e,m=n?.type===se&&jo(se,{adaptive:t,...n?.props}),u=i?.type===Bt&&jo(Bt,{...i?.props});return ni("div",{...d,className:a(e.className,ea,{[`${ea}-animated`]:o}),children:[m,jo("div",{className:"k-actionsheet-content",children:r}),u]})};dt.states=si;dt.options=ri;dt.className=ea;dt.defaultOptions=ii;import{jsx as fo,jsxs as pi}from"react/jsx-runtime";var vl="k-actionsheet",di=[],ci={},Ot={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},be=e=>{let{side:t=Ot.side,fullscreen:o=Ot.fullscreen,adaptive:r=Ot.adaptive,overlay:n=Ot.overlay,template:i,children:d,header:m,footer:u,...T}=e;return pi("div",{className:"k-actionsheet-container",children:[n&&fo("div",{className:"k-overlay"}),fo(He,{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:fo("div",{...T,className:a(e.className,vl,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":r}),children:i||fo(dt,{header:m,footer:u,adaptive:r,...e,children:d})})})]})};be.states=di;be.options=ci;be.className=vl;be.defaultOptions=Ot;import{jsx as aT}from"react/jsx-runtime";import{Fragment as ui,jsx as Kt,jsxs as ta}from"react/jsx-runtime";var oa="k-actionsheet-item",mi=[l.hover,l.focus,l.selected,l.disabled],aa=e=>{let{iconName:t,text:o,description:r,hover:n,focus:i,selected:d,disabled:m,...u}=e;return ta("span",{...u,className:a(e.className,oa,C(oa,{hover:n,focus:i,selected:d,disabled:m})),children:[!e.children&&Kt(ui,{children:ta("span",{className:"k-actionsheet-action",children:[t&&Kt("span",{className:"k-icon-wrap",children:Kt(L,{className:"k-actionsheet-item-icon",icon:t})}),ta("span",{className:"k-actionsheet-item-text",children:[o&&Kt("span",{className:"k-actionsheet-item-title",children:o}),r&&Kt("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};aa.states=mi;aa.className=oa;import{jsx as mT,jsxs as uT}from"react/jsx-runtime";import{jsx as hT}from"react/jsx-runtime";import{jsx as kT}from"react/jsx-runtime";import{jsx as CT}from"react/jsx-runtime";import{jsx as fi}from"react/jsx-runtime";var bi="k-no-data",Dt=e=>fi("span",{className:a(bi,e.className),children:e.children});import{jsx as ct,jsxs as yl}from"react/jsx-runtime";var la="k-list",Ti=[],hi={size:[s.small,s.medium,s.large]},Cl={size:s.medium},H=e=>{let{size:t=Cl.size,virtualization:o,children:r,optionLabel:n,customValue:i,screenReaders:d,...m}=e,u,T,x,k,c=[];return r?r.map((N,g)=>{N.type===J?(N.props.root===!0?(u=N.props.label,N.props.children.map((y,S)=>{c.push(ct(w,{...y.props},`optChild-${S}-${new Date().getTime()}`))})):N.props.children.forEach((y,S)=>{let M="";S===0&&(M=N.props.label),c.push(ct(w,{className:S===0?"k-first":"",...y.props,groupLabel:M},`groupLabel-${S}-${new Date().getTime()}`))}),T=ct(J,{label:u,virtualization:o,children:c})):N.type===w&&(c.push(ct(w,{...N.props},`${N.type}-${g}`)),x=ct(pt,{virtualization:o,children:c}),d&&(k=yl(Dt,{className:"k-sr-only",children:[c.length," items found."]})))}):k=ct(Dt,{children:"No data found."}),yl("div",{...m,className:a(e.className,la,v(la,{size:t}),{"k-virtual-list":o}),children:[n,i,T,x,k]})};H.states=Ti;H.options=hi;H.className=la;H.defaultOptions=Cl;import{jsx as qe,jsxs as gi}from"react/jsx-runtime";var sa="k-list",xi=[],Ni={size:[s.small,s.medium,s.large]},Sl={size:s.medium},Qe=e=>{let{size:t=Sl.size,virtualization:o,children:r,...n}=e,i,d,m,u=[];return r?r.map((T,x)=>{T.type===J?(T.props.root===!0?(i=T.props.label,T.props.children.map((k,c)=>{u.push(qe(w,{...k.props},`optChild-${c}-${new Date().getTime()}`))})):(u.push(qe(wl,{...T.props,children:T.props.label},`listChild-${x}`)),T.props.children.map((k,c)=>{u.push(qe(w,{...k.props},`fwOptChild-${c}-${new Date().getTime()}`))})),d=qe(J,{label:i,virtualization:o,children:u})):T.type===w&&(u.push(qe(w,{...T.props},`${T.type}-${x}`)),m=qe(pt,{virtualization:o,children:u}))}):m=qe(Dt,{children:"No data found."}),gi("div",{...n,className:a(e.className,sa,v(sa,{size:t}),{"k-virtual-list":o}),children:[d,m]})};Qe.states=xi;Qe.options=Ni;Qe.className=sa;Qe.defaultOptions=Sl;import{jsx as Ml}from"react/jsx-runtime";var To="k-checkbox",ki=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],vi={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full]},ra={size:s.medium,rounded:f.medium},Se=e=>{let{id:t,checked:o,indeterminate:r,hover:n,focus:i,disabled:d,invalid:m,valid:u,required:T,size:x=ra.size,rounded:k=ra.rounded,...c}=e;return Ml("span",{className:"k-checkbox-wrap",children:Ml("input",{...c,id:t,type:"checkbox",defaultChecked:o,required:T,className:a(e.className,To,v(To,{size:x,rounded:k}),C(To,{hover:n,focus:i,disabled:d,invalid:m,valid:u,indeterminate:r,checked:o}))})})};Se.states=ki;Se.options=vi;Se.className=To;Se.defaultOptions=ra;import{jsx as Ci}from"react/jsx-runtime";var Il="k-checkbox-list",Li=[],yi={},Rl={layout:"vertical"},mt=e=>{let{layout:t=Rl.layout,...o}=e;return Ci("ul",{...o,className:a(e.className,Il,{[`k-list-${t}`]:t}),children:e.children})};mt.states=Li;mt.options=yi;mt.className=Il;mt.defaultOptions=Rl;import{jsx as Ii}from"react/jsx-runtime";var Al="k-checkbox-list-item",Si=[],wi={},Mi={},ut=e=>{let{...t}=e;return Ii("li",{...t,className:a(e.className,Al),children:e.children})};ut.states=Si;ut.options=wi;ut.className=Al;ut.defaultOptions=Mi;import{Fragment as ph,jsx as ch,jsxs as mh}from"react/jsx-runtime";import{Fragment as hh,jsx as Th,jsxs as xh}from"react/jsx-runtime";import{Fragment as Lh,jsx as vh,jsxs as yh}from"react/jsx-runtime";import{Fragment as Ih,jsx as Mh,jsxs as Rh}from"react/jsx-runtime";import{jsx as Ph}from"react/jsx-runtime";import{jsx as Oh}from"react/jsx-runtime";import{jsx as ho,jsxs as Hi}from"react/jsx-runtime";var na="k-list-item",Ri=[l.hover,l.focus,l.selected,l.disabled],Ai={},Gi={},w=e=>{let{text:t,groupLabel:o,group:r,showIcon:n,iconName:i,showCheckbox:d,checked:m,hover:u,focus:T,selected:x,disabled:k,...c}=e,N=t||e.children;return Hi("li",{...c,className:a(e.className,r?"k-list-group-item":na,C(na,{hover:u,focus:T,disabled:k,selected:x})),children:[d&&ho(Se,{checked:m}),n&&ho(L,{icon:i}),ho("span",{className:"k-list-item-text",children:N}),o&&o!==""&&ho("div",{className:"k-list-item-group-label",children:o})]})};w.states=Ri;w.options=Ai;w.className=na;w.defaultOptions=Gi;import{jsx as da,jsxs as zi}from"react/jsx-runtime";var Pi="k-list-content",pt=e=>{let{virtualization:t,...o}=e;return zi("div",{...o,className:a(Pi,e.className),children:[da("ul",{className:a("k-list-ul"),children:e.children}),t&&da("div",{className:"k-height-container",children:da("div",{})})]})};import{jsx as Gl}from"react/jsx-runtime";var Bi="k-list-group-sticky-header",Hl=e=>Gl("div",{className:a(Bi,e.className),children:Gl("div",{className:"k-list-header-text",children:e.children})});import{Fragment as Ei,jsx as Pl,jsxs as Oi}from"react/jsx-runtime";var J=e=>{let{virtualization:t,label:o}=e;return Oi(Ei,{children:[o&&Pl(Hl,{children:o}),e.children&&Pl(pt,{virtualization:t,children:e.children})]})};import{jsx as zl}from"react/jsx-runtime";var Ki="k-list-group-item",wl=e=>zl("li",{className:a(Ki,e.className),children:zl("span",{className:"k-list-item-text",children:e.children})});import{jsx as Vi}from"react/jsx-runtime";var ca="k-list-optionlabel",Di=[l.hover,l.focus,l.selected,l.disabled],$i={},_i={},xo=e=>{let{text:t,hover:o,focus:r,selected:n,disabled:i,...d}=e;return Vi("div",{...d,className:a(ca,C(ca,{hover:o,focus:r,selected:n,disabled:i})),children:t})};xo.states=Di;xo.options=$i;xo.className=ca;xo.defaultOptions=_i;import{jsx as Wi}from"react/jsx-runtime";var pa="k-list-custom-value",Fi=[l.hover,l.focus,l.selected,l.disabled],Xi={},Ji={},Ee=e=>{let{text:t,hover:o,focus:r,selected:n,disabled:i,...d}=e;return Wi("div",{...d,className:a(pa,C(pa,{hover:o,focus:r,selected:n,disabled:i})),children:t})};Ee.states=Fi;Ee.options=Xi;Ee.className=pa;Ee.defaultOptions=Ji;import{jsx as kx}from"react/jsx-runtime";import{jsx as Cx}from"react/jsx-runtime";import{jsx as Ix,jsxs as Rx}from"react/jsx-runtime";import{jsx as Px,jsxs as zx}from"react/jsx-runtime";import{jsx as Kx}from"react/jsx-runtime";import{jsx as Vx,jsxs as Fx}from"react/jsx-runtime";import{jsx as Ux,jsxs as qx}from"react/jsx-runtime";import{Fragment as Qi,jsx as Y,jsxs as ma}from"react/jsx-runtime";var Bl="k-dropdownlist",Ui=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],qi={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[b.solid,b.flat,b.outline]},bt={showValue:!0,arrowIconName:"caret-alt-down",size:s.medium,rounded:f.medium,fillMode:b.solid},fe=e=>{let{size:t=bt.size,rounded:o=bt.rounded,fillMode:r=bt.fillMode,arrowIconName:n=bt.arrowIconName,showValue:i=bt.showValue,valueIconName:d,prefix:m,suffix:u,value:T,placeholder:x,hover:k,focus:c,valid:N,invalid:g,required:y,loading:S,disabled:M,readonly:A,popup:V,opened:W,adaptive:Rt,adaptiveSettings:At,adaptiveTitle:Io,adaptiveSubtitle:Ro,adaptiveFilter:vs,...Ls}=e;return ma(Qi,{children:[ma(pe,{...Ls,size:t,rounded:o,fillMode:r,hover:k,focus:c,valid:N,invalid:g,required:y,loading:S,disabled:M,readonly:A,className:a(e.className,Bl,{"k-icon-picker":!i&&d}),children:[Y(xe,{children:m}),Y(We,{placeholder:x,value:T,showValue:i,valueIconName:d}),Y(ae,{valid:N,invalid:g,loading:S,disabled:M}),Y(le,{loading:S,disabled:M}),Y(Ne,{children:u}),Y(h,{className:"k-input-button",icon:n,rounded:null,size:e.size,fillMode:e.fillMode})]}),W&&V&&Y(X,{className:"k-list-container k-dropdownlist-popup",children:V}),Rt&&Y(be,{adaptive:!0,...At,header:Y(se,{actionsEnd:Y(h,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:vs,inputValue:T,inputPlaceholder:x,title:Io,subtitle:Ro}),children:Y("div",{className:"k-list-container",children:ma(H,{size:"large",children:[Y(w,{text:"List item"}),Y(w,{text:"List item"}),Y(w,{text:"List item"})]})})})]})};fe.states=Ui;fe.options=qi;fe.className=Bl;fe.defaultOptions=bt;import{jsx as CN}from"react/jsx-runtime";import{jsx as RN,jsxs as AN}from"react/jsx-runtime";import{Fragment as KN,jsx as EN,jsxs as ON}from"react/jsx-runtime";import{jsx as VN}from"react/jsx-runtime";import{jsx as UN,jsxs as qN}from"react/jsx-runtime";import{jsx as eg,jsxs as tg}from"react/jsx-runtime";import{Fragment as dg,jsx as ig,jsxs as ng}from"react/jsx-runtime";import{Fragment as hg,jsx as fg,jsxs as Tg}from"react/jsx-runtime";import{jsx as El,jsxs as ji}from"react/jsx-runtime";var Ol="k-spin-button",Yi=[],Zi={size:[s.small,s.medium,s.large],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link]},ua={size:s.medium,fillMode:b.solid},ft=e=>{let{size:t=ua.size,fillMode:o=ua.fillMode,...r}=e;return ji("span",{...r,className:a(Ol,e.className),children:[El(h,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),El(h,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};ft.states=Yi;ft.options=Zi;ft.className=Ol;ft.defaultOptions=ua;import{Fragment as Kl,jsx as we,jsxs as ba}from"react/jsx-runtime";var Dl="k-numerictextbox",en=[l.hover,l.focus,l.valid,l.invalid,l.loading,l.required,l.disabled,l.readonly],tn={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[b.solid,b.flat,b.outline]},Ze={showSpinButton:!0,showClearButton:!0,size:G.defaultOptions.size,rounded:G.defaultOptions.rounded,fillMode:G.defaultOptions.fillMode,separators:!0},P=e=>{let{size:t=Ze.size,rounded:o=Ze.rounded,fillMode:r=Ze.fillMode,separators:n=Ze.separators,showClearButton:i=Ze.showClearButton,showSpinButton:d=Ze.showSpinButton,prefix:m,suffix:u,value:T,placeholder:x,hover:k,focus:c,valid:N,invalid:g,required:y,loading:S,disabled:M,readonly:A,...V}=e;return ba(G,{...V,size:t,rounded:o,fillMode:r,hover:k,focus:c,valid:N,invalid:g,required:y,loading:S,disabled:M,readonly:A,className:a(e.className,Dl),children:[m&&ba(Kl,{children:[we(xe,{children:m}),n&&we(ye,{})]}),we(ue,{placeholder:x,value:T}),we(ae,{valid:N,invalid:g,loading:S,disabled:M}),we(le,{loading:S,disabled:M}),i&&we(me,{loading:S,disabled:M,readonly:A,value:T}),u&&ba(Kl,{children:[n&&we(ye,{}),we(Ne,{children:u})]}),d&&we(ft,{className:"k-input-spinner",size:t,fillMode:r})]})};P.states=en;P.options=tn;P.className=Dl;P.defaultOptions=Ze;import{jsx as _g}from"react/jsx-runtime";import{Fragment as Ug,jsx as Wg}from"react/jsx-runtime";import{Fragment as tk,jsx as ek}from"react/jsx-runtime";import{Fragment as _l,jsx as Z,jsxs as Tt}from"react/jsx-runtime";var No="k-pager",on=[l.focus,l.disabled],an={size:[s.small,s.medium,s.large]},j={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},Oe=e=>{let{responsive:t=j.responsive,size:o=j.size,pagerSizeInfo:r=j.pagerSizeInfo,pageTitleInfo:n=j.pageTitleInfo,maxPagesInfo:i=j.maxPagesInfo,itemsPerPage:d=j.itemsPerPage,maxPages:m=j.maxPages,currentPage:u=j.currentPage,previousNext:T=j.previousNext,type:x=j.type,pageSizes:k=j.pageSizes,refresh:c=j.refresh,info:N=j.info,focus:g,disabled:y,dir:S,...M}=e,A=[],V=[];for(let W=1;W<=m;W++)A.push(Z(h,{selected:W===u,fillMode:"flat",themeColor:"primary",size:o,rounded:null,children:W})),V.push(Z("option",{selected:W===u,children:W}));return Tt("div",{dir:S,...M,className:a(e.className,No,v(No,{size:o}),C(No,{focus:g,disabled:y}),{"k-pager-responsive":t}),children:[Tt("div",{className:a("k-pager-numbers-wrap"),children:[T&&Tt(_l,{children:[Z(h,{className:a("k-pager-nav","k-pager-first"),disabled:u===1&&!y,fillMode:"flat",size:o,rounded:null,icon:S==="rtl"?"caret-alt-to-right":"caret-alt-to-left"}),Z(h,{className:a("k-pager-nav"),disabled:u===1&&!y,fillMode:"flat",size:o,rounded:null,icon:S==="rtl"?"caret-alt-right":"caret-alt-left"})]}),x==="numeric"&&Z("div",{className:a("k-pager-numbers"),children:A}),x==="input"&&Tt("span",{className:a("k-pager-input"),children:[n&&Z("span",{children:"Page"}),Z(P,{value:`${u}`,size:o,showSpinButton:!1,showClearButton:!1}),Z("span",{children:i&&`of ${m}`})]}),T&&Tt(_l,{children:[Z(h,{className:a("k-pager-nav"),disabled:u===m&&!y,fillMode:"flat",size:o,rounded:null,icon:S==="rtl"?"caret-alt-left":"caret-alt-right"}),Z(h,{className:a("k-pager-nav","k-pager-last"),disabled:u===m&&!y,fillMode:"flat",size:o,rounded:null,icon:S==="rtl"?"caret-alt-to-left":"caret-alt-to-right"})]})]}),k&&Tt("span",{className:a("k-pager-sizes"),children:[Z(fe,{value:`${d}`,size:o}),r&&Z("span",{children:"items per page"})]}),c&&Z(h,{className:a("k-pager-refresh"),fillMode:"flat",size:o,rounded:null,icon:"arrow-rotate-cw"}),N&&Z("span",{className:a("k-pager-info"),children:N})]})};Oe.states=on;Oe.options=an;Oe.className=No;Oe.defaultOptions=j;import{jsx as Tk}from"react/jsx-runtime";import{jsx as gk}from"react/jsx-runtime";import{jsx as yk}from"react/jsx-runtime";import{jsx as zk}from"react/jsx-runtime";import{jsx as rn}from"react/jsx-runtime";var $t="k-button-group",ln=[l.disabled],sn={fillMode:[b.solid,b.flat,b.outline,b.clear,b.link]},Vl={fillMode:b.solid},E=e=>{let{fillMode:t=Vl.fillMode,disabled:o,stretched:r,...n}=e;return rn("div",{...n,className:a(e.className,$t,v($t,{fillMode:t}),C($t,{disabled:o}),{[`${$t}-stretched`]:r}),children:e.children})};E.states=ln;E.options=sn;E.className=$t;E.defaultOptions=Vl;import{Fragment as Fk,jsx as Vk,jsxs as Xk}from"react/jsx-runtime";import{Fragment as Yk,jsx as Qk,jsxs as Zk}from"react/jsx-runtime";import{Fragment as lv,jsx as av,jsxs as sv}from"react/jsx-runtime";import{Fragment as pv,jsx as cv,jsxs as mv}from"react/jsx-runtime";import{jsx as Fl,jsxs as cn}from"react/jsx-runtime";var Xl="k-color-preview",nn=[],dn={},Ke=e=>{let{color:t,iconName:o,...r}=e;return cn("span",{...r,className:a(e.className,Xl,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&Fl(L,{icon:o,className:"k-color-preview-icon"}),Fl("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ke.states=nn;Ke.options=dn;Ke.className=Xl;import{jsx as ht,jsxs as fa}from"react/jsx-runtime";var _t="k-slider",pn=[l.hover,l.focus,l.active,l.disabled,l.readonly],mn={},De={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},re=e=>{let{type:t=De.type,orientation:o=De.orientation,readonly:r=De.readonly,disabled:n=De.disabled,handlePosition:i=De.handlePosition,showButtons:d=De.showButtons,showTicks:m=De.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"),fa("div",{...N,className:a(_t,e.className,C(_t,{readonly:r,disabled:n}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:c,children:[d&&ht(h,{className:"k-button-decrease",rounded:"full",icon:y}),fa("div",{className:"k-slider-track-wrap",children:[m&&ht("ul",{className:"k-reset k-slider-items",children:e.children}),fa("div",{className:"k-slider-track",style:k,children:[ht("div",{className:"k-slider-selection"}),t==="range"&&ht("span",{className:a("k-draghandle","k-draghandle-start",C(_t,{hover:u,focus:T,active:x}))}),ht("span",{className:a("k-draghandle",`k-draghandle-${i}`,C(_t,{hover:u,focus:T,active:x}))})]})]}),d&&ht(h,{className:"k-button-increase",rounded:"full",icon:g})]})};re.states=pn;re.options=mn;re.className=_t;re.defaultOptions=De;import{jsx as Jl}from"react/jsx-runtime";var Wl="k-tick",un=[],bn={},Ul={label:!1},$e=e=>{let{style:t,label:o=Ul.label,orientation:r,large:n,text:i,...d}=e;return Jl("li",{...d,className:a(e.className,Wl,{[`k-tick-${r}`]:r,"k-tick-large":n}),style:t,children:o&&Jl("span",{className:"k-label",children:i})})};$e.states=un;$e.options=bn;$e.className=Wl;$e.defaultOptions=Ul;import{Fragment as Bv,jsx as zv,jsxs as Ev}from"react/jsx-runtime";import{Fragment as _v,jsx as $v,jsxs as Vv}from"react/jsx-runtime";import{Fragment as Uv,jsx as Wv,jsxs as qv}from"react/jsx-runtime";import{Fragment as eL,jsx as jv,jsxs as tL}from"react/jsx-runtime";import{jsx as fn}from"react/jsx-runtime";var Ta=e=>fn(re,{type:"gradient",showButtons:!1,showTicks:!1,...e});import{jsx as Tn}from"react/jsx-runtime";var ha=e=>Tn(re,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});import{Fragment as Vt,jsx as I,jsxs as O}from"react/jsx-runtime";var ql="k-colorgradient-inputs",hn=[],xn={size:[s.small,s.medium,s.large]},Ql={mode:"rgba",size:s.medium},xt=e=>{let{mode:t=Ql.mode,size:o,...r}=e;return O("div",{...r,className:a(ql,"k-hstack"),children:[I("div",{className:"k-vstack",children:I(h,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),t==="rgba"&&O(Vt,{children:[O("div",{className:"k-vstack",children:[I(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),I("label",{className:"k-colorgradient-input-label",children:"R"})]}),O("div",{className:"k-vstack",children:[I(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),I("label",{className:"k-colorgradient-input-label",children:"G"})]}),O("div",{className:"k-vstack",children:[I(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),I("label",{className:"k-colorgradient-input-label",children:"B"})]}),O("div",{className:"k-vstack",children:[I(P,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),I("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&O(Vt,{children:[O("div",{className:"k-vstack",children:[I(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),I("label",{className:"k-colorgradient-input-label",children:"R"})]}),O("div",{className:"k-vstack",children:[I(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),I("label",{className:"k-colorgradient-input-label",children:"G"})]}),O("div",{className:"k-vstack",children:[I(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),I("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&O(Vt,{children:[O("div",{className:"k-vstack",children:[I(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),I("label",{className:"k-colorgradient-input-label",children:"H"})]}),O("div",{className:"k-vstack",children:[I(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),I("label",{className:"k-colorgradient-input-label",children:"S"})]}),O("div",{className:"k-vstack",children:[I(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),I("label",{className:"k-colorgradient-input-label",children:"V"})]}),O("div",{className:"k-vstack",children:[I(P,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),I("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&O(Vt,{children:[O("div",{className:"k-vstack",children:[I(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),I("label",{className:"k-colorgradient-input-label",children:"H"})]}),O("div",{className:"k-vstack",children:[I(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),I("label",{className:"k-colorgradient-input-label",children:"S"})]}),O("div",{className:"k-vstack",children:[I(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),I("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&I(Vt,{children:O("div",{className:"k-vstack k-flex-1",children:[I(ge,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),I("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};xt.states=hn;xt.options=xn;xt.className=ql;xt.defaultOptions=Ql;import{jsx as je,jsxs as et}from"react/jsx-runtime";var Yl="k-colorgradient-color-contrast",Nn=[],gn={},kn={},Nt=()=>et("div",{className:a(Yl,"k-vbox"),children:[et("div",{className:"k-contrast-ratio",children:[je("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),et("span",{className:"k-contrast-validation !k-text-success",children:[je(L,{icon:"check"}),je(L,{icon:"check"})]})]}),et("div",{children:[je("span",{children:"AA: 4.5"}),et("span",{className:"k-contrast-validation !k-text-success",children:["Pass",je(L,{icon:"check"})]})]}),et("div",{children:[je("span",{children:"AAA: 7.0"}),et("span",{className:"k-contrast-validation !k-text-error",children:["Fail",je(L,{icon:"x"})]})]})]});Nt.states=Nn;Nt.options=gn;Nt.className=Yl;Nt.defaultOptions=kn;import{jsx as ie,jsxs as Ft}from"react/jsx-runtime";var go="k-colorgradient",vn=[l.hover,l.focus,l.readonly,l.disabled],Ln={size:[s.small,s.medium,s.large]},Te={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"},_e=e=>{let{size:t=Te.size,mode:o=Te.mode,readonly:r=Te.readonly,disabled:n=Te.disabled,gradientStyle:i=Te.gradientStyle,dragHandleStyle:d=Te.dragHandleStyle,alphaStyle:m=Te.alphaStyle,alphaStyleHorizontal:u=Te.alphaStyleHorizontal,contrast:T=Te.contrast,dir:x,hover:k,focus:c,hoverHandle:N,focusHandle:g,canvasOrientation:y=Te.canvasOrientation,...S}=e;return Ft("div",{...S,className:a(e.className,go,v(go,{size:t}),C(go,{hover:k,focus:c,readonly:r,disabled:n})),dir:x,children:[!y||y==="horizontal"&&Ft("div",{className:"k-colorgradient-canvas k-hstack",children:[ie("div",{className:"k-hsv-rectangle",style:i,children:ie("div",{className:"k-hsv-gradient",children:ie("div",{className:a("k-hsv-draghandle","k-draghandle",{"k-hover":N,"k-focus":g}),style:d})})}),Ft("div",{className:"k-hsv-controls k-hstack",children:[ie(ha,{className:"k-hue-slider",hover:N,focus:g}),o!=="rgb"&&o!=="hsv"&&ie(ha,{className:"k-alpha-slider",hover:N,focus:g,trackStyle:m})]})]}),y==="vertical"&&Ft("div",{className:"k-colorgradient-canvas k-vstack",children:[ie("div",{className:"k-hsv-rectangle",style:i,children:ie("div",{className:"k-hsv-gradient",children:ie("div",{className:a("k-hsv-draghandle","k-draghandle",{"k-hover":N,"k-focus":g}),style:d})})}),Ft("div",{className:"k-hsv-controls k-vstack",children:[ie(Ta,{className:"k-hue-slider",hover:N,focus:g}),o!=="rgb"&&o!=="hsv"&&ie(Ta,{className:"k-alpha-slider",hover:N,focus:g,trackStyle:u})]})]}),ie(xt,{mode:e.mode,size:t}),T&&ie(Nt,{})]})};_e.states=vn;_e.options=Ln;_e.className=go;_e.defaultOptions=Te;import{jsx as BL}from"react/jsx-runtime";import{jsx as DL}from"react/jsx-runtime";import{jsx as yn}from"react/jsx-runtime";var Zl=e=>yn("tr",{children:e.children});import{jsx as wn}from"react/jsx-runtime";var xa="k-colorpalette-tile",Cn=[l.hover,l.focus,l.selected],Sn={},Xt=e=>{let{color:t,tileSize:o,hover:r,focus:n,selected:i,...d}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return wn("td",{...d,className:a(e.className,xa,C(xa,{hover:r,focus:n,selected:i})),style:m})};Xt.states=Cn;Xt.options=Sn;Xt.className=xa;import{jsx as Jt}from"react/jsx-runtime";var ko="k-colorpalette",Mn=[l.disabled],In={size:[s.small,s.medium,s.large]},Na={columns:10,size:s.medium},gt=e=>{let{size:t=Na.size,palette:o,columns:r=Na.columns,tileSize:n,disabled:i,...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(Jt(Xt,{color:g,tileSize:n},y))});let N=Jt(Zl,{children:c},k);m.push(N)})}return Jt("div",{...d,className:a(e.className,ko,C(ko,{disabled:i}),v(ko,{size:t})),children:Jt("table",{className:"k-colorpalette-table",children:Jt("tbody",{children:m.length>0?m:e.children})})})};gt.states=Mn;gt.options=In;gt.className=ko;gt.defaultOptions=Na;var ga={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","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#