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