@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 294 kB
JavaScript
var o=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?o(...t):typeof t=="object"?Object.keys(t).map((a,r)=>t[r]||t[a]&&a||null).filter(a=>a!==null).join(" "):t).filter(t=>!!t).join(" ");var I=(e,t)=>o({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.fillMode}-${t.themeColor}`]:t.fillMode&&t.themeColor},{[`${e}-${t.themeColor}`]:t.themeColor&&t.fillMode===void 0},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full"}),b=(e,t)=>o({"k-valid":t.valid,"k-invalid":t.invalid,"k-hover":t.hover,"k-focus":t.focus,"k-checked":t.checked,"k-active":t.active,"k-selected":t.selected,"k-disabled":t.disabled,"k-indeterminate":t.indeterminate&&!t.checked,"k-loading":t.loading,"k-empty":t.empty,"k-readonly":t.readonly});var n={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={small:"small",medium:"medium",large:"large",full:"full"},x={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},u={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},l={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly"},At={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};import{Fragment as xv,jsx as ik}from"react/jsx-runtime";var Kc="k-icon k-font-icon",hv=[],fv={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},gv={},ds=e=>{let{size:t,themeColor:a,icon:r,rotate:s,flip:i,...d}=e;return r?ik("span",{...d,className:o(e.className,Kc,I(Kc,{size:t}),{[`k-i-${r}`]:r,[`k-color-${a}`]:a,[`k-rotate-${s}`]:s,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"})}):ik(xv,{})};ds.states=hv;ds.options=fv;ds.className=Kc;ds.defaultOptions=gv;var nk=ds;import{Fragment as yv,jsx as xn}from"react/jsx-runtime";var Dc="k-icon k-svg-icon",bv=[],vv={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},dk={viewBox:"0 0 24 24"},cs=e=>{let{size:t,themeColor:a,rotate:r,flip:s,viewBox:i=dk.viewBox,icon:d,...p}=e;if(!d)return xn(yv,{});d==="none"&&{...p,className:o(e.className,Dc,"k-none")};let m=typeof d=="object"&&d.name&&d.name;return xn("span",{...p,className:o(e.className,Dc,I("k-icon",{size:t}),{[`k-svg-i-${m}`]:m,[`k-color-${a}`]:a,[`k-rotate-${r}`]:r,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),children:xn("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof d=="object"?d.viewBox:i,dangerouslySetInnerHTML:typeof d=="object"?{__html:d.content}:void 0,children:d?void 0:e.children})})};cs.states=bv;cs.options=vv;cs.className=Dc;cs.defaultOptions=dk;var Fc=cs;import*as ck from"@progress/kendo-svg-icons";import{Fragment as pk,jsx as ps}from"react/jsx-runtime";var wv=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Av=[],Tv={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},zc={viewBox:"0 0 24 24",type:"svg"},v=e=>{let{size:t,themeColor:a,icon:r,type:s=zc.type,rotate:i,flip:d,viewBox:p=zc.viewBox,...m}=e;if(!r)return ps(pk,{});if(s==="svg"){if(r==="none")return ps(Fc,{...m,icon:r,size:t});let k=wv(`${r}-icon`);return ck[k]?ps(Fc,{...m,icon:ck[k],size:t,themeColor:a,rotate:i,flip:d,viewBox:p}):ps(pk,{})}return ps(nk,{...m,icon:r,size:t,themeColor:a,rotate:i,flip:d})};v.states=Av;v.options=Tv;v.defaultOptions=zc;var Rc=v;import{Fragment as Sv,jsx as ms,jsxs as mk}from"react/jsx-runtime";var bn="k-button",Nv=[l.hover,l.focus,l.active,l.selected,l.disabled],Cv={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Ta={size:n.medium,rounded:f.medium,fillMode:x.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},c=e=>{let{size:t=Ta.size,rounded:a=Ta.rounded,fillMode:r=Ta.fillMode,themeColor:s=Ta.themeColor,showArrow:i=Ta.showArrow,arrowIconName:d=Ta.arrowIconName,hover:p,focus:m,active:k,selected:w,disabled:T,icon:g,text:N,iconClassName:C,...B}=e,L=g!==void 0,Y=e.children!==void 0;return mk("button",{...B,className:o(e.className,bn,I(bn,{size:t,rounded:a,fillMode:r,themeColor:s}),b(bn,{hover:p,focus:m,active:k,disabled:T,selected:w}),{"k-icon-button":!N&&!Y&&L}),children:[g&&ms(v,{className:o(C,"k-button-icon"),icon:g}),N?mk(Sv,{children:[N&&ms("span",{className:"k-button-text",children:N}),e.children]}):e.children&&ms("span",{className:"k-button-text",children:e.children}),i&&ms("span",{className:"k-menu-button-arrow k-button-arrow",children:ms(v,{icon:d})})]})};c.states=Nv;c.options=Cv;c.className=bn;c.defaultOptions=Ta;import{jsx as Iv}from"react/jsx-runtime";var rt=e=>Iv(c,{icon:"folder",...e,children:void 0});import{jsx as Bv}from"react/jsx-runtime";var Ht=e=>Bv(c,{icon:"folder",children:"Button",...e});import{jsx as uG}from"react/jsx-runtime";import{Fragment as NG,jsx as AG,jsxs as TG}from"react/jsx-runtime";import{jsx as Yv}from"react/jsx-runtime";var uk="k-scheduler-layout",Mv=[],Lv={},Ev={},us=e=>{let{as:t="div",view:a,...r}=e;return Yv(t,{...r,className:o(e.className,uk,{[`k-scheduler-${a}view`]:a}),children:e.children})};us.states=Mv;us.options=Lv;us.className=uk;us.defaultOptions=Ev;var kk=us;import{jsx as Dv,jsxs as Fv}from"react/jsx-runtime";var hk="k-scheduler",Pv=[],Gv={},Kv={},Be=e=>{let{view:t,toolbar:a,footer:r,layout:s,...i}=e;return Fv("div",{...i,className:o(e.className,hk),children:[a,Dv(kk,{className:o({"k-scheduler-layout-flex":s==="flex"}),as:s==="table"?"table":"div",view:t,children:e.children}),r]})};Be.states=Pv;Be.options=Gv;Be.className=hk;Be.defaultOptions=Kv;import{jsx as KG}from"react/jsx-runtime";import{jsx as RG}from"react/jsx-runtime";import{jsx as QG}from"react/jsx-runtime";import{jsx as JG}from"react/jsx-runtime";import{jsx as fk}from"react/jsx-runtime";var gk="k-scheduler-cell",zv=[],Rv={},Hv={},S=e=>{let{cellType:t,allDay:a,text:r,colspan:s,rowspan:i,as:d="div",...p}=e,m=r||e.children;return fk(d,{...p,colSpan:s,rowSpan:i,className:o(gk,e.className,{"k-scheduler-times-all-day":a},t?.map(k=>({[`k-${k}-cell`]:!0}))),children:!a&&r?fk("span",{className:"k-link k-nav-day",children:m}):m})};S.states=zv;S.options=Rv;S.defaultOptions=Hv;S.className=gk;import{jsx as tK}from"react/jsx-runtime";import{jsx as Ov}from"react/jsx-runtime";var Wv="k-scheduler-row",P=e=>Ov("div",{...e,className:o(Wv,e.className),children:e.children});import{jsx as Xv}from"react/jsx-runtime";var ks="k-button-group",Qv=[l.disabled],Vv={fillMode:[x.solid,x.flat,x.outline,x.clear,x.link]},xk={fillMode:x.solid},G=e=>{let{fillMode:t=xk.fillMode,disabled:a,stretched:r,...s}=e;return Xv("div",{...s,className:o(e.className,ks,I(ks,{fillMode:t}),b(ks,{disabled:a}),{[`${ks}-stretched`]:r}),children:e.children})};G.states=Qv;G.options=Vv;G.className=ks;G.defaultOptions=xk;import{Fragment as uK,jsx as mK,jsxs as kK}from"react/jsx-runtime";import{Fragment as vK,jsx as bK,jsxs as yK}from"react/jsx-runtime";import{Fragment as SK,jsx as CK,jsxs as IK}from"react/jsx-runtime";import{Fragment as PK,jsx as YK,jsxs as GK}from"react/jsx-runtime";import{jsx as jv}from"react/jsx-runtime";var yn="k-input",Zv=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],Jv={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},wn={size:n.medium,rounded:n.medium,fillMode:x.solid},E=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p,size:m=wn.size,rounded:k=wn.rounded,fillMode:w=wn.fillMode,...T}=e;return jv("span",{...T,className:o(e.className,yn,I(yn,{size:m,rounded:k,fillMode:w}),b(yn,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p}))})};E.states=Zv;E.options=Jv;E.className=yn;E.defaultOptions=wn;import{jsx as _v}from"react/jsx-runtime";var An="k-picker",Uv=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],qv={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Tn={size:n.medium,rounded:f.medium,fillMode:x.solid},Tt=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p,size:m=Tn.size,rounded:k=Tn.rounded,fillMode:w=Tn.fillMode,...T}=e;return _v("span",{...T,className:o(e.className,An,I(An,{size:m,rounded:k,fillMode:w}),b(An,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p})),children:e.children})};Tt.states=Uv;Tt.options=qv;Tt.className=An;Tt.defaultOptions=Tn;import{Fragment as ty,jsx as Hc}from"react/jsx-runtime";var bk="k-clear-value",$v=[l.disabled,l.loading,l.readonly],ey={},le=e=>{let{disabled:t,loading:a,readonly:r,value:s}=e;return t||r||a||!s?Hc(ty,{}):Hc("span",{className:o(e.className,bk),children:Hc(v,{icon:"x"})})};le.states=$v;le.options=ey;le.className=bk;import{jsx as ly}from"react/jsx-runtime";var Wc="k-input-inner",oy=[],ay={},Nn={type:"text",autocomplete:"off",value:"",placeholder:""},ie=e=>{let{value:t=Nn.value,type:a=Nn.type,placeholder:r=Nn.placeholder,autocomplete:s=Nn.autocomplete,...i}=e;return ly("input",{...i,type:a,className:o(e.className,Wc,I(Wc,e)),placeholder:r,autoComplete:s,defaultValue:t})};ie.states=oy;ie.options=ay;ie.className=Wc;import{jsx as vk,jsxs as iy}from"react/jsx-runtime";var Oc="k-input-inner",ry=[],sy={},vo=e=>{let{value:t,placeholder:a,showValue:r,valueIcon:s,valueIconName:i,...d}=e;return iy("span",{...d,className:o(e.className,Oc,I(Oc,e)),children:[s,!s&&i&&vk(v,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&vk("span",{className:"k-input-value-text",children:t})]})};vo.states=ry;vo.options=sy;vo.className=Oc;import{jsx as cy}from"react/jsx-runtime";var Qc="k-input-inner",ny=[],dy={},yk={value:"",placeholder:""},hs=e=>{let{value:t=yk.value,placeholder:a=yk.placeholder,rows:r,...s}=e;return cy("textarea",{...s,className:o(e.className,Qc,I(Qc,e)),placeholder:a,rows:r,defaultValue:t})};hs.states=ny;hs.options=dy;hs.className=Qc;import{Fragment as my,jsx as wk}from"react/jsx-runtime";var Ak="k-input-loading-icon",py=[l.disabled,l.loading],q=e=>{let{disabled:t,loading:a}=e;return t||!a?wk(my,{}):wk("span",{className:o(e.className,Ak,"k-icon k-i-loading")})};q.states=py;q.className=Ak;import{Fragment as hy,jsx as Tk}from"react/jsx-runtime";var Nk="k-input-validation-icon",uy=[l.valid,l.invalid,l.disabled,l.loading],ky={},j=e=>{let{valid:t,invalid:a,disabled:r,loading:s}=e,i=a?"warning-circle":"check-circle";return r||s||!!!(t||a)?Tk(hy,{}):Tk(v,{className:o(Nk),icon:i})};j.states=uy;j.options=ky;j.className=Nk;import{Fragment as xy,jsx as Ck}from"react/jsx-runtime";var fy="k-input-prefix",gy={direction:"horizontal"},oe=e=>{let{direction:t=gy.direction,...a}=e;return e.children?Ck("span",{...a,className:o(fy,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Ck(xy,{})};import{Fragment as yy,jsx as Sk}from"react/jsx-runtime";var by="k-input-suffix",vy={direction:"horizontal"},ae=e=>{let{direction:t=vy.direction,...a}=e;return e.children?Sk("span",{...a,className:o(by,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Sk(yy,{})};import{jsx as TD}from"react/jsx-runtime";import{jsx as ID}from"react/jsx-runtime";import{jsx as Ay}from"react/jsx-runtime";var Ik="k-input-separator",wy={direction:"vertical"},be=e=>{let{direction:t=wy.direction,...a}=e;return Ay("span",{...a,className:o(Ik,e.className,{[`${Ik}-${t}`]:t})})};import{jsx as Bk,jsxs as Cy}from"react/jsx-runtime";var Mk="k-color-preview",Ty=[],Ny={},Po=e=>{let{color:t,iconName:a,...r}=e;return Cy("span",{...r,className:o(e.className,Mk,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&Bk(v,{icon:a,className:"k-color-preview-icon"}),Bk("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Po.states=Ty;Po.options=Ny;Po.className=Mk;import{jsx as Lk}from"react/jsx-runtime";var Ek="k-animation-container",Sy=[],Iy={},Yk={positionMode:"absolute"},Go=e=>{let{positionMode:t=Yk.positionMode,animationStyle:a,offset:r,...s}=e;return Lk("div",{...s,style:{...r,...e.style},className:o(e.className,Ek,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:Lk("div",{className:"k-child-animation-container",style:a,children:e.children})})};Go.states=Sy;Go.options=Iy;Go.className=Ek;Go.defaultOptions=Yk;import{jsx as Pk}from"react/jsx-runtime";var Gk="k-popup",By=[],My={},Kk={positionMode:"absolute"},H=e=>{let{offset:t,positionMode:a=Kk.positionMode,animationStyle:r,...s}=e;return Pk(Go,{positionMode:a,offset:t,animationStyle:r,children:Pk("div",{...s,className:o(e.className,Gk),children:e.children})})};H.states=By;H.options=My;H.className=Gk;H.defaultOptions=Kk;import{jsx as Yy}from"react/jsx-runtime";var Cn="k-actions",Ly=[],Ey={},Vc={alignment:"start",orientation:"horizontal"},X=e=>{let{alignment:t=Vc.alignment,orientation:a=Vc.orientation,...r}=e;return Yy("div",{...r,className:o(Cn,{[`${Cn}-${t}`]:t,[`${Cn}-${a}`]:a},e.className),children:e.children})};X.states=Ly;X.options=Ey;X.className=Cn;X.defaultOptions=Vc;var Dk=X;import{jsx as Gy}from"react/jsx-runtime";var Py="k-actionsheet-footer",Fk={alignment:"stretched",orientation:"horizontal"},Wt=e=>{let{alignment:t=Fk.alignment,orientation:a=Fk.orientation,template:r,as:s=r?"div":X,...i}=e;return Gy(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,Py),children:e.children})};import{jsx as fs,jsxs as Fy}from"react/jsx-runtime";var zk="k-searchbox",Ky=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],Dy={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Xc={showIcon:!0,icon:"search",size:E.defaultOptions.size,rounded:E.defaultOptions.rounded,fillMode:E.defaultOptions.fillMode},We=e=>{let{value:t,placeholder:a,size:r,rounded:s,fillMode:i,hover:d,focus:p,valid:m,invalid:k,required:w,loading:T,disabled:g,showIcon:N=Xc.showIcon,icon:C=Xc.icon,...B}=e;return Fy(E,{...B,size:r,rounded:s,fillMode:i,hover:d,focus:p,valid:m,invalid:k,required:w,loading:T,disabled:g,className:o(e.className,zk),children:[N&&fs(v,{className:"k-input-icon",icon:C}),fs(ie,{placeholder:a,value:t}),fs(q,{...e}),fs(j,{...e}),fs(le,{...e})]})};We.states=Ky;We.options=Dy;We.className=zk;We.defaultOptions=Xc;import{jsx as SF}from"react/jsx-runtime";import{Fragment as Rk,jsx as Ko,jsxs as Zc}from"react/jsx-runtime";var Hk="k-textbox",zy=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],Ry={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Na={showClearButton:!0,showValidationIcon:!0,size:E.defaultOptions.size,rounded:E.defaultOptions.rounded,fillMode:E.defaultOptions.fillMode,separators:!0},U=e=>{let{size:t=Na.size,rounded:a=Na.rounded,fillMode:r=Na.fillMode,separators:s=Na.separators,showClearButton:i=Na.showClearButton,showValidationIcon:d=Na.showValidationIcon,prefix:p,suffix:m,type:k,value:w,placeholder:T,hover:g,focus:N,valid:C,invalid:B,required:L,loading:Y,disabled:K,readonly:R,...V}=e;return Zc(E,{...V,size:t,rounded:a,fillMode:r,hover:g,focus:N,valid:C,invalid:B,required:L,loading:Y,disabled:K,readonly:R,className:o(e.className,Hk),children:[p&&Zc(Rk,{children:[Ko(oe,{children:p}),s&&Ko(be,{})]}),Ko(ie,{placeholder:T,value:w,type:k}),d&&Ko(j,{valid:C,invalid:B,loading:Y,disabled:K}),Ko(q,{loading:Y,disabled:K}),i&&Ko(le,{loading:Y,disabled:K,readonly:R,value:w}),m&&Zc(Rk,{children:[s&&Ko(be,{}),Ko(ae,{children:m})]})]})};U.states=zy;U.options=Ry;U.className=Hk;U.defaultOptions=Na;import{jsx as FF}from"react/jsx-runtime";import{Fragment as QF,jsx as OF}from"react/jsx-runtime";import{Fragment as UF,jsx as jF}from"react/jsx-runtime";import{jsx as Do,jsxs as Jc}from"react/jsx-runtime";var Qk="k-actionsheet-titlebar",Hy={},se=e=>{let{title:t,subtitle:a,actionsStart:r,actionsEnd:s,filter:i,input:d,inputValue:p,inputPlaceholder:m,adaptive:k,children:w,...T}=e;return Jc("div",{...T,className:o(e.className,Qk),children:[Jc("div",{className:"k-actionsheet-titlebar-group",children:[r&&Do("div",{className:"k-actionsheet-actions",children:r}),!w&&Jc("div",{className:"k-actionsheet-title",children:[t&&Do("div",{className:"k-text-center",children:t}),a&&Do("div",{className:"k-actionsheet-subtitle k-text-center",children:a})]}),w&&Do("div",{className:"k-actionsheet-title",children:w}),s&&Do("div",{className:"k-actionsheet-actions",children:s})]}),(d||i)&&Do("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?Do(U,{value:p,placeholder:m,size:k?"large":"medium"}):Do(We,{placeholder:"Filter",size:k?"large":"medium"})})]})};se.className=Qk;se.defaultOptions=Hy;import{jsx as jc,jsxs as Vy}from"react/jsx-runtime";var Uc="k-actionsheet-view",Wy=[],Oy={},Qy={},Tl=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...d}=e,p=s?.type===se&&jc(se,{adaptive:t,...s?.props}),m=i?.type===Wt&&jc(Wt,{...i?.props});return Vy("div",{...d,className:o(e.className,Uc,{[`${Uc}-animated`]:a}),children:[p,jc("div",{className:"k-actionsheet-content",children:r}),m]})};Tl.states=Wy;Tl.options=Oy;Tl.className=Uc;Tl.defaultOptions=Qy;import{jsx as Sn,jsxs as Jy}from"react/jsx-runtime";var Vk="k-actionsheet",Xy=[],Zy={},gs={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ne=e=>{let{side:t=gs.side,fullscreen:a=gs.fullscreen,adaptive:r=gs.adaptive,overlay:s=gs.overlay,template:i,children:d,header:p,footer:m,...k}=e;return Jy("div",{className:"k-actionsheet-container",children:[s&&Sn("div",{className:"k-overlay"}),Sn(Go,{animationStyle:{[`${a===!0?"top":t}`]:0,[`${a===!0?"width":null}`]:"100%",[`${a===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:Sn("div",{...k,className:o(e.className,Vk,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||Sn(Tl,{header:p,footer:m,adaptive:r,...e,children:d})})})]})};ne.states=Xy;ne.options=Zy;ne.className=Vk;ne.defaultOptions=gs;import{jsx as vz}from"react/jsx-runtime";import{Fragment as Uy,jsx as xs,jsxs as qc}from"react/jsx-runtime";var _c="k-actionsheet-item",jy=[l.hover,l.focus,l.selected,l.disabled],$c=e=>{let{iconName:t,text:a,description:r,hover:s,focus:i,selected:d,disabled:p,...m}=e;return qc("span",{...m,className:o(e.className,_c,b(_c,{hover:s,focus:i,selected:d,disabled:p})),children:[!e.children&&xs(Uy,{children:qc("span",{className:"k-actionsheet-action",children:[t&&xs("span",{className:"k-icon-wrap",children:xs(v,{className:"k-actionsheet-item-icon",icon:t})}),qc("span",{className:"k-actionsheet-item-text",children:[a&&xs("span",{className:"k-actionsheet-item-title",children:a}),r&&xs("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};$c.states=jy;$c.className=_c;import{jsx as Bz,jsxs as Mz}from"react/jsx-runtime";import{jsx as Pz}from"react/jsx-runtime";import{jsx as Fz}from"react/jsx-runtime";import{jsx as Wz}from"react/jsx-runtime";import{jsx as Nl,jsxs as ep}from"react/jsx-runtime";var bs="k-slider",qy=[l.hover,l.focus,l.active,l.disabled,l.readonly],_y={},Fo={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},Nt=e=>{let{type:t=Fo.type,orientation:a=Fo.orientation,readonly:r=Fo.readonly,disabled:s=Fo.disabled,handlePosition:i=Fo.handlePosition,showButtons:d=Fo.showButtons,showTicks:p=Fo.showTicks,hover:m,focus:k,active:w,trackStyle:T,dir:g,...N}=e,C,B;return a==="horizontal"?(C=g==="rtl"?"caret-alt-left":"caret-alt-right",B=g==="rtl"?"caret-alt-right":"caret-alt-left"):a==="vertical"&&(C="caret-alt-up",B="caret-alt-down"),ep("div",{...N,className:o(bs,e.className,b(bs,{readonly:r,disabled:s}),{[`k-slider-${a}`]:a,"k-colorgradient-slider":t==="gradient"}),dir:g,children:[d&&Nl(c,{className:"k-button-decrease",rounded:"full",icon:B}),ep("div",{className:"k-slider-track-wrap",children:[p&&Nl("ul",{className:"k-reset k-slider-items",children:e.children}),ep("div",{className:"k-slider-track",style:T,children:[Nl("div",{className:"k-slider-selection"}),t==="range"&&Nl("span",{className:o("k-draghandle","k-draghandle-start",b(bs,{hover:m,focus:k,active:w}))}),Nl("span",{className:o("k-draghandle",`k-draghandle-${i}`,b(bs,{hover:m,focus:k,active:w}))})]})]}),d&&Nl(c,{className:"k-button-increase",rounded:"full",icon:C})]})};Nt.states=qy;Nt.options=_y;Nt.className=bs;Nt.defaultOptions=Fo;import{jsx as Zk}from"react/jsx-runtime";var Jk="k-tick",$y=[],ew={},jk={label:!1},De=e=>{let{style:t,label:a=jk.label,orientation:r,large:s,text:i,...d}=e;return Zk("li",{...d,className:o(e.className,Jk,{[`k-tick-${r}`]:r,"k-tick-large":s}),style:t,children:a&&Zk("span",{className:"k-label",children:i})})};De.states=$y;De.options=ew;De.className=Jk;De.defaultOptions=jk;import{Fragment as tw,jsx as Lt,jsxs as ow}from"react/jsx-runtime";var In=e=>Lt(Nt,{children:ow(tw,{children:[Lt(De,{className:"k-first",label:!0,large:!0,text:"0"}),Lt(De,{}),Lt(De,{}),Lt(De,{}),Lt(De,{}),Lt(De,{label:!0,large:!0,text:"5"}),Lt(De,{}),Lt(De,{}),Lt(De,{}),Lt(De,{}),Lt(De,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as kR,jsx as uR,jsxs as hR}from"react/jsx-runtime";import{Fragment as vR,jsx as bR,jsxs as yR}from"react/jsx-runtime";import{Fragment as CR,jsx as NR,jsxs as SR}from"react/jsx-runtime";import{jsx as aw}from"react/jsx-runtime";var tp=e=>aw(Nt,{type:"gradient",showButtons:!1,showTicks:!1,...e});import{jsx as lw}from"react/jsx-runtime";var op=e=>lw(Nt,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});import{jsx as Uk,jsxs as iw}from"react/jsx-runtime";var qk="k-spin-button",rw=[],sw={size:[n.small,n.medium,n.large],fillMode:[x.solid,x.flat,x.outline,x.clear,x.link]},ap={size:n.medium,fillMode:x.solid},zo=e=>{let{size:t=ap.size,fillMode:a=ap.fillMode,...r}=e;return iw("span",{...r,className:o(qk,e.className),children:[Uk(c,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:a}),Uk(c,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:a})]})};zo.states=rw;zo.options=sw;zo.className=qk;zo.defaultOptions=ap;import{Fragment as _k,jsx as yo,jsxs as lp}from"react/jsx-runtime";var $k="k-numerictextbox",nw=[l.hover,l.focus,l.valid,l.invalid,l.loading,l.required,l.disabled,l.readonly],dw={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Ca={showSpinButton:!0,showClearButton:!0,size:E.defaultOptions.size,rounded:E.defaultOptions.rounded,fillMode:E.defaultOptions.fillMode,separators:!0},ue=e=>{let{size:t=Ca.size,rounded:a=Ca.rounded,fillMode:r=Ca.fillMode,separators:s=Ca.separators,showClearButton:i=Ca.showClearButton,showSpinButton:d=Ca.showSpinButton,prefix:p,suffix:m,value:k,placeholder:w,hover:T,focus:g,valid:N,invalid:C,required:B,loading:L,disabled:Y,readonly:K,...R}=e;return lp(E,{...R,size:t,rounded:a,fillMode:r,hover:T,focus:g,valid:N,invalid:C,required:B,loading:L,disabled:Y,readonly:K,className:o(e.className,$k),children:[p&&lp(_k,{children:[yo(oe,{children:p}),s&&yo(be,{})]}),yo(ie,{placeholder:w,value:k}),yo(j,{valid:N,invalid:C,loading:L,disabled:Y}),yo(q,{loading:L,disabled:Y}),i&&yo(le,{loading:L,disabled:Y,readonly:K,value:k}),m&&lp(_k,{children:[s&&yo(be,{}),yo(ae,{children:m})]}),d&&yo(zo,{className:"k-input-spinner",size:t,fillMode:r})]})};ue.states=nw;ue.options=dw;ue.className=$k;ue.defaultOptions=Ca;import{jsx as a0}from"react/jsx-runtime";import{jsx as pw}from"react/jsx-runtime";var cw="k-no-data",vs=e=>pw("span",{className:o(cw,e.className),children:e.children});import{jsx as Cl,jsxs as th}from"react/jsx-runtime";var rp="k-list",mw=[],uw={size:[n.small,n.medium,n.large]},oh={size:n.medium},Z=e=>{let{size:t=oh.size,virtualization:a,children:r,optionLabel:s,customValue:i,screenReaders:d,...p}=e,m,k,w,T,g=[];return r?r.map((N,C)=>{N.type===ve?(N.props.root===!0?(m=N.props.label,N.props.children.map((B,L)=>{g.push(Cl(D,{...B.props},`optChild-${L}-${new Date().getTime()}`))})):N.props.children.forEach((B,L)=>{let Y="";L===0&&(Y=N.props.label),g.push(Cl(D,{className:L===0?"k-first":"",...B.props,groupLabel:Y},`groupLabel-${L}-${new Date().getTime()}`))}),k=Cl(ve,{label:m,virtualization:a,children:g})):N.type===D&&(g.push(Cl(D,{...N.props},`${N.type}-${C}`)),w=Cl(Sl,{virtualization:a,children:g}),d&&(T=th(vs,{className:"k-sr-only",children:[g.length," items found."]})))}):T=Cl(vs,{children:"No data found."}),th("div",{...p,className:o(e.className,rp,I(rp,{size:t}),{"k-virtual-list":a}),children:[s,i,k,w,T]})};Z.states=mw;Z.options=uw;Z.className=rp;Z.defaultOptions=oh;import{jsx as Sa,jsxs as fw}from"react/jsx-runtime";var sp="k-list",kw=[],hw={size:[n.small,n.medium,n.large]},ah={size:n.medium},Ia=e=>{let{size:t=ah.size,virtualization:a,children:r,...s}=e,i,d,p,m=[];return r?r.map((k,w)=>{k.type===ve?(k.props.root===!0?(i=k.props.label,k.props.children.map((T,g)=>{m.push(Sa(D,{...T.props},`optChild-${g}-${new Date().getTime()}`))})):(m.push(Sa(lh,{...k.props,children:k.props.label},`listChild-${w}`)),k.props.children.map((T,g)=>{m.push(Sa(D,{...T.props},`fwOptChild-${g}-${new Date().getTime()}`))})),d=Sa(ve,{label:i,virtualization:a,children:m})):k.type===D&&(m.push(Sa(D,{...k.props},`${k.type}-${w}`)),p=Sa(Sl,{virtualization:a,children:m}))}):p=Sa(vs,{children:"No data found."}),fw("div",{...s,className:o(e.className,sp,I(sp,{size:t}),{"k-virtual-list":a}),children:[d,p]})};Ia.states=kw;Ia.options=hw;Ia.className=sp;Ia.defaultOptions=ah;import{jsx as rh}from"react/jsx-runtime";var Bn="k-checkbox",gw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],xw={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full]},ip={size:n.medium,rounded:f.medium},Ze=e=>{let{id:t,checked:a,indeterminate:r,hover:s,focus:i,disabled:d,invalid:p,valid:m,required:k,size:w=ip.size,rounded:T=ip.rounded,...g}=e;return rh("span",{className:"k-checkbox-wrap",children:rh("input",{...g,id:t,type:"checkbox",defaultChecked:a,required:k,className:o(e.className,Bn,I(Bn,{size:w,rounded:T}),b(Bn,{hover:s,focus:i,disabled:d,invalid:p,valid:m,indeterminate:r,checked:a}))})})};Ze.states=gw;Ze.options=xw;Ze.className=Bn;Ze.defaultOptions=ip;import{jsx as yw}from"react/jsx-runtime";var sh="k-checkbox-list",bw=[],vw={},ih={layout:"vertical"},Il=e=>{let{layout:t=ih.layout,...a}=e;return yw("ul",{...a,className:o(e.className,sh,{[`k-list-${t}`]:t}),children:e.children})};Il.states=bw;Il.options=vw;Il.className=sh;Il.defaultOptions=ih;import{jsx as Nw}from"react/jsx-runtime";var nh="k-checkbox-list-item",ww=[],Aw={},Tw={},Bl=e=>{let{...t}=e;return Nw("li",{...t,className:o(e.className,nh),children:e.children})};Bl.states=ww;Bl.options=Aw;Bl.className=nh;Bl.defaultOptions=Tw;import{Fragment as E0,jsx as L0,jsxs as Y0}from"react/jsx-runtime";import{Fragment as F0,jsx as D0,jsxs as z0}from"react/jsx-runtime";import{Fragment as Q0,jsx as O0,jsxs as V0}from"react/jsx-runtime";import{Fragment as U0,jsx as j0,jsxs as q0}from"react/jsx-runtime";import{jsx as tH}from"react/jsx-runtime";import{jsx as rH}from"react/jsx-runtime";import{jsx as Mn,jsxs as Bw}from"react/jsx-runtime";var dp="k-list-item",Cw=[l.hover,l.focus,l.selected,l.disabled],Sw={},Iw={},D=e=>{let{text:t,groupLabel:a,group:r,showIcon:s,iconName:i,showCheckbox:d,checked:p,hover:m,focus:k,selected:w,disabled:T,...g}=e,N=t||e.children;return Bw("li",{...g,className:o(e.className,r?"k-list-group-item":dp,b(dp,{hover:m,focus:k,disabled:T,selected:w})),children:[d&&Mn(Ze,{checked:p}),s&&Mn(v,{icon:i}),Mn("span",{className:"k-list-item-text",children:N}),a&&a!==""&&Mn("div",{className:"k-list-item-group-label",children:a})]})};D.states=Cw;D.options=Sw;D.className=dp;D.defaultOptions=Iw;import{jsx as cp,jsxs as Lw}from"react/jsx-runtime";var Mw="k-list-content",Sl=e=>{let{virtualization:t,...a}=e;return Lw("div",{...a,className:o(Mw,e.className),children:[cp("ul",{className:o("k-list-ul"),children:e.children}),t&&cp("div",{className:"k-height-container",children:cp("div",{})})]})};import{jsx as dh}from"react/jsx-runtime";var Ew="k-list-group-sticky-header",ch=e=>dh("div",{className:o(Ew,e.className),children:dh("div",{className:"k-list-header-text",children:e.children})});import{Fragment as Yw,jsx as ph,jsxs as Pw}from"react/jsx-runtime";var ve=e=>{let{virtualization:t,label:a}=e;return Pw(Yw,{children:[a&&ph(ch,{children:a}),e.children&&ph(Sl,{virtualization:t,children:e.children})]})};import{jsx as mh}from"react/jsx-runtime";var Gw="k-list-group-item",lh=e=>mh("li",{className:o(Gw,e.className),children:mh("span",{className:"k-list-item-text",children:e.children})});import{jsx as zw}from"react/jsx-runtime";var pp="k-list-optionlabel",Kw=[l.hover,l.focus,l.selected,l.disabled],Dw={},Fw={},Ln=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return zw("div",{...d,className:o(pp,b(pp,{hover:a,focus:r,selected:s,disabled:i})),children:t})};Ln.states=Kw;Ln.options=Dw;Ln.className=pp;Ln.defaultOptions=Fw;import{jsx as Ow}from"react/jsx-runtime";var mp="k-list-custom-value",Rw=[l.hover,l.focus,l.selected,l.disabled],Hw={},Ww={},_e=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return Ow("div",{...d,className:o(mp,b(mp,{hover:a,focus:r,selected:s,disabled:i})),children:t})};_e.states=Rw;_e.options=Hw;_e.className=mp;_e.defaultOptions=Ww;import{jsx as WH}from"react/jsx-runtime";import{jsx as XH}from"react/jsx-runtime";import{jsx as UH,jsxs as qH}from"react/jsx-runtime";import{jsx as t8,jsxs as o8}from"react/jsx-runtime";import{jsx as s8}from"react/jsx-runtime";import{jsx as c8,jsxs as p8}from"react/jsx-runtime";import{jsx as h8,jsxs as f8}from"react/jsx-runtime";import{Fragment as Xw,jsx as ut,jsxs as up}from"react/jsx-runtime";var uh="k-dropdownlist",Qw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],Vw={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Ml={showValue:!0,arrowIconName:"caret-alt-down",size:n.medium,rounded:f.medium,fillMode:x.solid},de=e=>{let{size:t=Ml.size,rounded:a=Ml.rounded,fillMode:r=Ml.fillMode,arrowIconName:s=Ml.arrowIconName,showValue:i=Ml.showValue,valueIconName:d,prefix:p,suffix:m,value:k,placeholder:w,hover:T,focus:g,valid:N,invalid:C,required:B,loading:L,disabled:Y,readonly:K,popup:R,opened:V,adaptive:xe,adaptiveSettings:Ke,adaptiveTitle:lt,adaptiveSubtitle:Rt,adaptiveFilter:Aa,...vl}=e;return up(Xw,{children:[up(Tt,{...vl,size:t,rounded:a,fillMode:r,hover:T,focus:g,valid:N,invalid:C,required:B,loading:L,disabled:Y,readonly:K,className:o(e.className,uh,{"k-icon-picker":!i&&d}),children:[ut(oe,{children:p}),ut(vo,{placeholder:w,value:k,showValue:i,valueIconName:d}),ut(j,{valid:N,invalid:C,loading:L,disabled:Y}),ut(q,{loading:L,disabled:Y}),ut(ae,{children:m}),ut(c,{className:"k-input-button",icon:s,rounded:null,size:e.size,fillMode:e.fillMode})]}),V&&R&&ut(H,{className:"k-list-container k-dropdownlist-popup",children:R}),xe&&ut(ne,{adaptive:!0,...Ke,header:ut(se,{actionsEnd:ut(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Aa,inputValue:k,inputPlaceholder:w,title:lt,subtitle:Rt}),children:ut("div",{className:"k-list-container",children:up(Z,{size:"large",children:[ut(D,{text:"List item"}),ut(D,{text:"List item"}),ut(D,{text:"List item"})]})})})]})};de.states=Qw;de.options=Vw;de.className=uh;de.defaultOptions=Ml;import{jsx as X8}from"react/jsx-runtime";import{jsx as q8,jsxs as _8}from"react/jsx-runtime";import{Fragment as sW,jsx as lW,jsxs as rW}from"react/jsx-runtime";import{jsx as cW}from"react/jsx-runtime";import{jsx as hW,jsxs as fW}from"react/jsx-runtime";import{jsx as yW,jsxs as wW}from"react/jsx-runtime";import{Fragment as MW,jsx as IW,jsxs as BW}from"react/jsx-runtime";import{Fragment as FW,jsx as KW,jsxs as DW}from"react/jsx-runtime";import{Fragment as eO,jsx as $W}from"react/jsx-runtime";import{Fragment as iO,jsx as sO}from"react/jsx-runtime";import{Fragment as ys,jsx as $,jsxs as Me}from"react/jsx-runtime";var kh="k-colorgradient-inputs",Zw=[],Jw={size:[n.small,n.medium,n.large]},hh={mode:"rgba",size:n.medium},Ll=e=>{let{mode:t=hh.mode,size:a,...r}=e;return Me("div",{...r,className:o(kh,"k-hstack"),children:[$("div",{className:"k-vstack",children:$(c,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:a})}),t==="rgba"&&Me(ys,{children:[Me("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132",size:a}),$("label",{className:"k-colorgradient-input-label",children:"R"})]}),Me("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132",size:a}),$("label",{className:"k-colorgradient-input-label",children:"G"})]}),Me("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132",size:a}),$("label",{className:"k-colorgradient-input-label",children:"B"})]}),Me("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:a}),$("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&Me(ys,{children:[Me("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132"}),$("label",{className:"k-colorgradient-input-label",children:"R"})]}),Me("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132"}),$("label",{className:"k-colorgradient-input-label",children:"G"})]}),Me("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132"}),$("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&Me(ys,{children:[Me("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132"}),$("label",{className:"k-colorgradient-input-label",children:"H"})]}),Me("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132"}),$("label",{className:"k-colorgradient-input-label",children:"S"})]}),Me("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132"}),$("label",{className:"k-colorgradient-input-label",children:"V"})]}),Me("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),$("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&Me(ys,{children:[Me("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132"}),$("label",{className:"k-colorgradient-input-label",children:"H"})]}),Me("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132"}),$("label",{className:"k-colorgradient-input-label",children:"S"})]}),Me("div",{className:"k-vstack",children:[$(ue,{showSpinButton:!1,showClearButton:!1,value:"132"}),$("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&$(ys,{children:Me("div",{className:"k-vstack k-flex-1",children:[$(U,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),$("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Ll.states=Zw;Ll.options=Jw;Ll.className=kh;Ll.defaultOptions=hh;import{jsx as Ma,jsxs as La}from"react/jsx-runtime";var fh="k-colorgradient-color-contrast",jw=[],Uw={},qw={},El=()=>La("div",{className:o(fh,"k-vbox"),children:[La("div",{className:"k-contrast-ratio",children:[Ma("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),La("span",{className:"k-contrast-validation !k-text-success",children:[Ma(v,{icon:"check"}),Ma(v,{icon:"check"})]})]}),La("div",{children:[Ma("span",{children:"AA: 4.5"}),La("span",{className:"k-contrast-validation !k-text-success",children:["Pass",Ma(v,{icon:"check"})]})]}),La("div",{children:[Ma("span",{children:"AAA: 7.0"}),La("span",{className:"k-contrast-validation !k-text-error",children:["Fail",Ma(v,{icon:"x"})]})]})]});El.states=jw;El.options=Uw;El.className=fh;El.defaultOptions=qw;import{jsx as Et,jsxs as ws}from"react/jsx-runtime";var En="k-colorgradient",_w=[l.hover,l.focus,l.readonly,l.disabled],$w={size:[n.small,n.medium,n.large]},Ot={size:n.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"},Ro=e=>{let{size:t=Ot.size,mode:a=Ot.mode,readonly:r=Ot.readonly,disabled:s=Ot.disabled,gradientStyle:i=Ot.gradientStyle,dragHandleStyle:d=Ot.dragHandleStyle,alphaStyle:p=Ot.alphaStyle,alphaStyleHorizontal:m=Ot.alphaStyleHorizontal,contrast:k=Ot.contrast,dir:w,hover:T,focus:g,hoverHandle:N,focusHandle:C,canvasOrientation:B=Ot.canvasOrientation,...L}=e;return ws("div",{...L,className:o(e.className,En,I(En,{size:t}),b(En,{hover:T,focus:g,readonly:r,disabled:s})),dir:w,children:[!B||B==="horizontal"&&ws("div",{className:"k-colorgradient-canvas k-hstack",children:[Et("div",{className:"k-hsv-rectangle",style:i,children:Et("div",{className:"k-hsv-gradient",children:Et("div",{className:o("k-hsv-draghandle","k-draghandle",{"k-hover":N,"k-focus":C}),style:d})})}),ws("div",{className:"k-hsv-controls k-hstack",children:[Et(op,{className:"k-hue-slider",hover:N,focus:C}),a!=="rgb"&&a!=="hsv"&&Et(op,{className:"k-alpha-slider",hover:N,focus:C,trackStyle:p})]})]}),B==="vertical"&&ws("div",{className:"k-colorgradient-canvas k-vstack",children:[Et("div",{className:"k-hsv-rectangle",style:i,children:Et("div",{className:"k-hsv-gradient",children:Et("div",{className:o("k-hsv-draghandle","k-draghandle",{"k-hover":N,"k-focus":C}),style:d})})}),ws("div",{className:"k-hsv-controls k-vstack",children:[Et(tp,{className:"k-hue-slider",hover:N,focus:C}),a!=="rgb"&&a!=="hsv"&&Et(tp,{className:"k-alpha-slider",hover:N,focus:C,trackStyle:m})]})]}),Et(Ll,{mode:e.mode,size:t}),k&&Et(El,{})]})};Ro.states=_w;Ro.options=$w;Ro.className=En;Ro.defaultOptions=Ot;import{jsx as EO}from"react/jsx-runtime";import{jsx as KO}from"react/jsx-runtime";import{jsx as eA}from"react/jsx-runtime";var gh=e=>eA("tr",{children:e.children});import{jsx as aA}from"react/jsx-runtime";var kp="k-colorpalette-tile",tA=[l.hover,l.focus,l.selected],oA={},As=e=>{let{color:t,tileSize:a,hover:r,focus:s,selected:i,...d}=e,p={backgroundColor:t,width:a?a+"px":"",height:a?a+"px":""};return aA("td",{...d,className:o(e.className,kp,b(kp,{hover:r,focus:s,selected:i})),style:p})};As.states=tA;As.options=oA;As.className=kp;import{jsx as Ts}from"react/jsx-runtime";var Yn="k-colorpalette",lA=[l.disabled],rA={size:[n.small,n.medium,n.large]},hp={columns:10,size:n.medium},Yl=e=>{let{size:t=hp.size,palette:a,columns:r=hp.columns,tileSize:s,disabled:i,...d}=e,p=[];if(a){let m=r||a.columns,k=a.colors?a.colors:a;Array.isArray(k)&&Array.from({length:Math.ceil(k.length/m)},(w,T)=>{let g=[];k.slice(T*m,(T+1)*m).map((C,B)=>{g.push(Ts(As,{color:C,tileSize:s},B))});let N=Ts(gh,{children:g},T);p.push(N)})}return Ts("div",{...d,className:o(e.className,Yn,b(Yn,{disabled:i}),I(Yn,{size:t})),children:Ts("table",{className:"k-colorpalette-table",children:Ts("tbody",{children:p.length>0?p:e.children})})})};Yl.states=lA;Yl.options=rA;Yl.className=Yn;Yl.defaultOptions=hp;var fp={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};import{jsx as rQ}from"react/jsx-runtime";import{jsx as Yt,jsxs as Pl}from"react/jsx-runtime";var Pn="k-coloreditor",sA=[l.focus],iA={size:[n.small,n.medium,n.large]},Gl={size:n.medium,view:"gradient",palette:fp.office,actionButtons:!0,canvasOrientation:"horizontal"},ao=e=>{let{size:t=Gl.size,view:a=Gl.view,palette:r=Gl.palette,color:s,currentColor:i,focus:d,focusView:p,dir:m,group:k,actionButtons:w=Gl.actionButtons,canvasOrientation:T=Gl.canvasOrientation,...g}=e;return Pl("div",{...g,className:o(e.className,"k-flatcolorpicker",Pn,I(Pn,{size:t}),b(Pn,{focus:d})),dir:m,children:[Pl("div",{className:"k-coloreditor-header k-hstack",children:[Yt("div",{className:"k-coloreditor-header-actions k-hstack",children:k&&Pl(G,{fillMode:"flat",children:[Yt(c,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:a==="gradient"}),Yt(c,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:a==="palette"})]})}),Yt("div",{className:"k-spacer"}),Pl("div",{className:"k-coloreditor-header-actions k-hstack",children:[Yt(c,{fillMode:"flat",icon:"droplet-slash",size:t}),Pl("div",{className:"k-coloreditor-preview k-vstack",children:[Yt(Po,{className:"k-coloreditor-preview-color",color:s}),Yt(Po,{className:"k-coloreditor-current-color",color:i})]})]})]}),Yt("div",{className:"k-coloreditor-views k-vstack",children:a==="gradient"?Yt(Ro,{focus:p,size:t,canvasOrientation:T}):Yt(Yl,{palette:r,size:t})}),w&&Pl(X,{className:"k-coloreditor-footer",alignment:"start",children:[Yt(c,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),Yt(c,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ao.states=sA;ao.options=iA;ao.className=Pn;ao.defaultOptions=Gl;import{jsx as TQ}from"react/jsx-runtime";import{jsx as IQ}from"react/jsx-runtime";import{jsx as EQ}from"react/jsx-runtime";import{jsx as KQ}from"react/jsx-runtime";import{Fragment as cA,jsx as Pt,jsxs as xp}from"react/jsx-runtime";var xh="k-colorpicker",nA=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled],dA={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Ns={arrowIconName:"caret-alt-down",size:Tt.defaultOptions.size,rounded:Tt.defaultOptions.rounded,fillMode:Tt.defaultOptions.fillMode},Gt=e=>{let{size:t=Ns.size,rounded:a=Ns.rounded,fillMode:r=Ns.fillMode,arrowIconName:s=Ns.arrowIconName,prefix:i,suffix:d,value:p,placeholder:m,hover:k,focus:w,valid:T,invalid:g,required:N,disabled:C,valueIconName:B,popup:L,opened:Y,adaptive:K,adaptiveSettings:R,adaptiveTitle:V,adaptiveSubtitle:xe,...Ke}=e;return xp(cA,{children:[xp(Tt,{...Ke,size:t,rounded:a,fillMode:r,hover:k,focus:w,valid:T,invalid:g,required:N,disabled:C,className:o(e.className,xh,"k-icon-picker"),children:[Pt(oe,{children:i}),Pt(vo,{placeholder:m,value:p,showValue:!1,valueIcon:Pt(Po,{className:"k-value-icon",color:p,iconName:B}),valueIconName:B}),Pt(ae,{children:d}),Pt(c,{className:"k-input-button",icon:s,rounded:null,size:t,fillMode:r})]}),Y&&L&&Pt(H,{className:"k-colorpicker-popup",children:L}),K&&Pt(ne,{adaptive:!0,...R,header:Pt(se,{actionsEnd: