UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 75.1 kB
var a=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?a(...t):typeof t=="object"?Object.keys(t).map((o,s)=>t[s]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var L=(e,t)=>a({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.fillMode}-${t.themeColor}`]:t.fillMode&&t.themeColor},{[`${e}-${t.themeColor}`]:t.themeColor&&t.fillMode===void 0},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full"}),M=(e,t)=>a({"k-valid":t.valid,"k-invalid":t.invalid,"k-hover":t.hover,"k-focus":t.focus,"k-checked":t.checked,"k-active":t.active,"k-selected":t.selected,"k-disabled":t.disabled,"k-indeterminate":t.indeterminate&&!t.checked,"k-loading":t.loading,"k-empty":t.empty,"k-readonly":t.readonly});var n={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={small:"small",medium:"medium",large:"large",full:"full"},d={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},m={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},r={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly"},Ea={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};import{jsx as Nn}from"react/jsx-runtime";var jt="k-actions",xn=[],hn={},yo={alignment:"start",orientation:"horizontal"},D=e=>{let{alignment:t=yo.alignment,orientation:o=yo.orientation,...s}=e;return Nn("div",{...s,className:a(jt,{[`${jt}-${t}`]:t,[`${jt}-${o}`]:o},e.className),children:e.children})};D.states=xn;D.options=hn;D.className=jt;D.defaultOptions=yo;import{Fragment as Ln,jsx as za}from"react/jsx-runtime";var To="k-icon k-font-icon",vn=[],kn={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},Sn={},At=e=>{let{size:t,themeColor:o,icon:s,rotate:p,flip:l,...i}=e;return s?za("span",{...i,className:a(e.className,To,L(To,{size:t}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${p}`]:p,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"})}):za(Ln,{})};At.states=vn;At.options=kn;At.className=To;At.defaultOptions=Sn;var wa=At;import{Fragment as Mn,jsx as eo}from"react/jsx-runtime";var Ao="k-icon k-svg-icon",Cn=[],gn={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},Oa={viewBox:"0 0 24 24"},Bt=e=>{let{size:t,themeColor:o,rotate:s,flip:p,viewBox:l=Oa.viewBox,icon:i,...u}=e;if(!i)return eo(Mn,{});i==="none"&&{...u,className:a(e.className,Ao,"k-none")};let b=typeof i=="object"&&i.name&&i.name;return eo("span",{...u,className:a(e.className,Ao,L("k-icon",{size:t}),{[`k-svg-i-${b}`]:b,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":p==="h"||p==="both","k-flip-v":p==="v"||p==="both"}),children:eo("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof i=="object"?i.viewBox:l,dangerouslySetInnerHTML:typeof i=="object"?{__html:i.content}:void 0,children:i?void 0:e.children})})};Bt.states=Cn;Bt.options=gn;Bt.className=Ao;Bt.defaultOptions=Oa;var Bo=Bt;import*as Ra from"@progress/kendo-svg-icons";import{Fragment as Ka,jsx as Pt}from"react/jsx-runtime";var In=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),yn=[],Tn={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},Po={viewBox:"0 0 24 24",type:"svg"},g=e=>{let{size:t,themeColor:o,icon:s,type:p=Po.type,rotate:l,flip:i,viewBox:u=Po.viewBox,...b}=e;if(!s)return Pt(Ka,{});if(p==="svg"){if(s==="none")return Pt(Bo,{...b,icon:s,size:t});let x=In(`${s}-icon`);return Ra[x]?Pt(Bo,{...b,icon:Ra[x],size:t,themeColor:o,rotate:l,flip:i,viewBox:u}):Pt(Ka,{})}return Pt(wa,{...b,icon:s,size:t,themeColor:o,rotate:l,flip:i})};g.states=yn;g.options=Tn;g.defaultOptions=Po;import{Fragment as Pn,jsx as Et,jsxs as Ha}from"react/jsx-runtime";var to="k-button",An=[r.hover,r.focus,r.active,r.selected,r.disabled],Bn={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark,m.inverse]},He={size:n.medium,rounded:f.medium,fillMode:d.solid,themeColor:m.base,showArrow:!1,arrowIconName:"caret-alt-down"},v=e=>{let{size:t=He.size,rounded:o=He.rounded,fillMode:s=He.fillMode,themeColor:p=He.themeColor,showArrow:l=He.showArrow,arrowIconName:i=He.arrowIconName,hover:u,focus:b,active:x,selected:h,disabled:S,icon:c,text:N,iconClassName:k,...C}=e,y=c!==void 0,T=e.children!==void 0;return Ha("button",{...C,className:a(e.className,to,L(to,{size:t,rounded:o,fillMode:s,themeColor:p}),M(to,{hover:u,focus:b,active:x,disabled:S,selected:h}),{"k-icon-button":!N&&!T&&y}),children:[c&&Et(g,{className:a(k,"k-button-icon"),icon:c}),N?Ha(Pn,{children:[N&&Et("span",{className:"k-button-text",children:N}),e.children]}):e.children&&Et("span",{className:"k-button-text",children:e.children}),l&&Et("span",{className:"k-menu-button-arrow k-button-arrow",children:Et(g,{icon:i})})]})};v.states=An;v.options=Bn;v.className=to;v.defaultOptions=He;import{jsx as En}from"react/jsx-runtime";var U=e=>En(v,{icon:"folder",...e,children:void 0});import{jsx as zn}from"react/jsx-runtime";var _=e=>zn(v,{icon:"folder",children:"Button",...e});import{jsx as bc}from"react/jsx-runtime";import{jsx as Mc}from"react/jsx-runtime";import{jsx as Ga}from"react/jsx-runtime";var zt="k-avatar";var wn=[r.hover,r.focus,r.active,r.selected,r.disabled],On={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark,m.inverse]},Ge={type:"text",size:n.medium,rounded:f.full,fillMode:d.solid,themeColor:m.primary,border:!1},rt=e=>{let{size:t=Ge.size,rounded:o=Ge.rounded,fillMode:s=Ge.fillMode,themeColor:p=Ge.themeColor,type:l=Ge.type,border:i=Ge.border,...u}=e;return Ga("div",{...u,className:a(e.className,zt,L(zt,{size:t,rounded:o,fillMode:s,themeColor:p}),{[`${zt}-bordered`]:i}),children:Ga("span",{className:`${zt}-${l}`,children:e.children})})};rt.states=wn;rt.options=On;rt.className=zt;rt.defaultOptions=Ge;import{jsx as Ec}from"react/jsx-runtime";import{jsx as Rc}from"react/jsx-runtime";import{jsx as Dc}from"react/jsx-runtime";import{jsx as nt,jsxs as Hn}from"react/jsx-runtime";var oo="k-chip",Rn=[r.hover,r.focus,r.active,r.selected,r.disabled],Kn={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.outline],themeColor:[m.base,m.success,m.warning,m.error,m.info]},st={size:n.medium,rounded:f.medium,fillMode:d.solid,themeColor:m.base,avatarImage:"/packages/html/assets/avatar.jpg"},q=e=>{let{size:t=st.size,rounded:o=st.rounded,fillMode:s=st.fillMode,themeColor:p=st.themeColor,text:l,icon:i,actions:u,showAvatar:b,avatarImage:x=st.avatarImage,hover:h,focus:S,active:c,selected:N,disabled:k,...C}=e;return Hn("div",{...C,className:a(e.className,oo,L(oo,{size:t,rounded:o,fillMode:s,themeColor:p}),M(oo,{hover:h,focus:S,active:c,disabled:k,selected:N})),children:[i&&nt(g,{className:"k-chip-icon",icon:i,size:"small"}),b&&nt(rt,{className:"k-chip-avatar",type:"image",children:nt("img",{src:x})}),nt("span",{className:"k-chip-content",children:e.children?e.children:l&&nt("span",{className:"k-chip-label",children:l})}),u&&nt("span",{className:"k-chip-actions",children:u})]})};q.states=Rn;q.options=Kn;q.className=oo;q.defaultOptions=st;import{jsx as $n}from"react/jsx-runtime";var Eo="k-chip-list",Gn=[],Dn={size:[n.small,n.medium,n.large]},$a={size:n.medium},De=e=>{let{size:t=$a.size,...o}=e;return $n("div",{...o,className:a(e.className,Eo,L(Eo,{size:t})),children:e.children})};De.states=Gn;De.options=Dn;De.className=Eo;De.defaultOptions=$a;import{jsx as am}from"react/jsx-runtime";import{jsx as im}from"react/jsx-runtime";import{jsx as mm}from"react/jsx-runtime";import{jsx as xm}from"react/jsx-runtime";import{Fragment as Lm,jsx as Sm,jsxs as Cm}from"react/jsx-runtime";import{jsx as Fn}from"react/jsx-runtime";var wt="k-button-group",_n=[r.disabled],Xn={fillMode:[d.solid,d.flat,d.outline,d.clear,d.link]},Va={fillMode:d.solid},w=e=>{let{fillMode:t=Va.fillMode,disabled:o,stretched:s,...p}=e;return Fn("div",{...p,className:a(e.className,wt,L(wt,{fillMode:t}),M(wt,{disabled:o}),{[`${wt}-stretched`]:s}),children:e.children})};w.states=_n;w.options=Xn;w.className=wt;w.defaultOptions=Va;import{Fragment as $m,jsx as Dm,jsxs as Vm}from"react/jsx-runtime";import{Fragment as qm,jsx as Um,jsxs as Wm}from"react/jsx-runtime";import{Fragment as td,jsx as ed,jsxs as od}from"react/jsx-runtime";import{Fragment as ld,jsx as id,jsxs as pd}from"react/jsx-runtime";import{jsx as qn}from"react/jsx-runtime";var ro="k-input",Jn=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Un={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},no={size:n.medium,rounded:n.medium,fillMode:d.solid},P=e=>{let{hover:t,focus:o,disabled:s,invalid:p,valid:l,loading:i,readonly:u,size:b=no.size,rounded:x=no.rounded,fillMode:h=no.fillMode,...S}=e;return qn("span",{...S,className:a(e.className,ro,L(ro,{size:b,rounded:x,fillMode:h}),M(ro,{hover:t,focus:o,disabled:s,invalid:p,valid:l,loading:i,readonly:u}))})};P.states=Jn;P.options=Un;P.className=ro;P.defaultOptions=no;import{jsx as Qn}from"react/jsx-runtime";var so="k-picker",Wn=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Yn={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},io={size:n.medium,rounded:f.medium,fillMode:d.solid},ie=e=>{let{hover:t,focus:o,disabled:s,invalid:p,valid:l,loading:i,readonly:u,size:b=io.size,rounded:x=io.rounded,fillMode:h=io.fillMode,...S}=e;return Qn("span",{...S,className:a(e.className,so,L(so,{size:b,rounded:x,fillMode:h}),M(so,{hover:t,focus:o,disabled:s,invalid:p,valid:l,loading:i,readonly:u})),children:e.children})};ie.states=Wn;ie.options=Yn;ie.className=so;ie.defaultOptions=io;import{Fragment as es,jsx as zo}from"react/jsx-runtime";var _a="k-clear-value",Zn=[r.disabled,r.loading,r.readonly],jn={},le=e=>{let{disabled:t,loading:o,readonly:s,value:p}=e;return t||s||o||!p?zo(es,{}):zo("span",{className:a(e.className,_a),children:zo(g,{icon:"x"})})};le.states=Zn;le.options=jn;le.className=_a;import{jsx as as}from"react/jsx-runtime";var wo="k-input-inner",ts=[],os={},lo={type:"text",autocomplete:"off",value:"",placeholder:""},pe=e=>{let{value:t=lo.value,type:o=lo.type,placeholder:s=lo.placeholder,autocomplete:p=lo.autocomplete,...l}=e;return as("input",{...l,type:o,className:a(e.className,wo,L(wo,e)),placeholder:s,autoComplete:p,defaultValue:t})};pe.states=ts;pe.options=os;pe.className=wo;import{jsx as Xa,jsxs as ss}from"react/jsx-runtime";var Oo="k-input-inner",rs=[],ns={},$e=e=>{let{value:t,placeholder:o,showValue:s,valueIcon:p,valueIconName:l,...i}=e;return ss("span",{...i,className:a(e.className,Oo,L(Oo,e)),children:[p,!p&&l&&Xa(g,{className:"k-input-value-icon",icon:l}),s&&!t&&o,s&&t&&Xa("span",{className:"k-input-value-text",children:t})]})};$e.states=rs;$e.options=ns;$e.className=Oo;import{jsx as ps}from"react/jsx-runtime";var Ro="k-input-inner",is=[],ls={},Fa={value:"",placeholder:""},Ot=e=>{let{value:t=Fa.value,placeholder:o=Fa.placeholder,rows:s,...p}=e;return ps("textarea",{...p,className:a(e.className,Ro,L(Ro,e)),placeholder:o,rows:s,defaultValue:t})};Ot.states=is;Ot.options=ls;Ot.className=Ro;import{Fragment as ms,jsx as Ja}from"react/jsx-runtime";var Ua="k-input-loading-icon",cs=[r.disabled,r.loading],Y=e=>{let{disabled:t,loading:o}=e;return t||!o?Ja(ms,{}):Ja("span",{className:a(e.className,Ua,"k-icon k-i-loading")})};Y.states=cs;Y.className=Ua;import{Fragment as fs,jsx as qa}from"react/jsx-runtime";var Wa="k-input-validation-icon",ds=[r.valid,r.invalid,r.disabled,r.loading],us={},W=e=>{let{valid:t,invalid:o,disabled:s,loading:p}=e,l=o?"warning-circle":"check-circle";return s||p||!!!(t||o)?qa(fs,{}):qa(g,{className:a(Wa),icon:l})};W.states=ds;W.options=us;W.className=Wa;import{Fragment as hs,jsx as Ya}from"react/jsx-runtime";var bs="k-input-prefix",xs={direction:"horizontal"},Q=e=>{let{direction:t=xs.direction,...o}=e;return e.children?Ya("span",{...o,className:a(bs,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Ya(hs,{})};import{Fragment as ks,jsx as Qa}from"react/jsx-runtime";var Ns="k-input-suffix",vs={direction:"horizontal"},Z=e=>{let{direction:t=vs.direction,...o}=e;return e.children?Qa("span",{...o,className:a(Ns,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Qa(ks,{})};import{jsx as Zd}from"react/jsx-runtime";import{jsx as ou}from"react/jsx-runtime";import{jsx as Ls}from"react/jsx-runtime";var Za="k-input-separator",Ss={direction:"vertical"},j=e=>{let{direction:t=Ss.direction,...o}=e;return Ls("span",{...o,className:a(Za,e.className,{[`${Za}-${t}`]:t})})};import{jsx as ja,jsxs as Ms}from"react/jsx-runtime";var er="k-color-preview",Cs=[],gs={},Le=e=>{let{color:t,iconName:o,...s}=e;return Ms("span",{...s,className:a(e.className,er,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&ja(g,{icon:o,className:"k-color-preview-icon"}),ja("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Le.states=Cs;Le.options=gs;Le.className=er;import{jsx as tr}from"react/jsx-runtime";var or="k-animation-container",Is=[],ys={},ar={positionMode:"absolute"},Ce=e=>{let{positionMode:t=ar.positionMode,animationStyle:o,offset:s,...p}=e;return tr("div",{...p,style:{...s,...e.style},className:a(e.className,or,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:tr("div",{className:"k-child-animation-container",style:o,children:e.children})})};Ce.states=Is;Ce.options=ys;Ce.className=or;Ce.defaultOptions=ar;import{jsx as rr}from"react/jsx-runtime";var nr="k-popup",Ts=[],As={},sr={positionMode:"absolute"},K=e=>{let{offset:t,positionMode:o=sr.positionMode,animationStyle:s,...p}=e;return rr(Ce,{positionMode:o,offset:t,animationStyle:s,children:rr("div",{...p,className:a(e.className,nr),children:e.children})})};K.states=Ts;K.options=As;K.className=nr;K.defaultOptions=sr;import{jsx as Ps}from"react/jsx-runtime";var Bs="k-actionsheet-footer",ir={alignment:"stretched",orientation:"horizontal"},Rt=e=>{let{alignment:t=ir.alignment,orientation:o=ir.orientation,template:s,as:p=s?"div":D,...l}=e;return Ps(p,{...l,...!s&&{alignment:t,orientation:o},className:a(e.className,Bs),children:e.children})};import{jsx as Kt,jsxs as ws}from"react/jsx-runtime";var lr="k-searchbox",Es=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],zs={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Ko={showIcon:!0,icon:"search",size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode},fe=e=>{let{value:t,placeholder:o,size:s,rounded:p,fillMode:l,hover:i,focus:u,valid:b,invalid:x,required:h,loading:S,disabled:c,showIcon:N=Ko.showIcon,icon:k=Ko.icon,...C}=e;return ws(P,{...C,size:s,rounded:p,fillMode:l,hover:i,focus:u,valid:b,invalid:x,required:h,loading:S,disabled:c,className:a(e.className,lr),children:[N&&Kt(g,{className:"k-input-icon",icon:k}),Kt(pe,{placeholder:o,value:t}),Kt(Y,{...e}),Kt(W,{...e}),Kt(le,{...e})]})};fe.states=Es;fe.options=zs;fe.className=lr;fe.defaultOptions=Ko;import{jsx as Yu}from"react/jsx-runtime";import{Fragment as pr,jsx as ge,jsxs as Ho}from"react/jsx-runtime";var cr="k-textbox",Os=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Rs={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Ve={showClearButton:!0,showValidationIcon:!0,size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,separators:!0},be=e=>{let{size:t=Ve.size,rounded:o=Ve.rounded,fillMode:s=Ve.fillMode,separators:p=Ve.separators,showClearButton:l=Ve.showClearButton,showValidationIcon:i=Ve.showValidationIcon,prefix:u,suffix:b,type:x,value:h,placeholder:S,hover:c,focus:N,valid:k,invalid:C,required:y,loading:T,disabled:E,readonly:G,...Se}=e;return Ho(P,{...Se,size:t,rounded:o,fillMode:s,hover:c,focus:N,valid:k,invalid:C,required:y,loading:T,disabled:E,readonly:G,className:a(e.className,cr),children:[u&&Ho(pr,{children:[ge(Q,{children:u}),p&&ge(j,{})]}),ge(pe,{placeholder:S,value:h,type:x}),i&&ge(W,{valid:k,invalid:C,loading:T,disabled:E}),ge(Y,{loading:T,disabled:E}),l&&ge(le,{loading:T,disabled:E,readonly:G,value:h}),b&&Ho(pr,{children:[p&&ge(j,{}),ge(Z,{children:b})]})]})};be.states=Os;be.options=Rs;be.className=cr;be.defaultOptions=Ve;import{jsx as lf}from"react/jsx-runtime";import{Fragment as ff,jsx as uf}from"react/jsx-runtime";import{Fragment as Sf,jsx as kf}from"react/jsx-runtime";import{jsx as Me,jsxs as Go}from"react/jsx-runtime";var dr="k-actionsheet-titlebar",Ks={},ee=e=>{let{title:t,subtitle:o,actionsStart:s,actionsEnd:p,filter:l,input:i,inputValue:u,inputPlaceholder:b,adaptive:x,children:h,...S}=e;return Go("div",{...S,className:a(e.className,dr),children:[Go("div",{className:"k-actionsheet-titlebar-group",children:[s&&Me("div",{className:"k-actionsheet-actions",children:s}),!h&&Go("div",{className:"k-actionsheet-title",children:[t&&Me("div",{className:"k-text-center",children:t}),o&&Me("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),h&&Me("div",{className:"k-actionsheet-title",children:h}),p&&Me("div",{className:"k-actionsheet-actions",children:p})]}),(i||l)&&Me("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:i?Me(be,{value:u,placeholder:b,size:x?"large":"medium"}):Me(fe,{placeholder:"Filter",size:x?"large":"medium"})})]})};ee.className=dr;ee.defaultOptions=Ks;import{jsx as Do,jsxs as $s}from"react/jsx-runtime";var $o="k-actionsheet-view",Hs=[],Gs={},Ds={},it=e=>{let{adaptive:t,animated:o,children:s,header:p,footer:l,...i}=e,u=p?.type===ee&&Do(ee,{adaptive:t,...p?.props}),b=l?.type===Rt&&Do(Rt,{...l?.props});return $s("div",{...i,className:a(e.className,$o,{[`${$o}-animated`]:o}),children:[u,Do("div",{className:"k-actionsheet-content",children:s}),b]})};it.states=Hs;it.options=Gs;it.className=$o;it.defaultOptions=Ds;import{jsx as po,jsxs as Xs}from"react/jsx-runtime";var ur="k-actionsheet",Vs=[],_s={},Ht={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ce=e=>{let{side:t=Ht.side,fullscreen:o=Ht.fullscreen,adaptive:s=Ht.adaptive,overlay:p=Ht.overlay,template:l,children:i,header:u,footer:b,...x}=e;return Xs("div",{className:"k-actionsheet-container",children:[p&&po("div",{className:"k-overlay"}),po(Ce,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:po("div",{...x,className:a(e.className,ur,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":s}),children:l||po(it,{header:u,footer:b,adaptive:s,...e,children:i})})})]})};ce.states=Vs;ce.options=_s;ce.className=ur;ce.defaultOptions=Ht;import{jsx as Ff}from"react/jsx-runtime";import{Fragment as Js,jsx as Gt,jsxs as Vo}from"react/jsx-runtime";var _o="k-actionsheet-item",Fs=[r.hover,r.focus,r.selected,r.disabled],Xo=e=>{let{iconName:t,text:o,description:s,hover:p,focus:l,selected:i,disabled:u,...b}=e;return Vo("span",{...b,className:a(e.className,_o,M(_o,{hover:p,focus:l,selected:i,disabled:u})),children:[!e.children&&Gt(Js,{children:Vo("span",{className:"k-actionsheet-action",children:[t&&Gt("span",{className:"k-icon-wrap",children:Gt(g,{className:"k-actionsheet-item-icon",icon:t})}),Vo("span",{className:"k-actionsheet-item-text",children:[o&&Gt("span",{className:"k-actionsheet-item-title",children:o}),s&&Gt("span",{className:"k-actionsheet-item-description",children:s})]})]})}),e.children]})};Xo.states=Fs;Xo.className=_o;import{jsx as eb,jsxs as tb}from"react/jsx-runtime";import{jsx as nb}from"react/jsx-runtime";import{jsx as pb}from"react/jsx-runtime";import{jsx as ub}from"react/jsx-runtime";import{jsx as lt,jsxs as Fo}from"react/jsx-runtime";var Dt="k-slider",Us=[r.hover,r.focus,r.active,r.disabled,r.readonly],qs={},Ie={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},te=e=>{let{type:t=Ie.type,orientation:o=Ie.orientation,readonly:s=Ie.readonly,disabled:p=Ie.disabled,handlePosition:l=Ie.handlePosition,showButtons:i=Ie.showButtons,showTicks:u=Ie.showTicks,hover:b,focus:x,active:h,trackStyle:S,dir:c,...N}=e,k,C;return o==="horizontal"?(k=c==="rtl"?"caret-alt-left":"caret-alt-right",C=c==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(k="caret-alt-up",C="caret-alt-down"),Fo("div",{...N,className:a(Dt,e.className,M(Dt,{readonly:s,disabled:p}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:c,children:[i&&lt(v,{className:"k-button-decrease",rounded:"full",icon:C}),Fo("div",{className:"k-slider-track-wrap",children:[u&&lt("ul",{className:"k-reset k-slider-items",children:e.children}),Fo("div",{className:"k-slider-track",style:S,children:[lt("div",{className:"k-slider-selection"}),t==="range"&&lt("span",{className:a("k-draghandle","k-draghandle-start",M(Dt,{hover:b,focus:x,active:h}))}),lt("span",{className:a("k-draghandle",`k-draghandle-${l}`,M(Dt,{hover:b,focus:x,active:h}))})]})]}),i&&lt(v,{className:"k-button-increase",rounded:"full",icon:k})]})};te.states=Us;te.options=qs;te.className=Dt;te.defaultOptions=Ie;import{jsx as br}from"react/jsx-runtime";var xr="k-tick",Ws=[],Ys={},hr={label:!1},ye=e=>{let{style:t,label:o=hr.label,orientation:s,large:p,text:l,...i}=e;return br("li",{...i,className:a(e.className,xr,{[`k-tick-${s}`]:s,"k-tick-large":p}),style:t,children:o&&br("span",{className:"k-label",children:l})})};ye.states=Ws;ye.options=Ys;ye.className=xr;ye.defaultOptions=hr;import{Fragment as Rb,jsx as Ob,jsxs as Kb}from"react/jsx-runtime";import{Fragment as Vb,jsx as $b,jsxs as _b}from"react/jsx-runtime";import{Fragment as qb,jsx as Ub,jsxs as Wb}from"react/jsx-runtime";import{Fragment as ex,jsx as jb,jsxs as tx}from"react/jsx-runtime";import{jsx as Qs}from"react/jsx-runtime";var Jo=e=>Qs(te,{type:"gradient",showButtons:!1,showTicks:!1,...e});import{jsx as Zs}from"react/jsx-runtime";var Uo=e=>Zs(te,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});import{jsx as Nr,jsxs as ti}from"react/jsx-runtime";var vr="k-spin-button",js=[],ei={size:[n.small,n.medium,n.large],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link]},qo={size:n.medium,fillMode:d.solid},pt=e=>{let{size:t=qo.size,fillMode:o=qo.fillMode,...s}=e;return ti("span",{...s,className:a(vr,e.className),children:[Nr(v,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),Nr(v,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};pt.states=js;pt.options=ei;pt.className=vr;pt.defaultOptions=qo;import{Fragment as kr,jsx as xe,jsxs as Wo}from"react/jsx-runtime";var Sr="k-numerictextbox",oi=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],ai={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},_e={showSpinButton:!0,showClearButton:!0,size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,separators:!0},R=e=>{let{size:t=_e.size,rounded:o=_e.rounded,fillMode:s=_e.fillMode,separators:p=_e.separators,showClearButton:l=_e.showClearButton,showSpinButton:i=_e.showSpinButton,prefix:u,suffix:b,value:x,placeholder:h,hover:S,focus:c,valid:N,invalid:k,required:C,loading:y,disabled:T,readonly:E,...G}=e;return Wo(P,{...G,size:t,rounded:o,fillMode:s,hover:S,focus:c,valid:N,invalid:k,required:C,loading:y,disabled:T,readonly:E,className:a(e.className,Sr),children:[u&&Wo(kr,{children:[xe(Q,{children:u}),p&&xe(j,{})]}),xe(pe,{placeholder:h,value:x}),xe(W,{valid:N,invalid:k,loading:y,disabled:T}),xe(Y,{loading:y,disabled:T}),l&&xe(le,{loading:y,disabled:T,readonly:E,value:x}),b&&Wo(kr,{children:[p&&xe(j,{}),xe(Z,{children:b})]}),i&&xe(pt,{className:"k-input-spinner",size:t,fillMode:s})]})};R.states=oi;R.options=ai;R.className=Sr;R.defaultOptions=_e;import{jsx as Px}from"react/jsx-runtime";import{jsx as ni}from"react/jsx-runtime";var ri="k-no-data",$t=e=>ni("span",{className:a(ri,e.className),children:e.children});import{jsx as ct,jsxs as Cr}from"react/jsx-runtime";var Yo="k-list",si=[],ii={size:[n.small,n.medium,n.large]},gr={size:n.medium},z=e=>{let{size:t=gr.size,virtualization:o,children:s,optionLabel:p,customValue:l,screenReaders:i,...u}=e,b,x,h,S,c=[];return s?s.map((N,k)=>{N.type===$?(N.props.root===!0?(b=N.props.label,N.props.children.map((C,y)=>{c.push(ct(I,{...C.props},`optChild-${y}-${new Date().getTime()}`))})):N.props.children.forEach((C,y)=>{let T="";y===0&&(T=N.props.label),c.push(ct(I,{className:y===0?"k-first":"",...C.props,groupLabel:T},`groupLabel-${y}-${new Date().getTime()}`))}),x=ct($,{label:b,virtualization:o,children:c})):N.type===I&&(c.push(ct(I,{...N.props},`${N.type}-${k}`)),h=ct(mt,{virtualization:o,children:c}),i&&(S=Cr($t,{className:"k-sr-only",children:[c.length," items found."]})))}):S=ct($t,{children:"No data found."}),Cr("div",{...u,className:a(e.className,Yo,L(Yo,{size:t}),{"k-virtual-list":o}),children:[p,l,x,h,S]})};z.states=si;z.options=ii;z.className=Yo;z.defaultOptions=gr;import{jsx as Xe,jsxs as ci}from"react/jsx-runtime";var Qo="k-list",li=[],pi={size:[n.small,n.medium,n.large]},Mr={size:n.medium},Fe=e=>{let{size:t=Mr.size,virtualization:o,children:s,...p}=e,l,i,u,b=[];return s?s.map((x,h)=>{x.type===$?(x.props.root===!0?(l=x.props.label,x.props.children.map((S,c)=>{b.push(Xe(I,{...S.props},`optChild-${c}-${new Date().getTime()}`))})):(b.push(Xe(Ir,{...x.props,children:x.props.label},`listChild-${h}`)),x.props.children.map((S,c)=>{b.push(Xe(I,{...S.props},`fwOptChild-${c}-${new Date().getTime()}`))})),i=Xe($,{label:l,virtualization:o,children:b})):x.type===I&&(b.push(Xe(I,{...x.props},`${x.type}-${h}`)),u=Xe(mt,{virtualization:o,children:b}))}):u=Xe($t,{children:"No data found."}),ci("div",{...p,className:a(e.className,Qo,L(Qo,{size:t}),{"k-virtual-list":o}),children:[i,u]})};Fe.states=li;Fe.options=pi;Fe.className=Qo;Fe.defaultOptions=Mr;import{jsx as yr}from"react/jsx-runtime";var co="k-checkbox",mi=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],di={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full]},Zo={size:n.medium,rounded:f.medium},Te=e=>{let{id:t,checked:o,indeterminate:s,hover:p,focus:l,disabled:i,invalid:u,valid:b,required:x,size:h=Zo.size,rounded:S=Zo.rounded,...c}=e;return yr("span",{className:"k-checkbox-wrap",children:yr("input",{...c,id:t,type:"checkbox",defaultChecked:o,required:x,className:a(e.className,co,L(co,{size:h,rounded:S}),M(co,{hover:p,focus:l,disabled:i,invalid:u,valid:b,indeterminate:s,checked:o}))})})};Te.states=mi;Te.options=di;Te.className=co;Te.defaultOptions=Zo;import{jsx as bi}from"react/jsx-runtime";var Tr="k-checkbox-list",ui=[],fi={},Ar={layout:"vertical"},dt=e=>{let{layout:t=Ar.layout,...o}=e;return bi("ul",{...o,className:a(e.className,Tr,{[`k-list-${t}`]:t}),children:e.children})};dt.states=ui;dt.options=fi;dt.className=Tr;dt.defaultOptions=Ar;import{jsx as vi}from"react/jsx-runtime";var Br="k-checkbox-list-item",xi=[],hi={},Ni={},ut=e=>{let{...t}=e;return vi("li",{...t,className:a(e.className,Br),children:e.children})};ut.states=xi;ut.options=hi;ut.className=Br;ut.defaultOptions=Ni;import{Fragment as sh,jsx as nh,jsxs as ih}from"react/jsx-runtime";import{Fragment as dh,jsx as mh,jsxs as uh}from"react/jsx-runtime";import{Fragment as Nh,jsx as hh,jsxs as vh}from"react/jsx-runtime";import{Fragment as gh,jsx as Ch,jsxs as Mh}from"react/jsx-runtime";import{jsx as Ah}from"react/jsx-runtime";import{jsx as zh}from"react/jsx-runtime";import{jsx as mo,jsxs as Ci}from"react/jsx-runtime";var ea="k-list-item",ki=[r.hover,r.focus,r.selected,r.disabled],Si={},Li={},I=e=>{let{text:t,groupLabel:o,group:s,showIcon:p,iconName:l,showCheckbox:i,checked:u,hover:b,focus:x,selected:h,disabled:S,...c}=e,N=t||e.children;return Ci("li",{...c,className:a(e.className,s?"k-list-group-item":ea,M(ea,{hover:b,focus:x,disabled:S,selected:h})),children:[i&&mo(Te,{checked:u}),p&&mo(g,{icon:l}),mo("span",{className:"k-list-item-text",children:N}),o&&o!==""&&mo("div",{className:"k-list-item-group-label",children:o})]})};I.states=ki;I.options=Si;I.className=ea;I.defaultOptions=Li;import{jsx as ta,jsxs as Mi}from"react/jsx-runtime";var gi="k-list-content",mt=e=>{let{virtualization:t,...o}=e;return Mi("div",{...o,className:a(gi,e.className),children:[ta("ul",{className:a("k-list-ul"),children:e.children}),t&&ta("div",{className:"k-height-container",children:ta("div",{})})]})};import{jsx as Pr}from"react/jsx-runtime";var Ii="k-list-group-sticky-header",Er=e=>Pr("div",{className:a(Ii,e.className),children:Pr("div",{className:"k-list-header-text",children:e.children})});import{Fragment as yi,jsx as zr,jsxs as Ti}from"react/jsx-runtime";var $=e=>{let{virtualization:t,label:o}=e;return Ti(yi,{children:[o&&zr(Er,{children:o}),e.children&&zr(mt,{virtualization:t,children:e.children})]})};import{jsx as wr}from"react/jsx-runtime";var Ai="k-list-group-item",Ir=e=>wr("li",{className:a(Ai,e.className),children:wr("span",{className:"k-list-item-text",children:e.children})});import{jsx as zi}from"react/jsx-runtime";var oa="k-list-optionlabel",Bi=[r.hover,r.focus,r.selected,r.disabled],Pi={},Ei={},uo=e=>{let{text:t,hover:o,focus:s,selected:p,disabled:l,...i}=e;return zi("div",{...i,className:a(oa,M(oa,{hover:o,focus:s,selected:p,disabled:l})),children:t})};uo.states=Bi;uo.options=Pi;uo.className=oa;uo.defaultOptions=Ei;import{jsx as Ki}from"react/jsx-runtime";var aa="k-list-custom-value",wi=[r.hover,r.focus,r.selected,r.disabled],Oi={},Ri={},Ae=e=>{let{text:t,hover:o,focus:s,selected:p,disabled:l,...i}=e;return Ki("div",{...i,className:a(aa,M(aa,{hover:o,focus:s,selected:p,disabled:l})),children:t})};Ae.states=wi;Ae.options=Oi;Ae.className=aa;Ae.defaultOptions=Ri;import{jsx as xN}from"react/jsx-runtime";import{jsx as kN}from"react/jsx-runtime";import{jsx as gN,jsxs as MN}from"react/jsx-runtime";import{jsx as AN,jsxs as BN}from"react/jsx-runtime";import{jsx as wN}from"react/jsx-runtime";import{jsx as HN,jsxs as GN}from"react/jsx-runtime";import{jsx as _N,jsxs as XN}from"react/jsx-runtime";import{Fragment as Di,jsx as F,jsxs as ra}from"react/jsx-runtime";var Or="k-dropdownlist",Hi=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Gi={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},ft={showValue:!0,arrowIconName:"caret-alt-down",size:n.medium,rounded:f.medium,fillMode:d.solid},Be=e=>{let{size:t=ft.size,rounded:o=ft.rounded,fillMode:s=ft.fillMode,arrowIconName:p=ft.arrowIconName,showValue:l=ft.showValue,valueIconName:i,prefix:u,suffix:b,value:x,placeholder:h,hover:S,focus:c,valid:N,invalid:k,required:C,loading:y,disabled:T,readonly:E,popup:G,opened:Se,adaptive:yt,adaptiveSettings:Tt,adaptiveTitle:Mo,adaptiveSubtitle:Io,adaptiveFilter:fn,...bn}=e;return ra(Di,{children:[ra(ie,{...bn,size:t,rounded:o,fillMode:s,hover:S,focus:c,valid:N,invalid:k,required:C,loading:y,disabled:T,readonly:E,className:a(e.className,Or,{"k-icon-picker":!l&&i}),children:[F(Q,{children:u}),F($e,{placeholder:h,value:x,showValue:l,valueIconName:i}),F(W,{valid:N,invalid:k,loading:y,disabled:T}),F(Y,{loading:y,disabled:T}),F(Z,{children:b}),F(v,{className:"k-input-button",icon:p,rounded:null,size:e.size,fillMode:e.fillMode})]}),Se&&G&&F(K,{className:"k-list-container k-dropdownlist-popup",children:G}),yt&&F(ce,{adaptive:!0,...Tt,header:F(ee,{actionsEnd:F(v,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:fn,inputValue:x,inputPlaceholder:h,title:Mo,subtitle:Io}),children:F("div",{className:"k-list-container",children:ra(z,{size:"large",children:[F(I,{text:"List item"}),F(I,{text:"List item"}),F(I,{text:"List item"})]})})})]})};Be.states=Hi;Be.options=Gi;Be.className=Or;Be.defaultOptions=ft;import{jsx as kv}from"react/jsx-runtime";import{jsx as Mv,jsxs as Iv}from"react/jsx-runtime";import{Fragment as wv,jsx as Ev,jsxs as zv}from"react/jsx-runtime";import{jsx as Hv}from"react/jsx-runtime";import{jsx as _v,jsxs as Xv}from"react/jsx-runtime";import{jsx as Wv,jsxs as Yv}from"react/jsx-runtime";import{Fragment as rk,jsx as ok,jsxs as ak}from"react/jsx-runtime";import{Fragment as dk,jsx as ck,jsxs as mk}from"react/jsx-runtime";import{Fragment as Tk,jsx as yk}from"react/jsx-runtime";import{Fragment as Ok,jsx as wk}from"react/jsx-runtime";import{Fragment as Vt,jsx as A,jsxs as O}from"react/jsx-runtime";var Rr="k-colorgradient-inputs",$i=[],Vi={size:[n.small,n.medium,n.large]},Kr={mode:"rgba",size:n.medium},bt=e=>{let{mode:t=Kr.mode,size:o,...s}=e;return O("div",{...s,className:a(Rr,"k-hstack"),children:[A("div",{className:"k-vstack",children:A(v,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),t==="rgba"&&O(Vt,{children:[O("div",{className:"k-vstack",children:[A(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),A("label",{className:"k-colorgradient-input-label",children:"R"})]}),O("div",{className:"k-vstack",children:[A(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),A("label",{className:"k-colorgradient-input-label",children:"G"})]}),O("div",{className:"k-vstack",children:[A(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),A("label",{className:"k-colorgradient-input-label",children:"B"})]}),O("div",{className:"k-vstack",children:[A(R,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),A("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&O(Vt,{children:[O("div",{className:"k-vstack",children:[A(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"R"})]}),O("div",{className:"k-vstack",children:[A(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"G"})]}),O("div",{className:"k-vstack",children:[A(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&O(Vt,{children:[O("div",{className:"k-vstack",children:[A(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"H"})]}),O("div",{className:"k-vstack",children:[A(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"S"})]}),O("div",{className:"k-vstack",children:[A(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"V"})]}),O("div",{className:"k-vstack",children:[A(R,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),A("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&O(Vt,{children:[O("div",{className:"k-vstack",children:[A(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"H"})]}),O("div",{className:"k-vstack",children:[A(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"S"})]}),O("div",{className:"k-vstack",children:[A(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&A(Vt,{children:O("div",{className:"k-vstack k-flex-1",children:[A(be,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),A("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};bt.states=$i;bt.options=Vi;bt.className=Rr;bt.defaultOptions=Kr;import{jsx as Ue,jsxs as qe}from"react/jsx-runtime";var Hr="k-colorgradient-color-contrast",_i=[],Xi={},Fi={},xt=()=>qe("div",{className:a(Hr,"k-vbox"),children:[qe("div",{className:"k-contrast-ratio",children:[Ue("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),qe("span",{className:"k-contrast-validation !k-text-success",children:[Ue(g,{icon:"check"}),Ue(g,{icon:"check"})]})]}),qe("div",{children:[Ue("span",{children:"AA: 4.5"}),qe("span",{className:"k-contrast-validation !k-text-success",children:["Pass",Ue(g,{icon:"check"})]})]}),qe("div",{children:[Ue("span",{children:"AAA: 7.0"}),qe("span",{className:"k-contrast-validation !k-text-error",children:["Fail",Ue(g,{icon:"x"})]})]})]});xt.states=_i;xt.options=Xi;xt.className=Hr;xt.defaultOptions=Fi;import{jsx as oe,jsxs as _t}from"react/jsx-runtime";var fo="k-colorgradient",Ji=[r.hover,r.focus,r.readonly,r.disabled],Ui={size:[n.small,n.medium,n.large]},me={size:n.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"},Pe=e=>{let{size:t=me.size,mode:o=me.mode,readonly:s=me.readonly,disabled:p=me.disabled,gradientStyle:l=me.gradientStyle,dragHandleStyle:i=me.dragHandleStyle,alphaStyle:u=me.alphaStyle,alphaStyleHorizontal:b=me.alphaStyleHorizontal,contrast:x=me.contrast,dir:h,hover:S,focus:c,hoverHandle:N,focusHandle:k,canvasOrientation:C=me.canvasOrientation,...y}=e;return _t("div",{...y,className:a(e.className,fo,L(fo,{size:t}),M(fo,{hover:S,focus:c,readonly:s,disabled:p})),dir:h,children:[!C||C==="horizontal"&&_t("div",{className:"k-colorgradient-canvas k-hstack",children:[oe("div",{className:"k-hsv-rectangle",style:l,children:oe("div",{className:"k-hsv-gradient",children:oe("div",{className:a("k-hsv-draghandle","k-draghandle",{"k-hover":N,"k-focus":k}),style:i})})}),_t("div",{className:"k-hsv-controls k-hstack",children:[oe(Uo,{className:"k-hue-slider",hover:N,focus:k}),o!=="rgb"&&o!=="hsv"&&oe(Uo,{className:"k-alpha-slider",hover:N,focus:k,trackStyle:u})]})]}),C==="vertical"&&_t("div",{className:"k-colorgradient-canvas k-vstack",children:[oe("div",{className:"k-hsv-rectangle",style:l,children:oe("div",{className:"k-hsv-gradient",children:oe("div",{className:a("k-hsv-draghandle","k-draghandle",{"k-hover":N,"k-focus":k}),style:i})})}),_t("div",{className:"k-hsv-controls k-vstack",children:[oe(Jo,{className:"k-hue-slider",hover:N,focus:k}),o!=="rgb"&&o!=="hsv"&&oe(Jo,{className:"k-alpha-slider",hover:N,focus:k,trackStyle:b})]})]}),oe(bt,{mode:e.mode,size:t}),x&&oe(xt,{})]})};Pe.states=Ji;Pe.options=Ui;Pe.className=fo;Pe.defaultOptions=me;import{jsx as sS}from"react/jsx-runtime";import{jsx as cS}from"react/jsx-runtime";import{jsx as qi}from"react/jsx-runtime";var Gr=e=>qi("tr",{children:e.children});import{jsx as Qi}from"react/jsx-runtime";var na="k-colorpalette-tile",Wi=[r.hover,r.focus,r.selected],Yi={},Xt=e=>{let{color:t,tileSize:o,hover:s,focus:p,selected:l,...i}=e,u={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return Qi("td",{...i,className:a(e.className,na,M(na,{hover:s,focus:p,selected:l})),style:u})};Xt.states=Wi;Xt.options=Yi;Xt.className=na;import{jsx as Ft}from"react/jsx-runtime";var bo="k-colorpalette",Zi=[r.disabled],ji={size:[n.small,n.medium,n.large]},sa={columns:10,size:n.medium},ht=e=>{let{size:t=sa.size,palette:o,columns:s=sa.columns,tileSize:p,disabled:l,...i}=e,u=[];if(o){let b=s||o.columns,x=o.colors?o.colors:o;Array.isArray(x)&&Array.from({length:Math.ceil(x.length/b)},(h,S)=>{let c=[];x.slice(S*b,(S+1)*b).map((k,C)=>{c.push(Ft(Xt,{color:k,tileSize:p},C))});let N=Ft(Gr,{children:c},S);u.push(N)})}return Ft("div",{...i,className:a(e.className,bo,M(bo,{disabled:l}),L(bo,{size:t})),children:Ft("table",{className:"k-colorpalette-table",children:Ft("tbody",{children:u.length>0?u:e.children})})})};ht.states=Zi;ht.options=ji;ht.className=bo;ht.defaultOptions=sa;var ia={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 zS}from"react/jsx-runtime";import{jsx as ae,jsxs as Nt}from"react/jsx-runtime";var xo="k-coloreditor",el=[r.focus],tl={size:[n.small,n.medium,n.large]},vt={size:n.medium,view:"gradient",palette:ia.office,actionButtons:!0,canvasOrientation:"horizontal"},de=e=>{let{size:t=vt.size,view:o=vt.view,palette:s=vt.palette,color:p,currentColor:l,focus:i,focusView:u,dir:b,group:x,actionButtons:h=vt.actionButtons,canvasOrientation:S=vt.canvasOrientation,...c}=e;return Nt("div",{...c,className:a(e.className,"k-flatcolorpicker",xo,L(xo,{size:t}),M(xo,{focus:i})),dir:b,children:[Nt("div",{className:"k-coloreditor-header k-hstack",children:[ae("div",{className:"k-coloreditor-header-actions k-hstack",children:x&&Nt(w,{fillMode:"flat",children:[ae(v,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),ae(v,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),ae("div",{className:"k-spacer"}),Nt("div",{className:"k-coloreditor-header-actions k-hstack",children:[ae(v,{fillMode:"flat",icon:"droplet-slash",size:t}),Nt("div",{className:"k-coloreditor-preview k-vstack",children:[ae(Le,{className:"k-coloreditor-preview-color",color:p}),ae(Le,{className:"k-coloreditor-current-color",color:l})]})]})]}),ae("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?ae(Pe,{focus:u,size:t,canvasOrientation:S}):ae(ht,{palette:s,size:t})}),h&&Nt(D,{className:"k-coloreditor-footer",alignment:"start",children:[ae(v,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),ae(v,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};de.states=el;de.options=tl;de.className=xo;de.defaultOptions=vt;import{jsx as ZS}from"react/jsx-runtime";import{jsx as oL}from"react/jsx-runtime";import{jsx as sL}from"react/jsx-runtime";import{jsx as cL}from"react/jsx-runtime";import{Fragment as rl,jsx as re,jsxs as pa}from"react/jsx-runtime";var Dr="k-colorpicker",ol=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],al={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Jt={arrowIconName:"caret-alt-down",size:ie.defaultOptions.size,rounded:ie.defaultOptions.rounded,fillMode:ie.defaultOptions.fillMode},he=e=>{let{size:t=Jt.size,rounded:o=Jt.rou