@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 71.5 kB
JavaScript
var Yr=Object.create;var Zt=Object.defineProperty;var Zr=Object.getOwnPropertyDescriptor;var Qr=Object.getOwnPropertyNames;var jr=Object.getPrototypeOf,en=Object.prototype.hasOwnProperty;var tn=(e,t)=>{for(var o in t)Zt(e,o,{get:t[o],enumerable:!0})},Wa=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Qr(t))!en.call(e,i)&&i!==o&&Zt(e,i,{get:()=>t[i],enumerable:!(n=Zr(t,i))||n.enumerable});return e};var on=(e,t,o)=>(o=e!=null?Yr(jr(e)):{},Wa(t||!e||!e.__esModule?Zt(o,"default",{value:e,enumerable:!0}):o,e)),an=e=>Wa(Zt({},"__esModule",{value:!0}),e);var Bp={};tn(Bp,{ImageEditorNormal:()=>Tp});module.exports=an(Bp);var s=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?s(...t):typeof t=="object"?Object.keys(t).map((o,n)=>t[n]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var g=(e,t)=>s({[`${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)=>s({"k-valid":t.valid,"k-invalid":t.invalid,"k-hover":t.hover,"k-focus":t.focus,"k-checked":t.checked,"k-active":t.active,"k-selected":t.selected,"k-disabled":t.disabled,"k-indeterminate":t.indeterminate&&!t.checked,"k-loading":t.loading,"k-empty":t.empty,"k-readonly":t.readonly});var r={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},h={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"};var zt=require("react/jsx-runtime"),vo="k-icon k-font-icon",sn=[],rn={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark]},nn={},Et=e=>{let{size:t,themeColor:o,icon:n,rotate:i,flip:l,...p}=e;return n?(0,zt.jsx)("span",{...p,className:s(e.className,vo,g(vo,{size:t}),{[`k-i-${n}`]:n,[`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,{})};Et.states=sn;Et.options=rn;Et.className=vo;Et.defaultOptions=nn;var Ya=Et;var We=require("react/jsx-runtime"),Lo="k-icon k-svg-icon",ln=[],pn={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark]},Za={viewBox:"0 0 24 24"},wt=e=>{let{size:t,themeColor:o,rotate:n,flip:i,viewBox:l=Za.viewBox,icon:p,...m}=e;if(!p)return(0,We.jsx)(We.Fragment,{});p==="none"&&{...m,className:s(e.className,Lo,"k-none")};let b=typeof p=="object"&&p.name&&p.name;return(0,We.jsx)("span",{...m,className:s(e.className,Lo,g("k-icon",{size:t}),{[`k-svg-i-${b}`]:b,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),children:(0,We.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=ln;wt.options=pn;wt.className=Lo;wt.defaultOptions=Za;var So=wt;var Qa=on(require("@progress/kendo-svg-icons")),Ie=require("react/jsx-runtime"),cn=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),mn=[],dn={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.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"},C=e=>{let{size:t,themeColor:o,icon:n,type:i=go.type,rotate:l,flip:p,viewBox:m=go.viewBox,...b}=e;if(!n)return(0,Ie.jsx)(Ie.Fragment,{});if(i==="svg"){if(n==="none")return(0,Ie.jsx)(So,{...b,icon:n,size:t});let d=cn(`${n}-icon`);return Qa[d]?(0,Ie.jsx)(So,{...b,icon:Qa[d],size:t,themeColor:o,rotate:l,flip:p,viewBox:m}):(0,Ie.jsx)(Ie.Fragment,{})}return(0,Ie.jsx)(Ya,{...b,icon:n,size:t,themeColor:o,rotate:l,flip:p})};C.states=mn;C.options=dn;C.defaultOptions=go;var ie=require("react/jsx-runtime"),Qt="k-button",un=[a.hover,a.focus,a.active,a.selected,a.disabled],fn={size:[r.small,r.medium,r.large],rounded:[h.small,h.medium,h.large,h.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]},Ye={size:r.medium,rounded:h.medium,fillMode:u.solid,themeColor:f.base,showArrow:!1,arrowIconName:"caret-alt-down"},x=e=>{let{size:t=Ye.size,rounded:o=Ye.rounded,fillMode:n=Ye.fillMode,themeColor:i=Ye.themeColor,showArrow:l=Ye.showArrow,arrowIconName:p=Ye.arrowIconName,hover:m,focus:b,active:d,selected:N,disabled:L,icon:c,text:k,iconClassName:v,...y}=e,B=c!==void 0,A=e.children!==void 0;return(0,ie.jsxs)("button",{...y,className:s(e.className,Qt,g(Qt,{size:t,rounded:o,fillMode:n,themeColor:i}),I(Qt,{hover:m,focus:b,active:d,disabled:L,selected:N}),{"k-icon-button":!k&&!A&&B}),children:[c&&(0,ie.jsx)(C,{className:s(v,"k-button-icon"),icon:c}),k?(0,ie.jsxs)(ie.Fragment,{children:[k&&(0,ie.jsx)("span",{className:"k-button-text",children:k}),e.children]}):e.children&&(0,ie.jsx)("span",{className:"k-button-text",children:e.children}),l&&(0,ie.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,ie.jsx)(C,{icon:p})})]})};x.states=un;x.options=fn;x.className=Qt;x.defaultOptions=Ye;var ja=require("react/jsx-runtime"),jt=e=>(0,ja.jsx)(x,{icon:"folder",...e,children:void 0});var es=require("react/jsx-runtime"),yo=e=>(0,es.jsx)(x,{icon:"folder",children:"Button",...e});var bn=require("react/jsx-runtime");var os=require("react/jsx-runtime"),Pt="k-button-group",xn=[a.disabled],hn={fillMode:[u.solid,u.flat,u.outline,u.clear,u.link]},ts={fillMode:u.solid},O=e=>{let{fillMode:t=ts.fillMode,disabled:o,stretched:n,...i}=e;return(0,os.jsx)("div",{...i,className:s(e.className,Pt,g(Pt,{fillMode:t}),I(Pt,{disabled:o}),{[`${Pt}-stretched`]:n}),children:e.children})};O.states=xn;O.options=hn;O.className=Pt;O.defaultOptions=ts;var Io=require("react/jsx-runtime");var Mo=require("react/jsx-runtime");var Co=require("react/jsx-runtime");var To=require("react/jsx-runtime");var as=require("react/jsx-runtime"),eo="k-input",Nn=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],kn={size:[r.small,r.medium,r.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[u.solid,u.flat,u.outline]},to={size:r.medium,rounded:r.medium,fillMode:u.solid},E=e=>{let{hover:t,focus:o,disabled:n,invalid:i,valid:l,loading:p,readonly:m,size:b=to.size,rounded:d=to.rounded,fillMode:N=to.fillMode,...L}=e;return(0,as.jsx)("span",{...L,className:s(e.className,eo,g(eo,{size:b,rounded:d,fillMode:N}),I(eo,{hover:t,focus:o,disabled:n,invalid:i,valid:l,loading:p,readonly:m}))})};E.states=Nn;E.options=kn;E.className=eo;E.defaultOptions=to;var ss=require("react/jsx-runtime"),oo="k-picker",vn=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Ln={size:[r.small,r.medium,r.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[u.solid,u.flat,u.outline]},ao={size:r.medium,rounded:h.medium,fillMode:u.solid},le=e=>{let{hover:t,focus:o,disabled:n,invalid:i,valid:l,loading:p,readonly:m,size:b=ao.size,rounded:d=ao.rounded,fillMode:N=ao.fillMode,...L}=e;return(0,ss.jsx)("span",{...L,className:s(e.className,oo,g(oo,{size:b,rounded:d,fillMode:N}),I(oo,{hover:t,focus:o,disabled:n,invalid:i,valid:l,loading:p,readonly:m})),children:e.children})};le.states=vn;le.options=Ln;le.className=oo;le.defaultOptions=ao;var pt=require("react/jsx-runtime"),rs="k-clear-value",Sn=[a.disabled,a.loading,a.readonly],gn={},pe=e=>{let{disabled:t,loading:o,readonly:n,value:i}=e;return t||n||o||!i?(0,pt.jsx)(pt.Fragment,{}):(0,pt.jsx)("span",{className:s(e.className,rs),children:(0,pt.jsx)(C,{icon:"x"})})};pe.states=Sn;pe.options=gn;pe.className=rs;var ns=require("react/jsx-runtime"),Bo="k-input-inner",yn=[],In={},so={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=so.value,type:o=so.type,placeholder:n=so.placeholder,autocomplete:i=so.autocomplete,...l}=e;return(0,ns.jsx)("input",{...l,type:o,className:s(e.className,Bo,g(Bo,e)),placeholder:n,autoComplete:i,defaultValue:t})};ce.states=yn;ce.options=In;ce.className=Bo;var Ot=require("react/jsx-runtime"),Ao="k-input-inner",Mn=[],Cn={},Ze=e=>{let{value:t,placeholder:o,showValue:n,valueIcon:i,valueIconName:l,...p}=e;return(0,Ot.jsxs)("span",{...p,className:s(e.className,Ao,g(Ao,e)),children:[i,!i&&l&&(0,Ot.jsx)(C,{className:"k-input-value-icon",icon:l}),n&&!t&&o,n&&t&&(0,Ot.jsx)("span",{className:"k-input-value-text",children:t})]})};Ze.states=Mn;Ze.options=Cn;Ze.className=Ao;var ls=require("react/jsx-runtime"),zo="k-input-inner",Tn=[],Bn={},is={value:"",placeholder:""},Eo=e=>{let{value:t=is.value,placeholder:o=is.placeholder,rows:n,...i}=e;return(0,ls.jsx)("textarea",{...i,className:s(e.className,zo,g(zo,e)),placeholder:o,rows:n,defaultValue:t})};Eo.states=Tn;Eo.options=Bn;Eo.className=zo;var Rt=require("react/jsx-runtime"),ps="k-input-loading-icon",An=[a.disabled,a.loading],j=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Rt.jsx)(Rt.Fragment,{}):(0,Rt.jsx)("span",{className:s(e.className,ps,"k-icon k-i-loading")})};j.states=An;j.className=ps;var Kt=require("react/jsx-runtime"),cs="k-input-validation-icon",zn=[a.valid,a.invalid,a.disabled,a.loading],En={},Z=e=>{let{valid:t,invalid:o,disabled:n,loading:i}=e,l=o?"warning-circle":"check-circle";return n||i||!!!(t||o)?(0,Kt.jsx)(Kt.Fragment,{}):(0,Kt.jsx)(C,{className:s(cs),icon:l})};Z.states=zn;Z.options=En;Z.className=cs;var Ht=require("react/jsx-runtime"),wn="k-input-prefix",Pn={direction:"horizontal"},xe=e=>{let{direction:t=Pn.direction,...o}=e;return e.children?(0,Ht.jsx)("span",{...o,className:s(wn,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Ht.jsx)(Ht.Fragment,{})};var Gt=require("react/jsx-runtime"),On="k-input-suffix",Rn={direction:"horizontal"},he=e=>{let{direction:t=Rn.direction,...o}=e;return e.children?(0,Gt.jsx)("span",{...o,className:s(On,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Gt.jsx)(Gt.Fragment,{})};var Kn=require("react/jsx-runtime");var Hn=require("react/jsx-runtime");var ds=require("react/jsx-runtime"),ms="k-input-separator",Gn={direction:"vertical"},Me=e=>{let{direction:t=Gn.direction,...o}=e;return(0,ds.jsx)("span",{...o,className:s(ms,e.className,{[`${ms}-${t}`]:t})})};var $t=require("react/jsx-runtime"),us="k-color-preview",$n=[],Dn={},Oe=e=>{let{color:t,iconName:o,...n}=e;return(0,$t.jsxs)("span",{...n,className:s(e.className,us,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,$t.jsx)(C,{icon:o,className:"k-color-preview-icon"}),(0,$t.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Oe.states=$n;Oe.options=Dn;Oe.className=us;var wo=require("react/jsx-runtime"),fs="k-animation-container",Fn=[],Vn={},bs={positionMode:"absolute"},Re=e=>{let{positionMode:t=bs.positionMode,animationStyle:o,offset:n,...i}=e;return(0,wo.jsx)("div",{...i,style:{...n,...e.style},className:s(e.className,fs,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,wo.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};Re.states=Fn;Re.options=Vn;Re.className=fs;Re.defaultOptions=bs;var Po=require("react/jsx-runtime"),xs="k-popup",Xn=[],_n={},hs={positionMode:"absolute"},D=e=>{let{offset:t,positionMode:o=hs.positionMode,animationStyle:n,...i}=e;return(0,Po.jsx)(Re,{positionMode:o,offset:t,animationStyle:n,children:(0,Po.jsx)("div",{...i,className:s(e.className,xs),children:e.children})})};D.states=Xn;D.options=_n;D.className=xs;D.defaultOptions=hs;var Ns=require("react/jsx-runtime"),ro="k-actions",Jn=[],Un={},Oo={alignment:"start",orientation:"horizontal"},Ke=e=>{let{alignment:t=Oo.alignment,orientation:o=Oo.orientation,...n}=e;return(0,Ns.jsx)("div",{...n,className:s(ro,{[`${ro}-${t}`]:t,[`${ro}-${o}`]:o},e.className),children:e.children})};Ke.states=Jn;Ke.options=Un;Ke.className=ro;Ke.defaultOptions=Oo;var vs=require("react/jsx-runtime"),qn="k-actionsheet-footer",ks={alignment:"stretched",orientation:"horizontal"},Dt=e=>{let{alignment:t=ks.alignment,orientation:o=ks.orientation,template:n,as:i=n?"div":Ke,...l}=e;return(0,vs.jsx)(i,{...l,...!n&&{alignment:t,orientation:o},className:s(e.className,qn),children:e.children})};var He=require("react/jsx-runtime"),Ls="k-searchbox",Wn=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading],Yn={size:[r.small,r.medium,r.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[u.solid,u.flat,u.outline]},Ro={showIcon:!0,icon:"search",size:E.defaultOptions.size,rounded:E.defaultOptions.rounded,fillMode:E.defaultOptions.fillMode},Ce=e=>{let{value:t,placeholder:o,size:n,rounded:i,fillMode:l,hover:p,focus:m,valid:b,invalid:d,required:N,loading:L,disabled:c,showIcon:k=Ro.showIcon,icon:v=Ro.icon,...y}=e;return(0,He.jsxs)(E,{...y,size:n,rounded:i,fillMode:l,hover:p,focus:m,valid:b,invalid:d,required:N,loading:L,disabled:c,className:s(e.className,Ls),children:[k&&(0,He.jsx)(C,{className:"k-input-icon",icon:v}),(0,He.jsx)(ce,{placeholder:o,value:t}),(0,He.jsx)(j,{...e}),(0,He.jsx)(Z,{...e}),(0,He.jsx)(pe,{...e})]})};Ce.states=Wn;Ce.options=Yn;Ce.className=Ls;Ce.defaultOptions=Ro;var Zn=require("react/jsx-runtime");var _=require("react/jsx-runtime"),Ss="k-textbox",Qn=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],jn={size:[r.small,r.medium,r.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[u.solid,u.flat,u.outline]},Qe={showClearButton:!0,showValidationIcon:!0,size:E.defaultOptions.size,rounded:E.defaultOptions.rounded,fillMode:E.defaultOptions.fillMode,separators:!0},Ne=e=>{let{size:t=Qe.size,rounded:o=Qe.rounded,fillMode:n=Qe.fillMode,separators:i=Qe.separators,showClearButton:l=Qe.showClearButton,showValidationIcon:p=Qe.showValidationIcon,prefix:m,suffix:b,type:d,value:N,placeholder:L,hover:c,focus:k,valid:v,invalid:y,required:B,loading:A,disabled:w,readonly:U,...Pe}=e;return(0,_.jsxs)(E,{...Pe,size:t,rounded:o,fillMode:n,hover:c,focus:k,valid:v,invalid:y,required:B,loading:A,disabled:w,readonly:U,className:s(e.className,Ss),children:[m&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(xe,{children:m}),i&&(0,_.jsx)(Me,{})]}),(0,_.jsx)(ce,{placeholder:L,value:N,type:d}),p&&(0,_.jsx)(Z,{valid:v,invalid:y,loading:A,disabled:w}),(0,_.jsx)(j,{loading:A,disabled:w}),l&&(0,_.jsx)(pe,{loading:A,disabled:w,readonly:U,value:N}),b&&(0,_.jsxs)(_.Fragment,{children:[i&&(0,_.jsx)(Me,{}),(0,_.jsx)(he,{children:b})]})]})};Ne.states=Qn;Ne.options=jn;Ne.className=Ss;Ne.defaultOptions=Qe;var ei=require("react/jsx-runtime");var ys=require("react/jsx-runtime");var Is=require("react/jsx-runtime");var Q=require("react/jsx-runtime"),Ms="k-actionsheet-titlebar",ti={},ee=e=>{let{title:t,subtitle:o,actionsStart:n,actionsEnd:i,filter:l,input:p,inputValue:m,inputPlaceholder:b,adaptive:d,children:N,...L}=e;return(0,Q.jsxs)("div",{...L,className:s(e.className,Ms),children:[(0,Q.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[n&&(0,Q.jsx)("div",{className:"k-actionsheet-actions",children:n}),!N&&(0,Q.jsxs)("div",{className:"k-actionsheet-title",children:[t&&(0,Q.jsx)("div",{className:"k-text-center",children:t}),o&&(0,Q.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&(0,Q.jsx)("div",{className:"k-actionsheet-title",children:N}),i&&(0,Q.jsx)("div",{className:"k-actionsheet-actions",children:i})]}),(p||l)&&(0,Q.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:p?(0,Q.jsx)(Ne,{value:m,placeholder:b,size:d?"large":"medium"}):(0,Q.jsx)(Ce,{placeholder:"Filter",size:d?"large":"medium"})})]})};ee.className=Ms;ee.defaultOptions=ti;var ct=require("react/jsx-runtime"),Ko="k-actionsheet-view",oi=[],ai={},si={},mt=e=>{let{adaptive:t,animated:o,children:n,header:i,footer:l,...p}=e,m=(i==null?void 0:i.type)===ee&&(0,ct.jsx)(ee,{adaptive:t,...i==null?void 0:i.props}),b=(l==null?void 0:l.type)===Dt&&(0,ct.jsx)(Dt,{...l==null?void 0:l.props});return(0,ct.jsxs)("div",{...p,className:s(e.className,Ko,{[`${Ko}-animated`]:o}),children:[m,(0,ct.jsx)("div",{className:"k-actionsheet-content",children:n}),b]})};mt.states=oi;mt.options=ai;mt.className=Ko;mt.defaultOptions=si;var je=require("react/jsx-runtime"),Cs="k-actionsheet",ri=[],ni={},Ft={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},me=e=>{let{side:t=Ft.side,fullscreen:o=Ft.fullscreen,adaptive:n=Ft.adaptive,overlay:i=Ft.overlay,template:l,children:p,header:m,footer:b,...d}=e;return(0,je.jsxs)("div",{className:"k-actionsheet-container",children:[i&&(0,je.jsx)("div",{className:"k-overlay"}),(0,je.jsx)(Re,{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,je.jsx)("div",{...d,className:s(e.className,Cs,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":n}),children:l||(0,je.jsx)(mt,{header:m,footer:b,adaptive:n,...e,children:p})})})]})};me.states=ri;me.options=ni;me.className=Cs;me.defaultOptions=Ft;var ii=require("react/jsx-runtime");var te=require("react/jsx-runtime"),Ho="k-actionsheet-item",li=[a.hover,a.focus,a.selected,a.disabled],Go=e=>{let{iconName:t,text:o,description:n,hover:i,focus:l,selected:p,disabled:m,...b}=e;return(0,te.jsxs)("span",{...b,className:s(e.className,Ho,I(Ho,{hover:i,focus:l,selected:p,disabled:m})),children:[!e.children&&(0,te.jsx)(te.Fragment,{children:(0,te.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,te.jsx)("span",{className:"k-icon-wrap",children:(0,te.jsx)(C,{className:"k-actionsheet-item-icon",icon:t})}),(0,te.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,te.jsx)("span",{className:"k-actionsheet-item-title",children:o}),n&&(0,te.jsx)("span",{className:"k-actionsheet-item-description",children:n})]})]})}),e.children]})};Go.states=li;Go.className=Ho;var Ts=require("react/jsx-runtime");var pi=require("react/jsx-runtime");var ci=require("react/jsx-runtime");var mi=require("react/jsx-runtime");var de=require("react/jsx-runtime"),Vt="k-slider",di=[a.hover,a.focus,a.active,a.disabled,a.readonly],ui={},Ge={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},oe=e=>{let{type:t=Ge.type,orientation:o=Ge.orientation,readonly:n=Ge.readonly,disabled:i=Ge.disabled,handlePosition:l=Ge.handlePosition,showButtons:p=Ge.showButtons,showTicks:m=Ge.showTicks,hover:b,focus:d,active:N,trackStyle:L,dir:c,...k}=e,v,y;return o==="horizontal"?(v=c==="rtl"?"caret-alt-left":"caret-alt-right",y=c==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(v="caret-alt-up",y="caret-alt-down"),(0,de.jsxs)("div",{...k,className:s(Vt,e.className,I(Vt,{readonly:n,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:c,children:[p&&(0,de.jsx)(x,{className:"k-button-decrease",rounded:"full",icon:y}),(0,de.jsxs)("div",{className:"k-slider-track-wrap",children:[m&&(0,de.jsx)("ul",{className:"k-reset k-slider-items",children:e.children}),(0,de.jsxs)("div",{className:"k-slider-track",style:L,children:[(0,de.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,de.jsx)("span",{className:s("k-draghandle","k-draghandle-start",I(Vt,{hover:b,focus:d,active:N}))}),(0,de.jsx)("span",{className:s("k-draghandle",`k-draghandle-${l}`,I(Vt,{hover:b,focus:d,active:N}))})]})]}),p&&(0,de.jsx)(x,{className:"k-button-increase",rounded:"full",icon:v})]})};oe.states=di;oe.options=ui;oe.className=Vt;oe.defaultOptions=Ge;var $o=require("react/jsx-runtime"),As="k-tick",fi=[],bi={},zs={label:!1},$e=e=>{let{style:t,label:o=zs.label,orientation:n,large:i,text:l,...p}=e;return(0,$o.jsx)("li",{...p,className:s(e.className,As,{[`k-tick-${n}`]:n,"k-tick-large":i}),style:t,children:o&&(0,$o.jsx)("span",{className:"k-label",children:l})})};$e.states=fi;$e.options=bi;$e.className=As;$e.defaultOptions=zs;var Do=require("react/jsx-runtime");var Fo=require("react/jsx-runtime");var Vo=require("react/jsx-runtime");var Xo=require("react/jsx-runtime");var Es=require("react/jsx-runtime"),_o=e=>(0,Es.jsx)(oe,{type:"gradient",showButtons:!1,showTicks:!1,...e});var ws=require("react/jsx-runtime"),Jo=e=>(0,ws.jsx)(oe,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});var Xt=require("react/jsx-runtime"),Ps="k-spin-button",xi=[],hi={size:[r.small,r.medium,r.large],fillMode:[u.solid,u.flat,u.outline,u.clear,u.link]},Uo={size:r.medium,fillMode:u.solid},dt=e=>{let{size:t=Uo.size,fillMode:o=Uo.fillMode,...n}=e;return(0,Xt.jsxs)("span",{...n,className:s(Ps,e.className),children:[(0,Xt.jsx)(x,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),(0,Xt.jsx)(x,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};dt.states=xi;dt.options=hi;dt.className=Ps;dt.defaultOptions=Uo;var F=require("react/jsx-runtime"),Os="k-numerictextbox",Ni=[a.hover,a.focus,a.valid,a.invalid,a.loading,a.required,a.disabled,a.readonly],ki={size:[r.small,r.medium,r.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[u.solid,u.flat,u.outline]},et={showSpinButton:!0,showClearButton:!0,size:E.defaultOptions.size,rounded:E.defaultOptions.rounded,fillMode:E.defaultOptions.fillMode,separators:!0},R=e=>{let{size:t=et.size,rounded:o=et.rounded,fillMode:n=et.fillMode,separators:i=et.separators,showClearButton:l=et.showClearButton,showSpinButton:p=et.showSpinButton,prefix:m,suffix:b,value:d,placeholder:N,hover:L,focus:c,valid:k,invalid:v,required:y,loading:B,disabled:A,readonly:w,...U}=e;return(0,F.jsxs)(E,{...U,size:t,rounded:o,fillMode:n,hover:L,focus:c,valid:k,invalid:v,required:y,loading:B,disabled:A,readonly:w,className:s(e.className,Os),children:[m&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(xe,{children:m}),i&&(0,F.jsx)(Me,{})]}),(0,F.jsx)(ce,{placeholder:N,value:d}),(0,F.jsx)(Z,{valid:k,invalid:v,loading:B,disabled:A}),(0,F.jsx)(j,{loading:B,disabled:A}),l&&(0,F.jsx)(pe,{loading:B,disabled:A,readonly:w,value:d}),b&&(0,F.jsxs)(F.Fragment,{children:[i&&(0,F.jsx)(Me,{}),(0,F.jsx)(he,{children:b})]}),p&&(0,F.jsx)(dt,{className:"k-input-spinner",size:t,fillMode:n})]})};R.states=Ni;R.options=ki;R.className=Os;R.defaultOptions=et;var vi=require("react/jsx-runtime");var Ks=require("react/jsx-runtime"),Li="k-no-data",_t=e=>(0,Ks.jsx)("span",{className:s(Li,e.className),children:e.children});var ke=require("react/jsx-runtime"),qo="k-list",Si=[],gi={size:[r.small,r.medium,r.large]},Hs={size:r.medium},P=e=>{let{size:t=Hs.size,virtualization:o,children:n,optionLabel:i,customValue:l,screenReaders:p,...m}=e,b,d,N,L,c=[];return n?n.map((k,v)=>{k.type===V?(k.props.root===!0?(b=k.props.label,k.props.children.map((y,B)=>{c.push((0,ke.jsx)(T,{...y.props},`optChild-${B}-${new Date().getTime()}`))})):k.props.children.forEach((y,B)=>{let A="";B===0&&(A=k.props.label),c.push((0,ke.jsx)(T,{className:B===0?"k-first":"",...y.props,groupLabel:A},`groupLabel-${B}-${new Date().getTime()}`))}),d=(0,ke.jsx)(V,{label:b,virtualization:o,children:c})):k.type===T&&(c.push((0,ke.jsx)(T,{...k.props},`${k.type}-${v}`)),N=(0,ke.jsx)(ut,{virtualization:o,children:c}),p&&(L=(0,ke.jsxs)(_t,{className:"k-sr-only",children:[c.length," items found."]})))}):L=(0,ke.jsx)(_t,{children:"No data found."}),(0,ke.jsxs)("div",{...m,className:s(e.className,qo,g(qo,{size:t}),{"k-virtual-list":o}),children:[i,l,d,N,L]})};P.states=Si;P.options=gi;P.className=qo;P.defaultOptions=Hs;var ve=require("react/jsx-runtime"),Wo="k-list",yi=[],Ii={size:[r.small,r.medium,r.large]},Gs={size:r.medium},tt=e=>{let{size:t=Gs.size,virtualization:o,children:n,...i}=e,l,p,m,b=[];return n?n.map((d,N)=>{d.type===V?(d.props.root===!0?(l=d.props.label,d.props.children.map((L,c)=>{b.push((0,ve.jsx)(T,{...L.props},`optChild-${c}-${new Date().getTime()}`))})):(b.push((0,ve.jsx)($s,{...d.props,children:d.props.label},`listChild-${N}`)),d.props.children.map((L,c)=>{b.push((0,ve.jsx)(T,{...L.props},`fwOptChild-${c}-${new Date().getTime()}`))})),p=(0,ve.jsx)(V,{label:l,virtualization:o,children:b})):d.type===T&&(b.push((0,ve.jsx)(T,{...d.props},`${d.type}-${N}`)),m=(0,ve.jsx)(ut,{virtualization:o,children:b}))}):m=(0,ve.jsx)(_t,{children:"No data found."}),(0,ve.jsxs)("div",{...i,className:s(e.className,Wo,g(Wo,{size:t}),{"k-virtual-list":o}),children:[p,m]})};tt.states=yi;tt.options=Ii;tt.className=Wo;tt.defaultOptions=Gs;var Zo=require("react/jsx-runtime"),no="k-checkbox",Mi=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.checked,a.indeterminate],Ci={size:[r.small,r.medium,r.large],rounded:[h.small,h.medium,h.large,h.full]},Yo={size:r.medium,rounded:h.medium},De=e=>{let{id:t,checked:o,indeterminate:n,hover:i,focus:l,disabled:p,invalid:m,valid:b,required:d,size:N=Yo.size,rounded:L=Yo.rounded,...c}=e;return(0,Zo.jsx)("span",{className:"k-checkbox-wrap",children:(0,Zo.jsx)("input",{...c,id:t,type:"checkbox",defaultChecked:o,required:d,className:s(e.className,no,g(no,{size:N,rounded:L}),I(no,{hover:i,focus:l,disabled:p,invalid:m,valid:b,indeterminate:n,checked:o}))})})};De.states=Mi;De.options=Ci;De.className=no;De.defaultOptions=Yo;var Vs=require("react/jsx-runtime"),Ds="k-checkbox-list",Ti=[],Bi={},Fs={layout:"vertical"},ft=e=>{let{layout:t=Fs.layout,...o}=e;return(0,Vs.jsx)("ul",{...o,className:s(e.className,Ds,{[`k-list-${t}`]:t}),children:e.children})};ft.states=Ti;ft.options=Bi;ft.className=Ds;ft.defaultOptions=Fs;var _s=require("react/jsx-runtime"),Xs="k-checkbox-list-item",Ai=[],zi={},Ei={},bt=e=>{let{...t}=e;return(0,_s.jsx)("li",{...t,className:s(e.className,Xs),children:e.children})};bt.states=Ai;bt.options=zi;bt.className=Xs;bt.defaultOptions=Ei;var jo=require("react/jsx-runtime");var ea=require("react/jsx-runtime");var ta=require("react/jsx-runtime");var oa=require("react/jsx-runtime");var wi=require("react/jsx-runtime");var Pi=require("react/jsx-runtime");var ot=require("react/jsx-runtime"),aa="k-list-item",Oi=[a.hover,a.focus,a.selected,a.disabled],Ri={},Ki={},T=e=>{let{text:t,groupLabel:o,group:n,showIcon:i,iconName:l,showCheckbox:p,checked:m,hover:b,focus:d,selected:N,disabled:L,...c}=e,k=t||e.children;return(0,ot.jsxs)("li",{...c,className:s(e.className,n?"k-list-group-item":aa,I(aa,{hover:b,focus:d,disabled:L,selected:N})),children:[p&&(0,ot.jsx)(De,{checked:m}),i&&(0,ot.jsx)(C,{icon:l}),(0,ot.jsx)("span",{className:"k-list-item-text",children:k}),o&&o!==""&&(0,ot.jsx)("div",{className:"k-list-item-group-label",children:o})]})};T.states=Oi;T.options=Ri;T.className=aa;T.defaultOptions=Ki;var xt=require("react/jsx-runtime"),Hi="k-list-content",ut=e=>{let{virtualization:t,...o}=e;return(0,xt.jsxs)("div",{...o,className:s(Hi,e.className),children:[(0,xt.jsx)("ul",{className:s("k-list-ul"),children:e.children}),t&&(0,xt.jsx)("div",{className:"k-height-container",children:(0,xt.jsx)("div",{})})]})};var sa=require("react/jsx-runtime"),Gi="k-list-group-sticky-header",Js=e=>(0,sa.jsx)("div",{className:s(Gi,e.className),children:(0,sa.jsx)("div",{className:"k-list-header-text",children:e.children})});var at=require("react/jsx-runtime"),V=e=>{let{virtualization:t,label:o}=e;return(0,at.jsxs)(at.Fragment,{children:[o&&(0,at.jsx)(Js,{children:o}),e.children&&(0,at.jsx)(ut,{virtualization:t,children:e.children})]})};var ra=require("react/jsx-runtime"),$i="k-list-group-item",$s=e=>(0,ra.jsx)("li",{className:s($i,e.className),children:(0,ra.jsx)("span",{className:"k-list-item-text",children:e.children})});var Us=require("react/jsx-runtime"),na="k-list-optionlabel",Di=[a.hover,a.focus,a.selected,a.disabled],Fi={},Vi={},io=e=>{let{text:t,hover:o,focus:n,selected:i,disabled:l,...p}=e;return(0,Us.jsx)("div",{...p,className:s(na,I(na,{hover:o,focus:n,selected:i,disabled:l})),children:t})};io.states=Di;io.options=Fi;io.className=na;io.defaultOptions=Vi;var qs=require("react/jsx-runtime"),ia="k-list-custom-value",Xi=[a.hover,a.focus,a.selected,a.disabled],_i={},Ji={},Fe=e=>{let{text:t,hover:o,focus:n,selected:i,disabled:l,...p}=e;return(0,qs.jsx)("div",{...p,className:s(ia,I(ia,{hover:o,focus:n,selected:i,disabled:l})),children:t})};Fe.states=Xi;Fe.options=_i;Fe.className=ia;Fe.defaultOptions=Ji;var Ui=require("react/jsx-runtime");var qi=require("react/jsx-runtime");var Ws=require("react/jsx-runtime");var Ys=require("react/jsx-runtime");var Wi=require("react/jsx-runtime");var Zs=require("react/jsx-runtime");var Qs=require("react/jsx-runtime");var K=require("react/jsx-runtime"),js="k-dropdownlist",Yi=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Zi={size:[r.small,r.medium,r.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[u.solid,u.flat,u.outline]},ht={showValue:!0,arrowIconName:"caret-alt-down",size:r.medium,rounded:h.medium,fillMode:u.solid},q=e=>{let{size:t=ht.size,rounded:o=ht.rounded,fillMode:n=ht.fillMode,arrowIconName:i=ht.arrowIconName,showValue:l=ht.showValue,valueIconName:p,prefix:m,suffix:b,value:d,placeholder:N,hover:L,focus:c,valid:k,invalid:v,required:y,loading:B,disabled:A,readonly:w,popup:U,opened:Pe,adaptive:Bt,adaptiveSettings:At,adaptiveTitle:No,adaptiveSubtitle:ko,adaptiveFilter:qr,...Wr}=e;return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsxs)(le,{...Wr,size:t,rounded:o,fillMode:n,hover:L,focus:c,valid:k,invalid:v,required:y,loading:B,disabled:A,readonly:w,className:s(e.className,js,{"k-icon-picker":!l&&p}),children:[(0,K.jsx)(xe,{children:m}),(0,K.jsx)(Ze,{placeholder:N,value:d,showValue:l,valueIconName:p}),(0,K.jsx)(Z,{valid:k,invalid:v,loading:B,disabled:A}),(0,K.jsx)(j,{loading:B,disabled:A}),(0,K.jsx)(he,{children:b}),(0,K.jsx)(x,{className:"k-input-button",icon:i,rounded:null,size:e.size,fillMode:e.fillMode})]}),Pe&&U&&(0,K.jsx)(D,{className:"k-list-container k-dropdownlist-popup",children:U}),Bt&&(0,K.jsx)(me,{adaptive:!0,...At,header:(0,K.jsx)(ee,{actionsEnd:(0,K.jsx)(x,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:qr,inputValue:d,inputPlaceholder:N,title:No,subtitle:ko}),children:(0,K.jsx)("div",{className:"k-list-container",children:(0,K.jsxs)(P,{size:"large",children:[(0,K.jsx)(T,{text:"List item"}),(0,K.jsx)(T,{text:"List item"}),(0,K.jsx)(T,{text:"List item"})]})})})]})};q.states=Yi;q.options=Zi;q.className=js;q.defaultOptions=ht;var Qi=require("react/jsx-runtime");var er=require("react/jsx-runtime");var la=require("react/jsx-runtime");var ji=require("react/jsx-runtime");var tr=require("react/jsx-runtime");var or=require("react/jsx-runtime");var pa=require("react/jsx-runtime");var ca=require("react/jsx-runtime");var ar=require("react/jsx-runtime");var sr=require("react/jsx-runtime");var S=require("react/jsx-runtime"),rr="k-colorgradient-inputs",el=[],tl={size:[r.small,r.medium,r.large]},nr={mode:"rgba",size:r.medium},Nt=e=>{let{mode:t=nr.mode,size:o,...n}=e;return(0,S.jsxs)("div",{...n,className:s(rr,"k-hstack"),children:[(0,S.jsx)("div",{className:"k-vstack",children:(0,S.jsx)(x,{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)(R,{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)(R,{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)(R,{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)(R,{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)(R,{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)(R,{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)(R,{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)(R,{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)(R,{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)(R,{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)(R,{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)(R,{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)(R,{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)(R,{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)(Ne,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Nt.states=el;Nt.options=tl;Nt.className=rr;Nt.defaultOptions=nr;var J=require("react/jsx-runtime"),ir="k-colorgradient-color-contrast",ol=[],al={},sl={},kt=()=>(0,J.jsxs)("div",{className:s(ir,"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)(C,{icon:"check"}),(0,J.jsx)(C,{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)(C,{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)(C,{icon:"x"})]})]})]});kt.states=ol;kt.options=al;kt.className=ir;kt.defaultOptions=sl;var G=require("react/jsx-runtime"),lo="k-colorgradient",rl=[a.hover,a.focus,a.readonly,a.disabled],nl={size:[r.small,r.medium,r.large]},ue={size:r.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"},Ve=e=>{let{size:t=ue.size,mode:o=ue.mode,readonly:n=ue.readonly,disabled:i=ue.disabled,gradientStyle:l=ue.gradientStyle,dragHandleStyle:p=ue.dragHandleStyle,alphaStyle:m=ue.alphaStyle,alphaStyleHorizontal:b=ue.alphaStyleHorizontal,contrast:d=ue.contrast,dir:N,hover:L,focus:c,hoverHandle:k,focusHandle:v,canvasOrientation:y=ue.canvasOrientation,...B}=e;return(0,G.jsxs)("div",{...B,className:s(e.className,lo,g(lo,{size:t}),I(lo,{hover:L,focus:c,readonly:n,disabled:i})),dir:N,children:[!y||y==="horizontal"&&(0,G.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,G.jsx)("div",{className:"k-hsv-rectangle",style:l,children:(0,G.jsx)("div",{className:"k-hsv-gradient",children:(0,G.jsx)("div",{className:s("k-hsv-draghandle","k-draghandle",{"k-hover":k,"k-focus":v}),style:p})})}),(0,G.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,G.jsx)(Jo,{className:"k-hue-slider",hover:k,focus:v}),o!=="rgb"&&o!=="hsv"&&(0,G.jsx)(Jo,{className:"k-alpha-slider",hover:k,focus:v,trackStyle:m})]})]}),y==="vertical"&&(0,G.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,G.jsx)("div",{className:"k-hsv-rectangle",style:l,children:(0,G.jsx)("div",{className:"k-hsv-gradient",children:(0,G.jsx)("div",{className:s("k-hsv-draghandle","k-draghandle",{"k-hover":k,"k-focus":v}),style:p})})}),(0,G.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,G.jsx)(_o,{className:"k-hue-slider",hover:k,focus:v}),o!=="rgb"&&o!=="hsv"&&(0,G.jsx)(_o,{className:"k-alpha-slider",hover:k,focus:v,trackStyle:b})]})]}),(0,G.jsx)(Nt,{mode:e.mode,size:t}),d&&(0,G.jsx)(kt,{})]})};Ve.states=rl;Ve.options=nl;Ve.className=lo;Ve.defaultOptions=ue;var il=require("react/jsx-runtime");var ll=require("react/jsx-runtime");var pr=require("react/jsx-runtime"),lr=e=>(0,pr.jsx)("tr",{children:e.children});var cr=require("react/jsx-runtime"),ma="k-colorpalette-tile",pl=[a.hover,a.focus,a.selected],cl={},Jt=e=>{let{color:t,tileSize:o,hover:n,focus:i,selected:l,...p}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,cr.jsx)("td",{...p,className:s(e.className,ma,I(ma,{hover:n,focus:i,selected:l})),style:m})};Jt.states=pl;Jt.options=cl;Jt.className=ma;var vt=require("react/jsx-runtime"),po="k-colorpalette",ml=[a.disabled],dl={size:[r.small,r.medium,r.large]},da={columns:10,size:r.medium},Lt=e=>{let{size:t=da.size,palette:o,columns:n=da.columns,tileSize:i,disabled:l,...p}=e,m=[];if(o){let b=n||o.columns,d=o.colors?o.colors:o;Array.isArray(d)&&Array.from({length:Math.ceil(d.length/b)},(N,L)=>{let c=[];d.slice(L*b,(L+1)*b).map((v,y)=>{c.push((0,vt.jsx)(Jt,{color:v,tileSize:i},y))});let k=(0,vt.jsx)(lr,{children:c},L);m.push(k)})}return(0,vt.jsx)("div",{...p,className:s(e.className,po,I(po,{disabled:l}),g(po,{size:t})),children:(0,vt.jsx)("table",{className:"k-colorpalette-table",children:(0,vt.jsx)("tbody",{children:m.length>0?m:e.children})})})};Lt.states=ml;Lt.options=dl;Lt.className=po;Lt.defaultOptions=da;var ua={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 ul=require("react/jsx-runtime");var H=require("react/jsx-runtime"),co="k-coloreditor",fl=[a.focus],bl={size:[r.small,r.medium,r.large]},St={size:r.medium,view:"gradient",palette:ua.office,actionButtons:!0,canvasOrientation:"horizontal"},Le=e=>{let{size:t=St.size,view:o=St.view,palette:n=St.palette,color:i,currentColor:l,focus:p,focusView:m,dir:b,group:d,actionButtons:N=St.actionButtons,canvasOrientation:L=St.canvasOrientation,...c}=e;return(0,H.jsxs)("div",{...c,className:s(e.className,"k-flatcolorpicker",co,g(co,{size:t}),I(co,{focus:p})),dir:b,children:[(0,H.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,H.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:d&&(0,H.jsxs)(O,{fillMode:"flat",children:[(0,H.jsx)(x,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),(0,H.jsx)(x,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),(0,H.jsx)("div",{className:"k-spacer"}),(0,H.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,H.jsx)(x,{fillMode:"flat",icon:"droplet-slash",size:t}),(0,H.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,H.jsx)(Oe,{className:"k-coloreditor-preview-color",color:i}),(0,H.jsx)(Oe,{className:"k-coloreditor-current-color",color:l})]})]})]}),(0,H.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,H.jsx)(Ve,{focus:m,size:t,canvasOrientation:L}):(0,H.jsx)(Lt,{palette:n,size:t})}),N&&(0,H.jsxs)(Ke,{className:"k-coloreditor-footer",alignment:"start",children:[(0,H.jsx)(x,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,H.jsx)(x,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};Le.states=fl;Le.options=bl;Le.className=co;Le.defaultOptions=St;var xl=require("react/jsx-runtime");var hl=require("react/jsx-runtime");var Nl=require("react/jsx-runtime");var kl=require("react/jsx-runtime");var $=require("react/jsx-runtime"),mr="k-colorpicker",vl=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled],Ll={size:[r.small,r.medium,r.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[u.solid,u.flat,u.outline]},Ut={arrowIconName:"caret-alt-down",size:le.defaultOptions.size,rounded:le.defaultOptions.rounded,fillMode:le.defaultOptions.fillMode},Te=e=>{let{size:t=Ut.size,rounded:o=Ut.rounded,fillMode:n=Ut.fillMode,arrowIconName:i=Ut.arrowIconName,prefix:l,suffix:p,value:m,placeholder:b,hover:d,focus:N,valid:L,invalid:c,required:k,disabled:v,valueIconName:y,popup:B,opened:A,adaptive:w,adaptiveSettings:U,adaptiveTitle:Pe,adaptiveSubtitle:Bt,...At}=e;return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(le,{...At,size:t,rounded:o,fillMode:n,hover:d,focus:N,valid:L,invalid:c,required:k,disabled:v,className:s(e.className,mr,"k-icon-picker"),children:[(0,$.jsx)(xe,{children:l}),(0,$.jsx)(Ze,{placeholder:b,value:m,showValue:!1,valueIcon:(0,$.jsx)(Oe,{className:"k-value-icon",color:m,iconName:y}),valueIconName:y}),(0,$.jsx)(he,{children:p}),(0,$.jsx)(x,{className:"k-input-button",icon:i,rounded:null,size:t,fillMode:n})]}),A&&B&&(0,$.jsx)(D,{className:"k-colorpicker-popup",children:B}),w&&(0,$.jsx)(me,{adaptive:!0,...U,header:(0,$.jsx)(ee,{actionsEnd:(0,$.jsx)(x,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),title:Pe,subtitle:Bt}),footer:(0,$.jsxs)(Dt,{children:[(0,$.jsx)(x,{text:"Cancel",size:"large",themeColor:"base"}),(0,$.jsx)(x,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,$.jsx)(Le,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Te.states=vl;Te.options=Ll;Te.className=mr;Te.defaultOptions=Ut;var gl=require("react/jsx-runtime");var yl=require("react/jsx-runtime");var Il=require("react/jsx-runtime");var Ml=require("react/jsx-runtime");var Cl=require("react/jsx-runtime");v