@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 101 kB
JavaScript
var Pm=Object.create;var va=Object.defineProperty;var _m=Object.getOwnPropertyDescriptor;var Gm=Object.getOwnPropertyNames;var Dm=Object.getPrototypeOf,zm=Object.prototype.hasOwnProperty;var Fm=(e,t)=>{for(var o in t)va(e,o,{get:t[o],enumerable:!0})},Bs=(e,t,o,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Gm(t))!zm.call(e,n)&&n!==o&&va(e,n,{get:()=>t[n],enumerable:!(l=_m(t,n))||l.enumerable});return e};var Um=(e,t,o)=>(o=e!=null?Pm(Dm(e)):{},Bs(t||!e||!e.__esModule?va(o,"default",{value:e,enumerable:!0}):o,e)),$m=e=>Bs(va({},"__esModule",{value:!0}),e);var bT={};Fm(bT,{FileManagerGrid:()=>fT});module.exports=$m(bT);var a=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?a(...t):typeof t=="object"?Object.keys(t).map((o,l)=>t[l]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var v=(e,t)=>a({[`${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"}),L=(e,t)=>{let{valid:o,invalid:l,hover:n,focus:i,checked:d,active:m,selected:p,disabled:b,indeterminate:x,loading:k,empty:c,readonly:h,highlighted:g,...S}=t;return a({"k-valid":o,"k-invalid":l,"k-hover":n,"k-focus":i,"k-checked":d,"k-active":m,"k-selected":p,"k-disabled":b,"k-indeterminate":x&&!d,"k-loading":k,"k-empty":c,"k-readonly":h,"k-highlighted":g},Object.keys(S).reduce((A,w)=>(w.startsWith("k-")?A[w]=S[w]:A[`k-${w}`]=S[w],A),{}))};function Ks(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(l=>[`k-${l}`,!0]))}var s={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={small:"small",medium:"medium",large:"large",full:"full"},N={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"},r={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"};var Wo=require("react/jsx-runtime"),sr="k-font-icon",Vm=[],Xm={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},Wm={},Jo=e=>{let{size:t,themeColor:o,icon:l,rotate:n,flip:i,...d}=e;return l?(0,Wo.jsx)("span",{...d,className:a(e.className,sr,v(sr,{size:t}),{[`k-i-${l}`]:l,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"})}):(0,Wo.jsx)(Wo.Fragment,{})};Jo.states=Vm;Jo.options=Xm;Jo.className=sr;Jo.defaultOptions=Wm;var Ps=Jo;var ao=require("react/jsx-runtime"),nr="k-svg-icon",Jm=[],qm={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},_s={viewBox:"0 0 24 24"},qo=e=>{let{size:t,themeColor:o,rotate:l,flip:n,viewBox:i=_s.viewBox,icon:d,...m}=e;if(!d)return(0,ao.jsx)(ao.Fragment,{});d==="none"&&{...m,className:a(e.className,nr,"k-none")};let p=typeof d=="object"&&d.name&&d.name;return(0,ao.jsx)("span",{...m,className:a(e.className,nr,v("k-icon",{size:t}),{[`k-svg-i-${p}`]:p,[`k-color-${o}`]:o,[`k-rotate-${l}`]:l,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),children:(0,ao.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})})};qo.states=Jm;qo.options=qm;qo.className=nr;qo.defaultOptions=_s;var ir=qo;var dr=Um(require("@progress/kendo-svg-icons"));var Gs="icon",Ds="icons";var Nt=require("react/jsx-runtime"),Ca="k-icon",Qm=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Ym=[],Zm={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},mr={viewBox:"0 0 24 24",type:"svg"},M=e=>{let{size:t,themeColor:o,icon:l,type:n=mr.type,rotate:i,flip:d,viewBox:m=mr.viewBox,...p}=e;if(!l)return(0,Nt.jsx)(Nt.Fragment,{});if(n==="svg"){if(l==="none")return(0,Nt.jsx)(ir,{...p,className:a(e.className,Ca),icon:l,size:t});let b=dr[l]?l:Qm(`${l}-icon`);return dr[b]?(0,Nt.jsx)(ir,{...p,className:a(e.className,Ca),icon:dr[b],size:t,themeColor:o,rotate:i,flip:d,viewBox:m}):(0,Nt.jsx)(Nt.Fragment,{})}return(0,Nt.jsx)(Ps,{...p,className:a(e.className,Ca),icon:l,size:t,themeColor:o,rotate:i,flip:d})};M.states=Ym;M.options=Zm;M.defaultOptions=mr;M.className=Ca;M.moduleName=Gs;M.folderName=Ds;var cr="button",zs=cr;var Qe=require("react/jsx-runtime"),Qo="k-button",jm=["icon-button"],ec=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],tc={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},ro={size:s.medium,rounded:f.medium,fillMode:N.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},T=e=>{let{size:t=ro.size,rounded:o=ro.rounded,fillMode:l=ro.fillMode,themeColor:n=ro.themeColor,showArrow:i=ro.showArrow,arrowIconName:d=ro.arrowIconName,variant:m,hover:p,focus:b,active:x,selected:k,disabled:c,icon:h,text:g,iconClassName:S,...A}=e,w=h!==void 0,I=e.children!==void 0;return(0,Qe.jsxs)("button",{...A,className:a(e.className,Qo,Ks(Qo,m),v(Qo,{size:t,rounded:o,fillMode:l,themeColor:n}),L(Qo,{hover:p,focus:b,active:x,disabled:c,selected:k}),{"k-icon-button":!g&&!I&&w}),children:[h&&(0,Qe.jsx)(M,{className:a(S,"k-button-icon"),icon:h}),g?(0,Qe.jsxs)(Qe.Fragment,{children:[g&&(0,Qe.jsx)("span",{className:"k-button-text",children:g}),e.children]}):e.children&&(0,Qe.jsx)("span",{className:"k-button-text",children:e.children}),i&&(0,Qe.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Qe.jsx)(M,{icon:d})})]})};T.states=ec;T.options=tc;T.variants=jm;T.className=Qo;T.defaultOptions=ro;T.moduleName=cr;T.folderName=zs;var Fs=require("react/jsx-runtime"),Ea=e=>(0,Fs.jsx)(T,{icon:"folder",...e,children:void 0});var Us=require("react/jsx-runtime"),pr=e=>(0,Us.jsx)(T,{icon:"folder",children:"Button",...e});var oc=require("react/jsx-runtime");var ur="button",$s=ur;var Xs=require("react/jsx-runtime"),Yo="k-button-group",ac=[r.disabled],rc={fillMode:[N.solid,N.flat,N.outline,N.clear,N.link]},Vs={fillMode:N.solid},O=e=>{let{fillMode:t=Vs.fillMode,disabled:o,stretched:l,...n}=e;return(0,Xs.jsx)("div",{...n,className:a(e.className,Yo,v(Yo,{fillMode:t}),L(Yo,{disabled:o}),{[`${Yo}-stretched`]:l}),children:e.children})};O.states=ac;O.options=rc;O.className=Yo;O.defaultOptions=Vs;O.moduleName=ur;O.folderName=$s;var fr=require("react/jsx-runtime");var br=require("react/jsx-runtime");var Tr=require("react/jsx-runtime");var Nr=require("react/jsx-runtime");var Zo="input",Sa=Zo;var Ws=require("react/jsx-runtime"),Aa="k-input",lc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],sc={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[N.solid,N.flat,N.outline]},wa={size:s.medium,rounded:s.medium,fillMode:N.solid},_=e=>{let{hover:t,focus:o,disabled:l,invalid:n,valid:i,loading:d,readonly:m,size:p=wa.size,rounded:b=wa.rounded,fillMode:x=wa.fillMode,...k}=e;return(0,Ws.jsx)("span",{...k,className:a(e.className,Aa,v(Aa,{size:p,rounded:b,fillMode:x}),L(Aa,{hover:t,focus:o,disabled:l,invalid:n,valid:i,loading:d,readonly:m}))})};_.states=lc;_.options=sc;_.className=Aa;_.defaultOptions=wa;_.moduleName=Zo;_.folderName=Sa;var Js=require("react/jsx-runtime"),Ra="k-picker",nc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],ic={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[N.solid,N.flat,N.outline]},ya={size:s.medium,rounded:f.medium,fillMode:N.solid},Ce=e=>{let{hover:t,focus:o,disabled:l,invalid:n,valid:i,loading:d,readonly:m,size:p=ya.size,rounded:b=ya.rounded,fillMode:x=ya.fillMode,...k}=e;return(0,Js.jsx)("span",{...k,className:a(e.className,Ra,v(Ra,{size:p,rounded:b,fillMode:x}),L(Ra,{hover:t,focus:o,disabled:l,invalid:n,valid:i,loading:d,readonly:m})),children:e.children})};Ce.states=nc;Ce.options=ic;Ce.className=Ra;Ce.defaultOptions=ya;Ce.moduleName=Zo;Ce.folderName=Sa;var ko=require("react/jsx-runtime"),qs="k-clear-value",dc=[r.disabled,r.loading,r.readonly],mc={},Ye=e=>{let{disabled:t,loading:o,readonly:l,value:n}=e;return t||l||o||!n?(0,ko.jsx)(ko.Fragment,{}):(0,ko.jsx)("span",{className:a(e.className,qs),children:(0,ko.jsx)(M,{icon:"x"})})};Ye.states=dc;Ye.options=mc;Ye.className=qs;var Qs=require("react/jsx-runtime"),xr="k-input-inner",cc=[],pc={},Ia={type:"text",autocomplete:"off",value:"",placeholder:""},Ze=e=>{let{value:t=Ia.value,type:o=Ia.type,placeholder:l=Ia.placeholder,autocomplete:n=Ia.autocomplete,...i}=e;return(0,Qs.jsx)("input",{...i,type:o,className:a(e.className,xr,v(xr,e)),placeholder:l,autoComplete:n,defaultValue:t})};Ze.states=cc;Ze.options=pc;Ze.className=xr;var jo=require("react/jsx-runtime"),hr="k-input-inner",uc=[],fc={},lo=e=>{let{value:t,placeholder:o,showValue:l,valueIcon:n,valueIconName:i,...d}=e;return(0,jo.jsxs)("span",{...d,className:a(e.className,hr,v(hr,e)),children:[n,!n&&i&&(0,jo.jsx)(M,{className:"k-input-value-icon",icon:i}),l&&!t&&o,l&&t&&(0,jo.jsx)("span",{className:"k-input-value-text",children:t})]})};lo.states=uc;lo.options=fc;lo.className=hr;var Zs=require("react/jsx-runtime"),Lr="k-input-inner",bc=[],Tc={},Ys={value:"",placeholder:""},gr=e=>{let{value:t=Ys.value,placeholder:o=Ys.placeholder,rows:l,...n}=e;return(0,Zs.jsx)("textarea",{...n,className:a(e.className,Lr,v(Lr,e)),placeholder:o,rows:l,defaultValue:t})};gr.states=bc;gr.options=Tc;gr.className=Lr;var ea=require("react/jsx-runtime"),js="k-input-loading-icon",Nc=[r.disabled,r.loading],Ke=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,ea.jsx)(ea.Fragment,{}):(0,ea.jsx)("span",{className:a(e.className,js,"k-icon k-i-loading")})};Ke.states=Nc;Ke.className=js;var ta=require("react/jsx-runtime"),en="k-input-validation-icon",xc=[r.valid,r.invalid,r.disabled,r.loading],hc={},Ee=e=>{let{valid:t,invalid:o,disabled:l,loading:n}=e,i=o?"warning-circle":"check-circle";return l||n||!!!(t||o)?(0,ta.jsx)(ta.Fragment,{}):(0,ta.jsx)(M,{className:a(en),icon:i})};Ee.states=xc;Ee.options=hc;Ee.className=en;var oa=require("react/jsx-runtime"),Lc="k-input-prefix",gc={direction:"horizontal"},it=e=>{let{direction:t=gc.direction,...o}=e;return e.children?(0,oa.jsx)("span",{...o,className:a(Lc,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,oa.jsx)(oa.Fragment,{})};var aa=require("react/jsx-runtime"),Mc="k-input-suffix",kc={direction:"horizontal"},dt=e=>{let{direction:t=kc.direction,...o}=e;return e.children?(0,aa.jsx)("span",{...o,className:a(Mc,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,aa.jsx)(aa.Fragment,{})};var vc=require("react/jsx-runtime");var Cc=require("react/jsx-runtime");var on=require("react/jsx-runtime"),tn="k-input-separator",Ec={direction:"vertical"},xt=e=>{let{direction:t=Ec.direction,...o}=e;return(0,on.jsx)("span",{...o,className:a(tn,e.className,{[`${tn}-${t}`]:t})})};var ra=require("react/jsx-runtime"),an="k-color-preview",Sc=[],Ac={},Ht=e=>{let{color:t,iconName:o,...l}=e;return(0,ra.jsxs)("span",{...l,className:a(e.className,an,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,ra.jsx)(M,{icon:o,className:"k-color-preview-icon"}),(0,ra.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ht.states=Sc;Ht.options=Ac;Ht.className=an;var Mr="popup",rn=Mr;var kr=require("react/jsx-runtime"),ln="k-animation-container",wc=[],Rc={},sn={positionMode:"absolute"},mt=e=>{let{positionMode:t=sn.positionMode,animationStyle:o,offset:l,...n}=e;return(0,kr.jsx)("div",{...n,style:{...l,...e.style},className:a(e.className,ln,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,kr.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};mt.states=wc;mt.options=Rc;mt.className=ln;mt.defaultOptions=sn;mt.moduleName=Mr;mt.folderName=rn;var vr="popup",nn=vr;var Cr=require("react/jsx-runtime"),dn="k-popup",yc=[],Ic={},mn={positionMode:"absolute"},j=e=>{let{offset:t,positionMode:o=mn.positionMode,animationStyle:l,...n}=e;return(0,Cr.jsx)(mt,{positionMode:o,offset:t,animationStyle:l,children:(0,Cr.jsx)("div",{...n,className:a(e.className,dn),children:e.children})})};j.states=yc;j.options=Ic;j.className=dn;j.defaultOptions=mn;j.moduleName=vr;j.folderName=nn;var Er="action-buttons",cn=Er;var pn=require("react/jsx-runtime"),Oa="k-actions",Oc=[],Hc={},Sr={alignment:"start",orientation:"horizontal"},ct=e=>{let{alignment:t=Sr.alignment,orientation:o=Sr.orientation,...l}=e;return(0,pn.jsx)("div",{...l,className:a(Oa,{[`${Oa}-${t}`]:t,[`${Oa}-${o}`]:o},e.className),children:e.children})};ct.states=Oc;ct.options=Hc;ct.className=Oa;ct.defaultOptions=Sr;ct.moduleName=Er;ct.folderName=cn;var fn=require("react/jsx-runtime"),Bc="k-actionsheet-footer",un={alignment:"stretched",orientation:"horizontal"},la=e=>{let{alignment:t=un.alignment,orientation:o=un.orientation,template:l,as:n=l?"div":ct,...i}=e;return(0,fn.jsx)(n,{...i,...!l&&{alignment:t,orientation:o},className:a(e.className,Bc),children:e.children})};var Ar="searchbox",bn=Ar;var Bt=require("react/jsx-runtime"),Tn="k-searchbox",Kc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],Pc={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[N.solid,N.flat,N.outline]},wr={showIcon:!0,icon:"search",size:_.defaultOptions.size,rounded:_.defaultOptions.rounded,fillMode:_.defaultOptions.fillMode},se=e=>{let{value:t,placeholder:o,size:l,rounded:n,fillMode:i,hover:d,focus:m,valid:p,invalid:b,required:x,loading:k,disabled:c,showIcon:h=wr.showIcon,icon:g=wr.icon,...S}=e;return(0,Bt.jsxs)(_,{...S,size:l,rounded:n,fillMode:i,hover:d,focus:m,valid:p,invalid:b,required:x,loading:k,disabled:c,className:a(e.className,Tn),children:[h&&(0,Bt.jsx)(M,{className:"k-input-icon",icon:g}),(0,Bt.jsx)(Ze,{placeholder:o,value:t}),(0,Bt.jsx)(Ke,{...e}),(0,Bt.jsx)(Ee,{...e}),(0,Bt.jsx)(Ye,{...e})]})};se.states=Kc;se.options=Pc;se.className=Tn;se.defaultOptions=wr;se.moduleName=Ar;se.folderName=bn;var _c=require("react/jsx-runtime");var Rr="textbox",Nn=Rr;var fe=require("react/jsx-runtime"),xn="k-textbox",Gc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Dc={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[N.solid,N.flat,N.outline]},so={showClearButton:!0,showValidationIcon:!0,size:_.defaultOptions.size,rounded:_.defaultOptions.rounded,fillMode:_.defaultOptions.fillMode,separators:!0},Pe=e=>{let{size:t=so.size,rounded:o=so.rounded,fillMode:l=so.fillMode,separators:n=so.separators,showClearButton:i=so.showClearButton,showValidationIcon:d=so.showValidationIcon,prefix:m,suffix:p,type:b,value:x,placeholder:k,hover:c,focus:h,valid:g,invalid:S,required:A,loading:w,disabled:I,readonly:q,...Z}=e;return(0,fe.jsxs)(_,{...Z,size:t,rounded:o,fillMode:l,hover:c,focus:h,valid:g,invalid:S,required:A,loading:w,disabled:I,readonly:q,className:a(e.className,xn),children:[m&&(0,fe.jsxs)(fe.Fragment,{children:[(0,fe.jsx)(it,{children:m}),n&&(0,fe.jsx)(xt,{})]}),(0,fe.jsx)(Ze,{placeholder:k,value:x,type:b}),d&&(0,fe.jsx)(Ee,{valid:g,invalid:S,loading:w,disabled:I}),(0,fe.jsx)(Ke,{loading:w,disabled:I}),i&&(0,fe.jsx)(Ye,{loading:w,disabled:I,readonly:q,value:x}),p&&(0,fe.jsxs)(fe.Fragment,{children:[n&&(0,fe.jsx)(xt,{}),(0,fe.jsx)(dt,{children:p})]})]})};Pe.states=Gc;Pe.options=Dc;Pe.className=xn;Pe.defaultOptions=so;Pe.moduleName=Rr;Pe.folderName=Nn;var zc=require("react/jsx-runtime");var Ln=require("react/jsx-runtime");var gn=require("react/jsx-runtime");var Se=require("react/jsx-runtime"),Mn="k-actionsheet-titlebar",Fc={},_e=e=>{let{title:t,subtitle:o,actionsStart:l,actionsEnd:n,filter:i,input:d,inputValue:m,inputPlaceholder:p,adaptive:b,children:x,...k}=e;return(0,Se.jsxs)("div",{...k,className:a(e.className,Mn),children:[(0,Se.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[l&&(0,Se.jsx)("div",{className:"k-actionsheet-actions",children:l}),!x&&(0,Se.jsxs)("div",{className:"k-actionsheet-title",children:[t&&(0,Se.jsx)("div",{className:"k-text-center",children:t}),o&&(0,Se.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),x&&(0,Se.jsx)("div",{className:"k-actionsheet-title",children:x}),n&&(0,Se.jsx)("div",{className:"k-actionsheet-actions",children:n})]}),(d||i)&&(0,Se.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?(0,Se.jsx)(Pe,{value:m,placeholder:p,size:b?"large":"medium"}):(0,Se.jsx)(se,{placeholder:"Filter",size:b?"large":"medium"})})]})};_e.className=Mn;_e.defaultOptions=Fc;var vo=require("react/jsx-runtime"),yr="k-actionsheet-view",Uc=[],$c={},Vc={},Co=e=>{let{adaptive:t,animated:o,children:l,header:n,footer:i,...d}=e,m=(n==null?void 0:n.type)===_e&&(0,vo.jsx)(_e,{adaptive:t,...n==null?void 0:n.props}),p=(i==null?void 0:i.type)===la&&(0,vo.jsx)(la,{...i==null?void 0:i.props});return(0,vo.jsxs)("div",{...d,className:a(e.className,yr,{[`${yr}-animated`]:o}),children:[m,(0,vo.jsx)("div",{className:"k-actionsheet-content",children:l}),p]})};Co.states=Uc;Co.options=$c;Co.className=yr;Co.defaultOptions=Vc;var sa="action-sheet",Ha=sa;var no=require("react/jsx-runtime"),kn="k-actionsheet",Xc=[],Wc={},na={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Ae=e=>{let{side:t=na.side,fullscreen:o=na.fullscreen,adaptive:l=na.adaptive,overlay:n=na.overlay,template:i,children:d,header:m,footer:p,...b}=e;return(0,no.jsxs)("div",{className:"k-actionsheet-container",children:[n&&(0,no.jsx)("div",{className:"k-overlay"}),(0,no.jsx)(mt,{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:(0,no.jsx)("div",{...b,className:a(e.className,kn,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":l}),children:i||(0,no.jsx)(Co,{header:m,footer:p,adaptive:l,...e,children:d})})})]})};Ae.states=Xc;Ae.options=Wc;Ae.className=kn;Ae.defaultOptions=na;Ae.moduleName=sa;Ae.folderName=Ha;var Cn=require("react/jsx-runtime"),vn="k-actionsheet-container",Jc=[],qc={},Qc={},Eo=e=>{let{children:t,...o}=e;return(0,Cn.jsx)("div",{...o,className:vn,children:t})};Eo.states=Jc;Eo.options=qc;Eo.className=vn;Eo.defaultOptions=Qc;Eo.moduleName=sa;Eo.folderName=Ha;var Yc=require("react/jsx-runtime");var Ge=require("react/jsx-runtime"),Ir="k-actionsheet-item",Zc=[r.hover,r.focus,r.selected,r.disabled],Or=e=>{let{iconName:t,text:o,description:l,hover:n,focus:i,selected:d,disabled:m,...p}=e;return(0,Ge.jsxs)("span",{...p,className:a(e.className,Ir,L(Ir,{hover:n,focus:i,selected:d,disabled:m})),children:[!e.children&&(0,Ge.jsx)(Ge.Fragment,{children:(0,Ge.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,Ge.jsx)("span",{className:"k-icon-wrap",children:(0,Ge.jsx)(M,{className:"k-actionsheet-item-icon",icon:t})}),(0,Ge.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,Ge.jsx)("span",{className:"k-actionsheet-item-title",children:o}),l&&(0,Ge.jsx)("span",{className:"k-actionsheet-item-description",children:l})]})]})}),e.children]})};Or.states=Zc;Or.className=Ir;var En=require("react/jsx-runtime");var jc=require("react/jsx-runtime");var ep=require("react/jsx-runtime");var tp=require("react/jsx-runtime");var Hr="slider",An=Hr;var je=require("react/jsx-runtime"),ia="k-slider",op=[r.hover,r.focus,r.active,r.disabled,r.readonly],ap={},Kt={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},ge=e=>{let{type:t=Kt.type,orientation:o=Kt.orientation,readonly:l=Kt.readonly,disabled:n=Kt.disabled,handlePosition:i=Kt.handlePosition,showButtons:d=Kt.showButtons,showTicks:m=Kt.showTicks,hover:p,focus:b,active:x,trackStyle:k,dir:c,...h}=e,g,S;return o==="horizontal"?(g=c==="rtl"?"caret-alt-left":"caret-alt-right",S=c==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(g="caret-alt-up",S="caret-alt-down"),(0,je.jsxs)("div",{...h,className:a(ia,e.className,L(ia,{readonly:l,disabled:n}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:c,children:[d&&(0,je.jsx)(T,{className:"k-button-decrease",rounded:"full",icon:S}),(0,je.jsxs)("div",{className:"k-slider-track-wrap",children:[m&&(0,je.jsx)("ul",{className:"k-reset k-slider-items",children:e.children}),(0,je.jsxs)("div",{className:"k-slider-track",style:k,children:[(0,je.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,je.jsx)("span",{className:a("k-draghandle","k-draghandle-start",L(ia,{hover:p,focus:b,active:x}))}),(0,je.jsx)("span",{className:a("k-draghandle",`k-draghandle-${i}`,L(ia,{hover:p,focus:b,active:x}))})]})]}),d&&(0,je.jsx)(T,{className:"k-button-increase",rounded:"full",icon:g})]})};ge.states=op;ge.options=ap;ge.className=ia;ge.defaultOptions=Kt;ge.moduleName=Hr;ge.folderName=An;var Br=require("react/jsx-runtime"),wn="k-tick",rp=[],lp={},Rn={label:!1},Pt=e=>{let{style:t,label:o=Rn.label,orientation:l,large:n,text:i,...d}=e;return(0,Br.jsx)("li",{...d,className:a(e.className,wn,{[`k-tick-${l}`]:l,"k-tick-large":n}),style:t,children:o&&(0,Br.jsx)("span",{className:"k-label",children:i})})};Pt.states=rp;Pt.options=lp;Pt.className=wn;Pt.defaultOptions=Rn;var Kr=require("react/jsx-runtime");var Pr=require("react/jsx-runtime");var _r=require("react/jsx-runtime");var Gr=require("react/jsx-runtime");var yn=require("react/jsx-runtime"),Dr=e=>(0,yn.jsx)(ge,{type:"gradient",showButtons:!1,showTicks:!1,...e});var In=require("react/jsx-runtime"),zr=e=>(0,In.jsx)(ge,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});var da=require("react/jsx-runtime"),On="k-spin-button",ip=[],dp={size:[s.small,s.medium,s.large],fillMode:[N.solid,N.flat,N.outline,N.clear,N.link]},Fr={size:s.medium,fillMode:N.solid},_t=e=>{let{size:t=Fr.size,fillMode:o=Fr.fillMode,...l}=e;return(0,da.jsxs)("span",{...l,className:a(On,e.className),children:[(0,da.jsx)(T,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),(0,da.jsx)(T,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};_t.states=ip;_t.options=dp;_t.className=On;_t.defaultOptions=Fr;_t.moduleName=null;_t.folderName=null;var Hn="numeric-textbox",Bn="numerictextbox";var me=require("react/jsx-runtime"),Kn="k-numerictextbox",mp=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],cp={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[N.solid,N.flat,N.outline]},io={showSpinButton:!0,showClearButton:!0,size:_.defaultOptions.size,rounded:_.defaultOptions.rounded,fillMode:_.defaultOptions.fillMode,separators:!0},G=e=>{let{size:t=io.size,rounded:o=io.rounded,fillMode:l=io.fillMode,separators:n=io.separators,showClearButton:i=io.showClearButton,showSpinButton:d=io.showSpinButton,prefix:m,suffix:p,value:b,placeholder:x,hover:k,focus:c,valid:h,invalid:g,required:S,loading:A,disabled:w,readonly:I,...q}=e;return(0,me.jsxs)(_,{...q,size:t,rounded:o,fillMode:l,hover:k,focus:c,valid:h,invalid:g,required:S,loading:A,disabled:w,readonly:I,className:a(e.className,Kn),children:[m&&(0,me.jsxs)(me.Fragment,{children:[(0,me.jsx)(it,{children:m}),n&&(0,me.jsx)(xt,{})]}),(0,me.jsx)(Ze,{placeholder:x,value:b}),(0,me.jsx)(Ee,{valid:h,invalid:g,loading:A,disabled:w}),(0,me.jsx)(Ke,{loading:A,disabled:w}),i&&(0,me.jsx)(Ye,{loading:A,disabled:w,readonly:I,value:b}),p&&(0,me.jsxs)(me.Fragment,{children:[n&&(0,me.jsx)(xt,{}),(0,me.jsx)(dt,{children:p})]}),d&&(0,me.jsx)(_t,{className:"k-input-spinner",size:t,fillMode:l})]})};G.states=mp;G.options=cp;G.className=Kn;G.defaultOptions=io;G.moduleName=Hn;G.folderName=Bn;var pp=require("react/jsx-runtime");var _n=require("react/jsx-runtime"),up="k-no-data",ma=e=>(0,_n.jsx)("span",{className:a(up,e.className),children:e.children});var ht="list",Gt=ht;var pt=require("react/jsx-runtime"),Ur="k-list",fp=[],bp={size:[s.small,s.medium,s.large]},Gn={size:s.medium},D=e=>{let{size:t=Gn.size,virtualization:o,children:l,optionLabel:n,customValue:i,screenReaders:d,...m}=e,p,b,x,k,c=[];return l?l.map((h,g)=>{h.type===ce?(h.props.root===!0?(p=h.props.label,h.props.children.map((S,A)=>{c.push((0,pt.jsx)(y,{...S.props},`optChild-${A}-${new Date().getTime()}`))})):h.props.children.forEach((S,A)=>{let w="";A===0&&(w=h.props.label),c.push((0,pt.jsx)(y,{className:A===0?"k-first":"",...S.props,groupLabel:w},`groupLabel-${A}-${new Date().getTime()}`))}),b=(0,pt.jsx)(ce,{label:p,virtualization:o,children:c})):h.type===y&&(c.push((0,pt.jsx)(y,{...h.props},`${h.type}-${g}`)),x=(0,pt.jsx)(So,{virtualization:o,children:c}),d&&(k=(0,pt.jsxs)(ma,{className:"k-sr-only",children:[c.length," items found."]})))}):k=(0,pt.jsx)(ma,{children:"No data found."}),(0,pt.jsxs)("div",{...m,className:a(e.className,Ur,v(Ur,{size:t}),{"k-virtual-list":o}),children:[n,i,b,x,k]})};D.states=fp;D.options=bp;D.className=Ur;D.defaultOptions=Gn;D.moduleName=ht;D.folderName=Gt;var zn=require("react/jsx-runtime"),Dn="k-list-container",Tp=[],Np={},xp={},Ao=e=>{let{...t}=e;return(0,zn.jsx)("div",{...t,className:a(e.className,Dn),children:e.children})};Ao.states=Tp;Ao.options=Np;Ao.className=Dn;Ao.defaultOptions=xp;Ao.moduleName=ht;Ao.folderName=Gt;var ut=require("react/jsx-runtime"),$r="k-list",hp=[],Lp={size:[s.small,s.medium,s.large]},Fn={size:s.medium},Lt=e=>{let{size:t=Fn.size,virtualization:o,children:l,...n}=e,i,d,m,p=[];return l?l.map((b,x)=>{b.type===ce?(b.props.root===!0?(i=b.props.label,b.props.children.map((k,c)=>{p.push((0,ut.jsx)(y,{...k.props},`optChild-${c}-${new Date().getTime()}`))})):(p.push((0,ut.jsx)(Un,{...b.props,children:b.props.label},`listChild-${x}`)),b.props.children.map((k,c)=>{p.push((0,ut.jsx)(y,{...k.props},`fwOptChild-${c}-${new Date().getTime()}`))})),d=(0,ut.jsx)(ce,{label:i,virtualization:o,children:p})):b.type===y&&(p.push((0,ut.jsx)(y,{...b.props},`${b.type}-${x}`)),m=(0,ut.jsx)(So,{virtualization:o,children:p}))}):m=(0,ut.jsx)(ma,{children:"No data found."}),(0,ut.jsxs)("div",{...n,className:a(e.className,$r,v($r,{size:t}),{"k-virtual-list":o}),children:[d,m]})};Lt.states=hp;Lt.options=Lp;Lt.className=$r;Lt.defaultOptions=Fn;Lt.moduleName=ht;Lt.folderName=Gt;var mo="checkbox",wo=mo;var Xr=require("react/jsx-runtime"),Ba="k-checkbox",gp=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],Mp={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full]},Vr={size:s.medium,rounded:f.medium},we=e=>{let{id:t,checked:o,indeterminate:l,hover:n,focus:i,disabled:d,invalid:m,valid:p,required:b,size:x=Vr.size,rounded:k=Vr.rounded,...c}=e;return(0,Xr.jsx)("span",{className:"k-checkbox-wrap",children:(0,Xr.jsx)("input",{...c,id:t,type:"checkbox",defaultChecked:o,required:b,className:a(e.className,Ba,v(Ba,{size:x,rounded:k}),L(Ba,{hover:n,focus:i,disabled:d,invalid:m,valid:p,indeterminate:l,checked:o}))})})};we.states=gp;we.options=Mp;we.className=Ba;we.defaultOptions=Vr;we.moduleName=mo;we.folderName=wo;var Xn=require("react/jsx-runtime"),$n="k-checkbox-list",kp=[],vp={},Vn={layout:"vertical"},Dt=e=>{let{layout:t=Vn.layout,...o}=e;return(0,Xn.jsx)("ul",{...o,className:a(e.className,$n,{[`k-list-${t}`]:t}),children:e.children})};Dt.states=kp;Dt.options=vp;Dt.className=$n;Dt.defaultOptions=Vn;Dt.moduleName=mo;Dt.folderName=wo;var Jn=require("react/jsx-runtime"),Wn="k-checkbox-list-item",Cp=[],Ep={},Sp={},zt=e=>{let{...t}=e;return(0,Jn.jsx)("li",{...t,className:a(e.className,Wn),children:e.children})};zt.states=Cp;zt.options=Ep;zt.className=Wn;zt.defaultOptions=Sp;zt.moduleName=mo;zt.folderName=wo;var Jr=require("react/jsx-runtime");var qr=require("react/jsx-runtime");var Qr=require("react/jsx-runtime");var Yr=require("react/jsx-runtime");var Ap=require("react/jsx-runtime");var wp=require("react/jsx-runtime");var co=require("react/jsx-runtime"),Zr="k-list-item",Rp=[r.hover,r.focus,r.selected,r.disabled],yp={},Ip={},y=e=>{let{text:t,groupLabel:o,group:l,showIcon:n,iconName:i,showCheckbox:d,checked:m,hover:p,focus:b,selected:x,disabled:k,...c}=e,h=t||e.children;return(0,co.jsxs)("li",{...c,className:a(e.className,l?"k-list-group-item":Zr,L(Zr,{hover:p,focus:b,disabled:k,selected:x})),children:[d&&(0,co.jsx)(we,{checked:m}),n&&(0,co.jsx)(M,{icon:i}),(0,co.jsx)("span",{className:"k-list-item-text",children:h}),o&&o!==""&&(0,co.jsx)("div",{className:"k-list-item-group-label",children:o})]})};y.states=Rp;y.options=yp;y.className=Zr;y.defaultOptions=Ip;y.moduleName=ht;y.folderName=Gt;var Ro=require("react/jsx-runtime"),Op="k-list-content",So=e=>{let{virtualization:t,...o}=e;return(0,Ro.jsxs)("div",{...o,className:a(Op,e.className),children:[(0,Ro.jsx)("ul",{className:a("k-list-ul"),children:e.children}),t&&(0,Ro.jsx)("div",{className:"k-height-container",children:(0,Ro.jsx)("div",{})})]})};var jr=require("react/jsx-runtime"),Hp="k-list-group-sticky-header",qn=e=>(0,jr.jsx)("div",{className:a(Hp,e.className),children:(0,jr.jsx)("div",{className:"k-list-header-text",children:e.children})});var po=require("react/jsx-runtime"),ce=e=>{let{virtualization:t,label:o}=e;return(0,po.jsxs)(po.Fragment,{children:[o&&(0,po.jsx)(qn,{children:o}),e.children&&(0,po.jsx)(So,{virtualization:t,children:e.children})]})};var el=require("react/jsx-runtime"),Bp="k-list-group-item",Un=e=>(0,el.jsx)("li",{className:a(Bp,e.className),children:(0,el.jsx)("span",{className:"k-list-item-text",children:e.children})});var Qn=require("react/jsx-runtime"),tl="k-list-optionlabel",Kp=[r.hover,r.focus,r.selected,r.disabled],Pp={},_p={},Ka=e=>{let{text:t,hover:o,focus:l,selected:n,disabled:i,...d}=e;return(0,Qn.jsx)("div",{...d,className:a(tl,L(tl,{hover:o,focus:l,selected:n,disabled:i})),children:t})};Ka.states=Kp;Ka.options=Pp;Ka.className=tl;Ka.defaultOptions=_p;var Yn=require("react/jsx-runtime"),ol="k-list-custom-value",Gp=[r.hover,r.focus,r.selected,r.disabled],Dp={},zp={},Ft=e=>{let{text:t,hover:o,focus:l,selected:n,disabled:i,...d}=e;return(0,Yn.jsx)("div",{...d,className:a(ol,L(ol,{hover:o,focus:l,selected:n,disabled:i})),children:t})};Ft.states=Gp;Ft.options=Dp;Ft.className=ol;Ft.defaultOptions=zp;var Fp=require("react/jsx-runtime");var Up=require("react/jsx-runtime");var Zn=require("react/jsx-runtime");var jn=require("react/jsx-runtime");var $p=require("react/jsx-runtime");var ei=require("react/jsx-runtime");var ti=require("react/jsx-runtime");var oi="dropdown-list",ai="dropdownlist";var Q=require("react/jsx-runtime"),ri="k-dropdownlist",Vp=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Xp={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[N.solid,N.flat,N.outline]},yo={showValue:!0,arrowIconName:"caret-alt-down",size:s.medium,rounded:f.medium,fillMode:N.solid},Re=e=>{let{size:t=yo.size,rounded:o=yo.rounded,fillMode:l=yo.fillMode,arrowIconName:n=yo.arrowIconName,showValue:i=yo.showValue,valueIconName:d,prefix:m,suffix:p,value:b,placeholder:x,hover:k,focus:c,valid:h,invalid:g,required:S,loading:A,disabled:w,readonly:I,popup:q,opened:Z,adaptive:oo,adaptiveSettings:Xo,adaptiveTitle:rr,adaptiveSubtitle:lr,adaptiveFilter:Bm,...Km}=e;return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(Ce,{...Km,size:t,rounded:o,fillMode:l,hover:k,focus:c,valid:h,invalid:g,required:S,loading:A,disabled:w,readonly:I,className:a(e.className,ri,{"k-icon-picker":!i&&d}),children:[(0,Q.jsx)(it,{children:m}),(0,Q.jsx)(lo,{placeholder:x,value:b,showValue:i,valueIconName:d}),(0,Q.jsx)(Ee,{valid:h,invalid:g,loading:A,disabled:w}),(0,Q.jsx)(Ke,{loading:A,disabled:w}),(0,Q.jsx)(dt,{children:p}),(0,Q.jsx)(T,{className:"k-input-button",icon:n,rounded:null,size:e.size,fillMode:e.fillMode})]}),Z&&q&&(0,Q.jsx)(j,{className:"k-list-container k-dropdownlist-popup",children:q}),oo&&(0,Q.jsx)(Ae,{adaptive:!0,...Xo,header:(0,Q.jsx)(_e,{actionsEnd:(0,Q.jsx)(T,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Bm,inputValue:b,inputPlaceholder:x,title:rr,subtitle:lr}),children:(0,Q.jsx)("div",{className:"k-list-container",children:(0,Q.jsxs)(D,{size:"large",children:[(0,Q.jsx)(y,{text:"List item"}),(0,Q.jsx)(y,{text:"List item"}),(0,Q.jsx)(y,{text:"List item"})]})})})]})};Re.states=Vp;Re.options=Xp;Re.className=ri;Re.defaultOptions=yo;Re.moduleName=oi;Re.folderName=ai;var Wp=require("react/jsx-runtime");var li=require("react/jsx-runtime");var al=require("react/jsx-runtime");var Jp=require("react/jsx-runtime");var si=require("react/jsx-runtime");var ni=require("react/jsx-runtime");var rl=require("react/jsx-runtime");var ll=require("react/jsx-runtime");var ii=require("react/jsx-runtime");var di=require("react/jsx-runtime");var E=require("react/jsx-runtime"),mi="k-colorgradient-inputs",qp=[],Qp={size:[s.small,s.medium,s.large]},ci={mode:"rgba",size:s.medium},Io=e=>{let{mode:t=ci.mode,size:o,...l}=e;return(0,E.jsxs)("div",{...l,className:a(mi,"k-hstack"),children:[(0,E.jsx)("div",{className:"k-vstack",children:(0,E.jsx)(T,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),t==="rgba"&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsxs)("div",{className:"k-vstack",children:[(0,E.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,E.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,E.jsxs)("div",{className:"k-vstack",children:[(0,E.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,E.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,E.jsxs)("div",{className:"k-vstack",children:[(0,E.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,E.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,E.jsxs)("div",{className:"k-vstack",children:[(0,E.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),(0,E.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsxs)("div",{className:"k-vstack",children:[(0,E.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,E.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,E.jsxs)("div",{className:"k-vstack",children:[(0,E.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,E.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,E.jsxs)("div",{className:"k-vstack",children:[(0,E.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,E.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsxs)("div",{className:"k-vstack",children:[(0,E.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,E.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,E.jsxs)("div",{className:"k-vstack",children:[(0,E.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,E.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,E.jsxs)("div",{className:"k-vstack",children:[(0,E.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,E.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,E.jsxs)("div",{className:"k-vstack",children:[(0,E.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),(0,E.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsxs)("div",{className:"k-vstack",children:[(0,E.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,E.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,E.jsxs)("div",{className:"k-vstack",children:[(0,E.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,E.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,E.jsxs)("div",{className:"k-vstack",children:[(0,E.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,E.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,E.jsx)(E.Fragment,{children:(0,E.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,E.jsx)(Pe,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,E.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Io.states=qp;Io.options=Qp;Io.className=mi;Io.defaultOptions=ci;var be=require("react/jsx-runtime"),pi="k-colorgradient-color-contrast",Yp=[],Zp={},jp={},Oo=()=>(0,be.jsxs)("div",{className:a(pi,"k-vbox"),children:[(0,be.jsxs)("div",{className:"k-contrast-ratio",children:[(0,be.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,be.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,be.jsx)(M,{icon:"check"}),(0,be.jsx)(M,{icon:"check"})]})]}),(0,be.jsxs)("div",{children:[(0,be.jsx)("span",{children:"AA: 4.5"}),(0,be.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,be.jsx)(M,{icon:"check"})]})]}),(0,be.jsxs)("div",{children:[(0,be.jsx)("span",{children:"AAA: 7.0"}),(0,be.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,be.jsx)(M,{icon:"x"})]})]})]});Oo.states=Yp;Oo.options=Zp;Oo.className=pi;Oo.defaultOptions=jp;var ui="color-gradient",fi="colorgradient";var ee=require("react/jsx-runtime"),Pa="k-colorgradient",eu=[r.hover,r.focus,r.readonly,r.disabled],tu={size:[s.small,s.medium,s.large]},et={size:s.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"},ft=e=>{let{size:t=et.size,mode:o=et.mode,readonly:l=et.readonly,disabled:n=et.disabled,gradientStyle:i=et.gradientStyle,dragHandleStyle:d=et.dragHandleStyle,alphaStyle:m=et.alphaStyle,alphaStyleHorizontal:p=et.alphaStyleHorizontal,contrast:b=et.contrast,dir:x,hover:k,focus:c,hoverHandle:h,focusHandle:g,canvasOrientation:S=et.canvasOrientation,...A}=e;return(0,ee.jsxs)("div",{...A,className:a(e.className,Pa,v(Pa,{size:t}),L(Pa,{hover:k,focus:c,readonly:l,disabled:n})),dir:x,children:[!S||S==="horizontal"&&(0,ee.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,ee.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,ee.jsx)("div",{className:"k-hsv-gradient",children:(0,ee.jsx)("div",{className:a("k-hsv-draghandle","k-draghandle",{"k-hover":h,"k-focus":g}),style:d})})}),(0,ee.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,ee.jsx)(zr,{className:"k-hue-slider",hover:h,focus:g}),o!=="rgb"&&o!=="hsv"&&(0,ee.jsx)(zr,{className:"k-alpha-slider",hover:h,focus:g,trackStyle:m})]})]}),S==="vertical"&&(0,ee.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,ee.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,ee.jsx)("div",{className:"k-hsv-gradient",children:(0,ee.jsx)("div",{className:a("k-hsv-draghandle","k-draghandle",{"k-hover":h,"k-focus":g}),style:d})})}),(0,ee.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,ee.jsx)(Dr,{className:"k-hue-slider",hover:h,focus:g}),o!=="rgb"&&o!=="hsv"&&(0,ee.jsx)(Dr,{className:"k-alpha-slider",hover:h,focus:g,trackStyle:p})]})]}),(0,ee.jsx)(Io,{mode:e.mode,size:t}),b&&(0,ee.jsx)(Oo,{})]})};ft.states=eu;ft.options=tu;ft.className=Pa;ft.defaultOptions=et;ft.moduleName=ui;ft.folderName=fi;var ou=require("react/jsx-runtime");var au=require("react/jsx-runtime");var Ti=require("react/jsx-runtime"),bi=e=>(0,Ti.jsx)("tr",{children:e.children});var Ni=require("react/jsx-runtime"),sl="k-colorpalette-tile",ru=[r.hover,r.focus,r.selected],lu={},ca=e=>{let{color:t,tileSize:o,hover:l,focus:n,selected:i,...d}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,Ni.jsx)("td",{...d,className:a(e.className,sl,L(sl,{hover:l,focus:n,selected:i})),style:m})};ca.states=ru;ca.options=lu;ca.className=sl;var xi="color-palette",hi="colorpalette";var Ho=require("react/jsx-runtime"),_a="k-colorpalette",su=[r.disabled],nu={size:[s.small,s.medium,s.large]},nl={columns:10,size:s.medium},Ut=e=>{let{size:t=nl.size,palette:o,columns:l=nl.columns,tileSize:n,disabled:i,...d}=e,m=[];if(o){let p=l||o.columns,b=o.colors?o.colors:o;Array.isArray(b)&&Array.from({length:Math.ceil(b.length/p)},(x,k)=>{let c=[];b.slice(k*p,(k+1)*p).map((g,S)=>{c.push((0,Ho.jsx)(ca,{color:g,tileSize:n},S))});let h=(0,Ho.jsx)(bi,{children:c},k);m.push(h)})}return(0,Ho.jsx)("div",{...d,className:a(e.className,_a,L(_a,{disabled:i}),v(_a,{size:t})),children:(0,Ho.jsx)("table",{className:"k-colorpalette-table",children:(0,Ho.jsx)("tbody",{children:m.length>0?m:e.children})})})};Ut.states=su;Ut.options=nu;Ut.className=_a;Ut.defaultOptions=nl;Ut.moduleName=xi;Ut.folderName=hi;var il={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 iu=require("react/jsx-runtime");var Li="color-editor",gi="coloreditor";var Y=require("react/jsx-runtime"),Ga="k-coloreditor",du=[r.focus],mu={size:[s.small,s.medium,s.large]},Bo={size:s.medium,view:"gradient",palette:il.office,actionButtons:!0,canvasOrientation:"horizontal"},De=e=>{let{size:t=Bo.size,view:o=Bo.view,palette:l=Bo.palette,color:n,currentColor:i,focus:d,focusView:m,dir:p,group:b,actionButtons:x=Bo.actionButtons,canvasOrientation:k=Bo.canvasOrientation,...c}=e;return(0,Y.jsxs)("div",{...c,className:a(e.className,"k-flatcolorpicker",Ga,v(Ga,{size:t}),L(Ga,{focus:d})),dir:p,children:[(0,Y.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,Y.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:b&&(0,Y.jsxs)(O,{fillMode:"flat",children:[(0,Y.jsx)(T,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),(0,Y.jsx)(T,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),(0,Y.jsx)("div",{className:"k-spacer"}),(0,Y.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,Y.jsx)(T,{fillMode:"flat",icon:"droplet-slash",size:t}),(0,Y.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,Y.jsx)(Ht,{className:"k-coloreditor-preview-color",color:n}),(0,Y.jsx)(Ht,{className:"k-coloreditor-current-color",color:i})]})]})]}),(0,Y.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradi