UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 215 kB
var r=(...e)=>e.filter(o=>o!==!0&&!!o).map(o=>Array.isArray(o)?r(...o):typeof o=="object"?Object.keys(o).map((t,a)=>o[a]||o[t]&&t||null).filter(t=>t!==null).join(" "):o).filter(o=>!!o).join(" ");var S=(e,o)=>r({[`${e}-xs`]:o.size==="xsmall",[`${e}-sm`]:o.size==="small",[`${e}-md`]:o.size==="medium",[`${e}-lg`]:o.size==="large",[`${e}-xl`]:o.size==="xlarge",[`${e}-xxl`]:o.size==="xxlarge",[`${e}-xxxl`]:o.size==="xxxlarge"},{[`${e}-${o.fillMode}`]:o.fillMode},{[`${e}-${o.themeColor}`]:o.themeColor},{"k-rounded-sm":o.rounded==="small","k-rounded-md":o.rounded==="medium","k-rounded-lg":o.rounded==="large","k-rounded-full":o.rounded==="full","k-rounded-none":o.rounded==="none"}),I=(e,o)=>{let{valid:t,invalid:a,hover:l,focus:s,checked:p,active:u,selected:f,disabled:k,indeterminate:N,loading:v,empty:b,readonly:C,highlighted:M,...A}=o;return r({"k-valid":t,"k-invalid":a,"k-hover":l,"k-focus":s,"k-checked":p,"k-active":u,"k-selected":f,"k-disabled":k,"k-indeterminate":N&&!p,"k-loading":v,"k-empty":b,"k-readonly":C,"k-highlighted":M},Object.keys(A).reduce((H,B)=>(B.startsWith("k-")?H[B]=A[B]:H[`k-${B}`]=A[B],H),{}))};function yn(e,o){if(!o)return{};let t=Array.isArray(o)?o:[o];return Object.fromEntries(t.map(a=>[`k-${a}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},h={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},x={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Ko={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"},n={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 kl={};function E(e){return kl[e]=(kl[e]||0)+1,`k-${e}-${kl[e]}`}var oe="grid",ae=oe;import{jsx as ap,jsxs as lp}from"react/jsx-runtime";var La="k-grid",op=[],tp={size:[d.undefined,d.small,d.medium,d.large]},rp=[],Mn={pagerPosition:"bottom"},V=e=>{let{size:o,pagerPosition:t=Mn.pagerPosition,toolbar:a,pager:l,groupingHeader:s,gridSelectionAggregates:p,_renderAriaRoot:u,resizable:f,ariaColCount:k,ariaRowCount:N,ariaRootId:v,ariaRole:b="grid",...C}=e;return lp("div",{...C,className:r(e.className,La,{[`${La}-resizable`]:f},S(La,{size:o})),children:[a,t==="top"&&l,s,e.children&&u?ap("div",{className:"k-grid-aria-root",role:b,id:v,"aria-colcount":k,"aria-rowcount":N,children:e.children}):e.children,p,t==="bottom"&&l]})};V.states=op;V.options=tp;V.variants=rp;V.className=La;V.defaultOptions=Mn;V.moduleName=oe;V.folderName=ae;V.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 ip}from"react/jsx-runtime";var Sn="k-grid-header",D=e=>{let{draggable:o,...t}=e;return ip("div",{...t,className:r(e.className,Sn,{"k-grid-draggable-header":o}),children:e.children})};D.className=Sn;D.moduleName=oe;D.folderName=ae;import{jsx as In,jsxs as np}from"react/jsx-runtime";var Rn="k-grouping-header",Be=e=>{let{dropHint:o,dropClue:t,...a}=e;return np("div",{...a,className:r(e.className,Rn),children:[t&&In("div",{className:"k-grouping-dropclue"}),e.children,In("div",{className:"k-grouping-drop-container",children:o})]})};Be.className=Rn;Be.moduleName=oe;Be.folderName=ae;import{jsx as sp}from"react/jsx-runtime";var An="k-grid-pinned-container",Wr=e=>{let{position:o,...t}=e;return sp("div",{...t,className:r(e.className,An,{"k-pos-bottom":o==="bottom"}),children:e.children})};Wr.className=An;Wr.moduleName=oe;Wr.folderName=ae;import{jsx as dp}from"react/jsx-runtime";var En="k-grid-sticky-container",Xr=e=>{let{position:o,...t}=e;return dp("div",{...t,className:r(e.className,En,{"k-pos-bottom":o==="bottom"}),children:e.children})};Xr.className=En;Xr.moduleName=oe;Xr.folderName=ae;var Oe="table",ze=Oe;import{jsx as up}from"react/jsx-runtime";var Gn="k-data-table",cp=[],pp={size:[d.undefined,d.small,d.medium,d.large]},mp={},Xo=e=>{let{size:o,...t}=e;return up("div",{...t,className:r(e.className,Gn,S("k-table",{size:o})),children:e.children})};Xo.states=cp;Xo.options=pp;Xo.className=Gn;Xo.defaultOptions=mp;Xo.moduleName=Oe;Xo.folderName=ze;import{jsx as gp}from"react/jsx-runtime";var wl="k-table-header-wrap",bp=[n.hover,n.focus,n.disabled],fp={},Tp={},nt=e=>{let{children:o,hover:t,focus:a,disabled:l,...s}=e;return gp("div",{...s,className:r(e.className,wl,I(wl,{hover:t,focus:a,disabled:l})),children:o})};nt.states=bp;nt.options=fp;nt.className=wl;nt.defaultOptions=Tp;nt.moduleName=Oe;nt.folderName=ze;import{jsx as kp}from"react/jsx-runtime";var vl="k-table",hp=[],xp={size:[d.undefined,d.small,d.medium,d.large]},Np={},Ue=e=>{let{size:o,...t}=e;return kp("table",{...t,className:r(e.className,vl,S(vl,{size:o})),children:e.children})};Ue.states=hp;Ue.options=xp;Ue.className=vl;Ue.defaultOptions=Np;Ue.moduleName=Oe;Ue.folderName=ze;import{jsx as Cl}from"react/jsx-runtime";var Ll="k-table-header",wp=[n.hover,n.focus,n.disabled],vp={},Cp={},Jo=e=>{let{children:o,hover:t,focus:a,disabled:l,...s}=e;return Cl("div",{...s,className:r(e.className,Ll,I(Ll,{hover:t,focus:a,disabled:l})),children:Cl(nt,{children:Cl(Ue,{children:o})})})};Jo.states=wp;Jo.options=vp;Jo.className=Ll;Jo.defaultOptions=Cp;Jo.moduleName=Oe;Jo.folderName=ze;import{jsx as Sp}from"react/jsx-runtime";var On="k-table-scroller",Lp=[],yp={},Mp={},Jt=e=>{let{children:o,...t}=e;return Sp("div",{...t,className:r(e.className,On),children:o})};Jt.states=Lp;Jt.options=yp;Jt.className=On;Jt.defaultOptions=Mp;Jt.moduleName=Oe;Jt.folderName=ze;import{jsx as Ik}from"react/jsx-runtime";import{jsx as Ep}from"react/jsx-runtime";var Hn="k-table-footer",Ip=[],Rp={},Ap={},st=e=>{let{children:o,...t}=e;return Ep("div",{...t,className:r(e.className,Hn),children:o})};st.states=Ip;st.options=Rp;st.className=Hn;st.defaultOptions=Ap;st.moduleName=Oe;st.folderName=ze;import{jsx as Pp}from"react/jsx-runtime";var yl="k-table-list",Gp=[],Op={size:[d.undefined,d.small,d.medium,d.large]},Hp={},dt=e=>{let{size:o,virtualization:t,...a}=e;return Pp("ul",{...a,className:r(e.className,"k-table",yl,S(yl,{size:o}),{"k-virtual-table":t}),children:e.children})};dt.states=Gp;dt.options=Op;dt.className=yl;dt.defaultOptions=Hp;dt.moduleName=Oe;dt.folderName=ze;import{jsx as Dp}from"react/jsx-runtime";var _p="k-table-thead",P=e=>Dp("thead",{className:r(e.className,_p),children:e.children});import{jsx as Bp}from"react/jsx-runtime";var Kp="k-table-tbody",F=e=>Bp("tbody",{className:r(e.className,Kp),children:e.children});import{jsx as Xk}from"react/jsx-runtime";import{jsx as Up}from"react/jsx-runtime";var Ml="k-table-row",zp=[n.hover,n.focus,n.selected,n.disabled,n.highlighted],T=e=>{let{hover:o,focus:t,selected:a,highlighted:l,disabled:s,alt:p,...u}=e;return Up("tr",{...u,className:r(e.className,Ml,{"k-table-alt-row":p},I(Ml,{hover:o,focus:t,disabled:s,selected:a,highlighted:l})),children:e.children})};T.states=zp;T.className=Ml;import{jsx as $p}from"react/jsx-runtime";var Sl="k-table-row",Fp=[n.hover,n.focus,n.selected,n.disabled],ya=e=>{let{hover:o,focus:t,selected:a,disabled:l,alt:s,...p}=e;return $p("li",{...p,className:r(e.className,Sl,{"k-table-alt-row":s},I(Sl,{hover:o,focus:t,disabled:l,selected:a})),children:e.children})};ya.states=Fp;ya.className=Sl;import{jsx as Vp}from"react/jsx-runtime";var Pn="k-table-th",qo=e=>{let{text:o,colspan:t,rowspan:a,...l}=e,s=o||e.children;return Vp("th",{colSpan:t,rowSpan:a,...l,className:r(e.className,Pn),children:s})};qo.className=Pn;qo.moduleName=Oe;qo.folderName=ze;import{jsx as nw}from"react/jsx-runtime";import{jsx as Xp}from"react/jsx-runtime";var Il="k-table-td",Wp=[n.focus,n.selected,n.highlighted],i=e=>{let{focus:o,selected:t,highlighted:a,text:l,colspan:s,rowspan:p,...u}=e,f=l||e.children;return Xp("td",{colSpan:s,rowSpan:p,...u,className:r(e.className,Il,I(Il,{focus:o,selected:t,highlighted:a})),children:f})};i.states=Wp;i.className=Il;import{jsx as bw}from"react/jsx-runtime";import{jsx as hw}from"react/jsx-runtime";import{jsx as ww}from"react/jsx-runtime";import{jsx as yw}from"react/jsx-runtime";import{jsx as Rw}from"react/jsx-runtime";import{jsx as _w,jsxs as Dw}from"react/jsx-runtime";import{jsx as Uw,jsxs as Fw}from"react/jsx-runtime";import{jsx as Xw,jsxs as Jw}from"react/jsx-runtime";import{Fragment as ev,jsx as Zw,jsxs as jw}from"react/jsx-runtime";import{jsx as Yp}from"react/jsx-runtime";var Kn="k-grid-header-table",K=e=>Yp(Ue,{...e,className:r(e.className,Kn),children:e.children});K.className=Kn;K.moduleName=oe;K.folderName=ae;import{Fragment as em,jsx as Bn}from"react/jsx-runtime";var Rl="k-font-icon",Qp=[],Zp={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]},jp={},Jr=e=>{let{size:o,themeColor:t,icon:a,rotate:l,flip:s,...p}=e;return a?Bn("span",{...p,className:r(e.className,Rl,S(Rl,{size:o}),{[`k-i-${a}`]:a,[`k-color-${t}`]:t,[`k-rotate-${l}`]:l,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):Bn(em,{})};Jr.states=Qp;Jr.options=Zp;Jr.className=Rl;Jr.defaultOptions=jp;var zn=Jr;import{Fragment as rm,jsx as Ma}from"react/jsx-runtime";var Al="k-svg-icon",om=[],tm={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:[Ko.outline,Ko.solid,Ko.duotone]},El={viewBox:"0 0 24 24",variant:Ko.outline},qr=e=>{let{size:o,themeColor:t,rotate:a,flip:l,viewBox:s=El.viewBox,variant:p=El.variant,icon:u,...f}=e;if(!u)return Ma(rm,{});if(u==="none")return Ma("span",{...f,className:r(e.className,Al,S("k-icon",{size:o}),"k-none"),"aria-hidden":"true"});let k=typeof u=="object"&&u.name&&u.name,N=typeof u=="object"?p&&u.variants?.[p]||u.variants?.outline||u.content:void 0;return Ma("span",{...f,className:r(e.className,Al,S("k-icon",{size:o}),{[`k-svg-i-${k}`]:k,[`k-color-${t}`]:t,[`k-rotate-${a}`]:a,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true",children:Ma("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof u=="object"?u.viewBox:s,dangerouslySetInnerHTML:N!==void 0?{__html:N}:void 0,children:u?void 0:e.children})})};qr.states=om;qr.options=tm;qr.className=Al;qr.defaultOptions=El;var Gl=qr;import*as Ol from"@progress/kendo-svg-icons";var Un="icon",Fn="icons";import{useContext as lm}from"react";import{createContext as am}from"react";var $n=am({iconsType:"svg"});import{Fragment as Vn,jsx as Yr}from"react/jsx-runtime";var Sa="k-icon",im=e=>e.replace(/([-_][a-z0-9])/gi,o=>o.toUpperCase().replace("-","").replace("_","")),nm=[],sm={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:[Ko.outline,Ko.solid,Ko.duotone]},Ia={viewBox:"0 0 24 24",type:"svg",variant:Ko.outline},c=e=>{let{iconsType:o}=lm($n),{size:t,themeColor:a,icon:l,type:s=o||Ia.type,rotate:p,flip:u,viewBox:f=Ia.viewBox,variant:k=Ia.variant,...N}=e;if(!l)return Yr(Vn,{});if((o||s)==="svg"){if(l==="none")return Yr(Gl,{...N,className:r(e.className,Sa),icon:l,size:t,variant:k});let b=Ol[l]?l:im(`${l}-icon`);return Ol[b]?Yr(Gl,{...N,className:r(e.className,Sa),icon:Ol[b],size:t,themeColor:a,rotate:p,flip:u,viewBox:f,variant:k}):Yr(Vn,{})}return Yr(zn,{...N,className:r(e.className,Sa),icon:l,size:t,themeColor:a,rotate:p,flip:u})};c.states=nm;c.options=sm;c.defaultOptions=Ia;c.className=Sa;c.moduleName=Un;c.folderName=Fn;c.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 ct,jsxs as Hl}from"react/jsx-runtime";var Pl="k-header",dm=[n.hover,n.focus,n.active],Wn={sortIcon:"sort-asc-small"},w=e=>{let{menu:o,sortable:t,filterable:a,sticky:l,resizable:s,columnTitle:p,hover:u,focus:f,active:k,sortIcon:N=Wn.sortIcon,sortOrder:v,accessibleLabel:b,...C}=e;return Hl(qo,{...C,className:r(e.className,Pl,{"k-filterable":o||a,"k-sorted":t,"k-grid-header-sticky":l,"k-touch-action-none":s},I(Pl,{hover:u,focus:f,active:k})),children:[p&&Hl("span",{className:"k-cell-inner",children:[Hl("span",{className:"k-link",children:[ct("span",{className:"k-column-title",children:p}),t&&ct("span",{className:"k-sort-icon",children:ct(c,{icon:N})}),v&&ct("span",{className:"k-sort-order",children:v})]}),o&&ct("a",{className:r("k-grid-header-menu",{"k-active":k,"k-grid-filter-menu":o==="filter","k-grid-column-menu":o==="column"}),children:ct(c,{icon:o==="filter"?"filter":"more-vertical"})})]}),!p&&b&&ct("span",{className:"k-sr-only",children:b}),e.children,s&&ct("span",{className:"k-column-resizer k-touch-action-none"})]})};w.states=dm;w.className=Pl;w.defaultOptions=Wn;w.moduleName=oe;w.folderName=ae;import{jsx as cm}from"react/jsx-runtime";var Xn="k-grid-container",$=e=>cm("div",{...e,className:r(e.className,Xn),children:e.children});$.className=Xn;$.moduleName=oe;$.folderName=ae;import{jsx as pm}from"react/jsx-runtime";var Jn="k-grid-content",z=e=>pm("div",{...e,className:r(e.className,Jn),children:e.children});z.className=Jn;z.moduleName=oe;z.folderName=ae;import{jsx as mm}from"react/jsx-runtime";var qn="k-grid-table",U=e=>mm(Ue,{...e,className:r(e.className,qn),children:e.children});U.className=qn;U.moduleName=oe;U.folderName=ae;import{jsx as um}from"react/jsx-runtime";var Yn="k-grid-footer",Ra=e=>um("div",{...e,className:r(e.className,Yn),children:e.children});Ra.className=Yn;Ra.moduleName=oe;Ra.folderName=ae;import{jsx as bm}from"react/jsx-runtime";var Qn="k-grid-footer-table",Aa=e=>bm(Ue,{...e,className:r(e.className,Qn),children:e.children});Aa.className=Qn;Aa.moduleName=oe;Aa.folderName=ae;var _l="button",Zn=_l;import{Fragment as jn,jsx as qt,jsxs as es}from"react/jsx-runtime";var Qr="k-button",fm=["icon-button"],Tm=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],gm={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[h.undefined,h.none,h.small,h.medium,h.large,h.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},Dl={showArrow:!1,arrowIconName:"chevron-down"},m=e=>{let{as:o="button",size:t,rounded:a,fillMode:l,themeColor:s,showArrow:p=Dl.showArrow,arrowIconName:u=Dl.arrowIconName,variant:f,hover:k,focus:N,active:v,selected:b,disabled:C,togglable:M,ariaDisabled:A,icon:H,iconSize:B,text:Q,iconClassName:Le,className:ue,...We}=e,Xe=H!=null,Je=e.children!==void 0;return es(o,{className:r(ue,Qr,yn(Qr,f),S(Qr,{size:t,rounded:a,fillMode:l,themeColor:s}),I(Qr,{hover:k,focus:N,active:v,disabled:C||A,selected:b}),{"k-icon-button":!Q&&!Je&&Xe}),"aria-pressed":M?b?"true":"false":void 0,...We,"aria-disabled":A?"true":void 0,disabled:C||void 0,children:[typeof H=="string"&&H&&qt(c,{className:r(Le,"k-button-icon"),icon:H,size:B}),H&&typeof H!="string"&&qt(jn,{children:H}),Q?es(jn,{children:[Q&&qt("span",{className:"k-button-text",children:Q}),e.children]}):e.children&&qt("span",{className:"k-button-text",children:e.children}),p&&qt("span",{className:"k-menu-button-arrow k-button-arrow",children:qt(c,{icon:u})})]})};m.states=Tm;m.options=gm;m.variants=fm;m.className=Qr;m.defaultOptions=Dl;m.moduleName=_l;m.folderName=Zn;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 hm}from"react/jsx-runtime";var pt=e=>hm(m,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as xm}from"react/jsx-runtime";var Zr=e=>xm(m,{icon:"folder",children:"Button",...e});import{jsx as Nm}from"react/jsx-runtime";var It=e=>Nm(m,{children:"Button",...e});import{jsx as Kl}from"react/jsx-runtime";var km=m.options,wm=m.states,vm={...m.defaultOptions,variant:"text"},Cm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Lm=[],Yt=e=>{let{variant:o,...t}=e;switch(o){case"icon-only":return Kl(pt,{...t,icon:"star"});case"icon-and-text":return Kl(Zr,{...t,icon:"star",children:"Button"});default:return Kl(It,{...t,children:"Button"})}};Yt.options=km;Yt.states=wm;Yt.variants=Cm;Yt.defaultOptions=vm;Yt.modifiers=Lm;Yt.className=m.className;var jr="input",Ea=jr;import{jsx as Im}from"react/jsx-runtime";var Ga="k-input",ym=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Mm={size:[d.undefined,d.small,d.medium,d.large],rounded:[h.undefined,h.none,h.small,h.medium,h.large,h.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Sm={},Ie=e=>{let{hover:o,focus:t,disabled:a,invalid:l,valid:s,loading:p,readonly:u,size:f,rounded:k,fillMode:N,...v}=e;return Im("span",{...v,className:r(e.className,Ga,S(Ga,{size:f,rounded:k,fillMode:N}),I(Ga,{hover:o,focus:t,disabled:a,invalid:l,valid:s,loading:p,readonly:u}))})};Ie.states=ym;Ie.options=Mm;Ie.className=Ga;Ie.defaultOptions=Sm;Ie.moduleName=jr;Ie.folderName=Ea;import{jsx as Gm}from"react/jsx-runtime";var Oa="k-picker",Rm=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Am={size:[d.undefined,d.small,d.medium,d.large],rounded:[h.undefined,h.none,h.small,h.medium,h.large,h.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Em={},Bo=e=>{let{hover:o,focus:t,disabled:a,invalid:l,valid:s,loading:p,readonly:u,size:f,rounded:k,fillMode:N,...v}=e;return Gm("span",{...v,className:r(e.className,Oa,S(Oa,{size:f,rounded:k,fillMode:N}),I(Oa,{hover:o,focus:t,disabled:a,invalid:l,valid:s,loading:p,readonly:u})),children:e.children})};Bo.states=Rm;Bo.options=Am;Bo.className=Oa;Bo.defaultOptions=Em;Bo.moduleName=jr;Bo.folderName=Ea;import{Fragment as Pm,jsx as Bl}from"react/jsx-runtime";var os="k-clear-value",Om=[n.disabled,n.loading,n.readonly],Hm={},mo=e=>{let{disabled:o,loading:t,readonly:a,value:l}=e;return o||a||t||!l?Bl(Pm,{}):Bl("span",{className:r(e.className,os),children:Bl(c,{icon:"x"})})};mo.states=Om;mo.options=Hm;mo.className=os;import{jsx as Km}from"react/jsx-runtime";var zl="k-input-inner",_m=[],Dm={},Ha={type:"text",autocomplete:"off",value:"",placeholder:""},uo=e=>{let{value:o=Ha.value,type:t=Ha.type,placeholder:a=Ha.placeholder,autocomplete:l=Ha.autocomplete,disabled:s,readOnly:p,...u}=e;return Km("input",{...u,type:t,className:r(e.className,zl,S(zl,e)),placeholder:a,autoComplete:l,defaultValue:o,disabled:s||void 0,readOnly:p||void 0})};uo.states=_m;uo.options=Dm;uo.className=zl;import{jsx as ts,jsxs as Um}from"react/jsx-runtime";var Ul="k-input-inner",Bm=[],zm={},Rt=e=>{let{value:o,placeholder:t,showValue:a,valueIcon:l,valueIconName:s,...p}=e;return Um("span",{...p,className:r(e.className,Ul,S(Ul,e)),children:[l,!l&&s&&ts(c,{className:"k-input-value-icon",icon:s}),a&&!o&&t,a&&o&&ts("span",{className:"k-input-value-text",children:o})]})};Rt.states=Bm;Rt.options=zm;Rt.className=Ul;import{jsx as Vm}from"react/jsx-runtime";var Fl="k-input-inner",Fm=[],$m={},rs={value:"",placeholder:""},$l=e=>{let{value:o=rs.value,placeholder:t=rs.placeholder,rows:a,disabled:l,...s}=e;return Vm("textarea",{...s,className:r(e.className,Fl,S(Fl,e)),placeholder:t,rows:a,defaultValue:o,disabled:l||void 0})};$l.states=Fm;$l.options=$m;$l.className=Fl;import{Fragment as Xm,jsx as as}from"react/jsx-runtime";var ls="k-input-loading-icon",Wm=[n.disabled,n.loading],lo=e=>{let{disabled:o,loading:t}=e;return o||!t?as(Xm,{}):as("span",{className:r(e.className,ls,"k-icon k-i-loading")})};lo.states=Wm;lo.className=ls;import{Fragment as Ym,jsx as is}from"react/jsx-runtime";var ns="k-input-validation-icon",Jm=[n.valid,n.invalid,n.disabled,n.loading],qm={},qe=e=>{let{valid:o,invalid:t,disabled:a,loading:l}=e,s=t?"warning-circle":"check-circle";return a||l||!!!(o||t)?is(Ym,{}):is(c,{className:r(ns),icon:s})};qe.states=Jm;qe.options=qm;qe.className=ns;import{Fragment as jm,jsx as ss}from"react/jsx-runtime";var Qm="k-input-prefix",Zm={direction:"horizontal"},ko=e=>{let{direction:o=Zm.direction,...t}=e;return e.children?ss("span",{...t,className:r(Qm,e.className,{[`k-input-prefix-${o}`]:o}),children:e.children}):ss(jm,{})};import{Fragment as tu,jsx as ds}from"react/jsx-runtime";var eu="k-input-suffix",ou={direction:"horizontal"},wo=e=>{let{direction:o=ou.direction,...t}=e;return e.children?ds("span",{...t,className:r(eu,e.className,{[`k-input-suffix-${o}`]:o}),children:e.children}):ds(tu,{})};import{jsx as $L}from"react/jsx-runtime";import{jsx as au}from"react/jsx-runtime";var ru="k-input-suffix-text",Vl=e=>{let{children:o,...t}=e;return au("span",{...t,className:r(ru,e.className),children:o})};import{jsx as iu}from"react/jsx-runtime";var cs="k-input-separator",lu={direction:"vertical"},vo=e=>{let{direction:o=lu.direction,...t}=e;return iu("span",{...t,className:r(cs,e.className,{[`${cs}-${o}`]:o})})};import{Fragment as ps,jsx as zo,jsxs as Wl}from"react/jsx-runtime";var nu=Ie.states,su=Ie.defaultOptions,du=Ie.options,cu=[{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=[],Qt=e=>{let{modifiers:o,valid:t,invalid:a,loading:l,disabled:s,readonly:p,...u}=e,f=o?.prefix,k=o?.suffix,N=o?.["clear-button"],v=o?.["validation-icon"],b=o?.separators;return Wl(Ie,{...u,valid:t,invalid:a,loading:l,disabled:s,readonly:p,style:{width:300},children:[f&&Wl(ps,{children:[zo(ko,{children:zo(c,{icon:"lock"})}),b&&zo(vo,{})]}),zo(uo,{placeholder:"Placeholder",value:"Value"}),v&&zo(qe,{valid:t,invalid:a,loading:l,disabled:s}),zo(lo,{loading:l,disabled:s}),N&&zo(mo,{loading:l,disabled:s,readonly:p,value:"Value"}),k&&Wl(ps,{children:[b&&zo(vo,{}),zo(wo,{children:zo(It,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};Qt.options=du;Qt.states=nu;Qt.variants=pu;Qt.defaultOptions=su;Qt.modifiers=cu;Qt.className=Ie.className;var Xl="popup",ms=Xl;import{jsx as us}from"react/jsx-runtime";var bs="k-animation-container",mu=[],uu={},Jl={positionMode:"absolute",shown:!0},Uo=e=>{let{positionMode:o=Jl.positionMode,shown:t=Jl.shown,animationStyle:a,offset:l,...s}=e;return us("div",{...s,style:{...l,...e.style},className:r(e.className,bs,{"k-animation-container-shown":t,"k-animation-container-fixed":o==="fixed"}),children:us("div",{className:"k-child-animation-container",style:a,children:e.children})})};Uo.states=mu;Uo.options=uu;Uo.className=bs;Uo.defaultOptions=Jl;Uo.moduleName=Xl;Uo.folderName=ms;var ql="popup",fs=ql;import{jsx as Ts}from"react/jsx-runtime";var gs="k-popup",bu=[],fu={},hs={positionMode:"absolute"},ie=e=>{let{offset:o,positionMode:t=hs.positionMode,animationStyle:a,containerClassName:l,containerRole:s,containerAriaLabel:p,...u}=e;return Ts(Uo,{positionMode:t,offset:o,animationStyle:a,className:l,role:s,"aria-label":p,children:Ts("div",{...u,className:r(e.className,gs),children:e.children})})};ie.states=bu;ie.options=fu;ie.className=gs;ie.defaultOptions=hs;ie.moduleName=ql;ie.folderName=fs;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 Yl="action-buttons",xs=Yl;import{jsx as hu}from"react/jsx-runtime";var Pa="k-actions",Tu=[],gu={},Ql={alignment:"start",orientation:"horizontal"},Co=e=>{let{alignment:o=Ql.alignment,orientation:t=Ql.orientation,...a}=e;return hu("div",{...a,className:r(Pa,{[`${Pa}-${o}`]:o,[`${Pa}-${t}`]:t},e.className),children:e.children})};Co.states=Tu;Co.options=gu;Co.className=Pa;Co.defaultOptions=Ql;Co.moduleName=Yl;Co.folderName=xs;import{jsx as Nu}from"react/jsx-runtime";var xu="k-actionsheet-footer",Ns={alignment:"stretched",orientation:"horizontal"},mt=e=>{let{alignment:o=Ns.alignment,orientation:t=Ns.orientation,template:a,as:l=a?"div":Co,...s}=e;return Nu(l,{...s,...!a&&{alignment:o,orientation:t},className:r(e.className,xu),children:e.children})};var Zl="searchbox",ks=Zl;import{jsx as ea,jsxs as vu}from"react/jsx-runtime";var ws="k-searchbox",ku=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],wu={size:[d.undefined,d.small,d.medium,d.large],rounded:[h.undefined,h.none,h.small,h.medium,h.large,h.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},jl={showIcon:!0,icon:"search"},bo=e=>{let{value:o,placeholder:t,size:a,rounded:l,fillMode:s,hover:p,focus:u,valid:f,invalid:k,required:N,loading:v,disabled:b,showIcon:C=jl.showIcon,icon:M=jl.icon,"aria-label":A,...H}=e;return vu(Ie,{...H,size:a,rounded:l,fillMode:s,hover:p,focus:u,valid:f,invalid:k,required:N,loading:v,disabled:b,className:r(e.className,ws),children:[C&&ea(c,{className:"k-input-icon",icon:M}),ea(uo,{placeholder:t,value:o,"aria-label":A}),ea(lo,{...e}),ea(qe,{...e}),ea(mo,{...e})]})};bo.states=ku;bo.options=wu;bo.className=ws;bo.defaultOptions=jl;bo.moduleName=Zl;bo.folderName=ks;import{jsx as dM}from"react/jsx-runtime";var ei="textbox",vs=ei;import{Fragment as Cs,jsx as ut,jsxs as oi}from"react/jsx-runtime";var Ls="k-textbox",Cu=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Lu={size:[d.undefined,d.small,d.medium,d.large],rounded:[h.undefined,h.none,h.small,h.medium,h.large,h.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},_a={showClearButton:!0,showValidationIcon:!0,separators:!0},be=e=>{let{size:o,rounded:t,fillMode:a,separators:l=_a.separators,showClearButton:s=_a.showClearButton,showValidationIcon:p=_a.showValidationIcon,prefix:u,suffix:f,type:k,value:N,placeholder:v,hover:b,focus:C,valid:M,invalid:A,required:H,loading:B,disabled:Q,readonly:Le,id:ue,"aria-label":We,"aria-describedby":Xe,...Je}=e;return oi(Ie,{...Je,size:o,rounded:t,fillMode:a,hover:b,focus:C,valid:M,invalid:A,required:H,loading:B,disabled:Q,readonly:Le,className:r(e.className,Ls),children:[u&&oi(Cs,{children:[ut(ko,{children:u}),l&&ut(vo,{})]}),ut(uo,{id:ue,placeholder:v,value:N,type:k,disabled:Q,"aria-label":We,"aria-describedby":Xe,"aria-invalid":A?"true":void 0}),p&&ut(qe,{valid:M,invalid:A,loading:B,disabled:Q}),ut(lo,{loading:B,disabled:Q}),s&&ut(mo,{loading:B,disabled:Q,readonly:Le,value:N}),f&&oi(Cs,{children:[l&&ut(vo,{}),ut(wo,{children:f})]})]})};be.states=Cu;be.options=Lu;be.className=Ls;be.defaultOptions=_a;be.moduleName=ei;be.folderName=vs;be.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 oa=be;import{jsx as yu}from"react/jsx-runtime";var ys=e=>yu(oa,{...e});import{Fragment as MM,jsx as yM}from"react/jsx-runtime";import{Fragment as GM,jsx as EM}from"react/jsx-runtime";import{jsx as _M}from"react/jsx-runtime";import{jsx as ti}from"react/jsx-runtime";var Mu=be.states,Su=be.defaultOptions,Iu=be.options,Ru=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Au=[],Zt=e=>{let{modifiers:o,...t}=e,a={};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":a.prefix=o?.[l]?ti(c,{icon:"lock"}):void 0;break;case"suffix":a.suffix=o?.[l]?ti(It,{size:t.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=o?.[l];break;default:break}}),ti(ys,{value:"Value",style:{width:300},...t,...a})};Zt.options=Iu;Zt.states=Mu;Zt.variants=Au;Zt.defaultOptions=Su;Zt.modifiers=Ru;Zt.className=be.className;import{jsx as bt,jsxs as ri}from"react/jsx-runtime";var Ms="k-actionsheet-titlebar",Eu={},Ye=e=>{let{title:o,subtitle:t,actionsStart:a,actionsEnd:l,filter:s,input:p,inputValue:u,inputPlaceholder:f,adaptive:k,titleId:N,children:v,...b}=e;return ri("div",{...b,className:r(e.className,Ms),children:[ri("div",{className:"k-actionsheet-titlebar-group",children:[a&&bt("div",{className:"k-actionsheet-actions",children:a}),!v&&ri("div",{className:"k-actionsheet-title",id:N,children:[o&&bt("div",{className:"k-text-center",children:o}),t&&bt("div",{className:"k-actionsheet-subtitle k-text-center",children:t})]}),v&&bt("div",{className:"k-actionsheet-title",id:N,children:v}),l&&bt("div",{className:"k-actionsheet-actions",children:l})]}),(p||s)&&bt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:p?bt(be,{value:u,placeholder:f,size:k?"large":"medium","aria-label":o||f||"Input"}):bt(bo,{placeholder:"Filter",size:k?"large":"medium","aria-label":"Filter options"})})]})};Ye.className=Ms;Ye.defaultOptions=Eu;import{jsx as ai,jsxs as Pu}from"react/jsx-runtime";var li="k-actionsheet-view",Gu=[],Ou={},Hu={},jt=e=>{let{adaptive:o,animated:t,children:a,header:l,footer:s,titleId:p,...u}=e,f=l?.type===Ye&&ai(Ye,{adaptive:o,titleId:p,...l?.props}),k=s?.type===mt&&ai(mt,{...s?.props});return Pu("div",{...u,className:r(e.className,li,{[`${li}-animated`]:t}),children:[f,ai("div",{className:"k-actionsheet-content",children:a}),k]})};jt.states=Gu;jt.options=Ou;jt.className=li;jt.defaultOptions=Hu;var ta="action-sheet",Da=ta;var ii="overlay",Ss=ii;import{jsx as Bu}from"react/jsx-runtime";var Is="k-overlay",_u=[],Du={},Ku={},ft=e=>{let{...o}=e;return Bu("div",{...o,className:r(e.className,Is),children:e.children})};ft.states=_u;ft.options=Du;ft.className=Is;ft.defaultOptions=Ku;ft.moduleName=ii;ft.folderName=Ss;import{jsx as Ka,jsxs as Fu}from"react/jsx-runtime";var Rs="k-actionsheet",zu=[],Uu={},ra={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Me=e=>{let{side:o=ra.side,fullscreen:t=ra.fullscreen,adaptive:a=ra.adaptive,overlay:l=ra.overlay,template:s,children:p,header:u,footer:f,id:k,...N}=e,v=k&&!s&&u?`${k}-title`:void 0;return Fu("div",{className:"k-actionsheet-container",children:[l&&Ka(ft,{}),Ka(Uo,{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:Ka("div",{...N,id:k,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":v,className:r(e.className,Rs,{[`k-actionsheet-${o}`]:t===!1,"k-actionsheet-fullscreen":t===!0,"k-adaptive-actionsheet":a}),children:s||Ka(jt,{header:u,footer:f,adaptive:a,titleId:v,...e,children:p})})})]})};Me.states=zu;Me.options=Uu;Me.className=Rs;Me.defaultOptions=ra;Me.moduleName=ta;Me.folderName=Da;Me.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 Xu}from"react/jsx-runtime";var As="k-actionsheet-container",$u=[],Vu={},Wu={},er=e=>{let{children:o,...t}=e;return Xu("div",{...t,className:As,children:o})};er.states=$u;er.options=Vu;er.className=As;er.defaultOptions=Wu;er.moduleName=ta;er.folderName=Da;import{jsx as Ju}from"react/jsx-runtime";var ni=e=>{let{...o}=e;return Ju("div",{...o,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Yu,jsx as aa,jsxs as si}from"react/jsx-runtime";var di="k-actionsheet-item",qu=[n.hover,n.focus,n.selected,n.disabled],Tt=e=>{let{iconName:o,text:t,description:a,hover:l,focus:s,selected:p,disabled:u,...f}=e;return si("span",{...f,className:r(e.className,di,I(di,{hover:l,focus:s,selected:p,disabled:u})),children:[!e.children&&aa(Yu,{children:si("span",{className:"k-actionsheet-action",children:[o&&aa("span",{className:"k-icon-wrap",children:aa(c,{className:"k-actionsheet-item-icon",icon:o})}),si("span",{className:"k-actionsheet-item-text",children:[t&&aa("span",{className:"k-actionsheet-item-title",children:t}),a&&aa("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Tt.states=qu;Tt.className=di;import{jsx as PS,jsxs as _S}from"react/jsx-runtime";import{jsx as zS}from"react/jsx-runtime";import{jsx as VS}from"react/jsx-runtime";import{jsx as qS}from"react/jsx-runtime";import{jsx as He,jsxs as ci}from"react/jsx-runtime";var Qu=Me.options,Zu=Me.states,Gs={...Me.defaultOptions,variant:"normal"},ju=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],eb=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],or=e=>{let{variant:o,modifiers:t,...a}={...Gs,...e},l={},s=ci(ni,{children:[He(Tt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),He(Tt,{text:"Add to Favorites",iconName:"heart"}),He(Tt,{text:"Upload New",iconName:"upload",disabled:!0}),He("hr",{className:"k-hr"}),He(Tt,{text:"Cancel",iconName:"cancel"})]}),p="Choose from the items below",u="Select Item";return o==="fullScreen"&&(l.fullScreen=!0),Object.keys(t||{}).forEach(f=>{switch(f){case"actions":l.actionsStart=!!t?.[f],l.actionsEnd=!!t?.[f];break;case"subtitle":l.subtitle=t?.[f]?p:void 0;break;case"footer":l.footer=!!t?.[f];break;default:break}}),o==="adaptive"?He(Me,{...a,adaptive:!0,fullscreen:l.fullScreen,header:He(Ye,{actionsStart:l.actionsStart?He(m,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?He(m,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:l.subtitle}),footer:l.footer?ci(mt,{alignment:"stretched",children:[He(m,{text:"Cancel",size:"large",themeColor:"base"}),He(m,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):He(Me,{...a,fullscreen:l.fullScreen,header:He(Ye,{actionsStart:l.actionsStart?He(m,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?He(m,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:l.subtitle}),footer:l.footer?ci(mt,{alignment:"stretched",children:[He(m,{text:"Apply",themeColor:"primary"}),He(m,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};or.options=Qu;or.states=Zu;or.variants=ju;or.defaultOptions=Gs;or.modifiers=eb;or.className=Me.className;import mi from"react";import{jsx as Os}from"react/jsx-runtime";var ob="k-list-group-sticky-header",pi=e=>Os("div",{className:r(ob,e.className),children:Os("div",{className:"k-list-header-text",children:e.children})});import{jsx as rb}from"react/jsx-runtime";var tb="k-no-data",Ba=e=>{let{live:o,...t}=e;return rb("span",{...t,className:r(tb,e.className),"aria-live":o?"polite":void 0,children:e.children})};var At="list",tr=At;import{jsx as Hs,jsxs as Ps}from"react/jsx-runtime";var ui="k-list",ab=[],lb={size:[d.undefined,d.small,d.medium,d.large]},ib={},le=e=>{let{size:o,virtualization:t,children:a,header:l,selectAll:s,optionLabel:p,customValue:u,noData:f,screenReaders:k,...N}=e,b=mi.Children.toArray(a)[0],C=b?.props?.children?mi.Children.count(b.props.children):mi.Children.count(a);return Ps("div",{...N,className:r(e.className,ui,S(ui,{size:o}),{"k-virtual-list":t}),children:[p,s,u,l&&Hs(pi,{children:l}),a||(f!==void 0?f:Hs(Ba,{live:!0,children:"No data found."})),k&&a&&Ps(Ba,{className:"k-sr-only",live:!0,children:[C," items found."]})]})};le.states=ab;le.options=lb;le.className=ui;le.defaultOptions=ib;le.moduleName=At;le.folderName=tr;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 cb}from"react/jsx-runtime";var _s="k-list-container",nb=[],sb={},db={},rr=e=>{let{...o}=e;return cb("div",{...o,classNa