@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 75.2 kB
JavaScript
var pi=Object.create;var bo=Object.defineProperty;var mi=Object.getOwnPropertyDescriptor;var di=Object.getOwnPropertyNames;var ci=Object.getPrototypeOf,ui=Object.prototype.hasOwnProperty;var fi=(e,t)=>{for(var o in t)bo(e,o,{get:t[o],enumerable:!0})},Ta=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of di(t))!ui.call(e,i)&&i!==o&&bo(e,i,{get:()=>t[i],enumerable:!(r=mi(t,i))||r.enumerable});return e};var bi=(e,t,o)=>(o=e!=null?pi(ci(e)):{},Ta(t||!e||!e.__esModule?bo(o,"default",{value:e,enumerable:!0}):o,e)),Ni=e=>Ta(bo({},"__esModule",{value:!0}),e);var jm={};fi(jm,{ImageEditorNormal:()=>Ym});module.exports=Ni(jm);var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...t):typeof t=="object"?Object.keys(t).map((o,r)=>t[r]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var v=(e,t)=>n({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.fillMode}-${t.themeColor}`]:t.fillMode&&t.themeColor},{[`${e}-${t.themeColor}`]:t.themeColor&&t.fillMode===void 0},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full"}),I=(e,t)=>{let{valid:o,invalid:r,hover:i,focus:l,checked:p,active:c,selected:d,disabled:b,indeterminate:N,loading:k,empty:m,readonly:M,highlighted:h,...E}=t;return n({"k-valid":o,"k-invalid":r,"k-hover":i,"k-focus":l,"k-checked":p,"k-active":c,"k-selected":d,"k-disabled":b,"k-indeterminate":N&&!p,"k-loading":k,"k-empty":m,"k-readonly":M,"k-highlighted":h},Object.keys(E).reduce((O,A)=>(A.startsWith("k-")?O[A]=E[A]:O[`k-${A}`]=E[A],O),{}))};function Ca(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(r=>[`k-${r}`,!0]))}var s={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},x={small:"small",medium:"medium",large:"large",full:"full"},u={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},f={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},a={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 Jt=require("react/jsx-runtime"),wo="k-font-icon",Li=[],xi={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark]},Mi={},qt=e=>{let{size:t,themeColor:o,icon:r,rotate:i,flip:l,...p}=e;return r?(0,Jt.jsx)("span",{...p,className:n(e.className,wo,v(wo,{size:t}),{[`k-i-${r}`]:r,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"})}):(0,Jt.jsx)(Jt.Fragment,{})};qt.states=Li;qt.options=xi;qt.className=wo;qt.defaultOptions=Mi;var Aa=qt;var ct=require("react/jsx-runtime"),Ho="k-svg-icon",hi=[],ki={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark]},Oa={viewBox:"0 0 24 24"},Wt=e=>{let{size:t,themeColor:o,rotate:r,flip:i,viewBox:l=Oa.viewBox,icon:p,...c}=e;if(!p)return(0,ct.jsx)(ct.Fragment,{});p==="none"&&{...c,className:n(e.className,Ho,"k-none")};let d=typeof p=="object"&&p.name&&p.name;return(0,ct.jsx)("span",{...c,className:n(e.className,Ho,v("k-icon",{size:t}),{[`k-svg-i-${d}`]:d,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),children:(0,ct.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof p=="object"?p.viewBox:l,dangerouslySetInnerHTML:typeof p=="object"?{__html:p.content}:void 0,children:p?void 0:e.children})})};Wt.states=hi;Wt.options=ki;Wt.className=Ho;Wt.defaultOptions=Oa;var Do=Wt;var Fo=bi(require("@progress/kendo-svg-icons"));var ya="icon",Ra="icons";var ze=require("react/jsx-runtime"),No="k-icon",Si=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Ei=[],vi={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark]},Go={viewBox:"0 0 24 24",type:"svg"},g=e=>{let{size:t,themeColor:o,icon:r,type:i=Go.type,rotate:l,flip:p,viewBox:c=Go.viewBox,...d}=e;if(!r)return(0,ze.jsx)(ze.Fragment,{});if(i==="svg"){if(r==="none")return(0,ze.jsx)(Do,{...d,className:n(e.className,No),icon:r,size:t});let b=Fo[r]?r:Si(`${r}-icon`);return Fo[b]?(0,ze.jsx)(Do,{...d,className:n(e.className,No),icon:Fo[b],size:t,themeColor:o,rotate:l,flip:p,viewBox:c}):(0,ze.jsx)(ze.Fragment,{})}return(0,ze.jsx)(Aa,{...d,className:n(e.className,No),icon:r,size:t,themeColor:o,rotate:l,flip:p})};g.states=Ei;g.options=vi;g.defaultOptions=Go;g.className=No;g.moduleName=ya;g.folderName=Ra;var Uo="button",Ba=Uo;var Ne=require("react/jsx-runtime"),Zt="k-button",gi=["icon-button"],Ii=[a.hover,a.focus,a.active,a.selected,a.disabled,a.generating],Ti={size:[s.small,s.medium,s.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[u.solid,u.flat,u.outline,u.clear,u.link],themeColor:[f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark,f.inverse]},ut={size:s.medium,rounded:x.medium,fillMode:u.solid,themeColor:f.base,showArrow:!1,arrowIconName:"caret-alt-down"},L=e=>{let{size:t=ut.size,rounded:o=ut.rounded,fillMode:r=ut.fillMode,themeColor:i=ut.themeColor,showArrow:l=ut.showArrow,arrowIconName:p=ut.arrowIconName,variant:c,hover:d,focus:b,active:N,selected:k,disabled:m,icon:M,text:h,iconClassName:E,...O}=e,A=M!==void 0,B=e.children!==void 0;return(0,Ne.jsxs)("button",{...O,className:n(e.className,Zt,Ca(Zt,c),v(Zt,{size:t,rounded:o,fillMode:r,themeColor:i}),I(Zt,{hover:d,focus:b,active:N,disabled:m,selected:k}),{"k-icon-button":!h&&!B&&A}),children:[M&&(0,Ne.jsx)(g,{className:n(E,"k-button-icon"),icon:M}),h?(0,Ne.jsxs)(Ne.Fragment,{children:[h&&(0,Ne.jsx)("span",{className:"k-button-text",children:h}),e.children]}):e.children&&(0,Ne.jsx)("span",{className:"k-button-text",children:e.children}),l&&(0,Ne.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Ne.jsx)(g,{icon:p})})]})};L.states=Ii;L.options=Ti;L.variants=gi;L.className=Zt;L.defaultOptions=ut;L.moduleName=Uo;L.folderName=Ba;var Ka=require("react/jsx-runtime"),Lo=e=>(0,Ka.jsx)(L,{icon:"folder",...e,children:void 0});var _a=require("react/jsx-runtime"),$o=e=>(0,_a.jsx)(L,{icon:"folder",children:"Button",...e});var Ci=require("react/jsx-runtime");var Xo="button",Pa=Xo;var wa=require("react/jsx-runtime"),Qt="k-button-group",Ai=[a.disabled],Oi={fillMode:[u.solid,u.flat,u.outline,u.clear,u.link]},za={fillMode:u.solid},_=e=>{let{fillMode:t=za.fillMode,disabled:o,stretched:r,...i}=e;return(0,wa.jsx)("div",{...i,className:n(e.className,Qt,v(Qt,{fillMode:t}),I(Qt,{disabled:o}),{[`${Qt}-stretched`]:r}),children:e.children})};_.states=Ai;_.options=Oi;_.className=Qt;_.defaultOptions=za;_.moduleName=Xo;_.folderName=Pa;var Vo=require("react/jsx-runtime");var Jo=require("react/jsx-runtime");var qo=require("react/jsx-runtime");var Wo=require("react/jsx-runtime");var Yt="input",xo=Yt;var Ha=require("react/jsx-runtime"),Mo="k-input",yi=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Ri={size:[s.small,s.medium,s.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[u.solid,u.flat,u.outline]},ho={size:s.medium,rounded:s.medium,fillMode:u.solid},R=e=>{let{hover:t,focus:o,disabled:r,invalid:i,valid:l,loading:p,readonly:c,size:d=ho.size,rounded:b=ho.rounded,fillMode:N=ho.fillMode,...k}=e;return(0,Ha.jsx)("span",{...k,className:n(e.className,Mo,v(Mo,{size:d,rounded:b,fillMode:N}),I(Mo,{hover:t,focus:o,disabled:r,invalid:i,valid:l,loading:p,readonly:c}))})};R.states=yi;R.options=Ri;R.className=Mo;R.defaultOptions=ho;R.moduleName=Yt;R.folderName=xo;var Da=require("react/jsx-runtime"),ko="k-picker",Bi=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Ki={size:[s.small,s.medium,s.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[u.solid,u.flat,u.outline]},So={size:s.medium,rounded:x.medium,fillMode:u.solid},j=e=>{let{hover:t,focus:o,disabled:r,invalid:i,valid:l,loading:p,readonly:c,size:d=So.size,rounded:b=So.rounded,fillMode:N=So.fillMode,...k}=e;return(0,Da.jsx)("span",{...k,className:n(e.className,ko,v(ko,{size:d,rounded:b,fillMode:N}),I(ko,{hover:t,focus:o,disabled:r,invalid:i,valid:l,loading:p,readonly:c})),children:e.children})};j.states=Bi;j.options=Ki;j.className=ko;j.defaultOptions=So;j.moduleName=Yt;j.folderName=xo;var Tt=require("react/jsx-runtime"),Fa="k-clear-value",_i=[a.disabled,a.loading,a.readonly],Pi={},Le=e=>{let{disabled:t,loading:o,readonly:r,value:i}=e;return t||r||o||!i?(0,Tt.jsx)(Tt.Fragment,{}):(0,Tt.jsx)("span",{className:n(e.className,Fa),children:(0,Tt.jsx)(g,{icon:"x"})})};Le.states=_i;Le.options=Pi;Le.className=Fa;var Ga=require("react/jsx-runtime"),Zo="k-input-inner",zi=[],wi={},Eo={type:"text",autocomplete:"off",value:"",placeholder:""},xe=e=>{let{value:t=Eo.value,type:o=Eo.type,placeholder:r=Eo.placeholder,autocomplete:i=Eo.autocomplete,...l}=e;return(0,Ga.jsx)("input",{...l,type:o,className:n(e.className,Zo,v(Zo,e)),placeholder:r,autoComplete:i,defaultValue:t})};xe.states=zi;xe.options=wi;xe.className=Zo;var jt=require("react/jsx-runtime"),Qo="k-input-inner",Hi=[],Di={},ft=e=>{let{value:t,placeholder:o,showValue:r,valueIcon:i,valueIconName:l,...p}=e;return(0,jt.jsxs)("span",{...p,className:n(e.className,Qo,v(Qo,e)),children:[i,!i&&l&&(0,jt.jsx)(g,{className:"k-input-value-icon",icon:l}),r&&!t&&o,r&&t&&(0,jt.jsx)("span",{className:"k-input-value-text",children:t})]})};ft.states=Hi;ft.options=Di;ft.className=Qo;var $a=require("react/jsx-runtime"),Yo="k-input-inner",Fi=[],Gi={},Ua={value:"",placeholder:""},jo=e=>{let{value:t=Ua.value,placeholder:o=Ua.placeholder,rows:r,...i}=e;return(0,$a.jsx)("textarea",{...i,className:n(e.className,Yo,v(Yo,e)),placeholder:o,rows:r,defaultValue:t})};jo.states=Fi;jo.options=Gi;jo.className=Yo;var eo=require("react/jsx-runtime"),Xa="k-input-loading-icon",Ui=[a.disabled,a.loading],se=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,eo.jsx)(eo.Fragment,{}):(0,eo.jsx)("span",{className:n(e.className,Xa,"k-icon k-i-loading")})};se.states=Ui;se.className=Xa;var to=require("react/jsx-runtime"),Va="k-input-validation-icon",$i=[a.valid,a.invalid,a.disabled,a.loading],Xi={},ee=e=>{let{valid:t,invalid:o,disabled:r,loading:i}=e,l=o?"warning-circle":"check-circle";return r||i||!!!(t||o)?(0,to.jsx)(to.Fragment,{}):(0,to.jsx)(g,{className:n(Va),icon:l})};ee.states=$i;ee.options=Xi;ee.className=Va;var oo=require("react/jsx-runtime"),Vi="k-input-prefix",Ji={direction:"horizontal"},ge=e=>{let{direction:t=Ji.direction,...o}=e;return e.children?(0,oo.jsx)("span",{...o,className:n(Vi,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,oo.jsx)(oo.Fragment,{})};var no=require("react/jsx-runtime"),qi="k-input-suffix",Wi={direction:"horizontal"},Ie=e=>{let{direction:t=Wi.direction,...o}=e;return e.children?(0,no.jsx)("span",{...o,className:n(qi,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,no.jsx)(no.Fragment,{})};var Zi=require("react/jsx-runtime");var Qi=require("react/jsx-runtime");var qa=require("react/jsx-runtime"),Ja="k-input-separator",Yi={direction:"vertical"},we=e=>{let{direction:t=Yi.direction,...o}=e;return(0,qa.jsx)("span",{...o,className:n(Ja,e.className,{[`${Ja}-${t}`]:t})})};var ao=require("react/jsx-runtime"),Wa="k-color-preview",ji=[],el={},Ze=e=>{let{color:t,iconName:o,...r}=e;return(0,ao.jsxs)("span",{...r,className:n(e.className,Wa,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,ao.jsx)(g,{icon:o,className:"k-color-preview-icon"}),(0,ao.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ze.states=ji;Ze.options=el;Ze.className=Wa;var en="popup",Za=en;var tn=require("react/jsx-runtime"),Qa="k-animation-container",tl=[],ol={},Ya={positionMode:"absolute"},Te=e=>{let{positionMode:t=Ya.positionMode,animationStyle:o,offset:r,...i}=e;return(0,tn.jsx)("div",{...i,style:{...r,...e.style},className:n(e.className,Qa,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,tn.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};Te.states=tl;Te.options=ol;Te.className=Qa;Te.defaultOptions=Ya;Te.moduleName=en;Te.folderName=Za;var on="popup",ja=on;var nn=require("react/jsx-runtime"),er="k-popup",nl=[],al={},tr={positionMode:"absolute"},H=e=>{let{offset:t,positionMode:o=tr.positionMode,animationStyle:r,...i}=e;return(0,nn.jsx)(Te,{positionMode:o,offset:t,animationStyle:r,children:(0,nn.jsx)("div",{...i,className:n(e.className,er),children:e.children})})};H.states=nl;H.options=al;H.className=er;H.defaultOptions=tr;H.moduleName=on;H.folderName=ja;var an="action-buttons",or=an;var nr=require("react/jsx-runtime"),vo="k-actions",rl=[],sl={},rn={alignment:"start",orientation:"horizontal"},Ce=e=>{let{alignment:t=rn.alignment,orientation:o=rn.orientation,...r}=e;return(0,nr.jsx)("div",{...r,className:n(vo,{[`${vo}-${t}`]:t,[`${vo}-${o}`]:o},e.className),children:e.children})};Ce.states=rl;Ce.options=sl;Ce.className=vo;Ce.defaultOptions=rn;Ce.moduleName=an;Ce.folderName=or;var rr=require("react/jsx-runtime"),il="k-actionsheet-footer",ar={alignment:"stretched",orientation:"horizontal"},ro=e=>{let{alignment:t=ar.alignment,orientation:o=ar.orientation,template:r,as:i=r?"div":Ce,...l}=e;return(0,rr.jsx)(i,{...l,...!r&&{alignment:t,orientation:o},className:n(e.className,il),children:e.children})};var sn="searchbox",sr=sn;var Qe=require("react/jsx-runtime"),ir="k-searchbox",ll=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading],pl={size:[s.small,s.medium,s.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[u.solid,u.flat,u.outline]},ln={showIcon:!0,icon:"search",size:R.defaultOptions.size,rounded:R.defaultOptions.rounded,fillMode:R.defaultOptions.fillMode},Me=e=>{let{value:t,placeholder:o,size:r,rounded:i,fillMode:l,hover:p,focus:c,valid:d,invalid:b,required:N,loading:k,disabled:m,showIcon:M=ln.showIcon,icon:h=ln.icon,...E}=e;return(0,Qe.jsxs)(R,{...E,size:r,rounded:i,fillMode:l,hover:p,focus:c,valid:d,invalid:b,required:N,loading:k,disabled:m,className:n(e.className,ir),children:[M&&(0,Qe.jsx)(g,{className:"k-input-icon",icon:h}),(0,Qe.jsx)(xe,{placeholder:o,value:t}),(0,Qe.jsx)(se,{...e}),(0,Qe.jsx)(ee,{...e}),(0,Qe.jsx)(Le,{...e})]})};Me.states=ll;Me.options=pl;Me.className=ir;Me.defaultOptions=ln;Me.moduleName=sn;Me.folderName=sr;var ml=require("react/jsx-runtime");var pn="textbox",lr=pn;var V=require("react/jsx-runtime"),pr="k-textbox",dl=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],cl={size:[s.small,s.medium,s.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[u.solid,u.flat,u.outline]},bt={showClearButton:!0,showValidationIcon:!0,size:R.defaultOptions.size,rounded:R.defaultOptions.rounded,fillMode:R.defaultOptions.fillMode,separators:!0},te=e=>{let{size:t=bt.size,rounded:o=bt.rounded,fillMode:r=bt.fillMode,separators:i=bt.separators,showClearButton:l=bt.showClearButton,showValidationIcon:p=bt.showValidationIcon,prefix:c,suffix:d,type:b,value:N,placeholder:k,hover:m,focus:M,valid:h,invalid:E,required:O,loading:A,disabled:B,readonly:W,...We}=e;return(0,V.jsxs)(R,{...We,size:t,rounded:o,fillMode:r,hover:m,focus:M,valid:h,invalid:E,required:O,loading:A,disabled:B,readonly:W,className:n(e.className,pr),children:[c&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(ge,{children:c}),i&&(0,V.jsx)(we,{})]}),(0,V.jsx)(xe,{placeholder:k,value:N,type:b}),p&&(0,V.jsx)(ee,{valid:h,invalid:E,loading:A,disabled:B}),(0,V.jsx)(se,{loading:A,disabled:B}),l&&(0,V.jsx)(Le,{loading:A,disabled:B,readonly:W,value:N}),d&&(0,V.jsxs)(V.Fragment,{children:[i&&(0,V.jsx)(we,{}),(0,V.jsx)(Ie,{children:d})]})]})};te.states=dl;te.options=cl;te.className=pr;te.defaultOptions=bt;te.moduleName=pn;te.folderName=lr;var ul=require("react/jsx-runtime");var dr=require("react/jsx-runtime");var cr=require("react/jsx-runtime");var oe=require("react/jsx-runtime"),ur="k-actionsheet-titlebar",fl={},ie=e=>{let{title:t,subtitle:o,actionsStart:r,actionsEnd:i,filter:l,input:p,inputValue:c,inputPlaceholder:d,adaptive:b,children:N,...k}=e;return(0,oe.jsxs)("div",{...k,className:n(e.className,ur),children:[(0,oe.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[r&&(0,oe.jsx)("div",{className:"k-actionsheet-actions",children:r}),!N&&(0,oe.jsxs)("div",{className:"k-actionsheet-title",children:[t&&(0,oe.jsx)("div",{className:"k-text-center",children:t}),o&&(0,oe.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&(0,oe.jsx)("div",{className:"k-actionsheet-title",children:N}),i&&(0,oe.jsx)("div",{className:"k-actionsheet-actions",children:i})]}),(p||l)&&(0,oe.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:p?(0,oe.jsx)(te,{value:c,placeholder:d,size:b?"large":"medium"}):(0,oe.jsx)(Me,{placeholder:"Filter",size:b?"large":"medium"})})]})};ie.className=ur;ie.defaultOptions=fl;var Ct=require("react/jsx-runtime"),mn="k-actionsheet-view",bl=[],Nl={},Ll={},At=e=>{let{adaptive:t,animated:o,children:r,header:i,footer:l,...p}=e,c=(i==null?void 0:i.type)===ie&&(0,Ct.jsx)(ie,{adaptive:t,...i==null?void 0:i.props}),d=(l==null?void 0:l.type)===ro&&(0,Ct.jsx)(ro,{...l==null?void 0:l.props});return(0,Ct.jsxs)("div",{...p,className:n(e.className,mn,{[`${mn}-animated`]:o}),children:[c,(0,Ct.jsx)("div",{className:"k-actionsheet-content",children:r}),d]})};At.states=bl;At.options=Nl;At.className=mn;At.defaultOptions=Ll;var so="action-sheet",go=so;var Nt=require("react/jsx-runtime"),fr="k-actionsheet",xl=[],Ml={},io={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ne=e=>{let{side:t=io.side,fullscreen:o=io.fullscreen,adaptive:r=io.adaptive,overlay:i=io.overlay,template:l,children:p,header:c,footer:d,...b}=e;return(0,Nt.jsxs)("div",{className:"k-actionsheet-container",children:[i&&(0,Nt.jsx)("div",{className:"k-overlay"}),(0,Nt.jsx)(Te,{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,Nt.jsx)("div",{...b,className:n(e.className,fr,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":r}),children:l||(0,Nt.jsx)(At,{header:c,footer:d,adaptive:r,...e,children:p})})})]})};ne.states=xl;ne.options=Ml;ne.className=fr;ne.defaultOptions=io;ne.moduleName=so;ne.folderName=go;var Nr=require("react/jsx-runtime"),br="k-actionsheet-container",hl=[],kl={},Sl={},Ot=e=>{let{children:t,...o}=e;return(0,Nr.jsx)("div",{...o,className:br,children:t})};Ot.states=hl;Ot.options=kl;Ot.className=br;Ot.defaultOptions=Sl;Ot.moduleName=so;Ot.folderName=go;var El=require("react/jsx-runtime");var le=require("react/jsx-runtime"),dn="k-actionsheet-item",vl=[a.hover,a.focus,a.selected,a.disabled],cn=e=>{let{iconName:t,text:o,description:r,hover:i,focus:l,selected:p,disabled:c,...d}=e;return(0,le.jsxs)("span",{...d,className:n(e.className,dn,I(dn,{hover:i,focus:l,selected:p,disabled:c})),children:[!e.children&&(0,le.jsx)(le.Fragment,{children:(0,le.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,le.jsx)("span",{className:"k-icon-wrap",children:(0,le.jsx)(g,{className:"k-actionsheet-item-icon",icon:t})}),(0,le.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,le.jsx)("span",{className:"k-actionsheet-item-title",children:o}),r&&(0,le.jsx)("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};cn.states=vl;cn.className=dn;var Lr=require("react/jsx-runtime");var gl=require("react/jsx-runtime");var Il=require("react/jsx-runtime");var Tl=require("react/jsx-runtime");var un="slider",Mr=un;var he=require("react/jsx-runtime"),lo="k-slider",Cl=[a.hover,a.focus,a.active,a.disabled,a.readonly],Al={},Ye={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},Z=e=>{let{type:t=Ye.type,orientation:o=Ye.orientation,readonly:r=Ye.readonly,disabled:i=Ye.disabled,handlePosition:l=Ye.handlePosition,showButtons:p=Ye.showButtons,showTicks:c=Ye.showTicks,hover:d,focus:b,active:N,trackStyle:k,dir:m,...M}=e,h,E;return o==="horizontal"?(h=m==="rtl"?"caret-alt-left":"caret-alt-right",E=m==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(h="caret-alt-up",E="caret-alt-down"),(0,he.jsxs)("div",{...M,className:n(lo,e.className,I(lo,{readonly:r,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:m,children:[p&&(0,he.jsx)(L,{className:"k-button-decrease",rounded:"full",icon:E}),(0,he.jsxs)("div",{className:"k-slider-track-wrap",children:[c&&(0,he.jsx)("ul",{className:"k-reset k-slider-items",children:e.children}),(0,he.jsxs)("div",{className:"k-slider-track",style:k,children:[(0,he.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,he.jsx)("span",{className:n("k-draghandle","k-draghandle-start",I(lo,{hover:d,focus:b,active:N}))}),(0,he.jsx)("span",{className:n("k-draghandle",`k-draghandle-${l}`,I(lo,{hover:d,focus:b,active:N}))})]})]}),p&&(0,he.jsx)(L,{className:"k-button-increase",rounded:"full",icon:h})]})};Z.states=Cl;Z.options=Al;Z.className=lo;Z.defaultOptions=Ye;Z.moduleName=un;Z.folderName=Mr;var fn=require("react/jsx-runtime"),hr="k-tick",Ol=[],yl={},kr={label:!1},je=e=>{let{style:t,label:o=kr.label,orientation:r,large:i,text:l,...p}=e;return(0,fn.jsx)("li",{...p,className:n(e.className,hr,{[`k-tick-${r}`]:r,"k-tick-large":i}),style:t,children:o&&(0,fn.jsx)("span",{className:"k-label",children:l})})};je.states=Ol;je.options=yl;je.className=hr;je.defaultOptions=kr;var bn=require("react/jsx-runtime");var Nn=require("react/jsx-runtime");var Ln=require("react/jsx-runtime");var xn=require("react/jsx-runtime");var Sr=require("react/jsx-runtime"),Mn=e=>(0,Sr.jsx)(Z,{type:"gradient",showButtons:!1,showTicks:!1,...e});var Er=require("react/jsx-runtime"),hn=e=>(0,Er.jsx)(Z,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});var po=require("react/jsx-runtime"),vr="k-spin-button",Kl=[],_l={size:[s.small,s.medium,s.large],fillMode:[u.solid,u.flat,u.outline,u.clear,u.link]},kn={size:s.medium,fillMode:u.solid},et=e=>{let{size:t=kn.size,fillMode:o=kn.fillMode,...r}=e;return(0,po.jsxs)("span",{...r,className:n(vr,e.className),children:[(0,po.jsx)(L,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),(0,po.jsx)(L,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};et.states=Kl;et.options=_l;et.className=vr;et.defaultOptions=kn;et.moduleName=null;et.folderName=null;var gr="numeric-textbox",Ir="numerictextbox";var G=require("react/jsx-runtime"),Tr="k-numerictextbox",Pl=[a.hover,a.focus,a.valid,a.invalid,a.loading,a.required,a.disabled,a.readonly],zl={size:[s.small,s.medium,s.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[u.solid,u.flat,u.outline]},Lt={showSpinButton:!0,showClearButton:!0,size:R.defaultOptions.size,rounded:R.defaultOptions.rounded,fillMode:R.defaultOptions.fillMode,separators:!0},P=e=>{let{size:t=Lt.size,rounded:o=Lt.rounded,fillMode:r=Lt.fillMode,separators:i=Lt.separators,showClearButton:l=Lt.showClearButton,showSpinButton:p=Lt.showSpinButton,prefix:c,suffix:d,value:b,placeholder:N,hover:k,focus:m,valid:M,invalid:h,required:E,loading:O,disabled:A,readonly:B,...W}=e;return(0,G.jsxs)(R,{...W,size:t,rounded:o,fillMode:r,hover:k,focus:m,valid:M,invalid:h,required:E,loading:O,disabled:A,readonly:B,className:n(e.className,Tr),children:[c&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(ge,{children:c}),i&&(0,G.jsx)(we,{})]}),(0,G.jsx)(xe,{placeholder:N,value:b}),(0,G.jsx)(ee,{valid:M,invalid:h,loading:O,disabled:A}),(0,G.jsx)(se,{loading:O,disabled:A}),l&&(0,G.jsx)(Le,{loading:O,disabled:A,readonly:B,value:b}),d&&(0,G.jsxs)(G.Fragment,{children:[i&&(0,G.jsx)(we,{}),(0,G.jsx)(Ie,{children:d})]}),p&&(0,G.jsx)(et,{className:"k-input-spinner",size:t,fillMode:r})]})};P.states=Pl;P.options=zl;P.className=Tr;P.defaultOptions=Lt;P.moduleName=gr;P.folderName=Ir;var wl=require("react/jsx-runtime");var Ar=require("react/jsx-runtime"),Hl="k-no-data",mo=e=>(0,Ar.jsx)("span",{className:n(Hl,e.className),children:e.children});var He="list",tt=He;var Ae=require("react/jsx-runtime"),Sn="k-list",Dl=[],Fl={size:[s.small,s.medium,s.large]},Or={size:s.medium},K=e=>{let{size:t=Or.size,virtualization:o,children:r,optionLabel:i,customValue:l,screenReaders:p,...c}=e,d,b,N,k,m=[];return r?r.map((M,h)=>{M.type===U?(M.props.root===!0?(d=M.props.label,M.props.children.map((E,O)=>{m.push((0,Ae.jsx)(C,{...E.props},`optChild-${O}-${new Date().getTime()}`))})):M.props.children.forEach((E,O)=>{let A="";O===0&&(A=M.props.label),m.push((0,Ae.jsx)(C,{className:O===0?"k-first":"",...E.props,groupLabel:A},`groupLabel-${O}-${new Date().getTime()}`))}),b=(0,Ae.jsx)(U,{label:d,virtualization:o,children:m})):M.type===C&&(m.push((0,Ae.jsx)(C,{...M.props},`${M.type}-${h}`)),N=(0,Ae.jsx)(yt,{virtualization:o,children:m}),p&&(k=(0,Ae.jsxs)(mo,{className:"k-sr-only",children:[m.length," items found."]})))}):k=(0,Ae.jsx)(mo,{children:"No data found."}),(0,Ae.jsxs)("div",{...c,className:n(e.className,Sn,v(Sn,{size:t}),{"k-virtual-list":o}),children:[i,l,b,N,k]})};K.states=Dl;K.options=Fl;K.className=Sn;K.defaultOptions=Or;K.moduleName=He;K.folderName=tt;var Rr=require("react/jsx-runtime"),yr="k-list-container",Gl=[],Ul={},$l={},Rt=e=>{let{...t}=e;return(0,Rr.jsx)("div",{...t,className:n(e.className,yr),children:e.children})};Rt.states=Gl;Rt.options=Ul;Rt.className=yr;Rt.defaultOptions=$l;Rt.moduleName=He;Rt.folderName=tt;var Oe=require("react/jsx-runtime"),En="k-list",Xl=[],Vl={size:[s.small,s.medium,s.large]},Br={size:s.medium},De=e=>{let{size:t=Br.size,virtualization:o,children:r,...i}=e,l,p,c,d=[];return r?r.map((b,N)=>{b.type===U?(b.props.root===!0?(l=b.props.label,b.props.children.map((k,m)=>{d.push((0,Oe.jsx)(C,{...k.props},`optChild-${m}-${new Date().getTime()}`))})):(d.push((0,Oe.jsx)(Kr,{...b.props,children:b.props.label},`listChild-${N}`)),b.props.children.map((k,m)=>{d.push((0,Oe.jsx)(C,{...k.props},`fwOptChild-${m}-${new Date().getTime()}`))})),p=(0,Oe.jsx)(U,{label:l,virtualization:o,children:d})):b.type===C&&(d.push((0,Oe.jsx)(C,{...b.props},`${b.type}-${N}`)),c=(0,Oe.jsx)(yt,{virtualization:o,children:d}))}):c=(0,Oe.jsx)(mo,{children:"No data found."}),(0,Oe.jsxs)("div",{...i,className:n(e.className,En,v(En,{size:t}),{"k-virtual-list":o}),children:[p,c]})};De.states=Xl;De.options=Vl;De.className=En;De.defaultOptions=Br;De.moduleName=He;De.folderName=tt;var xt="checkbox",Bt=xt;var gn=require("react/jsx-runtime"),Io="k-checkbox",Jl=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.checked,a.indeterminate],ql={size:[s.small,s.medium,s.large],rounded:[x.small,x.medium,x.large,x.full]},vn={size:s.medium,rounded:x.medium},ye=e=>{let{id:t,checked:o,indeterminate:r,hover:i,focus:l,disabled:p,invalid:c,valid:d,required:b,size:N=vn.size,rounded:k=vn.rounded,...m}=e;return(0,gn.jsx)("span",{className:"k-checkbox-wrap",children:(0,gn.jsx)("input",{...m,id:t,type:"checkbox",defaultChecked:o,required:b,className:n(e.className,Io,v(Io,{size:N,rounded:k}),I(Io,{hover:i,focus:l,disabled:p,invalid:c,valid:d,indeterminate:r,checked:o}))})})};ye.states=Jl;ye.options=ql;ye.className=Io;ye.defaultOptions=vn;ye.moduleName=xt;ye.folderName=Bt;var zr=require("react/jsx-runtime"),_r="k-checkbox-list",Wl=[],Zl={},Pr={layout:"vertical"},ot=e=>{let{layout:t=Pr.layout,...o}=e;return(0,zr.jsx)("ul",{...o,className:n(e.className,_r,{[`k-list-${t}`]:t}),children:e.children})};ot.states=Wl;ot.options=Zl;ot.className=_r;ot.defaultOptions=Pr;ot.moduleName=xt;ot.folderName=Bt;var Hr=require("react/jsx-runtime"),wr="k-checkbox-list-item",Ql=[],Yl={},jl={},nt=e=>{let{...t}=e;return(0,Hr.jsx)("li",{...t,className:n(e.className,wr),children:e.children})};nt.states=Ql;nt.options=Yl;nt.className=wr;nt.defaultOptions=jl;nt.moduleName=xt;nt.folderName=Bt;var Tn=require("react/jsx-runtime");var Cn=require("react/jsx-runtime");var An=require("react/jsx-runtime");var On=require("react/jsx-runtime");var ep=require("react/jsx-runtime");var tp=require("react/jsx-runtime");var Mt=require("react/jsx-runtime"),yn="k-list-item",op=[a.hover,a.focus,a.selected,a.disabled],np={},ap={},C=e=>{let{text:t,groupLabel:o,group:r,showIcon:i,iconName:l,showCheckbox:p,checked:c,hover:d,focus:b,selected:N,disabled:k,...m}=e,M=t||e.children;return(0,Mt.jsxs)("li",{...m,className:n(e.className,r?"k-list-group-item":yn,I(yn,{hover:d,focus:b,disabled:k,selected:N})),children:[p&&(0,Mt.jsx)(ye,{checked:c}),i&&(0,Mt.jsx)(g,{icon:l}),(0,Mt.jsx)("span",{className:"k-list-item-text",children:M}),o&&o!==""&&(0,Mt.jsx)("div",{className:"k-list-item-group-label",children:o})]})};C.states=op;C.options=np;C.className=yn;C.defaultOptions=ap;C.moduleName=He;C.folderName=tt;var Kt=require("react/jsx-runtime"),rp="k-list-content",yt=e=>{let{virtualization:t,...o}=e;return(0,Kt.jsxs)("div",{...o,className:n(rp,e.className),children:[(0,Kt.jsx)("ul",{className:n("k-list-ul"),children:e.children}),t&&(0,Kt.jsx)("div",{className:"k-height-container",children:(0,Kt.jsx)("div",{})})]})};var Rn=require("react/jsx-runtime"),sp="k-list-group-sticky-header",Dr=e=>(0,Rn.jsx)("div",{className:n(sp,e.className),children:(0,Rn.jsx)("div",{className:"k-list-header-text",children:e.children})});var ht=require("react/jsx-runtime"),U=e=>{let{virtualization:t,label:o}=e;return(0,ht.jsxs)(ht.Fragment,{children:[o&&(0,ht.jsx)(Dr,{children:o}),e.children&&(0,ht.jsx)(yt,{virtualization:t,children:e.children})]})};var Bn=require("react/jsx-runtime"),ip="k-list-group-item",Kr=e=>(0,Bn.jsx)("li",{className:n(ip,e.className),children:(0,Bn.jsx)("span",{className:"k-list-item-text",children:e.children})});var Fr=require("react/jsx-runtime"),Kn="k-list-optionlabel",lp=[a.hover,a.focus,a.selected,a.disabled],pp={},mp={},To=e=>{let{text:t,hover:o,focus:r,selected:i,disabled:l,...p}=e;return(0,Fr.jsx)("div",{...p,className:n(Kn,I(Kn,{hover:o,focus:r,selected:i,disabled:l})),children:t})};To.states=lp;To.options=pp;To.className=Kn;To.defaultOptions=mp;var Gr=require("react/jsx-runtime"),_n="k-list-custom-value",dp=[a.hover,a.focus,a.selected,a.disabled],cp={},up={},at=e=>{let{text:t,hover:o,focus:r,selected:i,disabled:l,...p}=e;return(0,Gr.jsx)("div",{...p,className:n(_n,I(_n,{hover:o,focus:r,selected:i,disabled:l})),children:t})};at.states=dp;at.options=cp;at.className=_n;at.defaultOptions=up;var fp=require("react/jsx-runtime");var bp=require("react/jsx-runtime");var Ur=require("react/jsx-runtime");var $r=require("react/jsx-runtime");var Np=require("react/jsx-runtime");var Xr=require("react/jsx-runtime");var Vr=require("react/jsx-runtime");var Jr="dropdown-list",qr="dropdownlist";var z=require("react/jsx-runtime"),Wr="k-dropdownlist",Lp=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],xp={size:[s.small,s.medium,s.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[u.solid,u.flat,u.outline]},_t={showValue:!0,arrowIconName:"caret-alt-down",size:s.medium,rounded:x.medium,fillMode:u.solid},$=e=>{let{size:t=_t.size,rounded:o=_t.rounded,fillMode:r=_t.fillMode,arrowIconName:i=_t.arrowIconName,showValue:l=_t.showValue,valueIconName:p,prefix:c,suffix:d,value:b,placeholder:N,hover:k,focus:m,valid:M,invalid:h,required:E,loading:O,disabled:A,readonly:B,popup:W,opened:We,adaptive:Xt,adaptiveSettings:Vt,adaptiveTitle:Po,adaptiveSubtitle:zo,adaptiveFilter:ii,...li}=e;return(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)(j,{...li,size:t,rounded:o,fillMode:r,hover:k,focus:m,valid:M,invalid:h,required:E,loading:O,disabled:A,readonly:B,className:n(e.className,Wr,{"k-icon-picker":!l&&p}),children:[(0,z.jsx)(ge,{children:c}),(0,z.jsx)(ft,{placeholder:N,value:b,showValue:l,valueIconName:p}),(0,z.jsx)(ee,{valid:M,invalid:h,loading:O,disabled:A}),(0,z.jsx)(se,{loading:O,disabled:A}),(0,z.jsx)(Ie,{children:d}),(0,z.jsx)(L,{className:"k-input-button",icon:i,rounded:null,size:e.size,fillMode:e.fillMode})]}),We&&W&&(0,z.jsx)(H,{className:"k-list-container k-dropdownlist-popup",children:W}),Xt&&(0,z.jsx)(ne,{adaptive:!0,...Vt,header:(0,z.jsx)(ie,{actionsEnd:(0,z.jsx)(L,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:ii,inputValue:b,inputPlaceholder:N,title:Po,subtitle:zo}),children:(0,z.jsx)("div",{className:"k-list-container",children:(0,z.jsxs)(K,{size:"large",children:[(0,z.jsx)(C,{text:"List item"}),(0,z.jsx)(C,{text:"List item"}),(0,z.jsx)(C,{text:"List item"})]})})})]})};$.states=Lp;$.options=xp;$.className=Wr;$.defaultOptions=_t;$.moduleName=Jr;$.folderName=qr;var Mp=require("react/jsx-runtime");var Zr=require("react/jsx-runtime");var Pn=require("react/jsx-runtime");var hp=require("react/jsx-runtime");var Qr=require("react/jsx-runtime");var Yr=require("react/jsx-runtime");var zn=require("react/jsx-runtime");var wn=require("react/jsx-runtime");var jr=require("react/jsx-runtime");var es=require("react/jsx-runtime");var S=require("react/jsx-runtime"),ts="k-colorgradient-inputs",kp=[],Sp={size:[s.small,s.medium,s.large]},os={mode:"rgba",size:s.medium},Pt=e=>{let{mode:t=os.mode,size:o,...r}=e;return(0,S.jsxs)("div",{...r,className:n(ts,"k-hstack"),children:[(0,S.jsx)("div",{className:"k-vstack",children:(0,S.jsx)(L,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),t==="rgba"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(P,{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)(P,{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)(P,{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)(P,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(P,{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)(P,{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)(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(P,{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)(P,{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)(P,{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)(P,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(P,{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)(P,{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)(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,S.jsx)(S.Fragment,{children:(0,S.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,S.jsx)(te,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Pt.states=kp;Pt.options=Sp;Pt.className=ts;Pt.defaultOptions=os;var J=require("react/jsx-runtime"),ns="k-colorgradient-color-contrast",Ep=[],vp={},gp={},zt=()=>(0,J.jsxs)("div",{className:n(ns,"k-vbox"),children:[(0,J.jsxs)("div",{className:"k-contrast-ratio",children:[(0,J.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,J.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,J.jsx)(g,{icon:"check"}),(0,J.jsx)(g,{icon:"check"})]})]}),(0,J.jsxs)("div",{children:[(0,J.jsx)("span",{children:"AA: 4.5"}),(0,J.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,J.jsx)(g,{icon:"check"})]})]}),(0,J.jsxs)("div",{children:[(0,J.jsx)("span",{children:"AAA: 7.0"}),(0,J.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,J.jsx)(g,{icon:"x"})]})]})]});zt.states=Ep;zt.options=vp;zt.className=ns;zt.defaultOptions=gp;var as="color-gradient",rs="colorgradient";var D=require("react/jsx-runtime"),Co="k-colorgradient",Ip=[a.hover,a.focus,a.readonly,a.disabled],Tp={size:[s.small,s.medium,s.large]},ke={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"},Re=e=>{let{size:t=ke.size,mode:o=ke.mode,readonly:r=ke.readonly,disabled:i=ke.disabled,gradientStyle:l=ke.gradientStyle,dragHandleStyle:p=ke.dragHandleStyle,alphaStyle:c=ke.alphaStyle,alphaStyleHorizontal:d=ke.alphaStyleHorizontal,contrast:b=ke.contrast,dir:N,hover:k,focus:m,hoverHandle:M,focusHandle:h,canvasOrientation:E=ke.canvasOrientation,...O}=e;return(0,D.jsxs)("div",{...O,className:n(e.className,Co,v(Co,{size:t}),I(Co,{hover:k,focus:m,readonly:r,disabled:i})),dir:N,children:[!E||E==="horizontal"&&(0,D.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,D.jsx)("div",{className:"k-hsv-rectangle",style:l,children:(0,D.jsx)("div",{className:"k-hsv-gradient",children:(0,D.jsx)("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":h}),style:p})})}),(0,D.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,D.jsx)(hn,{className:"k-hue-slider",hover:M,focus:h}),o!=="rgb"&&o!=="hsv"&&(0,D.jsx)(hn,{className:"k-alpha-slider",hover:M,focus:h,trackStyle:c})]})]}),E==="vertical"&&(0,D.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,D.jsx)("div",{className:"k-hsv-rectangle",style:l,children:(0,D.jsx)("div",{className:"k-hsv-gradient",children:(0,D.jsx)("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":h}),style:p})})}),(0,D.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,D.jsx)(Mn,{className:"k-hue-slider",hover:M,focus:h}),o!=="rgb"&&o!=="hsv"&&(0,D.jsx)(Mn,{className:"k-alpha-slider",hover:M,focus:h,trackStyle:d})]})]}),(0,D.jsx)(Pt,{mode:e.mode,size:t}),b&&(0,D.jsx)(zt,{})]})};Re.states=Ip;Re.options=Tp;Re.className=Co;Re.defaultOptions=ke;Re.moduleName=as;Re.folderName=rs;var Cp=require("react/jsx-runtime");var Ap=require("react/jsx-runtime");var is=require("react/jsx-runtime"),ss=e=>(0,is.jsx)("tr",{children:e.children});var ls=require("react/jsx-runtime"),Hn="k-colorpalette-tile",Op=[a.hover,a.focus,a.selected],yp={},co=e=>{let{color:t,tileSize:o,hover:r,focus:i,selected:l,...p}=e,c={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,ls.jsx)("td",{...p,className:n(e.className,Hn,I(Hn,{hover:r,focus:i,selected:l})),style:c})};co.states=Op;co.options=yp;co.className=Hn;var ps="color-palette",ms="colorpalette";var wt=require("react/jsx-runtime"),Ao="k-colorpalette",Rp=[a.disabled],Bp={size:[s.small,s.medium,s.large]},Dn={columns:10,size:s.medium},rt=e=>{let{size:t=Dn.size,palette:o,columns:r=Dn.columns,tileSize:i,disabled:l,...p}=e,c=[];if(o){let d=r||o.columns,b=o.colors?o.colors:o;Array.isArray(b)&&Array.from({length:Math.ceil(b.length/d)},(N,k)=>{let m=[];b.slice(k*d,(k+1)*d).map((h,E)=>{m.push((0,wt.jsx)(co,{color:h,tileSize:i},E))});let M=(0,wt.jsx)(ss,{children:m},k);c.push(M)})}return(0,wt.jsx)("div",{...p,className:n(e.className,Ao,I(Ao,{disabled:l}),v(Ao,{size:t})),children:(0,wt.jsx)("table",{className:"k-colorpalette-table",children:(0,wt.jsx)("tbody",{children:c.length>0?c:e.children})})})};rt.states=Rp;rt.options=Bp;rt.className=Ao;rt.defaultOptions=Dn;rt.moduleName=ps;rt.folderName=ms;var Fn={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 Kp=require("react/jsx-runtime");var ds="color-editor",cs="coloreditor";var w=require("react/jsx-runtime"),Oo="k-coloreditor",_p=[a.focus],Pp={size:[s.small,s.medium,s.large]},Ht={size:s.medium,view:"gradient",palette:Fn.office,actionButtons:!0,canvasOrientation:"horizontal"},pe=e=>{let{size:t=Ht.size,view:o=Ht.view,palette:r=Ht.palette,color:i,currentColor:l,focus:p,focusView:c,dir:d,group:b,actionButtons:N=Ht.actionButtons,canvasOrientation:k=Ht.canvasOrientation,...m}=e;return(0,w.jsxs)("div",{...m,className:n(e.className,"k-flatcolorpicker",Oo,v(Oo,{size:t}),I(Oo,{focus:p})),dir:d,children:[(0,w.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,w.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:b&&(0,w.jsxs)(_,{fillMode:"flat",children:[(0,w.jsx)(L,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),(0,w.jsx)(L,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),(0,w.jsx)("div",{className:"k-spacer"}),(0,w.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,w.jsx)(L,{fillMode:"flat",icon:"droplet-slash",size:t}),(0,w.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,w.jsx)(Ze,{className:"k-coloreditor-preview-color",color:i}),(0,w.jsx)(Ze,{className:"k-coloreditor-current-color",color:l})]})]})]}),(0,w.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,w.jsx)(Re,{focus:c,size:t,canvasOrientation:k}):(0,w.jsx)(rt,{palette:r,size: