UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

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