UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 220 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 R=(e,o)=>a({[`${e}-xs`]:o.size==="xsmall",[`${e}-sm`]:o.size==="small",[`${e}-md`]:o.size==="medium",[`${e}-lg`]:o.size==="large",[`${e}-xl`]:o.size==="xlarge",[`${e}-xxl`]:o.size==="xxlarge",[`${e}-xxxl`]:o.size==="xxxlarge"},{[`${e}-${o.fillMode}`]:o.fillMode},{[`${e}-${o.themeColor}`]:o.themeColor},{"k-rounded-sm":o.rounded==="small","k-rounded-md":o.rounded==="medium","k-rounded-lg":o.rounded==="large","k-rounded-full":o.rounded==="full","k-rounded-none":o.rounded==="none"}),S=(e,o)=>{let{valid:t,invalid:r,hover:l,focus:s,checked:c,active:u,selected:b,disabled:h,indeterminate:x,loading:v,empty:f,readonly:C,highlighted:M,...A}=o;return a({"k-valid":t,"k-invalid":r,"k-hover":l,"k-focus":s,"k-checked":c,"k-active":u,"k-selected":b,"k-disabled":h,"k-indeterminate":x&&!c,"k-loading":v,"k-empty":f,"k-readonly":C,"k-highlighted":M},Object.keys(A).reduce((O,_)=>(_.startsWith("k-")?O[_]=A[_]:O[`k-${_}`]=A[_],O),{}))};function $n(e,o){if(!o)return{};let t=Array.isArray(o)?o:[o];return Object.fromEntries(t.map(r=>[`k-${r}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},N={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},k={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Uo={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},L={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var Ol={};function E(e){return Ol[e]=(Ol[e]||0)+1,`k-${e}-${Ol[e]}`}var oe="grid",ae=oe;import{jsx as Rp,jsxs as Ip}from"react/jsx-runtime";var Pa="k-grid",yp=[],Mp={size:[d.undefined,d.small,d.medium,d.large]},Sp=[],Vn={pagerPosition:"bottom"},$=e=>{let{size:o,pagerPosition:t=Vn.pagerPosition,toolbar:r,pager:l,groupingHeader:s,gridSelectionAggregates:c,_renderAriaRoot:u,resizable:b,ariaColCount:h,ariaRowCount:x,ariaRootId:v,ariaRole:f="grid",...C}=e;return Ip("div",{...C,className:a(e.className,Pa,{[`${Pa}-resizable`]:b},R(Pa,{size:o})),children:[r,t==="top"&&l,s,e.children&&u?Rp("div",{className:"k-grid-aria-root",role:f,id:v,"aria-colcount":h,"aria-rowcount":x,children:e.children}):e.children,c,t==="bottom"&&l]})};$.states=yp;$.options=Mp;$.variants=Sp;$.className=Pa;$.defaultOptions=Vn;$.moduleName=oe;$.folderName=ae;$.ariaSpec={selector:".k-grid",rules:[{selector:".k-grid-toolbar",attribute:"role=toolbar",usage:"The toolbar is a collection of command buttons and inputs."},{selector:".k-grid-toolbar",attribute:"aria-label",usage:"Clarifies the purpose of the toolbar."},{selector:".k-grid-toolbar",attribute:"aria-controls=.k-grid-aria-root id (when present)",usage:"Pointing to the id of the element with role=grid."},{selector:".k-grouping-header",attribute:"role=toolbar",usage:"The Grouping pane is a ToolBar (collection of buttons)."},{selector:".k-grouping-header",attribute:"aria-label",usage:"Clarifies the purpose of the grouping pane."},{selector:".k-grouping-header",attribute:"aria-controls=.k-grid-aria-root id (when present)",usage:"Pointing to the id of the element with role=grid."},{selector:".k-grouping-header .k-chip-list",attribute:"role=none",usage:"The ChipList default listbox role is removed to keep the toolbar --> button roles hierarchy."},{selector:".k-grouping-header .k-chip",attribute:"role=button",usage:"If the element used is not <button>, then the role must be specified."},{selector:".k-grid:not(.k-treelist) .k-grid-aria-root",attribute:"role=grid",usage:"The role specifies the element is a Data Grid."},{selector:".k-grid-aria-root",attribute:"aria-colcount (when present)",usage:"The total number of columns in the Grid. Needed for Virtual columns and Hidden columns scenarios."},{selector:".k-grid-aria-root",attribute:"aria-rowcount (when present)",usage:"The total number of rows in the table. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:".k-grid-header-wrap>table",attribute:"role=none",usage:"Negates the default semantic role of the <table> element."},{selector:".k-grid-header-wrap>table>thead",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)",attribute:"aria-rowindex (when present)",usage:"Row number. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th:not(.k-hierarchy-cell):not(.k-group-cell):not(.k-drag-cell)",attribute:"role=columnheader",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th",attribute:"aria-sort (when present)",usage:"Present if sorting is enabled for that column."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th",attribute:"aria-colindex (when present)",usage:"Col number. Needed for Virtual columns and Hidden columns scenarios."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th",attribute:"aria-haspopup=dialog (when present)",usage:"Present if the column has a ColumnMenu or FilterMenu."},{selector:".k-grid-header-wrap>table>thead>tr.k-filter-row>td",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr.k-filter-row>td",attribute:"aria-label",usage:"Has a label indicating that the cell is part of a filter row."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table, .k-grid-pinned-container .k-grid-table",attribute:"role=none",usage:"Negates the default semantic role of the <table> element."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody, .k-grid-pinned-container tbody",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr, .k-grid-pinned-container tbody tr",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr, .k-grid-pinned-container tbody tr",attribute:"aria-rowindex (when present)",usage:"Row number. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr>td, .k-grid-pinned-container tbody td",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr>td, .k-grid-pinned-container tbody td",attribute:"aria-colindex (when present)",usage:"Col number. Needed for Virtual columns and Hidden columns scenarios."},{selector:"tr.k-selected",attribute:"aria-selected=true",usage:"Set on the currently selected row(s) in row selection mode. All cells within the selected row also carry aria-selected=true (without k-selected class). Applies to both regular and pinned rows."},{selector:"td.k-selected",attribute:"aria-selected=true",usage:"Set on the currently selected cell(s) in cell selection mode. The k-selected class on cells is only applied in cell selection mode, but aria-selected=true is present on cells regardless of selection mode."},{selector:".k-master-row .k-hierarchy-cell, .k-grouping-row>td",attribute:"aria-expanded",usage:"For cells holding grouping criteria values and for Master row cells in Detail template scenario."},{selector:".k-group-cell",attribute:"role=presentation",usage:"Group offset cells (header and content) are non-interactive placeholders with no semantic role."},{selector:".k-drag-cell",attribute:"aria-label",usage:"Must be present in a Drag Row scenario on the cell containing the drag handle."},{selector:".k-grid-header-locked table tr",attribute:"aria-owns",usage:"Locked header rows own cells from the corresponding non-locked header table rows."},{selector:".k-grid-content-locked table tr:not(.k-grouping-row)",attribute:"aria-owns",usage:"Locked content rows own cells from the corresponding non-locked content table rows. Group header rows are excluded because the non-locked group header rows are presentational."},{selector:".k-grid-lockedcolumns .k-grid-header .k-grid-header-wrap table tr",attribute:"role=none",usage:"Non-locked header rows have their semantic role removed when locked columns exist."},{selector:".k-grid-lockedcolumns .k-grid-content table tr",attribute:"role=none",usage:"Non-locked content rows have their semantic role removed when locked columns exist."},{selector:".k-grid-lockedcolumns .k-grid-header .k-grid-header-wrap th",attribute:"role=columnheader",usage:"Non-locked header cells retain columnheader role so they are announced correctly when owned via aria-owns."},{selector:".k-grid-lockedcolumns .k-grid-content td:not(.k-grouping-row td)",attribute:"role=gridcell",usage:"Non-locked data cells retain gridcell role so they are announced correctly when owned via aria-owns. Cells inside group header rows are excluded as those rows are presentational."},{selector:".k-grid-filter-popup",attribute:"role=dialog",usage:"The filter menu popup has dialog role."},{selector:".k-grid-filter-popup",attribute:"id",usage:"Unique id linked to the header cell aria-controls attribute."},{selector:".k-grid-filter-popup",attribute:"aria-label",usage:'Descriptive label for the filter menu, e.g. "Column Title Filter Menu".'},{selector:".k-grid-columnmenu-popup",attribute:"role=dialog",usage:"The column menu popup has dialog role."},{selector:".k-grid-columnmenu-popup",attribute:"id",usage:"Unique id linked to the header cell aria-controls attribute."},{selector:".k-grid-columnmenu-popup",attribute:"aria-label",usage:'Descriptive label for the column menu, e.g. "Column Title Column Menu".'},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"role=button",usage:"Column menu items have button role."},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"tabindex=0",usage:"Column menu items are focusable."},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"aria-expanded",usage:"Expandable column menu items announce their expanded state."},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"aria-controls",usage:"Expandable items point to the id of the content they control."},{selector:".k-grid-columnmenu-popup .k-column-list",attribute:"role=listbox",usage:"The column list is a listbox."},{selector:".k-grid-columnmenu-popup .k-column-list",attribute:"aria-multiselectable=true",usage:"The column list supports multiple selections."},{selector:".k-grid-columnmenu-popup .k-column-list",attribute:"aria-label",usage:"Accessible name for the column list."},{selector:".k-grid-columnmenu-popup .k-column-list-item",attribute:"role=option",usage:"Column list items are options."},{selector:".k-grid-columnmenu-popup .k-column-list-item",attribute:"aria-checked",usage:"Column list items announce their checked state."},{selector:"tfoot",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:"tfoot tr",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:"tfoot tr",attribute:"aria-rowindex (when present)",usage:"Row number. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:"tfoot tr td",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed."},{selector:"tfoot tr td",attribute:"aria-colindex (when present)",usage:"Col number. Needed for Virtual columns and Hidden columns scenarios."},{selector:".k-grid-selection-aggregates",attribute:"aria-live=polite",usage:"Ensures that changes in the calculated selection aggregates are announced by assistive technologies."},{selector:".k-grid-stack-cell",attribute:"tabindex=0",usage:"Stacked cell elements receive tabindex 0 when focus is within their parent .k-grid-stack-row element."},{selector:".k-grid-sticky-container",attribute:"role=none",usage:"Sticky group container has no semantic role."},{selector:".k-grid-sticky-container .k-grid-table",attribute:"role=none",usage:"Negates the default semantic role of the sticky group <table> element."},{selector:".k-grid-sticky-container tbody",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-sticky-container tr",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-sticky-container tr",attribute:"aria-rowindex",usage:"Matches the aria-rowindex of the real group header/footer row it mirrors."},{selector:".k-grid-sticky-container td:not(.k-group-cell)",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed. Group offset cells are excluded as they retain role=presentation."},{selector:".k-grid-sticky-container .k-grouping-row>td",attribute:"aria-expanded",usage:"Mirrors the expanded/collapsed state of the real group header row."},{selector:".k-grid-sticky-container td:not(.k-group-cell)",attribute:"tabindex",usage:"Receives tabindex 0 when focused, -1 otherwise, for keyboard navigation. Group offset cells are excluded as they are presentational."},{selector:".k-grid-sticky-container td",attribute:"aria-colindex (when present)",usage:"Col number. Typically 1 for the group header cell spanning all columns."},{selector:".k-grid-pinned-container",attribute:"role=none",usage:"Container for pinned rows has no semantic role."},{selector:".k-grid-pinned-container .k-grid-pinned-wrap",attribute:"role=none",usage:"Inner wrapper for the pinned rows table has no semantic role."},{selector:".k-grid-pinned-container tbody",attribute:"aria-label",usage:'Describes the purpose of the pinned rows group, e.g. "Top pinned rows" or "Bottom pinned rows".'},{selector:".k-grid-pinned-container td",attribute:"aria-haspopup=menu (when present)",usage:"Pinned row cells announce the context menu for row pinning operations."},{selector:".k-grid-pinned-container td",attribute:"aria-controls",usage:"Points to the ID of the context menu popup for row pinning."},{selector:".k-grid-pinned-container td",attribute:"aria-expanded",usage:"Indicates whether the context menu popup is open."},{selector:".k-grid-content td",attribute:"aria-haspopup=menu (when present)",usage:"Regular data cells announce context menu when row pinning uses contextual mode."},{selector:".k-grid-content td",attribute:"aria-controls",usage:"Points to the ID of the context menu popup for row pinning."},{selector:".k-grid-content td",attribute:"aria-expanded",usage:"Indicates whether the context menu popup is open."},{selector:'.k-pin-cell [class*="k-icon"]',attribute:"aria-hidden=true",usage:"Pin/unpin icon inside the dedicated column is decorative and must be hidden from assistive technologies."}]};import{jsx as Ap}from"react/jsx-runtime";var Wn="k-grid-header",D=e=>{let{draggable:o,...t}=e;return Ap("div",{...t,className:a(e.className,Wn,{"k-grid-draggable-header":o}),children:e.children})};D.className=Wn;D.moduleName=oe;D.folderName=ae;import{jsx as Xn,jsxs as Ep}from"react/jsx-runtime";var Jn="k-grouping-header",Fe=e=>{let{dropHint:o,dropClue:t,...r}=e;return Ep("div",{...r,className:a(e.className,Jn),children:[t&&Xn("div",{className:"k-grouping-dropclue"}),e.children,Xn("div",{className:"k-grouping-drop-container",children:o})]})};Fe.className=Jn;Fe.moduleName=oe;Fe.folderName=ae;import{jsx as Gp}from"react/jsx-runtime";var qn="k-grid-pinned-container",ra=e=>{let{position:o,...t}=e;return Gp("div",{...t,className:a(e.className,qn,{"k-pos-bottom":o==="bottom"}),children:e.children})};ra.className=qn;ra.moduleName=oe;ra.folderName=ae;import{jsx as Op}from"react/jsx-runtime";var Yn="k-grid-sticky-container",aa=e=>{let{position:o,...t}=e;return Op("div",{...t,className:a(e.className,Yn,{"k-pos-bottom":o==="bottom"}),children:e.children})};aa.className=Yn;aa.moduleName=oe;aa.folderName=ae;var He="table",$e=He;import{jsx as Dp}from"react/jsx-runtime";var Qn="k-data-table",Hp=[],Pp={size:[d.undefined,d.small,d.medium,d.large]},_p={},Yo=e=>{let{size:o,...t}=e;return Dp("div",{...t,className:a(e.className,Qn,R("k-table",{size:o})),children:e.children})};Yo.states=Hp;Yo.options=Pp;Yo.className=Qn;Yo.defaultOptions=_p;Yo.moduleName=He;Yo.folderName=$e;import{jsx as Up}from"react/jsx-runtime";var Hl="k-table-header-wrap",Kp=[i.hover,i.focus,i.disabled],Bp={},zp={},ct=e=>{let{children:o,hover:t,focus:r,disabled:l,...s}=e;return Up("div",{...s,className:a(e.className,Hl,S(Hl,{hover:t,focus:r,disabled:l})),children:o})};ct.states=Kp;ct.options=Bp;ct.className=Hl;ct.defaultOptions=zp;ct.moduleName=He;ct.folderName=$e;import{jsx as Wp}from"react/jsx-runtime";var Pl="k-table",Fp=[],$p={size:[d.undefined,d.small,d.medium,d.large]},Vp={},Ve=e=>{let{size:o,...t}=e;return Wp("table",{...t,className:a(e.className,Pl,R(Pl,{size:o})),children:e.children})};Ve.states=Fp;Ve.options=$p;Ve.className=Pl;Ve.defaultOptions=Vp;Ve.moduleName=He;Ve.folderName=$e;import{jsx as _l}from"react/jsx-runtime";var Dl="k-table-header",Xp=[i.hover,i.focus,i.disabled],Jp={},qp={},Qo=e=>{let{children:o,hover:t,focus:r,disabled:l,...s}=e;return _l("div",{...s,className:a(e.className,Dl,S(Dl,{hover:t,focus:r,disabled:l})),children:_l(ct,{children:_l(Ve,{children:o})})})};Qo.states=Xp;Qo.options=Jp;Qo.className=Dl;Qo.defaultOptions=qp;Qo.moduleName=He;Qo.folderName=$e;import{jsx as jp}from"react/jsx-runtime";var Zn="k-table-scroller",Yp=[],Qp={},Zp={},er=e=>{let{children:o,...t}=e;return jp("div",{...t,className:a(e.className,Zn),children:o})};er.states=Yp;er.options=Qp;er.className=Zn;er.defaultOptions=Zp;er.moduleName=He;er.folderName=$e;import{jsx as ww}from"react/jsx-runtime";import{jsx as rm}from"react/jsx-runtime";var jn="k-table-footer",em=[],om={},tm={},pt=e=>{let{children:o,...t}=e;return rm("div",{...t,className:a(e.className,jn),children:o})};pt.states=em;pt.options=om;pt.className=jn;pt.defaultOptions=tm;pt.moduleName=He;pt.folderName=$e;import{jsx as nm}from"react/jsx-runtime";var Kl="k-table-list",am=[],lm={size:[d.undefined,d.small,d.medium,d.large]},im={},mt=e=>{let{size:o,virtualization:t,...r}=e;return nm("ul",{...r,className:a(e.className,"k-table",Kl,R(Kl,{size:o}),{"k-virtual-table":t}),children:e.children})};mt.states=am;mt.options=lm;mt.className=Kl;mt.defaultOptions=im;mt.moduleName=He;mt.folderName=$e;import{jsx as dm}from"react/jsx-runtime";var sm="k-table-thead",P=e=>dm("thead",{className:a(e.className,sm),children:e.children});import{jsx as pm}from"react/jsx-runtime";var cm="k-table-tbody",U=e=>pm("tbody",{className:a(e.className,cm),children:e.children});import{jsx as Bw}from"react/jsx-runtime";import{jsx as um}from"react/jsx-runtime";var Bl="k-table-row",mm=[i.hover,i.focus,i.selected,i.disabled,i.highlighted],T=e=>{let{hover:o,focus:t,selected:r,highlighted:l,disabled:s,alt:c,...u}=e;return um("tr",{...u,className:a(e.className,Bl,{"k-table-alt-row":c},S(Bl,{hover:o,focus:t,disabled:s,selected:r,highlighted:l})),children:e.children})};T.states=mm;T.className=Bl;import{jsx as fm}from"react/jsx-runtime";var zl="k-table-row",bm=[i.hover,i.focus,i.selected,i.disabled],_a=e=>{let{hover:o,focus:t,selected:r,disabled:l,alt:s,...c}=e;return fm("li",{...c,className:a(e.className,zl,{"k-table-alt-row":s},S(zl,{hover:o,focus:t,disabled:l,selected:r})),children:e.children})};_a.states=bm;_a.className=zl;import{jsx as Tm}from"react/jsx-runtime";var es="k-table-th",Zo=e=>{let{text:o,colspan:t,rowspan:r,...l}=e,s=o||e.children;return Tm("th",{colSpan:t,rowSpan:r,...l,className:a(e.className,es),children:s})};Zo.className=es;Zo.moduleName=He;Zo.folderName=$e;import{jsx as ev}from"react/jsx-runtime";import{jsx as hm}from"react/jsx-runtime";var Ul="k-table-td",gm=[i.focus,i.selected,i.highlighted],n=e=>{let{focus:o,selected:t,highlighted:r,text:l,colspan:s,rowspan:c,...u}=e,b=l||e.children;return hm("td",{colSpan:s,rowSpan:c,...u,className:a(e.className,Ul,S(Ul,{focus:o,selected:t,highlighted:r})),children:b})};n.states=gm;n.className=Ul;import{jsx as nv}from"react/jsx-runtime";import{jsx as pv}from"react/jsx-runtime";import{jsx as fv}from"react/jsx-runtime";import{jsx as xv}from"react/jsx-runtime";import{jsx as vv}from"react/jsx-runtime";import{jsx as Iv,jsxs as Av}from"react/jsx-runtime";import{jsx as Hv,jsxs as Pv}from"react/jsx-runtime";import{jsx as Bv,jsxs as zv}from"react/jsx-runtime";import{Fragment as Xv,jsx as Vv,jsxs as Wv}from"react/jsx-runtime";import{jsx as km}from"react/jsx-runtime";var rs="k-grid-header-table",K=e=>km(Ve,{...e,className:a(e.className,rs),children:e.children});K.className=rs;K.moduleName=oe;K.folderName=ae;import{Fragment as Lm,jsx as as}from"react/jsx-runtime";var Fl="k-font-icon",wm=[],vm={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info]},Cm={},la=e=>{let{size:o,themeColor:t,icon:r,rotate:l,flip:s,...c}=e;return r?as("span",{...c,className:a(e.className,Fl,R(Fl,{size:o}),{[`k-i-${r}`]:r,[`k-color-${t}`]:t,[`k-rotate-${l}`]:l,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):as(Lm,{})};la.states=wm;la.options=vm;la.className=Fl;la.defaultOptions=Cm;var ls=la;import{Fragment as Sm,jsx as Da}from"react/jsx-runtime";var $l="k-svg-icon",ym=[],Mm={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[Uo.outline,Uo.solid,Uo.duotone]},Vl={viewBox:"0 0 24 24",variant:Uo.outline},ia=e=>{let{size:o,themeColor:t,rotate:r,flip:l,viewBox:s=Vl.viewBox,variant:c=Vl.variant,icon:u,...b}=e;if(!u)return Da(Sm,{});if(u==="none")return Da("span",{...b,className:a(e.className,$l,R("k-icon",{size:o}),"k-none"),"aria-hidden":"true"});let h=typeof u=="object"&&u.name&&u.name,x=typeof u=="object"?c&&u.variants?.[c]||u.variants?.outline||u.content:void 0;return Da("span",{...b,className:a(e.className,$l,R("k-icon",{size:o}),{[`k-svg-i-${h}`]:h,[`k-color-${t}`]:t,[`k-rotate-${r}`]:r,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true",children:Da("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof u=="object"?u.viewBox:s,dangerouslySetInnerHTML:x!==void 0?{__html:x}:void 0,children:u?void 0:e.children})})};ia.states=ym;ia.options=Mm;ia.className=$l;ia.defaultOptions=Vl;var Wl=ia;import*as Xl from"@progress/kendo-svg-icons";var is="icon",ns="icons";import{useContext as Im}from"react";import{createContext as Rm}from"react";var ss=Rm({iconsType:"svg"});import{Fragment as ds,jsx as na}from"react/jsx-runtime";var Ka="k-icon",Am=e=>e.replace(/([-_][a-z0-9])/gi,o=>o.toUpperCase().replace("-","").replace("_","")),Em=[],Gm={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[Uo.outline,Uo.solid,Uo.duotone]},Ba={viewBox:"0 0 24 24",type:"svg",variant:Uo.outline},p=e=>{let{iconsType:o}=Im(ss),{size:t,themeColor:r,icon:l,type:s=o||Ba.type,rotate:c,flip:u,viewBox:b=Ba.viewBox,variant:h=Ba.variant,...x}=e;if(!l)return na(ds,{});if((o||s)==="svg"){if(l==="none")return na(Wl,{...x,className:a(e.className,Ka),icon:l,size:t,variant:h});let f=Xl[l]?l:Am(`${l}-icon`);return Xl[f]?na(Wl,{...x,className:a(e.className,Ka),icon:Xl[f],size:t,themeColor:r,rotate:c,flip:u,viewBox:b,variant:h}):na(ds,{})}return na(ls,{...x,className:a(e.className,Ka),icon:l,size:t,themeColor:r,rotate:c,flip:u})};p.states=Em;p.options=Gm;p.defaultOptions=Ba;p.className=Ka;p.moduleName=is;p.folderName=ns;p.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};import{jsx as ut,jsxs as Jl}from"react/jsx-runtime";var ql="k-header",Om=[i.hover,i.focus,i.active],cs={sortIcon:"sort-asc-small"},w=e=>{let{menu:o,sortable:t,filterable:r,sticky:l,resizable:s,columnTitle:c,hover:u,focus:b,active:h,sortIcon:x=cs.sortIcon,sortOrder:v,accessibleLabel:f,...C}=e;return Jl(Zo,{...C,className:a(e.className,ql,{"k-filterable":o||r,"k-sorted":t,"k-grid-header-sticky":l,"k-touch-action-none":s},S(ql,{hover:u,focus:b,active:h})),children:[c&&Jl("span",{className:"k-cell-inner",children:[Jl("span",{className:"k-link",children:[ut("span",{className:"k-column-title",children:c}),t&&ut("span",{className:"k-sort-icon",children:ut(p,{icon:x})}),v&&ut("span",{className:"k-sort-order",children:v})]}),o&&ut("a",{className:a("k-grid-header-menu",{"k-active":h,"k-grid-filter-menu":o==="filter","k-grid-column-menu":o==="column"}),children:ut(p,{icon:o==="filter"?"filter":"more-vertical"})})]}),!c&&f&&ut("span",{className:"k-sr-only",children:f}),e.children,s&&ut("span",{className:"k-column-resizer k-touch-action-none"})]})};w.states=Om;w.className=ql;w.defaultOptions=cs;w.moduleName=oe;w.folderName=ae;import{jsx as Hm}from"react/jsx-runtime";var ps="k-grid-container",F=e=>Hm("div",{...e,className:a(e.className,ps),children:e.children});F.className=ps;F.moduleName=oe;F.folderName=ae;import{jsx as Pm}from"react/jsx-runtime";var ms="k-grid-content",B=e=>Pm("div",{...e,className:a(e.className,ms),children:e.children});B.className=ms;B.moduleName=oe;B.folderName=ae;import{jsx as _m}from"react/jsx-runtime";var us="k-grid-table",z=e=>_m(Ve,{...e,className:a(e.className,us),children:e.children});z.className=us;z.moduleName=oe;z.folderName=ae;import{jsx as Dm}from"react/jsx-runtime";var bs="k-grid-footer",za=e=>Dm("div",{...e,className:a(e.className,bs),children:e.children});za.className=bs;za.moduleName=oe;za.folderName=ae;import{jsx as Km}from"react/jsx-runtime";var fs="k-grid-footer-table",Ua=e=>Km(Ve,{...e,className:a(e.className,fs),children:e.children});Ua.className=fs;Ua.moduleName=oe;Ua.folderName=ae;var Yl="button",Ts=Yl;import{Fragment as gs,jsx as or,jsxs as hs}from"react/jsx-runtime";var sa="k-button",Bm=["icon-button"],zm=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],Um={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[k.undefined,k.solid,k.flat,k.outline,k.clear,k.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},Ql={showArrow:!1,arrowIconName:"chevron-down"},m=e=>{let{as:o="button",size:t,rounded:r,fillMode:l,themeColor:s,showArrow:c=Ql.showArrow,arrowIconName:u=Ql.arrowIconName,variant:b,hover:h,focus:x,active:v,selected:f,disabled:C,togglable:M,ariaDisabled:A,icon:O,iconSize:_,text:Y,iconClassName:Ce,className:be,...qe}=e,Ye=O!=null,Qe=e.children!==void 0;return hs(o,{className:a(be,sa,$n(sa,b),R(sa,{size:t,rounded:r,fillMode:l,themeColor:s}),S(sa,{hover:h,focus:x,active:v,disabled:C||A,selected:f}),{"k-icon-button":!Y&&!Qe&&Ye}),"aria-pressed":M?f?"true":"false":void 0,...qe,"aria-disabled":A?"true":void 0,disabled:C||void 0,children:[typeof O=="string"&&O&&or(p,{className:a(Ce,"k-button-icon"),icon:O,size:_}),O&&typeof O!="string"&&or(gs,{children:O}),Y?hs(gs,{children:[Y&&or("span",{className:"k-button-text",children:Y}),e.children]}):e.children&&or("span",{className:"k-button-text",children:e.children}),c&&or("span",{className:"k-menu-button-arrow k-button-arrow",children:or(p,{icon:u})})]})};m.states=zm;m.options=Um;m.variants=Bm;m.className=sa;m.defaultOptions=Ql;m.moduleName=Yl;m.folderName=Ts;m.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};import{jsx as Fm}from"react/jsx-runtime";var bt=e=>Fm(m,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as $m}from"react/jsx-runtime";var da=e=>$m(m,{icon:"folder",children:"Button",...e});import{jsx as Vm}from"react/jsx-runtime";var Et=e=>Vm(m,{children:"Button",...e});import{jsx as Zl}from"react/jsx-runtime";var Wm=m.options,Xm=m.states,Jm={...m.defaultOptions,variant:"text"},qm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ym=[],tr=e=>{let{variant:o,...t}=e;switch(o){case"icon-only":return Zl(bt,{...t,icon:"star"});case"icon-and-text":return Zl(da,{...t,icon:"star",children:"Button"});default:return Zl(Et,{...t,children:"Button"})}};tr.options=Wm;tr.states=Xm;tr.variants=qm;tr.defaultOptions=Jm;tr.modifiers=Ym;tr.className=m.className;var ca="input",Fa=ca;import{jsx as eu}from"react/jsx-runtime";var $a="k-input",Qm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Zm={size:[d.undefined,d.small,d.medium,d.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[k.undefined,k.solid,k.flat,k.outline]},jm={},Se=e=>{let{hover:o,focus:t,disabled:r,invalid:l,valid:s,loading:c,readonly:u,size:b,rounded:h,fillMode:x,...v}=e;return eu("span",{...v,className:a(e.className,$a,R($a,{size:b,rounded:h,fillMode:x}),S($a,{hover:o,focus:t,disabled:r,invalid:l,valid:s,loading:c,readonly:u}))})};Se.states=Qm;Se.options=Zm;Se.className=$a;Se.defaultOptions=jm;Se.moduleName=ca;Se.folderName=Fa;import{jsx as au}from"react/jsx-runtime";var Va="k-picker",ou=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],tu={size:[d.undefined,d.small,d.medium,d.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[k.undefined,k.solid,k.flat,k.outline]},ru={},Fo=e=>{let{hover:o,focus:t,disabled:r,invalid:l,valid:s,loading:c,readonly:u,size:b,rounded:h,fillMode:x,...v}=e;return au("span",{...v,className:a(e.className,Va,R(Va,{size:b,rounded:h,fillMode:x}),S(Va,{hover:o,focus:t,disabled:r,invalid:l,valid:s,loading:c,readonly:u})),children:e.children})};Fo.states=ou;Fo.options=tu;Fo.className=Va;Fo.defaultOptions=ru;Fo.moduleName=ca;Fo.folderName=Fa;import{Fragment as nu,jsx as jl}from"react/jsx-runtime";var xs="k-clear-value",lu=[i.disabled,i.loading,i.readonly],iu={},fo=e=>{let{disabled:o,loading:t,readonly:r,value:l}=e;return o||r||t||!l?jl(nu,{}):jl("span",{className:a(e.className,xs),children:jl(p,{icon:"x"})})};fo.states=lu;fo.options=iu;fo.className=xs;import{jsx as cu}from"react/jsx-runtime";var ei="k-input-inner",su=[],du={},Wa={type:"text",autocomplete:"off",value:"",placeholder:""},To=e=>{let{value:o=Wa.value,type:t=Wa.type,placeholder:r=Wa.placeholder,autocomplete:l=Wa.autocomplete,disabled:s,readOnly:c,...u}=e;return cu("input",{...u,type:t,className:a(e.className,ei,R(ei,e)),placeholder:r,autoComplete:l,defaultValue:o,disabled:s||void 0,readOnly:c||void 0})};To.states=su;To.options=du;To.className=ei;import{jsx as Ns,jsxs as uu}from"react/jsx-runtime";var oi="k-input-inner",pu=[],mu={},Gt=e=>{let{value:o,placeholder:t,showValue:r,valueIcon:l,valueIconName:s,...c}=e;return uu("span",{...c,className:a(e.className,oi,R(oi,e)),children:[l,!l&&s&&Ns(p,{className:"k-input-value-icon",icon:s}),r&&!o&&t,r&&o&&Ns("span",{className:"k-input-value-text",children:o})]})};Gt.states=pu;Gt.options=mu;Gt.className=oi;import{jsx as Tu}from"react/jsx-runtime";var ti="k-input-inner",bu=[],fu={},ks={value:"",placeholder:""},ri=e=>{let{value:o=ks.value,placeholder:t=ks.placeholder,rows:r,disabled:l,...s}=e;return Tu("textarea",{...s,className:a(e.className,ti,R(ti,e)),placeholder:t,rows:r,defaultValue:o,disabled:l||void 0})};ri.states=bu;ri.options=fu;ri.className=ti;import{Fragment as hu,jsx as ws}from"react/jsx-runtime";var vs="k-input-loading-icon",gu=[i.disabled,i.loading],no=e=>{let{disabled:o,loading:t}=e;return o||!t?ws(hu,{}):ws("span",{className:a(e.className,vs,"k-icon k-i-loading")})};no.states=gu;no.className=vs;import{Fragment as ku,jsx as Cs}from"react/jsx-runtime";var Ls="k-input-validation-icon",xu=[i.valid,i.invalid,i.disabled,i.loading],Nu={},Ze=e=>{let{valid:o,invalid:t,disabled:r,loading:l}=e,s=t?"warning-circle":"check-circle";return r||l||!!!(o||t)?Cs(ku,{}):Cs(p,{className:a(Ls),icon:s})};Ze.states=xu;Ze.options=Nu;Ze.className=Ls;import{Fragment as Cu,jsx as ys}from"react/jsx-runtime";var wu="k-input-prefix",vu={direction:"horizontal"},Co=e=>{let{direction:o=vu.direction,...t}=e;return e.children?ys("span",{...t,className:a(wu,e.className,{[`k-input-prefix-${o}`]:o}),children:e.children}):ys(Cu,{})};import{Fragment as Mu,jsx as Ms}from"react/jsx-runtime";var Lu="k-input-suffix",yu={direction:"horizontal"},Lo=e=>{let{direction:o=yu.direction,...t}=e;return e.children?Ms("span",{...t,className:a(Lu,e.className,{[`k-input-suffix-${o}`]:o}),children:e.children}):Ms(Mu,{})};import{jsx as _y}from"react/jsx-runtime";import{jsx as Ru}from"react/jsx-runtime";var Su="k-input-suffix-text",ai=e=>{let{children:o,...t}=e;return Ru("span",{...t,className:a(Su,e.className),children:o})};import{jsx as Au}from"react/jsx-runtime";var Ss="k-input-separator",Iu={direction:"vertical"},yo=e=>{let{direction:o=Iu.direction,...t}=e;return Au("span",{...t,className:a(Ss,e.className,{[`${Ss}-${o}`]:o})})};import{Fragment as Rs,jsx as $o,jsxs as li}from"react/jsx-runtime";var Eu=Se.states,Gu=Se.defaultOptions,Ou=Se.options,Hu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Pu=[],rr=e=>{let{modifiers:o,valid:t,invalid:r,loading:l,disabled:s,readonly:c,...u}=e,b=o?.prefix,h=o?.suffix,x=o?.["clear-button"],v=o?.["validation-icon"],f=o?.separators;return li(Se,{...u,valid:t,invalid:r,loading:l,disabled:s,readonly:c,style:{width:300},children:[b&&li(Rs,{children:[$o(Co,{children:$o(p,{icon:"lock"})}),f&&$o(yo,{})]}),$o(To,{placeholder:"Placeholder",value:"Value"}),v&&$o(Ze,{valid:t,invalid:r,loading:l,disabled:s}),$o(no,{loading:l,disabled:s}),x&&$o(fo,{loading:l,disabled:s,readonly:c,value:"Value"}),h&&li(Rs,{children:[f&&$o(yo,{}),$o(Lo,{children:$o(Et,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};rr.options=Ou;rr.states=Eu;rr.variants=Pu;rr.defaultOptions=Gu;rr.modifiers=Hu;rr.className=Se.className;var ii="popup",Is=ii;import{jsx as As}from"react/jsx-runtime";var Es="k-animation-container",_u=[],Du={},ni={positionMode:"absolute",shown:!0},Vo=e=>{let{positionMode:o=ni.positionMode,shown:t=ni.shown,animationStyle:r,offset:l,...s}=e;return As("div",{...s,style:{...l,...e.style},className:a(e.className,Es,{"k-animation-container-shown":t,"k-animation-container-fixed":o==="fixed"}),children:As("div",{className:"k-child-animation-container",style:r,children:e.children})})};Vo.states=_u;Vo.options=Du;Vo.className=Es;Vo.defaultOptions=ni;Vo.moduleName=ii;Vo.folderName=Is;var si="popup",Gs=si;import{jsx as Os}from"react/jsx-runtime";var Hs="k-popup",Ku=[],Bu={},Ps={positionMode:"absolute"},ie=e=>{let{offset:o,positionMode:t=Ps.positionMode,animationStyle:r,containerClassName:l,containerRole:s,containerAriaLabel:c,...u}=e;return Os(Vo,{positionMode:t,offset:o,animationStyle:r,className:l,role:s,"aria-label":c,children:Os("div",{...u,className:a(e.className,Hs),children:e.children})})};ie.states=Ku;ie.options=Bu;ie.className=Hs;ie.defaultOptions=Ps;ie.moduleName=si;ie.folderName=Gs;ie.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var di="action-buttons",_s=di;import{jsx as Fu}from"react/jsx-runtime";var Xa="k-actions",zu=[],Uu={},ci={alignment:"start",orientation:"horizontal"},Mo=e=>{let{alignment:o=ci.alignment,orientation:t=ci.orientation,...r}=e;return Fu("div",{...r,className:a(Xa,{[`${Xa}-${o}`]:o,[`${Xa}-${t}`]:t},e.className),children:e.children})};Mo.states=zu;Mo.options=Uu;Mo.className=Xa;Mo.defaultOptions=ci;Mo.moduleName=di;Mo.folderName=_s;import{jsx as Vu}from"react/jsx-runtime";var $u="k-actionsheet-footer",Ds={alignment:"stretched",orientation:"horizontal"},ft=e=>{let{alignment:o=Ds.alignment,orientation:t=Ds.orientation,template:r,as:l=r?"div":Mo,...s}=e;return Vu(l,{...s,...!r&&{alignment:o,orientation:t},className:a(e.className,$u),children:e.children})};var pi="searchbox",Ks=pi;import{jsx as pa,jsxs as Ju}from"react/jsx-runtime";var Bs="k-searchbox",Wu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Xu={size:[d.undefined,d.small,d.medium,d.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[k.undefined,k.solid,k.flat,k.outline]},mi={showIcon:!0,icon:"search"},go=e=>{let{value:o,placeholder:t,size:r,rounded:l,fillMode:s,hover:c,focus:u,valid:b,invalid:h,required:x,loading:v,disabled:f,showIcon:C=mi.showIcon,icon:M=mi.icon,"aria-label":A,...O}=e;return Ju(Se,{...O,size:r,rounded:l,fillMode:s,hover:c,focus:u,valid:b,invalid:h,required:x,loading:v,disabled:f,className:a(e.className,Bs),children:[C&&pa(p,{className:"k-input-icon",icon:M}),pa(To,{placeholder:t,value:o,"aria-label":A}),pa(no,{...e}),pa(Ze,{...e}),pa(fo,{...e})]})};go.states=Wu;go.options=Xu;go.className=Bs;go.defaultOptions=mi;go.moduleName=pi;go.folderName=Ks;import{jsx as tS}from"react/jsx-runtime";var ui="textbox",zs=ui;import{Fragment as Us,jsx as Tt,jsxs as bi}from"react/jsx-runtime";var Fs="k-textbox",qu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Yu={size:[d.undefined,d.small,d.medium,d.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[k.undefined,k.solid,k.flat,k.outline]},Ja={showClearButton:!0,showValidationIcon:!0,separators:!0},de=e=>{let{size:o,rounded:t,fillMode:r,separators:l=Ja.separators,showClearButton:s=Ja.showClearButton,showValidationIcon:c=Ja.showValidationIcon,prefix:u,suffix:b,type:h,value:x,placeholder:v,hover:f,focus:C,valid:M,invalid:A,required:O,loading:_,disabled:Y,readonly:Ce,id:be,"aria-label":qe,"aria-describedby":Ye,...Qe}=e;return bi(Se,{...Qe,size:o,rounded:t,fillMode:r,hover:f,focus:C,valid:M,invalid:A,required:O,loading:_,disabled:Y,readonly:Ce,className:a(e.className,Fs),children:[u&&bi(Us,{children:[Tt(Co,{children:u}),l&&Tt(yo,{})]}),Tt(To,{id:be,placeholder:v,value:x,type:h,disabled:Y,"aria-label":qe,"aria-describedby":Ye,"aria-invalid":A?"true":void 0}),c&&Tt(Ze,{valid:M,invalid:A,loading:_,disabled:Y}),Tt(no,{loading:_,disabled:Y}),s&&Tt(fo,{loading:_,disabled:Y,readonly:Ce,value:x}),b&&bi(Us,{children:[l&&Tt(yo,{}),Tt(Lo,{children:b})]})]})};de.states=qu;de.options=Yu;de.className=Fs;de.defaultOptions=Ja;de.moduleName=ui;de.folderName=zs;de.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var ma=de;import{jsx as Qu}from"react/jsx-runtime";var $s=e=>Qu(ma,{...e});import{Fragment as NS,jsx as xS}from"react/jsx-runtime";import{Fragment as yS,jsx as LS}from"react/jsx-runtime";import{jsx as IS}from"react/jsx-runtime";import{jsx as fi}from"react/jsx-runtime";var Zu=de.states,ju=de.defaultOptions,eb=de.options,ob=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],tb=[],ar=e=>{let{modifiers:o,...t}=e,r={};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":r.prefix=o?.[l]?fi(p,{icon:"lock"}):void 0;break;case"suffix":r.suffix=o?.[l]?fi(Et,{size:t.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":r.showClearButton=o?.[l];break;default:break}}),fi($s,{value:"Value",style:{width:300},...t,...r})};ar.options=eb;ar.states=Zu;ar.variants=tb;ar.defaultOptions=ju;ar.modifiers=ob;ar.className=de.className;import{jsx as gt,jsxs as Ti}from"react/jsx-runtime";var Vs="k-actionsheet-titlebar",rb={},je=e=>{let{title:o,subtitle:t,actionsStart:r,actionsEnd:l,filter:s,input:c,inputValue:u,inputPlaceholder:b,adaptive:h,titleId:x,children:v,...f}=e;return Ti("div",{...f,className:a(e.className,Vs),children:[Ti("div",{className:"k-actionsheet-titlebar-group",children:[r&&gt("div",{className:"k-actionsheet-actions",children:r}),!v&&Ti("div",{className:"k-actionsheet-title",id:x,children:[o&&gt("div",{className:"k-text-center",children:o}),t&&gt("div",{className:"k-actionsheet-subtitle k-text-center",children:t})]}),v&&gt("div",{className:"k-actionsheet-title",id:x,children:v}),l&&gt("div",{className:"k-actionsheet-actions",children:l})]}),(c||s)&&gt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?gt(de,{value:u,placeholder:b,size:h?"large":"medium","aria-label":o||b||"Input"}):gt(go,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};je.className=Vs;je.defaultOptions=rb;import{jsx as gi,jsxs as nb}from"react/jsx-runtime";var hi="k-actionsheet-view",ab=[],lb={},ib={},lr=e=>{let{adaptive:o,animated:t,children:r,header:l,footer:s,titleId:c,...u}=e,b=l?.type===je&&gi(je,{adaptive:o,titleId:c,...l?.props}),h=s?.type===ft&&gi(ft,{...s?.props});return nb("div",{...u,className:a(e.className,hi,{[`${hi}-animated`]:t}),children:[b,gi("div",{className:"k-actionsheet-content",children:r}),h]})};lr.states=ab;lr.options=lb;lr.className=hi;lr.defaultOptions=ib;var ua="action-sheet",qa=ua;var xi="overlay",Ws=xi;import{jsx as pb}from"react/jsx-runtime";var Xs="k-overlay",sb=[],db={},cb={},ht=e=>{let{...o}=e;return pb("div",{...o,className:a(e.className,Xs),children:e.children})};ht.states=sb;ht.options=db;ht.className=Xs;ht.defaultOptions=cb;ht.moduleName=xi;ht.folderName=Ws;import{jsx as Ya,jsxs as bb}from"react/jsx-runtime";var Js="k-actionsheet",mb=[],ub={},ba={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ye=e=>{let{side:o=ba.side,fullscreen:t=ba.fullscreen,adaptive:r=ba.adaptive,overlay:l=ba.overlay,template:s,children:c,header:u,footer:b,id:h,...x}=e,v=h&&!s&&u?`${h}-title`:void 0;return bb("div",{className:"k-actionsheet-container",children:[l&&Ya(ht,{}),Ya(Vo,{animationStyle:{[`${t===!0?"top":o}`]:0,[`${t===!0?"width":null}`]:"100%",[`${t===!0?"height":null}`]:"100%",[`${o==="top"||o==="bottom"?"width":null}`]:"100%",[`${o==="left"||o==="right"?"height":null}`]:"100%"},children:Ya("div",{...x,id:h,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":v,className:a(e.className,Js,{[`k-actionsheet-${o}`]:t===!1,"k-actionsheet-fullscreen":t===!0,"k-adaptive-actionsheet":r}),children:s||Ya(lr,{header:u,footer:b,adaptive:r,titleId:v,...e,children:c})})})]})};ye.states=mb;ye.options=ub;ye.className=Js;ye.defaultOptions=ba;ye.moduleName=ua;ye.folderName=qa;ye.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};import{jsx as hb}from"react/jsx-runtime";var qs="k-actionsheet-container",fb=[],Tb={},gb={},ir=e=>{let{children:o,...t}=e;return hb("div",{...t,className:qs,children:o})};ir.states=fb;ir.options=Tb;ir.className=qs;ir.defaultOptions=gb;ir.moduleName=ua;ir.folderName=qa;import{jsx as xb}from"react/jsx-runtime";var Ni=e=>{let{...o}=e;return xb("div",{...o,className:a(e.className,"k-list-ul"),children:e.children})};import{Fragment as kb,jsx as fa,jsxs as ki}from"react/jsx-runtime";var wi="k-actionsheet-item",Nb=[i.hover,i.focus,i.selected,i.disabled],xt=e=>{let{iconName:o,text:t,description:r,hover:l,focus:s,selected:c,disabled:u,...b}=e;return ki("span",{...b,className:a(e.className,wi,S(wi,{hover:l,focus:s,selected:c,disabled:u})),children:[!e.children&&fa(kb,{children:ki("span",{className:"k-actionsheet-action",children:[o&&fa("span",{className:"k-icon-wrap",children:fa(p,{className:"k-actionsheet-item-icon",icon:o})}),ki("span",{className:"k-actionsheet-item-text",children:[t&&fa("span",{className:"k-actionsheet-item-title",children:t}),r&&fa("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};xt.states=Nb;xt.className=wi;import{jsx as RR,jsxs as IR}from"react/jsx-runtime";import{jsx as OR}from"react/jsx-runtime";import{jsx as DR}from"react/jsx-runtime";import{jsx as UR}from"react/jsx-runtime";import{jsx as Pe,jsxs as vi}from"react/jsx-runtime";var wb=ye.options,vb=ye.states,Qs={...ye.defaultOptions,variant:"normal"},Cb=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Lb=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],nr=e=>{let{variant:o,modifiers:t,...r}={...Qs,...e},l={},s=vi(Ni,{children:[Pe(xt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),Pe(xt,{text:"Add to Favorites",iconName:"heart"}),Pe(xt,{text:"Upload New",iconName:"upload",disabled:!0}),Pe("hr",{className:"k-hr"}),Pe(xt,{text:"Cancel",iconName:"cancel"})]}),c="Choose from the items below",u="Select Item";return o==="fullScreen"&&(l.fullScreen=!0),Object.keys(t||{}).forEach(b=>{switch(b){case"actions":l.actionsStart=!!t?.[b],l.actionsEnd=!!t?.[b];break;case"subtitle":l.subtitle=t?.[b]?c:void 0;break;case"footer":l.footer=!!t?.[b];break;default:break}}),o==="adaptive"?Pe(ye,{...r,adaptive:!0,fullscreen:l.fullScreen,header:Pe(je,{actionsStart:l.actionsStart?Pe(m,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?Pe(m,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:l.subtitle}),footer:l.footer?vi(ft,{alignment:"stretched",children:[Pe(m,{text:"Cancel",size:"large",themeColor:"base"}),Pe(m,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):Pe(ye,{...r,fullscreen:l.fullScreen,header:Pe(je,{actionsStart:l.actionsStart?Pe(m,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?Pe(m,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:l.subtitle}),footer:l.footer?vi(ft,{alignment:"stretched",children:[Pe(m,{text:"Apply",themeColor:"primary"}),Pe(m,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};nr.options=wb;nr.states=vb;nr.variants=Cb;nr.defaultOptions=Qs;nr.modifiers=Lb;nr.className=ye.className;import Li from"react";import{jsx as Zs}from"react/jsx-runtime";var yb="k-list-group-sticky-header",Ci=e=>Zs("div",{className:a(yb,e.className),children:Zs("div",{className:"k-list-header-text",children:e.children})});import{jsx as Sb}from"react/jsx-runtime";var Mb="k-no-data",Qa=e=>{let{live:o,...t}=e;return Sb("span",{...t,className:a(Mb,e.className),"aria-live":o?"polite":void 0,children:e.children})};var Ot="list",sr=Ot;import{jsx as js,jsxs as ed}from"react/jsx-runtime";var yi="k-list",Rb=[],Ib={size:[d.undefined,d.small,d.medium,d.large]},Ab={},le=e=>{let{size:o,virtualization:t,children:r,header:l,selectAll:s,optionLabel:c,customValue:u,noData:b,screenReaders:h,...x}=e,f=Li.Children.toArray(r)[0],C=f?.props?.children?Li.Children.count(f.props.children):Li.Children.count(r);return ed("div",{...x,className:a(e.className,yi,R(yi,{size:o}),{"k-virtual-list":t}),children:[c,s,u,l&&js(Ci,{children:l}),r||(b!==void 0?b:js(Qa,{live:!0,children:"No data found."})),h&&r&&ed(Qa,{className:"k-sr-only",live:!0,children:[C," items found."]})]})};le.states=Rb;le.options=Ib;le.className=yi;le.defaultOptions=Ab;le.moduleName=Ot;le.folderName=sr;le.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};import{jsx as Hb}from"react/jsx-runtime";var od="k-list-container",Eb=[],Gb={},Ob={},dr=e=>{let{...o}=e;return Hb("div",{...o,classNa