UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 109 kB
var Ys=Object.create;var Wo=Object.defineProperty;var Qs=Object.getOwnPropertyDescriptor;var Zs=Object.getOwnPropertyNames;var js=Object.getPrototypeOf,el=Object.prototype.hasOwnProperty;var tl=(e,t)=>{for(var o in t)Wo(e,o,{get:t[o],enumerable:!0})},nr=(e,t,o,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Zs(t))!el.call(e,a)&&a!==o&&Wo(e,a,{get:()=>t[a],enumerable:!(i=Qs(t,a))||i.enumerable});return e};var At=(e,t,o)=>(o=e!=null?Ys(js(e)):{},nr(t||!e||!e.__esModule?Wo(o,"default",{value:e,enumerable:!0}):o,e)),ol=e=>nr(Wo({},"__esModule",{value:!0}),e);var zu={};tl(zu,{PivotgridDemo:()=>ht,default:()=>Hu});module.exports=ol(zu);var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...t):typeof t=="object"?Object.keys(t).map((o,i)=>t[i]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var I=(e,t)=>n({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),S=(e,t)=>{let{valid:o,invalid:i,hover:a,focus:s,checked:l,active:c,selected:f,disabled:p,indeterminate:h,loading:N,empty:g,readonly:C,highlighted:A,...R}=t;return n({"k-valid":o,"k-invalid":i,"k-hover":a,"k-focus":s,"k-checked":l,"k-active":c,"k-selected":f,"k-disabled":p,"k-indeterminate":h&&!l,"k-loading":N,"k-empty":g,"k-readonly":C,"k-highlighted":A},Object.keys(R).reduce((w,M)=>(M.startsWith("k-")?w[M]=R[M]:w[`k-${M}`]=R[M],w),{}))};function sr(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(i=>[`k-${i}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},m={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},v={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Ue={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},L={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},r={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 Mi={};function y(e){return Mi[e]=(Mi[e]||0)+1,`k-${e}-${Mi[e]}`}var vo=require("react/jsx-runtime"),Ri="k-font-icon",il=[],al={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info]},rl={},No=e=>{let{size:t,themeColor:o,icon:i,rotate:a,flip:s,...l}=e;return i?(0,vo.jsx)("span",{...l,className:n(e.className,Ri,I(Ri,{size:t}),{[`k-i-${i}`]:i,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):(0,vo.jsx)(vo.Fragment,{})};No.states=il;No.options=al;No.className=Ri;No.defaultOptions=rl;var lr=No;var vt=require("react/jsx-runtime"),Oi="k-svg-icon",nl=[],sl={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[Ue.outline,Ue.solid,Ue.duotone]},Pi={viewBox:"0 0 24 24",variant:Ue.outline},go=e=>{var N,g;let{size:t,themeColor:o,rotate:i,flip:a,viewBox:s=Pi.viewBox,variant:l=Pi.variant,icon:c,...f}=e;if(!c)return(0,vt.jsx)(vt.Fragment,{});if(c==="none")return(0,vt.jsx)("span",{...f,className:n(e.className,Oi,I("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let p=typeof c=="object"&&c.name&&c.name,h=typeof c=="object"?l&&((N=c.variants)==null?void 0:N[l])||((g=c.variants)==null?void 0:g.outline)||c.content:void 0;return(0,vt.jsx)("span",{...f,className:n(e.className,Oi,I("k-icon",{size:t}),{[`k-svg-i-${p}`]:p,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":a==="h"||a==="both","k-flip-v":a==="v"||a==="both"}),"aria-hidden":"true",children:(0,vt.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:s,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:c?void 0:e.children})})};go.states=nl;go.options=sl;go.className=Oi;go.defaultOptions=Pi;var Ki=go;var Di=At(require("@progress/kendo-svg-icons"));var dr="icon",cr="icons";var ur=require("react");var pr=require("react"),mr=(0,pr.createContext)({iconsType:"svg"});var Qe=require("react/jsx-runtime"),Jo="k-icon",ll=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),dl=[],cl={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[Ue.outline,Ue.solid,Ue.duotone]},Yo={viewBox:"0 0 24 24",type:"svg",variant:Ue.outline},k=e=>{let{iconsType:t}=(0,ur.useContext)(mr),{size:o,themeColor:i,icon:a,type:s=t||Yo.type,rotate:l,flip:c,viewBox:f=Yo.viewBox,variant:p=Yo.variant,...h}=e;if(!a)return(0,Qe.jsx)(Qe.Fragment,{});if((t||s)==="svg"){if(a==="none")return(0,Qe.jsx)(Ki,{...h,className:n(e.className,Jo),icon:a,size:o,variant:p});let g=Di[a]?a:ll(`${a}-icon`);return Di[g]?(0,Qe.jsx)(Ki,{...h,className:n(e.className,Jo),icon:Di[g],size:o,themeColor:i,rotate:l,flip:c,viewBox:f,variant:p}):(0,Qe.jsx)(Qe.Fragment,{})}return(0,Qe.jsx)(lr,{...h,className:n(e.className,Jo),icon:a,size:o,themeColor:i,rotate:l,flip:c})};k.states=dl;k.options=cl;k.defaultOptions=Yo;k.className=Jo;k.moduleName=dr;k.folderName=cr;k.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 ko=require("react/jsx-runtime"),fr="k-pivotgrid-configurator-button",pl=[],ml={},ul={},Nt=e=>{let{...t}=e;return(0,ko.jsx)("div",{...t,className:n(e.className,fr),"aria-hidden":"true",children:(0,ko.jsxs)("span",{children:["Change settings",(0,ko.jsx)(k,{icon:"gear"})]})})};Nt.states=pl;Nt.options=ml;Nt.className=fr;Nt.defaultOptions=ul;var br=Nt;var xr=At(require("react"));var _i="pivotgrid",hr=_i;var ve=require("react/jsx-runtime"),vr="k-pivotgrid",fl=[],bl={},Qo={emptyCell:(0,ve.jsx)("div",{className:"k-pivotgrid-empty-cell",role:"none",children:(0,ve.jsx)("table",{role:"none",children:(0,ve.jsx)("thead",{role:"none",children:(0,ve.jsx)("tr",{role:"none",children:(0,ve.jsx)("th",{"aria-colspan":1,"aria-rowspan":1,id:y("pivotgrid-empty"),children:(0,ve.jsx)("span",{className:"k-sr-only",children:"PivotGrid component. Use the arrow keys to navigate."})})})})})}),configuratorDisplay:"none",configuratorPosition:"right"},Ne=e=>{let{emptyCell:t=Qo.emptyCell,configuratorDisplay:o=Qo.configuratorDisplay,configuratorPosition:i=Qo.configuratorPosition,configurator:a,columnHeaders:s,rowHeaders:l,children:c,...f}=e;return(0,ve.jsxs)("div",{className:{left:"k-d-flex k-flex-row-reverse k-pos-relative",bottom:"k-d-flex k-flex-col k-pos-relative",top:"k-d-flex k-flex-col-reverse k-pos-relative",right:"k-d-flex k-flex-row k-pos-relative"}[i],children:[(0,ve.jsxs)("div",{...f,className:n(e.className,vr),role:"grid",children:[t,(0,ve.jsx)("div",{className:"k-pivotgrid-column-headers",role:"none",children:s}),(0,ve.jsx)("div",{className:"k-pivotgrid-row-headers",role:"none",children:l}),(0,ve.jsx)("div",{className:"k-pivotgrid-values",role:"none",children:c})]}),a&&o==="opened"&&a,a&&o==="closed"&&xr.default.cloneElement(a,{"aria-hidden":"true"}),o!=="none"&&(0,ve.jsx)(br,{})]})};Ne.states=fl;Ne.options=bl;Ne.className=vr;Ne.defaultOptions=Qo;Ne.moduleName=_i;Ne.folderName=hr;Ne.ariaSpec={selector:".k-pivotgrid",rules:[{selector:".k-pivotgrid",attribute:"role=grid",usage:"The role specifies the element is a Data Grid."},{selector:".k-pivotgrid-empty-cell th",attribute:"id",usage:"Sets a unique identifier for the cell to be referenced from the first column header row aria-owns attribute."},{selector:".k-pivotgrid-column-headers>.k-pivotgrid-table",attribute:"role=none",usage:"Negates the default semantic role of the <table> element."},{selector:".k-pivotgrid-column-headers>.k-pivotgrid-table>tbody",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-pivotgrid-column-headers>.k-pivotgrid-table>tbody>.k-pivotgrid-row",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-pivotgrid-column-headers>.k-pivotgrid-table>tbody>.k-pivotgrid-row:first-child",attribute:"aria-owns",usage:"Lists the IDs of the empty cell and all cells in the first column headers row to construct the a11y tree."},{selector:".k-pivotgrid-column-headers>.k-pivotgrid-table>tbody>.k-pivotgrid-row>th",attribute:"role=columnheader",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-pivotgrid-column-headers>.k-pivotgrid-table>tbody>.k-pivotgrid-row>th",attribute:"aria-expanded (when expandable)",usage:"Indicates the current expanded state of the header."},{selector:".k-pivotgrid-column-headers>.k-pivotgrid-table>tbody>.k-pivotgrid-row>th",attribute:"id",usage:"Unique and deterministic identifier, used to associate the header cell with respective data cells."},{selector:'[class*="i-chevron-up"]',attribute:"aria-hidden=true",usage:"Excludes the collapse icon from the screen reader output."},{selector:'[class*="i-chevron-down"]',attribute:"aria-hidden=true",usage:"Excludes the expand icon from the screen reader output."},{selector:".k-pivotgrid-row-headers>.k-pivotgrid-table",attribute:"role=none",usage:"Negates the default semantic role of the <table> element."},{selector:".k-pivotgrid-row-headers>.k-pivotgrid-table>tbody",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-pivotgrid-row-headers>.k-pivotgrid-table>tbody>.k-pivotgrid-row",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-pivotgrid-row-headers>.k-pivotgrid-table>tbody>.k-pivotgrid-row",attribute:"aria-owns (when present)",usage:"Used to associate row header cells with the corresponding data cells."},{selector:".k-pivotgrid-row-headers>.k-pivotgrid-table>tbody>.k-pivotgrid-row>th",attribute:"role=rowheader",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-pivotgrid-row-headers>.k-pivotgrid-table>tbody>.k-pivotgrid-row>th",attribute:"aria-expanded (when expandable)",usage:"Indicates the current expanded state of the header."},{selector:".k-pivotgrid-values>.k-pivotgrid-table",attribute:"role=none",usage:"Negates the default semantic role of the <table> element."},{selector:".k-pivotgrid-values>.k-pivotgrid-table>tbody",attribute:"role=none",usage:"The contained rows are associated with their headers through alternative mechanics."},{selector:".k-pivotgrid-values>.k-pivotgrid-table>tbody>.k-pivotgrid-row",attribute:"role=none",usage:"The rows are associated with their headers through alternative mechanics."},{selector:".k-pivotgrid-values>.k-pivotgrid-table>tbody>.k-pivotgrid-row>td",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-pivotgrid-values>.k-pivotgrid-table>tbody>.k-pivotgrid-row>td",attribute:"id",usage:"Unique and deterministic identifier, used to associate the data cell with respective row header cells."},{selector:".k-pivotgrid-values>.k-pivotgrid-table>tbody>.k-pivotgrid-row>td",attribute:"aria-describedby (when present)",usage:"Used to associate the data cells with the respective column header cells."},{selector:".k-pivotgrid-configurator-button",attribute:"aria-hidden=true",usage:"Hide the element from assistive technologies."},{selector:".k-pivotgrid-configurator",attribute:"role=dialog",usage:"The role specifies the element is a dialog."},{selector:".k-pivotgrid-configurator",attribute:"aria-hidden (when closed)",usage:"Specifies whether the configurator is visible if it is still in the DOM when closed."},{selector:".k-pivotgrid-configurator",attribute:"aria-labelledby",usage:"Associates the configurator wrapper with its internal header element."},{selector:".k-pivotgrid-configurator-header-text",attribute:"id",usage:"Unique identifier used to associate the header text with elements that reference it as a label."},{selector:".k-pivotgrid-configurator-content .k-label",attribute:"id",usage:"Unique identifier used to associate the label text with elements that reference it as a label."},{selector:".k-pivotgrid-configurator-actions .k-button.k-disabled",attribute:"aria-disabled=true (when disabled)",usage:"Announces the non-interactive state of the configurator Cancel and Apply buttons."},{selector:".k-fields-list-wrapper .k-treeview",attribute:"aria-labelledby",usage:"Associates the fields chooser TreeView with the Fields section and Configurator header texts."},{selector:".k-pivotgrid-configurator-content .k-chip-list",attribute:"aria-labelledby",usage:"Associates the chip lists with their respective section label and Configurator header texts."}]};var Hi="action-buttons",Nr=Hi;var gr=require("react/jsx-runtime"),Zo="k-actions",hl=[],xl={},zi={alignment:"start",orientation:"horizontal"},$e=e=>{let{alignment:t=zi.alignment,orientation:o=zi.orientation,...i}=e;return(0,gr.jsx)("div",{...i,className:n(Zo,{[`${Zo}-${t}`]:t,[`${Zo}-${o}`]:o},e.className),children:e.children})};$e.states=hl;$e.options=xl;$e.className=Zo;$e.defaultOptions=zi;$e.moduleName=Hi;$e.folderName=Nr;var Bi="button",kr=Bi;var Ce=require("react/jsx-runtime"),Lo="k-button",vl=["icon-button"],Nl=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],gl={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[v.undefined,v.solid,v.flat,v.outline,v.clear,v.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},Fi={showArrow:!1,arrowIconName:"chevron-down"},T=e=>{let{as:t="button",size:o,rounded:i,fillMode:a,themeColor:s,showArrow:l=Fi.showArrow,arrowIconName:c=Fi.arrowIconName,variant:f,hover:p,focus:h,active:N,selected:g,disabled:C,togglable:A,ariaDisabled:R,icon:w,iconSize:M,text:_,iconClassName:X,className:J,...we}=e,Ye=w!=null,xt=e.children!==void 0;return(0,Ce.jsxs)(t,{className:n(J,Lo,sr(Lo,f),I(Lo,{size:o,rounded:i,fillMode:a,themeColor:s}),S(Lo,{hover:p,focus:h,active:N,disabled:C||R,selected:g}),{"k-icon-button":!_&&!xt&&Ye}),"aria-pressed":A?g?"true":"false":void 0,...we,"aria-disabled":R?"true":void 0,disabled:C||void 0,children:[typeof w=="string"&&w&&(0,Ce.jsx)(k,{className:n(X,"k-button-icon"),icon:w,size:M}),w&&typeof w!="string"&&(0,Ce.jsx)(Ce.Fragment,{children:w}),_?(0,Ce.jsxs)(Ce.Fragment,{children:[_&&(0,Ce.jsx)("span",{className:"k-button-text",children:_}),e.children]}):e.children&&(0,Ce.jsx)("span",{className:"k-button-text",children:e.children}),l&&(0,Ce.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Ce.jsx)(k,{icon:c})})]})};T.states=Nl;T.options=gl;T.variants=vl;T.className=Lo;T.defaultOptions=Fi;T.moduleName=Bi;T.folderName=kr;T.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 Lr=require("react/jsx-runtime"),Gi=e=>(0,Lr.jsx)(T,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Tr=require("react/jsx-runtime"),yr=e=>(0,Tr.jsx)(T,{icon:"folder",children:"Button",...e});var wr=require("react/jsx-runtime"),gt=e=>(0,wr.jsx)(T,{children:"Button",...e});var jo=require("react/jsx-runtime"),kl=T.options,Ll=T.states,yl={...T.defaultOptions,variant:"text"},Tl=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],wl=[],Et=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,jo.jsx)(Gi,{...o,icon:"star"});case"icon-and-text":return(0,jo.jsx)(yr,{...o,icon:"star",children:"Button"});default:return(0,jo.jsx)(gt,{...o,children:"Button"})}};Et.options=kl;Et.states=Ll;Et.variants=Tl;Et.defaultOptions=yl;Et.modifiers=wl;Et.className=T.className;var Ie=require("react/jsx-runtime"),ei="k-pivotgrid-configurator",Cl=[],Il={},Sl=(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)(T,{children:"Cancel"}),(0,Ie.jsx)(T,{themeColor:"primary",children:"Apply"})]}),yo={orientation:"vertical",mode:"push",actionButtons:Sl,header:"Settings"},Ze=e=>{let{orientation:t=yo.orientation,mode:o=yo.mode,actionButtons:i=yo.actionButtons,header:a=yo.header,headerId:s,children:l,...c}=e,f=s||y("pivotgrid-configurator-header");return(0,Ie.jsx)("div",{...c,className:n(e.className,ei),role:"dialog","aria-labelledby":f,children:(0,Ie.jsxs)("div",{className:n("k-pivotgrid-configurator-panel",{[`${ei}-${t}`]:t,[`${ei}-${o}`]:o}),children:[(0,Ie.jsx)("div",{className:"k-pivotgrid-configurator-header",children:(0,Ie.jsx)("div",{className:"k-pivotgrid-configurator-header-text",id:f,children:a})}),(0,Ie.jsx)("div",{className:"k-pivotgrid-configurator-content",children:l}),(0,Ie.jsx)($e,{alignment:"end",className:"k-pivotgrid-configurator-actions",children:i})]})})};Ze.states=Cl;Ze.options=Il;Ze.className=ei;Ze.defaultOptions=yo;var Mt=require("react/jsx-runtime"),Ui="k-pivotgrid-cell",Al=[r.focus,r.selected],El={},Ml={},x=e=>{let{as:t="td",toggle:o,headerTitle:i,content:a,headerRootCell:s,totalCell:l,headerTotalCell:c,rowTotalCell:f,focus:p,selected:h,...N}=e,g={up:"up",down:"down"};return(0,Mt.jsxs)(t,{...N,className:n(e.className,Ui,{"k-pivotgrid-expanded":o==="up","k-pivotgrid-header-root":s,"k-pivotgrid-total":l,"k-pivotgrid-header-total":c,"k-pivotgrid-row-total":f},S(Ui,{focus:p,selected:h})),children:[o&&(0,Mt.jsx)(k,{className:"k-pivotgrid-toggle",icon:`chevron-${g[o]}`}),i&&(0,Mt.jsx)("span",{className:"k-pivotgrid-header-title",children:i}),(a||a==="")&&(0,Mt.jsx)("span",{className:"k-pivotgrid-content",children:a})]})};x.states=Al;x.options=El;x.className=Ui;x.defaultOptions=Ml;var Cr=require("react/jsx-runtime"),$i="k-pivotgrid-row",Rl=[r.hover,r.selected],Ol={},Pl={},E=e=>{let{columnTotal:t,children:o,hover:i,selected:a,...s}=e;return(0,Cr.jsx)("tr",{...s,className:n(e.className,$i,{"k-pivotgrid-column-total":t},S($i,{hover:i,selected:a})),children:o})};E.states=Rl;E.options=Ol;E.className=$i;E.defaultOptions=Pl;var Sr=require("react/jsx-runtime"),Ir="k-pivotgrid-table",Kl=[],Dl={},_l={},Ee=e=>{let{children:t,...o}=e;return(0,Sr.jsx)("table",{...o,className:n(e.className,Ir),children:t})};Ee.states=Kl;Ee.options=Dl;Ee.className=Ir;Ee.defaultOptions=_l;var Er=require("react/jsx-runtime"),Ar="k-pivotgrid-tbody",Hl=[],zl={},Bl={},Me=e=>{let{children:t,...o}=e;return(0,Er.jsx)("tbody",{...o,className:n(e.className,Ar),children:t})};Me.states=Hl;Me.options=zl;Me.className=Ar;Me.defaultOptions=Bl;var To="input",ti=To;var Mr=require("react/jsx-runtime"),oi="k-input",Fl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Gl={size:[d.undefined,d.small,d.medium,d.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[v.undefined,v.solid,v.flat,v.outline]},Ul={},H=e=>{let{hover:t,focus:o,disabled:i,invalid:a,valid:s,loading:l,readonly:c,size:f,rounded:p,fillMode:h,...N}=e;return(0,Mr.jsx)("span",{...N,className:n(e.className,oi,I(oi,{size:f,rounded:p,fillMode:h}),S(oi,{hover:t,focus:o,disabled:i,invalid:a,valid:s,loading:l,readonly:c}))})};H.states=Fl;H.options=Gl;H.className=oi;H.defaultOptions=Ul;H.moduleName=To;H.folderName=ti;var Rr=require("react/jsx-runtime"),ii="k-picker",$l=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Vl={size:[d.undefined,d.small,d.medium,d.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[v.undefined,v.solid,v.flat,v.outline]},Xl={},nt=e=>{let{hover:t,focus:o,disabled:i,invalid:a,valid:s,loading:l,readonly:c,size:f,rounded:p,fillMode:h,...N}=e;return(0,Rr.jsx)("span",{...N,className:n(e.className,ii,I(ii,{size:f,rounded:p,fillMode:h}),S(ii,{hover:t,focus:o,disabled:i,invalid:a,valid:s,loading:l,readonly:c})),children:e.children})};nt.states=$l;nt.options=Vl;nt.className=ii;nt.defaultOptions=Xl;nt.moduleName=To;nt.folderName=ti;var Rt=require("react/jsx-runtime"),Or="k-clear-value",ql=[r.disabled,r.loading,r.readonly],Wl={},de=e=>{let{disabled:t,loading:o,readonly:i,value:a}=e;return t||i||o||!a?(0,Rt.jsx)(Rt.Fragment,{}):(0,Rt.jsx)("span",{className:n(e.className,Or),children:(0,Rt.jsx)(k,{icon:"x"})})};de.states=ql;de.options=Wl;de.className=Or;var Pr=require("react/jsx-runtime"),Vi="k-input-inner",Jl=[],Yl={},ai={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=ai.value,type:o=ai.type,placeholder:i=ai.placeholder,autocomplete:a=ai.autocomplete,disabled:s,readOnly:l,...c}=e;return(0,Pr.jsx)("input",{...c,type:o,className:n(e.className,Vi,I(Vi,e)),placeholder:i,autoComplete:a,defaultValue:t,disabled:s||void 0,readOnly:l||void 0})};ce.states=Jl;ce.options=Yl;ce.className=Vi;var wo=require("react/jsx-runtime"),Xi="k-input-inner",Ql=[],Zl={},Co=e=>{let{value:t,placeholder:o,showValue:i,valueIcon:a,valueIconName:s,...l}=e;return(0,wo.jsxs)("span",{...l,className:n(e.className,Xi,I(Xi,e)),children:[a,!a&&s&&(0,wo.jsx)(k,{className:"k-input-value-icon",icon:s}),i&&!t&&o,i&&t&&(0,wo.jsx)("span",{className:"k-input-value-text",children:t})]})};Co.states=Ql;Co.options=Zl;Co.className=Xi;var Dr=require("react/jsx-runtime"),qi="k-input-inner",jl=[],ed={},Kr={value:"",placeholder:""},Io=e=>{let{value:t=Kr.value,placeholder:o=Kr.placeholder,rows:i,disabled:a,...s}=e;return(0,Dr.jsx)("textarea",{...s,className:n(e.className,qi,I(qi,e)),placeholder:o,rows:i,defaultValue:t,disabled:a||void 0})};Io.states=jl;Io.options=ed;Io.className=qi;var So=require("react/jsx-runtime"),_r="k-input-loading-icon",td=[r.disabled,r.loading],ie=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,So.jsx)(So.Fragment,{}):(0,So.jsx)("span",{className:n(e.className,_r,"k-icon k-i-loading")})};ie.states=td;ie.className=_r;var Ao=require("react/jsx-runtime"),Hr="k-input-validation-icon",od=[r.valid,r.invalid,r.disabled,r.loading],id={},Z=e=>{let{valid:t,invalid:o,disabled:i,loading:a}=e,s=o?"warning-circle":"check-circle";return i||a||!!!(t||o)?(0,Ao.jsx)(Ao.Fragment,{}):(0,Ao.jsx)(k,{className:n(Hr),icon:s})};Z.states=od;Z.options=id;Z.className=Hr;var Eo=require("react/jsx-runtime"),ad="k-input-prefix",rd={direction:"horizontal"},Re=e=>{let{direction:t=rd.direction,...o}=e;return e.children?(0,Eo.jsx)("span",{...o,className:n(ad,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Eo.jsx)(Eo.Fragment,{})};var Mo=require("react/jsx-runtime"),nd="k-input-suffix",sd={direction:"horizontal"},Oe=e=>{let{direction:t=sd.direction,...o}=e;return e.children?(0,Mo.jsx)("span",{...o,className:n(nd,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Mo.jsx)(Mo.Fragment,{})};var ld=require("react/jsx-runtime");var zr=require("react/jsx-runtime"),dd="k-input-suffix-text",Wi=e=>{let{children:t,...o}=e;return(0,zr.jsx)("span",{...o,className:n(dd,e.className),children:t})};var Fr=require("react/jsx-runtime"),Br="k-input-separator",cd={direction:"vertical"},pe=e=>{let{direction:t=cd.direction,...o}=e;return(0,Fr.jsx)("span",{...o,className:n(Br,e.className,{[`${Br}-${t}`]:t})})};var Y=require("react/jsx-runtime"),pd=H.states,md=H.defaultOptions,ud=H.options,fd=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],bd=[],Ot=e=>{let{modifiers:t,valid:o,invalid:i,loading:a,disabled:s,readonly:l,...c}=e,f=t==null?void 0:t.prefix,p=t==null?void 0:t.suffix,h=t==null?void 0:t["clear-button"],N=t==null?void 0:t["validation-icon"],g=t==null?void 0:t.separators;return(0,Y.jsxs)(H,{...c,valid:o,invalid:i,loading:a,disabled:s,readonly:l,style:{width:300},children:[f&&(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(Re,{children:(0,Y.jsx)(k,{icon:"lock"})}),g&&(0,Y.jsx)(pe,{})]}),(0,Y.jsx)(ce,{placeholder:"Placeholder",value:"Value"}),N&&(0,Y.jsx)(Z,{valid:o,invalid:i,loading:a,disabled:s}),(0,Y.jsx)(ie,{loading:a,disabled:s}),h&&(0,Y.jsx)(de,{loading:a,disabled:s,readonly:l,value:"Value"}),p&&(0,Y.jsxs)(Y.Fragment,{children:[g&&(0,Y.jsx)(pe,{}),(0,Y.jsx)(Oe,{children:(0,Y.jsx)(gt,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};Ot.options=ud;Ot.states=pd;Ot.variants=bd;Ot.defaultOptions=md;Ot.modifiers=fd;Ot.className=H.className;var Ji="popup",Gr=Ji;var Qi=require("react/jsx-runtime"),Ur="k-animation-container",hd=[],xd={},Yi={positionMode:"absolute",shown:!0},Ve=e=>{let{positionMode:t=Yi.positionMode,shown:o=Yi.shown,animationStyle:i,offset:a,...s}=e;return(0,Qi.jsx)("div",{...s,style:{...a,...e.style},className:n(e.className,Ur,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,Qi.jsx)("div",{className:"k-child-animation-container",style:i,children:e.children})})};Ve.states=hd;Ve.options=xd;Ve.className=Ur;Ve.defaultOptions=Yi;Ve.moduleName=Ji;Ve.folderName=Gr;var Zi="popup",$r=Zi;var ji=require("react/jsx-runtime"),Vr="k-popup",vd=[],Nd={},Xr={positionMode:"absolute"},je=e=>{let{offset:t,positionMode:o=Xr.positionMode,animationStyle:i,containerClassName:a,containerRole:s,containerAriaLabel:l,...c}=e;return(0,ji.jsx)(Ve,{positionMode:o,offset:t,animationStyle:i,className:a,role:s,"aria-label":l,children:(0,ji.jsx)("div",{...c,className:n(e.className,Vr),children:e.children})})};je.states=vd;je.options=Nd;je.className=Vr;je.defaultOptions=Xr;je.moduleName=Zi;je.folderName=$r;je.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 Wr=require("react/jsx-runtime"),gd="k-actionsheet-footer",qr={alignment:"stretched",orientation:"horizontal"},Pt=e=>{let{alignment:t=qr.alignment,orientation:o=qr.orientation,template:i,as:a=i?"div":$e,...s}=e;return(0,Wr.jsx)(a,{...s,...!i&&{alignment:t,orientation:o},className:n(e.className,gd),children:e.children})};var ea="searchbox",Jr=ea;var st=require("react/jsx-runtime"),Yr="k-searchbox",kd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],Ld={size:[d.undefined,d.small,d.medium,d.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[v.undefined,v.solid,v.flat,v.outline]},ta={showIcon:!0,icon:"search"},Pe=e=>{let{value:t,placeholder:o,size:i,rounded:a,fillMode:s,hover:l,focus:c,valid:f,invalid:p,required:h,loading:N,disabled:g,showIcon:C=ta.showIcon,icon:A=ta.icon,"aria-label":R,...w}=e;return(0,st.jsxs)(H,{...w,size:i,rounded:a,fillMode:s,hover:l,focus:c,valid:f,invalid:p,required:h,loading:N,disabled:g,className:n(e.className,Yr),children:[C&&(0,st.jsx)(k,{className:"k-input-icon",icon:A}),(0,st.jsx)(ce,{placeholder:o,value:t,"aria-label":R}),(0,st.jsx)(ie,{...e}),(0,st.jsx)(Z,{...e}),(0,st.jsx)(de,{...e})]})};Pe.states=kd;Pe.options=Ld;Pe.className=Yr;Pe.defaultOptions=ta;Pe.moduleName=ea;Pe.folderName=Jr;var yd=require("react/jsx-runtime");var oa="textbox",Qr=oa;var ae=require("react/jsx-runtime"),Zr="k-textbox",Td=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],wd={size:[d.undefined,d.small,d.medium,d.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[v.undefined,v.solid,v.flat,v.outline]},ri={showClearButton:!0,showValidationIcon:!0,separators:!0},K=e=>{let{size:t,rounded:o,fillMode:i,separators:a=ri.separators,showClearButton:s=ri.showClearButton,showValidationIcon:l=ri.showValidationIcon,prefix:c,suffix:f,type:p,value:h,placeholder:N,hover:g,focus:C,valid:A,invalid:R,required:w,loading:M,disabled:_,readonly:X,id:J,"aria-label":we,"aria-describedby":Ye,...xt}=e;return(0,ae.jsxs)(H,{...xt,size:t,rounded:o,fillMode:i,hover:g,focus:C,valid:A,invalid:R,required:w,loading:M,disabled:_,readonly:X,className:n(e.className,Zr),children:[c&&(0,ae.jsxs)(ae.Fragment,{children:[(0,ae.jsx)(Re,{children:c}),a&&(0,ae.jsx)(pe,{})]}),(0,ae.jsx)(ce,{id:J,placeholder:N,value:h,type:p,disabled:_,"aria-label":we,"aria-describedby":Ye,"aria-invalid":R?"true":void 0}),l&&(0,ae.jsx)(Z,{valid:A,invalid:R,loading:M,disabled:_}),(0,ae.jsx)(ie,{loading:M,disabled:_}),s&&(0,ae.jsx)(de,{loading:M,disabled:_,readonly:X,value:h}),f&&(0,ae.jsxs)(ae.Fragment,{children:[a&&(0,ae.jsx)(pe,{}),(0,ae.jsx)(Oe,{children:f})]})]})};K.states=Td;K.options=wd;K.className=Zr;K.defaultOptions=ri;K.moduleName=oa;K.folderName=Qr;K.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 Ro=K;var en=require("react/jsx-runtime"),jr=e=>(0,en.jsx)(Ro,{...e});var tn=require("react/jsx-runtime");var on=require("react/jsx-runtime");var Cd=require("react/jsx-runtime");var ni=require("react/jsx-runtime"),Id=K.states,Sd=K.defaultOptions,Ad=K.options,Ed=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Md=[],Kt=e=>{let{modifiers:t,...o}=e,i={};return Object.keys(t||{}).forEach(a=>{switch(a){case"prefix":i.prefix=t!=null&&t[a]?(0,ni.jsx)(k,{icon:"lock"}):void 0;break;case"suffix":i.suffix=t!=null&&t[a]?(0,ni.jsx)(gt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":i.showClearButton=t==null?void 0:t[a];break;default:break}}),(0,ni.jsx)(jr,{value:"Value",style:{width:300},...o,...i})};Kt.options=Ad;Kt.states=Id;Kt.variants=Md;Kt.defaultOptions=Sd;Kt.modifiers=Ed;Kt.className=K.className;var Se=require("react/jsx-runtime"),an="k-actionsheet-titlebar",Rd={},Fe=e=>{let{title:t,subtitle:o,actionsStart:i,actionsEnd:a,filter:s,input:l,inputValue:c,inputPlaceholder:f,adaptive:p,titleId:h,children:N,...g}=e;return(0,Se.jsxs)("div",{...g,className:n(e.className,an),children:[(0,Se.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[i&&(0,Se.jsx)("div",{className:"k-actionsheet-actions",children:i}),!N&&(0,Se.jsxs)("div",{className:"k-actionsheet-title",id:h,children:[t&&(0,Se.jsx)("div",{className:"k-text-center",children:t}),o&&(0,Se.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&(0,Se.jsx)("div",{className:"k-actionsheet-title",id:h,children:N}),a&&(0,Se.jsx)("div",{className:"k-actionsheet-actions",children:a})]}),(l||s)&&(0,Se.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?(0,Se.jsx)(K,{value:c,placeholder:f,size:p?"large":"medium","aria-label":t||f||"Input"}):(0,Se.jsx)(Pe,{placeholder:"Filter",size:p?"large":"medium","aria-label":"Filter options"})})]})};Fe.className=an;Fe.defaultOptions=Rd;var Dt=require("react/jsx-runtime"),ia="k-actionsheet-view",Od=[],Pd={},Kd={},_t=e=>{let{adaptive:t,animated:o,children:i,header:a,footer:s,titleId:l,...c}=e,f=(a==null?void 0:a.type)===Fe&&(0,Dt.jsx)(Fe,{adaptive:t,titleId:l,...a==null?void 0:a.props}),p=(s==null?void 0:s.type)===Pt&&(0,Dt.jsx)(Pt,{...s==null?void 0:s.props});return(0,Dt.jsxs)("div",{...c,className:n(e.className,ia,{[`${ia}-animated`]:o}),children:[f,(0,Dt.jsx)("div",{className:"k-actionsheet-content",children:i}),p]})};_t.states=Od;_t.options=Pd;_t.className=ia;_t.defaultOptions=Kd;var Oo="action-sheet",si=Oo;var aa="overlay",rn=aa;var sn=require("react/jsx-runtime"),nn="k-overlay",Dd=[],_d={},Hd={},lt=e=>{let{...t}=e;return(0,sn.jsx)("div",{...t,className:n(e.className,nn),children:e.children})};lt.states=Dd;lt.options=_d;lt.className=nn;lt.defaultOptions=Hd;lt.moduleName=aa;lt.folderName=rn;var kt=require("react/jsx-runtime"),ln="k-actionsheet",zd=[],Bd={},Po={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},j=e=>{let{side:t=Po.side,fullscreen:o=Po.fullscreen,adaptive:i=Po.adaptive,overlay:a=Po.overlay,template:s,children:l,header:c,footer:f,id:p,...h}=e,N=p&&!s&&c?`${p}-title`:void 0;return(0,kt.jsxs)("div",{className:"k-actionsheet-container",children:[a&&(0,kt.jsx)(lt,{}),(0,kt.jsx)(Ve,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:(0,kt.jsx)("div",{...h,id:p,role:"dialog","aria-modal":a?"true":void 0,"aria-labelledby":N,className:n(e.className,ln,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":i}),children:s||(0,kt.jsx)(_t,{header:c,footer:f,adaptive:i,titleId:N,...e,children:l})})})]})};j.states=zd;j.options=Bd;j.className=ln;j.defaultOptions=Po;j.moduleName=Oo;j.folderName=si;j.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 cn=require("react/jsx-runtime"),dn="k-actionsheet-container",Fd=[],Gd={},Ud={},Ht=e=>{let{children:t,...o}=e;return(0,cn.jsx)("div",{...o,className:dn,children:t})};Ht.states=Fd;Ht.options=Gd;Ht.className=dn;Ht.defaultOptions=Ud;Ht.moduleName=Oo;Ht.folderName=si;var pn=require("react/jsx-runtime"),ra=e=>{let{...t}=e;return(0,pn.jsx)("div",{...t,className:n(e.className,"k-list-ul"),children:e.children})};var Ke=require("react/jsx-runtime"),na="k-actionsheet-item",$d=[r.hover,r.focus,r.selected,r.disabled],dt=e=>{let{iconName:t,text:o,description:i,hover:a,focus:s,selected:l,disabled:c,...f}=e;return(0,Ke.jsxs)("span",{...f,className:n(e.className,na,S(na,{hover:a,focus:s,selected:l,disabled:c})),children:[!e.children&&(0,Ke.jsx)(Ke.Fragment,{children:(0,Ke.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,Ke.jsx)("span",{className:"k-icon-wrap",children:(0,Ke.jsx)(k,{className:"k-actionsheet-item-icon",icon:t})}),(0,Ke.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,Ke.jsx)("span",{className:"k-actionsheet-item-title",children:o}),i&&(0,Ke.jsx)("span",{className:"k-actionsheet-item-description",children:i})]})]})}),e.children]})};dt.states=$d;dt.className=na;var mn=require("react/jsx-runtime");var Vd=require("react/jsx-runtime");var Xd=require("react/jsx-runtime");var qd=require("react/jsx-runtime");var F=require("react/jsx-runtime"),Wd=j.options,Jd=j.states,fn={...j.defaultOptions,variant:"normal"},Yd=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Qd=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],zt=e=>{let{variant:t,modifiers:o,...i}={...fn,...e},a={},s=(0,F.jsxs)(ra,{children:[(0,F.jsx)(dt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,F.jsx)(dt,{text:"Add to Favorites",iconName:"heart"}),(0,F.jsx)(dt,{text:"Upload New",iconName:"upload",disabled:!0}),(0,F.jsx)("hr",{className:"k-hr"}),(0,F.jsx)(dt,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",c="Select Item";return t==="fullScreen"&&(a.fullScreen=!0),Object.keys(o||{}).forEach(f=>{switch(f){case"actions":a.actionsStart=!!(o!=null&&o[f]),a.actionsEnd=!!(o!=null&&o[f]);break;case"subtitle":a.subtitle=o!=null&&o[f]?l:void 0;break;case"footer":a.footer=!!(o!=null&&o[f]);break;default:break}}),t==="adaptive"?(0,F.jsx)(j,{...i,adaptive:!0,fullscreen:a.fullScreen,header:(0,F.jsx)(Fe,{actionsStart:a.actionsStart?(0,F.jsx)(T,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:a.actionsEnd?(0,F.jsx)(T,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:a.subtitle}),footer:a.footer?(0,F.jsxs)(Pt,{alignment:"stretched",children:[(0,F.jsx)(T,{text:"Cancel",size:"large",themeColor:"base"}),(0,F.jsx)(T,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):(0,F.jsx)(j,{...i,fullscreen:a.fullScreen,header:(0,F.jsx)(Fe,{actionsStart:a.actionsStart?(0,F.jsx)(T,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:a.actionsEnd?(0,F.jsx)(T,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:a.subtitle}),footer:a.footer?(0,F.jsxs)(Pt,{alignment:"stretched",children:[(0,F.jsx)(T,{text:"Apply",themeColor:"primary"}),(0,F.jsx)(T,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};zt.options=Wd;zt.states=Jd;zt.variants=Yd;zt.defaultOptions=fn;zt.modifiers=Qd;zt.className=j.className;var li=At(require("react"));var sa=require("react/jsx-runtime"),Zd="k-list-group-sticky-header",la=e=>(0,sa.jsx)("div",{className:n(Zd,e.className),children:(0,sa.jsx)("div",{className:"k-list-header-text",children:e.children})});var bn=require("react/jsx-runtime"),jd="k-no-data",da=e=>{let{live:t,...o}=e;return(0,bn.jsx)("span",{...o,className:n(jd,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Lt="list",Bt=Lt;var Ft=require("react/jsx-runtime"),ca="k-list",ec=[],tc={size:[d.undefined,d.small,d.medium,d.large]},oc={},U=e=>{var A;let{size:t,virtualization:o,children:i,header:a,selectAll:s,optionLabel:l,customValue:c,noData:f,screenReaders:p,...h}=e,g=li.default.Children.toArray(i)[0],C=(A=g==null?void 0:g.props)!=null&&A.children?li.default.Children.count(g.props.children):li.default.Children.count(i);return(0,Ft.jsxs)("div",{...h,className:n(e.className,ca,I(ca,{size:t}),{"k-virtual-list":o}),children:[l,s,c,a&&(0,Ft.jsx)(la,{children:a}),i||(f!==void 0?f:(0,Ft.jsx)(da,{live:!0,children:"No data found."})),p&&i&&(0,Ft.jsxs)(da,{className:"k-sr-only",live:!0,children:[C," items found."]})]})};U.states=ec;U.options=tc;U.className=ca;U.defaultOptions=oc;U.moduleName=Lt;U.folderName=Bt;U.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var xn=require("react/jsx-runtime"),hn="k-list-container",ic=[],ac={},rc={},Gt=e=>{let{...t}=e;return(0,xn.jsx)("div",{...t,className:n(e.className,hn),children:e.children})};Gt.states=ic;Gt.options=ac;Gt.className=hn;Gt.defaultOptions=rc;Gt.moduleName=Lt;Gt.folderName=Bt;var yt="checkbox",Ut=yt;var pa=require("react/jsx-runtime"),di="k-checkbox",nc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],sc={size:[d.undefined,d.small,d.medium,d.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full]},lc={},ee=e=>{let{id:t,checked:o,indeterminate:i,hover:a,focus:s,disabled:l,invalid:c,valid:f,required:p,size:h,rounded:N,wrapperRole:g,...C}=e;return(0,pa.jsx)("span",{className:"k-checkbox-wrap",role:g,children:(0,pa.jsx)("input",{...C,id:t,type:"checkbox",defaultChecked:o,required:p,disabled:l||void 0,"aria-invalid":c?"true":void 0,className:n(e.className,di,I(di,{size:h,rounded:N}),S(di,{hover:a,focus:s,disabled:l,invalid:c,valid:f,indeterminate:i,checked:o}))})})};ee.states=nc;ee.options=sc;ee.className=di;ee.defaultOptions=lc;ee.moduleName=yt;ee.folderName=Ut;ee.ariaSpec={selector:".k-checkbox",rules:[{selector:".k-checkbox",attribute:"role=checkbox or type=checkbox",usage:"Announces the checkbox role of the element."},{selector:".k-checkbox",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name to which it will be assigned."},{selector:".k-checkbox",attribute:"aria-checked=true/false/mixed or checked",usage:"For native checkboxes the checked state is handled by the browser. aria-checked is used for custom implementations."},{selector:".k-checkbox",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the checkbox."},{selector:".k-checkbox",attribute:"disabled or aria-disabled=true (when disabled)",usage:"For native checkboxes use the HTML disabled attribute. aria-disabled for custom implementations."},{selector:".k-invalid, .ng-invalid",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the CheckBox is in a form and announces the invalid state."}]};var Ge=ee;var gn=require("react/jsx-runtime"),vn="k-checkbox-list",dc=[],cc={},Nn={layout:"vertical"},me=e=>{let{layout:t=Nn.layout,...o}=e;return(0,gn.jsx)("ul",{...o,className:n(e.className,vn,{[`k-list-${t}`]:t}),children:e.children})};me.states=dc;me.options=cc;me.className=vn;me.defaultOptions=Nn;me.moduleName=yt;me.folderName=Ut;var Ln=require("react/jsx-runtime"),kn="k-checkbox-list-item",pc=[],mc={},uc={},ue=e=>{let{...t}=e;return(0,Ln.jsx)("li",{...t,className:n(e.className,kn),children:e.children})};ue.states=pc;ue.options=mc;ue.className=kn;ue.defaultOptions=uc;ue.moduleName=yt;ue.folderName=Ut;var Tt=require("react/jsx-runtime"),et=({children:e="Label",id:t="cb-label-after",...o})=>(0,Tt.jsxs)(Tt.Fragment,{children:[(0,Tt.jsx)(Ge,{id:t,...o}),(0,Tt.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var ma=require("react/jsx-runtime");var ua=require("react/jsx-runtime");var fa=require("react/jsx-runtime");var fc=require("react/jsx-runtime");var bc=require("react/jsx-runtime");var hc=require("react/jsx-runtime");var re=require("react/jsx-runtime"),xc=me.options,vc=me.states,Nc={...me.defaultOptions,variant:"vertical"},gc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],kc=[],$t=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,re.jsxs)(me,{layout:"horizontal",...o,children:[(0,re.jsx)(ue,{children:(0,re.jsx)(et,{id:y("cb"),defaultChecked:!0,children:"Label"})}),(0,re.jsx)(ue,{children:(0,re.jsx)(et,{id:y("cb"),children:"Label"})}),(0,re.jsx)(ue,{children:(0,re.jsx)(et,{id:y("cb"),children:"Label"})})]}):(0,re.jsxs)(me,{...o,children:[(0,re.jsx)(ue,{children:(0,re.jsx)(et,{id:y("cb"),defaultChecked:!0,children:"Label"})}),(0,re.jsx)(ue,{children:(0,re.jsx)(et,{id:y("cb"),children:"Label"})}),(0,re.jsx)(ue,{children:(0,re.jsx)(et,{id:y("cb"),children:"Label"})})]})};$t.options=xc;$t.states=vc;$t.variants=gc;$t.defaultOptions=Nc;$t.modifiers=kc;$t.className=me.className;var yn=require("react/jsx-runtime"),Lc=Ge.options,yc=Ge.states,Tc=Ge.defaultOptions,wc=[],Cc=[],Vt=e=>(0,yn.jsx)(et,{id:y("checkbox"),...e,defaultChecked:!0,children:"Label"});Vt.options=Lc;Vt.states=yc;Vt.variants=wc;Vt.defaultOptions=Tc;Vt.modifiers=Cc;Vt.className=Ge.className;var Xe=require("react/jsx-runtime"),ba="k-list-item",Ic=[r.hover,r.focus,r.selected,r.disabled],Sc={},Ac={},z=e=>{let{text:t,groupLabel:o,group:i,iconName:a,iconClassName:s,showCheckbox:l,checked:c,hover:f,focus:p,selected:h,disabled:N,actions:g,description:C,id:A,...R}=e,w=t||e.children;return(0,Xe.jsxs)("li",{...R,id:A,role:i?"presentation":"option",tabIndex:i?void 0:p?0:-1,"aria-selected":!i&&h?"true":i?void 0:"false","aria-disabled":!i&&N?"true":void 0,className:n(e.className,i?"k-list-group-item":ba,S(ba,{hover:f,focus:p,disabled:N,selected:h})),children:[l&&(0,Xe.jsx)(ee,{checked:c}),a&&(0,Xe.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,Xe.jsx)(k,{icon:a,className:n("k-list-item-icon",s)})}),(0,Xe.jsx)("span",{className:"k-list-item-text",children:w}),g&&(0,Xe.jsx)("div",{className:"k-list-item-actions",children:g}),C&&(0,Xe.jsx)("span",{className:"k-list-item-description",children:C}),o&&o!==""&&(0,Xe.jsx)("div",{className:"k-list-item-group-label",children:o})]})};z.states=Ic;z.options=Sc;z.className=ba;z.defaultOptions=Ac;z.moduleName=Lt;z.folderName=Bt;z.ariaSpec={selector:".k-list-item",rules:[{selector:".k-list-item",attribute:"role=option",usage:"Each list item is an option in the listbox."},{selector:".k-list-item",attribute:"id",usage:"ID for aria-activedescendant reference."},{selector:".k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state of the option."},{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-item-icon",attribute:"aria-hidden=true",usage:"Decorative icons are hidden from assistive technology."}]};var Tn=require("react/jsx-runtime"),Ec="k-list-ul",wt=e=>{let{children:t,role:o,id:i,...a}=e;return(0,Tn.jsx)("ul",{...a,id:i,role:o,className:n(Ec,e.className),children:t})};wt.ariaSpec={selector:".k-list-ul",rules:[{selector:'.k-list-ul[role="listbox"]',attribute:"role=listbox",usage:"For ungrouped lists, the UL has the listbox role."},{selector:'.k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."},{selector:'.k-list-ul[role="group"]',attribute:"role=group",usage:"For grouped sublists under a group header."},{selector:'.k-list-ul[role="group"]',attribute:"aria-labelledby (when grouped)",usage:"References the group header ID."}]};var Xt=require("react/jsx-runtime"),Mc="k-list-content",fe=e=>{let{virtualization:t,grouping:o,"aria-label":i,"aria-labelledby":a,listboxId:s,...l}=e;return(0,Xt.jsxs)("div",{...l,className:n(Mc,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?i:void 0,"aria-labelledby":o?a:void 0,children:[o?e.children:(0,Xt.jsx)(wt,{role:"listbox",id:s,"aria-label":i,"aria-labelledby":a,children:e.children}),t&&(0,Xt.jsx)("div",{className:"k-height-container",children:(0,Xt.jsx)("div",{})})]})};fe.ariaSpec={selector:".k-list-content",rules:[{selector:'.k-list-content[role="listbox"]',attribute:"role=listbox",usage:"For grouped lists, the list content container has the listbox role."},{selector:'.k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."}]};var qt=require("react/jsx-runtime"),ci="k-list-sticky-header",Rc=[r.hover,r.focus,r.selected],Oc={},Pc={},pi=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:i,indeterminate:a,hover:s,focus:l,selected:c,...f}=e;return(0,qt.jsx)("div",{...f,className:n(ci,e.className),children:(0,qt.jsxs)("div",{className:n(`${ci}-item`,S(`${ci}-item`,{hover:s,focus:l,selected:c})),children:[o&&(0,qt.jsx)(ee,{checked:i,indeterminate:a,"aria-label":t}),(0,qt.jsx)("span",{className:"k-list-item-text",children:t})]})})};pi.states=Rc;pi.options=Oc;pi.className=ci;pi.defaultOptions=Pc;var ha=require("react/jsx-runtime");var Wt=require("react/jsx-runtime"),Kc="k-list-group-item",Ko=e=>{let{groupIconName:t,...o}=e;return(0,Wt.jsxs)("li",{...o,role:"presentation",className:n(Kc,e.className),children:[t&&(0,Wt.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,Wt.jsx)(k,{icon:t,className:"k-list-item-icon"})}),(0,Wt.jsx)("span",{className:"k-list-item-text",children:e.children})]})};Ko.ariaSpec={selector:".k-list-group-item",rules:[{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-group-item",attribute:"id (when referenced)",usage:"ID for aria-labelledby on the parent group UL."}]};var wn=require("react/jsx-runtime"),xa="k-list-optionlabel",Dc=[r.hover,r.focus,r.selected,r.disabled],_c={},Hc={},mi=e=>{let{text:t,hover:o,focus:i,selected:a,disabled:s,...l}=e;return(0,wn.jsx)("div",{...l,className:n(xa,S(xa,{hover:o,focus:i,selected:a,disabled:s})),children:t})};mi.states=Dc;mi.options=_c;mi.className=xa;mi.defaultOptions=Hc;var Cn=require("react/jsx-runtime"),va="k-list-custom-value",zc=[r.hover,r.focus,r.selected,r.disabled],Bc={},Fc={},ui=e=>{let{text:t,hover:o,focus:i,selected:a,disabled:s,...l}=e;return(0,Cn.jsx)("div",{...l,className:n(va,S(va,{hover:o,focus:i,selected:a,disabled:s})),children:t})};ui.states=zc;ui.options=Bc;ui.className=va;ui.defaultOptions=Fc;var Na=require("react/jsx-runtime");var ga=require("react/jsx-runtime");var ka=require("react/jsx-runtime");var La=require("react/jsx-runtime");var Gc=require("react/jsx-runtime");var ya=require("react/jsx-runtime");var In="dropdown-list",Sn="dropdownlist";var G=require("react/jsx-runtime"),An="k-dropdownlist",Uc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],$c={size:[d.undefined,d.small,d.medium,d.large],roun