@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 291 kB
JavaScript
var o=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?o(...t):typeof t=="object"?Object.keys(t).map((a,r)=>t[r]||t[a]&&a||null).filter(a=>a!==null).join(" "):t).filter(t=>!!t).join(" ");var C=(e,t)=>o({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.fillMode}-${t.themeColor}`]:t.fillMode&&t.themeColor},{[`${e}-${t.themeColor}`]:t.themeColor&&t.fillMode===void 0},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full"}),x=(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,"k-highlighted":t.highlighted});var n={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},h={small:"small",medium:"medium",large:"large",full:"full"},b={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},u={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},l={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted"},yt={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};import{Fragment as Dv,jsx as hk}from"react/jsx-runtime";var Hc="k-icon k-font-icon",Pv=[],Gv={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]},Kv={},hs=e=>{let{size:t,themeColor:a,icon:r,rotate:s,flip:i,...d}=e;return r?hk("span",{...d,className:o(e.className,Hc,C(Hc,{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"})}):hk(Dv,{})};hs.states=Pv;hs.options=Gv;hs.className=Hc;hs.defaultOptions=Kv;var gk=hs;import{Fragment as zv,jsx as Tn}from"react/jsx-runtime";var Oc="k-icon k-svg-icon",Fv=[],Rv={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]},xk={viewBox:"0 0 24 24"},gs=e=>{let{size:t,themeColor:a,rotate:r,flip:s,viewBox:i=xk.viewBox,icon:d,...p}=e;if(!d)return Tn(zv,{});d==="none"&&{...p,className:o(e.className,Oc,"k-none")};let m=typeof d=="object"&&d.name&&d.name;return Tn("span",{...p,className:o(e.className,Oc,C("k-icon",{size:t}),{[`k-svg-i-${m}`]:m,[`k-color-${a}`]:a,[`k-rotate-${r}`]:r,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),children:Tn("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})})};gs.states=Fv;gs.options=Rv;gs.className=Oc;gs.defaultOptions=xk;var Wc=gs;import*as bk from"@progress/kendo-svg-icons";import{Fragment as vk,jsx as xs}from"react/jsx-runtime";var Hv=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Ov=[],Wv={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]},Qc={viewBox:"0 0 24 24",type:"svg"},y=e=>{let{size:t,themeColor:a,icon:r,type:s=Qc.type,rotate:i,flip:d,viewBox:p=Qc.viewBox,...m}=e;if(!r)return xs(vk,{});if(s==="svg"){if(r==="none")return xs(Wc,{...m,icon:r,size:t});let k=Hv(`${r}-icon`);return bk[k]?xs(Wc,{...m,icon:bk[k],size:t,themeColor:a,rotate:i,flip:d,viewBox:p}):xs(vk,{})}return xs(gk,{...m,icon:r,size:t,themeColor:a,rotate:i,flip:d})};y.states=Ov;y.options=Wv;y.defaultOptions=Qc;var Vc=y;import{Fragment as Xv,jsx as bs,jsxs as yk}from"react/jsx-runtime";var An="k-button",Qv=[l.hover,l.focus,l.active,l.selected,l.disabled],Vv={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Sa={size:n.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},c=e=>{let{size:t=Sa.size,rounded:a=Sa.rounded,fillMode:r=Sa.fillMode,themeColor:s=Sa.themeColor,showArrow:i=Sa.showArrow,arrowIconName:d=Sa.arrowIconName,hover:p,focus:m,active:k,selected:v,disabled:T,icon:g,text:A,iconClassName:N,...S}=e,B=g!==void 0,L=e.children!==void 0;return yk("button",{...S,className:o(e.className,An,C(An,{size:t,rounded:a,fillMode:r,themeColor:s}),x(An,{hover:p,focus:m,active:k,disabled:T,selected:v}),{"k-icon-button":!A&&!L&&B}),children:[g&&bs(y,{className:o(N,"k-button-icon"),icon:g}),A?yk(Xv,{children:[A&&bs("span",{className:"k-button-text",children:A}),e.children]}):e.children&&bs("span",{className:"k-button-text",children:e.children}),i&&bs("span",{className:"k-menu-button-arrow k-button-arrow",children:bs(y,{icon:d})})]})};c.states=Qv;c.options=Vv;c.className=An;c.defaultOptions=Sa;import{jsx as Zv}from"react/jsx-runtime";var je=e=>Zv(c,{icon:"folder",...e,children:void 0});import{jsx as Jv}from"react/jsx-runtime";var Ot=e=>Jv(c,{icon:"folder",children:"Button",...e});import{jsx as HG}from"react/jsx-runtime";import{jsx as qv}from"react/jsx-runtime";var vs="k-button-group",jv=[l.disabled],Uv={fillMode:[b.solid,b.flat,b.outline,b.clear,b.link]},wk={fillMode:b.solid},Y=e=>{let{fillMode:t=wk.fillMode,disabled:a,stretched:r,...s}=e;return qv("div",{...s,className:o(e.className,vs,C(vs,{fillMode:t}),x(vs,{disabled:a}),{[`${vs}-stretched`]:r}),children:e.children})};Y.states=jv;Y.options=Uv;Y.className=vs;Y.defaultOptions=wk;import{Fragment as tK,jsx as eK,jsxs as oK}from"react/jsx-runtime";import{Fragment as nK,jsx as iK,jsxs as dK}from"react/jsx-runtime";import{Fragment as fK,jsx as kK,jsxs as hK}from"react/jsx-runtime";import{Fragment as wK,jsx as yK,jsxs as TK}from"react/jsx-runtime";import{jsx as ey}from"react/jsx-runtime";var Nn="k-input",_v=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],$v={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Cn={size:n.medium,rounded:n.medium,fillMode:b.solid},M=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p,size:m=Cn.size,rounded:k=Cn.rounded,fillMode:v=Cn.fillMode,...T}=e;return ey("span",{...T,className:o(e.className,Nn,C(Nn,{size:m,rounded:k,fillMode:v}),x(Nn,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p}))})};M.states=_v;M.options=$v;M.className=Nn;M.defaultOptions=Cn;import{jsx as ay}from"react/jsx-runtime";var Sn="k-picker",ty=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],oy={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},In={size:n.medium,rounded:h.medium,fillMode:b.solid},wt=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p,size:m=In.size,rounded:k=In.rounded,fillMode:v=In.fillMode,...T}=e;return ay("span",{...T,className:o(e.className,Sn,C(Sn,{size:m,rounded:k,fillMode:v}),x(Sn,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p})),children:e.children})};wt.states=ty;wt.options=oy;wt.className=Sn;wt.defaultOptions=In;import{Fragment as sy,jsx as Xc}from"react/jsx-runtime";var Tk="k-clear-value",ly=[l.disabled,l.loading,l.readonly],ry={},te=e=>{let{disabled:t,loading:a,readonly:r,value:s}=e;return t||r||a||!s?Xc(sy,{}):Xc("span",{className:o(e.className,Tk),children:Xc(y,{icon:"x"})})};te.states=ly;te.options=ry;te.className=Tk;import{jsx as dy}from"react/jsx-runtime";var Zc="k-input-inner",iy=[],ny={},Bn={type:"text",autocomplete:"off",value:"",placeholder:""},se=e=>{let{value:t=Bn.value,type:a=Bn.type,placeholder:r=Bn.placeholder,autocomplete:s=Bn.autocomplete,...i}=e;return dy("input",{...i,type:a,className:o(e.className,Zc,C(Zc,e)),placeholder:r,autoComplete:s,defaultValue:t})};se.states=iy;se.options=ny;se.className=Zc;import{jsx as Ak,jsxs as my}from"react/jsx-runtime";var Jc="k-input-inner",cy=[],py={},wo=e=>{let{value:t,placeholder:a,showValue:r,valueIcon:s,valueIconName:i,...d}=e;return my("span",{...d,className:o(e.className,Jc,C(Jc,e)),children:[s,!s&&i&&Ak(y,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&Ak("span",{className:"k-input-value-text",children:t})]})};wo.states=cy;wo.options=py;wo.className=Jc;import{jsx as fy}from"react/jsx-runtime";var jc="k-input-inner",uy=[],ky={},Nk={value:"",placeholder:""},ys=e=>{let{value:t=Nk.value,placeholder:a=Nk.placeholder,rows:r,...s}=e;return fy("textarea",{...s,className:o(e.className,jc,C(jc,e)),placeholder:a,rows:r,defaultValue:t})};ys.states=uy;ys.options=ky;ys.className=jc;import{Fragment as gy,jsx as Ck}from"react/jsx-runtime";var Sk="k-input-loading-icon",hy=[l.disabled,l.loading],J=e=>{let{disabled:t,loading:a}=e;return t||!a?Ck(gy,{}):Ck("span",{className:o(e.className,Sk,"k-icon k-i-loading")})};J.states=hy;J.className=Sk;import{Fragment as vy,jsx as Ik}from"react/jsx-runtime";var Bk="k-input-validation-icon",xy=[l.valid,l.invalid,l.disabled,l.loading],by={},X=e=>{let{valid:t,invalid:a,disabled:r,loading:s}=e,i=a?"warning-circle":"check-circle";return r||s||!!!(t||a)?Ik(vy,{}):Ik(y,{className:o(Bk),icon:i})};X.states=xy;X.options=by;X.className=Bk;import{Fragment as Ty,jsx as Mk}from"react/jsx-runtime";var yy="k-input-prefix",wy={direction:"horizontal"},$=e=>{let{direction:t=wy.direction,...a}=e;return e.children?Mk("span",{...a,className:o(yy,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Mk(Ty,{})};import{Fragment as Cy,jsx as Lk}from"react/jsx-runtime";var Ay="k-input-suffix",Ny={direction:"horizontal"},ee=e=>{let{direction:t=Ny.direction,...a}=e;return e.children?Lk("span",{...a,className:o(Ay,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Lk(Cy,{})};import{jsx as mD}from"react/jsx-runtime";import{jsx as hD}from"react/jsx-runtime";import{jsx as Iy}from"react/jsx-runtime";var Ek="k-input-separator",Sy={direction:"vertical"},xe=e=>{let{direction:t=Sy.direction,...a}=e;return Iy("span",{...a,className:o(Ek,e.className,{[`${Ek}-${t}`]:t})})};import{jsx as Yk,jsxs as Ly}from"react/jsx-runtime";var Pk="k-color-preview",By=[],My={},Fo=e=>{let{color:t,iconName:a,...r}=e;return Ly("span",{...r,className:o(e.className,Pk,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&Yk(y,{icon:a,className:"k-color-preview-icon"}),Yk("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Fo.states=By;Fo.options=My;Fo.className=Pk;import{jsx as Gk}from"react/jsx-runtime";var Kk="k-animation-container",Ey=[],Yy={},Dk={positionMode:"absolute"},Ro=e=>{let{positionMode:t=Dk.positionMode,animationStyle:a,offset:r,...s}=e;return Gk("div",{...s,style:{...r,...e.style},className:o(e.className,Kk,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:Gk("div",{className:"k-child-animation-container",style:a,children:e.children})})};Ro.states=Ey;Ro.options=Yy;Ro.className=Kk;Ro.defaultOptions=Dk;import{jsx as Fk}from"react/jsx-runtime";var Rk="k-popup",Py=[],Gy={},zk={positionMode:"absolute"},F=e=>{let{offset:t,positionMode:a=zk.positionMode,animationStyle:r,...s}=e;return Fk(Ro,{positionMode:a,offset:t,animationStyle:r,children:Fk("div",{...s,className:o(e.className,Rk),children:e.children})})};F.states=Py;F.options=Gy;F.className=Rk;F.defaultOptions=zk;import{jsx as Fy}from"react/jsx-runtime";var Mn="k-actions",Ky=[],Dy={},Uc={alignment:"start",orientation:"horizontal"},W=e=>{let{alignment:t=Uc.alignment,orientation:a=Uc.orientation,...r}=e;return Fy("div",{...r,className:o(Mn,{[`${Mn}-${t}`]:t,[`${Mn}-${a}`]:a},e.className),children:e.children})};W.states=Ky;W.options=Dy;W.className=Mn;W.defaultOptions=Uc;var Hk=W;import{jsx as zy}from"react/jsx-runtime";var Ry="k-actionsheet-footer",Ok={alignment:"stretched",orientation:"horizontal"},Wt=e=>{let{alignment:t=Ok.alignment,orientation:a=Ok.orientation,template:r,as:s=r?"div":W,...i}=e;return zy(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,Ry),children:e.children})};import{jsx as ws,jsxs as Wy}from"react/jsx-runtime";var Wk="k-searchbox",Hy=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],Oy={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},qc={showIcon:!0,icon:"search",size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode},Re=e=>{let{value:t,placeholder:a,size:r,rounded:s,fillMode:i,hover:d,focus:p,valid:m,invalid:k,required:v,loading:T,disabled:g,showIcon:A=qc.showIcon,icon:N=qc.icon,...S}=e;return Wy(M,{...S,size:r,rounded:s,fillMode:i,hover:d,focus:p,valid:m,invalid:k,required:v,loading:T,disabled:g,className:o(e.className,Wk),children:[A&&ws(y,{className:"k-input-icon",icon:N}),ws(se,{placeholder:a,value:t}),ws(J,{...e}),ws(X,{...e}),ws(te,{...e})]})};Re.states=Hy;Re.options=Oy;Re.className=Wk;Re.defaultOptions=qc;import{jsx as fF}from"react/jsx-runtime";import{Fragment as Qk,jsx as zo,jsxs as _c}from"react/jsx-runtime";var Vk="k-textbox",Qy=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],Vy={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Ia={showClearButton:!0,showValidationIcon:!0,size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode,separators:!0},Z=e=>{let{size:t=Ia.size,rounded:a=Ia.rounded,fillMode:r=Ia.fillMode,separators:s=Ia.separators,showClearButton:i=Ia.showClearButton,showValidationIcon:d=Ia.showValidationIcon,prefix:p,suffix:m,type:k,value:v,placeholder:T,hover:g,focus:A,valid:N,invalid:S,required:B,loading:L,disabled:E,readonly:D,...H}=e;return _c(M,{...H,size:t,rounded:a,fillMode:r,hover:g,focus:A,valid:N,invalid:S,required:B,loading:L,disabled:E,readonly:D,className:o(e.className,Vk),children:[p&&_c(Qk,{children:[zo($,{children:p}),s&&zo(xe,{})]}),zo(se,{placeholder:T,value:v,type:k}),d&&zo(X,{valid:N,invalid:S,loading:L,disabled:E}),zo(J,{loading:L,disabled:E}),i&&zo(te,{loading:L,disabled:E,readonly:D,value:v}),m&&_c(Qk,{children:[s&&zo(xe,{}),zo(ee,{children:m})]})]})};Z.states=Qy;Z.options=Vy;Z.className=Vk;Z.defaultOptions=Ia;import{jsx as CF}from"react/jsx-runtime";import{Fragment as EF,jsx as LF}from"react/jsx-runtime";import{Fragment as FF,jsx as DF}from"react/jsx-runtime";import{jsx as Ho,jsxs as $c}from"react/jsx-runtime";var Jk="k-actionsheet-titlebar",Xy={},ae=e=>{let{title:t,subtitle:a,actionsStart:r,actionsEnd:s,filter:i,input:d,inputValue:p,inputPlaceholder:m,adaptive:k,children:v,...T}=e;return $c("div",{...T,className:o(e.className,Jk),children:[$c("div",{className:"k-actionsheet-titlebar-group",children:[r&&Ho("div",{className:"k-actionsheet-actions",children:r}),!v&&$c("div",{className:"k-actionsheet-title",children:[t&&Ho("div",{className:"k-text-center",children:t}),a&&Ho("div",{className:"k-actionsheet-subtitle k-text-center",children:a})]}),v&&Ho("div",{className:"k-actionsheet-title",children:v}),s&&Ho("div",{className:"k-actionsheet-actions",children:s})]}),(d||i)&&Ho("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?Ho(Z,{value:p,placeholder:m,size:k?"large":"medium"}):Ho(Re,{placeholder:"Filter",size:k?"large":"medium"})})]})};ae.className=Jk;ae.defaultOptions=Xy;import{jsx as ep,jsxs as Uy}from"react/jsx-runtime";var tp="k-actionsheet-view",Zy=[],Jy={},jy={},Sl=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...d}=e,p=s?.type===ae&&ep(ae,{adaptive:t,...s?.props}),m=i?.type===Wt&&ep(Wt,{...i?.props});return Uy("div",{...d,className:o(e.className,tp,{[`${tp}-animated`]:a}),children:[p,ep("div",{className:"k-actionsheet-content",children:r}),m]})};Sl.states=Zy;Sl.options=Jy;Sl.className=tp;Sl.defaultOptions=jy;import{jsx as Ln,jsxs as $y}from"react/jsx-runtime";var jk="k-actionsheet",qy=[],_y={},Ts={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ie=e=>{let{side:t=Ts.side,fullscreen:a=Ts.fullscreen,adaptive:r=Ts.adaptive,overlay:s=Ts.overlay,template:i,children:d,header:p,footer:m,...k}=e;return $y("div",{className:"k-actionsheet-container",children:[s&&Ln("div",{className:"k-overlay"}),Ln(Ro,{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:Ln("div",{...k,className:o(e.className,jk,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||Ln(Sl,{header:p,footer:m,adaptive:r,...e,children:d})})})]})};ie.states=qy;ie.options=_y;ie.className=jk;ie.defaultOptions=Ts;import{jsx as nR}from"react/jsx-runtime";import{Fragment as tw,jsx as As,jsxs as op}from"react/jsx-runtime";var ap="k-actionsheet-item",ew=[l.hover,l.focus,l.selected,l.disabled],lp=e=>{let{iconName:t,text:a,description:r,hover:s,focus:i,selected:d,disabled:p,...m}=e;return op("span",{...m,className:o(e.className,ap,x(ap,{hover:s,focus:i,selected:d,disabled:p})),children:[!e.children&&As(tw,{children:op("span",{className:"k-actionsheet-action",children:[t&&As("span",{className:"k-icon-wrap",children:As(y,{className:"k-actionsheet-item-icon",icon:t})}),op("span",{className:"k-actionsheet-item-text",children:[a&&As("span",{className:"k-actionsheet-item-title",children:a}),r&&As("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};lp.states=ew;lp.className=ap;import{jsx as gR,jsxs as xR}from"react/jsx-runtime";import{jsx as wR}from"react/jsx-runtime";import{jsx as CR}from"react/jsx-runtime";import{jsx as MR}from"react/jsx-runtime";import{jsx as Il,jsxs as rp}from"react/jsx-runtime";var Ns="k-slider",ow=[l.hover,l.focus,l.active,l.disabled,l.readonly],aw={},Oo={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},Tt=e=>{let{type:t=Oo.type,orientation:a=Oo.orientation,readonly:r=Oo.readonly,disabled:s=Oo.disabled,handlePosition:i=Oo.handlePosition,showButtons:d=Oo.showButtons,showTicks:p=Oo.showTicks,hover:m,focus:k,active:v,trackStyle:T,dir:g,...A}=e,N,S;return a==="horizontal"?(N=g==="rtl"?"caret-alt-left":"caret-alt-right",S=g==="rtl"?"caret-alt-right":"caret-alt-left"):a==="vertical"&&(N="caret-alt-up",S="caret-alt-down"),rp("div",{...A,className:o(Ns,e.className,x(Ns,{readonly:r,disabled:s}),{[`k-slider-${a}`]:a,"k-colorgradient-slider":t==="gradient"}),dir:g,children:[d&&Il(c,{className:"k-button-decrease",rounded:"full",icon:S}),rp("div",{className:"k-slider-track-wrap",children:[p&&Il("ul",{className:"k-reset k-slider-items",children:e.children}),rp("div",{className:"k-slider-track",style:T,children:[Il("div",{className:"k-slider-selection"}),t==="range"&&Il("span",{className:o("k-draghandle","k-draghandle-start",x(Ns,{hover:m,focus:k,active:v}))}),Il("span",{className:o("k-draghandle",`k-draghandle-${i}`,x(Ns,{hover:m,focus:k,active:v}))})]})]}),d&&Il(c,{className:"k-button-increase",rounded:"full",icon:N})]})};Tt.states=ow;Tt.options=aw;Tt.className=Ns;Tt.defaultOptions=Oo;import{jsx as qk}from"react/jsx-runtime";var _k="k-tick",lw=[],rw={},$k={label:!1},Ke=e=>{let{style:t,label:a=$k.label,orientation:r,large:s,text:i,...d}=e;return qk("li",{...d,className:o(e.className,_k,{[`k-tick-${r}`]:r,"k-tick-large":s}),style:t,children:a&&qk("span",{className:"k-label",children:i})})};Ke.states=lw;Ke.options=rw;Ke.className=_k;Ke.defaultOptions=$k;import{Fragment as sw,jsx as Bt,jsxs as iw}from"react/jsx-runtime";var En=e=>Bt(Tt,{children:iw(sw,{children:[Bt(Ke,{className:"k-first",label:!0,large:!0,text:"0"}),Bt(Ke,{}),Bt(Ke,{}),Bt(Ke,{}),Bt(Ke,{}),Bt(Ke,{label:!0,large:!0,text:"5"}),Bt(Ke,{}),Bt(Ke,{}),Bt(Ke,{}),Bt(Ke,{}),Bt(Ke,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as oz,jsx as tz,jsxs as az}from"react/jsx-runtime";import{Fragment as nz,jsx as iz,jsxs as dz}from"react/jsx-runtime";import{Fragment as kz,jsx as uz,jsxs as fz}from"react/jsx-runtime";import{jsx as nw}from"react/jsx-runtime";var sp=e=>nw(Tt,{type:"gradient",showButtons:!1,showTicks:!1,...e});import{jsx as dw}from"react/jsx-runtime";var ip=e=>dw(Tt,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});import{jsx as ef,jsxs as mw}from"react/jsx-runtime";var tf="k-spin-button",cw=[],pw={size:[n.small,n.medium,n.large],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link]},np={size:n.medium,fillMode:b.solid},Wo=e=>{let{size:t=np.size,fillMode:a=np.fillMode,...r}=e;return mw("span",{...r,className:o(tf,e.className),children:[ef(c,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:a}),ef(c,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:a})]})};Wo.states=cw;Wo.options=pw;Wo.className=tf;Wo.defaultOptions=np;import{Fragment as of,jsx as To,jsxs as dp}from"react/jsx-runtime";var af="k-numerictextbox",uw=[l.hover,l.focus,l.valid,l.invalid,l.loading,l.required,l.disabled,l.readonly],kw={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Ba={showSpinButton:!0,showClearButton:!0,size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode,separators:!0},ce=e=>{let{size:t=Ba.size,rounded:a=Ba.rounded,fillMode:r=Ba.fillMode,separators:s=Ba.separators,showClearButton:i=Ba.showClearButton,showSpinButton:d=Ba.showSpinButton,prefix:p,suffix:m,value:k,placeholder:v,hover:T,focus:g,valid:A,invalid:N,required:S,loading:B,disabled:L,readonly:E,...D}=e;return dp(M,{...D,size:t,rounded:a,fillMode:r,hover:T,focus:g,valid:A,invalid:N,required:S,loading:B,disabled:L,readonly:E,className:o(e.className,af),children:[p&&dp(of,{children:[To($,{children:p}),s&&To(xe,{})]}),To(se,{placeholder:v,value:k}),To(X,{valid:A,invalid:N,loading:B,disabled:L}),To(J,{loading:B,disabled:L}),i&&To(te,{loading:B,disabled:L,readonly:E,value:k}),m&&dp(of,{children:[s&&To(xe,{}),To(ee,{children:m})]}),d&&To(Wo,{className:"k-input-spinner",size:t,fillMode:r})]})};ce.states=uw;ce.options=kw;ce.className=af;ce.defaultOptions=Ba;import{jsx as Vz}from"react/jsx-runtime";import{jsx as hw}from"react/jsx-runtime";var fw="k-no-data",Cs=e=>hw("span",{className:o(fw,e.className),children:e.children});import{jsx as Bl,jsxs as rf}from"react/jsx-runtime";var cp="k-list",gw=[],xw={size:[n.small,n.medium,n.large]},sf={size:n.medium},Q=e=>{let{size:t=sf.size,virtualization:a,children:r,optionLabel:s,customValue:i,screenReaders:d,...p}=e,m,k,v,T,g=[];return r?r.map((A,N)=>{A.type===be?(A.props.root===!0?(m=A.props.label,A.props.children.map((S,B)=>{g.push(Bl(P,{...S.props},`optChild-${B}-${new Date().getTime()}`))})):A.props.children.forEach((S,B)=>{let L="";B===0&&(L=A.props.label),g.push(Bl(P,{className:B===0?"k-first":"",...S.props,groupLabel:L},`groupLabel-${B}-${new Date().getTime()}`))}),k=Bl(be,{label:m,virtualization:a,children:g})):A.type===P&&(g.push(Bl(P,{...A.props},`${A.type}-${N}`)),v=Bl(Ml,{virtualization:a,children:g}),d&&(T=rf(Cs,{className:"k-sr-only",children:[g.length," items found."]})))}):T=Bl(Cs,{children:"No data found."}),rf("div",{...p,className:o(e.className,cp,C(cp,{size:t}),{"k-virtual-list":a}),children:[s,i,k,v,T]})};Q.states=gw;Q.options=xw;Q.className=cp;Q.defaultOptions=sf;import{jsx as Ma,jsxs as yw}from"react/jsx-runtime";var pp="k-list",bw=[],vw={size:[n.small,n.medium,n.large]},nf={size:n.medium},La=e=>{let{size:t=nf.size,virtualization:a,children:r,...s}=e,i,d,p,m=[];return r?r.map((k,v)=>{k.type===be?(k.props.root===!0?(i=k.props.label,k.props.children.map((T,g)=>{m.push(Ma(P,{...T.props},`optChild-${g}-${new Date().getTime()}`))})):(m.push(Ma(df,{...k.props,children:k.props.label},`listChild-${v}`)),k.props.children.map((T,g)=>{m.push(Ma(P,{...T.props},`fwOptChild-${g}-${new Date().getTime()}`))})),d=Ma(be,{label:i,virtualization:a,children:m})):k.type===P&&(m.push(Ma(P,{...k.props},`${k.type}-${v}`)),p=Ma(Ml,{virtualization:a,children:m}))}):p=Ma(Cs,{children:"No data found."}),yw("div",{...s,className:o(e.className,pp,C(pp,{size:t}),{"k-virtual-list":a}),children:[d,p]})};La.states=bw;La.options=vw;La.className=pp;La.defaultOptions=nf;import{jsx as cf}from"react/jsx-runtime";var Yn="k-checkbox",ww=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],Tw={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full]},mp={size:n.medium,rounded:h.medium},Qe=e=>{let{id:t,checked:a,indeterminate:r,hover:s,focus:i,disabled:d,invalid:p,valid:m,required:k,size:v=mp.size,rounded:T=mp.rounded,...g}=e;return cf("span",{className:"k-checkbox-wrap",children:cf("input",{...g,id:t,type:"checkbox",defaultChecked:a,required:k,className:o(e.className,Yn,C(Yn,{size:v,rounded:T}),x(Yn,{hover:s,focus:i,disabled:d,invalid:p,valid:m,indeterminate:r,checked:a}))})})};Qe.states=ww;Qe.options=Tw;Qe.className=Yn;Qe.defaultOptions=mp;import{jsx as Cw}from"react/jsx-runtime";var pf="k-checkbox-list",Aw=[],Nw={},mf={layout:"vertical"},Ll=e=>{let{layout:t=mf.layout,...a}=e;return Cw("ul",{...a,className:o(e.className,pf,{[`k-list-${t}`]:t}),children:e.children})};Ll.states=Aw;Ll.options=Nw;Ll.className=pf;Ll.defaultOptions=mf;import{jsx as Mw}from"react/jsx-runtime";var uf="k-checkbox-list-item",Sw=[],Iw={},Bw={},El=e=>{let{...t}=e;return Mw("li",{...t,className:o(e.className,uf),children:e.children})};El.states=Sw;El.options=Iw;El.className=uf;El.defaultOptions=Bw;import{Fragment as v0,jsx as b0,jsxs as y0}from"react/jsx-runtime";import{Fragment as C0,jsx as N0,jsxs as S0}from"react/jsx-runtime";import{Fragment as E0,jsx as L0,jsxs as Y0}from"react/jsx-runtime";import{Fragment as F0,jsx as D0,jsxs as R0}from"react/jsx-runtime";import{jsx as W0}from"react/jsx-runtime";import{jsx as Z0}from"react/jsx-runtime";import{jsx as Pn,jsxs as Pw}from"react/jsx-runtime";var kp="k-list-item",Lw=[l.hover,l.focus,l.selected,l.disabled],Ew={},Yw={},P=e=>{let{text:t,groupLabel:a,group:r,showIcon:s,iconName:i,showCheckbox:d,checked:p,hover:m,focus:k,selected:v,disabled:T,...g}=e,A=t||e.children;return Pw("li",{...g,className:o(e.className,r?"k-list-group-item":kp,x(kp,{hover:m,focus:k,disabled:T,selected:v})),children:[d&&Pn(Qe,{checked:p}),s&&Pn(y,{icon:i}),Pn("span",{className:"k-list-item-text",children:A}),a&&a!==""&&Pn("div",{className:"k-list-item-group-label",children:a})]})};P.states=Lw;P.options=Ew;P.className=kp;P.defaultOptions=Yw;import{jsx as fp,jsxs as Kw}from"react/jsx-runtime";var Gw="k-list-content",Ml=e=>{let{virtualization:t,...a}=e;return Kw("div",{...a,className:o(Gw,e.className),children:[fp("ul",{className:o("k-list-ul"),children:e.children}),t&&fp("div",{className:"k-height-container",children:fp("div",{})})]})};import{jsx as kf}from"react/jsx-runtime";var Dw="k-list-group-sticky-header",ff=e=>kf("div",{className:o(Dw,e.className),children:kf("div",{className:"k-list-header-text",children:e.children})});import{Fragment as Fw,jsx as hf,jsxs as Rw}from"react/jsx-runtime";var be=e=>{let{virtualization:t,label:a}=e;return Rw(Fw,{children:[a&&hf(ff,{children:a}),e.children&&hf(Ml,{virtualization:t,children:e.children})]})};import{jsx as gf}from"react/jsx-runtime";var zw="k-list-group-item",df=e=>gf("li",{className:o(zw,e.className),children:gf("span",{className:"k-list-item-text",children:e.children})});import{jsx as Qw}from"react/jsx-runtime";var hp="k-list-optionlabel",Hw=[l.hover,l.focus,l.selected,l.disabled],Ow={},Ww={},Gn=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return Qw("div",{...d,className:o(hp,x(hp,{hover:a,focus:r,selected:s,disabled:i})),children:t})};Gn.states=Hw;Gn.options=Ow;Gn.className=hp;Gn.defaultOptions=Ww;import{jsx as Jw}from"react/jsx-runtime";var gp="k-list-custom-value",Vw=[l.hover,l.focus,l.selected,l.disabled],Xw={},Zw={},Ue=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return Jw("div",{...d,className:o(gp,x(gp,{hover:a,focus:r,selected:s,disabled:i})),children:t})};Ue.states=Vw;Ue.options=Xw;Ue.className=gp;Ue.defaultOptions=Zw;import{jsx as MH}from"react/jsx-runtime";import{jsx as PH}from"react/jsx-runtime";import{jsx as FH,jsxs as RH}from"react/jsx-runtime";import{jsx as WH,jsxs as QH}from"react/jsx-runtime";import{jsx as JH}from"react/jsx-runtime";import{jsx as _H,jsxs as $H}from"react/jsx-runtime";import{jsx as a8,jsxs as l8}from"react/jsx-runtime";import{Fragment as qw,jsx as dt,jsxs as xp}from"react/jsx-runtime";var xf="k-dropdownlist",jw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],Uw={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Yl={showValue:!0,arrowIconName:"caret-alt-down",size:n.medium,rounded:h.medium,fillMode:b.solid},le=e=>{let{size:t=Yl.size,rounded:a=Yl.rounded,fillMode:r=Yl.fillMode,arrowIconName:s=Yl.arrowIconName,showValue:i=Yl.showValue,valueIconName:d,prefix:p,suffix:m,value:k,placeholder:v,hover:T,focus:g,valid:A,invalid:N,required:S,loading:B,disabled:L,readonly:E,popup:D,opened:H,adaptive:ge,adaptiveSettings:Ge,adaptiveTitle:ot,adaptiveSubtitle:Ht,adaptiveFilter:Ca,...Cl}=e;return xp(qw,{children:[xp(wt,{...Cl,size:t,rounded:a,fillMode:r,hover:T,focus:g,valid:A,invalid:N,required:S,loading:B,disabled:L,readonly:E,className:o(e.className,xf,{"k-icon-picker":!i&&d}),children:[dt($,{children:p}),dt(wo,{placeholder:v,value:k,showValue:i,valueIconName:d}),dt(X,{valid:A,invalid:N,loading:B,disabled:L}),dt(J,{loading:B,disabled:L}),dt(ee,{children:m}),dt(c,{className:"k-input-button",icon:s,rounded:null,size:e.size,fillMode:e.fillMode})]}),H&&D&&dt(F,{className:"k-list-container k-dropdownlist-popup",children:D}),ge&&dt(ie,{adaptive:!0,...Ge,header:dt(ae,{actionsEnd:dt(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Ca,inputValue:k,inputPlaceholder:v,title:ot,subtitle:Ht}),children:dt("div",{className:"k-list-container",children:xp(Q,{size:"large",children:[dt(P,{text:"List item"}),dt(P,{text:"List item"}),dt(P,{text:"List item"})]})})})]})};le.states=jw;le.options=Uw;le.className=xf;le.defaultOptions=Yl;import{jsx as P8}from"react/jsx-runtime";import{jsx as R8,jsxs as z8}from"react/jsx-runtime";import{Fragment as J8,jsx as X8,jsxs as Z8}from"react/jsx-runtime";import{jsx as _8}from"react/jsx-runtime";import{jsx as aO,jsxs as lO}from"react/jsx-runtime";import{jsx as dO,jsxs as cO}from"react/jsx-runtime";import{Fragment as xO,jsx as hO,jsxs as gO}from"react/jsx-runtime";import{Fragment as CO,jsx as AO,jsxs as NO}from"react/jsx-runtime";import{Fragment as OO,jsx as HO}from"react/jsx-runtime";import{Fragment as jO,jsx as JO}from"react/jsx-runtime";import{Fragment as Ss,jsx as U,jsxs as Ce}from"react/jsx-runtime";var bf="k-colorgradient-inputs",_w=[],$w={size:[n.small,n.medium,n.large]},vf={mode:"rgba",size:n.medium},Pl=e=>{let{mode:t=vf.mode,size:a,...r}=e;return Ce("div",{...r,className:o(bf,"k-hstack"),children:[U("div",{className:"k-vstack",children:U(c,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:a})}),t==="rgba"&&Ce(Ss,{children:[Ce("div",{className:"k-vstack",children:[U(ce,{showSpinButton:!1,showClearButton:!1,value:"132",size:a}),U("label",{className:"k-colorgradient-input-label",children:"R"})]}),Ce("div",{className:"k-vstack",children:[U(ce,{showSpinButton:!1,showClearButton:!1,value:"132",size:a}),U("label",{className:"k-colorgradient-input-label",children:"G"})]}),Ce("div",{className:"k-vstack",children:[U(ce,{showSpinButton:!1,showClearButton:!1,value:"132",size:a}),U("label",{className:"k-colorgradient-input-label",children:"B"})]}),Ce("div",{className:"k-vstack",children:[U(ce,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:a}),U("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&Ce(Ss,{children:[Ce("div",{className:"k-vstack",children:[U(ce,{showSpinButton:!1,showClearButton:!1,value:"132"}),U("label",{className:"k-colorgradient-input-label",children:"R"})]}),Ce("div",{className:"k-vstack",children:[U(ce,{showSpinButton:!1,showClearButton:!1,value:"132"}),U("label",{className:"k-colorgradient-input-label",children:"G"})]}),Ce("div",{className:"k-vstack",children:[U(ce,{showSpinButton:!1,showClearButton:!1,value:"132"}),U("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&Ce(Ss,{children:[Ce("div",{className:"k-vstack",children:[U(ce,{showSpinButton:!1,showClearButton:!1,value:"132"}),U("label",{className:"k-colorgradient-input-label",children:"H"})]}),Ce("div",{className:"k-vstack",children:[U(ce,{showSpinButton:!1,showClearButton:!1,value:"132"}),U("label",{className:"k-colorgradient-input-label",children:"S"})]}),Ce("div",{className:"k-vstack",children:[U(ce,{showSpinButton:!1,showClearButton:!1,value:"132"}),U("label",{className:"k-colorgradient-input-label",children:"V"})]}),Ce("div",{className:"k-vstack",children:[U(ce,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),U("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&Ce(Ss,{children:[Ce("div",{className:"k-vstack",children:[U(ce,{showSpinButton:!1,showClearButton:!1,value:"132"}),U("label",{className:"k-colorgradient-input-label",children:"H"})]}),Ce("div",{className:"k-vstack",children:[U(ce,{showSpinButton:!1,showClearButton:!1,value:"132"}),U("label",{className:"k-colorgradient-input-label",children:"S"})]}),Ce("div",{className:"k-vstack",children:[U(ce,{showSpinButton:!1,showClearButton:!1,value:"132"}),U("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&U(Ss,{children:Ce("div",{className:"k-vstack k-flex-1",children:[U(Z,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),U("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Pl.states=_w;Pl.options=$w;Pl.className=bf;Pl.defaultOptions=vf;import{jsx as Ya,jsxs as Pa}from"react/jsx-runtime";var yf="k-colorgradient-color-contrast",eT=[],tT={},oT={},Gl=()=>Pa("div",{className:o(yf,"k-vbox"),children:[Pa("div",{className:"k-contrast-ratio",children:[Ya("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),Pa("span",{className:"k-contrast-validation !k-text-success",children:[Ya(y,{icon:"check"}),Ya(y,{icon:"check"})]})]}),Pa("div",{children:[Ya("span",{children:"AA: 4.5"}),Pa("span",{className:"k-contrast-validation !k-text-success",children:["Pass",Ya(y,{icon:"check"})]})]}),Pa("div",{children:[Ya("span",{children:"AAA: 7.0"}),Pa("span",{className:"k-contrast-validation !k-text-error",children:["Fail",Ya(y,{icon:"x"})]})]})]});Gl.states=eT;Gl.options=tT;Gl.className=yf;Gl.defaultOptions=oT;import{jsx as Mt,jsxs as Is}from"react/jsx-runtime";var Kn="k-colorgradient",aT=[l.hover,l.focus,l.readonly,l.disabled],lT={size:[n.small,n.medium,n.large]},Qt={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"},Qo=e=>{let{size:t=Qt.size,mode:a=Qt.mode,readonly:r=Qt.readonly,disabled:s=Qt.disabled,gradientStyle:i=Qt.gradientStyle,dragHandleStyle:d=Qt.dragHandleStyle,alphaStyle:p=Qt.alphaStyle,alphaStyleHorizontal:m=Qt.alphaStyleHorizontal,contrast:k=Qt.contrast,dir:v,hover:T,focus:g,hoverHandle:A,focusHandle:N,canvasOrientation:S=Qt.canvasOrientation,...B}=e;return Is("div",{...B,className:o(e.className,Kn,C(Kn,{size:t}),x(Kn,{hover:T,focus:g,readonly:r,disabled:s})),dir:v,children:[!S||S==="horizontal"&&Is("div",{className:"k-colorgradient-canvas k-hstack",children:[Mt("div",{className:"k-hsv-rectangle",style:i,children:Mt("div",{className:"k-hsv-gradient",children:Mt("div",{className:o("k-hsv-draghandle","k-draghandle",{"k-hover":A,"k-focus":N}),style:d})})}),Is("div",{className:"k-hsv-controls k-hstack",children:[Mt(ip,{className:"k-hue-slider",hover:A,focus:N}),a!=="rgb"&&a!=="hsv"&&Mt(ip,{className:"k-alpha-slider",hover:A,focus:N,trackStyle:p})]})]}),S==="vertical"&&Is("div",{className:"k-colorgradient-canvas k-vstack",children:[Mt("div",{className:"k-hsv-rectangle",style:i,children:Mt("div",{className:"k-hsv-gradient",children:Mt("div",{className:o("k-hsv-draghandle","k-draghandle",{"k-hover":A,"k-focus":N}),style:d})})}),Is("div",{className:"k-hsv-controls k-vstack",children:[Mt(sp,{className:"k-hue-slider",hover:A,focus:N}),a!=="rgb"&&a!=="hsv"&&Mt(sp,{className:"k-alpha-slider",hover:A,focus:N,trackStyle:m})]})]}),Mt(Pl,{mode:e.mode,size:t}),k&&Mt(Gl,{})]})};Qo.states=aT;Qo.options=lT;Qo.className=Kn;Qo.defaultOptions=Qt;import{jsx as vW}from"react/jsx-runtime";import{jsx as AW}from"react/jsx-runtime";import{jsx as rT}from"react/jsx-runtime";var wf=e=>rT("tr",{children:e.children});import{jsx as nT}from"react/jsx-runtime";var bp="k-colorpalette-tile",sT=[l.hover,l.focus,l.selected],iT={},Bs=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 nT("td",{...d,className:o(e.className,bp,x(bp,{hover:r,focus:s,selected:i})),style:p})};Bs.states=sT;Bs.options=iT;Bs.className=bp;import{jsx as Ms}from"react/jsx-runtime";var Dn="k-colorpalette",dT=[l.disabled],cT={size:[n.small,n.medium,n.large]},vp={columns:10,size:n.medium},Kl=e=>{let{size:t=vp.size,palette:a,columns:r=vp.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)},(v,T)=>{let g=[];k.slice(T*m,(T+1)*m).map((N,S)=>{g.push(Ms(Bs,{color:N,tileSize:s},S))});let A=Ms(wf,{children:g},T);p.push(A)})}return Ms("div",{...d,className:o(e.className,Dn,x(Dn,{disabled:i}),C(Dn,{size:t})),children:Ms("table",{className:"k-colorpalette-table",children:Ms("tbody",{children:p.length>0?p:e.children})})})};Kl.states=dT;Kl.options=cT;Kl.className=Dn;Kl.defaultOptions=vp;var yp={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 ZW}from"react/jsx-runtime";import{jsx as Lt,jsxs as Dl}from"react/jsx-runtime";var Fn="k-coloreditor",pT=[l.focus],mT={size:[n.small,n.medium,n.large]},Fl={size:n.medium,view:"gradient",palette:yp.office,actionButtons:!0,canvasOrientation:"horizontal"},lo=e=>{let{size:t=Fl.size,view:a=Fl.view,palette:r=Fl.palette,color:s,currentColor:i,focus:d,focusView:p,dir:m,group:k,actionButtons:v=Fl.actionButtons,canvasOrientation:T=Fl.canvasOrientation,...g}=e;return Dl("div",{...g,className:o(e.className,"k-flatcolorpicker",Fn,C(Fn,{size:t}),x(Fn,{focus:d})),dir:m,children:[Dl("div",{className:"k-coloreditor-header k-hstack",children:[Lt("div",{className:"k-coloreditor-header-actions k-hstack",children:k&&Dl(Y,{fillMode:"flat",children:[Lt(c,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:a==="gradient"}),Lt(c,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:a==="palette"})]})}),Lt("div",{className:"k-spacer"}),Dl("div",{className:"k-coloreditor-header-actions k-hstack",children:[Lt(c,{fillMode:"flat",icon:"droplet-slash",size:t}),Dl("div",{className:"k-coloreditor-preview k-vstack",children:[Lt(Fo,{className:"k-coloreditor-preview-color",color:s}),Lt(Fo,{className:"k-coloreditor-current-color",color:i})]})]})]}),Lt("div",{className:"k-coloreditor-views k-vstack",children:a==="gradient"?Lt(Qo,{focus:p,size:t,canvasOrientation:T}):Lt(Kl,{palette:r,size:t})}),v&&Dl(W,{className:"k-coloreditor-footer",alignment:"start",children:[Lt(c,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),Lt(c,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};lo.states=pT;lo.options=mT;lo.className=Fn;lo.defaultOptions=Fl;import{jsx as mQ}from"react/jsx-runtime";import{jsx as hQ}from"react/jsx-runtime";import{jsx as vQ}from"react/jsx-runtime";import{jsx as AQ}from"react/jsx-runtime";import{Fragment as fT,jsx as Et,jsxs as Tp}from"react/jsx-runtime";var Tf="k-colorpicker",uT=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled],kT={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Ls={arrowIconName:"caret-alt-down",size:wt.defaultOptions.size,rounded:wt.defaultOptions.rounded,fillMode:wt.defaultOptions.fillMode},Yt=e=>{let{size:t=Ls.size,rounded:a=Ls.rounded,fillMode:r=Ls.fillMode,arrowIconName:s=Ls.arrowIconName,prefix:i,suffix:d,value:p,placeholder:m,hover:k,focus:v,valid:T,invalid:g,required:A,disabled:N,valueIconName:S,popup:B,opened:L,adaptive:E,adaptiveSettings:D,adaptiveTitle:H,adaptiveSubtitle:ge,...Ge}=e;return Tp(fT,{children:[Tp(wt,{...Ge,size:t,rounded:a,fillMode:r,hover:k,focus:v,valid:T,invalid:g,required:A,disabled:N,className:o(e.className,Tf,"k-icon-picker"),children:[Et($,{children:i}),Et(wo,{placeholder:m,value:p,showValue:!1,valueIcon:Et(Fo,{className:"k-value-icon",color:p,iconName:S}),valueIconName:S}),Et(ee,{children:d}),Et(c,{className:"k-input-button",icon:s,rounded:null,size:t,fillMode:r})]}),L&&B&&Et(F,{className:"k-colorpicker-popup",children:B}),E&&Et(ie,{adaptive:!0,...D,header:Et(ae,{actionsEnd:Et(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),title:H,subtitle:ge}),footer:Tp(Wt,{children:[Et(c,{text:"Cancel",size:"large",themeColor:"base"}),Et(c,{text:"Set",size:"large",themeColor:"primary"})]}),children:Et(lo,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Yt.states=uT;Yt.options=kT;Yt.className=Tf;Yt.defaultOptions=Ls;import{jsx as QQ}from"react/jsx-runtime";import{jsx as jQ}from"react/jsx-runtime";import{jsx as eV}from"react/jsx-runtime";import{jsx as lV}from"react/jsx-runtime";import{jsx as nV}from"react/jsx-runtime";import{jsx as mV}from"react/jsx-runtime";import{Fragment as Ap,jsx as ze,jsxs as Es}from"react/jsx-runtime";var Af="k-combobox",gT=[l.hover,l.focus,l.valid,l.invalid,l.loading,l.required,l.disabled,l.readonly],xT={size:[n.small,n.medium,n.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Ys={size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode,separators:!0},At=e=>{let{size:t=Ys.size,rounded:a=Ys.rounded,fillMode:r=Ys.fillMode,separators:s=Ys.separators,prefix:i,suffix:d,value:p,placeholder:m,hover:k,focus:v,valid:T,invalid:g,required:A,loading:N,disabled:S,popup:B,opened:L,readonly:E,adaptive:D,adaptiveSettings:H,adaptiveTitle:ge,adaptiveSubtitle:Ge,adaptiveCustomValue:ot,...Ht}=e;return Es(Ap,{children:[Es(M,{...Ht,size:t,rounded:a,fillMode:r,hover:k,focus:v,valid:T,invalid:g,required:A,loading:N,disabled:S,rea