@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 320 kB
JavaScript
var o=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?o(...t):typeof t=="object"?Object.keys(t).map((a,r)=>t[r]||t[a]&&a||null).filter(a=>a!==null).join(" "):t).filter(t=>!!t).join(" ");var C=(e,t)=>o({[`${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"}),h=(e,t)=>{let{valid:a,invalid:r,hover:s,focus:i,checked:n,active:p,selected:m,disabled:f,indeterminate:A,loading:v,empty:b,readonly:y,highlighted:E,...M}=t;return o({"k-valid":a,"k-invalid":r,"k-hover":s,"k-focus":i,"k-checked":n,"k-active":p,"k-selected":m,"k-disabled":f,"k-indeterminate":A&&!n,"k-loading":v,"k-empty":b,"k-readonly":y,"k-highlighted":E},Object.keys(M).reduce((w,I)=>(I.startsWith("k-")?w[I]=M[I]:w[`k-${I}`]=M[I],w),{}))};function Zc(e,t){if(!t)return{};let a=Array.isArray(t)?t:[t];return Object.fromEntries(a.map(r=>[`k-${r}`,!0]))}var d={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},x={small:"small",medium:"medium",large:"large",full:"full"},N={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},u={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},l={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"},Vt={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};import{jsx as WM}from"react/jsx-runtime";var ir="k-pane",GM=[],zM={},iu={resizable:!0,flex:!1},Ee=e=>{let{scrollable:t,flexBasis:a,flex:r=iu.flex,collapsible:s,resizable:i=iu.resizable,pinned:n,unpinned:p,tabbed:m,...f}=e;return WM("div",{...f,style:{flexBasis:a,...e.style},className:o(e.className,ir,{[`${ir}-static`]:a,[`${ir}-flex`]:r,"k-scrollable":t,[`${ir}-pinned`]:n,[`${ir}-unpinned`]:p,[`${ir}-tabbed`]:m}),children:e.children})};Ee.states=GM;Ee.options=zM;Ee.className=ir;Ee.defaultOptions=iu;import{Fragment as ZM,jsx as qx}from"react/jsx-runtime";var nu="k-font-icon",QM=[],VM={size:[d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},XM={},Nn=e=>{let{size:t,themeColor:a,icon:r,rotate:s,flip:i,...n}=e;return r?qx("span",{...n,className:o(e.className,nu,C(nu,{size:t}),{[`k-i-${r}`]:r,[`k-color-${a}`]:a,[`k-rotate-${s}`]:s,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"})}):qx(ZM,{})};Nn.states=QM;Nn.options=VM;Nn.className=nu;Nn.defaultOptions=XM;var _x=Nn;import{Fragment as jM,jsx as Jc}from"react/jsx-runtime";var du="k-svg-icon",JM=[],UM={size:[d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},$x={viewBox:"0 0 24 24"},An=e=>{let{size:t,themeColor:a,rotate:r,flip:s,viewBox:i=$x.viewBox,icon:n,...p}=e;if(!n)return Jc(jM,{});n==="none"&&{...p,className:o(e.className,du,"k-none")};let m=typeof n=="object"&&n.name&&n.name;return Jc("span",{...p,className:o(e.className,du,C("k-icon",{size:t}),{[`k-svg-i-${m}`]:m,[`k-color-${a}`]:a,[`k-rotate-${r}`]:r,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),children:Jc("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof n=="object"?n.viewBox:i,dangerouslySetInnerHTML:typeof n=="object"?{__html:n.content}:void 0,children:n?void 0:e.children})})};An.states=JM;An.options=UM;An.className=du;An.defaultOptions=$x;var cu=An;import*as pu from"@progress/kendo-svg-icons";var eg="icon",tg="icons";import{Fragment as og,jsx as vn}from"react/jsx-runtime";var Uc="k-icon",qM=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),_M=[],$M={size:[d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},mu={viewBox:"0 0 24 24",type:"svg"},g=e=>{let{size:t,themeColor:a,icon:r,type:s=mu.type,rotate:i,flip:n,viewBox:p=mu.viewBox,...m}=e;if(!r)return vn(og,{});if(s==="svg"){if(r==="none")return vn(cu,{...m,className:o(e.className,Uc),icon:r,size:t});let f=pu[r]?r:qM(`${r}-icon`);return pu[f]?vn(cu,{...m,className:o(e.className,Uc),icon:pu[f],size:t,themeColor:a,rotate:i,flip:n,viewBox:p}):vn(og,{})}return vn(_x,{...m,className:o(e.className,Uc),icon:r,size:t,themeColor:a,rotate:i,flip:n})};g.states=_M;g.options=$M;g.defaultOptions=mu;g.className=Uc;g.moduleName=eg;g.folderName=tg;var uu=g;import{Fragment as ag,jsx as nr,jsxs as ow}from"react/jsx-runtime";var ks="k-splitbar",ew=[l.hover,l.focus],tw={},fu={orientation:"horizontal",draggable:!0},ol=e=>{let{hover:t,focus:a,orientation:r=fu.orientation,draggable:s=fu.draggable,collapsePrev:i,collapseNext:n,...p}=e;return ow("div",{...p,className:o(e.className,ks,h(ks,{hover:t,focus:a}),{[`${ks}-${r}`]:r,[`${ks}-draggable-${r}`]:s,[`${ks}-static-${r}`]:!s&&!i&&!n}),children:[i&&nr(ag,{children:nr("div",{className:"k-collapse-prev",children:nr(g,{icon:`caret-alt-${r==="horizontal"?"left":"up"}`,size:"xsmall"})})}),nr("div",{className:"k-resize-handle"}),n&&nr(ag,{children:nr("div",{className:"k-collapse-next",children:nr(g,{icon:`caret-alt-${r==="horizontal"?"right":"down"}`,size:"xsmall"})})})]})};ol.states=ew;ol.options=tw;ol.className=ks;ol.defaultOptions=fu;var ku="splitter",lg=ku;import{jsx as rg}from"react/jsx-runtime";import{createElement as lw}from"react";var hu="k-splitter",aw={},sg={orientation:"horizontal"},lt=e=>{let{orientation:t=sg.orientation,children:a,...r}=e,s=[];return a&&Array.isArray(a)&&a.map((i,n)=>{if(i.type===Ee){let p=a[n+1],m=i.props,f=p?.props;s.push(lw(Ee,{...m,key:n}),p&&rg(ol,{draggable:m.resizable!==!1&&f.resizable!==!1,collapsePrev:m.collapsible,collapseNext:f.collapsible,orientation:t},`splitbar-${n}`))}else s.push(i)}),rg("div",{...r,className:o(e.className,hu,{[`${hu}-${t}`]:t},"k-splitter-flex"),children:s})};lt.options=aw;lt.className=hu;lt.defaultOptions=sg;lt.moduleName=ku;lt.folderName=lg;import{jsx as aQ,jsxs as lQ}from"react/jsx-runtime";import{jsx as nQ,jsxs as dQ}from"react/jsx-runtime";var xu="button",ig=xu;import{Fragment as nw,jsx as Tn,jsxs as ng}from"react/jsx-runtime";var yn="k-button",rw=["icon-button"],sw=[l.hover,l.focus,l.active,l.selected,l.disabled,l.generating],iw={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},dr={size:d.medium,rounded:x.medium,fillMode:N.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},c=e=>{let{size:t=dr.size,rounded:a=dr.rounded,fillMode:r=dr.fillMode,themeColor:s=dr.themeColor,showArrow:i=dr.showArrow,arrowIconName:n=dr.arrowIconName,variant:p,hover:m,focus:f,active:A,selected:v,disabled:b,icon:y,text:E,iconClassName:M,...w}=e,I=y!==void 0,P=e.children!==void 0;return ng("button",{...w,className:o(e.className,yn,Zc(yn,p),C(yn,{size:t,rounded:a,fillMode:r,themeColor:s}),h(yn,{hover:m,focus:f,active:A,disabled:b,selected:v}),{"k-icon-button":!E&&!P&&I}),children:[y&&Tn(g,{className:o(M,"k-button-icon"),icon:y}),E?ng(nw,{children:[E&&Tn("span",{className:"k-button-text",children:E}),e.children]}):e.children&&Tn("span",{className:"k-button-text",children:e.children}),i&&Tn("span",{className:"k-menu-button-arrow k-button-arrow",children:Tn(g,{icon:n})})]})};c.states=sw;c.options=iw;c.variants=rw;c.className=yn;c.defaultOptions=dr;c.moduleName=xu;c.folderName=ig;import{jsx as dw}from"react/jsx-runtime";var Ze=e=>dw(c,{icon:"folder",...e,children:void 0});import{jsx as cw}from"react/jsx-runtime";var So=e=>cw(c,{icon:"folder",children:"Button",...e});import{jsx as IQ}from"react/jsx-runtime";var gu="button",dg=gu;import{jsx as uw}from"react/jsx-runtime";var En="k-button-group",pw=[l.disabled],mw={fillMode:[N.solid,N.flat,N.outline,N.clear,N.link]},cg={fillMode:N.solid},B=e=>{let{fillMode:t=cg.fillMode,disabled:a,stretched:r,...s}=e;return uw("div",{...s,className:o(e.className,En,C(En,{fillMode:t}),h(En,{disabled:a}),{[`${En}-stretched`]:r}),children:e.children})};B.states=pw;B.options=mw;B.className=En;B.defaultOptions=cg;B.moduleName=gu;B.folderName=dg;import{Fragment as ZQ,jsx as XQ,jsxs as JQ}from"react/jsx-runtime";import{Fragment as eV,jsx as $Q,jsxs as tV}from"react/jsx-runtime";import{Fragment as iV,jsx as sV,jsxs as nV}from"react/jsx-runtime";import{Fragment as fV,jsx as uV,jsxs as kV}from"react/jsx-runtime";var Cn="input",jc=Cn;import{jsx as hw}from"react/jsx-runtime";var qc="k-input",fw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],kw={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},_c={size:d.medium,rounded:d.medium,fillMode:N.solid},L=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p,size:m=_c.size,rounded:f=_c.rounded,fillMode:A=_c.fillMode,...v}=e;return hw("span",{...v,className:o(e.className,qc,C(qc,{size:m,rounded:f,fillMode:A}),h(qc,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p}))})};L.states=fw;L.options=kw;L.className=qc;L.defaultOptions=_c;L.moduleName=Cn;L.folderName=jc;import{jsx as bw}from"react/jsx-runtime";var $c="k-picker",xw=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],gw={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},ep={size:d.medium,rounded:x.medium,fillMode:N.solid},Nt=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p,size:m=ep.size,rounded:f=ep.rounded,fillMode:A=ep.fillMode,...v}=e;return bw("span",{...v,className:o(e.className,$c,C($c,{size:m,rounded:f,fillMode:A}),h($c,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:p})),children:e.children})};Nt.states=xw;Nt.options=gw;Nt.className=$c;Nt.defaultOptions=ep;Nt.moduleName=Cn;Nt.folderName=jc;import{Fragment as vw,jsx as bu}from"react/jsx-runtime";var pg="k-clear-value",Nw=[l.disabled,l.loading,l.readonly],Aw={},oe=e=>{let{disabled:t,loading:a,readonly:r,value:s}=e;return t||r||a||!s?bu(vw,{}):bu("span",{className:o(e.className,pg),children:bu(g,{icon:"x"})})};oe.states=Nw;oe.options=Aw;oe.className=pg;import{jsx as Ew}from"react/jsx-runtime";var Nu="k-input-inner",Tw=[],yw={},tp={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=tp.value,type:a=tp.type,placeholder:r=tp.placeholder,autocomplete:s=tp.autocomplete,...i}=e;return Ew("input",{...i,type:a,className:o(e.className,Nu,C(Nu,e)),placeholder:r,autoComplete:s,defaultValue:t})};ce.states=Tw;ce.options=yw;ce.className=Nu;import{jsx as mg,jsxs as ww}from"react/jsx-runtime";var Au="k-input-inner",Cw=[],Mw={},Sa=e=>{let{value:t,placeholder:a,showValue:r,valueIcon:s,valueIconName:i,...n}=e;return ww("span",{...n,className:o(e.className,Au,C(Au,e)),children:[s,!s&&i&&mg(g,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&mg("span",{className:"k-input-value-text",children:t})]})};Sa.states=Cw;Sa.options=Mw;Sa.className=Au;import{jsx as Iw}from"react/jsx-runtime";var vu="k-input-inner",Lw=[],Sw={},ug={value:"",placeholder:""},Mn=e=>{let{value:t=ug.value,placeholder:a=ug.placeholder,rows:r,...s}=e;return Iw("textarea",{...s,className:o(e.className,vu,C(vu,e)),placeholder:a,rows:r,defaultValue:t})};Mn.states=Lw;Mn.options=Sw;Mn.className=vu;import{Fragment as Pw,jsx as fg}from"react/jsx-runtime";var kg="k-input-loading-icon",Bw=[l.disabled,l.loading],j=e=>{let{disabled:t,loading:a}=e;return t||!a?fg(Pw,{}):fg("span",{className:o(e.className,kg,"k-icon k-i-loading")})};j.states=Bw;j.className=kg;import{Fragment as Kw,jsx as hg}from"react/jsx-runtime";var xg="k-input-validation-icon",Dw=[l.valid,l.invalid,l.disabled,l.loading],Rw={},J=e=>{let{valid:t,invalid:a,disabled:r,loading:s}=e,i=a?"warning-circle":"check-circle";return r||s||!!!(t||a)?hg(Kw,{}):hg(g,{className:o(xg),icon:i})};J.states=Dw;J.options=Rw;J.className=xg;import{Fragment as Hw,jsx as gg}from"react/jsx-runtime";var Yw="k-input-prefix",Ow={direction:"horizontal"},$=e=>{let{direction:t=Ow.direction,...a}=e;return e.children?gg("span",{...a,className:o(Yw,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):gg(Hw,{})};import{Fragment as zw,jsx as bg}from"react/jsx-runtime";var Fw="k-input-suffix",Gw={direction:"horizontal"},ee=e=>{let{direction:t=Gw.direction,...a}=e;return e.children?bg("span",{...a,className:o(Fw,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):bg(zw,{})};import{jsx as i6}from"react/jsx-runtime";import{jsx as p6}from"react/jsx-runtime";import{jsx as Qw}from"react/jsx-runtime";var Ng="k-input-separator",Ww={direction:"vertical"},Se=e=>{let{direction:t=Ww.direction,...a}=e;return Qw("span",{...a,className:o(Ng,e.className,{[`${Ng}-${t}`]:t})})};import{jsx as Ag,jsxs as Zw}from"react/jsx-runtime";var vg="k-color-preview",Vw=[],Xw={},al=e=>{let{color:t,iconName:a,...r}=e;return Zw("span",{...r,className:o(e.className,vg,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&Ag(g,{icon:a,className:"k-color-preview-icon"}),Ag("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};al.states=Vw;al.options=Xw;al.className=vg;var Tu="popup",Tg=Tu;import{jsx as yg}from"react/jsx-runtime";var Eg="k-animation-container",Jw=[],Uw={},Cg={positionMode:"absolute"},Zo=e=>{let{positionMode:t=Cg.positionMode,animationStyle:a,offset:r,...s}=e;return yg("div",{...s,style:{...r,...e.style},className:o(e.className,Eg,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:yg("div",{className:"k-child-animation-container",style:a,children:e.children})})};Zo.states=Jw;Zo.options=Uw;Zo.className=Eg;Zo.defaultOptions=Cg;Zo.moduleName=Tu;Zo.folderName=Tg;var yu="popup",Mg=yu;import{jsx as wg}from"react/jsx-runtime";var Lg="k-popup",jw=[],qw={},Sg={positionMode:"absolute"},H=e=>{let{offset:t,positionMode:a=Sg.positionMode,animationStyle:r,...s}=e;return wg(Zo,{positionMode:a,offset:t,animationStyle:r,children:wg("div",{...s,className:o(e.className,Lg),children:e.children})})};H.states=jw;H.options=qw;H.className=Lg;H.defaultOptions=Sg;H.moduleName=yu;H.folderName=Mg;var Eu="action-buttons",Ig=Eu;import{jsx as eL}from"react/jsx-runtime";var op="k-actions",_w=[],$w={},Cu={alignment:"start",orientation:"horizontal"},Q=e=>{let{alignment:t=Cu.alignment,orientation:a=Cu.orientation,...r}=e;return eL("div",{...r,className:o(op,{[`${op}-${t}`]:t,[`${op}-${a}`]:a},e.className),children:e.children})};Q.states=_w;Q.options=$w;Q.className=op;Q.defaultOptions=Cu;Q.moduleName=Eu;Q.folderName=Ig;var Bg=Q;import{jsx as oL}from"react/jsx-runtime";var tL="k-actionsheet-footer",Pg={alignment:"stretched",orientation:"horizontal"},Io=e=>{let{alignment:t=Pg.alignment,orientation:a=Pg.orientation,template:r,as:s=r?"div":Q,...i}=e;return oL(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,tL),children:e.children})};var Mu="searchbox",Dg=Mu;import{jsx as wn,jsxs as rL}from"react/jsx-runtime";var Rg="k-searchbox",aL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],lL={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},wu={showIcon:!0,icon:"search",size:L.defaultOptions.size,rounded:L.defaultOptions.rounded,fillMode:L.defaultOptions.fillMode},Je=e=>{let{value:t,placeholder:a,size:r,rounded:s,fillMode:i,hover:n,focus:p,valid:m,invalid:f,required:A,loading:v,disabled:b,showIcon:y=wu.showIcon,icon:E=wu.icon,...M}=e;return rL(L,{...M,size:r,rounded:s,fillMode:i,hover:n,focus:p,valid:m,invalid:f,required:A,loading:v,disabled:b,className:o(e.className,Rg),children:[y&&wn(g,{className:"k-input-icon",icon:E}),wn(ce,{placeholder:a,value:t}),wn(j,{...e}),wn(J,{...e}),wn(oe,{...e})]})};Je.states=aL;Je.options=lL;Je.className=Rg;Je.defaultOptions=wu;Je.moduleName=Mu;Je.folderName=Dg;import{jsx as g3}from"react/jsx-runtime";var Lu="textbox",Kg=Lu;import{Fragment as Yg,jsx as ll,jsxs as Su}from"react/jsx-runtime";var Og="k-textbox",sL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],iL={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},cr={showClearButton:!0,showValidationIcon:!0,size:L.defaultOptions.size,rounded:L.defaultOptions.rounded,fillMode:L.defaultOptions.fillMode,separators:!0},U=e=>{let{size:t=cr.size,rounded:a=cr.rounded,fillMode:r=cr.fillMode,separators:s=cr.separators,showClearButton:i=cr.showClearButton,showValidationIcon:n=cr.showValidationIcon,prefix:p,suffix:m,type:f,value:A,placeholder:v,hover:b,focus:y,valid:E,invalid:M,required:w,loading:I,disabled:P,readonly:O,...W}=e;return Su(L,{...W,size:t,rounded:a,fillMode:r,hover:b,focus:y,valid:E,invalid:M,required:w,loading:I,disabled:P,readonly:O,className:o(e.className,Og),children:[p&&Su(Yg,{children:[ll($,{children:p}),s&&ll(Se,{})]}),ll(ce,{placeholder:v,value:A,type:f}),n&&ll(J,{valid:E,invalid:M,loading:I,disabled:P}),ll(j,{loading:I,disabled:P}),i&&ll(oe,{loading:I,disabled:P,readonly:O,value:A}),m&&Su(Yg,{children:[s&&ll(Se,{}),ll(ee,{children:m})]})]})};U.states=sL;U.options=iL;U.className=Og;U.defaultOptions=cr;U.moduleName=Lu;U.folderName=Kg;import{jsx as I3}from"react/jsx-runtime";import{Fragment as Y3,jsx as K3}from"react/jsx-runtime";import{Fragment as W3,jsx as z3}from"react/jsx-runtime";import{jsx as rl,jsxs as Iu}from"react/jsx-runtime";var Gg="k-actionsheet-titlebar",nL={},se=e=>{let{title:t,subtitle:a,actionsStart:r,actionsEnd:s,filter:i,input:n,inputValue:p,inputPlaceholder:m,adaptive:f,children:A,...v}=e;return Iu("div",{...v,className:o(e.className,Gg),children:[Iu("div",{className:"k-actionsheet-titlebar-group",children:[r&&rl("div",{className:"k-actionsheet-actions",children:r}),!A&&Iu("div",{className:"k-actionsheet-title",children:[t&&rl("div",{className:"k-text-center",children:t}),a&&rl("div",{className:"k-actionsheet-subtitle k-text-center",children:a})]}),A&&rl("div",{className:"k-actionsheet-title",children:A}),s&&rl("div",{className:"k-actionsheet-actions",children:s})]}),(n||i)&&rl("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:n?rl(U,{value:p,placeholder:m,size:f?"large":"medium"}):rl(Je,{placeholder:"Filter",size:f?"large":"medium"})})]})};se.className=Gg;se.defaultOptions=nL;import{jsx as Bu,jsxs as mL}from"react/jsx-runtime";var Pu="k-actionsheet-view",dL=[],cL={},pL={},hs=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...n}=e,p=s?.type===se&&Bu(se,{adaptive:t,...s?.props}),m=i?.type===Io&&Bu(Io,{...i?.props});return mL("div",{...n,className:o(e.className,Pu,{[`${Pu}-animated`]:a}),children:[p,Bu("div",{className:"k-actionsheet-content",children:r}),m]})};hs.states=dL;hs.options=cL;hs.className=Pu;hs.defaultOptions=pL;var Ln="action-sheet",ap=Ln;import{jsx as lp,jsxs as kL}from"react/jsx-runtime";var zg="k-actionsheet",uL=[],fL={},Sn={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ae=e=>{let{side:t=Sn.side,fullscreen:a=Sn.fullscreen,adaptive:r=Sn.adaptive,overlay:s=Sn.overlay,template:i,children:n,header:p,footer:m,...f}=e;return kL("div",{className:"k-actionsheet-container",children:[s&&lp("div",{className:"k-overlay"}),lp(Zo,{animationStyle:{[`${a===!0?"top":t}`]:0,[`${a===!0?"width":null}`]:"100%",[`${a===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:lp("div",{...f,className:o(e.className,zg,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||lp(hs,{header:p,footer:m,adaptive:r,...e,children:n})})})]})};ae.states=uL;ae.options=fL;ae.className=zg;ae.defaultOptions=Sn;ae.moduleName=Ln;ae.folderName=ap;import{jsx as bL}from"react/jsx-runtime";var Wg="k-actionsheet-container",hL=[],xL={},gL={},xs=e=>{let{children:t,...a}=e;return bL("div",{...a,className:Wg,children:t})};xs.states=hL;xs.options=xL;xs.className=Wg;xs.defaultOptions=gL;xs.moduleName=Ln;xs.folderName=ap;import{jsx as gX}from"react/jsx-runtime";import{Fragment as AL,jsx as In,jsxs as Du}from"react/jsx-runtime";var Ru="k-actionsheet-item",NL=[l.hover,l.focus,l.selected,l.disabled],Ku=e=>{let{iconName:t,text:a,description:r,hover:s,focus:i,selected:n,disabled:p,...m}=e;return Du("span",{...m,className:o(e.className,Ru,h(Ru,{hover:s,focus:i,selected:n,disabled:p})),children:[!e.children&&In(AL,{children:Du("span",{className:"k-actionsheet-action",children:[t&&In("span",{className:"k-icon-wrap",children:In(g,{className:"k-actionsheet-item-icon",icon:t})}),Du("span",{className:"k-actionsheet-item-text",children:[a&&In("span",{className:"k-actionsheet-item-title",children:a}),r&&In("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};Ku.states=NL;Ku.className=Ru;import{jsx as MX,jsxs as wX}from"react/jsx-runtime";import{jsx as BX}from"react/jsx-runtime";import{jsx as KX}from"react/jsx-runtime";import{jsx as FX}from"react/jsx-runtime";var Yu="slider",Vg=Yu;import{jsx as gs,jsxs as Ou}from"react/jsx-runtime";var Bn="k-slider",vL=[l.hover,l.focus,l.active,l.disabled,l.readonly],TL={},sl={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},At=e=>{let{type:t=sl.type,orientation:a=sl.orientation,readonly:r=sl.readonly,disabled:s=sl.disabled,handlePosition:i=sl.handlePosition,showButtons:n=sl.showButtons,showTicks:p=sl.showTicks,hover:m,focus:f,active:A,trackStyle:v,dir:b,...y}=e,E,M;return a==="horizontal"?(E=b==="rtl"?"caret-alt-left":"caret-alt-right",M=b==="rtl"?"caret-alt-right":"caret-alt-left"):a==="vertical"&&(E="caret-alt-up",M="caret-alt-down"),Ou("div",{...y,className:o(Bn,e.className,h(Bn,{readonly:r,disabled:s}),{[`k-slider-${a}`]:a,"k-colorgradient-slider":t==="gradient"}),dir:b,children:[n&&gs(c,{className:"k-button-decrease",rounded:"full",icon:M}),Ou("div",{className:"k-slider-track-wrap",children:[p&&gs("ul",{className:"k-reset k-slider-items",children:e.children}),Ou("div",{className:"k-slider-track",style:v,children:[gs("div",{className:"k-slider-selection"}),t==="range"&&gs("span",{className:o("k-draghandle","k-draghandle-start",h(Bn,{hover:m,focus:f,active:A}))}),gs("span",{className:o("k-draghandle",`k-draghandle-${i}`,h(Bn,{hover:m,focus:f,active:A}))})]})]}),n&&gs(c,{className:"k-button-increase",rounded:"full",icon:E})]})};At.states=vL;At.options=TL;At.className=Bn;At.defaultOptions=sl;At.moduleName=Yu;At.folderName=Vg;import{jsx as Xg}from"react/jsx-runtime";var Zg="k-tick",yL=[],EL={},Jg={label:!1},tt=e=>{let{style:t,label:a=Jg.label,orientation:r,large:s,text:i,...n}=e;return Xg("li",{...n,className:o(e.className,Zg,{[`k-tick-${r}`]:r,"k-tick-large":s}),style:t,children:a&&Xg("span",{className:"k-label",children:i})})};tt.states=yL;tt.options=EL;tt.className=Zg;tt.defaultOptions=Jg;import{Fragment as CL,jsx as co,jsxs as ML}from"react/jsx-runtime";var rp=e=>co(At,{children:ML(CL,{children:[co(tt,{className:"k-first",label:!0,large:!0,text:"0"}),co(tt,{}),co(tt,{}),co(tt,{}),co(tt,{}),co(tt,{label:!0,large:!0,text:"5"}),co(tt,{}),co(tt,{}),co(tt,{}),co(tt,{}),co(tt,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as kZ,jsx as fZ,jsxs as hZ}from"react/jsx-runtime";import{Fragment as AZ,jsx as NZ,jsxs as vZ}from"react/jsx-runtime";import{Fragment as MZ,jsx as CZ,jsxs as wZ}from"react/jsx-runtime";import{jsx as wL}from"react/jsx-runtime";var Hu=e=>wL(At,{type:"gradient",showButtons:!1,showTicks:!1,...e});import{jsx as LL}from"react/jsx-runtime";var Fu=e=>LL(At,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});import{jsx as Ug,jsxs as DL}from"react/jsx-runtime";var jg="k-spin-button",BL=[],PL={size:[d.small,d.medium,d.large],fillMode:[N.solid,N.flat,N.outline,N.clear,N.link]},Gu={size:d.medium,fillMode:N.solid},Jo=e=>{let{size:t=Gu.size,fillMode:a=Gu.fillMode,...r}=e;return DL("span",{...r,className:o(jg,e.className),children:[Ug(c,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:a}),Ug(c,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:a})]})};Jo.states=BL;Jo.options=PL;Jo.className=jg;Jo.defaultOptions=Gu;Jo.moduleName=null;Jo.folderName=null;var qg="numeric-textbox",_g="numerictextbox";import{Fragment as $g,jsx as Ia,jsxs as zu}from"react/jsx-runtime";var eb="k-numerictextbox",RL=[l.hover,l.focus,l.valid,l.invalid,l.loading,l.required,l.disabled,l.readonly],KL={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},pr={showSpinButton:!0,showClearButton:!0,size:L.defaultOptions.size,rounded:L.defaultOptions.rounded,fillMode:L.defaultOptions.fillMode,separators:!0},pe=e=>{let{size:t=pr.size,rounded:a=pr.rounded,fillMode:r=pr.fillMode,separators:s=pr.separators,showClearButton:i=pr.showClearButton,showSpinButton:n=pr.showSpinButton,prefix:p,suffix:m,value:f,placeholder:A,hover:v,focus:b,valid:y,invalid:E,required:M,loading:w,disabled:I,readonly:P,...O}=e;return zu(L,{...O,size:t,rounded:a,fillMode:r,hover:v,focus:b,valid:y,invalid:E,required:M,loading:w,disabled:I,readonly:P,className:o(e.className,eb),children:[p&&zu($g,{children:[Ia($,{children:p}),s&&Ia(Se,{})]}),Ia(ce,{placeholder:A,value:f}),Ia(J,{valid:y,invalid:E,loading:w,disabled:I}),Ia(j,{loading:w,disabled:I}),i&&Ia(oe,{loading:w,disabled:I,readonly:P,value:f}),m&&zu($g,{children:[s&&Ia(Se,{}),Ia(ee,{children:m})]}),n&&Ia(Jo,{className:"k-input-spinner",size:t,fillMode:r})]})};pe.states=RL;pe.options=KL;pe.className=eb;pe.defaultOptions=pr;pe.moduleName=qg;pe.folderName=_g;import{jsx as nJ}from"react/jsx-runtime";import{jsx as OL}from"react/jsx-runtime";var YL="k-no-data",Pn=e=>OL("span",{className:o(YL,e.className),children:e.children});var Ba="list",il=Ba;import{jsx as bs,jsxs as ob}from"react/jsx-runtime";var Wu="k-list",HL=[],FL={size:[d.small,d.medium,d.large]},ab={size:d.medium},z=e=>{let{size:t=ab.size,virtualization:a,children:r,optionLabel:s,customValue:i,screenReaders:n,...p}=e,m,f,A,v,b=[];return r?r.map((y,E)=>{y.type===Ie?(y.props.root===!0?(m=y.props.label,y.props.children.map((M,w)=>{b.push(bs(D,{...M.props},`optChild-${w}-${new Date().getTime()}`))})):y.props.children.forEach((M,w)=>{let I="";w===0&&(I=y.props.label),b.push(bs(D,{className:w===0?"k-first":"",...M.props,groupLabel:I},`groupLabel-${w}-${new Date().getTime()}`))}),f=bs(Ie,{label:m,virtualization:a,children:b})):y.type===D&&(b.push(bs(D,{...y.props},`${y.type}-${E}`)),A=bs(Ns,{virtualization:a,children:b}),n&&(v=ob(Pn,{className:"k-sr-only",children:[b.length," items found."]})))}):v=bs(Pn,{children:"No data found."}),ob("div",{...p,className:o(e.className,Wu,C(Wu,{size:t}),{"k-virtual-list":a}),children:[s,i,f,A,v]})};z.states=HL;z.options=FL;z.className=Wu;z.defaultOptions=ab;z.moduleName=Ba;z.folderName=il;import{jsx as QL}from"react/jsx-runtime";var lb="k-list-container",GL=[],zL={},WL={},As=e=>{let{...t}=e;return QL("div",{...t,className:o(e.className,lb),children:e.children})};As.states=GL;As.options=zL;As.className=lb;As.defaultOptions=WL;As.moduleName=Ba;As.folderName=il;import{jsx as mr,jsxs as ZL}from"react/jsx-runtime";var Qu="k-list",VL=[],XL={size:[d.small,d.medium,d.large]},rb={size:d.medium},Pa=e=>{let{size:t=rb.size,virtualization:a,children:r,...s}=e,i,n,p,m=[];return r?r.map((f,A)=>{f.type===Ie?(f.props.root===!0?(i=f.props.label,f.props.children.map((v,b)=>{m.push(mr(D,{...v.props},`optChild-${b}-${new Date().getTime()}`))})):(m.push(mr(sb,{...f.props,children:f.props.label},`listChild-${A}`)),f.props.children.map((v,b)=>{m.push(mr(D,{...v.props},`fwOptChild-${b}-${new Date().getTime()}`))})),n=mr(Ie,{label:i,virtualization:a,children:m})):f.type===D&&(m.push(mr(D,{...f.props},`${f.type}-${A}`)),p=mr(Ns,{virtualization:a,children:m}))}):p=mr(Pn,{children:"No data found."}),ZL("div",{...s,className:o(e.className,Qu,C(Qu,{size:t}),{"k-virtual-list":a}),children:[n,p]})};Pa.states=VL;Pa.options=XL;Pa.className=Qu;Pa.defaultOptions=rb;Pa.moduleName=Ba;Pa.folderName=il;var ur="checkbox",vs=ur;import{jsx as ib}from"react/jsx-runtime";var sp="k-checkbox",JL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],UL={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full]},Vu={size:d.medium,rounded:x.medium},ot=e=>{let{id:t,checked:a,indeterminate:r,hover:s,focus:i,disabled:n,invalid:p,valid:m,required:f,size:A=Vu.size,rounded:v=Vu.rounded,...b}=e;return ib("span",{className:"k-checkbox-wrap",children:ib("input",{...b,id:t,type:"checkbox",defaultChecked:a,required:f,className:o(e.className,sp,C(sp,{size:A,rounded:v}),h(sp,{hover:s,focus:i,disabled:n,invalid:p,valid:m,indeterminate:r,checked:a}))})})};ot.states=JL;ot.options=UL;ot.className=sp;ot.defaultOptions=Vu;ot.moduleName=ur;ot.folderName=vs;import{jsx as _L}from"react/jsx-runtime";var nb="k-checkbox-list",jL=[],qL={},db={layout:"vertical"},nl=e=>{let{layout:t=db.layout,...a}=e;return _L("ul",{...a,className:o(e.className,nb,{[`k-list-${t}`]:t}),children:e.children})};nl.states=jL;nl.options=qL;nl.className=nb;nl.defaultOptions=db;nl.moduleName=ur;nl.folderName=vs;import{jsx as oS}from"react/jsx-runtime";var cb="k-checkbox-list-item",$L=[],eS={},tS={},dl=e=>{let{...t}=e;return oS("li",{...t,className:o(e.className,cb),children:e.children})};dl.states=$L;dl.options=eS;dl.className=cb;dl.defaultOptions=tS;dl.moduleName=ur;dl.folderName=vs;import{Fragment as JJ,jsx as ZJ,jsxs as UJ}from"react/jsx-runtime";import{Fragment as eU,jsx as $J,jsxs as tU}from"react/jsx-runtime";import{Fragment as sU,jsx as rU,jsxs as iU}from"react/jsx-runtime";import{Fragment as mU,jsx as pU,jsxs as uU}from"react/jsx-runtime";import{jsx as xU}from"react/jsx-runtime";import{jsx as AU}from"react/jsx-runtime";import{jsx as ip,jsxs as sS}from"react/jsx-runtime";var Zu="k-list-item",aS=[l.hover,l.focus,l.selected,l.disabled],lS={},rS={},D=e=>{let{text:t,groupLabel:a,group:r,showIcon:s,iconName:i,showCheckbox:n,checked:p,hover:m,focus:f,selected:A,disabled:v,...b}=e,y=t||e.children;return sS("li",{...b,className:o(e.className,r?"k-list-group-item":Zu,h(Zu,{hover:m,focus:f,disabled:v,selected:A})),children:[n&&ip(ot,{checked:p}),s&&ip(g,{icon:i}),ip("span",{className:"k-list-item-text",children:y}),a&&a!==""&&ip("div",{className:"k-list-item-group-label",children:a})]})};D.states=aS;D.options=lS;D.className=Zu;D.defaultOptions=rS;D.moduleName=Ba;D.folderName=il;import{jsx as Ju,jsxs as nS}from"react/jsx-runtime";var iS="k-list-content",Ns=e=>{let{virtualization:t,...a}=e;return nS("div",{...a,className:o(iS,e.className),children:[Ju("ul",{className:o("k-list-ul"),children:e.children}),t&&Ju("div",{className:"k-height-container",children:Ju("div",{})})]})};import{jsx as pb}from"react/jsx-runtime";var dS="k-list-group-sticky-header",mb=e=>pb("div",{className:o(dS,e.className),children:pb("div",{className:"k-list-header-text",children:e.children})});import{Fragment as cS,jsx as ub,jsxs as pS}from"react/jsx-runtime";var Ie=e=>{let{virtualization:t,label:a}=e;return pS(cS,{children:[a&&ub(mb,{children:a}),e.children&&ub(Ns,{virtualization:t,children:e.children})]})};import{jsx as fb}from"react/jsx-runtime";var mS="k-list-group-item",sb=e=>fb("li",{className:o(mS,e.className),children:fb("span",{className:"k-list-item-text",children:e.children})});import{jsx as hS}from"react/jsx-runtime";var Uu="k-list-optionlabel",uS=[l.hover,l.focus,l.selected,l.disabled],fS={},kS={},np=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...n}=e;return hS("div",{...n,className:o(Uu,h(Uu,{hover:a,focus:r,selected:s,disabled:i})),children:t})};np.states=uS;np.options=fS;np.className=Uu;np.defaultOptions=kS;import{jsx as NS}from"react/jsx-runtime";var ju="k-list-custom-value",xS=[l.hover,l.focus,l.selected,l.disabled],gS={},bS={},ct=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...n}=e;return NS("div",{...n,className:o(ju,h(ju,{hover:a,focus:r,selected:s,disabled:i})),children:t})};ct.states=xS;ct.options=gS;ct.className=ju;ct.defaultOptions=bS;import{jsx as r5}from"react/jsx-runtime";import{jsx as d5}from"react/jsx-runtime";import{jsx as u5,jsxs as f5}from"react/jsx-runtime";import{jsx as g5,jsxs as b5}from"react/jsx-runtime";import{jsx as T5}from"react/jsx-runtime";import{jsx as M5,jsxs as w5}from"react/jsx-runtime";import{jsx as B5,jsxs as P5}from"react/jsx-runtime";var kb="dropdown-list",hb="dropdownlist";import{Fragment as TS,jsx as St,jsxs as qu}from"react/jsx-runtime";var xb="k-dropdownlist",AS=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],vS={size:[d.small,d.medium,d.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[N.solid,N.flat,N.outline]},Ts={showValue:!0,arrowIconName:"caret-alt-down",size:d.medium,rounded:x.medium,fillMode:N.solid},te=e=>{let{size:t=Ts.size,rounded:a=Ts.rounded,fillMode:r=Ts.fillMode,arrowIconName:s=Ts.arrowIconName,showValue:i=Ts.showValue,valueIconName:n,prefix:p,suffix:m,value:f,placeholder:A,hover:v,focus:b,valid:y,invalid:E,required:M,loading:w,disabled:I,readonly:P,popup:O,opened:W,adaptive:Le,adaptiveSettings:et,adaptiveTitle:bt,adaptiveSubtitle:Lo,adaptiveFilter:sr,...fs}=e;return qu(TS,{children:[qu(Nt,{...fs,size:t,rounded:a,fillMode:r,hover:v,focus:b,valid:y,invalid:E,required:M,loading:w,disabled:I,readonly:P,className:o(e.className,xb,{"k-icon-picker":!i&&n}),children:[St($,{children:p}),St(Sa,{placeholder:A,value:f,showValue:i,valueIconName:n}),St(J,{valid:y,invalid:E,loading:w,disabled:I}),St(j,{loading:w,disabled:I}),St(ee,{children:m}),St(c,{className:"k-input-button",icon:s,rounded:null,size:e.size,fillMode:e.fillMode})]}),W&&O&&St(H,{className:"k-list-container k-dropdownlist-popup",children:O}),Le&&St(ae,{adaptive:!0,...et,header:St(se,{actionsEnd:St(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:sr,inputValue:f,inputPlaceholder:A,title:bt,subtitle:Lo}),children:St("div",{className:"k-list-container",children:qu(z,{size:"large",children:[St(D,{text:"List item"}),St(D,{text:"List item"}),St(D,{text:"List item"})]})})})]})};te.states=AS;te.options=vS;te.className=xb;te.defaultOptions=Ts;te.moduleName=kb;te.folderName=hb;import{jsx as m9}from"react/jsx-runtime";import{jsx as x9,jsxs as g9}from"react/jsx-runtime";import{Fragment as C9,jsx as y9,jsxs as E9}from"react/jsx-runtime";import{jsx as S9}from"react/jsx-runtime";import{jsx as R9,jsxs as K9}from"react/jsx-runtime";import{jsx as G9,jsxs as z9}from"react/jsx-runtime";import{Fragment as j9,jsx as J9,jsxs as U9}from"react/jsx-runtime";import{Fragment as lj,jsx as oj,jsxs as aj}from"react/jsx-runtime";import{Fragment as Nj,jsx as bj}from"react/jsx-runtime";import{Fragment as Mj,jsx as Cj}from"react/jsx-runtime";import{Fragment as Dn,jsx as q,jsxs as Ue}from"react/jsx-runtime";var gb="k-colorgradient-inputs",yS=[],ES={size:[d.small,d.medium,d.large]},bb={mode:"rgba",size:d.medium},ys=e=>{let{mode:t=bb.mode,size:a,...r}=e;return Ue("div",{...r,className:o(gb,"k-hstack"),children:[q("div",{className:"k-vstack",children:q(c,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:a})}),t==="rgba"&&Ue(Dn,{children:[Ue("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132",size:a}),q("label",{className:"k-colorgradient-input-label",children:"R"})]}),Ue("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132",size:a}),q("label",{className:"k-colorgradient-input-label",children:"G"})]}),Ue("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132",size:a}),q("label",{className:"k-colorgradient-input-label",children:"B"})]}),Ue("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:a}),q("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&Ue(Dn,{children:[Ue("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"R"})]}),Ue("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"G"})]}),Ue("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&Ue(Dn,{children:[Ue("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"H"})]}),Ue("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"S"})]}),Ue("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"V"})]}),Ue("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),q("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&Ue(Dn,{children:[Ue("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"H"})]}),Ue("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"S"})]}),Ue("div",{className:"k-vstack",children:[q(pe,{showSpinButton:!1,showClearButton:!1,value:"132"}),q("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&q(Dn,{children:Ue("div",{className:"k-vstack k-flex-1",children:[q(U,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),q("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};ys.states=yS;ys.options=ES;ys.className=gb;ys.defaultOptions=bb;import{jsx as kr,jsxs as hr}from"react/jsx-runtime";var Nb="k-colorgradient-color-contrast",CS=[],MS={},wS={},Es=()=>hr("div",{className:o(Nb,"k-vbox"),children:[hr("div",{className:"k-contrast-ratio",children:[kr("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),hr("span",{className:"k-contrast-validation !k-text-success",children:[kr(g,{icon:"check"}),kr(g,{icon:"check"})]})]}),hr("div",{children:[kr("span",{children:"AA: 4.5"}),hr("span",{className:"k-contrast-validation !k-text-success",children:["Pass",kr(g,{icon:"check"})]})]}),hr("div",{children:[kr("span",{children:"AAA: 7.0"}),hr("span",{className:"k-contrast-validation !k-text-error",children:["Fail",kr(g,{icon:"x"})]})]})]});Es.states=CS;Es.options=MS;Es.className=Nb;Es.defaultOptions=wS;var Ab="color-gradient",vb="colorgradient";import{jsx as po,jsxs as Rn}from"react/jsx-runtime";var dp="k-colorgradient",LS=[l.hover,l.focus,l.readonly,l.disabled],SS={size:[d.small,d.medium,d.large]},Bo={size:d.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"},Uo=e=>{let{size:t=Bo.size,mode:a=Bo.mode,readonly:r=Bo.readonly,disabled:s=Bo.disabled,gradientStyle:i=Bo.gradientStyle,dragHandleStyle:n=Bo.dragHandleStyle,alphaStyle:p=Bo.alphaStyle,alphaStyleHorizontal:m=Bo.alphaStyleHorizontal,contrast:f=Bo.contrast,dir:A,hover:v,focus:b,hoverHandle:y,focusHandle:E,canvasOrientation:M=Bo.canvasOrientation,...w}=e;return Rn("div",{...w,className:o(e.className,dp,C(dp,{size:t}),h(dp,{hover:v,focus:b,readonly:r,disabled:s})),dir:A,children:[!M||M==="horizontal"&&Rn("div",{className:"k-colorgradient-canvas k-hstack",children:[po("div",{className:"k-hsv-rectangle",style:i,children:po("div",{className:"k-hsv-gradient",children:po("div",{className:o("k-hsv-draghandle","k-draghandle",{"k-hover":y,"k-focus":E}),style:n})})}),Rn("div",{className:"k-hsv-controls k-hstack",children:[po(Fu,{className:"k-hue-slider",hover:y,focus:E}),a!=="rgb"&&a!=="hsv"&&po(Fu,{className:"k-alpha-slider",hover:y,focus:E,trackStyle:p})]})]}),M==="vertical"&&Rn("div",{className:"k-colorgradient-canvas k-vstack",children:[po("div",{className:"k-hsv-rectangle",style:i,children:po("div",{className:"k-hsv-gradient",children:po("div",{className:o("k-hsv-draghandle","k-draghandle",{"k-hover":y,"k-focus":E}),style:n})})}),Rn("div",{className:"k-hsv-controls k-vstack",children:[po(Hu,{className:"k-hue-slider",hover:y,focus:E}),a!=="rgb"&&a!=="hsv"&&po(Hu,{className:"k-alpha-slider",hover:y,focus:E,trackStyle:m})]})]}),po(ys,{mode:e.mode,size:t}),f&&po(Es,{})]})};Uo.states=LS;Uo.options=SS;Uo.className=dp;Uo.defaultOptions=Bo;Uo.moduleName=Ab;Uo.folderName=vb;import{jsx as e7}from"react/jsx-runtime";import{jsx as l7}from"react/jsx-runtime";import{jsx as IS}from"react/jsx-runtime";var Tb=e=>IS("tr",{children:e.children});import{jsx as DS}from"react/jsx-runtime";var _u="k-colorpalette-tile",BS=[l.hover,l.focus,l.selected],PS={},Kn=e=>{let{color:t,tileSize:a,hover:r,focus:s,selected:i,...n}=e,p={backgroundColor:t,width:a?a+"px":"",height:a?a+"px":""};return DS("td",{...n,className:o(e.className,_u,h(_u,{hover:r,focus:s,selected:i})),style:p})};Kn.states=BS;Kn.options=PS;Kn.className=_u;var yb="color-palette",Eb="colorpalette";import{jsx as Yn}from"react/jsx-runtime";var cp="k-colorpalette",RS=[l.disabled],KS={size:[d.small,d.medium,d.large]},$u={columns:10,size:d.medium},cl=e=>{let{size:t=$u.size,palette:a,columns:r=$u.columns,tileSize:s,disabled:i,...n}=e,p=[];if(a){let m=r||a.columns,f=a.colors?a.colors:a;Array.isArray(f)&&Array.from({length:Math.ceil(f.length/m)},(A,v)=>{let b=[];f.slice(v*m,(v+1)*m).map((E,M)=>{b.push(Yn(Kn,{color:E,tileSize:s},M))});let y=Yn(Tb,{children:b},v);p.push(y)})}return Yn("div",{...n,className:o(e.className,cp,h(cp,{disabled:i}),C(cp,{size:t})),children:Yn("table",{className:"k-colorpalette-table",children:Yn("tbody",{children:p.length>0?p:e.children})})})};cl.states=RS;cl.options=KS;cl.className=cp;cl.defaultOptions=$u;cl.moduleName=yb;cl.folderName=Eb;var ef={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}};import{jsx as L7}from"react/jsx-runtime";var Cb="color-editor",Mb="coloreditor";import{jsx as mo,jsxs as Cs}from"react/jsx-runtime";var pp="k-coloreditor",YS=[l.focus],OS={size:[d.small,d.medium,d.large]},Ms={size:d.medium,view:"gradient",palette:ef.office,ac