@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 67.9 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,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var E=(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"}),I=(e,t)=>{let{valid:o,invalid:a,hover:l,focus:p,checked:i,active:u,selected:f,disabled:N,indeterminate:L,loading:S,empty:m,readonly:M,highlighted:x,...v}=t;return s({"k-valid":o,"k-invalid":a,"k-hover":l,"k-focus":p,"k-checked":i,"k-active":u,"k-selected":f,"k-disabled":N,"k-indeterminate":L&&!i,"k-loading":S,"k-empty":m,"k-readonly":M,"k-highlighted":x},Object.keys(v).reduce((g,T)=>(T.startsWith("k-")?g[T]=v[T]:g[`k-${T}`]=v[T],g),{}))};function In(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var r={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},b={small:"small",medium:"medium",large:"large",full:"full"},c={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},d={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 Cr,jsx as gn}from"react/jsx-runtime";var uo="k-font-icon",vr=[],kr={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[d.base,d.primary,d.secondary,d.tertiary,d.success,d.warning,d.error,d.info,d.light,d.dark]},Er={},vt=e=>{let{size:t,themeColor:o,icon:a,rotate:l,flip:p,...i}=e;return a?gn("span",{...i,className:s(e.className,uo,E(uo,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${l}`]:l,"k-flip-h":p==="h"||p==="both","k-flip-v":p==="v"||p==="both"})}):gn(Cr,{})};vt.states=vr;vt.options=kr;vt.className=uo;vt.defaultOptions=Er;var An=vt;import{Fragment as gr,jsx as $t}from"react/jsx-runtime";var fo="k-svg-icon",Tr=[],Ir={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[d.base,d.primary,d.secondary,d.tertiary,d.success,d.warning,d.error,d.info,d.light,d.dark]},On={viewBox:"0 0 24 24"},kt=e=>{let{size:t,themeColor:o,rotate:a,flip:l,viewBox:p=On.viewBox,icon:i,...u}=e;if(!i)return $t(gr,{});i==="none"&&{...u,className:s(e.className,fo,"k-none")};let f=typeof i=="object"&&i.name&&i.name;return $t("span",{...u,className:s(e.className,fo,E("k-icon",{size:t}),{[`k-svg-i-${f}`]:f,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),children:$t("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof i=="object"?i.viewBox:p,dangerouslySetInnerHTML:typeof i=="object"?{__html:i.content}:void 0,children:i?void 0:e.children})})};kt.states=Tr;kt.options=Ir;kt.className=fo;kt.defaultOptions=On;var bo=kt;import*as No from"@progress/kendo-svg-icons";var yn="icon",Bn="icons";import{Fragment as Rn,jsx as Et}from"react/jsx-runtime";var Xt="k-icon",Ar=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Or=[],yr={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[d.base,d.primary,d.secondary,d.tertiary,d.success,d.warning,d.error,d.info,d.light,d.dark]},Lo={viewBox:"0 0 24 24",type:"svg"},k=e=>{let{size:t,themeColor:o,icon:a,type:l=Lo.type,rotate:p,flip:i,viewBox:u=Lo.viewBox,...f}=e;if(!a)return Et(Rn,{});if(l==="svg"){if(a==="none")return Et(bo,{...f,className:s(e.className,Xt),icon:a,size:t});let N=No[a]?a:Ar(`${a}-icon`);return No[N]?Et(bo,{...f,className:s(e.className,Xt),icon:No[N],size:t,themeColor:o,rotate:p,flip:i,viewBox:u}):Et(Rn,{})}return Et(An,{...f,className:s(e.className,Xt),icon:a,size:t,themeColor:o,rotate:p,flip:i})};k.states=Or;k.options=yr;k.defaultOptions=Lo;k.className=Xt;k.moduleName=yn;k.folderName=Bn;var xo="button",Kn=xo;import{Fragment as Pr,jsx as Ct,jsxs as Pn}from"react/jsx-runtime";var Tt="k-button",Br=["icon-button"],Rr=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],Kr={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[c.solid,c.flat,c.outline,c.clear,c.link],themeColor:[d.base,d.primary,d.secondary,d.tertiary,d.success,d.warning,d.error,d.info,d.light,d.dark,d.inverse]},Ge={size:r.medium,rounded:b.medium,fillMode:c.solid,themeColor:d.base,showArrow:!1,arrowIconName:"caret-alt-down"},h=e=>{let{size:t=Ge.size,rounded:o=Ge.rounded,fillMode:a=Ge.fillMode,themeColor:l=Ge.themeColor,showArrow:p=Ge.showArrow,arrowIconName:i=Ge.arrowIconName,variant:u,hover:f,focus:N,active:L,selected:S,disabled:m,icon:M,text:x,iconClassName:v,...g}=e,T=M!==void 0,B=e.children!==void 0;return Pn("button",{...g,className:s(e.className,Tt,In(Tt,u),E(Tt,{size:t,rounded:o,fillMode:a,themeColor:l}),I(Tt,{hover:f,focus:N,active:L,disabled:m,selected:S}),{"k-icon-button":!x&&!B&&T}),children:[M&&Ct(k,{className:s(v,"k-button-icon"),icon:M}),x?Pn(Pr,{children:[x&&Ct("span",{className:"k-button-text",children:x}),e.children]}):e.children&&Ct("span",{className:"k-button-text",children:e.children}),p&&Ct("span",{className:"k-menu-button-arrow k-button-arrow",children:Ct(k,{icon:i})})]})};h.states=Rr;h.options=Kr;h.variants=Br;h.className=Tt;h.defaultOptions=Ge;h.moduleName=xo;h.folderName=Kn;import{jsx as _r}from"react/jsx-runtime";var Vt=e=>_r(h,{icon:"folder",...e,children:void 0});import{jsx as wr}from"react/jsx-runtime";var Mo=e=>wr(h,{icon:"folder",children:"Button",...e});import{jsx as Up}from"react/jsx-runtime";var ho="button",_n=ho;import{jsx as Dr}from"react/jsx-runtime";var It="k-button-group",zr=[n.disabled],Hr={fillMode:[c.solid,c.flat,c.outline,c.clear,c.link]},wn={fillMode:c.solid},K=e=>{let{fillMode:t=wn.fillMode,disabled:o,stretched:a,...l}=e;return Dr("div",{...l,className:s(e.className,It,E(It,{fillMode:t}),I(It,{disabled:o}),{[`${It}-stretched`]:a}),children:e.children})};K.states=zr;K.options=Hr;K.className=It;K.defaultOptions=wn;K.moduleName=ho;K.folderName=_n;import{Fragment as sm,jsx as nm,jsxs as rm}from"react/jsx-runtime";import{Fragment as cm,jsx as mm,jsxs as dm}from"react/jsx-runtime";import{Fragment as xm,jsx as Lm,jsxs as Mm}from"react/jsx-runtime";import{Fragment as Cm,jsx as Em,jsxs as Tm}from"react/jsx-runtime";var gt="input",Jt=gt;import{jsx as Fr}from"react/jsx-runtime";var qt="k-input",Gr=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Ur={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[c.solid,c.flat,c.outline]},Wt={size:r.medium,rounded:r.medium,fillMode:c.solid},y=e=>{let{hover:t,focus:o,disabled:a,invalid:l,valid:p,loading:i,readonly:u,size:f=Wt.size,rounded:N=Wt.rounded,fillMode:L=Wt.fillMode,...S}=e;return Fr("span",{...S,className:s(e.className,qt,E(qt,{size:f,rounded:N,fillMode:L}),I(qt,{hover:t,focus:o,disabled:a,invalid:l,valid:p,loading:i,readonly:u}))})};y.states=Gr;y.options=Ur;y.className=qt;y.defaultOptions=Wt;y.moduleName=gt;y.folderName=Jt;import{jsx as Vr}from"react/jsx-runtime";var Qt="k-picker",$r=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Xr={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[c.solid,c.flat,c.outline]},Yt={size:r.medium,rounded:b.medium,fillMode:c.solid},X=e=>{let{hover:t,focus:o,disabled:a,invalid:l,valid:p,loading:i,readonly:u,size:f=Yt.size,rounded:N=Yt.rounded,fillMode:L=Yt.fillMode,...S}=e;return Vr("span",{...S,className:s(e.className,Qt,E(Qt,{size:f,rounded:N,fillMode:L}),I(Qt,{hover:t,focus:o,disabled:a,invalid:l,valid:p,loading:i,readonly:u})),children:e.children})};X.states=$r;X.options=Xr;X.className=Qt;X.defaultOptions=Yt;X.moduleName=gt;X.folderName=Jt;import{Fragment as Wr,jsx as So}from"react/jsx-runtime";var zn="k-clear-value",Jr=[n.disabled,n.loading,n.readonly],qr={},se=e=>{let{disabled:t,loading:o,readonly:a,value:l}=e;return t||a||o||!l?So(Wr,{}):So("span",{className:s(e.className,zn),children:So(k,{icon:"x"})})};se.states=Jr;se.options=qr;se.className=zn;import{jsx as Zr}from"react/jsx-runtime";var vo="k-input-inner",Qr=[],Yr={},Zt={type:"text",autocomplete:"off",value:"",placeholder:""},re=e=>{let{value:t=Zt.value,type:o=Zt.type,placeholder:a=Zt.placeholder,autocomplete:l=Zt.autocomplete,...p}=e;return Zr("input",{...p,type:o,className:s(e.className,vo,E(vo,e)),placeholder:a,autoComplete:l,defaultValue:t})};re.states=Qr;re.options=Yr;re.className=vo;import{jsx as Hn,jsxs as ta}from"react/jsx-runtime";var ko="k-input-inner",jr=[],ea={},Ue=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:l,valueIconName:p,...i}=e;return ta("span",{...i,className:s(e.className,ko,E(ko,e)),children:[l,!l&&p&&Hn(k,{className:"k-input-value-icon",icon:p}),a&&!t&&o,a&&t&&Hn("span",{className:"k-input-value-text",children:t})]})};Ue.states=jr;Ue.options=ea;Ue.className=ko;import{jsx as sa}from"react/jsx-runtime";var Eo="k-input-inner",oa=[],na={},Dn={value:"",placeholder:""},Co=e=>{let{value:t=Dn.value,placeholder:o=Dn.placeholder,rows:a,...l}=e;return sa("textarea",{...l,className:s(e.className,Eo,E(Eo,e)),placeholder:o,rows:a,defaultValue:t})};Co.states=oa;Co.options=na;Co.className=Eo;import{Fragment as aa,jsx as Gn}from"react/jsx-runtime";var Un="k-input-loading-icon",ra=[n.disabled,n.loading],Q=e=>{let{disabled:t,loading:o}=e;return t||!o?Gn(aa,{}):Gn("span",{className:s(e.className,Un,"k-icon k-i-loading")})};Q.states=ra;Q.className=Un;import{Fragment as pa,jsx as Fn}from"react/jsx-runtime";var $n="k-input-validation-icon",ia=[n.valid,n.invalid,n.disabled,n.loading],la={},V=e=>{let{valid:t,invalid:o,disabled:a,loading:l}=e,p=o?"warning-circle":"check-circle";return a||l||!!!(t||o)?Fn(pa,{}):Fn(k,{className:s($n),icon:p})};V.states=ia;V.options=la;V.className=$n;import{Fragment as da,jsx as Xn}from"react/jsx-runtime";var ma="k-input-prefix",ca={direction:"horizontal"},ce=e=>{let{direction:t=ca.direction,...o}=e;return e.children?Xn("span",{...o,className:s(ma,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Xn(da,{})};import{Fragment as ba,jsx as Vn}from"react/jsx-runtime";var ua="k-input-suffix",fa={direction:"horizontal"},de=e=>{let{direction:t=fa.direction,...o}=e;return e.children?Vn("span",{...o,className:s(ua,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Vn(ba,{})};import{jsx as xc}from"react/jsx-runtime";import{jsx as vc}from"react/jsx-runtime";import{jsx as La}from"react/jsx-runtime";var Jn="k-input-separator",Na={direction:"vertical"},Me=e=>{let{direction:t=Na.direction,...o}=e;return La("span",{...o,className:s(Jn,e.className,{[`${Jn}-${t}`]:t})})};import{jsx as qn,jsxs as ha}from"react/jsx-runtime";var Wn="k-color-preview",xa=[],Ma={},ge=e=>{let{color:t,iconName:o,...a}=e;return ha("span",{...a,className:s(e.className,Wn,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&qn(k,{icon:o,className:"k-color-preview-icon"}),qn("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};ge.states=xa;ge.options=Ma;ge.className=Wn;var To="popup",Qn=To;import{jsx as Yn}from"react/jsx-runtime";var Zn="k-animation-container",Sa=[],va={},jn={positionMode:"absolute"},ue=e=>{let{positionMode:t=jn.positionMode,animationStyle:o,offset:a,...l}=e;return Yn("div",{...l,style:{...a,...e.style},className:s(e.className,Zn,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:Yn("div",{className:"k-child-animation-container",style:o,children:e.children})})};ue.states=Sa;ue.options=va;ue.className=Zn;ue.defaultOptions=jn;ue.moduleName=To;ue.folderName=Qn;var Io="popup",es=Io;import{jsx as ts}from"react/jsx-runtime";var os="k-popup",ka=[],Ea={},ns={positionMode:"absolute"},w=e=>{let{offset:t,positionMode:o=ns.positionMode,animationStyle:a,...l}=e;return ts(ue,{positionMode:o,offset:t,animationStyle:a,children:ts("div",{...l,className:s(e.className,os),children:e.children})})};w.states=ka;w.options=Ea;w.className=os;w.defaultOptions=ns;w.moduleName=Io;w.folderName=es;var go="action-buttons",ss=go;import{jsx as Ia}from"react/jsx-runtime";var jt="k-actions",Ca=[],Ta={},Ao={alignment:"start",orientation:"horizontal"},fe=e=>{let{alignment:t=Ao.alignment,orientation:o=Ao.orientation,...a}=e;return Ia("div",{...a,className:s(jt,{[`${jt}-${t}`]:t,[`${jt}-${o}`]:o},e.className),children:e.children})};fe.states=Ca;fe.options=Ta;fe.className=jt;fe.defaultOptions=Ao;fe.moduleName=go;fe.folderName=ss;import{jsx as Aa}from"react/jsx-runtime";var ga="k-actionsheet-footer",rs={alignment:"stretched",orientation:"horizontal"},At=e=>{let{alignment:t=rs.alignment,orientation:o=rs.orientation,template:a,as:l=a?"div":fe,...p}=e;return Aa(l,{...p,...!a&&{alignment:t,orientation:o},className:s(e.className,ga),children:e.children})};var Oo="searchbox",as=Oo;import{jsx as Ot,jsxs as Ba}from"react/jsx-runtime";var is="k-searchbox",Oa=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],ya={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[c.solid,c.flat,c.outline]},yo={showIcon:!0,icon:"search",size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode},ae=e=>{let{value:t,placeholder:o,size:a,rounded:l,fillMode:p,hover:i,focus:u,valid:f,invalid:N,required:L,loading:S,disabled:m,showIcon:M=yo.showIcon,icon:x=yo.icon,...v}=e;return Ba(y,{...v,size:a,rounded:l,fillMode:p,hover:i,focus:u,valid:f,invalid:N,required:L,loading:S,disabled:m,className:s(e.className,is),children:[M&&Ot(k,{className:"k-input-icon",icon:x}),Ot(re,{placeholder:o,value:t}),Ot(Q,{...e}),Ot(V,{...e}),Ot(se,{...e})]})};ae.states=Oa;ae.options=ya;ae.className=is;ae.defaultOptions=yo;ae.moduleName=Oo;ae.folderName=as;import{jsx as Ad}from"react/jsx-runtime";var Bo="textbox",ls=Bo;import{Fragment as ps,jsx as Ae,jsxs as Ro}from"react/jsx-runtime";var ms="k-textbox",Ra=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Ka={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[c.solid,c.flat,c.outline]},Fe={showClearButton:!0,showValidationIcon:!0,size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode,separators:!0},be=e=>{let{size:t=Fe.size,rounded:o=Fe.rounded,fillMode:a=Fe.fillMode,separators:l=Fe.separators,showClearButton:p=Fe.showClearButton,showValidationIcon:i=Fe.showValidationIcon,prefix:u,suffix:f,type:N,value:L,placeholder:S,hover:m,focus:M,valid:x,invalid:v,required:g,loading:T,disabled:B,readonly:G,...Ie}=e;return Ro(y,{...Ie,size:t,rounded:o,fillMode:a,hover:m,focus:M,valid:x,invalid:v,required:g,loading:T,disabled:B,readonly:G,className:s(e.className,ms),children:[u&&Ro(ps,{children:[Ae(ce,{children:u}),l&&Ae(Me,{})]}),Ae(re,{placeholder:S,value:L,type:N}),i&&Ae(V,{valid:x,invalid:v,loading:T,disabled:B}),Ae(Q,{loading:T,disabled:B}),p&&Ae(se,{loading:T,disabled:B,readonly:G,value:L}),f&&Ro(ps,{children:[l&&Ae(Me,{}),Ae(de,{children:f})]})]})};be.states=Ra;be.options=Ka;be.className=ms;be.defaultOptions=Fe;be.moduleName=Bo;be.folderName=ls;import{jsx as Ud}from"react/jsx-runtime";import{Fragment as qd,jsx as Jd}from"react/jsx-runtime";import{Fragment as tu,jsx as eu}from"react/jsx-runtime";import{jsx as Oe,jsxs as Ko}from"react/jsx-runtime";var ds="k-actionsheet-titlebar",Pa={},Y=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:l,filter:p,input:i,inputValue:u,inputPlaceholder:f,adaptive:N,children:L,...S}=e;return Ko("div",{...S,className:s(e.className,ds),children:[Ko("div",{className:"k-actionsheet-titlebar-group",children:[a&&Oe("div",{className:"k-actionsheet-actions",children:a}),!L&&Ko("div",{className:"k-actionsheet-title",children:[t&&Oe("div",{className:"k-text-center",children:t}),o&&Oe("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),L&&Oe("div",{className:"k-actionsheet-title",children:L}),l&&Oe("div",{className:"k-actionsheet-actions",children:l})]}),(i||p)&&Oe("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:i?Oe(be,{value:u,placeholder:f,size:N?"large":"medium"}):Oe(ae,{placeholder:"Filter",size:N?"large":"medium"})})]})};Y.className=ds;Y.defaultOptions=Pa;import{jsx as Po,jsxs as Ha}from"react/jsx-runtime";var _o="k-actionsheet-view",_a=[],wa={},za={},tt=e=>{let{adaptive:t,animated:o,children:a,header:l,footer:p,...i}=e,u=l?.type===Y&&Po(Y,{adaptive:t,...l?.props}),f=p?.type===At&&Po(At,{...p?.props});return Ha("div",{...i,className:s(e.className,_o,{[`${_o}-animated`]:o}),children:[u,Po("div",{className:"k-actionsheet-content",children:a}),f]})};tt.states=_a;tt.options=wa;tt.className=_o;tt.defaultOptions=za;var yt="action-sheet",eo=yt;import{jsx as to,jsxs as Ua}from"react/jsx-runtime";var us="k-actionsheet",Da=[],Ga={},Bt={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},J=e=>{let{side:t=Bt.side,fullscreen:o=Bt.fullscreen,adaptive:a=Bt.adaptive,overlay:l=Bt.overlay,template:p,children:i,header:u,footer:f,...N}=e;return Ua("div",{className:"k-actionsheet-container",children:[l&&to("div",{className:"k-overlay"}),to(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:to("div",{...N,className:s(e.className,us,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:p||to(tt,{header:u,footer:f,adaptive:a,...e,children:i})})})]})};J.states=Da;J.options=Ga;J.className=us;J.defaultOptions=Bt;J.moduleName=yt;J.folderName=eo;import{jsx as Va}from"react/jsx-runtime";var fs="k-actionsheet-container",Fa=[],$a={},Xa={},ot=e=>{let{children:t,...o}=e;return Va("div",{...o,className:fs,children:t})};ot.states=Fa;ot.options=$a;ot.className=fs;ot.defaultOptions=Xa;ot.moduleName=yt;ot.folderName=eo;import{jsx as Ou}from"react/jsx-runtime";import{Fragment as qa,jsx as Rt,jsxs as wo}from"react/jsx-runtime";var zo="k-actionsheet-item",Ja=[n.hover,n.focus,n.selected,n.disabled],Ho=e=>{let{iconName:t,text:o,description:a,hover:l,focus:p,selected:i,disabled:u,...f}=e;return wo("span",{...f,className:s(e.className,zo,I(zo,{hover:l,focus:p,selected:i,disabled:u})),children:[!e.children&&Rt(qa,{children:wo("span",{className:"k-actionsheet-action",children:[t&&Rt("span",{className:"k-icon-wrap",children:Rt(k,{className:"k-actionsheet-item-icon",icon:t})}),wo("span",{className:"k-actionsheet-item-text",children:[o&&Rt("span",{className:"k-actionsheet-item-title",children:o}),a&&Rt("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Ho.states=Ja;Ho.className=zo;import{jsx as Hu,jsxs as Du}from"react/jsx-runtime";import{jsx as $u}from"react/jsx-runtime";import{jsx as qu}from"react/jsx-runtime";import{jsx as Zu}from"react/jsx-runtime";var Do="slider",Ns=Do;import{jsx as nt,jsxs as Go}from"react/jsx-runtime";var Kt="k-slider",Wa=[n.hover,n.focus,n.active,n.disabled,n.readonly],Qa={},ye={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},U=e=>{let{type:t=ye.type,orientation:o=ye.orientation,readonly:a=ye.readonly,disabled:l=ye.disabled,handlePosition:p=ye.handlePosition,showButtons:i=ye.showButtons,showTicks:u=ye.showTicks,hover:f,focus:N,active:L,trackStyle:S,dir:m,...M}=e,x,v;return o==="horizontal"?(x=m==="rtl"?"caret-alt-left":"caret-alt-right",v=m==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(x="caret-alt-up",v="caret-alt-down"),Go("div",{...M,className:s(Kt,e.className,I(Kt,{readonly:a,disabled:l}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:m,children:[i&&nt(h,{className:"k-button-decrease",rounded:"full",icon:v}),Go("div",{className:"k-slider-track-wrap",children:[u&&nt("ul",{className:"k-reset k-slider-items",children:e.children}),Go("div",{className:"k-slider-track",style:S,children:[nt("div",{className:"k-slider-selection"}),t==="range"&&nt("span",{className:s("k-draghandle","k-draghandle-start",I(Kt,{hover:f,focus:N,active:L}))}),nt("span",{className:s("k-draghandle",`k-draghandle-${p}`,I(Kt,{hover:f,focus:N,active:L}))})]})]}),i&&nt(h,{className:"k-button-increase",rounded:"full",icon:x})]})};U.states=Wa;U.options=Qa;U.className=Kt;U.defaultOptions=ye;U.moduleName=Do;U.folderName=Ns;import{jsx as Ls}from"react/jsx-runtime";var xs="k-tick",Ya=[],Za={},Ms={label:!1},Be=e=>{let{style:t,label:o=Ms.label,orientation:a,large:l,text:p,...i}=e;return Ls("li",{...i,className:s(e.className,xs,{[`k-tick-${a}`]:a,"k-tick-large":l}),style:t,children:o&&Ls("span",{className:"k-label",children:p})})};Be.states=Ya;Be.options=Za;Be.className=xs;Be.defaultOptions=Ms;import{Fragment as Cf,jsx as Ef,jsxs as Tf}from"react/jsx-runtime";import{Fragment as yf,jsx as Of,jsxs as Bf}from"react/jsx-runtime";import{Fragment as wf,jsx as _f,jsxs as zf}from"react/jsx-runtime";import{Fragment as Ff,jsx as Uf,jsxs as $f}from"react/jsx-runtime";import{jsx as ja}from"react/jsx-runtime";var Uo=e=>ja(U,{type:"gradient",showButtons:!1,showTicks:!1,...e});import{jsx as ei}from"react/jsx-runtime";var Fo=e=>ei(U,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});import{jsx as hs,jsxs as ri}from"react/jsx-runtime";var Ss="k-spin-button",ni=[],si={size:[r.small,r.medium,r.large],fillMode:[c.solid,c.flat,c.outline,c.clear,c.link]},$o={size:r.medium,fillMode:c.solid},Re=e=>{let{size:t=$o.size,fillMode:o=$o.fillMode,...a}=e;return ri("span",{...a,className:s(Ss,e.className),children:[hs(h,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),hs(h,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};Re.states=ni;Re.options=si;Re.className=Ss;Re.defaultOptions=$o;Re.moduleName=null;Re.folderName=null;var vs="numeric-textbox",ks="numerictextbox";import{Fragment as Es,jsx as he,jsxs as Xo}from"react/jsx-runtime";var Cs="k-numerictextbox",ai=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],ii={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[c.solid,c.flat,c.outline]},$e={showSpinButton:!0,showClearButton:!0,size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode,separators:!0},P=e=>{let{size:t=$e.size,rounded:o=$e.rounded,fillMode:a=$e.fillMode,separators:l=$e.separators,showClearButton:p=$e.showClearButton,showSpinButton:i=$e.showSpinButton,prefix:u,suffix:f,value:N,placeholder:L,hover:S,focus:m,valid:M,invalid:x,required:v,loading:g,disabled:T,readonly:B,...G}=e;return Xo(y,{...G,size:t,rounded:o,fillMode:a,hover:S,focus:m,valid:M,invalid:x,required:v,loading:g,disabled:T,readonly:B,className:s(e.className,Cs),children:[u&&Xo(Es,{children:[he(ce,{children:u}),l&&he(Me,{})]}),he(re,{placeholder:L,value:N}),he(V,{valid:M,invalid:x,loading:g,disabled:T}),he(Q,{loading:g,disabled:T}),p&&he(se,{loading:g,disabled:T,readonly:B,value:N}),f&&Xo(Es,{children:[l&&he(Me,{}),he(de,{children:f})]}),i&&he(Re,{className:"k-input-spinner",size:t,fillMode:a})]})};P.states=ai;P.options=ii;P.className=Cs;P.defaultOptions=$e;P.moduleName=vs;P.folderName=ks;import{jsx as Eb}from"react/jsx-runtime";import{jsx as pi}from"react/jsx-runtime";var li="k-no-data",Pt=e=>pi("span",{className:s(li,e.className),children:e.children});var Se="list",Ke=Se;import{jsx as st,jsxs as Is}from"react/jsx-runtime";var Vo="k-list",mi=[],ci={size:[r.small,r.medium,r.large]},gs={size:r.medium},R=e=>{let{size:t=gs.size,virtualization:o,children:a,optionLabel:l,customValue:p,screenReaders:i,...u}=e,f,N,L,S,m=[];return a?a.map((M,x)=>{M.type===H?(M.props.root===!0?(f=M.props.label,M.props.children.map((v,g)=>{m.push(st(C,{...v.props},`optChild-${g}-${new Date().getTime()}`))})):M.props.children.forEach((v,g)=>{let T="";g===0&&(T=M.props.label),m.push(st(C,{className:g===0?"k-first":"",...v.props,groupLabel:T},`groupLabel-${g}-${new Date().getTime()}`))}),N=st(H,{label:f,virtualization:o,children:m})):M.type===C&&(m.push(st(C,{...M.props},`${M.type}-${x}`)),L=st(rt,{virtualization:o,children:m}),i&&(S=Is(Pt,{className:"k-sr-only",children:[m.length," items found."]})))}):S=st(Pt,{children:"No data found."}),Is("div",{...u,className:s(e.className,Vo,E(Vo,{size:t}),{"k-virtual-list":o}),children:[l,p,N,L,S]})};R.states=mi;R.options=ci;R.className=Vo;R.defaultOptions=gs;R.moduleName=Se;R.folderName=Ke;import{jsx as bi}from"react/jsx-runtime";var As="k-list-container",di=[],ui={},fi={},at=e=>{let{...t}=e;return bi("div",{...t,className:s(e.className,As),children:e.children})};at.states=di;at.options=ui;at.className=As;at.defaultOptions=fi;at.moduleName=Se;at.folderName=Ke;import{jsx as Xe,jsxs as xi}from"react/jsx-runtime";var Jo="k-list",Ni=[],Li={size:[r.small,r.medium,r.large]},Os={size:r.medium},ve=e=>{let{size:t=Os.size,virtualization:o,children:a,...l}=e,p,i,u,f=[];return a?a.map((N,L)=>{N.type===H?(N.props.root===!0?(p=N.props.label,N.props.children.map((S,m)=>{f.push(Xe(C,{...S.props},`optChild-${m}-${new Date().getTime()}`))})):(f.push(Xe(ys,{...N.props,children:N.props.label},`listChild-${L}`)),N.props.children.map((S,m)=>{f.push(Xe(C,{...S.props},`fwOptChild-${m}-${new Date().getTime()}`))})),i=Xe(H,{label:p,virtualization:o,children:f})):N.type===C&&(f.push(Xe(C,{...N.props},`${N.type}-${L}`)),u=Xe(rt,{virtualization:o,children:f}))}):u=Xe(Pt,{children:"No data found."}),xi("div",{...l,className:s(e.className,Jo,E(Jo,{size:t}),{"k-virtual-list":o}),children:[i,u]})};ve.states=Ni;ve.options=Li;ve.className=Jo;ve.defaultOptions=Os;ve.moduleName=Se;ve.folderName=Ke;var Ve="checkbox",it=Ve;import{jsx as Bs}from"react/jsx-runtime";var oo="k-checkbox",Mi=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],hi={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full]},qo={size:r.medium,rounded:b.medium},Ne=e=>{let{id:t,checked:o,indeterminate:a,hover:l,focus:p,disabled:i,invalid:u,valid:f,required:N,size:L=qo.size,rounded:S=qo.rounded,...m}=e;return Bs("span",{className:"k-checkbox-wrap",children:Bs("input",{...m,id:t,type:"checkbox",defaultChecked:o,required:N,className:s(e.className,oo,E(oo,{size:L,rounded:S}),I(oo,{hover:l,focus:p,disabled:i,invalid:u,valid:f,indeterminate:a,checked:o}))})})};Ne.states=Mi;Ne.options=hi;Ne.className=oo;Ne.defaultOptions=qo;Ne.moduleName=Ve;Ne.folderName=it;import{jsx as ki}from"react/jsx-runtime";var Rs="k-checkbox-list",Si=[],vi={},Ks={layout:"vertical"},Pe=e=>{let{layout:t=Ks.layout,...o}=e;return ki("ul",{...o,className:s(e.className,Rs,{[`k-list-${t}`]:t}),children:e.children})};Pe.states=Si;Pe.options=vi;Pe.className=Rs;Pe.defaultOptions=Ks;Pe.moduleName=Ve;Pe.folderName=it;import{jsx as Ii}from"react/jsx-runtime";var Ps="k-checkbox-list-item",Ei=[],Ci={},Ti={},_e=e=>{let{...t}=e;return Ii("li",{...t,className:s(e.className,Ps),children:e.children})};_e.states=Ei;_e.options=Ci;_e.className=Ps;_e.defaultOptions=Ti;_e.moduleName=Ve;_e.folderName=it;import{Fragment as mN,jsx as pN,jsxs as cN}from"react/jsx-runtime";import{Fragment as NN,jsx as bN,jsxs as LN}from"react/jsx-runtime";import{Fragment as vN,jsx as SN,jsxs as kN}from"react/jsx-runtime";import{Fragment as gN,jsx as IN,jsxs as AN}from"react/jsx-runtime";import{jsx as RN}from"react/jsx-runtime";import{jsx as wN}from"react/jsx-runtime";import{jsx as no,jsxs as yi}from"react/jsx-runtime";var Qo="k-list-item",gi=[n.hover,n.focus,n.selected,n.disabled],Ai={},Oi={},C=e=>{let{text:t,groupLabel:o,group:a,showIcon:l,iconName:p,showCheckbox:i,checked:u,hover:f,focus:N,selected:L,disabled:S,...m}=e,M=t||e.children;return yi("li",{...m,className:s(e.className,a?"k-list-group-item":Qo,I(Qo,{hover:f,focus:N,disabled:S,selected:L})),children:[i&&no(Ne,{checked:u}),l&&no(k,{icon:p}),no("span",{className:"k-list-item-text",children:M}),o&&o!==""&&no("div",{className:"k-list-item-group-label",children:o})]})};C.states=gi;C.options=Ai;C.className=Qo;C.defaultOptions=Oi;C.moduleName=Se;C.folderName=Ke;import{jsx as Yo,jsxs as Ri}from"react/jsx-runtime";var Bi="k-list-content",rt=e=>{let{virtualization:t,...o}=e;return Ri("div",{...o,className:s(Bi,e.className),children:[Yo("ul",{className:s("k-list-ul"),children:e.children}),t&&Yo("div",{className:"k-height-container",children:Yo("div",{})})]})};import{jsx as _s}from"react/jsx-runtime";var Ki="k-list-group-sticky-header",ws=e=>_s("div",{className:s(Ki,e.className),children:_s("div",{className:"k-list-header-text",children:e.children})});import{Fragment as Pi,jsx as zs,jsxs as _i}from"react/jsx-runtime";var H=e=>{let{virtualization:t,label:o}=e;return _i(Pi,{children:[o&&zs(ws,{children:o}),e.children&&zs(rt,{virtualization:t,children:e.children})]})};import{jsx as Hs}from"react/jsx-runtime";var wi="k-list-group-item",ys=e=>Hs("li",{className:s(wi,e.className),children:Hs("span",{className:"k-list-item-text",children:e.children})});import{jsx as Gi}from"react/jsx-runtime";var Zo="k-list-optionlabel",zi=[n.hover,n.focus,n.selected,n.disabled],Hi={},Di={},so=e=>{let{text:t,hover:o,focus:a,selected:l,disabled:p,...i}=e;return Gi("div",{...i,className:s(Zo,I(Zo,{hover:o,focus:a,selected:l,disabled:p})),children:t})};so.states=zi;so.options=Hi;so.className=Zo;so.defaultOptions=Di;import{jsx as Xi}from"react/jsx-runtime";var jo="k-list-custom-value",Ui=[n.hover,n.focus,n.selected,n.disabled],Fi={},$i={},we=e=>{let{text:t,hover:o,focus:a,selected:l,disabled:p,...i}=e;return Xi("div",{...i,className:s(jo,I(jo,{hover:o,focus:a,selected:l,disabled:p})),children:t})};we.states=Ui;we.options=Fi;we.className=jo;we.defaultOptions=$i;import{jsx as SL}from"react/jsx-runtime";import{jsx as CL}from"react/jsx-runtime";import{jsx as AL,jsxs as OL}from"react/jsx-runtime";import{jsx as KL,jsxs as PL}from"react/jsx-runtime";import{jsx as HL}from"react/jsx-runtime";import{jsx as FL,jsxs as $L}from"react/jsx-runtime";import{jsx as qL,jsxs as WL}from"react/jsx-runtime";var Ds="dropdown-list",Gs="dropdownlist";import{Fragment as qi,jsx as F,jsxs as en}from"react/jsx-runtime";var Us="k-dropdownlist",Vi=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Ji={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[c.solid,c.flat,c.outline]},lt={showValue:!0,arrowIconName:"caret-alt-down",size:r.medium,rounded:b.medium,fillMode:c.solid},Le=e=>{let{size:t=lt.size,rounded:o=lt.rounded,fillMode:a=lt.fillMode,arrowIconName:l=lt.arrowIconName,showValue:p=lt.showValue,valueIconName:i,prefix:u,suffix:f,value:N,placeholder:L,hover:S,focus:m,valid:M,invalid:x,required:v,loading:g,disabled:T,readonly:B,popup:G,opened:Ie,adaptive:ht,adaptiveSettings:St,adaptiveTitle:mo,adaptiveSubtitle:co,adaptiveFilter:hr,...Sr}=e;return en(qi,{children:[en(X,{...Sr,size:t,rounded:o,fillMode:a,hover:S,focus:m,valid:M,invalid:x,required:v,loading:g,disabled:T,readonly:B,className:s(e.className,Us,{"k-icon-picker":!p&&i}),children:[F(ce,{children:u}),F(Ue,{placeholder:L,value:N,showValue:p,valueIconName:i}),F(V,{valid:M,invalid:x,loading:g,disabled:T}),F(Q,{loading:g,disabled:T}),F(de,{children:f}),F(h,{className:"k-input-button",icon:l,rounded:null,size:e.size,fillMode:e.fillMode})]}),Ie&&G&&F(w,{className:"k-list-container k-dropdownlist-popup",children:G}),ht&&F(J,{adaptive:!0,...St,header:F(Y,{actionsEnd:F(h,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:hr,inputValue:N,inputPlaceholder:L,title:mo,subtitle:co}),children:F("div",{className:"k-list-container",children:en(R,{size:"large",children:[F(C,{text:"List item"}),F(C,{text:"List item"}),F(C,{text:"List item"})]})})})]})};Le.states=Vi;Le.options=Ji;Le.className=Us;Le.defaultOptions=lt;Le.moduleName=Ds;Le.folderName=Gs;import{jsx as gx}from"react/jsx-runtime";import{jsx as Rx,jsxs as Kx}from"react/jsx-runtime";import{Fragment as Ux,jsx as Dx,jsxs as Gx}from"react/jsx-runtime";import{jsx as Vx}from"react/jsx-runtime";import{jsx as Yx,jsxs as Zx}from"react/jsx-runtime";import{jsx as nM,jsxs as sM}from"react/jsx-runtime";import{Fragment as dM,jsx as mM,jsxs as cM}from"react/jsx-runtime";import{Fragment as hM,jsx as xM,jsxs as MM}from"react/jsx-runtime";import{Fragment as _M,jsx as PM}from"react/jsx-runtime";import{Fragment as FM,jsx as UM}from"react/jsx-runtime";import{Fragment as _t,jsx as A,jsxs as _}from"react/jsx-runtime";var Fs="k-colorgradient-inputs",Wi=[],Qi={size:[r.small,r.medium,r.large]},$s={mode:"rgba",size:r.medium},pt=e=>{let{mode:t=$s.mode,size:o,...a}=e;return _("div",{...a,className:s(Fs,"k-hstack"),children:[A("div",{className:"k-vstack",children:A(h,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),t==="rgba"&&_(_t,{children:[_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),A("label",{className:"k-colorgradient-input-label",children:"R"})]}),_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),A("label",{className:"k-colorgradient-input-label",children:"G"})]}),_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),A("label",{className:"k-colorgradient-input-label",children:"B"})]}),_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),A("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&_(_t,{children:[_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"R"})]}),_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"G"})]}),_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&_(_t,{children:[_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"H"})]}),_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"S"})]}),_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"V"})]}),_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),A("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&_(_t,{children:[_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"H"})]}),_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"S"})]}),_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&A(_t,{children:_("div",{className:"k-vstack k-flex-1",children:[A(be,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),A("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};pt.states=Wi;pt.options=Qi;pt.className=Fs;pt.defaultOptions=$s;import{jsx as qe,jsxs as We}from"react/jsx-runtime";var Xs="k-colorgradient-color-contrast",Yi=[],Zi={},ji={},mt=()=>We("div",{className:s(Xs,"k-vbox"),children:[We("div",{className:"k-contrast-ratio",children:[qe("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),We("span",{className:"k-contrast-validation !k-text-success",children:[qe(k,{icon:"check"}),qe(k,{icon:"check"})]})]}),We("div",{children:[qe("span",{children:"AA: 4.5"}),We("span",{className:"k-contrast-validation !k-text-success",children:["Pass",qe(k,{icon:"check"})]})]}),We("div",{children:[qe("span",{children:"AAA: 7.0"}),We("span",{className:"k-contrast-validation !k-text-error",children:["Fail",qe(k,{icon:"x"})]})]})]});mt.states=Yi;mt.options=Zi;mt.className=Xs;mt.defaultOptions=ji;var Vs="color-gradient",Js="colorgradient";import{jsx as Z,jsxs as wt}from"react/jsx-runtime";var ro="k-colorgradient",el=[n.hover,n.focus,n.readonly,n.disabled],tl={size:[r.small,r.medium,r.large]},ie={size:r.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:a=ie.readonly,disabled:l=ie.disabled,gradientStyle:p=ie.gradientStyle,dragHandleStyle:i=ie.dragHandleStyle,alphaStyle:u=ie.alphaStyle,alphaStyleHorizontal:f=ie.alphaStyleHorizontal,contrast:N=ie.contrast,dir:L,hover:S,focus:m,hoverHandle:M,focusHandle:x,canvasOrientation:v=ie.canvasOrientation,...g}=e;return wt("div",{...g,className:s(e.className,ro,E(ro,{size:t}),I(ro,{hover:S,focus:m,readonly:a,disabled:l})),dir:L,children:[!v||v==="horizontal"&&wt("div",{className:"k-colorgradient-canvas k-hstack",children:[Z("div",{className:"k-hsv-rectangle",style:p,children:Z("div",{className:"k-hsv-gradient",children:Z("div",{className:s("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":x}),style:i})})}),wt("div",{className:"k-hsv-controls k-hstack",children:[Z(Fo,{className:"k-hue-slider",hover:M,focus:x}),o!=="rgb"&&o!=="hsv"&&Z(Fo,{className:"k-alpha-slider",hover:M,focus:x,trackStyle:u})]})]}),v==="vertical"&&wt("div",{className:"k-colorgradient-canvas k-vstack",children:[Z("div",{className:"k-hsv-rectangle",style:p,children:Z("div",{className:"k-hsv-gradient",children:Z("div",{className:s("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":x}),style:i})})}),wt("div",{className:"k-hsv-controls k-vstack",children:[Z(Uo,{className:"k-hue-slider",hover:M,focus:x}),o!=="rgb"&&o!=="hsv"&&Z(Uo,{className:"k-alpha-slider",hover:M,focus:x,trackStyle:f})]})]}),Z(pt,{mode:e.mode,size:t}),N&&Z(mt,{})]})};xe.states=el;xe.options=tl;xe.className=ro;xe.defaultOptions=ie;xe.moduleName=Vs;xe.folderName=Js;import{jsx as Nh}from"react/jsx-runtime";import{jsx as hh}from"react/jsx-runtime";import{jsx as ol}from"react/jsx-runtime";var qs=e=>ol("tr",{children:e.children});import{jsx as rl}from"react/jsx-runtime";var tn="k-colorpalette-tile",nl=[n.hover,n.focus,n.selected],sl={},zt=e=>{let{color:t,tileSize:o,hover:a,focus:l,selected:p,...i}=e,u={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return rl("td",{...i,className:s(e.className,tn,I(tn,{hover:a,focus:l,selected:p})),style:u})};zt.states=nl;zt.options=sl;zt.className=tn;var Ws="color-palette",Qs="colorpalette";import{jsx as Ht}from"react/jsx-runtime";var ao="k-colorpalette",al=[n.disabled],il={size:[r.small,r.medium,r.large]},on={columns:10,size:r.medium},ze=e=>{let{size:t=on.size,palette:o,columns:a=on.columns,tileSize:l,disabled:p,...i}=e,u=[];if(o){let f=a||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/f)},(L,S)=>{let m=[];N.slice(S*f,(S+1)*f).map((x,v)=>{m.push(Ht(zt,{color:x,tileSize:l},v))});let M=Ht(qs,{children:m},S);u.push(M)})}return Ht("div",{...i,className:s(e.className,ao,I(ao,{disabled:p}),E(ao,{size:t})),children:Ht("table",{className:"k-colorpalette-table",children:Ht("tbody",{children:u.length>0?u:e.children})})})};ze.states=al;ze.options=il;ze.className=ao;ze.defaultOptions=on;ze.moduleName=Ws;ze.folderName=Qs;var nn={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 Xh}from"react/jsx-runtime";var Ys="color-editor",Zs="coloreditor";import{jsx as j,jsxs as ct}from"react/jsx-runtime";var io="k-coloreditor",ll=[n.focus],pl={size:[r.small,r.medium,r.large]},dt={size:r.medium,view:"gradient",palette:nn.office,actionButtons:!0,canvasOrientation:"horizontal"},ee=e=>{let{size:t=dt.size,view:o=dt.view,palette:a=dt.palette,color:l,currentColor:p,focus:i,focusView:u,dir:f,group:N,actionButtons:L=dt.actionButtons,canvasOrientation:S=dt.canvasOrientation,...m}=e;return ct("div",{...m,className:s(e.className,"k-flatcolorpicker",io,E(io,{size:t}),I(io,{focus:i})),dir:f,children:[ct("div",{className:"k-coloreditor-header k-hstack",children:[j("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&ct(K,{fillMode:"flat",children:[j(h,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),j(h,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),j("div",{className:"k-spacer"}),ct("div",{className:"k-coloreditor-header-actions k-hstack",children:[j(h,{fillMode:"flat",icon:"droplet-slash",size:t}),ct("div",{className:"k-coloreditor-preview k-vstack",children:[j(ge,{className:"k-coloreditor-preview-color",color:l}),j(ge,{className:"k-coloreditor-current-color",color:p})]})]})]}),j("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?j(xe,{focus:u,size:t,canvasOrientation:S}):j(ze,{palette:a,size:t})}),L&&ct(fe,{className:"k-coloreditor-footer",alignment:"start",children:[j(h,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),j(h,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ee.states=ll;ee.options=pl;ee.className=io;ee.defaultOptions=dt;ee.moduleName=Ys;ee.folderName=Zs;import{jsx as dS}from"react/jsx-runtime";import{jsx as NS}from"react/jsx-runtime";import{jsx as hS}from"react/jsx-runtime";import{jsx as ES}from"react/jsx-runtime";var js="color-picker",er="colorpicker";import{Fragment as dl,jsx as te,jsxs as rn}from"react/jsx-runtime";var tr="k-colorpicker",ml=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],cl={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[c.solid,c.flat,c.outline]},Dt={arrowIconName:"caret-alt-down",size:X.defaultOptions.size,rounded:X.defaultOptions.rounded,fillMode:X.defaultOptions.fillMode},le=e=>{let{size:t=Dt.size,rounded:o=Dt.rounded,fillMode:a=Dt.fillMode,arrowIconName:l=Dt.arrowIconName,prefix:p,suffix:i,value:u,placeholder:f,hover:N,focus:L,valid:S,invalid:m,required:M,disabled:x,valueIconName:v,popup:g,opened:T,adaptive:B,adaptiveSettings:G,adaptiveTitle:Ie,adaptiveSubtitle:ht,...St}=e;return rn(dl,{children:[rn(X,{...St,size:t,rounded:o,fillMode:a,hover:N,focus:L,valid:S,invalid:m,required:M,disabled:x,className:s(e.className,tr,"k-icon-picker"),childr