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