@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 86.3 kB
JavaScript
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 pn="textarea",ts=pn;var Yt="input",Bo=Yt;import{jsx as Pi}from"react/jsx-runtime";var _o="k-input",Ki=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Ri={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 Pi("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=Ki;y.options=Ri;y.className=_o;y.defaultOptions=Ko;y.moduleName=Yt;y.folderName=Bo;import{jsx as Hi}from"react/jsx-runtime";var Ro="k-picker",Di=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],wi={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},W=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 Hi("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})};W.states=Di;W.options=wi;W.className=Ro;W.defaultOptions=Po;W.moduleName=Yt;W.folderName=Bo;import{Fragment as Fi,jsx as os}from"react/jsx-runtime";var mn="k-font-icon",zi=[],Ui={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]},Gi={},Qt=e=>{let{size:t,themeColor:o,icon:s,rotate:r,flip:p,...l}=e;return s?os("span",{...l,className:n(e.className,mn,k(mn,{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(Fi,{})};Qt.states=zi;Qt.options=Ui;Qt.className=mn;Qt.defaultOptions=Gi;var ns=Qt;import{Fragment as Vi,jsx as Do}from"react/jsx-runtime";var cn="k-svg-icon",$i=[],Xi={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"},jt=e=>{let{size:t,themeColor:o,rotate:s,flip:r,viewBox:p=as.viewBox,icon:l,...c}=e;if(!l)return Do(Vi,{});l==="none"&&{...c,className:n(e.className,cn,"k-none")};let u=typeof l=="object"&&l.name&&l.name;return Do("span",{...c,className:n(e.className,cn,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})})};jt.states=$i;jt.options=Xi;jt.className=cn;jt.defaultOptions=as;var dn=jt;import*as un from"@progress/kendo-svg-icons";var ss="icon",rs="icons";import{Fragment as is,jsx as eo}from"react/jsx-runtime";var wo="k-icon",Ji=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Wi=[],qi={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]},fn={viewBox:"0 0 24 24",type:"svg"},v=e=>{let{size:t,themeColor:o,icon:s,type:r=fn.type,rotate:p,flip:l,viewBox:c=fn.viewBox,...u}=e;if(!s)return eo(is,{});if(r==="svg"){if(s==="none")return eo(dn,{...u,className:n(e.className,wo),icon:s,size:t});let N=un[s]?s:Ji(`${s}-icon`);return un[N]?eo(dn,{...u,className:n(e.className,wo),icon:un[N],size:t,themeColor:o,rotate:p,flip:l,viewBox:c}):eo(is,{})}return eo(ns,{...u,className:n(e.className,wo),icon:s,size:t,themeColor:o,rotate:p,flip:l})};v.states=Wi;v.options=qi;v.defaultOptions=fn;v.className=wo;v.moduleName=ss;v.folderName=rs;import{Fragment as Qi,jsx as bn}from"react/jsx-runtime";var ls="k-clear-value",Zi=[a.disabled,a.loading,a.readonly],Yi={},de=e=>{let{disabled:t,loading:o,readonly:s,value:r}=e;return t||s||o||!r?bn(Qi,{}):bn("span",{className:n(e.className,ls),children:bn(v,{icon:"x"})})};de.states=Zi;de.options=Yi;de.className=ls;import{jsx as tl}from"react/jsx-runtime";var Nn="k-input-inner",ji=[],el={},Ho={type:"text",autocomplete:"off",value:"",placeholder:""},ue=e=>{let{value:t=Ho.value,type:o=Ho.type,placeholder:s=Ho.placeholder,autocomplete:r=Ho.autocomplete,...p}=e;return tl("input",{...p,type:o,className:n(e.className,Nn,k(Nn,e)),placeholder:s,autoComplete:r,defaultValue:t})};ue.states=ji;ue.options=el;ue.className=Nn;import{jsx as ps,jsxs as al}from"react/jsx-runtime";var xn="k-input-inner",ol=[],nl={},st=e=>{let{value:t,placeholder:o,showValue:s,valueIcon:r,valueIconName:p,...l}=e;return al("span",{...l,className:n(e.className,xn,k(xn,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})]})};st.states=ol;st.options=nl;st.className=xn;import{jsx as il}from"react/jsx-runtime";var hn="k-input-inner",sl=[],rl={},ms={value:"",placeholder:""},to=e=>{let{value:t=ms.value,placeholder:o=ms.placeholder,rows:s,...r}=e;return il("textarea",{...r,className:n(e.className,hn,k(hn,e)),placeholder:o,rows:s,defaultValue:t})};to.states=sl;to.options=rl;to.className=hn;import{Fragment as pl,jsx as cs}from"react/jsx-runtime";var ds="k-input-loading-icon",ll=[a.disabled,a.loading],ee=e=>{let{disabled:t,loading:o}=e;return t||!o?cs(pl,{}):cs("span",{className:n(e.className,ds,"k-icon k-i-loading")})};ee.states=ll;ee.className=ds;import{Fragment as dl,jsx as us}from"react/jsx-runtime";var fs="k-input-validation-icon",ml=[a.valid,a.invalid,a.disabled,a.loading],cl={},q=e=>{let{valid:t,invalid:o,disabled:s,loading:r}=e,p=o?"warning-circle":"check-circle";return s||r||!!!(t||o)?us(dl,{}):us(v,{className:n(fs),icon:p})};q.states=ml;q.options=cl;q.className=fs;import{Fragment as bl,jsx as bs}from"react/jsx-runtime";var ul="k-input-prefix",fl={direction:"horizontal"},te=e=>{let{direction:t=fl.direction,...o}=e;return e.children?bs("span",{...o,className:n(ul,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):bs(bl,{})};import{Fragment as hl,jsx as Ns}from"react/jsx-runtime";var Nl="k-input-suffix",xl={direction:"horizontal"},oe=e=>{let{direction:t=xl.direction,...o}=e;return e.children?Ns("span",{...o,className:n(Nl,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Ns(hl,{})};import{jsx as Au}from"react/jsx-runtime";import{jsx as yu}from"react/jsx-runtime";import{jsx as Ml}from"react/jsx-runtime";var xs="k-input-separator",Ll={direction:"vertical"},ne=e=>{let{direction:t=Ll.direction,...o}=e;return Ml("span",{...o,className:n(xs,e.className,{[`${xs}-${t}`]:t})})};import{Fragment as hs,jsx as oo,jsxs as Ln}from"react/jsx-runtime";var Ls="k-textarea",vl=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled],Sl={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},Oe={size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode,flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},Ue=e=>{let{size:t=Oe.size,rounded:o=Oe.rounded,fillMode:s=Oe.fillMode,prefixSeparator:r=Oe.prefixSeparator,suffixSeparator:p=Oe.prefixSeparator,affixesOrientation:l=Oe.affixesOrientation,flow:c=Oe.flow,resize:u=Oe.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 Ln(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&&Ln(hs,{children:[oo(te,{className:n({"!k-align-items-start":c===l}),direction:l,children:N}),r&&oo(ne,{direction:c==="horizontal"?"vertical":"horizontal"})]}),oo(to,{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&&Ln(hs,{children:[p&&oo(ne,{direction:c==="horizontal"?"vertical":"horizontal"}),oo(oe,{className:n({"!k-align-items-start":c===l}),direction:l,children:h})]})]})};Ue.states=vl;Ue.options=Sl;Ue.className=Ls;Ue.defaultOptions=Oe;Ue.moduleName=pn;Ue.folderName=ts;import{jsx as of}from"react/jsx-runtime";import{Fragment as pf,jsx as lf}from"react/jsx-runtime";var Mn="button",vs=Mn;import{Fragment as Al,jsx as no,jsxs as Ss}from"react/jsx-runtime";var ao="k-button",El=["icon-button"],gl=[a.hover,a.focus,a.active,a.selected,a.disabled,a.generating],kl={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]},rt={size:i.medium,rounded:x.medium,fillMode:b.solid,themeColor:m.base,showArrow:!1,arrowIconName:"caret-alt-down"},f=e=>{let{size:t=rt.size,rounded:o=rt.rounded,fillMode:s=rt.fillMode,themeColor:r=rt.themeColor,showArrow:p=rt.showArrow,arrowIconName:l=rt.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,ao,Io(ao,c),k(ao,{size:t,rounded:o,fillMode:s,themeColor:r}),g(ao,{hover:u,focus:N,active:h,disabled:d,selected:S}),{"k-icon-button":!L&&!B&&A}),children:[M&&no(v,{className:n(E,"k-button-icon"),icon:M}),L?Ss(Al,{children:[L&&no("span",{className:"k-button-text",children:L}),e.children]}):e.children&&no("span",{className:"k-button-text",children:e.children}),p&&no("span",{className:"k-menu-button-arrow k-button-arrow",children:no(v,{icon:l})})]})};f.states=gl;f.options=kl;f.variants=El;f.className=ao;f.defaultOptions=rt;f.moduleName=Mn;f.folderName=vs;import{jsx as Cl}from"react/jsx-runtime";var ye=e=>Cl(f,{icon:"folder",...e,children:void 0});import{jsx as Tl}from"react/jsx-runtime";var vn=e=>Tl(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 Sn="speech-to-text-button",Es=Sn;import{jsx as Ol}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 Ol(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=Sn;ve.folderName=Es;import{jsx as eb}from"react/jsx-runtime";import{jsx as ab}from"react/jsx-runtime";var En="chat",As=En;import{Fragment as gn,jsx as it,jsxs as so}from"react/jsx-runtime";var Cs="k-chat",yl=[],Il={},Bl=so(gn,{children:[it(ve,{fillMode:"clear"}),it(ye,{icon:"paperclip",fillMode:"clear"},"paperclip")]}),Ts={tools:Bl},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 so("div",{...S,className:n(Cs,e.className),dir:o,children:[t,p,it("div",{className:"k-message-list",children:it("div",{className:n("k-message-list-content",h&&"k-message-list-content-empty"),children:e.children})}),so("div",{className:"k-message-box-wrapper",children:[s,it(Ue,{className:"k-message-box",placeholder:"Type a message",value:N,prefixSeparator:!1,suffixSeparator:!1,rows:1,resize:"none",prefix:r||l?so(gn,{children:[l,r]}):void 0,suffix:so(gn,{children:[u,it("span",{className:"k-spacer"}),it(kt,{generating:c,disabled:!N&&!c})]})})]})]})};F.states=yl;F.options=Il;F.className=Cs;F.defaultOptions=Ts;F.moduleName=En;F.folderName=As;var kn="button",Os=kn;import{jsx as Rl}from"react/jsx-runtime";var ro="k-button-group",_l=[a.disabled],Kl={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 Rl("div",{...r,className:n(e.className,ro,k(ro,{fillMode:t}),g(ro,{disabled:o}),{[`${ro}-stretched`]:s}),children:e.children})};K.states=_l;K.options=Kl;K.className=ro;K.defaultOptions=ys;K.moduleName=kn;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 wl}from"react/jsx-runtime";var Bs="k-color-preview",Pl=[],Dl={},Ge=e=>{let{color:t,iconName:o,...s}=e;return wl("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}})]})};Ge.states=Pl;Ge.options=Dl;Ge.className=Bs;var An="popup",_s=An;import{jsx as Ks}from"react/jsx-runtime";var Rs="k-animation-container",Hl=[],zl={},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=Hl;Se.options=zl;Se.className=Rs;Se.defaultOptions=Ps;Se.moduleName=An;Se.folderName=_s;var Cn="popup",Ds=Cn;import{jsx as ws}from"react/jsx-runtime";var Hs="k-popup",Ul=[],Gl={},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=Ul;D.options=Gl;D.className=Hs;D.defaultOptions=zs;D.moduleName=Cn;D.folderName=Ds;var Tn="action-buttons",Us=Tn;import{jsx as Xl}from"react/jsx-runtime";var zo="k-actions",Fl=[],$l={},On={alignment:"start",orientation:"horizontal"},Z=e=>{let{alignment:t=On.alignment,orientation:o=On.orientation,...s}=e;return Xl("div",{...s,className:n(zo,{[`${zo}-${t}`]:t,[`${zo}-${o}`]:o},e.className),children:e.children})};Z.states=Fl;Z.options=$l;Z.className=zo;Z.defaultOptions=On;Z.moduleName=Tn;Z.folderName=Us;var Gs=Z;import{jsx as Jl}from"react/jsx-runtime";var Vl="k-actionsheet-footer",Fs={alignment:"stretched",orientation:"horizontal"},io=e=>{let{alignment:t=Fs.alignment,orientation:o=Fs.orientation,template:s,as:r=s?"div":Z,...p}=e;return Jl(r,{...p,...!s&&{alignment:t,orientation:o},className:n(e.className,Vl),children:e.children})};var yn="searchbox",$s=yn;import{jsx as lo,jsxs as Zl}from"react/jsx-runtime";var Xs="k-searchbox",Wl=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading],ql={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},In={showIcon:!0,icon:"search",size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode},fe=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=In.showIcon,icon:L=In.icon,...E}=e;return Zl(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&&lo(v,{className:"k-input-icon",icon:L}),lo(ue,{placeholder:o,value:t}),lo(ee,{...e}),lo(q,{...e}),lo(de,{...e})]})};fe.states=Wl;fe.options=ql;fe.className=Xs;fe.defaultOptions=In;fe.moduleName=yn;fe.folderName=$s;import{jsx as VN}from"react/jsx-runtime";var Bn="textbox",Vs=Bn;import{Fragment as Js,jsx as Fe,jsxs as _n}from"react/jsx-runtime";var Ws="k-textbox",Yl=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Ql={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},lt={showClearButton:!0,showValidationIcon:!0,size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode,separators:!0},Ee=e=>{let{size:t=lt.size,rounded:o=lt.rounded,fillMode:s=lt.fillMode,separators:r=lt.separators,showClearButton:p=lt.showClearButton,showValidationIcon:l=lt.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 _n(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&&_n(Js,{children:[Fe(te,{children:c}),r&&Fe(ne,{})]}),Fe(ue,{placeholder:S,value:h,type:N}),l&&Fe(q,{valid:L,invalid:E,loading:A,disabled:B}),Fe(ee,{loading:A,disabled:B}),p&&Fe(de,{loading:A,disabled:B,readonly:H,value:h}),u&&_n(Js,{children:[r&&Fe(ne,{}),Fe(oe,{children:u})]})]})};Ee.states=Yl;Ee.options=Ql;Ee.className=Ws;Ee.defaultOptions=lt;Ee.moduleName=Bn;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 $e,jsxs as Kn}from"react/jsx-runtime";var Zs="k-actionsheet-titlebar",jl={},ae=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 Kn("div",{...S,className:n(e.className,Zs),children:[Kn("div",{className:"k-actionsheet-titlebar-group",children:[s&&$e("div",{className:"k-actionsheet-actions",children:s}),!h&&Kn("div",{className:"k-actionsheet-title",children:[t&&$e("div",{className:"k-text-center",children:t}),o&&$e("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),h&&$e("div",{className:"k-actionsheet-title",children:h}),r&&$e("div",{className:"k-actionsheet-actions",children:r})]}),(l||p)&&$e("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?$e(Ee,{value:c,placeholder:u,size:N?"large":"medium"}):$e(fe,{placeholder:"Filter",size:N?"large":"medium"})})]})};ae.className=Zs;ae.defaultOptions=jl;import{jsx as Rn,jsxs as np}from"react/jsx-runtime";var Pn="k-actionsheet-view",ep=[],tp={},op={},At=e=>{let{adaptive:t,animated:o,children:s,header:r,footer:p,...l}=e,c=r?.type===ae&&Rn(ae,{adaptive:t,...r?.props}),u=p?.type===io&&Rn(io,{...p?.props});return np("div",{...l,className:n(e.className,Pn,{[`${Pn}-animated`]:o}),children:[c,Rn("div",{className:"k-actionsheet-content",children:s}),u]})};At.states=ep;At.options=tp;At.className=Pn;At.defaultOptions=op;var po="action-sheet",Uo=po;import{jsx as Go,jsxs as rp}from"react/jsx-runtime";var Ys="k-actionsheet",ap=[],sp={},mo={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Y=e=>{let{side:t=mo.side,fullscreen:o=mo.fullscreen,adaptive:s=mo.adaptive,overlay:r=mo.overlay,template:p,children:l,header:c,footer:u,...N}=e;return rp("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(At,{header:c,footer:u,adaptive:s,...e,children:l})})})]})};Y.states=ap;Y.options=sp;Y.className=Ys;Y.defaultOptions=mo;Y.moduleName=po;Y.folderName=Uo;import{jsx as mp}from"react/jsx-runtime";var Qs="k-actionsheet-container",ip=[],lp={},pp={},Ct=e=>{let{children:t,...o}=e;return mp("div",{...o,className:Qs,children:t})};Ct.states=ip;Ct.options=lp;Ct.className=Qs;Ct.defaultOptions=pp;Ct.moduleName=po;Ct.folderName=Uo;import{jsx as Jx}from"react/jsx-runtime";import{Fragment as dp,jsx as co,jsxs as Dn}from"react/jsx-runtime";var wn="k-actionsheet-item",cp=[a.hover,a.focus,a.selected,a.disabled],Hn=e=>{let{iconName:t,text:o,description:s,hover:r,focus:p,selected:l,disabled:c,...u}=e;return Dn("span",{...u,className:n(e.className,wn,g(wn,{hover:r,focus:p,selected:l,disabled:c})),children:[!e.children&&co(dp,{children:Dn("span",{className:"k-actionsheet-action",children:[t&&co("span",{className:"k-icon-wrap",children:co(v,{className:"k-actionsheet-item-icon",icon:t})}),Dn("span",{className:"k-actionsheet-item-text",children:[o&&co("span",{className:"k-actionsheet-item-title",children:o}),s&&co("span",{className:"k-actionsheet-item-description",children:s})]})]})}),e.children]})};Hn.states=cp;Hn.className=wn;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 zn="slider",er=zn;import{jsx as Tt,jsxs as Un}from"react/jsx-runtime";var uo="k-slider",up=[a.hover,a.focus,a.active,a.disabled,a.readonly],fp={},Xe={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},$=e=>{let{type:t=Xe.type,orientation:o=Xe.orientation,readonly:s=Xe.readonly,disabled:r=Xe.disabled,handlePosition:p=Xe.handlePosition,showButtons:l=Xe.showButtons,showTicks:c=Xe.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"),Un("div",{...M,className:n(uo,e.className,g(uo,{readonly:s,disabled:r}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:d,children:[l&&Tt(f,{className:"k-button-decrease",rounded:"full",icon:E}),Un("div",{className:"k-slider-track-wrap",children:[c&&Tt("ul",{className:"k-reset k-slider-items",children:e.children}),Un("div",{className:"k-slider-track",style:S,children:[Tt("div",{className:"k-slider-selection"}),t==="range"&&Tt("span",{className:n("k-draghandle","k-draghandle-start",g(uo,{hover:u,focus:N,active:h}))}),Tt("span",{className:n("k-draghandle",`k-draghandle-${p}`,g(uo,{hover:u,focus:N,active:h}))})]})]}),l&&Tt(f,{className:"k-button-increase",rounded:"full",icon:L})]})};$.states=up;$.options=fp;$.className=uo;$.defaultOptions=Xe;$.moduleName=zn;$.folderName=er;import{jsx as tr}from"react/jsx-runtime";var or="k-tick",bp=[],Np={},nr={label:!1},Ve=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})})};Ve.states=bp;Ve.options=Np;Ve.className=or;Ve.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 xp}from"react/jsx-runtime";var Gn=e=>xp($,{type:"gradient",showButtons:!1,showTicks:!1,...e});import{jsx as hp}from"react/jsx-runtime";var Fn=e=>hp($,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});import{jsx as ar,jsxs as Ep}from"react/jsx-runtime";var sr="k-spin-button",vp=[],Sp={size:[i.small,i.medium,i.large],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link]},$n={size:i.medium,fillMode:b.solid},Je=e=>{let{size:t=$n.size,fillMode:o=$n.fillMode,...s}=e;return Ep("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})]})};Je.states=vp;Je.options=Sp;Je.className=sr;Je.defaultOptions=$n;Je.moduleName=null;Je.folderName=null;var rr="numeric-textbox",ir="numerictextbox";import{Fragment as lr,jsx as Ie,jsxs as Xn}from"react/jsx-runtime";var pr="k-numerictextbox",gp=[a.hover,a.focus,a.valid,a.invalid,a.loading,a.required,a.disabled,a.readonly],kp={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},pt={showSpinButton:!0,showClearButton:!0,size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode,separators:!0},R=e=>{let{size:t=pt.size,rounded:o=pt.rounded,fillMode:s=pt.fillMode,separators:r=pt.separators,showClearButton:p=pt.showClearButton,showSpinButton:l=pt.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 Xn(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&&Xn(lr,{children:[Ie(te,{children:c}),r&&Ie(ne,{})]}),Ie(ue,{placeholder:h,value:N}),Ie(q,{valid:M,invalid:L,loading:C,disabled:A}),Ie(ee,{loading:C,disabled:A}),p&&Ie(de,{loading:C,disabled:A,readonly:B,value:N}),u&&Xn(lr,{children:[r&&Ie(ne,{}),Ie(oe,{children:u})]}),l&&Ie(Je,{className:"k-input-spinner",size:t,fillMode:s})]})};R.states=gp;R.options=kp;R.className=pr;R.defaultOptions=pt;R.moduleName=rr;R.folderName=ir;import{jsx as zL}from"react/jsx-runtime";import{jsx as Cp}from"react/jsx-runtime";var Ap="k-no-data",fo=e=>Cp("span",{className:n(Ap,e.className),children:e.children});var Be="list",We=Be;import{jsx as Ot,jsxs as cr}from"react/jsx-runtime";var Vn="k-list",Tp=[],Op={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(Ot(T,{...E.props},`optChild-${C}-${new Date().getTime()}`))})):M.props.children.forEach((E,C)=>{let A="";C===0&&(A=M.props.label),d.push(Ot(T,{className:C===0?"k-first":"",...E.props,groupLabel:A},`groupLabel-${C}-${new Date().getTime()}`))}),N=Ot(z,{label:u,virtualization:o,children:d})):M.type===T&&(d.push(Ot(T,{...M.props},`${M.type}-${L}`)),h=Ot(yt,{virtualization:o,children:d}),l&&(S=cr(fo,{className:"k-sr-only",children:[d.length," items found."]})))}):S=Ot(fo,{children:"No data found."}),cr("div",{...c,className:n(e.className,Vn,k(Vn,{size:t}),{"k-virtual-list":o}),children:[r,p,N,h,S]})};_.states=Tp;_.options=Op;_.className=Vn;_.defaultOptions=dr;_.moduleName=Be;_.folderName=We;import{jsx as _p}from"react/jsx-runtime";var ur="k-list-container",yp=[],Ip={},Bp={},It=e=>{let{...t}=e;return _p("div",{...t,className:n(e.className,ur),children:e.children})};It.states=yp;It.options=Ip;It.className=ur;It.defaultOptions=Bp;It.moduleName=Be;It.folderName=We;import{jsx as mt,jsxs as Pp}from"react/jsx-runtime";var Jn="k-list",Kp=[],Rp={size:[i.small,i.medium,i.large]},fr={size:i.medium},_e=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(mt(T,{...S.props},`optChild-${d}-${new Date().getTime()}`))})):(u.push(mt(br,{...N.props,children:N.props.label},`listChild-${h}`)),N.props.children.map((S,d)=>{u.push(mt(T,{...S.props},`fwOptChild-${d}-${new Date().getTime()}`))})),l=mt(z,{label:p,virtualization:o,children:u})):N.type===T&&(u.push(mt(T,{...N.props},`${N.type}-${h}`)),c=mt(yt,{virtualization:o,children:u}))}):c=mt(fo,{children:"No data found."}),Pp("div",{...r,className:n(e.className,Jn,k(Jn,{size:t}),{"k-virtual-list":o}),children:[l,c]})};_e.states=Kp;_e.options=Rp;_e.className=Jn;_e.defaultOptions=fr;_e.moduleName=Be;_e.folderName=We;var ct="checkbox",Bt=ct;import{jsx as Nr}from"react/jsx-runtime";var Fo="k-checkbox",Dp=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.checked,a.indeterminate],wp={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full]},Wn={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=Wn.size,rounded:S=Wn.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=Dp;ge.options=wp;ge.className=Fo;ge.defaultOptions=Wn;ge.moduleName=ct;ge.folderName=Bt;import{jsx as Up}from"react/jsx-runtime";var xr="k-checkbox-list",Hp=[],zp={},hr={layout:"vertical"},qe=e=>{let{layout:t=hr.layout,...o}=e;return Up("ul",{...o,className:n(e.className,xr,{[`k-list-${t}`]:t}),children:e.children})};qe.states=Hp;qe.options=zp;qe.className=xr;qe.defaultOptions=hr;qe.moduleName=ct;qe.folderName=Bt;import{jsx as Xp}from"react/jsx-runtime";var Lr="k-checkbox-list-item",Gp=[],Fp={},$p={},Ze=e=>{let{...t}=e;return Xp("li",{...t,className:n(e.className,Lr),children:e.children})};Ze.states=Gp;Ze.options=Fp;Ze.className=Lr;Ze.defaultOptions=$p;Ze.moduleName=ct;Ze.folderName=Bt;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 qp}from"react/jsx-runtime";var Zn="k-list-item",Vp=[a.hover,a.focus,a.selected,a.disabled],Jp={},Wp={},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 qp("li",{...d,className:n(e.className,s?"k-list-group-item":Zn,g(Zn,{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=Vp;T.options=Jp;T.className=Zn;T.defaultOptions=Wp;T.moduleName=Be;T.folderName=We;import{jsx as Yn,jsxs as Yp}from"react/jsx-runtime";var Zp="k-list-content",yt=e=>{let{virtualization:t,...o}=e;return Yp("div",{...o,className:n(Zp,e.className),children:[Yn("ul",{className:n("k-list-ul"),children:e.children}),t&&Yn("div",{className:"k-height-container",children:Yn("div",{})})]})};import{jsx as Mr}from"react/jsx-runtime";var Qp="k-list-group-sticky-header",vr=e=>Mr("div",{className:n(Qp,e.className),children:Mr("div",{className:"k-list-header-text",children:e.children})});import{Fragment as jp,jsx as Sr,jsxs as em}from"react/jsx-runtime";var z=e=>{let{virtualization:t,label:o}=e;return em(jp,{children:[o&&Sr(vr,{children:o}),e.children&&Sr(yt,{virtualization:t,children:e.children})]})};import{jsx as Er}from"react/jsx-runtime";var tm="k-list-group-item",br=e=>Er("li",{className:n(tm,e.className),children:Er("span",{className:"k-list-item-text",children:e.children})});import{jsx as sm}from"react/jsx-runtime";var Qn="k-list-optionlabel",om=[a.hover,a.focus,a.selected,a.disabled],nm={},am={},Xo=e=>{let{text:t,hover:o,focus:s,selected:r,disabled:p,...l}=e;return sm("div",{...l,className:n(Qn,g(Qn,{hover:o,focus:s,selected:r,disabled:p})),children:t})};Xo.states=om;Xo.options=nm;Xo.className=Qn;Xo.defaultOptions=am;import{jsx as pm}from"react/jsx-runtime";var jn="k-list-custom-value",rm=[a.hover,a.focus,a.selected,a.disabled],im={},lm={},Ye=e=>{let{text:t,hover:o,focus:s,selected:r,disabled:p,...l}=e;return pm("div",{...l,className:n(jn,g(jn,{hover:o,focus:s,selected:r,disabled:p})),children:t})};Ye.states=rm;Ye.options=im;Ye.className=jn;Ye.defaultOptions=lm;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 dm,jsx as X,jsxs as ea}from"react/jsx-runtime";var Ar="k-dropdownlist",mm=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],cm={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},_t={showValue:!0,arrowIconName:"caret-alt-down",size:i.medium,rounded:x.medium,fillMode:b.solid},ke=e=>{let{size:t=_t.size,rounded:o=_t.rounded,fillMode:s=_t.fillMode,arrowIconName:r=_t.arrowIconName,showValue:p=_t.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:qt,adaptiveSettings:Zt,adaptiveTitle:rn,adaptiveSubtitle:ln,adaptiveFilter:Bi,..._i}=e;return ea(dm,{children:[ea(W,{..._i,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(te,{children:c}),X(st,{placeholder:h,value:N,showValue:p,valueIconName:l}),X(q,{valid:M,invalid:L,loading:C,disabled:A}),X(ee,{loading:C,disabled:A}),X(oe,{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}),qt&&X(Y,{adaptive:!0,...Zt,header:X(ae,{actionsEnd:X(f,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Bi,inputValue:N,inputPlaceholder:h,title:rn,subtitle:ln}),children:X("div",{className:"k-list-container",children:ea(_,{size:"large",children:[X(T,{text:"List item"}),X(T,{text:"List item"}),X(T,{text:"List item"})]})})})]})};ke.states=mm;ke.options=cm;ke.className=Ar;ke.defaultOptions=_t;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 bo,jsx as O,jsxs as P}from"react/jsx-runtime";var Cr="k-colorgradient-inputs",um=[],fm={size:[i.small,i.medium,i.large]},Tr={mode:"rgba",size:i.medium},Kt=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(bo,{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(bo,{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(bo,{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(bo,{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(bo,{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"})]})})]})};Kt.states=um;Kt.options=fm;Kt.className=Cr;Kt.defaultOptions=Tr;import{jsx as ut,jsxs as ft}from"react/jsx-runtime";var Or="k-colorgradient-color-contrast",bm=[],Nm={},xm={},Rt=()=>ft("div",{className:n(Or,"k-vbox"),children:[ft("div",{className:"k-contrast-ratio",children:[ut("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),ft("span",{className:"k-contrast-validation !k-text-success",children:[ut(v,{icon:"check"}),ut(v,{icon:"check"})]})]}),ft("div",{children:[ut("span",{children:"AA: 4.5"}),ft("span",{className:"k-contrast-validation !k-text-success",children:["Pass",ut(v,{icon:"check"})]})]}),ft("div",{children:[ut("span",{children:"AAA: 7.0"}),ft("span",{className:"k-contrast-validation !k-text-error",children:["Fail",ut(v,{icon:"x"})]})]})]});Rt.states=bm;Rt.options=Nm;Rt.className=Or;Rt.defaultOptions=xm;var yr="color-gradient",Ir="colorgradient";import{jsx as se,jsxs as No}from"react/jsx-runtime";var Vo="k-colorgradient",hm=[a.hover,a.focus,a.readonly,a.disabled],Lm={size:[i.small,i.medium,i.large]},be={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=be.size,mode:o=be.mode,readonly:s=be.readonly,disabled:r=be.disabled,gradientStyle:p=be.gradientStyle,dragHandleStyle:l=be.dragHandleStyle,alphaStyle:c=be.alphaStyle,alphaStyleHorizontal:u=be.alphaStyleHorizontal,contrast:N=be.contrast,dir:h,hover:S,focus:d,hoverHandle:M,focusHandle:L,canvasOrientation:E=be.canvasOrientation,...C}=e;return No("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"&&No("div",{className:"k-colorgradient-canvas k-hstack",children:[se("div",{className:"k-hsv-rectangle",style:p,children:se("div",{className:"k-hsv-gradient",children:se("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":L}),style:l})})}),No("div",{className:"k-hsv-controls k-hstack",children:[se(Fn,{className:"k-hue-slider",hover:M,focus:L}),o!=="rgb"&&o!=="hsv"&&se(Fn,{className:"k-alpha-slider",hover:M,focus:L,trackStyle:c})]})]}),E==="vertical"&&No("div",{className:"k-colorgradient-canvas k-vstack",children:[se("div",{className:"k-hsv-rectangle",style:p,children:se("div",{className:"k-hsv-gradient",children:se("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":L}),style:l})})}),No("div",{className:"k-hsv-controls k-vstack",children:[se(Gn,{className:"k-hue-slider",hover:M,focus:L}),o!=="rgb"&&o!=="hsv"&&se(Gn,{className:"k-alpha-slider",hover:M,focus:L,trackStyle:u})]})]}),se(Kt,{mode:e.mode,size:t}),N&&se(Rt,{})]})};Ae.states=hm;Ae.options=Lm;Ae.className=Vo;Ae.defaultOptions=be;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 Mm}from"react/jsx-runtime";var Br=e=>Mm("tr",{children:e.children});import{jsx as Em}from"react/jsx-runtime";var ta="k-colorpalette-tile",vm=[a.hover,a.focus,a.selected],Sm={},xo=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 Em("td",{...l,className:n(e.className,ta,g(ta,{hover:s,focus:r,selected:p})),style:c})};xo.states=vm;xo.options=Sm;xo.className=ta;var _r="color-palette",Kr="colorpalette";import{jsx as ho}from"react/jsx-runtime";var Jo="k-colorpalette",gm=[a.disabled],km={size:[i.small,i.medium,i.large]},oa={columns:10,size:i.medium},Qe=e=>{let{size:t=oa.size,palette:o,columns:s=oa.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(ho(xo,{color:L,tileSize:r},E))});let M=ho(Br,{children:d},S);c.push(M)})}return ho("div",{...l,className:n(e.className,Jo,g(Jo,{disabled:p}),k(Jo,{size:t})),children:ho("table",{className:"k-colorpalette-table",children:ho("tbody",{children:c.length>0?c:e.children})})})};Qe.states=gm;Qe.options=km;Qe.className=Jo;Qe.defaultOptions=oa;Qe.moduleName=_r;Qe.folderName=Kr;var na={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","#a3a3