@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
2 lines (1 loc) • 19.3 kB
JavaScript
var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,i)=>t[i]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var v=(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.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),P=(e,t)=>{let{valid:o,invalid:i,hover:n,focus:d,checked:p,active:c,selected:h,disabled:N,indeterminate:b,loading:T,empty:S,readonly:V,highlighted:D,...O}=t;return r({"k-valid":o,"k-invalid":i,"k-hover":n,"k-focus":d,"k-checked":p,"k-active":c,"k-selected":h,"k-disabled":N,"k-indeterminate":b&&!p,"k-loading":T,"k-empty":S,"k-readonly":V,"k-highlighted":D},Object.keys(O).reduce((I,M)=>(M.startsWith("k-")?I[M]=O[M]:I[`k-${M}`]=O[M],I),{}))};function ne(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(i=>[`k-${i}`,!0]))}var s={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},m={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},L={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},l={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",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",generating:"generating",expanded:"expanded"};import{Fragment as It,jsx as De}from"react/jsx-runtime";var Ne="k-font-icon",Nt=[],vt={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[l.undefined,l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info]},gt={},Y=e=>{let{size:t,themeColor:o,icon:i,rotate:n,flip:d,...p}=e;return i?De("span",{...p,className:r(e.className,Ne,v(Ne,{size:t}),{[`k-i-${i}`]:i,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"}),"aria-hidden":"true"}):De(It,{})};Y.states=Nt;Y.options=vt;Y.className=Ne;Y.defaultOptions=gt;var Ue=Y;import{Fragment as Tt,jsx as ae}from"react/jsx-runtime";var ve="k-svg-icon",kt=[],yt={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[l.undefined,l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info],variant:[L.outline,L.solid,L.duotone]},ge={viewBox:"0 0 24 24",variant:L.outline},W=e=>{let{size:t,themeColor:o,rotate:i,flip:n,viewBox:d=ge.viewBox,variant:p=ge.variant,icon:c,...h}=e;if(!c)return ae(Tt,{});if(c==="none")return ae("span",{...h,className:r(e.className,ve,v("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let N=typeof c=="object"&&c.name&&c.name,b=typeof c=="object"?p&&c.variants?.[p]||c.variants?.outline||c.content:void 0;return ae("span",{...h,className:r(e.className,ve,v("k-icon",{size:t}),{[`k-svg-i-${N}`]:N,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:ae("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:d,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:c?void 0:e.children})})};W.states=kt;W.options=yt;W.className=ve;W.defaultOptions=ge;var Ie=W;import*as ke from"@progress/kendo-svg-icons";var $e="icon",Fe="icons";import{useContext as Mt}from"react";import{createContext as St}from"react";var Xe=St({iconsType:"svg"});import{Fragment as qe,jsx as Q}from"react/jsx-runtime";var se="k-icon",Ct=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Ot=[],Et={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[l.undefined,l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info],variant:[L.outline,L.solid,L.duotone]},ie={viewBox:"0 0 24 24",type:"svg",variant:L.outline},x=e=>{let{iconsType:t}=Mt(Xe),{size:o,themeColor:i,icon:n,type:d=t||ie.type,rotate:p,flip:c,viewBox:h=ie.viewBox,variant:N=ie.variant,...b}=e;if(!n)return Q(qe,{});if((t||d)==="svg"){if(n==="none")return Q(Ie,{...b,className:r(e.className,se),icon:n,size:o,variant:N});let S=ke[n]?n:Ct(`${n}-icon`);return ke[S]?Q(Ie,{...b,className:r(e.className,se),icon:ke[S],size:o,themeColor:i,rotate:p,flip:c,viewBox:h,variant:N}):Q(qe,{})}return Q(Ue,{...b,className:r(e.className,se),icon:n,size:o,themeColor:i,rotate:p,flip:c})};x.states=Ot;x.options=Et;x.defaultOptions=ie;x.className=se;x.moduleName=$e;x.folderName=Fe;x.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var ye="button",Ge=ye;import{Fragment as Je,jsx as U,jsxs as Ye}from"react/jsx-runtime";var Z="k-button",Lt=["icon-button"],At=[a.hover,a.focus,a.active,a.selected,a.disabled,a.generating],Pt={size:[s.undefined,s.xsmall,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link],themeColor:[l.undefined,l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.inverse]},Te={showArrow:!1,arrowIconName:"chevron-down"},f=e=>{let{as:t="button",size:o,rounded:i,fillMode:n,themeColor:d,showArrow:p=Te.showArrow,arrowIconName:c=Te.arrowIconName,variant:h,hover:N,focus:b,active:T,selected:S,disabled:V,togglable:D,ariaDisabled:O,icon:I,iconSize:M,text:E,iconClassName:oe,className:fe,...xe}=e,be=I!=null,he=e.children!==void 0;return Ye(t,{className:r(fe,Z,ne(Z,h),v(Z,{size:o,rounded:i,fillMode:n,themeColor:d}),P(Z,{hover:N,focus:b,active:T,disabled:V||O,selected:S}),{"k-icon-button":!E&&!he&&be}),"aria-pressed":D?S?"true":"false":void 0,...xe,"aria-disabled":O?"true":void 0,disabled:V||void 0,children:[typeof I=="string"&&I&&U(x,{className:r(oe,"k-button-icon"),icon:I,size:M}),I&&typeof I!="string"&&U(Je,{children:I}),E?Ye(Je,{children:[E&&U("span",{className:"k-button-text",children:E}),e.children]}):e.children&&U("span",{className:"k-button-text",children:e.children}),p&&U("span",{className:"k-menu-button-arrow k-button-arrow",children:U(x,{icon:c})})]})};f.states=At;f.options=Pt;f.variants=Lt;f.className=Z;f.defaultOptions=Te;f.moduleName=ye;f.folderName=Ge;f.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};import{jsx as wt}from"react/jsx-runtime";var We=e=>wt(f,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as Bt}from"react/jsx-runtime";var Qe=e=>Bt(f,{icon:"folder",children:"Button",...e});import{jsx as _t}from"react/jsx-runtime";var _=e=>_t(f,{children:"Button",...e});import{jsx as Se}from"react/jsx-runtime";var Kt=f.options,Rt=f.states,zt={...f.defaultOptions,variant:"text"},Ht=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Vt=[],$=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return Se(We,{...o,icon:"star"});case"icon-and-text":return Se(Qe,{...o,icon:"star",children:"Button"});default:return Se(_,{...o,children:"Button"})}};$.options=Kt;$.states=Rt;$.variants=Ht;$.defaultOptions=zt;$.modifiers=Vt;$.className=f.className;var Me="textbox",Ze=Me;var j="input",re=j;import{jsx as Ft}from"react/jsx-runtime";var le="k-input",Dt=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Ut={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},$t={},k=e=>{let{hover:t,focus:o,disabled:i,invalid:n,valid:d,loading:p,readonly:c,size:h,rounded:N,fillMode:b,...T}=e;return Ft("span",{...T,className:r(e.className,le,v(le,{size:h,rounded:N,fillMode:b}),P(le,{hover:t,focus:o,disabled:i,invalid:n,valid:d,loading:p,readonly:c}))})};k.states=Dt;k.options=Ut;k.className=le;k.defaultOptions=$t;k.moduleName=j;k.folderName=re;import{jsx as Jt}from"react/jsx-runtime";var de="k-picker",Xt=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],qt={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Gt={},F=e=>{let{hover:t,focus:o,disabled:i,invalid:n,valid:d,loading:p,readonly:c,size:h,rounded:N,fillMode:b,...T}=e;return Jt("span",{...T,className:r(e.className,de,v(de,{size:h,rounded:N,fillMode:b}),P(de,{hover:t,focus:o,disabled:i,invalid:n,valid:d,loading:p,readonly:c})),children:e.children})};F.states=Xt;F.options=qt;F.className=de;F.defaultOptions=Gt;F.moduleName=j;F.folderName=re;import{Fragment as Qt,jsx as Ce}from"react/jsx-runtime";var je="k-clear-value",Yt=[a.disabled,a.loading,a.readonly],Wt={},K=e=>{let{disabled:t,loading:o,readonly:i,value:n}=e;return t||i||o||!n?Ce(Qt,{}):Ce("span",{className:r(e.className,je),children:Ce(x,{icon:"x"})})};K.states=Yt;K.options=Wt;K.className=je;import{jsx as eo}from"react/jsx-runtime";var Oe="k-input-inner",Zt=[],jt={},ce={type:"text",autocomplete:"off",value:"",placeholder:""},R=e=>{let{value:t=ce.value,type:o=ce.type,placeholder:i=ce.placeholder,autocomplete:n=ce.autocomplete,disabled:d,readOnly:p,...c}=e;return eo("input",{...c,type:o,className:r(e.className,Oe,v(Oe,e)),placeholder:i,autoComplete:n,defaultValue:t,disabled:d||void 0,readOnly:p||void 0})};R.states=Zt;R.options=jt;R.className=Oe;import{jsx as et,jsxs as no}from"react/jsx-runtime";var Ee="k-input-inner",to=[],oo={},Le=e=>{let{value:t,placeholder:o,showValue:i,valueIcon:n,valueIconName:d,...p}=e;return no("span",{...p,className:r(e.className,Ee,v(Ee,e)),children:[n,!n&&d&&et(x,{className:"k-input-value-icon",icon:d}),i&&!t&&o,i&&t&&et("span",{className:"k-input-value-text",children:t})]})};Le.states=to;Le.options=oo;Le.className=Ee;import{jsx as io}from"react/jsx-runtime";var Ae="k-input-inner",ao=[],so={},tt={value:"",placeholder:""},Pe=e=>{let{value:t=tt.value,placeholder:o=tt.placeholder,rows:i,disabled:n,...d}=e;return io("textarea",{...d,className:r(e.className,Ae,v(Ae,e)),placeholder:o,rows:i,defaultValue:t,disabled:n||void 0})};Pe.states=ao;Pe.options=so;Pe.className=Ae;import{Fragment as lo,jsx as ot}from"react/jsx-runtime";var nt="k-input-loading-icon",ro=[a.disabled,a.loading],X=e=>{let{disabled:t,loading:o}=e;return t||!o?ot(lo,{}):ot("span",{className:r(e.className,nt,"k-icon k-i-loading")})};X.states=ro;X.className=nt;import{Fragment as uo,jsx as at}from"react/jsx-runtime";var st="k-input-validation-icon",co=[a.valid,a.invalid,a.disabled,a.loading],po={},z=e=>{let{valid:t,invalid:o,disabled:i,loading:n}=e,d=o?"warning-circle":"check-circle";return i||n||!!!(t||o)?at(uo,{}):at(x,{className:r(st),icon:d})};z.states=co;z.options=po;z.className=st;import{Fragment as xo,jsx as it}from"react/jsx-runtime";var mo="k-input-prefix",fo={direction:"horizontal"},pe=e=>{let{direction:t=fo.direction,...o}=e;return e.children?it("span",{...o,className:r(mo,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):it(xo,{})};import{Fragment as No,jsx as rt}from"react/jsx-runtime";var bo="k-input-suffix",ho={direction:"horizontal"},ue=e=>{let{direction:t=ho.direction,...o}=e;return e.children?rt("span",{...o,className:r(bo,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):rt(No,{})};import{jsx as Ha}from"react/jsx-runtime";import{jsx as $a}from"react/jsx-runtime";import{jsx as go}from"react/jsx-runtime";var lt="k-input-separator",vo={direction:"vertical"},q=e=>{let{direction:t=vo.direction,...o}=e;return go("span",{...o,className:r(lt,e.className,{[`${lt}-${t}`]:t})})};import{Fragment as dt,jsx as A,jsxs as we}from"react/jsx-runtime";var Io=k.states,ko=k.defaultOptions,yo=k.options,To=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],So=[],G=e=>{let{modifiers:t,valid:o,invalid:i,loading:n,disabled:d,readonly:p,...c}=e,h=t?.prefix,N=t?.suffix,b=t?.["clear-button"],T=t?.["validation-icon"],S=t?.separators;return we(k,{...c,valid:o,invalid:i,loading:n,disabled:d,readonly:p,style:{width:300},children:[h&&we(dt,{children:[A(pe,{children:A(x,{icon:"lock"})}),S&&A(q,{})]}),A(R,{placeholder:"Placeholder",value:"Value"}),T&&A(z,{valid:o,invalid:i,loading:n,disabled:d}),A(X,{loading:n,disabled:d}),b&&A(K,{loading:n,disabled:d,readonly:p,value:"Value"}),N&&we(dt,{children:[S&&A(q,{}),A(ue,{children:A(_,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};G.options=yo;G.states=Io;G.variants=So;G.defaultOptions=ko;G.modifiers=To;G.className=k.className;import{Fragment as ct,jsx as w,jsxs as Be}from"react/jsx-runtime";var pt="k-textbox",Mo=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Co={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},me={showClearButton:!0,showValidationIcon:!0,separators:!0},g=e=>{let{size:t,rounded:o,fillMode:i,separators:n=me.separators,showClearButton:d=me.showClearButton,showValidationIcon:p=me.showValidationIcon,prefix:c,suffix:h,type:N,value:b,placeholder:T,hover:S,focus:V,valid:D,invalid:O,required:I,loading:M,disabled:E,readonly:oe,id:fe,"aria-label":xe,"aria-describedby":be,...he}=e;return Be(k,{...he,size:t,rounded:o,fillMode:i,hover:S,focus:V,valid:D,invalid:O,required:I,loading:M,disabled:E,readonly:oe,className:r(e.className,pt),children:[c&&Be(ct,{children:[w(pe,{children:c}),n&&w(q,{})]}),w(R,{id:fe,placeholder:T,value:b,type:N,disabled:E,"aria-label":xe,"aria-describedby":be,"aria-invalid":O?"true":void 0}),p&&w(z,{valid:D,invalid:O,loading:M,disabled:E}),w(X,{loading:M,disabled:E}),d&&w(K,{loading:M,disabled:E,readonly:oe,value:b}),h&&Be(ct,{children:[n&&w(q,{}),w(ue,{children:h})]})]})};g.states=Mo;g.options=Co;g.className=pt;g.defaultOptions=me;g.moduleName=Me;g.folderName=Ze;g.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var ee=g;import{jsx as Oo}from"react/jsx-runtime";var ut=e=>Oo(ee,{...e});import{Fragment as _s,jsx as Bs}from"react/jsx-runtime";import{Fragment as Ds,jsx as Vs}from"react/jsx-runtime";import{jsx as Xs}from"react/jsx-runtime";import{jsx as _e}from"react/jsx-runtime";var Eo=g.states,Lo=g.defaultOptions,Ao=g.options,Po=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],wo=[],J=e=>{let{modifiers:t,...o}=e,i={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":i.prefix=t?.[n]?_e(x,{icon:"lock"}):void 0;break;case"suffix":i.suffix=t?.[n]?_e(_,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":i.showClearButton=t?.[n];break;default:break}}),_e(ut,{value:"Value",style:{width:300},...o,...i})};J.options=Ao;J.states=Eo;J.variants=wo;J.defaultOptions=Lo;J.modifiers=Po;J.className=g.className;var Ke="skeleton",mt=Ke;import{jsx as Ro}from"react/jsx-runtime";var Re="k-skeleton",Bo=["circle","text","rect"],_o=[],Ko={},ze={variant:"text",shape:"text",animation:"pulse"},C=e=>{let{variant:t,shape:o,animation:i=ze.animation,...n}=e,d=`skeleton-${t||o||ze.variant}`;return Ro("span",{...n,className:r(e.className,Re,ne(Re,d),{[`k-skeleton-${i}`]:i}),style:e.style})};C.states=_o;C.options=Ko;C.variants=Bo;C.className=Re;C.defaultOptions=ze;C.moduleName=Ke;C.folderName=mt;C.ariaSpec={selector:".k-skeleton",rules:[]};import{jsx as fi}from"react/jsx-runtime";import{jsx as zo}from"react/jsx-runtime";var ft=e=>zo(C,{shape:"rect",...e});import{jsx as Ii}from"react/jsx-runtime";var He="captcha",xt=He;import{jsx as B,jsxs as te}from"react/jsx-runtime";var Ve="k-captcha",Ho=[a.loading,a.valid,a.invalid,a.disabled],Vo={},bt={imgPath:"/packages/html/assets/captcha.jpg"},y=e=>{let{value:t,valid:o,invalid:i,loading:n,disabled:d,imgPath:p=bt.imgPath,...c}=e;return te("div",{...c,className:r(e.className,Ve,P(Ve,{disabled:d}),{"k-captcha-loading":n}),children:[te("div",{className:"k-captcha-image-wrap k-hstack",children:[te("div",{className:"k-captcha-image",children:[B("img",{className:r({"k-hidden":n}),src:p,alt:"Captcha image"}),n&&B(ft,{style:{width:"100%",height:"100%"}})]}),te("div",{className:"k-captcha-image-controls k-vstack",children:[B(f,{icon:"volume-up",disabled:n===!0,"aria-label":"Play audio"}),B(f,{icon:"arrow-rotate-cw",disabled:n===!0,"aria-label":"Refresh captcha"})]}),B("div",{className:"k-captcha-volume-control k-vstack k-pos-absolute k-hidden",children:B("div",{className:"k-slider k-slider-vertical"})})]}),te("div",{className:"k-captcha-input k-vstack",children:[B(g,{value:t,valid:o,invalid:i,disabled:n===!0,"aria-label":"Captcha code"}),o&&!n&&B("span",{className:"k-captcha-validation-message !k-text-success",children:"Verification Success"})]})]})};y.states=Ho;y.options=Vo;y.className=Ve;y.defaultOptions=bt;y.moduleName=He;y.folderName=xt;import{jsx as Do}from"react/jsx-runtime";var ht=e=>Do(y,{value:"YR890",...e});import{jsx as Go}from"react/jsx-runtime";var Uo=y.options,$o=[],Fo=y.states,Xo=y.defaultOptions,qo=[],H=e=>Go(ht,{value:"YGRX7",imgPath:"https://demos.telerik.com/kendo-ui/content/captcha/81baf680-1778-48ad-938a-ff6fe97842f7.png",...e});H.options=Uo;H.states=Fo;H.variants=$o;H.defaultOptions=Xo;H.modifiers=qo;H.className=y.className;var Ui=H;export{H as CaptchaDemo,Ui as default};