@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 323 kB
JavaScript
var o=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?o(...t):typeof t=="object"?Object.keys(t).map((a,r)=>t[r]||t[a]&&a||null).filter(a=>a!==null).join(" "):t).filter(t=>!!t).join(" ");var C=(e,t)=>o({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.fillMode}-${t.themeColor}`]:t.fillMode&&t.themeColor},{[`${e}-${t.themeColor}`]:t.themeColor&&t.fillMode===void 0},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full"}),h=(e,t)=>{let{valid:a,invalid:r,hover:s,focus:i,checked:n,active:p,selected:m,disabled:f,indeterminate:A,loading:v,empty:b,readonly:y,highlighted:E,...w}=t;return o({"k-valid":a,"k-invalid":r,"k-hover":s,"k-focus":i,"k-checked":n,"k-active":p,"k-selected":m,"k-disabled":f,"k-indeterminate":A&&!n,"k-loading":v,"k-empty":b,"k-readonly":y,"k-highlighted":E},Object.keys(w).reduce((L,B)=>(B.startsWith("k-")?L[B]=w[B]:L[`k-${B}`]=w[B],L),{}))};function Vc(e,t){if(!t)return{};let a=Array.isArray(t)?t:[t];return Object.fromEntries(a.map(r=>[`k-${r}`,!0]))}var d={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},x={small:"small",medium:"medium",large:"large",full:"full"},N={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},u={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},l={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"},Xt={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};import{Fragment as zM,jsx as Ux}from"react/jsx-runtime";var ru="k-font-icon",HM=[],FM={size:[d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},GM={},gn=e=>{let{size:t,themeColor:a,icon:r,rotate:s,flip:i,...n}=e;return r?Ux("span",{...n,className:o(e.className,ru,C(ru,{size:t}),{[`k-i-${r}`]:r,[`k-color-${a}`]:a,[`k-rotate-${s}`]:s,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"})}):Ux(zM,{})};gn.states=HM;gn.options=FM;gn.className=ru;gn.defaultOptions=GM;var jx=gn;import{Fragment as VM,jsx as Xc}from"react/jsx-runtime";var su="k-svg-icon",WM=[],QM={size:[d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},qx={viewBox:"0 0 24 24"},bn=e=>{let{size:t,themeColor:a,rotate:r,flip:s,viewBox:i=qx.viewBox,icon:n,...p}=e;if(!n)return Xc(VM,{});n==="none"&&{...p,className:o(e.className,su,"k-none")};let m=typeof n=="object"&&n.name&&n.name;return Xc("span",{...p,className:o(e.className,su,C("k-icon",{size:t}),{[`k-svg-i-${m}`]:m,[`k-color-${a}`]:a,[`k-rotate-${r}`]:r,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),children:Xc("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof n=="object"?n.viewBox:i,dangerouslySetInnerHTML:typeof n=="object"?{__html:n.content}:void 0,children:n?void 0:e.children})})};bn.states=WM;bn.options=QM;bn.className=su;bn.defaultOptions=qx;var iu=bn;import*as nu from"@progress/kendo-svg-icons";var _x="icon",$x="icons";import{Fragment as eg,jsx as Nn}from"react/jsx-runtime";var Zc="k-icon",XM=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),ZM=[],JM={size:[d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},du={viewBox:"0 0 24 24",type:"svg"},g=e=>{let{size:t,themeColor:a,icon:r,type:s=du.type,rotate:i,flip:n,viewBox:p=du.viewBox,...m}=e;if(!r)return Nn(eg,{});if(s==="svg"){if(r==="none")return Nn(iu,{...m,className:o(e.className,Zc),icon:r,size:t});let f=nu[r]?r:XM(`${r}-icon`);return nu[f]?Nn(iu,{...m,className:o(e.className,Zc),icon:nu[f],size:t,themeColor:a,rotate:i,flip:n,viewBox:p}):Nn(eg,{})}return Nn(jx,{...m,className:o(e.className,Zc),icon:r,size:t,themeColor:a,rotate:i,flip:n})};g.states=ZM;g.options=JM;g.defaultOptions=du;g.className=Zc;g.moduleName=_x;g.folderName=$x;var cu=g;var pu="button",tg=pu;import{Fragment as _M,jsx as An,jsxs as og}from"react/jsx-runtime";var vn="k-button",UM=["icon-button"],jM=[l.hover,l.focus,l.active,l.selected,l.disabled,l.generating],qM={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},lr={size:d.medium,rounded:x.medium,fillMode:N.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},c=e=>{let{size:t=lr.size,rounded:a=lr.rounded,fillMode:r=lr.fillMode,themeColor:s=lr.themeColor,showArrow:i=lr.showArrow,arrowIconName:n=lr.arrowIconName,variant:p,hover:m,focus:f,active:A,selected:v,disabled:b,icon:y,text:E,iconClassName:w,...L}=e,B=y!==void 0,R=e.children!==void 0;return og("button",{...L,className:o(e.className,vn,Vc(vn,p),C(vn,{size:t,rounded:a,fillMode:r,themeColor:s}),h(vn,{hover:m,focus:f,active:A,disabled:b,selected:v}),{"k-icon-button":!E&&!R&&B}),children:[y&&An(g,{className:o(w,"k-button-icon"),icon:y}),E?og(_M,{children:[E&&An("span",{className:"k-button-text",children:E}),e.children]}):e.children&&An("span",{className:"k-button-text",children:e.children}),i&&An("span",{className:"k-menu-button-arrow k-button-arrow",children:An(g,{icon:n})})]})};c.states=jM;c.options=qM;c.variants=UM;c.className=vn;c.defaultOptions=lr;c.moduleName=pu;c.folderName=tg;import{jsx as $M}from"react/jsx-runtime";var Ze=e=>$M(c,{icon:"folder",...e,children:void 0});import{jsx as ew}from"react/jsx-runtime";var Lo=e=>ew(c,{icon:"folder",children:"Button",...e});import{jsx as j8}from"react/jsx-runtime";var le="scheduler",ne=le;import{jsx as lw}from"react/jsx-runtime";var ag="k-scheduler-layout",tw=[],ow={},aw={},rr=e=>{let{as:t="div",view:a,...r}=e;return lw(t,{...r,className:o(e.className,ag,{[`k-scheduler-${a}view`]:a}),children:e.children})};rr.states=tw;rr.options=ow;rr.className=ag;rr.defaultOptions=aw;rr.moduleName=le;rr.folderName=ne;var lg=rr;import{jsx as nw,jsxs as dw}from"react/jsx-runtime";var rg="k-scheduler",rw=[],sw={},iw={},Ye=e=>{let{view:t,toolbar:a,footer:r,layout:s,...i}=e;return dw("div",{...i,className:o(e.className,rg),children:[a,nw(lg,{className:o({"k-scheduler-layout-flex":s==="flex"}),as:s==="table"?"table":"div",view:t,children:e.children}),r]})};Ye.states=rw;Ye.options=sw;Ye.className=rg;Ye.defaultOptions=iw;Ye.moduleName=le;Ye.folderName=ne;import{jsx as sg}from"react/jsx-runtime";var ig="k-scheduler-header",So=e=>sg("div",{...e,className:o(ig,e.className),children:sg("div",{className:"k-scheduler-header-wrap",children:e.children})});So.className=ig;So.moduleName=le;So.folderName=ne;import{jsx as cw}from"react/jsx-runtime";var ng="k-scheduler-content",Io=e=>cw("div",{...e,className:o(ng,e.className),children:e.children});Io.className=ng;Io.moduleName=le;Io.folderName=ne;import{jsx as pw}from"react/jsx-runtime";var dg="k-scheduler-times",Uo=e=>pw("div",{...e,className:o(dg,e.className),children:e.children});Uo.className=dg;Uo.moduleName=le;Uo.folderName=ne;import{jsx as mw}from"react/jsx-runtime";var cg="k-scheduler-table",Nt=e=>mw("table",{...e,className:o(cg,e.className),children:e.children});Nt.className=cg;Nt.moduleName=le;Nt.folderName=ne;import{jsx as pg}from"react/jsx-runtime";var mg="k-scheduler-cell",uw=[],fw={},kw={},P=e=>{let{cellType:t,allDay:a,text:r,colspan:s,rowspan:i,as:n="div",...p}=e,m=r||e.children;return pg(n,{...p,colSpan:s,rowSpan:i,className:o(mg,e.className,{"k-scheduler-times-all-day":a},t?.map(f=>({[`k-${f}-cell`]:!0}))),children:!a&&r?pg("span",{className:"k-link k-nav-day",children:m}):m})};P.states=uw;P.options=fw;P.defaultOptions=kw;P.className=mg;P.moduleName=le;P.folderName=ne;import{jsx as hw}from"react/jsx-runtime";var ug="k-sticky-cell",Jc=e=>hw("div",{...e,className:o(ug,e.className),children:e.children});Jc.className=ug;Jc.moduleName=le;Jc.folderName=ne;import{jsx as xw}from"react/jsx-runtime";var fg="k-scheduler-row",jo=e=>xw("div",{...e,className:o(fg,e.className),children:e.children});jo.className=fg;jo.moduleName=le;jo.folderName=ne;var mu="button",kg=mu;import{jsx as Nw}from"react/jsx-runtime";var Tn="k-button-group",gw=[l.disabled],bw={fillMode:[N.solid,N.flat,N.outline,N.clear,N.link]},hg={fillMode:N.solid},D=e=>{let{fillMode:t=hg.fillMode,disabled:a,stretched:r,...s}=e;return Nw("div",{...s,className:o(e.className,Tn,C(Tn,{fillMode:t}),h(Tn,{disabled:a}),{[`${Tn}-stretched`]:r}),children:e.children})};D.states=gw;D.options=bw;D.className=Tn;D.defaultOptions=hg;D.moduleName=mu;D.folderName=kg;import{Fragment as jQ,jsx as UQ,jsxs as qQ}from"react/jsx-runtime";import{Fragment as aV,jsx as oV,jsxs as lV}from"react/jsx-runtime";import{Fragment as cV,jsx as dV,jsxs as pV}from"react/jsx-runtime";import{Fragment as xV,jsx as hV,jsxs as gV}from"react/jsx-runtime";var yn="input",Uc=yn;import{jsx as Tw}from"react/jsx-runtime";var jc="k-input",Aw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],vw={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},qc={size:d.medium,rounded:d.medium,fillMode:N.solid},S=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p,size:m=qc.size,rounded:f=qc.rounded,fillMode:A=qc.fillMode,...v}=e;return Tw("span",{...v,className:o(e.className,jc,C(jc,{size:m,rounded:f,fillMode:A}),h(jc,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p}))})};S.states=Aw;S.options=vw;S.className=jc;S.defaultOptions=qc;S.moduleName=yn;S.folderName=Uc;import{jsx as Cw}from"react/jsx-runtime";var _c="k-picker",yw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],Ew={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},$c={size:d.medium,rounded:x.medium,fillMode:N.solid},At=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p,size:m=$c.size,rounded:f=$c.rounded,fillMode:A=$c.fillMode,...v}=e;return Cw("span",{...v,className:o(e.className,_c,C(_c,{size:m,rounded:f,fillMode:A}),h(_c,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p})),children:e.children})};At.states=yw;At.options=Ew;At.className=_c;At.defaultOptions=$c;At.moduleName=yn;At.folderName=Uc;import{Fragment as Lw,jsx as uu}from"react/jsx-runtime";var xg="k-clear-value",Mw=[l.disabled,l.loading,l.readonly],ww={},re=e=>{let{disabled:t,loading:a,readonly:r,value:s}=e;return t||r||a||!s?uu(Lw,{}):uu("span",{className:o(e.className,xg),children:uu(g,{icon:"x"})})};re.states=Mw;re.options=ww;re.className=xg;import{jsx as Bw}from"react/jsx-runtime";var fu="k-input-inner",Sw=[],Iw={},ep={type:"text",autocomplete:"off",value:"",placeholder:""},me=e=>{let{value:t=ep.value,type:a=ep.type,placeholder:r=ep.placeholder,autocomplete:s=ep.autocomplete,...i}=e;return Bw("input",{...i,type:a,className:o(e.className,fu,C(fu,e)),placeholder:r,autoComplete:s,defaultValue:t})};me.states=Sw;me.options=Iw;me.className=fu;import{jsx as gg,jsxs as Rw}from"react/jsx-runtime";var ku="k-input-inner",Pw=[],Dw={},Sa=e=>{let{value:t,placeholder:a,showValue:r,valueIcon:s,valueIconName:i,...n}=e;return Rw("span",{...n,className:o(e.className,ku,C(ku,e)),children:[s,!s&&i&&gg(g,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&gg("span",{className:"k-input-value-text",children:t})]})};Sa.states=Pw;Sa.options=Dw;Sa.className=ku;import{jsx as Ow}from"react/jsx-runtime";var hu="k-input-inner",Kw=[],Yw={},bg={value:"",placeholder:""},En=e=>{let{value:t=bg.value,placeholder:a=bg.placeholder,rows:r,...s}=e;return Ow("textarea",{...s,className:o(e.className,hu,C(hu,e)),placeholder:a,rows:r,defaultValue:t})};En.states=Kw;En.options=Yw;En.className=hu;import{Fragment as Fw,jsx as Ng}from"react/jsx-runtime";var Ag="k-input-loading-icon",Hw=[l.disabled,l.loading],_=e=>{let{disabled:t,loading:a}=e;return t||!a?Ng(Fw,{}):Ng("span",{className:o(e.className,Ag,"k-icon k-i-loading")})};_.states=Hw;_.className=Ag;import{Fragment as Ww,jsx as vg}from"react/jsx-runtime";var Tg="k-input-validation-icon",Gw=[l.valid,l.invalid,l.disabled,l.loading],zw={},j=e=>{let{valid:t,invalid:a,disabled:r,loading:s}=e,i=a?"warning-circle":"check-circle";return r||s||!!!(t||a)?vg(Ww,{}):vg(g,{className:o(Tg),icon:i})};j.states=Gw;j.options=zw;j.className=Tg;import{Fragment as Xw,jsx as yg}from"react/jsx-runtime";var Qw="k-input-prefix",Vw={direction:"horizontal"},te=e=>{let{direction:t=Vw.direction,...a}=e;return e.children?yg("span",{...a,className:o(Qw,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):yg(Xw,{})};import{Fragment as Uw,jsx as Eg}from"react/jsx-runtime";var Zw="k-input-suffix",Jw={direction:"horizontal"},oe=e=>{let{direction:t=Jw.direction,...a}=e;return e.children?Eg("span",{...a,className:o(Zw,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Eg(Uw,{})};import{jsx as c6}from"react/jsx-runtime";import{jsx as f6}from"react/jsx-runtime";import{jsx as qw}from"react/jsx-runtime";var Cg="k-input-separator",jw={direction:"vertical"},Le=e=>{let{direction:t=jw.direction,...a}=e;return qw("span",{...a,className:o(Cg,e.className,{[`${Cg}-${t}`]:t})})};import{jsx as Mg,jsxs as eL}from"react/jsx-runtime";var wg="k-color-preview",_w=[],$w={},ol=e=>{let{color:t,iconName:a,...r}=e;return eL("span",{...r,className:o(e.className,wg,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&Mg(g,{icon:a,className:"k-color-preview-icon"}),Mg("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};ol.states=_w;ol.options=$w;ol.className=wg;var xu="popup",Lg=xu;import{jsx as Sg}from"react/jsx-runtime";var Ig="k-animation-container",tL=[],oL={},Bg={positionMode:"absolute"},qo=e=>{let{positionMode:t=Bg.positionMode,animationStyle:a,offset:r,...s}=e;return Sg("div",{...s,style:{...r,...e.style},className:o(e.className,Ig,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:Sg("div",{className:"k-child-animation-container",style:a,children:e.children})})};qo.states=tL;qo.options=oL;qo.className=Ig;qo.defaultOptions=Bg;qo.moduleName=xu;qo.folderName=Lg;var gu="popup",Pg=gu;import{jsx as Dg}from"react/jsx-runtime";var Rg="k-popup",aL=[],lL={},Kg={positionMode:"absolute"},G=e=>{let{offset:t,positionMode:a=Kg.positionMode,animationStyle:r,...s}=e;return Dg(qo,{positionMode:a,offset:t,animationStyle:r,children:Dg("div",{...s,className:o(e.className,Rg),children:e.children})})};G.states=aL;G.options=lL;G.className=Rg;G.defaultOptions=Kg;G.moduleName=gu;G.folderName=Pg;var bu="action-buttons",Yg=bu;import{jsx as iL}from"react/jsx-runtime";var tp="k-actions",rL=[],sL={},Nu={alignment:"start",orientation:"horizontal"},X=e=>{let{alignment:t=Nu.alignment,orientation:a=Nu.orientation,...r}=e;return iL("div",{...r,className:o(tp,{[`${tp}-${t}`]:t,[`${tp}-${a}`]:a},e.className),children:e.children})};X.states=rL;X.options=sL;X.className=tp;X.defaultOptions=Nu;X.moduleName=bu;X.folderName=Yg;var Og=X;import{jsx as dL}from"react/jsx-runtime";var nL="k-actionsheet-footer",Hg={alignment:"stretched",orientation:"horizontal"},Bo=e=>{let{alignment:t=Hg.alignment,orientation:a=Hg.orientation,template:r,as:s=r?"div":X,...i}=e;return dL(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,nL),children:e.children})};var Au="searchbox",Fg=Au;import{jsx as Cn,jsxs as mL}from"react/jsx-runtime";var Gg="k-searchbox",cL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],pL={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},vu={showIcon:!0,icon:"search",size:S.defaultOptions.size,rounded:S.defaultOptions.rounded,fillMode:S.defaultOptions.fillMode},Je=e=>{let{value:t,placeholder:a,size:r,rounded:s,fillMode:i,hover:n,focus:p,valid:m,invalid:f,required:A,loading:v,disabled:b,showIcon:y=vu.showIcon,icon:E=vu.icon,...w}=e;return mL(S,{...w,size:r,rounded:s,fillMode:i,hover:n,focus:p,valid:m,invalid:f,required:A,loading:v,disabled:b,className:o(e.className,Gg),children:[y&&Cn(g,{className:"k-input-icon",icon:E}),Cn(me,{placeholder:a,value:t}),Cn(_,{...e}),Cn(j,{...e}),Cn(re,{...e})]})};Je.states=cL;Je.options=pL;Je.className=Gg;Je.defaultOptions=vu;Je.moduleName=Au;Je.folderName=Fg;import{jsx as A3}from"react/jsx-runtime";var Tu="textbox",zg=Tu;import{Fragment as Wg,jsx as al,jsxs as yu}from"react/jsx-runtime";var Qg="k-textbox",uL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],fL={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},sr={showClearButton:!0,showValidationIcon:!0,size:S.defaultOptions.size,rounded:S.defaultOptions.rounded,fillMode:S.defaultOptions.fillMode,separators:!0},q=e=>{let{size:t=sr.size,rounded:a=sr.rounded,fillMode:r=sr.fillMode,separators:s=sr.separators,showClearButton:i=sr.showClearButton,showValidationIcon:n=sr.showValidationIcon,prefix:p,suffix:m,type:f,value:A,placeholder:v,hover:b,focus:y,valid:E,invalid:w,required:L,loading:B,disabled:R,readonly:F,...V}=e;return yu(S,{...V,size:t,rounded:a,fillMode:r,hover:b,focus:y,valid:E,invalid:w,required:L,loading:B,disabled:R,readonly:F,className:o(e.className,Qg),children:[p&&yu(Wg,{children:[al(te,{children:p}),s&&al(Le,{})]}),al(me,{placeholder:v,value:A,type:f}),n&&al(j,{valid:E,invalid:w,loading:B,disabled:R}),al(_,{loading:B,disabled:R}),i&&al(re,{loading:B,disabled:R,readonly:F,value:A}),m&&yu(Wg,{children:[s&&al(Le,{}),al(oe,{children:m})]})]})};q.states=uL;q.options=fL;q.className=Qg;q.defaultOptions=sr;q.moduleName=Tu;q.folderName=zg;import{jsx as D3}from"react/jsx-runtime";import{Fragment as F3,jsx as H3}from"react/jsx-runtime";import{Fragment as X3,jsx as V3}from"react/jsx-runtime";import{jsx as ll,jsxs as Eu}from"react/jsx-runtime";var Zg="k-actionsheet-titlebar",kL={},de=e=>{let{title:t,subtitle:a,actionsStart:r,actionsEnd:s,filter:i,input:n,inputValue:p,inputPlaceholder:m,adaptive:f,children:A,...v}=e;return Eu("div",{...v,className:o(e.className,Zg),children:[Eu("div",{className:"k-actionsheet-titlebar-group",children:[r&&ll("div",{className:"k-actionsheet-actions",children:r}),!A&&Eu("div",{className:"k-actionsheet-title",children:[t&&ll("div",{className:"k-text-center",children:t}),a&&ll("div",{className:"k-actionsheet-subtitle k-text-center",children:a})]}),A&&ll("div",{className:"k-actionsheet-title",children:A}),s&&ll("div",{className:"k-actionsheet-actions",children:s})]}),(n||i)&&ll("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:n?ll(q,{value:p,placeholder:m,size:f?"large":"medium"}):ll(Je,{placeholder:"Filter",size:f?"large":"medium"})})]})};de.className=Zg;de.defaultOptions=kL;import{jsx as Cu,jsxs as bL}from"react/jsx-runtime";var Mu="k-actionsheet-view",hL=[],xL={},gL={},ps=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...n}=e,p=s?.type===de&&Cu(de,{adaptive:t,...s?.props}),m=i?.type===Bo&&Cu(Bo,{...i?.props});return bL("div",{...n,className:o(e.className,Mu,{[`${Mu}-animated`]:a}),children:[p,Cu("div",{className:"k-actionsheet-content",children:r}),m]})};ps.states=hL;ps.options=xL;ps.className=Mu;ps.defaultOptions=gL;var Mn="action-sheet",op=Mn;import{jsx as ap,jsxs as vL}from"react/jsx-runtime";var Jg="k-actionsheet",NL=[],AL={},wn={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},se=e=>{let{side:t=wn.side,fullscreen:a=wn.fullscreen,adaptive:r=wn.adaptive,overlay:s=wn.overlay,template:i,children:n,header:p,footer:m,...f}=e;return vL("div",{className:"k-actionsheet-container",children:[s&&ap("div",{className:"k-overlay"}),ap(qo,{animationStyle:{[`${a===!0?"top":t}`]:0,[`${a===!0?"width":null}`]:"100%",[`${a===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:ap("div",{...f,className:o(e.className,Jg,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||ap(ps,{header:p,footer:m,adaptive:r,...e,children:n})})})]})};se.states=NL;se.options=AL;se.className=Jg;se.defaultOptions=wn;se.moduleName=Mn;se.folderName=op;import{jsx as CL}from"react/jsx-runtime";var Ug="k-actionsheet-container",TL=[],yL={},EL={},ms=e=>{let{children:t,...a}=e;return CL("div",{...a,className:Ug,children:t})};ms.states=TL;ms.options=yL;ms.className=Ug;ms.defaultOptions=EL;ms.moduleName=Mn;ms.folderName=op;import{jsx as AX}from"react/jsx-runtime";import{Fragment as wL,jsx as Ln,jsxs as wu}from"react/jsx-runtime";var Lu="k-actionsheet-item",ML=[l.hover,l.focus,l.selected,l.disabled],Su=e=>{let{iconName:t,text:a,description:r,hover:s,focus:i,selected:n,disabled:p,...m}=e;return wu("span",{...m,className:o(e.className,Lu,h(Lu,{hover:s,focus:i,selected:n,disabled:p})),children:[!e.children&&Ln(wL,{children:wu("span",{className:"k-actionsheet-action",children:[t&&Ln("span",{className:"k-icon-wrap",children:Ln(g,{className:"k-actionsheet-item-icon",icon:t})}),wu("span",{className:"k-actionsheet-item-text",children:[a&&Ln("span",{className:"k-actionsheet-item-title",children:a}),r&&Ln("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};Su.states=ML;Su.className=Lu;import{jsx as SX,jsxs as IX}from"react/jsx-runtime";import{jsx as RX}from"react/jsx-runtime";import{jsx as HX}from"react/jsx-runtime";import{jsx as WX}from"react/jsx-runtime";var Iu="slider",qg=Iu;import{jsx as us,jsxs as Bu}from"react/jsx-runtime";var Sn="k-slider",LL=[l.hover,l.focus,l.active,l.disabled,l.readonly],SL={},rl={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},vt=e=>{let{type:t=rl.type,orientation:a=rl.orientation,readonly:r=rl.readonly,disabled:s=rl.disabled,handlePosition:i=rl.handlePosition,showButtons:n=rl.showButtons,showTicks:p=rl.showTicks,hover:m,focus:f,active:A,trackStyle:v,dir:b,...y}=e,E,w;return a==="horizontal"?(E=b==="rtl"?"caret-alt-left":"caret-alt-right",w=b==="rtl"?"caret-alt-right":"caret-alt-left"):a==="vertical"&&(E="caret-alt-up",w="caret-alt-down"),Bu("div",{...y,className:o(Sn,e.className,h(Sn,{readonly:r,disabled:s}),{[`k-slider-${a}`]:a,"k-colorgradient-slider":t==="gradient"}),dir:b,children:[n&&us(c,{className:"k-button-decrease",rounded:"full",icon:w}),Bu("div",{className:"k-slider-track-wrap",children:[p&&us("ul",{className:"k-reset k-slider-items",children:e.children}),Bu("div",{className:"k-slider-track",style:v,children:[us("div",{className:"k-slider-selection"}),t==="range"&&us("span",{className:o("k-draghandle","k-draghandle-start",h(Sn,{hover:m,focus:f,active:A}))}),us("span",{className:o("k-draghandle",`k-draghandle-${i}`,h(Sn,{hover:m,focus:f,active:A}))})]})]}),n&&us(c,{className:"k-button-increase",rounded:"full",icon:E})]})};vt.states=LL;vt.options=SL;vt.className=Sn;vt.defaultOptions=rl;vt.moduleName=Iu;vt.folderName=qg;import{jsx as _g}from"react/jsx-runtime";var $g="k-tick",IL=[],BL={},eb={label:!1},tt=e=>{let{style:t,label:a=eb.label,orientation:r,large:s,text:i,...n}=e;return _g("li",{...n,className:o(e.className,$g,{[`k-tick-${r}`]:r,"k-tick-large":s}),style:t,children:a&&_g("span",{className:"k-label",children:i})})};tt.states=IL;tt.options=BL;tt.className=$g;tt.defaultOptions=eb;import{Fragment as PL,jsx as co,jsxs as DL}from"react/jsx-runtime";var lp=e=>co(vt,{children:DL(PL,{children:[co(tt,{className:"k-first",label:!0,large:!0,text:"0"}),co(tt,{}),co(tt,{}),co(tt,{}),co(tt,{}),co(tt,{label:!0,large:!0,text:"5"}),co(tt,{}),co(tt,{}),co(tt,{}),co(tt,{}),co(tt,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as gZ,jsx as xZ,jsxs as bZ}from"react/jsx-runtime";import{Fragment as yZ,jsx as TZ,jsxs as EZ}from"react/jsx-runtime";import{Fragment as SZ,jsx as LZ,jsxs as IZ}from"react/jsx-runtime";import{jsx as RL}from"react/jsx-runtime";var Pu=e=>RL(vt,{type:"gradient",showButtons:!1,showTicks:!1,...e});import{jsx as KL}from"react/jsx-runtime";var Du=e=>KL(vt,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});import{jsx as tb,jsxs as GL}from"react/jsx-runtime";var ob="k-spin-button",HL=[],FL={size:[d.small,d.medium,d.large],fillMode:[N.solid,N.flat,N.outline,N.clear,N.link]},Ru={size:d.medium,fillMode:N.solid},_o=e=>{let{size:t=Ru.size,fillMode:a=Ru.fillMode,...r}=e;return GL("span",{...r,className:o(ob,e.className),children:[tb(c,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:a}),tb(c,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:a})]})};_o.states=HL;_o.options=FL;_o.className=ob;_o.defaultOptions=Ru;_o.moduleName=null;_o.folderName=null;var ab="numeric-textbox",lb="numerictextbox";import{Fragment as rb,jsx as Ia,jsxs as Ku}from"react/jsx-runtime";var sb="k-numerictextbox",zL=[l.hover,l.focus,l.valid,l.invalid,l.loading,l.required,l.disabled,l.readonly],WL={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},ir={showSpinButton:!0,showClearButton:!0,size:S.defaultOptions.size,rounded:S.defaultOptions.rounded,fillMode:S.defaultOptions.fillMode,separators:!0},ue=e=>{let{size:t=ir.size,rounded:a=ir.rounded,fillMode:r=ir.fillMode,separators:s=ir.separators,showClearButton:i=ir.showClearButton,showSpinButton:n=ir.showSpinButton,prefix:p,suffix:m,value:f,placeholder:A,hover:v,focus:b,valid:y,invalid:E,required:w,loading:L,disabled:B,readonly:R,...F}=e;return Ku(S,{...F,size:t,rounded:a,fillMode:r,hover:v,focus:b,valid:y,invalid:E,required:w,loading:L,disabled:B,readonly:R,className:o(e.className,sb),children:[p&&Ku(rb,{children:[Ia(te,{children:p}),s&&Ia(Le,{})]}),Ia(me,{placeholder:A,value:f}),Ia(j,{valid:y,invalid:E,loading:L,disabled:B}),Ia(_,{loading:L,disabled:B}),i&&Ia(re,{loading:L,disabled:B,readonly:R,value:f}),m&&Ku(rb,{children:[s&&Ia(Le,{}),Ia(oe,{children:m})]}),n&&Ia(_o,{className:"k-input-spinner",size:t,fillMode:r})]})};ue.states=zL;ue.options=WL;ue.className=sb;ue.defaultOptions=ir;ue.moduleName=ab;ue.folderName=lb;import{jsx as pJ}from"react/jsx-runtime";import{jsx as VL}from"react/jsx-runtime";var QL="k-no-data",In=e=>VL("span",{className:o(QL,e.className),children:e.children});var Ba="list",sl=Ba;import{jsx as fs,jsxs as nb}from"react/jsx-runtime";var Yu="k-list",XL=[],ZL={size:[d.small,d.medium,d.large]},db={size:d.medium},Q=e=>{let{size:t=db.size,virtualization:a,children:r,optionLabel:s,customValue:i,screenReaders:n,...p}=e,m,f,A,v,b=[];return r?r.map((y,E)=>{y.type===Se?(y.props.root===!0?(m=y.props.label,y.props.children.map((w,L)=>{b.push(fs(K,{...w.props},`optChild-${L}-${new Date().getTime()}`))})):y.props.children.forEach((w,L)=>{let B="";L===0&&(B=y.props.label),b.push(fs(K,{className:L===0?"k-first":"",...w.props,groupLabel:B},`groupLabel-${L}-${new Date().getTime()}`))}),f=fs(Se,{label:m,virtualization:a,children:b})):y.type===K&&(b.push(fs(K,{...y.props},`${y.type}-${E}`)),A=fs(ks,{virtualization:a,children:b}),n&&(v=nb(In,{className:"k-sr-only",children:[b.length," items found."]})))}):v=fs(In,{children:"No data found."}),nb("div",{...p,className:o(e.className,Yu,C(Yu,{size:t}),{"k-virtual-list":a}),children:[s,i,f,A,v]})};Q.states=XL;Q.options=ZL;Q.className=Yu;Q.defaultOptions=db;Q.moduleName=Ba;Q.folderName=sl;import{jsx as qL}from"react/jsx-runtime";var cb="k-list-container",JL=[],UL={},jL={},hs=e=>{let{...t}=e;return qL("div",{...t,className:o(e.className,cb),children:e.children})};hs.states=JL;hs.options=UL;hs.className=cb;hs.defaultOptions=jL;hs.moduleName=Ba;hs.folderName=sl;import{jsx as nr,jsxs as eS}from"react/jsx-runtime";var Ou="k-list",_L=[],$L={size:[d.small,d.medium,d.large]},pb={size:d.medium},Pa=e=>{let{size:t=pb.size,virtualization:a,children:r,...s}=e,i,n,p,m=[];return r?r.map((f,A)=>{f.type===Se?(f.props.root===!0?(i=f.props.label,f.props.children.map((v,b)=>{m.push(nr(K,{...v.props},`optChild-${b}-${new Date().getTime()}`))})):(m.push(nr(mb,{...f.props,children:f.props.label},`listChild-${A}`)),f.props.children.map((v,b)=>{m.push(nr(K,{...v.props},`fwOptChild-${b}-${new Date().getTime()}`))})),n=nr(Se,{label:i,virtualization:a,children:m})):f.type===K&&(m.push(nr(K,{...f.props},`${f.type}-${A}`)),p=nr(ks,{virtualization:a,children:m}))}):p=nr(In,{children:"No data found."}),eS("div",{...s,className:o(e.className,Ou,C(Ou,{size:t}),{"k-virtual-list":a}),children:[n,p]})};Pa.states=_L;Pa.options=$L;Pa.className=Ou;Pa.defaultOptions=pb;Pa.moduleName=Ba;Pa.folderName=sl;var dr="checkbox",xs=dr;import{jsx as ub}from"react/jsx-runtime";var rp="k-checkbox",tS=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],oS={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full]},Hu={size:d.medium,rounded:x.medium},ot=e=>{let{id:t,checked:a,indeterminate:r,hover:s,focus:i,disabled:n,invalid:p,valid:m,required:f,size:A=Hu.size,rounded:v=Hu.rounded,...b}=e;return ub("span",{className:"k-checkbox-wrap",children:ub("input",{...b,id:t,type:"checkbox",defaultChecked:a,required:f,className:o(e.className,rp,C(rp,{size:A,rounded:v}),h(rp,{hover:s,focus:i,disabled:n,invalid:p,valid:m,indeterminate:r,checked:a}))})})};ot.states=tS;ot.options=oS;ot.className=rp;ot.defaultOptions=Hu;ot.moduleName=dr;ot.folderName=xs;import{jsx as rS}from"react/jsx-runtime";var fb="k-checkbox-list",aS=[],lS={},kb={layout:"vertical"},il=e=>{let{layout:t=kb.layout,...a}=e;return rS("ul",{...a,className:o(e.className,fb,{[`k-list-${t}`]:t}),children:e.children})};il.states=aS;il.options=lS;il.className=fb;il.defaultOptions=kb;il.moduleName=dr;il.folderName=xs;import{jsx as dS}from"react/jsx-runtime";var hb="k-checkbox-list-item",sS=[],iS={},nS={},nl=e=>{let{...t}=e;return dS("li",{...t,className:o(e.className,hb),children:e.children})};nl.states=sS;nl.options=iS;nl.className=hb;nl.defaultOptions=nS;nl.moduleName=dr;nl.folderName=xs;import{Fragment as qJ,jsx as jJ,jsxs as _J}from"react/jsx-runtime";import{Fragment as aU,jsx as oU,jsxs as lU}from"react/jsx-runtime";import{Fragment as dU,jsx as nU,jsxs as cU}from"react/jsx-runtime";import{Fragment as kU,jsx as fU,jsxs as hU}from"react/jsx-runtime";import{jsx as NU}from"react/jsx-runtime";import{jsx as yU}from"react/jsx-runtime";import{jsx as sp,jsxs as uS}from"react/jsx-runtime";var Gu="k-list-item",cS=[l.hover,l.focus,l.selected,l.disabled],pS={},mS={},K=e=>{let{text:t,groupLabel:a,group:r,showIcon:s,iconName:i,showCheckbox:n,checked:p,hover:m,focus:f,selected:A,disabled:v,...b}=e,y=t||e.children;return uS("li",{...b,className:o(e.className,r?"k-list-group-item":Gu,h(Gu,{hover:m,focus:f,disabled:v,selected:A})),children:[n&&sp(ot,{checked:p}),s&&sp(g,{icon:i}),sp("span",{className:"k-list-item-text",children:y}),a&&a!==""&&sp("div",{className:"k-list-item-group-label",children:a})]})};K.states=cS;K.options=pS;K.className=Gu;K.defaultOptions=mS;K.moduleName=Ba;K.folderName=sl;import{jsx as zu,jsxs as kS}from"react/jsx-runtime";var fS="k-list-content",ks=e=>{let{virtualization:t,...a}=e;return kS("div",{...a,className:o(fS,e.className),children:[zu("ul",{className:o("k-list-ul"),children:e.children}),t&&zu("div",{className:"k-height-container",children:zu("div",{})})]})};import{jsx as xb}from"react/jsx-runtime";var hS="k-list-group-sticky-header",gb=e=>xb("div",{className:o(hS,e.className),children:xb("div",{className:"k-list-header-text",children:e.children})});import{Fragment as xS,jsx as bb,jsxs as gS}from"react/jsx-runtime";var Se=e=>{let{virtualization:t,label:a}=e;return gS(xS,{children:[a&&bb(gb,{children:a}),e.children&&bb(ks,{virtualization:t,children:e.children})]})};import{jsx as Nb}from"react/jsx-runtime";var bS="k-list-group-item",mb=e=>Nb("li",{className:o(bS,e.className),children:Nb("span",{className:"k-list-item-text",children:e.children})});import{jsx as TS}from"react/jsx-runtime";var Wu="k-list-optionlabel",NS=[l.hover,l.focus,l.selected,l.disabled],AS={},vS={},ip=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...n}=e;return TS("div",{...n,className:o(Wu,h(Wu,{hover:a,focus:r,selected:s,disabled:i})),children:t})};ip.states=NS;ip.options=AS;ip.className=Wu;ip.defaultOptions=vS;import{jsx as MS}from"react/jsx-runtime";var Qu="k-list-custom-value",yS=[l.hover,l.focus,l.selected,l.disabled],ES={},CS={},ct=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...n}=e;return MS("div",{...n,className:o(Qu,h(Qu,{hover:a,focus:r,selected:s,disabled:i})),children:t})};ct.states=yS;ct.options=ES;ct.className=Qu;ct.defaultOptions=CS;import{jsx as n5}from"react/jsx-runtime";import{jsx as m5}from"react/jsx-runtime";import{jsx as h5,jsxs as x5}from"react/jsx-runtime";import{jsx as A5,jsxs as v5}from"react/jsx-runtime";import{jsx as C5}from"react/jsx-runtime";import{jsx as S5,jsxs as I5}from"react/jsx-runtime";import{jsx as R5,jsxs as K5}from"react/jsx-runtime";var Ab="dropdown-list",vb="dropdownlist";import{Fragment as SS,jsx as Bt,jsxs as Vu}from"react/jsx-runtime";var Tb="k-dropdownlist",wS=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],LS={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},gs={showValue:!0,arrowIconName:"caret-alt-down",size:d.medium,rounded:x.medium,fillMode:N.solid},ae=e=>{let{size:t=gs.size,rounded:a=gs.rounded,fillMode:r=gs.fillMode,arrowIconName:s=gs.arrowIconName,showValue:i=gs.showValue,valueIconName:n,prefix:p,suffix:m,value:f,placeholder:A,hover:v,focus:b,valid:y,invalid:E,required:w,loading:L,disabled:B,readonly:R,popup:F,opened:V,adaptive:we,adaptiveSettings:et,adaptiveTitle:bt,adaptiveSubtitle:wo,adaptiveFilter:ar,...cs}=e;return Vu(SS,{children:[Vu(At,{...cs,size:t,rounded:a,fillMode:r,hover:v,focus:b,valid:y,invalid:E,required:w,loading:L,disabled:B,readonly:R,className:o(e.className,Tb,{"k-icon-picker":!i&&n}),children:[Bt(te,{children:p}),Bt(Sa,{placeholder:A,value:f,showValue:i,valueIconName:n}),Bt(j,{valid:y,invalid:E,loading:L,disabled:B}),Bt(_,{loading:L,disabled:B}),Bt(oe,{children:m}),Bt(c,{className:"k-input-button",icon:s,rounded:null,size:e.size,fillMode:e.fillMode})]}),V&&F&&Bt(G,{className:"k-list-container k-dropdownlist-popup",children:F}),we&&Bt(se,{adaptive:!0,...et,header:Bt(de,{actionsEnd:Bt(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:ar,inputValue:f,inputPlaceholder:A,title:bt,subtitle:wo}),children:Bt("div",{className:"k-list-container",children:Vu(Q,{size:"large",children:[Bt(K,{text:"List item"}),Bt(K,{text:"List item"}),Bt(K,{text:"List item"})]})})})]})};ae.states=wS;ae.options=LS;ae.className=Tb;ae.defaultOptions=gs;ae.moduleName=Ab;ae.folderName=vb;import{jsx as k9}from"react/jsx-runtime";import{jsx as N9,jsxs as A9}from"react/jsx-runtime";import{Fragment as L9,jsx as M9,jsxs as w9}from"react/jsx-runtime";import{jsx as P9}from"react/jsx-runtime";import{jsx as O9,jsxs as H9}from"react/jsx-runtime";import{jsx as Q9,jsxs as V9}from"react/jsx-runtime";import{Fragment as $9,jsx as q9,jsxs as _9}from"react/jsx-runtime";import{Fragment as ij,jsx as rj,jsxs as sj}from"react/jsx-runtime";import{Fragment as Tj,jsx as vj}from"react/jsx-runtime";import{Fragment as Sj,jsx as Lj}from"react/jsx-runtime";import{Fragment as Bn,jsx as $,jsxs as Ue}from"react/jsx-runtime";var yb="k-colorgradient-inputs",IS=[],BS={size:[d.small,d.medium,d.large]},Eb={mode:"rgba",size:d.medium},bs=e=>{let{mode:t=Eb.mode,size:a,...r}=e;return Ue("div",{...r,className:o(yb,"k-hstack"),children:[$("div",{className:"k-vstack",children:$(c,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:a})}),t==="rgba"&&Ue(Bn,{children:[Ue("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132",size:a}),$("label",{className:"k-colorgradient-input-label",children:"R"})]}),Ue("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132",size:a}),$("label",{className:"k-colorgradient-input-label",children:"G"})]}),Ue("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132",size:a}),$("label",{className:"k-colorgradient-input-label",children:"B"})]}),Ue("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:a}),$("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&Ue(Bn,{children:[Ue("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132"}),$("label",{className:"k-colorgradient-input-label",children:"R"})]}),Ue("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132"}),$("label",{className:"k-colorgradient-input-label",children:"G"})]}),Ue("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132"}),$("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&Ue(Bn,{children:[Ue("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132"}),$("label",{className:"k-colorgradient-input-label",children:"H"})]}),Ue("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132"}),$("label",{className:"k-colorgradient-input-label",children:"S"})]}),Ue("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132"}),$("label",{className:"k-colorgradient-input-label",children:"V"})]}),Ue("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),$("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&Ue(Bn,{children:[Ue("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132"}),$("label",{className:"k-colorgradient-input-label",children:"H"})]}),Ue("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132"}),$("label",{className:"k-colorgradient-input-label",children:"S"})]}),Ue("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132"}),$("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&$(Bn,{children:Ue("div",{className:"k-vstack k-flex-1",children:[$(q,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),$("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};bs.states=IS;bs.options=BS;bs.className=yb;bs.defaultOptions=Eb;import{jsx as pr,jsxs as mr}from"react/jsx-runtime";var Cb="k-colorgradient-color-contrast",PS=[],DS={},RS={},Ns=()=>mr("div",{className:o(Cb,"k-vbox"),children:[mr("div",{className:"k-contrast-ratio",children:[pr("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),mr("span",{className:"k-contrast-validation !k-text-success",children:[pr(g,{icon:"check"}),pr(g,{icon:"check"})]})]}),mr("div",{children:[pr("span",{children:"AA: 4.5"}),mr("span",{className:"k-contrast-validation !k-text-success",children:["Pass",pr(g,{icon:"check"})]})]}),mr("div",{children:[pr("span",{children:"AAA: 7.0"}),mr("span",{className:"k-contrast-validation !k-text-error",children:["Fail",pr(g,{icon:"x"})]})]})]});Ns.states=PS;Ns.options=DS;Ns.className=Cb;Ns.defaultOptions=RS;var Mb="color-gradient",wb="colorgradient";import{jsx as po,jsxs as Pn}from"react/jsx-runtime";var np="k-colorgradient",KS=[l.hover,l.focus,l.readonly,l.disabled],YS={size:[d.small,d.medium,d.large]},Po={size:d.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"},$o=e=>{let{size:t=Po.size,mode:a=Po.mode,readonly:r=Po.readonly,disabled:s=Po.disabled,gradientStyle:i=Po.gradientStyle,dragHandleStyle:n=Po.dragHandleStyle,alphaStyle:p=Po.alphaStyle,alphaStyleHorizontal:m=Po.alphaStyleHorizontal,contrast:f=Po.contrast,dir:A,hover:v,focus:b,hoverHandle:y,focusHandle:E,canvasOrientation:w=Po.canvasOrientation,...L}=e;return Pn("div",{...L,className:o(e.className,np,C(np,{size:t}),h(np,{hover:v,focus:b,readonly:r,disabled:s})),dir:A,children:[!w||w==="horizontal"&&Pn("div",{className:"k-colorgradient-canvas k-hstack",children:[po("div",{className:"k-hsv-rectangle",style:i,children:po("div",{className:"k-hsv-gradient",children:po("div",{className:o("k-hsv-draghandle","k-draghandle",{"k-hover":y,"k-focus":E}),style:n})})}),Pn("div",{className:"k-hsv-controls k-hstack",children:[po(Du,{className:"k-hue-slider",hover:y,focus:E}),a!=="rgb"&&a!=="hsv"&&po(Du,{className:"k-alpha-slider",hover:y,focus:E,trackStyle:p})]})]}),w==="vertical"&&Pn("div",{className:"k-colorgradient-canvas k-vstack",children:[po("div",{className:"k-hsv-rectangle",style:i,children:po("div",{className:"k-hsv-gradient",children:po("div",{className:o("k-hsv-draghandle","k-draghandle",{"k-hover":y,"k-focus":E}),style:n})})}),Pn("div",{className:"k-hsv-controls k-vstack",children:[po(Pu,{className:"k-hue-slider",hover:y,focus:E}),a!=="rgb"&&a!=="hsv"&&po(Pu,{className:"k-alpha-slider",hover:y,focus:E,trackStyle:m})]})]}),po(bs,{mode:e.mode,size:t}),f&&po(Ns,{})]})};$o.states=KS;$o.options=YS;$o.className=np;$o.defaultOptions=Po;$o.moduleName=Mb;$o.folderName=wb;import{jsx as a7}from"react/jsx-runtime";import{jsx as i7}from"react/jsx-runtime";import{jsx as OS}from"react/jsx-runtime";var Lb=e=>OS("tr",{children:e.children});import{jsx as GS}from"react/jsx-runtime";var Xu="k-colorpalette-tile",HS=[l.hover,l.focus,l.selected],FS={},Dn=e=>{let{color:t,tileSize:a,hover:r,focus:s,selected:i,...n}=e,p={backgroundColor:t,width:a?a+"px":"",height:a?a+"px":""};return GS("td",{...n,className:o(e.className,Xu,h(Xu,{hover:r,focus:s,selected:i})),style:p})};Dn.states=HS;Dn.options=FS;Dn.className=Xu;var Sb="color-palette",Ib="colorpalette";import{jsx as Rn}from"react/jsx-runtime";var dp="k-colorpalette",zS=[l.disabled],WS={size:[d.small,d.medium,d.large]},Zu={columns:10,size:d.medium},dl=e=>{let{size:t=Zu.size,palette:a,columns:r=Zu.columns,tileSize:s,disabled:i,...n}=e,p=[];if(a){let m=r||a.columns,f=a.colors?a.colors:a;Array.isArray(f)&&Array.from({length:Math.ceil(f.length/m)},(A,v)=>{let b=[];f.slice(v*m,(v+1)*m).map((E,w)=>{b.push(Rn(Dn,{color:E,tileSize:s},w))});let y=Rn(Lb,{children:b},v);p.push(y)})}return Rn("div",{...n,className:o(e.className,dp,h(dp,{disabled:i}),C(dp,{size:t})),children:Rn("table",{className:"k-colorpalette-table",children:Rn("tbody",{children:p.length>0?p:e.children})})})};dl.states=zS;dl.options=WS;dl.className=dp;dl.defaultOptions=Zu;dl.moduleName=Sb;dl.folderName=Ib;var Ju={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","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#9