@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 194 kB
JavaScript
var a=(...e)=>e.filter(o=>o!==!0&&!!o).map(o=>Array.isArray(o)?a(...o):typeof o=="object"?Object.keys(o).map((t,r)=>o[r]||o[t]&&t||null).filter(t=>t!==null).join(" "):o).filter(o=>!!o).join(" ");var M=(e,o)=>a({[`${e}-xs`]:o.size==="xsmall",[`${e}-sm`]:o.size==="small",[`${e}-md`]:o.size==="medium",[`${e}-lg`]:o.size==="large",[`${e}-xl`]:o.size==="xlarge",[`${e}-xxl`]:o.size==="xxlarge",[`${e}-xxxl`]:o.size==="xxxlarge"},{[`${e}-${o.fillMode}`]:o.fillMode},{[`${e}-${o.themeColor}`]:o.themeColor},{"k-rounded-sm":o.rounded==="small","k-rounded-md":o.rounded==="medium","k-rounded-lg":o.rounded==="large","k-rounded-full":o.rounded==="full","k-rounded-none":o.rounded==="none"}),y=(e,o)=>{let{valid:t,invalid:r,hover:l,focus:n,checked:d,active:m,selected:b,disabled:N,indeterminate:x,loading:k,empty:u,readonly:v,highlighted:L,...I}=o;return a({"k-valid":t,"k-invalid":r,"k-hover":l,"k-focus":n,"k-checked":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":L},Object.keys(I).reduce((E,G)=>(G.startsWith("k-")?E[G]=I[G]:E[`k-${G}`]=I[G],E),{}))};function gn(e,o){if(!o)return{};let t=Array.isArray(o)?o:[o];return Object.fromEntries(t.map(r=>[`k-${r}`,!0]))}var s={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},g={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},h={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Eo={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},w={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var ul={};function P(e){return ul[e]=(ul[e]||0)+1,`k-${e}-${ul[e]}`}var Q="grid",oe=Q;import{jsx as Wc,jsxs as Xc}from"react/jsx-runtime";var gr="k-grid",Fc=[],$c={size:[s.undefined,s.small,s.medium,s.large]},Vc=[],hn={pagerPosition:"bottom"},O=e=>{let{size:o,pagerPosition:t=hn.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 Xc("div",{...v,className:a(e.className,gr,{[`${gr}-resizable`]:b},M(gr,{size:o})),children:[r,t==="top"&&l,n,e.children&&m?Wc("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=Fc;O.options=$c;O.variants=Vc;O.className=gr;O.defaultOptions=hn;O.moduleName=Q;O.folderName=oe;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 Jc}from"react/jsx-runtime";var xn="k-grid-header",W=e=>{let{draggable:o,...t}=e;return Jc("div",{...t,className:a(e.className,xn,{"k-grid-draggable-header":o}),children:e.children})};W.className=xn;W.moduleName=Q;W.folderName=oe;import{jsx as Nn,jsxs as qc}from"react/jsx-runtime";var kn="k-grouping-header",Ee=e=>{let{dropHint:o,dropClue:t,...r}=e;return qc("div",{...r,className:a(e.className,kn),children:[t&&Nn("div",{className:"k-grouping-dropclue"}),e.children,Nn("div",{className:"k-grouping-drop-container",children:o})]})};Ee.className=kn;Ee.moduleName=Q;Ee.folderName=oe;import{jsx as Yc}from"react/jsx-runtime";var vn="k-grid-pinned-container",Ka=e=>{let{position:o,...t}=e;return Yc("div",{...t,className:a(e.className,vn,{"k-pos-bottom":o==="bottom"}),children:e.children})};Ka.className=vn;Ka.moduleName=Q;Ka.folderName=oe;import{jsx as Qc}from"react/jsx-runtime";var wn="k-grid-sticky-container",Da=e=>{let{position:o,...t}=e;return Qc("div",{...t,className:a(e.className,wn,{"k-pos-bottom":o==="bottom"}),children:e.children})};Da.className=wn;Da.moduleName=Q;Da.folderName=oe;var Ae="table",Ge=Ae;import{jsx as op}from"react/jsx-runtime";var Cn="k-data-table",Zc=[],jc={size:[s.undefined,s.small,s.medium,s.large]},ep={},Bo=e=>{let{size:o,...t}=e;return op("div",{...t,className:a(e.className,Cn,M("k-table",{size:o})),children:e.children})};Bo.states=Zc;Bo.options=jc;Bo.className=Cn;Bo.defaultOptions=ep;Bo.moduleName=Ae;Bo.folderName=Ge;import{jsx as lp}from"react/jsx-runtime";var bl="k-table-header-wrap",tp=[i.hover,i.focus,i.disabled],ap={},rp={},ot=e=>{let{children:o,hover:t,focus:r,disabled:l,...n}=e;return lp("div",{...n,className:a(e.className,bl,y(bl,{hover:t,focus:r,disabled:l})),children:o})};ot.states=tp;ot.options=ap;ot.className=bl;ot.defaultOptions=rp;ot.moduleName=Ae;ot.folderName=Ge;import{jsx as dp}from"react/jsx-runtime";var fl="k-table",ip=[],np={size:[s.undefined,s.small,s.medium,s.large]},sp={},Oe=e=>{let{size:o,...t}=e;return dp("table",{...t,className:a(e.className,fl,M(fl,{size:o})),children:e.children})};Oe.states=ip;Oe.options=np;Oe.className=fl;Oe.defaultOptions=sp;Oe.moduleName=Ae;Oe.folderName=Ge;import{jsx as Tl}from"react/jsx-runtime";var gl="k-table-header",cp=[i.hover,i.focus,i.disabled],pp={},mp={},zo=e=>{let{children:o,hover:t,focus:r,disabled:l,...n}=e;return Tl("div",{...n,className:a(e.className,gl,y(gl,{hover:t,focus:r,disabled:l})),children:Tl(ot,{children:Tl(Oe,{children:o})})})};zo.states=cp;zo.options=pp;zo.className=gl;zo.defaultOptions=mp;zo.moduleName=Ae;zo.folderName=Ge;import{jsx as Tp}from"react/jsx-runtime";var Ln="k-table-scroller",up=[],bp={},fp={},zt=e=>{let{children:o,...t}=e;return Tp("div",{...t,className:a(e.className,Ln),children:o})};zt.states=up;zt.options=bp;zt.className=Ln;zt.defaultOptions=fp;zt.moduleName=Ae;zt.folderName=Ge;import{jsx as ik}from"react/jsx-runtime";import{jsx as Np}from"react/jsx-runtime";var Mn="k-table-footer",gp=[],hp={},xp={},tt=e=>{let{children:o,...t}=e;return Np("div",{...t,className:a(e.className,Mn),children:o})};tt.states=gp;tt.options=hp;tt.className=Mn;tt.defaultOptions=xp;tt.moduleName=Ae;tt.folderName=Ge;import{jsx as Cp}from"react/jsx-runtime";var hl="k-table-list",kp=[],vp={size:[s.undefined,s.small,s.medium,s.large]},wp={},at=e=>{let{size:o,virtualization:t,...r}=e;return Cp("ul",{...r,className:a(e.className,"k-table",hl,M(hl,{size:o}),{"k-virtual-table":t}),children:e.children})};at.states=kp;at.options=vp;at.className=hl;at.defaultOptions=wp;at.moduleName=Ae;at.folderName=Ge;import{jsx as Mp}from"react/jsx-runtime";var Lp="k-table-thead",U=e=>Mp("thead",{className:a(e.className,Lp),children:e.children});import{jsx as Sp}from"react/jsx-runtime";var yp="k-table-tbody",X=e=>Sp("tbody",{className:a(e.className,yp),children:e.children});import{jsx as Ck}from"react/jsx-runtime";import{jsx as Ip}from"react/jsx-runtime";var xl="k-table-row",Ap=[i.hover,i.focus,i.selected,i.disabled,i.highlighted],C=e=>{let{hover:o,focus:t,selected:r,highlighted:l,disabled:n,alt:d,...m}=e;return Ip("tr",{...m,className:a(e.className,xl,{"k-table-alt-row":d},y(xl,{hover:o,focus:t,disabled:n,selected:r,highlighted:l})),children:e.children})};C.states=Ap;C.className=xl;import{jsx as Ep}from"react/jsx-runtime";var Nl="k-table-row",Rp=[i.hover,i.focus,i.selected,i.disabled],hr=e=>{let{hover:o,focus:t,selected:r,disabled:l,alt:n,...d}=e;return Ep("li",{...d,className:a(e.className,Nl,{"k-table-alt-row":n},y(Nl,{hover:o,focus:t,disabled:l,selected:r})),children:e.children})};hr.states=Rp;hr.className=Nl;import{jsx as Gp}from"react/jsx-runtime";var yn="k-table-th",Uo=e=>{let{text:o,colspan:t,rowspan:r,...l}=e,n=o||e.children;return Gp("th",{colSpan:t,rowSpan:r,...l,className:a(e.className,yn),children:n})};Uo.className=yn;Uo.moduleName=Ae;Uo.folderName=Ge;import{jsx as Kk}from"react/jsx-runtime";import{jsx as Hp}from"react/jsx-runtime";var kl="k-table-td",Op=[i.focus,i.selected,i.highlighted],c=e=>{let{focus:o,selected:t,highlighted:r,text:l,colspan:n,rowspan:d,...m}=e,b=l||e.children;return Hp("td",{colSpan:n,rowSpan:d,...m,className:a(e.className,kl,y(kl,{focus:o,selected:t,highlighted:r})),children:b})};c.states=Op;c.className=kl;import{jsx as Vk}from"react/jsx-runtime";import{jsx as qk}from"react/jsx-runtime";import{jsx as jk}from"react/jsx-runtime";import{jsx as av}from"react/jsx-runtime";import{jsx as nv}from"react/jsx-runtime";import{jsx as bv,jsxs as fv}from"react/jsx-runtime";import{jsx as xv,jsxs as Nv}from"react/jsx-runtime";import{jsx as Cv,jsxs as Lv}from"react/jsx-runtime";import{Fragment as Rv,jsx as Av,jsxs as Iv}from"react/jsx-runtime";import{jsx as Kp}from"react/jsx-runtime";var In="k-grid-header-table",J=e=>Kp(Oe,{...e,className:a(e.className,In),children:e.children});J.className=In;J.moduleName=Q;J.folderName=oe;import{Fragment as Up,jsx as Rn}from"react/jsx-runtime";var vl="k-font-icon",Dp=[],Bp={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]},zp={},Ba=e=>{let{size:o,themeColor:t,icon:r,rotate:l,flip:n,...d}=e;return r?Rn("span",{...d,className:a(e.className,vl,M(vl,{size:o}),{[`k-i-${r}`]:r,[`k-color-${t}`]:t,[`k-rotate-${l}`]:l,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true"}):Rn(Up,{})};Ba.states=Dp;Ba.options=Bp;Ba.className=vl;Ba.defaultOptions=zp;var En=Ba;import{Fragment as Vp,jsx as xr}from"react/jsx-runtime";var wl="k-svg-icon",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:[Eo.outline,Eo.solid,Eo.duotone]},Cl={viewBox:"0 0 24 24",variant:Eo.outline},za=e=>{let{size:o,themeColor:t,rotate:r,flip:l,viewBox:n=Cl.viewBox,variant:d=Cl.variant,icon:m,...b}=e;if(!m)return xr(Vp,{});if(m==="none")return xr("span",{...b,className:a(e.className,wl,M("k-icon",{size:o}),"k-none"),"aria-hidden":"true"});let N=typeof m=="object"&&m.name&&m.name,x=typeof m=="object"?d&&m.variants?.[d]||m.variants?.outline||m.content:void 0;return xr("span",{...b,className:a(e.className,wl,M("k-icon",{size:o}),{[`k-svg-i-${N}`]:N,[`k-color-${t}`]:t,[`k-rotate-${r}`]:r,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true",children:xr("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})})};za.states=Fp;za.options=$p;za.className=wl;za.defaultOptions=Cl;var Ll=za;import*as Ml from"@progress/kendo-svg-icons";var Gn="icon",On="icons";import{useContext as Xp}from"react";import{createContext as Wp}from"react";var Hn=Wp({iconsType:"svg"});import{Fragment as Pn,jsx as Ua}from"react/jsx-runtime";var Nr="k-icon",Jp=e=>e.replace(/([-_][a-z0-9])/gi,o=>o.toUpperCase().replace("-","").replace("_","")),qp=[],Yp={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[w.undefined,w.base,w.primary,w.secondary,w.tertiary,w.success,w.warning,w.error,w.info],variant:[Eo.outline,Eo.solid,Eo.duotone]},kr={viewBox:"0 0 24 24",type:"svg",variant:Eo.outline},f=e=>{let{iconsType:o}=Xp(Hn),{size:t,themeColor:r,icon:l,type:n=o||kr.type,rotate:d,flip:m,viewBox:b=kr.viewBox,variant:N=kr.variant,...x}=e;if(!l)return Ua(Pn,{});if((o||n)==="svg"){if(l==="none")return Ua(Ll,{...x,className:a(e.className,Nr),icon:l,size:t,variant:N});let u=Ml[l]?l:Jp(`${l}-icon`);return Ml[u]?Ua(Ll,{...x,className:a(e.className,Nr),icon:Ml[u],size:t,themeColor:r,rotate:d,flip:m,viewBox:b,variant:N}):Ua(Pn,{})}return Ua(En,{...x,className:a(e.className,Nr),icon:l,size:t,themeColor:r,rotate:d,flip:m})};f.states=qp;f.options=Yp;f.defaultOptions=kr;f.className=Nr;f.moduleName=Gn;f.folderName=On;f.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};import{jsx as rt,jsxs as yl}from"react/jsx-runtime";var Sl="k-header",Qp=[i.hover,i.focus,i.active],_n={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=_n.sortIcon,sortOrder:k,accessibleLabel:u,...v}=e;return yl(Uo,{...v,className:a(e.className,Sl,{"k-filterable":o||r,"k-sorted":t,"k-grid-header-sticky":l,"k-touch-action-none":n},y(Sl,{hover:m,focus:b,active:N})),children:[d&&yl("span",{className:"k-cell-inner",children:[yl("span",{className:"k-link",children:[rt("span",{className:"k-column-title",children:d}),t&&rt("span",{className:"k-sort-icon",children:rt(f,{icon:x})}),k&&rt("span",{className:"k-sort-order",children:k})]}),o&&rt("a",{className:a("k-grid-header-menu",{"k-active":N,"k-grid-filter-menu":o==="filter","k-grid-column-menu":o==="column"}),children:rt(f,{icon:o==="filter"?"filter":"more-vertical"})})]}),!d&&u&&rt("span",{className:"k-sr-only",children:u}),e.children,n&&rt("span",{className:"k-column-resizer k-touch-action-none"})]})};A.states=Qp;A.className=Sl;A.defaultOptions=_n;A.moduleName=Q;A.folderName=oe;import{jsx as Zp}from"react/jsx-runtime";var Kn="k-grid-container",F=e=>Zp("div",{...e,className:a(e.className,Kn),children:e.children});F.className=Kn;F.moduleName=Q;F.folderName=oe;import{jsx as jp}from"react/jsx-runtime";var Dn="k-grid-content",$=e=>jp("div",{...e,className:a(e.className,Dn),children:e.children});$.className=Dn;$.moduleName=Q;$.folderName=oe;import{jsx as em}from"react/jsx-runtime";var Bn="k-grid-table",V=e=>em(Oe,{...e,className:a(e.className,Bn),children:e.children});V.className=Bn;V.moduleName=Q;V.folderName=oe;import{jsx as om}from"react/jsx-runtime";var zn="k-grid-footer",vr=e=>om("div",{...e,className:a(e.className,zn),children:e.children});vr.className=zn;vr.moduleName=Q;vr.folderName=oe;import{jsx as tm}from"react/jsx-runtime";var Un="k-grid-footer-table",wr=e=>tm(Oe,{...e,className:a(e.className,Un),children:e.children});wr.className=Un;wr.moduleName=Q;wr.folderName=oe;var Al="button",Fn=Al;import{Fragment as $n,jsx as Ut,jsxs as Vn}from"react/jsx-runtime";var Fa="k-button",am=["icon-button"],rm=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],lm={size:[s.undefined,s.xsmall,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[w.undefined,w.base,w.primary,w.secondary,w.tertiary,w.success,w.warning,w.error,w.info,w.inverse]},Il={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:o="button",size:t,rounded:r,fillMode:l,themeColor:n,showArrow:d=Il.showArrow,arrowIconName:m=Il.arrowIconName,variant:b,hover:N,focus:x,active:k,selected:u,disabled:v,togglable:L,ariaDisabled:I,icon:E,iconSize:G,text:B,iconClassName:he,className:ce,...Ke}=e,De=E!=null,Be=e.children!==void 0;return Vn(o,{className:a(ce,Fa,gn(Fa,b),M(Fa,{size:t,rounded:r,fillMode:l,themeColor:n}),y(Fa,{hover:N,focus:x,active:k,disabled:v||I,selected:u}),{"k-icon-button":!B&&!Be&&De}),"aria-pressed":L?u?"true":"false":void 0,...Ke,"aria-disabled":I?"true":void 0,disabled:v||void 0,children:[typeof E=="string"&&E&&Ut(f,{className:a(he,"k-button-icon"),icon:E,size:G}),E&&typeof E!="string"&&Ut($n,{children:E}),B?Vn($n,{children:[B&&Ut("span",{className:"k-button-text",children:B}),e.children]}):e.children&&Ut("span",{className:"k-button-text",children:e.children}),d&&Ut("span",{className:"k-menu-button-arrow k-button-arrow",children:Ut(f,{icon:m})})]})};p.states=rm;p.options=lm;p.variants=am;p.className=Fa;p.defaultOptions=Il;p.moduleName=Al;p.folderName=Fn;p.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};import{jsx as im}from"react/jsx-runtime";var lt=e=>im(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as nm}from"react/jsx-runtime";var $a=e=>nm(p,{icon:"folder",children:"Button",...e});import{jsx as sm}from"react/jsx-runtime";var wt=e=>sm(p,{children:"Button",...e});import{jsx as Rl}from"react/jsx-runtime";var dm=p.options,cm=p.states,pm={...p.defaultOptions,variant:"text"},mm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],um=[],Ft=e=>{let{variant:o,...t}=e;switch(o){case"icon-only":return Rl(lt,{...t,icon:"star"});case"icon-and-text":return Rl($a,{...t,icon:"star",children:"Button"});default:return Rl(wt,{...t,children:"Button"})}};Ft.options=dm;Ft.states=cm;Ft.variants=mm;Ft.defaultOptions=pm;Ft.modifiers=um;Ft.className=p.className;var Va="input",Cr=Va;import{jsx as gm}from"react/jsx-runtime";var Lr="k-input",bm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],fm={size:[s.undefined,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Tm={},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 gm("span",{...k,className:a(e.className,Lr,M(Lr,{size:b,rounded:N,fillMode:x}),y(Lr,{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:d,readonly:m}))})};we.states=bm;we.options=fm;we.className=Lr;we.defaultOptions=Tm;we.moduleName=Va;we.folderName=Cr;import{jsx as km}from"react/jsx-runtime";var Mr="k-picker",hm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],xm={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]},Nm={},Go=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 km("span",{...k,className:a(e.className,Mr,M(Mr,{size:b,rounded:N,fillMode:x}),y(Mr,{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:d,readonly:m})),children:e.children})};Go.states=hm;Go.options=xm;Go.className=Mr;Go.defaultOptions=Nm;Go.moduleName=Va;Go.folderName=Cr;import{Fragment as Cm,jsx as El}from"react/jsx-runtime";var Wn="k-clear-value",vm=[i.disabled,i.loading,i.readonly],wm={},to=e=>{let{disabled:o,loading:t,readonly:r,value:l}=e;return o||r||t||!l?El(Cm,{}):El("span",{className:a(e.className,Wn),children:El(f,{icon:"x"})})};to.states=vm;to.options=wm;to.className=Wn;import{jsx as ym}from"react/jsx-runtime";var Gl="k-input-inner",Lm=[],Mm={},yr={type:"text",autocomplete:"off",value:"",placeholder:""},ao=e=>{let{value:o=yr.value,type:t=yr.type,placeholder:r=yr.placeholder,autocomplete:l=yr.autocomplete,disabled:n,readOnly:d,...m}=e;return ym("input",{...m,type:t,className:a(e.className,Gl,M(Gl,e)),placeholder:r,autoComplete:l,defaultValue:o,disabled:n||void 0,readOnly:d||void 0})};ao.states=Lm;ao.options=Mm;ao.className=Gl;import{jsx as Xn,jsxs as Im}from"react/jsx-runtime";var Ol="k-input-inner",Sm=[],Am={},Ct=e=>{let{value:o,placeholder:t,showValue:r,valueIcon:l,valueIconName:n,...d}=e;return Im("span",{...d,className:a(e.className,Ol,M(Ol,e)),children:[l,!l&&n&&Xn(f,{className:"k-input-value-icon",icon:n}),r&&!o&&t,r&&o&&Xn("span",{className:"k-input-value-text",children:o})]})};Ct.states=Sm;Ct.options=Am;Ct.className=Ol;import{jsx as Gm}from"react/jsx-runtime";var Hl="k-input-inner",Rm=[],Em={},Jn={value:"",placeholder:""},Pl=e=>{let{value:o=Jn.value,placeholder:t=Jn.placeholder,rows:r,disabled:l,...n}=e;return Gm("textarea",{...n,className:a(e.className,Hl,M(Hl,e)),placeholder:t,rows:r,defaultValue:o,disabled:l||void 0})};Pl.states=Rm;Pl.options=Em;Pl.className=Hl;import{Fragment as Hm,jsx as qn}from"react/jsx-runtime";var Yn="k-input-loading-icon",Om=[i.disabled,i.loading],Ye=e=>{let{disabled:o,loading:t}=e;return o||!t?qn(Hm,{}):qn("span",{className:a(e.className,Yn,"k-icon k-i-loading")})};Ye.states=Om;Ye.className=Yn;import{Fragment as Km,jsx as Qn}from"react/jsx-runtime";var Zn="k-input-validation-icon",Pm=[i.valid,i.invalid,i.disabled,i.loading],_m={},ze=e=>{let{valid:o,invalid:t,disabled:r,loading:l}=e,n=t?"warning-circle":"check-circle";return r||l||!!!(o||t)?Qn(Km,{}):Qn(f,{className:a(Zn),icon:n})};ze.states=Pm;ze.options=_m;ze.className=Zn;import{Fragment as zm,jsx as jn}from"react/jsx-runtime";var Dm="k-input-prefix",Bm={direction:"horizontal"},bo=e=>{let{direction:o=Bm.direction,...t}=e;return e.children?jn("span",{...t,className:a(Dm,e.className,{[`k-input-prefix-${o}`]:o}),children:e.children}):jn(zm,{})};import{Fragment as $m,jsx as es}from"react/jsx-runtime";var Um="k-input-suffix",Fm={direction:"horizontal"},fo=e=>{let{direction:o=Fm.direction,...t}=e;return e.children?es("span",{...t,className:a(Um,e.className,{[`k-input-suffix-${o}`]:o}),children:e.children}):es($m,{})};import{jsx as kL}from"react/jsx-runtime";import{jsx as Wm}from"react/jsx-runtime";var Vm="k-input-suffix-text",_l=e=>{let{children:o,...t}=e;return Wm("span",{...t,className:a(Vm,e.className),children:o})};import{jsx as Jm}from"react/jsx-runtime";var os="k-input-separator",Xm={direction:"vertical"},To=e=>{let{direction:o=Xm.direction,...t}=e;return Jm("span",{...t,className:a(os,e.className,{[`${os}-${o}`]:o})})};import{Fragment as ts,jsx as Oo,jsxs as Kl}from"react/jsx-runtime";var qm=we.states,Ym=we.defaultOptions,Qm=we.options,Zm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],jm=[],$t=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 Kl(we,{...m,valid:t,invalid:r,loading:l,disabled:n,readonly:d,style:{width:300},children:[b&&Kl(ts,{children:[Oo(bo,{children:Oo(f,{icon:"lock"})}),u&&Oo(To,{})]}),Oo(ao,{placeholder:"Placeholder",value:"Value"}),k&&Oo(ze,{valid:t,invalid:r,loading:l,disabled:n}),Oo(Ye,{loading:l,disabled:n}),x&&Oo(to,{loading:l,disabled:n,readonly:d,value:"Value"}),N&&Kl(ts,{children:[u&&Oo(To,{}),Oo(fo,{children:Oo(wt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};$t.options=Qm;$t.states=qm;$t.variants=jm;$t.defaultOptions=Ym;$t.modifiers=Zm;$t.className=we.className;var Dl="popup",as=Dl;import{jsx as rs}from"react/jsx-runtime";var ls="k-animation-container",eu=[],ou={},Bl={positionMode:"absolute",shown:!0},Ho=e=>{let{positionMode:o=Bl.positionMode,shown:t=Bl.shown,animationStyle:r,offset:l,...n}=e;return rs("div",{...n,style:{...l,...e.style},className:a(e.className,ls,{"k-animation-container-shown":t,"k-animation-container-fixed":o==="fixed"}),children:rs("div",{className:"k-child-animation-container",style:r,children:e.children})})};Ho.states=eu;Ho.options=ou;Ho.className=ls;Ho.defaultOptions=Bl;Ho.moduleName=Dl;Ho.folderName=as;var zl="popup",is=zl;import{jsx as ns}from"react/jsx-runtime";var ss="k-popup",tu=[],au={},ds={positionMode:"absolute"},le=e=>{let{offset:o,positionMode:t=ds.positionMode,animationStyle:r,containerClassName:l,containerRole:n,containerAriaLabel:d,...m}=e;return ns(Ho,{positionMode:t,offset:o,animationStyle:r,className:l,role:n,"aria-label":d,children:ns("div",{...m,className:a(e.className,ss),children:e.children})})};le.states=tu;le.options=au;le.className=ss;le.defaultOptions=ds;le.moduleName=zl;le.folderName=is;le.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var Ul="action-buttons",cs=Ul;import{jsx as iu}from"react/jsx-runtime";var Sr="k-actions",ru=[],lu={},Fl={alignment:"start",orientation:"horizontal"},ro=e=>{let{alignment:o=Fl.alignment,orientation:t=Fl.orientation,...r}=e;return iu("div",{...r,className:a(Sr,{[`${Sr}-${o}`]:o,[`${Sr}-${t}`]:t},e.className),children:e.children})};ro.states=ru;ro.options=lu;ro.className=Sr;ro.defaultOptions=Fl;ro.moduleName=Ul;ro.folderName=cs;import{jsx as su}from"react/jsx-runtime";var nu="k-actionsheet-footer",ps={alignment:"stretched",orientation:"horizontal"},it=e=>{let{alignment:o=ps.alignment,orientation:t=ps.orientation,template:r,as:l=r?"div":ro,...n}=e;return su(l,{...n,...!r&&{alignment:o,orientation:t},className:a(e.className,nu),children:e.children})};var $l="searchbox",ms=$l;import{jsx as Wa,jsxs as pu}from"react/jsx-runtime";var us="k-searchbox",du=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],cu={size:[s.undefined,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Vl={showIcon:!0,icon:"search"},lo=e=>{let{value:o,placeholder:t,size:r,rounded:l,fillMode:n,hover:d,focus:m,valid:b,invalid:N,required:x,loading:k,disabled:u,showIcon:v=Vl.showIcon,icon:L=Vl.icon,"aria-label":I,...E}=e;return pu(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,us),children:[v&&Wa(f,{className:"k-input-icon",icon:L}),Wa(ao,{placeholder:t,value:o,"aria-label":I}),Wa(Ye,{...e}),Wa(ze,{...e}),Wa(to,{...e})]})};lo.states=du;lo.options=cu;lo.className=us;lo.defaultOptions=Vl;lo.moduleName=$l;lo.folderName=ms;import{jsx as BM}from"react/jsx-runtime";var Wl="textbox",bs=Wl;import{Fragment as fs,jsx as nt,jsxs as Xl}from"react/jsx-runtime";var Ts="k-textbox",mu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],uu={size:[s.undefined,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ar={showClearButton:!0,showValidationIcon:!0,separators:!0},pe=e=>{let{size:o,rounded:t,fillMode:r,separators:l=Ar.separators,showClearButton:n=Ar.showClearButton,showValidationIcon:d=Ar.showValidationIcon,prefix:m,suffix:b,type:N,value:x,placeholder:k,hover:u,focus:v,valid:L,invalid:I,required:E,loading:G,disabled:B,readonly:he,id:ce,"aria-label":Ke,"aria-describedby":De,...Be}=e;return Xl(we,{...Be,size:o,rounded:t,fillMode:r,hover:u,focus:v,valid:L,invalid:I,required:E,loading:G,disabled:B,readonly:he,className:a(e.className,Ts),children:[m&&Xl(fs,{children:[nt(bo,{children:m}),l&&nt(To,{})]}),nt(ao,{id:ce,placeholder:k,value:x,type:N,disabled:B,"aria-label":Ke,"aria-describedby":De,"aria-invalid":I?"true":void 0}),d&&nt(ze,{valid:L,invalid:I,loading:G,disabled:B}),nt(Ye,{loading:G,disabled:B}),n&&nt(to,{loading:G,disabled:B,readonly:he,value:x}),b&&Xl(fs,{children:[l&&nt(To,{}),nt(fo,{children:b})]})]})};pe.states=mu;pe.options=uu;pe.className=Ts;pe.defaultOptions=Ar;pe.moduleName=Wl;pe.folderName=bs;pe.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var Xa=pe;import{jsx as bu}from"react/jsx-runtime";var gs=e=>bu(Xa,{...e});import{Fragment as ry,jsx as ay}from"react/jsx-runtime";import{Fragment as cy,jsx as dy}from"react/jsx-runtime";import{jsx as by}from"react/jsx-runtime";import{jsx as Jl}from"react/jsx-runtime";var fu=pe.states,Tu=pe.defaultOptions,gu=pe.options,hu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],xu=[],Vt=e=>{let{modifiers:o,...t}=e,r={};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":r.prefix=o?.[l]?Jl(f,{icon:"lock"}):void 0;break;case"suffix":r.suffix=o?.[l]?Jl(wt,{size:t.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":r.showClearButton=o?.[l];break;default:break}}),Jl(gs,{value:"Value",style:{width:300},...t,...r})};Vt.options=gu;Vt.states=fu;Vt.variants=xu;Vt.defaultOptions=Tu;Vt.modifiers=hu;Vt.className=pe.className;import{jsx as st,jsxs as ql}from"react/jsx-runtime";var hs="k-actionsheet-titlebar",Nu={},Ue=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 ql("div",{...u,className:a(e.className,hs),children:[ql("div",{className:"k-actionsheet-titlebar-group",children:[r&&st("div",{className:"k-actionsheet-actions",children:r}),!k&&ql("div",{className:"k-actionsheet-title",id:x,children:[o&&st("div",{className:"k-text-center",children:o}),t&&st("div",{className:"k-actionsheet-subtitle k-text-center",children:t})]}),k&&st("div",{className:"k-actionsheet-title",id:x,children:k}),l&&st("div",{className:"k-actionsheet-actions",children:l})]}),(d||n)&&st("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?st(pe,{value:m,placeholder:b,size:N?"large":"medium","aria-label":o||b||"Input"}):st(lo,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};Ue.className=hs;Ue.defaultOptions=Nu;import{jsx as Yl,jsxs as Cu}from"react/jsx-runtime";var Ql="k-actionsheet-view",ku=[],vu={},wu={},Wt=e=>{let{adaptive:o,animated:t,children:r,header:l,footer:n,titleId:d,...m}=e,b=l?.type===Ue&&Yl(Ue,{adaptive:o,titleId:d,...l?.props}),N=n?.type===it&&Yl(it,{...n?.props});return Cu("div",{...m,className:a(e.className,Ql,{[`${Ql}-animated`]:t}),children:[b,Yl("div",{className:"k-actionsheet-content",children:r}),N]})};Wt.states=ku;Wt.options=vu;Wt.className=Ql;Wt.defaultOptions=wu;var Ja="action-sheet",Ir=Ja;var Zl="overlay",xs=Zl;import{jsx as Su}from"react/jsx-runtime";var Ns="k-overlay",Lu=[],Mu={},yu={},dt=e=>{let{...o}=e;return Su("div",{...o,className:a(e.className,Ns),children:e.children})};dt.states=Lu;dt.options=Mu;dt.className=Ns;dt.defaultOptions=yu;dt.moduleName=Zl;dt.folderName=xs;import{jsx as Rr,jsxs as Ru}from"react/jsx-runtime";var ks="k-actionsheet",Au=[],Iu={},qa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Ne=e=>{let{side:o=qa.side,fullscreen:t=qa.fullscreen,adaptive:r=qa.adaptive,overlay:l=qa.overlay,template:n,children:d,header:m,footer:b,id:N,...x}=e,k=N&&!n&&m?`${N}-title`:void 0;return Ru("div",{className:"k-actionsheet-container",children:[l&&Rr(dt,{}),Rr(Ho,{animationStyle:{[`${t===!0?"top":o}`]:0,[`${t===!0?"width":null}`]:"100%",[`${t===!0?"height":null}`]:"100%",[`${o==="top"||o==="bottom"?"width":null}`]:"100%",[`${o==="left"||o==="right"?"height":null}`]:"100%"},children:Rr("div",{...x,id:N,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":k,className:a(e.className,ks,{[`k-actionsheet-${o}`]:t===!1,"k-actionsheet-fullscreen":t===!0,"k-adaptive-actionsheet":r}),children:n||Rr(Wt,{header:m,footer:b,adaptive:r,titleId:k,...e,children:d})})})]})};Ne.states=Au;Ne.options=Iu;Ne.className=ks;Ne.defaultOptions=qa;Ne.moduleName=Ja;Ne.folderName=Ir;Ne.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};import{jsx as Hu}from"react/jsx-runtime";var vs="k-actionsheet-container",Eu=[],Gu={},Ou={},Xt=e=>{let{children:o,...t}=e;return Hu("div",{...t,className:vs,children:o})};Xt.states=Eu;Xt.options=Gu;Xt.className=vs;Xt.defaultOptions=Ou;Xt.moduleName=Ja;Xt.folderName=Ir;import{jsx as Pu}from"react/jsx-runtime";var jl=e=>{let{...o}=e;return Pu("div",{...o,className:a(e.className,"k-list-ul"),children:e.children})};import{Fragment as Ku,jsx as Ya,jsxs as ei}from"react/jsx-runtime";var oi="k-actionsheet-item",_u=[i.hover,i.focus,i.selected,i.disabled],ct=e=>{let{iconName:o,text:t,description:r,hover:l,focus:n,selected:d,disabled:m,...b}=e;return ei("span",{...b,className:a(e.className,oi,y(oi,{hover:l,focus:n,selected:d,disabled:m})),children:[!e.children&&Ya(Ku,{children:ei("span",{className:"k-actionsheet-action",children:[o&&Ya("span",{className:"k-icon-wrap",children:Ya(f,{className:"k-actionsheet-item-icon",icon:o})}),ei("span",{className:"k-actionsheet-item-text",children:[t&&Ya("span",{className:"k-actionsheet-item-title",children:t}),r&&Ya("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};ct.states=_u;ct.className=oi;import{jsx as uS,jsxs as bS}from"react/jsx-runtime";import{jsx as hS}from"react/jsx-runtime";import{jsx as vS}from"react/jsx-runtime";import{jsx as MS}from"react/jsx-runtime";import{jsx as Ie,jsxs as ti}from"react/jsx-runtime";var Du=Ne.options,Bu=Ne.states,Cs={...Ne.defaultOptions,variant:"normal"},zu=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Uu=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Jt=e=>{let{variant:o,modifiers:t,...r}={...Cs,...e},l={},n=ti(jl,{children:[Ie(ct,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),Ie(ct,{text:"Add to Favorites",iconName:"heart"}),Ie(ct,{text:"Upload New",iconName:"upload",disabled:!0}),Ie("hr",{className:"k-hr"}),Ie(ct,{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"?Ie(Ne,{...r,adaptive:!0,fullscreen:l.fullScreen,header:Ie(Ue,{actionsStart:l.actionsStart?Ie(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?Ie(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:l.subtitle}),footer:l.footer?ti(it,{alignment:"stretched",children:[Ie(p,{text:"Cancel",size:"large",themeColor:"base"}),Ie(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:n}):Ie(Ne,{...r,fullscreen:l.fullScreen,header:Ie(Ue,{actionsStart:l.actionsStart?Ie(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?Ie(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:l.subtitle}),footer:l.footer?ti(it,{alignment:"stretched",children:[Ie(p,{text:"Apply",themeColor:"primary"}),Ie(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:n})};Jt.options=Du;Jt.states=Bu;Jt.variants=zu;Jt.defaultOptions=Cs;Jt.modifiers=Uu;Jt.className=Ne.className;import ri from"react";import{jsx as Ls}from"react/jsx-runtime";var Fu="k-list-group-sticky-header",ai=e=>Ls("div",{className:a(Fu,e.className),children:Ls("div",{className:"k-list-header-text",children:e.children})});import{jsx as Vu}from"react/jsx-runtime";var $u="k-no-data",Er=e=>{let{live:o,...t}=e;return Vu("span",{...t,className:a($u,e.className),"aria-live":o?"polite":void 0,children:e.children})};var Lt="list",qt=Lt;import{jsx as Ms,jsxs as ys}from"react/jsx-runtime";var li="k-list",Wu=[],Xu={size:[s.undefined,s.small,s.medium,s.large]},Ju={},te=e=>{let{size:o,virtualization:t,children:r,header:l,selectAll:n,optionLabel:d,customValue:m,noData:b,screenReaders:N,...x}=e,u=ri.Children.toArray(r)[0],v=u?.props?.children?ri.Children.count(u.props.children):ri.Children.count(r);return ys("div",{...x,className:a(e.className,li,M(li,{size:o}),{"k-virtual-list":t}),children:[d,n,m,l&&Ms(ai,{children:l}),r||(b!==void 0?b:Ms(Er,{live:!0,children:"No data found."})),N&&r&&ys(Er,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};te.states=Wu;te.options=Xu;te.className=li;te.defaultOptions=Ju;te.moduleName=Lt;te.folderName=qt;te.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};import{jsx as Zu}from"react/jsx-runtime";var Ss="k-list-container",qu=[],Yu={},Qu={},Yt=e=>{let{...o}=e;return Zu("div",{...o,className:a(e.classNa