@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 204 kB
JavaScript
var Ym=Object.create;var Or=Object.defineProperty;var Qm=Object.getOwnPropertyDescriptor;var Zm=Object.getOwnPropertyNames;var jm=Object.getPrototypeOf,eu=Object.prototype.hasOwnProperty;var ou=(e,o)=>{for(var t in o)Or(e,t,{get:o[t],enumerable:!0})},bs=(e,o,t,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let l of Zm(o))!eu.call(e,l)&&l!==t&&Or(e,l,{get:()=>o[l],enumerable:!(r=Qm(o,l))||r.enumerable});return e};var fs=(e,o,t)=>(t=e!=null?Ym(jm(e)):{},bs(o||!e||!e.__esModule?Or(t,"default",{value:e,enumerable:!0}):t,e)),tu=e=>bs(Or({},"__esModule",{value:!0}),e);var WN={};ou(WN,{GridWithLockedColumns:()=>VN});module.exports=tu(WN);var a=(...e)=>e.filter(o=>o!==!0&&!!o).map(o=>Array.isArray(o)?a(...o):typeof o=="object"?Object.keys(o).map((t,r)=>o[r]||o[t]&&t||null).filter(t=>t!==null).join(" "):o).filter(o=>!!o).join(" ");var A=(e,o)=>a({[`${e}-xs`]:o.size==="xsmall",[`${e}-sm`]:o.size==="small",[`${e}-md`]:o.size==="medium",[`${e}-lg`]:o.size==="large",[`${e}-xl`]:o.size==="xlarge",[`${e}-xxl`]:o.size==="xxlarge",[`${e}-xxxl`]:o.size==="xxxlarge"},{[`${e}-${o.fillMode}`]:o.fillMode},{[`${e}-${o.themeColor}`]:o.themeColor},{"k-rounded-sm":o.rounded==="small","k-rounded-md":o.rounded==="medium","k-rounded-lg":o.rounded==="large","k-rounded-full":o.rounded==="full","k-rounded-none":o.rounded==="none"}),I=(e,o)=>{let{valid:t,invalid:r,hover:l,focus:n,checked:c,active:m,selected:f,disabled:x,indeterminate:g,loading:w,empty:b,readonly:L,highlighted:M,...O}=o;return a({"k-valid":t,"k-invalid":r,"k-hover":l,"k-focus":n,"k-checked":c,"k-active":m,"k-selected":f,"k-disabled":x,"k-indeterminate":g&&!c,"k-loading":w,"k-empty":b,"k-readonly":L,"k-highlighted":M},Object.keys(O).reduce((_,K)=>(K.startsWith("k-")?_[K]=O[K]:_[`k-${K}`]=O[K],_),{}))};function Ts(e,o){if(!o)return{};let t=Array.isArray(o)?o:[o];return Object.fromEntries(t.map(r=>[`k-${r}`,!0]))}var s={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},N={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},k={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Vo={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},S={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var Ml={};function R(e){return Ml[e]=(Ml[e]||0)+1,`k-${e}-${Ml[e]}`}var ee="grid",te=ee;var Pr=require("react/jsx-runtime"),Hr="k-grid",au=[],ru={size:[s.undefined,s.small,s.medium,s.large]},lu=[],gs={pagerPosition:"bottom"},D=e=>{let{size:o,pagerPosition:t=gs.pagerPosition,toolbar:r,pager:l,groupingHeader:n,gridSelectionAggregates:c,_renderAriaRoot:m,resizable:f,ariaColCount:x,ariaRowCount:g,ariaRootId:w,ariaRole:b="grid",...L}=e;return(0,Pr.jsxs)("div",{...L,className:a(e.className,Hr,{[`${Hr}-resizable`]:f},A(Hr,{size:o})),children:[r,t==="top"&&l,n,e.children&&m?(0,Pr.jsx)("div",{className:"k-grid-aria-root",role:b,id:w,"aria-colcount":x,"aria-rowcount":g,children:e.children}):e.children,c,t==="bottom"&&l]})};D.states=au;D.options=ru;D.variants=lu;D.className=Hr;D.defaultOptions=gs;D.moduleName=ee;D.folderName=te;D.ariaSpec={selector:".k-grid",rules:[{selector:".k-grid-toolbar",attribute:"role=toolbar",usage:"The toolbar is a collection of command buttons and inputs."},{selector:".k-grid-toolbar",attribute:"aria-label",usage:"Clarifies the purpose of the toolbar."},{selector:".k-grid-toolbar",attribute:"aria-controls=.k-grid-aria-root id (when present)",usage:"Pointing to the id of the element with role=grid."},{selector:".k-grouping-header",attribute:"role=toolbar",usage:"The Grouping pane is a ToolBar (collection of buttons)."},{selector:".k-grouping-header",attribute:"aria-label",usage:"Clarifies the purpose of the grouping pane."},{selector:".k-grouping-header",attribute:"aria-controls=.k-grid-aria-root id (when present)",usage:"Pointing to the id of the element with role=grid."},{selector:".k-grouping-header .k-chip-list",attribute:"role=none",usage:"The ChipList default listbox role is removed to keep the toolbar --> button roles hierarchy."},{selector:".k-grouping-header .k-chip",attribute:"role=button",usage:"If the element used is not <button>, then the role must be specified."},{selector:".k-grid:not(.k-treelist) .k-grid-aria-root",attribute:"role=grid",usage:"The role specifies the element is a Data Grid."},{selector:".k-grid-aria-root",attribute:"aria-colcount (when present)",usage:"The total number of columns in the Grid. Needed for Virtual columns and Hidden columns scenarios."},{selector:".k-grid-aria-root",attribute:"aria-rowcount (when present)",usage:"The total number of rows in the table. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:".k-grid-header-wrap>table",attribute:"role=none",usage:"Negates the default semantic role of the <table> element."},{selector:".k-grid-header-wrap>table>thead",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)",attribute:"aria-rowindex (when present)",usage:"Row number. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th:not(.k-hierarchy-cell):not(.k-group-cell):not(.k-drag-cell)",attribute:"role=columnheader",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th",attribute:"aria-sort (when present)",usage:"Present if sorting is enabled for that column."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th",attribute:"aria-colindex (when present)",usage:"Col number. Needed for Virtual columns and Hidden columns scenarios."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th",attribute:"aria-haspopup=dialog (when present)",usage:"Present if the column has a ColumnMenu or FilterMenu."},{selector:".k-grid-header-wrap>table>thead>tr.k-filter-row>td",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr.k-filter-row>td",attribute:"aria-label",usage:"Has a label indicating that the cell is part of a filter row."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table, .k-grid-pinned-container .k-grid-table",attribute:"role=none",usage:"Negates the default semantic role of the <table> element."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody, .k-grid-pinned-container tbody",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr, .k-grid-pinned-container tbody tr",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr, .k-grid-pinned-container tbody tr",attribute:"aria-rowindex (when present)",usage:"Row number. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr>td, .k-grid-pinned-container tbody td",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr>td, .k-grid-pinned-container tbody td",attribute:"aria-colindex (when present)",usage:"Col number. Needed for Virtual columns and Hidden columns scenarios."},{selector:"tr.k-selected",attribute:"aria-selected=true",usage:"Set on the currently selected row(s) in row selection mode. All cells within the selected row also carry aria-selected=true (without k-selected class). Applies to both regular and pinned rows."},{selector:"td.k-selected",attribute:"aria-selected=true",usage:"Set on the currently selected cell(s) in cell selection mode. The k-selected class on cells is only applied in cell selection mode, but aria-selected=true is present on cells regardless of selection mode."},{selector:".k-master-row .k-hierarchy-cell, .k-grouping-row>td",attribute:"aria-expanded",usage:"For cells holding grouping criteria values and for Master row cells in Detail template scenario."},{selector:".k-group-cell",attribute:"role=presentation",usage:"Group offset cells (header and content) are non-interactive placeholders with no semantic role."},{selector:".k-drag-cell",attribute:"aria-label",usage:"Must be present in a Drag Row scenario on the cell containing the drag handle."},{selector:".k-grid-header-locked table tr",attribute:"aria-owns",usage:"Locked header rows own cells from the corresponding non-locked header table rows."},{selector:".k-grid-content-locked table tr:not(.k-grouping-row)",attribute:"aria-owns",usage:"Locked content rows own cells from the corresponding non-locked content table rows. Group header rows are excluded because the non-locked group header rows are presentational."},{selector:".k-grid-lockedcolumns .k-grid-header .k-grid-header-wrap table tr",attribute:"role=none",usage:"Non-locked header rows have their semantic role removed when locked columns exist."},{selector:".k-grid-lockedcolumns .k-grid-content table tr",attribute:"role=none",usage:"Non-locked content rows have their semantic role removed when locked columns exist."},{selector:".k-grid-lockedcolumns .k-grid-header .k-grid-header-wrap th",attribute:"role=columnheader",usage:"Non-locked header cells retain columnheader role so they are announced correctly when owned via aria-owns."},{selector:".k-grid-lockedcolumns .k-grid-content td:not(.k-grouping-row td)",attribute:"role=gridcell",usage:"Non-locked data cells retain gridcell role so they are announced correctly when owned via aria-owns. Cells inside group header rows are excluded as those rows are presentational."},{selector:".k-grid-filter-popup",attribute:"role=dialog",usage:"The filter menu popup has dialog role."},{selector:".k-grid-filter-popup",attribute:"id",usage:"Unique id linked to the header cell aria-controls attribute."},{selector:".k-grid-filter-popup",attribute:"aria-label",usage:'Descriptive label for the filter menu, e.g. "Column Title Filter Menu".'},{selector:".k-grid-columnmenu-popup",attribute:"role=dialog",usage:"The column menu popup has dialog role."},{selector:".k-grid-columnmenu-popup",attribute:"id",usage:"Unique id linked to the header cell aria-controls attribute."},{selector:".k-grid-columnmenu-popup",attribute:"aria-label",usage:'Descriptive label for the column menu, e.g. "Column Title Column Menu".'},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"role=button",usage:"Column menu items have button role."},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"tabindex=0",usage:"Column menu items are focusable."},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"aria-expanded",usage:"Expandable column menu items announce their expanded state."},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"aria-controls",usage:"Expandable items point to the id of the content they control."},{selector:".k-grid-columnmenu-popup .k-column-list",attribute:"role=listbox",usage:"The column list is a listbox."},{selector:".k-grid-columnmenu-popup .k-column-list",attribute:"aria-multiselectable=true",usage:"The column list supports multiple selections."},{selector:".k-grid-columnmenu-popup .k-column-list",attribute:"aria-label",usage:"Accessible name for the column list."},{selector:".k-grid-columnmenu-popup .k-column-list-item",attribute:"role=option",usage:"Column list items are options."},{selector:".k-grid-columnmenu-popup .k-column-list-item",attribute:"aria-checked",usage:"Column list items announce their checked state."},{selector:"tfoot",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:"tfoot tr",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:"tfoot tr",attribute:"aria-rowindex (when present)",usage:"Row number. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:"tfoot tr td",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed."},{selector:"tfoot tr td",attribute:"aria-colindex (when present)",usage:"Col number. Needed for Virtual columns and Hidden columns scenarios."},{selector:".k-grid-selection-aggregates",attribute:"aria-live=polite",usage:"Ensures that changes in the calculated selection aggregates are announced by assistive technologies."},{selector:".k-grid-stack-cell",attribute:"tabindex=0",usage:"Stacked cell elements receive tabindex 0 when focus is within their parent .k-grid-stack-row element."},{selector:".k-grid-sticky-container",attribute:"role=none",usage:"Sticky group container has no semantic role."},{selector:".k-grid-sticky-container .k-grid-table",attribute:"role=none",usage:"Negates the default semantic role of the sticky group <table> element."},{selector:".k-grid-sticky-container tbody",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-sticky-container tr",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-sticky-container tr",attribute:"aria-rowindex",usage:"Matches the aria-rowindex of the real group header/footer row it mirrors."},{selector:".k-grid-sticky-container td:not(.k-group-cell)",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed. Group offset cells are excluded as they retain role=presentation."},{selector:".k-grid-sticky-container .k-grouping-row>td",attribute:"aria-expanded",usage:"Mirrors the expanded/collapsed state of the real group header row."},{selector:".k-grid-sticky-container td:not(.k-group-cell)",attribute:"tabindex",usage:"Receives tabindex 0 when focused, -1 otherwise, for keyboard navigation. Group offset cells are excluded as they are presentational."},{selector:".k-grid-sticky-container td",attribute:"aria-colindex (when present)",usage:"Col number. Typically 1 for the group header cell spanning all columns."},{selector:".k-grid-pinned-container",attribute:"role=none",usage:"Container for pinned rows has no semantic role."},{selector:".k-grid-pinned-container .k-grid-pinned-wrap",attribute:"role=none",usage:"Inner wrapper for the pinned rows table has no semantic role."},{selector:".k-grid-pinned-container tbody",attribute:"aria-label",usage:'Describes the purpose of the pinned rows group, e.g. "Top pinned rows" or "Bottom pinned rows".'},{selector:".k-grid-pinned-container td",attribute:"aria-haspopup=menu (when present)",usage:"Pinned row cells announce the context menu for row pinning operations."},{selector:".k-grid-pinned-container td",attribute:"aria-controls",usage:"Points to the ID of the context menu popup for row pinning."},{selector:".k-grid-pinned-container td",attribute:"aria-expanded",usage:"Indicates whether the context menu popup is open."},{selector:".k-grid-content td",attribute:"aria-haspopup=menu (when present)",usage:"Regular data cells announce context menu when row pinning uses contextual mode."},{selector:".k-grid-content td",attribute:"aria-controls",usage:"Points to the ID of the context menu popup for row pinning."},{selector:".k-grid-content td",attribute:"aria-expanded",usage:"Indicates whether the context menu popup is open."},{selector:'.k-pin-cell [class*="k-icon"]',attribute:"aria-hidden=true",usage:"Pin/unpin icon inside the dedicated column is decorative and must be hidden from assistive technologies."}]};var xs=require("react/jsx-runtime"),hs="k-grid-header",Q=e=>{let{draggable:o,...t}=e;return(0,xs.jsx)("div",{...t,className:a(e.className,hs,{"k-grid-draggable-header":o}),children:e.children})};Q.className=hs;Q.moduleName=ee;Q.folderName=te;var ja=require("react/jsx-runtime"),Ns="k-grouping-header",Ve=e=>{let{dropHint:o,dropClue:t,...r}=e;return(0,ja.jsxs)("div",{...r,className:a(e.className,Ns),children:[t&&(0,ja.jsx)("div",{className:"k-grouping-dropclue"}),e.children,(0,ja.jsx)("div",{className:"k-grouping-drop-container",children:o})]})};Ve.className=Ns;Ve.moduleName=ee;Ve.folderName=te;var vs=require("react/jsx-runtime"),ks="k-grid-pinned-container",er=e=>{let{position:o,...t}=e;return(0,vs.jsx)("div",{...t,className:a(e.className,ks,{"k-pos-bottom":o==="bottom"}),children:e.children})};er.className=ks;er.moduleName=ee;er.folderName=te;var Cs=require("react/jsx-runtime"),ws="k-grid-sticky-container",or=e=>{let{position:o,...t}=e;return(0,Cs.jsx)("div",{...t,className:a(e.className,ws,{"k-pos-bottom":o==="bottom"}),children:e.children})};or.className=ws;or.moduleName=ee;or.folderName=te;var Pe="table",We=Pe;var Ms=require("react/jsx-runtime"),Ls="k-data-table",iu=[],nu={size:[s.undefined,s.small,s.medium,s.large]},su={},ot=e=>{let{size:o,...t}=e;return(0,Ms.jsx)("div",{...t,className:a(e.className,Ls,A("k-table",{size:o})),children:e.children})};ot.states=iu;ot.options=nu;ot.className=Ls;ot.defaultOptions=su;ot.moduleName=Pe;ot.folderName=We;var ys=require("react/jsx-runtime"),yl="k-table-header-wrap",du=[i.hover,i.focus,i.disabled],cu={},pu={},xt=e=>{let{children:o,hover:t,focus:r,disabled:l,...n}=e;return(0,ys.jsx)("div",{...n,className:a(e.className,yl,I(yl,{hover:t,focus:r,disabled:l})),children:o})};xt.states=du;xt.options=cu;xt.className=yl;xt.defaultOptions=pu;xt.moduleName=Pe;xt.folderName=We;var Ss=require("react/jsx-runtime"),Sl="k-table",mu=[],uu={size:[s.undefined,s.small,s.medium,s.large]},bu={},Xe=e=>{let{size:o,...t}=e;return(0,Ss.jsx)("table",{...t,className:a(e.className,Sl,A(Sl,{size:o})),children:e.children})};Xe.states=mu;Xe.options=uu;Xe.className=Sl;Xe.defaultOptions=bu;Xe.moduleName=Pe;Xe.folderName=We;var _r=require("react/jsx-runtime"),Al="k-table-header",fu=[i.hover,i.focus,i.disabled],Tu={},gu={},tt=e=>{let{children:o,hover:t,focus:r,disabled:l,...n}=e;return(0,_r.jsx)("div",{...n,className:a(e.className,Al,I(Al,{hover:t,focus:r,disabled:l})),children:(0,_r.jsx)(xt,{children:(0,_r.jsx)(Xe,{children:o})})})};tt.states=fu;tt.options=Tu;tt.className=Al;tt.defaultOptions=gu;tt.moduleName=Pe;tt.folderName=We;var Is=require("react/jsx-runtime"),As="k-table-scroller",hu=[],xu={},Nu={},oa=e=>{let{children:o,...t}=e;return(0,Is.jsx)("div",{...t,className:a(e.className,As),children:o})};oa.states=hu;oa.options=xu;oa.className=As;oa.defaultOptions=Nu;oa.moduleName=Pe;oa.folderName=We;var ku=require("react/jsx-runtime");var Es=require("react/jsx-runtime"),Rs="k-table-footer",vu=[],wu={},Cu={},Nt=e=>{let{children:o,...t}=e;return(0,Es.jsx)("div",{...t,className:a(e.className,Rs),children:o})};Nt.states=vu;Nt.options=wu;Nt.className=Rs;Nt.defaultOptions=Cu;Nt.moduleName=Pe;Nt.folderName=We;var Gs=require("react/jsx-runtime"),Il="k-table-list",Lu=[],Mu={size:[s.undefined,s.small,s.medium,s.large]},yu={},kt=e=>{let{size:o,virtualization:t,...r}=e;return(0,Gs.jsx)("ul",{...r,className:a(e.className,"k-table",Il,A(Il,{size:o}),{"k-virtual-table":t}),children:e.children})};kt.states=Lu;kt.options=Mu;kt.className=Il;kt.defaultOptions=yu;kt.moduleName=Pe;kt.folderName=We;var Os=require("react/jsx-runtime"),Su="k-table-thead",V=e=>(0,Os.jsx)("thead",{className:a(e.className,Su),children:e.children});var Hs=require("react/jsx-runtime"),Au="k-table-tbody",X=e=>(0,Hs.jsx)("tbody",{className:a(e.className,Au),children:e.children});var Iu=require("react/jsx-runtime");var Ps=require("react/jsx-runtime"),Rl="k-table-row",Ru=[i.hover,i.focus,i.selected,i.disabled,i.highlighted],C=e=>{let{hover:o,focus:t,selected:r,highlighted:l,disabled:n,alt:c,...m}=e;return(0,Ps.jsx)("tr",{...m,className:a(e.className,Rl,{"k-table-alt-row":c},I(Rl,{hover:o,focus:t,disabled:n,selected:r,highlighted:l})),children:e.children})};C.states=Ru;C.className=Rl;var _s=require("react/jsx-runtime"),El="k-table-row",Eu=[i.hover,i.focus,i.selected,i.disabled],Kr=e=>{let{hover:o,focus:t,selected:r,disabled:l,alt:n,...c}=e;return(0,_s.jsx)("li",{...c,className:a(e.className,El,{"k-table-alt-row":n},I(El,{hover:o,focus:t,disabled:l,selected:r})),children:e.children})};Kr.states=Eu;Kr.className=El;var Ds=require("react/jsx-runtime"),Ks="k-table-th",at=e=>{let{text:o,colspan:t,rowspan:r,...l}=e,n=o||e.children;return(0,Ds.jsx)("th",{colSpan:t,rowSpan:r,...l,className:a(e.className,Ks),children:n})};at.className=Ks;at.moduleName=Pe;at.folderName=We;var Gu=require("react/jsx-runtime");var Bs=require("react/jsx-runtime"),Gl="k-table-td",Ou=[i.focus,i.selected,i.highlighted],d=e=>{let{focus:o,selected:t,highlighted:r,text:l,colspan:n,rowspan:c,...m}=e,f=l||e.children;return(0,Bs.jsx)("td",{colSpan:n,rowSpan:c,...m,className:a(e.className,Gl,I(Gl,{focus:o,selected:t,highlighted:r})),children:f})};d.states=Ou;d.className=Gl;var Hu=require("react/jsx-runtime");var Pu=require("react/jsx-runtime");var _u=require("react/jsx-runtime");var Ku=require("react/jsx-runtime");var Du=require("react/jsx-runtime");var Us=require("react/jsx-runtime");var Fs=require("react/jsx-runtime");var Vs=require("react/jsx-runtime");var Ol=require("react/jsx-runtime");var Xs=require("react/jsx-runtime"),Ws="k-grid-header-table",J=e=>(0,Xs.jsx)(Xe,{...e,className:a(e.className,Ws),children:e.children});J.className=Ws;J.moduleName=ee;J.folderName=te;var tr=require("react/jsx-runtime"),Hl="k-font-icon",Uu=[],Fu={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[S.undefined,S.base,S.primary,S.secondary,S.tertiary,S.success,S.warning,S.error,S.info]},$u={},ar=e=>{let{size:o,themeColor:t,icon:r,rotate:l,flip:n,...c}=e;return r?(0,tr.jsx)("span",{...c,className:a(e.className,Hl,A(Hl,{size:o}),{[`k-i-${r}`]:r,[`k-color-${t}`]:t,[`k-rotate-${l}`]:l,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true"}):(0,tr.jsx)(tr.Fragment,{})};ar.states=Uu;ar.options=Fu;ar.className=Hl;ar.defaultOptions=$u;var Js=ar;var Kt=require("react/jsx-runtime"),Pl="k-svg-icon",Vu=[],Wu={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[S.undefined,S.base,S.primary,S.secondary,S.tertiary,S.success,S.warning,S.error,S.info],variant:[Vo.outline,Vo.solid,Vo.duotone]},_l={viewBox:"0 0 24 24",variant:Vo.outline},rr=e=>{var w,b;let{size:o,themeColor:t,rotate:r,flip:l,viewBox:n=_l.viewBox,variant:c=_l.variant,icon:m,...f}=e;if(!m)return(0,Kt.jsx)(Kt.Fragment,{});if(m==="none")return(0,Kt.jsx)("span",{...f,className:a(e.className,Pl,A("k-icon",{size:o}),"k-none"),"aria-hidden":"true"});let x=typeof m=="object"&&m.name&&m.name,g=typeof m=="object"?c&&((w=m.variants)==null?void 0:w[c])||((b=m.variants)==null?void 0:b.outline)||m.content:void 0;return(0,Kt.jsx)("span",{...f,className:a(e.className,Pl,A("k-icon",{size:o}),{[`k-svg-i-${x}`]:x,[`k-color-${t}`]:t,[`k-rotate-${r}`]:r,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true",children:(0,Kt.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:n,dangerouslySetInnerHTML:g!==void 0?{__html:g}:void 0,children:m?void 0:e.children})})};rr.states=Vu;rr.options=Wu;rr.className=Pl;rr.defaultOptions=_l;var Kl=rr;var Dl=fs(require("@progress/kendo-svg-icons"));var qs="icon",Ys="icons";var js=require("react");var Qs=require("react"),Zs=(0,Qs.createContext)({iconsType:"svg"});var rt=require("react/jsx-runtime"),Dr="k-icon",Xu=e=>e.replace(/([-_][a-z0-9])/gi,o=>o.toUpperCase().replace("-","").replace("_","")),Ju=[],qu={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[S.undefined,S.base,S.primary,S.secondary,S.tertiary,S.success,S.warning,S.error,S.info],variant:[Vo.outline,Vo.solid,Vo.duotone]},Br={viewBox:"0 0 24 24",type:"svg",variant:Vo.outline},T=e=>{let{iconsType:o}=(0,js.useContext)(Zs),{size:t,themeColor:r,icon:l,type:n=o||Br.type,rotate:c,flip:m,viewBox:f=Br.viewBox,variant:x=Br.variant,...g}=e;if(!l)return(0,rt.jsx)(rt.Fragment,{});if((o||n)==="svg"){if(l==="none")return(0,rt.jsx)(Kl,{...g,className:a(e.className,Dr),icon:l,size:t,variant:x});let b=Dl[l]?l:Xu(`${l}-icon`);return Dl[b]?(0,rt.jsx)(Kl,{...g,className:a(e.className,Dr),icon:Dl[b],size:t,themeColor:r,rotate:c,flip:m,viewBox:f,variant:x}):(0,rt.jsx)(rt.Fragment,{})}return(0,rt.jsx)(Js,{...g,className:a(e.className,Dr),icon:l,size:t,themeColor:r,rotate:c,flip:m})};T.states=Ju;T.options=qu;T.defaultOptions=Br;T.className=Dr;T.moduleName=qs;T.folderName=Ys;T.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var To=require("react/jsx-runtime"),Bl="k-header",Yu=[i.hover,i.focus,i.active],ed={sortIcon:"sort-asc-small"},E=e=>{let{menu:o,sortable:t,filterable:r,sticky:l,resizable:n,columnTitle:c,hover:m,focus:f,active:x,sortIcon:g=ed.sortIcon,sortOrder:w,accessibleLabel:b,...L}=e;return(0,To.jsxs)(at,{...L,className:a(e.className,Bl,{"k-filterable":o||r,"k-sorted":t,"k-grid-header-sticky":l,"k-touch-action-none":n},I(Bl,{hover:m,focus:f,active:x})),children:[c&&(0,To.jsxs)("span",{className:"k-cell-inner",children:[(0,To.jsxs)("span",{className:"k-link",children:[(0,To.jsx)("span",{className:"k-column-title",children:c}),t&&(0,To.jsx)("span",{className:"k-sort-icon",children:(0,To.jsx)(T,{icon:g})}),w&&(0,To.jsx)("span",{className:"k-sort-order",children:w})]}),o&&(0,To.jsx)("a",{className:a("k-grid-header-menu",{"k-active":x,"k-grid-filter-menu":o==="filter","k-grid-column-menu":o==="column"}),children:(0,To.jsx)(T,{icon:o==="filter"?"filter":"more-vertical"})})]}),!c&&b&&(0,To.jsx)("span",{className:"k-sr-only",children:b}),e.children,n&&(0,To.jsx)("span",{className:"k-column-resizer k-touch-action-none"})]})};E.states=Yu;E.className=Bl;E.defaultOptions=ed;E.moduleName=ee;E.folderName=te;var td=require("react/jsx-runtime"),od="k-grid-container",q=e=>(0,td.jsx)("div",{...e,className:a(e.className,od),children:e.children});q.className=od;q.moduleName=ee;q.folderName=te;var rd=require("react/jsx-runtime"),ad="k-grid-content",Y=e=>(0,rd.jsx)("div",{...e,className:a(e.className,ad),children:e.children});Y.className=ad;Y.moduleName=ee;Y.folderName=te;var id=require("react/jsx-runtime"),ld="k-grid-table",W=e=>(0,id.jsx)(Xe,{...e,className:a(e.className,ld),children:e.children});W.className=ld;W.moduleName=ee;W.folderName=te;var sd=require("react/jsx-runtime"),nd="k-grid-footer",zr=e=>(0,sd.jsx)("div",{...e,className:a(e.className,nd),children:e.children});zr.className=nd;zr.moduleName=ee;zr.folderName=te;var cd=require("react/jsx-runtime"),dd="k-grid-footer-table",Ur=e=>(0,cd.jsx)(Xe,{...e,className:a(e.className,dd),children:e.children});Ur.className=dd;Ur.moduleName=ee;Ur.folderName=te;var zl="button",pd=zl;var go=require("react/jsx-runtime"),lr="k-button",Qu=["icon-button"],Zu=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],ju={size:[s.undefined,s.xsmall,s.small,s.medium,s.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[k.undefined,k.solid,k.flat,k.outline,k.clear,k.link],themeColor:[S.undefined,S.base,S.primary,S.secondary,S.tertiary,S.success,S.warning,S.error,S.info,S.inverse]},Ul={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:o="button",size:t,rounded:r,fillMode:l,themeColor:n,showArrow:c=Ul.showArrow,arrowIconName:m=Ul.arrowIconName,variant:f,hover:x,focus:g,active:w,selected:b,disabled:L,togglable:M,ariaDisabled:O,icon:_,iconSize:K,text:U,iconClassName:ue,className:re,...Re}=e,Ee=_!=null,Ge=e.children!==void 0;return(0,go.jsxs)(o,{className:a(re,lr,Ts(lr,f),A(lr,{size:t,rounded:r,fillMode:l,themeColor:n}),I(lr,{hover:x,focus:g,active:w,disabled:L||O,selected:b}),{"k-icon-button":!U&&!Ge&&Ee}),"aria-pressed":M?b?"true":"false":void 0,...Re,"aria-disabled":O?"true":void 0,disabled:L||void 0,children:[typeof _=="string"&&_&&(0,go.jsx)(T,{className:a(ue,"k-button-icon"),icon:_,size:K}),_&&typeof _!="string"&&(0,go.jsx)(go.Fragment,{children:_}),U?(0,go.jsxs)(go.Fragment,{children:[U&&(0,go.jsx)("span",{className:"k-button-text",children:U}),e.children]}):e.children&&(0,go.jsx)("span",{className:"k-button-text",children:e.children}),c&&(0,go.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,go.jsx)(T,{icon:m})})]})};p.states=Zu;p.options=ju;p.variants=Qu;p.className=lr;p.defaultOptions=Ul;p.moduleName=zl;p.folderName=pd;p.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var md=require("react/jsx-runtime"),vt=e=>(0,md.jsx)(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var ud=require("react/jsx-runtime"),ir=e=>(0,ud.jsx)(p,{icon:"folder",children:"Button",...e});var bd=require("react/jsx-runtime"),Dt=e=>(0,bd.jsx)(p,{children:"Button",...e});var Fr=require("react/jsx-runtime"),eb=p.options,ob=p.states,tb={...p.defaultOptions,variant:"text"},ab=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],rb=[],ta=e=>{let{variant:o,...t}=e;switch(o){case"icon-only":return(0,Fr.jsx)(vt,{...t,icon:"star"});case"icon-and-text":return(0,Fr.jsx)(ir,{...t,icon:"star",children:"Button"});default:return(0,Fr.jsx)(Dt,{...t,children:"Button"})}};ta.options=eb;ta.states=ob;ta.variants=ab;ta.defaultOptions=tb;ta.modifiers=rb;ta.className=p.className;var nr="input",$r=nr;var fd=require("react/jsx-runtime"),Vr="k-input",lb=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],ib={size:[s.undefined,s.small,s.medium,s.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[k.undefined,k.solid,k.flat,k.outline]},nb={},Me=e=>{let{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:c,readonly:m,size:f,rounded:x,fillMode:g,...w}=e;return(0,fd.jsx)("span",{...w,className:a(e.className,Vr,A(Vr,{size:f,rounded:x,fillMode:g}),I(Vr,{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:c,readonly:m}))})};Me.states=lb;Me.options=ib;Me.className=Vr;Me.defaultOptions=nb;Me.moduleName=nr;Me.folderName=$r;var Td=require("react/jsx-runtime"),Wr="k-picker",sb=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],db={size:[s.undefined,s.small,s.medium,s.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[k.undefined,k.solid,k.flat,k.outline]},cb={},Wo=e=>{let{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:c,readonly:m,size:f,rounded:x,fillMode:g,...w}=e;return(0,Td.jsx)("span",{...w,className:a(e.className,Wr,A(Wr,{size:f,rounded:x,fillMode:g}),I(Wr,{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:c,readonly:m})),children:e.children})};Wo.states=sb;Wo.options=db;Wo.className=Wr;Wo.defaultOptions=cb;Wo.moduleName=nr;Wo.folderName=$r;var aa=require("react/jsx-runtime"),gd="k-clear-value",pb=[i.disabled,i.loading,i.readonly],mb={},ho=e=>{let{disabled:o,loading:t,readonly:r,value:l}=e;return o||r||t||!l?(0,aa.jsx)(aa.Fragment,{}):(0,aa.jsx)("span",{className:a(e.className,gd),children:(0,aa.jsx)(T,{icon:"x"})})};ho.states=pb;ho.options=mb;ho.className=gd;var hd=require("react/jsx-runtime"),Fl="k-input-inner",ub=[],bb={},Xr={type:"text",autocomplete:"off",value:"",placeholder:""},xo=e=>{let{value:o=Xr.value,type:t=Xr.type,placeholder:r=Xr.placeholder,autocomplete:l=Xr.autocomplete,disabled:n,readOnly:c,...m}=e;return(0,hd.jsx)("input",{...m,type:t,className:a(e.className,Fl,A(Fl,e)),placeholder:r,autoComplete:l,defaultValue:o,disabled:n||void 0,readOnly:c||void 0})};xo.states=ub;xo.options=bb;xo.className=Fl;var sr=require("react/jsx-runtime"),$l="k-input-inner",fb=[],Tb={},Bt=e=>{let{value:o,placeholder:t,showValue:r,valueIcon:l,valueIconName:n,...c}=e;return(0,sr.jsxs)("span",{...c,className:a(e.className,$l,A($l,e)),children:[l,!l&&n&&(0,sr.jsx)(T,{className:"k-input-value-icon",icon:n}),r&&!o&&t,r&&o&&(0,sr.jsx)("span",{className:"k-input-value-text",children:o})]})};Bt.states=fb;Bt.options=Tb;Bt.className=$l;var Nd=require("react/jsx-runtime"),Vl="k-input-inner",gb=[],hb={},xd={value:"",placeholder:""},Wl=e=>{let{value:o=xd.value,placeholder:t=xd.placeholder,rows:r,disabled:l,...n}=e;return(0,Nd.jsx)("textarea",{...n,className:a(e.className,Vl,A(Vl,e)),placeholder:t,rows:r,defaultValue:o,disabled:l||void 0})};Wl.states=gb;Wl.options=hb;Wl.className=Vl;var dr=require("react/jsx-runtime"),kd="k-input-loading-icon",xb=[i.disabled,i.loading],so=e=>{let{disabled:o,loading:t}=e;return o||!t?(0,dr.jsx)(dr.Fragment,{}):(0,dr.jsx)("span",{className:a(e.className,kd,"k-icon k-i-loading")})};so.states=xb;so.className=kd;var cr=require("react/jsx-runtime"),vd="k-input-validation-icon",Nb=[i.valid,i.invalid,i.disabled,i.loading],kb={},eo=e=>{let{valid:o,invalid:t,disabled:r,loading:l}=e,n=t?"warning-circle":"check-circle";return r||l||!!!(o||t)?(0,cr.jsx)(cr.Fragment,{}):(0,cr.jsx)(T,{className:a(vd),icon:n})};eo.states=Nb;eo.options=kb;eo.className=vd;var pr=require("react/jsx-runtime"),vb="k-input-prefix",wb={direction:"horizontal"},yo=e=>{let{direction:o=wb.direction,...t}=e;return e.children?(0,pr.jsx)("span",{...t,className:a(vb,e.className,{[`k-input-prefix-${o}`]:o}),children:e.children}):(0,pr.jsx)(pr.Fragment,{})};var mr=require("react/jsx-runtime"),Cb="k-input-suffix",Lb={direction:"horizontal"},So=e=>{let{direction:o=Lb.direction,...t}=e;return e.children?(0,mr.jsx)("span",{...t,className:a(Cb,e.className,{[`k-input-suffix-${o}`]:o}),children:e.children}):(0,mr.jsx)(mr.Fragment,{})};var Mb=require("react/jsx-runtime");var wd=require("react/jsx-runtime"),yb="k-input-suffix-text",Xl=e=>{let{children:o,...t}=e;return(0,wd.jsx)("span",{...t,className:a(yb,e.className),children:o})};var Ld=require("react/jsx-runtime"),Cd="k-input-separator",Sb={direction:"vertical"},Ao=e=>{let{direction:o=Sb.direction,...t}=e;return(0,Ld.jsx)("span",{...t,className:a(Cd,e.className,{[`${Cd}-${o}`]:o})})};var Oe=require("react/jsx-runtime"),Ab=Me.states,Ib=Me.defaultOptions,Rb=Me.options,Eb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Gb=[],ra=e=>{let{modifiers:o,valid:t,invalid:r,loading:l,disabled:n,readonly:c,...m}=e,f=o==null?void 0:o.prefix,x=o==null?void 0:o.suffix,g=o==null?void 0:o["clear-button"],w=o==null?void 0:o["validation-icon"],b=o==null?void 0:o.separators;return(0,Oe.jsxs)(Me,{...m,valid:t,invalid:r,loading:l,disabled:n,readonly:c,style:{width:300},children:[f&&(0,Oe.jsxs)(Oe.Fragment,{children:[(0,Oe.jsx)(yo,{children:(0,Oe.jsx)(T,{icon:"lock"})}),b&&(0,Oe.jsx)(Ao,{})]}),(0,Oe.jsx)(xo,{placeholder:"Placeholder",value:"Value"}),w&&(0,Oe.jsx)(eo,{valid:t,invalid:r,loading:l,disabled:n}),(0,Oe.jsx)(so,{loading:l,disabled:n}),g&&(0,Oe.jsx)(ho,{loading:l,disabled:n,readonly:c,value:"Value"}),x&&(0,Oe.jsxs)(Oe.Fragment,{children:[b&&(0,Oe.jsx)(Ao,{}),(0,Oe.jsx)(So,{children:(0,Oe.jsx)(Dt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};ra.options=Rb;ra.states=Ab;ra.variants=Gb;ra.defaultOptions=Ib;ra.modifiers=Eb;ra.className=Me.className;var Jl="popup",Md=Jl;var Yl=require("react/jsx-runtime"),yd="k-animation-container",Ob=[],Hb={},ql={positionMode:"absolute",shown:!0},Xo=e=>{let{positionMode:o=ql.positionMode,shown:t=ql.shown,animationStyle:r,offset:l,...n}=e;return(0,Yl.jsx)("div",{...n,style:{...l,...e.style},className:a(e.className,yd,{"k-animation-container-shown":t,"k-animation-container-fixed":o==="fixed"}),children:(0,Yl.jsx)("div",{className:"k-child-animation-container",style:r,children:e.children})})};Xo.states=Ob;Xo.options=Hb;Xo.className=yd;Xo.defaultOptions=ql;Xo.moduleName=Jl;Xo.folderName=Md;var Ql="popup",Sd=Ql;var Zl=require("react/jsx-runtime"),Ad="k-popup",Pb=[],_b={},Id={positionMode:"absolute"},ie=e=>{let{offset:o,positionMode:t=Id.positionMode,animationStyle:r,containerClassName:l,containerRole:n,containerAriaLabel:c,...m}=e;return(0,Zl.jsx)(Xo,{positionMode:t,offset:o,animationStyle:r,className:l,role:n,"aria-label":c,children:(0,Zl.jsx)("div",{...m,className:a(e.className,Ad),children:e.children})})};ie.states=Pb;ie.options=_b;ie.className=Ad;ie.defaultOptions=Id;ie.moduleName=Ql;ie.folderName=Sd;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 jl="action-buttons",Rd=jl;var Ed=require("react/jsx-runtime"),Jr="k-actions",Kb=[],Db={},ei={alignment:"start",orientation:"horizontal"},Io=e=>{let{alignment:o=ei.alignment,orientation:t=ei.orientation,...r}=e;return(0,Ed.jsx)("div",{...r,className:a(Jr,{[`${Jr}-${o}`]:o,[`${Jr}-${t}`]:t},e.className),children:e.children})};Io.states=Kb;Io.options=Db;Io.className=Jr;Io.defaultOptions=ei;Io.moduleName=jl;Io.folderName=Rd;var Od=require("react/jsx-runtime"),Bb="k-actionsheet-footer",Gd={alignment:"stretched",orientation:"horizontal"},wt=e=>{let{alignment:o=Gd.alignment,orientation:t=Gd.orientation,template:r,as:l=r?"div":Io,...n}=e;return(0,Od.jsx)(l,{...n,...!r&&{alignment:o,orientation:t},className:a(e.className,Bb),children:e.children})};var oi="searchbox",Hd=oi;var Ct=require("react/jsx-runtime"),Pd="k-searchbox",zb=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Ub={size:[s.undefined,s.small,s.medium,s.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[k.undefined,k.solid,k.flat,k.outline]},ti={showIcon:!0,icon:"search"},No=e=>{let{value:o,placeholder:t,size:r,rounded:l,fillMode:n,hover:c,focus:m,valid:f,invalid:x,required:g,loading:w,disabled:b,showIcon:L=ti.showIcon,icon:M=ti.icon,"aria-label":O,..._}=e;return(0,Ct.jsxs)(Me,{..._,size:r,rounded:l,fillMode:n,hover:c,focus:m,valid:f,invalid:x,required:g,loading:w,disabled:b,className:a(e.className,Pd),children:[L&&(0,Ct.jsx)(T,{className:"k-input-icon",icon:M}),(0,Ct.jsx)(xo,{placeholder:t,value:o,"aria-label":O}),(0,Ct.jsx)(so,{...e}),(0,Ct.jsx)(eo,{...e}),(0,Ct.jsx)(ho,{...e})]})};No.states=zb;No.options=Ub;No.className=Pd;No.defaultOptions=ti;No.moduleName=oi;No.folderName=Hd;var Fb=require("react/jsx-runtime");var ai="textbox",_d=ai;var Je=require("react/jsx-runtime"),Kd="k-textbox",$b=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Vb={size:[s.undefined,s.small,s.medium,s.large],rounded:[N.undefined,N.none,N.small,N.medium,N.large,N.full],fillMode:[k.undefined,k.solid,k.flat,k.outline]},qr={showClearButton:!0,showValidationIcon:!0,separators:!0},be=e=>{let{size:o,rounded:t,fillMode:r,separators:l=qr.separators,showClearButton:n=qr.showClearButton,showValidationIcon:c=qr.showValidationIcon,prefix:m,suffix:f,type:x,value:g,placeholder:w,hover:b,focus:L,valid:M,invalid:O,required:_,loading:K,disabled:U,readonly:ue,id:re,"aria-label":Re,"aria-describedby":Ee,...Ge}=e;return(0,Je.jsxs)(Me,{...Ge,size:o,rounded:t,fillMode:r,hover:b,focus:L,valid:M,invalid:O,required:_,loading:K,disabled:U,readonly:ue,className:a(e.className,Kd),children:[m&&(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)(yo,{children:m}),l&&(0,Je.jsx)(Ao,{})]}),(0,Je.jsx)(xo,{id:re,placeholder:w,value:g,type:x,disabled:U,"aria-label":Re,"aria-describedby":Ee,"aria-invalid":O?"true":void 0}),c&&(0,Je.jsx)(eo,{valid:M,invalid:O,loading:K,disabled:U}),(0,Je.jsx)(so,{loading:K,disabled:U}),n&&(0,Je.jsx)(ho,{loading:K,disabled:U,readonly:ue,value:g}),f&&(0,Je.jsxs)(Je.Fragment,{children:[l&&(0,Je.jsx)(Ao,{}),(0,Je.jsx)(So,{children:f})]})]})};be.states=$b;be.options=Vb;be.className=Kd;be.defaultOptions=qr;be.moduleName=ai;be.folderName=_d;be.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 ur=be;var Bd=require("react/jsx-runtime"),Dd=e=>(0,Bd.jsx)(ur,{...e});var zd=require("react/jsx-runtime");var Ud=require("react/jsx-runtime");var Wb=require("react/jsx-runtime");var Yr=require("react/jsx-runtime"),Xb=be.states,Jb=be.defaultOptions,qb=be.options,Yb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Qb=[],la=e=>{let{modifiers:o,...t}=e,r={};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":r.prefix=o!=null&&o[l]?(0,Yr.jsx)(T,{icon:"lock"}):void 0;break;case"suffix":r.suffix=o!=null&&o[l]?(0,Yr.jsx)(Dt,{size:t.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":r.showClearButton=o==null?void 0:o[l];break;default:break}}),(0,Yr.jsx)(Dd,{value:"Value",style:{width:300},...t,...r})};la.options=qb;la.states=Xb;la.variants=Qb;la.defaultOptions=Jb;la.modifiers=Yb;la.className=be.className;var ko=require("react/jsx-runtime"),Fd="k-actionsheet-titlebar",Zb={},oo=e=>{let{title:o,subtitle:t,actionsStart:r,actionsEnd:l,filter:n,input:c,inputValue:m,inputPlaceholder:f,adaptive:x,titleId:g,children:w,...b}=e;return(0,ko.jsxs)("div",{...b,className:a(e.className,Fd),children:[(0,ko.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[r&&(0,ko.jsx)("div",{className:"k-actionsheet-actions",children:r}),!w&&(0,ko.jsxs)("div",{className:"k-actionsheet-title",id:g,children:[o&&(0,ko.jsx)("div",{className:"k-text-center",children:o}),t&&(0,ko.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:t})]}),w&&(0,ko.jsx)("div",{className:"k-actionsheet-title",id:g,children:w}),l&&(0,ko.jsx)("div",{className:"k-actionsheet-actions",children:l})]}),(c||n)&&(0,ko.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?(0,ko.jsx)(be,{value:m,placeholder:f,size:x?"large":"medium","aria-label":o||f||"Input"}):(0,ko.jsx)(No,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};oo.className=Fd;oo.defaultOptions=Zb;var ia=require("react/jsx-runtime"),ri="k-actionsheet-view",jb=[],ef={},of={},na=e=>{let{adaptive:o,animated:t,children:r,header:l,footer:n,titleId:c,...m}=e,f=(l==null?void 0:l.type)===oo&&(0,ia.jsx)(oo,{adaptive:o,titleId:c,...l==null?void 0:l.props}),x=(n==null?void 0:n.type)===wt&&(0,ia.jsx)(wt,{...n==null?void 0:n.props});return(0,ia.jsxs)("div",{...m,className:a(e.className,ri,{[`${ri}-animated`]:t}),children:[f,(0,ia.jsx)("div",{className:"k-actionsheet-content",children:r}),x]})};na.states=jb;na.options=ef;na.className=ri;na.defaultOptions=of;var br="action-sheet",Qr=br;var li="overlay",$d=li;var Wd=require("react/jsx-runtime"),Vd="k-overlay",tf=[],af={},rf={},Lt=e=>{let{...o}=e;return(0,Wd.jsx)("div",{...o,className:a(e.className,Vd),children:e.children})};Lt.states=tf;Lt.options=af;Lt.className=Vd;Lt.defaultOptions=rf;Lt.moduleName=li;Lt.folderName=$d;var zt=require("react/jsx-runtime"),Xd="k-actionsheet",lf=[],nf={},fr={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},we=e=>{let{side:o=fr.side,fullscreen:t=fr.fullscreen,adaptive:r=fr.adaptive,overlay:l=fr.overlay,template:n,children:c,header:m,footer:f,id:x,...g}=e,w=x&&!n&&m?`${x}-title`:void 0;return(0,zt.jsxs)("div",{className:"k-actionsheet-container",children:[l&&(0,zt.jsx)(Lt,{}),(0,zt.jsx)(Xo,{animationStyle:{[`${t===!0?"top":o}`]:0,[`${t===!0?"width":null}`]:"100%",[`${t===!0?"height":null}`]:"100%",[`${o==="top"||o==="bottom"?"width":null}`]:"100%",[`${o==="left"||o==="right"?"height":null}`]:"100%"},children:(0,zt.jsx)("div",{...g,id:x,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":w,className:a(e.className,Xd,{[`k-actionsheet-${o}`]:t===!1,"k-actionsheet-fullscreen":t===!0,"k-adaptive-actionsheet":r}),children:n||(0,zt.jsx)(na,{header:m,footer:f,adaptive:r,titleId:w,...e,children:c})})})]})};we.states=lf;we.options=nf;we.className=Xd;we.defaultOptions=fr;we.moduleName=br;we.folderName=Qr;we.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};var qd=require("react/jsx-runtime"),Jd="k-actionsheet-container",sf=[],df={},cf={},sa=e=>{let{children:o,...t}=e;return(0,qd.jsx)("div",{...t,className:Jd,children:o})};sa.states=sf;sa.options=df;sa.className=Jd;sa.defaultOptions=cf;sa.moduleName=br;sa.folderName=Qr;var Yd=require("react/jsx-runtime"),ii=e=>{let{...o}=e;return(0,Yd.jsx)("div",{...o,className:a(e.className,"k-list-ul"),children:e.children})};var Ro=require("react/jsx-runtime"),ni="k-actionsheet-item",pf=[i.hover,i.focus,i.selected,i.disabled],Mt=e=>{let{iconName:o,text:t,description:r,hover:l,focus:n,selected:c,disabled:m,...f}=e;return(0,Ro.jsxs)("span",{...f,className:a(e.className,ni,I(ni,{hover:l,focus:n,selected:c,disabled:m})),children:[!e.children&&(0,Ro.jsx)(Ro.Fragment,{children:(0,Ro.jsxs)("span",{className:"k-actionsheet-action",children:[o&&(0,Ro.jsx)("span",{className:"k-icon-wrap",children:(0,Ro.jsx)(T,{className:"k-actionsheet-item-icon",icon:o})}),(0,Ro.jsxs)("span",{className:"k-actionsheet-item-text",children:[t&&(0,Ro.jsx)("span",{className:"k-actionsheet-item-title",children:t}),r&&(0,Ro.jsx)("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};Mt.states=pf;Mt.className=ni;var Qd=require("react/jsx-runtime");var mf=require("react/jsx-runtime");var uf=require("react/jsx-runtime");var bf=require("react/jsx-runtime");var xe=require("react/jsx-runtime"),ff=we.options,Tf=we.states,jd={...we.defaultOptions,variant:"normal"},gf=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],hf=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],da=e=>{let{variant:o,modifiers:t,...r}={...jd,...e},l={},n=(0,xe.jsxs)(ii,{children:[(0,xe.jsx)(Mt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,xe.jsx)(Mt,{text:"Add to Favorites",iconName:"heart"}),(0,xe.jsx)(Mt,{text:"Upload New",iconName:"upload",disabled:!0}),(0,xe.jsx)("hr",{className:"k-hr"}),(0,xe.jsx)(Mt,{text:"Cancel",iconName:"cancel"})]}),c="Choose from the items below",m="Select Item";return o==="fullScreen"&&(l.fullScreen=!0),Object.keys(t||{}).forEach(f=>{switch(f){case"actions":l.actionsStart=!!(t!=null&&t[f]),l.actionsEnd=!!(t!=null&&t[f]);break;case"subtitle":l.subtitle=t!=null&&t[f]?c:void 0;break;case"footer":l.footer=!!(t!=null&&t[f]);break;default:break}}),o==="adaptive"?(0,xe.jsx)(we,{...r,adaptive:!0,fullscreen:l.fullScreen,header:(0,xe.jsx)(oo,{actionsStart:l.actionsStart?(0,xe.jsx)(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?(0,xe.jsx)(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:l.subtitle}),footer:l.footer?(0,xe.jsxs)(wt,{alignment:"stretched",children:[(0,xe.jsx)(p,{text:"Cancel",size:"large",themeColor:"base"}),(0,xe.jsx)(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:n}):(0,xe.jsx)(we,{...r,fullscreen:l.fullScreen,header:(0,xe.jsx)(oo,{actionsStart:l.actionsStart?(0,xe.jsx)(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?(0,xe.jsx)(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:l.subtitle}),footer:l.footer?(0,xe.jsxs)(wt,{alignment:"stretched",children:[(0,xe.jsx)(p,{text:"Apply",themeColor:"primary"}),(0,xe.jsx)(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:n})};da.options=ff;da.states=Tf;da.variants=gf;da.defaultOptions=jd;da.modifiers=hf;da.className=we.className;var jr=fs(require("react"));var si=require("react/jsx-runtime"),xf="k-list-group-sticky-header",di=e=>(0,si