@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 66.8 kB
JavaScript
var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...t):typeof t=="object"?Object.keys(t).map((o,r)=>t[r]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var k=(e,t)=>n({[`${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"}),T=(e,t)=>{let{valid:o,invalid:r,hover:m,focus:l,checked:i,active:d,selected:f,disabled:N,indeterminate:L,loading:S,empty:p,readonly:h,highlighted:x,...v}=t;return n({"k-valid":o,"k-invalid":r,"k-hover":m,"k-focus":l,"k-checked":i,"k-active":d,"k-selected":f,"k-disabled":N,"k-indeterminate":L&&!i,"k-loading":S,"k-empty":p,"k-readonly":h,"k-highlighted":x},Object.keys(v).reduce((A,C)=>(C.startsWith("k-")?A[C]=v[C]:A[`k-${C}`]=v[C],A),{}))};function hs(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(r=>[`k-${r}`,!0]))}var a={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},b={small:"small",medium:"medium",large:"large",full:"full"},u={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},c={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},s={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"};import{Fragment as Na,jsx as Ss}from"react/jsx-runtime";var io="k-font-icon",ua=[],fa={size:[a.xsmall,a.small,a.medium,a.large,a.xlarge,a.xxlarge,a.xxxlarge],themeColor:[c.base,c.primary,c.secondary,c.tertiary,c.success,c.warning,c.error,c.info,c.light,c.dark]},ba={},xt=e=>{let{size:t,themeColor:o,icon:r,rotate:m,flip:l,...i}=e;return r?Ss("span",{...i,className:n(e.className,io,k(io,{size:t}),{[`k-i-${r}`]:r,[`k-color-${o}`]:o,[`k-rotate-${m}`]:m,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"})}):Ss(Na,{})};xt.states=ua;xt.options=fa;xt.className=io;xt.defaultOptions=ba;var vs=xt;import{Fragment as Ma,jsx as Ht}from"react/jsx-runtime";var lo="k-svg-icon",La=[],xa={size:[a.xsmall,a.small,a.medium,a.large,a.xlarge,a.xxlarge,a.xxxlarge],themeColor:[c.base,c.primary,c.secondary,c.tertiary,c.success,c.warning,c.error,c.info,c.light,c.dark]},Es={viewBox:"0 0 24 24"},Mt=e=>{let{size:t,themeColor:o,rotate:r,flip:m,viewBox:l=Es.viewBox,icon:i,...d}=e;if(!i)return Ht(Ma,{});i==="none"&&{...d,className:n(e.className,lo,"k-none")};let f=typeof i=="object"&&i.name&&i.name;return Ht("span",{...d,className:n(e.className,lo,k("k-icon",{size:t}),{[`k-svg-i-${f}`]:f,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":m==="h"||m==="both","k-flip-v":m==="v"||m==="both"}),children:Ht("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})})};Mt.states=La;Mt.options=xa;Mt.className=lo;Mt.defaultOptions=Es;var po=Mt;import*as mo from"@progress/kendo-svg-icons";var ks="icon",Is="icons";import{Fragment as Cs,jsx as ht}from"react/jsx-runtime";var Dt="k-icon",ha=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Sa=[],va={size:[a.xsmall,a.small,a.medium,a.large,a.xlarge,a.xxlarge,a.xxxlarge],themeColor:[c.base,c.primary,c.secondary,c.tertiary,c.success,c.warning,c.error,c.info,c.light,c.dark]},co={viewBox:"0 0 24 24",type:"svg"},E=e=>{let{size:t,themeColor:o,icon:r,type:m=co.type,rotate:l,flip:i,viewBox:d=co.viewBox,...f}=e;if(!r)return ht(Cs,{});if(m==="svg"){if(r==="none")return ht(po,{...f,className:n(e.className,Dt),icon:r,size:t});let N=mo[r]?r:ha(`${r}-icon`);return mo[N]?ht(po,{...f,className:n(e.className,Dt),icon:mo[N],size:t,themeColor:o,rotate:l,flip:i,viewBox:d}):ht(Cs,{})}return ht(vs,{...f,className:n(e.className,Dt),icon:r,size:t,themeColor:o,rotate:l,flip:i})};E.states=Sa;E.options=va;E.defaultOptions=co;E.className=Dt;E.moduleName=ks;E.folderName=Is;var uo="button",As=uo;import{Fragment as Ca,jsx as St,jsxs as Ts}from"react/jsx-runtime";var vt="k-button",Ea=["icon-button"],ka=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],Ia={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[u.solid,u.flat,u.outline,u.clear,u.link],themeColor:[c.base,c.primary,c.secondary,c.tertiary,c.success,c.warning,c.error,c.info,c.light,c.dark,c.inverse]},De={size:a.medium,rounded:b.medium,fillMode:u.solid,themeColor:c.base,showArrow:!1,arrowIconName:"caret-alt-down"},M=e=>{let{size:t=De.size,rounded:o=De.rounded,fillMode:r=De.fillMode,themeColor:m=De.themeColor,showArrow:l=De.showArrow,arrowIconName:i=De.arrowIconName,variant:d,hover:f,focus:N,active:L,selected:S,disabled:p,icon:h,text:x,iconClassName:v,...A}=e,C=h!==void 0,K=e.children!==void 0;return Ts("button",{...A,className:n(e.className,vt,hs(vt,d),k(vt,{size:t,rounded:o,fillMode:r,themeColor:m}),T(vt,{hover:f,focus:N,active:L,disabled:p,selected:S}),{"k-icon-button":!x&&!K&&C}),children:[h&&St(E,{className:n(v,"k-button-icon"),icon:h}),x?Ts(Ca,{children:[x&&St("span",{className:"k-button-text",children:x}),e.children]}):e.children&&St("span",{className:"k-button-text",children:e.children}),l&&St("span",{className:"k-menu-button-arrow k-button-arrow",children:St(E,{icon:i})})]})};M.states=ka;M.options=Ia;M.variants=Ea;M.className=vt;M.defaultOptions=De;M.moduleName=uo;M.folderName=As;import{jsx as Aa}from"react/jsx-runtime";var Ut=e=>Aa(M,{icon:"folder",...e,children:void 0});import{jsx as Ta}from"react/jsx-runtime";var fo=e=>Ta(M,{icon:"folder",children:"Button",...e});import{jsx as hp}from"react/jsx-runtime";var bo="button",gs=bo;import{jsx as ya}from"react/jsx-runtime";var Et="k-button-group",ga=[s.disabled],Oa={fillMode:[u.solid,u.flat,u.outline,u.clear,u.link]},Os={fillMode:u.solid},B=e=>{let{fillMode:t=Os.fillMode,disabled:o,stretched:r,...m}=e;return ya("div",{...m,className:n(e.className,Et,k(Et,{fillMode:t}),T(Et,{disabled:o}),{[`${Et}-stretched`]:r}),children:e.children})};B.states=ga;B.options=Oa;B.className=Et;B.defaultOptions=Os;B.moduleName=bo;B.folderName=gs;import{Fragment as Bp,jsx as Pp,jsxs as wp}from"react/jsx-runtime";import{Fragment as Fp,jsx as Gp,jsxs as $p}from"react/jsx-runtime";import{Fragment as Qp,jsx as Wp,jsxs as Yp}from"react/jsx-runtime";import{Fragment as sm,jsx as om,jsxs as nm}from"react/jsx-runtime";var kt="input",Gt=kt;import{jsx as _a}from"react/jsx-runtime";var Ft="k-input",Ka=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Ra={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[u.solid,u.flat,u.outline]},$t={size:a.medium,rounded:a.medium,fillMode:u.solid},y=e=>{let{hover:t,focus:o,disabled:r,invalid:m,valid:l,loading:i,readonly:d,size:f=$t.size,rounded:N=$t.rounded,fillMode:L=$t.fillMode,...S}=e;return _a("span",{...S,className:n(e.className,Ft,k(Ft,{size:f,rounded:N,fillMode:L}),T(Ft,{hover:t,focus:o,disabled:r,invalid:m,valid:l,loading:i,readonly:d}))})};y.states=Ka;y.options=Ra;y.className=Ft;y.defaultOptions=$t;y.moduleName=kt;y.folderName=Gt;import{jsx as wa}from"react/jsx-runtime";var Xt="k-picker",Pa=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Ba={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[u.solid,u.flat,u.outline]},Vt={size:a.medium,rounded:b.medium,fillMode:u.solid},F=e=>{let{hover:t,focus:o,disabled:r,invalid:m,valid:l,loading:i,readonly:d,size:f=Vt.size,rounded:N=Vt.rounded,fillMode:L=Vt.fillMode,...S}=e;return wa("span",{...S,className:n(e.className,Xt,k(Xt,{size:f,rounded:N,fillMode:L}),T(Xt,{hover:t,focus:o,disabled:r,invalid:m,valid:l,loading:i,readonly:d})),children:e.children})};F.states=Pa;F.options=Ba;F.className=Xt;F.defaultOptions=Vt;F.moduleName=kt;F.folderName=Gt;import{Fragment as Da,jsx as No}from"react/jsx-runtime";var ys="k-clear-value",za=[s.disabled,s.loading,s.readonly],Ha={},oe=e=>{let{disabled:t,loading:o,readonly:r,value:m}=e;return t||r||o||!m?No(Da,{}):No("span",{className:n(e.className,ys),children:No(E,{icon:"x"})})};oe.states=za;oe.options=Ha;oe.className=ys;import{jsx as Fa}from"react/jsx-runtime";var Lo="k-input-inner",Ua=[],Ga={},Jt={type:"text",autocomplete:"off",value:"",placeholder:""},se=e=>{let{value:t=Jt.value,type:o=Jt.type,placeholder:r=Jt.placeholder,autocomplete:m=Jt.autocomplete,...l}=e;return Fa("input",{...l,type:o,className:n(e.className,Lo,k(Lo,e)),placeholder:r,autoComplete:m,defaultValue:t})};se.states=Ua;se.options=Ga;se.className=Lo;import{jsx as Ks,jsxs as Va}from"react/jsx-runtime";var xo="k-input-inner",$a=[],Xa={},Ue=e=>{let{value:t,placeholder:o,showValue:r,valueIcon:m,valueIconName:l,...i}=e;return Va("span",{...i,className:n(e.className,xo,k(xo,e)),children:[m,!m&&l&&Ks(E,{className:"k-input-value-icon",icon:l}),r&&!t&&o,r&&t&&Ks("span",{className:"k-input-value-text",children:t})]})};Ue.states=$a;Ue.options=Xa;Ue.className=xo;import{jsx as Wa}from"react/jsx-runtime";var Mo="k-input-inner",Ja=[],qa={},Rs={value:"",placeholder:""},ho=e=>{let{value:t=Rs.value,placeholder:o=Rs.placeholder,rows:r,...m}=e;return Wa("textarea",{...m,className:n(e.className,Mo,k(Mo,e)),placeholder:o,rows:r,defaultValue:t})};ho.states=Ja;ho.options=qa;ho.className=Mo;import{Fragment as Ya,jsx as _s}from"react/jsx-runtime";var Ps="k-input-loading-icon",Qa=[s.disabled,s.loading],q=e=>{let{disabled:t,loading:o}=e;return t||!o?_s(Ya,{}):_s("span",{className:n(e.className,Ps,"k-icon k-i-loading")})};q.states=Qa;q.className=Ps;import{Fragment as er,jsx as Bs}from"react/jsx-runtime";var ws="k-input-validation-icon",Za=[s.valid,s.invalid,s.disabled,s.loading],ja={},$=e=>{let{valid:t,invalid:o,disabled:r,loading:m}=e,l=o?"warning-circle":"check-circle";return r||m||!!!(t||o)?Bs(er,{}):Bs(E,{className:n(ws),icon:l})};$.states=Za;$.options=ja;$.className=ws;import{Fragment as sr,jsx as zs}from"react/jsx-runtime";var tr="k-input-prefix",or={direction:"horizontal"},me=e=>{let{direction:t=or.direction,...o}=e;return e.children?zs("span",{...o,className:n(tr,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):zs(sr,{})};import{Fragment as rr,jsx as Hs}from"react/jsx-runtime";var nr="k-input-suffix",ar={direction:"horizontal"},ce=e=>{let{direction:t=ar.direction,...o}=e;return e.children?Hs("span",{...o,className:n(nr,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Hs(rr,{})};import{jsx as Qm}from"react/jsx-runtime";import{jsx as ec}from"react/jsx-runtime";import{jsx as lr}from"react/jsx-runtime";var Ds="k-input-separator",ir={direction:"vertical"},xe=e=>{let{direction:t=ir.direction,...o}=e;return lr("span",{...o,className:n(Ds,e.className,{[`${Ds}-${t}`]:t})})};import{jsx as Us,jsxs as cr}from"react/jsx-runtime";var Gs="k-color-preview",pr=[],mr={},Ae=e=>{let{color:t,iconName:o,...r}=e;return cr("span",{...r,className:n(e.className,Gs,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&Us(E,{icon:o,className:"k-color-preview-icon"}),Us("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ae.states=pr;Ae.options=mr;Ae.className=Gs;var So="popup",Fs=So;import{jsx as $s}from"react/jsx-runtime";var Xs="k-animation-container",dr=[],ur={},Vs={positionMode:"absolute"},de=e=>{let{positionMode:t=Vs.positionMode,animationStyle:o,offset:r,...m}=e;return $s("div",{...m,style:{...r,...e.style},className:n(e.className,Xs,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:$s("div",{className:"k-child-animation-container",style:o,children:e.children})})};de.states=dr;de.options=ur;de.className=Xs;de.defaultOptions=Vs;de.moduleName=So;de.folderName=Fs;var vo="popup",Js=vo;import{jsx as qs}from"react/jsx-runtime";var Ws="k-popup",fr=[],br={},Qs={positionMode:"absolute"},z=e=>{let{offset:t,positionMode:o=Qs.positionMode,animationStyle:r,...m}=e;return qs(de,{positionMode:o,offset:t,animationStyle:r,children:qs("div",{...m,className:n(e.className,Ws),children:e.children})})};z.states=fr;z.options=br;z.className=Ws;z.defaultOptions=Qs;z.moduleName=vo;z.folderName=Js;var Eo="action-buttons",Ys=Eo;import{jsx as xr}from"react/jsx-runtime";var qt="k-actions",Nr=[],Lr={},ko={alignment:"start",orientation:"horizontal"},ue=e=>{let{alignment:t=ko.alignment,orientation:o=ko.orientation,...r}=e;return xr("div",{...r,className:n(qt,{[`${qt}-${t}`]:t,[`${qt}-${o}`]:o},e.className),children:e.children})};ue.states=Nr;ue.options=Lr;ue.className=qt;ue.defaultOptions=ko;ue.moduleName=Eo;ue.folderName=Ys;import{jsx as hr}from"react/jsx-runtime";var Mr="k-actionsheet-footer",Zs={alignment:"stretched",orientation:"horizontal"},It=e=>{let{alignment:t=Zs.alignment,orientation:o=Zs.orientation,template:r,as:m=r?"div":ue,...l}=e;return hr(m,{...l,...!r&&{alignment:t,orientation:o},className:n(e.className,Mr),children:e.children})};var Io="searchbox",js=Io;import{jsx as Ct,jsxs as Er}from"react/jsx-runtime";var en="k-searchbox",Sr=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],vr={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[u.solid,u.flat,u.outline]},Co={showIcon:!0,icon:"search",size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode},ne=e=>{let{value:t,placeholder:o,size:r,rounded:m,fillMode:l,hover:i,focus:d,valid:f,invalid:N,required:L,loading:S,disabled:p,showIcon:h=Co.showIcon,icon:x=Co.icon,...v}=e;return Er(y,{...v,size:r,rounded:m,fillMode:l,hover:i,focus:d,valid:f,invalid:N,required:L,loading:S,disabled:p,className:n(e.className,en),children:[h&&Ct(E,{className:"k-input-icon",icon:x}),Ct(se,{placeholder:o,value:t}),Ct(q,{...e}),Ct($,{...e}),Ct(oe,{...e})]})};ne.states=Sr;ne.options=vr;ne.className=en;ne.defaultOptions=Co;ne.moduleName=Io;ne.folderName=js;import{jsx as id}from"react/jsx-runtime";var Ao="textbox",tn=Ao;import{Fragment as on,jsx as Te,jsxs as To}from"react/jsx-runtime";var sn="k-textbox",kr=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Ir={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[u.solid,u.flat,u.outline]},Ge={showClearButton:!0,showValidationIcon:!0,size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode,separators:!0},fe=e=>{let{size:t=Ge.size,rounded:o=Ge.rounded,fillMode:r=Ge.fillMode,separators:m=Ge.separators,showClearButton:l=Ge.showClearButton,showValidationIcon:i=Ge.showValidationIcon,prefix:d,suffix:f,type:N,value:L,placeholder:S,hover:p,focus:h,valid:x,invalid:v,required:A,loading:C,disabled:K,readonly:D,...Ce}=e;return To(y,{...Ce,size:t,rounded:o,fillMode:r,hover:p,focus:h,valid:x,invalid:v,required:A,loading:C,disabled:K,readonly:D,className:n(e.className,sn),children:[d&&To(on,{children:[Te(me,{children:d}),m&&Te(xe,{})]}),Te(se,{placeholder:S,value:L,type:N}),i&&Te($,{valid:x,invalid:v,loading:C,disabled:K}),Te(q,{loading:C,disabled:K}),l&&Te(oe,{loading:C,disabled:K,readonly:D,value:L}),f&&To(on,{children:[m&&Te(xe,{}),Te(ce,{children:f})]})]})};fe.states=kr;fe.options=Ir;fe.className=sn;fe.defaultOptions=Ge;fe.moduleName=Ao;fe.folderName=tn;import{jsx as hd}from"react/jsx-runtime";import{Fragment as Cd,jsx as Id}from"react/jsx-runtime";import{Fragment as Rd,jsx as Kd}from"react/jsx-runtime";import{jsx as ge,jsxs as go}from"react/jsx-runtime";var an="k-actionsheet-titlebar",Cr={},W=e=>{let{title:t,subtitle:o,actionsStart:r,actionsEnd:m,filter:l,input:i,inputValue:d,inputPlaceholder:f,adaptive:N,children:L,...S}=e;return go("div",{...S,className:n(e.className,an),children:[go("div",{className:"k-actionsheet-titlebar-group",children:[r&&ge("div",{className:"k-actionsheet-actions",children:r}),!L&&go("div",{className:"k-actionsheet-title",children:[t&&ge("div",{className:"k-text-center",children:t}),o&&ge("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),L&&ge("div",{className:"k-actionsheet-title",children:L}),m&&ge("div",{className:"k-actionsheet-actions",children:m})]}),(i||l)&&ge("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:i?ge(fe,{value:d,placeholder:f,size:N?"large":"medium"}):ge(ne,{placeholder:"Filter",size:N?"large":"medium"})})]})};W.className=an;W.defaultOptions=Cr;import{jsx as Oo,jsxs as Or}from"react/jsx-runtime";var yo="k-actionsheet-view",Ar=[],Tr={},gr={},et=e=>{let{adaptive:t,animated:o,children:r,header:m,footer:l,...i}=e,d=m?.type===W&&Oo(W,{adaptive:t,...m?.props}),f=l?.type===It&&Oo(It,{...l?.props});return Or("div",{...i,className:n(e.className,yo,{[`${yo}-animated`]:o}),children:[d,Oo("div",{className:"k-actionsheet-content",children:r}),f]})};et.states=Ar;et.options=Tr;et.className=yo;et.defaultOptions=gr;var At="action-sheet",Wt=At;import{jsx as Qt,jsxs as Rr}from"react/jsx-runtime";var rn="k-actionsheet",yr=[],Kr={},Tt={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},X=e=>{let{side:t=Tt.side,fullscreen:o=Tt.fullscreen,adaptive:r=Tt.adaptive,overlay:m=Tt.overlay,template:l,children:i,header:d,footer:f,...N}=e;return Rr("div",{className:"k-actionsheet-container",children:[m&&Qt("div",{className:"k-overlay"}),Qt(de,{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:Qt("div",{...N,className:n(e.className,rn,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":r}),children:l||Qt(et,{header:d,footer:f,adaptive:r,...e,children:i})})})]})};X.states=yr;X.options=Kr;X.className=rn;X.defaultOptions=Tt;X.moduleName=At;X.folderName=Wt;import{jsx as wr}from"react/jsx-runtime";var ln="k-actionsheet-container",_r=[],Pr={},Br={},tt=e=>{let{children:t,...o}=e;return wr("div",{...o,className:ln,children:t})};tt.states=_r;tt.options=Pr;tt.className=ln;tt.defaultOptions=Br;tt.moduleName=At;tt.folderName=Wt;import{jsx as lu}from"react/jsx-runtime";import{Fragment as Hr,jsx as gt,jsxs as Ko}from"react/jsx-runtime";var Ro="k-actionsheet-item",zr=[s.hover,s.focus,s.selected,s.disabled],_o=e=>{let{iconName:t,text:o,description:r,hover:m,focus:l,selected:i,disabled:d,...f}=e;return Ko("span",{...f,className:n(e.className,Ro,T(Ro,{hover:m,focus:l,selected:i,disabled:d})),children:[!e.children&>(Hr,{children:Ko("span",{className:"k-actionsheet-action",children:[t&>("span",{className:"k-icon-wrap",children:gt(E,{className:"k-actionsheet-item-icon",icon:t})}),Ko("span",{className:"k-actionsheet-item-text",children:[o&>("span",{className:"k-actionsheet-item-title",children:o}),r&>("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};_o.states=zr;_o.className=Ro;import{jsx as Lu,jsxs as xu}from"react/jsx-runtime";import{jsx as vu}from"react/jsx-runtime";import{jsx as Cu}from"react/jsx-runtime";import{jsx as Ou}from"react/jsx-runtime";var Po="slider",mn=Po;import{jsx as ot,jsxs as Bo}from"react/jsx-runtime";var Ot="k-slider",Dr=[s.hover,s.focus,s.active,s.disabled,s.readonly],Ur={},Oe={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},U=e=>{let{type:t=Oe.type,orientation:o=Oe.orientation,readonly:r=Oe.readonly,disabled:m=Oe.disabled,handlePosition:l=Oe.handlePosition,showButtons:i=Oe.showButtons,showTicks:d=Oe.showTicks,hover:f,focus:N,active:L,trackStyle:S,dir:p,...h}=e,x,v;return o==="horizontal"?(x=p==="rtl"?"caret-alt-left":"caret-alt-right",v=p==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(x="caret-alt-up",v="caret-alt-down"),Bo("div",{...h,className:n(Ot,e.className,T(Ot,{readonly:r,disabled:m}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:p,children:[i&&ot(M,{className:"k-button-decrease",rounded:"full",icon:v}),Bo("div",{className:"k-slider-track-wrap",children:[d&&ot("ul",{className:"k-reset k-slider-items",children:e.children}),Bo("div",{className:"k-slider-track",style:S,children:[ot("div",{className:"k-slider-selection"}),t==="range"&&ot("span",{className:n("k-draghandle","k-draghandle-start",T(Ot,{hover:f,focus:N,active:L}))}),ot("span",{className:n("k-draghandle",`k-draghandle-${l}`,T(Ot,{hover:f,focus:N,active:L}))})]})]}),i&&ot(M,{className:"k-button-increase",rounded:"full",icon:x})]})};U.states=Dr;U.options=Ur;U.className=Ot;U.defaultOptions=Oe;U.moduleName=Po;U.folderName=mn;import{jsx as cn}from"react/jsx-runtime";var dn="k-tick",Gr=[],Fr={},un={label:!1},ye=e=>{let{style:t,label:o=un.label,orientation:r,large:m,text:l,...i}=e;return cn("li",{...i,className:n(e.className,dn,{[`k-tick-${r}`]:r,"k-tick-large":m}),style:t,children:o&&cn("span",{className:"k-label",children:l})})};ye.states=Gr;ye.options=Fr;ye.className=dn;ye.defaultOptions=un;import{Fragment as of,jsx as tf,jsxs as sf}from"react/jsx-runtime";import{Fragment as pf,jsx as lf,jsxs as mf}from"react/jsx-runtime";import{Fragment as bf,jsx as ff,jsxs as Nf}from"react/jsx-runtime";import{Fragment as Sf,jsx as hf,jsxs as vf}from"react/jsx-runtime";import{jsx as $r}from"react/jsx-runtime";var wo=e=>$r(U,{type:"gradient",showButtons:!1,showTicks:!1,...e});import{jsx as Xr}from"react/jsx-runtime";var zo=e=>Xr(U,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});import{jsx as fn,jsxs as Qr}from"react/jsx-runtime";var bn="k-spin-button",qr=[],Wr={size:[a.small,a.medium,a.large],fillMode:[u.solid,u.flat,u.outline,u.clear,u.link]},Ho={size:a.medium,fillMode:u.solid},Ke=e=>{let{size:t=Ho.size,fillMode:o=Ho.fillMode,...r}=e;return Qr("span",{...r,className:n(bn,e.className),children:[fn(M,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),fn(M,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};Ke.states=qr;Ke.options=Wr;Ke.className=bn;Ke.defaultOptions=Ho;Ke.moduleName=null;Ke.folderName=null;var Nn="numeric-textbox",Ln="numerictextbox";import{Fragment as xn,jsx as Me,jsxs as Do}from"react/jsx-runtime";var Mn="k-numerictextbox",Yr=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],Zr={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[u.solid,u.flat,u.outline]},Fe={showSpinButton:!0,showClearButton:!0,size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode,separators:!0},_=e=>{let{size:t=Fe.size,rounded:o=Fe.rounded,fillMode:r=Fe.fillMode,separators:m=Fe.separators,showClearButton:l=Fe.showClearButton,showSpinButton:i=Fe.showSpinButton,prefix:d,suffix:f,value:N,placeholder:L,hover:S,focus:p,valid:h,invalid:x,required:v,loading:A,disabled:C,readonly:K,...D}=e;return Do(y,{...D,size:t,rounded:o,fillMode:r,hover:S,focus:p,valid:h,invalid:x,required:v,loading:A,disabled:C,readonly:K,className:n(e.className,Mn),children:[d&&Do(xn,{children:[Me(me,{children:d}),m&&Me(xe,{})]}),Me(se,{placeholder:L,value:N}),Me($,{valid:h,invalid:x,loading:A,disabled:C}),Me(q,{loading:A,disabled:C}),l&&Me(oe,{loading:A,disabled:C,readonly:K,value:N}),f&&Do(xn,{children:[m&&Me(xe,{}),Me(ce,{children:f})]}),i&&Me(Ke,{className:"k-input-spinner",size:t,fillMode:r})]})};_.states=Yr;_.options=Zr;_.className=Mn;_.defaultOptions=Fe;_.moduleName=Nn;_.folderName=Ln;import{jsx as ob}from"react/jsx-runtime";import{jsx as ei}from"react/jsx-runtime";var jr="k-no-data",yt=e=>ei("span",{className:n(jr,e.className),children:e.children});var he="list",Re=he;import{jsx as st,jsxs as Sn}from"react/jsx-runtime";var Uo="k-list",ti=[],oi={size:[a.small,a.medium,a.large]},vn={size:a.medium},R=e=>{let{size:t=vn.size,virtualization:o,children:r,optionLabel:m,customValue:l,screenReaders:i,...d}=e,f,N,L,S,p=[];return r?r.map((h,x)=>{h.type===H?(h.props.root===!0?(f=h.props.label,h.props.children.map((v,A)=>{p.push(st(I,{...v.props},`optChild-${A}-${new Date().getTime()}`))})):h.props.children.forEach((v,A)=>{let C="";A===0&&(C=h.props.label),p.push(st(I,{className:A===0?"k-first":"",...v.props,groupLabel:C},`groupLabel-${A}-${new Date().getTime()}`))}),N=st(H,{label:f,virtualization:o,children:p})):h.type===I&&(p.push(st(I,{...h.props},`${h.type}-${x}`)),L=st(nt,{virtualization:o,children:p}),i&&(S=Sn(yt,{className:"k-sr-only",children:[p.length," items found."]})))}):S=st(yt,{children:"No data found."}),Sn("div",{...d,className:n(e.className,Uo,k(Uo,{size:t}),{"k-virtual-list":o}),children:[m,l,N,L,S]})};R.states=ti;R.options=oi;R.className=Uo;R.defaultOptions=vn;R.moduleName=he;R.folderName=Re;import{jsx as ri}from"react/jsx-runtime";var En="k-list-container",si=[],ni={},ai={},at=e=>{let{...t}=e;return ri("div",{...t,className:n(e.className,En),children:e.children})};at.states=si;at.options=ni;at.className=En;at.defaultOptions=ai;at.moduleName=he;at.folderName=Re;import{jsx as $e,jsxs as pi}from"react/jsx-runtime";var Go="k-list",ii=[],li={size:[a.small,a.medium,a.large]},kn={size:a.medium},Se=e=>{let{size:t=kn.size,virtualization:o,children:r,...m}=e,l,i,d,f=[];return r?r.map((N,L)=>{N.type===H?(N.props.root===!0?(l=N.props.label,N.props.children.map((S,p)=>{f.push($e(I,{...S.props},`optChild-${p}-${new Date().getTime()}`))})):(f.push($e(In,{...N.props,children:N.props.label},`listChild-${L}`)),N.props.children.map((S,p)=>{f.push($e(I,{...S.props},`fwOptChild-${p}-${new Date().getTime()}`))})),i=$e(H,{label:l,virtualization:o,children:f})):N.type===I&&(f.push($e(I,{...N.props},`${N.type}-${L}`)),d=$e(nt,{virtualization:o,children:f}))}):d=$e(yt,{children:"No data found."}),pi("div",{...m,className:n(e.className,Go,k(Go,{size:t}),{"k-virtual-list":o}),children:[i,d]})};Se.states=ii;Se.options=li;Se.className=Go;Se.defaultOptions=kn;Se.moduleName=he;Se.folderName=Re;var Xe="checkbox",rt=Xe;import{jsx as Cn}from"react/jsx-runtime";var Yt="k-checkbox",mi=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.checked,s.indeterminate],ci={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full]},Fo={size:a.medium,rounded:b.medium},be=e=>{let{id:t,checked:o,indeterminate:r,hover:m,focus:l,disabled:i,invalid:d,valid:f,required:N,size:L=Fo.size,rounded:S=Fo.rounded,...p}=e;return Cn("span",{className:"k-checkbox-wrap",children:Cn("input",{...p,id:t,type:"checkbox",defaultChecked:o,required:N,className:n(e.className,Yt,k(Yt,{size:L,rounded:S}),T(Yt,{hover:m,focus:l,disabled:i,invalid:d,valid:f,indeterminate:r,checked:o}))})})};be.states=mi;be.options=ci;be.className=Yt;be.defaultOptions=Fo;be.moduleName=Xe;be.folderName=rt;import{jsx as fi}from"react/jsx-runtime";var An="k-checkbox-list",di=[],ui={},Tn={layout:"vertical"},_e=e=>{let{layout:t=Tn.layout,...o}=e;return fi("ul",{...o,className:n(e.className,An,{[`k-list-${t}`]:t}),children:e.children})};_e.states=di;_e.options=ui;_e.className=An;_e.defaultOptions=Tn;_e.moduleName=Xe;_e.folderName=rt;import{jsx as xi}from"react/jsx-runtime";var gn="k-checkbox-list-item",bi=[],Ni={},Li={},Pe=e=>{let{...t}=e;return xi("li",{...t,className:n(e.className,gn),children:e.children})};Pe.states=bi;Pe.options=Ni;Pe.className=gn;Pe.defaultOptions=Li;Pe.moduleName=Xe;Pe.folderName=rt;import{Fragment as Gb,jsx as Ub,jsxs as Fb}from"react/jsx-runtime";import{Fragment as qb,jsx as Jb,jsxs as Wb}from"react/jsx-runtime";import{Fragment as eN,jsx as jb,jsxs as tN}from"react/jsx-runtime";import{Fragment as rN,jsx as aN,jsxs as iN}from"react/jsx-runtime";import{jsx as cN}from"react/jsx-runtime";import{jsx as bN}from"react/jsx-runtime";import{jsx as Zt,jsxs as vi}from"react/jsx-runtime";var Xo="k-list-item",Mi=[s.hover,s.focus,s.selected,s.disabled],hi={},Si={},I=e=>{let{text:t,groupLabel:o,group:r,showIcon:m,iconName:l,showCheckbox:i,checked:d,hover:f,focus:N,selected:L,disabled:S,...p}=e,h=t||e.children;return vi("li",{...p,className:n(e.className,r?"k-list-group-item":Xo,T(Xo,{hover:f,focus:N,disabled:S,selected:L})),children:[i&&Zt(be,{checked:d}),m&&Zt(E,{icon:l}),Zt("span",{className:"k-list-item-text",children:h}),o&&o!==""&&Zt("div",{className:"k-list-item-group-label",children:o})]})};I.states=Mi;I.options=hi;I.className=Xo;I.defaultOptions=Si;I.moduleName=he;I.folderName=Re;import{jsx as Vo,jsxs as ki}from"react/jsx-runtime";var Ei="k-list-content",nt=e=>{let{virtualization:t,...o}=e;return ki("div",{...o,className:n(Ei,e.className),children:[Vo("ul",{className:n("k-list-ul"),children:e.children}),t&&Vo("div",{className:"k-height-container",children:Vo("div",{})})]})};import{jsx as On}from"react/jsx-runtime";var Ii="k-list-group-sticky-header",yn=e=>On("div",{className:n(Ii,e.className),children:On("div",{className:"k-list-header-text",children:e.children})});import{Fragment as Ci,jsx as Kn,jsxs as Ai}from"react/jsx-runtime";var H=e=>{let{virtualization:t,label:o}=e;return Ai(Ci,{children:[o&&Kn(yn,{children:o}),e.children&&Kn(nt,{virtualization:t,children:e.children})]})};import{jsx as Rn}from"react/jsx-runtime";var Ti="k-list-group-item",In=e=>Rn("li",{className:n(Ti,e.className),children:Rn("span",{className:"k-list-item-text",children:e.children})});import{jsx as Ki}from"react/jsx-runtime";var Jo="k-list-optionlabel",gi=[s.hover,s.focus,s.selected,s.disabled],Oi={},yi={},jt=e=>{let{text:t,hover:o,focus:r,selected:m,disabled:l,...i}=e;return Ki("div",{...i,className:n(Jo,T(Jo,{hover:o,focus:r,selected:m,disabled:l})),children:t})};jt.states=gi;jt.options=Oi;jt.className=Jo;jt.defaultOptions=yi;import{jsx as Bi}from"react/jsx-runtime";var qo="k-list-custom-value",Ri=[s.hover,s.focus,s.selected,s.disabled],_i={},Pi={},Be=e=>{let{text:t,hover:o,focus:r,selected:m,disabled:l,...i}=e;return Bi("div",{...i,className:n(qo,T(qo,{hover:o,focus:r,selected:m,disabled:l})),children:t})};Be.states=Ri;Be.options=_i;Be.className=qo;Be.defaultOptions=Pi;import{jsx as jN}from"react/jsx-runtime";import{jsx as sL}from"react/jsx-runtime";import{jsx as iL,jsxs as lL}from"react/jsx-runtime";import{jsx as dL,jsxs as uL}from"react/jsx-runtime";import{jsx as LL}from"react/jsx-runtime";import{jsx as SL,jsxs as vL}from"react/jsx-runtime";import{jsx as CL,jsxs as AL}from"react/jsx-runtime";var _n="dropdown-list",Pn="dropdownlist";import{Fragment as Hi,jsx as G,jsxs as Wo}from"react/jsx-runtime";var Bn="k-dropdownlist",wi=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],zi={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[u.solid,u.flat,u.outline]},it={showValue:!0,arrowIconName:"caret-alt-down",size:a.medium,rounded:b.medium,fillMode:u.solid},Ne=e=>{let{size:t=it.size,rounded:o=it.rounded,fillMode:r=it.fillMode,arrowIconName:m=it.arrowIconName,showValue:l=it.showValue,valueIconName:i,prefix:d,suffix:f,value:N,placeholder:L,hover:S,focus:p,valid:h,invalid:x,required:v,loading:A,disabled:C,readonly:K,popup:D,opened:Ce,adaptive:Nt,adaptiveSettings:Lt,adaptiveTitle:ao,adaptiveSubtitle:ro,adaptiveFilter:ca,...da}=e;return Wo(Hi,{children:[Wo(F,{...da,size:t,rounded:o,fillMode:r,hover:S,focus:p,valid:h,invalid:x,required:v,loading:A,disabled:C,readonly:K,className:n(e.className,Bn,{"k-icon-picker":!l&&i}),children:[G(me,{children:d}),G(Ue,{placeholder:L,value:N,showValue:l,valueIconName:i}),G($,{valid:h,invalid:x,loading:A,disabled:C}),G(q,{loading:A,disabled:C}),G(ce,{children:f}),G(M,{className:"k-input-button",icon:m,rounded:null,size:e.size,fillMode:e.fillMode})]}),Ce&&D&&G(z,{className:"k-list-container k-dropdownlist-popup",children:D}),Nt&&G(X,{adaptive:!0,...Lt,header:G(W,{actionsEnd:G(M,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:ca,inputValue:N,inputPlaceholder:L,title:ao,subtitle:ro}),children:G("div",{className:"k-list-container",children:Wo(R,{size:"large",children:[G(I,{text:"List item"}),G(I,{text:"List item"}),G(I,{text:"List item"})]})})})]})};Ne.states=wi;Ne.options=zi;Ne.className=Bn;Ne.defaultOptions=it;Ne.moduleName=_n;Ne.folderName=Pn;import{jsx as rx}from"react/jsx-runtime";import{jsx as cx,jsxs as dx}from"react/jsx-runtime";import{Fragment as hx,jsx as xx,jsxs as Mx}from"react/jsx-runtime";import{jsx as kx}from"react/jsx-runtime";import{jsx as gx,jsxs as Ox}from"react/jsx-runtime";import{jsx as Px,jsxs as Bx}from"react/jsx-runtime";import{Fragment as $x,jsx as Gx,jsxs as Fx}from"react/jsx-runtime";import{Fragment as Zx,jsx as Qx,jsxs as Yx}from"react/jsx-runtime";import{Fragment as fM,jsx as uM}from"react/jsx-runtime";import{Fragment as SM,jsx as hM}from"react/jsx-runtime";import{Fragment as Kt,jsx as g,jsxs as P}from"react/jsx-runtime";var wn="k-colorgradient-inputs",Di=[],Ui={size:[a.small,a.medium,a.large]},zn={mode:"rgba",size:a.medium},lt=e=>{let{mode:t=zn.mode,size:o,...r}=e;return P("div",{...r,className:n(wn,"k-hstack"),children:[g("div",{className:"k-vstack",children:g(M,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),t==="rgba"&&P(Kt,{children:[P("div",{className:"k-vstack",children:[g(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),g("label",{className:"k-colorgradient-input-label",children:"R"})]}),P("div",{className:"k-vstack",children:[g(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),g("label",{className:"k-colorgradient-input-label",children:"G"})]}),P("div",{className:"k-vstack",children:[g(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),g("label",{className:"k-colorgradient-input-label",children:"B"})]}),P("div",{className:"k-vstack",children:[g(_,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),g("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&P(Kt,{children:[P("div",{className:"k-vstack",children:[g(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),g("label",{className:"k-colorgradient-input-label",children:"R"})]}),P("div",{className:"k-vstack",children:[g(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),g("label",{className:"k-colorgradient-input-label",children:"G"})]}),P("div",{className:"k-vstack",children:[g(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),g("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&P(Kt,{children:[P("div",{className:"k-vstack",children:[g(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),g("label",{className:"k-colorgradient-input-label",children:"H"})]}),P("div",{className:"k-vstack",children:[g(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),g("label",{className:"k-colorgradient-input-label",children:"S"})]}),P("div",{className:"k-vstack",children:[g(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),g("label",{className:"k-colorgradient-input-label",children:"V"})]}),P("div",{className:"k-vstack",children:[g(_,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),g("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&P(Kt,{children:[P("div",{className:"k-vstack",children:[g(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),g("label",{className:"k-colorgradient-input-label",children:"H"})]}),P("div",{className:"k-vstack",children:[g(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),g("label",{className:"k-colorgradient-input-label",children:"S"})]}),P("div",{className:"k-vstack",children:[g(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),g("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&g(Kt,{children:P("div",{className:"k-vstack k-flex-1",children:[g(fe,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),g("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};lt.states=Di;lt.options=Ui;lt.className=wn;lt.defaultOptions=zn;import{jsx as Je,jsxs as qe}from"react/jsx-runtime";var Hn="k-colorgradient-color-contrast",Gi=[],Fi={},$i={},pt=()=>qe("div",{className:n(Hn,"k-vbox"),children:[qe("div",{className:"k-contrast-ratio",children:[Je("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),qe("span",{className:"k-contrast-validation !k-text-success",children:[Je(E,{icon:"check"}),Je(E,{icon:"check"})]})]}),qe("div",{children:[Je("span",{children:"AA: 4.5"}),qe("span",{className:"k-contrast-validation !k-text-success",children:["Pass",Je(E,{icon:"check"})]})]}),qe("div",{children:[Je("span",{children:"AAA: 7.0"}),qe("span",{className:"k-contrast-validation !k-text-error",children:["Fail",Je(E,{icon:"x"})]})]})]});pt.states=Gi;pt.options=Fi;pt.className=Hn;pt.defaultOptions=$i;var Dn="color-gradient",Un="colorgradient";import{jsx as Q,jsxs as Rt}from"react/jsx-runtime";var eo="k-colorgradient",Xi=[s.hover,s.focus,s.readonly,s.disabled],Vi={size:[a.small,a.medium,a.large]},ae={size:a.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"},Le=e=>{let{size:t=ae.size,mode:o=ae.mode,readonly:r=ae.readonly,disabled:m=ae.disabled,gradientStyle:l=ae.gradientStyle,dragHandleStyle:i=ae.dragHandleStyle,alphaStyle:d=ae.alphaStyle,alphaStyleHorizontal:f=ae.alphaStyleHorizontal,contrast:N=ae.contrast,dir:L,hover:S,focus:p,hoverHandle:h,focusHandle:x,canvasOrientation:v=ae.canvasOrientation,...A}=e;return Rt("div",{...A,className:n(e.className,eo,k(eo,{size:t}),T(eo,{hover:S,focus:p,readonly:r,disabled:m})),dir:L,children:[!v||v==="horizontal"&&Rt("div",{className:"k-colorgradient-canvas k-hstack",children:[Q("div",{className:"k-hsv-rectangle",style:l,children:Q("div",{className:"k-hsv-gradient",children:Q("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":h,"k-focus":x}),style:i})})}),Rt("div",{className:"k-hsv-controls k-hstack",children:[Q(zo,{className:"k-hue-slider",hover:h,focus:x}),o!=="rgb"&&o!=="hsv"&&Q(zo,{className:"k-alpha-slider",hover:h,focus:x,trackStyle:d})]})]}),v==="vertical"&&Rt("div",{className:"k-colorgradient-canvas k-vstack",children:[Q("div",{className:"k-hsv-rectangle",style:l,children:Q("div",{className:"k-hsv-gradient",children:Q("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":h,"k-focus":x}),style:i})})}),Rt("div",{className:"k-hsv-controls k-vstack",children:[Q(wo,{className:"k-hue-slider",hover:h,focus:x}),o!=="rgb"&&o!=="hsv"&&Q(wo,{className:"k-alpha-slider",hover:h,focus:x,trackStyle:f})]})]}),Q(lt,{mode:e.mode,size:t}),N&&Q(pt,{})]})};Le.states=Xi;Le.options=Vi;Le.className=eo;Le.defaultOptions=ae;Le.moduleName=Dn;Le.folderName=Un;import{jsx as qM}from"react/jsx-runtime";import{jsx as ZM}from"react/jsx-runtime";import{jsx as Ji}from"react/jsx-runtime";var Gn=e=>Ji("tr",{children:e.children});import{jsx as Qi}from"react/jsx-runtime";var Qo="k-colorpalette-tile",qi=[s.hover,s.focus,s.selected],Wi={},_t=e=>{let{color:t,tileSize:o,hover:r,focus:m,selected:l,...i}=e,d={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return Qi("td",{...i,className:n(e.className,Qo,T(Qo,{hover:r,focus:m,selected:l})),style:d})};_t.states=qi;_t.options=Wi;_t.className=Qo;var Fn="color-palette",$n="colorpalette";import{jsx as Pt}from"react/jsx-runtime";var to="k-colorpalette",Yi=[s.disabled],Zi={size:[a.small,a.medium,a.large]},Yo={columns:10,size:a.medium},we=e=>{let{size:t=Yo.size,palette:o,columns:r=Yo.columns,tileSize:m,disabled:l,...i}=e,d=[];if(o){let f=r||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/f)},(L,S)=>{let p=[];N.slice(S*f,(S+1)*f).map((x,v)=>{p.push(Pt(_t,{color:x,tileSize:m},v))});let h=Pt(Gn,{children:p},S);d.push(h)})}return Pt("div",{...i,className:n(e.className,to,T(to,{disabled:l}),k(to,{size:t})),children:Pt("table",{className:"k-colorpalette-table",children:Pt("tbody",{children:d.length>0?d:e.children})})})};we.states=Yi;we.options=Zi;we.className=to;we.defaultOptions=Yo;we.moduleName=Fn;we.folderName=$n;var Zo={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 Eh}from"react/jsx-runtime";var Xn="color-editor",Vn="coloreditor";import{jsx as Y,jsxs as mt}from"react/jsx-runtime";var oo="k-coloreditor",ji=[s.focus],el={size:[a.small,a.medium,a.large]},ct={size:a.medium,view:"gradient",palette:Zo.office,actionButtons:!0,canvasOrientation:"horizontal"},Z=e=>{let{size:t=ct.size,view:o=ct.view,palette:r=ct.palette,color:m,currentColor:l,focus:i,focusView:d,dir:f,group:N,actionButtons:L=ct.actionButtons,canvasOrientation:S=ct.canvasOrientation,...p}=e;return mt("div",{...p,className:n(e.className,"k-flatcolorpicker",oo,k(oo,{size:t}),T(oo,{focus:i})),dir:f,children:[mt("div",{className:"k-coloreditor-header k-hstack",children:[Y("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&mt(B,{fillMode:"flat",children:[Y(M,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),Y(M,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),Y("div",{className:"k-spacer"}),mt("div",{className:"k-coloreditor-header-actions k-hstack",children:[Y(M,{fillMode:"flat",icon:"droplet-slash",size:t}),mt("div",{className:"k-coloreditor-preview k-vstack",children:[Y(Ae,{className:"k-coloreditor-preview-color",color:m}),Y(Ae,{className:"k-coloreditor-current-color",color:l})]})]})]}),Y("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?Y(Le,{focus:d,size:t,canvasOrientation:S}):Y(we,{palette:r,size:t})}),L&&mt(ue,{className:"k-coloreditor-footer",alignment:"start",children:[Y(M,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),Y(M,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};Z.states=ji;Z.options=el;Z.className=oo;Z.defaultOptions=ct;Z.moduleName=Xn;Z.folderName=Vn;import{jsx as $h}from"react/jsx-runtime";import{jsx as qh}from"react/jsx-runtime";import{jsx as Zh}from"react/jsx-runtime";import{jsx as oS}from"react/jsx-runtime";var Jn="color-picker",qn="colorpicker";import{Fragment as sl,jsx as j,jsxs as es}from"react/jsx-runtime";var Wn="k-colorpicker",tl=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled],ol={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[u.solid,u.flat,u.outline]},Bt={arrowIconName:"caret-alt-down",size:F.defaultOptions.size,rounded:F.defaultOptions.rounded,fillMode:F.defaultOptions.fillMode},re=e=>{let{size:t=Bt.size,rounded:o=Bt.rounded,fillMode:r=Bt.fillMode,arrowIconName:m=Bt.arrowIconName,prefix:l,suffix:i,value:d,placeholder:f,hover:N,focus:L,valid:S,invalid:p,required:h,disabled:x,valueIconName:v,popup:A,opened:C,adaptive:K,adaptiveSettings:D,adaptiveTitle:Ce,adaptiveSubtitle:Nt,...Lt}=e;return es(sl,{children:[es(F,{...Lt,size:t,rounded:o,fillMode:r,hover:N,focus:L,valid:S,invalid:p,required:h,disabled:x,className:n(e.className,Wn,"k-icon-picker"),children:[j(me