@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 124 kB
JavaScript
var Js=Object.create;var Vo=Object.defineProperty;var Ws=Object.getOwnPropertyDescriptor;var Ys=Object.getOwnPropertyNames;var Qs=Object.getPrototypeOf,Zs=Object.prototype.hasOwnProperty;var js=(e,t)=>{for(var o in t)Vo(e,o,{get:t[o],enumerable:!0})},or=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ys(t))!Zs.call(e,n)&&n!==o&&Vo(e,n,{get:()=>t[n],enumerable:!(a=Ws(t,n))||a.enumerable});return e};var ar=(e,t,o)=>(o=e!=null?Js(Qs(e)):{},or(t||!e||!e.__esModule?Vo(o,"default",{value:e,enumerable:!0}):o,e)),el=e=>or(Vo({},"__esModule",{value:!0}),e);var om={};js(om,{ToolbarDemo:()=>Ct,default:()=>tm});module.exports=el(om);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:c,active:u,selected:h,disabled:x,indeterminate:b,loading:N,empty:p,readonly:L,highlighted:k,...S}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":c,"k-active":u,"k-selected":h,"k-disabled":x,"k-indeterminate":b&&!c,"k-loading":N,"k-empty":p,"k-readonly":L,"k-highlighted":k},Object.keys(S).reduce((C,I)=>(I.startsWith("k-")?C[I]=S[I]:C[`k-${I}`]=S[I],C),{}))};function nr(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"},Ze={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},v={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 Ma={};function _(e){return Ma[e]=(Ma[e]||0)+1,`k-${e}-${Ma[e]}`}var go=require("react/jsx-runtime"),Sa="k-font-icon",tl=[],ol={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},al={},Lo=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...c}=e;return a?(0,go.jsx)("span",{...c,className:i(e.className,Sa,y(Sa,{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,go.jsx)(go.Fragment,{})};Lo.states=tl;Lo.options=ol;Lo.className=Sa;Lo.defaultOptions=al;var rr=Lo;var Tt=require("react/jsx-runtime"),Ia="k-svg-icon",nl=[],rl={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info],variant:[Ze.outline,Ze.solid,Ze.duotone]},Ca={viewBox:"0 0 24 24",variant:Ze.outline},Mo=e=>{var N,p;let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=Ca.viewBox,variant:c=Ca.variant,icon:u,...h}=e;if(!u)return(0,Tt.jsx)(Tt.Fragment,{});if(u==="none")return(0,Tt.jsx)("span",{...h,className:i(e.className,Ia,y("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof u=="object"&&u.name&&u.name,b=typeof u=="object"?c&&((N=u.variants)==null?void 0:N[c])||((p=u.variants)==null?void 0:p.outline)||u.content:void 0;return(0,Tt.jsx)("span",{...h,className:i(e.className,Ia,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,Tt.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})})};Mo.states=nl;Mo.options=rl;Mo.className=Ia;Mo.defaultOptions=Ca;var ya=Mo;var Ta=ar(require("@progress/kendo-svg-icons"));var ir="icon",sr="icons";var cr=require("react");var lr=require("react"),dr=(0,lr.createContext)({iconsType:"svg"});var it=require("react/jsx-runtime"),$o="k-icon",il=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),sl=[],ll={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info],variant:[Ze.outline,Ze.solid,Ze.duotone]},Xo={viewBox:"0 0 24 24",type:"svg",variant:Ze.outline},M=e=>{let{iconsType:t}=(0,cr.useContext)(dr),{size:o,themeColor:a,icon:n,type:s=t||Xo.type,rotate:c,flip:u,viewBox:h=Xo.viewBox,variant:x=Xo.variant,...b}=e;if(!n)return(0,it.jsx)(it.Fragment,{});if((t||s)==="svg"){if(n==="none")return(0,it.jsx)(ya,{...b,className:i(e.className,$o),icon:n,size:o,variant:x});let p=Ta[n]?n:il(`${n}-icon`);return Ta[p]?(0,it.jsx)(ya,{...b,className:i(e.className,$o),icon:Ta[p],size:o,themeColor:a,rotate:c,flip:u,viewBox:h,variant:x}):(0,it.jsx)(it.Fragment,{})}return(0,it.jsx)(rr,{...b,className:i(e.className,$o),icon:n,size:o,themeColor:a,rotate:c,flip:u})};M.states=sl;M.options=ll;M.defaultOptions=Xo;M.className=$o;M.moduleName=ir;M.folderName=sr;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 Ea="button",pr=Ea;var Pe=require("react/jsx-runtime"),So="k-button",dl=["icon-button"],cl=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],pl={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:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},Aa={showArrow:!1,arrowIconName:"chevron-down"},d=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:c=Aa.showArrow,arrowIconName:u=Aa.arrowIconName,variant:h,hover:x,focus:b,active:N,selected:p,disabled:L,togglable:k,ariaDisabled:S,icon:C,iconSize:I,text:P,iconClassName:W,className:ue,...ke}=e,ve=C!=null,ge=e.children!==void 0;return(0,Pe.jsxs)(t,{className:i(ue,So,nr(So,h),y(So,{size:o,rounded:a,fillMode:n,themeColor:s}),A(So,{hover:x,focus:b,active:N,disabled:L||S,selected:p}),{"k-icon-button":!P&&!ge&&ve}),"aria-pressed":k?p?"true":"false":void 0,...ke,"aria-disabled":S?"true":void 0,disabled:L||void 0,children:[typeof C=="string"&&C&&(0,Pe.jsx)(M,{className:i(W,"k-button-icon"),icon:C,size:I}),C&&typeof C!="string"&&(0,Pe.jsx)(Pe.Fragment,{children:C}),P?(0,Pe.jsxs)(Pe.Fragment,{children:[P&&(0,Pe.jsx)("span",{className:"k-button-text",children:P}),e.children]}):e.children&&(0,Pe.jsx)("span",{className:"k-button-text",children:e.children}),c&&(0,Pe.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Pe.jsx)(M,{icon:u})})]})};d.states=cl;d.options=pl;d.variants=dl;d.className=So;d.defaultOptions=Aa;d.moduleName=Ea;d.folderName=pr;d.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 ur=require("react/jsx-runtime"),ht=e=>(0,ur.jsx)(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var mr=require("react/jsx-runtime"),Io=e=>(0,mr.jsx)(d,{icon:"folder",children:"Button",...e});var fr=require("react/jsx-runtime"),Et=e=>(0,fr.jsx)(d,{children:"Button",...e});var qo=require("react/jsx-runtime"),ul=d.options,ml=d.states,fl={...d.defaultOptions,variant:"text"},bl=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],hl=[],Dt=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,qo.jsx)(ht,{...o,icon:"star"});case"icon-and-text":return(0,qo.jsx)(Io,{...o,icon:"star",children:"Button"});default:return(0,qo.jsx)(Et,{...o,children:"Button"})}};Dt.options=ul;Dt.states=ml;Dt.variants=bl;Dt.defaultOptions=fl;Dt.modifiers=hl;Dt.className=d.className;var Oa="button",br=Oa;var hr=require("react/jsx-runtime"),Co="k-button-group",xl=[r.disabled],Nl={fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},kl={},O=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return(0,hr.jsx)("div",{role:"group",...n,className:i(e.className,Co,y(Co,{fillMode:t}),A(Co,{disabled:o}),{[`${Co}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};O.states=xl;O.options=Nl;O.className=Co;O.defaultOptions=kl;O.moduleName=Oa;O.folderName=br;O.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 wa=require("react/jsx-runtime");var Pa=require("react/jsx-runtime");var Ba=require("react/jsx-runtime");var Ra=require("react/jsx-runtime");var Ka=require("react/jsx-runtime");var _a=require("react/jsx-runtime");var Te=require("react/jsx-runtime"),vl={...d.options,...O.options},gl=d.states,Ll={...d.defaultOptions,...O.defaultOptions,variant:"text-button"},Ml=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Sl=[],Ht=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,Te.jsxs)(O,{fillMode:a.fillMode,className:o,children:[(0,Te.jsx)(d,{...a,icon:"star"}),(0,Te.jsx)(d,{...a,icon:"star"}),(0,Te.jsx)(d,{...a,icon:"star"})]}):t==="icon-text-button"?(0,Te.jsxs)(O,{fillMode:a.fillMode,className:o,children:[(0,Te.jsx)(d,{...a,icon:"star",children:"First"}),(0,Te.jsx)(d,{...a,icon:"star",children:"Middle"}),(0,Te.jsx)(d,{...a,icon:"star",children:"Last"})]}):(0,Te.jsxs)(O,{fillMode:a.fillMode,className:o,children:[(0,Te.jsx)(d,{...a,children:"First"}),(0,Te.jsx)(d,{...a,children:"Middle"}),(0,Te.jsx)(d,{...a,children:"Last"})]})};Ht.options=vl;Ht.states=gl;Ht.variants=Ml;Ht.defaultOptions=Ll;Ht.modifiers=Sl;Ht.className=O.className;var yo="input",Jo=yo;var xr=require("react/jsx-runtime"),Wo="k-input",Il=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Cl={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},yl={},Y=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u,size:h,rounded:x,fillMode:b,...N}=e;return(0,xr.jsx)("span",{...N,className:i(e.className,Wo,y(Wo,{size:h,rounded:x,fillMode:b}),A(Wo,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u}))})};Y.states=Il;Y.options=Cl;Y.className=Wo;Y.defaultOptions=yl;Y.moduleName=yo;Y.folderName=Jo;var Nr=require("react/jsx-runtime"),Yo="k-picker",Tl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],El={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]},Al={},je=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u,size:h,rounded:x,fillMode:b,...N}=e;return(0,Nr.jsx)("span",{...N,className:i(e.className,Yo,y(Yo,{size:h,rounded:x,fillMode:b}),A(Yo,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u})),children:e.children})};je.states=Tl;je.options=El;je.className=Yo;je.defaultOptions=Al;je.moduleName=yo;je.folderName=Jo;var zt=require("react/jsx-runtime"),kr="k-clear-value",Ol=[r.disabled,r.loading,r.readonly],wl={},Be=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?(0,zt.jsx)(zt.Fragment,{}):(0,zt.jsx)("span",{className:i(e.className,kr),children:(0,zt.jsx)(M,{icon:"x"})})};Be.states=Ol;Be.options=wl;Be.className=kr;var vr=require("react/jsx-runtime"),Da="k-input-inner",Pl=[],Bl={},Qo={type:"text",autocomplete:"off",value:"",placeholder:""},Re=e=>{let{value:t=Qo.value,type:o=Qo.type,placeholder:a=Qo.placeholder,autocomplete:n=Qo.autocomplete,disabled:s,readOnly:c,...u}=e;return(0,vr.jsx)("input",{...u,type:o,className:i(e.className,Da,y(Da,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:c||void 0})};Re.states=Pl;Re.options=Bl;Re.className=Da;var To=require("react/jsx-runtime"),Ha="k-input-inner",Rl=[],Kl={},At=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...c}=e;return(0,To.jsxs)("span",{...c,className:i(e.className,Ha,y(Ha,e)),children:[n,!n&&s&&(0,To.jsx)(M,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&(0,To.jsx)("span",{className:"k-input-value-text",children:t})]})};At.states=Rl;At.options=Kl;At.className=Ha;var Lr=require("react/jsx-runtime"),za="k-input-inner",_l=[],Dl={},gr={value:"",placeholder:""},Ua=e=>{let{value:t=gr.value,placeholder:o=gr.placeholder,rows:a,disabled:n,...s}=e;return(0,Lr.jsx)("textarea",{...s,className:i(e.className,za,y(za,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Ua.states=_l;Ua.options=Dl;Ua.className=za;var Eo=require("react/jsx-runtime"),Mr="k-input-loading-icon",Hl=[r.disabled,r.loading],Ee=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Eo.jsx)(Eo.Fragment,{}):(0,Eo.jsx)("span",{className:i(e.className,Mr,"k-icon k-i-loading")})};Ee.states=Hl;Ee.className=Mr;var Ao=require("react/jsx-runtime"),Sr="k-input-validation-icon",zl=[r.valid,r.invalid,r.disabled,r.loading],Ul={},Le=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?(0,Ao.jsx)(Ao.Fragment,{}):(0,Ao.jsx)(M,{className:i(Sr),icon:s})};Le.states=zl;Le.options=Ul;Le.className=Sr;var Oo=require("react/jsx-runtime"),Gl="k-input-prefix",Fl={direction:"horizontal"},ze=e=>{let{direction:t=Fl.direction,...o}=e;return e.children?(0,Oo.jsx)("span",{...o,className:i(Gl,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Oo.jsx)(Oo.Fragment,{})};var wo=require("react/jsx-runtime"),Vl="k-input-suffix",$l={direction:"horizontal"},Ue=e=>{let{direction:t=$l.direction,...o}=e;return e.children?(0,wo.jsx)("span",{...o,className:i(Vl,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,wo.jsx)(wo.Fragment,{})};var Xl=require("react/jsx-runtime");var Ir=require("react/jsx-runtime"),ql="k-input-suffix-text",Ga=e=>{let{children:t,...o}=e;return(0,Ir.jsx)("span",{...o,className:i(ql,e.className),children:t})};var yr=require("react/jsx-runtime"),Cr="k-input-separator",Jl={direction:"vertical"},Ge=e=>{let{direction:t=Jl.direction,...o}=e;return(0,yr.jsx)("span",{...o,className:i(Cr,e.className,{[`${Cr}-${t}`]:t})})};var oe=require("react/jsx-runtime"),Wl=Y.states,Yl=Y.defaultOptions,Ql=Y.options,Zl=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],jl=[],Ut=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:s,readonly:c,...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"],p=t==null?void 0:t.separators;return(0,oe.jsxs)(Y,{...u,valid:o,invalid:a,loading:n,disabled:s,readonly:c,style:{width:300},children:[h&&(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsx)(ze,{children:(0,oe.jsx)(M,{icon:"lock"})}),p&&(0,oe.jsx)(Ge,{})]}),(0,oe.jsx)(Re,{placeholder:"Placeholder",value:"Value"}),N&&(0,oe.jsx)(Le,{valid:o,invalid:a,loading:n,disabled:s}),(0,oe.jsx)(Ee,{loading:n,disabled:s}),b&&(0,oe.jsx)(Be,{loading:n,disabled:s,readonly:c,value:"Value"}),x&&(0,oe.jsxs)(oe.Fragment,{children:[p&&(0,oe.jsx)(Ge,{}),(0,oe.jsx)(Ue,{children:(0,oe.jsx)(Et,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};Ut.options=Ql;Ut.states=Wl;Ut.variants=jl;Ut.defaultOptions=Yl;Ut.modifiers=Zl;Ut.className=Y.className;var Po=require("react/jsx-runtime"),Tr="k-color-preview",ed=[],td={},xt=e=>{let{color:t,iconName:o,...a}=e;return(0,Po.jsxs)("span",{...a,className:i(e.className,Tr,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,Po.jsx)(M,{icon:o,className:"k-color-preview-icon"}),(0,Po.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};xt.states=ed;xt.options=td;xt.className=Tr;var Fa="popup",Er=Fa;var $a=require("react/jsx-runtime"),Ar="k-animation-container",od=[],ad={},Va={positionMode:"absolute",shown:!0},et=e=>{let{positionMode:t=Va.positionMode,shown:o=Va.shown,animationStyle:a,offset:n,...s}=e;return(0,$a.jsx)("div",{...s,style:{...n,...e.style},className:i(e.className,Ar,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,$a.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};et.states=od;et.options=ad;et.className=Ar;et.defaultOptions=Va;et.moduleName=Fa;et.folderName=Er;var Xa="popup",Or=Xa;var qa=require("react/jsx-runtime"),wr="k-popup",nd=[],rd={},Pr={positionMode:"absolute"},G=e=>{let{offset:t,positionMode:o=Pr.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:c,...u}=e;return(0,qa.jsx)(et,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":c,children:(0,qa.jsx)("div",{...u,className:i(e.className,wr),children:e.children})})};G.states=nd;G.options=rd;G.className=wr;G.defaultOptions=Pr;G.moduleName=Xa;G.folderName=Or;G.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var Ja="action-buttons",Br=Ja;var Rr=require("react/jsx-runtime"),Zo="k-actions",id=[],sd={},Wa={alignment:"start",orientation:"horizontal"},tt=e=>{let{alignment:t=Wa.alignment,orientation:o=Wa.orientation,...a}=e;return(0,Rr.jsx)("div",{...a,className:i(Zo,{[`${Zo}-${t}`]:t,[`${Zo}-${o}`]:o},e.className),children:e.children})};tt.states=id;tt.options=sd;tt.className=Zo;tt.defaultOptions=Wa;tt.moduleName=Ja;tt.folderName=Br;var _r=require("react/jsx-runtime"),ld="k-actionsheet-footer",Kr={alignment:"stretched",orientation:"horizontal"},Nt=e=>{let{alignment:t=Kr.alignment,orientation:o=Kr.orientation,template:a,as:n=a?"div":tt,...s}=e;return(0,_r.jsx)(n,{...s,...!a&&{alignment:t,orientation:o},className:i(e.className,ld),children:e.children})};var Ya="searchbox",Dr=Ya;var kt=require("react/jsx-runtime"),Hr="k-searchbox",dd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],cd={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]},Qa={showIcon:!0,icon:"search"},Fe=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:c,focus:u,valid:h,invalid:x,required:b,loading:N,disabled:p,showIcon:L=Qa.showIcon,icon:k=Qa.icon,"aria-label":S,...C}=e;return(0,kt.jsxs)(Y,{...C,size:a,rounded:n,fillMode:s,hover:c,focus:u,valid:h,invalid:x,required:b,loading:N,disabled:p,className:i(e.className,Hr),children:[L&&(0,kt.jsx)(M,{className:"k-input-icon",icon:k}),(0,kt.jsx)(Re,{placeholder:o,value:t,"aria-label":S}),(0,kt.jsx)(Ee,{...e}),(0,kt.jsx)(Le,{...e}),(0,kt.jsx)(Be,{...e})]})};Fe.states=dd;Fe.options=cd;Fe.className=Hr;Fe.defaultOptions=Qa;Fe.moduleName=Ya;Fe.folderName=Dr;var pd=require("react/jsx-runtime");var Za="textbox",zr=Za;var me=require("react/jsx-runtime"),Ur="k-textbox",ud=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],md={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},re=e=>{let{size:t,rounded:o,fillMode:a,separators:n=jo.separators,showClearButton:s=jo.showClearButton,showValidationIcon:c=jo.showValidationIcon,prefix:u,suffix:h,type:x,value:b,placeholder:N,hover:p,focus:L,valid:k,invalid:S,required:C,loading:I,disabled:P,readonly:W,id:ue,"aria-label":ke,"aria-describedby":ve,...ge}=e;return(0,me.jsxs)(Y,{...ge,size:t,rounded:o,fillMode:a,hover:p,focus:L,valid:k,invalid:S,required:C,loading:I,disabled:P,readonly:W,className:i(e.className,Ur),children:[u&&(0,me.jsxs)(me.Fragment,{children:[(0,me.jsx)(ze,{children:u}),n&&(0,me.jsx)(Ge,{})]}),(0,me.jsx)(Re,{id:ue,placeholder:N,value:b,type:x,disabled:P,"aria-label":ke,"aria-describedby":ve,"aria-invalid":S?"true":void 0}),c&&(0,me.jsx)(Le,{valid:k,invalid:S,loading:I,disabled:P}),(0,me.jsx)(Ee,{loading:I,disabled:P}),s&&(0,me.jsx)(Be,{loading:I,disabled:P,readonly:W,value:b}),h&&(0,me.jsxs)(me.Fragment,{children:[n&&(0,me.jsx)(Ge,{}),(0,me.jsx)(Ue,{children:h})]})]})};re.states=ud;re.options=md;re.className=Ur;re.defaultOptions=jo;re.moduleName=Za;re.folderName=zr;re.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 Bo=re;var Fr=require("react/jsx-runtime"),Gr=e=>(0,Fr.jsx)(Bo,{...e});var Vr=require("react/jsx-runtime");var $r=require("react/jsx-runtime");var fd=require("react/jsx-runtime");var ea=require("react/jsx-runtime"),bd=re.states,hd=re.defaultOptions,xd=re.options,Nd=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],kd=[],Gt=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,ea.jsx)(M,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,ea.jsx)(Et,{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,ea.jsx)(Gr,{value:"Value",style:{width:300},...o,...a})};Gt.options=xd;Gt.states=bd;Gt.variants=kd;Gt.defaultOptions=hd;Gt.modifiers=Nd;Gt.className=re.className;var Ke=require("react/jsx-runtime"),Xr="k-actionsheet-titlebar",vd={},Me=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:c,inputValue:u,inputPlaceholder:h,adaptive:x,titleId:b,children:N,...p}=e;return(0,Ke.jsxs)("div",{...p,className:i(e.className,Xr),children:[(0,Ke.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,Ke.jsx)("div",{className:"k-actionsheet-actions",children:a}),!N&&(0,Ke.jsxs)("div",{className:"k-actionsheet-title",id:b,children:[t&&(0,Ke.jsx)("div",{className:"k-text-center",children:t}),o&&(0,Ke.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&(0,Ke.jsx)("div",{className:"k-actionsheet-title",id:b,children:N}),n&&(0,Ke.jsx)("div",{className:"k-actionsheet-actions",children:n})]}),(c||s)&&(0,Ke.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?(0,Ke.jsx)(re,{value:u,placeholder:h,size:x?"large":"medium","aria-label":t||h||"Input"}):(0,Ke.jsx)(Fe,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};Me.className=Xr;Me.defaultOptions=vd;var Ft=require("react/jsx-runtime"),ja="k-actionsheet-view",gd=[],Ld={},Md={},Vt=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:c,...u}=e,h=(n==null?void 0:n.type)===Me&&(0,Ft.jsx)(Me,{adaptive:t,titleId:c,...n==null?void 0:n.props}),x=(s==null?void 0:s.type)===Nt&&(0,Ft.jsx)(Nt,{...s==null?void 0:s.props});return(0,Ft.jsxs)("div",{...u,className:i(e.className,ja,{[`${ja}-animated`]:o}),children:[h,(0,Ft.jsx)("div",{className:"k-actionsheet-content",children:a}),x]})};Vt.states=gd;Vt.options=Ld;Vt.className=ja;Vt.defaultOptions=Md;var Ro="action-sheet",ta=Ro;var en="overlay",qr=en;var Wr=require("react/jsx-runtime"),Jr="k-overlay",Sd=[],Id={},Cd={},vt=e=>{let{...t}=e;return(0,Wr.jsx)("div",{...t,className:i(e.className,Jr),children:e.children})};vt.states=Sd;vt.options=Id;vt.className=Jr;vt.defaultOptions=Cd;vt.moduleName=en;vt.folderName=qr;var Ot=require("react/jsx-runtime"),Yr="k-actionsheet",yd=[],Td={},Ko={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},X=e=>{let{side:t=Ko.side,fullscreen:o=Ko.fullscreen,adaptive:a=Ko.adaptive,overlay:n=Ko.overlay,template:s,children:c,header:u,footer:h,id:x,...b}=e,N=x&&!s&&u?`${x}-title`:void 0;return(0,Ot.jsxs)("div",{className:"k-actionsheet-container",children:[n&&(0,Ot.jsx)(vt,{}),(0,Ot.jsx)(et,{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,Ot.jsx)("div",{...b,id:x,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":N,className:i(e.className,Yr,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||(0,Ot.jsx)(Vt,{header:u,footer:h,adaptive:a,titleId:N,...e,children:c})})})]})};X.states=yd;X.options=Td;X.className=Yr;X.defaultOptions=Ko;X.moduleName=Ro;X.folderName=ta;X.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 Zr=require("react/jsx-runtime"),Qr="k-actionsheet-container",Ed=[],Ad={},Od={},$t=e=>{let{children:t,...o}=e;return(0,Zr.jsx)("div",{...o,className:Qr,children:t})};$t.states=Ed;$t.options=Ad;$t.className=Qr;$t.defaultOptions=Od;$t.moduleName=Ro;$t.folderName=ta;var jr=require("react/jsx-runtime"),tn=e=>{let{...t}=e;return(0,jr.jsx)("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};var Ve=require("react/jsx-runtime"),on="k-actionsheet-item",wd=[r.hover,r.focus,r.selected,r.disabled],gt=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:c,disabled:u,...h}=e;return(0,Ve.jsxs)("span",{...h,className:i(e.className,on,A(on,{hover:n,focus:s,selected:c,disabled:u})),children:[!e.children&&(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,Ve.jsx)("span",{className:"k-icon-wrap",children:(0,Ve.jsx)(M,{className:"k-actionsheet-item-icon",icon:t})}),(0,Ve.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,Ve.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,Ve.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};gt.states=wd;gt.className=on;var ei=require("react/jsx-runtime");var Pd=require("react/jsx-runtime");var Bd=require("react/jsx-runtime");var Rd=require("react/jsx-runtime");var F=require("react/jsx-runtime"),Kd=X.options,_d=X.states,oi={...X.defaultOptions,variant:"normal"},Dd=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Hd=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Xt=e=>{let{variant:t,modifiers:o,...a}={...oi,...e},n={},s=(0,F.jsxs)(tn,{children:[(0,F.jsx)(gt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,F.jsx)(gt,{text:"Add to Favorites",iconName:"heart"}),(0,F.jsx)(gt,{text:"Upload New",iconName:"upload",disabled:!0}),(0,F.jsx)("hr",{className:"k-hr"}),(0,F.jsx)(gt,{text:"Cancel",iconName:"cancel"})]}),c="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]?c:void 0;break;case"footer":n.footer=!!(o!=null&&o[h]);break;default:break}}),t==="adaptive"?(0,F.jsx)(X,{...a,adaptive:!0,fullscreen:n.fullScreen,header:(0,F.jsx)(Me,{actionsStart:n.actionsStart?(0,F.jsx)(d,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,F.jsx)(d,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:n.subtitle}),footer:n.footer?(0,F.jsxs)(Nt,{alignment:"stretched",children:[(0,F.jsx)(d,{text:"Cancel",size:"large",themeColor:"base"}),(0,F.jsx)(d,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):(0,F.jsx)(X,{...a,fullscreen:n.fullScreen,header:(0,F.jsx)(Me,{actionsStart:n.actionsStart?(0,F.jsx)(d,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,F.jsx)(d,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?(0,F.jsxs)(Nt,{alignment:"stretched",children:[(0,F.jsx)(d,{text:"Apply",themeColor:"primary"}),(0,F.jsx)(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Xt.options=Kd;Xt.states=_d;Xt.variants=Dd;Xt.defaultOptions=oi;Xt.modifiers=Hd;Xt.className=X.className;var an="slider",ai=an;var Je=require("react/jsx-runtime"),_o="k-slider",zd=[r.hover,r.focus,r.active,r.disabled,r.readonly],Ud={},$e={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},U=e=>{let{type:t=$e.type,orientation:o=$e.orientation,gradientType:a=$e.gradientType,readonly:n=$e.readonly,disabled:s=$e.disabled,handlePosition:c=$e.handlePosition,showButtons:u=$e.showButtons,showTicks:h=$e.showTicks,value:x=$e.value,min:b=$e.min,max:N=$e.max,startValue:p,endValue:L,hover:k,focus:S,active:C,trackStyle:I,dir:P,...W}=e,ke=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ve,ge;return o==="horizontal"?(ve=P==="rtl"?"chevron-left":"chevron-right",ge=P==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ve="chevron-up",ge="chevron-down"),(0,Je.jsxs)("div",{...W,className:i(_o,e.className,A(_o,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:P,children:[u&&(0,Je.jsx)(d,{className:"k-button-decrease",rounded:"full",icon:ge,tabIndex:-1,title:"Decrease"}),(0,Je.jsxs)("div",{className:"k-slider-track-wrap",children:[h&&(0,Je.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,Je.jsxs)("div",{className:"k-slider-track",style:I,children:[(0,Je.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,Je.jsx)("span",{className:i("k-draghandle","k-draghandle-start",A(_o,{hover:k,focus:S,active:C})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":p??b,"aria-valuemin":b,"aria-valuemax":L??N,"aria-orientation":ke,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":W["aria-label"]?`${W["aria-label"]} start`:"Range start"}),(0,Je.jsx)("span",{className:i("k-draghandle",`k-draghandle-${c}`,A(_o,{hover:k,focus:S,active:C})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?L??N:x,"aria-valuemin":t==="range"?p??b:b,"aria-valuemax":N,"aria-orientation":ke,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?W["aria-label"]?`${W["aria-label"]} end`:"Range end":W["aria-label"]})]})]}),u&&(0,Je.jsx)(d,{className:"k-button-increase",rounded:"full",icon:ve,tabIndex:-1,title:"Increase"})]})};U.states=zd;U.options=Ud;U.className=_o;U.defaultOptions=$e;U.moduleName=an;U.folderName=ai;U.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 nn=require("react/jsx-runtime"),ni="k-tick",Gd=[],Fd={},ri={label:!1},T=e=>{let{style:t,label:o=ri.label,orientation:a,large:n,text:s,...c}=e;return(0,nn.jsx)("li",{...c,role:"presentation",title:s||"Tick",className:i(e.className,ni,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&(0,nn.jsx)("span",{className:"k-label",children:s})})};T.states=Gd;T.options=Fd;T.className=ni;T.defaultOptions=ri;var ie=require("react/jsx-runtime"),ii=e=>(0,ie.jsx)(U,{"aria-label":e["aria-label"]||"Slider",children:(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsx)(T,{className:"k-first",label:!0,large:!0,text:"0"}),(0,ie.jsx)(T,{}),(0,ie.jsx)(T,{}),(0,ie.jsx)(T,{}),(0,ie.jsx)(T,{}),(0,ie.jsx)(T,{label:!0,large:!0,text:"5"}),(0,ie.jsx)(T,{}),(0,ie.jsx)(T,{}),(0,ie.jsx)(T,{}),(0,ie.jsx)(T,{}),(0,ie.jsx)(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var se=require("react/jsx-runtime"),si=e=>(0,se.jsx)(U,{children:(0,se.jsxs)(se.Fragment,{children:[(0,se.jsx)(T,{className:"k-first",label:!0,large:!0,text:"0"}),(0,se.jsx)(T,{}),(0,se.jsx)(T,{}),(0,se.jsx)(T,{}),(0,se.jsx)(T,{}),(0,se.jsx)(T,{label:!0,large:!0,text:"5"}),(0,se.jsx)(T,{}),(0,se.jsx)(T,{}),(0,se.jsx)(T,{}),(0,se.jsx)(T,{}),(0,se.jsx)(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var rn=require("react/jsx-runtime");var sn=require("react/jsx-runtime");var li=require("react/jsx-runtime"),ln=e=>(0,li.jsx)(U,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var di=require("react/jsx-runtime"),dn=e=>(0,di.jsx)(U,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var cn=require("react/jsx-runtime");var pn=require("react/jsx-runtime");var Ae=require("react/jsx-runtime"),Vd=U.options,$d=U.states,ci={...U.defaultOptions,variant:"horizontal",label:!0},Xd=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],qd=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],qt=e=>{let{variant:t,modifiers:o,...a}=e,n=ci.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 c={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,Ae.jsxs)(si,{style:{height:"300px",...c},...a,...s,children:[(0,Ae.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,Ae.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,Ae.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,Ae.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,Ae.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,Ae.jsxs)(ii,{style:{width:"400px",...c},...a,...s,children:[(0,Ae.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,Ae.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,Ae.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,Ae.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,Ae.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};qt.options=Vd;qt.states=$d;qt.variants=Xd;qt.defaultOptions=ci;qt.modifiers=qd;qt.className=U.className;var Do=require("react/jsx-runtime"),pi="k-spin-button",Yd=[],Qd={size:[l.undefined,l.small,l.medium,l.large],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},un={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Lt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=un.increaseLabel,decreaseLabel:s=un.decreaseLabel,...c}=e;return(0,Do.jsxs)("span",{...c,className:i(pi,e.className),children:[(0,Do.jsx)(d,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),(0,Do.jsx)(d,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Lt.states=Yd;Lt.options=Qd;Lt.className=pi;Lt.defaultOptions=un;Lt.moduleName=null;Lt.folderName=null;var ui="numeric-textbox",mi="numerictextbox";var le=require("react/jsx-runtime"),fi="k-numerictextbox",Zd=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],jd={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]},oa={showSpinButton:!0,showClearButton:!0,separators:!0},D=e=>{let{size:t,rounded:o,fillMode:a,separators:n=oa.separators,showClearButton:s=oa.showClearButton,showSpinButton:c=oa.showSpinButton,prefix:u,suffix:h,value:x,placeholder:b,hover:N,focus:p,valid:L,invalid:k,required:S,loading:C,disabled:I,readonly:P,id:W,"aria-label":ue,"aria-describedby":ke,...ve}=e;return(0,le.jsxs)(Y,{...ve,size:t,rounded:o,fillMode:a,hover:N,focus:p,valid:L,invalid:k,required:S,loading:C,disabled:I,readonly:P,className:i(e.className,fi),children:[u&&(0,le.jsxs)(le.Fragment,{children:[(0,le.jsx)(ze,{children:u}),n&&(0,le.jsx)(Ge,{})]}),(0,le.jsx)(Re,{id:W,placeholder:b,value:x,role:"spinbutton",disabled:I,"aria-label":ue,"aria-describedby":ke,"aria-invalid":k?"true":void 0}),(0,le.jsx)(Le,{valid:L,invalid:k,loading:C,disabled:I}),(0,le.jsx)(Ee,{loading:C,disabled:I}),s&&(0,le.jsx)(Be,{loading:C,disabled:I,readonly:P,value:x}),h&&(0,le.jsxs)(le.Fragment,{children:[n&&(0,le.jsx)(Ge,{}),(0,le.jsx)(Ue,{children:h})]}),c&&(0,le.jsx)(Lt,{className:"k-input-spinner",size:t,fillMode:a,disabled:I})]})};D.states=Zd;D.options=jd;D.className=fi;D.defaultOptions=oa;D.moduleName=ui;D.folderName=mi;D.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 Ho=D;var hi=require("react/jsx-runtime"),bi=e=>(0,hi.jsx)(Ho,{...e});var na=ar(require("react"));var mn=require("react/jsx-runtime"),ec="k-list-group-sticky-header",fn=e=>(0,mn.jsx)("div",{className:i(ec,e.className),children:(0,mn.jsx)("div",{className:"k-list-header-text",children:e.children})});var xi=require("react/jsx-runtime"),tc="k-no-data",aa=e=>{let{live:t,...o}=e;return(0,xi.jsx)("span",{...o,className:i(tc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var wt="list",Jt=wt;var Wt=require("react/jsx-runtime"),bn="k-list",oc=[],ac={size:[l.undefined,l.small,l.medium,l.large]},nc={},B=e=>{var k;let{size:t,virtualization:o,children:a,header:n,selectAll:s,optionLabel:c,customValue:u,noData:h,screenReaders:x,...b}=e,p=na.default.Children.toArray(a)[0],L=(k=p==null?void 0:p.props)!=null&&k.children?na.default.Children.count(p.props.children):na.default.Children.count(a);return(0,Wt.jsxs)("div",{...b,className:i(e.className,bn,y(bn,{size:t}),{"k-virtual-list":o}),children:[c,s,u,n&&(0,Wt.jsx)(fn,{children:n}),a||(h!==void 0?h:(0,Wt.jsx)(aa,{live:!0,children:"No data found."})),x&&a&&(0,Wt.jsxs)(aa,{className:"k-sr-only",live:!0,children:[L," items found."]})]})};B.states=oc;B.options=ac;B.className=bn;B.defaultOptions=nc;B.moduleName=wt;B.folderName=Jt;B.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var ki=require("react/jsx-runtime"),Ni="k-list-container",rc=[],ic={},sc={},Yt=e=>{let{...t}=e;return(0,ki.jsx)("div",{...t,className:i(e.className,Ni),children:e.children})};Yt.states=rc;Yt.options=ic;Yt.className=Ni;Yt.defaultOptions=sc;Yt.moduleName=wt;Yt.folderName=Jt;var Pt="checkbox",Qt=Pt;var hn=require("react/jsx-runtime"),ra="k-checkbox",lc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],dc={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},cc={},Oe=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:s,disabled:c,invalid:u,valid:h,required:x,size:b,rounded:N,wrapperRole:p,...L}=e;return(0,hn.jsx)("span",{className:"k-checkbox-wrap",role:p,children:(0,hn.jsx)("input",{...L,id:t,type:"checkbox",defaultChecked:o,required:x,disabled:c||void 0,"aria-invalid":u?"true":void 0,className:i(e.className,ra,y(ra,{size:b,rounded:N}),A(ra,{hover:n,focus:s,disabled:c,invalid:u,valid:h,indeterminate:a,checked:o}))})})};Oe.states=lc;Oe.options=dc;Oe.className=ra;Oe.defaultOptions=cc;Oe.moduleName=Pt;Oe.folderName=Qt;Oe.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 We=Oe;var Li=require("react/jsx-runtime"),vi="k-checkbox-list",pc=[],uc={},gi={layout:"vertical"},Se=e=>{let{layout:t=gi.layout,...o}=e;return(0,Li.jsx)("ul",{...o,className:i(e.className,vi,{[`k-list-${t}`]:t}),children:e.children})};Se.states=pc;Se.options=uc;Se.className=vi;Se.defaultOptions=gi;Se.moduleName=Pt;Se.folderName=Qt;var Si=require("react/jsx-runtime"),Mi="k-checkbox-list-item",mc=[],fc={},bc={},Ie=e=>{let{...t}=e;return(0,Si.jsx)("li",{...t,className:i(e.className,Mi),children:e.children})};Ie.states=mc;Ie.options=fc;Ie.className=Mi;Ie.defaultOptions=bc;Ie.moduleName=Pt;Ie.folderName=Qt;var Bt=require("react/jsx-runtime"),st=({children:e="Label",id:t="cb-label-after",...o})=>(0,Bt.jsxs)(Bt.Fragment,{children:[(0,Bt.jsx)(We,{id:t,...o}),(0,Bt.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var xn=require("react/jsx-runtime");var Nn=require("react/jsx-runtime");var kn=require("react/jsx-runtime");var hc=require("react/jsx-runtime");var xc=require("react/jsx-runtime");var Nc=require("react/jsx-runtime");var fe=require("react/jsx-runtime"),kc=Se.options,vc=Se.states,gc={...Se.defaultOptions,variant:"vertical"},Lc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Mc=[],Zt=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,fe.jsxs)(Se,{layout:"horizontal",...o,children:[(0,fe.jsx)(Ie,{children:(0,fe.jsx)(st,{id:_("cb"),defaultChecked:!0,children:"Label"})}),(0,fe.jsx)(Ie,{children:(0,fe.jsx)(st,{id:_("cb"),children:"Label"})}),(0,fe.jsx)(Ie,{children:(0,fe.jsx)(st,{id:_("cb"),children:"Label"})})]}):(0,fe.jsxs)(Se,{...o,children:[(0,fe.jsx)(Ie,{children:(0,fe.jsx)(st,{id:_("cb"),defaultChecked:!0,children:"Label"})}),(0,fe.jsx)(Ie,{children:(0,fe.jsx)(st,{id:_("cb"),children:"Label"})}),(0,fe.jsx)(Ie,{children:(0,fe.jsx)(st,{id:_("cb"),children:"Label"})})]})};Zt.options=kc;Zt.states=vc;Zt.variants=Lc;Zt.defaultOptions=gc;Zt.modifiers=Mc;Zt.className=Se.className;var Ii=require("react/jsx-runtime"),Sc=We.options,Ic=We.states,Cc=We.defaultOptions,yc=[],Tc=[],jt=e=>(0,Ii.jsx)(st,{id:_("checkbox"),...e,defaultChecked:!0,children:"Label"});jt.options=Sc;jt.states=Ic;jt.variants=yc;jt.defaultOptions=Cc;jt.modifiers=Tc;jt.className=We.className;var ot=require("react/jsx-runtime"),vn="k-list-item",Ec=[r.hover,r.focus,r.selected,r.disabled],Ac={