UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 320 kB
var o=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?o(...t):typeof t=="object"?Object.keys(t).map((a,r)=>t[r]||t[a]&&a||null).filter(a=>a!==null).join(" "):t).filter(t=>!!t).join(" ");var C=(e,t)=>o({[`${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"}),h=(e,t)=>{let{valid:a,invalid:r,hover:s,focus:i,checked:n,active:p,selected:m,disabled:f,indeterminate:A,loading:v,empty:b,readonly:y,highlighted:E,...M}=t;return o({"k-valid":a,"k-invalid":r,"k-hover":s,"k-focus":i,"k-checked":n,"k-active":p,"k-selected":m,"k-disabled":f,"k-indeterminate":A&&!n,"k-loading":v,"k-empty":b,"k-readonly":y,"k-highlighted":E},Object.keys(M).reduce((w,I)=>(I.startsWith("k-")?w[I]=M[I]:w[`k-${I}`]=M[I],w),{}))};function Vc(e,t){if(!t)return{};let a=Array.isArray(t)?t:[t];return Object.fromEntries(a.map(r=>[`k-${r}`,!0]))}var d={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},x={small:"small",medium:"medium",large:"large",full:"full"},N={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},u={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},l={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"},Jt={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};import{Fragment as zM,jsx as Ux}from"react/jsx-runtime";var ru="k-font-icon",HM=[],FM={size:[d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},GM={},Nn=e=>{let{size:t,themeColor:a,icon:r,rotate:s,flip:i,...n}=e;return r?Ux("span",{...n,className:o(e.className,ru,C(ru,{size:t}),{[`k-i-${r}`]:r,[`k-color-${a}`]:a,[`k-rotate-${s}`]:s,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"})}):Ux(zM,{})};Nn.states=HM;Nn.options=FM;Nn.className=ru;Nn.defaultOptions=GM;var jx=Nn;import{Fragment as VM,jsx as Xc}from"react/jsx-runtime";var su="k-svg-icon",WM=[],QM={size:[d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},qx={viewBox:"0 0 24 24"},An=e=>{let{size:t,themeColor:a,rotate:r,flip:s,viewBox:i=qx.viewBox,icon:n,...p}=e;if(!n)return Xc(VM,{});n==="none"&&{...p,className:o(e.className,su,"k-none")};let m=typeof n=="object"&&n.name&&n.name;return Xc("span",{...p,className:o(e.className,su,C("k-icon",{size:t}),{[`k-svg-i-${m}`]:m,[`k-color-${a}`]:a,[`k-rotate-${r}`]:r,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),children:Xc("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof n=="object"?n.viewBox:i,dangerouslySetInnerHTML:typeof n=="object"?{__html:n.content}:void 0,children:n?void 0:e.children})})};An.states=WM;An.options=QM;An.className=su;An.defaultOptions=qx;var iu=An;import*as nu from"@progress/kendo-svg-icons";var _x="icon",$x="icons";import{Fragment as eg,jsx as vn}from"react/jsx-runtime";var Zc="k-icon",XM=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),ZM=[],JM={size:[d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},du={viewBox:"0 0 24 24",type:"svg"},g=e=>{let{size:t,themeColor:a,icon:r,type:s=du.type,rotate:i,flip:n,viewBox:p=du.viewBox,...m}=e;if(!r)return vn(eg,{});if(s==="svg"){if(r==="none")return vn(iu,{...m,className:o(e.className,Zc),icon:r,size:t});let f=nu[r]?r:XM(`${r}-icon`);return nu[f]?vn(iu,{...m,className:o(e.className,Zc),icon:nu[f],size:t,themeColor:a,rotate:i,flip:n,viewBox:p}):vn(eg,{})}return vn(jx,{...m,className:o(e.className,Zc),icon:r,size:t,themeColor:a,rotate:i,flip:n})};g.states=ZM;g.options=JM;g.defaultOptions=du;g.className=Zc;g.moduleName=_x;g.folderName=$x;var cu=g;var pu="button",tg=pu;import{Fragment as _M,jsx as Tn,jsxs as og}from"react/jsx-runtime";var yn="k-button",UM=["icon-button"],jM=[l.hover,l.focus,l.active,l.selected,l.disabled,l.generating],qM={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},ir={size:d.medium,rounded:x.medium,fillMode:N.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},c=e=>{let{size:t=ir.size,rounded:a=ir.rounded,fillMode:r=ir.fillMode,themeColor:s=ir.themeColor,showArrow:i=ir.showArrow,arrowIconName:n=ir.arrowIconName,variant:p,hover:m,focus:f,active:A,selected:v,disabled:b,icon:y,text:E,iconClassName:M,...w}=e,I=y!==void 0,P=e.children!==void 0;return og("button",{...w,className:o(e.className,yn,Vc(yn,p),C(yn,{size:t,rounded:a,fillMode:r,themeColor:s}),h(yn,{hover:m,focus:f,active:A,disabled:b,selected:v}),{"k-icon-button":!E&&!P&&I}),children:[y&&Tn(g,{className:o(M,"k-button-icon"),icon:y}),E?og(_M,{children:[E&&Tn("span",{className:"k-button-text",children:E}),e.children]}):e.children&&Tn("span",{className:"k-button-text",children:e.children}),i&&Tn("span",{className:"k-menu-button-arrow k-button-arrow",children:Tn(g,{icon:n})})]})};c.states=jM;c.options=qM;c.variants=UM;c.className=yn;c.defaultOptions=ir;c.moduleName=pu;c.folderName=tg;import{jsx as $M}from"react/jsx-runtime";var Xe=e=>$M(c,{icon:"folder",...e,children:void 0});import{jsx as ew}from"react/jsx-runtime";var So=e=>ew(c,{icon:"folder",children:"Button",...e});import{jsx as j8}from"react/jsx-runtime";var mu="button",ag=mu;import{jsx as aw}from"react/jsx-runtime";var En="k-button-group",tw=[l.disabled],ow={fillMode:[N.solid,N.flat,N.outline,N.clear,N.link]},lg={fillMode:N.solid},B=e=>{let{fillMode:t=lg.fillMode,disabled:a,stretched:r,...s}=e;return aw("div",{...s,className:o(e.className,En,C(En,{fillMode:t}),h(En,{disabled:a}),{[`${En}-stretched`]:r}),children:e.children})};B.states=tw;B.options=ow;B.className=En;B.defaultOptions=lg;B.moduleName=mu;B.folderName=ag;import{Fragment as mQ,jsx as pQ,jsxs as uQ}from"react/jsx-runtime";import{Fragment as bQ,jsx as gQ,jsxs as NQ}from"react/jsx-runtime";import{Fragment as CQ,jsx as EQ,jsxs as MQ}from"react/jsx-runtime";import{Fragment as PQ,jsx as BQ,jsxs as DQ}from"react/jsx-runtime";var Cn="input",Jc=Cn;import{jsx as sw}from"react/jsx-runtime";var Uc="k-input",lw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],rw={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},jc={size:d.medium,rounded:d.medium,fillMode:N.solid},L=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p,size:m=jc.size,rounded:f=jc.rounded,fillMode:A=jc.fillMode,...v}=e;return sw("span",{...v,className:o(e.className,Uc,C(Uc,{size:m,rounded:f,fillMode:A}),h(Uc,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p}))})};L.states=lw;L.options=rw;L.className=Uc;L.defaultOptions=jc;L.moduleName=Cn;L.folderName=Jc;import{jsx as dw}from"react/jsx-runtime";var qc="k-picker",iw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],nw={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},_c={size:d.medium,rounded:x.medium,fillMode:N.solid},vt=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p,size:m=_c.size,rounded:f=_c.rounded,fillMode:A=_c.fillMode,...v}=e;return dw("span",{...v,className:o(e.className,qc,C(qc,{size:m,rounded:f,fillMode:A}),h(qc,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p})),children:e.children})};vt.states=iw;vt.options=nw;vt.className=qc;vt.defaultOptions=_c;vt.moduleName=Cn;vt.folderName=Jc;import{Fragment as mw,jsx as uu}from"react/jsx-runtime";var rg="k-clear-value",cw=[l.disabled,l.loading,l.readonly],pw={},oe=e=>{let{disabled:t,loading:a,readonly:r,value:s}=e;return t||r||a||!s?uu(mw,{}):uu("span",{className:o(e.className,rg),children:uu(g,{icon:"x"})})};oe.states=cw;oe.options=pw;oe.className=rg;import{jsx as kw}from"react/jsx-runtime";var fu="k-input-inner",uw=[],fw={},$c={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=$c.value,type:a=$c.type,placeholder:r=$c.placeholder,autocomplete:s=$c.autocomplete,...i}=e;return kw("input",{...i,type:a,className:o(e.className,fu,C(fu,e)),placeholder:r,autoComplete:s,defaultValue:t})};ce.states=uw;ce.options=fw;ce.className=fu;import{jsx as sg,jsxs as gw}from"react/jsx-runtime";var ku="k-input-inner",hw=[],xw={},Ia=e=>{let{value:t,placeholder:a,showValue:r,valueIcon:s,valueIconName:i,...n}=e;return gw("span",{...n,className:o(e.className,ku,C(ku,e)),children:[s,!s&&i&&sg(g,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&sg("span",{className:"k-input-value-text",children:t})]})};Ia.states=hw;Ia.options=xw;Ia.className=ku;import{jsx as Aw}from"react/jsx-runtime";var hu="k-input-inner",bw=[],Nw={},ig={value:"",placeholder:""},Mn=e=>{let{value:t=ig.value,placeholder:a=ig.placeholder,rows:r,...s}=e;return Aw("textarea",{...s,className:o(e.className,hu,C(hu,e)),placeholder:a,rows:r,defaultValue:t})};Mn.states=bw;Mn.options=Nw;Mn.className=hu;import{Fragment as Tw,jsx as ng}from"react/jsx-runtime";var dg="k-input-loading-icon",vw=[l.disabled,l.loading],j=e=>{let{disabled:t,loading:a}=e;return t||!a?ng(Tw,{}):ng("span",{className:o(e.className,dg,"k-icon k-i-loading")})};j.states=vw;j.className=dg;import{Fragment as Cw,jsx as cg}from"react/jsx-runtime";var pg="k-input-validation-icon",yw=[l.valid,l.invalid,l.disabled,l.loading],Ew={},J=e=>{let{valid:t,invalid:a,disabled:r,loading:s}=e,i=a?"warning-circle":"check-circle";return r||s||!!!(t||a)?cg(Cw,{}):cg(g,{className:o(pg),icon:i})};J.states=yw;J.options=Ew;J.className=pg;import{Fragment as Lw,jsx as mg}from"react/jsx-runtime";var Mw="k-input-prefix",ww={direction:"horizontal"},$=e=>{let{direction:t=ww.direction,...a}=e;return e.children?mg("span",{...a,className:o(Mw,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):mg(Lw,{})};import{Fragment as Bw,jsx as ug}from"react/jsx-runtime";var Sw="k-input-suffix",Iw={direction:"horizontal"},ee=e=>{let{direction:t=Iw.direction,...a}=e;return e.children?ug("span",{...a,className:o(Sw,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):ug(Bw,{})};import{jsx as CV}from"react/jsx-runtime";import{jsx as SV}from"react/jsx-runtime";import{jsx as Dw}from"react/jsx-runtime";var fg="k-input-separator",Pw={direction:"vertical"},we=e=>{let{direction:t=Pw.direction,...a}=e;return Dw("span",{...a,className:o(fg,e.className,{[`${fg}-${t}`]:t})})};import{jsx as kg,jsxs as Yw}from"react/jsx-runtime";var hg="k-color-preview",Rw=[],Kw={},ol=e=>{let{color:t,iconName:a,...r}=e;return Yw("span",{...r,className:o(e.className,hg,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&kg(g,{icon:a,className:"k-color-preview-icon"}),kg("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};ol.states=Rw;ol.options=Kw;ol.className=hg;var xu="popup",xg=xu;import{jsx as gg}from"react/jsx-runtime";var bg="k-animation-container",Ow=[],Hw={},Ng={positionMode:"absolute"},Uo=e=>{let{positionMode:t=Ng.positionMode,animationStyle:a,offset:r,...s}=e;return gg("div",{...s,style:{...r,...e.style},className:o(e.className,bg,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:gg("div",{className:"k-child-animation-container",style:a,children:e.children})})};Uo.states=Ow;Uo.options=Hw;Uo.className=bg;Uo.defaultOptions=Ng;Uo.moduleName=xu;Uo.folderName=xg;var gu="popup",Ag=gu;import{jsx as vg}from"react/jsx-runtime";var Tg="k-popup",Fw=[],Gw={},yg={positionMode:"absolute"},H=e=>{let{offset:t,positionMode:a=yg.positionMode,animationStyle:r,...s}=e;return vg(Uo,{positionMode:a,offset:t,animationStyle:r,children:vg("div",{...s,className:o(e.className,Tg),children:e.children})})};H.states=Fw;H.options=Gw;H.className=Tg;H.defaultOptions=yg;H.moduleName=gu;H.folderName=Ag;var bu="action-buttons",Eg=bu;import{jsx as Qw}from"react/jsx-runtime";var ep="k-actions",zw=[],Ww={},Nu={alignment:"start",orientation:"horizontal"},Q=e=>{let{alignment:t=Nu.alignment,orientation:a=Nu.orientation,...r}=e;return Qw("div",{...r,className:o(ep,{[`${ep}-${t}`]:t,[`${ep}-${a}`]:a},e.className),children:e.children})};Q.states=zw;Q.options=Ww;Q.className=ep;Q.defaultOptions=Nu;Q.moduleName=bu;Q.folderName=Eg;var Cg=Q;import{jsx as Xw}from"react/jsx-runtime";var Vw="k-actionsheet-footer",Mg={alignment:"stretched",orientation:"horizontal"},Io=e=>{let{alignment:t=Mg.alignment,orientation:a=Mg.orientation,template:r,as:s=r?"div":Q,...i}=e;return Xw(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,Vw),children:e.children})};var Au="searchbox",wg=Au;import{jsx as wn,jsxs as Uw}from"react/jsx-runtime";var Lg="k-searchbox",Zw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],Jw={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},vu={showIcon:!0,icon:"search",size:L.defaultOptions.size,rounded:L.defaultOptions.rounded,fillMode:L.defaultOptions.fillMode},Ze=e=>{let{value:t,placeholder:a,size:r,rounded:s,fillMode:i,hover:n,focus:p,valid:m,invalid:f,required:A,loading:v,disabled:b,showIcon:y=vu.showIcon,icon:E=vu.icon,...M}=e;return Uw(L,{...M,size:r,rounded:s,fillMode:i,hover:n,focus:p,valid:m,invalid:f,required:A,loading:v,disabled:b,className:o(e.className,Lg),children:[y&&wn(g,{className:"k-input-icon",icon:E}),wn(ce,{placeholder:a,value:t}),wn(j,{...e}),wn(J,{...e}),wn(oe,{...e})]})};Ze.states=Zw;Ze.options=Jw;Ze.className=Lg;Ze.defaultOptions=vu;Ze.moduleName=Au;Ze.folderName=wg;import{jsx as Y6}from"react/jsx-runtime";var Tu="textbox",Sg=Tu;import{Fragment as Ig,jsx as al,jsxs as yu}from"react/jsx-runtime";var Bg="k-textbox",jw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],qw={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},nr={showClearButton:!0,showValidationIcon:!0,size:L.defaultOptions.size,rounded:L.defaultOptions.rounded,fillMode:L.defaultOptions.fillMode,separators:!0},U=e=>{let{size:t=nr.size,rounded:a=nr.rounded,fillMode:r=nr.fillMode,separators:s=nr.separators,showClearButton:i=nr.showClearButton,showValidationIcon:n=nr.showValidationIcon,prefix:p,suffix:m,type:f,value:A,placeholder:v,hover:b,focus:y,valid:E,invalid:M,required:w,loading:I,disabled:P,readonly:O,...W}=e;return yu(L,{...W,size:t,rounded:a,fillMode:r,hover:b,focus:y,valid:E,invalid:M,required:w,loading:I,disabled:P,readonly:O,className:o(e.className,Bg),children:[p&&yu(Ig,{children:[al($,{children:p}),s&&al(we,{})]}),al(ce,{placeholder:v,value:A,type:f}),n&&al(J,{valid:E,invalid:M,loading:I,disabled:P}),al(j,{loading:I,disabled:P}),i&&al(oe,{loading:I,disabled:P,readonly:O,value:A}),m&&yu(Ig,{children:[s&&al(we,{}),al(ee,{children:m})]})]})};U.states=jw;U.options=qw;U.className=Bg;U.defaultOptions=nr;U.moduleName=Tu;U.folderName=Sg;import{jsx as j6}from"react/jsx-runtime";import{Fragment as o3,jsx as t3}from"react/jsx-runtime";import{Fragment as n3,jsx as i3}from"react/jsx-runtime";import{jsx as ll,jsxs as Eu}from"react/jsx-runtime";var Rg="k-actionsheet-titlebar",_w={},se=e=>{let{title:t,subtitle:a,actionsStart:r,actionsEnd:s,filter:i,input:n,inputValue:p,inputPlaceholder:m,adaptive:f,children:A,...v}=e;return Eu("div",{...v,className:o(e.className,Rg),children:[Eu("div",{className:"k-actionsheet-titlebar-group",children:[r&&ll("div",{className:"k-actionsheet-actions",children:r}),!A&&Eu("div",{className:"k-actionsheet-title",children:[t&&ll("div",{className:"k-text-center",children:t}),a&&ll("div",{className:"k-actionsheet-subtitle k-text-center",children:a})]}),A&&ll("div",{className:"k-actionsheet-title",children:A}),s&&ll("div",{className:"k-actionsheet-actions",children:s})]}),(n||i)&&ll("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:n?ll(U,{value:p,placeholder:m,size:f?"large":"medium"}):ll(Ze,{placeholder:"Filter",size:f?"large":"medium"})})]})};se.className=Rg;se.defaultOptions=_w;import{jsx as Cu,jsxs as oL}from"react/jsx-runtime";var Mu="k-actionsheet-view",$w=[],eL={},tL={},us=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...n}=e,p=s?.type===se&&Cu(se,{adaptive:t,...s?.props}),m=i?.type===Io&&Cu(Io,{...i?.props});return oL("div",{...n,className:o(e.className,Mu,{[`${Mu}-animated`]:a}),children:[p,Cu("div",{className:"k-actionsheet-content",children:r}),m]})};us.states=$w;us.options=eL;us.className=Mu;us.defaultOptions=tL;var Ln="action-sheet",tp=Ln;import{jsx as op,jsxs as rL}from"react/jsx-runtime";var Kg="k-actionsheet",aL=[],lL={},Sn={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ae=e=>{let{side:t=Sn.side,fullscreen:a=Sn.fullscreen,adaptive:r=Sn.adaptive,overlay:s=Sn.overlay,template:i,children:n,header:p,footer:m,...f}=e;return rL("div",{className:"k-actionsheet-container",children:[s&&op("div",{className:"k-overlay"}),op(Uo,{animationStyle:{[`${a===!0?"top":t}`]:0,[`${a===!0?"width":null}`]:"100%",[`${a===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:op("div",{...f,className:o(e.className,Kg,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||op(us,{header:p,footer:m,adaptive:r,...e,children:n})})})]})};ae.states=aL;ae.options=lL;ae.className=Kg;ae.defaultOptions=Sn;ae.moduleName=Ln;ae.folderName=tp;import{jsx as dL}from"react/jsx-runtime";var Yg="k-actionsheet-container",sL=[],iL={},nL={},fs=e=>{let{children:t,...a}=e;return dL("div",{...a,className:Yg,children:t})};fs.states=sL;fs.options=iL;fs.className=Yg;fs.defaultOptions=nL;fs.moduleName=Ln;fs.folderName=tp;import{jsx as Y3}from"react/jsx-runtime";import{Fragment as pL,jsx as In,jsxs as wu}from"react/jsx-runtime";var Lu="k-actionsheet-item",cL=[l.hover,l.focus,l.selected,l.disabled],Su=e=>{let{iconName:t,text:a,description:r,hover:s,focus:i,selected:n,disabled:p,...m}=e;return wu("span",{...m,className:o(e.className,Lu,h(Lu,{hover:s,focus:i,selected:n,disabled:p})),children:[!e.children&&In(pL,{children:wu("span",{className:"k-actionsheet-action",children:[t&&In("span",{className:"k-icon-wrap",children:In(g,{className:"k-actionsheet-item-icon",icon:t})}),wu("span",{className:"k-actionsheet-item-text",children:[a&&In("span",{className:"k-actionsheet-item-title",children:a}),r&&In("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};Su.states=cL;Su.className=Lu;import{jsx as X3,jsxs as Z3}from"react/jsx-runtime";import{jsx as q3}from"react/jsx-runtime";import{jsx as tX}from"react/jsx-runtime";import{jsx as rX}from"react/jsx-runtime";var Iu="slider",Hg=Iu;import{jsx as ks,jsxs as Bu}from"react/jsx-runtime";var Bn="k-slider",mL=[l.hover,l.focus,l.active,l.disabled,l.readonly],uL={},rl={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},Tt=e=>{let{type:t=rl.type,orientation:a=rl.orientation,readonly:r=rl.readonly,disabled:s=rl.disabled,handlePosition:i=rl.handlePosition,showButtons:n=rl.showButtons,showTicks:p=rl.showTicks,hover:m,focus:f,active:A,trackStyle:v,dir:b,...y}=e,E,M;return a==="horizontal"?(E=b==="rtl"?"caret-alt-left":"caret-alt-right",M=b==="rtl"?"caret-alt-right":"caret-alt-left"):a==="vertical"&&(E="caret-alt-up",M="caret-alt-down"),Bu("div",{...y,className:o(Bn,e.className,h(Bn,{readonly:r,disabled:s}),{[`k-slider-${a}`]:a,"k-colorgradient-slider":t==="gradient"}),dir:b,children:[n&&ks(c,{className:"k-button-decrease",rounded:"full",icon:M}),Bu("div",{className:"k-slider-track-wrap",children:[p&&ks("ul",{className:"k-reset k-slider-items",children:e.children}),Bu("div",{className:"k-slider-track",style:v,children:[ks("div",{className:"k-slider-selection"}),t==="range"&&ks("span",{className:o("k-draghandle","k-draghandle-start",h(Bn,{hover:m,focus:f,active:A}))}),ks("span",{className:o("k-draghandle",`k-draghandle-${i}`,h(Bn,{hover:m,focus:f,active:A}))})]})]}),n&&ks(c,{className:"k-button-increase",rounded:"full",icon:E})]})};Tt.states=mL;Tt.options=uL;Tt.className=Bn;Tt.defaultOptions=rl;Tt.moduleName=Iu;Tt.folderName=Hg;import{jsx as Fg}from"react/jsx-runtime";var Gg="k-tick",fL=[],kL={},zg={label:!1},et=e=>{let{style:t,label:a=zg.label,orientation:r,large:s,text:i,...n}=e;return Fg("li",{...n,className:o(e.className,Gg,{[`k-tick-${r}`]:r,"k-tick-large":s}),style:t,children:a&&Fg("span",{className:"k-label",children:i})})};et.states=fL;et.options=kL;et.className=Gg;et.defaultOptions=zg;import{Fragment as hL,jsx as po,jsxs as xL}from"react/jsx-runtime";var ap=e=>po(Tt,{children:xL(hL,{children:[po(et,{className:"k-first",label:!0,large:!0,text:"0"}),po(et,{}),po(et,{}),po(et,{}),po(et,{}),po(et,{label:!0,large:!0,text:"5"}),po(et,{}),po(et,{}),po(et,{}),po(et,{}),po(et,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as DX,jsx as PX,jsxs as RX}from"react/jsx-runtime";import{Fragment as FX,jsx as HX,jsxs as GX}from"react/jsx-runtime";import{Fragment as XX,jsx as VX,jsxs as ZX}from"react/jsx-runtime";import{jsx as gL}from"react/jsx-runtime";var Pu=e=>gL(Tt,{type:"gradient",showButtons:!1,showTicks:!1,...e});import{jsx as bL}from"react/jsx-runtime";var Du=e=>bL(Tt,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});import{jsx as Wg,jsxs as yL}from"react/jsx-runtime";var Qg="k-spin-button",vL=[],TL={size:[d.small,d.medium,d.large],fillMode:[N.solid,N.flat,N.outline,N.clear,N.link]},Ru={size:d.medium,fillMode:N.solid},jo=e=>{let{size:t=Ru.size,fillMode:a=Ru.fillMode,...r}=e;return yL("span",{...r,className:o(Qg,e.className),children:[Wg(c,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:a}),Wg(c,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:a})]})};jo.states=vL;jo.options=TL;jo.className=Qg;jo.defaultOptions=Ru;jo.moduleName=null;jo.folderName=null;var Vg="numeric-textbox",Xg="numerictextbox";import{Fragment as Zg,jsx as Ba,jsxs as Ku}from"react/jsx-runtime";var Jg="k-numerictextbox",EL=[l.hover,l.focus,l.valid,l.invalid,l.loading,l.required,l.disabled,l.readonly],CL={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},dr={showSpinButton:!0,showClearButton:!0,size:L.defaultOptions.size,rounded:L.defaultOptions.rounded,fillMode:L.defaultOptions.fillMode,separators:!0},pe=e=>{let{size:t=dr.size,rounded:a=dr.rounded,fillMode:r=dr.fillMode,separators:s=dr.separators,showClearButton:i=dr.showClearButton,showSpinButton:n=dr.showSpinButton,prefix:p,suffix:m,value:f,placeholder:A,hover:v,focus:b,valid:y,invalid:E,required:M,loading:w,disabled:I,readonly:P,...O}=e;return Ku(L,{...O,size:t,rounded:a,fillMode:r,hover:v,focus:b,valid:y,invalid:E,required:M,loading:w,disabled:I,readonly:P,className:o(e.className,Jg),children:[p&&Ku(Zg,{children:[Ba($,{children:p}),s&&Ba(we,{})]}),Ba(ce,{placeholder:A,value:f}),Ba(J,{valid:y,invalid:E,loading:w,disabled:I}),Ba(j,{loading:w,disabled:I}),i&&Ba(oe,{loading:w,disabled:I,readonly:P,value:f}),m&&Ku(Zg,{children:[s&&Ba(we,{}),Ba(ee,{children:m})]}),n&&Ba(jo,{className:"k-input-spinner",size:t,fillMode:r})]})};pe.states=EL;pe.options=CL;pe.className=Jg;pe.defaultOptions=dr;pe.moduleName=Vg;pe.folderName=Xg;import{jsx as MZ}from"react/jsx-runtime";import{jsx as wL}from"react/jsx-runtime";var ML="k-no-data",Pn=e=>wL("span",{className:o(ML,e.className),children:e.children});var Pa="list",sl=Pa;import{jsx as hs,jsxs as jg}from"react/jsx-runtime";var Yu="k-list",LL=[],SL={size:[d.small,d.medium,d.large]},qg={size:d.medium},z=e=>{let{size:t=qg.size,virtualization:a,children:r,optionLabel:s,customValue:i,screenReaders:n,...p}=e,m,f,A,v,b=[];return r?r.map((y,E)=>{y.type===Le?(y.props.root===!0?(m=y.props.label,y.props.children.map((M,w)=>{b.push(hs(D,{...M.props},`optChild-${w}-${new Date().getTime()}`))})):y.props.children.forEach((M,w)=>{let I="";w===0&&(I=y.props.label),b.push(hs(D,{className:w===0?"k-first":"",...M.props,groupLabel:I},`groupLabel-${w}-${new Date().getTime()}`))}),f=hs(Le,{label:m,virtualization:a,children:b})):y.type===D&&(b.push(hs(D,{...y.props},`${y.type}-${E}`)),A=hs(xs,{virtualization:a,children:b}),n&&(v=jg(Pn,{className:"k-sr-only",children:[b.length," items found."]})))}):v=hs(Pn,{children:"No data found."}),jg("div",{...p,className:o(e.className,Yu,C(Yu,{size:t}),{"k-virtual-list":a}),children:[s,i,f,A,v]})};z.states=LL;z.options=SL;z.className=Yu;z.defaultOptions=qg;z.moduleName=Pa;z.folderName=sl;import{jsx as DL}from"react/jsx-runtime";var _g="k-list-container",IL=[],BL={},PL={},gs=e=>{let{...t}=e;return DL("div",{...t,className:o(e.className,_g),children:e.children})};gs.states=IL;gs.options=BL;gs.className=_g;gs.defaultOptions=PL;gs.moduleName=Pa;gs.folderName=sl;import{jsx as cr,jsxs as YL}from"react/jsx-runtime";var Ou="k-list",RL=[],KL={size:[d.small,d.medium,d.large]},$g={size:d.medium},Da=e=>{let{size:t=$g.size,virtualization:a,children:r,...s}=e,i,n,p,m=[];return r?r.map((f,A)=>{f.type===Le?(f.props.root===!0?(i=f.props.label,f.props.children.map((v,b)=>{m.push(cr(D,{...v.props},`optChild-${b}-${new Date().getTime()}`))})):(m.push(cr(eb,{...f.props,children:f.props.label},`listChild-${A}`)),f.props.children.map((v,b)=>{m.push(cr(D,{...v.props},`fwOptChild-${b}-${new Date().getTime()}`))})),n=cr(Le,{label:i,virtualization:a,children:m})):f.type===D&&(m.push(cr(D,{...f.props},`${f.type}-${A}`)),p=cr(xs,{virtualization:a,children:m}))}):p=cr(Pn,{children:"No data found."}),YL("div",{...s,className:o(e.className,Ou,C(Ou,{size:t}),{"k-virtual-list":a}),children:[n,p]})};Da.states=RL;Da.options=KL;Da.className=Ou;Da.defaultOptions=$g;Da.moduleName=Pa;Da.folderName=sl;var pr="checkbox",bs=pr;import{jsx as tb}from"react/jsx-runtime";var lp="k-checkbox",OL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],HL={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full]},Hu={size:d.medium,rounded:x.medium},tt=e=>{let{id:t,checked:a,indeterminate:r,hover:s,focus:i,disabled:n,invalid:p,valid:m,required:f,size:A=Hu.size,rounded:v=Hu.rounded,...b}=e;return tb("span",{className:"k-checkbox-wrap",children:tb("input",{...b,id:t,type:"checkbox",defaultChecked:a,required:f,className:o(e.className,lp,C(lp,{size:A,rounded:v}),h(lp,{hover:s,focus:i,disabled:n,invalid:p,valid:m,indeterminate:r,checked:a}))})})};tt.states=OL;tt.options=HL;tt.className=lp;tt.defaultOptions=Hu;tt.moduleName=pr;tt.folderName=bs;import{jsx as zL}from"react/jsx-runtime";var ob="k-checkbox-list",FL=[],GL={},ab={layout:"vertical"},il=e=>{let{layout:t=ab.layout,...a}=e;return zL("ul",{...a,className:o(e.className,ob,{[`k-list-${t}`]:t}),children:e.children})};il.states=FL;il.options=GL;il.className=ob;il.defaultOptions=ab;il.moduleName=pr;il.folderName=bs;import{jsx as XL}from"react/jsx-runtime";var lb="k-checkbox-list-item",WL=[],QL={},VL={},nl=e=>{let{...t}=e;return XL("li",{...t,className:o(e.className,lb),children:e.children})};nl.states=WL;nl.options=QL;nl.className=lb;nl.defaultOptions=VL;nl.moduleName=pr;nl.folderName=bs;import{Fragment as uJ,jsx as mJ,jsxs as fJ}from"react/jsx-runtime";import{Fragment as bJ,jsx as gJ,jsxs as NJ}from"react/jsx-runtime";import{Fragment as EJ,jsx as yJ,jsxs as CJ}from"react/jsx-runtime";import{Fragment as IJ,jsx as SJ,jsxs as BJ}from"react/jsx-runtime";import{jsx as KJ}from"react/jsx-runtime";import{jsx as FJ}from"react/jsx-runtime";import{jsx as rp,jsxs as jL}from"react/jsx-runtime";var Gu="k-list-item",ZL=[l.hover,l.focus,l.selected,l.disabled],JL={},UL={},D=e=>{let{text:t,groupLabel:a,group:r,showIcon:s,iconName:i,showCheckbox:n,checked:p,hover:m,focus:f,selected:A,disabled:v,...b}=e,y=t||e.children;return jL("li",{...b,className:o(e.className,r?"k-list-group-item":Gu,h(Gu,{hover:m,focus:f,disabled:v,selected:A})),children:[n&&rp(tt,{checked:p}),s&&rp(g,{icon:i}),rp("span",{className:"k-list-item-text",children:y}),a&&a!==""&&rp("div",{className:"k-list-item-group-label",children:a})]})};D.states=ZL;D.options=JL;D.className=Gu;D.defaultOptions=UL;D.moduleName=Pa;D.folderName=sl;import{jsx as zu,jsxs as _L}from"react/jsx-runtime";var qL="k-list-content",xs=e=>{let{virtualization:t,...a}=e;return _L("div",{...a,className:o(qL,e.className),children:[zu("ul",{className:o("k-list-ul"),children:e.children}),t&&zu("div",{className:"k-height-container",children:zu("div",{})})]})};import{jsx as rb}from"react/jsx-runtime";var $L="k-list-group-sticky-header",sb=e=>rb("div",{className:o($L,e.className),children:rb("div",{className:"k-list-header-text",children:e.children})});import{Fragment as eS,jsx as ib,jsxs as tS}from"react/jsx-runtime";var Le=e=>{let{virtualization:t,label:a}=e;return tS(eS,{children:[a&&ib(sb,{children:a}),e.children&&ib(xs,{virtualization:t,children:e.children})]})};import{jsx as nb}from"react/jsx-runtime";var oS="k-list-group-item",eb=e=>nb("li",{className:o(oS,e.className),children:nb("span",{className:"k-list-item-text",children:e.children})});import{jsx as sS}from"react/jsx-runtime";var Wu="k-list-optionlabel",aS=[l.hover,l.focus,l.selected,l.disabled],lS={},rS={},sp=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...n}=e;return sS("div",{...n,className:o(Wu,h(Wu,{hover:a,focus:r,selected:s,disabled:i})),children:t})};sp.states=aS;sp.options=lS;sp.className=Wu;sp.defaultOptions=rS;import{jsx as cS}from"react/jsx-runtime";var Qu="k-list-custom-value",iS=[l.hover,l.focus,l.selected,l.disabled],nS={},dS={},ct=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...n}=e;return cS("div",{...n,className:o(Qu,h(Qu,{hover:a,focus:r,selected:s,disabled:i})),children:t})};ct.states=iS;ct.options=nS;ct.className=Qu;ct.defaultOptions=dS;import{jsx as yU}from"react/jsx-runtime";import{jsx as wU}from"react/jsx-runtime";import{jsx as BU,jsxs as PU}from"react/jsx-runtime";import{jsx as YU,jsxs as OU}from"react/jsx-runtime";import{jsx as zU}from"react/jsx-runtime";import{jsx as XU,jsxs as ZU}from"react/jsx-runtime";import{jsx as qU,jsxs as _U}from"react/jsx-runtime";var db="dropdown-list",cb="dropdownlist";import{Fragment as uS,jsx as Pt,jsxs as Vu}from"react/jsx-runtime";var pb="k-dropdownlist",pS=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],mS={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},Ns={showValue:!0,arrowIconName:"caret-alt-down",size:d.medium,rounded:x.medium,fillMode:N.solid},te=e=>{let{size:t=Ns.size,rounded:a=Ns.rounded,fillMode:r=Ns.fillMode,arrowIconName:s=Ns.arrowIconName,showValue:i=Ns.showValue,valueIconName:n,prefix:p,suffix:m,value:f,placeholder:A,hover:v,focus:b,valid:y,invalid:E,required:M,loading:w,disabled:I,readonly:P,popup:O,opened:W,adaptive:Me,adaptiveSettings:$e,adaptiveTitle:At,adaptiveSubtitle:Lo,adaptiveFilter:sr,...ms}=e;return Vu(uS,{children:[Vu(vt,{...ms,size:t,rounded:a,fillMode:r,hover:v,focus:b,valid:y,invalid:E,required:M,loading:w,disabled:I,readonly:P,className:o(e.className,pb,{"k-icon-picker":!i&&n}),children:[Pt($,{children:p}),Pt(Ia,{placeholder:A,value:f,showValue:i,valueIconName:n}),Pt(J,{valid:y,invalid:E,loading:w,disabled:I}),Pt(j,{loading:w,disabled:I}),Pt(ee,{children:m}),Pt(c,{className:"k-input-button",icon:s,rounded:null,size:e.size,fillMode:e.fillMode})]}),W&&O&&Pt(H,{className:"k-list-container k-dropdownlist-popup",children:O}),Me&&Pt(ae,{adaptive:!0,...$e,header:Pt(se,{actionsEnd:Pt(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:sr,inputValue:f,inputPlaceholder:A,title:At,subtitle:Lo}),children:Pt("div",{className:"k-list-container",children:Vu(z,{size:"large",children:[Pt(D,{text:"List item"}),Pt(D,{text:"List item"}),Pt(D,{text:"List item"})]})})})]})};te.states=pS;te.options=mS;te.className=pb;te.defaultOptions=Ns;te.moduleName=db;te.folderName=cb;import{jsx as I5}from"react/jsx-runtime";import{jsx as K5,jsxs as Y5}from"react/jsx-runtime";import{Fragment as V5,jsx as W5,jsxs as Q5}from"react/jsx-runtime";import{jsx as U5}from"react/jsx-runtime";import{jsx as e9,jsxs as t9}from"react/jsx-runtime";import{jsx as s9,jsxs as i9}from"react/jsx-runtime";import{Fragment as k9,jsx as u9,jsxs as f9}from"react/jsx-runtime";import{Fragment as T9,jsx as A9,jsxs as v9}from"react/jsx-runtime";import{Fragment as H9,jsx as O9}from"react/jsx-runtime";import{Fragment as X9,jsx as V9}from"react/jsx-runtime";import{Fragment as Dn,jsx as q,jsxs as Je}from"react/jsx-runtime";var mb="k-colorgradient-inputs",fS=[],kS={size:[d.small,d.medium,d.large]},ub={mode:"rgba",size:d.medium},As=e=>{let{mode:t=ub.mode,size:a,...r}=e;return Je("div",{...r,className:o(mb,"k-hstack"),children:[q("div",{className:"k-vstack",children:q(c,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:a})}),t==="rgba"&&Je(Dn,{children:[Je("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132",size:a}),q("label",{className:"k-colorgradient-input-label",children:"R"})]}),Je("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132",size:a}),q("label",{className:"k-colorgradient-input-label",children:"G"})]}),Je("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132",size:a}),q("label",{className:"k-colorgradient-input-label",children:"B"})]}),Je("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:a}),q("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&Je(Dn,{children:[Je("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"R"})]}),Je("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"G"})]}),Je("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&Je(Dn,{children:[Je("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"H"})]}),Je("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"S"})]}),Je("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"V"})]}),Je("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),q("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&Je(Dn,{children:[Je("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"H"})]}),Je("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"S"})]}),Je("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&q(Dn,{children:Je("div",{className:"k-vstack k-flex-1",children:[q(U,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),q("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};As.states=fS;As.options=kS;As.className=mb;As.defaultOptions=ub;import{jsx as ur,jsxs as fr}from"react/jsx-runtime";var fb="k-colorgradient-color-contrast",hS=[],xS={},gS={},vs=()=>fr("div",{className:o(fb,"k-vbox"),children:[fr("div",{className:"k-contrast-ratio",children:[ur("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),fr("span",{className:"k-contrast-validation !k-text-success",children:[ur(g,{icon:"check"}),ur(g,{icon:"check"})]})]}),fr("div",{children:[ur("span",{children:"AA: 4.5"}),fr("span",{className:"k-contrast-validation !k-text-success",children:["Pass",ur(g,{icon:"check"})]})]}),fr("div",{children:[ur("span",{children:"AAA: 7.0"}),fr("span",{className:"k-contrast-validation !k-text-error",children:["Fail",ur(g,{icon:"x"})]})]})]});vs.states=hS;vs.options=xS;vs.className=fb;vs.defaultOptions=gS;var kb="color-gradient",hb="colorgradient";import{jsx as mo,jsxs as Rn}from"react/jsx-runtime";var ip="k-colorgradient",bS=[l.hover,l.focus,l.readonly,l.disabled],NS={size:[d.small,d.medium,d.large]},Bo={size:d.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"},qo=e=>{let{size:t=Bo.size,mode:a=Bo.mode,readonly:r=Bo.readonly,disabled:s=Bo.disabled,gradientStyle:i=Bo.gradientStyle,dragHandleStyle:n=Bo.dragHandleStyle,alphaStyle:p=Bo.alphaStyle,alphaStyleHorizontal:m=Bo.alphaStyleHorizontal,contrast:f=Bo.contrast,dir:A,hover:v,focus:b,hoverHandle:y,focusHandle:E,canvasOrientation:M=Bo.canvasOrientation,...w}=e;return Rn("div",{...w,className:o(e.className,ip,C(ip,{size:t}),h(ip,{hover:v,focus:b,readonly:r,disabled:s})),dir:A,children:[!M||M==="horizontal"&&Rn("div",{className:"k-colorgradient-canvas k-hstack",children:[mo("div",{className:"k-hsv-rectangle",style:i,children:mo("div",{className:"k-hsv-gradient",children:mo("div",{className:o("k-hsv-draghandle","k-draghandle",{"k-hover":y,"k-focus":E}),style:n})})}),Rn("div",{className:"k-hsv-controls k-hstack",children:[mo(Du,{className:"k-hue-slider",hover:y,focus:E}),a!=="rgb"&&a!=="hsv"&&mo(Du,{className:"k-alpha-slider",hover:y,focus:E,trackStyle:p})]})]}),M==="vertical"&&Rn("div",{className:"k-colorgradient-canvas k-vstack",children:[mo("div",{className:"k-hsv-rectangle",style:i,children:mo("div",{className:"k-hsv-gradient",children:mo("div",{className:o("k-hsv-draghandle","k-draghandle",{"k-hover":y,"k-focus":E}),style:n})})}),Rn("div",{className:"k-hsv-controls k-vstack",children:[mo(Pu,{className:"k-hue-slider",hover:y,focus:E}),a!=="rgb"&&a!=="hsv"&&mo(Pu,{className:"k-alpha-slider",hover:y,focus:E,trackStyle:m})]})]}),mo(As,{mode:e.mode,size:t}),f&&mo(vs,{})]})};qo.states=bS;qo.options=NS;qo.className=ip;qo.defaultOptions=Bo;qo.moduleName=kb;qo.folderName=hb;import{jsx as bj}from"react/jsx-runtime";import{jsx as Tj}from"react/jsx-runtime";import{jsx as AS}from"react/jsx-runtime";var xb=e=>AS("tr",{children:e.children});import{jsx as yS}from"react/jsx-runtime";var Xu="k-colorpalette-tile",vS=[l.hover,l.focus,l.selected],TS={},Kn=e=>{let{color:t,tileSize:a,hover:r,focus:s,selected:i,...n}=e,p={backgroundColor:t,width:a?a+"px":"",height:a?a+"px":""};return yS("td",{...n,className:o(e.className,Xu,h(Xu,{hover:r,focus:s,selected:i})),style:p})};Kn.states=vS;Kn.options=TS;Kn.className=Xu;var gb="color-palette",bb="colorpalette";import{jsx as Yn}from"react/jsx-runtime";var np="k-colorpalette",ES=[l.disabled],CS={size:[d.small,d.medium,d.large]},Zu={columns:10,size:d.medium},dl=e=>{let{size:t=Zu.size,palette:a,columns:r=Zu.columns,tileSize:s,disabled:i,...n}=e,p=[];if(a){let m=r||a.columns,f=a.colors?a.colors:a;Array.isArray(f)&&Array.from({length:Math.ceil(f.length/m)},(A,v)=>{let b=[];f.slice(v*m,(v+1)*m).map((E,M)=>{b.push(Yn(Kn,{color:E,tileSize:s},M))});let y=Yn(xb,{children:b},v);p.push(y)})}return Yn("div",{...n,className:o(e.className,np,h(np,{disabled:i}),C(np,{size:t})),children:Yn("table",{className:"k-colorpalette-table",children:Yn("tbody",{children:p.length>0?p:e.children})})})};dl.states=ES;dl.options=CS;dl.className=np;dl.defaultOptions=Zu;dl.moduleName=gb;dl.folderName=bb;var Ju={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}};import{jsx as Jj}from"react/jsx-runtime";var Nb="color-editor",Ab="coloreditor";import{jsx as uo,jsxs as Ts}from"react/jsx-runtime";var dp="k-coloreditor",MS=[l.focus],wS={size:[d.small,d.medium,d.large]},ys={size:d.medium,view:"gradient",palette:Ju.office,actionButtons:!0,canvasOrientation:"horizontal"},fo=e=>{let{size:t=ys.size,view:a=ys.view,palette:r=ys.palette,color:s,currentColor:i,focus:n,focusView:p,dir:m,group:f,actionButtons:A=ys.actionButtons,canvasOrientation:v=ys.canvasOrientation,...b}=e;return Ts("div",{...b,className:o(e.className,"k-flatcolorpicker",dp,C(dp,{size:t}),h(dp,{focus:n})),dir:m,children:[Ts("div",{className:"k-coloreditor-header k-hstack",children:[uo("div",{className:"k-coloreditor-header-actions k-hstack",children:f&&Ts(B,{fillMode:"flat",children:[uo(c,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:a==="gradient"}),uo(c,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:a==="palette"})]})}),uo("div",{className:"k-spacer"}),Ts("div",{className:"k-coloreditor-header-actions k-hstack",children:[uo(c,{fillMode:"flat",icon:"droplet-slash",size:t}),Ts("div",{className:"k-coloreditor-preview k-vstack",children:[uo(ol,{className:"k-coloreditor-preview-color",color:s}),uo(ol,{className:"k-coloreditor-current-color",color:i})]})]})]}),uo("div",{className:"k-coloreditor-views k-vstack",children:a==="gradient"?uo(qo,{focus:p,size:t,canvasOrientation:v}):uo(dl,{palette:r,size:t})}),A&&Ts(Q,{className:"k-coloreditor-footer",alignment:"start",children:[uo(c,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),uo(c,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};fo.states=MS;fo.options=wS;fo.className=dp;fo.defaultOptions=ys;fo.moduleName=Nb;fo.folderName=Ab;import{jsx as k7}from"react/jsx-runtime";import{jsx as b7}from"react/jsx-runtime";import{jsx as T7}from"react/jsx-runtime";import{jsx as M7}from"react/jsx-runtime";var vb="color-picker",Tb="colorpicker";import{Fragment as IS,jsx as ko,jsxs as ju}from"react/jsx-runtime";var yb="k-colorpicker",LS=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled],SS={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},On={arrowIconName:"caret-alt-down",size:vt.defaultOptions.size,rounded:vt.defaultOptions.rounded,fillMode: