@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 194 kB
JavaScript
var a=(...e)=>e.filter(o=>o!==!0&&!!o).map(o=>Array.isArray(o)?a(...o):typeof o=="object"?Object.keys(o).map((t,r)=>o[r]||o[t]&&t||null).filter(t=>t!==null).join(" "):o).filter(o=>!!o).join(" ");var M=(e,o)=>a({[`${e}-xs`]:o.size==="xsmall",[`${e}-sm`]:o.size==="small",[`${e}-md`]:o.size==="medium",[`${e}-lg`]:o.size==="large",[`${e}-xl`]:o.size==="xlarge",[`${e}-xxl`]:o.size==="xxlarge",[`${e}-xxxl`]:o.size==="xxxlarge"},{[`${e}-${o.fillMode}`]:o.fillMode},{[`${e}-${o.themeColor}`]:o.themeColor},{"k-rounded-sm":o.rounded==="small","k-rounded-md":o.rounded==="medium","k-rounded-lg":o.rounded==="large","k-rounded-full":o.rounded==="full","k-rounded-none":o.rounded==="none"}),y=(e,o)=>{let{valid:t,invalid:r,hover:l,focus:n,checked:d,active:m,selected:b,disabled:N,indeterminate:x,loading:k,empty:u,readonly:v,highlighted:L,...I}=o;return a({"k-valid":t,"k-invalid":r,"k-hover":l,"k-focus":n,"k-checked":d,"k-active":m,"k-selected":b,"k-disabled":N,"k-indeterminate":x&&!d,"k-loading":k,"k-empty":u,"k-readonly":v,"k-highlighted":L},Object.keys(I).reduce((E,G)=>(G.startsWith("k-")?E[G]=I[G]:E[`k-${G}`]=I[G],E),{}))};function xn(e,o){if(!o)return{};let t=Array.isArray(o)?o:[o];return Object.fromEntries(t.map(r=>[`k-${r}`,!0]))}var s={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},g={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},h={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Oo={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},w={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var bl={};function P(e){return bl[e]=(bl[e]||0)+1,`k-${e}-${bl[e]}`}var Q="grid",oe=Q;import{jsx as Xc,jsxs as Jc}from"react/jsx-runtime";var hr="k-grid",$c=[],Vc={size:[s.undefined,s.small,s.medium,s.large]},Wc=[],Nn={pagerPosition:"bottom"},O=e=>{let{size:o,pagerPosition:t=Nn.pagerPosition,toolbar:r,pager:l,groupingHeader:n,gridSelectionAggregates:d,_renderAriaRoot:m,resizable:b,ariaColCount:N,ariaRowCount:x,ariaRootId:k,ariaRole:u="grid",...v}=e;return Jc("div",{...v,className:a(e.className,hr,{[`${hr}-resizable`]:b},M(hr,{size:o})),children:[r,t==="top"&&l,n,e.children&&m?Xc("div",{className:"k-grid-aria-root",role:u,id:k,"aria-colcount":N,"aria-rowcount":x,children:e.children}):e.children,d,t==="bottom"&&l]})};O.states=$c;O.options=Vc;O.variants=Wc;O.className=hr;O.defaultOptions=Nn;O.moduleName=Q;O.folderName=oe;O.ariaSpec={selector:".k-grid",rules:[{selector:".k-grid-toolbar",attribute:"role=toolbar",usage:"The toolbar is a collection of command buttons and inputs."},{selector:".k-grid-toolbar",attribute:"aria-label",usage:"Clarifies the purpose of the toolbar."},{selector:".k-grid-toolbar",attribute:"aria-controls=.k-grid-aria-root id (when present)",usage:"Pointing to the id of the element with role=grid."},{selector:".k-grouping-header",attribute:"role=toolbar",usage:"The Grouping pane is a ToolBar (collection of buttons)."},{selector:".k-grouping-header",attribute:"aria-label",usage:"Clarifies the purpose of the grouping pane."},{selector:".k-grouping-header",attribute:"aria-controls=.k-grid-aria-root id (when present)",usage:"Pointing to the id of the element with role=grid."},{selector:".k-grouping-header .k-chip-list",attribute:"role=none",usage:"The ChipList default listbox role is removed to keep the toolbar --> button roles hierarchy."},{selector:".k-grouping-header .k-chip",attribute:"role=button",usage:"If the element used is not <button>, then the role must be specified."},{selector:".k-grid:not(.k-treelist) .k-grid-aria-root",attribute:"role=grid",usage:"The role specifies the element is a Data Grid."},{selector:".k-grid-aria-root",attribute:"aria-colcount (when present)",usage:"The total number of columns in the Grid. Needed for Virtual columns and Hidden columns scenarios."},{selector:".k-grid-aria-root",attribute:"aria-rowcount (when present)",usage:"The total number of rows in the table. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:".k-grid-header-wrap>table",attribute:"role=none",usage:"Negates the default semantic role of the <table> element."},{selector:".k-grid-header-wrap>table>thead",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)",attribute:"aria-rowindex (when present)",usage:"Row number. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th:not(.k-hierarchy-cell):not(.k-group-cell):not(.k-drag-cell)",attribute:"role=columnheader",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th",attribute:"aria-sort (when present)",usage:"Present if sorting is enabled for that column."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th",attribute:"aria-colindex (when present)",usage:"Col number. Needed for Virtual columns and Hidden columns scenarios."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th",attribute:"aria-haspopup=dialog (when present)",usage:"Present if the column has a ColumnMenu or FilterMenu."},{selector:".k-grid-header-wrap>table>thead>tr.k-filter-row>td",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr.k-filter-row>td",attribute:"aria-label",usage:"Has a label indicating that the cell is part of a filter row."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table, .k-grid-pinned-container .k-grid-table",attribute:"role=none",usage:"Negates the default semantic role of the <table> element."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody, .k-grid-pinned-container tbody",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr, .k-grid-pinned-container tbody tr",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr, .k-grid-pinned-container tbody tr",attribute:"aria-rowindex (when present)",usage:"Row number. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr>td, .k-grid-pinned-container tbody td",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr>td, .k-grid-pinned-container tbody td",attribute:"aria-colindex (when present)",usage:"Col number. Needed for Virtual columns and Hidden columns scenarios."},{selector:"tr.k-selected",attribute:"aria-selected=true",usage:"Set on the currently selected row(s) in row selection mode. All cells within the selected row also carry aria-selected=true (without k-selected class). Applies to both regular and pinned rows."},{selector:"td.k-selected",attribute:"aria-selected=true",usage:"Set on the currently selected cell(s) in cell selection mode. The k-selected class on cells is only applied in cell selection mode, but aria-selected=true is present on cells regardless of selection mode."},{selector:".k-master-row .k-hierarchy-cell, .k-grouping-row>td",attribute:"aria-expanded",usage:"For cells holding grouping criteria values and for Master row cells in Detail template scenario."},{selector:".k-group-cell",attribute:"role=presentation",usage:"Group offset cells (header and content) are non-interactive placeholders with no semantic role."},{selector:".k-drag-cell",attribute:"aria-label",usage:"Must be present in a Drag Row scenario on the cell containing the drag handle."},{selector:".k-grid-header-locked table tr",attribute:"aria-owns",usage:"Locked header rows own cells from the corresponding non-locked header table rows."},{selector:".k-grid-content-locked table tr:not(.k-grouping-row)",attribute:"aria-owns",usage:"Locked content rows own cells from the corresponding non-locked content table rows. Group header rows are excluded because the non-locked group header rows are presentational."},{selector:".k-grid-lockedcolumns .k-grid-header .k-grid-header-wrap table tr",attribute:"role=none",usage:"Non-locked header rows have their semantic role removed when locked columns exist."},{selector:".k-grid-lockedcolumns .k-grid-content table tr",attribute:"role=none",usage:"Non-locked content rows have their semantic role removed when locked columns exist."},{selector:".k-grid-lockedcolumns .k-grid-header .k-grid-header-wrap th",attribute:"role=columnheader",usage:"Non-locked header cells retain columnheader role so they are announced correctly when owned via aria-owns."},{selector:".k-grid-lockedcolumns .k-grid-content td:not(.k-grouping-row td)",attribute:"role=gridcell",usage:"Non-locked data cells retain gridcell role so they are announced correctly when owned via aria-owns. Cells inside group header rows are excluded as those rows are presentational."},{selector:".k-grid-filter-popup",attribute:"role=dialog",usage:"The filter menu popup has dialog role."},{selector:".k-grid-filter-popup",attribute:"id",usage:"Unique id linked to the header cell aria-controls attribute."},{selector:".k-grid-filter-popup",attribute:"aria-label",usage:'Descriptive label for the filter menu, e.g. "Column Title Filter Menu".'},{selector:".k-grid-columnmenu-popup",attribute:"role=dialog",usage:"The column menu popup has dialog role."},{selector:".k-grid-columnmenu-popup",attribute:"id",usage:"Unique id linked to the header cell aria-controls attribute."},{selector:".k-grid-columnmenu-popup",attribute:"aria-label",usage:'Descriptive label for the column menu, e.g. "Column Title Column Menu".'},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"role=button",usage:"Column menu items have button role."},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"tabindex=0",usage:"Column menu items are focusable."},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"aria-expanded",usage:"Expandable column menu items announce their expanded state."},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"aria-controls",usage:"Expandable items point to the id of the content they control."},{selector:".k-grid-columnmenu-popup .k-column-list",attribute:"role=listbox",usage:"The column list is a listbox."},{selector:".k-grid-columnmenu-popup .k-column-list",attribute:"aria-multiselectable=true",usage:"The column list supports multiple selections."},{selector:".k-grid-columnmenu-popup .k-column-list",attribute:"aria-label",usage:"Accessible name for the column list."},{selector:".k-grid-columnmenu-popup .k-column-list-item",attribute:"role=option",usage:"Column list items are options."},{selector:".k-grid-columnmenu-popup .k-column-list-item",attribute:"aria-checked",usage:"Column list items announce their checked state."},{selector:"tfoot",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:"tfoot tr",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:"tfoot tr",attribute:"aria-rowindex (when present)",usage:"Row number. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:"tfoot tr td",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed."},{selector:"tfoot tr td",attribute:"aria-colindex (when present)",usage:"Col number. Needed for Virtual columns and Hidden columns scenarios."},{selector:".k-grid-selection-aggregates",attribute:"aria-live=polite",usage:"Ensures that changes in the calculated selection aggregates are announced by assistive technologies."},{selector:".k-grid-stack-cell",attribute:"tabindex=0",usage:"Stacked cell elements receive tabindex 0 when focus is within their parent .k-grid-stack-row element."},{selector:".k-grid-sticky-container",attribute:"role=none",usage:"Sticky group container has no semantic role."},{selector:".k-grid-sticky-container .k-grid-table",attribute:"role=none",usage:"Negates the default semantic role of the sticky group <table> element."},{selector:".k-grid-sticky-container tbody",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-sticky-container tr",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-sticky-container tr",attribute:"aria-rowindex",usage:"Matches the aria-rowindex of the real group header/footer row it mirrors."},{selector:".k-grid-sticky-container td:not(.k-group-cell)",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed. Group offset cells are excluded as they retain role=presentation."},{selector:".k-grid-sticky-container .k-grouping-row>td",attribute:"aria-expanded",usage:"Mirrors the expanded/collapsed state of the real group header row."},{selector:".k-grid-sticky-container td:not(.k-group-cell)",attribute:"tabindex",usage:"Receives tabindex 0 when focused, -1 otherwise, for keyboard navigation. Group offset cells are excluded as they are presentational."},{selector:".k-grid-sticky-container td",attribute:"aria-colindex (when present)",usage:"Col number. Typically 1 for the group header cell spanning all columns."},{selector:".k-grid-pinned-container",attribute:"role=none",usage:"Container for pinned rows has no semantic role."},{selector:".k-grid-pinned-container .k-grid-pinned-wrap",attribute:"role=none",usage:"Inner wrapper for the pinned rows table has no semantic role."},{selector:".k-grid-pinned-container tbody",attribute:"aria-label",usage:'Describes the purpose of the pinned rows group, e.g. "Top pinned rows" or "Bottom pinned rows".'},{selector:".k-grid-pinned-container td",attribute:"aria-haspopup=menu (when present)",usage:"Pinned row cells announce the context menu for row pinning operations."},{selector:".k-grid-pinned-container td",attribute:"aria-controls",usage:"Points to the ID of the context menu popup for row pinning."},{selector:".k-grid-pinned-container td",attribute:"aria-expanded",usage:"Indicates whether the context menu popup is open."},{selector:".k-grid-content td",attribute:"aria-haspopup=menu (when present)",usage:"Regular data cells announce context menu when row pinning uses contextual mode."},{selector:".k-grid-content td",attribute:"aria-controls",usage:"Points to the ID of the context menu popup for row pinning."},{selector:".k-grid-content td",attribute:"aria-expanded",usage:"Indicates whether the context menu popup is open."},{selector:'.k-pin-cell [class*="k-icon"]',attribute:"aria-hidden=true",usage:"Pin/unpin icon inside the dedicated column is decorative and must be hidden from assistive technologies."}]};import{jsx as qc}from"react/jsx-runtime";var kn="k-grid-header",W=e=>{let{draggable:o,...t}=e;return qc("div",{...t,className:a(e.className,kn,{"k-grid-draggable-header":o}),children:e.children})};W.className=kn;W.moduleName=Q;W.folderName=oe;import{jsx as vn,jsxs as Yc}from"react/jsx-runtime";var wn="k-grouping-header",Ee=e=>{let{dropHint:o,dropClue:t,...r}=e;return Yc("div",{...r,className:a(e.className,wn),children:[t&&vn("div",{className:"k-grouping-dropclue"}),e.children,vn("div",{className:"k-grouping-drop-container",children:o})]})};Ee.className=wn;Ee.moduleName=Q;Ee.folderName=oe;import{jsx as Qc}from"react/jsx-runtime";var Cn="k-grid-pinned-container",Da=e=>{let{position:o,...t}=e;return Qc("div",{...t,className:a(e.className,Cn,{"k-pos-bottom":o==="bottom"}),children:e.children})};Da.className=Cn;Da.moduleName=Q;Da.folderName=oe;import{jsx as Zc}from"react/jsx-runtime";var Ln="k-grid-sticky-container",Ba=e=>{let{position:o,...t}=e;return Zc("div",{...t,className:a(e.className,Ln,{"k-pos-bottom":o==="bottom"}),children:e.children})};Ba.className=Ln;Ba.moduleName=Q;Ba.folderName=oe;var Ae="table",Ge=Ae;import{jsx as tp}from"react/jsx-runtime";var Mn="k-data-table",jc=[],ep={size:[s.undefined,s.small,s.medium,s.large]},op={},$o=e=>{let{size:o,...t}=e;return tp("div",{...t,className:a(e.className,Mn,M("k-table",{size:o})),children:e.children})};$o.states=jc;$o.options=ep;$o.className=Mn;$o.defaultOptions=op;$o.moduleName=Ae;$o.folderName=Ge;import{jsx as ip}from"react/jsx-runtime";var fl="k-table-header-wrap",ap=[i.hover,i.focus,i.disabled],rp={},lp={},tt=e=>{let{children:o,hover:t,focus:r,disabled:l,...n}=e;return ip("div",{...n,className:a(e.className,fl,y(fl,{hover:t,focus:r,disabled:l})),children:o})};tt.states=ap;tt.options=rp;tt.className=fl;tt.defaultOptions=lp;tt.moduleName=Ae;tt.folderName=Ge;import{jsx as cp}from"react/jsx-runtime";var Tl="k-table",np=[],sp={size:[s.undefined,s.small,s.medium,s.large]},dp={},Oe=e=>{let{size:o,...t}=e;return cp("table",{...t,className:a(e.className,Tl,M(Tl,{size:o})),children:e.children})};Oe.states=np;Oe.options=sp;Oe.className=Tl;Oe.defaultOptions=dp;Oe.moduleName=Ae;Oe.folderName=Ge;import{jsx as gl}from"react/jsx-runtime";var hl="k-table-header",pp=[i.hover,i.focus,i.disabled],mp={},up={},Vo=e=>{let{children:o,hover:t,focus:r,disabled:l,...n}=e;return gl("div",{...n,className:a(e.className,hl,y(hl,{hover:t,focus:r,disabled:l})),children:gl(tt,{children:gl(Oe,{children:o})})})};Vo.states=pp;Vo.options=mp;Vo.className=hl;Vo.defaultOptions=up;Vo.moduleName=Ae;Vo.folderName=Ge;import{jsx as gp}from"react/jsx-runtime";var yn="k-table-scroller",bp=[],fp={},Tp={},Ut=e=>{let{children:o,...t}=e;return gp("div",{...t,className:a(e.className,yn),children:o})};Ut.states=bp;Ut.options=fp;Ut.className=yn;Ut.defaultOptions=Tp;Ut.moduleName=Ae;Ut.folderName=Ge;import{jsx as dk}from"react/jsx-runtime";import{jsx as kp}from"react/jsx-runtime";var Sn="k-table-footer",hp=[],xp={},Np={},at=e=>{let{children:o,...t}=e;return kp("div",{...t,className:a(e.className,Sn),children:o})};at.states=hp;at.options=xp;at.className=Sn;at.defaultOptions=Np;at.moduleName=Ae;at.folderName=Ge;import{jsx as Lp}from"react/jsx-runtime";var xl="k-table-list",vp=[],wp={size:[s.undefined,s.small,s.medium,s.large]},Cp={},rt=e=>{let{size:o,virtualization:t,...r}=e;return Lp("ul",{...r,className:a(e.className,"k-table",xl,M(xl,{size:o}),{"k-virtual-table":t}),children:e.children})};rt.states=vp;rt.options=wp;rt.className=xl;rt.defaultOptions=Cp;rt.moduleName=Ae;rt.folderName=Ge;import{jsx as yp}from"react/jsx-runtime";var Mp="k-table-thead",U=e=>yp("thead",{className:a(e.className,Mp),children:e.children});import{jsx as Ap}from"react/jsx-runtime";var Sp="k-table-tbody",X=e=>Ap("tbody",{className:a(e.className,Sp),children:e.children});import{jsx as yk}from"react/jsx-runtime";import{jsx as Rp}from"react/jsx-runtime";var Nl="k-table-row",Ip=[i.hover,i.focus,i.selected,i.disabled,i.highlighted],C=e=>{let{hover:o,focus:t,selected:r,highlighted:l,disabled:n,alt:d,...m}=e;return Rp("tr",{...m,className:a(e.className,Nl,{"k-table-alt-row":d},y(Nl,{hover:o,focus:t,disabled:n,selected:r,highlighted:l})),children:e.children})};C.states=Ip;C.className=Nl;import{jsx as Gp}from"react/jsx-runtime";var kl="k-table-row",Ep=[i.hover,i.focus,i.selected,i.disabled],xr=e=>{let{hover:o,focus:t,selected:r,disabled:l,alt:n,...d}=e;return Gp("li",{...d,className:a(e.className,kl,{"k-table-alt-row":n},y(kl,{hover:o,focus:t,disabled:l,selected:r})),children:e.children})};xr.states=Ep;xr.className=kl;import{jsx as Op}from"react/jsx-runtime";var An="k-table-th",Wo=e=>{let{text:o,colspan:t,rowspan:r,...l}=e,n=o||e.children;return Op("th",{colSpan:t,rowSpan:r,...l,className:a(e.className,An),children:n})};Wo.className=An;Wo.moduleName=Ae;Wo.folderName=Ge;import{jsx as zk}from"react/jsx-runtime";import{jsx as Pp}from"react/jsx-runtime";var vl="k-table-td",Hp=[i.focus,i.selected,i.highlighted],c=e=>{let{focus:o,selected:t,highlighted:r,text:l,colspan:n,rowspan:d,...m}=e,b=l||e.children;return Pp("td",{colSpan:n,rowSpan:d,...m,className:a(e.className,vl,y(vl,{focus:o,selected:t,highlighted:r})),children:b})};c.states=Hp;c.className=vl;import{jsx as Jk}from"react/jsx-runtime";import{jsx as Zk}from"react/jsx-runtime";import{jsx as tv}from"react/jsx-runtime";import{jsx as iv}from"react/jsx-runtime";import{jsx as cv}from"react/jsx-runtime";import{jsx as gv,jsxs as hv}from"react/jsx-runtime";import{jsx as vv,jsxs as wv}from"react/jsx-runtime";import{jsx as yv,jsxs as Sv}from"react/jsx-runtime";import{Fragment as Ov,jsx as Ev,jsxs as Gv}from"react/jsx-runtime";import{jsx as Dp}from"react/jsx-runtime";var En="k-grid-header-table",J=e=>Dp(Oe,{...e,className:a(e.className,En),children:e.children});J.className=En;J.moduleName=Q;J.folderName=oe;import{Fragment as Fp,jsx as Gn}from"react/jsx-runtime";var wl="k-font-icon",Bp=[],zp={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[w.undefined,w.base,w.primary,w.secondary,w.tertiary,w.success,w.warning,w.error,w.info]},Up={},za=e=>{let{size:o,themeColor:t,icon:r,rotate:l,flip:n,...d}=e;return r?Gn("span",{...d,className:a(e.className,wl,M(wl,{size:o}),{[`k-i-${r}`]:r,[`k-color-${t}`]:t,[`k-rotate-${l}`]:l,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true"}):Gn(Fp,{})};za.states=Bp;za.options=zp;za.className=wl;za.defaultOptions=Up;var On=za;import{Fragment as Wp,jsx as Nr}from"react/jsx-runtime";var Cl="k-svg-icon",$p=[],Vp={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[w.undefined,w.base,w.primary,w.secondary,w.tertiary,w.success,w.warning,w.error,w.info],variant:[Oo.outline,Oo.solid,Oo.duotone]},Ll={viewBox:"0 0 24 24",variant:Oo.outline},Ua=e=>{let{size:o,themeColor:t,rotate:r,flip:l,viewBox:n=Ll.viewBox,variant:d=Ll.variant,icon:m,...b}=e;if(!m)return Nr(Wp,{});if(m==="none")return Nr("span",{...b,className:a(e.className,Cl,M("k-icon",{size:o}),"k-none"),"aria-hidden":"true"});let N=typeof m=="object"&&m.name&&m.name,x=typeof m=="object"?d&&m.variants?.[d]||m.variants?.outline||m.content:void 0;return Nr("span",{...b,className:a(e.className,Cl,M("k-icon",{size:o}),{[`k-svg-i-${N}`]:N,[`k-color-${t}`]:t,[`k-rotate-${r}`]:r,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true",children:Nr("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:n,dangerouslySetInnerHTML:x!==void 0?{__html:x}:void 0,children:m?void 0:e.children})})};Ua.states=$p;Ua.options=Vp;Ua.className=Cl;Ua.defaultOptions=Ll;var Ml=Ua;import*as yl from"@progress/kendo-svg-icons";var Hn="icon",Pn="icons";import{useContext as Jp}from"react";import{createContext as Xp}from"react";var _n=Xp({iconsType:"svg"});import{Fragment as Kn,jsx as Fa}from"react/jsx-runtime";var kr="k-icon",qp=e=>e.replace(/([-_][a-z0-9])/gi,o=>o.toUpperCase().replace("-","").replace("_","")),Yp=[],Qp={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[w.undefined,w.base,w.primary,w.secondary,w.tertiary,w.success,w.warning,w.error,w.info],variant:[Oo.outline,Oo.solid,Oo.duotone]},vr={viewBox:"0 0 24 24",type:"svg",variant:Oo.outline},f=e=>{let{iconsType:o}=Jp(_n),{size:t,themeColor:r,icon:l,type:n=o||vr.type,rotate:d,flip:m,viewBox:b=vr.viewBox,variant:N=vr.variant,...x}=e;if(!l)return Fa(Kn,{});if((o||n)==="svg"){if(l==="none")return Fa(Ml,{...x,className:a(e.className,kr),icon:l,size:t,variant:N});let u=yl[l]?l:qp(`${l}-icon`);return yl[u]?Fa(Ml,{...x,className:a(e.className,kr),icon:yl[u],size:t,themeColor:r,rotate:d,flip:m,viewBox:b,variant:N}):Fa(Kn,{})}return Fa(On,{...x,className:a(e.className,kr),icon:l,size:t,themeColor:r,rotate:d,flip:m})};f.states=Yp;f.options=Qp;f.defaultOptions=vr;f.className=kr;f.moduleName=Hn;f.folderName=Pn;f.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};import{jsx as lt,jsxs as Sl}from"react/jsx-runtime";var Al="k-header",Zp=[i.hover,i.focus,i.active],Dn={sortIcon:"sort-asc-small"},A=e=>{let{menu:o,sortable:t,filterable:r,sticky:l,resizable:n,columnTitle:d,hover:m,focus:b,active:N,sortIcon:x=Dn.sortIcon,sortOrder:k,accessibleLabel:u,...v}=e;return Sl(Wo,{...v,className:a(e.className,Al,{"k-filterable":o||r,"k-sorted":t,"k-grid-header-sticky":l,"k-touch-action-none":n},y(Al,{hover:m,focus:b,active:N})),children:[d&&Sl("span",{className:"k-cell-inner",children:[Sl("span",{className:"k-link",children:[lt("span",{className:"k-column-title",children:d}),t&<("span",{className:"k-sort-icon",children:lt(f,{icon:x})}),k&<("span",{className:"k-sort-order",children:k})]}),o&<("a",{className:a("k-grid-header-menu",{"k-active":N,"k-grid-filter-menu":o==="filter","k-grid-column-menu":o==="column"}),children:lt(f,{icon:o==="filter"?"filter":"more-vertical"})})]}),!d&&u&<("span",{className:"k-sr-only",children:u}),e.children,n&<("span",{className:"k-column-resizer k-touch-action-none"})]})};A.states=Zp;A.className=Al;A.defaultOptions=Dn;A.moduleName=Q;A.folderName=oe;import{jsx as jp}from"react/jsx-runtime";var Bn="k-grid-container",F=e=>jp("div",{...e,className:a(e.className,Bn),children:e.children});F.className=Bn;F.moduleName=Q;F.folderName=oe;import{jsx as em}from"react/jsx-runtime";var zn="k-grid-content",$=e=>em("div",{...e,className:a(e.className,zn),children:e.children});$.className=zn;$.moduleName=Q;$.folderName=oe;import{jsx as om}from"react/jsx-runtime";var Un="k-grid-table",V=e=>om(Oe,{...e,className:a(e.className,Un),children:e.children});V.className=Un;V.moduleName=Q;V.folderName=oe;import{jsx as tm}from"react/jsx-runtime";var Fn="k-grid-footer",wr=e=>tm("div",{...e,className:a(e.className,Fn),children:e.children});wr.className=Fn;wr.moduleName=Q;wr.folderName=oe;import{jsx as am}from"react/jsx-runtime";var $n="k-grid-footer-table",Cr=e=>am(Oe,{...e,className:a(e.className,$n),children:e.children});Cr.className=$n;Cr.moduleName=Q;Cr.folderName=oe;var Il="button",Vn=Il;import{Fragment as Wn,jsx as Ft,jsxs as Xn}from"react/jsx-runtime";var $a="k-button",rm=["icon-button"],lm=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],im={size:[s.undefined,s.xsmall,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[w.undefined,w.base,w.primary,w.secondary,w.tertiary,w.success,w.warning,w.error,w.info,w.inverse]},Rl={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:o="button",size:t,rounded:r,fillMode:l,themeColor:n,showArrow:d=Rl.showArrow,arrowIconName:m=Rl.arrowIconName,variant:b,hover:N,focus:x,active:k,selected:u,disabled:v,togglable:L,ariaDisabled:I,icon:E,iconSize:G,text:B,iconClassName:he,className:ce,...Ke}=e,De=E!=null,Be=e.children!==void 0;return Xn(o,{className:a(ce,$a,xn($a,b),M($a,{size:t,rounded:r,fillMode:l,themeColor:n}),y($a,{hover:N,focus:x,active:k,disabled:v||I,selected:u}),{"k-icon-button":!B&&!Be&&De}),"aria-pressed":L?u?"true":"false":void 0,...Ke,"aria-disabled":I?"true":void 0,disabled:v||void 0,children:[typeof E=="string"&&E&&Ft(f,{className:a(he,"k-button-icon"),icon:E,size:G}),E&&typeof E!="string"&&Ft(Wn,{children:E}),B?Xn(Wn,{children:[B&&Ft("span",{className:"k-button-text",children:B}),e.children]}):e.children&&Ft("span",{className:"k-button-text",children:e.children}),d&&Ft("span",{className:"k-menu-button-arrow k-button-arrow",children:Ft(f,{icon:m})})]})};p.states=lm;p.options=im;p.variants=rm;p.className=$a;p.defaultOptions=Rl;p.moduleName=Il;p.folderName=Vn;p.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};import{jsx as nm}from"react/jsx-runtime";var it=e=>nm(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as sm}from"react/jsx-runtime";var Va=e=>sm(p,{icon:"folder",children:"Button",...e});import{jsx as dm}from"react/jsx-runtime";var Mt=e=>dm(p,{children:"Button",...e});import{jsx as El}from"react/jsx-runtime";var cm=p.options,pm=p.states,mm={...p.defaultOptions,variant:"text"},um=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],bm=[],$t=e=>{let{variant:o,...t}=e;switch(o){case"icon-only":return El(it,{...t,icon:"star"});case"icon-and-text":return El(Va,{...t,icon:"star",children:"Button"});default:return El(Mt,{...t,children:"Button"})}};$t.options=cm;$t.states=pm;$t.variants=um;$t.defaultOptions=mm;$t.modifiers=bm;$t.className=p.className;var Wa="input",Lr=Wa;import{jsx as hm}from"react/jsx-runtime";var Mr="k-input",fm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Tm={size:[s.undefined,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},gm={},we=e=>{let{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:d,readonly:m,size:b,rounded:N,fillMode:x,...k}=e;return hm("span",{...k,className:a(e.className,Mr,M(Mr,{size:b,rounded:N,fillMode:x}),y(Mr,{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:d,readonly:m}))})};we.states=fm;we.options=Tm;we.className=Mr;we.defaultOptions=gm;we.moduleName=Wa;we.folderName=Lr;import{jsx as vm}from"react/jsx-runtime";var yr="k-picker",xm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Nm={size:[s.undefined,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},km={},Ho=e=>{let{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:d,readonly:m,size:b,rounded:N,fillMode:x,...k}=e;return vm("span",{...k,className:a(e.className,yr,M(yr,{size:b,rounded:N,fillMode:x}),y(yr,{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:d,readonly:m})),children:e.children})};Ho.states=xm;Ho.options=Nm;Ho.className=yr;Ho.defaultOptions=km;Ho.moduleName=Wa;Ho.folderName=Lr;import{Fragment as Lm,jsx as Gl}from"react/jsx-runtime";var Jn="k-clear-value",wm=[i.disabled,i.loading,i.readonly],Cm={},to=e=>{let{disabled:o,loading:t,readonly:r,value:l}=e;return o||r||t||!l?Gl(Lm,{}):Gl("span",{className:a(e.className,Jn),children:Gl(f,{icon:"x"})})};to.states=wm;to.options=Cm;to.className=Jn;import{jsx as Sm}from"react/jsx-runtime";var Ol="k-input-inner",Mm=[],ym={},Sr={type:"text",autocomplete:"off",value:"",placeholder:""},ao=e=>{let{value:o=Sr.value,type:t=Sr.type,placeholder:r=Sr.placeholder,autocomplete:l=Sr.autocomplete,disabled:n,readOnly:d,...m}=e;return Sm("input",{...m,type:t,className:a(e.className,Ol,M(Ol,e)),placeholder:r,autoComplete:l,defaultValue:o,disabled:n||void 0,readOnly:d||void 0})};ao.states=Mm;ao.options=ym;ao.className=Ol;import{jsx as qn,jsxs as Rm}from"react/jsx-runtime";var Hl="k-input-inner",Am=[],Im={},yt=e=>{let{value:o,placeholder:t,showValue:r,valueIcon:l,valueIconName:n,...d}=e;return Rm("span",{...d,className:a(e.className,Hl,M(Hl,e)),children:[l,!l&&n&&qn(f,{className:"k-input-value-icon",icon:n}),r&&!o&&t,r&&o&&qn("span",{className:"k-input-value-text",children:o})]})};yt.states=Am;yt.options=Im;yt.className=Hl;import{jsx as Om}from"react/jsx-runtime";var Pl="k-input-inner",Em=[],Gm={},Yn={value:"",placeholder:""},_l=e=>{let{value:o=Yn.value,placeholder:t=Yn.placeholder,rows:r,disabled:l,...n}=e;return Om("textarea",{...n,className:a(e.className,Pl,M(Pl,e)),placeholder:t,rows:r,defaultValue:o,disabled:l||void 0})};_l.states=Em;_l.options=Gm;_l.className=Pl;import{Fragment as Pm,jsx as Qn}from"react/jsx-runtime";var Zn="k-input-loading-icon",Hm=[i.disabled,i.loading],Ye=e=>{let{disabled:o,loading:t}=e;return o||!t?Qn(Pm,{}):Qn("span",{className:a(e.className,Zn,"k-icon k-i-loading")})};Ye.states=Hm;Ye.className=Zn;import{Fragment as Dm,jsx as jn}from"react/jsx-runtime";var es="k-input-validation-icon",_m=[i.valid,i.invalid,i.disabled,i.loading],Km={},ze=e=>{let{valid:o,invalid:t,disabled:r,loading:l}=e,n=t?"warning-circle":"check-circle";return r||l||!!!(o||t)?jn(Dm,{}):jn(f,{className:a(es),icon:n})};ze.states=_m;ze.options=Km;ze.className=es;import{Fragment as Um,jsx as os}from"react/jsx-runtime";var Bm="k-input-prefix",zm={direction:"horizontal"},uo=e=>{let{direction:o=zm.direction,...t}=e;return e.children?os("span",{...t,className:a(Bm,e.className,{[`k-input-prefix-${o}`]:o}),children:e.children}):os(Um,{})};import{Fragment as Vm,jsx as ts}from"react/jsx-runtime";var Fm="k-input-suffix",$m={direction:"horizontal"},bo=e=>{let{direction:o=$m.direction,...t}=e;return e.children?ts("span",{...t,className:a(Fm,e.className,{[`k-input-suffix-${o}`]:o}),children:e.children}):ts(Vm,{})};import{jsx as CL}from"react/jsx-runtime";import{jsx as Xm}from"react/jsx-runtime";var Wm="k-input-suffix-text",Kl=e=>{let{children:o,...t}=e;return Xm("span",{...t,className:a(Wm,e.className),children:o})};import{jsx as qm}from"react/jsx-runtime";var as="k-input-separator",Jm={direction:"vertical"},fo=e=>{let{direction:o=Jm.direction,...t}=e;return qm("span",{...t,className:a(as,e.className,{[`${as}-${o}`]:o})})};import{Fragment as rs,jsx as Po,jsxs as Dl}from"react/jsx-runtime";var Ym=we.states,Qm=we.defaultOptions,Zm=we.options,jm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],eu=[],Vt=e=>{let{modifiers:o,valid:t,invalid:r,loading:l,disabled:n,readonly:d,...m}=e,b=o?.prefix,N=o?.suffix,x=o?.["clear-button"],k=o?.["validation-icon"],u=o?.separators;return Dl(we,{...m,valid:t,invalid:r,loading:l,disabled:n,readonly:d,style:{width:300},children:[b&&Dl(rs,{children:[Po(uo,{children:Po(f,{icon:"lock"})}),u&&Po(fo,{})]}),Po(ao,{placeholder:"Placeholder",value:"Value"}),k&&Po(ze,{valid:t,invalid:r,loading:l,disabled:n}),Po(Ye,{loading:l,disabled:n}),x&&Po(to,{loading:l,disabled:n,readonly:d,value:"Value"}),N&&Dl(rs,{children:[u&&Po(fo,{}),Po(bo,{children:Po(Mt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};Vt.options=Zm;Vt.states=Ym;Vt.variants=eu;Vt.defaultOptions=Qm;Vt.modifiers=jm;Vt.className=we.className;var Bl="popup",ls=Bl;import{jsx as is}from"react/jsx-runtime";var ns="k-animation-container",ou=[],tu={},zl={positionMode:"absolute",shown:!0},_o=e=>{let{positionMode:o=zl.positionMode,shown:t=zl.shown,animationStyle:r,offset:l,...n}=e;return is("div",{...n,style:{...l,...e.style},className:a(e.className,ns,{"k-animation-container-shown":t,"k-animation-container-fixed":o==="fixed"}),children:is("div",{className:"k-child-animation-container",style:r,children:e.children})})};_o.states=ou;_o.options=tu;_o.className=ns;_o.defaultOptions=zl;_o.moduleName=Bl;_o.folderName=ls;var Ul="popup",ss=Ul;import{jsx as ds}from"react/jsx-runtime";var cs="k-popup",au=[],ru={},ps={positionMode:"absolute"},re=e=>{let{offset:o,positionMode:t=ps.positionMode,animationStyle:r,containerClassName:l,containerRole:n,containerAriaLabel:d,...m}=e;return ds(_o,{positionMode:t,offset:o,animationStyle:r,className:l,role:n,"aria-label":d,children:ds("div",{...m,className:a(e.className,cs),children:e.children})})};re.states=au;re.options=ru;re.className=cs;re.defaultOptions=ps;re.moduleName=Ul;re.folderName=ss;re.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 Fl="action-buttons",ms=Fl;import{jsx as nu}from"react/jsx-runtime";var Ar="k-actions",lu=[],iu={},$l={alignment:"start",orientation:"horizontal"},To=e=>{let{alignment:o=$l.alignment,orientation:t=$l.orientation,...r}=e;return nu("div",{...r,className:a(Ar,{[`${Ar}-${o}`]:o,[`${Ar}-${t}`]:t},e.className),children:e.children})};To.states=lu;To.options=iu;To.className=Ar;To.defaultOptions=$l;To.moduleName=Fl;To.folderName=ms;import{jsx as du}from"react/jsx-runtime";var su="k-actionsheet-footer",us={alignment:"stretched",orientation:"horizontal"},nt=e=>{let{alignment:o=us.alignment,orientation:t=us.orientation,template:r,as:l=r?"div":To,...n}=e;return du(l,{...n,...!r&&{alignment:o,orientation:t},className:a(e.className,su),children:e.children})};var Vl="searchbox",bs=Vl;import{jsx as Xa,jsxs as mu}from"react/jsx-runtime";var fs="k-searchbox",cu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],pu={size:[s.undefined,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Wl={showIcon:!0,icon:"search"},ro=e=>{let{value:o,placeholder:t,size:r,rounded:l,fillMode:n,hover:d,focus:m,valid:b,invalid:N,required:x,loading:k,disabled:u,showIcon:v=Wl.showIcon,icon:L=Wl.icon,"aria-label":I,...E}=e;return mu(we,{...E,size:r,rounded:l,fillMode:n,hover:d,focus:m,valid:b,invalid:N,required:x,loading:k,disabled:u,className:a(e.className,fs),children:[v&&Xa(f,{className:"k-input-icon",icon:L}),Xa(ao,{placeholder:t,value:o,"aria-label":I}),Xa(Ye,{...e}),Xa(ze,{...e}),Xa(to,{...e})]})};ro.states=cu;ro.options=pu;ro.className=fs;ro.defaultOptions=Wl;ro.moduleName=Vl;ro.folderName=bs;import{jsx as FM}from"react/jsx-runtime";var Xl="textbox",Ts=Xl;import{Fragment as gs,jsx as st,jsxs as Jl}from"react/jsx-runtime";var hs="k-textbox",uu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],bu={size:[s.undefined,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ir={showClearButton:!0,showValidationIcon:!0,separators:!0},ue=e=>{let{size:o,rounded:t,fillMode:r,separators:l=Ir.separators,showClearButton:n=Ir.showClearButton,showValidationIcon:d=Ir.showValidationIcon,prefix:m,suffix:b,type:N,value:x,placeholder:k,hover:u,focus:v,valid:L,invalid:I,required:E,loading:G,disabled:B,readonly:he,id:ce,"aria-label":Ke,"aria-describedby":De,...Be}=e;return Jl(we,{...Be,size:o,rounded:t,fillMode:r,hover:u,focus:v,valid:L,invalid:I,required:E,loading:G,disabled:B,readonly:he,className:a(e.className,hs),children:[m&&Jl(gs,{children:[st(uo,{children:m}),l&&st(fo,{})]}),st(ao,{id:ce,placeholder:k,value:x,type:N,disabled:B,"aria-label":Ke,"aria-describedby":De,"aria-invalid":I?"true":void 0}),d&&st(ze,{valid:L,invalid:I,loading:G,disabled:B}),st(Ye,{loading:G,disabled:B}),n&&st(to,{loading:G,disabled:B,readonly:he,value:x}),b&&Jl(gs,{children:[l&&st(fo,{}),st(bo,{children:b})]})]})};ue.states=uu;ue.options=bu;ue.className=hs;ue.defaultOptions=Ir;ue.moduleName=Xl;ue.folderName=Ts;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 Ja=ue;import{jsx as fu}from"react/jsx-runtime";var xs=e=>fu(Ja,{...e});import{Fragment as ny,jsx as iy}from"react/jsx-runtime";import{Fragment as uy,jsx as my}from"react/jsx-runtime";import{jsx as gy}from"react/jsx-runtime";import{jsx as ql}from"react/jsx-runtime";var Tu=ue.states,gu=ue.defaultOptions,hu=ue.options,xu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Nu=[],Wt=e=>{let{modifiers:o,...t}=e,r={};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":r.prefix=o?.[l]?ql(f,{icon:"lock"}):void 0;break;case"suffix":r.suffix=o?.[l]?ql(Mt,{size:t.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":r.showClearButton=o?.[l];break;default:break}}),ql(xs,{value:"Value",style:{width:300},...t,...r})};Wt.options=hu;Wt.states=Tu;Wt.variants=Nu;Wt.defaultOptions=gu;Wt.modifiers=xu;Wt.className=ue.className;import{jsx as dt,jsxs as Yl}from"react/jsx-runtime";var Ns="k-actionsheet-titlebar",ku={},Ue=e=>{let{title:o,subtitle:t,actionsStart:r,actionsEnd:l,filter:n,input:d,inputValue:m,inputPlaceholder:b,adaptive:N,titleId:x,children:k,...u}=e;return Yl("div",{...u,className:a(e.className,Ns),children:[Yl("div",{className:"k-actionsheet-titlebar-group",children:[r&&dt("div",{className:"k-actionsheet-actions",children:r}),!k&&Yl("div",{className:"k-actionsheet-title",id:x,children:[o&&dt("div",{className:"k-text-center",children:o}),t&&dt("div",{className:"k-actionsheet-subtitle k-text-center",children:t})]}),k&&dt("div",{className:"k-actionsheet-title",id:x,children:k}),l&&dt("div",{className:"k-actionsheet-actions",children:l})]}),(d||n)&&dt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?dt(ue,{value:m,placeholder:b,size:N?"large":"medium","aria-label":o||b||"Input"}):dt(ro,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};Ue.className=Ns;Ue.defaultOptions=ku;import{jsx as Ql,jsxs as Lu}from"react/jsx-runtime";var Zl="k-actionsheet-view",vu=[],wu={},Cu={},Xt=e=>{let{adaptive:o,animated:t,children:r,header:l,footer:n,titleId:d,...m}=e,b=l?.type===Ue&&Ql(Ue,{adaptive:o,titleId:d,...l?.props}),N=n?.type===nt&&Ql(nt,{...n?.props});return Lu("div",{...m,className:a(e.className,Zl,{[`${Zl}-animated`]:t}),children:[b,Ql("div",{className:"k-actionsheet-content",children:r}),N]})};Xt.states=vu;Xt.options=wu;Xt.className=Zl;Xt.defaultOptions=Cu;var qa="action-sheet",Rr=qa;var jl="overlay",ks=jl;import{jsx as Au}from"react/jsx-runtime";var vs="k-overlay",Mu=[],yu={},Su={},ct=e=>{let{...o}=e;return Au("div",{...o,className:a(e.className,vs),children:e.children})};ct.states=Mu;ct.options=yu;ct.className=vs;ct.defaultOptions=Su;ct.moduleName=jl;ct.folderName=ks;import{jsx as Er,jsxs as Eu}from"react/jsx-runtime";var ws="k-actionsheet",Iu=[],Ru={},Ya={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Ne=e=>{let{side:o=Ya.side,fullscreen:t=Ya.fullscreen,adaptive:r=Ya.adaptive,overlay:l=Ya.overlay,template:n,children:d,header:m,footer:b,id:N,...x}=e,k=N&&!n&&m?`${N}-title`:void 0;return Eu("div",{className:"k-actionsheet-container",children:[l&&Er(ct,{}),Er(_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:Er("div",{...x,id:N,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":k,className:a(e.className,ws,{[`k-actionsheet-${o}`]:t===!1,"k-actionsheet-fullscreen":t===!0,"k-adaptive-actionsheet":r}),children:n||Er(Xt,{header:m,footer:b,adaptive:r,titleId:k,...e,children:d})})})]})};Ne.states=Iu;Ne.options=Ru;Ne.className=ws;Ne.defaultOptions=Ya;Ne.moduleName=qa;Ne.folderName=Rr;Ne.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};import{jsx as Pu}from"react/jsx-runtime";var Cs="k-actionsheet-container",Gu=[],Ou={},Hu={},Jt=e=>{let{children:o,...t}=e;return Pu("div",{...t,className:Cs,children:o})};Jt.states=Gu;Jt.options=Ou;Jt.className=Cs;Jt.defaultOptions=Hu;Jt.moduleName=qa;Jt.folderName=Rr;import{jsx as _u}from"react/jsx-runtime";var ei=e=>{let{...o}=e;return _u("div",{...o,className:a(e.className,"k-list-ul"),children:e.children})};import{Fragment as Du,jsx as Qa,jsxs as oi}from"react/jsx-runtime";var ti="k-actionsheet-item",Ku=[i.hover,i.focus,i.selected,i.disabled],pt=e=>{let{iconName:o,text:t,description:r,hover:l,focus:n,selected:d,disabled:m,...b}=e;return oi("span",{...b,className:a(e.className,ti,y(ti,{hover:l,focus:n,selected:d,disabled:m})),children:[!e.children&&Qa(Du,{children:oi("span",{className:"k-actionsheet-action",children:[o&&Qa("span",{className:"k-icon-wrap",children:Qa(f,{className:"k-actionsheet-item-icon",icon:o})}),oi("span",{className:"k-actionsheet-item-text",children:[t&&Qa("span",{className:"k-actionsheet-item-title",children:t}),r&&Qa("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};pt.states=Ku;pt.className=ti;import{jsx as TS,jsxs as gS}from"react/jsx-runtime";import{jsx as kS}from"react/jsx-runtime";import{jsx as LS}from"react/jsx-runtime";import{jsx as AS}from"react/jsx-runtime";import{jsx as Ie,jsxs as ai}from"react/jsx-runtime";var Bu=Ne.options,zu=Ne.states,Ms={...Ne.defaultOptions,variant:"normal"},Uu=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Fu=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],qt=e=>{let{variant:o,modifiers:t,...r}={...Ms,...e},l={},n=ai(ei,{children:[Ie(pt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),Ie(pt,{text:"Add to Favorites",iconName:"heart"}),Ie(pt,{text:"Upload New",iconName:"upload",disabled:!0}),Ie("hr",{className:"k-hr"}),Ie(pt,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",m="Select Item";return o==="fullScreen"&&(l.fullScreen=!0),Object.keys(t||{}).forEach(b=>{switch(b){case"actions":l.actionsStart=!!t?.[b],l.actionsEnd=!!t?.[b];break;case"subtitle":l.subtitle=t?.[b]?d:void 0;break;case"footer":l.footer=!!t?.[b];break;default:break}}),o==="adaptive"?Ie(Ne,{...r,adaptive:!0,fullscreen:l.fullScreen,header:Ie(Ue,{actionsStart:l.actionsStart?Ie(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?Ie(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:l.subtitle}),footer:l.footer?ai(nt,{alignment:"stretched",children:[Ie(p,{text:"Cancel",size:"large",themeColor:"base"}),Ie(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:n}):Ie(Ne,{...r,fullscreen:l.fullScreen,header:Ie(Ue,{actionsStart:l.actionsStart?Ie(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?Ie(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:l.subtitle}),footer:l.footer?ai(nt,{alignment:"stretched",children:[Ie(p,{text:"Apply",themeColor:"primary"}),Ie(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:n})};qt.options=Bu;qt.states=zu;qt.variants=Uu;qt.defaultOptions=Ms;qt.modifiers=Fu;qt.className=Ne.className;import li from"react";import{jsx as ys}from"react/jsx-runtime";var $u="k-list-group-sticky-header",ri=e=>ys("div",{className:a($u,e.className),children:ys("div",{className:"k-list-header-text",children:e.children})});import{jsx as Wu}from"react/jsx-runtime";var Vu="k-no-data",Gr=e=>{let{live:o,...t}=e;return Wu("span",{...t,className:a(Vu,e.className),"aria-live":o?"polite":void 0,children:e.children})};var St="list",Yt=St;import{jsx as Ss,jsxs as As}from"react/jsx-runtime";var ii="k-list",Xu=[],Ju={size:[s.undefined,s.small,s.medium,s.large]},qu={},te=e=>{let{size:o,virtualization:t,children:r,header:l,selectAll:n,optionLabel:d,customValue:m,noData:b,screenReaders:N,...x}=e,u=li.Children.toArray(r)[0],v=u?.props?.children?li.Children.count(u.props.children):li.Children.count(r);return As("div",{...x,className:a(e.className,ii,M(ii,{size:o}),{"k-virtual-list":t}),children:[d,n,m,l&&Ss(ri,{children:l}),r||(b!==void 0?b:Ss(Gr,{live:!0,children:"No data found."})),N&&r&&As(Gr,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};te.states=Xu;te.options=Ju;te.className=ii;te.defaultOptions=qu;te.moduleName=St;te.folderName=Yt;te.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};import{jsx as ju}from"react/jsx-runtime";var Is="k-list-container",Yu=[],Qu={},Zu={},Qt=e=>{let{...o}=e;return ju("div",{...o,className:a(e.classNa