UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 85.9 kB
var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...t):typeof t=="object"?Object.keys(t).map((o,s)=>t[s]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var k=(e,t)=>n({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.fillMode}-${t.themeColor}`]:t.fillMode&&t.themeColor},{[`${e}-${t.themeColor}`]:t.themeColor&&t.fillMode===void 0},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full"}),g=(e,t)=>{let{valid:o,invalid:s,hover:r,focus:p,checked:l,active:c,selected:u,disabled:N,indeterminate:h,loading:S,empty:d,readonly:M,highlighted:L,...E}=t;return n({"k-valid":o,"k-invalid":s,"k-hover":r,"k-focus":p,"k-checked":l,"k-active":c,"k-selected":u,"k-disabled":N,"k-indeterminate":h&&!l,"k-loading":S,"k-empty":d,"k-readonly":M,"k-highlighted":L},Object.keys(E).reduce((C,A)=>(A.startsWith("k-")?C[A]=E[A]:C[`k-${A}`]=E[A],C),{}))};function yo(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(s=>[`k-${s}`,!0]))}var i={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},x={small:"small",medium:"medium",large:"large",full:"full"},b={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},m={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},a={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};import{Fragment as Pi,jsx as es}from"react/jsx-runtime";var ln="k-font-icon",_i=[],Ki={size:[i.xsmall,i.small,i.medium,i.large,i.xlarge,i.xxlarge,i.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},Ri={},Zt=e=>{let{size:t,themeColor:o,icon:s,rotate:r,flip:p,...l}=e;return s?es("span",{...l,className:n(e.className,ln,k(ln,{size:t}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":p==="h"||p==="both","k-flip-v":p==="v"||p==="both"})}):es(Pi,{})};Zt.states=_i;Zt.options=Ki;Zt.className=ln;Zt.defaultOptions=Ri;var ts=Zt;import{Fragment as Hi,jsx as Io}from"react/jsx-runtime";var pn="k-svg-icon",Di=[],wi={size:[i.xsmall,i.small,i.medium,i.large,i.xlarge,i.xxlarge,i.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},os={viewBox:"0 0 24 24"},Yt=e=>{let{size:t,themeColor:o,rotate:s,flip:r,viewBox:p=os.viewBox,icon:l,...c}=e;if(!l)return Io(Hi,{});l==="none"&&{...c,className:n(e.className,pn,"k-none")};let u=typeof l=="object"&&l.name&&l.name;return Io("span",{...c,className:n(e.className,pn,k("k-icon",{size:t}),{[`k-svg-i-${u}`]:u,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),children:Io("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof l=="object"?l.viewBox:p,dangerouslySetInnerHTML:typeof l=="object"?{__html:l.content}:void 0,children:l?void 0:e.children})})};Yt.states=Di;Yt.options=wi;Yt.className=pn;Yt.defaultOptions=os;var mn=Yt;import*as cn from"@progress/kendo-svg-icons";var ns="icon",as="icons";import{Fragment as ss,jsx as Qt}from"react/jsx-runtime";var Bo="k-icon",zi=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Ui=[],Gi={size:[i.xsmall,i.small,i.medium,i.large,i.xlarge,i.xxlarge,i.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},dn={viewBox:"0 0 24 24",type:"svg"},v=e=>{let{size:t,themeColor:o,icon:s,type:r=dn.type,rotate:p,flip:l,viewBox:c=dn.viewBox,...u}=e;if(!s)return Qt(ss,{});if(r==="svg"){if(s==="none")return Qt(mn,{...u,className:n(e.className,Bo),icon:s,size:t});let N=cn[s]?s:zi(`${s}-icon`);return cn[N]?Qt(mn,{...u,className:n(e.className,Bo),icon:cn[N],size:t,themeColor:o,rotate:p,flip:l,viewBox:c}):Qt(ss,{})}return Qt(ts,{...u,className:n(e.className,Bo),icon:s,size:t,themeColor:o,rotate:p,flip:l})};v.states=Ui;v.options=Gi;v.defaultOptions=dn;v.className=Bo;v.moduleName=ns;v.folderName=as;var un="button",rs=un;import{Fragment as Vi,jsx as jt,jsxs as is}from"react/jsx-runtime";var eo="k-button",Fi=["icon-button"],$i=[a.hover,a.focus,a.active,a.selected,a.disabled,a.generating],Xi={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark,m.inverse]},at={size:i.medium,rounded:x.medium,fillMode:b.solid,themeColor:m.base,showArrow:!1,arrowIconName:"caret-alt-down"},f=e=>{let{size:t=at.size,rounded:o=at.rounded,fillMode:s=at.fillMode,themeColor:r=at.themeColor,showArrow:p=at.showArrow,arrowIconName:l=at.arrowIconName,variant:c,hover:u,focus:N,active:h,selected:S,disabled:d,icon:M,text:L,iconClassName:E,...C}=e,A=M!==void 0,B=e.children!==void 0;return is("button",{...C,className:n(e.className,eo,yo(eo,c),k(eo,{size:t,rounded:o,fillMode:s,themeColor:r}),g(eo,{hover:u,focus:N,active:h,disabled:d,selected:S}),{"k-icon-button":!L&&!B&&A}),children:[M&&jt(v,{className:n(E,"k-button-icon"),icon:M}),L?is(Vi,{children:[L&&jt("span",{className:"k-button-text",children:L}),e.children]}):e.children&&jt("span",{className:"k-button-text",children:e.children}),p&&jt("span",{className:"k-menu-button-arrow k-button-arrow",children:jt(v,{icon:l})})]})};f.states=$i;f.options=Xi;f.variants=Fi;f.className=eo;f.defaultOptions=at;f.moduleName=un;f.folderName=rs;import{jsx as Ji}from"react/jsx-runtime";var Te=e=>Ji(f,{icon:"folder",...e,children:void 0});import{jsx as Wi}from"react/jsx-runtime";var fn=e=>Wi(f,{icon:"folder",children:"Button",...e});import{jsx as Qd}from"react/jsx-runtime";var bn="button",ls=bn;import{jsx as Yi}from"react/jsx-runtime";var to="k-button-group",qi=[a.disabled],Zi={fillMode:[b.solid,b.flat,b.outline,b.clear,b.link]},ps={fillMode:b.solid},K=e=>{let{fillMode:t=ps.fillMode,disabled:o,stretched:s,...r}=e;return Yi("div",{...r,className:n(e.className,to,k(to,{fillMode:t}),g(to,{disabled:o}),{[`${to}-stretched`]:s}),children:e.children})};K.states=qi;K.options=Zi;K.className=to;K.defaultOptions=ps;K.moduleName=bn;K.folderName=ls;import{Fragment as fu,jsx as uu,jsxs as bu}from"react/jsx-runtime";import{Fragment as vu,jsx as Mu,jsxs as Su}from"react/jsx-runtime";import{Fragment as Tu,jsx as Cu,jsxs as Ou}from"react/jsx-runtime";import{Fragment as Ru,jsx as Ku,jsxs as Pu}from"react/jsx-runtime";var oo="input",_o=oo;import{jsx as el}from"react/jsx-runtime";var Ko="k-input",Qi=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],ji={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},Ro={size:i.medium,rounded:i.medium,fillMode:b.solid},y=e=>{let{hover:t,focus:o,disabled:s,invalid:r,valid:p,loading:l,readonly:c,size:u=Ro.size,rounded:N=Ro.rounded,fillMode:h=Ro.fillMode,...S}=e;return el("span",{...S,className:n(e.className,Ko,k(Ko,{size:u,rounded:N,fillMode:h}),g(Ko,{hover:t,focus:o,disabled:s,invalid:r,valid:p,loading:l,readonly:c}))})};y.states=Qi;y.options=ji;y.className=Ko;y.defaultOptions=Ro;y.moduleName=oo;y.folderName=_o;import{jsx as nl}from"react/jsx-runtime";var Po="k-picker",tl=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],ol={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},Do={size:i.medium,rounded:x.medium,fillMode:b.solid},X=e=>{let{hover:t,focus:o,disabled:s,invalid:r,valid:p,loading:l,readonly:c,size:u=Do.size,rounded:N=Do.rounded,fillMode:h=Do.fillMode,...S}=e;return nl("span",{...S,className:n(e.className,Po,k(Po,{size:u,rounded:N,fillMode:h}),g(Po,{hover:t,focus:o,disabled:s,invalid:r,valid:p,loading:l,readonly:c})),children:e.children})};X.states=tl;X.options=ol;X.className=Po;X.defaultOptions=Do;X.moduleName=oo;X.folderName=_o;import{Fragment as rl,jsx as Nn}from"react/jsx-runtime";var ms="k-clear-value",al=[a.disabled,a.loading,a.readonly],sl={},me=e=>{let{disabled:t,loading:o,readonly:s,value:r}=e;return t||s||o||!r?Nn(rl,{}):Nn("span",{className:n(e.className,ms),children:Nn(v,{icon:"x"})})};me.states=al;me.options=sl;me.className=ms;import{jsx as pl}from"react/jsx-runtime";var xn="k-input-inner",il=[],ll={},wo={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=wo.value,type:o=wo.type,placeholder:s=wo.placeholder,autocomplete:r=wo.autocomplete,...p}=e;return pl("input",{...p,type:o,className:n(e.className,xn,k(xn,e)),placeholder:s,autoComplete:r,defaultValue:t})};ce.states=il;ce.options=ll;ce.className=xn;import{jsx as cs,jsxs as dl}from"react/jsx-runtime";var hn="k-input-inner",ml=[],cl={},st=e=>{let{value:t,placeholder:o,showValue:s,valueIcon:r,valueIconName:p,...l}=e;return dl("span",{...l,className:n(e.className,hn,k(hn,e)),children:[r,!r&&p&&cs(v,{className:"k-input-value-icon",icon:p}),s&&!t&&o,s&&t&&cs("span",{className:"k-input-value-text",children:t})]})};st.states=ml;st.options=cl;st.className=hn;import{jsx as bl}from"react/jsx-runtime";var Ln="k-input-inner",ul=[],fl={},ds={value:"",placeholder:""},no=e=>{let{value:t=ds.value,placeholder:o=ds.placeholder,rows:s,...r}=e;return bl("textarea",{...r,className:n(e.className,Ln,k(Ln,e)),placeholder:o,rows:s,defaultValue:t})};no.states=ul;no.options=fl;no.className=Ln;import{Fragment as xl,jsx as us}from"react/jsx-runtime";var fs="k-input-loading-icon",Nl=[a.disabled,a.loading],Q=e=>{let{disabled:t,loading:o}=e;return t||!o?us(xl,{}):us("span",{className:n(e.className,fs,"k-icon k-i-loading")})};Q.states=Nl;Q.className=fs;import{Fragment as Ml,jsx as bs}from"react/jsx-runtime";var Ns="k-input-validation-icon",hl=[a.valid,a.invalid,a.disabled,a.loading],Ll={},V=e=>{let{valid:t,invalid:o,disabled:s,loading:r}=e,p=o?"warning-circle":"check-circle";return s||r||!!!(t||o)?bs(Ml,{}):bs(v,{className:n(Ns),icon:p})};V.states=hl;V.options=Ll;V.className=Ns;import{Fragment as El,jsx as xs}from"react/jsx-runtime";var vl="k-input-prefix",Sl={direction:"horizontal"},j=e=>{let{direction:t=Sl.direction,...o}=e;return e.children?xs("span",{...o,className:n(vl,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):xs(El,{})};import{Fragment as Al,jsx as hs}from"react/jsx-runtime";var gl="k-input-suffix",kl={direction:"horizontal"},ee=e=>{let{direction:t=kl.direction,...o}=e;return e.children?hs("span",{...o,className:n(gl,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):hs(Al,{})};import{jsx as Of}from"react/jsx-runtime";import{jsx as _f}from"react/jsx-runtime";import{jsx as Tl}from"react/jsx-runtime";var Ls="k-input-separator",Cl={direction:"vertical"},te=e=>{let{direction:t=Cl.direction,...o}=e;return Tl("span",{...o,className:n(Ls,e.className,{[`${Ls}-${t}`]:t})})};import{jsx as Ms,jsxs as Il}from"react/jsx-runtime";var vs="k-color-preview",Ol=[],yl={},ze=e=>{let{color:t,iconName:o,...s}=e;return Il("span",{...s,className:n(e.className,vs,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&Ms(v,{icon:o,className:"k-color-preview-icon"}),Ms("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};ze.states=Ol;ze.options=yl;ze.className=vs;var Mn="popup",Ss=Mn;import{jsx as Es}from"react/jsx-runtime";var gs="k-animation-container",Bl=[],_l={},ks={positionMode:"absolute"},Me=e=>{let{positionMode:t=ks.positionMode,animationStyle:o,offset:s,...r}=e;return Es("div",{...r,style:{...s,...e.style},className:n(e.className,gs,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:Es("div",{className:"k-child-animation-container",style:o,children:e.children})})};Me.states=Bl;Me.options=_l;Me.className=gs;Me.defaultOptions=ks;Me.moduleName=Mn;Me.folderName=Ss;var vn="popup",As=vn;import{jsx as Cs}from"react/jsx-runtime";var Ts="k-popup",Kl=[],Rl={},Os={positionMode:"absolute"},D=e=>{let{offset:t,positionMode:o=Os.positionMode,animationStyle:s,...r}=e;return Cs(Me,{positionMode:o,offset:t,animationStyle:s,children:Cs("div",{...r,className:n(e.className,Ts),children:e.children})})};D.states=Kl;D.options=Rl;D.className=Ts;D.defaultOptions=Os;D.moduleName=vn;D.folderName=As;var Sn="action-buttons",ys=Sn;import{jsx as wl}from"react/jsx-runtime";var Ho="k-actions",Pl=[],Dl={},En={alignment:"start",orientation:"horizontal"},J=e=>{let{alignment:t=En.alignment,orientation:o=En.orientation,...s}=e;return wl("div",{...s,className:n(Ho,{[`${Ho}-${t}`]:t,[`${Ho}-${o}`]:o},e.className),children:e.children})};J.states=Pl;J.options=Dl;J.className=Ho;J.defaultOptions=En;J.moduleName=Sn;J.folderName=ys;var Is=J;import{jsx as zl}from"react/jsx-runtime";var Hl="k-actionsheet-footer",Bs={alignment:"stretched",orientation:"horizontal"},ao=e=>{let{alignment:t=Bs.alignment,orientation:o=Bs.orientation,template:s,as:r=s?"div":J,...p}=e;return zl(r,{...p,...!s&&{alignment:t,orientation:o},className:n(e.className,Hl),children:e.children})};var gn="searchbox",_s=gn;import{jsx as so,jsxs as Fl}from"react/jsx-runtime";var Ks="k-searchbox",Ul=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading],Gl={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},kn={showIcon:!0,icon:"search",size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode},de=e=>{let{value:t,placeholder:o,size:s,rounded:r,fillMode:p,hover:l,focus:c,valid:u,invalid:N,required:h,loading:S,disabled:d,showIcon:M=kn.showIcon,icon:L=kn.icon,...E}=e;return Fl(y,{...E,size:s,rounded:r,fillMode:p,hover:l,focus:c,valid:u,invalid:N,required:h,loading:S,disabled:d,className:n(e.className,Ks),children:[M&&so(v,{className:"k-input-icon",icon:L}),so(ce,{placeholder:o,value:t}),so(Q,{...e}),so(V,{...e}),so(me,{...e})]})};de.states=Ul;de.options=Gl;de.className=Ks;de.defaultOptions=kn;de.moduleName=gn;de.folderName=_s;import{jsx as zb}from"react/jsx-runtime";var An="textbox",Rs=An;import{Fragment as Ps,jsx as Ue,jsxs as Cn}from"react/jsx-runtime";var Ds="k-textbox",$l=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Xl={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},rt={showClearButton:!0,showValidationIcon:!0,size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode,separators:!0},ve=e=>{let{size:t=rt.size,rounded:o=rt.rounded,fillMode:s=rt.fillMode,separators:r=rt.separators,showClearButton:p=rt.showClearButton,showValidationIcon:l=rt.showValidationIcon,prefix:c,suffix:u,type:N,value:h,placeholder:S,hover:d,focus:M,valid:L,invalid:E,required:C,loading:A,disabled:B,readonly:H,...Le}=e;return Cn(y,{...Le,size:t,rounded:o,fillMode:s,hover:d,focus:M,valid:L,invalid:E,required:C,loading:A,disabled:B,readonly:H,className:n(e.className,Ds),children:[c&&Cn(Ps,{children:[Ue(j,{children:c}),r&&Ue(te,{})]}),Ue(ce,{placeholder:S,value:h,type:N}),l&&Ue(V,{valid:L,invalid:E,loading:A,disabled:B}),Ue(Q,{loading:A,disabled:B}),p&&Ue(me,{loading:A,disabled:B,readonly:H,value:h}),u&&Cn(Ps,{children:[r&&Ue(te,{}),Ue(ee,{children:u})]})]})};ve.states=$l;ve.options=Xl;ve.className=Ds;ve.defaultOptions=rt;ve.moduleName=An;ve.folderName=Rs;import{jsx as jb}from"react/jsx-runtime";import{Fragment as sN,jsx as aN}from"react/jsx-runtime";import{Fragment as dN,jsx as cN}from"react/jsx-runtime";import{jsx as Ge,jsxs as Tn}from"react/jsx-runtime";var Hs="k-actionsheet-titlebar",Vl={},oe=e=>{let{title:t,subtitle:o,actionsStart:s,actionsEnd:r,filter:p,input:l,inputValue:c,inputPlaceholder:u,adaptive:N,children:h,...S}=e;return Tn("div",{...S,className:n(e.className,Hs),children:[Tn("div",{className:"k-actionsheet-titlebar-group",children:[s&&Ge("div",{className:"k-actionsheet-actions",children:s}),!h&&Tn("div",{className:"k-actionsheet-title",children:[t&&Ge("div",{className:"k-text-center",children:t}),o&&Ge("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),h&&Ge("div",{className:"k-actionsheet-title",children:h}),r&&Ge("div",{className:"k-actionsheet-actions",children:r})]}),(l||p)&&Ge("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?Ge(ve,{value:c,placeholder:u,size:N?"large":"medium"}):Ge(de,{placeholder:"Filter",size:N?"large":"medium"})})]})};oe.className=Hs;oe.defaultOptions=Vl;import{jsx as On,jsxs as Zl}from"react/jsx-runtime";var yn="k-actionsheet-view",Jl=[],Wl={},ql={},gt=e=>{let{adaptive:t,animated:o,children:s,header:r,footer:p,...l}=e,c=r?.type===oe&&On(oe,{adaptive:t,...r?.props}),u=p?.type===ao&&On(ao,{...p?.props});return Zl("div",{...l,className:n(e.className,yn,{[`${yn}-animated`]:o}),children:[c,On("div",{className:"k-actionsheet-content",children:s}),u]})};gt.states=Jl;gt.options=Wl;gt.className=yn;gt.defaultOptions=ql;var ro="action-sheet",zo=ro;import{jsx as Uo,jsxs as jl}from"react/jsx-runtime";var zs="k-actionsheet",Yl=[],Ql={},io={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},W=e=>{let{side:t=io.side,fullscreen:o=io.fullscreen,adaptive:s=io.adaptive,overlay:r=io.overlay,template:p,children:l,header:c,footer:u,...N}=e;return jl("div",{className:"k-actionsheet-container",children:[r&&Uo("div",{className:"k-overlay"}),Uo(Me,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:Uo("div",{...N,className:n(e.className,zs,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":s}),children:p||Uo(gt,{header:c,footer:u,adaptive:s,...e,children:l})})})]})};W.states=Yl;W.options=Ql;W.className=zs;W.defaultOptions=io;W.moduleName=ro;W.folderName=zo;import{jsx as np}from"react/jsx-runtime";var Us="k-actionsheet-container",ep=[],tp={},op={},kt=e=>{let{children:t,...o}=e;return np("div",{...o,className:Us,children:t})};kt.states=ep;kt.options=tp;kt.className=Us;kt.defaultOptions=op;kt.moduleName=ro;kt.folderName=zo;import{jsx as UN}from"react/jsx-runtime";import{Fragment as sp,jsx as lo,jsxs as In}from"react/jsx-runtime";var Bn="k-actionsheet-item",ap=[a.hover,a.focus,a.selected,a.disabled],_n=e=>{let{iconName:t,text:o,description:s,hover:r,focus:p,selected:l,disabled:c,...u}=e;return In("span",{...u,className:n(e.className,Bn,g(Bn,{hover:r,focus:p,selected:l,disabled:c})),children:[!e.children&&lo(sp,{children:In("span",{className:"k-actionsheet-action",children:[t&&lo("span",{className:"k-icon-wrap",children:lo(v,{className:"k-actionsheet-item-icon",icon:t})}),In("span",{className:"k-actionsheet-item-text",children:[o&&lo("span",{className:"k-actionsheet-item-title",children:o}),s&&lo("span",{className:"k-actionsheet-item-description",children:s})]})]})}),e.children]})};_n.states=ap;_n.className=Bn;import{jsx as ZN,jsxs as YN}from"react/jsx-runtime";import{jsx as tx}from"react/jsx-runtime";import{jsx as sx}from"react/jsx-runtime";import{jsx as px}from"react/jsx-runtime";var Kn="slider",Fs=Kn;import{jsx as At,jsxs as Rn}from"react/jsx-runtime";var po="k-slider",rp=[a.hover,a.focus,a.active,a.disabled,a.readonly],ip={},Fe={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},F=e=>{let{type:t=Fe.type,orientation:o=Fe.orientation,readonly:s=Fe.readonly,disabled:r=Fe.disabled,handlePosition:p=Fe.handlePosition,showButtons:l=Fe.showButtons,showTicks:c=Fe.showTicks,hover:u,focus:N,active:h,trackStyle:S,dir:d,...M}=e,L,E;return o==="horizontal"?(L=d==="rtl"?"caret-alt-left":"caret-alt-right",E=d==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(L="caret-alt-up",E="caret-alt-down"),Rn("div",{...M,className:n(po,e.className,g(po,{readonly:s,disabled:r}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:d,children:[l&&At(f,{className:"k-button-decrease",rounded:"full",icon:E}),Rn("div",{className:"k-slider-track-wrap",children:[c&&At("ul",{className:"k-reset k-slider-items",children:e.children}),Rn("div",{className:"k-slider-track",style:S,children:[At("div",{className:"k-slider-selection"}),t==="range"&&At("span",{className:n("k-draghandle","k-draghandle-start",g(po,{hover:u,focus:N,active:h}))}),At("span",{className:n("k-draghandle",`k-draghandle-${p}`,g(po,{hover:u,focus:N,active:h}))})]})]}),l&&At(f,{className:"k-button-increase",rounded:"full",icon:L})]})};F.states=rp;F.options=ip;F.className=po;F.defaultOptions=Fe;F.moduleName=Kn;F.folderName=Fs;import{jsx as $s}from"react/jsx-runtime";var Xs="k-tick",lp=[],pp={},Vs={label:!1},$e=e=>{let{style:t,label:o=Vs.label,orientation:s,large:r,text:p,...l}=e;return $s("li",{...l,className:n(e.className,Xs,{[`k-tick-${s}`]:s,"k-tick-large":r}),style:t,children:o&&$s("span",{className:"k-label",children:p})})};$e.states=lp;$e.options=pp;$e.className=Xs;$e.defaultOptions=Vs;import{Fragment as Rx,jsx as Kx,jsxs as Px}from"react/jsx-runtime";import{Fragment as Ux,jsx as zx,jsxs as Gx}from"react/jsx-runtime";import{Fragment as Jx,jsx as Vx,jsxs as Wx}from"react/jsx-runtime";import{Fragment as jx,jsx as Qx,jsxs as eh}from"react/jsx-runtime";import{jsx as mp}from"react/jsx-runtime";var Pn=e=>mp(F,{type:"gradient",showButtons:!1,showTicks:!1,...e});import{jsx as cp}from"react/jsx-runtime";var Dn=e=>cp(F,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});import{jsx as Js,jsxs as Np}from"react/jsx-runtime";var Ws="k-spin-button",fp=[],bp={size:[i.small,i.medium,i.large],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link]},wn={size:i.medium,fillMode:b.solid},Xe=e=>{let{size:t=wn.size,fillMode:o=wn.fillMode,...s}=e;return Np("span",{...s,className:n(Ws,e.className),children:[Js(f,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),Js(f,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};Xe.states=fp;Xe.options=bp;Xe.className=Ws;Xe.defaultOptions=wn;Xe.moduleName=null;Xe.folderName=null;var qs="numeric-textbox",Zs="numerictextbox";import{Fragment as Ys,jsx as Oe,jsxs as Hn}from"react/jsx-runtime";var Qs="k-numerictextbox",xp=[a.hover,a.focus,a.valid,a.invalid,a.loading,a.required,a.disabled,a.readonly],hp={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},it={showSpinButton:!0,showClearButton:!0,size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode,separators:!0},R=e=>{let{size:t=it.size,rounded:o=it.rounded,fillMode:s=it.fillMode,separators:r=it.separators,showClearButton:p=it.showClearButton,showSpinButton:l=it.showSpinButton,prefix:c,suffix:u,value:N,placeholder:h,hover:S,focus:d,valid:M,invalid:L,required:E,loading:C,disabled:A,readonly:B,...H}=e;return Hn(y,{...H,size:t,rounded:o,fillMode:s,hover:S,focus:d,valid:M,invalid:L,required:E,loading:C,disabled:A,readonly:B,className:n(e.className,Qs),children:[c&&Hn(Ys,{children:[Oe(j,{children:c}),r&&Oe(te,{})]}),Oe(ce,{placeholder:h,value:N}),Oe(V,{valid:M,invalid:L,loading:C,disabled:A}),Oe(Q,{loading:C,disabled:A}),p&&Oe(me,{loading:C,disabled:A,readonly:B,value:N}),u&&Hn(Ys,{children:[r&&Oe(te,{}),Oe(ee,{children:u})]}),l&&Oe(Xe,{className:"k-input-spinner",size:t,fillMode:s})]})};R.states=xp;R.options=hp;R.className=Qs;R.defaultOptions=it;R.moduleName=qs;R.folderName=Zs;import{jsx as Kh}from"react/jsx-runtime";import{jsx as Mp}from"react/jsx-runtime";var Lp="k-no-data",mo=e=>Mp("span",{className:n(Lp,e.className),children:e.children});var ye="list",Ve=ye;import{jsx as Ct,jsxs as er}from"react/jsx-runtime";var zn="k-list",vp=[],Sp={size:[i.small,i.medium,i.large]},tr={size:i.medium},_=e=>{let{size:t=tr.size,virtualization:o,children:s,optionLabel:r,customValue:p,screenReaders:l,...c}=e,u,N,h,S,d=[];return s?s.map((M,L)=>{M.type===z?(M.props.root===!0?(u=M.props.label,M.props.children.map((E,C)=>{d.push(Ct(T,{...E.props},`optChild-${C}-${new Date().getTime()}`))})):M.props.children.forEach((E,C)=>{let A="";C===0&&(A=M.props.label),d.push(Ct(T,{className:C===0?"k-first":"",...E.props,groupLabel:A},`groupLabel-${C}-${new Date().getTime()}`))}),N=Ct(z,{label:u,virtualization:o,children:d})):M.type===T&&(d.push(Ct(T,{...M.props},`${M.type}-${L}`)),h=Ct(Tt,{virtualization:o,children:d}),l&&(S=er(mo,{className:"k-sr-only",children:[d.length," items found."]})))}):S=Ct(mo,{children:"No data found."}),er("div",{...c,className:n(e.className,zn,k(zn,{size:t}),{"k-virtual-list":o}),children:[r,p,N,h,S]})};_.states=vp;_.options=Sp;_.className=zn;_.defaultOptions=tr;_.moduleName=ye;_.folderName=Ve;import{jsx as Ap}from"react/jsx-runtime";var or="k-list-container",Ep=[],gp={},kp={},Ot=e=>{let{...t}=e;return Ap("div",{...t,className:n(e.className,or),children:e.children})};Ot.states=Ep;Ot.options=gp;Ot.className=or;Ot.defaultOptions=kp;Ot.moduleName=ye;Ot.folderName=Ve;import{jsx as lt,jsxs as Op}from"react/jsx-runtime";var Un="k-list",Cp=[],Tp={size:[i.small,i.medium,i.large]},nr={size:i.medium},Ie=e=>{let{size:t=nr.size,virtualization:o,children:s,...r}=e,p,l,c,u=[];return s?s.map((N,h)=>{N.type===z?(N.props.root===!0?(p=N.props.label,N.props.children.map((S,d)=>{u.push(lt(T,{...S.props},`optChild-${d}-${new Date().getTime()}`))})):(u.push(lt(ar,{...N.props,children:N.props.label},`listChild-${h}`)),N.props.children.map((S,d)=>{u.push(lt(T,{...S.props},`fwOptChild-${d}-${new Date().getTime()}`))})),l=lt(z,{label:p,virtualization:o,children:u})):N.type===T&&(u.push(lt(T,{...N.props},`${N.type}-${h}`)),c=lt(Tt,{virtualization:o,children:u}))}):c=lt(mo,{children:"No data found."}),Op("div",{...r,className:n(e.className,Un,k(Un,{size:t}),{"k-virtual-list":o}),children:[l,c]})};Ie.states=Cp;Ie.options=Tp;Ie.className=Un;Ie.defaultOptions=nr;Ie.moduleName=ye;Ie.folderName=Ve;var pt="checkbox",yt=pt;import{jsx as sr}from"react/jsx-runtime";var Go="k-checkbox",yp=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.checked,a.indeterminate],Ip={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full]},Gn={size:i.medium,rounded:x.medium},Se=e=>{let{id:t,checked:o,indeterminate:s,hover:r,focus:p,disabled:l,invalid:c,valid:u,required:N,size:h=Gn.size,rounded:S=Gn.rounded,...d}=e;return sr("span",{className:"k-checkbox-wrap",children:sr("input",{...d,id:t,type:"checkbox",defaultChecked:o,required:N,className:n(e.className,Go,k(Go,{size:h,rounded:S}),g(Go,{hover:r,focus:p,disabled:l,invalid:c,valid:u,indeterminate:s,checked:o}))})})};Se.states=yp;Se.options=Ip;Se.className=Go;Se.defaultOptions=Gn;Se.moduleName=pt;Se.folderName=yt;import{jsx as Kp}from"react/jsx-runtime";var rr="k-checkbox-list",Bp=[],_p={},ir={layout:"vertical"},Je=e=>{let{layout:t=ir.layout,...o}=e;return Kp("ul",{...o,className:n(e.className,rr,{[`k-list-${t}`]:t}),children:e.children})};Je.states=Bp;Je.options=_p;Je.className=rr;Je.defaultOptions=ir;Je.moduleName=pt;Je.folderName=yt;import{jsx as wp}from"react/jsx-runtime";var lr="k-checkbox-list-item",Rp=[],Pp={},Dp={},We=e=>{let{...t}=e;return wp("li",{...t,className:n(e.className,lr),children:e.children})};We.states=Rp;We.options=Pp;We.className=lr;We.defaultOptions=Dp;We.moduleName=pt;We.folderName=yt;import{Fragment as ML,jsx as LL,jsxs as vL}from"react/jsx-runtime";import{Fragment as AL,jsx as kL,jsxs as CL}from"react/jsx-runtime";import{Fragment as BL,jsx as IL,jsxs as _L}from"react/jsx-runtime";import{Fragment as wL,jsx as DL,jsxs as HL}from"react/jsx-runtime";import{jsx as FL}from"react/jsx-runtime";import{jsx as JL}from"react/jsx-runtime";import{jsx as Fo,jsxs as Gp}from"react/jsx-runtime";var $n="k-list-item",Hp=[a.hover,a.focus,a.selected,a.disabled],zp={},Up={},T=e=>{let{text:t,groupLabel:o,group:s,showIcon:r,iconName:p,showCheckbox:l,checked:c,hover:u,focus:N,selected:h,disabled:S,...d}=e,M=t||e.children;return Gp("li",{...d,className:n(e.className,s?"k-list-group-item":$n,g($n,{hover:u,focus:N,disabled:S,selected:h})),children:[l&&Fo(Se,{checked:c}),r&&Fo(v,{icon:p}),Fo("span",{className:"k-list-item-text",children:M}),o&&o!==""&&Fo("div",{className:"k-list-item-group-label",children:o})]})};T.states=Hp;T.options=zp;T.className=$n;T.defaultOptions=Up;T.moduleName=ye;T.folderName=Ve;import{jsx as Xn,jsxs as $p}from"react/jsx-runtime";var Fp="k-list-content",Tt=e=>{let{virtualization:t,...o}=e;return $p("div",{...o,className:n(Fp,e.className),children:[Xn("ul",{className:n("k-list-ul"),children:e.children}),t&&Xn("div",{className:"k-height-container",children:Xn("div",{})})]})};import{jsx as pr}from"react/jsx-runtime";var Xp="k-list-group-sticky-header",mr=e=>pr("div",{className:n(Xp,e.className),children:pr("div",{className:"k-list-header-text",children:e.children})});import{Fragment as Vp,jsx as cr,jsxs as Jp}from"react/jsx-runtime";var z=e=>{let{virtualization:t,label:o}=e;return Jp(Vp,{children:[o&&cr(mr,{children:o}),e.children&&cr(Tt,{virtualization:t,children:e.children})]})};import{jsx as dr}from"react/jsx-runtime";var Wp="k-list-group-item",ar=e=>dr("li",{className:n(Wp,e.className),children:dr("span",{className:"k-list-item-text",children:e.children})});import{jsx as Qp}from"react/jsx-runtime";var Vn="k-list-optionlabel",qp=[a.hover,a.focus,a.selected,a.disabled],Zp={},Yp={},$o=e=>{let{text:t,hover:o,focus:s,selected:r,disabled:p,...l}=e;return Qp("div",{...l,className:n(Vn,g(Vn,{hover:o,focus:s,selected:r,disabled:p})),children:t})};$o.states=qp;$o.options=Zp;$o.className=Vn;$o.defaultOptions=Yp;import{jsx as om}from"react/jsx-runtime";var Jn="k-list-custom-value",jp=[a.hover,a.focus,a.selected,a.disabled],em={},tm={},qe=e=>{let{text:t,hover:o,focus:s,selected:r,disabled:p,...l}=e;return om("div",{...l,className:n(Jn,g(Jn,{hover:o,focus:s,selected:r,disabled:p})),children:t})};qe.states=jp;qe.options=em;qe.className=Jn;qe.defaultOptions=tm;import{jsx as IM}from"react/jsx-runtime";import{jsx as RM}from"react/jsx-runtime";import{jsx as HM,jsxs as zM}from"react/jsx-runtime";import{jsx as $M,jsxs as XM}from"react/jsx-runtime";import{jsx as qM}from"react/jsx-runtime";import{jsx as jM,jsxs as ev}from"react/jsx-runtime";import{jsx as av,jsxs as sv}from"react/jsx-runtime";var ur="dropdown-list",fr="dropdownlist";import{Fragment as sm,jsx as $,jsxs as Wn}from"react/jsx-runtime";var br="k-dropdownlist",nm=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],am={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},It={showValue:!0,arrowIconName:"caret-alt-down",size:i.medium,rounded:x.medium,fillMode:b.solid},Ee=e=>{let{size:t=It.size,rounded:o=It.rounded,fillMode:s=It.fillMode,arrowIconName:r=It.arrowIconName,showValue:p=It.showValue,valueIconName:l,prefix:c,suffix:u,value:N,placeholder:h,hover:S,focus:d,valid:M,invalid:L,required:E,loading:C,disabled:A,readonly:B,popup:H,opened:Le,adaptive:Wt,adaptiveSettings:qt,adaptiveTitle:sn,adaptiveSubtitle:rn,adaptiveFilter:Ii,...Bi}=e;return Wn(sm,{children:[Wn(X,{...Bi,size:t,rounded:o,fillMode:s,hover:S,focus:d,valid:M,invalid:L,required:E,loading:C,disabled:A,readonly:B,className:n(e.className,br,{"k-icon-picker":!p&&l}),children:[$(j,{children:c}),$(st,{placeholder:h,value:N,showValue:p,valueIconName:l}),$(V,{valid:M,invalid:L,loading:C,disabled:A}),$(Q,{loading:C,disabled:A}),$(ee,{children:u}),$(f,{className:"k-input-button",icon:r,rounded:null,size:e.size,fillMode:e.fillMode})]}),Le&&H&&$(D,{className:"k-list-container k-dropdownlist-popup",children:H}),Wt&&$(W,{adaptive:!0,...qt,header:$(oe,{actionsEnd:$(f,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Ii,inputValue:N,inputPlaceholder:h,title:sn,subtitle:rn}),children:$("div",{className:"k-list-container",children:Wn(_,{size:"large",children:[$(T,{text:"List item"}),$(T,{text:"List item"}),$(T,{text:"List item"})]})})})]})};Ee.states=nm;Ee.options=am;Ee.className=br;Ee.defaultOptions=It;Ee.moduleName=ur;Ee.folderName=fr;import{jsx as wv}from"react/jsx-runtime";import{jsx as Fv,jsxs as $v}from"react/jsx-runtime";import{Fragment as Qv,jsx as Zv,jsxs as Yv}from"react/jsx-runtime";import{jsx as oS}from"react/jsx-runtime";import{jsx as iS,jsxs as lS}from"react/jsx-runtime";import{jsx as uS,jsxs as fS}from"react/jsx-runtime";import{Fragment as SS,jsx as MS,jsxs as vS}from"react/jsx-runtime";import{Fragment as yS,jsx as TS,jsxs as OS}from"react/jsx-runtime";import{Fragment as VS,jsx as XS}from"react/jsx-runtime";import{Fragment as jS,jsx as QS}from"react/jsx-runtime";import{Fragment as co,jsx as O,jsxs as P}from"react/jsx-runtime";var Nr="k-colorgradient-inputs",rm=[],im={size:[i.small,i.medium,i.large]},xr={mode:"rgba",size:i.medium},Bt=e=>{let{mode:t=xr.mode,size:o,...s}=e;return P("div",{...s,className:n(Nr,"k-hstack"),children:[O("div",{className:"k-vstack",children:O(f,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),t==="rgba"&&P(co,{children:[P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),O("label",{className:"k-colorgradient-input-label",children:"R"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),O("label",{className:"k-colorgradient-input-label",children:"G"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),O("label",{className:"k-colorgradient-input-label",children:"B"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),O("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&P(co,{children:[P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"R"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"G"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&P(co,{children:[P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"H"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"S"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"V"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),O("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&P(co,{children:[P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"H"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"S"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&O(co,{children:P("div",{className:"k-vstack k-flex-1",children:[O(ve,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),O("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Bt.states=rm;Bt.options=im;Bt.className=Nr;Bt.defaultOptions=xr;import{jsx as ct,jsxs as dt}from"react/jsx-runtime";var hr="k-colorgradient-color-contrast",lm=[],pm={},mm={},_t=()=>dt("div",{className:n(hr,"k-vbox"),children:[dt("div",{className:"k-contrast-ratio",children:[ct("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),dt("span",{className:"k-contrast-validation !k-text-success",children:[ct(v,{icon:"check"}),ct(v,{icon:"check"})]})]}),dt("div",{children:[ct("span",{children:"AA: 4.5"}),dt("span",{className:"k-contrast-validation !k-text-success",children:["Pass",ct(v,{icon:"check"})]})]}),dt("div",{children:[ct("span",{children:"AAA: 7.0"}),dt("span",{className:"k-contrast-validation !k-text-error",children:["Fail",ct(v,{icon:"x"})]})]})]});_t.states=lm;_t.options=pm;_t.className=hr;_t.defaultOptions=mm;var Lr="color-gradient",Mr="colorgradient";import{jsx as ne,jsxs as uo}from"react/jsx-runtime";var Xo="k-colorgradient",cm=[a.hover,a.focus,a.readonly,a.disabled],dm={size:[i.small,i.medium,i.large]},ue={size:i.medium,mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},ge=e=>{let{size:t=ue.size,mode:o=ue.mode,readonly:s=ue.readonly,disabled:r=ue.disabled,gradientStyle:p=ue.gradientStyle,dragHandleStyle:l=ue.dragHandleStyle,alphaStyle:c=ue.alphaStyle,alphaStyleHorizontal:u=ue.alphaStyleHorizontal,contrast:N=ue.contrast,dir:h,hover:S,focus:d,hoverHandle:M,focusHandle:L,canvasOrientation:E=ue.canvasOrientation,...C}=e;return uo("div",{...C,className:n(e.className,Xo,k(Xo,{size:t}),g(Xo,{hover:S,focus:d,readonly:s,disabled:r})),dir:h,children:[!E||E==="horizontal"&&uo("div",{className:"k-colorgradient-canvas k-hstack",children:[ne("div",{className:"k-hsv-rectangle",style:p,children:ne("div",{className:"k-hsv-gradient",children:ne("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":L}),style:l})})}),uo("div",{className:"k-hsv-controls k-hstack",children:[ne(Dn,{className:"k-hue-slider",hover:M,focus:L}),o!=="rgb"&&o!=="hsv"&&ne(Dn,{className:"k-alpha-slider",hover:M,focus:L,trackStyle:c})]})]}),E==="vertical"&&uo("div",{className:"k-colorgradient-canvas k-vstack",children:[ne("div",{className:"k-hsv-rectangle",style:p,children:ne("div",{className:"k-hsv-gradient",children:ne("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":L}),style:l})})}),uo("div",{className:"k-hsv-controls k-vstack",children:[ne(Pn,{className:"k-hue-slider",hover:M,focus:L}),o!=="rgb"&&o!=="hsv"&&ne(Pn,{className:"k-alpha-slider",hover:M,focus:L,trackStyle:u})]})]}),ne(Bt,{mode:e.mode,size:t}),N&&ne(_t,{})]})};ge.states=cm;ge.options=dm;ge.className=Xo;ge.defaultOptions=ue;ge.moduleName=Lr;ge.folderName=Mr;import{jsx as AE}from"react/jsx-runtime";import{jsx as yE}from"react/jsx-runtime";import{jsx as um}from"react/jsx-runtime";var vr=e=>um("tr",{children:e.children});import{jsx as Nm}from"react/jsx-runtime";var qn="k-colorpalette-tile",fm=[a.hover,a.focus,a.selected],bm={},fo=e=>{let{color:t,tileSize:o,hover:s,focus:r,selected:p,...l}=e,c={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return Nm("td",{...l,className:n(e.className,qn,g(qn,{hover:s,focus:r,selected:p})),style:c})};fo.states=fm;fo.options=bm;fo.className=qn;var Sr="color-palette",Er="colorpalette";import{jsx as bo}from"react/jsx-runtime";var Vo="k-colorpalette",xm=[a.disabled],hm={size:[i.small,i.medium,i.large]},Zn={columns:10,size:i.medium},Ze=e=>{let{size:t=Zn.size,palette:o,columns:s=Zn.columns,tileSize:r,disabled:p,...l}=e,c=[];if(o){let u=s||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/u)},(h,S)=>{let d=[];N.slice(S*u,(S+1)*u).map((L,E)=>{d.push(bo(fo,{color:L,tileSize:r},E))});let M=bo(vr,{children:d},S);c.push(M)})}return bo("div",{...l,className:n(e.className,Vo,g(Vo,{disabled:p}),k(Vo,{size:t})),children:bo("table",{className:"k-colorpalette-table",children:bo("tbody",{children:c.length>0?c:e.children})})})};Ze.states=xm;Ze.options=hm;Ze.className=Vo;Ze.defaultOptions=Zn;Ze.moduleName=Sr;Ze.folderName=Er;var Yn={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 tg}from"react/jsx-runtime";var gr="color-editor",kr="coloreditor";import{jsx as ae,jsxs as Kt}from"react/jsx-runtime";var Jo="k-coloreditor",Lm=[a.focus],Mm={size:[i.small,i.medium,i.large]},Rt={size:i.medium,view:"gradient",palette:Yn.office,actionButtons:!0,canvasOrientation:"horizontal"},se=e=>{let{size:t=Rt.size,view:o=Rt.view,palette:s=Rt.palette,color:r,currentColor:p,focus:l,focusView:c,dir:u,group:N,actionButtons:h=Rt.actionButtons,canvasOrientation:S=Rt.canvasOrientation,...d}=e;return Kt("div",{...d,className:n(e.className,"k-flatcolorpicker",Jo,k(Jo,{size:t}),g(Jo,{focus:l})),dir:u,children:[Kt("div",{className:"k-coloreditor-header k-hstack",children:[ae("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&Kt(K,{fillMode:"flat",children:[ae(f,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),ae(f,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),ae("div",{className:"k-spacer"}),Kt("div",{className:"k-coloreditor-header-actions k-hstack",children:[ae(f,{fillMode:"flat",icon:"droplet-slash",size:t}),Kt("div",{className:"k-coloreditor-preview k-vstack",children:[ae(ze,{className:"k-coloreditor-preview-color",color:r}),ae(ze,{className:"k-coloreditor-current-color",color:p})]})]})]}),ae("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?ae(ge,{focus:c,size:t,canvasOrientation:S}):ae(Ze,{palette:s,size:t})}),h&&Kt(J,{className:"k-coloreditor-footer",alignment:"start",children:[ae(f,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),ae(f,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};se.states=Lm;se.options=Mm;se.className=Jo;se.defaultOptions=Rt;se.moduleName=gr;se.folderName=kr;import{jsx as Sg}from"react/jsx-runtime";import{jsx as Ag}from"react/jsx-runtime";import{jsx as yg}from"react/jsx-runtime";import{jsx as Kg}from"react/jsx-runtime";var Ar="color-picker",Cr="colorpicker";import{Fragment as Em,jsx as re,jsxs as jn}from"react/jsx-runtime";var Tr="k-colorpicker",vm=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled],Sm={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},No={arrowIconName:"caret-alt-down",size:X.defaultOptions.size,rounded:X.defaultOptions.rounded,fillMode:X.defaultOptions.fillMode},fe=e=>{let{size:t=No.size,rounded:o=No.rounded,fillMode:s=No.fillMode,arrowIconName:r=No.arrowIconName,prefix:p,suffix:l,value:c,placeholder:u,hover:N,focus:h,valid:S,invalid:d,required:M,disabled:L,valueIconName:E,popup:C,opened:A,adaptive:B,adaptiveSettings:H,adaptiveTitle:Le,adaptiveSubtitle:Wt,...qt}=e;return jn(Em,{children:[jn(X,{...qt,size:t,rounded:o,fillMode:s,hover:N,focus:h,valid:S,invalid:d,required:M,disabled:L,className:n(e.classNam