UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 92.2 kB
var Yi=Object.create;var Co=Object.defineProperty;var Zi=Object.getOwnPropertyDescriptor;var ji=Object.getOwnPropertyNames;var en=Object.getPrototypeOf,tn=Object.prototype.hasOwnProperty;var on=(e,t)=>{for(var o in t)Co(e,o,{get:t[o],enumerable:!0})},Yl=(e,t,o,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of ji(t))!tn.call(e,n)&&n!==o&&Co(e,n,{get:()=>t[n],enumerable:!(i=Zi(t,n))||i.enumerable});return e};var an=(e,t,o)=>(o=e!=null?Yi(en(e)):{},Yl(t||!e||!e.__esModule?Co(o,"default",{value:e,enumerable:!0}):o,e)),ln=e=>Yl(Co({},"__esModule",{value:!0}),e);var qm={};on(qm,{GanttNormal:()=>Um});module.exports=ln(qm);var a=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?a(...t):typeof t=="object"?Object.keys(t).map((o,i)=>t[i]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var w=(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 r={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},T={small:"small",medium:"medium",large:"large",full:"full"},f={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},u={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},l={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 jl=require("react/jsx-runtime"),Zl="k-gantt",sn=[],rn={},nn={},ut=e=>{let{headerToolbar:t,footerToolbar:o,...i}=e;return(0,jl.jsxs)("div",{...i,className:a(e.className,Zl),children:[t,e.children,o]})};ut.states=sn;ut.options=rn;ut.className=Zl;ut.defaultOptions=nn;var oo=require("react/jsx-runtime"),Zo="k-icon k-font-icon",dn=[],cn={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},pn={},ao=e=>{let{size:t,themeColor:o,icon:i,rotate:n,flip:d,...c}=e;return i?(0,oo.jsx)("span",{...c,className:a(e.className,Zo,w(Zo,{size:t}),{[`k-i-${i}`]:i,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"})}):(0,oo.jsx)(oo.Fragment,{})};ao.states=dn;ao.options=cn;ao.className=Zo;ao.defaultOptions=pn;var es=ao;var bt=require("react/jsx-runtime"),jo="k-icon k-svg-icon",mn=[],un={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},ts={viewBox:"0 0 24 24"},lo=e=>{let{size:t,themeColor:o,rotate:i,flip:n,viewBox:d=ts.viewBox,icon:c,...p}=e;if(!c)return(0,bt.jsx)(bt.Fragment,{});c==="none"&&{...p,className:a(e.className,jo,"k-none")};let b=typeof c=="object"&&c.name&&c.name;return(0,bt.jsx)("span",{...p,className:a(e.className,jo,w("k-icon",{size:t}),{[`k-svg-i-${b}`]:b,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),children:(0,bt.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:d,dangerouslySetInnerHTML:typeof c=="object"?{__html:c.content}:void 0,children:c?void 0:e.children})})};lo.states=mn;lo.options=un;lo.className=jo;lo.defaultOptions=ts;var ea=lo;var os=an(require("@progress/kendo-svg-icons")),Fe=require("react/jsx-runtime"),bn=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),fn=[],Tn={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},ta={viewBox:"0 0 24 24",type:"svg"},N=e=>{let{size:t,themeColor:o,icon:i,type:n=ta.type,rotate:d,flip:c,viewBox:p=ta.viewBox,...b}=e;if(!i)return(0,Fe.jsx)(Fe.Fragment,{});if(n==="svg"){if(i==="none")return(0,Fe.jsx)(ea,{...b,icon:i,size:t});let h=bn(`${i}-icon`);return os[h]?(0,Fe.jsx)(ea,{...b,icon:os[h],size:t,themeColor:o,rotate:d,flip:c,viewBox:p}):(0,Fe.jsx)(Fe.Fragment,{})}return(0,Fe.jsx)(es,{...b,icon:i,size:t,themeColor:o,rotate:d,flip:c})};N.states=fn;N.options=Tn;N.defaultOptions=ta;var Se=require("react/jsx-runtime"),Mo="k-button",hn=[l.hover,l.focus,l.active,l.selected,l.disabled],xn={size:[r.small,r.medium,r.large],rounded:[T.small,T.medium,T.large,T.full],fillMode:[f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},ft={size:r.medium,rounded:T.medium,fillMode:f.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},x=e=>{let{size:t=ft.size,rounded:o=ft.rounded,fillMode:i=ft.fillMode,themeColor:n=ft.themeColor,showArrow:d=ft.showArrow,arrowIconName:c=ft.arrowIconName,hover:p,focus:b,active:h,selected:g,disabled:y,icon:m,text:k,iconClassName:v,...M}=e,I=m!==void 0,H=e.children!==void 0;return(0,Se.jsxs)("button",{...M,className:a(e.className,Mo,w(Mo,{size:t,rounded:o,fillMode:i,themeColor:n}),C(Mo,{hover:p,focus:b,active:h,disabled:y,selected:g}),{"k-icon-button":!k&&!H&&I}),children:[m&&(0,Se.jsx)(N,{className:a(v,"k-button-icon"),icon:m}),k?(0,Se.jsxs)(Se.Fragment,{children:[k&&(0,Se.jsx)("span",{className:"k-button-text",children:k}),e.children]}):e.children&&(0,Se.jsx)("span",{className:"k-button-text",children:e.children}),d&&(0,Se.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Se.jsx)(N,{icon:c})})]})};x.states=hn;x.options=xn;x.className=Mo;x.defaultOptions=ft;var as=require("react/jsx-runtime"),Go=e=>(0,as.jsx)(x,{icon:"folder",...e,children:void 0});var ls=require("react/jsx-runtime"),oa=e=>(0,ls.jsx)(x,{icon:"folder",children:"Button",...e});var Nn=require("react/jsx-runtime");var rs=require("react/jsx-runtime"),so="k-button-group",gn=[l.disabled],kn={fillMode:[f.solid,f.flat,f.outline,f.clear,f.link]},ss={fillMode:f.solid},K=e=>{let{fillMode:t=ss.fillMode,disabled:o,stretched:i,...n}=e;return(0,rs.jsx)("div",{...n,className:a(e.className,so,w(so,{fillMode:t}),C(so,{disabled:o}),{[`${so}-stretched`]:i}),children:e.children})};K.states=gn;K.options=kn;K.className=so;K.defaultOptions=ss;var aa=require("react/jsx-runtime");var la=require("react/jsx-runtime");var sa=require("react/jsx-runtime");var ra=require("react/jsx-runtime");var is=require("react/jsx-runtime"),Ro="k-input",vn=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],yn={size:[r.small,r.medium,r.large],rounded:[T.small,T.medium,T.large,T.full],fillMode:[f.solid,f.flat,f.outline]},Io={size:r.medium,rounded:r.medium,fillMode:f.solid},O=e=>{let{hover:t,focus:o,disabled:i,invalid:n,valid:d,loading:c,readonly:p,size:b=Io.size,rounded:h=Io.rounded,fillMode:g=Io.fillMode,...y}=e;return(0,is.jsx)("span",{...y,className:a(e.className,Ro,w(Ro,{size:b,rounded:h,fillMode:g}),C(Ro,{hover:t,focus:o,disabled:i,invalid:n,valid:d,loading:c,readonly:p}))})};O.states=vn;O.options=yn;O.className=Ro;O.defaultOptions=Io;var ns=require("react/jsx-runtime"),Ao="k-picker",Ln=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],wn={size:[r.small,r.medium,r.large],rounded:[T.small,T.medium,T.large,T.full],fillMode:[f.solid,f.flat,f.outline]},Ho={size:r.medium,rounded:T.medium,fillMode:f.solid},Ce=e=>{let{hover:t,focus:o,disabled:i,invalid:n,valid:d,loading:c,readonly:p,size:b=Ho.size,rounded:h=Ho.rounded,fillMode:g=Ho.fillMode,...y}=e;return(0,ns.jsx)("span",{...y,className:a(e.className,Ao,w(Ao,{size:b,rounded:h,fillMode:g}),C(Ao,{hover:t,focus:o,disabled:i,invalid:n,valid:d,loading:c,readonly:p})),children:e.children})};Ce.states=Ln;Ce.options=wn;Ce.className=Ao;Ce.defaultOptions=Ho;var At=require("react/jsx-runtime"),ds="k-clear-value",Sn=[l.disabled,l.loading,l.readonly],Cn={},Me=e=>{let{disabled:t,loading:o,readonly:i,value:n}=e;return t||i||o||!n?(0,At.jsx)(At.Fragment,{}):(0,At.jsx)("span",{className:a(e.className,ds),children:(0,At.jsx)(N,{icon:"x"})})};Me.states=Sn;Me.options=Cn;Me.className=ds;var cs=require("react/jsx-runtime"),ia="k-input-inner",Mn=[],Gn={},Po={type:"text",autocomplete:"off",value:"",placeholder:""},Ge=e=>{let{value:t=Po.value,type:o=Po.type,placeholder:i=Po.placeholder,autocomplete:n=Po.autocomplete,...d}=e;return(0,cs.jsx)("input",{...d,type:o,className:a(e.className,ia,w(ia,e)),placeholder:i,autoComplete:n,defaultValue:t})};Ge.states=Mn;Ge.options=Gn;Ge.className=ia;var ro=require("react/jsx-runtime"),na="k-input-inner",Rn=[],In={},Tt=e=>{let{value:t,placeholder:o,showValue:i,valueIcon:n,valueIconName:d,...c}=e;return(0,ro.jsxs)("span",{...c,className:a(e.className,na,w(na,e)),children:[n,!n&&d&&(0,ro.jsx)(N,{className:"k-input-value-icon",icon:d}),i&&!t&&o,i&&t&&(0,ro.jsx)("span",{className:"k-input-value-text",children:t})]})};Tt.states=Rn;Tt.options=In;Tt.className=na;var ms=require("react/jsx-runtime"),da="k-input-inner",An=[],Hn={},ps={value:"",placeholder:""},ca=e=>{let{value:t=ps.value,placeholder:o=ps.placeholder,rows:i,...n}=e;return(0,ms.jsx)("textarea",{...n,className:a(e.className,da,w(da,e)),placeholder:o,rows:i,defaultValue:t})};ca.states=An;ca.options=Hn;ca.className=da;var io=require("react/jsx-runtime"),us="k-input-loading-icon",Pn=[l.disabled,l.loading],xe=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,io.jsx)(io.Fragment,{}):(0,io.jsx)("span",{className:a(e.className,us,"k-icon k-i-loading")})};xe.states=Pn;xe.className=us;var no=require("react/jsx-runtime"),bs="k-input-validation-icon",zn=[l.valid,l.invalid,l.disabled,l.loading],En={},be=e=>{let{valid:t,invalid:o,disabled:i,loading:n}=e,d=o?"warning-circle":"check-circle";return i||n||!!!(t||o)?(0,no.jsx)(no.Fragment,{}):(0,no.jsx)(N,{className:a(bs),icon:d})};be.states=zn;be.options=En;be.className=bs;var co=require("react/jsx-runtime"),Bn="k-input-prefix",On={direction:"horizontal"},Ee=e=>{let{direction:t=On.direction,...o}=e;return e.children?(0,co.jsx)("span",{...o,className:a(Bn,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,co.jsx)(co.Fragment,{})};var po=require("react/jsx-runtime"),Kn="k-input-suffix",Dn={direction:"horizontal"},Be=e=>{let{direction:t=Dn.direction,...o}=e;return e.children?(0,po.jsx)("span",{...o,className:a(Kn,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,po.jsx)(po.Fragment,{})};var $n=require("react/jsx-runtime");var _n=require("react/jsx-runtime");var Ts=require("react/jsx-runtime"),fs="k-input-separator",Vn={direction:"vertical"},We=e=>{let{direction:t=Vn.direction,...o}=e;return(0,Ts.jsx)("span",{...o,className:a(fs,e.className,{[`${fs}-${t}`]:t})})};var mo=require("react/jsx-runtime"),hs="k-color-preview",Fn=[],Wn={},tt=e=>{let{color:t,iconName:o,...i}=e;return(0,mo.jsxs)("span",{...i,className:a(e.className,hs,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,mo.jsx)(N,{icon:o,className:"k-color-preview-icon"}),(0,mo.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};tt.states=Fn;tt.options=Wn;tt.className=hs;var pa=require("react/jsx-runtime"),xs="k-animation-container",Xn=[],Jn={},Ns={positionMode:"absolute"},ot=e=>{let{positionMode:t=Ns.positionMode,animationStyle:o,offset:i,...n}=e;return(0,pa.jsx)("div",{...n,style:{...i,...e.style},className:a(e.className,xs,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,pa.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};ot.states=Xn;ot.options=Jn;ot.className=xs;ot.defaultOptions=Ns;var ma=require("react/jsx-runtime"),gs="k-popup",Un=[],qn={},ks={positionMode:"absolute"},ae=e=>{let{offset:t,positionMode:o=ks.positionMode,animationStyle:i,...n}=e;return(0,ma.jsx)(ot,{positionMode:o,offset:t,animationStyle:i,children:(0,ma.jsx)("div",{...n,className:a(e.className,gs),children:e.children})})};ae.states=Un;ae.options=qn;ae.className=gs;ae.defaultOptions=ks;var vs=require("react/jsx-runtime"),zo="k-actions",Qn=[],Yn={},ua={alignment:"start",orientation:"horizontal"},at=e=>{let{alignment:t=ua.alignment,orientation:o=ua.orientation,...i}=e;return(0,vs.jsx)("div",{...i,className:a(zo,{[`${zo}-${t}`]:t,[`${zo}-${o}`]:o},e.className),children:e.children})};at.states=Qn;at.options=Yn;at.className=zo;at.defaultOptions=ua;var Ls=require("react/jsx-runtime"),Zn="k-actionsheet-footer",ys={alignment:"stretched",orientation:"horizontal"},uo=e=>{let{alignment:t=ys.alignment,orientation:o=ys.orientation,template:i,as:n=i?"div":at,...d}=e;return(0,Ls.jsx)(n,{...d,...!i&&{alignment:t,orientation:o},className:a(e.className,Zn),children:e.children})};var lt=require("react/jsx-runtime"),ws="k-searchbox",jn=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],ed={size:[r.small,r.medium,r.large],rounded:[T.small,T.medium,T.large,T.full],fillMode:[f.solid,f.flat,f.outline]},ba={showIcon:!0,icon:"search",size:O.defaultOptions.size,rounded:O.defaultOptions.rounded,fillMode:O.defaultOptions.fillMode},Xe=e=>{let{value:t,placeholder:o,size:i,rounded:n,fillMode:d,hover:c,focus:p,valid:b,invalid:h,required:g,loading:y,disabled:m,showIcon:k=ba.showIcon,icon:v=ba.icon,...M}=e;return(0,lt.jsxs)(O,{...M,size:i,rounded:n,fillMode:d,hover:c,focus:p,valid:b,invalid:h,required:g,loading:y,disabled:m,className:a(e.className,ws),children:[k&&(0,lt.jsx)(N,{className:"k-input-icon",icon:v}),(0,lt.jsx)(Ge,{placeholder:o,value:t}),(0,lt.jsx)(xe,{...e}),(0,lt.jsx)(be,{...e}),(0,lt.jsx)(Me,{...e})]})};Xe.states=jn;Xe.options=ed;Xe.className=ws;Xe.defaultOptions=ba;var td=require("react/jsx-runtime");var ie=require("react/jsx-runtime"),Ss="k-textbox",od=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],ad={size:[r.small,r.medium,r.large],rounded:[T.small,T.medium,T.large,T.full],fillMode:[f.solid,f.flat,f.outline]},ht={showClearButton:!0,showValidationIcon:!0,size:O.defaultOptions.size,rounded:O.defaultOptions.rounded,fillMode:O.defaultOptions.fillMode,separators:!0},Oe=e=>{let{size:t=ht.size,rounded:o=ht.rounded,fillMode:i=ht.fillMode,separators:n=ht.separators,showClearButton:d=ht.showClearButton,showValidationIcon:c=ht.showValidationIcon,prefix:p,suffix:b,type:h,value:g,placeholder:y,hover:m,focus:k,valid:v,invalid:M,required:I,loading:H,disabled:z,readonly:oe,...ce}=e;return(0,ie.jsxs)(O,{...ce,size:t,rounded:o,fillMode:i,hover:m,focus:k,valid:v,invalid:M,required:I,loading:H,disabled:z,readonly:oe,className:a(e.className,Ss),children:[p&&(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsx)(Ee,{children:p}),n&&(0,ie.jsx)(We,{})]}),(0,ie.jsx)(Ge,{placeholder:y,value:g,type:h}),c&&(0,ie.jsx)(be,{valid:v,invalid:M,loading:H,disabled:z}),(0,ie.jsx)(xe,{loading:H,disabled:z}),d&&(0,ie.jsx)(Me,{loading:H,disabled:z,readonly:oe,value:g}),b&&(0,ie.jsxs)(ie.Fragment,{children:[n&&(0,ie.jsx)(We,{}),(0,ie.jsx)(Be,{children:b})]})]})};Oe.states=od;Oe.options=ad;Oe.className=Ss;Oe.defaultOptions=ht;var ld=require("react/jsx-runtime");var Ms=require("react/jsx-runtime");var Gs=require("react/jsx-runtime");var fe=require("react/jsx-runtime"),Rs="k-actionsheet-titlebar",sd={},Ne=e=>{let{title:t,subtitle:o,actionsStart:i,actionsEnd:n,filter:d,input:c,inputValue:p,inputPlaceholder:b,adaptive:h,children:g,...y}=e;return(0,fe.jsxs)("div",{...y,className:a(e.className,Rs),children:[(0,fe.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[i&&(0,fe.jsx)("div",{className:"k-actionsheet-actions",children:i}),!g&&(0,fe.jsxs)("div",{className:"k-actionsheet-title",children:[t&&(0,fe.jsx)("div",{className:"k-text-center",children:t}),o&&(0,fe.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),g&&(0,fe.jsx)("div",{className:"k-actionsheet-title",children:g}),n&&(0,fe.jsx)("div",{className:"k-actionsheet-actions",children:n})]}),(c||d)&&(0,fe.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?(0,fe.jsx)(Oe,{value:p,placeholder:b,size:h?"large":"medium"}):(0,fe.jsx)(Xe,{placeholder:"Filter",size:h?"large":"medium"})})]})};Ne.className=Rs;Ne.defaultOptions=sd;var Ht=require("react/jsx-runtime"),fa="k-actionsheet-view",rd=[],id={},nd={},Pt=e=>{let{adaptive:t,animated:o,children:i,header:n,footer:d,...c}=e,p=(n==null?void 0:n.type)===Ne&&(0,Ht.jsx)(Ne,{adaptive:t,...n==null?void 0:n.props}),b=(d==null?void 0:d.type)===uo&&(0,Ht.jsx)(uo,{...d==null?void 0:d.props});return(0,Ht.jsxs)("div",{...c,className:a(e.className,fa,{[`${fa}-animated`]:o}),children:[p,(0,Ht.jsx)("div",{className:"k-actionsheet-content",children:i}),b]})};Pt.states=rd;Pt.options=id;Pt.className=fa;Pt.defaultOptions=nd;var xt=require("react/jsx-runtime"),Is="k-actionsheet",dd=[],cd={},bo={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Re=e=>{let{side:t=bo.side,fullscreen:o=bo.fullscreen,adaptive:i=bo.adaptive,overlay:n=bo.overlay,template:d,children:c,header:p,footer:b,...h}=e;return(0,xt.jsxs)("div",{className:"k-actionsheet-container",children:[n&&(0,xt.jsx)("div",{className:"k-overlay"}),(0,xt.jsx)(ot,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:(0,xt.jsx)("div",{...h,className:a(e.className,Is,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":i}),children:d||(0,xt.jsx)(Pt,{header:p,footer:b,adaptive:i,...e,children:c})})})]})};Re.states=dd;Re.options=cd;Re.className=Is;Re.defaultOptions=bo;var pd=require("react/jsx-runtime");var ge=require("react/jsx-runtime"),Ta="k-actionsheet-item",md=[l.hover,l.focus,l.selected,l.disabled],ha=e=>{let{iconName:t,text:o,description:i,hover:n,focus:d,selected:c,disabled:p,...b}=e;return(0,ge.jsxs)("span",{...b,className:a(e.className,Ta,C(Ta,{hover:n,focus:d,selected:c,disabled:p})),children:[!e.children&&(0,ge.jsx)(ge.Fragment,{children:(0,ge.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,ge.jsx)("span",{className:"k-icon-wrap",children:(0,ge.jsx)(N,{className:"k-actionsheet-item-icon",icon:t})}),(0,ge.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,ge.jsx)("span",{className:"k-actionsheet-item-title",children:o}),i&&(0,ge.jsx)("span",{className:"k-actionsheet-item-description",children:i})]})]})}),e.children]})};ha.states=md;ha.className=Ta;var As=require("react/jsx-runtime");var ud=require("react/jsx-runtime");var bd=require("react/jsx-runtime");var fd=require("react/jsx-runtime");var Ie=require("react/jsx-runtime"),fo="k-slider",Td=[l.hover,l.focus,l.active,l.disabled,l.readonly],hd={},st={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},ke=e=>{let{type:t=st.type,orientation:o=st.orientation,readonly:i=st.readonly,disabled:n=st.disabled,handlePosition:d=st.handlePosition,showButtons:c=st.showButtons,showTicks:p=st.showTicks,hover:b,focus:h,active:g,trackStyle:y,dir:m,...k}=e,v,M;return o==="horizontal"?(v=m==="rtl"?"caret-alt-left":"caret-alt-right",M=m==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(v="caret-alt-up",M="caret-alt-down"),(0,Ie.jsxs)("div",{...k,className:a(fo,e.className,C(fo,{readonly:i,disabled:n}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:m,children:[c&&(0,Ie.jsx)(x,{className:"k-button-decrease",rounded:"full",icon:M}),(0,Ie.jsxs)("div",{className:"k-slider-track-wrap",children:[p&&(0,Ie.jsx)("ul",{className:"k-reset k-slider-items",children:e.children}),(0,Ie.jsxs)("div",{className:"k-slider-track",style:y,children:[(0,Ie.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,Ie.jsx)("span",{className:a("k-draghandle","k-draghandle-start",C(fo,{hover:b,focus:h,active:g}))}),(0,Ie.jsx)("span",{className:a("k-draghandle",`k-draghandle-${d}`,C(fo,{hover:b,focus:h,active:g}))})]})]}),c&&(0,Ie.jsx)(x,{className:"k-button-increase",rounded:"full",icon:v})]})};ke.states=Td;ke.options=hd;ke.className=fo;ke.defaultOptions=st;var xa=require("react/jsx-runtime"),Ps="k-tick",xd=[],Nd={},zs={label:!1},rt=e=>{let{style:t,label:o=zs.label,orientation:i,large:n,text:d,...c}=e;return(0,xa.jsx)("li",{...c,className:a(e.className,Ps,{[`k-tick-${i}`]:i,"k-tick-large":n}),style:t,children:o&&(0,xa.jsx)("span",{className:"k-label",children:d})})};rt.states=xd;rt.options=Nd;rt.className=Ps;rt.defaultOptions=zs;var Na=require("react/jsx-runtime");var ga=require("react/jsx-runtime");var ka=require("react/jsx-runtime");var va=require("react/jsx-runtime");var Es=require("react/jsx-runtime"),ya=e=>(0,Es.jsx)(ke,{type:"gradient",showButtons:!1,showTicks:!1,...e});var Bs=require("react/jsx-runtime"),La=e=>(0,Bs.jsx)(ke,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});var To=require("react/jsx-runtime"),Os="k-spin-button",gd=[],kd={size:[r.small,r.medium,r.large],fillMode:[f.solid,f.flat,f.outline,f.clear,f.link]},wa={size:r.medium,fillMode:f.solid},zt=e=>{let{size:t=wa.size,fillMode:o=wa.fillMode,...i}=e;return(0,To.jsxs)("span",{...i,className:a(Os,e.className),children:[(0,To.jsx)(x,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),(0,To.jsx)(x,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};zt.states=gd;zt.options=kd;zt.className=Os;zt.defaultOptions=wa;var le=require("react/jsx-runtime"),Ks="k-numerictextbox",vd=[l.hover,l.focus,l.valid,l.invalid,l.loading,l.required,l.disabled,l.readonly],yd={size:[r.small,r.medium,r.large],rounded:[T.small,T.medium,T.large,T.full],fillMode:[f.solid,f.flat,f.outline]},Nt={showSpinButton:!0,showClearButton:!0,size:O.defaultOptions.size,rounded:O.defaultOptions.rounded,fillMode:O.defaultOptions.fillMode,separators:!0},D=e=>{let{size:t=Nt.size,rounded:o=Nt.rounded,fillMode:i=Nt.fillMode,separators:n=Nt.separators,showClearButton:d=Nt.showClearButton,showSpinButton:c=Nt.showSpinButton,prefix:p,suffix:b,value:h,placeholder:g,hover:y,focus:m,valid:k,invalid:v,required:M,loading:I,disabled:H,readonly:z,...oe}=e;return(0,le.jsxs)(O,{...oe,size:t,rounded:o,fillMode:i,hover:y,focus:m,valid:k,invalid:v,required:M,loading:I,disabled:H,readonly:z,className:a(e.className,Ks),children:[p&&(0,le.jsxs)(le.Fragment,{children:[(0,le.jsx)(Ee,{children:p}),n&&(0,le.jsx)(We,{})]}),(0,le.jsx)(Ge,{placeholder:g,value:h}),(0,le.jsx)(be,{valid:k,invalid:v,loading:I,disabled:H}),(0,le.jsx)(xe,{loading:I,disabled:H}),d&&(0,le.jsx)(Me,{loading:I,disabled:H,readonly:z,value:h}),b&&(0,le.jsxs)(le.Fragment,{children:[n&&(0,le.jsx)(We,{}),(0,le.jsx)(Be,{children:b})]}),c&&(0,le.jsx)(zt,{className:"k-input-spinner",size:t,fillMode:i})]})};D.states=vd;D.options=yd;D.className=Ks;D.defaultOptions=Nt;var Ld=require("react/jsx-runtime");var $s=require("react/jsx-runtime"),wd="k-no-data",ho=e=>(0,$s.jsx)("span",{className:a(wd,e.className),children:e.children});var Ke=require("react/jsx-runtime"),Sa="k-list",Sd=[],Cd={size:[r.small,r.medium,r.large]},_s={size:r.medium},$=e=>{let{size:t=_s.size,virtualization:o,children:i,optionLabel:n,customValue:d,screenReaders:c,...p}=e,b,h,g,y,m=[];return i?i.map((k,v)=>{k.type===se?(k.props.root===!0?(b=k.props.label,k.props.children.map((M,I)=>{m.push((0,Ke.jsx)(A,{...M.props},`optChild-${I}-${new Date().getTime()}`))})):k.props.children.forEach((M,I)=>{let H="";I===0&&(H=k.props.label),m.push((0,Ke.jsx)(A,{className:I===0?"k-first":"",...M.props,groupLabel:H},`groupLabel-${I}-${new Date().getTime()}`))}),h=(0,Ke.jsx)(se,{label:b,virtualization:o,children:m})):k.type===A&&(m.push((0,Ke.jsx)(A,{...k.props},`${k.type}-${v}`)),g=(0,Ke.jsx)(Et,{virtualization:o,children:m}),c&&(y=(0,Ke.jsxs)(ho,{className:"k-sr-only",children:[m.length," items found."]})))}):y=(0,Ke.jsx)(ho,{children:"No data found."}),(0,Ke.jsxs)("div",{...p,className:a(e.className,Sa,w(Sa,{size:t}),{"k-virtual-list":o}),children:[n,d,h,g,y]})};$.states=Sd;$.options=Cd;$.className=Sa;$.defaultOptions=_s;var De=require("react/jsx-runtime"),Ca="k-list",Md=[],Gd={size:[r.small,r.medium,r.large]},Vs={size:r.medium},gt=e=>{let{size:t=Vs.size,virtualization:o,children:i,...n}=e,d,c,p,b=[];return i?i.map((h,g)=>{h.type===se?(h.props.root===!0?(d=h.props.label,h.props.children.map((y,m)=>{b.push((0,De.jsx)(A,{...y.props},`optChild-${m}-${new Date().getTime()}`))})):(b.push((0,De.jsx)(Fs,{...h.props,children:h.props.label},`listChild-${g}`)),h.props.children.map((y,m)=>{b.push((0,De.jsx)(A,{...y.props},`fwOptChild-${m}-${new Date().getTime()}`))})),c=(0,De.jsx)(se,{label:d,virtualization:o,children:b})):h.type===A&&(b.push((0,De.jsx)(A,{...h.props},`${h.type}-${g}`)),p=(0,De.jsx)(Et,{virtualization:o,children:b}))}):p=(0,De.jsx)(ho,{children:"No data found."}),(0,De.jsxs)("div",{...n,className:a(e.className,Ca,w(Ca,{size:t}),{"k-virtual-list":o}),children:[c,p]})};gt.states=Md;gt.options=Gd;gt.className=Ca;gt.defaultOptions=Vs;var Ga=require("react/jsx-runtime"),Eo="k-checkbox",Rd=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],Id={size:[r.small,r.medium,r.large],rounded:[T.small,T.medium,T.large,T.full]},Ma={size:r.medium,rounded:T.medium},Je=e=>{let{id:t,checked:o,indeterminate:i,hover:n,focus:d,disabled:c,invalid:p,valid:b,required:h,size:g=Ma.size,rounded:y=Ma.rounded,...m}=e;return(0,Ga.jsx)("span",{className:"k-checkbox-wrap",children:(0,Ga.jsx)("input",{...m,id:t,type:"checkbox",defaultChecked:o,required:h,className:a(e.className,Eo,w(Eo,{size:g,rounded:y}),C(Eo,{hover:n,focus:d,disabled:c,invalid:p,valid:b,indeterminate:i,checked:o}))})})};Je.states=Rd;Je.options=Id;Je.className=Eo;Je.defaultOptions=Ma;var Js=require("react/jsx-runtime"),Ws="k-checkbox-list",Ad=[],Hd={},Xs={layout:"vertical"},Bt=e=>{let{layout:t=Xs.layout,...o}=e;return(0,Js.jsx)("ul",{...o,className:a(e.className,Ws,{[`k-list-${t}`]:t}),children:e.children})};Bt.states=Ad;Bt.options=Hd;Bt.className=Ws;Bt.defaultOptions=Xs;var qs=require("react/jsx-runtime"),Us="k-checkbox-list-item",Pd=[],zd={},Ed={},Ot=e=>{let{...t}=e;return(0,qs.jsx)("li",{...t,className:a(e.className,Us),children:e.children})};Ot.states=Pd;Ot.options=zd;Ot.className=Us;Ot.defaultOptions=Ed;var Ia=require("react/jsx-runtime");var Aa=require("react/jsx-runtime");var Ha=require("react/jsx-runtime");var Pa=require("react/jsx-runtime");var Bd=require("react/jsx-runtime");var Od=require("react/jsx-runtime");var kt=require("react/jsx-runtime"),za="k-list-item",Kd=[l.hover,l.focus,l.selected,l.disabled],Dd={},$d={},A=e=>{let{text:t,groupLabel:o,group:i,showIcon:n,iconName:d,showCheckbox:c,checked:p,hover:b,focus:h,selected:g,disabled:y,...m}=e,k=t||e.children;return(0,kt.jsxs)("li",{...m,className:a(e.className,i?"k-list-group-item":za,C(za,{hover:b,focus:h,disabled:y,selected:g})),children:[c&&(0,kt.jsx)(Je,{checked:p}),n&&(0,kt.jsx)(N,{icon:d}),(0,kt.jsx)("span",{className:"k-list-item-text",children:k}),o&&o!==""&&(0,kt.jsx)("div",{className:"k-list-item-group-label",children:o})]})};A.states=Kd;A.options=Dd;A.className=za;A.defaultOptions=$d;var Kt=require("react/jsx-runtime"),_d="k-list-content",Et=e=>{let{virtualization:t,...o}=e;return(0,Kt.jsxs)("div",{...o,className:a(_d,e.className),children:[(0,Kt.jsx)("ul",{className:a("k-list-ul"),children:e.children}),t&&(0,Kt.jsx)("div",{className:"k-height-container",children:(0,Kt.jsx)("div",{})})]})};var Ea=require("react/jsx-runtime"),Vd="k-list-group-sticky-header",Qs=e=>(0,Ea.jsx)("div",{className:a(Vd,e.className),children:(0,Ea.jsx)("div",{className:"k-list-header-text",children:e.children})});var vt=require("react/jsx-runtime"),se=e=>{let{virtualization:t,label:o}=e;return(0,vt.jsxs)(vt.Fragment,{children:[o&&(0,vt.jsx)(Qs,{children:o}),e.children&&(0,vt.jsx)(Et,{virtualization:t,children:e.children})]})};var Ba=require("react/jsx-runtime"),Fd="k-list-group-item",Fs=e=>(0,Ba.jsx)("li",{className:a(Fd,e.className),children:(0,Ba.jsx)("span",{className:"k-list-item-text",children:e.children})});var Ys=require("react/jsx-runtime"),Oa="k-list-optionlabel",Wd=[l.hover,l.focus,l.selected,l.disabled],Xd={},Jd={},Bo=e=>{let{text:t,hover:o,focus:i,selected:n,disabled:d,...c}=e;return(0,Ys.jsx)("div",{...c,className:a(Oa,C(Oa,{hover:o,focus:i,selected:n,disabled:d})),children:t})};Bo.states=Wd;Bo.options=Xd;Bo.className=Oa;Bo.defaultOptions=Jd;var Zs=require("react/jsx-runtime"),Ka="k-list-custom-value",Ud=[l.hover,l.focus,l.selected,l.disabled],qd={},Qd={},it=e=>{let{text:t,hover:o,focus:i,selected:n,disabled:d,...c}=e;return(0,Zs.jsx)("div",{...c,className:a(Ka,C(Ka,{hover:o,focus:i,selected:n,disabled:d})),children:t})};it.states=Ud;it.options=qd;it.className=Ka;it.defaultOptions=Qd;var Yd=require("react/jsx-runtime");var Zd=require("react/jsx-runtime");var js=require("react/jsx-runtime");var er=require("react/jsx-runtime");var jd=require("react/jsx-runtime");var tr=require("react/jsx-runtime");var or=require("react/jsx-runtime");var W=require("react/jsx-runtime"),ar="k-dropdownlist",ec=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],tc={size:[r.small,r.medium,r.large],rounded:[T.small,T.medium,T.large,T.full],fillMode:[f.solid,f.flat,f.outline]},Dt={showValue:!0,arrowIconName:"caret-alt-down",size:r.medium,rounded:T.medium,fillMode:f.solid},Ae=e=>{let{size:t=Dt.size,rounded:o=Dt.rounded,fillMode:i=Dt.fillMode,arrowIconName:n=Dt.arrowIconName,showValue:d=Dt.showValue,valueIconName:c,prefix:p,suffix:b,value:h,placeholder:g,hover:y,focus:m,valid:k,invalid:v,required:M,loading:I,disabled:H,readonly:z,popup:oe,opened:ce,adaptive:eo,adaptiveSettings:to,adaptiveTitle:Qo,adaptiveSubtitle:Yo,adaptiveFilter:qi,...Qi}=e;return(0,W.jsxs)(W.Fragment,{children:[(0,W.jsxs)(Ce,{...Qi,size:t,rounded:o,fillMode:i,hover:y,focus:m,valid:k,invalid:v,required:M,loading:I,disabled:H,readonly:z,className:a(e.className,ar,{"k-icon-picker":!d&&c}),children:[(0,W.jsx)(Ee,{children:p}),(0,W.jsx)(Tt,{placeholder:g,value:h,showValue:d,valueIconName:c}),(0,W.jsx)(be,{valid:k,invalid:v,loading:I,disabled:H}),(0,W.jsx)(xe,{loading:I,disabled:H}),(0,W.jsx)(Be,{children:b}),(0,W.jsx)(x,{className:"k-input-button",icon:n,rounded:null,size:e.size,fillMode:e.fillMode})]}),ce&&oe&&(0,W.jsx)(ae,{className:"k-list-container k-dropdownlist-popup",children:oe}),eo&&(0,W.jsx)(Re,{adaptive:!0,...to,header:(0,W.jsx)(Ne,{actionsEnd:(0,W.jsx)(x,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:qi,inputValue:h,inputPlaceholder:g,title:Qo,subtitle:Yo}),children:(0,W.jsx)("div",{className:"k-list-container",children:(0,W.jsxs)($,{size:"large",children:[(0,W.jsx)(A,{text:"List item"}),(0,W.jsx)(A,{text:"List item"}),(0,W.jsx)(A,{text:"List item"})]})})})]})};Ae.states=ec;Ae.options=tc;Ae.className=ar;Ae.defaultOptions=Dt;var oc=require("react/jsx-runtime");var lr=require("react/jsx-runtime");var Da=require("react/jsx-runtime");var ac=require("react/jsx-runtime");var sr=require("react/jsx-runtime");var rr=require("react/jsx-runtime");var $a=require("react/jsx-runtime");var _a=require("react/jsx-runtime");var ir=require("react/jsx-runtime");var nr=require("react/jsx-runtime");var L=require("react/jsx-runtime"),dr="k-colorgradient-inputs",lc=[],sc={size:[r.small,r.medium,r.large]},cr={mode:"rgba",size:r.medium},$t=e=>{let{mode:t=cr.mode,size:o,...i}=e;return(0,L.jsxs)("div",{...i,className:a(dr,"k-hstack"),children:[(0,L.jsx)("div",{className:"k-vstack",children:(0,L.jsx)(x,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),t==="rgba"&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,L.jsx)(L.Fragment,{children:(0,L.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,L.jsx)(Oe,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};$t.states=lc;$t.options=sc;$t.className=dr;$t.defaultOptions=cr;var ne=require("react/jsx-runtime"),pr="k-colorgradient-color-contrast",rc=[],ic={},nc={},_t=()=>(0,ne.jsxs)("div",{className:a(pr,"k-vbox"),children:[(0,ne.jsxs)("div",{className:"k-contrast-ratio",children:[(0,ne.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,ne.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,ne.jsx)(N,{icon:"check"}),(0,ne.jsx)(N,{icon:"check"})]})]}),(0,ne.jsxs)("div",{children:[(0,ne.jsx)("span",{children:"AA: 4.5"}),(0,ne.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,ne.jsx)(N,{icon:"check"})]})]}),(0,ne.jsxs)("div",{children:[(0,ne.jsx)("span",{children:"AAA: 7.0"}),(0,ne.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,ne.jsx)(N,{icon:"x"})]})]})]});_t.states=rc;_t.options=ic;_t.className=pr;_t.defaultOptions=nc;var q=require("react/jsx-runtime"),Oo="k-colorgradient",dc=[l.hover,l.focus,l.readonly,l.disabled],cc={size:[r.small,r.medium,r.large]},He={size:r.medium,mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},nt=e=>{let{size:t=He.size,mode:o=He.mode,readonly:i=He.readonly,disabled:n=He.disabled,gradientStyle:d=He.gradientStyle,dragHandleStyle:c=He.dragHandleStyle,alphaStyle:p=He.alphaStyle,alphaStyleHorizontal:b=He.alphaStyleHorizontal,contrast:h=He.contrast,dir:g,hover:y,focus:m,hoverHandle:k,focusHandle:v,canvasOrientation:M=He.canvasOrientation,...I}=e;return(0,q.jsxs)("div",{...I,className:a(e.className,Oo,w(Oo,{size:t}),C(Oo,{hover:y,focus:m,readonly:i,disabled:n})),dir:g,children:[!M||M==="horizontal"&&(0,q.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,q.jsx)("div",{className:"k-hsv-rectangle",style:d,children:(0,q.jsx)("div",{className:"k-hsv-gradient",children:(0,q.jsx)("div",{className:a("k-hsv-draghandle","k-draghandle",{"k-hover":k,"k-focus":v}),style:c})})}),(0,q.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,q.jsx)(La,{className:"k-hue-slider",hover:k,focus:v}),o!=="rgb"&&o!=="hsv"&&(0,q.jsx)(La,{className:"k-alpha-slider",hover:k,focus:v,trackStyle:p})]})]}),M==="vertical"&&(0,q.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,q.jsx)("div",{className:"k-hsv-rectangle",style:d,children:(0,q.jsx)("div",{className:"k-hsv-gradient",children:(0,q.jsx)("div",{className:a("k-hsv-draghandle","k-draghandle",{"k-hover":k,"k-focus":v}),style:c})})}),(0,q.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,q.jsx)(ya,{className:"k-hue-slider",hover:k,focus:v}),o!=="rgb"&&o!=="hsv"&&(0,q.jsx)(ya,{className:"k-alpha-slider",hover:k,focus:v,trackStyle:b})]})]}),(0,q.jsx)($t,{mode:e.mode,size:t}),h&&(0,q.jsx)(_t,{})]})};nt.states=dc;nt.options=cc;nt.className=Oo;nt.defaultOptions=He;var pc=require("react/jsx-runtime");var mc=require("react/jsx-runtime");var ur=require("react/jsx-runtime"),mr=e=>(0,ur.jsx)("tr",{children:e.children});var br=require("react/jsx-runtime"),Va="k-colorpalette-tile",uc=[l.hover,l.focus,l.selected],bc={},xo=e=>{let{color:t,tileSize:o,hover:i,focus:n,selected:d,...c}=e,p={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,br.jsx)("td",{...c,className:a(e.className,Va,C(Va,{hover:i,focus:n,selected:d})),style:p})};xo.states=uc;xo.options=bc;xo.className=Va;var Vt=require("react/jsx-runtime"),Ko="k-colorpalette",fc=[l.disabled],Tc={size:[r.small,r.medium,r.large]},Fa={columns:10,size:r.medium},Ft=e=>{let{size:t=Fa.size,palette:o,columns:i=Fa.columns,tileSize:n,disabled:d,...c}=e,p=[];if(o){let b=i||o.columns,h=o.colors?o.colors:o;Array.isArray(h)&&Array.from({length:Math.ceil(h.length/b)},(g,y)=>{let m=[];h.slice(y*b,(y+1)*b).map((v,M)=>{m.push((0,Vt.jsx)(xo,{color:v,tileSize:n},M))});let k=(0,Vt.jsx)(mr,{children:m},y);p.push(k)})}return(0,Vt.jsx)("div",{...c,className:a(e.className,Ko,C(Ko,{disabled:d}),w(Ko,{size:t})),children:(0,Vt.jsx)("table",{className:"k-colorpalette-table",children:(0,Vt.jsx)("tbody",{children:p.length>0?p:e.children})})})};Ft.states=fc;Ft.options=Tc;Ft.className=Ko;Ft.defaultOptions=Fa;var Wa={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 hc=require("react/jsx-runtime");var X=require("react/jsx-runtime"),Do="k-coloreditor",xc=[l.focus],Nc={size:[r.small,r.medium,r.large]},Wt={size:r.medium,view:"gradient",palette:Wa.office,actionButtons:!0,canvasOrientation:"horizontal"},$e=e=>{let{size:t=Wt.size,view:o=Wt.view,palette:i=Wt.palette,color:n,currentColor:d,focus:c,focusView:p,dir:b,group:h,actionButtons:g=Wt.actionButtons,canvasOrientation:y=Wt.canvasOrientation,...m}=e;return(0,X.jsxs)("div",{...m,className:a(e.className,"k-flatcolorpicker",Do,w(Do,{size:t}),C(Do,{focus:c})),dir:b,children:[(0,X.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,X.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:h&&(0,X.jsxs)(K,{fillMode:"flat",children:[(0,X.jsx)(x,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),(0,X.jsx)(x,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),(0,X.jsx)("div",{className:"k-spacer"}),(0,X.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,X.jsx)(x,{fillMode:"flat",icon:"droplet-slash",size:t}),(0,X.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,X.jsx)(tt,{className:"k-coloreditor-preview-color",color:n}),(0,X.jsx)(tt,{className:"k-coloreditor-current-color",color:d})]})]})]}),(0,X.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,X.jsx)(nt,{focus:p,size:t,canvasOrientation:y}):(0,X.jsx)(Ft,{palette:i,size:t})}),g&&(0,X.jsxs)(at,{className:"k-coloreditor-footer",alignment:"start",children:[(0,X.jsx)(x,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,X.jsx)(x,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};$e.states=xc;$e.options=Nc;$e.className=Do;$e.defaultOptions=Wt;var gc=require("react/jsx-runtime");var kc=require("react/jsx-runtime");var vc=require("react/jsx-runtime");var yc=require("react/jsx-runtime");var Q=require("react/jsx-runtime"),fr="k-colorpicker",Lc=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled],wc={size:[r.small,r.medium,r.large],rounded:[T.small,T.medium,T.large,T.full],fillMode:[f.solid,f.flat,f.outline]},No={arrowIconName:"caret-alt-down",size:Ce.defaultOptions.size,rounded:Ce.defaultOptions.rounded,fillMode:Ce.defaultOptions.fillMode},Ue=e=>{let{size:t=No.size,rounded:o=No.rounded,fillMode:i=No.fillMode,arrowIconName:n=No.arrowIconName,prefix:d,suffix:c,value:p,placeholder:b,hover:h,focus:g,valid:y,invalid:m,required:k,disabled:v,valueIconName:M,popup:I,opened:H,adaptive:z,adaptiveSettings:oe,adaptiveTitle:ce,adaptiveSubtitle:eo,...to}=e;return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(Ce,{...to,size:t,rounded:o,fillMode:i,hover:h,focus:g,valid:y,invalid:m,required:k,disabled:v,className:a(e.className,fr,"k-icon-picker"),children:[(0,Q.jsx)(Ee,{children:d}),(0,Q.jsx)(Tt,{placeholder:b,value:p,showValue:!1,valueIcon:(0,Q.jsx)(tt,{className:"k-value-icon",color:p,iconName:M}),valueIconName:M}),(0,Q.jsx)(Be,{children:c}),(0,Q.jsx)(x,{className:"k-input-button",icon:n,rounded:null,size:t,fillMode:i})]}),H&&I&&(0,Q.jsx)(ae,{className:"k-colorpicker-popup",children:I}),z&&(0,Q.jsx)(Re,{adaptive:!0,...oe,header:(0,Q.jsx)(Ne,{actionsEnd:(0,Q.jsx)(x,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),title:ce,subtitle:eo}),footer:(0,Q.jsxs)(uo,{children:[(0,Q.jsx)(x,{text:"Cancel",size:"large",themeColor