@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 118 kB
JavaScript
var Rs=Object.create;var _o=Object.defineProperty;var Ks=Object.getOwnPropertyDescriptor;var Bs=Object.getOwnPropertyNames;var _s=Object.getPrototypeOf,Ds=Object.prototype.hasOwnProperty;var Hs=(e,t)=>{for(var o in t)_o(e,o,{get:t[o],enumerable:!0})},Wn=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Bs(t))!Ds.call(e,n)&&n!==o&&_o(e,n,{get:()=>t[n],enumerable:!(a=Ks(t,n))||a.enumerable});return e};var Yn=(e,t,o)=>(o=e!=null?Rs(_s(e)):{},Wn(t||!e||!e.__esModule?_o(o,"default",{value:e,enumerable:!0}):o,e)),zs=e=>Wn(_o({},"__esModule",{value:!0}),e);var Au={};Hs(Au,{ToolbarOverflowExpanded:()=>Tu});module.exports=zs(Au);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 y=(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"}),A=(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,...I}=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(I).reduce((C,S)=>(S.startsWith("k-")?C[S]=I[S]:C[`k-${S}`]=I[S],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"},f={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"},qe={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 ha={};function K(e){return ha[e]=(ha[e]||0)+1,`k-${e}-${ha[e]}`}var fo=require("react/jsx-runtime"),xa="k-font-icon",Us=[],Gs={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]},Fs={},bo=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...d}=e;return a?(0,fo.jsx)("span",{...d,className:i(e.className,xa,y(xa,{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,fo.jsx)(fo.Fragment,{})};bo.states=Us;bo.options=Gs;bo.className=xa;bo.defaultOptions=Fs;var Zn=bo;var gt=require("react/jsx-runtime"),Na="k-svg-icon",Vs=[],$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],variant:[qe.outline,qe.solid,qe.duotone]},va={viewBox:"0 0 24 24",variant:qe.outline},ho=e=>{var N,c;let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=va.viewBox,variant:d=va.variant,icon:p,...h}=e;if(!p)return(0,gt.jsx)(gt.Fragment,{});if(p==="none")return(0,gt.jsx)("span",{...h,className:i(e.className,Na,y("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,gt.jsx)("span",{...h,className:i(e.className,Na,y("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,gt.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})})};ho.states=Vs;ho.options=$s;ho.className=Na;ho.defaultOptions=va;var ka=ho;var ga=Yn(require("@progress/kendo-svg-icons"));var jn="icon",er="icons";var ar=require("react");var tr=require("react"),or=(0,tr.createContext)({iconsType:"svg"});var et=require("react/jsx-runtime"),Do="k-icon",Xs=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),qs=[],Js={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:[qe.outline,qe.solid,qe.duotone]},Ho={viewBox:"0 0 24 24",type:"svg",variant:qe.outline},M=e=>{let{iconsType:t}=(0,ar.useContext)(or),{size:o,themeColor:a,icon:n,type:s=t||Ho.type,rotate:d,flip:p,viewBox:h=Ho.viewBox,variant:x=Ho.variant,...b}=e;if(!n)return(0,et.jsx)(et.Fragment,{});if((t||s)==="svg"){if(n==="none")return(0,et.jsx)(ka,{...b,className:i(e.className,Do),icon:n,size:o,variant:x});let c=ga[n]?n:Xs(`${n}-icon`);return ga[c]?(0,et.jsx)(ka,{...b,className:i(e.className,Do),icon:ga[c],size:o,themeColor:a,rotate:d,flip:p,viewBox:h,variant:x}):(0,et.jsx)(et.Fragment,{})}return(0,et.jsx)(Zn,{...b,className:i(e.className,Do),icon:n,size:o,themeColor:a,rotate:d,flip:p})};M.states=qs;M.options=Js;M.defaultOptions=Ho;M.className=Do;M.moduleName=jn;M.folderName=er;M.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 La="button",nr=La;var Ee=require("react/jsx-runtime"),xo="k-button",Ws=["icon-button"],Ys=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],Qs={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info,k.inverse]},Ma={showArrow:!1,arrowIconName:"chevron-down"},u=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:d=Ma.showArrow,arrowIconName:p=Ma.arrowIconName,variant:h,hover:x,focus:b,active:N,selected:c,disabled:L,togglable:v,ariaDisabled:I,icon:C,iconSize:S,text:w,iconClassName:$,className:ie,...me}=e,fe=C!=null,be=e.children!==void 0;return(0,Ee.jsxs)(t,{className:i(ie,xo,Qn(xo,h),y(xo,{size:o,rounded:a,fillMode:n,themeColor:s}),A(xo,{hover:x,focus:b,active:N,disabled:L||I,selected:c}),{"k-icon-button":!w&&!be&&fe}),"aria-pressed":v?c?"true":"false":void 0,...me,"aria-disabled":I?"true":void 0,disabled:L||void 0,children:[typeof C=="string"&&C&&(0,Ee.jsx)(M,{className:i($,"k-button-icon"),icon:C,size:S}),C&&typeof C!="string"&&(0,Ee.jsx)(Ee.Fragment,{children:C}),w?(0,Ee.jsxs)(Ee.Fragment,{children:[w&&(0,Ee.jsx)("span",{className:"k-button-text",children:w}),e.children]}):e.children&&(0,Ee.jsx)("span",{className:"k-button-text",children:e.children}),d&&(0,Ee.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Ee.jsx)(M,{icon:p})})]})};u.states=Ys;u.options=Qs;u.variants=Ws;u.className=xo;u.defaultOptions=Ma;u.moduleName=La;u.folderName=nr;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 rr=require("react/jsx-runtime"),ct=e=>(0,rr.jsx)(u,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var ir=require("react/jsx-runtime"),No=e=>(0,ir.jsx)(u,{icon:"folder",children:"Button",...e});var sr=require("react/jsx-runtime"),Lt=e=>(0,sr.jsx)(u,{children:"Button",...e});var zo=require("react/jsx-runtime"),Zs=u.options,js=u.states,el={...u.defaultOptions,variant:"text"},tl=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],ol=[],wt=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,zo.jsx)(ct,{...o,icon:"star"});case"icon-and-text":return(0,zo.jsx)(No,{...o,icon:"star",children:"Button"});default:return(0,zo.jsx)(Lt,{...o,children:"Button"})}};wt.options=Zs;wt.states=js;wt.variants=tl;wt.defaultOptions=el;wt.modifiers=ol;wt.className=u.className;var Ia="button",lr=Ia;var dr=require("react/jsx-runtime"),vo="k-button-group",al=[r.disabled],nl={fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},rl={},_=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return(0,dr.jsx)("div",{role:"group",...n,className:i(e.className,vo,y(vo,{fillMode:t}),A(vo,{disabled:o}),{[`${vo}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};_.states=al;_.options=nl;_.className=vo;_.defaultOptions=rl;_.moduleName=Ia;_.folderName=lr;_.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 Sa=require("react/jsx-runtime");var Ca=require("react/jsx-runtime");var ya=require("react/jsx-runtime");var Ea=require("react/jsx-runtime");var Ta=require("react/jsx-runtime");var Aa=require("react/jsx-runtime");var Le=require("react/jsx-runtime"),il={...u.options,..._.options},sl=u.states,ll={...u.defaultOptions,..._.defaultOptions,variant:"text-button"},dl=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],cl=[],Pt=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"})]})};Pt.options=il;Pt.states=sl;Pt.variants=dl;Pt.defaultOptions=ll;Pt.modifiers=cl;Pt.className=_.className;var ko="input",Uo=ko;var cr=require("react/jsx-runtime"),Go="k-input",pl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],ul={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},ml={},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,cr.jsx)("span",{...N,className:i(e.className,Go,y(Go,{size:h,rounded:x,fillMode:b}),A(Go,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:p}))})};X.states=pl;X.options=ul;X.className=Go;X.defaultOptions=ml;X.moduleName=ko;X.folderName=Uo;var pr=require("react/jsx-runtime"),Fo="k-picker",fl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],bl={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},hl={},Je=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,pr.jsx)("span",{...N,className:i(e.className,Fo,y(Fo,{size:h,rounded:x,fillMode:b}),A(Fo,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:p})),children:e.children})};Je.states=fl;Je.options=bl;Je.className=Fo;Je.defaultOptions=hl;Je.moduleName=ko;Je.folderName=Uo;var Rt=require("react/jsx-runtime"),ur="k-clear-value",xl=[r.disabled,r.loading,r.readonly],Nl={},Te=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?(0,Rt.jsx)(Rt.Fragment,{}):(0,Rt.jsx)("span",{className:i(e.className,ur),children:(0,Rt.jsx)(M,{icon:"x"})})};Te.states=xl;Te.options=Nl;Te.className=ur;var mr=require("react/jsx-runtime"),Oa="k-input-inner",vl=[],kl={},Vo={type:"text",autocomplete:"off",value:"",placeholder:""},Ae=e=>{let{value:t=Vo.value,type:o=Vo.type,placeholder:a=Vo.placeholder,autocomplete:n=Vo.autocomplete,disabled:s,readOnly:d,...p}=e;return(0,mr.jsx)("input",{...p,type:o,className:i(e.className,Oa,y(Oa,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:d||void 0})};Ae.states=vl;Ae.options=kl;Ae.className=Oa;var go=require("react/jsx-runtime"),wa="k-input-inner",gl=[],Ll={},Mt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...d}=e;return(0,go.jsxs)("span",{...d,className:i(e.className,wa,y(wa,e)),children:[n,!n&&s&&(0,go.jsx)(M,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&(0,go.jsx)("span",{className:"k-input-value-text",children:t})]})};Mt.states=gl;Mt.options=Ll;Mt.className=wa;var br=require("react/jsx-runtime"),Pa="k-input-inner",Ml=[],Il={},fr={value:"",placeholder:""},Ra=e=>{let{value:t=fr.value,placeholder:o=fr.placeholder,rows:a,disabled:n,...s}=e;return(0,br.jsx)("textarea",{...s,className:i(e.className,Pa,y(Pa,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Ra.states=Ml;Ra.options=Il;Ra.className=Pa;var Lo=require("react/jsx-runtime"),hr="k-input-loading-icon",Sl=[r.disabled,r.loading],Me=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Lo.jsx)(Lo.Fragment,{}):(0,Lo.jsx)("span",{className:i(e.className,hr,"k-icon k-i-loading")})};Me.states=Sl;Me.className=hr;var Mo=require("react/jsx-runtime"),xr="k-input-validation-icon",Cl=[r.valid,r.invalid,r.disabled,r.loading],yl={},he=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?(0,Mo.jsx)(Mo.Fragment,{}):(0,Mo.jsx)(M,{className:i(xr),icon:s})};he.states=Cl;he.options=yl;he.className=xr;var Io=require("react/jsx-runtime"),El="k-input-prefix",Tl={direction:"horizontal"},Be=e=>{let{direction:t=Tl.direction,...o}=e;return e.children?(0,Io.jsx)("span",{...o,className:i(El,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Io.jsx)(Io.Fragment,{})};var So=require("react/jsx-runtime"),Al="k-input-suffix",Ol={direction:"horizontal"},_e=e=>{let{direction:t=Ol.direction,...o}=e;return e.children?(0,So.jsx)("span",{...o,className:i(Al,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,So.jsx)(So.Fragment,{})};var wl=require("react/jsx-runtime");var Nr=require("react/jsx-runtime"),Pl="k-input-suffix-text",Ka=e=>{let{children:t,...o}=e;return(0,Nr.jsx)("span",{...o,className:i(Pl,e.className),children:t})};var kr=require("react/jsx-runtime"),vr="k-input-separator",Rl={direction:"vertical"},De=e=>{let{direction:t=Rl.direction,...o}=e;return(0,kr.jsx)("span",{...o,className:i(vr,e.className,{[`${vr}-${t}`]:t})})};var Z=require("react/jsx-runtime"),Kl=X.states,Bl=X.defaultOptions,_l=X.options,Dl=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Hl=[],Kt=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,Z.jsxs)(X,{...p,valid:o,invalid:a,loading:n,disabled:s,readonly:d,style:{width:300},children:[h&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(Be,{children:(0,Z.jsx)(M,{icon:"lock"})}),c&&(0,Z.jsx)(De,{})]}),(0,Z.jsx)(Ae,{placeholder:"Placeholder",value:"Value"}),N&&(0,Z.jsx)(he,{valid:o,invalid:a,loading:n,disabled:s}),(0,Z.jsx)(Me,{loading:n,disabled:s}),b&&(0,Z.jsx)(Te,{loading:n,disabled:s,readonly:d,value:"Value"}),x&&(0,Z.jsxs)(Z.Fragment,{children:[c&&(0,Z.jsx)(De,{}),(0,Z.jsx)(_e,{children:(0,Z.jsx)(Lt,{size:p.size,fillMode:"clear",children:"Send"})})]})]})};Kt.options=_l;Kt.states=Kl;Kt.variants=Hl;Kt.defaultOptions=Bl;Kt.modifiers=Dl;Kt.className=X.className;var Co=require("react/jsx-runtime"),gr="k-color-preview",zl=[],Ul={},pt=e=>{let{color:t,iconName:o,...a}=e;return(0,Co.jsxs)("span",{...a,className:i(e.className,gr,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,Co.jsx)(M,{icon:o,className:"k-color-preview-icon"}),(0,Co.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};pt.states=zl;pt.options=Ul;pt.className=gr;var Ba="popup",Lr=Ba;var Da=require("react/jsx-runtime"),Mr="k-animation-container",Gl=[],Fl={},_a={positionMode:"absolute",shown:!0},We=e=>{let{positionMode:t=_a.positionMode,shown:o=_a.shown,animationStyle:a,offset:n,...s}=e;return(0,Da.jsx)("div",{...s,style:{...n,...e.style},className:i(e.className,Mr,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,Da.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};We.states=Gl;We.options=Fl;We.className=Mr;We.defaultOptions=_a;We.moduleName=Ba;We.folderName=Lr;var Ha="popup",Ir=Ha;var za=require("react/jsx-runtime"),Sr="k-popup",Vl=[],$l={},Cr={positionMode:"absolute"},z=e=>{let{offset:t,positionMode:o=Cr.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:d,...p}=e;return(0,za.jsx)(We,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":d,children:(0,za.jsx)("div",{...p,className:i(e.className,Sr),children:e.children})})};z.states=Vl;z.options=$l;z.className=Sr;z.defaultOptions=Cr;z.moduleName=Ha;z.folderName=Ir;z.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 Ua="action-buttons",yr=Ua;var Er=require("react/jsx-runtime"),$o="k-actions",Xl=[],ql={},Ga={alignment:"start",orientation:"horizontal"},Ye=e=>{let{alignment:t=Ga.alignment,orientation:o=Ga.orientation,...a}=e;return(0,Er.jsx)("div",{...a,className:i($o,{[`${$o}-${t}`]:t,[`${$o}-${o}`]:o},e.className),children:e.children})};Ye.states=Xl;Ye.options=ql;Ye.className=$o;Ye.defaultOptions=Ga;Ye.moduleName=Ua;Ye.folderName=yr;var Ar=require("react/jsx-runtime"),Jl="k-actionsheet-footer",Tr={alignment:"stretched",orientation:"horizontal"},ut=e=>{let{alignment:t=Tr.alignment,orientation:o=Tr.orientation,template:a,as:n=a?"div":Ye,...s}=e;return(0,Ar.jsx)(n,{...s,...!a&&{alignment:t,orientation:o},className:i(e.className,Jl),children:e.children})};var Fa="searchbox",Or=Fa;var mt=require("react/jsx-runtime"),wr="k-searchbox",Wl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],Yl={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Va={showIcon:!0,icon:"search"},He=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=Va.showIcon,icon:v=Va.icon,"aria-label":I,...C}=e;return(0,mt.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,wr),children:[L&&(0,mt.jsx)(M,{className:"k-input-icon",icon:v}),(0,mt.jsx)(Ae,{placeholder:o,value:t,"aria-label":I}),(0,mt.jsx)(Me,{...e}),(0,mt.jsx)(he,{...e}),(0,mt.jsx)(Te,{...e})]})};He.states=Wl;He.options=Yl;He.className=wr;He.defaultOptions=Va;He.moduleName=Fa;He.folderName=Or;var Ql=require("react/jsx-runtime");var $a="textbox",Pr=$a;var se=require("react/jsx-runtime"),Rr="k-textbox",Zl=[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:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Xo={showClearButton:!0,showValidationIcon:!0,separators:!0},te=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Xo.separators,showClearButton:s=Xo.showClearButton,showValidationIcon:d=Xo.showValidationIcon,prefix:p,suffix:h,type:x,value:b,placeholder:N,hover:c,focus:L,valid:v,invalid:I,required:C,loading:S,disabled:w,readonly:$,id:ie,"aria-label":me,"aria-describedby":fe,...be}=e;return(0,se.jsxs)(X,{...be,size:t,rounded:o,fillMode:a,hover:c,focus:L,valid:v,invalid:I,required:C,loading:S,disabled:w,readonly:$,className:i(e.className,Rr),children:[p&&(0,se.jsxs)(se.Fragment,{children:[(0,se.jsx)(Be,{children:p}),n&&(0,se.jsx)(De,{})]}),(0,se.jsx)(Ae,{id:ie,placeholder:N,value:b,type:x,disabled:w,"aria-label":me,"aria-describedby":fe,"aria-invalid":I?"true":void 0}),d&&(0,se.jsx)(he,{valid:v,invalid:I,loading:S,disabled:w}),(0,se.jsx)(Me,{loading:S,disabled:w}),s&&(0,se.jsx)(Te,{loading:S,disabled:w,readonly:$,value:b}),h&&(0,se.jsxs)(se.Fragment,{children:[n&&(0,se.jsx)(De,{}),(0,se.jsx)(_e,{children:h})]})]})};te.states=Zl;te.options=jl;te.className=Rr;te.defaultOptions=Xo;te.moduleName=$a;te.folderName=Pr;te.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 yo=te;var Br=require("react/jsx-runtime"),Kr=e=>(0,Br.jsx)(yo,{...e});var _r=require("react/jsx-runtime");var Dr=require("react/jsx-runtime");var ed=require("react/jsx-runtime");var qo=require("react/jsx-runtime"),td=te.states,od=te.defaultOptions,ad=te.options,nd=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],rd=[],Bt=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,qo.jsx)(M,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,qo.jsx)(Lt,{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,qo.jsx)(Kr,{value:"Value",style:{width:300},...o,...a})};Bt.options=ad;Bt.states=td;Bt.variants=rd;Bt.defaultOptions=od;Bt.modifiers=nd;Bt.className=te.className;var Oe=require("react/jsx-runtime"),Hr="k-actionsheet-titlebar",id={},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,Oe.jsxs)("div",{...c,className:i(e.className,Hr),children:[(0,Oe.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,Oe.jsx)("div",{className:"k-actionsheet-actions",children:a}),!N&&(0,Oe.jsxs)("div",{className:"k-actionsheet-title",id:b,children:[t&&(0,Oe.jsx)("div",{className:"k-text-center",children:t}),o&&(0,Oe.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&(0,Oe.jsx)("div",{className:"k-actionsheet-title",id:b,children:N}),n&&(0,Oe.jsx)("div",{className:"k-actionsheet-actions",children:n})]}),(d||s)&&(0,Oe.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?(0,Oe.jsx)(te,{value:p,placeholder:h,size:x?"large":"medium","aria-label":t||h||"Input"}):(0,Oe.jsx)(He,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};xe.className=Hr;xe.defaultOptions=id;var _t=require("react/jsx-runtime"),Xa="k-actionsheet-view",sd=[],ld={},dd={},Dt=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,_t.jsx)(xe,{adaptive:t,titleId:d,...n==null?void 0:n.props}),x=(s==null?void 0:s.type)===ut&&(0,_t.jsx)(ut,{...s==null?void 0:s.props});return(0,_t.jsxs)("div",{...p,className:i(e.className,Xa,{[`${Xa}-animated`]:o}),children:[h,(0,_t.jsx)("div",{className:"k-actionsheet-content",children:a}),x]})};Dt.states=sd;Dt.options=ld;Dt.className=Xa;Dt.defaultOptions=dd;var Eo="action-sheet",Jo=Eo;var qa="overlay",zr=qa;var Gr=require("react/jsx-runtime"),Ur="k-overlay",cd=[],pd={},ud={},ft=e=>{let{...t}=e;return(0,Gr.jsx)("div",{...t,className:i(e.className,Ur),children:e.children})};ft.states=cd;ft.options=pd;ft.className=Ur;ft.defaultOptions=ud;ft.moduleName=qa;ft.folderName=zr;var It=require("react/jsx-runtime"),Fr="k-actionsheet",md=[],fd={},To={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},F=e=>{let{side:t=To.side,fullscreen:o=To.fullscreen,adaptive:a=To.adaptive,overlay:n=To.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)(ft,{}),(0,It.jsx)(We,{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,Fr,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||(0,It.jsx)(Dt,{header:p,footer:h,adaptive:a,titleId:N,...e,children:d})})})]})};F.states=md;F.options=fd;F.className=Fr;F.defaultOptions=To;F.moduleName=Eo;F.folderName=Jo;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 $r=require("react/jsx-runtime"),Vr="k-actionsheet-container",bd=[],hd={},xd={},Ht=e=>{let{children:t,...o}=e;return(0,$r.jsx)("div",{...o,className:Vr,children:t})};Ht.states=bd;Ht.options=hd;Ht.className=Vr;Ht.defaultOptions=xd;Ht.moduleName=Eo;Ht.folderName=Jo;var Xr=require("react/jsx-runtime"),Ja=e=>{let{...t}=e;return(0,Xr.jsx)("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};var ze=require("react/jsx-runtime"),Wa="k-actionsheet-item",Nd=[r.hover,r.focus,r.selected,r.disabled],bt=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:d,disabled:p,...h}=e;return(0,ze.jsxs)("span",{...h,className:i(e.className,Wa,A(Wa,{hover:n,focus:s,selected:d,disabled:p})),children:[!e.children&&(0,ze.jsx)(ze.Fragment,{children:(0,ze.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,ze.jsx)("span",{className:"k-icon-wrap",children:(0,ze.jsx)(M,{className:"k-actionsheet-item-icon",icon:t})}),(0,ze.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,ze.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,ze.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};bt.states=Nd;bt.className=Wa;var qr=require("react/jsx-runtime");var vd=require("react/jsx-runtime");var kd=require("react/jsx-runtime");var gd=require("react/jsx-runtime");var U=require("react/jsx-runtime"),Ld=F.options,Md=F.states,Wr={...F.defaultOptions,variant:"normal"},Id=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Sd=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],zt=e=>{let{variant:t,modifiers:o,...a}={...Wr,...e},n={},s=(0,U.jsxs)(Ja,{children:[(0,U.jsx)(bt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,U.jsx)(bt,{text:"Add to Favorites",iconName:"heart"}),(0,U.jsx)(bt,{text:"Upload New",iconName:"upload",disabled:!0}),(0,U.jsx)("hr",{className:"k-hr"}),(0,U.jsx)(bt,{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,U.jsx)(F,{...a,adaptive:!0,fullscreen:n.fullScreen,header:(0,U.jsx)(xe,{actionsStart:n.actionsStart?(0,U.jsx)(u,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,U.jsx)(u,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:p,subtitle:n.subtitle}),footer:n.footer?(0,U.jsxs)(ut,{alignment:"stretched",children:[(0,U.jsx)(u,{text:"Cancel",size:"large",themeColor:"base"}),(0,U.jsx)(u,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):(0,U.jsx)(F,{...a,fullscreen:n.fullScreen,header:(0,U.jsx)(xe,{actionsStart:n.actionsStart?(0,U.jsx)(u,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,U.jsx)(u,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?(0,U.jsxs)(ut,{alignment:"stretched",children:[(0,U.jsx)(u,{text:"Apply",themeColor:"primary"}),(0,U.jsx)(u,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};zt.options=Ld;zt.states=Md;zt.variants=Id;zt.defaultOptions=Wr;zt.modifiers=Sd;zt.className=F.className;var Ya="slider",Yr=Ya;var Fe=require("react/jsx-runtime"),Ao="k-slider",Cd=[r.hover,r.focus,r.active,r.disabled,r.readonly],yd={},Ue={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=Ue.type,orientation:o=Ue.orientation,gradientType:a=Ue.gradientType,readonly:n=Ue.readonly,disabled:s=Ue.disabled,handlePosition:d=Ue.handlePosition,showButtons:p=Ue.showButtons,showTicks:h=Ue.showTicks,value:x=Ue.value,min:b=Ue.min,max:N=Ue.max,startValue:c,endValue:L,hover:v,focus:I,active:C,trackStyle:S,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,Fe.jsxs)("div",{...$,className:i(Ao,e.className,A(Ao,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:w,children:[p&&(0,Fe.jsx)(u,{className:"k-button-decrease",rounded:"full",icon:be,tabIndex:-1,title:"Decrease"}),(0,Fe.jsxs)("div",{className:"k-slider-track-wrap",children:[h&&(0,Fe.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,Fe.jsxs)("div",{className:"k-slider-track",style:S,children:[(0,Fe.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,Fe.jsx)("span",{className:i("k-draghandle","k-draghandle-start",A(Ao,{hover:v,focus:I,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,Fe.jsx)("span",{className:i("k-draghandle",`k-draghandle-${d}`,A(Ao,{hover:v,focus:I,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,Fe.jsx)(u,{className:"k-button-increase",rounded:"full",icon:fe,tabIndex:-1,title:"Increase"})]})};H.states=Cd;H.options=yd;H.className=Ao;H.defaultOptions=Ue;H.moduleName=Ya;H.folderName=Yr;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",Ed=[],Td={},Zr={label:!1},E=e=>{let{style:t,label:o=Zr.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})})};E.states=Ed;E.options=Td;E.className=Qr;E.defaultOptions=Zr;var oe=require("react/jsx-runtime"),jr=e=>(0,oe.jsx)(H,{"aria-label":e["aria-label"]||"Slider",children:(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsx)(E,{className:"k-first",label:!0,large:!0,text:"0"}),(0,oe.jsx)(E,{}),(0,oe.jsx)(E,{}),(0,oe.jsx)(E,{}),(0,oe.jsx)(E,{}),(0,oe.jsx)(E,{label:!0,large:!0,text:"5"}),(0,oe.jsx)(E,{}),(0,oe.jsx)(E,{}),(0,oe.jsx)(E,{}),(0,oe.jsx)(E,{}),(0,oe.jsx)(E,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var ae=require("react/jsx-runtime"),ei=e=>(0,ae.jsx)(H,{children:(0,ae.jsxs)(ae.Fragment,{children:[(0,ae.jsx)(E,{className:"k-first",label:!0,large:!0,text:"0"}),(0,ae.jsx)(E,{}),(0,ae.jsx)(E,{}),(0,ae.jsx)(E,{}),(0,ae.jsx)(E,{}),(0,ae.jsx)(E,{label:!0,large:!0,text:"5"}),(0,ae.jsx)(E,{}),(0,ae.jsx)(E,{}),(0,ae.jsx)(E,{}),(0,ae.jsx)(E,{}),(0,ae.jsx)(E,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var Za=require("react/jsx-runtime");var ja=require("react/jsx-runtime");var ti=require("react/jsx-runtime"),en=e=>(0,ti.jsx)(H,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var oi=require("react/jsx-runtime"),tn=e=>(0,oi.jsx)(H,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var on=require("react/jsx-runtime");var an=require("react/jsx-runtime");var Ie=require("react/jsx-runtime"),Ad=H.options,Od=H.states,ai={...H.defaultOptions,variant:"horizontal",label:!0},wd=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Pd=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Ut=e=>{let{variant:t,modifiers:o,...a}=e,n=ai.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,Ie.jsxs)(ei,{style:{height:"300px",...d},...a,...s,children:[(0,Ie.jsx)(E,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,Ie.jsx)(E,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,Ie.jsx)(E,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,Ie.jsx)(E,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,Ie.jsx)(E,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,Ie.jsxs)(jr,{style:{width:"400px",...d},...a,...s,children:[(0,Ie.jsx)(E,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,Ie.jsx)(E,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,Ie.jsx)(E,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,Ie.jsx)(E,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,Ie.jsx)(E,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Ut.options=Ad;Ut.states=Od;Ut.variants=wd;Ut.defaultOptions=ai;Ut.modifiers=Pd;Ut.className=H.className;var Oo=require("react/jsx-runtime"),ni="k-spin-button",Bd=[],_d={size:[l.undefined,l.small,l.medium,l.large],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},nn={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},ht=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=nn.increaseLabel,decreaseLabel:s=nn.decreaseLabel,...d}=e;return(0,Oo.jsxs)("span",{...d,className:i(ni,e.className),children:[(0,Oo.jsx)(u,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),(0,Oo.jsx)(u,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};ht.states=Bd;ht.options=_d;ht.className=ni;ht.defaultOptions=nn;ht.moduleName=null;ht.folderName=null;var ri="numeric-textbox",ii="numerictextbox";var ne=require("react/jsx-runtime"),si="k-numerictextbox",Dd=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Hd={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Wo={showSpinButton:!0,showClearButton:!0,separators:!0},B=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Wo.separators,showClearButton:s=Wo.showClearButton,showSpinButton:d=Wo.showSpinButton,prefix:p,suffix:h,value:x,placeholder:b,hover:N,focus:c,valid:L,invalid:v,required:I,loading:C,disabled:S,readonly:w,id:$,"aria-label":ie,"aria-describedby":me,...fe}=e;return(0,ne.jsxs)(X,{...fe,size:t,rounded:o,fillMode:a,hover:N,focus:c,valid:L,invalid:v,required:I,loading:C,disabled:S,readonly:w,className:i(e.className,si),children:[p&&(0,ne.jsxs)(ne.Fragment,{children:[(0,ne.jsx)(Be,{children:p}),n&&(0,ne.jsx)(De,{})]}),(0,ne.jsx)(Ae,{id:$,placeholder:b,value:x,role:"spinbutton",disabled:S,"aria-label":ie,"aria-describedby":me,"aria-invalid":v?"true":void 0}),(0,ne.jsx)(he,{valid:L,invalid:v,loading:C,disabled:S}),(0,ne.jsx)(Me,{loading:C,disabled:S}),s&&(0,ne.jsx)(Te,{loading:C,disabled:S,readonly:w,value:x}),h&&(0,ne.jsxs)(ne.Fragment,{children:[n&&(0,ne.jsx)(De,{}),(0,ne.jsx)(_e,{children:h})]}),d&&(0,ne.jsx)(ht,{className:"k-input-spinner",size:t,fillMode:a,disabled:S})]})};B.states=Dd;B.options=Hd;B.className=si;B.defaultOptions=Wo;B.moduleName=ri;B.folderName=ii;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 wo=B;var di=require("react/jsx-runtime"),li=e=>(0,di.jsx)(wo,{...e});var Qo=Yn(require("react"));var rn=require("react/jsx-runtime"),zd="k-list-group-sticky-header",sn=e=>(0,rn.jsx)("div",{className:i(zd,e.className),children:(0,rn.jsx)("div",{className:"k-list-header-text",children:e.children})});var ci=require("react/jsx-runtime"),Ud="k-no-data",Yo=e=>{let{live:t,...o}=e;return(0,ci.jsx)("span",{...o,className:i(Ud,e.className),"aria-live":t?"polite":void 0,children:e.children})};var St="list",Gt=St;var Ft=require("react/jsx-runtime"),ln="k-list",Gd=[],Fd={size:[l.undefined,l.small,l.medium,l.large]},Vd={},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=Qo.default.Children.toArray(a)[0],L=(v=c==null?void 0:c.props)!=null&&v.children?Qo.default.Children.count(c.props.children):Qo.default.Children.count(a);return(0,Ft.jsxs)("div",{...b,className:i(e.className,ln,y(ln,{size:t}),{"k-virtual-list":o}),children:[d,s,p,n&&(0,Ft.jsx)(sn,{children:n}),a||(h!==void 0?h:(0,Ft.jsx)(Yo,{live:!0,children:"No data found."})),x&&a&&(0,Ft.jsxs)(Yo,{className:"k-sr-only",live:!0,children:[L," items found."]})]})};P.states=Gd;P.options=Fd;P.className=ln;P.defaultOptions=Vd;P.moduleName=St;P.folderName=Gt;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 ui=require("react/jsx-runtime"),pi="k-list-container",$d=[],Xd={},qd={},Vt=e=>{let{...t}=e;return(0,ui.jsx)("div",{...t,className:i(e.className,pi),children:e.children})};Vt.states=$d;Vt.options=Xd;Vt.className=pi;Vt.defaultOptions=qd;Vt.moduleName=St;Vt.folderName=Gt;var Ct="checkbox",$t=Ct;var dn=require("react/jsx-runtime"),Zo="k-checkbox",Jd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],Wd={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},Yd={},Se=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,dn.jsx)("span",{className:"k-checkbox-wrap",role:c,children:(0,dn.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,Zo,y(Zo,{size:b,rounded:N}),A(Zo,{hover:n,focus:s,disabled:d,invalid:p,valid:h,indeterminate:a,checked:o}))})})};Se.states=Jd;Se.options=Wd;Se.className=Zo;Se.defaultOptions=Yd;Se.moduleName=Ct;Se.folderName=$t;Se.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 Ve=Se;var bi=require("react/jsx-runtime"),mi="k-checkbox-list",Qd=[],Zd={},fi={layout:"vertical"},Ne=e=>{let{layout:t=fi.layout,...o}=e;return(0,bi.jsx)("ul",{...o,className:i(e.className,mi,{[`k-list-${t}`]:t}),children:e.children})};Ne.states=Qd;Ne.options=Zd;Ne.className=mi;Ne.defaultOptions=fi;Ne.moduleName=Ct;Ne.folderName=$t;var xi=require("react/jsx-runtime"),hi="k-checkbox-list-item",jd=[],ec={},tc={},ve=e=>{let{...t}=e;return(0,xi.jsx)("li",{...t,className:i(e.className,hi),children:e.children})};ve.states=jd;ve.options=ec;ve.className=hi;ve.defaultOptions=tc;ve.moduleName=Ct;ve.folderName=$t;var yt=require("react/jsx-runtime"),tt=({children:e="Label",id:t="cb-label-after",...o})=>(0,yt.jsxs)(yt.Fragment,{children:[(0,yt.jsx)(Ve,{id:t,...o}),(0,yt.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var cn=require("react/jsx-runtime");var pn=require("react/jsx-runtime");var un=require("react/jsx-runtime");var oc=require("react/jsx-runtime");var ac=require("react/jsx-runtime");var nc=require("react/jsx-runtime");var le=require("react/jsx-runtime"),rc=Ne.options,ic=Ne.states,sc={...Ne.defaultOptions,variant:"vertical"},lc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],dc=[],Xt=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,le.jsxs)(Ne,{layout:"horizontal",...o,children:[(0,le.jsx)(ve,{children:(0,le.jsx)(tt,{id:K("cb"),defaultChecked:!0,children:"Label"})}),(0,le.jsx)(ve,{children:(0,le.jsx)(tt,{id:K("cb"),children:"Label"})}),(0,le.jsx)(ve,{children:(0,le.jsx)(tt,{id:K("cb"),children:"Label"})})]}):(0,le.jsxs)(Ne,{...o,children:[(0,le.jsx)(ve,{children:(0,le.jsx)(tt,{id:K("cb"),defaultChecked:!0,children:"Label"})}),(0,le.jsx)(ve,{children:(0,le.jsx)(tt,{id:K("cb"),children:"Label"})}),(0,le.jsx)(ve,{children:(0,le.jsx)(tt,{id:K("cb"),children:"Label"})})]})};Xt.options=rc;Xt.states=ic;Xt.variants=lc;Xt.defaultOptions=sc;Xt.modifiers=dc;Xt.className=Ne.className;var Ni=require("react/jsx-runtime"),cc=Ve.options,pc=Ve.states,uc=Ve.defaultOptions,mc=[],fc=[],qt=e=>(0,Ni.jsx)(tt,{id:K("checkbox"),...e,defaultChecked:!0,children:"Label"});qt.options=cc;qt.states=pc;qt.variants=mc;qt.defaultOptions=uc;qt.modifiers=fc;qt.className=Ve.className;var Qe=require("react/jsx-runtime"),mn="k-list-item",bc=[r.hover,r.focus,r.selected,r.disabled],hc={},xc={},O=e=>{let{t