@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 229 kB
JavaScript
var Yu=Object.create;var qa=Object.defineProperty;var Qu=Object.getOwnPropertyDescriptor;var Zu=Object.getOwnPropertyNames;var ju=Object.getPrototypeOf,eb=Object.prototype.hasOwnProperty;var ob=(e,o)=>{for(var t in o)qa(e,t,{get:o[t],enumerable:!0})},Fs=(e,o,t,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let l of Zu(o))!eb.call(e,l)&&l!==t&&qa(e,l,{get:()=>o[l],enumerable:!(r=Qu(o,l))||r.enumerable});return e};var $s=(e,o,t)=>(t=e!=null?Yu(ju(e)):{},Fs(o||!e||!e.__esModule?qa(t,"default",{value:e,enumerable:!0}):t,e)),tb=e=>Fs(qa({},"__esModule",{value:!0}),e);var gw={};ob(gw,{PropertyGridNormal:()=>Xa});module.exports=tb(gw);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 Vs(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 Vl={};function K(e){return Vl[e]=(Vl[e]||0)+1,`k-${e}-${Vl[e]}`}var re="grid",le=re;var Qa=require("react/jsx-runtime"),Ya="k-grid",rb=[],ab={size:[d.undefined,d.small,d.medium,d.large]},lb=[],Ws={pagerPosition:"bottom"},q=e=>{let{size:o,pagerPosition:t=Ws.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,Qa.jsxs)("div",{...y,className:a(e.className,Ya,{[`${Ya}-resizable`]:f},A(Ya,{size:o})),children:[r,t==="top"&&l,s,e.children&&u?(0,Qa.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=rb;q.options=ab;q.variants=lb;q.className=Ya;q.defaultOptions=Ws;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 Js=require("react/jsx-runtime"),Xs="k-grid-header",F=e=>{let{draggable:o,...t}=e;return(0,Js.jsx)("div",{...t,className:a(e.className,Xs,{"k-grid-draggable-header":o}),children:e.children})};F.className=Xs;F.moduleName=re;F.folderName=le;var ma=require("react/jsx-runtime"),qs="k-grouping-header",qe=e=>{let{dropHint:o,dropClue:t,...r}=e;return(0,ma.jsxs)("div",{...r,className:a(e.className,qs),children:[t&&(0,ma.jsx)("div",{className:"k-grouping-dropclue"}),e.children,(0,ma.jsx)("div",{className:"k-grouping-drop-container",children:o})]})};qe.className=qs;qe.moduleName=re;qe.folderName=le;var Qs=require("react/jsx-runtime"),Ys="k-grid-pinned-container",ua=e=>{let{position:o,...t}=e;return(0,Qs.jsx)("div",{...t,className:a(e.className,Ys,{"k-pos-bottom":o==="bottom"}),children:e.children})};ua.className=Ys;ua.moduleName=re;ua.folderName=le;var js=require("react/jsx-runtime"),Zs="k-grid-sticky-container",ba=e=>{let{position:o,...t}=e;return(0,js.jsx)("div",{...t,className:a(e.className,Zs,{"k-pos-bottom":o==="bottom"}),children:e.children})};ba.className=Zs;ba.moduleName=re;ba.folderName=le;var De="table",Ye=De;var od=require("react/jsx-runtime"),ed="k-data-table",ib=[],nb={size:[d.undefined,d.small,d.medium,d.large]},sb={},nt=e=>{let{size:o,...t}=e;return(0,od.jsx)("div",{...t,className:a(e.className,ed,A("k-table",{size:o})),children:e.children})};nt.states=ib;nt.options=nb;nt.className=ed;nt.defaultOptions=sb;nt.moduleName=De;nt.folderName=Ye;var td=require("react/jsx-runtime"),Wl="k-table-header-wrap",db=[i.hover,i.focus,i.disabled],cb={},pb={},yt=e=>{let{children:o,hover:t,focus:r,disabled:l,...s}=e;return(0,td.jsx)("div",{...s,className:a(e.className,Wl,I(Wl,{hover:t,focus:r,disabled:l})),children:o})};yt.states=db;yt.options=cb;yt.className=Wl;yt.defaultOptions=pb;yt.moduleName=De;yt.folderName=Ye;var rd=require("react/jsx-runtime"),Xl="k-table",mb=[],ub={size:[d.undefined,d.small,d.medium,d.large]},bb={},Qe=e=>{let{size:o,...t}=e;return(0,rd.jsx)("table",{...t,className:a(e.className,Xl,A(Xl,{size:o})),children:e.children})};Qe.states=mb;Qe.options=ub;Qe.className=Xl;Qe.defaultOptions=bb;Qe.moduleName=De;Qe.folderName=Ye;var Za=require("react/jsx-runtime"),Jl="k-table-header",fb=[i.hover,i.focus,i.disabled],Tb={},gb={},st=e=>{let{children:o,hover:t,focus:r,disabled:l,...s}=e;return(0,Za.jsx)("div",{...s,className:a(e.className,Jl,I(Jl,{hover:t,focus:r,disabled:l})),children:(0,Za.jsx)(yt,{children:(0,Za.jsx)(Qe,{children:o})})})};st.states=fb;st.options=Tb;st.className=Jl;st.defaultOptions=gb;st.moduleName=De;st.folderName=Ye;var ld=require("react/jsx-runtime"),ad="k-table-scroller",hb=[],xb={},Nb={},dr=e=>{let{children:o,...t}=e;return(0,ld.jsx)("div",{...t,className:a(e.className,ad),children:o})};dr.states=hb;dr.options=xb;dr.className=ad;dr.defaultOptions=Nb;dr.moduleName=De;dr.folderName=Ye;var kb=require("react/jsx-runtime");var nd=require("react/jsx-runtime"),id="k-table-footer",wb=[],vb={},Cb={},Mt=e=>{let{children:o,...t}=e;return(0,nd.jsx)("div",{...t,className:a(e.className,id),children:o})};Mt.states=wb;Mt.options=vb;Mt.className=id;Mt.defaultOptions=Cb;Mt.moduleName=De;Mt.folderName=Ye;var sd=require("react/jsx-runtime"),ql="k-table-list",Lb=[],yb={size:[d.undefined,d.small,d.medium,d.large]},Mb={},St=e=>{let{size:o,virtualization:t,...r}=e;return(0,sd.jsx)("ul",{...r,className:a(e.className,"k-table",ql,A(ql,{size:o}),{"k-virtual-table":t}),children:e.children})};St.states=Lb;St.options=yb;St.className=ql;St.defaultOptions=Mb;St.moduleName=De;St.folderName=Ye;var dd=require("react/jsx-runtime"),Sb="k-table-thead",z=e=>(0,dd.jsx)("thead",{className:a(e.className,Sb),children:e.children});var cd=require("react/jsx-runtime"),Rb="k-table-tbody",X=e=>(0,cd.jsx)("tbody",{className:a(e.className,Rb),children:e.children});var Ib=require("react/jsx-runtime");var pd=require("react/jsx-runtime"),Yl="k-table-row",Ab=[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,pd.jsx)("tr",{...u,className:a(e.className,Yl,{"k-table-alt-row":c},I(Yl,{hover:o,focus:t,disabled:s,selected:r,highlighted:l})),children:e.children})};g.states=Ab;g.className=Yl;var md=require("react/jsx-runtime"),Ql="k-table-row",Eb=[i.hover,i.focus,i.selected,i.disabled],ja=e=>{let{hover:o,focus:t,selected:r,disabled:l,alt:s,...c}=e;return(0,md.jsx)("li",{...c,className:a(e.className,Ql,{"k-table-alt-row":s},I(Ql,{hover:o,focus:t,disabled:l,selected:r})),children:e.children})};ja.states=Eb;ja.className=Ql;var bd=require("react/jsx-runtime"),ud="k-table-th",dt=e=>{let{text:o,colspan:t,rowspan:r,...l}=e,s=o||e.children;return(0,bd.jsx)("th",{colSpan:t,rowSpan:r,...l,className:a(e.className,ud),children:s})};dt.className=ud;dt.moduleName=De;dt.folderName=Ye;var Gb=require("react/jsx-runtime");var fd=require("react/jsx-runtime"),Zl="k-table-td",Ob=[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,fd.jsx)("td",{colSpan:s,rowSpan:c,...u,className:a(e.className,Zl,I(Zl,{focus:o,selected:t,highlighted:r})),children:f})};n.states=Ob;n.className=Zl;var Hb=require("react/jsx-runtime");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 gd=require("react/jsx-runtime");var hd=require("react/jsx-runtime");var Nd=require("react/jsx-runtime");var jl=require("react/jsx-runtime");var wd=require("react/jsx-runtime"),kd="k-grid-header-table",$=e=>(0,wd.jsx)(Qe,{...e,className:a(e.className,kd),children:e.children});$.className=kd;$.moduleName=re;$.folderName=le;var fa=require("react/jsx-runtime"),ei="k-font-icon",Ub=[],Fb={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]},$b={},Ta=e=>{let{size:o,themeColor:t,icon:r,rotate:l,flip:s,...c}=e;return r?(0,fa.jsx)("span",{...c,className:a(e.className,ei,A(ei,{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,fa.jsx)(fa.Fragment,{})};Ta.states=Ub;Ta.options=Fb;Ta.className=ei;Ta.defaultOptions=$b;var vd=Ta;var Vt=require("react/jsx-runtime"),oi="k-svg-icon",Vb=[],Wb={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]},ti={viewBox:"0 0 24 24",variant:Qo.outline},ga=e=>{var L,T;let{size:o,themeColor:t,rotate:r,flip:l,viewBox:s=ti.viewBox,variant:c=ti.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,oi,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,oi,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})})};ga.states=Vb;ga.options=Wb;ga.className=oi;ga.defaultOptions=ti;var ri=ga;var ai=$s(require("@progress/kendo-svg-icons"));var Cd="icon",Ld="icons";var Sd=require("react");var yd=require("react"),Md=(0,yd.createContext)({iconsType:"svg"});var ct=require("react/jsx-runtime"),el="k-icon",Xb=e=>e.replace(/([-_][a-z0-9])/gi,o=>o.toUpperCase().replace("-","").replace("_","")),Jb=[],qb={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]},ol={viewBox:"0 0 24 24",type:"svg",variant:Qo.outline},p=e=>{let{iconsType:o}=(0,Sd.useContext)(Md),{size:t,themeColor:r,icon:l,type:s=o||ol.type,rotate:c,flip:u,viewBox:f=ol.viewBox,variant:h=ol.variant,...N}=e;if(!l)return(0,ct.jsx)(ct.Fragment,{});if((o||s)==="svg"){if(l==="none")return(0,ct.jsx)(ri,{...N,className:a(e.className,el),icon:l,size:t,variant:h});let T=ai[l]?l:Xb(`${l}-icon`);return ai[T]?(0,ct.jsx)(ri,{...N,className:a(e.className,el),icon:ai[T],size:t,themeColor:r,rotate:c,flip:u,viewBox:f,variant:h}):(0,ct.jsx)(ct.Fragment,{})}return(0,ct.jsx)(vd,{...N,className:a(e.className,el),icon:l,size:t,themeColor:r,rotate:c,flip:u})};p.states=Jb;p.options=qb;p.defaultOptions=ol;p.className=el;p.moduleName=Cd;p.folderName=Ld;p.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var Co=require("react/jsx-runtime"),li="k-header",Yb=[i.hover,i.focus,i.active],Rd={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=Rd.sortIcon,sortOrder:L,accessibleLabel:T,...y}=e;return(0,Co.jsxs)(dt,{...y,className:a(e.className,li,{"k-filterable":o||r,"k-sorted":t,"k-grid-header-sticky":l,"k-touch-action-none":s},I(li,{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=Yb;C.className=li;C.defaultOptions=Rd;C.moduleName=re;C.folderName=le;var Ad=require("react/jsx-runtime"),Id="k-grid-container",J=e=>(0,Ad.jsx)("div",{...e,className:a(e.className,Id),children:e.children});J.className=Id;J.moduleName=re;J.folderName=le;var Gd=require("react/jsx-runtime"),Ed="k-grid-content",V=e=>(0,Gd.jsx)("div",{...e,className:a(e.className,Ed),children:e.children});V.className=Ed;V.moduleName=re;V.folderName=le;var Hd=require("react/jsx-runtime"),Od="k-grid-table",W=e=>(0,Hd.jsx)(Qe,{...e,className:a(e.className,Od),children:e.children});W.className=Od;W.moduleName=re;W.folderName=le;var _d=require("react/jsx-runtime"),Pd="k-grid-footer",tl=e=>(0,_d.jsx)("div",{...e,className:a(e.className,Pd),children:e.children});tl.className=Pd;tl.moduleName=re;tl.folderName=le;var Kd=require("react/jsx-runtime"),Dd="k-grid-footer-table",rl=e=>(0,Kd.jsx)(Qe,{...e,className:a(e.className,Dd),children:e.children});rl.className=Dd;rl.moduleName=re;rl.folderName=le;var ii="button",Bd=ii;var Lo=require("react/jsx-runtime"),ha="k-button",Qb=["icon-button"],Zb=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],jb={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]},ni={showArrow:!1,arrowIconName:"chevron-down"},m=e=>{let{as:o="button",size:t,rounded:r,fillMode:l,themeColor:s,showArrow:c=ni.showArrow,arrowIconName:u=ni.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,ha,Vs(ha,f),A(ha,{size:t,rounded:r,fillMode:l,themeColor:s}),I(ha,{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=Zb;m.options=jb;m.variants=Qb;m.className=ha;m.defaultOptions=ni;m.moduleName=ii;m.folderName=Bd;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 zd=require("react/jsx-runtime"),Rt=e=>(0,zd.jsx)(m,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Ud=require("react/jsx-runtime"),xa=e=>(0,Ud.jsx)(m,{icon:"folder",children:"Button",...e});var Fd=require("react/jsx-runtime"),Wt=e=>(0,Fd.jsx)(m,{children:"Button",...e});var al=require("react/jsx-runtime"),ef=m.options,of=m.states,tf={...m.defaultOptions,variant:"text"},rf=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],af=[],cr=e=>{let{variant:o,...t}=e;switch(o){case"icon-only":return(0,al.jsx)(Rt,{...t,icon:"star"});case"icon-and-text":return(0,al.jsx)(xa,{...t,icon:"star",children:"Button"});default:return(0,al.jsx)(Wt,{...t,children:"Button"})}};cr.options=ef;cr.states=of;cr.variants=rf;cr.defaultOptions=tf;cr.modifiers=af;cr.className=m.className;var Na="input",ll=Na;var $d=require("react/jsx-runtime"),il="k-input",lf=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],nf={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]},sf={},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,$d.jsx)("span",{...L,className:a(e.className,il,A(il,{size:f,rounded:h,fillMode:N}),I(il,{hover:o,focus:t,disabled:r,invalid:l,valid:s,loading:c,readonly:u}))})};Ie.states=lf;Ie.options=nf;Ie.className=il;Ie.defaultOptions=sf;Ie.moduleName=Na;Ie.folderName=ll;var Vd=require("react/jsx-runtime"),nl="k-picker",df=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],cf={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]},pf={},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,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})),children:e.children})};Zo.states=df;Zo.options=cf;Zo.className=nl;Zo.defaultOptions=pf;Zo.moduleName=Na;Zo.folderName=ll;var pr=require("react/jsx-runtime"),Wd="k-clear-value",mf=[i.disabled,i.loading,i.readonly],uf={},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,Wd),children:(0,pr.jsx)(p,{icon:"x"})})};yo.states=mf;yo.options=uf;yo.className=Wd;var Xd=require("react/jsx-runtime"),si="k-input-inner",bf=[],ff={},sl={type:"text",autocomplete:"off",value:"",placeholder:""},Mo=e=>{let{value:o=sl.value,type:t=sl.type,placeholder:r=sl.placeholder,autocomplete:l=sl.autocomplete,disabled:s,readOnly:c,...u}=e;return(0,Xd.jsx)("input",{...u,type:t,className:a(e.className,si,A(si,e)),placeholder:r,autoComplete:l,defaultValue:o,disabled:s||void 0,readOnly:c||void 0})};Mo.states=bf;Mo.options=ff;Mo.className=si;var ka=require("react/jsx-runtime"),di="k-input-inner",Tf=[],gf={},Xt=e=>{let{value:o,placeholder:t,showValue:r,valueIcon:l,valueIconName:s,...c}=e;return(0,ka.jsxs)("span",{...c,className:a(e.className,di,A(di,e)),children:[l,!l&&s&&(0,ka.jsx)(p,{className:"k-input-value-icon",icon:s}),r&&!o&&t,r&&o&&(0,ka.jsx)("span",{className:"k-input-value-text",children:o})]})};Xt.states=Tf;Xt.options=gf;Xt.className=di;var qd=require("react/jsx-runtime"),ci="k-input-inner",hf=[],xf={},Jd={value:"",placeholder:""},pi=e=>{let{value:o=Jd.value,placeholder:t=Jd.placeholder,rows:r,disabled:l,...s}=e;return(0,qd.jsx)("textarea",{...s,className:a(e.className,ci,A(ci,e)),placeholder:t,rows:r,defaultValue:o,disabled:l||void 0})};pi.states=hf;pi.options=xf;pi.className=ci;var wa=require("react/jsx-runtime"),Yd="k-input-loading-icon",Nf=[i.disabled,i.loading],To=e=>{let{disabled:o,loading:t}=e;return o||!t?(0,wa.jsx)(wa.Fragment,{}):(0,wa.jsx)("span",{className:a(e.className,Yd,"k-icon k-i-loading")})};To.states=Nf;To.className=Yd;var va=require("react/jsx-runtime"),Qd="k-input-validation-icon",kf=[i.valid,i.invalid,i.disabled,i.loading],wf={},no=e=>{let{valid:o,invalid:t,disabled:r,loading:l}=e,s=t?"warning-circle":"check-circle";return r||l||!!!(o||t)?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(p,{className:a(Qd),icon:s})};no.states=kf;no.options=wf;no.className=Qd;var Ca=require("react/jsx-runtime"),vf="k-input-prefix",Cf={direction:"horizontal"},Po=e=>{let{direction:o=Cf.direction,...t}=e;return e.children?(0,Ca.jsx)("span",{...t,className:a(vf,e.className,{[`k-input-prefix-${o}`]:o}),children:e.children}):(0,Ca.jsx)(Ca.Fragment,{})};var La=require("react/jsx-runtime"),Lf="k-input-suffix",yf={direction:"horizontal"},_o=e=>{let{direction:o=yf.direction,...t}=e;return e.children?(0,La.jsx)("span",{...t,className:a(Lf,e.className,{[`k-input-suffix-${o}`]:o}),children:e.children}):(0,La.jsx)(La.Fragment,{})};var Mf=require("react/jsx-runtime");var Zd=require("react/jsx-runtime"),Sf="k-input-suffix-text",mi=e=>{let{children:o,...t}=e;return(0,Zd.jsx)("span",{...t,className:a(Sf,e.className),children:o})};var ec=require("react/jsx-runtime"),jd="k-input-separator",Rf={direction:"vertical"},Do=e=>{let{direction:o=Rf.direction,...t}=e;return(0,ec.jsx)("span",{...t,className:a(jd,e.className,{[`${jd}-${o}`]:o})})};var He=require("react/jsx-runtime"),If=Ie.states,Af=Ie.defaultOptions,Ef=Ie.options,Gf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Of=[],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,He.jsxs)(Ie,{...u,valid:t,invalid:r,loading:l,disabled:s,readonly:c,style:{width:300},children:[f&&(0,He.jsxs)(He.Fragment,{children:[(0,He.jsx)(Po,{children:(0,He.jsx)(p,{icon:"lock"})}),T&&(0,He.jsx)(Do,{})]}),(0,He.jsx)(Mo,{placeholder:"Placeholder",value:"Value"}),L&&(0,He.jsx)(no,{valid:t,invalid:r,loading:l,disabled:s}),(0,He.jsx)(To,{loading:l,disabled:s}),N&&(0,He.jsx)(yo,{loading:l,disabled:s,readonly:c,value:"Value"}),h&&(0,He.jsxs)(He.Fragment,{children:[T&&(0,He.jsx)(Do,{}),(0,He.jsx)(_o,{children:(0,He.jsx)(Wt,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};mr.options=Ef;mr.states=If;mr.variants=Of;mr.defaultOptions=Af;mr.modifiers=Gf;mr.className=Ie.className;var ui="popup",oc=ui;var fi=require("react/jsx-runtime"),tc="k-animation-container",Hf=[],Pf={},bi={positionMode:"absolute",shown:!0},jo=e=>{let{positionMode:o=bi.positionMode,shown:t=bi.shown,animationStyle:r,offset:l,...s}=e;return(0,fi.jsx)("div",{...s,style:{...l,...e.style},className:a(e.className,tc,{"k-animation-container-shown":t,"k-animation-container-fixed":o==="fixed"}),children:(0,fi.jsx)("div",{className:"k-child-animation-container",style:r,children:e.children})})};jo.states=Hf;jo.options=Pf;jo.className=tc;jo.defaultOptions=bi;jo.moduleName=ui;jo.folderName=oc;var Ti="popup",rc=Ti;var gi=require("react/jsx-runtime"),ac="k-popup",_f=[],Df={},lc={positionMode:"absolute"},ne=e=>{let{offset:o,positionMode:t=lc.positionMode,animationStyle:r,containerClassName:l,containerRole:s,containerAriaLabel:c,...u}=e;return(0,gi.jsx)(jo,{positionMode:t,offset:o,animationStyle:r,className:l,role:s,"aria-label":c,children:(0,gi.jsx)("div",{...u,className:a(e.className,ac),children:e.children})})};ne.states=_f;ne.options=Df;ne.className=ac;ne.defaultOptions=lc;ne.moduleName=Ti;ne.folderName=rc;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 hi="action-buttons",ic=hi;var nc=require("react/jsx-runtime"),dl="k-actions",Kf=[],Bf={},xi={alignment:"start",orientation:"horizontal"},Ko=e=>{let{alignment:o=xi.alignment,orientation:t=xi.orientation,...r}=e;return(0,nc.jsx)("div",{...r,className:a(dl,{[`${dl}-${o}`]:o,[`${dl}-${t}`]:t},e.className),children:e.children})};Ko.states=Kf;Ko.options=Bf;Ko.className=dl;Ko.defaultOptions=xi;Ko.moduleName=hi;Ko.folderName=ic;var dc=require("react/jsx-runtime"),zf="k-actionsheet-footer",sc={alignment:"stretched",orientation:"horizontal"},It=e=>{let{alignment:o=sc.alignment,orientation:t=sc.orientation,template:r,as:l=r?"div":Ko,...s}=e;return(0,dc.jsx)(l,{...s,...!r&&{alignment:o,orientation:t},className:a(e.className,zf),children:e.children})};var Ni="searchbox",cc=Ni;var At=require("react/jsx-runtime"),pc="k-searchbox",Uf=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Ff={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]},ki={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=ki.showIcon,icon:M=ki.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,pc),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=Uf;So.options=Ff;So.className=pc;So.defaultOptions=ki;So.moduleName=Ni;So.folderName=cc;var $f=require("react/jsx-runtime");var wi="textbox",mc=wi;var Ze=require("react/jsx-runtime"),uc="k-textbox",Vf=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Wf={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]},cl={showClearButton:!0,showValidationIcon:!0,separators:!0},ce=e=>{let{size:o,rounded:t,fillMode:r,separators:l=cl.separators,showClearButton:s=cl.showClearButton,showValidationIcon:c=cl.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,uc),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=Vf;ce.options=Wf;ce.className=uc;ce.defaultOptions=cl;ce.moduleName=wi;ce.folderName=mc;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 ya=ce;var fc=require("react/jsx-runtime"),bc=e=>(0,fc.jsx)(ya,{...e});var Tc=require("react/jsx-runtime");var gc=require("react/jsx-runtime");var Xf=require("react/jsx-runtime");var pl=require("react/jsx-runtime"),Jf=ce.states,qf=ce.defaultOptions,Yf=ce.options,Qf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Zf=[],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,pl.jsx)(p,{icon:"lock"}):void 0;break;case"suffix":r.suffix=o!=null&&o[l]?(0,pl.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,pl.jsx)(bc,{value:"Value",style:{width:300},...t,...r})};ur.options=Yf;ur.states=Jf;ur.variants=Zf;ur.defaultOptions=qf;ur.modifiers=Qf;ur.className=ce.className;var Ro=require("react/jsx-runtime"),hc="k-actionsheet-titlebar",jf={},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,hc),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=hc;so.defaultOptions=jf;var br=require("react/jsx-runtime"),vi="k-actionsheet-view",eT=[],oT={},tT={},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,vi,{[`${vi}-animated`]:t}),children:[f,(0,br.jsx)("div",{className:"k-actionsheet-content",children:r}),h]})};fr.states=eT;fr.options=oT;fr.className=vi;fr.defaultOptions=tT;var Ma="action-sheet",ml=Ma;var Ci="overlay",xc=Ci;var kc=require("react/jsx-runtime"),Nc="k-overlay",rT=[],aT={},lT={},Et=e=>{let{...o}=e;return(0,kc.jsx)("div",{...o,className:a(e.className,Nc),children:e.children})};Et.states=rT;Et.options=aT;Et.className=Nc;Et.defaultOptions=lT;Et.moduleName=Ci;Et.folderName=xc;var Jt=require("react/jsx-runtime"),wc="k-actionsheet",iT=[],nT={},Sa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Se=e=>{let{side:o=Sa.side,fullscreen:t=Sa.fullscreen,adaptive:r=Sa.adaptive,overlay:l=Sa.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,wc,{[`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=iT;Se.options=nT;Se.className=wc;Se.defaultOptions=Sa;Se.moduleName=Ma;Se.folderName=ml;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 Cc=require("react/jsx-runtime"),vc="k-actionsheet-container",sT=[],dT={},cT={},Tr=e=>{let{children:o,...t}=e;return(0,Cc.jsx)("div",{...t,className:vc,children:o})};Tr.states=sT;Tr.options=dT;Tr.className=vc;Tr.defaultOptions=cT;Tr.moduleName=Ma;Tr.folderName=ml;var Lc=require("react/jsx-runtime"),Li=e=>{let{...o}=e;return(0,Lc.jsx)("div",{...o,className:a(e.className,"k-list-ul"),children:e.children})};var Bo=require("react/jsx-runtime"),yi="k-actionsheet-item",pT=[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,yi,I(yi,{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=pT;Gt.className=yi;var yc=require("react/jsx-runtime");var mT=require("react/jsx-runtime");var uT=require("react/jsx-runtime");var bT=require("react/jsx-runtime");var Ce=require("react/jsx-runtime"),fT=Se.options,TT=Se.states,Sc={...Se.defaultOptions,variant:"normal"},gT=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],hT=[{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}={...Sc,...e},l={},s=(0,Ce.jsxs)(Li,{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=fT;gr.states=TT;gr.variants=gT;gr.defaultOptions=Sc;gr.modifiers=hT;gr.className=Se.className;var bl=$s(require("react"));var Mi=require("react/jsx-runtime"),xT="k-list-group-sticky-header",Si=e=>(0,Mi.js