UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

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