UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 213 kB
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,K)=>(K.startsWith("k-")?O[K]=A[K]:O[`k-${K}`]=A[K],O),{}))};function Rn(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"},zo={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 vl={};function E(e){return vl[e]=(vl[e]||0)+1,`k-${e}-${vl[e]}`}var ee="grid",re=ee;import{jsx as dp,jsxs as cp}from"react/jsx-runtime";var Ma="k-grid",ip=[],np={size:[d.undefined,d.small,d.medium,d.large]},sp=[],An={pagerPosition:"bottom"},$=e=>{let{size:o,pagerPosition:t=An.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 cp("div",{...C,className:r(e.className,Ma,{[`${Ma}-resizable`]:f},S(Ma,{size:o})),children:[a,t==="top"&&l,s,e.children&&u?dp("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]})};$.states=ip;$.options=np;$.variants=sp;$.className=Ma;$.defaultOptions=An;$.moduleName=ee;$.folderName=re;$.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 pp}from"react/jsx-runtime";var En="k-grid-header",_=e=>{let{draggable:o,...t}=e;return pp("div",{...t,className:r(e.className,En,{"k-grid-draggable-header":o}),children:e.children})};_.className=En;_.moduleName=ee;_.folderName=re;import{jsx as Gn,jsxs as mp}from"react/jsx-runtime";var On="k-grouping-header",Ke=e=>{let{dropHint:o,dropClue:t,...a}=e;return mp("div",{...a,className:r(e.className,On),children:[t&&Gn("div",{className:"k-grouping-dropclue"}),e.children,Gn("div",{className:"k-grouping-drop-container",children:o})]})};Ke.className=On;Ke.moduleName=ee;Ke.folderName=re;import{jsx as up}from"react/jsx-runtime";var Hn="k-grid-pinned-container",Jr=e=>{let{position:o,...t}=e;return up("div",{...t,className:r(e.className,Hn,{"k-pos-bottom":o==="bottom"}),children:e.children})};Jr.className=Hn;Jr.moduleName=ee;Jr.folderName=re;import{jsx as bp}from"react/jsx-runtime";var Pn="k-grid-sticky-container",qr=e=>{let{position:o,...t}=e;return bp("div",{...t,className:r(e.className,Pn,{"k-pos-bottom":o==="bottom"}),children:e.children})};qr.className=Pn;qr.moduleName=ee;qr.folderName=re;var Ge="table",Be=Ge;import{jsx as hp}from"react/jsx-runtime";var _n="k-data-table",fp=[],Tp={size:[d.undefined,d.small,d.medium,d.large]},gp={},Qo=e=>{let{size:o,...t}=e;return hp("div",{...t,className:r(e.className,_n,S("k-table",{size:o})),children:e.children})};Qo.states=fp;Qo.options=Tp;Qo.className=_n;Qo.defaultOptions=gp;Qo.moduleName=Ge;Qo.folderName=Be;import{jsx as wp}from"react/jsx-runtime";var Cl="k-table-header-wrap",xp=[i.hover,i.focus,i.disabled],Np={},kp={},dt=e=>{let{children:o,hover:t,focus:a,disabled:l,...s}=e;return wp("div",{...s,className:r(e.className,Cl,I(Cl,{hover:t,focus:a,disabled:l})),children:o})};dt.states=xp;dt.options=Np;dt.className=Cl;dt.defaultOptions=kp;dt.moduleName=Ge;dt.folderName=Be;import{jsx as yp}from"react/jsx-runtime";var Ll="k-table",vp=[],Cp={size:[d.undefined,d.small,d.medium,d.large]},Lp={},ze=e=>{let{size:o,...t}=e;return yp("table",{...t,className:r(e.className,Ll,S(Ll,{size:o})),children:e.children})};ze.states=vp;ze.options=Cp;ze.className=Ll;ze.defaultOptions=Lp;ze.moduleName=Ge;ze.folderName=Be;import{jsx as yl}from"react/jsx-runtime";var Ml="k-table-header",Mp=[i.hover,i.focus,i.disabled],Sp={},Ip={},Zo=e=>{let{children:o,hover:t,focus:a,disabled:l,...s}=e;return yl("div",{...s,className:r(e.className,Ml,I(Ml,{hover:t,focus:a,disabled:l})),children:yl(dt,{children:yl(ze,{children:o})})})};Zo.states=Mp;Zo.options=Sp;Zo.className=Ml;Zo.defaultOptions=Ip;Zo.moduleName=Ge;Zo.folderName=Be;import{jsx as Gp}from"react/jsx-runtime";var Dn="k-table-scroller",Rp=[],Ap={},Ep={},Yt=e=>{let{children:o,...t}=e;return Gp("div",{...t,className:r(e.className,Dn),children:o})};Yt.states=Rp;Yt.options=Ap;Yt.className=Dn;Yt.defaultOptions=Ep;Yt.moduleName=Ge;Yt.folderName=Be;import{jsx as Pk}from"react/jsx-runtime";import{jsx as _p}from"react/jsx-runtime";var Kn="k-table-footer",Op=[],Hp={},Pp={},ct=e=>{let{children:o,...t}=e;return _p("div",{...t,className:r(e.className,Kn),children:o})};ct.states=Op;ct.options=Hp;ct.className=Kn;ct.defaultOptions=Pp;ct.moduleName=Ge;ct.folderName=Be;import{jsx as zp}from"react/jsx-runtime";var Sl="k-table-list",Dp=[],Kp={size:[d.undefined,d.small,d.medium,d.large]},Bp={},pt=e=>{let{size:o,virtualization:t,...a}=e;return zp("ul",{...a,className:r(e.className,"k-table",Sl,S(Sl,{size:o}),{"k-virtual-table":t}),children:e.children})};pt.states=Dp;pt.options=Kp;pt.className=Sl;pt.defaultOptions=Bp;pt.moduleName=Ge;pt.folderName=Be;import{jsx as Fp}from"react/jsx-runtime";var Up="k-table-thead",H=e=>Fp("thead",{className:r(e.className,Up),children:e.children});import{jsx as Vp}from"react/jsx-runtime";var $p="k-table-tbody",U=e=>Vp("tbody",{className:r(e.className,$p),children:e.children});import{jsx as ew}from"react/jsx-runtime";import{jsx as Xp}from"react/jsx-runtime";var Il="k-table-row",Wp=[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 Xp("tr",{...u,className:r(e.className,Il,{"k-table-alt-row":c},I(Il,{hover:o,focus:t,disabled:s,selected:a,highlighted:l})),children:e.children})};g.states=Wp;g.className=Il;import{jsx as qp}from"react/jsx-runtime";var Rl="k-table-row",Jp=[i.hover,i.focus,i.selected,i.disabled],Sa=e=>{let{hover:o,focus:t,selected:a,disabled:l,alt:s,...c}=e;return qp("li",{...c,className:r(e.className,Rl,{"k-table-alt-row":s},I(Rl,{hover:o,focus:t,disabled:l,selected:a})),children:e.children})};Sa.states=Jp;Sa.className=Rl;import{jsx as Yp}from"react/jsx-runtime";var Bn="k-table-th",jo=e=>{let{text:o,colspan:t,rowspan:a,...l}=e,s=o||e.children;return Yp("th",{colSpan:t,rowSpan:a,...l,className:r(e.className,Bn),children:s})};jo.className=Bn;jo.moduleName=Ge;jo.folderName=Be;import{jsx as bw}from"react/jsx-runtime";import{jsx as Zp}from"react/jsx-runtime";var Al="k-table-td",Qp=[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 Zp("td",{colSpan:s,rowSpan:c,...u,className:r(e.className,Al,I(Al,{focus:o,selected:t,highlighted:a})),children:f})};n.states=Qp;n.className=Al;import{jsx as kw}from"react/jsx-runtime";import{jsx as Lw}from"react/jsx-runtime";import{jsx as Iw}from"react/jsx-runtime";import{jsx as Gw}from"react/jsx-runtime";import{jsx as _w}from"react/jsx-runtime";import{jsx as $w,jsxs as Vw}from"react/jsx-runtime";import{jsx as qw,jsxs as Yw}from"react/jsx-runtime";import{jsx as ev,jsxs as ov}from"react/jsx-runtime";import{Fragment as nv,jsx as lv,jsxs as iv}from"react/jsx-runtime";import{jsx as om}from"react/jsx-runtime";var Fn="k-grid-header-table",D=e=>om(ze,{...e,className:r(e.className,Fn),children:e.children});D.className=Fn;D.moduleName=ee;D.folderName=re;import{Fragment as lm,jsx as $n}from"react/jsx-runtime";var El="k-font-icon",tm=[],rm={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]},am={},Yr=e=>{let{size:o,themeColor:t,icon:a,rotate:l,flip:s,...c}=e;return a?$n("span",{...c,className:r(e.className,El,S(El,{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"}):$n(lm,{})};Yr.states=tm;Yr.options=rm;Yr.className=El;Yr.defaultOptions=am;var Vn=Yr;import{Fragment as sm,jsx as Ia}from"react/jsx-runtime";var Gl="k-svg-icon",im=[],nm={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:[zo.outline,zo.solid,zo.duotone]},Ol={viewBox:"0 0 24 24",variant:zo.outline},Qr=e=>{let{size:o,themeColor:t,rotate:a,flip:l,viewBox:s=Ol.viewBox,variant:c=Ol.variant,icon:u,...f}=e;if(!u)return Ia(sm,{});if(u==="none")return Ia("span",{...f,className:r(e.className,Gl,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 Ia("span",{...f,className:r(e.className,Gl,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:Ia("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})})};Qr.states=im;Qr.options=nm;Qr.className=Gl;Qr.defaultOptions=Ol;var Hl=Qr;import*as Pl from"@progress/kendo-svg-icons";var Wn="icon",Xn="icons";import{useContext as cm}from"react";import{createContext as dm}from"react";var Jn=dm({iconsType:"svg"});import{Fragment as qn,jsx as Zr}from"react/jsx-runtime";var Ra="k-icon",pm=e=>e.replace(/([-_][a-z0-9])/gi,o=>o.toUpperCase().replace("-","").replace("_","")),mm=[],um={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:[zo.outline,zo.solid,zo.duotone]},Aa={viewBox:"0 0 24 24",type:"svg",variant:zo.outline},p=e=>{let{iconsType:o}=cm(Jn),{size:t,themeColor:a,icon:l,type:s=o||Aa.type,rotate:c,flip:u,viewBox:f=Aa.viewBox,variant:k=Aa.variant,...N}=e;if(!l)return Zr(qn,{});if((o||s)==="svg"){if(l==="none")return Zr(Hl,{...N,className:r(e.className,Ra),icon:l,size:t,variant:k});let b=Pl[l]?l:pm(`${l}-icon`);return Pl[b]?Zr(Hl,{...N,className:r(e.className,Ra),icon:Pl[b],size:t,themeColor:a,rotate:c,flip:u,viewBox:f,variant:k}):Zr(qn,{})}return Zr(Vn,{...N,className:r(e.className,Ra),icon:l,size:t,themeColor:a,rotate:c,flip:u})};p.states=mm;p.options=um;p.defaultOptions=Aa;p.className=Ra;p.moduleName=Wn;p.folderName=Xn;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 mt,jsxs as _l}from"react/jsx-runtime";var Dl="k-header",bm=[i.hover,i.focus,i.active],Yn={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=Yn.sortIcon,sortOrder:v,accessibleLabel:b,...C}=e;return _l(jo,{...C,className:r(e.className,Dl,{"k-filterable":o||a,"k-sorted":t,"k-grid-header-sticky":l,"k-touch-action-none":s},I(Dl,{hover:u,focus:f,active:k})),children:[c&&_l("span",{className:"k-cell-inner",children:[_l("span",{className:"k-link",children:[mt("span",{className:"k-column-title",children:c}),t&&mt("span",{className:"k-sort-icon",children:mt(p,{icon:N})}),v&&mt("span",{className:"k-sort-order",children:v})]}),o&&mt("a",{className:r("k-grid-header-menu",{"k-active":k,"k-grid-filter-menu":o==="filter","k-grid-column-menu":o==="column"}),children:mt(p,{icon:o==="filter"?"filter":"more-vertical"})})]}),!c&&b&&mt("span",{className:"k-sr-only",children:b}),e.children,s&&mt("span",{className:"k-column-resizer k-touch-action-none"})]})};w.states=bm;w.className=Dl;w.defaultOptions=Yn;w.moduleName=ee;w.folderName=re;import{jsx as fm}from"react/jsx-runtime";var Qn="k-grid-container",F=e=>fm("div",{...e,className:r(e.className,Qn),children:e.children});F.className=Qn;F.moduleName=ee;F.folderName=re;import{jsx as Tm}from"react/jsx-runtime";var Zn="k-grid-content",B=e=>Tm("div",{...e,className:r(e.className,Zn),children:e.children});B.className=Zn;B.moduleName=ee;B.folderName=re;import{jsx as gm}from"react/jsx-runtime";var jn="k-grid-table",z=e=>gm(ze,{...e,className:r(e.className,jn),children:e.children});z.className=jn;z.moduleName=ee;z.folderName=re;import{jsx as hm}from"react/jsx-runtime";var es="k-grid-footer",Ea=e=>hm("div",{...e,className:r(e.className,es),children:e.children});Ea.className=es;Ea.moduleName=ee;Ea.folderName=re;import{jsx as xm}from"react/jsx-runtime";var os="k-grid-footer-table",Ga=e=>xm(ze,{...e,className:r(e.className,os),children:e.children});Ga.className=os;Ga.moduleName=ee;Ga.folderName=re;var Kl="button",ts=Kl;import{Fragment as rs,jsx as Qt,jsxs as as}from"react/jsx-runtime";var jr="k-button",Nm=["icon-button"],km=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],wm={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]},Bl={showArrow:!1,arrowIconName:"chevron-down"},m=e=>{let{as:o="button",size:t,rounded:a,fillMode:l,themeColor:s,showArrow:c=Bl.showArrow,arrowIconName:u=Bl.arrowIconName,variant:f,hover:k,focus:N,active:v,selected:b,disabled:C,togglable:M,ariaDisabled:A,icon:O,iconSize:K,text:Y,iconClassName:Ce,className:me,...Ve}=e,We=O!=null,Xe=e.children!==void 0;return as(o,{className:r(me,jr,Rn(jr,f),S(jr,{size:t,rounded:a,fillMode:l,themeColor:s}),I(jr,{hover:k,focus:N,active:v,disabled:C||A,selected:b}),{"k-icon-button":!Y&&!Xe&&We}),"aria-pressed":M?b?"true":"false":void 0,...Ve,"aria-disabled":A?"true":void 0,disabled:C||void 0,children:[typeof O=="string"&&O&&Qt(p,{className:r(Ce,"k-button-icon"),icon:O,size:K}),O&&typeof O!="string"&&Qt(rs,{children:O}),Y?as(rs,{children:[Y&&Qt("span",{className:"k-button-text",children:Y}),e.children]}):e.children&&Qt("span",{className:"k-button-text",children:e.children}),c&&Qt("span",{className:"k-menu-button-arrow k-button-arrow",children:Qt(p,{icon:u})})]})};m.states=km;m.options=wm;m.variants=Nm;m.className=jr;m.defaultOptions=Bl;m.moduleName=Kl;m.folderName=ts;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 vm}from"react/jsx-runtime";var ut=e=>vm(m,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as Cm}from"react/jsx-runtime";var ea=e=>Cm(m,{icon:"folder",children:"Button",...e});import{jsx as Lm}from"react/jsx-runtime";var Gt=e=>Lm(m,{children:"Button",...e});import{jsx as zl}from"react/jsx-runtime";var ym=m.options,Mm=m.states,Sm={...m.defaultOptions,variant:"text"},Im=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Rm=[],Zt=e=>{let{variant:o,...t}=e;switch(o){case"icon-only":return zl(ut,{...t,icon:"star"});case"icon-and-text":return zl(ea,{...t,icon:"star",children:"Button"});default:return zl(Gt,{...t,children:"Button"})}};Zt.options=ym;Zt.states=Mm;Zt.variants=Im;Zt.defaultOptions=Sm;Zt.modifiers=Rm;Zt.className=m.className;var oa="input",Oa=oa;import{jsx as Om}from"react/jsx-runtime";var Ha="k-input",Am=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Em={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]},Gm={},Se=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 Om("span",{...v,className:r(e.className,Ha,S(Ha,{size:f,rounded:k,fillMode:N}),I(Ha,{hover:o,focus:t,disabled:a,invalid:l,valid:s,loading:c,readonly:u}))})};Se.states=Am;Se.options=Em;Se.className=Ha;Se.defaultOptions=Gm;Se.moduleName=oa;Se.folderName=Oa;import{jsx as Dm}from"react/jsx-runtime";var Pa="k-picker",Hm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Pm={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]},_m={},Uo=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 Dm("span",{...v,className:r(e.className,Pa,S(Pa,{size:f,rounded:k,fillMode:N}),I(Pa,{hover:o,focus:t,disabled:a,invalid:l,valid:s,loading:c,readonly:u})),children:e.children})};Uo.states=Hm;Uo.options=Pm;Uo.className=Pa;Uo.defaultOptions=_m;Uo.moduleName=oa;Uo.folderName=Oa;import{Fragment as zm,jsx as Ul}from"react/jsx-runtime";var ls="k-clear-value",Km=[i.disabled,i.loading,i.readonly],Bm={},po=e=>{let{disabled:o,loading:t,readonly:a,value:l}=e;return o||a||t||!l?Ul(zm,{}):Ul("span",{className:r(e.className,ls),children:Ul(p,{icon:"x"})})};po.states=Km;po.options=Bm;po.className=ls;import{jsx as $m}from"react/jsx-runtime";var Fl="k-input-inner",Um=[],Fm={},_a={type:"text",autocomplete:"off",value:"",placeholder:""},mo=e=>{let{value:o=_a.value,type:t=_a.type,placeholder:a=_a.placeholder,autocomplete:l=_a.autocomplete,disabled:s,readOnly:c,...u}=e;return $m("input",{...u,type:t,className:r(e.className,Fl,S(Fl,e)),placeholder:a,autoComplete:l,defaultValue:o,disabled:s||void 0,readOnly:c||void 0})};mo.states=Um;mo.options=Fm;mo.className=Fl;import{jsx as is,jsxs as Xm}from"react/jsx-runtime";var $l="k-input-inner",Vm=[],Wm={},Ot=e=>{let{value:o,placeholder:t,showValue:a,valueIcon:l,valueIconName:s,...c}=e;return Xm("span",{...c,className:r(e.className,$l,S($l,e)),children:[l,!l&&s&&is(p,{className:"k-input-value-icon",icon:s}),a&&!o&&t,a&&o&&is("span",{className:"k-input-value-text",children:o})]})};Ot.states=Vm;Ot.options=Wm;Ot.className=$l;import{jsx as Ym}from"react/jsx-runtime";var Vl="k-input-inner",Jm=[],qm={},ns={value:"",placeholder:""},Wl=e=>{let{value:o=ns.value,placeholder:t=ns.placeholder,rows:a,disabled:l,...s}=e;return Ym("textarea",{...s,className:r(e.className,Vl,S(Vl,e)),placeholder:t,rows:a,defaultValue:o,disabled:l||void 0})};Wl.states=Jm;Wl.options=qm;Wl.className=Vl;import{Fragment as Zm,jsx as ss}from"react/jsx-runtime";var ds="k-input-loading-icon",Qm=[i.disabled,i.loading],ao=e=>{let{disabled:o,loading:t}=e;return o||!t?ss(Zm,{}):ss("span",{className:r(e.className,ds,"k-icon k-i-loading")})};ao.states=Qm;ao.className=ds;import{Fragment as ou,jsx as cs}from"react/jsx-runtime";var ps="k-input-validation-icon",jm=[i.valid,i.invalid,i.disabled,i.loading],eu={},Je=e=>{let{valid:o,invalid:t,disabled:a,loading:l}=e,s=t?"warning-circle":"check-circle";return a||l||!!!(o||t)?cs(ou,{}):cs(p,{className:r(ps),icon:s})};Je.states=jm;Je.options=eu;Je.className=ps;import{Fragment as au,jsx as ms}from"react/jsx-runtime";var tu="k-input-prefix",ru={direction:"horizontal"},No=e=>{let{direction:o=ru.direction,...t}=e;return e.children?ms("span",{...t,className:r(tu,e.className,{[`k-input-prefix-${o}`]:o}),children:e.children}):ms(au,{})};import{Fragment as nu,jsx as us}from"react/jsx-runtime";var lu="k-input-suffix",iu={direction:"horizontal"},ko=e=>{let{direction:o=iu.direction,...t}=e;return e.children?us("span",{...t,className:r(lu,e.className,{[`k-input-suffix-${o}`]:o}),children:e.children}):us(nu,{})};import{jsx as QL}from"react/jsx-runtime";import{jsx as du}from"react/jsx-runtime";var su="k-input-suffix-text",Xl=e=>{let{children:o,...t}=e;return du("span",{...t,className:r(su,e.className),children:o})};import{jsx as pu}from"react/jsx-runtime";var bs="k-input-separator",cu={direction:"vertical"},wo=e=>{let{direction:o=cu.direction,...t}=e;return pu("span",{...t,className:r(bs,e.className,{[`${bs}-${o}`]:o})})};import{Fragment as fs,jsx as Fo,jsxs as Jl}from"react/jsx-runtime";var mu=Se.states,uu=Se.defaultOptions,bu=Se.options,fu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Tu=[],jt=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 Jl(Se,{...u,valid:t,invalid:a,loading:l,disabled:s,readonly:c,style:{width:300},children:[f&&Jl(fs,{children:[Fo(No,{children:Fo(p,{icon:"lock"})}),b&&Fo(wo,{})]}),Fo(mo,{placeholder:"Placeholder",value:"Value"}),v&&Fo(Je,{valid:t,invalid:a,loading:l,disabled:s}),Fo(ao,{loading:l,disabled:s}),N&&Fo(po,{loading:l,disabled:s,readonly:c,value:"Value"}),k&&Jl(fs,{children:[b&&Fo(wo,{}),Fo(ko,{children:Fo(Gt,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};jt.options=bu;jt.states=mu;jt.variants=Tu;jt.defaultOptions=uu;jt.modifiers=fu;jt.className=Se.className;var ql="popup",Ts=ql;import{jsx as gs}from"react/jsx-runtime";var hs="k-animation-container",gu=[],hu={},Yl={positionMode:"absolute",shown:!0},$o=e=>{let{positionMode:o=Yl.positionMode,shown:t=Yl.shown,animationStyle:a,offset:l,...s}=e;return gs("div",{...s,style:{...l,...e.style},className:r(e.className,hs,{"k-animation-container-shown":t,"k-animation-container-fixed":o==="fixed"}),children:gs("div",{className:"k-child-animation-container",style:a,children:e.children})})};$o.states=gu;$o.options=hu;$o.className=hs;$o.defaultOptions=Yl;$o.moduleName=ql;$o.folderName=Ts;var Ql="popup",xs=Ql;import{jsx as Ns}from"react/jsx-runtime";var ks="k-popup",xu=[],Nu={},ws={positionMode:"absolute"},ae=e=>{let{offset:o,positionMode:t=ws.positionMode,animationStyle:a,containerClassName:l,containerRole:s,containerAriaLabel:c,...u}=e;return Ns($o,{positionMode:t,offset:o,animationStyle:a,className:l,role:s,"aria-label":c,children:Ns("div",{...u,className:r(e.className,ks),children:e.children})})};ae.states=xu;ae.options=Nu;ae.className=ks;ae.defaultOptions=ws;ae.moduleName=Ql;ae.folderName=xs;ae.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var Zl="action-buttons",vs=Zl;import{jsx as vu}from"react/jsx-runtime";var Da="k-actions",ku=[],wu={},jl={alignment:"start",orientation:"horizontal"},vo=e=>{let{alignment:o=jl.alignment,orientation:t=jl.orientation,...a}=e;return vu("div",{...a,className:r(Da,{[`${Da}-${o}`]:o,[`${Da}-${t}`]:t},e.className),children:e.children})};vo.states=ku;vo.options=wu;vo.className=Da;vo.defaultOptions=jl;vo.moduleName=Zl;vo.folderName=vs;import{jsx as Lu}from"react/jsx-runtime";var Cu="k-actionsheet-footer",Cs={alignment:"stretched",orientation:"horizontal"},bt=e=>{let{alignment:o=Cs.alignment,orientation:t=Cs.orientation,template:a,as:l=a?"div":vo,...s}=e;return Lu(l,{...s,...!a&&{alignment:o,orientation:t},className:r(e.className,Cu),children:e.children})};var ei="searchbox",Ls=ei;import{jsx as ta,jsxs as Su}from"react/jsx-runtime";var ys="k-searchbox",yu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],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]},oi={showIcon:!0,icon:"search"},uo=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=oi.showIcon,icon:M=oi.icon,"aria-label":A,...O}=e;return Su(Se,{...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,ys),children:[C&&ta(p,{className:"k-input-icon",icon:M}),ta(mo,{placeholder:t,value:o,"aria-label":A}),ta(ao,{...e}),ta(Je,{...e}),ta(po,{...e})]})};uo.states=yu;uo.options=Mu;uo.className=ys;uo.defaultOptions=oi;uo.moduleName=ei;uo.folderName=Ls;import{jsx as TM}from"react/jsx-runtime";var ti="textbox",Ms=ti;import{Fragment as Ss,jsx as ft,jsxs as ri}from"react/jsx-runtime";var Is="k-textbox",Iu=[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:[h.undefined,h.none,h.small,h.medium,h.large,h.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ka={showClearButton:!0,showValidationIcon:!0,separators:!0},ue=e=>{let{size:o,rounded:t,fillMode:a,separators:l=Ka.separators,showClearButton:s=Ka.showClearButton,showValidationIcon:c=Ka.showValidationIcon,prefix:u,suffix:f,type:k,value:N,placeholder:v,hover:b,focus:C,valid:M,invalid:A,required:O,loading:K,disabled:Y,readonly:Ce,id:me,"aria-label":Ve,"aria-describedby":We,...Xe}=e;return ri(Se,{...Xe,size:o,rounded:t,fillMode:a,hover:b,focus:C,valid:M,invalid:A,required:O,loading:K,disabled:Y,readonly:Ce,className:r(e.className,Is),children:[u&&ri(Ss,{children:[ft(No,{children:u}),l&&ft(wo,{})]}),ft(mo,{id:me,placeholder:v,value:N,type:k,disabled:Y,"aria-label":Ve,"aria-describedby":We,"aria-invalid":A?"true":void 0}),c&&ft(Je,{valid:M,invalid:A,loading:K,disabled:Y}),ft(ao,{loading:K,disabled:Y}),s&&ft(po,{loading:K,disabled:Y,readonly:Ce,value:N}),f&&ri(Ss,{children:[l&&ft(wo,{}),ft(ko,{children:f})]})]})};ue.states=Iu;ue.options=Ru;ue.className=Is;ue.defaultOptions=Ka;ue.moduleName=ti;ue.folderName=Ms;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 ra=ue;import{jsx as Au}from"react/jsx-runtime";var Rs=e=>Au(ra,{...e});import{Fragment as OM,jsx as GM}from"react/jsx-runtime";import{Fragment as BM,jsx as KM}from"react/jsx-runtime";import{jsx as $M}from"react/jsx-runtime";import{jsx as ai}from"react/jsx-runtime";var Eu=ue.states,Gu=ue.defaultOptions,Ou=ue.options,Hu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Pu=[],er=e=>{let{modifiers:o,...t}=e,a={};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":a.prefix=o?.[l]?ai(p,{icon:"lock"}):void 0;break;case"suffix":a.suffix=o?.[l]?ai(Gt,{size:t.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=o?.[l];break;default:break}}),ai(Rs,{value:"Value",style:{width:300},...t,...a})};er.options=Ou;er.states=Eu;er.variants=Pu;er.defaultOptions=Gu;er.modifiers=Hu;er.className=ue.className;import{jsx as Tt,jsxs as li}from"react/jsx-runtime";var As="k-actionsheet-titlebar",_u={},qe=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 li("div",{...b,className:r(e.className,As),children:[li("div",{className:"k-actionsheet-titlebar-group",children:[a&&Tt("div",{className:"k-actionsheet-actions",children:a}),!v&&li("div",{className:"k-actionsheet-title",id:N,children:[o&&Tt("div",{className:"k-text-center",children:o}),t&&Tt("div",{className:"k-actionsheet-subtitle k-text-center",children:t})]}),v&&Tt("div",{className:"k-actionsheet-title",id:N,children:v}),l&&Tt("div",{className:"k-actionsheet-actions",children:l})]}),(c||s)&&Tt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?Tt(ue,{value:u,placeholder:f,size:k?"large":"medium","aria-label":o||f||"Input"}):Tt(uo,{placeholder:"Filter",size:k?"large":"medium","aria-label":"Filter options"})})]})};qe.className=As;qe.defaultOptions=_u;import{jsx as ii,jsxs as zu}from"react/jsx-runtime";var ni="k-actionsheet-view",Du=[],Ku={},Bu={},or=e=>{let{adaptive:o,animated:t,children:a,header:l,footer:s,titleId:c,...u}=e,f=l?.type===qe&&ii(qe,{adaptive:o,titleId:c,...l?.props}),k=s?.type===bt&&ii(bt,{...s?.props});return zu("div",{...u,className:r(e.className,ni,{[`${ni}-animated`]:t}),children:[f,ii("div",{className:"k-actionsheet-content",children:a}),k]})};or.states=Du;or.options=Ku;or.className=ni;or.defaultOptions=Bu;var aa="action-sheet",Ba=aa;var si="overlay",Es=si;import{jsx as Vu}from"react/jsx-runtime";var Gs="k-overlay",Uu=[],Fu={},$u={},gt=e=>{let{...o}=e;return Vu("div",{...o,className:r(e.className,Gs),children:e.children})};gt.states=Uu;gt.options=Fu;gt.className=Gs;gt.defaultOptions=$u;gt.moduleName=si;gt.folderName=Es;import{jsx as za,jsxs as Ju}from"react/jsx-runtime";var Os="k-actionsheet",Wu=[],Xu={},la={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ye=e=>{let{side:o=la.side,fullscreen:t=la.fullscreen,adaptive:a=la.adaptive,overlay:l=la.overlay,template:s,children:c,header:u,footer:f,id:k,...N}=e,v=k&&!s&&u?`${k}-title`:void 0;return Ju("div",{className:"k-actionsheet-container",children:[l&&za(gt,{}),za($o,{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",{...N,id:k,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":v,className:r(e.className,Os,{[`k-actionsheet-${o}`]:t===!1,"k-actionsheet-fullscreen":t===!0,"k-adaptive-actionsheet":a}),children:s||za(or,{header:u,footer:f,adaptive:a,titleId:v,...e,children:c})})})]})};ye.states=Wu;ye.options=Xu;ye.className=Os;ye.defaultOptions=la;ye.moduleName=aa;ye.folderName=Ba;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 Zu}from"react/jsx-runtime";var Hs="k-actionsheet-container",qu=[],Yu={},Qu={},tr=e=>{let{children:o,...t}=e;return Zu("div",{...t,className:Hs,children:o})};tr.states=qu;tr.options=Yu;tr.className=Hs;tr.defaultOptions=Qu;tr.moduleName=aa;tr.folderName=Ba;import{jsx as ju}from"react/jsx-runtime";var di=e=>{let{...o}=e;return ju("div",{...o,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as ob,jsx as ia,jsxs as ci}from"react/jsx-runtime";var pi="k-actionsheet-item",eb=[i.hover,i.focus,i.selected,i.disabled],ht=e=>{let{iconName:o,text:t,description:a,hover:l,focus:s,selected:c,disabled:u,...f}=e;return ci("span",{...f,className:r(e.className,pi,I(pi,{hover:l,focus:s,selected:c,disabled:u})),children:[!e.children&&ia(ob,{children:ci("span",{className:"k-actionsheet-action",children:[o&&ia("span",{className:"k-icon-wrap",children:ia(p,{className:"k-actionsheet-item-icon",icon:o})}),ci("span",{className:"k-actionsheet-item-text",children:[t&&ia("span",{className:"k-actionsheet-item-title",children:t}),a&&ia("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};ht.states=eb;ht.className=pi;import{jsx as FS,jsxs as $S}from"react/jsx-runtime";import{jsx as JS}from"react/jsx-runtime";import{jsx as ZS}from"react/jsx-runtime";import{jsx as tI}from"react/jsx-runtime";import{jsx as Oe,jsxs as mi}from"react/jsx-runtime";var tb=ye.options,rb=ye.states,_s={...ye.defaultOptions,variant:"normal"},ab=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],lb=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],rr=e=>{let{variant:o,modifiers:t,...a}={..._s,...e},l={},s=mi(di,{children:[Oe(ht,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),Oe(ht,{text:"Add to Favorites",iconName:"heart"}),Oe(ht,{text:"Upload New",iconName:"upload",disabled:!0}),Oe("hr",{className:"k-hr"}),Oe(ht,{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"?Oe(ye,{...a,adaptive:!0,fullscreen:l.fullScreen,header:Oe(qe,{actionsStart:l.actionsStart?Oe(m,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?Oe(m,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:l.subtitle}),footer:l.footer?mi(bt,{alignment:"stretched",children:[Oe(m,{text:"Cancel",size:"large",themeColor:"base"}),Oe(m,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):Oe(ye,{...a,fullscreen:l.fullScreen,header:Oe(qe,{actionsStart:l.actionsStart?Oe(m,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?Oe(m,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:l.subtitle}),footer:l.footer?mi(bt,{alignment:"stretched",children:[Oe(m,{text:"Apply",themeColor:"primary"}),Oe(m,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};rr.options=tb;rr.states=rb;rr.variants=ab;rr.defaultOptions=_s;rr.modifiers=lb;rr.className=ye.className;import bi from"react";import{jsx as Ds}from"react/jsx-runtime";var ib="k-list-group-sticky-header",ui=e=>Ds("div",{className:r(ib,e.className),children:Ds("div",{className:"k-list-header-text",children:e.children})});import{jsx as sb}from"react/jsx-runtime";var nb="k-no-data",Ua=e=>{let{live:o,...t}=e;return sb("span",{...t,className:r(nb,e.className),"aria-live":o?"polite":void 0,children:e.children})};var Ht="list",ar=Ht;import{jsx as Ks,jsxs as Bs}from"react/jsx-runtime";var fi="k-list",db=[],cb={size:[d.undefined,d.small,d.medium,d.large]},pb={},le=e=>{let{size:o,virtualization:t,children:a,header:l,selectAll:s,optionLabel:c,customValue:u,noData:f,screenReaders:k,...N}=e,b=bi.Children.toArray(a)[0],C=b?.props?.children?bi.Children.count(b.props.children):bi.Children.count(a);return Bs("div",{...N,className:r(e.className,fi,S(fi,{size:o}),{"k-virtual-list":t}),children:[c,s,u,l&&Ks(ui,{children:l}),a||(f!==void 0?f:Ks(Ua,{live:!0,children:"No data found."})),k&&a&&Bs(Ua,{className:"k-sr-only",live:!0,children:[C," items found."]})]})};le.states=db;le.options=cb;le.className=fi;le.defaultOptions=pb;le.moduleName=Ht;le.folderName=ar;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 fb}from"react/jsx-runtime";var zs="k-list-container",mb=[],ub={},bb={},lr=e=>{let{...o}=e;return fb("div",{...o,classNa