@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 293 kB
JavaScript
var OS=Object.create;var od=Object.defineProperty;var QS=Object.getOwnPropertyDescriptor;var VS=Object.getOwnPropertyNames;var XS=Object.getPrototypeOf,ZS=Object.prototype.hasOwnProperty;var JS=(e,t)=>{for(var a in t)od(e,a,{get:t[a],enumerable:!0})},Bf=(e,t,a,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of VS(t))!ZS.call(e,s)&&s!==a&&od(e,s,{get:()=>t[s],enumerable:!(r=QS(t,s))||r.enumerable});return e};var Mf=(e,t,a)=>(a=e!=null?OS(XS(e)):{},Bf(t||!e||!e.__esModule?od(a,"default",{value:e,enumerable:!0}):a,e)),jS=e=>Bf(od({},"__esModule",{value:!0}),e);var Z0={};JS(Z0,{SchedulerTimeline:()=>X0});module.exports=jS(Z0);var o=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?o(...t):typeof t=="object"?Object.keys(t).map((a,r)=>t[r]||t[a]&&a||null).filter(a=>a!==null).join(" "):t).filter(t=>!!t).join(" ");var C=(e,t)=>o({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.fillMode}-${t.themeColor}`]:t.fillMode&&t.themeColor},{[`${e}-${t.themeColor}`]:t.themeColor&&t.fillMode===void 0},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full"}),b=(e,t)=>o({"k-valid":t.valid,"k-invalid":t.invalid,"k-hover":t.hover,"k-focus":t.focus,"k-checked":t.checked,"k-active":t.active,"k-selected":t.selected,"k-disabled":t.disabled,"k-indeterminate":t.indeterminate&&!t.checked,"k-loading":t.loading,"k-empty":t.empty,"k-readonly":t.readonly});var n={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={small:"small",medium:"medium",large:"large",full:"full"},x={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},u={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},l={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly"},Qt={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var Ef=require("react/jsx-runtime"),ii="k-button-group",US=[l.disabled],qS={fillMode:[x.solid,x.flat,x.outline,x.clear,x.link]},Lf={fillMode:x.solid},P=e=>{let{fillMode:t=Lf.fillMode,disabled:a,stretched:r,...s}=e;return(0,Ef.jsx)("div",{...s,className:o(e.className,ii,C(ii,{fillMode:t}),b(ii,{disabled:a}),{[`${ii}-stretched`]:r}),children:e.children})};P.states=US;P.options=qS;P.className=ii;P.defaultOptions=Lf;var ni=require("react/jsx-runtime"),_c="k-icon k-font-icon",_S=[],$S={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},eI={},di=e=>{let{size:t,themeColor:a,icon:r,rotate:s,flip:i,...d}=e;return r?(0,ni.jsx)("span",{...d,className:o(e.className,_c,C(_c,{size:t}),{[`k-i-${r}`]:r,[`k-color-${a}`]:a,[`k-rotate-${s}`]:s,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"})}):(0,ni.jsx)(ni.Fragment,{})};di.states=_S;di.options=$S;di.className=_c;di.defaultOptions=eI;var Yf=di;var Cl=require("react/jsx-runtime"),$c="k-icon k-svg-icon",tI=[],oI={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},Pf={viewBox:"0 0 24 24"},ci=e=>{let{size:t,themeColor:a,rotate:r,flip:s,viewBox:i=Pf.viewBox,icon:d,...p}=e;if(!d)return(0,Cl.jsx)(Cl.Fragment,{});d==="none"&&{...p,className:o(e.className,$c,"k-none")};let m=typeof d=="object"&&d.name&&d.name;return(0,Cl.jsx)("span",{...p,className:o(e.className,$c,C("k-icon",{size:t}),{[`k-svg-i-${m}`]:m,[`k-color-${a}`]:a,[`k-rotate-${r}`]:r,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),children:(0,Cl.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof d=="object"?d.viewBox:i,dangerouslySetInnerHTML:typeof d=="object"?{__html:d.content}:void 0,children:d?void 0:e.children})})};ci.states=tI;ci.options=oI;ci.className=$c;ci.defaultOptions=Pf;var ep=ci;var Gf=Mf(require("@progress/kendo-svg-icons")),pa=require("react/jsx-runtime"),aI=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),lI=[],rI={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},tp={viewBox:"0 0 24 24",type:"svg"},v=e=>{let{size:t,themeColor:a,icon:r,type:s=tp.type,rotate:i,flip:d,viewBox:p=tp.viewBox,...m}=e;if(!r)return(0,pa.jsx)(pa.Fragment,{});if(s==="svg"){if(r==="none")return(0,pa.jsx)(ep,{...m,icon:r,size:t});let k=aI(`${r}-icon`);return Gf[k]?(0,pa.jsx)(ep,{...m,icon:Gf[k],size:t,themeColor:a,rotate:i,flip:d,viewBox:p}):(0,pa.jsx)(pa.Fragment,{})}return(0,pa.jsx)(Yf,{...m,icon:r,size:t,themeColor:a,rotate:i,flip:d})};v.states=lI;v.options=rI;v.defaultOptions=tp;var op=v;var yo=require("react/jsx-runtime"),ad="k-button",sI=[l.hover,l.focus,l.active,l.selected,l.disabled],iI={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Sl={size:n.medium,rounded:f.medium,fillMode:x.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},c=e=>{let{size:t=Sl.size,rounded:a=Sl.rounded,fillMode:r=Sl.fillMode,themeColor:s=Sl.themeColor,showArrow:i=Sl.showArrow,arrowIconName:d=Sl.arrowIconName,hover:p,focus:m,active:k,selected:y,disabled:A,icon:g,text:T,iconClassName:N,...S}=e,B=g!==void 0,L=e.children!==void 0;return(0,yo.jsxs)("button",{...S,className:o(e.className,ad,C(ad,{size:t,rounded:a,fillMode:r,themeColor:s}),b(ad,{hover:p,focus:m,active:k,disabled:A,selected:y}),{"k-icon-button":!T&&!L&&B}),children:[g&&(0,yo.jsx)(v,{className:o(N,"k-button-icon"),icon:g}),T?(0,yo.jsxs)(yo.Fragment,{children:[T&&(0,yo.jsx)("span",{className:"k-button-text",children:T}),e.children]}):e.children&&(0,yo.jsx)("span",{className:"k-button-text",children:e.children}),i&&(0,yo.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,yo.jsx)(v,{icon:d})})]})};c.states=sI;c.options=iI;c.className=ad;c.defaultOptions=Sl;var Kf=require("react/jsx-runtime"),Bt=e=>(0,Kf.jsx)(c,{icon:"folder",...e,children:void 0});var Df=require("react/jsx-runtime"),wo=e=>(0,Df.jsx)(c,{icon:"folder",children:"Button",...e});var nI=require("react/jsx-runtime");var ap=require("react/jsx-runtime");var lp=require("react/jsx-runtime");var rp=require("react/jsx-runtime");var sp=require("react/jsx-runtime");var ip=require("react/jsx-runtime");var Rf=require("react/jsx-runtime"),Ff="k-scheduler-layout",dI=[],cI={},pI={},pi=e=>{let{as:t="div",view:a,...r}=e;return(0,Rf.jsx)(t,{...r,className:o(e.className,Ff,{[`k-scheduler-${a}view`]:a}),children:e.children})};pi.states=dI;pi.options=cI;pi.className=Ff;pi.defaultOptions=pI;var zf=pi;var ld=require("react/jsx-runtime"),Hf="k-scheduler",mI=[],uI={},kI={},Qe=e=>{let{view:t,toolbar:a,footer:r,layout:s,...i}=e;return(0,ld.jsxs)("div",{...i,className:o(e.className,Hf),children:[a,(0,ld.jsx)(zf,{className:o({"k-scheduler-layout-flex":s==="flex"}),as:s==="table"?"table":"div",view:t,children:e.children}),r]})};Qe.states=mI;Qe.options=uI;Qe.className=Hf;Qe.defaultOptions=kI;var np=require("react/jsx-runtime"),hI="k-scheduler-header",Ma=e=>(0,np.jsx)("div",{...e,className:o(hI,e.className),children:(0,np.jsx)("div",{className:"k-scheduler-header-wrap",children:e.children})});var Wf=require("react/jsx-runtime"),fI="k-scheduler-content",La=e=>(0,Wf.jsx)("div",{...e,className:o(fI,e.className),children:e.children});var Of=require("react/jsx-runtime"),gI="k-scheduler-times",Il=e=>(0,Of.jsx)("div",{...e,className:o(gI,e.className),children:e.children});var Qf=require("react/jsx-runtime"),xI="k-scheduler-table",Ao=e=>(0,Qf.jsx)("table",{...e,className:o(xI,e.className),children:e.children});var dp=require("react/jsx-runtime"),Vf="k-scheduler-cell",bI=[],vI={},yI={},Z=e=>{let{cellType:t,allDay:a,text:r,colspan:s,rowspan:i,as:d="div",...p}=e,m=r||e.children;return(0,dp.jsx)(d,{...p,colSpan:s,rowSpan:i,className:o(Vf,e.className,{"k-scheduler-times-all-day":a},t==null?void 0:t.map(k=>({[`k-${k}-cell`]:!0}))),children:!a&&r?(0,dp.jsx)("span",{className:"k-link k-nav-day",children:m}):m})};Z.states=bI;Z.options=vI;Z.defaultOptions=yI;Z.className=Vf;var wI=require("react/jsx-runtime");var AI=require("react/jsx-runtime");var Xf=require("react/jsx-runtime"),rd="k-input",TI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],NI={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},sd={size:n.medium,rounded:n.medium,fillMode:x.solid},M=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p,size:m=sd.size,rounded:k=sd.rounded,fillMode:y=sd.fillMode,...A}=e;return(0,Xf.jsx)("span",{...A,className:o(e.className,rd,C(rd,{size:m,rounded:k,fillMode:y}),b(rd,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p}))})};M.states=TI;M.options=NI;M.className=rd;M.defaultOptions=sd;var Zf=require("react/jsx-runtime"),id="k-picker",CI=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],SI={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},nd={size:n.medium,rounded:f.medium,fillMode:x.solid},Vt=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p,size:m=nd.size,rounded:k=nd.rounded,fillMode:y=nd.fillMode,...A}=e;return(0,Zf.jsx)("span",{...A,className:o(e.className,id,C(id,{size:m,rounded:k,fillMode:y}),b(id,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:d,readonly:p})),children:e.children})};Vt.states=CI;Vt.options=SI;Vt.className=id;Vt.defaultOptions=nd;var Cr=require("react/jsx-runtime"),Jf="k-clear-value",II=[l.disabled,l.loading,l.readonly],BI={},ie=e=>{let{disabled:t,loading:a,readonly:r,value:s}=e;return t||r||a||!s?(0,Cr.jsx)(Cr.Fragment,{}):(0,Cr.jsx)("span",{className:o(e.className,Jf),children:(0,Cr.jsx)(v,{icon:"x"})})};ie.states=II;ie.options=BI;ie.className=Jf;var jf=require("react/jsx-runtime"),cp="k-input-inner",MI=[],LI={},dd={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=dd.value,type:a=dd.type,placeholder:r=dd.placeholder,autocomplete:s=dd.autocomplete,...i}=e;return(0,jf.jsx)("input",{...i,type:a,className:o(e.className,cp,C(cp,e)),placeholder:r,autoComplete:s,defaultValue:t})};ce.states=MI;ce.options=LI;ce.className=cp;var mi=require("react/jsx-runtime"),pp="k-input-inner",EI=[],YI={},ma=e=>{let{value:t,placeholder:a,showValue:r,valueIcon:s,valueIconName:i,...d}=e;return(0,mi.jsxs)("span",{...d,className:o(e.className,pp,C(pp,e)),children:[s,!s&&i&&(0,mi.jsx)(v,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&(0,mi.jsx)("span",{className:"k-input-value-text",children:t})]})};ma.states=EI;ma.options=YI;ma.className=pp;var qf=require("react/jsx-runtime"),mp="k-input-inner",PI=[],GI={},Uf={value:"",placeholder:""},ui=e=>{let{value:t=Uf.value,placeholder:a=Uf.placeholder,rows:r,...s}=e;return(0,qf.jsx)("textarea",{...s,className:o(e.className,mp,C(mp,e)),placeholder:a,rows:r,defaultValue:t})};ui.states=PI;ui.options=GI;ui.className=mp;var ki=require("react/jsx-runtime"),_f="k-input-loading-icon",KI=[l.disabled,l.loading],ee=e=>{let{disabled:t,loading:a}=e;return t||!a?(0,ki.jsx)(ki.Fragment,{}):(0,ki.jsx)("span",{className:o(e.className,_f,"k-icon k-i-loading")})};ee.states=KI;ee.className=_f;var hi=require("react/jsx-runtime"),$f="k-input-validation-icon",DI=[l.valid,l.invalid,l.disabled,l.loading],FI={},_=e=>{let{valid:t,invalid:a,disabled:r,loading:s}=e,i=a?"warning-circle":"check-circle";return r||s||!!!(t||a)?(0,hi.jsx)(hi.Fragment,{}):(0,hi.jsx)(v,{className:o($f),icon:i})};_.states=DI;_.options=FI;_.className=$f;var fi=require("react/jsx-runtime"),zI="k-input-prefix",RI={direction:"horizontal"},re=e=>{let{direction:t=RI.direction,...a}=e;return e.children?(0,fi.jsx)("span",{...a,className:o(zI,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,fi.jsx)(fi.Fragment,{})};var gi=require("react/jsx-runtime"),HI="k-input-suffix",WI={direction:"horizontal"},se=e=>{let{direction:t=WI.direction,...a}=e;return e.children?(0,gi.jsx)("span",{...a,className:o(HI,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,gi.jsx)(gi.Fragment,{})};var OI=require("react/jsx-runtime");var QI=require("react/jsx-runtime");var tg=require("react/jsx-runtime"),eg="k-input-separator",VI={direction:"vertical"},Se=e=>{let{direction:t=VI.direction,...a}=e;return(0,tg.jsx)("span",{...a,className:o(eg,e.className,{[`${eg}-${t}`]:t})})};var xi=require("react/jsx-runtime"),og="k-color-preview",XI=[],ZI={},Ea=e=>{let{color:t,iconName:a,...r}=e;return(0,xi.jsxs)("span",{...r,className:o(e.className,og,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&(0,xi.jsx)(v,{icon:a,className:"k-color-preview-icon"}),(0,xi.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ea.states=XI;Ea.options=ZI;Ea.className=og;var up=require("react/jsx-runtime"),ag="k-animation-container",JI=[],jI={},lg={positionMode:"absolute"},Ya=e=>{let{positionMode:t=lg.positionMode,animationStyle:a,offset:r,...s}=e;return(0,up.jsx)("div",{...s,style:{...r,...e.style},className:o(e.className,ag,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,up.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};Ya.states=JI;Ya.options=jI;Ya.className=ag;Ya.defaultOptions=lg;var kp=require("react/jsx-runtime"),rg="k-popup",UI=[],qI={},sg={positionMode:"absolute"},W=e=>{let{offset:t,positionMode:a=sg.positionMode,animationStyle:r,...s}=e;return(0,kp.jsx)(Ya,{positionMode:a,offset:t,animationStyle:r,children:(0,kp.jsx)("div",{...s,className:o(e.className,rg),children:e.children})})};W.states=UI;W.options=qI;W.className=rg;W.defaultOptions=sg;var ng=require("react/jsx-runtime"),cd="k-actions",_I=[],$I={},hp={alignment:"start",orientation:"horizontal"},j=e=>{let{alignment:t=hp.alignment,orientation:a=hp.orientation,...r}=e;return(0,ng.jsx)("div",{...r,className:o(cd,{[`${cd}-${t}`]:t,[`${cd}-${a}`]:a},e.className),children:e.children})};j.states=_I;j.options=$I;j.className=cd;j.defaultOptions=hp;var ig=j;var cg=require("react/jsx-runtime"),eB="k-actionsheet-footer",dg={alignment:"stretched",orientation:"horizontal"},To=e=>{let{alignment:t=dg.alignment,orientation:a=dg.orientation,template:r,as:s=r?"div":j,...i}=e;return(0,cg.jsx)(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,eB),children:e.children})};var Pa=require("react/jsx-runtime"),pg="k-searchbox",tB=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],oB={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},fp={showIcon:!0,icon:"search",size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode},it=e=>{let{value:t,placeholder:a,size:r,rounded:s,fillMode:i,hover:d,focus:p,valid:m,invalid:k,required:y,loading:A,disabled:g,showIcon:T=fp.showIcon,icon:N=fp.icon,...S}=e;return(0,Pa.jsxs)(M,{...S,size:r,rounded:s,fillMode:i,hover:d,focus:p,valid:m,invalid:k,required:y,loading:A,disabled:g,className:o(e.className,pg),children:[T&&(0,Pa.jsx)(v,{className:"k-input-icon",icon:N}),(0,Pa.jsx)(ce,{placeholder:a,value:t}),(0,Pa.jsx)(ee,{...e}),(0,Pa.jsx)(_,{...e}),(0,Pa.jsx)(ie,{...e})]})};it.states=tB;it.options=oB;it.className=pg;it.defaultOptions=fp;var aB=require("react/jsx-runtime");var bt=require("react/jsx-runtime"),mg="k-textbox",lB=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],rB={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Bl={showClearButton:!0,showValidationIcon:!0,size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode,separators:!0},$=e=>{let{size:t=Bl.size,rounded:a=Bl.rounded,fillMode:r=Bl.fillMode,separators:s=Bl.separators,showClearButton:i=Bl.showClearButton,showValidationIcon:d=Bl.showValidationIcon,prefix:p,suffix:m,type:k,value:y,placeholder:A,hover:g,focus:T,valid:N,invalid:S,required:B,loading:L,disabled:K,readonly:H,...J}=e;return(0,bt.jsxs)(M,{...J,size:t,rounded:a,fillMode:r,hover:g,focus:T,valid:N,invalid:S,required:B,loading:L,disabled:K,readonly:H,className:o(e.className,mg),children:[p&&(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(re,{children:p}),s&&(0,bt.jsx)(Se,{})]}),(0,bt.jsx)(ce,{placeholder:A,value:y,type:k}),d&&(0,bt.jsx)(_,{valid:N,invalid:S,loading:L,disabled:K}),(0,bt.jsx)(ee,{loading:L,disabled:K}),i&&(0,bt.jsx)(ie,{loading:L,disabled:K,readonly:H,value:y}),m&&(0,bt.jsxs)(bt.Fragment,{children:[s&&(0,bt.jsx)(Se,{}),(0,bt.jsx)(se,{children:m})]})]})};$.states=lB;$.options=rB;$.className=mg;$.defaultOptions=Bl;var sB=require("react/jsx-runtime");var kg=require("react/jsx-runtime");var fg=require("react/jsx-runtime");var Xt=require("react/jsx-runtime"),gg="k-actionsheet-titlebar",iB={},ne=e=>{let{title:t,subtitle:a,actionsStart:r,actionsEnd:s,filter:i,input:d,inputValue:p,inputPlaceholder:m,adaptive:k,children:y,...A}=e;return(0,Xt.jsxs)("div",{...A,className:o(e.className,gg),children:[(0,Xt.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[r&&(0,Xt.jsx)("div",{className:"k-actionsheet-actions",children:r}),!y&&(0,Xt.jsxs)("div",{className:"k-actionsheet-title",children:[t&&(0,Xt.jsx)("div",{className:"k-text-center",children:t}),a&&(0,Xt.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:a})]}),y&&(0,Xt.jsx)("div",{className:"k-actionsheet-title",children:y}),s&&(0,Xt.jsx)("div",{className:"k-actionsheet-actions",children:s})]}),(d||i)&&(0,Xt.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?(0,Xt.jsx)($,{value:p,placeholder:m,size:k?"large":"medium"}):(0,Xt.jsx)(it,{placeholder:"Filter",size:k?"large":"medium"})})]})};ne.className=gg;ne.defaultOptions=iB;var Sr=require("react/jsx-runtime"),gp="k-actionsheet-view",nB=[],dB={},cB={},Ir=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...d}=e,p=(s==null?void 0:s.type)===ne&&(0,Sr.jsx)(ne,{adaptive:t,...s==null?void 0:s.props}),m=(i==null?void 0:i.type)===To&&(0,Sr.jsx)(To,{...i==null?void 0:i.props});return(0,Sr.jsxs)("div",{...d,className:o(e.className,gp,{[`${gp}-animated`]:a}),children:[p,(0,Sr.jsx)("div",{className:"k-actionsheet-content",children:r}),m]})};Ir.states=nB;Ir.options=dB;Ir.className=gp;Ir.defaultOptions=cB;var Ml=require("react/jsx-runtime"),xg="k-actionsheet",pB=[],mB={},bi={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},pe=e=>{let{side:t=bi.side,fullscreen:a=bi.fullscreen,adaptive:r=bi.adaptive,overlay:s=bi.overlay,template:i,children:d,header:p,footer:m,...k}=e;return(0,Ml.jsxs)("div",{className:"k-actionsheet-container",children:[s&&(0,Ml.jsx)("div",{className:"k-overlay"}),(0,Ml.jsx)(Ya,{animationStyle:{[`${a===!0?"top":t}`]:0,[`${a===!0?"width":null}`]:"100%",[`${a===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:(0,Ml.jsx)("div",{...k,className:o(e.className,xg,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||(0,Ml.jsx)(Ir,{header:p,footer:m,adaptive:r,...e,children:d})})})]})};pe.states=pB;pe.options=mB;pe.className=xg;pe.defaultOptions=bi;var uB=require("react/jsx-runtime");var io=require("react/jsx-runtime"),xp="k-actionsheet-item",kB=[l.hover,l.focus,l.selected,l.disabled],bp=e=>{let{iconName:t,text:a,description:r,hover:s,focus:i,selected:d,disabled:p,...m}=e;return(0,io.jsxs)("span",{...m,className:o(e.className,xp,b(xp,{hover:s,focus:i,selected:d,disabled:p})),children:[!e.children&&(0,io.jsx)(io.Fragment,{children:(0,io.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,io.jsx)("span",{className:"k-icon-wrap",children:(0,io.jsx)(v,{className:"k-actionsheet-item-icon",icon:t})}),(0,io.jsxs)("span",{className:"k-actionsheet-item-text",children:[a&&(0,io.jsx)("span",{className:"k-actionsheet-item-title",children:a}),r&&(0,io.jsx)("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};bp.states=kB;bp.className=xp;var bg=require("react/jsx-runtime");var hB=require("react/jsx-runtime");var fB=require("react/jsx-runtime");var gB=require("react/jsx-runtime");var No=require("react/jsx-runtime"),vi="k-slider",xB=[l.hover,l.focus,l.active,l.disabled,l.readonly],bB={},Ga={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},Zt=e=>{let{type:t=Ga.type,orientation:a=Ga.orientation,readonly:r=Ga.readonly,disabled:s=Ga.disabled,handlePosition:i=Ga.handlePosition,showButtons:d=Ga.showButtons,showTicks:p=Ga.showTicks,hover:m,focus:k,active:y,trackStyle:A,dir:g,...T}=e,N,S;return a==="horizontal"?(N=g==="rtl"?"caret-alt-left":"caret-alt-right",S=g==="rtl"?"caret-alt-right":"caret-alt-left"):a==="vertical"&&(N="caret-alt-up",S="caret-alt-down"),(0,No.jsxs)("div",{...T,className:o(vi,e.className,b(vi,{readonly:r,disabled:s}),{[`k-slider-${a}`]:a,"k-colorgradient-slider":t==="gradient"}),dir:g,children:[d&&(0,No.jsx)(c,{className:"k-button-decrease",rounded:"full",icon:S}),(0,No.jsxs)("div",{className:"k-slider-track-wrap",children:[p&&(0,No.jsx)("ul",{className:"k-reset k-slider-items",children:e.children}),(0,No.jsxs)("div",{className:"k-slider-track",style:A,children:[(0,No.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,No.jsx)("span",{className:o("k-draghandle","k-draghandle-start",b(vi,{hover:m,focus:k,active:y}))}),(0,No.jsx)("span",{className:o("k-draghandle",`k-draghandle-${i}`,b(vi,{hover:m,focus:k,active:y}))})]})]}),d&&(0,No.jsx)(c,{className:"k-button-increase",rounded:"full",icon:N})]})};Zt.states=xB;Zt.options=bB;Zt.className=vi;Zt.defaultOptions=Ga;var vp=require("react/jsx-runtime"),yg="k-tick",vB=[],yB={},wg={label:!1},qe=e=>{let{style:t,label:a=wg.label,orientation:r,large:s,text:i,...d}=e;return(0,vp.jsx)("li",{...d,className:o(e.className,yg,{[`k-tick-${r}`]:r,"k-tick-large":s}),style:t,children:a&&(0,vp.jsx)("span",{className:"k-label",children:i})})};qe.states=vB;qe.options=yB;qe.className=yg;qe.defaultOptions=wg;var pt=require("react/jsx-runtime"),pd=e=>(0,pt.jsx)(Zt,{children:(0,pt.jsxs)(pt.Fragment,{children:[(0,pt.jsx)(qe,{className:"k-first",label:!0,large:!0,text:"0"}),(0,pt.jsx)(qe,{}),(0,pt.jsx)(qe,{}),(0,pt.jsx)(qe,{}),(0,pt.jsx)(qe,{}),(0,pt.jsx)(qe,{label:!0,large:!0,text:"5"}),(0,pt.jsx)(qe,{}),(0,pt.jsx)(qe,{}),(0,pt.jsx)(qe,{}),(0,pt.jsx)(qe,{}),(0,pt.jsx)(qe,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var yp=require("react/jsx-runtime");var wp=require("react/jsx-runtime");var Ap=require("react/jsx-runtime");var Ag=require("react/jsx-runtime"),Tp=e=>(0,Ag.jsx)(Zt,{type:"gradient",showButtons:!1,showTicks:!1,...e});var Tg=require("react/jsx-runtime"),Np=e=>(0,Tg.jsx)(Zt,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});var yi=require("react/jsx-runtime"),Ng="k-spin-button",wB=[],AB={size:[n.small,n.medium,n.large],fillMode:[x.solid,x.flat,x.outline,x.clear,x.link]},Cp={size:n.medium,fillMode:x.solid},Ka=e=>{let{size:t=Cp.size,fillMode:a=Cp.fillMode,...r}=e;return(0,yi.jsxs)("span",{...r,className:o(Ng,e.className),children:[(0,yi.jsx)(c,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:a}),(0,yi.jsx)(c,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:a})]})};Ka.states=wB;Ka.options=AB;Ka.className=Ng;Ka.defaultOptions=Cp;var mt=require("react/jsx-runtime"),Cg="k-numerictextbox",TB=[l.hover,l.focus,l.valid,l.invalid,l.loading,l.required,l.disabled,l.readonly],NB={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Ll={showSpinButton:!0,showClearButton:!0,size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode,separators:!0},be=e=>{let{size:t=Ll.size,rounded:a=Ll.rounded,fillMode:r=Ll.fillMode,separators:s=Ll.separators,showClearButton:i=Ll.showClearButton,showSpinButton:d=Ll.showSpinButton,prefix:p,suffix:m,value:k,placeholder:y,hover:A,focus:g,valid:T,invalid:N,required:S,loading:B,disabled:L,readonly:K,...H}=e;return(0,mt.jsxs)(M,{...H,size:t,rounded:a,fillMode:r,hover:A,focus:g,valid:T,invalid:N,required:S,loading:B,disabled:L,readonly:K,className:o(e.className,Cg),children:[p&&(0,mt.jsxs)(mt.Fragment,{children:[(0,mt.jsx)(re,{children:p}),s&&(0,mt.jsx)(Se,{})]}),(0,mt.jsx)(ce,{placeholder:y,value:k}),(0,mt.jsx)(_,{valid:T,invalid:N,loading:B,disabled:L}),(0,mt.jsx)(ee,{loading:B,disabled:L}),i&&(0,mt.jsx)(ie,{loading:B,disabled:L,readonly:K,value:k}),m&&(0,mt.jsxs)(mt.Fragment,{children:[s&&(0,mt.jsx)(Se,{}),(0,mt.jsx)(se,{children:m})]}),d&&(0,mt.jsx)(Ka,{className:"k-input-spinner",size:t,fillMode:r})]})};be.states=TB;be.options=NB;be.className=Cg;be.defaultOptions=Ll;var CB=require("react/jsx-runtime");var Ig=require("react/jsx-runtime"),SB="k-no-data",wi=e=>(0,Ig.jsx)("span",{className:o(SB,e.className),children:e.children});var Fo=require("react/jsx-runtime"),Sp="k-list",IB=[],BB={size:[n.small,n.medium,n.large]},Bg={size:n.medium},U=e=>{let{size:t=Bg.size,virtualization:a,children:r,optionLabel:s,customValue:i,screenReaders:d,...p}=e,m,k,y,A,g=[];return r?r.map((T,N)=>{T.type===Le?(T.props.root===!0?(m=T.props.label,T.props.children.map((S,B)=>{g.push((0,Fo.jsx)(D,{...S.props},`optChild-${B}-${new Date().getTime()}`))})):T.props.children.forEach((S,B)=>{let L="";B===0&&(L=T.props.label),g.push((0,Fo.jsx)(D,{className:B===0?"k-first":"",...S.props,groupLabel:L},`groupLabel-${B}-${new Date().getTime()}`))}),k=(0,Fo.jsx)(Le,{label:m,virtualization:a,children:g})):T.type===D&&(g.push((0,Fo.jsx)(D,{...T.props},`${T.type}-${N}`)),y=(0,Fo.jsx)(Br,{virtualization:a,children:g}),d&&(A=(0,Fo.jsxs)(wi,{className:"k-sr-only",children:[g.length," items found."]})))}):A=(0,Fo.jsx)(wi,{children:"No data found."}),(0,Fo.jsxs)("div",{...p,className:o(e.className,Sp,C(Sp,{size:t}),{"k-virtual-list":a}),children:[s,i,k,y,A]})};U.states=IB;U.options=BB;U.className=Sp;U.defaultOptions=Bg;var zo=require("react/jsx-runtime"),Ip="k-list",MB=[],LB={size:[n.small,n.medium,n.large]},Mg={size:n.medium},El=e=>{let{size:t=Mg.size,virtualization:a,children:r,...s}=e,i,d,p,m=[];return r?r.map((k,y)=>{k.type===Le?(k.props.root===!0?(i=k.props.label,k.props.children.map((A,g)=>{m.push((0,zo.jsx)(D,{...A.props},`optChild-${g}-${new Date().getTime()}`))})):(m.push((0,zo.jsx)(Lg,{...k.props,children:k.props.label},`listChild-${y}`)),k.props.children.map((A,g)=>{m.push((0,zo.jsx)(D,{...A.props},`fwOptChild-${g}-${new Date().getTime()}`))})),d=(0,zo.jsx)(Le,{label:i,virtualization:a,children:m})):k.type===D&&(m.push((0,zo.jsx)(D,{...k.props},`${k.type}-${y}`)),p=(0,zo.jsx)(Br,{virtualization:a,children:m}))}):p=(0,zo.jsx)(wi,{children:"No data found."}),(0,zo.jsxs)("div",{...s,className:o(e.className,Ip,C(Ip,{size:t}),{"k-virtual-list":a}),children:[d,p]})};El.states=MB;El.options=LB;El.className=Ip;El.defaultOptions=Mg;var Mp=require("react/jsx-runtime"),md="k-checkbox",EB=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],YB={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full]},Bp={size:n.medium,rounded:f.medium},ut=e=>{let{id:t,checked:a,indeterminate:r,hover:s,focus:i,disabled:d,invalid:p,valid:m,required:k,size:y=Bp.size,rounded:A=Bp.rounded,...g}=e;return(0,Mp.jsx)("span",{className:"k-checkbox-wrap",children:(0,Mp.jsx)("input",{...g,id:t,type:"checkbox",defaultChecked:a,required:k,className:o(e.className,md,C(md,{size:y,rounded:A}),b(md,{hover:s,focus:i,disabled:d,invalid:p,valid:m,indeterminate:r,checked:a}))})})};ut.states=EB;ut.options=YB;ut.className=md;ut.defaultOptions=Bp;var Pg=require("react/jsx-runtime"),Eg="k-checkbox-list",PB=[],GB={},Yg={layout:"vertical"},Mr=e=>{let{layout:t=Yg.layout,...a}=e;return(0,Pg.jsx)("ul",{...a,className:o(e.className,Eg,{[`k-list-${t}`]:t}),children:e.children})};Mr.states=PB;Mr.options=GB;Mr.className=Eg;Mr.defaultOptions=Yg;var Kg=require("react/jsx-runtime"),Gg="k-checkbox-list-item",KB=[],DB={},FB={},Lr=e=>{let{...t}=e;return(0,Kg.jsx)("li",{...t,className:o(e.className,Gg),children:e.children})};Lr.states=KB;Lr.options=DB;Lr.className=Gg;Lr.defaultOptions=FB;var Ep=require("react/jsx-runtime");var Yp=require("react/jsx-runtime");var Pp=require("react/jsx-runtime");var Gp=require("react/jsx-runtime");var zB=require("react/jsx-runtime");var RB=require("react/jsx-runtime");var Yl=require("react/jsx-runtime"),Kp="k-list-item",HB=[l.hover,l.focus,l.selected,l.disabled],WB={},OB={},D=e=>{let{text:t,groupLabel:a,group:r,showIcon:s,iconName:i,showCheckbox:d,checked:p,hover:m,focus:k,selected:y,disabled:A,...g}=e,T=t||e.children;return(0,Yl.jsxs)("li",{...g,className:o(e.className,r?"k-list-group-item":Kp,b(Kp,{hover:m,focus:k,disabled:A,selected:y})),children:[d&&(0,Yl.jsx)(ut,{checked:p}),s&&(0,Yl.jsx)(v,{icon:i}),(0,Yl.jsx)("span",{className:"k-list-item-text",children:T}),a&&a!==""&&(0,Yl.jsx)("div",{className:"k-list-item-group-label",children:a})]})};D.states=HB;D.options=WB;D.className=Kp;D.defaultOptions=OB;var Er=require("react/jsx-runtime"),QB="k-list-content",Br=e=>{let{virtualization:t,...a}=e;return(0,Er.jsxs)("div",{...a,className:o(QB,e.className),children:[(0,Er.jsx)("ul",{className:o("k-list-ul"),children:e.children}),t&&(0,Er.jsx)("div",{className:"k-height-container",children:(0,Er.jsx)("div",{})})]})};var Dp=require("react/jsx-runtime"),VB="k-list-group-sticky-header",Dg=e=>(0,Dp.jsx)("div",{className:o(VB,e.className),children:(0,Dp.jsx)("div",{className:"k-list-header-text",children:e.children})});var Pl=require("react/jsx-runtime"),Le=e=>{let{virtualization:t,label:a}=e;return(0,Pl.jsxs)(Pl.Fragment,{children:[a&&(0,Pl.jsx)(Dg,{children:a}),e.children&&(0,Pl.jsx)(Br,{virtualization:t,children:e.children})]})};var Fp=require("react/jsx-runtime"),XB="k-list-group-item",Lg=e=>(0,Fp.jsx)("li",{className:o(XB,e.className),children:(0,Fp.jsx)("span",{className:"k-list-item-text",children:e.children})});var Fg=require("react/jsx-runtime"),zp="k-list-optionlabel",ZB=[l.hover,l.focus,l.selected,l.disabled],JB={},jB={},ud=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return(0,Fg.jsx)("div",{...d,className:o(zp,b(zp,{hover:a,focus:r,selected:s,disabled:i})),children:t})};ud.states=ZB;ud.options=JB;ud.className=zp;ud.defaultOptions=jB;var zg=require("react/jsx-runtime"),Rp="k-list-custom-value",UB=[l.hover,l.focus,l.selected,l.disabled],qB={},_B={},vt=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...d}=e;return(0,zg.jsx)("div",{...d,className:o(Rp,b(Rp,{hover:a,focus:r,selected:s,disabled:i})),children:t})};vt.states=UB;vt.options=qB;vt.className=Rp;vt.defaultOptions=_B;var $B=require("react/jsx-runtime");var eM=require("react/jsx-runtime");var Rg=require("react/jsx-runtime");var Hg=require("react/jsx-runtime");var tM=require("react/jsx-runtime");var Wg=require("react/jsx-runtime");var Og=require("react/jsx-runtime");var Fe=require("react/jsx-runtime"),Qg="k-dropdownlist",oM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],aM={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[x.solid,x.flat,x.outline]},Yr={showValue:!0,arrowIconName:"caret-alt-down",size:n.medium,rounded:f.medium,fillMode:x.solid},me=e=>{let{size:t=Yr.size,rounded:a=Yr.rounded,fillMode:r=Yr.fillMode,arrowIconName:s=Yr.arrowIconName,showValue:i=Yr.showValue,valueIconName:d,prefix:p,suffix:m,value:k,placeholder:y,hover:A,focus:g,valid:T,invalid:N,required:S,loading:B,disabled:L,readonly:K,popup:H,opened:J,adaptive:Ce,adaptiveSettings:Ue,adaptiveTitle:It,adaptiveSubtitle:vo,adaptiveFilter:Nl,...Nr}=e;return(0,Fe.jsxs)(Fe.Fragment,{children:[(0,Fe.jsxs)(Vt,{...Nr,size:t,rounded:a,fillMode:r,hover:A,focus:g,valid:T,invalid:N,required:S,loading:B,disabled:L,readonly:K,className:o(e.className,Qg,{"k-icon-picker":!i&&d}),children:[(0,Fe.jsx)(re,{children:p}),(0,Fe.jsx)(ma,{placeholder:y,value:k,showValue:i,valueIconName:d}),(0,Fe.jsx)(_,{valid:T,invalid:N,loading:B,disabled:L}),(0,Fe.jsx)(ee,{loading:B,disabled:L}),(0,Fe.jsx)(se,{children:m}),(0,Fe.jsx)(c,{className:"k-input-button",icon:s,rounded:null,size:e.size,fillMode:e.fillMode})]}),J&&H&&(0,Fe.jsx)(W,{className:"k-list-container k-dropdownlist-popup",children:H}),Ce&&(0,Fe.jsx)(pe,{adaptive:!0,...Ue,header:(0,Fe.jsx)(ne,{actionsEnd:(0,Fe.jsx)(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Nl,inputValue:k,inputPlaceholder:y,title:It,subtitle:vo}),children:(0,Fe.jsx)("div",{className:"k-list-container",children:(0,Fe.jsxs)(U,{size:"large",children:[(0,Fe.jsx)(D,{text:"List item"}),(0,Fe.jsx)(D,{text:"List item"}),(0,Fe.jsx)(D,{text:"List item"})]})})})]})};me.states=oM;me.options=aM;me.className=Qg;me.defaultOptions=Yr;var lM=require("react/jsx-runtime");var Vg=require("react/jsx-runtime");var Hp=require("react/jsx-runtime");var rM=require("react/jsx-runtime");var Xg=require("react/jsx-runtime");var Zg=require("react/jsx-runtime");var Wp=require("react/jsx-runtime");var Op=require("react/jsx-runtime");var Jg=require("react/jsx-runtime");var jg=require("react/jsx-runtime");var G=require("react/jsx-runtime"),Ug="k-colorgradient-inputs",sM=[],iM={size:[n.small,n.medium,n.large]},qg={mode:"rgba",size:n.medium},Pr=e=>{let{mode:t=qg.mode,size:a,...r}=e;return(0,G.jsxs)("div",{...r,className:o(Ug,"k-hstack"),children:[(0,G.jsx)("div",{className:"k-vstack",children:(0,G.jsx)(c,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:a})}),t==="rgba"&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)("div",{className:"k-vstack",children:[(0,G.jsx)(be,{showSpinButton:!1,showClearButton:!1,value:"132",size:a}),(0,G.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,G.jsxs)("div",{className:"k-vstack",children:[(0,G.jsx)(be,{showSpinButton:!1,showClearButton:!1,value:"132",size:a}),(0,G.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,G.jsxs)("div",{className:"k-vstack",children:[(0,G.jsx)(be,{showSpinButton:!1,showClearButton:!1,value:"132",size:a}),(0,G.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,G.jsxs)("div",{className:"k-vstack",children:[(0,G.jsx)(be,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:a}),(0,G.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)("div",{className:"k-vstack",children:[(0,G.jsx)(be,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,G.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,G.jsxs)("div",{className:"k-vstack",children:[(0,G.jsx)(be,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,G.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,G.jsxs)("div",{className:"k-vstack",children:[(0,G.jsx)(be,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,G.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)("div",{className:"k-vstack",children:[(0,G.jsx)(be,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,G.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,G.jsxs)("div",{className:"k-vstack",children:[(0,G.jsx)(be,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,G.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,G.jsxs)("div",{className:"k-vstack",children:[(0,G.jsx)(be,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,G.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,G.jsxs)("div",{className:"k-vstack",children:[(0,G.jsx)(be,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),(0,G.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)("div",{className:"k-vstack",children:[(0,G.jsx)(be,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,G.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,G.jsxs)("div",{className:"k-vstack",children:[(0,G.jsx)(be,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,G.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,G.jsxs)("div",{className:"k-vstack",children:[(0,G.jsx)(be,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,G.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,G.jsx)(G.Fragment,{children:(0,G.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,G.jsx)($,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,G.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Pr.states=sM;Pr.options=iM;Pr.className=Ug;Pr.defaultOptions=qg;var yt=require("react/jsx-runtime"),_g="k-colorgradient-color-contrast",nM=[],dM={},cM={},Gr=()=>(0,yt.jsxs)("div",{className:o(_g,"k-vbox"),children:[(0,yt.jsxs)("div",{className:"k-contrast-ratio",children:[(0,yt.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,yt.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,yt.jsx)(v,{icon:"check"}),(0,yt.jsx)(v,{icon:"check"})]})]}),(0,yt.jsxs)("div",{children:[(0,yt.jsx)("span",{children:"AA: 4.5"}),(0,yt.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,yt.jsx)(v,{icon:"check"})]})]}),(0,yt.jsxs)("div",{children:[(0,yt.jsx)("span",{children:"AAA: 7.0"}),(0,yt.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,yt.jsx)(v,{icon:"x"})]})]})]});Gr.states=nM;Gr.options=dM;Gr.className=_g;Gr.defaultOptions=cM;var _e=require("react/jsx-runtime"),kd="k-colorgradient",pM=[l.hover,l.focus,l.readonly,l.disabled],mM={size:[n.small,n.medium,n.large]},Co={size:n.medium,mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},Da=e=>{let{size:t=Co.size,mode:a=Co.mode,readonly:r=Co.readonly,disabled:s=Co.disabled,gradientStyle:i=Co.gradientStyle,dragHandleStyle:d=Co.dragHandleStyle,alphaStyle:p=Co.alphaStyle,alphaStyleHorizontal:m=Co.alphaStyleHorizontal,contrast:k=Co.contrast,dir:y,hover:A,focus:g,hoverHandle:T,focusHandle:N,canvasOrientation:S=Co.canvasOrientation,...B}=e;return(0,_e.jsxs)("div",{...B,className:o(e.className,kd,C(kd,{size:t}),b(kd,{hover:A,focus:g,readonly:r,disabled:s})),dir:y,children:[!S||S==="horizontal"&&(0,_e.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,_e.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,_e.jsx)("div",{className:"k-hsv-gradient",children:(0,_e.jsx)("div",{className:o("k-hsv-draghandle","k-draghandle",{"k-hover":T,"k-focus":N}),style:d})})}),(0,_e.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,_e.jsx)(Np,{className:"k-hue-slider",hover:T,focus:N}),a!=="rgb"&&a!=="hsv"&&(0,_e.jsx)(Np,{className:"k-alpha-slider",hover:T,focus:N,trackStyle:p})]})]}),S==="vertical"&&(0,_e.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,_e.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,_e.jsx)("div",{className:"k-hsv-gradient",children:(0,_e.jsx)("div",{className:o("k-hsv-draghandle","k-draghandle",{"k-hover":T,"k-focus":N}),style:d})})}),(0,_e.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,_e.jsx)(Tp,{className:"k-hue-slider",hover:T,focus:N}),a!=="rgb"&&a!=="hsv"&&(0,_e.jsx)(Tp,{className:"k-alpha-slider",hover:T,focus:N,trackStyle:m})]})]}),(0,_e.jsx)(Pr,{mode:e.mode,size:t}),k&&(0,_e.jsx)(Gr,{})]})};Da.states=pM;Da.options=mM;Da.className=kd;Da.defaultOptions=Co;var uM=require("react/jsx-runtime");var kM=require("react/jsx-runtime");var ex=require("react/jsx-runtime"),$g=e=>(0,ex.jsx)("tr",{children:e.children});var tx=require("react/jsx-runtime"),Qp="k-colorpalette-tile",hM=[l.hover,l.focus,l.selected],fM={},Ai=e=>{let{color:t,tileSize:a,hover:r,focus:s,selected:i,...d}=e,p={backgroundColor:t,width:a?a+"px":"",height:a?a+"px":""};return(0,tx.jsx)("td",{...d,className:o(e.className,Qp,b(Qp,{hover:r,focus:s,selected:i})),style:p})};Ai.states=hM;Ai.options=fM;Ai.className=Qp;var Kr=require("react/jsx-runtime"),hd="k-colorpalette",gM=[l.disabled],xM={size:[n.small,n.medium,n.large]},Vp={columns:10,size:n.medium},Dr=e=>{let{size:t=Vp.size,palette:a,columns:r=Vp.columns,tileSize:s,disabled:i,...d}=e,p=[];if(a){let m=r||a.columns,k=a.colors?a.colors:a;Array.isArray(k)&&Array.from({length:Math.ceil(k.length/m)},(y,A)=>{let g=[];k.slice(A*m,(A+1)*m).map((N,S)=>{g.push((0,Kr.jsx)(Ai,{color:N,tileSize:s},S))});let T=(0,Kr.jsx)($g,{children:g},A);p.push(T)})}return(0,Kr.jsx)("div",{...d,className:o(e.className,hd,b(hd,{disabled:i}),C(hd,{size:t})),children:(0,Kr.jsx)("table",{className:"k-colorpalette-table",children:(0,Kr.jsx)("tbody",{children:p.length>0?p:e.children})})})};Dr.states=gM;Dr.options=xM;Dr.className=hd;Dr.defaultOptions=Vp;var Xp={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}};var bM=require("react/jsx-runtime");var Ve=require("react/jsx-runtime"),fd="k-coloreditor",vM=[l.focus],yM={size:[n.small,n.medium,n.large]},Fr={size:n.medium,view:"gradient",palette:Xp.office,actionButtons:!0,canvasOrientation:"horizontal"},Ro=e=>{let{size:t=Fr.size,view:a=Fr.view,palette:r=Fr.palette,color:s,currentColor:i,focus:d,focusView:p,dir:m,group:k,actionButtons:y=Fr.actionButtons,canvasOrientation:A=Fr.canvasOrientation,...g}=e;return(0,Ve.jsxs)("div",{...g,className:o(e.className,"k-flatcolorpicker",fd,C(fd,{size:t}),b(fd,{focus:d})),dir:m,children:[(0,Ve.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,Ve.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:k&&(0,Ve.jsxs)(P,{fillMode:"flat",children:[(0,Ve.jsx)(c,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:a==="gradient"}),(0,Ve.jsx)(c,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:a==="palette"})]})}),(0,Ve.jsx)("div",{className:"k-spacer"}),(0,Ve.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,Ve.jsx)(c,{fillMode:"flat",icon:"droplet-slash",size:t}),(0,Ve.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,Ve.jsx)(Ea,{className:"k-coloreditor-preview-color",color:s}),(0,Ve.jsx)(Ea,{className:"k-coloreditor-current-color"