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