@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 70.9 kB
JavaScript
var Ia=Object.create;var no=Object.defineProperty;var Ta=Object.getOwnPropertyDescriptor;var ga=Object.getOwnPropertyNames;var Ca=Object.getPrototypeOf,Aa=Object.prototype.hasOwnProperty;var Oa=(e,t)=>{for(var o in t)no(e,o,{get:t[o],enumerable:!0})},es=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ga(t))!Aa.call(e,i)&&i!==o&&no(e,i,{get:()=>t[i],enumerable:!(r=Ta(t,i))||r.enumerable});return e};var ya=(e,t,o)=>(o=e!=null?Ia(Ca(e)):{},es(t||!e||!e.__esModule?no(o,"default",{value:e,enumerable:!0}):o,e)),Ba=e=>es(no({},"__esModule",{value:!0}),e);var tm={};Oa(tm,{IMAGEEDITOR_CLASSNAME:()=>jn,ImageEditor:()=>ot,default:()=>em});module.exports=Ba(tm);var s=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?s(...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 I=(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"}),A=(e,t)=>{let{valid:o,invalid:r,hover:i,focus:l,checked:p,active:u,selected:f,disabled:L,indeterminate:x,loading:v,empty:m,readonly:h,highlighted:M,...E}=t;return s({"k-valid":o,"k-invalid":r,"k-hover":i,"k-focus":l,"k-checked":p,"k-active":u,"k-selected":f,"k-disabled":L,"k-indeterminate":x&&!p,"k-loading":v,"k-empty":m,"k-readonly":h,"k-highlighted":M},Object.keys(E).reduce((O,C)=>(C.startsWith("k-")?O[C]=E[C]:O[`k-${C}`]=E[C],O),{}))};function ts(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(r=>[`k-${r}`,!0]))}var a={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},b={small:"small",medium:"medium",large:"large",full:"full"},c={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},d={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},n={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var _t=require("react/jsx-runtime"),Eo="k-font-icon",Ra=[],Ka={size:[a.xsmall,a.small,a.medium,a.large,a.xlarge,a.xxlarge,a.xxxlarge],themeColor:[d.base,d.primary,d.secondary,d.tertiary,d.success,d.warning,d.error,d.info,d.light,d.dark]},Pa={},wt=e=>{let{size:t,themeColor:o,icon:r,rotate:i,flip:l,...p}=e;return r?(0,_t.jsx)("span",{...p,className:s(e.className,Eo,I(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,_t.jsx)(_t.Fragment,{})};wt.states=Ra;wt.options=Ka;wt.className=Eo;wt.defaultOptions=Pa;var os=wt;var nt=require("react/jsx-runtime"),ko="k-svg-icon",_a=[],wa={size:[a.xsmall,a.small,a.medium,a.large,a.xlarge,a.xxlarge,a.xxxlarge],themeColor:[d.base,d.primary,d.secondary,d.tertiary,d.success,d.warning,d.error,d.info,d.light,d.dark]},ns={viewBox:"0 0 24 24"},zt=e=>{let{size:t,themeColor:o,rotate:r,flip:i,viewBox:l=ns.viewBox,icon:p,...u}=e;if(!p)return(0,nt.jsx)(nt.Fragment,{});p==="none"&&{...u,className:s(e.className,ko,"k-none")};let f=typeof p=="object"&&p.name&&p.name;return(0,nt.jsx)("span",{...u,className:s(e.className,ko,I("k-icon",{size:t}),{[`k-svg-i-${f}`]:f,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),children:(0,nt.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})})};zt.states=_a;zt.options=wa;zt.className=ko;zt.defaultOptions=ns;var Io=zt;var To=ya(require("@progress/kendo-svg-icons"));var ss="icon",rs="icons";var Be=require("react/jsx-runtime"),so="k-icon",za=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Ha=[],Da={size:[a.xsmall,a.small,a.medium,a.large,a.xlarge,a.xxlarge,a.xxxlarge],themeColor:[d.base,d.primary,d.secondary,d.tertiary,d.success,d.warning,d.error,d.info,d.light,d.dark]},go={viewBox:"0 0 24 24",type:"svg"},k=e=>{let{size:t,themeColor:o,icon:r,type:i=go.type,rotate:l,flip:p,viewBox:u=go.viewBox,...f}=e;if(!r)return(0,Be.jsx)(Be.Fragment,{});if(i==="svg"){if(r==="none")return(0,Be.jsx)(Io,{...f,className:s(e.className,so),icon:r,size:t});let L=To[r]?r:za(`${r}-icon`);return To[L]?(0,Be.jsx)(Io,{...f,className:s(e.className,so),icon:To[L],size:t,themeColor:o,rotate:l,flip:p,viewBox:u}):(0,Be.jsx)(Be.Fragment,{})}return(0,Be.jsx)(os,{...f,className:s(e.className,so),icon:r,size:t,themeColor:o,rotate:l,flip:p})};k.states=Ha;k.options=Da;k.defaultOptions=go;k.className=so;k.moduleName=ss;k.folderName=rs;var Co="button",as=Co;var ue=require("react/jsx-runtime"),Ht="k-button",Ga=["icon-button"],Ua=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],Fa={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[c.solid,c.flat,c.outline,c.clear,c.link],themeColor:[d.base,d.primary,d.secondary,d.tertiary,d.success,d.warning,d.error,d.info,d.light,d.dark,d.inverse]},st={size:a.medium,rounded:b.medium,fillMode:c.solid,themeColor:d.base,showArrow:!1,arrowIconName:"caret-alt-down"},N=e=>{let{size:t=st.size,rounded:o=st.rounded,fillMode:r=st.fillMode,themeColor:i=st.themeColor,showArrow:l=st.showArrow,arrowIconName:p=st.arrowIconName,variant:u,hover:f,focus:L,active:x,selected:v,disabled:m,icon:h,text:M,iconClassName:E,...O}=e,C=h!==void 0,R=e.children!==void 0;return(0,ue.jsxs)("button",{...O,className:s(e.className,Ht,ts(Ht,u),I(Ht,{size:t,rounded:o,fillMode:r,themeColor:i}),A(Ht,{hover:f,focus:L,active:x,disabled:m,selected:v}),{"k-icon-button":!M&&!R&&C}),children:[h&&(0,ue.jsx)(k,{className:s(E,"k-button-icon"),icon:h}),M?(0,ue.jsxs)(ue.Fragment,{children:[M&&(0,ue.jsx)("span",{className:"k-button-text",children:M}),e.children]}):e.children&&(0,ue.jsx)("span",{className:"k-button-text",children:e.children}),l&&(0,ue.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,ue.jsx)(k,{icon:p})})]})};N.states=Ua;N.options=Fa;N.variants=Ga;N.className=Ht;N.defaultOptions=st;N.moduleName=Co;N.folderName=as;var is=require("react/jsx-runtime"),ro=e=>(0,is.jsx)(N,{icon:"folder",...e,children:void 0});var ls=require("react/jsx-runtime"),Ao=e=>(0,ls.jsx)(N,{icon:"folder",children:"Button",...e});var $a=require("react/jsx-runtime");var Oo="button",ps=Oo;var cs=require("react/jsx-runtime"),Dt="k-button-group",Xa=[n.disabled],Va={fillMode:[c.solid,c.flat,c.outline,c.clear,c.link]},ms={fillMode:c.solid},P=e=>{let{fillMode:t=ms.fillMode,disabled:o,stretched:r,...i}=e;return(0,cs.jsx)("div",{...i,className:s(e.className,Dt,I(Dt,{fillMode:t}),A(Dt,{disabled:o}),{[`${Dt}-stretched`]:r}),children:e.children})};P.states=Xa;P.options=Va;P.className=Dt;P.defaultOptions=ms;P.moduleName=Oo;P.folderName=ps;var yo=require("react/jsx-runtime");var Bo=require("react/jsx-runtime");var Ro=require("react/jsx-runtime");var Ko=require("react/jsx-runtime");var Gt="input",ao=Gt;var ds=require("react/jsx-runtime"),io="k-input",Ja=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],qa={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[c.solid,c.flat,c.outline]},lo={size:a.medium,rounded:a.medium,fillMode:c.solid},B=e=>{let{hover:t,focus:o,disabled:r,invalid:i,valid:l,loading:p,readonly:u,size:f=lo.size,rounded:L=lo.rounded,fillMode:x=lo.fillMode,...v}=e;return(0,ds.jsx)("span",{...v,className:s(e.className,io,I(io,{size:f,rounded:L,fillMode:x}),A(io,{hover:t,focus:o,disabled:r,invalid:i,valid:l,loading:p,readonly:u}))})};B.states=Ja;B.options=qa;B.className=io;B.defaultOptions=lo;B.moduleName=Gt;B.folderName=ao;var us=require("react/jsx-runtime"),po="k-picker",Wa=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Za={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[c.solid,c.flat,c.outline]},mo={size:a.medium,rounded:b.medium,fillMode:c.solid},Y=e=>{let{hover:t,focus:o,disabled:r,invalid:i,valid:l,loading:p,readonly:u,size:f=mo.size,rounded:L=mo.rounded,fillMode:x=mo.fillMode,...v}=e;return(0,us.jsx)("span",{...v,className:s(e.className,po,I(po,{size:f,rounded:L,fillMode:x}),A(po,{hover:t,focus:o,disabled:r,invalid:i,valid:l,loading:p,readonly:u})),children:e.children})};Y.states=Wa;Y.options=Za;Y.className=po;Y.defaultOptions=mo;Y.moduleName=Gt;Y.folderName=ao;var Lt=require("react/jsx-runtime"),fs="k-clear-value",Qa=[n.disabled,n.loading,n.readonly],Ya={},fe=e=>{let{disabled:t,loading:o,readonly:r,value:i}=e;return t||r||o||!i?(0,Lt.jsx)(Lt.Fragment,{}):(0,Lt.jsx)("span",{className:s(e.className,fs),children:(0,Lt.jsx)(k,{icon:"x"})})};fe.states=Qa;fe.options=Ya;fe.className=fs;var bs=require("react/jsx-runtime"),Po="k-input-inner",ja=[],ei={},co={type:"text",autocomplete:"off",value:"",placeholder:""},be=e=>{let{value:t=co.value,type:o=co.type,placeholder:r=co.placeholder,autocomplete:i=co.autocomplete,...l}=e;return(0,bs.jsx)("input",{...l,type:o,className:s(e.className,Po,I(Po,e)),placeholder:r,autoComplete:i,defaultValue:t})};be.states=ja;be.options=ei;be.className=Po;var Ut=require("react/jsx-runtime"),_o="k-input-inner",ti=[],oi={},rt=e=>{let{value:t,placeholder:o,showValue:r,valueIcon:i,valueIconName:l,...p}=e;return(0,Ut.jsxs)("span",{...p,className:s(e.className,_o,I(_o,e)),children:[i,!i&&l&&(0,Ut.jsx)(k,{className:"k-input-value-icon",icon:l}),r&&!t&&o,r&&t&&(0,Ut.jsx)("span",{className:"k-input-value-text",children:t})]})};rt.states=ti;rt.options=oi;rt.className=_o;var Ls=require("react/jsx-runtime"),wo="k-input-inner",ni=[],si={},Ns={value:"",placeholder:""},zo=e=>{let{value:t=Ns.value,placeholder:o=Ns.placeholder,rows:r,...i}=e;return(0,Ls.jsx)("textarea",{...i,className:s(e.className,wo,I(wo,e)),placeholder:o,rows:r,defaultValue:t})};zo.states=ni;zo.options=si;zo.className=wo;var Ft=require("react/jsx-runtime"),xs="k-input-loading-icon",ri=[n.disabled,n.loading],se=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Ft.jsx)(Ft.Fragment,{}):(0,Ft.jsx)("span",{className:s(e.className,xs,"k-icon k-i-loading")})};se.states=ri;se.className=xs;var $t=require("react/jsx-runtime"),Ms="k-input-validation-icon",ai=[n.valid,n.invalid,n.disabled,n.loading],ii={},j=e=>{let{valid:t,invalid:o,disabled:r,loading:i}=e,l=o?"warning-circle":"check-circle";return r||i||!!!(t||o)?(0,$t.jsx)($t.Fragment,{}):(0,$t.jsx)(k,{className:s(Ms),icon:l})};j.states=ai;j.options=ii;j.className=Ms;var Xt=require("react/jsx-runtime"),li="k-input-prefix",pi={direction:"horizontal"},ve=e=>{let{direction:t=pi.direction,...o}=e;return e.children?(0,Xt.jsx)("span",{...o,className:s(li,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Xt.jsx)(Xt.Fragment,{})};var Vt=require("react/jsx-runtime"),mi="k-input-suffix",ci={direction:"horizontal"},Ee=e=>{let{direction:t=ci.direction,...o}=e;return e.children?(0,Vt.jsx)("span",{...o,className:s(mi,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Vt.jsx)(Vt.Fragment,{})};var di=require("react/jsx-runtime");var ui=require("react/jsx-runtime");var Ss=require("react/jsx-runtime"),hs="k-input-separator",fi={direction:"vertical"},Re=e=>{let{direction:t=fi.direction,...o}=e;return(0,Ss.jsx)("span",{...o,className:s(hs,e.className,{[`${hs}-${t}`]:t})})};var Jt=require("react/jsx-runtime"),vs="k-color-preview",bi=[],Ni={},Fe=e=>{let{color:t,iconName:o,...r}=e;return(0,Jt.jsxs)("span",{...r,className:s(e.className,vs,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,Jt.jsx)(k,{icon:o,className:"k-color-preview-icon"}),(0,Jt.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Fe.states=bi;Fe.options=Ni;Fe.className=vs;var Ho="popup",Es=Ho;var Do=require("react/jsx-runtime"),ks="k-animation-container",Li=[],xi={},Is={positionMode:"absolute"},ke=e=>{let{positionMode:t=Is.positionMode,animationStyle:o,offset:r,...i}=e;return(0,Do.jsx)("div",{...i,style:{...r,...e.style},className:s(e.className,ks,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,Do.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};ke.states=Li;ke.options=xi;ke.className=ks;ke.defaultOptions=Is;ke.moduleName=Ho;ke.folderName=Es;var Go="popup",Ts=Go;var Uo=require("react/jsx-runtime"),gs="k-popup",Mi=[],hi={},Cs={positionMode:"absolute"},H=e=>{let{offset:t,positionMode:o=Cs.positionMode,animationStyle:r,...i}=e;return(0,Uo.jsx)(ke,{positionMode:o,offset:t,animationStyle:r,children:(0,Uo.jsx)("div",{...i,className:s(e.className,gs),children:e.children})})};H.states=Mi;H.options=hi;H.className=gs;H.defaultOptions=Cs;H.moduleName=Go;H.folderName=Ts;var Fo="action-buttons",As=Fo;var Os=require("react/jsx-runtime"),uo="k-actions",Si=[],vi={},$o={alignment:"start",orientation:"horizontal"},Ie=e=>{let{alignment:t=$o.alignment,orientation:o=$o.orientation,...r}=e;return(0,Os.jsx)("div",{...r,className:s(uo,{[`${uo}-${t}`]:t,[`${uo}-${o}`]:o},e.className),children:e.children})};Ie.states=Si;Ie.options=vi;Ie.className=uo;Ie.defaultOptions=$o;Ie.moduleName=Fo;Ie.folderName=As;var Bs=require("react/jsx-runtime"),Ei="k-actionsheet-footer",ys={alignment:"stretched",orientation:"horizontal"},qt=e=>{let{alignment:t=ys.alignment,orientation:o=ys.orientation,template:r,as:i=r?"div":Ie,...l}=e;return(0,Bs.jsx)(i,{...l,...!r&&{alignment:t,orientation:o},className:s(e.className,Ei),children:e.children})};var Xo="searchbox",Rs=Xo;var $e=require("react/jsx-runtime"),Ks="k-searchbox",ki=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],Ii={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[c.solid,c.flat,c.outline]},Vo={showIcon:!0,icon:"search",size:B.defaultOptions.size,rounded:B.defaultOptions.rounded,fillMode:B.defaultOptions.fillMode},Ne=e=>{let{value:t,placeholder:o,size:r,rounded:i,fillMode:l,hover:p,focus:u,valid:f,invalid:L,required:x,loading:v,disabled:m,showIcon:h=Vo.showIcon,icon:M=Vo.icon,...E}=e;return(0,$e.jsxs)(B,{...E,size:r,rounded:i,fillMode:l,hover:p,focus:u,valid:f,invalid:L,required:x,loading:v,disabled:m,className:s(e.className,Ks),children:[h&&(0,$e.jsx)(k,{className:"k-input-icon",icon:M}),(0,$e.jsx)(be,{placeholder:o,value:t}),(0,$e.jsx)(se,{...e}),(0,$e.jsx)(j,{...e}),(0,$e.jsx)(fe,{...e})]})};Ne.states=ki;Ne.options=Ii;Ne.className=Ks;Ne.defaultOptions=Vo;Ne.moduleName=Xo;Ne.folderName=Rs;var Ti=require("react/jsx-runtime");var Jo="textbox",Ps=Jo;var X=require("react/jsx-runtime"),_s="k-textbox",gi=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Ci={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[c.solid,c.flat,c.outline]},at={showClearButton:!0,showValidationIcon:!0,size:B.defaultOptions.size,rounded:B.defaultOptions.rounded,fillMode:B.defaultOptions.fillMode,separators:!0},Te=e=>{let{size:t=at.size,rounded:o=at.rounded,fillMode:r=at.fillMode,separators:i=at.separators,showClearButton:l=at.showClearButton,showValidationIcon:p=at.showValidationIcon,prefix:u,suffix:f,type:L,value:x,placeholder:v,hover:m,focus:h,valid:M,invalid:E,required:O,loading:C,disabled:R,readonly:q,...Ue}=e;return(0,X.jsxs)(B,{...Ue,size:t,rounded:o,fillMode:r,hover:m,focus:h,valid:M,invalid:E,required:O,loading:C,disabled:R,readonly:q,className:s(e.className,_s),children:[u&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(ve,{children:u}),i&&(0,X.jsx)(Re,{})]}),(0,X.jsx)(be,{placeholder:v,value:x,type:L}),p&&(0,X.jsx)(j,{valid:M,invalid:E,loading:C,disabled:R}),(0,X.jsx)(se,{loading:C,disabled:R}),l&&(0,X.jsx)(fe,{loading:C,disabled:R,readonly:q,value:x}),f&&(0,X.jsxs)(X.Fragment,{children:[i&&(0,X.jsx)(Re,{}),(0,X.jsx)(Ee,{children:f})]})]})};Te.states=gi;Te.options=Ci;Te.className=_s;Te.defaultOptions=at;Te.moduleName=Jo;Te.folderName=Ps;var Ai=require("react/jsx-runtime");var zs=require("react/jsx-runtime");var Hs=require("react/jsx-runtime");var ee=require("react/jsx-runtime"),Ds="k-actionsheet-titlebar",Oi={},re=e=>{let{title:t,subtitle:o,actionsStart:r,actionsEnd:i,filter:l,input:p,inputValue:u,inputPlaceholder:f,adaptive:L,children:x,...v}=e;return(0,ee.jsxs)("div",{...v,className:s(e.className,Ds),children:[(0,ee.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[r&&(0,ee.jsx)("div",{className:"k-actionsheet-actions",children:r}),!x&&(0,ee.jsxs)("div",{className:"k-actionsheet-title",children:[t&&(0,ee.jsx)("div",{className:"k-text-center",children:t}),o&&(0,ee.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),x&&(0,ee.jsx)("div",{className:"k-actionsheet-title",children:x}),i&&(0,ee.jsx)("div",{className:"k-actionsheet-actions",children:i})]}),(p||l)&&(0,ee.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:p?(0,ee.jsx)(Te,{value:u,placeholder:f,size:L?"large":"medium"}):(0,ee.jsx)(Ne,{placeholder:"Filter",size:L?"large":"medium"})})]})};re.className=Ds;re.defaultOptions=Oi;var xt=require("react/jsx-runtime"),qo="k-actionsheet-view",yi=[],Bi={},Ri={},Mt=e=>{let{adaptive:t,animated:o,children:r,header:i,footer:l,...p}=e,u=(i==null?void 0:i.type)===re&&(0,xt.jsx)(re,{adaptive:t,...i==null?void 0:i.props}),f=(l==null?void 0:l.type)===qt&&(0,xt.jsx)(qt,{...l==null?void 0:l.props});return(0,xt.jsxs)("div",{...p,className:s(e.className,qo,{[`${qo}-animated`]:o}),children:[u,(0,xt.jsx)("div",{className:"k-actionsheet-content",children:r}),f]})};Mt.states=yi;Mt.options=Bi;Mt.className=qo;Mt.defaultOptions=Ri;var Wt="action-sheet",fo=Wt;var it=require("react/jsx-runtime"),Gs="k-actionsheet",Ki=[],Pi={},Zt={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},te=e=>{let{side:t=Zt.side,fullscreen:o=Zt.fullscreen,adaptive:r=Zt.adaptive,overlay:i=Zt.overlay,template:l,children:p,header:u,footer:f,...L}=e;return(0,it.jsxs)("div",{className:"k-actionsheet-container",children:[i&&(0,it.jsx)("div",{className:"k-overlay"}),(0,it.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,it.jsx)("div",{...L,className:s(e.className,Gs,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":r}),children:l||(0,it.jsx)(Mt,{header:u,footer:f,adaptive:r,...e,children:p})})})]})};te.states=Ki;te.options=Pi;te.className=Gs;te.defaultOptions=Zt;te.moduleName=Wt;te.folderName=fo;var Fs=require("react/jsx-runtime"),Us="k-actionsheet-container",_i=[],wi={},zi={},ht=e=>{let{children:t,...o}=e;return(0,Fs.jsx)("div",{...o,className:Us,children:t})};ht.states=_i;ht.options=wi;ht.className=Us;ht.defaultOptions=zi;ht.moduleName=Wt;ht.folderName=fo;var Hi=require("react/jsx-runtime");var ae=require("react/jsx-runtime"),Wo="k-actionsheet-item",Di=[n.hover,n.focus,n.selected,n.disabled],Zo=e=>{let{iconName:t,text:o,description:r,hover:i,focus:l,selected:p,disabled:u,...f}=e;return(0,ae.jsxs)("span",{...f,className:s(e.className,Wo,A(Wo,{hover:i,focus:l,selected:p,disabled:u})),children:[!e.children&&(0,ae.jsx)(ae.Fragment,{children:(0,ae.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,ae.jsx)("span",{className:"k-icon-wrap",children:(0,ae.jsx)(k,{className:"k-actionsheet-item-icon",icon:t})}),(0,ae.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,ae.jsx)("span",{className:"k-actionsheet-item-title",children:o}),r&&(0,ae.jsx)("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};Zo.states=Di;Zo.className=Wo;var $s=require("react/jsx-runtime");var Gi=require("react/jsx-runtime");var Ui=require("react/jsx-runtime");var Fi=require("react/jsx-runtime");var Qo="slider",Vs=Qo;var Le=require("react/jsx-runtime"),Qt="k-slider",$i=[n.hover,n.focus,n.active,n.disabled,n.readonly],Xi={},Xe={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},W=e=>{let{type:t=Xe.type,orientation:o=Xe.orientation,readonly:r=Xe.readonly,disabled:i=Xe.disabled,handlePosition:l=Xe.handlePosition,showButtons:p=Xe.showButtons,showTicks:u=Xe.showTicks,hover:f,focus:L,active:x,trackStyle:v,dir:m,...h}=e,M,E;return o==="horizontal"?(M=m==="rtl"?"caret-alt-left":"caret-alt-right",E=m==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(M="caret-alt-up",E="caret-alt-down"),(0,Le.jsxs)("div",{...h,className:s(Qt,e.className,A(Qt,{readonly:r,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:m,children:[p&&(0,Le.jsx)(N,{className:"k-button-decrease",rounded:"full",icon:E}),(0,Le.jsxs)("div",{className:"k-slider-track-wrap",children:[u&&(0,Le.jsx)("ul",{className:"k-reset k-slider-items",children:e.children}),(0,Le.jsxs)("div",{className:"k-slider-track",style:v,children:[(0,Le.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,Le.jsx)("span",{className:s("k-draghandle","k-draghandle-start",A(Qt,{hover:f,focus:L,active:x}))}),(0,Le.jsx)("span",{className:s("k-draghandle",`k-draghandle-${l}`,A(Qt,{hover:f,focus:L,active:x}))})]})]}),p&&(0,Le.jsx)(N,{className:"k-button-increase",rounded:"full",icon:M})]})};W.states=$i;W.options=Xi;W.className=Qt;W.defaultOptions=Xe;W.moduleName=Qo;W.folderName=Vs;var Yo=require("react/jsx-runtime"),Js="k-tick",Vi=[],Ji={},qs={label:!1},Ve=e=>{let{style:t,label:o=qs.label,orientation:r,large:i,text:l,...p}=e;return(0,Yo.jsx)("li",{...p,className:s(e.className,Js,{[`k-tick-${r}`]:r,"k-tick-large":i}),style:t,children:o&&(0,Yo.jsx)("span",{className:"k-label",children:l})})};Ve.states=Vi;Ve.options=Ji;Ve.className=Js;Ve.defaultOptions=qs;var jo=require("react/jsx-runtime");var en=require("react/jsx-runtime");var tn=require("react/jsx-runtime");var on=require("react/jsx-runtime");var Ws=require("react/jsx-runtime"),nn=e=>(0,Ws.jsx)(W,{type:"gradient",showButtons:!1,showTicks:!1,...e});var Zs=require("react/jsx-runtime"),sn=e=>(0,Zs.jsx)(W,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});var Yt=require("react/jsx-runtime"),Qs="k-spin-button",Zi=[],Qi={size:[a.small,a.medium,a.large],fillMode:[c.solid,c.flat,c.outline,c.clear,c.link]},rn={size:a.medium,fillMode:c.solid},Je=e=>{let{size:t=rn.size,fillMode:o=rn.fillMode,...r}=e;return(0,Yt.jsxs)("span",{...r,className:s(Qs,e.className),children:[(0,Yt.jsx)(N,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),(0,Yt.jsx)(N,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};Je.states=Zi;Je.options=Qi;Je.className=Qs;Je.defaultOptions=rn;Je.moduleName=null;Je.folderName=null;var Ys="numeric-textbox",js="numerictextbox";var U=require("react/jsx-runtime"),er="k-numerictextbox",Yi=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],ji={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[c.solid,c.flat,c.outline]},lt={showSpinButton:!0,showClearButton:!0,size:B.defaultOptions.size,rounded:B.defaultOptions.rounded,fillMode:B.defaultOptions.fillMode,separators:!0},_=e=>{let{size:t=lt.size,rounded:o=lt.rounded,fillMode:r=lt.fillMode,separators:i=lt.separators,showClearButton:l=lt.showClearButton,showSpinButton:p=lt.showSpinButton,prefix:u,suffix:f,value:L,placeholder:x,hover:v,focus:m,valid:h,invalid:M,required:E,loading:O,disabled:C,readonly:R,...q}=e;return(0,U.jsxs)(B,{...q,size:t,rounded:o,fillMode:r,hover:v,focus:m,valid:h,invalid:M,required:E,loading:O,disabled:C,readonly:R,className:s(e.className,er),children:[u&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(ve,{children:u}),i&&(0,U.jsx)(Re,{})]}),(0,U.jsx)(be,{placeholder:x,value:L}),(0,U.jsx)(j,{valid:h,invalid:M,loading:O,disabled:C}),(0,U.jsx)(se,{loading:O,disabled:C}),l&&(0,U.jsx)(fe,{loading:O,disabled:C,readonly:R,value:L}),f&&(0,U.jsxs)(U.Fragment,{children:[i&&(0,U.jsx)(Re,{}),(0,U.jsx)(Ee,{children:f})]}),p&&(0,U.jsx)(Je,{className:"k-input-spinner",size:t,fillMode:r})]})};_.states=Yi;_.options=ji;_.className=er;_.defaultOptions=lt;_.moduleName=Ys;_.folderName=js;var el=require("react/jsx-runtime");var or=require("react/jsx-runtime"),tl="k-no-data",jt=e=>(0,or.jsx)("span",{className:s(tl,e.className),children:e.children});var Ke="list",qe=Ke;var ge=require("react/jsx-runtime"),an="k-list",ol=[],nl={size:[a.small,a.medium,a.large]},nr={size:a.medium},K=e=>{let{size:t=nr.size,virtualization:o,children:r,optionLabel:i,customValue:l,screenReaders:p,...u}=e,f,L,x,v,m=[];return r?r.map((h,M)=>{h.type===F?(h.props.root===!0?(f=h.props.label,h.props.children.map((E,O)=>{m.push((0,ge.jsx)(g,{...E.props},`optChild-${O}-${new Date().getTime()}`))})):h.props.children.forEach((E,O)=>{let C="";O===0&&(C=h.props.label),m.push((0,ge.jsx)(g,{className:O===0?"k-first":"",...E.props,groupLabel:C},`groupLabel-${O}-${new Date().getTime()}`))}),L=(0,ge.jsx)(F,{label:f,virtualization:o,children:m})):h.type===g&&(m.push((0,ge.jsx)(g,{...h.props},`${h.type}-${M}`)),x=(0,ge.jsx)(St,{virtualization:o,children:m}),p&&(v=(0,ge.jsxs)(jt,{className:"k-sr-only",children:[m.length," items found."]})))}):v=(0,ge.jsx)(jt,{children:"No data found."}),(0,ge.jsxs)("div",{...u,className:s(e.className,an,I(an,{size:t}),{"k-virtual-list":o}),children:[i,l,L,x,v]})};K.states=ol;K.options=nl;K.className=an;K.defaultOptions=nr;K.moduleName=Ke;K.folderName=qe;var rr=require("react/jsx-runtime"),sr="k-list-container",sl=[],rl={},al={},vt=e=>{let{...t}=e;return(0,rr.jsx)("div",{...t,className:s(e.className,sr),children:e.children})};vt.states=sl;vt.options=rl;vt.className=sr;vt.defaultOptions=al;vt.moduleName=Ke;vt.folderName=qe;var Ce=require("react/jsx-runtime"),ln="k-list",il=[],ll={size:[a.small,a.medium,a.large]},ar={size:a.medium},Pe=e=>{let{size:t=ar.size,virtualization:o,children:r,...i}=e,l,p,u,f=[];return r?r.map((L,x)=>{L.type===F?(L.props.root===!0?(l=L.props.label,L.props.children.map((v,m)=>{f.push((0,Ce.jsx)(g,{...v.props},`optChild-${m}-${new Date().getTime()}`))})):(f.push((0,Ce.jsx)(ir,{...L.props,children:L.props.label},`listChild-${x}`)),L.props.children.map((v,m)=>{f.push((0,Ce.jsx)(g,{...v.props},`fwOptChild-${m}-${new Date().getTime()}`))})),p=(0,Ce.jsx)(F,{label:l,virtualization:o,children:f})):L.type===g&&(f.push((0,Ce.jsx)(g,{...L.props},`${L.type}-${x}`)),u=(0,Ce.jsx)(St,{virtualization:o,children:f}))}):u=(0,Ce.jsx)(jt,{children:"No data found."}),(0,Ce.jsxs)("div",{...i,className:s(e.className,ln,I(ln,{size:t}),{"k-virtual-list":o}),children:[p,u]})};Pe.states=il;Pe.options=ll;Pe.className=ln;Pe.defaultOptions=ar;Pe.moduleName=Ke;Pe.folderName=qe;var pt="checkbox",Et=pt;var mn=require("react/jsx-runtime"),bo="k-checkbox",pl=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],ml={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full]},pn={size:a.medium,rounded:b.medium},Ae=e=>{let{id:t,checked:o,indeterminate:r,hover:i,focus:l,disabled:p,invalid:u,valid:f,required:L,size:x=pn.size,rounded:v=pn.rounded,...m}=e;return(0,mn.jsx)("span",{className:"k-checkbox-wrap",children:(0,mn.jsx)("input",{...m,id:t,type:"checkbox",defaultChecked:o,required:L,className:s(e.className,bo,I(bo,{size:x,rounded:v}),A(bo,{hover:i,focus:l,disabled:p,invalid:u,valid:f,indeterminate:r,checked:o}))})})};Ae.states=pl;Ae.options=ml;Ae.className=bo;Ae.defaultOptions=pn;Ae.moduleName=pt;Ae.folderName=Et;var mr=require("react/jsx-runtime"),lr="k-checkbox-list",cl=[],dl={},pr={layout:"vertical"},We=e=>{let{layout:t=pr.layout,...o}=e;return(0,mr.jsx)("ul",{...o,className:s(e.className,lr,{[`k-list-${t}`]:t}),children:e.children})};We.states=cl;We.options=dl;We.className=lr;We.defaultOptions=pr;We.moduleName=pt;We.folderName=Et;var dr=require("react/jsx-runtime"),cr="k-checkbox-list-item",ul=[],fl={},bl={},Ze=e=>{let{...t}=e;return(0,dr.jsx)("li",{...t,className:s(e.className,cr),children:e.children})};Ze.states=ul;Ze.options=fl;Ze.className=cr;Ze.defaultOptions=bl;Ze.moduleName=pt;Ze.folderName=Et;var dn=require("react/jsx-runtime");var un=require("react/jsx-runtime");var fn=require("react/jsx-runtime");var bn=require("react/jsx-runtime");var Nl=require("react/jsx-runtime");var Ll=require("react/jsx-runtime");var mt=require("react/jsx-runtime"),Nn="k-list-item",xl=[n.hover,n.focus,n.selected,n.disabled],Ml={},hl={},g=e=>{let{text:t,groupLabel:o,group:r,showIcon:i,iconName:l,showCheckbox:p,checked:u,hover:f,focus:L,selected:x,disabled:v,...m}=e,h=t||e.children;return(0,mt.jsxs)("li",{...m,className:s(e.className,r?"k-list-group-item":Nn,A(Nn,{hover:f,focus:L,disabled:v,selected:x})),children:[p&&(0,mt.jsx)(Ae,{checked:u}),i&&(0,mt.jsx)(k,{icon:l}),(0,mt.jsx)("span",{className:"k-list-item-text",children:h}),o&&o!==""&&(0,mt.jsx)("div",{className:"k-list-item-group-label",children:o})]})};g.states=xl;g.options=Ml;g.className=Nn;g.defaultOptions=hl;g.moduleName=Ke;g.folderName=qe;var kt=require("react/jsx-runtime"),Sl="k-list-content",St=e=>{let{virtualization:t,...o}=e;return(0,kt.jsxs)("div",{...o,className:s(Sl,e.className),children:[(0,kt.jsx)("ul",{className:s("k-list-ul"),children:e.children}),t&&(0,kt.jsx)("div",{className:"k-height-container",children:(0,kt.jsx)("div",{})})]})};var Ln=require("react/jsx-runtime"),vl="k-list-group-sticky-header",ur=e=>(0,Ln.jsx)("div",{className:s(vl,e.className),children:(0,Ln.jsx)("div",{className:"k-list-header-text",children:e.children})});var ct=require("react/jsx-runtime"),F=e=>{let{virtualization:t,label:o}=e;return(0,ct.jsxs)(ct.Fragment,{children:[o&&(0,ct.jsx)(ur,{children:o}),e.children&&(0,ct.jsx)(St,{virtualization:t,children:e.children})]})};var xn=require("react/jsx-runtime"),El="k-list-group-item",ir=e=>(0,xn.jsx)("li",{className:s(El,e.className),children:(0,xn.jsx)("span",{className:"k-list-item-text",children:e.children})});var fr=require("react/jsx-runtime"),Mn="k-list-optionlabel",kl=[n.hover,n.focus,n.selected,n.disabled],Il={},Tl={},No=e=>{let{text:t,hover:o,focus:r,selected:i,disabled:l,...p}=e;return(0,fr.jsx)("div",{...p,className:s(Mn,A(Mn,{hover:o,focus:r,selected:i,disabled:l})),children:t})};No.states=kl;No.options=Il;No.className=Mn;No.defaultOptions=Tl;var br=require("react/jsx-runtime"),hn="k-list-custom-value",gl=[n.hover,n.focus,n.selected,n.disabled],Cl={},Al={},Qe=e=>{let{text:t,hover:o,focus:r,selected:i,disabled:l,...p}=e;return(0,br.jsx)("div",{...p,className:s(hn,A(hn,{hover:o,focus:r,selected:i,disabled:l})),children:t})};Qe.states=gl;Qe.options=Cl;Qe.className=hn;Qe.defaultOptions=Al;var Ol=require("react/jsx-runtime");var yl=require("react/jsx-runtime");var Nr=require("react/jsx-runtime");var Lr=require("react/jsx-runtime");var Bl=require("react/jsx-runtime");var xr=require("react/jsx-runtime");var Mr=require("react/jsx-runtime");var hr="dropdown-list",Sr="dropdownlist";var w=require("react/jsx-runtime"),vr="k-dropdownlist",Rl=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Kl={size:[a.small,a.medium,a.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[c.solid,c.flat,c.outline]},It={showValue:!0,arrowIconName:"caret-alt-down",size:a.medium,rounded:b.medium,fillMode:c.solid},ie=e=>{let{size:t=It.size,rounded:o=It.rounded,fillMode:r=It.fillMode,arrowIconName:i=It.arrowIconName,showValue:l=It.showValue,valueIconName:p,prefix:u,suffix:f,value:L,placeholder:x,hover:v,focus:m,valid:h,invalid:M,required:E,loading:O,disabled:C,readonly:R,popup:q,opened:Ue,adaptive:Kt,adaptiveSettings:Pt,adaptiveTitle:So,adaptiveSubtitle:vo,adaptiveFilter:Ea,...ka}=e;return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsxs)(Y,{...ka,size:t,rounded:o,fillMode:r,hover:v,focus:m,valid:h,invalid:M,required:E,loading:O,disabled:C,readonly:R,className:s(e.className,vr,{"k-icon-picker":!l&&p}),children:[(0,w.jsx)(ve,{children:u}),(0,w.jsx)(rt,{placeholder:x,value:L,showValue:l,valueIconName:p}),(0,w.jsx)(j,{valid:h,invalid:M,loading:O,disabled:C}),(0,w.jsx)(se,{loading:O,disabled:C}),(0,w.jsx)(Ee,{children:f}),(0,w.jsx)(N,{className:"k-input-button",icon:i,rounded:null,size:e.size,fillMode:e.fillMode})]}),Ue&&q&&(0,w.jsx)(H,{className:"k-list-container k-dropdownlist-popup",children:q}),Kt&&(0,w.jsx)(te,{adaptive:!0,...Pt,header:(0,w.jsx)(re,{actionsEnd:(0,w.jsx)(N,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Ea,inputValue:L,inputPlaceholder:x,title:So,subtitle:vo}),children:(0,w.jsx)("div",{className:"k-list-container",children:(0,w.jsxs)(K,{size:"large",children:[(0,w.jsx)(g,{text:"List item"}),(0,w.jsx)(g,{text:"List item"}),(0,w.jsx)(g,{text:"List item"})]})})})]})};ie.states=Rl;ie.options=Kl;ie.className=vr;ie.defaultOptions=It;ie.moduleName=hr;ie.folderName=Sr;var Pl=require("react/jsx-runtime");var Er=require("react/jsx-runtime");var Sn=require("react/jsx-runtime");var _l=require("react/jsx-runtime");var kr=require("react/jsx-runtime");var Ir=require("react/jsx-runtime");var vn=require("react/jsx-runtime");var En=require("react/jsx-runtime");var Tr=require("react/jsx-runtime");var gr=require("react/jsx-runtime");var S=require("react/jsx-runtime"),Cr="k-colorgradient-inputs",wl=[],zl={size:[a.small,a.medium,a.large]},Ar={mode:"rgba",size:a.medium},Tt=e=>{let{mode:t=Ar.mode,size:o,...r}=e;return(0,S.jsxs)("div",{...r,className:s(Cr,"k-hstack"),children:[(0,S.jsx)("div",{className:"k-vstack",children:(0,S.jsx)(N,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),t==="rgba"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,S.jsx)(S.Fragment,{children:(0,S.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,S.jsx)(Te,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Tt.states=wl;Tt.options=zl;Tt.className=Cr;Tt.defaultOptions=Ar;var V=require("react/jsx-runtime"),Or="k-colorgradient-color-contrast",Hl=[],Dl={},Gl={},gt=()=>(0,V.jsxs)("div",{className:s(Or,"k-vbox"),children:[(0,V.jsxs)("div",{className:"k-contrast-ratio",children:[(0,V.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,V.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,V.jsx)(k,{icon:"check"}),(0,V.jsx)(k,{icon:"check"})]})]}),(0,V.jsxs)("div",{children:[(0,V.jsx)("span",{children:"AA: 4.5"}),(0,V.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,V.jsx)(k,{icon:"check"})]})]}),(0,V.jsxs)("div",{children:[(0,V.jsx)("span",{children:"AAA: 7.0"}),(0,V.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,V.jsx)(k,{icon:"x"})]})]})]});gt.states=Hl;gt.options=Dl;gt.className=Or;gt.defaultOptions=Gl;var yr="color-gradient",Br="colorgradient";var D=require("react/jsx-runtime"),Lo="k-colorgradient",Ul=[n.hover,n.focus,n.readonly,n.disabled],Fl={size:[a.small,a.medium,a.large]},xe={size:a.medium,mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},Oe=e=>{let{size:t=xe.size,mode:o=xe.mode,readonly:r=xe.readonly,disabled:i=xe.disabled,gradientStyle:l=xe.gradientStyle,dragHandleStyle:p=xe.dragHandleStyle,alphaStyle:u=xe.alphaStyle,alphaStyleHorizontal:f=xe.alphaStyleHorizontal,contrast:L=xe.contrast,dir:x,hover:v,focus:m,hoverHandle:h,focusHandle:M,canvasOrientation:E=xe.canvasOrientation,...O}=e;return(0,D.jsxs)("div",{...O,className:s(e.className,Lo,I(Lo,{size:t}),A(Lo,{hover:v,focus:m,readonly:r,disabled:i})),dir:x,children:[!E||E==="horizontal"&&(0,D.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,D.jsx)("div",{className:"k-hsv-rectangle",style:l,children:(0,D.jsx)("div",{className:"k-hsv-gradient",children:(0,D.jsx)("div",{className:s("k-hsv-draghandle","k-draghandle",{"k-hover":h,"k-focus":M}),style:p})})}),(0,D.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,D.jsx)(sn,{className:"k-hue-slider",hover:h,focus:M}),o!=="rgb"&&o!=="hsv"&&(0,D.jsx)(sn,{className:"k-alpha-slider",hover:h,focus:M,trackStyle:u})]})]}),E==="vertical"&&(0,D.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,D.jsx)("div",{className:"k-hsv-rectangle",style:l,children:(0,D.jsx)("div",{className:"k-hsv-gradient",children:(0,D.jsx)("div",{className:s("k-hsv-draghandle","k-draghandle",{"k-hover":h,"k-focus":M}),style:p})})}),(0,D.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,D.jsx)(nn,{className:"k-hue-slider",hover:h,focus:M}),o!=="rgb"&&o!=="hsv"&&(0,D.jsx)(nn,{className:"k-alpha-slider",hover:h,focus:M,trackStyle:f})]})]}),(0,D.jsx)(Tt,{mode:e.mode,size:t}),L&&(0,D.jsx)(gt,{})]})};Oe.states=Ul;Oe.options=Fl;Oe.className=Lo;Oe.defaultOptions=xe;Oe.moduleName=yr;Oe.folderName=Br;var $l=require("react/jsx-runtime");var Xl=require("react/jsx-runtime");var Kr=require("react/jsx-runtime"),Rr=e=>(0,Kr.jsx)("tr",{children:e.children});var Pr=require("react/jsx-runtime"),kn="k-colorpalette-tile",Vl=[n.hover,n.focus,n.selected],Jl={},eo=e=>{let{color:t,tileSize:o,hover:r,focus:i,selected:l,...p}=e,u={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,Pr.jsx)("td",{...p,className:s(e.className,kn,A(kn,{hover:r,focus:i,selected:l})),style:u})};eo.states=Vl;eo.options=Jl;eo.className=kn;var _r="color-palette",wr="colorpalette";var Ct=require("react/jsx-runtime"),xo="k-colorpalette",ql=[n.disabled],Wl={size:[a.small,a.medium,a.large]},In={columns:10,size:a.medium},Ye=e=>{let{size:t=In.size,palette:o,columns:r=In.columns,tileSize:i,disabled:l,...p}=e,u=[];if(o){let f=r||o.columns,L=o.colors?o.colors:o;Array.isArray(L)&&Array.from({length:Math.ceil(L.length/f)},(x,v)=>{let m=[];L.slice(v*f,(v+1)*f).map((M,E)=>{m.push((0,Ct.jsx)(eo,{color:M,tileSize:i},E))});let h=(0,Ct.jsx)(Rr,{children:m},v);u.push(h)})}return(0,Ct.jsx)("div",{...p,className:s(e.className,xo,A(xo,{disabled:l}),I(xo,{size:t})),children:(0,Ct.jsx)("table",{className:"k-colorpalette-table",children:(0,Ct.jsx)("tbody",{children:u.length>0?u:e.children})})})};Ye.states=ql;Ye.options=Wl;Ye.className=xo;Ye.defaultOptions=In;Ye.moduleName=_r;Ye.folderName=wr;var Tn={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 Zl=require("react/jsx-runtime");var zr="color-editor",Hr="coloreditor";var z=require("react/jsx-runtime"),Mo="k-coloreditor",Ql=[n.focus],Yl={size:[a.small,a.medium,a.large]},At={size:a.medium,view:"gradient",palette:Tn.office,actionButtons:!0,canvasOrientation:"horizontal"},le=e=>{let{size:t=At.size,view:o=At.view,palette:r=At.palette,color:i,currentColor:l,focus:p,focusView:u,dir:f,group:L,actionButtons:x=At.actionButtons,canvasOrientation:v=At.canvasOrientation,...m}=e;return(0,z.jsxs)("div",{...m,className:s(e.className,"k-flatcolorpicker",Mo,I(Mo,{size:t}),A(Mo,{focus:p})),dir:f,children:[(0,z.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,z.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:L&&(0,z.jsxs)(P,{fillMode:"flat",children:[(0,z.jsx)(N,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),(0,z.jsx)(N,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),(0,z.jsx)("div",{className:"k-spacer"}),(0,z.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,z.jsx)(N,{fillMode:"flat",icon:"droplet-slash",size:t}),(0,z.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,z.jsx)(Fe,{className:"k-coloreditor-preview-color",color:i}),(0,z.jsx)(Fe,{className:"k-coloreditor-current-color",color:l})]})]})]}),(0,z.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,z.jsx)(Oe,{focus:u,size:t,canvasOrientat