@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 186 kB
JavaScript
var Ep=Object.create;var wa=Object.defineProperty;var Cp=Object.getOwnPropertyDescriptor;var Op=Object.getOwnPropertyNames;var Bp=Object.getPrototypeOf,Pp=Object.prototype.hasOwnProperty;var Rp=(e,t)=>{for(var o in t)wa(e,o,{get:t[o],enumerable:!0})},ji=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Op(t))!Pp.call(e,r)&&r!==o&&wa(e,r,{get:()=>t[r],enumerable:!(a=Cp(t,r))||a.enumerable});return e};var lr=(e,t,o)=>(o=e!=null?Ep(Bp(e)):{},ji(t||!e||!e.__esModule?wa(o,"default",{value:e,enumerable:!0}):o,e)),Kp=e=>ji(wa({},"__esModule",{value:!0}),e);var Gb={};Rp(Gb,{SpreadsheetFormulaOpen:()=>Ub});module.exports=Kp(Gb);var i=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?i(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var A=(e,t)=>i({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),T=(e,t)=>{let{valid:o,invalid:a,hover:r,focus:l,checked:p,active:m,selected:f,disabled:x,indeterminate:b,loading:g,empty:u,readonly:S,highlighted:k,...M}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":r,"k-focus":l,"k-checked":p,"k-active":m,"k-selected":f,"k-disabled":x,"k-indeterminate":b&&!p,"k-loading":g,"k-empty":u,"k-readonly":S,"k-highlighted":k},Object.keys(M).reduce((I,w)=>(w.startsWith("k-")?I[w]=M[w]:I[`k-${w}`]=M[w],I),{}))};function en(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var c={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},v={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"},ut={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},N={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},s={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"},tn={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var pr={};function D(e){return pr[e]=(pr[e]||0)+1,`k-${e}-${pr[e]}`}var oa="spreadsheet",Ia=oa;var an=require("react/jsx-runtime"),on="k-spreadsheet",Dp=[],_p={},zp={},$e=e=>{let{children:t,...o}=e;return(0,an.jsx)("div",{...o,className:i(on,e.className),role:"application",children:t})};$e.states=Dp;$e.options=_p;$e.className=on;$e.defaultOptions=zp;$e.moduleName=oa;$e.folderName=Ia;$e.ariaSpec={selector:".k-spreadsheet",rules:[{selector:".k-spreadsheet",attribute:"role=application",usage:"Indicates the Spreadsheets' role as an application."},{selector:".k-spreadsheet-menu",attribute:"role=menubar",usage:"Follows Menu spec: announces the Menu menubar role."},{selector:".k-spreadsheet-menu .k-menu-item",attribute:"role=menuitem",usage:"Follows Menu spec: announces the Menu item role."},{selector:".k-spreadsheet-toolbar",attribute:"role=toolbar",usage:"Follows Toolbar spec: the component role."},{selector:".k-spreadsheet-toolbar",attribute:"aria-label or title",usage:"Each ToolBar must have a label specifying its purpose."},{selector:".k-spreadsheet-name-editor .k-combobox > .k-input-inner",attribute:"role=combobox",usage:"Follows ComboBox spec: identifies the input as a combobox."},{selector:".k-spreadsheet-formula-bar .k-spreadsheet-formula-input",attribute:"role=combobox",usage:"The focusable element of the component should have role combobox (an input with popup)."},{selector:".k-spreadsheet-formula-bar .k-spreadsheet-formula-input",attribute:"aria-haspopup=menu",usage:"Specifies that the formula input opens a popup."},{selector:".k-spreadsheet-formula-bar .k-spreadsheet-formula-input",attribute:"aria-controls=.k-spreadsheet-formula-list id (when present)",usage:"Points to the formulas list with role menu. Signifies that the formula input element controls the popup."},{selector:".k-spreadsheet-formula-bar .k-spreadsheet-formula-input",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-spreadsheet-formula-bar .k-spreadsheet-formula-input",attribute:"title",usage:"The Formula input must have a title specifying its purpose."},{selector:".k-spreadsheet-formula-list",attribute:"id",usage:"Unique and deterministic id linked to the aria-controls attribute of the corresponding formula input."},{selector:".k-spreadsheet-formula-list",attribute:"role=menu",usage:"Announces the menu role of the popup."},{selector:".k-spreadsheet-formula-list .k-list-item",attribute:"role=menuitem",usage:"Announces the menuitem role of the popup items."},{selector:".k-spreadsheet-sheet-add",attribute:"role=button or nodeName=button",usage:"The add new sheet element is a button."},{selector:".k-spreadsheet-sheet-add",attribute:"aria-label or title",usage:"The add new sheet element must have a label as it does not have text content."},{selector:".k-spreadsheet-sheet-add",attribute:"aria-controls=.k-tabstrip-items id (when present)",usage:"Points to the ul element of the TabStrip that contains all tabs."},{selector:".k-spreadsheet-sheets-menu",attribute:"role=button or nodeName=button",usage:"Follows DropDownButton spec: omitted if the button DOM element is used."},{selector:".k-spreadsheet-sheets-menu",attribute:"aria-label or title",usage:"Follows DropDownButton spec: required when no text is visible."},{selector:".k-spreadsheet-sheets-menu",attribute:"aria-controls=.k-tabstrip-items id (when present)",usage:"Points to the ul element of the TabStrip that contains all tabs."},{selector:".k-spreadsheet-sheets .k-tabstrip-items",attribute:"role=tablist",usage:"Follows TabStrip spec: indicates the tablist role for the ul element."},{selector:".k-spreadsheet-sheets .k-tabstrip-item",attribute:"role=tab",usage:"Follows TabStrip spec: the tab li element."},{selector:".k-spreadsheet-sheets .k-tabstrip-item .k-menu-button",attribute:"aria-label or title",usage:"Follows DropDownButton spec: required when no text is visible in the tab menu button."}]};var aa=require("react/jsx-runtime"),dr="k-font-icon",Hp=[],Fp={size:[c.undefined,c.xsmall,c.small,c.medium,c.large,c.xlarge,c.xxlarge,c.xxxlarge],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info]},Up={},ra=e=>{let{size:t,themeColor:o,icon:a,rotate:r,flip:l,...p}=e;return a?(0,aa.jsx)("span",{...p,className:i(e.className,dr,A(dr,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true"}):(0,aa.jsx)(aa.Fragment,{})};ra.states=Hp;ra.options=Fp;ra.className=dr;ra.defaultOptions=Up;var rn=ra;var Zt=require("react/jsx-runtime"),cr="k-svg-icon",Gp=[],$p={size:[c.undefined,c.xsmall,c.small,c.medium,c.large,c.xlarge,c.xxlarge,c.xxxlarge],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info],variant:[ut.outline,ut.solid,ut.duotone]},mr={viewBox:"0 0 24 24",variant:ut.outline},ia=e=>{var g,u;let{size:t,themeColor:o,rotate:a,flip:r,viewBox:l=mr.viewBox,variant:p=mr.variant,icon:m,...f}=e;if(!m)return(0,Zt.jsx)(Zt.Fragment,{});if(m==="none")return(0,Zt.jsx)("span",{...f,className:i(e.className,cr,A("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof m=="object"&&m.name&&m.name,b=typeof m=="object"?p&&((g=m.variants)==null?void 0:g[p])||((u=m.variants)==null?void 0:u.outline)||m.content:void 0;return(0,Zt.jsx)("span",{...f,className:i(e.className,cr,A("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true",children:(0,Zt.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:l,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:m?void 0:e.children})})};ia.states=Gp;ia.options=$p;ia.className=cr;ia.defaultOptions=mr;var ur=ia;var fr=lr(require("@progress/kendo-svg-icons"));var nn="icon",sn="icons";var dn=require("react");var ln=require("react"),pn=(0,ln.createContext)({iconsType:"svg"});var yt=require("react/jsx-runtime"),Ta="k-icon",Vp=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Wp=[],Xp={size:[c.undefined,c.xsmall,c.small,c.medium,c.large,c.xlarge,c.xxlarge,c.xxxlarge],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info],variant:[ut.outline,ut.solid,ut.duotone]},Ea={viewBox:"0 0 24 24",type:"svg",variant:ut.outline},L=e=>{let{iconsType:t}=(0,dn.useContext)(pn),{size:o,themeColor:a,icon:r,type:l=t||Ea.type,rotate:p,flip:m,viewBox:f=Ea.viewBox,variant:x=Ea.variant,...b}=e;if(!r)return(0,yt.jsx)(yt.Fragment,{});if((t||l)==="svg"){if(r==="none")return(0,yt.jsx)(ur,{...b,className:i(e.className,Ta),icon:r,size:o,variant:x});let u=fr[r]?r:Vp(`${r}-icon`);return fr[u]?(0,yt.jsx)(ur,{...b,className:i(e.className,Ta),icon:fr[u],size:o,themeColor:a,rotate:p,flip:m,viewBox:f,variant:x}):(0,yt.jsx)(yt.Fragment,{})}return(0,yt.jsx)(rn,{...b,className:i(e.className,Ta),icon:r,size:o,themeColor:a,rotate:p,flip:m})};L.states=Wp;L.options=Xp;L.defaultOptions=Ea;L.className=Ta;L.moduleName=nn;L.folderName=sn;L.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 br="button",cn=br;var Ve=require("react/jsx-runtime"),na="k-button",Jp=["icon-button"],qp=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],Yp={size:[c.undefined,c.xsmall,c.small,c.medium,c.large],rounded:[v.undefined,v.none,v.small,v.medium,v.large,v.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info,N.inverse]},hr={showArrow:!1,arrowIconName:"chevron-down"},d=e=>{let{as:t="button",size:o,rounded:a,fillMode:r,themeColor:l,showArrow:p=hr.showArrow,arrowIconName:m=hr.arrowIconName,variant:f,hover:x,focus:b,active:g,selected:u,disabled:S,togglable:k,ariaDisabled:M,icon:I,iconSize:w,text:K,iconClassName:ie,className:Se,...Te}=e,Ee=I!=null,Ce=e.children!==void 0;return(0,Ve.jsxs)(t,{className:i(Se,na,en(na,f),A(na,{size:o,rounded:a,fillMode:r,themeColor:l}),T(na,{hover:x,focus:b,active:g,disabled:S||M,selected:u}),{"k-icon-button":!K&&!Ce&&Ee}),"aria-pressed":k?u?"true":"false":void 0,...Te,"aria-disabled":M?"true":void 0,disabled:S||void 0,children:[typeof I=="string"&&I&&(0,Ve.jsx)(L,{className:i(ie,"k-button-icon"),icon:I,size:w}),I&&typeof I!="string"&&(0,Ve.jsx)(Ve.Fragment,{children:I}),K?(0,Ve.jsxs)(Ve.Fragment,{children:[K&&(0,Ve.jsx)("span",{className:"k-button-text",children:K}),e.children]}):e.children&&(0,Ve.jsx)("span",{className:"k-button-text",children:e.children}),p&&(0,Ve.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Ve.jsx)(L,{icon:m})})]})};d.states=qp;d.options=Yp;d.variants=Jp;d.className=na;d.defaultOptions=hr;d.moduleName=br;d.folderName=cn;d.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 sa="input",Ca=sa;var mn=require("react/jsx-runtime"),Oa="k-input",Qp=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Zp={size:[c.undefined,c.small,c.medium,c.large],rounded:[v.undefined,v.none,v.small,v.medium,v.large,v.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},jp={},ne=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:l,loading:p,readonly:m,size:f,rounded:x,fillMode:b,...g}=e;return(0,mn.jsx)("span",{...g,className:i(e.className,Oa,A(Oa,{size:f,rounded:x,fillMode:b}),T(Oa,{hover:t,focus:o,disabled:a,invalid:r,valid:l,loading:p,readonly:m}))})};ne.states=Qp;ne.options=Zp;ne.className=Oa;ne.defaultOptions=jp;ne.moduleName=sa;ne.folderName=Ca;var un=require("react/jsx-runtime"),Ba="k-picker",ed=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],td={size:[c.undefined,c.small,c.medium,c.large],rounded:[v.undefined,v.none,v.small,v.medium,v.large,v.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},od={},ft=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:l,loading:p,readonly:m,size:f,rounded:x,fillMode:b,...g}=e;return(0,un.jsx)("span",{...g,className:i(e.className,Ba,A(Ba,{size:f,rounded:x,fillMode:b}),T(Ba,{hover:t,focus:o,disabled:a,invalid:r,valid:l,loading:p,readonly:m})),children:e.children})};ft.states=ed;ft.options=td;ft.className=Ba;ft.defaultOptions=od;ft.moduleName=sa;ft.folderName=Ca;var lo=require("react/jsx-runtime"),fn="k-clear-value",ad=[s.disabled,s.loading,s.readonly],rd={},We=e=>{let{disabled:t,loading:o,readonly:a,value:r}=e;return t||a||o||!r?(0,lo.jsx)(lo.Fragment,{}):(0,lo.jsx)("span",{className:i(e.className,fn),children:(0,lo.jsx)(L,{icon:"x"})})};We.states=ad;We.options=rd;We.className=fn;var bn=require("react/jsx-runtime"),xr="k-input-inner",id=[],nd={},Pa={type:"text",autocomplete:"off",value:"",placeholder:""},Xe=e=>{let{value:t=Pa.value,type:o=Pa.type,placeholder:a=Pa.placeholder,autocomplete:r=Pa.autocomplete,disabled:l,readOnly:p,...m}=e;return(0,bn.jsx)("input",{...m,type:o,className:i(e.className,xr,A(xr,e)),placeholder:a,autoComplete:r,defaultValue:t,disabled:l||void 0,readOnly:p||void 0})};Xe.states=id;Xe.options=nd;Xe.className=xr;var la=require("react/jsx-runtime"),vr="k-input-inner",sd=[],ld={},jt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:r,valueIconName:l,...p}=e;return(0,la.jsxs)("span",{...p,className:i(e.className,vr,A(vr,e)),children:[r,!r&&l&&(0,la.jsx)(L,{className:"k-input-value-icon",icon:l}),a&&!t&&o,a&&t&&(0,la.jsx)("span",{className:"k-input-value-text",children:t})]})};jt.states=sd;jt.options=ld;jt.className=vr;var xn=require("react/jsx-runtime"),gr="k-input-inner",pd=[],dd={},hn={value:"",placeholder:""},kr=e=>{let{value:t=hn.value,placeholder:o=hn.placeholder,rows:a,disabled:r,...l}=e;return(0,xn.jsx)("textarea",{...l,className:i(e.className,gr,A(gr,e)),placeholder:o,rows:a,defaultValue:t,disabled:r||void 0})};kr.states=pd;kr.options=dd;kr.className=gr;var pa=require("react/jsx-runtime"),vn="k-input-loading-icon",cd=[s.disabled,s.loading],ze=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,pa.jsx)(pa.Fragment,{}):(0,pa.jsx)("span",{className:i(e.className,vn,"k-icon k-i-loading")})};ze.states=cd;ze.className=vn;var da=require("react/jsx-runtime"),gn="k-input-validation-icon",md=[s.valid,s.invalid,s.disabled,s.loading],ud={},Oe=e=>{let{valid:t,invalid:o,disabled:a,loading:r}=e,l=o?"warning-circle":"check-circle";return a||r||!!!(t||o)?(0,da.jsx)(da.Fragment,{}):(0,da.jsx)(L,{className:i(gn),icon:l})};Oe.states=md;Oe.options=ud;Oe.className=gn;var ca=require("react/jsx-runtime"),fd="k-input-prefix",bd={direction:"horizontal"},Qe=e=>{let{direction:t=bd.direction,...o}=e;return e.children?(0,ca.jsx)("span",{...o,className:i(fd,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,ca.jsx)(ca.Fragment,{})};var ma=require("react/jsx-runtime"),hd="k-input-suffix",xd={direction:"horizontal"},Ze=e=>{let{direction:t=xd.direction,...o}=e;return e.children?(0,ma.jsx)("span",{...o,className:i(hd,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,ma.jsx)(ma.Fragment,{})};var vd=require("react/jsx-runtime");var kn=require("react/jsx-runtime"),gd="k-input-suffix-text",Nr=e=>{let{children:t,...o}=e;return(0,kn.jsx)("span",{...o,className:i(gd,e.className),children:t})};var Sn=require("react/jsx-runtime"),Nn="k-input-separator",kd={direction:"vertical"},je=e=>{let{direction:t=kd.direction,...o}=e;return(0,Sn.jsx)("span",{...o,className:i(Nn,e.className,{[`${Nn}-${t}`]:t})})};var Ln=require("react/jsx-runtime"),eo=e=>(0,Ln.jsx)(d,{children:"Button",...e});var me=require("react/jsx-runtime"),Nd=ne.states,Sd=ne.defaultOptions,Ld=ne.options,yd=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Md=[],po=e=>{let{modifiers:t,valid:o,invalid:a,loading:r,disabled:l,readonly:p,...m}=e,f=t==null?void 0:t.prefix,x=t==null?void 0:t.suffix,b=t==null?void 0:t["clear-button"],g=t==null?void 0:t["validation-icon"],u=t==null?void 0:t.separators;return(0,me.jsxs)(ne,{...m,valid:o,invalid:a,loading:r,disabled:l,readonly:p,style:{width:300},children:[f&&(0,me.jsxs)(me.Fragment,{children:[(0,me.jsx)(Qe,{children:(0,me.jsx)(L,{icon:"lock"})}),u&&(0,me.jsx)(je,{})]}),(0,me.jsx)(Xe,{placeholder:"Placeholder",value:"Value"}),g&&(0,me.jsx)(Oe,{valid:o,invalid:a,loading:r,disabled:l}),(0,me.jsx)(ze,{loading:r,disabled:l}),b&&(0,me.jsx)(We,{loading:r,disabled:l,readonly:p,value:"Value"}),x&&(0,me.jsxs)(me.Fragment,{children:[u&&(0,me.jsx)(je,{}),(0,me.jsx)(Ze,{children:(0,me.jsx)(eo,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};po.options=Ld;po.states=Nd;po.variants=Md;po.defaultOptions=Sd;po.modifiers=yd;po.className=ne.className;var yn=require("react/jsx-runtime"),zt=e=>(0,yn.jsx)(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Mn=require("react/jsx-runtime"),ua=e=>(0,Mn.jsx)(d,{icon:"folder",children:"Button",...e});var Ra=require("react/jsx-runtime"),Ad=d.options,wd=d.states,Id={...d.defaultOptions,variant:"text"},Td=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ed=[],co=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,Ra.jsx)(zt,{...o,icon:"star"});case"icon-and-text":return(0,Ra.jsx)(ua,{...o,icon:"star",children:"Button"});default:return(0,Ra.jsx)(eo,{...o,children:"Button"})}};co.options=Ad;co.states=wd;co.variants=Td;co.defaultOptions=Id;co.modifiers=Ed;co.className=d.className;var Sr="popup",An=Sr;var yr=require("react/jsx-runtime"),wn="k-animation-container",Cd=[],Od={},Lr={positionMode:"absolute",shown:!0},et=e=>{let{positionMode:t=Lr.positionMode,shown:o=Lr.shown,animationStyle:a,offset:r,...l}=e;return(0,yr.jsx)("div",{...l,style:{...r,...e.style},className:i(e.className,wn,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,yr.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};et.states=Cd;et.options=Od;et.className=wn;et.defaultOptions=Lr;et.moduleName=Sr;et.folderName=An;var Mr="popup",In=Mr;var Ar=require("react/jsx-runtime"),Tn="k-popup",Bd=[],Pd={},En={positionMode:"absolute"},Y=e=>{let{offset:t,positionMode:o=En.positionMode,animationStyle:a,containerClassName:r,containerRole:l,containerAriaLabel:p,...m}=e;return(0,Ar.jsx)(et,{positionMode:o,offset:t,animationStyle:a,className:r,role:l,"aria-label":p,children:(0,Ar.jsx)("div",{...m,className:i(e.className,Tn),children:e.children})})};Y.states=Bd;Y.options=Pd;Y.className=Tn;Y.defaultOptions=En;Y.moduleName=Mr;Y.folderName=In;Y.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var wr="action-buttons",Cn=wr;var On=require("react/jsx-runtime"),Ka="k-actions",Rd=[],Kd={},Ir={alignment:"start",orientation:"horizontal"},bt=e=>{let{alignment:t=Ir.alignment,orientation:o=Ir.orientation,...a}=e;return(0,On.jsx)("div",{...a,className:i(Ka,{[`${Ka}-${t}`]:t,[`${Ka}-${o}`]:o},e.className),children:e.children})};bt.states=Rd;bt.options=Kd;bt.className=Ka;bt.defaultOptions=Ir;bt.moduleName=wr;bt.folderName=Cn;var Pn=require("react/jsx-runtime"),Dd="k-actionsheet-footer",Bn={alignment:"stretched",orientation:"horizontal"},Ht=e=>{let{alignment:t=Bn.alignment,orientation:o=Bn.orientation,template:a,as:r=a?"div":bt,...l}=e;return(0,Pn.jsx)(r,{...l,...!a&&{alignment:t,orientation:o},className:i(e.className,Dd),children:e.children})};var Tr="searchbox",Rn=Tr;var Ft=require("react/jsx-runtime"),Kn="k-searchbox",_d=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],zd={size:[c.undefined,c.small,c.medium,c.large],rounded:[v.undefined,v.none,v.small,v.medium,v.large,v.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Er={showIcon:!0,icon:"search"},tt=e=>{let{value:t,placeholder:o,size:a,rounded:r,fillMode:l,hover:p,focus:m,valid:f,invalid:x,required:b,loading:g,disabled:u,showIcon:S=Er.showIcon,icon:k=Er.icon,"aria-label":M,...I}=e;return(0,Ft.jsxs)(ne,{...I,size:a,rounded:r,fillMode:l,hover:p,focus:m,valid:f,invalid:x,required:b,loading:g,disabled:u,className:i(e.className,Kn),children:[S&&(0,Ft.jsx)(L,{className:"k-input-icon",icon:k}),(0,Ft.jsx)(Xe,{placeholder:o,value:t,"aria-label":M}),(0,Ft.jsx)(ze,{...e}),(0,Ft.jsx)(Oe,{...e}),(0,Ft.jsx)(We,{...e})]})};tt.states=_d;tt.options=zd;tt.className=Kn;tt.defaultOptions=Er;tt.moduleName=Tr;tt.folderName=Rn;var Hd=require("react/jsx-runtime");var Cr="textbox",Dn=Cr;var Le=require("react/jsx-runtime"),_n="k-textbox",Fd=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Ud={size:[c.undefined,c.small,c.medium,c.large],rounded:[v.undefined,v.none,v.small,v.medium,v.large,v.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Da={showClearButton:!0,showValidationIcon:!0,separators:!0},be=e=>{let{size:t,rounded:o,fillMode:a,separators:r=Da.separators,showClearButton:l=Da.showClearButton,showValidationIcon:p=Da.showValidationIcon,prefix:m,suffix:f,type:x,value:b,placeholder:g,hover:u,focus:S,valid:k,invalid:M,required:I,loading:w,disabled:K,readonly:ie,id:Se,"aria-label":Te,"aria-describedby":Ee,...Ce}=e;return(0,Le.jsxs)(ne,{...Ce,size:t,rounded:o,fillMode:a,hover:u,focus:S,valid:k,invalid:M,required:I,loading:w,disabled:K,readonly:ie,className:i(e.className,_n),children:[m&&(0,Le.jsxs)(Le.Fragment,{children:[(0,Le.jsx)(Qe,{children:m}),r&&(0,Le.jsx)(je,{})]}),(0,Le.jsx)(Xe,{id:Se,placeholder:g,value:b,type:x,disabled:K,"aria-label":Te,"aria-describedby":Ee,"aria-invalid":M?"true":void 0}),p&&(0,Le.jsx)(Oe,{valid:k,invalid:M,loading:w,disabled:K}),(0,Le.jsx)(ze,{loading:w,disabled:K}),l&&(0,Le.jsx)(We,{loading:w,disabled:K,readonly:ie,value:b}),f&&(0,Le.jsxs)(Le.Fragment,{children:[r&&(0,Le.jsx)(je,{}),(0,Le.jsx)(Ze,{children:f})]})]})};be.states=Fd;be.options=Ud;be.className=_n;be.defaultOptions=Da;be.moduleName=Cr;be.folderName=Dn;be.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var fa=be;var Hn=require("react/jsx-runtime"),zn=e=>(0,Hn.jsx)(fa,{...e});var Fn=require("react/jsx-runtime");var Un=require("react/jsx-runtime");var Gd=require("react/jsx-runtime");var _a=require("react/jsx-runtime"),$d=be.states,Vd=be.defaultOptions,Wd=be.options,Xd=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Jd=[],mo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t!=null&&t[r]?(0,_a.jsx)(L,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[r]?(0,_a.jsx)(eo,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[r];break;default:break}}),(0,_a.jsx)(zn,{value:"Value",style:{width:300},...o,...a})};mo.options=Wd;mo.states=$d;mo.variants=Jd;mo.defaultOptions=Vd;mo.modifiers=Xd;mo.className=be.className;var Je=require("react/jsx-runtime"),Gn="k-actionsheet-titlebar",qd={},Be=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:r,filter:l,input:p,inputValue:m,inputPlaceholder:f,adaptive:x,titleId:b,children:g,...u}=e;return(0,Je.jsxs)("div",{...u,className:i(e.className,Gn),children:[(0,Je.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,Je.jsx)("div",{className:"k-actionsheet-actions",children:a}),!g&&(0,Je.jsxs)("div",{className:"k-actionsheet-title",id:b,children:[t&&(0,Je.jsx)("div",{className:"k-text-center",children:t}),o&&(0,Je.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),g&&(0,Je.jsx)("div",{className:"k-actionsheet-title",id:b,children:g}),r&&(0,Je.jsx)("div",{className:"k-actionsheet-actions",children:r})]}),(p||l)&&(0,Je.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:p?(0,Je.jsx)(be,{value:m,placeholder:f,size:x?"large":"medium","aria-label":t||f||"Input"}):(0,Je.jsx)(tt,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};Be.className=Gn;Be.defaultOptions=qd;var uo=require("react/jsx-runtime"),Or="k-actionsheet-view",Yd=[],Qd={},Zd={},fo=e=>{let{adaptive:t,animated:o,children:a,header:r,footer:l,titleId:p,...m}=e,f=(r==null?void 0:r.type)===Be&&(0,uo.jsx)(Be,{adaptive:t,titleId:p,...r==null?void 0:r.props}),x=(l==null?void 0:l.type)===Ht&&(0,uo.jsx)(Ht,{...l==null?void 0:l.props});return(0,uo.jsxs)("div",{...m,className:i(e.className,Or,{[`${Or}-animated`]:o}),children:[f,(0,uo.jsx)("div",{className:"k-actionsheet-content",children:a}),x]})};fo.states=Yd;fo.options=Qd;fo.className=Or;fo.defaultOptions=Zd;var ba="action-sheet",za=ba;var Br="overlay",$n=Br;var Wn=require("react/jsx-runtime"),Vn="k-overlay",jd=[],ec={},tc={},Ut=e=>{let{...t}=e;return(0,Wn.jsx)("div",{...t,className:i(e.className,Vn),children:e.children})};Ut.states=jd;Ut.options=ec;Ut.className=Vn;Ut.defaultOptions=tc;Ut.moduleName=Br;Ut.folderName=$n;var to=require("react/jsx-runtime"),Xn="k-actionsheet",oc=[],ac={},ha={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},oe=e=>{let{side:t=ha.side,fullscreen:o=ha.fullscreen,adaptive:a=ha.adaptive,overlay:r=ha.overlay,template:l,children:p,header:m,footer:f,id:x,...b}=e,g=x&&!l&&m?`${x}-title`:void 0;return(0,to.jsxs)("div",{className:"k-actionsheet-container",children:[r&&(0,to.jsx)(Ut,{}),(0,to.jsx)(et,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:(0,to.jsx)("div",{...b,id:x,role:"dialog","aria-modal":r?"true":void 0,"aria-labelledby":g,className:i(e.className,Xn,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:l||(0,to.jsx)(fo,{header:m,footer:f,adaptive:a,titleId:g,...e,children:p})})})]})};oe.states=oc;oe.options=ac;oe.className=Xn;oe.defaultOptions=ha;oe.moduleName=ba;oe.folderName=za;oe.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};var qn=require("react/jsx-runtime"),Jn="k-actionsheet-container",rc=[],ic={},nc={},bo=e=>{let{children:t,...o}=e;return(0,qn.jsx)("div",{...o,className:Jn,children:t})};bo.states=rc;bo.options=ic;bo.className=Jn;bo.defaultOptions=nc;bo.moduleName=ba;bo.folderName=za;var Yn=require("react/jsx-runtime"),Pr=e=>{let{...t}=e;return(0,Yn.jsx)("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};var ot=require("react/jsx-runtime"),Rr="k-actionsheet-item",sc=[s.hover,s.focus,s.selected,s.disabled],Gt=e=>{let{iconName:t,text:o,description:a,hover:r,focus:l,selected:p,disabled:m,...f}=e;return(0,ot.jsxs)("span",{...f,className:i(e.className,Rr,T(Rr,{hover:r,focus:l,selected:p,disabled:m})),children:[!e.children&&(0,ot.jsx)(ot.Fragment,{children:(0,ot.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,ot.jsx)("span",{className:"k-icon-wrap",children:(0,ot.jsx)(L,{className:"k-actionsheet-item-icon",icon:t})}),(0,ot.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,ot.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,ot.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Gt.states=sc;Gt.className=Rr;var Qn=require("react/jsx-runtime");var lc=require("react/jsx-runtime");var pc=require("react/jsx-runtime");var dc=require("react/jsx-runtime");var Q=require("react/jsx-runtime"),cc=oe.options,mc=oe.states,jn={...oe.defaultOptions,variant:"normal"},uc=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],fc=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],ho=e=>{let{variant:t,modifiers:o,...a}={...jn,...e},r={},l=(0,Q.jsxs)(Pr,{children:[(0,Q.jsx)(Gt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,Q.jsx)(Gt,{text:"Add to Favorites",iconName:"heart"}),(0,Q.jsx)(Gt,{text:"Upload New",iconName:"upload",disabled:!0}),(0,Q.jsx)("hr",{className:"k-hr"}),(0,Q.jsx)(Gt,{text:"Cancel",iconName:"cancel"})]}),p="Choose from the items below",m="Select Item";return t==="fullScreen"&&(r.fullScreen=!0),Object.keys(o||{}).forEach(f=>{switch(f){case"actions":r.actionsStart=!!(o!=null&&o[f]),r.actionsEnd=!!(o!=null&&o[f]);break;case"subtitle":r.subtitle=o!=null&&o[f]?p:void 0;break;case"footer":r.footer=!!(o!=null&&o[f]);break;default:break}}),t==="adaptive"?(0,Q.jsx)(oe,{...a,adaptive:!0,fullscreen:r.fullScreen,header:(0,Q.jsx)(Be,{actionsStart:r.actionsStart?(0,Q.jsx)(d,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?(0,Q.jsx)(d,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:r.subtitle}),footer:r.footer?(0,Q.jsxs)(Ht,{alignment:"stretched",children:[(0,Q.jsx)(d,{text:"Cancel",size:"large",themeColor:"base"}),(0,Q.jsx)(d,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:l}):(0,Q.jsx)(oe,{...a,fullscreen:r.fullScreen,header:(0,Q.jsx)(Be,{actionsStart:r.actionsStart?(0,Q.jsx)(d,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?(0,Q.jsx)(d,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:r.subtitle}),footer:r.footer?(0,Q.jsxs)(Ht,{alignment:"stretched",children:[(0,Q.jsx)(d,{text:"Apply",themeColor:"primary"}),(0,Q.jsx)(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:l})};ho.options=cc;ho.states=mc;ho.variants=uc;ho.defaultOptions=jn;ho.modifiers=fc;ho.className=oe.className;var Fa=lr(require("react"));var Kr=require("react/jsx-runtime"),bc="k-list-group-sticky-header",Dr=e=>(0,Kr.jsx)("div",{className:i(bc,e.className),children:(0,Kr.jsx)("div",{className:"k-list-header-text",children:e.children})});var es=require("react/jsx-runtime"),hc="k-no-data",Ha=e=>{let{live:t,...o}=e;return(0,es.jsx)("span",{...o,className:i(hc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var oo="list",xo=oo;var vo=require("react/jsx-runtime"),_r="k-list",xc=[],vc={size:[c.undefined,c.small,c.medium,c.large]},gc={},z=e=>{var k;let{size:t,virtualization:o,children:a,header:r,selectAll:l,optionLabel:p,customValue:m,noData:f,screenReaders:x,...b}=e,u=Fa.default.Children.toArray(a)[0],S=(k=u==null?void 0:u.props)!=null&&k.children?Fa.default.Children.count(u.props.children):Fa.default.Children.count(a);return(0,vo.jsxs)("div",{...b,className:i(e.className,_r,A(_r,{size:t}),{"k-virtual-list":o}),children:[p,l,m,r&&(0,vo.jsx)(Dr,{children:r}),a||(f!==void 0?f:(0,vo.jsx)(Ha,{live:!0,children:"No data found."})),x&&a&&(0,vo.jsxs)(Ha,{className:"k-sr-only",live:!0,children:[S," items found."]})]})};z.states=xc;z.options=vc;z.className=_r;z.defaultOptions=gc;z.moduleName=oo;z.folderName=xo;z.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var os=require("react/jsx-runtime"),ts="k-list-container",kc=[],Nc={},Sc={},go=e=>{let{...t}=e;return(0,os.jsx)("div",{...t,className:i(e.className,ts),children:e.children})};go.states=kc;go.options=Nc;go.className=ts;go.defaultOptions=Sc;go.moduleName=oo;go.folderName=xo;var ao="checkbox",ko=ao;var zr=require("react/jsx-runtime"),Ua="k-checkbox",Lc=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.checked,s.indeterminate],yc={size:[c.undefined,c.small,c.medium,c.large],rounded:[v.undefined,v.none,v.small,v.medium,v.large,v.full]},Mc={},He=e=>{let{id:t,checked:o,indeterminate:a,hover:r,focus:l,disabled:p,invalid:m,valid:f,required:x,size:b,rounded:g,wrapperRole:u,...S}=e;return(0,zr.jsx)("span",{className:"k-checkbox-wrap",role:u,children:(0,zr.jsx)("input",{...S,id:t,type:"checkbox",defaultChecked:o,required:x,disabled:p||void 0,"aria-invalid":m?"true":void 0,className:i(e.className,Ua,A(Ua,{size:b,rounded:g}),T(Ua,{hover:r,focus:l,disabled:p,invalid:m,valid:f,indeterminate:a,checked:o}))})})};He.states=Lc;He.options=yc;He.className=Ua;He.defaultOptions=Mc;He.moduleName=ao;He.folderName=ko;He.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 nt=He;var is=require("react/jsx-runtime"),as="k-checkbox-list",Ac=[],wc={},rs={layout:"vertical"},Pe=e=>{let{layout:t=rs.layout,...o}=e;return(0,is.jsx)("ul",{...o,className:i(e.className,as,{[`k-list-${t}`]:t}),children:e.children})};Pe.states=Ac;Pe.options=wc;Pe.className=as;Pe.defaultOptions=rs;Pe.moduleName=ao;Pe.folderName=ko;var ss=require("react/jsx-runtime"),ns="k-checkbox-list-item",Ic=[],Tc={},Ec={},Re=e=>{let{...t}=e;return(0,ss.jsx)("li",{...t,className:i(e.className,ns),children:e.children})};Re.states=Ic;Re.options=Tc;Re.className=ns;Re.defaultOptions=Ec;Re.moduleName=ao;Re.folderName=ko;var ro=require("react/jsx-runtime"),Mt=({children:e="Label",id:t="cb-label-after",...o})=>(0,ro.jsxs)(ro.Fragment,{children:[(0,ro.jsx)(nt,{id:t,...o}),(0,ro.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var Hr=require("react/jsx-runtime");var Fr=require("react/jsx-runtime");var Ur=require("react/jsx-runtime");var Cc=require("react/jsx-runtime");var Oc=require("react/jsx-runtime");var Bc=require("react/jsx-runtime");var ye=require("react/jsx-runtime"),Pc=Pe.options,Rc=Pe.states,Kc={...Pe.defaultOptions,variant:"vertical"},Dc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],_c=[],No=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,ye.jsxs)(Pe,{layout:"horizontal",...o,children:[(0,ye.jsx)(Re,{children:(0,ye.jsx)(Mt,{id:D("cb"),defaultChecked:!0,children:"Label"})}),(0,ye.jsx)(Re,{children:(0,ye.jsx)(Mt,{id:D("cb"),children:"Label"})}),(0,ye.jsx)(Re,{children:(0,ye.jsx)(Mt,{id:D("cb"),children:"Label"})})]}):(0,ye.jsxs)(Pe,{...o,children:[(0,ye.jsx)(Re,{children:(0,ye.jsx)(Mt,{id:D("cb"),defaultChecked:!0,children:"Label"})}),(0,ye.jsx)(Re,{children:(0,ye.jsx)(Mt,{id:D("cb"),children:"Label"})}),(0,ye.jsx)(Re,{children:(0,ye.jsx)(Mt,{id:D("cb"),children:"Label"})})]})};No.options=Pc;No.states=Rc;No.variants=Dc;No.defaultOptions=Kc;No.modifiers=_c;No.className=Pe.className;var ls=require("react/jsx-runtime"),zc=nt.options,Hc=nt.states,Fc=nt.defaultOptions,Uc=[],Gc=[],So=e=>(0,ls.jsx)(Mt,{id:D("checkbox"),...e,defaultChecked:!0,children:"Label"});So.options=zc;So.states=Hc;So.variants=Uc;So.defaultOptions=Fc;So.modifiers=Gc;So.className=nt.className;var ht=require("react/jsx-runtime"),Gr="k-list-item",$c=[s.hover,s.focus,s.selected,s.disabled],Vc={},Wc={},R=e=>{let{text:t,groupLabel:o,group:a,iconName:r,iconClassName:l,showCheckbox:p,checked:m,hover:f,focus:x,selected:b,disabled:g,actions:u,description:S,id:k,...M}=e,I=t||e.children;return(0,ht.jsxs)("li",{...M,id:k,role:a?"presentation":"option",tabIndex:a?void 0:x?0:-1,"aria-selected":!a&&b?"true":a?void 0:"false","aria-disabled":!a&&g?"true":void 0,className:i(e.className,a?"k-list-group-item":Gr,T(Gr,{hover:f,focus:x,disabled:g,selected:b})),children:[p&&(0,ht.jsx)(He,{checked:m}),r&&(0,ht.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,ht.jsx)(L,{icon:r,className:i("k-list-item-icon",l)})}),(0,ht.jsx)("span",{className:"k-list-item-text",children:I}),u&&(0,ht.jsx)("div",{className:"k-list-item-actions",children:u}),S&&(0,ht.jsx)("span",{className:"k-list-item-description",children:S}),o&&o!==""&&(0,ht.jsx)("div",{className:"k-list-item-group-label",children:o})]})};R.states=$c;R.options=Vc;R.className=Gr;R.defaultOptions=Wc;R.moduleName=oo;R.folderName=xo;R.ariaSpec={selector:".k-list-item",rules:[{selector:".k-list-item",attribute:"role=option",usage:"Each list item is an option in the listbox."},{selector:".k-list-item",attribute:"id",usage:"ID for aria-activedescendant reference."},{selector:".k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state of the option."},{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-item-icon",attribute:"aria-hidden=true",usage:"Decorative icons are hidden from assistive technology."}]};var ps=require("react/jsx-runtime"),Xc="k-list-ul",At=e=>{let{children:t,role:o,id:a,...r}=e;return(0,ps.jsx)("ul",{...r,id:a,role:o,className:i(Xc,e.className),children:t})};At.ariaSpec={selector:".k-list-ul",rules:[{selector:'.k-list-ul[role="listbox"]',attribute:"role=listbox",usage:"For ungrouped lists, the UL has the listbox role."},{selector:'.k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."},{selector:'.k-list-ul[role="group"]',attribute:"role=group",usage:"For grouped sublists under a group header."},{selector:'.k-list-ul[role="group"]',attribute:"aria-labelledby (when grouped)",usage:"References the group header ID."}]};var Lo=require("react/jsx-runtime"),Jc="k-list-content",V=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":r,listboxId:l,...p}=e;return(0,Lo.jsxs)("div",{...p,className:i(Jc,e.className),role:o?"listbox":void 0,id:o?l:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?r:void 0,children:[o?e.children:(0,Lo.jsx)(At,{role:"listbox",id:l,"aria-label":a,"aria-labelledby":r,children:e.children}),t&&(0,Lo.jsx)("div",{className:"k-height-container",children:(0,Lo.jsx)("div",{})})]})};V.ariaSpec={selector:".k-list-content",rules:[{selector:'.k-list-content[role="listbox"]',attribute:"role=listbox",usage:"For grouped lists, the list content container has the listbox role."},{selector:'.k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."}]};var yo=require("react/jsx-runtime"),Ga="k-list-sticky-header",qc=[s.hover,s.focus,s.selected],Yc={},Qc={},$a=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:r,hover:l,focus:p,selected:m,...f}=e;return(0,yo.jsx)("div",{...f,className:i(Ga,e.className),children:(0,yo.jsxs)("div",{className:i(`${Ga}-item`,T(`${Ga}-item`,{hover:l,focus:p,selected:m})),children:[o&&(0,yo.jsx)(He,{checked:a,indeterminate:r,"aria-label":t}),(0,yo.jsx)("span",{className:"k-list-item-text",children:t})]})})};$a.states=qc;$a.options=Yc;$a.className=Ga;$a.defaultOptions=Qc;var $r=require("react/jsx-runtime");var Mo=require("react/jsx-runtime"),Zc="k-list-group-item",io=e=>{let{groupIconName:t,...o}=e;return(0,Mo.jsxs)("li",{...o,role:"presentation",className:i(Zc,e.className),children:[t&&(0,Mo.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,Mo.jsx)(L,{icon:t,className:"k-list-item-icon"})}),(0,Mo.jsx)("span",{className:"k-list-item-text",children:e.children})]})};io.ariaSpec={selector:".k-list-group-item",rules:[{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-group-item",attribute:"id (when referenced)",usage:"ID for aria-labelledby on the parent group UL."}]};var ds=require("react/jsx-runtime"),Vr="k-list-optionlabel",jc=[s.hover,s.focus,s.selected,s.disabled],em={},tm={},Va=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:l,...p}=e;return(0,ds.jsx)("div",{...p,className:i(Vr,T(Vr,{hover:o,focus:a,selected:r,disabled:l})),children:t})};Va.states=jc;Va.options=em;Va.className=Vr;Va.defaultOptions=tm;var cs=require("react/jsx-runtime"),Wr="k-list-custom-value",om=[s.hover,s.focus,s.selected,s.disabled],am={},rm={},$t=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:l,...p}=e;return(0,cs.jsx)("div",{...p,className:i(Wr,T(Wr,{hover:o,focus:a,selected:r,disabled:l})),children:t})};$t.states=om;$t.options=am;$t.className=Wr;$t.defaultOptions=rm;var Xr=require("react/jsx-runtime");var Jr=require("react/jsx-runtime");var qr=require("react/jsx-runtime");var Yr=require("react/jsx-runtime");var im=require("react/jsx-runtime");var Qr=require("react/jsx-runtime");var Zr="combobox",ms=Zr;var H=require("react/jsx-runtime"),us="k-combobox",nm=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],sm={size:[c.undefined,c.small,c.medium,c.large],rounded:[v.undefined,v.none,v.small,v.medium,v.large,v.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},fs={separators:!0},ue=e=>{let{size:t,rounded:o,fillMode:a,separators:r=fs.separators,prefix:l,suffix:p,value:m,placeholder:f,hover:x,focus:b,valid:g,invalid:u,required:S,loading:k,disabled:M,popup:I,opened:w,readonly:K,adaptive:ie,adaptiveSettings:Se,adaptiveTitle:Te,adaptiveSubtitle:Ee,adaptiveCustomValue:Ce,id:Qt,autocomplete:ir,activeDescendant:_t,"aria-label":Aa,...nr}=e,sr=Qt?`${Qt}-listbox`:void 0;return(0,H.jsxs)(H.Fragment,{children:[(0,H.jsxs)(ne,{...nr,size:t,rounded:o,fillMode:a,hover:x,focus:b,valid:g,invalid:u,required:S,loading:k,disabled:M,readonly:K,className:i(e.className,us),children:[l&&(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(Qe,{children:l}),r&&(0,H.jsx)(je,{})]}),(0,H.jsx)(Xe,{id:Qt,placeholder:f,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":w?"true":"false","aria-controls":w?sr:void 0,"aria-activedescendant":w&&_t?_t:void 0,"aria-autocomplete":ir,"aria-invalid":u?"true":void 0,"aria-busy":k?"true":void 0,"aria-label":Aa,disabled:M,readOnly:K}),(0,H.jsx)(Oe,{valid:g,invalid:u,loading:k,disabled:M}),(0,H.jsx)(ze,{loading:k,disabled:M}),(0,H.jsx)(We,{loading:k,disabled:M,readonly:K,value:m}),p&&(0,H.jsxs)(H.Fragment,{children:[r&&(0,H.jsx)(je,{}),(0,H.jsx)(Ze,{children:p})]}),(0,H.jsx)(d,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:M})]}),w&&I&&(0,H.jsx)(Y,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:I}),ie&&(0,H.jsx)(oe,{adaptive:!0,id:Qt?`${Qt}-adaptive`:void 0,...Se,header:(0,H.jsx)(Be,{actionsEnd:(0,H.jsx)(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:m,inputPlaceholder:f,title:Te,subtitle:Ee}),children:(0,H.jsx)("div",{className:"k-list-container",children:(0,H.jsx)(z,{customValue:Ce?(0,H.jsx)($t,{text:`Use "${m}"`}):void 0,size:"large",children:(0,H.jsxs)(V,{"aria-label":Te||"Options",children:[(0,H.jsx)(R,{text:"List item"}),(0,H.jsx)(R,{text:"List item"}),(0,H.jsx)(R,{text:"List item"})]})})})})]})};ue.states=nm;ue.options=sm;ue.className=us;ue.defaultOptions=fs;ue.moduleName=Zr;ue.folderName=ms;ue.ariaSpec={selector:".k-combobox",rules:[{selector:".k-combobox > .k-input-inner",attribute:"role=combobox",usage:"Identifies the input as a combobox."},{selector:".k-combobox > .k-input-inner",attribute:"aria-haspopup=listbox",usage:"Indicates the combobox has a listbox popup."},{selector:".k-combobox > .k-input-inner",attribute:"aria-expanded",usage:"Indicates whether the popup is open."},{selector:".k-combobox > .k-input-inner",attribute:"aria-controls=${id}-listbox (when open)",usage:"Points to the listbox element when popup is open."},{selector:".k-combobox > .k-input-inner",attribute:"aria-activedescendant (when open)",usage:"Points to the focused item in the listbox."},{selector:".k-combobox > .k-input-inner",attribute:"aria-autocomplete=list|both|inline (when has autocomplete)",usage:"Indicates the autocomplete behavior."},{selector:".k-combobox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the combobox is in an invalid state."},{selector:".k-combobox > .k-input-inner",attribute:"aria-busy=true (when loading)",usage:"Rendered when the combobox is loading data."},{selector:".k-combobox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name provided by consuming app."},{selector:".k-combobox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the combobox is disabled."},{selector:".k-combobox .k-input-button",attribute:"role=button or nodeName=button",usage:"The dropdown toggle button."},{selector:".k-combobox .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-combobox .k-input-button",attribute:"tabindex=-1",usage:"Dropdown button is not in the tab order."},{selector:".k-combobox-popup .k-list-content, .k-combobox-popup .k-list-ul",attribute:"role=listbox",usage:"The popup list container has the listbox role."},{selector:'.k-combobox-popup .k-list-ul[role="listbox"], .k-combobox-popup .k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby",usage:"Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."},{selector:".k-combobox-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."},{selector:".k-combobox-popup .k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state."},{selector:".k-combobox-popup .k-no-data",attribute:"aria-live=polite",usage:"Announces no-data state to screen readers."}]};var qe=ue;var U=require("react/jsx-runtime"),bs="k-spreadsheet-action-bar",lm=[],pm={},dm=(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)("span",{className:"k-syntax-startexp",children:"="}),(0,U.jsx)("span",{className:"k-syntax-ref k-series-a",children:"B6"}),(0,U.jsx)("span",{className:"k-syntax-op",children:"+"}),(0,U.jsx)("span",{className:"k-syntax-ref k-series-b",children:"C6"}),(0,U.jsx)("span",{className:"k-syntax-op",children:"+"}),(0,U.jsx)("span",{className:"k-syntax-ref k-series-c",children:"C3"})]}),jr={formula:dm,cellName:"B6"},xt=e=>{let{formula:t=jr.formula,cellName:o=jr.cellName,formulaExpanded:a=!1,formulaListItems:r,...l}=e,p=a?D("spreadsheet-formula-list"):void 0,m=(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)("li",{className:"k-list-item",role:"menuitem",children:(0,U.jsx)("span",{className:"k-list-item-text",children:"SUM"})}),(0,U.jsx)("li",{className:"k-list-item",role:"menuitem",children:(0,U.jsx)("span",{className:"k-list-item-text",children:"AVERAGE"})}),(0,U.jsx)("li",{className:"k-list-item",role:"menuitem",children:(0,U.jsx)("span",{className:"k-list-item-text",children:"COUNT"})})]});return(0,U.jsxs)("div",{...l,c