UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

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