UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 186 kB
var Ep=Object.create;var Aa=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)Aa(e,o,{get:t[o],enumerable:!0})},en=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Op(t))!Pp.call(e,r)&&r!==o&&Aa(e,r,{get:()=>t[r],enumerable:!(a=Cp(t,r))||a.enumerable});return e};var sr=(e,t,o)=>(o=e!=null?Ep(Bp(e)):{},en(t||!e||!e.__esModule?Aa(o,"default",{value:e,enumerable:!0}):o,e)),Kp=e=>en(Aa({},"__esModule",{value:!0}),e);var Ub={};Rp(Ub,{SpreadsheetNormal:()=>Zi});module.exports=Kp(Ub);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 tn(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"},mt={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"},on={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var lr={};function D(e){return lr[e]=(lr[e]||0)+1,`k-${e}-${lr[e]}`}var ta="spreadsheet",wa=ta;var rn=require("react/jsx-runtime"),an="k-spreadsheet",Dp=[],_p={},zp={},Ye=e=>{let{children:t,...o}=e;return(0,rn.jsx)("div",{...o,className:i(an,e.className),role:"application",children:t})};Ye.states=Dp;Ye.options=_p;Ye.className=an;Ye.defaultOptions=zp;Ye.moduleName=ta;Ye.folderName=wa;Ye.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 oa=require("react/jsx-runtime"),pr="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={},aa=e=>{let{size:t,themeColor:o,icon:a,rotate:r,flip:l,...p}=e;return a?(0,oa.jsx)("span",{...p,className:i(e.className,pr,A(pr,{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,oa.jsx)(oa.Fragment,{})};aa.states=Hp;aa.options=Fp;aa.className=pr;aa.defaultOptions=Up;var nn=aa;var Qt=require("react/jsx-runtime"),dr="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:[mt.outline,mt.solid,mt.duotone]},cr={viewBox:"0 0 24 24",variant:mt.outline},ra=e=>{var g,u;let{size:t,themeColor:o,rotate:a,flip:r,viewBox:l=cr.viewBox,variant:p=cr.variant,icon:m,...f}=e;if(!m)return(0,Qt.jsx)(Qt.Fragment,{});if(m==="none")return(0,Qt.jsx)("span",{...f,className:i(e.className,dr,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,Qt.jsx)("span",{...f,className:i(e.className,dr,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,Qt.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})})};ra.states=Gp;ra.options=$p;ra.className=dr;ra.defaultOptions=cr;var mr=ra;var ur=sr(require("@progress/kendo-svg-icons"));var sn="icon",ln="icons";var cn=require("react");var pn=require("react"),dn=(0,pn.createContext)({iconsType:"svg"});var gt=require("react/jsx-runtime"),Ia="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:[mt.outline,mt.solid,mt.duotone]},Ta={viewBox:"0 0 24 24",type:"svg",variant:mt.outline},L=e=>{let{iconsType:t}=(0,cn.useContext)(dn),{size:o,themeColor:a,icon:r,type:l=t||Ta.type,rotate:p,flip:m,viewBox:f=Ta.viewBox,variant:x=Ta.variant,...b}=e;if(!r)return(0,gt.jsx)(gt.Fragment,{});if((t||l)==="svg"){if(r==="none")return(0,gt.jsx)(mr,{...b,className:i(e.className,Ia),icon:r,size:o,variant:x});let u=ur[r]?r:Vp(`${r}-icon`);return ur[u]?(0,gt.jsx)(mr,{...b,className:i(e.className,Ia),icon:ur[u],size:o,themeColor:a,rotate:p,flip:m,viewBox:f,variant:x}):(0,gt.jsx)(gt.Fragment,{})}return(0,gt.jsx)(nn,{...b,className:i(e.className,Ia),icon:r,size:o,themeColor:a,rotate:p,flip:m})};L.states=Wp;L.options=Xp;L.defaultOptions=Ta;L.className=Ia;L.moduleName=sn;L.folderName=ln;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 fr="button",mn=fr;var $e=require("react/jsx-runtime"),ia="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]},br={showArrow:!1,arrowIconName:"chevron-down"},d=e=>{let{as:t="button",size:o,rounded:a,fillMode:r,themeColor:l,showArrow:p=br.showArrow,arrowIconName:m=br.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,$e.jsxs)(t,{className:i(Se,ia,tn(ia,f),A(ia,{size:o,rounded:a,fillMode:r,themeColor:l}),T(ia,{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,$e.jsx)(L,{className:i(ie,"k-button-icon"),icon:I,size:w}),I&&typeof I!="string"&&(0,$e.jsx)($e.Fragment,{children:I}),K?(0,$e.jsxs)($e.Fragment,{children:[K&&(0,$e.jsx)("span",{className:"k-button-text",children:K}),e.children]}):e.children&&(0,$e.jsx)("span",{className:"k-button-text",children:e.children}),p&&(0,$e.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,$e.jsx)(L,{icon:m})})]})};d.states=qp;d.options=Yp;d.variants=Jp;d.className=ia;d.defaultOptions=br;d.moduleName=fr;d.folderName=mn;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 na="input",Ea=na;var un=require("react/jsx-runtime"),Ca="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,un.jsx)("span",{...g,className:i(e.className,Ca,A(Ca,{size:f,rounded:x,fillMode:b}),T(Ca,{hover:t,focus:o,disabled:a,invalid:r,valid:l,loading:p,readonly:m}))})};ne.states=Qp;ne.options=Zp;ne.className=Ca;ne.defaultOptions=jp;ne.moduleName=na;ne.folderName=Ea;var fn=require("react/jsx-runtime"),Oa="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={},ut=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,fn.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})),children:e.children})};ut.states=ed;ut.options=td;ut.className=Oa;ut.defaultOptions=od;ut.moduleName=na;ut.folderName=Ea;var so=require("react/jsx-runtime"),bn="k-clear-value",ad=[s.disabled,s.loading,s.readonly],rd={},Ve=e=>{let{disabled:t,loading:o,readonly:a,value:r}=e;return t||a||o||!r?(0,so.jsx)(so.Fragment,{}):(0,so.jsx)("span",{className:i(e.className,bn),children:(0,so.jsx)(L,{icon:"x"})})};Ve.states=ad;Ve.options=rd;Ve.className=bn;var hn=require("react/jsx-runtime"),hr="k-input-inner",id=[],nd={},Ba={type:"text",autocomplete:"off",value:"",placeholder:""},We=e=>{let{value:t=Ba.value,type:o=Ba.type,placeholder:a=Ba.placeholder,autocomplete:r=Ba.autocomplete,disabled:l,readOnly:p,...m}=e;return(0,hn.jsx)("input",{...m,type:o,className:i(e.className,hr,A(hr,e)),placeholder:a,autoComplete:r,defaultValue:t,disabled:l||void 0,readOnly:p||void 0})};We.states=id;We.options=nd;We.className=hr;var sa=require("react/jsx-runtime"),xr="k-input-inner",sd=[],ld={},Zt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:r,valueIconName:l,...p}=e;return(0,sa.jsxs)("span",{...p,className:i(e.className,xr,A(xr,e)),children:[r,!r&&l&&(0,sa.jsx)(L,{className:"k-input-value-icon",icon:l}),a&&!t&&o,a&&t&&(0,sa.jsx)("span",{className:"k-input-value-text",children:t})]})};Zt.states=sd;Zt.options=ld;Zt.className=xr;var vn=require("react/jsx-runtime"),vr="k-input-inner",pd=[],dd={},xn={value:"",placeholder:""},gr=e=>{let{value:t=xn.value,placeholder:o=xn.placeholder,rows:a,disabled:r,...l}=e;return(0,vn.jsx)("textarea",{...l,className:i(e.className,vr,A(vr,e)),placeholder:o,rows:a,defaultValue:t,disabled:r||void 0})};gr.states=pd;gr.options=dd;gr.className=vr;var la=require("react/jsx-runtime"),gn="k-input-loading-icon",cd=[s.disabled,s.loading],ze=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,la.jsx)(la.Fragment,{}):(0,la.jsx)("span",{className:i(e.className,gn,"k-icon k-i-loading")})};ze.states=cd;ze.className=gn;var pa=require("react/jsx-runtime"),kn="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,pa.jsx)(pa.Fragment,{}):(0,pa.jsx)(L,{className:i(kn),icon:l})};Oe.states=md;Oe.options=ud;Oe.className=kn;var da=require("react/jsx-runtime"),fd="k-input-prefix",bd={direction:"horizontal"},Qe=e=>{let{direction:t=bd.direction,...o}=e;return e.children?(0,da.jsx)("span",{...o,className:i(fd,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,da.jsx)(da.Fragment,{})};var ca=require("react/jsx-runtime"),hd="k-input-suffix",xd={direction:"horizontal"},Ze=e=>{let{direction:t=xd.direction,...o}=e;return e.children?(0,ca.jsx)("span",{...o,className:i(hd,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,ca.jsx)(ca.Fragment,{})};var vd=require("react/jsx-runtime");var Nn=require("react/jsx-runtime"),gd="k-input-suffix-text",kr=e=>{let{children:t,...o}=e;return(0,Nn.jsx)("span",{...o,className:i(gd,e.className),children:t})};var Ln=require("react/jsx-runtime"),Sn="k-input-separator",kd={direction:"vertical"},je=e=>{let{direction:t=kd.direction,...o}=e;return(0,Ln.jsx)("span",{...o,className:i(Sn,e.className,{[`${Sn}-${t}`]:t})})};var yn=require("react/jsx-runtime"),jt=e=>(0,yn.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=[],lo=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)(We,{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)(Ve,{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)(jt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};lo.options=Ld;lo.states=Nd;lo.variants=Md;lo.defaultOptions=Sd;lo.modifiers=yd;lo.className=ne.className;var Mn=require("react/jsx-runtime"),_t=e=>(0,Mn.jsx)(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var An=require("react/jsx-runtime"),ma=e=>(0,An.jsx)(d,{icon:"folder",children:"Button",...e});var Pa=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=[],po=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,Pa.jsx)(_t,{...o,icon:"star"});case"icon-and-text":return(0,Pa.jsx)(ma,{...o,icon:"star",children:"Button"});default:return(0,Pa.jsx)(jt,{...o,children:"Button"})}};po.options=Ad;po.states=wd;po.variants=Td;po.defaultOptions=Id;po.modifiers=Ed;po.className=d.className;var Nr="popup",wn=Nr;var Lr=require("react/jsx-runtime"),In="k-animation-container",Cd=[],Od={},Sr={positionMode:"absolute",shown:!0},et=e=>{let{positionMode:t=Sr.positionMode,shown:o=Sr.shown,animationStyle:a,offset:r,...l}=e;return(0,Lr.jsx)("div",{...l,style:{...r,...e.style},className:i(e.className,In,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,Lr.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};et.states=Cd;et.options=Od;et.className=In;et.defaultOptions=Sr;et.moduleName=Nr;et.folderName=wn;var yr="popup",Tn=yr;var Mr=require("react/jsx-runtime"),En="k-popup",Bd=[],Pd={},Cn={positionMode:"absolute"},Y=e=>{let{offset:t,positionMode:o=Cn.positionMode,animationStyle:a,containerClassName:r,containerRole:l,containerAriaLabel:p,...m}=e;return(0,Mr.jsx)(et,{positionMode:o,offset:t,animationStyle:a,className:r,role:l,"aria-label":p,children:(0,Mr.jsx)("div",{...m,className:i(e.className,En),children:e.children})})};Y.states=Bd;Y.options=Pd;Y.className=En;Y.defaultOptions=Cn;Y.moduleName=yr;Y.folderName=Tn;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 Ar="action-buttons",On=Ar;var Bn=require("react/jsx-runtime"),Ra="k-actions",Rd=[],Kd={},wr={alignment:"start",orientation:"horizontal"},ft=e=>{let{alignment:t=wr.alignment,orientation:o=wr.orientation,...a}=e;return(0,Bn.jsx)("div",{...a,className:i(Ra,{[`${Ra}-${t}`]:t,[`${Ra}-${o}`]:o},e.className),children:e.children})};ft.states=Rd;ft.options=Kd;ft.className=Ra;ft.defaultOptions=wr;ft.moduleName=Ar;ft.folderName=On;var Rn=require("react/jsx-runtime"),Dd="k-actionsheet-footer",Pn={alignment:"stretched",orientation:"horizontal"},zt=e=>{let{alignment:t=Pn.alignment,orientation:o=Pn.orientation,template:a,as:r=a?"div":ft,...l}=e;return(0,Rn.jsx)(r,{...l,...!a&&{alignment:t,orientation:o},className:i(e.className,Dd),children:e.children})};var Ir="searchbox",Kn=Ir;var Ht=require("react/jsx-runtime"),Dn="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]},Tr={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=Tr.showIcon,icon:k=Tr.icon,"aria-label":M,...I}=e;return(0,Ht.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,Dn),children:[S&&(0,Ht.jsx)(L,{className:"k-input-icon",icon:k}),(0,Ht.jsx)(We,{placeholder:o,value:t,"aria-label":M}),(0,Ht.jsx)(ze,{...e}),(0,Ht.jsx)(Oe,{...e}),(0,Ht.jsx)(Ve,{...e})]})};tt.states=_d;tt.options=zd;tt.className=Dn;tt.defaultOptions=Tr;tt.moduleName=Ir;tt.folderName=Kn;var Hd=require("react/jsx-runtime");var Er="textbox",_n=Er;var Le=require("react/jsx-runtime"),zn="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]},Ka={showClearButton:!0,showValidationIcon:!0,separators:!0},be=e=>{let{size:t,rounded:o,fillMode:a,separators:r=Ka.separators,showClearButton:l=Ka.showClearButton,showValidationIcon:p=Ka.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,zn),children:[m&&(0,Le.jsxs)(Le.Fragment,{children:[(0,Le.jsx)(Qe,{children:m}),r&&(0,Le.jsx)(je,{})]}),(0,Le.jsx)(We,{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)(Ve,{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=zn;be.defaultOptions=Ka;be.moduleName=Er;be.folderName=_n;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 ua=be;var Fn=require("react/jsx-runtime"),Hn=e=>(0,Fn.jsx)(ua,{...e});var Un=require("react/jsx-runtime");var Gn=require("react/jsx-runtime");var Gd=require("react/jsx-runtime");var Da=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=[],co=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t!=null&&t[r]?(0,Da.jsx)(L,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[r]?(0,Da.jsx)(jt,{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,Da.jsx)(Hn,{value:"Value",style:{width:300},...o,...a})};co.options=Wd;co.states=$d;co.variants=Jd;co.defaultOptions=Vd;co.modifiers=Xd;co.className=be.className;var Xe=require("react/jsx-runtime"),$n="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,Xe.jsxs)("div",{...u,className:i(e.className,$n),children:[(0,Xe.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,Xe.jsx)("div",{className:"k-actionsheet-actions",children:a}),!g&&(0,Xe.jsxs)("div",{className:"k-actionsheet-title",id:b,children:[t&&(0,Xe.jsx)("div",{className:"k-text-center",children:t}),o&&(0,Xe.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),g&&(0,Xe.jsx)("div",{className:"k-actionsheet-title",id:b,children:g}),r&&(0,Xe.jsx)("div",{className:"k-actionsheet-actions",children:r})]}),(p||l)&&(0,Xe.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:p?(0,Xe.jsx)(be,{value:m,placeholder:f,size:x?"large":"medium","aria-label":t||f||"Input"}):(0,Xe.jsx)(tt,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};Be.className=$n;Be.defaultOptions=qd;var mo=require("react/jsx-runtime"),Cr="k-actionsheet-view",Yd=[],Qd={},Zd={},uo=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,mo.jsx)(Be,{adaptive:t,titleId:p,...r==null?void 0:r.props}),x=(l==null?void 0:l.type)===zt&&(0,mo.jsx)(zt,{...l==null?void 0:l.props});return(0,mo.jsxs)("div",{...m,className:i(e.className,Cr,{[`${Cr}-animated`]:o}),children:[f,(0,mo.jsx)("div",{className:"k-actionsheet-content",children:a}),x]})};uo.states=Yd;uo.options=Qd;uo.className=Cr;uo.defaultOptions=Zd;var fa="action-sheet",_a=fa;var Or="overlay",Vn=Or;var Xn=require("react/jsx-runtime"),Wn="k-overlay",jd=[],ec={},tc={},Ft=e=>{let{...t}=e;return(0,Xn.jsx)("div",{...t,className:i(e.className,Wn),children:e.children})};Ft.states=jd;Ft.options=ec;Ft.className=Wn;Ft.defaultOptions=tc;Ft.moduleName=Or;Ft.folderName=Vn;var eo=require("react/jsx-runtime"),Jn="k-actionsheet",oc=[],ac={},ba={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},oe=e=>{let{side:t=ba.side,fullscreen:o=ba.fullscreen,adaptive:a=ba.adaptive,overlay:r=ba.overlay,template:l,children:p,header:m,footer:f,id:x,...b}=e,g=x&&!l&&m?`${x}-title`:void 0;return(0,eo.jsxs)("div",{className:"k-actionsheet-container",children:[r&&(0,eo.jsx)(Ft,{}),(0,eo.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,eo.jsx)("div",{...b,id:x,role:"dialog","aria-modal":r?"true":void 0,"aria-labelledby":g,className:i(e.className,Jn,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:l||(0,eo.jsx)(uo,{header:m,footer:f,adaptive:a,titleId:g,...e,children:p})})})]})};oe.states=oc;oe.options=ac;oe.className=Jn;oe.defaultOptions=ba;oe.moduleName=fa;oe.folderName=_a;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 Yn=require("react/jsx-runtime"),qn="k-actionsheet-container",rc=[],ic={},nc={},fo=e=>{let{children:t,...o}=e;return(0,Yn.jsx)("div",{...o,className:qn,children:t})};fo.states=rc;fo.options=ic;fo.className=qn;fo.defaultOptions=nc;fo.moduleName=fa;fo.folderName=_a;var Qn=require("react/jsx-runtime"),Br=e=>{let{...t}=e;return(0,Qn.jsx)("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};var ot=require("react/jsx-runtime"),Pr="k-actionsheet-item",sc=[s.hover,s.focus,s.selected,s.disabled],Ut=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,Pr,T(Pr,{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]})};Ut.states=sc;Ut.className=Pr;var Zn=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,es={...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"}],bo=e=>{let{variant:t,modifiers:o,...a}={...es,...e},r={},l=(0,Q.jsxs)(Br,{children:[(0,Q.jsx)(Ut,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,Q.jsx)(Ut,{text:"Add to Favorites",iconName:"heart"}),(0,Q.jsx)(Ut,{text:"Upload New",iconName:"upload",disabled:!0}),(0,Q.jsx)("hr",{className:"k-hr"}),(0,Q.jsx)(Ut,{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)(zt,{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)(zt,{alignment:"stretched",children:[(0,Q.jsx)(d,{text:"Apply",themeColor:"primary"}),(0,Q.jsx)(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:l})};bo.options=cc;bo.states=mc;bo.variants=uc;bo.defaultOptions=es;bo.modifiers=fc;bo.className=oe.className;var Ha=sr(require("react"));var Rr=require("react/jsx-runtime"),bc="k-list-group-sticky-header",Kr=e=>(0,Rr.jsx)("div",{className:i(bc,e.className),children:(0,Rr.jsx)("div",{className:"k-list-header-text",children:e.children})});var ts=require("react/jsx-runtime"),hc="k-no-data",za=e=>{let{live:t,...o}=e;return(0,ts.jsx)("span",{...o,className:i(hc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var to="list",ho=to;var xo=require("react/jsx-runtime"),Dr="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=Ha.default.Children.toArray(a)[0],S=(k=u==null?void 0:u.props)!=null&&k.children?Ha.default.Children.count(u.props.children):Ha.default.Children.count(a);return(0,xo.jsxs)("div",{...b,className:i(e.className,Dr,A(Dr,{size:t}),{"k-virtual-list":o}),children:[p,l,m,r&&(0,xo.jsx)(Kr,{children:r}),a||(f!==void 0?f:(0,xo.jsx)(za,{live:!0,children:"No data found."})),x&&a&&(0,xo.jsxs)(za,{className:"k-sr-only",live:!0,children:[S," items found."]})]})};z.states=xc;z.options=vc;z.className=Dr;z.defaultOptions=gc;z.moduleName=to;z.folderName=ho;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 as=require("react/jsx-runtime"),os="k-list-container",kc=[],Nc={},Sc={},vo=e=>{let{...t}=e;return(0,as.jsx)("div",{...t,className:i(e.className,os),children:e.children})};vo.states=kc;vo.options=Nc;vo.className=os;vo.defaultOptions=Sc;vo.moduleName=to;vo.folderName=ho;var oo="checkbox",go=oo;var _r=require("react/jsx-runtime"),Fa="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,_r.jsx)("span",{className:"k-checkbox-wrap",role:u,children:(0,_r.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,Fa,A(Fa,{size:b,rounded:g}),T(Fa,{hover:r,focus:l,disabled:p,invalid:m,valid:f,indeterminate:a,checked:o}))})})};He.states=Lc;He.options=yc;He.className=Fa;He.defaultOptions=Mc;He.moduleName=oo;He.folderName=go;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 ns=require("react/jsx-runtime"),rs="k-checkbox-list",Ac=[],wc={},is={layout:"vertical"},Pe=e=>{let{layout:t=is.layout,...o}=e;return(0,ns.jsx)("ul",{...o,className:i(e.className,rs,{[`k-list-${t}`]:t}),children:e.children})};Pe.states=Ac;Pe.options=wc;Pe.className=rs;Pe.defaultOptions=is;Pe.moduleName=oo;Pe.folderName=go;var ls=require("react/jsx-runtime"),ss="k-checkbox-list-item",Ic=[],Tc={},Ec={},Re=e=>{let{...t}=e;return(0,ls.jsx)("li",{...t,className:i(e.className,ss),children:e.children})};Re.states=Ic;Re.options=Tc;Re.className=ss;Re.defaultOptions=Ec;Re.moduleName=oo;Re.folderName=go;var ao=require("react/jsx-runtime"),kt=({children:e="Label",id:t="cb-label-after",...o})=>(0,ao.jsxs)(ao.Fragment,{children:[(0,ao.jsx)(nt,{id:t,...o}),(0,ao.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var zr=require("react/jsx-runtime");var Hr=require("react/jsx-runtime");var Fr=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=[],ko=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)(kt,{id:D("cb"),defaultChecked:!0,children:"Label"})}),(0,ye.jsx)(Re,{children:(0,ye.jsx)(kt,{id:D("cb"),children:"Label"})}),(0,ye.jsx)(Re,{children:(0,ye.jsx)(kt,{id:D("cb"),children:"Label"})})]}):(0,ye.jsxs)(Pe,{...o,children:[(0,ye.jsx)(Re,{children:(0,ye.jsx)(kt,{id:D("cb"),defaultChecked:!0,children:"Label"})}),(0,ye.jsx)(Re,{children:(0,ye.jsx)(kt,{id:D("cb"),children:"Label"})}),(0,ye.jsx)(Re,{children:(0,ye.jsx)(kt,{id:D("cb"),children:"Label"})})]})};ko.options=Pc;ko.states=Rc;ko.variants=Dc;ko.defaultOptions=Kc;ko.modifiers=_c;ko.className=Pe.className;var ps=require("react/jsx-runtime"),zc=nt.options,Hc=nt.states,Fc=nt.defaultOptions,Uc=[],Gc=[],No=e=>(0,ps.jsx)(kt,{id:D("checkbox"),...e,defaultChecked:!0,children:"Label"});No.options=zc;No.states=Hc;No.variants=Uc;No.defaultOptions=Fc;No.modifiers=Gc;No.className=nt.className;var bt=require("react/jsx-runtime"),Ur="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,bt.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":Ur,T(Ur,{hover:f,focus:x,disabled:g,selected:b})),children:[p&&(0,bt.jsx)(He,{checked:m}),r&&(0,bt.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,bt.jsx)(L,{icon:r,className:i("k-list-item-icon",l)})}),(0,bt.jsx)("span",{className:"k-list-item-text",children:I}),u&&(0,bt.jsx)("div",{className:"k-list-item-actions",children:u}),S&&(0,bt.jsx)("span",{className:"k-list-item-description",children:S}),o&&o!==""&&(0,bt.jsx)("div",{className:"k-list-item-group-label",children:o})]})};R.states=$c;R.options=Vc;R.className=Ur;R.defaultOptions=Wc;R.moduleName=to;R.folderName=ho;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 ds=require("react/jsx-runtime"),Xc="k-list-ul",Nt=e=>{let{children:t,role:o,id:a,...r}=e;return(0,ds.jsx)("ul",{...r,id:a,role:o,className:i(Xc,e.className),children:t})};Nt.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 So=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,So.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,So.jsx)(Nt,{role:"listbox",id:l,"aria-label":a,"aria-labelledby":r,children:e.children}),t&&(0,So.jsx)("div",{className:"k-height-container",children:(0,So.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 Lo=require("react/jsx-runtime"),Ua="k-list-sticky-header",qc=[s.hover,s.focus,s.selected],Yc={},Qc={},Ga=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:r,hover:l,focus:p,selected:m,...f}=e;return(0,Lo.jsx)("div",{...f,className:i(Ua,e.className),children:(0,Lo.jsxs)("div",{className:i(`${Ua}-item`,T(`${Ua}-item`,{hover:l,focus:p,selected:m})),children:[o&&(0,Lo.jsx)(He,{checked:a,indeterminate:r,"aria-label":t}),(0,Lo.jsx)("span",{className:"k-list-item-text",children:t})]})})};Ga.states=qc;Ga.options=Yc;Ga.className=Ua;Ga.defaultOptions=Qc;var Gr=require("react/jsx-runtime");var yo=require("react/jsx-runtime"),Zc="k-list-group-item",ro=e=>{let{groupIconName:t,...o}=e;return(0,yo.jsxs)("li",{...o,role:"presentation",className:i(Zc,e.className),children:[t&&(0,yo.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,yo.jsx)(L,{icon:t,className:"k-list-item-icon"})}),(0,yo.jsx)("span",{className:"k-list-item-text",children:e.children})]})};ro.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 cs=require("react/jsx-runtime"),$r="k-list-optionlabel",jc=[s.hover,s.focus,s.selected,s.disabled],em={},tm={},$a=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:l,...p}=e;return(0,cs.jsx)("div",{...p,className:i($r,T($r,{hover:o,focus:a,selected:r,disabled:l})),children:t})};$a.states=jc;$a.options=em;$a.className=$r;$a.defaultOptions=tm;var ms=require("react/jsx-runtime"),Vr="k-list-custom-value",om=[s.hover,s.focus,s.selected,s.disabled],am={},rm={},Gt=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:l,...p}=e;return(0,ms.jsx)("div",{...p,className:i(Vr,T(Vr,{hover:o,focus:a,selected:r,disabled:l})),children:t})};Gt.states=om;Gt.options=am;Gt.className=Vr;Gt.defaultOptions=rm;var Wr=require("react/jsx-runtime");var Xr=require("react/jsx-runtime");var Jr=require("react/jsx-runtime");var qr=require("react/jsx-runtime");var im=require("react/jsx-runtime");var Yr=require("react/jsx-runtime");var Qr="combobox",us=Qr;var H=require("react/jsx-runtime"),fs="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]},bs={separators:!0},ue=e=>{let{size:t,rounded:o,fillMode:a,separators:r=bs.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:Yt,autocomplete:rr,activeDescendant:Dt,"aria-label":Ma,...ir}=e,nr=Yt?`${Yt}-listbox`:void 0;return(0,H.jsxs)(H.Fragment,{children:[(0,H.jsxs)(ne,{...ir,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,fs),children:[l&&(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(Qe,{children:l}),r&&(0,H.jsx)(je,{})]}),(0,H.jsx)(We,{id:Yt,placeholder:f,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":w?"true":"false","aria-controls":w?nr:void 0,"aria-activedescendant":w&&Dt?Dt:void 0,"aria-autocomplete":rr,"aria-invalid":u?"true":void 0,"aria-busy":k?"true":void 0,"aria-label":Ma,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)(Ve,{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:Yt?`${Yt}-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)(Gt,{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=fs;ue.defaultOptions=bs;ue.moduleName=Qr;ue.folderName=us;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 Je=ue;var U=require("react/jsx-runtime"),hs="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"})]}),Zr={formula:dm,cellName:"B6"},St=e=>{let{formula:t=Zr.formula,cellName:o=Zr.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,classN