@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 64.9 kB
JavaScript
var Ya=Object.create;var Rt=Object.defineProperty;var Za=Object.getOwnPropertyDescriptor;var ja=Object.getOwnPropertyNames;var en=Object.getPrototypeOf,tn=Object.prototype.hasOwnProperty;var on=(e,t)=>{for(var o in t)Rt(e,o,{get:t[o],enumerable:!0})},fs=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ja(t))!tn.call(e,i)&&i!==o&&Rt(e,i,{get:()=>t[i],enumerable:!(r=Za(t,i))||r.enumerable});return e};var sn=(e,t,o)=>(o=e!=null?Ya(en(e)):{},fs(t||!e||!e.__esModule?Rt(o,"default",{value:e,enumerable:!0}):o,e)),an=e=>fs(Rt({},"__esModule",{value:!0}),e);var ol={};on(ol,{TOOLBAR_CLASSNAME:()=>fe,Toolbar:()=>mt,default:()=>tl});module.exports=an(ol);var a=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?a(...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 M=(e,t)=>a({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.fillMode}-${t.themeColor}`]:t.fillMode&&t.themeColor},{[`${e}-${t.themeColor}`]:t.themeColor&&t.fillMode===void 0},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full"}),A=(e,t)=>a({"k-valid":t.valid,"k-invalid":t.invalid,"k-hover":t.hover,"k-focus":t.focus,"k-checked":t.checked,"k-active":t.active,"k-selected":t.selected,"k-disabled":t.disabled,"k-indeterminate":t.indeterminate&&!t.checked,"k-loading":t.loading,"k-empty":t.empty,"k-readonly":t.readonly});var n={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={small:"small",medium:"medium",large:"large",full:"full"},u={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"},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"};var bt=require("react/jsx-runtime"),eo="k-icon k-font-icon",nn=[],rn={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[d.base,d.primary,d.secondary,d.tertiary,d.success,d.warning,d.error,d.info,d.light,d.dark]},ln={},xt=e=>{let{size:t,themeColor:o,icon:r,rotate:i,flip:l,...c}=e;return r?(0,bt.jsx)("span",{...c,className:a(e.className,eo,M(eo,{size:t}),{[`k-i-${r}`]:r,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"})}):(0,bt.jsx)(bt.Fragment,{})};xt.states=nn;xt.options=rn;xt.className=eo;xt.defaultOptions=ln;var bs=xt;var Ke=require("react/jsx-runtime"),to="k-icon k-svg-icon",cn=[],pn={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[d.base,d.primary,d.secondary,d.tertiary,d.success,d.warning,d.error,d.info,d.light,d.dark]},xs={viewBox:"0 0 24 24"},ht=e=>{let{size:t,themeColor:o,rotate:r,flip:i,viewBox:l=xs.viewBox,icon:c,...m}=e;if(!c)return(0,Ke.jsx)(Ke.Fragment,{});c==="none"&&{...m,className:a(e.className,to,"k-none")};let b=typeof c=="object"&&c.name&&c.name;return(0,Ke.jsx)("span",{...m,className:a(e.className,to,M("k-icon",{size:t}),{[`k-svg-i-${b}`]:b,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),children:(0,Ke.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:l,dangerouslySetInnerHTML:typeof c=="object"?{__html:c.content}:void 0,children:c?void 0:e.children})})};ht.states=cn;ht.options=pn;ht.className=to;ht.defaultOptions=xs;var oo=ht;var hs=sn(require("@progress/kendo-svg-icons")),be=require("react/jsx-runtime"),dn=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),mn=[],un={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[d.base,d.primary,d.secondary,d.tertiary,d.success,d.warning,d.error,d.info,d.light,d.dark]},so={viewBox:"0 0 24 24",type:"svg"},y=e=>{let{size:t,themeColor:o,icon:r,type:i=so.type,rotate:l,flip:c,viewBox:m=so.viewBox,...b}=e;if(!r)return(0,be.jsx)(be.Fragment,{});if(i==="svg"){if(r==="none")return(0,be.jsx)(oo,{...b,icon:r,size:t});let x=dn(`${r}-icon`);return hs[x]?(0,be.jsx)(oo,{...b,icon:hs[x],size:t,themeColor:o,rotate:l,flip:c,viewBox:m}):(0,be.jsx)(be.Fragment,{})}return(0,be.jsx)(bs,{...b,icon:r,size:t,themeColor:o,rotate:l,flip:c})};y.states=mn;y.options=un;y.defaultOptions=so;var oe=require("react/jsx-runtime"),Ht="k-button",fn=[s.hover,s.focus,s.active,s.selected,s.disabled],bn={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[u.solid,u.flat,u.outline,u.clear,u.link],themeColor:[d.base,d.primary,d.secondary,d.tertiary,d.success,d.warning,d.error,d.info,d.light,d.dark,d.inverse]},Re={size:n.medium,rounded:f.medium,fillMode:u.solid,themeColor:d.base,showArrow:!1,arrowIconName:"caret-alt-down"},k=e=>{let{size:t=Re.size,rounded:o=Re.rounded,fillMode:r=Re.fillMode,themeColor:i=Re.themeColor,showArrow:l=Re.showArrow,arrowIconName:c=Re.arrowIconName,hover:m,focus:b,active:x,selected:h,disabled:S,icon:p,text:N,iconClassName:L,...g}=e,T=p!==void 0,w=e.children!==void 0;return(0,oe.jsxs)("button",{...g,className:a(e.className,Ht,M(Ht,{size:t,rounded:o,fillMode:r,themeColor:i}),A(Ht,{hover:m,focus:b,active:x,disabled:S,selected:h}),{"k-icon-button":!N&&!w&&T}),children:[p&&(0,oe.jsx)(y,{className:a(L,"k-button-icon"),icon:p}),N?(0,oe.jsxs)(oe.Fragment,{children:[N&&(0,oe.jsx)("span",{className:"k-button-text",children:N}),e.children]}):e.children&&(0,oe.jsx)("span",{className:"k-button-text",children:e.children}),l&&(0,oe.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,oe.jsx)(y,{icon:c})})]})};k.states=fn;k.options=bn;k.className=Ht;k.defaultOptions=Re;var Ns=require("react/jsx-runtime"),Gt=e=>(0,Ns.jsx)(k,{icon:"folder",...e,children:void 0});var vs=require("react/jsx-runtime"),ao=e=>(0,vs.jsx)(k,{icon:"folder",children:"Button",...e});var xn=require("react/jsx-runtime");var ks=require("react/jsx-runtime"),Nt="k-button-group",hn=[s.disabled],Nn={fillMode:[u.solid,u.flat,u.outline,u.clear,u.link]},Ls={fillMode:u.solid},F=e=>{let{fillMode:t=Ls.fillMode,disabled:o,stretched:r,...i}=e;return(0,ks.jsx)("div",{...i,className:a(e.className,Nt,M(Nt,{fillMode:t}),A(Nt,{disabled:o}),{[`${Nt}-stretched`]:r}),children:e.children})};F.states=hn;F.options=Nn;F.className=Nt;F.defaultOptions=Ls;var no=require("react/jsx-runtime");var ro=require("react/jsx-runtime");var io=require("react/jsx-runtime");var lo=require("react/jsx-runtime");var Ss=require("react/jsx-runtime"),$t="k-input",vn=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Ln={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[u.solid,u.flat,u.outline]},Dt={size:n.medium,rounded:n.medium,fillMode:u.solid},E=e=>{let{hover:t,focus:o,disabled:r,invalid:i,valid:l,loading:c,readonly:m,size:b=Dt.size,rounded:x=Dt.rounded,fillMode:h=Dt.fillMode,...S}=e;return(0,Ss.jsx)("span",{...S,className:a(e.className,$t,M($t,{size:b,rounded:x,fillMode:h}),A($t,{hover:t,focus:o,disabled:r,invalid:i,valid:l,loading:c,readonly:m}))})};E.states=vn;E.options=Ln;E.className=$t;E.defaultOptions=Dt;var gs=require("react/jsx-runtime"),Vt="k-picker",kn=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Sn={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[u.solid,u.flat,u.outline]},_t={size:n.medium,rounded:f.medium,fillMode:u.solid},se=e=>{let{hover:t,focus:o,disabled:r,invalid:i,valid:l,loading:c,readonly:m,size:b=_t.size,rounded:x=_t.rounded,fillMode:h=_t.fillMode,...S}=e;return(0,gs.jsx)("span",{...S,className:a(e.className,Vt,M(Vt,{size:b,rounded:x,fillMode:h}),A(Vt,{hover:t,focus:o,disabled:r,invalid:i,valid:l,loading:c,readonly:m})),children:e.children})};se.states=kn;se.options=Sn;se.className=Vt;se.defaultOptions=_t;var Qe=require("react/jsx-runtime"),Is="k-clear-value",gn=[s.disabled,s.loading,s.readonly],In={},ae=e=>{let{disabled:t,loading:o,readonly:r,value:i}=e;return t||r||o||!i?(0,Qe.jsx)(Qe.Fragment,{}):(0,Qe.jsx)("span",{className:a(e.className,Is),children:(0,Qe.jsx)(y,{icon:"x"})})};ae.states=gn;ae.options=In;ae.className=Is;var Ms=require("react/jsx-runtime"),co="k-input-inner",Mn=[],yn={},Xt={type:"text",autocomplete:"off",value:"",placeholder:""},ne=e=>{let{value:t=Xt.value,type:o=Xt.type,placeholder:r=Xt.placeholder,autocomplete:i=Xt.autocomplete,...l}=e;return(0,Ms.jsx)("input",{...l,type:o,className:a(e.className,co,M(co,e)),placeholder:r,autoComplete:i,defaultValue:t})};ne.states=Mn;ne.options=yn;ne.className=co;var vt=require("react/jsx-runtime"),po="k-input-inner",Cn=[],An={},He=e=>{let{value:t,placeholder:o,showValue:r,valueIcon:i,valueIconName:l,...c}=e;return(0,vt.jsxs)("span",{...c,className:a(e.className,po,M(po,e)),children:[i,!i&&l&&(0,vt.jsx)(y,{className:"k-input-value-icon",icon:l}),r&&!t&&o,r&&t&&(0,vt.jsx)("span",{className:"k-input-value-text",children:t})]})};He.states=Cn;He.options=An;He.className=po;var Cs=require("react/jsx-runtime"),mo="k-input-inner",Tn=[],wn={},ys={value:"",placeholder:""},uo=e=>{let{value:t=ys.value,placeholder:o=ys.placeholder,rows:r,...i}=e;return(0,Cs.jsx)("textarea",{...i,className:a(e.className,mo,M(mo,e)),placeholder:o,rows:r,defaultValue:t})};uo.states=Tn;uo.options=wn;uo.className=mo;var Lt=require("react/jsx-runtime"),As="k-input-loading-icon",zn=[s.disabled,s.loading],Q=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Lt.jsx)(Lt.Fragment,{}):(0,Lt.jsx)("span",{className:a(e.className,As,"k-icon k-i-loading")})};Q.states=zn;Q.className=As;var kt=require("react/jsx-runtime"),Ts="k-input-validation-icon",En=[s.valid,s.invalid,s.disabled,s.loading],Pn={},q=e=>{let{valid:t,invalid:o,disabled:r,loading:i}=e,l=o?"warning-circle":"check-circle";return r||i||!!!(t||o)?(0,kt.jsx)(kt.Fragment,{}):(0,kt.jsx)(y,{className:a(Ts),icon:l})};q.states=En;q.options=Pn;q.className=Ts;var St=require("react/jsx-runtime"),On="k-input-prefix",Bn={direction:"horizontal"},ce=e=>{let{direction:t=Bn.direction,...o}=e;return e.children?(0,St.jsx)("span",{...o,className:a(On,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,St.jsx)(St.Fragment,{})};var gt=require("react/jsx-runtime"),Kn="k-input-suffix",Rn={direction:"horizontal"},pe=e=>{let{direction:t=Rn.direction,...o}=e;return e.children?(0,gt.jsx)("span",{...o,className:a(Kn,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,gt.jsx)(gt.Fragment,{})};var Hn=require("react/jsx-runtime");var Gn=require("react/jsx-runtime");var zs=require("react/jsx-runtime"),ws="k-input-separator",$n={direction:"vertical"},xe=e=>{let{direction:t=$n.direction,...o}=e;return(0,zs.jsx)("span",{...o,className:a(ws,e.className,{[`${ws}-${t}`]:t})})};var It=require("react/jsx-runtime"),Es="k-color-preview",Dn=[],Vn={},Ie=e=>{let{color:t,iconName:o,...r}=e;return(0,It.jsxs)("span",{...r,className:a(e.className,Es,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,It.jsx)(y,{icon:o,className:"k-color-preview-icon"}),(0,It.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ie.states=Dn;Ie.options=Vn;Ie.className=Es;var fo=require("react/jsx-runtime"),Ps="k-animation-container",_n=[],Xn={},Os={positionMode:"absolute"},Me=e=>{let{positionMode:t=Os.positionMode,animationStyle:o,offset:r,...i}=e;return(0,fo.jsx)("div",{...i,style:{...r,...e.style},className:a(e.className,Ps,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,fo.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};Me.states=_n;Me.options=Xn;Me.className=Ps;Me.defaultOptions=Os;var bo=require("react/jsx-runtime"),Bs="k-popup",Jn=[],Fn={},Ks={positionMode:"absolute"},U=e=>{let{offset:t,positionMode:o=Ks.positionMode,animationStyle:r,...i}=e;return(0,bo.jsx)(Me,{positionMode:o,offset:t,animationStyle:r,children:(0,bo.jsx)("div",{...i,className:a(e.className,Bs),children:e.children})})};U.states=Jn;U.options=Fn;U.className=Bs;U.defaultOptions=Ks;var Rs=require("react/jsx-runtime"),Jt="k-actions",Un=[],qn={},xo={alignment:"start",orientation:"horizontal"},ye=e=>{let{alignment:t=xo.alignment,orientation:o=xo.orientation,...r}=e;return(0,Rs.jsx)("div",{...r,className:a(Jt,{[`${Jt}-${t}`]:t,[`${Jt}-${o}`]:o},e.className),children:e.children})};ye.states=Un;ye.options=qn;ye.className=Jt;ye.defaultOptions=xo;var Gs=require("react/jsx-runtime"),Wn="k-actionsheet-footer",Hs={alignment:"stretched",orientation:"horizontal"},Mt=e=>{let{alignment:t=Hs.alignment,orientation:o=Hs.orientation,template:r,as:i=r?"div":ye,...l}=e;return(0,Gs.jsx)(i,{...l,...!r&&{alignment:t,orientation:o},className:a(e.className,Wn),children:e.children})};var Ce=require("react/jsx-runtime"),$s="k-searchbox",Qn=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],Yn={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[u.solid,u.flat,u.outline]},ho={showIcon:!0,icon:"search",size:E.defaultOptions.size,rounded:E.defaultOptions.rounded,fillMode:E.defaultOptions.fillMode},he=e=>{let{value:t,placeholder:o,size:r,rounded:i,fillMode:l,hover:c,focus:m,valid:b,invalid:x,required:h,loading:S,disabled:p,showIcon:N=ho.showIcon,icon:L=ho.icon,...g}=e;return(0,Ce.jsxs)(E,{...g,size:r,rounded:i,fillMode:l,hover:c,focus:m,valid:b,invalid:x,required:h,loading:S,disabled:p,className:a(e.className,$s),children:[N&&(0,Ce.jsx)(y,{className:"k-input-icon",icon:L}),(0,Ce.jsx)(ne,{placeholder:o,value:t}),(0,Ce.jsx)(Q,{...e}),(0,Ce.jsx)(q,{...e}),(0,Ce.jsx)(ae,{...e})]})};he.states=Qn;he.options=Yn;he.className=$s;he.defaultOptions=ho;var Zn=require("react/jsx-runtime");var _=require("react/jsx-runtime"),Ds="k-textbox",jn=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],er={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[u.solid,u.flat,u.outline]},Ge={showClearButton:!0,showValidationIcon:!0,size:E.defaultOptions.size,rounded:E.defaultOptions.rounded,fillMode:E.defaultOptions.fillMode,separators:!0},Ae=e=>{let{size:t=Ge.size,rounded:o=Ge.rounded,fillMode:r=Ge.fillMode,separators:i=Ge.separators,showClearButton:l=Ge.showClearButton,showValidationIcon:c=Ge.showValidationIcon,prefix:m,suffix:b,type:x,value:h,placeholder:S,hover:p,focus:N,valid:L,invalid:g,required:T,loading:w,disabled:P,readonly:J,...ge}=e;return(0,_.jsxs)(E,{...ge,size:t,rounded:o,fillMode:r,hover:p,focus:N,valid:L,invalid:g,required:T,loading:w,disabled:P,readonly:J,className:a(e.className,Ds),children:[m&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(ce,{children:m}),i&&(0,_.jsx)(xe,{})]}),(0,_.jsx)(ne,{placeholder:S,value:h,type:x}),c&&(0,_.jsx)(q,{valid:L,invalid:g,loading:w,disabled:P}),(0,_.jsx)(Q,{loading:w,disabled:P}),l&&(0,_.jsx)(ae,{loading:w,disabled:P,readonly:J,value:h}),b&&(0,_.jsxs)(_.Fragment,{children:[i&&(0,_.jsx)(xe,{}),(0,_.jsx)(pe,{children:b})]})]})};Ae.states=jn;Ae.options=er;Ae.className=Ds;Ae.defaultOptions=Ge;var tr=require("react/jsx-runtime");var _s=require("react/jsx-runtime");var Xs=require("react/jsx-runtime");var W=require("react/jsx-runtime"),Js="k-actionsheet-titlebar",or={},Y=e=>{let{title:t,subtitle:o,actionsStart:r,actionsEnd:i,filter:l,input:c,inputValue:m,inputPlaceholder:b,adaptive:x,children:h,...S}=e;return(0,W.jsxs)("div",{...S,className:a(e.className,Js),children:[(0,W.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[r&&(0,W.jsx)("div",{className:"k-actionsheet-actions",children:r}),!h&&(0,W.jsxs)("div",{className:"k-actionsheet-title",children:[t&&(0,W.jsx)("div",{className:"k-text-center",children:t}),o&&(0,W.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),h&&(0,W.jsx)("div",{className:"k-actionsheet-title",children:h}),i&&(0,W.jsx)("div",{className:"k-actionsheet-actions",children:i})]}),(c||l)&&(0,W.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?(0,W.jsx)(Ae,{value:m,placeholder:b,size:x?"large":"medium"}):(0,W.jsx)(he,{placeholder:"Filter",size:x?"large":"medium"})})]})};Y.className=Js;Y.defaultOptions=or;var Ye=require("react/jsx-runtime"),No="k-actionsheet-view",sr=[],ar={},nr={},Ze=e=>{let{adaptive:t,animated:o,children:r,header:i,footer:l,...c}=e,m=(i==null?void 0:i.type)===Y&&(0,Ye.jsx)(Y,{adaptive:t,...i==null?void 0:i.props}),b=(l==null?void 0:l.type)===Mt&&(0,Ye.jsx)(Mt,{...l==null?void 0:l.props});return(0,Ye.jsxs)("div",{...c,className:a(e.className,No,{[`${No}-animated`]:o}),children:[m,(0,Ye.jsx)("div",{className:"k-actionsheet-content",children:r}),b]})};Ze.states=sr;Ze.options=ar;Ze.className=No;Ze.defaultOptions=nr;var $e=require("react/jsx-runtime"),Fs="k-actionsheet",rr=[],ir={},yt={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},re=e=>{let{side:t=yt.side,fullscreen:o=yt.fullscreen,adaptive:r=yt.adaptive,overlay:i=yt.overlay,template:l,children:c,header:m,footer:b,...x}=e;return(0,$e.jsxs)("div",{className:"k-actionsheet-container",children:[i&&(0,$e.jsx)("div",{className:"k-overlay"}),(0,$e.jsx)(Me,{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:(0,$e.jsx)("div",{...x,className:a(e.className,Fs,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":r}),children:l||(0,$e.jsx)(Ze,{header:m,footer:b,adaptive:r,...e,children:c})})})]})};re.states=rr;re.options=ir;re.className=Fs;re.defaultOptions=yt;var lr=require("react/jsx-runtime");var Z=require("react/jsx-runtime"),vo="k-actionsheet-item",cr=[s.hover,s.focus,s.selected,s.disabled],Lo=e=>{let{iconName:t,text:o,description:r,hover:i,focus:l,selected:c,disabled:m,...b}=e;return(0,Z.jsxs)("span",{...b,className:a(e.className,vo,A(vo,{hover:i,focus:l,selected:c,disabled:m})),children:[!e.children&&(0,Z.jsx)(Z.Fragment,{children:(0,Z.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,Z.jsx)("span",{className:"k-icon-wrap",children:(0,Z.jsx)(y,{className:"k-actionsheet-item-icon",icon:t})}),(0,Z.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,Z.jsx)("span",{className:"k-actionsheet-item-title",children:o}),r&&(0,Z.jsx)("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};Lo.states=cr;Lo.className=vo;var Us=require("react/jsx-runtime");var pr=require("react/jsx-runtime");var dr=require("react/jsx-runtime");var mr=require("react/jsx-runtime");var ie=require("react/jsx-runtime"),Ct="k-slider",ur=[s.hover,s.focus,s.active,s.disabled,s.readonly],fr={},Te={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},j=e=>{let{type:t=Te.type,orientation:o=Te.orientation,readonly:r=Te.readonly,disabled:i=Te.disabled,handlePosition:l=Te.handlePosition,showButtons:c=Te.showButtons,showTicks:m=Te.showTicks,hover:b,focus:x,active:h,trackStyle:S,dir:p,...N}=e,L,g;return o==="horizontal"?(L=p==="rtl"?"caret-alt-left":"caret-alt-right",g=p==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(L="caret-alt-up",g="caret-alt-down"),(0,ie.jsxs)("div",{...N,className:a(Ct,e.className,A(Ct,{readonly:r,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:p,children:[c&&(0,ie.jsx)(k,{className:"k-button-decrease",rounded:"full",icon:g}),(0,ie.jsxs)("div",{className:"k-slider-track-wrap",children:[m&&(0,ie.jsx)("ul",{className:"k-reset k-slider-items",children:e.children}),(0,ie.jsxs)("div",{className:"k-slider-track",style:S,children:[(0,ie.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,ie.jsx)("span",{className:a("k-draghandle","k-draghandle-start",A(Ct,{hover:b,focus:x,active:h}))}),(0,ie.jsx)("span",{className:a("k-draghandle",`k-draghandle-${l}`,A(Ct,{hover:b,focus:x,active:h}))})]})]}),c&&(0,ie.jsx)(k,{className:"k-button-increase",rounded:"full",icon:L})]})};j.states=ur;j.options=fr;j.className=Ct;j.defaultOptions=Te;var ko=require("react/jsx-runtime"),Ws="k-tick",br=[],xr={},Qs={label:!1},we=e=>{let{style:t,label:o=Qs.label,orientation:r,large:i,text:l,...c}=e;return(0,ko.jsx)("li",{...c,className:a(e.className,Ws,{[`k-tick-${r}`]:r,"k-tick-large":i}),style:t,children:o&&(0,ko.jsx)("span",{className:"k-label",children:l})})};we.states=br;we.options=xr;we.className=Ws;we.defaultOptions=Qs;var So=require("react/jsx-runtime");var go=require("react/jsx-runtime");var Io=require("react/jsx-runtime");var Mo=require("react/jsx-runtime");var Ys=require("react/jsx-runtime"),yo=e=>(0,Ys.jsx)(j,{type:"gradient",showButtons:!1,showTicks:!1,...e});var Zs=require("react/jsx-runtime"),Co=e=>(0,Zs.jsx)(j,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});var At=require("react/jsx-runtime"),js="k-spin-button",hr=[],Nr={size:[n.small,n.medium,n.large],fillMode:[u.solid,u.flat,u.outline,u.clear,u.link]},Ao={size:n.medium,fillMode:u.solid},je=e=>{let{size:t=Ao.size,fillMode:o=Ao.fillMode,...r}=e;return(0,At.jsxs)("span",{...r,className:a(js,e.className),children:[(0,At.jsx)(k,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),(0,At.jsx)(k,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};je.states=hr;je.options=Nr;je.className=js;je.defaultOptions=Ao;var $=require("react/jsx-runtime"),ea="k-numerictextbox",vr=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],Lr={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[u.solid,u.flat,u.outline]},De={showSpinButton:!0,showClearButton:!0,size:E.defaultOptions.size,rounded:E.defaultOptions.rounded,fillMode:E.defaultOptions.fillMode,separators:!0},R=e=>{let{size:t=De.size,rounded:o=De.rounded,fillMode:r=De.fillMode,separators:i=De.separators,showClearButton:l=De.showClearButton,showSpinButton:c=De.showSpinButton,prefix:m,suffix:b,value:x,placeholder:h,hover:S,focus:p,valid:N,invalid:L,required:g,loading:T,disabled:w,readonly:P,...J}=e;return(0,$.jsxs)(E,{...J,size:t,rounded:o,fillMode:r,hover:S,focus:p,valid:N,invalid:L,required:g,loading:T,disabled:w,readonly:P,className:a(e.className,ea),children:[m&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(ce,{children:m}),i&&(0,$.jsx)(xe,{})]}),(0,$.jsx)(ne,{placeholder:h,value:x}),(0,$.jsx)(q,{valid:N,invalid:L,loading:T,disabled:w}),(0,$.jsx)(Q,{loading:T,disabled:w}),l&&(0,$.jsx)(ae,{loading:T,disabled:w,readonly:P,value:x}),b&&(0,$.jsxs)($.Fragment,{children:[i&&(0,$.jsx)(xe,{}),(0,$.jsx)(pe,{children:b})]}),c&&(0,$.jsx)(je,{className:"k-input-spinner",size:t,fillMode:r})]})};R.states=vr;R.options=Lr;R.className=ea;R.defaultOptions=De;var kr=require("react/jsx-runtime");var oa=require("react/jsx-runtime"),Sr="k-no-data",Tt=e=>(0,oa.jsx)("span",{className:a(Sr,e.className),children:e.children});var de=require("react/jsx-runtime"),To="k-list",gr=[],Ir={size:[n.small,n.medium,n.large]},sa={size:n.medium},O=e=>{let{size:t=sa.size,virtualization:o,children:r,optionLabel:i,customValue:l,screenReaders:c,...m}=e,b,x,h,S,p=[];return r?r.map((N,L)=>{N.type===D?(N.props.root===!0?(b=N.props.label,N.props.children.map((g,T)=>{p.push((0,de.jsx)(C,{...g.props},`optChild-${T}-${new Date().getTime()}`))})):N.props.children.forEach((g,T)=>{let w="";T===0&&(w=N.props.label),p.push((0,de.jsx)(C,{className:T===0?"k-first":"",...g.props,groupLabel:w},`groupLabel-${T}-${new Date().getTime()}`))}),x=(0,de.jsx)(D,{label:b,virtualization:o,children:p})):N.type===C&&(p.push((0,de.jsx)(C,{...N.props},`${N.type}-${L}`)),h=(0,de.jsx)(et,{virtualization:o,children:p}),c&&(S=(0,de.jsxs)(Tt,{className:"k-sr-only",children:[p.length," items found."]})))}):S=(0,de.jsx)(Tt,{children:"No data found."}),(0,de.jsxs)("div",{...m,className:a(e.className,To,M(To,{size:t}),{"k-virtual-list":o}),children:[i,l,x,h,S]})};O.states=gr;O.options=Ir;O.className=To;O.defaultOptions=sa;var me=require("react/jsx-runtime"),wo="k-list",Mr=[],yr={size:[n.small,n.medium,n.large]},aa={size:n.medium},Ve=e=>{let{size:t=aa.size,virtualization:o,children:r,...i}=e,l,c,m,b=[];return r?r.map((x,h)=>{x.type===D?(x.props.root===!0?(l=x.props.label,x.props.children.map((S,p)=>{b.push((0,me.jsx)(C,{...S.props},`optChild-${p}-${new Date().getTime()}`))})):(b.push((0,me.jsx)(na,{...x.props,children:x.props.label},`listChild-${h}`)),x.props.children.map((S,p)=>{b.push((0,me.jsx)(C,{...S.props},`fwOptChild-${p}-${new Date().getTime()}`))})),c=(0,me.jsx)(D,{label:l,virtualization:o,children:b})):x.type===C&&(b.push((0,me.jsx)(C,{...x.props},`${x.type}-${h}`)),m=(0,me.jsx)(et,{virtualization:o,children:b}))}):m=(0,me.jsx)(Tt,{children:"No data found."}),(0,me.jsxs)("div",{...i,className:a(e.className,wo,M(wo,{size:t}),{"k-virtual-list":o}),children:[c,m]})};Ve.states=Mr;Ve.options=yr;Ve.className=wo;Ve.defaultOptions=aa;var Eo=require("react/jsx-runtime"),Ft="k-checkbox",Cr=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.checked,s.indeterminate],Ar={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full]},zo={size:n.medium,rounded:f.medium},ze=e=>{let{id:t,checked:o,indeterminate:r,hover:i,focus:l,disabled:c,invalid:m,valid:b,required:x,size:h=zo.size,rounded:S=zo.rounded,...p}=e;return(0,Eo.jsx)("span",{className:"k-checkbox-wrap",children:(0,Eo.jsx)("input",{...p,id:t,type:"checkbox",defaultChecked:o,required:x,className:a(e.className,Ft,M(Ft,{size:h,rounded:S}),A(Ft,{hover:i,focus:l,disabled:c,invalid:m,valid:b,indeterminate:r,checked:o}))})})};ze.states=Cr;ze.options=Ar;ze.className=Ft;ze.defaultOptions=zo;var la=require("react/jsx-runtime"),ra="k-checkbox-list",Tr=[],wr={},ia={layout:"vertical"},tt=e=>{let{layout:t=ia.layout,...o}=e;return(0,la.jsx)("ul",{...o,className:a(e.className,ra,{[`k-list-${t}`]:t}),children:e.children})};tt.states=Tr;tt.options=wr;tt.className=ra;tt.defaultOptions=ia;var pa=require("react/jsx-runtime"),ca="k-checkbox-list-item",zr=[],Er={},Pr={},ot=e=>{let{...t}=e;return(0,pa.jsx)("li",{...t,className:a(e.className,ca),children:e.children})};ot.states=zr;ot.options=Er;ot.className=ca;ot.defaultOptions=Pr;var Oo=require("react/jsx-runtime");var Bo=require("react/jsx-runtime");var Ko=require("react/jsx-runtime");var Ro=require("react/jsx-runtime");var Or=require("react/jsx-runtime");var Br=require("react/jsx-runtime");var _e=require("react/jsx-runtime"),Ho="k-list-item",Kr=[s.hover,s.focus,s.selected,s.disabled],Rr={},Hr={},C=e=>{let{text:t,groupLabel:o,group:r,showIcon:i,iconName:l,showCheckbox:c,checked:m,hover:b,focus:x,selected:h,disabled:S,...p}=e,N=t||e.children;return(0,_e.jsxs)("li",{...p,className:a(e.className,r?"k-list-group-item":Ho,A(Ho,{hover:b,focus:x,disabled:S,selected:h})),children:[c&&(0,_e.jsx)(ze,{checked:m}),i&&(0,_e.jsx)(y,{icon:l}),(0,_e.jsx)("span",{className:"k-list-item-text",children:N}),o&&o!==""&&(0,_e.jsx)("div",{className:"k-list-item-group-label",children:o})]})};C.states=Kr;C.options=Rr;C.className=Ho;C.defaultOptions=Hr;var st=require("react/jsx-runtime"),Gr="k-list-content",et=e=>{let{virtualization:t,...o}=e;return(0,st.jsxs)("div",{...o,className:a(Gr,e.className),children:[(0,st.jsx)("ul",{className:a("k-list-ul"),children:e.children}),t&&(0,st.jsx)("div",{className:"k-height-container",children:(0,st.jsx)("div",{})})]})};var Go=require("react/jsx-runtime"),$r="k-list-group-sticky-header",da=e=>(0,Go.jsx)("div",{className:a($r,e.className),children:(0,Go.jsx)("div",{className:"k-list-header-text",children:e.children})});var Xe=require("react/jsx-runtime"),D=e=>{let{virtualization:t,label:o}=e;return(0,Xe.jsxs)(Xe.Fragment,{children:[o&&(0,Xe.jsx)(da,{children:o}),e.children&&(0,Xe.jsx)(et,{virtualization:t,children:e.children})]})};var $o=require("react/jsx-runtime"),Dr="k-list-group-item",na=e=>(0,$o.jsx)("li",{className:a(Dr,e.className),children:(0,$o.jsx)("span",{className:"k-list-item-text",children:e.children})});var ma=require("react/jsx-runtime"),Do="k-list-optionlabel",Vr=[s.hover,s.focus,s.selected,s.disabled],_r={},Xr={},Ut=e=>{let{text:t,hover:o,focus:r,selected:i,disabled:l,...c}=e;return(0,ma.jsx)("div",{...c,className:a(Do,A(Do,{hover:o,focus:r,selected:i,disabled:l})),children:t})};Ut.states=Vr;Ut.options=_r;Ut.className=Do;Ut.defaultOptions=Xr;var ua=require("react/jsx-runtime"),Vo="k-list-custom-value",Jr=[s.hover,s.focus,s.selected,s.disabled],Fr={},Ur={},Ee=e=>{let{text:t,hover:o,focus:r,selected:i,disabled:l,...c}=e;return(0,ua.jsx)("div",{...c,className:a(Vo,A(Vo,{hover:o,focus:r,selected:i,disabled:l})),children:t})};Ee.states=Jr;Ee.options=Fr;Ee.className=Vo;Ee.defaultOptions=Ur;var qr=require("react/jsx-runtime");var Wr=require("react/jsx-runtime");var fa=require("react/jsx-runtime");var ba=require("react/jsx-runtime");var Qr=require("react/jsx-runtime");var xa=require("react/jsx-runtime");var ha=require("react/jsx-runtime");var B=require("react/jsx-runtime"),Na="k-dropdownlist",Yr=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Zr={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[u.solid,u.flat,u.outline]},at={showValue:!0,arrowIconName:"caret-alt-down",size:n.medium,rounded:f.medium,fillMode:u.solid},Pe=e=>{let{size:t=at.size,rounded:o=at.rounded,fillMode:r=at.fillMode,arrowIconName:i=at.arrowIconName,showValue:l=at.showValue,valueIconName:c,prefix:m,suffix:b,value:x,placeholder:h,hover:S,focus:p,valid:N,invalid:L,required:g,loading:T,disabled:w,readonly:P,popup:J,opened:ge,adaptive:ut,adaptiveSettings:ft,adaptiveTitle:Zt,adaptiveSubtitle:jt,adaptiveFilter:Wa,...Qa}=e;return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsxs)(se,{...Qa,size:t,rounded:o,fillMode:r,hover:S,focus:p,valid:N,invalid:L,required:g,loading:T,disabled:w,readonly:P,className:a(e.className,Na,{"k-icon-picker":!l&&c}),children:[(0,B.jsx)(ce,{children:m}),(0,B.jsx)(He,{placeholder:h,value:x,showValue:l,valueIconName:c}),(0,B.jsx)(q,{valid:N,invalid:L,loading:T,disabled:w}),(0,B.jsx)(Q,{loading:T,disabled:w}),(0,B.jsx)(pe,{children:b}),(0,B.jsx)(k,{className:"k-input-button",icon:i,rounded:null,size:e.size,fillMode:e.fillMode})]}),ge&&J&&(0,B.jsx)(U,{className:"k-list-container k-dropdownlist-popup",children:J}),ut&&(0,B.jsx)(re,{adaptive:!0,...ft,header:(0,B.jsx)(Y,{actionsEnd:(0,B.jsx)(k,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Wa,inputValue:x,inputPlaceholder:h,title:Zt,subtitle:jt}),children:(0,B.jsx)("div",{className:"k-list-container",children:(0,B.jsxs)(O,{size:"large",children:[(0,B.jsx)(C,{text:"List item"}),(0,B.jsx)(C,{text:"List item"}),(0,B.jsx)(C,{text:"List item"})]})})})]})};Pe.states=Yr;Pe.options=Zr;Pe.className=Na;Pe.defaultOptions=at;var jr=require("react/jsx-runtime");var va=require("react/jsx-runtime");var _o=require("react/jsx-runtime");var ei=require("react/jsx-runtime");var La=require("react/jsx-runtime");var ka=require("react/jsx-runtime");var Xo=require("react/jsx-runtime");var Jo=require("react/jsx-runtime");var Sa=require("react/jsx-runtime");var ga=require("react/jsx-runtime");var v=require("react/jsx-runtime"),Ia="k-colorgradient-inputs",ti=[],oi={size:[n.small,n.medium,n.large]},Ma={mode:"rgba",size:n.medium},nt=e=>{let{mode:t=Ma.mode,size:o,...r}=e;return(0,v.jsxs)("div",{...r,className:a(Ia,"k-hstack"),children:[(0,v.jsx)("div",{className:"k-vstack",children:(0,v.jsx)(k,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),t==="rgba"&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,v.jsxs)("div",{className:"k-vstack",children:[(0,v.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,v.jsx)(v.Fragment,{children:(0,v.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,v.jsx)(Ae,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,v.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};nt.states=ti;nt.options=oi;nt.className=Ia;nt.defaultOptions=Ma;var X=require("react/jsx-runtime"),ya="k-colorgradient-color-contrast",si=[],ai={},ni={},rt=()=>(0,X.jsxs)("div",{className:a(ya,"k-vbox"),children:[(0,X.jsxs)("div",{className:"k-contrast-ratio",children:[(0,X.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,X.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,X.jsx)(y,{icon:"check"}),(0,X.jsx)(y,{icon:"check"})]})]}),(0,X.jsxs)("div",{children:[(0,X.jsx)("span",{children:"AA: 4.5"}),(0,X.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,X.jsx)(y,{icon:"check"})]})]}),(0,X.jsxs)("div",{children:[(0,X.jsx)("span",{children:"AAA: 7.0"}),(0,X.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,X.jsx)(y,{icon:"x"})]})]})]});rt.states=si;rt.options=ai;rt.className=ya;rt.defaultOptions=ni;var H=require("react/jsx-runtime"),qt="k-colorgradient",ri=[s.hover,s.focus,s.readonly,s.disabled],ii={size:[n.small,n.medium,n.large]},le={size:n.medium,mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},Oe=e=>{let{size:t=le.size,mode:o=le.mode,readonly:r=le.readonly,disabled:i=le.disabled,gradientStyle:l=le.gradientStyle,dragHandleStyle:c=le.dragHandleStyle,alphaStyle:m=le.alphaStyle,alphaStyleHorizontal:b=le.alphaStyleHorizontal,contrast:x=le.contrast,dir:h,hover:S,focus:p,hoverHandle:N,focusHandle:L,canvasOrientation:g=le.canvasOrientation,...T}=e;return(0,H.jsxs)("div",{...T,className:a(e.className,qt,M(qt,{size:t}),A(qt,{hover:S,focus:p,readonly:r,disabled:i})),dir:h,children:[!g||g==="horizontal"&&(0,H.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,H.jsx)("div",{className:"k-hsv-rectangle",style:l,children:(0,H.jsx)("div",{className:"k-hsv-gradient",children:(0,H.jsx)("div",{className:a("k-hsv-draghandle","k-draghandle",{"k-hover":N,"k-focus":L}),style:c})})}),(0,H.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,H.jsx)(Co,{className:"k-hue-slider",hover:N,focus:L}),o!=="rgb"&&o!=="hsv"&&(0,H.jsx)(Co,{className:"k-alpha-slider",hover:N,focus:L,trackStyle:m})]})]}),g==="vertical"&&(0,H.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,H.jsx)("div",{className:"k-hsv-rectangle",style:l,children:(0,H.jsx)("div",{className:"k-hsv-gradient",children:(0,H.jsx)("div",{className:a("k-hsv-draghandle","k-draghandle",{"k-hover":N,"k-focus":L}),style:c})})}),(0,H.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,H.jsx)(yo,{className:"k-hue-slider",hover:N,focus:L}),o!=="rgb"&&o!=="hsv"&&(0,H.jsx)(yo,{className:"k-alpha-slider",hover:N,focus:L,trackStyle:b})]})]}),(0,H.jsx)(nt,{mode:e.mode,size:t}),x&&(0,H.jsx)(rt,{})]})};Oe.states=ri;Oe.options=ii;Oe.className=qt;Oe.defaultOptions=le;var li=require("react/jsx-runtime");var ci=require("react/jsx-runtime");var Aa=require("react/jsx-runtime"),Ca=e=>(0,Aa.jsx)("tr",{children:e.children});var Ta=require("react/jsx-runtime"),Fo="k-colorpalette-tile",pi=[s.hover,s.focus,s.selected],di={},wt=e=>{let{color:t,tileSize:o,hover:r,focus:i,selected:l,...c}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,Ta.jsx)("td",{...c,className:a(e.className,Fo,A(Fo,{hover:r,focus:i,selected:l})),style:m})};wt.states=pi;wt.options=di;wt.className=Fo;var it=require("react/jsx-runtime"),Wt="k-colorpalette",mi=[s.disabled],ui={size:[n.small,n.medium,n.large]},Uo={columns:10,size:n.medium},lt=e=>{let{size:t=Uo.size,palette:o,columns:r=Uo.columns,tileSize:i,disabled:l,...c}=e,m=[];if(o){let b=r||o.columns,x=o.colors?o.colors:o;Array.isArray(x)&&Array.from({length:Math.ceil(x.length/b)},(h,S)=>{let p=[];x.slice(S*b,(S+1)*b).map((L,g)=>{p.push((0,it.jsx)(wt,{color:L,tileSize:i},g))});let N=(0,it.jsx)(Ca,{children:p},S);m.push(N)})}return(0,it.jsx)("div",{...c,className:a(e.className,Wt,A(Wt,{disabled:l}),M(Wt,{size:t})),children:(0,it.jsx)("table",{className:"k-colorpalette-table",children:(0,it.jsx)("tbody",{children:m.length>0?m:e.children})})})};lt.states=mi;lt.options=ui;lt.className=Wt;lt.defaultOptions=Uo;var qo={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}};var fi=require("react/jsx-runtime");var K=require("react/jsx-runtime"),Qt="k-coloreditor",bi=[s.focus],xi={size:[n.small,n.medium,n.large]},ct={size:n.medium,view:"gradient",palette:qo.office,actionButtons:!0,canvasOrientation:"horizontal"},ue=e=>{let{size:t=ct.size,view:o=ct.view,palette:r=ct.palette,color:i,currentColor:l,focus:c,focusView:m,dir:b,group:x,actionButtons:h=ct.actionButtons,canvasOrientation:S=ct.canvasOrientation,...p}=e;return(0,K.jsxs)("div",{...p,className:a(e.className,"k-flatcolorpicker",Qt,M(Qt,{size:t}),A(Qt,{focus:c})),dir:b,children:[(0,K.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,K.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:x&&(0,K.jsxs)(F,{fillMode:"flat",children:[(0,K.jsx)(k,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),(0,K.jsx)(k,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),(0,K.jsx)("div",{className:"k-spacer"}),(0,K.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,K.jsx)(k,{fillMode:"flat",icon:"droplet-slash",size:t}),(0,K.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,K.jsx)(Ie,{className:"k-coloreditor-preview-color",color:i}),(0,K.jsx)(Ie,{className:"k-coloreditor-current-color",color:l})]})]})]}),(0,K.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,K.jsx)(Oe,{focus:m,size:t,canvasOrientation:S}):(0,K.jsx)(lt,{palette:r,size:t})}),h&&(0,K.jsxs)(ye,{className:"k-coloreditor-footer",alignment:"start",children:[(0,K.jsx)(k,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,K.jsx)(k,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ue.states=bi;ue.options=xi;ue.className=Qt;ue.defaultOptions=ct;var hi=require("react/jsx-runtime");var Ni=require("react/jsx-runtime");var vi=require("react/jsx-runtime");var Li=require("react/jsx-runtime");var G=require("react/jsx-runtime"),wa="k-colorpicker",ki=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled],Si={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[u.solid,u.flat,u.outline]},zt={arrowIconName:"caret-alt-down",size:se.defaultOptions.size,rounded:se.defaultOptions.rounded,fillMode:se.defaultOptions.fillMode},Ne=e=>{let{size:t=zt.size,rounded:o=zt.rounded,fillMode:r=zt.fillMode,arrowIconName:i=zt.arrowIconName,prefix:l,suffix:c,value:m,placeholder:b,hover:x,focus:h,valid:S,invalid:p,required:N,disabled:L,valueIconName:g,popup:T,opened:w,adaptive:P,adaptiveSettings:J,adaptiveTitle:ge,adaptiveSubtitle:ut,...ft}=e;return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(se,{...ft,size:t,rounded:o,fillMode:r,hover:x,focus:h,valid:S,invalid:p,required:N,disabled:L,className:a(e.className,wa,"k-icon-picker"),children:[(0,G.jsx)(ce,{children:l}),(0,G.jsx)(He,{placeholder:b,value:m,showValue:!1,valueIcon:(0,G.jsx)(Ie,{className:"k-value-icon",color:m,iconName:g}),valueIconName:g}),(0,G.jsx)(pe,{children:c}),(0,G.jsx)(k,{className:"k-input-button",icon:i,rounded:null,size:t,fillMode:r})]}),w&&T&&(0,G.jsx)(U,{className:"k-colorpicker-popup",children:T}),P&&(0,G.jsx)(re,{adaptive:!0,...J,header:(0,G.jsx)(Y,{actionsEnd:(0,G.jsx)(k,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),title:ge,subtitle:ut}),footer:(0,G.jsxs)(Mt,{children:[(0,G.jsx)(k,{text:"Cancel",size:"large",themeColor:"base"}),(0,G.jsx)(k,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,G.jsx)(ue,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Ne.states=ki;Ne.options=Si;Ne.className=wa;Ne.defaultOptions=zt;var Ii=require("react/jsx-runtime");var Mi=require("react/jsx-runtime");var yi=require("react/jsx-runtime");var Ci=require("react/jsx-runtime");var Ai=require("react/jsx-