@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 193 kB
JavaScript
var pp=Object.create;var cl=Object.defineProperty;var up=Object.getOwnPropertyDescriptor;var mp=Object.getOwnPropertyNames;var bp=Object.getPrototypeOf,hp=Object.prototype.hasOwnProperty;var fp=(e,t)=>{for(var o in t)cl(e,o,{get:t[o],enumerable:!0})},os=(e,t,o,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of mp(t))!hp.call(e,r)&&r!==o&&cl(e,r,{get:()=>t[r],enumerable:!(l=up(t,r))||l.enumerable});return e};var as=(e,t,o)=>(o=e!=null?pp(bp(e)):{},os(t||!e||!e.__esModule?cl(o,"default",{value:e,enumerable:!0}):o,e)),xp=e=>os(cl({},"__esModule",{value:!0}),e);var Cx={};fp(Cx,{SchedulerAgenda:()=>xx});module.exports=xp(Cx);var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...t):typeof t=="object"?Object.keys(t).map((o,l)=>t[l]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var G=(e,t)=>n({[`${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"}),U=(e,t)=>{let{valid:o,invalid:l,hover:r,focus:s,checked:u,active:b,selected:f,disabled:x,indeterminate:v,loading:N,empty:h,readonly:I,highlighted:M,...D}=t;return n({"k-valid":o,"k-invalid":l,"k-hover":r,"k-focus":s,"k-checked":u,"k-active":b,"k-selected":f,"k-disabled":x,"k-indeterminate":v&&!u,"k-loading":N,"k-empty":h,"k-readonly":I,"k-highlighted":M},Object.keys(D).reduce((z,K)=>(K.startsWith("k-")?z[K]=D[K]:z[`k-${K}`]=D[K],z),{}))};function ls(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(l=>[`k-${l}`,!0]))}var p={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},S={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},k={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Ft={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},A={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},c={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 Yl={};function Y(e){return Yl[e]=(Yl[e]||0)+1,`k-${e}-${Yl[e]}`}var Ql="button",rs=Ql;var ns=require("react/jsx-runtime"),Oa="k-button-group",Cp=[c.disabled],vp={fillMode:[k.undefined,k.solid,k.flat,k.outline,k.clear,k.link]},yp={},P=e=>{let{fillMode:t,disabled:o,stretched:l,...r}=e;return(0,ns.jsx)("div",{role:"group",...r,className:n(e.className,Oa,G(Oa,{fillMode:t}),U(Oa,{disabled:o}),{[`${Oa}-stretched`]:l}),...o&&{"aria-disabled":"true"},children:e.children})};P.states=Cp;P.options=vp;P.className=Oa;P.defaultOptions=yp;P.moduleName=Ql;P.folderName=rs;P.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 Ba=require("react/jsx-runtime"),Zl="k-font-icon",kp=[],Sp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[A.undefined,A.base,A.primary,A.secondary,A.tertiary,A.success,A.warning,A.error,A.info]},Np={},Pa=e=>{let{size:t,themeColor:o,icon:l,rotate:r,flip:s,...u}=e;return l?(0,Ba.jsx)("span",{...u,className:n(e.className,Zl,G(Zl,{size:t}),{[`k-i-${l}`]:l,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):(0,Ba.jsx)(Ba.Fragment,{})};Pa.states=kp;Pa.options=Sp;Pa.className=Zl;Pa.defaultOptions=Np;var ss=Pa;var No=require("react/jsx-runtime"),jl="k-svg-icon",gp=[],Tp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[A.undefined,A.base,A.primary,A.secondary,A.tertiary,A.success,A.warning,A.error,A.info],variant:[Ft.outline,Ft.solid,Ft.duotone]},er={viewBox:"0 0 24 24",variant:Ft.outline},Da=e=>{var N,h;let{size:t,themeColor:o,rotate:l,flip:r,viewBox:s=er.viewBox,variant:u=er.variant,icon:b,...f}=e;if(!b)return(0,No.jsx)(No.Fragment,{});if(b==="none")return(0,No.jsx)("span",{...f,className:n(e.className,jl,G("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof b=="object"&&b.name&&b.name,v=typeof b=="object"?u&&((N=b.variants)==null?void 0:N[u])||((h=b.variants)==null?void 0:h.outline)||b.content:void 0;return(0,No.jsx)("span",{...f,className:n(e.className,jl,G("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${l}`]:l,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true",children:(0,No.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof b=="object"?b.viewBox:s,dangerouslySetInnerHTML:v!==void 0?{__html:v}:void 0,children:b?void 0:e.children})})};Da.states=gp;Da.options=Tp;Da.className=jl;Da.defaultOptions=er;var tr=Da;var or=as(require("@progress/kendo-svg-icons"));var is="icon",ds="icons";var us=require("react");var cs=require("react"),ps=(0,cs.createContext)({iconsType:"svg"});var Qt=require("react/jsx-runtime"),pl="k-icon",wp=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Mp=[],Lp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[A.undefined,A.base,A.primary,A.secondary,A.tertiary,A.success,A.warning,A.error,A.info],variant:[Ft.outline,Ft.solid,Ft.duotone]},ul={viewBox:"0 0 24 24",type:"svg",variant:Ft.outline},R=e=>{let{iconsType:t}=(0,us.useContext)(ps),{size:o,themeColor:l,icon:r,type:s=t||ul.type,rotate:u,flip:b,viewBox:f=ul.viewBox,variant:x=ul.variant,...v}=e;if(!r)return(0,Qt.jsx)(Qt.Fragment,{});if((t||s)==="svg"){if(r==="none")return(0,Qt.jsx)(tr,{...v,className:n(e.className,pl),icon:r,size:o,variant:x});let h=or[r]?r:wp(`${r}-icon`);return or[h]?(0,Qt.jsx)(tr,{...v,className:n(e.className,pl),icon:or[h],size:o,themeColor:l,rotate:u,flip:b,viewBox:f,variant:x}):(0,Qt.jsx)(Qt.Fragment,{})}return(0,Qt.jsx)(ss,{...v,className:n(e.className,pl),icon:r,size:o,themeColor:l,rotate:u,flip:b})};R.states=Mp;R.options=Lp;R.defaultOptions=ul;R.className=pl;R.moduleName=is;R.folderName=ds;R.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 ar=R;var lr="button",ms=lr;var xt=require("react/jsx-runtime"),Ka="k-button",Ep=["icon-button"],Ap=[c.hover,c.focus,c.active,c.selected,c.disabled,c.generating],Rp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[S.undefined,S.none,S.small,S.medium,S.large,S.full],fillMode:[k.undefined,k.solid,k.flat,k.outline,k.clear,k.link],themeColor:[A.undefined,A.base,A.primary,A.secondary,A.tertiary,A.success,A.warning,A.error,A.info,A.inverse]},rr={showArrow:!1,arrowIconName:"chevron-down"},d=e=>{let{as:t="button",size:o,rounded:l,fillMode:r,themeColor:s,showArrow:u=rr.showArrow,arrowIconName:b=rr.arrowIconName,variant:f,hover:x,focus:v,active:N,selected:h,disabled:I,togglable:M,ariaDisabled:D,icon:z,iconSize:K,text:q,iconClassName:me,className:ge,..._e}=e,Be=z!=null,lt=e.children!==void 0;return(0,xt.jsxs)(t,{className:n(ge,Ka,ls(Ka,f),G(Ka,{size:o,rounded:l,fillMode:r,themeColor:s}),U(Ka,{hover:x,focus:v,active:N,disabled:I||D,selected:h}),{"k-icon-button":!q&&!lt&&Be}),"aria-pressed":M?h?"true":"false":void 0,..._e,"aria-disabled":D?"true":void 0,disabled:I||void 0,children:[typeof z=="string"&&z&&(0,xt.jsx)(R,{className:n(me,"k-button-icon"),icon:z,size:K}),z&&typeof z!="string"&&(0,xt.jsx)(xt.Fragment,{children:z}),q?(0,xt.jsxs)(xt.Fragment,{children:[q&&(0,xt.jsx)("span",{className:"k-button-text",children:q}),e.children]}):e.children&&(0,xt.jsx)("span",{className:"k-button-text",children:e.children}),u&&(0,xt.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,xt.jsx)(R,{icon:b})})]})};d.states=Ap;d.options=Rp;d.variants=Ep;d.className=Ka;d.defaultOptions=rr;d.moduleName=lr;d.folderName=ms;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 bs=require("react/jsx-runtime"),co=e=>(0,bs.jsx)(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var hs=require("react/jsx-runtime"),Ha=e=>(0,hs.jsx)(d,{icon:"folder",children:"Button",...e});var fs=require("react/jsx-runtime"),go=e=>(0,fs.jsx)(d,{children:"Button",...e});var ml=require("react/jsx-runtime"),Ip=d.options,Op=d.states,Bp={...d.defaultOptions,variant:"text"},Pp=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Dp=[],Ko=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,ml.jsx)(co,{...o,icon:"star"});case"icon-and-text":return(0,ml.jsx)(Ha,{...o,icon:"star",children:"Button"});default:return(0,ml.jsx)(go,{...o,children:"Button"})}};Ko.options=Ip;Ko.states=Op;Ko.variants=Pp;Ko.defaultOptions=Bp;Ko.modifiers=Dp;Ko.className=d.className;var nr=require("react/jsx-runtime");var sr=require("react/jsx-runtime");var ir=require("react/jsx-runtime");var dr=require("react/jsx-runtime");var cr=require("react/jsx-runtime");var pr=require("react/jsx-runtime");var pt=require("react/jsx-runtime"),Kp={...d.options,...P.options},Hp=d.states,_p={...d.defaultOptions,...P.defaultOptions,variant:"text-button"},zp=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Gp=[],Ho=e=>{let{variant:t,className:o,...l}=e;return t==="icon-button"?(0,pt.jsxs)(P,{fillMode:l.fillMode,className:o,children:[(0,pt.jsx)(d,{...l,icon:"star"}),(0,pt.jsx)(d,{...l,icon:"star"}),(0,pt.jsx)(d,{...l,icon:"star"})]}):t==="icon-text-button"?(0,pt.jsxs)(P,{fillMode:l.fillMode,className:o,children:[(0,pt.jsx)(d,{...l,icon:"star",children:"First"}),(0,pt.jsx)(d,{...l,icon:"star",children:"Middle"}),(0,pt.jsx)(d,{...l,icon:"star",children:"Last"})]}):(0,pt.jsxs)(P,{fillMode:l.fillMode,className:o,children:[(0,pt.jsx)(d,{...l,children:"First"}),(0,pt.jsx)(d,{...l,children:"Middle"}),(0,pt.jsx)(d,{...l,children:"Last"})]})};Ho.options=Kp;Ho.states=Hp;Ho.variants=zp;Ho.defaultOptions=_p;Ho.modifiers=Gp;Ho.className=P.className;var ur="segmented-control",xs=ur,Cs="segmented-control-button",vs="segmented-control";var hl=require("react/jsx-runtime"),bl="k-segmented-control",Up=[],Fp={size:[p.undefined,p.small,p.medium,p.large]},ce=e=>{let{size:t,stretched:o,children:l,thumbStyles:r,...s}=e;return(0,hl.jsxs)("div",{...s,className:n(e.className,bl,G(bl,{size:t}),{[`${bl}-stretched`]:o}),role:"group",children:[(0,hl.jsx)("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:r}),l]})};ce.states=Up;ce.options=Fp;ce.className=bl;ce.moduleName=ur;ce.folderName=xs;ce.ariaSpec={selector:".k-segmented-control",rules:[{selector:".k-segmented-control",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-segmented-control-button",attribute:"role=button or nodeName=button",usage:"Each button must have the appropriate button role."},{selector:".k-segmented-control-button.k-selected",attribute:"aria-pressed=true",usage:"Only the selected button within the group will have this attribute set to true."},{selector:".k-segmented-control-button.k-disabled",attribute:"aria-disabled=true",usage:"Indicates that the button is disabled and cannot be interacted with."},{selector:".k-segmented-control-thumb",attribute:"aria-hidden=true",usage:"The thumb is purely decorative and should be hidden from screen readers."}]};var _a=require("react/jsx-runtime"),mr="k-segmented-control-button",Wp=[c.selected,c.hover,c.focus,c.disabled],Vp={},$p={},H=e=>{let{hover:t,focus:o,selected:l,disabled:r,icon:s,text:u,iconClassName:b,...f}=e;return(0,_a.jsxs)("button",{...f,className:n(e.className,mr,U(mr,{hover:t,focus:o,disabled:r,selected:l})),"aria-pressed":l?"true":"false","aria-disabled":r?"true":void 0,children:[s&&(0,_a.jsx)(R,{className:n(b,"k-segmented-control-button-icon"),icon:s}),(u||e.children)&&(0,_a.jsx)("span",{className:"k-segmented-control-button-text",children:u||e.children})]})};H.states=Wp;H.options=Vp;H.className=mr;H.defaultOptions=$p;H.moduleName=Cs;H.folderName=vs;var br=require("react/jsx-runtime");var hr=require("react/jsx-runtime");var fr=require("react/jsx-runtime");var xr=require("react/jsx-runtime");var Cr=require("react/jsx-runtime");var vr=require("react/jsx-runtime");var ee="scheduler",te=ee;var Ss=require("react/jsx-runtime"),ys="k-scheduler-layout",Xp=[],Jp={},qp={},To=e=>{let{as:t="div",view:o,...l}=e,r=o==="agenda"?"grid":o==="year"?void 0:"none";return(0,Ss.jsx)(t,{...l,className:n(e.className,ys,{[`k-scheduler-${o}view`]:o}),...r&&{role:r},children:e.children})};To.states=Xp;To.options=Jp;To.className=ys;To.defaultOptions=qp;To.moduleName=ee;To.folderName=te;var ks=To;var Cl=require("react/jsx-runtime"),Ns="k-scheduler",Yp=[],Qp={},Zp={},Q=e=>{let{view:t,toolbar:o,footer:l,layout:r,...s}=e;return(0,Cl.jsxs)("div",{...s,className:n(e.className,Ns),role:"application",children:[o,(0,Cl.jsx)(ks,{className:n({"k-scheduler-layout-flex":r==="flex"}),as:r==="table"?"table":"div",view:t,children:e.children}),l]})};Q.states=Yp;Q.options=Qp;Q.className=Ns;Q.defaultOptions=Zp;Q.moduleName=ee;Q.folderName=te;Q.ariaSpec={selector:".k-scheduler",rules:[{selector:".k-scheduler",attribute:"role=application",usage:"Specifies the role of the component."},{selector:".k-scheduler-toolbar",attribute:"role=toolbar",usage:"Follows Toolbar spec: sets the component role."},{selector:".k-scheduler-toolbar",attribute:"aria-label or title",usage:"Follows Toolbar spec: each toolbar must have a label specifying its purpose."},{selector:'.k-scheduler-navigation .k-button:has([class*="i-chevron-left"])',attribute:"aria-label",usage:"Required as the previous navigation button contains only an icon (no text)."},{selector:'.k-scheduler-navigation .k-button:has([class*="i-chevron-right"])',attribute:"aria-label",usage:"Required as the next navigation button contains only an icon (no text)."},{selector:".k-nav-current",attribute:"aria-live=polite",usage:"The new date of the Scheduler view will be announced upon navigation to a new time span or view type."},{selector:".k-views-dropdown",attribute:"aria-label",usage:"The <select> element visible on the toolbar on small screens must have its aria-label set."},{selector:".k-scheduler-views",attribute:"role=group",usage:"Follows SegmentedControl spec: sets the proper role for the group of view buttons."},{selector:".k-scheduler-views .k-segmented-control-button",attribute:"aria-pressed (when selected)",usage:"Follows SegmentedControl spec: specifies the current state of the view SegmentedControl. Only the selected button within the group will have this attribute set to true."},{selector:".k-scheduler-agendaview",attribute:"role=grid",usage:"The main table of the Agenda view must indicate it is a Data Grid."},{selector:".k-scheduler-agendaview>tbody",attribute:"role=none/presentation",usage:"The <tbody> element must have its semantics removed."},{selector:".k-scheduler-agendaview .k-scheduler-table",attribute:"role=none/presentation",usage:"Inner <table> elements within the Agenda Scheduler must have their semantic role removed."},{selector:".k-scheduler-agendaview .k-scheduler-table>tbody",attribute:"role=rowgroup",usage:"Must have role explicitly set as it has been removed by the <table> role set (none/presentation)."},{selector:".k-scheduler-agendaview .k-scheduler-table>tbody>tr",attribute:"role=row",usage:"Must have role explicitly set as it has been removed by the <table> role set (none/presentation)."},{selector:".k-scheduler-agendaview .k-scheduler-table>tbody>tr>th",attribute:"role=columnheader",usage:"Must have role explicitly set as it has been removed by the <table> role set (none/presentation)."},{selector:".k-scheduler-agendaview .k-scheduler-content tr .k-selected",attribute:"aria-selected",usage:"Used to signify the currently selected row in Agenda view."},{selector:".k-scheduler-content>.k-scheduler-table>tbody>tr>.k-scheduler-groupcolumn,.k-scheduler-content>.k-scheduler-table>tbody>tr>.k-scheduler-datecolumn",attribute:"role=rowheader",usage:"Must have role explicitly set as it has been removed by the <table> role set (none/presentation)."},{selector:".k-scheduler-content>.k-scheduler-table>tbody>tr>.k-scheduler-timecolumn,.k-scheduler-content>.k-scheduler-table>tbody>tr>.k-scheduler-timecolumn+td",attribute:"role=gridcell",usage:"Must have role explicitly set as it has been removed by the <table> role set (none/presentation)."},{selector:".k-scheduler-dayview,.k-scheduler-weekview,.k-scheduler-monthview,.k-scheduler-timelineview",attribute:"role=none/presentation",usage:"All <table> elements within the Scheduler must have their semantic role removed."},{selector:".k-scheduler-times .k-scheduler-table",attribute:"role=none/presentation",usage:"Times sidebar tables must have their semantics removed. The role propagates to child th/tr elements, resolving empty-table-header violations."},{selector:".k-event",attribute:"role=button",usage:"Indicating that the event element is interactive."},{selector:".k-event",attribute:"aria-label",usage:"Label containing the title, start, and end date of the appointment."},{selector:".k-scheduler-layout:not(.k-scheduler-agendaview) .k-scheduler-content",attribute:"tabindex=0",usage:"Scrollable elements need to be focusable to ensure scrolling with arrow keys is available (does not apply to agenda view)."}]};var yr=require("react/jsx-runtime"),gs="k-scheduler-header",Ot=e=>(0,yr.jsx)("div",{...e,className:n(gs,e.className),children:(0,yr.jsx)("div",{className:"k-scheduler-header-wrap",children:e.children})});Ot.className=gs;Ot.moduleName=ee;Ot.folderName=te;var ws=require("react/jsx-runtime"),Ts="k-scheduler-content",Bt=e=>(0,ws.jsx)("div",{...e,className:n(Ts,e.className),children:e.children});Bt.className=Ts;Bt.moduleName=ee;Bt.folderName=te;var Ls=require("react/jsx-runtime"),Ms="k-scheduler-times",po=e=>(0,Ls.jsx)("div",{...e,className:n(Ms,e.className),children:e.children});po.className=Ms;po.moduleName=ee;po.folderName=te;var As=require("react/jsx-runtime"),Es="k-scheduler-table",gt=e=>(0,As.jsx)("table",{...e,className:n(Es,e.className),children:e.children});gt.className=Es;gt.moduleName=ee;gt.folderName=te;var kr=require("react/jsx-runtime"),Rs="k-scheduler-cell",jp=[],eu={},tu={},a=e=>{let{cellType:t,allDay:o,text:l,colspan:r,rowspan:s,as:u="div",...b}=e,f=l||e.children,x=!l&&!e.children,v=u==="th"&&x&&!b.role?"presentation":void 0;return(0,kr.jsx)(u,{...b,colSpan:r,rowSpan:s,...v&&{role:v},className:n(Rs,e.className,{"k-scheduler-times-all-day":o},t==null?void 0:t.map(N=>({[`k-${N}-cell`]:!0}))),children:!o&&l?(0,kr.jsx)("span",{className:"k-link k-nav-day",children:f}):f})};a.states=jp;a.options=eu;a.defaultOptions=tu;a.className=Rs;a.moduleName=ee;a.folderName=te;var Os=require("react/jsx-runtime"),Is="k-sticky-cell",_o=e=>(0,Os.jsx)("div",{...e,className:n(Is,e.className),children:e.children});_o.className=Is;_o.moduleName=ee;_o.folderName=te;var Ps=require("react/jsx-runtime"),Bs="k-scheduler-row",T=e=>(0,Ps.jsx)("div",{...e,className:n(Bs,e.className),children:e.children});T.className=Bs;T.moduleName=ee;T.folderName=te;var za="input",vl=za;var Ds=require("react/jsx-runtime"),yl="k-input",ou=[c.hover,c.focus,c.valid,c.invalid,c.required,c.disabled,c.loading,c.readonly],au={size:[p.undefined,p.small,p.medium,p.large],rounded:[S.undefined,S.none,S.small,S.medium,S.large,S.full],fillMode:[k.undefined,k.solid,k.flat,k.outline]},lu={},Te=e=>{let{hover:t,focus:o,disabled:l,invalid:r,valid:s,loading:u,readonly:b,size:f,rounded:x,fillMode:v,...N}=e;return(0,Ds.jsx)("span",{...N,className:n(e.className,yl,G(yl,{size:f,rounded:x,fillMode:v}),U(yl,{hover:t,focus:o,disabled:l,invalid:r,valid:s,loading:u,readonly:b}))})};Te.states=ou;Te.options=au;Te.className=yl;Te.defaultOptions=lu;Te.moduleName=za;Te.folderName=vl;var Ks=require("react/jsx-runtime"),kl="k-picker",ru=[c.hover,c.focus,c.valid,c.invalid,c.required,c.disabled,c.loading,c.readonly],nu={size:[p.undefined,p.small,p.medium,p.large],rounded:[S.undefined,S.none,S.small,S.medium,S.large,S.full],fillMode:[k.undefined,k.solid,k.flat,k.outline]},su={},Wt=e=>{let{hover:t,focus:o,disabled:l,invalid:r,valid:s,loading:u,readonly:b,size:f,rounded:x,fillMode:v,...N}=e;return(0,Ks.jsx)("span",{...N,className:n(e.className,kl,G(kl,{size:f,rounded:x,fillMode:v}),U(kl,{hover:t,focus:o,disabled:l,invalid:r,valid:s,loading:u,readonly:b})),children:e.children})};Wt.states=ru;Wt.options=nu;Wt.className=kl;Wt.defaultOptions=su;Wt.moduleName=za;Wt.folderName=vl;var zo=require("react/jsx-runtime"),Hs="k-clear-value",iu=[c.disabled,c.loading,c.readonly],du={},Ct=e=>{let{disabled:t,loading:o,readonly:l,value:r}=e;return t||l||o||!r?(0,zo.jsx)(zo.Fragment,{}):(0,zo.jsx)("span",{className:n(e.className,Hs),children:(0,zo.jsx)(R,{icon:"x"})})};Ct.states=iu;Ct.options=du;Ct.className=Hs;var _s=require("react/jsx-runtime"),Sr="k-input-inner",cu=[],pu={},Sl={type:"text",autocomplete:"off",value:"",placeholder:""},vt=e=>{let{value:t=Sl.value,type:o=Sl.type,placeholder:l=Sl.placeholder,autocomplete:r=Sl.autocomplete,disabled:s,readOnly:u,...b}=e;return(0,_s.jsx)("input",{...b,type:o,className:n(e.className,Sr,G(Sr,e)),placeholder:l,autoComplete:r,defaultValue:t,disabled:s||void 0,readOnly:u||void 0})};vt.states=cu;vt.options=pu;vt.className=Sr;var Ga=require("react/jsx-runtime"),Nr="k-input-inner",uu=[],mu={},wo=e=>{let{value:t,placeholder:o,showValue:l,valueIcon:r,valueIconName:s,...u}=e;return(0,Ga.jsxs)("span",{...u,className:n(e.className,Nr,G(Nr,e)),children:[r,!r&&s&&(0,Ga.jsx)(R,{className:"k-input-value-icon",icon:s}),l&&!t&&o,l&&t&&(0,Ga.jsx)("span",{className:"k-input-value-text",children:t})]})};wo.states=uu;wo.options=mu;wo.className=Nr;var Gs=require("react/jsx-runtime"),gr="k-input-inner",bu=[],hu={},zs={value:"",placeholder:""},Tr=e=>{let{value:t=zs.value,placeholder:o=zs.placeholder,rows:l,disabled:r,...s}=e;return(0,Gs.jsx)("textarea",{...s,className:n(e.className,gr,G(gr,e)),placeholder:o,rows:l,defaultValue:t,disabled:r||void 0})};Tr.states=bu;Tr.options=hu;Tr.className=gr;var Ua=require("react/jsx-runtime"),Us="k-input-loading-icon",fu=[c.disabled,c.loading],ut=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Ua.jsx)(Ua.Fragment,{}):(0,Ua.jsx)("span",{className:n(e.className,Us,"k-icon k-i-loading")})};ut.states=fu;ut.className=Us;var Fa=require("react/jsx-runtime"),Fs="k-input-validation-icon",xu=[c.valid,c.invalid,c.disabled,c.loading],Cu={},rt=e=>{let{valid:t,invalid:o,disabled:l,loading:r}=e,s=o?"warning-circle":"check-circle";return l||r||!!!(t||o)?(0,Fa.jsx)(Fa.Fragment,{}):(0,Fa.jsx)(R,{className:n(Fs),icon:s})};rt.states=xu;rt.options=Cu;rt.className=Fs;var Wa=require("react/jsx-runtime"),vu="k-input-prefix",yu={direction:"horizontal"},Tt=e=>{let{direction:t=yu.direction,...o}=e;return e.children?(0,Wa.jsx)("span",{...o,className:n(vu,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Wa.jsx)(Wa.Fragment,{})};var Va=require("react/jsx-runtime"),ku="k-input-suffix",Su={direction:"horizontal"},wt=e=>{let{direction:t=Su.direction,...o}=e;return e.children?(0,Va.jsx)("span",{...o,className:n(ku,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Va.jsx)(Va.Fragment,{})};var Nu=require("react/jsx-runtime");var Ws=require("react/jsx-runtime"),gu="k-input-suffix-text",wr=e=>{let{children:t,...o}=e;return(0,Ws.jsx)("span",{...o,className:n(gu,e.className),children:t})};var $s=require("react/jsx-runtime"),Vs="k-input-separator",Tu={direction:"vertical"},Mt=e=>{let{direction:t=Tu.direction,...o}=e;return(0,$s.jsx)("span",{...o,className:n(Vs,e.className,{[`${Vs}-${t}`]:t})})};var Pe=require("react/jsx-runtime"),wu=Te.states,Mu=Te.defaultOptions,Lu=Te.options,Eu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Au=[],Go=e=>{let{modifiers:t,valid:o,invalid:l,loading:r,disabled:s,readonly:u,...b}=e,f=t==null?void 0:t.prefix,x=t==null?void 0:t.suffix,v=t==null?void 0:t["clear-button"],N=t==null?void 0:t["validation-icon"],h=t==null?void 0:t.separators;return(0,Pe.jsxs)(Te,{...b,valid:o,invalid:l,loading:r,disabled:s,readonly:u,style:{width:300},children:[f&&(0,Pe.jsxs)(Pe.Fragment,{children:[(0,Pe.jsx)(Tt,{children:(0,Pe.jsx)(R,{icon:"lock"})}),h&&(0,Pe.jsx)(Mt,{})]}),(0,Pe.jsx)(vt,{placeholder:"Placeholder",value:"Value"}),N&&(0,Pe.jsx)(rt,{valid:o,invalid:l,loading:r,disabled:s}),(0,Pe.jsx)(ut,{loading:r,disabled:s}),v&&(0,Pe.jsx)(Ct,{loading:r,disabled:s,readonly:u,value:"Value"}),x&&(0,Pe.jsxs)(Pe.Fragment,{children:[h&&(0,Pe.jsx)(Mt,{}),(0,Pe.jsx)(wt,{children:(0,Pe.jsx)(go,{size:b.size,fillMode:"clear",children:"Send"})})]})]})};Go.options=Lu;Go.states=wu;Go.variants=Au;Go.defaultOptions=Mu;Go.modifiers=Eu;Go.className=Te.className;var $a=require("react/jsx-runtime"),Xs="k-color-preview",Ru=[],Iu={},uo=e=>{let{color:t,iconName:o,...l}=e;return(0,$a.jsxs)("span",{...l,className:n(e.className,Xs,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,$a.jsx)(R,{icon:o,className:"k-color-preview-icon"}),(0,$a.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};uo.states=Ru;uo.options=Iu;uo.className=Xs;var Mr="popup",Js=Mr;var Er=require("react/jsx-runtime"),qs="k-animation-container",Ou=[],Bu={},Lr={positionMode:"absolute",shown:!0},Vt=e=>{let{positionMode:t=Lr.positionMode,shown:o=Lr.shown,animationStyle:l,offset:r,...s}=e;return(0,Er.jsx)("div",{...s,style:{...r,...e.style},className:n(e.className,qs,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,Er.jsx)("div",{className:"k-child-animation-container",style:l,children:e.children})})};Vt.states=Ou;Vt.options=Bu;Vt.className=qs;Vt.defaultOptions=Lr;Vt.moduleName=Mr;Vt.folderName=Js;var Ar="popup",Ys=Ar;var Rr=require("react/jsx-runtime"),Qs="k-popup",Pu=[],Du={},Zs={positionMode:"absolute"},he=e=>{let{offset:t,positionMode:o=Zs.positionMode,animationStyle:l,containerClassName:r,containerRole:s,containerAriaLabel:u,...b}=e;return(0,Rr.jsx)(Vt,{positionMode:o,offset:t,animationStyle:l,className:r,role:s,"aria-label":u,children:(0,Rr.jsx)("div",{...b,className:n(e.className,Qs),children:e.children})})};he.states=Pu;he.options=Du;he.className=Qs;he.defaultOptions=Zs;he.moduleName=Ar;he.folderName=Ys;he.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 Ir="action-buttons",js=Ir;var ei=require("react/jsx-runtime"),Nl="k-actions",Ku=[],Hu={},Or={alignment:"start",orientation:"horizontal"},$t=e=>{let{alignment:t=Or.alignment,orientation:o=Or.orientation,...l}=e;return(0,ei.jsx)("div",{...l,className:n(Nl,{[`${Nl}-${t}`]:t,[`${Nl}-${o}`]:o},e.className),children:e.children})};$t.states=Ku;$t.options=Hu;$t.className=Nl;$t.defaultOptions=Or;$t.moduleName=Ir;$t.folderName=js;var oi=require("react/jsx-runtime"),_u="k-actionsheet-footer",ti={alignment:"stretched",orientation:"horizontal"},mo=e=>{let{alignment:t=ti.alignment,orientation:o=ti.orientation,template:l,as:r=l?"div":$t,...s}=e;return(0,oi.jsx)(r,{...s,...!l&&{alignment:t,orientation:o},className:n(e.className,_u),children:e.children})};var Br="searchbox",ai=Br;var bo=require("react/jsx-runtime"),li="k-searchbox",zu=[c.hover,c.focus,c.valid,c.invalid,c.required,c.disabled,c.loading],Gu={size:[p.undefined,p.small,p.medium,p.large],rounded:[S.undefined,S.none,S.small,S.medium,S.large,S.full],fillMode:[k.undefined,k.solid,k.flat,k.outline]},Pr={showIcon:!0,icon:"search"},Lt=e=>{let{value:t,placeholder:o,size:l,rounded:r,fillMode:s,hover:u,focus:b,valid:f,invalid:x,required:v,loading:N,disabled:h,showIcon:I=Pr.showIcon,icon:M=Pr.icon,"aria-label":D,...z}=e;return(0,bo.jsxs)(Te,{...z,size:l,rounded:r,fillMode:s,hover:u,focus:b,valid:f,invalid:x,required:v,loading:N,disabled:h,className:n(e.className,li),children:[I&&(0,bo.jsx)(R,{className:"k-input-icon",icon:M}),(0,bo.jsx)(vt,{placeholder:o,value:t,"aria-label":D}),(0,bo.jsx)(ut,{...e}),(0,bo.jsx)(rt,{...e}),(0,bo.jsx)(Ct,{...e})]})};Lt.states=zu;Lt.options=Gu;Lt.className=li;Lt.defaultOptions=Pr;Lt.moduleName=Br;Lt.folderName=ai;var Uu=require("react/jsx-runtime");var Dr="textbox",ri=Dr;var qe=require("react/jsx-runtime"),ni="k-textbox",Fu=[c.hover,c.focus,c.valid,c.invalid,c.required,c.disabled,c.loading,c.readonly],Wu={size:[p.undefined,p.small,p.medium,p.large],rounded:[S.undefined,S.none,S.small,S.medium,S.large,S.full],fillMode:[k.undefined,k.solid,k.flat,k.outline]},gl={showClearButton:!0,showValidationIcon:!0,separators:!0},ze=e=>{let{size:t,rounded:o,fillMode:l,separators:r=gl.separators,showClearButton:s=gl.showClearButton,showValidationIcon:u=gl.showValidationIcon,prefix:b,suffix:f,type:x,value:v,placeholder:N,hover:h,focus:I,valid:M,invalid:D,required:z,loading:K,disabled:q,readonly:me,id:ge,"aria-label":_e,"aria-describedby":Be,...lt}=e;return(0,qe.jsxs)(Te,{...lt,size:t,rounded:o,fillMode:l,hover:h,focus:I,valid:M,invalid:D,required:z,loading:K,disabled:q,readonly:me,className:n(e.className,ni),children:[b&&(0,qe.jsxs)(qe.Fragment,{children:[(0,qe.jsx)(Tt,{children:b}),r&&(0,qe.jsx)(Mt,{})]}),(0,qe.jsx)(vt,{id:ge,placeholder:N,value:v,type:x,disabled:q,"aria-label":_e,"aria-describedby":Be,"aria-invalid":D?"true":void 0}),u&&(0,qe.jsx)(rt,{valid:M,invalid:D,loading:K,disabled:q}),(0,qe.jsx)(ut,{loading:K,disabled:q}),s&&(0,qe.jsx)(Ct,{loading:K,disabled:q,readonly:me,value:v}),f&&(0,qe.jsxs)(qe.Fragment,{children:[r&&(0,qe.jsx)(Mt,{}),(0,qe.jsx)(wt,{children:f})]})]})};ze.states=Fu;ze.options=Wu;ze.className=ni;ze.defaultOptions=gl;ze.moduleName=Dr;ze.folderName=ri;ze.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 Xa=ze;var ii=require("react/jsx-runtime"),si=e=>(0,ii.jsx)(Xa,{...e});var di=require("react/jsx-runtime");var ci=require("react/jsx-runtime");var Vu=require("react/jsx-runtime");var Tl=require("react/jsx-runtime"),$u=ze.states,Xu=ze.defaultOptions,Ju=ze.options,qu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Yu=[],Uo=e=>{let{modifiers:t,...o}=e,l={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":l.prefix=t!=null&&t[r]?(0,Tl.jsx)(R,{icon:"lock"}):void 0;break;case"suffix":l.suffix=t!=null&&t[r]?(0,Tl.jsx)(go,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":l.showClearButton=t==null?void 0:t[r];break;default:break}}),(0,Tl.jsx)(si,{value:"Value",style:{width:300},...o,...l})};Uo.options=Ju;Uo.states=$u;Uo.variants=Yu;Uo.defaultOptions=Xu;Uo.modifiers=qu;Uo.className=ze.className;var yt=require("react/jsx-runtime"),pi="k-actionsheet-titlebar",Qu={},nt=e=>{let{title:t,subtitle:o,actionsStart:l,actionsEnd:r,filter:s,input:u,inputValue:b,inputPlaceholder:f,adaptive:x,titleId:v,children:N,...h}=e;return(0,yt.jsxs)("div",{...h,className:n(e.className,pi),children:[(0,yt.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[l&&(0,yt.jsx)("div",{className:"k-actionsheet-actions",children:l}),!N&&(0,yt.jsxs)("div",{className:"k-actionsheet-title",id:v,children:[t&&(0,yt.jsx)("div",{className:"k-text-center",children:t}),o&&(0,yt.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&(0,yt.jsx)("div",{className:"k-actionsheet-title",id:v,children:N}),r&&(0,yt.jsx)("div",{className:"k-actionsheet-actions",children:r})]}),(u||s)&&(0,yt.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:u?(0,yt.jsx)(ze,{value:b,placeholder:f,size:x?"large":"medium","aria-label":t||f||"Input"}):(0,yt.jsx)(Lt,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};nt.className=pi;nt.defaultOptions=Qu;var Fo=require("react/jsx-runtime"),Kr="k-actionsheet-view",Zu=[],ju={},em={},Wo=e=>{let{adaptive:t,animated:o,children:l,header:r,footer:s,titleId:u,...b}=e,f=(r==null?void 0:r.type)===nt&&(0,Fo.jsx)(nt,{adaptive:t,titleId:u,...r==null?void 0:r.props}),x=(s==null?void 0:s.type)===mo&&(0,Fo.jsx)(mo,{...s==null?void 0:s.props});return(0,Fo.jsxs)("div",{...b,className:n(e.className,Kr,{[`${Kr}-animated`]:o}),children:[f,(0,Fo.jsx)("div",{className:"k-actionsheet-content",children:l}),x]})};Wo.states=Zu;Wo.options=ju;Wo.className=Kr;Wo.defaultOptions=em;var Ja="action-sheet",wl=Ja;var Hr="overlay",ui=Hr;var bi=require("react/jsx-runtime"),mi="k-overlay",tm=[],om={},am={},ho=e=>{let{...t}=e;return(0,bi.jsx)("div",{...t,className:n(e.className,mi),children:e.children})};ho.states=tm;ho.options=om;ho.className=mi;ho.defaultOptions=am;ho.moduleName=Hr;ho.folderName=ui;var Mo=require("react/jsx-runtime"),hi="k-actionsheet",lm=[],rm={},qa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ke=e=>{let{side:t=qa.side,fullscreen:o=qa.fullscreen,adaptive:l=qa.adaptive,overlay:r=qa.overlay,template:s,children:u,header:b,footer:f,id:x,...v}=e,N=x&&!s&&b?`${x}-title`:void 0;return(0,Mo.jsxs)("div",{className:"k-actionsheet-container",children:[r&&(0,Mo.jsx)(ho,{}),(0,Mo.jsx)(Vt,{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,Mo.jsx)("div",{...v,id:x,role:"dialog","aria-modal":r?"true":void 0,"aria-labelledby":N,className:n(e.className,hi,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":l}),children:s||(0,Mo.jsx)(Wo,{header:b,footer:f,adaptive:l,titleId:N,...e,children:u})})})]})};ke.states=lm;ke.options=rm;ke.className=hi;ke.defaultOptions=qa;ke.moduleName=Ja;ke.folderName=wl;ke.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"),fi="k-actionsheet-container",nm=[],sm={},im={},Vo=e=>{let{children:t,...o}=e;return(0,xi.jsx)("div",{...o,className:fi,children:t})};Vo.states=nm;Vo.options=sm;Vo.className=fi;Vo.defaultOptions=im;Vo.moduleName=Ja;Vo.folderName=wl;var Ci=require("react/jsx-runtime"),_r=e=>{let{...t}=e;return(0,Ci.jsx)("div",{...t,className:n(e.className,"k-list-ul"),children:e.children})};var Et=require("react/jsx-runtime"),zr="k-actionsheet-item",dm=[c.hover,c.focus,c.selected,c.disabled],fo=e=>{let{iconName:t,text:o,description:l,hover:r,focus:s,selected:u,disabled:b,...f}=e;return(0,Et.jsxs)("span",{...f,className:n(e.className,zr,U(zr,{hover:r,focus:s,selected:u,disabled:b})),children:[!e.children&&(0,Et.jsx)(Et.Fragment,{children:(0,Et.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,Et.jsx)("span",{className:"k-icon-wrap",children:(0,Et.jsx)(R,{className:"k-actionsheet-item-icon",icon:t})}),(0,Et.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,Et.jsx)("span",{className:"k-actionsheet-item-title",children:o}),l&&(0,Et.jsx)("span",{className:"k-actionsheet-item-description",children:l})]})]})}),e.children]})};fo.states=dm;fo.className=zr;var vi=require("react/jsx-runtime");var cm=require("react/jsx-runtime");var pm=require("react/jsx-runtime");var um=require("react/jsx-runtime");var xe=require("react/jsx-runtime"),mm=ke.options,bm=ke.states,ki={...ke.defaultOptions,variant:"normal"},hm=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],fm=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],$o=e=>{let{variant:t,modifiers:o,...l}={...ki,...e},r={},s=(0,xe.jsxs)(_r,{children:[(0,xe.jsx)(fo,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,xe.jsx)(fo,{text:"Add to Favorites",iconName:"heart"}),(0,xe.jsx)(fo,{text:"Upload New",iconName:"upload",disabled:!0}),(0,xe.jsx)("hr",{className:"k-hr"}),(0,xe.jsx)(fo,{text:"Cancel",iconName:"cancel"})]}),u="Choose from the items below",b="Select Item";return t==="fullScreen"&&(r.fullScreen=!0),Object.keys(o||{}).forEach(f=>{switch(f){case"actions":r.actionsStart=!!(o!=null&&o[f]),r.actionsEnd=!!(o!=null&&o[f]);break;case"subtitle":r.subtitle=o!=null&&o[f]?u:void 0;break;case"footer":r.footer=!!(o!=null&&o[f]);break;default:break}}),t==="adaptive"?(0,xe.jsx)(ke,{...l,adaptive:!0,fullscreen:r.fullScreen,header:(0,xe.jsx)(nt,{actionsStart:r.actionsStart?(0,xe.jsx)(d,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?(0,xe.jsx)(d,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:b,subtitle:r.subtitle}),footer:r.footer?(0,xe.jsxs)(mo,{alignment:"stretched",children:[(0,xe.jsx)(d,{text:"Cancel",size:"large",themeColor:"base"}),(0,xe.jsx)(d,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):(0,xe.jsx)(ke,{...l,fullscreen:r.fullScreen,header:(0,xe.jsx)(nt,{actionsStart:r.actionsStart?(0,xe.jsx)(d,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?(0,xe.jsx)(d,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:r.subtitle}),footer:r.footer?(0,xe.jsxs)(mo,{alignment:"stretched",children:[(0,xe.jsx)(d,{text:"Apply",themeColor:"primary"}),(0,xe.jsx)(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};$o.options=mm;$o.states=bm;$o.variants=hm;$o.defaultOptions=ki;$o.modifiers=fm;$o.className=ke.className;var Gr="slider",Si=Gr;var Pt=require("react/jsx-runtime"),Ya="k-slider",xm=[c.hover,c.focus,c.active,c.disabled,c.readonly],Cm={},At={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},ue=e=>{let{type:t=At.type,orientation:o=At.orientation,gradientType:l=At.gradientType,readonly:r=At.readonly,disabled:s=At.disabled,handlePosition:u=At.handlePosition,showButtons:b=At.showButtons,showTicks:f=At.showTicks,value:x=At.value,min:v=At.min,max:N=At.max,startValue:h,endValue:I,hover:M,focus:D,active:z,trackStyle:K,dir:q,...me}=e,_e=(()=>{if(t==="gradient"&&l==="2d")return"undefined";if(o==="vertical")return"vertical"})(),Be,lt;return o==="horizontal"?(Be=q==="rtl"?"chevron-left":"chevron-right",lt=q==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(Be="chevron-up",lt="chevron-down"),(0,Pt.jsxs)("div",{...me,className:n(Ya,e.className,U(Ya,{readonly:r,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:q,children:[b&&(0,Pt.jsx)(d,{className:"k-button-decrease",rounded:"full",icon:lt,tabIndex:-1,title:"Decrease"}),(0,Pt.jsxs)("div",{className:"k-slider-track-wrap",children:[f&&(0,Pt.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,Pt.jsxs)("div",{className:"k-slider-track",style:K,children:[(0,Pt.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,Pt.jsx)("span",{className:n("k-draghandle","k-draghandle-start",U(Ya,{hover:M,focus:D,active:z})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":h??v,"aria-valuemin":v,"aria-valuemax":I??N,"aria-orientation":_e,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":me["aria-label"]?`${me["aria-label"]} start`:"Range start"}),(0,Pt.jsx)("span",{className:n("k-draghandle",`k-draghandle-${u}`,U(Ya,{hover:M,focus:D,active:z})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?I??N:x,"aria-valuemin":t==="range"?h??v:v,"aria-valuemax":N,"aria-orientation":_e,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":t==="range"?me["aria-label"]?`${me["aria-label"]} end`:"Range end":me["aria-label"]})]})]}),b&&(0,Pt.jsx)(d,{className:"k-button-increase",rounded:"full",icon:Be,tabIndex:-1,title:"Increase"})]})};ue.states=xm;ue.options=Cm;ue.className=Ya;ue.defaultOptions=At;ue.moduleName=Gr;ue.folderName=Si;ue.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 Ur=require("react/jsx-runtime"),Ni="k-tick",vm=[],ym={},gi={label:!1},V=e=>{let{style:t,label:o=gi.label,orientation:l,large:r,text:s,...u}=e;return(0,Ur.jsx)("li",{...u,role:"presentation",title:s||"Tick",className:n(e.className,Ni,{[`k-tick-${l}`]:l,"k-tick-large":r}),style:t,children:o&&(0,Ur.jsx)("span",{className:"k-label",children:s})})};V.states=vm;V.options=ym;V.className=Ni;V.defaultOptions=gi;var Ge=require("react/jsx-runtime"),Ti=e=>(0,Ge.jsx)(ue,{"aria-label":e["aria-label"]||"Slider",children:(0,Ge.jsxs)(Ge.Fragment,{children:[(0,Ge.jsx)(V,{className:"k-first",label:!0,large:!0,text:"0"}),(0,Ge.jsx)(V,{}),(0,Ge.jsx)(V,{}),(0,Ge.jsx)(V,{}),(0,Ge.jsx)(V,{}),(0,Ge.jsx)(V,{label:!0,large:!0,text:"5"}),(0,Ge.jsx)(V,{}),(0,Ge.jsx)(V,{}),(0,Ge.jsx)(V,{}),(0,Ge.jsx)(V,{}),(0,Ge.jsx)(V,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var Ue=require("react/jsx-runtime"),wi=e=>(0,Ue.jsx)(ue,{children:(0,Ue.jsxs)(Ue.Fragment,{children:[(0,Ue.jsx)(V,{className:"k-first",label:!0,large:!0,text:"0"}),(0,Ue.jsx)(V,{}),(0,Ue.jsx)(V,{}),(0,Ue.jsx)(V,{}),(0,Ue.jsx)(V,{}),(0,Ue.jsx)(V,{label:!0,large:!0,text:"5"}),(0,Ue.jsx)(V,{}),(0,Ue.jsx)(V,{}),(0,Ue.jsx)(V,{}),(0,Ue.jsx)(V,{}),(0,Ue.jsx)(V,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var Fr=require("react/jsx-runtime");var Wr=require("react/jsx-runtime");var Mi=require("react/jsx-runtime"),Vr=e=>(0,Mi.jsx)(ue,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Li=require("react/jsx-runtime"),$r=e=>(0,Li.jsx)(ue,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Xr=require("react/jsx-runtime");var Jr=require("react/jsx-runtime");var mt=require("react/jsx-runtime"),km=ue.options,Sm=ue.states,Ei={...ue.defaultOptions,variant:"horizontal",label:!0},Nm=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],gm=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Xo=e=>{let{variant:t,modifiers:o,...l}=e,r=Ei.label,s={};Object.keys(o||{}).forEach(b=>{switch(b){case"button":{s.showButtons=!!(o!=null&&o[b]);break}case"label":{r=!!(o!=null&&o[b]);break}case"tick":{s.showTicks=!!(o!=null&&o[b]);break}}});let u={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,mt.jsxs)(wi,{style:{height:"300px",...u},...l,...s,children:[(0,mt.jsx)(V,{label:r,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,mt.jsx)(V,{label:r,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,mt.jsx)(V,{label:r,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,mt.jsx)(V,{label:r,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,mt.jsx)(V,{label:r,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,mt.jsxs)(Ti,{style:{width:"400px",...u},...l,...s,children:[(0,mt.jsx)(V,{label:r,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,mt.jsx)(V,{label:r,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,mt.jsx)(V,{label:r,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,mt.jsx)(V,{label:r,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,mt.jsx)(V,{label:r,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Xo.options=km;Xo.states=Sm;Xo.variants=Nm;Xo.defaultOptions=Ei;Xo.modifiers=gm;Xo.className=ue.className;var Qa=require("react/jsx-runtime"),Ai="k-spin-button",Mm=[],Lm={size:[p.undefined,p.small,p.medium,p.large],fillMode:[k.undefined,k.solid,k.flat,k.outline,k.clear,k.link]},qr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},xo=e=>{let{size:t,fillMode:o,disabled:l,increaseLabel:r=qr.increaseLabel,decreaseLabel:s=qr.decreaseLabel,...u}=e;return(0,Qa.jsxs)("span",{...u,className:n(Ai,e.className),children:[(0,Qa.jsx)(d,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:l,"aria-label":r}),(0,Qa.jsx)(d,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:l,"aria-label":s})]})};xo.states=Mm;xo.options=Lm;xo.className=Ai;xo.defaultOptions=qr;xo.moduleName=null;xo.folderName=null;var Ri="numeric-textbox",Ii="numerictextbox";var F