UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 82 kB
var Zr=Object.create;var ko=Object.defineProperty;var Qr=Object.getOwnPropertyDescriptor;var Yr=Object.getOwnPropertyNames;var jr=Object.getPrototypeOf,ei=Object.prototype.hasOwnProperty;var ti=(e,t)=>{for(var o in t)ko(e,o,{get:t[o],enumerable:!0})},Ks=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Yr(t))!ei.call(e,r)&&r!==o&&ko(e,r,{get:()=>t[r],enumerable:!(n=Qr(t,r))||n.enumerable});return e};var oi=(e,t,o)=>(o=e!=null?Zr(jr(e)):{},Ks(t||!e||!e.__esModule?ko(o,"default",{value:e,enumerable:!0}):o,e)),ai=e=>Ks(ko({},"__esModule",{value:!0}),e);var md={};ti(md,{CHATMESSAGE_CLASSNAME:()=>ws,ChatMessage:()=>de,default:()=>dd});module.exports=ai(md);var s=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?s(...t):typeof t=="object"?Object.keys(t).map((o,n)=>t[n]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var y=(e,t)=>s({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.fillMode}-${t.themeColor}`]:t.fillMode&&t.themeColor},{[`${e}-${t.themeColor}`]:t.themeColor&&t.fillMode===void 0},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full"}),M=(e,t)=>s({"k-valid":t.valid,"k-invalid":t.invalid,"k-hover":t.hover,"k-focus":t.focus,"k-checked":t.checked,"k-active":t.active,"k-selected":t.selected,"k-disabled":t.disabled,"k-indeterminate":t.indeterminate&&!t.checked,"k-loading":t.loading,"k-empty":t.empty,"k-readonly":t.readonly,"k-highlighted":t.highlighted});var i={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},x={small:"small",medium:"medium",large:"large",full:"full"},f={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},c={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},a={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"};var qt=require("react/jsx-runtime"),Fo="k-icon k-font-icon",si=[],ni={size:[i.xsmall,i.small,i.medium,i.large,i.xlarge,i.xxlarge,i.xxxlarge],themeColor:[c.base,c.primary,c.secondary,c.tertiary,c.success,c.warning,c.error,c.info,c.light,c.dark]},ri={},Wt=e=>{let{size:t,themeColor:o,icon:n,rotate:r,flip:l,...p}=e;return n?(0,qt.jsx)("span",{...p,className:s(e.className,Fo,y(Fo,{size:t}),{[`k-i-${n}`]:n,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"})}):(0,qt.jsx)(qt.Fragment,{})};Wt.states=si;Wt.options=ni;Wt.className=Fo;Wt.defaultOptions=ri;var Os=Wt;var at=require("react/jsx-runtime"),Xo="k-icon k-svg-icon",ii=[],li={size:[i.xsmall,i.small,i.medium,i.large,i.xlarge,i.xxlarge,i.xxxlarge],themeColor:[c.base,c.primary,c.secondary,c.tertiary,c.success,c.warning,c.error,c.info,c.light,c.dark]},Rs={viewBox:"0 0 24 24"},Zt=e=>{let{size:t,themeColor:o,rotate:n,flip:r,viewBox:l=Rs.viewBox,icon:p,...m}=e;if(!p)return(0,at.jsx)(at.Fragment,{});p==="none"&&{...m,className:s(e.className,Xo,"k-none")};let u=typeof p=="object"&&p.name&&p.name;return(0,at.jsx)("span",{...m,className:s(e.className,Xo,y("k-icon",{size:t}),{[`k-svg-i-${u}`]:u,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),children:(0,at.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof p=="object"?p.viewBox:l,dangerouslySetInnerHTML:typeof p=="object"?{__html:p.content}:void 0,children:p?void 0:e.children})})};Zt.states=ii;Zt.options=li;Zt.className=Xo;Zt.defaultOptions=Rs;var Jo=Zt;var Hs=oi(require("@progress/kendo-svg-icons")),Ee=require("react/jsx-runtime"),pi=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),ci=[],di={size:[i.xsmall,i.small,i.medium,i.large,i.xlarge,i.xxlarge,i.xxxlarge],themeColor:[c.base,c.primary,c.secondary,c.tertiary,c.success,c.warning,c.error,c.info,c.light,c.dark]},qo={viewBox:"0 0 24 24",type:"svg"},S=e=>{let{size:t,themeColor:o,icon:n,type:r=qo.type,rotate:l,flip:p,viewBox:m=qo.viewBox,...u}=e;if(!n)return(0,Ee.jsx)(Ee.Fragment,{});if(r==="svg"){if(n==="none")return(0,Ee.jsx)(Jo,{...u,icon:n,size:t});let h=pi(`${n}-icon`);return Hs[h]?(0,Ee.jsx)(Jo,{...u,icon:Hs[h],size:t,themeColor:o,rotate:l,flip:p,viewBox:m}):(0,Ee.jsx)(Ee.Fragment,{})}return(0,Ee.jsx)(Os,{...u,icon:n,size:t,themeColor:o,rotate:l,flip:p})};S.states=ci;S.options=di;S.defaultOptions=qo;var ue=require("react/jsx-runtime"),So="k-button",mi=[a.hover,a.focus,a.active,a.selected,a.disabled],ui={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[c.base,c.primary,c.secondary,c.tertiary,c.success,c.warning,c.error,c.info,c.light,c.dark,c.inverse]},st={size:i.medium,rounded:x.medium,fillMode:f.solid,themeColor:c.base,showArrow:!1,arrowIconName:"caret-alt-down"},b=e=>{let{size:t=st.size,rounded:o=st.rounded,fillMode:n=st.fillMode,themeColor:r=st.themeColor,showArrow:l=st.showArrow,arrowIconName:p=st.arrowIconName,hover:m,focus:u,active:h,selected:N,disabled:k,icon:d,text:v,iconClassName:g,...C}=e,A=d!==void 0,B=e.children!==void 0;return(0,ue.jsxs)("button",{...C,className:s(e.className,So,y(So,{size:t,rounded:o,fillMode:n,themeColor:r}),M(So,{hover:m,focus:u,active:h,disabled:k,selected:N}),{"k-icon-button":!v&&!B&&A}),children:[d&&(0,ue.jsx)(S,{className:s(g,"k-button-icon"),icon:d}),v?(0,ue.jsxs)(ue.Fragment,{children:[v&&(0,ue.jsx)("span",{className:"k-button-text",children:v}),e.children]}):e.children&&(0,ue.jsx)("span",{className:"k-button-text",children:e.children}),l&&(0,ue.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,ue.jsx)(S,{icon:p})})]})};b.states=mi;b.options=ui;b.className=So;b.defaultOptions=st;var Gs=require("react/jsx-runtime"),Pe=e=>(0,Gs.jsx)(b,{icon:"folder",...e,children:void 0});var Ds=require("react/jsx-runtime"),Wo=e=>(0,Ds.jsx)(b,{icon:"folder",children:"Button",...e});var fi=require("react/jsx-runtime");var $s=require("react/jsx-runtime"),Qt="k-button-group",bi=[a.disabled],hi={fillMode:[f.solid,f.flat,f.outline,f.clear,f.link]},_s={fillMode:f.solid},R=e=>{let{fillMode:t=_s.fillMode,disabled:o,stretched:n,...r}=e;return(0,$s.jsx)("div",{...r,className:s(e.className,Qt,y(Qt,{fillMode:t}),M(Qt,{disabled:o}),{[`${Qt}-stretched`]:n}),children:e.children})};R.states=bi;R.options=hi;R.className=Qt;R.defaultOptions=_s;var Zo=require("react/jsx-runtime");var Qo=require("react/jsx-runtime");var Yo=require("react/jsx-runtime");var jo=require("react/jsx-runtime");var Vs=require("react/jsx-runtime"),Lo="k-input",xi=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Ni={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[f.solid,f.flat,f.outline]},Mo={size:i.medium,rounded:i.medium,fillMode:f.solid},z=e=>{let{hover:t,focus:o,disabled:n,invalid:r,valid:l,loading:p,readonly:m,size:u=Mo.size,rounded:h=Mo.rounded,fillMode:N=Mo.fillMode,...k}=e;return(0,Vs.jsx)("span",{...k,className:s(e.className,Lo,y(Lo,{size:u,rounded:h,fillMode:N}),M(Lo,{hover:t,focus:o,disabled:n,invalid:r,valid:l,loading:p,readonly:m}))})};z.states=xi;z.options=Ni;z.className=Lo;z.defaultOptions=Mo;var Us=require("react/jsx-runtime"),yo="k-picker",vi=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],gi={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[f.solid,f.flat,f.outline]},Co={size:i.medium,rounded:x.medium,fillMode:f.solid},fe=e=>{let{hover:t,focus:o,disabled:n,invalid:r,valid:l,loading:p,readonly:m,size:u=Co.size,rounded:h=Co.rounded,fillMode:N=Co.fillMode,...k}=e;return(0,Us.jsx)("span",{...k,className:s(e.className,yo,y(yo,{size:u,rounded:h,fillMode:N}),M(yo,{hover:t,focus:o,disabled:n,invalid:r,valid:l,loading:p,readonly:m})),children:e.children})};fe.states=vi;fe.options=gi;fe.className=yo;fe.defaultOptions=Co;var yt=require("react/jsx-runtime"),Fs="k-clear-value",ki=[a.disabled,a.loading,a.readonly],Si={},be=e=>{let{disabled:t,loading:o,readonly:n,value:r}=e;return t||n||o||!r?(0,yt.jsx)(yt.Fragment,{}):(0,yt.jsx)("span",{className:s(e.className,Fs),children:(0,yt.jsx)(S,{icon:"x"})})};be.states=ki;be.options=Si;be.className=Fs;var Xs=require("react/jsx-runtime"),ea="k-input-inner",Li=[],Mi={},Io={type:"text",autocomplete:"off",value:"",placeholder:""},he=e=>{let{value:t=Io.value,type:o=Io.type,placeholder:n=Io.placeholder,autocomplete:r=Io.autocomplete,...l}=e;return(0,Xs.jsx)("input",{...l,type:o,className:s(e.className,ea,y(ea,e)),placeholder:n,autoComplete:r,defaultValue:t})};he.states=Li;he.options=Mi;he.className=ea;var Yt=require("react/jsx-runtime"),ta="k-input-inner",yi=[],Ci={},nt=e=>{let{value:t,placeholder:o,showValue:n,valueIcon:r,valueIconName:l,...p}=e;return(0,Yt.jsxs)("span",{...p,className:s(e.className,ta,y(ta,e)),children:[r,!r&&l&&(0,Yt.jsx)(S,{className:"k-input-value-icon",icon:l}),n&&!t&&o,n&&t&&(0,Yt.jsx)("span",{className:"k-input-value-text",children:t})]})};nt.states=yi;nt.options=Ci;nt.className=ta;var qs=require("react/jsx-runtime"),oa="k-input-inner",Ii=[],Ai={},Js={value:"",placeholder:""},jt=e=>{let{value:t=Js.value,placeholder:o=Js.placeholder,rows:n,...r}=e;return(0,qs.jsx)("textarea",{...r,className:s(e.className,oa,y(oa,e)),placeholder:o,rows:n,defaultValue:t})};jt.states=Ii;jt.options=Ai;jt.className=oa;var eo=require("react/jsx-runtime"),Ws="k-input-loading-icon",Ti=[a.disabled,a.loading],oe=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,eo.jsx)(eo.Fragment,{}):(0,eo.jsx)("span",{className:s(e.className,Ws,"k-icon k-i-loading")})};oe.states=Ti;oe.className=Ws;var to=require("react/jsx-runtime"),Zs="k-input-validation-icon",Bi=[a.valid,a.invalid,a.disabled,a.loading],zi={},j=e=>{let{valid:t,invalid:o,disabled:n,loading:r}=e,l=o?"warning-circle":"check-circle";return n||r||!!!(t||o)?(0,to.jsx)(to.Fragment,{}):(0,to.jsx)(S,{className:s(Zs),icon:l})};j.states=Bi;j.options=zi;j.className=Zs;var oo=require("react/jsx-runtime"),Ei="k-input-prefix",Pi={direction:"horizontal"},ae=e=>{let{direction:t=Pi.direction,...o}=e;return e.children?(0,oo.jsx)("span",{...o,className:s(Ei,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,oo.jsx)(oo.Fragment,{})};var ao=require("react/jsx-runtime"),wi="k-input-suffix",Ki={direction:"horizontal"},se=e=>{let{direction:t=Ki.direction,...o}=e;return e.children?(0,ao.jsx)("span",{...o,className:s(wi,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,ao.jsx)(ao.Fragment,{})};var Oi=require("react/jsx-runtime");var Ri=require("react/jsx-runtime");var Ys=require("react/jsx-runtime"),Qs="k-input-separator",Hi={direction:"vertical"},ne=e=>{let{direction:t=Hi.direction,...o}=e;return(0,Ys.jsx)("span",{...o,className:s(Qs,e.className,{[`${Qs}-${t}`]:t})})};var so=require("react/jsx-runtime"),js="k-color-preview",Gi=[],Di={},$e=e=>{let{color:t,iconName:o,...n}=e;return(0,so.jsxs)("span",{...n,className:s(e.className,js,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,so.jsx)(S,{icon:o,className:"k-color-preview-icon"}),(0,so.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};$e.states=Gi;$e.options=Di;$e.className=js;var aa=require("react/jsx-runtime"),en="k-animation-container",_i=[],$i={},tn={positionMode:"absolute"},Ve=e=>{let{positionMode:t=tn.positionMode,animationStyle:o,offset:n,...r}=e;return(0,aa.jsx)("div",{...r,style:{...n,...e.style},className:s(e.className,en,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,aa.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};Ve.states=_i;Ve.options=$i;Ve.className=en;Ve.defaultOptions=tn;var sa=require("react/jsx-runtime"),on="k-popup",Vi=[],Ui={},an={positionMode:"absolute"},U=e=>{let{offset:t,positionMode:o=an.positionMode,animationStyle:n,...r}=e;return(0,sa.jsx)(Ve,{positionMode:o,offset:t,animationStyle:n,children:(0,sa.jsx)("div",{...r,className:s(e.className,on),children:e.children})})};U.states=Vi;U.options=Ui;U.className=on;U.defaultOptions=an;var nn=require("react/jsx-runtime"),Ao="k-actions",Fi=[],Xi={},na={alignment:"start",orientation:"horizontal"},xe=e=>{let{alignment:t=na.alignment,orientation:o=na.orientation,...n}=e;return(0,nn.jsx)("div",{...n,className:s(Ao,{[`${Ao}-${t}`]:t,[`${Ao}-${o}`]:o},e.className),children:e.children})};xe.states=Fi;xe.options=Xi;xe.className=Ao;xe.defaultOptions=na;var sn=xe;var ln=require("react/jsx-runtime"),Ji="k-actionsheet-footer",rn={alignment:"stretched",orientation:"horizontal"},no=e=>{let{alignment:t=rn.alignment,orientation:o=rn.orientation,template:n,as:r=n?"div":xe,...l}=e;return(0,ln.jsx)(r,{...l,...!n&&{alignment:t,orientation:o},className:s(e.className,Ji),children:e.children})};var Ue=require("react/jsx-runtime"),pn="k-searchbox",qi=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading],Wi={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[f.solid,f.flat,f.outline]},ra={showIcon:!0,icon:"search",size:z.defaultOptions.size,rounded:z.defaultOptions.rounded,fillMode:z.defaultOptions.fillMode},we=e=>{let{value:t,placeholder:o,size:n,rounded:r,fillMode:l,hover:p,focus:m,valid:u,invalid:h,required:N,loading:k,disabled:d,showIcon:v=ra.showIcon,icon:g=ra.icon,...C}=e;return(0,Ue.jsxs)(z,{...C,size:n,rounded:r,fillMode:l,hover:p,focus:m,valid:u,invalid:h,required:N,loading:k,disabled:d,className:s(e.className,pn),children:[v&&(0,Ue.jsx)(S,{className:"k-input-icon",icon:g}),(0,Ue.jsx)(he,{placeholder:o,value:t}),(0,Ue.jsx)(oe,{...e}),(0,Ue.jsx)(j,{...e}),(0,Ue.jsx)(be,{...e})]})};we.states=qi;we.options=Wi;we.className=pn;we.defaultOptions=ra;var Zi=require("react/jsx-runtime");var q=require("react/jsx-runtime"),cn="k-textbox",Qi=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Yi={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[f.solid,f.flat,f.outline]},rt={showClearButton:!0,showValidationIcon:!0,size:z.defaultOptions.size,rounded:z.defaultOptions.rounded,fillMode:z.defaultOptions.fillMode,separators:!0},Fe=e=>{let{size:t=rt.size,rounded:o=rt.rounded,fillMode:n=rt.fillMode,separators:r=rt.separators,showClearButton:l=rt.showClearButton,showValidationIcon:p=rt.showValidationIcon,prefix:m,suffix:u,type:h,value:N,placeholder:k,hover:d,focus:v,valid:g,invalid:C,required:A,loading:B,disabled:P,readonly:V,...Le}=e;return(0,q.jsxs)(z,{...Le,size:t,rounded:o,fillMode:n,hover:d,focus:v,valid:g,invalid:C,required:A,loading:B,disabled:P,readonly:V,className:s(e.className,cn),children:[m&&(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(ae,{children:m}),r&&(0,q.jsx)(ne,{})]}),(0,q.jsx)(he,{placeholder:k,value:N,type:h}),p&&(0,q.jsx)(j,{valid:g,invalid:C,loading:B,disabled:P}),(0,q.jsx)(oe,{loading:B,disabled:P}),l&&(0,q.jsx)(be,{loading:B,disabled:P,readonly:V,value:N}),u&&(0,q.jsxs)(q.Fragment,{children:[r&&(0,q.jsx)(ne,{}),(0,q.jsx)(se,{children:u})]})]})};Fe.states=Qi;Fe.options=Yi;Fe.className=cn;Fe.defaultOptions=rt;var ji=require("react/jsx-runtime");var mn=require("react/jsx-runtime");var un=require("react/jsx-runtime");var ee=require("react/jsx-runtime"),fn="k-actionsheet-titlebar",el={},re=e=>{let{title:t,subtitle:o,actionsStart:n,actionsEnd:r,filter:l,input:p,inputValue:m,inputPlaceholder:u,adaptive:h,children:N,...k}=e;return(0,ee.jsxs)("div",{...k,className:s(e.className,fn),children:[(0,ee.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[n&&(0,ee.jsx)("div",{className:"k-actionsheet-actions",children:n}),!N&&(0,ee.jsxs)("div",{className:"k-actionsheet-title",children:[t&&(0,ee.jsx)("div",{className:"k-text-center",children:t}),o&&(0,ee.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&(0,ee.jsx)("div",{className:"k-actionsheet-title",children:N}),r&&(0,ee.jsx)("div",{className:"k-actionsheet-actions",children:r})]}),(p||l)&&(0,ee.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:p?(0,ee.jsx)(Fe,{value:m,placeholder:u,size:h?"large":"medium"}):(0,ee.jsx)(we,{placeholder:"Filter",size:h?"large":"medium"})})]})};re.className=fn;re.defaultOptions=el;var Ct=require("react/jsx-runtime"),ia="k-actionsheet-view",tl=[],ol={},al={},It=e=>{let{adaptive:t,animated:o,children:n,header:r,footer:l,...p}=e,m=(r==null?void 0:r.type)===re&&(0,Ct.jsx)(re,{adaptive:t,...r==null?void 0:r.props}),u=(l==null?void 0:l.type)===no&&(0,Ct.jsx)(no,{...l==null?void 0:l.props});return(0,Ct.jsxs)("div",{...p,className:s(e.className,ia,{[`${ia}-animated`]:o}),children:[m,(0,Ct.jsx)("div",{className:"k-actionsheet-content",children:n}),u]})};It.states=tl;It.options=ol;It.className=ia;It.defaultOptions=al;var it=require("react/jsx-runtime"),bn="k-actionsheet",sl=[],nl={},ro={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Ne=e=>{let{side:t=ro.side,fullscreen:o=ro.fullscreen,adaptive:n=ro.adaptive,overlay:r=ro.overlay,template:l,children:p,header:m,footer:u,...h}=e;return(0,it.jsxs)("div",{className:"k-actionsheet-container",children:[r&&(0,it.jsx)("div",{className:"k-overlay"}),(0,it.jsx)(Ve,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:(0,it.jsx)("div",{...h,className:s(e.className,bn,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":n}),children:l||(0,it.jsx)(It,{header:m,footer:u,adaptive:n,...e,children:p})})})]})};Ne.states=sl;Ne.options=nl;Ne.className=bn;Ne.defaultOptions=ro;var rl=require("react/jsx-runtime");var ie=require("react/jsx-runtime"),la="k-actionsheet-item",il=[a.hover,a.focus,a.selected,a.disabled],pa=e=>{let{iconName:t,text:o,description:n,hover:r,focus:l,selected:p,disabled:m,...u}=e;return(0,ie.jsxs)("span",{...u,className:s(e.className,la,M(la,{hover:r,focus:l,selected:p,disabled:m})),children:[!e.children&&(0,ie.jsx)(ie.Fragment,{children:(0,ie.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,ie.jsx)("span",{className:"k-icon-wrap",children:(0,ie.jsx)(S,{className:"k-actionsheet-item-icon",icon:t})}),(0,ie.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,ie.jsx)("span",{className:"k-actionsheet-item-title",children:o}),n&&(0,ie.jsx)("span",{className:"k-actionsheet-item-description",children:n})]})]})}),e.children]})};pa.states=il;pa.className=la;var hn=require("react/jsx-runtime");var ll=require("react/jsx-runtime");var pl=require("react/jsx-runtime");var cl=require("react/jsx-runtime");var ve=require("react/jsx-runtime"),io="k-slider",dl=[a.hover,a.focus,a.active,a.disabled,a.readonly],ml={},Xe={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},le=e=>{let{type:t=Xe.type,orientation:o=Xe.orientation,readonly:n=Xe.readonly,disabled:r=Xe.disabled,handlePosition:l=Xe.handlePosition,showButtons:p=Xe.showButtons,showTicks:m=Xe.showTicks,hover:u,focus:h,active:N,trackStyle:k,dir:d,...v}=e,g,C;return o==="horizontal"?(g=d==="rtl"?"caret-alt-left":"caret-alt-right",C=d==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(g="caret-alt-up",C="caret-alt-down"),(0,ve.jsxs)("div",{...v,className:s(io,e.className,M(io,{readonly:n,disabled:r}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:d,children:[p&&(0,ve.jsx)(b,{className:"k-button-decrease",rounded:"full",icon:C}),(0,ve.jsxs)("div",{className:"k-slider-track-wrap",children:[m&&(0,ve.jsx)("ul",{className:"k-reset k-slider-items",children:e.children}),(0,ve.jsxs)("div",{className:"k-slider-track",style:k,children:[(0,ve.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,ve.jsx)("span",{className:s("k-draghandle","k-draghandle-start",M(io,{hover:u,focus:h,active:N}))}),(0,ve.jsx)("span",{className:s("k-draghandle",`k-draghandle-${l}`,M(io,{hover:u,focus:h,active:N}))})]})]}),p&&(0,ve.jsx)(b,{className:"k-button-increase",rounded:"full",icon:g})]})};le.states=dl;le.options=ml;le.className=io;le.defaultOptions=Xe;var ca=require("react/jsx-runtime"),Nn="k-tick",ul=[],fl={},vn={label:!1},Je=e=>{let{style:t,label:o=vn.label,orientation:n,large:r,text:l,...p}=e;return(0,ca.jsx)("li",{...p,className:s(e.className,Nn,{[`k-tick-${n}`]:n,"k-tick-large":r}),style:t,children:o&&(0,ca.jsx)("span",{className:"k-label",children:l})})};Je.states=ul;Je.options=fl;Je.className=Nn;Je.defaultOptions=vn;var da=require("react/jsx-runtime");var ma=require("react/jsx-runtime");var ua=require("react/jsx-runtime");var fa=require("react/jsx-runtime");var gn=require("react/jsx-runtime"),ba=e=>(0,gn.jsx)(le,{type:"gradient",showButtons:!1,showTicks:!1,...e});var kn=require("react/jsx-runtime"),ha=e=>(0,kn.jsx)(le,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});var lo=require("react/jsx-runtime"),Sn="k-spin-button",bl=[],hl={size:[i.small,i.medium,i.large],fillMode:[f.solid,f.flat,f.outline,f.clear,f.link]},xa={size:i.medium,fillMode:f.solid},At=e=>{let{size:t=xa.size,fillMode:o=xa.fillMode,...n}=e;return(0,lo.jsxs)("span",{...n,className:s(Sn,e.className),children:[(0,lo.jsx)(b,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),(0,lo.jsx)(b,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};At.states=bl;At.options=hl;At.className=Sn;At.defaultOptions=xa;var F=require("react/jsx-runtime"),Ln="k-numerictextbox",xl=[a.hover,a.focus,a.valid,a.invalid,a.loading,a.required,a.disabled,a.readonly],Nl={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[f.solid,f.flat,f.outline]},lt={showSpinButton:!0,showClearButton:!0,size:z.defaultOptions.size,rounded:z.defaultOptions.rounded,fillMode:z.defaultOptions.fillMode,separators:!0},G=e=>{let{size:t=lt.size,rounded:o=lt.rounded,fillMode:n=lt.fillMode,separators:r=lt.separators,showClearButton:l=lt.showClearButton,showSpinButton:p=lt.showSpinButton,prefix:m,suffix:u,value:h,placeholder:N,hover:k,focus:d,valid:v,invalid:g,required:C,loading:A,disabled:B,readonly:P,...V}=e;return(0,F.jsxs)(z,{...V,size:t,rounded:o,fillMode:n,hover:k,focus:d,valid:v,invalid:g,required:C,loading:A,disabled:B,readonly:P,className:s(e.className,Ln),children:[m&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(ae,{children:m}),r&&(0,F.jsx)(ne,{})]}),(0,F.jsx)(he,{placeholder:N,value:h}),(0,F.jsx)(j,{valid:v,invalid:g,loading:A,disabled:B}),(0,F.jsx)(oe,{loading:A,disabled:B}),l&&(0,F.jsx)(be,{loading:A,disabled:B,readonly:P,value:h}),u&&(0,F.jsxs)(F.Fragment,{children:[r&&(0,F.jsx)(ne,{}),(0,F.jsx)(se,{children:u})]}),p&&(0,F.jsx)(At,{className:"k-input-spinner",size:t,fillMode:n})]})};G.states=xl;G.options=Nl;G.className=Ln;G.defaultOptions=lt;var vl=require("react/jsx-runtime");var yn=require("react/jsx-runtime"),gl="k-no-data",po=e=>(0,yn.jsx)("span",{className:s(gl,e.className),children:e.children});var Me=require("react/jsx-runtime"),Na="k-list",kl=[],Sl={size:[i.small,i.medium,i.large]},Cn={size:i.medium},w=e=>{let{size:t=Cn.size,virtualization:o,children:n,optionLabel:r,customValue:l,screenReaders:p,...m}=e,u,h,N,k,d=[];return n?n.map((v,g)=>{v.type===X?(v.props.root===!0?(u=v.props.label,v.props.children.map((C,A)=>{d.push((0,Me.jsx)(T,{...C.props},`optChild-${A}-${new Date().getTime()}`))})):v.props.children.forEach((C,A)=>{let B="";A===0&&(B=v.props.label),d.push((0,Me.jsx)(T,{className:A===0?"k-first":"",...C.props,groupLabel:B},`groupLabel-${A}-${new Date().getTime()}`))}),h=(0,Me.jsx)(X,{label:u,virtualization:o,children:d})):v.type===T&&(d.push((0,Me.jsx)(T,{...v.props},`${v.type}-${g}`)),N=(0,Me.jsx)(Tt,{virtualization:o,children:d}),p&&(k=(0,Me.jsxs)(po,{className:"k-sr-only",children:[d.length," items found."]})))}):k=(0,Me.jsx)(po,{children:"No data found."}),(0,Me.jsxs)("div",{...m,className:s(e.className,Na,y(Na,{size:t}),{"k-virtual-list":o}),children:[r,l,h,N,k]})};w.states=kl;w.options=Sl;w.className=Na;w.defaultOptions=Cn;var ye=require("react/jsx-runtime"),va="k-list",Ll=[],Ml={size:[i.small,i.medium,i.large]},In={size:i.medium},pt=e=>{let{size:t=In.size,virtualization:o,children:n,...r}=e,l,p,m,u=[];return n?n.map((h,N)=>{h.type===X?(h.props.root===!0?(l=h.props.label,h.props.children.map((k,d)=>{u.push((0,ye.jsx)(T,{...k.props},`optChild-${d}-${new Date().getTime()}`))})):(u.push((0,ye.jsx)(An,{...h.props,children:h.props.label},`listChild-${N}`)),h.props.children.map((k,d)=>{u.push((0,ye.jsx)(T,{...k.props},`fwOptChild-${d}-${new Date().getTime()}`))})),p=(0,ye.jsx)(X,{label:l,virtualization:o,children:u})):h.type===T&&(u.push((0,ye.jsx)(T,{...h.props},`${h.type}-${N}`)),m=(0,ye.jsx)(Tt,{virtualization:o,children:u}))}):m=(0,ye.jsx)(po,{children:"No data found."}),(0,ye.jsxs)("div",{...r,className:s(e.className,va,y(va,{size:t}),{"k-virtual-list":o}),children:[p,m]})};pt.states=Ll;pt.options=Ml;pt.className=va;pt.defaultOptions=In;var ka=require("react/jsx-runtime"),To="k-checkbox",yl=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.checked,a.indeterminate],Cl={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full]},ga={size:i.medium,rounded:x.medium},qe=e=>{let{id:t,checked:o,indeterminate:n,hover:r,focus:l,disabled:p,invalid:m,valid:u,required:h,size:N=ga.size,rounded:k=ga.rounded,...d}=e;return(0,ka.jsx)("span",{className:"k-checkbox-wrap",children:(0,ka.jsx)("input",{...d,id:t,type:"checkbox",defaultChecked:o,required:h,className:s(e.className,To,y(To,{size:N,rounded:k}),M(To,{hover:r,focus:l,disabled:p,invalid:m,valid:u,indeterminate:n,checked:o}))})})};qe.states=yl;qe.options=Cl;qe.className=To;qe.defaultOptions=ga;var zn=require("react/jsx-runtime"),Tn="k-checkbox-list",Il=[],Al={},Bn={layout:"vertical"},Bt=e=>{let{layout:t=Bn.layout,...o}=e;return(0,zn.jsx)("ul",{...o,className:s(e.className,Tn,{[`k-list-${t}`]:t}),children:e.children})};Bt.states=Il;Bt.options=Al;Bt.className=Tn;Bt.defaultOptions=Bn;var Pn=require("react/jsx-runtime"),En="k-checkbox-list-item",Tl=[],Bl={},zl={},zt=e=>{let{...t}=e;return(0,Pn.jsx)("li",{...t,className:s(e.className,En),children:e.children})};zt.states=Tl;zt.options=Bl;zt.className=En;zt.defaultOptions=zl;var La=require("react/jsx-runtime");var Ma=require("react/jsx-runtime");var ya=require("react/jsx-runtime");var Ca=require("react/jsx-runtime");var El=require("react/jsx-runtime");var Pl=require("react/jsx-runtime");var ct=require("react/jsx-runtime"),Ia="k-list-item",wl=[a.hover,a.focus,a.selected,a.disabled],Kl={},Ol={},T=e=>{let{text:t,groupLabel:o,group:n,showIcon:r,iconName:l,showCheckbox:p,checked:m,hover:u,focus:h,selected:N,disabled:k,...d}=e,v=t||e.children;return(0,ct.jsxs)("li",{...d,className:s(e.className,n?"k-list-group-item":Ia,M(Ia,{hover:u,focus:h,disabled:k,selected:N})),children:[p&&(0,ct.jsx)(qe,{checked:m}),r&&(0,ct.jsx)(S,{icon:l}),(0,ct.jsx)("span",{className:"k-list-item-text",children:v}),o&&o!==""&&(0,ct.jsx)("div",{className:"k-list-item-group-label",children:o})]})};T.states=wl;T.options=Kl;T.className=Ia;T.defaultOptions=Ol;var Et=require("react/jsx-runtime"),Rl="k-list-content",Tt=e=>{let{virtualization:t,...o}=e;return(0,Et.jsxs)("div",{...o,className:s(Rl,e.className),children:[(0,Et.jsx)("ul",{className:s("k-list-ul"),children:e.children}),t&&(0,Et.jsx)("div",{className:"k-height-container",children:(0,Et.jsx)("div",{})})]})};var Aa=require("react/jsx-runtime"),Hl="k-list-group-sticky-header",wn=e=>(0,Aa.jsx)("div",{className:s(Hl,e.className),children:(0,Aa.jsx)("div",{className:"k-list-header-text",children:e.children})});var dt=require("react/jsx-runtime"),X=e=>{let{virtualization:t,label:o}=e;return(0,dt.jsxs)(dt.Fragment,{children:[o&&(0,dt.jsx)(wn,{children:o}),e.children&&(0,dt.jsx)(Tt,{virtualization:t,children:e.children})]})};var Ta=require("react/jsx-runtime"),Gl="k-list-group-item",An=e=>(0,Ta.jsx)("li",{className:s(Gl,e.className),children:(0,Ta.jsx)("span",{className:"k-list-item-text",children:e.children})});var Kn=require("react/jsx-runtime"),Ba="k-list-optionlabel",Dl=[a.hover,a.focus,a.selected,a.disabled],_l={},$l={},Bo=e=>{let{text:t,hover:o,focus:n,selected:r,disabled:l,...p}=e;return(0,Kn.jsx)("div",{...p,className:s(Ba,M(Ba,{hover:o,focus:n,selected:r,disabled:l})),children:t})};Bo.states=Dl;Bo.options=_l;Bo.className=Ba;Bo.defaultOptions=$l;var On=require("react/jsx-runtime"),za="k-list-custom-value",Vl=[a.hover,a.focus,a.selected,a.disabled],Ul={},Fl={},We=e=>{let{text:t,hover:o,focus:n,selected:r,disabled:l,...p}=e;return(0,On.jsx)("div",{...p,className:s(za,M(za,{hover:o,focus:n,selected:r,disabled:l})),children:t})};We.states=Vl;We.options=Ul;We.className=za;We.defaultOptions=Fl;var Xl=require("react/jsx-runtime");var Jl=require("react/jsx-runtime");var Rn=require("react/jsx-runtime");var Hn=require("react/jsx-runtime");var ql=require("react/jsx-runtime");var Gn=require("react/jsx-runtime");var Dn=require("react/jsx-runtime");var O=require("react/jsx-runtime"),_n="k-dropdownlist",Wl=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Zl={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[f.solid,f.flat,f.outline]},Pt={showValue:!0,arrowIconName:"caret-alt-down",size:i.medium,rounded:x.medium,fillMode:f.solid},Ze=e=>{let{size:t=Pt.size,rounded:o=Pt.rounded,fillMode:n=Pt.fillMode,arrowIconName:r=Pt.arrowIconName,showValue:l=Pt.showValue,valueIconName:p,prefix:m,suffix:u,value:h,placeholder:N,hover:k,focus:d,valid:v,invalid:g,required:C,loading:A,disabled:B,readonly:P,popup:V,opened:Le,adaptive:Xt,adaptiveSettings:Jt,adaptiveTitle:Vo,adaptiveSubtitle:Uo,adaptiveFilter:qr,...Wr}=e;return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(fe,{...Wr,size:t,rounded:o,fillMode:n,hover:k,focus:d,valid:v,invalid:g,required:C,loading:A,disabled:B,readonly:P,className:s(e.className,_n,{"k-icon-picker":!l&&p}),children:[(0,O.jsx)(ae,{children:m}),(0,O.jsx)(nt,{placeholder:N,value:h,showValue:l,valueIconName:p}),(0,O.jsx)(j,{valid:v,invalid:g,loading:A,disabled:B}),(0,O.jsx)(oe,{loading:A,disabled:B}),(0,O.jsx)(se,{children:u}),(0,O.jsx)(b,{className:"k-input-button",icon:r,rounded:null,size:e.size,fillMode:e.fillMode})]}),Le&&V&&(0,O.jsx)(U,{className:"k-list-container k-dropdownlist-popup",children:V}),Xt&&(0,O.jsx)(Ne,{adaptive:!0,...Jt,header:(0,O.jsx)(re,{actionsEnd:(0,O.jsx)(b,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:qr,inputValue:h,inputPlaceholder:N,title:Vo,subtitle:Uo}),children:(0,O.jsx)("div",{className:"k-list-container",children:(0,O.jsxs)(w,{size:"large",children:[(0,O.jsx)(T,{text:"List item"}),(0,O.jsx)(T,{text:"List item"}),(0,O.jsx)(T,{text:"List item"})]})})})]})};Ze.states=Wl;Ze.options=Zl;Ze.className=_n;Ze.defaultOptions=Pt;var Ql=require("react/jsx-runtime");var $n=require("react/jsx-runtime");var Ea=require("react/jsx-runtime");var Yl=require("react/jsx-runtime");var Vn=require("react/jsx-runtime");var Un=require("react/jsx-runtime");var Pa=require("react/jsx-runtime");var wa=require("react/jsx-runtime");var Fn=require("react/jsx-runtime");var Xn=require("react/jsx-runtime");var L=require("react/jsx-runtime"),Jn="k-colorgradient-inputs",jl=[],ep={size:[i.small,i.medium,i.large]},qn={mode:"rgba",size:i.medium},wt=e=>{let{mode:t=qn.mode,size:o,...n}=e;return(0,L.jsxs)("div",{...n,className:s(Jn,"k-hstack"),children:[(0,L.jsx)("div",{className:"k-vstack",children:(0,L.jsx)(b,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),t==="rgba"&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,L.jsxs)("div",{className:"k-vstack",children:[(0,L.jsx)(G,{showSpinButton:!1,showClearButton:!1,value:"132"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,L.jsx)(L.Fragment,{children:(0,L.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,L.jsx)(Fe,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};wt.states=jl;wt.options=ep;wt.className=Jn;wt.defaultOptions=qn;var W=require("react/jsx-runtime"),Wn="k-colorgradient-color-contrast",tp=[],op={},ap={},Kt=()=>(0,W.jsxs)("div",{className:s(Wn,"k-vbox"),children:[(0,W.jsxs)("div",{className:"k-contrast-ratio",children:[(0,W.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,W.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,W.jsx)(S,{icon:"check"}),(0,W.jsx)(S,{icon:"check"})]})]}),(0,W.jsxs)("div",{children:[(0,W.jsx)("span",{children:"AA: 4.5"}),(0,W.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,W.jsx)(S,{icon:"check"})]})]}),(0,W.jsxs)("div",{children:[(0,W.jsx)("span",{children:"AAA: 7.0"}),(0,W.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,W.jsx)(S,{icon:"x"})]})]})]});Kt.states=tp;Kt.options=op;Kt.className=Wn;Kt.defaultOptions=ap;var D=require("react/jsx-runtime"),zo="k-colorgradient",sp=[a.hover,a.focus,a.readonly,a.disabled],np={size:[i.small,i.medium,i.large]},ge={size:i.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"},Qe=e=>{let{size:t=ge.size,mode:o=ge.mode,readonly:n=ge.readonly,disabled:r=ge.disabled,gradientStyle:l=ge.gradientStyle,dragHandleStyle:p=ge.dragHandleStyle,alphaStyle:m=ge.alphaStyle,alphaStyleHorizontal:u=ge.alphaStyleHorizontal,contrast:h=ge.contrast,dir:N,hover:k,focus:d,hoverHandle:v,focusHandle:g,canvasOrientation:C=ge.canvasOrientation,...A}=e;return(0,D.jsxs)("div",{...A,className:s(e.className,zo,y(zo,{size:t}),M(zo,{hover:k,focus:d,readonly:n,disabled:r})),dir:N,children:[!C||C==="horizontal"&&(0,D.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,D.jsx)("div",{className:"k-hsv-rectangle",style:l,children:(0,D.jsx)("div",{className:"k-hsv-gradient",children:(0,D.jsx)("div",{className:s("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":g}),style:p})})}),(0,D.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,D.jsx)(ha,{className:"k-hue-slider",hover:v,focus:g}),o!=="rgb"&&o!=="hsv"&&(0,D.jsx)(ha,{className:"k-alpha-slider",hover:v,focus:g,trackStyle:m})]})]}),C==="vertical"&&(0,D.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,D.jsx)("div",{className:"k-hsv-rectangle",style:l,children:(0,D.jsx)("div",{className:"k-hsv-gradient",children:(0,D.jsx)("div",{className:s("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":g}),style:p})})}),(0,D.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,D.jsx)(ba,{className:"k-hue-slider",hover:v,focus:g}),o!=="rgb"&&o!=="hsv"&&(0,D.jsx)(ba,{className:"k-alpha-slider",hover:v,focus:g,trackStyle:u})]})]}),(0,D.jsx)(wt,{mode:e.mode,size:t}),h&&(0,D.jsx)(Kt,{})]})};Qe.states=sp;Qe.options=np;Qe.className=zo;Qe.defaultOptions=ge;var rp=require("react/jsx-runtime");var ip=require("react/jsx-runtime");var Qn=require("react/jsx-runtime"),Zn=e=>(0,Qn.jsx)("tr",{children:e.children});var Yn=require("react/jsx-runtime"),Ka="k-colorpalette-tile",lp=[a.hover,a.focus,a.selected],pp={},co=e=>{let{color:t,tileSize:o,hover:n,focus:r,selected:l,...p}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,Yn.jsx)("td",{...p,className:s(e.className,Ka,M(Ka,{hover:n,focus:r,selected:l})),style:m})};co.states=lp;co.options=pp;co.className=Ka;var Ot=require("react/jsx-runtime"),Eo="k-colorpalette",cp=[a.disabled],dp={size:[i.small,i.medium,i.large]},Oa={columns:10,size:i.medium},Rt=e=>{let{size:t=Oa.size,palette:o,columns:n=Oa.columns,tileSize:r,disabled:l,...p}=e,m=[];if(o){let u=n||o.columns,h=o.colors?o.colors:o;Array.isArray(h)&&Array.from({length:Math.ceil(h.length/u)},(N,k)=>{let d=[];h.slice(k*u,(k+1)*u).map((g,C)=>{d.push((0,Ot.jsx)(co,{color:g,tileSize:r},C))});let v=(0,Ot.jsx)(Zn,{children:d},k);m.push(v)})}return(0,Ot.jsx)("div",{...p,className:s(e.className,Eo,M(Eo,{disabled:l}),y(Eo,{size:t})),children:(0,Ot.jsx)("table",{className:"k-colorpalette-table",children:(0,Ot.jsx)("tbody",{children:m.length>0?m:e.children})})})};Rt.states=cp;Rt.options=dp;Rt.className=Eo;Rt.defaultOptions=Oa;var Ra={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 mp=require("react/jsx-runtime");var H=require("react/jsx-runtime"),Po="k-coloreditor",up=[a.focus],fp={size:[i.small,i.medium,i.large]},Ht={size:i.medium,view:"gradient",palette:Ra.office,actionButtons:!0,canvasOrientation:"horizontal"},Ce=e=>{let{size:t=Ht.size,view:o=Ht.view,palette:n=Ht.palette,color:r,currentColor:l,focus:p,focusView:m,dir:u,group:h,actionButtons:N=Ht.actionButtons,canvasOrientation:k=Ht.canvasOrientation,...d}=e;return(0,H.jsxs)("div",{...d,className:s(e.className,"k-flatcolorpicker",Po,y(Po,{size:t}),M(Po,{focus:p})),dir:u,children:[(0,H.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,H.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:h&&(0,H.jsxs)(R,{fillMode:"flat",children:[(0,H.jsx)(b,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),(0,H.jsx)(b,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),(0,H.jsx)("div",{className:"k-spacer"}),(0,H.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,H.jsx)(b,{fillMode:"flat",icon:"droplet-slash",size:t}),(0,H.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,H.jsx)($e,{className:"k-coloreditor-preview-color",color:r}),(0,H.jsx)($e,{className:"k-coloreditor-current-color",color:l})]})]})]}),(0,H.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,H.jsx)(Qe,{focus:m,size:t,canvasOrientation:k}):(0,H.jsx)(Rt,{palette:n,size:t})}),N&&(0,H.jsxs)(xe,{className:"k-coloreditor-footer",alignment:"start",children:[(0,H.jsx)(b,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,H.jsx)(b,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};Ce.states=up;Ce.options=fp;Ce.className=Po;Ce.defaultOptions=Ht;var bp=require("react/jsx-runtime");var hp=require("react/jsx-runtime");var xp=require("react/jsx-runtime");var Np=require("react/jsx-runtime");var _=require("react/jsx-runtime"),jn="k-colorpicker",vp=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled],gp={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[f.solid,f.flat,f.outline]},mo={arrowIconName:"caret-alt-down",size:fe.defaultOptions.size,rounded:fe.defaultOptions.rounded,fillMode:fe.defaultOptions.fillMode},Ke=e=>{let{size:t=mo.size,rounded:o=mo.rounded,fillMode:n=mo.fillMode,arrowIconName:r=mo.arrowIconName,prefix:l,suffix:p,value:m,placeholder:u,hover:h,focus:N,valid:k,invalid:d,required:v,disabled:g,valueIconName:C,popup:A,opened:B,adaptive:P,adaptiveSettings:V,adaptiveTitle:Le,adaptiveSubtitle:Xt,...Jt}=e;return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)(fe,{...Jt,size:t,rounded:o,fillMode:n,hover:h,focus:N,valid:k,invalid:d,required:v,disabled:g,className:s(e.className,jn,"k-icon-picker"),children:[(0,_.jsx)(ae,{children:l}),(0,_.jsx)(nt,{placeholder:u,value:m,showValue:!1,valueIcon:(0,_.jsx)($e,{className:"k-value-icon",color:m,iconName:C}),valueIconName:C}),(0,_.jsx)(se,{children:p}),(0,_.jsx)(b,{className:"k-input-button",icon:r,rounded:null,size:t,fillMode:n})]}),B&&A&&(0,_.jsx)(U,{className:"k-colorpicker-popup",children:A}),P&&(0,_.jsx)(Ne,{adaptive:!0,...V,header:(0,_.jsx)(re,{actionsEnd:(0,_.jsx)(b,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),title:Le,subtitle:Xt}),footer:(0,_.jsxs)(no,{children:[(0,_.jsx)(b,{text:"Cancel",size:"large",themeColor:"base"}),(0,_.jsx)(b,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,_.jsx)(Ce,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Ke.states=vp;Ke.options=gp;Ke.className=jn;Ke.defaultOptions=mo;var Sp=require("react/jsx-runtime");var Lp=require("r