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