UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 201 kB
var Qm=Object.create;var Rr=Object.defineProperty;var Zm=Object.getOwnPropertyDescriptor;var jm=Object.getOwnPropertyNames;var eu=Object.getPrototypeOf,ou=Object.prototype.hasOwnProperty;var tu=(e,o)=>{for(var t in o)Rr(e,t,{get:o[t],enumerable:!0})},us=(e,o,t,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let l of jm(o))!ou.call(e,l)&&l!==t&&Rr(e,l,{get:()=>o[l],enumerable:!(r=Zm(o,l))||r.enumerable});return e};var bs=(e,o,t)=>(t=e!=null?Qm(eu(e)):{},us(o||!e||!e.__esModule?Rr(t,"default",{value:e,enumerable:!0}):t,e)),au=e=>us(Rr({},"__esModule",{value:!0}),e);var XN={};tu(XN,{GridWithFilterMenuOpen:()=>WN});module.exports=au(XN);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 S=(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"}),A=(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,_)=>(_.startsWith("k-")?H[_]=G[_]:H[`k-${_}`]=G[_],H),{}))};function fs(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"},$o={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 Ml={};function z(e){return Ml[e]=(Ml[e]||0)+1,`k-${e}-${Ml[e]}`}var ee="grid",te=ee;var Gr=require("react/jsx-runtime"),Er="k-grid",ru=[],lu={size:[s.undefined,s.small,s.medium,s.large]},iu=[],Ts={pagerPosition:"bottom"},K=e=>{let{size:o,pagerPosition:t=Ts.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,Gr.jsxs)("div",{...w,className:a(e.className,Er,{[`${Er}-resizable`]:f},S(Er,{size:o})),children:[r,t==="top"&&l,n,e.children&&m?(0,Gr.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]})};K.states=ru;K.options=lu;K.variants=iu;K.className=Er;K.defaultOptions=Ts;K.moduleName=ee;K.folderName=te;K.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 hs=require("react/jsx-runtime"),gs="k-grid-header",q=e=>{let{draggable:o,...t}=e;return(0,hs.jsx)("div",{...t,className:a(e.className,gs,{"k-grid-draggable-header":o}),children:e.children})};q.className=gs;q.moduleName=ee;q.folderName=te;var Ya=require("react/jsx-runtime"),xs="k-grouping-header",Ue=e=>{let{dropHint:o,dropClue:t,...r}=e;return(0,Ya.jsxs)("div",{...r,className:a(e.className,xs),children:[t&&(0,Ya.jsx)("div",{className:"k-grouping-dropclue"}),e.children,(0,Ya.jsx)("div",{className:"k-grouping-drop-container",children:o})]})};Ue.className=xs;Ue.moduleName=ee;Ue.folderName=te;var ks=require("react/jsx-runtime"),Ns="k-grid-pinned-container",Qa=e=>{let{position:o,...t}=e;return(0,ks.jsx)("div",{...t,className:a(e.className,Ns,{"k-pos-bottom":o==="bottom"}),children:e.children})};Qa.className=Ns;Qa.moduleName=ee;Qa.folderName=te;var ws=require("react/jsx-runtime"),vs="k-grid-sticky-container",Za=e=>{let{position:o,...t}=e;return(0,ws.jsx)("div",{...t,className:a(e.className,vs,{"k-pos-bottom":o==="bottom"}),children:e.children})};Za.className=vs;Za.moduleName=ee;Za.folderName=te;var Oe="table",Fe=Oe;var Ls=require("react/jsx-runtime"),Cs="k-data-table",nu=[],su={size:[s.undefined,s.small,s.medium,s.large]},du={},et=e=>{let{size:o,...t}=e;return(0,Ls.jsx)("div",{...t,className:a(e.className,Cs,S("k-table",{size:o})),children:e.children})};et.states=nu;et.options=su;et.className=Cs;et.defaultOptions=du;et.moduleName=Oe;et.folderName=Fe;var Ms=require("react/jsx-runtime"),yl="k-table-header-wrap",cu=[i.hover,i.focus,i.disabled],pu={},mu={},Nt=e=>{let{children:o,hover:t,focus:r,disabled:l,...n}=e;return(0,Ms.jsx)("div",{...n,className:a(e.className,yl,A(yl,{hover:t,focus:r,disabled:l})),children:o})};Nt.states=cu;Nt.options=pu;Nt.className=yl;Nt.defaultOptions=mu;Nt.moduleName=Oe;Nt.folderName=Fe;var ys=require("react/jsx-runtime"),Sl="k-table",uu=[],bu={size:[s.undefined,s.small,s.medium,s.large]},fu={},$e=e=>{let{size:o,...t}=e;return(0,ys.jsx)("table",{...t,className:a(e.className,Sl,S(Sl,{size:o})),children:e.children})};$e.states=uu;$e.options=bu;$e.className=Sl;$e.defaultOptions=fu;$e.moduleName=Oe;$e.folderName=Fe;var Or=require("react/jsx-runtime"),Al="k-table-header",Tu=[i.hover,i.focus,i.disabled],gu={},hu={},ot=e=>{let{children:o,hover:t,focus:r,disabled:l,...n}=e;return(0,Or.jsx)("div",{...n,className:a(e.className,Al,A(Al,{hover:t,focus:r,disabled:l})),children:(0,Or.jsx)(Nt,{children:(0,Or.jsx)($e,{children:o})})})};ot.states=Tu;ot.options=gu;ot.className=Al;ot.defaultOptions=hu;ot.moduleName=Oe;ot.folderName=Fe;var As=require("react/jsx-runtime"),Ss="k-table-scroller",xu=[],Nu={},ku={},Zt=e=>{let{children:o,...t}=e;return(0,As.jsx)("div",{...t,className:a(e.className,Ss),children:o})};Zt.states=xu;Zt.options=Nu;Zt.className=Ss;Zt.defaultOptions=ku;Zt.moduleName=Oe;Zt.folderName=Fe;var vu=require("react/jsx-runtime");var Rs=require("react/jsx-runtime"),Is="k-table-footer",wu=[],Cu={},Lu={},kt=e=>{let{children:o,...t}=e;return(0,Rs.jsx)("div",{...t,className:a(e.className,Is),children:o})};kt.states=wu;kt.options=Cu;kt.className=Is;kt.defaultOptions=Lu;kt.moduleName=Oe;kt.folderName=Fe;var Es=require("react/jsx-runtime"),Il="k-table-list",Mu=[],yu={size:[s.undefined,s.small,s.medium,s.large]},Su={},vt=e=>{let{size:o,virtualization:t,...r}=e;return(0,Es.jsx)("ul",{...r,className:a(e.className,"k-table",Il,S(Il,{size:o}),{"k-virtual-table":t}),children:e.children})};vt.states=Mu;vt.options=yu;vt.className=Il;vt.defaultOptions=Su;vt.moduleName=Oe;vt.folderName=Fe;var Gs=require("react/jsx-runtime"),Au="k-table-thead",V=e=>(0,Gs.jsx)("thead",{className:a(e.className,Au),children:e.children});var Os=require("react/jsx-runtime"),Iu="k-table-tbody",Y=e=>(0,Os.jsx)("tbody",{className:a(e.className,Iu),children:e.children});var Ru=require("react/jsx-runtime");var Hs=require("react/jsx-runtime"),Rl="k-table-row",Eu=[i.hover,i.focus,i.selected,i.disabled,i.highlighted],y=e=>{let{hover:o,focus:t,selected:r,highlighted:l,disabled:n,alt:d,...m}=e;return(0,Hs.jsx)("tr",{...m,className:a(e.className,Rl,{"k-table-alt-row":d},A(Rl,{hover:o,focus:t,disabled:n,selected:r,highlighted:l})),children:e.children})};y.states=Eu;y.className=Rl;var Ps=require("react/jsx-runtime"),El="k-table-row",Gu=[i.hover,i.focus,i.selected,i.disabled],Hr=e=>{let{hover:o,focus:t,selected:r,disabled:l,alt:n,...d}=e;return(0,Ps.jsx)("li",{...d,className:a(e.className,El,{"k-table-alt-row":n},A(El,{hover:o,focus:t,disabled:l,selected:r})),children:e.children})};Hr.states=Gu;Hr.className=El;var Ks=require("react/jsx-runtime"),_s="k-table-th",tt=e=>{let{text:o,colspan:t,rowspan:r,...l}=e,n=o||e.children;return(0,Ks.jsx)("th",{colSpan:t,rowSpan:r,...l,className:a(e.className,_s),children:n})};tt.className=_s;tt.moduleName=Oe;tt.folderName=Fe;var Ou=require("react/jsx-runtime");var Ds=require("react/jsx-runtime"),Gl="k-table-td",Hu=[i.focus,i.selected,i.highlighted],c=e=>{let{focus:o,selected:t,highlighted:r,text:l,colspan:n,rowspan:d,...m}=e,f=l||e.children;return(0,Ds.jsx)("td",{colSpan:n,rowSpan:d,...m,className:a(e.className,Gl,A(Gl,{focus:o,selected:t,highlighted:r})),children:f})};c.states=Hu;c.className=Gl;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 Bu=require("react/jsx-runtime");var zs=require("react/jsx-runtime");var Us=require("react/jsx-runtime");var $s=require("react/jsx-runtime");var Ol=require("react/jsx-runtime");var Ws=require("react/jsx-runtime"),Vs="k-grid-header-table",Q=e=>(0,Ws.jsx)($e,{...e,className:a(e.className,Vs),children:e.children});Q.className=Vs;Q.moduleName=ee;Q.folderName=te;var ja=require("react/jsx-runtime"),Hl="k-font-icon",Fu=[],$u={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]},Vu={},er=e=>{let{size:o,themeColor:t,icon:r,rotate:l,flip:n,...d}=e;return r?(0,ja.jsx)("span",{...d,className:a(e.className,Hl,S(Hl,{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,ja.jsx)(ja.Fragment,{})};er.states=Fu;er.options=$u;er.className=Hl;er.defaultOptions=Vu;var Xs=er;var Kt=require("react/jsx-runtime"),Pl="k-svg-icon",Wu=[],Xu={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:[$o.outline,$o.solid,$o.duotone]},_l={viewBox:"0 0 24 24",variant:$o.outline},or=e=>{var v,b;let{size:o,themeColor:t,rotate:r,flip:l,viewBox:n=_l.viewBox,variant:d=_l.variant,icon:m,...f}=e;if(!m)return(0,Kt.jsx)(Kt.Fragment,{});if(m==="none")return(0,Kt.jsx)("span",{...f,className:a(e.className,Pl,S("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,Kt.jsx)("span",{...f,className:a(e.className,Pl,S("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,Kt.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})})};or.states=Wu;or.options=Xu;or.className=Pl;or.defaultOptions=_l;var Kl=or;var Dl=bs(require("@progress/kendo-svg-icons"));var Js="icon",qs="icons";var Zs=require("react");var Ys=require("react"),Qs=(0,Ys.createContext)({iconsType:"svg"});var at=require("react/jsx-runtime"),Pr="k-icon",Ju=e=>e.replace(/([-_][a-z0-9])/gi,o=>o.toUpperCase().replace("-","").replace("_","")),qu=[],Yu={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:[$o.outline,$o.solid,$o.duotone]},_r={viewBox:"0 0 24 24",type:"svg",variant:$o.outline},T=e=>{let{iconsType:o}=(0,Zs.useContext)(Qs),{size:t,themeColor:r,icon:l,type:n=o||_r.type,rotate:d,flip:m,viewBox:f=_r.viewBox,variant:k=_r.variant,...N}=e;if(!l)return(0,at.jsx)(at.Fragment,{});if((o||n)==="svg"){if(l==="none")return(0,at.jsx)(Kl,{...N,className:a(e.className,Pr),icon:l,size:t,variant:k});let b=Dl[l]?l:Ju(`${l}-icon`);return Dl[b]?(0,at.jsx)(Kl,{...N,className:a(e.className,Pr),icon:Dl[b],size:t,themeColor:r,rotate:d,flip:m,viewBox:f,variant:k}):(0,at.jsx)(at.Fragment,{})}return(0,at.jsx)(Xs,{...N,className:a(e.className,Pr),icon:l,size:t,themeColor:r,rotate:d,flip:m})};T.states=qu;T.options=Yu;T.defaultOptions=_r;T.className=Pr;T.moduleName=Js;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 go=require("react/jsx-runtime"),Bl="k-header",Qu=[i.hover,i.focus,i.active],js={sortIcon:"sort-asc-small"},I=e=>{let{menu:o,sortable:t,filterable:r,sticky:l,resizable:n,columnTitle:d,hover:m,focus:f,active:k,sortIcon:N=js.sortIcon,sortOrder:v,accessibleLabel:b,...w}=e;return(0,go.jsxs)(tt,{...w,className:a(e.className,Bl,{"k-filterable":o||r,"k-sorted":t,"k-grid-header-sticky":l,"k-touch-action-none":n},A(Bl,{hover:m,focus:f,active:k})),children:[d&&(0,go.jsxs)("span",{className:"k-cell-inner",children:[(0,go.jsxs)("span",{className:"k-link",children:[(0,go.jsx)("span",{className:"k-column-title",children:d}),t&&(0,go.jsx)("span",{className:"k-sort-icon",children:(0,go.jsx)(T,{icon:N})}),v&&(0,go.jsx)("span",{className:"k-sort-order",children:v})]}),o&&(0,go.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,go.jsx)(T,{icon:o==="filter"?"filter":"more-vertical"})})]}),!d&&b&&(0,go.jsx)("span",{className:"k-sr-only",children:b}),e.children,n&&(0,go.jsx)("span",{className:"k-column-resizer k-touch-action-none"})]})};I.states=Qu;I.className=Bl;I.defaultOptions=js;I.moduleName=ee;I.folderName=te;var od=require("react/jsx-runtime"),ed="k-grid-container",W=e=>(0,od.jsx)("div",{...e,className:a(e.className,ed),children:e.children});W.className=ed;W.moduleName=ee;W.folderName=te;var ad=require("react/jsx-runtime"),td="k-grid-content",X=e=>(0,ad.jsx)("div",{...e,className:a(e.className,td),children:e.children});X.className=td;X.moduleName=ee;X.folderName=te;var ld=require("react/jsx-runtime"),rd="k-grid-table",J=e=>(0,ld.jsx)($e,{...e,className:a(e.className,rd),children:e.children});J.className=rd;J.moduleName=ee;J.folderName=te;var nd=require("react/jsx-runtime"),id="k-grid-footer",Kr=e=>(0,nd.jsx)("div",{...e,className:a(e.className,id),children:e.children});Kr.className=id;Kr.moduleName=ee;Kr.folderName=te;var dd=require("react/jsx-runtime"),sd="k-grid-footer-table",Dr=e=>(0,dd.jsx)($e,{...e,className:a(e.className,sd),children:e.children});Dr.className=sd;Dr.moduleName=ee;Dr.folderName=te;var zl="button",cd=zl;var ho=require("react/jsx-runtime"),tr="k-button",Zu=["icon-button"],ju=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],eb={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]},Ul={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:o="button",size:t,rounded:r,fillMode:l,themeColor:n,showArrow:d=Ul.showArrow,arrowIconName:m=Ul.arrowIconName,variant:f,hover:k,focus:N,active:v,selected:b,disabled:w,togglable:C,ariaDisabled:G,icon:H,iconSize:_,text:F,iconClassName:he,className:ce,...Qe}=e,Ze=H!=null,je=e.children!==void 0;return(0,ho.jsxs)(o,{className:a(ce,tr,fs(tr,f),S(tr,{size:t,rounded:r,fillMode:l,themeColor:n}),A(tr,{hover:k,focus:N,active:v,disabled:w||G,selected:b}),{"k-icon-button":!F&&!je&&Ze}),"aria-pressed":C?b?"true":"false":void 0,...Qe,"aria-disabled":G?"true":void 0,disabled:w||void 0,children:[typeof H=="string"&&H&&(0,ho.jsx)(T,{className:a(he,"k-button-icon"),icon:H,size:_}),H&&typeof H!="string"&&(0,ho.jsx)(ho.Fragment,{children:H}),F?(0,ho.jsxs)(ho.Fragment,{children:[F&&(0,ho.jsx)("span",{className:"k-button-text",children:F}),e.children]}):e.children&&(0,ho.jsx)("span",{className:"k-button-text",children:e.children}),d&&(0,ho.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,ho.jsx)(T,{icon:m})})]})};p.states=ju;p.options=eb;p.variants=Zu;p.className=tr;p.defaultOptions=Ul;p.moduleName=zl;p.folderName=cd;p.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var pd=require("react/jsx-runtime"),wt=e=>(0,pd.jsx)(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var md=require("react/jsx-runtime"),ar=e=>(0,md.jsx)(p,{icon:"folder",children:"Button",...e});var ud=require("react/jsx-runtime"),Dt=e=>(0,ud.jsx)(p,{children:"Button",...e});var Br=require("react/jsx-runtime"),ob=p.options,tb=p.states,ab={...p.defaultOptions,variant:"text"},rb=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],lb=[],jt=e=>{let{variant:o,...t}=e;switch(o){case"icon-only":return(0,Br.jsx)(wt,{...t,icon:"star"});case"icon-and-text":return(0,Br.jsx)(ar,{...t,icon:"star",children:"Button"});default:return(0,Br.jsx)(Dt,{...t,children:"Button"})}};jt.options=ob;jt.states=tb;jt.variants=rb;jt.defaultOptions=ab;jt.modifiers=lb;jt.className=p.className;var rr="input",zr=rr;var bd=require("react/jsx-runtime"),Ur="k-input",ib=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],nb={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]},sb={},Me=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,bd.jsx)("span",{...v,className:a(e.className,Ur,S(Ur,{size:f,rounded:k,fillMode:N}),A(Ur,{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:d,readonly:m}))})};Me.states=ib;Me.options=nb;Me.className=Ur;Me.defaultOptions=sb;Me.moduleName=rr;Me.folderName=zr;var fd=require("react/jsx-runtime"),Fr="k-picker",db=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],cb={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]},pb={},Vo=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,Fr,S(Fr,{size:f,rounded:k,fillMode:N}),A(Fr,{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:d,readonly:m})),children:e.children})};Vo.states=db;Vo.options=cb;Vo.className=Fr;Vo.defaultOptions=pb;Vo.moduleName=rr;Vo.folderName=zr;var ea=require("react/jsx-runtime"),Td="k-clear-value",mb=[i.disabled,i.loading,i.readonly],ub={},xo=e=>{let{disabled:o,loading:t,readonly:r,value:l}=e;return o||r||t||!l?(0,ea.jsx)(ea.Fragment,{}):(0,ea.jsx)("span",{className:a(e.className,Td),children:(0,ea.jsx)(T,{icon:"x"})})};xo.states=mb;xo.options=ub;xo.className=Td;var gd=require("react/jsx-runtime"),Fl="k-input-inner",bb=[],fb={},$r={type:"text",autocomplete:"off",value:"",placeholder:""},No=e=>{let{value:o=$r.value,type:t=$r.type,placeholder:r=$r.placeholder,autocomplete:l=$r.autocomplete,disabled:n,readOnly:d,...m}=e;return(0,gd.jsx)("input",{...m,type:t,className:a(e.className,Fl,S(Fl,e)),placeholder:r,autoComplete:l,defaultValue:o,disabled:n||void 0,readOnly:d||void 0})};No.states=bb;No.options=fb;No.className=Fl;var lr=require("react/jsx-runtime"),$l="k-input-inner",Tb=[],gb={},Bt=e=>{let{value:o,placeholder:t,showValue:r,valueIcon:l,valueIconName:n,...d}=e;return(0,lr.jsxs)("span",{...d,className:a(e.className,$l,S($l,e)),children:[l,!l&&n&&(0,lr.jsx)(T,{className:"k-input-value-icon",icon:n}),r&&!o&&t,r&&o&&(0,lr.jsx)("span",{className:"k-input-value-text",children:o})]})};Bt.states=Tb;Bt.options=gb;Bt.className=$l;var xd=require("react/jsx-runtime"),Vl="k-input-inner",hb=[],xb={},hd={value:"",placeholder:""},Wl=e=>{let{value:o=hd.value,placeholder:t=hd.placeholder,rows:r,disabled:l,...n}=e;return(0,xd.jsx)("textarea",{...n,className:a(e.className,Vl,S(Vl,e)),placeholder:t,rows:r,defaultValue:o,disabled:l||void 0})};Wl.states=hb;Wl.options=xb;Wl.className=Vl;var ir=require("react/jsx-runtime"),Nd="k-input-loading-icon",Nb=[i.disabled,i.loading],so=e=>{let{disabled:o,loading:t}=e;return o||!t?(0,ir.jsx)(ir.Fragment,{}):(0,ir.jsx)("span",{className:a(e.className,Nd,"k-icon k-i-loading")})};so.states=Nb;so.className=Nd;var nr=require("react/jsx-runtime"),kd="k-input-validation-icon",kb=[i.valid,i.invalid,i.disabled,i.loading],vb={},eo=e=>{let{valid:o,invalid:t,disabled:r,loading:l}=e,n=t?"warning-circle":"check-circle";return r||l||!!!(o||t)?(0,nr.jsx)(nr.Fragment,{}):(0,nr.jsx)(T,{className:a(kd),icon:n})};eo.states=kb;eo.options=vb;eo.className=kd;var sr=require("react/jsx-runtime"),wb="k-input-prefix",Cb={direction:"horizontal"},Ao=e=>{let{direction:o=Cb.direction,...t}=e;return e.children?(0,sr.jsx)("span",{...t,className:a(wb,e.className,{[`k-input-prefix-${o}`]:o}),children:e.children}):(0,sr.jsx)(sr.Fragment,{})};var dr=require("react/jsx-runtime"),Lb="k-input-suffix",Mb={direction:"horizontal"},Io=e=>{let{direction:o=Mb.direction,...t}=e;return e.children?(0,dr.jsx)("span",{...t,className:a(Lb,e.className,{[`k-input-suffix-${o}`]:o}),children:e.children}):(0,dr.jsx)(dr.Fragment,{})};var yb=require("react/jsx-runtime");var vd=require("react/jsx-runtime"),Sb="k-input-suffix-text",Xl=e=>{let{children:o,...t}=e;return(0,vd.jsx)("span",{...t,className:a(Sb,e.className),children:o})};var Cd=require("react/jsx-runtime"),wd="k-input-separator",Ab={direction:"vertical"},Ro=e=>{let{direction:o=Ab.direction,...t}=e;return(0,Cd.jsx)("span",{...t,className:a(wd,e.className,{[`${wd}-${o}`]:o})})};var Re=require("react/jsx-runtime"),Ib=Me.states,Rb=Me.defaultOptions,Eb=Me.options,Gb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Ob=[],oa=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,Re.jsxs)(Me,{...m,valid:t,invalid:r,loading:l,disabled:n,readonly:d,style:{width:300},children:[f&&(0,Re.jsxs)(Re.Fragment,{children:[(0,Re.jsx)(Ao,{children:(0,Re.jsx)(T,{icon:"lock"})}),b&&(0,Re.jsx)(Ro,{})]}),(0,Re.jsx)(No,{placeholder:"Placeholder",value:"Value"}),v&&(0,Re.jsx)(eo,{valid:t,invalid:r,loading:l,disabled:n}),(0,Re.jsx)(so,{loading:l,disabled:n}),N&&(0,Re.jsx)(xo,{loading:l,disabled:n,readonly:d,value:"Value"}),k&&(0,Re.jsxs)(Re.Fragment,{children:[b&&(0,Re.jsx)(Ro,{}),(0,Re.jsx)(Io,{children:(0,Re.jsx)(Dt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};oa.options=Eb;oa.states=Ib;oa.variants=Ob;oa.defaultOptions=Rb;oa.modifiers=Gb;oa.className=Me.className;var Jl="popup",Ld=Jl;var Yl=require("react/jsx-runtime"),Md="k-animation-container",Hb=[],Pb={},ql={positionMode:"absolute",shown:!0},Wo=e=>{let{positionMode:o=ql.positionMode,shown:t=ql.shown,animationStyle:r,offset:l,...n}=e;return(0,Yl.jsx)("div",{...n,style:{...l,...e.style},className:a(e.className,Md,{"k-animation-container-shown":t,"k-animation-container-fixed":o==="fixed"}),children:(0,Yl.jsx)("div",{className:"k-child-animation-container",style:r,children:e.children})})};Wo.states=Hb;Wo.options=Pb;Wo.className=Md;Wo.defaultOptions=ql;Wo.moduleName=Jl;Wo.folderName=Ld;var Ql="popup",yd=Ql;var Zl=require("react/jsx-runtime"),Sd="k-popup",_b=[],Kb={},Ad={positionMode:"absolute"},le=e=>{let{offset:o,positionMode:t=Ad.positionMode,animationStyle:r,containerClassName:l,containerRole:n,containerAriaLabel:d,...m}=e;return(0,Zl.jsx)(Wo,{positionMode:t,offset:o,animationStyle:r,className:l,role:n,"aria-label":d,children:(0,Zl.jsx)("div",{...m,className:a(e.className,Sd),children:e.children})})};le.states=_b;le.options=Kb;le.className=Sd;le.defaultOptions=Ad;le.moduleName=Ql;le.folderName=yd;le.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 jl="action-buttons",Id=jl;var Rd=require("react/jsx-runtime"),Vr="k-actions",Db=[],Bb={},ei={alignment:"start",orientation:"horizontal"},ko=e=>{let{alignment:o=ei.alignment,orientation:t=ei.orientation,...r}=e;return(0,Rd.jsx)("div",{...r,className:a(Vr,{[`${Vr}-${o}`]:o,[`${Vr}-${t}`]:t},e.className),children:e.children})};ko.states=Db;ko.options=Bb;ko.className=Vr;ko.defaultOptions=ei;ko.moduleName=jl;ko.folderName=Id;var Gd=require("react/jsx-runtime"),zb="k-actionsheet-footer",Ed={alignment:"stretched",orientation:"horizontal"},Ct=e=>{let{alignment:o=Ed.alignment,orientation:t=Ed.orientation,template:r,as:l=r?"div":ko,...n}=e;return(0,Gd.jsx)(l,{...n,...!r&&{alignment:o,orientation:t},className:a(e.className,zb),children:e.children})};var oi="searchbox",Od=oi;var Lt=require("react/jsx-runtime"),Hd="k-searchbox",Ub=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Fb={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]},ti={showIcon:!0,icon:"search"},vo=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=ti.showIcon,icon:C=ti.icon,"aria-label":G,...H}=e;return(0,Lt.jsxs)(Me,{...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,Hd),children:[w&&(0,Lt.jsx)(T,{className:"k-input-icon",icon:C}),(0,Lt.jsx)(No,{placeholder:t,value:o,"aria-label":G}),(0,Lt.jsx)(so,{...e}),(0,Lt.jsx)(eo,{...e}),(0,Lt.jsx)(xo,{...e})]})};vo.states=Ub;vo.options=Fb;vo.className=Hd;vo.defaultOptions=ti;vo.moduleName=oi;vo.folderName=Od;var $b=require("react/jsx-runtime");var ai="textbox",Pd=ai;var Ve=require("react/jsx-runtime"),_d="k-textbox",Vb=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Wb={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]},Wr={showClearButton:!0,showValidationIcon:!0,separators:!0},pe=e=>{let{size:o,rounded:t,fillMode:r,separators:l=Wr.separators,showClearButton:n=Wr.showClearButton,showValidationIcon:d=Wr.showValidationIcon,prefix:m,suffix:f,type:k,value:N,placeholder:v,hover:b,focus:w,valid:C,invalid:G,required:H,loading:_,disabled:F,readonly:he,id:ce,"aria-label":Qe,"aria-describedby":Ze,...je}=e;return(0,Ve.jsxs)(Me,{...je,size:o,rounded:t,fillMode:r,hover:b,focus:w,valid:C,invalid:G,required:H,loading:_,disabled:F,readonly:he,className:a(e.className,_d),children:[m&&(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)(Ao,{children:m}),l&&(0,Ve.jsx)(Ro,{})]}),(0,Ve.jsx)(No,{id:ce,placeholder:v,value:N,type:k,disabled:F,"aria-label":Qe,"aria-describedby":Ze,"aria-invalid":G?"true":void 0}),d&&(0,Ve.jsx)(eo,{valid:C,invalid:G,loading:_,disabled:F}),(0,Ve.jsx)(so,{loading:_,disabled:F}),n&&(0,Ve.jsx)(xo,{loading:_,disabled:F,readonly:he,value:N}),f&&(0,Ve.jsxs)(Ve.Fragment,{children:[l&&(0,Ve.jsx)(Ro,{}),(0,Ve.jsx)(Io,{children:f})]})]})};pe.states=Vb;pe.options=Wb;pe.className=_d;pe.defaultOptions=Wr;pe.moduleName=ai;pe.folderName=Pd;pe.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 cr=pe;var Dd=require("react/jsx-runtime"),Kd=e=>(0,Dd.jsx)(cr,{...e});var Bd=require("react/jsx-runtime");var zd=require("react/jsx-runtime");var Xb=require("react/jsx-runtime");var Xr=require("react/jsx-runtime"),Jb=pe.states,qb=pe.defaultOptions,Yb=pe.options,Qb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Zb=[],ta=e=>{let{modifiers:o,...t}=e,r={};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":r.prefix=o!=null&&o[l]?(0,Xr.jsx)(T,{icon:"lock"}):void 0;break;case"suffix":r.suffix=o!=null&&o[l]?(0,Xr.jsx)(Dt,{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,Xr.jsx)(Kd,{value:"Value",style:{width:300},...t,...r})};ta.options=Yb;ta.states=Jb;ta.variants=Zb;ta.defaultOptions=qb;ta.modifiers=Qb;ta.className=pe.className;var wo=require("react/jsx-runtime"),Ud="k-actionsheet-titlebar",jb={},oo=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,wo.jsxs)("div",{...b,className:a(e.className,Ud),children:[(0,wo.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[r&&(0,wo.jsx)("div",{className:"k-actionsheet-actions",children:r}),!v&&(0,wo.jsxs)("div",{className:"k-actionsheet-title",id:N,children:[o&&(0,wo.jsx)("div",{className:"k-text-center",children:o}),t&&(0,wo.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:t})]}),v&&(0,wo.jsx)("div",{className:"k-actionsheet-title",id:N,children:v}),l&&(0,wo.jsx)("div",{className:"k-actionsheet-actions",children:l})]}),(d||n)&&(0,wo.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?(0,wo.jsx)(pe,{value:m,placeholder:f,size:k?"large":"medium","aria-label":o||f||"Input"}):(0,wo.jsx)(vo,{placeholder:"Filter",size:k?"large":"medium","aria-label":"Filter options"})})]})};oo.className=Ud;oo.defaultOptions=jb;var aa=require("react/jsx-runtime"),ri="k-actionsheet-view",ef=[],of={},tf={},ra=e=>{let{adaptive:o,animated:t,children:r,header:l,footer:n,titleId:d,...m}=e,f=(l==null?void 0:l.type)===oo&&(0,aa.jsx)(oo,{adaptive:o,titleId:d,...l==null?void 0:l.props}),k=(n==null?void 0:n.type)===Ct&&(0,aa.jsx)(Ct,{...n==null?void 0:n.props});return(0,aa.jsxs)("div",{...m,className:a(e.className,ri,{[`${ri}-animated`]:t}),children:[f,(0,aa.jsx)("div",{className:"k-actionsheet-content",children:r}),k]})};ra.states=ef;ra.options=of;ra.className=ri;ra.defaultOptions=tf;var pr="action-sheet",Jr=pr;var li="overlay",Fd=li;var Vd=require("react/jsx-runtime"),$d="k-overlay",af=[],rf={},lf={},Mt=e=>{let{...o}=e;return(0,Vd.jsx)("div",{...o,className:a(e.className,$d),children:e.children})};Mt.states=af;Mt.options=rf;Mt.className=$d;Mt.defaultOptions=lf;Mt.moduleName=li;Mt.folderName=Fd;var zt=require("react/jsx-runtime"),Wd="k-actionsheet",nf=[],sf={},mr={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},we=e=>{let{side:o=mr.side,fullscreen:t=mr.fullscreen,adaptive:r=mr.adaptive,overlay:l=mr.overlay,template:n,children:d,header:m,footer:f,id:k,...N}=e,v=k&&!n&&m?`${k}-title`:void 0;return(0,zt.jsxs)("div",{className:"k-actionsheet-container",children:[l&&(0,zt.jsx)(Mt,{}),(0,zt.jsx)(Wo,{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,zt.jsx)("div",{...N,id:k,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":v,className:a(e.className,Wd,{[`k-actionsheet-${o}`]:t===!1,"k-actionsheet-fullscreen":t===!0,"k-adaptive-actionsheet":r}),children:n||(0,zt.jsx)(ra,{header:m,footer:f,adaptive:r,titleId:v,...e,children:d})})})]})};we.states=nf;we.options=sf;we.className=Wd;we.defaultOptions=mr;we.moduleName=pr;we.folderName=Jr;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 Jd=require("react/jsx-runtime"),Xd="k-actionsheet-container",df=[],cf={},pf={},la=e=>{let{children:o,...t}=e;return(0,Jd.jsx)("div",{...t,className:Xd,children:o})};la.states=df;la.options=cf;la.className=Xd;la.defaultOptions=pf;la.moduleName=pr;la.folderName=Jr;var qd=require("react/jsx-runtime"),ii=e=>{let{...o}=e;return(0,qd.jsx)("div",{...o,className:a(e.className,"k-list-ul"),children:e.children})};var Eo=require("react/jsx-runtime"),ni="k-actionsheet-item",mf=[i.hover,i.focus,i.selected,i.disabled],yt=e=>{let{iconName:o,text:t,description:r,hover:l,focus:n,selected:d,disabled:m,...f}=e;return(0,Eo.jsxs)("span",{...f,className:a(e.className,ni,A(ni,{hover:l,focus:n,selected:d,disabled:m})),children:[!e.children&&(0,Eo.jsx)(Eo.Fragment,{children:(0,Eo.jsxs)("span",{className:"k-actionsheet-action",children:[o&&(0,Eo.jsx)("span",{className:"k-icon-wrap",children:(0,Eo.jsx)(T,{className:"k-actionsheet-item-icon",icon:o})}),(0,Eo.jsxs)("span",{className:"k-actionsheet-item-text",children:[t&&(0,Eo.jsx)("span",{className:"k-actionsheet-item-title",children:t}),r&&(0,Eo.jsx)("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};yt.states=mf;yt.className=ni;var Yd=require("react/jsx-runtime");var uf=require("react/jsx-runtime");var bf=require("react/jsx-runtime");var ff=require("react/jsx-runtime");var xe=require("react/jsx-runtime"),Tf=we.options,gf=we.states,Zd={...we.defaultOptions,variant:"normal"},hf=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],xf=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],ia=e=>{let{variant:o,modifiers:t,...r}={...Zd,...e},l={},n=(0,xe.jsxs)(ii,{children:[(0,xe.jsx)(yt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,xe.jsx)(yt,{text:"Add to Favorites",iconName:"heart"}),(0,xe.jsx)(yt,{text:"Upload New",iconName:"upload",disabled:!0}),(0,xe.jsx)("hr",{className:"k-hr"}),(0,xe.jsx)(yt,{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,xe.jsx)(we,{...r,adaptive:!0,fullscreen:l.fullScreen,header:(0,xe.jsx)(oo,{actionsStart:l.actionsStart?(0,xe.jsx)(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?(0,xe.jsx)(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:l.subtitle}),footer:l.footer?(0,xe.jsxs)(Ct,{alignment:"stretched",children:[(0,xe.jsx)(p,{text:"Cancel",size:"large",themeColor:"base"}),(0,xe.jsx)(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:n}):(0,xe.jsx)(we,{...r,fullscreen:l.fullScreen,header:(0,xe.jsx)(oo,{actionsStart:l.actionsStart?(0,xe.jsx)(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?(0,xe.jsx)(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:l.subtitle}),footer:l.footer?(0,xe.jsxs)(Ct,{alignment:"stretched",children:[(0,xe.jsx)(p,{text:"Apply",themeColor:"primary"}),(0,xe.jsx)(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:n})};ia.options=Tf;ia.states=gf;ia.variants=hf;ia.defaultOptions=Zd;ia.modifiers=xf;ia.className=we.className;var Yr=bs(require("react"));var si=require("react/jsx-runtime"),Nf="k-list-group-sticky-header",di=e=>(0,s