@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 220 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 R=(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"}),S=(e,o)=>{let{valid:t,invalid:r,hover:l,focus:s,checked:c,active:u,selected:b,disabled:h,indeterminate:x,loading:v,empty:f,readonly:C,highlighted:M,...A}=o;return a({"k-valid":t,"k-invalid":r,"k-hover":l,"k-focus":s,"k-checked":c,"k-active":u,"k-selected":b,"k-disabled":h,"k-indeterminate":x&&!c,"k-loading":v,"k-empty":f,"k-readonly":C,"k-highlighted":M},Object.keys(A).reduce((O,_)=>(_.startsWith("k-")?O[_]=A[_]:O[`k-${_}`]=A[_],O),{}))};function Vn(e,o){if(!o)return{};let t=Array.isArray(o)?o:[o];return Object.fromEntries(t.map(r=>[`k-${r}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},N={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},k={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Uo={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 Hl={};function E(e){return Hl[e]=(Hl[e]||0)+1,`k-${e}-${Hl[e]}`}var oe="grid",ae=oe;import{jsx as Ip,jsxs as Ap}from"react/jsx-runtime";var Da="k-grid",Mp=[],Sp={size:[d.undefined,d.small,d.medium,d.large]},Rp=[],Wn={pagerPosition:"bottom"},$=e=>{let{size:o,pagerPosition:t=Wn.pagerPosition,toolbar:r,pager:l,groupingHeader:s,gridSelectionAggregates:c,_renderAriaRoot:u,resizable:b,ariaColCount:h,ariaRowCount:x,ariaRootId:v,ariaRole:f="grid",...C}=e;return Ap("div",{...C,className:a(e.className,Da,{[`${Da}-resizable`]:b},R(Da,{size:o})),children:[r,t==="top"&&l,s,e.children&&u?Ip("div",{className:"k-grid-aria-root",role:f,id:v,"aria-colcount":h,"aria-rowcount":x,children:e.children}):e.children,c,t==="bottom"&&l]})};$.states=Mp;$.options=Sp;$.variants=Rp;$.className=Da;$.defaultOptions=Wn;$.moduleName=oe;$.folderName=ae;$.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 Ep}from"react/jsx-runtime";var Xn="k-grid-header",D=e=>{let{draggable:o,...t}=e;return Ep("div",{...t,className:a(e.className,Xn,{"k-grid-draggable-header":o}),children:e.children})};D.className=Xn;D.moduleName=oe;D.folderName=ae;import{jsx as Jn,jsxs as Gp}from"react/jsx-runtime";var qn="k-grouping-header",Fe=e=>{let{dropHint:o,dropClue:t,...r}=e;return Gp("div",{...r,className:a(e.className,qn),children:[t&&Jn("div",{className:"k-grouping-dropclue"}),e.children,Jn("div",{className:"k-grouping-drop-container",children:o})]})};Fe.className=qn;Fe.moduleName=oe;Fe.folderName=ae;import{jsx as Op}from"react/jsx-runtime";var Yn="k-grid-pinned-container",ra=e=>{let{position:o,...t}=e;return Op("div",{...t,className:a(e.className,Yn,{"k-pos-bottom":o==="bottom"}),children:e.children})};ra.className=Yn;ra.moduleName=oe;ra.folderName=ae;import{jsx as Hp}from"react/jsx-runtime";var Qn="k-grid-sticky-container",aa=e=>{let{position:o,...t}=e;return Hp("div",{...t,className:a(e.className,Qn,{"k-pos-bottom":o==="bottom"}),children:e.children})};aa.className=Qn;aa.moduleName=oe;aa.folderName=ae;var Pe="table",$e=Pe;import{jsx as Kp}from"react/jsx-runtime";var Zn="k-data-table",Pp=[],_p={size:[d.undefined,d.small,d.medium,d.large]},Dp={},Yo=e=>{let{size:o,...t}=e;return Kp("div",{...t,className:a(e.className,Zn,R("k-table",{size:o})),children:e.children})};Yo.states=Pp;Yo.options=_p;Yo.className=Zn;Yo.defaultOptions=Dp;Yo.moduleName=Pe;Yo.folderName=$e;import{jsx as Fp}from"react/jsx-runtime";var Pl="k-table-header-wrap",Bp=[i.hover,i.focus,i.disabled],zp={},Up={},ct=e=>{let{children:o,hover:t,focus:r,disabled:l,...s}=e;return Fp("div",{...s,className:a(e.className,Pl,S(Pl,{hover:t,focus:r,disabled:l})),children:o})};ct.states=Bp;ct.options=zp;ct.className=Pl;ct.defaultOptions=Up;ct.moduleName=Pe;ct.folderName=$e;import{jsx as Xp}from"react/jsx-runtime";var _l="k-table",$p=[],Vp={size:[d.undefined,d.small,d.medium,d.large]},Wp={},Ve=e=>{let{size:o,...t}=e;return Xp("table",{...t,className:a(e.className,_l,R(_l,{size:o})),children:e.children})};Ve.states=$p;Ve.options=Vp;Ve.className=_l;Ve.defaultOptions=Wp;Ve.moduleName=Pe;Ve.folderName=$e;import{jsx as Dl}from"react/jsx-runtime";var Kl="k-table-header",Jp=[i.hover,i.focus,i.disabled],qp={},Yp={},Qo=e=>{let{children:o,hover:t,focus:r,disabled:l,...s}=e;return Dl("div",{...s,className:a(e.className,Kl,S(Kl,{hover:t,focus:r,disabled:l})),children:Dl(ct,{children:Dl(Ve,{children:o})})})};Qo.states=Jp;Qo.options=qp;Qo.className=Kl;Qo.defaultOptions=Yp;Qo.moduleName=Pe;Qo.folderName=$e;import{jsx as em}from"react/jsx-runtime";var jn="k-table-scroller",Qp=[],Zp={},jp={},jt=e=>{let{children:o,...t}=e;return em("div",{...t,className:a(e.className,jn),children:o})};jt.states=Qp;jt.options=Zp;jt.className=jn;jt.defaultOptions=jp;jt.moduleName=Pe;jt.folderName=$e;import{jsx as vw}from"react/jsx-runtime";import{jsx as am}from"react/jsx-runtime";var es="k-table-footer",om=[],tm={},rm={},pt=e=>{let{children:o,...t}=e;return am("div",{...t,className:a(e.className,es),children:o})};pt.states=om;pt.options=tm;pt.className=es;pt.defaultOptions=rm;pt.moduleName=Pe;pt.folderName=$e;import{jsx as sm}from"react/jsx-runtime";var Bl="k-table-list",lm=[],im={size:[d.undefined,d.small,d.medium,d.large]},nm={},mt=e=>{let{size:o,virtualization:t,...r}=e;return sm("ul",{...r,className:a(e.className,"k-table",Bl,R(Bl,{size:o}),{"k-virtual-table":t}),children:e.children})};mt.states=lm;mt.options=im;mt.className=Bl;mt.defaultOptions=nm;mt.moduleName=Pe;mt.folderName=$e;import{jsx as cm}from"react/jsx-runtime";var dm="k-table-thead",P=e=>cm("thead",{className:a(e.className,dm),children:e.children});import{jsx as mm}from"react/jsx-runtime";var pm="k-table-tbody",U=e=>mm("tbody",{className:a(e.className,pm),children:e.children});import{jsx as zw}from"react/jsx-runtime";import{jsx as bm}from"react/jsx-runtime";var zl="k-table-row",um=[i.hover,i.focus,i.selected,i.disabled,i.highlighted],T=e=>{let{hover:o,focus:t,selected:r,highlighted:l,disabled:s,alt:c,...u}=e;return bm("tr",{...u,className:a(e.className,zl,{"k-table-alt-row":c},S(zl,{hover:o,focus:t,disabled:s,selected:r,highlighted:l})),children:e.children})};T.states=um;T.className=zl;import{jsx as Tm}from"react/jsx-runtime";var Ul="k-table-row",fm=[i.hover,i.focus,i.selected,i.disabled],Ka=e=>{let{hover:o,focus:t,selected:r,disabled:l,alt:s,...c}=e;return Tm("li",{...c,className:a(e.className,Ul,{"k-table-alt-row":s},S(Ul,{hover:o,focus:t,disabled:l,selected:r})),children:e.children})};Ka.states=fm;Ka.className=Ul;import{jsx as gm}from"react/jsx-runtime";var os="k-table-th",Zo=e=>{let{text:o,colspan:t,rowspan:r,...l}=e,s=o||e.children;return gm("th",{colSpan:t,rowSpan:r,...l,className:a(e.className,os),children:s})};Zo.className=os;Zo.moduleName=Pe;Zo.folderName=$e;import{jsx as ov}from"react/jsx-runtime";import{jsx as xm}from"react/jsx-runtime";var Fl="k-table-td",hm=[i.focus,i.selected,i.highlighted],n=e=>{let{focus:o,selected:t,highlighted:r,text:l,colspan:s,rowspan:c,...u}=e,b=l||e.children;return xm("td",{colSpan:s,rowSpan:c,...u,className:a(e.className,Fl,S(Fl,{focus:o,selected:t,highlighted:r})),children:b})};n.states=hm;n.className=Fl;import{jsx as sv}from"react/jsx-runtime";import{jsx as mv}from"react/jsx-runtime";import{jsx as Tv}from"react/jsx-runtime";import{jsx as Nv}from"react/jsx-runtime";import{jsx as Cv}from"react/jsx-runtime";import{jsx as Av,jsxs as Ev}from"react/jsx-runtime";import{jsx as Pv,jsxs as _v}from"react/jsx-runtime";import{jsx as zv,jsxs as Uv}from"react/jsx-runtime";import{Fragment as Jv,jsx as Wv,jsxs as Xv}from"react/jsx-runtime";import{jsx as wm}from"react/jsx-runtime";var as="k-grid-header-table",K=e=>wm(Ve,{...e,className:a(e.className,as),children:e.children});K.className=as;K.moduleName=oe;K.folderName=ae;import{Fragment as ym,jsx as ls}from"react/jsx-runtime";var $l="k-font-icon",vm=[],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]},Lm={},la=e=>{let{size:o,themeColor:t,icon:r,rotate:l,flip:s,...c}=e;return r?ls("span",{...c,className:a(e.className,$l,R($l,{size:o}),{[`k-i-${r}`]:r,[`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"}):ls(ym,{})};la.states=vm;la.options=Cm;la.className=$l;la.defaultOptions=Lm;var is=la;import{Fragment as Rm,jsx as Ba}from"react/jsx-runtime";var Vl="k-svg-icon",Mm=[],Sm={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:[Uo.outline,Uo.solid,Uo.duotone]},Wl={viewBox:"0 0 24 24",variant:Uo.outline},ia=e=>{let{size:o,themeColor:t,rotate:r,flip:l,viewBox:s=Wl.viewBox,variant:c=Wl.variant,icon:u,...b}=e;if(!u)return Ba(Rm,{});if(u==="none")return Ba("span",{...b,className:a(e.className,Vl,R("k-icon",{size:o}),"k-none"),"aria-hidden":"true"});let h=typeof u=="object"&&u.name&&u.name,x=typeof u=="object"?c&&u.variants?.[c]||u.variants?.outline||u.content:void 0;return Ba("span",{...b,className:a(e.className,Vl,R("k-icon",{size:o}),{[`k-svg-i-${h}`]:h,[`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:Ba("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof u=="object"?u.viewBox:s,dangerouslySetInnerHTML:x!==void 0?{__html:x}:void 0,children:u?void 0:e.children})})};ia.states=Mm;ia.options=Sm;ia.className=Vl;ia.defaultOptions=Wl;var Xl=ia;import*as Jl from"@progress/kendo-svg-icons";var ns="icon",ss="icons";import{useContext as Am}from"react";import{createContext as Im}from"react";var ds=Im({iconsType:"svg"});import{Fragment as cs,jsx as na}from"react/jsx-runtime";var za="k-icon",Em=e=>e.replace(/([-_][a-z0-9])/gi,o=>o.toUpperCase().replace("-","").replace("_","")),Gm=[],Om={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:[Uo.outline,Uo.solid,Uo.duotone]},Ua={viewBox:"0 0 24 24",type:"svg",variant:Uo.outline},p=e=>{let{iconsType:o}=Am(ds),{size:t,themeColor:r,icon:l,type:s=o||Ua.type,rotate:c,flip:u,viewBox:b=Ua.viewBox,variant:h=Ua.variant,...x}=e;if(!l)return na(cs,{});if((o||s)==="svg"){if(l==="none")return na(Xl,{...x,className:a(e.className,za),icon:l,size:t,variant:h});let f=Jl[l]?l:Em(`${l}-icon`);return Jl[f]?na(Xl,{...x,className:a(e.className,za),icon:Jl[f],size:t,themeColor:r,rotate:c,flip:u,viewBox:b,variant:h}):na(cs,{})}return na(is,{...x,className:a(e.className,za),icon:l,size:t,themeColor:r,rotate:c,flip:u})};p.states=Gm;p.options=Om;p.defaultOptions=Ua;p.className=za;p.moduleName=ns;p.folderName=ss;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 ut,jsxs as ql}from"react/jsx-runtime";var Yl="k-header",Hm=[i.hover,i.focus,i.active],ps={sortIcon:"sort-asc-small"},w=e=>{let{menu:o,sortable:t,filterable:r,sticky:l,resizable:s,columnTitle:c,hover:u,focus:b,active:h,sortIcon:x=ps.sortIcon,sortOrder:v,accessibleLabel:f,...C}=e;return ql(Zo,{...C,className:a(e.className,Yl,{"k-filterable":o||r,"k-sorted":t,"k-grid-header-sticky":l,"k-touch-action-none":s},S(Yl,{hover:u,focus:b,active:h})),children:[c&&ql("span",{className:"k-cell-inner",children:[ql("span",{className:"k-link",children:[ut("span",{className:"k-column-title",children:c}),t&&ut("span",{className:"k-sort-icon",children:ut(p,{icon:x})}),v&&ut("span",{className:"k-sort-order",children:v})]}),o&&ut("a",{className:a("k-grid-header-menu",{"k-active":h,"k-grid-filter-menu":o==="filter","k-grid-column-menu":o==="column"}),children:ut(p,{icon:o==="filter"?"filter":"more-vertical"})})]}),!c&&f&&ut("span",{className:"k-sr-only",children:f}),e.children,s&&ut("span",{className:"k-column-resizer k-touch-action-none"})]})};w.states=Hm;w.className=Yl;w.defaultOptions=ps;w.moduleName=oe;w.folderName=ae;import{jsx as Pm}from"react/jsx-runtime";var ms="k-grid-container",F=e=>Pm("div",{...e,className:a(e.className,ms),children:e.children});F.className=ms;F.moduleName=oe;F.folderName=ae;import{jsx as _m}from"react/jsx-runtime";var us="k-grid-content",B=e=>_m("div",{...e,className:a(e.className,us),children:e.children});B.className=us;B.moduleName=oe;B.folderName=ae;import{jsx as Dm}from"react/jsx-runtime";var bs="k-grid-table",z=e=>Dm(Ve,{...e,className:a(e.className,bs),children:e.children});z.className=bs;z.moduleName=oe;z.folderName=ae;import{jsx as Km}from"react/jsx-runtime";var fs="k-grid-footer",Fa=e=>Km("div",{...e,className:a(e.className,fs),children:e.children});Fa.className=fs;Fa.moduleName=oe;Fa.folderName=ae;import{jsx as Bm}from"react/jsx-runtime";var Ts="k-grid-footer-table",$a=e=>Bm(Ve,{...e,className:a(e.className,Ts),children:e.children});$a.className=Ts;$a.moduleName=oe;$a.folderName=ae;var Ql="button",gs=Ql;import{Fragment as hs,jsx as er,jsxs as xs}from"react/jsx-runtime";var sa="k-button",zm=["icon-button"],Um=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],Fm={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[k.undefined,k.solid,k.flat,k.outline,k.clear,k.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},Zl={showArrow:!1,arrowIconName:"chevron-down"},m=e=>{let{as:o="button",size:t,rounded:r,fillMode:l,themeColor:s,showArrow:c=Zl.showArrow,arrowIconName:u=Zl.arrowIconName,variant:b,hover:h,focus:x,active:v,selected:f,disabled:C,togglable:M,ariaDisabled:A,icon:O,iconSize:_,text:Y,iconClassName:Ce,className:be,...qe}=e,Ye=O!=null,Qe=e.children!==void 0;return xs(o,{className:a(be,sa,Vn(sa,b),R(sa,{size:t,rounded:r,fillMode:l,themeColor:s}),S(sa,{hover:h,focus:x,active:v,disabled:C||A,selected:f}),{"k-icon-button":!Y&&!Qe&&Ye}),"aria-pressed":M?f?"true":"false":void 0,...qe,"aria-disabled":A?"true":void 0,disabled:C||void 0,children:[typeof O=="string"&&O&&er(p,{className:a(Ce,"k-button-icon"),icon:O,size:_}),O&&typeof O!="string"&&er(hs,{children:O}),Y?xs(hs,{children:[Y&&er("span",{className:"k-button-text",children:Y}),e.children]}):e.children&&er("span",{className:"k-button-text",children:e.children}),c&&er("span",{className:"k-menu-button-arrow k-button-arrow",children:er(p,{icon:u})})]})};m.states=Um;m.options=Fm;m.variants=zm;m.className=sa;m.defaultOptions=Zl;m.moduleName=Ql;m.folderName=gs;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 $m}from"react/jsx-runtime";var bt=e=>$m(m,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as Vm}from"react/jsx-runtime";var da=e=>Vm(m,{icon:"folder",children:"Button",...e});import{jsx as Wm}from"react/jsx-runtime";var Et=e=>Wm(m,{children:"Button",...e});import{jsx as jl}from"react/jsx-runtime";var Xm=m.options,Jm=m.states,qm={...m.defaultOptions,variant:"text"},Ym=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Qm=[],or=e=>{let{variant:o,...t}=e;switch(o){case"icon-only":return jl(bt,{...t,icon:"star"});case"icon-and-text":return jl(da,{...t,icon:"star",children:"Button"});default:return jl(Et,{...t,children:"Button"})}};or.options=Xm;or.states=Jm;or.variants=Ym;or.defaultOptions=qm;or.modifiers=Qm;or.className=m.className;var ca="input",Va=ca;import{jsx as ou}from"react/jsx-runtime";var Wa="k-input",Zm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],jm={size:[d.undefined,d.small,d.medium,d.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[k.undefined,k.solid,k.flat,k.outline]},eu={},Se=e=>{let{hover:o,focus:t,disabled:r,invalid:l,valid:s,loading:c,readonly:u,size:b,rounded:h,fillMode:x,...v}=e;return ou("span",{...v,className:a(e.className,Wa,R(Wa,{size:b,rounded:h,fillMode:x}),S(Wa,{hover:o,focus:t,disabled:r,invalid:l,valid:s,loading:c,readonly:u}))})};Se.states=Zm;Se.options=jm;Se.className=Wa;Se.defaultOptions=eu;Se.moduleName=ca;Se.folderName=Va;import{jsx as lu}from"react/jsx-runtime";var Xa="k-picker",tu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],ru={size:[d.undefined,d.small,d.medium,d.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[k.undefined,k.solid,k.flat,k.outline]},au={},Fo=e=>{let{hover:o,focus:t,disabled:r,invalid:l,valid:s,loading:c,readonly:u,size:b,rounded:h,fillMode:x,...v}=e;return lu("span",{...v,className:a(e.className,Xa,R(Xa,{size:b,rounded:h,fillMode:x}),S(Xa,{hover:o,focus:t,disabled:r,invalid:l,valid:s,loading:c,readonly:u})),children:e.children})};Fo.states=tu;Fo.options=ru;Fo.className=Xa;Fo.defaultOptions=au;Fo.moduleName=ca;Fo.folderName=Va;import{Fragment as su,jsx as ei}from"react/jsx-runtime";var Ns="k-clear-value",iu=[i.disabled,i.loading,i.readonly],nu={},fo=e=>{let{disabled:o,loading:t,readonly:r,value:l}=e;return o||r||t||!l?ei(su,{}):ei("span",{className:a(e.className,Ns),children:ei(p,{icon:"x"})})};fo.states=iu;fo.options=nu;fo.className=Ns;import{jsx as pu}from"react/jsx-runtime";var oi="k-input-inner",du=[],cu={},Ja={type:"text",autocomplete:"off",value:"",placeholder:""},To=e=>{let{value:o=Ja.value,type:t=Ja.type,placeholder:r=Ja.placeholder,autocomplete:l=Ja.autocomplete,disabled:s,readOnly:c,...u}=e;return pu("input",{...u,type:t,className:a(e.className,oi,R(oi,e)),placeholder:r,autoComplete:l,defaultValue:o,disabled:s||void 0,readOnly:c||void 0})};To.states=du;To.options=cu;To.className=oi;import{jsx as ks,jsxs as bu}from"react/jsx-runtime";var ti="k-input-inner",mu=[],uu={},Gt=e=>{let{value:o,placeholder:t,showValue:r,valueIcon:l,valueIconName:s,...c}=e;return bu("span",{...c,className:a(e.className,ti,R(ti,e)),children:[l,!l&&s&&ks(p,{className:"k-input-value-icon",icon:s}),r&&!o&&t,r&&o&&ks("span",{className:"k-input-value-text",children:o})]})};Gt.states=mu;Gt.options=uu;Gt.className=ti;import{jsx as gu}from"react/jsx-runtime";var ri="k-input-inner",fu=[],Tu={},ws={value:"",placeholder:""},ai=e=>{let{value:o=ws.value,placeholder:t=ws.placeholder,rows:r,disabled:l,...s}=e;return gu("textarea",{...s,className:a(e.className,ri,R(ri,e)),placeholder:t,rows:r,defaultValue:o,disabled:l||void 0})};ai.states=fu;ai.options=Tu;ai.className=ri;import{Fragment as xu,jsx as vs}from"react/jsx-runtime";var Cs="k-input-loading-icon",hu=[i.disabled,i.loading],no=e=>{let{disabled:o,loading:t}=e;return o||!t?vs(xu,{}):vs("span",{className:a(e.className,Cs,"k-icon k-i-loading")})};no.states=hu;no.className=Cs;import{Fragment as wu,jsx as Ls}from"react/jsx-runtime";var ys="k-input-validation-icon",Nu=[i.valid,i.invalid,i.disabled,i.loading],ku={},Ze=e=>{let{valid:o,invalid:t,disabled:r,loading:l}=e,s=t?"warning-circle":"check-circle";return r||l||!!!(o||t)?Ls(wu,{}):Ls(p,{className:a(ys),icon:s})};Ze.states=Nu;Ze.options=ku;Ze.className=ys;import{Fragment as Lu,jsx as Ms}from"react/jsx-runtime";var vu="k-input-prefix",Cu={direction:"horizontal"},Co=e=>{let{direction:o=Cu.direction,...t}=e;return e.children?Ms("span",{...t,className:a(vu,e.className,{[`k-input-prefix-${o}`]:o}),children:e.children}):Ms(Lu,{})};import{Fragment as Su,jsx as Ss}from"react/jsx-runtime";var yu="k-input-suffix",Mu={direction:"horizontal"},Lo=e=>{let{direction:o=Mu.direction,...t}=e;return e.children?Ss("span",{...t,className:a(yu,e.className,{[`k-input-suffix-${o}`]:o}),children:e.children}):Ss(Su,{})};import{jsx as Dy}from"react/jsx-runtime";import{jsx as Iu}from"react/jsx-runtime";var Ru="k-input-suffix-text",li=e=>{let{children:o,...t}=e;return Iu("span",{...t,className:a(Ru,e.className),children:o})};import{jsx as Eu}from"react/jsx-runtime";var Rs="k-input-separator",Au={direction:"vertical"},yo=e=>{let{direction:o=Au.direction,...t}=e;return Eu("span",{...t,className:a(Rs,e.className,{[`${Rs}-${o}`]:o})})};import{Fragment as Is,jsx as $o,jsxs as ii}from"react/jsx-runtime";var Gu=Se.states,Ou=Se.defaultOptions,Hu=Se.options,Pu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],_u=[],tr=e=>{let{modifiers:o,valid:t,invalid:r,loading:l,disabled:s,readonly:c,...u}=e,b=o?.prefix,h=o?.suffix,x=o?.["clear-button"],v=o?.["validation-icon"],f=o?.separators;return ii(Se,{...u,valid:t,invalid:r,loading:l,disabled:s,readonly:c,style:{width:300},children:[b&&ii(Is,{children:[$o(Co,{children:$o(p,{icon:"lock"})}),f&&$o(yo,{})]}),$o(To,{placeholder:"Placeholder",value:"Value"}),v&&$o(Ze,{valid:t,invalid:r,loading:l,disabled:s}),$o(no,{loading:l,disabled:s}),x&&$o(fo,{loading:l,disabled:s,readonly:c,value:"Value"}),h&&ii(Is,{children:[f&&$o(yo,{}),$o(Lo,{children:$o(Et,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};tr.options=Hu;tr.states=Gu;tr.variants=_u;tr.defaultOptions=Ou;tr.modifiers=Pu;tr.className=Se.className;var ni="popup",As=ni;import{jsx as Es}from"react/jsx-runtime";var Gs="k-animation-container",Du=[],Ku={},si={positionMode:"absolute",shown:!0},Vo=e=>{let{positionMode:o=si.positionMode,shown:t=si.shown,animationStyle:r,offset:l,...s}=e;return Es("div",{...s,style:{...l,...e.style},className:a(e.className,Gs,{"k-animation-container-shown":t,"k-animation-container-fixed":o==="fixed"}),children:Es("div",{className:"k-child-animation-container",style:r,children:e.children})})};Vo.states=Du;Vo.options=Ku;Vo.className=Gs;Vo.defaultOptions=si;Vo.moduleName=ni;Vo.folderName=As;var di="popup",Os=di;import{jsx as Hs}from"react/jsx-runtime";var Ps="k-popup",Bu=[],zu={},_s={positionMode:"absolute"},ie=e=>{let{offset:o,positionMode:t=_s.positionMode,animationStyle:r,containerClassName:l,containerRole:s,containerAriaLabel:c,...u}=e;return Hs(Vo,{positionMode:t,offset:o,animationStyle:r,className:l,role:s,"aria-label":c,children:Hs("div",{...u,className:a(e.className,Ps),children:e.children})})};ie.states=Bu;ie.options=zu;ie.className=Ps;ie.defaultOptions=_s;ie.moduleName=di;ie.folderName=Os;ie.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 ci="action-buttons",Ds=ci;import{jsx as $u}from"react/jsx-runtime";var qa="k-actions",Uu=[],Fu={},pi={alignment:"start",orientation:"horizontal"},Mo=e=>{let{alignment:o=pi.alignment,orientation:t=pi.orientation,...r}=e;return $u("div",{...r,className:a(qa,{[`${qa}-${o}`]:o,[`${qa}-${t}`]:t},e.className),children:e.children})};Mo.states=Uu;Mo.options=Fu;Mo.className=qa;Mo.defaultOptions=pi;Mo.moduleName=ci;Mo.folderName=Ds;import{jsx as Wu}from"react/jsx-runtime";var Vu="k-actionsheet-footer",Ks={alignment:"stretched",orientation:"horizontal"},ft=e=>{let{alignment:o=Ks.alignment,orientation:t=Ks.orientation,template:r,as:l=r?"div":Mo,...s}=e;return Wu(l,{...s,...!r&&{alignment:o,orientation:t},className:a(e.className,Vu),children:e.children})};var mi="searchbox",Bs=mi;import{jsx as pa,jsxs as qu}from"react/jsx-runtime";var zs="k-searchbox",Xu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Ju={size:[d.undefined,d.small,d.medium,d.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[k.undefined,k.solid,k.flat,k.outline]},ui={showIcon:!0,icon:"search"},go=e=>{let{value:o,placeholder:t,size:r,rounded:l,fillMode:s,hover:c,focus:u,valid:b,invalid:h,required:x,loading:v,disabled:f,showIcon:C=ui.showIcon,icon:M=ui.icon,"aria-label":A,...O}=e;return qu(Se,{...O,size:r,rounded:l,fillMode:s,hover:c,focus:u,valid:b,invalid:h,required:x,loading:v,disabled:f,className:a(e.className,zs),children:[C&&pa(p,{className:"k-input-icon",icon:M}),pa(To,{placeholder:t,value:o,"aria-label":A}),pa(no,{...e}),pa(Ze,{...e}),pa(fo,{...e})]})};go.states=Xu;go.options=Ju;go.className=zs;go.defaultOptions=ui;go.moduleName=mi;go.folderName=Bs;import{jsx as rS}from"react/jsx-runtime";var bi="textbox",Us=bi;import{Fragment as Fs,jsx as Tt,jsxs as fi}from"react/jsx-runtime";var $s="k-textbox",Yu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Qu={size:[d.undefined,d.small,d.medium,d.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[k.undefined,k.solid,k.flat,k.outline]},Ya={showClearButton:!0,showValidationIcon:!0,separators:!0},de=e=>{let{size:o,rounded:t,fillMode:r,separators:l=Ya.separators,showClearButton:s=Ya.showClearButton,showValidationIcon:c=Ya.showValidationIcon,prefix:u,suffix:b,type:h,value:x,placeholder:v,hover:f,focus:C,valid:M,invalid:A,required:O,loading:_,disabled:Y,readonly:Ce,id:be,"aria-label":qe,"aria-describedby":Ye,...Qe}=e;return fi(Se,{...Qe,size:o,rounded:t,fillMode:r,hover:f,focus:C,valid:M,invalid:A,required:O,loading:_,disabled:Y,readonly:Ce,className:a(e.className,$s),children:[u&&fi(Fs,{children:[Tt(Co,{children:u}),l&&Tt(yo,{})]}),Tt(To,{id:be,placeholder:v,value:x,type:h,disabled:Y,"aria-label":qe,"aria-describedby":Ye,"aria-invalid":A?"true":void 0}),c&&Tt(Ze,{valid:M,invalid:A,loading:_,disabled:Y}),Tt(no,{loading:_,disabled:Y}),s&&Tt(fo,{loading:_,disabled:Y,readonly:Ce,value:x}),b&&fi(Fs,{children:[l&&Tt(yo,{}),Tt(Lo,{children:b})]})]})};de.states=Yu;de.options=Qu;de.className=$s;de.defaultOptions=Ya;de.moduleName=bi;de.folderName=Us;de.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 ma=de;import{jsx as Zu}from"react/jsx-runtime";var Vs=e=>Zu(ma,{...e});import{Fragment as kS,jsx as NS}from"react/jsx-runtime";import{Fragment as MS,jsx as yS}from"react/jsx-runtime";import{jsx as AS}from"react/jsx-runtime";import{jsx as Ti}from"react/jsx-runtime";var ju=de.states,eb=de.defaultOptions,ob=de.options,tb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],rb=[],rr=e=>{let{modifiers:o,...t}=e,r={};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":r.prefix=o?.[l]?Ti(p,{icon:"lock"}):void 0;break;case"suffix":r.suffix=o?.[l]?Ti(Et,{size:t.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":r.showClearButton=o?.[l];break;default:break}}),Ti(Vs,{value:"Value",style:{width:300},...t,...r})};rr.options=ob;rr.states=ju;rr.variants=rb;rr.defaultOptions=eb;rr.modifiers=tb;rr.className=de.className;import{jsx as gt,jsxs as gi}from"react/jsx-runtime";var Ws="k-actionsheet-titlebar",ab={},je=e=>{let{title:o,subtitle:t,actionsStart:r,actionsEnd:l,filter:s,input:c,inputValue:u,inputPlaceholder:b,adaptive:h,titleId:x,children:v,...f}=e;return gi("div",{...f,className:a(e.className,Ws),children:[gi("div",{className:"k-actionsheet-titlebar-group",children:[r&>("div",{className:"k-actionsheet-actions",children:r}),!v&&gi("div",{className:"k-actionsheet-title",id:x,children:[o&>("div",{className:"k-text-center",children:o}),t&>("div",{className:"k-actionsheet-subtitle k-text-center",children:t})]}),v&>("div",{className:"k-actionsheet-title",id:x,children:v}),l&>("div",{className:"k-actionsheet-actions",children:l})]}),(c||s)&>("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?gt(de,{value:u,placeholder:b,size:h?"large":"medium","aria-label":o||b||"Input"}):gt(go,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};je.className=Ws;je.defaultOptions=ab;import{jsx as hi,jsxs as sb}from"react/jsx-runtime";var xi="k-actionsheet-view",lb=[],ib={},nb={},ar=e=>{let{adaptive:o,animated:t,children:r,header:l,footer:s,titleId:c,...u}=e,b=l?.type===je&&hi(je,{adaptive:o,titleId:c,...l?.props}),h=s?.type===ft&&hi(ft,{...s?.props});return sb("div",{...u,className:a(e.className,xi,{[`${xi}-animated`]:t}),children:[b,hi("div",{className:"k-actionsheet-content",children:r}),h]})};ar.states=lb;ar.options=ib;ar.className=xi;ar.defaultOptions=nb;var ua="action-sheet",Qa=ua;var Ni="overlay",Xs=Ni;import{jsx as mb}from"react/jsx-runtime";var Js="k-overlay",db=[],cb={},pb={},ht=e=>{let{...o}=e;return mb("div",{...o,className:a(e.className,Js),children:e.children})};ht.states=db;ht.options=cb;ht.className=Js;ht.defaultOptions=pb;ht.moduleName=Ni;ht.folderName=Xs;import{jsx as Za,jsxs as fb}from"react/jsx-runtime";var qs="k-actionsheet",ub=[],bb={},ba={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ye=e=>{let{side:o=ba.side,fullscreen:t=ba.fullscreen,adaptive:r=ba.adaptive,overlay:l=ba.overlay,template:s,children:c,header:u,footer:b,id:h,...x}=e,v=h&&!s&&u?`${h}-title`:void 0;return fb("div",{className:"k-actionsheet-container",children:[l&&Za(ht,{}),Za(Vo,{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:Za("div",{...x,id:h,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":v,className:a(e.className,qs,{[`k-actionsheet-${o}`]:t===!1,"k-actionsheet-fullscreen":t===!0,"k-adaptive-actionsheet":r}),children:s||Za(ar,{header:u,footer:b,adaptive:r,titleId:v,...e,children:c})})})]})};ye.states=ub;ye.options=bb;ye.className=qs;ye.defaultOptions=ba;ye.moduleName=ua;ye.folderName=Qa;ye.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 xb}from"react/jsx-runtime";var Ys="k-actionsheet-container",Tb=[],gb={},hb={},lr=e=>{let{children:o,...t}=e;return xb("div",{...t,className:Ys,children:o})};lr.states=Tb;lr.options=gb;lr.className=Ys;lr.defaultOptions=hb;lr.moduleName=ua;lr.folderName=Qa;import{jsx as Nb}from"react/jsx-runtime";var ki=e=>{let{...o}=e;return Nb("div",{...o,className:a(e.className,"k-list-ul"),children:e.children})};import{Fragment as wb,jsx as fa,jsxs as wi}from"react/jsx-runtime";var vi="k-actionsheet-item",kb=[i.hover,i.focus,i.selected,i.disabled],xt=e=>{let{iconName:o,text:t,description:r,hover:l,focus:s,selected:c,disabled:u,...b}=e;return wi("span",{...b,className:a(e.className,vi,S(vi,{hover:l,focus:s,selected:c,disabled:u})),children:[!e.children&&fa(wb,{children:wi("span",{className:"k-actionsheet-action",children:[o&&fa("span",{className:"k-icon-wrap",children:fa(p,{className:"k-actionsheet-item-icon",icon:o})}),wi("span",{className:"k-actionsheet-item-text",children:[t&&fa("span",{className:"k-actionsheet-item-title",children:t}),r&&fa("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};xt.states=kb;xt.className=vi;import{jsx as IR,jsxs as AR}from"react/jsx-runtime";import{jsx as HR}from"react/jsx-runtime";import{jsx as KR}from"react/jsx-runtime";import{jsx as FR}from"react/jsx-runtime";import{jsx as _e,jsxs as Ci}from"react/jsx-runtime";var vb=ye.options,Cb=ye.states,Zs={...ye.defaultOptions,variant:"normal"},Lb=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],yb=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],ir=e=>{let{variant:o,modifiers:t,...r}={...Zs,...e},l={},s=Ci(ki,{children:[_e(xt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),_e(xt,{text:"Add to Favorites",iconName:"heart"}),_e(xt,{text:"Upload New",iconName:"upload",disabled:!0}),_e("hr",{className:"k-hr"}),_e(xt,{text:"Cancel",iconName:"cancel"})]}),c="Choose from the items below",u="Select Item";return o==="fullScreen"&&(l.fullScreen=!0),Object.keys(t||{}).forEach(b=>{switch(b){case"actions":l.actionsStart=!!t?.[b],l.actionsEnd=!!t?.[b];break;case"subtitle":l.subtitle=t?.[b]?c:void 0;break;case"footer":l.footer=!!t?.[b];break;default:break}}),o==="adaptive"?_e(ye,{...r,adaptive:!0,fullscreen:l.fullScreen,header:_e(je,{actionsStart:l.actionsStart?_e(m,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?_e(m,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:l.subtitle}),footer:l.footer?Ci(ft,{alignment:"stretched",children:[_e(m,{text:"Cancel",size:"large",themeColor:"base"}),_e(m,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):_e(ye,{...r,fullscreen:l.fullScreen,header:_e(je,{actionsStart:l.actionsStart?_e(m,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?_e(m,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:l.subtitle}),footer:l.footer?Ci(ft,{alignment:"stretched",children:[_e(m,{text:"Apply",themeColor:"primary"}),_e(m,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};ir.options=vb;ir.states=Cb;ir.variants=Lb;ir.defaultOptions=Zs;ir.modifiers=yb;ir.className=ye.className;import yi from"react";import{jsx as js}from"react/jsx-runtime";var Mb="k-list-group-sticky-header",Li=e=>js("div",{className:a(Mb,e.className),children:js("div",{className:"k-list-header-text",children:e.children})});import{jsx as Rb}from"react/jsx-runtime";var Sb="k-no-data",ja=e=>{let{live:o,...t}=e;return Rb("span",{...t,className:a(Sb,e.className),"aria-live":o?"polite":void 0,children:e.children})};var Ot="list",nr=Ot;import{jsx as ed,jsxs as od}from"react/jsx-runtime";var Mi="k-list",Ib=[],Ab={size:[d.undefined,d.small,d.medium,d.large]},Eb={},le=e=>{let{size:o,virtualization:t,children:r,header:l,selectAll:s,optionLabel:c,customValue:u,noData:b,screenReaders:h,...x}=e,f=yi.Children.toArray(r)[0],C=f?.props?.children?yi.Children.count(f.props.children):yi.Children.count(r);return od("div",{...x,className:a(e.className,Mi,R(Mi,{size:o}),{"k-virtual-list":t}),children:[c,s,u,l&&ed(Li,{children:l}),r||(b!==void 0?b:ed(ja,{live:!0,children:"No data found."})),h&&r&&od(ja,{className:"k-sr-only",live:!0,children:[C," items found."]})]})};le.states=Ib;le.options=Ab;le.className=Mi;le.defaultOptions=Eb;le.moduleName=Ot;le.folderName=nr;le.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 Pb}from"react/jsx-runtime";var td="k-list-container",Gb=[],Ob={},Hb={},sr=e=>{let{...o}=e;return Pb("div",{...o,classNa