UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 192 kB
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 L=(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"}),M=(e,o)=>{let{valid:t,invalid:r,hover:l,focus:n,checked:d,active:m,selected:b,disabled:N,indeterminate:x,loading:k,empty:u,readonly:v,highlighted:C,...I}=o;return a({"k-valid":t,"k-invalid":r,"k-hover":l,"k-focus":n,"k-checked":d,"k-active":m,"k-selected":b,"k-disabled":N,"k-indeterminate":x&&!d,"k-loading":k,"k-empty":u,"k-readonly":v,"k-highlighted":C},Object.keys(I).reduce((E,G)=>(G.startsWith("k-")?E[G]=I[G]:E[`k-${G}`]=I[G],E),{}))};function bn(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"},Io={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 cl={};function P(e){return cl[e]=(cl[e]||0)+1,`k-${e}-${cl[e]}`}var Q="grid",ee=Q;import{jsx as Bc,jsxs as zc}from"react/jsx-runtime";var br="k-grid",_c=[],Kc={size:[s.undefined,s.small,s.medium,s.large]},Dc=[],fn={pagerPosition:"bottom"},O=e=>{let{size:o,pagerPosition:t=fn.pagerPosition,toolbar:r,pager:l,groupingHeader:n,gridSelectionAggregates:d,_renderAriaRoot:m,resizable:b,ariaColCount:N,ariaRowCount:x,ariaRootId:k,ariaRole:u="grid",...v}=e;return zc("div",{...v,className:a(e.className,br,{[`${br}-resizable`]:b},L(br,{size:o})),children:[r,t==="top"&&l,n,e.children&&m?Bc("div",{className:"k-grid-aria-root",role:u,id:k,"aria-colcount":N,"aria-rowcount":x,children:e.children}):e.children,d,t==="bottom"&&l]})};O.states=_c;O.options=Kc;O.variants=Dc;O.className=br;O.defaultOptions=fn;O.moduleName=Q;O.folderName=ee;O.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 Uc}from"react/jsx-runtime";var Tn="k-grid-header",X=e=>{let{draggable:o,...t}=e;return Uc("div",{...t,className:a(e.className,Tn,{"k-grid-draggable-header":o}),children:e.children})};X.className=Tn;X.moduleName=Q;X.folderName=ee;import{jsx as gn,jsxs as Fc}from"react/jsx-runtime";var hn="k-grouping-header",Re=e=>{let{dropHint:o,dropClue:t,...r}=e;return Fc("div",{...r,className:a(e.className,hn),children:[t&&gn("div",{className:"k-grouping-dropclue"}),e.children,gn("div",{className:"k-grouping-drop-container",children:o})]})};Re.className=hn;Re.moduleName=Q;Re.folderName=ee;import{jsx as $c}from"react/jsx-runtime";var xn="k-grid-pinned-container",Ha=e=>{let{position:o,...t}=e;return $c("div",{...t,className:a(e.className,xn,{"k-pos-bottom":o==="bottom"}),children:e.children})};Ha.className=xn;Ha.moduleName=Q;Ha.folderName=ee;import{jsx as Vc}from"react/jsx-runtime";var Nn="k-grid-sticky-container",Pa=e=>{let{position:o,...t}=e;return Vc("div",{...t,className:a(e.className,Nn,{"k-pos-bottom":o==="bottom"}),children:e.children})};Pa.className=Nn;Pa.moduleName=Q;Pa.folderName=ee;var ye="table",Ee=ye;import{jsx as qc}from"react/jsx-runtime";var kn="k-data-table",Wc=[],Xc={size:[s.undefined,s.small,s.medium,s.large]},Jc={},Ko=e=>{let{size:o,...t}=e;return qc("div",{...t,className:a(e.className,kn,L("k-table",{size:o})),children:e.children})};Ko.states=Wc;Ko.options=Xc;Ko.className=kn;Ko.defaultOptions=Jc;Ko.moduleName=ye;Ko.folderName=Ee;import{jsx as jc}from"react/jsx-runtime";var pl="k-table-header-wrap",Yc=[i.hover,i.focus,i.disabled],Qc={},Zc={},Zo=e=>{let{children:o,hover:t,focus:r,disabled:l,...n}=e;return jc("div",{...n,className:a(e.className,pl,M(pl,{hover:t,focus:r,disabled:l})),children:o})};Zo.states=Yc;Zo.options=Qc;Zo.className=pl;Zo.defaultOptions=Zc;Zo.moduleName=ye;Zo.folderName=Ee;import{jsx as ap}from"react/jsx-runtime";var ml="k-table",ep=[],op={size:[s.undefined,s.small,s.medium,s.large]},tp={},Ge=e=>{let{size:o,...t}=e;return ap("table",{...t,className:a(e.className,ml,L(ml,{size:o})),children:e.children})};Ge.states=ep;Ge.options=op;Ge.className=ml;Ge.defaultOptions=tp;Ge.moduleName=ye;Ge.folderName=Ee;import{jsx as ul}from"react/jsx-runtime";var bl="k-table-header",rp=[i.hover,i.focus,i.disabled],lp={},ip={},Do=e=>{let{children:o,hover:t,focus:r,disabled:l,...n}=e;return ul("div",{...n,className:a(e.className,bl,M(bl,{hover:t,focus:r,disabled:l})),children:ul(Zo,{children:ul(Ge,{children:o})})})};Do.states=rp;Do.options=lp;Do.className=bl;Do.defaultOptions=ip;Do.moduleName=ye;Do.folderName=Ee;import{jsx as cp}from"react/jsx-runtime";var vn="k-table-scroller",np=[],sp={},dp={},Kt=e=>{let{children:o,...t}=e;return cp("div",{...t,className:a(e.className,vn),children:o})};Kt.states=np;Kt.options=sp;Kt.className=vn;Kt.defaultOptions=dp;Kt.moduleName=ye;Kt.folderName=Ee;import{jsx as jN}from"react/jsx-runtime";import{jsx as bp}from"react/jsx-runtime";var wn="k-table-footer",pp=[],mp={},up={},jo=e=>{let{children:o,...t}=e;return bp("div",{...t,className:a(e.className,wn),children:o})};jo.states=pp;jo.options=mp;jo.className=wn;jo.defaultOptions=up;jo.moduleName=ye;jo.folderName=Ee;import{jsx as hp}from"react/jsx-runtime";var fl="k-table-list",fp=[],Tp={size:[s.undefined,s.small,s.medium,s.large]},gp={},et=e=>{let{size:o,virtualization:t,...r}=e;return hp("ul",{...r,className:a(e.className,"k-table",fl,L(fl,{size:o}),{"k-virtual-table":t}),children:e.children})};et.states=fp;et.options=Tp;et.className=fl;et.defaultOptions=gp;et.moduleName=ye;et.folderName=Ee;import{jsx as Np}from"react/jsx-runtime";var xp="k-table-thead",U=e=>Np("thead",{className:a(e.className,xp),children:e.children});import{jsx as vp}from"react/jsx-runtime";var kp="k-table-tbody",J=e=>vp("tbody",{className:a(e.className,kp),children:e.children});import{jsx as gk}from"react/jsx-runtime";import{jsx as Cp}from"react/jsx-runtime";var Tl="k-table-row",wp=[i.hover,i.focus,i.selected,i.disabled,i.highlighted],S=e=>{let{hover:o,focus:t,selected:r,highlighted:l,disabled:n,alt:d,...m}=e;return Cp("tr",{...m,className:a(e.className,Tl,{"k-table-alt-row":d},M(Tl,{hover:o,focus:t,disabled:n,selected:r,highlighted:l})),children:e.children})};S.states=wp;S.className=Tl;import{jsx as Mp}from"react/jsx-runtime";var gl="k-table-row",Lp=[i.hover,i.focus,i.selected,i.disabled],fr=e=>{let{hover:o,focus:t,selected:r,disabled:l,alt:n,...d}=e;return Mp("li",{...d,className:a(e.className,gl,{"k-table-alt-row":n},M(gl,{hover:o,focus:t,disabled:l,selected:r})),children:e.children})};fr.states=Lp;fr.className=gl;import{jsx as yp}from"react/jsx-runtime";var Cn="k-table-th",Bo=e=>{let{text:o,colspan:t,rowspan:r,...l}=e,n=o||e.children;return yp("th",{colSpan:t,rowSpan:r,...l,className:a(e.className,Cn),children:n})};Bo.className=Cn;Bo.moduleName=ye;Bo.folderName=Ee;import{jsx as Rk}from"react/jsx-runtime";import{jsx as Ap}from"react/jsx-runtime";var hl="k-table-td",Sp=[i.focus,i.selected,i.highlighted],p=e=>{let{focus:o,selected:t,highlighted:r,text:l,colspan:n,rowspan:d,...m}=e,b=l||e.children;return Ap("td",{colSpan:n,rowSpan:d,...m,className:a(e.className,hl,M(hl,{focus:o,selected:t,highlighted:r})),children:b})};p.states=Sp;p.className=hl;import{jsx as Kk}from"react/jsx-runtime";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 nv,jsxs as sv}from"react/jsx-runtime";import{jsx as mv,jsxs as uv}from"react/jsx-runtime";import{jsx as gv,jsxs as hv}from"react/jsx-runtime";import{Fragment as Cv,jsx as vv,jsxs as wv}from"react/jsx-runtime";import{jsx as Ep}from"react/jsx-runtime";var yn="k-grid-header-table",q=e=>Ep(Ge,{...e,className:a(e.className,yn),children:e.children});q.className=yn;q.moduleName=Q;q.folderName=ee;import{Fragment as Pp,jsx as Sn}from"react/jsx-runtime";var xl="k-font-icon",Gp=[],Op={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]},Hp={},_a=e=>{let{size:o,themeColor:t,icon:r,rotate:l,flip:n,...d}=e;return r?Sn("span",{...d,className:a(e.className,xl,L(xl,{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"}):Sn(Pp,{})};_a.states=Gp;_a.options=Op;_a.className=xl;_a.defaultOptions=Hp;var An=_a;import{Fragment as Dp,jsx as Tr}from"react/jsx-runtime";var Nl="k-svg-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],variant:[Io.outline,Io.solid,Io.duotone]},kl={viewBox:"0 0 24 24",variant:Io.outline},Ka=e=>{let{size:o,themeColor:t,rotate:r,flip:l,viewBox:n=kl.viewBox,variant:d=kl.variant,icon:m,...b}=e;if(!m)return Tr(Dp,{});if(m==="none")return Tr("span",{...b,className:a(e.className,Nl,L("k-icon",{size:o}),"k-none"),"aria-hidden":"true"});let N=typeof m=="object"&&m.name&&m.name,x=typeof m=="object"?d&&m.variants?.[d]||m.variants?.outline||m.content:void 0;return Tr("span",{...b,className:a(e.className,Nl,L("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:Tr("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})})};Ka.states=_p;Ka.options=Kp;Ka.className=Nl;Ka.defaultOptions=kl;var vl=Ka;import*as wl from"@progress/kendo-svg-icons";var In="icon",Rn="icons";import{useContext as zp}from"react";import{createContext as Bp}from"react";var En=Bp({iconsType:"svg"});import{Fragment as Gn,jsx as Da}from"react/jsx-runtime";var gr="k-icon",Up=e=>e.replace(/([-_][a-z0-9])/gi,o=>o.toUpperCase().replace("-","").replace("_","")),Fp=[],$p={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:[Io.outline,Io.solid,Io.duotone]},hr={viewBox:"0 0 24 24",type:"svg",variant:Io.outline},f=e=>{let{iconsType:o}=zp(En),{size:t,themeColor:r,icon:l,type:n=o||hr.type,rotate:d,flip:m,viewBox:b=hr.viewBox,variant:N=hr.variant,...x}=e;if(!l)return Da(Gn,{});if((o||n)==="svg"){if(l==="none")return Da(vl,{...x,className:a(e.className,gr),icon:l,size:t,variant:N});let u=wl[l]?l:Up(`${l}-icon`);return wl[u]?Da(vl,{...x,className:a(e.className,gr),icon:wl[u],size:t,themeColor:r,rotate:d,flip:m,viewBox:b,variant:N}):Da(Gn,{})}return Da(An,{...x,className:a(e.className,gr),icon:l,size:t,themeColor:r,rotate:d,flip:m})};f.states=Fp;f.options=$p;f.defaultOptions=hr;f.className=gr;f.moduleName=In;f.folderName=Rn;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 ot,jsxs as Cl}from"react/jsx-runtime";var Ll="k-header",Vp=[i.hover,i.focus,i.active],On={sortIcon:"sort-asc-small"},A=e=>{let{menu:o,sortable:t,filterable:r,sticky:l,resizable:n,columnTitle:d,hover:m,focus:b,active:N,sortIcon:x=On.sortIcon,sortOrder:k,accessibleLabel:u,...v}=e;return Cl(Bo,{...v,className:a(e.className,Ll,{"k-filterable":o||r,"k-sorted":t,"k-grid-header-sticky":l,"k-touch-action-none":n},M(Ll,{hover:m,focus:b,active:N})),children:[d&&Cl("span",{className:"k-cell-inner",children:[Cl("span",{className:"k-link",children:[ot("span",{className:"k-column-title",children:d}),t&&ot("span",{className:"k-sort-icon",children:ot(f,{icon:x})}),k&&ot("span",{className:"k-sort-order",children:k})]}),o&&ot("a",{className:a("k-grid-header-menu",{"k-active":N,"k-grid-filter-menu":o==="filter","k-grid-column-menu":o==="column"}),children:ot(f,{icon:o==="filter"?"filter":"more-vertical"})})]}),!d&&u&&ot("span",{className:"k-sr-only",children:u}),e.children,n&&ot("span",{className:"k-column-resizer k-touch-action-none"})]})};A.states=Vp;A.className=Ll;A.defaultOptions=On;A.moduleName=Q;A.folderName=ee;import{jsx as Wp}from"react/jsx-runtime";var Hn="k-grid-container",F=e=>Wp("div",{...e,className:a(e.className,Hn),children:e.children});F.className=Hn;F.moduleName=Q;F.folderName=ee;import{jsx as Xp}from"react/jsx-runtime";var Pn="k-grid-content",$=e=>Xp("div",{...e,className:a(e.className,Pn),children:e.children});$.className=Pn;$.moduleName=Q;$.folderName=ee;import{jsx as Jp}from"react/jsx-runtime";var _n="k-grid-table",V=e=>Jp(Ge,{...e,className:a(e.className,_n),children:e.children});V.className=_n;V.moduleName=Q;V.folderName=ee;import{jsx as qp}from"react/jsx-runtime";var Kn="k-grid-footer",xr=e=>qp("div",{...e,className:a(e.className,Kn),children:e.children});xr.className=Kn;xr.moduleName=Q;xr.folderName=ee;import{jsx as Yp}from"react/jsx-runtime";var Dn="k-grid-footer-table",Nr=e=>Yp(Ge,{...e,className:a(e.className,Dn),children:e.children});Nr.className=Dn;Nr.moduleName=Q;Nr.folderName=ee;var Ml="button",Bn=Ml;import{Fragment as zn,jsx as Dt,jsxs as Un}from"react/jsx-runtime";var Ba="k-button",Qp=["icon-button"],Zp=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],jp={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]},yl={showArrow:!1,arrowIconName:"chevron-down"},c=e=>{let{as:o="button",size:t,rounded:r,fillMode:l,themeColor:n,showArrow:d=yl.showArrow,arrowIconName:m=yl.arrowIconName,variant:b,hover:N,focus:x,active:k,selected:u,disabled:v,togglable:C,ariaDisabled:I,icon:E,iconSize:G,text:B,iconClassName:ge,className:de,..._e}=e,Ke=E!=null,De=e.children!==void 0;return Un(o,{className:a(de,Ba,bn(Ba,b),L(Ba,{size:t,rounded:r,fillMode:l,themeColor:n}),M(Ba,{hover:N,focus:x,active:k,disabled:v||I,selected:u}),{"k-icon-button":!B&&!De&&Ke}),"aria-pressed":C?u?"true":"false":void 0,..._e,"aria-disabled":I?"true":void 0,disabled:v||void 0,children:[typeof E=="string"&&E&&Dt(f,{className:a(ge,"k-button-icon"),icon:E,size:G}),E&&typeof E!="string"&&Dt(zn,{children:E}),B?Un(zn,{children:[B&&Dt("span",{className:"k-button-text",children:B}),e.children]}):e.children&&Dt("span",{className:"k-button-text",children:e.children}),d&&Dt("span",{className:"k-menu-button-arrow k-button-arrow",children:Dt(f,{icon:m})})]})};c.states=Zp;c.options=jp;c.variants=Qp;c.className=Ba;c.defaultOptions=yl;c.moduleName=Ml;c.folderName=Bn;c.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 em}from"react/jsx-runtime";var tt=e=>em(c,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as om}from"react/jsx-runtime";var za=e=>om(c,{icon:"folder",children:"Button",...e});import{jsx as tm}from"react/jsx-runtime";var Nt=e=>tm(c,{children:"Button",...e});import{jsx as Sl}from"react/jsx-runtime";var am=c.options,rm=c.states,lm={...c.defaultOptions,variant:"text"},im=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],nm=[],Bt=e=>{let{variant:o,...t}=e;switch(o){case"icon-only":return Sl(tt,{...t,icon:"star"});case"icon-and-text":return Sl(za,{...t,icon:"star",children:"Button"});default:return Sl(Nt,{...t,children:"Button"})}};Bt.options=am;Bt.states=rm;Bt.variants=im;Bt.defaultOptions=lm;Bt.modifiers=nm;Bt.className=c.className;var Ua="input",kr=Ua;import{jsx as pm}from"react/jsx-runtime";var vr="k-input",sm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],dm={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]},cm={},ve=e=>{let{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:d,readonly:m,size:b,rounded:N,fillMode:x,...k}=e;return pm("span",{...k,className:a(e.className,vr,L(vr,{size:b,rounded:N,fillMode:x}),M(vr,{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:d,readonly:m}))})};ve.states=sm;ve.options=dm;ve.className=vr;ve.defaultOptions=cm;ve.moduleName=Ua;ve.folderName=kr;import{jsx as fm}from"react/jsx-runtime";var wr="k-picker",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={},Ro=e=>{let{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:d,readonly:m,size:b,rounded:N,fillMode:x,...k}=e;return fm("span",{...k,className:a(e.className,wr,L(wr,{size:b,rounded:N,fillMode:x}),M(wr,{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:d,readonly:m})),children:e.children})};Ro.states=mm;Ro.options=um;Ro.className=wr;Ro.defaultOptions=bm;Ro.moduleName=Ua;Ro.folderName=kr;import{Fragment as hm,jsx as Al}from"react/jsx-runtime";var Fn="k-clear-value",Tm=[i.disabled,i.loading,i.readonly],gm={},oo=e=>{let{disabled:o,loading:t,readonly:r,value:l}=e;return o||r||t||!l?Al(hm,{}):Al("span",{className:a(e.className,Fn),children:Al(f,{icon:"x"})})};oo.states=Tm;oo.options=gm;oo.className=Fn;import{jsx as km}from"react/jsx-runtime";var Il="k-input-inner",xm=[],Nm={},Cr={type:"text",autocomplete:"off",value:"",placeholder:""},to=e=>{let{value:o=Cr.value,type:t=Cr.type,placeholder:r=Cr.placeholder,autocomplete:l=Cr.autocomplete,disabled:n,readOnly:d,...m}=e;return km("input",{...m,type:t,className:a(e.className,Il,L(Il,e)),placeholder:r,autoComplete:l,defaultValue:o,disabled:n||void 0,readOnly:d||void 0})};to.states=xm;to.options=Nm;to.className=Il;import{jsx as $n,jsxs as Cm}from"react/jsx-runtime";var Rl="k-input-inner",vm=[],wm={},kt=e=>{let{value:o,placeholder:t,showValue:r,valueIcon:l,valueIconName:n,...d}=e;return Cm("span",{...d,className:a(e.className,Rl,L(Rl,e)),children:[l,!l&&n&&$n(f,{className:"k-input-value-icon",icon:n}),r&&!o&&t,r&&o&&$n("span",{className:"k-input-value-text",children:o})]})};kt.states=vm;kt.options=wm;kt.className=Rl;import{jsx as ym}from"react/jsx-runtime";var El="k-input-inner",Lm=[],Mm={},Vn={value:"",placeholder:""},Gl=e=>{let{value:o=Vn.value,placeholder:t=Vn.placeholder,rows:r,disabled:l,...n}=e;return ym("textarea",{...n,className:a(e.className,El,L(El,e)),placeholder:t,rows:r,defaultValue:o,disabled:l||void 0})};Gl.states=Lm;Gl.options=Mm;Gl.className=El;import{Fragment as Am,jsx as Wn}from"react/jsx-runtime";var Xn="k-input-loading-icon",Sm=[i.disabled,i.loading],qe=e=>{let{disabled:o,loading:t}=e;return o||!t?Wn(Am,{}):Wn("span",{className:a(e.className,Xn,"k-icon k-i-loading")})};qe.states=Sm;qe.className=Xn;import{Fragment as Em,jsx as Jn}from"react/jsx-runtime";var qn="k-input-validation-icon",Im=[i.valid,i.invalid,i.disabled,i.loading],Rm={},Be=e=>{let{valid:o,invalid:t,disabled:r,loading:l}=e,n=t?"warning-circle":"check-circle";return r||l||!!!(o||t)?Jn(Em,{}):Jn(f,{className:a(qn),icon:n})};Be.states=Im;Be.options=Rm;Be.className=qn;import{Fragment as Hm,jsx as Yn}from"react/jsx-runtime";var Gm="k-input-prefix",Om={direction:"horizontal"},po=e=>{let{direction:o=Om.direction,...t}=e;return e.children?Yn("span",{...t,className:a(Gm,e.className,{[`k-input-prefix-${o}`]:o}),children:e.children}):Yn(Hm,{})};import{Fragment as Km,jsx as Qn}from"react/jsx-runtime";var Pm="k-input-suffix",_m={direction:"horizontal"},mo=e=>{let{direction:o=_m.direction,...t}=e;return e.children?Qn("span",{...t,className:a(Pm,e.className,{[`k-input-suffix-${o}`]:o}),children:e.children}):Qn(Km,{})};import{jsx as bL}from"react/jsx-runtime";import{jsx as Bm}from"react/jsx-runtime";var Dm="k-input-suffix-text",Ol=e=>{let{children:o,...t}=e;return Bm("span",{...t,className:a(Dm,e.className),children:o})};import{jsx as Um}from"react/jsx-runtime";var Zn="k-input-separator",zm={direction:"vertical"},uo=e=>{let{direction:o=zm.direction,...t}=e;return Um("span",{...t,className:a(Zn,e.className,{[`${Zn}-${o}`]:o})})};import{Fragment as jn,jsx as Eo,jsxs as Hl}from"react/jsx-runtime";var Fm=ve.states,$m=ve.defaultOptions,Vm=ve.options,Wm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Xm=[],zt=e=>{let{modifiers:o,valid:t,invalid:r,loading:l,disabled:n,readonly:d,...m}=e,b=o?.prefix,N=o?.suffix,x=o?.["clear-button"],k=o?.["validation-icon"],u=o?.separators;return Hl(ve,{...m,valid:t,invalid:r,loading:l,disabled:n,readonly:d,style:{width:300},children:[b&&Hl(jn,{children:[Eo(po,{children:Eo(f,{icon:"lock"})}),u&&Eo(uo,{})]}),Eo(to,{placeholder:"Placeholder",value:"Value"}),k&&Eo(Be,{valid:t,invalid:r,loading:l,disabled:n}),Eo(qe,{loading:l,disabled:n}),x&&Eo(oo,{loading:l,disabled:n,readonly:d,value:"Value"}),N&&Hl(jn,{children:[u&&Eo(uo,{}),Eo(mo,{children:Eo(Nt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};zt.options=Vm;zt.states=Fm;zt.variants=Xm;zt.defaultOptions=$m;zt.modifiers=Wm;zt.className=ve.className;var Pl="popup",es=Pl;import{jsx as os}from"react/jsx-runtime";var ts="k-animation-container",Jm=[],qm={},_l={positionMode:"absolute",shown:!0},Go=e=>{let{positionMode:o=_l.positionMode,shown:t=_l.shown,animationStyle:r,offset:l,...n}=e;return os("div",{...n,style:{...l,...e.style},className:a(e.className,ts,{"k-animation-container-shown":t,"k-animation-container-fixed":o==="fixed"}),children:os("div",{className:"k-child-animation-container",style:r,children:e.children})})};Go.states=Jm;Go.options=qm;Go.className=ts;Go.defaultOptions=_l;Go.moduleName=Pl;Go.folderName=es;var Kl="popup",as=Kl;import{jsx as rs}from"react/jsx-runtime";var ls="k-popup",Ym=[],Qm={},is={positionMode:"absolute"},ae=e=>{let{offset:o,positionMode:t=is.positionMode,animationStyle:r,containerClassName:l,containerRole:n,containerAriaLabel:d,...m}=e;return rs(Go,{positionMode:t,offset:o,animationStyle:r,className:l,role:n,"aria-label":d,children:rs("div",{...m,className:a(e.className,ls),children:e.children})})};ae.states=Ym;ae.options=Qm;ae.className=ls;ae.defaultOptions=is;ae.moduleName=Kl;ae.folderName=as;ae.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 Dl="action-buttons",ns=Dl;import{jsx as eu}from"react/jsx-runtime";var Lr="k-actions",Zm=[],jm={},Bl={alignment:"start",orientation:"horizontal"},bo=e=>{let{alignment:o=Bl.alignment,orientation:t=Bl.orientation,...r}=e;return eu("div",{...r,className:a(Lr,{[`${Lr}-${o}`]:o,[`${Lr}-${t}`]:t},e.className),children:e.children})};bo.states=Zm;bo.options=jm;bo.className=Lr;bo.defaultOptions=Bl;bo.moduleName=Dl;bo.folderName=ns;import{jsx as tu}from"react/jsx-runtime";var ou="k-actionsheet-footer",ss={alignment:"stretched",orientation:"horizontal"},at=e=>{let{alignment:o=ss.alignment,orientation:t=ss.orientation,template:r,as:l=r?"div":bo,...n}=e;return tu(l,{...n,...!r&&{alignment:o,orientation:t},className:a(e.className,ou),children:e.children})};var zl="searchbox",ds=zl;import{jsx as Fa,jsxs as lu}from"react/jsx-runtime";var cs="k-searchbox",au=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],ru={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]},Ul={showIcon:!0,icon:"search"},ao=e=>{let{value:o,placeholder:t,size:r,rounded:l,fillMode:n,hover:d,focus:m,valid:b,invalid:N,required:x,loading:k,disabled:u,showIcon:v=Ul.showIcon,icon:C=Ul.icon,"aria-label":I,...E}=e;return lu(ve,{...E,size:r,rounded:l,fillMode:n,hover:d,focus:m,valid:b,invalid:N,required:x,loading:k,disabled:u,className:a(e.className,cs),children:[v&&Fa(f,{className:"k-input-icon",icon:C}),Fa(to,{placeholder:t,value:o,"aria-label":I}),Fa(qe,{...e}),Fa(Be,{...e}),Fa(oo,{...e})]})};ao.states=au;ao.options=ru;ao.className=cs;ao.defaultOptions=Ul;ao.moduleName=zl;ao.folderName=ds;import{jsx as GM}from"react/jsx-runtime";var Fl="textbox",ps=Fl;import{Fragment as ms,jsx as rt,jsxs as $l}from"react/jsx-runtime";var us="k-textbox",iu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],nu={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]},Mr={showClearButton:!0,showValidationIcon:!0,separators:!0},me=e=>{let{size:o,rounded:t,fillMode:r,separators:l=Mr.separators,showClearButton:n=Mr.showClearButton,showValidationIcon:d=Mr.showValidationIcon,prefix:m,suffix:b,type:N,value:x,placeholder:k,hover:u,focus:v,valid:C,invalid:I,required:E,loading:G,disabled:B,readonly:ge,id:de,"aria-label":_e,"aria-describedby":Ke,...De}=e;return $l(ve,{...De,size:o,rounded:t,fillMode:r,hover:u,focus:v,valid:C,invalid:I,required:E,loading:G,disabled:B,readonly:ge,className:a(e.className,us),children:[m&&$l(ms,{children:[rt(po,{children:m}),l&&rt(uo,{})]}),rt(to,{id:de,placeholder:k,value:x,type:N,disabled:B,"aria-label":_e,"aria-describedby":Ke,"aria-invalid":I?"true":void 0}),d&&rt(Be,{valid:C,invalid:I,loading:G,disabled:B}),rt(qe,{loading:G,disabled:B}),n&&rt(oo,{loading:G,disabled:B,readonly:ge,value:x}),b&&$l(ms,{children:[l&&rt(uo,{}),rt(mo,{children:b})]})]})};me.states=iu;me.options=nu;me.className=us;me.defaultOptions=Mr;me.moduleName=Fl;me.folderName=ps;me.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 $a=me;import{jsx as su}from"react/jsx-runtime";var bs=e=>su($a,{...e});import{Fragment as QM,jsx as YM}from"react/jsx-runtime";import{Fragment as ay,jsx as ty}from"react/jsx-runtime";import{jsx as ny}from"react/jsx-runtime";import{jsx as Vl}from"react/jsx-runtime";var du=me.states,cu=me.defaultOptions,pu=me.options,mu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],uu=[],Ut=e=>{let{modifiers:o,...t}=e,r={};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":r.prefix=o?.[l]?Vl(f,{icon:"lock"}):void 0;break;case"suffix":r.suffix=o?.[l]?Vl(Nt,{size:t.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":r.showClearButton=o?.[l];break;default:break}}),Vl(bs,{value:"Value",style:{width:300},...t,...r})};Ut.options=pu;Ut.states=du;Ut.variants=uu;Ut.defaultOptions=cu;Ut.modifiers=mu;Ut.className=me.className;import{jsx as lt,jsxs as Wl}from"react/jsx-runtime";var fs="k-actionsheet-titlebar",bu={},ze=e=>{let{title:o,subtitle:t,actionsStart:r,actionsEnd:l,filter:n,input:d,inputValue:m,inputPlaceholder:b,adaptive:N,titleId:x,children:k,...u}=e;return Wl("div",{...u,className:a(e.className,fs),children:[Wl("div",{className:"k-actionsheet-titlebar-group",children:[r&&lt("div",{className:"k-actionsheet-actions",children:r}),!k&&Wl("div",{className:"k-actionsheet-title",id:x,children:[o&&lt("div",{className:"k-text-center",children:o}),t&&lt("div",{className:"k-actionsheet-subtitle k-text-center",children:t})]}),k&&lt("div",{className:"k-actionsheet-title",id:x,children:k}),l&&lt("div",{className:"k-actionsheet-actions",children:l})]}),(d||n)&&lt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?lt(me,{value:m,placeholder:b,size:N?"large":"medium","aria-label":o||b||"Input"}):lt(ao,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};ze.className=fs;ze.defaultOptions=bu;import{jsx as Xl,jsxs as hu}from"react/jsx-runtime";var Jl="k-actionsheet-view",fu=[],Tu={},gu={},Ft=e=>{let{adaptive:o,animated:t,children:r,header:l,footer:n,titleId:d,...m}=e,b=l?.type===ze&&Xl(ze,{adaptive:o,titleId:d,...l?.props}),N=n?.type===at&&Xl(at,{...n?.props});return hu("div",{...m,className:a(e.className,Jl,{[`${Jl}-animated`]:t}),children:[b,Xl("div",{className:"k-actionsheet-content",children:r}),N]})};Ft.states=fu;Ft.options=Tu;Ft.className=Jl;Ft.defaultOptions=gu;var Va="action-sheet",yr=Va;var ql="overlay",Ts=ql;import{jsx as vu}from"react/jsx-runtime";var gs="k-overlay",xu=[],Nu={},ku={},it=e=>{let{...o}=e;return vu("div",{...o,className:a(e.className,gs),children:e.children})};it.states=xu;it.options=Nu;it.className=gs;it.defaultOptions=ku;it.moduleName=ql;it.folderName=Ts;import{jsx as Sr,jsxs as Lu}from"react/jsx-runtime";var hs="k-actionsheet",wu=[],Cu={},Wa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},xe=e=>{let{side:o=Wa.side,fullscreen:t=Wa.fullscreen,adaptive:r=Wa.adaptive,overlay:l=Wa.overlay,template:n,children:d,header:m,footer:b,id:N,...x}=e,k=N&&!n&&m?`${N}-title`:void 0;return Lu("div",{className:"k-actionsheet-container",children:[l&&Sr(it,{}),Sr(Go,{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:Sr("div",{...x,id:N,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":k,className:a(e.className,hs,{[`k-actionsheet-${o}`]:t===!1,"k-actionsheet-fullscreen":t===!0,"k-adaptive-actionsheet":r}),children:n||Sr(Ft,{header:m,footer:b,adaptive:r,titleId:k,...e,children:d})})})]})};xe.states=wu;xe.options=Cu;xe.className=hs;xe.defaultOptions=Wa;xe.moduleName=Va;xe.folderName=yr;xe.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 Au}from"react/jsx-runtime";var xs="k-actionsheet-container",Mu=[],yu={},Su={},$t=e=>{let{children:o,...t}=e;return Au("div",{...t,className:xs,children:o})};$t.states=Mu;$t.options=yu;$t.className=xs;$t.defaultOptions=Su;$t.moduleName=Va;$t.folderName=yr;import{jsx as Iu}from"react/jsx-runtime";var Yl=e=>{let{...o}=e;return Iu("div",{...o,className:a(e.className,"k-list-ul"),children:e.children})};import{Fragment as Eu,jsx as Xa,jsxs as Ql}from"react/jsx-runtime";var Zl="k-actionsheet-item",Ru=[i.hover,i.focus,i.selected,i.disabled],nt=e=>{let{iconName:o,text:t,description:r,hover:l,focus:n,selected:d,disabled:m,...b}=e;return Ql("span",{...b,className:a(e.className,Zl,M(Zl,{hover:l,focus:n,selected:d,disabled:m})),children:[!e.children&&Xa(Eu,{children:Ql("span",{className:"k-actionsheet-action",children:[o&&Xa("span",{className:"k-icon-wrap",children:Xa(f,{className:"k-actionsheet-item-icon",icon:o})}),Ql("span",{className:"k-actionsheet-item-text",children:[t&&Xa("span",{className:"k-actionsheet-item-title",children:t}),r&&Xa("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};nt.states=Ru;nt.className=Zl;import{jsx as iS,jsxs as nS}from"react/jsx-runtime";import{jsx 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 Se,jsxs as jl}from"react/jsx-runtime";var Gu=xe.options,Ou=xe.states,ks={...xe.defaultOptions,variant:"normal"},Hu=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Pu=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Vt=e=>{let{variant:o,modifiers:t,...r}={...ks,...e},l={},n=jl(Yl,{children:[Se(nt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),Se(nt,{text:"Add to Favorites",iconName:"heart"}),Se(nt,{text:"Upload New",iconName:"upload",disabled:!0}),Se("hr",{className:"k-hr"}),Se(nt,{text:"Cancel",iconName:"cancel"})]}),d="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]?d:void 0;break;case"footer":l.footer=!!t?.[b];break;default:break}}),o==="adaptive"?Se(xe,{...r,adaptive:!0,fullscreen:l.fullScreen,header:Se(ze,{actionsStart:l.actionsStart?Se(c,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?Se(c,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:l.subtitle}),footer:l.footer?jl(at,{alignment:"stretched",children:[Se(c,{text:"Cancel",size:"large",themeColor:"base"}),Se(c,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:n}):Se(xe,{...r,fullscreen:l.fullScreen,header:Se(ze,{actionsStart:l.actionsStart?Se(c,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?Se(c,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:l.subtitle}),footer:l.footer?jl(at,{alignment:"stretched",children:[Se(c,{text:"Apply",themeColor:"primary"}),Se(c,{text:"Cancel",themeColor:"base"})]}):void 0,children:n})};Vt.options=Gu;Vt.states=Ou;Vt.variants=Hu;Vt.defaultOptions=ks;Vt.modifiers=Pu;Vt.className=xe.className;import oi from"react";import{jsx as vs}from"react/jsx-runtime";var _u="k-list-group-sticky-header",ei=e=>vs("div",{className:a(_u,e.className),children:vs("div",{className:"k-list-header-text",children:e.children})});import{jsx as Du}from"react/jsx-runtime";var Ku="k-no-data",Ar=e=>{let{live:o,...t}=e;return Du("span",{...t,className:a(Ku,e.className),"aria-live":o?"polite":void 0,children:e.children})};var vt="list",Wt=vt;import{jsx as ws,jsxs as Cs}from"react/jsx-runtime";var ti="k-list",Bu=[],zu={size:[s.undefined,s.small,s.medium,s.large]},Uu={},oe=e=>{let{size:o,virtualization:t,children:r,header:l,selectAll:n,optionLabel:d,customValue:m,noData:b,screenReaders:N,...x}=e,u=oi.Children.toArray(r)[0],v=u?.props?.children?oi.Children.count(u.props.children):oi.Children.count(r);return Cs("div",{...x,className:a(e.className,ti,L(ti,{size:o}),{"k-virtual-list":t}),children:[d,n,m,l&&ws(ei,{children:l}),r||(b!==void 0?b:ws(Ar,{live:!0,children:"No data found."})),N&&r&&Cs(Ar,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};oe.states=Bu;oe.options=zu;oe.className=ti;oe.defaultOptions=Uu;oe.moduleName=vt;oe.folderName=Wt;oe.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 Wu}from"react/jsx-runtime";var Ls="k-list-container",Fu=[],$u={},Vu={},Xt=e=>{let{...o}=e;return Wu("div",{...o,className:a(e.classNa