@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 71.8 kB
JavaScript
var Qr=Object.create;var Qt=Object.defineProperty;var Yr=Object.getOwnPropertyDescriptor;var jr=Object.getOwnPropertyNames;var en=Object.getPrototypeOf,tn=Object.prototype.hasOwnProperty;var on=(e,t)=>{for(var o in t)Qt(e,o,{get:t[o],enumerable:!0})},Za=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of jr(t))!tn.call(e,i)&&i!==o&&Qt(e,i,{get:()=>t[i],enumerable:!(n=Yr(t,i))||n.enumerable});return e};var an=(e,t,o)=>(o=e!=null?Qr(en(e)):{},Za(t||!e||!e.__esModule?Qt(o,"default",{value:e,enumerable:!0}):o,e)),sn=e=>Za(Qt({},"__esModule",{value:!0}),e);var Ap={};on(Ap,{ImageEditorNormal:()=>Bp});module.exports=sn(Ap);var s=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?s(...t):typeof t=="object"?Object.keys(t).map((o,n)=>t[n]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var S=(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"}),I=(e,t)=>s({"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,"k-highlighted":t.highlighted});var r={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},N={small:"small",medium:"medium",large:"large",full:"full"},u={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},f={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},a={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"};var zt=require("react/jsx-runtime"),vo="k-icon k-font-icon",rn=[],nn={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark]},ln={},wt=e=>{let{size:t,themeColor:o,icon:n,rotate:i,flip:l,...p}=e;return n?(0,zt.jsx)("span",{...p,className:s(e.className,vo,S(vo,{size:t}),{[`k-i-${n}`]:n,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"})}):(0,zt.jsx)(zt.Fragment,{})};wt.states=rn;wt.options=nn;wt.className=vo;wt.defaultOptions=ln;var Qa=wt;var We=require("react/jsx-runtime"),Lo="k-icon k-svg-icon",pn=[],cn={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark]},Ya={viewBox:"0 0 24 24"},Et=e=>{let{size:t,themeColor:o,rotate:n,flip:i,viewBox:l=Ya.viewBox,icon:p,...d}=e;if(!p)return(0,We.jsx)(We.Fragment,{});p==="none"&&{...d,className:s(e.className,Lo,"k-none")};let m=typeof p=="object"&&p.name&&p.name;return(0,We.jsx)("span",{...d,className:s(e.className,Lo,S("k-icon",{size:t}),{[`k-svg-i-${m}`]:m,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),children:(0,We.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof p=="object"?p.viewBox:l,dangerouslySetInnerHTML:typeof p=="object"?{__html:p.content}:void 0,children:p?void 0:e.children})})};Et.states=pn;Et.options=cn;Et.className=Lo;Et.defaultOptions=Ya;var go=Et;var ja=an(require("@progress/kendo-svg-icons")),Ie=require("react/jsx-runtime"),mn=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),dn=[],un={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark]},So={viewBox:"0 0 24 24",type:"svg"},C=e=>{let{size:t,themeColor:o,icon:n,type:i=So.type,rotate:l,flip:p,viewBox:d=So.viewBox,...m}=e;if(!n)return(0,Ie.jsx)(Ie.Fragment,{});if(i==="svg"){if(n==="none")return(0,Ie.jsx)(go,{...m,icon:n,size:t});let b=mn(`${n}-icon`);return ja[b]?(0,Ie.jsx)(go,{...m,icon:ja[b],size:t,themeColor:o,rotate:l,flip:p,viewBox:d}):(0,Ie.jsx)(Ie.Fragment,{})}return(0,Ie.jsx)(Qa,{...m,icon:n,size:t,themeColor:o,rotate:l,flip:p})};C.states=dn;C.options=un;C.defaultOptions=So;var le=require("react/jsx-runtime"),Yt="k-button",fn=[a.hover,a.focus,a.active,a.selected,a.disabled],bn={size:[r.small,r.medium,r.large],rounded:[N.small,N.medium,N.large,N.full],fillMode:[u.solid,u.flat,u.outline,u.clear,u.link],themeColor:[f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark,f.inverse]},Ze={size:r.medium,rounded:N.medium,fillMode:u.solid,themeColor:f.base,showArrow:!1,arrowIconName:"caret-alt-down"},h=e=>{let{size:t=Ze.size,rounded:o=Ze.rounded,fillMode:n=Ze.fillMode,themeColor:i=Ze.themeColor,showArrow:l=Ze.showArrow,arrowIconName:p=Ze.arrowIconName,hover:d,focus:m,active:b,selected:x,disabled:v,icon:c,text:k,iconClassName:g,...y}=e,B=c!==void 0,A=e.children!==void 0;return(0,le.jsxs)("button",{...y,className:s(e.className,Yt,S(Yt,{size:t,rounded:o,fillMode:n,themeColor:i}),I(Yt,{hover:d,focus:m,active:b,disabled:v,selected:x}),{"k-icon-button":!k&&!A&&B}),children:[c&&(0,le.jsx)(C,{className:s(g,"k-button-icon"),icon:c}),k?(0,le.jsxs)(le.Fragment,{children:[k&&(0,le.jsx)("span",{className:"k-button-text",children:k}),e.children]}):e.children&&(0,le.jsx)("span",{className:"k-button-text",children:e.children}),l&&(0,le.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,le.jsx)(C,{icon:p})})]})};h.states=fn;h.options=bn;h.className=Yt;h.defaultOptions=Ze;var es=require("react/jsx-runtime"),jt=e=>(0,es.jsx)(h,{icon:"folder",...e,children:void 0});var ts=require("react/jsx-runtime"),yo=e=>(0,ts.jsx)(h,{icon:"folder",children:"Button",...e});var xn=require("react/jsx-runtime");var as=require("react/jsx-runtime"),Pt="k-button-group",hn=[a.disabled],Nn={fillMode:[u.solid,u.flat,u.outline,u.clear,u.link]},os={fillMode:u.solid},O=e=>{let{fillMode:t=os.fillMode,disabled:o,stretched:n,...i}=e;return(0,as.jsx)("div",{...i,className:s(e.className,Pt,S(Pt,{fillMode:t}),I(Pt,{disabled:o}),{[`${Pt}-stretched`]:n}),children:e.children})};O.states=hn;O.options=Nn;O.className=Pt;O.defaultOptions=os;var Io=require("react/jsx-runtime");var Mo=require("react/jsx-runtime");var Co=require("react/jsx-runtime");var To=require("react/jsx-runtime");var ss=require("react/jsx-runtime"),eo="k-input",kn=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],vn={size:[r.small,r.medium,r.large],rounded:[N.small,N.medium,N.large,N.full],fillMode:[u.solid,u.flat,u.outline]},to={size:r.medium,rounded:r.medium,fillMode:u.solid},w=e=>{let{hover:t,focus:o,disabled:n,invalid:i,valid:l,loading:p,readonly:d,size:m=to.size,rounded:b=to.rounded,fillMode:x=to.fillMode,...v}=e;return(0,ss.jsx)("span",{...v,className:s(e.className,eo,S(eo,{size:m,rounded:b,fillMode:x}),I(eo,{hover:t,focus:o,disabled:n,invalid:i,valid:l,loading:p,readonly:d}))})};w.states=kn;w.options=vn;w.className=eo;w.defaultOptions=to;var rs=require("react/jsx-runtime"),oo="k-picker",Ln=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],gn={size:[r.small,r.medium,r.large],rounded:[N.small,N.medium,N.large,N.full],fillMode:[u.solid,u.flat,u.outline]},ao={size:r.medium,rounded:N.medium,fillMode:u.solid},pe=e=>{let{hover:t,focus:o,disabled:n,invalid:i,valid:l,loading:p,readonly:d,size:m=ao.size,rounded:b=ao.rounded,fillMode:x=ao.fillMode,...v}=e;return(0,rs.jsx)("span",{...v,className:s(e.className,oo,S(oo,{size:m,rounded:b,fillMode:x}),I(oo,{hover:t,focus:o,disabled:n,invalid:i,valid:l,loading:p,readonly:d})),children:e.children})};pe.states=Ln;pe.options=gn;pe.className=oo;pe.defaultOptions=ao;var ct=require("react/jsx-runtime"),ns="k-clear-value",Sn=[a.disabled,a.loading,a.readonly],yn={},ce=e=>{let{disabled:t,loading:o,readonly:n,value:i}=e;return t||n||o||!i?(0,ct.jsx)(ct.Fragment,{}):(0,ct.jsx)("span",{className:s(e.className,ns),children:(0,ct.jsx)(C,{icon:"x"})})};ce.states=Sn;ce.options=yn;ce.className=ns;var is=require("react/jsx-runtime"),Bo="k-input-inner",In=[],Mn={},so={type:"text",autocomplete:"off",value:"",placeholder:""},me=e=>{let{value:t=so.value,type:o=so.type,placeholder:n=so.placeholder,autocomplete:i=so.autocomplete,...l}=e;return(0,is.jsx)("input",{...l,type:o,className:s(e.className,Bo,S(Bo,e)),placeholder:n,autoComplete:i,defaultValue:t})};me.states=In;me.options=Mn;me.className=Bo;var Ot=require("react/jsx-runtime"),Ao="k-input-inner",Cn=[],Tn={},Qe=e=>{let{value:t,placeholder:o,showValue:n,valueIcon:i,valueIconName:l,...p}=e;return(0,Ot.jsxs)("span",{...p,className:s(e.className,Ao,S(Ao,e)),children:[i,!i&&l&&(0,Ot.jsx)(C,{className:"k-input-value-icon",icon:l}),n&&!t&&o,n&&t&&(0,Ot.jsx)("span",{className:"k-input-value-text",children:t})]})};Qe.states=Cn;Qe.options=Tn;Qe.className=Ao;var ps=require("react/jsx-runtime"),zo="k-input-inner",Bn=[],An={},ls={value:"",placeholder:""},wo=e=>{let{value:t=ls.value,placeholder:o=ls.placeholder,rows:n,...i}=e;return(0,ps.jsx)("textarea",{...i,className:s(e.className,zo,S(zo,e)),placeholder:o,rows:n,defaultValue:t})};wo.states=Bn;wo.options=An;wo.className=zo;var Rt=require("react/jsx-runtime"),cs="k-input-loading-icon",zn=[a.disabled,a.loading],j=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Rt.jsx)(Rt.Fragment,{}):(0,Rt.jsx)("span",{className:s(e.className,cs,"k-icon k-i-loading")})};j.states=zn;j.className=cs;var Kt=require("react/jsx-runtime"),ms="k-input-validation-icon",wn=[a.valid,a.invalid,a.disabled,a.loading],En={},Q=e=>{let{valid:t,invalid:o,disabled:n,loading:i}=e,l=o?"warning-circle":"check-circle";return n||i||!!!(t||o)?(0,Kt.jsx)(Kt.Fragment,{}):(0,Kt.jsx)(C,{className:s(ms),icon:l})};Q.states=wn;Q.options=En;Q.className=ms;var Ht=require("react/jsx-runtime"),Pn="k-input-prefix",On={direction:"horizontal"},he=e=>{let{direction:t=On.direction,...o}=e;return e.children?(0,Ht.jsx)("span",{...o,className:s(Pn,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Ht.jsx)(Ht.Fragment,{})};var Gt=require("react/jsx-runtime"),Rn="k-input-suffix",Kn={direction:"horizontal"},Ne=e=>{let{direction:t=Kn.direction,...o}=e;return e.children?(0,Gt.jsx)("span",{...o,className:s(Rn,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 us=require("react/jsx-runtime"),ds="k-input-separator",Fn={direction:"vertical"},Me=e=>{let{direction:t=Fn.direction,...o}=e;return(0,us.jsx)("span",{...o,className:s(ds,e.className,{[`${ds}-${t}`]:t})})};var Ft=require("react/jsx-runtime"),fs="k-color-preview",$n=[],Dn={},Re=e=>{let{color:t,iconName:o,...n}=e;return(0,Ft.jsxs)("span",{...n,className:s(e.className,fs,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,Ft.jsx)(C,{icon:o,className:"k-color-preview-icon"}),(0,Ft.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Re.states=$n;Re.options=Dn;Re.className=fs;var Eo=require("react/jsx-runtime"),bs="k-animation-container",Vn=[],_n={},xs={positionMode:"absolute"},Ke=e=>{let{positionMode:t=xs.positionMode,animationStyle:o,offset:n,...i}=e;return(0,Eo.jsx)("div",{...i,style:{...n,...e.style},className:s(e.className,bs,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,Eo.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};Ke.states=Vn;Ke.options=_n;Ke.className=bs;Ke.defaultOptions=xs;var Po=require("react/jsx-runtime"),hs="k-popup",Xn=[],Jn={},Ns={positionMode:"absolute"},$=e=>{let{offset:t,positionMode:o=Ns.positionMode,animationStyle:n,...i}=e;return(0,Po.jsx)(Ke,{positionMode:o,offset:t,animationStyle:n,children:(0,Po.jsx)("div",{...i,className:s(e.className,hs),children:e.children})})};$.states=Xn;$.options=Jn;$.className=hs;$.defaultOptions=Ns;var ks=require("react/jsx-runtime"),ro="k-actions",Un=[],qn={},Oo={alignment:"start",orientation:"horizontal"},He=e=>{let{alignment:t=Oo.alignment,orientation:o=Oo.orientation,...n}=e;return(0,ks.jsx)("div",{...n,className:s(ro,{[`${ro}-${t}`]:t,[`${ro}-${o}`]:o},e.className),children:e.children})};He.states=Un;He.options=qn;He.className=ro;He.defaultOptions=Oo;var Ls=require("react/jsx-runtime"),Wn="k-actionsheet-footer",vs={alignment:"stretched",orientation:"horizontal"},$t=e=>{let{alignment:t=vs.alignment,orientation:o=vs.orientation,template:n,as:i=n?"div":He,...l}=e;return(0,Ls.jsx)(i,{...l,...!n&&{alignment:t,orientation:o},className:s(e.className,Wn),children:e.children})};var Ge=require("react/jsx-runtime"),gs="k-searchbox",Zn=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading],Qn={size:[r.small,r.medium,r.large],rounded:[N.small,N.medium,N.large,N.full],fillMode:[u.solid,u.flat,u.outline]},Ro={showIcon:!0,icon:"search",size:w.defaultOptions.size,rounded:w.defaultOptions.rounded,fillMode:w.defaultOptions.fillMode},Ce=e=>{let{value:t,placeholder:o,size:n,rounded:i,fillMode:l,hover:p,focus:d,valid:m,invalid:b,required:x,loading:v,disabled:c,showIcon:k=Ro.showIcon,icon:g=Ro.icon,...y}=e;return(0,Ge.jsxs)(w,{...y,size:n,rounded:i,fillMode:l,hover:p,focus:d,valid:m,invalid:b,required:x,loading:v,disabled:c,className:s(e.className,gs),children:[k&&(0,Ge.jsx)(C,{className:"k-input-icon",icon:g}),(0,Ge.jsx)(me,{placeholder:o,value:t}),(0,Ge.jsx)(j,{...e}),(0,Ge.jsx)(Q,{...e}),(0,Ge.jsx)(ce,{...e})]})};Ce.states=Zn;Ce.options=Qn;Ce.className=gs;Ce.defaultOptions=Ro;var Yn=require("react/jsx-runtime");var X=require("react/jsx-runtime"),Ss="k-textbox",jn=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],ei={size:[r.small,r.medium,r.large],rounded:[N.small,N.medium,N.large,N.full],fillMode:[u.solid,u.flat,u.outline]},Ye={showClearButton:!0,showValidationIcon:!0,size:w.defaultOptions.size,rounded:w.defaultOptions.rounded,fillMode:w.defaultOptions.fillMode,separators:!0},de=e=>{let{size:t=Ye.size,rounded:o=Ye.rounded,fillMode:n=Ye.fillMode,separators:i=Ye.separators,showClearButton:l=Ye.showClearButton,showValidationIcon:p=Ye.showValidationIcon,prefix:d,suffix:m,type:b,value:x,placeholder:v,hover:c,focus:k,valid:g,invalid:y,required:B,loading:A,disabled:E,readonly:U,...Oe}=e;return(0,X.jsxs)(w,{...Oe,size:t,rounded:o,fillMode:n,hover:c,focus:k,valid:g,invalid:y,required:B,loading:A,disabled:E,readonly:U,className:s(e.className,Ss),children:[d&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(he,{children:d}),i&&(0,X.jsx)(Me,{})]}),(0,X.jsx)(me,{placeholder:v,value:x,type:b}),p&&(0,X.jsx)(Q,{valid:g,invalid:y,loading:A,disabled:E}),(0,X.jsx)(j,{loading:A,disabled:E}),l&&(0,X.jsx)(ce,{loading:A,disabled:E,readonly:U,value:x}),m&&(0,X.jsxs)(X.Fragment,{children:[i&&(0,X.jsx)(Me,{}),(0,X.jsx)(Ne,{children:m})]})]})};de.states=jn;de.options=ei;de.className=Ss;de.defaultOptions=Ye;var ti=require("react/jsx-runtime");var Is=require("react/jsx-runtime");var Ms=require("react/jsx-runtime");var Y=require("react/jsx-runtime"),Cs="k-actionsheet-titlebar",oi={},ee=e=>{let{title:t,subtitle:o,actionsStart:n,actionsEnd:i,filter:l,input:p,inputValue:d,inputPlaceholder:m,adaptive:b,children:x,...v}=e;return(0,Y.jsxs)("div",{...v,className:s(e.className,Cs),children:[(0,Y.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[n&&(0,Y.jsx)("div",{className:"k-actionsheet-actions",children:n}),!x&&(0,Y.jsxs)("div",{className:"k-actionsheet-title",children:[t&&(0,Y.jsx)("div",{className:"k-text-center",children:t}),o&&(0,Y.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),x&&(0,Y.jsx)("div",{className:"k-actionsheet-title",children:x}),i&&(0,Y.jsx)("div",{className:"k-actionsheet-actions",children:i})]}),(p||l)&&(0,Y.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:p?(0,Y.jsx)(de,{value:d,placeholder:m,size:b?"large":"medium"}):(0,Y.jsx)(Ce,{placeholder:"Filter",size:b?"large":"medium"})})]})};ee.className=Cs;ee.defaultOptions=oi;var mt=require("react/jsx-runtime"),Ko="k-actionsheet-view",ai=[],si={},ri={},dt=e=>{let{adaptive:t,animated:o,children:n,header:i,footer:l,...p}=e,d=(i==null?void 0:i.type)===ee&&(0,mt.jsx)(ee,{adaptive:t,...i==null?void 0:i.props}),m=(l==null?void 0:l.type)===$t&&(0,mt.jsx)($t,{...l==null?void 0:l.props});return(0,mt.jsxs)("div",{...p,className:s(e.className,Ko,{[`${Ko}-animated`]:o}),children:[d,(0,mt.jsx)("div",{className:"k-actionsheet-content",children:n}),m]})};dt.states=ai;dt.options=si;dt.className=Ko;dt.defaultOptions=ri;var je=require("react/jsx-runtime"),Ts="k-actionsheet",ni=[],ii={},Dt={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ue=e=>{let{side:t=Dt.side,fullscreen:o=Dt.fullscreen,adaptive:n=Dt.adaptive,overlay:i=Dt.overlay,template:l,children:p,header:d,footer:m,...b}=e;return(0,je.jsxs)("div",{className:"k-actionsheet-container",children:[i&&(0,je.jsx)("div",{className:"k-overlay"}),(0,je.jsx)(Ke,{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,je.jsx)("div",{...b,className:s(e.className,Ts,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":n}),children:l||(0,je.jsx)(dt,{header:d,footer:m,adaptive:n,...e,children:p})})})]})};ue.states=ni;ue.options=ii;ue.className=Ts;ue.defaultOptions=Dt;var li=require("react/jsx-runtime");var te=require("react/jsx-runtime"),Ho="k-actionsheet-item",pi=[a.hover,a.focus,a.selected,a.disabled],Go=e=>{let{iconName:t,text:o,description:n,hover:i,focus:l,selected:p,disabled:d,...m}=e;return(0,te.jsxs)("span",{...m,className:s(e.className,Ho,I(Ho,{hover:i,focus:l,selected:p,disabled:d})),children:[!e.children&&(0,te.jsx)(te.Fragment,{children:(0,te.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,te.jsx)("span",{className:"k-icon-wrap",children:(0,te.jsx)(C,{className:"k-actionsheet-item-icon",icon:t})}),(0,te.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,te.jsx)("span",{className:"k-actionsheet-item-title",children:o}),n&&(0,te.jsx)("span",{className:"k-actionsheet-item-description",children:n})]})]})}),e.children]})};Go.states=pi;Go.className=Ho;var Bs=require("react/jsx-runtime");var ci=require("react/jsx-runtime");var mi=require("react/jsx-runtime");var di=require("react/jsx-runtime");var fe=require("react/jsx-runtime"),Vt="k-slider",ui=[a.hover,a.focus,a.active,a.disabled,a.readonly],fi={},Fe={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},oe=e=>{let{type:t=Fe.type,orientation:o=Fe.orientation,readonly:n=Fe.readonly,disabled:i=Fe.disabled,handlePosition:l=Fe.handlePosition,showButtons:p=Fe.showButtons,showTicks:d=Fe.showTicks,hover:m,focus:b,active:x,trackStyle:v,dir:c,...k}=e,g,y;return o==="horizontal"?(g=c==="rtl"?"caret-alt-left":"caret-alt-right",y=c==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(g="caret-alt-up",y="caret-alt-down"),(0,fe.jsxs)("div",{...k,className:s(Vt,e.className,I(Vt,{readonly:n,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:c,children:[p&&(0,fe.jsx)(h,{className:"k-button-decrease",rounded:"full",icon:y}),(0,fe.jsxs)("div",{className:"k-slider-track-wrap",children:[d&&(0,fe.jsx)("ul",{className:"k-reset k-slider-items",children:e.children}),(0,fe.jsxs)("div",{className:"k-slider-track",style:v,children:[(0,fe.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,fe.jsx)("span",{className:s("k-draghandle","k-draghandle-start",I(Vt,{hover:m,focus:b,active:x}))}),(0,fe.jsx)("span",{className:s("k-draghandle",`k-draghandle-${l}`,I(Vt,{hover:m,focus:b,active:x}))})]})]}),p&&(0,fe.jsx)(h,{className:"k-button-increase",rounded:"full",icon:g})]})};oe.states=ui;oe.options=fi;oe.className=Vt;oe.defaultOptions=Fe;var Fo=require("react/jsx-runtime"),zs="k-tick",bi=[],xi={},ws={label:!1},$e=e=>{let{style:t,label:o=ws.label,orientation:n,large:i,text:l,...p}=e;return(0,Fo.jsx)("li",{...p,className:s(e.className,zs,{[`k-tick-${n}`]:n,"k-tick-large":i}),style:t,children:o&&(0,Fo.jsx)("span",{className:"k-label",children:l})})};$e.states=bi;$e.options=xi;$e.className=zs;$e.defaultOptions=ws;var $o=require("react/jsx-runtime");var Do=require("react/jsx-runtime");var Vo=require("react/jsx-runtime");var _o=require("react/jsx-runtime");var Es=require("react/jsx-runtime"),Xo=e=>(0,Es.jsx)(oe,{type:"gradient",showButtons:!1,showTicks:!1,...e});var Ps=require("react/jsx-runtime"),Jo=e=>(0,Ps.jsx)(oe,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});var _t=require("react/jsx-runtime"),Os="k-spin-button",hi=[],Ni={size:[r.small,r.medium,r.large],fillMode:[u.solid,u.flat,u.outline,u.clear,u.link]},Uo={size:r.medium,fillMode:u.solid},ut=e=>{let{size:t=Uo.size,fillMode:o=Uo.fillMode,...n}=e;return(0,_t.jsxs)("span",{...n,className:s(Os,e.className),children:[(0,_t.jsx)(h,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),(0,_t.jsx)(h,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};ut.states=hi;ut.options=Ni;ut.className=Os;ut.defaultOptions=Uo;var D=require("react/jsx-runtime"),Rs="k-numerictextbox",ki=[a.hover,a.focus,a.valid,a.invalid,a.loading,a.required,a.disabled,a.readonly],vi={size:[r.small,r.medium,r.large],rounded:[N.small,N.medium,N.large,N.full],fillMode:[u.solid,u.flat,u.outline]},et={showSpinButton:!0,showClearButton:!0,size:w.defaultOptions.size,rounded:w.defaultOptions.rounded,fillMode:w.defaultOptions.fillMode,separators:!0},R=e=>{let{size:t=et.size,rounded:o=et.rounded,fillMode:n=et.fillMode,separators:i=et.separators,showClearButton:l=et.showClearButton,showSpinButton:p=et.showSpinButton,prefix:d,suffix:m,value:b,placeholder:x,hover:v,focus:c,valid:k,invalid:g,required:y,loading:B,disabled:A,readonly:E,...U}=e;return(0,D.jsxs)(w,{...U,size:t,rounded:o,fillMode:n,hover:v,focus:c,valid:k,invalid:g,required:y,loading:B,disabled:A,readonly:E,className:s(e.className,Rs),children:[d&&(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(he,{children:d}),i&&(0,D.jsx)(Me,{})]}),(0,D.jsx)(me,{placeholder:x,value:b}),(0,D.jsx)(Q,{valid:k,invalid:g,loading:B,disabled:A}),(0,D.jsx)(j,{loading:B,disabled:A}),l&&(0,D.jsx)(ce,{loading:B,disabled:A,readonly:E,value:b}),m&&(0,D.jsxs)(D.Fragment,{children:[i&&(0,D.jsx)(Me,{}),(0,D.jsx)(Ne,{children:m})]}),p&&(0,D.jsx)(ut,{className:"k-input-spinner",size:t,fillMode:n})]})};R.states=ki;R.options=vi;R.className=Rs;R.defaultOptions=et;var Li=require("react/jsx-runtime");var Hs=require("react/jsx-runtime"),gi="k-no-data",Xt=e=>(0,Hs.jsx)("span",{className:s(gi,e.className),children:e.children});var ke=require("react/jsx-runtime"),qo="k-list",Si=[],yi={size:[r.small,r.medium,r.large]},Gs={size:r.medium},P=e=>{let{size:t=Gs.size,virtualization:o,children:n,optionLabel:i,customValue:l,screenReaders:p,...d}=e,m,b,x,v,c=[];return n?n.map((k,g)=>{k.type===V?(k.props.root===!0?(m=k.props.label,k.props.children.map((y,B)=>{c.push((0,ke.jsx)(T,{...y.props},`optChild-${B}-${new Date().getTime()}`))})):k.props.children.forEach((y,B)=>{let A="";B===0&&(A=k.props.label),c.push((0,ke.jsx)(T,{className:B===0?"k-first":"",...y.props,groupLabel:A},`groupLabel-${B}-${new Date().getTime()}`))}),b=(0,ke.jsx)(V,{label:m,virtualization:o,children:c})):k.type===T&&(c.push((0,ke.jsx)(T,{...k.props},`${k.type}-${g}`)),x=(0,ke.jsx)(ft,{virtualization:o,children:c}),p&&(v=(0,ke.jsxs)(Xt,{className:"k-sr-only",children:[c.length," items found."]})))}):v=(0,ke.jsx)(Xt,{children:"No data found."}),(0,ke.jsxs)("div",{...d,className:s(e.className,qo,S(qo,{size:t}),{"k-virtual-list":o}),children:[i,l,b,x,v]})};P.states=Si;P.options=yi;P.className=qo;P.defaultOptions=Gs;var ve=require("react/jsx-runtime"),Wo="k-list",Ii=[],Mi={size:[r.small,r.medium,r.large]},Fs={size:r.medium},tt=e=>{let{size:t=Fs.size,virtualization:o,children:n,...i}=e,l,p,d,m=[];return n?n.map((b,x)=>{b.type===V?(b.props.root===!0?(l=b.props.label,b.props.children.map((v,c)=>{m.push((0,ve.jsx)(T,{...v.props},`optChild-${c}-${new Date().getTime()}`))})):(m.push((0,ve.jsx)($s,{...b.props,children:b.props.label},`listChild-${x}`)),b.props.children.map((v,c)=>{m.push((0,ve.jsx)(T,{...v.props},`fwOptChild-${c}-${new Date().getTime()}`))})),p=(0,ve.jsx)(V,{label:l,virtualization:o,children:m})):b.type===T&&(m.push((0,ve.jsx)(T,{...b.props},`${b.type}-${x}`)),d=(0,ve.jsx)(ft,{virtualization:o,children:m}))}):d=(0,ve.jsx)(Xt,{children:"No data found."}),(0,ve.jsxs)("div",{...i,className:s(e.className,Wo,S(Wo,{size:t}),{"k-virtual-list":o}),children:[p,d]})};tt.states=Ii;tt.options=Mi;tt.className=Wo;tt.defaultOptions=Fs;var Qo=require("react/jsx-runtime"),no="k-checkbox",Ci=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.checked,a.indeterminate],Ti={size:[r.small,r.medium,r.large],rounded:[N.small,N.medium,N.large,N.full]},Zo={size:r.medium,rounded:N.medium},De=e=>{let{id:t,checked:o,indeterminate:n,hover:i,focus:l,disabled:p,invalid:d,valid:m,required:b,size:x=Zo.size,rounded:v=Zo.rounded,...c}=e;return(0,Qo.jsx)("span",{className:"k-checkbox-wrap",children:(0,Qo.jsx)("input",{...c,id:t,type:"checkbox",defaultChecked:o,required:b,className:s(e.className,no,S(no,{size:x,rounded:v}),I(no,{hover:i,focus:l,disabled:p,invalid:d,valid:m,indeterminate:n,checked:o}))})})};De.states=Ci;De.options=Ti;De.className=no;De.defaultOptions=Zo;var _s=require("react/jsx-runtime"),Ds="k-checkbox-list",Bi=[],Ai={},Vs={layout:"vertical"},bt=e=>{let{layout:t=Vs.layout,...o}=e;return(0,_s.jsx)("ul",{...o,className:s(e.className,Ds,{[`k-list-${t}`]:t}),children:e.children})};bt.states=Bi;bt.options=Ai;bt.className=Ds;bt.defaultOptions=Vs;var Js=require("react/jsx-runtime"),Xs="k-checkbox-list-item",zi=[],wi={},Ei={},xt=e=>{let{...t}=e;return(0,Js.jsx)("li",{...t,className:s(e.className,Xs),children:e.children})};xt.states=zi;xt.options=wi;xt.className=Xs;xt.defaultOptions=Ei;var jo=require("react/jsx-runtime");var ea=require("react/jsx-runtime");var ta=require("react/jsx-runtime");var oa=require("react/jsx-runtime");var Pi=require("react/jsx-runtime");var Oi=require("react/jsx-runtime");var ot=require("react/jsx-runtime"),aa="k-list-item",Ri=[a.hover,a.focus,a.selected,a.disabled],Ki={},Hi={},T=e=>{let{text:t,groupLabel:o,group:n,showIcon:i,iconName:l,showCheckbox:p,checked:d,hover:m,focus:b,selected:x,disabled:v,...c}=e,k=t||e.children;return(0,ot.jsxs)("li",{...c,className:s(e.className,n?"k-list-group-item":aa,I(aa,{hover:m,focus:b,disabled:v,selected:x})),children:[p&&(0,ot.jsx)(De,{checked:d}),i&&(0,ot.jsx)(C,{icon:l}),(0,ot.jsx)("span",{className:"k-list-item-text",children:k}),o&&o!==""&&(0,ot.jsx)("div",{className:"k-list-item-group-label",children:o})]})};T.states=Ri;T.options=Ki;T.className=aa;T.defaultOptions=Hi;var ht=require("react/jsx-runtime"),Gi="k-list-content",ft=e=>{let{virtualization:t,...o}=e;return(0,ht.jsxs)("div",{...o,className:s(Gi,e.className),children:[(0,ht.jsx)("ul",{className:s("k-list-ul"),children:e.children}),t&&(0,ht.jsx)("div",{className:"k-height-container",children:(0,ht.jsx)("div",{})})]})};var sa=require("react/jsx-runtime"),Fi="k-list-group-sticky-header",Us=e=>(0,sa.jsx)("div",{className:s(Fi,e.className),children:(0,sa.jsx)("div",{className:"k-list-header-text",children:e.children})});var at=require("react/jsx-runtime"),V=e=>{let{virtualization:t,label:o}=e;return(0,at.jsxs)(at.Fragment,{children:[o&&(0,at.jsx)(Us,{children:o}),e.children&&(0,at.jsx)(ft,{virtualization:t,children:e.children})]})};var ra=require("react/jsx-runtime"),$i="k-list-group-item",$s=e=>(0,ra.jsx)("li",{className:s($i,e.className),children:(0,ra.jsx)("span",{className:"k-list-item-text",children:e.children})});var qs=require("react/jsx-runtime"),na="k-list-optionlabel",Di=[a.hover,a.focus,a.selected,a.disabled],Vi={},_i={},io=e=>{let{text:t,hover:o,focus:n,selected:i,disabled:l,...p}=e;return(0,qs.jsx)("div",{...p,className:s(na,I(na,{hover:o,focus:n,selected:i,disabled:l})),children:t})};io.states=Di;io.options=Vi;io.className=na;io.defaultOptions=_i;var Ws=require("react/jsx-runtime"),ia="k-list-custom-value",Xi=[a.hover,a.focus,a.selected,a.disabled],Ji={},Ui={},Ve=e=>{let{text:t,hover:o,focus:n,selected:i,disabled:l,...p}=e;return(0,Ws.jsx)("div",{...p,className:s(ia,I(ia,{hover:o,focus:n,selected:i,disabled:l})),children:t})};Ve.states=Xi;Ve.options=Ji;Ve.className=ia;Ve.defaultOptions=Ui;var qi=require("react/jsx-runtime");var Wi=require("react/jsx-runtime");var Zs=require("react/jsx-runtime");var Qs=require("react/jsx-runtime");var Zi=require("react/jsx-runtime");var Ys=require("react/jsx-runtime");var js=require("react/jsx-runtime");var K=require("react/jsx-runtime"),er="k-dropdownlist",Qi=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Yi={size:[r.small,r.medium,r.large],rounded:[N.small,N.medium,N.large,N.full],fillMode:[u.solid,u.flat,u.outline]},Nt={showValue:!0,arrowIconName:"caret-alt-down",size:r.medium,rounded:N.medium,fillMode:u.solid},q=e=>{let{size:t=Nt.size,rounded:o=Nt.rounded,fillMode:n=Nt.fillMode,arrowIconName:i=Nt.arrowIconName,showValue:l=Nt.showValue,valueIconName:p,prefix:d,suffix:m,value:b,placeholder:x,hover:v,focus:c,valid:k,invalid:g,required:y,loading:B,disabled:A,readonly:E,popup:U,opened:Oe,adaptive:Bt,adaptiveSettings:At,adaptiveTitle:No,adaptiveSubtitle:ko,adaptiveFilter:Wr,...Zr}=e;return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsxs)(pe,{...Zr,size:t,rounded:o,fillMode:n,hover:v,focus:c,valid:k,invalid:g,required:y,loading:B,disabled:A,readonly:E,className:s(e.className,er,{"k-icon-picker":!l&&p}),children:[(0,K.jsx)(he,{children:d}),(0,K.jsx)(Qe,{placeholder:x,value:b,showValue:l,valueIconName:p}),(0,K.jsx)(Q,{valid:k,invalid:g,loading:B,disabled:A}),(0,K.jsx)(j,{loading:B,disabled:A}),(0,K.jsx)(Ne,{children:m}),(0,K.jsx)(h,{className:"k-input-button",icon:i,rounded:null,size:e.size,fillMode:e.fillMode})]}),Oe&&U&&(0,K.jsx)($,{className:"k-list-container k-dropdownlist-popup",children:U}),Bt&&(0,K.jsx)(ue,{adaptive:!0,...At,header:(0,K.jsx)(ee,{actionsEnd:(0,K.jsx)(h,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Wr,inputValue:b,inputPlaceholder:x,title:No,subtitle:ko}),children:(0,K.jsx)("div",{className:"k-list-container",children:(0,K.jsxs)(P,{size:"large",children:[(0,K.jsx)(T,{text:"List item"}),(0,K.jsx)(T,{text:"List item"}),(0,K.jsx)(T,{text:"List item"})]})})})]})};q.states=Qi;q.options=Yi;q.className=er;q.defaultOptions=Nt;var ji=require("react/jsx-runtime");var tr=require("react/jsx-runtime");var la=require("react/jsx-runtime");var el=require("react/jsx-runtime");var or=require("react/jsx-runtime");var ar=require("react/jsx-runtime");var pa=require("react/jsx-runtime");var ca=require("react/jsx-runtime");var sr=require("react/jsx-runtime");var rr=require("react/jsx-runtime");var L=require("react/jsx-runtime"),nr="k-colorgradient-inputs",tl=[],ol={size:[r.small,r.medium,r.large]},ir={mode:"rgba",size:r.medium},kt=e=>{let{mode:t=ir.mode,size:o,...n}=e;return(0,L.jsxs)("div",{...n,className:s(nr,"k-hstack"),children:[(0,L.jsx)("div",{className:"k-vstack",children:(0,L.jsx)(h,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),t==="rgba"&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,L.jsx)(L.Fragment,{children:(0,L.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,L.jsx)(de,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};kt.states=tl;kt.options=ol;kt.className=nr;kt.defaultOptions=ir;var J=require("react/jsx-runtime"),lr="k-colorgradient-color-contrast",al=[],sl={},rl={},vt=()=>(0,J.jsxs)("div",{className:s(lr,"k-vbox"),children:[(0,J.jsxs)("div",{className:"k-contrast-ratio",children:[(0,J.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,J.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,J.jsx)(C,{icon:"check"}),(0,J.jsx)(C,{icon:"check"})]})]}),(0,J.jsxs)("div",{children:[(0,J.jsx)("span",{children:"AA: 4.5"}),(0,J.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,J.jsx)(C,{icon:"check"})]})]}),(0,J.jsxs)("div",{children:[(0,J.jsx)("span",{children:"AAA: 7.0"}),(0,J.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,J.jsx)(C,{icon:"x"})]})]})]});vt.states=al;vt.options=sl;vt.className=lr;vt.defaultOptions=rl;var G=require("react/jsx-runtime"),lo="k-colorgradient",nl=[a.hover,a.focus,a.readonly,a.disabled],il={size:[r.small,r.medium,r.large]},be={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"},_e=e=>{let{size:t=be.size,mode:o=be.mode,readonly:n=be.readonly,disabled:i=be.disabled,gradientStyle:l=be.gradientStyle,dragHandleStyle:p=be.dragHandleStyle,alphaStyle:d=be.alphaStyle,alphaStyleHorizontal:m=be.alphaStyleHorizontal,contrast:b=be.contrast,dir:x,hover:v,focus:c,hoverHandle:k,focusHandle:g,canvasOrientation:y=be.canvasOrientation,...B}=e;return(0,G.jsxs)("div",{...B,className:s(e.className,lo,S(lo,{size:t}),I(lo,{hover:v,focus:c,readonly:n,disabled:i})),dir:x,children:[!y||y==="horizontal"&&(0,G.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,G.jsx)("div",{className:"k-hsv-rectangle",style:l,children:(0,G.jsx)("div",{className:"k-hsv-gradient",children:(0,G.jsx)("div",{className:s("k-hsv-draghandle","k-draghandle",{"k-hover":k,"k-focus":g}),style:p})})}),(0,G.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,G.jsx)(Jo,{className:"k-hue-slider",hover:k,focus:g}),o!=="rgb"&&o!=="hsv"&&(0,G.jsx)(Jo,{className:"k-alpha-slider",hover:k,focus:g,trackStyle:d})]})]}),y==="vertical"&&(0,G.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,G.jsx)("div",{className:"k-hsv-rectangle",style:l,children:(0,G.jsx)("div",{className:"k-hsv-gradient",children:(0,G.jsx)("div",{className:s("k-hsv-draghandle","k-draghandle",{"k-hover":k,"k-focus":g}),style:p})})}),(0,G.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,G.jsx)(Xo,{className:"k-hue-slider",hover:k,focus:g}),o!=="rgb"&&o!=="hsv"&&(0,G.jsx)(Xo,{className:"k-alpha-slider",hover:k,focus:g,trackStyle:m})]})]}),(0,G.jsx)(kt,{mode:e.mode,size:t}),b&&(0,G.jsx)(vt,{})]})};_e.states=nl;_e.options=il;_e.className=lo;_e.defaultOptions=be;var ll=require("react/jsx-runtime");var pl=require("react/jsx-runtime");var cr=require("react/jsx-runtime"),pr=e=>(0,cr.jsx)("tr",{children:e.children});var mr=require("react/jsx-runtime"),ma="k-colorpalette-tile",cl=[a.hover,a.focus,a.selected],ml={},Jt=e=>{let{color:t,tileSize:o,hover:n,focus:i,selected:l,...p}=e,d={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,mr.jsx)("td",{...p,className:s(e.className,ma,I(ma,{hover:n,focus:i,selected:l})),style:d})};Jt.states=cl;Jt.options=ml;Jt.className=ma;var Lt=require("react/jsx-runtime"),po="k-colorpalette",dl=[a.disabled],ul={size:[r.small,r.medium,r.large]},da={columns:10,size:r.medium},gt=e=>{let{size:t=da.size,palette:o,columns:n=da.columns,tileSize:i,disabled:l,...p}=e,d=[];if(o){let m=n||o.columns,b=o.colors?o.colors:o;Array.isArray(b)&&Array.from({length:Math.ceil(b.length/m)},(x,v)=>{let c=[];b.slice(v*m,(v+1)*m).map((g,y)=>{c.push((0,Lt.jsx)(Jt,{color:g,tileSize:i},y))});let k=(0,Lt.jsx)(pr,{children:c},v);d.push(k)})}return(0,Lt.jsx)("div",{...p,className:s(e.className,po,I(po,{disabled:l}),S(po,{size:t})),children:(0,Lt.jsx)("table",{className:"k-colorpalette-table",children:(0,Lt.jsx)("tbody",{children:d.length>0?d:e.children})})})};gt.states=dl;gt.options=ul;gt.className=po;gt.defaultOptions=da;var ua={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 fl=require("react/jsx-runtime");var H=require("react/jsx-runtime"),co="k-coloreditor",bl=[a.focus],xl={size:[r.small,r.medium,r.large]},St={size:r.medium,view:"gradient",palette:ua.office,actionButtons:!0,canvasOrientation:"horizontal"},Le=e=>{let{size:t=St.size,view:o=St.view,palette:n=St.palette,color:i,currentColor:l,focus:p,focusView:d,dir:m,group:b,actionButtons:x=St.actionButtons,canvasOrientation:v=St.canvasOrientation,...c}=e;return(0,H.jsxs)("div",{...c,className:s(e.className,"k-flatcolorpicker",co,S(co,{size:t}),I(co,{focus:p})),dir:m,children:[(0,H.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,H.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:b&&(0,H.jsxs)(O,{fillMode:"flat",children:[(0,H.jsx)(h,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),(0,H.jsx)(h,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),(0,H.jsx)("div",{className:"k-spacer"}),(0,H.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,H.jsx)(h,{fillMode:"flat",icon:"droplet-slash",size:t}),(0,H.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,H.jsx)(Re,{className:"k-coloreditor-preview-color",color:i}),(0,H.jsx)(Re,{className:"k-coloreditor-current-color",color:l})]})]})]}),(0,H.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,H.jsx)(_e,{focus:d,size:t,canvasOrientation:v}):(0,H.jsx)(gt,{palette:n,size:t})}),x&&(0,H.jsxs)(He,{className:"k-coloreditor-footer",alignment:"start",children:[(0,H.jsx)(h,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,H.jsx)(h,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};Le.states=bl;Le.options=xl;Le.className=co;Le.defaultOptions=St;var hl=require("react/jsx-runtime");var Nl=require("react/jsx-runtime");var kl=require("react/jsx-runtime");var vl=require("react/jsx-runtime");var F=require("react/jsx-runtime"),dr="k-colorpicker",Ll=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled],gl={size:[r.small,r.medium,r.large],rounded:[N.small,N.medium,N.large,N.full],fillMode:[u.solid,u.flat,u.outline]},Ut={arrowIconName:"caret-alt-down",size:pe.defaultOptions.size,rounded:pe.defaultOptions.rounded,fillMode:pe.defaultOptions.fillMode},Te=e=>{let{size:t=Ut.size,rounded:o=Ut.rounded,fillMode:n=Ut.fillMode,arrowIconName:i=Ut.arrowIconName,prefix:l,suffix:p,value:d,placeholder:m,hover:b,focus:x,valid:v,invalid:c,required:k,disabled:g,valueIconName:y,popup:B,opened:A,adaptive:E,adaptiveSettings:U,adaptiveTitle:Oe,adaptiveSubtitle:Bt,...At}=e;return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(pe,{...At,size:t,rounded:o,fillMode:n,hover:b,focus:x,valid:v,invalid:c,required:k,disabled:g,className:s(e.className,dr,"k-icon-picker"),children:[(0,F.jsx)(he,{children:l}),(0,F.jsx)(Qe,{placeholder:m,value:d,showValue:!1,valueIcon:(0,F.jsx)(Re,{className:"k-value-icon",color:d,iconName:y}),valueIconName:y}),(0,F.jsx)(Ne,{children:p}),(0,F.jsx)(h,{className:"k-input-button",icon:i,rounded:null,size:t,fillMode:n})]}),A&&B&&(0,F.jsx)($,{className:"k-colorpicker-popup",children:B}),E&&(0,F.jsx)(ue,{adaptive:!0,...U,header:(0,F.jsx)(ee,{actionsEnd:(0,F.jsx)(h,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),title:Oe,subtitle:Bt}),footer:(0,F.jsxs)($t,{children:[(0,F.jsx)(h,{text:"Cancel",size:"large",themeColor:"base"}),(0,F.jsx)(h,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,F.jsx)(Le,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Te.states=Ll;Te.options=gl;Te.className=dr;Te.defaultOptions=Ut;var yl=require("react/jsx-runtime");var Il=require("react/jsx-runtime");var Ml=require("react/jsx-runtime");var Cl=require("r