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