UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 86.6 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 Bo(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 cn="textarea",ns=cn;var Qt="input",_o=Qt;import{jsx as Hi}from"react/jsx-runtime";var Ko="k-input",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]},Ro={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=Ro.size,rounded:N=Ro.rounded,fillMode:h=Ro.fillMode,...S}=e;return Hi("span",{...S,className:n(e.className,Ko,k(Ko,{size:u,rounded:N,fillMode:h}),g(Ko,{hover:t,focus:o,disabled:s,invalid:r,valid:p,loading:l,readonly:c}))})};y.states=Di;y.options=wi;y.className=Ko;y.defaultOptions=Ro;y.moduleName=Qt;y.folderName=_o;import{jsx as Gi}from"react/jsx-runtime";var Po="k-picker",zi=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Ui={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},Do={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=Do.size,rounded:N=Do.rounded,fillMode:h=Do.fillMode,...S}=e;return Gi("span",{...S,className:n(e.className,Po,k(Po,{size:u,rounded:N,fillMode:h}),g(Po,{hover:t,focus:o,disabled:s,invalid:r,valid:p,loading:l,readonly:c})),children:e.children})};V.states=zi;V.options=Ui;V.className=Po;V.defaultOptions=Do;V.moduleName=Qt;V.folderName=_o;import{Fragment as Vi,jsx as as}from"react/jsx-runtime";var dn="k-font-icon",Fi=[],$i={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]},Xi={},jt=e=>{let{size:t,themeColor:o,icon:s,rotate:r,flip:p,...l}=e;return s?as("span",{...l,className:n(e.className,dn,k(dn,{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"})}):as(Vi,{})};jt.states=Fi;jt.options=$i;jt.className=dn;jt.defaultOptions=Xi;var ss=jt;import{Fragment as qi,jsx as wo}from"react/jsx-runtime";var un="k-svg-icon",Ji=[],Wi={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]},rs={viewBox:"0 0 24 24"},eo=e=>{let{size:t,themeColor:o,rotate:s,flip:r,viewBox:p=rs.viewBox,icon:l,...c}=e;if(!l)return wo(qi,{});l==="none"&&{...c,className:n(e.className,un,"k-none")};let u=typeof l=="object"&&l.name&&l.name;return wo("span",{...c,className:n(e.className,un,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:wo("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=Ji;eo.options=Wi;eo.className=un;eo.defaultOptions=rs;var fn=eo;import*as bn from"@progress/kendo-svg-icons";var is="icon",ls="icons";import{Fragment as ps,jsx as to}from"react/jsx-runtime";var Ho="k-icon",Zi=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Yi=[],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]},Nn={viewBox:"0 0 24 24",type:"svg"},v=e=>{let{size:t,themeColor:o,icon:s,type:r=Nn.type,rotate:p,flip:l,viewBox:c=Nn.viewBox,...u}=e;if(!s)return to(ps,{});if(r==="svg"){if(s==="none")return to(fn,{...u,className:n(e.className,Ho),icon:s,size:t});let N=bn[s]?s:Zi(`${s}-icon`);return bn[N]?to(fn,{...u,className:n(e.className,Ho),icon:bn[N],size:t,themeColor:o,rotate:p,flip:l,viewBox:c}):to(ps,{})}return to(ss,{...u,className:n(e.className,Ho),icon:s,size:t,themeColor:o,rotate:p,flip:l})};v.states=Yi;v.options=Qi;v.defaultOptions=Nn;v.className=Ho;v.moduleName=is;v.folderName=ls;import{Fragment as tl,jsx as xn}from"react/jsx-runtime";var ms="k-clear-value",ji=[a.disabled,a.loading,a.readonly],el={},fe=e=>{let{disabled:t,loading:o,readonly:s,value:r}=e;return t||s||o||!r?xn(tl,{}):xn("span",{className:n(e.className,ms),children:xn(v,{icon:"x"})})};fe.states=ji;fe.options=el;fe.className=ms;import{jsx as al}from"react/jsx-runtime";var hn="k-input-inner",ol=[],nl={},zo={type:"text",autocomplete:"off",value:"",placeholder:""},be=e=>{let{value:t=zo.value,type:o=zo.type,placeholder:s=zo.placeholder,autocomplete:r=zo.autocomplete,...p}=e;return al("input",{...p,type:o,className:n(e.className,hn,k(hn,e)),placeholder:s,autoComplete:r,defaultValue:t})};be.states=ol;be.options=nl;be.className=hn;import{jsx as cs,jsxs as il}from"react/jsx-runtime";var Ln="k-input-inner",sl=[],rl={},st=e=>{let{value:t,placeholder:o,showValue:s,valueIcon:r,valueIconName:p,...l}=e;return il("span",{...l,className:n(e.className,Ln,k(Ln,e)),children:[r,!r&&p&&cs(v,{className:"k-input-value-icon",icon:p}),s&&!t&&o,s&&t&&cs("span",{className:"k-input-value-text",children:t})]})};st.states=sl;st.options=rl;st.className=Ln;import{jsx as ml}from"react/jsx-runtime";var Mn="k-input-inner",ll=[],pl={},ds={value:"",placeholder:""},oo=e=>{let{value:t=ds.value,placeholder:o=ds.placeholder,rows:s,...r}=e;return ml("textarea",{...r,className:n(e.className,Mn,k(Mn,e)),placeholder:o,rows:s,defaultValue:t})};oo.states=ll;oo.options=pl;oo.className=Mn;import{Fragment as dl,jsx as us}from"react/jsx-runtime";var fs="k-input-loading-icon",cl=[a.disabled,a.loading],j=e=>{let{disabled:t,loading:o}=e;return t||!o?us(dl,{}):us("span",{className:n(e.className,fs,"k-icon k-i-loading")})};j.states=cl;j.className=fs;import{Fragment as bl,jsx as bs}from"react/jsx-runtime";var Ns="k-input-validation-icon",ul=[a.valid,a.invalid,a.disabled,a.loading],fl={},J=e=>{let{valid:t,invalid:o,disabled:s,loading:r}=e,p=o?"warning-circle":"check-circle";return s||r||!!!(t||o)?bs(bl,{}):bs(v,{className:n(Ns),icon:p})};J.states=ul;J.options=fl;J.className=Ns;import{Fragment as hl,jsx as xs}from"react/jsx-runtime";var Nl="k-input-prefix",xl={direction:"horizontal"},ee=e=>{let{direction:t=xl.direction,...o}=e;return e.children?xs("span",{...o,className:n(Nl,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):xs(hl,{})};import{Fragment as vl,jsx as hs}from"react/jsx-runtime";var Ll="k-input-suffix",Ml={direction:"horizontal"},te=e=>{let{direction:t=Ml.direction,...o}=e;return e.children?hs("span",{...o,className:n(Ll,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):hs(vl,{})};import{jsx as yu}from"react/jsx-runtime";import{jsx as Ku}from"react/jsx-runtime";import{jsx as El}from"react/jsx-runtime";var Ls="k-input-separator",Sl={direction:"vertical"},oe=e=>{let{direction:t=Sl.direction,...o}=e;return El("span",{...o,className:n(Ls,e.className,{[`${Ls}-${t}`]:t})})};import{Fragment as Ms,jsx as no,jsxs as vn}from"react/jsx-runtime";var vs="k-textarea",gl=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled],kl={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,...Se}=e;return vn(y,{...Se,size:t,rounded:o,fillMode:s,hover:L,focus:E,valid:C,invalid:A,required:B,disabled:H,className:n(e.className,vs,{"!k-flex-col":c==="vertical","!k-flex-row":c==="horizontal"}),children:[N&&vn(Ms,{children:[no(ee,{className:n({"!k-align-items-start":c===l}),direction:l,children:N}),r&&no(oe,{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&&vn(Ms,{children:[p&&no(oe,{direction:c==="horizontal"?"vertical":"horizontal"}),no(te,{className:n({"!k-align-items-start":c===l}),direction:l,children:h})]})]})};Ue.states=gl;Ue.options=kl;Ue.className=vs;Ue.defaultOptions=Oe;Ue.moduleName=cn;Ue.folderName=ns;import{jsx as rf}from"react/jsx-runtime";import{Fragment as uf,jsx as df}from"react/jsx-runtime";var Sn="button",Es=Sn;import{Fragment as Ol,jsx as ao,jsxs as gs}from"react/jsx-runtime";var so="k-button",Al=["icon-button"],Cl=[a.hover,a.focus,a.active,a.selected,a.disabled,a.generating],Tl={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 gs("button",{...C,className:n(e.className,so,Bo(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?gs(Ol,{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=Cl;f.options=Tl;f.variants=Al;f.className=so;f.defaultOptions=rt;f.moduleName=Sn;f.folderName=Es;import{jsx as yl}from"react/jsx-runtime";var ye=e=>yl(f,{icon:"folder",...e,children:void 0});import{jsx as Il}from"react/jsx-runtime";var En=e=>Il(f,{icon:"folder",children:"Button",...e});import{jsx as Of}from"react/jsx-runtime";import{Fragment as zf,jsx as Hf}from"react/jsx-runtime";var gn="speech-to-text-button",ks=gn;import{jsx as Bl}from"react/jsx-runtime";var As="k-speech-to-text-button",Cs={icon:"microphone-outline"},Ee=e=>{let{listening:t=!1,icon:o=Cs.icon,...s}=e;return Bl(f,{...s,icon:t?"stop-sm":o,className:n(e.className,As,{"k-listening":t})})};Ee.states=f.states;Ee.options=f.options;Ee.className=As;Ee.defaultOptions=Cs;Ee.moduleName=gn;Ee.folderName=ks;import{jsx as ab}from"react/jsx-runtime";import{jsx as lb}from"react/jsx-runtime";var kn="chat",Ts=kn;import{Fragment as An,jsx as it,jsxs as ro}from"react/jsx-runtime";var Os="k-chat",_l=[],Kl={},Rl=ro(An,{children:[it(Ee,{fillMode:"clear"}),it(ye,{icon:"paperclip",fillMode:"clear"},"paperclip")]}),ys={tools:Rl},F=e=>{let{header:t,dir:o,suggestedActions:s,files:r,pinned:p,replied:l,generating:c,tools:u=ys.tools,value:N,empty:h,...S}=e;return ro("div",{...S,className:n(Os,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})}),ro("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?ro(An,{children:[l,r]}):void 0,suffix:ro(An,{children:[u,it("span",{className:"k-spacer"}),it(At,{generating:c,disabled:!N&&!c})]})})]})]})};F.states=_l;F.options=Kl;F.className=Os;F.defaultOptions=ys;F.moduleName=kn;F.folderName=Ts;var Cn="button",Is=Cn;import{jsx as wl}from"react/jsx-runtime";var io="k-button-group",Pl=[a.disabled],Dl={fillMode:[b.solid,b.flat,b.outline,b.clear,b.link]},Bs={fillMode:b.solid},K=e=>{let{fillMode:t=Bs.fillMode,disabled:o,stretched:s,...r}=e;return wl("div",{...r,className:n(e.className,io,k(io,{fillMode:t}),g(io,{disabled:o}),{[`${io}-stretched`]:s}),children:e.children})};K.states=Pl;K.options=Dl;K.className=io;K.defaultOptions=Bs;K.moduleName=Cn;K.folderName=Is;import{Fragment as Bb,jsx as Ib,jsxs as _b}from"react/jsx-runtime";import{Fragment as Hb,jsx as wb,jsxs as zb}from"react/jsx-runtime";import{Fragment as Vb,jsx as Xb,jsxs as Jb}from"react/jsx-runtime";import{Fragment as jb,jsx as Qb,jsxs as eN}from"react/jsx-runtime";import{jsx as _s,jsxs as Ul}from"react/jsx-runtime";var Ks="k-color-preview",Hl=[],zl={},Ge=e=>{let{color:t,iconName:o,...s}=e;return Ul("span",{...s,className:n(e.className,Ks,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&_s(v,{icon:o,className:"k-color-preview-icon"}),_s("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ge.states=Hl;Ge.options=zl;Ge.className=Ks;var Tn="popup",Rs=Tn;import{jsx as Ps}from"react/jsx-runtime";var Ds="k-animation-container",Gl=[],Fl={},ws={positionMode:"absolute"},ge=e=>{let{positionMode:t=ws.positionMode,animationStyle:o,offset:s,...r}=e;return Ps("div",{...r,style:{...s,...e.style},className:n(e.className,Ds,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:Ps("div",{className:"k-child-animation-container",style:o,children:e.children})})};ge.states=Gl;ge.options=Fl;ge.className=Ds;ge.defaultOptions=ws;ge.moduleName=Tn;ge.folderName=Rs;var On="popup",Hs=On;import{jsx as zs}from"react/jsx-runtime";var Us="k-popup",$l=[],Xl={},Gs={positionMode:"absolute"},D=e=>{let{offset:t,positionMode:o=Gs.positionMode,animationStyle:s,...r}=e;return zs(ge,{positionMode:o,offset:t,animationStyle:s,children:zs("div",{...r,className:n(e.className,Us),children:e.children})})};D.states=$l;D.options=Xl;D.className=Us;D.defaultOptions=Gs;D.moduleName=On;D.folderName=Hs;var yn="action-buttons",Fs=yn;import{jsx as Wl}from"react/jsx-runtime";var Uo="k-actions",Vl=[],Jl={},In={alignment:"start",orientation:"horizontal"},W=e=>{let{alignment:t=In.alignment,orientation:o=In.orientation,...s}=e;return Wl("div",{...s,className:n(Uo,{[`${Uo}-${t}`]:t,[`${Uo}-${o}`]:o},e.className),children:e.children})};W.states=Vl;W.options=Jl;W.className=Uo;W.defaultOptions=In;W.moduleName=yn;W.folderName=Fs;var $s=W;import{jsx as Zl}from"react/jsx-runtime";var ql="k-actionsheet-footer",Xs={alignment:"stretched",orientation:"horizontal"},lo=e=>{let{alignment:t=Xs.alignment,orientation:o=Xs.orientation,template:s,as:r=s?"div":W,...p}=e;return Zl(r,{...p,...!s&&{alignment:t,orientation:o},className:n(e.className,ql),children:e.children})};var Bn="searchbox",Vs=Bn;import{jsx as po,jsxs as jl}from"react/jsx-runtime";var Js="k-searchbox",Yl=[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]},_n={showIcon:!0,icon:"search",size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode},Ne=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=_n.showIcon,icon:L=_n.icon,...E}=e;return jl(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,Js),children:[M&&po(v,{className:"k-input-icon",icon:L}),po(be,{placeholder:o,value:t}),po(j,{...e}),po(J,{...e}),po(fe,{...e})]})};Ne.states=Yl;Ne.options=Ql;Ne.className=Js;Ne.defaultOptions=_n;Ne.moduleName=Bn;Ne.folderName=Vs;import{jsx as ZN}from"react/jsx-runtime";var Kn="textbox",Ws=Kn;import{Fragment as qs,jsx as Fe,jsxs as Rn}from"react/jsx-runtime";var Zs="k-textbox",ep=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],tp={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},ke=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,...Se}=e;return Rn(y,{...Se,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,Zs),children:[c&&Rn(qs,{children:[Fe(ee,{children:c}),r&&Fe(oe,{})]}),Fe(be,{placeholder:S,value:h,type:N}),l&&Fe(J,{valid:L,invalid:E,loading:A,disabled:B}),Fe(j,{loading:A,disabled:B}),p&&Fe(fe,{loading:A,disabled:B,readonly:H,value:h}),u&&Rn(qs,{children:[r&&Fe(oe,{}),Fe(te,{children:u})]})]})};ke.states=ep;ke.options=tp;ke.className=Zs;ke.defaultOptions=lt;ke.moduleName=Kn;ke.folderName=Ws;import{jsx as px}from"react/jsx-runtime";import{Fragment as bx,jsx as fx}from"react/jsx-runtime";import{Fragment as Sx,jsx as vx}from"react/jsx-runtime";import{jsx as $e,jsxs as Pn}from"react/jsx-runtime";var Qs="k-actionsheet-titlebar",op={},ne=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 Pn("div",{...S,className:n(e.className,Qs),children:[Pn("div",{className:"k-actionsheet-titlebar-group",children:[s&&$e("div",{className:"k-actionsheet-actions",children:s}),!h&&Pn("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(ke,{value:c,placeholder:u,size:N?"large":"medium"}):$e(Ne,{placeholder:"Filter",size:N?"large":"medium"})})]})};ne.className=Qs;ne.defaultOptions=op;import{jsx as Dn,jsxs as rp}from"react/jsx-runtime";var wn="k-actionsheet-view",np=[],ap={},sp={},Ct=e=>{let{adaptive:t,animated:o,children:s,header:r,footer:p,...l}=e,c=r?.type===ne&&Dn(ne,{adaptive:t,...r?.props}),u=p?.type===lo&&Dn(lo,{...p?.props});return rp("div",{...l,className:n(e.className,wn,{[`${wn}-animated`]:o}),children:[c,Dn("div",{className:"k-actionsheet-content",children:s}),u]})};Ct.states=np;Ct.options=ap;Ct.className=wn;Ct.defaultOptions=sp;var mo="action-sheet",Go=mo;import{jsx as Fo,jsxs as pp}from"react/jsx-runtime";var js="k-actionsheet",ip=[],lp={},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 pp("div",{className:"k-actionsheet-container",children:[r&&Fo("div",{className:"k-overlay"}),Fo(ge,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:Fo("div",{...N,className:n(e.className,js,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":s}),children:p||Fo(Ct,{header:c,footer:u,adaptive:s,...e,children:l})})})]})};q.states=ip;q.options=lp;q.className=js;q.defaultOptions=co;q.moduleName=mo;q.folderName=Go;import{jsx as up}from"react/jsx-runtime";var er="k-actionsheet-container",mp=[],cp={},dp={},Tt=e=>{let{children:t,...o}=e;return up("div",{...o,className:er,children:t})};Tt.states=mp;Tt.options=cp;Tt.className=er;Tt.defaultOptions=dp;Tt.moduleName=mo;Tt.folderName=Go;import{jsx as Yx}from"react/jsx-runtime";import{Fragment as bp,jsx as uo,jsxs as Hn}from"react/jsx-runtime";var zn="k-actionsheet-item",fp=[a.hover,a.focus,a.selected,a.disabled],Un=e=>{let{iconName:t,text:o,description:s,hover:r,focus:p,selected:l,disabled:c,...u}=e;return Hn("span",{...u,className:n(e.className,zn,g(zn,{hover:r,focus:p,selected:l,disabled:c})),children:[!e.children&&uo(bp,{children:Hn("span",{className:"k-actionsheet-action",children:[t&&uo("span",{className:"k-icon-wrap",children:uo(v,{className:"k-actionsheet-item-icon",icon:t})}),Hn("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]})};Un.states=fp;Un.className=zn;import{jsx as rh,jsxs as ih}from"react/jsx-runtime";import{jsx as ch}from"react/jsx-runtime";import{jsx as bh}from"react/jsx-runtime";import{jsx as Lh}from"react/jsx-runtime";var Gn="slider",or=Gn;import{jsx as Ot,jsxs as Fn}from"react/jsx-runtime";var fo="k-slider",Np=[a.hover,a.focus,a.active,a.disabled,a.readonly],xp={},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"),Fn("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}),Fn("div",{className:"k-slider-track-wrap",children:[c&&Ot("ul",{className:"k-reset k-slider-items",children:e.children}),Fn("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=Np;$.options=xp;$.className=fo;$.defaultOptions=Xe;$.moduleName=Gn;$.folderName=or;import{jsx as nr}from"react/jsx-runtime";var ar="k-tick",hp=[],Lp={},sr={label:!1},Ve=e=>{let{style:t,label:o=sr.label,orientation:s,large:r,text:p,...l}=e;return nr("li",{...l,className:n(e.className,ar,{[`k-tick-${s}`]:s,"k-tick-large":r}),style:t,children:o&&nr("span",{className:"k-label",children:p})})};Ve.states=hp;Ve.options=Lp;Ve.className=ar;Ve.defaultOptions=sr;import{Fragment as Xh,jsx as $h,jsxs as Vh}from"react/jsx-runtime";import{Fragment as Yh,jsx as Zh,jsxs as Qh}from"react/jsx-runtime";import{Fragment as nL,jsx as oL,jsxs as aL}from"react/jsx-runtime";import{Fragment as pL,jsx as lL,jsxs as mL}from"react/jsx-runtime";import{jsx as Mp}from"react/jsx-runtime";var $n=e=>Mp($,{type:"gradient",showButtons:!1,showTicks:!1,...e});import{jsx as vp}from"react/jsx-runtime";var Xn=e=>vp($,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});import{jsx as rr,jsxs as Ap}from"react/jsx-runtime";var ir="k-spin-button",gp=[],kp={size:[i.small,i.medium,i.large],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link]},Vn={size:i.medium,fillMode:b.solid},Je=e=>{let{size:t=Vn.size,fillMode:o=Vn.fillMode,...s}=e;return Ap("span",{...s,className:n(ir,e.className),children:[rr(f,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),rr(f,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};Je.states=gp;Je.options=kp;Je.className=ir;Je.defaultOptions=Vn;Je.moduleName=null;Je.folderName=null;var lr="numeric-textbox",pr="numerictextbox";import{Fragment as mr,jsx as Ie,jsxs as Jn}from"react/jsx-runtime";var cr="k-numerictextbox",Cp=[a.hover,a.focus,a.valid,a.invalid,a.loading,a.required,a.disabled,a.readonly],Tp={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 Jn(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,cr),children:[c&&Jn(mr,{children:[Ie(ee,{children:c}),r&&Ie(oe,{})]}),Ie(be,{placeholder:h,value:N}),Ie(J,{valid:M,invalid:L,loading:C,disabled:A}),Ie(j,{loading:C,disabled:A}),p&&Ie(fe,{loading:C,disabled:A,readonly:B,value:N}),u&&Jn(mr,{children:[r&&Ie(oe,{}),Ie(te,{children:u})]}),l&&Ie(Je,{className:"k-input-spinner",size:t,fillMode:s})]})};R.states=Cp;R.options=Tp;R.className=cr;R.defaultOptions=pt;R.moduleName=lr;R.folderName=pr;import{jsx as $L}from"react/jsx-runtime";import{jsx as yp}from"react/jsx-runtime";var Op="k-no-data",bo=e=>yp("span",{className:n(Op,e.className),children:e.children});var Be="list",We=Be;import{jsx as yt,jsxs as ur}from"react/jsx-runtime";var Wn="k-list",Ip=[],Bp={size:[i.small,i.medium,i.large]},fr={size:i.medium},_=e=>{let{size:t=fr.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=ur(bo,{className:"k-sr-only",children:[d.length," items found."]})))}):S=yt(bo,{children:"No data found."}),ur("div",{...c,className:n(e.className,Wn,k(Wn,{size:t}),{"k-virtual-list":o}),children:[r,p,N,h,S]})};_.states=Ip;_.options=Bp;_.className=Wn;_.defaultOptions=fr;_.moduleName=Be;_.folderName=We;import{jsx as Pp}from"react/jsx-runtime";var br="k-list-container",_p=[],Kp={},Rp={},Bt=e=>{let{...t}=e;return Pp("div",{...t,className:n(e.className,br),children:e.children})};Bt.states=_p;Bt.options=Kp;Bt.className=br;Bt.defaultOptions=Rp;Bt.moduleName=Be;Bt.folderName=We;import{jsx as mt,jsxs as Hp}from"react/jsx-runtime";var qn="k-list",Dp=[],wp={size:[i.small,i.medium,i.large]},Nr={size:i.medium},_e=e=>{let{size:t=Nr.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(xr,{...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(It,{virtualization:o,children:u}))}):c=mt(bo,{children:"No data found."}),Hp("div",{...r,className:n(e.className,qn,k(qn,{size:t}),{"k-virtual-list":o}),children:[l,c]})};_e.states=Dp;_e.options=wp;_e.className=qn;_e.defaultOptions=Nr;_e.moduleName=Be;_e.folderName=We;var ct="checkbox",_t=ct;import{jsx as hr}from"react/jsx-runtime";var $o="k-checkbox",zp=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.checked,a.indeterminate],Up={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full]},Zn={size:i.medium,rounded:x.medium},Ae=e=>{let{id:t,checked:o,indeterminate:s,hover:r,focus:p,disabled:l,invalid:c,valid:u,required:N,size:h=Zn.size,rounded:S=Zn.rounded,...d}=e;return hr("span",{className:"k-checkbox-wrap",children:hr("input",{...d,id:t,type:"checkbox",defaultChecked:o,required:N,className:n(e.className,$o,k($o,{size:h,rounded:S}),g($o,{hover:r,focus:p,disabled:l,invalid:c,valid:u,indeterminate:s,checked:o}))})})};Ae.states=zp;Ae.options=Up;Ae.className=$o;Ae.defaultOptions=Zn;Ae.moduleName=ct;Ae.folderName=_t;import{jsx as $p}from"react/jsx-runtime";var Lr="k-checkbox-list",Gp=[],Fp={},Mr={layout:"vertical"},qe=e=>{let{layout:t=Mr.layout,...o}=e;return $p("ul",{...o,className:n(e.className,Lr,{[`k-list-${t}`]:t}),children:e.children})};qe.states=Gp;qe.options=Fp;qe.className=Lr;qe.defaultOptions=Mr;qe.moduleName=ct;qe.folderName=_t;import{jsx as Wp}from"react/jsx-runtime";var vr="k-checkbox-list-item",Xp=[],Vp={},Jp={},Ze=e=>{let{...t}=e;return Wp("li",{...t,className:n(e.className,vr),children:e.children})};Ze.states=Xp;Ze.options=Vp;Ze.className=vr;Ze.defaultOptions=Jp;Ze.moduleName=ct;Ze.folderName=_t;import{Fragment as yM,jsx as OM,jsxs as IM}from"react/jsx-runtime";import{Fragment as PM,jsx as RM,jsxs as DM}from"react/jsx-runtime";import{Fragment as GM,jsx as UM,jsxs as FM}from"react/jsx-runtime";import{Fragment as WM,jsx as JM,jsxs as qM}from"react/jsx-runtime";import{jsx as jM}from"react/jsx-runtime";import{jsx as nv}from"react/jsx-runtime";import{jsx as Xo,jsxs as Qp}from"react/jsx-runtime";var Qn="k-list-item",qp=[a.hover,a.focus,a.selected,a.disabled],Zp={},Yp={},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":Qn,g(Qn,{hover:u,focus:N,disabled:S,selected:h})),children:[l&&Xo(Ae,{checked:c}),r&&Xo(v,{icon:p}),Xo("span",{className:"k-list-item-text",children:M}),o&&o!==""&&Xo("div",{className:"k-list-item-group-label",children:o})]})};T.states=qp;T.options=Zp;T.className=Qn;T.defaultOptions=Yp;T.moduleName=Be;T.folderName=We;import{jsx as jn,jsxs as em}from"react/jsx-runtime";var jp="k-list-content",It=e=>{let{virtualization:t,...o}=e;return em("div",{...o,className:n(jp,e.className),children:[jn("ul",{className:n("k-list-ul"),children:e.children}),t&&jn("div",{className:"k-height-container",children:jn("div",{})})]})};import{jsx as Sr}from"react/jsx-runtime";var tm="k-list-group-sticky-header",Er=e=>Sr("div",{className:n(tm,e.className),children:Sr("div",{className:"k-list-header-text",children:e.children})});import{Fragment as om,jsx as gr,jsxs as nm}from"react/jsx-runtime";var z=e=>{let{virtualization:t,label:o}=e;return nm(om,{children:[o&&gr(Er,{children:o}),e.children&&gr(It,{virtualization:t,children:e.children})]})};import{jsx as kr}from"react/jsx-runtime";var am="k-list-group-item",xr=e=>kr("li",{className:n(am,e.className),children:kr("span",{className:"k-list-item-text",children:e.children})});import{jsx as lm}from"react/jsx-runtime";var ea="k-list-optionlabel",sm=[a.hover,a.focus,a.selected,a.disabled],rm={},im={},Vo=e=>{let{text:t,hover:o,focus:s,selected:r,disabled:p,...l}=e;return lm("div",{...l,className:n(ea,g(ea,{hover:o,focus:s,selected:r,disabled:p})),children:t})};Vo.states=sm;Vo.options=rm;Vo.className=ea;Vo.defaultOptions=im;import{jsx as dm}from"react/jsx-runtime";var ta="k-list-custom-value",pm=[a.hover,a.focus,a.selected,a.disabled],mm={},cm={},Ye=e=>{let{text:t,hover:o,focus:s,selected:r,disabled:p,...l}=e;return dm("div",{...l,className:n(ta,g(ta,{hover:o,focus:s,selected:r,disabled:p})),children:t})};Ye.states=pm;Ye.options=mm;Ye.className=ta;Ye.defaultOptions=cm;import{jsx as Uv}from"react/jsx-runtime";import{jsx as Xv}from"react/jsx-runtime";import{jsx as qv,jsxs as Zv}from"react/jsx-runtime";import{jsx as eS,jsxs as tS}from"react/jsx-runtime";import{jsx as sS}from"react/jsx-runtime";import{jsx as pS,jsxs as mS}from"react/jsx-runtime";import{jsx as fS,jsxs as bS}from"react/jsx-runtime";var Ar="dropdown-list",Cr="dropdownlist";import{Fragment as bm,jsx as X,jsxs as oa}from"react/jsx-runtime";var Tr="k-dropdownlist",um=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],fm={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},Ce=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:Se,adaptive:Zt,adaptiveSettings:Yt,adaptiveTitle:pn,adaptiveSubtitle:mn,adaptiveFilter:Ri,...Pi}=e;return oa(bm,{children:[oa(V,{...Pi,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,Tr,{"k-icon-picker":!p&&l}),children:[X(ee,{children:c}),X(st,{placeholder:h,value:N,showValue:p,valueIconName:l}),X(J,{valid:M,invalid:L,loading:C,disabled:A}),X(j,{loading:C,disabled:A}),X(te,{children:u}),X(f,{className:"k-input-button",icon:r,rounded:null,size:e.size,fillMode:e.fillMode})]}),Se&&H&&X(D,{className:"k-list-container k-dropdownlist-popup",children:H}),Zt&&X(q,{adaptive:!0,...Yt,header:X(ne,{actionsEnd:X(f,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Ri,inputValue:N,inputPlaceholder:h,title:pn,subtitle:mn}),children:X("div",{className:"k-list-container",children:oa(_,{size:"large",children:[X(T,{text:"List item"}),X(T,{text:"List item"}),X(T,{text:"List item"})]})})})]})};Ce.states=um;Ce.options=fm;Ce.className=Tr;Ce.defaultOptions=Kt;Ce.moduleName=Ar;Ce.folderName=Cr;import{jsx as WS}from"react/jsx-runtime";import{jsx as jS,jsxs as eE}from"react/jsx-runtime";import{Fragment as lE,jsx as rE,jsxs as iE}from"react/jsx-runtime";import{jsx as dE}from"react/jsx-runtime";import{jsx as xE,jsxs as hE}from"react/jsx-runtime";import{jsx as EE,jsxs as gE}from"react/jsx-runtime";import{Fragment as BE,jsx as yE,jsxs as IE}from"react/jsx-runtime";import{Fragment as zE,jsx as wE,jsxs as HE}from"react/jsx-runtime";import{Fragment as og,jsx as tg}from"react/jsx-runtime";import{Fragment as pg,jsx as lg}from"react/jsx-runtime";import{Fragment as No,jsx as O,jsxs as P}from"react/jsx-runtime";var Or="k-colorgradient-inputs",Nm=[],xm={size:[i.small,i.medium,i.large]},yr={mode:"rgba",size:i.medium},Rt=e=>{let{mode:t=yr.mode,size:o,...s}=e;return P("div",{...s,className:n(Or,"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(ke,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),O("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Rt.states=Nm;Rt.options=xm;Rt.className=Or;Rt.defaultOptions=yr;import{jsx as ut,jsxs as ft}from"react/jsx-runtime";var Ir="k-colorgradient-color-contrast",hm=[],Lm={},Mm={},Pt=()=>ft("div",{className:n(Ir,"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"})]})]})]});Pt.states=hm;Pt.options=Lm;Pt.className=Ir;Pt.defaultOptions=Mm;var Br="color-gradient",_r="colorgradient";import{jsx as ae,jsxs as xo}from"react/jsx-runtime";var Jo="k-colorgradient",vm=[a.hover,a.focus,a.readonly,a.disabled],Sm={size:[i.small,i.medium,i.large]},xe={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"},Te=e=>{let{size:t=xe.size,mode:o=xe.mode,readonly:s=xe.readonly,disabled:r=xe.disabled,gradientStyle:p=xe.gradientStyle,dragHandleStyle:l=xe.dragHandleStyle,alphaStyle:c=xe.alphaStyle,alphaStyleHorizontal:u=xe.alphaStyleHorizontal,contrast:N=xe.contrast,dir:h,hover:S,focus:d,hoverHandle:M,focusHandle:L,canvasOrientation:E=xe.canvasOrientation,...C}=e;return xo("div",{...C,className:n(e.className,Jo,k(Jo,{size:t}),g(Jo,{hover:S,focus:d,readonly:s,disabled:r})),dir:h,children:[!E||E==="horizontal"&&xo("div",{className:"k-colorgradient-canvas k-hstack",children:[ae("div",{className:"k-hsv-rectangle",style:p,children:ae("div",{className:"k-hsv-gradient",children:ae("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:[ae(Xn,{className:"k-hue-slider",hover:M,focus:L}),o!=="rgb"&&o!=="hsv"&&ae(Xn,{className:"k-alpha-slider",hover:M,focus:L,trackStyle:c})]})]}),E==="vertical"&&xo("div",{className:"k-colorgradient-canvas k-vstack",children:[ae("div",{className:"k-hsv-rectangle",style:p,children:ae("div",{className:"k-hsv-gradient",children:ae("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:[ae($n,{className:"k-hue-slider",hover:M,focus:L}),o!=="rgb"&&o!=="hsv"&&ae($n,{className:"k-alpha-slider",hover:M,focus:L,trackStyle:u})]})]}),ae(Rt,{mode:e.mode,size:t}),N&&ae(Pt,{})]})};Te.states=vm;Te.options=Sm;Te.className=Jo;Te.defaultOptions=xe;Te.moduleName=Br;Te.folderName=_r;import{jsx as Pg}from"react/jsx-runtime";import{jsx as zg}from"react/jsx-runtime";import{jsx as Em}from"react/jsx-runtime";var Kr=e=>Em("tr",{children:e.children});import{jsx as Am}from"react/jsx-runtime";var na="k-colorpalette-tile",gm=[a.hover,a.focus,a.selected],km={},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 Am("td",{...l,className:n(e.className,na,g(na,{hover:s,focus:r,selected:p})),style:c})};ho.states=gm;ho.options=km;ho.className=na;var Rr="color-palette",Pr="colorpalette";import{jsx as Lo}from"react/jsx-runtime";var Wo="k-colorpalette",Cm=[a.disabled],Tm={size:[i.small,i.medium,i.large]},aa={columns:10,size:i.medium},Qe=e=>{let{size:t=aa.size,palette:o,columns:s=aa.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(Kr,{children:d},S);c.push(M)})}return Lo("div",{...l,className:n(e.className,Wo,g(Wo,{disabled:p}),k(Wo,{size:t})),children:Lo("table",{className:"k-colorpalette-table",children:Lo("tbody",{children:c.length>0?c:e.children})})})};Qe.states=Cm;Qe.options=Tm;Qe.className=Wo;Qe.defaultOptions=aa;Qe.moduleName=Rr;Qe.folderName=Pr;var sa={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","#f