@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 76.5 kB
JavaScript
var Bs=Object.create;var uo=Object.defineProperty;var Ps=Object.getOwnPropertyDescriptor;var Es=Object.getOwnPropertyNames;var zs=Object.getPrototypeOf,ws=Object.prototype.hasOwnProperty;var Os=(e,t)=>{for(var o in t)uo(e,o,{get:t[o],enumerable:!0})},dr=(e,t,o,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Es(t))!ws.call(e,i)&&i!==o&&uo(e,i,{get:()=>t[i],enumerable:!(s=Ps(t,i))||s.enumerable});return e};var Rs=(e,t,o)=>(o=e!=null?Bs(zs(e)):{},dr(t||!e||!e.__esModule?uo(o,"default",{value:e,enumerable:!0}):o,e)),Ks=e=>dr(uo({},"__esModule",{value:!0}),e);var Rc={};Os(Rc,{PromptSettings:()=>Oc});module.exports=Ks(Rc);var a=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?a(...t):typeof t=="object"?Object.keys(t).map((o,s)=>t[s]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var C=(e,t)=>a({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.fillMode}-${t.themeColor}`]:t.fillMode&&t.themeColor},{[`${e}-${t.themeColor}`]:t.themeColor&&t.fillMode===void 0},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full"}),I=(e,t)=>a({"k-valid":t.valid,"k-invalid":t.invalid,"k-hover":t.hover,"k-focus":t.focus,"k-checked":t.checked,"k-active":t.active,"k-selected":t.selected,"k-disabled":t.disabled,"k-indeterminate":t.indeterminate&&!t.checked,"k-loading":t.loading,"k-empty":t.empty,"k-readonly":t.readonly});var n={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={small:"small",medium:"medium",large:"large",full:"full"},d={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},m={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},r={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"},ur={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var fr=require("react/jsx-runtime"),fo="k-actions",Hs=[],Gs={},Ro={alignment:"start",orientation:"horizontal"},X=e=>{let{alignment:t=Ro.alignment,orientation:o=Ro.orientation,...s}=e;return(0,fr.jsx)("div",{...s,className:a(fo,{[`${fo}-${t}`]:t,[`${fo}-${o}`]:o},e.className),children:e.children})};X.states=Hs;X.options=Gs;X.className=fo;X.defaultOptions=Ro;var $t=require("react/jsx-runtime"),Ko="k-icon k-font-icon",Ds=[],$s={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},Vs={},Vt=e=>{let{size:t,themeColor:o,icon:s,rotate:i,flip:l,...p}=e;return s?(0,$t.jsx)("span",{...p,className:a(e.className,Ko,C(Ko,{size:t}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"})}):(0,$t.jsx)($t.Fragment,{})};Vt.states=Ds;Vt.options=$s;Vt.className=Ko;Vt.defaultOptions=Vs;var br=Vt;var je=require("react/jsx-runtime"),Ho="k-icon k-svg-icon",_s=[],Xs={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},xr={viewBox:"0 0 24 24"},_t=e=>{let{size:t,themeColor:o,rotate:s,flip:i,viewBox:l=xr.viewBox,icon:p,...u}=e;if(!p)return(0,je.jsx)(je.Fragment,{});p==="none"&&{...u,className:a(e.className,Ho,"k-none")};let b=typeof p=="object"&&p.name&&p.name;return(0,je.jsx)("span",{...u,className:a(e.className,Ho,C("k-icon",{size:t}),{[`k-svg-i-${b}`]:b,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),children:(0,je.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})})};_t.states=_s;_t.options=Xs;_t.className=Ho;_t.defaultOptions=xr;var Go=_t;var hr=Rs(require("@progress/kendo-svg-icons")),ye=require("react/jsx-runtime"),Fs=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Js=[],Us={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},Do={viewBox:"0 0 24 24",type:"svg"},M=e=>{let{size:t,themeColor:o,icon:s,type:i=Do.type,rotate:l,flip:p,viewBox:u=Do.viewBox,...b}=e;if(!s)return(0,ye.jsx)(ye.Fragment,{});if(i==="svg"){if(s==="none")return(0,ye.jsx)(Go,{...b,icon:s,size:t});let x=Fs(`${s}-icon`);return hr[x]?(0,ye.jsx)(Go,{...b,icon:hr[x],size:t,themeColor:o,rotate:l,flip:p,viewBox:u}):(0,ye.jsx)(ye.Fragment,{})}return(0,ye.jsx)(br,{...b,icon:s,size:t,themeColor:o,rotate:l,flip:p})};M.states=Js;M.options=Us;M.defaultOptions=Do;var xe=require("react/jsx-runtime"),bo="k-button",qs=[r.hover,r.focus,r.active,r.selected,r.disabled],Ws={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark,m.inverse]},et={size:n.medium,rounded:f.medium,fillMode:d.solid,themeColor:m.base,showArrow:!1,arrowIconName:"caret-alt-down"},v=e=>{let{size:t=et.size,rounded:o=et.rounded,fillMode:s=et.fillMode,themeColor:i=et.themeColor,showArrow:l=et.showArrow,arrowIconName:p=et.arrowIconName,hover:u,focus:b,active:x,selected:h,disabled:S,icon:c,text:N,iconClassName:k,...g}=e,A=c!==void 0,B=e.children!==void 0;return(0,xe.jsxs)("button",{...g,className:a(e.className,bo,C(bo,{size:t,rounded:o,fillMode:s,themeColor:i}),I(bo,{hover:u,focus:b,active:x,disabled:S,selected:h}),{"k-icon-button":!N&&!B&&A}),children:[c&&(0,xe.jsx)(M,{className:a(k,"k-button-icon"),icon:c}),N?(0,xe.jsxs)(xe.Fragment,{children:[N&&(0,xe.jsx)("span",{className:"k-button-text",children:N}),e.children]}):e.children&&(0,xe.jsx)("span",{className:"k-button-text",children:e.children}),l&&(0,xe.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,xe.jsx)(M,{icon:p})})]})};v.states=qs;v.options=Ws;v.className=bo;v.defaultOptions=et;var Nr=require("react/jsx-runtime"),j=e=>(0,Nr.jsx)(v,{icon:"folder",...e,children:void 0});var vr=require("react/jsx-runtime"),q=e=>(0,vr.jsx)(v,{icon:"folder",children:"Button",...e});var Ys=require("react/jsx-runtime");var Qs=require("react/jsx-runtime");var $o=require("react/jsx-runtime"),Xt="k-avatar";var Zs=[r.hover,r.focus,r.active,r.selected,r.disabled],js={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark,m.inverse]},tt={type:"text",size:n.medium,rounded:f.full,fillMode:d.solid,themeColor:m.primary,border:!1},kt=e=>{let{size:t=tt.size,rounded:o=tt.rounded,fillMode:s=tt.fillMode,themeColor:i=tt.themeColor,type:l=tt.type,border:p=tt.border,...u}=e;return(0,$o.jsx)("div",{...u,className:a(e.className,Xt,C(Xt,{size:t,rounded:o,fillMode:s,themeColor:i}),{[`${Xt}-bordered`]:p}),children:(0,$o.jsx)("span",{className:`${Xt}-${l}`,children:e.children})})};kt.states=Zs;kt.options=js;kt.className=Xt;kt.defaultOptions=tt;var ei=require("react/jsx-runtime");var ti=require("react/jsx-runtime");var oi=require("react/jsx-runtime");var Te=require("react/jsx-runtime"),xo="k-chip",ai=[r.hover,r.focus,r.active,r.selected,r.disabled],ri={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.outline],themeColor:[m.base,m.success,m.warning,m.error,m.info]},St={size:n.medium,rounded:f.medium,fillMode:d.solid,themeColor:m.base,avatarImage:"/packages/html/assets/avatar.jpg"},ee=e=>{let{size:t=St.size,rounded:o=St.rounded,fillMode:s=St.fillMode,themeColor:i=St.themeColor,text:l,icon:p,actions:u,showAvatar:b,avatarImage:x=St.avatarImage,hover:h,focus:S,active:c,selected:N,disabled:k,...g}=e;return(0,Te.jsxs)("div",{...g,className:a(e.className,xo,C(xo,{size:t,rounded:o,fillMode:s,themeColor:i}),I(xo,{hover:h,focus:S,active:c,disabled:k,selected:N})),children:[p&&(0,Te.jsx)(M,{className:"k-chip-icon",icon:p,size:"small"}),b&&(0,Te.jsx)(kt,{className:"k-chip-avatar",type:"image",children:(0,Te.jsx)("img",{src:x})}),(0,Te.jsx)("span",{className:"k-chip-content",children:e.children?e.children:l&&(0,Te.jsx)("span",{className:"k-chip-label",children:l})}),u&&(0,Te.jsx)("span",{className:"k-chip-actions",children:u})]})};ee.states=ai;ee.options=ri;ee.className=xo;ee.defaultOptions=St;var Lr=require("react/jsx-runtime"),Vo="k-chip-list",ni=[],si={size:[n.small,n.medium,n.large]},Sr={size:n.medium},ot=e=>{let{size:t=Sr.size,...o}=e;return(0,Lr.jsx)("div",{...o,className:a(e.className,Vo,C(Vo,{size:t})),children:e.children})};ot.states=ni;ot.options=si;ot.className=Vo;ot.defaultOptions=Sr;var ii=require("react/jsx-runtime");var li=require("react/jsx-runtime");var pi=require("react/jsx-runtime");var mi=require("react/jsx-runtime");var _o=require("react/jsx-runtime");var gr=require("react/jsx-runtime"),Ft="k-button-group",di=[r.disabled],ui={fillMode:[d.solid,d.flat,d.outline,d.clear,d.link]},Cr={fillMode:d.solid},K=e=>{let{fillMode:t=Cr.fillMode,disabled:o,stretched:s,...i}=e;return(0,gr.jsx)("div",{...i,className:a(e.className,Ft,C(Ft,{fillMode:t}),I(Ft,{disabled:o}),{[`${Ft}-stretched`]:s}),children:e.children})};K.states=di;K.options=ui;K.className=Ft;K.defaultOptions=Cr;var Xo=require("react/jsx-runtime");var Fo=require("react/jsx-runtime");var Jo=require("react/jsx-runtime");var Uo=require("react/jsx-runtime");var Mr=require("react/jsx-runtime"),No="k-input",fi=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],bi={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},vo={size:n.medium,rounded:n.medium,fillMode:d.solid},P=e=>{let{hover:t,focus:o,disabled:s,invalid:i,valid:l,loading:p,readonly:u,size:b=vo.size,rounded:x=vo.rounded,fillMode:h=vo.fillMode,...S}=e;return(0,Mr.jsx)("span",{...S,className:a(e.className,No,C(No,{size:b,rounded:x,fillMode:h}),I(No,{hover:t,focus:o,disabled:s,invalid:i,valid:l,loading:p,readonly:u}))})};P.states=fi;P.options=bi;P.className=No;P.defaultOptions=vo;var Ir=require("react/jsx-runtime"),ko="k-picker",xi=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],hi={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},So={size:n.medium,rounded:f.medium,fillMode:d.solid},he=e=>{let{hover:t,focus:o,disabled:s,invalid:i,valid:l,loading:p,readonly:u,size:b=So.size,rounded:x=So.rounded,fillMode:h=So.fillMode,...S}=e;return(0,Ir.jsx)("span",{...S,className:a(e.className,ko,C(ko,{size:b,rounded:x,fillMode:h}),I(ko,{hover:t,focus:o,disabled:s,invalid:i,valid:l,loading:p,readonly:u})),children:e.children})};he.states=xi;he.options=hi;he.className=ko;he.defaultOptions=So;var Lt=require("react/jsx-runtime"),yr="k-clear-value",Ni=[r.disabled,r.loading,r.readonly],vi={},Ne=e=>{let{disabled:t,loading:o,readonly:s,value:i}=e;return t||s||o||!i?(0,Lt.jsx)(Lt.Fragment,{}):(0,Lt.jsx)("span",{className:a(e.className,yr),children:(0,Lt.jsx)(M,{icon:"x"})})};Ne.states=Ni;Ne.options=vi;Ne.className=yr;var Tr=require("react/jsx-runtime"),qo="k-input-inner",ki=[],Si={},Lo={type:"text",autocomplete:"off",value:"",placeholder:""},ve=e=>{let{value:t=Lo.value,type:o=Lo.type,placeholder:s=Lo.placeholder,autocomplete:i=Lo.autocomplete,...l}=e;return(0,Tr.jsx)("input",{...l,type:o,className:a(e.className,qo,C(qo,e)),placeholder:s,autoComplete:i,defaultValue:t})};ve.states=ki;ve.options=Si;ve.className=qo;var Jt=require("react/jsx-runtime"),Wo="k-input-inner",Li=[],Ci={},at=e=>{let{value:t,placeholder:o,showValue:s,valueIcon:i,valueIconName:l,...p}=e;return(0,Jt.jsxs)("span",{...p,className:a(e.className,Wo,C(Wo,e)),children:[i,!i&&l&&(0,Jt.jsx)(M,{className:"k-input-value-icon",icon:l}),s&&!t&&o,s&&t&&(0,Jt.jsx)("span",{className:"k-input-value-text",children:t})]})};at.states=Li;at.options=Ci;at.className=Wo;var Br=require("react/jsx-runtime"),Yo="k-input-inner",gi=[],Mi={},Ar={value:"",placeholder:""},Ut=e=>{let{value:t=Ar.value,placeholder:o=Ar.placeholder,rows:s,...i}=e;return(0,Br.jsx)("textarea",{...i,className:a(e.className,Yo,C(Yo,e)),placeholder:o,rows:s,defaultValue:t})};Ut.states=gi;Ut.options=Mi;Ut.className=Yo;var qt=require("react/jsx-runtime"),Pr="k-input-loading-icon",Ii=[r.disabled,r.loading],ne=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,qt.jsx)(qt.Fragment,{}):(0,qt.jsx)("span",{className:a(e.className,Pr,"k-icon k-i-loading")})};ne.states=Ii;ne.className=Pr;var Wt=require("react/jsx-runtime"),Er="k-input-validation-icon",yi=[r.valid,r.invalid,r.disabled,r.loading],Ti={},te=e=>{let{valid:t,invalid:o,disabled:s,loading:i}=e,l=o?"warning-circle":"check-circle";return s||i||!!!(t||o)?(0,Wt.jsx)(Wt.Fragment,{}):(0,Wt.jsx)(M,{className:a(Er),icon:l})};te.states=yi;te.options=Ti;te.className=Er;var Yt=require("react/jsx-runtime"),Ai="k-input-prefix",Bi={direction:"horizontal"},se=e=>{let{direction:t=Bi.direction,...o}=e;return e.children?(0,Yt.jsx)("span",{...o,className:a(Ai,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Yt.jsx)(Yt.Fragment,{})};var Qt=require("react/jsx-runtime"),Pi="k-input-suffix",Ei={direction:"horizontal"},ie=e=>{let{direction:t=Ei.direction,...o}=e;return e.children?(0,Qt.jsx)("span",{...o,className:a(Pi,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Qt.jsx)(Qt.Fragment,{})};var zi=require("react/jsx-runtime");var wi=require("react/jsx-runtime");var wr=require("react/jsx-runtime"),zr="k-input-separator",Oi={direction:"vertical"},le=e=>{let{direction:t=Oi.direction,...o}=e;return(0,wr.jsx)("span",{...o,className:a(zr,e.className,{[`${zr}-${t}`]:t})})};var Zt=require("react/jsx-runtime"),Or="k-color-preview",Ri=[],Ki={},Ke=e=>{let{color:t,iconName:o,...s}=e;return(0,Zt.jsxs)("span",{...s,className:a(e.className,Or,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,Zt.jsx)(M,{icon:o,className:"k-color-preview-icon"}),(0,Zt.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ke.states=Ri;Ke.options=Ki;Ke.className=Or;var Qo=require("react/jsx-runtime"),Rr="k-animation-container",Hi=[],Gi={},Kr={positionMode:"absolute"},He=e=>{let{positionMode:t=Kr.positionMode,animationStyle:o,offset:s,...i}=e;return(0,Qo.jsx)("div",{...i,style:{...s,...e.style},className:a(e.className,Rr,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,Qo.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};He.states=Hi;He.options=Gi;He.className=Rr;He.defaultOptions=Kr;var Zo=require("react/jsx-runtime"),Hr="k-popup",Di=[],$i={},Gr={positionMode:"absolute"},V=e=>{let{offset:t,positionMode:o=Gr.positionMode,animationStyle:s,...i}=e;return(0,Zo.jsx)(He,{positionMode:o,offset:t,animationStyle:s,children:(0,Zo.jsx)("div",{...i,className:a(e.className,Hr),children:e.children})})};V.states=Di;V.options=$i;V.className=Hr;V.defaultOptions=Gr;var $r=require("react/jsx-runtime"),Vi="k-actionsheet-footer",Dr={alignment:"stretched",orientation:"horizontal"},jt=e=>{let{alignment:t=Dr.alignment,orientation:o=Dr.orientation,template:s,as:i=s?"div":X,...l}=e;return(0,$r.jsx)(i,{...l,...!s&&{alignment:t,orientation:o},className:a(e.className,Vi),children:e.children})};var Ge=require("react/jsx-runtime"),Vr="k-searchbox",_i=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],Xi={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},jo={showIcon:!0,icon:"search",size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode},Ae=e=>{let{value:t,placeholder:o,size:s,rounded:i,fillMode:l,hover:p,focus:u,valid:b,invalid:x,required:h,loading:S,disabled:c,showIcon:N=jo.showIcon,icon:k=jo.icon,...g}=e;return(0,Ge.jsxs)(P,{...g,size:s,rounded:i,fillMode:l,hover:p,focus:u,valid:b,invalid:x,required:h,loading:S,disabled:c,className:a(e.className,Vr),children:[N&&(0,Ge.jsx)(M,{className:"k-input-icon",icon:k}),(0,Ge.jsx)(ve,{placeholder:o,value:t}),(0,Ge.jsx)(ne,{...e}),(0,Ge.jsx)(te,{...e}),(0,Ge.jsx)(Ne,{...e})]})};Ae.states=_i;Ae.options=Xi;Ae.className=Vr;Ae.defaultOptions=jo;var Fi=require("react/jsx-runtime");var W=require("react/jsx-runtime"),_r="k-textbox",Ji=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Ui={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},rt={showClearButton:!0,showValidationIcon:!0,size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,separators:!0},Be=e=>{let{size:t=rt.size,rounded:o=rt.rounded,fillMode:s=rt.fillMode,separators:i=rt.separators,showClearButton:l=rt.showClearButton,showValidationIcon:p=rt.showValidationIcon,prefix:u,suffix:b,type:x,value:h,placeholder:S,hover:c,focus:N,valid:k,invalid:g,required:A,loading:B,disabled:w,readonly:_,...Re}=e;return(0,W.jsxs)(P,{...Re,size:t,rounded:o,fillMode:s,hover:c,focus:N,valid:k,invalid:g,required:A,loading:B,disabled:w,readonly:_,className:a(e.className,_r),children:[u&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(se,{children:u}),i&&(0,W.jsx)(le,{})]}),(0,W.jsx)(ve,{placeholder:S,value:h,type:x}),p&&(0,W.jsx)(te,{valid:k,invalid:g,loading:B,disabled:w}),(0,W.jsx)(ne,{loading:B,disabled:w}),l&&(0,W.jsx)(Ne,{loading:B,disabled:w,readonly:_,value:h}),b&&(0,W.jsxs)(W.Fragment,{children:[i&&(0,W.jsx)(le,{}),(0,W.jsx)(ie,{children:b})]})]})};Be.states=Ji;Be.options=Ui;Be.className=_r;Be.defaultOptions=rt;var qi=require("react/jsx-runtime");var Fr=require("react/jsx-runtime");var Jr=require("react/jsx-runtime");var oe=require("react/jsx-runtime"),Ur="k-actionsheet-titlebar",Wi={},pe=e=>{let{title:t,subtitle:o,actionsStart:s,actionsEnd:i,filter:l,input:p,inputValue:u,inputPlaceholder:b,adaptive:x,children:h,...S}=e;return(0,oe.jsxs)("div",{...S,className:a(e.className,Ur),children:[(0,oe.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[s&&(0,oe.jsx)("div",{className:"k-actionsheet-actions",children:s}),!h&&(0,oe.jsxs)("div",{className:"k-actionsheet-title",children:[t&&(0,oe.jsx)("div",{className:"k-text-center",children:t}),o&&(0,oe.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),h&&(0,oe.jsx)("div",{className:"k-actionsheet-title",children:h}),i&&(0,oe.jsx)("div",{className:"k-actionsheet-actions",children:i})]}),(p||l)&&(0,oe.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:p?(0,oe.jsx)(Be,{value:u,placeholder:b,size:x?"large":"medium"}):(0,oe.jsx)(Ae,{placeholder:"Filter",size:x?"large":"medium"})})]})};pe.className=Ur;pe.defaultOptions=Wi;var Ct=require("react/jsx-runtime"),ea="k-actionsheet-view",Yi=[],Qi={},Zi={},gt=e=>{let{adaptive:t,animated:o,children:s,header:i,footer:l,...p}=e,u=(i==null?void 0:i.type)===pe&&(0,Ct.jsx)(pe,{adaptive:t,...i==null?void 0:i.props}),b=(l==null?void 0:l.type)===jt&&(0,Ct.jsx)(jt,{...l==null?void 0:l.props});return(0,Ct.jsxs)("div",{...p,className:a(e.className,ea,{[`${ea}-animated`]:o}),children:[u,(0,Ct.jsx)("div",{className:"k-actionsheet-content",children:s}),b]})};gt.states=Yi;gt.options=Qi;gt.className=ea;gt.defaultOptions=Zi;var nt=require("react/jsx-runtime"),qr="k-actionsheet",ji=[],el={},eo={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ke=e=>{let{side:t=eo.side,fullscreen:o=eo.fullscreen,adaptive:s=eo.adaptive,overlay:i=eo.overlay,template:l,children:p,header:u,footer:b,...x}=e;return(0,nt.jsxs)("div",{className:"k-actionsheet-container",children:[i&&(0,nt.jsx)("div",{className:"k-overlay"}),(0,nt.jsx)(He,{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,nt.jsx)("div",{...x,className:a(e.className,qr,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":s}),children:l||(0,nt.jsx)(gt,{header:u,footer:b,adaptive:s,...e,children:p})})})]})};ke.states=ji;ke.options=el;ke.className=qr;ke.defaultOptions=eo;var tl=require("react/jsx-runtime");var ce=require("react/jsx-runtime"),ta="k-actionsheet-item",ol=[r.hover,r.focus,r.selected,r.disabled],oa=e=>{let{iconName:t,text:o,description:s,hover:i,focus:l,selected:p,disabled:u,...b}=e;return(0,ce.jsxs)("span",{...b,className:a(e.className,ta,I(ta,{hover:i,focus:l,selected:p,disabled:u})),children:[!e.children&&(0,ce.jsx)(ce.Fragment,{children:(0,ce.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,ce.jsx)("span",{className:"k-icon-wrap",children:(0,ce.jsx)(M,{className:"k-actionsheet-item-icon",icon:t})}),(0,ce.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,ce.jsx)("span",{className:"k-actionsheet-item-title",children:o}),s&&(0,ce.jsx)("span",{className:"k-actionsheet-item-description",children:s})]})]})}),e.children]})};oa.states=ol;oa.className=ta;var Wr=require("react/jsx-runtime");var al=require("react/jsx-runtime");var rl=require("react/jsx-runtime");var nl=require("react/jsx-runtime");var Se=require("react/jsx-runtime"),to="k-slider",sl=[r.hover,r.focus,r.active,r.disabled,r.readonly],il={},De={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},me=e=>{let{type:t=De.type,orientation:o=De.orientation,readonly:s=De.readonly,disabled:i=De.disabled,handlePosition:l=De.handlePosition,showButtons:p=De.showButtons,showTicks:u=De.showTicks,hover:b,focus:x,active:h,trackStyle:S,dir:c,...N}=e,k,g;return o==="horizontal"?(k=c==="rtl"?"caret-alt-left":"caret-alt-right",g=c==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(k="caret-alt-up",g="caret-alt-down"),(0,Se.jsxs)("div",{...N,className:a(to,e.className,I(to,{readonly:s,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:c,children:[p&&(0,Se.jsx)(v,{className:"k-button-decrease",rounded:"full",icon:g}),(0,Se.jsxs)("div",{className:"k-slider-track-wrap",children:[u&&(0,Se.jsx)("ul",{className:"k-reset k-slider-items",children:e.children}),(0,Se.jsxs)("div",{className:"k-slider-track",style:S,children:[(0,Se.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,Se.jsx)("span",{className:a("k-draghandle","k-draghandle-start",I(to,{hover:b,focus:x,active:h}))}),(0,Se.jsx)("span",{className:a("k-draghandle",`k-draghandle-${l}`,I(to,{hover:b,focus:x,active:h}))})]})]}),p&&(0,Se.jsx)(v,{className:"k-button-increase",rounded:"full",icon:k})]})};me.states=sl;me.options=il;me.className=to;me.defaultOptions=De;var aa=require("react/jsx-runtime"),Qr="k-tick",ll=[],pl={},Zr={label:!1},$e=e=>{let{style:t,label:o=Zr.label,orientation:s,large:i,text:l,...p}=e;return(0,aa.jsx)("li",{...p,className:a(e.className,Qr,{[`k-tick-${s}`]:s,"k-tick-large":i}),style:t,children:o&&(0,aa.jsx)("span",{className:"k-label",children:l})})};$e.states=ll;$e.options=pl;$e.className=Qr;$e.defaultOptions=Zr;var ra=require("react/jsx-runtime");var na=require("react/jsx-runtime");var sa=require("react/jsx-runtime");var ia=require("react/jsx-runtime");var jr=require("react/jsx-runtime"),la=e=>(0,jr.jsx)(me,{type:"gradient",showButtons:!1,showTicks:!1,...e});var en=require("react/jsx-runtime"),pa=e=>(0,en.jsx)(me,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});var oo=require("react/jsx-runtime"),tn="k-spin-button",cl=[],ml={size:[n.small,n.medium,n.large],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link]},ca={size:n.medium,fillMode:d.solid},Mt=e=>{let{size:t=ca.size,fillMode:o=ca.fillMode,...s}=e;return(0,oo.jsxs)("span",{...s,className:a(tn,e.className),children:[(0,oo.jsx)(v,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),(0,oo.jsx)(v,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};Mt.states=cl;Mt.options=ml;Mt.className=tn;Mt.defaultOptions=ca;var F=require("react/jsx-runtime"),on="k-numerictextbox",dl=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],ul={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},st={showSpinButton:!0,showClearButton:!0,size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,separators:!0},G=e=>{let{size:t=st.size,rounded:o=st.rounded,fillMode:s=st.fillMode,separators:i=st.separators,showClearButton:l=st.showClearButton,showSpinButton:p=st.showSpinButton,prefix:u,suffix:b,value:x,placeholder:h,hover:S,focus:c,valid:N,invalid:k,required:g,loading:A,disabled:B,readonly:w,..._}=e;return(0,F.jsxs)(P,{..._,size:t,rounded:o,fillMode:s,hover:S,focus:c,valid:N,invalid:k,required:g,loading:A,disabled:B,readonly:w,className:a(e.className,on),children:[u&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(se,{children:u}),i&&(0,F.jsx)(le,{})]}),(0,F.jsx)(ve,{placeholder:h,value:x}),(0,F.jsx)(te,{valid:N,invalid:k,loading:A,disabled:B}),(0,F.jsx)(ne,{loading:A,disabled:B}),l&&(0,F.jsx)(Ne,{loading:A,disabled:B,readonly:w,value:x}),b&&(0,F.jsxs)(F.Fragment,{children:[i&&(0,F.jsx)(le,{}),(0,F.jsx)(ie,{children:b})]}),p&&(0,F.jsx)(Mt,{className:"k-input-spinner",size:t,fillMode:s})]})};G.states=dl;G.options=ul;G.className=on;G.defaultOptions=st;var fl=require("react/jsx-runtime");var rn=require("react/jsx-runtime"),bl="k-no-data",ao=e=>(0,rn.jsx)("span",{className:a(bl,e.className),children:e.children});var Ce=require("react/jsx-runtime"),ma="k-list",xl=[],hl={size:[n.small,n.medium,n.large]},nn={size:n.medium},O=e=>{let{size:t=nn.size,virtualization:o,children:s,optionLabel:i,customValue:l,screenReaders:p,...u}=e,b,x,h,S,c=[];return s?s.map((N,k)=>{N.type===J?(N.props.root===!0?(b=N.props.label,N.props.children.map((g,A)=>{c.push((0,Ce.jsx)(T,{...g.props},`optChild-${A}-${new Date().getTime()}`))})):N.props.children.forEach((g,A)=>{let B="";A===0&&(B=N.props.label),c.push((0,Ce.jsx)(T,{className:A===0?"k-first":"",...g.props,groupLabel:B},`groupLabel-${A}-${new Date().getTime()}`))}),x=(0,Ce.jsx)(J,{label:b,virtualization:o,children:c})):N.type===T&&(c.push((0,Ce.jsx)(T,{...N.props},`${N.type}-${k}`)),h=(0,Ce.jsx)(It,{virtualization:o,children:c}),p&&(S=(0,Ce.jsxs)(ao,{className:"k-sr-only",children:[c.length," items found."]})))}):S=(0,Ce.jsx)(ao,{children:"No data found."}),(0,Ce.jsxs)("div",{...u,className:a(e.className,ma,C(ma,{size:t}),{"k-virtual-list":o}),children:[i,l,x,h,S]})};O.states=xl;O.options=hl;O.className=ma;O.defaultOptions=nn;var ge=require("react/jsx-runtime"),da="k-list",Nl=[],vl={size:[n.small,n.medium,n.large]},sn={size:n.medium},it=e=>{let{size:t=sn.size,virtualization:o,children:s,...i}=e,l,p,u,b=[];return s?s.map((x,h)=>{x.type===J?(x.props.root===!0?(l=x.props.label,x.props.children.map((S,c)=>{b.push((0,ge.jsx)(T,{...S.props},`optChild-${c}-${new Date().getTime()}`))})):(b.push((0,ge.jsx)(ln,{...x.props,children:x.props.label},`listChild-${h}`)),x.props.children.map((S,c)=>{b.push((0,ge.jsx)(T,{...S.props},`fwOptChild-${c}-${new Date().getTime()}`))})),p=(0,ge.jsx)(J,{label:l,virtualization:o,children:b})):x.type===T&&(b.push((0,ge.jsx)(T,{...x.props},`${x.type}-${h}`)),u=(0,ge.jsx)(It,{virtualization:o,children:b}))}):u=(0,ge.jsx)(ao,{children:"No data found."}),(0,ge.jsxs)("div",{...i,className:a(e.className,da,C(da,{size:t}),{"k-virtual-list":o}),children:[p,u]})};it.states=Nl;it.options=vl;it.className=da;it.defaultOptions=sn;var fa=require("react/jsx-runtime"),Co="k-checkbox",kl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],Sl={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full]},ua={size:n.medium,rounded:f.medium},Ve=e=>{let{id:t,checked:o,indeterminate:s,hover:i,focus:l,disabled:p,invalid:u,valid:b,required:x,size:h=ua.size,rounded:S=ua.rounded,...c}=e;return(0,fa.jsx)("span",{className:"k-checkbox-wrap",children:(0,fa.jsx)("input",{...c,id:t,type:"checkbox",defaultChecked:o,required:x,className:a(e.className,Co,C(Co,{size:h,rounded:S}),I(Co,{hover:i,focus:l,disabled:p,invalid:u,valid:b,indeterminate:s,checked:o}))})})};Ve.states=kl;Ve.options=Sl;Ve.className=Co;Ve.defaultOptions=ua;var mn=require("react/jsx-runtime"),pn="k-checkbox-list",Ll=[],Cl={},cn={layout:"vertical"},yt=e=>{let{layout:t=cn.layout,...o}=e;return(0,mn.jsx)("ul",{...o,className:a(e.className,pn,{[`k-list-${t}`]:t}),children:e.children})};yt.states=Ll;yt.options=Cl;yt.className=pn;yt.defaultOptions=cn;var un=require("react/jsx-runtime"),dn="k-checkbox-list-item",gl=[],Ml={},Il={},Tt=e=>{let{...t}=e;return(0,un.jsx)("li",{...t,className:a(e.className,dn),children:e.children})};Tt.states=gl;Tt.options=Ml;Tt.className=dn;Tt.defaultOptions=Il;var xa=require("react/jsx-runtime");var ha=require("react/jsx-runtime");var Na=require("react/jsx-runtime");var va=require("react/jsx-runtime");var yl=require("react/jsx-runtime");var Tl=require("react/jsx-runtime");var lt=require("react/jsx-runtime"),ka="k-list-item",Al=[r.hover,r.focus,r.selected,r.disabled],Bl={},Pl={},T=e=>{let{text:t,groupLabel:o,group:s,showIcon:i,iconName:l,showCheckbox:p,checked:u,hover:b,focus:x,selected:h,disabled:S,...c}=e,N=t||e.children;return(0,lt.jsxs)("li",{...c,className:a(e.className,s?"k-list-group-item":ka,I(ka,{hover:b,focus:x,disabled:S,selected:h})),children:[p&&(0,lt.jsx)(Ve,{checked:u}),i&&(0,lt.jsx)(M,{icon:l}),(0,lt.jsx)("span",{className:"k-list-item-text",children:N}),o&&o!==""&&(0,lt.jsx)("div",{className:"k-list-item-group-label",children:o})]})};T.states=Al;T.options=Bl;T.className=ka;T.defaultOptions=Pl;var At=require("react/jsx-runtime"),El="k-list-content",It=e=>{let{virtualization:t,...o}=e;return(0,At.jsxs)("div",{...o,className:a(El,e.className),children:[(0,At.jsx)("ul",{className:a("k-list-ul"),children:e.children}),t&&(0,At.jsx)("div",{className:"k-height-container",children:(0,At.jsx)("div",{})})]})};var Sa=require("react/jsx-runtime"),zl="k-list-group-sticky-header",fn=e=>(0,Sa.jsx)("div",{className:a(zl,e.className),children:(0,Sa.jsx)("div",{className:"k-list-header-text",children:e.children})});var pt=require("react/jsx-runtime"),J=e=>{let{virtualization:t,label:o}=e;return(0,pt.jsxs)(pt.Fragment,{children:[o&&(0,pt.jsx)(fn,{children:o}),e.children&&(0,pt.jsx)(It,{virtualization:t,children:e.children})]})};var La=require("react/jsx-runtime"),wl="k-list-group-item",ln=e=>(0,La.jsx)("li",{className:a(wl,e.className),children:(0,La.jsx)("span",{className:"k-list-item-text",children:e.children})});var bn=require("react/jsx-runtime"),Ca="k-list-optionlabel",Ol=[r.hover,r.focus,r.selected,r.disabled],Rl={},Kl={},go=e=>{let{text:t,hover:o,focus:s,selected:i,disabled:l,...p}=e;return(0,bn.jsx)("div",{...p,className:a(Ca,I(Ca,{hover:o,focus:s,selected:i,disabled:l})),children:t})};go.states=Ol;go.options=Rl;go.className=Ca;go.defaultOptions=Kl;var xn=require("react/jsx-runtime"),ga="k-list-custom-value",Hl=[r.hover,r.focus,r.selected,r.disabled],Gl={},Dl={},_e=e=>{let{text:t,hover:o,focus:s,selected:i,disabled:l,...p}=e;return(0,xn.jsx)("div",{...p,className:a(ga,I(ga,{hover:o,focus:s,selected:i,disabled:l})),children:t})};_e.states=Hl;_e.options=Gl;_e.className=ga;_e.defaultOptions=Dl;var $l=require("react/jsx-runtime");var Vl=require("react/jsx-runtime");var hn=require("react/jsx-runtime");var Nn=require("react/jsx-runtime");var _l=require("react/jsx-runtime");var vn=require("react/jsx-runtime");var kn=require("react/jsx-runtime");var R=require("react/jsx-runtime"),Sn="k-dropdownlist",Xl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Fl={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Bt={showValue:!0,arrowIconName:"caret-alt-down",size:n.medium,rounded:f.medium,fillMode:d.solid},Xe=e=>{let{size:t=Bt.size,rounded:o=Bt.rounded,fillMode:s=Bt.fillMode,arrowIconName:i=Bt.arrowIconName,showValue:l=Bt.showValue,valueIconName:p,prefix:u,suffix:b,value:x,placeholder:h,hover:S,focus:c,valid:N,invalid:k,required:g,loading:A,disabled:B,readonly:w,popup:_,opened:Re,adaptive:Gt,adaptiveSettings:Dt,adaptiveTitle:wo,adaptiveSubtitle:Oo,adaptiveFilter:Ts,...As}=e;return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsxs)(he,{...As,size:t,rounded:o,fillMode:s,hover:S,focus:c,valid:N,invalid:k,required:g,loading:A,disabled:B,readonly:w,className:a(e.className,Sn,{"k-icon-picker":!l&&p}),children:[(0,R.jsx)(se,{children:u}),(0,R.jsx)(at,{placeholder:h,value:x,showValue:l,valueIconName:p}),(0,R.jsx)(te,{valid:N,invalid:k,loading:A,disabled:B}),(0,R.jsx)(ne,{loading:A,disabled:B}),(0,R.jsx)(ie,{children:b}),(0,R.jsx)(v,{className:"k-input-button",icon:i,rounded:null,size:e.size,fillMode:e.fillMode})]}),Re&&_&&(0,R.jsx)(V,{className:"k-list-container k-dropdownlist-popup",children:_}),Gt&&(0,R.jsx)(ke,{adaptive:!0,...Dt,header:(0,R.jsx)(pe,{actionsEnd:(0,R.jsx)(v,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Ts,inputValue:x,inputPlaceholder:h,title:wo,subtitle:Oo}),children:(0,R.jsx)("div",{className:"k-list-container",children:(0,R.jsxs)(O,{size:"large",children:[(0,R.jsx)(T,{text:"List item"}),(0,R.jsx)(T,{text:"List item"}),(0,R.jsx)(T,{text:"List item"})]})})})]})};Xe.states=Xl;Xe.options=Fl;Xe.className=Sn;Xe.defaultOptions=Bt;var Jl=require("react/jsx-runtime");var Ln=require("react/jsx-runtime");var Ma=require("react/jsx-runtime");var Ul=require("react/jsx-runtime");var Cn=require("react/jsx-runtime");var gn=require("react/jsx-runtime");var Ia=require("react/jsx-runtime");var ya=require("react/jsx-runtime");var Mn=require("react/jsx-runtime");var In=require("react/jsx-runtime");var L=require("react/jsx-runtime"),yn="k-colorgradient-inputs",ql=[],Wl={size:[n.small,n.medium,n.large]},Tn={mode:"rgba",size:n.medium},Pt=e=>{let{mode:t=Tn.mode,size:o,...s}=e;return(0,L.jsxs)("div",{...s,className:a(yn,"k-hstack"),children:[(0,L.jsx)("div",{className:"k-vstack",children:(0,L.jsx)(v,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),t==="rgba"&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,L.jsx)(L.Fragment,{children:(0,L.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,L.jsx)(Be,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Pt.states=ql;Pt.options=Wl;Pt.className=yn;Pt.defaultOptions=Tn;var Y=require("react/jsx-runtime"),An="k-colorgradient-color-contrast",Yl=[],Ql={},Zl={},Et=()=>(0,Y.jsxs)("div",{className:a(An,"k-vbox"),children:[(0,Y.jsxs)("div",{className:"k-contrast-ratio",children:[(0,Y.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,Y.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,Y.jsx)(M,{icon:"check"}),(0,Y.jsx)(M,{icon:"check"})]})]}),(0,Y.jsxs)("div",{children:[(0,Y.jsx)("span",{children:"AA: 4.5"}),(0,Y.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,Y.jsx)(M,{icon:"check"})]})]}),(0,Y.jsxs)("div",{children:[(0,Y.jsx)("span",{children:"AAA: 7.0"}),(0,Y.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,Y.jsx)(M,{icon:"x"})]})]})]});Et.states=Yl;Et.options=Ql;Et.className=An;Et.defaultOptions=Zl;var D=require("react/jsx-runtime"),Mo="k-colorgradient",jl=[r.hover,r.focus,r.readonly,r.disabled],ep={size:[n.small,n.medium,n.large]},Le={size:n.medium,mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},Fe=e=>{let{size:t=Le.size,mode:o=Le.mode,readonly:s=Le.readonly,disabled:i=Le.disabled,gradientStyle:l=Le.gradientStyle,dragHandleStyle:p=Le.dragHandleStyle,alphaStyle:u=Le.alphaStyle,alphaStyleHorizontal:b=Le.alphaStyleHorizontal,contrast:x=Le.contrast,dir:h,hover:S,focus:c,hoverHandle:N,focusHandle:k,canvasOrientation:g=Le.canvasOrientation,...A}=e;return(0,D.jsxs)("div",{...A,className:a(e.className,Mo,C(Mo,{size:t}),I(Mo,{hover:S,focus:c,readonly:s,disabled:i})),dir:h,children:[!g||g==="horizontal"&&(0,D.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,D.jsx)("div",{className:"k-hsv-rectangle",style:l,children:(0,D.jsx)("div",{className:"k-hsv-gradient",children:(0,D.jsx)("div",{className:a("k-hsv-draghandle","k-draghandle",{"k-hover":N,"k-focus":k}),style:p})})}),(0,D.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,D.jsx)(pa,{className:"k-hue-slider",hover:N,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,D.jsx)(pa,{className:"k-alpha-slider",hover:N,focus:k,trackStyle:u})]})]}),g==="vertical"&&(0,D.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,D.jsx)("div",{className:"k-hsv-rectangle",style:l,children:(0,D.jsx)("div",{className:"k-hsv-gradient",children:(0,D.jsx)("div",{className:a("k-hsv-draghandle","k-draghandle",{"k-hover":N,"k-focus":k}),style:p})})}),(0,D.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,D.jsx)(la,{className:"k-hue-slider",hover:N,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,D.jsx)(la,{className:"k-alpha-slider",hover:N,focus:k,trackStyle:b})]})]}),(0,D.jsx)(Pt,{mode:e.mode,size:t}),x&&(0,D.jsx)(Et,{})]})};Fe.states=jl;Fe.options=ep;Fe.className=Mo;Fe.defaultOptions=Le;var tp=require("react/jsx-runtime");var op=require("react/jsx-runtime");var Pn=require("react/jsx-runtime"),Bn=e=>(0,Pn.jsx)("tr",{children:e.children});var En=require("react/jsx-runtime"),Ta="k-colorpalette-tile",ap=[r.hover,r.focus,r.selected],rp={},ro=e=>{let{color:t,tileSize:o,hover:s,focus:i,selected:l,...p}=e,u={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,En.jsx)("td",{...p,className:a(e.className,Ta,I(Ta,{hover:s,focus:i,selected:l})),style:u})};ro.states=ap;ro.options=rp;ro.className=Ta;var zt=require("react/jsx-runtime"),Io="k-colorpalette",np=[r.disabled],sp={size:[n.small,n.medium,n.large]},Aa={columns:10,size:n.medium},wt=e=>{let{size:t=Aa.size,palette:o,columns:s=Aa.columns,tileSize:i,disabled:l,...p}=e,u=[];if(o){let b=s||o.columns,x=o.colors?o.colors:o;Array.isArray(x)&&Array.from({length:Math.ceil(x.length/b)},(h,S)=>{let c=[];x.slice(S*b,(S+1)*b).map((k,g)=>{c.push((0,zt.jsx)(ro,{color:k,tileSize:i},g))});let N=(0,zt.jsx)(Bn,{children:c},S);u.push(N)})}return(0,zt.jsx)("div",{...p,className:a(e.className,Io,I(Io,{disabled:l}),C(Io,{size:t})),children:(0,zt.jsx)("table",{className:"k-colorpalette-table",children:(0,zt.jsx)("tbody",{children:u.length>0?u:e.children})})})};wt.states=np;wt.options=sp;wt.className=Io;wt.defaultOptions=Aa;var Ba={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 ip=require("react/jsx-runtime");var H=require("react/jsx-runtime"),yo="k-coloreditor",lp=[r.focus],pp={size:[n.small,n.medium,n.large]},Ot={size:n.medium,view:"gradient",palette:Ba.office,actionButtons:!0,canvasOrientation:"horizontal"},Me=e=>{let{size:t=Ot.size,view:o=Ot.view,palette:s=Ot.palette,color:i,currentColor:l,focus:p,focusView:u,dir:b,group:x,actionButtons:h=Ot.actionButtons,canvasOrientation:S=Ot.canvasOrientation,...c}=e;return(0,H.jsxs)("div",{...c,className:a(e.className,"k-flatcolorpicker",yo,C(yo,{size:t}),I(yo,{focus:p})),dir:b,children:[(0,H.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,H.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:x&&(0,H.jsxs)(K,{fillMode:"flat",children:[(0,H.jsx)(v,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),(0,H.jsx)(v,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),(0,H.jsx)("div",{className:"k-spacer"}),(0,H.jsxs)("div",{className:"k-coloreditor-header