@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 220 kB
JavaScript
var Cu=Object.create;var Pa=Object.defineProperty;var Lu=Object.getOwnPropertyDescriptor;var yu=Object.getOwnPropertyNames;var Mu=Object.getPrototypeOf,Su=Object.prototype.hasOwnProperty;var Iu=(e,o)=>{for(var t in o)Pa(e,t,{get:o[t],enumerable:!0})},Ls=(e,o,t,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let l of yu(o))!Su.call(e,l)&&l!==t&&Pa(e,l,{get:()=>o[l],enumerable:!(a=Lu(o,l))||a.enumerable});return e};var ys=(e,o,t)=>(t=e!=null?Cu(Mu(e)):{},Ls(o||!e||!e.__esModule?Pa(t,"default",{value:e,enumerable:!0}):t,e)),Ru=e=>Ls(Pa({},"__esModule",{value:!0}),e);var Ek={};Iu(Ek,{PropertyGrid:()=>Nt,default:()=>Ak});module.exports=Ru(Ek);var r=(...e)=>e.filter(o=>o!==!0&&!!o).map(o=>Array.isArray(o)?r(...o):typeof o=="object"?Object.keys(o).map((t,a)=>o[a]||o[t]&&t||null).filter(t=>t!==null).join(" "):o).filter(o=>!!o).join(" ");var R=(e,o)=>r({[`${e}-xs`]:o.size==="xsmall",[`${e}-sm`]:o.size==="small",[`${e}-md`]:o.size==="medium",[`${e}-lg`]:o.size==="large",[`${e}-xl`]:o.size==="xlarge",[`${e}-xxl`]:o.size==="xxlarge",[`${e}-xxxl`]:o.size==="xxxlarge"},{[`${e}-${o.fillMode}`]:o.fillMode},{[`${e}-${o.themeColor}`]:o.themeColor},{"k-rounded-sm":o.rounded==="small","k-rounded-md":o.rounded==="medium","k-rounded-lg":o.rounded==="large","k-rounded-full":o.rounded==="full","k-rounded-none":o.rounded==="none"}),A=(e,o)=>{let{valid:t,invalid:a,hover:l,focus:n,checked:c,active:u,selected:f,disabled:v,indeterminate:w,loading:L,empty:T,readonly:y,highlighted:M,...P}=o;return r({"k-valid":t,"k-invalid":a,"k-hover":l,"k-focus":n,"k-checked":c,"k-active":u,"k-selected":f,"k-disabled":v,"k-indeterminate":w&&!c,"k-loading":L,"k-empty":T,"k-readonly":y,"k-highlighted":M},Object.keys(P).reduce((K,z)=>(z.startsWith("k-")?K[z]=P[z]:K[`k-${z}`]=P[z],K),{}))};function Ms(e,o){if(!o)return{};let t=Array.isArray(o)?o:[o];return Object.fromEntries(t.map(a=>[`k-${a}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},x={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},N={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Wo={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},I={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 Al={};function D(e){return Al[e]=(Al[e]||0)+1,`k-${e}-${Al[e]}`}var te="grid",ae=te;var Da=require("react/jsx-runtime"),_a="k-grid",Au=[],Eu={size:[d.undefined,d.small,d.medium,d.large]},Gu=[],Ss={pagerPosition:"bottom"},X=e=>{let{size:o,pagerPosition:t=Ss.pagerPosition,toolbar:a,pager:l,groupingHeader:n,gridSelectionAggregates:c,_renderAriaRoot:u,resizable:f,ariaColCount:v,ariaRowCount:w,ariaRootId:L,ariaRole:T="grid",...y}=e;return(0,Da.jsxs)("div",{...y,className:r(e.className,_a,{[`${_a}-resizable`]:f},R(_a,{size:o})),children:[a,t==="top"&&l,n,e.children&&u?(0,Da.jsx)("div",{className:"k-grid-aria-root",role:T,id:L,"aria-colcount":v,"aria-rowcount":w,children:e.children}):e.children,c,t==="bottom"&&l]})};X.states=Au;X.options=Eu;X.variants=Gu;X.className=_a;X.defaultOptions=Ss;X.moduleName=te;X.folderName=ae;X.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 Rs=require("react/jsx-runtime"),Is="k-grid-header",U=e=>{let{draggable:o,...t}=e;return(0,Rs.jsx)("div",{...t,className:r(e.className,Is,{"k-grid-draggable-header":o}),children:e.children})};U.className=Is;U.moduleName=te;U.folderName=ae;var oa=require("react/jsx-runtime"),As="k-grouping-header",Ve=e=>{let{dropHint:o,dropClue:t,...a}=e;return(0,oa.jsxs)("div",{...a,className:r(e.className,As),children:[t&&(0,oa.jsx)("div",{className:"k-grouping-dropclue"}),e.children,(0,oa.jsx)("div",{className:"k-grouping-drop-container",children:o})]})};Ve.className=As;Ve.moduleName=te;Ve.folderName=ae;var Gs=require("react/jsx-runtime"),Es="k-grid-pinned-container",ta=e=>{let{position:o,...t}=e;return(0,Gs.jsx)("div",{...t,className:r(e.className,Es,{"k-pos-bottom":o==="bottom"}),children:e.children})};ta.className=Es;ta.moduleName=te;ta.folderName=ae;var Hs=require("react/jsx-runtime"),Os="k-grid-sticky-container",ra=e=>{let{position:o,...t}=e;return(0,Hs.jsx)("div",{...t,className:r(e.className,Os,{"k-pos-bottom":o==="bottom"}),children:e.children})};ra.className=Os;ra.moduleName=te;ra.folderName=ae;var Pe="table",We=Pe;var _s=require("react/jsx-runtime"),Ps="k-data-table",Ou=[],Hu={size:[d.undefined,d.small,d.medium,d.large]},Pu={},tt=e=>{let{size:o,...t}=e;return(0,_s.jsx)("div",{...t,className:r(e.className,Ps,R("k-table",{size:o})),children:e.children})};tt.states=Ou;tt.options=Hu;tt.className=Ps;tt.defaultOptions=Pu;tt.moduleName=Pe;tt.folderName=We;var Ds=require("react/jsx-runtime"),El="k-table-header-wrap",_u=[i.hover,i.focus,i.disabled],Du={},Ku={},wt=e=>{let{children:o,hover:t,focus:a,disabled:l,...n}=e;return(0,Ds.jsx)("div",{...n,className:r(e.className,El,A(El,{hover:t,focus:a,disabled:l})),children:o})};wt.states=_u;wt.options=Du;wt.className=El;wt.defaultOptions=Ku;wt.moduleName=Pe;wt.folderName=We;var Ks=require("react/jsx-runtime"),Gl="k-table",Bu=[],zu={size:[d.undefined,d.small,d.medium,d.large]},Uu={},Xe=e=>{let{size:o,...t}=e;return(0,Ks.jsx)("table",{...t,className:r(e.className,Gl,R(Gl,{size:o})),children:e.children})};Xe.states=Bu;Xe.options=zu;Xe.className=Gl;Xe.defaultOptions=Uu;Xe.moduleName=Pe;Xe.folderName=We;var Ka=require("react/jsx-runtime"),Ol="k-table-header",Fu=[i.hover,i.focus,i.disabled],$u={},Vu={},rt=e=>{let{children:o,hover:t,focus:a,disabled:l,...n}=e;return(0,Ka.jsx)("div",{...n,className:r(e.className,Ol,A(Ol,{hover:t,focus:a,disabled:l})),children:(0,Ka.jsx)(wt,{children:(0,Ka.jsx)(Xe,{children:o})})})};rt.states=Fu;rt.options=$u;rt.className=Ol;rt.defaultOptions=Vu;rt.moduleName=Pe;rt.folderName=We;var zs=require("react/jsx-runtime"),Bs="k-table-scroller",Wu=[],Xu={},Ju={},tr=e=>{let{children:o,...t}=e;return(0,zs.jsx)("div",{...t,className:r(e.className,Bs),children:o})};tr.states=Wu;tr.options=Xu;tr.className=Bs;tr.defaultOptions=Ju;tr.moduleName=Pe;tr.folderName=We;var qu=require("react/jsx-runtime");var Fs=require("react/jsx-runtime"),Us="k-table-footer",Yu=[],Qu={},Zu={},vt=e=>{let{children:o,...t}=e;return(0,Fs.jsx)("div",{...t,className:r(e.className,Us),children:o})};vt.states=Yu;vt.options=Qu;vt.className=Us;vt.defaultOptions=Zu;vt.moduleName=Pe;vt.folderName=We;var $s=require("react/jsx-runtime"),Hl="k-table-list",ju=[],eb={size:[d.undefined,d.small,d.medium,d.large]},ob={},Ct=e=>{let{size:o,virtualization:t,...a}=e;return(0,$s.jsx)("ul",{...a,className:r(e.className,"k-table",Hl,R(Hl,{size:o}),{"k-virtual-table":t}),children:e.children})};Ct.states=ju;Ct.options=eb;Ct.className=Hl;Ct.defaultOptions=ob;Ct.moduleName=Pe;Ct.folderName=We;var Vs=require("react/jsx-runtime"),tb="k-table-thead",B=e=>(0,Vs.jsx)("thead",{className:r(e.className,tb),children:e.children});var Ws=require("react/jsx-runtime"),rb="k-table-tbody",W=e=>(0,Ws.jsx)("tbody",{className:r(e.className,rb),children:e.children});var ab=require("react/jsx-runtime");var Xs=require("react/jsx-runtime"),Pl="k-table-row",lb=[i.hover,i.focus,i.selected,i.disabled,i.highlighted],h=e=>{let{hover:o,focus:t,selected:a,highlighted:l,disabled:n,alt:c,...u}=e;return(0,Xs.jsx)("tr",{...u,className:r(e.className,Pl,{"k-table-alt-row":c},A(Pl,{hover:o,focus:t,disabled:n,selected:a,highlighted:l})),children:e.children})};h.states=lb;h.className=Pl;var Js=require("react/jsx-runtime"),_l="k-table-row",ib=[i.hover,i.focus,i.selected,i.disabled],Ba=e=>{let{hover:o,focus:t,selected:a,disabled:l,alt:n,...c}=e;return(0,Js.jsx)("li",{...c,className:r(e.className,_l,{"k-table-alt-row":n},A(_l,{hover:o,focus:t,disabled:l,selected:a})),children:e.children})};Ba.states=ib;Ba.className=_l;var Ys=require("react/jsx-runtime"),qs="k-table-th",at=e=>{let{text:o,colspan:t,rowspan:a,...l}=e,n=o||e.children;return(0,Ys.jsx)("th",{colSpan:t,rowSpan:a,...l,className:r(e.className,qs),children:n})};at.className=qs;at.moduleName=Pe;at.folderName=We;var nb=require("react/jsx-runtime");var Qs=require("react/jsx-runtime"),Dl="k-table-td",sb=[i.focus,i.selected,i.highlighted],s=e=>{let{focus:o,selected:t,highlighted:a,text:l,colspan:n,rowspan:c,...u}=e,f=l||e.children;return(0,Qs.jsx)("td",{colSpan:n,rowSpan:c,...u,className:r(e.className,Dl,A(Dl,{focus:o,selected:t,highlighted:a})),children:f})};s.states=sb;s.className=Dl;var db=require("react/jsx-runtime");var cb=require("react/jsx-runtime");var pb=require("react/jsx-runtime");var mb=require("react/jsx-runtime");var ub=require("react/jsx-runtime");var js=require("react/jsx-runtime");var ed=require("react/jsx-runtime");var td=require("react/jsx-runtime");var Kl=require("react/jsx-runtime");var ad=require("react/jsx-runtime"),rd="k-grid-header-table",F=e=>(0,ad.jsx)(Xe,{...e,className:r(e.className,rd),children:e.children});F.className=rd;F.moduleName=te;F.folderName=ae;var aa=require("react/jsx-runtime"),Bl="k-font-icon",fb=[],gb={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[I.undefined,I.base,I.primary,I.secondary,I.tertiary,I.success,I.warning,I.error,I.info]},hb={},la=e=>{let{size:o,themeColor:t,icon:a,rotate:l,flip:n,...c}=e;return a?(0,aa.jsx)("span",{...c,className:r(e.className,Bl,R(Bl,{size:o}),{[`k-i-${a}`]:a,[`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,aa.jsx)(aa.Fragment,{})};la.states=fb;la.options=gb;la.className=Bl;la.defaultOptions=hb;var ld=la;var zt=require("react/jsx-runtime"),zl="k-svg-icon",xb=[],Nb={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[I.undefined,I.base,I.primary,I.secondary,I.tertiary,I.success,I.warning,I.error,I.info],variant:[Wo.outline,Wo.solid,Wo.duotone]},Ul={viewBox:"0 0 24 24",variant:Wo.outline},ia=e=>{var L,T;let{size:o,themeColor:t,rotate:a,flip:l,viewBox:n=Ul.viewBox,variant:c=Ul.variant,icon:u,...f}=e;if(!u)return(0,zt.jsx)(zt.Fragment,{});if(u==="none")return(0,zt.jsx)("span",{...f,className:r(e.className,zl,R("k-icon",{size:o}),"k-none"),"aria-hidden":"true"});let v=typeof u=="object"&&u.name&&u.name,w=typeof u=="object"?c&&((L=u.variants)==null?void 0:L[c])||((T=u.variants)==null?void 0:T.outline)||u.content:void 0;return(0,zt.jsx)("span",{...f,className:r(e.className,zl,R("k-icon",{size:o}),{[`k-svg-i-${v}`]:v,[`k-color-${t}`]:t,[`k-rotate-${a}`]:a,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true",children:(0,zt.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof u=="object"?u.viewBox:n,dangerouslySetInnerHTML:w!==void 0?{__html:w}:void 0,children:u?void 0:e.children})})};ia.states=xb;ia.options=Nb;ia.className=zl;ia.defaultOptions=Ul;var Fl=ia;var $l=ys(require("@progress/kendo-svg-icons"));var id="icon",nd="icons";var cd=require("react");var sd=require("react"),dd=(0,sd.createContext)({iconsType:"svg"});var lt=require("react/jsx-runtime"),za="k-icon",kb=e=>e.replace(/([-_][a-z0-9])/gi,o=>o.toUpperCase().replace("-","").replace("_","")),wb=[],vb={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[I.undefined,I.base,I.primary,I.secondary,I.tertiary,I.success,I.warning,I.error,I.info],variant:[Wo.outline,Wo.solid,Wo.duotone]},Ua={viewBox:"0 0 24 24",type:"svg",variant:Wo.outline},p=e=>{let{iconsType:o}=(0,cd.useContext)(dd),{size:t,themeColor:a,icon:l,type:n=o||Ua.type,rotate:c,flip:u,viewBox:f=Ua.viewBox,variant:v=Ua.variant,...w}=e;if(!l)return(0,lt.jsx)(lt.Fragment,{});if((o||n)==="svg"){if(l==="none")return(0,lt.jsx)(Fl,{...w,className:r(e.className,za),icon:l,size:t,variant:v});let T=$l[l]?l:kb(`${l}-icon`);return $l[T]?(0,lt.jsx)(Fl,{...w,className:r(e.className,za),icon:$l[T],size:t,themeColor:a,rotate:c,flip:u,viewBox:f,variant:v}):(0,lt.jsx)(lt.Fragment,{})}return(0,lt.jsx)(ld,{...w,className:r(e.className,za),icon:l,size:t,themeColor:a,rotate:c,flip:u})};p.states=wb;p.options=vb;p.defaultOptions=Ua;p.className=za;p.moduleName=id;p.folderName=nd;p.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var No=require("react/jsx-runtime"),Vl="k-header",Cb=[i.hover,i.focus,i.active],pd={sortIcon:"sort-asc-small"},C=e=>{let{menu:o,sortable:t,filterable:a,sticky:l,resizable:n,columnTitle:c,hover:u,focus:f,active:v,sortIcon:w=pd.sortIcon,sortOrder:L,accessibleLabel:T,...y}=e;return(0,No.jsxs)(at,{...y,className:r(e.className,Vl,{"k-filterable":o||a,"k-sorted":t,"k-grid-header-sticky":l,"k-touch-action-none":n},A(Vl,{hover:u,focus:f,active:v})),children:[c&&(0,No.jsxs)("span",{className:"k-cell-inner",children:[(0,No.jsxs)("span",{className:"k-link",children:[(0,No.jsx)("span",{className:"k-column-title",children:c}),t&&(0,No.jsx)("span",{className:"k-sort-icon",children:(0,No.jsx)(p,{icon:w})}),L&&(0,No.jsx)("span",{className:"k-sort-order",children:L})]}),o&&(0,No.jsx)("a",{className:r("k-grid-header-menu",{"k-active":v,"k-grid-filter-menu":o==="filter","k-grid-column-menu":o==="column"}),children:(0,No.jsx)(p,{icon:o==="filter"?"filter":"more-vertical"})})]}),!c&&T&&(0,No.jsx)("span",{className:"k-sr-only",children:T}),e.children,n&&(0,No.jsx)("span",{className:"k-column-resizer k-touch-action-none"})]})};C.states=Cb;C.className=Vl;C.defaultOptions=pd;C.moduleName=te;C.folderName=ae;var ud=require("react/jsx-runtime"),md="k-grid-container",J=e=>(0,ud.jsx)("div",{...e,className:r(e.className,md),children:e.children});J.className=md;J.moduleName=te;J.folderName=ae;var Td=require("react/jsx-runtime"),bd="k-grid-content",$=e=>(0,Td.jsx)("div",{...e,className:r(e.className,bd),children:e.children});$.className=bd;$.moduleName=te;$.folderName=ae;var gd=require("react/jsx-runtime"),fd="k-grid-table",V=e=>(0,gd.jsx)(Xe,{...e,className:r(e.className,fd),children:e.children});V.className=fd;V.moduleName=te;V.folderName=ae;var xd=require("react/jsx-runtime"),hd="k-grid-footer",Fa=e=>(0,xd.jsx)("div",{...e,className:r(e.className,hd),children:e.children});Fa.className=hd;Fa.moduleName=te;Fa.folderName=ae;var kd=require("react/jsx-runtime"),Nd="k-grid-footer-table",$a=e=>(0,kd.jsx)(Xe,{...e,className:r(e.className,Nd),children:e.children});$a.className=Nd;$a.moduleName=te;$a.folderName=ae;var Wl="button",wd=Wl;var ko=require("react/jsx-runtime"),na="k-button",Lb=["icon-button"],yb=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],Mb={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[I.undefined,I.base,I.primary,I.secondary,I.tertiary,I.success,I.warning,I.error,I.info,I.inverse]},Xl={showArrow:!1,arrowIconName:"chevron-down"},m=e=>{let{as:o="button",size:t,rounded:a,fillMode:l,themeColor:n,showArrow:c=Xl.showArrow,arrowIconName:u=Xl.arrowIconName,variant:f,hover:v,focus:w,active:L,selected:T,disabled:y,togglable:M,ariaDisabled:P,icon:K,iconSize:z,text:Z,iconClassName:we,className:me,...eo}=e,oo=K!=null,to=e.children!==void 0;return(0,ko.jsxs)(o,{className:r(me,na,Ms(na,f),R(na,{size:t,rounded:a,fillMode:l,themeColor:n}),A(na,{hover:v,focus:w,active:L,disabled:y||P,selected:T}),{"k-icon-button":!Z&&!to&&oo}),"aria-pressed":M?T?"true":"false":void 0,...eo,"aria-disabled":P?"true":void 0,disabled:y||void 0,children:[typeof K=="string"&&K&&(0,ko.jsx)(p,{className:r(we,"k-button-icon"),icon:K,size:z}),K&&typeof K!="string"&&(0,ko.jsx)(ko.Fragment,{children:K}),Z?(0,ko.jsxs)(ko.Fragment,{children:[Z&&(0,ko.jsx)("span",{className:"k-button-text",children:Z}),e.children]}):e.children&&(0,ko.jsx)("span",{className:"k-button-text",children:e.children}),c&&(0,ko.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,ko.jsx)(p,{icon:u})})]})};m.states=yb;m.options=Mb;m.variants=Lb;m.className=na;m.defaultOptions=Xl;m.moduleName=Wl;m.folderName=wd;m.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var vd=require("react/jsx-runtime"),Lt=e=>(0,vd.jsx)(m,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Cd=require("react/jsx-runtime"),sa=e=>(0,Cd.jsx)(m,{icon:"folder",children:"Button",...e});var Ld=require("react/jsx-runtime"),Ut=e=>(0,Ld.jsx)(m,{children:"Button",...e});var Va=require("react/jsx-runtime"),Sb=m.options,Ib=m.states,Rb={...m.defaultOptions,variant:"text"},Ab=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Eb=[],rr=e=>{let{variant:o,...t}=e;switch(o){case"icon-only":return(0,Va.jsx)(Lt,{...t,icon:"star"});case"icon-and-text":return(0,Va.jsx)(sa,{...t,icon:"star",children:"Button"});default:return(0,Va.jsx)(Ut,{...t,children:"Button"})}};rr.options=Sb;rr.states=Ib;rr.variants=Ab;rr.defaultOptions=Rb;rr.modifiers=Eb;rr.className=m.className;var da="input",Wa=da;var yd=require("react/jsx-runtime"),Xa="k-input",Gb=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Ob={size:[d.undefined,d.small,d.medium,d.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Hb={},Ie=e=>{let{hover:o,focus:t,disabled:a,invalid:l,valid:n,loading:c,readonly:u,size:f,rounded:v,fillMode:w,...L}=e;return(0,yd.jsx)("span",{...L,className:r(e.className,Xa,R(Xa,{size:f,rounded:v,fillMode:w}),A(Xa,{hover:o,focus:t,disabled:a,invalid:l,valid:n,loading:c,readonly:u}))})};Ie.states=Gb;Ie.options=Ob;Ie.className=Xa;Ie.defaultOptions=Hb;Ie.moduleName=da;Ie.folderName=Wa;var Md=require("react/jsx-runtime"),Ja="k-picker",Pb=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],_b={size:[d.undefined,d.small,d.medium,d.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Db={},Xo=e=>{let{hover:o,focus:t,disabled:a,invalid:l,valid:n,loading:c,readonly:u,size:f,rounded:v,fillMode:w,...L}=e;return(0,Md.jsx)("span",{...L,className:r(e.className,Ja,R(Ja,{size:f,rounded:v,fillMode:w}),A(Ja,{hover:o,focus:t,disabled:a,invalid:l,valid:n,loading:c,readonly:u})),children:e.children})};Xo.states=Pb;Xo.options=_b;Xo.className=Ja;Xo.defaultOptions=Db;Xo.moduleName=da;Xo.folderName=Wa;var ar=require("react/jsx-runtime"),Sd="k-clear-value",Kb=[i.disabled,i.loading,i.readonly],Bb={},wo=e=>{let{disabled:o,loading:t,readonly:a,value:l}=e;return o||a||t||!l?(0,ar.jsx)(ar.Fragment,{}):(0,ar.jsx)("span",{className:r(e.className,Sd),children:(0,ar.jsx)(p,{icon:"x"})})};wo.states=Kb;wo.options=Bb;wo.className=Sd;var Id=require("react/jsx-runtime"),Jl="k-input-inner",zb=[],Ub={},qa={type:"text",autocomplete:"off",value:"",placeholder:""},vo=e=>{let{value:o=qa.value,type:t=qa.type,placeholder:a=qa.placeholder,autocomplete:l=qa.autocomplete,disabled:n,readOnly:c,...u}=e;return(0,Id.jsx)("input",{...u,type:t,className:r(e.className,Jl,R(Jl,e)),placeholder:a,autoComplete:l,defaultValue:o,disabled:n||void 0,readOnly:c||void 0})};vo.states=zb;vo.options=Ub;vo.className=Jl;var ca=require("react/jsx-runtime"),ql="k-input-inner",Fb=[],$b={},Ft=e=>{let{value:o,placeholder:t,showValue:a,valueIcon:l,valueIconName:n,...c}=e;return(0,ca.jsxs)("span",{...c,className:r(e.className,ql,R(ql,e)),children:[l,!l&&n&&(0,ca.jsx)(p,{className:"k-input-value-icon",icon:n}),a&&!o&&t,a&&o&&(0,ca.jsx)("span",{className:"k-input-value-text",children:o})]})};Ft.states=Fb;Ft.options=$b;Ft.className=ql;var Ad=require("react/jsx-runtime"),Yl="k-input-inner",Vb=[],Wb={},Rd={value:"",placeholder:""},Ql=e=>{let{value:o=Rd.value,placeholder:t=Rd.placeholder,rows:a,disabled:l,...n}=e;return(0,Ad.jsx)("textarea",{...n,className:r(e.className,Yl,R(Yl,e)),placeholder:t,rows:a,defaultValue:o,disabled:l||void 0})};Ql.states=Vb;Ql.options=Wb;Ql.className=Yl;var pa=require("react/jsx-runtime"),Ed="k-input-loading-icon",Xb=[i.disabled,i.loading],uo=e=>{let{disabled:o,loading:t}=e;return o||!t?(0,pa.jsx)(pa.Fragment,{}):(0,pa.jsx)("span",{className:r(e.className,Ed,"k-icon k-i-loading")})};uo.states=Xb;uo.className=Ed;var ma=require("react/jsx-runtime"),Gd="k-input-validation-icon",Jb=[i.valid,i.invalid,i.disabled,i.loading],qb={},ro=e=>{let{valid:o,invalid:t,disabled:a,loading:l}=e,n=t?"warning-circle":"check-circle";return a||l||!!!(o||t)?(0,ma.jsx)(ma.Fragment,{}):(0,ma.jsx)(p,{className:r(Gd),icon:n})};ro.states=Jb;ro.options=qb;ro.className=Gd;var ua=require("react/jsx-runtime"),Yb="k-input-prefix",Qb={direction:"horizontal"},Ao=e=>{let{direction:o=Qb.direction,...t}=e;return e.children?(0,ua.jsx)("span",{...t,className:r(Yb,e.className,{[`k-input-prefix-${o}`]:o}),children:e.children}):(0,ua.jsx)(ua.Fragment,{})};var ba=require("react/jsx-runtime"),Zb="k-input-suffix",jb={direction:"horizontal"},Eo=e=>{let{direction:o=jb.direction,...t}=e;return e.children?(0,ba.jsx)("span",{...t,className:r(Zb,e.className,{[`k-input-suffix-${o}`]:o}),children:e.children}):(0,ba.jsx)(ba.Fragment,{})};var eT=require("react/jsx-runtime");var Od=require("react/jsx-runtime"),oT="k-input-suffix-text",Zl=e=>{let{children:o,...t}=e;return(0,Od.jsx)("span",{...t,className:r(oT,e.className),children:o})};var Pd=require("react/jsx-runtime"),Hd="k-input-separator",tT={direction:"vertical"},Go=e=>{let{direction:o=tT.direction,...t}=e;return(0,Pd.jsx)("span",{...t,className:r(Hd,e.className,{[`${Hd}-${o}`]:o})})};var Oe=require("react/jsx-runtime"),rT=Ie.states,aT=Ie.defaultOptions,lT=Ie.options,iT=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],nT=[],lr=e=>{let{modifiers:o,valid:t,invalid:a,loading:l,disabled:n,readonly:c,...u}=e,f=o==null?void 0:o.prefix,v=o==null?void 0:o.suffix,w=o==null?void 0:o["clear-button"],L=o==null?void 0:o["validation-icon"],T=o==null?void 0:o.separators;return(0,Oe.jsxs)(Ie,{...u,valid:t,invalid:a,loading:l,disabled:n,readonly:c,style:{width:300},children:[f&&(0,Oe.jsxs)(Oe.Fragment,{children:[(0,Oe.jsx)(Ao,{children:(0,Oe.jsx)(p,{icon:"lock"})}),T&&(0,Oe.jsx)(Go,{})]}),(0,Oe.jsx)(vo,{placeholder:"Placeholder",value:"Value"}),L&&(0,Oe.jsx)(ro,{valid:t,invalid:a,loading:l,disabled:n}),(0,Oe.jsx)(uo,{loading:l,disabled:n}),w&&(0,Oe.jsx)(wo,{loading:l,disabled:n,readonly:c,value:"Value"}),v&&(0,Oe.jsxs)(Oe.Fragment,{children:[T&&(0,Oe.jsx)(Go,{}),(0,Oe.jsx)(Eo,{children:(0,Oe.jsx)(Ut,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};lr.options=lT;lr.states=rT;lr.variants=nT;lr.defaultOptions=aT;lr.modifiers=iT;lr.className=Ie.className;var jl="popup",_d=jl;var oi=require("react/jsx-runtime"),Dd="k-animation-container",sT=[],dT={},ei={positionMode:"absolute",shown:!0},Jo=e=>{let{positionMode:o=ei.positionMode,shown:t=ei.shown,animationStyle:a,offset:l,...n}=e;return(0,oi.jsx)("div",{...n,style:{...l,...e.style},className:r(e.className,Dd,{"k-animation-container-shown":t,"k-animation-container-fixed":o==="fixed"}),children:(0,oi.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};Jo.states=sT;Jo.options=dT;Jo.className=Dd;Jo.defaultOptions=ei;Jo.moduleName=jl;Jo.folderName=_d;var ti="popup",Kd=ti;var ri=require("react/jsx-runtime"),Bd="k-popup",cT=[],pT={},zd={positionMode:"absolute"},ie=e=>{let{offset:o,positionMode:t=zd.positionMode,animationStyle:a,containerClassName:l,containerRole:n,containerAriaLabel:c,...u}=e;return(0,ri.jsx)(Jo,{positionMode:t,offset:o,animationStyle:a,className:l,role:n,"aria-label":c,children:(0,ri.jsx)("div",{...u,className:r(e.className,Bd),children:e.children})})};ie.states=cT;ie.options=pT;ie.className=Bd;ie.defaultOptions=zd;ie.moduleName=ti;ie.folderName=Kd;ie.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var ai="action-buttons",Ud=ai;var Fd=require("react/jsx-runtime"),Ya="k-actions",mT=[],uT={},li={alignment:"start",orientation:"horizontal"},Oo=e=>{let{alignment:o=li.alignment,orientation:t=li.orientation,...a}=e;return(0,Fd.jsx)("div",{...a,className:r(Ya,{[`${Ya}-${o}`]:o,[`${Ya}-${t}`]:t},e.className),children:e.children})};Oo.states=mT;Oo.options=uT;Oo.className=Ya;Oo.defaultOptions=li;Oo.moduleName=ai;Oo.folderName=Ud;var Vd=require("react/jsx-runtime"),bT="k-actionsheet-footer",$d={alignment:"stretched",orientation:"horizontal"},yt=e=>{let{alignment:o=$d.alignment,orientation:t=$d.orientation,template:a,as:l=a?"div":Oo,...n}=e;return(0,Vd.jsx)(l,{...n,...!a&&{alignment:o,orientation:t},className:r(e.className,bT),children:e.children})};var ii="searchbox",Wd=ii;var Mt=require("react/jsx-runtime"),Xd="k-searchbox",TT=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],fT={size:[d.undefined,d.small,d.medium,d.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},ni={showIcon:!0,icon:"search"},Co=e=>{let{value:o,placeholder:t,size:a,rounded:l,fillMode:n,hover:c,focus:u,valid:f,invalid:v,required:w,loading:L,disabled:T,showIcon:y=ni.showIcon,icon:M=ni.icon,"aria-label":P,...K}=e;return(0,Mt.jsxs)(Ie,{...K,size:a,rounded:l,fillMode:n,hover:c,focus:u,valid:f,invalid:v,required:w,loading:L,disabled:T,className:r(e.className,Xd),children:[y&&(0,Mt.jsx)(p,{className:"k-input-icon",icon:M}),(0,Mt.jsx)(vo,{placeholder:t,value:o,"aria-label":P}),(0,Mt.jsx)(uo,{...e}),(0,Mt.jsx)(ro,{...e}),(0,Mt.jsx)(wo,{...e})]})};Co.states=TT;Co.options=fT;Co.className=Xd;Co.defaultOptions=ni;Co.moduleName=ii;Co.folderName=Wd;var gT=require("react/jsx-runtime");var si="textbox",Jd=si;var Je=require("react/jsx-runtime"),qd="k-textbox",hT=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],xT={size:[d.undefined,d.small,d.medium,d.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Qa={showClearButton:!0,showValidationIcon:!0,separators:!0},ue=e=>{let{size:o,rounded:t,fillMode:a,separators:l=Qa.separators,showClearButton:n=Qa.showClearButton,showValidationIcon:c=Qa.showValidationIcon,prefix:u,suffix:f,type:v,value:w,placeholder:L,hover:T,focus:y,valid:M,invalid:P,required:K,loading:z,disabled:Z,readonly:we,id:me,"aria-label":eo,"aria-describedby":oo,...to}=e;return(0,Je.jsxs)(Ie,{...to,size:o,rounded:t,fillMode:a,hover:T,focus:y,valid:M,invalid:P,required:K,loading:z,disabled:Z,readonly:we,className:r(e.className,qd),children:[u&&(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)(Ao,{children:u}),l&&(0,Je.jsx)(Go,{})]}),(0,Je.jsx)(vo,{id:me,placeholder:L,value:w,type:v,disabled:Z,"aria-label":eo,"aria-describedby":oo,"aria-invalid":P?"true":void 0}),c&&(0,Je.jsx)(ro,{valid:M,invalid:P,loading:z,disabled:Z}),(0,Je.jsx)(uo,{loading:z,disabled:Z}),n&&(0,Je.jsx)(wo,{loading:z,disabled:Z,readonly:we,value:w}),f&&(0,Je.jsxs)(Je.Fragment,{children:[l&&(0,Je.jsx)(Go,{}),(0,Je.jsx)(Eo,{children:f})]})]})};ue.states=hT;ue.options=xT;ue.className=qd;ue.defaultOptions=Qa;ue.moduleName=si;ue.folderName=Jd;ue.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 Ta=ue;var Qd=require("react/jsx-runtime"),Yd=e=>(0,Qd.jsx)(Ta,{...e});var Zd=require("react/jsx-runtime");var jd=require("react/jsx-runtime");var NT=require("react/jsx-runtime");var Za=require("react/jsx-runtime"),kT=ue.states,wT=ue.defaultOptions,vT=ue.options,CT=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],LT=[],ir=e=>{let{modifiers:o,...t}=e,a={};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":a.prefix=o!=null&&o[l]?(0,Za.jsx)(p,{icon:"lock"}):void 0;break;case"suffix":a.suffix=o!=null&&o[l]?(0,Za.jsx)(Ut,{size:t.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=o==null?void 0:o[l];break;default:break}}),(0,Za.jsx)(Yd,{value:"Value",style:{width:300},...t,...a})};ir.options=vT;ir.states=kT;ir.variants=LT;ir.defaultOptions=wT;ir.modifiers=CT;ir.className=ue.className;var Lo=require("react/jsx-runtime"),ec="k-actionsheet-titlebar",yT={},ao=e=>{let{title:o,subtitle:t,actionsStart:a,actionsEnd:l,filter:n,input:c,inputValue:u,inputPlaceholder:f,adaptive:v,titleId:w,children:L,...T}=e;return(0,Lo.jsxs)("div",{...T,className:r(e.className,ec),children:[(0,Lo.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,Lo.jsx)("div",{className:"k-actionsheet-actions",children:a}),!L&&(0,Lo.jsxs)("div",{className:"k-actionsheet-title",id:w,children:[o&&(0,Lo.jsx)("div",{className:"k-text-center",children:o}),t&&(0,Lo.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:t})]}),L&&(0,Lo.jsx)("div",{className:"k-actionsheet-title",id:w,children:L}),l&&(0,Lo.jsx)("div",{className:"k-actionsheet-actions",children:l})]}),(c||n)&&(0,Lo.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?(0,Lo.jsx)(ue,{value:u,placeholder:f,size:v?"large":"medium","aria-label":o||f||"Input"}):(0,Lo.jsx)(Co,{placeholder:"Filter",size:v?"large":"medium","aria-label":"Filter options"})})]})};ao.className=ec;ao.defaultOptions=yT;var nr=require("react/jsx-runtime"),di="k-actionsheet-view",MT=[],ST={},IT={},sr=e=>{let{adaptive:o,animated:t,children:a,header:l,footer:n,titleId:c,...u}=e,f=(l==null?void 0:l.type)===ao&&(0,nr.jsx)(ao,{adaptive:o,titleId:c,...l==null?void 0:l.props}),v=(n==null?void 0:n.type)===yt&&(0,nr.jsx)(yt,{...n==null?void 0:n.props});return(0,nr.jsxs)("div",{...u,className:r(e.className,di,{[`${di}-animated`]:t}),children:[f,(0,nr.jsx)("div",{className:"k-actionsheet-content",children:a}),v]})};sr.states=MT;sr.options=ST;sr.className=di;sr.defaultOptions=IT;var fa="action-sheet",ja=fa;var ci="overlay",oc=ci;var rc=require("react/jsx-runtime"),tc="k-overlay",RT=[],AT={},ET={},St=e=>{let{...o}=e;return(0,rc.jsx)("div",{...o,className:r(e.className,tc),children:e.children})};St.states=RT;St.options=AT;St.className=tc;St.defaultOptions=ET;St.moduleName=ci;St.folderName=oc;var $t=require("react/jsx-runtime"),ac="k-actionsheet",GT=[],OT={},ga={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Me=e=>{let{side:o=ga.side,fullscreen:t=ga.fullscreen,adaptive:a=ga.adaptive,overlay:l=ga.overlay,template:n,children:c,header:u,footer:f,id:v,...w}=e,L=v&&!n&&u?`${v}-title`:void 0;return(0,$t.jsxs)("div",{className:"k-actionsheet-container",children:[l&&(0,$t.jsx)(St,{}),(0,$t.jsx)(Jo,{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,$t.jsx)("div",{...w,id:v,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":L,className:r(e.className,ac,{[`k-actionsheet-${o}`]:t===!1,"k-actionsheet-fullscreen":t===!0,"k-adaptive-actionsheet":a}),children:n||(0,$t.jsx)(sr,{header:u,footer:f,adaptive:a,titleId:L,...e,children:c})})})]})};Me.states=GT;Me.options=OT;Me.className=ac;Me.defaultOptions=ga;Me.moduleName=fa;Me.folderName=ja;Me.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};var ic=require("react/jsx-runtime"),lc="k-actionsheet-container",HT=[],PT={},_T={},dr=e=>{let{children:o,...t}=e;return(0,ic.jsx)("div",{...t,className:lc,children:o})};dr.states=HT;dr.options=PT;dr.className=lc;dr.defaultOptions=_T;dr.moduleName=fa;dr.folderName=ja;var nc=require("react/jsx-runtime"),pi=e=>{let{...o}=e;return(0,nc.jsx)("div",{...o,className:r(e.className,"k-list-ul"),children:e.children})};var Ho=require("react/jsx-runtime"),mi="k-actionsheet-item",DT=[i.hover,i.focus,i.selected,i.disabled],It=e=>{let{iconName:o,text:t,description:a,hover:l,focus:n,selected:c,disabled:u,...f}=e;return(0,Ho.jsxs)("span",{...f,className:r(e.className,mi,A(mi,{hover:l,focus:n,selected:c,disabled:u})),children:[!e.children&&(0,Ho.jsx)(Ho.Fragment,{children:(0,Ho.jsxs)("span",{className:"k-actionsheet-action",children:[o&&(0,Ho.jsx)("span",{className:"k-icon-wrap",children:(0,Ho.jsx)(p,{className:"k-actionsheet-item-icon",icon:o})}),(0,Ho.jsxs)("span",{className:"k-actionsheet-item-text",children:[t&&(0,Ho.jsx)("span",{className:"k-actionsheet-item-title",children:t}),a&&(0,Ho.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};It.states=DT;It.className=mi;var sc=require("react/jsx-runtime");var KT=require("react/jsx-runtime");var BT=require("react/jsx-runtime");var zT=require("react/jsx-runtime");var ve=require("react/jsx-runtime"),UT=Me.options,FT=Me.states,cc={...Me.defaultOptions,variant:"normal"},$T=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],VT=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],cr=e=>{let{variant:o,modifiers:t,...a}={...cc,...e},l={},n=(0,ve.jsxs)(pi,{children:[(0,ve.jsx)(It,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,ve.jsx)(It,{text:"Add to Favorites",iconName:"heart"}),(0,ve.jsx)(It,{text:"Upload New",iconName:"upload",disabled:!0}),(0,ve.jsx)("hr",{className:"k-hr"}),(0,ve.jsx)(It,{text:"Cancel",iconName:"cancel"})]}),c="Choose from the items below",u="Select Item";return o==="fullScreen"&&(l.fullScreen=!0),Object.keys(t||{}).forEach(f=>{switch(f){case"actions":l.actionsStart=!!(t!=null&&t[f]),l.actionsEnd=!!(t!=null&&t[f]);break;case"subtitle":l.subtitle=t!=null&&t[f]?c:void 0;break;case"footer":l.footer=!!(t!=null&&t[f]);break;default:break}}),o==="adaptive"?(0,ve.jsx)(Me,{...a,adaptive:!0,fullscreen:l.fullScreen,header:(0,ve.jsx)(ao,{actionsStart:l.actionsStart?(0,ve.jsx)(m,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?(0,ve.jsx)(m,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:l.subtitle}),footer:l.footer?(0,ve.jsxs)(yt,{alignment:"stretched",children:[(0,ve.jsx)(m,{text:"Cancel",size:"large",themeColor:"base"}),(0,ve.jsx)(m,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:n}):(0,ve.jsx)(Me,{...a,fullscreen:l.fullScreen,header:(0,ve.jsx)(ao,{actionsStart:l.actionsStart?(0,ve.jsx)(m,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?(0,ve.jsx)(m,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:l.subtitle}),footer:l.footer?(0,ve.jsxs)(yt,{alignment:"stretched",children:[(0,ve.jsx)(m,{text:"Apply",themeColor:"primary"}),(0,ve.jsx)(m,{text:"Cancel",themeColor:"base"})]}):void 0,children:n})};cr.options=UT;cr.states=FT;cr.variants=$T;cr.defaultOptions=cc;cr.modifiers=VT;cr.className=Me.className;var ol=ys(require("react"));var ui=require("react/jsx-runtime"),WT="k-list-group-sticky-header",bi=e=