@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 195 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:N,indeterminate:x,loading:k,empty:u,readonly:v,highlighted:L,...I}=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":N,"k-indeterminate":x&&!c,"k-loading":k,"k-empty":u,"k-readonly":v,"k-highlighted":L},Object.keys(I).reduce((E,O)=>(O.startsWith("k-")?E[O]=I[O]:E[`k-${O}`]=I[O],E),{}))};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"},g={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},h={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Eo={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},w={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 _(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 hr="k-grid",Dc=[],Bc={size:[s.undefined,s.small,s.medium,s.large]},zc=[],hn={pagerPosition:"bottom"},H=e=>{let{size:o,pagerPosition:t=hn.pagerPosition,toolbar:r,pager:l,groupingHeader:n,gridSelectionAggregates:c,_renderAriaRoot:m,resizable:b,ariaColCount:N,ariaRowCount:x,ariaRootId:k,ariaRole:u="grid",...v}=e;return Fc("div",{...v,className:a(e.className,hr,{[`${hr}-resizable`]:b},M(hr,{size:o})),children:[r,t==="top"&&l,n,e.children&&m?Uc("div",{className:"k-grid-aria-root",role:u,id:k,"aria-colcount":N,"aria-rowcount":x,children:e.children}):e.children,c,t==="bottom"&&l]})};H.states=Dc;H.options=Bc;H.variants=zc;H.className=hr;H.defaultOptions=hn;H.moduleName=Z;H.folderName=oe;H.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",X=e=>{let{draggable:o,...t}=e;return $c("div",{...t,className:a(e.className,xn,{"k-grid-draggable-header":o}),children:e.children})};X.className=xn;X.moduleName=Z;X.folderName=oe;import{jsx as Nn,jsxs as Vc}from"react/jsx-runtime";var kn="k-grouping-header",Ae=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})]})};Ae.className=kn;Ae.moduleName=Z;Ae.folderName=oe;import{jsx as Wc}from"react/jsx-runtime";var vn="k-grid-pinned-container",_a=e=>{let{position:o,...t}=e;return Wc("div",{...t,className:a(e.className,vn,{"k-pos-bottom":o==="bottom"}),children:e.children})};_a.className=vn;_a.moduleName=Z;_a.folderName=oe;import{jsx as Xc}from"react/jsx-runtime";var wn="k-grid-sticky-container",Ka=e=>{let{position:o,...t}=e;return Xc("div",{...t,className:a(e.className,wn,{"k-pos-bottom":o==="bottom"}),children:e.children})};Ka.className=wn;Ka.moduleName=Z;Ka.folderName=oe;var Ie="table",Ge=Ie;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={},Bo=e=>{let{size:o,...t}=e;return Qc("div",{...t,className:a(e.className,Cn,M("k-table",{size:o})),children:e.children})};Bo.states=Jc;Bo.options=qc;Bo.className=Cn;Bo.defaultOptions=Yc;Bo.moduleName=Ie;Bo.folderName=Ge;import{jsx as op}from"react/jsx-runtime";var bl="k-table-header-wrap",Zc=[i.hover,i.focus,i.disabled],jc={},ep={},et=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})};et.states=Zc;et.options=jc;et.className=bl;et.defaultOptions=ep;et.moduleName=Ie;et.folderName=Ge;import{jsx as lp}from"react/jsx-runtime";var fl="k-table",tp=[],ap={size:[s.undefined,s.small,s.medium,s.large]},rp={},Oe=e=>{let{size:o,...t}=e;return lp("table",{...t,className:a(e.className,fl,M(fl,{size:o})),children:e.children})};Oe.states=tp;Oe.options=ap;Oe.className=fl;Oe.defaultOptions=rp;Oe.moduleName=Ie;Oe.folderName=Ge;import{jsx as Tl}from"react/jsx-runtime";var gl="k-table-header",ip=[i.hover,i.focus,i.disabled],np={},sp={},zo=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(et,{children:Tl(Oe,{children:o})})})};zo.states=ip;zo.options=np;zo.className=gl;zo.defaultOptions=sp;zo.moduleName=Ie;zo.folderName=Ge;import{jsx as mp}from"react/jsx-runtime";var Ln="k-table-scroller",dp=[],cp={},pp={},Bt=e=>{let{children:o,...t}=e;return mp("div",{...t,className:a(e.className,Ln),children:o})};Bt.states=dp;Bt.options=cp;Bt.className=Ln;Bt.defaultOptions=pp;Bt.moduleName=Ie;Bt.folderName=Ge;import{jsx as rk}from"react/jsx-runtime";import{jsx as Tp}from"react/jsx-runtime";var Mn="k-table-footer",up=[],bp={},fp={},ot=e=>{let{children:o,...t}=e;return Tp("div",{...t,className:a(e.className,Mn),children:o})};ot.states=up;ot.options=bp;ot.className=Mn;ot.defaultOptions=fp;ot.moduleName=Ie;ot.folderName=Ge;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={},tt=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})};tt.states=gp;tt.options=hp;tt.className=hl;tt.defaultOptions=xp;tt.moduleName=Ie;tt.folderName=Ge;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",J=e=>Cp("tbody",{className:a(e.className,wp),children:e.children});import{jsx as Mp}from"react/jsx-runtime";var Lp="k-table-tfoot",xr=e=>Mp("tfoot",{className:a(e.className,Lp),children:e.children});import{jsx as Sp}from"react/jsx-runtime";var xl="k-table-row",yp=[i.hover,i.focus,i.selected,i.disabled,i.highlighted],C=e=>{let{hover:o,focus:t,selected:r,highlighted:l,disabled:n,alt:c,...m}=e;return Sp("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})};C.states=yp;C.className=xl;import{jsx as Ip}from"react/jsx-runtime";var Nl="k-table-row",Ap=[i.hover,i.focus,i.selected,i.disabled],Nr=e=>{let{hover:o,focus:t,selected:r,disabled:l,alt:n,...c}=e;return Ip("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})};Nr.states=Ap;Nr.className=Nl;import{jsx as Rp}from"react/jsx-runtime";var yn="k-table-th",Uo=e=>{let{text:o,colspan:t,rowspan:r,...l}=e,n=o||e.children;return Rp("th",{colSpan:t,rowSpan:r,...l,className:a(e.className,yn),children:n})};Uo.className=yn;Uo.moduleName=Ie;Uo.folderName=Ge;import{jsx as Hk}from"react/jsx-runtime";import{jsx as Gp}from"react/jsx-runtime";var kl="k-table-td",Ep=[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 Gp("td",{colSpan:n,rowSpan:c,...m,className:a(e.className,kl,y(kl,{focus:o,selected:t,highlighted:r})),children:b})};d.states=Ep;d.className=kl;import{jsx as Uk}from"react/jsx-runtime";import{jsx as Wk}from"react/jsx-runtime";import{jsx as Yk}from"react/jsx-runtime";import{jsx as ev}from"react/jsx-runtime";import{jsx as rv}from"react/jsx-runtime";import{jsx as pv,jsxs as mv}from"react/jsx-runtime";import{jsx as Tv,jsxs as gv}from"react/jsx-runtime";import{jsx as kv,jsxs as vv}from"react/jsx-runtime";import{Fragment as Sv,jsx as Mv,jsxs as yv}from"react/jsx-runtime";import{jsx as Pp}from"react/jsx-runtime";var An="k-grid-header-table",q=e=>Pp(Oe,{...e,className:a(e.className,An),children:e.children});q.className=An;q.moduleName=Z;q.folderName=oe;import{Fragment as Bp,jsx as In}from"react/jsx-runtime";var vl="k-font-icon",_p=[],Kp={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[w.undefined,w.base,w.primary,w.secondary,w.tertiary,w.success,w.warning,w.error,w.info]},Dp={},Da=e=>{let{size:o,themeColor:t,icon:r,rotate:l,flip:n,...c}=e;return r?In("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"}):In(Bp,{})};Da.states=_p;Da.options=Kp;Da.className=vl;Da.defaultOptions=Dp;var Rn=Da;import{Fragment as Fp,jsx as kr}from"react/jsx-runtime";var wl="k-svg-icon",zp=[],Up={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[w.undefined,w.base,w.primary,w.secondary,w.tertiary,w.success,w.warning,w.error,w.info],variant:[Eo.outline,Eo.solid,Eo.duotone]},Cl={viewBox:"0 0 24 24",variant:Eo.outline},Ba=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 kr(Fp,{});if(m==="none")return kr("span",{...b,className:a(e.className,wl,M("k-icon",{size:o}),"k-none"),"aria-hidden":"true"});let N=typeof m=="object"&&m.name&&m.name,x=typeof m=="object"?c&&m.variants?.[c]||m.variants?.outline||m.content:void 0;return kr("span",{...b,className:a(e.className,wl,M("k-icon",{size:o}),{[`k-svg-i-${N}`]:N,[`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:kr("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:n,dangerouslySetInnerHTML:x!==void 0?{__html:x}:void 0,children:m?void 0:e.children})})};Ba.states=zp;Ba.options=Up;Ba.className=wl;Ba.defaultOptions=Cl;var Ll=Ba;import*as Ml from"@progress/kendo-svg-icons";var En="icon",Gn="icons";import{useContext as Vp}from"react";import{createContext as $p}from"react";var On=$p({iconsType:"svg"});import{Fragment as Hn,jsx as za}from"react/jsx-runtime";var vr="k-icon",Wp=e=>e.replace(/([-_][a-z0-9])/gi,o=>o.toUpperCase().replace("-","").replace("_","")),Xp=[],Jp={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[w.undefined,w.base,w.primary,w.secondary,w.tertiary,w.success,w.warning,w.error,w.info],variant:[Eo.outline,Eo.solid,Eo.duotone]},wr={viewBox:"0 0 24 24",type:"svg",variant:Eo.outline},f=e=>{let{iconsType:o}=Vp(On),{size:t,themeColor:r,icon:l,type:n=o||wr.type,rotate:c,flip:m,viewBox:b=wr.viewBox,variant:N=wr.variant,...x}=e;if(!l)return za(Hn,{});if((o||n)==="svg"){if(l==="none")return za(Ll,{...x,className:a(e.className,vr),icon:l,size:t,variant:N});let u=Ml[l]?l:Wp(`${l}-icon`);return Ml[u]?za(Ll,{...x,className:a(e.className,vr),icon:Ml[u],size:t,themeColor:r,rotate:c,flip:m,viewBox:b,variant:N}):za(Hn,{})}return za(Rn,{...x,className:a(e.className,vr),icon:l,size:t,themeColor:r,rotate:c,flip:m})};f.states=Xp;f.options=Jp;f.defaultOptions=wr;f.className=vr;f.moduleName=En;f.folderName=Gn;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 at,jsxs as yl}from"react/jsx-runtime";var Sl="k-header",qp=[i.hover,i.focus,i.active],Pn={sortIcon:"sort-asc-small"},A=e=>{let{menu:o,sortable:t,filterable:r,sticky:l,resizable:n,columnTitle:c,hover:m,focus:b,active:N,sortIcon:x=Pn.sortIcon,sortOrder:k,accessibleLabel:u,...v}=e;return yl(Uo,{...v,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:N})),children:[c&&yl("span",{className:"k-cell-inner",children:[yl("span",{className:"k-link",children:[at("span",{className:"k-column-title",children:c}),t&&at("span",{className:"k-sort-icon",children:at(f,{icon:x})}),k&&at("span",{className:"k-sort-order",children:k})]}),o&&at("a",{className:a("k-grid-header-menu",{"k-active":N,"k-grid-filter-menu":o==="filter","k-grid-column-menu":o==="column"}),children:at(f,{icon:o==="filter"?"filter":"more-vertical"})})]}),!c&&u&&at("span",{className:"k-sr-only",children:u}),e.children,n&&at("span",{className:"k-column-resizer k-touch-action-none"})]})};A.states=qp;A.className=Sl;A.defaultOptions=Pn;A.moduleName=Z;A.folderName=oe;import{jsx as Yp}from"react/jsx-runtime";var _n="k-grid-container",$=e=>Yp("div",{...e,className:a(e.className,_n),children:e.children});$.className=_n;$.moduleName=Z;$.folderName=oe;import{jsx as Qp}from"react/jsx-runtime";var Kn="k-grid-content",V=e=>Qp("div",{...e,className:a(e.className,Kn),children:e.children});V.className=Kn;V.moduleName=Z;V.folderName=oe;import{jsx as Zp}from"react/jsx-runtime";var Dn="k-grid-table",W=e=>Zp(Oe,{...e,className:a(e.className,Dn),children:e.children});W.className=Dn;W.moduleName=Z;W.folderName=oe;import{jsx as jp}from"react/jsx-runtime";var Bn="k-grid-footer",Ua=e=>jp("div",{...e,className:a(e.className,Bn),children:e.children});Ua.className=Bn;Ua.moduleName=Z;Ua.folderName=oe;import{jsx as em}from"react/jsx-runtime";var zn="k-grid-footer-table",Fa=e=>em(Oe,{...e,className:a(e.className,zn),children:e.children});Fa.className=zn;Fa.moduleName=Z;Fa.folderName=oe;var Al="button",Un=Al;import{Fragment as Fn,jsx as zt,jsxs as $n}from"react/jsx-runtime";var $a="k-button",om=["icon-button"],tm=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],am={size:[s.undefined,s.xsmall,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[w.undefined,w.base,w.primary,w.secondary,w.tertiary,w.success,w.warning,w.error,w.info,w.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:N,focus:x,active:k,selected:u,disabled:v,togglable:L,ariaDisabled:I,icon:E,iconSize:O,text:z,iconClassName:he,className:ce,...Ke}=e,De=E!=null,Be=e.children!==void 0;return $n(o,{className:a(ce,$a,gn($a,b),M($a,{size:t,rounded:r,fillMode:l,themeColor:n}),y($a,{hover:N,focus:x,active:k,disabled:v||I,selected:u}),{"k-icon-button":!z&&!Be&&De}),"aria-pressed":L?u?"true":"false":void 0,...Ke,"aria-disabled":I?"true":void 0,disabled:v||void 0,children:[typeof E=="string"&&E&&zt(f,{className:a(he,"k-button-icon"),icon:E,size:O}),E&&typeof E!="string"&&zt(Fn,{children:E}),z?$n(Fn,{children:[z&&zt("span",{className:"k-button-text",children:z}),e.children]}):e.children&&zt("span",{className:"k-button-text",children:e.children}),c&&zt("span",{className:"k-menu-button-arrow k-button-arrow",children:zt(f,{icon:m})})]})};p.states=tm;p.options=am;p.variants=om;p.className=$a;p.defaultOptions=Il;p.moduleName=Al;p.folderName=Un;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 rm}from"react/jsx-runtime";var rt=e=>rm(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as lm}from"react/jsx-runtime";var Va=e=>lm(p,{icon:"folder",children:"Button",...e});import{jsx as im}from"react/jsx-runtime";var vt=e=>im(p,{children:"Button",...e});import{jsx as Rl}from"react/jsx-runtime";var nm=p.options,sm=p.states,dm={...p.defaultOptions,variant:"text"},cm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],pm=[],Ut=e=>{let{variant:o,...t}=e;switch(o){case"icon-only":return Rl(rt,{...t,icon:"star"});case"icon-and-text":return Rl(Va,{...t,icon:"star",children:"Button"});default:return Rl(vt,{...t,children:"Button"})}};Ut.options=nm;Ut.states=sm;Ut.variants=cm;Ut.defaultOptions=dm;Ut.modifiers=pm;Ut.className=p.className;var Wa="input",Cr=Wa;import{jsx as fm}from"react/jsx-runtime";var Lr="k-input",mm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],um={size:[s.undefined,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},bm={},we=e=>{let{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:c,readonly:m,size:b,rounded:N,fillMode:x,...k}=e;return fm("span",{...k,className:a(e.className,Lr,M(Lr,{size:b,rounded:N,fillMode:x}),y(Lr,{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:c,readonly:m}))})};we.states=mm;we.options=um;we.className=Lr;we.defaultOptions=bm;we.moduleName=Wa;we.folderName=Cr;import{jsx as xm}from"react/jsx-runtime";var Mr="k-picker",Tm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],gm={size:[s.undefined,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},hm={},Go=e=>{let{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:c,readonly:m,size:b,rounded:N,fillMode:x,...k}=e;return xm("span",{...k,className:a(e.className,Mr,M(Mr,{size:b,rounded:N,fillMode:x}),y(Mr,{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:c,readonly:m})),children:e.children})};Go.states=Tm;Go.options=gm;Go.className=Mr;Go.defaultOptions=hm;Go.moduleName=Wa;Go.folderName=Cr;import{Fragment as vm,jsx as El}from"react/jsx-runtime";var Vn="k-clear-value",Nm=[i.disabled,i.loading,i.readonly],km={},ao=e=>{let{disabled:o,loading:t,readonly:r,value:l}=e;return o||r||t||!l?El(vm,{}):El("span",{className:a(e.className,Vn),children:El(f,{icon:"x"})})};ao.states=Nm;ao.options=km;ao.className=Vn;import{jsx as Lm}from"react/jsx-runtime";var Gl="k-input-inner",wm=[],Cm={},yr={type:"text",autocomplete:"off",value:"",placeholder:""},ro=e=>{let{value:o=yr.value,type:t=yr.type,placeholder:r=yr.placeholder,autocomplete:l=yr.autocomplete,disabled:n,readOnly:c,...m}=e;return Lm("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=wm;ro.options=Cm;ro.className=Gl;import{jsx as Wn,jsxs as Sm}from"react/jsx-runtime";var Ol="k-input-inner",Mm=[],ym={},wt=e=>{let{value:o,placeholder:t,showValue:r,valueIcon:l,valueIconName:n,...c}=e;return Sm("span",{...c,className:a(e.className,Ol,M(Ol,e)),children:[l,!l&&n&&Wn(f,{className:"k-input-value-icon",icon:n}),r&&!o&&t,r&&o&&Wn("span",{className:"k-input-value-text",children:o})]})};wt.states=Mm;wt.options=ym;wt.className=Ol;import{jsx as Rm}from"react/jsx-runtime";var Hl="k-input-inner",Am=[],Im={},Xn={value:"",placeholder:""},Pl=e=>{let{value:o=Xn.value,placeholder:t=Xn.placeholder,rows:r,disabled:l,...n}=e;return Rm("textarea",{...n,className:a(e.className,Hl,M(Hl,e)),placeholder:t,rows:r,defaultValue:o,disabled:l||void 0})};Pl.states=Am;Pl.options=Im;Pl.className=Hl;import{Fragment as Gm,jsx as Jn}from"react/jsx-runtime";var qn="k-input-loading-icon",Em=[i.disabled,i.loading],Qe=e=>{let{disabled:o,loading:t}=e;return o||!t?Jn(Gm,{}):Jn("span",{className:a(e.className,qn,"k-icon k-i-loading")})};Qe.states=Em;Qe.className=qn;import{Fragment as Pm,jsx as Yn}from"react/jsx-runtime";var Qn="k-input-validation-icon",Om=[i.valid,i.invalid,i.disabled,i.loading],Hm={},ze=e=>{let{valid:o,invalid:t,disabled:r,loading:l}=e,n=t?"warning-circle":"check-circle";return r||l||!!!(o||t)?Yn(Pm,{}):Yn(f,{className:a(Qn),icon:n})};ze.states=Om;ze.options=Hm;ze.className=Qn;import{Fragment as Dm,jsx as Zn}from"react/jsx-runtime";var _m="k-input-prefix",Km={direction:"horizontal"},uo=e=>{let{direction:o=Km.direction,...t}=e;return e.children?Zn("span",{...t,className:a(_m,e.className,{[`k-input-prefix-${o}`]:o}),children:e.children}):Zn(Dm,{})};import{Fragment as Um,jsx as jn}from"react/jsx-runtime";var Bm="k-input-suffix",zm={direction:"horizontal"},bo=e=>{let{direction:o=zm.direction,...t}=e;return e.children?jn("span",{...t,className:a(Bm,e.className,{[`k-input-suffix-${o}`]:o}),children:e.children}):jn(Um,{})};import{jsx as hL}from"react/jsx-runtime";import{jsx as $m}from"react/jsx-runtime";var Fm="k-input-suffix-text",_l=e=>{let{children:o,...t}=e;return $m("span",{...t,className:a(Fm,e.className),children:o})};import{jsx as Wm}from"react/jsx-runtime";var es="k-input-separator",Vm={direction:"vertical"},fo=e=>{let{direction:o=Vm.direction,...t}=e;return Wm("span",{...t,className:a(es,e.className,{[`${es}-${o}`]:o})})};import{Fragment as os,jsx as Oo,jsxs as Kl}from"react/jsx-runtime";var Xm=we.states,Jm=we.defaultOptions,qm=we.options,Ym=[{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=[],Ft=e=>{let{modifiers:o,valid:t,invalid:r,loading:l,disabled:n,readonly:c,...m}=e,b=o?.prefix,N=o?.suffix,x=o?.["clear-button"],k=o?.["validation-icon"],u=o?.separators;return Kl(we,{...m,valid:t,invalid:r,loading:l,disabled:n,readonly:c,style:{width:300},children:[b&&Kl(os,{children:[Oo(uo,{children:Oo(f,{icon:"lock"})}),u&&Oo(fo,{})]}),Oo(ro,{placeholder:"Placeholder",value:"Value"}),k&&Oo(ze,{valid:t,invalid:r,loading:l,disabled:n}),Oo(Qe,{loading:l,disabled:n}),x&&Oo(ao,{loading:l,disabled:n,readonly:c,value:"Value"}),N&&Kl(os,{children:[u&&Oo(fo,{}),Oo(bo,{children:Oo(vt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};Ft.options=qm;Ft.states=Xm;Ft.variants=Qm;Ft.defaultOptions=Jm;Ft.modifiers=Ym;Ft.className=we.className;var Dl="popup",ts=Dl;import{jsx as as}from"react/jsx-runtime";var rs="k-animation-container",Zm=[],jm={},Bl={positionMode:"absolute",shown:!0},Ho=e=>{let{positionMode:o=Bl.positionMode,shown:t=Bl.shown,animationStyle:r,offset:l,...n}=e;return as("div",{...n,style:{...l,...e.style},className:a(e.className,rs,{"k-animation-container-shown":t,"k-animation-container-fixed":o==="fixed"}),children:as("div",{className:"k-child-animation-container",style:r,children:e.children})})};Ho.states=Zm;Ho.options=jm;Ho.className=rs;Ho.defaultOptions=Bl;Ho.moduleName=Dl;Ho.folderName=ts;var zl="popup",ls=zl;import{jsx as is}from"react/jsx-runtime";var ns="k-popup",eu=[],ou={},ss={positionMode:"absolute"},re=e=>{let{offset:o,positionMode:t=ss.positionMode,animationStyle:r,containerClassName:l,containerRole:n,containerAriaLabel:c,...m}=e;return is(Ho,{positionMode:t,offset:o,animationStyle:r,className:l,role:n,"aria-label":c,children:is("div",{...m,className:a(e.className,ns),children:e.children})})};re.states=eu;re.options=ou;re.className=ns;re.defaultOptions=ss;re.moduleName=zl;re.folderName=ls;re.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",ds=Ul;import{jsx as ru}from"react/jsx-runtime";var Sr="k-actions",tu=[],au={},Fl={alignment:"start",orientation:"horizontal"},To=e=>{let{alignment:o=Fl.alignment,orientation:t=Fl.orientation,...r}=e;return ru("div",{...r,className:a(Sr,{[`${Sr}-${o}`]:o,[`${Sr}-${t}`]:t},e.className),children:e.children})};To.states=tu;To.options=au;To.className=Sr;To.defaultOptions=Fl;To.moduleName=Ul;To.folderName=ds;import{jsx as iu}from"react/jsx-runtime";var lu="k-actionsheet-footer",cs={alignment:"stretched",orientation:"horizontal"},lt=e=>{let{alignment:o=cs.alignment,orientation:t=cs.orientation,template:r,as:l=r?"div":To,...n}=e;return iu(l,{...n,...!r&&{alignment:o,orientation:t},className:a(e.className,lu),children:e.children})};var $l="searchbox",ps=$l;import{jsx as Xa,jsxs as du}from"react/jsx-runtime";var ms="k-searchbox",nu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],su={size:[s.undefined,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[h.undefined,h.solid,h.flat,h.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:N,required:x,loading:k,disabled:u,showIcon:v=Vl.showIcon,icon:L=Vl.icon,"aria-label":I,...E}=e;return du(we,{...E,size:r,rounded:l,fillMode:n,hover:c,focus:m,valid:b,invalid:N,required:x,loading:k,disabled:u,className:a(e.className,ms),children:[v&&Xa(f,{className:"k-input-icon",icon:L}),Xa(ro,{placeholder:t,value:o,"aria-label":I}),Xa(Qe,{...e}),Xa(ze,{...e}),Xa(ao,{...e})]})};lo.states=nu;lo.options=su;lo.className=ms;lo.defaultOptions=Vl;lo.moduleName=$l;lo.folderName=ps;import{jsx as _M}from"react/jsx-runtime";var Wl="textbox",us=Wl;import{Fragment as bs,jsx as it,jsxs as Xl}from"react/jsx-runtime";var fs="k-textbox",cu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],pu={size:[s.undefined,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ar={showClearButton:!0,showValidationIcon:!0,separators:!0},ue=e=>{let{size:o,rounded:t,fillMode:r,separators:l=Ar.separators,showClearButton:n=Ar.showClearButton,showValidationIcon:c=Ar.showValidationIcon,prefix:m,suffix:b,type:N,value:x,placeholder:k,hover:u,focus:v,valid:L,invalid:I,required:E,loading:O,disabled:z,readonly:he,id:ce,"aria-label":Ke,"aria-describedby":De,...Be}=e;return Xl(we,{...Be,size:o,rounded:t,fillMode:r,hover:u,focus:v,valid:L,invalid:I,required:E,loading:O,disabled:z,readonly:he,className:a(e.className,fs),children:[m&&Xl(bs,{children:[it(uo,{children:m}),l&&it(fo,{})]}),it(ro,{id:ce,placeholder:k,value:x,type:N,disabled:z,"aria-label":Ke,"aria-describedby":De,"aria-invalid":I?"true":void 0}),c&&it(ze,{valid:L,invalid:I,loading:O,disabled:z}),it(Qe,{loading:O,disabled:z}),n&&it(ao,{loading:O,disabled:z,readonly:he,value:x}),b&&Xl(bs,{children:[l&&it(fo,{}),it(bo,{children:b})]})]})};ue.states=cu;ue.options=pu;ue.className=fs;ue.defaultOptions=Ar;ue.moduleName=Wl;ue.folderName=us;ue.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 Ja=ue;import{jsx as mu}from"react/jsx-runtime";var Ts=e=>mu(Ja,{...e});import{Fragment as oy,jsx as ey}from"react/jsx-runtime";import{Fragment as ny,jsx as iy}from"react/jsx-runtime";import{jsx as py}from"react/jsx-runtime";import{jsx as Jl}from"react/jsx-runtime";var uu=ue.states,bu=ue.defaultOptions,fu=ue.options,Tu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],gu=[],$t=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(vt,{size:t.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":r.showClearButton=o?.[l];break;default:break}}),Jl(Ts,{value:"Value",style:{width:300},...t,...r})};$t.options=fu;$t.states=uu;$t.variants=gu;$t.defaultOptions=bu;$t.modifiers=Tu;$t.className=ue.className;import{jsx as nt,jsxs as ql}from"react/jsx-runtime";var gs="k-actionsheet-titlebar",hu={},Ue=e=>{let{title:o,subtitle:t,actionsStart:r,actionsEnd:l,filter:n,input:c,inputValue:m,inputPlaceholder:b,adaptive:N,titleId:x,children:k,...u}=e;return ql("div",{...u,className:a(e.className,gs),children:[ql("div",{className:"k-actionsheet-titlebar-group",children:[r&&nt("div",{className:"k-actionsheet-actions",children:r}),!k&&ql("div",{className:"k-actionsheet-title",id:x,children:[o&&nt("div",{className:"k-text-center",children:o}),t&&nt("div",{className:"k-actionsheet-subtitle k-text-center",children:t})]}),k&&nt("div",{className:"k-actionsheet-title",id:x,children:k}),l&&nt("div",{className:"k-actionsheet-actions",children:l})]}),(c||n)&&nt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?nt(ue,{value:m,placeholder:b,size:N?"large":"medium","aria-label":o||b||"Input"}):nt(lo,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};Ue.className=gs;Ue.defaultOptions=hu;import{jsx as Yl,jsxs as vu}from"react/jsx-runtime";var Ql="k-actionsheet-view",xu=[],Nu={},ku={},Vt=e=>{let{adaptive:o,animated:t,children:r,header:l,footer:n,titleId:c,...m}=e,b=l?.type===Ue&&Yl(Ue,{adaptive:o,titleId:c,...l?.props}),N=n?.type===lt&&Yl(lt,{...n?.props});return vu("div",{...m,className:a(e.className,Ql,{[`${Ql}-animated`]:t}),children:[b,Yl("div",{className:"k-actionsheet-content",children:r}),N]})};Vt.states=xu;Vt.options=Nu;Vt.className=Ql;Vt.defaultOptions=ku;var qa="action-sheet",Ir=qa;var Zl="overlay",hs=Zl;import{jsx as Mu}from"react/jsx-runtime";var xs="k-overlay",wu=[],Cu={},Lu={},st=e=>{let{...o}=e;return Mu("div",{...o,className:a(e.className,xs),children:e.children})};st.states=wu;st.options=Cu;st.className=xs;st.defaultOptions=Lu;st.moduleName=Zl;st.folderName=hs;import{jsx as Rr,jsxs as Au}from"react/jsx-runtime";var Ns="k-actionsheet",yu=[],Su={},Ya={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Ne=e=>{let{side:o=Ya.side,fullscreen:t=Ya.fullscreen,adaptive:r=Ya.adaptive,overlay:l=Ya.overlay,template:n,children:c,header:m,footer:b,id:N,...x}=e,k=N&&!n&&m?`${N}-title`:void 0;return Au("div",{className:"k-actionsheet-container",children:[l&&Rr(st,{}),Rr(Ho,{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:Rr("div",{...x,id:N,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":k,className:a(e.className,Ns,{[`k-actionsheet-${o}`]:t===!1,"k-actionsheet-fullscreen":t===!0,"k-adaptive-actionsheet":r}),children:n||Rr(Vt,{header:m,footer:b,adaptive:r,titleId:k,...e,children:c})})})]})};Ne.states=yu;Ne.options=Su;Ne.className=Ns;Ne.defaultOptions=Ya;Ne.moduleName=qa;Ne.folderName=Ir;Ne.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 Gu}from"react/jsx-runtime";var ks="k-actionsheet-container",Iu=[],Ru={},Eu={},Wt=e=>{let{children:o,...t}=e;return Gu("div",{...t,className:ks,children:o})};Wt.states=Iu;Wt.options=Ru;Wt.className=ks;Wt.defaultOptions=Eu;Wt.moduleName=qa;Wt.folderName=Ir;import{jsx as Ou}from"react/jsx-runtime";var jl=e=>{let{...o}=e;return Ou("div",{...o,className:a(e.className,"k-list-ul"),children:e.children})};import{Fragment as Pu,jsx as Qa,jsxs as ei}from"react/jsx-runtime";var oi="k-actionsheet-item",Hu=[i.hover,i.focus,i.selected,i.disabled],dt=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&&Qa(Pu,{children:ei("span",{className:"k-actionsheet-action",children:[o&&Qa("span",{className:"k-icon-wrap",children:Qa(f,{className:"k-actionsheet-item-icon",icon:o})}),ei("span",{className:"k-actionsheet-item-text",children:[t&&Qa("span",{className:"k-actionsheet-item-title",children:t}),r&&Qa("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};dt.states=Hu;dt.className=oi;import{jsx as cS,jsxs as pS}from"react/jsx-runtime";import{jsx as fS}from"react/jsx-runtime";import{jsx as xS}from"react/jsx-runtime";import{jsx as wS}from"react/jsx-runtime";import{jsx as Re,jsxs as ti}from"react/jsx-runtime";var _u=Ne.options,Ku=Ne.states,ws={...Ne.defaultOptions,variant:"normal"},Du=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Bu=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Xt=e=>{let{variant:o,modifiers:t,...r}={...ws,...e},l={},n=ti(jl,{children:[Re(dt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),Re(dt,{text:"Add to Favorites",iconName:"heart"}),Re(dt,{text:"Upload New",iconName:"upload",disabled:!0}),Re("hr",{className:"k-hr"}),Re(dt,{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"?Re(Ne,{...r,adaptive:!0,fullscreen:l.fullScreen,header:Re(Ue,{actionsStart:l.actionsStart?Re(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?Re(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:l.subtitle}),footer:l.footer?ti(lt,{alignment:"stretched",children:[Re(p,{text:"Cancel",size:"large",themeColor:"base"}),Re(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:n}):Re(Ne,{...r,fullscreen:l.fullScreen,header:Re(Ue,{actionsStart:l.actionsStart?Re(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?Re(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:l.subtitle}),footer:l.footer?ti(lt,{alignment:"stretched",children:[Re(p,{text:"Apply",themeColor:"primary"}),Re(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:n})};Xt.options=_u;Xt.states=Ku;Xt.variants=Du;Xt.defaultOptions=ws;Xt.modifiers=Bu;Xt.className=Ne.className;import ri from"react";import{jsx as Cs}from"react/jsx-runtime";var zu="k-list-group-sticky-header",ai=e=>Cs("div",{className:a(zu,e.className),children:Cs("div",{className:"k-list-header-text",children:e.children})});import{jsx as Fu}from"react/jsx-runtime";var Uu="k-no-data",Er=e=>{let{live:o,...t}=e;return Fu("span",{...t,className:a(Uu,e.className),"aria-live":o?"polite":void 0,children:e.children})};var Ct="list",Jt=Ct;import{jsx as Ls,jsxs as Ms}from"react/jsx-runtime";var li="k-list",$u=[],Vu={size:[s.undefined,s.small,s.medium,s.large]},Wu={},te=e=>{let{size:o,virtualization:t,children:r,header:l,selectAll:n,optionLabel:c,customValue:m,noData:b,screenReaders:N,...x}=e,u=ri.Children.toArray(r)[0],v=u?.props?.children?ri.Children.count(u.props.children):ri.Children.count(r);return Ms("div",{...x,className:a(e.className,li,M(li,{size:o}),{"k-virtual-list":t}),children:[c,n,m,l&&Ls(ai,{children:l}),r||(b!==void 0?b:Ls(Er,{live:!0,children:"No data found."})),N&&r&&Ms(Er,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};te.states=$u;te.options=Vu;te.className=li;te.defaultOptions=Wu;te.moduleName=Ct;te.folderName=Jt;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 Yu}from"react/jsx-runtime";var ys="k-list-