UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 229 kB
var Qu=Object.create;var Ya=Object.defineProperty;var Zu=Object.getOwnPropertyDescriptor;var ju=Object.getOwnPropertyNames;var eb=Object.getPrototypeOf,ob=Object.prototype.hasOwnProperty;var tb=(e,o)=>{for(var t in o)Ya(e,t,{get:o[t],enumerable:!0})},$s=(e,o,t,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let l of ju(o))!ob.call(e,l)&&l!==t&&Ya(e,l,{get:()=>o[l],enumerable:!(r=Zu(o,l))||r.enumerable});return e};var Vs=(e,o,t)=>(t=e!=null?Qu(eb(e)):{},$s(o||!e||!e.__esModule?Ya(t,"default",{value:e,enumerable:!0}):t,e)),rb=e=>$s(Ya({},"__esModule",{value:!0}),e);var hw={};tb(hw,{PropertyGridWithPreview:()=>gw});module.exports=rb(hw);var a=(...e)=>e.filter(o=>o!==!0&&!!o).map(o=>Array.isArray(o)?a(...o):typeof o=="object"?Object.keys(o).map((t,r)=>o[r]||o[t]&&t||null).filter(t=>t!==null).join(" "):o).filter(o=>!!o).join(" ");var A=(e,o)=>a({[`${e}-xs`]:o.size==="xsmall",[`${e}-sm`]:o.size==="small",[`${e}-md`]:o.size==="medium",[`${e}-lg`]:o.size==="large",[`${e}-xl`]:o.size==="xlarge",[`${e}-xxl`]:o.size==="xxlarge",[`${e}-xxxl`]:o.size==="xxxlarge"},{[`${e}-${o.fillMode}`]:o.fillMode},{[`${e}-${o.themeColor}`]:o.themeColor},{"k-rounded-sm":o.rounded==="small","k-rounded-md":o.rounded==="medium","k-rounded-lg":o.rounded==="large","k-rounded-full":o.rounded==="full","k-rounded-none":o.rounded==="none"}),I=(e,o)=>{let{valid:t,invalid:r,hover:l,focus:s,checked:c,active:u,selected:f,disabled:h,indeterminate:N,loading:L,empty:T,readonly:y,highlighted:M,..._}=o;return a({"k-valid":t,"k-invalid":r,"k-hover":l,"k-focus":s,"k-checked":c,"k-active":u,"k-selected":f,"k-disabled":h,"k-indeterminate":N&&!c,"k-loading":L,"k-empty":T,"k-readonly":y,"k-highlighted":M},Object.keys(_).reduce((B,U)=>(U.startsWith("k-")?B[U]=_[U]:B[`k-${U}`]=_[U],B),{}))};function Ws(e,o){if(!o)return{};let t=Array.isArray(o)?o:[o];return Object.fromEntries(t.map(r=>[`k-${r}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},k={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},w={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Qo={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},R={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 Wl={};function K(e){return Wl[e]=(Wl[e]||0)+1,`k-${e}-${Wl[e]}`}var re="grid",le=re;var Za=require("react/jsx-runtime"),Qa="k-grid",ab=[],lb={size:[d.undefined,d.small,d.medium,d.large]},ib=[],Xs={pagerPosition:"bottom"},q=e=>{let{size:o,pagerPosition:t=Xs.pagerPosition,toolbar:r,pager:l,groupingHeader:s,gridSelectionAggregates:c,_renderAriaRoot:u,resizable:f,ariaColCount:h,ariaRowCount:N,ariaRootId:L,ariaRole:T="grid",...y}=e;return(0,Za.jsxs)("div",{...y,className:a(e.className,Qa,{[`${Qa}-resizable`]:f},A(Qa,{size:o})),children:[r,t==="top"&&l,s,e.children&&u?(0,Za.jsx)("div",{className:"k-grid-aria-root",role:T,id:L,"aria-colcount":h,"aria-rowcount":N,children:e.children}):e.children,c,t==="bottom"&&l]})};q.states=ab;q.options=lb;q.variants=ib;q.className=Qa;q.defaultOptions=Xs;q.moduleName=re;q.folderName=le;q.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 qs=require("react/jsx-runtime"),Js="k-grid-header",F=e=>{let{draggable:o,...t}=e;return(0,qs.jsx)("div",{...t,className:a(e.className,Js,{"k-grid-draggable-header":o}),children:e.children})};F.className=Js;F.moduleName=re;F.folderName=le;var ua=require("react/jsx-runtime"),Ys="k-grouping-header",qe=e=>{let{dropHint:o,dropClue:t,...r}=e;return(0,ua.jsxs)("div",{...r,className:a(e.className,Ys),children:[t&&(0,ua.jsx)("div",{className:"k-grouping-dropclue"}),e.children,(0,ua.jsx)("div",{className:"k-grouping-drop-container",children:o})]})};qe.className=Ys;qe.moduleName=re;qe.folderName=le;var Zs=require("react/jsx-runtime"),Qs="k-grid-pinned-container",ba=e=>{let{position:o,...t}=e;return(0,Zs.jsx)("div",{...t,className:a(e.className,Qs,{"k-pos-bottom":o==="bottom"}),children:e.children})};ba.className=Qs;ba.moduleName=re;ba.folderName=le;var ed=require("react/jsx-runtime"),js="k-grid-sticky-container",fa=e=>{let{position:o,...t}=e;return(0,ed.jsx)("div",{...t,className:a(e.className,js,{"k-pos-bottom":o==="bottom"}),children:e.children})};fa.className=js;fa.moduleName=re;fa.folderName=le;var Ke="table",Ye=Ke;var td=require("react/jsx-runtime"),od="k-data-table",nb=[],sb={size:[d.undefined,d.small,d.medium,d.large]},db={},nt=e=>{let{size:o,...t}=e;return(0,td.jsx)("div",{...t,className:a(e.className,od,A("k-table",{size:o})),children:e.children})};nt.states=nb;nt.options=sb;nt.className=od;nt.defaultOptions=db;nt.moduleName=Ke;nt.folderName=Ye;var rd=require("react/jsx-runtime"),Xl="k-table-header-wrap",cb=[i.hover,i.focus,i.disabled],pb={},mb={},yt=e=>{let{children:o,hover:t,focus:r,disabled:l,...s}=e;return(0,rd.jsx)("div",{...s,className:a(e.className,Xl,I(Xl,{hover:t,focus:r,disabled:l})),children:o})};yt.states=cb;yt.options=pb;yt.className=Xl;yt.defaultOptions=mb;yt.moduleName=Ke;yt.folderName=Ye;var ad=require("react/jsx-runtime"),Jl="k-table",ub=[],bb={size:[d.undefined,d.small,d.medium,d.large]},fb={},Qe=e=>{let{size:o,...t}=e;return(0,ad.jsx)("table",{...t,className:a(e.className,Jl,A(Jl,{size:o})),children:e.children})};Qe.states=ub;Qe.options=bb;Qe.className=Jl;Qe.defaultOptions=fb;Qe.moduleName=Ke;Qe.folderName=Ye;var ja=require("react/jsx-runtime"),ql="k-table-header",Tb=[i.hover,i.focus,i.disabled],gb={},hb={},st=e=>{let{children:o,hover:t,focus:r,disabled:l,...s}=e;return(0,ja.jsx)("div",{...s,className:a(e.className,ql,I(ql,{hover:t,focus:r,disabled:l})),children:(0,ja.jsx)(yt,{children:(0,ja.jsx)(Qe,{children:o})})})};st.states=Tb;st.options=gb;st.className=ql;st.defaultOptions=hb;st.moduleName=Ke;st.folderName=Ye;var id=require("react/jsx-runtime"),ld="k-table-scroller",xb=[],Nb={},kb={},dr=e=>{let{children:o,...t}=e;return(0,id.jsx)("div",{...t,className:a(e.className,ld),children:o})};dr.states=xb;dr.options=Nb;dr.className=ld;dr.defaultOptions=kb;dr.moduleName=Ke;dr.folderName=Ye;var wb=require("react/jsx-runtime");var sd=require("react/jsx-runtime"),nd="k-table-footer",vb=[],Cb={},Lb={},Mt=e=>{let{children:o,...t}=e;return(0,sd.jsx)("div",{...t,className:a(e.className,nd),children:o})};Mt.states=vb;Mt.options=Cb;Mt.className=nd;Mt.defaultOptions=Lb;Mt.moduleName=Ke;Mt.folderName=Ye;var dd=require("react/jsx-runtime"),Yl="k-table-list",yb=[],Mb={size:[d.undefined,d.small,d.medium,d.large]},Sb={},St=e=>{let{size:o,virtualization:t,...r}=e;return(0,dd.jsx)("ul",{...r,className:a(e.className,"k-table",Yl,A(Yl,{size:o}),{"k-virtual-table":t}),children:e.children})};St.states=yb;St.options=Mb;St.className=Yl;St.defaultOptions=Sb;St.moduleName=Ke;St.folderName=Ye;var cd=require("react/jsx-runtime"),Rb="k-table-thead",z=e=>(0,cd.jsx)("thead",{className:a(e.className,Rb),children:e.children});var pd=require("react/jsx-runtime"),Ib="k-table-tbody",X=e=>(0,pd.jsx)("tbody",{className:a(e.className,Ib),children:e.children});var Ab=require("react/jsx-runtime");var md=require("react/jsx-runtime"),Ql="k-table-row",Eb=[i.hover,i.focus,i.selected,i.disabled,i.highlighted],g=e=>{let{hover:o,focus:t,selected:r,highlighted:l,disabled:s,alt:c,...u}=e;return(0,md.jsx)("tr",{...u,className:a(e.className,Ql,{"k-table-alt-row":c},I(Ql,{hover:o,focus:t,disabled:s,selected:r,highlighted:l})),children:e.children})};g.states=Eb;g.className=Ql;var ud=require("react/jsx-runtime"),Zl="k-table-row",Gb=[i.hover,i.focus,i.selected,i.disabled],el=e=>{let{hover:o,focus:t,selected:r,disabled:l,alt:s,...c}=e;return(0,ud.jsx)("li",{...c,className:a(e.className,Zl,{"k-table-alt-row":s},I(Zl,{hover:o,focus:t,disabled:l,selected:r})),children:e.children})};el.states=Gb;el.className=Zl;var fd=require("react/jsx-runtime"),bd="k-table-th",dt=e=>{let{text:o,colspan:t,rowspan:r,...l}=e,s=o||e.children;return(0,fd.jsx)("th",{colSpan:t,rowSpan:r,...l,className:a(e.className,bd),children:s})};dt.className=bd;dt.moduleName=Ke;dt.folderName=Ye;var Ob=require("react/jsx-runtime");var Td=require("react/jsx-runtime"),jl="k-table-td",Hb=[i.focus,i.selected,i.highlighted],n=e=>{let{focus:o,selected:t,highlighted:r,text:l,colspan:s,rowspan:c,...u}=e,f=l||e.children;return(0,Td.jsx)("td",{colSpan:s,rowSpan:c,...u,className:a(e.className,jl,I(jl,{focus:o,selected:t,highlighted:r})),children:f})};n.states=Hb;n.className=jl;var Pb=require("react/jsx-runtime");var _b=require("react/jsx-runtime");var Db=require("react/jsx-runtime");var Kb=require("react/jsx-runtime");var Bb=require("react/jsx-runtime");var hd=require("react/jsx-runtime");var xd=require("react/jsx-runtime");var kd=require("react/jsx-runtime");var ei=require("react/jsx-runtime");var vd=require("react/jsx-runtime"),wd="k-grid-header-table",$=e=>(0,vd.jsx)(Qe,{...e,className:a(e.className,wd),children:e.children});$.className=wd;$.moduleName=re;$.folderName=le;var Ta=require("react/jsx-runtime"),oi="k-font-icon",Fb=[],$b={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[R.undefined,R.base,R.primary,R.secondary,R.tertiary,R.success,R.warning,R.error,R.info]},Vb={},ga=e=>{let{size:o,themeColor:t,icon:r,rotate:l,flip:s,...c}=e;return r?(0,Ta.jsx)("span",{...c,className:a(e.className,oi,A(oi,{size:o}),{[`k-i-${r}`]:r,[`k-color-${t}`]:t,[`k-rotate-${l}`]:l,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):(0,Ta.jsx)(Ta.Fragment,{})};ga.states=Fb;ga.options=$b;ga.className=oi;ga.defaultOptions=Vb;var Cd=ga;var Vt=require("react/jsx-runtime"),ti="k-svg-icon",Wb=[],Xb={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[R.undefined,R.base,R.primary,R.secondary,R.tertiary,R.success,R.warning,R.error,R.info],variant:[Qo.outline,Qo.solid,Qo.duotone]},ri={viewBox:"0 0 24 24",variant:Qo.outline},ha=e=>{var L,T;let{size:o,themeColor:t,rotate:r,flip:l,viewBox:s=ri.viewBox,variant:c=ri.variant,icon:u,...f}=e;if(!u)return(0,Vt.jsx)(Vt.Fragment,{});if(u==="none")return(0,Vt.jsx)("span",{...f,className:a(e.className,ti,A("k-icon",{size:o}),"k-none"),"aria-hidden":"true"});let h=typeof u=="object"&&u.name&&u.name,N=typeof u=="object"?c&&((L=u.variants)==null?void 0:L[c])||((T=u.variants)==null?void 0:T.outline)||u.content:void 0;return(0,Vt.jsx)("span",{...f,className:a(e.className,ti,A("k-icon",{size:o}),{[`k-svg-i-${h}`]:h,[`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,Vt.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof u=="object"?u.viewBox:s,dangerouslySetInnerHTML:N!==void 0?{__html:N}:void 0,children:u?void 0:e.children})})};ha.states=Wb;ha.options=Xb;ha.className=ti;ha.defaultOptions=ri;var ai=ha;var li=Vs(require("@progress/kendo-svg-icons"));var Ld="icon",yd="icons";var Rd=require("react");var Md=require("react"),Sd=(0,Md.createContext)({iconsType:"svg"});var ct=require("react/jsx-runtime"),ol="k-icon",Jb=e=>e.replace(/([-_][a-z0-9])/gi,o=>o.toUpperCase().replace("-","").replace("_","")),qb=[],Yb={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[R.undefined,R.base,R.primary,R.secondary,R.tertiary,R.success,R.warning,R.error,R.info],variant:[Qo.outline,Qo.solid,Qo.duotone]},tl={viewBox:"0 0 24 24",type:"svg",variant:Qo.outline},p=e=>{let{iconsType:o}=(0,Rd.useContext)(Sd),{size:t,themeColor:r,icon:l,type:s=o||tl.type,rotate:c,flip:u,viewBox:f=tl.viewBox,variant:h=tl.variant,...N}=e;if(!l)return(0,ct.jsx)(ct.Fragment,{});if((o||s)==="svg"){if(l==="none")return(0,ct.jsx)(ai,{...N,className:a(e.className,ol),icon:l,size:t,variant:h});let T=li[l]?l:Jb(`${l}-icon`);return li[T]?(0,ct.jsx)(ai,{...N,className:a(e.className,ol),icon:li[T],size:t,themeColor:r,rotate:c,flip:u,viewBox:f,variant:h}):(0,ct.jsx)(ct.Fragment,{})}return(0,ct.jsx)(Cd,{...N,className:a(e.className,ol),icon:l,size:t,themeColor:r,rotate:c,flip:u})};p.states=qb;p.options=Yb;p.defaultOptions=tl;p.className=ol;p.moduleName=Ld;p.folderName=yd;p.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var Co=require("react/jsx-runtime"),ii="k-header",Qb=[i.hover,i.focus,i.active],Id={sortIcon:"sort-asc-small"},C=e=>{let{menu:o,sortable:t,filterable:r,sticky:l,resizable:s,columnTitle:c,hover:u,focus:f,active:h,sortIcon:N=Id.sortIcon,sortOrder:L,accessibleLabel:T,...y}=e;return(0,Co.jsxs)(dt,{...y,className:a(e.className,ii,{"k-filterable":o||r,"k-sorted":t,"k-grid-header-sticky":l,"k-touch-action-none":s},I(ii,{hover:u,focus:f,active:h})),children:[c&&(0,Co.jsxs)("span",{className:"k-cell-inner",children:[(0,Co.jsxs)("span",{className:"k-link",children:[(0,Co.jsx)("span",{className:"k-column-title",children:c}),t&&(0,Co.jsx)("span",{className:"k-sort-icon",children:(0,Co.jsx)(p,{icon:N})}),L&&(0,Co.jsx)("span",{className:"k-sort-order",children:L})]}),o&&(0,Co.jsx)("a",{className:a("k-grid-header-menu",{"k-active":h,"k-grid-filter-menu":o==="filter","k-grid-column-menu":o==="column"}),children:(0,Co.jsx)(p,{icon:o==="filter"?"filter":"more-vertical"})})]}),!c&&T&&(0,Co.jsx)("span",{className:"k-sr-only",children:T}),e.children,s&&(0,Co.jsx)("span",{className:"k-column-resizer k-touch-action-none"})]})};C.states=Qb;C.className=ii;C.defaultOptions=Id;C.moduleName=re;C.folderName=le;var Ed=require("react/jsx-runtime"),Ad="k-grid-container",J=e=>(0,Ed.jsx)("div",{...e,className:a(e.className,Ad),children:e.children});J.className=Ad;J.moduleName=re;J.folderName=le;var Od=require("react/jsx-runtime"),Gd="k-grid-content",V=e=>(0,Od.jsx)("div",{...e,className:a(e.className,Gd),children:e.children});V.className=Gd;V.moduleName=re;V.folderName=le;var Pd=require("react/jsx-runtime"),Hd="k-grid-table",W=e=>(0,Pd.jsx)(Qe,{...e,className:a(e.className,Hd),children:e.children});W.className=Hd;W.moduleName=re;W.folderName=le;var Dd=require("react/jsx-runtime"),_d="k-grid-footer",rl=e=>(0,Dd.jsx)("div",{...e,className:a(e.className,_d),children:e.children});rl.className=_d;rl.moduleName=re;rl.folderName=le;var Bd=require("react/jsx-runtime"),Kd="k-grid-footer-table",al=e=>(0,Bd.jsx)(Qe,{...e,className:a(e.className,Kd),children:e.children});al.className=Kd;al.moduleName=re;al.folderName=le;var ni="button",zd=ni;var Lo=require("react/jsx-runtime"),xa="k-button",Zb=["icon-button"],jb=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],ef={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[k.undefined,k.none,k.small,k.medium,k.large,k.full],fillMode:[w.undefined,w.solid,w.flat,w.outline,w.clear,w.link],themeColor:[R.undefined,R.base,R.primary,R.secondary,R.tertiary,R.success,R.warning,R.error,R.info,R.inverse]},si={showArrow:!1,arrowIconName:"chevron-down"},m=e=>{let{as:o="button",size:t,rounded:r,fillMode:l,themeColor:s,showArrow:c=si.showArrow,arrowIconName:u=si.arrowIconName,variant:f,hover:h,focus:N,active:L,selected:T,disabled:y,togglable:M,ariaDisabled:_,icon:B,iconSize:U,text:j,iconClassName:ve,className:be,...ao}=e,lo=B!=null,io=e.children!==void 0;return(0,Lo.jsxs)(o,{className:a(be,xa,Ws(xa,f),A(xa,{size:t,rounded:r,fillMode:l,themeColor:s}),I(xa,{hover:h,focus:N,active:L,disabled:y||_,selected:T}),{"k-icon-button":!j&&!io&&lo}),"aria-pressed":M?T?"true":"false":void 0,...ao,"aria-disabled":_?"true":void 0,disabled:y||void 0,children:[typeof B=="string"&&B&&(0,Lo.jsx)(p,{className:a(ve,"k-button-icon"),icon:B,size:U}),B&&typeof B!="string"&&(0,Lo.jsx)(Lo.Fragment,{children:B}),j?(0,Lo.jsxs)(Lo.Fragment,{children:[j&&(0,Lo.jsx)("span",{className:"k-button-text",children:j}),e.children]}):e.children&&(0,Lo.jsx)("span",{className:"k-button-text",children:e.children}),c&&(0,Lo.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Lo.jsx)(p,{icon:u})})]})};m.states=jb;m.options=ef;m.variants=Zb;m.className=xa;m.defaultOptions=si;m.moduleName=ni;m.folderName=zd;m.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var Ud=require("react/jsx-runtime"),Rt=e=>(0,Ud.jsx)(m,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Fd=require("react/jsx-runtime"),Na=e=>(0,Fd.jsx)(m,{icon:"folder",children:"Button",...e});var $d=require("react/jsx-runtime"),Wt=e=>(0,$d.jsx)(m,{children:"Button",...e});var ll=require("react/jsx-runtime"),of=m.options,tf=m.states,rf={...m.defaultOptions,variant:"text"},af=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],lf=[],cr=e=>{let{variant:o,...t}=e;switch(o){case"icon-only":return(0,ll.jsx)(Rt,{...t,icon:"star"});case"icon-and-text":return(0,ll.jsx)(Na,{...t,icon:"star",children:"Button"});default:return(0,ll.jsx)(Wt,{...t,children:"Button"})}};cr.options=of;cr.states=tf;cr.variants=af;cr.defaultOptions=rf;cr.modifiers=lf;cr.className=m.className;var ka="input",il=ka;var Vd=require("react/jsx-runtime"),nl="k-input",nf=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],sf={size:[d.undefined,d.small,d.medium,d.large],rounded:[k.undefined,k.none,k.small,k.medium,k.large,k.full],fillMode:[w.undefined,w.solid,w.flat,w.outline]},df={},Ie=e=>{let{hover:o,focus:t,disabled:r,invalid:l,valid:s,loading:c,readonly:u,size:f,rounded:h,fillMode:N,...L}=e;return(0,Vd.jsx)("span",{...L,className:a(e.className,nl,A(nl,{size:f,rounded:h,fillMode:N}),I(nl,{hover:o,focus:t,disabled:r,invalid:l,valid:s,loading:c,readonly:u}))})};Ie.states=nf;Ie.options=sf;Ie.className=nl;Ie.defaultOptions=df;Ie.moduleName=ka;Ie.folderName=il;var Wd=require("react/jsx-runtime"),sl="k-picker",cf=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],pf={size:[d.undefined,d.small,d.medium,d.large],rounded:[k.undefined,k.none,k.small,k.medium,k.large,k.full],fillMode:[w.undefined,w.solid,w.flat,w.outline]},mf={},Zo=e=>{let{hover:o,focus:t,disabled:r,invalid:l,valid:s,loading:c,readonly:u,size:f,rounded:h,fillMode:N,...L}=e;return(0,Wd.jsx)("span",{...L,className:a(e.className,sl,A(sl,{size:f,rounded:h,fillMode:N}),I(sl,{hover:o,focus:t,disabled:r,invalid:l,valid:s,loading:c,readonly:u})),children:e.children})};Zo.states=cf;Zo.options=pf;Zo.className=sl;Zo.defaultOptions=mf;Zo.moduleName=ka;Zo.folderName=il;var pr=require("react/jsx-runtime"),Xd="k-clear-value",uf=[i.disabled,i.loading,i.readonly],bf={},yo=e=>{let{disabled:o,loading:t,readonly:r,value:l}=e;return o||r||t||!l?(0,pr.jsx)(pr.Fragment,{}):(0,pr.jsx)("span",{className:a(e.className,Xd),children:(0,pr.jsx)(p,{icon:"x"})})};yo.states=uf;yo.options=bf;yo.className=Xd;var Jd=require("react/jsx-runtime"),di="k-input-inner",ff=[],Tf={},dl={type:"text",autocomplete:"off",value:"",placeholder:""},Mo=e=>{let{value:o=dl.value,type:t=dl.type,placeholder:r=dl.placeholder,autocomplete:l=dl.autocomplete,disabled:s,readOnly:c,...u}=e;return(0,Jd.jsx)("input",{...u,type:t,className:a(e.className,di,A(di,e)),placeholder:r,autoComplete:l,defaultValue:o,disabled:s||void 0,readOnly:c||void 0})};Mo.states=ff;Mo.options=Tf;Mo.className=di;var wa=require("react/jsx-runtime"),ci="k-input-inner",gf=[],hf={},Xt=e=>{let{value:o,placeholder:t,showValue:r,valueIcon:l,valueIconName:s,...c}=e;return(0,wa.jsxs)("span",{...c,className:a(e.className,ci,A(ci,e)),children:[l,!l&&s&&(0,wa.jsx)(p,{className:"k-input-value-icon",icon:s}),r&&!o&&t,r&&o&&(0,wa.jsx)("span",{className:"k-input-value-text",children:o})]})};Xt.states=gf;Xt.options=hf;Xt.className=ci;var Yd=require("react/jsx-runtime"),pi="k-input-inner",xf=[],Nf={},qd={value:"",placeholder:""},mi=e=>{let{value:o=qd.value,placeholder:t=qd.placeholder,rows:r,disabled:l,...s}=e;return(0,Yd.jsx)("textarea",{...s,className:a(e.className,pi,A(pi,e)),placeholder:t,rows:r,defaultValue:o,disabled:l||void 0})};mi.states=xf;mi.options=Nf;mi.className=pi;var va=require("react/jsx-runtime"),Qd="k-input-loading-icon",kf=[i.disabled,i.loading],To=e=>{let{disabled:o,loading:t}=e;return o||!t?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)("span",{className:a(e.className,Qd,"k-icon k-i-loading")})};To.states=kf;To.className=Qd;var Ca=require("react/jsx-runtime"),Zd="k-input-validation-icon",wf=[i.valid,i.invalid,i.disabled,i.loading],vf={},no=e=>{let{valid:o,invalid:t,disabled:r,loading:l}=e,s=t?"warning-circle":"check-circle";return r||l||!!!(o||t)?(0,Ca.jsx)(Ca.Fragment,{}):(0,Ca.jsx)(p,{className:a(Zd),icon:s})};no.states=wf;no.options=vf;no.className=Zd;var La=require("react/jsx-runtime"),Cf="k-input-prefix",Lf={direction:"horizontal"},Po=e=>{let{direction:o=Lf.direction,...t}=e;return e.children?(0,La.jsx)("span",{...t,className:a(Cf,e.className,{[`k-input-prefix-${o}`]:o}),children:e.children}):(0,La.jsx)(La.Fragment,{})};var ya=require("react/jsx-runtime"),yf="k-input-suffix",Mf={direction:"horizontal"},_o=e=>{let{direction:o=Mf.direction,...t}=e;return e.children?(0,ya.jsx)("span",{...t,className:a(yf,e.className,{[`k-input-suffix-${o}`]:o}),children:e.children}):(0,ya.jsx)(ya.Fragment,{})};var Sf=require("react/jsx-runtime");var jd=require("react/jsx-runtime"),Rf="k-input-suffix-text",ui=e=>{let{children:o,...t}=e;return(0,jd.jsx)("span",{...t,className:a(Rf,e.className),children:o})};var oc=require("react/jsx-runtime"),ec="k-input-separator",If={direction:"vertical"},Do=e=>{let{direction:o=If.direction,...t}=e;return(0,oc.jsx)("span",{...t,className:a(ec,e.className,{[`${ec}-${o}`]:o})})};var _e=require("react/jsx-runtime"),Af=Ie.states,Ef=Ie.defaultOptions,Gf=Ie.options,Of=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Hf=[],mr=e=>{let{modifiers:o,valid:t,invalid:r,loading:l,disabled:s,readonly:c,...u}=e,f=o==null?void 0:o.prefix,h=o==null?void 0:o.suffix,N=o==null?void 0:o["clear-button"],L=o==null?void 0:o["validation-icon"],T=o==null?void 0:o.separators;return(0,_e.jsxs)(Ie,{...u,valid:t,invalid:r,loading:l,disabled:s,readonly:c,style:{width:300},children:[f&&(0,_e.jsxs)(_e.Fragment,{children:[(0,_e.jsx)(Po,{children:(0,_e.jsx)(p,{icon:"lock"})}),T&&(0,_e.jsx)(Do,{})]}),(0,_e.jsx)(Mo,{placeholder:"Placeholder",value:"Value"}),L&&(0,_e.jsx)(no,{valid:t,invalid:r,loading:l,disabled:s}),(0,_e.jsx)(To,{loading:l,disabled:s}),N&&(0,_e.jsx)(yo,{loading:l,disabled:s,readonly:c,value:"Value"}),h&&(0,_e.jsxs)(_e.Fragment,{children:[T&&(0,_e.jsx)(Do,{}),(0,_e.jsx)(_o,{children:(0,_e.jsx)(Wt,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};mr.options=Gf;mr.states=Af;mr.variants=Hf;mr.defaultOptions=Ef;mr.modifiers=Of;mr.className=Ie.className;var bi="popup",tc=bi;var Ti=require("react/jsx-runtime"),rc="k-animation-container",Pf=[],_f={},fi={positionMode:"absolute",shown:!0},jo=e=>{let{positionMode:o=fi.positionMode,shown:t=fi.shown,animationStyle:r,offset:l,...s}=e;return(0,Ti.jsx)("div",{...s,style:{...l,...e.style},className:a(e.className,rc,{"k-animation-container-shown":t,"k-animation-container-fixed":o==="fixed"}),children:(0,Ti.jsx)("div",{className:"k-child-animation-container",style:r,children:e.children})})};jo.states=Pf;jo.options=_f;jo.className=rc;jo.defaultOptions=fi;jo.moduleName=bi;jo.folderName=tc;var gi="popup",ac=gi;var hi=require("react/jsx-runtime"),lc="k-popup",Df=[],Kf={},ic={positionMode:"absolute"},ne=e=>{let{offset:o,positionMode:t=ic.positionMode,animationStyle:r,containerClassName:l,containerRole:s,containerAriaLabel:c,...u}=e;return(0,hi.jsx)(jo,{positionMode:t,offset:o,animationStyle:r,className:l,role:s,"aria-label":c,children:(0,hi.jsx)("div",{...u,className:a(e.className,lc),children:e.children})})};ne.states=Df;ne.options=Kf;ne.className=lc;ne.defaultOptions=ic;ne.moduleName=gi;ne.folderName=ac;ne.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 xi="action-buttons",nc=xi;var sc=require("react/jsx-runtime"),cl="k-actions",Bf=[],zf={},Ni={alignment:"start",orientation:"horizontal"},Ko=e=>{let{alignment:o=Ni.alignment,orientation:t=Ni.orientation,...r}=e;return(0,sc.jsx)("div",{...r,className:a(cl,{[`${cl}-${o}`]:o,[`${cl}-${t}`]:t},e.className),children:e.children})};Ko.states=Bf;Ko.options=zf;Ko.className=cl;Ko.defaultOptions=Ni;Ko.moduleName=xi;Ko.folderName=nc;var cc=require("react/jsx-runtime"),Uf="k-actionsheet-footer",dc={alignment:"stretched",orientation:"horizontal"},It=e=>{let{alignment:o=dc.alignment,orientation:t=dc.orientation,template:r,as:l=r?"div":Ko,...s}=e;return(0,cc.jsx)(l,{...s,...!r&&{alignment:o,orientation:t},className:a(e.className,Uf),children:e.children})};var ki="searchbox",pc=ki;var At=require("react/jsx-runtime"),mc="k-searchbox",Ff=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],$f={size:[d.undefined,d.small,d.medium,d.large],rounded:[k.undefined,k.none,k.small,k.medium,k.large,k.full],fillMode:[w.undefined,w.solid,w.flat,w.outline]},wi={showIcon:!0,icon:"search"},So=e=>{let{value:o,placeholder:t,size:r,rounded:l,fillMode:s,hover:c,focus:u,valid:f,invalid:h,required:N,loading:L,disabled:T,showIcon:y=wi.showIcon,icon:M=wi.icon,"aria-label":_,...B}=e;return(0,At.jsxs)(Ie,{...B,size:r,rounded:l,fillMode:s,hover:c,focus:u,valid:f,invalid:h,required:N,loading:L,disabled:T,className:a(e.className,mc),children:[y&&(0,At.jsx)(p,{className:"k-input-icon",icon:M}),(0,At.jsx)(Mo,{placeholder:t,value:o,"aria-label":_}),(0,At.jsx)(To,{...e}),(0,At.jsx)(no,{...e}),(0,At.jsx)(yo,{...e})]})};So.states=Ff;So.options=$f;So.className=mc;So.defaultOptions=wi;So.moduleName=ki;So.folderName=pc;var Vf=require("react/jsx-runtime");var vi="textbox",uc=vi;var Ze=require("react/jsx-runtime"),bc="k-textbox",Wf=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Xf={size:[d.undefined,d.small,d.medium,d.large],rounded:[k.undefined,k.none,k.small,k.medium,k.large,k.full],fillMode:[w.undefined,w.solid,w.flat,w.outline]},pl={showClearButton:!0,showValidationIcon:!0,separators:!0},ce=e=>{let{size:o,rounded:t,fillMode:r,separators:l=pl.separators,showClearButton:s=pl.showClearButton,showValidationIcon:c=pl.showValidationIcon,prefix:u,suffix:f,type:h,value:N,placeholder:L,hover:T,focus:y,valid:M,invalid:_,required:B,loading:U,disabled:j,readonly:ve,id:be,"aria-label":ao,"aria-describedby":lo,...io}=e;return(0,Ze.jsxs)(Ie,{...io,size:o,rounded:t,fillMode:r,hover:T,focus:y,valid:M,invalid:_,required:B,loading:U,disabled:j,readonly:ve,className:a(e.className,bc),children:[u&&(0,Ze.jsxs)(Ze.Fragment,{children:[(0,Ze.jsx)(Po,{children:u}),l&&(0,Ze.jsx)(Do,{})]}),(0,Ze.jsx)(Mo,{id:be,placeholder:L,value:N,type:h,disabled:j,"aria-label":ao,"aria-describedby":lo,"aria-invalid":_?"true":void 0}),c&&(0,Ze.jsx)(no,{valid:M,invalid:_,loading:U,disabled:j}),(0,Ze.jsx)(To,{loading:U,disabled:j}),s&&(0,Ze.jsx)(yo,{loading:U,disabled:j,readonly:ve,value:N}),f&&(0,Ze.jsxs)(Ze.Fragment,{children:[l&&(0,Ze.jsx)(Do,{}),(0,Ze.jsx)(_o,{children:f})]})]})};ce.states=Wf;ce.options=Xf;ce.className=bc;ce.defaultOptions=pl;ce.moduleName=vi;ce.folderName=uc;ce.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 Ma=ce;var Tc=require("react/jsx-runtime"),fc=e=>(0,Tc.jsx)(Ma,{...e});var gc=require("react/jsx-runtime");var hc=require("react/jsx-runtime");var Jf=require("react/jsx-runtime");var ml=require("react/jsx-runtime"),qf=ce.states,Yf=ce.defaultOptions,Qf=ce.options,Zf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],jf=[],ur=e=>{let{modifiers:o,...t}=e,r={};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":r.prefix=o!=null&&o[l]?(0,ml.jsx)(p,{icon:"lock"}):void 0;break;case"suffix":r.suffix=o!=null&&o[l]?(0,ml.jsx)(Wt,{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,ml.jsx)(fc,{value:"Value",style:{width:300},...t,...r})};ur.options=Qf;ur.states=qf;ur.variants=jf;ur.defaultOptions=Yf;ur.modifiers=Zf;ur.className=ce.className;var Ro=require("react/jsx-runtime"),xc="k-actionsheet-titlebar",eT={},so=e=>{let{title:o,subtitle:t,actionsStart:r,actionsEnd:l,filter:s,input:c,inputValue:u,inputPlaceholder:f,adaptive:h,titleId:N,children:L,...T}=e;return(0,Ro.jsxs)("div",{...T,className:a(e.className,xc),children:[(0,Ro.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[r&&(0,Ro.jsx)("div",{className:"k-actionsheet-actions",children:r}),!L&&(0,Ro.jsxs)("div",{className:"k-actionsheet-title",id:N,children:[o&&(0,Ro.jsx)("div",{className:"k-text-center",children:o}),t&&(0,Ro.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:t})]}),L&&(0,Ro.jsx)("div",{className:"k-actionsheet-title",id:N,children:L}),l&&(0,Ro.jsx)("div",{className:"k-actionsheet-actions",children:l})]}),(c||s)&&(0,Ro.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?(0,Ro.jsx)(ce,{value:u,placeholder:f,size:h?"large":"medium","aria-label":o||f||"Input"}):(0,Ro.jsx)(So,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};so.className=xc;so.defaultOptions=eT;var br=require("react/jsx-runtime"),Ci="k-actionsheet-view",oT=[],tT={},rT={},fr=e=>{let{adaptive:o,animated:t,children:r,header:l,footer:s,titleId:c,...u}=e,f=(l==null?void 0:l.type)===so&&(0,br.jsx)(so,{adaptive:o,titleId:c,...l==null?void 0:l.props}),h=(s==null?void 0:s.type)===It&&(0,br.jsx)(It,{...s==null?void 0:s.props});return(0,br.jsxs)("div",{...u,className:a(e.className,Ci,{[`${Ci}-animated`]:t}),children:[f,(0,br.jsx)("div",{className:"k-actionsheet-content",children:r}),h]})};fr.states=oT;fr.options=tT;fr.className=Ci;fr.defaultOptions=rT;var Sa="action-sheet",ul=Sa;var Li="overlay",Nc=Li;var wc=require("react/jsx-runtime"),kc="k-overlay",aT=[],lT={},iT={},Et=e=>{let{...o}=e;return(0,wc.jsx)("div",{...o,className:a(e.className,kc),children:e.children})};Et.states=aT;Et.options=lT;Et.className=kc;Et.defaultOptions=iT;Et.moduleName=Li;Et.folderName=Nc;var Jt=require("react/jsx-runtime"),vc="k-actionsheet",nT=[],sT={},Ra={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Se=e=>{let{side:o=Ra.side,fullscreen:t=Ra.fullscreen,adaptive:r=Ra.adaptive,overlay:l=Ra.overlay,template:s,children:c,header:u,footer:f,id:h,...N}=e,L=h&&!s&&u?`${h}-title`:void 0;return(0,Jt.jsxs)("div",{className:"k-actionsheet-container",children:[l&&(0,Jt.jsx)(Et,{}),(0,Jt.jsx)(jo,{animationStyle:{[`${t===!0?"top":o}`]:0,[`${t===!0?"width":null}`]:"100%",[`${t===!0?"height":null}`]:"100%",[`${o==="top"||o==="bottom"?"width":null}`]:"100%",[`${o==="left"||o==="right"?"height":null}`]:"100%"},children:(0,Jt.jsx)("div",{...N,id:h,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":L,className:a(e.className,vc,{[`k-actionsheet-${o}`]:t===!1,"k-actionsheet-fullscreen":t===!0,"k-adaptive-actionsheet":r}),children:s||(0,Jt.jsx)(fr,{header:u,footer:f,adaptive:r,titleId:L,...e,children:c})})})]})};Se.states=nT;Se.options=sT;Se.className=vc;Se.defaultOptions=Ra;Se.moduleName=Sa;Se.folderName=ul;Se.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 Lc=require("react/jsx-runtime"),Cc="k-actionsheet-container",dT=[],cT={},pT={},Tr=e=>{let{children:o,...t}=e;return(0,Lc.jsx)("div",{...t,className:Cc,children:o})};Tr.states=dT;Tr.options=cT;Tr.className=Cc;Tr.defaultOptions=pT;Tr.moduleName=Sa;Tr.folderName=ul;var yc=require("react/jsx-runtime"),yi=e=>{let{...o}=e;return(0,yc.jsx)("div",{...o,className:a(e.className,"k-list-ul"),children:e.children})};var Bo=require("react/jsx-runtime"),Mi="k-actionsheet-item",mT=[i.hover,i.focus,i.selected,i.disabled],Gt=e=>{let{iconName:o,text:t,description:r,hover:l,focus:s,selected:c,disabled:u,...f}=e;return(0,Bo.jsxs)("span",{...f,className:a(e.className,Mi,I(Mi,{hover:l,focus:s,selected:c,disabled:u})),children:[!e.children&&(0,Bo.jsx)(Bo.Fragment,{children:(0,Bo.jsxs)("span",{className:"k-actionsheet-action",children:[o&&(0,Bo.jsx)("span",{className:"k-icon-wrap",children:(0,Bo.jsx)(p,{className:"k-actionsheet-item-icon",icon:o})}),(0,Bo.jsxs)("span",{className:"k-actionsheet-item-text",children:[t&&(0,Bo.jsx)("span",{className:"k-actionsheet-item-title",children:t}),r&&(0,Bo.jsx)("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};Gt.states=mT;Gt.className=Mi;var Mc=require("react/jsx-runtime");var uT=require("react/jsx-runtime");var bT=require("react/jsx-runtime");var fT=require("react/jsx-runtime");var Ce=require("react/jsx-runtime"),TT=Se.options,gT=Se.states,Rc={...Se.defaultOptions,variant:"normal"},hT=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],xT=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],gr=e=>{let{variant:o,modifiers:t,...r}={...Rc,...e},l={},s=(0,Ce.jsxs)(yi,{children:[(0,Ce.jsx)(Gt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,Ce.jsx)(Gt,{text:"Add to Favorites",iconName:"heart"}),(0,Ce.jsx)(Gt,{text:"Upload New",iconName:"upload",disabled:!0}),(0,Ce.jsx)("hr",{className:"k-hr"}),(0,Ce.jsx)(Gt,{text:"Cancel",iconName:"cancel"})]}),c="Choose from the items below",u="Select Item";return o==="fullScreen"&&(l.fullScreen=!0),Object.keys(t||{}).forEach(f=>{switch(f){case"actions":l.actionsStart=!!(t!=null&&t[f]),l.actionsEnd=!!(t!=null&&t[f]);break;case"subtitle":l.subtitle=t!=null&&t[f]?c:void 0;break;case"footer":l.footer=!!(t!=null&&t[f]);break;default:break}}),o==="adaptive"?(0,Ce.jsx)(Se,{...r,adaptive:!0,fullscreen:l.fullScreen,header:(0,Ce.jsx)(so,{actionsStart:l.actionsStart?(0,Ce.jsx)(m,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?(0,Ce.jsx)(m,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:l.subtitle}),footer:l.footer?(0,Ce.jsxs)(It,{alignment:"stretched",children:[(0,Ce.jsx)(m,{text:"Cancel",size:"large",themeColor:"base"}),(0,Ce.jsx)(m,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):(0,Ce.jsx)(Se,{...r,fullscreen:l.fullScreen,header:(0,Ce.jsx)(so,{actionsStart:l.actionsStart?(0,Ce.jsx)(m,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?(0,Ce.jsx)(m,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:l.subtitle}),footer:l.footer?(0,Ce.jsxs)(It,{alignment:"stretched",children:[(0,Ce.jsx)(m,{text:"Apply",themeColor:"primary"}),(0,Ce.jsx)(m,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};gr.options=TT;gr.states=gT;gr.variants=hT;gr.defaultOptions=Rc;gr.modifiers=xT;gr.className=Se.className;var fl=Vs(require("react"));var Si=require("react/jsx-runtime"),NT="k-list-group-sticky-header",Ri=e=>(0,