@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 218 kB
JavaScript
var xu=Object.create;var Ha=Object.defineProperty;var Nu=Object.getOwnPropertyDescriptor;var ku=Object.getOwnPropertyNames;var wu=Object.getPrototypeOf,vu=Object.prototype.hasOwnProperty;var Cu=(e,o)=>{for(var t in o)Ha(e,t,{get:o[t],enumerable:!0})},vs=(e,o,t,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let l of ku(o))!vu.call(e,l)&&l!==t&&Ha(e,l,{get:()=>o[l],enumerable:!(a=Nu(o,l))||a.enumerable});return e};var Cs=(e,o,t)=>(t=e!=null?xu(wu(e)):{},vs(o||!e||!e.__esModule?Ha(t,"default",{value:e,enumerable:!0}):t,e)),Lu=e=>vs(Ha({},"__esModule",{value:!0}),e);var Ck={};Cu(Ck,{TreelistDemo:()=>Kt,default:()=>vk});module.exports=Lu(Ck);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 Ls(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 Rl={};function D(e){return Rl[e]=(Rl[e]||0)+1,`k-${e}-${Rl[e]}`}var te="grid",ae=te;var _a=require("react/jsx-runtime"),Pa="k-grid",yu=[],Mu={size:[d.undefined,d.small,d.medium,d.large]},Su=[],ys={pagerPosition:"bottom"},X=e=>{let{size:o,pagerPosition:t=ys.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,_a.jsxs)("div",{...y,className:r(e.className,Pa,{[`${Pa}-resizable`]:f},R(Pa,{size:o})),children:[a,t==="top"&&l,n,e.children&&u?(0,_a.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=yu;X.options=Mu;X.variants=Su;X.className=Pa;X.defaultOptions=ys;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 Ss=require("react/jsx-runtime"),Ms="k-grid-header",U=e=>{let{draggable:o,...t}=e;return(0,Ss.jsx)("div",{...t,className:r(e.className,Ms,{"k-grid-draggable-header":o}),children:e.children})};U.className=Ms;U.moduleName=te;U.folderName=ae;var ea=require("react/jsx-runtime"),Is="k-grouping-header",Ve=e=>{let{dropHint:o,dropClue:t,...a}=e;return(0,ea.jsxs)("div",{...a,className:r(e.className,Is),children:[t&&(0,ea.jsx)("div",{className:"k-grouping-dropclue"}),e.children,(0,ea.jsx)("div",{className:"k-grouping-drop-container",children:o})]})};Ve.className=Is;Ve.moduleName=te;Ve.folderName=ae;var As=require("react/jsx-runtime"),Rs="k-grid-pinned-container",oa=e=>{let{position:o,...t}=e;return(0,As.jsx)("div",{...t,className:r(e.className,Rs,{"k-pos-bottom":o==="bottom"}),children:e.children})};oa.className=Rs;oa.moduleName=te;oa.folderName=ae;var Gs=require("react/jsx-runtime"),Es="k-grid-sticky-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 Pe="table",We=Pe;var Hs=require("react/jsx-runtime"),Os="k-data-table",Iu=[],Ru={size:[d.undefined,d.small,d.medium,d.large]},Au={},tt=e=>{let{size:o,...t}=e;return(0,Hs.jsx)("div",{...t,className:r(e.className,Os,R("k-table",{size:o})),children:e.children})};tt.states=Iu;tt.options=Ru;tt.className=Os;tt.defaultOptions=Au;tt.moduleName=Pe;tt.folderName=We;var Ps=require("react/jsx-runtime"),Al="k-table-header-wrap",Eu=[i.hover,i.focus,i.disabled],Gu={},Ou={},kt=e=>{let{children:o,hover:t,focus:a,disabled:l,...n}=e;return(0,Ps.jsx)("div",{...n,className:r(e.className,Al,A(Al,{hover:t,focus:a,disabled:l})),children:o})};kt.states=Eu;kt.options=Gu;kt.className=Al;kt.defaultOptions=Ou;kt.moduleName=Pe;kt.folderName=We;var _s=require("react/jsx-runtime"),El="k-table",Hu=[],Pu={size:[d.undefined,d.small,d.medium,d.large]},_u={},Xe=e=>{let{size:o,...t}=e;return(0,_s.jsx)("table",{...t,className:r(e.className,El,R(El,{size:o})),children:e.children})};Xe.states=Hu;Xe.options=Pu;Xe.className=El;Xe.defaultOptions=_u;Xe.moduleName=Pe;Xe.folderName=We;var Da=require("react/jsx-runtime"),Gl="k-table-header",Du=[i.hover,i.focus,i.disabled],Ku={},Bu={},rt=e=>{let{children:o,hover:t,focus:a,disabled:l,...n}=e;return(0,Da.jsx)("div",{...n,className:r(e.className,Gl,A(Gl,{hover:t,focus:a,disabled:l})),children:(0,Da.jsx)(kt,{children:(0,Da.jsx)(Xe,{children:o})})})};rt.states=Du;rt.options=Ku;rt.className=Gl;rt.defaultOptions=Bu;rt.moduleName=Pe;rt.folderName=We;var Ks=require("react/jsx-runtime"),Ds="k-table-scroller",zu=[],Uu={},Fu={},tr=e=>{let{children:o,...t}=e;return(0,Ks.jsx)("div",{...t,className:r(e.className,Ds),children:o})};tr.states=zu;tr.options=Uu;tr.className=Ds;tr.defaultOptions=Fu;tr.moduleName=Pe;tr.folderName=We;var $u=require("react/jsx-runtime");var zs=require("react/jsx-runtime"),Bs="k-table-footer",Vu=[],Wu={},Xu={},wt=e=>{let{children:o,...t}=e;return(0,zs.jsx)("div",{...t,className:r(e.className,Bs),children:o})};wt.states=Vu;wt.options=Wu;wt.className=Bs;wt.defaultOptions=Xu;wt.moduleName=Pe;wt.folderName=We;var Us=require("react/jsx-runtime"),Ol="k-table-list",Ju=[],qu={size:[d.undefined,d.small,d.medium,d.large]},Yu={},vt=e=>{let{size:o,virtualization:t,...a}=e;return(0,Us.jsx)("ul",{...a,className:r(e.className,"k-table",Ol,R(Ol,{size:o}),{"k-virtual-table":t}),children:e.children})};vt.states=Ju;vt.options=qu;vt.className=Ol;vt.defaultOptions=Yu;vt.moduleName=Pe;vt.folderName=We;var Fs=require("react/jsx-runtime"),Qu="k-table-thead",B=e=>(0,Fs.jsx)("thead",{className:r(e.className,Qu),children:e.children});var $s=require("react/jsx-runtime"),Zu="k-table-tbody",W=e=>(0,$s.jsx)("tbody",{className:r(e.className,Zu),children:e.children});var ju=require("react/jsx-runtime");var Vs=require("react/jsx-runtime"),Hl="k-table-row",eb=[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,Vs.jsx)("tr",{...u,className:r(e.className,Hl,{"k-table-alt-row":c},A(Hl,{hover:o,focus:t,disabled:n,selected:a,highlighted:l})),children:e.children})};h.states=eb;h.className=Hl;var Ws=require("react/jsx-runtime"),Pl="k-table-row",ob=[i.hover,i.focus,i.selected,i.disabled],Ka=e=>{let{hover:o,focus:t,selected:a,disabled:l,alt:n,...c}=e;return(0,Ws.jsx)("li",{...c,className:r(e.className,Pl,{"k-table-alt-row":n},A(Pl,{hover:o,focus:t,disabled:l,selected:a})),children:e.children})};Ka.states=ob;Ka.className=Pl;var Js=require("react/jsx-runtime"),Xs="k-table-th",at=e=>{let{text:o,colspan:t,rowspan:a,...l}=e,n=o||e.children;return(0,Js.jsx)("th",{colSpan:t,rowSpan:a,...l,className:r(e.className,Xs),children:n})};at.className=Xs;at.moduleName=Pe;at.folderName=We;var tb=require("react/jsx-runtime");var qs=require("react/jsx-runtime"),_l="k-table-td",rb=[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,_l,A(_l,{focus:o,selected:t,highlighted:a})),children:f})};s.states=rb;s.className=_l;var ab=require("react/jsx-runtime");var lb=require("react/jsx-runtime");var ib=require("react/jsx-runtime");var nb=require("react/jsx-runtime");var sb=require("react/jsx-runtime");var Qs=require("react/jsx-runtime");var Zs=require("react/jsx-runtime");var ed=require("react/jsx-runtime");var Dl=require("react/jsx-runtime");var td=require("react/jsx-runtime"),od="k-grid-header-table",F=e=>(0,td.jsx)(Xe,{...e,className:r(e.className,od),children:e.children});F.className=od;F.moduleName=te;F.folderName=ae;var ra=require("react/jsx-runtime"),Kl="k-font-icon",pb=[],mb={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]},ub={},aa=e=>{let{size:o,themeColor:t,icon:a,rotate:l,flip:n,...c}=e;return a?(0,ra.jsx)("span",{...c,className:r(e.className,Kl,R(Kl,{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,ra.jsx)(ra.Fragment,{})};aa.states=pb;aa.options=mb;aa.className=Kl;aa.defaultOptions=ub;var rd=aa;var zt=require("react/jsx-runtime"),Bl="k-svg-icon",bb=[],Tb={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]},zl={viewBox:"0 0 24 24",variant:Wo.outline},la=e=>{var L,T;let{size:o,themeColor:t,rotate:a,flip:l,viewBox:n=zl.viewBox,variant:c=zl.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,Bl,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,Bl,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})})};la.states=bb;la.options=Tb;la.className=Bl;la.defaultOptions=zl;var Ul=la;var Fl=Cs(require("@progress/kendo-svg-icons"));var ad="icon",ld="icons";var sd=require("react");var id=require("react"),nd=(0,id.createContext)({iconsType:"svg"});var lt=require("react/jsx-runtime"),Ba="k-icon",fb=e=>e.replace(/([-_][a-z0-9])/gi,o=>o.toUpperCase().replace("-","").replace("_","")),gb=[],hb={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]},za={viewBox:"0 0 24 24",type:"svg",variant:Wo.outline},p=e=>{let{iconsType:o}=(0,sd.useContext)(nd),{size:t,themeColor:a,icon:l,type:n=o||za.type,rotate:c,flip:u,viewBox:f=za.viewBox,variant:v=za.variant,...w}=e;if(!l)return(0,lt.jsx)(lt.Fragment,{});if((o||n)==="svg"){if(l==="none")return(0,lt.jsx)(Ul,{...w,className:r(e.className,Ba),icon:l,size:t,variant:v});let T=Fl[l]?l:fb(`${l}-icon`);return Fl[T]?(0,lt.jsx)(Ul,{...w,className:r(e.className,Ba),icon:Fl[T],size:t,themeColor:a,rotate:c,flip:u,viewBox:f,variant:v}):(0,lt.jsx)(lt.Fragment,{})}return(0,lt.jsx)(rd,{...w,className:r(e.className,Ba),icon:l,size:t,themeColor:a,rotate:c,flip:u})};p.states=gb;p.options=hb;p.defaultOptions=za;p.className=Ba;p.moduleName=ad;p.folderName=ld;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"),$l="k-header",xb=[i.hover,i.focus,i.active],dd={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=dd.sortIcon,sortOrder:L,accessibleLabel:T,...y}=e;return(0,No.jsxs)(at,{...y,className:r(e.className,$l,{"k-filterable":o||a,"k-sorted":t,"k-grid-header-sticky":l,"k-touch-action-none":n},A($l,{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=xb;C.className=$l;C.defaultOptions=dd;C.moduleName=te;C.folderName=ae;var pd=require("react/jsx-runtime"),cd="k-grid-container",J=e=>(0,pd.jsx)("div",{...e,className:r(e.className,cd),children:e.children});J.className=cd;J.moduleName=te;J.folderName=ae;var ud=require("react/jsx-runtime"),md="k-grid-content",$=e=>(0,ud.jsx)("div",{...e,className:r(e.className,md),children:e.children});$.className=md;$.moduleName=te;$.folderName=ae;var Td=require("react/jsx-runtime"),bd="k-grid-table",V=e=>(0,Td.jsx)(Xe,{...e,className:r(e.className,bd),children:e.children});V.className=bd;V.moduleName=te;V.folderName=ae;var gd=require("react/jsx-runtime"),fd="k-grid-footer",Ua=e=>(0,gd.jsx)("div",{...e,className:r(e.className,fd),children:e.children});Ua.className=fd;Ua.moduleName=te;Ua.folderName=ae;var xd=require("react/jsx-runtime"),hd="k-grid-footer-table",Fa=e=>(0,xd.jsx)(Xe,{...e,className:r(e.className,hd),children:e.children});Fa.className=hd;Fa.moduleName=te;Fa.folderName=ae;var Vl="button",Nd=Vl;var ko=require("react/jsx-runtime"),ia="k-button",Nb=["icon-button"],kb=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],wb={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]},Wl={showArrow:!1,arrowIconName:"chevron-down"},m=e=>{let{as:o="button",size:t,rounded:a,fillMode:l,themeColor:n,showArrow:c=Wl.showArrow,arrowIconName:u=Wl.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,ia,Ls(ia,f),R(ia,{size:t,rounded:a,fillMode:l,themeColor:n}),A(ia,{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=kb;m.options=wb;m.variants=Nb;m.className=ia;m.defaultOptions=Wl;m.moduleName=Vl;m.folderName=Nd;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 kd=require("react/jsx-runtime"),Ct=e=>(0,kd.jsx)(m,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var wd=require("react/jsx-runtime"),na=e=>(0,wd.jsx)(m,{icon:"folder",children:"Button",...e});var vd=require("react/jsx-runtime"),Ut=e=>(0,vd.jsx)(m,{children:"Button",...e});var $a=require("react/jsx-runtime"),vb=m.options,Cb=m.states,Lb={...m.defaultOptions,variant:"text"},yb=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Mb=[],rr=e=>{let{variant:o,...t}=e;switch(o){case"icon-only":return(0,$a.jsx)(Ct,{...t,icon:"star"});case"icon-and-text":return(0,$a.jsx)(na,{...t,icon:"star",children:"Button"});default:return(0,$a.jsx)(Ut,{...t,children:"Button"})}};rr.options=vb;rr.states=Cb;rr.variants=yb;rr.defaultOptions=Lb;rr.modifiers=Mb;rr.className=m.className;var sa="input",Va=sa;var Cd=require("react/jsx-runtime"),Wa="k-input",Sb=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Ib={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]},Rb={},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,Cd.jsx)("span",{...L,className:r(e.className,Wa,R(Wa,{size:f,rounded:v,fillMode:w}),A(Wa,{hover:o,focus:t,disabled:a,invalid:l,valid:n,loading:c,readonly:u}))})};Ie.states=Sb;Ie.options=Ib;Ie.className=Wa;Ie.defaultOptions=Rb;Ie.moduleName=sa;Ie.folderName=Va;var Ld=require("react/jsx-runtime"),Xa="k-picker",Ab=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Eb={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]},Gb={},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,Ld.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})),children:e.children})};Xo.states=Ab;Xo.options=Eb;Xo.className=Xa;Xo.defaultOptions=Gb;Xo.moduleName=sa;Xo.folderName=Va;var ar=require("react/jsx-runtime"),yd="k-clear-value",Ob=[i.disabled,i.loading,i.readonly],Hb={},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,yd),children:(0,ar.jsx)(p,{icon:"x"})})};wo.states=Ob;wo.options=Hb;wo.className=yd;var Md=require("react/jsx-runtime"),Xl="k-input-inner",Pb=[],_b={},Ja={type:"text",autocomplete:"off",value:"",placeholder:""},vo=e=>{let{value:o=Ja.value,type:t=Ja.type,placeholder:a=Ja.placeholder,autocomplete:l=Ja.autocomplete,disabled:n,readOnly:c,...u}=e;return(0,Md.jsx)("input",{...u,type:t,className:r(e.className,Xl,R(Xl,e)),placeholder:a,autoComplete:l,defaultValue:o,disabled:n||void 0,readOnly:c||void 0})};vo.states=Pb;vo.options=_b;vo.className=Xl;var da=require("react/jsx-runtime"),Jl="k-input-inner",Db=[],Kb={},Ft=e=>{let{value:o,placeholder:t,showValue:a,valueIcon:l,valueIconName:n,...c}=e;return(0,da.jsxs)("span",{...c,className:r(e.className,Jl,R(Jl,e)),children:[l,!l&&n&&(0,da.jsx)(p,{className:"k-input-value-icon",icon:n}),a&&!o&&t,a&&o&&(0,da.jsx)("span",{className:"k-input-value-text",children:o})]})};Ft.states=Db;Ft.options=Kb;Ft.className=Jl;var Id=require("react/jsx-runtime"),ql="k-input-inner",Bb=[],zb={},Sd={value:"",placeholder:""},Yl=e=>{let{value:o=Sd.value,placeholder:t=Sd.placeholder,rows:a,disabled:l,...n}=e;return(0,Id.jsx)("textarea",{...n,className:r(e.className,ql,R(ql,e)),placeholder:t,rows:a,defaultValue:o,disabled:l||void 0})};Yl.states=Bb;Yl.options=zb;Yl.className=ql;var ca=require("react/jsx-runtime"),Rd="k-input-loading-icon",Ub=[i.disabled,i.loading],uo=e=>{let{disabled:o,loading:t}=e;return o||!t?(0,ca.jsx)(ca.Fragment,{}):(0,ca.jsx)("span",{className:r(e.className,Rd,"k-icon k-i-loading")})};uo.states=Ub;uo.className=Rd;var pa=require("react/jsx-runtime"),Ad="k-input-validation-icon",Fb=[i.valid,i.invalid,i.disabled,i.loading],$b={},ro=e=>{let{valid:o,invalid:t,disabled:a,loading:l}=e,n=t?"warning-circle":"check-circle";return a||l||!!!(o||t)?(0,pa.jsx)(pa.Fragment,{}):(0,pa.jsx)(p,{className:r(Ad),icon:n})};ro.states=Fb;ro.options=$b;ro.className=Ad;var ma=require("react/jsx-runtime"),Vb="k-input-prefix",Wb={direction:"horizontal"},Ao=e=>{let{direction:o=Wb.direction,...t}=e;return e.children?(0,ma.jsx)("span",{...t,className:r(Vb,e.className,{[`k-input-prefix-${o}`]:o}),children:e.children}):(0,ma.jsx)(ma.Fragment,{})};var ua=require("react/jsx-runtime"),Xb="k-input-suffix",Jb={direction:"horizontal"},Eo=e=>{let{direction:o=Jb.direction,...t}=e;return e.children?(0,ua.jsx)("span",{...t,className:r(Xb,e.className,{[`k-input-suffix-${o}`]:o}),children:e.children}):(0,ua.jsx)(ua.Fragment,{})};var qb=require("react/jsx-runtime");var Ed=require("react/jsx-runtime"),Yb="k-input-suffix-text",Ql=e=>{let{children:o,...t}=e;return(0,Ed.jsx)("span",{...t,className:r(Yb,e.className),children:o})};var Od=require("react/jsx-runtime"),Gd="k-input-separator",Qb={direction:"vertical"},Go=e=>{let{direction:o=Qb.direction,...t}=e;return(0,Od.jsx)("span",{...t,className:r(Gd,e.className,{[`${Gd}-${o}`]:o})})};var Oe=require("react/jsx-runtime"),Zb=Ie.states,jb=Ie.defaultOptions,eT=Ie.options,oT=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],tT=[],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=eT;lr.states=Zb;lr.variants=tT;lr.defaultOptions=jb;lr.modifiers=oT;lr.className=Ie.className;var Zl="popup",Hd=Zl;var ei=require("react/jsx-runtime"),Pd="k-animation-container",rT=[],aT={},jl={positionMode:"absolute",shown:!0},Jo=e=>{let{positionMode:o=jl.positionMode,shown:t=jl.shown,animationStyle:a,offset:l,...n}=e;return(0,ei.jsx)("div",{...n,style:{...l,...e.style},className:r(e.className,Pd,{"k-animation-container-shown":t,"k-animation-container-fixed":o==="fixed"}),children:(0,ei.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};Jo.states=rT;Jo.options=aT;Jo.className=Pd;Jo.defaultOptions=jl;Jo.moduleName=Zl;Jo.folderName=Hd;var oi="popup",_d=oi;var ti=require("react/jsx-runtime"),Dd="k-popup",lT=[],iT={},Kd={positionMode:"absolute"},ie=e=>{let{offset:o,positionMode:t=Kd.positionMode,animationStyle:a,containerClassName:l,containerRole:n,containerAriaLabel:c,...u}=e;return(0,ti.jsx)(Jo,{positionMode:t,offset:o,animationStyle:a,className:l,role:n,"aria-label":c,children:(0,ti.jsx)("div",{...u,className:r(e.className,Dd),children:e.children})})};ie.states=lT;ie.options=iT;ie.className=Dd;ie.defaultOptions=Kd;ie.moduleName=oi;ie.folderName=_d;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 ri="action-buttons",Bd=ri;var zd=require("react/jsx-runtime"),qa="k-actions",nT=[],sT={},ai={alignment:"start",orientation:"horizontal"},Oo=e=>{let{alignment:o=ai.alignment,orientation:t=ai.orientation,...a}=e;return(0,zd.jsx)("div",{...a,className:r(qa,{[`${qa}-${o}`]:o,[`${qa}-${t}`]:t},e.className),children:e.children})};Oo.states=nT;Oo.options=sT;Oo.className=qa;Oo.defaultOptions=ai;Oo.moduleName=ri;Oo.folderName=Bd;var Fd=require("react/jsx-runtime"),dT="k-actionsheet-footer",Ud={alignment:"stretched",orientation:"horizontal"},Lt=e=>{let{alignment:o=Ud.alignment,orientation:t=Ud.orientation,template:a,as:l=a?"div":Oo,...n}=e;return(0,Fd.jsx)(l,{...n,...!a&&{alignment:o,orientation:t},className:r(e.className,dT),children:e.children})};var li="searchbox",$d=li;var yt=require("react/jsx-runtime"),Vd="k-searchbox",cT=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],pT={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]},ii={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=ii.showIcon,icon:M=ii.icon,"aria-label":P,...K}=e;return(0,yt.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,Vd),children:[y&&(0,yt.jsx)(p,{className:"k-input-icon",icon:M}),(0,yt.jsx)(vo,{placeholder:t,value:o,"aria-label":P}),(0,yt.jsx)(uo,{...e}),(0,yt.jsx)(ro,{...e}),(0,yt.jsx)(wo,{...e})]})};Co.states=cT;Co.options=pT;Co.className=Vd;Co.defaultOptions=ii;Co.moduleName=li;Co.folderName=$d;var mT=require("react/jsx-runtime");var ni="textbox",Wd=ni;var Je=require("react/jsx-runtime"),Xd="k-textbox",uT=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],bT={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]},Ya={showClearButton:!0,showValidationIcon:!0,separators:!0},ue=e=>{let{size:o,rounded:t,fillMode:a,separators:l=Ya.separators,showClearButton:n=Ya.showClearButton,showValidationIcon:c=Ya.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,Xd),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=uT;ue.options=bT;ue.className=Xd;ue.defaultOptions=Ya;ue.moduleName=ni;ue.folderName=Wd;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 ba=ue;var qd=require("react/jsx-runtime"),Jd=e=>(0,qd.jsx)(ba,{...e});var Yd=require("react/jsx-runtime");var Qd=require("react/jsx-runtime");var TT=require("react/jsx-runtime");var Qa=require("react/jsx-runtime"),fT=ue.states,gT=ue.defaultOptions,hT=ue.options,xT=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],NT=[],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,Qa.jsx)(p,{icon:"lock"}):void 0;break;case"suffix":a.suffix=o!=null&&o[l]?(0,Qa.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,Qa.jsx)(Jd,{value:"Value",style:{width:300},...t,...a})};ir.options=hT;ir.states=fT;ir.variants=NT;ir.defaultOptions=gT;ir.modifiers=xT;ir.className=ue.className;var Lo=require("react/jsx-runtime"),Zd="k-actionsheet-titlebar",kT={},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,Zd),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=Zd;ao.defaultOptions=kT;var nr=require("react/jsx-runtime"),si="k-actionsheet-view",wT=[],vT={},CT={},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)===Lt&&(0,nr.jsx)(Lt,{...n==null?void 0:n.props});return(0,nr.jsxs)("div",{...u,className:r(e.className,si,{[`${si}-animated`]:t}),children:[f,(0,nr.jsx)("div",{className:"k-actionsheet-content",children:a}),v]})};sr.states=wT;sr.options=vT;sr.className=si;sr.defaultOptions=CT;var Ta="action-sheet",Za=Ta;var di="overlay",jd=di;var oc=require("react/jsx-runtime"),ec="k-overlay",LT=[],yT={},MT={},Mt=e=>{let{...o}=e;return(0,oc.jsx)("div",{...o,className:r(e.className,ec),children:e.children})};Mt.states=LT;Mt.options=yT;Mt.className=ec;Mt.defaultOptions=MT;Mt.moduleName=di;Mt.folderName=jd;var $t=require("react/jsx-runtime"),tc="k-actionsheet",ST=[],IT={},fa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Me=e=>{let{side:o=fa.side,fullscreen:t=fa.fullscreen,adaptive:a=fa.adaptive,overlay:l=fa.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)(Mt,{}),(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,tc,{[`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=ST;Me.options=IT;Me.className=tc;Me.defaultOptions=fa;Me.moduleName=Ta;Me.folderName=Za;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 ac=require("react/jsx-runtime"),rc="k-actionsheet-container",RT=[],AT={},ET={},dr=e=>{let{children:o,...t}=e;return(0,ac.jsx)("div",{...t,className:rc,children:o})};dr.states=RT;dr.options=AT;dr.className=rc;dr.defaultOptions=ET;dr.moduleName=Ta;dr.folderName=Za;var lc=require("react/jsx-runtime"),ci=e=>{let{...o}=e;return(0,lc.jsx)("div",{...o,className:r(e.className,"k-list-ul"),children:e.children})};var Ho=require("react/jsx-runtime"),pi="k-actionsheet-item",GT=[i.hover,i.focus,i.selected,i.disabled],St=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,pi,A(pi,{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]})};St.states=GT;St.className=pi;var ic=require("react/jsx-runtime");var OT=require("react/jsx-runtime");var HT=require("react/jsx-runtime");var PT=require("react/jsx-runtime");var ve=require("react/jsx-runtime"),_T=Me.options,DT=Me.states,sc={...Me.defaultOptions,variant:"normal"},KT=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],BT=[{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}={...sc,...e},l={},n=(0,ve.jsxs)(ci,{children:[(0,ve.jsx)(St,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,ve.jsx)(St,{text:"Add to Favorites",iconName:"heart"}),(0,ve.jsx)(St,{text:"Upload New",iconName:"upload",disabled:!0}),(0,ve.jsx)("hr",{className:"k-hr"}),(0,ve.jsx)(St,{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)(Lt,{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)(Lt,{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=_T;cr.states=DT;cr.variants=KT;cr.defaultOptions=sc;cr.modifiers=BT;cr.className=Me.className;var el=Cs(require("react"));var mi=require("react/jsx-runtime"),zT="k-list-group-sticky-header",ui=e=