@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 68.4 kB
JavaScript
var or=Object.create;var Wt=Object.defineProperty;var sr=Object.getOwnPropertyDescriptor;var nr=Object.getOwnPropertyNames;var ar=Object.getPrototypeOf,rr=Object.prototype.hasOwnProperty;var ir=(e,t)=>{for(var o in t)Wt(e,o,{get:t[o],enumerable:!0})},Us=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of nr(t))!rr.call(e,i)&&i!==o&&Wt(e,i,{get:()=>t[i],enumerable:!(a=sr(t,i))||a.enumerable});return e};var lr=(e,t,o)=>(o=e!=null?or(ar(e)):{},Us(t||!e||!e.__esModule?Wt(o,"default",{value:e,enumerable:!0}):o,e)),pr=e=>Us(Wt({},"__esModule",{value:!0}),e);var xp={};ir(xp,{ToolbarNormal:()=>Lp});module.exports=pr(xp);var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var C=(e,t)=>n({[`${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"}),O=(e,t)=>{let{valid:o,invalid:a,hover:i,focus:l,checked:p,active:d,selected:f,disabled:N,indeterminate:L,loading:v,empty:m,readonly:M,highlighted:x,...E}=t;return n({"k-valid":o,"k-invalid":a,"k-hover":i,"k-focus":l,"k-checked":p,"k-active":d,"k-selected":f,"k-disabled":N,"k-indeterminate":L&&!p,"k-loading":v,"k-empty":m,"k-readonly":M,"k-highlighted":x},Object.keys(E).reduce((g,T)=>(T.startsWith("k-")?g[T]=E[T]:g[`k-${T}`]=E[T],g),{}))};function Gs(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var r={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},b={small:"small",medium:"medium",large:"large",full:"full"},u={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},c={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},s={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var At=require("react/jsx-runtime"),bo="k-font-icon",mr=[],cr={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[c.base,c.primary,c.secondary,c.tertiary,c.success,c.warning,c.error,c.info,c.light,c.dark]},dr={},Tt=e=>{let{size:t,themeColor:o,icon:a,rotate:i,flip:l,...p}=e;return a?(0,At.jsx)("span",{...p,className:n(e.className,bo,C(bo,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"})}):(0,At.jsx)(At.Fragment,{})};Tt.states=mr;Tt.options=cr;Tt.className=bo;Tt.defaultOptions=dr;var Fs=Tt;var Ye=require("react/jsx-runtime"),No="k-svg-icon",ur=[],fr={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[c.base,c.primary,c.secondary,c.tertiary,c.success,c.warning,c.error,c.info,c.light,c.dark]},$s={viewBox:"0 0 24 24"},gt=e=>{let{size:t,themeColor:o,rotate:a,flip:i,viewBox:l=$s.viewBox,icon:p,...d}=e;if(!p)return(0,Ye.jsx)(Ye.Fragment,{});p==="none"&&{...d,className:n(e.className,No,"k-none")};let f=typeof p=="object"&&p.name&&p.name;return(0,Ye.jsx)("span",{...d,className:n(e.className,No,C("k-icon",{size:t}),{[`k-svg-i-${f}`]:f,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),children:(0,Ye.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})})};gt.states=ur;gt.options=fr;gt.className=No;gt.defaultOptions=$s;var Lo=gt;var xo=lr(require("@progress/kendo-svg-icons"));var Xs="icon",Vs="icons";var Oe=require("react/jsx-runtime"),Qt="k-icon",br=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Nr=[],Lr={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[c.base,c.primary,c.secondary,c.tertiary,c.success,c.warning,c.error,c.info,c.light,c.dark]},Mo={viewBox:"0 0 24 24",type:"svg"},k=e=>{let{size:t,themeColor:o,icon:a,type:i=Mo.type,rotate:l,flip:p,viewBox:d=Mo.viewBox,...f}=e;if(!a)return(0,Oe.jsx)(Oe.Fragment,{});if(i==="svg"){if(a==="none")return(0,Oe.jsx)(Lo,{...f,className:n(e.className,Qt),icon:a,size:t});let N=xo[a]?a:br(`${a}-icon`);return xo[N]?(0,Oe.jsx)(Lo,{...f,className:n(e.className,Qt),icon:xo[N],size:t,themeColor:o,rotate:l,flip:p,viewBox:d}):(0,Oe.jsx)(Oe.Fragment,{})}return(0,Oe.jsx)(Fs,{...f,className:n(e.className,Qt),icon:a,size:t,themeColor:o,rotate:l,flip:p})};k.states=Nr;k.options=Lr;k.defaultOptions=Mo;k.className=Qt;k.moduleName=Xs;k.folderName=Vs;var ho="button",Js=ho;var pe=require("react/jsx-runtime"),Ot="k-button",xr=["icon-button"],Mr=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],hr={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[u.solid,u.flat,u.outline,u.clear,u.link],themeColor:[c.base,c.primary,c.secondary,c.tertiary,c.success,c.warning,c.error,c.info,c.light,c.dark,c.inverse]},Ze={size:r.medium,rounded:b.medium,fillMode:u.solid,themeColor:c.base,showArrow:!1,arrowIconName:"caret-alt-down"},h=e=>{let{size:t=Ze.size,rounded:o=Ze.rounded,fillMode:a=Ze.fillMode,themeColor:i=Ze.themeColor,showArrow:l=Ze.showArrow,arrowIconName:p=Ze.arrowIconName,variant:d,hover:f,focus:N,active:L,selected:v,disabled:m,icon:M,text:x,iconClassName:E,...g}=e,T=M!==void 0,R=e.children!==void 0;return(0,pe.jsxs)("button",{...g,className:n(e.className,Ot,Gs(Ot,d),C(Ot,{size:t,rounded:o,fillMode:a,themeColor:i}),O(Ot,{hover:f,focus:N,active:L,disabled:m,selected:v}),{"k-icon-button":!x&&!R&&T}),children:[M&&(0,pe.jsx)(k,{className:n(E,"k-button-icon"),icon:M}),x?(0,pe.jsxs)(pe.Fragment,{children:[x&&(0,pe.jsx)("span",{className:"k-button-text",children:x}),e.children]}):e.children&&(0,pe.jsx)("span",{className:"k-button-text",children:e.children}),l&&(0,pe.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,pe.jsx)(k,{icon:p})})]})};h.states=Mr;h.options=hr;h.variants=xr;h.className=Ot;h.defaultOptions=Ze;h.moduleName=ho;h.folderName=Js;var qs=require("react/jsx-runtime"),Yt=e=>(0,qs.jsx)(h,{icon:"folder",...e,children:void 0});var Ws=require("react/jsx-runtime"),So=e=>(0,Ws.jsx)(h,{icon:"folder",children:"Button",...e});var Sr=require("react/jsx-runtime");var vo="button",Qs=vo;var Zs=require("react/jsx-runtime"),yt="k-button-group",vr=[s.disabled],Er={fillMode:[u.solid,u.flat,u.outline,u.clear,u.link]},Ys={fillMode:u.solid},z=e=>{let{fillMode:t=Ys.fillMode,disabled:o,stretched:a,...i}=e;return(0,Zs.jsx)("div",{...i,className:n(e.className,yt,C(yt,{fillMode:t}),O(yt,{disabled:o}),{[`${yt}-stretched`]:a}),children:e.children})};z.states=vr;z.options=Er;z.className=yt;z.defaultOptions=Ys;z.moduleName=vo;z.folderName=Qs;var Eo=require("react/jsx-runtime");var ko=require("react/jsx-runtime");var Io=require("react/jsx-runtime");var Co=require("react/jsx-runtime");var Kt="input",Zt=Kt;var js=require("react/jsx-runtime"),jt="k-input",kr=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Ir={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[u.solid,u.flat,u.outline]},eo={size:r.medium,rounded:r.medium,fillMode:u.solid},K=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:p,readonly:d,size:f=eo.size,rounded:N=eo.rounded,fillMode:L=eo.fillMode,...v}=e;return(0,js.jsx)("span",{...v,className:n(e.className,jt,C(jt,{size:f,rounded:N,fillMode:L}),O(jt,{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:p,readonly:d}))})};K.states=kr;K.options=Ir;K.className=jt;K.defaultOptions=eo;K.moduleName=Kt;K.folderName=Zt;var en=require("react/jsx-runtime"),to="k-picker",Cr=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Ar={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[u.solid,u.flat,u.outline]},oo={size:r.medium,rounded:b.medium,fillMode:u.solid},W=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:p,readonly:d,size:f=oo.size,rounded:N=oo.rounded,fillMode:L=oo.fillMode,...v}=e;return(0,en.jsx)("span",{...v,className:n(e.className,to,C(to,{size:f,rounded:N,fillMode:L}),O(to,{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:p,readonly:d})),children:e.children})};W.states=Cr;W.options=Ar;W.className=to;W.defaultOptions=oo;W.moduleName=Kt;W.folderName=Zt;var ct=require("react/jsx-runtime"),tn="k-clear-value",Tr=[s.disabled,s.loading,s.readonly],gr={},me=e=>{let{disabled:t,loading:o,readonly:a,value:i}=e;return t||a||o||!i?(0,ct.jsx)(ct.Fragment,{}):(0,ct.jsx)("span",{className:n(e.className,tn),children:(0,ct.jsx)(k,{icon:"x"})})};me.states=Tr;me.options=gr;me.className=tn;var on=require("react/jsx-runtime"),Ao="k-input-inner",Or=[],yr={},so={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=so.value,type:o=so.type,placeholder:a=so.placeholder,autocomplete:i=so.autocomplete,...l}=e;return(0,on.jsx)("input",{...l,type:o,className:n(e.className,Ao,C(Ao,e)),placeholder:a,autoComplete:i,defaultValue:t})};ce.states=Or;ce.options=yr;ce.className=Ao;var Rt=require("react/jsx-runtime"),To="k-input-inner",Kr=[],Rr={},je=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:i,valueIconName:l,...p}=e;return(0,Rt.jsxs)("span",{...p,className:n(e.className,To,C(To,e)),children:[i,!i&&l&&(0,Rt.jsx)(k,{className:"k-input-value-icon",icon:l}),a&&!t&&o,a&&t&&(0,Rt.jsx)("span",{className:"k-input-value-text",children:t})]})};je.states=Kr;je.options=Rr;je.className=To;var nn=require("react/jsx-runtime"),go="k-input-inner",_r=[],Pr={},sn={value:"",placeholder:""},Oo=e=>{let{value:t=sn.value,placeholder:o=sn.placeholder,rows:a,...i}=e;return(0,nn.jsx)("textarea",{...i,className:n(e.className,go,C(go,e)),placeholder:o,rows:a,defaultValue:t})};Oo.states=_r;Oo.options=Pr;Oo.className=go;var _t=require("react/jsx-runtime"),an="k-input-loading-icon",Br=[s.disabled,s.loading],te=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,_t.jsx)(_t.Fragment,{}):(0,_t.jsx)("span",{className:n(e.className,an,"k-icon k-i-loading")})};te.states=Br;te.className=an;var Pt=require("react/jsx-runtime"),rn="k-input-validation-icon",wr=[s.valid,s.invalid,s.disabled,s.loading],zr={},Q=e=>{let{valid:t,invalid:o,disabled:a,loading:i}=e,l=o?"warning-circle":"check-circle";return a||i||!!!(t||o)?(0,Pt.jsx)(Pt.Fragment,{}):(0,Pt.jsx)(k,{className:n(rn),icon:l})};Q.states=wr;Q.options=zr;Q.className=rn;var Bt=require("react/jsx-runtime"),Hr="k-input-prefix",Dr={direction:"horizontal"},Me=e=>{let{direction:t=Dr.direction,...o}=e;return e.children?(0,Bt.jsx)("span",{...o,className:n(Hr,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Bt.jsx)(Bt.Fragment,{})};var wt=require("react/jsx-runtime"),Ur="k-input-suffix",Gr={direction:"horizontal"},he=e=>{let{direction:t=Gr.direction,...o}=e;return e.children?(0,wt.jsx)("span",{...o,className:n(Ur,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,wt.jsx)(wt.Fragment,{})};var Fr=require("react/jsx-runtime");var $r=require("react/jsx-runtime");var pn=require("react/jsx-runtime"),ln="k-input-separator",Xr={direction:"vertical"},ye=e=>{let{direction:t=Xr.direction,...o}=e;return(0,pn.jsx)("span",{...o,className:n(ln,e.className,{[`${ln}-${t}`]:t})})};var zt=require("react/jsx-runtime"),mn="k-color-preview",Vr=[],Jr={},He=e=>{let{color:t,iconName:o,...a}=e;return(0,zt.jsxs)("span",{...a,className:n(e.className,mn,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,zt.jsx)(k,{icon:o,className:"k-color-preview-icon"}),(0,zt.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};He.states=Vr;He.options=Jr;He.className=mn;var yo="popup",cn=yo;var Ko=require("react/jsx-runtime"),dn="k-animation-container",qr=[],Wr={},un={positionMode:"absolute"},Se=e=>{let{positionMode:t=un.positionMode,animationStyle:o,offset:a,...i}=e;return(0,Ko.jsx)("div",{...i,style:{...a,...e.style},className:n(e.className,dn,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,Ko.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};Se.states=qr;Se.options=Wr;Se.className=dn;Se.defaultOptions=un;Se.moduleName=yo;Se.folderName=cn;var Ro="popup",fn=Ro;var _o=require("react/jsx-runtime"),bn="k-popup",Qr=[],Yr={},Nn={positionMode:"absolute"},U=e=>{let{offset:t,positionMode:o=Nn.positionMode,animationStyle:a,...i}=e;return(0,_o.jsx)(Se,{positionMode:o,offset:t,animationStyle:a,children:(0,_o.jsx)("div",{...i,className:n(e.className,bn),children:e.children})})};U.states=Qr;U.options=Yr;U.className=bn;U.defaultOptions=Nn;U.moduleName=Ro;U.folderName=fn;var Po="action-buttons",Ln=Po;var xn=require("react/jsx-runtime"),no="k-actions",Zr=[],jr={},Bo={alignment:"start",orientation:"horizontal"},ve=e=>{let{alignment:t=Bo.alignment,orientation:o=Bo.orientation,...a}=e;return(0,xn.jsx)("div",{...a,className:n(no,{[`${no}-${t}`]:t,[`${no}-${o}`]:o},e.className),children:e.children})};ve.states=Zr;ve.options=jr;ve.className=no;ve.defaultOptions=Bo;ve.moduleName=Po;ve.folderName=Ln;var hn=require("react/jsx-runtime"),ei="k-actionsheet-footer",Mn={alignment:"stretched",orientation:"horizontal"},Ht=e=>{let{alignment:t=Mn.alignment,orientation:o=Mn.orientation,template:a,as:i=a?"div":ve,...l}=e;return(0,hn.jsx)(i,{...l,...!a&&{alignment:t,orientation:o},className:n(e.className,ei),children:e.children})};var wo="searchbox",Sn=wo;var De=require("react/jsx-runtime"),vn="k-searchbox",ti=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],oi={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[u.solid,u.flat,u.outline]},zo={showIcon:!0,icon:"search",size:K.defaultOptions.size,rounded:K.defaultOptions.rounded,fillMode:K.defaultOptions.fillMode},de=e=>{let{value:t,placeholder:o,size:a,rounded:i,fillMode:l,hover:p,focus:d,valid:f,invalid:N,required:L,loading:v,disabled:m,showIcon:M=zo.showIcon,icon:x=zo.icon,...E}=e;return(0,De.jsxs)(K,{...E,size:a,rounded:i,fillMode:l,hover:p,focus:d,valid:f,invalid:N,required:L,loading:v,disabled:m,className:n(e.className,vn),children:[M&&(0,De.jsx)(k,{className:"k-input-icon",icon:x}),(0,De.jsx)(ce,{placeholder:o,value:t}),(0,De.jsx)(te,{...e}),(0,De.jsx)(Q,{...e}),(0,De.jsx)(me,{...e})]})};de.states=ti;de.options=oi;de.className=vn;de.defaultOptions=zo;de.moduleName=wo;de.folderName=Sn;var si=require("react/jsx-runtime");var Ho="textbox",En=Ho;var X=require("react/jsx-runtime"),kn="k-textbox",ni=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],ai={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[u.solid,u.flat,u.outline]},et={showClearButton:!0,showValidationIcon:!0,size:K.defaultOptions.size,rounded:K.defaultOptions.rounded,fillMode:K.defaultOptions.fillMode,separators:!0},Ee=e=>{let{size:t=et.size,rounded:o=et.rounded,fillMode:a=et.fillMode,separators:i=et.separators,showClearButton:l=et.showClearButton,showValidationIcon:p=et.showValidationIcon,prefix:d,suffix:f,type:N,value:L,placeholder:v,hover:m,focus:M,valid:x,invalid:E,required:g,loading:T,disabled:R,readonly:J,...ze}=e;return(0,X.jsxs)(K,{...ze,size:t,rounded:o,fillMode:a,hover:m,focus:M,valid:x,invalid:E,required:g,loading:T,disabled:R,readonly:J,className:n(e.className,kn),children:[d&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Me,{children:d}),i&&(0,X.jsx)(ye,{})]}),(0,X.jsx)(ce,{placeholder:v,value:L,type:N}),p&&(0,X.jsx)(Q,{valid:x,invalid:E,loading:T,disabled:R}),(0,X.jsx)(te,{loading:T,disabled:R}),l&&(0,X.jsx)(me,{loading:T,disabled:R,readonly:J,value:L}),f&&(0,X.jsxs)(X.Fragment,{children:[i&&(0,X.jsx)(ye,{}),(0,X.jsx)(he,{children:f})]})]})};Ee.states=ni;Ee.options=ai;Ee.className=kn;Ee.defaultOptions=et;Ee.moduleName=Ho;Ee.folderName=En;var ri=require("react/jsx-runtime");var Cn=require("react/jsx-runtime");var An=require("react/jsx-runtime");var Y=require("react/jsx-runtime"),Tn="k-actionsheet-titlebar",ii={},oe=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:i,filter:l,input:p,inputValue:d,inputPlaceholder:f,adaptive:N,children:L,...v}=e;return(0,Y.jsxs)("div",{...v,className:n(e.className,Tn),children:[(0,Y.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,Y.jsx)("div",{className:"k-actionsheet-actions",children:a}),!L&&(0,Y.jsxs)("div",{className:"k-actionsheet-title",children:[t&&(0,Y.jsx)("div",{className:"k-text-center",children:t}),o&&(0,Y.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),L&&(0,Y.jsx)("div",{className:"k-actionsheet-title",children:L}),i&&(0,Y.jsx)("div",{className:"k-actionsheet-actions",children:i})]}),(p||l)&&(0,Y.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:p?(0,Y.jsx)(Ee,{value:d,placeholder:f,size:N?"large":"medium"}):(0,Y.jsx)(de,{placeholder:"Filter",size:N?"large":"medium"})})]})};oe.className=Tn;oe.defaultOptions=ii;var dt=require("react/jsx-runtime"),Do="k-actionsheet-view",li=[],pi={},mi={},ut=e=>{let{adaptive:t,animated:o,children:a,header:i,footer:l,...p}=e,d=(i==null?void 0:i.type)===oe&&(0,dt.jsx)(oe,{adaptive:t,...i==null?void 0:i.props}),f=(l==null?void 0:l.type)===Ht&&(0,dt.jsx)(Ht,{...l==null?void 0:l.props});return(0,dt.jsxs)("div",{...p,className:n(e.className,Do,{[`${Do}-animated`]:o}),children:[d,(0,dt.jsx)("div",{className:"k-actionsheet-content",children:a}),f]})};ut.states=li;ut.options=pi;ut.className=Do;ut.defaultOptions=mi;var Dt="action-sheet",ao=Dt;var tt=require("react/jsx-runtime"),gn="k-actionsheet",ci=[],di={},Ut={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Z=e=>{let{side:t=Ut.side,fullscreen:o=Ut.fullscreen,adaptive:a=Ut.adaptive,overlay:i=Ut.overlay,template:l,children:p,header:d,footer:f,...N}=e;return(0,tt.jsxs)("div",{className:"k-actionsheet-container",children:[i&&(0,tt.jsx)("div",{className:"k-overlay"}),(0,tt.jsx)(Se,{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,tt.jsx)("div",{...N,className:n(e.className,gn,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:l||(0,tt.jsx)(ut,{header:d,footer:f,adaptive:a,...e,children:p})})})]})};Z.states=ci;Z.options=di;Z.className=gn;Z.defaultOptions=Ut;Z.moduleName=Dt;Z.folderName=ao;var yn=require("react/jsx-runtime"),On="k-actionsheet-container",ui=[],fi={},bi={},ft=e=>{let{children:t,...o}=e;return(0,yn.jsx)("div",{...o,className:On,children:t})};ft.states=ui;ft.options=fi;ft.className=On;ft.defaultOptions=bi;ft.moduleName=Dt;ft.folderName=ao;var Ni=require("react/jsx-runtime");var se=require("react/jsx-runtime"),Uo="k-actionsheet-item",Li=[s.hover,s.focus,s.selected,s.disabled],Go=e=>{let{iconName:t,text:o,description:a,hover:i,focus:l,selected:p,disabled:d,...f}=e;return(0,se.jsxs)("span",{...f,className:n(e.className,Uo,O(Uo,{hover:i,focus:l,selected:p,disabled:d})),children:[!e.children&&(0,se.jsx)(se.Fragment,{children:(0,se.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,se.jsx)("span",{className:"k-icon-wrap",children:(0,se.jsx)(k,{className:"k-actionsheet-item-icon",icon:t})}),(0,se.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,se.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,se.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Go.states=Li;Go.className=Uo;var Kn=require("react/jsx-runtime");var xi=require("react/jsx-runtime");var Mi=require("react/jsx-runtime");var hi=require("react/jsx-runtime");var Fo="slider",_n=Fo;var ue=require("react/jsx-runtime"),Gt="k-slider",Si=[s.hover,s.focus,s.active,s.disabled,s.readonly],vi={},Ue={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},q=e=>{let{type:t=Ue.type,orientation:o=Ue.orientation,readonly:a=Ue.readonly,disabled:i=Ue.disabled,handlePosition:l=Ue.handlePosition,showButtons:p=Ue.showButtons,showTicks:d=Ue.showTicks,hover:f,focus:N,active:L,trackStyle:v,dir:m,...M}=e,x,E;return o==="horizontal"?(x=m==="rtl"?"caret-alt-left":"caret-alt-right",E=m==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(x="caret-alt-up",E="caret-alt-down"),(0,ue.jsxs)("div",{...M,className:n(Gt,e.className,O(Gt,{readonly:a,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:m,children:[p&&(0,ue.jsx)(h,{className:"k-button-decrease",rounded:"full",icon:E}),(0,ue.jsxs)("div",{className:"k-slider-track-wrap",children:[d&&(0,ue.jsx)("ul",{className:"k-reset k-slider-items",children:e.children}),(0,ue.jsxs)("div",{className:"k-slider-track",style:v,children:[(0,ue.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,ue.jsx)("span",{className:n("k-draghandle","k-draghandle-start",O(Gt,{hover:f,focus:N,active:L}))}),(0,ue.jsx)("span",{className:n("k-draghandle",`k-draghandle-${l}`,O(Gt,{hover:f,focus:N,active:L}))})]})]}),p&&(0,ue.jsx)(h,{className:"k-button-increase",rounded:"full",icon:x})]})};q.states=Si;q.options=vi;q.className=Gt;q.defaultOptions=Ue;q.moduleName=Fo;q.folderName=_n;var $o=require("react/jsx-runtime"),Pn="k-tick",Ei=[],ki={},Bn={label:!1},Ge=e=>{let{style:t,label:o=Bn.label,orientation:a,large:i,text:l,...p}=e;return(0,$o.jsx)("li",{...p,className:n(e.className,Pn,{[`k-tick-${a}`]:a,"k-tick-large":i}),style:t,children:o&&(0,$o.jsx)("span",{className:"k-label",children:l})})};Ge.states=Ei;Ge.options=ki;Ge.className=Pn;Ge.defaultOptions=Bn;var Xo=require("react/jsx-runtime");var Vo=require("react/jsx-runtime");var Jo=require("react/jsx-runtime");var qo=require("react/jsx-runtime");var wn=require("react/jsx-runtime"),Wo=e=>(0,wn.jsx)(q,{type:"gradient",showButtons:!1,showTicks:!1,...e});var zn=require("react/jsx-runtime"),Qo=e=>(0,zn.jsx)(q,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});var Ft=require("react/jsx-runtime"),Hn="k-spin-button",Ai=[],Ti={size:[r.small,r.medium,r.large],fillMode:[u.solid,u.flat,u.outline,u.clear,u.link]},Yo={size:r.medium,fillMode:u.solid},Fe=e=>{let{size:t=Yo.size,fillMode:o=Yo.fillMode,...a}=e;return(0,Ft.jsxs)("span",{...a,className:n(Hn,e.className),children:[(0,Ft.jsx)(h,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),(0,Ft.jsx)(h,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};Fe.states=Ai;Fe.options=Ti;Fe.className=Hn;Fe.defaultOptions=Yo;Fe.moduleName=null;Fe.folderName=null;var Dn="numeric-textbox",Un="numerictextbox";var G=require("react/jsx-runtime"),Gn="k-numerictextbox",gi=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],Oi={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[u.solid,u.flat,u.outline]},ot={showSpinButton:!0,showClearButton:!0,size:K.defaultOptions.size,rounded:K.defaultOptions.rounded,fillMode:K.defaultOptions.fillMode,separators:!0},P=e=>{let{size:t=ot.size,rounded:o=ot.rounded,fillMode:a=ot.fillMode,separators:i=ot.separators,showClearButton:l=ot.showClearButton,showSpinButton:p=ot.showSpinButton,prefix:d,suffix:f,value:N,placeholder:L,hover:v,focus:m,valid:M,invalid:x,required:E,loading:g,disabled:T,readonly:R,...J}=e;return(0,G.jsxs)(K,{...J,size:t,rounded:o,fillMode:a,hover:v,focus:m,valid:M,invalid:x,required:E,loading:g,disabled:T,readonly:R,className:n(e.className,Gn),children:[d&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(Me,{children:d}),i&&(0,G.jsx)(ye,{})]}),(0,G.jsx)(ce,{placeholder:L,value:N}),(0,G.jsx)(Q,{valid:M,invalid:x,loading:g,disabled:T}),(0,G.jsx)(te,{loading:g,disabled:T}),l&&(0,G.jsx)(me,{loading:g,disabled:T,readonly:R,value:N}),f&&(0,G.jsxs)(G.Fragment,{children:[i&&(0,G.jsx)(ye,{}),(0,G.jsx)(he,{children:f})]}),p&&(0,G.jsx)(Fe,{className:"k-input-spinner",size:t,fillMode:a})]})};P.states=gi;P.options=Oi;P.className=Gn;P.defaultOptions=ot;P.moduleName=Dn;P.folderName=Un;var yi=require("react/jsx-runtime");var $n=require("react/jsx-runtime"),Ki="k-no-data",$t=e=>(0,$n.jsx)("span",{className:n(Ki,e.className),children:e.children});var Ke="list",$e=Ke;var ke=require("react/jsx-runtime"),Zo="k-list",Ri=[],_i={size:[r.small,r.medium,r.large]},Xn={size:r.medium},_=e=>{let{size:t=Xn.size,virtualization:o,children:a,optionLabel:i,customValue:l,screenReaders:p,...d}=e,f,N,L,v,m=[];return a?a.map((M,x)=>{M.type===F?(M.props.root===!0?(f=M.props.label,M.props.children.map((E,g)=>{m.push((0,ke.jsx)(A,{...E.props},`optChild-${g}-${new Date().getTime()}`))})):M.props.children.forEach((E,g)=>{let T="";g===0&&(T=M.props.label),m.push((0,ke.jsx)(A,{className:g===0?"k-first":"",...E.props,groupLabel:T},`groupLabel-${g}-${new Date().getTime()}`))}),N=(0,ke.jsx)(F,{label:f,virtualization:o,children:m})):M.type===A&&(m.push((0,ke.jsx)(A,{...M.props},`${M.type}-${x}`)),L=(0,ke.jsx)(bt,{virtualization:o,children:m}),p&&(v=(0,ke.jsxs)($t,{className:"k-sr-only",children:[m.length," items found."]})))}):v=(0,ke.jsx)($t,{children:"No data found."}),(0,ke.jsxs)("div",{...d,className:n(e.className,Zo,C(Zo,{size:t}),{"k-virtual-list":o}),children:[i,l,N,L,v]})};_.states=Ri;_.options=_i;_.className=Zo;_.defaultOptions=Xn;_.moduleName=Ke;_.folderName=$e;var Jn=require("react/jsx-runtime"),Vn="k-list-container",Pi=[],Bi={},wi={},Nt=e=>{let{...t}=e;return(0,Jn.jsx)("div",{...t,className:n(e.className,Vn),children:e.children})};Nt.states=Pi;Nt.options=Bi;Nt.className=Vn;Nt.defaultOptions=wi;Nt.moduleName=Ke;Nt.folderName=$e;var Ie=require("react/jsx-runtime"),jo="k-list",zi=[],Hi={size:[r.small,r.medium,r.large]},qn={size:r.medium},Re=e=>{let{size:t=qn.size,virtualization:o,children:a,...i}=e,l,p,d,f=[];return a?a.map((N,L)=>{N.type===F?(N.props.root===!0?(l=N.props.label,N.props.children.map((v,m)=>{f.push((0,Ie.jsx)(A,{...v.props},`optChild-${m}-${new Date().getTime()}`))})):(f.push((0,Ie.jsx)(Wn,{...N.props,children:N.props.label},`listChild-${L}`)),N.props.children.map((v,m)=>{f.push((0,Ie.jsx)(A,{...v.props},`fwOptChild-${m}-${new Date().getTime()}`))})),p=(0,Ie.jsx)(F,{label:l,virtualization:o,children:f})):N.type===A&&(f.push((0,Ie.jsx)(A,{...N.props},`${N.type}-${L}`)),d=(0,Ie.jsx)(bt,{virtualization:o,children:f}))}):d=(0,Ie.jsx)($t,{children:"No data found."}),(0,Ie.jsxs)("div",{...i,className:n(e.className,jo,C(jo,{size:t}),{"k-virtual-list":o}),children:[p,d]})};Re.states=zi;Re.options=Hi;Re.className=jo;Re.defaultOptions=qn;Re.moduleName=Ke;Re.folderName=$e;var st="checkbox",Lt=st;var ts=require("react/jsx-runtime"),ro="k-checkbox",Di=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.checked,s.indeterminate],Ui={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full]},es={size:r.medium,rounded:b.medium},Ce=e=>{let{id:t,checked:o,indeterminate:a,hover:i,focus:l,disabled:p,invalid:d,valid:f,required:N,size:L=es.size,rounded:v=es.rounded,...m}=e;return(0,ts.jsx)("span",{className:"k-checkbox-wrap",children:(0,ts.jsx)("input",{...m,id:t,type:"checkbox",defaultChecked:o,required:N,className:n(e.className,ro,C(ro,{size:L,rounded:v}),O(ro,{hover:i,focus:l,disabled:p,invalid:d,valid:f,indeterminate:a,checked:o}))})})};Ce.states=Di;Ce.options=Ui;Ce.className=ro;Ce.defaultOptions=es;Ce.moduleName=st;Ce.folderName=Lt;var Zn=require("react/jsx-runtime"),Qn="k-checkbox-list",Gi=[],Fi={},Yn={layout:"vertical"},Xe=e=>{let{layout:t=Yn.layout,...o}=e;return(0,Zn.jsx)("ul",{...o,className:n(e.className,Qn,{[`k-list-${t}`]:t}),children:e.children})};Xe.states=Gi;Xe.options=Fi;Xe.className=Qn;Xe.defaultOptions=Yn;Xe.moduleName=st;Xe.folderName=Lt;var ea=require("react/jsx-runtime"),jn="k-checkbox-list-item",$i=[],Xi={},Vi={},Ve=e=>{let{...t}=e;return(0,ea.jsx)("li",{...t,className:n(e.className,jn),children:e.children})};Ve.states=$i;Ve.options=Xi;Ve.className=jn;Ve.defaultOptions=Vi;Ve.moduleName=st;Ve.folderName=Lt;var ss=require("react/jsx-runtime");var ns=require("react/jsx-runtime");var as=require("react/jsx-runtime");var rs=require("react/jsx-runtime");var Ji=require("react/jsx-runtime");var qi=require("react/jsx-runtime");var nt=require("react/jsx-runtime"),is="k-list-item",Wi=[s.hover,s.focus,s.selected,s.disabled],Qi={},Yi={},A=e=>{let{text:t,groupLabel:o,group:a,showIcon:i,iconName:l,showCheckbox:p,checked:d,hover:f,focus:N,selected:L,disabled:v,...m}=e,M=t||e.children;return(0,nt.jsxs)("li",{...m,className:n(e.className,a?"k-list-group-item":is,O(is,{hover:f,focus:N,disabled:v,selected:L})),children:[p&&(0,nt.jsx)(Ce,{checked:d}),i&&(0,nt.jsx)(k,{icon:l}),(0,nt.jsx)("span",{className:"k-list-item-text",children:M}),o&&o!==""&&(0,nt.jsx)("div",{className:"k-list-item-group-label",children:o})]})};A.states=Wi;A.options=Qi;A.className=is;A.defaultOptions=Yi;A.moduleName=Ke;A.folderName=$e;var xt=require("react/jsx-runtime"),Zi="k-list-content",bt=e=>{let{virtualization:t,...o}=e;return(0,xt.jsxs)("div",{...o,className:n(Zi,e.className),children:[(0,xt.jsx)("ul",{className:n("k-list-ul"),children:e.children}),t&&(0,xt.jsx)("div",{className:"k-height-container",children:(0,xt.jsx)("div",{})})]})};var ls=require("react/jsx-runtime"),ji="k-list-group-sticky-header",ta=e=>(0,ls.jsx)("div",{className:n(ji,e.className),children:(0,ls.jsx)("div",{className:"k-list-header-text",children:e.children})});var at=require("react/jsx-runtime"),F=e=>{let{virtualization:t,label:o}=e;return(0,at.jsxs)(at.Fragment,{children:[o&&(0,at.jsx)(ta,{children:o}),e.children&&(0,at.jsx)(bt,{virtualization:t,children:e.children})]})};var ps=require("react/jsx-runtime"),el="k-list-group-item",Wn=e=>(0,ps.jsx)("li",{className:n(el,e.className),children:(0,ps.jsx)("span",{className:"k-list-item-text",children:e.children})});var oa=require("react/jsx-runtime"),ms="k-list-optionlabel",tl=[s.hover,s.focus,s.selected,s.disabled],ol={},sl={},io=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:l,...p}=e;return(0,oa.jsx)("div",{...p,className:n(ms,O(ms,{hover:o,focus:a,selected:i,disabled:l})),children:t})};io.states=tl;io.options=ol;io.className=ms;io.defaultOptions=sl;var sa=require("react/jsx-runtime"),cs="k-list-custom-value",nl=[s.hover,s.focus,s.selected,s.disabled],al={},rl={},Je=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:l,...p}=e;return(0,sa.jsx)("div",{...p,className:n(cs,O(cs,{hover:o,focus:a,selected:i,disabled:l})),children:t})};Je.states=nl;Je.options=al;Je.className=cs;Je.defaultOptions=rl;var il=require("react/jsx-runtime");var ll=require("react/jsx-runtime");var na=require("react/jsx-runtime");var aa=require("react/jsx-runtime");var pl=require("react/jsx-runtime");var ra=require("react/jsx-runtime");var ia=require("react/jsx-runtime");var la="dropdown-list",pa="dropdownlist";var B=require("react/jsx-runtime"),ma="k-dropdownlist",ml=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],cl={size:[r.small,r.medium,r.large],rounded:[b.small,b.medium,b.large,b.full],fillMode:[u.solid,u.flat,u.outline]},Mt={showValue:!0,arrowIconName:"caret-alt-down",size:r.medium,rounded:b.medium,fillMode:u.solid},Ae=e=>{let{size:t=Mt.size,rounded:o=Mt.rounded,fillMode:a=Mt.fillMode,arrowIconName:i=Mt.arrowIconName,showValue:l=Mt.showValue,valueIconName:p,prefix:d,suffix:f,value:N,placeholder:L,hover:v,focus:m,valid:M,invalid:x,required:E,loading:g,disabled:T,readonly:R,popup:J,opened:ze,adaptive:It,adaptiveSettings:Ct,adaptiveTitle:uo,adaptiveSubtitle:fo,adaptiveFilter:er,...tr}=e;return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsxs)(W,{...tr,size:t,rounded:o,fillMode:a,hover:v,focus:m,valid:M,invalid:x,required:E,loading:g,disabled:T,readonly:R,className:n(e.className,ma,{"k-icon-picker":!l&&p}),children:[(0,B.jsx)(Me,{children:d}),(0,B.jsx)(je,{placeholder:L,value:N,showValue:l,valueIconName:p}),(0,B.jsx)(Q,{valid:M,invalid:x,loading:g,disabled:T}),(0,B.jsx)(te,{loading:g,disabled:T}),(0,B.jsx)(he,{children:f}),(0,B.jsx)(h,{className:"k-input-button",icon:i,rounded:null,size:e.size,fillMode:e.fillMode})]}),ze&&J&&(0,B.jsx)(U,{className:"k-list-container k-dropdownlist-popup",children:J}),It&&(0,B.jsx)(Z,{adaptive:!0,...Ct,header:(0,B.jsx)(oe,{actionsEnd:(0,B.jsx)(h,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:er,inputValue:N,inputPlaceholder:L,title:uo,subtitle:fo}),children:(0,B.jsx)("div",{className:"k-list-container",children:(0,B.jsxs)(_,{size:"large",children:[(0,B.jsx)(A,{text:"List item"}),(0,B.jsx)(A,{text:"List item"}),(0,B.jsx)(A,{text:"List item"})]})})})]})};Ae.states=ml;Ae.options=cl;Ae.className=ma;Ae.defaultOptions=Mt;Ae.moduleName=la;Ae.folderName=pa;var dl=require("react/jsx-runtime");var ca=require("react/jsx-runtime");var ds=require("react/jsx-runtime");var ul=require("react/jsx-runtime");var da=require("react/jsx-runtime");var ua=require("react/jsx-runtime");var us=require("react/jsx-runtime");var fs=require("react/jsx-runtime");var fa=require("react/jsx-runtime");var ba=require("react/jsx-runtime");var S=require("react/jsx-runtime"),Na="k-colorgradient-inputs",fl=[],bl={size:[r.small,r.medium,r.large]},La={mode:"rgba",size:r.medium},ht=e=>{let{mode:t=La.mode,size:o,...a}=e;return(0,S.jsxs)("div",{...a,className:n(Na,"k-hstack"),children:[(0,S.jsx)("div",{className:"k-vstack",children:(0,S.jsx)(h,{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)(P,{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)(P,{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)(P,{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)(P,{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)(P,{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)(P,{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)(P,{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)(P,{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)(P,{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)(P,{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)(P,{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)(P,{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)(P,{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)(P,{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)(Ee,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};ht.states=fl;ht.options=bl;ht.className=Na;ht.defaultOptions=La;var V=require("react/jsx-runtime"),xa="k-colorgradient-color-contrast",Nl=[],Ll={},xl={},St=()=>(0,V.jsxs)("div",{className:n(xa,"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"})]})]})]});St.states=Nl;St.options=Ll;St.className=xa;St.defaultOptions=xl;var Ma="color-gradient",ha="colorgradient";var H=require("react/jsx-runtime"),lo="k-colorgradient",Ml=[s.hover,s.focus,s.readonly,s.disabled],hl={size:[r.small,r.medium,r.large]},fe={size:r.medium,mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},Te=e=>{let{size:t=fe.size,mode:o=fe.mode,readonly:a=fe.readonly,disabled:i=fe.disabled,gradientStyle:l=fe.gradientStyle,dragHandleStyle:p=fe.dragHandleStyle,alphaStyle:d=fe.alphaStyle,alphaStyleHorizontal:f=fe.alphaStyleHorizontal,contrast:N=fe.contrast,dir:L,hover:v,focus:m,hoverHandle:M,focusHandle:x,canvasOrientation:E=fe.canvasOrientation,...g}=e;return(0,H.jsxs)("div",{...g,className:n(e.className,lo,C(lo,{size:t}),O(lo,{hover:v,focus:m,readonly:a,disabled:i})),dir:L,children:[!E||E==="horizontal"&&(0,H.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,H.jsx)("div",{className:"k-hsv-rectangle",style:l,children:(0,H.jsx)("div",{className:"k-hsv-gradient",children:(0,H.jsx)("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":x}),style:p})})}),(0,H.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,H.jsx)(Qo,{className:"k-hue-slider",hover:M,focus:x}),o!=="rgb"&&o!=="hsv"&&(0,H.jsx)(Qo,{className:"k-alpha-slider",hover:M,focus:x,trackStyle:d})]})]}),E==="vertical"&&(0,H.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,H.jsx)("div",{className:"k-hsv-rectangle",style:l,children:(0,H.jsx)("div",{className:"k-hsv-gradient",children:(0,H.jsx)("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":x}),style:p})})}),(0,H.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,H.jsx)(Wo,{className:"k-hue-slider",hover:M,focus:x}),o!=="rgb"&&o!=="hsv"&&(0,H.jsx)(Wo,{className:"k-alpha-slider",hover:M,focus:x,trackStyle:f})]})]}),(0,H.jsx)(ht,{mode:e.mode,size:t}),N&&(0,H.jsx)(St,{})]})};Te.states=Ml;Te.options=hl;Te.className=lo;Te.defaultOptions=fe;Te.moduleName=Ma;Te.folderName=ha;var Sl=require("react/jsx-runtime");var vl=require("react/jsx-runtime");var va=require("react/jsx-runtime"),Sa=e=>(0,va.jsx)("tr",{children:e.children});var Ea=require("react/jsx-runtime"),bs="k-colorpalette-tile",El=[s.hover,s.focus,s.selected],kl={},Xt=e=>{let{color:t,tileSize:o,hover:a,focus:i,selected:l,...p}=e,d={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,Ea.jsx)("td",{...p,className:n(e.className,bs,O(bs,{hover:a,focus:i,selected:l})),style:d})};Xt.states=El;Xt.options=kl;Xt.className=bs;var ka="color-palette",Ia="colorpalette";var vt=require("react/jsx-runtime"),po="k-colorpalette",Il=[s.disabled],Cl={size:[r.small,r.medium,r.large]},Ns={columns:10,size:r.medium},qe=e=>{let{size:t=Ns.size,palette:o,columns:a=Ns.columns,tileSize:i,disabled:l,...p}=e,d=[];if(o){let f=a||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/f)},(L,v)=>{let m=[];N.slice(v*f,(v+1)*f).map((x,E)=>{m.push((0,vt.jsx)(Xt,{color:x,tileSize:i},E))});let M=(0,vt.jsx)(Sa,{children:m},v);d.push(M)})}return(0,vt.jsx)("div",{...p,className:n(e.className,po,O(po,{disabled:l}),C(po,{size:t})),children:(0,vt.jsx)("table",{className:"k-colorpalette-table",children:(0,vt.jsx)("tbody",{children:d.length>0?d:e.children})})})};qe.states=Il;qe.options=Cl;qe.className=po;qe.defaultOptions=Ns;qe.moduleName=ka;qe.folderName=Ia;var Ls={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 Al=require("react/jsx-runtime");var Ca="color-editor",Aa="coloreditor";var w=require("react/jsx-runtime"),mo="k-coloreditor",Tl=[s.focus],gl={size:[r.small,r.medium,r.large]},Et={size:r.medium,view:"gradient",palette:Ls.office,actionButtons:!0,canvasOrientation:"horizontal"},ne=e=>{let{size:t=Et.size,view:o=Et.view,palette:a=Et.palette,color:i,currentColor:l,focus:p,focusView:d,dir:f,group:N,actionButtons:L=Et.actionButtons,canvasOrientation:v=Et.canvasOrientation,...m}=e;return(0,w.jsxs)("div",{...m,className:n(e.className,"k-flatcolorpicker",mo,C(mo,{size:t}),O(mo,{focus:p})),dir:f,children:[(0,w.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,w.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&(0,w.jsxs)(z,{fillMode:"flat",children:[(0,w.jsx)(h,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),(0,w.jsx)(h,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),(0,w.jsx)("div",{className:"k-spacer"}),(0,w.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,w.jsx)(h,{fillMode:"flat",icon:"droplet-slash",size:t}),(0,w.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,w.jsx)(He,{className:"k-coloreditor-preview-color",color:i}),(0,w.jsx)(He,{className:"k-coloreditor-current-color",color:l})]})]})]}),(0,w.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,w.jsx)(Te,{focus:d,size:t,canvasOrientation:v}):(0,w.jsx)(qe,{palette:a,size:t})}),L&&(0,w.jsxs)(ve,{c