UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

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