UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 86.6 kB
var Ul=Object.create;var Yo=Object.defineProperty;var Fl=Object.getOwnPropertyDescriptor;var $l=Object.getOwnPropertyNames;var Vl=Object.getPrototypeOf,Xl=Object.prototype.hasOwnProperty;var Jl=(t,e)=>{for(var o in e)Yo(t,o,{get:e[o],enumerable:!0})},Ea=(t,e,o,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of $l(e))!Xl.call(t,i)&&i!==o&&Yo(t,i,{get:()=>e[i],enumerable:!(a=Fl(e,i))||a.enumerable});return t};var Wl=(t,e,o)=>(o=t!=null?Ul(Vl(t)):{},Ea(e||!t||!t.__esModule?Yo(o,"default",{value:t,enumerable:!0}):o,t)),ql=t=>Ea(Yo({},"__esModule",{value:!0}),t);var Hu={};Jl(Hu,{PromptOutput:()=>_u});module.exports=ql(Hu);var n=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?n(...e):typeof e=="object"?Object.keys(e).map((o,a)=>e[a]||e[o]&&o||null).filter(o=>o!==null).join(" "):e).filter(e=>!!e).join(" ");var E=(t,e)=>n({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.fillMode}-${e.themeColor}`]:e.fillMode&&e.themeColor},{[`${t}-${e.themeColor}`]:e.themeColor&&e.fillMode===void 0},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full"}),A=(t,e)=>{let{valid:o,invalid:a,hover:i,focus:p,checked:l,active:u,selected:b,disabled:x,indeterminate:L,loading:C,empty:c,readonly:h,highlighted:M,...v}=e;return n({"k-valid":o,"k-invalid":a,"k-hover":i,"k-focus":p,"k-checked":l,"k-active":u,"k-selected":b,"k-disabled":x,"k-indeterminate":L&&!l,"k-loading":C,"k-empty":c,"k-readonly":h,"k-highlighted":M},Object.keys(v).reduce((I,k)=>(k.startsWith("k-")?I[k]=v[k]:I[`k-${k}`]=v[k],I),{}))};function Ta(t,e){if(!e)return{};let o=Array.isArray(e)?e:[e];return Object.fromEntries(o.map(a=>[`k-${a}`,!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"},d={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},m={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"},va={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var En="action-buttons",ga=En;var ka=require("react/jsx-runtime"),Qo="k-actions",Yl=[],Ql={},Tn={alignment:"start",orientation:"horizontal"},w=t=>{let{alignment:e=Tn.alignment,orientation:o=Tn.orientation,...a}=t;return(0,ka.jsx)("div",{...a,className:n(Qo,{[`${Qo}-${e}`]:e,[`${Qo}-${o}`]:o},t.className),children:t.children})};w.states=Yl;w.options=Ql;w.className=Qo;w.defaultOptions=Tn;w.moduleName=En;w.folderName=ga;var Co=require("react/jsx-runtime"),vn="k-font-icon",Zl=[],jl={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},tp={},So=t=>{let{size:e,themeColor:o,icon:a,rotate:i,flip:p,...l}=t;return a?(0,Co.jsx)("span",{...l,className:n(t.className,vn,E(vn,{size:e}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":p==="h"||p==="both","k-flip-v":p==="v"||p==="both"})}):(0,Co.jsx)(Co.Fragment,{})};So.states=Zl;So.options=jl;So.className=vn;So.defaultOptions=tp;var Ia=So;var Ce=require("react/jsx-runtime"),gn="k-svg-icon",ep=[],op={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},Oa={viewBox:"0 0 24 24"},Ao=t=>{let{size:e,themeColor:o,rotate:a,flip:i,viewBox:p=Oa.viewBox,icon:l,...u}=t;if(!l)return(0,Ce.jsx)(Ce.Fragment,{});l==="none"&&{...u,className:n(t.className,gn,"k-none")};let b=typeof l=="object"&&l.name&&l.name;return(0,Ce.jsx)("span",{...u,className:n(t.className,gn,E("k-icon",{size:e}),{[`k-svg-i-${b}`]:b,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),children:(0,Ce.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof l=="object"?l.viewBox:p,dangerouslySetInnerHTML:typeof l=="object"?{__html:l.content}:void 0,children:l?void 0:t.children})})};Ao.states=ep;Ao.options=op;Ao.className=gn;Ao.defaultOptions=Oa;var kn=Ao;var In=Wl(require("@progress/kendo-svg-icons"));var ya="icon",Ba="icons";var Xt=require("react/jsx-runtime"),Zo="k-icon",np=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),rp=[],ap={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},On={viewBox:"0 0 24 24",type:"svg"},T=t=>{let{size:e,themeColor:o,icon:a,type:i=On.type,rotate:p,flip:l,viewBox:u=On.viewBox,...b}=t;if(!a)return(0,Xt.jsx)(Xt.Fragment,{});if(i==="svg"){if(a==="none")return(0,Xt.jsx)(kn,{...b,className:n(t.className,Zo),icon:a,size:e});let x=In[a]?a:np(`${a}-icon`);return In[x]?(0,Xt.jsx)(kn,{...b,className:n(t.className,Zo),icon:In[x],size:e,themeColor:o,rotate:p,flip:l,viewBox:u}):(0,Xt.jsx)(Xt.Fragment,{})}return(0,Xt.jsx)(Ia,{...b,className:n(t.className,Zo),icon:a,size:e,themeColor:o,rotate:p,flip:l})};T.states=rp;T.options=ap;T.defaultOptions=On;T.className=Zo;T.moduleName=ya;T.folderName=Ba;var yn="button",Pa=yn;var Tt=require("react/jsx-runtime"),Eo="k-button",sp=["icon-button"],ip=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],lp={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark,m.inverse]},Se={size:s.medium,rounded:f.medium,fillMode:d.solid,themeColor:m.base,showArrow:!1,arrowIconName:"caret-alt-down"},N=t=>{let{size:e=Se.size,rounded:o=Se.rounded,fillMode:a=Se.fillMode,themeColor:i=Se.themeColor,showArrow:p=Se.showArrow,arrowIconName:l=Se.arrowIconName,variant:u,hover:b,focus:x,active:L,selected:C,disabled:c,icon:h,text:M,iconClassName:v,...I}=t,k=h!==void 0,K=t.children!==void 0;return(0,Tt.jsxs)("button",{...I,className:n(t.className,Eo,Ta(Eo,u),E(Eo,{size:e,rounded:o,fillMode:a,themeColor:i}),A(Eo,{hover:b,focus:x,active:L,disabled:c,selected:C}),{"k-icon-button":!M&&!K&&k}),children:[h&&(0,Tt.jsx)(T,{className:n(v,"k-button-icon"),icon:h}),M?(0,Tt.jsxs)(Tt.Fragment,{children:[M&&(0,Tt.jsx)("span",{className:"k-button-text",children:M}),t.children]}):t.children&&(0,Tt.jsx)("span",{className:"k-button-text",children:t.children}),p&&(0,Tt.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Tt.jsx)(T,{icon:l})})]})};N.states=ip;N.options=lp;N.variants=sp;N.className=Eo;N.defaultOptions=Se;N.moduleName=yn;N.folderName=Pa;var Ka=require("react/jsx-runtime"),z=t=>(0,Ka.jsx)(N,{icon:"folder",...t,children:void 0});var Ra=require("react/jsx-runtime"),J=t=>(0,Ra.jsx)(N,{icon:"folder",children:"Button",...t});var pp=require("react/jsx-runtime");var Bn="button",_a=Bn;var Da=require("react/jsx-runtime"),To="k-button-group",mp=[r.disabled],cp={fillMode:[d.solid,d.flat,d.outline,d.clear,d.link]},Ha={fillMode:d.solid},_=t=>{let{fillMode:e=Ha.fillMode,disabled:o,stretched:a,...i}=t;return(0,Da.jsx)("div",{...i,className:n(t.className,To,E(To,{fillMode:e}),A(To,{disabled:o}),{[`${To}-stretched`]:a}),children:t.children})};_.states=mp;_.options=cp;_.className=To;_.defaultOptions=Ha;_.moduleName=Bn;_.folderName=_a;var Pn=require("react/jsx-runtime");var Kn=require("react/jsx-runtime");var Rn=require("react/jsx-runtime");var _n=require("react/jsx-runtime");var vo="input",jo=vo;var wa=require("react/jsx-runtime"),tn="k-input",dp=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],up={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},en={size:s.medium,rounded:s.medium,fillMode:d.solid},B=t=>{let{hover:e,focus:o,disabled:a,invalid:i,valid:p,loading:l,readonly:u,size:b=en.size,rounded:x=en.rounded,fillMode:L=en.fillMode,...C}=t;return(0,wa.jsx)("span",{...C,className:n(t.className,tn,E(tn,{size:b,rounded:x,fillMode:L}),A(tn,{hover:e,focus:o,disabled:a,invalid:i,valid:p,loading:l,readonly:u}))})};B.states=dp;B.options=up;B.className=tn;B.defaultOptions=en;B.moduleName=vo;B.folderName=jo;var za=require("react/jsx-runtime"),on="k-picker",fp=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],bp={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},nn={size:s.medium,rounded:f.medium,fillMode:d.solid},rt=t=>{let{hover:e,focus:o,disabled:a,invalid:i,valid:p,loading:l,readonly:u,size:b=nn.size,rounded:x=nn.rounded,fillMode:L=nn.fillMode,...C}=t;return(0,za.jsx)("span",{...C,className:n(t.className,on,E(on,{size:b,rounded:x,fillMode:L}),A(on,{hover:e,focus:o,disabled:a,invalid:i,valid:p,loading:l,readonly:u})),children:t.children})};rt.states=fp;rt.options=bp;rt.className=on;rt.defaultOptions=nn;rt.moduleName=vo;rt.folderName=jo;var Ue=require("react/jsx-runtime"),Ga="k-clear-value",Np=[r.disabled,r.loading,r.readonly],xp={},vt=t=>{let{disabled:e,loading:o,readonly:a,value:i}=t;return e||a||o||!i?(0,Ue.jsx)(Ue.Fragment,{}):(0,Ue.jsx)("span",{className:n(t.className,Ga),children:(0,Ue.jsx)(T,{icon:"x"})})};vt.states=Np;vt.options=xp;vt.className=Ga;var Ua=require("react/jsx-runtime"),Hn="k-input-inner",Lp=[],Mp={},rn={type:"text",autocomplete:"off",value:"",placeholder:""},gt=t=>{let{value:e=rn.value,type:o=rn.type,placeholder:a=rn.placeholder,autocomplete:i=rn.autocomplete,...p}=t;return(0,Ua.jsx)("input",{...p,type:o,className:n(t.className,Hn,E(Hn,t)),placeholder:a,autoComplete:i,defaultValue:e})};gt.states=Lp;gt.options=Mp;gt.className=Hn;var go=require("react/jsx-runtime"),Dn="k-input-inner",hp=[],Cp={},Ae=t=>{let{value:e,placeholder:o,showValue:a,valueIcon:i,valueIconName:p,...l}=t;return(0,go.jsxs)("span",{...l,className:n(t.className,Dn,E(Dn,t)),children:[i,!i&&p&&(0,go.jsx)(T,{className:"k-input-value-icon",icon:p}),a&&!e&&o,a&&e&&(0,go.jsx)("span",{className:"k-input-value-text",children:e})]})};Ae.states=hp;Ae.options=Cp;Ae.className=Dn;var $a=require("react/jsx-runtime"),wn="k-input-inner",Sp=[],Ap={},Fa={value:"",placeholder:""},ko=t=>{let{value:e=Fa.value,placeholder:o=Fa.placeholder,rows:a,...i}=t;return(0,$a.jsx)("textarea",{...i,className:n(t.className,wn,E(wn,t)),placeholder:o,rows:a,defaultValue:e})};ko.states=Sp;ko.options=Ap;ko.className=wn;var Io=require("react/jsx-runtime"),Va="k-input-loading-icon",Ep=[r.disabled,r.loading],ct=t=>{let{disabled:e,loading:o}=t;return e||!o?(0,Io.jsx)(Io.Fragment,{}):(0,Io.jsx)("span",{className:n(t.className,Va,"k-icon k-i-loading")})};ct.states=Ep;ct.className=Va;var Oo=require("react/jsx-runtime"),Xa="k-input-validation-icon",Tp=[r.valid,r.invalid,r.disabled,r.loading],vp={},at=t=>{let{valid:e,invalid:o,disabled:a,loading:i}=t,p=o?"warning-circle":"check-circle";return a||i||!!!(e||o)?(0,Oo.jsx)(Oo.Fragment,{}):(0,Oo.jsx)(T,{className:n(Xa),icon:p})};at.states=Tp;at.options=vp;at.className=Xa;var yo=require("react/jsx-runtime"),gp="k-input-prefix",kp={direction:"horizontal"},dt=t=>{let{direction:e=kp.direction,...o}=t;return t.children?(0,yo.jsx)("span",{...o,className:n(gp,t.className,{[`k-input-prefix-${e}`]:e}),children:t.children}):(0,yo.jsx)(yo.Fragment,{})};var Bo=require("react/jsx-runtime"),Ip="k-input-suffix",Op={direction:"horizontal"},ut=t=>{let{direction:e=Op.direction,...o}=t;return t.children?(0,Bo.jsx)("span",{...o,className:n(Ip,t.className,{[`k-input-suffix-${e}`]:e}),children:t.children}):(0,Bo.jsx)(Bo.Fragment,{})};var yp=require("react/jsx-runtime");var Bp=require("react/jsx-runtime");var Wa=require("react/jsx-runtime"),Ja="k-input-separator",Pp={direction:"vertical"},ft=t=>{let{direction:e=Pp.direction,...o}=t;return(0,Wa.jsx)("span",{...o,className:n(Ja,t.className,{[`${Ja}-${e}`]:e})})};var Po=require("react/jsx-runtime"),qa="k-color-preview",Kp=[],Rp={},ae=t=>{let{color:e,iconName:o,...a}=t;return(0,Po.jsxs)("span",{...a,className:n(t.className,qa,{"k-icon-color-preview":o,"k-no-color":!e}),children:[o&&(0,Po.jsx)(T,{icon:o,className:"k-color-preview-icon"}),(0,Po.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:e}})]})};ae.states=Kp;ae.options=Rp;ae.className=qa;var zn="popup",Ya=zn;var Gn=require("react/jsx-runtime"),Qa="k-animation-container",_p=[],Hp={},Za={positionMode:"absolute"},_t=t=>{let{positionMode:e=Za.positionMode,animationStyle:o,offset:a,...i}=t;return(0,Gn.jsx)("div",{...i,style:{...a,...t.style},className:n(t.className,Qa,"k-animation-container-shown",{"k-animation-container-fixed":e==="fixed"}),children:(0,Gn.jsx)("div",{className:"k-child-animation-container",style:o,children:t.children})})};_t.states=_p;_t.options=Hp;_t.className=Qa;_t.defaultOptions=Za;_t.moduleName=zn;_t.folderName=Ya;var Un="popup",ja=Un;var Fn=require("react/jsx-runtime"),ts="k-popup",Dp=[],wp={},es={positionMode:"absolute"},G=t=>{let{offset:e,positionMode:o=es.positionMode,animationStyle:a,...i}=t;return(0,Fn.jsx)(_t,{positionMode:o,offset:e,animationStyle:a,children:(0,Fn.jsx)("div",{...i,className:n(t.className,ts),children:t.children})})};G.states=Dp;G.options=wp;G.className=ts;G.defaultOptions=es;G.moduleName=Un;G.folderName=ja;var ns=require("react/jsx-runtime"),zp="k-actionsheet-footer",os={alignment:"stretched",orientation:"horizontal"},Ko=t=>{let{alignment:e=os.alignment,orientation:o=os.orientation,template:a,as:i=a?"div":w,...p}=t;return(0,ns.jsx)(i,{...p,...!a&&{alignment:e,orientation:o},className:n(t.className,zp),children:t.children})};var $n="searchbox",rs=$n;var se=require("react/jsx-runtime"),as="k-searchbox",Gp=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],Up={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Vn={showIcon:!0,icon:"search",size:B.defaultOptions.size,rounded:B.defaultOptions.rounded,fillMode:B.defaultOptions.fillMode},kt=t=>{let{value:e,placeholder:o,size:a,rounded:i,fillMode:p,hover:l,focus:u,valid:b,invalid:x,required:L,loading:C,disabled:c,showIcon:h=Vn.showIcon,icon:M=Vn.icon,...v}=t;return(0,se.jsxs)(B,{...v,size:a,rounded:i,fillMode:p,hover:l,focus:u,valid:b,invalid:x,required:L,loading:C,disabled:c,className:n(t.className,as),children:[h&&(0,se.jsx)(T,{className:"k-input-icon",icon:M}),(0,se.jsx)(gt,{placeholder:o,value:e}),(0,se.jsx)(ct,{...t}),(0,se.jsx)(at,{...t}),(0,se.jsx)(vt,{...t})]})};kt.states=Gp;kt.options=Up;kt.className=as;kt.defaultOptions=Vn;kt.moduleName=$n;kt.folderName=rs;var Fp=require("react/jsx-runtime");var Xn="textbox",ss=Xn;var Q=require("react/jsx-runtime"),is="k-textbox",$p=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Vp={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Ee={showClearButton:!0,showValidationIcon:!0,size:B.defaultOptions.size,rounded:B.defaultOptions.rounded,fillMode:B.defaultOptions.fillMode,separators:!0},Ht=t=>{let{size:e=Ee.size,rounded:o=Ee.rounded,fillMode:a=Ee.fillMode,separators:i=Ee.separators,showClearButton:p=Ee.showClearButton,showValidationIcon:l=Ee.showValidationIcon,prefix:u,suffix:b,type:x,value:L,placeholder:C,hover:c,focus:h,valid:M,invalid:v,required:I,loading:k,disabled:K,readonly:X,...Rt}=t;return(0,Q.jsxs)(B,{...Rt,size:e,rounded:o,fillMode:a,hover:c,focus:h,valid:M,invalid:v,required:I,loading:k,disabled:K,readonly:X,className:n(t.className,is),children:[u&&(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(dt,{children:u}),i&&(0,Q.jsx)(ft,{})]}),(0,Q.jsx)(gt,{placeholder:C,value:L,type:x}),l&&(0,Q.jsx)(at,{valid:M,invalid:v,loading:k,disabled:K}),(0,Q.jsx)(ct,{loading:k,disabled:K}),p&&(0,Q.jsx)(vt,{loading:k,disabled:K,readonly:X,value:L}),b&&(0,Q.jsxs)(Q.Fragment,{children:[i&&(0,Q.jsx)(ft,{}),(0,Q.jsx)(ut,{children:b})]})]})};Ht.states=$p;Ht.options=Vp;Ht.className=is;Ht.defaultOptions=Ee;Ht.moduleName=Xn;Ht.folderName=ss;var Xp=require("react/jsx-runtime");var ps=require("react/jsx-runtime");var ms=require("react/jsx-runtime");var st=require("react/jsx-runtime"),cs="k-actionsheet-titlebar",Jp={},bt=t=>{let{title:e,subtitle:o,actionsStart:a,actionsEnd:i,filter:p,input:l,inputValue:u,inputPlaceholder:b,adaptive:x,children:L,...C}=t;return(0,st.jsxs)("div",{...C,className:n(t.className,cs),children:[(0,st.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,st.jsx)("div",{className:"k-actionsheet-actions",children:a}),!L&&(0,st.jsxs)("div",{className:"k-actionsheet-title",children:[e&&(0,st.jsx)("div",{className:"k-text-center",children:e}),o&&(0,st.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),L&&(0,st.jsx)("div",{className:"k-actionsheet-title",children:L}),i&&(0,st.jsx)("div",{className:"k-actionsheet-actions",children:i})]}),(l||p)&&(0,st.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?(0,st.jsx)(Ht,{value:u,placeholder:b,size:x?"large":"medium"}):(0,st.jsx)(kt,{placeholder:"Filter",size:x?"large":"medium"})})]})};bt.className=cs;bt.defaultOptions=Jp;var Fe=require("react/jsx-runtime"),Jn="k-actionsheet-view",Wp=[],qp={},Yp={},$e=t=>{let{adaptive:e,animated:o,children:a,header:i,footer:p,...l}=t,u=(i==null?void 0:i.type)===bt&&(0,Fe.jsx)(bt,{adaptive:e,...i==null?void 0:i.props}),b=(p==null?void 0:p.type)===Ko&&(0,Fe.jsx)(Ko,{...p==null?void 0:p.props});return(0,Fe.jsxs)("div",{...l,className:n(t.className,Jn,{[`${Jn}-animated`]:o}),children:[u,(0,Fe.jsx)("div",{className:"k-actionsheet-content",children:a}),b]})};$e.states=Wp;$e.options=qp;$e.className=Jn;$e.defaultOptions=Yp;var Ro="action-sheet",an=Ro;var Te=require("react/jsx-runtime"),ds="k-actionsheet",Qp=[],Zp={},_o={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},it=t=>{let{side:e=_o.side,fullscreen:o=_o.fullscreen,adaptive:a=_o.adaptive,overlay:i=_o.overlay,template:p,children:l,header:u,footer:b,...x}=t;return(0,Te.jsxs)("div",{className:"k-actionsheet-container",children:[i&&(0,Te.jsx)("div",{className:"k-overlay"}),(0,Te.jsx)(_t,{animationStyle:{[`${o===!0?"top":e}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${e==="top"||e==="bottom"?"width":null}`]:"100%",[`${e==="left"||e==="right"?"height":null}`]:"100%"},children:(0,Te.jsx)("div",{...x,className:n(t.className,ds,{[`k-actionsheet-${e}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:p||(0,Te.jsx)($e,{header:u,footer:b,adaptive:a,...t,children:l})})})]})};it.states=Qp;it.options=Zp;it.className=ds;it.defaultOptions=_o;it.moduleName=Ro;it.folderName=an;var fs=require("react/jsx-runtime"),us="k-actionsheet-container",jp=[],tm={},em={},Ve=t=>{let{children:e,...o}=t;return(0,fs.jsx)("div",{...o,className:us,children:e})};Ve.states=jp;Ve.options=tm;Ve.className=us;Ve.defaultOptions=em;Ve.moduleName=Ro;Ve.folderName=an;var om=require("react/jsx-runtime");var Nt=require("react/jsx-runtime"),Wn="k-actionsheet-item",nm=[r.hover,r.focus,r.selected,r.disabled],qn=t=>{let{iconName:e,text:o,description:a,hover:i,focus:p,selected:l,disabled:u,...b}=t;return(0,Nt.jsxs)("span",{...b,className:n(t.className,Wn,A(Wn,{hover:i,focus:p,selected:l,disabled:u})),children:[!t.children&&(0,Nt.jsx)(Nt.Fragment,{children:(0,Nt.jsxs)("span",{className:"k-actionsheet-action",children:[e&&(0,Nt.jsx)("span",{className:"k-icon-wrap",children:(0,Nt.jsx)(T,{className:"k-actionsheet-item-icon",icon:e})}),(0,Nt.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,Nt.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,Nt.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),t.children]})};qn.states=nm;qn.className=Wn;var bs=require("react/jsx-runtime");var rm=require("react/jsx-runtime");var am=require("react/jsx-runtime");var sm=require("react/jsx-runtime");var Yn="slider",xs=Yn;var It=require("react/jsx-runtime"),Ho="k-slider",im=[r.hover,r.focus,r.active,r.disabled,r.readonly],lm={},ie={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},et=t=>{let{type:e=ie.type,orientation:o=ie.orientation,readonly:a=ie.readonly,disabled:i=ie.disabled,handlePosition:p=ie.handlePosition,showButtons:l=ie.showButtons,showTicks:u=ie.showTicks,hover:b,focus:x,active:L,trackStyle:C,dir:c,...h}=t,M,v;return o==="horizontal"?(M=c==="rtl"?"caret-alt-left":"caret-alt-right",v=c==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(M="caret-alt-up",v="caret-alt-down"),(0,It.jsxs)("div",{...h,className:n(Ho,t.className,A(Ho,{readonly:a,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":e==="gradient"}),dir:c,children:[l&&(0,It.jsx)(N,{className:"k-button-decrease",rounded:"full",icon:v}),(0,It.jsxs)("div",{className:"k-slider-track-wrap",children:[u&&(0,It.jsx)("ul",{className:"k-reset k-slider-items",children:t.children}),(0,It.jsxs)("div",{className:"k-slider-track",style:C,children:[(0,It.jsx)("div",{className:"k-slider-selection"}),e==="range"&&(0,It.jsx)("span",{className:n("k-draghandle","k-draghandle-start",A(Ho,{hover:b,focus:x,active:L}))}),(0,It.jsx)("span",{className:n("k-draghandle",`k-draghandle-${p}`,A(Ho,{hover:b,focus:x,active:L}))})]})]}),l&&(0,It.jsx)(N,{className:"k-button-increase",rounded:"full",icon:M})]})};et.states=im;et.options=lm;et.className=Ho;et.defaultOptions=ie;et.moduleName=Yn;et.folderName=xs;var Qn=require("react/jsx-runtime"),Ls="k-tick",pm=[],mm={},Ms={label:!1},le=t=>{let{style:e,label:o=Ms.label,orientation:a,large:i,text:p,...l}=t;return(0,Qn.jsx)("li",{...l,className:n(t.className,Ls,{[`k-tick-${a}`]:a,"k-tick-large":i}),style:e,children:o&&(0,Qn.jsx)("span",{className:"k-label",children:p})})};le.states=pm;le.options=mm;le.className=Ls;le.defaultOptions=Ms;var Zn=require("react/jsx-runtime");var jn=require("react/jsx-runtime");var tr=require("react/jsx-runtime");var er=require("react/jsx-runtime");var hs=require("react/jsx-runtime"),or=t=>(0,hs.jsx)(et,{type:"gradient",showButtons:!1,showTicks:!1,...t});var Cs=require("react/jsx-runtime"),nr=t=>(0,Cs.jsx)(et,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...t});var Do=require("react/jsx-runtime"),Ss="k-spin-button",um=[],fm={size:[s.small,s.medium,s.large],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link]},rr={size:s.medium,fillMode:d.solid},pe=t=>{let{size:e=rr.size,fillMode:o=rr.fillMode,...a}=t;return(0,Do.jsxs)("span",{...a,className:n(Ss,t.className),children:[(0,Do.jsx)(N,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:e,fillMode:o}),(0,Do.jsx)(N,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:e,fillMode:o})]})};pe.states=um;pe.options=fm;pe.className=Ss;pe.defaultOptions=rr;pe.moduleName=null;pe.folderName=null;var As="numeric-textbox",Es="numerictextbox";var W=require("react/jsx-runtime"),Ts="k-numerictextbox",bm=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Nm={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},ve={showSpinButton:!0,showClearButton:!0,size:B.defaultOptions.size,rounded:B.defaultOptions.rounded,fillMode:B.defaultOptions.fillMode,separators:!0},H=t=>{let{size:e=ve.size,rounded:o=ve.rounded,fillMode:a=ve.fillMode,separators:i=ve.separators,showClearButton:p=ve.showClearButton,showSpinButton:l=ve.showSpinButton,prefix:u,suffix:b,value:x,placeholder:L,hover:C,focus:c,valid:h,invalid:M,required:v,loading:I,disabled:k,readonly:K,...X}=t;return(0,W.jsxs)(B,{...X,size:e,rounded:o,fillMode:a,hover:C,focus:c,valid:h,invalid:M,required:v,loading:I,disabled:k,readonly:K,className:n(t.className,Ts),children:[u&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(dt,{children:u}),i&&(0,W.jsx)(ft,{})]}),(0,W.jsx)(gt,{placeholder:L,value:x}),(0,W.jsx)(at,{valid:h,invalid:M,loading:I,disabled:k}),(0,W.jsx)(ct,{loading:I,disabled:k}),p&&(0,W.jsx)(vt,{loading:I,disabled:k,readonly:K,value:x}),b&&(0,W.jsxs)(W.Fragment,{children:[i&&(0,W.jsx)(ft,{}),(0,W.jsx)(ut,{children:b})]}),l&&(0,W.jsx)(pe,{className:"k-input-spinner",size:e,fillMode:a})]})};H.states=bm;H.options=Nm;H.className=Ts;H.defaultOptions=ve;H.moduleName=As;H.folderName=Es;var xm=require("react/jsx-runtime");var gs=require("react/jsx-runtime"),Lm="k-no-data",wo=t=>(0,gs.jsx)("span",{className:n(Lm,t.className),children:t.children});var Jt="list",me=Jt;var Dt=require("react/jsx-runtime"),ar="k-list",Mm=[],hm={size:[s.small,s.medium,s.large]},ks={size:s.medium},R=t=>{let{size:e=ks.size,virtualization:o,children:a,optionLabel:i,customValue:p,screenReaders:l,...u}=t,b,x,L,C,c=[];return a?a.map((h,M)=>{h.type===q?(h.props.root===!0?(b=h.props.label,h.props.children.map((v,I)=>{c.push((0,Dt.jsx)(O,{...v.props},`optChild-${I}-${new Date().getTime()}`))})):h.props.children.forEach((v,I)=>{let k="";I===0&&(k=h.props.label),c.push((0,Dt.jsx)(O,{className:I===0?"k-first":"",...v.props,groupLabel:k},`groupLabel-${I}-${new Date().getTime()}`))}),x=(0,Dt.jsx)(q,{label:b,virtualization:o,children:c})):h.type===O&&(c.push((0,Dt.jsx)(O,{...h.props},`${h.type}-${M}`)),L=(0,Dt.jsx)(Xe,{virtualization:o,children:c}),l&&(C=(0,Dt.jsxs)(wo,{className:"k-sr-only",children:[c.length," items found."]})))}):C=(0,Dt.jsx)(wo,{children:"No data found."}),(0,Dt.jsxs)("div",{...u,className:n(t.className,ar,E(ar,{size:e}),{"k-virtual-list":o}),children:[i,p,x,L,C]})};R.states=Mm;R.options=hm;R.className=ar;R.defaultOptions=ks;R.moduleName=Jt;R.folderName=me;var Os=require("react/jsx-runtime"),Is="k-list-container",Cm=[],Sm={},Am={},Je=t=>{let{...e}=t;return(0,Os.jsx)("div",{...e,className:n(t.className,Is),children:t.children})};Je.states=Cm;Je.options=Sm;Je.className=Is;Je.defaultOptions=Am;Je.moduleName=Jt;Je.folderName=me;var wt=require("react/jsx-runtime"),sr="k-list",Em=[],Tm={size:[s.small,s.medium,s.large]},ys={size:s.medium},Wt=t=>{let{size:e=ys.size,virtualization:o,children:a,...i}=t,p,l,u,b=[];return a?a.map((x,L)=>{x.type===q?(x.props.root===!0?(p=x.props.label,x.props.children.map((C,c)=>{b.push((0,wt.jsx)(O,{...C.props},`optChild-${c}-${new Date().getTime()}`))})):(b.push((0,wt.jsx)(Bs,{...x.props,children:x.props.label},`listChild-${L}`)),x.props.children.map((C,c)=>{b.push((0,wt.jsx)(O,{...C.props},`fwOptChild-${c}-${new Date().getTime()}`))})),l=(0,wt.jsx)(q,{label:p,virtualization:o,children:b})):x.type===O&&(b.push((0,wt.jsx)(O,{...x.props},`${x.type}-${L}`)),u=(0,wt.jsx)(Xe,{virtualization:o,children:b}))}):u=(0,wt.jsx)(wo,{children:"No data found."}),(0,wt.jsxs)("div",{...i,className:n(t.className,sr,E(sr,{size:e}),{"k-virtual-list":o}),children:[l,u]})};Wt.states=Em;Wt.options=Tm;Wt.className=sr;Wt.defaultOptions=ys;Wt.moduleName=Jt;Wt.folderName=me;var ge="checkbox",We=ge;var lr=require("react/jsx-runtime"),sn="k-checkbox",vm=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],gm={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full]},ir={size:s.medium,rounded:f.medium},zt=t=>{let{id:e,checked:o,indeterminate:a,hover:i,focus:p,disabled:l,invalid:u,valid:b,required:x,size:L=ir.size,rounded:C=ir.rounded,...c}=t;return(0,lr.jsx)("span",{className:"k-checkbox-wrap",children:(0,lr.jsx)("input",{...c,id:e,type:"checkbox",defaultChecked:o,required:x,className:n(t.className,sn,E(sn,{size:L,rounded:C}),A(sn,{hover:i,focus:p,disabled:l,invalid:u,valid:b,indeterminate:a,checked:o}))})})};zt.states=vm;zt.options=gm;zt.className=sn;zt.defaultOptions=ir;zt.moduleName=ge;zt.folderName=We;var Rs=require("react/jsx-runtime"),Ps="k-checkbox-list",km=[],Im={},Ks={layout:"vertical"},ce=t=>{let{layout:e=Ks.layout,...o}=t;return(0,Rs.jsx)("ul",{...o,className:n(t.className,Ps,{[`k-list-${e}`]:e}),children:t.children})};ce.states=km;ce.options=Im;ce.className=Ps;ce.defaultOptions=Ks;ce.moduleName=ge;ce.folderName=We;var Hs=require("react/jsx-runtime"),_s="k-checkbox-list-item",Om=[],ym={},Bm={},de=t=>{let{...e}=t;return(0,Hs.jsx)("li",{...e,className:n(t.className,_s),children:t.children})};de.states=Om;de.options=ym;de.className=_s;de.defaultOptions=Bm;de.moduleName=ge;de.folderName=We;var mr=require("react/jsx-runtime");var cr=require("react/jsx-runtime");var dr=require("react/jsx-runtime");var ur=require("react/jsx-runtime");var Pm=require("react/jsx-runtime");var Km=require("react/jsx-runtime");var ke=require("react/jsx-runtime"),fr="k-list-item",Rm=[r.hover,r.focus,r.selected,r.disabled],_m={},Hm={},O=t=>{let{text:e,groupLabel:o,group:a,showIcon:i,iconName:p,showCheckbox:l,checked:u,hover:b,focus:x,selected:L,disabled:C,...c}=t,h=e||t.children;return(0,ke.jsxs)("li",{...c,className:n(t.className,a?"k-list-group-item":fr,A(fr,{hover:b,focus:x,disabled:C,selected:L})),children:[l&&(0,ke.jsx)(zt,{checked:u}),i&&(0,ke.jsx)(T,{icon:p}),(0,ke.jsx)("span",{className:"k-list-item-text",children:h}),o&&o!==""&&(0,ke.jsx)("div",{className:"k-list-item-group-label",children:o})]})};O.states=Rm;O.options=_m;O.className=fr;O.defaultOptions=Hm;O.moduleName=Jt;O.folderName=me;var qe=require("react/jsx-runtime"),Dm="k-list-content",Xe=t=>{let{virtualization:e,...o}=t;return(0,qe.jsxs)("div",{...o,className:n(Dm,t.className),children:[(0,qe.jsx)("ul",{className:n("k-list-ul"),children:t.children}),e&&(0,qe.jsx)("div",{className:"k-height-container",children:(0,qe.jsx)("div",{})})]})};var br=require("react/jsx-runtime"),wm="k-list-group-sticky-header",Ds=t=>(0,br.jsx)("div",{className:n(wm,t.className),children:(0,br.jsx)("div",{className:"k-list-header-text",children:t.children})});var Ie=require("react/jsx-runtime"),q=t=>{let{virtualization:e,label:o}=t;return(0,Ie.jsxs)(Ie.Fragment,{children:[o&&(0,Ie.jsx)(Ds,{children:o}),t.children&&(0,Ie.jsx)(Xe,{virtualization:e,children:t.children})]})};var Nr=require("react/jsx-runtime"),zm="k-list-group-item",Bs=t=>(0,Nr.jsx)("li",{className:n(zm,t.className),children:(0,Nr.jsx)("span",{className:"k-list-item-text",children:t.children})});var ws=require("react/jsx-runtime"),xr="k-list-optionlabel",Gm=[r.hover,r.focus,r.selected,r.disabled],Um={},Fm={},ln=t=>{let{text:e,hover:o,focus:a,selected:i,disabled:p,...l}=t;return(0,ws.jsx)("div",{...l,className:n(xr,A(xr,{hover:o,focus:a,selected:i,disabled:p})),children:e})};ln.states=Gm;ln.options=Um;ln.className=xr;ln.defaultOptions=Fm;var zs=require("react/jsx-runtime"),Lr="k-list-custom-value",$m=[r.hover,r.focus,r.selected,r.disabled],Vm={},Xm={},ue=t=>{let{text:e,hover:o,focus:a,selected:i,disabled:p,...l}=t;return(0,zs.jsx)("div",{...l,className:n(Lr,A(Lr,{hover:o,focus:a,selected:i,disabled:p})),children:e})};ue.states=$m;ue.options=Vm;ue.className=Lr;ue.defaultOptions=Xm;var Jm=require("react/jsx-runtime");var Wm=require("react/jsx-runtime");var Gs=require("react/jsx-runtime");var Us=require("react/jsx-runtime");var qm=require("react/jsx-runtime");var Fs=require("react/jsx-runtime");var $s=require("react/jsx-runtime");var Vs="dropdown-list",Xs="dropdownlist";var D=require("react/jsx-runtime"),Js="k-dropdownlist",Ym=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Qm={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Ye={showValue:!0,arrowIconName:"caret-alt-down",size:s.medium,rounded:f.medium,fillMode:d.solid},Gt=t=>{let{size:e=Ye.size,rounded:o=Ye.rounded,fillMode:a=Ye.fillMode,arrowIconName:i=Ye.arrowIconName,showValue:p=Ye.showValue,valueIconName:l,prefix:u,suffix:b,value:x,placeholder:L,hover:C,focus:c,valid:h,invalid:M,required:v,loading:I,disabled:k,readonly:K,popup:X,opened:Rt,adaptive:Mo,adaptiveSettings:ho,adaptiveTitle:Sn,adaptiveSubtitle:An,adaptiveFilter:zl,...Gl}=t;return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsxs)(rt,{...Gl,size:e,rounded:o,fillMode:a,hover:C,focus:c,valid:h,invalid:M,required:v,loading:I,disabled:k,readonly:K,className:n(t.className,Js,{"k-icon-picker":!p&&l}),children:[(0,D.jsx)(dt,{children:u}),(0,D.jsx)(Ae,{placeholder:L,value:x,showValue:p,valueIconName:l}),(0,D.jsx)(at,{valid:h,invalid:M,loading:I,disabled:k}),(0,D.jsx)(ct,{loading:I,disabled:k}),(0,D.jsx)(ut,{children:b}),(0,D.jsx)(N,{className:"k-input-button",icon:i,rounded:null,size:t.size,fillMode:t.fillMode})]}),Rt&&X&&(0,D.jsx)(G,{className:"k-list-container k-dropdownlist-popup",children:X}),Mo&&(0,D.jsx)(it,{adaptive:!0,...ho,header:(0,D.jsx)(bt,{actionsEnd:(0,D.jsx)(N,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:zl,inputValue:x,inputPlaceholder:L,title:Sn,subtitle:An}),children:(0,D.jsx)("div",{className:"k-list-container",children:(0,D.jsxs)(R,{size:"large",children:[(0,D.jsx)(O,{text:"List item"}),(0,D.jsx)(O,{text:"List item"}),(0,D.jsx)(O,{text:"List item"})]})})})]})};Gt.states=Ym;Gt.options=Qm;Gt.className=Js;Gt.defaultOptions=Ye;Gt.moduleName=Vs;Gt.folderName=Xs;var Zm=require("react/jsx-runtime");var Ws=require("react/jsx-runtime");var Mr=require("react/jsx-runtime");var jm=require("react/jsx-runtime");var qs=require("react/jsx-runtime");var Ys=require("react/jsx-runtime");var hr=require("react/jsx-runtime");var Cr=require("react/jsx-runtime");var Qs=require("react/jsx-runtime");var Zs=require("react/jsx-runtime");var S=require("react/jsx-runtime"),js="k-colorgradient-inputs",tc=[],ec={size:[s.small,s.medium,s.large]},ti={mode:"rgba",size:s.medium},Qe=t=>{let{mode:e=ti.mode,size:o,...a}=t;return(0,S.jsxs)("div",{...a,className:n(js,"k-hstack"),children:[(0,S.jsx)("div",{className:"k-vstack",children:(0,S.jsx)(N,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),e==="rgba"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),e==="rgb"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),e==="hsva"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),e==="hsv"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),e==="hex"&&(0,S.jsx)(S.Fragment,{children:(0,S.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,S.jsx)(Ht,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Qe.states=tc;Qe.options=ec;Qe.className=js;Qe.defaultOptions=ti;var Z=require("react/jsx-runtime"),ei="k-colorgradient-color-contrast",oc=[],nc={},rc={},Ze=()=>(0,Z.jsxs)("div",{className:n(ei,"k-vbox"),children:[(0,Z.jsxs)("div",{className:"k-contrast-ratio",children:[(0,Z.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,Z.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,Z.jsx)(T,{icon:"check"}),(0,Z.jsx)(T,{icon:"check"})]})]}),(0,Z.jsxs)("div",{children:[(0,Z.jsx)("span",{children:"AA: 4.5"}),(0,Z.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,Z.jsx)(T,{icon:"check"})]})]}),(0,Z.jsxs)("div",{children:[(0,Z.jsx)("span",{children:"AAA: 7.0"}),(0,Z.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,Z.jsx)(T,{icon:"x"})]})]})]});Ze.states=oc;Ze.options=nc;Ze.className=ei;Ze.defaultOptions=rc;var oi="color-gradient",ni="colorgradient";var F=require("react/jsx-runtime"),pn="k-colorgradient",ac=[r.hover,r.focus,r.readonly,r.disabled],sc={size:[s.small,s.medium,s.large]},Ot={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"},Ut=t=>{let{size:e=Ot.size,mode:o=Ot.mode,readonly:a=Ot.readonly,disabled:i=Ot.disabled,gradientStyle:p=Ot.gradientStyle,dragHandleStyle:l=Ot.dragHandleStyle,alphaStyle:u=Ot.alphaStyle,alphaStyleHorizontal:b=Ot.alphaStyleHorizontal,contrast:x=Ot.contrast,dir:L,hover:C,focus:c,hoverHandle:h,focusHandle:M,canvasOrientation:v=Ot.canvasOrientation,...I}=t;return(0,F.jsxs)("div",{...I,className:n(t.className,pn,E(pn,{size:e}),A(pn,{hover:C,focus:c,readonly:a,disabled:i})),dir:L,children:[!v||v==="horizontal"&&(0,F.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,F.jsx)("div",{className:"k-hsv-rectangle",style:p,children:(0,F.jsx)("div",{className:"k-hsv-gradient",children:(0,F.jsx)("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":h,"k-focus":M}),style:l})})}),(0,F.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,F.jsx)(nr,{className:"k-hue-slider",hover:h,focus:M}),o!=="rgb"&&o!=="hsv"&&(0,F.jsx)(nr,{className:"k-alpha-slider",hover:h,focus:M,trackStyle:u})]})]}),v==="vertical"&&(0,F.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,F.jsx)("div",{className:"k-hsv-rectangle",style:p,children:(0,F.jsx)("div",{className:"k-hsv-gradient",children:(0,F.jsx)("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":h,"k-focus":M}),style:l})})}),(0,F.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,F.jsx)(or,{className:"k-hue-slider",hover:h,focus:M}),o!=="rgb"&&o!=="hsv"&&(0,F.jsx)(or,{className:"k-alpha-slider",hover:h,focus:M,trackStyle:b})]})]}),(0,F.jsx)(Qe,{mode:t.mode,size:e}),x&&(0,F.jsx)(Ze,{})]})};Ut.states=ac;Ut.options=sc;Ut.className=pn;Ut.defaultOptions=Ot;Ut.moduleName=oi;Ut.folderName=ni;var ic=require("react/jsx-runtime");var lc=require("react/jsx-runtime");var ai=require("react/jsx-runtime"),ri=t=>(0,ai.jsx)("tr",{children:t.children});var si=require("react/jsx-runtime"),Sr="k-colorpalette-tile",pc=[r.hover,r.focus,r.selected],mc={},zo=t=>{let{color:e,tileSize:o,hover:a,focus:i,selected:p,...l}=t,u={backgroundColor:e,width:o?o+"px":"",height:o?o+"px":""};return(0,si.jsx)("td",{...l,className:n(t.className,Sr,A(Sr,{hover:a,focus:i,selected:p})),style:u})};zo.states=pc;zo.options=mc;zo.className=Sr;var ii="color-palette",li="colorpalette";var je=require("react/jsx-runtime"),mn="k-colorpalette",cc=[r.disabled],dc={size:[s.small,s.medium,s.large]},Ar={columns:10,size:s.medium},fe=t=>{let{size:e=Ar.size,palette:o,columns:a=Ar.columns,tileSize:i,disabled:p,...l}=t,u=[];if(o){let b=a||o.columns,x=o.colors?o.colors:o;Array.isArray(x)&&Array.from({length:Math.ceil(x.length/b)},(L,C)=>{let c=[];x.slice(C*b,(C+1)*b).map((M,v)=>{c.push((0,je.jsx)(zo,{color:M,tileSize:i},v))});let h=(0,je.jsx)(ri,{children:c},C);u.push(h)})}return(0,je.jsx)("div",{...l,className:n(t.className,mn,A(mn,{disabled:p}),E(mn,{size:e})),children:(0,je.jsx)("table",{className:"k-colorpalette-table",children:(0,je.jsx)("tbody",{children:u.length>0?u:t.children})})})};fe.states=cc;fe.options=dc;fe.className=mn;fe.defaultOptions=Ar;fe.moduleName=ii;fe.folderName=li;var Er={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 uc=require("react/jsx-runtime");var pi="color-editor",mi="coloreditor";var U=require("react/jsx-runtime"),cn="k-coloreditor",fc=[r.focus],bc={size:[s.small,s.medium,s.large]},to={size:s.medium,view:"gradient",palette:Er.office,actionButtons:!0,canvasOrientation:"horizontal"},xt=t=>{let{size:e=to.size,view:o=to.view,palette:a=to.palette,color:i,currentColor:p,focus:l,focusView:u,dir:b,group:x,actionButtons:L=to.actionButtons,canvasOrientation:C=to.canvasOrientation,...c}=t;return(0,U.jsxs)("div",{...c,className:n(t.className,"k-flatcolorpicker",cn,E(cn,{size:e}),A(cn,{focus:l})),dir:b,children:[(0,U.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,U.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:x&&(0,U.jsxs)(_,{fillMode:"flat",children:[(0,U.jsx)(N,{className:"k-group-start",size:e,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),(0,U.jsx)(N,{className:"k-group-end",size:e,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),(0,U.jsx)("div",{className:"k-spacer"}),(0,U.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,U.jsx)(N,{fillMode:"flat",icon:"droplet-slash",size:e}),(0,U.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,U.jsx)(ae,{className:"k-coloreditor-preview-color",color:i}),(0,U.jsx)(ae,{className:"k-coloreditor-current-color",color:p})]})]})]}),(0,U.jsx)("div",{className:"k-coloreditor-