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