UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

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