@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 76.4 kB
JavaScript
var Ts=Object.create;var bo=Object.defineProperty;var As=Object.getOwnPropertyDescriptor;var Bs=Object.getOwnPropertyNames;var Ps=Object.getPrototypeOf,Es=Object.prototype.hasOwnProperty;var zs=(e,t)=>{for(var o in t)bo(e,o,{get:t[o],enumerable:!0})},dr=(e,t,o,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Bs(t))!Es.call(e,i)&&i!==o&&bo(e,i,{get:()=>t[i],enumerable:!(s=As(t,i))||s.enumerable});return e};var ws=(e,t,o)=>(o=e!=null?Ts(Ps(e)):{},dr(t||!e||!e.__esModule?bo(o,"default",{value:e,enumerable:!0}):o,e)),Os=e=>dr(bo({},"__esModule",{value:!0}),e);var wc={};zs(wc,{PromptInline:()=>zc});module.exports=Os(wc);var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,s)=>t[s]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var C=(e,t)=>r({[`${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"}),I=(e,t)=>r({"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});var n={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"},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"},ur={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var fr=require("react/jsx-runtime"),xo="k-actions",Rs=[],Ks={},Ko={alignment:"start",orientation:"horizontal"},X=e=>{let{alignment:t=Ko.alignment,orientation:o=Ko.orientation,...s}=e;return(0,fr.jsx)("div",{...s,className:r(xo,{[`${xo}-${t}`]:t,[`${xo}-${o}`]:o},e.className),children:e.children})};X.states=Rs;X.options=Ks;X.className=xo;X.defaultOptions=Ko;var Gt=require("react/jsx-runtime"),Ho="k-icon k-font-icon",Hs=[],Gs={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},Ds={},Dt=e=>{let{size:t,themeColor:o,icon:s,rotate:i,flip:l,...p}=e;return s?(0,Gt.jsx)("span",{...p,className:r(e.className,Ho,C(Ho,{size:t}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"})}):(0,Gt.jsx)(Gt.Fragment,{})};Dt.states=Hs;Dt.options=Gs;Dt.className=Ho;Dt.defaultOptions=Ds;var br=Dt;var je=require("react/jsx-runtime"),Go="k-icon k-svg-icon",$s=[],Vs={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},xr={viewBox:"0 0 24 24"},$t=e=>{let{size:t,themeColor:o,rotate:s,flip:i,viewBox:l=xr.viewBox,icon:p,...u}=e;if(!p)return(0,je.jsx)(je.Fragment,{});p==="none"&&{...u,className:r(e.className,Go,"k-none")};let b=typeof p=="object"&&p.name&&p.name;return(0,je.jsx)("span",{...u,className:r(e.className,Go,C("k-icon",{size:t}),{[`k-svg-i-${b}`]:b,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),children:(0,je.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})})};$t.states=$s;$t.options=Vs;$t.className=Go;$t.defaultOptions=xr;var Do=$t;var hr=ws(require("@progress/kendo-svg-icons")),Te=require("react/jsx-runtime"),_s=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Xs=[],Fs={size:[n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},$o={viewBox:"0 0 24 24",type:"svg"},M=e=>{let{size:t,themeColor:o,icon:s,type:i=$o.type,rotate:l,flip:p,viewBox:u=$o.viewBox,...b}=e;if(!s)return(0,Te.jsx)(Te.Fragment,{});if(i==="svg"){if(s==="none")return(0,Te.jsx)(Do,{...b,icon:s,size:t});let x=_s(`${s}-icon`);return hr[x]?(0,Te.jsx)(Do,{...b,icon:hr[x],size:t,themeColor:o,rotate:l,flip:p,viewBox:u}):(0,Te.jsx)(Te.Fragment,{})}return(0,Te.jsx)(br,{...b,icon:s,size:t,themeColor:o,rotate:l,flip:p})};M.states=Xs;M.options=Fs;M.defaultOptions=$o;var be=require("react/jsx-runtime"),ho="k-button",Js=[a.hover,a.focus,a.active,a.selected,a.disabled],Us={size:[n.small,n.medium,n.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]},et={size:n.medium,rounded:f.medium,fillMode:d.solid,themeColor:m.base,showArrow:!1,arrowIconName:"caret-alt-down"},v=e=>{let{size:t=et.size,rounded:o=et.rounded,fillMode:s=et.fillMode,themeColor:i=et.themeColor,showArrow:l=et.showArrow,arrowIconName:p=et.arrowIconName,hover:u,focus:b,active:x,selected:h,disabled:S,icon:c,text:N,iconClassName:k,...g}=e,A=c!==void 0,B=e.children!==void 0;return(0,be.jsxs)("button",{...g,className:r(e.className,ho,C(ho,{size:t,rounded:o,fillMode:s,themeColor:i}),I(ho,{hover:u,focus:b,active:x,disabled:S,selected:h}),{"k-icon-button":!N&&!B&&A}),children:[c&&(0,be.jsx)(M,{className:r(k,"k-button-icon"),icon:c}),N?(0,be.jsxs)(be.Fragment,{children:[N&&(0,be.jsx)("span",{className:"k-button-text",children:N}),e.children]}):e.children&&(0,be.jsx)("span",{className:"k-button-text",children:e.children}),l&&(0,be.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,be.jsx)(M,{icon:p})})]})};v.states=Js;v.options=Us;v.className=ho;v.defaultOptions=et;var Nr=require("react/jsx-runtime"),Z=e=>(0,Nr.jsx)(v,{icon:"folder",...e,children:void 0});var vr=require("react/jsx-runtime"),q=e=>(0,vr.jsx)(v,{icon:"folder",children:"Button",...e});var qs=require("react/jsx-runtime");var Vt=require("react/jsx-runtime"),kr="k-prompt",Ws=[],Ys={},Qs={},re=e=>{let{...t}=e;return(0,Vt.jsx)("div",{...t,className:r(e.className,kr),children:(0,Vt.jsx)(Vt.Fragment,{children:e.children})})};re.states=Ws;re.options=Ys;re.className=kr;re.defaultOptions=Qs;var Zs=require("react/jsx-runtime");var _t=require("react/jsx-runtime"),js="k-prompt-content",He=e=>{let{...t}=e;return(0,_t.jsx)("div",{...t,className:r(e.className,js),children:(0,_t.jsx)(_t.Fragment,{children:e.children})})};var Sr=require("react/jsx-runtime"),No="k-input",ei=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],ti={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},vo={size:n.medium,rounded:n.medium,fillMode:d.solid},P=e=>{let{hover:t,focus:o,disabled:s,invalid:i,valid:l,loading:p,readonly:u,size:b=vo.size,rounded:x=vo.rounded,fillMode:h=vo.fillMode,...S}=e;return(0,Sr.jsx)("span",{...S,className:r(e.className,No,C(No,{size:b,rounded:x,fillMode:h}),I(No,{hover:t,focus:o,disabled:s,invalid:i,valid:l,loading:p,readonly:u}))})};P.states=ei;P.options=ti;P.className=No;P.defaultOptions=vo;var Lr=require("react/jsx-runtime"),ko="k-picker",oi=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],ai={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},So={size:n.medium,rounded:f.medium,fillMode:d.solid},xe=e=>{let{hover:t,focus:o,disabled:s,invalid:i,valid:l,loading:p,readonly:u,size:b=So.size,rounded:x=So.rounded,fillMode:h=So.fillMode,...S}=e;return(0,Lr.jsx)("span",{...S,className:r(e.className,ko,C(ko,{size:b,rounded:x,fillMode:h}),I(ko,{hover:t,focus:o,disabled:s,invalid:i,valid:l,loading:p,readonly:u})),children:e.children})};xe.states=oi;xe.options=ai;xe.className=ko;xe.defaultOptions=So;var Nt=require("react/jsx-runtime"),Cr="k-clear-value",ri=[a.disabled,a.loading,a.readonly],ni={},he=e=>{let{disabled:t,loading:o,readonly:s,value:i}=e;return t||s||o||!i?(0,Nt.jsx)(Nt.Fragment,{}):(0,Nt.jsx)("span",{className:r(e.className,Cr),children:(0,Nt.jsx)(M,{icon:"x"})})};he.states=ri;he.options=ni;he.className=Cr;var gr=require("react/jsx-runtime"),Vo="k-input-inner",si=[],ii={},Lo={type:"text",autocomplete:"off",value:"",placeholder:""},Ne=e=>{let{value:t=Lo.value,type:o=Lo.type,placeholder:s=Lo.placeholder,autocomplete:i=Lo.autocomplete,...l}=e;return(0,gr.jsx)("input",{...l,type:o,className:r(e.className,Vo,C(Vo,e)),placeholder:s,autoComplete:i,defaultValue:t})};Ne.states=si;Ne.options=ii;Ne.className=Vo;var Xt=require("react/jsx-runtime"),_o="k-input-inner",li=[],pi={},tt=e=>{let{value:t,placeholder:o,showValue:s,valueIcon:i,valueIconName:l,...p}=e;return(0,Xt.jsxs)("span",{...p,className:r(e.className,_o,C(_o,e)),children:[i,!i&&l&&(0,Xt.jsx)(M,{className:"k-input-value-icon",icon:l}),s&&!t&&o,s&&t&&(0,Xt.jsx)("span",{className:"k-input-value-text",children:t})]})};tt.states=li;tt.options=pi;tt.className=_o;var Ir=require("react/jsx-runtime"),Xo="k-input-inner",ci=[],mi={},Mr={value:"",placeholder:""},Ft=e=>{let{value:t=Mr.value,placeholder:o=Mr.placeholder,rows:s,...i}=e;return(0,Ir.jsx)("textarea",{...i,className:r(e.className,Xo,C(Xo,e)),placeholder:o,rows:s,defaultValue:t})};Ft.states=ci;Ft.options=mi;Ft.className=Xo;var Jt=require("react/jsx-runtime"),yr="k-input-loading-icon",di=[a.disabled,a.loading],ne=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Jt.jsx)(Jt.Fragment,{}):(0,Jt.jsx)("span",{className:r(e.className,yr,"k-icon k-i-loading")})};ne.states=di;ne.className=yr;var Ut=require("react/jsx-runtime"),Tr="k-input-validation-icon",ui=[a.valid,a.invalid,a.disabled,a.loading],fi={},ee=e=>{let{valid:t,invalid:o,disabled:s,loading:i}=e,l=o?"warning-circle":"check-circle";return s||i||!!!(t||o)?(0,Ut.jsx)(Ut.Fragment,{}):(0,Ut.jsx)(M,{className:r(Tr),icon:l})};ee.states=ui;ee.options=fi;ee.className=Tr;var qt=require("react/jsx-runtime"),bi="k-input-prefix",xi={direction:"horizontal"},se=e=>{let{direction:t=xi.direction,...o}=e;return e.children?(0,qt.jsx)("span",{...o,className:r(bi,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,qt.jsx)(qt.Fragment,{})};var Wt=require("react/jsx-runtime"),hi="k-input-suffix",Ni={direction:"horizontal"},ie=e=>{let{direction:t=Ni.direction,...o}=e;return e.children?(0,Wt.jsx)("span",{...o,className:r(hi,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Wt.jsx)(Wt.Fragment,{})};var vi=require("react/jsx-runtime");var ki=require("react/jsx-runtime");var Br=require("react/jsx-runtime"),Ar="k-input-separator",Si={direction:"vertical"},le=e=>{let{direction:t=Si.direction,...o}=e;return(0,Br.jsx)("span",{...o,className:r(Ar,e.className,{[`${Ar}-${t}`]:t})})};var te=require("react/jsx-runtime"),Pr="k-textarea",Li=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled],Ci={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Ge={size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,flow:"vertical",affixesOrientation:"horizontal",resize:"both",separators:!0},vt=e=>{let{size:t=Ge.size,rounded:o=Ge.rounded,fillMode:s=Ge.fillMode,separators:i=Ge.separators,affixesOrientation:l=Ge.affixesOrientation,flow:p=Ge.flow,resize:u=Ge.resize,prefix:b,suffix:x,rows:h,value:S,placeholder:c,hover:N,focus:k,valid:g,invalid:A,required:B,disabled:z,..._}=e;return(0,te.jsxs)(P,{..._,size:t,rounded:o,fillMode:s,hover:N,focus:k,valid:g,invalid:A,required:B,disabled:z,className:r(e.className,Pr,{"!k-flex-col":p==="vertical","!k-flex-row":p==="horizontal"}),children:[b&&(0,te.jsxs)(te.Fragment,{children:[(0,te.jsx)(se,{className:r({"!k-align-items-start":p===l}),direction:l,children:b}),i&&(0,te.jsx)(le,{direction:p==="horizontal"?"vertical":"horizontal"})]}),(0,te.jsx)(Ft,{className:r("!k-overflow-auto",{"!k-flex-none":p==="vertical","k-resize-x":u==="x","k-resize-y":u==="y","k-resize":u==="both","k-resize-none":u==="none"}),value:S,placeholder:c,rows:h}),x&&(0,te.jsxs)(te.Fragment,{children:[i&&(0,te.jsx)(le,{direction:p==="horizontal"?"vertical":"horizontal"}),(0,te.jsx)(ie,{className:r({"!k-align-items-start":p===l}),direction:l,children:x})]})]})};vt.states=Li;vt.options=Ci;vt.className=Pr;vt.defaultOptions=Ge;var gi=require("react/jsx-runtime");var zr=require("react/jsx-runtime");var wr=require("react/jsx-runtime");var oe=require("react/jsx-runtime"),Mi="k-prompt-view",De=e=>{let{showSearch:t,suggestions:o,settings:s,...i}=e;return(0,oe.jsxs)("div",{...i,className:r(e.className,Mi),children:[t&&(0,oe.jsx)(vt,{resize:"y",rows:1,placeholder:"Ask or generate content with AI"}),o&&(0,oe.jsxs)("div",{className:"k-prompt-expander",children:[(0,oe.jsx)(q,{fillMode:"flat",icon:"chevron-up",children:"Prompt Suggestions"}),(0,oe.jsx)("div",{className:"k-prompt-expander-content",children:(0,oe.jsx)(oe.Fragment,{children:o})})]}),s&&(0,oe.jsxs)("div",{className:"k-prompt-expander",children:[(0,oe.jsx)(q,{fillMode:"flat",icon:"chevron-up",children:"Settings"}),(0,oe.jsx)("div",{className:"k-prompt-expander-content",children:s})]}),e.children]})};var Ii=require("react/jsx-runtime");var yi=require("react/jsx-runtime");var Ti=require("react/jsx-runtime");var Rr=require("react/jsx-runtime"),Yt="k-button-group",Ai=[a.disabled],Bi={fillMode:[d.solid,d.flat,d.outline,d.clear,d.link]},Or={fillMode:d.solid},R=e=>{let{fillMode:t=Or.fillMode,disabled:o,stretched:s,...i}=e;return(0,Rr.jsx)("div",{...i,className:r(e.className,Yt,C(Yt,{fillMode:t}),I(Yt,{disabled:o}),{[`${Yt}-stretched`]:s}),children:e.children})};R.states=Ai;R.options=Bi;R.className=Yt;R.defaultOptions=Or;var Fo=require("react/jsx-runtime");var Jo=require("react/jsx-runtime");var Uo=require("react/jsx-runtime");var qo=require("react/jsx-runtime");var Qt=require("react/jsx-runtime"),Kr="k-color-preview",Pi=[],Ei={},$e=e=>{let{color:t,iconName:o,...s}=e;return(0,Qt.jsxs)("span",{...s,className:r(e.className,Kr,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,Qt.jsx)(M,{icon:o,className:"k-color-preview-icon"}),(0,Qt.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};$e.states=Pi;$e.options=Ei;$e.className=Kr;var Wo=require("react/jsx-runtime"),Hr="k-animation-container",zi=[],wi={},Gr={positionMode:"absolute"},Ve=e=>{let{positionMode:t=Gr.positionMode,animationStyle:o,offset:s,...i}=e;return(0,Wo.jsx)("div",{...i,style:{...s,...e.style},className:r(e.className,Hr,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,Wo.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};Ve.states=zi;Ve.options=wi;Ve.className=Hr;Ve.defaultOptions=Gr;var Yo=require("react/jsx-runtime"),Dr="k-popup",Oi=[],Ri={},$r={positionMode:"absolute"},V=e=>{let{offset:t,positionMode:o=$r.positionMode,animationStyle:s,...i}=e;return(0,Yo.jsx)(Ve,{positionMode:o,offset:t,animationStyle:s,children:(0,Yo.jsx)("div",{...i,className:r(e.className,Dr),children:e.children})})};V.states=Oi;V.options=Ri;V.className=Dr;V.defaultOptions=$r;var _r=require("react/jsx-runtime"),Ki="k-actionsheet-footer",Vr={alignment:"stretched",orientation:"horizontal"},Zt=e=>{let{alignment:t=Vr.alignment,orientation:o=Vr.orientation,template:s,as:i=s?"div":X,...l}=e;return(0,_r.jsx)(i,{...l,...!s&&{alignment:t,orientation:o},className:r(e.className,Ki),children:e.children})};var _e=require("react/jsx-runtime"),Xr="k-searchbox",Hi=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading],Gi={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Qo={showIcon:!0,icon:"search",size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode},Ae=e=>{let{value:t,placeholder:o,size:s,rounded:i,fillMode:l,hover:p,focus:u,valid:b,invalid:x,required:h,loading:S,disabled:c,showIcon:N=Qo.showIcon,icon:k=Qo.icon,...g}=e;return(0,_e.jsxs)(P,{...g,size:s,rounded:i,fillMode:l,hover:p,focus:u,valid:b,invalid:x,required:h,loading:S,disabled:c,className:r(e.className,Xr),children:[N&&(0,_e.jsx)(M,{className:"k-input-icon",icon:k}),(0,_e.jsx)(Ne,{placeholder:o,value:t}),(0,_e.jsx)(ne,{...e}),(0,_e.jsx)(ee,{...e}),(0,_e.jsx)(he,{...e})]})};Ae.states=Hi;Ae.options=Gi;Ae.className=Xr;Ae.defaultOptions=Qo;var Di=require("react/jsx-runtime");var W=require("react/jsx-runtime"),Fr="k-textbox",$i=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Vi={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},ot={showClearButton:!0,showValidationIcon:!0,size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,separators:!0},Le=e=>{let{size:t=ot.size,rounded:o=ot.rounded,fillMode:s=ot.fillMode,separators:i=ot.separators,showClearButton:l=ot.showClearButton,showValidationIcon:p=ot.showValidationIcon,prefix:u,suffix:b,type:x,value:h,placeholder:S,hover:c,focus:N,valid:k,invalid:g,required:A,loading:B,disabled:z,readonly:_,...Ke}=e;return(0,W.jsxs)(P,{...Ke,size:t,rounded:o,fillMode:s,hover:c,focus:N,valid:k,invalid:g,required:A,loading:B,disabled:z,readonly:_,className:r(e.className,Fr),children:[u&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(se,{children:u}),i&&(0,W.jsx)(le,{})]}),(0,W.jsx)(Ne,{placeholder:S,value:h,type:x}),p&&(0,W.jsx)(ee,{valid:k,invalid:g,loading:B,disabled:z}),(0,W.jsx)(ne,{loading:B,disabled:z}),l&&(0,W.jsx)(he,{loading:B,disabled:z,readonly:_,value:h}),b&&(0,W.jsxs)(W.Fragment,{children:[i&&(0,W.jsx)(le,{}),(0,W.jsx)(ie,{children:b})]})]})};Le.states=$i;Le.options=Vi;Le.className=Fr;Le.defaultOptions=ot;var _i=require("react/jsx-runtime");var Ur=require("react/jsx-runtime");var qr=require("react/jsx-runtime");var ae=require("react/jsx-runtime"),Wr="k-actionsheet-titlebar",Xi={},pe=e=>{let{title:t,subtitle:o,actionsStart:s,actionsEnd:i,filter:l,input:p,inputValue:u,inputPlaceholder:b,adaptive:x,children:h,...S}=e;return(0,ae.jsxs)("div",{...S,className:r(e.className,Wr),children:[(0,ae.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[s&&(0,ae.jsx)("div",{className:"k-actionsheet-actions",children:s}),!h&&(0,ae.jsxs)("div",{className:"k-actionsheet-title",children:[t&&(0,ae.jsx)("div",{className:"k-text-center",children:t}),o&&(0,ae.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),h&&(0,ae.jsx)("div",{className:"k-actionsheet-title",children:h}),i&&(0,ae.jsx)("div",{className:"k-actionsheet-actions",children:i})]}),(p||l)&&(0,ae.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:p?(0,ae.jsx)(Le,{value:u,placeholder:b,size:x?"large":"medium"}):(0,ae.jsx)(Ae,{placeholder:"Filter",size:x?"large":"medium"})})]})};pe.className=Wr;pe.defaultOptions=Xi;var kt=require("react/jsx-runtime"),Zo="k-actionsheet-view",Fi=[],Ji={},Ui={},St=e=>{let{adaptive:t,animated:o,children:s,header:i,footer:l,...p}=e,u=(i==null?void 0:i.type)===pe&&(0,kt.jsx)(pe,{adaptive:t,...i==null?void 0:i.props}),b=(l==null?void 0:l.type)===Zt&&(0,kt.jsx)(Zt,{...l==null?void 0:l.props});return(0,kt.jsxs)("div",{...p,className:r(e.className,Zo,{[`${Zo}-animated`]:o}),children:[u,(0,kt.jsx)("div",{className:"k-actionsheet-content",children:s}),b]})};St.states=Fi;St.options=Ji;St.className=Zo;St.defaultOptions=Ui;var at=require("react/jsx-runtime"),Yr="k-actionsheet",qi=[],Wi={},jt={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ve=e=>{let{side:t=jt.side,fullscreen:o=jt.fullscreen,adaptive:s=jt.adaptive,overlay:i=jt.overlay,template:l,children:p,header:u,footer:b,...x}=e;return(0,at.jsxs)("div",{className:"k-actionsheet-container",children:[i&&(0,at.jsx)("div",{className:"k-overlay"}),(0,at.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,at.jsx)("div",{...x,className:r(e.className,Yr,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":s}),children:l||(0,at.jsx)(St,{header:u,footer:b,adaptive:s,...e,children:p})})})]})};ve.states=qi;ve.options=Wi;ve.className=Yr;ve.defaultOptions=jt;var Yi=require("react/jsx-runtime");var ce=require("react/jsx-runtime"),jo="k-actionsheet-item",Qi=[a.hover,a.focus,a.selected,a.disabled],ea=e=>{let{iconName:t,text:o,description:s,hover:i,focus:l,selected:p,disabled:u,...b}=e;return(0,ce.jsxs)("span",{...b,className:r(e.className,jo,I(jo,{hover:i,focus:l,selected:p,disabled:u})),children:[!e.children&&(0,ce.jsx)(ce.Fragment,{children:(0,ce.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,ce.jsx)("span",{className:"k-icon-wrap",children:(0,ce.jsx)(M,{className:"k-actionsheet-item-icon",icon:t})}),(0,ce.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,ce.jsx)("span",{className:"k-actionsheet-item-title",children:o}),s&&(0,ce.jsx)("span",{className:"k-actionsheet-item-description",children:s})]})]})}),e.children]})};ea.states=Qi;ea.className=jo;var Qr=require("react/jsx-runtime");var Zi=require("react/jsx-runtime");var ji=require("react/jsx-runtime");var el=require("react/jsx-runtime");var ke=require("react/jsx-runtime"),eo="k-slider",tl=[a.hover,a.focus,a.active,a.disabled,a.readonly],ol={},Xe={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},me=e=>{let{type:t=Xe.type,orientation:o=Xe.orientation,readonly:s=Xe.readonly,disabled:i=Xe.disabled,handlePosition:l=Xe.handlePosition,showButtons:p=Xe.showButtons,showTicks:u=Xe.showTicks,hover:b,focus:x,active:h,trackStyle:S,dir:c,...N}=e,k,g;return o==="horizontal"?(k=c==="rtl"?"caret-alt-left":"caret-alt-right",g=c==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(k="caret-alt-up",g="caret-alt-down"),(0,ke.jsxs)("div",{...N,className:r(eo,e.className,I(eo,{readonly:s,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:c,children:[p&&(0,ke.jsx)(v,{className:"k-button-decrease",rounded:"full",icon:g}),(0,ke.jsxs)("div",{className:"k-slider-track-wrap",children:[u&&(0,ke.jsx)("ul",{className:"k-reset k-slider-items",children:e.children}),(0,ke.jsxs)("div",{className:"k-slider-track",style:S,children:[(0,ke.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,ke.jsx)("span",{className:r("k-draghandle","k-draghandle-start",I(eo,{hover:b,focus:x,active:h}))}),(0,ke.jsx)("span",{className:r("k-draghandle",`k-draghandle-${l}`,I(eo,{hover:b,focus:x,active:h}))})]})]}),p&&(0,ke.jsx)(v,{className:"k-button-increase",rounded:"full",icon:k})]})};me.states=tl;me.options=ol;me.className=eo;me.defaultOptions=Xe;var ta=require("react/jsx-runtime"),jr="k-tick",al=[],rl={},en={label:!1},Fe=e=>{let{style:t,label:o=en.label,orientation:s,large:i,text:l,...p}=e;return(0,ta.jsx)("li",{...p,className:r(e.className,jr,{[`k-tick-${s}`]:s,"k-tick-large":i}),style:t,children:o&&(0,ta.jsx)("span",{className:"k-label",children:l})})};Fe.states=al;Fe.options=rl;Fe.className=jr;Fe.defaultOptions=en;var oa=require("react/jsx-runtime");var aa=require("react/jsx-runtime");var ra=require("react/jsx-runtime");var na=require("react/jsx-runtime");var tn=require("react/jsx-runtime"),sa=e=>(0,tn.jsx)(me,{type:"gradient",showButtons:!1,showTicks:!1,...e});var on=require("react/jsx-runtime"),ia=e=>(0,on.jsx)(me,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});var to=require("react/jsx-runtime"),an="k-spin-button",nl=[],sl={size:[n.small,n.medium,n.large],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link]},la={size:n.medium,fillMode:d.solid},Lt=e=>{let{size:t=la.size,fillMode:o=la.fillMode,...s}=e;return(0,to.jsxs)("span",{...s,className:r(an,e.className),children:[(0,to.jsx)(v,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),(0,to.jsx)(v,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};Lt.states=nl;Lt.options=sl;Lt.className=an;Lt.defaultOptions=la;var F=require("react/jsx-runtime"),rn="k-numerictextbox",il=[a.hover,a.focus,a.valid,a.invalid,a.loading,a.required,a.disabled,a.readonly],ll={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},rt={showSpinButton:!0,showClearButton:!0,size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,separators:!0},H=e=>{let{size:t=rt.size,rounded:o=rt.rounded,fillMode:s=rt.fillMode,separators:i=rt.separators,showClearButton:l=rt.showClearButton,showSpinButton:p=rt.showSpinButton,prefix:u,suffix:b,value:x,placeholder:h,hover:S,focus:c,valid:N,invalid:k,required:g,loading:A,disabled:B,readonly:z,..._}=e;return(0,F.jsxs)(P,{..._,size:t,rounded:o,fillMode:s,hover:S,focus:c,valid:N,invalid:k,required:g,loading:A,disabled:B,readonly:z,className:r(e.className,rn),children:[u&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(se,{children:u}),i&&(0,F.jsx)(le,{})]}),(0,F.jsx)(Ne,{placeholder:h,value:x}),(0,F.jsx)(ee,{valid:N,invalid:k,loading:A,disabled:B}),(0,F.jsx)(ne,{loading:A,disabled:B}),l&&(0,F.jsx)(he,{loading:A,disabled:B,readonly:z,value:x}),b&&(0,F.jsxs)(F.Fragment,{children:[i&&(0,F.jsx)(le,{}),(0,F.jsx)(ie,{children:b})]}),p&&(0,F.jsx)(Lt,{className:"k-input-spinner",size:t,fillMode:s})]})};H.states=il;H.options=ll;H.className=rn;H.defaultOptions=rt;var pl=require("react/jsx-runtime");var sn=require("react/jsx-runtime"),cl="k-no-data",oo=e=>(0,sn.jsx)("span",{className:r(cl,e.className),children:e.children});var Ce=require("react/jsx-runtime"),pa="k-list",ml=[],dl={size:[n.small,n.medium,n.large]},ln={size:n.medium},w=e=>{let{size:t=ln.size,virtualization:o,children:s,optionLabel:i,customValue:l,screenReaders:p,...u}=e,b,x,h,S,c=[];return s?s.map((N,k)=>{N.type===J?(N.props.root===!0?(b=N.props.label,N.props.children.map((g,A)=>{c.push((0,Ce.jsx)(T,{...g.props},`optChild-${A}-${new Date().getTime()}`))})):N.props.children.forEach((g,A)=>{let B="";A===0&&(B=N.props.label),c.push((0,Ce.jsx)(T,{className:A===0?"k-first":"",...g.props,groupLabel:B},`groupLabel-${A}-${new Date().getTime()}`))}),x=(0,Ce.jsx)(J,{label:b,virtualization:o,children:c})):N.type===T&&(c.push((0,Ce.jsx)(T,{...N.props},`${N.type}-${k}`)),h=(0,Ce.jsx)(Ct,{virtualization:o,children:c}),p&&(S=(0,Ce.jsxs)(oo,{className:"k-sr-only",children:[c.length," items found."]})))}):S=(0,Ce.jsx)(oo,{children:"No data found."}),(0,Ce.jsxs)("div",{...u,className:r(e.className,pa,C(pa,{size:t}),{"k-virtual-list":o}),children:[i,l,x,h,S]})};w.states=ml;w.options=dl;w.className=pa;w.defaultOptions=ln;var ge=require("react/jsx-runtime"),ca="k-list",ul=[],fl={size:[n.small,n.medium,n.large]},pn={size:n.medium},nt=e=>{let{size:t=pn.size,virtualization:o,children:s,...i}=e,l,p,u,b=[];return s?s.map((x,h)=>{x.type===J?(x.props.root===!0?(l=x.props.label,x.props.children.map((S,c)=>{b.push((0,ge.jsx)(T,{...S.props},`optChild-${c}-${new Date().getTime()}`))})):(b.push((0,ge.jsx)(cn,{...x.props,children:x.props.label},`listChild-${h}`)),x.props.children.map((S,c)=>{b.push((0,ge.jsx)(T,{...S.props},`fwOptChild-${c}-${new Date().getTime()}`))})),p=(0,ge.jsx)(J,{label:l,virtualization:o,children:b})):x.type===T&&(b.push((0,ge.jsx)(T,{...x.props},`${x.type}-${h}`)),u=(0,ge.jsx)(Ct,{virtualization:o,children:b}))}):u=(0,ge.jsx)(oo,{children:"No data found."}),(0,ge.jsxs)("div",{...i,className:r(e.className,ca,C(ca,{size:t}),{"k-virtual-list":o}),children:[p,u]})};nt.states=ul;nt.options=fl;nt.className=ca;nt.defaultOptions=pn;var da=require("react/jsx-runtime"),Co="k-checkbox",bl=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.checked,a.indeterminate],xl={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full]},ma={size:n.medium,rounded:f.medium},Je=e=>{let{id:t,checked:o,indeterminate:s,hover:i,focus:l,disabled:p,invalid:u,valid:b,required:x,size:h=ma.size,rounded:S=ma.rounded,...c}=e;return(0,da.jsx)("span",{className:"k-checkbox-wrap",children:(0,da.jsx)("input",{...c,id:t,type:"checkbox",defaultChecked:o,required:x,className:r(e.className,Co,C(Co,{size:h,rounded:S}),I(Co,{hover:i,focus:l,disabled:p,invalid:u,valid:b,indeterminate:s,checked:o}))})})};Je.states=bl;Je.options=xl;Je.className=Co;Je.defaultOptions=ma;var un=require("react/jsx-runtime"),mn="k-checkbox-list",hl=[],Nl={},dn={layout:"vertical"},gt=e=>{let{layout:t=dn.layout,...o}=e;return(0,un.jsx)("ul",{...o,className:r(e.className,mn,{[`k-list-${t}`]:t}),children:e.children})};gt.states=hl;gt.options=Nl;gt.className=mn;gt.defaultOptions=dn;var bn=require("react/jsx-runtime"),fn="k-checkbox-list-item",vl=[],kl={},Sl={},Mt=e=>{let{...t}=e;return(0,bn.jsx)("li",{...t,className:r(e.className,fn),children:e.children})};Mt.states=vl;Mt.options=kl;Mt.className=fn;Mt.defaultOptions=Sl;var fa=require("react/jsx-runtime");var ba=require("react/jsx-runtime");var xa=require("react/jsx-runtime");var ha=require("react/jsx-runtime");var Ll=require("react/jsx-runtime");var Cl=require("react/jsx-runtime");var st=require("react/jsx-runtime"),Na="k-list-item",gl=[a.hover,a.focus,a.selected,a.disabled],Ml={},Il={},T=e=>{let{text:t,groupLabel:o,group:s,showIcon:i,iconName:l,showCheckbox:p,checked:u,hover:b,focus:x,selected:h,disabled:S,...c}=e,N=t||e.children;return(0,st.jsxs)("li",{...c,className:r(e.className,s?"k-list-group-item":Na,I(Na,{hover:b,focus:x,disabled:S,selected:h})),children:[p&&(0,st.jsx)(Je,{checked:u}),i&&(0,st.jsx)(M,{icon:l}),(0,st.jsx)("span",{className:"k-list-item-text",children:N}),o&&o!==""&&(0,st.jsx)("div",{className:"k-list-item-group-label",children:o})]})};T.states=gl;T.options=Ml;T.className=Na;T.defaultOptions=Il;var It=require("react/jsx-runtime"),yl="k-list-content",Ct=e=>{let{virtualization:t,...o}=e;return(0,It.jsxs)("div",{...o,className:r(yl,e.className),children:[(0,It.jsx)("ul",{className:r("k-list-ul"),children:e.children}),t&&(0,It.jsx)("div",{className:"k-height-container",children:(0,It.jsx)("div",{})})]})};var va=require("react/jsx-runtime"),Tl="k-list-group-sticky-header",xn=e=>(0,va.jsx)("div",{className:r(Tl,e.className),children:(0,va.jsx)("div",{className:"k-list-header-text",children:e.children})});var it=require("react/jsx-runtime"),J=e=>{let{virtualization:t,label:o}=e;return(0,it.jsxs)(it.Fragment,{children:[o&&(0,it.jsx)(xn,{children:o}),e.children&&(0,it.jsx)(Ct,{virtualization:t,children:e.children})]})};var ka=require("react/jsx-runtime"),Al="k-list-group-item",cn=e=>(0,ka.jsx)("li",{className:r(Al,e.className),children:(0,ka.jsx)("span",{className:"k-list-item-text",children:e.children})});var hn=require("react/jsx-runtime"),Sa="k-list-optionlabel",Bl=[a.hover,a.focus,a.selected,a.disabled],Pl={},El={},go=e=>{let{text:t,hover:o,focus:s,selected:i,disabled:l,...p}=e;return(0,hn.jsx)("div",{...p,className:r(Sa,I(Sa,{hover:o,focus:s,selected:i,disabled:l})),children:t})};go.states=Bl;go.options=Pl;go.className=Sa;go.defaultOptions=El;var Nn=require("react/jsx-runtime"),La="k-list-custom-value",zl=[a.hover,a.focus,a.selected,a.disabled],wl={},Ol={},Ue=e=>{let{text:t,hover:o,focus:s,selected:i,disabled:l,...p}=e;return(0,Nn.jsx)("div",{...p,className:r(La,I(La,{hover:o,focus:s,selected:i,disabled:l})),children:t})};Ue.states=zl;Ue.options=wl;Ue.className=La;Ue.defaultOptions=Ol;var Rl=require("react/jsx-runtime");var Kl=require("react/jsx-runtime");var vn=require("react/jsx-runtime");var kn=require("react/jsx-runtime");var Hl=require("react/jsx-runtime");var Sn=require("react/jsx-runtime");var Ln=require("react/jsx-runtime");var O=require("react/jsx-runtime"),Cn="k-dropdownlist",Gl=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Dl={size:[n.small,n.medium,n.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},yt={showValue:!0,arrowIconName:"caret-alt-down",size:n.medium,rounded:f.medium,fillMode:d.solid},qe=e=>{let{size:t=yt.size,rounded:o=yt.rounded,fillMode:s=yt.fillMode,arrowIconName:i=yt.arrowIconName,showValue:l=yt.showValue,valueIconName:p,prefix:u,suffix:b,value:x,placeholder:h,hover:S,focus:c,valid:N,invalid:k,required:g,loading:A,disabled:B,readonly:z,popup:_,opened:Ke,adaptive:Kt,adaptiveSettings:Ht,adaptiveTitle:Oo,adaptiveSubtitle:Ro,adaptiveFilter:Is,...ys}=e;return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(xe,{...ys,size:t,rounded:o,fillMode:s,hover:S,focus:c,valid:N,invalid:k,required:g,loading:A,disabled:B,readonly:z,className:r(e.className,Cn,{"k-icon-picker":!l&&p}),children:[(0,O.jsx)(se,{children:u}),(0,O.jsx)(tt,{placeholder:h,value:x,showValue:l,valueIconName:p}),(0,O.jsx)(ee,{valid:N,invalid:k,loading:A,disabled:B}),(0,O.jsx)(ne,{loading:A,disabled:B}),(0,O.jsx)(ie,{children:b}),(0,O.jsx)(v,{className:"k-input-button",icon:i,rounded:null,size:e.size,fillMode:e.fillMode})]}),Ke&&_&&(0,O.jsx)(V,{className:"k-list-container k-dropdownlist-popup",children:_}),Kt&&(0,O.jsx)(ve,{adaptive:!0,...Ht,header:(0,O.jsx)(pe,{actionsEnd:(0,O.jsx)(v,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Is,inputValue:x,inputPlaceholder:h,title:Oo,subtitle:Ro}),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"})]})})})]})};qe.states=Gl;qe.options=Dl;qe.className=Cn;qe.defaultOptions=yt;var $l=require("react/jsx-runtime");var gn=require("react/jsx-runtime");var Ca=require("react/jsx-runtime");var Vl=require("react/jsx-runtime");var Mn=require("react/jsx-runtime");var In=require("react/jsx-runtime");var ga=require("react/jsx-runtime");var Ma=require("react/jsx-runtime");var yn=require("react/jsx-runtime");var Tn=require("react/jsx-runtime");var L=require("react/jsx-runtime"),An="k-colorgradient-inputs",_l=[],Xl={size:[n.small,n.medium,n.large]},Bn={mode:"rgba",size:n.medium},Tt=e=>{let{mode:t=Bn.mode,size:o,...s}=e;return(0,L.jsxs)("div",{...s,className:r(An,"k-hstack"),children:[(0,L.jsx)("div",{className:"k-vstack",children:(0,L.jsx)(v,{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)(H,{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)(H,{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)(H,{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)(H,{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)(H,{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)(H,{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)(H,{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)(H,{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)(H,{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)(H,{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)(H,{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)(H,{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)(H,{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)(H,{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)(Le,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,L.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Tt.states=_l;Tt.options=Xl;Tt.className=An;Tt.defaultOptions=Bn;var Y=require("react/jsx-runtime"),Pn="k-colorgradient-color-contrast",Fl=[],Jl={},Ul={},At=()=>(0,Y.jsxs)("div",{className:r(Pn,"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)(M,{icon:"check"}),(0,Y.jsx)(M,{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)(M,{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)(M,{icon:"x"})]})]})]});At.states=Fl;At.options=Jl;At.className=Pn;At.defaultOptions=Ul;var G=require("react/jsx-runtime"),Mo="k-colorgradient",ql=[a.hover,a.focus,a.readonly,a.disabled],Wl={size:[n.small,n.medium,n.large]},Se={size:n.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"},We=e=>{let{size:t=Se.size,mode:o=Se.mode,readonly:s=Se.readonly,disabled:i=Se.disabled,gradientStyle:l=Se.gradientStyle,dragHandleStyle:p=Se.dragHandleStyle,alphaStyle:u=Se.alphaStyle,alphaStyleHorizontal:b=Se.alphaStyleHorizontal,contrast:x=Se.contrast,dir:h,hover:S,focus:c,hoverHandle:N,focusHandle:k,canvasOrientation:g=Se.canvasOrientation,...A}=e;return(0,G.jsxs)("div",{...A,className:r(e.className,Mo,C(Mo,{size:t}),I(Mo,{hover:S,focus:c,readonly:s,disabled:i})),dir:h,children:[!g||g==="horizontal"&&(0,G.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,G.jsx)("div",{className:"k-hsv-rectangle",style:l,children:(0,G.jsx)("div",{className:"k-hsv-gradient",children:(0,G.jsx)("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":N,"k-focus":k}),style:p})})}),(0,G.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,G.jsx)(ia,{className:"k-hue-slider",hover:N,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,G.jsx)(ia,{className:"k-alpha-slider",hover:N,focus:k,trackStyle:u})]})]}),g==="vertical"&&(0,G.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,G.jsx)("div",{className:"k-hsv-rectangle",style:l,children:(0,G.jsx)("div",{className:"k-hsv-gradient",children:(0,G.jsx)("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":N,"k-focus":k}),style:p})})}),(0,G.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,G.jsx)(sa,{className:"k-hue-slider",hover:N,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,G.jsx)(sa,{className:"k-alpha-slider",hover:N,focus:k,trackStyle:b})]})]}),(0,G.jsx)(Tt,{mode:e.mode,size:t}),x&&(0,G.jsx)(At,{})]})};We.states=ql;We.options=Wl;We.className=Mo;We.defaultOptions=Se;var Yl=require("react/jsx-runtime");var Ql=require("react/jsx-runtime");var zn=require("react/jsx-runtime"),En=e=>(0,zn.jsx)("tr",{children:e.children});var wn=require("react/jsx-runtime"),Ia="k-colorpalette-tile",Zl=[a.hover,a.focus,a.selected],jl={},ao=e=>{let{color:t,tileSize:o,hover:s,focus:i,selected:l,...p}=e,u={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,wn.jsx)("td",{...p,className:r(e.className,Ia,I(Ia,{hover:s,focus:i,selected:l})),style:u})};ao.states=Zl;ao.options=jl;ao.className=Ia;var Bt=require("react/jsx-runtime"),Io="k-colorpalette",ep=[a.disabled],tp={size:[n.small,n.medium,n.large]},ya={columns:10,size:n.medium},Pt=e=>{let{size:t=ya.size,palette:o,columns:s=ya.columns,tileSize:i,disabled:l,...p}=e,u=[];if(o){let b=s||o.columns,x=o.colors?o.colors:o;Array.isArray(x)&&Array.from({length:Math.ceil(x.length/b)},(h,S)=>{let c=[];x.slice(S*b,(S+1)*b).map((k,g)=>{c.push((0,Bt.jsx)(ao,{color:k,tileSize:i},g))});let N=(0,Bt.jsx)(En,{children:c},S);u.push(N)})}return(0,Bt.jsx)("div",{...p,className:r(e.className,Io,I(Io,{disabled:l}),C(Io,{size:t})),children:(0,Bt.jsx)("table",{className:"k-colorpalette-table",children:(0,Bt.jsx)("tbody",{children:u.length>0?u:e.children})})})};Pt.states=ep;Pt.options=tp;Pt.className=Io;Pt.defaultOptions=ya;var Ta={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};var op=require("react/jsx-runtime");var K=require("react/jsx-runtime"),yo="k-coloreditor",ap=[a.focus],rp={size:[n.small,n.medium,n.large]},Et={size:n.medium,view:"gradient",palette:Ta.office,actionButtons:!0,canvasOrientation:"horizontal"},Me=e=>{let{size:t=Et.size,view:o=Et.view,palette:s=Et.palette,color:i,currentColor:l,focus:p,focusView:u,dir:b,group:x,actionButtons:h=Et.actionButtons,canvasOrientation:S=Et.canvasOrientation,...c}=e;return(0,K.jsxs)("div",{...c,className:r(e.className,"k-flatcolorpicker",yo,C(yo,{size:t}),I(yo,{focus:p})),dir:b,children:[(0,K.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,K.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:x&&(0,K.jsxs