@progress/kendo-themes-html 14.0.0-dev.4 → 14.0.0-dev.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/spreadsheet/demos/spreadsheet.js +1 -1
- package/dist/cjs/spreadsheet/spreadsheet-sheets-bar.js +1 -1
- package/dist/cjs/spreadsheet/spreadsheet-view.js +1 -1
- package/dist/cjs/spreadsheet/templates/spreadsheet-formula-open.js +1 -1
- package/dist/cjs/spreadsheet/templates/spreadsheet-normal.js +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/spreadsheet/demos/spreadsheet.mjs +1 -1
- package/dist/esm/spreadsheet/spreadsheet-sheets-bar.mjs +1 -1
- package/dist/esm/spreadsheet/spreadsheet-view.mjs +1 -1
- package/dist/esm/spreadsheet/templates/spreadsheet-formula-open.mjs +1 -1
- package/dist/esm/spreadsheet/templates/spreadsheet-normal.mjs +1 -1
- package/package.json +2 -2
- package/src/colorpicker/tests/colorpicker-size-rounded.tsx +34 -0
- package/src/spreadsheet/spreadsheet-sheets-bar.tsx +8 -8
- package/dist/types/loader/tests/loader-container-overlay.d.ts +0 -2
- package/src/colorpicker/tests/colorpicker-size.tsx +0 -28
- package/src/loader/tests/loader-container-overlay.tsx +0 -30
- /package/dist/types/colorpicker/tests/{colorpicker-size.d.ts → colorpicker-size-rounded.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
var $t=Object.create;var ue=Object.defineProperty;var Ft=Object.getOwnPropertyDescriptor;var Wt=Object.getOwnPropertyNames;var Vt=Object.getPrototypeOf,Jt=Object.prototype.hasOwnProperty;var Xt=(e,t)=>{for(var o in t)ue(e,o,{get:t[o],enumerable:!0})},Xe=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Wt(t))!Jt.call(e,r)&&r!==o&&ue(e,r,{get:()=>t[r],enumerable:!(n=Ft(t,r))||n.enumerable});return e};var Gt=(e,t,o)=>(o=e!=null?$t(Vt(e)):{},Xe(t||!e||!e.__esModule?ue(o,"default",{value:e,enumerable:!0}):o,e)),qt=e=>Xe(ue({},"__esModule",{value:!0}),e);var on={};Xt(on,{SPREADSHEETSHEETSBAR_CLASSNAME:()=>Je,SpreadsheetSheetsBar:()=>ne,default:()=>tn});module.exports=qt(on);var a=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?a(...t):typeof t=="object"?Object.keys(t).map((o,n)=>t[n]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var w=(e,t)=>a({[`${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"}),F=(e,t)=>{let{valid:o,invalid:n,hover:r,focus:m,checked:s,active:h,selected:p,disabled:M,indeterminate:d,loading:f,empty:I,readonly:v,highlighted:O,...C}=t;return a({"k-valid":o,"k-invalid":n,"k-hover":r,"k-focus":m,"k-checked":s,"k-active":h,"k-selected":p,"k-disabled":M,"k-indeterminate":d&&!s,"k-loading":f,"k-empty":I,"k-readonly":v,"k-highlighted":O},Object.keys(C).reduce((z,A)=>(A.startsWith("k-")?z[A]=C[A]:z[`k-${A}`]=C[A],z),{}))};function Ge(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(n=>[`k-${n}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},B={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},k={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},i={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},u={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var Me={};function xe(e){return Me[e]=(Me[e]||0)+1,`k-${e}-${Me[e]}`}var se=require("react/jsx-runtime"),Ne="k-font-icon",Qt=[],Yt={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[i.undefined,i.base,i.primary,i.secondary,i.tertiary,i.success,i.warning,i.error,i.info]},Zt={},ae=e=>{let{size:t,themeColor:o,icon:n,rotate:r,flip:m,...s}=e;return n?(0,se.jsx)("span",{...s,className:a(e.className,Ne,w(Ne,{size:t}),{[`k-i-${n}`]:n,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":m==="h"||m==="both","k-flip-v":m==="v"||m==="both"}),"aria-hidden":"true"}):(0,se.jsx)(se.Fragment,{})};ae.states=Qt;ae.options=Yt;ae.className=Ne;ae.defaultOptions=Zt;var qe=ae;var Y=require("react/jsx-runtime"),Ie="k-svg-icon",jt=[],eo={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[i.undefined,i.base,i.primary,i.secondary,i.tertiary,i.success,i.warning,i.error,i.info]},Qe={viewBox:"0 0 24 24"},ie=e=>{let{size:t,themeColor:o,rotate:n,flip:r,viewBox:m=Qe.viewBox,icon:s,...h}=e;if(!s)return(0,Y.jsx)(Y.Fragment,{});if(s==="none")return(0,Y.jsx)("span",{...h,className:a(e.className,Ie,w("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let p=typeof s=="object"&&s.name&&s.name;return(0,Y.jsx)("span",{...h,className:a(e.className,Ie,w("k-icon",{size:t}),{[`k-svg-i-${p}`]:p,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true",children:(0,Y.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof s=="object"?s.viewBox:m,dangerouslySetInnerHTML:typeof s=="object"?{__html:s.content}:void 0,children:s?void 0:e.children})})};ie.states=jt;ie.options=eo;ie.className=Ie;ie.defaultOptions=Qe;var ke=ie;var ve=Gt(require("@progress/kendo-svg-icons"));var Ye="icon",Ze="icons";var tt=require("react");var je=require("react"),et=(0,je.createContext)({iconsType:"svg"});var W=require("react/jsx-runtime"),pe="k-icon",to=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),oo=[],no={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[i.undefined,i.base,i.primary,i.secondary,i.tertiary,i.success,i.warning,i.error,i.info]},Se={viewBox:"0 0 24 24",type:"svg"},b=e=>{let{iconsType:t}=(0,tt.useContext)(et),{size:o,themeColor:n,icon:r,type:m=t||Se.type,rotate:s,flip:h,viewBox:p=Se.viewBox,...M}=e;if(!r)return(0,W.jsx)(W.Fragment,{});if((t||m)==="svg"){if(r==="none")return(0,W.jsx)(ke,{...M,className:a(e.className,pe),icon:r,size:o});let f=ve[r]?r:to(`${r}-icon`);return ve[f]?(0,W.jsx)(ke,{...M,className:a(e.className,pe),icon:ve[f],size:o,themeColor:n,rotate:s,flip:h,viewBox:p}):(0,W.jsx)(W.Fragment,{})}return(0,W.jsx)(qe,{...M,className:a(e.className,pe),icon:r,size:o,themeColor:n,rotate:s,flip:h})};b.states=oo;b.options=no;b.defaultOptions=Se;b.className=pe;b.moduleName=Ye;b.folderName=Ze;b.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var ge="button",ot=ge;var H=require("react/jsx-runtime"),le="k-button",ro=["icon-button"],so=[u.hover,u.focus,u.active,u.selected,u.disabled,u.generating],ao={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[B.undefined,B.none,B.small,B.medium,B.large,B.full],fillMode:[k.undefined,k.solid,k.flat,k.outline,k.clear,k.link],themeColor:[i.undefined,i.base,i.primary,i.secondary,i.tertiary,i.success,i.warning,i.error,i.info,i.inverse]},Ae={showArrow:!1,arrowIconName:"chevron-down"},c=e=>{let{as:t="button",size:o,rounded:n,fillMode:r,themeColor:m,showArrow:s=Ae.showArrow,arrowIconName:h=Ae.arrowIconName,variant:p,hover:M,focus:d,active:f,selected:I,disabled:v,togglable:O,ariaDisabled:C,icon:z,text:A,iconClassName:re,className:zt,...Ht}=e,Ut=z!==void 0,Dt=e.children!==void 0;return(0,H.jsxs)(t,{className:a(zt,le,Ge(le,p),w(le,{size:o,rounded:n,fillMode:r,themeColor:m}),F(le,{hover:M,focus:d,active:f,disabled:v||C,selected:I}),{"k-icon-button":!A&&!Dt&&Ut}),...Ht,"aria-pressed":O?I?"true":"false":void 0,"aria-disabled":C?"true":void 0,disabled:v||void 0,children:[z&&(0,H.jsx)(b,{className:a(re,"k-button-icon"),icon:z}),A?(0,H.jsxs)(H.Fragment,{children:[A&&(0,H.jsx)("span",{className:"k-button-text",children:A}),e.children]}):e.children&&(0,H.jsx)("span",{className:"k-button-text",children:e.children}),s&&(0,H.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,H.jsx)(b,{icon:h})})]})};c.states=so;c.options=ao;c.variants=ro;c.className=le;c.defaultOptions=Ae;c.moduleName=ge;c.folderName=ot;c.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 rt=require("react/jsx-runtime"),nt=e=>(0,rt.jsx)(c,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var at=require("react/jsx-runtime"),st=e=>(0,at.jsx)(c,{icon:"folder",children:"Button",...e});var lt=require("react/jsx-runtime"),it=e=>(0,lt.jsx)(c,{children:"Button",...e});var de=require("react/jsx-runtime"),io=c.options,lo=c.states,mo={...c.defaultOptions,variant:"text"},co=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],uo=[],j=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,de.jsx)(nt,{...o,icon:"star"});case"icon-and-text":return(0,de.jsx)(st,{...o,icon:"star",children:"Button"});default:return(0,de.jsx)(it,{...o,children:"Button"})}};j.options=io;j.states=lo;j.variants=co;j.defaultOptions=mo;j.modifiers=uo;j.className=c.className;var Te="menu-button",mt=Te;var ut=require("react/jsx-runtime"),ct="k-menu-button",po=[u.hover,u.focus,u.active,u.selected,u.disabled],fo={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[B.undefined,B.none,B.small,B.medium,B.large,B.full],fillMode:[k.undefined,k.solid,k.flat,k.outline,k.clear,k.link],themeColor:[i.undefined,i.base,i.primary,i.secondary,i.tertiary,i.success,i.warning,i.error,i.info,i.inverse]},Ee={showArrow:!0,arrowIconName:"chevron-down"},x=e=>{let{size:t,rounded:o,fillMode:n,themeColor:r,hover:m,focus:s,active:h,selected:p,disabled:M,icon:d,text:f,showArrow:I=Ee.showArrow,arrowIconName:v=Ee.arrowIconName,expanded:O,...C}=e;return(0,ut.jsx)(c,{...C,className:a(e.className,ct),text:f,size:t,rounded:o,fillMode:n,themeColor:r,hover:m,focus:s,active:h,selected:p,disabled:M,icon:d,showArrow:I,arrowIconName:v,"aria-expanded":O?"true":"false",...!f&&d&&!e["aria-label"]&&{"aria-label":"Menu"},...M&&{"aria-disabled":"true"}})};x.states=po;x.options=fo;x.className=ct;x.defaultOptions=Ee;x.moduleName=Te;x.folderName=mt;x.ariaSpec={selector:".k-menu-button",rules:[{selector:".k-menu-button",attribute:"role=button or nodeName=button",usage:"Omitted if the button DOM element is used."},{selector:".k-menu-button",attribute:"aria-label (when icon-only)",usage:"Required when no text is visible in the button."},{selector:".k-menu-button",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-menu-button",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-menu-button.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};var bo=require("react/jsx-runtime");var ho=require("react/jsx-runtime");var Mo=require("react/jsx-runtime");var P="menu",R=P;var V=require("react/jsx-runtime"),Le="k-menu-item",xo=[u.hover,u.focus,u.active,u.selected,u.disabled],No={},pt={iconPosition:"before"},T=e=>{let{hover:t,focus:o,active:n,selected:r,disabled:m,icon:s,text:h,first:p,last:M,showArrow:d,arrowIconName:f,iconPosition:I=pt.iconPosition,dir:v,children:O,expanded:C,...z}=e,A=f;return A||(A=v==="rtl"?"chevron-left":"chevron-right"),(0,V.jsxs)("li",{...z,className:a(e.className,Le,"k-item",F(Le,{focus:o,disabled:m,hover:t,active:n,selected:r}),{"k-first":p,"k-last":M}),role:"menuitem",...d&&{"aria-haspopup":"menu"},...d&&{"aria-expanded":C?"true":"false"},...m&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,V.jsxs)("span",{className:a("k-link k-menu-link"),children:[s&&I==="before"&&(0,V.jsx)(b,{className:"k-menu-link-icon",icon:s}),(0,V.jsx)("span",{className:"k-menu-link-text",children:h}),s&&I==="after"&&(0,V.jsx)(b,{className:"k-menu-link-icon",icon:s}),d&&(0,V.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,V.jsx)(b,{icon:A})})]}),O]})};T.states=xo;T.options=No;T.className=Le;T.defaultOptions=pt;T.moduleName=P;T.folderName=R;var J=require("react/jsx-runtime"),we="k-menu-item",Io=[u.hover,u.focus,u.active,u.selected,u.disabled],ko={},ye={dir:"ltr",iconPosition:"before"},E=e=>{let{hover:t,focus:o,active:n,selected:r,disabled:m,icon:s,text:h,first:p,last:M,showArrow:d,arrowIconName:f,iconPosition:I=ye.iconPosition,dir:v=ye.dir,children:O,popup:C,expanded:z,...A}=e,re=f;return re||(re=v==="rtl"?"chevron-left":"chevron-right"),(0,J.jsxs)("li",{...A,className:a(e.className,we,"k-item",F(we,{focus:o,disabled:m}),{"k-first":p,"k-last":M}),role:"menuitem",...d&&{"aria-haspopup":"menu"},...d&&{"aria-expanded":z?"true":"false"},...m&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,J.jsxs)("span",{className:a("k-link k-menu-link",F("k-menu-link",{hover:t,active:n,selected:r,disabled:m})),children:[s&&I==="before"&&(0,J.jsx)(b,{className:"k-menu-link-icon",icon:s}),(0,J.jsx)("span",{className:"k-menu-link-text",children:h}),s&&I==="after"&&(0,J.jsx)(b,{className:"k-menu-link-icon",icon:s}),d&&(0,J.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,J.jsx)(b,{icon:re})})]}),O,C]})};E.states=Io;E.options=ko;E.className=we;E.defaultOptions=ye;E.moduleName=P;E.folderName=R;var bt=require("react/jsx-runtime"),dt="k-menu-scroll-wrapper",vo=[],So={},go={},Z=e=>{let{className:t,children:o,orientation:n,...r}=e;return(0,bt.jsx)("div",{...r,className:a(t,dt,{"k-menu-scroll-wrapper-vertical":n==="vertical"}),children:o})};Z.states=vo;Z.options=So;Z.className=dt;Z.defaultOptions=go;Z.moduleName=P;Z.folderName=R;var ft=Z;var g=require("react/jsx-runtime"),Oe="k-menu",Ao=[],To={},be={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},S=e=>{let{children:t,orientation:o=be.orientation,header:n=be.header,scrollable:r,scrollButtonsPosition:m=be.scrollButtonsPosition,wrapperStyles:s,dir:h,popup:p,contextMenu:M,...d}=e,f={horizontal:{prev:h!=="rtl"?"left":"right",next:h!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},I=(0,g.jsx)("ul",{dir:h,...d,className:a(e.className,"k-reset",Oe,{[`${Oe}-${o}`]:o,"k-header":n}),role:M?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return(0,g.jsxs)(g.Fragment,{children:[r?(0,g.jsxs)(ft,{orientation:o,style:s,dir:e.dir,children:[m==="start"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(c,{fillMode:"flat",icon:`chevron-${f[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,g.jsx)(c,{fillMode:"flat",icon:`chevron-${f[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),m==="around"&&(0,g.jsx)(c,{fillMode:"flat",icon:`chevron-${f[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),I,m==="end"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(c,{fillMode:"flat",icon:`chevron-${f[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,g.jsx)(c,{fillMode:"flat",icon:`chevron-${f[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),m==="around"&&(0,g.jsx)(c,{fillMode:"flat",icon:`chevron-${f[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):I,p]})};S.states=Ao;S.options=To;S.className=Oe;S.defaultOptions=be;S.moduleName=P;S.folderName=R;S.ariaSpec={selector:".k-menu",rules:[{selector:".k-menu:not(.k-context-menu)",attribute:"role=menubar",usage:"Announces the Menu menubar role."},{selector:".k-menu.k-menu-vertical",attribute:"aria-orientation=vertical",usage:"Announces the Menu orientation when vertical."},{selector:".k-menu-item",attribute:"role=menuitem",usage:"Announces the Menu item role."},{selector:".k-menu-item",attribute:"aria-haspopup=menu (when present)",usage:"Indicates a popup menu is associated with the item."},{selector:".k-menu-item",attribute:"aria-expanded=true/false (when present)",usage:"Indicates whether the submenu is expanded."},{selector:".k-menu-item.k-disabled",attribute:"aria-disabled=true",usage:"Informs assistive technologies that a Menu item is disabled."},{selector:".k-menu-expand-arrow",attribute:"aria-hidden=true",usage:"Expand arrow elements are hidden from assistive technologies."},{selector:".k-menu-popup .k-menu-group",attribute:"role=menu",usage:"The role of the nested menu displayed in a popup."},{selector:".k-menu-scroll-button",attribute:"tabindex=-1",usage:"Scroll buttons are removed from the tab sequence."},{selector:".k-menu-scroll-button",attribute:"aria-label",usage:"Scroll buttons have an accessible label."},{selector:".k-menu-item.k-focus",attribute:"tabindex=0",usage:"The focused item has tabindex 0."},{selector:".k-menu-item",attribute:"aria-controls=ul.k-menu-group id (when present)",usage:"Points to the ID of the submenu. Only present when the item controls a submenu element."},{selector:".k-menu-popup .k-menu-group",attribute:"id",usage:"Each nested menu has a deterministic id linked to the parent aria-controls."}]};var Mt=require("react/jsx-runtime"),Ce="k-separator",ht={orientation:"horizontal"},ee=e=>{let{orientation:t=ht.orientation,...o}=e;return(0,Mt.jsx)("li",{...o,className:a(e.className,"k-item",Ce,{[`${Ce}-${t}`]:t}),role:"separator"})};ee.className=Ce;ee.defaultOptions=ht;ee.moduleName=P;ee.folderName=R;var xt=require("react/jsx-runtime");var Nt=require("react/jsx-runtime"),Be="k-menu-group",Eo=[],Lo={size:[l.undefined,l.small,l.medium,l.large]},wo={},K=e=>{let{children:t,size:o,...n}=e;return(0,Nt.jsx)("ul",{...n,className:a(e.className,Be,w(Be,{size:o})),role:"menu",children:t})};K.states=Eo;K.options=Lo;K.className=Be;K.defaultOptions=wo;K.moduleName=P;K.folderName=R;var U=require("react/jsx-runtime"),Pe=e=>(0,U.jsx)(S,{children:(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(T,{first:!0,text:"Item 1"}),(0,U.jsx)(T,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),(0,U.jsx)(T,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),(0,U.jsx)(T,{text:"Item 4"}),(0,U.jsx)(T,{last:!0,text:"Item 5"})]}),...e});var _e="popup",It=_e;var Re=require("react/jsx-runtime"),kt="k-animation-container",yo=[],Oo={},vt={positionMode:"absolute"},q=e=>{let{positionMode:t=vt.positionMode,animationStyle:o,offset:n,...r}=e;return(0,Re.jsx)("div",{...r,style:{...n,...e.style},className:a(e.className,kt,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,Re.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};q.states=yo;q.options=Oo;q.className=kt;q.defaultOptions=vt;q.moduleName=_e;q.folderName=It;var Ke="popup",St=Ke;var ze=require("react/jsx-runtime"),gt="k-popup",Co=[],Bo={},At={positionMode:"absolute"},_=e=>{let{offset:t,positionMode:o=At.positionMode,animationStyle:n,containerClassName:r,containerRole:m,containerAriaLabel:s,...h}=e;return(0,ze.jsx)(q,{positionMode:o,offset:t,animationStyle:n,className:r,role:m,"aria-label":s,children:(0,ze.jsx)("div",{...h,className:a(e.className,gt),children:e.children})})};_.states=Co;_.options=Bo;_.className=gt;_.defaultOptions=At;_.moduleName=Ke;_.folderName=St;_.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 He=require("react/jsx-runtime");var Ue=require("react/jsx-runtime");var De=require("react/jsx-runtime");var $e=require("react/jsx-runtime");var $=require("react/jsx-runtime"),Po=S.options,_o=S.states,Tt={...S.defaultOptions,variant:"horizontal"},Ro=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Ko=[{name:"scrollable",title:"Scrollable"},{name:"opened",title:"Opened"}],te=e=>{let{variant:t,modifiers:o,...n}={...Tt,...e},r={};return Object.keys(o||{}).forEach(m=>{switch(m){case"scrollable":r.scrollable=!!(o!=null&&o[m]);break;case"opened":r.opened=!!(o!=null&&o[m]),r.popup=(0,$.jsx)(_,{className:"k-menu-popup",children:(0,$.jsxs)(K,{children:[(0,$.jsx)(E,{text:"Item 1"}),(0,$.jsx)(E,{text:"Item 2"}),(0,$.jsx)(ee,{}),(0,$.jsx)(E,{text:"Item 3"})]})});break}}),t==="vertical"?(0,$.jsx)(Pe,{...n,...r,orientation:"vertical",style:{width:"200px"}}):(0,$.jsx)(Pe,{...n,...r})};te.options=Po;te.states=_o;te.variants=Ro;te.defaultOptions=Tt;te.modifiers=Ko;te.className=S.className;var Fe=require("react/jsx-runtime");var zo=require("react/jsx-runtime");var L=require("react/jsx-runtime"),Ho=c.states,Et={...c.defaultOptions,variant:"text"},Uo=c.options,Do=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],$o=[{name:"opened",title:"Opened"}],oe=e=>{let{variant:t,modifiers:o,...n}={...Et,...e},r={},m=(0,L.jsx)(_,{className:"k-menu-popup",children:(0,L.jsxs)(K,{size:n.size,children:[(0,L.jsx)(E,{first:!0,text:"Menu Item"}),(0,L.jsx)(E,{text:"Menu Item"}),(0,L.jsx)(E,{last:!0,text:"Menu Item"})]})}),s;switch(t){case"icon-only":s=(0,L.jsx)("div",{children:(0,L.jsx)(x,{...n,...r,icon:"star"})});break;case"icon-and-text":s=(0,L.jsx)("div",{children:(0,L.jsx)(x,{...n,...r,icon:"star",children:"Dropdown Button"})});break;default:s=(0,L.jsx)("div",{children:(0,L.jsx)(x,{...n,...r,children:"Dropdown Button"})});break}return(0,L.jsxs)(L.Fragment,{children:[s,(o==null?void 0:o.opened)&&m]})};oe.options=Uo;oe.states=Ho;oe.variants=Do;oe.defaultOptions=Et;oe.modifiers=$o;oe.className=x.className;var yt=require("react/jsx-runtime"),Lt="k-tabstrip-items",Fo=[],Wo={},Vo={tabAlignment:"start"},me=e=>{let{children:t,tabAlignment:o,orientation:n,...r}=e;return(0,yt.jsx)("ul",{...r,className:a(e.className,Lt,"k-reset",`k-tabstrip-items-${o}`),role:"tablist",...n==="vertical"&&{"aria-orientation":"vertical"},children:t})};me.states=Fo;me.options=Wo;me.className=Lt;me.defaultOptions=Vo;var wt=me;var Pt=require("react/jsx-runtime"),Ot="k-tabstrip-items-wrapper",Jo=[],Xo={},Ct={orientation:"horizontal"},ce=e=>{let{children:t,orientation:o=Ct.orientation,...n}=e;return(0,Pt.jsx)("div",{...n,className:a(e.className,Ot,{"k-hstack":o==="horizontal","k-vstack":o==="vertical"}),children:t})};ce.states=Jo;ce.options=Xo;ce.className=Ot;ce.defaultOptions=Ct;var Bt=ce;var We="tabstrip",_t=We;var y=require("react/jsx-runtime"),Q="k-tabstrip",Go=[],qo={size:[l.undefined,l.small,l.medium,l.large]},he={position:"top",tabAlignment:"start",scrollButtons:"around"},X=e=>{let{size:t,scrollable:o,children:n,tabStripItems:r,tabStripItemsId:m,position:s=he.position,tabAlignment:h=he.tabAlignment,scrollButtons:p=he.scrollButtons,dir:M,scrollingPosition:d,overflow:f,...I}=e,v={top:{prev:M!=="rtl"?"left":"right",next:M!=="rtl"?"right":"left"},bottom:{prev:M!=="rtl"?"left":"right",next:M!=="rtl"?"right":"left"},right:{prev:"up",next:"down"},left:{prev:"up",next:"down"}},O={top:"horizontal",bottom:"horizontal",left:"vertical",right:"vertical"},C={start:"start",center:"center",end:"end",justify:"justify",stretched:"stretched"};return(0,y.jsxs)("div",{dir:M,...I,className:a(Q,e.className,{[`${Q}-${s}`]:s,[`${Q}-scrollable`]:o,[`${Q}-scrollable-overlay`]:o&&(p==="hidden"||!p),[`${Q}-scrollable-${d}`]:d&&d!=="both",[`${Q}-overflow`]:f},w(Q,{size:t})),children:[s==="bottom"&&n,(0,y.jsxs)(Bt,{orientation:O[s],children:[o&&(p==="around"||p==="start")&&(0,y.jsx)("span",{className:a("k-tabstrip-prev","k-button",w("k-button",{size:t,fillMode:k.flat}),"k-icon-button"),"aria-hidden":"true",children:(0,y.jsx)(b,{className:"k-button-icon",icon:`chevron-${v[s].prev}`})}),o&&p==="start"&&(0,y.jsx)("span",{className:a("k-tabstrip-next","k-button",w("k-button",{size:t,fillMode:k.flat}),"k-icon-button"),"aria-hidden":"true",children:(0,y.jsx)(b,{className:"k-button-icon",icon:`chevron-${v[s].next}`})}),(0,y.jsx)(wt,{className:a({"k-tabstrip-items-scroll":o&&p==="hidden"}),tabAlignment:C[h],orientation:O[s],...m&&{id:m},children:r}),o&&p==="end"&&(0,y.jsx)("span",{className:a("k-tabstrip-prev","k-button",w("k-button",{size:t,fillMode:k.flat}),"k-icon-button"),"aria-hidden":"true",children:(0,y.jsx)(b,{className:"k-button-icon",icon:`chevron-${v[s].prev}`})}),o&&(p==="around"||p==="end")&&(0,y.jsx)("span",{className:a("k-tabstrip-next","k-button",w("k-button",{size:t,fillMode:k.flat}),"k-icon-button"),"aria-hidden":"true",children:(0,y.jsx)(b,{className:"k-button-icon",icon:`chevron-${v[s].next}`})}),f&&(0,y.jsx)("div",{className:"k-tabstrip-actions k-hstack",children:(0,y.jsx)(x,{className:"k-tabstrip-overflow-button",icon:"more-vertical",fillMode:"flat",size:t,showArrow:!1})})]}),s!=="bottom"&&n]})};X.states=Go;X.options=qo;X.className=Q;X.defaultOptions=he;X.moduleName=We;X.folderName=_t;X.ariaSpec={selector:".k-tabstrip",rules:[{selector:".k-tabstrip-items",attribute:"role=tablist",usage:"Indicates the tablist role for the ul element."},{selector:".k-tabstrip.k-tabstrip-left .k-tabstrip-items,.k-tabstrip.k-tabstrip-right .k-tabstrip-items",attribute:"aria-orientation=vertical",usage:"Indicates the orientation when vertical."},{selector:".k-tabstrip-item",attribute:"role=tab",usage:"The tab li element."},{selector:".k-tabstrip .k-tabstrip-item.k-active",attribute:"aria-selected=true",usage:"Announces the selected state of the tab."},{selector:".k-tabstrip-content",attribute:"role=tabpanel",usage:"The content div of the tab."},{selector:".k-tabstrip .k-tabstrip-item.k-active",attribute:"aria-controls (when present)",usage:"Announces the relation between the panel and active tab. Only present when tab controls a specific panel."},{selector:".k-tabstrip-content",attribute:"aria-hidden=true (when not active)",usage:"Only if the component implements a feature to control whether the content should be persisted."},{selector:".k-tabstrip-content",attribute:"aria-labelledby (when present)",usage:"Refers to the tab element that controls the panel. Only present when panel has an associated tab."},{selector:".k-tabstrip-scrollable .k-button",attribute:"aria-hidden=true",usage:"Scroll buttons are hidden from assistive technologies."}]};var G=require("react/jsx-runtime"),Ve="k-tabstrip-item",Qo=[u.active,u.hover,u.disabled,u.focus],Yo={},Rt={iconPosition:"before"},D=e=>{let{dragging:t,active:o,hover:n,focus:r,disabled:m,children:s,first:h,last:p,closable:M,icon:d,iconPosition:f=Rt.iconPosition,value:I,actions:v,...O}=e;return(0,G.jsxs)("li",{...O,className:a(e.className,Ve,F(Ve,{hover:n,active:o,disabled:m,focus:r}),{"k-tabstrip-dragging":t,"k-first":h,"k-last":p}),role:"tab",...o&&{"aria-selected":"true"},...m&&{"aria-disabled":"true"},children:[(0,G.jsxs)("span",{className:"k-link",children:[d&&f==="before"&&(0,G.jsx)(b,{icon:d}),I&&(0,G.jsx)("span",{className:"k-link-text",children:I}),d&&f==="after"&&(0,G.jsx)(b,{icon:d})]}),(v||M)&&(0,G.jsxs)("span",{className:"k-item-actions",children:[v,M&&(0,G.jsx)(c,{as:"span",className:"k-remove-tab",icon:"x",fillMode:"flat",size:"xsmall",title:"Close","aria-hidden":"true"})]}),s]})};D.states=Qo;D.options=Yo;D.className=Ve;D.item=Rt;var N=require("react/jsx-runtime"),Je="k-spreadsheet-sheets-bar",Zo=[],jo={},en=(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(D,{first:!0,active:!0,value:"Sheet 1",actions:(0,N.jsx)(x,{showArrow:!1,size:"xsmall",icon:"chevron-down",fillMode:"flat","aria-label":"Sheet options"})},"sheet1"),(0,N.jsx)(D,{value:"Sheet 2",actions:(0,N.jsx)(x,{showArrow:!1,size:"xsmall",icon:"chevron-down",fillMode:"flat","aria-label":"Sheet options"})},"sheet2"),(0,N.jsx)(D,{value:"Sheet 3",actions:(0,N.jsx)(x,{showArrow:!1,size:"xsmall",icon:"chevron-down",fillMode:"flat","aria-label":"Sheet options"})},"sheet3"),(0,N.jsx)(D,{value:"Sheet 4",actions:(0,N.jsx)(x,{showArrow:!1,size:"xsmall",icon:"chevron-down",fillMode:"flat","aria-label":"Sheet options"})},"sheet4"),(0,N.jsx)(D,{value:"Sheet 5",actions:(0,N.jsx)(x,{showArrow:!1,size:"xsmall",icon:"chevron-down",fillMode:"flat","aria-label":"Sheet options"})},"sheet5"),(0,N.jsx)(D,{last:!0,value:"Sheet 6",actions:(0,N.jsx)(x,{showArrow:!1,size:"xsmall",icon:"chevron-down",fillMode:"flat","aria-label":"Sheet options"})},"sheet6")]}),Kt={tabStripItems:en},ne=e=>{let{tabStripItems:t=Kt.tabStripItems,...o}=e,n=xe("spreadsheet-sheets");return(0,N.jsxs)("div",{...o,className:a(Je,e.className),children:[(0,N.jsx)(c,{className:"k-spreadsheet-sheet-add",fillMode:"flat",size:"xsmall",icon:"plus","aria-label":"Add new sheet","aria-controls":n}),(0,N.jsx)(c,{className:"k-spreadsheet-sheets-menu",fillMode:"flat",size:"xsmall",icon:"menu","aria-label":"Sheets menu","aria-controls":n}),(0,N.jsx)(X,{className:"k-spreadsheet-sheets",tabStripItems:t,tabStripItemsId:n,position:"bottom",scrollable:!0,scrollButtons:"end"})]})};ne.states=Zo;ne.options=jo;ne.className=Je;ne.defaultOptions=Kt;var tn=ne;
|
|
1
|
+
var $t=Object.create;var ue=Object.defineProperty;var Ft=Object.getOwnPropertyDescriptor;var Wt=Object.getOwnPropertyNames;var Vt=Object.getPrototypeOf,Jt=Object.prototype.hasOwnProperty;var Xt=(e,t)=>{for(var o in t)ue(e,o,{get:t[o],enumerable:!0})},Xe=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Wt(t))!Jt.call(e,r)&&r!==o&&ue(e,r,{get:()=>t[r],enumerable:!(n=Ft(t,r))||n.enumerable});return e};var Gt=(e,t,o)=>(o=e!=null?$t(Vt(e)):{},Xe(t||!e||!e.__esModule?ue(o,"default",{value:e,enumerable:!0}):o,e)),qt=e=>Xe(ue({},"__esModule",{value:!0}),e);var on={};Xt(on,{SPREADSHEETSHEETSBAR_CLASSNAME:()=>Je,SpreadsheetSheetsBar:()=>ne,default:()=>tn});module.exports=qt(on);var a=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?a(...t):typeof t=="object"?Object.keys(t).map((o,n)=>t[n]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var w=(e,t)=>a({[`${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"}),F=(e,t)=>{let{valid:o,invalid:n,hover:r,focus:m,checked:s,active:h,selected:p,disabled:M,indeterminate:d,loading:f,empty:I,readonly:v,highlighted:O,...C}=t;return a({"k-valid":o,"k-invalid":n,"k-hover":r,"k-focus":m,"k-checked":s,"k-active":h,"k-selected":p,"k-disabled":M,"k-indeterminate":d&&!s,"k-loading":f,"k-empty":I,"k-readonly":v,"k-highlighted":O},Object.keys(C).reduce((z,A)=>(A.startsWith("k-")?z[A]=C[A]:z[`k-${A}`]=C[A],z),{}))};function Ge(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(n=>[`k-${n}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},B={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},k={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},i={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},u={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var Me={};function xe(e){return Me[e]=(Me[e]||0)+1,`k-${e}-${Me[e]}`}var se=require("react/jsx-runtime"),Ne="k-font-icon",Qt=[],Yt={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[i.undefined,i.base,i.primary,i.secondary,i.tertiary,i.success,i.warning,i.error,i.info]},Zt={},ae=e=>{let{size:t,themeColor:o,icon:n,rotate:r,flip:m,...s}=e;return n?(0,se.jsx)("span",{...s,className:a(e.className,Ne,w(Ne,{size:t}),{[`k-i-${n}`]:n,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":m==="h"||m==="both","k-flip-v":m==="v"||m==="both"}),"aria-hidden":"true"}):(0,se.jsx)(se.Fragment,{})};ae.states=Qt;ae.options=Yt;ae.className=Ne;ae.defaultOptions=Zt;var qe=ae;var Y=require("react/jsx-runtime"),Ie="k-svg-icon",jt=[],eo={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[i.undefined,i.base,i.primary,i.secondary,i.tertiary,i.success,i.warning,i.error,i.info]},Qe={viewBox:"0 0 24 24"},ie=e=>{let{size:t,themeColor:o,rotate:n,flip:r,viewBox:m=Qe.viewBox,icon:s,...h}=e;if(!s)return(0,Y.jsx)(Y.Fragment,{});if(s==="none")return(0,Y.jsx)("span",{...h,className:a(e.className,Ie,w("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let p=typeof s=="object"&&s.name&&s.name;return(0,Y.jsx)("span",{...h,className:a(e.className,Ie,w("k-icon",{size:t}),{[`k-svg-i-${p}`]:p,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true",children:(0,Y.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof s=="object"?s.viewBox:m,dangerouslySetInnerHTML:typeof s=="object"?{__html:s.content}:void 0,children:s?void 0:e.children})})};ie.states=jt;ie.options=eo;ie.className=Ie;ie.defaultOptions=Qe;var ke=ie;var ve=Gt(require("@progress/kendo-svg-icons"));var Ye="icon",Ze="icons";var tt=require("react");var je=require("react"),et=(0,je.createContext)({iconsType:"svg"});var W=require("react/jsx-runtime"),pe="k-icon",to=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),oo=[],no={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[i.undefined,i.base,i.primary,i.secondary,i.tertiary,i.success,i.warning,i.error,i.info]},Se={viewBox:"0 0 24 24",type:"svg"},b=e=>{let{iconsType:t}=(0,tt.useContext)(et),{size:o,themeColor:n,icon:r,type:m=t||Se.type,rotate:s,flip:h,viewBox:p=Se.viewBox,...M}=e;if(!r)return(0,W.jsx)(W.Fragment,{});if((t||m)==="svg"){if(r==="none")return(0,W.jsx)(ke,{...M,className:a(e.className,pe),icon:r,size:o});let f=ve[r]?r:to(`${r}-icon`);return ve[f]?(0,W.jsx)(ke,{...M,className:a(e.className,pe),icon:ve[f],size:o,themeColor:n,rotate:s,flip:h,viewBox:p}):(0,W.jsx)(W.Fragment,{})}return(0,W.jsx)(qe,{...M,className:a(e.className,pe),icon:r,size:o,themeColor:n,rotate:s,flip:h})};b.states=oo;b.options=no;b.defaultOptions=Se;b.className=pe;b.moduleName=Ye;b.folderName=Ze;b.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var ge="button",ot=ge;var H=require("react/jsx-runtime"),le="k-button",ro=["icon-button"],so=[u.hover,u.focus,u.active,u.selected,u.disabled,u.generating],ao={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[B.undefined,B.none,B.small,B.medium,B.large,B.full],fillMode:[k.undefined,k.solid,k.flat,k.outline,k.clear,k.link],themeColor:[i.undefined,i.base,i.primary,i.secondary,i.tertiary,i.success,i.warning,i.error,i.info,i.inverse]},Ae={showArrow:!1,arrowIconName:"chevron-down"},c=e=>{let{as:t="button",size:o,rounded:n,fillMode:r,themeColor:m,showArrow:s=Ae.showArrow,arrowIconName:h=Ae.arrowIconName,variant:p,hover:M,focus:d,active:f,selected:I,disabled:v,togglable:O,ariaDisabled:C,icon:z,text:A,iconClassName:re,className:zt,...Ht}=e,Ut=z!==void 0,Dt=e.children!==void 0;return(0,H.jsxs)(t,{className:a(zt,le,Ge(le,p),w(le,{size:o,rounded:n,fillMode:r,themeColor:m}),F(le,{hover:M,focus:d,active:f,disabled:v||C,selected:I}),{"k-icon-button":!A&&!Dt&&Ut}),...Ht,"aria-pressed":O?I?"true":"false":void 0,"aria-disabled":C?"true":void 0,disabled:v||void 0,children:[z&&(0,H.jsx)(b,{className:a(re,"k-button-icon"),icon:z}),A?(0,H.jsxs)(H.Fragment,{children:[A&&(0,H.jsx)("span",{className:"k-button-text",children:A}),e.children]}):e.children&&(0,H.jsx)("span",{className:"k-button-text",children:e.children}),s&&(0,H.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,H.jsx)(b,{icon:h})})]})};c.states=so;c.options=ao;c.variants=ro;c.className=le;c.defaultOptions=Ae;c.moduleName=ge;c.folderName=ot;c.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 rt=require("react/jsx-runtime"),nt=e=>(0,rt.jsx)(c,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var at=require("react/jsx-runtime"),st=e=>(0,at.jsx)(c,{icon:"folder",children:"Button",...e});var lt=require("react/jsx-runtime"),it=e=>(0,lt.jsx)(c,{children:"Button",...e});var de=require("react/jsx-runtime"),io=c.options,lo=c.states,mo={...c.defaultOptions,variant:"text"},co=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],uo=[],j=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,de.jsx)(nt,{...o,icon:"star"});case"icon-and-text":return(0,de.jsx)(st,{...o,icon:"star",children:"Button"});default:return(0,de.jsx)(it,{...o,children:"Button"})}};j.options=io;j.states=lo;j.variants=co;j.defaultOptions=mo;j.modifiers=uo;j.className=c.className;var Te="menu-button",mt=Te;var ut=require("react/jsx-runtime"),ct="k-menu-button",po=[u.hover,u.focus,u.active,u.selected,u.disabled],fo={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[B.undefined,B.none,B.small,B.medium,B.large,B.full],fillMode:[k.undefined,k.solid,k.flat,k.outline,k.clear,k.link],themeColor:[i.undefined,i.base,i.primary,i.secondary,i.tertiary,i.success,i.warning,i.error,i.info,i.inverse]},Ee={showArrow:!0,arrowIconName:"chevron-down"},x=e=>{let{size:t,rounded:o,fillMode:n,themeColor:r,hover:m,focus:s,active:h,selected:p,disabled:M,icon:d,text:f,showArrow:I=Ee.showArrow,arrowIconName:v=Ee.arrowIconName,expanded:O,...C}=e;return(0,ut.jsx)(c,{...C,className:a(e.className,ct),text:f,size:t,rounded:o,fillMode:n,themeColor:r,hover:m,focus:s,active:h,selected:p,disabled:M,icon:d,showArrow:I,arrowIconName:v,"aria-expanded":O?"true":"false",...!f&&d&&!e["aria-label"]&&{"aria-label":"Menu"},...M&&{"aria-disabled":"true"}})};x.states=po;x.options=fo;x.className=ct;x.defaultOptions=Ee;x.moduleName=Te;x.folderName=mt;x.ariaSpec={selector:".k-menu-button",rules:[{selector:".k-menu-button",attribute:"role=button or nodeName=button",usage:"Omitted if the button DOM element is used."},{selector:".k-menu-button",attribute:"aria-label (when icon-only)",usage:"Required when no text is visible in the button."},{selector:".k-menu-button",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-menu-button",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-menu-button.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};var bo=require("react/jsx-runtime");var ho=require("react/jsx-runtime");var Mo=require("react/jsx-runtime");var P="menu",R=P;var V=require("react/jsx-runtime"),Le="k-menu-item",xo=[u.hover,u.focus,u.active,u.selected,u.disabled],No={},pt={iconPosition:"before"},T=e=>{let{hover:t,focus:o,active:n,selected:r,disabled:m,icon:s,text:h,first:p,last:M,showArrow:d,arrowIconName:f,iconPosition:I=pt.iconPosition,dir:v,children:O,expanded:C,...z}=e,A=f;return A||(A=v==="rtl"?"chevron-left":"chevron-right"),(0,V.jsxs)("li",{...z,className:a(e.className,Le,"k-item",F(Le,{focus:o,disabled:m,hover:t,active:n,selected:r}),{"k-first":p,"k-last":M}),role:"menuitem",...d&&{"aria-haspopup":"menu"},...d&&{"aria-expanded":C?"true":"false"},...m&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,V.jsxs)("span",{className:a("k-link k-menu-link"),children:[s&&I==="before"&&(0,V.jsx)(b,{className:"k-menu-link-icon",icon:s}),(0,V.jsx)("span",{className:"k-menu-link-text",children:h}),s&&I==="after"&&(0,V.jsx)(b,{className:"k-menu-link-icon",icon:s}),d&&(0,V.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,V.jsx)(b,{icon:A})})]}),O]})};T.states=xo;T.options=No;T.className=Le;T.defaultOptions=pt;T.moduleName=P;T.folderName=R;var J=require("react/jsx-runtime"),we="k-menu-item",Io=[u.hover,u.focus,u.active,u.selected,u.disabled],ko={},ye={dir:"ltr",iconPosition:"before"},E=e=>{let{hover:t,focus:o,active:n,selected:r,disabled:m,icon:s,text:h,first:p,last:M,showArrow:d,arrowIconName:f,iconPosition:I=ye.iconPosition,dir:v=ye.dir,children:O,popup:C,expanded:z,...A}=e,re=f;return re||(re=v==="rtl"?"chevron-left":"chevron-right"),(0,J.jsxs)("li",{...A,className:a(e.className,we,"k-item",F(we,{focus:o,disabled:m}),{"k-first":p,"k-last":M}),role:"menuitem",...d&&{"aria-haspopup":"menu"},...d&&{"aria-expanded":z?"true":"false"},...m&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,J.jsxs)("span",{className:a("k-link k-menu-link",F("k-menu-link",{hover:t,active:n,selected:r,disabled:m})),children:[s&&I==="before"&&(0,J.jsx)(b,{className:"k-menu-link-icon",icon:s}),(0,J.jsx)("span",{className:"k-menu-link-text",children:h}),s&&I==="after"&&(0,J.jsx)(b,{className:"k-menu-link-icon",icon:s}),d&&(0,J.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,J.jsx)(b,{icon:re})})]}),O,C]})};E.states=Io;E.options=ko;E.className=we;E.defaultOptions=ye;E.moduleName=P;E.folderName=R;var bt=require("react/jsx-runtime"),dt="k-menu-scroll-wrapper",vo=[],So={},go={},Z=e=>{let{className:t,children:o,orientation:n,...r}=e;return(0,bt.jsx)("div",{...r,className:a(t,dt,{"k-menu-scroll-wrapper-vertical":n==="vertical"}),children:o})};Z.states=vo;Z.options=So;Z.className=dt;Z.defaultOptions=go;Z.moduleName=P;Z.folderName=R;var ft=Z;var g=require("react/jsx-runtime"),Oe="k-menu",Ao=[],To={},be={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},S=e=>{let{children:t,orientation:o=be.orientation,header:n=be.header,scrollable:r,scrollButtonsPosition:m=be.scrollButtonsPosition,wrapperStyles:s,dir:h,popup:p,contextMenu:M,...d}=e,f={horizontal:{prev:h!=="rtl"?"left":"right",next:h!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},I=(0,g.jsx)("ul",{dir:h,...d,className:a(e.className,"k-reset",Oe,{[`${Oe}-${o}`]:o,"k-header":n}),role:M?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return(0,g.jsxs)(g.Fragment,{children:[r?(0,g.jsxs)(ft,{orientation:o,style:s,dir:e.dir,children:[m==="start"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(c,{fillMode:"flat",icon:`chevron-${f[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,g.jsx)(c,{fillMode:"flat",icon:`chevron-${f[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),m==="around"&&(0,g.jsx)(c,{fillMode:"flat",icon:`chevron-${f[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),I,m==="end"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(c,{fillMode:"flat",icon:`chevron-${f[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,g.jsx)(c,{fillMode:"flat",icon:`chevron-${f[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),m==="around"&&(0,g.jsx)(c,{fillMode:"flat",icon:`chevron-${f[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):I,p]})};S.states=Ao;S.options=To;S.className=Oe;S.defaultOptions=be;S.moduleName=P;S.folderName=R;S.ariaSpec={selector:".k-menu",rules:[{selector:".k-menu:not(.k-context-menu)",attribute:"role=menubar",usage:"Announces the Menu menubar role."},{selector:".k-menu.k-menu-vertical",attribute:"aria-orientation=vertical",usage:"Announces the Menu orientation when vertical."},{selector:".k-menu-item",attribute:"role=menuitem",usage:"Announces the Menu item role."},{selector:".k-menu-item",attribute:"aria-haspopup=menu (when present)",usage:"Indicates a popup menu is associated with the item."},{selector:".k-menu-item",attribute:"aria-expanded=true/false (when present)",usage:"Indicates whether the submenu is expanded."},{selector:".k-menu-item.k-disabled",attribute:"aria-disabled=true",usage:"Informs assistive technologies that a Menu item is disabled."},{selector:".k-menu-expand-arrow",attribute:"aria-hidden=true",usage:"Expand arrow elements are hidden from assistive technologies."},{selector:".k-menu-popup .k-menu-group",attribute:"role=menu",usage:"The role of the nested menu displayed in a popup."},{selector:".k-menu-scroll-button",attribute:"tabindex=-1",usage:"Scroll buttons are removed from the tab sequence."},{selector:".k-menu-scroll-button",attribute:"aria-label",usage:"Scroll buttons have an accessible label."},{selector:".k-menu-item.k-focus",attribute:"tabindex=0",usage:"The focused item has tabindex 0."},{selector:".k-menu-item",attribute:"aria-controls=ul.k-menu-group id (when present)",usage:"Points to the ID of the submenu. Only present when the item controls a submenu element."},{selector:".k-menu-popup .k-menu-group",attribute:"id",usage:"Each nested menu has a deterministic id linked to the parent aria-controls."}]};var Mt=require("react/jsx-runtime"),Ce="k-separator",ht={orientation:"horizontal"},ee=e=>{let{orientation:t=ht.orientation,...o}=e;return(0,Mt.jsx)("li",{...o,className:a(e.className,"k-item",Ce,{[`${Ce}-${t}`]:t}),role:"separator"})};ee.className=Ce;ee.defaultOptions=ht;ee.moduleName=P;ee.folderName=R;var xt=require("react/jsx-runtime");var Nt=require("react/jsx-runtime"),Be="k-menu-group",Eo=[],Lo={size:[l.undefined,l.small,l.medium,l.large]},wo={},K=e=>{let{children:t,size:o,...n}=e;return(0,Nt.jsx)("ul",{...n,className:a(e.className,Be,w(Be,{size:o})),role:"menu",children:t})};K.states=Eo;K.options=Lo;K.className=Be;K.defaultOptions=wo;K.moduleName=P;K.folderName=R;var U=require("react/jsx-runtime"),Pe=e=>(0,U.jsx)(S,{children:(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(T,{first:!0,text:"Item 1"}),(0,U.jsx)(T,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),(0,U.jsx)(T,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),(0,U.jsx)(T,{text:"Item 4"}),(0,U.jsx)(T,{last:!0,text:"Item 5"})]}),...e});var _e="popup",It=_e;var Re=require("react/jsx-runtime"),kt="k-animation-container",yo=[],Oo={},vt={positionMode:"absolute"},q=e=>{let{positionMode:t=vt.positionMode,animationStyle:o,offset:n,...r}=e;return(0,Re.jsx)("div",{...r,style:{...n,...e.style},className:a(e.className,kt,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,Re.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};q.states=yo;q.options=Oo;q.className=kt;q.defaultOptions=vt;q.moduleName=_e;q.folderName=It;var Ke="popup",St=Ke;var ze=require("react/jsx-runtime"),gt="k-popup",Co=[],Bo={},At={positionMode:"absolute"},_=e=>{let{offset:t,positionMode:o=At.positionMode,animationStyle:n,containerClassName:r,containerRole:m,containerAriaLabel:s,...h}=e;return(0,ze.jsx)(q,{positionMode:o,offset:t,animationStyle:n,className:r,role:m,"aria-label":s,children:(0,ze.jsx)("div",{...h,className:a(e.className,gt),children:e.children})})};_.states=Co;_.options=Bo;_.className=gt;_.defaultOptions=At;_.moduleName=Ke;_.folderName=St;_.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 He=require("react/jsx-runtime");var Ue=require("react/jsx-runtime");var De=require("react/jsx-runtime");var $e=require("react/jsx-runtime");var $=require("react/jsx-runtime"),Po=S.options,_o=S.states,Tt={...S.defaultOptions,variant:"horizontal"},Ro=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Ko=[{name:"scrollable",title:"Scrollable"},{name:"opened",title:"Opened"}],te=e=>{let{variant:t,modifiers:o,...n}={...Tt,...e},r={};return Object.keys(o||{}).forEach(m=>{switch(m){case"scrollable":r.scrollable=!!(o!=null&&o[m]);break;case"opened":r.opened=!!(o!=null&&o[m]),r.popup=(0,$.jsx)(_,{className:"k-menu-popup",children:(0,$.jsxs)(K,{children:[(0,$.jsx)(E,{text:"Item 1"}),(0,$.jsx)(E,{text:"Item 2"}),(0,$.jsx)(ee,{}),(0,$.jsx)(E,{text:"Item 3"})]})});break}}),t==="vertical"?(0,$.jsx)(Pe,{...n,...r,orientation:"vertical",style:{width:"200px"}}):(0,$.jsx)(Pe,{...n,...r})};te.options=Po;te.states=_o;te.variants=Ro;te.defaultOptions=Tt;te.modifiers=Ko;te.className=S.className;var Fe=require("react/jsx-runtime");var zo=require("react/jsx-runtime");var L=require("react/jsx-runtime"),Ho=c.states,Et={...c.defaultOptions,variant:"text"},Uo=c.options,Do=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],$o=[{name:"opened",title:"Opened"}],oe=e=>{let{variant:t,modifiers:o,...n}={...Et,...e},r={},m=(0,L.jsx)(_,{className:"k-menu-popup",children:(0,L.jsxs)(K,{size:n.size,children:[(0,L.jsx)(E,{first:!0,text:"Menu Item"}),(0,L.jsx)(E,{text:"Menu Item"}),(0,L.jsx)(E,{last:!0,text:"Menu Item"})]})}),s;switch(t){case"icon-only":s=(0,L.jsx)("div",{children:(0,L.jsx)(x,{...n,...r,icon:"star"})});break;case"icon-and-text":s=(0,L.jsx)("div",{children:(0,L.jsx)(x,{...n,...r,icon:"star",children:"Dropdown Button"})});break;default:s=(0,L.jsx)("div",{children:(0,L.jsx)(x,{...n,...r,children:"Dropdown Button"})});break}return(0,L.jsxs)(L.Fragment,{children:[s,(o==null?void 0:o.opened)&&m]})};oe.options=Uo;oe.states=Ho;oe.variants=Do;oe.defaultOptions=Et;oe.modifiers=$o;oe.className=x.className;var yt=require("react/jsx-runtime"),Lt="k-tabstrip-items",Fo=[],Wo={},Vo={tabAlignment:"start"},me=e=>{let{children:t,tabAlignment:o,orientation:n,...r}=e;return(0,yt.jsx)("ul",{...r,className:a(e.className,Lt,"k-reset",`k-tabstrip-items-${o}`),role:"tablist",...n==="vertical"&&{"aria-orientation":"vertical"},children:t})};me.states=Fo;me.options=Wo;me.className=Lt;me.defaultOptions=Vo;var wt=me;var Pt=require("react/jsx-runtime"),Ot="k-tabstrip-items-wrapper",Jo=[],Xo={},Ct={orientation:"horizontal"},ce=e=>{let{children:t,orientation:o=Ct.orientation,...n}=e;return(0,Pt.jsx)("div",{...n,className:a(e.className,Ot,{"k-hstack":o==="horizontal","k-vstack":o==="vertical"}),children:t})};ce.states=Jo;ce.options=Xo;ce.className=Ot;ce.defaultOptions=Ct;var Bt=ce;var We="tabstrip",_t=We;var y=require("react/jsx-runtime"),Q="k-tabstrip",Go=[],qo={size:[l.undefined,l.small,l.medium,l.large]},he={position:"top",tabAlignment:"start",scrollButtons:"around"},X=e=>{let{size:t,scrollable:o,children:n,tabStripItems:r,tabStripItemsId:m,position:s=he.position,tabAlignment:h=he.tabAlignment,scrollButtons:p=he.scrollButtons,dir:M,scrollingPosition:d,overflow:f,...I}=e,v={top:{prev:M!=="rtl"?"left":"right",next:M!=="rtl"?"right":"left"},bottom:{prev:M!=="rtl"?"left":"right",next:M!=="rtl"?"right":"left"},right:{prev:"up",next:"down"},left:{prev:"up",next:"down"}},O={top:"horizontal",bottom:"horizontal",left:"vertical",right:"vertical"},C={start:"start",center:"center",end:"end",justify:"justify",stretched:"stretched"};return(0,y.jsxs)("div",{dir:M,...I,className:a(Q,e.className,{[`${Q}-${s}`]:s,[`${Q}-scrollable`]:o,[`${Q}-scrollable-overlay`]:o&&(p==="hidden"||!p),[`${Q}-scrollable-${d}`]:d&&d!=="both",[`${Q}-overflow`]:f},w(Q,{size:t})),children:[s==="bottom"&&n,(0,y.jsxs)(Bt,{orientation:O[s],children:[o&&(p==="around"||p==="start")&&(0,y.jsx)("span",{className:a("k-tabstrip-prev","k-button",w("k-button",{size:t,fillMode:k.flat}),"k-icon-button"),"aria-hidden":"true",children:(0,y.jsx)(b,{className:"k-button-icon",icon:`chevron-${v[s].prev}`})}),o&&p==="start"&&(0,y.jsx)("span",{className:a("k-tabstrip-next","k-button",w("k-button",{size:t,fillMode:k.flat}),"k-icon-button"),"aria-hidden":"true",children:(0,y.jsx)(b,{className:"k-button-icon",icon:`chevron-${v[s].next}`})}),(0,y.jsx)(wt,{className:a({"k-tabstrip-items-scroll":o&&p==="hidden"}),tabAlignment:C[h],orientation:O[s],...m&&{id:m},children:r}),o&&p==="end"&&(0,y.jsx)("span",{className:a("k-tabstrip-prev","k-button",w("k-button",{size:t,fillMode:k.flat}),"k-icon-button"),"aria-hidden":"true",children:(0,y.jsx)(b,{className:"k-button-icon",icon:`chevron-${v[s].prev}`})}),o&&(p==="around"||p==="end")&&(0,y.jsx)("span",{className:a("k-tabstrip-next","k-button",w("k-button",{size:t,fillMode:k.flat}),"k-icon-button"),"aria-hidden":"true",children:(0,y.jsx)(b,{className:"k-button-icon",icon:`chevron-${v[s].next}`})}),f&&(0,y.jsx)("div",{className:"k-tabstrip-actions k-hstack",children:(0,y.jsx)(x,{className:"k-tabstrip-overflow-button",icon:"more-vertical",fillMode:"flat",size:t,showArrow:!1})})]}),s!=="bottom"&&n]})};X.states=Go;X.options=qo;X.className=Q;X.defaultOptions=he;X.moduleName=We;X.folderName=_t;X.ariaSpec={selector:".k-tabstrip",rules:[{selector:".k-tabstrip-items",attribute:"role=tablist",usage:"Indicates the tablist role for the ul element."},{selector:".k-tabstrip.k-tabstrip-left .k-tabstrip-items,.k-tabstrip.k-tabstrip-right .k-tabstrip-items",attribute:"aria-orientation=vertical",usage:"Indicates the orientation when vertical."},{selector:".k-tabstrip-item",attribute:"role=tab",usage:"The tab li element."},{selector:".k-tabstrip .k-tabstrip-item.k-active",attribute:"aria-selected=true",usage:"Announces the selected state of the tab."},{selector:".k-tabstrip-content",attribute:"role=tabpanel",usage:"The content div of the tab."},{selector:".k-tabstrip .k-tabstrip-item.k-active",attribute:"aria-controls (when present)",usage:"Announces the relation between the panel and active tab. Only present when tab controls a specific panel."},{selector:".k-tabstrip-content",attribute:"aria-hidden=true (when not active)",usage:"Only if the component implements a feature to control whether the content should be persisted."},{selector:".k-tabstrip-content",attribute:"aria-labelledby (when present)",usage:"Refers to the tab element that controls the panel. Only present when panel has an associated tab."},{selector:".k-tabstrip-scrollable .k-button",attribute:"aria-hidden=true",usage:"Scroll buttons are hidden from assistive technologies."}]};var G=require("react/jsx-runtime"),Ve="k-tabstrip-item",Qo=[u.active,u.hover,u.disabled,u.focus],Yo={},Rt={iconPosition:"before"},D=e=>{let{dragging:t,active:o,hover:n,focus:r,disabled:m,children:s,first:h,last:p,closable:M,icon:d,iconPosition:f=Rt.iconPosition,value:I,actions:v,...O}=e;return(0,G.jsxs)("li",{...O,className:a(e.className,Ve,F(Ve,{hover:n,active:o,disabled:m,focus:r}),{"k-tabstrip-dragging":t,"k-first":h,"k-last":p}),role:"tab",...o&&{"aria-selected":"true"},...m&&{"aria-disabled":"true"},children:[(0,G.jsxs)("span",{className:"k-link",children:[d&&f==="before"&&(0,G.jsx)(b,{icon:d}),I&&(0,G.jsx)("span",{className:"k-link-text",children:I}),d&&f==="after"&&(0,G.jsx)(b,{icon:d})]}),(v||M)&&(0,G.jsxs)("span",{className:"k-item-actions",children:[v,M&&(0,G.jsx)(c,{as:"span",className:"k-remove-tab",icon:"x",fillMode:"flat",size:"xsmall",title:"Close","aria-hidden":"true"})]}),s]})};D.states=Qo;D.options=Yo;D.className=Ve;D.item=Rt;var N=require("react/jsx-runtime"),Je="k-spreadsheet-sheets-bar",Zo=[],jo={},en=(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(D,{first:!0,active:!0,value:"Sheet 1",actions:(0,N.jsx)(x,{showArrow:!1,size:"small",icon:"chevron-down",fillMode:"flat","aria-label":"Sheet options"})},"sheet1"),(0,N.jsx)(D,{value:"Sheet 2",actions:(0,N.jsx)(x,{showArrow:!1,size:"small",icon:"chevron-down",fillMode:"flat","aria-label":"Sheet options"})},"sheet2"),(0,N.jsx)(D,{value:"Sheet 3",actions:(0,N.jsx)(x,{showArrow:!1,size:"small",icon:"chevron-down",fillMode:"flat","aria-label":"Sheet options"})},"sheet3"),(0,N.jsx)(D,{value:"Sheet 4",actions:(0,N.jsx)(x,{showArrow:!1,size:"small",icon:"chevron-down",fillMode:"flat","aria-label":"Sheet options"})},"sheet4"),(0,N.jsx)(D,{value:"Sheet 5",actions:(0,N.jsx)(x,{showArrow:!1,size:"small",icon:"chevron-down",fillMode:"flat","aria-label":"Sheet options"})},"sheet5"),(0,N.jsx)(D,{last:!0,value:"Sheet 6",actions:(0,N.jsx)(x,{showArrow:!1,size:"small",icon:"chevron-down",fillMode:"flat","aria-label":"Sheet options"})},"sheet6")]}),Kt={tabStripItems:en},ne=e=>{let{tabStripItems:t=Kt.tabStripItems,...o}=e,n=xe("spreadsheet-sheets");return(0,N.jsxs)("div",{...o,className:a(Je,e.className),children:[(0,N.jsx)(c,{className:"k-spreadsheet-sheet-add",fillMode:"flat",size:"small",icon:"plus","aria-label":"Add new sheet","aria-controls":n}),(0,N.jsx)(c,{className:"k-spreadsheet-sheets-menu",fillMode:"flat",size:"small",icon:"menu","aria-label":"Sheets menu","aria-controls":n}),(0,N.jsx)(X,{className:"k-spreadsheet-sheets",tabStripItems:t,tabStripItemsId:n,position:"bottom",scrollable:!0,scrollButtons:"end"})]})};ne.states=Zo;ne.options=jo;ne.className=Je;ne.defaultOptions=Kt;var tn=ne;
|