UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 85 kB
var Gl=Object.create;var Wo=Object.defineProperty;var Ul=Object.getOwnPropertyDescriptor;var Fl=Object.getOwnPropertyNames;var $l=Object.getPrototypeOf,Vl=Object.prototype.hasOwnProperty;var Xl=(t,e)=>{for(var o in e)Wo(t,o,{get:e[o],enumerable:!0})},Aa=(t,e,o,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Fl(e))!Vl.call(t,i)&&i!==o&&Wo(t,i,{get:()=>e[i],enumerable:!(a=Ul(e,i))||a.enumerable});return t};var Jl=(t,e,o)=>(o=t!=null?Gl($l(t)):{},Aa(e||!t||!t.__esModule?Wo(o,"default",{value:t,enumerable:!0}):o,t)),Wl=t=>Aa(Wo({},"__esModule",{value:!0}),t);var _u={};Xl(_u,{PromptSuggestions:()=>Ru});module.exports=Wl(_u);var n=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?n(...e):typeof e=="object"?Object.keys(e).map((o,a)=>e[a]||e[o]&&o||null).filter(o=>o!==null).join(" "):e).filter(e=>!!e).join(" ");var E=(t,e)=>n({[`${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"}),A=(t,e)=>{let{valid:o,invalid:a,hover:i,focus:p,checked:l,active:u,selected:b,disabled:N,indeterminate:L,loading:C,empty:c,readonly:h,highlighted:M,...v}=e;return n({"k-valid":o,"k-invalid":a,"k-hover":i,"k-focus":p,"k-checked":l,"k-active":u,"k-selected":b,"k-disabled":N,"k-indeterminate":L&&!l,"k-loading":C,"k-empty":c,"k-readonly":h,"k-highlighted":M},Object.keys(v).reduce((I,k)=>(k.startsWith("k-")?I[k]=v[k]:I[`k-${k}`]=v[k],I),{}))};function Ea(t,e){if(!e)return{};let o=Array.isArray(e)?e:[e];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var s={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={small:"small",medium:"medium",large:"large",full:"full"},d={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},m={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},r={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"},Ta={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var Cn="action-buttons",va=Cn;var ga=require("react/jsx-runtime"),qo="k-actions",ql=[],Yl={},Sn={alignment:"start",orientation:"horizontal"},G=t=>{let{alignment:e=Sn.alignment,orientation:o=Sn.orientation,...a}=t;return(0,ga.jsx)("div",{...a,className:n(qo,{[`${qo}-${e}`]:e,[`${qo}-${o}`]:o},t.className),children:t.children})};G.states=ql;G.options=Yl;G.className=qo;G.defaultOptions=Sn;G.moduleName=Cn;G.folderName=va;var No=require("react/jsx-runtime"),An="k-font-icon",Ql=[],Zl={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},jl={},xo=t=>{let{size:e,themeColor:o,icon:a,rotate:i,flip:p,...l}=t;return a?(0,No.jsx)("span",{...l,className:n(t.className,An,E(An,{size:e}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":p==="h"||p==="both","k-flip-v":p==="v"||p==="both"})}):(0,No.jsx)(No.Fragment,{})};xo.states=Ql;xo.options=Zl;xo.className=An;xo.defaultOptions=jl;var ka=xo;var Me=require("react/jsx-runtime"),En="k-svg-icon",tp=[],ep={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},Ia={viewBox:"0 0 24 24"},Lo=t=>{let{size:e,themeColor:o,rotate:a,flip:i,viewBox:p=Ia.viewBox,icon:l,...u}=t;if(!l)return(0,Me.jsx)(Me.Fragment,{});l==="none"&&{...u,className:n(t.className,En,"k-none")};let b=typeof l=="object"&&l.name&&l.name;return(0,Me.jsx)("span",{...u,className:n(t.className,En,E("k-icon",{size:e}),{[`k-svg-i-${b}`]:b,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),children:(0,Me.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof l=="object"?l.viewBox:p,dangerouslySetInnerHTML:typeof l=="object"?{__html:l.content}:void 0,children:l?void 0:t.children})})};Lo.states=tp;Lo.options=ep;Lo.className=En;Lo.defaultOptions=Ia;var Tn=Lo;var vn=Jl(require("@progress/kendo-svg-icons"));var Oa="icon",ya="icons";var Vt=require("react/jsx-runtime"),Yo="k-icon",op=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),np=[],rp={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},gn={viewBox:"0 0 24 24",type:"svg"},T=t=>{let{size:e,themeColor:o,icon:a,type:i=gn.type,rotate:p,flip:l,viewBox:u=gn.viewBox,...b}=t;if(!a)return(0,Vt.jsx)(Vt.Fragment,{});if(i==="svg"){if(a==="none")return(0,Vt.jsx)(Tn,{...b,className:n(t.className,Yo),icon:a,size:e});let N=vn[a]?a:op(`${a}-icon`);return vn[N]?(0,Vt.jsx)(Tn,{...b,className:n(t.className,Yo),icon:vn[N],size:e,themeColor:o,rotate:p,flip:l,viewBox:u}):(0,Vt.jsx)(Vt.Fragment,{})}return(0,Vt.jsx)(ka,{...b,className:n(t.className,Yo),icon:a,size:e,themeColor:o,rotate:p,flip:l})};T.states=np;T.options=rp;T.defaultOptions=gn;T.className=Yo;T.moduleName=Oa;T.folderName=ya;var kn="button",Ba=kn;var Et=require("react/jsx-runtime"),Mo="k-button",ap=["icon-button"],sp=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],ip={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark,m.inverse]},he={size:s.medium,rounded:f.medium,fillMode:d.solid,themeColor:m.base,showArrow:!1,arrowIconName:"caret-alt-down"},x=t=>{let{size:e=he.size,rounded:o=he.rounded,fillMode:a=he.fillMode,themeColor:i=he.themeColor,showArrow:p=he.showArrow,arrowIconName:l=he.arrowIconName,variant:u,hover:b,focus:N,active:L,selected:C,disabled:c,icon:h,text:M,iconClassName:v,...I}=t,k=h!==void 0,P=t.children!==void 0;return(0,Et.jsxs)("button",{...I,className:n(t.className,Mo,Ea(Mo,u),E(Mo,{size:e,rounded:o,fillMode:a,themeColor:i}),A(Mo,{hover:b,focus:N,active:L,disabled:c,selected:C}),{"k-icon-button":!M&&!P&&k}),children:[h&&(0,Et.jsx)(T,{className:n(v,"k-button-icon"),icon:h}),M?(0,Et.jsxs)(Et.Fragment,{children:[M&&(0,Et.jsx)("span",{className:"k-button-text",children:M}),t.children]}):t.children&&(0,Et.jsx)("span",{className:"k-button-text",children:t.children}),p&&(0,Et.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Et.jsx)(T,{icon:l})})]})};x.states=sp;x.options=ip;x.variants=ap;x.className=Mo;x.defaultOptions=he;x.moduleName=kn;x.folderName=Ba;var Pa=require("react/jsx-runtime"),et=t=>(0,Pa.jsx)(x,{icon:"folder",...t,children:void 0});var Ka=require("react/jsx-runtime"),Z=t=>(0,Ka.jsx)(x,{icon:"folder",children:"Button",...t});var lp=require("react/jsx-runtime");var In="button",Ra=In;var Ha=require("react/jsx-runtime"),ho="k-button-group",pp=[r.disabled],mp={fillMode:[d.solid,d.flat,d.outline,d.clear,d.link]},_a={fillMode:d.solid},_=t=>{let{fillMode:e=_a.fillMode,disabled:o,stretched:a,...i}=t;return(0,Ha.jsx)("div",{...i,className:n(t.className,ho,E(ho,{fillMode:e}),A(ho,{disabled:o}),{[`${ho}-stretched`]:a}),children:t.children})};_.states=pp;_.options=mp;_.className=ho;_.defaultOptions=_a;_.moduleName=In;_.folderName=Ra;var On=require("react/jsx-runtime");var yn=require("react/jsx-runtime");var Bn=require("react/jsx-runtime");var Pn=require("react/jsx-runtime");var Co="input",Qo=Co;var Da=require("react/jsx-runtime"),Zo="k-input",cp=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],dp={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},jo={size:s.medium,rounded:s.medium,fillMode:d.solid},y=t=>{let{hover:e,focus:o,disabled:a,invalid:i,valid:p,loading:l,readonly:u,size:b=jo.size,rounded:N=jo.rounded,fillMode:L=jo.fillMode,...C}=t;return(0,Da.jsx)("span",{...C,className:n(t.className,Zo,E(Zo,{size:b,rounded:N,fillMode:L}),A(Zo,{hover:e,focus:o,disabled:a,invalid:i,valid:p,loading:l,readonly:u}))})};y.states=cp;y.options=dp;y.className=Zo;y.defaultOptions=jo;y.moduleName=Co;y.folderName=Qo;var wa=require("react/jsx-runtime"),tn="k-picker",up=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],fp={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},en={size:s.medium,rounded:f.medium,fillMode:d.solid},rt=t=>{let{hover:e,focus:o,disabled:a,invalid:i,valid:p,loading:l,readonly:u,size:b=en.size,rounded:N=en.rounded,fillMode:L=en.fillMode,...C}=t;return(0,wa.jsx)("span",{...C,className:n(t.className,tn,E(tn,{size:b,rounded:N,fillMode:L}),A(tn,{hover:e,focus:o,disabled:a,invalid:i,valid:p,loading:l,readonly:u})),children:t.children})};rt.states=up;rt.options=fp;rt.className=tn;rt.defaultOptions=en;rt.moduleName=Co;rt.folderName=Qo;var ze=require("react/jsx-runtime"),za="k-clear-value",bp=[r.disabled,r.loading,r.readonly],Np={},Tt=t=>{let{disabled:e,loading:o,readonly:a,value:i}=t;return e||a||o||!i?(0,ze.jsx)(ze.Fragment,{}):(0,ze.jsx)("span",{className:n(t.className,za),children:(0,ze.jsx)(T,{icon:"x"})})};Tt.states=bp;Tt.options=Np;Tt.className=za;var Ga=require("react/jsx-runtime"),Kn="k-input-inner",xp=[],Lp={},on={type:"text",autocomplete:"off",value:"",placeholder:""},vt=t=>{let{value:e=on.value,type:o=on.type,placeholder:a=on.placeholder,autocomplete:i=on.autocomplete,...p}=t;return(0,Ga.jsx)("input",{...p,type:o,className:n(t.className,Kn,E(Kn,t)),placeholder:a,autoComplete:i,defaultValue:e})};vt.states=xp;vt.options=Lp;vt.className=Kn;var So=require("react/jsx-runtime"),Rn="k-input-inner",Mp=[],hp={},Ce=t=>{let{value:e,placeholder:o,showValue:a,valueIcon:i,valueIconName:p,...l}=t;return(0,So.jsxs)("span",{...l,className:n(t.className,Rn,E(Rn,t)),children:[i,!i&&p&&(0,So.jsx)(T,{className:"k-input-value-icon",icon:p}),a&&!e&&o,a&&e&&(0,So.jsx)("span",{className:"k-input-value-text",children:e})]})};Ce.states=Mp;Ce.options=hp;Ce.className=Rn;var Fa=require("react/jsx-runtime"),_n="k-input-inner",Cp=[],Sp={},Ua={value:"",placeholder:""},Ao=t=>{let{value:e=Ua.value,placeholder:o=Ua.placeholder,rows:a,...i}=t;return(0,Fa.jsx)("textarea",{...i,className:n(t.className,_n,E(_n,t)),placeholder:o,rows:a,defaultValue:e})};Ao.states=Cp;Ao.options=Sp;Ao.className=_n;var Eo=require("react/jsx-runtime"),$a="k-input-loading-icon",Ap=[r.disabled,r.loading],dt=t=>{let{disabled:e,loading:o}=t;return e||!o?(0,Eo.jsx)(Eo.Fragment,{}):(0,Eo.jsx)("span",{className:n(t.className,$a,"k-icon k-i-loading")})};dt.states=Ap;dt.className=$a;var To=require("react/jsx-runtime"),Va="k-input-validation-icon",Ep=[r.valid,r.invalid,r.disabled,r.loading],Tp={},at=t=>{let{valid:e,invalid:o,disabled:a,loading:i}=t,p=o?"warning-circle":"check-circle";return a||i||!!!(e||o)?(0,To.jsx)(To.Fragment,{}):(0,To.jsx)(T,{className:n(Va),icon:p})};at.states=Ep;at.options=Tp;at.className=Va;var vo=require("react/jsx-runtime"),vp="k-input-prefix",gp={direction:"horizontal"},ut=t=>{let{direction:e=gp.direction,...o}=t;return t.children?(0,vo.jsx)("span",{...o,className:n(vp,t.className,{[`k-input-prefix-${e}`]:e}),children:t.children}):(0,vo.jsx)(vo.Fragment,{})};var go=require("react/jsx-runtime"),kp="k-input-suffix",Ip={direction:"horizontal"},ft=t=>{let{direction:e=Ip.direction,...o}=t;return t.children?(0,go.jsx)("span",{...o,className:n(kp,t.className,{[`k-input-suffix-${e}`]:e}),children:t.children}):(0,go.jsx)(go.Fragment,{})};var Op=require("react/jsx-runtime");var yp=require("react/jsx-runtime");var Ja=require("react/jsx-runtime"),Xa="k-input-separator",Bp={direction:"vertical"},bt=t=>{let{direction:e=Bp.direction,...o}=t;return(0,Ja.jsx)("span",{...o,className:n(Xa,t.className,{[`${Xa}-${e}`]:e})})};var ko=require("react/jsx-runtime"),Wa="k-color-preview",Pp=[],Kp={},re=t=>{let{color:e,iconName:o,...a}=t;return(0,ko.jsxs)("span",{...a,className:n(t.className,Wa,{"k-icon-color-preview":o,"k-no-color":!e}),children:[o&&(0,ko.jsx)(T,{icon:o,className:"k-color-preview-icon"}),(0,ko.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:e}})]})};re.states=Pp;re.options=Kp;re.className=Wa;var Hn="popup",qa=Hn;var Dn=require("react/jsx-runtime"),Ya="k-animation-container",Rp=[],_p={},Qa={positionMode:"absolute"},Ht=t=>{let{positionMode:e=Qa.positionMode,animationStyle:o,offset:a,...i}=t;return(0,Dn.jsx)("div",{...i,style:{...a,...t.style},className:n(t.className,Ya,"k-animation-container-shown",{"k-animation-container-fixed":e==="fixed"}),children:(0,Dn.jsx)("div",{className:"k-child-animation-container",style:o,children:t.children})})};Ht.states=Rp;Ht.options=_p;Ht.className=Ya;Ht.defaultOptions=Qa;Ht.moduleName=Hn;Ht.folderName=qa;var wn="popup",Za=wn;var zn=require("react/jsx-runtime"),ja="k-popup",Hp=[],Dp={},ts={positionMode:"absolute"},w=t=>{let{offset:e,positionMode:o=ts.positionMode,animationStyle:a,...i}=t;return(0,zn.jsx)(Ht,{positionMode:o,offset:e,animationStyle:a,children:(0,zn.jsx)("div",{...i,className:n(t.className,ja),children:t.children})})};w.states=Hp;w.options=Dp;w.className=ja;w.defaultOptions=ts;w.moduleName=wn;w.folderName=Za;var os=require("react/jsx-runtime"),wp="k-actionsheet-footer",es={alignment:"stretched",orientation:"horizontal"},Io=t=>{let{alignment:e=es.alignment,orientation:o=es.orientation,template:a,as:i=a?"div":G,...p}=t;return(0,os.jsx)(i,{...p,...!a&&{alignment:e,orientation:o},className:n(t.className,wp),children:t.children})};var Gn="searchbox",ns=Gn;var ae=require("react/jsx-runtime"),rs="k-searchbox",zp=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],Gp={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Un={showIcon:!0,icon:"search",size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode},gt=t=>{let{value:e,placeholder:o,size:a,rounded:i,fillMode:p,hover:l,focus:u,valid:b,invalid:N,required:L,loading:C,disabled:c,showIcon:h=Un.showIcon,icon:M=Un.icon,...v}=t;return(0,ae.jsxs)(y,{...v,size:a,rounded:i,fillMode:p,hover:l,focus:u,valid:b,invalid:N,required:L,loading:C,disabled:c,className:n(t.className,rs),children:[h&&(0,ae.jsx)(T,{className:"k-input-icon",icon:M}),(0,ae.jsx)(vt,{placeholder:o,value:e}),(0,ae.jsx)(dt,{...t}),(0,ae.jsx)(at,{...t}),(0,ae.jsx)(Tt,{...t})]})};gt.states=zp;gt.options=Gp;gt.className=rs;gt.defaultOptions=Un;gt.moduleName=Gn;gt.folderName=ns;var Up=require("react/jsx-runtime");var Fn="textbox",as=Fn;var q=require("react/jsx-runtime"),ss="k-textbox",Fp=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],$p={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Se={showClearButton:!0,showValidationIcon:!0,size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode,separators:!0},Dt=t=>{let{size:e=Se.size,rounded:o=Se.rounded,fillMode:a=Se.fillMode,separators:i=Se.separators,showClearButton:p=Se.showClearButton,showValidationIcon:l=Se.showValidationIcon,prefix:u,suffix:b,type:N,value:L,placeholder:C,hover:c,focus:h,valid:M,invalid:v,required:I,loading:k,disabled:P,readonly:V,..._t}=t;return(0,q.jsxs)(y,{..._t,size:e,rounded:o,fillMode:a,hover:c,focus:h,valid:M,invalid:v,required:I,loading:k,disabled:P,readonly:V,className:n(t.className,ss),children:[u&&(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(ut,{children:u}),i&&(0,q.jsx)(bt,{})]}),(0,q.jsx)(vt,{placeholder:C,value:L,type:N}),l&&(0,q.jsx)(at,{valid:M,invalid:v,loading:k,disabled:P}),(0,q.jsx)(dt,{loading:k,disabled:P}),p&&(0,q.jsx)(Tt,{loading:k,disabled:P,readonly:V,value:L}),b&&(0,q.jsxs)(q.Fragment,{children:[i&&(0,q.jsx)(bt,{}),(0,q.jsx)(ft,{children:b})]})]})};Dt.states=Fp;Dt.options=$p;Dt.className=ss;Dt.defaultOptions=Se;Dt.moduleName=Fn;Dt.folderName=as;var Vp=require("react/jsx-runtime");var ls=require("react/jsx-runtime");var ps=require("react/jsx-runtime");var st=require("react/jsx-runtime"),ms="k-actionsheet-titlebar",Xp={},Nt=t=>{let{title:e,subtitle:o,actionsStart:a,actionsEnd:i,filter:p,input:l,inputValue:u,inputPlaceholder:b,adaptive:N,children:L,...C}=t;return(0,st.jsxs)("div",{...C,className:n(t.className,ms),children:[(0,st.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,st.jsx)("div",{className:"k-actionsheet-actions",children:a}),!L&&(0,st.jsxs)("div",{className:"k-actionsheet-title",children:[e&&(0,st.jsx)("div",{className:"k-text-center",children:e}),o&&(0,st.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),L&&(0,st.jsx)("div",{className:"k-actionsheet-title",children:L}),i&&(0,st.jsx)("div",{className:"k-actionsheet-actions",children:i})]}),(l||p)&&(0,st.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?(0,st.jsx)(Dt,{value:u,placeholder:b,size:N?"large":"medium"}):(0,st.jsx)(gt,{placeholder:"Filter",size:N?"large":"medium"})})]})};Nt.className=ms;Nt.defaultOptions=Xp;var Ge=require("react/jsx-runtime"),$n="k-actionsheet-view",Jp=[],Wp={},qp={},Ue=t=>{let{adaptive:e,animated:o,children:a,header:i,footer:p,...l}=t,u=(i==null?void 0:i.type)===Nt&&(0,Ge.jsx)(Nt,{adaptive:e,...i==null?void 0:i.props}),b=(p==null?void 0:p.type)===Io&&(0,Ge.jsx)(Io,{...p==null?void 0:p.props});return(0,Ge.jsxs)("div",{...l,className:n(t.className,$n,{[`${$n}-animated`]:o}),children:[u,(0,Ge.jsx)("div",{className:"k-actionsheet-content",children:a}),b]})};Ue.states=Jp;Ue.options=Wp;Ue.className=$n;Ue.defaultOptions=qp;var Oo="action-sheet",nn=Oo;var Ae=require("react/jsx-runtime"),cs="k-actionsheet",Yp=[],Qp={},yo={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},it=t=>{let{side:e=yo.side,fullscreen:o=yo.fullscreen,adaptive:a=yo.adaptive,overlay:i=yo.overlay,template:p,children:l,header:u,footer:b,...N}=t;return(0,Ae.jsxs)("div",{className:"k-actionsheet-container",children:[i&&(0,Ae.jsx)("div",{className:"k-overlay"}),(0,Ae.jsx)(Ht,{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,Ae.jsx)("div",{...N,className:n(t.className,cs,{[`k-actionsheet-${e}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:p||(0,Ae.jsx)(Ue,{header:u,footer:b,adaptive:a,...t,children:l})})})]})};it.states=Yp;it.options=Qp;it.className=cs;it.defaultOptions=yo;it.moduleName=Oo;it.folderName=nn;var us=require("react/jsx-runtime"),ds="k-actionsheet-container",Zp=[],jp={},tm={},Fe=t=>{let{children:e,...o}=t;return(0,us.jsx)("div",{...o,className:ds,children:e})};Fe.states=Zp;Fe.options=jp;Fe.className=ds;Fe.defaultOptions=tm;Fe.moduleName=Oo;Fe.folderName=nn;var em=require("react/jsx-runtime");var xt=require("react/jsx-runtime"),Vn="k-actionsheet-item",om=[r.hover,r.focus,r.selected,r.disabled],Xn=t=>{let{iconName:e,text:o,description:a,hover:i,focus:p,selected:l,disabled:u,...b}=t;return(0,xt.jsxs)("span",{...b,className:n(t.className,Vn,A(Vn,{hover:i,focus:p,selected:l,disabled:u})),children:[!t.children&&(0,xt.jsx)(xt.Fragment,{children:(0,xt.jsxs)("span",{className:"k-actionsheet-action",children:[e&&(0,xt.jsx)("span",{className:"k-icon-wrap",children:(0,xt.jsx)(T,{className:"k-actionsheet-item-icon",icon:e})}),(0,xt.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,xt.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,xt.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),t.children]})};Xn.states=om;Xn.className=Vn;var fs=require("react/jsx-runtime");var nm=require("react/jsx-runtime");var rm=require("react/jsx-runtime");var am=require("react/jsx-runtime");var Jn="slider",Ns=Jn;var kt=require("react/jsx-runtime"),Bo="k-slider",sm=[r.hover,r.focus,r.active,r.disabled,r.readonly],im={},se={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},ot=t=>{let{type:e=se.type,orientation:o=se.orientation,readonly:a=se.readonly,disabled:i=se.disabled,handlePosition:p=se.handlePosition,showButtons:l=se.showButtons,showTicks:u=se.showTicks,hover:b,focus:N,active:L,trackStyle:C,dir:c,...h}=t,M,v;return o==="horizontal"?(M=c==="rtl"?"caret-alt-left":"caret-alt-right",v=c==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(M="caret-alt-up",v="caret-alt-down"),(0,kt.jsxs)("div",{...h,className:n(Bo,t.className,A(Bo,{readonly:a,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":e==="gradient"}),dir:c,children:[l&&(0,kt.jsx)(x,{className:"k-button-decrease",rounded:"full",icon:v}),(0,kt.jsxs)("div",{className:"k-slider-track-wrap",children:[u&&(0,kt.jsx)("ul",{className:"k-reset k-slider-items",children:t.children}),(0,kt.jsxs)("div",{className:"k-slider-track",style:C,children:[(0,kt.jsx)("div",{className:"k-slider-selection"}),e==="range"&&(0,kt.jsx)("span",{className:n("k-draghandle","k-draghandle-start",A(Bo,{hover:b,focus:N,active:L}))}),(0,kt.jsx)("span",{className:n("k-draghandle",`k-draghandle-${p}`,A(Bo,{hover:b,focus:N,active:L}))})]})]}),l&&(0,kt.jsx)(x,{className:"k-button-increase",rounded:"full",icon:M})]})};ot.states=sm;ot.options=im;ot.className=Bo;ot.defaultOptions=se;ot.moduleName=Jn;ot.folderName=Ns;var Wn=require("react/jsx-runtime"),xs="k-tick",lm=[],pm={},Ls={label:!1},ie=t=>{let{style:e,label:o=Ls.label,orientation:a,large:i,text:p,...l}=t;return(0,Wn.jsx)("li",{...l,className:n(t.className,xs,{[`k-tick-${a}`]:a,"k-tick-large":i}),style:e,children:o&&(0,Wn.jsx)("span",{className:"k-label",children:p})})};ie.states=lm;ie.options=pm;ie.className=xs;ie.defaultOptions=Ls;var qn=require("react/jsx-runtime");var Yn=require("react/jsx-runtime");var Qn=require("react/jsx-runtime");var Zn=require("react/jsx-runtime");var Ms=require("react/jsx-runtime"),jn=t=>(0,Ms.jsx)(ot,{type:"gradient",showButtons:!1,showTicks:!1,...t});var hs=require("react/jsx-runtime"),tr=t=>(0,hs.jsx)(ot,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...t});var Po=require("react/jsx-runtime"),Cs="k-spin-button",dm=[],um={size:[s.small,s.medium,s.large],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link]},er={size:s.medium,fillMode:d.solid},le=t=>{let{size:e=er.size,fillMode:o=er.fillMode,...a}=t;return(0,Po.jsxs)("span",{...a,className:n(Cs,t.className),children:[(0,Po.jsx)(x,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:e,fillMode:o}),(0,Po.jsx)(x,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:e,fillMode:o})]})};le.states=dm;le.options=um;le.className=Cs;le.defaultOptions=er;le.moduleName=null;le.folderName=null;var Ss="numeric-textbox",As="numerictextbox";var X=require("react/jsx-runtime"),Es="k-numerictextbox",fm=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],bm={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Ee={showSpinButton:!0,showClearButton:!0,size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode,separators:!0},H=t=>{let{size:e=Ee.size,rounded:o=Ee.rounded,fillMode:a=Ee.fillMode,separators:i=Ee.separators,showClearButton:p=Ee.showClearButton,showSpinButton:l=Ee.showSpinButton,prefix:u,suffix:b,value:N,placeholder:L,hover:C,focus:c,valid:h,invalid:M,required:v,loading:I,disabled:k,readonly:P,...V}=t;return(0,X.jsxs)(y,{...V,size:e,rounded:o,fillMode:a,hover:C,focus:c,valid:h,invalid:M,required:v,loading:I,disabled:k,readonly:P,className:n(t.className,Es),children:[u&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(ut,{children:u}),i&&(0,X.jsx)(bt,{})]}),(0,X.jsx)(vt,{placeholder:L,value:N}),(0,X.jsx)(at,{valid:h,invalid:M,loading:I,disabled:k}),(0,X.jsx)(dt,{loading:I,disabled:k}),p&&(0,X.jsx)(Tt,{loading:I,disabled:k,readonly:P,value:N}),b&&(0,X.jsxs)(X.Fragment,{children:[i&&(0,X.jsx)(bt,{}),(0,X.jsx)(ft,{children:b})]}),l&&(0,X.jsx)(le,{className:"k-input-spinner",size:e,fillMode:a})]})};H.states=fm;H.options=bm;H.className=Es;H.defaultOptions=Ee;H.moduleName=Ss;H.folderName=As;var Nm=require("react/jsx-runtime");var vs=require("react/jsx-runtime"),xm="k-no-data",Ko=t=>(0,vs.jsx)("span",{className:n(xm,t.className),children:t.children});var Xt="list",pe=Xt;var wt=require("react/jsx-runtime"),or="k-list",Lm=[],Mm={size:[s.small,s.medium,s.large]},gs={size:s.medium},K=t=>{let{size:e=gs.size,virtualization:o,children:a,optionLabel:i,customValue:p,screenReaders:l,...u}=t,b,N,L,C,c=[];return a?a.map((h,M)=>{h.type===J?(h.props.root===!0?(b=h.props.label,h.props.children.map((v,I)=>{c.push((0,wt.jsx)(O,{...v.props},`optChild-${I}-${new Date().getTime()}`))})):h.props.children.forEach((v,I)=>{let k="";I===0&&(k=h.props.label),c.push((0,wt.jsx)(O,{className:I===0?"k-first":"",...v.props,groupLabel:k},`groupLabel-${I}-${new Date().getTime()}`))}),N=(0,wt.jsx)(J,{label:b,virtualization:o,children:c})):h.type===O&&(c.push((0,wt.jsx)(O,{...h.props},`${h.type}-${M}`)),L=(0,wt.jsx)($e,{virtualization:o,children:c}),l&&(C=(0,wt.jsxs)(Ko,{className:"k-sr-only",children:[c.length," items found."]})))}):C=(0,wt.jsx)(Ko,{children:"No data found."}),(0,wt.jsxs)("div",{...u,className:n(t.className,or,E(or,{size:e}),{"k-virtual-list":o}),children:[i,p,N,L,C]})};K.states=Lm;K.options=Mm;K.className=or;K.defaultOptions=gs;K.moduleName=Xt;K.folderName=pe;var Is=require("react/jsx-runtime"),ks="k-list-container",hm=[],Cm={},Sm={},Ve=t=>{let{...e}=t;return(0,Is.jsx)("div",{...e,className:n(t.className,ks),children:t.children})};Ve.states=hm;Ve.options=Cm;Ve.className=ks;Ve.defaultOptions=Sm;Ve.moduleName=Xt;Ve.folderName=pe;var zt=require("react/jsx-runtime"),nr="k-list",Am=[],Em={size:[s.small,s.medium,s.large]},Os={size:s.medium},Jt=t=>{let{size:e=Os.size,virtualization:o,children:a,...i}=t,p,l,u,b=[];return a?a.map((N,L)=>{N.type===J?(N.props.root===!0?(p=N.props.label,N.props.children.map((C,c)=>{b.push((0,zt.jsx)(O,{...C.props},`optChild-${c}-${new Date().getTime()}`))})):(b.push((0,zt.jsx)(ys,{...N.props,children:N.props.label},`listChild-${L}`)),N.props.children.map((C,c)=>{b.push((0,zt.jsx)(O,{...C.props},`fwOptChild-${c}-${new Date().getTime()}`))})),l=(0,zt.jsx)(J,{label:p,virtualization:o,children:b})):N.type===O&&(b.push((0,zt.jsx)(O,{...N.props},`${N.type}-${L}`)),u=(0,zt.jsx)($e,{virtualization:o,children:b}))}):u=(0,zt.jsx)(Ko,{children:"No data found."}),(0,zt.jsxs)("div",{...i,className:n(t.className,nr,E(nr,{size:e}),{"k-virtual-list":o}),children:[l,u]})};Jt.states=Am;Jt.options=Em;Jt.className=nr;Jt.defaultOptions=Os;Jt.moduleName=Xt;Jt.folderName=pe;var Te="checkbox",Xe=Te;var ar=require("react/jsx-runtime"),rn="k-checkbox",Tm=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],vm={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full]},rr={size:s.medium,rounded:f.medium},Gt=t=>{let{id:e,checked:o,indeterminate:a,hover:i,focus:p,disabled:l,invalid:u,valid:b,required:N,size:L=rr.size,rounded:C=rr.rounded,...c}=t;return(0,ar.jsx)("span",{className:"k-checkbox-wrap",children:(0,ar.jsx)("input",{...c,id:e,type:"checkbox",defaultChecked:o,required:N,className:n(t.className,rn,E(rn,{size:L,rounded:C}),A(rn,{hover:i,focus:p,disabled:l,invalid:u,valid:b,indeterminate:a,checked:o}))})})};Gt.states=Tm;Gt.options=vm;Gt.className=rn;Gt.defaultOptions=rr;Gt.moduleName=Te;Gt.folderName=Xe;var Ks=require("react/jsx-runtime"),Bs="k-checkbox-list",gm=[],km={},Ps={layout:"vertical"},me=t=>{let{layout:e=Ps.layout,...o}=t;return(0,Ks.jsx)("ul",{...o,className:n(t.className,Bs,{[`k-list-${e}`]:e}),children:t.children})};me.states=gm;me.options=km;me.className=Bs;me.defaultOptions=Ps;me.moduleName=Te;me.folderName=Xe;var _s=require("react/jsx-runtime"),Rs="k-checkbox-list-item",Im=[],Om={},ym={},ce=t=>{let{...e}=t;return(0,_s.jsx)("li",{...e,className:n(t.className,Rs),children:t.children})};ce.states=Im;ce.options=Om;ce.className=Rs;ce.defaultOptions=ym;ce.moduleName=Te;ce.folderName=Xe;var ir=require("react/jsx-runtime");var lr=require("react/jsx-runtime");var pr=require("react/jsx-runtime");var mr=require("react/jsx-runtime");var Bm=require("react/jsx-runtime");var Pm=require("react/jsx-runtime");var ve=require("react/jsx-runtime"),cr="k-list-item",Km=[r.hover,r.focus,r.selected,r.disabled],Rm={},_m={},O=t=>{let{text:e,groupLabel:o,group:a,showIcon:i,iconName:p,showCheckbox:l,checked:u,hover:b,focus:N,selected:L,disabled:C,...c}=t,h=e||t.children;return(0,ve.jsxs)("li",{...c,className:n(t.className,a?"k-list-group-item":cr,A(cr,{hover:b,focus:N,disabled:C,selected:L})),children:[l&&(0,ve.jsx)(Gt,{checked:u}),i&&(0,ve.jsx)(T,{icon:p}),(0,ve.jsx)("span",{className:"k-list-item-text",children:h}),o&&o!==""&&(0,ve.jsx)("div",{className:"k-list-item-group-label",children:o})]})};O.states=Km;O.options=Rm;O.className=cr;O.defaultOptions=_m;O.moduleName=Xt;O.folderName=pe;var Je=require("react/jsx-runtime"),Hm="k-list-content",$e=t=>{let{virtualization:e,...o}=t;return(0,Je.jsxs)("div",{...o,className:n(Hm,t.className),children:[(0,Je.jsx)("ul",{className:n("k-list-ul"),children:t.children}),e&&(0,Je.jsx)("div",{className:"k-height-container",children:(0,Je.jsx)("div",{})})]})};var dr=require("react/jsx-runtime"),Dm="k-list-group-sticky-header",Hs=t=>(0,dr.jsx)("div",{className:n(Dm,t.className),children:(0,dr.jsx)("div",{className:"k-list-header-text",children:t.children})});var ge=require("react/jsx-runtime"),J=t=>{let{virtualization:e,label:o}=t;return(0,ge.jsxs)(ge.Fragment,{children:[o&&(0,ge.jsx)(Hs,{children:o}),t.children&&(0,ge.jsx)($e,{virtualization:e,children:t.children})]})};var ur=require("react/jsx-runtime"),wm="k-list-group-item",ys=t=>(0,ur.jsx)("li",{className:n(wm,t.className),children:(0,ur.jsx)("span",{className:"k-list-item-text",children:t.children})});var Ds=require("react/jsx-runtime"),fr="k-list-optionlabel",zm=[r.hover,r.focus,r.selected,r.disabled],Gm={},Um={},an=t=>{let{text:e,hover:o,focus:a,selected:i,disabled:p,...l}=t;return(0,Ds.jsx)("div",{...l,className:n(fr,A(fr,{hover:o,focus:a,selected:i,disabled:p})),children:e})};an.states=zm;an.options=Gm;an.className=fr;an.defaultOptions=Um;var ws=require("react/jsx-runtime"),br="k-list-custom-value",Fm=[r.hover,r.focus,r.selected,r.disabled],$m={},Vm={},de=t=>{let{text:e,hover:o,focus:a,selected:i,disabled:p,...l}=t;return(0,ws.jsx)("div",{...l,className:n(br,A(br,{hover:o,focus:a,selected:i,disabled:p})),children:e})};de.states=Fm;de.options=$m;de.className=br;de.defaultOptions=Vm;var Xm=require("react/jsx-runtime");var Jm=require("react/jsx-runtime");var zs=require("react/jsx-runtime");var Gs=require("react/jsx-runtime");var Wm=require("react/jsx-runtime");var Us=require("react/jsx-runtime");var Fs=require("react/jsx-runtime");var $s="dropdown-list",Vs="dropdownlist";var D=require("react/jsx-runtime"),Xs="k-dropdownlist",qm=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Ym={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},We={showValue:!0,arrowIconName:"caret-alt-down",size:s.medium,rounded:f.medium,fillMode:d.solid},Ut=t=>{let{size:e=We.size,rounded:o=We.rounded,fillMode:a=We.fillMode,arrowIconName:i=We.arrowIconName,showValue:p=We.showValue,valueIconName:l,prefix:u,suffix:b,value:N,placeholder:L,hover:C,focus:c,valid:h,invalid:M,required:v,loading:I,disabled:k,readonly:P,popup:V,opened:_t,adaptive:fo,adaptiveSettings:bo,adaptiveTitle:Mn,adaptiveSubtitle:hn,adaptiveFilter:wl,...zl}=t;return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsxs)(rt,{...zl,size:e,rounded:o,fillMode:a,hover:C,focus:c,valid:h,invalid:M,required:v,loading:I,disabled:k,readonly:P,className:n(t.className,Xs,{"k-icon-picker":!p&&l}),children:[(0,D.jsx)(ut,{children:u}),(0,D.jsx)(Ce,{placeholder:L,value:N,showValue:p,valueIconName:l}),(0,D.jsx)(at,{valid:h,invalid:M,loading:I,disabled:k}),(0,D.jsx)(dt,{loading:I,disabled:k}),(0,D.jsx)(ft,{children:b}),(0,D.jsx)(x,{className:"k-input-button",icon:i,rounded:null,size:t.size,fillMode:t.fillMode})]}),_t&&V&&(0,D.jsx)(w,{className:"k-list-container k-dropdownlist-popup",children:V}),fo&&(0,D.jsx)(it,{adaptive:!0,...bo,header:(0,D.jsx)(Nt,{actionsEnd:(0,D.jsx)(x,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:wl,inputValue:N,inputPlaceholder:L,title:Mn,subtitle:hn}),children:(0,D.jsx)("div",{className:"k-list-container",children:(0,D.jsxs)(K,{size:"large",children:[(0,D.jsx)(O,{text:"List item"}),(0,D.jsx)(O,{text:"List item"}),(0,D.jsx)(O,{text:"List item"})]})})})]})};Ut.states=qm;Ut.options=Ym;Ut.className=Xs;Ut.defaultOptions=We;Ut.moduleName=$s;Ut.folderName=Vs;var Qm=require("react/jsx-runtime");var Js=require("react/jsx-runtime");var Nr=require("react/jsx-runtime");var Zm=require("react/jsx-runtime");var Ws=require("react/jsx-runtime");var qs=require("react/jsx-runtime");var xr=require("react/jsx-runtime");var Lr=require("react/jsx-runtime");var Ys=require("react/jsx-runtime");var Qs=require("react/jsx-runtime");var S=require("react/jsx-runtime"),Zs="k-colorgradient-inputs",jm=[],tc={size:[s.small,s.medium,s.large]},js={mode:"rgba",size:s.medium},qe=t=>{let{mode:e=js.mode,size:o,...a}=t;return(0,S.jsxs)("div",{...a,className:n(Zs,"k-hstack"),children:[(0,S.jsx)("div",{className:"k-vstack",children:(0,S.jsx)(x,{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)(H,{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)(H,{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)(H,{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)(H,{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)(H,{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)(H,{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)(H,{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)(H,{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)(H,{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)(H,{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)(H,{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)(H,{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)(H,{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)(H,{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)(Dt,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};qe.states=jm;qe.options=tc;qe.className=Zs;qe.defaultOptions=js;var Y=require("react/jsx-runtime"),ti="k-colorgradient-color-contrast",ec=[],oc={},nc={},Ye=()=>(0,Y.jsxs)("div",{className:n(ti,"k-vbox"),children:[(0,Y.jsxs)("div",{className:"k-contrast-ratio",children:[(0,Y.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,Y.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,Y.jsx)(T,{icon:"check"}),(0,Y.jsx)(T,{icon:"check"})]})]}),(0,Y.jsxs)("div",{children:[(0,Y.jsx)("span",{children:"AA: 4.5"}),(0,Y.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,Y.jsx)(T,{icon:"check"})]})]}),(0,Y.jsxs)("div",{children:[(0,Y.jsx)("span",{children:"AAA: 7.0"}),(0,Y.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,Y.jsx)(T,{icon:"x"})]})]})]});Ye.states=ec;Ye.options=oc;Ye.className=ti;Ye.defaultOptions=nc;var ei="color-gradient",oi="colorgradient";var U=require("react/jsx-runtime"),sn="k-colorgradient",rc=[r.hover,r.focus,r.readonly,r.disabled],ac={size:[s.small,s.medium,s.large]},It={size:s.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"},Ft=t=>{let{size:e=It.size,mode:o=It.mode,readonly:a=It.readonly,disabled:i=It.disabled,gradientStyle:p=It.gradientStyle,dragHandleStyle:l=It.dragHandleStyle,alphaStyle:u=It.alphaStyle,alphaStyleHorizontal:b=It.alphaStyleHorizontal,contrast:N=It.contrast,dir:L,hover:C,focus:c,hoverHandle:h,focusHandle:M,canvasOrientation:v=It.canvasOrientation,...I}=t;return(0,U.jsxs)("div",{...I,className:n(t.className,sn,E(sn,{size:e}),A(sn,{hover:C,focus:c,readonly:a,disabled:i})),dir:L,children:[!v||v==="horizontal"&&(0,U.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,U.jsx)("div",{className:"k-hsv-rectangle",style:p,children:(0,U.jsx)("div",{className:"k-hsv-gradient",children:(0,U.jsx)("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":h,"k-focus":M}),style:l})})}),(0,U.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,U.jsx)(tr,{className:"k-hue-slider",hover:h,focus:M}),o!=="rgb"&&o!=="hsv"&&(0,U.jsx)(tr,{className:"k-alpha-slider",hover:h,focus:M,trackStyle:u})]})]}),v==="vertical"&&(0,U.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,U.jsx)("div",{className:"k-hsv-rectangle",style:p,children:(0,U.jsx)("div",{className:"k-hsv-gradient",children:(0,U.jsx)("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":h,"k-focus":M}),style:l})})}),(0,U.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,U.jsx)(jn,{className:"k-hue-slider",hover:h,focus:M}),o!=="rgb"&&o!=="hsv"&&(0,U.jsx)(jn,{className:"k-alpha-slider",hover:h,focus:M,trackStyle:b})]})]}),(0,U.jsx)(qe,{mode:t.mode,size:e}),N&&(0,U.jsx)(Ye,{})]})};Ft.states=rc;Ft.options=ac;Ft.className=sn;Ft.defaultOptions=It;Ft.moduleName=ei;Ft.folderName=oi;var sc=require("react/jsx-runtime");var ic=require("react/jsx-runtime");var ri=require("react/jsx-runtime"),ni=t=>(0,ri.jsx)("tr",{children:t.children});var ai=require("react/jsx-runtime"),Mr="k-colorpalette-tile",lc=[r.hover,r.focus,r.selected],pc={},Ro=t=>{let{color:e,tileSize:o,hover:a,focus:i,selected:p,...l}=t,u={backgroundColor:e,width:o?o+"px":"",height:o?o+"px":""};return(0,ai.jsx)("td",{...l,className:n(t.className,Mr,A(Mr,{hover:a,focus:i,selected:p})),style:u})};Ro.states=lc;Ro.options=pc;Ro.className=Mr;var si="color-palette",ii="colorpalette";var Qe=require("react/jsx-runtime"),ln="k-colorpalette",mc=[r.disabled],cc={size:[s.small,s.medium,s.large]},hr={columns:10,size:s.medium},ue=t=>{let{size:e=hr.size,palette:o,columns:a=hr.columns,tileSize:i,disabled:p,...l}=t,u=[];if(o){let b=a||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/b)},(L,C)=>{let c=[];N.slice(C*b,(C+1)*b).map((M,v)=>{c.push((0,Qe.jsx)(Ro,{color:M,tileSize:i},v))});let h=(0,Qe.jsx)(ni,{children:c},C);u.push(h)})}return(0,Qe.jsx)("div",{...l,className:n(t.className,ln,A(ln,{disabled:p}),E(ln,{size:e})),children:(0,Qe.jsx)("table",{className:"k-colorpalette-table",children:(0,Qe.jsx)("tbody",{children:u.length>0?u:t.children})})})};ue.states=mc;ue.options=cc;ue.className=ln;ue.defaultOptions=hr;ue.moduleName=si;ue.folderName=ii;var Cr={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 dc=require("react/jsx-runtime");var li="color-editor",pi="coloreditor";var z=require("react/jsx-runtime"),pn="k-coloreditor",uc=[r.focus],fc={size:[s.small,s.medium,s.large]},Ze={size:s.medium,view:"gradient",palette:Cr.office,actionButtons:!0,canvasOrientation:"horizontal"},Lt=t=>{let{size:e=Ze.size,view:o=Ze.view,palette:a=Ze.palette,color:i,currentColor:p,focus:l,focusView:u,dir:b,group:N,actionButtons:L=Ze.actionButtons,canvasOrientation:C=Ze.canvasOrientation,...c}=t;return(0,z.jsxs)("div",{...c,className:n(t.className,"k-flatcolorpicker",pn,E(pn,{size:e}),A(pn,{focus:l})),dir:b,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)(_,{fillMode:"flat",children:[(0,z.jsx)(x,{className:"k-group-start",size:e,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),(0,z.jsx)(x,{className:"k-group-end",size:e,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)(x,{fillMode:"flat",icon:"droplet-slash",size:e}),(0,z.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,z.jsx)(re,{className:"k-coloreditor-preview-color",color:i}),(0,z.jsx)(re,{className:"k-coloreditor-current-color",color:p})]})]})]}),(0,z.jsx)("div",{className:"k-colore