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