UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

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