@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 194 kB
JavaScript
var cp=Object.create;var dl=Object.defineProperty;var pp=Object.getOwnPropertyDescriptor;var up=Object.getOwnPropertyNames;var mp=Object.getPrototypeOf,bp=Object.prototype.hasOwnProperty;var hp=(e,t)=>{for(var o in t)dl(e,o,{get:t[o],enumerable:!0})},es=(e,t,o,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of up(t))!bp.call(e,r)&&r!==o&&dl(e,r,{get:()=>t[r],enumerable:!(l=pp(t,r))||l.enumerable});return e};var ts=(e,t,o)=>(o=e!=null?cp(mp(e)):{},es(t||!e||!e.__esModule?dl(o,"default",{value:e,enumerable:!0}):o,e)),fp=e=>es(dl({},"__esModule",{value:!0}),e);var xx={};hp(xx,{SchedulerMonth:()=>fx});module.exports=fp(xx);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:x,disabled:C,indeterminate:y,loading:g,empty:h,readonly:I,highlighted:L,...D}=t;return n({"k-valid":o,"k-invalid":l,"k-hover":r,"k-focus":s,"k-checked":u,"k-active":b,"k-selected":x,"k-disabled":C,"k-indeterminate":y&&!u,"k-loading":g,"k-empty":h,"k-readonly":I,"k-highlighted":L},Object.keys(D).reduce((z,K)=>(K.startsWith("k-")?z[K]=D[K]:z[`k-${K}`]=D[K],z),{}))};function os(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"},N={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},S={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 ql={};function Y(e){return ql[e]=(ql[e]||0)+1,`k-${e}-${ql[e]}`}var Yl="button",as=Yl;var ls=require("react/jsx-runtime"),Oa="k-button-group",xp=[c.disabled],Cp={fillMode:[S.undefined,S.solid,S.flat,S.outline,S.clear,S.link]},vp={},P=e=>{let{fillMode:t,disabled:o,stretched:l,...r}=e;return(0,ls.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=xp;P.options=Cp;P.className=Oa;P.defaultOptions=vp;P.moduleName=Yl;P.folderName=as;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"),Ql="k-font-icon",yp=[],kp={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]},Sp={},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,Ql,G(Ql,{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=yp;Pa.options=kp;Pa.className=Ql;Pa.defaultOptions=Sp;var rs=Pa;var No=require("react/jsx-runtime"),Zl="k-svg-icon",Np=[],gp={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]},jl={viewBox:"0 0 24 24",variant:Ft.outline},Da=e=>{var g,h;let{size:t,themeColor:o,rotate:l,flip:r,viewBox:s=jl.viewBox,variant:u=jl.variant,icon:b,...x}=e;if(!b)return(0,No.jsx)(No.Fragment,{});if(b==="none")return(0,No.jsx)("span",{...x,className:n(e.className,Zl,G("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let C=typeof b=="object"&&b.name&&b.name,y=typeof b=="object"?u&&((g=b.variants)==null?void 0:g[u])||((h=b.variants)==null?void 0:h.outline)||b.content:void 0;return(0,No.jsx)("span",{...x,className:n(e.className,Zl,G("k-icon",{size:t}),{[`k-svg-i-${C}`]:C,[`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:y!==void 0?{__html:y}:void 0,children:b?void 0:e.children})})};Da.states=Np;Da.options=gp;Da.className=Zl;Da.defaultOptions=jl;var er=Da;var tr=ts(require("@progress/kendo-svg-icons"));var ns="icon",ss="icons";var cs=require("react");var is=require("react"),ds=(0,is.createContext)({iconsType:"svg"});var Qt=require("react/jsx-runtime"),cl="k-icon",Tp=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),wp=[],Mp={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]},pl={viewBox:"0 0 24 24",type:"svg",variant:Ft.outline},R=e=>{let{iconsType:t}=(0,cs.useContext)(ds),{size:o,themeColor:l,icon:r,type:s=t||pl.type,rotate:u,flip:b,viewBox:x=pl.viewBox,variant:C=pl.variant,...y}=e;if(!r)return(0,Qt.jsx)(Qt.Fragment,{});if((t||s)==="svg"){if(r==="none")return(0,Qt.jsx)(er,{...y,className:n(e.className,cl),icon:r,size:o,variant:C});let h=tr[r]?r:Tp(`${r}-icon`);return tr[h]?(0,Qt.jsx)(er,{...y,className:n(e.className,cl),icon:tr[h],size:o,themeColor:l,rotate:u,flip:b,viewBox:x,variant:C}):(0,Qt.jsx)(Qt.Fragment,{})}return(0,Qt.jsx)(rs,{...y,className:n(e.className,cl),icon:r,size:o,themeColor:l,rotate:u,flip:b})};R.states=wp;R.options=Mp;R.defaultOptions=pl;R.className=cl;R.moduleName=ns;R.folderName=ss;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 or=R;var ar="button",ps=ar;var ft=require("react/jsx-runtime"),Ka="k-button",Lp=["icon-button"],Ep=[c.hover,c.focus,c.active,c.selected,c.disabled,c.generating],Ap={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[S.undefined,S.solid,S.flat,S.outline,S.clear,S.link],themeColor:[A.undefined,A.base,A.primary,A.secondary,A.tertiary,A.success,A.warning,A.error,A.info,A.inverse]},lr={showArrow:!1,arrowIconName:"chevron-down"},d=e=>{let{as:t="button",size:o,rounded:l,fillMode:r,themeColor:s,showArrow:u=lr.showArrow,arrowIconName:b=lr.arrowIconName,variant:x,hover:C,focus:y,active:g,selected:h,disabled:I,togglable:L,ariaDisabled:D,icon:z,iconSize:K,text:q,iconClassName:me,className:Te,..._e}=e,Be=z!=null,lt=e.children!==void 0;return(0,ft.jsxs)(t,{className:n(Te,Ka,os(Ka,x),G(Ka,{size:o,rounded:l,fillMode:r,themeColor:s}),U(Ka,{hover:C,focus:y,active:g,disabled:I||D,selected:h}),{"k-icon-button":!q&&!lt&&Be}),"aria-pressed":L?h?"true":"false":void 0,..._e,"aria-disabled":D?"true":void 0,disabled:I||void 0,children:[typeof z=="string"&&z&&(0,ft.jsx)(R,{className:n(me,"k-button-icon"),icon:z,size:K}),z&&typeof z!="string"&&(0,ft.jsx)(ft.Fragment,{children:z}),q?(0,ft.jsxs)(ft.Fragment,{children:[q&&(0,ft.jsx)("span",{className:"k-button-text",children:q}),e.children]}):e.children&&(0,ft.jsx)("span",{className:"k-button-text",children:e.children}),u&&(0,ft.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,ft.jsx)(R,{icon:b})})]})};d.states=Ep;d.options=Ap;d.variants=Lp;d.className=Ka;d.defaultOptions=lr;d.moduleName=ar;d.folderName=ps;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 us=require("react/jsx-runtime"),co=e=>(0,us.jsx)(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var ms=require("react/jsx-runtime"),Ha=e=>(0,ms.jsx)(d,{icon:"folder",children:"Button",...e});var bs=require("react/jsx-runtime"),go=e=>(0,bs.jsx)(d,{children:"Button",...e});var ul=require("react/jsx-runtime"),Rp=d.options,Ip=d.states,Op={...d.defaultOptions,variant:"text"},Bp=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Pp=[],Ko=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,ul.jsx)(co,{...o,icon:"star"});case"icon-and-text":return(0,ul.jsx)(Ha,{...o,icon:"star",children:"Button"});default:return(0,ul.jsx)(go,{...o,children:"Button"})}};Ko.options=Rp;Ko.states=Ip;Ko.variants=Bp;Ko.defaultOptions=Op;Ko.modifiers=Pp;Ko.className=d.className;var rr=require("react/jsx-runtime");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 pt=require("react/jsx-runtime"),Dp={...d.options,...P.options},Kp=d.states,Hp={...d.defaultOptions,...P.defaultOptions,variant:"text-button"},_p=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],zp=[],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=Dp;Ho.states=Kp;Ho.variants=_p;Ho.defaultOptions=Hp;Ho.modifiers=zp;Ho.className=P.className;var pr="segmented-control",hs=pr,fs="segmented-control-button",xs="segmented-control";var bl=require("react/jsx-runtime"),ml="k-segmented-control",Gp=[],Up={size:[p.undefined,p.small,p.medium,p.large]},ce=e=>{let{size:t,stretched:o,children:l,thumbStyles:r,...s}=e;return(0,bl.jsxs)("div",{...s,className:n(e.className,ml,G(ml,{size:t}),{[`${ml}-stretched`]:o}),role:"group",children:[(0,bl.jsx)("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:r}),l]})};ce.states=Gp;ce.options=Up;ce.className=ml;ce.moduleName=pr;ce.folderName=hs;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"),ur="k-segmented-control-button",Fp=[c.selected,c.hover,c.focus,c.disabled],Wp={},Vp={},H=e=>{let{hover:t,focus:o,selected:l,disabled:r,icon:s,text:u,iconClassName:b,...x}=e;return(0,_a.jsxs)("button",{...x,className:n(e.className,ur,U(ur,{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=Fp;H.options=Wp;H.className=ur;H.defaultOptions=Vp;H.moduleName=fs;H.folderName=xs;var mr=require("react/jsx-runtime");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 ee="scheduler",te=ee;var ys=require("react/jsx-runtime"),Cs="k-scheduler-layout",$p=[],Xp={},Jp={},To=e=>{let{as:t="div",view:o,...l}=e,r=o==="agenda"?"grid":o==="year"?void 0:"none";return(0,ys.jsx)(t,{...l,className:n(e.className,Cs,{[`k-scheduler-${o}view`]:o}),...r&&{role:r},children:e.children})};To.states=$p;To.options=Xp;To.className=Cs;To.defaultOptions=Jp;To.moduleName=ee;To.folderName=te;var vs=To;var xl=require("react/jsx-runtime"),ks="k-scheduler",qp=[],Yp={},Qp={},Q=e=>{let{view:t,toolbar:o,footer:l,layout:r,...s}=e;return(0,xl.jsxs)("div",{...s,className:n(e.className,ks),role:"application",children:[o,(0,xl.jsx)(vs,{className:n({"k-scheduler-layout-flex":r==="flex"}),as:r==="table"?"table":"div",view:t,children:e.children}),l]})};Q.states=qp;Q.options=Yp;Q.className=ks;Q.defaultOptions=Qp;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 vr=require("react/jsx-runtime"),Ss="k-scheduler-header",Ot=e=>(0,vr.jsx)("div",{...e,className:n(Ss,e.className),children:(0,vr.jsx)("div",{className:"k-scheduler-header-wrap",children:e.children})});Ot.className=Ss;Ot.moduleName=ee;Ot.folderName=te;var gs=require("react/jsx-runtime"),Ns="k-scheduler-content",Bt=e=>(0,gs.jsx)("div",{...e,className:n(Ns,e.className),children:e.children});Bt.className=Ns;Bt.moduleName=ee;Bt.folderName=te;var ws=require("react/jsx-runtime"),Ts="k-scheduler-times",po=e=>(0,ws.jsx)("div",{...e,className:n(Ts,e.className),children:e.children});po.className=Ts;po.moduleName=ee;po.folderName=te;var Ls=require("react/jsx-runtime"),Ms="k-scheduler-table",gt=e=>(0,Ls.jsx)("table",{...e,className:n(Ms,e.className),children:e.children});gt.className=Ms;gt.moduleName=ee;gt.folderName=te;var yr=require("react/jsx-runtime"),Es="k-scheduler-cell",Zp=[],jp={},eu={},a=e=>{let{cellType:t,allDay:o,text:l,colspan:r,rowspan:s,as:u="div",...b}=e,x=l||e.children,C=!l&&!e.children,y=u==="th"&&C&&!b.role?"presentation":void 0;return(0,yr.jsx)(u,{...b,colSpan:r,rowSpan:s,...y&&{role:y},className:n(Es,e.className,{"k-scheduler-times-all-day":o},t==null?void 0:t.map(g=>({[`k-${g}-cell`]:!0}))),children:!o&&l?(0,yr.jsx)("span",{className:"k-link k-nav-day",children:x}):x})};a.states=Zp;a.options=jp;a.defaultOptions=eu;a.className=Es;a.moduleName=ee;a.folderName=te;var Rs=require("react/jsx-runtime"),As="k-sticky-cell",_o=e=>(0,Rs.jsx)("div",{...e,className:n(As,e.className),children:e.children});_o.className=As;_o.moduleName=ee;_o.folderName=te;var Os=require("react/jsx-runtime"),Is="k-scheduler-row",w=e=>(0,Os.jsx)("div",{...e,className:n(Is,e.className),children:e.children});w.className=Is;w.moduleName=ee;w.folderName=te;var za="input",Cl=za;var Bs=require("react/jsx-runtime"),vl="k-input",tu=[c.hover,c.focus,c.valid,c.invalid,c.required,c.disabled,c.loading,c.readonly],ou={size:[p.undefined,p.small,p.medium,p.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[S.undefined,S.solid,S.flat,S.outline]},au={},we=e=>{let{hover:t,focus:o,disabled:l,invalid:r,valid:s,loading:u,readonly:b,size:x,rounded:C,fillMode:y,...g}=e;return(0,Bs.jsx)("span",{...g,className:n(e.className,vl,G(vl,{size:x,rounded:C,fillMode:y}),U(vl,{hover:t,focus:o,disabled:l,invalid:r,valid:s,loading:u,readonly:b}))})};we.states=tu;we.options=ou;we.className=vl;we.defaultOptions=au;we.moduleName=za;we.folderName=Cl;var Ps=require("react/jsx-runtime"),yl="k-picker",lu=[c.hover,c.focus,c.valid,c.invalid,c.required,c.disabled,c.loading,c.readonly],ru={size:[p.undefined,p.small,p.medium,p.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[S.undefined,S.solid,S.flat,S.outline]},nu={},Wt=e=>{let{hover:t,focus:o,disabled:l,invalid:r,valid:s,loading:u,readonly:b,size:x,rounded:C,fillMode:y,...g}=e;return(0,Ps.jsx)("span",{...g,className:n(e.className,yl,G(yl,{size:x,rounded:C,fillMode:y}),U(yl,{hover:t,focus:o,disabled:l,invalid:r,valid:s,loading:u,readonly:b})),children:e.children})};Wt.states=lu;Wt.options=ru;Wt.className=yl;Wt.defaultOptions=nu;Wt.moduleName=za;Wt.folderName=Cl;var zo=require("react/jsx-runtime"),Ds="k-clear-value",su=[c.disabled,c.loading,c.readonly],iu={},xt=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,Ds),children:(0,zo.jsx)(R,{icon:"x"})})};xt.states=su;xt.options=iu;xt.className=Ds;var Ks=require("react/jsx-runtime"),kr="k-input-inner",du=[],cu={},kl={type:"text",autocomplete:"off",value:"",placeholder:""},Ct=e=>{let{value:t=kl.value,type:o=kl.type,placeholder:l=kl.placeholder,autocomplete:r=kl.autocomplete,disabled:s,readOnly:u,...b}=e;return(0,Ks.jsx)("input",{...b,type:o,className:n(e.className,kr,G(kr,e)),placeholder:l,autoComplete:r,defaultValue:t,disabled:s||void 0,readOnly:u||void 0})};Ct.states=du;Ct.options=cu;Ct.className=kr;var Ga=require("react/jsx-runtime"),Sr="k-input-inner",pu=[],uu={},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,Sr,G(Sr,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=pu;wo.options=uu;wo.className=Sr;var _s=require("react/jsx-runtime"),Nr="k-input-inner",mu=[],bu={},Hs={value:"",placeholder:""},gr=e=>{let{value:t=Hs.value,placeholder:o=Hs.placeholder,rows:l,disabled:r,...s}=e;return(0,_s.jsx)("textarea",{...s,className:n(e.className,Nr,G(Nr,e)),placeholder:o,rows:l,defaultValue:t,disabled:r||void 0})};gr.states=mu;gr.options=bu;gr.className=Nr;var Ua=require("react/jsx-runtime"),zs="k-input-loading-icon",hu=[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,zs,"k-icon k-i-loading")})};ut.states=hu;ut.className=zs;var Fa=require("react/jsx-runtime"),Gs="k-input-validation-icon",fu=[c.valid,c.invalid,c.disabled,c.loading],xu={},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(Gs),icon:s})};rt.states=fu;rt.options=xu;rt.className=Gs;var Wa=require("react/jsx-runtime"),Cu="k-input-prefix",vu={direction:"horizontal"},Tt=e=>{let{direction:t=vu.direction,...o}=e;return e.children?(0,Wa.jsx)("span",{...o,className:n(Cu,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Wa.jsx)(Wa.Fragment,{})};var Va=require("react/jsx-runtime"),yu="k-input-suffix",ku={direction:"horizontal"},wt=e=>{let{direction:t=ku.direction,...o}=e;return e.children?(0,Va.jsx)("span",{...o,className:n(yu,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Va.jsx)(Va.Fragment,{})};var Su=require("react/jsx-runtime");var Us=require("react/jsx-runtime"),Nu="k-input-suffix-text",Tr=e=>{let{children:t,...o}=e;return(0,Us.jsx)("span",{...o,className:n(Nu,e.className),children:t})};var Ws=require("react/jsx-runtime"),Fs="k-input-separator",gu={direction:"vertical"},Mt=e=>{let{direction:t=gu.direction,...o}=e;return(0,Ws.jsx)("span",{...o,className:n(Fs,e.className,{[`${Fs}-${t}`]:t})})};var Pe=require("react/jsx-runtime"),Tu=we.states,wu=we.defaultOptions,Mu=we.options,Lu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Eu=[],Go=e=>{let{modifiers:t,valid:o,invalid:l,loading:r,disabled:s,readonly:u,...b}=e,x=t==null?void 0:t.prefix,C=t==null?void 0:t.suffix,y=t==null?void 0:t["clear-button"],g=t==null?void 0:t["validation-icon"],h=t==null?void 0:t.separators;return(0,Pe.jsxs)(we,{...b,valid:o,invalid:l,loading:r,disabled:s,readonly:u,style:{width:300},children:[x&&(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)(Ct,{placeholder:"Placeholder",value:"Value"}),g&&(0,Pe.jsx)(rt,{valid:o,invalid:l,loading:r,disabled:s}),(0,Pe.jsx)(ut,{loading:r,disabled:s}),y&&(0,Pe.jsx)(xt,{loading:r,disabled:s,readonly:u,value:"Value"}),C&&(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=Mu;Go.states=Tu;Go.variants=Eu;Go.defaultOptions=wu;Go.modifiers=Lu;Go.className=we.className;var $a=require("react/jsx-runtime"),Vs="k-color-preview",Au=[],Ru={},uo=e=>{let{color:t,iconName:o,...l}=e;return(0,$a.jsxs)("span",{...l,className:n(e.className,Vs,{"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=Au;uo.options=Ru;uo.className=Vs;var wr="popup",$s=wr;var Lr=require("react/jsx-runtime"),Xs="k-animation-container",Iu=[],Ou={},Mr={positionMode:"absolute",shown:!0},Vt=e=>{let{positionMode:t=Mr.positionMode,shown:o=Mr.shown,animationStyle:l,offset:r,...s}=e;return(0,Lr.jsx)("div",{...s,style:{...r,...e.style},className:n(e.className,Xs,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,Lr.jsx)("div",{className:"k-child-animation-container",style:l,children:e.children})})};Vt.states=Iu;Vt.options=Ou;Vt.className=Xs;Vt.defaultOptions=Mr;Vt.moduleName=wr;Vt.folderName=$s;var Er="popup",Js=Er;var Ar=require("react/jsx-runtime"),qs="k-popup",Bu=[],Pu={},Ys={positionMode:"absolute"},fe=e=>{let{offset:t,positionMode:o=Ys.positionMode,animationStyle:l,containerClassName:r,containerRole:s,containerAriaLabel:u,...b}=e;return(0,Ar.jsx)(Vt,{positionMode:o,offset:t,animationStyle:l,className:r,role:s,"aria-label":u,children:(0,Ar.jsx)("div",{...b,className:n(e.className,qs),children:e.children})})};fe.states=Bu;fe.options=Pu;fe.className=qs;fe.defaultOptions=Ys;fe.moduleName=Er;fe.folderName=Js;fe.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 Rr="action-buttons",Qs=Rr;var Zs=require("react/jsx-runtime"),Sl="k-actions",Du=[],Ku={},Ir={alignment:"start",orientation:"horizontal"},$t=e=>{let{alignment:t=Ir.alignment,orientation:o=Ir.orientation,...l}=e;return(0,Zs.jsx)("div",{...l,className:n(Sl,{[`${Sl}-${t}`]:t,[`${Sl}-${o}`]:o},e.className),children:e.children})};$t.states=Du;$t.options=Ku;$t.className=Sl;$t.defaultOptions=Ir;$t.moduleName=Rr;$t.folderName=Qs;var ei=require("react/jsx-runtime"),Hu="k-actionsheet-footer",js={alignment:"stretched",orientation:"horizontal"},mo=e=>{let{alignment:t=js.alignment,orientation:o=js.orientation,template:l,as:r=l?"div":$t,...s}=e;return(0,ei.jsx)(r,{...s,...!l&&{alignment:t,orientation:o},className:n(e.className,Hu),children:e.children})};var Or="searchbox",ti=Or;var bo=require("react/jsx-runtime"),oi="k-searchbox",_u=[c.hover,c.focus,c.valid,c.invalid,c.required,c.disabled,c.loading],zu={size:[p.undefined,p.small,p.medium,p.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[S.undefined,S.solid,S.flat,S.outline]},Br={showIcon:!0,icon:"search"},Lt=e=>{let{value:t,placeholder:o,size:l,rounded:r,fillMode:s,hover:u,focus:b,valid:x,invalid:C,required:y,loading:g,disabled:h,showIcon:I=Br.showIcon,icon:L=Br.icon,"aria-label":D,...z}=e;return(0,bo.jsxs)(we,{...z,size:l,rounded:r,fillMode:s,hover:u,focus:b,valid:x,invalid:C,required:y,loading:g,disabled:h,className:n(e.className,oi),children:[I&&(0,bo.jsx)(R,{className:"k-input-icon",icon:L}),(0,bo.jsx)(Ct,{placeholder:o,value:t,"aria-label":D}),(0,bo.jsx)(ut,{...e}),(0,bo.jsx)(rt,{...e}),(0,bo.jsx)(xt,{...e})]})};Lt.states=_u;Lt.options=zu;Lt.className=oi;Lt.defaultOptions=Br;Lt.moduleName=Or;Lt.folderName=ti;var Gu=require("react/jsx-runtime");var Pr="textbox",ai=Pr;var qe=require("react/jsx-runtime"),li="k-textbox",Uu=[c.hover,c.focus,c.valid,c.invalid,c.required,c.disabled,c.loading,c.readonly],Fu={size:[p.undefined,p.small,p.medium,p.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[S.undefined,S.solid,S.flat,S.outline]},Nl={showClearButton:!0,showValidationIcon:!0,separators:!0},ze=e=>{let{size:t,rounded:o,fillMode:l,separators:r=Nl.separators,showClearButton:s=Nl.showClearButton,showValidationIcon:u=Nl.showValidationIcon,prefix:b,suffix:x,type:C,value:y,placeholder:g,hover:h,focus:I,valid:L,invalid:D,required:z,loading:K,disabled:q,readonly:me,id:Te,"aria-label":_e,"aria-describedby":Be,...lt}=e;return(0,qe.jsxs)(we,{...lt,size:t,rounded:o,fillMode:l,hover:h,focus:I,valid:L,invalid:D,required:z,loading:K,disabled:q,readonly:me,className:n(e.className,li),children:[b&&(0,qe.jsxs)(qe.Fragment,{children:[(0,qe.jsx)(Tt,{children:b}),r&&(0,qe.jsx)(Mt,{})]}),(0,qe.jsx)(Ct,{id:Te,placeholder:g,value:y,type:C,disabled:q,"aria-label":_e,"aria-describedby":Be,"aria-invalid":D?"true":void 0}),u&&(0,qe.jsx)(rt,{valid:L,invalid:D,loading:K,disabled:q}),(0,qe.jsx)(ut,{loading:K,disabled:q}),s&&(0,qe.jsx)(xt,{loading:K,disabled:q,readonly:me,value:y}),x&&(0,qe.jsxs)(qe.Fragment,{children:[r&&(0,qe.jsx)(Mt,{}),(0,qe.jsx)(wt,{children:x})]})]})};ze.states=Uu;ze.options=Fu;ze.className=li;ze.defaultOptions=Nl;ze.moduleName=Pr;ze.folderName=ai;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 ni=require("react/jsx-runtime"),ri=e=>(0,ni.jsx)(Xa,{...e});var si=require("react/jsx-runtime");var ii=require("react/jsx-runtime");var Wu=require("react/jsx-runtime");var gl=require("react/jsx-runtime"),Vu=ze.states,$u=ze.defaultOptions,Xu=ze.options,Ju=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],qu=[],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,gl.jsx)(R,{icon:"lock"}):void 0;break;case"suffix":l.suffix=t!=null&&t[r]?(0,gl.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,gl.jsx)(ri,{value:"Value",style:{width:300},...o,...l})};Uo.options=Xu;Uo.states=Vu;Uo.variants=qu;Uo.defaultOptions=$u;Uo.modifiers=Ju;Uo.className=ze.className;var vt=require("react/jsx-runtime"),di="k-actionsheet-titlebar",Yu={},nt=e=>{let{title:t,subtitle:o,actionsStart:l,actionsEnd:r,filter:s,input:u,inputValue:b,inputPlaceholder:x,adaptive:C,titleId:y,children:g,...h}=e;return(0,vt.jsxs)("div",{...h,className:n(e.className,di),children:[(0,vt.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[l&&(0,vt.jsx)("div",{className:"k-actionsheet-actions",children:l}),!g&&(0,vt.jsxs)("div",{className:"k-actionsheet-title",id:y,children:[t&&(0,vt.jsx)("div",{className:"k-text-center",children:t}),o&&(0,vt.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),g&&(0,vt.jsx)("div",{className:"k-actionsheet-title",id:y,children:g}),r&&(0,vt.jsx)("div",{className:"k-actionsheet-actions",children:r})]}),(u||s)&&(0,vt.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:u?(0,vt.jsx)(ze,{value:b,placeholder:x,size:C?"large":"medium","aria-label":t||x||"Input"}):(0,vt.jsx)(Lt,{placeholder:"Filter",size:C?"large":"medium","aria-label":"Filter options"})})]})};nt.className=di;nt.defaultOptions=Yu;var Fo=require("react/jsx-runtime"),Dr="k-actionsheet-view",Qu=[],Zu={},ju={},Wo=e=>{let{adaptive:t,animated:o,children:l,header:r,footer:s,titleId:u,...b}=e,x=(r==null?void 0:r.type)===nt&&(0,Fo.jsx)(nt,{adaptive:t,titleId:u,...r==null?void 0:r.props}),C=(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,Dr,{[`${Dr}-animated`]:o}),children:[x,(0,Fo.jsx)("div",{className:"k-actionsheet-content",children:l}),C]})};Wo.states=Qu;Wo.options=Zu;Wo.className=Dr;Wo.defaultOptions=ju;var Ja="action-sheet",Tl=Ja;var Kr="overlay",ci=Kr;var ui=require("react/jsx-runtime"),pi="k-overlay",em=[],tm={},om={},ho=e=>{let{...t}=e;return(0,ui.jsx)("div",{...t,className:n(e.className,pi),children:e.children})};ho.states=em;ho.options=tm;ho.className=pi;ho.defaultOptions=om;ho.moduleName=Kr;ho.folderName=ci;var Mo=require("react/jsx-runtime"),mi="k-actionsheet",am=[],lm={},qa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Se=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:x,id:C,...y}=e,g=C&&!s&&b?`${C}-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",{...y,id:C,role:"dialog","aria-modal":r?"true":void 0,"aria-labelledby":g,className:n(e.className,mi,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":l}),children:s||(0,Mo.jsx)(Wo,{header:b,footer:x,adaptive:l,titleId:g,...e,children:u})})})]})};Se.states=am;Se.options=lm;Se.className=mi;Se.defaultOptions=qa;Se.moduleName=Ja;Se.folderName=Tl;Se.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 hi=require("react/jsx-runtime"),bi="k-actionsheet-container",rm=[],nm={},sm={},Vo=e=>{let{children:t,...o}=e;return(0,hi.jsx)("div",{...o,className:bi,children:t})};Vo.states=rm;Vo.options=nm;Vo.className=bi;Vo.defaultOptions=sm;Vo.moduleName=Ja;Vo.folderName=Tl;var fi=require("react/jsx-runtime"),Hr=e=>{let{...t}=e;return(0,fi.jsx)("div",{...t,className:n(e.className,"k-list-ul"),children:e.children})};var Et=require("react/jsx-runtime"),_r="k-actionsheet-item",im=[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,...x}=e;return(0,Et.jsxs)("span",{...x,className:n(e.className,_r,U(_r,{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=im;fo.className=_r;var xi=require("react/jsx-runtime");var dm=require("react/jsx-runtime");var cm=require("react/jsx-runtime");var pm=require("react/jsx-runtime");var Ce=require("react/jsx-runtime"),um=Se.options,mm=Se.states,vi={...Se.defaultOptions,variant:"normal"},bm=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],hm=[{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}={...vi,...e},r={},s=(0,Ce.jsxs)(Hr,{children:[(0,Ce.jsx)(fo,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,Ce.jsx)(fo,{text:"Add to Favorites",iconName:"heart"}),(0,Ce.jsx)(fo,{text:"Upload New",iconName:"upload",disabled:!0}),(0,Ce.jsx)("hr",{className:"k-hr"}),(0,Ce.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(x=>{switch(x){case"actions":r.actionsStart=!!(o!=null&&o[x]),r.actionsEnd=!!(o!=null&&o[x]);break;case"subtitle":r.subtitle=o!=null&&o[x]?u:void 0;break;case"footer":r.footer=!!(o!=null&&o[x]);break;default:break}}),t==="adaptive"?(0,Ce.jsx)(Se,{...l,adaptive:!0,fullscreen:r.fullScreen,header:(0,Ce.jsx)(nt,{actionsStart:r.actionsStart?(0,Ce.jsx)(d,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?(0,Ce.jsx)(d,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:b,subtitle:r.subtitle}),footer:r.footer?(0,Ce.jsxs)(mo,{alignment:"stretched",children:[(0,Ce.jsx)(d,{text:"Cancel",size:"large",themeColor:"base"}),(0,Ce.jsx)(d,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):(0,Ce.jsx)(Se,{...l,fullscreen:r.fullScreen,header:(0,Ce.jsx)(nt,{actionsStart:r.actionsStart?(0,Ce.jsx)(d,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?(0,Ce.jsx)(d,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:r.subtitle}),footer:r.footer?(0,Ce.jsxs)(mo,{alignment:"stretched",children:[(0,Ce.jsx)(d,{text:"Apply",themeColor:"primary"}),(0,Ce.jsx)(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};$o.options=um;$o.states=mm;$o.variants=bm;$o.defaultOptions=vi;$o.modifiers=hm;$o.className=Se.className;var zr="slider",yi=zr;var Pt=require("react/jsx-runtime"),Ya="k-slider",fm=[c.hover,c.focus,c.active,c.disabled,c.readonly],xm={},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:x=At.showTicks,value:C=At.value,min:y=At.min,max:g=At.max,startValue:h,endValue:I,hover:L,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:[x&&(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:L,focus:D,active:z})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":h??y,"aria-valuemin":y,"aria-valuemax":I??g,"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:L,focus:D,active:z})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?I??g:C,"aria-valuemin":t==="range"?h??y:y,"aria-valuemax":g,"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=fm;ue.options=xm;ue.className=Ya;ue.defaultOptions=At;ue.moduleName=zr;ue.folderName=yi;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 Gr=require("react/jsx-runtime"),ki="k-tick",Cm=[],vm={},Si={label:!1},V=e=>{let{style:t,label:o=Si.label,orientation:l,large:r,text:s,...u}=e;return(0,Gr.jsx)("li",{...u,role:"presentation",title:s||"Tick",className:n(e.className,ki,{[`k-tick-${l}`]:l,"k-tick-large":r}),style:t,children:o&&(0,Gr.jsx)("span",{className:"k-label",children:s})})};V.states=Cm;V.options=vm;V.className=ki;V.defaultOptions=Si;var Ge=require("react/jsx-runtime"),Ni=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"),gi=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 Ur=require("react/jsx-runtime");var Fr=require("react/jsx-runtime");var Ti=require("react/jsx-runtime"),Wr=e=>(0,Ti.jsx)(ue,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var wi=require("react/jsx-runtime"),Vr=e=>(0,wi.jsx)(ue,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var $r=require("react/jsx-runtime");var Xr=require("react/jsx-runtime");var mt=require("react/jsx-runtime"),ym=ue.options,km=ue.states,Mi={...ue.defaultOptions,variant:"horizontal",label:!0},Sm=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Nm=[{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=Mi.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)(gi,{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)(Ni,{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=ym;Xo.states=km;Xo.variants=Sm;Xo.defaultOptions=Mi;Xo.modifiers=Nm;Xo.className=ue.className;var Qa=require("react/jsx-runtime"),Li="k-spin-button",wm=[],Mm={size:[p.undefined,p.small,p.medium,p.large],fillMode:[S.undefined,S.solid,S.flat,S.outline,S.clear,S.link]},Jr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},xo=e=>{let{size:t,fillMode:o,disabled:l,increaseLabel:r=Jr.increaseLabel,decreaseLabel:s=Jr.decreaseLabel,...u}=e;return(0,Qa.jsxs)("span",{...u,className:n(Li,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=wm;xo.options=Mm;xo.className=Li;xo.defaultOptions=Jr;xo.moduleName=null;xo.folderName=null;var Ei="numeric-textbox",Ai="numerictextbox";var Fe