@progress/kendo-themes-html 14.0.0-dev.4 → 14.0.0-dev.6
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/chat/chat-message.js +1 -1
- package/dist/cjs/chat/chat.spec.js +1 -1
- package/dist/cjs/chat/demos/chat.js +1 -1
- package/dist/cjs/chat/templates/chat-empty.js +1 -1
- package/dist/cjs/chat/templates/chat-expandable.js +1 -1
- package/dist/cjs/chat/templates/chat-failed.js +1 -1
- package/dist/cjs/chat/templates/chat-message-skeleton.js +1 -1
- package/dist/cjs/chat/templates/chat-message-toolbar.js +1 -1
- package/dist/cjs/chat/templates/chat-normal.js +1 -1
- package/dist/cjs/chat/templates/chat-pinned.js +1 -1
- package/dist/cjs/chat/templates/chat-stop-response.js +1 -1
- package/dist/cjs/chat/templates/chat-textarea-file.js +1 -1
- package/dist/cjs/chat/templates/chat-typing.js +1 -1
- package/dist/cjs/chat/templates/chat-upload.js +1 -1
- package/dist/cjs/editor/demos/editor.js +1 -1
- package/dist/cjs/editor/templates/editor-normal.js +1 -1
- package/dist/cjs/editor/templates/editor-resizable.js +1 -1
- package/dist/cjs/editor/templates/editor-responsive-toolbar.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-crop.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-resize.js +1 -1
- package/dist/cjs/index.js +8 -8
- package/dist/cjs/prompt/demos/prompt.js +1 -1
- package/dist/cjs/prompt/templates/prompt-inline-input-only.js +1 -1
- package/dist/cjs/prompt/templates/prompt-inline.js +1 -1
- package/dist/cjs/prompt/templates/prompt-more-actions.js +1 -1
- package/dist/cjs/prompt/templates/prompt-normal.js +1 -1
- package/dist/cjs/prompt/templates/prompt-output.js +1 -1
- package/dist/cjs/prompt/templates/prompt-popup.js +1 -1
- package/dist/cjs/prompt/templates/prompt-settings.js +1 -1
- package/dist/cjs/prompt/templates/prompt-suggestions.js +1 -1
- package/dist/cjs/prompt-box/prompt-box.spec.js +1 -1
- package/dist/cjs/prompt-box/templates/prompt-box-auto-expanded.js +1 -1
- package/dist/cjs/prompt-box/templates/prompt-box-auto.js +1 -1
- package/dist/cjs/prompt-box/templates/prompt-box-multi.js +1 -1
- package/dist/cjs/prompt-box/templates/prompt-box-single.js +1 -1
- package/dist/cjs/prompt-box/templates/prompt-box-stop-response.js +1 -1
- package/dist/cjs/rating/demos/rating.js +1 -1
- package/dist/cjs/rating/rating-item.js +1 -1
- package/dist/cjs/rating/rating.spec.js +1 -1
- package/dist/cjs/rating/templates/rating-disabled.js +1 -1
- package/dist/cjs/rating/templates/rating-normal.js +1 -1
- package/dist/cjs/rating/templates/rating-readonly.js +1 -1
- package/dist/cjs/rating/templates/rating-with-label.js +1 -1
- package/dist/cjs/smart-box/smart-box-send-button.js +1 -1
- package/dist/cjs/smart-box/templates/smart-box-disabled-send.js +1 -1
- package/dist/cjs/smart-box/templates/smart-box-normal.js +1 -1
- package/dist/cjs/smart-box/templates/smart-box-opened-focused.js +1 -1
- package/dist/cjs/smart-box/templates/smart-box-processing.js +1 -1
- package/dist/cjs/speech-to-text-button/demos/speech-to-text-button.js +1 -1
- package/dist/cjs/speech-to-text-button/speech-to-text-button.spec.js +1 -1
- package/dist/cjs/speech-to-text-button/templates/speech-to-text-button-listening.js +1 -1
- package/dist/cjs/speech-to-text-button/templates/speech-to-text-button-normal.js +1 -1
- package/dist/cjs/spreadsheet/demos/spreadsheet.js +1 -1
- package/dist/cjs/spreadsheet/spreadsheet-header.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/chat/chat-message.mjs +1 -1
- package/dist/esm/chat/chat.spec.mjs +1 -1
- package/dist/esm/chat/demos/chat.mjs +1 -1
- package/dist/esm/chat/templates/chat-empty.mjs +1 -1
- package/dist/esm/chat/templates/chat-expandable.mjs +1 -1
- package/dist/esm/chat/templates/chat-failed.mjs +1 -1
- package/dist/esm/chat/templates/chat-message-skeleton.mjs +1 -1
- package/dist/esm/chat/templates/chat-message-toolbar.mjs +1 -1
- package/dist/esm/chat/templates/chat-normal.mjs +1 -1
- package/dist/esm/chat/templates/chat-pinned.mjs +1 -1
- package/dist/esm/chat/templates/chat-stop-response.mjs +1 -1
- package/dist/esm/chat/templates/chat-textarea-file.mjs +1 -1
- package/dist/esm/chat/templates/chat-typing.mjs +1 -1
- package/dist/esm/chat/templates/chat-upload.mjs +1 -1
- package/dist/esm/editor/demos/editor.mjs +1 -1
- package/dist/esm/editor/templates/editor-normal.mjs +1 -1
- package/dist/esm/editor/templates/editor-resizable.mjs +1 -1
- package/dist/esm/editor/templates/editor-responsive-toolbar.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-resize.mjs +1 -1
- package/dist/esm/index.mjs +8 -8
- package/dist/esm/prompt/demos/prompt.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-inline-input-only.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-inline.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-more-actions.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-normal.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-output.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-popup.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-settings.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-suggestions.mjs +1 -1
- package/dist/esm/prompt-box/prompt-box.spec.mjs +1 -1
- package/dist/esm/prompt-box/templates/prompt-box-auto-expanded.mjs +1 -1
- package/dist/esm/prompt-box/templates/prompt-box-auto.mjs +1 -1
- package/dist/esm/prompt-box/templates/prompt-box-multi.mjs +1 -1
- package/dist/esm/prompt-box/templates/prompt-box-single.mjs +1 -1
- package/dist/esm/prompt-box/templates/prompt-box-stop-response.mjs +1 -1
- package/dist/esm/rating/demos/rating.mjs +1 -1
- package/dist/esm/rating/rating-item.mjs +1 -1
- package/dist/esm/rating/rating.spec.mjs +1 -1
- package/dist/esm/rating/templates/rating-disabled.mjs +1 -1
- package/dist/esm/rating/templates/rating-normal.mjs +1 -1
- package/dist/esm/rating/templates/rating-readonly.mjs +1 -1
- package/dist/esm/rating/templates/rating-with-label.mjs +1 -1
- package/dist/esm/smart-box/smart-box-send-button.mjs +1 -1
- package/dist/esm/smart-box/templates/smart-box-disabled-send.mjs +1 -1
- package/dist/esm/smart-box/templates/smart-box-normal.mjs +1 -1
- package/dist/esm/smart-box/templates/smart-box-opened-focused.mjs +1 -1
- package/dist/esm/smart-box/templates/smart-box-processing.mjs +1 -1
- package/dist/esm/speech-to-text-button/demos/speech-to-text-button.mjs +1 -1
- package/dist/esm/speech-to-text-button/speech-to-text-button.spec.mjs +1 -1
- package/dist/esm/speech-to-text-button/templates/speech-to-text-button-listening.mjs +1 -1
- package/dist/esm/speech-to-text-button/templates/speech-to-text-button-normal.mjs +1 -1
- package/dist/esm/spreadsheet/demos/spreadsheet.mjs +1 -1
- package/dist/esm/spreadsheet/spreadsheet-header.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 +3 -3
- package/src/_preview/tests/preview-components.tsx +2 -2
- package/src/chat/chat-message.tsx +3 -3
- package/src/chat/chat.spec.tsx +2 -2
- package/src/chat/tests/chat-files-layout.tsx +8 -8
- package/src/chat/tests/chat-files-pin.tsx +2 -2
- package/src/chat/tests/chat-files.tsx +6 -6
- package/src/chat/tests/chat-message-toolbar.tsx +2 -2
- package/src/colorpicker/tests/colorpicker-size-rounded.tsx +34 -0
- package/src/drawer/tests/drawer-item-states.tsx +3 -3
- package/src/editor/demos/editor.tsx +1 -1
- package/src/editor/templates/editor-normal.tsx +1 -1
- package/src/editor/templates/editor-resizable.tsx +1 -1
- package/src/editor/templates/editor-responsive-toolbar.tsx +1 -1
- package/src/editor/tests/editor-table-wizard.tsx +1 -1
- package/src/editor/tests/editor.tsx +2 -2
- package/src/grid/tests/grid-assistant-window.tsx +4 -4
- package/src/grid/tests/grid-row-pinning-adaptive.tsx +1 -1
- package/src/grid/tests/grid-semantic-search-popup.tsx +10 -10
- package/src/grid/tests/grid-toolbar.tsx +2 -2
- package/src/imageeditor/templates/imageeditor-crop.tsx +1 -1
- package/src/imageeditor/templates/imageeditor-resize.tsx +1 -1
- package/src/prompt/demos/prompt.tsx +4 -4
- package/src/prompt/templates/prompt-inline.tsx +1 -1
- package/src/prompt/templates/prompt-output.tsx +4 -4
- package/src/prompt/tests/prompt-inline-response-generation.tsx +2 -2
- package/src/prompt-box/prompt-box.spec.tsx +1 -1
- package/src/prompt-box/tests/prompt-box-affixes.tsx +8 -8
- package/src/prompt-box/tests/prompt-box-files.tsx +2 -2
- package/src/rating/rating-item.tsx +20 -5
- package/src/smart-box/smart-box-send-button.tsx +1 -1
- package/src/smart-box/templates/smart-box-disabled-send.tsx +1 -1
- package/src/smart-box/templates/smart-box-normal.tsx +1 -1
- package/src/smart-box/templates/smart-box-opened-focused.tsx +1 -1
- package/src/smart-box/templates/smart-box-processing.tsx +1 -1
- package/src/speech-to-text-button/speech-to-text-button.spec.tsx +2 -2
- package/src/spreadsheet/spreadsheet-header.tsx +1 -1
- package/src/spreadsheet/spreadsheet-sheets-bar.tsx +8 -8
- package/src/spreadsheet/tests/spreadsheet-tools.tsx +1 -1
- package/src/toolbar/tests/toolbar-fill-modes.tsx +2 -2
- 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 dl=Object.create;var Wo=Object.defineProperty;var cl=Object.getOwnPropertyDescriptor;var pl=Object.getOwnPropertyNames;var ul=Object.getPrototypeOf,ml=Object.prototype.hasOwnProperty;var fl=(e,t)=>{for(var o in t)Wo(e,o,{get:t[o],enumerable:!0})},ln=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of pl(t))!ml.call(e,r)&&r!==o&&Wo(e,r,{get:()=>t[r],enumerable:!(a=cl(t,r))||a.enumerable});return e};var dn=(e,t,o)=>(o=e!=null?dl(ul(e)):{},ln(t||!e||!e.__esModule?Wo(o,"default",{value:e,enumerable:!0}):o,e)),bl=e=>ln(Wo({},"__esModule",{value:!0}),e);var Am={};fl(Am,{SPREADSHEETHEADER_CLASSNAME:()=>nn,SpreadsheetHeader:()=>Co,default:()=>Em});module.exports=bl(Am);var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...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 C=(e,t)=>n({[`${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"}),w=(e,t)=>{let{valid:o,invalid:a,hover:r,focus:s,checked:c,active:u,selected:b,disabled:h,indeterminate:N,loading:x,empty:p,readonly:L,highlighted:k,...I}=t;return n({"k-valid":o,"k-invalid":a,"k-hover":r,"k-focus":s,"k-checked":c,"k-active":u,"k-selected":b,"k-disabled":h,"k-indeterminate":N&&!c,"k-loading":x,"k-empty":p,"k-readonly":L,"k-highlighted":k},Object.keys(I).reduce((O,S)=>(S.startsWith("k-")?O[S]=I[S]:O[`k-${S}`]=I[S],O),{}))};function cn(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},m={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},v={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var Ia={};function H(e){return Ia[e]=(Ia[e]||0)+1,`k-${e}-${Ia[e]}`}var yo=require("react/jsx-runtime"),Ca="k-font-icon",hl=[],xl={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},Nl={},To=e=>{let{size:t,themeColor:o,icon:a,rotate:r,flip:s,...c}=e;return a?(0,yo.jsx)("span",{...c,className:n(e.className,Ca,C(Ca,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):(0,yo.jsx)(yo.Fragment,{})};To.states=hl;To.options=xl;To.className=Ca;To.defaultOptions=Nl;var pn=To;var At=require("react/jsx-runtime"),ya="k-svg-icon",kl=[],vl={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},un={viewBox:"0 0 24 24"},Eo=e=>{let{size:t,themeColor:o,rotate:a,flip:r,viewBox:s=un.viewBox,icon:c,...u}=e;if(!c)return(0,At.jsx)(At.Fragment,{});if(c==="none")return(0,At.jsx)("span",{...u,className:n(e.className,ya,C("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let b=typeof c=="object"&&c.name&&c.name;return(0,At.jsx)("span",{...u,className:n(e.className,ya,C("k-icon",{size:t}),{[`k-svg-i-${b}`]:b,[`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,At.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:s,dangerouslySetInnerHTML:typeof c=="object"?{__html:c.content}:void 0,children:c?void 0:e.children})})};Eo.states=kl;Eo.options=vl;Eo.className=ya;Eo.defaultOptions=un;var Ta=Eo;var Ea=dn(require("@progress/kendo-svg-icons"));var mn="icon",fn="icons";var xn=require("react");var bn=require("react"),hn=(0,bn.createContext)({iconsType:"svg"});var st=require("react/jsx-runtime"),Yo="k-icon",gl=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Ll=[],Ml={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},Aa={viewBox:"0 0 24 24",type:"svg"},M=e=>{let{iconsType:t}=(0,xn.useContext)(hn),{size:o,themeColor:a,icon:r,type:s=t||Aa.type,rotate:c,flip:u,viewBox:b=Aa.viewBox,...h}=e;if(!r)return(0,st.jsx)(st.Fragment,{});if((t||s)==="svg"){if(r==="none")return(0,st.jsx)(Ta,{...h,className:n(e.className,Yo),icon:r,size:o});let x=Ea[r]?r:gl(`${r}-icon`);return Ea[x]?(0,st.jsx)(Ta,{...h,className:n(e.className,Yo),icon:Ea[x],size:o,themeColor:a,rotate:c,flip:u,viewBox:b}):(0,st.jsx)(st.Fragment,{})}return(0,st.jsx)(pn,{...h,className:n(e.className,Yo),icon:r,size:o,themeColor:a,rotate:c,flip:u})};M.states=Ll;M.options=Ml;M.defaultOptions=Aa;M.className=Yo;M.moduleName=mn;M.folderName=fn;M.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 Oa="button",Nn=Oa;var We=require("react/jsx-runtime"),Ao="k-button",Sl=["icon-button"],Il=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],Cl={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},wa={showArrow:!1,arrowIconName:"chevron-down"},l=e=>{let{as:t="button",size:o,rounded:a,fillMode:r,themeColor:s,showArrow:c=wa.showArrow,arrowIconName:u=wa.arrowIconName,variant:b,hover:h,focus:N,active:x,selected:p,disabled:L,togglable:k,ariaDisabled:I,icon:O,text:S,iconClassName:R,className:j,...be}=e,Me=O!==void 0,Se=e.children!==void 0;return(0,We.jsxs)(t,{className:n(j,Ao,cn(Ao,b),C(Ao,{size:o,rounded:a,fillMode:r,themeColor:s}),w(Ao,{hover:h,focus:N,active:x,disabled:L||I,selected:p}),{"k-icon-button":!S&&!Se&&Me}),...be,"aria-pressed":k?p?"true":"false":void 0,"aria-disabled":I?"true":void 0,disabled:L||void 0,children:[O&&(0,We.jsx)(M,{className:n(R,"k-button-icon"),icon:O}),S?(0,We.jsxs)(We.Fragment,{children:[S&&(0,We.jsx)("span",{className:"k-button-text",children:S}),e.children]}):e.children&&(0,We.jsx)("span",{className:"k-button-text",children:e.children}),c&&(0,We.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,We.jsx)(M,{icon:u})})]})};l.states=Il;l.options=Cl;l.variants=Sl;l.className=Ao;l.defaultOptions=wa;l.moduleName=Oa;l.folderName=Nn;l.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 Ba="button",kn=Ba;var vn=require("react/jsx-runtime"),Oo="k-button-group",yl=[i.disabled],Tl={fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},El={},y=e=>{let{fillMode:t,disabled:o,stretched:a,...r}=e;return(0,vn.jsx)("div",{role:"group",...r,className:n(e.className,Oo,C(Oo,{fillMode:t}),w(Oo,{disabled:o}),{[`${Oo}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};y.states=yl;y.options=Tl;y.className=Oo;y.defaultOptions=El;y.moduleName=Ba;y.folderName=kn;y.ariaSpec={selector:".k-button-group",rules:[{selector:".k-button-group:not(.k-split-button)",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-button-group.k-disabled",attribute:"aria-disabled=true",usage:"The attribute is rendered only when the entire button group is disabled."},{selector:".k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button",attribute:"aria-pressed (when selected)",usage:"Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true."}]};var wo="input",Qo=wo;var gn=require("react/jsx-runtime"),Zo="k-input",Al=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Ol={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},wl={},ee=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:c,readonly:u,size:b,rounded:h,fillMode:N,...x}=e;return(0,gn.jsx)("span",{...x,className:n(e.className,Zo,C(Zo,{size:b,rounded:h,fillMode:N}),w(Zo,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:c,readonly:u}))})};ee.states=Al;ee.options=Ol;ee.className=Zo;ee.defaultOptions=wl;ee.moduleName=wo;ee.folderName=Qo;var Ln=require("react/jsx-runtime"),jo="k-picker",Bl=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Pl={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Rl={},et=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:c,readonly:u,size:b,rounded:h,fillMode:N,...x}=e;return(0,Ln.jsx)("span",{...x,className:n(e.className,jo,C(jo,{size:b,rounded:h,fillMode:N}),w(jo,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:c,readonly:u})),children:e.children})};et.states=Bl;et.options=Pl;et.className=jo;et.defaultOptions=Rl;et.moduleName=wo;et.folderName=Qo;var zt=require("react/jsx-runtime"),Mn="k-clear-value",Kl=[i.disabled,i.loading,i.readonly],_l={},Re=e=>{let{disabled:t,loading:o,readonly:a,value:r}=e;return t||a||o||!r?(0,zt.jsx)(zt.Fragment,{}):(0,zt.jsx)("span",{className:n(e.className,Mn),children:(0,zt.jsx)(M,{icon:"x"})})};Re.states=Kl;Re.options=_l;Re.className=Mn;var Sn=require("react/jsx-runtime"),Pa="k-input-inner",Dl=[],Hl={},ea={type:"text",autocomplete:"off",value:"",placeholder:""},Ke=e=>{let{value:t=ea.value,type:o=ea.type,placeholder:a=ea.placeholder,autocomplete:r=ea.autocomplete,disabled:s,readOnly:c,...u}=e;return(0,Sn.jsx)("input",{...u,type:o,className:n(e.className,Pa,C(Pa,e)),placeholder:a,autoComplete:r,defaultValue:t,disabled:s||void 0,readOnly:c||void 0})};Ke.states=Dl;Ke.options=Hl;Ke.className=Pa;var Bo=require("react/jsx-runtime"),Ra="k-input-inner",zl=[],Ul={},Ot=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:r,valueIconName:s,...c}=e;return(0,Bo.jsxs)("span",{...c,className:n(e.className,Ra,C(Ra,e)),children:[r,!r&&s&&(0,Bo.jsx)(M,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&(0,Bo.jsx)("span",{className:"k-input-value-text",children:t})]})};Ot.states=zl;Ot.options=Ul;Ot.className=Ra;var Cn=require("react/jsx-runtime"),Ka="k-input-inner",Gl=[],Fl={},In={value:"",placeholder:""},_a=e=>{let{value:t=In.value,placeholder:o=In.placeholder,rows:a,disabled:r,...s}=e;return(0,Cn.jsx)("textarea",{...s,className:n(e.className,Ka,C(Ka,e)),placeholder:o,rows:a,defaultValue:t,disabled:r||void 0})};_a.states=Gl;_a.options=Fl;_a.className=Ka;var Po=require("react/jsx-runtime"),yn="k-input-loading-icon",Vl=[i.disabled,i.loading],Ae=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Po.jsx)(Po.Fragment,{}):(0,Po.jsx)("span",{className:n(e.className,yn,"k-icon k-i-loading")})};Ae.states=Vl;Ae.className=yn;var Ro=require("react/jsx-runtime"),Tn="k-input-validation-icon",$l=[i.valid,i.invalid,i.disabled,i.loading],Xl={},Ie=e=>{let{valid:t,invalid:o,disabled:a,loading:r}=e,s=o?"warning-circle":"check-circle";return a||r||!!!(t||o)?(0,Ro.jsx)(Ro.Fragment,{}):(0,Ro.jsx)(M,{className:n(Tn),icon:s})};Ie.states=$l;Ie.options=Xl;Ie.className=Tn;var Ko=require("react/jsx-runtime"),ql="k-input-prefix",Jl={direction:"horizontal"},ze=e=>{let{direction:t=Jl.direction,...o}=e;return e.children?(0,Ko.jsx)("span",{...o,className:n(ql,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Ko.jsx)(Ko.Fragment,{})};var _o=require("react/jsx-runtime"),Wl="k-input-suffix",Yl={direction:"horizontal"},Ue=e=>{let{direction:t=Yl.direction,...o}=e;return e.children?(0,_o.jsx)("span",{...o,className:n(Wl,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,_o.jsx)(_o.Fragment,{})};var Ql=require("react/jsx-runtime");var En=require("react/jsx-runtime"),Zl="k-input-suffix-text",Da=e=>{let{children:t,...o}=e;return(0,En.jsx)("span",{...o,className:n(Zl,e.className),children:t})};var On=require("react/jsx-runtime"),An="k-input-separator",jl={direction:"vertical"},Ge=e=>{let{direction:t=jl.direction,...o}=e;return(0,On.jsx)("span",{...o,className:n(An,e.className,{[`${An}-${t}`]:t})})};var wn=require("react/jsx-runtime"),wt=e=>(0,wn.jsx)(l,{children:"Button",...e});var ie=require("react/jsx-runtime"),ed=ee.states,td=ee.defaultOptions,od=ee.options,ad=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],rd=[],Ut=e=>{let{modifiers:t,valid:o,invalid:a,loading:r,disabled:s,readonly:c,...u}=e,b=t==null?void 0:t.prefix,h=t==null?void 0:t.suffix,N=t==null?void 0:t["clear-button"],x=t==null?void 0:t["validation-icon"],p=t==null?void 0:t.separators;return(0,ie.jsxs)(ee,{...u,valid:o,invalid:a,loading:r,disabled:s,readonly:c,style:{width:300},children:[b&&(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsx)(ze,{children:(0,ie.jsx)(M,{icon:"lock"})}),p&&(0,ie.jsx)(Ge,{})]}),(0,ie.jsx)(Ke,{placeholder:"Placeholder",value:"Value"}),x&&(0,ie.jsx)(Ie,{valid:o,invalid:a,loading:r,disabled:s}),(0,ie.jsx)(Ae,{loading:r,disabled:s}),N&&(0,ie.jsx)(Re,{loading:r,disabled:s,readonly:c,value:"Value"}),h&&(0,ie.jsxs)(ie.Fragment,{children:[p&&(0,ie.jsx)(Ge,{}),(0,ie.jsx)(Ue,{children:(0,ie.jsx)(wt,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};Ut.options=od;Ut.states=ed;Ut.variants=rd;Ut.defaultOptions=td;Ut.modifiers=ad;Ut.className=ee.className;var Bn=require("react/jsx-runtime"),kt=e=>(0,Bn.jsx)(l,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Pn=require("react/jsx-runtime"),Do=e=>(0,Pn.jsx)(l,{icon:"folder",children:"Button",...e});var ta=require("react/jsx-runtime"),nd=l.options,id=l.states,sd={...l.defaultOptions,variant:"text"},ld=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],dd=[],Gt=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,ta.jsx)(kt,{...o,icon:"star"});case"icon-and-text":return(0,ta.jsx)(Do,{...o,icon:"star",children:"Button"});default:return(0,ta.jsx)(wt,{...o,children:"Button"})}};Gt.options=nd;Gt.states=id;Gt.variants=ld;Gt.defaultOptions=sd;Gt.modifiers=dd;Gt.className=l.className;var Ho=require("react/jsx-runtime"),Rn="k-color-preview",cd=[],pd={},vt=e=>{let{color:t,iconName:o,...a}=e;return(0,Ho.jsxs)("span",{...a,className:n(e.className,Rn,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,Ho.jsx)(M,{icon:o,className:"k-color-preview-icon"}),(0,Ho.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};vt.states=cd;vt.options=pd;vt.className=Rn;var Ha="popup",Kn=Ha;var za=require("react/jsx-runtime"),_n="k-animation-container",ud=[],md={},Dn={positionMode:"absolute"},tt=e=>{let{positionMode:t=Dn.positionMode,animationStyle:o,offset:a,...r}=e;return(0,za.jsx)("div",{...r,style:{...a,...e.style},className:n(e.className,_n,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,za.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};tt.states=ud;tt.options=md;tt.className=_n;tt.defaultOptions=Dn;tt.moduleName=Ha;tt.folderName=Kn;var Ua="popup",Hn=Ua;var Ga=require("react/jsx-runtime"),zn="k-popup",fd=[],bd={},Un={positionMode:"absolute"},$=e=>{let{offset:t,positionMode:o=Un.positionMode,animationStyle:a,containerClassName:r,containerRole:s,containerAriaLabel:c,...u}=e;return(0,Ga.jsx)(tt,{positionMode:o,offset:t,animationStyle:a,className:r,role:s,"aria-label":c,children:(0,Ga.jsx)("div",{...u,className:n(e.className,zn),children:e.children})})};$.states=fd;$.options=bd;$.className=zn;$.defaultOptions=Un;$.moduleName=Ua;$.folderName=Hn;$.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 Fa="action-buttons",Gn=Fa;var Fn=require("react/jsx-runtime"),oa="k-actions",hd=[],xd={},Va={alignment:"start",orientation:"horizontal"},ot=e=>{let{alignment:t=Va.alignment,orientation:o=Va.orientation,...a}=e;return(0,Fn.jsx)("div",{...a,className:n(oa,{[`${oa}-${t}`]:t,[`${oa}-${o}`]:o},e.className),children:e.children})};ot.states=hd;ot.options=xd;ot.className=oa;ot.defaultOptions=Va;ot.moduleName=Fa;ot.folderName=Gn;var $n=require("react/jsx-runtime"),Nd="k-actionsheet-footer",Vn={alignment:"stretched",orientation:"horizontal"},gt=e=>{let{alignment:t=Vn.alignment,orientation:o=Vn.orientation,template:a,as:r=a?"div":ot,...s}=e;return(0,$n.jsx)(r,{...s,...!a&&{alignment:t,orientation:o},className:n(e.className,Nd),children:e.children})};var $a="searchbox",Xn=$a;var Lt=require("react/jsx-runtime"),qn="k-searchbox",kd=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],vd={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Xa={showIcon:!0,icon:"search"},Fe=e=>{let{value:t,placeholder:o,size:a,rounded:r,fillMode:s,hover:c,focus:u,valid:b,invalid:h,required:N,loading:x,disabled:p,showIcon:L=Xa.showIcon,icon:k=Xa.icon,"aria-label":I,...O}=e;return(0,Lt.jsxs)(ee,{...O,size:a,rounded:r,fillMode:s,hover:c,focus:u,valid:b,invalid:h,required:N,loading:x,disabled:p,className:n(e.className,qn),children:[L&&(0,Lt.jsx)(M,{className:"k-input-icon",icon:k}),(0,Lt.jsx)(Ke,{placeholder:o,value:t,"aria-label":I}),(0,Lt.jsx)(Ae,{...e}),(0,Lt.jsx)(Ie,{...e}),(0,Lt.jsx)(Re,{...e})]})};Fe.states=kd;Fe.options=vd;Fe.className=qn;Fe.defaultOptions=Xa;Fe.moduleName=$a;Fe.folderName=Xn;var gd=require("react/jsx-runtime");var qa="textbox",Jn=qa;var he=require("react/jsx-runtime"),Wn="k-textbox",Ld=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Md={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},aa={showClearButton:!0,showValidationIcon:!0,separators:!0},le=e=>{let{size:t,rounded:o,fillMode:a,separators:r=aa.separators,showClearButton:s=aa.showClearButton,showValidationIcon:c=aa.showValidationIcon,prefix:u,suffix:b,type:h,value:N,placeholder:x,hover:p,focus:L,valid:k,invalid:I,required:O,loading:S,disabled:R,readonly:j,id:be,"aria-label":Me,"aria-describedby":Se,...Pe}=e;return(0,he.jsxs)(ee,{...Pe,size:t,rounded:o,fillMode:a,hover:p,focus:L,valid:k,invalid:I,required:O,loading:S,disabled:R,readonly:j,className:n(e.className,Wn),children:[u&&(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(ze,{children:u}),r&&(0,he.jsx)(Ge,{})]}),(0,he.jsx)(Ke,{id:be,placeholder:x,value:N,type:h,disabled:R,"aria-label":Me,"aria-describedby":Se,"aria-invalid":I?"true":void 0}),c&&(0,he.jsx)(Ie,{valid:k,invalid:I,loading:S,disabled:R}),(0,he.jsx)(Ae,{loading:S,disabled:R}),s&&(0,he.jsx)(Re,{loading:S,disabled:R,readonly:j,value:N}),b&&(0,he.jsxs)(he.Fragment,{children:[r&&(0,he.jsx)(Ge,{}),(0,he.jsx)(Ue,{children:b})]})]})};le.states=Ld;le.options=Md;le.className=Wn;le.defaultOptions=aa;le.moduleName=qa;le.folderName=Jn;le.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 zo=le;var Qn=require("react/jsx-runtime"),Yn=e=>(0,Qn.jsx)(zo,{...e});var Zn=require("react/jsx-runtime");var jn=require("react/jsx-runtime");var Sd=require("react/jsx-runtime");var ra=require("react/jsx-runtime"),Id=le.states,Cd=le.defaultOptions,yd=le.options,Td=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Ed=[],Ft=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t!=null&&t[r]?(0,ra.jsx)(M,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[r]?(0,ra.jsx)(wt,{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,ra.jsx)(Yn,{value:"Value",style:{width:300},...o,...a})};Ft.options=yd;Ft.states=Id;Ft.variants=Ed;Ft.defaultOptions=Cd;Ft.modifiers=Td;Ft.className=le.className;var _e=require("react/jsx-runtime"),ei="k-actionsheet-titlebar",Ad={},Ce=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:r,filter:s,input:c,inputValue:u,inputPlaceholder:b,adaptive:h,titleId:N,children:x,...p}=e;return(0,_e.jsxs)("div",{...p,className:n(e.className,ei),children:[(0,_e.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,_e.jsx)("div",{className:"k-actionsheet-actions",children:a}),!x&&(0,_e.jsxs)("div",{className:"k-actionsheet-title",id:N,children:[t&&(0,_e.jsx)("div",{className:"k-text-center",children:t}),o&&(0,_e.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),x&&(0,_e.jsx)("div",{className:"k-actionsheet-title",id:N,children:x}),r&&(0,_e.jsx)("div",{className:"k-actionsheet-actions",children:r})]}),(c||s)&&(0,_e.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?(0,_e.jsx)(le,{value:u,placeholder:b,size:h?"large":"medium","aria-label":t||b||"Input"}):(0,_e.jsx)(Fe,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};Ce.className=ei;Ce.defaultOptions=Ad;var Vt=require("react/jsx-runtime"),Ja="k-actionsheet-view",Od=[],wd={},Bd={},$t=e=>{let{adaptive:t,animated:o,children:a,header:r,footer:s,titleId:c,...u}=e,b=(r==null?void 0:r.type)===Ce&&(0,Vt.jsx)(Ce,{adaptive:t,titleId:c,...r==null?void 0:r.props}),h=(s==null?void 0:s.type)===gt&&(0,Vt.jsx)(gt,{...s==null?void 0:s.props});return(0,Vt.jsxs)("div",{...u,className:n(e.className,Ja,{[`${Ja}-animated`]:o}),children:[b,(0,Vt.jsx)("div",{className:"k-actionsheet-content",children:a}),h]})};$t.states=Od;$t.options=wd;$t.className=Ja;$t.defaultOptions=Bd;var Uo="action-sheet",na=Uo;var Wa="overlay",ti=Wa;var ai=require("react/jsx-runtime"),oi="k-overlay",Pd=[],Rd={},Kd={},Mt=e=>{let{...t}=e;return(0,ai.jsx)("div",{...t,className:n(e.className,oi),children:e.children})};Mt.states=Pd;Mt.options=Rd;Mt.className=oi;Mt.defaultOptions=Kd;Mt.moduleName=Wa;Mt.folderName=ti;var Bt=require("react/jsx-runtime"),ri="k-actionsheet",_d=[],Dd={},Go={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Q=e=>{let{side:t=Go.side,fullscreen:o=Go.fullscreen,adaptive:a=Go.adaptive,overlay:r=Go.overlay,template:s,children:c,header:u,footer:b,id:h,...N}=e,x=h&&!s&&u?`${h}-title`:void 0;return(0,Bt.jsxs)("div",{className:"k-actionsheet-container",children:[r&&(0,Bt.jsx)(Mt,{}),(0,Bt.jsx)(tt,{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,Bt.jsx)("div",{...N,id:h,role:"dialog","aria-modal":r?"true":void 0,"aria-labelledby":x,className:n(e.className,ri,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||(0,Bt.jsx)($t,{header:u,footer:b,adaptive:a,titleId:x,...e,children:c})})})]})};Q.states=_d;Q.options=Dd;Q.className=ri;Q.defaultOptions=Go;Q.moduleName=Uo;Q.folderName=na;Q.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 ii=require("react/jsx-runtime"),ni="k-actionsheet-container",Hd=[],zd={},Ud={},Xt=e=>{let{children:t,...o}=e;return(0,ii.jsx)("div",{...o,className:ni,children:t})};Xt.states=Hd;Xt.options=zd;Xt.className=ni;Xt.defaultOptions=Ud;Xt.moduleName=Uo;Xt.folderName=na;var si=require("react/jsx-runtime"),Ya=e=>{let{...t}=e;return(0,si.jsx)("div",{...t,className:n(e.className,"k-list-ul"),children:e.children})};var Ve=require("react/jsx-runtime"),Qa="k-actionsheet-item",Gd=[i.hover,i.focus,i.selected,i.disabled],St=e=>{let{iconName:t,text:o,description:a,hover:r,focus:s,selected:c,disabled:u,...b}=e;return(0,Ve.jsxs)("span",{...b,className:n(e.className,Qa,w(Qa,{hover:r,focus:s,selected:c,disabled:u})),children:[!e.children&&(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,Ve.jsx)("span",{className:"k-icon-wrap",children:(0,Ve.jsx)(M,{className:"k-actionsheet-item-icon",icon:t})}),(0,Ve.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,Ve.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,Ve.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};St.states=Gd;St.className=Qa;var li=require("react/jsx-runtime");var Fd=require("react/jsx-runtime");var Vd=require("react/jsx-runtime");var $d=require("react/jsx-runtime");var X=require("react/jsx-runtime"),Xd=Q.options,qd=Q.states,ci={...Q.defaultOptions,variant:"normal"},Jd=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Wd=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],qt=e=>{let{variant:t,modifiers:o,...a}={...ci,...e},r={},s=(0,X.jsxs)(Ya,{children:[(0,X.jsx)(St,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,X.jsx)(St,{text:"Add to Favorites",iconName:"heart"}),(0,X.jsx)(St,{text:"Upload New",iconName:"upload",disabled:!0}),(0,X.jsx)("hr",{className:"k-hr"}),(0,X.jsx)(St,{text:"Cancel",iconName:"cancel"})]}),c="Choose from the items below",u="Select Item";return t==="fullScreen"&&(r.fullScreen=!0),Object.keys(o||{}).forEach(b=>{switch(b){case"actions":r.actionsStart=!!(o!=null&&o[b]),r.actionsEnd=!!(o!=null&&o[b]);break;case"subtitle":r.subtitle=o!=null&&o[b]?c:void 0;break;case"footer":r.footer=!!(o!=null&&o[b]);break;default:break}}),t==="adaptive"?(0,X.jsx)(Q,{...a,adaptive:!0,fullscreen:r.fullScreen,header:(0,X.jsx)(Ce,{actionsStart:r.actionsStart?(0,X.jsx)(l,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?(0,X.jsx)(l,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:r.subtitle}),footer:r.footer?(0,X.jsxs)(gt,{alignment:"stretched",children:[(0,X.jsx)(l,{text:"Cancel",size:"large",themeColor:"base"}),(0,X.jsx)(l,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):(0,X.jsx)(Q,{...a,fullscreen:r.fullScreen,header:(0,X.jsx)(Ce,{actionsStart:r.actionsStart?(0,X.jsx)(l,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?(0,X.jsx)(l,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:r.subtitle}),footer:r.footer?(0,X.jsxs)(gt,{alignment:"stretched",children:[(0,X.jsx)(l,{text:"Apply",themeColor:"primary"}),(0,X.jsx)(l,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};qt.options=Xd;qt.states=qd;qt.variants=Jd;qt.defaultOptions=ci;qt.modifiers=Wd;qt.className=Q.className;var Za=require("react/jsx-runtime");var ja=require("react/jsx-runtime");var er=require("react/jsx-runtime");var tr=require("react/jsx-runtime");var or=require("react/jsx-runtime");var ar=require("react/jsx-runtime");var Oe=require("react/jsx-runtime"),Yd={...l.options,...y.options},Qd=l.states,Zd={...l.defaultOptions,...y.defaultOptions,variant:"text-button"},jd=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],ec=[],Jt=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,Oe.jsxs)(y,{fillMode:a.fillMode,className:o,children:[(0,Oe.jsx)(l,{...a,icon:"star"}),(0,Oe.jsx)(l,{...a,icon:"star"}),(0,Oe.jsx)(l,{...a,icon:"star"})]}):t==="icon-text-button"?(0,Oe.jsxs)(y,{fillMode:a.fillMode,className:o,children:[(0,Oe.jsx)(l,{...a,icon:"star",children:"First"}),(0,Oe.jsx)(l,{...a,icon:"star",children:"Middle"}),(0,Oe.jsx)(l,{...a,icon:"star",children:"Last"})]}):(0,Oe.jsxs)(y,{fillMode:a.fillMode,className:o,children:[(0,Oe.jsx)(l,{...a,children:"First"}),(0,Oe.jsx)(l,{...a,children:"Middle"}),(0,Oe.jsx)(l,{...a,children:"Last"})]})};Jt.options=Yd;Jt.states=Qd;Jt.variants=jd;Jt.defaultOptions=Zd;Jt.modifiers=ec;Jt.className=y.className;var rr="slider",pi=rr;var Ye=require("react/jsx-runtime"),Fo="k-slider",tc=[i.hover,i.focus,i.active,i.disabled,i.readonly],oc={},$e={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},F=e=>{let{type:t=$e.type,orientation:o=$e.orientation,gradientType:a=$e.gradientType,readonly:r=$e.readonly,disabled:s=$e.disabled,handlePosition:c=$e.handlePosition,showButtons:u=$e.showButtons,showTicks:b=$e.showTicks,value:h=$e.value,min:N=$e.min,max:x=$e.max,startValue:p,endValue:L,hover:k,focus:I,active:O,trackStyle:S,dir:R,...j}=e,Me=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),Se,Pe;return o==="horizontal"?(Se=R==="rtl"?"chevron-left":"chevron-right",Pe=R==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(Se="chevron-up",Pe="chevron-down"),(0,Ye.jsxs)("div",{...j,className:n(Fo,e.className,w(Fo,{readonly:r,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:R,children:[u&&(0,Ye.jsx)(l,{className:"k-button-decrease",rounded:"full",icon:Pe,tabIndex:-1,title:"Decrease"}),(0,Ye.jsxs)("div",{className:"k-slider-track-wrap",children:[b&&(0,Ye.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,Ye.jsxs)("div",{className:"k-slider-track",style:S,children:[(0,Ye.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,Ye.jsx)("span",{className:n("k-draghandle","k-draghandle-start",w(Fo,{hover:k,focus:I,active:O})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":p??N,"aria-valuemin":N,"aria-valuemax":L??x,"aria-orientation":Me,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":j["aria-label"]?`${j["aria-label"]} start`:"Range start"}),(0,Ye.jsx)("span",{className:n("k-draghandle",`k-draghandle-${c}`,w(Fo,{hover:k,focus:I,active:O})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?L??x:h,"aria-valuemin":t==="range"?p??N:N,"aria-valuemax":x,"aria-orientation":Me,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":t==="range"?j["aria-label"]?`${j["aria-label"]} end`:"Range end":j["aria-label"]})]})]}),u&&(0,Ye.jsx)(l,{className:"k-button-increase",rounded:"full",icon:Se,tabIndex:-1,title:"Increase"})]})};F.states=tc;F.options=oc;F.className=Fo;F.defaultOptions=$e;F.moduleName=rr;F.folderName=pi;F.ariaSpec={selector:".k-slider",rules:[{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"role=slider",usage:"Sets the proper role for Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-label or aria-labelledby or title",usage:"The Slider needs an accessible name to be assigned to it."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the Slider is in a form and announces the invalid state."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuenow",usage:"Specifies the currently selected value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemin",usage:"Specifies the minimum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemax",usage:"Specifies the maximum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuetext (when has text alternative)",usage:"Specifies a human-readable text alternative to the numeric value. Provided by consuming applications."},{selector:".k-slider:not(.k-disabled) .k-draghandle:not(.k-hsv-draghandle)",attribute:"tabindex=0",usage:"The element must be focusable. Disabled sliders are removed from tab order."},{selector:".k-slider-vertical .k-draghandle",attribute:"aria-orientation=vertical (when vertical)",usage:"Present only when slider is vertical."},{selector:".k-slider.k-disabled .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-disabled=true",usage:"Rendered only when the Slider is disabled."},{selector:".k-slider.k-readonly .k-draghandle",attribute:"aria-readonly=true (when readonly)",usage:"Rendered only when the Slider is readonly. Readonly sliders remain focusable but their value cannot be changed."},{selector:".k-slider .k-button",attribute:"tabindex=-1",usage:"Excludes the buttons from the natural tab order. Keyboard users use arrow keys on the drag handle."},{selector:".k-slider .k-button",attribute:"title",usage:'Provides a tooltip describing the button action (e.g., "Decrease" or "Increase").'},{selector:".k-slider .k-slider-items",attribute:"aria-hidden=true",usage:"Hides the tick list from assistive technologies. Tick values are redundant with the drag handle value attributes."},{selector:".k-slider .k-tick",attribute:"role=presentation",usage:"Removes semantic meaning from individual tick elements. Ticks are visual-only markers."},{selector:".k-slider .k-tick",attribute:"title",usage:"Represents the value associated with the respective tick."}]};var nr=require("react/jsx-runtime"),ui="k-tick",ac=[],rc={},mi={label:!1},T=e=>{let{style:t,label:o=mi.label,orientation:a,large:r,text:s,...c}=e;return(0,nr.jsx)("li",{...c,role:"presentation",title:s||"Tick",className:n(e.className,ui,{[`k-tick-${a}`]:a,"k-tick-large":r}),style:t,children:o&&(0,nr.jsx)("span",{className:"k-label",children:s})})};T.states=ac;T.options=rc;T.className=ui;T.defaultOptions=mi;var de=require("react/jsx-runtime"),fi=e=>(0,de.jsx)(F,{"aria-label":e["aria-label"]||"Slider",children:(0,de.jsxs)(de.Fragment,{children:[(0,de.jsx)(T,{className:"k-first",label:!0,large:!0,text:"0"}),(0,de.jsx)(T,{}),(0,de.jsx)(T,{}),(0,de.jsx)(T,{}),(0,de.jsx)(T,{}),(0,de.jsx)(T,{label:!0,large:!0,text:"5"}),(0,de.jsx)(T,{}),(0,de.jsx)(T,{}),(0,de.jsx)(T,{}),(0,de.jsx)(T,{}),(0,de.jsx)(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var ce=require("react/jsx-runtime"),bi=e=>(0,ce.jsx)(F,{children:(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(T,{className:"k-first",label:!0,large:!0,text:"0"}),(0,ce.jsx)(T,{}),(0,ce.jsx)(T,{}),(0,ce.jsx)(T,{}),(0,ce.jsx)(T,{}),(0,ce.jsx)(T,{label:!0,large:!0,text:"5"}),(0,ce.jsx)(T,{}),(0,ce.jsx)(T,{}),(0,ce.jsx)(T,{}),(0,ce.jsx)(T,{}),(0,ce.jsx)(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var ir=require("react/jsx-runtime");var sr=require("react/jsx-runtime");var hi=require("react/jsx-runtime"),lr=e=>(0,hi.jsx)(F,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var xi=require("react/jsx-runtime"),dr=e=>(0,xi.jsx)(F,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var cr=require("react/jsx-runtime");var pr=require("react/jsx-runtime");var we=require("react/jsx-runtime"),nc=F.options,ic=F.states,Ni={...F.defaultOptions,variant:"horizontal",label:!0},sc=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],lc=[{name:"label",title:"Labels"},{name:"tick",title:"Ticks"},{name:"button",title:"Side Buttons"}],Wt=e=>{let{variant:t,modifiers:o,...a}={...Ni,...e},r={};Object.keys(o||{}).forEach(h=>{switch(h){case"button":{r.showButtons=!!(o!=null&&o[h]);break}case"label":{r.label=!!(o!=null&&o[h]);break}case"tick":{r.showTicks=!!(o!=null&&o[h]);break}}});let{label:s=!0,showButtons:c,showTicks:u}=r,b={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,we.jsxs)(bi,{showTicks:u,showButtons:c,style:{height:"300px",...b},...a,children:[(0,we.jsx)(T,{label:s,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,we.jsx)(T,{label:s,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,we.jsx)(T,{label:s,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,we.jsx)(T,{label:s,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,we.jsx)(T,{label:s,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,we.jsxs)(fi,{showTicks:u,showButtons:c,style:{width:"400px",...b},...a,children:[(0,we.jsx)(T,{label:s,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,we.jsx)(T,{label:s,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,we.jsx)(T,{label:s,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,we.jsx)(T,{label:s,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,we.jsx)(T,{label:s,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Wt.options=nc;Wt.states=ic;Wt.variants=sc;Wt.defaultOptions=Ni;Wt.modifiers=lc;Wt.className=F.className;var Vo=require("react/jsx-runtime"),ki="k-spin-button",pc=[],uc={size:[d.undefined,d.small,d.medium,d.large],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},ur={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},It=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:r=ur.increaseLabel,decreaseLabel:s=ur.decreaseLabel,...c}=e;return(0,Vo.jsxs)("span",{...c,className:n(ki,e.className),children:[(0,Vo.jsx)(l,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":r}),(0,Vo.jsx)(l,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};It.states=pc;It.options=uc;It.className=ki;It.defaultOptions=ur;It.moduleName=null;It.folderName=null;var vi="numeric-textbox",gi="numerictextbox";var pe=require("react/jsx-runtime"),Li="k-numerictextbox",mc=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],fc={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},ia={showSpinButton:!0,showClearButton:!0,separators:!0},z=e=>{let{size:t,rounded:o,fillMode:a,separators:r=ia.separators,showClearButton:s=ia.showClearButton,showSpinButton:c=ia.showSpinButton,prefix:u,suffix:b,value:h,placeholder:N,hover:x,focus:p,valid:L,invalid:k,required:I,loading:O,disabled:S,readonly:R,id:j,"aria-label":be,"aria-describedby":Me,...Se}=e;return(0,pe.jsxs)(ee,{...Se,size:t,rounded:o,fillMode:a,hover:x,focus:p,valid:L,invalid:k,required:I,loading:O,disabled:S,readonly:R,className:n(e.className,Li),children:[u&&(0,pe.jsxs)(pe.Fragment,{children:[(0,pe.jsx)(ze,{children:u}),r&&(0,pe.jsx)(Ge,{})]}),(0,pe.jsx)(Ke,{id:j,placeholder:N,value:h,role:"spinbutton",disabled:S,"aria-label":be,"aria-describedby":Me,"aria-invalid":k?"true":void 0}),(0,pe.jsx)(Ie,{valid:L,invalid:k,loading:O,disabled:S}),(0,pe.jsx)(Ae,{loading:O,disabled:S}),s&&(0,pe.jsx)(Re,{loading:O,disabled:S,readonly:R,value:h}),b&&(0,pe.jsxs)(pe.Fragment,{children:[r&&(0,pe.jsx)(Ge,{}),(0,pe.jsx)(Ue,{children:b})]}),c&&(0,pe.jsx)(It,{className:"k-input-spinner",size:t,fillMode:a,disabled:S})]})};z.states=mc;z.options=fc;z.className=Li;z.defaultOptions=ia;z.moduleName=vi;z.folderName=gi;z.ariaSpec={selector:".k-numerictextbox",rules:[{selector:".k-numerictextbox > .k-input-inner",attribute:"role=spinbutton",usage:"Announces the spin button capabilities of the NumericTextBox."},{selector:".k-numerictextbox > .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-numerictextbox > .k-input-inner",attribute:"aria-valuenow (when has value)",usage:"Announces the current value of the component."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemin (when has min)",usage:"Announces the minimum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemax (when has max)",usage:"Announces the maximum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the NumericTextBox is in an invalid state."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message."},{selector:".k-numerictextbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"role=button or nodeName=button",usage:"Describes the role of the spin buttons."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"aria-label",usage:"The button element requires discernible text."},{selector:".k-numerictextbox.k-disabled .k-spin-button > .k-button",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."}]};var $o=z;var Si=require("react/jsx-runtime"),Mi=e=>(0,Si.jsx)($o,{...e});var la=dn(require("react"));var mr=require("react/jsx-runtime"),bc="k-list-group-sticky-header",fr=e=>(0,mr.jsx)("div",{className:n(bc,e.className),children:(0,mr.jsx)("div",{className:"k-list-header-text",children:e.children})});var Ii=require("react/jsx-runtime"),hc="k-no-data",sa=e=>{let{live:t,...o}=e;return(0,Ii.jsx)("span",{...o,className:n(hc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Pt="list",Yt=Pt;var Qt=require("react/jsx-runtime"),br="k-list",xc=[],Nc={size:[d.undefined,d.small,d.medium,d.large]},kc={},K=e=>{var L;let{size:t,virtualization:o,children:a,header:r,optionLabel:s,customValue:c,noData:u,screenReaders:b,...h}=e,x=la.default.Children.toArray(a)[0],p=(L=x==null?void 0:x.props)!=null&&L.children?la.default.Children.count(x.props.children):la.default.Children.count(a);return(0,Qt.jsxs)("div",{...h,className:n(e.className,br,C(br,{size:t}),{"k-virtual-list":o}),children:[s,c,r&&(0,Qt.jsx)(fr,{children:r}),a||(u!==void 0?u:(0,Qt.jsx)(sa,{live:!0,children:"No data found."})),b&&a&&(0,Qt.jsxs)(sa,{className:"k-sr-only",live:!0,children:[p," items found."]})]})};K.states=xc;K.options=Nc;K.className=br;K.defaultOptions=kc;K.moduleName=Pt;K.folderName=Yt;K.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var yi=require("react/jsx-runtime"),Ci="k-list-container",vc=[],gc={},Lc={},Zt=e=>{let{...t}=e;return(0,yi.jsx)("div",{...t,className:n(e.className,Ci),children:e.children})};Zt.states=vc;Zt.options=gc;Zt.className=Ci;Zt.defaultOptions=Lc;Zt.moduleName=Pt;Zt.folderName=Yt;var Rt="checkbox",jt=Rt;var hr=require("react/jsx-runtime"),da="k-checkbox",Mc=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],Sc={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},Ic={},Xe=e=>{let{id:t,checked:o,indeterminate:a,hover:r,focus:s,disabled:c,invalid:u,valid:b,required:h,size:N,rounded:x,wrapperRole:p,...L}=e;return(0,hr.jsx)("span",{className:"k-checkbox-wrap",role:p,children:(0,hr.jsx)("input",{...L,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:c||void 0,"aria-invalid":u?"true":void 0,className:n(e.className,da,C(da,{size:N,rounded:x}),w(da,{hover:r,focus:s,disabled:c,invalid:u,valid:b,indeterminate:a,checked:o}))})})};Xe.states=Mc;Xe.options=Sc;Xe.className=da;Xe.defaultOptions=Ic;Xe.moduleName=Rt;Xe.folderName=jt;Xe.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 Qe=Xe;var Ai=require("react/jsx-runtime"),Ti="k-checkbox-list",Cc=[],yc={},Ei={layout:"vertical"},ye=e=>{let{layout:t=Ei.layout,...o}=e;return(0,Ai.jsx)("ul",{...o,className:n(e.className,Ti,{[`k-list-${t}`]:t}),children:e.children})};ye.states=Cc;ye.options=yc;ye.className=Ti;ye.defaultOptions=Ei;ye.moduleName=Rt;ye.folderName=jt;var wi=require("react/jsx-runtime"),Oi="k-checkbox-list-item",Tc=[],Ec={},Ac={},Te=e=>{let{...t}=e;return(0,wi.jsx)("li",{...t,className:n(e.className,Oi),children:e.children})};Te.states=Tc;Te.options=Ec;Te.className=Oi;Te.defaultOptions=Ac;Te.moduleName=Rt;Te.folderName=jt;var Kt=require("react/jsx-runtime"),lt=({children:e="Label",id:t="cb-label-after",...o})=>(0,Kt.jsxs)(Kt.Fragment,{children:[(0,Kt.jsx)(Qe,{id:t,...o}),(0,Kt.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var xr=require("react/jsx-runtime");var Nr=require("react/jsx-runtime");var kr=require("react/jsx-runtime");var Oc=require("react/jsx-runtime");var wc=require("react/jsx-runtime");var Bc=require("react/jsx-runtime");var xe=require("react/jsx-runtime"),Pc=ye.options,Rc=ye.states,Kc={...ye.defaultOptions,variant:"vertical"},_c=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Dc=[],eo=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,xe.jsxs)(ye,{layout:"horizontal",...o,children:[(0,xe.jsx)(Te,{children:(0,xe.jsx)(lt,{id:H("cb"),defaultChecked:!0,children:"Label"})}),(0,xe.jsx)(Te,{children:(0,xe.jsx)(lt,{id:H("cb"),children:"Label"})}),(0,xe.jsx)(Te,{children:(0,xe.jsx)(lt,{id:H("cb"),children:"Label"})})]}):(0,xe.jsxs)(ye,{...o,children:[(0,xe.jsx)(Te,{children:(0,xe.jsx)(lt,{id:H("cb"),defaultChecked:!0,children:"Label"})}),(0,xe.jsx)(Te,{children:(0,xe.jsx)(lt,{id:H("cb"),children:"Label"})}),(0,xe.jsx)(Te,{children:(0,xe.jsx)(lt,{id:H("cb"),children:"Label"})})]})};eo.options=Pc;eo.states=Rc;eo.variants=_c;eo.defaultOptions=Kc;eo.modifiers=Dc;eo.className=ye.className;var Bi=require("react/jsx-runtime"),Hc=Qe.options,zc=Qe.states,Uc=Qe.defaultOptions,Gc=[],Fc=[],to=e=>(0,Bi.jsx)(lt,{id:H("checkbox"),...e,defaultChecked:!0,children:"Label"});to.options=Hc;to.states=zc;to.variants=Gc;to.defaultOptions=Uc;to.modifiers=Fc;to.className=Qe.className;var at=require("react/jsx-runtime"),vr="k-list-item",Vc=[i.hover,i.focus,i.selected,i.disabled],$c={},Xc={},B=e=>{let{text:t,groupLabel:o,group:a,iconName:r,iconClassName:s,showCheckbox:c,checked:u,hover:b,focus:h,selected:N,disabled:x,actions:p,description:L,id:k,...I}=e,O=t||e.children;return(0,at.jsxs)("li",{...I,id:k,role:a?"presentation":"option",tabIndex:a?void 0:h?0:-1,"aria-selected":!a&&N?"true":a?void 0:"false","aria-disabled":!a&&x?"true":void 0,className:n(e.className,a?"k-list-group-item":vr,w(vr,{hover:b,focus:h,disabled:x,selected:N})),children:[c&&(0,at.jsx)(Xe,{checked:u}),r&&(0,at.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,at.jsx)(M,{icon:r,className:n("k-list-item-icon",s)})}),(0,at.jsx)("span",{className:"k-list-item-text",children:O}),p&&(0,at.jsx)("div",{className:"k-list-item-actions",children:p}),L&&(0,at.jsx)("span",{className:"k-list-item-description",children:L}),o&&o!==""&&(0,at.jsx)("div",{className:"k-list-item-group-label",children:o})]})};B.states=Vc;B.options=$c;B.className=vr;B.defaultOptions=Xc;B.moduleName=Pt;B.folderName=Yt;B.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 Pi=require("react/jsx-runtime"),qc="k-list-ul",dt=e=>{let{children:t,role:o,id:a,...r}=e;return(0,Pi.jsx)("ul",{...r,id:a,role:o,className:n(qc,e.className),children:t})};dt.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 oo=require("react/jsx-runtime"),Jc="k-list-content",U=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":r,listboxId:s,...c}=e;return(0,oo.jsxs)("div",{...c,className:n(Jc,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?r:void 0,children:[o?e.children:(0,oo.jsx)(dt,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":r,children:e.children}),t&&(0,oo.jsx)("div",{className:"k-height-container",children:(0,oo.jsx)("div",{})})]})};U.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 gr=require("react/jsx-runtime");var ao=require("react/jsx-runtime"),Wc="k-list-group-item",_t=e=>{let{groupIconName:t,...o}=e;return(0,ao.jsxs)("li",{...o,role:"presentation",className:n(Wc,e.className),children:[t&&(0,ao.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,ao.jsx)(M,{icon:t,className:"k-list-item-icon"})}),(0,ao.jsx)("span",{className:"k-list-item-text",children:e.children})]})};_t.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 Ri=require("react/jsx-runtime"),Lr="k-list-optionlabel",Yc=[i.hover,i.focus,i.selected,i.disabled],Qc={},Zc={},ca=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:s,...c}=e;return(0,Ri.jsx)("div",{...c,className:n(Lr,w(Lr,{hover:o,focus:a,selected:r,disabled:s})),children:t})};ca.states=Yc;ca.options=Qc;ca.className=Lr;ca.defaultOptions=Zc;var Ki=require("react/jsx-runtime"),Mr="k-list-custom-value",jc=[i.hover,i.focus,i.selected,i.disabled],ep={},tp={},Ct=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:s,...c}=e;return(0,Ki.jsx)("div",{...c,className:n(Mr,w(Mr,{hover:o,focus:a,selected:r,disabled:s})),children:t})};Ct.states=jc;Ct.options=ep;Ct.className=Mr;Ct.defaultOptions=tp;var Sr=require("react/jsx-runtime");var Ir=require("react/jsx-runtime");var Cr=require("react/jsx-runtime");var yr=require("react/jsx-runtime");var op=require("react/jsx-runtime");var Tr=require("react/jsx-runtime");var _i="dropdown-list",Di="dropdownlist";var q=require("react/jsx-runtime"),Hi="k-dropdownlist",ap=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],rp={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Er={showValue:!0,arrowIconName:"chevron-down"},J=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:r=Er.arrowIconName,showValue:s=Er.showValue,valueIconName:c,prefix:u,suffix:b,value:h,placeholder:N,hover:x,focus:p,valid:L,invalid:k,required:I,loading:O,disabled:S,readonly:R,popup:j,opened:be,adaptive:Me,adaptiveSettings:Se,adaptiveTitle:Pe,adaptiveSubtitle:Et,adaptiveFilter:La,id:Nt,activeDescendant:Jo,"aria-label":Ma,...Sa}=e,ll=Nt?`${Nt}-listbox`:void 0,sn=Nt?`${Nt}-value`:void 0;return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(et,{...Sa,id:Nt,size:t,rounded:o,fillMode:a,hover:x,focus:p,valid:L,invalid:k,required:I,loading:O,disabled:S,readonly:R,className:n(e.className,Hi,{"k-icon-picker":!s&&c}),role:"combobox","aria-haspopup":"listbox","aria-expanded":be?"true":"false","aria-controls":be?ll:void 0,"aria-activedescendant":be&&Jo?Jo:void 0,"aria-describedby":be?sn:void 0,"aria-disabled":S?"true":void 0,"aria-label":Ma,tabIndex:0,children:[(0,q.jsx)(ze,{children:u}),(0,q.jsx)(Ot,{placeholder:N,value:h,showValue:s,valueIconName:c,id:sn}),(0,q.jsx)(Ie,{valid:L,invalid:k,loading:O,disabled:S}),(0,q.jsx)(Ae,{loading:O,disabled:S}),(0,q.jsx)(Ue,{children:b}),(0,q.jsx)(l,{className:"k-input-button",icon:r,size:e.size,fillMode:e.fillMode,"aria-label":N||"Toggle dropdown",tabIndex:-1})]}),be&&j&&(0,q.jsx)($,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:j}),Me&&(0,q.jsx)(Q,{adaptive:!0,...Se,header:(0,q.jsx)(Ce,{actionsEnd:(0,q.jsx)(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:La,inputValue:h,inputPlaceholder:N,title:Pe,subtitle:Et}),children:(0,q.jsx)("div",{className:"k-list-container",children:(0,q.jsx)(K,{size:"large",children:(0,q.jsxs)(U,{"aria-label":"Options",children:[(0,q.jsx)(B,{text:"List item"}),(0,q.jsx)(B,{text:"List item"}),(0,q.jsx)(B,{text:"List item"})]})})})})]})};J.states=ap;J.options=rp;J.className=Hi;J.defaultOptions=Er;J.moduleName=_i;J.folderName=Di;J.ariaSpec={rules:[{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"role=combobox",usage:"Announces the dropdown element."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-haspopup=listbox",usage:"Indicates the presence of a listbox popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-expanded",usage:"Announces the visibility state of the popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-label",usage:"Accessible name for the dropdown."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-dropdownlist.k-disabled",attribute:"aria-disabled=true",usage:"Rendered when the dropdown is disabled."},{selector:".k-dropdownlist .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-dropdownlist .k-input-button",attribute:"tabindex=-1",usage:"The button must not be focusable."},{selector:".k-dropdownlist-popup .k-list-content, .k-dropdownlist-popup .k-list-ul",attribute:"role=listbox",usage:"Popup list has listbox role."},{selector:'.k-dropdownlist-popup .k-list-ul[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-dropdownlist-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."}]};var np=require("react/jsx-runtime");var zi=require("react/jsx-runtime");var Ar=require("react/jsx-runtime");var ip=require("react/jsx-runtime");var Ui=require("react/jsx-runtime");var Or=require("react/jsx-runtime");var sp=require("react/jsx-runtime");var Be=require("react/jsx-runtime"),lp=J.states,dp=J.defaultOptions,cp=J.options,pp=[{name:"opened",title:"Opened"}],up=[],no=e=>{let{modifiers:t,...o}=e,a={},r=(0,Be.jsxs)(Be.Fragment,{children:[(0,Be.jsx)("div",{className:"k-list-filter",children:(0,Be.jsx)(Fe,{})}),(0,Be.jsx)(K,{style:{width:300},size:o.size,children:(0,Be.jsxs)(U,{children:[(0,Be.jsx)(B,{children:"List item"}),(0,Be.jsx)(B,{children:"List item"}),(0,Be.jsx)(B,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!(t!=null&&t[s]),a.popup=t!=null&&t[s]?r:void 0)}),(0,Be.jsx)("div",{children:(0,Be.jsx)(J,{placeholder:"Value",style:{width:300},...o,...a})})};no.options=cp;no.states=lp;no.variants=up;no.defaultOptions=dp;no.modifiers=pp;no.className=J.className;var Gi=require("react/jsx-runtime");var Fi=require("react/jsx-runtime");var mp=require("react/jsx-runtime");var pa=require("react/jsx-runtime"),fp=z.states,bp=z.defaultOptions,hp=z.options,xp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Np=[],io=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t!=null&&t[r]?(0,pa.jsx)(J,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t!=null&&t[r]?(0,pa.jsx)(Da,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[r];break;case"spin-button":a.showSpinButton=t==null?void 0:t[r];break;default:break}}),(0,pa.jsx)(Mi,{value:"Value",style:{width:300},...o,...a})};io.options=hp;io.states=fp;io.variants=Np;io.defaultOptions=bp;io.modifiers=xp;io.className=z.className;var g=require("react/jsx-runtime"),Vi="k-colorgradient-inputs",kp=[],vp={size:[d.undefined,d.small,d.medium,d.large]},$i={mode:"rgba"},so=e=>{let{mode:t=$i.mode,size:o,...a}=e;return(0,g.jsxs)("div",{...a,className:n(Vi,"k-hstack"),children:[(0,g.jsx)("div",{className:"k-vstack",children:(0,g.jsx)(l,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,g.jsx)(g.Fragment,{children:(0,g.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,g.jsx)(le,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};so.states=kp;so.options=vp;so.className=Vi;so.defaultOptions=$i;var Ne=require("react/jsx-runtime"),Xi="k-colorgradient-color-contrast",gp=[],Lp={},Mp={},lo=()=>(0,Ne.jsxs)("div",{className:n(Xi,"k-vbox"),children:[(0,Ne.jsxs)("div",{className:"k-contrast-ratio",children:[(0,Ne.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,Ne.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,Ne.jsx)(M,{icon:"check"}),(0,Ne.jsx)(M,{icon:"check"})]})]}),(0,Ne.jsxs)("div",{children:[(0,Ne.jsx)("span",{children:"AA: 4.5"}),(0,Ne.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,Ne.jsx)(M,{icon:"check"})]})]}),(0,Ne.jsxs)("div",{children:[(0,Ne.jsx)("span",{children:"AAA: 7.0"}),(0,Ne.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,Ne.jsx)(M,{icon:"x"})]})]})]});lo.states=gp;lo.options=Lp;lo.className=Xi;lo.defaultOptions=Mp;var qi="color-gradient",Ji="colorgradient";var re=require("react/jsx-runtime"),ua="k-colorgradient",Sp=[i.hover,i.focus,i.readonly,i.disabled],Ip={size:[d.undefined,d.small,d.medium,d.large]},rt={mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},se=e=>{let{size:t,mode:o=rt.mode,readonly:a=rt.readonly,disabled:r=rt.disabled,gradientStyle:s=rt.gradientStyle,dragHandleStyle:c=rt.dragHandleStyle,alphaStyle:u=rt.alphaStyle,alphaStyleHorizontal:b=rt.alphaStyleHorizontal,contrast:h=rt.contrast,dir:N,hover:x,focus:p,hoverHandle:L,focusHandle:k,canvasOrientation:I=rt.canvasOrientation,role:O,tabIndex:S,...R}=e;return(0,re.jsxs)("div",{...R,role:O??"textbox","aria-label":O==="none"?void 0:"Color gradient",tabIndex:S??0,"aria-disabled":r?"true":void 0,className:n(e.className,ua,C(ua,{size:t}),w(ua,{hover:x,focus:p,readonly:a,disabled:r})),dir:N,children:[!I||I==="horizontal"&&(0,re.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,re.jsx)("div",{className:"k-hsv-rectangle",style:s,children:(0,re.jsx)("div",{className:"k-hsv-gradient",children:(0,re.jsx)("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),style:c,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),(0,re.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,re.jsx)(dr,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,re.jsx)(dr,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:u})]})]}),I==="vertical"&&(0,re.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,re.jsx)("div",{className:"k-hsv-rectangle",style:s,children:(0,re.jsx)("div",{className:"k-hsv-gradient",children:(0,re.jsx)("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),style:c,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),(0,re.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,re.jsx)(lr,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,re.jsx)(lr,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:b})]})]}),(0,re.jsx)(so,{mode:e.mode,size:t}),h&&(0,re.jsx)(lo,{})]})};se.states=Sp;se.options=Ip;se.className=ua;se.defaultOptions=rt;se.moduleName=qi;se.folderName=Ji;se.ariaSpec={selector:".k-colorgradient",rules:[{selector:".k-colorgradient",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a value that could be submitted."},{selector:".k-colorgradient",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorgradient",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorgradient.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorGradient is disabled."},{selector:".k-hsv-draghandle",attribute:"role=slider",usage:"The 2D draghandle must have slider role for ARIA-allowed attributes."},{selector:".k-hsv-draghandle",attribute:"aria-orientation=undefined",usage:"The implicit orientation for the slider must be removed for the 2D handle."},{selector:".k-hsv-draghandle",attribute:"aria-label",usage:"Must provide information about the purpose of the slider and the currently selected color."},{selector:".k-hsv-draghandle",attribute:"aria-valuetext",usage:"Must specify the values on both X and Y axis."},{selector:".k-hsv-draghandle",attribute:"aria-valuenow",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemin",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemax",usage:"Required by the slider role."},{selector:".k-numerictextbox>.k-input-inner",attribute:"aria-label",usage:"Must provide the name of the channel (red, green, blue, or alpha)."}]};var Wi=require("react/jsx-runtime"),ma=e=>(0,Wi.jsx)(se,{...e});var Cp=require("react/jsx-runtime");var yp=require("react/jsx-runtime");var fa=require("react/jsx-runtime"),Tp=se.options,Ep=se.states,Ap={...se.defaultOptions,variant:"rgba"},Op=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],wp=[],co=e=>{let{variant:t,...o}=e;switch(t){case"hex":return(0,fa.jsx)(ma,{...o,mode:t});case"rgb":return(0,fa.jsx)(ma,{...o,mode:t});default:return(0,fa.jsx)(ma,{...o,mode:t})}};co.options=Tp;co.states=Ep;co.variants=Op;co.defaultOptions=Ap;co.modifiers=wp;co.className=se.className;var Yi=require("react/jsx-runtime"),wr=e=>(0,Yi.jsx)("tr",{role:"row",children:e.children});var Qi=require("react/jsx-runtime"),Br="k-colorpalette-tile",Bp=[i.hover,i.focus,i.selected],Pp={},po=e=>{let{color:t,tileSize:o,hover:a,focus:r,selected:s,...c}=e,u={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,Qi.jsx)("td",{...c,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:n(e.className,Br,w(Br,{hover:a,focus:r,selected:s})),style:u})};po.states=Bp;po.options=Pp;po.className=Br;var Zi="color-palette",ji="colorpalette";var uo=require("react/jsx-runtime"),ba="k-colorpalette",Rp=[i.disabled],Kp={size:[d.undefined,d.small,d.medium,d.large]},es={columns:10},Ee=e=>{let{size:t,palette:o,columns:a=es.columns,tileSize:r,disabled:s,...c}=e,u=[];if(o){let b=a||o.columns,h=o.colors?o.colors:o;Array.isArray(h)&&Array.from({length:Math.ceil(h.length/b)},(N,x)=>{let p=[];h.slice(x*b,(x+1)*b).map((k,I)=>{p.push((0,uo.jsx)(po,{color:k,tileSize:r},I))});let L=(0,uo.jsx)(wr,{children:p},x);u.push(L)})}return(0,uo.jsx)("div",{...c,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:n(e.className,ba,w(ba,{disabled:s}),C(ba,{size:t})),children:(0,uo.jsx)("table",{className:"k-colorpalette-table",role:"none",children:(0,uo.jsx)("tbody",{children:u.length>0?u:e.children})})})};Ee.states=Rp;Ee.options=Kp;Ee.className=ba;Ee.defaultOptions=es;Ee.moduleName=Zi;Ee.folderName=ji;Ee.ariaSpec={selector:".k-colorpalette",rules:[{selector:".k-colorpalette",attribute:"role=grid",usage:"The focusable wrapper announces its role as a grid."},{selector:".k-colorpalette",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpalette",attribute:"aria-activedescendant",usage:"Points to the focused cell in the table."},{selector:".k-colorpalette",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpalette.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorPalette is disabled."},{selector:".k-colorpalette-table",attribute:"role=none or role=presentation",usage:"Negates the default role of the table element."},{selector:".k-colorpalette-table>tbody>tr",attribute:"role=row",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"role=gridcell",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"aria-label or title",usage:"The text representation of the color value for the current cell."},{selector:".k-colorpalette-tile.k-selected",attribute:"aria-selected=true",usage:"Present on the currently selected cell."}]};var ha=Ee;var Xo={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};var os=require("react/jsx-runtime"),ts=e=>(0,os.jsx)(ha,{palette:Xo.basic,...e});var _p=require("react/jsx-runtime");var as=require("react/jsx-runtime");var rs=require("react/jsx-runtime"),Dp=Ee.options,Hp=Ee.states,zp={...Ee.defaultOptions,variant:"basic"},Up=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],Gp={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}},Fp=[],mo=e=>{let{variant:t="basic",...o}=e,a=Gp[t];return(0,rs.jsx)(ts,{columns:a.columns,palette:a,...o})};mo.options=Dp;mo.states=Hp;mo.variants=Up;mo.defaultOptions=zp;mo.modifiers=Fp;mo.className=Ee.className;var ns="color-editor",is="coloreditor";var te=require("react/jsx-runtime"),xa="k-coloreditor",Vp=[i.focus],$p={size:[d.undefined,d.small,d.medium,d.large]},qo={view:"gradient",palette:Xo.office,actionButtons:!0,canvasOrientation:"horizontal"},Z=e=>{let{size:t,view:o=qo.view,palette:a=qo.palette,color:r,currentColor:s,focus:c,focusView:u,dir:b,group:h,actionButtons:N=qo.actionButtons,canvasOrientation:x=qo.canvasOrientation,...p}=e;return(0,te.jsxs)("div",{...p,role:"textbox","aria-label":"Color editor",tabIndex:0,className:n(e.className,"k-flatcolorpicker",xa,C(xa,{size:t}),w(xa,{focus:c})),dir:b,children:[(0,te.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,te.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:h&&(0,te.jsxs)(y,{fillMode:"flat",children:[(0,te.jsx)(l,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),(0,te.jsx)(l,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),(0,te.jsx)("div",{className:"k-spacer"}),(0,te.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,te.jsx)(l,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),(0,te.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,te.jsx)(vt,{className:"k-coloreditor-preview-color",color:r}),(0,te.jsx)(vt,{className:"k-coloreditor-current-color",color:s})]})]})]}),(0,te.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,te.jsx)(se,{focus:u,size:t,canvasOrientation:x,role:"none",tabIndex:-1}):(0,te.jsx)(Ee,{palette:a,size:t})}),N&&(0,te.jsxs)(ot,{className:"k-coloreditor-footer",alignment:"start",children:[(0,te.jsx)(l,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,te.jsx)(l,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};Z.states=Vp;Z.options=$p;Z.className=xa;Z.defaultOptions=qo;Z.moduleName=ns;Z.folderName=is;Z.ariaSpec={selector:".k-flatcolorpicker",rules:[{selector:".k-flatcolorpicker",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a submittable value."},{selector:".k-flatcolorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-flatcolorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-flatcolorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the FlatColorPicker is disabled."},{selector:".k-colorgradient",attribute:"role=none",usage:"The inner ColorGradient must have its role removed."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var fo=Z;var Xp=require("react/jsx-runtime");var qp=require("react/jsx-runtime");var ls=require("react/jsx-runtime"),ss=e=>(0,ls.jsx)(fo,{group:!0,currentColor:"fuchsia",...e});var cs=require("react/jsx-runtime"),ds=e=>(0,cs.jsx)(fo,{view:"palette",group:!0,currentColor:"fuchsia",...e});var Pr=require("react/jsx-runtime"),Jp=Z.options,Wp=Z.states,Yp={...Z.defaultOptions,variant:"gradient"},Qp=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Zp=[],bo=e=>{let{variant:t,...o}=e;return t==="palette"?(0,Pr.jsx)(ds,{...o,color:"white"}):(0,Pr.jsx)(ss,{...o,color:"rgba(183, 118 , 118, 1.00)"})};bo.options=Jp;bo.states=Wp;bo.variants=Qp;bo.defaultOptions=Yp;bo.modifiers=Zp;bo.className=Z.className;var ps="color-picker",us="colorpicker";var ne=require("react/jsx-runtime"),ms="k-colorpicker",jp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],eu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},fs={arrowIconName:"chevron-down"},ke=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:r=fs.arrowIconName,prefix:s,suffix:c,value:u,placeholder:b,hover:h,focus:N,valid:x,invalid:p,required:L,disabled:k,valueIconName:I,popup:O,opened:S,adaptive:R,adaptiveSettings:j,adaptiveTitle:be,adaptiveSubtitle:Me,...Se}=e,Pe="colorpicker-popup";return(0,ne.jsxs)(ne.Fragment,{children:[(0,ne.jsxs)(et,{...Se,size:t,rounded:o,fillMode:a,hover:h,focus:N,valid:x,invalid:p,required:L,disabled:k,role:"combobox","aria-haspopup":"dialog","aria-expanded":S?"true":"false","aria-controls":S||R?Pe:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":k?"true":void 0,className:n(e.className,ms,"k-icon-picker"),children:[(0,ne.jsx)(ze,{children:s}),(0,ne.jsx)(Ot,{placeholder:b,value:u,showValue:!1,valueIcon:(0,ne.jsx)(vt,{className:"k-value-icon",color:u,iconName:I}),valueIconName:I}),(0,ne.jsx)(Ue,{children:c}),(0,ne.jsx)(l,{className:"k-input-button",icon:r,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:k})]}),S&&O&&(0,ne.jsx)($,{id:Pe,className:"k-colorpicker-popup",children:O}),R&&(0,ne.jsx)(Q,{adaptive:!0,id:Pe,...j,header:(0,ne.jsx)(Ce,{actionsEnd:(0,ne.jsx)(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:be,subtitle:Me}),footer:(0,ne.jsxs)(gt,{children:[(0,ne.jsx)(l,{text:"Cancel",size:"large"}),(0,ne.jsx)(l,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,ne.jsx)(Z,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};ke.states=jp;ke.options=eu;ke.className=ms;ke.defaultOptions=fs;ke.moduleName=ps;ke.folderName=us;ke.ariaSpec={selector:".k-colorpicker",rules:[{selector:".k-colorpicker",attribute:"role=combobox",usage:"The focusable element should have role combobox (input with popup)."},{selector:".k-colorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpicker",attribute:"aria-haspopup=dialog",usage:"Indicates the component has a Dialog Popup."},{selector:".k-colorpicker",attribute:"aria-expanded=true/false",usage:"Announces the visibility state of the popup."},{selector:".k-colorpicker",attribute:"aria-controls (when open)",usage:"Points to the popup element."},{selector:".k-colorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorpicker.k-disabled .k-button",attribute:"disabled or aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var ct=ke;var Rr="menu-button",bs=Rr;var xs=require("react/jsx-runtime"),hs="k-menu-button",tu=[i.hover,i.focus,i.active,i.selected,i.disabled],ou={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},Kr={showArrow:!0,arrowIconName:"chevron-down"},_=e=>{let{size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:c,active:u,selected:b,disabled:h,icon:N,text:x,showArrow:p=Kr.showArrow,arrowIconName:L=Kr.arrowIconName,expanded:k,...I}=e;return(0,xs.jsx)(l,{...I,className:n(e.className,hs),text:x,size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:c,active:u,selected:b,disabled:h,icon:N,showArrow:p,arrowIconName:L,"aria-expanded":k?"true":"false",...!x&&N&&!e["aria-label"]&&{"aria-label":"Menu"},...h&&{"aria-disabled":"true"}})};_.states=tu;_.options=ou;_.className=hs;_.defaultOptions=Kr;_.moduleName=Rr;_.folderName=bs;_.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 De="menu",qe=De;var pt=require("react/jsx-runtime"),_r="k-menu-item",au=[i.hover,i.focus,i.active,i.selected,i.disabled],ru={},Ns={iconPosition:"before"},V=e=>{let{hover:t,focus:o,active:a,selected:r,disabled:s,icon:c,text:u,first:b,last:h,showArrow:N,arrowIconName:x,iconPosition:p=Ns.iconPosition,dir:L,children:k,expanded:I,...O}=e,S=x;return S||(S=L==="rtl"?"chevron-left":"chevron-right"),(0,pt.jsxs)("li",{...O,className:n(e.className,_r,"k-item",w(_r,{focus:o,disabled:s,hover:t,active:a,selected:r}),{"k-first":b,"k-last":h}),role:"menuitem",...N&&{"aria-haspopup":"menu"},...N&&{"aria-expanded":I?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,pt.jsxs)("span",{className:n("k-link k-menu-link"),children:[c&&p==="before"&&(0,pt.jsx)(M,{className:"k-menu-link-icon",icon:c}),(0,pt.jsx)("span",{className:"k-menu-link-text",children:u}),c&&p==="after"&&(0,pt.jsx)(M,{className:"k-menu-link-icon",icon:c}),N&&(0,pt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,pt.jsx)(M,{icon:S})})]}),k]})};V.states=au;V.options=ru;V.className=_r;V.defaultOptions=Ns;V.moduleName=De;V.folderName=qe;var ut=require("react/jsx-runtime"),Dr="k-menu-item",nu=[i.hover,i.focus,i.active,i.selected,i.disabled],iu={},Hr={dir:"ltr",iconPosition:"before"},W=e=>{let{hover:t,focus:o,active:a,selected:r,disabled:s,icon:c,text:u,first:b,last:h,showArrow:N,arrowIconName:x,iconPosition:p=Hr.iconPosition,dir:L=Hr.dir,children:k,popup:I,expanded:O,...S}=e,R=x;return R||(R=L==="rtl"?"chevron-left":"chevron-right"),(0,ut.jsxs)("li",{...S,className:n(e.className,Dr,"k-item",w(Dr,{focus:o,disabled:s}),{"k-first":b,"k-last":h}),role:"menuitem",...N&&{"aria-haspopup":"menu"},...N&&{"aria-expanded":O?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,ut.jsxs)("span",{className:n("k-link k-menu-link",w("k-menu-link",{hover:t,active:a,selected:r,disabled:s})),children:[c&&p==="before"&&(0,ut.jsx)(M,{className:"k-menu-link-icon",icon:c}),(0,ut.jsx)("span",{className:"k-menu-link-text",children:u}),c&&p==="after"&&(0,ut.jsx)(M,{className:"k-menu-link-icon",icon:c}),N&&(0,ut.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,ut.jsx)(M,{icon:R})})]}),k,I]})};W.states=nu;W.options=iu;W.className=Dr;W.defaultOptions=Hr;W.moduleName=De;W.folderName=qe;var gs=require("react/jsx-runtime"),ks="k-menu-scroll-wrapper",su=[],lu={},du={},Dt=e=>{let{className:t,children:o,orientation:a,...r}=e;return(0,gs.jsx)("div",{...r,className:n(t,ks,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};Dt.states=su;Dt.options=lu;Dt.className=ks;Dt.defaultOptions=du;Dt.moduleName=De;Dt.folderName=qe;var vs=Dt;var ue=require("react/jsx-runtime"),zr="k-menu",cu=[],pu={},Na={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},oe=e=>{let{children:t,orientation:o=Na.orientation,header:a=Na.header,scrollable:r,scrollButtonsPosition:s=Na.scrollButtonsPosition,wrapperStyles:c,dir:u,popup:b,contextMenu:h,...N}=e,x={horizontal:{prev:u!=="rtl"?"left":"right",next:u!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},p=(0,ue.jsx)("ul",{dir:u,...N,className:n(e.className,"k-reset",zr,{[`${zr}-${o}`]:o,"k-header":a}),role:h?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return(0,ue.jsxs)(ue.Fragment,{children:[r?(0,ue.jsxs)(vs,{orientation:o,style:c,dir:e.dir,children:[s==="start"&&(0,ue.jsxs)(ue.Fragment,{children:[(0,ue.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,ue.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&(0,ue.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),p,s==="end"&&(0,ue.jsxs)(ue.Fragment,{children:[(0,ue.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,ue.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&(0,ue.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):p,b]})};oe.states=cu;oe.options=pu;oe.className=zr;oe.defaultOptions=Na;oe.moduleName=De;oe.folderName=qe;oe.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 Ms=require("react/jsx-runtime"),Ur="k-separator",Ls={orientation:"horizontal"},ho=e=>{let{orientation:t=Ls.orientation,...o}=e;return(0,Ms.jsx)("li",{...o,className:n(e.className,"k-item",Ur,{[`${Ur}-${t}`]:t}),role:"separator"})};ho.className=Ur;ho.defaultOptions=Ls;ho.moduleName=De;ho.folderName=qe;var Ss=require("react/jsx-runtime");var Is=require("react/jsx-runtime"),Gr="k-menu-group",uu=[],mu={size:[d.undefined,d.small,d.medium,d.large]},fu={},ve=e=>{let{children:t,size:o,...a}=e;return(0,Is.jsx)("ul",{...a,className:n(e.className,Gr,C(Gr,{size:o})),role:"menu",children:t})};ve.states=uu;ve.options=mu;ve.className=Gr;ve.defaultOptions=fu;ve.moduleName=De;ve.folderName=qe;var Ze=require("react/jsx-runtime"),Fr=e=>(0,Ze.jsx)(oe,{children:(0,Ze.jsxs)(Ze.Fragment,{children:[(0,Ze.jsx)(V,{first:!0,text:"Item 1"}),(0,Ze.jsx)(V,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),(0,Ze.jsx)(V,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),(0,Ze.jsx)(V,{text:"Item 4"}),(0,Ze.jsx)(V,{last:!0,text:"Item 5"})]}),...e});var Vr=require("react/jsx-runtime");var $r=require("react/jsx-runtime");var Xr=require("react/jsx-runtime");var qr=require("react/jsx-runtime");var nt=require("react/jsx-runtime"),bu=oe.options,hu=oe.states,Cs={...oe.defaultOptions,variant:"horizontal"},xu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Nu=[{name:"scrollable",title:"Scrollable"},{name:"opened",title:"Opened"}],xo=e=>{let{variant:t,modifiers:o,...a}={...Cs,...e},r={};return Object.keys(o||{}).forEach(s=>{switch(s){case"scrollable":r.scrollable=!!(o!=null&&o[s]);break;case"opened":r.opened=!!(o!=null&&o[s]),r.popup=(0,nt.jsx)($,{className:"k-menu-popup",children:(0,nt.jsxs)(ve,{children:[(0,nt.jsx)(W,{text:"Item 1"}),(0,nt.jsx)(W,{text:"Item 2"}),(0,nt.jsx)(ho,{}),(0,nt.jsx)(W,{text:"Item 3"})]})});break}}),t==="vertical"?(0,nt.jsx)(Fr,{...a,...r,orientation:"vertical",style:{width:"200px"}}):(0,nt.jsx)(Fr,{...a,...r})};xo.options=bu;xo.states=hu;xo.variants=xu;xo.defaultOptions=Cs;xo.modifiers=Nu;xo.className=oe.className;var Ts=require("react/jsx-runtime"),ys="k-spreadsheet-menu",ku=[],vu={},gu={},No=e=>{let{children:t,...o}=e;return(0,Ts.jsx)(oe,{...o,className:n(e.className,ys),children:t})};No.states=ku;No.options=vu;No.className=ys;No.defaultOptions=gu;var Es=require("react/jsx-runtime"),ka=e=>(0,Es.jsx)(ct,{...e});var Lu=require("react/jsx-runtime");var Mu=require("react/jsx-runtime");var Su=require("react/jsx-runtime");var Iu=require("react/jsx-runtime");var Cu=require("react/jsx-runtime");var yu=require("react/jsx-runtime");var yt=require("react/jsx-runtime"),Tu=ct.options,Eu=ct.states,As={...ct.defaultOptions,variant:"color"},Au=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Ou=[{name:"opened",title:"Opened"}],ko=e=>{let{variant:t,modifiers:o,...a}={...As,...e},r={};Object.keys(o||{}).forEach(c=>{c==="opened"&&(r.opened=!!(o!=null&&o[c]),r.popup=o!=null&&o[c]?(0,yt.jsx)(Z,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let s=r.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return(0,yt.jsx)("div",{style:s,children:(0,yt.jsx)(ka,{...a,...r})});case"icon":return(0,yt.jsx)("div",{style:s,children:(0,yt.jsx)(ka,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...r})});default:return(0,yt.jsx)("div",{style:s,children:(0,yt.jsx)(ka,{value:"rgba(183, 118 , 118, 1.00)",...a,...r})})}};ko.options=Tu;ko.states=Eu;ko.variants=Au;ko.defaultOptions=As;ko.modifiers=Ou;ko.className=ct.className;var Jr="combobox",Os=Jr;var D=require("react/jsx-runtime"),ws="k-combobox",wu=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Bu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Bs={separators:!0},ge=e=>{let{size:t,rounded:o,fillMode:a,separators:r=Bs.separators,prefix:s,suffix:c,value:u,placeholder:b,hover:h,focus:N,valid:x,invalid:p,required:L,loading:k,disabled:I,popup:O,opened:S,readonly:R,adaptive:j,adaptiveSettings:be,adaptiveTitle:Me,adaptiveSubtitle:Se,adaptiveCustomValue:Pe,id:Et,autocomplete:La,activeDescendant:Nt,"aria-label":Jo,...Ma}=e,Sa=Et?`${Et}-listbox`:void 0;return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsxs)(ee,{...Ma,size:t,rounded:o,fillMode:a,hover:h,focus:N,valid:x,invalid:p,required:L,loading:k,disabled:I,readonly:R,className:n(e.className,ws),children:[s&&(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(ze,{children:s}),r&&(0,D.jsx)(Ge,{})]}),(0,D.jsx)(Ke,{id:Et,placeholder:b,value:u,role:"combobox","aria-haspopup":"listbox","aria-expanded":S?"true":"false","aria-controls":S?Sa:void 0,"aria-activedescendant":S&&Nt?Nt:void 0,"aria-autocomplete":La,"aria-invalid":p?"true":void 0,"aria-busy":k?"true":void 0,"aria-label":Jo,disabled:I,readOnly:R}),(0,D.jsx)(Ie,{valid:x,invalid:p,loading:k,disabled:I}),(0,D.jsx)(Ae,{loading:k,disabled:I}),(0,D.jsx)(Re,{loading:k,disabled:I,readonly:R,value:u}),c&&(0,D.jsxs)(D.Fragment,{children:[r&&(0,D.jsx)(Ge,{}),(0,D.jsx)(Ue,{children:c})]}),(0,D.jsx)(l,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:I})]}),S&&O&&(0,D.jsx)($,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:O}),j&&(0,D.jsx)(Q,{adaptive:!0,id:Et?`${Et}-adaptive`:void 0,...be,header:(0,D.jsx)(Ce,{actionsEnd:(0,D.jsx)(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:u,inputPlaceholder:b,title:Me,subtitle:Se}),children:(0,D.jsx)("div",{className:"k-list-container",children:(0,D.jsx)(K,{customValue:Pe?(0,D.jsx)(Ct,{text:`Use "${u}"`}):void 0,size:"large",children:(0,D.jsxs)(U,{"aria-label":Me||"Options",children:[(0,D.jsx)(B,{text:"List item"}),(0,D.jsx)(B,{text:"List item"}),(0,D.jsx)(B,{text:"List item"})]})})})})]})};ge.states=wu;ge.options=Bu;ge.className=ws;ge.defaultOptions=Bs;ge.moduleName=Jr;ge.folderName=Os;ge.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 He=ge;var Rs=require("react/jsx-runtime"),Ps=e=>(0,Rs.jsx)(He,{...e});var Ks=require("react/jsx-runtime");var _s=require("react/jsx-runtime");var Ds=require("react/jsx-runtime");var Hs=require("react/jsx-runtime");var zs=require("react/jsx-runtime");var Us=require("react/jsx-runtime");var Wr=require("react/jsx-runtime");var Pu=require("react/jsx-runtime");var Ru=require("react/jsx-runtime");var Gs=require("react/jsx-runtime");var Fs=require("react/jsx-runtime");var je=require("react/jsx-runtime"),Ku=ge.states,_u=ge.defaultOptions,Du=ge.options,Hu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],zu=[],vo=e=>{let{modifiers:t,...o}=e,a={},r=(0,je.jsx)(K,{style:{width:300},size:o.size,children:(0,je.jsxs)(U,{children:[(0,je.jsx)(B,{children:"List item"}),(0,je.jsx)(B,{children:"List item"}),(0,je.jsx)(B,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t!=null&&t[s]?(0,je.jsx)(M,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t!=null&&t[s]?(0,je.jsx)(kt,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!(t!=null&&t[s]),a.popup=t!=null&&t[s]?r:void 0;break;default:break}}),(0,je.jsx)("div",{children:(0,je.jsx)(Ps,{value:"Value",style:{width:300},...o,...a})})};vo.options=Du;vo.states=Ku;vo.variants=zu;vo.defaultOptions=_u;vo.modifiers=Hu;vo.className=ge.className;var Uu=require("react/jsx-runtime");var Gu=require("react/jsx-runtime");var Fu=require("react/jsx-runtime");var Yr=require("react/jsx-runtime");var Vu=require("react/jsx-runtime");var Le=require("react/jsx-runtime"),$u=l.states,Vs={...l.defaultOptions,variant:"text"},Xu=l.options,qu=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ju=[{name:"opened",title:"Opened"}],go=e=>{let{variant:t,modifiers:o,...a}={...Vs,...e},r={},s=(0,Le.jsx)($,{className:"k-menu-popup",children:(0,Le.jsxs)(ve,{size:a.size,children:[(0,Le.jsx)(W,{first:!0,text:"Menu Item"}),(0,Le.jsx)(W,{text:"Menu Item"}),(0,Le.jsx)(W,{last:!0,text:"Menu Item"})]})}),c;switch(t){case"icon-only":c=(0,Le.jsx)("div",{children:(0,Le.jsx)(_,{...a,...r,icon:"star"})});break;case"icon-and-text":c=(0,Le.jsx)("div",{children:(0,Le.jsx)(_,{...a,...r,icon:"star",children:"Dropdown Button"})});break;default:c=(0,Le.jsx)("div",{children:(0,Le.jsx)(_,{...a,...r,children:"Dropdown Button"})});break}return(0,Le.jsxs)(Le.Fragment,{children:[c,(o==null?void 0:o.opened)&&s]})};go.options=Xu;go.states=$u;go.variants=qu;go.defaultOptions=Vs;go.modifiers=Ju;go.className=_.className;var Qr="split-button",$s=Qr;var mt=require("react/jsx-runtime"),Zr="k-split-button",Wu=[i.hover,i.focus,i.active,i.selected,i.disabled],Yu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},Xs={arrowIconName:"chevron-down"},P=e=>{let{size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:c,active:u,selected:b,disabled:h,icon:N,text:x,arrowIconName:p=Xs.arrowIconName,popup:L,opened:k,popupId:I,...O}=e;return(0,mt.jsxs)(mt.Fragment,{children:[(0,mt.jsxs)("div",{...O,className:n(e.className,Zr,"k-button-group",C(Zr,{rounded:o})),children:[(0,mt.jsx)(l,{text:x,icon:N,size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:c,active:u,selected:b,disabled:h,...!x&&!e.children&&N&&{"aria-label":"Action"},children:e.children}),(0,mt.jsx)(l,{className:"k-split-button-arrow",icon:p,size:t,rounded:o,fillMode:a,disabled:h,"aria-label":"Toggle dropdown","aria-expanded":k?"true":"false","aria-controls":k?I:void 0,tabIndex:-1,...h&&{"aria-disabled":"true"}})]}),k&&L&&(0,mt.jsx)($,{className:"k-menu-popup",children:L})]})};P.states=Wu;P.options=Yu;P.className=Zr;P.defaultOptions=Xs;P.moduleName=Qr;P.folderName=$s;P.ariaSpec={selector:".k-split-button",rules:[{selector:".k-split-button-arrow",attribute:"role=button or nodeName=button",usage:"Omitted if the <button> DOM element is used."},{selector:".k-split-button-arrow",attribute:"aria-label",usage:"The attribute must be present when no text is initially visible in the button."},{selector:".k-split-button-arrow",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-split-button-arrow",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-split-button-arrow",attribute:"tabindex=-1",usage:"The arrow button is removed from the tab sequence."},{selector:".k-split-button-arrow.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 jr=P;var qs=require("react/jsx-runtime"),Qu="k-toolbar-separator",ae=e=>(0,qs.jsx)("div",{className:n(Qu,e.className,"k-separator")});var ft="toolbar",Tt=ft;var E=require("react/jsx-runtime"),bt="k-toolbar",Zu=[i.focus],ju={size:[d.undefined,d.small,d.medium,d.large],fillMode:[m.undefined,m.solid,m.outline,m.flat]},em={scrollButtons:"around"},G=e=>{let{size:t,fillMode:o,focus:a,resizable:r,scrollable:s,scrollButtons:c,scrollingPosition:u,section:b,...h}=e,N=[],x=(p,L)=>{let k=[];if(p.type===l&&p.props.className&&p.props.className.includes("k-toolbar-overflow-button"))k.push((0,E.jsx)(l,{...p.props,className:`${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===l)k.push((0,E.jsx)(l,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===Do)k.push((0,E.jsx)(Do,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===kt)k.push((0,E.jsx)(kt,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===_)k.push((0,E.jsx)(_,{...p.props,className:`k-toolbar-menu-button ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===jr)k.push((0,E.jsx)(jr,{...p.props,className:`k-toolbar-split-button ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===y||p.props.className&&p.props.className.includes("k-button-group")){let I=[];(Array.isArray(p.props.children)?p.props.children:[p.props.children]).forEach((S,R)=>{I.push((0,E.jsx)(l,{...S.props,className:`${S.props.className?S.props.className:""}`},`${R}-${new Date().getTime()}`))}),k.push((0,E.jsx)(y,{...p.props,className:`k-toolbar-button-group ${p.props.className?p.props.className:""}`,children:I},`${L}-${new Date().getTime()}`))}else p.type===ge?k.push((0,E.jsx)(ge,{...p.props,className:`k-toolbar-combobox ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`)):p.type===J?k.push((0,E.jsx)(J,{...p.props,className:`k-toolbar-dropdownlist ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`)):p.type===ke?k.push((0,E.jsx)(ke,{...p.props,className:`k-toolbar-colorpicker ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`)):k.push(p);k.forEach(I=>{N.push(I)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((L,k)=>{x(L,k)}),(0,E.jsxs)("div",{...h,className:n(e.className,bt,C(bt,{size:t,fillMode:o}),w(bt,{focus:a}),{[`${bt}-resizable`]:r,[`${bt}-scrollable`]:s,[`${bt}-scrollable-overlay`]:s&&c==="hidden",[`${bt}-scrollable-${u}`]:u&&u!=="both",[`${bt}-section`]:b}),role:"toolbar","aria-label":"Toolbar",children:[!s&&N,s&&c==="hidden"&&(0,E.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),s&&c==="start"&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsxs)(y,{children:[(0,E.jsx)("span",{className:n("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,E.jsx)(M,{className:"k-button-icon",icon:"chevron-left"})}),(0,E.jsx)("span",{className:n("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,E.jsx)(M,{className:"k-button-icon",icon:"chevron-right"})})]}),(0,E.jsx)(ae,{className:"k-toolbar-button-separator"}),(0,E.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N})]}),s&&c==="end"&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),(0,E.jsx)(ae,{className:"k-toolbar-button-separator"}),(0,E.jsxs)(y,{children:[(0,E.jsx)("span",{className:n("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,E.jsx)(M,{className:"k-button-icon",icon:"chevron-left"})}),(0,E.jsx)("span",{className:n("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,E.jsx)(M,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(c==="around"||!c)&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)("span",{className:n("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,E.jsx)(M,{className:"k-button-icon",icon:"chevron-left"})}),(0,E.jsx)(ae,{className:"k-toolbar-button-separator"}),(0,E.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),(0,E.jsx)(ae,{className:"k-toolbar-button-separator"}),(0,E.jsx)("span",{className:n("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,E.jsx)(M,{className:"k-button-icon",icon:"chevron-right"})})]})]})};G.states=Zu;G.options=ju;G.className=bt;G.defaultOptions=em;G.moduleName=ft;G.folderName=Tt;G.ariaSpec={selector:".k-toolbar",rules:[{selector:".k-toolbar",attribute:"role=toolbar",usage:"The component role."},{selector:".k-toolbar",attribute:"aria-label or aria-labelledby",usage:"Must be supplied when multiple toolbars exist."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-haspopup=menu",usage:"The overflow button opens a menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-expanded=true/false",usage:"Announces popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-controls=.k-toolbar-popup .k-menu-group id (when present)",usage:"Indicates the connection between the toggle button and the menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:".k-toolbar-popup .k-menu-group",attribute:"role=menu",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-menu-group",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the menu toggle button."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-expanded=true/false",usage:"Announces section popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-controls=.k-toolbar-popup .k-toolbar-items-list id (when present)",usage:"Indicates the connection between the toggle button and the section popup."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"role=toolbar",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the section toggle button."}]};var Ws=require("react/jsx-runtime"),Js="k-floating-toolbar",tm=[],om={},am={},Lo=e=>{let{...t}=e;return(0,Ws.jsx)("div",{...t,className:n(e.className,Js),children:e.children})};Lo.states=tm;Lo.options=om;Lo.className=Js;Lo.defaultOptions=am;Lo.moduleName=ft;Lo.folderName=Tt;var Ys=require("react/jsx-runtime"),en="k-toolbar-item",rm=[i.focus],nm={},im={},ht=e=>{let{focus:t,...o}=e;return(0,Ys.jsx)("div",{...o,className:n(e.className,en,w(en,{focus:t})),children:e.children})};ht.states=rm;ht.options=nm;ht.className=en;ht.defaultOptions=im;ht.moduleName=ft;ht.folderName=Tt;var tn=require("react/jsx-runtime"),Qs="k-toolbar-popup",sm=[],lm={size:[d.undefined,d.small,d.medium,d.large],fillMode:[m.undefined,m.solid,m.outline,m.flat]},dm={},Ht=e=>{let{size:t,fillMode:o,section:a,...r}=e;return(0,tn.jsx)($,{...r,className:n(e.className,Qs),children:a?(0,tn.jsx)("span",{className:n("k-toolbar-items-list",C("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Ht.states=sm;Ht.options=lm;Ht.className=Qs;Ht.defaultOptions=dm;Ht.moduleName=ft;Ht.folderName=Tt;var ga=Ht;var cm=require("react/jsx-runtime");var pm=require("react/jsx-runtime");var um=require("react/jsx-runtime");var Zs=require("react/jsx-runtime");var mm=require("react/jsx-runtime");var Je=require("react/jsx-runtime"),fm=P.states,js={...P.defaultOptions,variant:"text"},bm=P.options,hm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],xm=[{name:"opened",title:"Opened"}],Mo=e=>{let{variant:t,modifiers:o,...a}={...js,...e},r={},s=(0,Je.jsxs)(ve,{size:a.size,children:[(0,Je.jsx)(W,{first:!0,text:"Menu Item"}),(0,Je.jsx)(W,{text:"Menu Item"}),(0,Je.jsx)(W,{last:!0,text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(c=>{c==="opened"&&(r.opened=!!(o!=null&&o[c]),r.popup=o!=null&&o[c]?s:"")}),t){case"icon-only":return(0,Je.jsx)("div",{children:(0,Je.jsx)(P,{...a,...r,icon:"star"})});case"icon-and-text":return(0,Je.jsx)("div",{children:(0,Je.jsx)(P,{...a,...r,icon:"star",children:"Split Button"})});default:return(0,Je.jsx)("div",{children:(0,Je.jsx)(P,{...a,...r,children:"Split Button"})})}};Mo.options=bm;Mo.states=fm;Mo.variants=hm;Mo.defaultOptions=js;Mo.modifiers=xm;Mo.className=P.className;var it=require("react/jsx-runtime"),el=e=>(0,it.jsx)(G,{children:[(0,it.jsx)(l,{children:"Button"},"toolbar-button"),(0,it.jsx)(_,{text:"Menu button"},"toolbar-menu-button"),(0,it.jsx)(P,{children:"Split button"},"toolbar-split-button"),(0,it.jsxs)(y,{children:[(0,it.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,it.jsx)(l,{icon:"align-center",children:"Center"}),(0,it.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var tl=require("react/jsx-runtime");var me=require("react/jsx-runtime"),ol=e=>(0,me.jsx)(G,{scrollable:!0,...e,children:[(0,me.jsx)(l,{children:"Button"},"toolbar-button"),(0,me.jsx)(_,{text:"Menu button"},"toolbar-menu-button"),(0,me.jsx)(P,{children:"Split button"},"toolbar-split-button"),(0,me.jsxs)(y,{children:[(0,me.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,me.jsx)(l,{icon:"align-center",children:"Center"}),(0,me.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,me.jsx)(l,{children:"Button"},"toolbar-button"),(0,me.jsx)(_,{text:"Menu button"},"toolbar-menu-button"),(0,me.jsx)(P,{children:"Split button"},"toolbar-split-button"),(0,me.jsxs)(y,{children:[(0,me.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,me.jsx)(l,{icon:"align-center",children:"Center"}),(0,me.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var fe=require("react/jsx-runtime"),al=({scrollingPosition:e="start",...t})=>(0,fe.jsx)(G,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[(0,fe.jsx)(l,{children:"Button"},"toolbar-button"),(0,fe.jsx)(_,{text:"Menu button"},"toolbar-menu-button"),(0,fe.jsx)(P,{children:"Split button"},"toolbar-split-button"),(0,fe.jsxs)(y,{children:[(0,fe.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,fe.jsx)(l,{icon:"align-center",children:"Center"}),(0,fe.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,fe.jsx)(l,{children:"Button"},"toolbar-button"),(0,fe.jsx)(_,{text:"Menu button"},"toolbar-menu-button"),(0,fe.jsx)(P,{children:"Split button"},"toolbar-split-button"),(0,fe.jsxs)(y,{children:[(0,fe.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,fe.jsx)(l,{icon:"align-center",children:"Center"}),(0,fe.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});var Y=require("react/jsx-runtime"),rl=({fillMode:e,size:t,...o})=>(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(G,{section:!0,fillMode:e,size:t,children:[(0,Y.jsx)(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,Y.jsxs)(y,{fillMode:e,children:[(0,Y.jsx)(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,Y.jsx)(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,Y.jsx)(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),(0,Y.jsx)(ae,{className:"k-toolbar-button-separator"}),(0,Y.jsx)(l,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),(0,Y.jsxs)(ga,{size:t,fillMode:e,section:!0,...o,children:[(0,Y.jsx)(P,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),(0,Y.jsx)(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,Y.jsx)(ae,{}),(0,Y.jsx)(_,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),(0,Y.jsxs)(y,{fillMode:e,children:[(0,Y.jsx)(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,Y.jsx)(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,Y.jsx)(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});var on=require("react/jsx-runtime");var an=require("react/jsx-runtime");var xt=require("react/jsx-runtime"),Nm=G.options,km=G.states,nl={...G.defaultOptions,variant:"default"},vm=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],gm=[],So=e=>{let{variant:t,...o}={...nl,...e};switch(t){case"responsive":return(0,xt.jsx)("div",{children:(0,xt.jsx)(rl,{style:{width:"583px"},...o})});case"overlay":return(0,xt.jsx)("div",{children:(0,xt.jsx)(al,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return(0,xt.jsx)("div",{children:(0,xt.jsx)(ol,{style:{width:"583px"},...o})});default:return(0,xt.jsx)("div",{children:(0,xt.jsx)(el,{style:{width:"583px"},...o})})}};So.options=Nm;So.states=km;So.variants=vm;So.defaultOptions=nl;So.modifiers=gm;So.className=G.className;var sl=require("react/jsx-runtime"),il="k-spreadsheet-toolbar",Lm=[],Mm={},Sm={},Io=e=>{let{children:t,...o}=e;return(0,sl.jsx)(G,{...o,resizable:!0,className:n(e.className,il),fillMode:"flat","aria-label":o["aria-label"]||"Spreadsheet toolbar",children:t})};Io.states=Lm;Io.options=Mm;Io.className=il;Io.defaultOptions=Sm;var A=require("react/jsx-runtime"),nn="k-spreadsheet-header",Im=[],Cm={},ym=[(0,A.jsx)(l,{icon:"arrow-rotate-ccw",fillMode:"flat","aria-label":"Undo"},"undo"),(0,A.jsx)(l,{icon:"arrow-rotate-cw",fillMode:"flat","aria-label":"Redo"},"redo"),(0,A.jsx)(ae,{},"sep1"),(0,A.jsx)(l,{icon:"cut",fillMode:"flat","aria-label":"Cut"},"cut"),(0,A.jsx)(l,{icon:"copy",fillMode:"flat","aria-label":"Copy"},"copy"),(0,A.jsx)(l,{icon:"clipboard",fillMode:"flat","aria-label":"Paste"},"paste"),(0,A.jsx)(ae,{},"sep2"),(0,A.jsx)(J,{value:"Font Name",fillMode:"flat","aria-label":"Font name"},"fontname"),(0,A.jsx)(J,{value:"Font Size",fillMode:"flat","aria-label":"Font size"},"fontsize"),(0,A.jsx)(ae,{},"sep3"),(0,A.jsxs)(y,{fillMode:"flat",children:[(0,A.jsx)(l,{className:"k-group-start",icon:"font-grow",fillMode:"flat","aria-label":"Increase font size"}),(0,A.jsx)(l,{className:"k-group-end",icon:"font-shrink",fillMode:"flat","aria-label":"Decrease font size"})]},"fontgrow"),(0,A.jsx)(ae,{},"sep4"),(0,A.jsxs)(y,{fillMode:"flat",children:[(0,A.jsx)(l,{className:"k-group-start",icon:"bold",fillMode:"flat","aria-label":"Bold"}),(0,A.jsx)(l,{icon:"italic",fillMode:"flat","aria-label":"Italic"}),(0,A.jsx)(l,{icon:"underline",fillMode:"flat","aria-label":"Underline"}),(0,A.jsx)(l,{className:"k-group-end",icon:"strikethrough",fillMode:"flat","aria-label":"Strikethrough"})]},"fontstyle"),(0,A.jsx)(ht,{children:(0,A.jsx)(ke,{value:"red",valueIconName:"foreground-color",fillMode:"flat","aria-label":"Text color"})},"textcolor"),(0,A.jsx)(ae,{},"sep5"),(0,A.jsx)(ht,{children:(0,A.jsx)(ke,{value:"fuchsia",valueIconName:"droplet",fillMode:"flat","aria-label":"Background color"})},"bgcolor"),(0,A.jsx)(ae,{},"sep6"),(0,A.jsx)(_,{fillMode:"flat",icon:"borders-all",showArrow:!0,"aria-label":"Borders"},"borders"),(0,A.jsx)(ae,{},"sep7"),(0,A.jsx)(_,{fillMode:"flat",icon:"align-left",showArrow:!0,"aria-label":"Horizontal alignment"},"halign"),(0,A.jsx)(_,{fillMode:"flat",icon:"align-middle",showArrow:!0,"aria-label":"Vertical alignment"},"valign"),(0,A.jsx)(ae,{},"sep8"),(0,A.jsx)(l,{fillMode:"flat",icon:"text-wrap","aria-label":"Wrap text"},"wrap")],Tm=[(0,A.jsx)(V,{first:!0,text:"File"},"file"),(0,A.jsx)(V,{text:"Home",active:!0},"home"),(0,A.jsx)(V,{text:"Insert"},"insert"),(0,A.jsx)(V,{text:"Format"},"format"),(0,A.jsx)(V,{text:"Formulas"},"formulas"),(0,A.jsx)(V,{text:"Data"},"data"),(0,A.jsx)(V,{last:!0,text:"View"},"view")],rn={toolbarItems:ym,menuItems:Tm},Co=e=>{let{toolbarItems:t=rn.toolbarItems,menuItems:o=rn.menuItems,...a}=e;return(0,A.jsxs)("div",{...a,className:n(nn,e.className),children:[(0,A.jsx)(No,{children:o}),(0,A.jsx)(Io,{children:t})]})};Co.states=Im;Co.options=Cm;Co.className=nn;Co.defaultOptions=rn;var Em=Co;
|
|
1
|
+
var dl=Object.create;var Wo=Object.defineProperty;var cl=Object.getOwnPropertyDescriptor;var pl=Object.getOwnPropertyNames;var ul=Object.getPrototypeOf,ml=Object.prototype.hasOwnProperty;var fl=(e,t)=>{for(var o in t)Wo(e,o,{get:t[o],enumerable:!0})},ln=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of pl(t))!ml.call(e,r)&&r!==o&&Wo(e,r,{get:()=>t[r],enumerable:!(a=cl(t,r))||a.enumerable});return e};var dn=(e,t,o)=>(o=e!=null?dl(ul(e)):{},ln(t||!e||!e.__esModule?Wo(o,"default",{value:e,enumerable:!0}):o,e)),bl=e=>ln(Wo({},"__esModule",{value:!0}),e);var Am={};fl(Am,{SPREADSHEETHEADER_CLASSNAME:()=>nn,SpreadsheetHeader:()=>Co,default:()=>Em});module.exports=bl(Am);var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...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 C=(e,t)=>n({[`${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"}),w=(e,t)=>{let{valid:o,invalid:a,hover:r,focus:s,checked:c,active:u,selected:b,disabled:h,indeterminate:N,loading:x,empty:p,readonly:L,highlighted:k,...I}=t;return n({"k-valid":o,"k-invalid":a,"k-hover":r,"k-focus":s,"k-checked":c,"k-active":u,"k-selected":b,"k-disabled":h,"k-indeterminate":N&&!c,"k-loading":x,"k-empty":p,"k-readonly":L,"k-highlighted":k},Object.keys(I).reduce((O,S)=>(S.startsWith("k-")?O[S]=I[S]:O[`k-${S}`]=I[S],O),{}))};function cn(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},m={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},v={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var Ia={};function H(e){return Ia[e]=(Ia[e]||0)+1,`k-${e}-${Ia[e]}`}var yo=require("react/jsx-runtime"),Ca="k-font-icon",hl=[],xl={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},Nl={},To=e=>{let{size:t,themeColor:o,icon:a,rotate:r,flip:s,...c}=e;return a?(0,yo.jsx)("span",{...c,className:n(e.className,Ca,C(Ca,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):(0,yo.jsx)(yo.Fragment,{})};To.states=hl;To.options=xl;To.className=Ca;To.defaultOptions=Nl;var pn=To;var At=require("react/jsx-runtime"),ya="k-svg-icon",kl=[],vl={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},un={viewBox:"0 0 24 24"},Eo=e=>{let{size:t,themeColor:o,rotate:a,flip:r,viewBox:s=un.viewBox,icon:c,...u}=e;if(!c)return(0,At.jsx)(At.Fragment,{});if(c==="none")return(0,At.jsx)("span",{...u,className:n(e.className,ya,C("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let b=typeof c=="object"&&c.name&&c.name;return(0,At.jsx)("span",{...u,className:n(e.className,ya,C("k-icon",{size:t}),{[`k-svg-i-${b}`]:b,[`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,At.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:s,dangerouslySetInnerHTML:typeof c=="object"?{__html:c.content}:void 0,children:c?void 0:e.children})})};Eo.states=kl;Eo.options=vl;Eo.className=ya;Eo.defaultOptions=un;var Ta=Eo;var Ea=dn(require("@progress/kendo-svg-icons"));var mn="icon",fn="icons";var xn=require("react");var bn=require("react"),hn=(0,bn.createContext)({iconsType:"svg"});var st=require("react/jsx-runtime"),Yo="k-icon",gl=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Ll=[],Ml={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},Aa={viewBox:"0 0 24 24",type:"svg"},M=e=>{let{iconsType:t}=(0,xn.useContext)(hn),{size:o,themeColor:a,icon:r,type:s=t||Aa.type,rotate:c,flip:u,viewBox:b=Aa.viewBox,...h}=e;if(!r)return(0,st.jsx)(st.Fragment,{});if((t||s)==="svg"){if(r==="none")return(0,st.jsx)(Ta,{...h,className:n(e.className,Yo),icon:r,size:o});let x=Ea[r]?r:gl(`${r}-icon`);return Ea[x]?(0,st.jsx)(Ta,{...h,className:n(e.className,Yo),icon:Ea[x],size:o,themeColor:a,rotate:c,flip:u,viewBox:b}):(0,st.jsx)(st.Fragment,{})}return(0,st.jsx)(pn,{...h,className:n(e.className,Yo),icon:r,size:o,themeColor:a,rotate:c,flip:u})};M.states=Ll;M.options=Ml;M.defaultOptions=Aa;M.className=Yo;M.moduleName=mn;M.folderName=fn;M.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 Oa="button",Nn=Oa;var We=require("react/jsx-runtime"),Ao="k-button",Sl=["icon-button"],Il=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],Cl={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},wa={showArrow:!1,arrowIconName:"chevron-down"},l=e=>{let{as:t="button",size:o,rounded:a,fillMode:r,themeColor:s,showArrow:c=wa.showArrow,arrowIconName:u=wa.arrowIconName,variant:b,hover:h,focus:N,active:x,selected:p,disabled:L,togglable:k,ariaDisabled:I,icon:O,text:S,iconClassName:R,className:j,...be}=e,Me=O!==void 0,Se=e.children!==void 0;return(0,We.jsxs)(t,{className:n(j,Ao,cn(Ao,b),C(Ao,{size:o,rounded:a,fillMode:r,themeColor:s}),w(Ao,{hover:h,focus:N,active:x,disabled:L||I,selected:p}),{"k-icon-button":!S&&!Se&&Me}),...be,"aria-pressed":k?p?"true":"false":void 0,"aria-disabled":I?"true":void 0,disabled:L||void 0,children:[O&&(0,We.jsx)(M,{className:n(R,"k-button-icon"),icon:O}),S?(0,We.jsxs)(We.Fragment,{children:[S&&(0,We.jsx)("span",{className:"k-button-text",children:S}),e.children]}):e.children&&(0,We.jsx)("span",{className:"k-button-text",children:e.children}),c&&(0,We.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,We.jsx)(M,{icon:u})})]})};l.states=Il;l.options=Cl;l.variants=Sl;l.className=Ao;l.defaultOptions=wa;l.moduleName=Oa;l.folderName=Nn;l.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 Ba="button",kn=Ba;var vn=require("react/jsx-runtime"),Oo="k-button-group",yl=[i.disabled],Tl={fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},El={},y=e=>{let{fillMode:t,disabled:o,stretched:a,...r}=e;return(0,vn.jsx)("div",{role:"group",...r,className:n(e.className,Oo,C(Oo,{fillMode:t}),w(Oo,{disabled:o}),{[`${Oo}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};y.states=yl;y.options=Tl;y.className=Oo;y.defaultOptions=El;y.moduleName=Ba;y.folderName=kn;y.ariaSpec={selector:".k-button-group",rules:[{selector:".k-button-group:not(.k-split-button)",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-button-group.k-disabled",attribute:"aria-disabled=true",usage:"The attribute is rendered only when the entire button group is disabled."},{selector:".k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button",attribute:"aria-pressed (when selected)",usage:"Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true."}]};var wo="input",Qo=wo;var gn=require("react/jsx-runtime"),Zo="k-input",Al=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Ol={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},wl={},ee=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:c,readonly:u,size:b,rounded:h,fillMode:N,...x}=e;return(0,gn.jsx)("span",{...x,className:n(e.className,Zo,C(Zo,{size:b,rounded:h,fillMode:N}),w(Zo,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:c,readonly:u}))})};ee.states=Al;ee.options=Ol;ee.className=Zo;ee.defaultOptions=wl;ee.moduleName=wo;ee.folderName=Qo;var Ln=require("react/jsx-runtime"),jo="k-picker",Bl=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Pl={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Rl={},et=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:c,readonly:u,size:b,rounded:h,fillMode:N,...x}=e;return(0,Ln.jsx)("span",{...x,className:n(e.className,jo,C(jo,{size:b,rounded:h,fillMode:N}),w(jo,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:c,readonly:u})),children:e.children})};et.states=Bl;et.options=Pl;et.className=jo;et.defaultOptions=Rl;et.moduleName=wo;et.folderName=Qo;var zt=require("react/jsx-runtime"),Mn="k-clear-value",Kl=[i.disabled,i.loading,i.readonly],_l={},Re=e=>{let{disabled:t,loading:o,readonly:a,value:r}=e;return t||a||o||!r?(0,zt.jsx)(zt.Fragment,{}):(0,zt.jsx)("span",{className:n(e.className,Mn),children:(0,zt.jsx)(M,{icon:"x"})})};Re.states=Kl;Re.options=_l;Re.className=Mn;var Sn=require("react/jsx-runtime"),Pa="k-input-inner",Dl=[],Hl={},ea={type:"text",autocomplete:"off",value:"",placeholder:""},Ke=e=>{let{value:t=ea.value,type:o=ea.type,placeholder:a=ea.placeholder,autocomplete:r=ea.autocomplete,disabled:s,readOnly:c,...u}=e;return(0,Sn.jsx)("input",{...u,type:o,className:n(e.className,Pa,C(Pa,e)),placeholder:a,autoComplete:r,defaultValue:t,disabled:s||void 0,readOnly:c||void 0})};Ke.states=Dl;Ke.options=Hl;Ke.className=Pa;var Bo=require("react/jsx-runtime"),Ra="k-input-inner",zl=[],Ul={},Ot=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:r,valueIconName:s,...c}=e;return(0,Bo.jsxs)("span",{...c,className:n(e.className,Ra,C(Ra,e)),children:[r,!r&&s&&(0,Bo.jsx)(M,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&(0,Bo.jsx)("span",{className:"k-input-value-text",children:t})]})};Ot.states=zl;Ot.options=Ul;Ot.className=Ra;var Cn=require("react/jsx-runtime"),Ka="k-input-inner",Gl=[],Fl={},In={value:"",placeholder:""},_a=e=>{let{value:t=In.value,placeholder:o=In.placeholder,rows:a,disabled:r,...s}=e;return(0,Cn.jsx)("textarea",{...s,className:n(e.className,Ka,C(Ka,e)),placeholder:o,rows:a,defaultValue:t,disabled:r||void 0})};_a.states=Gl;_a.options=Fl;_a.className=Ka;var Po=require("react/jsx-runtime"),yn="k-input-loading-icon",Vl=[i.disabled,i.loading],Ae=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Po.jsx)(Po.Fragment,{}):(0,Po.jsx)("span",{className:n(e.className,yn,"k-icon k-i-loading")})};Ae.states=Vl;Ae.className=yn;var Ro=require("react/jsx-runtime"),Tn="k-input-validation-icon",$l=[i.valid,i.invalid,i.disabled,i.loading],Xl={},Ie=e=>{let{valid:t,invalid:o,disabled:a,loading:r}=e,s=o?"warning-circle":"check-circle";return a||r||!!!(t||o)?(0,Ro.jsx)(Ro.Fragment,{}):(0,Ro.jsx)(M,{className:n(Tn),icon:s})};Ie.states=$l;Ie.options=Xl;Ie.className=Tn;var Ko=require("react/jsx-runtime"),ql="k-input-prefix",Jl={direction:"horizontal"},ze=e=>{let{direction:t=Jl.direction,...o}=e;return e.children?(0,Ko.jsx)("span",{...o,className:n(ql,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Ko.jsx)(Ko.Fragment,{})};var _o=require("react/jsx-runtime"),Wl="k-input-suffix",Yl={direction:"horizontal"},Ue=e=>{let{direction:t=Yl.direction,...o}=e;return e.children?(0,_o.jsx)("span",{...o,className:n(Wl,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,_o.jsx)(_o.Fragment,{})};var Ql=require("react/jsx-runtime");var En=require("react/jsx-runtime"),Zl="k-input-suffix-text",Da=e=>{let{children:t,...o}=e;return(0,En.jsx)("span",{...o,className:n(Zl,e.className),children:t})};var On=require("react/jsx-runtime"),An="k-input-separator",jl={direction:"vertical"},Ge=e=>{let{direction:t=jl.direction,...o}=e;return(0,On.jsx)("span",{...o,className:n(An,e.className,{[`${An}-${t}`]:t})})};var wn=require("react/jsx-runtime"),wt=e=>(0,wn.jsx)(l,{children:"Button",...e});var ie=require("react/jsx-runtime"),ed=ee.states,td=ee.defaultOptions,od=ee.options,ad=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],rd=[],Ut=e=>{let{modifiers:t,valid:o,invalid:a,loading:r,disabled:s,readonly:c,...u}=e,b=t==null?void 0:t.prefix,h=t==null?void 0:t.suffix,N=t==null?void 0:t["clear-button"],x=t==null?void 0:t["validation-icon"],p=t==null?void 0:t.separators;return(0,ie.jsxs)(ee,{...u,valid:o,invalid:a,loading:r,disabled:s,readonly:c,style:{width:300},children:[b&&(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsx)(ze,{children:(0,ie.jsx)(M,{icon:"lock"})}),p&&(0,ie.jsx)(Ge,{})]}),(0,ie.jsx)(Ke,{placeholder:"Placeholder",value:"Value"}),x&&(0,ie.jsx)(Ie,{valid:o,invalid:a,loading:r,disabled:s}),(0,ie.jsx)(Ae,{loading:r,disabled:s}),N&&(0,ie.jsx)(Re,{loading:r,disabled:s,readonly:c,value:"Value"}),h&&(0,ie.jsxs)(ie.Fragment,{children:[p&&(0,ie.jsx)(Ge,{}),(0,ie.jsx)(Ue,{children:(0,ie.jsx)(wt,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};Ut.options=od;Ut.states=ed;Ut.variants=rd;Ut.defaultOptions=td;Ut.modifiers=ad;Ut.className=ee.className;var Bn=require("react/jsx-runtime"),kt=e=>(0,Bn.jsx)(l,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Pn=require("react/jsx-runtime"),Do=e=>(0,Pn.jsx)(l,{icon:"folder",children:"Button",...e});var ta=require("react/jsx-runtime"),nd=l.options,id=l.states,sd={...l.defaultOptions,variant:"text"},ld=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],dd=[],Gt=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,ta.jsx)(kt,{...o,icon:"star"});case"icon-and-text":return(0,ta.jsx)(Do,{...o,icon:"star",children:"Button"});default:return(0,ta.jsx)(wt,{...o,children:"Button"})}};Gt.options=nd;Gt.states=id;Gt.variants=ld;Gt.defaultOptions=sd;Gt.modifiers=dd;Gt.className=l.className;var Ho=require("react/jsx-runtime"),Rn="k-color-preview",cd=[],pd={},vt=e=>{let{color:t,iconName:o,...a}=e;return(0,Ho.jsxs)("span",{...a,className:n(e.className,Rn,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,Ho.jsx)(M,{icon:o,className:"k-color-preview-icon"}),(0,Ho.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};vt.states=cd;vt.options=pd;vt.className=Rn;var Ha="popup",Kn=Ha;var za=require("react/jsx-runtime"),_n="k-animation-container",ud=[],md={},Dn={positionMode:"absolute"},tt=e=>{let{positionMode:t=Dn.positionMode,animationStyle:o,offset:a,...r}=e;return(0,za.jsx)("div",{...r,style:{...a,...e.style},className:n(e.className,_n,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,za.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};tt.states=ud;tt.options=md;tt.className=_n;tt.defaultOptions=Dn;tt.moduleName=Ha;tt.folderName=Kn;var Ua="popup",Hn=Ua;var Ga=require("react/jsx-runtime"),zn="k-popup",fd=[],bd={},Un={positionMode:"absolute"},$=e=>{let{offset:t,positionMode:o=Un.positionMode,animationStyle:a,containerClassName:r,containerRole:s,containerAriaLabel:c,...u}=e;return(0,Ga.jsx)(tt,{positionMode:o,offset:t,animationStyle:a,className:r,role:s,"aria-label":c,children:(0,Ga.jsx)("div",{...u,className:n(e.className,zn),children:e.children})})};$.states=fd;$.options=bd;$.className=zn;$.defaultOptions=Un;$.moduleName=Ua;$.folderName=Hn;$.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 Fa="action-buttons",Gn=Fa;var Fn=require("react/jsx-runtime"),oa="k-actions",hd=[],xd={},Va={alignment:"start",orientation:"horizontal"},ot=e=>{let{alignment:t=Va.alignment,orientation:o=Va.orientation,...a}=e;return(0,Fn.jsx)("div",{...a,className:n(oa,{[`${oa}-${t}`]:t,[`${oa}-${o}`]:o},e.className),children:e.children})};ot.states=hd;ot.options=xd;ot.className=oa;ot.defaultOptions=Va;ot.moduleName=Fa;ot.folderName=Gn;var $n=require("react/jsx-runtime"),Nd="k-actionsheet-footer",Vn={alignment:"stretched",orientation:"horizontal"},gt=e=>{let{alignment:t=Vn.alignment,orientation:o=Vn.orientation,template:a,as:r=a?"div":ot,...s}=e;return(0,$n.jsx)(r,{...s,...!a&&{alignment:t,orientation:o},className:n(e.className,Nd),children:e.children})};var $a="searchbox",Xn=$a;var Lt=require("react/jsx-runtime"),qn="k-searchbox",kd=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],vd={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Xa={showIcon:!0,icon:"search"},Fe=e=>{let{value:t,placeholder:o,size:a,rounded:r,fillMode:s,hover:c,focus:u,valid:b,invalid:h,required:N,loading:x,disabled:p,showIcon:L=Xa.showIcon,icon:k=Xa.icon,"aria-label":I,...O}=e;return(0,Lt.jsxs)(ee,{...O,size:a,rounded:r,fillMode:s,hover:c,focus:u,valid:b,invalid:h,required:N,loading:x,disabled:p,className:n(e.className,qn),children:[L&&(0,Lt.jsx)(M,{className:"k-input-icon",icon:k}),(0,Lt.jsx)(Ke,{placeholder:o,value:t,"aria-label":I}),(0,Lt.jsx)(Ae,{...e}),(0,Lt.jsx)(Ie,{...e}),(0,Lt.jsx)(Re,{...e})]})};Fe.states=kd;Fe.options=vd;Fe.className=qn;Fe.defaultOptions=Xa;Fe.moduleName=$a;Fe.folderName=Xn;var gd=require("react/jsx-runtime");var qa="textbox",Jn=qa;var he=require("react/jsx-runtime"),Wn="k-textbox",Ld=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Md={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},aa={showClearButton:!0,showValidationIcon:!0,separators:!0},le=e=>{let{size:t,rounded:o,fillMode:a,separators:r=aa.separators,showClearButton:s=aa.showClearButton,showValidationIcon:c=aa.showValidationIcon,prefix:u,suffix:b,type:h,value:N,placeholder:x,hover:p,focus:L,valid:k,invalid:I,required:O,loading:S,disabled:R,readonly:j,id:be,"aria-label":Me,"aria-describedby":Se,...Pe}=e;return(0,he.jsxs)(ee,{...Pe,size:t,rounded:o,fillMode:a,hover:p,focus:L,valid:k,invalid:I,required:O,loading:S,disabled:R,readonly:j,className:n(e.className,Wn),children:[u&&(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(ze,{children:u}),r&&(0,he.jsx)(Ge,{})]}),(0,he.jsx)(Ke,{id:be,placeholder:x,value:N,type:h,disabled:R,"aria-label":Me,"aria-describedby":Se,"aria-invalid":I?"true":void 0}),c&&(0,he.jsx)(Ie,{valid:k,invalid:I,loading:S,disabled:R}),(0,he.jsx)(Ae,{loading:S,disabled:R}),s&&(0,he.jsx)(Re,{loading:S,disabled:R,readonly:j,value:N}),b&&(0,he.jsxs)(he.Fragment,{children:[r&&(0,he.jsx)(Ge,{}),(0,he.jsx)(Ue,{children:b})]})]})};le.states=Ld;le.options=Md;le.className=Wn;le.defaultOptions=aa;le.moduleName=qa;le.folderName=Jn;le.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 zo=le;var Qn=require("react/jsx-runtime"),Yn=e=>(0,Qn.jsx)(zo,{...e});var Zn=require("react/jsx-runtime");var jn=require("react/jsx-runtime");var Sd=require("react/jsx-runtime");var ra=require("react/jsx-runtime"),Id=le.states,Cd=le.defaultOptions,yd=le.options,Td=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Ed=[],Ft=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t!=null&&t[r]?(0,ra.jsx)(M,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[r]?(0,ra.jsx)(wt,{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,ra.jsx)(Yn,{value:"Value",style:{width:300},...o,...a})};Ft.options=yd;Ft.states=Id;Ft.variants=Ed;Ft.defaultOptions=Cd;Ft.modifiers=Td;Ft.className=le.className;var _e=require("react/jsx-runtime"),ei="k-actionsheet-titlebar",Ad={},Ce=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:r,filter:s,input:c,inputValue:u,inputPlaceholder:b,adaptive:h,titleId:N,children:x,...p}=e;return(0,_e.jsxs)("div",{...p,className:n(e.className,ei),children:[(0,_e.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,_e.jsx)("div",{className:"k-actionsheet-actions",children:a}),!x&&(0,_e.jsxs)("div",{className:"k-actionsheet-title",id:N,children:[t&&(0,_e.jsx)("div",{className:"k-text-center",children:t}),o&&(0,_e.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),x&&(0,_e.jsx)("div",{className:"k-actionsheet-title",id:N,children:x}),r&&(0,_e.jsx)("div",{className:"k-actionsheet-actions",children:r})]}),(c||s)&&(0,_e.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?(0,_e.jsx)(le,{value:u,placeholder:b,size:h?"large":"medium","aria-label":t||b||"Input"}):(0,_e.jsx)(Fe,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};Ce.className=ei;Ce.defaultOptions=Ad;var Vt=require("react/jsx-runtime"),Ja="k-actionsheet-view",Od=[],wd={},Bd={},$t=e=>{let{adaptive:t,animated:o,children:a,header:r,footer:s,titleId:c,...u}=e,b=(r==null?void 0:r.type)===Ce&&(0,Vt.jsx)(Ce,{adaptive:t,titleId:c,...r==null?void 0:r.props}),h=(s==null?void 0:s.type)===gt&&(0,Vt.jsx)(gt,{...s==null?void 0:s.props});return(0,Vt.jsxs)("div",{...u,className:n(e.className,Ja,{[`${Ja}-animated`]:o}),children:[b,(0,Vt.jsx)("div",{className:"k-actionsheet-content",children:a}),h]})};$t.states=Od;$t.options=wd;$t.className=Ja;$t.defaultOptions=Bd;var Uo="action-sheet",na=Uo;var Wa="overlay",ti=Wa;var ai=require("react/jsx-runtime"),oi="k-overlay",Pd=[],Rd={},Kd={},Mt=e=>{let{...t}=e;return(0,ai.jsx)("div",{...t,className:n(e.className,oi),children:e.children})};Mt.states=Pd;Mt.options=Rd;Mt.className=oi;Mt.defaultOptions=Kd;Mt.moduleName=Wa;Mt.folderName=ti;var Bt=require("react/jsx-runtime"),ri="k-actionsheet",_d=[],Dd={},Go={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Q=e=>{let{side:t=Go.side,fullscreen:o=Go.fullscreen,adaptive:a=Go.adaptive,overlay:r=Go.overlay,template:s,children:c,header:u,footer:b,id:h,...N}=e,x=h&&!s&&u?`${h}-title`:void 0;return(0,Bt.jsxs)("div",{className:"k-actionsheet-container",children:[r&&(0,Bt.jsx)(Mt,{}),(0,Bt.jsx)(tt,{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,Bt.jsx)("div",{...N,id:h,role:"dialog","aria-modal":r?"true":void 0,"aria-labelledby":x,className:n(e.className,ri,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||(0,Bt.jsx)($t,{header:u,footer:b,adaptive:a,titleId:x,...e,children:c})})})]})};Q.states=_d;Q.options=Dd;Q.className=ri;Q.defaultOptions=Go;Q.moduleName=Uo;Q.folderName=na;Q.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 ii=require("react/jsx-runtime"),ni="k-actionsheet-container",Hd=[],zd={},Ud={},Xt=e=>{let{children:t,...o}=e;return(0,ii.jsx)("div",{...o,className:ni,children:t})};Xt.states=Hd;Xt.options=zd;Xt.className=ni;Xt.defaultOptions=Ud;Xt.moduleName=Uo;Xt.folderName=na;var si=require("react/jsx-runtime"),Ya=e=>{let{...t}=e;return(0,si.jsx)("div",{...t,className:n(e.className,"k-list-ul"),children:e.children})};var Ve=require("react/jsx-runtime"),Qa="k-actionsheet-item",Gd=[i.hover,i.focus,i.selected,i.disabled],St=e=>{let{iconName:t,text:o,description:a,hover:r,focus:s,selected:c,disabled:u,...b}=e;return(0,Ve.jsxs)("span",{...b,className:n(e.className,Qa,w(Qa,{hover:r,focus:s,selected:c,disabled:u})),children:[!e.children&&(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,Ve.jsx)("span",{className:"k-icon-wrap",children:(0,Ve.jsx)(M,{className:"k-actionsheet-item-icon",icon:t})}),(0,Ve.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,Ve.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,Ve.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};St.states=Gd;St.className=Qa;var li=require("react/jsx-runtime");var Fd=require("react/jsx-runtime");var Vd=require("react/jsx-runtime");var $d=require("react/jsx-runtime");var X=require("react/jsx-runtime"),Xd=Q.options,qd=Q.states,ci={...Q.defaultOptions,variant:"normal"},Jd=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Wd=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],qt=e=>{let{variant:t,modifiers:o,...a}={...ci,...e},r={},s=(0,X.jsxs)(Ya,{children:[(0,X.jsx)(St,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,X.jsx)(St,{text:"Add to Favorites",iconName:"heart"}),(0,X.jsx)(St,{text:"Upload New",iconName:"upload",disabled:!0}),(0,X.jsx)("hr",{className:"k-hr"}),(0,X.jsx)(St,{text:"Cancel",iconName:"cancel"})]}),c="Choose from the items below",u="Select Item";return t==="fullScreen"&&(r.fullScreen=!0),Object.keys(o||{}).forEach(b=>{switch(b){case"actions":r.actionsStart=!!(o!=null&&o[b]),r.actionsEnd=!!(o!=null&&o[b]);break;case"subtitle":r.subtitle=o!=null&&o[b]?c:void 0;break;case"footer":r.footer=!!(o!=null&&o[b]);break;default:break}}),t==="adaptive"?(0,X.jsx)(Q,{...a,adaptive:!0,fullscreen:r.fullScreen,header:(0,X.jsx)(Ce,{actionsStart:r.actionsStart?(0,X.jsx)(l,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?(0,X.jsx)(l,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:r.subtitle}),footer:r.footer?(0,X.jsxs)(gt,{alignment:"stretched",children:[(0,X.jsx)(l,{text:"Cancel",size:"large",themeColor:"base"}),(0,X.jsx)(l,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):(0,X.jsx)(Q,{...a,fullscreen:r.fullScreen,header:(0,X.jsx)(Ce,{actionsStart:r.actionsStart?(0,X.jsx)(l,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?(0,X.jsx)(l,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:r.subtitle}),footer:r.footer?(0,X.jsxs)(gt,{alignment:"stretched",children:[(0,X.jsx)(l,{text:"Apply",themeColor:"primary"}),(0,X.jsx)(l,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};qt.options=Xd;qt.states=qd;qt.variants=Jd;qt.defaultOptions=ci;qt.modifiers=Wd;qt.className=Q.className;var Za=require("react/jsx-runtime");var ja=require("react/jsx-runtime");var er=require("react/jsx-runtime");var tr=require("react/jsx-runtime");var or=require("react/jsx-runtime");var ar=require("react/jsx-runtime");var Oe=require("react/jsx-runtime"),Yd={...l.options,...y.options},Qd=l.states,Zd={...l.defaultOptions,...y.defaultOptions,variant:"text-button"},jd=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],ec=[],Jt=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,Oe.jsxs)(y,{fillMode:a.fillMode,className:o,children:[(0,Oe.jsx)(l,{...a,icon:"star"}),(0,Oe.jsx)(l,{...a,icon:"star"}),(0,Oe.jsx)(l,{...a,icon:"star"})]}):t==="icon-text-button"?(0,Oe.jsxs)(y,{fillMode:a.fillMode,className:o,children:[(0,Oe.jsx)(l,{...a,icon:"star",children:"First"}),(0,Oe.jsx)(l,{...a,icon:"star",children:"Middle"}),(0,Oe.jsx)(l,{...a,icon:"star",children:"Last"})]}):(0,Oe.jsxs)(y,{fillMode:a.fillMode,className:o,children:[(0,Oe.jsx)(l,{...a,children:"First"}),(0,Oe.jsx)(l,{...a,children:"Middle"}),(0,Oe.jsx)(l,{...a,children:"Last"})]})};Jt.options=Yd;Jt.states=Qd;Jt.variants=jd;Jt.defaultOptions=Zd;Jt.modifiers=ec;Jt.className=y.className;var rr="slider",pi=rr;var Ye=require("react/jsx-runtime"),Fo="k-slider",tc=[i.hover,i.focus,i.active,i.disabled,i.readonly],oc={},$e={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},F=e=>{let{type:t=$e.type,orientation:o=$e.orientation,gradientType:a=$e.gradientType,readonly:r=$e.readonly,disabled:s=$e.disabled,handlePosition:c=$e.handlePosition,showButtons:u=$e.showButtons,showTicks:b=$e.showTicks,value:h=$e.value,min:N=$e.min,max:x=$e.max,startValue:p,endValue:L,hover:k,focus:I,active:O,trackStyle:S,dir:R,...j}=e,Me=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),Se,Pe;return o==="horizontal"?(Se=R==="rtl"?"chevron-left":"chevron-right",Pe=R==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(Se="chevron-up",Pe="chevron-down"),(0,Ye.jsxs)("div",{...j,className:n(Fo,e.className,w(Fo,{readonly:r,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:R,children:[u&&(0,Ye.jsx)(l,{className:"k-button-decrease",rounded:"full",icon:Pe,tabIndex:-1,title:"Decrease"}),(0,Ye.jsxs)("div",{className:"k-slider-track-wrap",children:[b&&(0,Ye.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,Ye.jsxs)("div",{className:"k-slider-track",style:S,children:[(0,Ye.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,Ye.jsx)("span",{className:n("k-draghandle","k-draghandle-start",w(Fo,{hover:k,focus:I,active:O})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":p??N,"aria-valuemin":N,"aria-valuemax":L??x,"aria-orientation":Me,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":j["aria-label"]?`${j["aria-label"]} start`:"Range start"}),(0,Ye.jsx)("span",{className:n("k-draghandle",`k-draghandle-${c}`,w(Fo,{hover:k,focus:I,active:O})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?L??x:h,"aria-valuemin":t==="range"?p??N:N,"aria-valuemax":x,"aria-orientation":Me,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":t==="range"?j["aria-label"]?`${j["aria-label"]} end`:"Range end":j["aria-label"]})]})]}),u&&(0,Ye.jsx)(l,{className:"k-button-increase",rounded:"full",icon:Se,tabIndex:-1,title:"Increase"})]})};F.states=tc;F.options=oc;F.className=Fo;F.defaultOptions=$e;F.moduleName=rr;F.folderName=pi;F.ariaSpec={selector:".k-slider",rules:[{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"role=slider",usage:"Sets the proper role for Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-label or aria-labelledby or title",usage:"The Slider needs an accessible name to be assigned to it."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the Slider is in a form and announces the invalid state."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuenow",usage:"Specifies the currently selected value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemin",usage:"Specifies the minimum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemax",usage:"Specifies the maximum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuetext (when has text alternative)",usage:"Specifies a human-readable text alternative to the numeric value. Provided by consuming applications."},{selector:".k-slider:not(.k-disabled) .k-draghandle:not(.k-hsv-draghandle)",attribute:"tabindex=0",usage:"The element must be focusable. Disabled sliders are removed from tab order."},{selector:".k-slider-vertical .k-draghandle",attribute:"aria-orientation=vertical (when vertical)",usage:"Present only when slider is vertical."},{selector:".k-slider.k-disabled .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-disabled=true",usage:"Rendered only when the Slider is disabled."},{selector:".k-slider.k-readonly .k-draghandle",attribute:"aria-readonly=true (when readonly)",usage:"Rendered only when the Slider is readonly. Readonly sliders remain focusable but their value cannot be changed."},{selector:".k-slider .k-button",attribute:"tabindex=-1",usage:"Excludes the buttons from the natural tab order. Keyboard users use arrow keys on the drag handle."},{selector:".k-slider .k-button",attribute:"title",usage:'Provides a tooltip describing the button action (e.g., "Decrease" or "Increase").'},{selector:".k-slider .k-slider-items",attribute:"aria-hidden=true",usage:"Hides the tick list from assistive technologies. Tick values are redundant with the drag handle value attributes."},{selector:".k-slider .k-tick",attribute:"role=presentation",usage:"Removes semantic meaning from individual tick elements. Ticks are visual-only markers."},{selector:".k-slider .k-tick",attribute:"title",usage:"Represents the value associated with the respective tick."}]};var nr=require("react/jsx-runtime"),ui="k-tick",ac=[],rc={},mi={label:!1},T=e=>{let{style:t,label:o=mi.label,orientation:a,large:r,text:s,...c}=e;return(0,nr.jsx)("li",{...c,role:"presentation",title:s||"Tick",className:n(e.className,ui,{[`k-tick-${a}`]:a,"k-tick-large":r}),style:t,children:o&&(0,nr.jsx)("span",{className:"k-label",children:s})})};T.states=ac;T.options=rc;T.className=ui;T.defaultOptions=mi;var de=require("react/jsx-runtime"),fi=e=>(0,de.jsx)(F,{"aria-label":e["aria-label"]||"Slider",children:(0,de.jsxs)(de.Fragment,{children:[(0,de.jsx)(T,{className:"k-first",label:!0,large:!0,text:"0"}),(0,de.jsx)(T,{}),(0,de.jsx)(T,{}),(0,de.jsx)(T,{}),(0,de.jsx)(T,{}),(0,de.jsx)(T,{label:!0,large:!0,text:"5"}),(0,de.jsx)(T,{}),(0,de.jsx)(T,{}),(0,de.jsx)(T,{}),(0,de.jsx)(T,{}),(0,de.jsx)(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var ce=require("react/jsx-runtime"),bi=e=>(0,ce.jsx)(F,{children:(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(T,{className:"k-first",label:!0,large:!0,text:"0"}),(0,ce.jsx)(T,{}),(0,ce.jsx)(T,{}),(0,ce.jsx)(T,{}),(0,ce.jsx)(T,{}),(0,ce.jsx)(T,{label:!0,large:!0,text:"5"}),(0,ce.jsx)(T,{}),(0,ce.jsx)(T,{}),(0,ce.jsx)(T,{}),(0,ce.jsx)(T,{}),(0,ce.jsx)(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var ir=require("react/jsx-runtime");var sr=require("react/jsx-runtime");var hi=require("react/jsx-runtime"),lr=e=>(0,hi.jsx)(F,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var xi=require("react/jsx-runtime"),dr=e=>(0,xi.jsx)(F,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var cr=require("react/jsx-runtime");var pr=require("react/jsx-runtime");var we=require("react/jsx-runtime"),nc=F.options,ic=F.states,Ni={...F.defaultOptions,variant:"horizontal",label:!0},sc=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],lc=[{name:"label",title:"Labels"},{name:"tick",title:"Ticks"},{name:"button",title:"Side Buttons"}],Wt=e=>{let{variant:t,modifiers:o,...a}={...Ni,...e},r={};Object.keys(o||{}).forEach(h=>{switch(h){case"button":{r.showButtons=!!(o!=null&&o[h]);break}case"label":{r.label=!!(o!=null&&o[h]);break}case"tick":{r.showTicks=!!(o!=null&&o[h]);break}}});let{label:s=!0,showButtons:c,showTicks:u}=r,b={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,we.jsxs)(bi,{showTicks:u,showButtons:c,style:{height:"300px",...b},...a,children:[(0,we.jsx)(T,{label:s,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,we.jsx)(T,{label:s,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,we.jsx)(T,{label:s,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,we.jsx)(T,{label:s,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,we.jsx)(T,{label:s,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,we.jsxs)(fi,{showTicks:u,showButtons:c,style:{width:"400px",...b},...a,children:[(0,we.jsx)(T,{label:s,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,we.jsx)(T,{label:s,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,we.jsx)(T,{label:s,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,we.jsx)(T,{label:s,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,we.jsx)(T,{label:s,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Wt.options=nc;Wt.states=ic;Wt.variants=sc;Wt.defaultOptions=Ni;Wt.modifiers=lc;Wt.className=F.className;var Vo=require("react/jsx-runtime"),ki="k-spin-button",pc=[],uc={size:[d.undefined,d.small,d.medium,d.large],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},ur={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},It=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:r=ur.increaseLabel,decreaseLabel:s=ur.decreaseLabel,...c}=e;return(0,Vo.jsxs)("span",{...c,className:n(ki,e.className),children:[(0,Vo.jsx)(l,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":r}),(0,Vo.jsx)(l,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};It.states=pc;It.options=uc;It.className=ki;It.defaultOptions=ur;It.moduleName=null;It.folderName=null;var vi="numeric-textbox",gi="numerictextbox";var pe=require("react/jsx-runtime"),Li="k-numerictextbox",mc=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],fc={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},ia={showSpinButton:!0,showClearButton:!0,separators:!0},z=e=>{let{size:t,rounded:o,fillMode:a,separators:r=ia.separators,showClearButton:s=ia.showClearButton,showSpinButton:c=ia.showSpinButton,prefix:u,suffix:b,value:h,placeholder:N,hover:x,focus:p,valid:L,invalid:k,required:I,loading:O,disabled:S,readonly:R,id:j,"aria-label":be,"aria-describedby":Me,...Se}=e;return(0,pe.jsxs)(ee,{...Se,size:t,rounded:o,fillMode:a,hover:x,focus:p,valid:L,invalid:k,required:I,loading:O,disabled:S,readonly:R,className:n(e.className,Li),children:[u&&(0,pe.jsxs)(pe.Fragment,{children:[(0,pe.jsx)(ze,{children:u}),r&&(0,pe.jsx)(Ge,{})]}),(0,pe.jsx)(Ke,{id:j,placeholder:N,value:h,role:"spinbutton",disabled:S,"aria-label":be,"aria-describedby":Me,"aria-invalid":k?"true":void 0}),(0,pe.jsx)(Ie,{valid:L,invalid:k,loading:O,disabled:S}),(0,pe.jsx)(Ae,{loading:O,disabled:S}),s&&(0,pe.jsx)(Re,{loading:O,disabled:S,readonly:R,value:h}),b&&(0,pe.jsxs)(pe.Fragment,{children:[r&&(0,pe.jsx)(Ge,{}),(0,pe.jsx)(Ue,{children:b})]}),c&&(0,pe.jsx)(It,{className:"k-input-spinner",size:t,fillMode:a,disabled:S})]})};z.states=mc;z.options=fc;z.className=Li;z.defaultOptions=ia;z.moduleName=vi;z.folderName=gi;z.ariaSpec={selector:".k-numerictextbox",rules:[{selector:".k-numerictextbox > .k-input-inner",attribute:"role=spinbutton",usage:"Announces the spin button capabilities of the NumericTextBox."},{selector:".k-numerictextbox > .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-numerictextbox > .k-input-inner",attribute:"aria-valuenow (when has value)",usage:"Announces the current value of the component."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemin (when has min)",usage:"Announces the minimum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemax (when has max)",usage:"Announces the maximum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the NumericTextBox is in an invalid state."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message."},{selector:".k-numerictextbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"role=button or nodeName=button",usage:"Describes the role of the spin buttons."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"aria-label",usage:"The button element requires discernible text."},{selector:".k-numerictextbox.k-disabled .k-spin-button > .k-button",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."}]};var $o=z;var Si=require("react/jsx-runtime"),Mi=e=>(0,Si.jsx)($o,{...e});var la=dn(require("react"));var mr=require("react/jsx-runtime"),bc="k-list-group-sticky-header",fr=e=>(0,mr.jsx)("div",{className:n(bc,e.className),children:(0,mr.jsx)("div",{className:"k-list-header-text",children:e.children})});var Ii=require("react/jsx-runtime"),hc="k-no-data",sa=e=>{let{live:t,...o}=e;return(0,Ii.jsx)("span",{...o,className:n(hc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Pt="list",Yt=Pt;var Qt=require("react/jsx-runtime"),br="k-list",xc=[],Nc={size:[d.undefined,d.small,d.medium,d.large]},kc={},K=e=>{var L;let{size:t,virtualization:o,children:a,header:r,optionLabel:s,customValue:c,noData:u,screenReaders:b,...h}=e,x=la.default.Children.toArray(a)[0],p=(L=x==null?void 0:x.props)!=null&&L.children?la.default.Children.count(x.props.children):la.default.Children.count(a);return(0,Qt.jsxs)("div",{...h,className:n(e.className,br,C(br,{size:t}),{"k-virtual-list":o}),children:[s,c,r&&(0,Qt.jsx)(fr,{children:r}),a||(u!==void 0?u:(0,Qt.jsx)(sa,{live:!0,children:"No data found."})),b&&a&&(0,Qt.jsxs)(sa,{className:"k-sr-only",live:!0,children:[p," items found."]})]})};K.states=xc;K.options=Nc;K.className=br;K.defaultOptions=kc;K.moduleName=Pt;K.folderName=Yt;K.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var yi=require("react/jsx-runtime"),Ci="k-list-container",vc=[],gc={},Lc={},Zt=e=>{let{...t}=e;return(0,yi.jsx)("div",{...t,className:n(e.className,Ci),children:e.children})};Zt.states=vc;Zt.options=gc;Zt.className=Ci;Zt.defaultOptions=Lc;Zt.moduleName=Pt;Zt.folderName=Yt;var Rt="checkbox",jt=Rt;var hr=require("react/jsx-runtime"),da="k-checkbox",Mc=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],Sc={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},Ic={},Xe=e=>{let{id:t,checked:o,indeterminate:a,hover:r,focus:s,disabled:c,invalid:u,valid:b,required:h,size:N,rounded:x,wrapperRole:p,...L}=e;return(0,hr.jsx)("span",{className:"k-checkbox-wrap",role:p,children:(0,hr.jsx)("input",{...L,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:c||void 0,"aria-invalid":u?"true":void 0,className:n(e.className,da,C(da,{size:N,rounded:x}),w(da,{hover:r,focus:s,disabled:c,invalid:u,valid:b,indeterminate:a,checked:o}))})})};Xe.states=Mc;Xe.options=Sc;Xe.className=da;Xe.defaultOptions=Ic;Xe.moduleName=Rt;Xe.folderName=jt;Xe.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 Qe=Xe;var Ai=require("react/jsx-runtime"),Ti="k-checkbox-list",Cc=[],yc={},Ei={layout:"vertical"},ye=e=>{let{layout:t=Ei.layout,...o}=e;return(0,Ai.jsx)("ul",{...o,className:n(e.className,Ti,{[`k-list-${t}`]:t}),children:e.children})};ye.states=Cc;ye.options=yc;ye.className=Ti;ye.defaultOptions=Ei;ye.moduleName=Rt;ye.folderName=jt;var wi=require("react/jsx-runtime"),Oi="k-checkbox-list-item",Tc=[],Ec={},Ac={},Te=e=>{let{...t}=e;return(0,wi.jsx)("li",{...t,className:n(e.className,Oi),children:e.children})};Te.states=Tc;Te.options=Ec;Te.className=Oi;Te.defaultOptions=Ac;Te.moduleName=Rt;Te.folderName=jt;var Kt=require("react/jsx-runtime"),lt=({children:e="Label",id:t="cb-label-after",...o})=>(0,Kt.jsxs)(Kt.Fragment,{children:[(0,Kt.jsx)(Qe,{id:t,...o}),(0,Kt.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var xr=require("react/jsx-runtime");var Nr=require("react/jsx-runtime");var kr=require("react/jsx-runtime");var Oc=require("react/jsx-runtime");var wc=require("react/jsx-runtime");var Bc=require("react/jsx-runtime");var xe=require("react/jsx-runtime"),Pc=ye.options,Rc=ye.states,Kc={...ye.defaultOptions,variant:"vertical"},_c=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Dc=[],eo=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,xe.jsxs)(ye,{layout:"horizontal",...o,children:[(0,xe.jsx)(Te,{children:(0,xe.jsx)(lt,{id:H("cb"),defaultChecked:!0,children:"Label"})}),(0,xe.jsx)(Te,{children:(0,xe.jsx)(lt,{id:H("cb"),children:"Label"})}),(0,xe.jsx)(Te,{children:(0,xe.jsx)(lt,{id:H("cb"),children:"Label"})})]}):(0,xe.jsxs)(ye,{...o,children:[(0,xe.jsx)(Te,{children:(0,xe.jsx)(lt,{id:H("cb"),defaultChecked:!0,children:"Label"})}),(0,xe.jsx)(Te,{children:(0,xe.jsx)(lt,{id:H("cb"),children:"Label"})}),(0,xe.jsx)(Te,{children:(0,xe.jsx)(lt,{id:H("cb"),children:"Label"})})]})};eo.options=Pc;eo.states=Rc;eo.variants=_c;eo.defaultOptions=Kc;eo.modifiers=Dc;eo.className=ye.className;var Bi=require("react/jsx-runtime"),Hc=Qe.options,zc=Qe.states,Uc=Qe.defaultOptions,Gc=[],Fc=[],to=e=>(0,Bi.jsx)(lt,{id:H("checkbox"),...e,defaultChecked:!0,children:"Label"});to.options=Hc;to.states=zc;to.variants=Gc;to.defaultOptions=Uc;to.modifiers=Fc;to.className=Qe.className;var at=require("react/jsx-runtime"),vr="k-list-item",Vc=[i.hover,i.focus,i.selected,i.disabled],$c={},Xc={},B=e=>{let{text:t,groupLabel:o,group:a,iconName:r,iconClassName:s,showCheckbox:c,checked:u,hover:b,focus:h,selected:N,disabled:x,actions:p,description:L,id:k,...I}=e,O=t||e.children;return(0,at.jsxs)("li",{...I,id:k,role:a?"presentation":"option",tabIndex:a?void 0:h?0:-1,"aria-selected":!a&&N?"true":a?void 0:"false","aria-disabled":!a&&x?"true":void 0,className:n(e.className,a?"k-list-group-item":vr,w(vr,{hover:b,focus:h,disabled:x,selected:N})),children:[c&&(0,at.jsx)(Xe,{checked:u}),r&&(0,at.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,at.jsx)(M,{icon:r,className:n("k-list-item-icon",s)})}),(0,at.jsx)("span",{className:"k-list-item-text",children:O}),p&&(0,at.jsx)("div",{className:"k-list-item-actions",children:p}),L&&(0,at.jsx)("span",{className:"k-list-item-description",children:L}),o&&o!==""&&(0,at.jsx)("div",{className:"k-list-item-group-label",children:o})]})};B.states=Vc;B.options=$c;B.className=vr;B.defaultOptions=Xc;B.moduleName=Pt;B.folderName=Yt;B.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 Pi=require("react/jsx-runtime"),qc="k-list-ul",dt=e=>{let{children:t,role:o,id:a,...r}=e;return(0,Pi.jsx)("ul",{...r,id:a,role:o,className:n(qc,e.className),children:t})};dt.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 oo=require("react/jsx-runtime"),Jc="k-list-content",U=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":r,listboxId:s,...c}=e;return(0,oo.jsxs)("div",{...c,className:n(Jc,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?r:void 0,children:[o?e.children:(0,oo.jsx)(dt,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":r,children:e.children}),t&&(0,oo.jsx)("div",{className:"k-height-container",children:(0,oo.jsx)("div",{})})]})};U.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 gr=require("react/jsx-runtime");var ao=require("react/jsx-runtime"),Wc="k-list-group-item",_t=e=>{let{groupIconName:t,...o}=e;return(0,ao.jsxs)("li",{...o,role:"presentation",className:n(Wc,e.className),children:[t&&(0,ao.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,ao.jsx)(M,{icon:t,className:"k-list-item-icon"})}),(0,ao.jsx)("span",{className:"k-list-item-text",children:e.children})]})};_t.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 Ri=require("react/jsx-runtime"),Lr="k-list-optionlabel",Yc=[i.hover,i.focus,i.selected,i.disabled],Qc={},Zc={},ca=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:s,...c}=e;return(0,Ri.jsx)("div",{...c,className:n(Lr,w(Lr,{hover:o,focus:a,selected:r,disabled:s})),children:t})};ca.states=Yc;ca.options=Qc;ca.className=Lr;ca.defaultOptions=Zc;var Ki=require("react/jsx-runtime"),Mr="k-list-custom-value",jc=[i.hover,i.focus,i.selected,i.disabled],ep={},tp={},Ct=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:s,...c}=e;return(0,Ki.jsx)("div",{...c,className:n(Mr,w(Mr,{hover:o,focus:a,selected:r,disabled:s})),children:t})};Ct.states=jc;Ct.options=ep;Ct.className=Mr;Ct.defaultOptions=tp;var Sr=require("react/jsx-runtime");var Ir=require("react/jsx-runtime");var Cr=require("react/jsx-runtime");var yr=require("react/jsx-runtime");var op=require("react/jsx-runtime");var Tr=require("react/jsx-runtime");var _i="dropdown-list",Di="dropdownlist";var q=require("react/jsx-runtime"),Hi="k-dropdownlist",ap=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],rp={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Er={showValue:!0,arrowIconName:"chevron-down"},J=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:r=Er.arrowIconName,showValue:s=Er.showValue,valueIconName:c,prefix:u,suffix:b,value:h,placeholder:N,hover:x,focus:p,valid:L,invalid:k,required:I,loading:O,disabled:S,readonly:R,popup:j,opened:be,adaptive:Me,adaptiveSettings:Se,adaptiveTitle:Pe,adaptiveSubtitle:Et,adaptiveFilter:La,id:Nt,activeDescendant:Jo,"aria-label":Ma,...Sa}=e,ll=Nt?`${Nt}-listbox`:void 0,sn=Nt?`${Nt}-value`:void 0;return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(et,{...Sa,id:Nt,size:t,rounded:o,fillMode:a,hover:x,focus:p,valid:L,invalid:k,required:I,loading:O,disabled:S,readonly:R,className:n(e.className,Hi,{"k-icon-picker":!s&&c}),role:"combobox","aria-haspopup":"listbox","aria-expanded":be?"true":"false","aria-controls":be?ll:void 0,"aria-activedescendant":be&&Jo?Jo:void 0,"aria-describedby":be?sn:void 0,"aria-disabled":S?"true":void 0,"aria-label":Ma,tabIndex:0,children:[(0,q.jsx)(ze,{children:u}),(0,q.jsx)(Ot,{placeholder:N,value:h,showValue:s,valueIconName:c,id:sn}),(0,q.jsx)(Ie,{valid:L,invalid:k,loading:O,disabled:S}),(0,q.jsx)(Ae,{loading:O,disabled:S}),(0,q.jsx)(Ue,{children:b}),(0,q.jsx)(l,{className:"k-input-button",icon:r,size:e.size,fillMode:e.fillMode,"aria-label":N||"Toggle dropdown",tabIndex:-1})]}),be&&j&&(0,q.jsx)($,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:j}),Me&&(0,q.jsx)(Q,{adaptive:!0,...Se,header:(0,q.jsx)(Ce,{actionsEnd:(0,q.jsx)(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:La,inputValue:h,inputPlaceholder:N,title:Pe,subtitle:Et}),children:(0,q.jsx)("div",{className:"k-list-container",children:(0,q.jsx)(K,{size:"large",children:(0,q.jsxs)(U,{"aria-label":"Options",children:[(0,q.jsx)(B,{text:"List item"}),(0,q.jsx)(B,{text:"List item"}),(0,q.jsx)(B,{text:"List item"})]})})})})]})};J.states=ap;J.options=rp;J.className=Hi;J.defaultOptions=Er;J.moduleName=_i;J.folderName=Di;J.ariaSpec={rules:[{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"role=combobox",usage:"Announces the dropdown element."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-haspopup=listbox",usage:"Indicates the presence of a listbox popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-expanded",usage:"Announces the visibility state of the popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-label",usage:"Accessible name for the dropdown."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-dropdownlist.k-disabled",attribute:"aria-disabled=true",usage:"Rendered when the dropdown is disabled."},{selector:".k-dropdownlist .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-dropdownlist .k-input-button",attribute:"tabindex=-1",usage:"The button must not be focusable."},{selector:".k-dropdownlist-popup .k-list-content, .k-dropdownlist-popup .k-list-ul",attribute:"role=listbox",usage:"Popup list has listbox role."},{selector:'.k-dropdownlist-popup .k-list-ul[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-dropdownlist-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."}]};var np=require("react/jsx-runtime");var zi=require("react/jsx-runtime");var Ar=require("react/jsx-runtime");var ip=require("react/jsx-runtime");var Ui=require("react/jsx-runtime");var Or=require("react/jsx-runtime");var sp=require("react/jsx-runtime");var Be=require("react/jsx-runtime"),lp=J.states,dp=J.defaultOptions,cp=J.options,pp=[{name:"opened",title:"Opened"}],up=[],no=e=>{let{modifiers:t,...o}=e,a={},r=(0,Be.jsxs)(Be.Fragment,{children:[(0,Be.jsx)("div",{className:"k-list-filter",children:(0,Be.jsx)(Fe,{})}),(0,Be.jsx)(K,{style:{width:300},size:o.size,children:(0,Be.jsxs)(U,{children:[(0,Be.jsx)(B,{children:"List item"}),(0,Be.jsx)(B,{children:"List item"}),(0,Be.jsx)(B,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!(t!=null&&t[s]),a.popup=t!=null&&t[s]?r:void 0)}),(0,Be.jsx)("div",{children:(0,Be.jsx)(J,{placeholder:"Value",style:{width:300},...o,...a})})};no.options=cp;no.states=lp;no.variants=up;no.defaultOptions=dp;no.modifiers=pp;no.className=J.className;var Gi=require("react/jsx-runtime");var Fi=require("react/jsx-runtime");var mp=require("react/jsx-runtime");var pa=require("react/jsx-runtime"),fp=z.states,bp=z.defaultOptions,hp=z.options,xp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Np=[],io=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t!=null&&t[r]?(0,pa.jsx)(J,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t!=null&&t[r]?(0,pa.jsx)(Da,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[r];break;case"spin-button":a.showSpinButton=t==null?void 0:t[r];break;default:break}}),(0,pa.jsx)(Mi,{value:"Value",style:{width:300},...o,...a})};io.options=hp;io.states=fp;io.variants=Np;io.defaultOptions=bp;io.modifiers=xp;io.className=z.className;var g=require("react/jsx-runtime"),Vi="k-colorgradient-inputs",kp=[],vp={size:[d.undefined,d.small,d.medium,d.large]},$i={mode:"rgba"},so=e=>{let{mode:t=$i.mode,size:o,...a}=e;return(0,g.jsxs)("div",{...a,className:n(Vi,"k-hstack"),children:[(0,g.jsx)("div",{className:"k-vstack",children:(0,g.jsx)(l,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,g.jsx)(g.Fragment,{children:(0,g.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,g.jsx)(le,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};so.states=kp;so.options=vp;so.className=Vi;so.defaultOptions=$i;var Ne=require("react/jsx-runtime"),Xi="k-colorgradient-color-contrast",gp=[],Lp={},Mp={},lo=()=>(0,Ne.jsxs)("div",{className:n(Xi,"k-vbox"),children:[(0,Ne.jsxs)("div",{className:"k-contrast-ratio",children:[(0,Ne.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,Ne.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,Ne.jsx)(M,{icon:"check"}),(0,Ne.jsx)(M,{icon:"check"})]})]}),(0,Ne.jsxs)("div",{children:[(0,Ne.jsx)("span",{children:"AA: 4.5"}),(0,Ne.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,Ne.jsx)(M,{icon:"check"})]})]}),(0,Ne.jsxs)("div",{children:[(0,Ne.jsx)("span",{children:"AAA: 7.0"}),(0,Ne.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,Ne.jsx)(M,{icon:"x"})]})]})]});lo.states=gp;lo.options=Lp;lo.className=Xi;lo.defaultOptions=Mp;var qi="color-gradient",Ji="colorgradient";var re=require("react/jsx-runtime"),ua="k-colorgradient",Sp=[i.hover,i.focus,i.readonly,i.disabled],Ip={size:[d.undefined,d.small,d.medium,d.large]},rt={mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},se=e=>{let{size:t,mode:o=rt.mode,readonly:a=rt.readonly,disabled:r=rt.disabled,gradientStyle:s=rt.gradientStyle,dragHandleStyle:c=rt.dragHandleStyle,alphaStyle:u=rt.alphaStyle,alphaStyleHorizontal:b=rt.alphaStyleHorizontal,contrast:h=rt.contrast,dir:N,hover:x,focus:p,hoverHandle:L,focusHandle:k,canvasOrientation:I=rt.canvasOrientation,role:O,tabIndex:S,...R}=e;return(0,re.jsxs)("div",{...R,role:O??"textbox","aria-label":O==="none"?void 0:"Color gradient",tabIndex:S??0,"aria-disabled":r?"true":void 0,className:n(e.className,ua,C(ua,{size:t}),w(ua,{hover:x,focus:p,readonly:a,disabled:r})),dir:N,children:[!I||I==="horizontal"&&(0,re.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,re.jsx)("div",{className:"k-hsv-rectangle",style:s,children:(0,re.jsx)("div",{className:"k-hsv-gradient",children:(0,re.jsx)("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),style:c,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),(0,re.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,re.jsx)(dr,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,re.jsx)(dr,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:u})]})]}),I==="vertical"&&(0,re.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,re.jsx)("div",{className:"k-hsv-rectangle",style:s,children:(0,re.jsx)("div",{className:"k-hsv-gradient",children:(0,re.jsx)("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),style:c,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),(0,re.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,re.jsx)(lr,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,re.jsx)(lr,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:b})]})]}),(0,re.jsx)(so,{mode:e.mode,size:t}),h&&(0,re.jsx)(lo,{})]})};se.states=Sp;se.options=Ip;se.className=ua;se.defaultOptions=rt;se.moduleName=qi;se.folderName=Ji;se.ariaSpec={selector:".k-colorgradient",rules:[{selector:".k-colorgradient",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a value that could be submitted."},{selector:".k-colorgradient",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorgradient",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorgradient.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorGradient is disabled."},{selector:".k-hsv-draghandle",attribute:"role=slider",usage:"The 2D draghandle must have slider role for ARIA-allowed attributes."},{selector:".k-hsv-draghandle",attribute:"aria-orientation=undefined",usage:"The implicit orientation for the slider must be removed for the 2D handle."},{selector:".k-hsv-draghandle",attribute:"aria-label",usage:"Must provide information about the purpose of the slider and the currently selected color."},{selector:".k-hsv-draghandle",attribute:"aria-valuetext",usage:"Must specify the values on both X and Y axis."},{selector:".k-hsv-draghandle",attribute:"aria-valuenow",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemin",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemax",usage:"Required by the slider role."},{selector:".k-numerictextbox>.k-input-inner",attribute:"aria-label",usage:"Must provide the name of the channel (red, green, blue, or alpha)."}]};var Wi=require("react/jsx-runtime"),ma=e=>(0,Wi.jsx)(se,{...e});var Cp=require("react/jsx-runtime");var yp=require("react/jsx-runtime");var fa=require("react/jsx-runtime"),Tp=se.options,Ep=se.states,Ap={...se.defaultOptions,variant:"rgba"},Op=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],wp=[],co=e=>{let{variant:t,...o}=e;switch(t){case"hex":return(0,fa.jsx)(ma,{...o,mode:t});case"rgb":return(0,fa.jsx)(ma,{...o,mode:t});default:return(0,fa.jsx)(ma,{...o,mode:t})}};co.options=Tp;co.states=Ep;co.variants=Op;co.defaultOptions=Ap;co.modifiers=wp;co.className=se.className;var Yi=require("react/jsx-runtime"),wr=e=>(0,Yi.jsx)("tr",{role:"row",children:e.children});var Qi=require("react/jsx-runtime"),Br="k-colorpalette-tile",Bp=[i.hover,i.focus,i.selected],Pp={},po=e=>{let{color:t,tileSize:o,hover:a,focus:r,selected:s,...c}=e,u={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,Qi.jsx)("td",{...c,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:n(e.className,Br,w(Br,{hover:a,focus:r,selected:s})),style:u})};po.states=Bp;po.options=Pp;po.className=Br;var Zi="color-palette",ji="colorpalette";var uo=require("react/jsx-runtime"),ba="k-colorpalette",Rp=[i.disabled],Kp={size:[d.undefined,d.small,d.medium,d.large]},es={columns:10},Ee=e=>{let{size:t,palette:o,columns:a=es.columns,tileSize:r,disabled:s,...c}=e,u=[];if(o){let b=a||o.columns,h=o.colors?o.colors:o;Array.isArray(h)&&Array.from({length:Math.ceil(h.length/b)},(N,x)=>{let p=[];h.slice(x*b,(x+1)*b).map((k,I)=>{p.push((0,uo.jsx)(po,{color:k,tileSize:r},I))});let L=(0,uo.jsx)(wr,{children:p},x);u.push(L)})}return(0,uo.jsx)("div",{...c,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:n(e.className,ba,w(ba,{disabled:s}),C(ba,{size:t})),children:(0,uo.jsx)("table",{className:"k-colorpalette-table",role:"none",children:(0,uo.jsx)("tbody",{children:u.length>0?u:e.children})})})};Ee.states=Rp;Ee.options=Kp;Ee.className=ba;Ee.defaultOptions=es;Ee.moduleName=Zi;Ee.folderName=ji;Ee.ariaSpec={selector:".k-colorpalette",rules:[{selector:".k-colorpalette",attribute:"role=grid",usage:"The focusable wrapper announces its role as a grid."},{selector:".k-colorpalette",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpalette",attribute:"aria-activedescendant",usage:"Points to the focused cell in the table."},{selector:".k-colorpalette",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpalette.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorPalette is disabled."},{selector:".k-colorpalette-table",attribute:"role=none or role=presentation",usage:"Negates the default role of the table element."},{selector:".k-colorpalette-table>tbody>tr",attribute:"role=row",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"role=gridcell",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"aria-label or title",usage:"The text representation of the color value for the current cell."},{selector:".k-colorpalette-tile.k-selected",attribute:"aria-selected=true",usage:"Present on the currently selected cell."}]};var ha=Ee;var Xo={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};var os=require("react/jsx-runtime"),ts=e=>(0,os.jsx)(ha,{palette:Xo.basic,...e});var _p=require("react/jsx-runtime");var as=require("react/jsx-runtime");var rs=require("react/jsx-runtime"),Dp=Ee.options,Hp=Ee.states,zp={...Ee.defaultOptions,variant:"basic"},Up=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],Gp={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}},Fp=[],mo=e=>{let{variant:t="basic",...o}=e,a=Gp[t];return(0,rs.jsx)(ts,{columns:a.columns,palette:a,...o})};mo.options=Dp;mo.states=Hp;mo.variants=Up;mo.defaultOptions=zp;mo.modifiers=Fp;mo.className=Ee.className;var ns="color-editor",is="coloreditor";var te=require("react/jsx-runtime"),xa="k-coloreditor",Vp=[i.focus],$p={size:[d.undefined,d.small,d.medium,d.large]},qo={view:"gradient",palette:Xo.office,actionButtons:!0,canvasOrientation:"horizontal"},Z=e=>{let{size:t,view:o=qo.view,palette:a=qo.palette,color:r,currentColor:s,focus:c,focusView:u,dir:b,group:h,actionButtons:N=qo.actionButtons,canvasOrientation:x=qo.canvasOrientation,...p}=e;return(0,te.jsxs)("div",{...p,role:"textbox","aria-label":"Color editor",tabIndex:0,className:n(e.className,"k-flatcolorpicker",xa,C(xa,{size:t}),w(xa,{focus:c})),dir:b,children:[(0,te.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,te.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:h&&(0,te.jsxs)(y,{fillMode:"flat",children:[(0,te.jsx)(l,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),(0,te.jsx)(l,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),(0,te.jsx)("div",{className:"k-spacer"}),(0,te.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,te.jsx)(l,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),(0,te.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,te.jsx)(vt,{className:"k-coloreditor-preview-color",color:r}),(0,te.jsx)(vt,{className:"k-coloreditor-current-color",color:s})]})]})]}),(0,te.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,te.jsx)(se,{focus:u,size:t,canvasOrientation:x,role:"none",tabIndex:-1}):(0,te.jsx)(Ee,{palette:a,size:t})}),N&&(0,te.jsxs)(ot,{className:"k-coloreditor-footer",alignment:"start",children:[(0,te.jsx)(l,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,te.jsx)(l,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};Z.states=Vp;Z.options=$p;Z.className=xa;Z.defaultOptions=qo;Z.moduleName=ns;Z.folderName=is;Z.ariaSpec={selector:".k-flatcolorpicker",rules:[{selector:".k-flatcolorpicker",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a submittable value."},{selector:".k-flatcolorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-flatcolorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-flatcolorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the FlatColorPicker is disabled."},{selector:".k-colorgradient",attribute:"role=none",usage:"The inner ColorGradient must have its role removed."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var fo=Z;var Xp=require("react/jsx-runtime");var qp=require("react/jsx-runtime");var ls=require("react/jsx-runtime"),ss=e=>(0,ls.jsx)(fo,{group:!0,currentColor:"fuchsia",...e});var cs=require("react/jsx-runtime"),ds=e=>(0,cs.jsx)(fo,{view:"palette",group:!0,currentColor:"fuchsia",...e});var Pr=require("react/jsx-runtime"),Jp=Z.options,Wp=Z.states,Yp={...Z.defaultOptions,variant:"gradient"},Qp=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Zp=[],bo=e=>{let{variant:t,...o}=e;return t==="palette"?(0,Pr.jsx)(ds,{...o,color:"white"}):(0,Pr.jsx)(ss,{...o,color:"rgba(183, 118 , 118, 1.00)"})};bo.options=Jp;bo.states=Wp;bo.variants=Qp;bo.defaultOptions=Yp;bo.modifiers=Zp;bo.className=Z.className;var ps="color-picker",us="colorpicker";var ne=require("react/jsx-runtime"),ms="k-colorpicker",jp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],eu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},fs={arrowIconName:"chevron-down"},ke=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:r=fs.arrowIconName,prefix:s,suffix:c,value:u,placeholder:b,hover:h,focus:N,valid:x,invalid:p,required:L,disabled:k,valueIconName:I,popup:O,opened:S,adaptive:R,adaptiveSettings:j,adaptiveTitle:be,adaptiveSubtitle:Me,...Se}=e,Pe="colorpicker-popup";return(0,ne.jsxs)(ne.Fragment,{children:[(0,ne.jsxs)(et,{...Se,size:t,rounded:o,fillMode:a,hover:h,focus:N,valid:x,invalid:p,required:L,disabled:k,role:"combobox","aria-haspopup":"dialog","aria-expanded":S?"true":"false","aria-controls":S||R?Pe:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":k?"true":void 0,className:n(e.className,ms,"k-icon-picker"),children:[(0,ne.jsx)(ze,{children:s}),(0,ne.jsx)(Ot,{placeholder:b,value:u,showValue:!1,valueIcon:(0,ne.jsx)(vt,{className:"k-value-icon",color:u,iconName:I}),valueIconName:I}),(0,ne.jsx)(Ue,{children:c}),(0,ne.jsx)(l,{className:"k-input-button",icon:r,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:k})]}),S&&O&&(0,ne.jsx)($,{id:Pe,className:"k-colorpicker-popup",children:O}),R&&(0,ne.jsx)(Q,{adaptive:!0,id:Pe,...j,header:(0,ne.jsx)(Ce,{actionsEnd:(0,ne.jsx)(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:be,subtitle:Me}),footer:(0,ne.jsxs)(gt,{children:[(0,ne.jsx)(l,{text:"Cancel",size:"large"}),(0,ne.jsx)(l,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,ne.jsx)(Z,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};ke.states=jp;ke.options=eu;ke.className=ms;ke.defaultOptions=fs;ke.moduleName=ps;ke.folderName=us;ke.ariaSpec={selector:".k-colorpicker",rules:[{selector:".k-colorpicker",attribute:"role=combobox",usage:"The focusable element should have role combobox (input with popup)."},{selector:".k-colorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpicker",attribute:"aria-haspopup=dialog",usage:"Indicates the component has a Dialog Popup."},{selector:".k-colorpicker",attribute:"aria-expanded=true/false",usage:"Announces the visibility state of the popup."},{selector:".k-colorpicker",attribute:"aria-controls (when open)",usage:"Points to the popup element."},{selector:".k-colorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorpicker.k-disabled .k-button",attribute:"disabled or aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var ct=ke;var Rr="menu-button",bs=Rr;var xs=require("react/jsx-runtime"),hs="k-menu-button",tu=[i.hover,i.focus,i.active,i.selected,i.disabled],ou={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},Kr={showArrow:!0,arrowIconName:"chevron-down"},_=e=>{let{size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:c,active:u,selected:b,disabled:h,icon:N,text:x,showArrow:p=Kr.showArrow,arrowIconName:L=Kr.arrowIconName,expanded:k,...I}=e;return(0,xs.jsx)(l,{...I,className:n(e.className,hs),text:x,size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:c,active:u,selected:b,disabled:h,icon:N,showArrow:p,arrowIconName:L,"aria-expanded":k?"true":"false",...!x&&N&&!e["aria-label"]&&{"aria-label":"Menu"},...h&&{"aria-disabled":"true"}})};_.states=tu;_.options=ou;_.className=hs;_.defaultOptions=Kr;_.moduleName=Rr;_.folderName=bs;_.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 De="menu",qe=De;var pt=require("react/jsx-runtime"),_r="k-menu-item",au=[i.hover,i.focus,i.active,i.selected,i.disabled],ru={},Ns={iconPosition:"before"},V=e=>{let{hover:t,focus:o,active:a,selected:r,disabled:s,icon:c,text:u,first:b,last:h,showArrow:N,arrowIconName:x,iconPosition:p=Ns.iconPosition,dir:L,children:k,expanded:I,...O}=e,S=x;return S||(S=L==="rtl"?"chevron-left":"chevron-right"),(0,pt.jsxs)("li",{...O,className:n(e.className,_r,"k-item",w(_r,{focus:o,disabled:s,hover:t,active:a,selected:r}),{"k-first":b,"k-last":h}),role:"menuitem",...N&&{"aria-haspopup":"menu"},...N&&{"aria-expanded":I?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,pt.jsxs)("span",{className:n("k-link k-menu-link"),children:[c&&p==="before"&&(0,pt.jsx)(M,{className:"k-menu-link-icon",icon:c}),(0,pt.jsx)("span",{className:"k-menu-link-text",children:u}),c&&p==="after"&&(0,pt.jsx)(M,{className:"k-menu-link-icon",icon:c}),N&&(0,pt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,pt.jsx)(M,{icon:S})})]}),k]})};V.states=au;V.options=ru;V.className=_r;V.defaultOptions=Ns;V.moduleName=De;V.folderName=qe;var ut=require("react/jsx-runtime"),Dr="k-menu-item",nu=[i.hover,i.focus,i.active,i.selected,i.disabled],iu={},Hr={dir:"ltr",iconPosition:"before"},W=e=>{let{hover:t,focus:o,active:a,selected:r,disabled:s,icon:c,text:u,first:b,last:h,showArrow:N,arrowIconName:x,iconPosition:p=Hr.iconPosition,dir:L=Hr.dir,children:k,popup:I,expanded:O,...S}=e,R=x;return R||(R=L==="rtl"?"chevron-left":"chevron-right"),(0,ut.jsxs)("li",{...S,className:n(e.className,Dr,"k-item",w(Dr,{focus:o,disabled:s}),{"k-first":b,"k-last":h}),role:"menuitem",...N&&{"aria-haspopup":"menu"},...N&&{"aria-expanded":O?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,ut.jsxs)("span",{className:n("k-link k-menu-link",w("k-menu-link",{hover:t,active:a,selected:r,disabled:s})),children:[c&&p==="before"&&(0,ut.jsx)(M,{className:"k-menu-link-icon",icon:c}),(0,ut.jsx)("span",{className:"k-menu-link-text",children:u}),c&&p==="after"&&(0,ut.jsx)(M,{className:"k-menu-link-icon",icon:c}),N&&(0,ut.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,ut.jsx)(M,{icon:R})})]}),k,I]})};W.states=nu;W.options=iu;W.className=Dr;W.defaultOptions=Hr;W.moduleName=De;W.folderName=qe;var gs=require("react/jsx-runtime"),ks="k-menu-scroll-wrapper",su=[],lu={},du={},Dt=e=>{let{className:t,children:o,orientation:a,...r}=e;return(0,gs.jsx)("div",{...r,className:n(t,ks,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};Dt.states=su;Dt.options=lu;Dt.className=ks;Dt.defaultOptions=du;Dt.moduleName=De;Dt.folderName=qe;var vs=Dt;var ue=require("react/jsx-runtime"),zr="k-menu",cu=[],pu={},Na={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},oe=e=>{let{children:t,orientation:o=Na.orientation,header:a=Na.header,scrollable:r,scrollButtonsPosition:s=Na.scrollButtonsPosition,wrapperStyles:c,dir:u,popup:b,contextMenu:h,...N}=e,x={horizontal:{prev:u!=="rtl"?"left":"right",next:u!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},p=(0,ue.jsx)("ul",{dir:u,...N,className:n(e.className,"k-reset",zr,{[`${zr}-${o}`]:o,"k-header":a}),role:h?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return(0,ue.jsxs)(ue.Fragment,{children:[r?(0,ue.jsxs)(vs,{orientation:o,style:c,dir:e.dir,children:[s==="start"&&(0,ue.jsxs)(ue.Fragment,{children:[(0,ue.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,ue.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&(0,ue.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),p,s==="end"&&(0,ue.jsxs)(ue.Fragment,{children:[(0,ue.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,ue.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&(0,ue.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):p,b]})};oe.states=cu;oe.options=pu;oe.className=zr;oe.defaultOptions=Na;oe.moduleName=De;oe.folderName=qe;oe.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 Ms=require("react/jsx-runtime"),Ur="k-separator",Ls={orientation:"horizontal"},ho=e=>{let{orientation:t=Ls.orientation,...o}=e;return(0,Ms.jsx)("li",{...o,className:n(e.className,"k-item",Ur,{[`${Ur}-${t}`]:t}),role:"separator"})};ho.className=Ur;ho.defaultOptions=Ls;ho.moduleName=De;ho.folderName=qe;var Ss=require("react/jsx-runtime");var Is=require("react/jsx-runtime"),Gr="k-menu-group",uu=[],mu={size:[d.undefined,d.small,d.medium,d.large]},fu={},ve=e=>{let{children:t,size:o,...a}=e;return(0,Is.jsx)("ul",{...a,className:n(e.className,Gr,C(Gr,{size:o})),role:"menu",children:t})};ve.states=uu;ve.options=mu;ve.className=Gr;ve.defaultOptions=fu;ve.moduleName=De;ve.folderName=qe;var Ze=require("react/jsx-runtime"),Fr=e=>(0,Ze.jsx)(oe,{children:(0,Ze.jsxs)(Ze.Fragment,{children:[(0,Ze.jsx)(V,{first:!0,text:"Item 1"}),(0,Ze.jsx)(V,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),(0,Ze.jsx)(V,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),(0,Ze.jsx)(V,{text:"Item 4"}),(0,Ze.jsx)(V,{last:!0,text:"Item 5"})]}),...e});var Vr=require("react/jsx-runtime");var $r=require("react/jsx-runtime");var Xr=require("react/jsx-runtime");var qr=require("react/jsx-runtime");var nt=require("react/jsx-runtime"),bu=oe.options,hu=oe.states,Cs={...oe.defaultOptions,variant:"horizontal"},xu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Nu=[{name:"scrollable",title:"Scrollable"},{name:"opened",title:"Opened"}],xo=e=>{let{variant:t,modifiers:o,...a}={...Cs,...e},r={};return Object.keys(o||{}).forEach(s=>{switch(s){case"scrollable":r.scrollable=!!(o!=null&&o[s]);break;case"opened":r.opened=!!(o!=null&&o[s]),r.popup=(0,nt.jsx)($,{className:"k-menu-popup",children:(0,nt.jsxs)(ve,{children:[(0,nt.jsx)(W,{text:"Item 1"}),(0,nt.jsx)(W,{text:"Item 2"}),(0,nt.jsx)(ho,{}),(0,nt.jsx)(W,{text:"Item 3"})]})});break}}),t==="vertical"?(0,nt.jsx)(Fr,{...a,...r,orientation:"vertical",style:{width:"200px"}}):(0,nt.jsx)(Fr,{...a,...r})};xo.options=bu;xo.states=hu;xo.variants=xu;xo.defaultOptions=Cs;xo.modifiers=Nu;xo.className=oe.className;var Ts=require("react/jsx-runtime"),ys="k-spreadsheet-menu",ku=[],vu={},gu={},No=e=>{let{children:t,...o}=e;return(0,Ts.jsx)(oe,{...o,className:n(e.className,ys),children:t})};No.states=ku;No.options=vu;No.className=ys;No.defaultOptions=gu;var Es=require("react/jsx-runtime"),ka=e=>(0,Es.jsx)(ct,{...e});var Lu=require("react/jsx-runtime");var Mu=require("react/jsx-runtime");var Su=require("react/jsx-runtime");var Iu=require("react/jsx-runtime");var Cu=require("react/jsx-runtime");var yu=require("react/jsx-runtime");var yt=require("react/jsx-runtime"),Tu=ct.options,Eu=ct.states,As={...ct.defaultOptions,variant:"color"},Au=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Ou=[{name:"opened",title:"Opened"}],ko=e=>{let{variant:t,modifiers:o,...a}={...As,...e},r={};Object.keys(o||{}).forEach(c=>{c==="opened"&&(r.opened=!!(o!=null&&o[c]),r.popup=o!=null&&o[c]?(0,yt.jsx)(Z,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let s=r.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return(0,yt.jsx)("div",{style:s,children:(0,yt.jsx)(ka,{...a,...r})});case"icon":return(0,yt.jsx)("div",{style:s,children:(0,yt.jsx)(ka,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...r})});default:return(0,yt.jsx)("div",{style:s,children:(0,yt.jsx)(ka,{value:"rgba(183, 118 , 118, 1.00)",...a,...r})})}};ko.options=Tu;ko.states=Eu;ko.variants=Au;ko.defaultOptions=As;ko.modifiers=Ou;ko.className=ct.className;var Jr="combobox",Os=Jr;var D=require("react/jsx-runtime"),ws="k-combobox",wu=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Bu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Bs={separators:!0},ge=e=>{let{size:t,rounded:o,fillMode:a,separators:r=Bs.separators,prefix:s,suffix:c,value:u,placeholder:b,hover:h,focus:N,valid:x,invalid:p,required:L,loading:k,disabled:I,popup:O,opened:S,readonly:R,adaptive:j,adaptiveSettings:be,adaptiveTitle:Me,adaptiveSubtitle:Se,adaptiveCustomValue:Pe,id:Et,autocomplete:La,activeDescendant:Nt,"aria-label":Jo,...Ma}=e,Sa=Et?`${Et}-listbox`:void 0;return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsxs)(ee,{...Ma,size:t,rounded:o,fillMode:a,hover:h,focus:N,valid:x,invalid:p,required:L,loading:k,disabled:I,readonly:R,className:n(e.className,ws),children:[s&&(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(ze,{children:s}),r&&(0,D.jsx)(Ge,{})]}),(0,D.jsx)(Ke,{id:Et,placeholder:b,value:u,role:"combobox","aria-haspopup":"listbox","aria-expanded":S?"true":"false","aria-controls":S?Sa:void 0,"aria-activedescendant":S&&Nt?Nt:void 0,"aria-autocomplete":La,"aria-invalid":p?"true":void 0,"aria-busy":k?"true":void 0,"aria-label":Jo,disabled:I,readOnly:R}),(0,D.jsx)(Ie,{valid:x,invalid:p,loading:k,disabled:I}),(0,D.jsx)(Ae,{loading:k,disabled:I}),(0,D.jsx)(Re,{loading:k,disabled:I,readonly:R,value:u}),c&&(0,D.jsxs)(D.Fragment,{children:[r&&(0,D.jsx)(Ge,{}),(0,D.jsx)(Ue,{children:c})]}),(0,D.jsx)(l,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:I})]}),S&&O&&(0,D.jsx)($,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:O}),j&&(0,D.jsx)(Q,{adaptive:!0,id:Et?`${Et}-adaptive`:void 0,...be,header:(0,D.jsx)(Ce,{actionsEnd:(0,D.jsx)(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:u,inputPlaceholder:b,title:Me,subtitle:Se}),children:(0,D.jsx)("div",{className:"k-list-container",children:(0,D.jsx)(K,{customValue:Pe?(0,D.jsx)(Ct,{text:`Use "${u}"`}):void 0,size:"large",children:(0,D.jsxs)(U,{"aria-label":Me||"Options",children:[(0,D.jsx)(B,{text:"List item"}),(0,D.jsx)(B,{text:"List item"}),(0,D.jsx)(B,{text:"List item"})]})})})})]})};ge.states=wu;ge.options=Bu;ge.className=ws;ge.defaultOptions=Bs;ge.moduleName=Jr;ge.folderName=Os;ge.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 He=ge;var Rs=require("react/jsx-runtime"),Ps=e=>(0,Rs.jsx)(He,{...e});var Ks=require("react/jsx-runtime");var _s=require("react/jsx-runtime");var Ds=require("react/jsx-runtime");var Hs=require("react/jsx-runtime");var zs=require("react/jsx-runtime");var Us=require("react/jsx-runtime");var Wr=require("react/jsx-runtime");var Pu=require("react/jsx-runtime");var Ru=require("react/jsx-runtime");var Gs=require("react/jsx-runtime");var Fs=require("react/jsx-runtime");var je=require("react/jsx-runtime"),Ku=ge.states,_u=ge.defaultOptions,Du=ge.options,Hu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],zu=[],vo=e=>{let{modifiers:t,...o}=e,a={},r=(0,je.jsx)(K,{style:{width:300},size:o.size,children:(0,je.jsxs)(U,{children:[(0,je.jsx)(B,{children:"List item"}),(0,je.jsx)(B,{children:"List item"}),(0,je.jsx)(B,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t!=null&&t[s]?(0,je.jsx)(M,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t!=null&&t[s]?(0,je.jsx)(kt,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!(t!=null&&t[s]),a.popup=t!=null&&t[s]?r:void 0;break;default:break}}),(0,je.jsx)("div",{children:(0,je.jsx)(Ps,{value:"Value",style:{width:300},...o,...a})})};vo.options=Du;vo.states=Ku;vo.variants=zu;vo.defaultOptions=_u;vo.modifiers=Hu;vo.className=ge.className;var Uu=require("react/jsx-runtime");var Gu=require("react/jsx-runtime");var Fu=require("react/jsx-runtime");var Yr=require("react/jsx-runtime");var Vu=require("react/jsx-runtime");var Le=require("react/jsx-runtime"),$u=l.states,Vs={...l.defaultOptions,variant:"text"},Xu=l.options,qu=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ju=[{name:"opened",title:"Opened"}],go=e=>{let{variant:t,modifiers:o,...a}={...Vs,...e},r={},s=(0,Le.jsx)($,{className:"k-menu-popup",children:(0,Le.jsxs)(ve,{size:a.size,children:[(0,Le.jsx)(W,{first:!0,text:"Menu Item"}),(0,Le.jsx)(W,{text:"Menu Item"}),(0,Le.jsx)(W,{last:!0,text:"Menu Item"})]})}),c;switch(t){case"icon-only":c=(0,Le.jsx)("div",{children:(0,Le.jsx)(_,{...a,...r,icon:"star"})});break;case"icon-and-text":c=(0,Le.jsx)("div",{children:(0,Le.jsx)(_,{...a,...r,icon:"star",children:"Dropdown Button"})});break;default:c=(0,Le.jsx)("div",{children:(0,Le.jsx)(_,{...a,...r,children:"Dropdown Button"})});break}return(0,Le.jsxs)(Le.Fragment,{children:[c,(o==null?void 0:o.opened)&&s]})};go.options=Xu;go.states=$u;go.variants=qu;go.defaultOptions=Vs;go.modifiers=Ju;go.className=_.className;var Qr="split-button",$s=Qr;var mt=require("react/jsx-runtime"),Zr="k-split-button",Wu=[i.hover,i.focus,i.active,i.selected,i.disabled],Yu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},Xs={arrowIconName:"chevron-down"},P=e=>{let{size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:c,active:u,selected:b,disabled:h,icon:N,text:x,arrowIconName:p=Xs.arrowIconName,popup:L,opened:k,popupId:I,...O}=e;return(0,mt.jsxs)(mt.Fragment,{children:[(0,mt.jsxs)("div",{...O,className:n(e.className,Zr,"k-button-group",C(Zr,{rounded:o})),children:[(0,mt.jsx)(l,{text:x,icon:N,size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:c,active:u,selected:b,disabled:h,...!x&&!e.children&&N&&{"aria-label":"Action"},children:e.children}),(0,mt.jsx)(l,{className:"k-split-button-arrow",icon:p,size:t,rounded:o,fillMode:a,disabled:h,"aria-label":"Toggle dropdown","aria-expanded":k?"true":"false","aria-controls":k?I:void 0,tabIndex:-1,...h&&{"aria-disabled":"true"}})]}),k&&L&&(0,mt.jsx)($,{className:"k-menu-popup",children:L})]})};P.states=Wu;P.options=Yu;P.className=Zr;P.defaultOptions=Xs;P.moduleName=Qr;P.folderName=$s;P.ariaSpec={selector:".k-split-button",rules:[{selector:".k-split-button-arrow",attribute:"role=button or nodeName=button",usage:"Omitted if the <button> DOM element is used."},{selector:".k-split-button-arrow",attribute:"aria-label",usage:"The attribute must be present when no text is initially visible in the button."},{selector:".k-split-button-arrow",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-split-button-arrow",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-split-button-arrow",attribute:"tabindex=-1",usage:"The arrow button is removed from the tab sequence."},{selector:".k-split-button-arrow.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 jr=P;var qs=require("react/jsx-runtime"),Qu="k-toolbar-separator",ae=e=>(0,qs.jsx)("div",{className:n(Qu,e.className,"k-separator")});var ft="toolbar",Tt=ft;var E=require("react/jsx-runtime"),bt="k-toolbar",Zu=[i.focus],ju={size:[d.undefined,d.small,d.medium,d.large],fillMode:[m.undefined,m.solid,m.outline,m.flat]},em={scrollButtons:"around"},G=e=>{let{size:t,fillMode:o,focus:a,resizable:r,scrollable:s,scrollButtons:c,scrollingPosition:u,section:b,...h}=e,N=[],x=(p,L)=>{let k=[];if(p.type===l&&p.props.className&&p.props.className.includes("k-toolbar-overflow-button"))k.push((0,E.jsx)(l,{...p.props,className:`${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===l)k.push((0,E.jsx)(l,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===Do)k.push((0,E.jsx)(Do,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===kt)k.push((0,E.jsx)(kt,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===_)k.push((0,E.jsx)(_,{...p.props,className:`k-toolbar-menu-button ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===jr)k.push((0,E.jsx)(jr,{...p.props,className:`k-toolbar-split-button ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===y||p.props.className&&p.props.className.includes("k-button-group")){let I=[];(Array.isArray(p.props.children)?p.props.children:[p.props.children]).forEach((S,R)=>{I.push((0,E.jsx)(l,{...S.props,className:`${S.props.className?S.props.className:""}`},`${R}-${new Date().getTime()}`))}),k.push((0,E.jsx)(y,{...p.props,className:`k-toolbar-button-group ${p.props.className?p.props.className:""}`,children:I},`${L}-${new Date().getTime()}`))}else p.type===ge?k.push((0,E.jsx)(ge,{...p.props,className:`k-toolbar-combobox ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`)):p.type===J?k.push((0,E.jsx)(J,{...p.props,className:`k-toolbar-dropdownlist ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`)):p.type===ke?k.push((0,E.jsx)(ke,{...p.props,className:`k-toolbar-colorpicker ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`)):k.push(p);k.forEach(I=>{N.push(I)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((L,k)=>{x(L,k)}),(0,E.jsxs)("div",{...h,className:n(e.className,bt,C(bt,{size:t,fillMode:o}),w(bt,{focus:a}),{[`${bt}-resizable`]:r,[`${bt}-scrollable`]:s,[`${bt}-scrollable-overlay`]:s&&c==="hidden",[`${bt}-scrollable-${u}`]:u&&u!=="both",[`${bt}-section`]:b}),role:"toolbar","aria-label":"Toolbar",children:[!s&&N,s&&c==="hidden"&&(0,E.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),s&&c==="start"&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsxs)(y,{children:[(0,E.jsx)("span",{className:n("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,E.jsx)(M,{className:"k-button-icon",icon:"chevron-left"})}),(0,E.jsx)("span",{className:n("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,E.jsx)(M,{className:"k-button-icon",icon:"chevron-right"})})]}),(0,E.jsx)(ae,{className:"k-toolbar-button-separator"}),(0,E.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N})]}),s&&c==="end"&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),(0,E.jsx)(ae,{className:"k-toolbar-button-separator"}),(0,E.jsxs)(y,{children:[(0,E.jsx)("span",{className:n("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,E.jsx)(M,{className:"k-button-icon",icon:"chevron-left"})}),(0,E.jsx)("span",{className:n("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,E.jsx)(M,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(c==="around"||!c)&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)("span",{className:n("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,E.jsx)(M,{className:"k-button-icon",icon:"chevron-left"})}),(0,E.jsx)(ae,{className:"k-toolbar-button-separator"}),(0,E.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),(0,E.jsx)(ae,{className:"k-toolbar-button-separator"}),(0,E.jsx)("span",{className:n("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,E.jsx)(M,{className:"k-button-icon",icon:"chevron-right"})})]})]})};G.states=Zu;G.options=ju;G.className=bt;G.defaultOptions=em;G.moduleName=ft;G.folderName=Tt;G.ariaSpec={selector:".k-toolbar",rules:[{selector:".k-toolbar",attribute:"role=toolbar",usage:"The component role."},{selector:".k-toolbar",attribute:"aria-label or aria-labelledby",usage:"Must be supplied when multiple toolbars exist."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-haspopup=menu",usage:"The overflow button opens a menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-expanded=true/false",usage:"Announces popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-controls=.k-toolbar-popup .k-menu-group id (when present)",usage:"Indicates the connection between the toggle button and the menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:".k-toolbar-popup .k-menu-group",attribute:"role=menu",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-menu-group",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the menu toggle button."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-expanded=true/false",usage:"Announces section popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-controls=.k-toolbar-popup .k-toolbar-items-list id (when present)",usage:"Indicates the connection between the toggle button and the section popup."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"role=toolbar",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the section toggle button."}]};var Ws=require("react/jsx-runtime"),Js="k-floating-toolbar",tm=[],om={},am={},Lo=e=>{let{...t}=e;return(0,Ws.jsx)("div",{...t,className:n(e.className,Js),children:e.children})};Lo.states=tm;Lo.options=om;Lo.className=Js;Lo.defaultOptions=am;Lo.moduleName=ft;Lo.folderName=Tt;var Ys=require("react/jsx-runtime"),en="k-toolbar-item",rm=[i.focus],nm={},im={},ht=e=>{let{focus:t,...o}=e;return(0,Ys.jsx)("div",{...o,className:n(e.className,en,w(en,{focus:t})),children:e.children})};ht.states=rm;ht.options=nm;ht.className=en;ht.defaultOptions=im;ht.moduleName=ft;ht.folderName=Tt;var tn=require("react/jsx-runtime"),Qs="k-toolbar-popup",sm=[],lm={size:[d.undefined,d.small,d.medium,d.large],fillMode:[m.undefined,m.solid,m.outline,m.flat]},dm={},Ht=e=>{let{size:t,fillMode:o,section:a,...r}=e;return(0,tn.jsx)($,{...r,className:n(e.className,Qs),children:a?(0,tn.jsx)("span",{className:n("k-toolbar-items-list",C("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Ht.states=sm;Ht.options=lm;Ht.className=Qs;Ht.defaultOptions=dm;Ht.moduleName=ft;Ht.folderName=Tt;var ga=Ht;var cm=require("react/jsx-runtime");var pm=require("react/jsx-runtime");var um=require("react/jsx-runtime");var Zs=require("react/jsx-runtime");var mm=require("react/jsx-runtime");var Je=require("react/jsx-runtime"),fm=P.states,js={...P.defaultOptions,variant:"text"},bm=P.options,hm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],xm=[{name:"opened",title:"Opened"}],Mo=e=>{let{variant:t,modifiers:o,...a}={...js,...e},r={},s=(0,Je.jsxs)(ve,{size:a.size,children:[(0,Je.jsx)(W,{first:!0,text:"Menu Item"}),(0,Je.jsx)(W,{text:"Menu Item"}),(0,Je.jsx)(W,{last:!0,text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(c=>{c==="opened"&&(r.opened=!!(o!=null&&o[c]),r.popup=o!=null&&o[c]?s:"")}),t){case"icon-only":return(0,Je.jsx)("div",{children:(0,Je.jsx)(P,{...a,...r,icon:"star"})});case"icon-and-text":return(0,Je.jsx)("div",{children:(0,Je.jsx)(P,{...a,...r,icon:"star",children:"Split Button"})});default:return(0,Je.jsx)("div",{children:(0,Je.jsx)(P,{...a,...r,children:"Split Button"})})}};Mo.options=bm;Mo.states=fm;Mo.variants=hm;Mo.defaultOptions=js;Mo.modifiers=xm;Mo.className=P.className;var it=require("react/jsx-runtime"),el=e=>(0,it.jsx)(G,{children:[(0,it.jsx)(l,{children:"Button"},"toolbar-button"),(0,it.jsx)(_,{text:"Menu button"},"toolbar-menu-button"),(0,it.jsx)(P,{children:"Split button"},"toolbar-split-button"),(0,it.jsxs)(y,{children:[(0,it.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,it.jsx)(l,{icon:"align-center",children:"Center"}),(0,it.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var tl=require("react/jsx-runtime");var me=require("react/jsx-runtime"),ol=e=>(0,me.jsx)(G,{scrollable:!0,...e,children:[(0,me.jsx)(l,{children:"Button"},"toolbar-button"),(0,me.jsx)(_,{text:"Menu button"},"toolbar-menu-button"),(0,me.jsx)(P,{children:"Split button"},"toolbar-split-button"),(0,me.jsxs)(y,{children:[(0,me.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,me.jsx)(l,{icon:"align-center",children:"Center"}),(0,me.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,me.jsx)(l,{children:"Button"},"toolbar-button"),(0,me.jsx)(_,{text:"Menu button"},"toolbar-menu-button"),(0,me.jsx)(P,{children:"Split button"},"toolbar-split-button"),(0,me.jsxs)(y,{children:[(0,me.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,me.jsx)(l,{icon:"align-center",children:"Center"}),(0,me.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var fe=require("react/jsx-runtime"),al=({scrollingPosition:e="start",...t})=>(0,fe.jsx)(G,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[(0,fe.jsx)(l,{children:"Button"},"toolbar-button"),(0,fe.jsx)(_,{text:"Menu button"},"toolbar-menu-button"),(0,fe.jsx)(P,{children:"Split button"},"toolbar-split-button"),(0,fe.jsxs)(y,{children:[(0,fe.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,fe.jsx)(l,{icon:"align-center",children:"Center"}),(0,fe.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,fe.jsx)(l,{children:"Button"},"toolbar-button"),(0,fe.jsx)(_,{text:"Menu button"},"toolbar-menu-button"),(0,fe.jsx)(P,{children:"Split button"},"toolbar-split-button"),(0,fe.jsxs)(y,{children:[(0,fe.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,fe.jsx)(l,{icon:"align-center",children:"Center"}),(0,fe.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});var Y=require("react/jsx-runtime"),rl=({fillMode:e,size:t,...o})=>(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(G,{section:!0,fillMode:e,size:t,children:[(0,Y.jsx)(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,Y.jsxs)(y,{fillMode:e,children:[(0,Y.jsx)(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,Y.jsx)(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,Y.jsx)(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),(0,Y.jsx)(ae,{className:"k-toolbar-button-separator"}),(0,Y.jsx)(l,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),(0,Y.jsxs)(ga,{size:t,fillMode:e,section:!0,...o,children:[(0,Y.jsx)(P,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),(0,Y.jsx)(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,Y.jsx)(ae,{}),(0,Y.jsx)(_,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),(0,Y.jsxs)(y,{fillMode:e,children:[(0,Y.jsx)(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,Y.jsx)(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,Y.jsx)(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});var on=require("react/jsx-runtime");var an=require("react/jsx-runtime");var xt=require("react/jsx-runtime"),Nm=G.options,km=G.states,nl={...G.defaultOptions,variant:"default"},vm=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],gm=[],So=e=>{let{variant:t,...o}={...nl,...e};switch(t){case"responsive":return(0,xt.jsx)("div",{children:(0,xt.jsx)(rl,{style:{width:"583px"},...o})});case"overlay":return(0,xt.jsx)("div",{children:(0,xt.jsx)(al,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return(0,xt.jsx)("div",{children:(0,xt.jsx)(ol,{style:{width:"583px"},...o})});default:return(0,xt.jsx)("div",{children:(0,xt.jsx)(el,{style:{width:"583px"},...o})})}};So.options=Nm;So.states=km;So.variants=vm;So.defaultOptions=nl;So.modifiers=gm;So.className=G.className;var sl=require("react/jsx-runtime"),il="k-spreadsheet-toolbar",Lm=[],Mm={},Sm={},Io=e=>{let{children:t,...o}=e;return(0,sl.jsx)(G,{...o,resizable:!0,className:n(e.className,il),fillMode:"flat","aria-label":o["aria-label"]||"Spreadsheet toolbar",children:t})};Io.states=Lm;Io.options=Mm;Io.className=il;Io.defaultOptions=Sm;var A=require("react/jsx-runtime"),nn="k-spreadsheet-header",Im=[],Cm={},ym=[(0,A.jsx)(l,{icon:"arrow-rotate-ccw",fillMode:"flat","aria-label":"Undo"},"undo"),(0,A.jsx)(l,{icon:"arrow-rotate-cw",fillMode:"flat","aria-label":"Redo"},"redo"),(0,A.jsx)(ae,{},"sep1"),(0,A.jsx)(l,{icon:"cut",fillMode:"flat","aria-label":"Cut"},"cut"),(0,A.jsx)(l,{icon:"copy",fillMode:"flat","aria-label":"Copy"},"copy"),(0,A.jsx)(l,{icon:"clipboard",fillMode:"flat","aria-label":"Paste"},"paste"),(0,A.jsx)(ae,{},"sep2"),(0,A.jsx)(J,{value:"Font Name",fillMode:"flat","aria-label":"Font name"},"fontname"),(0,A.jsx)(J,{value:"Font Size",fillMode:"flat","aria-label":"Font size"},"fontsize"),(0,A.jsx)(ae,{},"sep3"),(0,A.jsxs)(y,{fillMode:"flat",children:[(0,A.jsx)(l,{className:"k-group-start",icon:"font-grow",fillMode:"flat","aria-label":"Increase font size"}),(0,A.jsx)(l,{className:"k-group-end",icon:"font-shrink",fillMode:"flat","aria-label":"Decrease font size"})]},"fontgrow"),(0,A.jsx)(ae,{},"sep4"),(0,A.jsxs)(y,{fillMode:"flat",children:[(0,A.jsx)(l,{className:"k-group-start",icon:"bold",fillMode:"flat","aria-label":"Bold"}),(0,A.jsx)(l,{icon:"italic",fillMode:"flat","aria-label":"Italic"}),(0,A.jsx)(l,{icon:"underline",fillMode:"flat","aria-label":"Underline"}),(0,A.jsx)(l,{className:"k-group-end",icon:"strikethrough",fillMode:"flat","aria-label":"Strikethrough"})]},"fontstyle"),(0,A.jsx)(ht,{children:(0,A.jsx)(ke,{value:"red",valueIconName:"foreground-color",fillMode:"flat","aria-label":"Text color"})},"textcolor"),(0,A.jsx)(ae,{},"sep5"),(0,A.jsx)(ht,{children:(0,A.jsx)(ke,{value:"fuchsia",valueIconName:"droplet",fillMode:"flat","aria-label":"Background color"})},"bgcolor"),(0,A.jsx)(ae,{},"sep6"),(0,A.jsx)(_,{fillMode:"flat",icon:"borders-all",showArrow:!0,"aria-label":"Borders"},"borders"),(0,A.jsx)(ae,{},"sep7"),(0,A.jsx)(_,{fillMode:"flat",icon:"align-left",showArrow:!0,"aria-label":"Horizontal alignment"},"halign"),(0,A.jsx)(_,{fillMode:"flat",icon:"align-middle",showArrow:!0,"aria-label":"Vertical alignment"},"valign"),(0,A.jsx)(ae,{},"sep8"),(0,A.jsx)(l,{fillMode:"flat",icon:"text-wrap-arrow","aria-label":"Wrap text"},"wrap")],Tm=[(0,A.jsx)(V,{first:!0,text:"File"},"file"),(0,A.jsx)(V,{text:"Home",active:!0},"home"),(0,A.jsx)(V,{text:"Insert"},"insert"),(0,A.jsx)(V,{text:"Format"},"format"),(0,A.jsx)(V,{text:"Formulas"},"formulas"),(0,A.jsx)(V,{text:"Data"},"data"),(0,A.jsx)(V,{last:!0,text:"View"},"view")],rn={toolbarItems:ym,menuItems:Tm},Co=e=>{let{toolbarItems:t=rn.toolbarItems,menuItems:o=rn.menuItems,...a}=e;return(0,A.jsxs)("div",{...a,className:n(nn,e.className),children:[(0,A.jsx)(No,{children:o}),(0,A.jsx)(Io,{children:t})]})};Co.states=Im;Co.options=Cm;Co.className=nn;Co.defaultOptions=rn;var Em=Co;
|