UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 86.2 kB
var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...t):typeof t=="object"?Object.keys(t).map((o,s)=>t[s]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var k=(e,t)=>n({[`${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"}),g=(e,t)=>{let{valid:o,invalid:s,hover:r,focus:p,checked:l,active:c,selected:u,disabled:N,indeterminate:h,loading:S,empty:d,readonly:M,highlighted:L,...E}=t;return n({"k-valid":o,"k-invalid":s,"k-hover":r,"k-focus":p,"k-checked":l,"k-active":c,"k-selected":u,"k-disabled":N,"k-indeterminate":h&&!l,"k-loading":S,"k-empty":d,"k-readonly":M,"k-highlighted":L},Object.keys(E).reduce((C,A)=>(A.startsWith("k-")?C[A]=E[A]:C[`k-${A}`]=E[A],C),{}))};function Io(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(s=>[`k-${s}`,!0]))}var i={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},x={small:"small",medium:"medium",large:"large",full:"full"},b={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},m={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},a={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"};var mn="textarea",ts=mn;var Qt="input",Bo=Qt;import{jsx as Di}from"react/jsx-runtime";var _o="k-input",Ri=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Pi={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},Ko={size:i.medium,rounded:i.medium,fillMode:b.solid},y=e=>{let{hover:t,focus:o,disabled:s,invalid:r,valid:p,loading:l,readonly:c,size:u=Ko.size,rounded:N=Ko.rounded,fillMode:h=Ko.fillMode,...S}=e;return Di("span",{...S,className:n(e.className,_o,k(_o,{size:u,rounded:N,fillMode:h}),g(_o,{hover:t,focus:o,disabled:s,invalid:r,valid:p,loading:l,readonly:c}))})};y.states=Ri;y.options=Pi;y.className=_o;y.defaultOptions=Ko;y.moduleName=Qt;y.folderName=Bo;import{jsx as zi}from"react/jsx-runtime";var Ro="k-picker",wi=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Hi={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},Po={size:i.medium,rounded:x.medium,fillMode:b.solid},V=e=>{let{hover:t,focus:o,disabled:s,invalid:r,valid:p,loading:l,readonly:c,size:u=Po.size,rounded:N=Po.rounded,fillMode:h=Po.fillMode,...S}=e;return zi("span",{...S,className:n(e.className,Ro,k(Ro,{size:u,rounded:N,fillMode:h}),g(Ro,{hover:t,focus:o,disabled:s,invalid:r,valid:p,loading:l,readonly:c})),children:e.children})};V.states=wi;V.options=Hi;V.className=Ro;V.defaultOptions=Po;V.moduleName=Qt;V.folderName=Bo;import{Fragment as $i,jsx as os}from"react/jsx-runtime";var cn="k-font-icon",Ui=[],Gi={size:[i.xsmall,i.small,i.medium,i.large,i.xlarge,i.xxlarge,i.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},Fi={},jt=e=>{let{size:t,themeColor:o,icon:s,rotate:r,flip:p,...l}=e;return s?os("span",{...l,className:n(e.className,cn,k(cn,{size:t}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":p==="h"||p==="both","k-flip-v":p==="v"||p==="both"})}):os($i,{})};jt.states=Ui;jt.options=Gi;jt.className=cn;jt.defaultOptions=Fi;var ns=jt;import{Fragment as Ji,jsx as Do}from"react/jsx-runtime";var dn="k-svg-icon",Xi=[],Vi={size:[i.xsmall,i.small,i.medium,i.large,i.xlarge,i.xxlarge,i.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},as={viewBox:"0 0 24 24"},eo=e=>{let{size:t,themeColor:o,rotate:s,flip:r,viewBox:p=as.viewBox,icon:l,...c}=e;if(!l)return Do(Ji,{});l==="none"&&{...c,className:n(e.className,dn,"k-none")};let u=typeof l=="object"&&l.name&&l.name;return Do("span",{...c,className:n(e.className,dn,k("k-icon",{size:t}),{[`k-svg-i-${u}`]:u,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),children:Do("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof l=="object"?l.viewBox:p,dangerouslySetInnerHTML:typeof l=="object"?{__html:l.content}:void 0,children:l?void 0:e.children})})};eo.states=Xi;eo.options=Vi;eo.className=dn;eo.defaultOptions=as;var un=eo;import*as fn from"@progress/kendo-svg-icons";var ss="icon",rs="icons";import{Fragment as is,jsx as to}from"react/jsx-runtime";var wo="k-icon",Wi=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),qi=[],Zi={size:[i.xsmall,i.small,i.medium,i.large,i.xlarge,i.xxlarge,i.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},bn={viewBox:"0 0 24 24",type:"svg"},v=e=>{let{size:t,themeColor:o,icon:s,type:r=bn.type,rotate:p,flip:l,viewBox:c=bn.viewBox,...u}=e;if(!s)return to(is,{});if(r==="svg"){if(s==="none")return to(un,{...u,className:n(e.className,wo),icon:s,size:t});let N=fn[s]?s:Wi(`${s}-icon`);return fn[N]?to(un,{...u,className:n(e.className,wo),icon:fn[N],size:t,themeColor:o,rotate:p,flip:l,viewBox:c}):to(is,{})}return to(ns,{...u,className:n(e.className,wo),icon:s,size:t,themeColor:o,rotate:p,flip:l})};v.states=qi;v.options=Zi;v.defaultOptions=bn;v.className=wo;v.moduleName=ss;v.folderName=rs;import{Fragment as ji,jsx as Nn}from"react/jsx-runtime";var ls="k-clear-value",Yi=[a.disabled,a.loading,a.readonly],Qi={},me=e=>{let{disabled:t,loading:o,readonly:s,value:r}=e;return t||s||o||!r?Nn(ji,{}):Nn("span",{className:n(e.className,ls),children:Nn(v,{icon:"x"})})};me.states=Yi;me.options=Qi;me.className=ls;import{jsx as ol}from"react/jsx-runtime";var xn="k-input-inner",el=[],tl={},Ho={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=Ho.value,type:o=Ho.type,placeholder:s=Ho.placeholder,autocomplete:r=Ho.autocomplete,...p}=e;return ol("input",{...p,type:o,className:n(e.className,xn,k(xn,e)),placeholder:s,autoComplete:r,defaultValue:t})};ce.states=el;ce.options=tl;ce.className=xn;import{jsx as ps,jsxs as sl}from"react/jsx-runtime";var hn="k-input-inner",nl=[],al={},rt=e=>{let{value:t,placeholder:o,showValue:s,valueIcon:r,valueIconName:p,...l}=e;return sl("span",{...l,className:n(e.className,hn,k(hn,e)),children:[r,!r&&p&&ps(v,{className:"k-input-value-icon",icon:p}),s&&!t&&o,s&&t&&ps("span",{className:"k-input-value-text",children:t})]})};rt.states=nl;rt.options=al;rt.className=hn;import{jsx as ll}from"react/jsx-runtime";var Ln="k-input-inner",rl=[],il={},ms={value:"",placeholder:""},oo=e=>{let{value:t=ms.value,placeholder:o=ms.placeholder,rows:s,...r}=e;return ll("textarea",{...r,className:n(e.className,Ln,k(Ln,e)),placeholder:o,rows:s,defaultValue:t})};oo.states=rl;oo.options=il;oo.className=Ln;import{Fragment as ml,jsx as cs}from"react/jsx-runtime";var ds="k-input-loading-icon",pl=[a.disabled,a.loading],Q=e=>{let{disabled:t,loading:o}=e;return t||!o?cs(ml,{}):cs("span",{className:n(e.className,ds,"k-icon k-i-loading")})};Q.states=pl;Q.className=ds;import{Fragment as ul,jsx as us}from"react/jsx-runtime";var fs="k-input-validation-icon",cl=[a.valid,a.invalid,a.disabled,a.loading],dl={},J=e=>{let{valid:t,invalid:o,disabled:s,loading:r}=e,p=o?"warning-circle":"check-circle";return s||r||!!!(t||o)?us(ul,{}):us(v,{className:n(fs),icon:p})};J.states=cl;J.options=dl;J.className=fs;import{Fragment as Nl,jsx as bs}from"react/jsx-runtime";var fl="k-input-prefix",bl={direction:"horizontal"},j=e=>{let{direction:t=bl.direction,...o}=e;return e.children?bs("span",{...o,className:n(fl,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):bs(Nl,{})};import{Fragment as Ll,jsx as Ns}from"react/jsx-runtime";var xl="k-input-suffix",hl={direction:"horizontal"},ee=e=>{let{direction:t=hl.direction,...o}=e;return e.children?Ns("span",{...o,className:n(xl,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Ns(Ll,{})};import{jsx as Au}from"react/jsx-runtime";import{jsx as yu}from"react/jsx-runtime";import{jsx as vl}from"react/jsx-runtime";var xs="k-input-separator",Ml={direction:"vertical"},te=e=>{let{direction:t=Ml.direction,...o}=e;return vl("span",{...o,className:n(xs,e.className,{[`${xs}-${t}`]:t})})};import{Fragment as hs,jsx as no,jsxs as Mn}from"react/jsx-runtime";var Ls="k-textarea",Sl=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled],El={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},Te={size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode,flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},Ge=e=>{let{size:t=Te.size,rounded:o=Te.rounded,fillMode:s=Te.fillMode,prefixSeparator:r=Te.prefixSeparator,suffixSeparator:p=Te.prefixSeparator,affixesOrientation:l=Te.affixesOrientation,flow:c=Te.flow,resize:u=Te.resize,prefix:N,suffix:h,rows:S,value:d,placeholder:M,hover:L,focus:E,valid:C,invalid:A,required:B,disabled:H,...Me}=e;return Mn(y,{...Me,size:t,rounded:o,fillMode:s,hover:L,focus:E,valid:C,invalid:A,required:B,disabled:H,className:n(e.className,Ls,{"!k-flex-col":c==="vertical","!k-flex-row":c==="horizontal"}),children:[N&&Mn(hs,{children:[no(j,{className:n({"!k-align-items-start":c===l}),direction:l,children:N}),r&&no(te,{direction:c==="horizontal"?"vertical":"horizontal"})]}),no(oo,{className:n("!k-overflow-auto",{"!k-flex-none":c==="vertical","k-resize-x":u==="x","k-resize-y":u==="y","k-resize":u==="both","k-resize-none":u==="none"}),value:d,placeholder:M,rows:S}),h&&Mn(hs,{children:[p&&no(te,{direction:c==="horizontal"?"vertical":"horizontal"}),no(ee,{className:n({"!k-align-items-start":c===l}),direction:l,children:h})]})]})};Ge.states=Sl;Ge.options=El;Ge.className=Ls;Ge.defaultOptions=Te;Ge.moduleName=mn;Ge.folderName=ts;import{jsx as of}from"react/jsx-runtime";import{Fragment as pf,jsx as lf}from"react/jsx-runtime";var vn="button",vs=vn;import{Fragment as Cl,jsx as ao,jsxs as Ss}from"react/jsx-runtime";var so="k-button",gl=["icon-button"],kl=[a.hover,a.focus,a.active,a.selected,a.disabled,a.generating],Al={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark,m.inverse]},it={size:i.medium,rounded:x.medium,fillMode:b.solid,themeColor:m.base,showArrow:!1,arrowIconName:"caret-alt-down"},f=e=>{let{size:t=it.size,rounded:o=it.rounded,fillMode:s=it.fillMode,themeColor:r=it.themeColor,showArrow:p=it.showArrow,arrowIconName:l=it.arrowIconName,variant:c,hover:u,focus:N,active:h,selected:S,disabled:d,icon:M,text:L,iconClassName:E,...C}=e,A=M!==void 0,B=e.children!==void 0;return Ss("button",{...C,className:n(e.className,so,Io(so,c),k(so,{size:t,rounded:o,fillMode:s,themeColor:r}),g(so,{hover:u,focus:N,active:h,disabled:d,selected:S}),{"k-icon-button":!L&&!B&&A}),children:[M&&ao(v,{className:n(E,"k-button-icon"),icon:M}),L?Ss(Cl,{children:[L&&ao("span",{className:"k-button-text",children:L}),e.children]}):e.children&&ao("span",{className:"k-button-text",children:e.children}),p&&ao("span",{className:"k-menu-button-arrow k-button-arrow",children:ao(v,{icon:l})})]})};f.states=kl;f.options=Al;f.variants=gl;f.className=so;f.defaultOptions=it;f.moduleName=vn;f.folderName=vs;import{jsx as Tl}from"react/jsx-runtime";var Oe=e=>Tl(f,{icon:"folder",...e,children:void 0});import{jsx as Ol}from"react/jsx-runtime";var Sn=e=>Ol(f,{icon:"folder",children:"Button",...e});import{jsx as kf}from"react/jsx-runtime";import{Fragment as Pf,jsx as Rf}from"react/jsx-runtime";var En="speech-to-text-button",Es=En;import{jsx as yl}from"react/jsx-runtime";var gs="k-speech-to-text-button",ks={icon:"microphone-outline"},ve=e=>{let{listening:t=!1,icon:o=ks.icon,...s}=e;return yl(f,{...s,icon:t?"stop-sm":o,className:n(e.className,gs,{"k-listening":t})})};ve.states=f.states;ve.options=f.options;ve.className=gs;ve.defaultOptions=ks;ve.moduleName=En;ve.folderName=Es;import{jsx as eb}from"react/jsx-runtime";import{jsx as ab}from"react/jsx-runtime";var gn="chat",As=gn;import{Fragment as kn,jsx as lt,jsxs as ro}from"react/jsx-runtime";var Cs="k-chat",Il=[],Bl={},_l=ro(kn,{children:[lt(ve,{fillMode:"clear"}),lt(Oe,{icon:"paperclip",fillMode:"clear"},"paperclip")]}),Ts={tools:_l},F=e=>{let{header:t,dir:o,suggestedActions:s,files:r,pinned:p,replied:l,generating:c,tools:u=Ts.tools,value:N,empty:h,...S}=e;return ro("div",{...S,className:n(Cs,e.className),dir:o,children:[t,p,lt("div",{className:"k-message-list",children:lt("div",{className:n("k-message-list-content",h&&"k-message-list-content-empty"),children:e.children})}),ro("div",{className:"k-message-box-wrapper",children:[s,lt(Ge,{className:"k-message-box",placeholder:"Type a message",value:N,prefixSeparator:!1,suffixSeparator:!1,rows:1,resize:"none",prefix:r||l?ro(kn,{children:[l,r]}):void 0,suffix:ro(kn,{children:[u,lt("span",{className:"k-spacer"}),lt(At,{generating:c,disabled:!N&&!c})]})})]})]})};F.states=Il;F.options=Bl;F.className=Cs;F.defaultOptions=Ts;F.moduleName=gn;F.folderName=As;var An="button",Os=An;import{jsx as Pl}from"react/jsx-runtime";var io="k-button-group",Kl=[a.disabled],Rl={fillMode:[b.solid,b.flat,b.outline,b.clear,b.link]},ys={fillMode:b.solid},K=e=>{let{fillMode:t=ys.fillMode,disabled:o,stretched:s,...r}=e;return Pl("div",{...r,className:n(e.className,io,k(io,{fillMode:t}),g(io,{disabled:o}),{[`${io}-stretched`]:s}),children:e.children})};K.states=Kl;K.options=Rl;K.className=io;K.defaultOptions=ys;K.moduleName=An;K.folderName=Os;import{Fragment as Tb,jsx as Cb,jsxs as Ob}from"react/jsx-runtime";import{Fragment as Rb,jsx as Kb,jsxs as Pb}from"react/jsx-runtime";import{Fragment as Gb,jsx as Ub,jsxs as Fb}from"react/jsx-runtime";import{Fragment as qb,jsx as Wb,jsxs as Zb}from"react/jsx-runtime";import{jsx as Is,jsxs as Hl}from"react/jsx-runtime";var Bs="k-color-preview",Dl=[],wl={},Fe=e=>{let{color:t,iconName:o,...s}=e;return Hl("span",{...s,className:n(e.className,Bs,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&Is(v,{icon:o,className:"k-color-preview-icon"}),Is("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Fe.states=Dl;Fe.options=wl;Fe.className=Bs;var Cn="popup",_s=Cn;import{jsx as Ks}from"react/jsx-runtime";var Rs="k-animation-container",zl=[],Ul={},Ps={positionMode:"absolute"},Se=e=>{let{positionMode:t=Ps.positionMode,animationStyle:o,offset:s,...r}=e;return Ks("div",{...r,style:{...s,...e.style},className:n(e.className,Rs,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:Ks("div",{className:"k-child-animation-container",style:o,children:e.children})})};Se.states=zl;Se.options=Ul;Se.className=Rs;Se.defaultOptions=Ps;Se.moduleName=Cn;Se.folderName=_s;var Tn="popup",Ds=Tn;import{jsx as ws}from"react/jsx-runtime";var Hs="k-popup",Gl=[],Fl={},zs={positionMode:"absolute"},D=e=>{let{offset:t,positionMode:o=zs.positionMode,animationStyle:s,...r}=e;return ws(Se,{positionMode:o,offset:t,animationStyle:s,children:ws("div",{...r,className:n(e.className,Hs),children:e.children})})};D.states=Gl;D.options=Fl;D.className=Hs;D.defaultOptions=zs;D.moduleName=Tn;D.folderName=Ds;var On="action-buttons",Us=On;import{jsx as Vl}from"react/jsx-runtime";var zo="k-actions",$l=[],Xl={},yn={alignment:"start",orientation:"horizontal"},W=e=>{let{alignment:t=yn.alignment,orientation:o=yn.orientation,...s}=e;return Vl("div",{...s,className:n(zo,{[`${zo}-${t}`]:t,[`${zo}-${o}`]:o},e.className),children:e.children})};W.states=$l;W.options=Xl;W.className=zo;W.defaultOptions=yn;W.moduleName=On;W.folderName=Us;var Gs=W;import{jsx as Wl}from"react/jsx-runtime";var Jl="k-actionsheet-footer",Fs={alignment:"stretched",orientation:"horizontal"},lo=e=>{let{alignment:t=Fs.alignment,orientation:o=Fs.orientation,template:s,as:r=s?"div":W,...p}=e;return Wl(r,{...p,...!s&&{alignment:t,orientation:o},className:n(e.className,Jl),children:e.children})};var In="searchbox",$s=In;import{jsx as po,jsxs as Yl}from"react/jsx-runtime";var Xs="k-searchbox",ql=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading],Zl={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},Bn={showIcon:!0,icon:"search",size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode},de=e=>{let{value:t,placeholder:o,size:s,rounded:r,fillMode:p,hover:l,focus:c,valid:u,invalid:N,required:h,loading:S,disabled:d,showIcon:M=Bn.showIcon,icon:L=Bn.icon,...E}=e;return Yl(y,{...E,size:s,rounded:r,fillMode:p,hover:l,focus:c,valid:u,invalid:N,required:h,loading:S,disabled:d,className:n(e.className,Xs),children:[M&&po(v,{className:"k-input-icon",icon:L}),po(ce,{placeholder:o,value:t}),po(Q,{...e}),po(J,{...e}),po(me,{...e})]})};de.states=ql;de.options=Zl;de.className=Xs;de.defaultOptions=Bn;de.moduleName=In;de.folderName=$s;import{jsx as VN}from"react/jsx-runtime";var _n="textbox",Vs=_n;import{Fragment as Js,jsx as $e,jsxs as Kn}from"react/jsx-runtime";var Ws="k-textbox",Ql=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],jl={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},pt={showClearButton:!0,showValidationIcon:!0,size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode,separators:!0},Ee=e=>{let{size:t=pt.size,rounded:o=pt.rounded,fillMode:s=pt.fillMode,separators:r=pt.separators,showClearButton:p=pt.showClearButton,showValidationIcon:l=pt.showValidationIcon,prefix:c,suffix:u,type:N,value:h,placeholder:S,hover:d,focus:M,valid:L,invalid:E,required:C,loading:A,disabled:B,readonly:H,...Me}=e;return Kn(y,{...Me,size:t,rounded:o,fillMode:s,hover:d,focus:M,valid:L,invalid:E,required:C,loading:A,disabled:B,readonly:H,className:n(e.className,Ws),children:[c&&Kn(Js,{children:[$e(j,{children:c}),r&&$e(te,{})]}),$e(ce,{placeholder:S,value:h,type:N}),l&&$e(J,{valid:L,invalid:E,loading:A,disabled:B}),$e(Q,{loading:A,disabled:B}),p&&$e(me,{loading:A,disabled:B,readonly:H,value:h}),u&&Kn(Js,{children:[r&&$e(te,{}),$e(ee,{children:u})]})]})};Ee.states=Ql;Ee.options=jl;Ee.className=Ws;Ee.defaultOptions=pt;Ee.moduleName=_n;Ee.folderName=Vs;import{jsx as sx}from"react/jsx-runtime";import{Fragment as cx,jsx as mx}from"react/jsx-runtime";import{Fragment as hx,jsx as xx}from"react/jsx-runtime";import{jsx as Xe,jsxs as Rn}from"react/jsx-runtime";var Zs="k-actionsheet-titlebar",ep={},oe=e=>{let{title:t,subtitle:o,actionsStart:s,actionsEnd:r,filter:p,input:l,inputValue:c,inputPlaceholder:u,adaptive:N,children:h,...S}=e;return Rn("div",{...S,className:n(e.className,Zs),children:[Rn("div",{className:"k-actionsheet-titlebar-group",children:[s&&Xe("div",{className:"k-actionsheet-actions",children:s}),!h&&Rn("div",{className:"k-actionsheet-title",children:[t&&Xe("div",{className:"k-text-center",children:t}),o&&Xe("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),h&&Xe("div",{className:"k-actionsheet-title",children:h}),r&&Xe("div",{className:"k-actionsheet-actions",children:r})]}),(l||p)&&Xe("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?Xe(Ee,{value:c,placeholder:u,size:N?"large":"medium"}):Xe(de,{placeholder:"Filter",size:N?"large":"medium"})})]})};oe.className=Zs;oe.defaultOptions=ep;import{jsx as Pn,jsxs as ap}from"react/jsx-runtime";var Dn="k-actionsheet-view",tp=[],op={},np={},Ct=e=>{let{adaptive:t,animated:o,children:s,header:r,footer:p,...l}=e,c=r?.type===oe&&Pn(oe,{adaptive:t,...r?.props}),u=p?.type===lo&&Pn(lo,{...p?.props});return ap("div",{...l,className:n(e.className,Dn,{[`${Dn}-animated`]:o}),children:[c,Pn("div",{className:"k-actionsheet-content",children:s}),u]})};Ct.states=tp;Ct.options=op;Ct.className=Dn;Ct.defaultOptions=np;var mo="action-sheet",Uo=mo;import{jsx as Go,jsxs as ip}from"react/jsx-runtime";var Ys="k-actionsheet",sp=[],rp={},co={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},q=e=>{let{side:t=co.side,fullscreen:o=co.fullscreen,adaptive:s=co.adaptive,overlay:r=co.overlay,template:p,children:l,header:c,footer:u,...N}=e;return ip("div",{className:"k-actionsheet-container",children:[r&&Go("div",{className:"k-overlay"}),Go(Se,{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:Go("div",{...N,className:n(e.className,Ys,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":s}),children:p||Go(Ct,{header:c,footer:u,adaptive:s,...e,children:l})})})]})};q.states=sp;q.options=rp;q.className=Ys;q.defaultOptions=co;q.moduleName=mo;q.folderName=Uo;import{jsx as cp}from"react/jsx-runtime";var Qs="k-actionsheet-container",lp=[],pp={},mp={},Tt=e=>{let{children:t,...o}=e;return cp("div",{...o,className:Qs,children:t})};Tt.states=lp;Tt.options=pp;Tt.className=Qs;Tt.defaultOptions=mp;Tt.moduleName=mo;Tt.folderName=Uo;import{jsx as Jx}from"react/jsx-runtime";import{Fragment as up,jsx as uo,jsxs as wn}from"react/jsx-runtime";var Hn="k-actionsheet-item",dp=[a.hover,a.focus,a.selected,a.disabled],zn=e=>{let{iconName:t,text:o,description:s,hover:r,focus:p,selected:l,disabled:c,...u}=e;return wn("span",{...u,className:n(e.className,Hn,g(Hn,{hover:r,focus:p,selected:l,disabled:c})),children:[!e.children&&uo(up,{children:wn("span",{className:"k-actionsheet-action",children:[t&&uo("span",{className:"k-icon-wrap",children:uo(v,{className:"k-actionsheet-item-icon",icon:t})}),wn("span",{className:"k-actionsheet-item-text",children:[o&&uo("span",{className:"k-actionsheet-item-title",children:o}),s&&uo("span",{className:"k-actionsheet-item-description",children:s})]})]})}),e.children]})};zn.states=dp;zn.className=Hn;import{jsx as oh,jsxs as nh}from"react/jsx-runtime";import{jsx as ih}from"react/jsx-runtime";import{jsx as ch}from"react/jsx-runtime";import{jsx as bh}from"react/jsx-runtime";var Un="slider",er=Un;import{jsx as Ot,jsxs as Gn}from"react/jsx-runtime";var fo="k-slider",fp=[a.hover,a.focus,a.active,a.disabled,a.readonly],bp={},Ve={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},$=e=>{let{type:t=Ve.type,orientation:o=Ve.orientation,readonly:s=Ve.readonly,disabled:r=Ve.disabled,handlePosition:p=Ve.handlePosition,showButtons:l=Ve.showButtons,showTicks:c=Ve.showTicks,hover:u,focus:N,active:h,trackStyle:S,dir:d,...M}=e,L,E;return o==="horizontal"?(L=d==="rtl"?"caret-alt-left":"caret-alt-right",E=d==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(L="caret-alt-up",E="caret-alt-down"),Gn("div",{...M,className:n(fo,e.className,g(fo,{readonly:s,disabled:r}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:d,children:[l&&Ot(f,{className:"k-button-decrease",rounded:"full",icon:E}),Gn("div",{className:"k-slider-track-wrap",children:[c&&Ot("ul",{className:"k-reset k-slider-items",children:e.children}),Gn("div",{className:"k-slider-track",style:S,children:[Ot("div",{className:"k-slider-selection"}),t==="range"&&Ot("span",{className:n("k-draghandle","k-draghandle-start",g(fo,{hover:u,focus:N,active:h}))}),Ot("span",{className:n("k-draghandle",`k-draghandle-${p}`,g(fo,{hover:u,focus:N,active:h}))})]})]}),l&&Ot(f,{className:"k-button-increase",rounded:"full",icon:L})]})};$.states=fp;$.options=bp;$.className=fo;$.defaultOptions=Ve;$.moduleName=Un;$.folderName=er;import{jsx as tr}from"react/jsx-runtime";var or="k-tick",Np=[],xp={},nr={label:!1},Je=e=>{let{style:t,label:o=nr.label,orientation:s,large:r,text:p,...l}=e;return tr("li",{...l,className:n(e.className,or,{[`k-tick-${s}`]:s,"k-tick-large":r}),style:t,children:o&&tr("span",{className:"k-label",children:p})})};Je.states=Np;Je.options=xp;Je.className=or;Je.defaultOptions=nr;import{Fragment as Uh,jsx as zh,jsxs as Gh}from"react/jsx-runtime";import{Fragment as Jh,jsx as Vh,jsxs as Wh}from"react/jsx-runtime";import{Fragment as jh,jsx as Qh,jsxs as eL}from"react/jsx-runtime";import{Fragment as sL,jsx as aL,jsxs as rL}from"react/jsx-runtime";import{jsx as hp}from"react/jsx-runtime";var Fn=e=>hp($,{type:"gradient",showButtons:!1,showTicks:!1,...e});import{jsx as Lp}from"react/jsx-runtime";var $n=e=>Lp($,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});import{jsx as ar,jsxs as gp}from"react/jsx-runtime";var sr="k-spin-button",Sp=[],Ep={size:[i.small,i.medium,i.large],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link]},Xn={size:i.medium,fillMode:b.solid},We=e=>{let{size:t=Xn.size,fillMode:o=Xn.fillMode,...s}=e;return gp("span",{...s,className:n(sr,e.className),children:[ar(f,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),ar(f,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};We.states=Sp;We.options=Ep;We.className=sr;We.defaultOptions=Xn;We.moduleName=null;We.folderName=null;var rr="numeric-textbox",ir="numerictextbox";import{Fragment as lr,jsx as ye,jsxs as Vn}from"react/jsx-runtime";var pr="k-numerictextbox",kp=[a.hover,a.focus,a.valid,a.invalid,a.loading,a.required,a.disabled,a.readonly],Ap={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},mt={showSpinButton:!0,showClearButton:!0,size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode,separators:!0},R=e=>{let{size:t=mt.size,rounded:o=mt.rounded,fillMode:s=mt.fillMode,separators:r=mt.separators,showClearButton:p=mt.showClearButton,showSpinButton:l=mt.showSpinButton,prefix:c,suffix:u,value:N,placeholder:h,hover:S,focus:d,valid:M,invalid:L,required:E,loading:C,disabled:A,readonly:B,...H}=e;return Vn(y,{...H,size:t,rounded:o,fillMode:s,hover:S,focus:d,valid:M,invalid:L,required:E,loading:C,disabled:A,readonly:B,className:n(e.className,pr),children:[c&&Vn(lr,{children:[ye(j,{children:c}),r&&ye(te,{})]}),ye(ce,{placeholder:h,value:N}),ye(J,{valid:M,invalid:L,loading:C,disabled:A}),ye(Q,{loading:C,disabled:A}),p&&ye(me,{loading:C,disabled:A,readonly:B,value:N}),u&&Vn(lr,{children:[r&&ye(te,{}),ye(ee,{children:u})]}),l&&ye(We,{className:"k-input-spinner",size:t,fillMode:s})]})};R.states=kp;R.options=Ap;R.className=pr;R.defaultOptions=mt;R.moduleName=rr;R.folderName=ir;import{jsx as zL}from"react/jsx-runtime";import{jsx as Tp}from"react/jsx-runtime";var Cp="k-no-data",bo=e=>Tp("span",{className:n(Cp,e.className),children:e.children});var Ie="list",qe=Ie;import{jsx as yt,jsxs as cr}from"react/jsx-runtime";var Jn="k-list",Op=[],yp={size:[i.small,i.medium,i.large]},dr={size:i.medium},_=e=>{let{size:t=dr.size,virtualization:o,children:s,optionLabel:r,customValue:p,screenReaders:l,...c}=e,u,N,h,S,d=[];return s?s.map((M,L)=>{M.type===z?(M.props.root===!0?(u=M.props.label,M.props.children.map((E,C)=>{d.push(yt(T,{...E.props},`optChild-${C}-${new Date().getTime()}`))})):M.props.children.forEach((E,C)=>{let A="";C===0&&(A=M.props.label),d.push(yt(T,{className:C===0?"k-first":"",...E.props,groupLabel:A},`groupLabel-${C}-${new Date().getTime()}`))}),N=yt(z,{label:u,virtualization:o,children:d})):M.type===T&&(d.push(yt(T,{...M.props},`${M.type}-${L}`)),h=yt(It,{virtualization:o,children:d}),l&&(S=cr(bo,{className:"k-sr-only",children:[d.length," items found."]})))}):S=yt(bo,{children:"No data found."}),cr("div",{...c,className:n(e.className,Jn,k(Jn,{size:t}),{"k-virtual-list":o}),children:[r,p,N,h,S]})};_.states=Op;_.options=yp;_.className=Jn;_.defaultOptions=dr;_.moduleName=Ie;_.folderName=qe;import{jsx as Kp}from"react/jsx-runtime";var ur="k-list-container",Ip=[],Bp={},_p={},Bt=e=>{let{...t}=e;return Kp("div",{...t,className:n(e.className,ur),children:e.children})};Bt.states=Ip;Bt.options=Bp;Bt.className=ur;Bt.defaultOptions=_p;Bt.moduleName=Ie;Bt.folderName=qe;import{jsx as ct,jsxs as Dp}from"react/jsx-runtime";var Wn="k-list",Rp=[],Pp={size:[i.small,i.medium,i.large]},fr={size:i.medium},Be=e=>{let{size:t=fr.size,virtualization:o,children:s,...r}=e,p,l,c,u=[];return s?s.map((N,h)=>{N.type===z?(N.props.root===!0?(p=N.props.label,N.props.children.map((S,d)=>{u.push(ct(T,{...S.props},`optChild-${d}-${new Date().getTime()}`))})):(u.push(ct(br,{...N.props,children:N.props.label},`listChild-${h}`)),N.props.children.map((S,d)=>{u.push(ct(T,{...S.props},`fwOptChild-${d}-${new Date().getTime()}`))})),l=ct(z,{label:p,virtualization:o,children:u})):N.type===T&&(u.push(ct(T,{...N.props},`${N.type}-${h}`)),c=ct(It,{virtualization:o,children:u}))}):c=ct(bo,{children:"No data found."}),Dp("div",{...r,className:n(e.className,Wn,k(Wn,{size:t}),{"k-virtual-list":o}),children:[l,c]})};Be.states=Rp;Be.options=Pp;Be.className=Wn;Be.defaultOptions=fr;Be.moduleName=Ie;Be.folderName=qe;var dt="checkbox",_t=dt;import{jsx as Nr}from"react/jsx-runtime";var Fo="k-checkbox",wp=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.checked,a.indeterminate],Hp={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full]},qn={size:i.medium,rounded:x.medium},ge=e=>{let{id:t,checked:o,indeterminate:s,hover:r,focus:p,disabled:l,invalid:c,valid:u,required:N,size:h=qn.size,rounded:S=qn.rounded,...d}=e;return Nr("span",{className:"k-checkbox-wrap",children:Nr("input",{...d,id:t,type:"checkbox",defaultChecked:o,required:N,className:n(e.className,Fo,k(Fo,{size:h,rounded:S}),g(Fo,{hover:r,focus:p,disabled:l,invalid:c,valid:u,indeterminate:s,checked:o}))})})};ge.states=wp;ge.options=Hp;ge.className=Fo;ge.defaultOptions=qn;ge.moduleName=dt;ge.folderName=_t;import{jsx as Gp}from"react/jsx-runtime";var xr="k-checkbox-list",zp=[],Up={},hr={layout:"vertical"},Ze=e=>{let{layout:t=hr.layout,...o}=e;return Gp("ul",{...o,className:n(e.className,xr,{[`k-list-${t}`]:t}),children:e.children})};Ze.states=zp;Ze.options=Up;Ze.className=xr;Ze.defaultOptions=hr;Ze.moduleName=dt;Ze.folderName=_t;import{jsx as Vp}from"react/jsx-runtime";var Lr="k-checkbox-list-item",Fp=[],$p={},Xp={},Ye=e=>{let{...t}=e;return Vp("li",{...t,className:n(e.className,Lr),children:e.children})};Ye.states=Fp;Ye.options=$p;Ye.className=Lr;Ye.defaultOptions=Xp;Ye.moduleName=dt;Ye.folderName=_t;import{Fragment as AM,jsx as kM,jsxs as CM}from"react/jsx-runtime";import{Fragment as BM,jsx as IM,jsxs as _M}from"react/jsx-runtime";import{Fragment as wM,jsx as DM,jsxs as HM}from"react/jsx-runtime";import{Fragment as $M,jsx as FM,jsxs as XM}from"react/jsx-runtime";import{jsx as qM}from"react/jsx-runtime";import{jsx as jM}from"react/jsx-runtime";import{jsx as $o,jsxs as Zp}from"react/jsx-runtime";var Yn="k-list-item",Jp=[a.hover,a.focus,a.selected,a.disabled],Wp={},qp={},T=e=>{let{text:t,groupLabel:o,group:s,showIcon:r,iconName:p,showCheckbox:l,checked:c,hover:u,focus:N,selected:h,disabled:S,...d}=e,M=t||e.children;return Zp("li",{...d,className:n(e.className,s?"k-list-group-item":Yn,g(Yn,{hover:u,focus:N,disabled:S,selected:h})),children:[l&&$o(ge,{checked:c}),r&&$o(v,{icon:p}),$o("span",{className:"k-list-item-text",children:M}),o&&o!==""&&$o("div",{className:"k-list-item-group-label",children:o})]})};T.states=Jp;T.options=Wp;T.className=Yn;T.defaultOptions=qp;T.moduleName=Ie;T.folderName=qe;import{jsx as Qn,jsxs as Qp}from"react/jsx-runtime";var Yp="k-list-content",It=e=>{let{virtualization:t,...o}=e;return Qp("div",{...o,className:n(Yp,e.className),children:[Qn("ul",{className:n("k-list-ul"),children:e.children}),t&&Qn("div",{className:"k-height-container",children:Qn("div",{})})]})};import{jsx as Mr}from"react/jsx-runtime";var jp="k-list-group-sticky-header",vr=e=>Mr("div",{className:n(jp,e.className),children:Mr("div",{className:"k-list-header-text",children:e.children})});import{Fragment as em,jsx as Sr,jsxs as tm}from"react/jsx-runtime";var z=e=>{let{virtualization:t,label:o}=e;return tm(em,{children:[o&&Sr(vr,{children:o}),e.children&&Sr(It,{virtualization:t,children:e.children})]})};import{jsx as Er}from"react/jsx-runtime";var om="k-list-group-item",br=e=>Er("li",{className:n(om,e.className),children:Er("span",{className:"k-list-item-text",children:e.children})});import{jsx as rm}from"react/jsx-runtime";var jn="k-list-optionlabel",nm=[a.hover,a.focus,a.selected,a.disabled],am={},sm={},Xo=e=>{let{text:t,hover:o,focus:s,selected:r,disabled:p,...l}=e;return rm("div",{...l,className:n(jn,g(jn,{hover:o,focus:s,selected:r,disabled:p})),children:t})};Xo.states=nm;Xo.options=am;Xo.className=jn;Xo.defaultOptions=sm;import{jsx as mm}from"react/jsx-runtime";var ea="k-list-custom-value",im=[a.hover,a.focus,a.selected,a.disabled],lm={},pm={},Qe=e=>{let{text:t,hover:o,focus:s,selected:r,disabled:p,...l}=e;return mm("div",{...l,className:n(ea,g(ea,{hover:o,focus:s,selected:r,disabled:p})),children:t})};Qe.states=im;Qe.options=lm;Qe.className=ea;Qe.defaultOptions=pm;import{jsx as Dv}from"react/jsx-runtime";import{jsx as Uv}from"react/jsx-runtime";import{jsx as Xv,jsxs as Vv}from"react/jsx-runtime";import{jsx as Zv,jsxs as Yv}from"react/jsx-runtime";import{jsx as tS}from"react/jsx-runtime";import{jsx as sS,jsxs as rS}from"react/jsx-runtime";import{jsx as mS,jsxs as cS}from"react/jsx-runtime";var gr="dropdown-list",kr="dropdownlist";import{Fragment as um,jsx as X,jsxs as ta}from"react/jsx-runtime";var Ar="k-dropdownlist",cm=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],dm={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},Kt={showValue:!0,arrowIconName:"caret-alt-down",size:i.medium,rounded:x.medium,fillMode:b.solid},ke=e=>{let{size:t=Kt.size,rounded:o=Kt.rounded,fillMode:s=Kt.fillMode,arrowIconName:r=Kt.arrowIconName,showValue:p=Kt.showValue,valueIconName:l,prefix:c,suffix:u,value:N,placeholder:h,hover:S,focus:d,valid:M,invalid:L,required:E,loading:C,disabled:A,readonly:B,popup:H,opened:Me,adaptive:Zt,adaptiveSettings:Yt,adaptiveTitle:ln,adaptiveSubtitle:pn,adaptiveFilter:_i,...Ki}=e;return ta(um,{children:[ta(V,{...Ki,size:t,rounded:o,fillMode:s,hover:S,focus:d,valid:M,invalid:L,required:E,loading:C,disabled:A,readonly:B,className:n(e.className,Ar,{"k-icon-picker":!p&&l}),children:[X(j,{children:c}),X(rt,{placeholder:h,value:N,showValue:p,valueIconName:l}),X(J,{valid:M,invalid:L,loading:C,disabled:A}),X(Q,{loading:C,disabled:A}),X(ee,{children:u}),X(f,{className:"k-input-button",icon:r,rounded:null,size:e.size,fillMode:e.fillMode})]}),Me&&H&&X(D,{className:"k-list-container k-dropdownlist-popup",children:H}),Zt&&X(q,{adaptive:!0,...Yt,header:X(oe,{actionsEnd:X(f,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:_i,inputValue:N,inputPlaceholder:h,title:ln,subtitle:pn}),children:X("div",{className:"k-list-container",children:ta(_,{size:"large",children:[X(T,{text:"List item"}),X(T,{text:"List item"}),X(T,{text:"List item"})]})})})]})};ke.states=cm;ke.options=dm;ke.className=Ar;ke.defaultOptions=Kt;ke.moduleName=gr;ke.folderName=kr;import{jsx as $S}from"react/jsx-runtime";import{jsx as qS,jsxs as ZS}from"react/jsx-runtime";import{Fragment as aE,jsx as oE,jsxs as nE}from"react/jsx-runtime";import{jsx as lE}from"react/jsx-runtime";import{jsx as uE,jsxs as fE}from"react/jsx-runtime";import{jsx as LE,jsxs as ME}from"react/jsx-runtime";import{Fragment as TE,jsx as AE,jsxs as CE}from"react/jsx-runtime";import{Fragment as PE,jsx as KE,jsxs as RE}from"react/jsx-runtime";import{Fragment as QE,jsx as YE}from"react/jsx-runtime";import{Fragment as sg,jsx as ag}from"react/jsx-runtime";import{Fragment as No,jsx as O,jsxs as P}from"react/jsx-runtime";var Cr="k-colorgradient-inputs",fm=[],bm={size:[i.small,i.medium,i.large]},Tr={mode:"rgba",size:i.medium},Rt=e=>{let{mode:t=Tr.mode,size:o,...s}=e;return P("div",{...s,className:n(Cr,"k-hstack"),children:[O("div",{className:"k-vstack",children:O(f,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),t==="rgba"&&P(No,{children:[P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),O("label",{className:"k-colorgradient-input-label",children:"R"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),O("label",{className:"k-colorgradient-input-label",children:"G"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),O("label",{className:"k-colorgradient-input-label",children:"B"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),O("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&P(No,{children:[P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"R"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"G"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&P(No,{children:[P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"H"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"S"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"V"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),O("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&P(No,{children:[P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"H"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"S"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&O(No,{children:P("div",{className:"k-vstack k-flex-1",children:[O(Ee,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),O("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Rt.states=fm;Rt.options=bm;Rt.className=Cr;Rt.defaultOptions=Tr;import{jsx as ft,jsxs as bt}from"react/jsx-runtime";var Or="k-colorgradient-color-contrast",Nm=[],xm={},hm={},Pt=()=>bt("div",{className:n(Or,"k-vbox"),children:[bt("div",{className:"k-contrast-ratio",children:[ft("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),bt("span",{className:"k-contrast-validation !k-text-success",children:[ft(v,{icon:"check"}),ft(v,{icon:"check"})]})]}),bt("div",{children:[ft("span",{children:"AA: 4.5"}),bt("span",{className:"k-contrast-validation !k-text-success",children:["Pass",ft(v,{icon:"check"})]})]}),bt("div",{children:[ft("span",{children:"AAA: 7.0"}),bt("span",{className:"k-contrast-validation !k-text-error",children:["Fail",ft(v,{icon:"x"})]})]})]});Pt.states=Nm;Pt.options=xm;Pt.className=Or;Pt.defaultOptions=hm;var yr="color-gradient",Ir="colorgradient";import{jsx as ne,jsxs as xo}from"react/jsx-runtime";var Vo="k-colorgradient",Lm=[a.hover,a.focus,a.readonly,a.disabled],Mm={size:[i.small,i.medium,i.large]},ue={size:i.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"},Ae=e=>{let{size:t=ue.size,mode:o=ue.mode,readonly:s=ue.readonly,disabled:r=ue.disabled,gradientStyle:p=ue.gradientStyle,dragHandleStyle:l=ue.dragHandleStyle,alphaStyle:c=ue.alphaStyle,alphaStyleHorizontal:u=ue.alphaStyleHorizontal,contrast:N=ue.contrast,dir:h,hover:S,focus:d,hoverHandle:M,focusHandle:L,canvasOrientation:E=ue.canvasOrientation,...C}=e;return xo("div",{...C,className:n(e.className,Vo,k(Vo,{size:t}),g(Vo,{hover:S,focus:d,readonly:s,disabled:r})),dir:h,children:[!E||E==="horizontal"&&xo("div",{className:"k-colorgradient-canvas k-hstack",children:[ne("div",{className:"k-hsv-rectangle",style:p,children:ne("div",{className:"k-hsv-gradient",children:ne("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":L}),style:l})})}),xo("div",{className:"k-hsv-controls k-hstack",children:[ne($n,{className:"k-hue-slider",hover:M,focus:L}),o!=="rgb"&&o!=="hsv"&&ne($n,{className:"k-alpha-slider",hover:M,focus:L,trackStyle:c})]})]}),E==="vertical"&&xo("div",{className:"k-colorgradient-canvas k-vstack",children:[ne("div",{className:"k-hsv-rectangle",style:p,children:ne("div",{className:"k-hsv-gradient",children:ne("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":L}),style:l})})}),xo("div",{className:"k-hsv-controls k-vstack",children:[ne(Fn,{className:"k-hue-slider",hover:M,focus:L}),o!=="rgb"&&o!=="hsv"&&ne(Fn,{className:"k-alpha-slider",hover:M,focus:L,trackStyle:u})]})]}),ne(Rt,{mode:e.mode,size:t}),N&&ne(Pt,{})]})};Ae.states=Lm;Ae.options=Mm;Ae.className=Vo;Ae.defaultOptions=ue;Ae.moduleName=yr;Ae.folderName=Ir;import{jsx as Bg}from"react/jsx-runtime";import{jsx as Pg}from"react/jsx-runtime";import{jsx as vm}from"react/jsx-runtime";var Br=e=>vm("tr",{children:e.children});import{jsx as gm}from"react/jsx-runtime";var oa="k-colorpalette-tile",Sm=[a.hover,a.focus,a.selected],Em={},ho=e=>{let{color:t,tileSize:o,hover:s,focus:r,selected:p,...l}=e,c={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return gm("td",{...l,className:n(e.className,oa,g(oa,{hover:s,focus:r,selected:p})),style:c})};ho.states=Sm;ho.options=Em;ho.className=oa;var _r="color-palette",Kr="colorpalette";import{jsx as Lo}from"react/jsx-runtime";var Jo="k-colorpalette",km=[a.disabled],Am={size:[i.small,i.medium,i.large]},na={columns:10,size:i.medium},je=e=>{let{size:t=na.size,palette:o,columns:s=na.columns,tileSize:r,disabled:p,...l}=e,c=[];if(o){let u=s||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/u)},(h,S)=>{let d=[];N.slice(S*u,(S+1)*u).map((L,E)=>{d.push(Lo(ho,{color:L,tileSize:r},E))});let M=Lo(Br,{children:d},S);c.push(M)})}return Lo("div",{...l,className:n(e.className,Jo,g(Jo,{disabled:p}),k(Jo,{size:t})),children:Lo("table",{className:"k-colorpalette-table",children:Lo("tbody",{children:c.length>0?c:e.children})})})};je.states=km;je.options=Am;je.className=Jo;je.defaultOptions=na;je.moduleName=_r;je.folderName=Kr;var aa={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