UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

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