UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 117 kB
var As=Object.create;var Ro=Object.defineProperty;var Ts=Object.getOwnPropertyDescriptor;var Os=Object.getOwnPropertyNames;var ws=Object.getPrototypeOf,Ps=Object.prototype.hasOwnProperty;var Rs=(e,t)=>{for(var o in t)Ro(e,o,{get:t[o],enumerable:!0})},$n=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Os(t))!Ps.call(e,n)&&n!==o&&Ro(e,n,{get:()=>t[n],enumerable:!(a=Ts(t,n))||a.enumerable});return e};var Xn=(e,t,o)=>(o=e!=null?As(ws(e)):{},$n(t||!e||!e.__esModule?Ro(o,"default",{value:e,enumerable:!0}):o,e)),Ks=e=>$n(Ro({},"__esModule",{value:!0}),e);var Lu={};Rs(Lu,{TOOLBAR_CLASSNAME:()=>je,Toolbar:()=>st,default:()=>gu});module.exports=Ks(Lu);var i=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?i(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var A=(e,t)=>i({[`${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"}),T=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:s,checked:d,active:p,selected:h,disabled:x,indeterminate:b,loading:N,empty:c,readonly:L,highlighted:v,...S}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":d,"k-active":p,"k-selected":h,"k-disabled":x,"k-indeterminate":b&&!d,"k-loading":N,"k-empty":c,"k-readonly":L,"k-highlighted":v},Object.keys(S).reduce((C,M)=>(M.startsWith("k-")?C[M]=S[M]:C[`k-${M}`]=S[M],C),{}))};function qn(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},m={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},f={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Xe={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},k={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},r={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var ua={};function K(e){return ua[e]=(ua[e]||0)+1,`k-${e}-${ua[e]}`}var po=require("react/jsx-runtime"),ma="k-font-icon",Bs=[],_s={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info]},Ds={},uo=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...d}=e;return a?(0,po.jsx)("span",{...d,className:i(e.className,ma,A(ma,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):(0,po.jsx)(po.Fragment,{})};uo.states=Bs;uo.options=_s;uo.className=ma;uo.defaultOptions=Ds;var Jn=uo;var kt=require("react/jsx-runtime"),fa="k-svg-icon",Hs=[],zs={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info],variant:[Xe.outline,Xe.solid,Xe.duotone]},ba={viewBox:"0 0 24 24",variant:Xe.outline},mo=e=>{var N,c;let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=ba.viewBox,variant:d=ba.variant,icon:p,...h}=e;if(!p)return(0,kt.jsx)(kt.Fragment,{});if(p==="none")return(0,kt.jsx)("span",{...h,className:i(e.className,fa,A("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof p=="object"&&p.name&&p.name,b=typeof p=="object"?d&&((N=p.variants)==null?void 0:N[d])||((c=p.variants)==null?void 0:c.outline)||p.content:void 0;return(0,kt.jsx)("span",{...h,className:i(e.className,fa,A("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:(0,kt.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof p=="object"?p.viewBox:s,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:p?void 0:e.children})})};mo.states=Hs;mo.options=zs;mo.className=fa;mo.defaultOptions=ba;var ha=mo;var xa=Xn(require("@progress/kendo-svg-icons"));var Wn="icon",Yn="icons";var jn=require("react");var Qn=require("react"),Zn=(0,Qn.createContext)({iconsType:"svg"});var et=require("react/jsx-runtime"),Ko="k-icon",Us=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Gs=[],Fs={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info],variant:[Xe.outline,Xe.solid,Xe.duotone]},Bo={viewBox:"0 0 24 24",type:"svg",variant:Xe.outline},I=e=>{let{iconsType:t}=(0,jn.useContext)(Zn),{size:o,themeColor:a,icon:n,type:s=t||Bo.type,rotate:d,flip:p,viewBox:h=Bo.viewBox,variant:x=Bo.variant,...b}=e;if(!n)return(0,et.jsx)(et.Fragment,{});if((t||s)==="svg"){if(n==="none")return(0,et.jsx)(ha,{...b,className:i(e.className,Ko),icon:n,size:o,variant:x});let c=xa[n]?n:Us(`${n}-icon`);return xa[c]?(0,et.jsx)(ha,{...b,className:i(e.className,Ko),icon:xa[c],size:o,themeColor:a,rotate:d,flip:p,viewBox:h,variant:x}):(0,et.jsx)(et.Fragment,{})}return(0,et.jsx)(Jn,{...b,className:i(e.className,Ko),icon:n,size:o,themeColor:a,rotate:d,flip:p})};I.states=Gs;I.options=Fs;I.defaultOptions=Bo;I.className=Ko;I.moduleName=Wn;I.folderName=Yn;I.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 Na="button",er=Na;var ye=require("react/jsx-runtime"),fo="k-button",Vs=["icon-button"],$s=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],Xs={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info,k.inverse]},va={showArrow:!1,arrowIconName:"chevron-down"},u=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:d=va.showArrow,arrowIconName:p=va.arrowIconName,variant:h,hover:x,focus:b,active:N,selected:c,disabled:L,togglable:v,ariaDisabled:S,icon:C,iconSize:M,text:w,iconClassName:$,className:re,...me}=e,fe=C!=null,be=e.children!==void 0;return(0,ye.jsxs)(t,{className:i(re,fo,qn(fo,h),A(fo,{size:o,rounded:a,fillMode:n,themeColor:s}),T(fo,{hover:x,focus:b,active:N,disabled:L||S,selected:c}),{"k-icon-button":!w&&!be&&fe}),"aria-pressed":v?c?"true":"false":void 0,...me,"aria-disabled":S?"true":void 0,disabled:L||void 0,children:[typeof C=="string"&&C&&(0,ye.jsx)(I,{className:i($,"k-button-icon"),icon:C,size:M}),C&&typeof C!="string"&&(0,ye.jsx)(ye.Fragment,{children:C}),w?(0,ye.jsxs)(ye.Fragment,{children:[w&&(0,ye.jsx)("span",{className:"k-button-text",children:w}),e.children]}):e.children&&(0,ye.jsx)("span",{className:"k-button-text",children:e.children}),d&&(0,ye.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,ye.jsx)(I,{icon:p})})]})};u.states=$s;u.options=Xs;u.variants=Vs;u.className=fo;u.defaultOptions=va;u.moduleName=Na;u.folderName=er;u.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."}]};var tr=require("react/jsx-runtime"),dt=e=>(0,tr.jsx)(u,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var or=require("react/jsx-runtime"),bo=e=>(0,or.jsx)(u,{icon:"folder",children:"Button",...e});var ar=require("react/jsx-runtime"),gt=e=>(0,ar.jsx)(u,{children:"Button",...e});var _o=require("react/jsx-runtime"),qs=u.options,Js=u.states,Ws={...u.defaultOptions,variant:"text"},Ys=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Qs=[],At=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,_o.jsx)(dt,{...o,icon:"star"});case"icon-and-text":return(0,_o.jsx)(bo,{...o,icon:"star",children:"Button"});default:return(0,_o.jsx)(gt,{...o,children:"Button"})}};At.options=qs;At.states=Js;At.variants=Ys;At.defaultOptions=Ws;At.modifiers=Qs;At.className=u.className;var ka="button",nr=ka;var rr=require("react/jsx-runtime"),ho="k-button-group",Zs=[r.disabled],js={fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},el={},_=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return(0,rr.jsx)("div",{role:"group",...n,className:i(e.className,ho,A(ho,{fillMode:t}),T(ho,{disabled:o}),{[`${ho}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};_.states=Zs;_.options=js;_.className=ho;_.defaultOptions=el;_.moduleName=ka;_.folderName=nr;_.ariaSpec={selector:".k-button-group",rules:[{selector:".k-button-group:not(.k-split-button)",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-button-group.k-disabled",attribute:"aria-disabled=true",usage:"The attribute is rendered only when the entire button group is disabled."},{selector:".k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button",attribute:"aria-pressed (when selected)",usage:"Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true."}]};var ga=require("react/jsx-runtime");var La=require("react/jsx-runtime");var Ia=require("react/jsx-runtime");var Sa=require("react/jsx-runtime");var Ma=require("react/jsx-runtime");var Ca=require("react/jsx-runtime");var Le=require("react/jsx-runtime"),tl={...u.options,..._.options},ol=u.states,al={...u.defaultOptions,..._.defaultOptions,variant:"text-button"},nl=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],rl=[],Tt=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,Le.jsxs)(_,{fillMode:a.fillMode,className:o,children:[(0,Le.jsx)(u,{...a,icon:"star"}),(0,Le.jsx)(u,{...a,icon:"star"}),(0,Le.jsx)(u,{...a,icon:"star"})]}):t==="icon-text-button"?(0,Le.jsxs)(_,{fillMode:a.fillMode,className:o,children:[(0,Le.jsx)(u,{...a,icon:"star",children:"First"}),(0,Le.jsx)(u,{...a,icon:"star",children:"Middle"}),(0,Le.jsx)(u,{...a,icon:"star",children:"Last"})]}):(0,Le.jsxs)(_,{fillMode:a.fillMode,className:o,children:[(0,Le.jsx)(u,{...a,children:"First"}),(0,Le.jsx)(u,{...a,children:"Middle"}),(0,Le.jsx)(u,{...a,children:"Last"})]})};Tt.options=tl;Tt.states=ol;Tt.variants=nl;Tt.defaultOptions=al;Tt.modifiers=rl;Tt.className=_.className;var xo="input",Do=xo;var ir=require("react/jsx-runtime"),Ho="k-input",il=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],sl={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},ll={},X=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:p,size:h,rounded:x,fillMode:b,...N}=e;return(0,ir.jsx)("span",{...N,className:i(e.className,Ho,A(Ho,{size:h,rounded:x,fillMode:b}),T(Ho,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:p}))})};X.states=il;X.options=sl;X.className=Ho;X.defaultOptions=ll;X.moduleName=xo;X.folderName=Do;var sr=require("react/jsx-runtime"),zo="k-picker",dl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],cl={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},pl={},qe=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:p,size:h,rounded:x,fillMode:b,...N}=e;return(0,sr.jsx)("span",{...N,className:i(e.className,zo,A(zo,{size:h,rounded:x,fillMode:b}),T(zo,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:p})),children:e.children})};qe.states=dl;qe.options=cl;qe.className=zo;qe.defaultOptions=pl;qe.moduleName=xo;qe.folderName=Do;var Ot=require("react/jsx-runtime"),lr="k-clear-value",ul=[r.disabled,r.loading,r.readonly],ml={},Ee=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?(0,Ot.jsx)(Ot.Fragment,{}):(0,Ot.jsx)("span",{className:i(e.className,lr),children:(0,Ot.jsx)(I,{icon:"x"})})};Ee.states=ul;Ee.options=ml;Ee.className=lr;var dr=require("react/jsx-runtime"),ya="k-input-inner",fl=[],bl={},Uo={type:"text",autocomplete:"off",value:"",placeholder:""},Ae=e=>{let{value:t=Uo.value,type:o=Uo.type,placeholder:a=Uo.placeholder,autocomplete:n=Uo.autocomplete,disabled:s,readOnly:d,...p}=e;return(0,dr.jsx)("input",{...p,type:o,className:i(e.className,ya,A(ya,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:d||void 0})};Ae.states=fl;Ae.options=bl;Ae.className=ya;var No=require("react/jsx-runtime"),Ea="k-input-inner",hl=[],xl={},Lt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...d}=e;return(0,No.jsxs)("span",{...d,className:i(e.className,Ea,A(Ea,e)),children:[n,!n&&s&&(0,No.jsx)(I,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&(0,No.jsx)("span",{className:"k-input-value-text",children:t})]})};Lt.states=hl;Lt.options=xl;Lt.className=Ea;var pr=require("react/jsx-runtime"),Aa="k-input-inner",Nl=[],vl={},cr={value:"",placeholder:""},Ta=e=>{let{value:t=cr.value,placeholder:o=cr.placeholder,rows:a,disabled:n,...s}=e;return(0,pr.jsx)("textarea",{...s,className:i(e.className,Aa,A(Aa,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Ta.states=Nl;Ta.options=vl;Ta.className=Aa;var vo=require("react/jsx-runtime"),ur="k-input-loading-icon",kl=[r.disabled,r.loading],Ie=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,vo.jsx)(vo.Fragment,{}):(0,vo.jsx)("span",{className:i(e.className,ur,"k-icon k-i-loading")})};Ie.states=kl;Ie.className=ur;var ko=require("react/jsx-runtime"),mr="k-input-validation-icon",gl=[r.valid,r.invalid,r.disabled,r.loading],Ll={},he=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?(0,ko.jsx)(ko.Fragment,{}):(0,ko.jsx)(I,{className:i(mr),icon:s})};he.states=gl;he.options=Ll;he.className=mr;var go=require("react/jsx-runtime"),Il="k-input-prefix",Sl={direction:"horizontal"},Re=e=>{let{direction:t=Sl.direction,...o}=e;return e.children?(0,go.jsx)("span",{...o,className:i(Il,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,go.jsx)(go.Fragment,{})};var Lo=require("react/jsx-runtime"),Ml="k-input-suffix",Cl={direction:"horizontal"},Ke=e=>{let{direction:t=Cl.direction,...o}=e;return e.children?(0,Lo.jsx)("span",{...o,className:i(Ml,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Lo.jsx)(Lo.Fragment,{})};var yl=require("react/jsx-runtime");var fr=require("react/jsx-runtime"),El="k-input-suffix-text",Oa=e=>{let{children:t,...o}=e;return(0,fr.jsx)("span",{...o,className:i(El,e.className),children:t})};var hr=require("react/jsx-runtime"),br="k-input-separator",Al={direction:"vertical"},Be=e=>{let{direction:t=Al.direction,...o}=e;return(0,hr.jsx)("span",{...o,className:i(br,e.className,{[`${br}-${t}`]:t})})};var Q=require("react/jsx-runtime"),Tl=X.states,Ol=X.defaultOptions,wl=X.options,Pl=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Rl=[],wt=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:s,readonly:d,...p}=e,h=t==null?void 0:t.prefix,x=t==null?void 0:t.suffix,b=t==null?void 0:t["clear-button"],N=t==null?void 0:t["validation-icon"],c=t==null?void 0:t.separators;return(0,Q.jsxs)(X,{...p,valid:o,invalid:a,loading:n,disabled:s,readonly:d,style:{width:300},children:[h&&(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(Re,{children:(0,Q.jsx)(I,{icon:"lock"})}),c&&(0,Q.jsx)(Be,{})]}),(0,Q.jsx)(Ae,{placeholder:"Placeholder",value:"Value"}),N&&(0,Q.jsx)(he,{valid:o,invalid:a,loading:n,disabled:s}),(0,Q.jsx)(Ie,{loading:n,disabled:s}),b&&(0,Q.jsx)(Ee,{loading:n,disabled:s,readonly:d,value:"Value"}),x&&(0,Q.jsxs)(Q.Fragment,{children:[c&&(0,Q.jsx)(Be,{}),(0,Q.jsx)(Ke,{children:(0,Q.jsx)(gt,{size:p.size,fillMode:"clear",children:"Send"})})]})]})};wt.options=wl;wt.states=Tl;wt.variants=Rl;wt.defaultOptions=Ol;wt.modifiers=Pl;wt.className=X.className;var Io=require("react/jsx-runtime"),xr="k-color-preview",Kl=[],Bl={},ct=e=>{let{color:t,iconName:o,...a}=e;return(0,Io.jsxs)("span",{...a,className:i(e.className,xr,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,Io.jsx)(I,{icon:o,className:"k-color-preview-icon"}),(0,Io.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};ct.states=Kl;ct.options=Bl;ct.className=xr;var wa="popup",Nr=wa;var Ra=require("react/jsx-runtime"),vr="k-animation-container",_l=[],Dl={},Pa={positionMode:"absolute",shown:!0},Je=e=>{let{positionMode:t=Pa.positionMode,shown:o=Pa.shown,animationStyle:a,offset:n,...s}=e;return(0,Ra.jsx)("div",{...s,style:{...n,...e.style},className:i(e.className,vr,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,Ra.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};Je.states=_l;Je.options=Dl;Je.className=vr;Je.defaultOptions=Pa;Je.moduleName=wa;Je.folderName=Nr;var Ka="popup",kr=Ka;var Ba=require("react/jsx-runtime"),gr="k-popup",Hl=[],zl={},Lr={positionMode:"absolute"},G=e=>{let{offset:t,positionMode:o=Lr.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:d,...p}=e;return(0,Ba.jsx)(Je,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":d,children:(0,Ba.jsx)("div",{...p,className:i(e.className,gr),children:e.children})})};G.states=Hl;G.options=zl;G.className=gr;G.defaultOptions=Lr;G.moduleName=Ka;G.folderName=kr;G.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var _a="action-buttons",Ir=_a;var Sr=require("react/jsx-runtime"),Go="k-actions",Ul=[],Gl={},Da={alignment:"start",orientation:"horizontal"},We=e=>{let{alignment:t=Da.alignment,orientation:o=Da.orientation,...a}=e;return(0,Sr.jsx)("div",{...a,className:i(Go,{[`${Go}-${t}`]:t,[`${Go}-${o}`]:o},e.className),children:e.children})};We.states=Ul;We.options=Gl;We.className=Go;We.defaultOptions=Da;We.moduleName=_a;We.folderName=Ir;var Cr=require("react/jsx-runtime"),Fl="k-actionsheet-footer",Mr={alignment:"stretched",orientation:"horizontal"},pt=e=>{let{alignment:t=Mr.alignment,orientation:o=Mr.orientation,template:a,as:n=a?"div":We,...s}=e;return(0,Cr.jsx)(n,{...s,...!a&&{alignment:t,orientation:o},className:i(e.className,Fl),children:e.children})};var Ha="searchbox",yr=Ha;var ut=require("react/jsx-runtime"),Er="k-searchbox",Vl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],$l={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},za={showIcon:!0,icon:"search"},_e=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:d,focus:p,valid:h,invalid:x,required:b,loading:N,disabled:c,showIcon:L=za.showIcon,icon:v=za.icon,"aria-label":S,...C}=e;return(0,ut.jsxs)(X,{...C,size:a,rounded:n,fillMode:s,hover:d,focus:p,valid:h,invalid:x,required:b,loading:N,disabled:c,className:i(e.className,Er),children:[L&&(0,ut.jsx)(I,{className:"k-input-icon",icon:v}),(0,ut.jsx)(Ae,{placeholder:o,value:t,"aria-label":S}),(0,ut.jsx)(Ie,{...e}),(0,ut.jsx)(he,{...e}),(0,ut.jsx)(Ee,{...e})]})};_e.states=Vl;_e.options=$l;_e.className=Er;_e.defaultOptions=za;_e.moduleName=Ha;_e.folderName=yr;var Xl=require("react/jsx-runtime");var Ua="textbox",Ar=Ua;var ie=require("react/jsx-runtime"),Tr="k-textbox",ql=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Jl={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Fo={showClearButton:!0,showValidationIcon:!0,separators:!0},ee=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Fo.separators,showClearButton:s=Fo.showClearButton,showValidationIcon:d=Fo.showValidationIcon,prefix:p,suffix:h,type:x,value:b,placeholder:N,hover:c,focus:L,valid:v,invalid:S,required:C,loading:M,disabled:w,readonly:$,id:re,"aria-label":me,"aria-describedby":fe,...be}=e;return(0,ie.jsxs)(X,{...be,size:t,rounded:o,fillMode:a,hover:c,focus:L,valid:v,invalid:S,required:C,loading:M,disabled:w,readonly:$,className:i(e.className,Tr),children:[p&&(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsx)(Re,{children:p}),n&&(0,ie.jsx)(Be,{})]}),(0,ie.jsx)(Ae,{id:re,placeholder:N,value:b,type:x,disabled:w,"aria-label":me,"aria-describedby":fe,"aria-invalid":S?"true":void 0}),d&&(0,ie.jsx)(he,{valid:v,invalid:S,loading:M,disabled:w}),(0,ie.jsx)(Ie,{loading:M,disabled:w}),s&&(0,ie.jsx)(Ee,{loading:M,disabled:w,readonly:$,value:b}),h&&(0,ie.jsxs)(ie.Fragment,{children:[n&&(0,ie.jsx)(Be,{}),(0,ie.jsx)(Ke,{children:h})]})]})};ee.states=ql;ee.options=Jl;ee.className=Tr;ee.defaultOptions=Fo;ee.moduleName=Ua;ee.folderName=Ar;ee.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 So=ee;var wr=require("react/jsx-runtime"),Or=e=>(0,wr.jsx)(So,{...e});var Pr=require("react/jsx-runtime");var Rr=require("react/jsx-runtime");var Wl=require("react/jsx-runtime");var Vo=require("react/jsx-runtime"),Yl=ee.states,Ql=ee.defaultOptions,Zl=ee.options,jl=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],ed=[],Pt=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,Vo.jsx)(I,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,Vo.jsx)(gt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[n];break;default:break}}),(0,Vo.jsx)(Or,{value:"Value",style:{width:300},...o,...a})};Pt.options=Zl;Pt.states=Yl;Pt.variants=ed;Pt.defaultOptions=Ql;Pt.modifiers=jl;Pt.className=ee.className;var Te=require("react/jsx-runtime"),Kr="k-actionsheet-titlebar",td={},xe=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:d,inputValue:p,inputPlaceholder:h,adaptive:x,titleId:b,children:N,...c}=e;return(0,Te.jsxs)("div",{...c,className:i(e.className,Kr),children:[(0,Te.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,Te.jsx)("div",{className:"k-actionsheet-actions",children:a}),!N&&(0,Te.jsxs)("div",{className:"k-actionsheet-title",id:b,children:[t&&(0,Te.jsx)("div",{className:"k-text-center",children:t}),o&&(0,Te.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&(0,Te.jsx)("div",{className:"k-actionsheet-title",id:b,children:N}),n&&(0,Te.jsx)("div",{className:"k-actionsheet-actions",children:n})]}),(d||s)&&(0,Te.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?(0,Te.jsx)(ee,{value:p,placeholder:h,size:x?"large":"medium","aria-label":t||h||"Input"}):(0,Te.jsx)(_e,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};xe.className=Kr;xe.defaultOptions=td;var Rt=require("react/jsx-runtime"),Ga="k-actionsheet-view",od=[],ad={},nd={},Kt=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:d,...p}=e,h=(n==null?void 0:n.type)===xe&&(0,Rt.jsx)(xe,{adaptive:t,titleId:d,...n==null?void 0:n.props}),x=(s==null?void 0:s.type)===pt&&(0,Rt.jsx)(pt,{...s==null?void 0:s.props});return(0,Rt.jsxs)("div",{...p,className:i(e.className,Ga,{[`${Ga}-animated`]:o}),children:[h,(0,Rt.jsx)("div",{className:"k-actionsheet-content",children:a}),x]})};Kt.states=od;Kt.options=ad;Kt.className=Ga;Kt.defaultOptions=nd;var Mo="action-sheet",$o=Mo;var Fa="overlay",Br=Fa;var Dr=require("react/jsx-runtime"),_r="k-overlay",rd=[],id={},sd={},mt=e=>{let{...t}=e;return(0,Dr.jsx)("div",{...t,className:i(e.className,_r),children:e.children})};mt.states=rd;mt.options=id;mt.className=_r;mt.defaultOptions=sd;mt.moduleName=Fa;mt.folderName=Br;var It=require("react/jsx-runtime"),Hr="k-actionsheet",ld=[],dd={},Co={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},F=e=>{let{side:t=Co.side,fullscreen:o=Co.fullscreen,adaptive:a=Co.adaptive,overlay:n=Co.overlay,template:s,children:d,header:p,footer:h,id:x,...b}=e,N=x&&!s&&p?`${x}-title`:void 0;return(0,It.jsxs)("div",{className:"k-actionsheet-container",children:[n&&(0,It.jsx)(mt,{}),(0,It.jsx)(Je,{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",{...b,id:x,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":N,className:i(e.className,Hr,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||(0,It.jsx)(Kt,{header:p,footer:h,adaptive:a,titleId:N,...e,children:d})})})]})};F.states=ld;F.options=dd;F.className=Hr;F.defaultOptions=Co;F.moduleName=Mo;F.folderName=$o;F.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};var Ur=require("react/jsx-runtime"),zr="k-actionsheet-container",cd=[],pd={},ud={},Bt=e=>{let{children:t,...o}=e;return(0,Ur.jsx)("div",{...o,className:zr,children:t})};Bt.states=cd;Bt.options=pd;Bt.className=zr;Bt.defaultOptions=ud;Bt.moduleName=Mo;Bt.folderName=$o;var Gr=require("react/jsx-runtime"),Va=e=>{let{...t}=e;return(0,Gr.jsx)("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};var De=require("react/jsx-runtime"),$a="k-actionsheet-item",md=[r.hover,r.focus,r.selected,r.disabled],ft=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:d,disabled:p,...h}=e;return(0,De.jsxs)("span",{...h,className:i(e.className,$a,T($a,{hover:n,focus:s,selected:d,disabled:p})),children:[!e.children&&(0,De.jsx)(De.Fragment,{children:(0,De.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,De.jsx)("span",{className:"k-icon-wrap",children:(0,De.jsx)(I,{className:"k-actionsheet-item-icon",icon:t})}),(0,De.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,De.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,De.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};ft.states=md;ft.className=$a;var Fr=require("react/jsx-runtime");var fd=require("react/jsx-runtime");var bd=require("react/jsx-runtime");var hd=require("react/jsx-runtime");var z=require("react/jsx-runtime"),xd=F.options,Nd=F.states,$r={...F.defaultOptions,variant:"normal"},vd=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],kd=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],_t=e=>{let{variant:t,modifiers:o,...a}={...$r,...e},n={},s=(0,z.jsxs)(Va,{children:[(0,z.jsx)(ft,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,z.jsx)(ft,{text:"Add to Favorites",iconName:"heart"}),(0,z.jsx)(ft,{text:"Upload New",iconName:"upload",disabled:!0}),(0,z.jsx)("hr",{className:"k-hr"}),(0,z.jsx)(ft,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",p="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(h=>{switch(h){case"actions":n.actionsStart=!!(o!=null&&o[h]),n.actionsEnd=!!(o!=null&&o[h]);break;case"subtitle":n.subtitle=o!=null&&o[h]?d:void 0;break;case"footer":n.footer=!!(o!=null&&o[h]);break;default:break}}),t==="adaptive"?(0,z.jsx)(F,{...a,adaptive:!0,fullscreen:n.fullScreen,header:(0,z.jsx)(xe,{actionsStart:n.actionsStart?(0,z.jsx)(u,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,z.jsx)(u,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:p,subtitle:n.subtitle}),footer:n.footer?(0,z.jsxs)(pt,{alignment:"stretched",children:[(0,z.jsx)(u,{text:"Cancel",size:"large",themeColor:"base"}),(0,z.jsx)(u,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):(0,z.jsx)(F,{...a,fullscreen:n.fullScreen,header:(0,z.jsx)(xe,{actionsStart:n.actionsStart?(0,z.jsx)(u,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,z.jsx)(u,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?(0,z.jsxs)(pt,{alignment:"stretched",children:[(0,z.jsx)(u,{text:"Apply",themeColor:"primary"}),(0,z.jsx)(u,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};_t.options=xd;_t.states=Nd;_t.variants=vd;_t.defaultOptions=$r;_t.modifiers=kd;_t.className=F.className;var Xa="slider",Xr=Xa;var Ge=require("react/jsx-runtime"),yo="k-slider",gd=[r.hover,r.focus,r.active,r.disabled,r.readonly],Ld={},He={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},H=e=>{let{type:t=He.type,orientation:o=He.orientation,gradientType:a=He.gradientType,readonly:n=He.readonly,disabled:s=He.disabled,handlePosition:d=He.handlePosition,showButtons:p=He.showButtons,showTicks:h=He.showTicks,value:x=He.value,min:b=He.min,max:N=He.max,startValue:c,endValue:L,hover:v,focus:S,active:C,trackStyle:M,dir:w,...$}=e,me=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),fe,be;return o==="horizontal"?(fe=w==="rtl"?"chevron-left":"chevron-right",be=w==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(fe="chevron-up",be="chevron-down"),(0,Ge.jsxs)("div",{...$,className:i(yo,e.className,T(yo,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:w,children:[p&&(0,Ge.jsx)(u,{className:"k-button-decrease",rounded:"full",icon:be,tabIndex:-1,title:"Decrease"}),(0,Ge.jsxs)("div",{className:"k-slider-track-wrap",children:[h&&(0,Ge.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,Ge.jsxs)("div",{className:"k-slider-track",style:M,children:[(0,Ge.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,Ge.jsx)("span",{className:i("k-draghandle","k-draghandle-start",T(yo,{hover:v,focus:S,active:C})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":c??b,"aria-valuemin":b,"aria-valuemax":L??N,"aria-orientation":me,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":$["aria-label"]?`${$["aria-label"]} start`:"Range start"}),(0,Ge.jsx)("span",{className:i("k-draghandle",`k-draghandle-${d}`,T(yo,{hover:v,focus:S,active:C})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?L??N:x,"aria-valuemin":t==="range"?c??b:b,"aria-valuemax":N,"aria-orientation":me,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?$["aria-label"]?`${$["aria-label"]} end`:"Range end":$["aria-label"]})]})]}),p&&(0,Ge.jsx)(u,{className:"k-button-increase",rounded:"full",icon:fe,tabIndex:-1,title:"Increase"})]})};H.states=gd;H.options=Ld;H.className=yo;H.defaultOptions=He;H.moduleName=Xa;H.folderName=Xr;H.ariaSpec={selector:".k-slider",rules:[{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"role=slider",usage:"Sets the proper role for Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-label or aria-labelledby or title",usage:"The Slider needs an accessible name to be assigned to it."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the Slider is in a form and announces the invalid state."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuenow",usage:"Specifies the currently selected value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemin",usage:"Specifies the minimum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemax",usage:"Specifies the maximum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuetext (when has text alternative)",usage:"Specifies a human-readable text alternative to the numeric value. Provided by consuming applications."},{selector:".k-slider:not(.k-disabled) .k-draghandle:not(.k-hsv-draghandle)",attribute:"tabindex=0",usage:"The element must be focusable. Disabled sliders are removed from tab order."},{selector:".k-slider-vertical .k-draghandle",attribute:"aria-orientation=vertical (when vertical)",usage:"Present only when slider is vertical."},{selector:".k-slider.k-disabled .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-disabled=true",usage:"Rendered only when the Slider is disabled."},{selector:".k-slider.k-readonly .k-draghandle",attribute:"aria-readonly=true (when readonly)",usage:"Rendered only when the Slider is readonly. Readonly sliders remain focusable but their value cannot be changed."},{selector:".k-slider .k-button",attribute:"tabindex=-1",usage:"Excludes the buttons from the natural tab order. Keyboard users use arrow keys on the drag handle."},{selector:".k-slider .k-button",attribute:"title",usage:'Provides a tooltip describing the button action (e.g., "Decrease" or "Increase").'},{selector:".k-slider .k-slider-items",attribute:"aria-hidden=true",usage:"Hides the tick list from assistive technologies. Tick values are redundant with the drag handle value attributes."},{selector:".k-slider .k-tick",attribute:"role=presentation",usage:"Removes semantic meaning from individual tick elements. Ticks are visual-only markers."},{selector:".k-slider .k-tick",attribute:"title",usage:"Represents the value associated with the respective tick."}]};var qa=require("react/jsx-runtime"),qr="k-tick",Id=[],Sd={},Jr={label:!1},y=e=>{let{style:t,label:o=Jr.label,orientation:a,large:n,text:s,...d}=e;return(0,qa.jsx)("li",{...d,role:"presentation",title:s||"Tick",className:i(e.className,qr,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&(0,qa.jsx)("span",{className:"k-label",children:s})})};y.states=Id;y.options=Sd;y.className=qr;y.defaultOptions=Jr;var te=require("react/jsx-runtime"),Wr=e=>(0,te.jsx)(H,{"aria-label":e["aria-label"]||"Slider",children:(0,te.jsxs)(te.Fragment,{children:[(0,te.jsx)(y,{className:"k-first",label:!0,large:!0,text:"0"}),(0,te.jsx)(y,{}),(0,te.jsx)(y,{}),(0,te.jsx)(y,{}),(0,te.jsx)(y,{}),(0,te.jsx)(y,{label:!0,large:!0,text:"5"}),(0,te.jsx)(y,{}),(0,te.jsx)(y,{}),(0,te.jsx)(y,{}),(0,te.jsx)(y,{}),(0,te.jsx)(y,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var oe=require("react/jsx-runtime"),Yr=e=>(0,oe.jsx)(H,{children:(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsx)(y,{className:"k-first",label:!0,large:!0,text:"0"}),(0,oe.jsx)(y,{}),(0,oe.jsx)(y,{}),(0,oe.jsx)(y,{}),(0,oe.jsx)(y,{}),(0,oe.jsx)(y,{label:!0,large:!0,text:"5"}),(0,oe.jsx)(y,{}),(0,oe.jsx)(y,{}),(0,oe.jsx)(y,{}),(0,oe.jsx)(y,{}),(0,oe.jsx)(y,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var Ja=require("react/jsx-runtime");var Wa=require("react/jsx-runtime");var Qr=require("react/jsx-runtime"),Ya=e=>(0,Qr.jsx)(H,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Zr=require("react/jsx-runtime"),Qa=e=>(0,Zr.jsx)(H,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Za=require("react/jsx-runtime");var ja=require("react/jsx-runtime");var Se=require("react/jsx-runtime"),Md=H.options,Cd=H.states,jr={...H.defaultOptions,variant:"horizontal",label:!0},yd=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Ed=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Dt=e=>{let{variant:t,modifiers:o,...a}=e,n=jr.label,s={};Object.keys(o||{}).forEach(p=>{switch(p){case"button":{s.showButtons=!!(o!=null&&o[p]);break}case"label":{n=!!(o!=null&&o[p]);break}case"tick":{s.showTicks=!!(o!=null&&o[p]);break}}});let d={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,Se.jsxs)(Yr,{style:{height:"300px",...d},...a,...s,children:[(0,Se.jsx)(y,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,Se.jsx)(y,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,Se.jsx)(y,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,Se.jsx)(y,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,Se.jsx)(y,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,Se.jsxs)(Wr,{style:{width:"400px",...d},...a,...s,children:[(0,Se.jsx)(y,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,Se.jsx)(y,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,Se.jsx)(y,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,Se.jsx)(y,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,Se.jsx)(y,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Dt.options=Md;Dt.states=Cd;Dt.variants=yd;Dt.defaultOptions=jr;Dt.modifiers=Ed;Dt.className=H.className;var Eo=require("react/jsx-runtime"),ei="k-spin-button",Od=[],wd={size:[l.undefined,l.small,l.medium,l.large],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},en={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},bt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=en.increaseLabel,decreaseLabel:s=en.decreaseLabel,...d}=e;return(0,Eo.jsxs)("span",{...d,className:i(ei,e.className),children:[(0,Eo.jsx)(u,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),(0,Eo.jsx)(u,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};bt.states=Od;bt.options=wd;bt.className=ei;bt.defaultOptions=en;bt.moduleName=null;bt.folderName=null;var ti="numeric-textbox",oi="numerictextbox";var ae=require("react/jsx-runtime"),ai="k-numerictextbox",Pd=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Rd={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Xo={showSpinButton:!0,showClearButton:!0,separators:!0},B=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Xo.separators,showClearButton:s=Xo.showClearButton,showSpinButton:d=Xo.showSpinButton,prefix:p,suffix:h,value:x,placeholder:b,hover:N,focus:c,valid:L,invalid:v,required:S,loading:C,disabled:M,readonly:w,id:$,"aria-label":re,"aria-describedby":me,...fe}=e;return(0,ae.jsxs)(X,{...fe,size:t,rounded:o,fillMode:a,hover:N,focus:c,valid:L,invalid:v,required:S,loading:C,disabled:M,readonly:w,className:i(e.className,ai),children:[p&&(0,ae.jsxs)(ae.Fragment,{children:[(0,ae.jsx)(Re,{children:p}),n&&(0,ae.jsx)(Be,{})]}),(0,ae.jsx)(Ae,{id:$,placeholder:b,value:x,role:"spinbutton",disabled:M,"aria-label":re,"aria-describedby":me,"aria-invalid":v?"true":void 0}),(0,ae.jsx)(he,{valid:L,invalid:v,loading:C,disabled:M}),(0,ae.jsx)(Ie,{loading:C,disabled:M}),s&&(0,ae.jsx)(Ee,{loading:C,disabled:M,readonly:w,value:x}),h&&(0,ae.jsxs)(ae.Fragment,{children:[n&&(0,ae.jsx)(Be,{}),(0,ae.jsx)(Ke,{children:h})]}),d&&(0,ae.jsx)(bt,{className:"k-input-spinner",size:t,fillMode:a,disabled:M})]})};B.states=Pd;B.options=Rd;B.className=ai;B.defaultOptions=Xo;B.moduleName=ti;B.folderName=oi;B.ariaSpec={selector:".k-numerictextbox",rules:[{selector:".k-numerictextbox > .k-input-inner",attribute:"role=spinbutton",usage:"Announces the spin button capabilities of the NumericTextBox."},{selector:".k-numerictextbox > .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-numerictextbox > .k-input-inner",attribute:"aria-valuenow (when has value)",usage:"Announces the current value of the component."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemin (when has min)",usage:"Announces the minimum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemax (when has max)",usage:"Announces the maximum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the NumericTextBox is in an invalid state."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message."},{selector:".k-numerictextbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"role=button or nodeName=button",usage:"Describes the role of the spin buttons."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"aria-label",usage:"The button element requires discernible text."},{selector:".k-numerictextbox.k-disabled .k-spin-button > .k-button",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."}]};var Ao=B;var ri=require("react/jsx-runtime"),ni=e=>(0,ri.jsx)(Ao,{...e});var Jo=Xn(require("react"));var tn=require("react/jsx-runtime"),Kd="k-list-group-sticky-header",on=e=>(0,tn.jsx)("div",{className:i(Kd,e.className),children:(0,tn.jsx)("div",{className:"k-list-header-text",children:e.children})});var ii=require("react/jsx-runtime"),Bd="k-no-data",qo=e=>{let{live:t,...o}=e;return(0,ii.jsx)("span",{...o,className:i(Bd,e.className),"aria-live":t?"polite":void 0,children:e.children})};var St="list",Ht=St;var zt=require("react/jsx-runtime"),an="k-list",_d=[],Dd={size:[l.undefined,l.small,l.medium,l.large]},Hd={},P=e=>{var v;let{size:t,virtualization:o,children:a,header:n,selectAll:s,optionLabel:d,customValue:p,noData:h,screenReaders:x,...b}=e,c=Jo.default.Children.toArray(a)[0],L=(v=c==null?void 0:c.props)!=null&&v.children?Jo.default.Children.count(c.props.children):Jo.default.Children.count(a);return(0,zt.jsxs)("div",{...b,className:i(e.className,an,A(an,{size:t}),{"k-virtual-list":o}),children:[d,s,p,n&&(0,zt.jsx)(on,{children:n}),a||(h!==void 0?h:(0,zt.jsx)(qo,{live:!0,children:"No data found."})),x&&a&&(0,zt.jsxs)(qo,{className:"k-sr-only",live:!0,children:[L," items found."]})]})};P.states=_d;P.options=Dd;P.className=an;P.defaultOptions=Hd;P.moduleName=St;P.folderName=Ht;P.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var li=require("react/jsx-runtime"),si="k-list-container",zd=[],Ud={},Gd={},Ut=e=>{let{...t}=e;return(0,li.jsx)("div",{...t,className:i(e.className,si),children:e.children})};Ut.states=zd;Ut.options=Ud;Ut.className=si;Ut.defaultOptions=Gd;Ut.moduleName=St;Ut.folderName=Ht;var Mt="checkbox",Gt=Mt;var nn=require("react/jsx-runtime"),Wo="k-checkbox",Fd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],Vd={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full]},$d={},Me=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:s,disabled:d,invalid:p,valid:h,required:x,size:b,rounded:N,wrapperRole:c,...L}=e;return(0,nn.jsx)("span",{className:"k-checkbox-wrap",role:c,children:(0,nn.jsx)("input",{...L,id:t,type:"checkbox",defaultChecked:o,required:x,disabled:d||void 0,"aria-invalid":p?"true":void 0,className:i(e.className,Wo,A(Wo,{size:b,rounded:N}),T(Wo,{hover:n,focus:s,disabled:d,invalid:p,valid:h,indeterminate:a,checked:o}))})})};Me.states=Fd;Me.options=Vd;Me.className=Wo;Me.defaultOptions=$d;Me.moduleName=Mt;Me.folderName=Gt;Me.ariaSpec={selector:".k-checkbox",rules:[{selector:".k-checkbox",attribute:"role=checkbox or type=checkbox",usage:"Announces the checkbox role of the element."},{selector:".k-checkbox",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name to which it will be assigned."},{selector:".k-checkbox",attribute:"aria-checked=true/false/mixed or checked",usage:"For native checkboxes the checked state is handled by the browser. aria-checked is used for custom implementations."},{selector:".k-checkbox",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the checkbox."},{selector:".k-checkbox",attribute:"disabled or aria-disabled=true (when disabled)",usage:"For native checkboxes use the HTML disabled attribute. aria-disabled for custom implementations."},{selector:".k-invalid, .ng-invalid",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the CheckBox is in a form and announces the invalid state."}]};var Fe=Me;var pi=require("react/jsx-runtime"),di="k-checkbox-list",Xd=[],qd={},ci={layout:"vertical"},Ne=e=>{let{layout:t=ci.layout,...o}=e;return(0,pi.jsx)("ul",{...o,className:i(e.className,di,{[`k-list-${t}`]:t}),children:e.children})};Ne.states=Xd;Ne.options=qd;Ne.className=di;Ne.defaultOptions=ci;Ne.moduleName=Mt;Ne.folderName=Gt;var mi=require("react/jsx-runtime"),ui="k-checkbox-list-item",Jd=[],Wd={},Yd={},ve=e=>{let{...t}=e;return(0,mi.jsx)("li",{...t,className:i(e.className,ui),children:e.children})};ve.states=Jd;ve.options=Wd;ve.className=ui;ve.defaultOptions=Yd;ve.moduleName=Mt;ve.folderName=Gt;var Ct=require("react/jsx-runtime"),tt=({children:e="Label",id:t="cb-label-after",...o})=>(0,Ct.jsxs)(Ct.Fragment,{children:[(0,Ct.jsx)(Fe,{id:t,...o}),(0,Ct.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var rn=require("react/jsx-runtime");var sn=require("react/jsx-runtime");var ln=require("react/jsx-runtime");var Qd=require("react/jsx-runtime");var Zd=require("react/jsx-runtime");var jd=require("react/jsx-runtime");var se=require("react/jsx-runtime"),ec=Ne.options,tc=Ne.states,oc={...Ne.defaultOptions,variant:"vertical"},ac=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],nc=[],Ft=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,se.jsxs)(Ne,{layout:"horizontal",...o,children:[(0,se.jsx)(ve,{children:(0,se.jsx)(tt,{id:K("cb"),defaultChecked:!0,children:"Label"})}),(0,se.jsx)(ve,{children:(0,se.jsx)(tt,{id:K("cb"),children:"Label"})}),(0,se.jsx)(ve,{children:(0,se.jsx)(tt,{id:K("cb"),children:"Label"})})]}):(0,se.jsxs)(Ne,{...o,children:[(0,se.jsx)(ve,{children:(0,se.jsx)(tt,{id:K("cb"),defaultChecked:!0,children:"Label"})}),(0,se.jsx)(ve,{children:(0,se.jsx)(tt,{id:K("cb"),children:"Label"})}),(0,se.jsx)(ve,{children:(0,se.jsx)(tt,{id:K("cb"),children:"Label"})})]})};Ft.options=ec;Ft.states=tc;Ft.variants=ac;Ft.defaultOptions=oc;Ft.modifiers=nc;Ft.className=Ne.className;var fi=require("react/jsx-runtime"),rc=Fe.options,ic=Fe.states,sc=Fe.defaultOptions,lc=[],dc=[],Vt=e=>(0,fi.jsx)(tt,{id:K("checkbox"),...e,defaultChecked:!0,children:"Label"});Vt.options=rc;Vt.states=ic;Vt.variants=lc;Vt.defaultOptions=sc;Vt.modifiers=dc;Vt.className=Fe.className;var Ye=require("react/jsx-runtime"),dn="k-list-item",cc=[r.hover,r.focus,r.selected,r.disabled]