UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 194 kB
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 Tn(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"},Eo={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 ml={};function P(e){return ml[e]=(ml[e]||0)+1,`k-${e}-${ml[e]}`}var Q="grid",ee=Q;import{jsx as Uc,jsxs as Fc}from"react/jsx-runtime";var Tr="k-grid",Dc=[],Bc={size:[s.undefined,s.small,s.medium,s.large]},zc=[],gn={pagerPosition:"bottom"},O=e=>{let{size:o,pagerPosition:t=gn.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 Fc("div",{...v,className:a(e.className,Tr,{[`${Tr}-resizable`]:b},M(Tr,{size:o})),children:[r,t==="top"&&l,n,e.children&&m?Uc("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=Dc;O.options=Bc;O.variants=zc;O.className=Tr;O.defaultOptions=gn;O.moduleName=Q;O.folderName=ee;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 $c}from"react/jsx-runtime";var hn="k-grid-header",W=e=>{let{draggable:o,...t}=e;return $c("div",{...t,className:a(e.className,hn,{"k-grid-draggable-header":o}),children:e.children})};W.className=hn;W.moduleName=Q;W.folderName=ee;import{jsx as xn,jsxs as Vc}from"react/jsx-runtime";var Nn="k-grouping-header",Ee=e=>{let{dropHint:o,dropClue:t,...r}=e;return Vc("div",{...r,className:a(e.className,Nn),children:[t&&xn("div",{className:"k-grouping-dropclue"}),e.children,xn("div",{className:"k-grouping-drop-container",children:o})]})};Ee.className=Nn;Ee.moduleName=Q;Ee.folderName=ee;import{jsx as Wc}from"react/jsx-runtime";var kn="k-grid-pinned-container",_a=e=>{let{position:o,...t}=e;return Wc("div",{...t,className:a(e.className,kn,{"k-pos-bottom":o==="bottom"}),children:e.children})};_a.className=kn;_a.moduleName=Q;_a.folderName=ee;import{jsx as Xc}from"react/jsx-runtime";var vn="k-grid-sticky-container",Ka=e=>{let{position:o,...t}=e;return Xc("div",{...t,className:a(e.className,vn,{"k-pos-bottom":o==="bottom"}),children:e.children})};Ka.className=vn;Ka.moduleName=Q;Ka.folderName=ee;var Ae="table",Ge=Ae;import{jsx as Qc}from"react/jsx-runtime";var wn="k-data-table",Jc=[],qc={size:[s.undefined,s.small,s.medium,s.large]},Yc={},Bo=e=>{let{size:o,...t}=e;return Qc("div",{...t,className:a(e.className,wn,M("k-table",{size:o})),children:e.children})};Bo.states=Jc;Bo.options=qc;Bo.className=wn;Bo.defaultOptions=Yc;Bo.moduleName=Ae;Bo.folderName=Ge;import{jsx as op}from"react/jsx-runtime";var ul="k-table-header-wrap",Zc=[i.hover,i.focus,i.disabled],jc={},ep={},et=e=>{let{children:o,hover:t,focus:r,disabled:l,...n}=e;return op("div",{...n,className:a(e.className,ul,y(ul,{hover:t,focus:r,disabled:l})),children:o})};et.states=Zc;et.options=jc;et.className=ul;et.defaultOptions=ep;et.moduleName=Ae;et.folderName=Ge;import{jsx as lp}from"react/jsx-runtime";var bl="k-table",tp=[],ap={size:[s.undefined,s.small,s.medium,s.large]},rp={},Oe=e=>{let{size:o,...t}=e;return lp("table",{...t,className:a(e.className,bl,M(bl,{size:o})),children:e.children})};Oe.states=tp;Oe.options=ap;Oe.className=bl;Oe.defaultOptions=rp;Oe.moduleName=Ae;Oe.folderName=Ge;import{jsx as fl}from"react/jsx-runtime";var Tl="k-table-header",ip=[i.hover,i.focus,i.disabled],np={},sp={},zo=e=>{let{children:o,hover:t,focus:r,disabled:l,...n}=e;return fl("div",{...n,className:a(e.className,Tl,y(Tl,{hover:t,focus:r,disabled:l})),children:fl(et,{children:fl(Oe,{children:o})})})};zo.states=ip;zo.options=np;zo.className=Tl;zo.defaultOptions=sp;zo.moduleName=Ae;zo.folderName=Ge;import{jsx as mp}from"react/jsx-runtime";var Cn="k-table-scroller",dp=[],cp={},pp={},Bt=e=>{let{children:o,...t}=e;return mp("div",{...t,className:a(e.className,Cn),children:o})};Bt.states=dp;Bt.options=cp;Bt.className=Cn;Bt.defaultOptions=pp;Bt.moduleName=Ae;Bt.folderName=Ge;import{jsx as tk}from"react/jsx-runtime";import{jsx as Tp}from"react/jsx-runtime";var Ln="k-table-footer",up=[],bp={},fp={},ot=e=>{let{children:o,...t}=e;return Tp("div",{...t,className:a(e.className,Ln),children:o})};ot.states=up;ot.options=bp;ot.className=Ln;ot.defaultOptions=fp;ot.moduleName=Ae;ot.folderName=Ge;import{jsx as Np}from"react/jsx-runtime";var gl="k-table-list",gp=[],hp={size:[s.undefined,s.small,s.medium,s.large]},xp={},tt=e=>{let{size:o,virtualization:t,...r}=e;return Np("ul",{...r,className:a(e.className,"k-table",gl,M(gl,{size:o}),{"k-virtual-table":t}),children:e.children})};tt.states=gp;tt.options=hp;tt.className=gl;tt.defaultOptions=xp;tt.moduleName=Ae;tt.folderName=Ge;import{jsx as vp}from"react/jsx-runtime";var kp="k-table-thead",U=e=>vp("thead",{className:a(e.className,kp),children:e.children});import{jsx as Cp}from"react/jsx-runtime";var wp="k-table-tbody",X=e=>Cp("tbody",{className:a(e.className,wp),children:e.children});import{jsx as Nk}from"react/jsx-runtime";import{jsx as Mp}from"react/jsx-runtime";var hl="k-table-row",Lp=[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 Mp("tr",{...m,className:a(e.className,hl,{"k-table-alt-row":d},y(hl,{hover:o,focus:t,disabled:n,selected:r,highlighted:l})),children:e.children})};C.states=Lp;C.className=hl;import{jsx as Sp}from"react/jsx-runtime";var xl="k-table-row",yp=[i.hover,i.focus,i.selected,i.disabled],gr=e=>{let{hover:o,focus:t,selected:r,disabled:l,alt:n,...d}=e;return Sp("li",{...d,className:a(e.className,xl,{"k-table-alt-row":n},y(xl,{hover:o,focus:t,disabled:l,selected:r})),children:e.children})};gr.states=yp;gr.className=xl;import{jsx as Ap}from"react/jsx-runtime";var Mn="k-table-th",Uo=e=>{let{text:o,colspan:t,rowspan:r,...l}=e,n=o||e.children;return Ap("th",{colSpan:t,rowSpan:r,...l,className:a(e.className,Mn),children:n})};Uo.className=Mn;Uo.moduleName=Ae;Uo.folderName=Ge;import{jsx as Ok}from"react/jsx-runtime";import{jsx as Rp}from"react/jsx-runtime";var Nl="k-table-td",Ip=[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 Rp("td",{colSpan:n,rowSpan:d,...m,className:a(e.className,Nl,y(Nl,{focus:o,selected:t,highlighted:r})),children:b})};c.states=Ip;c.className=Nl;import{jsx as zk}from"react/jsx-runtime";import{jsx as Vk}from"react/jsx-runtime";import{jsx as qk}from"react/jsx-runtime";import{jsx as jk}from"react/jsx-runtime";import{jsx as av}from"react/jsx-runtime";import{jsx as cv,jsxs as pv}from"react/jsx-runtime";import{jsx as fv,jsxs as Tv}from"react/jsx-runtime";import{jsx as Nv,jsxs as kv}from"react/jsx-runtime";import{Fragment as yv,jsx as Lv,jsxs as Mv}from"react/jsx-runtime";import{jsx as Op}from"react/jsx-runtime";var An="k-grid-header-table",J=e=>Op(Oe,{...e,className:a(e.className,An),children:e.children});J.className=An;J.moduleName=Q;J.folderName=ee;import{Fragment as Kp,jsx as In}from"react/jsx-runtime";var kl="k-font-icon",Hp=[],Pp={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]},_p={},Da=e=>{let{size:o,themeColor:t,icon:r,rotate:l,flip:n,...d}=e;return r?In("span",{...d,className:a(e.className,kl,M(kl,{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"}):In(Kp,{})};Da.states=Hp;Da.options=Pp;Da.className=kl;Da.defaultOptions=_p;var Rn=Da;import{Fragment as zp,jsx as hr}from"react/jsx-runtime";var vl="k-svg-icon",Dp=[],Bp={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:[Eo.outline,Eo.solid,Eo.duotone]},wl={viewBox:"0 0 24 24",variant:Eo.outline},Ba=e=>{let{size:o,themeColor:t,rotate:r,flip:l,viewBox:n=wl.viewBox,variant:d=wl.variant,icon:m,...b}=e;if(!m)return hr(zp,{});if(m==="none")return hr("span",{...b,className:a(e.className,vl,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 hr("span",{...b,className:a(e.className,vl,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:hr("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})})};Ba.states=Dp;Ba.options=Bp;Ba.className=vl;Ba.defaultOptions=wl;var Cl=Ba;import*as Ll from"@progress/kendo-svg-icons";var En="icon",Gn="icons";import{useContext as Fp}from"react";import{createContext as Up}from"react";var On=Up({iconsType:"svg"});import{Fragment as Hn,jsx as za}from"react/jsx-runtime";var xr="k-icon",$p=e=>e.replace(/([-_][a-z0-9])/gi,o=>o.toUpperCase().replace("-","").replace("_","")),Vp=[],Wp={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:[Eo.outline,Eo.solid,Eo.duotone]},Nr={viewBox:"0 0 24 24",type:"svg",variant:Eo.outline},f=e=>{let{iconsType:o}=Fp(On),{size:t,themeColor:r,icon:l,type:n=o||Nr.type,rotate:d,flip:m,viewBox:b=Nr.viewBox,variant:N=Nr.variant,...x}=e;if(!l)return za(Hn,{});if((o||n)==="svg"){if(l==="none")return za(Cl,{...x,className:a(e.className,xr),icon:l,size:t,variant:N});let u=Ll[l]?l:$p(`${l}-icon`);return Ll[u]?za(Cl,{...x,className:a(e.className,xr),icon:Ll[u],size:t,themeColor:r,rotate:d,flip:m,viewBox:b,variant:N}):za(Hn,{})}return za(Rn,{...x,className:a(e.className,xr),icon:l,size:t,themeColor:r,rotate:d,flip:m})};f.states=Vp;f.options=Wp;f.defaultOptions=Nr;f.className=xr;f.moduleName=En;f.folderName=Gn;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 at,jsxs as Ml}from"react/jsx-runtime";var yl="k-header",Xp=[i.hover,i.focus,i.active],Pn={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=Pn.sortIcon,sortOrder:k,accessibleLabel:u,...v}=e;return Ml(Uo,{...v,className:a(e.className,yl,{"k-filterable":o||r,"k-sorted":t,"k-grid-header-sticky":l,"k-touch-action-none":n},y(yl,{hover:m,focus:b,active:N})),children:[d&&Ml("span",{className:"k-cell-inner",children:[Ml("span",{className:"k-link",children:[at("span",{className:"k-column-title",children:d}),t&&at("span",{className:"k-sort-icon",children:at(f,{icon:x})}),k&&at("span",{className:"k-sort-order",children:k})]}),o&&at("a",{className:a("k-grid-header-menu",{"k-active":N,"k-grid-filter-menu":o==="filter","k-grid-column-menu":o==="column"}),children:at(f,{icon:o==="filter"?"filter":"more-vertical"})})]}),!d&&u&&at("span",{className:"k-sr-only",children:u}),e.children,n&&at("span",{className:"k-column-resizer k-touch-action-none"})]})};A.states=Xp;A.className=yl;A.defaultOptions=Pn;A.moduleName=Q;A.folderName=ee;import{jsx as Jp}from"react/jsx-runtime";var _n="k-grid-container",F=e=>Jp("div",{...e,className:a(e.className,_n),children:e.children});F.className=_n;F.moduleName=Q;F.folderName=ee;import{jsx as qp}from"react/jsx-runtime";var Kn="k-grid-content",$=e=>qp("div",{...e,className:a(e.className,Kn),children:e.children});$.className=Kn;$.moduleName=Q;$.folderName=ee;import{jsx as Yp}from"react/jsx-runtime";var Dn="k-grid-table",V=e=>Yp(Oe,{...e,className:a(e.className,Dn),children:e.children});V.className=Dn;V.moduleName=Q;V.folderName=ee;import{jsx as Qp}from"react/jsx-runtime";var Bn="k-grid-footer",kr=e=>Qp("div",{...e,className:a(e.className,Bn),children:e.children});kr.className=Bn;kr.moduleName=Q;kr.folderName=ee;import{jsx as Zp}from"react/jsx-runtime";var zn="k-grid-footer-table",vr=e=>Zp(Oe,{...e,className:a(e.className,zn),children:e.children});vr.className=zn;vr.moduleName=Q;vr.folderName=ee;var Sl="button",Un=Sl;import{Fragment as Fn,jsx as zt,jsxs as $n}from"react/jsx-runtime";var Ua="k-button",jp=["icon-button"],em=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],om={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]},Al={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:o="button",size:t,rounded:r,fillMode:l,themeColor:n,showArrow:d=Al.showArrow,arrowIconName:m=Al.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 $n(o,{className:a(ce,Ua,Tn(Ua,b),M(Ua,{size:t,rounded:r,fillMode:l,themeColor:n}),y(Ua,{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&&zt(f,{className:a(he,"k-button-icon"),icon:E,size:G}),E&&typeof E!="string"&&zt(Fn,{children:E}),B?$n(Fn,{children:[B&&zt("span",{className:"k-button-text",children:B}),e.children]}):e.children&&zt("span",{className:"k-button-text",children:e.children}),d&&zt("span",{className:"k-menu-button-arrow k-button-arrow",children:zt(f,{icon:m})})]})};p.states=em;p.options=om;p.variants=jp;p.className=Ua;p.defaultOptions=Al;p.moduleName=Sl;p.folderName=Un;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 tm}from"react/jsx-runtime";var rt=e=>tm(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as am}from"react/jsx-runtime";var Fa=e=>am(p,{icon:"folder",children:"Button",...e});import{jsx as rm}from"react/jsx-runtime";var vt=e=>rm(p,{children:"Button",...e});import{jsx as Il}from"react/jsx-runtime";var lm=p.options,im=p.states,nm={...p.defaultOptions,variant:"text"},sm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],dm=[],Ut=e=>{let{variant:o,...t}=e;switch(o){case"icon-only":return Il(rt,{...t,icon:"star"});case"icon-and-text":return Il(Fa,{...t,icon:"star",children:"Button"});default:return Il(vt,{...t,children:"Button"})}};Ut.options=lm;Ut.states=im;Ut.variants=sm;Ut.defaultOptions=nm;Ut.modifiers=dm;Ut.className=p.className;var $a="input",wr=$a;import{jsx as um}from"react/jsx-runtime";var Cr="k-input",cm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],pm={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]},mm={},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 um("span",{...k,className:a(e.className,Cr,M(Cr,{size:b,rounded:N,fillMode:x}),y(Cr,{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:d,readonly:m}))})};we.states=cm;we.options=pm;we.className=Cr;we.defaultOptions=mm;we.moduleName=$a;we.folderName=wr;import{jsx as gm}from"react/jsx-runtime";var Lr="k-picker",bm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],fm={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]},Tm={},Go=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 gm("span",{...k,className:a(e.className,Lr,M(Lr,{size:b,rounded:N,fillMode:x}),y(Lr,{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:d,readonly:m})),children:e.children})};Go.states=bm;Go.options=fm;Go.className=Lr;Go.defaultOptions=Tm;Go.moduleName=$a;Go.folderName=wr;import{Fragment as Nm,jsx as Rl}from"react/jsx-runtime";var Vn="k-clear-value",hm=[i.disabled,i.loading,i.readonly],xm={},to=e=>{let{disabled:o,loading:t,readonly:r,value:l}=e;return o||r||t||!l?Rl(Nm,{}):Rl("span",{className:a(e.className,Vn),children:Rl(f,{icon:"x"})})};to.states=hm;to.options=xm;to.className=Vn;import{jsx as wm}from"react/jsx-runtime";var El="k-input-inner",km=[],vm={},Mr={type:"text",autocomplete:"off",value:"",placeholder:""},ao=e=>{let{value:o=Mr.value,type:t=Mr.type,placeholder:r=Mr.placeholder,autocomplete:l=Mr.autocomplete,disabled:n,readOnly:d,...m}=e;return wm("input",{...m,type:t,className:a(e.className,El,M(El,e)),placeholder:r,autoComplete:l,defaultValue:o,disabled:n||void 0,readOnly:d||void 0})};ao.states=km;ao.options=vm;ao.className=El;import{jsx as Wn,jsxs as Mm}from"react/jsx-runtime";var Gl="k-input-inner",Cm=[],Lm={},wt=e=>{let{value:o,placeholder:t,showValue:r,valueIcon:l,valueIconName:n,...d}=e;return Mm("span",{...d,className:a(e.className,Gl,M(Gl,e)),children:[l,!l&&n&&Wn(f,{className:"k-input-value-icon",icon:n}),r&&!o&&t,r&&o&&Wn("span",{className:"k-input-value-text",children:o})]})};wt.states=Cm;wt.options=Lm;wt.className=Gl;import{jsx as Am}from"react/jsx-runtime";var Ol="k-input-inner",ym=[],Sm={},Xn={value:"",placeholder:""},Hl=e=>{let{value:o=Xn.value,placeholder:t=Xn.placeholder,rows:r,disabled:l,...n}=e;return Am("textarea",{...n,className:a(e.className,Ol,M(Ol,e)),placeholder:t,rows:r,defaultValue:o,disabled:l||void 0})};Hl.states=ym;Hl.options=Sm;Hl.className=Ol;import{Fragment as Rm,jsx as Jn}from"react/jsx-runtime";var qn="k-input-loading-icon",Im=[i.disabled,i.loading],Ye=e=>{let{disabled:o,loading:t}=e;return o||!t?Jn(Rm,{}):Jn("span",{className:a(e.className,qn,"k-icon k-i-loading")})};Ye.states=Im;Ye.className=qn;import{Fragment as Om,jsx as Yn}from"react/jsx-runtime";var Qn="k-input-validation-icon",Em=[i.valid,i.invalid,i.disabled,i.loading],Gm={},ze=e=>{let{valid:o,invalid:t,disabled:r,loading:l}=e,n=t?"warning-circle":"check-circle";return r||l||!!!(o||t)?Yn(Om,{}):Yn(f,{className:a(Qn),icon:n})};ze.states=Em;ze.options=Gm;ze.className=Qn;import{Fragment as _m,jsx as Zn}from"react/jsx-runtime";var Hm="k-input-prefix",Pm={direction:"horizontal"},mo=e=>{let{direction:o=Pm.direction,...t}=e;return e.children?Zn("span",{...t,className:a(Hm,e.className,{[`k-input-prefix-${o}`]:o}),children:e.children}):Zn(_m,{})};import{Fragment as Bm,jsx as jn}from"react/jsx-runtime";var Km="k-input-suffix",Dm={direction:"horizontal"},uo=e=>{let{direction:o=Dm.direction,...t}=e;return e.children?jn("span",{...t,className:a(Km,e.className,{[`k-input-suffix-${o}`]:o}),children:e.children}):jn(Bm,{})};import{jsx as gL}from"react/jsx-runtime";import{jsx as Um}from"react/jsx-runtime";var zm="k-input-suffix-text",Pl=e=>{let{children:o,...t}=e;return Um("span",{...t,className:a(zm,e.className),children:o})};import{jsx as $m}from"react/jsx-runtime";var es="k-input-separator",Fm={direction:"vertical"},bo=e=>{let{direction:o=Fm.direction,...t}=e;return $m("span",{...t,className:a(es,e.className,{[`${es}-${o}`]:o})})};import{Fragment as os,jsx as Oo,jsxs as _l}from"react/jsx-runtime";var Vm=we.states,Wm=we.defaultOptions,Xm=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"}],qm=[],Ft=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 _l(we,{...m,valid:t,invalid:r,loading:l,disabled:n,readonly:d,style:{width:300},children:[b&&_l(os,{children:[Oo(mo,{children:Oo(f,{icon:"lock"})}),u&&Oo(bo,{})]}),Oo(ao,{placeholder:"Placeholder",value:"Value"}),k&&Oo(ze,{valid:t,invalid:r,loading:l,disabled:n}),Oo(Ye,{loading:l,disabled:n}),x&&Oo(to,{loading:l,disabled:n,readonly:d,value:"Value"}),N&&_l(os,{children:[u&&Oo(bo,{}),Oo(uo,{children:Oo(vt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};Ft.options=Xm;Ft.states=Vm;Ft.variants=qm;Ft.defaultOptions=Wm;Ft.modifiers=Jm;Ft.className=we.className;var Kl="popup",ts=Kl;import{jsx as as}from"react/jsx-runtime";var rs="k-animation-container",Ym=[],Qm={},Dl={positionMode:"absolute",shown:!0},Ho=e=>{let{positionMode:o=Dl.positionMode,shown:t=Dl.shown,animationStyle:r,offset:l,...n}=e;return as("div",{...n,style:{...l,...e.style},className:a(e.className,rs,{"k-animation-container-shown":t,"k-animation-container-fixed":o==="fixed"}),children:as("div",{className:"k-child-animation-container",style:r,children:e.children})})};Ho.states=Ym;Ho.options=Qm;Ho.className=rs;Ho.defaultOptions=Dl;Ho.moduleName=Kl;Ho.folderName=ts;var Bl="popup",ls=Bl;import{jsx as is}from"react/jsx-runtime";var ns="k-popup",Zm=[],jm={},ss={positionMode:"absolute"},re=e=>{let{offset:o,positionMode:t=ss.positionMode,animationStyle:r,containerClassName:l,containerRole:n,containerAriaLabel:d,...m}=e;return is(Ho,{positionMode:t,offset:o,animationStyle:r,className:l,role:n,"aria-label":d,children:is("div",{...m,className:a(e.className,ns),children:e.children})})};re.states=Zm;re.options=jm;re.className=ns;re.defaultOptions=ss;re.moduleName=Bl;re.folderName=ls;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 zl="action-buttons",ds=zl;import{jsx as tu}from"react/jsx-runtime";var yr="k-actions",eu=[],ou={},Ul={alignment:"start",orientation:"horizontal"},fo=e=>{let{alignment:o=Ul.alignment,orientation:t=Ul.orientation,...r}=e;return tu("div",{...r,className:a(yr,{[`${yr}-${o}`]:o,[`${yr}-${t}`]:t},e.className),children:e.children})};fo.states=eu;fo.options=ou;fo.className=yr;fo.defaultOptions=Ul;fo.moduleName=zl;fo.folderName=ds;import{jsx as ru}from"react/jsx-runtime";var au="k-actionsheet-footer",cs={alignment:"stretched",orientation:"horizontal"},lt=e=>{let{alignment:o=cs.alignment,orientation:t=cs.orientation,template:r,as:l=r?"div":fo,...n}=e;return ru(l,{...n,...!r&&{alignment:o,orientation:t},className:a(e.className,au),children:e.children})};var Fl="searchbox",ps=Fl;import{jsx as Va,jsxs as nu}from"react/jsx-runtime";var ms="k-searchbox",lu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],iu={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]},$l={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=$l.showIcon,icon:L=$l.icon,"aria-label":I,...E}=e;return nu(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,ms),children:[v&&Va(f,{className:"k-input-icon",icon:L}),Va(ao,{placeholder:t,value:o,"aria-label":I}),Va(Ye,{...e}),Va(ze,{...e}),Va(to,{...e})]})};ro.states=lu;ro.options=iu;ro.className=ms;ro.defaultOptions=$l;ro.moduleName=Fl;ro.folderName=ps;import{jsx as PM}from"react/jsx-runtime";var Vl="textbox",us=Vl;import{Fragment as bs,jsx as it,jsxs as Wl}from"react/jsx-runtime";var fs="k-textbox",su=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],du={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]},Sr={showClearButton:!0,showValidationIcon:!0,separators:!0},ue=e=>{let{size:o,rounded:t,fillMode:r,separators:l=Sr.separators,showClearButton:n=Sr.showClearButton,showValidationIcon:d=Sr.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 Wl(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,fs),children:[m&&Wl(bs,{children:[it(mo,{children:m}),l&&it(bo,{})]}),it(ao,{id:ce,placeholder:k,value:x,type:N,disabled:B,"aria-label":Ke,"aria-describedby":De,"aria-invalid":I?"true":void 0}),d&&it(ze,{valid:L,invalid:I,loading:G,disabled:B}),it(Ye,{loading:G,disabled:B}),n&&it(to,{loading:G,disabled:B,readonly:he,value:x}),b&&Wl(bs,{children:[l&&it(bo,{}),it(uo,{children:b})]})]})};ue.states=su;ue.options=du;ue.className=fs;ue.defaultOptions=Sr;ue.moduleName=Vl;ue.folderName=us;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 Wa=ue;import{jsx as cu}from"react/jsx-runtime";var Ts=e=>cu(Wa,{...e});import{Fragment as ey,jsx as jM}from"react/jsx-runtime";import{Fragment as iy,jsx as ly}from"react/jsx-runtime";import{jsx as cy}from"react/jsx-runtime";import{jsx as Xl}from"react/jsx-runtime";var pu=ue.states,mu=ue.defaultOptions,uu=ue.options,bu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],fu=[],$t=e=>{let{modifiers:o,...t}=e,r={};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":r.prefix=o?.[l]?Xl(f,{icon:"lock"}):void 0;break;case"suffix":r.suffix=o?.[l]?Xl(vt,{size:t.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":r.showClearButton=o?.[l];break;default:break}}),Xl(Ts,{value:"Value",style:{width:300},...t,...r})};$t.options=uu;$t.states=pu;$t.variants=fu;$t.defaultOptions=mu;$t.modifiers=bu;$t.className=ue.className;import{jsx as nt,jsxs as Jl}from"react/jsx-runtime";var gs="k-actionsheet-titlebar",Tu={},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 Jl("div",{...u,className:a(e.className,gs),children:[Jl("div",{className:"k-actionsheet-titlebar-group",children:[r&&nt("div",{className:"k-actionsheet-actions",children:r}),!k&&Jl("div",{className:"k-actionsheet-title",id:x,children:[o&&nt("div",{className:"k-text-center",children:o}),t&&nt("div",{className:"k-actionsheet-subtitle k-text-center",children:t})]}),k&&nt("div",{className:"k-actionsheet-title",id:x,children:k}),l&&nt("div",{className:"k-actionsheet-actions",children:l})]}),(d||n)&&nt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?nt(ue,{value:m,placeholder:b,size:N?"large":"medium","aria-label":o||b||"Input"}):nt(ro,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};Ue.className=gs;Ue.defaultOptions=Tu;import{jsx as ql,jsxs as Nu}from"react/jsx-runtime";var Yl="k-actionsheet-view",gu=[],hu={},xu={},Vt=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===lt&&ql(lt,{...n?.props});return Nu("div",{...m,className:a(e.className,Yl,{[`${Yl}-animated`]:t}),children:[b,ql("div",{className:"k-actionsheet-content",children:r}),N]})};Vt.states=gu;Vt.options=hu;Vt.className=Yl;Vt.defaultOptions=xu;var Xa="action-sheet",Ar=Xa;var Ql="overlay",hs=Ql;import{jsx as Cu}from"react/jsx-runtime";var xs="k-overlay",ku=[],vu={},wu={},st=e=>{let{...o}=e;return Cu("div",{...o,className:a(e.className,xs),children:e.children})};st.states=ku;st.options=vu;st.className=xs;st.defaultOptions=wu;st.moduleName=Ql;st.folderName=hs;import{jsx as Ir,jsxs as yu}from"react/jsx-runtime";var Ns="k-actionsheet",Lu=[],Mu={},Ja={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Ne=e=>{let{side:o=Ja.side,fullscreen:t=Ja.fullscreen,adaptive:r=Ja.adaptive,overlay:l=Ja.overlay,template:n,children:d,header:m,footer:b,id:N,...x}=e,k=N&&!n&&m?`${N}-title`:void 0;return yu("div",{className:"k-actionsheet-container",children:[l&&Ir(st,{}),Ir(Ho,{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:Ir("div",{...x,id:N,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":k,className:a(e.className,Ns,{[`k-actionsheet-${o}`]:t===!1,"k-actionsheet-fullscreen":t===!0,"k-adaptive-actionsheet":r}),children:n||Ir(Vt,{header:m,footer:b,adaptive:r,titleId:k,...e,children:d})})})]})};Ne.states=Lu;Ne.options=Mu;Ne.className=Ns;Ne.defaultOptions=Ja;Ne.moduleName=Xa;Ne.folderName=Ar;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 Ru}from"react/jsx-runtime";var ks="k-actionsheet-container",Su=[],Au={},Iu={},Wt=e=>{let{children:o,...t}=e;return Ru("div",{...t,className:ks,children:o})};Wt.states=Su;Wt.options=Au;Wt.className=ks;Wt.defaultOptions=Iu;Wt.moduleName=Xa;Wt.folderName=Ar;import{jsx as Eu}from"react/jsx-runtime";var Zl=e=>{let{...o}=e;return Eu("div",{...o,className:a(e.className,"k-list-ul"),children:e.children})};import{Fragment as Ou,jsx as qa,jsxs as jl}from"react/jsx-runtime";var ei="k-actionsheet-item",Gu=[i.hover,i.focus,i.selected,i.disabled],dt=e=>{let{iconName:o,text:t,description:r,hover:l,focus:n,selected:d,disabled:m,...b}=e;return jl("span",{...b,className:a(e.className,ei,y(ei,{hover:l,focus:n,selected:d,disabled:m})),children:[!e.children&&qa(Ou,{children:jl("span",{className:"k-actionsheet-action",children:[o&&qa("span",{className:"k-icon-wrap",children:qa(f,{className:"k-actionsheet-item-icon",icon:o})}),jl("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]})};dt.states=Gu;dt.className=ei;import{jsx as dS,jsxs as cS}from"react/jsx-runtime";import{jsx as bS}from"react/jsx-runtime";import{jsx as hS}from"react/jsx-runtime";import{jsx as vS}from"react/jsx-runtime";import{jsx as Ie,jsxs as oi}from"react/jsx-runtime";var Hu=Ne.options,Pu=Ne.states,ws={...Ne.defaultOptions,variant:"normal"},_u=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Ku=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Xt=e=>{let{variant:o,modifiers:t,...r}={...ws,...e},l={},n=oi(Zl,{children:[Ie(dt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),Ie(dt,{text:"Add to Favorites",iconName:"heart"}),Ie(dt,{text:"Upload New",iconName:"upload",disabled:!0}),Ie("hr",{className:"k-hr"}),Ie(dt,{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?oi(lt,{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?oi(lt,{alignment:"stretched",children:[Ie(p,{text:"Apply",themeColor:"primary"}),Ie(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:n})};Xt.options=Hu;Xt.states=Pu;Xt.variants=_u;Xt.defaultOptions=ws;Xt.modifiers=Ku;Xt.className=Ne.className;import ai from"react";import{jsx as Cs}from"react/jsx-runtime";var Du="k-list-group-sticky-header",ti=e=>Cs("div",{className:a(Du,e.className),children:Cs("div",{className:"k-list-header-text",children:e.children})});import{jsx as zu}from"react/jsx-runtime";var Bu="k-no-data",Rr=e=>{let{live:o,...t}=e;return zu("span",{...t,className:a(Bu,e.className),"aria-live":o?"polite":void 0,children:e.children})};var Ct="list",Jt=Ct;import{jsx as Ls,jsxs as Ms}from"react/jsx-runtime";var ri="k-list",Uu=[],Fu={size:[s.undefined,s.small,s.medium,s.large]},$u={},oe=e=>{let{size:o,virtualization:t,children:r,header:l,selectAll:n,optionLabel:d,customValue:m,noData:b,screenReaders:N,...x}=e,u=ai.Children.toArray(r)[0],v=u?.props?.children?ai.Children.count(u.props.children):ai.Children.count(r);return Ms("div",{...x,className:a(e.className,ri,M(ri,{size:o}),{"k-virtual-list":t}),children:[d,n,m,l&&Ls(ti,{children:l}),r||(b!==void 0?b:Ls(Rr,{live:!0,children:"No data found."})),N&&r&&Ms(Rr,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};oe.states=Uu;oe.options=Fu;oe.className=ri;oe.defaultOptions=$u;oe.moduleName=Ct;oe.folderName=Jt;oe.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 ys="k-list-container",Vu=[],Wu={},Xu={},qt=e=>{let{...o}=e;return Ju("div",{...o,className:a(e.classNa