@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 67.8 kB
JavaScript
var s=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?s(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var E=(e,t)=>s({[`${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:a,hover:l,focus:p,checked:i,active:u,selected:f,disabled:N,indeterminate:L,loading:S,empty:m,readonly:M,highlighted:x,...v}=t;return s({"k-valid":o,"k-invalid":a,"k-hover":l,"k-focus":p,"k-checked":i,"k-active":u,"k-selected":f,"k-disabled":N,"k-indeterminate":L&&!i,"k-loading":S,"k-empty":m,"k-readonly":M,"k-highlighted":x},Object.keys(v).reduce((g,I)=>(I.startsWith("k-")?g[I]=v[I]:g[`k-${I}`]=v[I],g),{}))};function In(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var r={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},b={small:"small",medium:"medium",large:"large",full:"full"},c={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},d={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},n={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 kr,jsx as Tn}from"react/jsx-runtime";var co="k-font-icon",hr=[],Sr={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[d.base,d.primary,d.secondary,d.tertiary,d.success,d.warning,d.error,d.info,d.light,d.dark]},vr={},vt=e=>{let{size:t,themeColor:o,icon:a,rotate:l,flip:p,...i}=e;return a?Tn("span",{...i,className:s(e.className,co,E(co,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${l}`]:l,"k-flip-h":p==="h"||p==="both","k-flip-v":p==="v"||p==="both"})}):Tn(kr,{})};vt.states=hr;vt.options=Sr;vt.className=co;vt.defaultOptions=vr;var gn=vt;import{Fragment as Ir,jsx as Ft}from"react/jsx-runtime";var uo="k-svg-icon",Er=[],Cr={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[d.base,d.primary,d.secondary,d.tertiary,d.success,d.warning,d.error,d.info,d.light,d.dark]},An={viewBox:"0 0 24 24"},kt=e=>{let{size:t,themeColor:o,rotate:a,flip:l,viewBox:p=An.viewBox,icon:i,...u}=e;if(!i)return Ft(Ir,{});i==="none"&&{...u,className:s(e.className,uo,"k-none")};let f=typeof i=="object"&&i.name&&i.name;return Ft("span",{...u,className:s(e.className,uo,E("k-icon",{size:t}),{[`k-svg-i-${f}`]:f,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),children:Ft("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof i=="object"?i.viewBox:p,dangerouslySetInnerHTML:typeof i=="object"?{__html:i.content}:void 0,children:i?void 0:e.children})})};kt.states=Er;kt.options=Cr;kt.className=uo;kt.defaultOptions=An;var fo=kt;import*as bo from"@progress/kendo-svg-icons";var On="icon",yn="icons";import{Fragment as Bn,jsx as Et}from"react/jsx-runtime";var $t="k-icon",Tr=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),gr=[],Ar={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[d.base,d.primary,d.secondary,d.tertiary,d.success,d.warning,d.error,d.info,d.light,d.dark]},No={viewBox:"0 0 24 24",type:"svg"},k=e=>{let{size:t,themeColor:o,icon:a,type:l=No.type,rotate:p,flip:i,viewBox:u=No.viewBox,...f}=e;if(!a)return Et(Bn,{});if(l==="svg"){if(a==="none")return Et(fo,{...f,className:s(e.className,$t),icon:a,size:t});let N=bo[a]?a:Tr(`${a}-icon`);return bo[N]?Et(fo,{...f,className:s(e.className,$t),icon:bo[N],size:t,themeColor:o,rotate:p,flip:i,viewBox:u}):Et(Bn,{})}return Et(gn,{...f,className:s(e.className,$t),icon:a,size:t,themeColor:o,rotate:p,flip:i})};k.states=gr;k.options=Ar;k.defaultOptions=No;k.className=$t;k.moduleName=On;k.folderName=yn;var Lo="button",Rn=Lo;import{Fragment as Rr,jsx as Ct,jsxs as Kn}from"react/jsx-runtime";var It="k-button",Or=["icon-button"],yr=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],Br={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[c.solid,c.flat,c.outline,c.clear,c.link],themeColor:[d.base,d.primary,d.secondary,d.tertiary,d.success,d.warning,d.error,d.info,d.light,d.dark,d.inverse]},Ge={size:r.medium,rounded:b.medium,fillMode:c.solid,themeColor:d.base,showArrow:!1,arrowIconName:"caret-alt-down"},h=e=>{let{size:t=Ge.size,rounded:o=Ge.rounded,fillMode:a=Ge.fillMode,themeColor:l=Ge.themeColor,showArrow:p=Ge.showArrow,arrowIconName:i=Ge.arrowIconName,variant:u,hover:f,focus:N,active:L,selected:S,disabled:m,icon:M,text:x,iconClassName:v,...g}=e,I=M!==void 0,B=e.children!==void 0;return Kn("button",{...g,className:s(e.className,It,In(It,u),E(It,{size:t,rounded:o,fillMode:a,themeColor:l}),T(It,{hover:f,focus:N,active:L,disabled:m,selected:S}),{"k-icon-button":!x&&!B&&I}),children:[M&&Ct(k,{className:s(v,"k-button-icon"),icon:M}),x?Kn(Rr,{children:[x&&Ct("span",{className:"k-button-text",children:x}),e.children]}):e.children&&Ct("span",{className:"k-button-text",children:e.children}),p&&Ct("span",{className:"k-menu-button-arrow k-button-arrow",children:Ct(k,{icon:i})})]})};h.states=yr;h.options=Br;h.variants=Or;h.className=It;h.defaultOptions=Ge;h.moduleName=Lo;h.folderName=Rn;import{jsx as Kr}from"react/jsx-runtime";var Xt=e=>Kr(h,{icon:"folder",...e,children:void 0});import{jsx as Pr}from"react/jsx-runtime";var xo=e=>Pr(h,{icon:"folder",children:"Button",...e});import{jsx as zp}from"react/jsx-runtime";var Mo="button",Pn=Mo;import{jsx as zr}from"react/jsx-runtime";var Tt="k-button-group",_r=[n.disabled],wr={fillMode:[c.solid,c.flat,c.outline,c.clear,c.link]},_n={fillMode:c.solid},K=e=>{let{fillMode:t=_n.fillMode,disabled:o,stretched:a,...l}=e;return zr("div",{...l,className:s(e.className,Tt,E(Tt,{fillMode:t}),T(Tt,{disabled:o}),{[`${Tt}-stretched`]:a}),children:e.children})};K.states=_r;K.options=wr;K.className=Tt;K.defaultOptions=_n;K.moduleName=Mo;K.folderName=Pn;import{Fragment as em,jsx as jp,jsxs as tm}from"react/jsx-runtime";import{Fragment as im,jsx as am,jsxs as lm}from"react/jsx-runtime";import{Fragment as fm,jsx as um,jsxs as bm}from"react/jsx-runtime";import{Fragment as Sm,jsx as hm,jsxs as vm}from"react/jsx-runtime";var gt="input",Vt=gt;import{jsx as Gr}from"react/jsx-runtime";var Jt="k-input",Hr=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Dr={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[c.solid,c.flat,c.outline]},qt={size:r.medium,rounded:r.medium,fillMode:c.solid},y=e=>{let{hover:t,focus:o,disabled:a,invalid:l,valid:p,loading:i,readonly:u,size:f=qt.size,rounded:N=qt.rounded,fillMode:L=qt.fillMode,...S}=e;return Gr("span",{...S,className:s(e.className,Jt,E(Jt,{size:f,rounded:N,fillMode:L}),T(Jt,{hover:t,focus:o,disabled:a,invalid:l,valid:p,loading:i,readonly:u}))})};y.states=Hr;y.options=Dr;y.className=Jt;y.defaultOptions=qt;y.moduleName=gt;y.folderName=Vt;import{jsx as $r}from"react/jsx-runtime";var Wt="k-picker",Ur=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Fr={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[c.solid,c.flat,c.outline]},Qt={size:r.medium,rounded:b.medium,fillMode:c.solid},X=e=>{let{hover:t,focus:o,disabled:a,invalid:l,valid:p,loading:i,readonly:u,size:f=Qt.size,rounded:N=Qt.rounded,fillMode:L=Qt.fillMode,...S}=e;return $r("span",{...S,className:s(e.className,Wt,E(Wt,{size:f,rounded:N,fillMode:L}),T(Wt,{hover:t,focus:o,disabled:a,invalid:l,valid:p,loading:i,readonly:u})),children:e.children})};X.states=Ur;X.options=Fr;X.className=Wt;X.defaultOptions=Qt;X.moduleName=gt;X.folderName=Vt;import{Fragment as Jr,jsx as ho}from"react/jsx-runtime";var wn="k-clear-value",Xr=[n.disabled,n.loading,n.readonly],Vr={},se=e=>{let{disabled:t,loading:o,readonly:a,value:l}=e;return t||a||o||!l?ho(Jr,{}):ho("span",{className:s(e.className,wn),children:ho(k,{icon:"x"})})};se.states=Xr;se.options=Vr;se.className=wn;import{jsx as Qr}from"react/jsx-runtime";var So="k-input-inner",qr=[],Wr={},Yt={type:"text",autocomplete:"off",value:"",placeholder:""},re=e=>{let{value:t=Yt.value,type:o=Yt.type,placeholder:a=Yt.placeholder,autocomplete:l=Yt.autocomplete,...p}=e;return Qr("input",{...p,type:o,className:s(e.className,So,E(So,e)),placeholder:a,autoComplete:l,defaultValue:t})};re.states=qr;re.options=Wr;re.className=So;import{jsx as zn,jsxs as jr}from"react/jsx-runtime";var vo="k-input-inner",Yr=[],Zr={},Ue=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:l,valueIconName:p,...i}=e;return jr("span",{...i,className:s(e.className,vo,E(vo,e)),children:[l,!l&&p&&zn(k,{className:"k-input-value-icon",icon:p}),a&&!t&&o,a&&t&&zn("span",{className:"k-input-value-text",children:t})]})};Ue.states=Yr;Ue.options=Zr;Ue.className=vo;import{jsx as oa}from"react/jsx-runtime";var ko="k-input-inner",ea=[],ta={},Hn={value:"",placeholder:""},Eo=e=>{let{value:t=Hn.value,placeholder:o=Hn.placeholder,rows:a,...l}=e;return oa("textarea",{...l,className:s(e.className,ko,E(ko,e)),placeholder:o,rows:a,defaultValue:t})};Eo.states=ea;Eo.options=ta;Eo.className=ko;import{Fragment as sa,jsx as Dn}from"react/jsx-runtime";var Gn="k-input-loading-icon",na=[n.disabled,n.loading],Q=e=>{let{disabled:t,loading:o}=e;return t||!o?Dn(sa,{}):Dn("span",{className:s(e.className,Gn,"k-icon k-i-loading")})};Q.states=na;Q.className=Gn;import{Fragment as ia,jsx as Un}from"react/jsx-runtime";var Fn="k-input-validation-icon",ra=[n.valid,n.invalid,n.disabled,n.loading],aa={},V=e=>{let{valid:t,invalid:o,disabled:a,loading:l}=e,p=o?"warning-circle":"check-circle";return a||l||!!!(t||o)?Un(ia,{}):Un(k,{className:s(Fn),icon:p})};V.states=ra;V.options=aa;V.className=Fn;import{Fragment as ma,jsx as $n}from"react/jsx-runtime";var la="k-input-prefix",pa={direction:"horizontal"},ce=e=>{let{direction:t=pa.direction,...o}=e;return e.children?$n("span",{...o,className:s(la,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):$n(ma,{})};import{Fragment as ua,jsx as Xn}from"react/jsx-runtime";var ca="k-input-suffix",da={direction:"horizontal"},de=e=>{let{direction:t=da.direction,...o}=e;return e.children?Xn("span",{...o,className:s(ca,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Xn(ua,{})};import{jsx as fc}from"react/jsx-runtime";import{jsx as xc}from"react/jsx-runtime";import{jsx as ba}from"react/jsx-runtime";var Vn="k-input-separator",fa={direction:"vertical"},Me=e=>{let{direction:t=fa.direction,...o}=e;return ba("span",{...o,className:s(Vn,e.className,{[`${Vn}-${t}`]:t})})};import{jsx as Jn,jsxs as xa}from"react/jsx-runtime";var qn="k-color-preview",Na=[],La={},ge=e=>{let{color:t,iconName:o,...a}=e;return xa("span",{...a,className:s(e.className,qn,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&Jn(k,{icon:o,className:"k-color-preview-icon"}),Jn("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};ge.states=Na;ge.options=La;ge.className=qn;var Co="popup",Wn=Co;import{jsx as Qn}from"react/jsx-runtime";var Yn="k-animation-container",Ma=[],ha={},Zn={positionMode:"absolute"},ue=e=>{let{positionMode:t=Zn.positionMode,animationStyle:o,offset:a,...l}=e;return Qn("div",{...l,style:{...a,...e.style},className:s(e.className,Yn,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:Qn("div",{className:"k-child-animation-container",style:o,children:e.children})})};ue.states=Ma;ue.options=ha;ue.className=Yn;ue.defaultOptions=Zn;ue.moduleName=Co;ue.folderName=Wn;var Io="popup",jn=Io;import{jsx as es}from"react/jsx-runtime";var ts="k-popup",Sa=[],va={},os={positionMode:"absolute"},w=e=>{let{offset:t,positionMode:o=os.positionMode,animationStyle:a,...l}=e;return es(ue,{positionMode:o,offset:t,animationStyle:a,children:es("div",{...l,className:s(e.className,ts),children:e.children})})};w.states=Sa;w.options=va;w.className=ts;w.defaultOptions=os;w.moduleName=Io;w.folderName=jn;var To="action-buttons",ns=To;import{jsx as Ca}from"react/jsx-runtime";var Zt="k-actions",ka=[],Ea={},go={alignment:"start",orientation:"horizontal"},fe=e=>{let{alignment:t=go.alignment,orientation:o=go.orientation,...a}=e;return Ca("div",{...a,className:s(Zt,{[`${Zt}-${t}`]:t,[`${Zt}-${o}`]:o},e.className),children:e.children})};fe.states=ka;fe.options=Ea;fe.className=Zt;fe.defaultOptions=go;fe.moduleName=To;fe.folderName=ns;import{jsx as Ta}from"react/jsx-runtime";var Ia="k-actionsheet-footer",ss={alignment:"stretched",orientation:"horizontal"},At=e=>{let{alignment:t=ss.alignment,orientation:o=ss.orientation,template:a,as:l=a?"div":fe,...p}=e;return Ta(l,{...p,...!a&&{alignment:t,orientation:o},className:s(e.className,Ia),children:e.children})};var Ao="searchbox",rs=Ao;import{jsx as Ot,jsxs as Oa}from"react/jsx-runtime";var as="k-searchbox",ga=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],Aa={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[c.solid,c.flat,c.outline]},Oo={showIcon:!0,icon:"search",size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode},ae=e=>{let{value:t,placeholder:o,size:a,rounded:l,fillMode:p,hover:i,focus:u,valid:f,invalid:N,required:L,loading:S,disabled:m,showIcon:M=Oo.showIcon,icon:x=Oo.icon,...v}=e;return Oa(y,{...v,size:a,rounded:l,fillMode:p,hover:i,focus:u,valid:f,invalid:N,required:L,loading:S,disabled:m,className:s(e.className,as),children:[M&&Ot(k,{className:"k-input-icon",icon:x}),Ot(re,{placeholder:o,value:t}),Ot(Q,{...e}),Ot(V,{...e}),Ot(se,{...e})]})};ae.states=ga;ae.options=Aa;ae.className=as;ae.defaultOptions=Oo;ae.moduleName=Ao;ae.folderName=rs;import{jsx as Cd}from"react/jsx-runtime";var yo="textbox",is=yo;import{Fragment as ls,jsx as Ae,jsxs as Bo}from"react/jsx-runtime";var ps="k-textbox",ya=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Ba={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[c.solid,c.flat,c.outline]},Fe={showClearButton:!0,showValidationIcon:!0,size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode,separators:!0},be=e=>{let{size:t=Fe.size,rounded:o=Fe.rounded,fillMode:a=Fe.fillMode,separators:l=Fe.separators,showClearButton:p=Fe.showClearButton,showValidationIcon:i=Fe.showValidationIcon,prefix:u,suffix:f,type:N,value:L,placeholder:S,hover:m,focus:M,valid:x,invalid:v,required:g,loading:I,disabled:B,readonly:G,...Te}=e;return Bo(y,{...Te,size:t,rounded:o,fillMode:a,hover:m,focus:M,valid:x,invalid:v,required:g,loading:I,disabled:B,readonly:G,className:s(e.className,ps),children:[u&&Bo(ls,{children:[Ae(ce,{children:u}),l&&Ae(Me,{})]}),Ae(re,{placeholder:S,value:L,type:N}),i&&Ae(V,{valid:x,invalid:v,loading:I,disabled:B}),Ae(Q,{loading:I,disabled:B}),p&&Ae(se,{loading:I,disabled:B,readonly:G,value:L}),f&&Bo(ls,{children:[l&&Ae(Me,{}),Ae(de,{children:f})]})]})};be.states=ya;be.options=Ba;be.className=ps;be.defaultOptions=Fe;be.moduleName=yo;be.folderName=is;import{jsx as zd}from"react/jsx-runtime";import{Fragment as $d,jsx as Fd}from"react/jsx-runtime";import{Fragment as Yd,jsx as Qd}from"react/jsx-runtime";import{jsx as Oe,jsxs as Ro}from"react/jsx-runtime";var cs="k-actionsheet-titlebar",Ra={},Y=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:l,filter:p,input:i,inputValue:u,inputPlaceholder:f,adaptive:N,children:L,...S}=e;return Ro("div",{...S,className:s(e.className,cs),children:[Ro("div",{className:"k-actionsheet-titlebar-group",children:[a&&Oe("div",{className:"k-actionsheet-actions",children:a}),!L&&Ro("div",{className:"k-actionsheet-title",children:[t&&Oe("div",{className:"k-text-center",children:t}),o&&Oe("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),L&&Oe("div",{className:"k-actionsheet-title",children:L}),l&&Oe("div",{className:"k-actionsheet-actions",children:l})]}),(i||p)&&Oe("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:i?Oe(be,{value:u,placeholder:f,size:N?"large":"medium"}):Oe(ae,{placeholder:"Filter",size:N?"large":"medium"})})]})};Y.className=cs;Y.defaultOptions=Ra;import{jsx as Ko,jsxs as wa}from"react/jsx-runtime";var Po="k-actionsheet-view",Ka=[],Pa={},_a={},tt=e=>{let{adaptive:t,animated:o,children:a,header:l,footer:p,...i}=e,u=l?.type===Y&&Ko(Y,{adaptive:t,...l?.props}),f=p?.type===At&&Ko(At,{...p?.props});return wa("div",{...i,className:s(e.className,Po,{[`${Po}-animated`]:o}),children:[u,Ko("div",{className:"k-actionsheet-content",children:a}),f]})};tt.states=Ka;tt.options=Pa;tt.className=Po;tt.defaultOptions=_a;var yt="action-sheet",jt=yt;import{jsx as eo,jsxs as Da}from"react/jsx-runtime";var ds="k-actionsheet",za=[],Ha={},Bt={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},J=e=>{let{side:t=Bt.side,fullscreen:o=Bt.fullscreen,adaptive:a=Bt.adaptive,overlay:l=Bt.overlay,template:p,children:i,header:u,footer:f,...N}=e;return Da("div",{className:"k-actionsheet-container",children:[l&&eo("div",{className:"k-overlay"}),eo(ue,{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:eo("div",{...N,className:s(e.className,ds,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:p||eo(tt,{header:u,footer:f,adaptive:a,...e,children:i})})})]})};J.states=za;J.options=Ha;J.className=ds;J.defaultOptions=Bt;J.moduleName=yt;J.folderName=jt;import{jsx as $a}from"react/jsx-runtime";var us="k-actionsheet-container",Ga=[],Ua={},Fa={},ot=e=>{let{children:t,...o}=e;return $a("div",{...o,className:us,children:t})};ot.states=Ga;ot.options=Ua;ot.className=us;ot.defaultOptions=Fa;ot.moduleName=yt;ot.folderName=jt;import{jsx as Iu}from"react/jsx-runtime";import{Fragment as Va,jsx as Rt,jsxs as _o}from"react/jsx-runtime";var wo="k-actionsheet-item",Xa=[n.hover,n.focus,n.selected,n.disabled],zo=e=>{let{iconName:t,text:o,description:a,hover:l,focus:p,selected:i,disabled:u,...f}=e;return _o("span",{...f,className:s(e.className,wo,T(wo,{hover:l,focus:p,selected:i,disabled:u})),children:[!e.children&&Rt(Va,{children:_o("span",{className:"k-actionsheet-action",children:[t&&Rt("span",{className:"k-icon-wrap",children:Rt(k,{className:"k-actionsheet-item-icon",icon:t})}),_o("span",{className:"k-actionsheet-item-text",children:[o&&Rt("span",{className:"k-actionsheet-item-title",children:o}),a&&Rt("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};zo.states=Xa;zo.className=wo;import{jsx as Pu,jsxs as _u}from"react/jsx-runtime";import{jsx as Du}from"react/jsx-runtime";import{jsx as $u}from"react/jsx-runtime";import{jsx as qu}from"react/jsx-runtime";var Ho="slider",bs=Ho;import{jsx as nt,jsxs as Do}from"react/jsx-runtime";var Kt="k-slider",Ja=[n.hover,n.focus,n.active,n.disabled,n.readonly],qa={},ye={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},U=e=>{let{type:t=ye.type,orientation:o=ye.orientation,readonly:a=ye.readonly,disabled:l=ye.disabled,handlePosition:p=ye.handlePosition,showButtons:i=ye.showButtons,showTicks:u=ye.showTicks,hover:f,focus:N,active:L,trackStyle:S,dir:m,...M}=e,x,v;return o==="horizontal"?(x=m==="rtl"?"caret-alt-left":"caret-alt-right",v=m==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(x="caret-alt-up",v="caret-alt-down"),Do("div",{...M,className:s(Kt,e.className,T(Kt,{readonly:a,disabled:l}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:m,children:[i&&nt(h,{className:"k-button-decrease",rounded:"full",icon:v}),Do("div",{className:"k-slider-track-wrap",children:[u&&nt("ul",{className:"k-reset k-slider-items",children:e.children}),Do("div",{className:"k-slider-track",style:S,children:[nt("div",{className:"k-slider-selection"}),t==="range"&&nt("span",{className:s("k-draghandle","k-draghandle-start",T(Kt,{hover:f,focus:N,active:L}))}),nt("span",{className:s("k-draghandle",`k-draghandle-${p}`,T(Kt,{hover:f,focus:N,active:L}))})]})]}),i&&nt(h,{className:"k-button-increase",rounded:"full",icon:x})]})};U.states=Ja;U.options=qa;U.className=Kt;U.defaultOptions=ye;U.moduleName=Ho;U.folderName=bs;import{jsx as Ns}from"react/jsx-runtime";var Ls="k-tick",Wa=[],Qa={},xs={label:!1},Be=e=>{let{style:t,label:o=xs.label,orientation:a,large:l,text:p,...i}=e;return Ns("li",{...i,className:s(e.className,Ls,{[`k-tick-${a}`]:a,"k-tick-large":l}),style:t,children:o&&Ns("span",{className:"k-label",children:p})})};Be.states=Wa;Be.options=Qa;Be.className=Ls;Be.defaultOptions=xs;import{Fragment as Sf,jsx as hf,jsxs as vf}from"react/jsx-runtime";import{Fragment as Tf,jsx as If,jsxs as gf}from"react/jsx-runtime";import{Fragment as Rf,jsx as Bf,jsxs as Kf}from"react/jsx-runtime";import{Fragment as Hf,jsx as zf,jsxs as Df}from"react/jsx-runtime";import{jsx as Ya}from"react/jsx-runtime";var Go=e=>Ya(U,{type:"gradient",showButtons:!1,showTicks:!1,...e});import{jsx as Za}from"react/jsx-runtime";var Uo=e=>Za(U,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});import{jsx as Ms,jsxs as ni}from"react/jsx-runtime";var hs="k-spin-button",ti=[],oi={size:[r.small,r.medium,r.large],fillMode:[c.solid,c.flat,c.outline,c.clear,c.link]},Fo={size:r.medium,fillMode:c.solid},Re=e=>{let{size:t=Fo.size,fillMode:o=Fo.fillMode,...a}=e;return ni("span",{...a,className:s(hs,e.className),children:[Ms(h,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),Ms(h,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};Re.states=ti;Re.options=oi;Re.className=hs;Re.defaultOptions=Fo;Re.moduleName=null;Re.folderName=null;var Ss="numeric-textbox",vs="numerictextbox";import{Fragment as ks,jsx as he,jsxs as $o}from"react/jsx-runtime";var Es="k-numerictextbox",si=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],ri={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[c.solid,c.flat,c.outline]},$e={showSpinButton:!0,showClearButton:!0,size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode,separators:!0},P=e=>{let{size:t=$e.size,rounded:o=$e.rounded,fillMode:a=$e.fillMode,separators:l=$e.separators,showClearButton:p=$e.showClearButton,showSpinButton:i=$e.showSpinButton,prefix:u,suffix:f,value:N,placeholder:L,hover:S,focus:m,valid:M,invalid:x,required:v,loading:g,disabled:I,readonly:B,...G}=e;return $o(y,{...G,size:t,rounded:o,fillMode:a,hover:S,focus:m,valid:M,invalid:x,required:v,loading:g,disabled:I,readonly:B,className:s(e.className,Es),children:[u&&$o(ks,{children:[he(ce,{children:u}),l&&he(Me,{})]}),he(re,{placeholder:L,value:N}),he(V,{valid:M,invalid:x,loading:g,disabled:I}),he(Q,{loading:g,disabled:I}),p&&he(se,{loading:g,disabled:I,readonly:B,value:N}),f&&$o(ks,{children:[l&&he(Me,{}),he(de,{children:f})]}),i&&he(Re,{className:"k-input-spinner",size:t,fillMode:a})]})};P.states=si;P.options=ri;P.className=Es;P.defaultOptions=$e;P.moduleName=Ss;P.folderName=vs;import{jsx as hb}from"react/jsx-runtime";import{jsx as ii}from"react/jsx-runtime";var ai="k-no-data",Pt=e=>ii("span",{className:s(ai,e.className),children:e.children});var Se="list",Ke=Se;import{jsx as st,jsxs as Is}from"react/jsx-runtime";var Xo="k-list",li=[],pi={size:[r.small,r.medium,r.large]},Ts={size:r.medium},R=e=>{let{size:t=Ts.size,virtualization:o,children:a,optionLabel:l,customValue:p,screenReaders:i,...u}=e,f,N,L,S,m=[];return a?a.map((M,x)=>{M.type===H?(M.props.root===!0?(f=M.props.label,M.props.children.map((v,g)=>{m.push(st(C,{...v.props},`optChild-${g}-${new Date().getTime()}`))})):M.props.children.forEach((v,g)=>{let I="";g===0&&(I=M.props.label),m.push(st(C,{className:g===0?"k-first":"",...v.props,groupLabel:I},`groupLabel-${g}-${new Date().getTime()}`))}),N=st(H,{label:f,virtualization:o,children:m})):M.type===C&&(m.push(st(C,{...M.props},`${M.type}-${x}`)),L=st(rt,{virtualization:o,children:m}),i&&(S=Is(Pt,{className:"k-sr-only",children:[m.length," items found."]})))}):S=st(Pt,{children:"No data found."}),Is("div",{...u,className:s(e.className,Xo,E(Xo,{size:t}),{"k-virtual-list":o}),children:[l,p,N,L,S]})};R.states=li;R.options=pi;R.className=Xo;R.defaultOptions=Ts;R.moduleName=Se;R.folderName=Ke;import{jsx as ui}from"react/jsx-runtime";var gs="k-list-container",mi=[],ci={},di={},at=e=>{let{...t}=e;return ui("div",{...t,className:s(e.className,gs),children:e.children})};at.states=mi;at.options=ci;at.className=gs;at.defaultOptions=di;at.moduleName=Se;at.folderName=Ke;import{jsx as Xe,jsxs as Ni}from"react/jsx-runtime";var Vo="k-list",fi=[],bi={size:[r.small,r.medium,r.large]},As={size:r.medium},ve=e=>{let{size:t=As.size,virtualization:o,children:a,...l}=e,p,i,u,f=[];return a?a.map((N,L)=>{N.type===H?(N.props.root===!0?(p=N.props.label,N.props.children.map((S,m)=>{f.push(Xe(C,{...S.props},`optChild-${m}-${new Date().getTime()}`))})):(f.push(Xe(Os,{...N.props,children:N.props.label},`listChild-${L}`)),N.props.children.map((S,m)=>{f.push(Xe(C,{...S.props},`fwOptChild-${m}-${new Date().getTime()}`))})),i=Xe(H,{label:p,virtualization:o,children:f})):N.type===C&&(f.push(Xe(C,{...N.props},`${N.type}-${L}`)),u=Xe(rt,{virtualization:o,children:f}))}):u=Xe(Pt,{children:"No data found."}),Ni("div",{...l,className:s(e.className,Vo,E(Vo,{size:t}),{"k-virtual-list":o}),children:[i,u]})};ve.states=fi;ve.options=bi;ve.className=Vo;ve.defaultOptions=As;ve.moduleName=Se;ve.folderName=Ke;var Ve="checkbox",it=Ve;import{jsx as ys}from"react/jsx-runtime";var to="k-checkbox",Li=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],xi={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full]},Jo={size:r.medium,rounded:b.medium},Ne=e=>{let{id:t,checked:o,indeterminate:a,hover:l,focus:p,disabled:i,invalid:u,valid:f,required:N,size:L=Jo.size,rounded:S=Jo.rounded,...m}=e;return ys("span",{className:"k-checkbox-wrap",children:ys("input",{...m,id:t,type:"checkbox",defaultChecked:o,required:N,className:s(e.className,to,E(to,{size:L,rounded:S}),T(to,{hover:l,focus:p,disabled:i,invalid:u,valid:f,indeterminate:a,checked:o}))})})};Ne.states=Li;Ne.options=xi;Ne.className=to;Ne.defaultOptions=Jo;Ne.moduleName=Ve;Ne.folderName=it;import{jsx as Si}from"react/jsx-runtime";var Bs="k-checkbox-list",Mi=[],hi={},Rs={layout:"vertical"},Pe=e=>{let{layout:t=Rs.layout,...o}=e;return Si("ul",{...o,className:s(e.className,Bs,{[`k-list-${t}`]:t}),children:e.children})};Pe.states=Mi;Pe.options=hi;Pe.className=Bs;Pe.defaultOptions=Rs;Pe.moduleName=Ve;Pe.folderName=it;import{jsx as Ci}from"react/jsx-runtime";var Ks="k-checkbox-list-item",vi=[],ki={},Ei={},_e=e=>{let{...t}=e;return Ci("li",{...t,className:s(e.className,Ks),children:e.children})};_e.states=vi;_e.options=ki;_e.className=Ks;_e.defaultOptions=Ei;_e.moduleName=Ve;_e.folderName=it;import{Fragment as aN,jsx as rN,jsxs as iN}from"react/jsx-runtime";import{Fragment as dN,jsx as cN,jsxs as uN}from"react/jsx-runtime";import{Fragment as xN,jsx as LN,jsxs as MN}from"react/jsx-runtime";import{Fragment as EN,jsx as kN,jsxs as CN}from"react/jsx-runtime";import{jsx as AN}from"react/jsx-runtime";import{jsx as RN}from"react/jsx-runtime";import{jsx as oo,jsxs as Ai}from"react/jsx-runtime";var Wo="k-list-item",Ii=[n.hover,n.focus,n.selected,n.disabled],Ti={},gi={},C=e=>{let{text:t,groupLabel:o,group:a,showIcon:l,iconName:p,showCheckbox:i,checked:u,hover:f,focus:N,selected:L,disabled:S,...m}=e,M=t||e.children;return Ai("li",{...m,className:s(e.className,a?"k-list-group-item":Wo,T(Wo,{hover:f,focus:N,disabled:S,selected:L})),children:[i&&oo(Ne,{checked:u}),l&&oo(k,{icon:p}),oo("span",{className:"k-list-item-text",children:M}),o&&o!==""&&oo("div",{className:"k-list-item-group-label",children:o})]})};C.states=Ii;C.options=Ti;C.className=Wo;C.defaultOptions=gi;C.moduleName=Se;C.folderName=Ke;import{jsx as Qo,jsxs as yi}from"react/jsx-runtime";var Oi="k-list-content",rt=e=>{let{virtualization:t,...o}=e;return yi("div",{...o,className:s(Oi,e.className),children:[Qo("ul",{className:s("k-list-ul"),children:e.children}),t&&Qo("div",{className:"k-height-container",children:Qo("div",{})})]})};import{jsx as Ps}from"react/jsx-runtime";var Bi="k-list-group-sticky-header",_s=e=>Ps("div",{className:s(Bi,e.className),children:Ps("div",{className:"k-list-header-text",children:e.children})});import{Fragment as Ri,jsx as ws,jsxs as Ki}from"react/jsx-runtime";var H=e=>{let{virtualization:t,label:o}=e;return Ki(Ri,{children:[o&&ws(_s,{children:o}),e.children&&ws(rt,{virtualization:t,children:e.children})]})};import{jsx as zs}from"react/jsx-runtime";var Pi="k-list-group-item",Os=e=>zs("li",{className:s(Pi,e.className),children:zs("span",{className:"k-list-item-text",children:e.children})});import{jsx as Hi}from"react/jsx-runtime";var Yo="k-list-optionlabel",_i=[n.hover,n.focus,n.selected,n.disabled],wi={},zi={},no=e=>{let{text:t,hover:o,focus:a,selected:l,disabled:p,...i}=e;return Hi("div",{...i,className:s(Yo,T(Yo,{hover:o,focus:a,selected:l,disabled:p})),children:t})};no.states=_i;no.options=wi;no.className=Yo;no.defaultOptions=zi;import{jsx as Fi}from"react/jsx-runtime";var Zo="k-list-custom-value",Di=[n.hover,n.focus,n.selected,n.disabled],Gi={},Ui={},we=e=>{let{text:t,hover:o,focus:a,selected:l,disabled:p,...i}=e;return Fi("div",{...i,className:s(Zo,T(Zo,{hover:o,focus:a,selected:l,disabled:p})),children:t})};we.states=Di;we.options=Gi;we.className=Zo;we.defaultOptions=Ui;import{jsx as LL}from"react/jsx-runtime";import{jsx as SL}from"react/jsx-runtime";import{jsx as CL,jsxs as IL}from"react/jsx-runtime";import{jsx as OL,jsxs as yL}from"react/jsx-runtime";import{jsx as PL}from"react/jsx-runtime";import{jsx as HL,jsxs as DL}from"react/jsx-runtime";import{jsx as $L,jsxs as XL}from"react/jsx-runtime";var Hs="dropdown-list",Ds="dropdownlist";import{Fragment as Vi,jsx as F,jsxs as jo}from"react/jsx-runtime";var Gs="k-dropdownlist",$i=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Xi={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[c.solid,c.flat,c.outline]},lt={showValue:!0,arrowIconName:"caret-alt-down",size:r.medium,rounded:b.medium,fillMode:c.solid},Le=e=>{let{size:t=lt.size,rounded:o=lt.rounded,fillMode:a=lt.fillMode,arrowIconName:l=lt.arrowIconName,showValue:p=lt.showValue,valueIconName:i,prefix:u,suffix:f,value:N,placeholder:L,hover:S,focus:m,valid:M,invalid:x,required:v,loading:g,disabled:I,readonly:B,popup:G,opened:Te,adaptive:ht,adaptiveSettings:St,adaptiveTitle:po,adaptiveSubtitle:mo,adaptiveFilter:xr,...Mr}=e;return jo(Vi,{children:[jo(X,{...Mr,size:t,rounded:o,fillMode:a,hover:S,focus:m,valid:M,invalid:x,required:v,loading:g,disabled:I,readonly:B,className:s(e.className,Gs,{"k-icon-picker":!p&&i}),children:[F(ce,{children:u}),F(Ue,{placeholder:L,value:N,showValue:p,valueIconName:i}),F(V,{valid:M,invalid:x,loading:g,disabled:I}),F(Q,{loading:g,disabled:I}),F(de,{children:f}),F(h,{className:"k-input-button",icon:l,rounded:null,size:e.size,fillMode:e.fillMode})]}),Te&&G&&F(w,{className:"k-list-container k-dropdownlist-popup",children:G}),ht&&F(J,{adaptive:!0,...St,header:F(Y,{actionsEnd:F(h,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:xr,inputValue:N,inputPlaceholder:L,title:po,subtitle:mo}),children:F("div",{className:"k-list-container",children:jo(R,{size:"large",children:[F(C,{text:"List item"}),F(C,{text:"List item"}),F(C,{text:"List item"})]})})})]})};Le.states=$i;Le.options=Xi;Le.className=Gs;Le.defaultOptions=lt;Le.moduleName=Hs;Le.folderName=Ds;import{jsx as Ex}from"react/jsx-runtime";import{jsx as Ax,jsxs as Ox}from"react/jsx-runtime";import{Fragment as zx,jsx as _x,jsxs as wx}from"react/jsx-runtime";import{jsx as Ux}from"react/jsx-runtime";import{jsx as Jx,jsxs as qx}from"react/jsx-runtime";import{jsx as jx,jsxs as eM}from"react/jsx-runtime";import{Fragment as lM,jsx as aM,jsxs as iM}from"react/jsx-runtime";import{Fragment as NM,jsx as fM,jsxs as bM}from"react/jsx-runtime";import{Fragment as BM,jsx as yM}from"react/jsx-runtime";import{Fragment as HM,jsx as zM}from"react/jsx-runtime";import{Fragment as _t,jsx as A,jsxs as _}from"react/jsx-runtime";var Us="k-colorgradient-inputs",Ji=[],qi={size:[r.small,r.medium,r.large]},Fs={mode:"rgba",size:r.medium},pt=e=>{let{mode:t=Fs.mode,size:o,...a}=e;return _("div",{...a,className:s(Us,"k-hstack"),children:[A("div",{className:"k-vstack",children:A(h,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),t==="rgba"&&_(_t,{children:[_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),A("label",{className:"k-colorgradient-input-label",children:"R"})]}),_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),A("label",{className:"k-colorgradient-input-label",children:"G"})]}),_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),A("label",{className:"k-colorgradient-input-label",children:"B"})]}),_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),A("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&_(_t,{children:[_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"R"})]}),_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"G"})]}),_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&_(_t,{children:[_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"H"})]}),_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"S"})]}),_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"V"})]}),_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),A("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&_(_t,{children:[_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"H"})]}),_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"S"})]}),_("div",{className:"k-vstack",children:[A(P,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&A(_t,{children:_("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"})]})})]})};pt.states=Ji;pt.options=qi;pt.className=Us;pt.defaultOptions=Fs;import{jsx as qe,jsxs as We}from"react/jsx-runtime";var $s="k-colorgradient-color-contrast",Wi=[],Qi={},Yi={},mt=()=>We("div",{className:s($s,"k-vbox"),children:[We("div",{className:"k-contrast-ratio",children:[qe("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),We("span",{className:"k-contrast-validation !k-text-success",children:[qe(k,{icon:"check"}),qe(k,{icon:"check"})]})]}),We("div",{children:[qe("span",{children:"AA: 4.5"}),We("span",{className:"k-contrast-validation !k-text-success",children:["Pass",qe(k,{icon:"check"})]})]}),We("div",{children:[qe("span",{children:"AAA: 7.0"}),We("span",{className:"k-contrast-validation !k-text-error",children:["Fail",qe(k,{icon:"x"})]})]})]});mt.states=Wi;mt.options=Qi;mt.className=$s;mt.defaultOptions=Yi;var Xs="color-gradient",Vs="colorgradient";import{jsx as Z,jsxs as wt}from"react/jsx-runtime";var so="k-colorgradient",Zi=[n.hover,n.focus,n.readonly,n.disabled],ji={size:[r.small,r.medium,r.large]},ie={size:r.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"},xe=e=>{let{size:t=ie.size,mode:o=ie.mode,readonly:a=ie.readonly,disabled:l=ie.disabled,gradientStyle:p=ie.gradientStyle,dragHandleStyle:i=ie.dragHandleStyle,alphaStyle:u=ie.alphaStyle,alphaStyleHorizontal:f=ie.alphaStyleHorizontal,contrast:N=ie.contrast,dir:L,hover:S,focus:m,hoverHandle:M,focusHandle:x,canvasOrientation:v=ie.canvasOrientation,...g}=e;return wt("div",{...g,className:s(e.className,so,E(so,{size:t}),T(so,{hover:S,focus:m,readonly:a,disabled:l})),dir:L,children:[!v||v==="horizontal"&&wt("div",{className:"k-colorgradient-canvas k-hstack",children:[Z("div",{className:"k-hsv-rectangle",style:p,children:Z("div",{className:"k-hsv-gradient",children:Z("div",{className:s("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":x}),style:i})})}),wt("div",{className:"k-hsv-controls k-hstack",children:[Z(Uo,{className:"k-hue-slider",hover:M,focus:x}),o!=="rgb"&&o!=="hsv"&&Z(Uo,{className:"k-alpha-slider",hover:M,focus:x,trackStyle:u})]})]}),v==="vertical"&&wt("div",{className:"k-colorgradient-canvas k-vstack",children:[Z("div",{className:"k-hsv-rectangle",style:p,children:Z("div",{className:"k-hsv-gradient",children:Z("div",{className:s("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":x}),style:i})})}),wt("div",{className:"k-hsv-controls k-vstack",children:[Z(Go,{className:"k-hue-slider",hover:M,focus:x}),o!=="rgb"&&o!=="hsv"&&Z(Go,{className:"k-alpha-slider",hover:M,focus:x,trackStyle:f})]})]}),Z(pt,{mode:e.mode,size:t}),N&&Z(mt,{})]})};xe.states=Zi;xe.options=ji;xe.className=so;xe.defaultOptions=ie;xe.moduleName=Xs;xe.folderName=Vs;import{jsx as dh}from"react/jsx-runtime";import{jsx as Nh}from"react/jsx-runtime";import{jsx as el}from"react/jsx-runtime";var Js=e=>el("tr",{children:e.children});import{jsx as nl}from"react/jsx-runtime";var en="k-colorpalette-tile",tl=[n.hover,n.focus,n.selected],ol={},zt=e=>{let{color:t,tileSize:o,hover:a,focus:l,selected:p,...i}=e,u={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return nl("td",{...i,className:s(e.className,en,T(en,{hover:a,focus:l,selected:p})),style:u})};zt.states=tl;zt.options=ol;zt.className=en;var qs="color-palette",Ws="colorpalette";import{jsx as Ht}from"react/jsx-runtime";var ro="k-colorpalette",sl=[n.disabled],rl={size:[r.small,r.medium,r.large]},tn={columns:10,size:r.medium},ze=e=>{let{size:t=tn.size,palette:o,columns:a=tn.columns,tileSize:l,disabled:p,...i}=e,u=[];if(o){let f=a||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/f)},(L,S)=>{let m=[];N.slice(S*f,(S+1)*f).map((x,v)=>{m.push(Ht(zt,{color:x,tileSize:l},v))});let M=Ht(Js,{children:m},S);u.push(M)})}return Ht("div",{...i,className:s(e.className,ro,T(ro,{disabled:p}),E(ro,{size:t})),children:Ht("table",{className:"k-colorpalette-table",children:Ht("tbody",{children:u.length>0?u:e.children})})})};ze.states=sl;ze.options=rl;ze.className=ro;ze.defaultOptions=tn;ze.moduleName=qs;ze.folderName=Ws;var on={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 Gh}from"react/jsx-runtime";var Qs="color-editor",Ys="coloreditor";import{jsx as j,jsxs as ct}from"react/jsx-runtime";var ao="k-coloreditor",al=[n.focus],il={size:[r.small,r.medium,r.large]},dt={size:r.medium,view:"gradient",palette:on.office,actionButtons:!0,canvasOrientation:"horizontal"},ee=e=>{let{size:t=dt.size,view:o=dt.view,palette:a=dt.palette,color:l,currentColor:p,focus:i,focusView:u,dir:f,group:N,actionButtons:L=dt.actionButtons,canvasOrientation:S=dt.canvasOrientation,...m}=e;return ct("div",{...m,className:s(e.className,"k-flatcolorpicker",ao,E(ao,{size:t}),T(ao,{focus:i})),dir:f,children:[ct("div",{className:"k-coloreditor-header k-hstack",children:[j("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&ct(K,{fillMode:"flat",children:[j(h,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),j(h,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),j("div",{className:"k-spacer"}),ct("div",{className:"k-coloreditor-header-actions k-hstack",children:[j(h,{fillMode:"flat",icon:"droplet-slash",size:t}),ct("div",{className:"k-coloreditor-preview k-vstack",children:[j(ge,{className:"k-coloreditor-preview-color",color:l}),j(ge,{className:"k-coloreditor-current-color",color:p})]})]})]}),j("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?j(xe,{focus:u,size:t,canvasOrientation:S}):j(ze,{palette:a,size:t})}),L&&ct(fe,{className:"k-coloreditor-footer",alignment:"start",children:[j(h,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),j(h,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ee.states=al;ee.options=il;ee.className=ao;ee.defaultOptions=dt;ee.moduleName=Qs;ee.folderName=Ys;import{jsx as lS}from"react/jsx-runtime";import{jsx as dS}from"react/jsx-runtime";import{jsx as NS}from"react/jsx-runtime";import{jsx as hS}from"react/jsx-runtime";var Zs="color-picker",js="colorpicker";import{Fragment as ml,jsx as te,jsxs as sn}from"react/jsx-runtime";var er="k-colorpicker",ll=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],pl={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[c.solid,c.flat,c.outline]},Dt={arrowIconName:"caret-alt-down",size:X.defaultOptions.size,rounded:X.defaultOptions.rounded,fillMode:X.defaultOptions.fillMode},le=e=>{let{size:t=Dt.size,rounded:o=Dt.rounded,fillMode:a=Dt.fillMode,arrowIconName:l=Dt.arrowIconName,prefix:p,suffix:i,value:u,placeholder:f,hover:N,focus:L,valid:S,invalid:m,required:M,disabled:x,valueIconName:v,popup:g,opened:I,adaptive:B,adaptiveSettings:G,adaptiveTitle:Te,adaptiveSubtitle:ht,...St}=e;return sn(ml,{children:[sn(X,{...St,size:t,rounded:o,fillMode:a,hover:N,focus:L,valid:S,invalid:m,required:M,disabled:x,className:s(e.className,er,"k-icon-picker"),childr