UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 67.9 kB
var vn=Object.create;var _t=Object.defineProperty;var Ln=Object.getOwnPropertyDescriptor;var Sn=Object.getOwnPropertyNames;var gn=Object.getPrototypeOf,Mn=Object.prototype.hasOwnProperty;var In=(e,t)=>{for(var o in t)_t(e,o,{get:t[o],enumerable:!0})},ys=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Sn(t))!Mn.call(e,i)&&i!==o&&_t(e,i,{get:()=>t[i],enumerable:!(r=Ln(t,i))||r.enumerable});return e};var yn=(e,t,o)=>(o=e!=null?vn(gn(e)):{},ys(t||!e||!e.__esModule?_t(o,"default",{value:e,enumerable:!0}):o,e)),Cn=e=>ys(_t({},"__esModule",{value:!0}),e);var Rl={};In(Rl,{MEDIAPLAYER_CLASSNAME:()=>Is,MediaPlayer:()=>vt,default:()=>Kl});module.exports=Cn(Rl);var a=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?a(...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 M=(e,t)=>a({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.fillMode}-${t.themeColor}`]:t.fillMode&&t.themeColor},{[`${e}-${t.themeColor}`]:t.themeColor&&t.fillMode===void 0},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full"}),C=(e,t)=>a({"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,"k-highlighted":t.highlighted});var n={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={small:"small",medium:"medium",large:"large",full:"full"},d={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},m={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},s={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"};var gt=require("react/jsx-runtime"),lo="k-icon k-font-icon",Tn=[],An={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},Bn={},Mt=e=>{let{size:t,themeColor:o,icon:r,rotate:i,flip:l,...p}=e;return r?(0,gt.jsx)("span",{...p,className:a(e.className,lo,M(lo,{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,gt.jsx)(gt.Fragment,{})};Mt.states=Tn;Mt.options=An;Mt.className=lo;Mt.defaultOptions=Bn;var Cs=Mt;var Ve=require("react/jsx-runtime"),po="k-icon k-svg-icon",wn=[],Pn={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},Ts={viewBox:"0 0 24 24"},It=e=>{let{size:t,themeColor:o,rotate:r,flip:i,viewBox:l=Ts.viewBox,icon:p,...u}=e;if(!p)return(0,Ve.jsx)(Ve.Fragment,{});p==="none"&&{...u,className:a(e.className,po,"k-none")};let b=typeof p=="object"&&p.name&&p.name;return(0,Ve.jsx)("span",{...u,className:a(e.className,po,M("k-icon",{size:t}),{[`k-svg-i-${b}`]:b,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),children:(0,Ve.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})})};It.states=wn;It.options=Pn;It.className=po;It.defaultOptions=Ts;var co=It;var As=yn(require("@progress/kendo-svg-icons")),Le=require("react/jsx-runtime"),zn=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),En=[],On={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},mo={viewBox:"0 0 24 24",type:"svg"},y=e=>{let{size:t,themeColor:o,icon:r,type:i=mo.type,rotate:l,flip:p,viewBox:u=mo.viewBox,...b}=e;if(!r)return(0,Le.jsx)(Le.Fragment,{});if(i==="svg"){if(r==="none")return(0,Le.jsx)(co,{...b,icon:r,size:t});let x=zn(`${r}-icon`);return As[x]?(0,Le.jsx)(co,{...b,icon:As[x],size:t,themeColor:o,rotate:l,flip:p,viewBox:u}):(0,Le.jsx)(Le.Fragment,{})}return(0,Le.jsx)(Cs,{...b,icon:r,size:t,themeColor:o,rotate:l,flip:p})};y.states=En;y.options=On;y.defaultOptions=mo;var ie=require("react/jsx-runtime"),Xt="k-button",Kn=[s.hover,s.focus,s.active,s.selected,s.disabled],Rn={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark,m.inverse]},_e={size:n.medium,rounded:f.medium,fillMode:d.solid,themeColor:m.base,showArrow:!1,arrowIconName:"caret-alt-down"},h=e=>{let{size:t=_e.size,rounded:o=_e.rounded,fillMode:r=_e.fillMode,themeColor:i=_e.themeColor,showArrow:l=_e.showArrow,arrowIconName:p=_e.arrowIconName,hover:u,focus:b,active:x,selected:N,disabled:S,icon:c,text:k,iconClassName:L,...g}=e,A=c!==void 0,B=e.children!==void 0;return(0,ie.jsxs)("button",{...g,className:a(e.className,Xt,M(Xt,{size:t,rounded:o,fillMode:r,themeColor:i}),C(Xt,{hover:u,focus:b,active:x,disabled:S,selected:N}),{"k-icon-button":!k&&!B&&A}),children:[c&&(0,ie.jsx)(y,{className:a(L,"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)(y,{icon:p})})]})};h.states=Kn;h.options=Rn;h.className=Xt;h.defaultOptions=_e;var Bs=require("react/jsx-runtime"),Jt=e=>(0,Bs.jsx)(h,{icon:"folder",...e,children:void 0});var ws=require("react/jsx-runtime"),uo=e=>(0,ws.jsx)(h,{icon:"folder",children:"Button",...e});var Hn=require("react/jsx-runtime");var le=require("react/jsx-runtime"),yt="k-slider",Gn=[s.hover,s.focus,s.active,s.disabled,s.readonly],$n={},Be={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},Q=e=>{let{type:t=Be.type,orientation:o=Be.orientation,readonly:r=Be.readonly,disabled:i=Be.disabled,handlePosition:l=Be.handlePosition,showButtons:p=Be.showButtons,showTicks:u=Be.showTicks,hover:b,focus:x,active:N,trackStyle:S,dir:c,...k}=e,L,g;return o==="horizontal"?(L=c==="rtl"?"caret-alt-left":"caret-alt-right",g=c==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(L="caret-alt-up",g="caret-alt-down"),(0,le.jsxs)("div",{...k,className:a(yt,e.className,C(yt,{readonly:r,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:c,children:[p&&(0,le.jsx)(h,{className:"k-button-decrease",rounded:"full",icon:g}),(0,le.jsxs)("div",{className:"k-slider-track-wrap",children:[u&&(0,le.jsx)("ul",{className:"k-reset k-slider-items",children:e.children}),(0,le.jsxs)("div",{className:"k-slider-track",style:S,children:[(0,le.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,le.jsx)("span",{className:a("k-draghandle","k-draghandle-start",C(yt,{hover:b,focus:x,active:N}))}),(0,le.jsx)("span",{className:a("k-draghandle",`k-draghandle-${l}`,C(yt,{hover:b,focus:x,active:N}))})]})]}),p&&(0,le.jsx)(h,{className:"k-button-increase",rounded:"full",icon:L})]})};Q.states=Gn;Q.options=$n;Q.className=yt;Q.defaultOptions=Be;var fo=require("react/jsx-runtime"),Ps="k-tick",Dn=[],Vn={},zs={label:!1},H=e=>{let{style:t,label:o=zs.label,orientation:r,large:i,text:l,...p}=e;return(0,fo.jsx)("li",{...p,className:a(e.className,Ps,{[`k-tick-${r}`]:r,"k-tick-large":i}),style:t,children:o&&(0,fo.jsx)("span",{className:"k-label",children:l})})};H.states=Dn;H.options=Vn;H.className=Ps;H.defaultOptions=zs;var V=require("react/jsx-runtime"),Ft=e=>(0,V.jsx)(Q,{children:(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(H,{className:"k-first",label:!0,large:!0,text:"0"}),(0,V.jsx)(H,{}),(0,V.jsx)(H,{}),(0,V.jsx)(H,{}),(0,V.jsx)(H,{}),(0,V.jsx)(H,{label:!0,large:!0,text:"5"}),(0,V.jsx)(H,{}),(0,V.jsx)(H,{}),(0,V.jsx)(H,{}),(0,V.jsx)(H,{}),(0,V.jsx)(H,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var bo=require("react/jsx-runtime");var xo=require("react/jsx-runtime");var ho=require("react/jsx-runtime");var Es=require("react/jsx-runtime"),No=e=>(0,Es.jsx)(Q,{type:"gradient",showButtons:!1,showTicks:!1,...e});var Os=require("react/jsx-runtime"),ko=e=>(0,Os.jsx)(Q,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});var Rs=require("react/jsx-runtime"),Ct="k-button-group",_n=[s.disabled],Xn={fillMode:[d.solid,d.flat,d.outline,d.clear,d.link]},Ks={fillMode:d.solid},K=e=>{let{fillMode:t=Ks.fillMode,disabled:o,stretched:r,...i}=e;return(0,Rs.jsx)("div",{...i,className:a(e.className,Ct,M(Ct,{fillMode:t}),C(Ct,{disabled:o}),{[`${Ct}-stretched`]:r}),children:e.children})};K.states=_n;K.options=Xn;K.className=Ct;K.defaultOptions=Ks;var vo=require("react/jsx-runtime");var Lo=require("react/jsx-runtime");var So=require("react/jsx-runtime");var go=require("react/jsx-runtime");var Hs=require("react/jsx-runtime"),Ut="k-input",Jn=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Fn={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},qt={size:n.medium,rounded:n.medium,fillMode:d.solid},P=e=>{let{hover:t,focus:o,disabled:r,invalid:i,valid:l,loading:p,readonly:u,size:b=qt.size,rounded:x=qt.rounded,fillMode:N=qt.fillMode,...S}=e;return(0,Hs.jsx)("span",{...S,className:a(e.className,Ut,M(Ut,{size:b,rounded:x,fillMode:N}),C(Ut,{hover:t,focus:o,disabled:r,invalid:i,valid:l,loading:p,readonly:u}))})};P.states=Jn;P.options=Fn;P.className=Ut;P.defaultOptions=qt;var Gs=require("react/jsx-runtime"),Wt="k-picker",Un=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],qn={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Yt={size:n.medium,rounded:f.medium,fillMode:d.solid},pe=e=>{let{hover:t,focus:o,disabled:r,invalid:i,valid:l,loading:p,readonly:u,size:b=Yt.size,rounded:x=Yt.rounded,fillMode:N=Yt.fillMode,...S}=e;return(0,Gs.jsx)("span",{...S,className:a(e.className,Wt,M(Wt,{size:b,rounded:x,fillMode:N}),C(Wt,{hover:t,focus:o,disabled:r,invalid:i,valid:l,loading:p,readonly:u})),children:e.children})};pe.states=Un;pe.options=qn;pe.className=Wt;pe.defaultOptions=Yt;var at=require("react/jsx-runtime"),$s="k-clear-value",Wn=[s.disabled,s.loading,s.readonly],Yn={},ce=e=>{let{disabled:t,loading:o,readonly:r,value:i}=e;return t||r||o||!i?(0,at.jsx)(at.Fragment,{}):(0,at.jsx)("span",{className:a(e.className,$s),children:(0,at.jsx)(y,{icon:"x"})})};ce.states=Wn;ce.options=Yn;ce.className=$s;var Ds=require("react/jsx-runtime"),Mo="k-input-inner",Qn=[],Zn={},Qt={type:"text",autocomplete:"off",value:"",placeholder:""},de=e=>{let{value:t=Qt.value,type:o=Qt.type,placeholder:r=Qt.placeholder,autocomplete:i=Qt.autocomplete,...l}=e;return(0,Ds.jsx)("input",{...l,type:o,className:a(e.className,Mo,M(Mo,e)),placeholder:r,autoComplete:i,defaultValue:t})};de.states=Qn;de.options=Zn;de.className=Mo;var Tt=require("react/jsx-runtime"),Io="k-input-inner",jn=[],er={},Xe=e=>{let{value:t,placeholder:o,showValue:r,valueIcon:i,valueIconName:l,...p}=e;return(0,Tt.jsxs)("span",{...p,className:a(e.className,Io,M(Io,e)),children:[i,!i&&l&&(0,Tt.jsx)(y,{className:"k-input-value-icon",icon:l}),r&&!t&&o,r&&t&&(0,Tt.jsx)("span",{className:"k-input-value-text",children:t})]})};Xe.states=jn;Xe.options=er;Xe.className=Io;var _s=require("react/jsx-runtime"),yo="k-input-inner",tr=[],or={},Vs={value:"",placeholder:""},Co=e=>{let{value:t=Vs.value,placeholder:o=Vs.placeholder,rows:r,...i}=e;return(0,_s.jsx)("textarea",{...i,className:a(e.className,yo,M(yo,e)),placeholder:o,rows:r,defaultValue:t})};Co.states=tr;Co.options=or;Co.className=yo;var At=require("react/jsx-runtime"),Xs="k-input-loading-icon",sr=[s.disabled,s.loading],ee=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,At.jsx)(At.Fragment,{}):(0,At.jsx)("span",{className:a(e.className,Xs,"k-icon k-i-loading")})};ee.states=sr;ee.className=Xs;var Bt=require("react/jsx-runtime"),Js="k-input-validation-icon",ar=[s.valid,s.invalid,s.disabled,s.loading],nr={},Z=e=>{let{valid:t,invalid:o,disabled:r,loading:i}=e,l=o?"warning-circle":"check-circle";return r||i||!!!(t||o)?(0,Bt.jsx)(Bt.Fragment,{}):(0,Bt.jsx)(y,{className:a(Js),icon:l})};Z.states=ar;Z.options=nr;Z.className=Js;var wt=require("react/jsx-runtime"),rr="k-input-prefix",ir={direction:"horizontal"},be=e=>{let{direction:t=ir.direction,...o}=e;return e.children?(0,wt.jsx)("span",{...o,className:a(rr,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,wt.jsx)(wt.Fragment,{})};var Pt=require("react/jsx-runtime"),lr="k-input-suffix",pr={direction:"horizontal"},xe=e=>{let{direction:t=pr.direction,...o}=e;return e.children?(0,Pt.jsx)("span",{...o,className:a(lr,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Pt.jsx)(Pt.Fragment,{})};var cr=require("react/jsx-runtime");var dr=require("react/jsx-runtime");var Us=require("react/jsx-runtime"),Fs="k-input-separator",mr={direction:"vertical"},Se=e=>{let{direction:t=mr.direction,...o}=e;return(0,Us.jsx)("span",{...o,className:a(Fs,e.className,{[`${Fs}-${t}`]:t})})};var zt=require("react/jsx-runtime"),qs="k-color-preview",ur=[],fr={},we=e=>{let{color:t,iconName:o,...r}=e;return(0,zt.jsxs)("span",{...r,className:a(e.className,qs,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,zt.jsx)(y,{icon:o,className:"k-color-preview-icon"}),(0,zt.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};we.states=ur;we.options=fr;we.className=qs;var To=require("react/jsx-runtime"),Ws="k-animation-container",br=[],xr={},Ys={positionMode:"absolute"},Pe=e=>{let{positionMode:t=Ys.positionMode,animationStyle:o,offset:r,...i}=e;return(0,To.jsx)("div",{...i,style:{...r,...e.style},className:a(e.className,Ws,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,To.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};Pe.states=br;Pe.options=xr;Pe.className=Ws;Pe.defaultOptions=Ys;var Ao=require("react/jsx-runtime"),Qs="k-popup",hr=[],Nr={},Zs={positionMode:"absolute"},_=e=>{let{offset:t,positionMode:o=Zs.positionMode,animationStyle:r,...i}=e;return(0,Ao.jsx)(Pe,{positionMode:o,offset:t,animationStyle:r,children:(0,Ao.jsx)("div",{...i,className:a(e.className,Qs),children:e.children})})};_.states=hr;_.options=Nr;_.className=Qs;_.defaultOptions=Zs;var js=require("react/jsx-runtime"),Zt="k-actions",kr=[],vr={},Bo={alignment:"start",orientation:"horizontal"},ze=e=>{let{alignment:t=Bo.alignment,orientation:o=Bo.orientation,...r}=e;return(0,js.jsx)("div",{...r,className:a(Zt,{[`${Zt}-${t}`]:t,[`${Zt}-${o}`]:o},e.className),children:e.children})};ze.states=kr;ze.options=vr;ze.className=Zt;ze.defaultOptions=Bo;var ta=require("react/jsx-runtime"),Lr="k-actionsheet-footer",ea={alignment:"stretched",orientation:"horizontal"},Et=e=>{let{alignment:t=ea.alignment,orientation:o=ea.orientation,template:r,as:i=r?"div":ze,...l}=e;return(0,ta.jsx)(i,{...l,...!r&&{alignment:t,orientation:o},className:a(e.className,Lr),children:e.children})};var Ee=require("react/jsx-runtime"),oa="k-searchbox",Sr=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],gr={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},wo={showIcon:!0,icon:"search",size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode},ge=e=>{let{value:t,placeholder:o,size:r,rounded:i,fillMode:l,hover:p,focus:u,valid:b,invalid:x,required:N,loading:S,disabled:c,showIcon:k=wo.showIcon,icon:L=wo.icon,...g}=e;return(0,Ee.jsxs)(P,{...g,size:r,rounded:i,fillMode:l,hover:p,focus:u,valid:b,invalid:x,required:N,loading:S,disabled:c,className:a(e.className,oa),children:[k&&(0,Ee.jsx)(y,{className:"k-input-icon",icon:L}),(0,Ee.jsx)(de,{placeholder:o,value:t}),(0,Ee.jsx)(ee,{...e}),(0,Ee.jsx)(Z,{...e}),(0,Ee.jsx)(ce,{...e})]})};ge.states=Sr;ge.options=gr;ge.className=oa;ge.defaultOptions=wo;var Mr=require("react/jsx-runtime");var U=require("react/jsx-runtime"),sa="k-textbox",Ir=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],yr={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Je={showClearButton:!0,showValidationIcon:!0,size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,separators:!0},Oe=e=>{let{size:t=Je.size,rounded:o=Je.rounded,fillMode:r=Je.fillMode,separators:i=Je.separators,showClearButton:l=Je.showClearButton,showValidationIcon:p=Je.showValidationIcon,prefix:u,suffix:b,type:x,value:N,placeholder:S,hover:c,focus:k,valid:L,invalid:g,required:A,loading:B,disabled:z,readonly:W,...Ae}=e;return(0,U.jsxs)(P,{...Ae,size:t,rounded:o,fillMode:r,hover:c,focus:k,valid:L,invalid:g,required:A,loading:B,disabled:z,readonly:W,className:a(e.className,sa),children:[u&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(be,{children:u}),i&&(0,U.jsx)(Se,{})]}),(0,U.jsx)(de,{placeholder:S,value:N,type:x}),p&&(0,U.jsx)(Z,{valid:L,invalid:g,loading:B,disabled:z}),(0,U.jsx)(ee,{loading:B,disabled:z}),l&&(0,U.jsx)(ce,{loading:B,disabled:z,readonly:W,value:N}),b&&(0,U.jsxs)(U.Fragment,{children:[i&&(0,U.jsx)(Se,{}),(0,U.jsx)(xe,{children:b})]})]})};Oe.states=Ir;Oe.options=yr;Oe.className=sa;Oe.defaultOptions=Je;var Cr=require("react/jsx-runtime");var na=require("react/jsx-runtime");var ra=require("react/jsx-runtime");var j=require("react/jsx-runtime"),ia="k-actionsheet-titlebar",Tr={},te=e=>{let{title:t,subtitle:o,actionsStart:r,actionsEnd:i,filter:l,input:p,inputValue:u,inputPlaceholder:b,adaptive:x,children:N,...S}=e;return(0,j.jsxs)("div",{...S,className:a(e.className,ia),children:[(0,j.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[r&&(0,j.jsx)("div",{className:"k-actionsheet-actions",children:r}),!N&&(0,j.jsxs)("div",{className:"k-actionsheet-title",children:[t&&(0,j.jsx)("div",{className:"k-text-center",children:t}),o&&(0,j.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&(0,j.jsx)("div",{className:"k-actionsheet-title",children:N}),i&&(0,j.jsx)("div",{className:"k-actionsheet-actions",children:i})]}),(p||l)&&(0,j.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:p?(0,j.jsx)(Oe,{value:u,placeholder:b,size:x?"large":"medium"}):(0,j.jsx)(ge,{placeholder:"Filter",size:x?"large":"medium"})})]})};te.className=ia;te.defaultOptions=Tr;var nt=require("react/jsx-runtime"),Po="k-actionsheet-view",Ar=[],Br={},wr={},rt=e=>{let{adaptive:t,animated:o,children:r,header:i,footer:l,...p}=e,u=(i==null?void 0:i.type)===te&&(0,nt.jsx)(te,{adaptive:t,...i==null?void 0:i.props}),b=(l==null?void 0:l.type)===Et&&(0,nt.jsx)(Et,{...l==null?void 0:l.props});return(0,nt.jsxs)("div",{...p,className:a(e.className,Po,{[`${Po}-animated`]:o}),children:[u,(0,nt.jsx)("div",{className:"k-actionsheet-content",children:r}),b]})};rt.states=Ar;rt.options=Br;rt.className=Po;rt.defaultOptions=wr;var Fe=require("react/jsx-runtime"),la="k-actionsheet",Pr=[],zr={},Ot={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},me=e=>{let{side:t=Ot.side,fullscreen:o=Ot.fullscreen,adaptive:r=Ot.adaptive,overlay:i=Ot.overlay,template:l,children:p,header:u,footer:b,...x}=e;return(0,Fe.jsxs)("div",{className:"k-actionsheet-container",children:[i&&(0,Fe.jsx)("div",{className:"k-overlay"}),(0,Fe.jsx)(Pe,{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,Fe.jsx)("div",{...x,className:a(e.className,la,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":r}),children:l||(0,Fe.jsx)(rt,{header:u,footer:b,adaptive:r,...e,children:p})})})]})};me.states=Pr;me.options=zr;me.className=la;me.defaultOptions=Ot;var Er=require("react/jsx-runtime");var oe=require("react/jsx-runtime"),zo="k-actionsheet-item",Or=[s.hover,s.focus,s.selected,s.disabled],Eo=e=>{let{iconName:t,text:o,description:r,hover:i,focus:l,selected:p,disabled:u,...b}=e;return(0,oe.jsxs)("span",{...b,className:a(e.className,zo,C(zo,{hover:i,focus:l,selected:p,disabled:u})),children:[!e.children&&(0,oe.jsx)(oe.Fragment,{children:(0,oe.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,oe.jsx)("span",{className:"k-icon-wrap",children:(0,oe.jsx)(y,{className:"k-actionsheet-item-icon",icon:t})}),(0,oe.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,oe.jsx)("span",{className:"k-actionsheet-item-title",children:o}),r&&(0,oe.jsx)("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};Eo.states=Or;Eo.className=zo;var pa=require("react/jsx-runtime");var Kr=require("react/jsx-runtime");var Rr=require("react/jsx-runtime");var Hr=require("react/jsx-runtime");var Kt=require("react/jsx-runtime"),da="k-spin-button",Gr=[],$r={size:[n.small,n.medium,n.large],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link]},Oo={size:n.medium,fillMode:d.solid},it=e=>{let{size:t=Oo.size,fillMode:o=Oo.fillMode,...r}=e;return(0,Kt.jsxs)("span",{...r,className:a(da,e.className),children:[(0,Kt.jsx)(h,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),(0,Kt.jsx)(h,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};it.states=Gr;it.options=$r;it.className=da;it.defaultOptions=Oo;var X=require("react/jsx-runtime"),ma="k-numerictextbox",Dr=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],Vr={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Ue={showSpinButton:!0,showClearButton:!0,size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,separators:!0},G=e=>{let{size:t=Ue.size,rounded:o=Ue.rounded,fillMode:r=Ue.fillMode,separators:i=Ue.separators,showClearButton:l=Ue.showClearButton,showSpinButton:p=Ue.showSpinButton,prefix:u,suffix:b,value:x,placeholder:N,hover:S,focus:c,valid:k,invalid:L,required:g,loading:A,disabled:B,readonly:z,...W}=e;return(0,X.jsxs)(P,{...W,size:t,rounded:o,fillMode:r,hover:S,focus:c,valid:k,invalid:L,required:g,loading:A,disabled:B,readonly:z,className:a(e.className,ma),children:[u&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(be,{children:u}),i&&(0,X.jsx)(Se,{})]}),(0,X.jsx)(de,{placeholder:N,value:x}),(0,X.jsx)(Z,{valid:k,invalid:L,loading:A,disabled:B}),(0,X.jsx)(ee,{loading:A,disabled:B}),l&&(0,X.jsx)(ce,{loading:A,disabled:B,readonly:z,value:x}),b&&(0,X.jsxs)(X.Fragment,{children:[i&&(0,X.jsx)(Se,{}),(0,X.jsx)(xe,{children:b})]}),p&&(0,X.jsx)(it,{className:"k-input-spinner",size:t,fillMode:r})]})};G.states=Dr;G.options=Vr;G.className=ma;G.defaultOptions=Ue;var _r=require("react/jsx-runtime");var fa=require("react/jsx-runtime"),Xr="k-no-data",Rt=e=>(0,fa.jsx)("span",{className:a(Xr,e.className),children:e.children});var he=require("react/jsx-runtime"),Ko="k-list",Jr=[],Fr={size:[n.small,n.medium,n.large]},ba={size:n.medium},E=e=>{let{size:t=ba.size,virtualization:o,children:r,optionLabel:i,customValue:l,screenReaders:p,...u}=e,b,x,N,S,c=[];return r?r.map((k,L)=>{k.type===J?(k.props.root===!0?(b=k.props.label,k.props.children.map((g,A)=>{c.push((0,he.jsx)(T,{...g.props},`optChild-${A}-${new Date().getTime()}`))})):k.props.children.forEach((g,A)=>{let B="";A===0&&(B=k.props.label),c.push((0,he.jsx)(T,{className:A===0?"k-first":"",...g.props,groupLabel:B},`groupLabel-${A}-${new Date().getTime()}`))}),x=(0,he.jsx)(J,{label:b,virtualization:o,children:c})):k.type===T&&(c.push((0,he.jsx)(T,{...k.props},`${k.type}-${L}`)),N=(0,he.jsx)(lt,{virtualization:o,children:c}),p&&(S=(0,he.jsxs)(Rt,{className:"k-sr-only",children:[c.length," items found."]})))}):S=(0,he.jsx)(Rt,{children:"No data found."}),(0,he.jsxs)("div",{...u,className:a(e.className,Ko,M(Ko,{size:t}),{"k-virtual-list":o}),children:[i,l,x,N,S]})};E.states=Jr;E.options=Fr;E.className=Ko;E.defaultOptions=ba;var Ne=require("react/jsx-runtime"),Ro="k-list",Ur=[],qr={size:[n.small,n.medium,n.large]},xa={size:n.medium},qe=e=>{let{size:t=xa.size,virtualization:o,children:r,...i}=e,l,p,u,b=[];return r?r.map((x,N)=>{x.type===J?(x.props.root===!0?(l=x.props.label,x.props.children.map((S,c)=>{b.push((0,Ne.jsx)(T,{...S.props},`optChild-${c}-${new Date().getTime()}`))})):(b.push((0,Ne.jsx)(ha,{...x.props,children:x.props.label},`listChild-${N}`)),x.props.children.map((S,c)=>{b.push((0,Ne.jsx)(T,{...S.props},`fwOptChild-${c}-${new Date().getTime()}`))})),p=(0,Ne.jsx)(J,{label:l,virtualization:o,children:b})):x.type===T&&(b.push((0,Ne.jsx)(T,{...x.props},`${x.type}-${N}`)),u=(0,Ne.jsx)(lt,{virtualization:o,children:b}))}):u=(0,Ne.jsx)(Rt,{children:"No data found."}),(0,Ne.jsxs)("div",{...i,className:a(e.className,Ro,M(Ro,{size:t}),{"k-virtual-list":o}),children:[p,u]})};qe.states=Ur;qe.options=qr;qe.className=Ro;qe.defaultOptions=xa;var Go=require("react/jsx-runtime"),jt="k-checkbox",Wr=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.checked,s.indeterminate],Yr={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full]},Ho={size:n.medium,rounded:f.medium},Ke=e=>{let{id:t,checked:o,indeterminate:r,hover:i,focus:l,disabled:p,invalid:u,valid:b,required:x,size:N=Ho.size,rounded:S=Ho.rounded,...c}=e;return(0,Go.jsx)("span",{className:"k-checkbox-wrap",children:(0,Go.jsx)("input",{...c,id:t,type:"checkbox",defaultChecked:o,required:x,className:a(e.className,jt,M(jt,{size:N,rounded:S}),C(jt,{hover:i,focus:l,disabled:p,invalid:u,valid:b,indeterminate:r,checked:o}))})})};Ke.states=Wr;Ke.options=Yr;Ke.className=jt;Ke.defaultOptions=Ho;var va=require("react/jsx-runtime"),Na="k-checkbox-list",Qr=[],Zr={},ka={layout:"vertical"},pt=e=>{let{layout:t=ka.layout,...o}=e;return(0,va.jsx)("ul",{...o,className:a(e.className,Na,{[`k-list-${t}`]:t}),children:e.children})};pt.states=Qr;pt.options=Zr;pt.className=Na;pt.defaultOptions=ka;var Sa=require("react/jsx-runtime"),La="k-checkbox-list-item",jr=[],ei={},ti={},ct=e=>{let{...t}=e;return(0,Sa.jsx)("li",{...t,className:a(e.className,La),children:e.children})};ct.states=jr;ct.options=ei;ct.className=La;ct.defaultOptions=ti;var Do=require("react/jsx-runtime");var Vo=require("react/jsx-runtime");var _o=require("react/jsx-runtime");var Xo=require("react/jsx-runtime");var oi=require("react/jsx-runtime");var si=require("react/jsx-runtime");var We=require("react/jsx-runtime"),Jo="k-list-item",ai=[s.hover,s.focus,s.selected,s.disabled],ni={},ri={},T=e=>{let{text:t,groupLabel:o,group:r,showIcon:i,iconName:l,showCheckbox:p,checked:u,hover:b,focus:x,selected:N,disabled:S,...c}=e,k=t||e.children;return(0,We.jsxs)("li",{...c,className:a(e.className,r?"k-list-group-item":Jo,C(Jo,{hover:b,focus:x,disabled:S,selected:N})),children:[p&&(0,We.jsx)(Ke,{checked:u}),i&&(0,We.jsx)(y,{icon:l}),(0,We.jsx)("span",{className:"k-list-item-text",children:k}),o&&o!==""&&(0,We.jsx)("div",{className:"k-list-item-group-label",children:o})]})};T.states=ai;T.options=ni;T.className=Jo;T.defaultOptions=ri;var dt=require("react/jsx-runtime"),ii="k-list-content",lt=e=>{let{virtualization:t,...o}=e;return(0,dt.jsxs)("div",{...o,className:a(ii,e.className),children:[(0,dt.jsx)("ul",{className:a("k-list-ul"),children:e.children}),t&&(0,dt.jsx)("div",{className:"k-height-container",children:(0,dt.jsx)("div",{})})]})};var Fo=require("react/jsx-runtime"),li="k-list-group-sticky-header",ga=e=>(0,Fo.jsx)("div",{className:a(li,e.className),children:(0,Fo.jsx)("div",{className:"k-list-header-text",children:e.children})});var Ye=require("react/jsx-runtime"),J=e=>{let{virtualization:t,label:o}=e;return(0,Ye.jsxs)(Ye.Fragment,{children:[o&&(0,Ye.jsx)(ga,{children:o}),e.children&&(0,Ye.jsx)(lt,{virtualization:t,children:e.children})]})};var Uo=require("react/jsx-runtime"),pi="k-list-group-item",ha=e=>(0,Uo.jsx)("li",{className:a(pi,e.className),children:(0,Uo.jsx)("span",{className:"k-list-item-text",children:e.children})});var Ma=require("react/jsx-runtime"),qo="k-list-optionlabel",ci=[s.hover,s.focus,s.selected,s.disabled],di={},mi={},eo=e=>{let{text:t,hover:o,focus:r,selected:i,disabled:l,...p}=e;return(0,Ma.jsx)("div",{...p,className:a(qo,C(qo,{hover:o,focus:r,selected:i,disabled:l})),children:t})};eo.states=ci;eo.options=di;eo.className=qo;eo.defaultOptions=mi;var Ia=require("react/jsx-runtime"),Wo="k-list-custom-value",ui=[s.hover,s.focus,s.selected,s.disabled],fi={},bi={},Re=e=>{let{text:t,hover:o,focus:r,selected:i,disabled:l,...p}=e;return(0,Ia.jsx)("div",{...p,className:a(Wo,C(Wo,{hover:o,focus:r,selected:i,disabled:l})),children:t})};Re.states=ui;Re.options=fi;Re.className=Wo;Re.defaultOptions=bi;var xi=require("react/jsx-runtime");var hi=require("react/jsx-runtime");var ya=require("react/jsx-runtime");var Ca=require("react/jsx-runtime");var Ni=require("react/jsx-runtime");var Ta=require("react/jsx-runtime");var Aa=require("react/jsx-runtime");var O=require("react/jsx-runtime"),Ba="k-dropdownlist",ki=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],vi={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},mt={showValue:!0,arrowIconName:"caret-alt-down",size:n.medium,rounded:f.medium,fillMode:d.solid},He=e=>{let{size:t=mt.size,rounded:o=mt.rounded,fillMode:r=mt.fillMode,arrowIconName:i=mt.arrowIconName,showValue:l=mt.showValue,valueIconName:p,prefix:u,suffix:b,value:x,placeholder:N,hover:S,focus:c,valid:k,invalid:L,required:g,loading:A,disabled:B,readonly:z,popup:W,opened:Ae,adaptive:Lt,adaptiveSettings:St,adaptiveTitle:ro,adaptiveSubtitle:io,adaptiveFilter:Nn,...kn}=e;return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(pe,{...kn,size:t,rounded:o,fillMode:r,hover:S,focus:c,valid:k,invalid:L,required:g,loading:A,disabled:B,readonly:z,className:a(e.className,Ba,{"k-icon-picker":!l&&p}),children:[(0,O.jsx)(be,{children:u}),(0,O.jsx)(Xe,{placeholder:N,value:x,showValue:l,valueIconName:p}),(0,O.jsx)(Z,{valid:k,invalid:L,loading:A,disabled:B}),(0,O.jsx)(ee,{loading:A,disabled:B}),(0,O.jsx)(xe,{children:b}),(0,O.jsx)(h,{className:"k-input-button",icon:i,rounded:null,size:e.size,fillMode:e.fillMode})]}),Ae&&W&&(0,O.jsx)(_,{className:"k-list-container k-dropdownlist-popup",children:W}),Lt&&(0,O.jsx)(me,{adaptive:!0,...St,header:(0,O.jsx)(te,{actionsEnd:(0,O.jsx)(h,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Nn,inputValue:x,inputPlaceholder:N,title:ro,subtitle:io}),children:(0,O.jsx)("div",{className:"k-list-container",children:(0,O.jsxs)(E,{size:"large",children:[(0,O.jsx)(T,{text:"List item"}),(0,O.jsx)(T,{text:"List item"}),(0,O.jsx)(T,{text:"List item"})]})})})]})};He.states=ki;He.options=vi;He.className=Ba;He.defaultOptions=mt;var Li=require("react/jsx-runtime");var wa=require("react/jsx-runtime");var Yo=require("react/jsx-runtime");var Si=require("react/jsx-runtime");var Pa=require("react/jsx-runtime");var za=require("react/jsx-runtime");var Qo=require("react/jsx-runtime");var Zo=require("react/jsx-runtime");var Ea=require("react/jsx-runtime");var Oa=require("react/jsx-runtime");var v=require("react/jsx-runtime"),Ka="k-colorgradient-inputs",gi=[],Mi={size:[n.small,n.medium,n.large]},Ra={mode:"rgba",size:n.medium},ut=e=>{let{mode:t=Ra.mode,size:o,...r}=e;return(0,v.jsxs)("div",{...r,className:a(Ka,"k-hstack"),children:[(0,v.jsx)("div",{className:"k-vstack",children:(0,v.jsx)(h,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),t==="rgba"&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,v.jsx)(v.Fragment,{children:(0,v.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,v.jsx)(Oe,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};ut.states=gi;ut.options=Mi;ut.className=Ka;ut.defaultOptions=Ra;var q=require("react/jsx-runtime"),Ha="k-colorgradient-color-contrast",Ii=[],yi={},Ci={},ft=()=>(0,q.jsxs)("div",{className:a(Ha,"k-vbox"),children:[(0,q.jsxs)("div",{className:"k-contrast-ratio",children:[(0,q.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,q.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,q.jsx)(y,{icon:"check"}),(0,q.jsx)(y,{icon:"check"})]})]}),(0,q.jsxs)("div",{children:[(0,q.jsx)("span",{children:"AA: 4.5"}),(0,q.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,q.jsx)(y,{icon:"check"})]})]}),(0,q.jsxs)("div",{children:[(0,q.jsx)("span",{children:"AAA: 7.0"}),(0,q.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,q.jsx)(y,{icon:"x"})]})]})]});ft.states=Ii;ft.options=yi;ft.className=Ha;ft.defaultOptions=Ci;var $=require("react/jsx-runtime"),to="k-colorgradient",Ti=[s.hover,s.focus,s.readonly,s.disabled],Ai={size:[n.small,n.medium,n.large]},ue={size:n.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"},Ge=e=>{let{size:t=ue.size,mode:o=ue.mode,readonly:r=ue.readonly,disabled:i=ue.disabled,gradientStyle:l=ue.gradientStyle,dragHandleStyle:p=ue.dragHandleStyle,alphaStyle:u=ue.alphaStyle,alphaStyleHorizontal:b=ue.alphaStyleHorizontal,contrast:x=ue.contrast,dir:N,hover:S,focus:c,hoverHandle:k,focusHandle:L,canvasOrientation:g=ue.canvasOrientation,...A}=e;return(0,$.jsxs)("div",{...A,className:a(e.className,to,M(to,{size:t}),C(to,{hover:S,focus:c,readonly:r,disabled:i})),dir:N,children:[!g||g==="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:a("k-hsv-draghandle","k-draghandle",{"k-hover":k,"k-focus":L}),style:p})})}),(0,$.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,$.jsx)(ko,{className:"k-hue-slider",hover:k,focus:L}),o!=="rgb"&&o!=="hsv"&&(0,$.jsx)(ko,{className:"k-alpha-slider",hover:k,focus:L,trackStyle:u})]})]}),g==="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:a("k-hsv-draghandle","k-draghandle",{"k-hover":k,"k-focus":L}),style:p})})}),(0,$.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,$.jsx)(No,{className:"k-hue-slider",hover:k,focus:L}),o!=="rgb"&&o!=="hsv"&&(0,$.jsx)(No,{className:"k-alpha-slider",hover:k,focus:L,trackStyle:b})]})]}),(0,$.jsx)(ut,{mode:e.mode,size:t}),x&&(0,$.jsx)(ft,{})]})};Ge.states=Ti;Ge.options=Ai;Ge.className=to;Ge.defaultOptions=ue;var Bi=require("react/jsx-runtime");var wi=require("react/jsx-runtime");var $a=require("react/jsx-runtime"),Ga=e=>(0,$a.jsx)("tr",{children:e.children});var Da=require("react/jsx-runtime"),jo="k-colorpalette-tile",Pi=[s.hover,s.focus,s.selected],zi={},Ht=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,Da.jsx)("td",{...p,className:a(e.className,jo,C(jo,{hover:r,focus:i,selected:l})),style:u})};Ht.states=Pi;Ht.options=zi;Ht.className=jo;var bt=require("react/jsx-runtime"),oo="k-colorpalette",Ei=[s.disabled],Oi={size:[n.small,n.medium,n.large]},es={columns:10,size:n.medium},xt=e=>{let{size:t=es.size,palette:o,columns:r=es.columns,tileSize:i,disabled:l,...p}=e,u=[];if(o){let b=r||o.columns,x=o.colors?o.colors:o;Array.isArray(x)&&Array.from({length:Math.ceil(x.length/b)},(N,S)=>{let c=[];x.slice(S*b,(S+1)*b).map((L,g)=>{c.push((0,bt.jsx)(Ht,{color:L,tileSize:i},g))});let k=(0,bt.jsx)(Ga,{children:c},S);u.push(k)})}return(0,bt.jsx)("div",{...p,className:a(e.className,oo,C(oo,{disabled:l}),M(oo,{size:t})),children:(0,bt.jsx)("table",{className:"k-colorpalette-table",children:(0,bt.jsx)("tbody",{children:u.length>0?u:e.children})})})};xt.states=Ei;xt.options=Oi;xt.className=oo;xt.defaultOptions=es;var ts={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 Ki=require("react/jsx-runtime");var R=require("react/jsx-runtime"),so="k-coloreditor",Ri=[s.focus],Hi={size:[n.small,n.medium,n.large]},ht={size:n.medium,view:"gradient",palette:ts.office,actionButtons:!0,canvasOrientation:"horizontal"},ke=e=>{let{size:t=ht.size,view:o=ht.view,palette:r=ht.palette,color:i,currentColor:l,focus:p,focusView:u,dir:b,group:x,actionButtons:N=ht.actionButtons,canvasOrientation:S=ht.canvasOrientation,...c}=e;return(0,R.jsxs)("div",{...c,className:a(e.className,"k-flatcolorpicker",so,M(so,{size:t}),C(so,{focus:p})),dir:b,children:[(0,R.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,R.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:x&&(0,R.jsxs)(K,{fillMode:"flat",children:[(0,R.jsx)(h,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),(0,R.jsx)(h,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),(0,R.jsx)("div",{className:"k-spacer"}),(0,R.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,R.jsx)(h,{fillMode:"flat",icon:"droplet-slash",size:t}),(0,R.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,R.jsx)(we,{className:"k-coloreditor-preview-color",color:i}),(0,R.jsx)(we,{className:"k-coloreditor-current-color",color:l})]})]})]}),(0,R.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,R.jsx)(Ge,{focus:u,size:t,canvasOrientation:S}):(0,R.jsx)(xt,{palette:r,size:t})}),N&&(0,R.jsxs)(ze,{className:"k-coloreditor-footer",alignment:"start",children:[(0,R.jsx)(h,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,R.jsx)(h,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ke.states=Ri;ke.options=Hi;ke.className=so;ke.defaultOptions=ht;var Gi=require("react/jsx-runtime");var $i=require("react/jsx-runtime");var Di=require("react/jsx-runtime");var Vi=require("react/jsx-runtime");var D=require("react/jsx-runtime"),Va="k-colorpicker",_i=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled],Xi={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Gt={arrowIconName:"caret-alt-down",size:pe.defaultOptions.size,rounded:pe.defaultOptions.rounded,fillMode:pe.defaultOptions.fillMode},Me=e=>{let{size:t=Gt.size,rounded:o=Gt.rounded,fillMode:r=Gt.fillMode,arrowIconName:i=Gt.arrowIconName,prefix:l,suffix:p,value:u,placeholder:b,hover:x,focus:N,valid:S,invalid:c,required:k,disabled:L,valueIconName:g,popup:A,opened:B,adaptive:z,adaptiveSettings:W,adaptiveTitle:Ae,adaptiveSubtitle:Lt,...St}=e;return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsxs)(pe,{...St,size:t,rounded:o,fillMode:r,hover:x,focus:N,valid:S,invalid:c,required:k,disabled:L,className:a(e.className,Va,"k-icon-picker"),children:[(0,D.jsx)(be,{children:l}),(0,D.jsx)(Xe,{placeholder:b,value:u,showValue:!1,valueIcon:(0,D.jsx)(we,{className:"k-value-icon",color:u,iconName:g}),valueIconName:g}),(0,D.jsx)(xe,{children:p}),(0,D.jsx)(h,{className:"k-input-button",icon:i,rounded:null,size:t,fillMode:r})]}),B&&A&&(0,D.jsx)(_,{className:"k-colorpicker-popup",children:A}),z&&(0,D.jsx)(me,{adaptive:!0,...W,header:(0,D.jsx)(te,{actionsEnd:(0,D.jsx)(h,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),title:Ae,subtitle:Lt}),footer:(0,D.jsxs)(Et,{children:[(0,D.jsx)