@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 212 kB
JavaScript
var r=(...e)=>e.filter(o=>o!==!0&&!!o).map(o=>Array.isArray(o)?r(...o):typeof o=="object"?Object.keys(o).map((t,a)=>o[a]||o[t]&&t||null).filter(t=>t!==null).join(" "):o).filter(o=>!!o).join(" ");var S=(e,o)=>r({[`${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"}),I=(e,o)=>{let{valid:t,invalid:a,hover:l,focus:s,checked:c,active:u,selected:f,disabled:k,indeterminate:N,loading:v,empty:b,readonly:C,highlighted:M,...A}=o;return r({"k-valid":t,"k-invalid":a,"k-hover":l,"k-focus":s,"k-checked":c,"k-active":u,"k-selected":f,"k-disabled":k,"k-indeterminate":N&&!c,"k-loading":v,"k-empty":b,"k-readonly":C,"k-highlighted":M},Object.keys(A).reduce((O,_)=>(_.startsWith("k-")?O[_]=A[_]:O[`k-${_}`]=A[_],O),{}))};function yn(e,o){if(!o)return{};let t=Array.isArray(o)?o:[o];return Object.fromEntries(t.map(a=>[`k-${a}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},h={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},x={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},_o={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},L={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var Nl={};function G(e){return Nl[e]=(Nl[e]||0)+1,`k-${e}-${Nl[e]}`}var ee="grid",re=ee;import{jsx as ip,jsxs as np}from"react/jsx-runtime";var Ca="k-grid",rp=[],ap={size:[d.undefined,d.small,d.medium,d.large]},lp=[],Mn={pagerPosition:"bottom"},F=e=>{let{size:o,pagerPosition:t=Mn.pagerPosition,toolbar:a,pager:l,groupingHeader:s,gridSelectionAggregates:c,_renderAriaRoot:u,resizable:f,ariaColCount:k,ariaRowCount:N,ariaRootId:v,ariaRole:b="grid",...C}=e;return np("div",{...C,className:r(e.className,Ca,{[`${Ca}-resizable`]:f},S(Ca,{size:o})),children:[a,t==="top"&&l,s,e.children&&u?ip("div",{className:"k-grid-aria-root",role:b,id:v,"aria-colcount":k,"aria-rowcount":N,children:e.children}):e.children,c,t==="bottom"&&l]})};F.states=rp;F.options=ap;F.variants=lp;F.className=Ca;F.defaultOptions=Mn;F.moduleName=ee;F.folderName=re;F.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 sp}from"react/jsx-runtime";var Sn="k-grid-header",D=e=>{let{draggable:o,...t}=e;return sp("div",{...t,className:r(e.className,Sn,{"k-grid-draggable-header":o}),children:e.children})};D.className=Sn;D.moduleName=ee;D.folderName=re;import{jsx as In,jsxs as dp}from"react/jsx-runtime";var Rn="k-grouping-header",De=e=>{let{dropHint:o,dropClue:t,...a}=e;return dp("div",{...a,className:r(e.className,Rn),children:[t&&In("div",{className:"k-grouping-dropclue"}),e.children,In("div",{className:"k-grouping-drop-container",children:o})]})};De.className=Rn;De.moduleName=ee;De.folderName=re;import{jsx as cp}from"react/jsx-runtime";var An="k-grid-pinned-container",Vr=e=>{let{position:o,...t}=e;return cp("div",{...t,className:r(e.className,An,{"k-pos-bottom":o==="bottom"}),children:e.children})};Vr.className=An;Vr.moduleName=ee;Vr.folderName=re;import{jsx as pp}from"react/jsx-runtime";var En="k-grid-sticky-container",Wr=e=>{let{position:o,...t}=e;return pp("div",{...t,className:r(e.className,En,{"k-pos-bottom":o==="bottom"}),children:e.children})};Wr.className=En;Wr.moduleName=ee;Wr.folderName=re;var Ee="table",Ke=Ee;import{jsx as fp}from"react/jsx-runtime";var Gn="k-data-table",mp=[],up={size:[d.undefined,d.small,d.medium,d.large]},bp={},Vo=e=>{let{size:o,...t}=e;return fp("div",{...t,className:r(e.className,Gn,S("k-table",{size:o})),children:e.children})};Vo.states=mp;Vo.options=up;Vo.className=Gn;Vo.defaultOptions=bp;Vo.moduleName=Ee;Vo.folderName=Ke;import{jsx as xp}from"react/jsx-runtime";var kl="k-table-header-wrap",Tp=[i.hover,i.focus,i.disabled],gp={},hp={},lt=e=>{let{children:o,hover:t,focus:a,disabled:l,...s}=e;return xp("div",{...s,className:r(e.className,kl,I(kl,{hover:t,focus:a,disabled:l})),children:o})};lt.states=Tp;lt.options=gp;lt.className=kl;lt.defaultOptions=hp;lt.moduleName=Ee;lt.folderName=Ke;import{jsx as vp}from"react/jsx-runtime";var wl="k-table",Np=[],kp={size:[d.undefined,d.small,d.medium,d.large]},wp={},Be=e=>{let{size:o,...t}=e;return vp("table",{...t,className:r(e.className,wl,S(wl,{size:o})),children:e.children})};Be.states=Np;Be.options=kp;Be.className=wl;Be.defaultOptions=wp;Be.moduleName=Ee;Be.folderName=Ke;import{jsx as vl}from"react/jsx-runtime";var Cl="k-table-header",Cp=[i.hover,i.focus,i.disabled],Lp={},yp={},Wo=e=>{let{children:o,hover:t,focus:a,disabled:l,...s}=e;return vl("div",{...s,className:r(e.className,Cl,I(Cl,{hover:t,focus:a,disabled:l})),children:vl(lt,{children:vl(Be,{children:o})})})};Wo.states=Cp;Wo.options=Lp;Wo.className=Cl;Wo.defaultOptions=yp;Wo.moduleName=Ee;Wo.folderName=Ke;import{jsx as Rp}from"react/jsx-runtime";var On="k-table-scroller",Mp=[],Sp={},Ip={},Xt=e=>{let{children:o,...t}=e;return Rp("div",{...t,className:r(e.className,On),children:o})};Xt.states=Mp;Xt.options=Sp;Xt.className=On;Xt.defaultOptions=Ip;Xt.moduleName=Ee;Xt.folderName=Ke;import{jsx as Hk}from"react/jsx-runtime";import{jsx as Op}from"react/jsx-runtime";var Hn="k-table-footer",Ap=[],Ep={},Gp={},it=e=>{let{children:o,...t}=e;return Op("div",{...t,className:r(e.className,Hn),children:o})};it.states=Ap;it.options=Ep;it.className=Hn;it.defaultOptions=Gp;it.moduleName=Ee;it.folderName=Ke;import{jsx as Dp}from"react/jsx-runtime";var Ll="k-table-list",Hp=[],Pp={size:[d.undefined,d.small,d.medium,d.large]},_p={},nt=e=>{let{size:o,virtualization:t,...a}=e;return Dp("ul",{...a,className:r(e.className,"k-table",Ll,S(Ll,{size:o}),{"k-virtual-table":t}),children:e.children})};nt.states=Hp;nt.options=Pp;nt.className=Ll;nt.defaultOptions=_p;nt.moduleName=Ee;nt.folderName=Ke;import{jsx as Bp}from"react/jsx-runtime";var Kp="k-table-thead",P=e=>Bp("thead",{className:r(e.className,Kp),children:e.children});import{jsx as Up}from"react/jsx-runtime";var zp="k-table-tbody",U=e=>Up("tbody",{className:r(e.className,zp),children:e.children});import{jsx as jk}from"react/jsx-runtime";import{jsx as $p}from"react/jsx-runtime";var yl="k-table-row",Fp=[i.hover,i.focus,i.selected,i.disabled,i.highlighted],g=e=>{let{hover:o,focus:t,selected:a,highlighted:l,disabled:s,alt:c,...u}=e;return $p("tr",{...u,className:r(e.className,yl,{"k-table-alt-row":c},I(yl,{hover:o,focus:t,disabled:s,selected:a,highlighted:l})),children:e.children})};g.states=Fp;g.className=yl;import{jsx as Wp}from"react/jsx-runtime";var Ml="k-table-row",Vp=[i.hover,i.focus,i.selected,i.disabled],La=e=>{let{hover:o,focus:t,selected:a,disabled:l,alt:s,...c}=e;return Wp("li",{...c,className:r(e.className,Ml,{"k-table-alt-row":s},I(Ml,{hover:o,focus:t,disabled:l,selected:a})),children:e.children})};La.states=Vp;La.className=Ml;import{jsx as Xp}from"react/jsx-runtime";var Pn="k-table-th",Xo=e=>{let{text:o,colspan:t,rowspan:a,...l}=e,s=o||e.children;return Xp("th",{colSpan:t,rowSpan:a,...l,className:r(e.className,Pn),children:s})};Xo.className=Pn;Xo.moduleName=Ee;Xo.folderName=Ke;import{jsx as uw}from"react/jsx-runtime";import{jsx as qp}from"react/jsx-runtime";var Sl="k-table-td",Jp=[i.focus,i.selected,i.highlighted],n=e=>{let{focus:o,selected:t,highlighted:a,text:l,colspan:s,rowspan:c,...u}=e,f=l||e.children;return qp("td",{colSpan:s,rowSpan:c,...u,className:r(e.className,Sl,I(Sl,{focus:o,selected:t,highlighted:a})),children:f})};n.states=Jp;n.className=Sl;import{jsx as Nw}from"react/jsx-runtime";import{jsx as Cw}from"react/jsx-runtime";import{jsx as Sw}from"react/jsx-runtime";import{jsx as Ew}from"react/jsx-runtime";import{jsx as Pw}from"react/jsx-runtime";import{jsx as Fw,jsxs as $w}from"react/jsx-runtime";import{jsx as Jw,jsxs as qw}from"react/jsx-runtime";import{jsx as jw,jsxs as ev}from"react/jsx-runtime";import{Fragment as iv,jsx as av,jsxs as lv}from"react/jsx-runtime";import{jsx as Zp}from"react/jsx-runtime";var Kn="k-grid-header-table",K=e=>Zp(Be,{...e,className:r(e.className,Kn),children:e.children});K.className=Kn;K.moduleName=ee;K.folderName=re;import{Fragment as tm,jsx as Bn}from"react/jsx-runtime";var Il="k-font-icon",jp=[],em={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info]},om={},Xr=e=>{let{size:o,themeColor:t,icon:a,rotate:l,flip:s,...c}=e;return a?Bn("span",{...c,className:r(e.className,Il,S(Il,{size:o}),{[`k-i-${a}`]:a,[`k-color-${t}`]:t,[`k-rotate-${l}`]:l,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):Bn(tm,{})};Xr.states=jp;Xr.options=em;Xr.className=Il;Xr.defaultOptions=om;var zn=Xr;import{Fragment as lm,jsx as ya}from"react/jsx-runtime";var Rl="k-svg-icon",rm=[],am={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[_o.outline,_o.solid,_o.duotone]},Al={viewBox:"0 0 24 24",variant:_o.outline},Jr=e=>{let{size:o,themeColor:t,rotate:a,flip:l,viewBox:s=Al.viewBox,variant:c=Al.variant,icon:u,...f}=e;if(!u)return ya(lm,{});if(u==="none")return ya("span",{...f,className:r(e.className,Rl,S("k-icon",{size:o}),"k-none"),"aria-hidden":"true"});let k=typeof u=="object"&&u.name&&u.name,N=typeof u=="object"?c&&u.variants?.[c]||u.variants?.outline||u.content:void 0;return ya("span",{...f,className:r(e.className,Rl,S("k-icon",{size:o}),{[`k-svg-i-${k}`]:k,[`k-color-${t}`]:t,[`k-rotate-${a}`]:a,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true",children:ya("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof u=="object"?u.viewBox:s,dangerouslySetInnerHTML:N!==void 0?{__html:N}:void 0,children:u?void 0:e.children})})};Jr.states=rm;Jr.options=am;Jr.className=Rl;Jr.defaultOptions=Al;var El=Jr;import*as Gl from"@progress/kendo-svg-icons";var Un="icon",Fn="icons";import{useContext as nm}from"react";import{createContext as im}from"react";var $n=im({iconsType:"svg"});import{Fragment as Vn,jsx as qr}from"react/jsx-runtime";var Ma="k-icon",sm=e=>e.replace(/([-_][a-z0-9])/gi,o=>o.toUpperCase().replace("-","").replace("_","")),dm=[],cm={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[_o.outline,_o.solid,_o.duotone]},Sa={viewBox:"0 0 24 24",type:"svg",variant:_o.outline},p=e=>{let{iconsType:o}=nm($n),{size:t,themeColor:a,icon:l,type:s=o||Sa.type,rotate:c,flip:u,viewBox:f=Sa.viewBox,variant:k=Sa.variant,...N}=e;if(!l)return qr(Vn,{});if((o||s)==="svg"){if(l==="none")return qr(El,{...N,className:r(e.className,Ma),icon:l,size:t,variant:k});let b=Gl[l]?l:sm(`${l}-icon`);return Gl[b]?qr(El,{...N,className:r(e.className,Ma),icon:Gl[b],size:t,themeColor:a,rotate:c,flip:u,viewBox:f,variant:k}):qr(Vn,{})}return qr(zn,{...N,className:r(e.className,Ma),icon:l,size:t,themeColor:a,rotate:c,flip:u})};p.states=dm;p.options=cm;p.defaultOptions=Sa;p.className=Ma;p.moduleName=Un;p.folderName=Fn;p.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 st,jsxs as Ol}from"react/jsx-runtime";var Hl="k-header",pm=[i.hover,i.focus,i.active],Wn={sortIcon:"sort-asc-small"},w=e=>{let{menu:o,sortable:t,filterable:a,sticky:l,resizable:s,columnTitle:c,hover:u,focus:f,active:k,sortIcon:N=Wn.sortIcon,sortOrder:v,accessibleLabel:b,...C}=e;return Ol(Xo,{...C,className:r(e.className,Hl,{"k-filterable":o||a,"k-sorted":t,"k-grid-header-sticky":l,"k-touch-action-none":s},I(Hl,{hover:u,focus:f,active:k})),children:[c&&Ol("span",{className:"k-cell-inner",children:[Ol("span",{className:"k-link",children:[st("span",{className:"k-column-title",children:c}),t&&st("span",{className:"k-sort-icon",children:st(p,{icon:N})}),v&&st("span",{className:"k-sort-order",children:v})]}),o&&st("a",{className:r("k-grid-header-menu",{"k-active":k,"k-grid-filter-menu":o==="filter","k-grid-column-menu":o==="column"}),children:st(p,{icon:o==="filter"?"filter":"more-vertical"})})]}),!c&&b&&st("span",{className:"k-sr-only",children:b}),e.children,s&&st("span",{className:"k-column-resizer k-touch-action-none"})]})};w.states=pm;w.className=Hl;w.defaultOptions=Wn;w.moduleName=ee;w.folderName=re;import{jsx as mm}from"react/jsx-runtime";var Xn="k-grid-container",$=e=>mm("div",{...e,className:r(e.className,Xn),children:e.children});$.className=Xn;$.moduleName=ee;$.folderName=re;import{jsx as um}from"react/jsx-runtime";var Jn="k-grid-content",B=e=>um("div",{...e,className:r(e.className,Jn),children:e.children});B.className=Jn;B.moduleName=ee;B.folderName=re;import{jsx as bm}from"react/jsx-runtime";var qn="k-grid-table",z=e=>bm(Be,{...e,className:r(e.className,qn),children:e.children});z.className=qn;z.moduleName=ee;z.folderName=re;import{jsx as fm}from"react/jsx-runtime";var Yn="k-grid-footer",Ia=e=>fm("div",{...e,className:r(e.className,Yn),children:e.children});Ia.className=Yn;Ia.moduleName=ee;Ia.folderName=re;import{jsx as Tm}from"react/jsx-runtime";var Qn="k-grid-footer-table",Ra=e=>Tm(Be,{...e,className:r(e.className,Qn),children:e.children});Ra.className=Qn;Ra.moduleName=ee;Ra.folderName=re;var Pl="button",Zn=Pl;import{Fragment as jn,jsx as Jt,jsxs as es}from"react/jsx-runtime";var Yr="k-button",gm=["icon-button"],hm=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],xm={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[h.undefined,h.none,h.small,h.medium,h.large,h.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},_l={showArrow:!1,arrowIconName:"chevron-down"},m=e=>{let{as:o="button",size:t,rounded:a,fillMode:l,themeColor:s,showArrow:c=_l.showArrow,arrowIconName:u=_l.arrowIconName,variant:f,hover:k,focus:N,active:v,selected:b,disabled:C,togglable:M,ariaDisabled:A,icon:O,iconSize:_,text:Y,iconClassName:ve,className:me,...$e}=e,Ve=O!=null,We=e.children!==void 0;return es(o,{className:r(me,Yr,yn(Yr,f),S(Yr,{size:t,rounded:a,fillMode:l,themeColor:s}),I(Yr,{hover:k,focus:N,active:v,disabled:C||A,selected:b}),{"k-icon-button":!Y&&!We&&Ve}),"aria-pressed":M?b?"true":"false":void 0,...$e,"aria-disabled":A?"true":void 0,disabled:C||void 0,children:[typeof O=="string"&&O&&Jt(p,{className:r(ve,"k-button-icon"),icon:O,size:_}),O&&typeof O!="string"&&Jt(jn,{children:O}),Y?es(jn,{children:[Y&&Jt("span",{className:"k-button-text",children:Y}),e.children]}):e.children&&Jt("span",{className:"k-button-text",children:e.children}),c&&Jt("span",{className:"k-menu-button-arrow k-button-arrow",children:Jt(p,{icon:u})})]})};m.states=hm;m.options=xm;m.variants=gm;m.className=Yr;m.defaultOptions=_l;m.moduleName=Pl;m.folderName=Zn;m.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 Nm}from"react/jsx-runtime";var dt=e=>Nm(m,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as km}from"react/jsx-runtime";var Qr=e=>km(m,{icon:"folder",children:"Button",...e});import{jsx as wm}from"react/jsx-runtime";var St=e=>wm(m,{children:"Button",...e});import{jsx as Dl}from"react/jsx-runtime";var vm=m.options,Cm=m.states,Lm={...m.defaultOptions,variant:"text"},ym=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Mm=[],qt=e=>{let{variant:o,...t}=e;switch(o){case"icon-only":return Dl(dt,{...t,icon:"star"});case"icon-and-text":return Dl(Qr,{...t,icon:"star",children:"Button"});default:return Dl(St,{...t,children:"Button"})}};qt.options=vm;qt.states=Cm;qt.variants=ym;qt.defaultOptions=Lm;qt.modifiers=Mm;qt.className=m.className;var Zr="input",Aa=Zr;import{jsx as Am}from"react/jsx-runtime";var Ea="k-input",Sm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Im={size:[d.undefined,d.small,d.medium,d.large],rounded:[h.undefined,h.none,h.small,h.medium,h.large,h.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Rm={},Me=e=>{let{hover:o,focus:t,disabled:a,invalid:l,valid:s,loading:c,readonly:u,size:f,rounded:k,fillMode:N,...v}=e;return Am("span",{...v,className:r(e.className,Ea,S(Ea,{size:f,rounded:k,fillMode:N}),I(Ea,{hover:o,focus:t,disabled:a,invalid:l,valid:s,loading:c,readonly:u}))})};Me.states=Sm;Me.options=Im;Me.className=Ea;Me.defaultOptions=Rm;Me.moduleName=Zr;Me.folderName=Aa;import{jsx as Hm}from"react/jsx-runtime";var Ga="k-picker",Em=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Gm={size:[d.undefined,d.small,d.medium,d.large],rounded:[h.undefined,h.none,h.small,h.medium,h.large,h.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Om={},Do=e=>{let{hover:o,focus:t,disabled:a,invalid:l,valid:s,loading:c,readonly:u,size:f,rounded:k,fillMode:N,...v}=e;return Hm("span",{...v,className:r(e.className,Ga,S(Ga,{size:f,rounded:k,fillMode:N}),I(Ga,{hover:o,focus:t,disabled:a,invalid:l,valid:s,loading:c,readonly:u})),children:e.children})};Do.states=Em;Do.options=Gm;Do.className=Ga;Do.defaultOptions=Om;Do.moduleName=Zr;Do.folderName=Aa;import{Fragment as Dm,jsx as Kl}from"react/jsx-runtime";var os="k-clear-value",Pm=[i.disabled,i.loading,i.readonly],_m={},co=e=>{let{disabled:o,loading:t,readonly:a,value:l}=e;return o||a||t||!l?Kl(Dm,{}):Kl("span",{className:r(e.className,os),children:Kl(p,{icon:"x"})})};co.states=Pm;co.options=_m;co.className=os;import{jsx as zm}from"react/jsx-runtime";var Bl="k-input-inner",Km=[],Bm={},Oa={type:"text",autocomplete:"off",value:"",placeholder:""},po=e=>{let{value:o=Oa.value,type:t=Oa.type,placeholder:a=Oa.placeholder,autocomplete:l=Oa.autocomplete,disabled:s,readOnly:c,...u}=e;return zm("input",{...u,type:t,className:r(e.className,Bl,S(Bl,e)),placeholder:a,autoComplete:l,defaultValue:o,disabled:s||void 0,readOnly:c||void 0})};po.states=Km;po.options=Bm;po.className=Bl;import{jsx as ts,jsxs as $m}from"react/jsx-runtime";var zl="k-input-inner",Um=[],Fm={},It=e=>{let{value:o,placeholder:t,showValue:a,valueIcon:l,valueIconName:s,...c}=e;return $m("span",{...c,className:r(e.className,zl,S(zl,e)),children:[l,!l&&s&&ts(p,{className:"k-input-value-icon",icon:s}),a&&!o&&t,a&&o&&ts("span",{className:"k-input-value-text",children:o})]})};It.states=Um;It.options=Fm;It.className=zl;import{jsx as Xm}from"react/jsx-runtime";var Ul="k-input-inner",Vm=[],Wm={},rs={value:"",placeholder:""},Fl=e=>{let{value:o=rs.value,placeholder:t=rs.placeholder,rows:a,disabled:l,...s}=e;return Xm("textarea",{...s,className:r(e.className,Ul,S(Ul,e)),placeholder:t,rows:a,defaultValue:o,disabled:l||void 0})};Fl.states=Vm;Fl.options=Wm;Fl.className=Ul;import{Fragment as qm,jsx as as}from"react/jsx-runtime";var ls="k-input-loading-icon",Jm=[i.disabled,i.loading],ro=e=>{let{disabled:o,loading:t}=e;return o||!t?as(qm,{}):as("span",{className:r(e.className,ls,"k-icon k-i-loading")})};ro.states=Jm;ro.className=ls;import{Fragment as Zm,jsx as is}from"react/jsx-runtime";var ns="k-input-validation-icon",Ym=[i.valid,i.invalid,i.disabled,i.loading],Qm={},Xe=e=>{let{valid:o,invalid:t,disabled:a,loading:l}=e,s=t?"warning-circle":"check-circle";return a||l||!!!(o||t)?is(Zm,{}):is(p,{className:r(ns),icon:s})};Xe.states=Ym;Xe.options=Qm;Xe.className=ns;import{Fragment as ou,jsx as ss}from"react/jsx-runtime";var jm="k-input-prefix",eu={direction:"horizontal"},xo=e=>{let{direction:o=eu.direction,...t}=e;return e.children?ss("span",{...t,className:r(jm,e.className,{[`k-input-prefix-${o}`]:o}),children:e.children}):ss(ou,{})};import{Fragment as au,jsx as ds}from"react/jsx-runtime";var tu="k-input-suffix",ru={direction:"horizontal"},No=e=>{let{direction:o=ru.direction,...t}=e;return e.children?ds("span",{...t,className:r(tu,e.className,{[`k-input-suffix-${o}`]:o}),children:e.children}):ds(au,{})};import{jsx as YL}from"react/jsx-runtime";import{jsx as iu}from"react/jsx-runtime";var lu="k-input-suffix-text",$l=e=>{let{children:o,...t}=e;return iu("span",{...t,className:r(lu,e.className),children:o})};import{jsx as su}from"react/jsx-runtime";var cs="k-input-separator",nu={direction:"vertical"},ko=e=>{let{direction:o=nu.direction,...t}=e;return su("span",{...t,className:r(cs,e.className,{[`${cs}-${o}`]:o})})};import{Fragment as ps,jsx as Ko,jsxs as Vl}from"react/jsx-runtime";var du=Me.states,cu=Me.defaultOptions,pu=Me.options,mu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],uu=[],Yt=e=>{let{modifiers:o,valid:t,invalid:a,loading:l,disabled:s,readonly:c,...u}=e,f=o?.prefix,k=o?.suffix,N=o?.["clear-button"],v=o?.["validation-icon"],b=o?.separators;return Vl(Me,{...u,valid:t,invalid:a,loading:l,disabled:s,readonly:c,style:{width:300},children:[f&&Vl(ps,{children:[Ko(xo,{children:Ko(p,{icon:"lock"})}),b&&Ko(ko,{})]}),Ko(po,{placeholder:"Placeholder",value:"Value"}),v&&Ko(Xe,{valid:t,invalid:a,loading:l,disabled:s}),Ko(ro,{loading:l,disabled:s}),N&&Ko(co,{loading:l,disabled:s,readonly:c,value:"Value"}),k&&Vl(ps,{children:[b&&Ko(ko,{}),Ko(No,{children:Ko(St,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};Yt.options=pu;Yt.states=du;Yt.variants=uu;Yt.defaultOptions=cu;Yt.modifiers=mu;Yt.className=Me.className;var Wl="popup",ms=Wl;import{jsx as us}from"react/jsx-runtime";var bs="k-animation-container",bu=[],fu={},Xl={positionMode:"absolute",shown:!0},Bo=e=>{let{positionMode:o=Xl.positionMode,shown:t=Xl.shown,animationStyle:a,offset:l,...s}=e;return us("div",{...s,style:{...l,...e.style},className:r(e.className,bs,{"k-animation-container-shown":t,"k-animation-container-fixed":o==="fixed"}),children:us("div",{className:"k-child-animation-container",style:a,children:e.children})})};Bo.states=bu;Bo.options=fu;Bo.className=bs;Bo.defaultOptions=Xl;Bo.moduleName=Wl;Bo.folderName=ms;var Jl="popup",fs=Jl;import{jsx as Ts}from"react/jsx-runtime";var gs="k-popup",Tu=[],gu={},hs={positionMode:"absolute"},le=e=>{let{offset:o,positionMode:t=hs.positionMode,animationStyle:a,containerClassName:l,containerRole:s,containerAriaLabel:c,...u}=e;return Ts(Bo,{positionMode:t,offset:o,animationStyle:a,className:l,role:s,"aria-label":c,children:Ts("div",{...u,className:r(e.className,gs),children:e.children})})};le.states=Tu;le.options=gu;le.className=gs;le.defaultOptions=hs;le.moduleName=Jl;le.folderName=fs;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 ql="action-buttons",xs=ql;import{jsx as Nu}from"react/jsx-runtime";var Ha="k-actions",hu=[],xu={},Yl={alignment:"start",orientation:"horizontal"},wo=e=>{let{alignment:o=Yl.alignment,orientation:t=Yl.orientation,...a}=e;return Nu("div",{...a,className:r(Ha,{[`${Ha}-${o}`]:o,[`${Ha}-${t}`]:t},e.className),children:e.children})};wo.states=hu;wo.options=xu;wo.className=Ha;wo.defaultOptions=Yl;wo.moduleName=ql;wo.folderName=xs;import{jsx as wu}from"react/jsx-runtime";var ku="k-actionsheet-footer",Ns={alignment:"stretched",orientation:"horizontal"},ct=e=>{let{alignment:o=Ns.alignment,orientation:t=Ns.orientation,template:a,as:l=a?"div":wo,...s}=e;return wu(l,{...s,...!a&&{alignment:o,orientation:t},className:r(e.className,ku),children:e.children})};var Ql="searchbox",ks=Ql;import{jsx as jr,jsxs as Lu}from"react/jsx-runtime";var ws="k-searchbox",vu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Cu={size:[d.undefined,d.small,d.medium,d.large],rounded:[h.undefined,h.none,h.small,h.medium,h.large,h.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Zl={showIcon:!0,icon:"search"},mo=e=>{let{value:o,placeholder:t,size:a,rounded:l,fillMode:s,hover:c,focus:u,valid:f,invalid:k,required:N,loading:v,disabled:b,showIcon:C=Zl.showIcon,icon:M=Zl.icon,"aria-label":A,...O}=e;return Lu(Me,{...O,size:a,rounded:l,fillMode:s,hover:c,focus:u,valid:f,invalid:k,required:N,loading:v,disabled:b,className:r(e.className,ws),children:[C&&jr(p,{className:"k-input-icon",icon:M}),jr(po,{placeholder:t,value:o,"aria-label":A}),jr(ro,{...e}),jr(Xe,{...e}),jr(co,{...e})]})};mo.states=vu;mo.options=Cu;mo.className=ws;mo.defaultOptions=Zl;mo.moduleName=Ql;mo.folderName=ks;import{jsx as fM}from"react/jsx-runtime";var jl="textbox",vs=jl;import{Fragment as Cs,jsx as pt,jsxs as ei}from"react/jsx-runtime";var Ls="k-textbox",yu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Mu={size:[d.undefined,d.small,d.medium,d.large],rounded:[h.undefined,h.none,h.small,h.medium,h.large,h.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Pa={showClearButton:!0,showValidationIcon:!0,separators:!0},ue=e=>{let{size:o,rounded:t,fillMode:a,separators:l=Pa.separators,showClearButton:s=Pa.showClearButton,showValidationIcon:c=Pa.showValidationIcon,prefix:u,suffix:f,type:k,value:N,placeholder:v,hover:b,focus:C,valid:M,invalid:A,required:O,loading:_,disabled:Y,readonly:ve,id:me,"aria-label":$e,"aria-describedby":Ve,...We}=e;return ei(Me,{...We,size:o,rounded:t,fillMode:a,hover:b,focus:C,valid:M,invalid:A,required:O,loading:_,disabled:Y,readonly:ve,className:r(e.className,Ls),children:[u&&ei(Cs,{children:[pt(xo,{children:u}),l&&pt(ko,{})]}),pt(po,{id:me,placeholder:v,value:N,type:k,disabled:Y,"aria-label":$e,"aria-describedby":Ve,"aria-invalid":A?"true":void 0}),c&&pt(Xe,{valid:M,invalid:A,loading:_,disabled:Y}),pt(ro,{loading:_,disabled:Y}),s&&pt(co,{loading:_,disabled:Y,readonly:ve,value:N}),f&&ei(Cs,{children:[l&&pt(ko,{}),pt(No,{children:f})]})]})};ue.states=yu;ue.options=Mu;ue.className=Ls;ue.defaultOptions=Pa;ue.moduleName=jl;ue.folderName=vs;ue.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var ea=ue;import{jsx as Su}from"react/jsx-runtime";var ys=e=>Su(ea,{...e});import{Fragment as GM,jsx as EM}from"react/jsx-runtime";import{Fragment as KM,jsx as DM}from"react/jsx-runtime";import{jsx as FM}from"react/jsx-runtime";import{jsx as oi}from"react/jsx-runtime";var Iu=ue.states,Ru=ue.defaultOptions,Au=ue.options,Eu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Gu=[],Qt=e=>{let{modifiers:o,...t}=e,a={};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":a.prefix=o?.[l]?oi(p,{icon:"lock"}):void 0;break;case"suffix":a.suffix=o?.[l]?oi(St,{size:t.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=o?.[l];break;default:break}}),oi(ys,{value:"Value",style:{width:300},...t,...a})};Qt.options=Au;Qt.states=Iu;Qt.variants=Gu;Qt.defaultOptions=Ru;Qt.modifiers=Eu;Qt.className=ue.className;import{jsx as mt,jsxs as ti}from"react/jsx-runtime";var Ms="k-actionsheet-titlebar",Ou={},Je=e=>{let{title:o,subtitle:t,actionsStart:a,actionsEnd:l,filter:s,input:c,inputValue:u,inputPlaceholder:f,adaptive:k,titleId:N,children:v,...b}=e;return ti("div",{...b,className:r(e.className,Ms),children:[ti("div",{className:"k-actionsheet-titlebar-group",children:[a&&mt("div",{className:"k-actionsheet-actions",children:a}),!v&&ti("div",{className:"k-actionsheet-title",id:N,children:[o&&mt("div",{className:"k-text-center",children:o}),t&&mt("div",{className:"k-actionsheet-subtitle k-text-center",children:t})]}),v&&mt("div",{className:"k-actionsheet-title",id:N,children:v}),l&&mt("div",{className:"k-actionsheet-actions",children:l})]}),(c||s)&&mt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?mt(ue,{value:u,placeholder:f,size:k?"large":"medium","aria-label":o||f||"Input"}):mt(mo,{placeholder:"Filter",size:k?"large":"medium","aria-label":"Filter options"})})]})};Je.className=Ms;Je.defaultOptions=Ou;import{jsx as ri,jsxs as Du}from"react/jsx-runtime";var ai="k-actionsheet-view",Hu=[],Pu={},_u={},Zt=e=>{let{adaptive:o,animated:t,children:a,header:l,footer:s,titleId:c,...u}=e,f=l?.type===Je&&ri(Je,{adaptive:o,titleId:c,...l?.props}),k=s?.type===ct&&ri(ct,{...s?.props});return Du("div",{...u,className:r(e.className,ai,{[`${ai}-animated`]:t}),children:[f,ri("div",{className:"k-actionsheet-content",children:a}),k]})};Zt.states=Hu;Zt.options=Pu;Zt.className=ai;Zt.defaultOptions=_u;var oa="action-sheet",_a=oa;var li="overlay",Ss=li;import{jsx as Uu}from"react/jsx-runtime";var Is="k-overlay",Ku=[],Bu={},zu={},ut=e=>{let{...o}=e;return Uu("div",{...o,className:r(e.className,Is),children:e.children})};ut.states=Ku;ut.options=Bu;ut.className=Is;ut.defaultOptions=zu;ut.moduleName=li;ut.folderName=Ss;import{jsx as Da,jsxs as Vu}from"react/jsx-runtime";var Rs="k-actionsheet",Fu=[],$u={},ta={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Le=e=>{let{side:o=ta.side,fullscreen:t=ta.fullscreen,adaptive:a=ta.adaptive,overlay:l=ta.overlay,template:s,children:c,header:u,footer:f,id:k,...N}=e,v=k&&!s&&u?`${k}-title`:void 0;return Vu("div",{className:"k-actionsheet-container",children:[l&&Da(ut,{}),Da(Bo,{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:Da("div",{...N,id:k,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":v,className:r(e.className,Rs,{[`k-actionsheet-${o}`]:t===!1,"k-actionsheet-fullscreen":t===!0,"k-adaptive-actionsheet":a}),children:s||Da(Zt,{header:u,footer:f,adaptive:a,titleId:v,...e,children:c})})})]})};Le.states=Fu;Le.options=$u;Le.className=Rs;Le.defaultOptions=ta;Le.moduleName=oa;Le.folderName=_a;Le.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 qu}from"react/jsx-runtime";var As="k-actionsheet-container",Wu=[],Xu={},Ju={},jt=e=>{let{children:o,...t}=e;return qu("div",{...t,className:As,children:o})};jt.states=Wu;jt.options=Xu;jt.className=As;jt.defaultOptions=Ju;jt.moduleName=oa;jt.folderName=_a;import{jsx as Yu}from"react/jsx-runtime";var ii=e=>{let{...o}=e;return Yu("div",{...o,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Zu,jsx as ra,jsxs as ni}from"react/jsx-runtime";var si="k-actionsheet-item",Qu=[i.hover,i.focus,i.selected,i.disabled],bt=e=>{let{iconName:o,text:t,description:a,hover:l,focus:s,selected:c,disabled:u,...f}=e;return ni("span",{...f,className:r(e.className,si,I(si,{hover:l,focus:s,selected:c,disabled:u})),children:[!e.children&&ra(Zu,{children:ni("span",{className:"k-actionsheet-action",children:[o&&ra("span",{className:"k-icon-wrap",children:ra(p,{className:"k-actionsheet-item-icon",icon:o})}),ni("span",{className:"k-actionsheet-item-text",children:[t&&ra("span",{className:"k-actionsheet-item-title",children:t}),a&&ra("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};bt.states=Qu;bt.className=si;import{jsx as US,jsxs as FS}from"react/jsx-runtime";import{jsx as XS}from"react/jsx-runtime";import{jsx as QS}from"react/jsx-runtime";import{jsx as oI}from"react/jsx-runtime";import{jsx as Ge,jsxs as di}from"react/jsx-runtime";var ju=Le.options,eb=Le.states,Gs={...Le.defaultOptions,variant:"normal"},ob=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],tb=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],er=e=>{let{variant:o,modifiers:t,...a}={...Gs,...e},l={},s=di(ii,{children:[Ge(bt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),Ge(bt,{text:"Add to Favorites",iconName:"heart"}),Ge(bt,{text:"Upload New",iconName:"upload",disabled:!0}),Ge("hr",{className:"k-hr"}),Ge(bt,{text:"Cancel",iconName:"cancel"})]}),c="Choose from the items below",u="Select Item";return o==="fullScreen"&&(l.fullScreen=!0),Object.keys(t||{}).forEach(f=>{switch(f){case"actions":l.actionsStart=!!t?.[f],l.actionsEnd=!!t?.[f];break;case"subtitle":l.subtitle=t?.[f]?c:void 0;break;case"footer":l.footer=!!t?.[f];break;default:break}}),o==="adaptive"?Ge(Le,{...a,adaptive:!0,fullscreen:l.fullScreen,header:Ge(Je,{actionsStart:l.actionsStart?Ge(m,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?Ge(m,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:l.subtitle}),footer:l.footer?di(ct,{alignment:"stretched",children:[Ge(m,{text:"Cancel",size:"large",themeColor:"base"}),Ge(m,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):Ge(Le,{...a,fullscreen:l.fullScreen,header:Ge(Je,{actionsStart:l.actionsStart?Ge(m,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?Ge(m,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:l.subtitle}),footer:l.footer?di(ct,{alignment:"stretched",children:[Ge(m,{text:"Apply",themeColor:"primary"}),Ge(m,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};er.options=ju;er.states=eb;er.variants=ob;er.defaultOptions=Gs;er.modifiers=tb;er.className=Le.className;import pi from"react";import{jsx as Os}from"react/jsx-runtime";var rb="k-list-group-sticky-header",ci=e=>Os("div",{className:r(rb,e.className),children:Os("div",{className:"k-list-header-text",children:e.children})});import{jsx as lb}from"react/jsx-runtime";var ab="k-no-data",Ka=e=>{let{live:o,...t}=e;return lb("span",{...t,className:r(ab,e.className),"aria-live":o?"polite":void 0,children:e.children})};var Rt="list",or=Rt;import{jsx as Hs,jsxs as Ps}from"react/jsx-runtime";var mi="k-list",ib=[],nb={size:[d.undefined,d.small,d.medium,d.large]},sb={},ae=e=>{let{size:o,virtualization:t,children:a,header:l,selectAll:s,optionLabel:c,customValue:u,noData:f,screenReaders:k,...N}=e,b=pi.Children.toArray(a)[0],C=b?.props?.children?pi.Children.count(b.props.children):pi.Children.count(a);return Ps("div",{...N,className:r(e.className,mi,S(mi,{size:o}),{"k-virtual-list":t}),children:[c,s,u,l&&Hs(ci,{children:l}),a||(f!==void 0?f:Hs(Ka,{live:!0,children:"No data found."})),k&&a&&Ps(Ka,{className:"k-sr-only",live:!0,children:[C," items found."]})]})};ae.states=ib;ae.options=nb;ae.className=mi;ae.defaultOptions=sb;ae.moduleName=Rt;ae.folderName=or;ae.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 mb}from"react/jsx-runtime";var _s="k-list-container",db=[],cb={},pb={},tr=e=>{let{...o}=e;return mb("div",{...o,classNa