UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 210 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,_)=>(_.startsWith("k-")?O[_]=A[_]:O[`k-${_}`]=A[_],O),{}))};function Cn(e,o){if(!o)return{};let t=Array.isArray(o)?o:[o];return Object.fromEntries(t.map(a=>[`k-${a}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},h={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},x={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},_o={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},L={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var xl={};function G(e){return xl[e]=(xl[e]||0)+1,`k-${e}-${xl[e]}`}var ee="grid",re=ee;import{jsx as tp,jsxs as rp}from"react/jsx-runtime";var va="k-grid",jc=[],ep={size:[d.undefined,d.small,d.medium,d.large]},op=[],Ln={pagerPosition:"bottom"},F=e=>{let{size:o,pagerPosition:t=Ln.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 rp("div",{...C,className:r(e.className,va,{[`${va}-resizable`]:f},S(va,{size:o})),children:[a,t==="top"&&l,s,e.children&&u?tp("div",{className:"k-grid-aria-root",role:b,id:v,"aria-colcount":k,"aria-rowcount":N,children:e.children}):e.children,c,t==="bottom"&&l]})};F.states=jc;F.options=ep;F.variants=op;F.className=va;F.defaultOptions=Ln;F.moduleName=ee;F.folderName=re;F.ariaSpec={selector:".k-grid",rules:[{selector:".k-grid-toolbar",attribute:"role=toolbar",usage:"The toolbar is a collection of command buttons and inputs."},{selector:".k-grid-toolbar",attribute:"aria-label",usage:"Clarifies the purpose of the toolbar."},{selector:".k-grid-toolbar",attribute:"aria-controls=.k-grid-aria-root id (when present)",usage:"Pointing to the id of the element with role=grid."},{selector:".k-grouping-header",attribute:"role=toolbar",usage:"The Grouping pane is a ToolBar (collection of buttons)."},{selector:".k-grouping-header",attribute:"aria-label",usage:"Clarifies the purpose of the grouping pane."},{selector:".k-grouping-header",attribute:"aria-controls=.k-grid-aria-root id (when present)",usage:"Pointing to the id of the element with role=grid."},{selector:".k-grouping-header .k-chip-list",attribute:"role=none",usage:"The ChipList default listbox role is removed to keep the toolbar --> button roles hierarchy."},{selector:".k-grouping-header .k-chip",attribute:"role=button",usage:"If the element used is not <button>, then the role must be specified."},{selector:".k-grid:not(.k-treelist) .k-grid-aria-root",attribute:"role=grid",usage:"The role specifies the element is a Data Grid."},{selector:".k-grid-aria-root",attribute:"aria-colcount (when present)",usage:"The total number of columns in the Grid. Needed for Virtual columns and Hidden columns scenarios."},{selector:".k-grid-aria-root",attribute:"aria-rowcount (when present)",usage:"The total number of rows in the table. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:".k-grid-header-wrap>table",attribute:"role=none",usage:"Negates the default semantic role of the <table> element."},{selector:".k-grid-header-wrap>table>thead",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)",attribute:"aria-rowindex (when present)",usage:"Row number. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th:not(.k-hierarchy-cell):not(.k-group-cell):not(.k-drag-cell)",attribute:"role=columnheader",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th",attribute:"aria-sort (when present)",usage:"Present if sorting is enabled for that column."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th",attribute:"aria-colindex (when present)",usage:"Col number. Needed for Virtual columns and Hidden columns scenarios."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th",attribute:"aria-haspopup=dialog (when present)",usage:"Present if the column has a ColumnMenu or FilterMenu."},{selector:".k-grid-header-wrap>table>thead>tr.k-filter-row>td",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr.k-filter-row>td",attribute:"aria-label",usage:"Has a label indicating that the cell is part of a filter row."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table, .k-grid-pinned-container .k-grid-table",attribute:"role=none",usage:"Negates the default semantic role of the <table> element."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody, .k-grid-pinned-container tbody",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr, .k-grid-pinned-container tbody tr",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr, .k-grid-pinned-container tbody tr",attribute:"aria-rowindex (when present)",usage:"Row number. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr>td, .k-grid-pinned-container tbody td",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr>td, .k-grid-pinned-container tbody td",attribute:"aria-colindex (when present)",usage:"Col number. Needed for Virtual columns and Hidden columns scenarios."},{selector:"tr.k-selected",attribute:"aria-selected=true",usage:"Set on the currently selected row(s) in row selection mode. All cells within the selected row also carry aria-selected=true (without k-selected class). Applies to both regular and pinned rows."},{selector:"td.k-selected",attribute:"aria-selected=true",usage:"Set on the currently selected cell(s) in cell selection mode. The k-selected class on cells is only applied in cell selection mode, but aria-selected=true is present on cells regardless of selection mode."},{selector:".k-master-row .k-hierarchy-cell, .k-grouping-row>td",attribute:"aria-expanded",usage:"For cells holding grouping criteria values and for Master row cells in Detail template scenario."},{selector:".k-group-cell",attribute:"role=presentation",usage:"Group offset cells (header and content) are non-interactive placeholders with no semantic role."},{selector:".k-drag-cell",attribute:"aria-label",usage:"Must be present in a Drag Row scenario on the cell containing the drag handle."},{selector:".k-grid-header-locked table tr",attribute:"aria-owns",usage:"Locked header rows own cells from the corresponding non-locked header table rows."},{selector:".k-grid-content-locked table tr:not(.k-grouping-row)",attribute:"aria-owns",usage:"Locked content rows own cells from the corresponding non-locked content table rows. Group header rows are excluded because the non-locked group header rows are presentational."},{selector:".k-grid-lockedcolumns .k-grid-header .k-grid-header-wrap table tr",attribute:"role=none",usage:"Non-locked header rows have their semantic role removed when locked columns exist."},{selector:".k-grid-lockedcolumns .k-grid-content table tr",attribute:"role=none",usage:"Non-locked content rows have their semantic role removed when locked columns exist."},{selector:".k-grid-lockedcolumns .k-grid-header .k-grid-header-wrap th",attribute:"role=columnheader",usage:"Non-locked header cells retain columnheader role so they are announced correctly when owned via aria-owns."},{selector:".k-grid-lockedcolumns .k-grid-content td:not(.k-grouping-row td)",attribute:"role=gridcell",usage:"Non-locked data cells retain gridcell role so they are announced correctly when owned via aria-owns. Cells inside group header rows are excluded as those rows are presentational."},{selector:".k-grid-filter-popup",attribute:"role=dialog",usage:"The filter menu popup has dialog role."},{selector:".k-grid-filter-popup",attribute:"id",usage:"Unique id linked to the header cell aria-controls attribute."},{selector:".k-grid-filter-popup",attribute:"aria-label",usage:'Descriptive label for the filter menu, e.g. "Column Title Filter Menu".'},{selector:".k-grid-columnmenu-popup",attribute:"role=dialog",usage:"The column menu popup has dialog role."},{selector:".k-grid-columnmenu-popup",attribute:"id",usage:"Unique id linked to the header cell aria-controls attribute."},{selector:".k-grid-columnmenu-popup",attribute:"aria-label",usage:'Descriptive label for the column menu, e.g. "Column Title Column Menu".'},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"role=button",usage:"Column menu items have button role."},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"tabindex=0",usage:"Column menu items are focusable."},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"aria-expanded",usage:"Expandable column menu items announce their expanded state."},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"aria-controls",usage:"Expandable items point to the id of the content they control."},{selector:".k-grid-columnmenu-popup .k-column-list",attribute:"role=listbox",usage:"The column list is a listbox."},{selector:".k-grid-columnmenu-popup .k-column-list",attribute:"aria-multiselectable=true",usage:"The column list supports multiple selections."},{selector:".k-grid-columnmenu-popup .k-column-list",attribute:"aria-label",usage:"Accessible name for the column list."},{selector:".k-grid-columnmenu-popup .k-column-list-item",attribute:"role=option",usage:"Column list items are options."},{selector:".k-grid-columnmenu-popup .k-column-list-item",attribute:"aria-checked",usage:"Column list items announce their checked state."},{selector:"tfoot",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:"tfoot tr",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:"tfoot tr",attribute:"aria-rowindex (when present)",usage:"Row number. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:"tfoot tr td",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed."},{selector:"tfoot tr td",attribute:"aria-colindex (when present)",usage:"Col number. Needed for Virtual columns and Hidden columns scenarios."},{selector:".k-grid-selection-aggregates",attribute:"aria-live=polite",usage:"Ensures that changes in the calculated selection aggregates are announced by assistive technologies."},{selector:".k-grid-stack-cell",attribute:"tabindex=0",usage:"Stacked cell elements receive tabindex 0 when focus is within their parent .k-grid-stack-row element."},{selector:".k-grid-sticky-container",attribute:"role=none",usage:"Sticky group container has no semantic role."},{selector:".k-grid-sticky-container .k-grid-table",attribute:"role=none",usage:"Negates the default semantic role of the sticky group <table> element."},{selector:".k-grid-sticky-container tbody",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-sticky-container tr",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-sticky-container tr",attribute:"aria-rowindex",usage:"Matches the aria-rowindex of the real group header/footer row it mirrors."},{selector:".k-grid-sticky-container td:not(.k-group-cell)",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed. Group offset cells are excluded as they retain role=presentation."},{selector:".k-grid-sticky-container .k-grouping-row>td",attribute:"aria-expanded",usage:"Mirrors the expanded/collapsed state of the real group header row."},{selector:".k-grid-sticky-container td:not(.k-group-cell)",attribute:"tabindex",usage:"Receives tabindex 0 when focused, -1 otherwise, for keyboard navigation. Group offset cells are excluded as they are presentational."},{selector:".k-grid-sticky-container td",attribute:"aria-colindex (when present)",usage:"Col number. Typically 1 for the group header cell spanning all columns."},{selector:".k-grid-pinned-container",attribute:"role=none",usage:"Container for pinned rows has no semantic role."},{selector:".k-grid-pinned-container .k-grid-pinned-wrap",attribute:"role=none",usage:"Inner wrapper for the pinned rows table has no semantic role."},{selector:".k-grid-pinned-container tbody",attribute:"aria-label",usage:'Describes the purpose of the pinned rows group, e.g. "Top pinned rows" or "Bottom pinned rows".'},{selector:".k-grid-pinned-container td",attribute:"aria-haspopup=menu (when present)",usage:"Pinned row cells announce the context menu for row pinning operations."},{selector:".k-grid-pinned-container td",attribute:"aria-controls",usage:"Points to the ID of the context menu popup for row pinning."},{selector:".k-grid-pinned-container td",attribute:"aria-expanded",usage:"Indicates whether the context menu popup is open."},{selector:".k-grid-content td",attribute:"aria-haspopup=menu (when present)",usage:"Regular data cells announce context menu when row pinning uses contextual mode."},{selector:".k-grid-content td",attribute:"aria-controls",usage:"Points to the ID of the context menu popup for row pinning."},{selector:".k-grid-content td",attribute:"aria-expanded",usage:"Indicates whether the context menu popup is open."},{selector:'.k-pin-cell [class*="k-icon"]',attribute:"aria-hidden=true",usage:"Pin/unpin icon inside the dedicated column is decorative and must be hidden from assistive technologies."}]};import{jsx as ap}from"react/jsx-runtime";var yn="k-grid-header",D=e=>{let{draggable:o,...t}=e;return ap("div",{...t,className:r(e.className,yn,{"k-grid-draggable-header":o}),children:e.children})};D.className=yn;D.moduleName=ee;D.folderName=re;import{jsx as Mn,jsxs as lp}from"react/jsx-runtime";var Sn="k-grouping-header",De=e=>{let{dropHint:o,dropClue:t,...a}=e;return lp("div",{...a,className:r(e.className,Sn),children:[t&&Mn("div",{className:"k-grouping-dropclue"}),e.children,Mn("div",{className:"k-grouping-drop-container",children:o})]})};De.className=Sn;De.moduleName=ee;De.folderName=re;import{jsx as ip}from"react/jsx-runtime";var In="k-grid-pinned-container",$r=e=>{let{position:o,...t}=e;return ip("div",{...t,className:r(e.className,In,{"k-pos-bottom":o==="bottom"}),children:e.children})};$r.className=In;$r.moduleName=ee;$r.folderName=re;import{jsx as np}from"react/jsx-runtime";var Rn="k-grid-sticky-container",Vr=e=>{let{position:o,...t}=e;return np("div",{...t,className:r(e.className,Rn,{"k-pos-bottom":o==="bottom"}),children:e.children})};Vr.className=Rn;Vr.moduleName=ee;Vr.folderName=re;var Ee="table",Ke=Ee;import{jsx as pp}from"react/jsx-runtime";var An="k-data-table",sp=[],dp={size:[d.undefined,d.small,d.medium,d.large]},cp={},Vo=e=>{let{size:o,...t}=e;return pp("div",{...t,className:r(e.className,An,S("k-table",{size:o})),children:e.children})};Vo.states=sp;Vo.options=dp;Vo.className=An;Vo.defaultOptions=cp;Vo.moduleName=Ee;Vo.folderName=Ke;import{jsx as fp}from"react/jsx-runtime";var Nl="k-table-header-wrap",mp=[i.hover,i.focus,i.disabled],up={},bp={},lt=e=>{let{children:o,hover:t,focus:a,disabled:l,...s}=e;return fp("div",{...s,className:r(e.className,Nl,I(Nl,{hover:t,focus:a,disabled:l})),children:o})};lt.states=mp;lt.options=up;lt.className=Nl;lt.defaultOptions=bp;lt.moduleName=Ee;lt.folderName=Ke;import{jsx as xp}from"react/jsx-runtime";var kl="k-table",Tp=[],gp={size:[d.undefined,d.small,d.medium,d.large]},hp={},Be=e=>{let{size:o,...t}=e;return xp("table",{...t,className:r(e.className,kl,S(kl,{size:o})),children:e.children})};Be.states=Tp;Be.options=gp;Be.className=kl;Be.defaultOptions=hp;Be.moduleName=Ee;Be.folderName=Ke;import{jsx as wl}from"react/jsx-runtime";var vl="k-table-header",Np=[i.hover,i.focus,i.disabled],kp={},wp={},Wo=e=>{let{children:o,hover:t,focus:a,disabled:l,...s}=e;return wl("div",{...s,className:r(e.className,vl,I(vl,{hover:t,focus:a,disabled:l})),children:wl(lt,{children:wl(Be,{children:o})})})};Wo.states=Np;Wo.options=kp;Wo.className=vl;Wo.defaultOptions=wp;Wo.moduleName=Ee;Wo.folderName=Ke;import{jsx as yp}from"react/jsx-runtime";var En="k-table-scroller",vp=[],Cp={},Lp={},Xt=e=>{let{children:o,...t}=e;return yp("div",{...t,className:r(e.className,En),children:o})};Xt.states=vp;Xt.options=Cp;Xt.className=En;Xt.defaultOptions=Lp;Xt.moduleName=Ee;Xt.folderName=Ke;import{jsx as Mk}from"react/jsx-runtime";import{jsx as Rp}from"react/jsx-runtime";var Gn="k-table-footer",Mp=[],Sp={},Ip={},it=e=>{let{children:o,...t}=e;return Rp("div",{...t,className:r(e.className,Gn),children:o})};it.states=Mp;it.options=Sp;it.className=Gn;it.defaultOptions=Ip;it.moduleName=Ee;it.folderName=Ke;import{jsx as Op}from"react/jsx-runtime";var Cl="k-table-list",Ap=[],Ep={size:[d.undefined,d.small,d.medium,d.large]},Gp={},nt=e=>{let{size:o,virtualization:t,...a}=e;return Op("ul",{...a,className:r(e.className,"k-table",Cl,S(Cl,{size:o}),{"k-virtual-table":t}),children:e.children})};nt.states=Ap;nt.options=Ep;nt.className=Cl;nt.defaultOptions=Gp;nt.moduleName=Ee;nt.folderName=Ke;import{jsx as Pp}from"react/jsx-runtime";var Hp="k-table-thead",P=e=>Pp("thead",{className:r(e.className,Hp),children:e.children});import{jsx as Dp}from"react/jsx-runtime";var _p="k-table-tbody",U=e=>Dp("tbody",{className:r(e.className,_p),children:e.children});import{jsx as Vk}from"react/jsx-runtime";import{jsx as Bp}from"react/jsx-runtime";var Ll="k-table-row",Kp=[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 Bp("tr",{...u,className:r(e.className,Ll,{"k-table-alt-row":c},I(Ll,{hover:o,focus:t,disabled:s,selected:a,highlighted:l})),children:e.children})};g.states=Kp;g.className=Ll;import{jsx as Up}from"react/jsx-runtime";var yl="k-table-row",zp=[i.hover,i.focus,i.selected,i.disabled],Ca=e=>{let{hover:o,focus:t,selected:a,disabled:l,alt:s,...c}=e;return Up("li",{...c,className:r(e.className,yl,{"k-table-alt-row":s},I(yl,{hover:o,focus:t,disabled:l,selected:a})),children:e.children})};Ca.states=zp;Ca.className=yl;import{jsx as Fp}from"react/jsx-runtime";var On="k-table-th",Xo=e=>{let{text:o,colspan:t,rowspan:a,...l}=e,s=o||e.children;return Fp("th",{colSpan:t,rowSpan:a,...l,className:r(e.className,On),children:s})};Xo.className=On;Xo.moduleName=Ee;Xo.folderName=Ke;import{jsx as lw}from"react/jsx-runtime";import{jsx as Vp}from"react/jsx-runtime";var Ml="k-table-td",$p=[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 Vp("td",{colSpan:s,rowSpan:c,...u,className:r(e.className,Ml,I(Ml,{focus:o,selected:t,highlighted:a})),children:f})};n.states=$p;n.className=Ml;import{jsx as mw}from"react/jsx-runtime";import{jsx as Tw}from"react/jsx-runtime";import{jsx as Nw}from"react/jsx-runtime";import{jsx as Cw}from"react/jsx-runtime";import{jsx as Sw}from"react/jsx-runtime";import{jsx as Hw,jsxs as Pw}from"react/jsx-runtime";import{jsx as Bw,jsxs as zw}from"react/jsx-runtime";import{jsx as Vw,jsxs as Ww}from"react/jsx-runtime";import{Fragment as Zw,jsx as Yw,jsxs as Qw}from"react/jsx-runtime";import{jsx as Jp}from"react/jsx-runtime";var _n="k-grid-header-table",K=e=>Jp(Be,{...e,className:r(e.className,_n),children:e.children});K.className=_n;K.moduleName=ee;K.folderName=re;import{Fragment as Zp,jsx as Dn}from"react/jsx-runtime";var Sl="k-font-icon",qp=[],Yp={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]},Qp={},Wr=e=>{let{size:o,themeColor:t,icon:a,rotate:l,flip:s,...c}=e;return a?Dn("span",{...c,className:r(e.className,Sl,S(Sl,{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"}):Dn(Zp,{})};Wr.states=qp;Wr.options=Yp;Wr.className=Sl;Wr.defaultOptions=Qp;var Kn=Wr;import{Fragment as om,jsx as La}from"react/jsx-runtime";var Il="k-svg-icon",jp=[],em={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[_o.outline,_o.solid,_o.duotone]},Rl={viewBox:"0 0 24 24",variant:_o.outline},Xr=e=>{let{size:o,themeColor:t,rotate:a,flip:l,viewBox:s=Rl.viewBox,variant:c=Rl.variant,icon:u,...f}=e;if(!u)return La(om,{});if(u==="none")return La("span",{...f,className:r(e.className,Il,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 La("span",{...f,className:r(e.className,Il,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:La("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})})};Xr.states=jp;Xr.options=em;Xr.className=Il;Xr.defaultOptions=Rl;var Al=Xr;import*as El from"@progress/kendo-svg-icons";var Bn="icon",zn="icons";import{useContext as rm}from"react";import{createContext as tm}from"react";var Un=tm({iconsType:"svg"});import{Fragment as Fn,jsx as Jr}from"react/jsx-runtime";var ya="k-icon",am=e=>e.replace(/([-_][a-z0-9])/gi,o=>o.toUpperCase().replace("-","").replace("_","")),lm=[],im={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[_o.outline,_o.solid,_o.duotone]},Ma={viewBox:"0 0 24 24",type:"svg",variant:_o.outline},p=e=>{let{iconsType:o}=rm(Un),{size:t,themeColor:a,icon:l,type:s=o||Ma.type,rotate:c,flip:u,viewBox:f=Ma.viewBox,variant:k=Ma.variant,...N}=e;if(!l)return Jr(Fn,{});if((o||s)==="svg"){if(l==="none")return Jr(Al,{...N,className:r(e.className,ya),icon:l,size:t,variant:k});let b=El[l]?l:am(`${l}-icon`);return El[b]?Jr(Al,{...N,className:r(e.className,ya),icon:El[b],size:t,themeColor:a,rotate:c,flip:u,viewBox:f,variant:k}):Jr(Fn,{})}return Jr(Kn,{...N,className:r(e.className,ya),icon:l,size:t,themeColor:a,rotate:c,flip:u})};p.states=lm;p.options=im;p.defaultOptions=Ma;p.className=ya;p.moduleName=Bn;p.folderName=zn;p.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};import{jsx as st,jsxs as Gl}from"react/jsx-runtime";var Ol="k-header",nm=[i.hover,i.focus,i.active],$n={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=$n.sortIcon,sortOrder:v,accessibleLabel:b,...C}=e;return Gl(Xo,{...C,className:r(e.className,Ol,{"k-filterable":o||a,"k-sorted":t,"k-grid-header-sticky":l,"k-touch-action-none":s},I(Ol,{hover:u,focus:f,active:k})),children:[c&&Gl("span",{className:"k-cell-inner",children:[Gl("span",{className:"k-link",children:[st("span",{className:"k-column-title",children:c}),t&&st("span",{className:"k-sort-icon",children:st(p,{icon:N})}),v&&st("span",{className:"k-sort-order",children:v})]}),o&&st("a",{className:r("k-grid-header-menu",{"k-active":k,"k-grid-filter-menu":o==="filter","k-grid-column-menu":o==="column"}),children:st(p,{icon:o==="filter"?"filter":"more-vertical"})})]}),!c&&b&&st("span",{className:"k-sr-only",children:b}),e.children,s&&st("span",{className:"k-column-resizer k-touch-action-none"})]})};w.states=nm;w.className=Ol;w.defaultOptions=$n;w.moduleName=ee;w.folderName=re;import{jsx as sm}from"react/jsx-runtime";var Vn="k-grid-container",$=e=>sm("div",{...e,className:r(e.className,Vn),children:e.children});$.className=Vn;$.moduleName=ee;$.folderName=re;import{jsx as dm}from"react/jsx-runtime";var Wn="k-grid-content",B=e=>dm("div",{...e,className:r(e.className,Wn),children:e.children});B.className=Wn;B.moduleName=ee;B.folderName=re;import{jsx as cm}from"react/jsx-runtime";var Xn="k-grid-table",z=e=>cm(Be,{...e,className:r(e.className,Xn),children:e.children});z.className=Xn;z.moduleName=ee;z.folderName=re;import{jsx as pm}from"react/jsx-runtime";var Jn="k-grid-footer",Sa=e=>pm("div",{...e,className:r(e.className,Jn),children:e.children});Sa.className=Jn;Sa.moduleName=ee;Sa.folderName=re;import{jsx as mm}from"react/jsx-runtime";var qn="k-grid-footer-table",Ia=e=>mm(Be,{...e,className:r(e.className,qn),children:e.children});Ia.className=qn;Ia.moduleName=ee;Ia.folderName=re;var Hl="button",Yn=Hl;import{Fragment as Qn,jsx as Jt,jsxs as Zn}from"react/jsx-runtime";var qr="k-button",um=["icon-button"],bm=[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:[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]},Pl={showArrow:!1,arrowIconName:"chevron-down"},m=e=>{let{as:o="button",size:t,rounded:a,fillMode:l,themeColor:s,showArrow:c=Pl.showArrow,arrowIconName:u=Pl.arrowIconName,variant:f,hover:k,focus:N,active:v,selected:b,disabled:C,togglable:M,ariaDisabled:A,icon:O,iconSize:_,text:Y,iconClassName:ve,className:me,...$e}=e,Ve=O!=null,We=e.children!==void 0;return Zn(o,{className:r(me,qr,Cn(qr,f),S(qr,{size:t,rounded:a,fillMode:l,themeColor:s}),I(qr,{hover:k,focus:N,active:v,disabled:C||A,selected:b}),{"k-icon-button":!Y&&!We&&Ve}),"aria-pressed":M?b?"true":"false":void 0,...$e,"aria-disabled":A?"true":void 0,disabled:C||void 0,children:[typeof O=="string"&&O&&Jt(p,{className:r(ve,"k-button-icon"),icon:O,size:_}),O&&typeof O!="string"&&Jt(Qn,{children:O}),Y?Zn(Qn,{children:[Y&&Jt("span",{className:"k-button-text",children:Y}),e.children]}):e.children&&Jt("span",{className:"k-button-text",children:e.children}),c&&Jt("span",{className:"k-menu-button-arrow k-button-arrow",children:Jt(p,{icon:u})})]})};m.states=bm;m.options=fm;m.variants=um;m.className=qr;m.defaultOptions=Pl;m.moduleName=Hl;m.folderName=Yn;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 Tm}from"react/jsx-runtime";var dt=e=>Tm(m,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as gm}from"react/jsx-runtime";var Yr=e=>gm(m,{icon:"folder",children:"Button",...e});import{jsx as hm}from"react/jsx-runtime";var Mt=e=>hm(m,{children:"Button",...e});import{jsx as _l}from"react/jsx-runtime";var xm=m.options,Nm=m.states,km={...m.defaultOptions,variant:"text"},wm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],vm=[],qt=e=>{let{variant:o,...t}=e;switch(o){case"icon-only":return _l(dt,{...t,icon:"star"});case"icon-and-text":return _l(Yr,{...t,icon:"star",children:"Button"});default:return _l(Mt,{...t,children:"Button"})}};qt.options=xm;qt.states=Nm;qt.variants=wm;qt.defaultOptions=km;qt.modifiers=vm;qt.className=m.className;var Qr="input",Ra=Qr;import{jsx as Mm}from"react/jsx-runtime";var Aa="k-input",Cm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Lm={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]},ym={},Me=e=>{let{hover:o,focus:t,disabled:a,invalid:l,valid:s,loading:c,readonly:u,size:f,rounded:k,fillMode:N,...v}=e;return Mm("span",{...v,className:r(e.className,Aa,S(Aa,{size:f,rounded:k,fillMode:N}),I(Aa,{hover:o,focus:t,disabled:a,invalid:l,valid:s,loading:c,readonly:u}))})};Me.states=Cm;Me.options=Lm;Me.className=Aa;Me.defaultOptions=ym;Me.moduleName=Qr;Me.folderName=Ra;import{jsx as Am}from"react/jsx-runtime";var Ea="k-picker",Sm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Im={size:[d.undefined,d.small,d.medium,d.large],rounded:[h.undefined,h.none,h.small,h.medium,h.large,h.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Rm={},Do=e=>{let{hover:o,focus:t,disabled:a,invalid:l,valid:s,loading:c,readonly:u,size:f,rounded:k,fillMode:N,...v}=e;return Am("span",{...v,className:r(e.className,Ea,S(Ea,{size:f,rounded:k,fillMode:N}),I(Ea,{hover:o,focus:t,disabled:a,invalid:l,valid:s,loading:c,readonly:u})),children:e.children})};Do.states=Sm;Do.options=Im;Do.className=Ea;Do.defaultOptions=Rm;Do.moduleName=Qr;Do.folderName=Ra;import{Fragment as Om,jsx as Dl}from"react/jsx-runtime";var jn="k-clear-value",Em=[i.disabled,i.loading,i.readonly],Gm={},co=e=>{let{disabled:o,loading:t,readonly:a,value:l}=e;return o||a||t||!l?Dl(Om,{}):Dl("span",{className:r(e.className,jn),children:Dl(p,{icon:"x"})})};co.states=Em;co.options=Gm;co.className=jn;import{jsx as _m}from"react/jsx-runtime";var Kl="k-input-inner",Hm=[],Pm={},Ga={type:"text",autocomplete:"off",value:"",placeholder:""},po=e=>{let{value:o=Ga.value,type:t=Ga.type,placeholder:a=Ga.placeholder,autocomplete:l=Ga.autocomplete,disabled:s,readOnly:c,...u}=e;return _m("input",{...u,type:t,className:r(e.className,Kl,S(Kl,e)),placeholder:a,autoComplete:l,defaultValue:o,disabled:s||void 0,readOnly:c||void 0})};po.states=Hm;po.options=Pm;po.className=Kl;import{jsx as es,jsxs as Bm}from"react/jsx-runtime";var Bl="k-input-inner",Dm=[],Km={},St=e=>{let{value:o,placeholder:t,showValue:a,valueIcon:l,valueIconName:s,...c}=e;return Bm("span",{...c,className:r(e.className,Bl,S(Bl,e)),children:[l,!l&&s&&es(p,{className:"k-input-value-icon",icon:s}),a&&!o&&t,a&&o&&es("span",{className:"k-input-value-text",children:o})]})};St.states=Dm;St.options=Km;St.className=Bl;import{jsx as Fm}from"react/jsx-runtime";var zl="k-input-inner",zm=[],Um={},os={value:"",placeholder:""},Ul=e=>{let{value:o=os.value,placeholder:t=os.placeholder,rows:a,disabled:l,...s}=e;return Fm("textarea",{...s,className:r(e.className,zl,S(zl,e)),placeholder:t,rows:a,defaultValue:o,disabled:l||void 0})};Ul.states=zm;Ul.options=Um;Ul.className=zl;import{Fragment as Vm,jsx as ts}from"react/jsx-runtime";var rs="k-input-loading-icon",$m=[i.disabled,i.loading],ro=e=>{let{disabled:o,loading:t}=e;return o||!t?ts(Vm,{}):ts("span",{className:r(e.className,rs,"k-icon k-i-loading")})};ro.states=$m;ro.className=rs;import{Fragment as Jm,jsx as as}from"react/jsx-runtime";var ls="k-input-validation-icon",Wm=[i.valid,i.invalid,i.disabled,i.loading],Xm={},Xe=e=>{let{valid:o,invalid:t,disabled:a,loading:l}=e,s=t?"warning-circle":"check-circle";return a||l||!!!(o||t)?as(Jm,{}):as(p,{className:r(ls),icon:s})};Xe.states=Wm;Xe.options=Xm;Xe.className=ls;import{Fragment as Qm,jsx as is}from"react/jsx-runtime";var qm="k-input-prefix",Ym={direction:"horizontal"},xo=e=>{let{direction:o=Ym.direction,...t}=e;return e.children?is("span",{...t,className:r(qm,e.className,{[`k-input-prefix-${o}`]:o}),children:e.children}):is(Qm,{})};import{Fragment as eu,jsx as ns}from"react/jsx-runtime";var Zm="k-input-suffix",jm={direction:"horizontal"},No=e=>{let{direction:o=jm.direction,...t}=e;return e.children?ns("span",{...t,className:r(Zm,e.className,{[`k-input-suffix-${o}`]:o}),children:e.children}):ns(eu,{})};import{jsx as UL}from"react/jsx-runtime";import{jsx as tu}from"react/jsx-runtime";var ou="k-input-suffix-text",Fl=e=>{let{children:o,...t}=e;return tu("span",{...t,className:r(ou,e.className),children:o})};import{jsx as au}from"react/jsx-runtime";var ss="k-input-separator",ru={direction:"vertical"},ko=e=>{let{direction:o=ru.direction,...t}=e;return au("span",{...t,className:r(ss,e.className,{[`${ss}-${o}`]:o})})};import{Fragment as ds,jsx as Ko,jsxs as $l}from"react/jsx-runtime";var lu=Me.states,iu=Me.defaultOptions,nu=Me.options,su=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],du=[],Yt=e=>{let{modifiers:o,valid:t,invalid:a,loading:l,disabled:s,readonly:c,...u}=e,f=o?.prefix,k=o?.suffix,N=o?.["clear-button"],v=o?.["validation-icon"],b=o?.separators;return $l(Me,{...u,valid:t,invalid:a,loading:l,disabled:s,readonly:c,style:{width:300},children:[f&&$l(ds,{children:[Ko(xo,{children:Ko(p,{icon:"lock"})}),b&&Ko(ko,{})]}),Ko(po,{placeholder:"Placeholder",value:"Value"}),v&&Ko(Xe,{valid:t,invalid:a,loading:l,disabled:s}),Ko(ro,{loading:l,disabled:s}),N&&Ko(co,{loading:l,disabled:s,readonly:c,value:"Value"}),k&&$l(ds,{children:[b&&Ko(ko,{}),Ko(No,{children:Ko(Mt,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};Yt.options=nu;Yt.states=lu;Yt.variants=du;Yt.defaultOptions=iu;Yt.modifiers=su;Yt.className=Me.className;var Vl="popup",cs=Vl;import{jsx as ps}from"react/jsx-runtime";var ms="k-animation-container",cu=[],pu={},Wl={positionMode:"absolute",shown:!0},Bo=e=>{let{positionMode:o=Wl.positionMode,shown:t=Wl.shown,animationStyle:a,offset:l,...s}=e;return ps("div",{...s,style:{...l,...e.style},className:r(e.className,ms,{"k-animation-container-shown":t,"k-animation-container-fixed":o==="fixed"}),children:ps("div",{className:"k-child-animation-container",style:a,children:e.children})})};Bo.states=cu;Bo.options=pu;Bo.className=ms;Bo.defaultOptions=Wl;Bo.moduleName=Vl;Bo.folderName=cs;var Xl="popup",us=Xl;import{jsx as bs}from"react/jsx-runtime";var fs="k-popup",mu=[],uu={},Ts={positionMode:"absolute"},le=e=>{let{offset:o,positionMode:t=Ts.positionMode,animationStyle:a,containerClassName:l,containerRole:s,containerAriaLabel:c,...u}=e;return bs(Bo,{positionMode:t,offset:o,animationStyle:a,className:l,role:s,"aria-label":c,children:bs("div",{...u,className:r(e.className,fs),children:e.children})})};le.states=mu;le.options=uu;le.className=fs;le.defaultOptions=Ts;le.moduleName=Xl;le.folderName=us;le.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var Jl="action-buttons",gs=Jl;import{jsx as Tu}from"react/jsx-runtime";var Oa="k-actions",bu=[],fu={},ql={alignment:"start",orientation:"horizontal"},wo=e=>{let{alignment:o=ql.alignment,orientation:t=ql.orientation,...a}=e;return Tu("div",{...a,className:r(Oa,{[`${Oa}-${o}`]:o,[`${Oa}-${t}`]:t},e.className),children:e.children})};wo.states=bu;wo.options=fu;wo.className=Oa;wo.defaultOptions=ql;wo.moduleName=Jl;wo.folderName=gs;import{jsx as hu}from"react/jsx-runtime";var gu="k-actionsheet-footer",hs={alignment:"stretched",orientation:"horizontal"},ct=e=>{let{alignment:o=hs.alignment,orientation:t=hs.orientation,template:a,as:l=a?"div":wo,...s}=e;return hu(l,{...s,...!a&&{alignment:o,orientation:t},className:r(e.className,gu),children:e.children})};var Yl="searchbox",xs=Yl;import{jsx as Zr,jsxs as ku}from"react/jsx-runtime";var Ns="k-searchbox",xu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Nu={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]},Ql={showIcon:!0,icon:"search"},mo=e=>{let{value:o,placeholder:t,size:a,rounded:l,fillMode:s,hover:c,focus:u,valid:f,invalid:k,required:N,loading:v,disabled:b,showIcon:C=Ql.showIcon,icon:M=Ql.icon,"aria-label":A,...O}=e;return ku(Me,{...O,size:a,rounded:l,fillMode:s,hover:c,focus:u,valid:f,invalid:k,required:N,loading:v,disabled:b,className:r(e.className,Ns),children:[C&&Zr(p,{className:"k-input-icon",icon:M}),Zr(po,{placeholder:t,value:o,"aria-label":A}),Zr(ro,{...e}),Zr(Xe,{...e}),Zr(co,{...e})]})};mo.states=xu;mo.options=Nu;mo.className=Ns;mo.defaultOptions=Ql;mo.moduleName=Yl;mo.folderName=xs;import{jsx as nM}from"react/jsx-runtime";var Zl="textbox",ks=Zl;import{Fragment as ws,jsx as pt,jsxs as jl}from"react/jsx-runtime";var vs="k-textbox",wu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],vu={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]},Ha={showClearButton:!0,showValidationIcon:!0,separators:!0},ue=e=>{let{size:o,rounded:t,fillMode:a,separators:l=Ha.separators,showClearButton:s=Ha.showClearButton,showValidationIcon:c=Ha.showValidationIcon,prefix:u,suffix:f,type:k,value:N,placeholder:v,hover:b,focus:C,valid:M,invalid:A,required:O,loading:_,disabled:Y,readonly:ve,id:me,"aria-label":$e,"aria-describedby":Ve,...We}=e;return jl(Me,{...We,size:o,rounded:t,fillMode:a,hover:b,focus:C,valid:M,invalid:A,required:O,loading:_,disabled:Y,readonly:ve,className:r(e.className,vs),children:[u&&jl(ws,{children:[pt(xo,{children:u}),l&&pt(ko,{})]}),pt(po,{id:me,placeholder:v,value:N,type:k,disabled:Y,"aria-label":$e,"aria-describedby":Ve,"aria-invalid":A?"true":void 0}),c&&pt(Xe,{valid:M,invalid:A,loading:_,disabled:Y}),pt(ro,{loading:_,disabled:Y}),s&&pt(co,{loading:_,disabled:Y,readonly:ve,value:N}),f&&jl(ws,{children:[l&&pt(ko,{}),pt(No,{children:f})]})]})};ue.states=wu;ue.options=vu;ue.className=vs;ue.defaultOptions=Ha;ue.moduleName=Zl;ue.folderName=ks;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 jr=ue;import{jsx as Cu}from"react/jsx-runtime";var Cs=e=>Cu(jr,{...e});import{Fragment as LM,jsx as CM}from"react/jsx-runtime";import{Fragment as AM,jsx as RM}from"react/jsx-runtime";import{jsx as HM}from"react/jsx-runtime";import{jsx as ei}from"react/jsx-runtime";var Lu=ue.states,yu=ue.defaultOptions,Mu=ue.options,Su=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Iu=[],Qt=e=>{let{modifiers:o,...t}=e,a={};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":a.prefix=o?.[l]?ei(p,{icon:"lock"}):void 0;break;case"suffix":a.suffix=o?.[l]?ei(Mt,{size:t.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=o?.[l];break;default:break}}),ei(Cs,{value:"Value",style:{width:300},...t,...a})};Qt.options=Mu;Qt.states=Lu;Qt.variants=Iu;Qt.defaultOptions=yu;Qt.modifiers=Su;Qt.className=ue.className;import{jsx as mt,jsxs as oi}from"react/jsx-runtime";var Ls="k-actionsheet-titlebar",Ru={},Je=e=>{let{title:o,subtitle:t,actionsStart:a,actionsEnd:l,filter:s,input:c,inputValue:u,inputPlaceholder:f,adaptive:k,titleId:N,children:v,...b}=e;return oi("div",{...b,className:r(e.className,Ls),children:[oi("div",{className:"k-actionsheet-titlebar-group",children:[a&&mt("div",{className:"k-actionsheet-actions",children:a}),!v&&oi("div",{className:"k-actionsheet-title",id:N,children:[o&&mt("div",{className:"k-text-center",children:o}),t&&mt("div",{className:"k-actionsheet-subtitle k-text-center",children:t})]}),v&&mt("div",{className:"k-actionsheet-title",id:N,children:v}),l&&mt("div",{className:"k-actionsheet-actions",children:l})]}),(c||s)&&mt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?mt(ue,{value:u,placeholder:f,size:k?"large":"medium","aria-label":o||f||"Input"}):mt(mo,{placeholder:"Filter",size:k?"large":"medium","aria-label":"Filter options"})})]})};Je.className=Ls;Je.defaultOptions=Ru;import{jsx as ti,jsxs as Ou}from"react/jsx-runtime";var ri="k-actionsheet-view",Au=[],Eu={},Gu={},Zt=e=>{let{adaptive:o,animated:t,children:a,header:l,footer:s,titleId:c,...u}=e,f=l?.type===Je&&ti(Je,{adaptive:o,titleId:c,...l?.props}),k=s?.type===ct&&ti(ct,{...s?.props});return Ou("div",{...u,className:r(e.className,ri,{[`${ri}-animated`]:t}),children:[f,ti("div",{className:"k-actionsheet-content",children:a}),k]})};Zt.states=Au;Zt.options=Eu;Zt.className=ri;Zt.defaultOptions=Gu;var ea="action-sheet",Pa=ea;var ai="overlay",ys=ai;import{jsx as Du}from"react/jsx-runtime";var Ms="k-overlay",Hu=[],Pu={},_u={},ut=e=>{let{...o}=e;return Du("div",{...o,className:r(e.className,Ms),children:e.children})};ut.states=Hu;ut.options=Pu;ut.className=Ms;ut.defaultOptions=_u;ut.moduleName=ai;ut.folderName=ys;import{jsx as _a,jsxs as zu}from"react/jsx-runtime";var Ss="k-actionsheet",Ku=[],Bu={},oa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Le=e=>{let{side:o=oa.side,fullscreen:t=oa.fullscreen,adaptive:a=oa.adaptive,overlay:l=oa.overlay,template:s,children:c,header:u,footer:f,id:k,...N}=e,v=k&&!s&&u?`${k}-title`:void 0;return zu("div",{className:"k-actionsheet-container",children:[l&&_a(ut,{}),_a(Bo,{animationStyle:{[`${t===!0?"top":o}`]:0,[`${t===!0?"width":null}`]:"100%",[`${t===!0?"height":null}`]:"100%",[`${o==="top"||o==="bottom"?"width":null}`]:"100%",[`${o==="left"||o==="right"?"height":null}`]:"100%"},children:_a("div",{...N,id:k,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":v,className:r(e.className,Ss,{[`k-actionsheet-${o}`]:t===!1,"k-actionsheet-fullscreen":t===!0,"k-adaptive-actionsheet":a}),children:s||_a(Zt,{header:u,footer:f,adaptive:a,titleId:v,...e,children:c})})})]})};Le.states=Ku;Le.options=Bu;Le.className=Ss;Le.defaultOptions=oa;Le.moduleName=ea;Le.folderName=Pa;Le.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};import{jsx as Vu}from"react/jsx-runtime";var Is="k-actionsheet-container",Uu=[],Fu={},$u={},jt=e=>{let{children:o,...t}=e;return Vu("div",{...t,className:Is,children:o})};jt.states=Uu;jt.options=Fu;jt.className=Is;jt.defaultOptions=$u;jt.moduleName=ea;jt.folderName=Pa;import{jsx as Wu}from"react/jsx-runtime";var li=e=>{let{...o}=e;return Wu("div",{...o,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Ju,jsx as ta,jsxs as ii}from"react/jsx-runtime";var ni="k-actionsheet-item",Xu=[i.hover,i.focus,i.selected,i.disabled],bt=e=>{let{iconName:o,text:t,description:a,hover:l,focus:s,selected:c,disabled:u,...f}=e;return ii("span",{...f,className:r(e.className,ni,I(ni,{hover:l,focus:s,selected:c,disabled:u})),children:[!e.children&&ta(Ju,{children:ii("span",{className:"k-actionsheet-action",children:[o&&ta("span",{className:"k-icon-wrap",children:ta(p,{className:"k-actionsheet-item-icon",icon:o})}),ii("span",{className:"k-actionsheet-item-text",children:[t&&ta("span",{className:"k-actionsheet-item-title",children:t}),a&&ta("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};bt.states=Xu;bt.className=ni;import{jsx as OS,jsxs as HS}from"react/jsx-runtime";import{jsx as KS}from"react/jsx-runtime";import{jsx as FS}from"react/jsx-runtime";import{jsx as XS}from"react/jsx-runtime";import{jsx as Ge,jsxs as si}from"react/jsx-runtime";var qu=Le.options,Yu=Le.states,As={...Le.defaultOptions,variant:"normal"},Qu=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Zu=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],er=e=>{let{variant:o,modifiers:t,...a}={...As,...e},l={},s=si(li,{children:[Ge(bt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),Ge(bt,{text:"Add to Favorites",iconName:"heart"}),Ge(bt,{text:"Upload New",iconName:"upload",disabled:!0}),Ge("hr",{className:"k-hr"}),Ge(bt,{text:"Cancel",iconName:"cancel"})]}),c="Choose from the items below",u="Select Item";return o==="fullScreen"&&(l.fullScreen=!0),Object.keys(t||{}).forEach(f=>{switch(f){case"actions":l.actionsStart=!!t?.[f],l.actionsEnd=!!t?.[f];break;case"subtitle":l.subtitle=t?.[f]?c:void 0;break;case"footer":l.footer=!!t?.[f];break;default:break}}),o==="adaptive"?Ge(Le,{...a,adaptive:!0,fullscreen:l.fullScreen,header:Ge(Je,{actionsStart:l.actionsStart?Ge(m,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?Ge(m,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:l.subtitle}),footer:l.footer?si(ct,{alignment:"stretched",children:[Ge(m,{text:"Cancel",size:"large",themeColor:"base"}),Ge(m,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):Ge(Le,{...a,fullscreen:l.fullScreen,header:Ge(Je,{actionsStart:l.actionsStart?Ge(m,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?Ge(m,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:l.subtitle}),footer:l.footer?si(ct,{alignment:"stretched",children:[Ge(m,{text:"Apply",themeColor:"primary"}),Ge(m,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};er.options=qu;er.states=Yu;er.variants=Qu;er.defaultOptions=As;er.modifiers=Zu;er.className=Le.className;import ci from"react";import{jsx as Es}from"react/jsx-runtime";var ju="k-list-group-sticky-header",di=e=>Es("div",{className:r(ju,e.className),children:Es("div",{className:"k-list-header-text",children:e.children})});import{jsx as ob}from"react/jsx-runtime";var eb="k-no-data",Da=e=>{let{live:o,...t}=e;return ob("span",{...t,className:r(eb,e.className),"aria-live":o?"polite":void 0,children:e.children})};var It="list",or=It;import{jsx as Gs,jsxs as Os}from"react/jsx-runtime";var pi="k-list",tb=[],rb={size:[d.undefined,d.small,d.medium,d.large]},ab={},ae=e=>{let{size:o,virtualization:t,children:a,header:l,selectAll:s,optionLabel:c,customValue:u,noData:f,screenReaders:k,...N}=e,b=ci.Children.toArray(a)[0],C=b?.props?.children?ci.Children.count(b.props.children):ci.Children.count(a);return Os("div",{...N,className:r(e.className,pi,S(pi,{size:o}),{"k-virtual-list":t}),children:[c,s,u,l&&Gs(di,{children:l}),a||(f!==void 0?f:Gs(Da,{live:!0,children:"No data found."})),k&&a&&Os(Da,{className:"k-sr-only",live:!0,children:[C," items found."]})]})};ae.states=tb;ae.options=rb;ae.className=pi;ae.defaultOptions=ab;ae.moduleName=It;ae.folderName=or;ae.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};import{jsx as sb}from"react/jsx-runtime";var Hs="k-list-container",lb=[],ib={},nb={},tr=e=>{let{...o}=e;return sb("div",{...o,classNa