UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 199 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:w,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":w,"k-highlighted":C},Object.keys(I).reduce((E,G)=>(G.startsWith("k-")?E[G]=I[G]:E[`k-${G}`]=I[G],E),{}))};function Tn(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"},v={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 pl={};function P(e){return pl[e]=(pl[e]||0)+1,`k-${e}-${pl[e]}`}var Q="grid",ee=Q;import{jsx as $c,jsxs as Vc}from"react/jsx-runtime";var fr="k-grid",zc=[],Uc={size:[s.undefined,s.small,s.medium,s.large]},Fc=[],gn={pagerPosition:"bottom"},O=e=>{let{size:o,pagerPosition:t=gn.pagerPosition,toolbar:r,pager:l,groupingHeader:n,gridSelectionAggregates:d,_renderAriaRoot:m,resizable:b,ariaColCount:N,ariaRowCount:x,ariaRootId:k,ariaRole:u="grid",...w}=e;return Vc("div",{...w,className:a(e.className,fr,{[`${fr}-resizable`]:b},L(fr,{size:o})),children:[r,t==="top"&&l,n,e.children&&m?$c("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=zc;O.options=Uc;O.variants=Fc;O.className=fr;O.defaultOptions=gn;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 Wc}from"react/jsx-runtime";var hn="k-grid-header",X=e=>{let{draggable:o,...t}=e;return Wc("div",{...t,className:a(e.className,hn,{"k-grid-draggable-header":o}),children:e.children})};X.className=hn;X.moduleName=Q;X.folderName=ee;import{jsx as xn,jsxs as Xc}from"react/jsx-runtime";var Nn="k-grouping-header",Re=e=>{let{dropHint:o,dropClue:t,...r}=e;return Xc("div",{...r,className:a(e.className,Nn),children:[t&&xn("div",{className:"k-grouping-dropclue"}),e.children,xn("div",{className:"k-grouping-drop-container",children:o})]})};Re.className=Nn;Re.moduleName=Q;Re.folderName=ee;import{jsx as qc}from"react/jsx-runtime";var kn="k-grid-pinned-container",Pa=e=>{let{position:o,...t}=e;return qc("div",{...t,className:a(e.className,kn,{"k-pos-bottom":o==="bottom"}),children:e.children})};Pa.className=kn;Pa.moduleName=Q;Pa.folderName=ee;import{jsx as Jc}from"react/jsx-runtime";var wn="k-grid-sticky-container",_a=e=>{let{position:o,...t}=e;return Jc("div",{...t,className:a(e.className,wn,{"k-pos-bottom":o==="bottom"}),children:e.children})};_a.className=wn;_a.moduleName=Q;_a.folderName=ee;var ye="table",Ee=ye;import{jsx as jc}from"react/jsx-runtime";var vn="k-data-table",Yc=[],Qc={size:[s.undefined,s.small,s.medium,s.large]},Zc={},Ko=e=>{let{size:o,...t}=e;return jc("div",{...t,className:a(e.className,vn,L("k-table",{size:o})),children:e.children})};Ko.states=Yc;Ko.options=Qc;Ko.className=vn;Ko.defaultOptions=Zc;Ko.moduleName=ye;Ko.folderName=Ee;import{jsx as ap}from"react/jsx-runtime";var ml="k-table-header-wrap",ep=[i.hover,i.focus,i.disabled],op={},tp={},Zo=e=>{let{children:o,hover:t,focus:r,disabled:l,...n}=e;return ap("div",{...n,className:a(e.className,ml,M(ml,{hover:t,focus:r,disabled:l})),children:o})};Zo.states=ep;Zo.options=op;Zo.className=ml;Zo.defaultOptions=tp;Zo.moduleName=ye;Zo.folderName=Ee;import{jsx as np}from"react/jsx-runtime";var ul="k-table",rp=[],lp={size:[s.undefined,s.small,s.medium,s.large]},ip={},Ge=e=>{let{size:o,...t}=e;return np("table",{...t,className:a(e.className,ul,L(ul,{size:o})),children:e.children})};Ge.states=rp;Ge.options=lp;Ge.className=ul;Ge.defaultOptions=ip;Ge.moduleName=ye;Ge.folderName=Ee;import{jsx as bl}from"react/jsx-runtime";var fl="k-table-header",sp=[i.hover,i.focus,i.disabled],dp={},cp={},Do=e=>{let{children:o,hover:t,focus:r,disabled:l,...n}=e;return bl("div",{...n,className:a(e.className,fl,M(fl,{hover:t,focus:r,disabled:l})),children:bl(Zo,{children:bl(Ge,{children:o})})})};Do.states=sp;Do.options=dp;Do.className=fl;Do.defaultOptions=cp;Do.moduleName=ye;Do.folderName=Ee;import{jsx as bp}from"react/jsx-runtime";var Cn="k-table-scroller",pp=[],mp={},up={},Dt=e=>{let{children:o,...t}=e;return bp("div",{...t,className:a(e.className,Cn),children:o})};Dt.states=pp;Dt.options=mp;Dt.className=Cn;Dt.defaultOptions=up;Dt.moduleName=ye;Dt.folderName=Ee;import{jsx as nk}from"react/jsx-runtime";import{jsx as hp}from"react/jsx-runtime";var Ln="k-table-footer",fp=[],Tp={},gp={},jo=e=>{let{children:o,...t}=e;return hp("div",{...t,className:a(e.className,Ln),children:o})};jo.states=fp;jo.options=Tp;jo.className=Ln;jo.defaultOptions=gp;jo.moduleName=ye;jo.folderName=Ee;import{jsx as wp}from"react/jsx-runtime";var Tl="k-table-list",xp=[],Np={size:[s.undefined,s.small,s.medium,s.large]},kp={},et=e=>{let{size:o,virtualization:t,...r}=e;return wp("ul",{...r,className:a(e.className,"k-table",Tl,L(Tl,{size:o}),{"k-virtual-table":t}),children:e.children})};et.states=xp;et.options=Np;et.className=Tl;et.defaultOptions=kp;et.moduleName=ye;et.folderName=Ee;import{jsx as Cp}from"react/jsx-runtime";var vp="k-table-thead",U=e=>Cp("thead",{className:a(e.className,vp),children:e.children});import{jsx as Mp}from"react/jsx-runtime";var Lp="k-table-tbody",q=e=>Mp("tbody",{className:a(e.className,Lp),children:e.children});import{jsx as Lk}from"react/jsx-runtime";import{jsx as Sp}from"react/jsx-runtime";var gl="k-table-row",yp=[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 Sp("tr",{...m,className:a(e.className,gl,{"k-table-alt-row":d},M(gl,{hover:o,focus:t,disabled:n,selected:r,highlighted:l})),children:e.children})};S.states=yp;S.className=gl;import{jsx as Ip}from"react/jsx-runtime";var hl="k-table-row",Ap=[i.hover,i.focus,i.selected,i.disabled],Tr=e=>{let{hover:o,focus:t,selected:r,disabled:l,alt:n,...d}=e;return Ip("li",{...d,className:a(e.className,hl,{"k-table-alt-row":n},M(hl,{hover:o,focus:t,disabled:l,selected:r})),children:e.children})};Tr.states=Ap;Tr.className=hl;import{jsx as Rp}from"react/jsx-runtime";var Mn="k-table-th",Bo=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,Mn),children:n})};Bo.className=Mn;Bo.moduleName=ye;Bo.folderName=Ee;import{jsx as Dk}from"react/jsx-runtime";import{jsx as Gp}from"react/jsx-runtime";var xl="k-table-td",Ep=[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 Gp("td",{colSpan:n,rowSpan:d,...m,className:a(e.className,xl,M(xl,{focus:o,selected:t,highlighted:r})),children:b})};p.states=Ep;p.className=xl;import{jsx as Wk}from"react/jsx-runtime";import{jsx as Yk}from"react/jsx-runtime";import{jsx as ew}from"react/jsx-runtime";import{jsx as rw}from"react/jsx-runtime";import{jsx as sw}from"react/jsx-runtime";import{jsx as fw,jsxs as Tw}from"react/jsx-runtime";import{jsx as Nw,jsxs as kw}from"react/jsx-runtime";import{jsx as Lw,jsxs as Mw}from"react/jsx-runtime";import{Fragment as Ew,jsx as Iw,jsxs as Rw}from"react/jsx-runtime";import{jsx as Pp}from"react/jsx-runtime";var An="k-grid-header-table",J=e=>Pp(Ge,{...e,className:a(e.className,An),children:e.children});J.className=An;J.moduleName=Q;J.folderName=ee;import{Fragment as Bp,jsx as In}from"react/jsx-runtime";var Nl="k-font-icon",_p=[],Kp={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},Dp={},Ka=e=>{let{size:o,themeColor:t,icon:r,rotate:l,flip:n,...d}=e;return r?In("span",{...d,className:a(e.className,Nl,L(Nl,{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,{})};Ka.states=_p;Ka.options=Kp;Ka.className=Nl;Ka.defaultOptions=Dp;var Rn=Ka;import{Fragment as Fp,jsx as gr}from"react/jsx-runtime";var kl="k-svg-icon",zp=[],Up={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info],variant:[Io.outline,Io.solid,Io.duotone]},wl={viewBox:"0 0 24 24",variant:Io.outline},Da=e=>{let{size:o,themeColor:t,rotate:r,flip:l,viewBox:n=wl.viewBox,variant:d=wl.variant,icon:m,...b}=e;if(!m)return gr(Fp,{});if(m==="none")return gr("span",{...b,className:a(e.className,kl,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 gr("span",{...b,className:a(e.className,kl,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:gr("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})})};Da.states=zp;Da.options=Up;Da.className=kl;Da.defaultOptions=wl;var vl=Da;import*as Cl 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 Ba}from"react/jsx-runtime";var hr="k-icon",Wp=e=>e.replace(/([-_][a-z0-9])/gi,o=>o.toUpperCase().replace("-","").replace("_","")),Xp=[],qp={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info],variant:[Io.outline,Io.solid,Io.duotone]},xr={viewBox:"0 0 24 24",type:"svg",variant:Io.outline},f=e=>{let{iconsType:o}=Vp(On),{size:t,themeColor:r,icon:l,type:n=o||xr.type,rotate:d,flip:m,viewBox:b=xr.viewBox,variant:N=xr.variant,...x}=e;if(!l)return Ba(Hn,{});if((o||n)==="svg"){if(l==="none")return Ba(vl,{...x,className:a(e.className,hr),icon:l,size:t,variant:N});let u=Cl[l]?l:Wp(`${l}-icon`);return Cl[u]?Ba(vl,{...x,className:a(e.className,hr),icon:Cl[u],size:t,themeColor:r,rotate:d,flip:m,viewBox:b,variant:N}):Ba(Hn,{})}return Ba(Rn,{...x,className:a(e.className,hr),icon:l,size:t,themeColor:r,rotate:d,flip:m})};f.states=Xp;f.options=qp;f.defaultOptions=xr;f.className=hr;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 ot,jsxs as Ll}from"react/jsx-runtime";var Ml="k-header",Jp=[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:d,hover:m,focus:b,active:N,sortIcon:x=Pn.sortIcon,sortOrder:k,accessibleLabel:u,...w}=e;return Ll(Bo,{...w,className:a(e.className,Ml,{"k-filterable":o||r,"k-sorted":t,"k-grid-header-sticky":l,"k-touch-action-none":n},M(Ml,{hover:m,focus:b,active:N})),children:[d&&Ll("span",{className:"k-cell-inner",children:[Ll("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=Jp;A.className=Ml;A.defaultOptions=Pn;A.moduleName=Q;A.folderName=ee;import{jsx as Yp}from"react/jsx-runtime";var _n="k-grid-container",F=e=>Yp("div",{...e,className:a(e.className,_n),children:e.children});F.className=_n;F.moduleName=Q;F.folderName=ee;import{jsx as Qp}from"react/jsx-runtime";var Kn="k-grid-content",$=e=>Qp("div",{...e,className:a(e.className,Kn),children:e.children});$.className=Kn;$.moduleName=Q;$.folderName=ee;import{jsx as Zp}from"react/jsx-runtime";var Dn="k-grid-table",V=e=>Zp(Ge,{...e,className:a(e.className,Dn),children:e.children});V.className=Dn;V.moduleName=Q;V.folderName=ee;import{jsx as jp}from"react/jsx-runtime";var Bn="k-grid-footer",Nr=e=>jp("div",{...e,className:a(e.className,Bn),children:e.children});Nr.className=Bn;Nr.moduleName=Q;Nr.folderName=ee;import{jsx as em}from"react/jsx-runtime";var zn="k-grid-footer-table",kr=e=>em(Ge,{...e,className:a(e.className,zn),children:e.children});kr.className=zn;kr.moduleName=Q;kr.folderName=ee;var yl="button",Un=yl;import{Fragment as Fn,jsx as Bt,jsxs as $n}from"react/jsx-runtime";var za="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:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},Sl={showArrow:!1,arrowIconName:"chevron-down"},c=e=>{let{as:o="button",size:t,rounded:r,fillMode:l,themeColor:n,showArrow:d=Sl.showArrow,arrowIconName:m=Sl.arrowIconName,variant:b,hover:N,focus:x,active:k,selected:u,disabled:w,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 $n(o,{className:a(de,za,Tn(za,b),L(za,{size:t,rounded:r,fillMode:l,themeColor:n}),M(za,{hover:N,focus:x,active:k,disabled:w||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:w||void 0,children:[typeof E=="string"&&E&&Bt(f,{className:a(ge,"k-button-icon"),icon:E,size:G}),E&&typeof E!="string"&&Bt(Fn,{children:E}),B?$n(Fn,{children:[B&&Bt("span",{className:"k-button-text",children:B}),e.children]}):e.children&&Bt("span",{className:"k-button-text",children:e.children}),d&&Bt("span",{className:"k-menu-button-arrow k-button-arrow",children:Bt(f,{icon:m})})]})};c.states=tm;c.options=am;c.variants=om;c.className=za;c.defaultOptions=Sl;c.moduleName=yl;c.folderName=Un;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 rm}from"react/jsx-runtime";var tt=e=>rm(c,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as lm}from"react/jsx-runtime";var Ua=e=>lm(c,{icon:"folder",children:"Button",...e});import{jsx as im}from"react/jsx-runtime";var kt=e=>im(c,{children:"Button",...e});import{jsx as Al}from"react/jsx-runtime";var nm=c.options,sm=c.states,dm={...c.defaultOptions,variant:"text"},cm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],pm=[],zt=e=>{let{variant:o,...t}=e;switch(o){case"icon-only":return Al(tt,{...t,icon:"star"});case"icon-and-text":return Al(Ua,{...t,icon:"star",children:"Button"});default:return Al(kt,{...t,children:"Button"})}};zt.options=nm;zt.states=sm;zt.variants=cm;zt.defaultOptions=dm;zt.modifiers=pm;zt.className=c.className;var Fa="input",wr=Fa;import{jsx as fm}from"react/jsx-runtime";var vr="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:d,readonly:m,size:b,rounded:N,fillMode:x,...k}=e;return fm("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}))})};we.states=mm;we.options=um;we.className=vr;we.defaultOptions=bm;we.moduleName=Fa;we.folderName=wr;import{jsx as xm}from"react/jsx-runtime";var Cr="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={},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 xm("span",{...k,className:a(e.className,Cr,L(Cr,{size:b,rounded:N,fillMode:x}),M(Cr,{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:d,readonly:m})),children:e.children})};Ro.states=Tm;Ro.options=gm;Ro.className=Cr;Ro.defaultOptions=hm;Ro.moduleName=Fa;Ro.folderName=wr;import{Fragment as wm,jsx as Il}from"react/jsx-runtime";var Vn="k-clear-value",Nm=[i.disabled,i.loading,i.readonly],km={},oo=e=>{let{disabled:o,loading:t,readonly:r,value:l}=e;return o||r||t||!l?Il(wm,{}):Il("span",{className:a(e.className,Vn),children:Il(f,{icon:"x"})})};oo.states=Nm;oo.options=km;oo.className=Vn;import{jsx as Lm}from"react/jsx-runtime";var Rl="k-input-inner",vm=[],Cm={},Lr={type:"text",autocomplete:"off",value:"",placeholder:""},to=e=>{let{value:o=Lr.value,type:t=Lr.type,placeholder:r=Lr.placeholder,autocomplete:l=Lr.autocomplete,disabled:n,readOnly:d,...m}=e;return Lm("input",{...m,type:t,className:a(e.className,Rl,L(Rl,e)),placeholder:r,autoComplete:l,defaultValue:o,disabled:n||void 0,readOnly:d||void 0})};to.states=vm;to.options=Cm;to.className=Rl;import{jsx as Wn,jsxs as Sm}from"react/jsx-runtime";var El="k-input-inner",Mm=[],ym={},wt=e=>{let{value:o,placeholder:t,showValue:r,valueIcon:l,valueIconName:n,...d}=e;return Sm("span",{...d,className:a(e.className,El,L(El,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=El;import{jsx as Rm}from"react/jsx-runtime";var Gl="k-input-inner",Am=[],Im={},Xn={value:"",placeholder:""},Ol=e=>{let{value:o=Xn.value,placeholder:t=Xn.placeholder,rows:r,disabled:l,...n}=e;return Rm("textarea",{...n,className:a(e.className,Gl,L(Gl,e)),placeholder:t,rows:r,defaultValue:o,disabled:l||void 0})};Ol.states=Am;Ol.options=Im;Ol.className=Gl;import{Fragment as Gm,jsx as qn}from"react/jsx-runtime";var Jn="k-input-loading-icon",Em=[i.disabled,i.loading],Je=e=>{let{disabled:o,loading:t}=e;return o||!t?qn(Gm,{}):qn("span",{className:a(e.className,Jn,"k-icon k-i-loading")})};Je.states=Em;Je.className=Jn;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={},Be=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})};Be.states=Om;Be.options=Hm;Be.className=Qn;import{Fragment as Dm,jsx as Zn}from"react/jsx-runtime";var _m="k-input-prefix",Km={direction:"horizontal"},po=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"},mo=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 wL}from"react/jsx-runtime";import{jsx as $m}from"react/jsx-runtime";var Fm="k-input-suffix-text",Hl=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"},uo=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 Eo,jsxs as Pl}from"react/jsx-runtime";var Xm=we.states,qm=we.defaultOptions,Jm=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=[],Ut=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 Pl(we,{...m,valid:t,invalid:r,loading:l,disabled:n,readonly:d,style:{width:300},children:[b&&Pl(os,{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(Je,{loading:l,disabled:n}),x&&Eo(oo,{loading:l,disabled:n,readonly:d,value:"Value"}),N&&Pl(os,{children:[u&&Eo(uo,{}),Eo(mo,{children:Eo(kt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};Ut.options=Jm;Ut.states=Xm;Ut.variants=Qm;Ut.defaultOptions=qm;Ut.modifiers=Ym;Ut.className=we.className;var _l="popup",ts=_l;import{jsx as as}from"react/jsx-runtime";var rs="k-animation-container",Zm=[],jm={},Kl={positionMode:"absolute",shown:!0},Go=e=>{let{positionMode:o=Kl.positionMode,shown:t=Kl.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})})};Go.states=Zm;Go.options=jm;Go.className=rs;Go.defaultOptions=Kl;Go.moduleName=_l;Go.folderName=ts;var Dl="popup",ls=Dl;import{jsx as is}from"react/jsx-runtime";var ns="k-popup",eu=[],ou={},ss={positionMode:"absolute"},ae=e=>{let{offset:o,positionMode:t=ss.positionMode,animationStyle:r,containerClassName:l,containerRole:n,containerAriaLabel:d,...m}=e;return is(Go,{positionMode:t,offset:o,animationStyle:r,className:l,role:n,"aria-label":d,children:is("div",{...m,className:a(e.className,ns),children:e.children})})};ae.states=eu;ae.options=ou;ae.className=ns;ae.defaultOptions=ss;ae.moduleName=Dl;ae.folderName=ls;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 Bl="action-buttons",ds=Bl;import{jsx as ru}from"react/jsx-runtime";var Mr="k-actions",tu=[],au={},zl={alignment:"start",orientation:"horizontal"},bo=e=>{let{alignment:o=zl.alignment,orientation:t=zl.orientation,...r}=e;return ru("div",{...r,className:a(Mr,{[`${Mr}-${o}`]:o,[`${Mr}-${t}`]:t},e.className),children:e.children})};bo.states=tu;bo.options=au;bo.className=Mr;bo.defaultOptions=zl;bo.moduleName=Bl;bo.folderName=ds;import{jsx as iu}from"react/jsx-runtime";var lu="k-actionsheet-footer",cs={alignment:"stretched",orientation:"horizontal"},at=e=>{let{alignment:o=cs.alignment,orientation:t=cs.orientation,template:r,as:l=r?"div":bo,...n}=e;return iu(l,{...n,...!r&&{alignment:o,orientation:t},className:a(e.className,lu),children:e.children})};var Ul="searchbox",ps=Ul;import{jsx as $a,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]},Fl={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:w=Fl.showIcon,icon:C=Fl.icon,"aria-label":I,...E}=e;return du(we,{...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,ms),children:[w&&$a(f,{className:"k-input-icon",icon:C}),$a(to,{placeholder:t,value:o,"aria-label":I}),$a(Je,{...e}),$a(Be,{...e}),$a(oo,{...e})]})};ao.states=nu;ao.options=su;ao.className=ms;ao.defaultOptions=Fl;ao.moduleName=Ul;ao.folderName=ps;import{jsx as zM}from"react/jsx-runtime";var $l="textbox",us=$l;import{Fragment as bs,jsx as rt,jsxs as Vl}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]},yr={showClearButton:!0,showValidationIcon:!0,separators:!0},me=e=>{let{size:o,rounded:t,fillMode:r,separators:l=yr.separators,showClearButton:n=yr.showClearButton,showValidationIcon:d=yr.showValidationIcon,prefix:m,suffix:b,type:N,value:x,placeholder:k,hover:u,focus:w,valid:C,invalid:I,required:E,loading:G,disabled:B,readonly:ge,id:de,"aria-label":_e,"aria-describedby":Ke,...De}=e;return Vl(we,{...De,size:o,rounded:t,fillMode:r,hover:u,focus:w,valid:C,invalid:I,required:E,loading:G,disabled:B,readonly:ge,className:a(e.className,fs),children:[m&&Vl(bs,{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(Je,{loading:G,disabled:B}),n&&rt(oo,{loading:G,disabled:B,readonly:ge,value:x}),b&&Vl(bs,{children:[l&&rt(uo,{}),rt(mo,{children:b})]})]})};me.states=cu;me.options=pu;me.className=fs;me.defaultOptions=yr;me.moduleName=$l;me.folderName=us;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 Va=me;import{jsx as mu}from"react/jsx-runtime";var Ts=e=>mu(Va,{...e});import{Fragment as ly,jsx as ry}from"react/jsx-runtime";import{Fragment as py,jsx as cy}from"react/jsx-runtime";import{jsx as fy}from"react/jsx-runtime";import{jsx as Wl}from"react/jsx-runtime";var uu=me.states,bu=me.defaultOptions,fu=me.options,Tu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],gu=[],Ft=e=>{let{modifiers:o,...t}=e,r={};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":r.prefix=o?.[l]?Wl(f,{icon:"lock"}):void 0;break;case"suffix":r.suffix=o?.[l]?Wl(kt,{size:t.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":r.showClearButton=o?.[l];break;default:break}}),Wl(Ts,{value:"Value",style:{width:300},...t,...r})};Ft.options=fu;Ft.states=uu;Ft.variants=gu;Ft.defaultOptions=bu;Ft.modifiers=Tu;Ft.className=me.className;import{jsx as lt,jsxs as Xl}from"react/jsx-runtime";var gs="k-actionsheet-titlebar",hu={},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 Xl("div",{...u,className:a(e.className,gs),children:[Xl("div",{className:"k-actionsheet-titlebar-group",children:[r&&lt("div",{className:"k-actionsheet-actions",children:r}),!k&&Xl("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=gs;ze.defaultOptions=hu;import{jsx as ql,jsxs as wu}from"react/jsx-runtime";var Jl="k-actionsheet-view",xu=[],Nu={},ku={},$t=e=>{let{adaptive:o,animated:t,children:r,header:l,footer:n,titleId:d,...m}=e,b=l?.type===ze&&ql(ze,{adaptive:o,titleId:d,...l?.props}),N=n?.type===at&&ql(at,{...n?.props});return wu("div",{...m,className:a(e.className,Jl,{[`${Jl}-animated`]:t}),children:[b,ql("div",{className:"k-actionsheet-content",children:r}),N]})};$t.states=xu;$t.options=Nu;$t.className=Jl;$t.defaultOptions=ku;var Wa="action-sheet",Sr=Wa;var Yl="overlay",hs=Yl;import{jsx as Mu}from"react/jsx-runtime";var xs="k-overlay",vu=[],Cu={},Lu={},it=e=>{let{...o}=e;return Mu("div",{...o,className:a(e.className,xs),children:e.children})};it.states=vu;it.options=Cu;it.className=xs;it.defaultOptions=Lu;it.moduleName=Yl;it.folderName=hs;import{jsx as Ar,jsxs as Au}from"react/jsx-runtime";var Ns="k-actionsheet",yu=[],Su={},Xa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},xe=e=>{let{side:o=Xa.side,fullscreen:t=Xa.fullscreen,adaptive:r=Xa.adaptive,overlay:l=Xa.overlay,template:n,children:d,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&&Ar(it,{}),Ar(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:Ar("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||Ar($t,{header:m,footer:b,adaptive:r,titleId:k,...e,children:d})})})]})};xe.states=yu;xe.options=Su;xe.className=Ns;xe.defaultOptions=Xa;xe.moduleName=Wa;xe.folderName=Sr;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 Gu}from"react/jsx-runtime";var ks="k-actionsheet-container",Iu=[],Ru={},Eu={},Vt=e=>{let{children:o,...t}=e;return Gu("div",{...t,className:ks,children:o})};Vt.states=Iu;Vt.options=Ru;Vt.className=ks;Vt.defaultOptions=Eu;Vt.moduleName=Wa;Vt.folderName=Sr;import{jsx as Ou}from"react/jsx-runtime";var Ql=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 Zl}from"react/jsx-runtime";var jl="k-actionsheet-item",Hu=[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 Zl("span",{...b,className:a(e.className,jl,M(jl,{hover:l,focus:n,selected:d,disabled:m})),children:[!e.children&&qa(Pu,{children:Zl("span",{className:"k-actionsheet-action",children:[o&&qa("span",{className:"k-icon-wrap",children:qa(f,{className:"k-actionsheet-item-icon",icon:o})}),Zl("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]})};nt.states=Hu;nt.className=jl;import{jsx as bS,jsxs as fS}from"react/jsx-runtime";import{jsx as xS}from"react/jsx-runtime";import{jsx as vS}from"react/jsx-runtime";import{jsx as yS}from"react/jsx-runtime";import{jsx as Se,jsxs as ei}from"react/jsx-runtime";var _u=xe.options,Ku=xe.states,vs={...xe.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"}],Wt=e=>{let{variant:o,modifiers:t,...r}={...vs,...e},l={},n=ei(Ql,{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?ei(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?ei(at,{alignment:"stretched",children:[Se(c,{text:"Apply",themeColor:"primary"}),Se(c,{text:"Cancel",themeColor:"base"})]}):void 0,children:n})};Wt.options=_u;Wt.states=Ku;Wt.variants=Du;Wt.defaultOptions=vs;Wt.modifiers=Bu;Wt.className=xe.className;import ti from"react";import{jsx as Cs}from"react/jsx-runtime";var zu="k-list-group-sticky-header",oi=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",Ir=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 vt="list",Xt=vt;import{jsx as Ls,jsxs as Ms}from"react/jsx-runtime";var ai="k-list",$u=[],Vu={size:[s.undefined,s.small,s.medium,s.large]},Wu={},oe=e=>{let{size:o,virtualization:t,children:r,header:l,selectAll:n,optionLabel:d,customValue:m,noData:b,screenReaders:N,...x}=e,u=ti.Children.toArray(r)[0],w=u?.props?.children?ti.Children.count(u.props.children):ti.Children.count(r);return Ms("div",{...x,className:a(e.className,ai,L(ai,{size:o}),{"k-virtual-list":t}),children:[d,n,m,l&&Ls(oi,{children:l}),r||(b!==void 0?b:Ls(Ir,{live:!0,children:"No data found."})),N&&r&&Ms(Ir,{className:"k-sr-only",live:!0,children:[w," items found."]})]})};oe.states=$u;oe.options=Vu;oe.className=ai;oe.defaultOptions=Wu;oe.moduleName=vt;oe.folderName=Xt;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 Yu}from"react/jsx-runtime";var ys="k-list-container",Xu=[],qu={},Ju={},qt=e=>{let{...o}=e;return Yu("div",{...o,className:a(e.classNa