UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

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