UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 243 kB
var uT=Object.create;var Tl=Object.defineProperty;var bT=Object.getOwnPropertyDescriptor;var TT=Object.getOwnPropertyNames;var fT=Object.getPrototypeOf,gT=Object.prototype.hasOwnProperty;var hT=(e,o)=>{for(var t in o)Tl(e,t,{get:o[t],enumerable:!0})},Cd=(e,o,t,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let l of TT(o))!gT.call(e,l)&&l!==t&&Tl(e,l,{get:()=>o[l],enumerable:!(r=bT(o,l))||r.enumerable});return e};var Ld=(e,o,t)=>(t=e!=null?uT(fT(e)):{},Cd(o||!e||!e.__esModule?Tl(t,"default",{value:e,enumerable:!0}):t,e)),xT=e=>Cd(Tl({},"__esModule",{value:!0}),e);var tC={};hT(tC,{GanttNormal:()=>wd});module.exports=xT(tC);var a=(...e)=>e.filter(o=>o!==!0&&!!o).map(o=>Array.isArray(o)?a(...o):typeof o=="object"?Object.keys(o).map((t,r)=>o[r]||o[t]&&t||null).filter(t=>t!==null).join(" "):o).filter(o=>!!o).join(" ");var E=(e,o)=>a({[`${e}-xs`]:o.size==="xsmall",[`${e}-sm`]:o.size==="small",[`${e}-md`]:o.size==="medium",[`${e}-lg`]:o.size==="large",[`${e}-xl`]:o.size==="xlarge",[`${e}-xxl`]:o.size==="xxlarge",[`${e}-xxxl`]:o.size==="xxxlarge"},{[`${e}-${o.fillMode}`]:o.fillMode},{[`${e}-${o.themeColor}`]:o.themeColor},{"k-rounded-sm":o.rounded==="small","k-rounded-md":o.rounded==="medium","k-rounded-lg":o.rounded==="large","k-rounded-full":o.rounded==="full","k-rounded-none":o.rounded==="none"}),G=(e,o)=>{let{valid:t,invalid:r,hover:l,focus:s,checked:c,active:b,selected:f,disabled:x,indeterminate:N,loading:y,empty:g,readonly:S,highlighted:R,..._}=o;return a({"k-valid":t,"k-invalid":r,"k-hover":l,"k-focus":s,"k-checked":c,"k-active":b,"k-selected":f,"k-disabled":x,"k-indeterminate":N&&!c,"k-loading":y,"k-empty":g,"k-readonly":S,"k-highlighted":R},Object.keys(_).reduce((V,X)=>(X.startsWith("k-")?V[X]=_[X]:V[`k-${X}`]=_[X],V),{}))};function yd(e,o){if(!o)return{};let t=Array.isArray(o)?o:[o];return Object.fromEntries(t.map(r=>[`k-${r}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},w={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},v={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},nt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},M={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},n={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"},Md={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var Ti={};function K(e){return Ti[e]=(Ti[e]||0)+1,`k-${e}-${Ti[e]}`}var Te="gantt",xe=Te;var Rd=require("react/jsx-runtime"),Sd="k-gantt",kT=[],NT={},wT={},Ao=e=>{let{headerToolbar:o,footerToolbar:t,...r}=e;return(0,Rd.jsxs)("div",{...r,className:a(e.className,Sd),role:"application","aria-roledescription":"Gantt Chart",children:[o,e.children,t]})};Ao.states=kT;Ao.options=NT;Ao.className=Sd;Ao.defaultOptions=wT;Ao.moduleName=Te;Ao.folderName=xe;Ao.ariaSpec={selector:".k-gantt",rules:[{selector:".k-gantt",attribute:"role=application",usage:"The Gantt uses role=application to indicate a complex interactive widget."},{selector:".k-gantt",attribute:"aria-roledescription",usage:"Provides a human-readable description of the component role."},{selector:".k-gantt-toolbar",attribute:"role=toolbar",usage:"The toolbar is a collection of command buttons and inputs."},{selector:".k-gantt-toolbar",attribute:"aria-label",usage:"Clarifies the purpose of the toolbar."},{selector:".k-gantt-toggle",attribute:"aria-label",usage:"Icon-only toggle button must have accessible text."},{selector:"select.k-views-dropdown",attribute:"aria-label",usage:"The view selector dropdown must have an accessible name."},{selector:".k-gantt-timeline .k-grid-content",attribute:"role=tree",usage:"The timeline content area is a tree structure."},{selector:".k-gantt-timeline .k-gantt-rows",attribute:"role=presentation",usage:"The rows grid is presentational."},{selector:".k-gantt-timeline .k-gantt-columns",attribute:"role=presentation",usage:"The columns grid is presentational."},{selector:".k-gantt-timeline .k-gantt-tasks",attribute:"role=presentation",usage:"The tasks table is presentational."},{selector:".k-gantt-timeline .k-task",attribute:"role=treeitem",usage:"Each task in the timeline is a tree item."},{selector:".k-gantt-timeline .k-task",attribute:"aria-level (when present)",usage:"Specifies the nesting level of the task."},{selector:".k-gantt-timeline .k-task",attribute:"aria-describedby (when present)",usage:"References the tooltip providing task details (when visible)."},{selector:".k-gantt-timeline .k-task .k-task-complete",attribute:"aria-hidden=true",usage:"The progress indicator is decorative."},{selector:".k-gantt-timeline .k-task .k-task-actions",attribute:"aria-hidden=true",usage:"Task action buttons are hidden from the accessibility tree."},{selector:".k-gantt-dependencies",attribute:"aria-hidden=true",usage:"Dependency lines are decorative."},{selector:".k-current-time",attribute:"aria-hidden=true",usage:"The current time marker is decorative."},{selector:".k-task-dot",attribute:"aria-hidden=true",usage:"Task connection dots are decorative."},{selector:".k-gantt-line",attribute:"aria-hidden=true",usage:"Dependency connector lines are decorative."},{selector:".k-task-draghandle",attribute:"aria-hidden=true",usage:"The progress drag handle is decorative."},{selector:".k-resize-handle",attribute:"aria-hidden=true",usage:"Resize handles are decorative."},{selector:".k-drag-cell",attribute:"aria-label",usage:"Drag cells must have an accessible name."}]};var Gr=require("react/jsx-runtime"),fi="k-font-icon",vT=[],CT={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[M.undefined,M.base,M.primary,M.secondary,M.tertiary,M.success,M.warning,M.error,M.info]},LT={},Ir=e=>{let{size:o,themeColor:t,icon:r,rotate:l,flip:s,...c}=e;return r?(0,Gr.jsx)("span",{...c,className:a(e.className,fi,E(fi,{size:o}),{[`k-i-${r}`]:r,[`k-color-${t}`]:t,[`k-rotate-${l}`]:l,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):(0,Gr.jsx)(Gr.Fragment,{})};Ir.states=vT;Ir.options=CT;Ir.className=fi;Ir.defaultOptions=LT;var Ad=Ir;var aa=require("react/jsx-runtime"),gi="k-svg-icon",yT=[],MT={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[M.undefined,M.base,M.primary,M.secondary,M.tertiary,M.success,M.warning,M.error,M.info],variant:[nt.outline,nt.solid,nt.duotone]},hi={viewBox:"0 0 24 24",variant:nt.outline},Or=e=>{var y,g;let{size:o,themeColor:t,rotate:r,flip:l,viewBox:s=hi.viewBox,variant:c=hi.variant,icon:b,...f}=e;if(!b)return(0,aa.jsx)(aa.Fragment,{});if(b==="none")return(0,aa.jsx)("span",{...f,className:a(e.className,gi,E("k-icon",{size:o}),"k-none"),"aria-hidden":"true"});let x=typeof b=="object"&&b.name&&b.name,N=typeof b=="object"?c&&((y=b.variants)==null?void 0:y[c])||((g=b.variants)==null?void 0:g.outline)||b.content:void 0;return(0,aa.jsx)("span",{...f,className:a(e.className,gi,E("k-icon",{size:o}),{[`k-svg-i-${x}`]:x,[`k-color-${t}`]:t,[`k-rotate-${r}`]:r,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true",children:(0,aa.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof b=="object"?b.viewBox:s,dangerouslySetInnerHTML:N!==void 0?{__html:N}:void 0,children:b?void 0:e.children})})};Or.states=yT;Or.options=MT;Or.className=gi;Or.defaultOptions=hi;var xi=Or;var ki=Ld(require("@progress/kendo-svg-icons"));var Ed="icon",Gd="icons";var Hd=require("react");var Id=require("react"),Od=(0,Id.createContext)({iconsType:"svg"});var gt=require("react/jsx-runtime"),fl="k-icon",ST=e=>e.replace(/([-_][a-z0-9])/gi,o=>o.toUpperCase().replace("-","").replace("_","")),RT=[],AT={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[M.undefined,M.base,M.primary,M.secondary,M.tertiary,M.success,M.warning,M.error,M.info],variant:[nt.outline,nt.solid,nt.duotone]},gl={viewBox:"0 0 24 24",type:"svg",variant:nt.outline},p=e=>{let{iconsType:o}=(0,Hd.useContext)(Od),{size:t,themeColor:r,icon:l,type:s=o||gl.type,rotate:c,flip:b,viewBox:f=gl.viewBox,variant:x=gl.variant,...N}=e;if(!l)return(0,gt.jsx)(gt.Fragment,{});if((o||s)==="svg"){if(l==="none")return(0,gt.jsx)(xi,{...N,className:a(e.className,fl),icon:l,size:t,variant:x});let g=ki[l]?l:ST(`${l}-icon`);return ki[g]?(0,gt.jsx)(xi,{...N,className:a(e.className,fl),icon:ki[g],size:t,themeColor:r,rotate:c,flip:b,viewBox:f,variant:x}):(0,gt.jsx)(gt.Fragment,{})}return(0,gt.jsx)(Ad,{...N,className:a(e.className,fl),icon:l,size:t,themeColor:r,rotate:c,flip:b})};p.states=RT;p.options=AT;p.defaultOptions=gl;p.className=fl;p.moduleName=Ed;p.folderName=Gd;p.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 Ni="button",Pd=Ni;var Eo=require("react/jsx-runtime"),Hr="k-button",ET=["icon-button"],GT=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],IT={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[w.undefined,w.none,w.small,w.medium,w.large,w.full],fillMode:[v.undefined,v.solid,v.flat,v.outline,v.clear,v.link],themeColor:[M.undefined,M.base,M.primary,M.secondary,M.tertiary,M.success,M.warning,M.error,M.info,M.inverse]},wi={showArrow:!1,arrowIconName:"chevron-down"},u=e=>{let{as:o="button",size:t,rounded:r,fillMode:l,themeColor:s,showArrow:c=wi.showArrow,arrowIconName:b=wi.arrowIconName,variant:f,hover:x,focus:N,active:y,selected:g,disabled:S,togglable:R,ariaDisabled:_,icon:V,iconSize:X,text:j,iconClassName:Le,className:be,...no}=e,so=V!=null,co=e.children!==void 0;return(0,Eo.jsxs)(o,{className:a(be,Hr,yd(Hr,f),E(Hr,{size:t,rounded:r,fillMode:l,themeColor:s}),G(Hr,{hover:x,focus:N,active:y,disabled:S||_,selected:g}),{"k-icon-button":!j&&!co&&so}),"aria-pressed":R?g?"true":"false":void 0,...no,"aria-disabled":_?"true":void 0,disabled:S||void 0,children:[typeof V=="string"&&V&&(0,Eo.jsx)(p,{className:a(Le,"k-button-icon"),icon:V,size:X}),V&&typeof V!="string"&&(0,Eo.jsx)(Eo.Fragment,{children:V}),j?(0,Eo.jsxs)(Eo.Fragment,{children:[j&&(0,Eo.jsx)("span",{className:"k-button-text",children:j}),e.children]}):e.children&&(0,Eo.jsx)("span",{className:"k-button-text",children:e.children}),c&&(0,Eo.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Eo.jsx)(p,{icon:b})})]})};u.states=GT;u.options=IT;u.variants=ET;u.className=Hr;u.defaultOptions=wi;u.moduleName=Ni;u.folderName=Pd;u.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 _d=require("react/jsx-runtime"),Dt=e=>(0,_d.jsx)(u,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Dd=require("react/jsx-runtime"),Pr=e=>(0,Dd.jsx)(u,{icon:"folder",children:"Button",...e});var Kd=require("react/jsx-runtime"),ra=e=>(0,Kd.jsx)(u,{children:"Button",...e});var hl=require("react/jsx-runtime"),OT=u.options,HT=u.states,PT={...u.defaultOptions,variant:"text"},_T=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],DT=[],ya=e=>{let{variant:o,...t}=e;switch(o){case"icon-only":return(0,hl.jsx)(Dt,{...t,icon:"star"});case"icon-and-text":return(0,hl.jsx)(Pr,{...t,icon:"star",children:"Button"});default:return(0,hl.jsx)(ra,{...t,children:"Button"})}};ya.options=OT;ya.states=HT;ya.variants=_T;ya.defaultOptions=PT;ya.modifiers=DT;ya.className=u.className;var vi="button",Bd=vi;var zd=require("react/jsx-runtime"),_r="k-button-group",KT=[n.disabled],BT={fillMode:[v.undefined,v.solid,v.flat,v.outline,v.clear,v.link]},zT={},Z=e=>{let{fillMode:o,disabled:t,stretched:r,...l}=e;return(0,zd.jsx)("div",{role:"group",...l,className:a(e.className,_r,E(_r,{fillMode:o}),G(_r,{disabled:t}),{[`${_r}-stretched`]:r}),...t&&{"aria-disabled":"true"},children:e.children})};Z.states=KT;Z.options=BT;Z.className=_r;Z.defaultOptions=zT;Z.moduleName=vi;Z.folderName=Bd;Z.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 Ci=require("react/jsx-runtime");var Li=require("react/jsx-runtime");var yi=require("react/jsx-runtime");var Mi=require("react/jsx-runtime");var Si=require("react/jsx-runtime");var Ri=require("react/jsx-runtime");var ko=require("react/jsx-runtime"),UT={...u.options,...Z.options},FT=u.states,$T={...u.defaultOptions,...Z.defaultOptions,variant:"text-button"},VT=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],WT=[],Ma=e=>{let{variant:o,className:t,...r}=e;return o==="icon-button"?(0,ko.jsxs)(Z,{fillMode:r.fillMode,className:t,children:[(0,ko.jsx)(u,{...r,icon:"star"}),(0,ko.jsx)(u,{...r,icon:"star"}),(0,ko.jsx)(u,{...r,icon:"star"})]}):o==="icon-text-button"?(0,ko.jsxs)(Z,{fillMode:r.fillMode,className:t,children:[(0,ko.jsx)(u,{...r,icon:"star",children:"First"}),(0,ko.jsx)(u,{...r,icon:"star",children:"Middle"}),(0,ko.jsx)(u,{...r,icon:"star",children:"Last"})]}):(0,ko.jsxs)(Z,{fillMode:r.fillMode,className:t,children:[(0,ko.jsx)(u,{...r,children:"First"}),(0,ko.jsx)(u,{...r,children:"Middle"}),(0,ko.jsx)(u,{...r,children:"Last"})]})};Ma.options=UT;Ma.states=FT;Ma.variants=VT;Ma.defaultOptions=$T;Ma.modifiers=WT;Ma.className=Z.className;var Dr="input",xl=Dr;var Ud=require("react/jsx-runtime"),kl="k-input",XT=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],JT={size:[d.undefined,d.small,d.medium,d.large],rounded:[w.undefined,w.none,w.small,w.medium,w.large,w.full],fillMode:[v.undefined,v.solid,v.flat,v.outline]},qT={},Oe=e=>{let{hover:o,focus:t,disabled:r,invalid:l,valid:s,loading:c,readonly:b,size:f,rounded:x,fillMode:N,...y}=e;return(0,Ud.jsx)("span",{...y,className:a(e.className,kl,E(kl,{size:f,rounded:x,fillMode:N}),G(kl,{hover:o,focus:t,disabled:r,invalid:l,valid:s,loading:c,readonly:b}))})};Oe.states=XT;Oe.options=JT;Oe.className=kl;Oe.defaultOptions=qT;Oe.moduleName=Dr;Oe.folderName=xl;var Fd=require("react/jsx-runtime"),Nl="k-picker",YT=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],QT={size:[d.undefined,d.small,d.medium,d.large],rounded:[w.undefined,w.none,w.small,w.medium,w.large,w.full],fillMode:[v.undefined,v.solid,v.flat,v.outline]},ZT={},st=e=>{let{hover:o,focus:t,disabled:r,invalid:l,valid:s,loading:c,readonly:b,size:f,rounded:x,fillMode:N,...y}=e;return(0,Fd.jsx)("span",{...y,className:a(e.className,Nl,E(Nl,{size:f,rounded:x,fillMode:N}),G(Nl,{hover:o,focus:t,disabled:r,invalid:l,valid:s,loading:c,readonly:b})),children:e.children})};st.states=YT;st.options=QT;st.className=Nl;st.defaultOptions=ZT;st.moduleName=Dr;st.folderName=xl;var Sa=require("react/jsx-runtime"),$d="k-clear-value",jT=[n.disabled,n.loading,n.readonly],ef={},Go=e=>{let{disabled:o,loading:t,readonly:r,value:l}=e;return o||r||t||!l?(0,Sa.jsx)(Sa.Fragment,{}):(0,Sa.jsx)("span",{className:a(e.className,$d),children:(0,Sa.jsx)(p,{icon:"x"})})};Go.states=jT;Go.options=ef;Go.className=$d;var Vd=require("react/jsx-runtime"),Ai="k-input-inner",of=[],tf={},wl={type:"text",autocomplete:"off",value:"",placeholder:""},Io=e=>{let{value:o=wl.value,type:t=wl.type,placeholder:r=wl.placeholder,autocomplete:l=wl.autocomplete,disabled:s,readOnly:c,...b}=e;return(0,Vd.jsx)("input",{...b,type:t,className:a(e.className,Ai,E(Ai,e)),placeholder:r,autoComplete:l,defaultValue:o,disabled:s||void 0,readOnly:c||void 0})};Io.states=of;Io.options=tf;Io.className=Ai;var Kr=require("react/jsx-runtime"),Ei="k-input-inner",af=[],rf={},la=e=>{let{value:o,placeholder:t,showValue:r,valueIcon:l,valueIconName:s,...c}=e;return(0,Kr.jsxs)("span",{...c,className:a(e.className,Ei,E(Ei,e)),children:[l,!l&&s&&(0,Kr.jsx)(p,{className:"k-input-value-icon",icon:s}),r&&!o&&t,r&&o&&(0,Kr.jsx)("span",{className:"k-input-value-text",children:o})]})};la.states=af;la.options=rf;la.className=Ei;var Xd=require("react/jsx-runtime"),Gi="k-input-inner",lf=[],nf={},Wd={value:"",placeholder:""},Ii=e=>{let{value:o=Wd.value,placeholder:t=Wd.placeholder,rows:r,disabled:l,...s}=e;return(0,Xd.jsx)("textarea",{...s,className:a(e.className,Gi,E(Gi,e)),placeholder:t,rows:r,defaultValue:o,disabled:l||void 0})};Ii.states=lf;Ii.options=nf;Ii.className=Gi;var Br=require("react/jsx-runtime"),Jd="k-input-loading-icon",sf=[n.disabled,n.loading],No=e=>{let{disabled:o,loading:t}=e;return o||!t?(0,Br.jsx)(Br.Fragment,{}):(0,Br.jsx)("span",{className:a(e.className,Jd,"k-icon k-i-loading")})};No.states=sf;No.className=Jd;var zr=require("react/jsx-runtime"),qd="k-input-validation-icon",df=[n.valid,n.invalid,n.disabled,n.loading],cf={},po=e=>{let{valid:o,invalid:t,disabled:r,loading:l}=e,s=t?"warning-circle":"check-circle";return r||l||!!!(o||t)?(0,zr.jsx)(zr.Fragment,{}):(0,zr.jsx)(p,{className:a(qd),icon:s})};po.states=df;po.options=cf;po.className=qd;var Ur=require("react/jsx-runtime"),pf="k-input-prefix",mf={direction:"horizontal"},Fo=e=>{let{direction:o=mf.direction,...t}=e;return e.children?(0,Ur.jsx)("span",{...t,className:a(pf,e.className,{[`k-input-prefix-${o}`]:o}),children:e.children}):(0,Ur.jsx)(Ur.Fragment,{})};var Fr=require("react/jsx-runtime"),uf="k-input-suffix",bf={direction:"horizontal"},$o=e=>{let{direction:o=bf.direction,...t}=e;return e.children?(0,Fr.jsx)("span",{...t,className:a(uf,e.className,{[`k-input-suffix-${o}`]:o}),children:e.children}):(0,Fr.jsx)(Fr.Fragment,{})};var Tf=require("react/jsx-runtime");var Yd=require("react/jsx-runtime"),ff="k-input-suffix-text",Oi=e=>{let{children:o,...t}=e;return(0,Yd.jsx)("span",{...t,className:a(ff,e.className),children:o})};var Zd=require("react/jsx-runtime"),Qd="k-input-separator",gf={direction:"vertical"},Vo=e=>{let{direction:o=gf.direction,...t}=e;return(0,Zd.jsx)("span",{...t,className:a(Qd,e.className,{[`${Qd}-${o}`]:o})})};var ze=require("react/jsx-runtime"),hf=Oe.states,xf=Oe.defaultOptions,kf=Oe.options,Nf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],wf=[],Ra=e=>{let{modifiers:o,valid:t,invalid:r,loading:l,disabled:s,readonly:c,...b}=e,f=o==null?void 0:o.prefix,x=o==null?void 0:o.suffix,N=o==null?void 0:o["clear-button"],y=o==null?void 0:o["validation-icon"],g=o==null?void 0:o.separators;return(0,ze.jsxs)(Oe,{...b,valid:t,invalid:r,loading:l,disabled:s,readonly:c,style:{width:300},children:[f&&(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsx)(Fo,{children:(0,ze.jsx)(p,{icon:"lock"})}),g&&(0,ze.jsx)(Vo,{})]}),(0,ze.jsx)(Io,{placeholder:"Placeholder",value:"Value"}),y&&(0,ze.jsx)(po,{valid:t,invalid:r,loading:l,disabled:s}),(0,ze.jsx)(No,{loading:l,disabled:s}),N&&(0,ze.jsx)(Go,{loading:l,disabled:s,readonly:c,value:"Value"}),x&&(0,ze.jsxs)(ze.Fragment,{children:[g&&(0,ze.jsx)(Vo,{}),(0,ze.jsx)($o,{children:(0,ze.jsx)(ra,{size:b.size,fillMode:"clear",children:"Send"})})]})]})};Ra.options=kf;Ra.states=hf;Ra.variants=wf;Ra.defaultOptions=xf;Ra.modifiers=Nf;Ra.className=Oe.className;var $r=require("react/jsx-runtime"),jd="k-color-preview",vf=[],Cf={},Kt=e=>{let{color:o,iconName:t,...r}=e;return(0,$r.jsxs)("span",{...r,className:a(e.className,jd,{"k-icon-color-preview":t,"k-no-color":!o}),children:[t&&(0,$r.jsx)(p,{icon:t,className:"k-color-preview-icon"}),(0,$r.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:o}})]})};Kt.states=vf;Kt.options=Cf;Kt.className=jd;var Hi="popup",ec=Hi;var _i=require("react/jsx-runtime"),oc="k-animation-container",Lf=[],yf={},Pi={positionMode:"absolute",shown:!0},Wo=e=>{let{positionMode:o=Pi.positionMode,shown:t=Pi.shown,animationStyle:r,offset:l,...s}=e;return(0,_i.jsx)("div",{...s,style:{...l,...e.style},className:a(e.className,oc,{"k-animation-container-shown":t,"k-animation-container-fixed":o==="fixed"}),children:(0,_i.jsx)("div",{className:"k-child-animation-container",style:r,children:e.children})})};Wo.states=Lf;Wo.options=yf;Wo.className=oc;Wo.defaultOptions=Pi;Wo.moduleName=Hi;Wo.folderName=ec;var Di="popup",tc=Di;var Ki=require("react/jsx-runtime"),ac="k-popup",Mf=[],Sf={},rc={positionMode:"absolute"},ne=e=>{let{offset:o,positionMode:t=rc.positionMode,animationStyle:r,containerClassName:l,containerRole:s,containerAriaLabel:c,...b}=e;return(0,Ki.jsx)(Wo,{positionMode:t,offset:o,animationStyle:r,className:l,role:s,"aria-label":c,children:(0,Ki.jsx)("div",{...b,className:a(e.className,ac),children:e.children})})};ne.states=Mf;ne.options=Sf;ne.className=ac;ne.defaultOptions=rc;ne.moduleName=Di;ne.folderName=tc;ne.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 Bi="action-buttons",lc=Bi;var ic=require("react/jsx-runtime"),vl="k-actions",Rf=[],Af={},zi={alignment:"start",orientation:"horizontal"},Xo=e=>{let{alignment:o=zi.alignment,orientation:t=zi.orientation,...r}=e;return(0,ic.jsx)("div",{...r,className:a(vl,{[`${vl}-${o}`]:o,[`${vl}-${t}`]:t},e.className),children:e.children})};Xo.states=Rf;Xo.options=Af;Xo.className=vl;Xo.defaultOptions=zi;Xo.moduleName=Bi;Xo.folderName=lc;var sc=require("react/jsx-runtime"),Ef="k-actionsheet-footer",nc={alignment:"stretched",orientation:"horizontal"},Bt=e=>{let{alignment:o=nc.alignment,orientation:t=nc.orientation,template:r,as:l=r?"div":Xo,...s}=e;return(0,sc.jsx)(l,{...s,...!r&&{alignment:o,orientation:t},className:a(e.className,Ef),children:e.children})};var Ui="searchbox",dc=Ui;var zt=require("react/jsx-runtime"),cc="k-searchbox",Gf=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],If={size:[d.undefined,d.small,d.medium,d.large],rounded:[w.undefined,w.none,w.small,w.medium,w.large,w.full],fillMode:[v.undefined,v.solid,v.flat,v.outline]},Fi={showIcon:!0,icon:"search"},Oo=e=>{let{value:o,placeholder:t,size:r,rounded:l,fillMode:s,hover:c,focus:b,valid:f,invalid:x,required:N,loading:y,disabled:g,showIcon:S=Fi.showIcon,icon:R=Fi.icon,"aria-label":_,...V}=e;return(0,zt.jsxs)(Oe,{...V,size:r,rounded:l,fillMode:s,hover:c,focus:b,valid:f,invalid:x,required:N,loading:y,disabled:g,className:a(e.className,cc),children:[S&&(0,zt.jsx)(p,{className:"k-input-icon",icon:R}),(0,zt.jsx)(Io,{placeholder:t,value:o,"aria-label":_}),(0,zt.jsx)(No,{...e}),(0,zt.jsx)(po,{...e}),(0,zt.jsx)(Go,{...e})]})};Oo.states=Gf;Oo.options=If;Oo.className=cc;Oo.defaultOptions=Fi;Oo.moduleName=Ui;Oo.folderName=dc;var Of=require("react/jsx-runtime");var $i="textbox",pc=$i;var je=require("react/jsx-runtime"),mc="k-textbox",Hf=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Pf={size:[d.undefined,d.small,d.medium,d.large],rounded:[w.undefined,w.none,w.small,w.medium,w.large,w.full],fillMode:[v.undefined,v.solid,v.flat,v.outline]},Cl={showClearButton:!0,showValidationIcon:!0,separators:!0},fe=e=>{let{size:o,rounded:t,fillMode:r,separators:l=Cl.separators,showClearButton:s=Cl.showClearButton,showValidationIcon:c=Cl.showValidationIcon,prefix:b,suffix:f,type:x,value:N,placeholder:y,hover:g,focus:S,valid:R,invalid:_,required:V,loading:X,disabled:j,readonly:Le,id:be,"aria-label":no,"aria-describedby":so,...co}=e;return(0,je.jsxs)(Oe,{...co,size:o,rounded:t,fillMode:r,hover:g,focus:S,valid:R,invalid:_,required:V,loading:X,disabled:j,readonly:Le,className:a(e.className,mc),children:[b&&(0,je.jsxs)(je.Fragment,{children:[(0,je.jsx)(Fo,{children:b}),l&&(0,je.jsx)(Vo,{})]}),(0,je.jsx)(Io,{id:be,placeholder:y,value:N,type:x,disabled:j,"aria-label":no,"aria-describedby":so,"aria-invalid":_?"true":void 0}),c&&(0,je.jsx)(po,{valid:R,invalid:_,loading:X,disabled:j}),(0,je.jsx)(No,{loading:X,disabled:j}),s&&(0,je.jsx)(Go,{loading:X,disabled:j,readonly:Le,value:N}),f&&(0,je.jsxs)(je.Fragment,{children:[l&&(0,je.jsx)(Vo,{}),(0,je.jsx)($o,{children:f})]})]})};fe.states=Hf;fe.options=Pf;fe.className=mc;fe.defaultOptions=Cl;fe.moduleName=$i;fe.folderName=pc;fe.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 Vr=fe;var bc=require("react/jsx-runtime"),uc=e=>(0,bc.jsx)(Vr,{...e});var Tc=require("react/jsx-runtime");var fc=require("react/jsx-runtime");var _f=require("react/jsx-runtime");var Ll=require("react/jsx-runtime"),Df=fe.states,Kf=fe.defaultOptions,Bf=fe.options,zf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Uf=[],Aa=e=>{let{modifiers:o,...t}=e,r={};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":r.prefix=o!=null&&o[l]?(0,Ll.jsx)(p,{icon:"lock"}):void 0;break;case"suffix":r.suffix=o!=null&&o[l]?(0,Ll.jsx)(ra,{size:t.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":r.showClearButton=o==null?void 0:o[l];break;default:break}}),(0,Ll.jsx)(uc,{value:"Value",style:{width:300},...t,...r})};Aa.options=Bf;Aa.states=Df;Aa.variants=Uf;Aa.defaultOptions=Kf;Aa.modifiers=zf;Aa.className=fe.className;var Ho=require("react/jsx-runtime"),gc="k-actionsheet-titlebar",Ff={},mo=e=>{let{title:o,subtitle:t,actionsStart:r,actionsEnd:l,filter:s,input:c,inputValue:b,inputPlaceholder:f,adaptive:x,titleId:N,children:y,...g}=e;return(0,Ho.jsxs)("div",{...g,className:a(e.className,gc),children:[(0,Ho.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[r&&(0,Ho.jsx)("div",{className:"k-actionsheet-actions",children:r}),!y&&(0,Ho.jsxs)("div",{className:"k-actionsheet-title",id:N,children:[o&&(0,Ho.jsx)("div",{className:"k-text-center",children:o}),t&&(0,Ho.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:t})]}),y&&(0,Ho.jsx)("div",{className:"k-actionsheet-title",id:N,children:y}),l&&(0,Ho.jsx)("div",{className:"k-actionsheet-actions",children:l})]}),(c||s)&&(0,Ho.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?(0,Ho.jsx)(fe,{value:b,placeholder:f,size:x?"large":"medium","aria-label":o||f||"Input"}):(0,Ho.jsx)(Oo,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};mo.className=gc;mo.defaultOptions=Ff;var Ea=require("react/jsx-runtime"),Vi="k-actionsheet-view",$f=[],Vf={},Wf={},Ga=e=>{let{adaptive:o,animated:t,children:r,header:l,footer:s,titleId:c,...b}=e,f=(l==null?void 0:l.type)===mo&&(0,Ea.jsx)(mo,{adaptive:o,titleId:c,...l==null?void 0:l.props}),x=(s==null?void 0:s.type)===Bt&&(0,Ea.jsx)(Bt,{...s==null?void 0:s.props});return(0,Ea.jsxs)("div",{...b,className:a(e.className,Vi,{[`${Vi}-animated`]:t}),children:[f,(0,Ea.jsx)("div",{className:"k-actionsheet-content",children:r}),x]})};Ga.states=$f;Ga.options=Vf;Ga.className=Vi;Ga.defaultOptions=Wf;var Wr="action-sheet",yl=Wr;var Wi="overlay",hc=Wi;var kc=require("react/jsx-runtime"),xc="k-overlay",Xf=[],Jf={},qf={},Ut=e=>{let{...o}=e;return(0,kc.jsx)("div",{...o,className:a(e.className,xc),children:e.children})};Ut.states=Xf;Ut.options=Jf;Ut.className=xc;Ut.defaultOptions=qf;Ut.moduleName=Wi;Ut.folderName=hc;var ia=require("react/jsx-runtime"),Nc="k-actionsheet",Yf=[],Qf={},Xr={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Ge=e=>{let{side:o=Xr.side,fullscreen:t=Xr.fullscreen,adaptive:r=Xr.adaptive,overlay:l=Xr.overlay,template:s,children:c,header:b,footer:f,id:x,...N}=e,y=x&&!s&&b?`${x}-title`:void 0;return(0,ia.jsxs)("div",{className:"k-actionsheet-container",children:[l&&(0,ia.jsx)(Ut,{}),(0,ia.jsx)(Wo,{animationStyle:{[`${t===!0?"top":o}`]:0,[`${t===!0?"width":null}`]:"100%",[`${t===!0?"height":null}`]:"100%",[`${o==="top"||o==="bottom"?"width":null}`]:"100%",[`${o==="left"||o==="right"?"height":null}`]:"100%"},children:(0,ia.jsx)("div",{...N,id:x,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":y,className:a(e.className,Nc,{[`k-actionsheet-${o}`]:t===!1,"k-actionsheet-fullscreen":t===!0,"k-adaptive-actionsheet":r}),children:s||(0,ia.jsx)(Ga,{header:b,footer:f,adaptive:r,titleId:y,...e,children:c})})})]})};Ge.states=Yf;Ge.options=Qf;Ge.className=Nc;Ge.defaultOptions=Xr;Ge.moduleName=Wr;Ge.folderName=yl;Ge.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 vc=require("react/jsx-runtime"),wc="k-actionsheet-container",Zf=[],jf={},eg={},Ia=e=>{let{children:o,...t}=e;return(0,vc.jsx)("div",{...t,className:wc,children:o})};Ia.states=Zf;Ia.options=jf;Ia.className=wc;Ia.defaultOptions=eg;Ia.moduleName=Wr;Ia.folderName=yl;var Cc=require("react/jsx-runtime"),Xi=e=>{let{...o}=e;return(0,Cc.jsx)("div",{...o,className:a(e.className,"k-list-ul"),children:e.children})};var Jo=require("react/jsx-runtime"),Ji="k-actionsheet-item",og=[n.hover,n.focus,n.selected,n.disabled],Ft=e=>{let{iconName:o,text:t,description:r,hover:l,focus:s,selected:c,disabled:b,...f}=e;return(0,Jo.jsxs)("span",{...f,className:a(e.className,Ji,G(Ji,{hover:l,focus:s,selected:c,disabled:b})),children:[!e.children&&(0,Jo.jsx)(Jo.Fragment,{children:(0,Jo.jsxs)("span",{className:"k-actionsheet-action",children:[o&&(0,Jo.jsx)("span",{className:"k-icon-wrap",children:(0,Jo.jsx)(p,{className:"k-actionsheet-item-icon",icon:o})}),(0,Jo.jsxs)("span",{className:"k-actionsheet-item-text",children:[t&&(0,Jo.jsx)("span",{className:"k-actionsheet-item-title",children:t}),r&&(0,Jo.jsx)("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};Ft.states=og;Ft.className=Ji;var Lc=require("react/jsx-runtime");var tg=require("react/jsx-runtime");var ag=require("react/jsx-runtime");var rg=require("react/jsx-runtime");var ye=require("react/jsx-runtime"),lg=Ge.options,ig=Ge.states,Mc={...Ge.defaultOptions,variant:"normal"},ng=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],sg=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Oa=e=>{let{variant:o,modifiers:t,...r}={...Mc,...e},l={},s=(0,ye.jsxs)(Xi,{children:[(0,ye.jsx)(Ft,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,ye.jsx)(Ft,{text:"Add to Favorites",iconName:"heart"}),(0,ye.jsx)(Ft,{text:"Upload New",iconName:"upload",disabled:!0}),(0,ye.jsx)("hr",{className:"k-hr"}),(0,ye.jsx)(Ft,{text:"Cancel",iconName:"cancel"})]}),c="Choose from the items below",b="Select Item";return o==="fullScreen"&&(l.fullScreen=!0),Object.keys(t||{}).forEach(f=>{switch(f){case"actions":l.actionsStart=!!(t!=null&&t[f]),l.actionsEnd=!!(t!=null&&t[f]);break;case"subtitle":l.subtitle=t!=null&&t[f]?c:void 0;break;case"footer":l.footer=!!(t!=null&&t[f]);break;default:break}}),o==="adaptive"?(0,ye.jsx)(Ge,{...r,adaptive:!0,fullscreen:l.fullScreen,header:(0,ye.jsx)(mo,{actionsStart:l.actionsStart?(0,ye.jsx)(u,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?(0,ye.jsx)(u,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:b,subtitle:l.subtitle}),footer:l.footer?(0,ye.jsxs)(Bt,{alignment:"stretched",children:[(0,ye.jsx)(u,{text:"Cancel",size:"large",themeColor:"base"}),(0,ye.jsx)(u,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):(0,ye.jsx)(Ge,{...r,fullscreen:l.fullScreen,header:(0,ye.jsx)(mo,{actionsStart:l.actionsStart?(0,ye.jsx)(u,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?(0,ye.jsx)(u,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:l.subtitle}),footer:l.footer?(0,ye.jsxs)(Bt,{alignment:"stretched",children:[(0,ye.jsx)(u,{text:"Apply",themeColor:"primary"}),(0,ye.jsx)(u,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Oa.options=lg;Oa.states=ig;Oa.variants=ng;Oa.defaultOptions=Mc;Oa.modifiers=sg;Oa.className=Ge.className;var qi="slider",Sc=qi;var et=require("react/jsx-runtime"),Jr="k-slider",dg=[n.hover,n.focus,n.active,n.disabled,n.readonly],cg={},qo={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},we=e=>{let{type:o=qo.type,orientation:t=qo.orientation,gradientType:r=qo.gradientType,readonly:l=qo.readonly,disabled:s=qo.disabled,handlePosition:c=qo.handlePosition,showButtons:b=qo.showButtons,showTicks:f=qo.showTicks,value:x=qo.value,min:N=qo.min,max:y=qo.max,startValue:g,endValue:S,hover:R,focus:_,active:V,trackStyle:X,dir:j,...Le}=e,no=(()=>{if(o==="gradient"&&r==="2d")return"undefined";if(t==="vertical")return"vertical"})(),so,co;return t==="horizontal"?(so=j==="rtl"?"chevron-left":"chevron-right",co=j==="rtl"?"chevron-right":"chevron-left"):t==="vertical"&&(so="chevron-up",co="chevron-down"),(0,et.jsxs)("div",{...Le,className:a(Jr,e.className,G(Jr,{readonly:l,disabled:s}),{[`k-slider-${t}`]:t,"k-colorgradient-slider":o==="gradient"}),dir:j,children:[b&&(0,et.jsx)(u,{className:"k-button-decrease",rounded:"full",icon:co,tabIndex:-1,title:"Decrease"}),(0,et.jsxs)("div",{className:"k-slider-track-wrap",children:[f&&(0,et.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,et.jsxs)("div",{className:"k-slider-track",style:X,children:[(0,et.jsx)("div",{className:"k-slider-selection"}),o==="range"&&(0,et.jsx)("span",{className:a("k-draghandle","k-draghandle-start",G(Jr,{hover:R,focus:_,active:V})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":g??N,"aria-valuemin":N,"aria-valuemax":S??y,"aria-orientation":no,"aria-disabled":s?"true":void 0,"aria-readonly":l?"true":void 0,"aria-label":Le["aria-label"]?`${Le["aria-label"]} start`:"Range start"}),(0,et.jsx)("span",{className:a("k-draghandle",`k-draghandle-${c}`,G(Jr,{hover:R,focus:_,active:V})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":o==="range"?S??y:x,"aria-valuemin":o==="range"?g??N:N,"aria-valuemax":y,"aria-orientation":no,"aria-disabled":s?"true":void 0,"aria-readonly":l?"true":void 0,"aria-label":o==="range"?Le["aria-label"]?`${Le["aria-label"]} end`:"Range end":Le["aria-label"]})]})]}),b&&(0,et.jsx)(u,{className:"k-button-increase",rounded:"full",icon:so,tabIndex:-1,title:"Increase"})]})};we.states=dg;we.options=cg;we.className=Jr;we.defaultOptions=qo;we.moduleName=qi;we.folderName=Sc;we.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 Yi=require("react/jsx-runtime"),Rc="k-tick",pg=[],mg={},Ac={label:!1},Y=e=>{let{style:o,label:t=Ac.label,orientation:r,large:l,text:s,...c}=e;return(0,Yi.jsx)("li",{...c,role:"presentation",title:s||"Tick",className:a(e.className,Rc,{[`k-tick-${r}`]:r,"k-tick-large":l}),style:o,children:t&&(0,Yi.jsx)("span",{className:"k-label",children:s})})};Y.states=pg;Y.options=mg;Y.className=Rc;Y.defaultOptions=Ac;var $e=require("react/jsx-runtime"),Ec=e=>(0,$e.jsx)(we,{"aria-label":e["aria-label"]||"Slider",children:(0,$e.jsxs)($e.Fragment,{children:[(0,$e.jsx)(Y,{className:"k-first",label:!0,large:!0,text:"0"}),(0,$e.jsx)(Y,{}),(0,$e.jsx)(Y,{}),(0,$e.jsx)(Y,{}),(0,$e.jsx)(Y,{}),(0,$e.jsx)(Y,{label:!0,large:!0,text:"5"}),(0,$e.jsx)(Y,{}),(0,$e.jsx)(Y,{}),(0,$e.jsx)(Y,{}),(0,$e.jsx)(Y,{}),(0,$e.jsx)(Y,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var Ve=require("react/jsx-runtime"),Gc=e=>(0,Ve.jsx)(we,{children:(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)(Y,{className:"k-first",label:!0,large:!0,text:"0"}),(0,Ve.jsx)(Y,{}),(0,Ve.jsx)(Y,{}),(0,Ve.jsx)(Y,{}),(0,Ve.jsx)(Y,{}),(0,Ve.jsx)(Y,{label:!0,large:!0,text:"5"}),(0,Ve.jsx)(Y,{}),(0,Ve.jsx)(Y,{}),(0,Ve.jsx)(Y,{}),(0,Ve.jsx)(Y,{}),(0,Ve.jsx)(Y,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var Qi=require("react/jsx-runtime");var Zi=require("react/jsx-runtime");var Ic=require("react/jsx-runtime"),ji=e=>(0,Ic.jsx)(we,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Oc=require("react/jsx-runtime"),en=e=>(0,Oc.jsx)(we,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var on=require("react/jsx-runtime");var tn=require("react/jsx-runtime");var wo=require("react/jsx-runtime"),ug=we.options,bg=we.states,Hc={...we.defaultOptions,variant:"horizontal",label:!0},Tg=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],fg=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Ha=e=>{let{variant:o,modifiers:t,...r}=e,l=Hc.label,s={};Object.keys(t||{}).forEach(b=>{switch(b){case"button":{s.showButtons=!!(t!=null&&t[b]);break}case"label":{l=!!(t!=null&&t[b]);break}case"tick":{s.showTicks=!!(t!=null&&t[b]);break}}});let c={"--kendo-slider-start":0,"--kendo-slider-end":60};return o==="vertical"?(0,wo.jsxs)(Gc,{style:{height:"300px",...c},...r,...s,children:[(0,wo.jsx)(Y,{label:l,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,wo.jsx)(Y,{label:l,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,wo.jsx)(Y,{label:l,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,wo.jsx)(Y,{label:l,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,wo.jsx)(Y,{label:l,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,wo.jsxs)(Ec,{style:{width:"400px",...c},...r,...s,children:[(0,wo.jsx)(Y,{label:l,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,wo.jsx)(Y,{label:l,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,wo.jsx)(Y,{label:l,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,wo.jsx)(Y,{label:l,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,wo.jsx)(Y,{label:l,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Ha.options=ug;Ha.states=bg;Ha.variants=Tg;Ha.defaultOptions=Hc;Ha.modifiers=fg;Ha.className=we.className;var qr=require("react/jsx-runtime"),Pc="k-spin-button",xg=[],kg={size:[d.undefined,d.small,d.medium,d.large],fillMode:[v.undefined,v.solid,v.flat,v.outline,v.clear,v.link]},an={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},$t=e=>{let{size:o,fillMode:t,disabled:r,increaseLabel:l=an.increaseLabel,decreaseLabel:s=an.decreaseLabel,...c}=e;return(0,qr.jsxs)("span",{...c,className:a(Pc,e.className),children:[(0,qr.jsx)(u,{className:"k-spinner-increase",icon:"chevron-up",size:o,fillMode:t,disabled:r,"aria-label":l}),(0,qr.jsx)(u,{className:"k-spinner-decrease",icon:"chevron-down",size:o,fillMode:t,disabled:r,"aria-label":s})]})};$t.states=xg;$t.options=kg;$t.className=Pc;$t.defaultOptions=an;$t.moduleName=null;$t.folderName=null;var _c="numeric-textbox",Dc="numerictextbox";var We=require("react/jsx-runtime"),Kc="k-numerictextbox",Ng=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],wg={size:[d.undefined,d.small,d.medium,d.large],rounded:[w.undefined,w.none,w.small,w.medium,w.large,w.full],fillMode:[v.undefined,v.solid,v.flat,v.outline]},Ml={showSpinButton:!0,showClearButton:!0,separators:!0},oe=e=>{let{size:o,rounded:t,fillMode:r,separators:l=Ml.separators,showClearButton:s=Ml.showClearButton,showSpinButton:c=Ml.showSpinButton,prefix:b,suffix:f,value:x,placeholder:N,hover:y,focus:g,valid:S,invalid:R,required:_,loading:V,disabled:X,readonly:j,id:Le,"aria-label":be,"aria-describedby":no,...so}=e;return(0,We.jsxs)(Oe,{...so,size:o,rounded:t,fillMode:r,hover:y,focus:g,valid:S,invalid:R,required:_,loading:V,disabled:X,readonly:j,className:a(e.className,Kc),children:[b&&(0,We.jsxs)(We.Fragment,{children:[(0,We.jsx)(Fo,{children:b}),l&&(0,We.jsx)(Vo,{})]}),(0,We.jsx)(Io,{id:Le,placeholder:N,value:x,role:"spinbutton",disabled:X,"aria-label":be,"aria-describedby":no,"aria-invalid":R?"true":void 0}),(0,We.jsx)(po,{valid:S,invalid:R,loading:V,disabled:X}),(0,We.jsx)(No,{loading:V,disabled:X}),s&&(0,We.jsx)(Go,{loading:V,disabled:X,readonly:j,value:x}),f&&(0,We.jsxs)(We.Fragment,{children:[l&&(0,We.jsx)(Vo,{}),(0,We.jsx)($o,{children:f})]}),c&&(0,We.jsx)($t,{className:"k-input-spinner",size:o,fillMode:r,disabled:X})]})};oe.states=Ng;oe.options=wg;oe.className=Kc;oe.defaultOptions=Ml;oe.moduleName=_c;oe.folderName=Dc;oe.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 Yr=oe;var zc=require("react/jsx-runtime"),Bc=e=>(0,zc.jsx)(Yr,{...e});var Rl=Ld(require("react"));var rn=require("react/jsx-runtime"),vg="k-list-group-sticky-header",ln=e=>(0,rn.jsx)("div",{className:a(vg,e.className),children:(0,rn.jsx)("div",{className:"k-list-header-text",children:e.children})});var Uc=require("react/jsx-runtime"),Cg="k-no-data",Sl=e=>{let{live:o,...t}=e;return(0,Uc.jsx)("span",{...t,className:a(Cg,e.className),"aria-live":o?"polite":void 0,children:e.children})};var na="list",Pa=na;var _a=require("react/jsx-runtime"),nn="k-list",Lg=[],yg={size:[d.undefined,d.small,d.medium,d.large]},Mg={},le=e=>{var R;let{size:o,virtualization:t,children:r,header:l,selectAll:s,optionLabel:c,customValue:b,noData:f,screenReaders:x,...N}=e,g=Rl.default.Children.toArray(r)[0],S=(R=g==null?void 0:g.props)!=null&&R.children?Rl.default.Children.count(g.props.children):Rl.default.Children.count(r);return(0,_a.jsxs)("div",{...N,className:a(e.className,nn,E(nn,{size:o}),{"k-virtual-list":t}),children:[c,s,b,l&&(0,_a.jsx)(ln,{children:l}),r||(f!==void 0?f:(0,_a.jsx)(Sl,{live:!0,children:"No data found."})),x&&r&&(0,_a.jsxs)(Sl,{className:"k-sr-only",live:!0,children:[S," items found."]})]})};le.states=Lg;le.options=yg;le.className=nn;le.defaultOptions=Mg;le.moduleName=na;le.folderName=Pa;le.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var $c=require("react/jsx-runtime"),Fc="k-list-container",Sg=[],Rg={},Ag={},Da=e=>{let{...o}=e;return(0,$c.jsx)("div",{...o,className:a(e.className,Fc),children:e.children})};Da.states=Sg;Da.options=Rg;Da.className=Fc;Da.defaultOptions=Ag;Da.moduleName=na;Da.folderName=Pa;var sa="checkbox",Ka=sa;var sn=require("react/jsx-runtime"),Al="k-checkbox",Eg=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],Gg={size:[d.undefined,d.small,d.medium,d.large],rounded:[w.undefined,w.none,w.small,w.medium,w.large,w.full]},Ig={},ve=e=>{let{id:o,checked:t,indeterminate:r,hover:l,focus:s,disabled:c,invalid:b,valid:f,required:x,size:N,rounded:y,wrapperRole:g,...S}=e;return(0,sn.jsx)("span",{className:"k-checkbox-wrap",role:g,children:(0,sn.jsx)("input",{...S,id:o,type:"checkbox",defaultChecked:t,required:x,disabled:c||void 0,"aria-invalid":b?"true":void 0,className:a(e.className,Al,E(Al,{size:N,rounded:y}),G(Al,{hover:l,focus:s,disabled:c,invalid:b,valid:f,indeterminate:r,checked:t}))})})};ve.states=Eg;ve.options=Gg;ve.className=Al;ve.defaultOptions=Ig;ve.moduleName=sa;ve.folderName=Ka;ve.ariaSpec={selector:".k-checkbox",rules:[{selector:".k-checkbox",attribute:"role=checkbox or type=checkbox",usage:"Announces the checkbox role of the element."},{selecto