@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 67 kB
JavaScript
var s=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?s(...t):typeof t=="object"?Object.keys(t).map((o,r)=>t[r]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var k=(e,t)=>s({[`${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:r,hover:m,focus:l,checked:i,active:d,selected:f,disabled:N,indeterminate:x,loading:S,empty:p,readonly:h,highlighted:M,...v}=t;return s({"k-valid":o,"k-invalid":r,"k-hover":m,"k-focus":l,"k-checked":i,"k-active":d,"k-selected":f,"k-disabled":N,"k-indeterminate":x&&!i,"k-loading":S,"k-empty":p,"k-readonly":h,"k-highlighted":M},Object.keys(v).reduce((A,I)=>(I.startsWith("k-")?A[I]=v[I]:A[`k-${I}`]=v[I],A),{}))};function Sn(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(r=>[`k-${r}`,!0]))}var a={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},b={small:"small",medium:"medium",large:"large",full:"full"},u={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},c={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},n={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 La,jsx as vn}from"react/jsx-runtime";var io="k-font-icon",fa=[],ba={size:[a.xsmall,a.small,a.medium,a.large,a.xlarge,a.xxlarge,a.xxxlarge],themeColor:[c.base,c.primary,c.secondary,c.tertiary,c.success,c.warning,c.error,c.info,c.light,c.dark]},Na={},Lt=e=>{let{size:t,themeColor:o,icon:r,rotate:m,flip:l,...i}=e;return r?vn("span",{...i,className:s(e.className,io,k(io,{size:t}),{[`k-i-${r}`]:r,[`k-color-${o}`]:o,[`k-rotate-${m}`]:m,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"})}):vn(La,{})};Lt.states=fa;Lt.options=ba;Lt.className=io;Lt.defaultOptions=Na;var En=Lt;import{Fragment as ha,jsx as Ht}from"react/jsx-runtime";var lo="k-svg-icon",xa=[],Ma={size:[a.xsmall,a.small,a.medium,a.large,a.xlarge,a.xxlarge,a.xxxlarge],themeColor:[c.base,c.primary,c.secondary,c.tertiary,c.success,c.warning,c.error,c.info,c.light,c.dark]},kn={viewBox:"0 0 24 24"},xt=e=>{let{size:t,themeColor:o,rotate:r,flip:m,viewBox:l=kn.viewBox,icon:i,...d}=e;if(!i)return Ht(ha,{});i==="none"&&{...d,className:s(e.className,lo,"k-none")};let f=typeof i=="object"&&i.name&&i.name;return Ht("span",{...d,className:s(e.className,lo,k("k-icon",{size:t}),{[`k-svg-i-${f}`]:f,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":m==="h"||m==="both","k-flip-v":m==="v"||m==="both"}),children:Ht("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof i=="object"?i.viewBox:l,dangerouslySetInnerHTML:typeof i=="object"?{__html:i.content}:void 0,children:i?void 0:e.children})})};xt.states=xa;xt.options=Ma;xt.className=lo;xt.defaultOptions=kn;var po=xt;import*as mo from"@progress/kendo-svg-icons";var Cn="icon",In="icons";import{Fragment as An,jsx as Mt}from"react/jsx-runtime";var Dt="k-icon",Sa=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),va=[],Ea={size:[a.xsmall,a.small,a.medium,a.large,a.xlarge,a.xxlarge,a.xxxlarge],themeColor:[c.base,c.primary,c.secondary,c.tertiary,c.success,c.warning,c.error,c.info,c.light,c.dark]},co={viewBox:"0 0 24 24",type:"svg"},E=e=>{let{size:t,themeColor:o,icon:r,type:m=co.type,rotate:l,flip:i,viewBox:d=co.viewBox,...f}=e;if(!r)return Mt(An,{});if(m==="svg"){if(r==="none")return Mt(po,{...f,className:s(e.className,Dt),icon:r,size:t});let N=mo[r]?r:Sa(`${r}-icon`);return mo[N]?Mt(po,{...f,className:s(e.className,Dt),icon:mo[N],size:t,themeColor:o,rotate:l,flip:i,viewBox:d}):Mt(An,{})}return Mt(En,{...f,className:s(e.className,Dt),icon:r,size:t,themeColor:o,rotate:l,flip:i})};E.states=va;E.options=Ea;E.defaultOptions=co;E.className=Dt;E.moduleName=Cn;E.folderName=In;var uo="button",gn=uo;import{Fragment as Aa,jsx as ht,jsxs as Tn}from"react/jsx-runtime";var St="k-button",ka=["icon-button"],Ca=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],Ia={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[u.solid,u.flat,u.outline,u.clear,u.link],themeColor:[c.base,c.primary,c.secondary,c.tertiary,c.success,c.warning,c.error,c.info,c.light,c.dark,c.inverse]},De={size:a.medium,rounded:b.medium,fillMode:u.solid,themeColor:c.base,showArrow:!1,arrowIconName:"caret-alt-down"},L=e=>{let{size:t=De.size,rounded:o=De.rounded,fillMode:r=De.fillMode,themeColor:m=De.themeColor,showArrow:l=De.showArrow,arrowIconName:i=De.arrowIconName,variant:d,hover:f,focus:N,active:x,selected:S,disabled:p,icon:h,text:M,iconClassName:v,...A}=e,I=h!==void 0,K=e.children!==void 0;return Tn("button",{...A,className:s(e.className,St,Sn(St,d),k(St,{size:t,rounded:o,fillMode:r,themeColor:m}),g(St,{hover:f,focus:N,active:x,disabled:p,selected:S}),{"k-icon-button":!M&&!K&&I}),children:[h&&ht(E,{className:s(v,"k-button-icon"),icon:h}),M?Tn(Aa,{children:[M&&ht("span",{className:"k-button-text",children:M}),e.children]}):e.children&&ht("span",{className:"k-button-text",children:e.children}),l&&ht("span",{className:"k-menu-button-arrow k-button-arrow",children:ht(E,{icon:i})})]})};L.states=Ca;L.options=Ia;L.variants=ka;L.className=St;L.defaultOptions=De;L.moduleName=uo;L.folderName=gn;import{jsx as ga}from"react/jsx-runtime";var Ut=e=>ga(L,{icon:"folder",...e,children:void 0});import{jsx as Ta}from"react/jsx-runtime";var fo=e=>Ta(L,{icon:"folder",children:"Button",...e});import{jsx as hp}from"react/jsx-runtime";var bo="button",On=bo;import{jsx as Ka}from"react/jsx-runtime";var vt="k-button-group",Oa=[n.disabled],ya={fillMode:[u.solid,u.flat,u.outline,u.clear,u.link]},yn={fillMode:u.solid},P=e=>{let{fillMode:t=yn.fillMode,disabled:o,stretched:r,...m}=e;return Ka("div",{...m,className:s(e.className,vt,k(vt,{fillMode:t}),g(vt,{disabled:o}),{[`${vt}-stretched`]:r}),children:e.children})};P.states=Oa;P.options=ya;P.className=vt;P.defaultOptions=yn;P.moduleName=bo;P.folderName=On;import{Fragment as Bp,jsx as Pp,jsxs as wp}from"react/jsx-runtime";import{Fragment as Fp,jsx as Gp,jsxs as $p}from"react/jsx-runtime";import{Fragment as Qp,jsx as Wp,jsxs as Yp}from"react/jsx-runtime";import{Fragment as nm,jsx as om,jsxs as sm}from"react/jsx-runtime";var Et="input",Gt=Et;import{jsx as Pa}from"react/jsx-runtime";var Ft="k-input",Ra=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],_a={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[u.solid,u.flat,u.outline]},$t={size:a.medium,rounded:a.medium,fillMode:u.solid},y=e=>{let{hover:t,focus:o,disabled:r,invalid:m,valid:l,loading:i,readonly:d,size:f=$t.size,rounded:N=$t.rounded,fillMode:x=$t.fillMode,...S}=e;return Pa("span",{...S,className:s(e.className,Ft,k(Ft,{size:f,rounded:N,fillMode:x}),g(Ft,{hover:t,focus:o,disabled:r,invalid:m,valid:l,loading:i,readonly:d}))})};y.states=Ra;y.options=_a;y.className=Ft;y.defaultOptions=$t;y.moduleName=Et;y.folderName=Gt;import{jsx as za}from"react/jsx-runtime";var Xt="k-picker",Ba=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],wa={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[u.solid,u.flat,u.outline]},Vt={size:a.medium,rounded:b.medium,fillMode:u.solid},$=e=>{let{hover:t,focus:o,disabled:r,invalid:m,valid:l,loading:i,readonly:d,size:f=Vt.size,rounded:N=Vt.rounded,fillMode:x=Vt.fillMode,...S}=e;return za("span",{...S,className:s(e.className,Xt,k(Xt,{size:f,rounded:N,fillMode:x}),g(Xt,{hover:t,focus:o,disabled:r,invalid:m,valid:l,loading:i,readonly:d})),children:e.children})};$.states=Ba;$.options=wa;$.className=Xt;$.defaultOptions=Vt;$.moduleName=Et;$.folderName=Gt;import{Fragment as Ua,jsx as No}from"react/jsx-runtime";var Kn="k-clear-value",Ha=[n.disabled,n.loading,n.readonly],Da={},se=e=>{let{disabled:t,loading:o,readonly:r,value:m}=e;return t||r||o||!m?No(Ua,{}):No("span",{className:s(e.className,Kn),children:No(E,{icon:"x"})})};se.states=Ha;se.options=Da;se.className=Kn;import{jsx as $a}from"react/jsx-runtime";var Lo="k-input-inner",Ga=[],Fa={},Jt={type:"text",autocomplete:"off",value:"",placeholder:""},ae=e=>{let{value:t=Jt.value,type:o=Jt.type,placeholder:r=Jt.placeholder,autocomplete:m=Jt.autocomplete,...l}=e;return $a("input",{...l,type:o,className:s(e.className,Lo,k(Lo,e)),placeholder:r,autoComplete:m,defaultValue:t})};ae.states=Ga;ae.options=Fa;ae.className=Lo;import{jsx as Rn,jsxs as Ja}from"react/jsx-runtime";var xo="k-input-inner",Xa=[],Va={},Ue=e=>{let{value:t,placeholder:o,showValue:r,valueIcon:m,valueIconName:l,...i}=e;return Ja("span",{...i,className:s(e.className,xo,k(xo,e)),children:[m,!m&&l&&Rn(E,{className:"k-input-value-icon",icon:l}),r&&!t&&o,r&&t&&Rn("span",{className:"k-input-value-text",children:t})]})};Ue.states=Xa;Ue.options=Va;Ue.className=xo;import{jsx as Qa}from"react/jsx-runtime";var Mo="k-input-inner",qa=[],Wa={},_n={value:"",placeholder:""},ho=e=>{let{value:t=_n.value,placeholder:o=_n.placeholder,rows:r,...m}=e;return Qa("textarea",{...m,className:s(e.className,Mo,k(Mo,e)),placeholder:o,rows:r,defaultValue:t})};ho.states=qa;ho.options=Wa;ho.className=Mo;import{Fragment as Za,jsx as Pn}from"react/jsx-runtime";var Bn="k-input-loading-icon",Ya=[n.disabled,n.loading],W=e=>{let{disabled:t,loading:o}=e;return t||!o?Pn(Za,{}):Pn("span",{className:s(e.className,Bn,"k-icon k-i-loading")})};W.states=Ya;W.className=Bn;import{Fragment as tr,jsx as wn}from"react/jsx-runtime";var zn="k-input-validation-icon",ja=[n.valid,n.invalid,n.disabled,n.loading],er={},X=e=>{let{valid:t,invalid:o,disabled:r,loading:m}=e,l=o?"warning-circle":"check-circle";return r||m||!!!(t||o)?wn(tr,{}):wn(E,{className:s(zn),icon:l})};X.states=ja;X.options=er;X.className=zn;import{Fragment as sr,jsx as Hn}from"react/jsx-runtime";var or="k-input-prefix",nr={direction:"horizontal"},ce=e=>{let{direction:t=nr.direction,...o}=e;return e.children?Hn("span",{...o,className:s(or,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Hn(sr,{})};import{Fragment as ir,jsx as Dn}from"react/jsx-runtime";var ar="k-input-suffix",rr={direction:"horizontal"},de=e=>{let{direction:t=rr.direction,...o}=e;return e.children?Dn("span",{...o,className:s(ar,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Dn(ir,{})};import{jsx as Qm}from"react/jsx-runtime";import{jsx as ec}from"react/jsx-runtime";import{jsx as pr}from"react/jsx-runtime";var Un="k-input-separator",lr={direction:"vertical"},Me=e=>{let{direction:t=lr.direction,...o}=e;return pr("span",{...o,className:s(Un,e.className,{[`${Un}-${t}`]:t})})};import{jsx as Gn,jsxs as dr}from"react/jsx-runtime";var Fn="k-color-preview",mr=[],cr={},Ae=e=>{let{color:t,iconName:o,...r}=e;return dr("span",{...r,className:s(e.className,Fn,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&Gn(E,{icon:o,className:"k-color-preview-icon"}),Gn("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ae.states=mr;Ae.options=cr;Ae.className=Fn;var So="popup",$n=So;import{jsx as Xn}from"react/jsx-runtime";var Vn="k-animation-container",ur=[],fr={},Jn={positionMode:"absolute"},ue=e=>{let{positionMode:t=Jn.positionMode,animationStyle:o,offset:r,...m}=e;return Xn("div",{...m,style:{...r,...e.style},className:s(e.className,Vn,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:Xn("div",{className:"k-child-animation-container",style:o,children:e.children})})};ue.states=ur;ue.options=fr;ue.className=Vn;ue.defaultOptions=Jn;ue.moduleName=So;ue.folderName=$n;var vo="popup",qn=vo;import{jsx as Wn}from"react/jsx-runtime";var Qn="k-popup",br=[],Nr={},Yn={positionMode:"absolute"},z=e=>{let{offset:t,positionMode:o=Yn.positionMode,animationStyle:r,...m}=e;return Wn(ue,{positionMode:o,offset:t,animationStyle:r,children:Wn("div",{...m,className:s(e.className,Qn),children:e.children})})};z.states=br;z.options=Nr;z.className=Qn;z.defaultOptions=Yn;z.moduleName=vo;z.folderName=qn;var Eo="action-buttons",Zn=Eo;import{jsx as Mr}from"react/jsx-runtime";var qt="k-actions",Lr=[],xr={},ko={alignment:"start",orientation:"horizontal"},fe=e=>{let{alignment:t=ko.alignment,orientation:o=ko.orientation,...r}=e;return Mr("div",{...r,className:s(qt,{[`${qt}-${t}`]:t,[`${qt}-${o}`]:o},e.className),children:e.children})};fe.states=Lr;fe.options=xr;fe.className=qt;fe.defaultOptions=ko;fe.moduleName=Eo;fe.folderName=Zn;import{jsx as Sr}from"react/jsx-runtime";var hr="k-actionsheet-footer",jn={alignment:"stretched",orientation:"horizontal"},kt=e=>{let{alignment:t=jn.alignment,orientation:o=jn.orientation,template:r,as:m=r?"div":fe,...l}=e;return Sr(m,{...l,...!r&&{alignment:t,orientation:o},className:s(e.className,hr),children:e.children})};var Co="searchbox",es=Co;import{jsx as Ct,jsxs as kr}from"react/jsx-runtime";var ts="k-searchbox",vr=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],Er={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[u.solid,u.flat,u.outline]},Io={showIcon:!0,icon:"search",size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode},re=e=>{let{value:t,placeholder:o,size:r,rounded:m,fillMode:l,hover:i,focus:d,valid:f,invalid:N,required:x,loading:S,disabled:p,showIcon:h=Io.showIcon,icon:M=Io.icon,...v}=e;return kr(y,{...v,size:r,rounded:m,fillMode:l,hover:i,focus:d,valid:f,invalid:N,required:x,loading:S,disabled:p,className:s(e.className,ts),children:[h&&Ct(E,{className:"k-input-icon",icon:M}),Ct(ae,{placeholder:o,value:t}),Ct(W,{...e}),Ct(X,{...e}),Ct(se,{...e})]})};re.states=vr;re.options=Er;re.className=ts;re.defaultOptions=Io;re.moduleName=Co;re.folderName=es;import{jsx as id}from"react/jsx-runtime";var Ao="textbox",os=Ao;import{Fragment as ns,jsx as ge,jsxs as go}from"react/jsx-runtime";var ss="k-textbox",Cr=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Ir={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[u.solid,u.flat,u.outline]},Ge={showClearButton:!0,showValidationIcon:!0,size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode,separators:!0},be=e=>{let{size:t=Ge.size,rounded:o=Ge.rounded,fillMode:r=Ge.fillMode,separators:m=Ge.separators,showClearButton:l=Ge.showClearButton,showValidationIcon:i=Ge.showValidationIcon,prefix:d,suffix:f,type:N,value:x,placeholder:S,hover:p,focus:h,valid:M,invalid:v,required:A,loading:I,disabled:K,readonly:D,...Ie}=e;return go(y,{...Ie,size:t,rounded:o,fillMode:r,hover:p,focus:h,valid:M,invalid:v,required:A,loading:I,disabled:K,readonly:D,className:s(e.className,ss),children:[d&&go(ns,{children:[ge(ce,{children:d}),m&&ge(Me,{})]}),ge(ae,{placeholder:S,value:x,type:N}),i&&ge(X,{valid:M,invalid:v,loading:I,disabled:K}),ge(W,{loading:I,disabled:K}),l&&ge(se,{loading:I,disabled:K,readonly:D,value:x}),f&&go(ns,{children:[m&&ge(Me,{}),ge(de,{children:f})]})]})};be.states=Cr;be.options=Ir;be.className=ss;be.defaultOptions=Ge;be.moduleName=Ao;be.folderName=os;import{jsx as hd}from"react/jsx-runtime";import{Fragment as Id,jsx as Cd}from"react/jsx-runtime";import{Fragment as Rd,jsx as Kd}from"react/jsx-runtime";import{jsx as Te,jsxs as To}from"react/jsx-runtime";var rs="k-actionsheet-titlebar",Ar={},Q=e=>{let{title:t,subtitle:o,actionsStart:r,actionsEnd:m,filter:l,input:i,inputValue:d,inputPlaceholder:f,adaptive:N,children:x,...S}=e;return To("div",{...S,className:s(e.className,rs),children:[To("div",{className:"k-actionsheet-titlebar-group",children:[r&&Te("div",{className:"k-actionsheet-actions",children:r}),!x&&To("div",{className:"k-actionsheet-title",children:[t&&Te("div",{className:"k-text-center",children:t}),o&&Te("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),x&&Te("div",{className:"k-actionsheet-title",children:x}),m&&Te("div",{className:"k-actionsheet-actions",children:m})]}),(i||l)&&Te("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:i?Te(be,{value:d,placeholder:f,size:N?"large":"medium"}):Te(re,{placeholder:"Filter",size:N?"large":"medium"})})]})};Q.className=rs;Q.defaultOptions=Ar;import{jsx as Oo,jsxs as yr}from"react/jsx-runtime";var yo="k-actionsheet-view",gr=[],Tr={},Or={},je=e=>{let{adaptive:t,animated:o,children:r,header:m,footer:l,...i}=e,d=m?.type===Q&&Oo(Q,{adaptive:t,...m?.props}),f=l?.type===kt&&Oo(kt,{...l?.props});return yr("div",{...i,className:s(e.className,yo,{[`${yo}-animated`]:o}),children:[d,Oo("div",{className:"k-actionsheet-content",children:r}),f]})};je.states=gr;je.options=Tr;je.className=yo;je.defaultOptions=Or;var It="action-sheet",Wt=It;import{jsx as Qt,jsxs as _r}from"react/jsx-runtime";var is="k-actionsheet",Kr=[],Rr={},At={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},V=e=>{let{side:t=At.side,fullscreen:o=At.fullscreen,adaptive:r=At.adaptive,overlay:m=At.overlay,template:l,children:i,header:d,footer:f,...N}=e;return _r("div",{className:"k-actionsheet-container",children:[m&&Qt("div",{className:"k-overlay"}),Qt(ue,{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:Qt("div",{...N,className:s(e.className,is,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":r}),children:l||Qt(je,{header:d,footer:f,adaptive:r,...e,children:i})})})]})};V.states=Kr;V.options=Rr;V.className=is;V.defaultOptions=At;V.moduleName=It;V.folderName=Wt;import{jsx as zr}from"react/jsx-runtime";var ls="k-actionsheet-container",Pr=[],Br={},wr={},et=e=>{let{children:t,...o}=e;return zr("div",{...o,className:ls,children:t})};et.states=Pr;et.options=Br;et.className=ls;et.defaultOptions=wr;et.moduleName=It;et.folderName=Wt;import{jsx as lu}from"react/jsx-runtime";import{Fragment as Dr,jsx as gt,jsxs as Ko}from"react/jsx-runtime";var Ro="k-actionsheet-item",Hr=[n.hover,n.focus,n.selected,n.disabled],_o=e=>{let{iconName:t,text:o,description:r,hover:m,focus:l,selected:i,disabled:d,...f}=e;return Ko("span",{...f,className:s(e.className,Ro,g(Ro,{hover:m,focus:l,selected:i,disabled:d})),children:[!e.children&>(Dr,{children:Ko("span",{className:"k-actionsheet-action",children:[t&>("span",{className:"k-icon-wrap",children:gt(E,{className:"k-actionsheet-item-icon",icon:t})}),Ko("span",{className:"k-actionsheet-item-text",children:[o&>("span",{className:"k-actionsheet-item-title",children:o}),r&>("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};_o.states=Hr;_o.className=Ro;import{jsx as Lu,jsxs as xu}from"react/jsx-runtime";import{jsx as vu}from"react/jsx-runtime";import{jsx as Iu}from"react/jsx-runtime";import{jsx as Ou}from"react/jsx-runtime";var Po="slider",ms=Po;import{jsx as tt,jsxs as Bo}from"react/jsx-runtime";var Tt="k-slider",Ur=[n.hover,n.focus,n.active,n.disabled,n.readonly],Gr={},Oe={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},U=e=>{let{type:t=Oe.type,orientation:o=Oe.orientation,readonly:r=Oe.readonly,disabled:m=Oe.disabled,handlePosition:l=Oe.handlePosition,showButtons:i=Oe.showButtons,showTicks:d=Oe.showTicks,hover:f,focus:N,active:x,trackStyle:S,dir:p,...h}=e,M,v;return o==="horizontal"?(M=p==="rtl"?"caret-alt-left":"caret-alt-right",v=p==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(M="caret-alt-up",v="caret-alt-down"),Bo("div",{...h,className:s(Tt,e.className,g(Tt,{readonly:r,disabled:m}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:p,children:[i&&tt(L,{className:"k-button-decrease",rounded:"full",icon:v}),Bo("div",{className:"k-slider-track-wrap",children:[d&&tt("ul",{className:"k-reset k-slider-items",children:e.children}),Bo("div",{className:"k-slider-track",style:S,children:[tt("div",{className:"k-slider-selection"}),t==="range"&&tt("span",{className:s("k-draghandle","k-draghandle-start",g(Tt,{hover:f,focus:N,active:x}))}),tt("span",{className:s("k-draghandle",`k-draghandle-${l}`,g(Tt,{hover:f,focus:N,active:x}))})]})]}),i&&tt(L,{className:"k-button-increase",rounded:"full",icon:M})]})};U.states=Ur;U.options=Gr;U.className=Tt;U.defaultOptions=Oe;U.moduleName=Po;U.folderName=ms;import{jsx as cs}from"react/jsx-runtime";var ds="k-tick",Fr=[],$r={},us={label:!1},ye=e=>{let{style:t,label:o=us.label,orientation:r,large:m,text:l,...i}=e;return cs("li",{...i,className:s(e.className,ds,{[`k-tick-${r}`]:r,"k-tick-large":m}),style:t,children:o&&cs("span",{className:"k-label",children:l})})};ye.states=Fr;ye.options=$r;ye.className=ds;ye.defaultOptions=us;import{Fragment as of,jsx as tf,jsxs as nf}from"react/jsx-runtime";import{Fragment as pf,jsx as lf,jsxs as mf}from"react/jsx-runtime";import{Fragment as bf,jsx as ff,jsxs as Nf}from"react/jsx-runtime";import{Fragment as Sf,jsx as hf,jsxs as vf}from"react/jsx-runtime";import{jsx as Xr}from"react/jsx-runtime";var wo=e=>Xr(U,{type:"gradient",showButtons:!1,showTicks:!1,...e});import{jsx as Vr}from"react/jsx-runtime";var zo=e=>Vr(U,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});import{jsx as fs,jsxs as Yr}from"react/jsx-runtime";var bs="k-spin-button",Wr=[],Qr={size:[a.small,a.medium,a.large],fillMode:[u.solid,u.flat,u.outline,u.clear,u.link]},Ho={size:a.medium,fillMode:u.solid},Ke=e=>{let{size:t=Ho.size,fillMode:o=Ho.fillMode,...r}=e;return Yr("span",{...r,className:s(bs,e.className),children:[fs(L,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),fs(L,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};Ke.states=Wr;Ke.options=Qr;Ke.className=bs;Ke.defaultOptions=Ho;Ke.moduleName=null;Ke.folderName=null;var Ns="numeric-textbox",Ls="numerictextbox";import{Fragment as xs,jsx as he,jsxs as Do}from"react/jsx-runtime";var Ms="k-numerictextbox",Zr=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],jr={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[u.solid,u.flat,u.outline]},Fe={showSpinButton:!0,showClearButton:!0,size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode,separators:!0},_=e=>{let{size:t=Fe.size,rounded:o=Fe.rounded,fillMode:r=Fe.fillMode,separators:m=Fe.separators,showClearButton:l=Fe.showClearButton,showSpinButton:i=Fe.showSpinButton,prefix:d,suffix:f,value:N,placeholder:x,hover:S,focus:p,valid:h,invalid:M,required:v,loading:A,disabled:I,readonly:K,...D}=e;return Do(y,{...D,size:t,rounded:o,fillMode:r,hover:S,focus:p,valid:h,invalid:M,required:v,loading:A,disabled:I,readonly:K,className:s(e.className,Ms),children:[d&&Do(xs,{children:[he(ce,{children:d}),m&&he(Me,{})]}),he(ae,{placeholder:x,value:N}),he(X,{valid:h,invalid:M,loading:A,disabled:I}),he(W,{loading:A,disabled:I}),l&&he(se,{loading:A,disabled:I,readonly:K,value:N}),f&&Do(xs,{children:[m&&he(Me,{}),he(de,{children:f})]}),i&&he(Ke,{className:"k-input-spinner",size:t,fillMode:r})]})};_.states=Zr;_.options=jr;_.className=Ms;_.defaultOptions=Fe;_.moduleName=Ns;_.folderName=Ls;import{jsx as ob}from"react/jsx-runtime";import{jsx as ti}from"react/jsx-runtime";var ei="k-no-data",Ot=e=>ti("span",{className:s(ei,e.className),children:e.children});var Se="list",Re=Se;import{jsx as ot,jsxs as Ss}from"react/jsx-runtime";var Uo="k-list",oi=[],ni={size:[a.small,a.medium,a.large]},vs={size:a.medium},R=e=>{let{size:t=vs.size,virtualization:o,children:r,optionLabel:m,customValue:l,screenReaders:i,...d}=e,f,N,x,S,p=[];return r?r.map((h,M)=>{h.type===H?(h.props.root===!0?(f=h.props.label,h.props.children.map((v,A)=>{p.push(ot(C,{...v.props},`optChild-${A}-${new Date().getTime()}`))})):h.props.children.forEach((v,A)=>{let I="";A===0&&(I=h.props.label),p.push(ot(C,{className:A===0?"k-first":"",...v.props,groupLabel:I},`groupLabel-${A}-${new Date().getTime()}`))}),N=ot(H,{label:f,virtualization:o,children:p})):h.type===C&&(p.push(ot(C,{...h.props},`${h.type}-${M}`)),x=ot(nt,{virtualization:o,children:p}),i&&(S=Ss(Ot,{className:"k-sr-only",children:[p.length," items found."]})))}):S=ot(Ot,{children:"No data found."}),Ss("div",{...d,className:s(e.className,Uo,k(Uo,{size:t}),{"k-virtual-list":o}),children:[m,l,N,x,S]})};R.states=oi;R.options=ni;R.className=Uo;R.defaultOptions=vs;R.moduleName=Se;R.folderName=Re;import{jsx as ii}from"react/jsx-runtime";var Es="k-list-container",si=[],ai={},ri={},st=e=>{let{...t}=e;return ii("div",{...t,className:s(e.className,Es),children:e.children})};st.states=si;st.options=ai;st.className=Es;st.defaultOptions=ri;st.moduleName=Se;st.folderName=Re;import{jsx as $e,jsxs as mi}from"react/jsx-runtime";var Go="k-list",li=[],pi={size:[a.small,a.medium,a.large]},ks={size:a.medium},ve=e=>{let{size:t=ks.size,virtualization:o,children:r,...m}=e,l,i,d,f=[];return r?r.map((N,x)=>{N.type===H?(N.props.root===!0?(l=N.props.label,N.props.children.map((S,p)=>{f.push($e(C,{...S.props},`optChild-${p}-${new Date().getTime()}`))})):(f.push($e(Cs,{...N.props,children:N.props.label},`listChild-${x}`)),N.props.children.map((S,p)=>{f.push($e(C,{...S.props},`fwOptChild-${p}-${new Date().getTime()}`))})),i=$e(H,{label:l,virtualization:o,children:f})):N.type===C&&(f.push($e(C,{...N.props},`${N.type}-${x}`)),d=$e(nt,{virtualization:o,children:f}))}):d=$e(Ot,{children:"No data found."}),mi("div",{...m,className:s(e.className,Go,k(Go,{size:t}),{"k-virtual-list":o}),children:[i,d]})};ve.states=li;ve.options=pi;ve.className=Go;ve.defaultOptions=ks;ve.moduleName=Se;ve.folderName=Re;var Xe="checkbox",at=Xe;import{jsx as Is}from"react/jsx-runtime";var Yt="k-checkbox",ci=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],di={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full]},Fo={size:a.medium,rounded:b.medium},Ne=e=>{let{id:t,checked:o,indeterminate:r,hover:m,focus:l,disabled:i,invalid:d,valid:f,required:N,size:x=Fo.size,rounded:S=Fo.rounded,...p}=e;return Is("span",{className:"k-checkbox-wrap",children:Is("input",{...p,id:t,type:"checkbox",defaultChecked:o,required:N,className:s(e.className,Yt,k(Yt,{size:x,rounded:S}),g(Yt,{hover:m,focus:l,disabled:i,invalid:d,valid:f,indeterminate:r,checked:o}))})})};Ne.states=ci;Ne.options=di;Ne.className=Yt;Ne.defaultOptions=Fo;Ne.moduleName=Xe;Ne.folderName=at;import{jsx as bi}from"react/jsx-runtime";var As="k-checkbox-list",ui=[],fi={},gs={layout:"vertical"},_e=e=>{let{layout:t=gs.layout,...o}=e;return bi("ul",{...o,className:s(e.className,As,{[`k-list-${t}`]:t}),children:e.children})};_e.states=ui;_e.options=fi;_e.className=As;_e.defaultOptions=gs;_e.moduleName=Xe;_e.folderName=at;import{jsx as Mi}from"react/jsx-runtime";var Ts="k-checkbox-list-item",Ni=[],Li={},xi={},Pe=e=>{let{...t}=e;return Mi("li",{...t,className:s(e.className,Ts),children:e.children})};Pe.states=Ni;Pe.options=Li;Pe.className=Ts;Pe.defaultOptions=xi;Pe.moduleName=Xe;Pe.folderName=at;import{Fragment as Gb,jsx as Ub,jsxs as Fb}from"react/jsx-runtime";import{Fragment as qb,jsx as Jb,jsxs as Wb}from"react/jsx-runtime";import{Fragment as eN,jsx as jb,jsxs as tN}from"react/jsx-runtime";import{Fragment as rN,jsx as aN,jsxs as iN}from"react/jsx-runtime";import{jsx as cN}from"react/jsx-runtime";import{jsx as bN}from"react/jsx-runtime";import{jsx as Zt,jsxs as Ei}from"react/jsx-runtime";var Xo="k-list-item",hi=[n.hover,n.focus,n.selected,n.disabled],Si={},vi={},C=e=>{let{text:t,groupLabel:o,group:r,showIcon:m,iconName:l,showCheckbox:i,checked:d,hover:f,focus:N,selected:x,disabled:S,...p}=e,h=t||e.children;return Ei("li",{...p,className:s(e.className,r?"k-list-group-item":Xo,g(Xo,{hover:f,focus:N,disabled:S,selected:x})),children:[i&&Zt(Ne,{checked:d}),m&&Zt(E,{icon:l}),Zt("span",{className:"k-list-item-text",children:h}),o&&o!==""&&Zt("div",{className:"k-list-item-group-label",children:o})]})};C.states=hi;C.options=Si;C.className=Xo;C.defaultOptions=vi;C.moduleName=Se;C.folderName=Re;import{jsx as Vo,jsxs as Ci}from"react/jsx-runtime";var ki="k-list-content",nt=e=>{let{virtualization:t,...o}=e;return Ci("div",{...o,className:s(ki,e.className),children:[Vo("ul",{className:s("k-list-ul"),children:e.children}),t&&Vo("div",{className:"k-height-container",children:Vo("div",{})})]})};import{jsx as Os}from"react/jsx-runtime";var Ii="k-list-group-sticky-header",ys=e=>Os("div",{className:s(Ii,e.className),children:Os("div",{className:"k-list-header-text",children:e.children})});import{Fragment as Ai,jsx as Ks,jsxs as gi}from"react/jsx-runtime";var H=e=>{let{virtualization:t,label:o}=e;return gi(Ai,{children:[o&&Ks(ys,{children:o}),e.children&&Ks(nt,{virtualization:t,children:e.children})]})};import{jsx as Rs}from"react/jsx-runtime";var Ti="k-list-group-item",Cs=e=>Rs("li",{className:s(Ti,e.className),children:Rs("span",{className:"k-list-item-text",children:e.children})});import{jsx as Ri}from"react/jsx-runtime";var Jo="k-list-optionlabel",Oi=[n.hover,n.focus,n.selected,n.disabled],yi={},Ki={},jt=e=>{let{text:t,hover:o,focus:r,selected:m,disabled:l,...i}=e;return Ri("div",{...i,className:s(Jo,g(Jo,{hover:o,focus:r,selected:m,disabled:l})),children:t})};jt.states=Oi;jt.options=yi;jt.className=Jo;jt.defaultOptions=Ki;import{jsx as wi}from"react/jsx-runtime";var qo="k-list-custom-value",_i=[n.hover,n.focus,n.selected,n.disabled],Pi={},Bi={},Be=e=>{let{text:t,hover:o,focus:r,selected:m,disabled:l,...i}=e;return wi("div",{...i,className:s(qo,g(qo,{hover:o,focus:r,selected:m,disabled:l})),children:t})};Be.states=_i;Be.options=Pi;Be.className=qo;Be.defaultOptions=Bi;import{jsx as jN}from"react/jsx-runtime";import{jsx as nL}from"react/jsx-runtime";import{jsx as iL,jsxs as lL}from"react/jsx-runtime";import{jsx as dL,jsxs as uL}from"react/jsx-runtime";import{jsx as LL}from"react/jsx-runtime";import{jsx as SL,jsxs as vL}from"react/jsx-runtime";import{jsx as IL,jsxs as AL}from"react/jsx-runtime";var _s="dropdown-list",Ps="dropdownlist";import{Fragment as Di,jsx as G,jsxs as Wo}from"react/jsx-runtime";var Bs="k-dropdownlist",zi=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Hi={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[u.solid,u.flat,u.outline]},rt={showValue:!0,arrowIconName:"caret-alt-down",size:a.medium,rounded:b.medium,fillMode:u.solid},Le=e=>{let{size:t=rt.size,rounded:o=rt.rounded,fillMode:r=rt.fillMode,arrowIconName:m=rt.arrowIconName,showValue:l=rt.showValue,valueIconName:i,prefix:d,suffix:f,value:N,placeholder:x,hover:S,focus:p,valid:h,invalid:M,required:v,loading:A,disabled:I,readonly:K,popup:D,opened:Ie,adaptive:bt,adaptiveSettings:Nt,adaptiveTitle:ao,adaptiveSubtitle:ro,adaptiveFilter:da,...ua}=e;return Wo(Di,{children:[Wo($,{...ua,size:t,rounded:o,fillMode:r,hover:S,focus:p,valid:h,invalid:M,required:v,loading:A,disabled:I,readonly:K,className:s(e.className,Bs,{"k-icon-picker":!l&&i}),children:[G(ce,{children:d}),G(Ue,{placeholder:x,value:N,showValue:l,valueIconName:i}),G(X,{valid:h,invalid:M,loading:A,disabled:I}),G(W,{loading:A,disabled:I}),G(de,{children:f}),G(L,{className:"k-input-button",icon:m,rounded:null,size:e.size,fillMode:e.fillMode})]}),Ie&&D&&G(z,{className:"k-list-container k-dropdownlist-popup",children:D}),bt&&G(V,{adaptive:!0,...Nt,header:G(Q,{actionsEnd:G(L,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:da,inputValue:N,inputPlaceholder:x,title:ao,subtitle:ro}),children:G("div",{className:"k-list-container",children:Wo(R,{size:"large",children:[G(C,{text:"List item"}),G(C,{text:"List item"}),G(C,{text:"List item"})]})})})]})};Le.states=zi;Le.options=Hi;Le.className=Bs;Le.defaultOptions=rt;Le.moduleName=_s;Le.folderName=Ps;import{jsx as rx}from"react/jsx-runtime";import{jsx as cx,jsxs as dx}from"react/jsx-runtime";import{Fragment as hx,jsx as xx,jsxs as Mx}from"react/jsx-runtime";import{jsx as kx}from"react/jsx-runtime";import{jsx as Tx,jsxs as Ox}from"react/jsx-runtime";import{jsx as Px,jsxs as Bx}from"react/jsx-runtime";import{Fragment as $x,jsx as Gx,jsxs as Fx}from"react/jsx-runtime";import{Fragment as Zx,jsx as Qx,jsxs as Yx}from"react/jsx-runtime";import{Fragment as fM,jsx as uM}from"react/jsx-runtime";import{Fragment as SM,jsx as hM}from"react/jsx-runtime";import{Fragment as yt,jsx as T,jsxs as B}from"react/jsx-runtime";var ws="k-colorgradient-inputs",Ui=[],Gi={size:[a.small,a.medium,a.large]},zs={mode:"rgba",size:a.medium},it=e=>{let{mode:t=zs.mode,size:o,...r}=e;return B("div",{...r,className:s(ws,"k-hstack"),children:[T("div",{className:"k-vstack",children:T(L,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),t==="rgba"&&B(yt,{children:[B("div",{className:"k-vstack",children:[T(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),T("label",{className:"k-colorgradient-input-label",children:"R"})]}),B("div",{className:"k-vstack",children:[T(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),T("label",{className:"k-colorgradient-input-label",children:"G"})]}),B("div",{className:"k-vstack",children:[T(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),T("label",{className:"k-colorgradient-input-label",children:"B"})]}),B("div",{className:"k-vstack",children:[T(_,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),T("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&B(yt,{children:[B("div",{className:"k-vstack",children:[T(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),T("label",{className:"k-colorgradient-input-label",children:"R"})]}),B("div",{className:"k-vstack",children:[T(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),T("label",{className:"k-colorgradient-input-label",children:"G"})]}),B("div",{className:"k-vstack",children:[T(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),T("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&B(yt,{children:[B("div",{className:"k-vstack",children:[T(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),T("label",{className:"k-colorgradient-input-label",children:"H"})]}),B("div",{className:"k-vstack",children:[T(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),T("label",{className:"k-colorgradient-input-label",children:"S"})]}),B("div",{className:"k-vstack",children:[T(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),T("label",{className:"k-colorgradient-input-label",children:"V"})]}),B("div",{className:"k-vstack",children:[T(_,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),T("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&B(yt,{children:[B("div",{className:"k-vstack",children:[T(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),T("label",{className:"k-colorgradient-input-label",children:"H"})]}),B("div",{className:"k-vstack",children:[T(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),T("label",{className:"k-colorgradient-input-label",children:"S"})]}),B("div",{className:"k-vstack",children:[T(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),T("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&T(yt,{children:B("div",{className:"k-vstack k-flex-1",children:[T(be,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),T("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};it.states=Ui;it.options=Gi;it.className=ws;it.defaultOptions=zs;import{jsx as Je,jsxs as qe}from"react/jsx-runtime";var Hs="k-colorgradient-color-contrast",Fi=[],$i={},Xi={},lt=()=>qe("div",{className:s(Hs,"k-vbox"),children:[qe("div",{className:"k-contrast-ratio",children:[Je("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),qe("span",{className:"k-contrast-validation !k-text-success",children:[Je(E,{icon:"check"}),Je(E,{icon:"check"})]})]}),qe("div",{children:[Je("span",{children:"AA: 4.5"}),qe("span",{className:"k-contrast-validation !k-text-success",children:["Pass",Je(E,{icon:"check"})]})]}),qe("div",{children:[Je("span",{children:"AAA: 7.0"}),qe("span",{className:"k-contrast-validation !k-text-error",children:["Fail",Je(E,{icon:"x"})]})]})]});lt.states=Fi;lt.options=$i;lt.className=Hs;lt.defaultOptions=Xi;var Ds="color-gradient",Us="colorgradient";import{jsx as Y,jsxs as Kt}from"react/jsx-runtime";var eo="k-colorgradient",Vi=[n.hover,n.focus,n.readonly,n.disabled],Ji={size:[a.small,a.medium,a.large]},ie={size:a.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"},xe=e=>{let{size:t=ie.size,mode:o=ie.mode,readonly:r=ie.readonly,disabled:m=ie.disabled,gradientStyle:l=ie.gradientStyle,dragHandleStyle:i=ie.dragHandleStyle,alphaStyle:d=ie.alphaStyle,alphaStyleHorizontal:f=ie.alphaStyleHorizontal,contrast:N=ie.contrast,dir:x,hover:S,focus:p,hoverHandle:h,focusHandle:M,canvasOrientation:v=ie.canvasOrientation,...A}=e;return Kt("div",{...A,className:s(e.className,eo,k(eo,{size:t}),g(eo,{hover:S,focus:p,readonly:r,disabled:m})),dir:x,children:[!v||v==="horizontal"&&Kt("div",{className:"k-colorgradient-canvas k-hstack",children:[Y("div",{className:"k-hsv-rectangle",style:l,children:Y("div",{className:"k-hsv-gradient",children:Y("div",{className:s("k-hsv-draghandle","k-draghandle",{"k-hover":h,"k-focus":M}),style:i})})}),Kt("div",{className:"k-hsv-controls k-hstack",children:[Y(zo,{className:"k-hue-slider",hover:h,focus:M}),o!=="rgb"&&o!=="hsv"&&Y(zo,{className:"k-alpha-slider",hover:h,focus:M,trackStyle:d})]})]}),v==="vertical"&&Kt("div",{className:"k-colorgradient-canvas k-vstack",children:[Y("div",{className:"k-hsv-rectangle",style:l,children:Y("div",{className:"k-hsv-gradient",children:Y("div",{className:s("k-hsv-draghandle","k-draghandle",{"k-hover":h,"k-focus":M}),style:i})})}),Kt("div",{className:"k-hsv-controls k-vstack",children:[Y(wo,{className:"k-hue-slider",hover:h,focus:M}),o!=="rgb"&&o!=="hsv"&&Y(wo,{className:"k-alpha-slider",hover:h,focus:M,trackStyle:f})]})]}),Y(it,{mode:e.mode,size:t}),N&&Y(lt,{})]})};xe.states=Vi;xe.options=Ji;xe.className=eo;xe.defaultOptions=ie;xe.moduleName=Ds;xe.folderName=Us;import{jsx as qM}from"react/jsx-runtime";import{jsx as ZM}from"react/jsx-runtime";import{jsx as qi}from"react/jsx-runtime";var Gs=e=>qi("tr",{children:e.children});import{jsx as Yi}from"react/jsx-runtime";var Qo="k-colorpalette-tile",Wi=[n.hover,n.focus,n.selected],Qi={},Rt=e=>{let{color:t,tileSize:o,hover:r,focus:m,selected:l,...i}=e,d={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return Yi("td",{...i,className:s(e.className,Qo,g(Qo,{hover:r,focus:m,selected:l})),style:d})};Rt.states=Wi;Rt.options=Qi;Rt.className=Qo;var Fs="color-palette",$s="colorpalette";import{jsx as _t}from"react/jsx-runtime";var to="k-colorpalette",Zi=[n.disabled],ji={size:[a.small,a.medium,a.large]},Yo={columns:10,size:a.medium},we=e=>{let{size:t=Yo.size,palette:o,columns:r=Yo.columns,tileSize:m,disabled:l,...i}=e,d=[];if(o){let f=r||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/f)},(x,S)=>{let p=[];N.slice(S*f,(S+1)*f).map((M,v)=>{p.push(_t(Rt,{color:M,tileSize:m},v))});let h=_t(Gs,{children:p},S);d.push(h)})}return _t("div",{...i,className:s(e.className,to,g(to,{disabled:l}),k(to,{size:t})),children:_t("table",{className:"k-colorpalette-table",children:_t("tbody",{children:d.length>0?d:e.children})})})};we.states=Zi;we.options=ji;we.className=to;we.defaultOptions=Yo;we.moduleName=Fs;we.folderName=$s;var Zo={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 Eh}from"react/jsx-runtime";var Xs="color-editor",Vs="coloreditor";import{jsx as Z,jsxs as pt}from"react/jsx-runtime";var oo="k-coloreditor",el=[n.focus],tl={size:[a.small,a.medium,a.large]},mt={size:a.medium,view:"gradient",palette:Zo.office,actionButtons:!0,canvasOrientation:"horizontal"},j=e=>{let{size:t=mt.size,view:o=mt.view,palette:r=mt.palette,color:m,currentColor:l,focus:i,focusView:d,dir:f,group:N,actionButtons:x=mt.actionButtons,canvasOrientation:S=mt.canvasOrientation,...p}=e;return pt("div",{...p,className:s(e.className,"k-flatcolorpicker",oo,k(oo,{size:t}),g(oo,{focus:i})),dir:f,children:[pt("div",{className:"k-coloreditor-header k-hstack",children:[Z("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&pt(P,{fillMode:"flat",children:[Z(L,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),Z(L,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),Z("div",{className:"k-spacer"}),pt("div",{className:"k-coloreditor-header-actions k-hstack",children:[Z(L,{fillMode:"flat",icon:"droplet-slash",size:t}),pt("div",{className:"k-coloreditor-preview k-vstack",children:[Z(Ae,{className:"k-coloreditor-preview-color",color:m}),Z(Ae,{className:"k-coloreditor-current-color",color:l})]})]})]}),Z("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?Z(xe,{focus:d,size:t,canvasOrientation:S}):Z(we,{palette:r,size:t})}),x&&pt(fe,{className:"k-coloreditor-footer",alignment:"start",children:[Z(L,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),Z(L,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};j.states=el;j.options=tl;j.className=oo;j.defaultOptions=mt;j.moduleName=Xs;j.folderName=Vs;import{jsx as $h}from"react/jsx-runtime";import{jsx as qh}from"react/jsx-runtime";import{jsx as Zh}from"react/jsx-runtime";import{jsx as oS}from"react/jsx-runtime";var Js="color-picker",qs="colorpicker";import{Fragment as sl,jsx as ee,jsxs as en}from"react/jsx-runtime";var Ws="k-colorpicker",ol=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],nl={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[u.solid,u.flat,u.outline]},Pt={arrowIconName:"caret-alt-down",size:$.defaultOptions.size,rounded:$.defaultOptions.rounded,fillMode:$.defaultOptions.fillMode},le=e=>{let{size:t=Pt.size,rounded:o=Pt.rounded,fillMode:r=Pt.fillMode,arrowIconName:m=Pt.arrowIconName,prefix:l,suffix:i,value:d,placeholder:f,hover:N,focus:x,valid:S,invalid:p,required:h,disabled:M,valueIconName:v,popup:A,opened:I,adaptive:K,adaptiveSettings:D,adaptiveTitle:Ie,adaptiveSubtitle:bt,...Nt}=e;return en(sl,{children:[en($,{...Nt,size:t,rounded:o,fillMode:r,hover:N,focus:x,valid:S,invalid:p,required:h,disabled:M,className:s(e.className,Ws,"k-icon-picker"),children:[ee(