UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 129 kB
var vl=Object.create;var ea=Object.defineProperty;var gl=Object.getOwnPropertyDescriptor;var Ll=Object.getOwnPropertyNames;var Ml=Object.getPrototypeOf,Sl=Object.prototype.hasOwnProperty;var Il=(e,t)=>{for(var o in t)ea(e,o,{get:t[o],enumerable:!0})},gr=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ll(t))!Sl.call(e,n)&&n!==o&&ea(e,n,{get:()=>t[n],enumerable:!(a=gl(t,n))||a.enumerable});return e};var Lr=(e,t,o)=>(o=e!=null?vl(Ml(e)):{},gr(t||!e||!e.__esModule?ea(o,"default",{value:e,enumerable:!0}):o,e)),Cl=e=>gr(ea({},"__esModule",{value:!0}),e);var Zm={};Il(Zm,{FileManager:()=>kt,default:()=>Qm});module.exports=Cl(Zm);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 C=(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"}),T=(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((y,I)=>(I.startsWith("k-")?y[I]=S[I]:y[`k-${I}`]=S[I],y),{}))};function Mr(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"},m={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},f={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},tt={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 Ra={};function _(e){return Ra[e]=(Ra[e]||0)+1,`k-${e}-${Ra[e]}`}var wo=require("react/jsx-runtime"),Ka="k-font-icon",yl=[],Tl={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]},El={},Bo=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...c}=e;return a?(0,wo.jsx)("span",{...c,className:i(e.className,Ka,C(Ka,{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,wo.jsx)(wo.Fragment,{})};Bo.states=yl;Bo.options=Tl;Bo.className=Ka;Bo.defaultOptions=El;var Sr=Bo;var Rt=require("react/jsx-runtime"),_a="k-svg-icon",Al=[],Ol={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info],variant:[tt.outline,tt.solid,tt.duotone]},Da={viewBox:"0 0 24 24",variant:tt.outline},Po=e=>{var N,p;let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=Da.viewBox,variant:c=Da.variant,icon:u,...h}=e;if(!u)return(0,Rt.jsx)(Rt.Fragment,{});if(u==="none")return(0,Rt.jsx)("span",{...h,className:i(e.className,_a,C("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,Rt.jsx)("span",{...h,className:i(e.className,_a,C("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,Rt.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})})};Po.states=Al;Po.options=Ol;Po.className=_a;Po.defaultOptions=Da;var Ha=Po;var za=Lr(require("@progress/kendo-svg-icons"));var Ir="icon",Cr="icons";var Er=require("react");var yr=require("react"),Tr=(0,yr.createContext)({iconsType:"svg"});var dt=require("react/jsx-runtime"),ta="k-icon",wl=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Bl=[],Pl={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:[tt.outline,tt.solid,tt.duotone]},oa={viewBox:"0 0 24 24",type:"svg",variant:tt.outline},M=e=>{let{iconsType:t}=(0,Er.useContext)(Tr),{size:o,themeColor:a,icon:n,type:s=t||oa.type,rotate:c,flip:u,viewBox:h=oa.viewBox,variant:x=oa.variant,...b}=e;if(!n)return(0,dt.jsx)(dt.Fragment,{});if((t||s)==="svg"){if(n==="none")return(0,dt.jsx)(Ha,{...b,className:i(e.className,ta),icon:n,size:o,variant:x});let p=za[n]?n:wl(`${n}-icon`);return za[p]?(0,dt.jsx)(Ha,{...b,className:i(e.className,ta),icon:za[p],size:o,themeColor:a,rotate:c,flip:u,viewBox:h,variant:x}):(0,dt.jsx)(dt.Fragment,{})}return(0,dt.jsx)(Sr,{...b,className:i(e.className,ta),icon:n,size:o,themeColor:a,rotate:c,flip:u})};M.states=Bl;M.options=Pl;M.defaultOptions=oa;M.className=ta;M.moduleName=Ir;M.folderName=Cr;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 Ua="button",Ar=Ua;var Ke=require("react/jsx-runtime"),Ro="k-button",Rl=["icon-button"],Kl=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],_l={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},Ga={showArrow:!1,arrowIconName:"chevron-down"},d=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:c=Ga.showArrow,arrowIconName:u=Ga.arrowIconName,variant:h,hover:x,focus:b,active:N,selected:p,disabled:L,togglable:k,ariaDisabled:S,icon:y,iconSize:I,text:B,iconClassName:Q,className:me,...Le}=e,Me=y!=null,Se=e.children!==void 0;return(0,Ke.jsxs)(t,{className:i(me,Ro,Mr(Ro,h),C(Ro,{size:o,rounded:a,fillMode:n,themeColor:s}),T(Ro,{hover:x,focus:b,active:N,disabled:L||S,selected:p}),{"k-icon-button":!B&&!Se&&Me}),"aria-pressed":k?p?"true":"false":void 0,...Le,"aria-disabled":S?"true":void 0,disabled:L||void 0,children:[typeof y=="string"&&y&&(0,Ke.jsx)(M,{className:i(Q,"k-button-icon"),icon:y,size:I}),y&&typeof y!="string"&&(0,Ke.jsx)(Ke.Fragment,{children:y}),B?(0,Ke.jsxs)(Ke.Fragment,{children:[B&&(0,Ke.jsx)("span",{className:"k-button-text",children:B}),e.children]}):e.children&&(0,Ke.jsx)("span",{className:"k-button-text",children:e.children}),c&&(0,Ke.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Ke.jsx)(M,{icon:u})})]})};d.states=Kl;d.options=_l;d.variants=Rl;d.className=Ro;d.defaultOptions=Ga;d.moduleName=Ua;d.folderName=Ar;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 Or=require("react/jsx-runtime"),gt=e=>(0,Or.jsx)(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var wr=require("react/jsx-runtime"),Ko=e=>(0,wr.jsx)(d,{icon:"folder",children:"Button",...e});var Br=require("react/jsx-runtime"),Kt=e=>(0,Br.jsx)(d,{children:"Button",...e});var aa=require("react/jsx-runtime"),Dl=d.options,Hl=d.states,zl={...d.defaultOptions,variant:"text"},Ul=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Gl=[],$t=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,aa.jsx)(gt,{...o,icon:"star"});case"icon-and-text":return(0,aa.jsx)(Ko,{...o,icon:"star",children:"Button"});default:return(0,aa.jsx)(Kt,{...o,children:"Button"})}};$t.options=Dl;$t.states=Hl;$t.variants=Ul;$t.defaultOptions=zl;$t.modifiers=Gl;$t.className=d.className;var Fa="button",Pr=Fa;var Rr=require("react/jsx-runtime"),_o="k-button-group",Fl=[r.disabled],Vl={fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},$l={},E=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return(0,Rr.jsx)("div",{role:"group",...n,className:i(e.className,_o,C(_o,{fillMode:t}),T(_o,{disabled:o}),{[`${_o}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};E.states=Fl;E.options=Vl;E.className=_o;E.defaultOptions=$l;E.moduleName=Fa;E.folderName=Pr;E.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 Va=require("react/jsx-runtime");var $a=require("react/jsx-runtime");var Xa=require("react/jsx-runtime");var qa=require("react/jsx-runtime");var Ja=require("react/jsx-runtime");var Wa=require("react/jsx-runtime");var Ae=require("react/jsx-runtime"),Xl={...d.options,...E.options},ql=d.states,Jl={...d.defaultOptions,...E.defaultOptions,variant:"text-button"},Wl=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Yl=[],Xt=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,Ae.jsxs)(E,{fillMode:a.fillMode,className:o,children:[(0,Ae.jsx)(d,{...a,icon:"star"}),(0,Ae.jsx)(d,{...a,icon:"star"}),(0,Ae.jsx)(d,{...a,icon:"star"})]}):t==="icon-text-button"?(0,Ae.jsxs)(E,{fillMode:a.fillMode,className:o,children:[(0,Ae.jsx)(d,{...a,icon:"star",children:"First"}),(0,Ae.jsx)(d,{...a,icon:"star",children:"Middle"}),(0,Ae.jsx)(d,{...a,icon:"star",children:"Last"})]}):(0,Ae.jsxs)(E,{fillMode:a.fillMode,className:o,children:[(0,Ae.jsx)(d,{...a,children:"First"}),(0,Ae.jsx)(d,{...a,children:"Middle"}),(0,Ae.jsx)(d,{...a,children:"Last"})]})};Xt.options=Xl;Xt.states=ql;Xt.variants=Wl;Xt.defaultOptions=Jl;Xt.modifiers=Yl;Xt.className=E.className;var Do="input",na=Do;var Kr=require("react/jsx-runtime"),ra="k-input",Ql=[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:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},jl={},Z=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,Kr.jsx)("span",{...N,className:i(e.className,ra,C(ra,{size:h,rounded:x,fillMode:b}),T(ra,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u}))})};Z.states=Ql;Z.options=Zl;Z.className=ra;Z.defaultOptions=jl;Z.moduleName=Do;Z.folderName=na;var _r=require("react/jsx-runtime"),ia="k-picker",ed=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],td={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},od={},ot=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,_r.jsx)("span",{...N,className:i(e.className,ia,C(ia,{size:h,rounded:x,fillMode:b}),T(ia,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u})),children:e.children})};ot.states=ed;ot.options=td;ot.className=ia;ot.defaultOptions=od;ot.moduleName=Do;ot.folderName=na;var qt=require("react/jsx-runtime"),Dr="k-clear-value",ad=[r.disabled,r.loading,r.readonly],nd={},_e=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?(0,qt.jsx)(qt.Fragment,{}):(0,qt.jsx)("span",{className:i(e.className,Dr),children:(0,qt.jsx)(M,{icon:"x"})})};_e.states=ad;_e.options=nd;_e.className=Dr;var Hr=require("react/jsx-runtime"),Ya="k-input-inner",rd=[],id={},sa={type:"text",autocomplete:"off",value:"",placeholder:""},De=e=>{let{value:t=sa.value,type:o=sa.type,placeholder:a=sa.placeholder,autocomplete:n=sa.autocomplete,disabled:s,readOnly:c,...u}=e;return(0,Hr.jsx)("input",{...u,type:o,className:i(e.className,Ya,C(Ya,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:c||void 0})};De.states=rd;De.options=id;De.className=Ya;var Ho=require("react/jsx-runtime"),Qa="k-input-inner",sd=[],ld={},_t=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...c}=e;return(0,Ho.jsxs)("span",{...c,className:i(e.className,Qa,C(Qa,e)),children:[n,!n&&s&&(0,Ho.jsx)(M,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&(0,Ho.jsx)("span",{className:"k-input-value-text",children:t})]})};_t.states=sd;_t.options=ld;_t.className=Qa;var Ur=require("react/jsx-runtime"),Za="k-input-inner",dd=[],cd={},zr={value:"",placeholder:""},ja=e=>{let{value:t=zr.value,placeholder:o=zr.placeholder,rows:a,disabled:n,...s}=e;return(0,Ur.jsx)("textarea",{...s,className:i(e.className,Za,C(Za,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};ja.states=dd;ja.options=cd;ja.className=Za;var zo=require("react/jsx-runtime"),Gr="k-input-loading-icon",pd=[r.disabled,r.loading],Oe=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,zo.jsx)(zo.Fragment,{}):(0,zo.jsx)("span",{className:i(e.className,Gr,"k-icon k-i-loading")})};Oe.states=pd;Oe.className=Gr;var Uo=require("react/jsx-runtime"),Fr="k-input-validation-icon",ud=[r.valid,r.invalid,r.disabled,r.loading],md={},Ie=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?(0,Uo.jsx)(Uo.Fragment,{}):(0,Uo.jsx)(M,{className:i(Fr),icon:s})};Ie.states=ud;Ie.options=md;Ie.className=Fr;var Go=require("react/jsx-runtime"),fd="k-input-prefix",bd={direction:"horizontal"},Fe=e=>{let{direction:t=bd.direction,...o}=e;return e.children?(0,Go.jsx)("span",{...o,className:i(fd,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Go.jsx)(Go.Fragment,{})};var Fo=require("react/jsx-runtime"),hd="k-input-suffix",xd={direction:"horizontal"},Ve=e=>{let{direction:t=xd.direction,...o}=e;return e.children?(0,Fo.jsx)("span",{...o,className:i(hd,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Fo.jsx)(Fo.Fragment,{})};var Nd=require("react/jsx-runtime");var Vr=require("react/jsx-runtime"),kd="k-input-suffix-text",en=e=>{let{children:t,...o}=e;return(0,Vr.jsx)("span",{...o,className:i(kd,e.className),children:t})};var Xr=require("react/jsx-runtime"),$r="k-input-separator",vd={direction:"vertical"},$e=e=>{let{direction:t=vd.direction,...o}=e;return(0,Xr.jsx)("span",{...o,className:i($r,e.className,{[`${$r}-${t}`]:t})})};var ae=require("react/jsx-runtime"),gd=Z.states,Ld=Z.defaultOptions,Md=Z.options,Sd=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Id=[],Jt=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,ae.jsxs)(Z,{...u,valid:o,invalid:a,loading:n,disabled:s,readonly:c,style:{width:300},children:[h&&(0,ae.jsxs)(ae.Fragment,{children:[(0,ae.jsx)(Fe,{children:(0,ae.jsx)(M,{icon:"lock"})}),p&&(0,ae.jsx)($e,{})]}),(0,ae.jsx)(De,{placeholder:"Placeholder",value:"Value"}),N&&(0,ae.jsx)(Ie,{valid:o,invalid:a,loading:n,disabled:s}),(0,ae.jsx)(Oe,{loading:n,disabled:s}),b&&(0,ae.jsx)(_e,{loading:n,disabled:s,readonly:c,value:"Value"}),x&&(0,ae.jsxs)(ae.Fragment,{children:[p&&(0,ae.jsx)($e,{}),(0,ae.jsx)(Ve,{children:(0,ae.jsx)(Kt,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};Jt.options=Md;Jt.states=gd;Jt.variants=Id;Jt.defaultOptions=Ld;Jt.modifiers=Sd;Jt.className=Z.className;var Vo=require("react/jsx-runtime"),qr="k-color-preview",Cd=[],yd={},Lt=e=>{let{color:t,iconName:o,...a}=e;return(0,Vo.jsxs)("span",{...a,className:i(e.className,qr,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,Vo.jsx)(M,{icon:o,className:"k-color-preview-icon"}),(0,Vo.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Lt.states=Cd;Lt.options=yd;Lt.className=qr;var tn="popup",Jr=tn;var an=require("react/jsx-runtime"),Wr="k-animation-container",Td=[],Ed={},on={positionMode:"absolute",shown:!0},at=e=>{let{positionMode:t=on.positionMode,shown:o=on.shown,animationStyle:a,offset:n,...s}=e;return(0,an.jsx)("div",{...s,style:{...n,...e.style},className:i(e.className,Wr,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,an.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};at.states=Td;at.options=Ed;at.className=Wr;at.defaultOptions=on;at.moduleName=tn;at.folderName=Jr;var nn="popup",Yr=nn;var rn=require("react/jsx-runtime"),Qr="k-popup",Ad=[],Od={},Zr={positionMode:"absolute"},F=e=>{let{offset:t,positionMode:o=Zr.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:c,...u}=e;return(0,rn.jsx)(at,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":c,children:(0,rn.jsx)("div",{...u,className:i(e.className,Qr),children:e.children})})};F.states=Ad;F.options=Od;F.className=Qr;F.defaultOptions=Zr;F.moduleName=nn;F.folderName=Yr;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 sn="action-buttons",jr=sn;var ei=require("react/jsx-runtime"),la="k-actions",wd=[],Bd={},ln={alignment:"start",orientation:"horizontal"},nt=e=>{let{alignment:t=ln.alignment,orientation:o=ln.orientation,...a}=e;return(0,ei.jsx)("div",{...a,className:i(la,{[`${la}-${t}`]:t,[`${la}-${o}`]:o},e.className),children:e.children})};nt.states=wd;nt.options=Bd;nt.className=la;nt.defaultOptions=ln;nt.moduleName=sn;nt.folderName=jr;var oi=require("react/jsx-runtime"),Pd="k-actionsheet-footer",ti={alignment:"stretched",orientation:"horizontal"},Mt=e=>{let{alignment:t=ti.alignment,orientation:o=ti.orientation,template:a,as:n=a?"div":nt,...s}=e;return(0,oi.jsx)(n,{...s,...!a&&{alignment:t,orientation:o},className:i(e.className,Pd),children:e.children})};var dn="searchbox",ai=dn;var St=require("react/jsx-runtime"),ni="k-searchbox",Rd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],Kd={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},cn={showIcon:!0,icon:"search"},we=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=cn.showIcon,icon:k=cn.icon,"aria-label":S,...y}=e;return(0,St.jsxs)(Z,{...y,size:a,rounded:n,fillMode:s,hover:c,focus:u,valid:h,invalid:x,required:b,loading:N,disabled:p,className:i(e.className,ni),children:[L&&(0,St.jsx)(M,{className:"k-input-icon",icon:k}),(0,St.jsx)(De,{placeholder:o,value:t,"aria-label":S}),(0,St.jsx)(Oe,{...e}),(0,St.jsx)(Ie,{...e}),(0,St.jsx)(_e,{...e})]})};we.states=Rd;we.options=Kd;we.className=ni;we.defaultOptions=cn;we.moduleName=dn;we.folderName=ai;var _d=require("react/jsx-runtime");var pn="textbox",ri=pn;var fe=require("react/jsx-runtime"),ii="k-textbox",Dd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Hd={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},da={showClearButton:!0,showValidationIcon:!0,separators:!0},ie=e=>{let{size:t,rounded:o,fillMode:a,separators:n=da.separators,showClearButton:s=da.showClearButton,showValidationIcon:c=da.showValidationIcon,prefix:u,suffix:h,type:x,value:b,placeholder:N,hover:p,focus:L,valid:k,invalid:S,required:y,loading:I,disabled:B,readonly:Q,id:me,"aria-label":Le,"aria-describedby":Me,...Se}=e;return(0,fe.jsxs)(Z,{...Se,size:t,rounded:o,fillMode:a,hover:p,focus:L,valid:k,invalid:S,required:y,loading:I,disabled:B,readonly:Q,className:i(e.className,ii),children:[u&&(0,fe.jsxs)(fe.Fragment,{children:[(0,fe.jsx)(Fe,{children:u}),n&&(0,fe.jsx)($e,{})]}),(0,fe.jsx)(De,{id:me,placeholder:N,value:b,type:x,disabled:B,"aria-label":Le,"aria-describedby":Me,"aria-invalid":S?"true":void 0}),c&&(0,fe.jsx)(Ie,{valid:k,invalid:S,loading:I,disabled:B}),(0,fe.jsx)(Oe,{loading:I,disabled:B}),s&&(0,fe.jsx)(_e,{loading:I,disabled:B,readonly:Q,value:b}),h&&(0,fe.jsxs)(fe.Fragment,{children:[n&&(0,fe.jsx)($e,{}),(0,fe.jsx)(Ve,{children:h})]})]})};ie.states=Dd;ie.options=Hd;ie.className=ii;ie.defaultOptions=da;ie.moduleName=pn;ie.folderName=ri;ie.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 $o=ie;var li=require("react/jsx-runtime"),si=e=>(0,li.jsx)($o,{...e});var di=require("react/jsx-runtime");var ci=require("react/jsx-runtime");var zd=require("react/jsx-runtime");var ca=require("react/jsx-runtime"),Ud=ie.states,Gd=ie.defaultOptions,Fd=ie.options,Vd=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],$d=[],Wt=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,ca.jsx)(M,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,ca.jsx)(Kt,{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,ca.jsx)(si,{value:"Value",style:{width:300},...o,...a})};Wt.options=Fd;Wt.states=Ud;Wt.variants=$d;Wt.defaultOptions=Gd;Wt.modifiers=Vd;Wt.className=ie.className;var He=require("react/jsx-runtime"),pi="k-actionsheet-titlebar",Xd={},Ce=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,He.jsxs)("div",{...p,className:i(e.className,pi),children:[(0,He.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,He.jsx)("div",{className:"k-actionsheet-actions",children:a}),!N&&(0,He.jsxs)("div",{className:"k-actionsheet-title",id:b,children:[t&&(0,He.jsx)("div",{className:"k-text-center",children:t}),o&&(0,He.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&(0,He.jsx)("div",{className:"k-actionsheet-title",id:b,children:N}),n&&(0,He.jsx)("div",{className:"k-actionsheet-actions",children:n})]}),(c||s)&&(0,He.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?(0,He.jsx)(ie,{value:u,placeholder:h,size:x?"large":"medium","aria-label":t||h||"Input"}):(0,He.jsx)(we,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};Ce.className=pi;Ce.defaultOptions=Xd;var Yt=require("react/jsx-runtime"),un="k-actionsheet-view",qd=[],Jd={},Wd={},Qt=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:c,...u}=e,h=(n==null?void 0:n.type)===Ce&&(0,Yt.jsx)(Ce,{adaptive:t,titleId:c,...n==null?void 0:n.props}),x=(s==null?void 0:s.type)===Mt&&(0,Yt.jsx)(Mt,{...s==null?void 0:s.props});return(0,Yt.jsxs)("div",{...u,className:i(e.className,un,{[`${un}-animated`]:o}),children:[h,(0,Yt.jsx)("div",{className:"k-actionsheet-content",children:a}),x]})};Qt.states=qd;Qt.options=Jd;Qt.className=un;Qt.defaultOptions=Wd;var Xo="action-sheet",pa=Xo;var mn="overlay",ui=mn;var fi=require("react/jsx-runtime"),mi="k-overlay",Yd=[],Qd={},Zd={},It=e=>{let{...t}=e;return(0,fi.jsx)("div",{...t,className:i(e.className,mi),children:e.children})};It.states=Yd;It.options=Qd;It.className=mi;It.defaultOptions=Zd;It.moduleName=mn;It.folderName=ui;var Dt=require("react/jsx-runtime"),bi="k-actionsheet",jd=[],ec={},qo={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},W=e=>{let{side:t=qo.side,fullscreen:o=qo.fullscreen,adaptive:a=qo.adaptive,overlay:n=qo.overlay,template:s,children:c,header:u,footer:h,id:x,...b}=e,N=x&&!s&&u?`${x}-title`:void 0;return(0,Dt.jsxs)("div",{className:"k-actionsheet-container",children:[n&&(0,Dt.jsx)(It,{}),(0,Dt.jsx)(at,{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,Dt.jsx)("div",{...b,id:x,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":N,className:i(e.className,bi,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||(0,Dt.jsx)(Qt,{header:u,footer:h,adaptive:a,titleId:N,...e,children:c})})})]})};W.states=jd;W.options=ec;W.className=bi;W.defaultOptions=qo;W.moduleName=Xo;W.folderName=pa;W.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 xi=require("react/jsx-runtime"),hi="k-actionsheet-container",tc=[],oc={},ac={},Zt=e=>{let{children:t,...o}=e;return(0,xi.jsx)("div",{...o,className:hi,children:t})};Zt.states=tc;Zt.options=oc;Zt.className=hi;Zt.defaultOptions=ac;Zt.moduleName=Xo;Zt.folderName=pa;var Ni=require("react/jsx-runtime"),fn=e=>{let{...t}=e;return(0,Ni.jsx)("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};var Xe=require("react/jsx-runtime"),bn="k-actionsheet-item",nc=[r.hover,r.focus,r.selected,r.disabled],Ct=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:c,disabled:u,...h}=e;return(0,Xe.jsxs)("span",{...h,className:i(e.className,bn,T(bn,{hover:n,focus:s,selected:c,disabled:u})),children:[!e.children&&(0,Xe.jsx)(Xe.Fragment,{children:(0,Xe.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,Xe.jsx)("span",{className:"k-icon-wrap",children:(0,Xe.jsx)(M,{className:"k-actionsheet-item-icon",icon:t})}),(0,Xe.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,Xe.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,Xe.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Ct.states=nc;Ct.className=bn;var ki=require("react/jsx-runtime");var rc=require("react/jsx-runtime");var ic=require("react/jsx-runtime");var sc=require("react/jsx-runtime");var $=require("react/jsx-runtime"),lc=W.options,dc=W.states,gi={...W.defaultOptions,variant:"normal"},cc=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],pc=[{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}={...gi,...e},n={},s=(0,$.jsxs)(fn,{children:[(0,$.jsx)(Ct,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,$.jsx)(Ct,{text:"Add to Favorites",iconName:"heart"}),(0,$.jsx)(Ct,{text:"Upload New",iconName:"upload",disabled:!0}),(0,$.jsx)("hr",{className:"k-hr"}),(0,$.jsx)(Ct,{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,$.jsx)(W,{...a,adaptive:!0,fullscreen:n.fullScreen,header:(0,$.jsx)(Ce,{actionsStart:n.actionsStart?(0,$.jsx)(d,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,$.jsx)(d,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:n.subtitle}),footer:n.footer?(0,$.jsxs)(Mt,{alignment:"stretched",children:[(0,$.jsx)(d,{text:"Cancel",size:"large",themeColor:"base"}),(0,$.jsx)(d,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):(0,$.jsx)(W,{...a,fullscreen:n.fullScreen,header:(0,$.jsx)(Ce,{actionsStart:n.actionsStart?(0,$.jsx)(d,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,$.jsx)(d,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?(0,$.jsxs)(Mt,{alignment:"stretched",children:[(0,$.jsx)(d,{text:"Apply",themeColor:"primary"}),(0,$.jsx)(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};jt.options=lc;jt.states=dc;jt.variants=cc;jt.defaultOptions=gi;jt.modifiers=pc;jt.className=W.className;var hn="slider",Li=hn;var Ye=require("react/jsx-runtime"),Jo="k-slider",uc=[r.hover,r.focus,r.active,r.disabled,r.readonly],mc={},qe={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=qe.type,orientation:o=qe.orientation,gradientType:a=qe.gradientType,readonly:n=qe.readonly,disabled:s=qe.disabled,handlePosition:c=qe.handlePosition,showButtons:u=qe.showButtons,showTicks:h=qe.showTicks,value:x=qe.value,min:b=qe.min,max:N=qe.max,startValue:p,endValue:L,hover:k,focus:S,active:y,trackStyle:I,dir:B,...Q}=e,Le=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),Me,Se;return o==="horizontal"?(Me=B==="rtl"?"chevron-left":"chevron-right",Se=B==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(Me="chevron-up",Se="chevron-down"),(0,Ye.jsxs)("div",{...Q,className:i(Jo,e.className,T(Jo,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:B,children:[u&&(0,Ye.jsx)(d,{className:"k-button-decrease",rounded:"full",icon:Se,tabIndex:-1,title:"Decrease"}),(0,Ye.jsxs)("div",{className:"k-slider-track-wrap",children:[h&&(0,Ye.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,Ye.jsxs)("div",{className:"k-slider-track",style:I,children:[(0,Ye.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,Ye.jsx)("span",{className:i("k-draghandle","k-draghandle-start",T(Jo,{hover:k,focus:S,active:y})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":p??b,"aria-valuemin":b,"aria-valuemax":L??N,"aria-orientation":Le,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":Q["aria-label"]?`${Q["aria-label"]} start`:"Range start"}),(0,Ye.jsx)("span",{className:i("k-draghandle",`k-draghandle-${c}`,T(Jo,{hover:k,focus:S,active:y})),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":Le,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?Q["aria-label"]?`${Q["aria-label"]} end`:"Range end":Q["aria-label"]})]})]}),u&&(0,Ye.jsx)(d,{className:"k-button-increase",rounded:"full",icon:Me,tabIndex:-1,title:"Increase"})]})};G.states=uc;G.options=mc;G.className=Jo;G.defaultOptions=qe;G.moduleName=hn;G.folderName=Li;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 xn=require("react/jsx-runtime"),Mi="k-tick",fc=[],bc={},Si={label:!1},A=e=>{let{style:t,label:o=Si.label,orientation:a,large:n,text:s,...c}=e;return(0,xn.jsx)("li",{...c,role:"presentation",title:s||"Tick",className:i(e.className,Mi,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&(0,xn.jsx)("span",{className:"k-label",children:s})})};A.states=fc;A.options=bc;A.className=Mi;A.defaultOptions=Si;var se=require("react/jsx-runtime"),Ii=e=>(0,se.jsx)(G,{"aria-label":e["aria-label"]||"Slider",children:(0,se.jsxs)(se.Fragment,{children:[(0,se.jsx)(A,{className:"k-first",label:!0,large:!0,text:"0"}),(0,se.jsx)(A,{}),(0,se.jsx)(A,{}),(0,se.jsx)(A,{}),(0,se.jsx)(A,{}),(0,se.jsx)(A,{label:!0,large:!0,text:"5"}),(0,se.jsx)(A,{}),(0,se.jsx)(A,{}),(0,se.jsx)(A,{}),(0,se.jsx)(A,{}),(0,se.jsx)(A,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var le=require("react/jsx-runtime"),Ci=e=>(0,le.jsx)(G,{children:(0,le.jsxs)(le.Fragment,{children:[(0,le.jsx)(A,{className:"k-first",label:!0,large:!0,text:"0"}),(0,le.jsx)(A,{}),(0,le.jsx)(A,{}),(0,le.jsx)(A,{}),(0,le.jsx)(A,{}),(0,le.jsx)(A,{label:!0,large:!0,text:"5"}),(0,le.jsx)(A,{}),(0,le.jsx)(A,{}),(0,le.jsx)(A,{}),(0,le.jsx)(A,{}),(0,le.jsx)(A,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var Nn=require("react/jsx-runtime");var kn=require("react/jsx-runtime");var yi=require("react/jsx-runtime"),vn=e=>(0,yi.jsx)(G,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Ti=require("react/jsx-runtime"),gn=e=>(0,Ti.jsx)(G,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Ln=require("react/jsx-runtime");var Mn=require("react/jsx-runtime");var Be=require("react/jsx-runtime"),hc=G.options,xc=G.states,Ei={...G.defaultOptions,variant:"horizontal",label:!0},Nc=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],kc=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],eo=e=>{let{variant:t,modifiers:o,...a}=e,n=Ei.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,Be.jsxs)(Ci,{style:{height:"300px",...c},...a,...s,children:[(0,Be.jsx)(A,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,Be.jsx)(A,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,Be.jsx)(A,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,Be.jsx)(A,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,Be.jsx)(A,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,Be.jsxs)(Ii,{style:{width:"400px",...c},...a,...s,children:[(0,Be.jsx)(A,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,Be.jsx)(A,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,Be.jsx)(A,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,Be.jsx)(A,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,Be.jsx)(A,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};eo.options=hc;eo.states=xc;eo.variants=Nc;eo.defaultOptions=Ei;eo.modifiers=kc;eo.className=G.className;var Wo=require("react/jsx-runtime"),Ai="k-spin-button",Lc=[],Mc={size:[l.undefined,l.small,l.medium,l.large],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},Sn={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},yt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Sn.increaseLabel,decreaseLabel:s=Sn.decreaseLabel,...c}=e;return(0,Wo.jsxs)("span",{...c,className:i(Ai,e.className),children:[(0,Wo.jsx)(d,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),(0,Wo.jsx)(d,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};yt.states=Lc;yt.options=Mc;yt.className=Ai;yt.defaultOptions=Sn;yt.moduleName=null;yt.folderName=null;var Oi="numeric-textbox",wi="numerictextbox";var de=require("react/jsx-runtime"),Bi="k-numerictextbox",Sc=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Ic={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},ua={showSpinButton:!0,showClearButton:!0,separators:!0},D=e=>{let{size:t,rounded:o,fillMode:a,separators:n=ua.separators,showClearButton:s=ua.showClearButton,showSpinButton:c=ua.showSpinButton,prefix:u,suffix:h,value:x,placeholder:b,hover:N,focus:p,valid:L,invalid:k,required:S,loading:y,disabled:I,readonly:B,id:Q,"aria-label":me,"aria-describedby":Le,...Me}=e;return(0,de.jsxs)(Z,{...Me,size:t,rounded:o,fillMode:a,hover:N,focus:p,valid:L,invalid:k,required:S,loading:y,disabled:I,readonly:B,className:i(e.className,Bi),children:[u&&(0,de.jsxs)(de.Fragment,{children:[(0,de.jsx)(Fe,{children:u}),n&&(0,de.jsx)($e,{})]}),(0,de.jsx)(De,{id:Q,placeholder:b,value:x,role:"spinbutton",disabled:I,"aria-label":me,"aria-describedby":Le,"aria-invalid":k?"true":void 0}),(0,de.jsx)(Ie,{valid:L,invalid:k,loading:y,disabled:I}),(0,de.jsx)(Oe,{loading:y,disabled:I}),s&&(0,de.jsx)(_e,{loading:y,disabled:I,readonly:B,value:x}),h&&(0,de.jsxs)(de.Fragment,{children:[n&&(0,de.jsx)($e,{}),(0,de.jsx)(Ve,{children:h})]}),c&&(0,de.jsx)(yt,{className:"k-input-spinner",size:t,fillMode:a,disabled:I})]})};D.states=Sc;D.options=Ic;D.className=Bi;D.defaultOptions=ua;D.moduleName=Oi;D.folderName=wi;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 Yo=D;var Ri=require("react/jsx-runtime"),Pi=e=>(0,Ri.jsx)(Yo,{...e});var fa=Lr(require("react"));var In=require("react/jsx-runtime"),Cc="k-list-group-sticky-header",Cn=e=>(0,In.jsx)("div",{className:i(Cc,e.className),children:(0,In.jsx)("div",{className:"k-list-header-text",children:e.children})});var Ki=require("react/jsx-runtime"),yc="k-no-data",ma=e=>{let{live:t,...o}=e;return(0,Ki.jsx)("span",{...o,className:i(yc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Ht="list",to=Ht;var oo=require("react/jsx-runtime"),yn="k-list",Tc=[],Ec={size:[l.undefined,l.small,l.medium,l.large]},Ac={},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=fa.default.Children.toArray(a)[0],L=(k=p==null?void 0:p.props)!=null&&k.children?fa.default.Children.count(p.props.children):fa.default.Children.count(a);return(0,oo.jsxs)("div",{...b,className:i(e.className,yn,C(yn,{size:t}),{"k-virtual-list":o}),children:[c,s,u,n&&(0,oo.jsx)(Cn,{children:n}),a||(h!==void 0?h:(0,oo.jsx)(ma,{live:!0,children:"No data found."})),x&&a&&(0,oo.jsxs)(ma,{className:"k-sr-only",live:!0,children:[L," items found."]})]})};R.states=Tc;R.options=Ec;R.className=yn;R.defaultOptions=Ac;R.moduleName=Ht;R.folderName=to;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 Di=require("react/jsx-runtime"),_i="k-list-container",Oc=[],wc={},Bc={},ao=e=>{let{...t}=e;return(0,Di.jsx)("div",{...t,className:i(e.className,_i),children:e.children})};ao.states=Oc;ao.options=wc;ao.className=_i;ao.defaultOptions=Bc;ao.moduleName=Ht;ao.folderName=to;var zt="checkbox",no=zt;var Tn=require("react/jsx-runtime"),ba="k-checkbox",Pc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],Rc={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full]},Kc={},Pe=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,Tn.jsx)("span",{className:"k-checkbox-wrap",role:p,children:(0,Tn.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,ba,C(ba,{size:b,rounded:N}),T(ba,{hover:n,focus:s,disabled:c,invalid:u,valid:h,indeterminate:a,checked:o}))})})};Pe.states=Pc;Pe.options=Rc;Pe.className=ba;Pe.defaultOptions=Kc;Pe.moduleName=zt;Pe.folderName=no;Pe.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 Qe=Pe;var Ui=require("react/jsx-runtime"),Hi="k-checkbox-list",_c=[],Dc={},zi={layout:"vertical"},ye=e=>{let{layout:t=zi.layout,...o}=e;return(0,Ui.jsx)("ul",{...o,className:i(e.className,Hi,{[`k-list-${t}`]:t}),children:e.children})};ye.states=_c;ye.options=Dc;ye.className=Hi;ye.defaultOptions=zi;ye.moduleName=zt;ye.folderName=no;var Fi=require("react/jsx-runtime"),Gi="k-checkbox-list-item",Hc=[],zc={},Uc={},Te=e=>{let{...t}=e;return(0,Fi.jsx)("li",{...t,className:i(e.className,Gi),children:e.children})};Te.states=Hc;Te.options=zc;Te.className=Gi;Te.defaultOptions=Uc;Te.moduleName=zt;Te.folderName=no;var Ut=require("react/jsx-runtime"),ct=({children:e="Label",id:t="cb-label-after",...o})=>(0,Ut.jsxs)(Ut.Fragment,{children:[(0,Ut.jsx)(Qe,{id:t,...o}),(0,Ut.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var En=require("react/jsx-runtime");var An=require("react/jsx-runtime");var On=require("react/jsx-runtime");var Gc=require("react/jsx-runtime");var Fc=require("react/jsx-runtime");var Vc=require("react/jsx-runtime");var be=require("react/jsx-runtime"),$c=ye.options,Xc=ye.states,qc={...ye.defaultOptions,variant:"vertical"},Jc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Wc=[],ro=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,be.jsxs)(ye,{layout:"horizontal",...o,children:[(0,be.jsx)(Te,{children:(0,be.jsx)(ct,{id:_("cb"),defaultChecked:!0,children:"Label"})}),(0,be.jsx)(Te,{children:(0,be.jsx)(ct,{id:_("cb"),children:"Label"})}),(0,be.jsx)(Te,{children:(0,be.jsx)(ct,{id:_("cb"),children:"Label"})})]}):(0,be.jsxs)(ye,{...o,children:[(0,be.jsx)(Te,{children:(0,be.jsx)(ct,{id:_("cb"),defaultChecked:!0,children:"Label"})}),(0,be.jsx)(Te,{children:(0,be.jsx)(ct,{id:_("cb"),children:"Label"})}),(0,be.jsx)(Te,{children:(0,be.jsx)(ct,{id:_("cb"),children:"Label"})})]})};ro.options=$c;ro.states=Xc;ro.variants=Jc;ro.defaultOptions=qc;ro.modifiers=Wc;ro.className=ye.className;var Vi=require("react/jsx-runtime"),Yc=Qe.options,Qc=Qe.states,Zc=Qe.defaultOptions,jc=[],ep=[],io=e=>(0,Vi.jsx)(ct,{id:_("checkbox"),...e,defaultChecked:!0,children:"Label"});io.options=Yc;io.states=Qc;io.variants=jc;io.defaultOptions=Zc;io.modifiers=ep;io.className=Qe.className;var rt=require("react/jsx-runtime"),wn="k-list-item",tp=[r.hover,r.focus,r.selected,r.disabled],op={