UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 319 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 Wc(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"},Qt={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};import{Fragment as FM,jsx as Zx}from"react/jsx-runtime";var au="k-font-icon",YM=[],OM={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]},HM={},hn=e=>{let{size:t,themeColor:a,icon:r,rotate:s,flip:i,...n}=e;return r?Zx("span",{...n,className:o(e.className,au,C(au,{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"})}):Zx(FM,{})};hn.states=YM;hn.options=OM;hn.className=au;hn.defaultOptions=HM;var Jx=hn;import{Fragment as WM,jsx as Qc}from"react/jsx-runtime";var lu="k-svg-icon",GM=[],zM={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]},Ux={viewBox:"0 0 24 24"},xn=e=>{let{size:t,themeColor:a,rotate:r,flip:s,viewBox:i=Ux.viewBox,icon:n,...p}=e;if(!n)return Qc(WM,{});n==="none"&&{...p,className:o(e.className,lu,"k-none")};let m=typeof n=="object"&&n.name&&n.name;return Qc("span",{...p,className:o(e.className,lu,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:Qc("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})})};xn.states=GM;xn.options=zM;xn.className=lu;xn.defaultOptions=Ux;var ru=xn;import*as su from"@progress/kendo-svg-icons";var jx="icon",qx="icons";import{Fragment as _x,jsx as gn}from"react/jsx-runtime";var Vc="k-icon",QM=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),VM=[],XM={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]},iu={viewBox:"0 0 24 24",type:"svg"},g=e=>{let{size:t,themeColor:a,icon:r,type:s=iu.type,rotate:i,flip:n,viewBox:p=iu.viewBox,...m}=e;if(!r)return gn(_x,{});if(s==="svg"){if(r==="none")return gn(ru,{...m,className:o(e.className,Vc),icon:r,size:t});let f=su[r]?r:QM(`${r}-icon`);return su[f]?gn(ru,{...m,className:o(e.className,Vc),icon:su[f],size:t,themeColor:a,rotate:i,flip:n,viewBox:p}):gn(_x,{})}return gn(Jx,{...m,className:o(e.className,Vc),icon:r,size:t,themeColor:a,rotate:i,flip:n})};g.states=VM;g.options=XM;g.defaultOptions=iu;g.className=Vc;g.moduleName=jx;g.folderName=qx;var nu=g;var du="button",$x=du;import{Fragment as jM,jsx as bn,jsxs as eg}from"react/jsx-runtime";var Nn="k-button",ZM=["icon-button"],JM=[l.hover,l.focus,l.active,l.selected,l.disabled,l.generating],UM={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]},ar={size:d.medium,rounded:x.medium,fillMode:N.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},c=e=>{let{size:t=ar.size,rounded:a=ar.rounded,fillMode:r=ar.fillMode,themeColor:s=ar.themeColor,showArrow:i=ar.showArrow,arrowIconName:n=ar.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 eg("button",{...w,className:o(e.className,Nn,Wc(Nn,p),C(Nn,{size:t,rounded:a,fillMode:r,themeColor:s}),h(Nn,{hover:m,focus:f,active:A,disabled:b,selected:v}),{"k-icon-button":!E&&!P&&I}),children:[y&&bn(g,{className:o(M,"k-button-icon"),icon:y}),E?eg(jM,{children:[E&&bn("span",{className:"k-button-text",children:E}),e.children]}):e.children&&bn("span",{className:"k-button-text",children:e.children}),i&&bn("span",{className:"k-menu-button-arrow k-button-arrow",children:bn(g,{icon:n})})]})};c.states=JM;c.options=UM;c.variants=ZM;c.className=Nn;c.defaultOptions=ar;c.moduleName=du;c.folderName=$x;import{jsx as qM}from"react/jsx-runtime";var Ve=e=>qM(c,{icon:"folder",...e,children:void 0});import{jsx as _M}from"react/jsx-runtime";var Mo=e=>_M(c,{icon:"folder",children:"Button",...e});import{jsx as Z8}from"react/jsx-runtime";var cu="button",tg=cu;import{jsx as tw}from"react/jsx-runtime";var An="k-button-group",$M=[l.disabled],ew={fillMode:[N.solid,N.flat,N.outline,N.clear,N.link]},og={fillMode:N.solid},B=e=>{let{fillMode:t=og.fillMode,disabled:a,stretched:r,...s}=e;return tw("div",{...s,className:o(e.className,An,C(An,{fillMode:t}),h(An,{disabled:a}),{[`${An}-stretched`]:r}),children:e.children})};B.states=$M;B.options=ew;B.className=An;B.defaultOptions=og;B.moduleName=cu;B.folderName=tg;import{Fragment as dQ,jsx as nQ,jsxs as cQ}from"react/jsx-runtime";import{Fragment as hQ,jsx as kQ,jsxs as xQ}from"react/jsx-runtime";import{Fragment as TQ,jsx as vQ,jsxs as yQ}from"react/jsx-runtime";import{Fragment as SQ,jsx as LQ,jsxs as IQ}from"react/jsx-runtime";var vn="input",Xc=vn;import{jsx as lw}from"react/jsx-runtime";var Zc="k-input",ow=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],aw={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 lw("span",{...v,className:o(e.className,Zc,C(Zc,{size:m,rounded:f,fillMode:A}),h(Zc,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p}))})};L.states=ow;L.options=aw;L.className=Zc;L.defaultOptions=Jc;L.moduleName=vn;L.folderName=Xc;import{jsx as iw}from"react/jsx-runtime";var Uc="k-picker",rw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],sw={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:x.medium,fillMode:N.solid},bt=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 iw("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})),children:e.children})};bt.states=rw;bt.options=sw;bt.className=Uc;bt.defaultOptions=jc;bt.moduleName=vn;bt.folderName=Xc;import{Fragment as cw,jsx as pu}from"react/jsx-runtime";var ag="k-clear-value",nw=[l.disabled,l.loading,l.readonly],dw={},oe=e=>{let{disabled:t,loading:a,readonly:r,value:s}=e;return t||r||a||!s?pu(cw,{}):pu("span",{className:o(e.className,ag),children:pu(g,{icon:"x"})})};oe.states=nw;oe.options=dw;oe.className=ag;import{jsx as uw}from"react/jsx-runtime";var mu="k-input-inner",pw=[],mw={},qc={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=qc.value,type:a=qc.type,placeholder:r=qc.placeholder,autocomplete:s=qc.autocomplete,...i}=e;return uw("input",{...i,type:a,className:o(e.className,mu,C(mu,e)),placeholder:r,autoComplete:s,defaultValue:t})};ce.states=pw;ce.options=mw;ce.className=mu;import{jsx as lg,jsxs as hw}from"react/jsx-runtime";var uu="k-input-inner",fw=[],kw={},wa=e=>{let{value:t,placeholder:a,showValue:r,valueIcon:s,valueIconName:i,...n}=e;return hw("span",{...n,className:o(e.className,uu,C(uu,e)),children:[s,!s&&i&&lg(g,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&lg("span",{className:"k-input-value-text",children:t})]})};wa.states=fw;wa.options=kw;wa.className=uu;import{jsx as bw}from"react/jsx-runtime";var fu="k-input-inner",xw=[],gw={},rg={value:"",placeholder:""},Tn=e=>{let{value:t=rg.value,placeholder:a=rg.placeholder,rows:r,...s}=e;return bw("textarea",{...s,className:o(e.className,fu,C(fu,e)),placeholder:a,rows:r,defaultValue:t})};Tn.states=xw;Tn.options=gw;Tn.className=fu;import{Fragment as Aw,jsx as sg}from"react/jsx-runtime";var ig="k-input-loading-icon",Nw=[l.disabled,l.loading],j=e=>{let{disabled:t,loading:a}=e;return t||!a?sg(Aw,{}):sg("span",{className:o(e.className,ig,"k-icon k-i-loading")})};j.states=Nw;j.className=ig;import{Fragment as yw,jsx as ng}from"react/jsx-runtime";var dg="k-input-validation-icon",vw=[l.valid,l.invalid,l.disabled,l.loading],Tw={},J=e=>{let{valid:t,invalid:a,disabled:r,loading:s}=e,i=a?"warning-circle":"check-circle";return r||s||!!!(t||a)?ng(yw,{}):ng(g,{className:o(dg),icon:i})};J.states=vw;J.options=Tw;J.className=dg;import{Fragment as Mw,jsx as cg}from"react/jsx-runtime";var Ew="k-input-prefix",Cw={direction:"horizontal"},$=e=>{let{direction:t=Cw.direction,...a}=e;return e.children?cg("span",{...a,className:o(Ew,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):cg(Mw,{})};import{Fragment as Sw,jsx as pg}from"react/jsx-runtime";var ww="k-input-suffix",Lw={direction:"horizontal"},ee=e=>{let{direction:t=Lw.direction,...a}=e;return e.children?pg("span",{...a,className:o(ww,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):pg(Sw,{})};import{jsx as TV}from"react/jsx-runtime";import{jsx as MV}from"react/jsx-runtime";import{jsx as Bw}from"react/jsx-runtime";var mg="k-input-separator",Iw={direction:"vertical"},Me=e=>{let{direction:t=Iw.direction,...a}=e;return Bw("span",{...a,className:o(mg,e.className,{[`${mg}-${t}`]:t})})};import{jsx as ug,jsxs as Rw}from"react/jsx-runtime";var fg="k-color-preview",Pw=[],Dw={},$a=e=>{let{color:t,iconName:a,...r}=e;return Rw("span",{...r,className:o(e.className,fg,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&ug(g,{icon:a,className:"k-color-preview-icon"}),ug("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};$a.states=Pw;$a.options=Dw;$a.className=fg;var ku="popup",kg=ku;import{jsx as hg}from"react/jsx-runtime";var xg="k-animation-container",Kw=[],Yw={},gg={positionMode:"absolute"},Vo=e=>{let{positionMode:t=gg.positionMode,animationStyle:a,offset:r,...s}=e;return hg("div",{...s,style:{...r,...e.style},className:o(e.className,xg,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:hg("div",{className:"k-child-animation-container",style:a,children:e.children})})};Vo.states=Kw;Vo.options=Yw;Vo.className=xg;Vo.defaultOptions=gg;Vo.moduleName=ku;Vo.folderName=kg;var hu="popup",bg=hu;import{jsx as Ng}from"react/jsx-runtime";var Ag="k-popup",Ow=[],Hw={},vg={positionMode:"absolute"},H=e=>{let{offset:t,positionMode:a=vg.positionMode,animationStyle:r,...s}=e;return Ng(Vo,{positionMode:a,offset:t,animationStyle:r,children:Ng("div",{...s,className:o(e.className,Ag),children:e.children})})};H.states=Ow;H.options=Hw;H.className=Ag;H.defaultOptions=vg;H.moduleName=hu;H.folderName=bg;var xu="action-buttons",Tg=xu;import{jsx as zw}from"react/jsx-runtime";var _c="k-actions",Fw=[],Gw={},gu={alignment:"start",orientation:"horizontal"},Q=e=>{let{alignment:t=gu.alignment,orientation:a=gu.orientation,...r}=e;return zw("div",{...r,className:o(_c,{[`${_c}-${t}`]:t,[`${_c}-${a}`]:a},e.className),children:e.children})};Q.states=Fw;Q.options=Gw;Q.className=_c;Q.defaultOptions=gu;Q.moduleName=xu;Q.folderName=Tg;var yg=Q;import{jsx as Qw}from"react/jsx-runtime";var Ww="k-actionsheet-footer",Eg={alignment:"stretched",orientation:"horizontal"},wo=e=>{let{alignment:t=Eg.alignment,orientation:a=Eg.orientation,template:r,as:s=r?"div":Q,...i}=e;return Qw(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,Ww),children:e.children})};var bu="searchbox",Cg=bu;import{jsx as yn,jsxs as Zw}from"react/jsx-runtime";var Mg="k-searchbox",Vw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],Xw={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},Nu={showIcon:!0,icon:"search",size:L.defaultOptions.size,rounded:L.defaultOptions.rounded,fillMode:L.defaultOptions.fillMode},Xe=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=Nu.showIcon,icon:E=Nu.icon,...M}=e;return Zw(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,Mg),children:[y&&yn(g,{className:"k-input-icon",icon:E}),yn(ce,{placeholder:a,value:t}),yn(j,{...e}),yn(J,{...e}),yn(oe,{...e})]})};Xe.states=Vw;Xe.options=Xw;Xe.className=Mg;Xe.defaultOptions=Nu;Xe.moduleName=bu;Xe.folderName=Cg;import{jsx as D6}from"react/jsx-runtime";var Au="textbox",wg=Au;import{Fragment as Lg,jsx as el,jsxs as vu}from"react/jsx-runtime";var Sg="k-textbox",Jw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],Uw={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},lr={showClearButton:!0,showValidationIcon:!0,size:L.defaultOptions.size,rounded:L.defaultOptions.rounded,fillMode:L.defaultOptions.fillMode,separators:!0},U=e=>{let{size:t=lr.size,rounded:a=lr.rounded,fillMode:r=lr.fillMode,separators:s=lr.separators,showClearButton:i=lr.showClearButton,showValidationIcon:n=lr.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 vu(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,Sg),children:[p&&vu(Lg,{children:[el($,{children:p}),s&&el(Me,{})]}),el(ce,{placeholder:v,value:A,type:f}),n&&el(J,{valid:E,invalid:M,loading:I,disabled:P}),el(j,{loading:I,disabled:P}),i&&el(oe,{loading:I,disabled:P,readonly:O,value:A}),m&&vu(Lg,{children:[s&&el(Me,{}),el(ee,{children:m})]})]})};U.states=Jw;U.options=Uw;U.className=Sg;U.defaultOptions=lr;U.moduleName=Au;U.folderName=wg;import{jsx as Z6}from"react/jsx-runtime";import{Fragment as $6,jsx as _6}from"react/jsx-runtime";import{Fragment as r3,jsx as l3}from"react/jsx-runtime";import{jsx as tl,jsxs as Tu}from"react/jsx-runtime";var Pg="k-actionsheet-titlebar",jw={},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 Tu("div",{...v,className:o(e.className,Pg),children:[Tu("div",{className:"k-actionsheet-titlebar-group",children:[r&&tl("div",{className:"k-actionsheet-actions",children:r}),!A&&Tu("div",{className:"k-actionsheet-title",children:[t&&tl("div",{className:"k-text-center",children:t}),a&&tl("div",{className:"k-actionsheet-subtitle k-text-center",children:a})]}),A&&tl("div",{className:"k-actionsheet-title",children:A}),s&&tl("div",{className:"k-actionsheet-actions",children:s})]}),(n||i)&&tl("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:n?tl(U,{value:p,placeholder:m,size:f?"large":"medium"}):tl(Xe,{placeholder:"Filter",size:f?"large":"medium"})})]})};se.className=Pg;se.defaultOptions=jw;import{jsx as yu,jsxs as eL}from"react/jsx-runtime";var Eu="k-actionsheet-view",qw=[],_w={},$w={},ds=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...n}=e,p=s?.type===se&&yu(se,{adaptive:t,...s?.props}),m=i?.type===wo&&yu(wo,{...i?.props});return eL("div",{...n,className:o(e.className,Eu,{[`${Eu}-animated`]:a}),children:[p,yu("div",{className:"k-actionsheet-content",children:r}),m]})};ds.states=qw;ds.options=_w;ds.className=Eu;ds.defaultOptions=$w;var En="action-sheet",$c=En;import{jsx as ep,jsxs as aL}from"react/jsx-runtime";var Dg="k-actionsheet",tL=[],oL={},Cn={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ae=e=>{let{side:t=Cn.side,fullscreen:a=Cn.fullscreen,adaptive:r=Cn.adaptive,overlay:s=Cn.overlay,template:i,children:n,header:p,footer:m,...f}=e;return aL("div",{className:"k-actionsheet-container",children:[s&&ep("div",{className:"k-overlay"}),ep(Vo,{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:ep("div",{...f,className:o(e.className,Dg,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||ep(ds,{header:p,footer:m,adaptive:r,...e,children:n})})})]})};ae.states=tL;ae.options=oL;ae.className=Dg;ae.defaultOptions=Cn;ae.moduleName=En;ae.folderName=$c;import{jsx as iL}from"react/jsx-runtime";var Rg="k-actionsheet-container",lL=[],rL={},sL={},cs=e=>{let{children:t,...a}=e;return iL("div",{...a,className:Rg,children:t})};cs.states=lL;cs.options=rL;cs.className=Rg;cs.defaultOptions=sL;cs.moduleName=En;cs.folderName=$c;import{jsx as D3}from"react/jsx-runtime";import{Fragment as dL,jsx as Mn,jsxs as Cu}from"react/jsx-runtime";var Mu="k-actionsheet-item",nL=[l.hover,l.focus,l.selected,l.disabled],wu=e=>{let{iconName:t,text:a,description:r,hover:s,focus:i,selected:n,disabled:p,...m}=e;return Cu("span",{...m,className:o(e.className,Mu,h(Mu,{hover:s,focus:i,selected:n,disabled:p})),children:[!e.children&&Mn(dL,{children:Cu("span",{className:"k-actionsheet-action",children:[t&&Mn("span",{className:"k-icon-wrap",children:Mn(g,{className:"k-actionsheet-item-icon",icon:t})}),Cu("span",{className:"k-actionsheet-item-text",children:[a&&Mn("span",{className:"k-actionsheet-item-title",children:a}),r&&Mn("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};wu.states=nL;wu.className=Mu;import{jsx as W3,jsxs as Q3}from"react/jsx-runtime";import{jsx as J3}from"react/jsx-runtime";import{jsx as _3}from"react/jsx-runtime";import{jsx as oX}from"react/jsx-runtime";var Lu="slider",Yg=Lu;import{jsx as ps,jsxs as Su}from"react/jsx-runtime";var wn="k-slider",cL=[l.hover,l.focus,l.active,l.disabled,l.readonly],pL={},ol={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},Nt=e=>{let{type:t=ol.type,orientation:a=ol.orientation,readonly:r=ol.readonly,disabled:s=ol.disabled,handlePosition:i=ol.handlePosition,showButtons:n=ol.showButtons,showTicks:p=ol.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"),Su("div",{...y,className:o(wn,e.className,h(wn,{readonly:r,disabled:s}),{[`k-slider-${a}`]:a,"k-colorgradient-slider":t==="gradient"}),dir:b,children:[n&&ps(c,{className:"k-button-decrease",rounded:"full",icon:M}),Su("div",{className:"k-slider-track-wrap",children:[p&&ps("ul",{className:"k-reset k-slider-items",children:e.children}),Su("div",{className:"k-slider-track",style:v,children:[ps("div",{className:"k-slider-selection"}),t==="range"&&ps("span",{className:o("k-draghandle","k-draghandle-start",h(wn,{hover:m,focus:f,active:A}))}),ps("span",{className:o("k-draghandle",`k-draghandle-${i}`,h(wn,{hover:m,focus:f,active:A}))})]})]}),n&&ps(c,{className:"k-button-increase",rounded:"full",icon:E})]})};Nt.states=cL;Nt.options=pL;Nt.className=wn;Nt.defaultOptions=ol;Nt.moduleName=Lu;Nt.folderName=Yg;import{jsx as Og}from"react/jsx-runtime";var Hg="k-tick",mL=[],uL={},Fg={label:!1},$e=e=>{let{style:t,label:a=Fg.label,orientation:r,large:s,text:i,...n}=e;return Og("li",{...n,className:o(e.className,Hg,{[`k-tick-${r}`]:r,"k-tick-large":s}),style:t,children:a&&Og("span",{className:"k-label",children:i})})};$e.states=mL;$e.options=uL;$e.className=Hg;$e.defaultOptions=Fg;import{Fragment as fL,jsx as io,jsxs as kL}from"react/jsx-runtime";var tp=e=>io(Nt,{children:kL(fL,{children:[io($e,{className:"k-first",label:!0,large:!0,text:"0"}),io($e,{}),io($e,{}),io($e,{}),io($e,{}),io($e,{label:!0,large:!0,text:"5"}),io($e,{}),io($e,{}),io($e,{}),io($e,{}),io($e,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as IX,jsx as SX,jsxs as BX}from"react/jsx-runtime";import{Fragment as YX,jsx as KX,jsxs as OX}from"react/jsx-runtime";import{Fragment as WX,jsx as zX,jsxs as QX}from"react/jsx-runtime";import{jsx as hL}from"react/jsx-runtime";var Iu=e=>hL(Nt,{type:"gradient",showButtons:!1,showTicks:!1,...e});import{jsx as xL}from"react/jsx-runtime";var Bu=e=>xL(Nt,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});import{jsx as Gg,jsxs as vL}from"react/jsx-runtime";var zg="k-spin-button",NL=[],AL={size:[d.small,d.medium,d.large],fillMode:[N.solid,N.flat,N.outline,N.clear,N.link]},Pu={size:d.medium,fillMode:N.solid},Xo=e=>{let{size:t=Pu.size,fillMode:a=Pu.fillMode,...r}=e;return vL("span",{...r,className:o(zg,e.className),children:[Gg(c,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:a}),Gg(c,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:a})]})};Xo.states=NL;Xo.options=AL;Xo.className=zg;Xo.defaultOptions=Pu;Xo.moduleName=null;Xo.folderName=null;var Wg="numeric-textbox",Qg="numerictextbox";import{Fragment as Vg,jsx as La,jsxs as Du}from"react/jsx-runtime";var Xg="k-numerictextbox",TL=[l.hover,l.focus,l.valid,l.invalid,l.loading,l.required,l.disabled,l.readonly],yL={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},rr={showSpinButton:!0,showClearButton:!0,size:L.defaultOptions.size,rounded:L.defaultOptions.rounded,fillMode:L.defaultOptions.fillMode,separators:!0},pe=e=>{let{size:t=rr.size,rounded:a=rr.rounded,fillMode:r=rr.fillMode,separators:s=rr.separators,showClearButton:i=rr.showClearButton,showSpinButton:n=rr.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 Du(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,Xg),children:[p&&Du(Vg,{children:[La($,{children:p}),s&&La(Me,{})]}),La(ce,{placeholder:A,value:f}),La(J,{valid:y,invalid:E,loading:w,disabled:I}),La(j,{loading:w,disabled:I}),i&&La(oe,{loading:w,disabled:I,readonly:P,value:f}),m&&Du(Vg,{children:[s&&La(Me,{}),La(ee,{children:m})]}),n&&La(Xo,{className:"k-input-spinner",size:t,fillMode:r})]})};pe.states=TL;pe.options=yL;pe.className=Xg;pe.defaultOptions=rr;pe.moduleName=Wg;pe.folderName=Qg;import{jsx as yZ}from"react/jsx-runtime";import{jsx as CL}from"react/jsx-runtime";var EL="k-no-data",Ln=e=>CL("span",{className:o(EL,e.className),children:e.children});var Sa="list",al=Sa;import{jsx as ms,jsxs as Jg}from"react/jsx-runtime";var Ru="k-list",ML=[],wL={size:[d.small,d.medium,d.large]},Ug={size:d.medium},z=e=>{let{size:t=Ug.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===we?(y.props.root===!0?(m=y.props.label,y.props.children.map((M,w)=>{b.push(ms(D,{...M.props},`optChild-${w}-${new Date().getTime()}`))})):y.props.children.forEach((M,w)=>{let I="";w===0&&(I=y.props.label),b.push(ms(D,{className:w===0?"k-first":"",...M.props,groupLabel:I},`groupLabel-${w}-${new Date().getTime()}`))}),f=ms(we,{label:m,virtualization:a,children:b})):y.type===D&&(b.push(ms(D,{...y.props},`${y.type}-${E}`)),A=ms(us,{virtualization:a,children:b}),n&&(v=Jg(Ln,{className:"k-sr-only",children:[b.length," items found."]})))}):v=ms(Ln,{children:"No data found."}),Jg("div",{...p,className:o(e.className,Ru,C(Ru,{size:t}),{"k-virtual-list":a}),children:[s,i,f,A,v]})};z.states=ML;z.options=wL;z.className=Ru;z.defaultOptions=Ug;z.moduleName=Sa;z.folderName=al;import{jsx as BL}from"react/jsx-runtime";var jg="k-list-container",LL=[],SL={},IL={},fs=e=>{let{...t}=e;return BL("div",{...t,className:o(e.className,jg),children:e.children})};fs.states=LL;fs.options=SL;fs.className=jg;fs.defaultOptions=IL;fs.moduleName=Sa;fs.folderName=al;import{jsx as sr,jsxs as RL}from"react/jsx-runtime";var Ku="k-list",PL=[],DL={size:[d.small,d.medium,d.large]},qg={size:d.medium},Ia=e=>{let{size:t=qg.size,virtualization:a,children:r,...s}=e,i,n,p,m=[];return r?r.map((f,A)=>{f.type===we?(f.props.root===!0?(i=f.props.label,f.props.children.map((v,b)=>{m.push(sr(D,{...v.props},`optChild-${b}-${new Date().getTime()}`))})):(m.push(sr(_g,{...f.props,children:f.props.label},`listChild-${A}`)),f.props.children.map((v,b)=>{m.push(sr(D,{...v.props},`fwOptChild-${b}-${new Date().getTime()}`))})),n=sr(we,{label:i,virtualization:a,children:m})):f.type===D&&(m.push(sr(D,{...f.props},`${f.type}-${A}`)),p=sr(us,{virtualization:a,children:m}))}):p=sr(Ln,{children:"No data found."}),RL("div",{...s,className:o(e.className,Ku,C(Ku,{size:t}),{"k-virtual-list":a}),children:[n,p]})};Ia.states=PL;Ia.options=DL;Ia.className=Ku;Ia.defaultOptions=qg;Ia.moduleName=Sa;Ia.folderName=al;var ir="checkbox",ks=ir;import{jsx as $g}from"react/jsx-runtime";var op="k-checkbox",KL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],YL={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full]},Yu={size:d.medium,rounded:x.medium},et=e=>{let{id:t,checked:a,indeterminate:r,hover:s,focus:i,disabled:n,invalid:p,valid:m,required:f,size:A=Yu.size,rounded:v=Yu.rounded,...b}=e;return $g("span",{className:"k-checkbox-wrap",children:$g("input",{...b,id:t,type:"checkbox",defaultChecked:a,required:f,className:o(e.className,op,C(op,{size:A,rounded:v}),h(op,{hover:s,focus:i,disabled:n,invalid:p,valid:m,indeterminate:r,checked:a}))})})};et.states=KL;et.options=YL;et.className=op;et.defaultOptions=Yu;et.moduleName=ir;et.folderName=ks;import{jsx as FL}from"react/jsx-runtime";var eb="k-checkbox-list",OL=[],HL={},tb={layout:"vertical"},ll=e=>{let{layout:t=tb.layout,...a}=e;return FL("ul",{...a,className:o(e.className,eb,{[`k-list-${t}`]:t}),children:e.children})};ll.states=OL;ll.options=HL;ll.className=eb;ll.defaultOptions=tb;ll.moduleName=ir;ll.folderName=ks;import{jsx as QL}from"react/jsx-runtime";var ob="k-checkbox-list-item",GL=[],zL={},WL={},rl=e=>{let{...t}=e;return QL("li",{...t,className:o(e.className,ob),children:e.children})};rl.states=GL;rl.options=zL;rl.className=ob;rl.defaultOptions=WL;rl.moduleName=ir;rl.folderName=ks;import{Fragment as cJ,jsx as dJ,jsxs as pJ}from"react/jsx-runtime";import{Fragment as hJ,jsx as kJ,jsxs as xJ}from"react/jsx-runtime";import{Fragment as vJ,jsx as AJ,jsxs as TJ}from"react/jsx-runtime";import{Fragment as wJ,jsx as MJ,jsxs as LJ}from"react/jsx-runtime";import{jsx as PJ}from"react/jsx-runtime";import{jsx as YJ}from"react/jsx-runtime";import{jsx as ap,jsxs as JL}from"react/jsx-runtime";var Hu="k-list-item",VL=[l.hover,l.focus,l.selected,l.disabled],XL={},ZL={},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":Hu,h(Hu,{hover:m,focus:f,disabled:v,selected:A})),children:[n&&ap(et,{checked:p}),s&&ap(g,{icon:i}),ap("span",{className:"k-list-item-text",children:y}),a&&a!==""&&ap("div",{className:"k-list-item-group-label",children:a})]})};D.states=VL;D.options=XL;D.className=Hu;D.defaultOptions=ZL;D.moduleName=Sa;D.folderName=al;import{jsx as Fu,jsxs as jL}from"react/jsx-runtime";var UL="k-list-content",us=e=>{let{virtualization:t,...a}=e;return jL("div",{...a,className:o(UL,e.className),children:[Fu("ul",{className:o("k-list-ul"),children:e.children}),t&&Fu("div",{className:"k-height-container",children:Fu("div",{})})]})};import{jsx as ab}from"react/jsx-runtime";var qL="k-list-group-sticky-header",lb=e=>ab("div",{className:o(qL,e.className),children:ab("div",{className:"k-list-header-text",children:e.children})});import{Fragment as _L,jsx as rb,jsxs as $L}from"react/jsx-runtime";var we=e=>{let{virtualization:t,label:a}=e;return $L(_L,{children:[a&&rb(lb,{children:a}),e.children&&rb(us,{virtualization:t,children:e.children})]})};import{jsx as sb}from"react/jsx-runtime";var eS="k-list-group-item",_g=e=>sb("li",{className:o(eS,e.className),children:sb("span",{className:"k-list-item-text",children:e.children})});import{jsx as lS}from"react/jsx-runtime";var Gu="k-list-optionlabel",tS=[l.hover,l.focus,l.selected,l.disabled],oS={},aS={},lp=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...n}=e;return lS("div",{...n,className:o(Gu,h(Gu,{hover:a,focus:r,selected:s,disabled:i})),children:t})};lp.states=tS;lp.options=oS;lp.className=Gu;lp.defaultOptions=aS;import{jsx as nS}from"react/jsx-runtime";var zu="k-list-custom-value",rS=[l.hover,l.focus,l.selected,l.disabled],sS={},iS={},nt=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...n}=e;return nS("div",{...n,className:o(zu,h(zu,{hover:a,focus:r,selected:s,disabled:i})),children:t})};nt.states=rS;nt.options=sS;nt.className=zu;nt.defaultOptions=iS;import{jsx as AU}from"react/jsx-runtime";import{jsx as EU}from"react/jsx-runtime";import{jsx as LU,jsxs as SU}from"react/jsx-runtime";import{jsx as DU,jsxs as RU}from"react/jsx-runtime";import{jsx as HU}from"react/jsx-runtime";import{jsx as WU,jsxs as QU}from"react/jsx-runtime";import{jsx as JU,jsxs as UU}from"react/jsx-runtime";var ib="dropdown-list",nb="dropdownlist";import{Fragment as pS,jsx as Lt,jsxs as Wu}from"react/jsx-runtime";var db="k-dropdownlist",dS=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],cS={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},hs={showValue:!0,arrowIconName:"caret-alt-down",size:d.medium,rounded:x.medium,fillMode:N.solid},te=e=>{let{size:t=hs.size,rounded:a=hs.rounded,fillMode:r=hs.fillMode,arrowIconName:s=hs.arrowIconName,showValue:i=hs.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:Ce,adaptiveSettings:_e,adaptiveTitle:gt,adaptiveSubtitle:Co,adaptiveFilter:or,...ns}=e;return Wu(pS,{children:[Wu(bt,{...ns,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,db,{"k-icon-picker":!i&&n}),children:[Lt($,{children:p}),Lt(wa,{placeholder:A,value:f,showValue:i,valueIconName:n}),Lt(J,{valid:y,invalid:E,loading:w,disabled:I}),Lt(j,{loading:w,disabled:I}),Lt(ee,{children:m}),Lt(c,{className:"k-input-button",icon:s,rounded:null,size:e.size,fillMode:e.fillMode})]}),W&&O&&Lt(H,{className:"k-list-container k-dropdownlist-popup",children:O}),Ce&&Lt(ae,{adaptive:!0,..._e,header:Lt(se,{actionsEnd:Lt(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:or,inputValue:f,inputPlaceholder:A,title:gt,subtitle:Co}),children:Lt("div",{className:"k-list-container",children:Wu(z,{size:"large",children:[Lt(D,{text:"List item"}),Lt(D,{text:"List item"}),Lt(D,{text:"List item"})]})})})]})};te.states=dS;te.options=cS;te.className=db;te.defaultOptions=hs;te.moduleName=ib;te.folderName=nb;import{jsx as w5}from"react/jsx-runtime";import{jsx as P5,jsxs as D5}from"react/jsx-runtime";import{Fragment as z5,jsx as F5,jsxs as G5}from"react/jsx-runtime";import{jsx as X5}from"react/jsx-runtime";import{jsx as q5,jsxs as _5}from"react/jsx-runtime";import{jsx as a9,jsxs as l9}from"react/jsx-runtime";import{Fragment as m9,jsx as c9,jsxs as p9}from"react/jsx-runtime";import{Fragment as N9,jsx as g9,jsxs as b9}from"react/jsx-runtime";import{Fragment as K9,jsx as R9}from"react/jsx-runtime";import{Fragment as W9,jsx as z9}from"react/jsx-runtime";import{Fragment as Sn,jsx as q,jsxs as Ze}from"react/jsx-runtime";var cb="k-colorgradient-inputs",mS=[],uS={size:[d.small,d.medium,d.large]},pb={mode:"rgba",size:d.medium},xs=e=>{let{mode:t=pb.mode,size:a,...r}=e;return Ze("div",{...r,className:o(cb,"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"&&Ze(Sn,{children:[Ze("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132",size:a}),q("label",{className:"k-colorgradient-input-label",children:"R"})]}),Ze("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132",size:a}),q("label",{className:"k-colorgradient-input-label",children:"G"})]}),Ze("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132",size:a}),q("label",{className:"k-colorgradient-input-label",children:"B"})]}),Ze("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"&&Ze(Sn,{children:[Ze("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"R"})]}),Ze("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"G"})]}),Ze("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&Ze(Sn,{children:[Ze("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"H"})]}),Ze("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"S"})]}),Ze("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"V"})]}),Ze("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"&&Ze(Sn,{children:[Ze("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"H"})]}),Ze("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"S"})]}),Ze("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(Sn,{children:Ze("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"})]})})]})};xs.states=mS;xs.options=uS;xs.className=cb;xs.defaultOptions=pb;import{jsx as dr,jsxs as cr}from"react/jsx-runtime";var mb="k-colorgradient-color-contrast",fS=[],kS={},hS={},gs=()=>cr("div",{className:o(mb,"k-vbox"),children:[cr("div",{className:"k-contrast-ratio",children:[dr("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),cr("span",{className:"k-contrast-validation !k-text-success",children:[dr(g,{icon:"check"}),dr(g,{icon:"check"})]})]}),cr("div",{children:[dr("span",{children:"AA: 4.5"}),cr("span",{className:"k-contrast-validation !k-text-success",children:["Pass",dr(g,{icon:"check"})]})]}),cr("div",{children:[dr("span",{children:"AAA: 7.0"}),cr("span",{className:"k-contrast-validation !k-text-error",children:["Fail",dr(g,{icon:"x"})]})]})]});gs.states=fS;gs.options=kS;gs.className=mb;gs.defaultOptions=hS;var ub="color-gradient",fb="colorgradient";import{jsx as no,jsxs as In}from"react/jsx-runtime";var rp="k-colorgradient",xS=[l.hover,l.focus,l.readonly,l.disabled],gS={size:[d.small,d.medium,d.large]},Lo={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"},Zo=e=>{let{size:t=Lo.size,mode:a=Lo.mode,readonly:r=Lo.readonly,disabled:s=Lo.disabled,gradientStyle:i=Lo.gradientStyle,dragHandleStyle:n=Lo.dragHandleStyle,alphaStyle:p=Lo.alphaStyle,alphaStyleHorizontal:m=Lo.alphaStyleHorizontal,contrast:f=Lo.contrast,dir:A,hover:v,focus:b,hoverHandle:y,focusHandle:E,canvasOrientation:M=Lo.canvasOrientation,...w}=e;return In("div",{...w,className:o(e.className,rp,C(rp,{size:t}),h(rp,{hover:v,focus:b,readonly:r,disabled:s})),dir:A,children:[!M||M==="horizontal"&&In("div",{className:"k-colorgradient-canvas k-hstack",children:[no("div",{className:"k-hsv-rectangle",style:i,children:no("div",{className:"k-hsv-gradient",children:no("div",{className:o("k-hsv-draghandle","k-draghandle",{"k-hover":y,"k-focus":E}),style:n})})}),In("div",{className:"k-hsv-controls k-hstack",children:[no(Bu,{className:"k-hue-slider",hover:y,focus:E}),a!=="rgb"&&a!=="hsv"&&no(Bu,{className:"k-alpha-slider",hover:y,focus:E,trackStyle:p})]})]}),M==="vertical"&&In("div",{className:"k-colorgradient-canvas k-vstack",children:[no("div",{className:"k-hsv-rectangle",style:i,children:no("div",{className:"k-hsv-gradient",children:no("div",{className:o("k-hsv-draghandle","k-draghandle",{"k-hover":y,"k-focus":E}),style:n})})}),In("div",{className:"k-hsv-controls k-vstack",children:[no(Iu,{className:"k-hue-slider",hover:y,focus:E}),a!=="rgb"&&a!=="hsv"&&no(Iu,{className:"k-alpha-slider",hover:y,focus:E,trackStyle:m})]})]}),no(xs,{mode:e.mode,size:t}),f&&no(gs,{})]})};Zo.states=xS;Zo.options=gS;Zo.className=rp;Zo.defaultOptions=Lo;Zo.moduleName=ub;Zo.folderName=fb;import{jsx as hj}from"react/jsx-runtime";import{jsx as Nj}from"react/jsx-runtime";import{jsx as bS}from"react/jsx-runtime";var kb=e=>bS("tr",{children:e.children});import{jsx as vS}from"react/jsx-runtime";var Qu="k-colorpalette-tile",NS=[l.hover,l.focus,l.selected],AS={},Bn=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 vS("td",{...n,className:o(e.className,Qu,h(Qu,{hover:r,focus:s,selected:i})),style:p})};Bn.states=NS;Bn.options=AS;Bn.className=Qu;var hb="color-palette",xb="colorpalette";import{jsx as Pn}from"react/jsx-runtime";var sp="k-colorpalette",TS=[l.disabled],yS={size:[d.small,d.medium,d.large]},Vu={columns:10,size:d.medium},sl=e=>{let{size:t=Vu.size,palette:a,columns:r=Vu.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(Pn(Bn,{color:E,tileSize:s},M))});let y=Pn(kb,{children:b},v);p.push(y)})}return Pn("div",{...n,className:o(e.className,sp,h(sp,{disabled:i}),C(sp,{size:t})),children:Pn("table",{className:"k-colorpalette-table",children:Pn("tbody",{children:p.length>0?p:e.children})})})};sl.states=TS;sl.options=yS;sl.className=sp;sl.defaultOptions=Vu;sl.moduleName=hb;sl.folderName=xb;var Xu={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 Vj}from"react/jsx-runtime";var gb="color-editor",bb="coloreditor";import{jsx as co,jsxs as bs}from"react/jsx-runtime";var ip="k-coloreditor",ES=[l.focus],CS={size:[d.small,d.medium,d.large]},Ns={size:d.medium,view:"gradient",palette:Xu.office,actionButtons:!0,canvasOrientation:"horizontal"},po=e=>{let{size:t=Ns.size,view:a=Ns.view,palette:r=Ns.palette,color:s,currentColor:i,focus:n,focusView:p,dir:m,group:f,actionButtons:A=Ns.actionButtons,canvasOrientation:v=Ns.canvasOrientation,...b}=e;return bs("div",{...b,className:o(e.className,"k-flatcolorpicker",ip,C(ip,{size:t}),h(ip,{focus:n})),dir:m,children:[bs("div",{className:"k-coloreditor-header k-hstack",children:[co("div",{className:"k-coloreditor-header-actions k-hstack",children:f&&bs(B,{fillMode:"flat",children:[co(c,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:a==="gradient"}),co(c,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:a==="palette"})]})}),co("div",{className:"k-spacer"}),bs("div",{className:"k-coloreditor-header-actions k-hstack",children:[co(c,{fillMode:"flat",icon:"droplet-slash",size:t}),bs("div",{className:"k-coloreditor-preview k-vstack",children:[co($a,{className:"k-coloreditor-preview-color",color:s}),co($a,{className:"k-coloreditor-current-color",color:i})]})]})]}),co("div",{className:"k-coloreditor-views k-vstack",children:a==="gradient"?co(Zo,{focus:p,size:t,canvasOrientation:v}):co(sl,{palette:r,size:t})}),A&&bs(Q,{className:"k-coloreditor-footer",alignment:"start",children:[co(c,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),co(c,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};po.states=ES;po.options=CS;po.className=ip;po.defaultOptions=Ns;po.moduleName=gb;po.folderName=bb;import{jsx as m7}from"react/jsx-runtime";import{jsx as h7}from"react/jsx-runtime";import{jsx as N7}from"react/jsx-runtime";import{jsx as y7}from"react/jsx-runtime";var Nb="color-picker",Ab="colorpicker";import{Fragment as LS,jsx as mo,jsxs as Ju}from"react/jsx-runtime";var vb="k-colorpicker",MS=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled],wS={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},Dn={arrowIconName:"caret-alt-down",size:bt.defaultOptions.size,rounded:bt.defaultOptions.rounded,fillMode: