@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 197 kB
JavaScript
var a=(...e)=>e.filter(o=>o!==!0&&!!o).map(o=>Array.isArray(o)?a(...o):typeof o=="object"?Object.keys(o).map((t,r)=>o[r]||o[t]&&t||null).filter(t=>t!==null).join(" "):o).filter(o=>!!o).join(" ");var M=(e,o)=>a({[`${e}-xs`]:o.size==="xsmall",[`${e}-sm`]:o.size==="small",[`${e}-md`]:o.size==="medium",[`${e}-lg`]:o.size==="large",[`${e}-xl`]:o.size==="xlarge",[`${e}-xxl`]:o.size==="xxlarge",[`${e}-xxxl`]:o.size==="xxxlarge"},{[`${e}-${o.fillMode}`]:o.fillMode},{[`${e}-${o.themeColor}`]:o.themeColor},{"k-rounded-sm":o.rounded==="small","k-rounded-md":o.rounded==="medium","k-rounded-lg":o.rounded==="large","k-rounded-full":o.rounded==="full","k-rounded-none":o.rounded==="none"}),y=(e,o)=>{let{valid:t,invalid:r,hover:l,focus:n,checked:c,active:m,selected:b,disabled:h,indeterminate:g,loading:k,empty:u,readonly:w,highlighted:C,...E}=o;return a({"k-valid":t,"k-invalid":r,"k-hover":l,"k-focus":n,"k-checked":c,"k-active":m,"k-selected":b,"k-disabled":h,"k-indeterminate":g&&!c,"k-loading":k,"k-empty":u,"k-readonly":w,"k-highlighted":C},Object.keys(E).reduce((G,H)=>(H.startsWith("k-")?G[H]=E[H]:G[`k-${H}`]=E[H],G),{}))};function gn(e,o){if(!o)return{};let t=Array.isArray(o)?o:[o];return Object.fromEntries(t.map(r=>[`k-${r}`,!0]))}var s={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},x={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},N={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Oo={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},L={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={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 ul={};function A(e){return ul[e]=(ul[e]||0)+1,`k-${e}-${ul[e]}`}var Z="grid",oe=Z;import{jsx as Uc,jsxs as Fc}from"react/jsx-runtime";var Nr="k-grid",Dc=[],Bc={size:[s.undefined,s.small,s.medium,s.large]},zc=[],hn={pagerPosition:"bottom"},P=e=>{let{size:o,pagerPosition:t=hn.pagerPosition,toolbar:r,pager:l,groupingHeader:n,gridSelectionAggregates:c,_renderAriaRoot:m,resizable:b,ariaColCount:h,ariaRowCount:g,ariaRootId:k,ariaRole:u="grid",...w}=e;return Fc("div",{...w,className:a(e.className,Nr,{[`${Nr}-resizable`]:b},M(Nr,{size:o})),children:[r,t==="top"&&l,n,e.children&&m?Uc("div",{className:"k-grid-aria-root",role:u,id:k,"aria-colcount":h,"aria-rowcount":g,children:e.children}):e.children,c,t==="bottom"&&l]})};P.states=Dc;P.options=Bc;P.variants=zc;P.className=Nr;P.defaultOptions=hn;P.moduleName=Z;P.folderName=oe;P.ariaSpec={selector:".k-grid",rules:[{selector:".k-grid-toolbar",attribute:"role=toolbar",usage:"The toolbar is a collection of command buttons and inputs."},{selector:".k-grid-toolbar",attribute:"aria-label",usage:"Clarifies the purpose of the toolbar."},{selector:".k-grid-toolbar",attribute:"aria-controls=.k-grid-aria-root id (when present)",usage:"Pointing to the id of the element with role=grid."},{selector:".k-grouping-header",attribute:"role=toolbar",usage:"The Grouping pane is a ToolBar (collection of buttons)."},{selector:".k-grouping-header",attribute:"aria-label",usage:"Clarifies the purpose of the grouping pane."},{selector:".k-grouping-header",attribute:"aria-controls=.k-grid-aria-root id (when present)",usage:"Pointing to the id of the element with role=grid."},{selector:".k-grouping-header .k-chip-list",attribute:"role=none",usage:"The ChipList default listbox role is removed to keep the toolbar --> button roles hierarchy."},{selector:".k-grouping-header .k-chip",attribute:"role=button",usage:"If the element used is not <button>, then the role must be specified."},{selector:".k-grid:not(.k-treelist) .k-grid-aria-root",attribute:"role=grid",usage:"The role specifies the element is a Data Grid."},{selector:".k-grid-aria-root",attribute:"aria-colcount (when present)",usage:"The total number of columns in the Grid. Needed for Virtual columns and Hidden columns scenarios."},{selector:".k-grid-aria-root",attribute:"aria-rowcount (when present)",usage:"The total number of rows in the table. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:".k-grid-header-wrap>table",attribute:"role=none",usage:"Negates the default semantic role of the <table> element."},{selector:".k-grid-header-wrap>table>thead",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)",attribute:"aria-rowindex (when present)",usage:"Row number. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th:not(.k-hierarchy-cell):not(.k-group-cell):not(.k-drag-cell)",attribute:"role=columnheader",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th",attribute:"aria-sort (when present)",usage:"Present if sorting is enabled for that column."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th",attribute:"aria-colindex (when present)",usage:"Col number. Needed for Virtual columns and Hidden columns scenarios."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th",attribute:"aria-haspopup=dialog (when present)",usage:"Present if the column has a ColumnMenu or FilterMenu."},{selector:".k-grid-header-wrap>table>thead>tr.k-filter-row>td",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr.k-filter-row>td",attribute:"aria-label",usage:"Has a label indicating that the cell is part of a filter row."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table, .k-grid-pinned-container .k-grid-table",attribute:"role=none",usage:"Negates the default semantic role of the <table> element."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody, .k-grid-pinned-container tbody",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr, .k-grid-pinned-container tbody tr",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr, .k-grid-pinned-container tbody tr",attribute:"aria-rowindex (when present)",usage:"Row number. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr>td, .k-grid-pinned-container tbody td",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr>td, .k-grid-pinned-container tbody td",attribute:"aria-colindex (when present)",usage:"Col number. Needed for Virtual columns and Hidden columns scenarios."},{selector:"tr.k-selected",attribute:"aria-selected=true",usage:"Set on the currently selected row(s) in row selection mode. All cells within the selected row also carry aria-selected=true (without k-selected class). Applies to both regular and pinned rows."},{selector:"td.k-selected",attribute:"aria-selected=true",usage:"Set on the currently selected cell(s) in cell selection mode. The k-selected class on cells is only applied in cell selection mode, but aria-selected=true is present on cells regardless of selection mode."},{selector:".k-master-row .k-hierarchy-cell, .k-grouping-row>td",attribute:"aria-expanded",usage:"For cells holding grouping criteria values and for Master row cells in Detail template scenario."},{selector:".k-group-cell",attribute:"role=presentation",usage:"Group offset cells (header and content) are non-interactive placeholders with no semantic role."},{selector:".k-drag-cell",attribute:"aria-label",usage:"Must be present in a Drag Row scenario on the cell containing the drag handle."},{selector:".k-grid-header-locked table tr",attribute:"aria-owns",usage:"Locked header rows own cells from the corresponding non-locked header table rows."},{selector:".k-grid-content-locked table tr:not(.k-grouping-row)",attribute:"aria-owns",usage:"Locked content rows own cells from the corresponding non-locked content table rows. Group header rows are excluded because the non-locked group header rows are presentational."},{selector:".k-grid-lockedcolumns .k-grid-header .k-grid-header-wrap table tr",attribute:"role=none",usage:"Non-locked header rows have their semantic role removed when locked columns exist."},{selector:".k-grid-lockedcolumns .k-grid-content table tr",attribute:"role=none",usage:"Non-locked content rows have their semantic role removed when locked columns exist."},{selector:".k-grid-lockedcolumns .k-grid-header .k-grid-header-wrap th",attribute:"role=columnheader",usage:"Non-locked header cells retain columnheader role so they are announced correctly when owned via aria-owns."},{selector:".k-grid-lockedcolumns .k-grid-content td:not(.k-grouping-row td)",attribute:"role=gridcell",usage:"Non-locked data cells retain gridcell role so they are announced correctly when owned via aria-owns. Cells inside group header rows are excluded as those rows are presentational."},{selector:".k-grid-filter-popup",attribute:"role=dialog",usage:"The filter menu popup has dialog role."},{selector:".k-grid-filter-popup",attribute:"id",usage:"Unique id linked to the header cell aria-controls attribute."},{selector:".k-grid-filter-popup",attribute:"aria-label",usage:'Descriptive label for the filter menu, e.g. "Column Title Filter Menu".'},{selector:".k-grid-columnmenu-popup",attribute:"role=dialog",usage:"The column menu popup has dialog role."},{selector:".k-grid-columnmenu-popup",attribute:"id",usage:"Unique id linked to the header cell aria-controls attribute."},{selector:".k-grid-columnmenu-popup",attribute:"aria-label",usage:'Descriptive label for the column menu, e.g. "Column Title Column Menu".'},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"role=button",usage:"Column menu items have button role."},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"tabindex=0",usage:"Column menu items are focusable."},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"aria-expanded",usage:"Expandable column menu items announce their expanded state."},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"aria-controls",usage:"Expandable items point to the id of the content they control."},{selector:".k-grid-columnmenu-popup .k-column-list",attribute:"role=listbox",usage:"The column list is a listbox."},{selector:".k-grid-columnmenu-popup .k-column-list",attribute:"aria-multiselectable=true",usage:"The column list supports multiple selections."},{selector:".k-grid-columnmenu-popup .k-column-list",attribute:"aria-label",usage:"Accessible name for the column list."},{selector:".k-grid-columnmenu-popup .k-column-list-item",attribute:"role=option",usage:"Column list items are options."},{selector:".k-grid-columnmenu-popup .k-column-list-item",attribute:"aria-checked",usage:"Column list items announce their checked state."},{selector:"tfoot",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:"tfoot tr",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:"tfoot tr",attribute:"aria-rowindex (when present)",usage:"Row number. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:"tfoot tr td",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed."},{selector:"tfoot tr td",attribute:"aria-colindex (when present)",usage:"Col number. Needed for Virtual columns and Hidden columns scenarios."},{selector:".k-grid-selection-aggregates",attribute:"aria-live=polite",usage:"Ensures that changes in the calculated selection aggregates are announced by assistive technologies."},{selector:".k-grid-stack-cell",attribute:"tabindex=0",usage:"Stacked cell elements receive tabindex 0 when focus is within their parent .k-grid-stack-row element."},{selector:".k-grid-sticky-container",attribute:"role=none",usage:"Sticky group container has no semantic role."},{selector:".k-grid-sticky-container .k-grid-table",attribute:"role=none",usage:"Negates the default semantic role of the sticky group <table> element."},{selector:".k-grid-sticky-container tbody",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-sticky-container tr",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-sticky-container tr",attribute:"aria-rowindex",usage:"Matches the aria-rowindex of the real group header/footer row it mirrors."},{selector:".k-grid-sticky-container td:not(.k-group-cell)",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed. Group offset cells are excluded as they retain role=presentation."},{selector:".k-grid-sticky-container .k-grouping-row>td",attribute:"aria-expanded",usage:"Mirrors the expanded/collapsed state of the real group header row."},{selector:".k-grid-sticky-container td:not(.k-group-cell)",attribute:"tabindex",usage:"Receives tabindex 0 when focused, -1 otherwise, for keyboard navigation. Group offset cells are excluded as they are presentational."},{selector:".k-grid-sticky-container td",attribute:"aria-colindex (when present)",usage:"Col number. Typically 1 for the group header cell spanning all columns."},{selector:".k-grid-pinned-container",attribute:"role=none",usage:"Container for pinned rows has no semantic role."},{selector:".k-grid-pinned-container .k-grid-pinned-wrap",attribute:"role=none",usage:"Inner wrapper for the pinned rows table has no semantic role."},{selector:".k-grid-pinned-container tbody",attribute:"aria-label",usage:'Describes the purpose of the pinned rows group, e.g. "Top pinned rows" or "Bottom pinned rows".'},{selector:".k-grid-pinned-container td",attribute:"aria-haspopup=menu (when present)",usage:"Pinned row cells announce the context menu for row pinning operations."},{selector:".k-grid-pinned-container td",attribute:"aria-controls",usage:"Points to the ID of the context menu popup for row pinning."},{selector:".k-grid-pinned-container td",attribute:"aria-expanded",usage:"Indicates whether the context menu popup is open."},{selector:".k-grid-content td",attribute:"aria-haspopup=menu (when present)",usage:"Regular data cells announce context menu when row pinning uses contextual mode."},{selector:".k-grid-content td",attribute:"aria-controls",usage:"Points to the ID of the context menu popup for row pinning."},{selector:".k-grid-content td",attribute:"aria-expanded",usage:"Indicates whether the context menu popup is open."},{selector:'.k-pin-cell [class*="k-icon"]',attribute:"aria-hidden=true",usage:"Pin/unpin icon inside the dedicated column is decorative and must be hidden from assistive technologies."}]};import{jsx as $c}from"react/jsx-runtime";var xn="k-grid-header",q=e=>{let{draggable:o,...t}=e;return $c("div",{...t,className:a(e.className,xn,{"k-grid-draggable-header":o}),children:e.children})};q.className=xn;q.moduleName=Z;q.folderName=oe;import{jsx as Nn,jsxs as Vc}from"react/jsx-runtime";var kn="k-grouping-header",Pe=e=>{let{dropHint:o,dropClue:t,...r}=e;return Vc("div",{...r,className:a(e.className,kn),children:[t&&Nn("div",{className:"k-grouping-dropclue"}),e.children,Nn("div",{className:"k-grouping-drop-container",children:o})]})};Pe.className=kn;Pe.moduleName=Z;Pe.folderName=oe;import{jsx as Wc}from"react/jsx-runtime";var vn="k-grid-pinned-container",za=e=>{let{position:o,...t}=e;return Wc("div",{...t,className:a(e.className,vn,{"k-pos-bottom":o==="bottom"}),children:e.children})};za.className=vn;za.moduleName=Z;za.folderName=oe;import{jsx as Xc}from"react/jsx-runtime";var wn="k-grid-sticky-container",Ua=e=>{let{position:o,...t}=e;return Xc("div",{...t,className:a(e.className,wn,{"k-pos-bottom":o==="bottom"}),children:e.children})};Ua.className=wn;Ua.moduleName=Z;Ua.folderName=oe;var Ee="table",_e=Ee;import{jsx as Qc}from"react/jsx-runtime";var Cn="k-data-table",Jc=[],qc={size:[s.undefined,s.small,s.medium,s.large]},Yc={},Uo=e=>{let{size:o,...t}=e;return Qc("div",{...t,className:a(e.className,Cn,M("k-table",{size:o})),children:e.children})};Uo.states=Jc;Uo.options=qc;Uo.className=Cn;Uo.defaultOptions=Yc;Uo.moduleName=Ee;Uo.folderName=_e;import{jsx as op}from"react/jsx-runtime";var bl="k-table-header-wrap",Zc=[i.hover,i.focus,i.disabled],jc={},ep={},ot=e=>{let{children:o,hover:t,focus:r,disabled:l,...n}=e;return op("div",{...n,className:a(e.className,bl,y(bl,{hover:t,focus:r,disabled:l})),children:o})};ot.states=Zc;ot.options=jc;ot.className=bl;ot.defaultOptions=ep;ot.moduleName=Ee;ot.folderName=_e;import{jsx as lp}from"react/jsx-runtime";var fl="k-table",tp=[],ap={size:[s.undefined,s.small,s.medium,s.large]},rp={},Ke=e=>{let{size:o,...t}=e;return lp("table",{...t,className:a(e.className,fl,M(fl,{size:o})),children:e.children})};Ke.states=tp;Ke.options=ap;Ke.className=fl;Ke.defaultOptions=rp;Ke.moduleName=Ee;Ke.folderName=_e;import{jsx as Tl}from"react/jsx-runtime";var gl="k-table-header",ip=[i.hover,i.focus,i.disabled],np={},sp={},Fo=e=>{let{children:o,hover:t,focus:r,disabled:l,...n}=e;return Tl("div",{...n,className:a(e.className,gl,y(gl,{hover:t,focus:r,disabled:l})),children:Tl(ot,{children:Tl(Ke,{children:o})})})};Fo.states=ip;Fo.options=np;Fo.className=gl;Fo.defaultOptions=sp;Fo.moduleName=Ee;Fo.folderName=_e;import{jsx as mp}from"react/jsx-runtime";var Ln="k-table-scroller",dp=[],cp={},pp={},$t=e=>{let{children:o,...t}=e;return mp("div",{...t,className:a(e.className,Ln),children:o})};$t.states=dp;$t.options=cp;$t.className=Ln;$t.defaultOptions=pp;$t.moduleName=Ee;$t.folderName=_e;import{jsx as tk}from"react/jsx-runtime";import{jsx as Tp}from"react/jsx-runtime";var Mn="k-table-footer",up=[],bp={},fp={},tt=e=>{let{children:o,...t}=e;return Tp("div",{...t,className:a(e.className,Mn),children:o})};tt.states=up;tt.options=bp;tt.className=Mn;tt.defaultOptions=fp;tt.moduleName=Ee;tt.folderName=_e;import{jsx as Np}from"react/jsx-runtime";var hl="k-table-list",gp=[],hp={size:[s.undefined,s.small,s.medium,s.large]},xp={},at=e=>{let{size:o,virtualization:t,...r}=e;return Np("ul",{...r,className:a(e.className,"k-table",hl,M(hl,{size:o}),{"k-virtual-table":t}),children:e.children})};at.states=gp;at.options=hp;at.className=hl;at.defaultOptions=xp;at.moduleName=Ee;at.folderName=_e;import{jsx as vp}from"react/jsx-runtime";var kp="k-table-thead",F=e=>vp("thead",{className:a(e.className,kp),children:e.children});import{jsx as Cp}from"react/jsx-runtime";var wp="k-table-tbody",V=e=>Cp("tbody",{className:a(e.className,wp),children:e.children});import{jsx as Nk}from"react/jsx-runtime";import{jsx as Mp}from"react/jsx-runtime";var xl="k-table-row",Lp=[i.hover,i.focus,i.selected,i.disabled,i.highlighted],v=e=>{let{hover:o,focus:t,selected:r,highlighted:l,disabled:n,alt:c,...m}=e;return Mp("tr",{...m,className:a(e.className,xl,{"k-table-alt-row":c},y(xl,{hover:o,focus:t,disabled:n,selected:r,highlighted:l})),children:e.children})};v.states=Lp;v.className=xl;import{jsx as Sp}from"react/jsx-runtime";var Nl="k-table-row",yp=[i.hover,i.focus,i.selected,i.disabled],kr=e=>{let{hover:o,focus:t,selected:r,disabled:l,alt:n,...c}=e;return Sp("li",{...c,className:a(e.className,Nl,{"k-table-alt-row":n},y(Nl,{hover:o,focus:t,disabled:l,selected:r})),children:e.children})};kr.states=yp;kr.className=Nl;import{jsx as Ap}from"react/jsx-runtime";var yn="k-table-th",$o=e=>{let{text:o,colspan:t,rowspan:r,...l}=e,n=o||e.children;return Ap("th",{colSpan:t,rowSpan:r,...l,className:a(e.className,yn),children:n})};$o.className=yn;$o.moduleName=Ee;$o.folderName=_e;import{jsx as Ok}from"react/jsx-runtime";import{jsx as Rp}from"react/jsx-runtime";var kl="k-table-td",Ip=[i.focus,i.selected,i.highlighted],d=e=>{let{focus:o,selected:t,highlighted:r,text:l,colspan:n,rowspan:c,...m}=e,b=l||e.children;return Rp("td",{colSpan:n,rowSpan:c,...m,className:a(e.className,kl,y(kl,{focus:o,selected:t,highlighted:r})),children:b})};d.states=Ip;d.className=kl;import{jsx as zk}from"react/jsx-runtime";import{jsx as Vk}from"react/jsx-runtime";import{jsx as qk}from"react/jsx-runtime";import{jsx as jk}from"react/jsx-runtime";import{jsx as av}from"react/jsx-runtime";import{jsx as cv,jsxs as pv}from"react/jsx-runtime";import{jsx as fv,jsxs as Tv}from"react/jsx-runtime";import{jsx as Nv,jsxs as kv}from"react/jsx-runtime";import{Fragment as yv,jsx as Lv,jsxs as Mv}from"react/jsx-runtime";import{jsx as Op}from"react/jsx-runtime";var In="k-grid-header-table",W=e=>Op(Ke,{...e,className:a(e.className,In),children:e.children});W.className=In;W.moduleName=Z;W.folderName=oe;import{Fragment as Kp,jsx as Rn}from"react/jsx-runtime";var vl="k-font-icon",Hp=[],Pp={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info]},_p={},Fa=e=>{let{size:o,themeColor:t,icon:r,rotate:l,flip:n,...c}=e;return r?Rn("span",{...c,className:a(e.className,vl,M(vl,{size:o}),{[`k-i-${r}`]:r,[`k-color-${t}`]:t,[`k-rotate-${l}`]:l,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true"}):Rn(Kp,{})};Fa.states=Hp;Fa.options=Pp;Fa.className=vl;Fa.defaultOptions=_p;var En=Fa;import{Fragment as zp,jsx as vr}from"react/jsx-runtime";var wl="k-svg-icon",Dp=[],Bp={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[Oo.outline,Oo.solid,Oo.duotone]},Cl={viewBox:"0 0 24 24",variant:Oo.outline},$a=e=>{let{size:o,themeColor:t,rotate:r,flip:l,viewBox:n=Cl.viewBox,variant:c=Cl.variant,icon:m,...b}=e;if(!m)return vr(zp,{});if(m==="none")return vr("span",{...b,className:a(e.className,wl,M("k-icon",{size:o}),"k-none"),"aria-hidden":"true"});let h=typeof m=="object"&&m.name&&m.name,g=typeof m=="object"?c&&m.variants?.[c]||m.variants?.outline||m.content:void 0;return vr("span",{...b,className:a(e.className,wl,M("k-icon",{size:o}),{[`k-svg-i-${h}`]:h,[`k-color-${t}`]:t,[`k-rotate-${r}`]:r,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true",children:vr("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:n,dangerouslySetInnerHTML:g!==void 0?{__html:g}:void 0,children:m?void 0:e.children})})};$a.states=Dp;$a.options=Bp;$a.className=wl;$a.defaultOptions=Cl;var Ll=$a;import*as Ml from"@progress/kendo-svg-icons";var Gn="icon",On="icons";import{useContext as Fp}from"react";import{createContext as Up}from"react";var Hn=Up({iconsType:"svg"});import{Fragment as Pn,jsx as Va}from"react/jsx-runtime";var wr="k-icon",$p=e=>e.replace(/([-_][a-z0-9])/gi,o=>o.toUpperCase().replace("-","").replace("_","")),Vp=[],Wp={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[Oo.outline,Oo.solid,Oo.duotone]},Cr={viewBox:"0 0 24 24",type:"svg",variant:Oo.outline},f=e=>{let{iconsType:o}=Fp(Hn),{size:t,themeColor:r,icon:l,type:n=o||Cr.type,rotate:c,flip:m,viewBox:b=Cr.viewBox,variant:h=Cr.variant,...g}=e;if(!l)return Va(Pn,{});if((o||n)==="svg"){if(l==="none")return Va(Ll,{...g,className:a(e.className,wr),icon:l,size:t,variant:h});let u=Ml[l]?l:$p(`${l}-icon`);return Ml[u]?Va(Ll,{...g,className:a(e.className,wr),icon:Ml[u],size:t,themeColor:r,rotate:c,flip:m,viewBox:b,variant:h}):Va(Pn,{})}return Va(En,{...g,className:a(e.className,wr),icon:l,size:t,themeColor:r,rotate:c,flip:m})};f.states=Vp;f.options=Wp;f.defaultOptions=Cr;f.className=wr;f.moduleName=Gn;f.folderName=On;f.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."}]};import{jsx as rt,jsxs as yl}from"react/jsx-runtime";var Sl="k-header",Xp=[i.hover,i.focus,i.active],_n={sortIcon:"sort-asc-small"},I=e=>{let{menu:o,sortable:t,filterable:r,sticky:l,resizable:n,columnTitle:c,hover:m,focus:b,active:h,sortIcon:g=_n.sortIcon,sortOrder:k,accessibleLabel:u,...w}=e;return yl($o,{...w,className:a(e.className,Sl,{"k-filterable":o||r,"k-sorted":t,"k-grid-header-sticky":l,"k-touch-action-none":n},y(Sl,{hover:m,focus:b,active:h})),children:[c&&yl("span",{className:"k-cell-inner",children:[yl("span",{className:"k-link",children:[rt("span",{className:"k-column-title",children:c}),t&&rt("span",{className:"k-sort-icon",children:rt(f,{icon:g})}),k&&rt("span",{className:"k-sort-order",children:k})]}),o&&rt("a",{className:a("k-grid-header-menu",{"k-active":h,"k-grid-filter-menu":o==="filter","k-grid-column-menu":o==="column"}),children:rt(f,{icon:o==="filter"?"filter":"more-vertical"})})]}),!c&&u&&rt("span",{className:"k-sr-only",children:u}),e.children,n&&rt("span",{className:"k-column-resizer k-touch-action-none"})]})};I.states=Xp;I.className=Sl;I.defaultOptions=_n;I.moduleName=Z;I.folderName=oe;import{jsx as Jp}from"react/jsx-runtime";var Kn="k-grid-container",X=e=>Jp("div",{...e,className:a(e.className,Kn),children:e.children});X.className=Kn;X.moduleName=Z;X.folderName=oe;import{jsx as qp}from"react/jsx-runtime";var Dn="k-grid-content",J=e=>qp("div",{...e,className:a(e.className,Dn),children:e.children});J.className=Dn;J.moduleName=Z;J.folderName=oe;import{jsx as Yp}from"react/jsx-runtime";var Bn="k-grid-table",$=e=>Yp(Ke,{...e,className:a(e.className,Bn),children:e.children});$.className=Bn;$.moduleName=Z;$.folderName=oe;import{jsx as Qp}from"react/jsx-runtime";var zn="k-grid-footer",Lr=e=>Qp("div",{...e,className:a(e.className,zn),children:e.children});Lr.className=zn;Lr.moduleName=Z;Lr.folderName=oe;import{jsx as Zp}from"react/jsx-runtime";var Un="k-grid-footer-table",Mr=e=>Zp(Ke,{...e,className:a(e.className,Un),children:e.children});Mr.className=Un;Mr.moduleName=Z;Mr.folderName=oe;var Al="button",Fn=Al;import{Fragment as $n,jsx as Vt,jsxs as Vn}from"react/jsx-runtime";var Wa="k-button",jp=["icon-button"],em=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],om={size:[s.undefined,s.xsmall,s.small,s.medium,s.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},Il={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:o="button",size:t,rounded:r,fillMode:l,themeColor:n,showArrow:c=Il.showArrow,arrowIconName:m=Il.arrowIconName,variant:b,hover:h,focus:g,active:k,selected:u,disabled:w,togglable:C,ariaDisabled:E,icon:G,iconSize:H,text:K,iconClassName:be,className:le,...Se}=e,Ae=G!=null,Ie=e.children!==void 0;return Vn(o,{className:a(le,Wa,gn(Wa,b),M(Wa,{size:t,rounded:r,fillMode:l,themeColor:n}),y(Wa,{hover:h,focus:g,active:k,disabled:w||E,selected:u}),{"k-icon-button":!K&&!Ie&&Ae}),"aria-pressed":C?u?"true":"false":void 0,...Se,"aria-disabled":E?"true":void 0,disabled:w||void 0,children:[typeof G=="string"&&G&&Vt(f,{className:a(be,"k-button-icon"),icon:G,size:H}),G&&typeof G!="string"&&Vt($n,{children:G}),K?Vn($n,{children:[K&&Vt("span",{className:"k-button-text",children:K}),e.children]}):e.children&&Vt("span",{className:"k-button-text",children:e.children}),c&&Vt("span",{className:"k-menu-button-arrow k-button-arrow",children:Vt(f,{icon:m})})]})};p.states=em;p.options=om;p.variants=jp;p.className=Wa;p.defaultOptions=Il;p.moduleName=Al;p.folderName=Fn;p.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."}]};import{jsx as tm}from"react/jsx-runtime";var lt=e=>tm(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as am}from"react/jsx-runtime";var Xa=e=>am(p,{icon:"folder",children:"Button",...e});import{jsx as rm}from"react/jsx-runtime";var wt=e=>rm(p,{children:"Button",...e});import{jsx as Rl}from"react/jsx-runtime";var lm=p.options,im=p.states,nm={...p.defaultOptions,variant:"text"},sm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],dm=[],Wt=e=>{let{variant:o,...t}=e;switch(o){case"icon-only":return Rl(lt,{...t,icon:"star"});case"icon-and-text":return Rl(Xa,{...t,icon:"star",children:"Button"});default:return Rl(wt,{...t,children:"Button"})}};Wt.options=lm;Wt.states=im;Wt.variants=sm;Wt.defaultOptions=nm;Wt.modifiers=dm;Wt.className=p.className;var Ja="input",yr=Ja;import{jsx as um}from"react/jsx-runtime";var Sr="k-input",cm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],pm={size:[s.undefined,s.small,s.medium,s.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},mm={},Ce=e=>{let{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:c,readonly:m,size:b,rounded:h,fillMode:g,...k}=e;return um("span",{...k,className:a(e.className,Sr,M(Sr,{size:b,rounded:h,fillMode:g}),y(Sr,{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:c,readonly:m}))})};Ce.states=cm;Ce.options=pm;Ce.className=Sr;Ce.defaultOptions=mm;Ce.moduleName=Ja;Ce.folderName=yr;import{jsx as gm}from"react/jsx-runtime";var Ar="k-picker",bm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],fm={size:[s.undefined,s.small,s.medium,s.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Tm={},Ho=e=>{let{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:c,readonly:m,size:b,rounded:h,fillMode:g,...k}=e;return gm("span",{...k,className:a(e.className,Ar,M(Ar,{size:b,rounded:h,fillMode:g}),y(Ar,{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:c,readonly:m})),children:e.children})};Ho.states=bm;Ho.options=fm;Ho.className=Ar;Ho.defaultOptions=Tm;Ho.moduleName=Ja;Ho.folderName=yr;import{Fragment as Nm,jsx as El}from"react/jsx-runtime";var Wn="k-clear-value",hm=[i.disabled,i.loading,i.readonly],xm={},ao=e=>{let{disabled:o,loading:t,readonly:r,value:l}=e;return o||r||t||!l?El(Nm,{}):El("span",{className:a(e.className,Wn),children:El(f,{icon:"x"})})};ao.states=hm;ao.options=xm;ao.className=Wn;import{jsx as wm}from"react/jsx-runtime";var Gl="k-input-inner",km=[],vm={},Ir={type:"text",autocomplete:"off",value:"",placeholder:""},ro=e=>{let{value:o=Ir.value,type:t=Ir.type,placeholder:r=Ir.placeholder,autocomplete:l=Ir.autocomplete,disabled:n,readOnly:c,...m}=e;return wm("input",{...m,type:t,className:a(e.className,Gl,M(Gl,e)),placeholder:r,autoComplete:l,defaultValue:o,disabled:n||void 0,readOnly:c||void 0})};ro.states=km;ro.options=vm;ro.className=Gl;import{jsx as Xn,jsxs as Mm}from"react/jsx-runtime";var Ol="k-input-inner",Cm=[],Lm={},Ct=e=>{let{value:o,placeholder:t,showValue:r,valueIcon:l,valueIconName:n,...c}=e;return Mm("span",{...c,className:a(e.className,Ol,M(Ol,e)),children:[l,!l&&n&&Xn(f,{className:"k-input-value-icon",icon:n}),r&&!o&&t,r&&o&&Xn("span",{className:"k-input-value-text",children:o})]})};Ct.states=Cm;Ct.options=Lm;Ct.className=Ol;import{jsx as Am}from"react/jsx-runtime";var Hl="k-input-inner",ym=[],Sm={},Jn={value:"",placeholder:""},Pl=e=>{let{value:o=Jn.value,placeholder:t=Jn.placeholder,rows:r,disabled:l,...n}=e;return Am("textarea",{...n,className:a(e.className,Hl,M(Hl,e)),placeholder:t,rows:r,defaultValue:o,disabled:l||void 0})};Pl.states=ym;Pl.options=Sm;Pl.className=Hl;import{Fragment as Rm,jsx as qn}from"react/jsx-runtime";var Yn="k-input-loading-icon",Im=[i.disabled,i.loading],Qe=e=>{let{disabled:o,loading:t}=e;return o||!t?qn(Rm,{}):qn("span",{className:a(e.className,Yn,"k-icon k-i-loading")})};Qe.states=Im;Qe.className=Yn;import{Fragment as Om,jsx as Qn}from"react/jsx-runtime";var Zn="k-input-validation-icon",Em=[i.valid,i.invalid,i.disabled,i.loading],Gm={},Ue=e=>{let{valid:o,invalid:t,disabled:r,loading:l}=e,n=t?"warning-circle":"check-circle";return r||l||!!!(o||t)?Qn(Om,{}):Qn(f,{className:a(Zn),icon:n})};Ue.states=Em;Ue.options=Gm;Ue.className=Zn;import{Fragment as _m,jsx as jn}from"react/jsx-runtime";var Hm="k-input-prefix",Pm={direction:"horizontal"},uo=e=>{let{direction:o=Pm.direction,...t}=e;return e.children?jn("span",{...t,className:a(Hm,e.className,{[`k-input-prefix-${o}`]:o}),children:e.children}):jn(_m,{})};import{Fragment as Bm,jsx as es}from"react/jsx-runtime";var Km="k-input-suffix",Dm={direction:"horizontal"},bo=e=>{let{direction:o=Dm.direction,...t}=e;return e.children?es("span",{...t,className:a(Km,e.className,{[`k-input-suffix-${o}`]:o}),children:e.children}):es(Bm,{})};import{jsx as gL}from"react/jsx-runtime";import{jsx as Um}from"react/jsx-runtime";var zm="k-input-suffix-text",_l=e=>{let{children:o,...t}=e;return Um("span",{...t,className:a(zm,e.className),children:o})};import{jsx as $m}from"react/jsx-runtime";var os="k-input-separator",Fm={direction:"vertical"},fo=e=>{let{direction:o=Fm.direction,...t}=e;return $m("span",{...t,className:a(os,e.className,{[`${os}-${o}`]:o})})};import{Fragment as ts,jsx as Po,jsxs as Kl}from"react/jsx-runtime";var Vm=Ce.states,Wm=Ce.defaultOptions,Xm=Ce.options,Jm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],qm=[],Xt=e=>{let{modifiers:o,valid:t,invalid:r,loading:l,disabled:n,readonly:c,...m}=e,b=o?.prefix,h=o?.suffix,g=o?.["clear-button"],k=o?.["validation-icon"],u=o?.separators;return Kl(Ce,{...m,valid:t,invalid:r,loading:l,disabled:n,readonly:c,style:{width:300},children:[b&&Kl(ts,{children:[Po(uo,{children:Po(f,{icon:"lock"})}),u&&Po(fo,{})]}),Po(ro,{placeholder:"Placeholder",value:"Value"}),k&&Po(Ue,{valid:t,invalid:r,loading:l,disabled:n}),Po(Qe,{loading:l,disabled:n}),g&&Po(ao,{loading:l,disabled:n,readonly:c,value:"Value"}),h&&Kl(ts,{children:[u&&Po(fo,{}),Po(bo,{children:Po(wt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};Xt.options=Xm;Xt.states=Vm;Xt.variants=qm;Xt.defaultOptions=Wm;Xt.modifiers=Jm;Xt.className=Ce.className;var Dl="popup",as=Dl;import{jsx as rs}from"react/jsx-runtime";var ls="k-animation-container",Ym=[],Qm={},Bl={positionMode:"absolute",shown:!0},_o=e=>{let{positionMode:o=Bl.positionMode,shown:t=Bl.shown,animationStyle:r,offset:l,...n}=e;return rs("div",{...n,style:{...l,...e.style},className:a(e.className,ls,{"k-animation-container-shown":t,"k-animation-container-fixed":o==="fixed"}),children:rs("div",{className:"k-child-animation-container",style:r,children:e.children})})};_o.states=Ym;_o.options=Qm;_o.className=ls;_o.defaultOptions=Bl;_o.moduleName=Dl;_o.folderName=as;var zl="popup",is=zl;import{jsx as ns}from"react/jsx-runtime";var ss="k-popup",Zm=[],jm={},ds={positionMode:"absolute"},ie=e=>{let{offset:o,positionMode:t=ds.positionMode,animationStyle:r,containerClassName:l,containerRole:n,containerAriaLabel:c,...m}=e;return ns(_o,{positionMode:t,offset:o,animationStyle:r,className:l,role:n,"aria-label":c,children:ns("div",{...m,className:a(e.className,ss),children:e.children})})};ie.states=Zm;ie.options=jm;ie.className=ss;ie.defaultOptions=ds;ie.moduleName=zl;ie.folderName=is;ie.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 Ul="action-buttons",cs=Ul;import{jsx as tu}from"react/jsx-runtime";var Rr="k-actions",eu=[],ou={},Fl={alignment:"start",orientation:"horizontal"},To=e=>{let{alignment:o=Fl.alignment,orientation:t=Fl.orientation,...r}=e;return tu("div",{...r,className:a(Rr,{[`${Rr}-${o}`]:o,[`${Rr}-${t}`]:t},e.className),children:e.children})};To.states=eu;To.options=ou;To.className=Rr;To.defaultOptions=Fl;To.moduleName=Ul;To.folderName=cs;import{jsx as ru}from"react/jsx-runtime";var au="k-actionsheet-footer",ps={alignment:"stretched",orientation:"horizontal"},it=e=>{let{alignment:o=ps.alignment,orientation:t=ps.orientation,template:r,as:l=r?"div":To,...n}=e;return ru(l,{...n,...!r&&{alignment:o,orientation:t},className:a(e.className,au),children:e.children})};var $l="searchbox",ms=$l;import{jsx as qa,jsxs as nu}from"react/jsx-runtime";var us="k-searchbox",lu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],iu={size:[s.undefined,s.small,s.medium,s.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Vl={showIcon:!0,icon:"search"},lo=e=>{let{value:o,placeholder:t,size:r,rounded:l,fillMode:n,hover:c,focus:m,valid:b,invalid:h,required:g,loading:k,disabled:u,showIcon:w=Vl.showIcon,icon:C=Vl.icon,"aria-label":E,...G}=e;return nu(Ce,{...G,size:r,rounded:l,fillMode:n,hover:c,focus:m,valid:b,invalid:h,required:g,loading:k,disabled:u,className:a(e.className,us),children:[w&&qa(f,{className:"k-input-icon",icon:C}),qa(ro,{placeholder:t,value:o,"aria-label":E}),qa(Qe,{...e}),qa(Ue,{...e}),qa(ao,{...e})]})};lo.states=lu;lo.options=iu;lo.className=us;lo.defaultOptions=Vl;lo.moduleName=$l;lo.folderName=ms;import{jsx as PM}from"react/jsx-runtime";var Wl="textbox",bs=Wl;import{Fragment as fs,jsx as nt,jsxs as Xl}from"react/jsx-runtime";var Ts="k-textbox",su=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],du={size:[s.undefined,s.small,s.medium,s.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Er={showClearButton:!0,showValidationIcon:!0,separators:!0},fe=e=>{let{size:o,rounded:t,fillMode:r,separators:l=Er.separators,showClearButton:n=Er.showClearButton,showValidationIcon:c=Er.showValidationIcon,prefix:m,suffix:b,type:h,value:g,placeholder:k,hover:u,focus:w,valid:C,invalid:E,required:G,loading:H,disabled:K,readonly:be,id:le,"aria-label":Se,"aria-describedby":Ae,...Ie}=e;return Xl(Ce,{...Ie,size:o,rounded:t,fillMode:r,hover:u,focus:w,valid:C,invalid:E,required:G,loading:H,disabled:K,readonly:be,className:a(e.className,Ts),children:[m&&Xl(fs,{children:[nt(uo,{children:m}),l&&nt(fo,{})]}),nt(ro,{id:le,placeholder:k,value:g,type:h,disabled:K,"aria-label":Se,"aria-describedby":Ae,"aria-invalid":E?"true":void 0}),c&&nt(Ue,{valid:C,invalid:E,loading:H,disabled:K}),nt(Qe,{loading:H,disabled:K}),n&&nt(ao,{loading:H,disabled:K,readonly:be,value:g}),b&&Xl(fs,{children:[l&&nt(fo,{}),nt(bo,{children:b})]})]})};fe.states=su;fe.options=du;fe.className=Ts;fe.defaultOptions=Er;fe.moduleName=Wl;fe.folderName=bs;fe.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var Ya=fe;import{jsx as cu}from"react/jsx-runtime";var gs=e=>cu(Ya,{...e});import{Fragment as ey,jsx as jM}from"react/jsx-runtime";import{Fragment as iy,jsx as ly}from"react/jsx-runtime";import{jsx as cy}from"react/jsx-runtime";import{jsx as Jl}from"react/jsx-runtime";var pu=fe.states,mu=fe.defaultOptions,uu=fe.options,bu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],fu=[],Jt=e=>{let{modifiers:o,...t}=e,r={};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":r.prefix=o?.[l]?Jl(f,{icon:"lock"}):void 0;break;case"suffix":r.suffix=o?.[l]?Jl(wt,{size:t.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":r.showClearButton=o?.[l];break;default:break}}),Jl(gs,{value:"Value",style:{width:300},...t,...r})};Jt.options=uu;Jt.states=pu;Jt.variants=fu;Jt.defaultOptions=mu;Jt.modifiers=bu;Jt.className=fe.className;import{jsx as st,jsxs as ql}from"react/jsx-runtime";var hs="k-actionsheet-titlebar",Tu={},Fe=e=>{let{title:o,subtitle:t,actionsStart:r,actionsEnd:l,filter:n,input:c,inputValue:m,inputPlaceholder:b,adaptive:h,titleId:g,children:k,...u}=e;return ql("div",{...u,className:a(e.className,hs),children:[ql("div",{className:"k-actionsheet-titlebar-group",children:[r&&st("div",{className:"k-actionsheet-actions",children:r}),!k&&ql("div",{className:"k-actionsheet-title",id:g,children:[o&&st("div",{className:"k-text-center",children:o}),t&&st("div",{className:"k-actionsheet-subtitle k-text-center",children:t})]}),k&&st("div",{className:"k-actionsheet-title",id:g,children:k}),l&&st("div",{className:"k-actionsheet-actions",children:l})]}),(c||n)&&st("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?st(fe,{value:m,placeholder:b,size:h?"large":"medium","aria-label":o||b||"Input"}):st(lo,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};Fe.className=hs;Fe.defaultOptions=Tu;import{jsx as Yl,jsxs as Nu}from"react/jsx-runtime";var Ql="k-actionsheet-view",gu=[],hu={},xu={},qt=e=>{let{adaptive:o,animated:t,children:r,header:l,footer:n,titleId:c,...m}=e,b=l?.type===Fe&&Yl(Fe,{adaptive:o,titleId:c,...l?.props}),h=n?.type===it&&Yl(it,{...n?.props});return Nu("div",{...m,className:a(e.className,Ql,{[`${Ql}-animated`]:t}),children:[b,Yl("div",{className:"k-actionsheet-content",children:r}),h]})};qt.states=gu;qt.options=hu;qt.className=Ql;qt.defaultOptions=xu;var Qa="action-sheet",Gr=Qa;var Zl="overlay",xs=Zl;import{jsx as Cu}from"react/jsx-runtime";var Ns="k-overlay",ku=[],vu={},wu={},dt=e=>{let{...o}=e;return Cu("div",{...o,className:a(e.className,Ns),children:e.children})};dt.states=ku;dt.options=vu;dt.className=Ns;dt.defaultOptions=wu;dt.moduleName=Zl;dt.folderName=xs;import{jsx as Or,jsxs as yu}from"react/jsx-runtime";var ks="k-actionsheet",Lu=[],Mu={},Za={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ke=e=>{let{side:o=Za.side,fullscreen:t=Za.fullscreen,adaptive:r=Za.adaptive,overlay:l=Za.overlay,template:n,children:c,header:m,footer:b,id:h,...g}=e,k=h&&!n&&m?`${h}-title`:void 0;return yu("div",{className:"k-actionsheet-container",children:[l&&Or(dt,{}),Or(_o,{animationStyle:{[`${t===!0?"top":o}`]:0,[`${t===!0?"width":null}`]:"100%",[`${t===!0?"height":null}`]:"100%",[`${o==="top"||o==="bottom"?"width":null}`]:"100%",[`${o==="left"||o==="right"?"height":null}`]:"100%"},children:Or("div",{...g,id:h,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":k,className:a(e.className,ks,{[`k-actionsheet-${o}`]:t===!1,"k-actionsheet-fullscreen":t===!0,"k-adaptive-actionsheet":r}),children:n||Or(qt,{header:m,footer:b,adaptive:r,titleId:k,...e,children:c})})})]})};ke.states=Lu;ke.options=Mu;ke.className=ks;ke.defaultOptions=Za;ke.moduleName=Qa;ke.folderName=Gr;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."}]};import{jsx as Ru}from"react/jsx-runtime";var vs="k-actionsheet-container",Su=[],Au={},Iu={},Yt=e=>{let{children:o,...t}=e;return Ru("div",{...t,className:vs,children:o})};Yt.states=Su;Yt.options=Au;Yt.className=vs;Yt.defaultOptions=Iu;Yt.moduleName=Qa;Yt.folderName=Gr;import{jsx as Eu}from"react/jsx-runtime";var jl=e=>{let{...o}=e;return Eu("div",{...o,className:a(e.className,"k-list-ul"),children:e.children})};import{Fragment as Ou,jsx as ja,jsxs as ei}from"react/jsx-runtime";var oi="k-actionsheet-item",Gu=[i.hover,i.focus,i.selected,i.disabled],ct=e=>{let{iconName:o,text:t,description:r,hover:l,focus:n,selected:c,disabled:m,...b}=e;return ei("span",{...b,className:a(e.className,oi,y(oi,{hover:l,focus:n,selected:c,disabled:m})),children:[!e.children&&ja(Ou,{children:ei("span",{className:"k-actionsheet-action",children:[o&&ja("span",{className:"k-icon-wrap",children:ja(f,{className:"k-actionsheet-item-icon",icon:o})}),ei("span",{className:"k-actionsheet-item-text",children:[t&&ja("span",{className:"k-actionsheet-item-title",children:t}),r&&ja("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};ct.states=Gu;ct.className=oi;import{jsx as dS,jsxs as cS}from"react/jsx-runtime";import{jsx as bS}from"react/jsx-runtime";import{jsx as hS}from"react/jsx-runtime";import{jsx as vS}from"react/jsx-runtime";import{jsx as Ge,jsxs as ti}from"react/jsx-runtime";var Hu=ke.options,Pu=ke.states,Cs={...ke.defaultOptions,variant:"normal"},_u=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Ku=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Qt=e=>{let{variant:o,modifiers:t,...r}={...Cs,...e},l={},n=ti(jl,{children:[Ge(ct,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),Ge(ct,{text:"Add to Favorites",iconName:"heart"}),Ge(ct,{text:"Upload New",iconName:"upload",disabled:!0}),Ge("hr",{className:"k-hr"}),Ge(ct,{text:"Cancel",iconName:"cancel"})]}),c="Choose from the items below",m="Select Item";return o==="fullScreen"&&(l.fullScreen=!0),Object.keys(t||{}).forEach(b=>{switch(b){case"actions":l.actionsStart=!!t?.[b],l.actionsEnd=!!t?.[b];break;case"subtitle":l.subtitle=t?.[b]?c:void 0;break;case"footer":l.footer=!!t?.[b];break;default:break}}),o==="adaptive"?Ge(ke,{...r,adaptive:!0,fullscreen:l.fullScreen,header:Ge(Fe,{actionsStart:l.actionsStart?Ge(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?Ge(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:l.subtitle}),footer:l.footer?ti(it,{alignment:"stretched",children:[Ge(p,{text:"Cancel",size:"large",themeColor:"base"}),Ge(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:n}):Ge(ke,{...r,fullscreen:l.fullScreen,header:Ge(Fe,{actionsStart:l.actionsStart?Ge(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?Ge(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:l.subtitle}),footer:l.footer?ti(it,{alignment:"stretched",children:[Ge(p,{text:"Apply",themeColor:"primary"}),Ge(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:n})};Qt.options=Hu;Qt.states=Pu;Qt.variants=_u;Qt.defaultOptions=Cs;Qt.modifiers=Ku;Qt.className=ke.className;import ri from"react";import{jsx as Ls}from"react/jsx-runtime";var Du="k-list-group-sticky-header",ai=e=>Ls("div",{className:a(Du,e.className),children:Ls("div",{className:"k-list-header-text",children:e.children})});import{jsx as zu}from"react/jsx-runtime";var Bu="k-no-data",Hr=e=>{let{live:o,...t}=e;return zu("span",{...t,className:a(Bu,e.className),"aria-live":o?"polite":void 0,children:e.children})};var Lt="list",Zt=Lt;import{jsx as Ms,jsxs as ys}from"react/jsx-runtime";var li="k-list",Uu=[],Fu={size:[s.undefined,s.small,s.medium,s.large]},$u={},te=e=>{let{size:o,virtualization:t,children:r,header:l,selectAll:n,optionLabel:c,customValue:m,noData:b,screenReaders:h,...g}=e,u=ri.Children.toArray(r)[0],w=u?.props?.children?ri.Children.count(u.props.children):ri.Children.count(r);return ys("div",{...g,className:a(e.className,li,M(li,{size:o}),{"k-virtual-list":t}),children:[c,n,m,l&&Ms(ai,{children:l}),r||(b!==void 0?b:Ms(Hr,{live:!0,children:"No data found."})),h&&r&&ys(Hr,{className:"k-sr-only",live:!0,children:[w," items found."]})]})};te.states=Uu;te.options=Fu;te.className=li;te.defaultOptions=$u;te.moduleName=Lt;te.folderName=Zt;te.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};import{jsx as Ju}from"react/jsx-runtime";var Ss="k-list-container",Vu=[],Wu={},Xu={},jt=e=>{let{...o}=e;return Ju("div",{...o,className:a(e.classNa