@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 205 kB
JavaScript
var ou=Object.create;var Ir=Object.defineProperty;var tu=Object.getOwnPropertyDescriptor;var au=Object.getOwnPropertyNames;var ru=Object.getPrototypeOf,lu=Object.prototype.hasOwnProperty;var iu=(e,o)=>{for(var t in o)Ir(e,t,{get:o[t],enumerable:!0})},fs=(e,o,t,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let l of au(o))!lu.call(e,l)&&l!==t&&Ir(e,l,{get:()=>o[l],enumerable:!(r=tu(o,l))||r.enumerable});return e};var Ts=(e,o,t)=>(t=e!=null?ou(ru(e)):{},fs(o||!e||!e.__esModule?Ir(t,"default",{value:e,enumerable:!0}):t,e)),nu=e=>fs(Ir({},"__esModule",{value:!0}),e);var ek={};iu(ek,{TreeList:()=>Tt,default:()=>jN});module.exports=nu(ek);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 y=(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:n,checked:d,active:m,selected:f,disabled:k,indeterminate:N,loading:w,empty:b,readonly:v,highlighted:C,...G}=o;return a({"k-valid":t,"k-invalid":r,"k-hover":l,"k-focus":n,"k-checked":d,"k-active":m,"k-selected":f,"k-disabled":k,"k-indeterminate":N&&!d,"k-loading":w,"k-empty":b,"k-readonly":v,"k-highlighted":C},Object.keys(G).reduce((H,P)=>(P.startsWith("k-")?H[P]=G[P]:H[`k-${P}`]=G[P],H),{}))};function gs(e,o){if(!o)return{};let t=Array.isArray(o)?o:[o];return Object.fromEntries(t.map(r=>[`k-${r}`,!0]))}var s={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},g={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},h={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Uo={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},M={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 Ll={};function B(e){return Ll[e]=(Ll[e]||0)+1,`k-${e}-${Ll[e]}`}var j="grid",oe=j;var Er=require("react/jsx-runtime"),Rr="k-grid",su=[],du={size:[s.undefined,s.small,s.medium,s.large]},cu=[],hs={pagerPosition:"bottom"},_=e=>{let{size:o,pagerPosition:t=hs.pagerPosition,toolbar:r,pager:l,groupingHeader:n,gridSelectionAggregates:d,_renderAriaRoot:m,resizable:f,ariaColCount:k,ariaRowCount:N,ariaRootId:w,ariaRole:b="grid",...v}=e;return(0,Er.jsxs)("div",{...v,className:a(e.className,Rr,{[`${Rr}-resizable`]:f},y(Rr,{size:o})),children:[r,t==="top"&&l,n,e.children&&m?(0,Er.jsx)("div",{className:"k-grid-aria-root",role:b,id:w,"aria-colcount":k,"aria-rowcount":N,children:e.children}):e.children,d,t==="bottom"&&l]})};_.states=su;_.options=du;_.variants=cu;_.className=Rr;_.defaultOptions=hs;_.moduleName=j;_.folderName=oe;_.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."}]};var Ns=require("react/jsx-runtime"),xs="k-grid-header",J=e=>{let{draggable:o,...t}=e;return(0,Ns.jsx)("div",{...t,className:a(e.className,xs,{"k-grid-draggable-header":o}),children:e.children})};J.className=xs;J.moduleName=j;J.folderName=oe;var Ja=require("react/jsx-runtime"),ks="k-grouping-header",ze=e=>{let{dropHint:o,dropClue:t,...r}=e;return(0,Ja.jsxs)("div",{...r,className:a(e.className,ks),children:[t&&(0,Ja.jsx)("div",{className:"k-grouping-dropclue"}),e.children,(0,Ja.jsx)("div",{className:"k-grouping-drop-container",children:o})]})};ze.className=ks;ze.moduleName=j;ze.folderName=oe;var vs=require("react/jsx-runtime"),ws="k-grid-pinned-container",Ya=e=>{let{position:o,...t}=e;return(0,vs.jsx)("div",{...t,className:a(e.className,ws,{"k-pos-bottom":o==="bottom"}),children:e.children})};Ya.className=ws;Ya.moduleName=j;Ya.folderName=oe;var Ls=require("react/jsx-runtime"),Cs="k-grid-sticky-container",Qa=e=>{let{position:o,...t}=e;return(0,Ls.jsx)("div",{...t,className:a(e.className,Cs,{"k-pos-bottom":o==="bottom"}),children:e.children})};Qa.className=Cs;Qa.moduleName=j;Qa.folderName=oe;var Ee="table",Ue=Ee;var ys=require("react/jsx-runtime"),Ms="k-data-table",pu=[],mu={size:[s.undefined,s.small,s.medium,s.large]},uu={},Zo=e=>{let{size:o,...t}=e;return(0,ys.jsx)("div",{...t,className:a(e.className,Ms,y("k-table",{size:o})),children:e.children})};Zo.states=pu;Zo.options=mu;Zo.className=Ms;Zo.defaultOptions=uu;Zo.moduleName=Ee;Zo.folderName=Ue;var Ss=require("react/jsx-runtime"),Ml="k-table-header-wrap",bu=[i.hover,i.focus,i.disabled],fu={},Tu={},ht=e=>{let{children:o,hover:t,focus:r,disabled:l,...n}=e;return(0,Ss.jsx)("div",{...n,className:a(e.className,Ml,S(Ml,{hover:t,focus:r,disabled:l})),children:o})};ht.states=bu;ht.options=fu;ht.className=Ml;ht.defaultOptions=Tu;ht.moduleName=Ee;ht.folderName=Ue;var As=require("react/jsx-runtime"),yl="k-table",gu=[],hu={size:[s.undefined,s.small,s.medium,s.large]},xu={},Fe=e=>{let{size:o,...t}=e;return(0,As.jsx)("table",{...t,className:a(e.className,yl,y(yl,{size:o})),children:e.children})};Fe.states=gu;Fe.options=hu;Fe.className=yl;Fe.defaultOptions=xu;Fe.moduleName=Ee;Fe.folderName=Ue;var Gr=require("react/jsx-runtime"),Sl="k-table-header",Nu=[i.hover,i.focus,i.disabled],ku={},wu={},jo=e=>{let{children:o,hover:t,focus:r,disabled:l,...n}=e;return(0,Gr.jsx)("div",{...n,className:a(e.className,Sl,S(Sl,{hover:t,focus:r,disabled:l})),children:(0,Gr.jsx)(ht,{children:(0,Gr.jsx)(Fe,{children:o})})})};jo.states=Nu;jo.options=ku;jo.className=Sl;jo.defaultOptions=wu;jo.moduleName=Ee;jo.folderName=Ue;var Rs=require("react/jsx-runtime"),Is="k-table-scroller",vu=[],Cu={},Lu={},Qt=e=>{let{children:o,...t}=e;return(0,Rs.jsx)("div",{...t,className:a(e.className,Is),children:o})};Qt.states=vu;Qt.options=Cu;Qt.className=Is;Qt.defaultOptions=Lu;Qt.moduleName=Ee;Qt.folderName=Ue;var Mu=require("react/jsx-runtime");var Gs=require("react/jsx-runtime"),Es="k-table-footer",yu=[],Su={},Au={},xt=e=>{let{children:o,...t}=e;return(0,Gs.jsx)("div",{...t,className:a(e.className,Es),children:o})};xt.states=yu;xt.options=Su;xt.className=Es;xt.defaultOptions=Au;xt.moduleName=Ee;xt.folderName=Ue;var Os=require("react/jsx-runtime"),Al="k-table-list",Iu=[],Ru={size:[s.undefined,s.small,s.medium,s.large]},Eu={},Nt=e=>{let{size:o,virtualization:t,...r}=e;return(0,Os.jsx)("ul",{...r,className:a(e.className,"k-table",Al,y(Al,{size:o}),{"k-virtual-table":t}),children:e.children})};Nt.states=Iu;Nt.options=Ru;Nt.className=Al;Nt.defaultOptions=Eu;Nt.moduleName=Ee;Nt.folderName=Ue;var Hs=require("react/jsx-runtime"),Gu="k-table-thead",$=e=>(0,Hs.jsx)("thead",{className:a(e.className,Gu),children:e.children});var Ps=require("react/jsx-runtime"),Ou="k-table-tbody",Y=e=>(0,Ps.jsx)("tbody",{className:a(e.className,Ou),children:e.children});var Hu=require("react/jsx-runtime");var _s=require("react/jsx-runtime"),Il="k-table-row",Pu=[i.hover,i.focus,i.selected,i.disabled,i.highlighted],A=e=>{let{hover:o,focus:t,selected:r,highlighted:l,disabled:n,alt:d,...m}=e;return(0,_s.jsx)("tr",{...m,className:a(e.className,Il,{"k-table-alt-row":d},S(Il,{hover:o,focus:t,disabled:n,selected:r,highlighted:l})),children:e.children})};A.states=Pu;A.className=Il;var Ks=require("react/jsx-runtime"),Rl="k-table-row",_u=[i.hover,i.focus,i.selected,i.disabled],Or=e=>{let{hover:o,focus:t,selected:r,disabled:l,alt:n,...d}=e;return(0,Ks.jsx)("li",{...d,className:a(e.className,Rl,{"k-table-alt-row":n},S(Rl,{hover:o,focus:t,disabled:l,selected:r})),children:e.children})};Or.states=_u;Or.className=Rl;var Bs=require("react/jsx-runtime"),Ds="k-table-th",et=e=>{let{text:o,colspan:t,rowspan:r,...l}=e,n=o||e.children;return(0,Bs.jsx)("th",{colSpan:t,rowSpan:r,...l,className:a(e.className,Ds),children:n})};et.className=Ds;et.moduleName=Ee;et.folderName=Ue;var Ku=require("react/jsx-runtime");var zs=require("react/jsx-runtime"),El="k-table-td",Du=[i.focus,i.selected,i.highlighted],p=e=>{let{focus:o,selected:t,highlighted:r,text:l,colspan:n,rowspan:d,...m}=e,f=l||e.children;return(0,zs.jsx)("td",{colSpan:n,rowSpan:d,...m,className:a(e.className,El,S(El,{focus:o,selected:t,highlighted:r})),children:f})};p.states=Du;p.className=El;var Bu=require("react/jsx-runtime");var zu=require("react/jsx-runtime");var Uu=require("react/jsx-runtime");var Fu=require("react/jsx-runtime");var $u=require("react/jsx-runtime");var Fs=require("react/jsx-runtime");var $s=require("react/jsx-runtime");var Ws=require("react/jsx-runtime");var Gl=require("react/jsx-runtime");var qs=require("react/jsx-runtime"),Xs="k-grid-header-table",Q=e=>(0,qs.jsx)(Fe,{...e,className:a(e.className,Xs),children:e.children});Q.className=Xs;Q.moduleName=j;Q.folderName=oe;var Za=require("react/jsx-runtime"),Ol="k-font-icon",Xu=[],qu={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[M.undefined,M.base,M.primary,M.secondary,M.tertiary,M.success,M.warning,M.error,M.info]},Ju={},ja=e=>{let{size:o,themeColor:t,icon:r,rotate:l,flip:n,...d}=e;return r?(0,Za.jsx)("span",{...d,className:a(e.className,Ol,y(Ol,{size:o}),{[`k-i-${r}`]:r,[`k-color-${t}`]:t,[`k-rotate-${l}`]:l,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true"}):(0,Za.jsx)(Za.Fragment,{})};ja.states=Xu;ja.options=qu;ja.className=Ol;ja.defaultOptions=Ju;var Js=ja;var _t=require("react/jsx-runtime"),Hl="k-svg-icon",Yu=[],Qu={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[M.undefined,M.base,M.primary,M.secondary,M.tertiary,M.success,M.warning,M.error,M.info],variant:[Uo.outline,Uo.solid,Uo.duotone]},Pl={viewBox:"0 0 24 24",variant:Uo.outline},er=e=>{var w,b;let{size:o,themeColor:t,rotate:r,flip:l,viewBox:n=Pl.viewBox,variant:d=Pl.variant,icon:m,...f}=e;if(!m)return(0,_t.jsx)(_t.Fragment,{});if(m==="none")return(0,_t.jsx)("span",{...f,className:a(e.className,Hl,y("k-icon",{size:o}),"k-none"),"aria-hidden":"true"});let k=typeof m=="object"&&m.name&&m.name,N=typeof m=="object"?d&&((w=m.variants)==null?void 0:w[d])||((b=m.variants)==null?void 0:b.outline)||m.content:void 0;return(0,_t.jsx)("span",{...f,className:a(e.className,Hl,y("k-icon",{size:o}),{[`k-svg-i-${k}`]:k,[`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:(0,_t.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:n,dangerouslySetInnerHTML:N!==void 0?{__html:N}:void 0,children:m?void 0:e.children})})};er.states=Yu;er.options=Qu;er.className=Hl;er.defaultOptions=Pl;var _l=er;var Kl=Ts(require("@progress/kendo-svg-icons"));var Ys="icon",Qs="icons";var ed=require("react");var Zs=require("react"),js=(0,Zs.createContext)({iconsType:"svg"});var ot=require("react/jsx-runtime"),Hr="k-icon",Zu=e=>e.replace(/([-_][a-z0-9])/gi,o=>o.toUpperCase().replace("-","").replace("_","")),ju=[],eb={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[M.undefined,M.base,M.primary,M.secondary,M.tertiary,M.success,M.warning,M.error,M.info],variant:[Uo.outline,Uo.solid,Uo.duotone]},Pr={viewBox:"0 0 24 24",type:"svg",variant:Uo.outline},T=e=>{let{iconsType:o}=(0,ed.useContext)(js),{size:t,themeColor:r,icon:l,type:n=o||Pr.type,rotate:d,flip:m,viewBox:f=Pr.viewBox,variant:k=Pr.variant,...N}=e;if(!l)return(0,ot.jsx)(ot.Fragment,{});if((o||n)==="svg"){if(l==="none")return(0,ot.jsx)(_l,{...N,className:a(e.className,Hr),icon:l,size:t,variant:k});let b=Kl[l]?l:Zu(`${l}-icon`);return Kl[b]?(0,ot.jsx)(_l,{...N,className:a(e.className,Hr),icon:Kl[b],size:t,themeColor:r,rotate:d,flip:m,viewBox:f,variant:k}):(0,ot.jsx)(ot.Fragment,{})}return(0,ot.jsx)(Js,{...N,className:a(e.className,Hr),icon:l,size:t,themeColor:r,rotate:d,flip:m})};T.states=ju;T.options=eb;T.defaultOptions=Pr;T.className=Hr;T.moduleName=Ys;T.folderName=Qs;T.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."}]};var fo=require("react/jsx-runtime"),Dl="k-header",ob=[i.hover,i.focus,i.active],od={sortIcon:"sort-asc-small"},R=e=>{let{menu:o,sortable:t,filterable:r,sticky:l,resizable:n,columnTitle:d,hover:m,focus:f,active:k,sortIcon:N=od.sortIcon,sortOrder:w,accessibleLabel:b,...v}=e;return(0,fo.jsxs)(et,{...v,className:a(e.className,Dl,{"k-filterable":o||r,"k-sorted":t,"k-grid-header-sticky":l,"k-touch-action-none":n},S(Dl,{hover:m,focus:f,active:k})),children:[d&&(0,fo.jsxs)("span",{className:"k-cell-inner",children:[(0,fo.jsxs)("span",{className:"k-link",children:[(0,fo.jsx)("span",{className:"k-column-title",children:d}),t&&(0,fo.jsx)("span",{className:"k-sort-icon",children:(0,fo.jsx)(T,{icon:N})}),w&&(0,fo.jsx)("span",{className:"k-sort-order",children:w})]}),o&&(0,fo.jsx)("a",{className:a("k-grid-header-menu",{"k-active":k,"k-grid-filter-menu":o==="filter","k-grid-column-menu":o==="column"}),children:(0,fo.jsx)(T,{icon:o==="filter"?"filter":"more-vertical"})})]}),!d&&b&&(0,fo.jsx)("span",{className:"k-sr-only",children:b}),e.children,n&&(0,fo.jsx)("span",{className:"k-column-resizer k-touch-action-none"})]})};R.states=ob;R.className=Dl;R.defaultOptions=od;R.moduleName=j;R.folderName=oe;var ad=require("react/jsx-runtime"),td="k-grid-container",V=e=>(0,ad.jsx)("div",{...e,className:a(e.className,td),children:e.children});V.className=td;V.moduleName=j;V.folderName=oe;var ld=require("react/jsx-runtime"),rd="k-grid-content",W=e=>(0,ld.jsx)("div",{...e,className:a(e.className,rd),children:e.children});W.className=rd;W.moduleName=j;W.folderName=oe;var nd=require("react/jsx-runtime"),id="k-grid-table",X=e=>(0,nd.jsx)(Fe,{...e,className:a(e.className,id),children:e.children});X.className=id;X.moduleName=j;X.folderName=oe;var dd=require("react/jsx-runtime"),sd="k-grid-footer",_r=e=>(0,dd.jsx)("div",{...e,className:a(e.className,sd),children:e.children});_r.className=sd;_r.moduleName=j;_r.folderName=oe;var pd=require("react/jsx-runtime"),cd="k-grid-footer-table",Kr=e=>(0,pd.jsx)(Fe,{...e,className:a(e.className,cd),children:e.children});Kr.className=cd;Kr.moduleName=j;Kr.folderName=oe;var Bl="button",md=Bl;var To=require("react/jsx-runtime"),or="k-button",tb=["icon-button"],ab=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],rb={size:[s.undefined,s.xsmall,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[M.undefined,M.base,M.primary,M.secondary,M.tertiary,M.success,M.warning,M.error,M.info,M.inverse]},zl={showArrow:!1,arrowIconName:"chevron-down"},c=e=>{let{as:o="button",size:t,rounded:r,fillMode:l,themeColor:n,showArrow:d=zl.showArrow,arrowIconName:m=zl.arrowIconName,variant:f,hover:k,focus:N,active:w,selected:b,disabled:v,togglable:C,ariaDisabled:G,icon:H,iconSize:P,text:U,iconClassName:ge,className:de,...Ye}=e,Qe=H!=null,Ze=e.children!==void 0;return(0,To.jsxs)(o,{className:a(de,or,gs(or,f),y(or,{size:t,rounded:r,fillMode:l,themeColor:n}),S(or,{hover:k,focus:N,active:w,disabled:v||G,selected:b}),{"k-icon-button":!U&&!Ze&&Qe}),"aria-pressed":C?b?"true":"false":void 0,...Ye,"aria-disabled":G?"true":void 0,disabled:v||void 0,children:[typeof H=="string"&&H&&(0,To.jsx)(T,{className:a(ge,"k-button-icon"),icon:H,size:P}),H&&typeof H!="string"&&(0,To.jsx)(To.Fragment,{children:H}),U?(0,To.jsxs)(To.Fragment,{children:[U&&(0,To.jsx)("span",{className:"k-button-text",children:U}),e.children]}):e.children&&(0,To.jsx)("span",{className:"k-button-text",children:e.children}),d&&(0,To.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,To.jsx)(T,{icon:m})})]})};c.states=ab;c.options=rb;c.variants=tb;c.className=or;c.defaultOptions=zl;c.moduleName=Bl;c.folderName=md;c.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."}]};var ud=require("react/jsx-runtime"),kt=e=>(0,ud.jsx)(c,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var bd=require("react/jsx-runtime"),tr=e=>(0,bd.jsx)(c,{icon:"folder",children:"Button",...e});var fd=require("react/jsx-runtime"),Kt=e=>(0,fd.jsx)(c,{children:"Button",...e});var Dr=require("react/jsx-runtime"),lb=c.options,ib=c.states,nb={...c.defaultOptions,variant:"text"},sb=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],db=[],Zt=e=>{let{variant:o,...t}=e;switch(o){case"icon-only":return(0,Dr.jsx)(kt,{...t,icon:"star"});case"icon-and-text":return(0,Dr.jsx)(tr,{...t,icon:"star",children:"Button"});default:return(0,Dr.jsx)(Kt,{...t,children:"Button"})}};Zt.options=lb;Zt.states=ib;Zt.variants=sb;Zt.defaultOptions=nb;Zt.modifiers=db;Zt.className=c.className;var ar="input",Br=ar;var Td=require("react/jsx-runtime"),zr="k-input",cb=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],pb={size:[s.undefined,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},mb={},Le=e=>{let{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:d,readonly:m,size:f,rounded:k,fillMode:N,...w}=e;return(0,Td.jsx)("span",{...w,className:a(e.className,zr,y(zr,{size:f,rounded:k,fillMode:N}),S(zr,{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:d,readonly:m}))})};Le.states=cb;Le.options=pb;Le.className=zr;Le.defaultOptions=mb;Le.moduleName=ar;Le.folderName=Br;var gd=require("react/jsx-runtime"),Ur="k-picker",ub=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],bb={size:[s.undefined,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},fb={},Fo=e=>{let{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:d,readonly:m,size:f,rounded:k,fillMode:N,...w}=e;return(0,gd.jsx)("span",{...w,className:a(e.className,Ur,y(Ur,{size:f,rounded:k,fillMode:N}),S(Ur,{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:d,readonly:m})),children:e.children})};Fo.states=ub;Fo.options=bb;Fo.className=Ur;Fo.defaultOptions=fb;Fo.moduleName=ar;Fo.folderName=Br;var jt=require("react/jsx-runtime"),hd="k-clear-value",Tb=[i.disabled,i.loading,i.readonly],gb={},go=e=>{let{disabled:o,loading:t,readonly:r,value:l}=e;return o||r||t||!l?(0,jt.jsx)(jt.Fragment,{}):(0,jt.jsx)("span",{className:a(e.className,hd),children:(0,jt.jsx)(T,{icon:"x"})})};go.states=Tb;go.options=gb;go.className=hd;var xd=require("react/jsx-runtime"),Ul="k-input-inner",hb=[],xb={},Fr={type:"text",autocomplete:"off",value:"",placeholder:""},ho=e=>{let{value:o=Fr.value,type:t=Fr.type,placeholder:r=Fr.placeholder,autocomplete:l=Fr.autocomplete,disabled:n,readOnly:d,...m}=e;return(0,xd.jsx)("input",{...m,type:t,className:a(e.className,Ul,y(Ul,e)),placeholder:r,autoComplete:l,defaultValue:o,disabled:n||void 0,readOnly:d||void 0})};ho.states=hb;ho.options=xb;ho.className=Ul;var rr=require("react/jsx-runtime"),Fl="k-input-inner",Nb=[],kb={},Dt=e=>{let{value:o,placeholder:t,showValue:r,valueIcon:l,valueIconName:n,...d}=e;return(0,rr.jsxs)("span",{...d,className:a(e.className,Fl,y(Fl,e)),children:[l,!l&&n&&(0,rr.jsx)(T,{className:"k-input-value-icon",icon:n}),r&&!o&&t,r&&o&&(0,rr.jsx)("span",{className:"k-input-value-text",children:o})]})};Dt.states=Nb;Dt.options=kb;Dt.className=Fl;var kd=require("react/jsx-runtime"),$l="k-input-inner",wb=[],vb={},Nd={value:"",placeholder:""},Vl=e=>{let{value:o=Nd.value,placeholder:t=Nd.placeholder,rows:r,disabled:l,...n}=e;return(0,kd.jsx)("textarea",{...n,className:a(e.className,$l,y($l,e)),placeholder:t,rows:r,defaultValue:o,disabled:l||void 0})};Vl.states=wb;Vl.options=vb;Vl.className=$l;var lr=require("react/jsx-runtime"),wd="k-input-loading-icon",Cb=[i.disabled,i.loading],no=e=>{let{disabled:o,loading:t}=e;return o||!t?(0,lr.jsx)(lr.Fragment,{}):(0,lr.jsx)("span",{className:a(e.className,wd,"k-icon k-i-loading")})};no.states=Cb;no.className=wd;var ir=require("react/jsx-runtime"),vd="k-input-validation-icon",Lb=[i.valid,i.invalid,i.disabled,i.loading],Mb={},je=e=>{let{valid:o,invalid:t,disabled:r,loading:l}=e,n=t?"warning-circle":"check-circle";return r||l||!!!(o||t)?(0,ir.jsx)(ir.Fragment,{}):(0,ir.jsx)(T,{className:a(vd),icon:n})};je.states=Lb;je.options=Mb;je.className=vd;var nr=require("react/jsx-runtime"),yb="k-input-prefix",Sb={direction:"horizontal"},Mo=e=>{let{direction:o=Sb.direction,...t}=e;return e.children?(0,nr.jsx)("span",{...t,className:a(yb,e.className,{[`k-input-prefix-${o}`]:o}),children:e.children}):(0,nr.jsx)(nr.Fragment,{})};var sr=require("react/jsx-runtime"),Ab="k-input-suffix",Ib={direction:"horizontal"},yo=e=>{let{direction:o=Ib.direction,...t}=e;return e.children?(0,sr.jsx)("span",{...t,className:a(Ab,e.className,{[`k-input-suffix-${o}`]:o}),children:e.children}):(0,sr.jsx)(sr.Fragment,{})};var Rb=require("react/jsx-runtime");var Cd=require("react/jsx-runtime"),Eb="k-input-suffix-text",Wl=e=>{let{children:o,...t}=e;return(0,Cd.jsx)("span",{...t,className:a(Eb,e.className),children:o})};var Md=require("react/jsx-runtime"),Ld="k-input-separator",Gb={direction:"vertical"},So=e=>{let{direction:o=Gb.direction,...t}=e;return(0,Md.jsx)("span",{...t,className:a(Ld,e.className,{[`${Ld}-${o}`]:o})})};var Ie=require("react/jsx-runtime"),Ob=Le.states,Hb=Le.defaultOptions,Pb=Le.options,_b=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Kb=[],ea=e=>{let{modifiers:o,valid:t,invalid:r,loading:l,disabled:n,readonly:d,...m}=e,f=o==null?void 0:o.prefix,k=o==null?void 0:o.suffix,N=o==null?void 0:o["clear-button"],w=o==null?void 0:o["validation-icon"],b=o==null?void 0:o.separators;return(0,Ie.jsxs)(Le,{...m,valid:t,invalid:r,loading:l,disabled:n,readonly:d,style:{width:300},children:[f&&(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)(Mo,{children:(0,Ie.jsx)(T,{icon:"lock"})}),b&&(0,Ie.jsx)(So,{})]}),(0,Ie.jsx)(ho,{placeholder:"Placeholder",value:"Value"}),w&&(0,Ie.jsx)(je,{valid:t,invalid:r,loading:l,disabled:n}),(0,Ie.jsx)(no,{loading:l,disabled:n}),N&&(0,Ie.jsx)(go,{loading:l,disabled:n,readonly:d,value:"Value"}),k&&(0,Ie.jsxs)(Ie.Fragment,{children:[b&&(0,Ie.jsx)(So,{}),(0,Ie.jsx)(yo,{children:(0,Ie.jsx)(Kt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};ea.options=Pb;ea.states=Ob;ea.variants=Kb;ea.defaultOptions=Hb;ea.modifiers=_b;ea.className=Le.className;var Xl="popup",yd=Xl;var Jl=require("react/jsx-runtime"),Sd="k-animation-container",Db=[],Bb={},ql={positionMode:"absolute",shown:!0},$o=e=>{let{positionMode:o=ql.positionMode,shown:t=ql.shown,animationStyle:r,offset:l,...n}=e;return(0,Jl.jsx)("div",{...n,style:{...l,...e.style},className:a(e.className,Sd,{"k-animation-container-shown":t,"k-animation-container-fixed":o==="fixed"}),children:(0,Jl.jsx)("div",{className:"k-child-animation-container",style:r,children:e.children})})};$o.states=Db;$o.options=Bb;$o.className=Sd;$o.defaultOptions=ql;$o.moduleName=Xl;$o.folderName=yd;var Yl="popup",Ad=Yl;var Ql=require("react/jsx-runtime"),Id="k-popup",zb=[],Ub={},Rd={positionMode:"absolute"},re=e=>{let{offset:o,positionMode:t=Rd.positionMode,animationStyle:r,containerClassName:l,containerRole:n,containerAriaLabel:d,...m}=e;return(0,Ql.jsx)($o,{positionMode:t,offset:o,animationStyle:r,className:l,role:n,"aria-label":d,children:(0,Ql.jsx)("div",{...m,className:a(e.className,Id),children:e.children})})};re.states=zb;re.options=Ub;re.className=Id;re.defaultOptions=Rd;re.moduleName=Yl;re.folderName=Ad;re.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var Zl="action-buttons",Ed=Zl;var Gd=require("react/jsx-runtime"),$r="k-actions",Fb=[],$b={},jl={alignment:"start",orientation:"horizontal"},Ao=e=>{let{alignment:o=jl.alignment,orientation:t=jl.orientation,...r}=e;return(0,Gd.jsx)("div",{...r,className:a($r,{[`${$r}-${o}`]:o,[`${$r}-${t}`]:t},e.className),children:e.children})};Ao.states=Fb;Ao.options=$b;Ao.className=$r;Ao.defaultOptions=jl;Ao.moduleName=Zl;Ao.folderName=Ed;var Hd=require("react/jsx-runtime"),Vb="k-actionsheet-footer",Od={alignment:"stretched",orientation:"horizontal"},wt=e=>{let{alignment:o=Od.alignment,orientation:t=Od.orientation,template:r,as:l=r?"div":Ao,...n}=e;return(0,Hd.jsx)(l,{...n,...!r&&{alignment:o,orientation:t},className:a(e.className,Vb),children:e.children})};var ei="searchbox",Pd=ei;var vt=require("react/jsx-runtime"),_d="k-searchbox",Wb=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Xb={size:[s.undefined,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},oi={showIcon:!0,icon:"search"},xo=e=>{let{value:o,placeholder:t,size:r,rounded:l,fillMode:n,hover:d,focus:m,valid:f,invalid:k,required:N,loading:w,disabled:b,showIcon:v=oi.showIcon,icon:C=oi.icon,"aria-label":G,...H}=e;return(0,vt.jsxs)(Le,{...H,size:r,rounded:l,fillMode:n,hover:d,focus:m,valid:f,invalid:k,required:N,loading:w,disabled:b,className:a(e.className,_d),children:[v&&(0,vt.jsx)(T,{className:"k-input-icon",icon:C}),(0,vt.jsx)(ho,{placeholder:t,value:o,"aria-label":G}),(0,vt.jsx)(no,{...e}),(0,vt.jsx)(je,{...e}),(0,vt.jsx)(go,{...e})]})};xo.states=Wb;xo.options=Xb;xo.className=_d;xo.defaultOptions=oi;xo.moduleName=ei;xo.folderName=Pd;var qb=require("react/jsx-runtime");var ti="textbox",Kd=ti;var $e=require("react/jsx-runtime"),Dd="k-textbox",Jb=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Yb={size:[s.undefined,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Vr={showClearButton:!0,showValidationIcon:!0,separators:!0},me=e=>{let{size:o,rounded:t,fillMode:r,separators:l=Vr.separators,showClearButton:n=Vr.showClearButton,showValidationIcon:d=Vr.showValidationIcon,prefix:m,suffix:f,type:k,value:N,placeholder:w,hover:b,focus:v,valid:C,invalid:G,required:H,loading:P,disabled:U,readonly:ge,id:de,"aria-label":Ye,"aria-describedby":Qe,...Ze}=e;return(0,$e.jsxs)(Le,{...Ze,size:o,rounded:t,fillMode:r,hover:b,focus:v,valid:C,invalid:G,required:H,loading:P,disabled:U,readonly:ge,className:a(e.className,Dd),children:[m&&(0,$e.jsxs)($e.Fragment,{children:[(0,$e.jsx)(Mo,{children:m}),l&&(0,$e.jsx)(So,{})]}),(0,$e.jsx)(ho,{id:de,placeholder:w,value:N,type:k,disabled:U,"aria-label":Ye,"aria-describedby":Qe,"aria-invalid":G?"true":void 0}),d&&(0,$e.jsx)(je,{valid:C,invalid:G,loading:P,disabled:U}),(0,$e.jsx)(no,{loading:P,disabled:U}),n&&(0,$e.jsx)(go,{loading:P,disabled:U,readonly:ge,value:N}),f&&(0,$e.jsxs)($e.Fragment,{children:[l&&(0,$e.jsx)(So,{}),(0,$e.jsx)(yo,{children:f})]})]})};me.states=Jb;me.options=Yb;me.className=Dd;me.defaultOptions=Vr;me.moduleName=ti;me.folderName=Kd;me.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 dr=me;var zd=require("react/jsx-runtime"),Bd=e=>(0,zd.jsx)(dr,{...e});var Ud=require("react/jsx-runtime");var Fd=require("react/jsx-runtime");var Qb=require("react/jsx-runtime");var Wr=require("react/jsx-runtime"),Zb=me.states,jb=me.defaultOptions,ef=me.options,of=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],tf=[],oa=e=>{let{modifiers:o,...t}=e,r={};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":r.prefix=o!=null&&o[l]?(0,Wr.jsx)(T,{icon:"lock"}):void 0;break;case"suffix":r.suffix=o!=null&&o[l]?(0,Wr.jsx)(Kt,{size:t.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":r.showClearButton=o==null?void 0:o[l];break;default:break}}),(0,Wr.jsx)(Bd,{value:"Value",style:{width:300},...t,...r})};oa.options=ef;oa.states=Zb;oa.variants=tf;oa.defaultOptions=jb;oa.modifiers=of;oa.className=me.className;var No=require("react/jsx-runtime"),$d="k-actionsheet-titlebar",af={},eo=e=>{let{title:o,subtitle:t,actionsStart:r,actionsEnd:l,filter:n,input:d,inputValue:m,inputPlaceholder:f,adaptive:k,titleId:N,children:w,...b}=e;return(0,No.jsxs)("div",{...b,className:a(e.className,$d),children:[(0,No.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[r&&(0,No.jsx)("div",{className:"k-actionsheet-actions",children:r}),!w&&(0,No.jsxs)("div",{className:"k-actionsheet-title",id:N,children:[o&&(0,No.jsx)("div",{className:"k-text-center",children:o}),t&&(0,No.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:t})]}),w&&(0,No.jsx)("div",{className:"k-actionsheet-title",id:N,children:w}),l&&(0,No.jsx)("div",{className:"k-actionsheet-actions",children:l})]}),(d||n)&&(0,No.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?(0,No.jsx)(me,{value:m,placeholder:f,size:k?"large":"medium","aria-label":o||f||"Input"}):(0,No.jsx)(xo,{placeholder:"Filter",size:k?"large":"medium","aria-label":"Filter options"})})]})};eo.className=$d;eo.defaultOptions=af;var ta=require("react/jsx-runtime"),ai="k-actionsheet-view",rf=[],lf={},nf={},aa=e=>{let{adaptive:o,animated:t,children:r,header:l,footer:n,titleId:d,...m}=e,f=(l==null?void 0:l.type)===eo&&(0,ta.jsx)(eo,{adaptive:o,titleId:d,...l==null?void 0:l.props}),k=(n==null?void 0:n.type)===wt&&(0,ta.jsx)(wt,{...n==null?void 0:n.props});return(0,ta.jsxs)("div",{...m,className:a(e.className,ai,{[`${ai}-animated`]:t}),children:[f,(0,ta.jsx)("div",{className:"k-actionsheet-content",children:r}),k]})};aa.states=rf;aa.options=lf;aa.className=ai;aa.defaultOptions=nf;var cr="action-sheet",Xr=cr;var ri="overlay",Vd=ri;var Xd=require("react/jsx-runtime"),Wd="k-overlay",sf=[],df={},cf={},Ct=e=>{let{...o}=e;return(0,Xd.jsx)("div",{...o,className:a(e.className,Wd),children:e.children})};Ct.states=sf;Ct.options=df;Ct.className=Wd;Ct.defaultOptions=cf;Ct.moduleName=ri;Ct.folderName=Vd;var Bt=require("react/jsx-runtime"),qd="k-actionsheet",pf=[],mf={},pr={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},we=e=>{let{side:o=pr.side,fullscreen:t=pr.fullscreen,adaptive:r=pr.adaptive,overlay:l=pr.overlay,template:n,children:d,header:m,footer:f,id:k,...N}=e,w=k&&!n&&m?`${k}-title`:void 0;return(0,Bt.jsxs)("div",{className:"k-actionsheet-container",children:[l&&(0,Bt.jsx)(Ct,{}),(0,Bt.jsx)($o,{animationStyle:{[`${t===!0?"top":o}`]:0,[`${t===!0?"width":null}`]:"100%",[`${t===!0?"height":null}`]:"100%",[`${o==="top"||o==="bottom"?"width":null}`]:"100%",[`${o==="left"||o==="right"?"height":null}`]:"100%"},children:(0,Bt.jsx)("div",{...N,id:k,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":w,className:a(e.className,qd,{[`k-actionsheet-${o}`]:t===!1,"k-actionsheet-fullscreen":t===!0,"k-adaptive-actionsheet":r}),children:n||(0,Bt.jsx)(aa,{header:m,footer:f,adaptive:r,titleId:w,...e,children:d})})})]})};we.states=pf;we.options=mf;we.className=qd;we.defaultOptions=pr;we.moduleName=cr;we.folderName=Xr;we.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."}]};var Yd=require("react/jsx-runtime"),Jd="k-actionsheet-container",uf=[],bf={},ff={},ra=e=>{let{children:o,...t}=e;return(0,Yd.jsx)("div",{...t,className:Jd,children:o})};ra.states=uf;ra.options=bf;ra.className=Jd;ra.defaultOptions=ff;ra.moduleName=cr;ra.folderName=Xr;var Qd=require("react/jsx-runtime"),li=e=>{let{...o}=e;return(0,Qd.jsx)("div",{...o,className:a(e.className,"k-list-ul"),children:e.children})};var Io=require("react/jsx-runtime"),ii="k-actionsheet-item",Tf=[i.hover,i.focus,i.selected,i.disabled],Lt=e=>{let{iconName:o,text:t,description:r,hover:l,focus:n,selected:d,disabled:m,...f}=e;return(0,Io.jsxs)("span",{...f,className:a(e.className,ii,S(ii,{hover:l,focus:n,selected:d,disabled:m})),children:[!e.children&&(0,Io.jsx)(Io.Fragment,{children:(0,Io.jsxs)("span",{className:"k-actionsheet-action",children:[o&&(0,Io.jsx)("span",{className:"k-icon-wrap",children:(0,Io.jsx)(T,{className:"k-actionsheet-item-icon",icon:o})}),(0,Io.jsxs)("span",{className:"k-actionsheet-item-text",children:[t&&(0,Io.jsx)("span",{className:"k-actionsheet-item-title",children:t}),r&&(0,Io.jsx)("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};Lt.states=Tf;Lt.className=ii;var Zd=require("react/jsx-runtime");var gf=require("react/jsx-runtime");var hf=require("react/jsx-runtime");var xf=require("react/jsx-runtime");var he=require("react/jsx-runtime"),Nf=we.options,kf=we.states,ec={...we.defaultOptions,variant:"normal"},wf=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],vf=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],la=e=>{let{variant:o,modifiers:t,...r}={...ec,...e},l={},n=(0,he.jsxs)(li,{children:[(0,he.jsx)(Lt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,he.jsx)(Lt,{text:"Add to Favorites",iconName:"heart"}),(0,he.jsx)(Lt,{text:"Upload New",iconName:"upload",disabled:!0}),(0,he.jsx)("hr",{className:"k-hr"}),(0,he.jsx)(Lt,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",m="Select Item";return o==="fullScreen"&&(l.fullScreen=!0),Object.keys(t||{}).forEach(f=>{switch(f){case"actions":l.actionsStart=!!(t!=null&&t[f]),l.actionsEnd=!!(t!=null&&t[f]);break;case"subtitle":l.subtitle=t!=null&&t[f]?d:void 0;break;case"footer":l.footer=!!(t!=null&&t[f]);break;default:break}}),o==="adaptive"?(0,he.jsx)(we,{...r,adaptive:!0,fullscreen:l.fullScreen,header:(0,he.jsx)(eo,{actionsStart:l.actionsStart?(0,he.jsx)(c,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?(0,he.jsx)(c,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:l.subtitle}),footer:l.footer?(0,he.jsxs)(wt,{alignment:"stretched",children:[(0,he.jsx)(c,{text:"Cancel",size:"large",themeColor:"base"}),(0,he.jsx)(c,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:n}):(0,he.jsx)(we,{...r,fullscreen:l.fullScreen,header:(0,he.jsx)(eo,{actionsStart:l.actionsStart?(0,he.jsx)(c,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?(0,he.jsx)(c,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:l.subtitle}),footer:l.footer?(0,he.jsxs)(wt,{alignment:"stretched",children:[(0,he.jsx)(c,{text:"Apply",themeColor:"primary"}),(0,he.jsx)(c,{text:"Cancel",themeColor:"base"})]}):void 0,children:n})};la.options=Nf;la.states=kf;la.variants=wf;la.defaultOptions=ec;la.modifiers=vf;la.className=we.className;var Jr=Ts(require("react"));var ni=require("react/jsx-runtime"),Cf="k-list-group-sticky-header",si=e=>(0,ni.jsx)("div",