@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 195 kB
JavaScript
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 y=(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"}),S=(e,o)=>{let{valid:t,invalid:r,hover:l,focus:n,checked:c,active:m,selected:f,disabled:N,indeterminate:x,loading:k,empty:u,readonly:v,highlighted:L,...R}=o;return a({"k-valid":t,"k-invalid":r,"k-hover":l,"k-focus":n,"k-checked":c,"k-active":m,"k-selected":f,"k-disabled":N,"k-indeterminate":x&&!c,"k-loading":k,"k-empty":u,"k-readonly":v,"k-highlighted":L},Object.keys(R).reduce((G,O)=>(O.startsWith("k-")?G[O]=R[O]:G[`k-${O}`]=R[O],G),{}))};function Tn(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"},Eo={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},w={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var ml={};function _(e){return ml[e]=(ml[e]||0)+1,`k-${e}-${ml[e]}`}import{Fragment as Uc,jsx as gn}from"react/jsx-runtime";var ul="k-font-icon",Dc=[],Bc={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[w.undefined,w.base,w.primary,w.secondary,w.tertiary,w.success,w.warning,w.error,w.info]},zc={},_a=e=>{let{size:o,themeColor:t,icon:r,rotate:l,flip:n,...c}=e;return r?gn("span",{...c,className:a(e.className,ul,y(ul,{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"}):gn(Uc,{})};_a.states=Dc;_a.options=Bc;_a.className=ul;_a.defaultOptions=zc;var hn=_a;import{Fragment as Vc,jsx as Tr}from"react/jsx-runtime";var bl="k-svg-icon",Fc=[],$c={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[w.undefined,w.base,w.primary,w.secondary,w.tertiary,w.success,w.warning,w.error,w.info],variant:[Eo.outline,Eo.solid,Eo.duotone]},fl={viewBox:"0 0 24 24",variant:Eo.outline},Ka=e=>{let{size:o,themeColor:t,rotate:r,flip:l,viewBox:n=fl.viewBox,variant:c=fl.variant,icon:m,...f}=e;if(!m)return Tr(Vc,{});if(m==="none")return Tr("span",{...f,className:a(e.className,bl,y("k-icon",{size:o}),"k-none"),"aria-hidden":"true"});let N=typeof m=="object"&&m.name&&m.name,x=typeof m=="object"?c&&m.variants?.[c]||m.variants?.outline||m.content:void 0;return Tr("span",{...f,className:a(e.className,bl,y("k-icon",{size:o}),{[`k-svg-i-${N}`]:N,[`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:Tr("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:n,dangerouslySetInnerHTML:x!==void 0?{__html:x}:void 0,children:m?void 0:e.children})})};Ka.states=Fc;Ka.options=$c;Ka.className=bl;Ka.defaultOptions=fl;var Tl=Ka;import*as gl from"@progress/kendo-svg-icons";var xn="icon",Nn="icons";import{useContext as Xc}from"react";import{createContext as Wc}from"react";var kn=Wc({iconsType:"svg"});import{Fragment as vn,jsx as Da}from"react/jsx-runtime";var gr="k-icon",Jc=e=>e.replace(/([-_][a-z0-9])/gi,o=>o.toUpperCase().replace("-","").replace("_","")),qc=[],Yc={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[w.undefined,w.base,w.primary,w.secondary,w.tertiary,w.success,w.warning,w.error,w.info],variant:[Eo.outline,Eo.solid,Eo.duotone]},hr={viewBox:"0 0 24 24",type:"svg",variant:Eo.outline},b=e=>{let{iconsType:o}=Xc(kn),{size:t,themeColor:r,icon:l,type:n=o||hr.type,rotate:c,flip:m,viewBox:f=hr.viewBox,variant:N=hr.variant,...x}=e;if(!l)return Da(vn,{});if((o||n)==="svg"){if(l==="none")return Da(Tl,{...x,className:a(e.className,gr),icon:l,size:t,variant:N});let u=gl[l]?l:Jc(`${l}-icon`);return gl[u]?Da(Tl,{...x,className:a(e.className,gr),icon:gl[u],size:t,themeColor:r,rotate:c,flip:m,viewBox:f,variant:N}):Da(vn,{})}return Da(hn,{...x,className:a(e.className,gr),icon:l,size:t,themeColor:r,rotate:c,flip:m})};b.states=qc;b.options=Yc;b.defaultOptions=hr;b.className=gr;b.moduleName=xn;b.folderName=Nn;b.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};import{jsx as xr}from"react/jsx-runtime";var Qc="k-chip-action";var le=e=>{let{type:o,...t}=e,r;switch(o){case"remove":r=xr(b,{icon:"x-circle",size:"small"});break;case"more":r=xr(b,{icon:"more-vertical",size:"small"});break;default:return xr(b,{icon:o,size:"small"})}return xr("span",{...t,className:a(e.className,Qc,`k-chip-${o}-action`),children:r})};var hl="avatar",wn=hl;import{jsx as Cn}from"react/jsx-runtime";var Ba="k-avatar";var Zc=[i.hover,i.focus,i.active,i.selected,i.disabled],jc={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:[w.undefined,w.base,w.primary,w.secondary,w.tertiary]},xl={type:"text",border:!1},Ue=e=>{let{size:o,rounded:t,fillMode:r,themeColor:l,type:n=xl.type,border:c=xl.border,...m}=e;return Cn("div",{...m,className:a(e.className,Ba,y(Ba,{size:o,rounded:t,fillMode:r,themeColor:l}),{[`${Ba}-bordered`]:c}),children:Cn("span",{className:`${Ba}-${n}`,children:e.children})})};Ue.states=Zc;Ue.options=jc;Ue.className=Ba;Ue.defaultOptions=xl;Ue.moduleName=hl;Ue.folderName=wn;Ue.ariaSpec={selector:".k-avatar",rules:[{selector:".k-avatar img",attribute:"alt",usage:"Images inside Avatar must have alt text for screen readers."}]};var vt=Ue;import{jsx as ep}from"react/jsx-runtime";var Ln=e=>ep(vt,{type:"icon",...e});import{jsx as op}from"react/jsx-runtime";var Mn=e=>op(vt,{type:"text",...e});import{jsx as tp}from"react/jsx-runtime";var yn=e=>tp(vt,{type:"image",...e});import{jsx as QN}from"react/jsx-runtime";import{jsx as za}from"react/jsx-runtime";var ap=Ue.options,rp=Ue.states,lp={...Ue.defaultOptions,variant:"image"},ip=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],np=[],Bt=e=>{let{variant:o,...t}=e;switch(o){case"icon":return za(Ln,{...t,children:za(b,{icon:"star"})});case"text":return za(Mn,{...t,children:"JO"});default:return za(yn,{...t,children:za("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};Bt.options=ap;Bt.states=rp;Bt.variants=ip;Bt.defaultOptions=lp;Bt.modifiers=np;Bt.className=Ue.className;var Ua="chip",Nr=Ua,kr="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";import{jsx as zt,jsxs as cp}from"react/jsx-runtime";var vr="k-chip",sp=[i.hover,i.focus,i.active,i.selected,i.disabled],dp={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:[w.undefined,w.base,w.success,w.warning,w.error,w.info]},Sn={avatarImage:"/packages/html/assets/avatar.jpg"},re=e=>{let{size:o,rounded:t,fillMode:r,themeColor:l,text:n,icon:c,actions:m,showAvatar:f,avatarImage:N=Sn.avatarImage,hover:x,focus:k,active:u,selected:v,disabled:L,...R}=e;return cp("div",{...R,className:a(e.className,vr,y(vr,{size:o,rounded:t,fillMode:r,themeColor:l}),S(vr,{hover:x,focus:k,active:u,disabled:L,selected:v})),role:e.role||"button","aria-pressed":e.role==="option"?void 0:v?"true":"false",...e.role==="option"&&v!==void 0&&{"aria-selected":v?"true":"false"},"aria-disabled":L?"true":void 0,children:[c&&zt(b,{className:"k-chip-icon",icon:c,size:"small"}),f&&zt(Ue,{className:"k-chip-avatar",type:"image",children:zt("img",{src:N,alt:""})}),zt("span",{className:"k-chip-content",children:e.children?e.children:n&&zt("span",{className:"k-chip-label",children:n})}),m&&zt("span",{className:"k-chip-actions",children:m})]})};re.states=sp;re.options=dp;re.className=vr;re.defaultOptions=Sn;re.moduleName=Ua;re.folderName=Nr;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 bo=re;import{jsx as bp}from"react/jsx-runtime";var Nl="k-chip-list",pp=[],mp={size:[s.undefined,s.small,s.medium,s.large]},up={},ie=e=>{let{size:o,multiselectable:t,ariaLabel:r,...l}=e;return bp("div",{...l,className:a(e.className,Nl,y(Nl,{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})};ie.states=pp;ie.options=mp;ie.className=Nl;ie.defaultOptions=up;ie.moduleName=Ua;ie.folderName=Nr;ie.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."}]};import{jsx as yk}from"react/jsx-runtime";import{jsx as Rk}from"react/jsx-runtime";import{jsx as fp}from"react/jsx-runtime";var wr=e=>fp(bo,{text:"text",...e});import{jsx as Dk}from"react/jsx-runtime";import{jsx as Fk}from"react/jsx-runtime";import{Fragment as qk,jsx as Jk,jsxs as Yk}from"react/jsx-runtime";import{jsx as ov,jsxs as tv}from"react/jsx-runtime";import{jsx as nv,jsxs as sv}from"react/jsx-runtime";import{jsx as bv,jsxs as fv}from"react/jsx-runtime";import{jsx as Ut,jsxs as kp}from"react/jsx-runtime";var Tp={...bo.options,...ie.options},gp=[],hp=ie.states,xp={...bo.defaultOptions,...ie.defaultOptions},Np=[{name:"icon",title:"Icon",type:"boolean"},{name:"actions",title:"Actions",type:"boolean"},{name:"avatar",title:"Avatar",type:"boolean"}],Ft=e=>{let{modifiers:o,className:t,...r}=e,l=o?.icon,n=o?.actions,c=o?.avatar,m=c?kr:void 0;return kp(ie,{size:r.size,className:t,children:[Ut(wr,{...r,role:"option","aria-selected":"false","aria-pressed":void 0,icon:l?"star":void 0,actions:n?Ut(le,{type:"remove"}):void 0,showAvatar:c,avatarImage:m,children:"Chip"}),Ut(wr,{...r,role:"option","aria-selected":"false","aria-pressed":void 0,icon:l?"star":void 0,actions:n?Ut(le,{type:"remove"}):void 0,showAvatar:c,avatarImage:m,children:"Chip"}),Ut(wr,{...r,role:"option","aria-selected":"false","aria-pressed":void 0,icon:l?"star":void 0,actions:n?Ut(le,{type:"remove"}):void 0,showAvatar:c,avatarImage:m,children:"Chip"})]})};Ft.options=Tp;Ft.states=hp;Ft.variants=gp;Ft.defaultOptions=xp;Ft.modifiers=Np;Ft.className=ie.className;import{jsx as kl}from"react/jsx-runtime";var vp=re.states,wp=re.defaultOptions,Cp=re.options,Lp=[],Mp=[{name:"icon",title:"Icon"},{name:"avatar",title:"Avatar"},{name:"remove-icon",title:"`Remove` Icon"},{name:"more-options",title:"`More options` Icon"}],$t=e=>{let{modifiers:o,...t}=e,r={};return Object.keys(o||{}).forEach(l=>{switch(l){case"icon":r.icon=o?.[l]?"arrow-down":void 0;break;case"avatar":r.showAvatar=!!o?.[l],r.avatarImage=o?.[l]?kr:void 0;break;case"more-options":r.actions||(r.actions=[]),r.actions[0]=o?.[l]?kl(le,{type:"more"}):void 0;break;case"remove-icon":r.actions||(r.actions=[]),r.actions[1]=o?.[l]?kl(le,{type:"remove"}):void 0;break;default:break}}),kl(re,{...t,...r,children:"Chip component"})};$t.options=Cp;$t.states=vp;$t.variants=Lp;$t.defaultOptions=wp;$t.modifiers=Mp;$t.className=re.className;var vl="button",An=vl;import{Fragment as In,jsx as Vt,jsxs as Rn}from"react/jsx-runtime";var Fa="k-button",yp=["icon-button"],Sp=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],Ap={size:[s.undefined,s.xsmall,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[w.undefined,w.base,w.primary,w.secondary,w.tertiary,w.success,w.warning,w.error,w.info,w.inverse]},wl={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:o="button",size:t,rounded:r,fillMode:l,themeColor:n,showArrow:c=wl.showArrow,arrowIconName:m=wl.arrowIconName,variant:f,hover:N,focus:x,active:k,selected:u,disabled:v,togglable:L,ariaDisabled:R,icon:G,iconSize:O,text:z,iconClassName:he,className:me,...De}=e,Be=G!=null,ze=e.children!==void 0;return Rn(o,{className:a(me,Fa,Tn(Fa,f),y(Fa,{size:t,rounded:r,fillMode:l,themeColor:n}),S(Fa,{hover:N,focus:x,active:k,disabled:v||R,selected:u}),{"k-icon-button":!z&&!ze&&Be}),"aria-pressed":L?u?"true":"false":void 0,...De,"aria-disabled":R?"true":void 0,disabled:v||void 0,children:[typeof G=="string"&&G&&Vt(b,{className:a(he,"k-button-icon"),icon:G,size:O}),G&&typeof G!="string"&&Vt(In,{children:G}),z?Rn(In,{children:[z&&Vt("span",{className:"k-button-text",children:z}),e.children]}):e.children&&Vt("span",{className:"k-button-text",children:e.children}),c&&Vt("span",{className:"k-menu-button-arrow k-button-arrow",children:Vt(b,{icon:m})})]})};p.states=Sp;p.options=Ap;p.variants=yp;p.className=Fa;p.defaultOptions=wl;p.moduleName=vl;p.folderName=An;p.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};import{jsx as Ip}from"react/jsx-runtime";var et=e=>Ip(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as Rp}from"react/jsx-runtime";var $a=e=>Rp(p,{icon:"folder",children:"Button",...e});import{jsx as Ep}from"react/jsx-runtime";var wt=e=>Ep(p,{children:"Button",...e});import{jsx as Cl}from"react/jsx-runtime";var Gp=p.options,Op=p.states,Hp={...p.defaultOptions,variant:"text"},Pp=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],_p=[],Wt=e=>{let{variant:o,...t}=e;switch(o){case"icon-only":return Cl(et,{...t,icon:"star"});case"icon-and-text":return Cl($a,{...t,icon:"star",children:"Button"});default:return Cl(wt,{...t,children:"Button"})}};Wt.options=Gp;Wt.states=Op;Wt.variants=Pp;Wt.defaultOptions=Hp;Wt.modifiers=_p;Wt.className=p.className;var Ct="checkbox",Xt=Ct;import{jsx as En}from"react/jsx-runtime";var Cr="k-checkbox",Kp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],Dp={size:[s.undefined,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full]},Bp={},ne=e=>{let{id:o,checked:t,indeterminate:r,hover:l,focus:n,disabled:c,invalid:m,valid:f,required:N,size:x,rounded:k,wrapperRole:u,...v}=e;return En("span",{className:"k-checkbox-wrap",role:u,children:En("input",{...v,id:o,type:"checkbox",defaultChecked:t,required:N,disabled:c||void 0,"aria-invalid":m?"true":void 0,className:a(e.className,Cr,y(Cr,{size:x,rounded:k}),S(Cr,{hover:l,focus:n,disabled:c,invalid:m,valid:f,indeterminate:r,checked:t}))})})};ne.states=Kp;ne.options=Dp;ne.className=Cr;ne.defaultOptions=Bp;ne.moduleName=Ct;ne.folderName=Xt;ne.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 So=ne;import{jsx as Fp}from"react/jsx-runtime";var Gn="k-checkbox-list",zp=[],Up={},On={layout:"vertical"},Fe=e=>{let{layout:o=On.layout,...t}=e;return Fp("ul",{...t,className:a(e.className,Gn,{[`k-list-${o}`]:o}),children:e.children})};Fe.states=zp;Fe.options=Up;Fe.className=Gn;Fe.defaultOptions=On;Fe.moduleName=Ct;Fe.folderName=Xt;import{jsx as Xp}from"react/jsx-runtime";var Hn="k-checkbox-list-item",$p=[],Vp={},Wp={},$e=e=>{let{...o}=e;return Xp("li",{...o,className:a(e.className,Hn),children:e.children})};$e.states=$p;$e.options=Vp;$e.className=Hn;$e.defaultOptions=Wp;$e.moduleName=Ct;$e.folderName=Xt;import{Fragment as Jp,jsx as Pn,jsxs as qp}from"react/jsx-runtime";var Bo=({children:e="Label",id:o="cb-label-after",...t})=>qp(Jp,{children:[Pn(So,{id:o,...t}),Pn("label",{className:"k-checkbox-label",htmlFor:o,children:e})]});import{Fragment as Bw,jsx as Dw,jsxs as zw}from"react/jsx-runtime";import{Fragment as Ww,jsx as Vw,jsxs as Xw}from"react/jsx-runtime";import{Fragment as Zw,jsx as Qw,jsxs as jw}from"react/jsx-runtime";import{jsx as aC}from"react/jsx-runtime";import{jsx as nC}from"react/jsx-runtime";import{jsx as pC}from"react/jsx-runtime";import{jsx as fo,jsxs as _n}from"react/jsx-runtime";var Yp=Fe.options,Qp=Fe.states,Zp={...Fe.defaultOptions,variant:"vertical"},jp=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],em=[],Jt=e=>{let{variant:o,...t}=e;return o==="horizontal"?_n(Fe,{layout:"horizontal",...t,children:[fo($e,{children:fo(Bo,{id:_("cb"),defaultChecked:!0,children:"Label"})}),fo($e,{children:fo(Bo,{id:_("cb"),children:"Label"})}),fo($e,{children:fo(Bo,{id:_("cb"),children:"Label"})})]}):_n(Fe,{...t,children:[fo($e,{children:fo(Bo,{id:_("cb"),defaultChecked:!0,children:"Label"})}),fo($e,{children:fo(Bo,{id:_("cb"),children:"Label"})}),fo($e,{children:fo(Bo,{id:_("cb"),children:"Label"})})]})};Jt.options=Yp;Jt.states=Qp;Jt.variants=jp;Jt.defaultOptions=Zp;Jt.modifiers=em;Jt.className=Fe.className;import{jsx as im}from"react/jsx-runtime";var om=So.options,tm=So.states,am=So.defaultOptions,rm=[],lm=[],qt=e=>im(Bo,{id:_("checkbox"),...e,defaultChecked:!0,children:"Label"});qt.options=om;qt.states=tm;qt.variants=rm;qt.defaultOptions=am;qt.modifiers=lm;qt.className=So.className;var Z="grid",oe=Z;import{jsx as cm,jsxs as pm}from"react/jsx-runtime";var Lr="k-grid",nm=[],sm={size:[s.undefined,s.small,s.medium,s.large]},dm=[],Kn={pagerPosition:"bottom"},H=e=>{let{size:o,pagerPosition:t=Kn.pagerPosition,toolbar:r,pager:l,groupingHeader:n,gridSelectionAggregates:c,_renderAriaRoot:m,resizable:f,ariaColCount:N,ariaRowCount:x,ariaRootId:k,ariaRole:u="grid",...v}=e;return pm("div",{...v,className:a(e.className,Lr,{[`${Lr}-resizable`]:f},y(Lr,{size:o})),children:[r,t==="top"&&l,n,e.children&&m?cm("div",{className:"k-grid-aria-root",role:u,id:k,"aria-colcount":N,"aria-rowcount":x,children:e.children}):e.children,c,t==="bottom"&&l]})};H.states=nm;H.options=sm;H.variants=dm;H.className=Lr;H.defaultOptions=Kn;H.moduleName=Z;H.folderName=oe;H.ariaSpec={selector:".k-grid",rules:[{selector:".k-grid-toolbar",attribute:"role=toolbar",usage:"The toolbar is a collection of command buttons and inputs."},{selector:".k-grid-toolbar",attribute:"aria-label",usage:"Clarifies the purpose of the toolbar."},{selector:".k-grid-toolbar",attribute:"aria-controls=.k-grid-aria-root id (when present)",usage:"Pointing to the id of the element with role=grid."},{selector:".k-grouping-header",attribute:"role=toolbar",usage:"The Grouping pane is a ToolBar (collection of buttons)."},{selector:".k-grouping-header",attribute:"aria-label",usage:"Clarifies the purpose of the grouping pane."},{selector:".k-grouping-header",attribute:"aria-controls=.k-grid-aria-root id (when present)",usage:"Pointing to the id of the element with role=grid."},{selector:".k-grouping-header .k-chip-list",attribute:"role=none",usage:"The ChipList default listbox role is removed to keep the toolbar --> button roles hierarchy."},{selector:".k-grouping-header .k-chip",attribute:"role=button",usage:"If the element used is not <button>, then the role must be specified."},{selector:".k-grid:not(.k-treelist) .k-grid-aria-root",attribute:"role=grid",usage:"The role specifies the element is a Data Grid."},{selector:".k-grid-aria-root",attribute:"aria-colcount (when present)",usage:"The total number of columns in the Grid. Needed for Virtual columns and Hidden columns scenarios."},{selector:".k-grid-aria-root",attribute:"aria-rowcount (when present)",usage:"The total number of rows in the table. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:".k-grid-header-wrap>table",attribute:"role=none",usage:"Negates the default semantic role of the <table> element."},{selector:".k-grid-header-wrap>table>thead",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)",attribute:"aria-rowindex (when present)",usage:"Row number. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th:not(.k-hierarchy-cell):not(.k-group-cell):not(.k-drag-cell)",attribute:"role=columnheader",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th",attribute:"aria-sort (when present)",usage:"Present if sorting is enabled for that column."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th",attribute:"aria-colindex (when present)",usage:"Col number. Needed for Virtual columns and Hidden columns scenarios."},{selector:".k-grid-header-wrap>table>thead>tr:not(.k-filter-row)>th",attribute:"aria-haspopup=dialog (when present)",usage:"Present if the column has a ColumnMenu or FilterMenu."},{selector:".k-grid-header-wrap>table>thead>tr.k-filter-row>td",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-header-wrap>table>thead>tr.k-filter-row>td",attribute:"aria-label",usage:"Has a label indicating that the cell is part of a filter row."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table, .k-grid-pinned-container .k-grid-table",attribute:"role=none",usage:"Negates the default semantic role of the <table> element."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody, .k-grid-pinned-container tbody",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr, .k-grid-pinned-container tbody tr",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr, .k-grid-pinned-container tbody tr",attribute:"aria-rowindex (when present)",usage:"Row number. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr>td, .k-grid-pinned-container tbody td",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid:not(.k-grid-lockedcolumns) .k-grid-content>table>tbody>tr>td, .k-grid-pinned-container tbody td",attribute:"aria-colindex (when present)",usage:"Col number. Needed for Virtual columns and Hidden columns scenarios."},{selector:"tr.k-selected",attribute:"aria-selected=true",usage:"Set on the currently selected row(s) in row selection mode. All cells within the selected row also carry aria-selected=true (without k-selected class). Applies to both regular and pinned rows."},{selector:"td.k-selected",attribute:"aria-selected=true",usage:"Set on the currently selected cell(s) in cell selection mode. The k-selected class on cells is only applied in cell selection mode, but aria-selected=true is present on cells regardless of selection mode."},{selector:".k-master-row .k-hierarchy-cell, .k-grouping-row>td",attribute:"aria-expanded",usage:"For cells holding grouping criteria values and for Master row cells in Detail template scenario."},{selector:".k-group-cell",attribute:"role=presentation",usage:"Group offset cells (header and content) are non-interactive placeholders with no semantic role."},{selector:".k-drag-cell",attribute:"aria-label",usage:"Must be present in a Drag Row scenario on the cell containing the drag handle."},{selector:".k-grid-header-locked table tr",attribute:"aria-owns",usage:"Locked header rows own cells from the corresponding non-locked header table rows."},{selector:".k-grid-content-locked table tr:not(.k-grouping-row)",attribute:"aria-owns",usage:"Locked content rows own cells from the corresponding non-locked content table rows. Group header rows are excluded because the non-locked group header rows are presentational."},{selector:".k-grid-lockedcolumns .k-grid-header .k-grid-header-wrap table tr",attribute:"role=none",usage:"Non-locked header rows have their semantic role removed when locked columns exist."},{selector:".k-grid-lockedcolumns .k-grid-content table tr",attribute:"role=none",usage:"Non-locked content rows have their semantic role removed when locked columns exist."},{selector:".k-grid-lockedcolumns .k-grid-header .k-grid-header-wrap th",attribute:"role=columnheader",usage:"Non-locked header cells retain columnheader role so they are announced correctly when owned via aria-owns."},{selector:".k-grid-lockedcolumns .k-grid-content td:not(.k-grouping-row td)",attribute:"role=gridcell",usage:"Non-locked data cells retain gridcell role so they are announced correctly when owned via aria-owns. Cells inside group header rows are excluded as those rows are presentational."},{selector:".k-grid-filter-popup",attribute:"role=dialog",usage:"The filter menu popup has dialog role."},{selector:".k-grid-filter-popup",attribute:"id",usage:"Unique id linked to the header cell aria-controls attribute."},{selector:".k-grid-filter-popup",attribute:"aria-label",usage:'Descriptive label for the filter menu, e.g. "Column Title Filter Menu".'},{selector:".k-grid-columnmenu-popup",attribute:"role=dialog",usage:"The column menu popup has dialog role."},{selector:".k-grid-columnmenu-popup",attribute:"id",usage:"Unique id linked to the header cell aria-controls attribute."},{selector:".k-grid-columnmenu-popup",attribute:"aria-label",usage:'Descriptive label for the column menu, e.g. "Column Title Column Menu".'},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"role=button",usage:"Column menu items have button role."},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"tabindex=0",usage:"Column menu items are focusable."},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"aria-expanded",usage:"Expandable column menu items announce their expanded state."},{selector:".k-grid-columnmenu-popup .k-columnmenu-item",attribute:"aria-controls",usage:"Expandable items point to the id of the content they control."},{selector:".k-grid-columnmenu-popup .k-column-list",attribute:"role=listbox",usage:"The column list is a listbox."},{selector:".k-grid-columnmenu-popup .k-column-list",attribute:"aria-multiselectable=true",usage:"The column list supports multiple selections."},{selector:".k-grid-columnmenu-popup .k-column-list",attribute:"aria-label",usage:"Accessible name for the column list."},{selector:".k-grid-columnmenu-popup .k-column-list-item",attribute:"role=option",usage:"Column list items are options."},{selector:".k-grid-columnmenu-popup .k-column-list-item",attribute:"aria-checked",usage:"Column list items announce their checked state."},{selector:"tfoot",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:"tfoot tr",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:"tfoot tr",attribute:"aria-rowindex (when present)",usage:"Row number. Needed for Paging, Virtual rows, or Master/Detail rows scenarios."},{selector:"tfoot tr td",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed."},{selector:"tfoot tr td",attribute:"aria-colindex (when present)",usage:"Col number. Needed for Virtual columns and Hidden columns scenarios."},{selector:".k-grid-selection-aggregates",attribute:"aria-live=polite",usage:"Ensures that changes in the calculated selection aggregates are announced by assistive technologies."},{selector:".k-grid-stack-cell",attribute:"tabindex=0",usage:"Stacked cell elements receive tabindex 0 when focus is within their parent .k-grid-stack-row element."},{selector:".k-grid-sticky-container",attribute:"role=none",usage:"Sticky group container has no semantic role."},{selector:".k-grid-sticky-container .k-grid-table",attribute:"role=none",usage:"Negates the default semantic role of the sticky group <table> element."},{selector:".k-grid-sticky-container tbody",attribute:"role=rowgroup",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-sticky-container tr",attribute:"role=row",usage:"Required as the owner <table> element has its semantic role removed."},{selector:".k-grid-sticky-container tr",attribute:"aria-rowindex",usage:"Matches the aria-rowindex of the real group header/footer row it mirrors."},{selector:".k-grid-sticky-container td:not(.k-group-cell)",attribute:"role=gridcell",usage:"Required as the owner <table> element has its semantic role removed. Group offset cells are excluded as they retain role=presentation."},{selector:".k-grid-sticky-container .k-grouping-row>td",attribute:"aria-expanded",usage:"Mirrors the expanded/collapsed state of the real group header row."},{selector:".k-grid-sticky-container td:not(.k-group-cell)",attribute:"tabindex",usage:"Receives tabindex 0 when focused, -1 otherwise, for keyboard navigation. Group offset cells are excluded as they are presentational."},{selector:".k-grid-sticky-container td",attribute:"aria-colindex (when present)",usage:"Col number. Typically 1 for the group header cell spanning all columns."},{selector:".k-grid-pinned-container",attribute:"role=none",usage:"Container for pinned rows has no semantic role."},{selector:".k-grid-pinned-container .k-grid-pinned-wrap",attribute:"role=none",usage:"Inner wrapper for the pinned rows table has no semantic role."},{selector:".k-grid-pinned-container tbody",attribute:"aria-label",usage:'Describes the purpose of the pinned rows group, e.g. "Top pinned rows" or "Bottom pinned rows".'},{selector:".k-grid-pinned-container td",attribute:"aria-haspopup=menu (when present)",usage:"Pinned row cells announce the context menu for row pinning operations."},{selector:".k-grid-pinned-container td",attribute:"aria-controls",usage:"Points to the ID of the context menu popup for row pinning."},{selector:".k-grid-pinned-container td",attribute:"aria-expanded",usage:"Indicates whether the context menu popup is open."},{selector:".k-grid-content td",attribute:"aria-haspopup=menu (when present)",usage:"Regular data cells announce context menu when row pinning uses contextual mode."},{selector:".k-grid-content td",attribute:"aria-controls",usage:"Points to the ID of the context menu popup for row pinning."},{selector:".k-grid-content td",attribute:"aria-expanded",usage:"Indicates whether the context menu popup is open."},{selector:'.k-pin-cell [class*="k-icon"]',attribute:"aria-hidden=true",usage:"Pin/unpin icon inside the dedicated column is decorative and must be hidden from assistive technologies."}]};import{jsx as mm}from"react/jsx-runtime";var Dn="k-grid-header",X=e=>{let{draggable:o,...t}=e;return mm("div",{...t,className:a(e.className,Dn,{"k-grid-draggable-header":o}),children:e.children})};X.className=Dn;X.moduleName=Z;X.folderName=oe;import{jsx as Bn,jsxs as um}from"react/jsx-runtime";var zn="k-grouping-header",Ie=e=>{let{dropHint:o,dropClue:t,...r}=e;return um("div",{...r,className:a(e.className,zn),children:[t&&Bn("div",{className:"k-grouping-dropclue"}),e.children,Bn("div",{className:"k-grouping-drop-container",children:o})]})};Ie.className=zn;Ie.moduleName=Z;Ie.folderName=oe;import{jsx as bm}from"react/jsx-runtime";var Un="k-grid-pinned-container",Va=e=>{let{position:o,...t}=e;return bm("div",{...t,className:a(e.className,Un,{"k-pos-bottom":o==="bottom"}),children:e.children})};Va.className=Un;Va.moduleName=Z;Va.folderName=oe;import{jsx as fm}from"react/jsx-runtime";var Fn="k-grid-sticky-container",Wa=e=>{let{position:o,...t}=e;return fm("div",{...t,className:a(e.className,Fn,{"k-pos-bottom":o==="bottom"}),children:e.children})};Wa.className=Fn;Wa.moduleName=Z;Wa.folderName=oe;var Re="table",Oe=Re;import{jsx as xm}from"react/jsx-runtime";var $n="k-data-table",Tm=[],gm={size:[s.undefined,s.small,s.medium,s.large]},hm={},zo=e=>{let{size:o,...t}=e;return xm("div",{...t,className:a(e.className,$n,y("k-table",{size:o})),children:e.children})};zo.states=Tm;zo.options=gm;zo.className=$n;zo.defaultOptions=hm;zo.moduleName=Re;zo.folderName=Oe;import{jsx as wm}from"react/jsx-runtime";var Ll="k-table-header-wrap",Nm=[i.hover,i.focus,i.disabled],km={},vm={},ot=e=>{let{children:o,hover:t,focus:r,disabled:l,...n}=e;return wm("div",{...n,className:a(e.className,Ll,S(Ll,{hover:t,focus:r,disabled:l})),children:o})};ot.states=Nm;ot.options=km;ot.className=Ll;ot.defaultOptions=vm;ot.moduleName=Re;ot.folderName=Oe;import{jsx as ym}from"react/jsx-runtime";var Ml="k-table",Cm=[],Lm={size:[s.undefined,s.small,s.medium,s.large]},Mm={},He=e=>{let{size:o,...t}=e;return ym("table",{...t,className:a(e.className,Ml,y(Ml,{size:o})),children:e.children})};He.states=Cm;He.options=Lm;He.className=Ml;He.defaultOptions=Mm;He.moduleName=Re;He.folderName=Oe;import{jsx as yl}from"react/jsx-runtime";var Sl="k-table-header",Sm=[i.hover,i.focus,i.disabled],Am={},Im={},Uo=e=>{let{children:o,hover:t,focus:r,disabled:l,...n}=e;return yl("div",{...n,className:a(e.className,Sl,S(Sl,{hover:t,focus:r,disabled:l})),children:yl(ot,{children:yl(He,{children:o})})})};Uo.states=Sm;Uo.options=Am;Uo.className=Sl;Uo.defaultOptions=Im;Uo.moduleName=Re;Uo.folderName=Oe;import{jsx as Om}from"react/jsx-runtime";var Vn="k-table-scroller",Rm=[],Em={},Gm={},Yt=e=>{let{children:o,...t}=e;return Om("div",{...t,className:a(e.className,Vn),children:o})};Yt.states=Rm;Yt.options=Em;Yt.className=Vn;Yt.defaultOptions=Gm;Yt.moduleName=Re;Yt.folderName=Oe;import{jsx as RL}from"react/jsx-runtime";import{jsx as Km}from"react/jsx-runtime";var Wn="k-table-footer",Hm=[],Pm={},_m={},tt=e=>{let{children:o,...t}=e;return Km("div",{...t,className:a(e.className,Wn),children:o})};tt.states=Hm;tt.options=Pm;tt.className=Wn;tt.defaultOptions=_m;tt.moduleName=Re;tt.folderName=Oe;import{jsx as Um}from"react/jsx-runtime";var Al="k-table-list",Dm=[],Bm={size:[s.undefined,s.small,s.medium,s.large]},zm={},at=e=>{let{size:o,virtualization:t,...r}=e;return Um("ul",{...r,className:a(e.className,"k-table",Al,y(Al,{size:o}),{"k-virtual-table":t}),children:e.children})};at.states=Dm;at.options=Bm;at.className=Al;at.defaultOptions=zm;at.moduleName=Re;at.folderName=Oe;import{jsx as $m}from"react/jsx-runtime";var Fm="k-table-thead",F=e=>$m("thead",{className:a(e.className,Fm),children:e.children});import{jsx as Wm}from"react/jsx-runtime";var Vm="k-table-tbody",J=e=>Wm("tbody",{className:a(e.className,Vm),children:e.children});import{jsx as qL}from"react/jsx-runtime";import{jsx as Jm}from"react/jsx-runtime";var Il="k-table-row",Xm=[i.hover,i.focus,i.selected,i.disabled,i.highlighted],C=e=>{let{hover:o,focus:t,selected:r,highlighted:l,disabled:n,alt:c,...m}=e;return Jm("tr",{...m,className:a(e.className,Il,{"k-table-alt-row":c},S(Il,{hover:o,focus:t,disabled:n,selected:r,highlighted:l})),children:e.children})};C.states=Xm;C.className=Il;import{jsx as Ym}from"react/jsx-runtime";var Rl="k-table-row",qm=[i.hover,i.focus,i.selected,i.disabled],Mr=e=>{let{hover:o,focus:t,selected:r,disabled:l,alt:n,...c}=e;return Ym("li",{...c,className:a(e.className,Rl,{"k-table-alt-row":n},S(Rl,{hover:o,focus:t,disabled:l,selected:r})),children:e.children})};Mr.states=qm;Mr.className=Rl;import{jsx as Qm}from"react/jsx-runtime";var Xn="k-table-th",Fo=e=>{let{text:o,colspan:t,rowspan:r,...l}=e,n=o||e.children;return Qm("th",{colSpan:t,rowSpan:r,...l,className:a(e.className,Xn),children:n})};Fo.className=Xn;Fo.moduleName=Re;Fo.folderName=Oe;import{jsx as dM}from"react/jsx-runtime";import{jsx as jm}from"react/jsx-runtime";var El="k-table-td",Zm=[i.focus,i.selected,i.highlighted],d=e=>{let{focus:o,selected:t,highlighted:r,text:l,colspan:n,rowspan:c,...m}=e,f=l||e.children;return jm("td",{colSpan:n,rowSpan:c,...m,className:a(e.className,El,S(El,{focus:o,selected:t,highlighted:r})),children:f})};d.states=Zm;d.className=El;import{jsx as TM}from"react/jsx-runtime";import{jsx as NM}from"react/jsx-runtime";import{jsx as CM}from"react/jsx-runtime";import{jsx as SM}from"react/jsx-runtime";import{jsx as EM}from"react/jsx-runtime";import{jsx as DM,jsxs as BM}from"react/jsx-runtime";import{jsx as $M,jsxs as VM}from"react/jsx-runtime";import{jsx as qM,jsxs as YM}from"react/jsx-runtime";import{Fragment as ty,jsx as ey,jsxs as oy}from"react/jsx-runtime";import{jsx as tu}from"react/jsx-runtime";var Yn="k-grid-header-table",q=e=>tu(He,{...e,className:a(e.className,Yn),children:e.children});q.className=Yn;q.moduleName=Z;q.folderName=oe;import{jsx as rt,jsxs as Gl}from"react/jsx-runtime";var Ol="k-header",au=[i.hover,i.focus,i.active],Qn={sortIcon:"sort-asc-small"},I=e=>{let{menu:o,sortable:t,filterable:r,sticky:l,resizable:n,columnTitle:c,hover:m,focus:f,active:N,sortIcon:x=Qn.sortIcon,sortOrder:k,accessibleLabel:u,...v}=e;return Gl(Fo,{...v,className:a(e.className,Ol,{"k-filterable":o||r,"k-sorted":t,"k-grid-header-sticky":l,"k-touch-action-none":n},S(Ol,{hover:m,focus:f,active:N})),children:[c&&Gl("span",{className:"k-cell-inner",children:[Gl("span",{className:"k-link",children:[rt("span",{className:"k-column-title",children:c}),t&&rt("span",{className:"k-sort-icon",children:rt(b,{icon:x})}),k&&rt("span",{className:"k-sort-order",children:k})]}),o&&rt("a",{className:a("k-grid-header-menu",{"k-active":N,"k-grid-filter-menu":o==="filter","k-grid-column-menu":o==="column"}),children:rt(b,{icon:o==="filter"?"filter":"more-vertical"})})]}),!c&&u&&rt("span",{className:"k-sr-only",children:u}),e.children,n&&rt("span",{className:"k-column-resizer k-touch-action-none"})]})};I.states=au;I.className=Ol;I.defaultOptions=Qn;I.moduleName=Z;I.folderName=oe;import{jsx as ru}from"react/jsx-runtime";var Zn="k-grid-container",$=e=>ru("div",{...e,className:a(e.className,Zn),children:e.children});$.className=Zn;$.moduleName=Z;$.folderName=oe;import{jsx as lu}from"react/jsx-runtime";var jn="k-grid-content",V=e=>lu("div",{...e,className:a(e.className,jn),children:e.children});V.className=jn;V.moduleName=Z;V.folderName=oe;import{jsx as iu}from"react/jsx-runtime";var es="k-grid-table",W=e=>iu(He,{...e,className:a(e.className,es),children:e.children});W.className=es;W.moduleName=Z;W.folderName=oe;import{jsx as nu}from"react/jsx-runtime";var os="k-grid-footer",yr=e=>nu("div",{...e,className:a(e.className,os),children:e.children});yr.className=os;yr.moduleName=Z;yr.folderName=oe;import{jsx as su}from"react/jsx-runtime";var ts="k-grid-footer-table",Sr=e=>su(He,{...e,className:a(e.className,ts),children:e.children});Sr.className=ts;Sr.moduleName=Z;Sr.folderName=oe;var Xa="input",Ar=Xa;import{jsx as mu}from"react/jsx-runtime";var Ir="k-input",du=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],cu={size:[s.undefined,s.small,s.medium,s.large],rounded:[g.undefined,g.none,g.small,g.medium,g.large,g.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},pu={},we=e=>{let{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:c,readonly:m,size:f,rounded:N,fillMode:x,...k}=e;return mu("span",{...k,className:a(e.className,Ir,y(Ir,{size:f,rounded:N,fillMode:x}),S(Ir,{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:c,readonly:m}))})};we.states=du;we.options=cu;we.className=Ir;we.defaultOptions=pu;we.moduleName=Xa;we.folderName=Ar;import{jsx as Tu}from"react/jsx-runtime";var Rr="k-picker",uu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],bu={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]},fu={},Go=e=>{let{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:c,readonly:m,size:f,rounded:N,fillMode:x,...k}=e;return Tu("span",{...k,className:a(e.className,Rr,y(Rr,{size:f,rounded:N,fillMode:x}),S(Rr,{hover:o,focus:t,disabled:r,invalid:l,valid:n,loading:c,readonly:m})),children:e.children})};Go.states=uu;Go.options=bu;Go.className=Rr;Go.defaultOptions=fu;Go.moduleName=Xa;Go.folderName=Ar;import{Fragment as xu,jsx as Hl}from"react/jsx-runtime";var as="k-clear-value",gu=[i.disabled,i.loading,i.readonly],hu={},ao=e=>{let{disabled:o,loading:t,readonly:r,value:l}=e;return o||r||t||!l?Hl(xu,{}):Hl("span",{className:a(e.className,as),children:Hl(b,{icon:"x"})})};ao.states=gu;ao.options=hu;ao.className=as;import{jsx as vu}from"react/jsx-runtime";var Pl="k-input-inner",Nu=[],ku={},Er={type:"text",autocomplete:"off",value:"",placeholder:""},ro=e=>{let{value:o=Er.value,type:t=Er.type,placeholder:r=Er.placeholder,autocomplete:l=Er.autocomplete,disabled:n,readOnly:c,...m}=e;return vu("input",{...m,type:t,className:a(e.className,Pl,y(Pl,e)),placeholder:r,autoComplete:l,defaultValue:o,disabled:n||void 0,readOnly:c||void 0})};ro.states=Nu;ro.options=ku;ro.className=Pl;import{jsx as rs,jsxs as Lu}from"react/jsx-runtime";var _l="k-input-inner",wu=[],Cu={},Lt=e=>{let{value:o,placeholder:t,showValue:r,valueIcon:l,valueIconName:n,...c}=e;return Lu("span",{...c,className:a(e.className,_l,y(_l,e)),children:[l,!l&&n&&rs(b,{className:"k-input-value-icon",icon:n}),r&&!o&&t,r&&o&&rs("span",{className:"k-input-value-text",children:o})]})};Lt.states=wu;Lt.options=Cu;Lt.className=_l;import{jsx as Su}from"react/jsx-runtime";var Kl="k-input-inner",Mu=[],yu={},ls={value:"",placeholder:""},Dl=e=>{let{value:o=ls.value,placeholder:t=ls.placeholder,rows:r,disabled:l,...n}=e;return Su("textarea",{...n,className:a(e.className,Kl,y(Kl,e)),placeholder:t,rows:r,defaultValue:o,disabled:l||void 0})};Dl.states=Mu;Dl.options=yu;Dl.className=Kl;import{Fragment as Iu,jsx as is}from"react/jsx-runtime";var ns="k-input-loading-icon",Au=[i.disabled,i.loading],Qe=e=>{let{disabled:o,loading:t}=e;return o||!t?is(Iu,{}):is("span",{className:a(e.className,ns,"k-icon k-i-loading")})};Qe.states=Au;Qe.className=ns;import{Fragment as Gu,jsx as ss}from"react/jsx-runtime";var ds="k-input-validation-icon",Ru=[i.valid,i.invalid,i.disabled,i.loading],Eu={},Ve=e=>{let{valid:o,invalid:t,disabled:r,loading:l}=e,n=t?"warning-circle":"check-circle";return r||l||!!!(o||t)?ss(Gu,{}):ss(b,{className:a(ds),icon:n})};Ve.states=Ru;Ve.options=Eu;Ve.className=ds;import{Fragment as Pu,jsx as cs}from"react/jsx-runtime";var Ou="k-input-prefix",Hu={direction:"horizontal"},To=e=>{let{direction:o=Hu.direction,...t}=e;return e.children?cs("span",{...t,className:a(Ou,e.className,{[`k-input-prefix-${o}`]:o}),children:e.children}):cs(Pu,{})};import{Fragment as Du,jsx as ps}from"react/jsx-runtime";var _u="k-input-suffix",Ku={direction:"horizontal"},go=e=>{let{direction:o=Ku.direction,...t}=e;return e.children?ps("span",{...t,className:a(_u,e.className,{[`k-input-suffix-${o}`]:o}),children:e.children}):ps(Du,{})};import{jsx as QS}from"react/jsx-runtime";import{jsx as zu}from"react/jsx-runtime";var Bu="k-input-suffix-text",Bl=e=>{let{children:o,...t}=e;return zu("span",{...t,className:a(Bu,e.className),children:o})};import{jsx as Fu}from"react/jsx-runtime";var ms="k-input-separator",Uu={direction:"vertical"},ho=e=>{let{direction:o=Uu.direction,...t}=e;return Fu("span",{...t,className:a(ms,e.className,{[`${ms}-${o}`]:o})})};import{Fragment as us,jsx as Oo,jsxs as zl}from"react/jsx-runtime";var $u=we.states,Vu=we.defaultOptions,Wu=we.options,Xu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Ju=[],Qt=e=>{let{modifiers:o,valid:t,invalid:r,loading:l,disabled:n,readonly:c,...m}=e,f=o?.prefix,N=o?.suffix,x=o?.["clear-button"],k=o?.["validation-icon"],u=o?.separators;return zl(we,{...m,valid:t,invalid:r,loading:l,disabled:n,readonly:c,style:{width:300},children:[f&&zl(us,{children:[Oo(To,{children:Oo(b,{icon:"lock"})}),u&&Oo(ho,{})]}),Oo(ro,{placeholder:"Placeholder",value:"Value"}),k&&Oo(Ve,{valid:t,invalid:r,loading:l,disabled:n}),Oo(Qe,{loading:l,disabled:n}),x&&Oo(ao,{loading:l,disabled:n,readonly:c,value:"Value"}),N&&zl(us,{children:[u&&Oo(ho,{}),Oo(go,{children:Oo(wt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};Qt.options=Wu;Qt.states=$u;Qt.variants=Ju;Qt.defaultOptions=Vu;Qt.modifiers=Xu;Qt.className=we.className;var Ul="popup",bs=Ul;import{jsx as fs}from"react/jsx-runtime";var Ts="k-animation-container",qu=[],Yu={},Fl={positionMode:"absolute",shown:!0},Ho=e=>{let{positionMode:o=Fl.positionMode,shown:t=Fl.shown,animationStyle:r,offset:l,...n}=e;return fs("div",{...n,style:{...l,...e.style},className:a(e.className,Ts,{"k-animation-container-shown":t,"k-animation-container-fixed":o==="fixed"}),children:fs("div",{className:"k-child-animation-container",style:r,children:e.children})})};Ho.states=qu;Ho.options=Yu;Ho.className=Ts;Ho.defaultOptions=Fl;Ho.moduleName=Ul;Ho.folderName=bs;var $l="popup",gs=$l;import{jsx as hs}from"react/jsx-runtime";var xs="k-popup",Qu=[],Zu={},Ns={positionMode:"absolute"},se=e=>{let{offset:o,positionMode:t=Ns.positionMode,animationStyle:r,containerClassName:l,containerRole:n,containerAriaLabel:c,...m}=e;return hs(Ho,{positionMode:t,offset:o,animationStyle:r,className:l,role:n,"aria-label":c,children:hs("div",{...m,className:a(e.className,xs),children:e.children})})};se.states=Qu;se.options=Zu;se.className=xs;se.defaultOptions=Ns;se.moduleName=$l;se.folderName=gs;se.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 Vl="action-buttons",ks=Vl;import{jsx as ob}from"react/jsx-runtime";var Gr="k-actions",ju=[],eb={},Wl={alignment:"start",orientation:"horizontal"},xo=e=>{let{alignment:o=Wl.alignment,orientation:t=Wl.orientation,...r}=e;return ob("div",{...r,className:a(Gr,{[`${Gr}-${o}`]:o,[`${Gr}-${t}`]:t},e.className),children:e.children})};xo.states=ju;xo.options=eb;xo.className=Gr;xo.defaultOptions=Wl;xo.moduleName=Vl;xo.folderName=ks;import{jsx as ab}from"react/jsx-runtime";var tb="k-actionsheet-footer",vs={alignment:"stretched",orientation:"horizontal"},lt=e=>{let{alignment:o=vs.alignment,orientation:t=vs.orientation,template:r,as:l=r?"div":xo,...n}=e;return ab(l,{...n,...!r&&{alignment:o,orientation:t},className:a(e.className,tb),children:e.children})};var Xl="searchbo