@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 94.3 kB
JavaScript
var Pn=Object.create;var Wo=Object.defineProperty;var Hn=Object.getOwnPropertyDescriptor;var En=Object.getOwnPropertyNames;var zn=Object.getPrototypeOf,Kn=Object.prototype.hasOwnProperty;var On=(e,t)=>{for(var o in t)Wo(e,o,{get:t[o],enumerable:!0})},Al=(e,t,o,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of En(t))!Kn.call(e,i)&&i!==o&&Wo(e,i,{get:()=>t[i],enumerable:!(l=Hn(t,i))||l.enumerable});return e};var Dn=(e,t,o)=>(o=e!=null?Pn(zn(e)):{},Al(t||!e||!e.__esModule?Wo(o,"default",{value:e,enumerable:!0}):o,e)),Fn=e=>Al(Wo({},"__esModule",{value:!0}),e);var eb={};On(eb,{FileManagerGrid:()=>ju});module.exports=Fn(eb);var a=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?a(...t):typeof t=="object"?Object.keys(t).map((o,l)=>t[l]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var L=(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"}),g=(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 s={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},b={small:"small",medium:"medium",large:"large",full:"full"},T={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"},r={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 No=require("react/jsx-runtime"),va="k-icon k-font-icon",$n=[],Vn={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},_n={},go=e=>{let{size:t,themeColor:o,icon:l,rotate:i,flip:n,...d}=e;return l?(0,No.jsx)("span",{...d,className:a(e.className,va,L(va,{size:t}),{[`k-i-${l}`]:l,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"})}):(0,No.jsx)(No.Fragment,{})};go.states=$n;go.options=Vn;go.className=va;go.defaultOptions=_n;var Rl=go;var Ct=require("react/jsx-runtime"),La="k-icon k-svg-icon",Xn=[],Jn={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},Bl={viewBox:"0 0 24 24"},ko=e=>{let{size:t,themeColor:o,rotate:l,flip:i,viewBox:n=Bl.viewBox,icon:d,...c}=e;if(!d)return(0,Ct.jsx)(Ct.Fragment,{});d==="none"&&{...c,className:a(e.className,La,"k-none")};let m=typeof d=="object"&&d.name&&d.name;return(0,Ct.jsx)("span",{...c,className:a(e.className,La,L("k-icon",{size:t}),{[`k-svg-i-${m}`]:m,[`k-color-${o}`]:o,[`k-rotate-${l}`]:l,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),children:(0,Ct.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof d=="object"?d.viewBox:n,dangerouslySetInnerHTML:typeof d=="object"?{__html:d.content}:void 0,children:d?void 0:e.children})})};ko.states=Xn;ko.options=Jn;ko.className=La;ko.defaultOptions=Bl;var wa=ko;var Gl=Dn(require("@progress/kendo-svg-icons")),Ze=require("react/jsx-runtime"),Wn=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Un=[],qn={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},Sa={viewBox:"0 0 24 24",type:"svg"},k=e=>{let{size:t,themeColor:o,icon:l,type:i=Sa.type,rotate:n,flip:d,viewBox:c=Sa.viewBox,...m}=e;if(!l)return(0,Ze.jsx)(Ze.Fragment,{});if(i==="svg"){if(l==="none")return(0,Ze.jsx)(wa,{...m,icon:l,size:t});let f=Wn(`${l}-icon`);return Gl[f]?(0,Ze.jsx)(wa,{...m,icon:Gl[f],size:t,themeColor:o,rotate:n,flip:d,viewBox:c}):(0,Ze.jsx)(Ze.Fragment,{})}return(0,Ze.jsx)(Rl,{...m,icon:l,size:t,themeColor:o,rotate:n,flip:d})};k.states=Un;k.options=qn;k.defaultOptions=Sa;var Be=require("react/jsx-runtime"),Uo="k-button",Qn=[r.hover,r.focus,r.active,r.selected,r.disabled],Yn={size:[s.small,s.medium,s.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[T.solid,T.flat,T.outline,T.clear,T.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Mt={size:s.medium,rounded:b.medium,fillMode:T.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},x=e=>{let{size:t=Mt.size,rounded:o=Mt.rounded,fillMode:l=Mt.fillMode,themeColor:i=Mt.themeColor,showArrow:n=Mt.showArrow,arrowIconName:d=Mt.arrowIconName,hover:c,focus:m,active:f,selected:h,disabled:w,icon:p,text:N,iconClassName:v,...C}=e,M=p!==void 0,R=e.children!==void 0;return(0,Be.jsxs)("button",{...C,className:a(e.className,Uo,L(Uo,{size:t,rounded:o,fillMode:l,themeColor:i}),g(Uo,{hover:c,focus:m,active:f,disabled:w,selected:h}),{"k-icon-button":!N&&!R&&M}),children:[p&&(0,Be.jsx)(k,{className:a(v,"k-button-icon"),icon:p}),N?(0,Be.jsxs)(Be.Fragment,{children:[N&&(0,Be.jsx)("span",{className:"k-button-text",children:N}),e.children]}):e.children&&(0,Be.jsx)("span",{className:"k-button-text",children:e.children}),n&&(0,Be.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Be.jsx)(k,{icon:d})})]})};x.states=Qn;x.options=Yn;x.className=Uo;x.defaultOptions=Mt;var Pl=require("react/jsx-runtime"),qo=e=>(0,Pl.jsx)(x,{icon:"folder",...e,children:void 0});var Hl=require("react/jsx-runtime"),ya=e=>(0,Hl.jsx)(x,{icon:"folder",children:"Button",...e});var Zn=require("react/jsx-runtime");var zl=require("react/jsx-runtime"),vo="k-button-group",jn=[r.disabled],ed={fillMode:[T.solid,T.flat,T.outline,T.clear,T.link]},El={fillMode:T.solid},G=e=>{let{fillMode:t=El.fillMode,disabled:o,stretched:l,...i}=e;return(0,zl.jsx)("div",{...i,className:a(e.className,vo,L(vo,{fillMode:t}),g(vo,{disabled:o}),{[`${vo}-stretched`]:l}),children:e.children})};G.states=jn;G.options=ed;G.className=vo;G.defaultOptions=El;var Ca=require("react/jsx-runtime");var Ma=require("react/jsx-runtime");var Ia=require("react/jsx-runtime");var Aa=require("react/jsx-runtime");var Kl=require("react/jsx-runtime"),Qo="k-input",td=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],od={size:[s.small,s.medium,s.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[T.solid,T.flat,T.outline]},Yo={size:s.medium,rounded:s.medium,fillMode:T.solid},K=e=>{let{hover:t,focus:o,disabled:l,invalid:i,valid:n,loading:d,readonly:c,size:m=Yo.size,rounded:f=Yo.rounded,fillMode:h=Yo.fillMode,...w}=e;return(0,Kl.jsx)("span",{...w,className:a(e.className,Qo,L(Qo,{size:m,rounded:f,fillMode:h}),g(Qo,{hover:t,focus:o,disabled:l,invalid:i,valid:n,loading:d,readonly:c}))})};K.states=td;K.options=od;K.className=Qo;K.defaultOptions=Yo;var Ol=require("react/jsx-runtime"),Zo="k-picker",ad=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],rd={size:[s.small,s.medium,s.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[T.solid,T.flat,T.outline]},jo={size:s.medium,rounded:b.medium,fillMode:T.solid},Ge=e=>{let{hover:t,focus:o,disabled:l,invalid:i,valid:n,loading:d,readonly:c,size:m=jo.size,rounded:f=jo.rounded,fillMode:h=jo.fillMode,...w}=e;return(0,Ol.jsx)("span",{...w,className:a(e.className,Zo,L(Zo,{size:m,rounded:f,fillMode:h}),g(Zo,{hover:t,focus:o,disabled:l,invalid:i,valid:n,loading:d,readonly:c})),children:e.children})};Ge.states=ad;Ge.options=rd;Ge.className=Zo;Ge.defaultOptions=jo;var Wt=require("react/jsx-runtime"),Dl="k-clear-value",ld=[r.disabled,r.loading,r.readonly],sd={},Pe=e=>{let{disabled:t,loading:o,readonly:l,value:i}=e;return t||l||o||!i?(0,Wt.jsx)(Wt.Fragment,{}):(0,Wt.jsx)("span",{className:a(e.className,Dl),children:(0,Wt.jsx)(k,{icon:"x"})})};Pe.states=ld;Pe.options=sd;Pe.className=Dl;var Fl=require("react/jsx-runtime"),Ra="k-input-inner",id=[],nd={},ea={type:"text",autocomplete:"off",value:"",placeholder:""},He=e=>{let{value:t=ea.value,type:o=ea.type,placeholder:l=ea.placeholder,autocomplete:i=ea.autocomplete,...n}=e;return(0,Fl.jsx)("input",{...n,type:o,className:a(e.className,Ra,L(Ra,e)),placeholder:l,autoComplete:i,defaultValue:t})};He.states=id;He.options=nd;He.className=Ra;var Lo=require("react/jsx-runtime"),Ba="k-input-inner",dd=[],cd={},It=e=>{let{value:t,placeholder:o,showValue:l,valueIcon:i,valueIconName:n,...d}=e;return(0,Lo.jsxs)("span",{...d,className:a(e.className,Ba,L(Ba,e)),children:[i,!i&&n&&(0,Lo.jsx)(k,{className:"k-input-value-icon",icon:n}),l&&!t&&o,l&&t&&(0,Lo.jsx)("span",{className:"k-input-value-text",children:t})]})};It.states=dd;It.options=cd;It.className=Ba;var Vl=require("react/jsx-runtime"),Ga="k-input-inner",pd=[],md={},$l={value:"",placeholder:""},Pa=e=>{let{value:t=$l.value,placeholder:o=$l.placeholder,rows:l,...i}=e;return(0,Vl.jsx)("textarea",{...i,className:a(e.className,Ga,L(Ga,e)),placeholder:o,rows:l,defaultValue:t})};Pa.states=pd;Pa.options=md;Pa.className=Ga;var wo=require("react/jsx-runtime"),_l="k-input-loading-icon",ud=[r.disabled,r.loading],ge=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,wo.jsx)(wo.Fragment,{}):(0,wo.jsx)("span",{className:a(e.className,_l,"k-icon k-i-loading")})};ge.states=ud;ge.className=_l;var So=require("react/jsx-runtime"),Xl="k-input-validation-icon",bd=[r.valid,r.invalid,r.disabled,r.loading],fd={},xe=e=>{let{valid:t,invalid:o,disabled:l,loading:i}=e,n=o?"warning-circle":"check-circle";return l||i||!!!(t||o)?(0,So.jsx)(So.Fragment,{}):(0,So.jsx)(k,{className:a(Xl),icon:n})};xe.states=bd;xe.options=fd;xe.className=Xl;var yo=require("react/jsx-runtime"),Td="k-input-prefix",xd={direction:"horizontal"},_e=e=>{let{direction:t=xd.direction,...o}=e;return e.children?(0,yo.jsx)("span",{...o,className:a(Td,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,yo.jsx)(yo.Fragment,{})};var Co=require("react/jsx-runtime"),hd="k-input-suffix",Nd={direction:"horizontal"},Xe=e=>{let{direction:t=Nd.direction,...o}=e;return e.children?(0,Co.jsx)("span",{...o,className:a(hd,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Co.jsx)(Co.Fragment,{})};var gd=require("react/jsx-runtime");var kd=require("react/jsx-runtime");var Wl=require("react/jsx-runtime"),Jl="k-input-separator",vd={direction:"vertical"},je=e=>{let{direction:t=vd.direction,...o}=e;return(0,Wl.jsx)("span",{...o,className:a(Jl,e.className,{[`${Jl}-${t}`]:t})})};var Mo=require("react/jsx-runtime"),Ul="k-color-preview",Ld=[],wd={},mt=e=>{let{color:t,iconName:o,...l}=e;return(0,Mo.jsxs)("span",{...l,className:a(e.className,Ul,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,Mo.jsx)(k,{icon:o,className:"k-color-preview-icon"}),(0,Mo.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};mt.states=Ld;mt.options=wd;mt.className=Ul;var Ha=require("react/jsx-runtime"),ql="k-animation-container",Sd=[],yd={},Ql={positionMode:"absolute"},ut=e=>{let{positionMode:t=Ql.positionMode,animationStyle:o,offset:l,...i}=e;return(0,Ha.jsx)("div",{...i,style:{...l,...e.style},className:a(e.className,ql,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,Ha.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};ut.states=Sd;ut.options=yd;ut.className=ql;ut.defaultOptions=Ql;var Ea=require("react/jsx-runtime"),Yl="k-popup",Cd=[],Md={},Zl={positionMode:"absolute"},te=e=>{let{offset:t,positionMode:o=Zl.positionMode,animationStyle:l,...i}=e;return(0,Ea.jsx)(ut,{positionMode:o,offset:t,animationStyle:l,children:(0,Ea.jsx)("div",{...i,className:a(e.className,Yl),children:e.children})})};te.states=Cd;te.options=Md;te.className=Yl;te.defaultOptions=Zl;var jl=require("react/jsx-runtime"),ta="k-actions",Id=[],Ad={},za={alignment:"start",orientation:"horizontal"},bt=e=>{let{alignment:t=za.alignment,orientation:o=za.orientation,...l}=e;return(0,jl.jsx)("div",{...l,className:a(ta,{[`${ta}-${t}`]:t,[`${ta}-${o}`]:o},e.className),children:e.children})};bt.states=Id;bt.options=Ad;bt.className=ta;bt.defaultOptions=za;var ts=require("react/jsx-runtime"),Rd="k-actionsheet-footer",es={alignment:"stretched",orientation:"horizontal"},Io=e=>{let{alignment:t=es.alignment,orientation:o=es.orientation,template:l,as:i=l?"div":bt,...n}=e;return(0,ts.jsx)(i,{...n,...!l&&{alignment:t,orientation:o},className:a(e.className,Rd),children:e.children})};var ft=require("react/jsx-runtime"),os="k-searchbox",Bd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],Gd={size:[s.small,s.medium,s.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[T.solid,T.flat,T.outline]},Ka={showIcon:!0,icon:"search",size:K.defaultOptions.size,rounded:K.defaultOptions.rounded,fillMode:K.defaultOptions.fillMode},le=e=>{let{value:t,placeholder:o,size:l,rounded:i,fillMode:n,hover:d,focus:c,valid:m,invalid:f,required:h,loading:w,disabled:p,showIcon:N=Ka.showIcon,icon:v=Ka.icon,...C}=e;return(0,ft.jsxs)(K,{...C,size:l,rounded:i,fillMode:n,hover:d,focus:c,valid:m,invalid:f,required:h,loading:w,disabled:p,className:a(e.className,os),children:[N&&(0,ft.jsx)(k,{className:"k-input-icon",icon:v}),(0,ft.jsx)(He,{placeholder:o,value:t}),(0,ft.jsx)(ge,{...e}),(0,ft.jsx)(xe,{...e}),(0,ft.jsx)(Pe,{...e})]})};le.states=Bd;le.options=Gd;le.className=os;le.defaultOptions=Ka;var Pd=require("react/jsx-runtime");var se=require("react/jsx-runtime"),as="k-textbox",Hd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Ed={size:[s.small,s.medium,s.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[T.solid,T.flat,T.outline]},At={showClearButton:!0,showValidationIcon:!0,size:K.defaultOptions.size,rounded:K.defaultOptions.rounded,fillMode:K.defaultOptions.fillMode,separators:!0},Je=e=>{let{size:t=At.size,rounded:o=At.rounded,fillMode:l=At.fillMode,separators:i=At.separators,showClearButton:n=At.showClearButton,showValidationIcon:d=At.showValidationIcon,prefix:c,suffix:m,type:f,value:h,placeholder:w,hover:p,focus:N,valid:v,invalid:C,required:M,loading:R,disabled:B,readonly:V,...Q}=e;return(0,se.jsxs)(K,{...Q,size:t,rounded:o,fillMode:l,hover:p,focus:N,valid:v,invalid:C,required:M,loading:R,disabled:B,readonly:V,className:a(e.className,as),children:[c&&(0,se.jsxs)(se.Fragment,{children:[(0,se.jsx)(_e,{children:c}),i&&(0,se.jsx)(je,{})]}),(0,se.jsx)(He,{placeholder:w,value:h,type:f}),d&&(0,se.jsx)(xe,{valid:v,invalid:C,loading:R,disabled:B}),(0,se.jsx)(ge,{loading:R,disabled:B}),n&&(0,se.jsx)(Pe,{loading:R,disabled:B,readonly:V,value:h}),m&&(0,se.jsxs)(se.Fragment,{children:[i&&(0,se.jsx)(je,{}),(0,se.jsx)(Xe,{children:m})]})]})};Je.states=Hd;Je.options=Ed;Je.className=as;Je.defaultOptions=At;var zd=require("react/jsx-runtime");var ls=require("react/jsx-runtime");var ss=require("react/jsx-runtime");var he=require("react/jsx-runtime"),is="k-actionsheet-titlebar",Kd={},ke=e=>{let{title:t,subtitle:o,actionsStart:l,actionsEnd:i,filter:n,input:d,inputValue:c,inputPlaceholder:m,adaptive:f,children:h,...w}=e;return(0,he.jsxs)("div",{...w,className:a(e.className,is),children:[(0,he.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[l&&(0,he.jsx)("div",{className:"k-actionsheet-actions",children:l}),!h&&(0,he.jsxs)("div",{className:"k-actionsheet-title",children:[t&&(0,he.jsx)("div",{className:"k-text-center",children:t}),o&&(0,he.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),h&&(0,he.jsx)("div",{className:"k-actionsheet-title",children:h}),i&&(0,he.jsx)("div",{className:"k-actionsheet-actions",children:i})]}),(d||n)&&(0,he.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?(0,he.jsx)(Je,{value:c,placeholder:m,size:f?"large":"medium"}):(0,he.jsx)(le,{placeholder:"Filter",size:f?"large":"medium"})})]})};ke.className=is;ke.defaultOptions=Kd;var Ut=require("react/jsx-runtime"),Oa="k-actionsheet-view",Od=[],Dd={},Fd={},qt=e=>{let{adaptive:t,animated:o,children:l,header:i,footer:n,...d}=e,c=(i==null?void 0:i.type)===ke&&(0,Ut.jsx)(ke,{adaptive:t,...i==null?void 0:i.props}),m=(n==null?void 0:n.type)===Io&&(0,Ut.jsx)(Io,{...n==null?void 0:n.props});return(0,Ut.jsxs)("div",{...d,className:a(e.className,Oa,{[`${Oa}-animated`]:o}),children:[c,(0,Ut.jsx)("div",{className:"k-actionsheet-content",children:l}),m]})};qt.states=Od;qt.options=Dd;qt.className=Oa;qt.defaultOptions=Fd;var Rt=require("react/jsx-runtime"),ns="k-actionsheet",$d=[],Vd={},Ao={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Ee=e=>{let{side:t=Ao.side,fullscreen:o=Ao.fullscreen,adaptive:l=Ao.adaptive,overlay:i=Ao.overlay,template:n,children:d,header:c,footer:m,...f}=e;return(0,Rt.jsxs)("div",{className:"k-actionsheet-container",children:[i&&(0,Rt.jsx)("div",{className:"k-overlay"}),(0,Rt.jsx)(ut,{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,Rt.jsx)("div",{...f,className:a(e.className,ns,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":l}),children:n||(0,Rt.jsx)(qt,{header:c,footer:m,adaptive:l,...e,children:d})})})]})};Ee.states=$d;Ee.options=Vd;Ee.className=ns;Ee.defaultOptions=Ao;var _d=require("react/jsx-runtime");var ve=require("react/jsx-runtime"),Da="k-actionsheet-item",Xd=[r.hover,r.focus,r.selected,r.disabled],Fa=e=>{let{iconName:t,text:o,description:l,hover:i,focus:n,selected:d,disabled:c,...m}=e;return(0,ve.jsxs)("span",{...m,className:a(e.className,Da,g(Da,{hover:i,focus:n,selected:d,disabled:c})),children:[!e.children&&(0,ve.jsx)(ve.Fragment,{children:(0,ve.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,ve.jsx)("span",{className:"k-icon-wrap",children:(0,ve.jsx)(k,{className:"k-actionsheet-item-icon",icon:t})}),(0,ve.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,ve.jsx)("span",{className:"k-actionsheet-item-title",children:o}),l&&(0,ve.jsx)("span",{className:"k-actionsheet-item-description",children:l})]})]})}),e.children]})};Fa.states=Xd;Fa.className=Da;var ds=require("react/jsx-runtime");var Jd=require("react/jsx-runtime");var Wd=require("react/jsx-runtime");var Ud=require("react/jsx-runtime");var ze=require("react/jsx-runtime"),Ro="k-slider",qd=[r.hover,r.focus,r.active,r.disabled,r.readonly],Qd={},Tt={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},Le=e=>{let{type:t=Tt.type,orientation:o=Tt.orientation,readonly:l=Tt.readonly,disabled:i=Tt.disabled,handlePosition:n=Tt.handlePosition,showButtons:d=Tt.showButtons,showTicks:c=Tt.showTicks,hover:m,focus:f,active:h,trackStyle:w,dir:p,...N}=e,v,C;return o==="horizontal"?(v=p==="rtl"?"caret-alt-left":"caret-alt-right",C=p==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(v="caret-alt-up",C="caret-alt-down"),(0,ze.jsxs)("div",{...N,className:a(Ro,e.className,g(Ro,{readonly:l,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:p,children:[d&&(0,ze.jsx)(x,{className:"k-button-decrease",rounded:"full",icon:C}),(0,ze.jsxs)("div",{className:"k-slider-track-wrap",children:[c&&(0,ze.jsx)("ul",{className:"k-reset k-slider-items",children:e.children}),(0,ze.jsxs)("div",{className:"k-slider-track",style:w,children:[(0,ze.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,ze.jsx)("span",{className:a("k-draghandle","k-draghandle-start",g(Ro,{hover:m,focus:f,active:h}))}),(0,ze.jsx)("span",{className:a("k-draghandle",`k-draghandle-${n}`,g(Ro,{hover:m,focus:f,active:h}))})]})]}),d&&(0,ze.jsx)(x,{className:"k-button-increase",rounded:"full",icon:v})]})};Le.states=qd;Le.options=Qd;Le.className=Ro;Le.defaultOptions=Tt;var $a=require("react/jsx-runtime"),ps="k-tick",Yd=[],Zd={},ms={label:!1},xt=e=>{let{style:t,label:o=ms.label,orientation:l,large:i,text:n,...d}=e;return(0,$a.jsx)("li",{...d,className:a(e.className,ps,{[`k-tick-${l}`]:l,"k-tick-large":i}),style:t,children:o&&(0,$a.jsx)("span",{className:"k-label",children:n})})};xt.states=Yd;xt.options=Zd;xt.className=ps;xt.defaultOptions=ms;var Va=require("react/jsx-runtime");var _a=require("react/jsx-runtime");var Xa=require("react/jsx-runtime");var Ja=require("react/jsx-runtime");var us=require("react/jsx-runtime"),Wa=e=>(0,us.jsx)(Le,{type:"gradient",showButtons:!1,showTicks:!1,...e});var bs=require("react/jsx-runtime"),Ua=e=>(0,bs.jsx)(Le,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});var Bo=require("react/jsx-runtime"),fs="k-spin-button",jd=[],ec={size:[s.small,s.medium,s.large],fillMode:[T.solid,T.flat,T.outline,T.clear,T.link]},qa={size:s.medium,fillMode:T.solid},Qt=e=>{let{size:t=qa.size,fillMode:o=qa.fillMode,...l}=e;return(0,Bo.jsxs)("span",{...l,className:a(fs,e.className),children:[(0,Bo.jsx)(x,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),(0,Bo.jsx)(x,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};Qt.states=jd;Qt.options=ec;Qt.className=fs;Qt.defaultOptions=qa;var oe=require("react/jsx-runtime"),Ts="k-numerictextbox",tc=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],oc={size:[s.small,s.medium,s.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[T.solid,T.flat,T.outline]},Bt={showSpinButton:!0,showClearButton:!0,size:K.defaultOptions.size,rounded:K.defaultOptions.rounded,fillMode:K.defaultOptions.fillMode,separators:!0},D=e=>{let{size:t=Bt.size,rounded:o=Bt.rounded,fillMode:l=Bt.fillMode,separators:i=Bt.separators,showClearButton:n=Bt.showClearButton,showSpinButton:d=Bt.showSpinButton,prefix:c,suffix:m,value:f,placeholder:h,hover:w,focus:p,valid:N,invalid:v,required:C,loading:M,disabled:R,readonly:B,...V}=e;return(0,oe.jsxs)(K,{...V,size:t,rounded:o,fillMode:l,hover:w,focus:p,valid:N,invalid:v,required:C,loading:M,disabled:R,readonly:B,className:a(e.className,Ts),children:[c&&(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsx)(_e,{children:c}),i&&(0,oe.jsx)(je,{})]}),(0,oe.jsx)(He,{placeholder:h,value:f}),(0,oe.jsx)(xe,{valid:N,invalid:v,loading:M,disabled:R}),(0,oe.jsx)(ge,{loading:M,disabled:R}),n&&(0,oe.jsx)(Pe,{loading:M,disabled:R,readonly:B,value:f}),m&&(0,oe.jsxs)(oe.Fragment,{children:[i&&(0,oe.jsx)(je,{}),(0,oe.jsx)(Xe,{children:m})]}),d&&(0,oe.jsx)(Qt,{className:"k-input-spinner",size:t,fillMode:l})]})};D.states=tc;D.options=oc;D.className=Ts;D.defaultOptions=Bt;var ac=require("react/jsx-runtime");var hs=require("react/jsx-runtime"),rc="k-no-data",Go=e=>(0,hs.jsx)("span",{className:a(rc,e.className),children:e.children});var We=require("react/jsx-runtime"),Qa="k-list",lc=[],sc={size:[s.small,s.medium,s.large]},Ns={size:s.medium},F=e=>{let{size:t=Ns.size,virtualization:o,children:l,optionLabel:i,customValue:n,screenReaders:d,...c}=e,m,f,h,w,p=[];return l?l.map((N,v)=>{N.type===ae?(N.props.root===!0?(m=N.props.label,N.props.children.map((C,M)=>{p.push((0,We.jsx)(A,{...C.props},`optChild-${M}-${new Date().getTime()}`))})):N.props.children.forEach((C,M)=>{let R="";M===0&&(R=N.props.label),p.push((0,We.jsx)(A,{className:M===0?"k-first":"",...C.props,groupLabel:R},`groupLabel-${M}-${new Date().getTime()}`))}),f=(0,We.jsx)(ae,{label:m,virtualization:o,children:p})):N.type===A&&(p.push((0,We.jsx)(A,{...N.props},`${N.type}-${v}`)),h=(0,We.jsx)(Yt,{virtualization:o,children:p}),d&&(w=(0,We.jsxs)(Go,{className:"k-sr-only",children:[p.length," items found."]})))}):w=(0,We.jsx)(Go,{children:"No data found."}),(0,We.jsxs)("div",{...c,className:a(e.className,Qa,L(Qa,{size:t}),{"k-virtual-list":o}),children:[i,n,f,h,w]})};F.states=lc;F.options=sc;F.className=Qa;F.defaultOptions=Ns;var Ue=require("react/jsx-runtime"),Ya="k-list",ic=[],nc={size:[s.small,s.medium,s.large]},gs={size:s.medium},Gt=e=>{let{size:t=gs.size,virtualization:o,children:l,...i}=e,n,d,c,m=[];return l?l.map((f,h)=>{f.type===ae?(f.props.root===!0?(n=f.props.label,f.props.children.map((w,p)=>{m.push((0,Ue.jsx)(A,{...w.props},`optChild-${p}-${new Date().getTime()}`))})):(m.push((0,Ue.jsx)(ks,{...f.props,children:f.props.label},`listChild-${h}`)),f.props.children.map((w,p)=>{m.push((0,Ue.jsx)(A,{...w.props},`fwOptChild-${p}-${new Date().getTime()}`))})),d=(0,Ue.jsx)(ae,{label:n,virtualization:o,children:m})):f.type===A&&(m.push((0,Ue.jsx)(A,{...f.props},`${f.type}-${h}`)),c=(0,Ue.jsx)(Yt,{virtualization:o,children:m}))}):c=(0,Ue.jsx)(Go,{children:"No data found."}),(0,Ue.jsxs)("div",{...i,className:a(e.className,Ya,L(Ya,{size:t}),{"k-virtual-list":o}),children:[d,c]})};Gt.states=ic;Gt.options=nc;Gt.className=Ya;Gt.defaultOptions=gs;var ja=require("react/jsx-runtime"),oa="k-checkbox",dc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],cc={size:[s.small,s.medium,s.large],rounded:[b.small,b.medium,b.large,b.full]},Za={size:s.medium,rounded:b.medium},Ke=e=>{let{id:t,checked:o,indeterminate:l,hover:i,focus:n,disabled:d,invalid:c,valid:m,required:f,size:h=Za.size,rounded:w=Za.rounded,...p}=e;return(0,ja.jsx)("span",{className:"k-checkbox-wrap",children:(0,ja.jsx)("input",{...p,id:t,type:"checkbox",defaultChecked:o,required:f,className:a(e.className,oa,L(oa,{size:h,rounded:w}),g(oa,{hover:i,focus:n,disabled:d,invalid:c,valid:m,indeterminate:l,checked:o}))})})};Ke.states=dc;Ke.options=cc;Ke.className=oa;Ke.defaultOptions=Za;var ws=require("react/jsx-runtime"),vs="k-checkbox-list",pc=[],mc={},Ls={layout:"vertical"},Zt=e=>{let{layout:t=Ls.layout,...o}=e;return(0,ws.jsx)("ul",{...o,className:a(e.className,vs,{[`k-list-${t}`]:t}),children:e.children})};Zt.states=pc;Zt.options=mc;Zt.className=vs;Zt.defaultOptions=Ls;var ys=require("react/jsx-runtime"),Ss="k-checkbox-list-item",uc=[],bc={},fc={},jt=e=>{let{...t}=e;return(0,ys.jsx)("li",{...t,className:a(e.className,Ss),children:e.children})};jt.states=uc;jt.options=bc;jt.className=Ss;jt.defaultOptions=fc;var tr=require("react/jsx-runtime");var or=require("react/jsx-runtime");var ar=require("react/jsx-runtime");var rr=require("react/jsx-runtime");var Tc=require("react/jsx-runtime");var xc=require("react/jsx-runtime");var Pt=require("react/jsx-runtime"),lr="k-list-item",hc=[r.hover,r.focus,r.selected,r.disabled],Nc={},gc={},A=e=>{let{text:t,groupLabel:o,group:l,showIcon:i,iconName:n,showCheckbox:d,checked:c,hover:m,focus:f,selected:h,disabled:w,...p}=e,N=t||e.children;return(0,Pt.jsxs)("li",{...p,className:a(e.className,l?"k-list-group-item":lr,g(lr,{hover:m,focus:f,disabled:w,selected:h})),children:[d&&(0,Pt.jsx)(Ke,{checked:c}),i&&(0,Pt.jsx)(k,{icon:n}),(0,Pt.jsx)("span",{className:"k-list-item-text",children:N}),o&&o!==""&&(0,Pt.jsx)("div",{className:"k-list-item-group-label",children:o})]})};A.states=hc;A.options=Nc;A.className=lr;A.defaultOptions=gc;var eo=require("react/jsx-runtime"),kc="k-list-content",Yt=e=>{let{virtualization:t,...o}=e;return(0,eo.jsxs)("div",{...o,className:a(kc,e.className),children:[(0,eo.jsx)("ul",{className:a("k-list-ul"),children:e.children}),t&&(0,eo.jsx)("div",{className:"k-height-container",children:(0,eo.jsx)("div",{})})]})};var sr=require("react/jsx-runtime"),vc="k-list-group-sticky-header",Cs=e=>(0,sr.jsx)("div",{className:a(vc,e.className),children:(0,sr.jsx)("div",{className:"k-list-header-text",children:e.children})});var Ht=require("react/jsx-runtime"),ae=e=>{let{virtualization:t,label:o}=e;return(0,Ht.jsxs)(Ht.Fragment,{children:[o&&(0,Ht.jsx)(Cs,{children:o}),e.children&&(0,Ht.jsx)(Yt,{virtualization:t,children:e.children})]})};var ir=require("react/jsx-runtime"),Lc="k-list-group-item",ks=e=>(0,ir.jsx)("li",{className:a(Lc,e.className),children:(0,ir.jsx)("span",{className:"k-list-item-text",children:e.children})});var Ms=require("react/jsx-runtime"),nr="k-list-optionlabel",wc=[r.hover,r.focus,r.selected,r.disabled],Sc={},yc={},aa=e=>{let{text:t,hover:o,focus:l,selected:i,disabled:n,...d}=e;return(0,Ms.jsx)("div",{...d,className:a(nr,g(nr,{hover:o,focus:l,selected:i,disabled:n})),children:t})};aa.states=wc;aa.options=Sc;aa.className=nr;aa.defaultOptions=yc;var Is=require("react/jsx-runtime"),dr="k-list-custom-value",Cc=[r.hover,r.focus,r.selected,r.disabled],Mc={},Ic={},ht=e=>{let{text:t,hover:o,focus:l,selected:i,disabled:n,...d}=e;return(0,Is.jsx)("div",{...d,className:a(dr,g(dr,{hover:o,focus:l,selected:i,disabled:n})),children:t})};ht.states=Cc;ht.options=Mc;ht.className=dr;ht.defaultOptions=Ic;var Ac=require("react/jsx-runtime");var Rc=require("react/jsx-runtime");var As=require("react/jsx-runtime");var Rs=require("react/jsx-runtime");var Bc=require("react/jsx-runtime");var Bs=require("react/jsx-runtime");var Gs=require("react/jsx-runtime");var _=require("react/jsx-runtime"),Ps="k-dropdownlist",Gc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Pc={size:[s.small,s.medium,s.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[T.solid,T.flat,T.outline]},to={showValue:!0,arrowIconName:"caret-alt-down",size:s.medium,rounded:b.medium,fillMode:T.solid},Oe=e=>{let{size:t=to.size,rounded:o=to.rounded,fillMode:l=to.fillMode,arrowIconName:i=to.arrowIconName,showValue:n=to.showValue,valueIconName:d,prefix:c,suffix:m,value:f,placeholder:h,hover:w,focus:p,valid:N,invalid:v,required:C,loading:M,disabled:R,readonly:B,popup:V,opened:Q,adaptive:yt,adaptiveSettings:ho,adaptiveTitle:ga,adaptiveSubtitle:ka,adaptiveFilter:Bn,...Gn}=e;return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)(Ge,{...Gn,size:t,rounded:o,fillMode:l,hover:w,focus:p,valid:N,invalid:v,required:C,loading:M,disabled:R,readonly:B,className:a(e.className,Ps,{"k-icon-picker":!n&&d}),children:[(0,_.jsx)(_e,{children:c}),(0,_.jsx)(It,{placeholder:h,value:f,showValue:n,valueIconName:d}),(0,_.jsx)(xe,{valid:N,invalid:v,loading:M,disabled:R}),(0,_.jsx)(ge,{loading:M,disabled:R}),(0,_.jsx)(Xe,{children:m}),(0,_.jsx)(x,{className:"k-input-button",icon:i,rounded:null,size:e.size,fillMode:e.fillMode})]}),Q&&V&&(0,_.jsx)(te,{className:"k-list-container k-dropdownlist-popup",children:V}),yt&&(0,_.jsx)(Ee,{adaptive:!0,...ho,header:(0,_.jsx)(ke,{actionsEnd:(0,_.jsx)(x,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Bn,inputValue:f,inputPlaceholder:h,title:ga,subtitle:ka}),children:(0,_.jsx)("div",{className:"k-list-container",children:(0,_.jsxs)(F,{size:"large",children:[(0,_.jsx)(A,{text:"List item"}),(0,_.jsx)(A,{text:"List item"}),(0,_.jsx)(A,{text:"List item"})]})})})]})};Oe.states=Gc;Oe.options=Pc;Oe.className=Ps;Oe.defaultOptions=to;var Hc=require("react/jsx-runtime");var Hs=require("react/jsx-runtime");var cr=require("react/jsx-runtime");var Ec=require("react/jsx-runtime");var Es=require("react/jsx-runtime");var zs=require("react/jsx-runtime");var pr=require("react/jsx-runtime");var mr=require("react/jsx-runtime");var Ks=require("react/jsx-runtime");var Os=require("react/jsx-runtime");var y=require("react/jsx-runtime"),Ds="k-colorgradient-inputs",zc=[],Kc={size:[s.small,s.medium,s.large]},Fs={mode:"rgba",size:s.medium},oo=e=>{let{mode:t=Fs.mode,size:o,...l}=e;return(0,y.jsxs)("div",{...l,className:a(Ds,"k-hstack"),children:[(0,y.jsx)("div",{className:"k-vstack",children:(0,y.jsx)(x,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),t==="rgba"&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,y.jsxs)("div",{className:"k-vstack",children:[(0,y.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,y.jsx)(y.Fragment,{children:(0,y.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,y.jsx)(Je,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,y.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};oo.states=zc;oo.options=Kc;oo.className=Ds;oo.defaultOptions=Fs;var ie=require("react/jsx-runtime"),$s="k-colorgradient-color-contrast",Oc=[],Dc={},Fc={},ao=()=>(0,ie.jsxs)("div",{className:a($s,"k-vbox"),children:[(0,ie.jsxs)("div",{className:"k-contrast-ratio",children:[(0,ie.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,ie.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,ie.jsx)(k,{icon:"check"}),(0,ie.jsx)(k,{icon:"check"})]})]}),(0,ie.jsxs)("div",{children:[(0,ie.jsx)("span",{children:"AA: 4.5"}),(0,ie.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,ie.jsx)(k,{icon:"check"})]})]}),(0,ie.jsxs)("div",{children:[(0,ie.jsx)("span",{children:"AAA: 7.0"}),(0,ie.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,ie.jsx)(k,{icon:"x"})]})]})]});ao.states=Oc;ao.options=Dc;ao.className=$s;ao.defaultOptions=Fc;var Y=require("react/jsx-runtime"),ra="k-colorgradient",$c=[r.hover,r.focus,r.readonly,r.disabled],Vc={size:[s.small,s.medium,s.large]},De={size:s.medium,mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},Nt=e=>{let{size:t=De.size,mode:o=De.mode,readonly:l=De.readonly,disabled:i=De.disabled,gradientStyle:n=De.gradientStyle,dragHandleStyle:d=De.dragHandleStyle,alphaStyle:c=De.alphaStyle,alphaStyleHorizontal:m=De.alphaStyleHorizontal,contrast:f=De.contrast,dir:h,hover:w,focus:p,hoverHandle:N,focusHandle:v,canvasOrientation:C=De.canvasOrientation,...M}=e;return(0,Y.jsxs)("div",{...M,className:a(e.className,ra,L(ra,{size:t}),g(ra,{hover:w,focus:p,readonly:l,disabled:i})),dir:h,children:[!C||C==="horizontal"&&(0,Y.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,Y.jsx)("div",{className:"k-hsv-rectangle",style:n,children:(0,Y.jsx)("div",{className:"k-hsv-gradient",children:(0,Y.jsx)("div",{className:a("k-hsv-draghandle","k-draghandle",{"k-hover":N,"k-focus":v}),style:d})})}),(0,Y.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,Y.jsx)(Ua,{className:"k-hue-slider",hover:N,focus:v}),o!=="rgb"&&o!=="hsv"&&(0,Y.jsx)(Ua,{className:"k-alpha-slider",hover:N,focus:v,trackStyle:c})]})]}),C==="vertical"&&(0,Y.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,Y.jsx)("div",{className:"k-hsv-rectangle",style:n,children:(0,Y.jsx)("div",{className:"k-hsv-gradient",children:(0,Y.jsx)("div",{className:a("k-hsv-draghandle","k-draghandle",{"k-hover":N,"k-focus":v}),style:d})})}),(0,Y.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,Y.jsx)(Wa,{className:"k-hue-slider",hover:N,focus:v}),o!=="rgb"&&o!=="hsv"&&(0,Y.jsx)(Wa,{className:"k-alpha-slider",hover:N,focus:v,trackStyle:m})]})]}),(0,Y.jsx)(oo,{mode:e.mode,size:t}),f&&(0,Y.jsx)(ao,{})]})};Nt.states=$c;Nt.options=Vc;Nt.className=ra;Nt.defaultOptions=De;var _c=require("react/jsx-runtime");var Xc=require("react/jsx-runtime");var _s=require("react/jsx-runtime"),Vs=e=>(0,_s.jsx)("tr",{children:e.children});var Xs=require("react/jsx-runtime"),ur="k-colorpalette-tile",Jc=[r.hover,r.focus,r.selected],Wc={},Po=e=>{let{color:t,tileSize:o,hover:l,focus:i,selected:n,...d}=e,c={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,Xs.jsx)("td",{...d,className:a(e.className,ur,g(ur,{hover:l,focus:i,selected:n})),style:c})};Po.states=Jc;Po.options=Wc;Po.className=ur;var ro=require("react/jsx-runtime"),la="k-colorpalette",Uc=[r.disabled],qc={size:[s.small,s.medium,s.large]},br={columns:10,size:s.medium},lo=e=>{let{size:t=br.size,palette:o,columns:l=br.columns,tileSize:i,disabled:n,...d}=e,c=[];if(o){let m=l||o.columns,f=o.colors?o.colors:o;Array.isArray(f)&&Array.from({length:Math.ceil(f.length/m)},(h,w)=>{let p=[];f.slice(w*m,(w+1)*m).map((v,C)=>{p.push((0,ro.jsx)(Po,{color:v,tileSize:i},C))});let N=(0,ro.jsx)(Vs,{children:p},w);c.push(N)})}return(0,ro.jsx)("div",{...d,className:a(e.className,la,g(la,{disabled:n}),L(la,{size:t})),children:(0,ro.jsx)("table",{className:"k-colorpalette-table",children:(0,ro.jsx)("tbody",{children:c.length>0?c:e.children})})})};lo.states=Uc;lo.options=qc;lo.className=la;lo.defaultOptions=br;var fr={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 Qc=require("react/jsx-runtime");var J=require("react/jsx-runtime"),sa="k-coloreditor",Yc=[r.focus],Zc={size:[s.small,s.medium,s.large]},so={size:s.medium,view:"gradient",palette:fr.office,actionButtons:!0,canvasOrientation:"horizontal"},qe=e=>{let{size:t=so.size,view:o=so.view,palette:l=so.palette,color:i,currentColor:n,focus:d,focusView:c,dir:m,group:f,actionButtons:h=so.actionButtons,canvasOrientation:w=so.canvasOrientation,...p}=e;return(0,J.jsxs)("div",{...p,className:a(e.className,"k-flatcolorpicker",sa,L(sa,{size:t}),g(sa,{focus:d})),dir:m,children:[(0,J.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,J.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:f&&(0,J.jsxs)(G,{fillMode:"flat",children:[(0,J.jsx)(x,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),(0,J.jsx)(x,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),(0,J.jsx)("div",{className:"k-spacer"}),(0,J.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,J.jsx)(x,{fillMode:"flat",icon:"droplet-slash",size:t}),(0,J.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,J.jsx)(mt,{className:"k-coloreditor-preview-color",color:i}),(0,J.jsx)(mt,{className:"k-coloreditor-current-color",color:n})]})]})]}),(0,J.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,J.jsx)(Nt,{focus:c,size:t,canvasOrientation:w}):(0,J.jsx)(lo,{palette:l,size:t})}),h&&(0,J.jsxs)(bt,{className:"k-coloreditor-footer",alignment:"start",children:[(0,J.jsx)(x,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,J.jsx)(x,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};qe.states=Yc;qe.options=Zc;qe.className=sa;qe.defaultOptions=so;var jc=require("react/jsx-runtime");var ep=require("react/jsx-runtime");var tp=require("react/jsx-runtime");var op=require("react/jsx-runtime");var Z=require("react/jsx-runtime"),Js="k-colorpicker",ap=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],rp={size:[s.small,s.medium,s.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[T.solid,T.flat,T.outline]},Ho={arrowIconName:"caret-alt-down",size:Ge.defaultOptions.size,rounded:Ge.defaultOptions.rounded,fillMode:Ge.defaultOptions.fillMode},et=e=>{let{size:t=Ho.size,rounded:o=Ho.rounded,fillMode:l=Ho.fillMode,arrowIconName:i=Ho.arrowIconName,prefix:n,suffix:d,value:c,placeholder:m,hover:f,focus:h,valid:w,invalid:p,required:N,disabled:v,valueIconName:C,popup:M,opened:R,adaptive:B,adaptiveSettings:V,adaptiveTitle:Q,adaptiveSubtitle:yt,...ho}=e;return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(Ge,{...ho,size:t,rounded:o,fillMode:l,hover:f,focus:h,valid:w,invalid:p,required:N,disabled:v,className:a(e.className,Js,"k-icon-picker"),children:[(0,Z.jsx)(_e,{children:n}),(0,Z.jsx)(It,{placeholder:m,value:c,showValue:!1,valueIcon:(0,Z.jsx)(mt,{className:"k-value-icon",color:c,iconName:C}),valueIconName:C}),(0,Z.jsx)(Xe,{children:d}),(0,Z.jsx)(x,{className:"k-input-button",icon:i,rounded:null,size:t,fillMode:l})]}),R&&M&&(0,Z.jsx)(te,{className:"k-colorpicker-popup",children:M}),B&&(0,Z.jsx)(Ee,{adaptive:!0,...V,header:(0,Z.jsx)(ke,{actionsEnd:(0,Z.jsx)(x,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),title:Q,subtitle:yt}),footer:(0,Z.jsxs)(Io,{children:[(0,Z.jsx)(x,{text:"Cancel",size:"large",themeColor:"base"}),(0,Z.jsx)(x,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,Z.jsx)(qe,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};et.states=ap;et.options=rp;et.className=Js;et.defaultOptions=Ho;var sp=require("react/jsx-runtime");var ip=re