@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 195 kB
JavaScript
var r=(...e)=>e.filter(o=>o!==!0&&!!o).map(o=>Array.isArray(o)?r(...o):typeof o=="object"?Object.keys(o).map((t,a)=>o[a]||o[t]&&t||null).filter(t=>t!==null).join(" "):o).filter(o=>!!o).join(" ");var M=(e,o)=>r({[`${e}-xs`]:o.size==="xsmall",[`${e}-sm`]:o.size==="small",[`${e}-md`]:o.size==="medium",[`${e}-lg`]:o.size==="large",[`${e}-xl`]:o.size==="xlarge",[`${e}-xxl`]:o.size==="xxlarge",[`${e}-xxxl`]:o.size==="xxxlarge"},{[`${e}-${o.fillMode}`]:o.fillMode},{[`${e}-${o.themeColor}`]:o.themeColor},{"k-rounded-sm":o.rounded==="small","k-rounded-md":o.rounded==="medium","k-rounded-lg":o.rounded==="large","k-rounded-full":o.rounded==="full","k-rounded-none":o.rounded==="none"}),y=(e,o)=>{let{valid:t,invalid:a,hover:l,focus:n,checked:d,active:m,selected:b,disabled:N,indeterminate:x,loading:k,empty:u,readonly:v,highlighted:C,...I}=o;return r({"k-valid":t,"k-invalid":a,"k-hover":l,"k-focus":n,"k-checked":d,"k-active":m,"k-selected":b,"k-disabled":N,"k-indeterminate":x&&!d,"k-loading":k,"k-empty":u,"k-readonly":v,"k-highlighted":C},Object.keys(I).reduce((E,G)=>(G.startsWith("k-")?E[G]=I[G]:E[`k-${G}`]=I[G],E),{}))};function Tn(e,o){if(!o)return{};let t=Array.isArray(o)?o:[o];return Object.fromEntries(t.map(a=>[`k-${a}`,!0]))}var s={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},g={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},h={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Eo={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},w={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 P(e){return ml[e]=(ml[e]||0)+1,`k-${e}-${ml[e]}`}var Z="grid",oe=Z;import{jsx as Fc,jsxs as $c}from"react/jsx-runtime";var Tr="k-grid",Bc=[],zc={size:[s.undefined,s.small,s.medium,s.large]},Uc=[],gn={pagerPosition:"bottom"},O=e=>{let{size:o,pagerPosition:t=gn.pagerPosition,toolbar:a,pager:l,groupingHeader:n,gridSelectionAggregates:d,_renderAriaRoot:m,resizable:b,ariaColCount:N,ariaRowCount:x,ariaRootId:k,ariaRole:u="grid",...v}=e;return $c("div",{...v,className:r(e.className,Tr,{[`${Tr}-resizable`]:b},M(Tr,{size:o})),children:[a,t==="top"&&l,n,e.children&&m?Fc("div",{className:"k-grid-aria-root",role:u,id:k,"aria-colcount":N,"aria-rowcount":x,children:e.children}):e.children,d,t==="bottom"&&l]})};O.states=Bc;O.options=zc;O.variants=Uc;O.className=Tr;O.defaultOptions=gn;O.moduleName=Z;O.folderName=oe;O.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."}]};import{jsx as Vc}from"react/jsx-runtime";var hn="k-grid-header",J=e=>{let{draggable:o,...t}=e;return Vc("div",{...t,className:r(e.className,hn,{"k-grid-draggable-header":o}),children:e.children})};J.className=hn;J.moduleName=Z;J.folderName=oe;import{jsx as xn,jsxs as Wc}from"react/jsx-runtime";var Nn="k-grouping-header",Ee=e=>{let{dropHint:o,dropClue:t,...a}=e;return Wc("div",{...a,className:r(e.className,Nn),children:[t&&xn("div",{className:"k-grouping-dropclue"}),e.children,xn("div",{className:"k-grouping-drop-container",children:o})]})};Ee.className=Nn;Ee.moduleName=Z;Ee.folderName=oe;import{jsx as Xc}from"react/jsx-runtime";var kn="k-grid-pinned-container",Bt=e=>{let{position:o,...t}=e;return Xc("div",{...t,className:r(e.className,kn,{"k-pos-bottom":o==="bottom"}),children:e.children})};Bt.className=kn;Bt.moduleName=Z;Bt.folderName=oe;import{jsx as Jc}from"react/jsx-runtime";var vn="k-grid-sticky-container",Ka=e=>{let{position:o,...t}=e;return Jc("div",{...t,className:r(e.className,vn,{"k-pos-bottom":o==="bottom"}),children:e.children})};Ka.className=vn;Ka.moduleName=Z;Ka.folderName=oe;var Se="table",Ge=Se;import{jsx as Zc}from"react/jsx-runtime";var wn="k-data-table",qc=[],Yc={size:[s.undefined,s.small,s.medium,s.large]},Qc={},Bo=e=>{let{size:o,...t}=e;return Zc("div",{...t,className:r(e.className,wn,M("k-table",{size:o})),children:e.children})};Bo.states=qc;Bo.options=Yc;Bo.className=wn;Bo.defaultOptions=Qc;Bo.moduleName=Se;Bo.folderName=Ge;import{jsx as tp}from"react/jsx-runtime";var ul="k-table-header-wrap",jc=[i.hover,i.focus,i.disabled],ep={},op={},et=e=>{let{children:o,hover:t,focus:a,disabled:l,...n}=e;return tp("div",{...n,className:r(e.className,ul,y(ul,{hover:t,focus:a,disabled:l})),children:o})};et.states=jc;et.options=ep;et.className=ul;et.defaultOptions=op;et.moduleName=Se;et.folderName=Ge;import{jsx as ip}from"react/jsx-runtime";var bl="k-table",ap=[],rp={size:[s.undefined,s.small,s.medium,s.large]},lp={},Oe=e=>{let{size:o,...t}=e;return ip("table",{...t,className:r(e.className,bl,M(bl,{size:o})),children:e.children})};Oe.states=ap;Oe.options=rp;Oe.className=bl;Oe.defaultOptions=lp;Oe.moduleName=Se;Oe.folderName=Ge;import{jsx as fl}from"react/jsx-runtime";var Tl="k-table-header",np=[i.hover,i.focus,i.disabled],sp={},dp={},zo=e=>{let{children:o,hover:t,focus:a,disabled:l,...n}=e;return fl("div",{...n,className:r(e.className,Tl,y(Tl,{hover:t,focus:a,disabled:l})),children:fl(et,{children:fl(Oe,{children:o})})})};zo.states=np;zo.options=sp;zo.className=Tl;zo.defaultOptions=dp;zo.moduleName=Se;zo.folderName=Ge;import{jsx as up}from"react/jsx-runtime";var Cn="k-table-scroller",cp=[],pp={},mp={},zt=e=>{let{children:o,...t}=e;return up("div",{...t,className:r(e.className,Cn),children:o})};zt.states=cp;zt.options=pp;zt.className=Cn;zt.defaultOptions=mp;zt.moduleName=Se;zt.folderName=Ge;import{jsx as tk}from"react/jsx-runtime";import{jsx as gp}from"react/jsx-runtime";var Ln="k-table-footer",bp=[],fp={},Tp={},ot=e=>{let{children:o,...t}=e;return gp("div",{...t,className:r(e.className,Ln),children:o})};ot.states=bp;ot.options=fp;ot.className=Ln;ot.defaultOptions=Tp;ot.moduleName=Se;ot.folderName=Ge;import{jsx as kp}from"react/jsx-runtime";var gl="k-table-list",hp=[],xp={size:[s.undefined,s.small,s.medium,s.large]},Np={},tt=e=>{let{size:o,virtualization:t,...a}=e;return kp("ul",{...a,className:r(e.className,"k-table",gl,M(gl,{size:o}),{"k-virtual-table":t}),children:e.children})};tt.states=hp;tt.options=xp;tt.className=gl;tt.defaultOptions=Np;tt.moduleName=Se;tt.folderName=Ge;import{jsx as wp}from"react/jsx-runtime";var vp="k-table-thead",F=e=>wp("thead",{className:r(e.className,vp),children:e.children});import{jsx as Lp}from"react/jsx-runtime";var Cp="k-table-tbody",q=e=>Lp("tbody",{className:r(e.className,Cp),children:e.children});import{jsx as Nk}from"react/jsx-runtime";import{jsx as yp}from"react/jsx-runtime";var hl="k-table-row",Mp=[i.hover,i.focus,i.selected,i.disabled,i.highlighted],L=e=>{let{hover:o,focus:t,selected:a,highlighted:l,disabled:n,alt:d,...m}=e;return yp("tr",{...m,className:r(e.className,hl,{"k-table-alt-row":d},y(hl,{hover:o,focus:t,disabled:n,selected:a,highlighted:l})),children:e.children})};L.states=Mp;L.className=hl;import{jsx as Ap}from"react/jsx-runtime";var xl="k-table-row",Sp=[i.hover,i.focus,i.selected,i.disabled],gr=e=>{let{hover:o,focus:t,selected:a,disabled:l,alt:n,...d}=e;return Ap("li",{...d,className:r(e.className,xl,{"k-table-alt-row":n},y(xl,{hover:o,focus:t,disabled:l,selected:a})),children:e.children})};gr.states=Sp;gr.className=xl;import{jsx as Ip}from"react/jsx-runtime";var Mn="k-table-th",Uo=e=>{let{text:o,colspan:t,rowspan:a,...l}=e,n=o||e.children;return Ip("th",{colSpan:t,rowSpan:a,...l,className:r(e.className,Mn),children:n})};Uo.className=Mn;Uo.moduleName=Se;Uo.folderName=Ge;import{jsx as Ok}from"react/jsx-runtime";import{jsx as Ep}from"react/jsx-runtime";var Nl="k-table-td",Rp=[i.focus,i.selected,i.highlighted],c=e=>{let{focus:o,selected:t,highlighted:a,text:l,colspan:n,rowspan:d,...m}=e,b=l||e.children;return Ep("td",{colSpan:n,rowSpan:d,...m,className:r(e.className,Nl,y(Nl,{focus:o,selected:t,highlighted:a})),children:b})};c.states=Rp;c.className=Nl;import{jsx as zk}from"react/jsx-runtime";import{jsx as Vk}from"react/jsx-runtime";import{jsx as qk}from"react/jsx-runtime";import{jsx as jk}from"react/jsx-runtime";import{jsx as av}from"react/jsx-runtime";import{jsx as cv,jsxs as pv}from"react/jsx-runtime";import{jsx as fv,jsxs as Tv}from"react/jsx-runtime";import{jsx as Nv,jsxs as kv}from"react/jsx-runtime";import{Fragment as yv,jsx as Lv,jsxs as Mv}from"react/jsx-runtime";import{jsx as Hp}from"react/jsx-runtime";var An="k-grid-header-table",Y=e=>Hp(Oe,{...e,className:r(e.className,An),children:e.children});Y.className=An;Y.moduleName=Z;Y.folderName=oe;import{Fragment as Dp,jsx as In}from"react/jsx-runtime";var kl="k-font-icon",Pp=[],_p={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[w.undefined,w.base,w.primary,w.secondary,w.tertiary,w.success,w.warning,w.error,w.info]},Kp={},Da=e=>{let{size:o,themeColor:t,icon:a,rotate:l,flip:n,...d}=e;return a?In("span",{...d,className:r(e.className,kl,M(kl,{size:o}),{[`k-i-${a}`]:a,[`k-color-${t}`]:t,[`k-rotate-${l}`]:l,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true"}):In(Dp,{})};Da.states=Pp;Da.options=_p;Da.className=kl;Da.defaultOptions=Kp;var Rn=Da;import{Fragment as Up,jsx as hr}from"react/jsx-runtime";var vl="k-svg-icon",Bp=[],zp={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[w.undefined,w.base,w.primary,w.secondary,w.tertiary,w.success,w.warning,w.error,w.info],variant:[Eo.outline,Eo.solid,Eo.duotone]},wl={viewBox:"0 0 24 24",variant:Eo.outline},Ba=e=>{let{size:o,themeColor:t,rotate:a,flip:l,viewBox:n=wl.viewBox,variant:d=wl.variant,icon:m,...b}=e;if(!m)return hr(Up,{});if(m==="none")return hr("span",{...b,className:r(e.className,vl,M("k-icon",{size:o}),"k-none"),"aria-hidden":"true"});let N=typeof m=="object"&&m.name&&m.name,x=typeof m=="object"?d&&m.variants?.[d]||m.variants?.outline||m.content:void 0;return hr("span",{...b,className:r(e.className,vl,M("k-icon",{size:o}),{[`k-svg-i-${N}`]:N,[`k-color-${t}`]:t,[`k-rotate-${a}`]:a,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true",children:hr("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:n,dangerouslySetInnerHTML:x!==void 0?{__html:x}:void 0,children:m?void 0:e.children})})};Ba.states=Bp;Ba.options=zp;Ba.className=vl;Ba.defaultOptions=wl;var Cl=Ba;import*as Ll from"@progress/kendo-svg-icons";var En="icon",Gn="icons";import{useContext as $p}from"react";import{createContext as Fp}from"react";var On=Fp({iconsType:"svg"});import{Fragment as Hn,jsx as za}from"react/jsx-runtime";var xr="k-icon",Vp=e=>e.replace(/([-_][a-z0-9])/gi,o=>o.toUpperCase().replace("-","").replace("_","")),Wp=[],Xp={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[w.undefined,w.base,w.primary,w.secondary,w.tertiary,w.success,w.warning,w.error,w.info],variant:[Eo.outline,Eo.solid,Eo.duotone]},Nr={viewBox:"0 0 24 24",type:"svg",variant:Eo.outline},f=e=>{let{iconsType:o}=$p(On),{size:t,themeColor:a,icon:l,type:n=o||Nr.type,rotate:d,flip:m,viewBox:b=Nr.viewBox,variant:N=Nr.variant,...x}=e;if(!l)return za(Hn,{});if((o||n)==="svg"){if(l==="none")return za(Cl,{...x,className:r(e.className,xr),icon:l,size:t,variant:N});let u=Ll[l]?l:Vp(`${l}-icon`);return Ll[u]?za(Cl,{...x,className:r(e.className,xr),icon:Ll[u],size:t,themeColor:a,rotate:d,flip:m,viewBox:b,variant:N}):za(Hn,{})}return za(Rn,{...x,className:r(e.className,xr),icon:l,size:t,themeColor:a,rotate:d,flip:m})};f.states=Wp;f.options=Xp;f.defaultOptions=Nr;f.className=xr;f.moduleName=En;f.folderName=Gn;f.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."}]};import{jsx as at,jsxs as Ml}from"react/jsx-runtime";var yl="k-header",Jp=[i.hover,i.focus,i.active],Pn={sortIcon:"sort-asc-small"},A=e=>{let{menu:o,sortable:t,filterable:a,sticky:l,resizable:n,columnTitle:d,hover:m,focus:b,active:N,sortIcon:x=Pn.sortIcon,sortOrder:k,accessibleLabel:u,...v}=e;return Ml(Uo,{...v,className:r(e.className,yl,{"k-filterable":o||a,"k-sorted":t,"k-grid-header-sticky":l,"k-touch-action-none":n},y(yl,{hover:m,focus:b,active:N})),children:[d&&Ml("span",{className:"k-cell-inner",children:[Ml("span",{className:"k-link",children:[at("span",{className:"k-column-title",children:d}),t&&at("span",{className:"k-sort-icon",children:at(f,{icon:x})}),k&&at("span",{className:"k-sort-order",children:k})]}),o&&at("a",{className:r("k-grid-header-menu",{"k-active":N,"k-grid-filter-menu":o==="filter","k-grid-column-menu":o==="column"}),children:at(f,{icon:o==="filter"?"filter":"more-vertical"})})]}),!d&&u&&at("span",{className:"k-sr-only",children:u}),e.children,n&&at("span",{className:"k-column-resizer k-touch-action-none"})]})};A.states=Jp;A.className=yl;A.defaultOptions=Pn;A.moduleName=Z;A.folderName=oe;import{jsx as qp}from"react/jsx-runtime";var _n="k-grid-container",$=e=>qp("div",{...e,className:r(e.className,_n),children:e.children});$.className=_n;$.moduleName=Z;$.folderName=oe;import{jsx as Yp}from"react/jsx-runtime";var Kn="k-grid-content",V=e=>Yp("div",{...e,className:r(e.className,Kn),children:e.children});V.className=Kn;V.moduleName=Z;V.folderName=oe;import{jsx as Qp}from"react/jsx-runtime";var Dn="k-grid-table",U=e=>Qp(Oe,{...e,className:r(e.className,Dn),children:e.children});U.className=Dn;U.moduleName=Z;U.folderName=oe;import{jsx as Zp}from"react/jsx-runtime";var Bn="k-grid-footer",kr=e=>Zp("div",{...e,className:r(e.className,Bn),children:e.children});kr.className=Bn;kr.moduleName=Z;kr.folderName=oe;import{jsx as jp}from"react/jsx-runtime";var zn="k-grid-footer-table",vr=e=>jp(Oe,{...e,className:r(e.className,zn),children:e.children});vr.className=zn;vr.moduleName=Z;vr.folderName=oe;var Sl="button",Un=Sl;import{Fragment as Fn,jsx as Ut,jsxs as $n}from"react/jsx-runtime";var Ua="k-button",em=["icon-button"],om=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],tm={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:[w.undefined,w.base,w.primary,w.secondary,w.tertiary,w.success,w.warning,w.error,w.info,w.inverse]},Al={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:o="button",size:t,rounded:a,fillMode:l,themeColor:n,showArrow:d=Al.showArrow,arrowIconName:m=Al.arrowIconName,variant:b,hover:N,focus:x,active:k,selected:u,disabled:v,togglable:C,ariaDisabled:I,icon:E,iconSize:G,text:B,iconClassName:he,className:ce,...Ke}=e,De=E!=null,Be=e.children!==void 0;return $n(o,{className:r(ce,Ua,Tn(Ua,b),M(Ua,{size:t,rounded:a,fillMode:l,themeColor:n}),y(Ua,{hover:N,focus:x,active:k,disabled:v||I,selected:u}),{"k-icon-button":!B&&!Be&&De}),"aria-pressed":C?u?"true":"false":void 0,...Ke,"aria-disabled":I?"true":void 0,disabled:v||void 0,children:[typeof E=="string"&&E&&Ut(f,{className:r(he,"k-button-icon"),icon:E,size:G}),E&&typeof E!="string"&&Ut(Fn,{children:E}),B?$n(Fn,{children:[B&&Ut("span",{className:"k-button-text",children:B}),e.children]}):e.children&&Ut("span",{className:"k-button-text",children:e.children}),d&&Ut("span",{className:"k-menu-button-arrow k-button-arrow",children:Ut(f,{icon:m})})]})};p.states=om;p.options=tm;p.variants=em;p.className=Ua;p.defaultOptions=Al;p.moduleName=Sl;p.folderName=Un;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."}]};import{jsx as am}from"react/jsx-runtime";var rt=e=>am(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as rm}from"react/jsx-runtime";var Fa=e=>rm(p,{icon:"folder",children:"Button",...e});import{jsx as lm}from"react/jsx-runtime";var vt=e=>lm(p,{children:"Button",...e});import{jsx as Il}from"react/jsx-runtime";var im=p.options,nm=p.states,sm={...p.defaultOptions,variant:"text"},dm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],cm=[],Ft=e=>{let{variant:o,...t}=e;switch(o){case"icon-only":return Il(rt,{...t,icon:"star"});case"icon-and-text":return Il(Fa,{...t,icon:"star",children:"Button"});default:return Il(vt,{...t,children:"Button"})}};Ft.options=im;Ft.states=nm;Ft.variants=dm;Ft.defaultOptions=sm;Ft.modifiers=cm;Ft.className=p.className;var $a="input",wr=$a;import{jsx as bm}from"react/jsx-runtime";var Cr="k-input",pm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],mm={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]},um={},we=e=>{let{hover:o,focus:t,disabled:a,invalid:l,valid:n,loading:d,readonly:m,size:b,rounded:N,fillMode:x,...k}=e;return bm("span",{...k,className:r(e.className,Cr,M(Cr,{size:b,rounded:N,fillMode:x}),y(Cr,{hover:o,focus:t,disabled:a,invalid:l,valid:n,loading:d,readonly:m}))})};we.states=pm;we.options=mm;we.className=Cr;we.defaultOptions=um;we.moduleName=$a;we.folderName=wr;import{jsx as hm}from"react/jsx-runtime";var Lr="k-picker",fm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Tm={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]},gm={},Go=e=>{let{hover:o,focus:t,disabled:a,invalid:l,valid:n,loading:d,readonly:m,size:b,rounded:N,fillMode:x,...k}=e;return hm("span",{...k,className:r(e.className,Lr,M(Lr,{size:b,rounded:N,fillMode:x}),y(Lr,{hover:o,focus:t,disabled:a,invalid:l,valid:n,loading:d,readonly:m})),children:e.children})};Go.states=fm;Go.options=Tm;Go.className=Lr;Go.defaultOptions=gm;Go.moduleName=$a;Go.folderName=wr;import{Fragment as km,jsx as Rl}from"react/jsx-runtime";var Vn="k-clear-value",xm=[i.disabled,i.loading,i.readonly],Nm={},ao=e=>{let{disabled:o,loading:t,readonly:a,value:l}=e;return o||a||t||!l?Rl(km,{}):Rl("span",{className:r(e.className,Vn),children:Rl(f,{icon:"x"})})};ao.states=xm;ao.options=Nm;ao.className=Vn;import{jsx as Cm}from"react/jsx-runtime";var El="k-input-inner",vm=[],wm={},Mr={type:"text",autocomplete:"off",value:"",placeholder:""},ro=e=>{let{value:o=Mr.value,type:t=Mr.type,placeholder:a=Mr.placeholder,autocomplete:l=Mr.autocomplete,disabled:n,readOnly:d,...m}=e;return Cm("input",{...m,type:t,className:r(e.className,El,M(El,e)),placeholder:a,autoComplete:l,defaultValue:o,disabled:n||void 0,readOnly:d||void 0})};ro.states=vm;ro.options=wm;ro.className=El;import{jsx as Wn,jsxs as ym}from"react/jsx-runtime";var Gl="k-input-inner",Lm=[],Mm={},wt=e=>{let{value:o,placeholder:t,showValue:a,valueIcon:l,valueIconName:n,...d}=e;return ym("span",{...d,className:r(e.className,Gl,M(Gl,e)),children:[l,!l&&n&&Wn(f,{className:"k-input-value-icon",icon:n}),a&&!o&&t,a&&o&&Wn("span",{className:"k-input-value-text",children:o})]})};wt.states=Lm;wt.options=Mm;wt.className=Gl;import{jsx as Im}from"react/jsx-runtime";var Ol="k-input-inner",Sm=[],Am={},Xn={value:"",placeholder:""},Hl=e=>{let{value:o=Xn.value,placeholder:t=Xn.placeholder,rows:a,disabled:l,...n}=e;return Im("textarea",{...n,className:r(e.className,Ol,M(Ol,e)),placeholder:t,rows:a,defaultValue:o,disabled:l||void 0})};Hl.states=Sm;Hl.options=Am;Hl.className=Ol;import{Fragment as Em,jsx as Jn}from"react/jsx-runtime";var qn="k-input-loading-icon",Rm=[i.disabled,i.loading],Ze=e=>{let{disabled:o,loading:t}=e;return o||!t?Jn(Em,{}):Jn("span",{className:r(e.className,qn,"k-icon k-i-loading")})};Ze.states=Rm;Ze.className=qn;import{Fragment as Hm,jsx as Yn}from"react/jsx-runtime";var Qn="k-input-validation-icon",Gm=[i.valid,i.invalid,i.disabled,i.loading],Om={},ze=e=>{let{valid:o,invalid:t,disabled:a,loading:l}=e,n=t?"warning-circle":"check-circle";return a||l||!!!(o||t)?Yn(Hm,{}):Yn(f,{className:r(Qn),icon:n})};ze.states=Gm;ze.options=Om;ze.className=Qn;import{Fragment as Km,jsx as Zn}from"react/jsx-runtime";var Pm="k-input-prefix",_m={direction:"horizontal"},uo=e=>{let{direction:o=_m.direction,...t}=e;return e.children?Zn("span",{...t,className:r(Pm,e.className,{[`k-input-prefix-${o}`]:o}),children:e.children}):Zn(Km,{})};import{Fragment as zm,jsx as jn}from"react/jsx-runtime";var Dm="k-input-suffix",Bm={direction:"horizontal"},bo=e=>{let{direction:o=Bm.direction,...t}=e;return e.children?jn("span",{...t,className:r(Dm,e.className,{[`k-input-suffix-${o}`]:o}),children:e.children}):jn(zm,{})};import{jsx as gL}from"react/jsx-runtime";import{jsx as Fm}from"react/jsx-runtime";var Um="k-input-suffix-text",Pl=e=>{let{children:o,...t}=e;return Fm("span",{...t,className:r(Um,e.className),children:o})};import{jsx as Vm}from"react/jsx-runtime";var es="k-input-separator",$m={direction:"vertical"},fo=e=>{let{direction:o=$m.direction,...t}=e;return Vm("span",{...t,className:r(es,e.className,{[`${es}-${o}`]:o})})};import{Fragment as os,jsx as Oo,jsxs as _l}from"react/jsx-runtime";var Wm=we.states,Xm=we.defaultOptions,Jm=we.options,qm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Ym=[],$t=e=>{let{modifiers:o,valid:t,invalid:a,loading:l,disabled:n,readonly:d,...m}=e,b=o?.prefix,N=o?.suffix,x=o?.["clear-button"],k=o?.["validation-icon"],u=o?.separators;return _l(we,{...m,valid:t,invalid:a,loading:l,disabled:n,readonly:d,style:{width:300},children:[b&&_l(os,{children:[Oo(uo,{children:Oo(f,{icon:"lock"})}),u&&Oo(fo,{})]}),Oo(ro,{placeholder:"Placeholder",value:"Value"}),k&&Oo(ze,{valid:t,invalid:a,loading:l,disabled:n}),Oo(Ze,{loading:l,disabled:n}),x&&Oo(ao,{loading:l,disabled:n,readonly:d,value:"Value"}),N&&_l(os,{children:[u&&Oo(fo,{}),Oo(bo,{children:Oo(vt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};$t.options=Jm;$t.states=Wm;$t.variants=Ym;$t.defaultOptions=Xm;$t.modifiers=qm;$t.className=we.className;var Kl="popup",ts=Kl;import{jsx as as}from"react/jsx-runtime";var rs="k-animation-container",Qm=[],Zm={},Dl={positionMode:"absolute",shown:!0},Ho=e=>{let{positionMode:o=Dl.positionMode,shown:t=Dl.shown,animationStyle:a,offset:l,...n}=e;return as("div",{...n,style:{...l,...e.style},className:r(e.className,rs,{"k-animation-container-shown":t,"k-animation-container-fixed":o==="fixed"}),children:as("div",{className:"k-child-animation-container",style:a,children:e.children})})};Ho.states=Qm;Ho.options=Zm;Ho.className=rs;Ho.defaultOptions=Dl;Ho.moduleName=Kl;Ho.folderName=ts;var Bl="popup",ls=Bl;import{jsx as is}from"react/jsx-runtime";var ns="k-popup",jm=[],eu={},ss={positionMode:"absolute"},re=e=>{let{offset:o,positionMode:t=ss.positionMode,animationStyle:a,containerClassName:l,containerRole:n,containerAriaLabel:d,...m}=e;return is(Ho,{positionMode:t,offset:o,animationStyle:a,className:l,role:n,"aria-label":d,children:is("div",{...m,className:r(e.className,ns),children:e.children})})};re.states=jm;re.options=eu;re.className=ns;re.defaultOptions=ss;re.moduleName=Bl;re.folderName=ls;re.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var zl="action-buttons",ds=zl;import{jsx as au}from"react/jsx-runtime";var yr="k-actions",ou=[],tu={},Ul={alignment:"start",orientation:"horizontal"},To=e=>{let{alignment:o=Ul.alignment,orientation:t=Ul.orientation,...a}=e;return au("div",{...a,className:r(yr,{[`${yr}-${o}`]:o,[`${yr}-${t}`]:t},e.className),children:e.children})};To.states=ou;To.options=tu;To.className=yr;To.defaultOptions=Ul;To.moduleName=zl;To.folderName=ds;import{jsx as lu}from"react/jsx-runtime";var ru="k-actionsheet-footer",cs={alignment:"stretched",orientation:"horizontal"},lt=e=>{let{alignment:o=cs.alignment,orientation:t=cs.orientation,template:a,as:l=a?"div":To,...n}=e;return lu(l,{...n,...!a&&{alignment:o,orientation:t},className:r(e.className,ru),children:e.children})};var Fl="searchbox",ps=Fl;import{jsx as Va,jsxs as su}from"react/jsx-runtime";var ms="k-searchbox",iu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],nu={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]},$l={showIcon:!0,icon:"search"},lo=e=>{let{value:o,placeholder:t,size:a,rounded:l,fillMode:n,hover:d,focus:m,valid:b,invalid:N,required:x,loading:k,disabled:u,showIcon:v=$l.showIcon,icon:C=$l.icon,"aria-label":I,...E}=e;return su(we,{...E,size:a,rounded:l,fillMode:n,hover:d,focus:m,valid:b,invalid:N,required:x,loading:k,disabled:u,className:r(e.className,ms),children:[v&&Va(f,{className:"k-input-icon",icon:C}),Va(ro,{placeholder:t,value:o,"aria-label":I}),Va(Ze,{...e}),Va(ze,{...e}),Va(ao,{...e})]})};lo.states=iu;lo.options=nu;lo.className=ms;lo.defaultOptions=$l;lo.moduleName=Fl;lo.folderName=ps;import{jsx as PM}from"react/jsx-runtime";var Vl="textbox",us=Vl;import{Fragment as bs,jsx as it,jsxs as Wl}from"react/jsx-runtime";var fs="k-textbox",du=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],cu={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]},Sr={showClearButton:!0,showValidationIcon:!0,separators:!0},ue=e=>{let{size:o,rounded:t,fillMode:a,separators:l=Sr.separators,showClearButton:n=Sr.showClearButton,showValidationIcon:d=Sr.showValidationIcon,prefix:m,suffix:b,type:N,value:x,placeholder:k,hover:u,focus:v,valid:C,invalid:I,required:E,loading:G,disabled:B,readonly:he,id:ce,"aria-label":Ke,"aria-describedby":De,...Be}=e;return Wl(we,{...Be,size:o,rounded:t,fillMode:a,hover:u,focus:v,valid:C,invalid:I,required:E,loading:G,disabled:B,readonly:he,className:r(e.className,fs),children:[m&&Wl(bs,{children:[it(uo,{children:m}),l&&it(fo,{})]}),it(ro,{id:ce,placeholder:k,value:x,type:N,disabled:B,"aria-label":Ke,"aria-describedby":De,"aria-invalid":I?"true":void 0}),d&&it(ze,{valid:C,invalid:I,loading:G,disabled:B}),it(Ze,{loading:G,disabled:B}),n&&it(ao,{loading:G,disabled:B,readonly:he,value:x}),b&&Wl(bs,{children:[l&&it(fo,{}),it(bo,{children:b})]})]})};ue.states=du;ue.options=cu;ue.className=fs;ue.defaultOptions=Sr;ue.moduleName=Vl;ue.folderName=us;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 Wa=ue;import{jsx as pu}from"react/jsx-runtime";var Ts=e=>pu(Wa,{...e});import{Fragment as ey,jsx as jM}from"react/jsx-runtime";import{Fragment as iy,jsx as ly}from"react/jsx-runtime";import{jsx as cy}from"react/jsx-runtime";import{jsx as Xl}from"react/jsx-runtime";var mu=ue.states,uu=ue.defaultOptions,bu=ue.options,fu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Tu=[],Vt=e=>{let{modifiers:o,...t}=e,a={};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":a.prefix=o?.[l]?Xl(f,{icon:"lock"}):void 0;break;case"suffix":a.suffix=o?.[l]?Xl(vt,{size:t.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=o?.[l];break;default:break}}),Xl(Ts,{value:"Value",style:{width:300},...t,...a})};Vt.options=bu;Vt.states=mu;Vt.variants=Tu;Vt.defaultOptions=uu;Vt.modifiers=fu;Vt.className=ue.className;import{jsx as nt,jsxs as Jl}from"react/jsx-runtime";var gs="k-actionsheet-titlebar",gu={},Ue=e=>{let{title:o,subtitle:t,actionsStart:a,actionsEnd:l,filter:n,input:d,inputValue:m,inputPlaceholder:b,adaptive:N,titleId:x,children:k,...u}=e;return Jl("div",{...u,className:r(e.className,gs),children:[Jl("div",{className:"k-actionsheet-titlebar-group",children:[a&&nt("div",{className:"k-actionsheet-actions",children:a}),!k&&Jl("div",{className:"k-actionsheet-title",id:x,children:[o&&nt("div",{className:"k-text-center",children:o}),t&&nt("div",{className:"k-actionsheet-subtitle k-text-center",children:t})]}),k&&nt("div",{className:"k-actionsheet-title",id:x,children:k}),l&&nt("div",{className:"k-actionsheet-actions",children:l})]}),(d||n)&&nt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?nt(ue,{value:m,placeholder:b,size:N?"large":"medium","aria-label":o||b||"Input"}):nt(lo,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};Ue.className=gs;Ue.defaultOptions=gu;import{jsx as ql,jsxs as ku}from"react/jsx-runtime";var Yl="k-actionsheet-view",hu=[],xu={},Nu={},Wt=e=>{let{adaptive:o,animated:t,children:a,header:l,footer:n,titleId:d,...m}=e,b=l?.type===Ue&&ql(Ue,{adaptive:o,titleId:d,...l?.props}),N=n?.type===lt&&ql(lt,{...n?.props});return ku("div",{...m,className:r(e.className,Yl,{[`${Yl}-animated`]:t}),children:[b,ql("div",{className:"k-actionsheet-content",children:a}),N]})};Wt.states=hu;Wt.options=xu;Wt.className=Yl;Wt.defaultOptions=Nu;var Xa="action-sheet",Ar=Xa;var Ql="overlay",hs=Ql;import{jsx as Lu}from"react/jsx-runtime";var xs="k-overlay",vu=[],wu={},Cu={},st=e=>{let{...o}=e;return Lu("div",{...o,className:r(e.className,xs),children:e.children})};st.states=vu;st.options=wu;st.className=xs;st.defaultOptions=Cu;st.moduleName=Ql;st.folderName=hs;import{jsx as Ir,jsxs as Su}from"react/jsx-runtime";var Ns="k-actionsheet",Mu=[],yu={},Ja={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Ne=e=>{let{side:o=Ja.side,fullscreen:t=Ja.fullscreen,adaptive:a=Ja.adaptive,overlay:l=Ja.overlay,template:n,children:d,header:m,footer:b,id:N,...x}=e,k=N&&!n&&m?`${N}-title`:void 0;return Su("div",{className:"k-actionsheet-container",children:[l&&Ir(st,{}),Ir(Ho,{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:Ir("div",{...x,id:N,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":k,className:r(e.className,Ns,{[`k-actionsheet-${o}`]:t===!1,"k-actionsheet-fullscreen":t===!0,"k-adaptive-actionsheet":a}),children:n||Ir(Wt,{header:m,footer:b,adaptive:a,titleId:k,...e,children:d})})})]})};Ne.states=Mu;Ne.options=yu;Ne.className=Ns;Ne.defaultOptions=Ja;Ne.moduleName=Xa;Ne.folderName=Ar;Ne.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."}]};import{jsx as Eu}from"react/jsx-runtime";var ks="k-actionsheet-container",Au=[],Iu={},Ru={},Xt=e=>{let{children:o,...t}=e;return Eu("div",{...t,className:ks,children:o})};Xt.states=Au;Xt.options=Iu;Xt.className=ks;Xt.defaultOptions=Ru;Xt.moduleName=Xa;Xt.folderName=Ar;import{jsx as Gu}from"react/jsx-runtime";var Zl=e=>{let{...o}=e;return Gu("div",{...o,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Hu,jsx as qa,jsxs as jl}from"react/jsx-runtime";var ei="k-actionsheet-item",Ou=[i.hover,i.focus,i.selected,i.disabled],dt=e=>{let{iconName:o,text:t,description:a,hover:l,focus:n,selected:d,disabled:m,...b}=e;return jl("span",{...b,className:r(e.className,ei,y(ei,{hover:l,focus:n,selected:d,disabled:m})),children:[!e.children&&qa(Hu,{children:jl("span",{className:"k-actionsheet-action",children:[o&&qa("span",{className:"k-icon-wrap",children:qa(f,{className:"k-actionsheet-item-icon",icon:o})}),jl("span",{className:"k-actionsheet-item-text",children:[t&&qa("span",{className:"k-actionsheet-item-title",children:t}),a&&qa("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};dt.states=Ou;dt.className=ei;import{jsx as dS,jsxs as cS}from"react/jsx-runtime";import{jsx as bS}from"react/jsx-runtime";import{jsx as hS}from"react/jsx-runtime";import{jsx as vS}from"react/jsx-runtime";import{jsx as Ae,jsxs as oi}from"react/jsx-runtime";var Pu=Ne.options,_u=Ne.states,ws={...Ne.defaultOptions,variant:"normal"},Ku=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Du=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Jt=e=>{let{variant:o,modifiers:t,...a}={...ws,...e},l={},n=oi(Zl,{children:[Ae(dt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),Ae(dt,{text:"Add to Favorites",iconName:"heart"}),Ae(dt,{text:"Upload New",iconName:"upload",disabled:!0}),Ae("hr",{className:"k-hr"}),Ae(dt,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",m="Select Item";return o==="fullScreen"&&(l.fullScreen=!0),Object.keys(t||{}).forEach(b=>{switch(b){case"actions":l.actionsStart=!!t?.[b],l.actionsEnd=!!t?.[b];break;case"subtitle":l.subtitle=t?.[b]?d:void 0;break;case"footer":l.footer=!!t?.[b];break;default:break}}),o==="adaptive"?Ae(Ne,{...a,adaptive:!0,fullscreen:l.fullScreen,header:Ae(Ue,{actionsStart:l.actionsStart?Ae(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?Ae(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:l.subtitle}),footer:l.footer?oi(lt,{alignment:"stretched",children:[Ae(p,{text:"Cancel",size:"large",themeColor:"base"}),Ae(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:n}):Ae(Ne,{...a,fullscreen:l.fullScreen,header:Ae(Ue,{actionsStart:l.actionsStart?Ae(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?Ae(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:l.subtitle}),footer:l.footer?oi(lt,{alignment:"stretched",children:[Ae(p,{text:"Apply",themeColor:"primary"}),Ae(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:n})};Jt.options=Pu;Jt.states=_u;Jt.variants=Ku;Jt.defaultOptions=ws;Jt.modifiers=Du;Jt.className=Ne.className;import ai from"react";import{jsx as Cs}from"react/jsx-runtime";var Bu="k-list-group-sticky-header",ti=e=>Cs("div",{className:r(Bu,e.className),children:Cs("div",{className:"k-list-header-text",children:e.children})});import{jsx as Uu}from"react/jsx-runtime";var zu="k-no-data",Rr=e=>{let{live:o,...t}=e;return Uu("span",{...t,className:r(zu,e.className),"aria-live":o?"polite":void 0,children:e.children})};var Ct="list",qt=Ct;import{jsx as Ls,jsxs as Ms}from"react/jsx-runtime";var ri="k-list",Fu=[],$u={size:[s.undefined,s.small,s.medium,s.large]},Vu={},te=e=>{let{size:o,virtualization:t,children:a,header:l,selectAll:n,optionLabel:d,customValue:m,noData:b,screenReaders:N,...x}=e,u=ai.Children.toArray(a)[0],v=u?.props?.children?ai.Children.count(u.props.children):ai.Children.count(a);return Ms("div",{...x,className:r(e.className,ri,M(ri,{size:o}),{"k-virtual-list":t}),children:[d,n,m,l&&Ls(ti,{children:l}),a||(b!==void 0?b:Ls(Rr,{live:!0,children:"No data found."})),N&&a&&Ms(Rr,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};te.states=Fu;te.options=$u;te.className=ri;te.defaultOptions=Vu;te.moduleName=Ct;te.folderName=qt;te.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};import{jsx as qu}from"react/jsx-runtime";var ys="k-list-container",Wu=[],Xu={},Ju={},Yt=e=>{let{...o}=e;return qu("div",{...o,className:r(e.classNa