UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

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