@progress/kendo-themes-html 14.0.0-dev.5 → 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-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-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/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/tests/spreadsheet-tools.tsx +1 -1
- package/src/toolbar/tests/toolbar-fill-modes.tsx +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
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 I=(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"}),E=(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:g,highlighted:k,...S}=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":g,"k-highlighted":k},Object.keys(S).reduce((T,M)=>(M.startsWith("k-")?T[M]=S[M]:T[`k-${M}`]=S[M],T),{}))};function Kr(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 ma={};function D(e){return ma[e]=(ma[e]||0)+1,`k-${e}-${ma[e]}`}import{Fragment as is,jsx as _r}from"react/jsx-runtime";var fa="k-font-icon",as=[],rs={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]},ns={},fo=e=>{let{size:t,themeColor:o,icon:a,rotate:r,flip:s,...c}=e;return a?_r("span",{...c,className:n(e.className,fa,I(fa,{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"}):_r(is,{})};fo.states=as;fo.options=rs;fo.className=fa;fo.defaultOptions=ns;var Dr=fo;import{Fragment as ds,jsx as Ho}from"react/jsx-runtime";var ba="k-svg-icon",ss=[],ls={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]},Hr={viewBox:"0 0 24 24"},bo=e=>{let{size:t,themeColor:o,rotate:a,flip:r,viewBox:s=Hr.viewBox,icon:c,...u}=e;if(!c)return Ho(ds,{});if(c==="none")return Ho("span",{...u,className:n(e.className,ba,I("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let b=typeof c=="object"&&c.name&&c.name;return Ho("span",{...u,className:n(e.className,ba,I("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:Ho("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})})};bo.states=ss;bo.options=ls;bo.className=ba;bo.defaultOptions=Hr;var ha=bo;import*as xa from"@progress/kendo-svg-icons";var zr="icon",Ur="icons";import{useContext as ps}from"react";import{createContext as cs}from"react";var Gr=cs({iconsType:"svg"});import{Fragment as Fr,jsx as ho}from"react/jsx-runtime";var zo="k-icon",us=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),ms=[],fs={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]},Na={viewBox:"0 0 24 24",type:"svg"},L=e=>{let{iconsType:t}=ps(Gr),{size:o,themeColor:a,icon:r,type:s=t||Na.type,rotate:c,flip:u,viewBox:b=Na.viewBox,...h}=e;if(!r)return ho(Fr,{});if((t||s)==="svg"){if(r==="none")return ho(ha,{...h,className:n(e.className,zo),icon:r,size:o});let x=xa[r]?r:us(`${r}-icon`);return xa[x]?ho(ha,{...h,className:n(e.className,zo),icon:xa[x],size:o,themeColor:a,rotate:c,flip:u,viewBox:b}):ho(Fr,{})}return ho(Dr,{...h,className:n(e.className,zo),icon:r,size:o,themeColor:a,rotate:c,flip:u})};L.states=ms;L.options=fs;L.defaultOptions=Na;L.className=zo;L.moduleName=zr;L.folderName=Ur;L.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var ka="button",Vr=ka;import{Fragment as Ns,jsx as xo,jsxs as $r}from"react/jsx-runtime";var No="k-button",bs=["icon-button"],hs=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],xs={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]},va={showArrow:!1,arrowIconName:"chevron-down"},l=e=>{let{as:t="button",size:o,rounded:a,fillMode:r,themeColor:s,showArrow:c=va.showArrow,arrowIconName:u=va.arrowIconName,variant:b,hover:h,focus:N,active:x,selected:p,disabled:g,togglable:k,ariaDisabled:S,icon:T,text:M,iconClassName:P,className:W,...re}=e,le=T!==void 0,de=e.children!==void 0;return $r(t,{className:n(W,No,Kr(No,b),I(No,{size:o,rounded:a,fillMode:r,themeColor:s}),E(No,{hover:h,focus:N,active:x,disabled:g||S,selected:p}),{"k-icon-button":!M&&!de&&le}),...re,"aria-pressed":k?p?"true":"false":void 0,"aria-disabled":S?"true":void 0,disabled:g||void 0,children:[T&&xo(L,{className:n(P,"k-button-icon"),icon:T}),M?$r(Ns,{children:[M&&xo("span",{className:"k-button-text",children:M}),e.children]}):e.children&&xo("span",{className:"k-button-text",children:e.children}),c&&xo("span",{className:"k-menu-button-arrow k-button-arrow",children:xo(L,{icon:u})})]})};l.states=hs;l.options=xs;l.variants=bs;l.className=No;l.defaultOptions=va;l.moduleName=ka;l.folderName=Vr;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 ga="button",Xr=ga;import{jsx as Ls}from"react/jsx-runtime";var ko="k-button-group",ks=[i.disabled],vs={fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},gs={},C=e=>{let{fillMode:t,disabled:o,stretched:a,...r}=e;return Ls("div",{role:"group",...r,className:n(e.className,ko,I(ko,{fillMode:t}),E(ko,{disabled:o}),{[`${ko}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};C.states=ks;C.options=vs;C.className=ko;C.defaultOptions=gs;C.moduleName=ga;C.folderName=Xr;C.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 vo="input",Uo=vo;import{jsx as Cs}from"react/jsx-runtime";var Go="k-input",Ms=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Ss={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]},Is={},Y=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 Cs("span",{...x,className:n(e.className,Go,I(Go,{size:b,rounded:h,fillMode:N}),E(Go,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:c,readonly:u}))})};Y.states=Ms;Y.options=Ss;Y.className=Go;Y.defaultOptions=Is;Y.moduleName=vo;Y.folderName=Uo;import{jsx as As}from"react/jsx-runtime";var Fo="k-picker",ys=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Ts={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]},Es={},He=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 As("span",{...x,className:n(e.className,Fo,I(Fo,{size:b,rounded:h,fillMode:N}),E(Fo,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:c,readonly:u})),children:e.children})};He.states=ys;He.options=Ts;He.className=Fo;He.defaultOptions=Es;He.moduleName=vo;He.folderName=Uo;import{Fragment as Bs,jsx as La}from"react/jsx-runtime";var qr="k-clear-value",Os=[i.disabled,i.loading,i.readonly],ws={},ke=e=>{let{disabled:t,loading:o,readonly:a,value:r}=e;return t||a||o||!r?La(Bs,{}):La("span",{className:n(e.className,qr),children:La(L,{icon:"x"})})};ke.states=Os;ke.options=ws;ke.className=qr;import{jsx as Ks}from"react/jsx-runtime";var Ma="k-input-inner",Ps=[],Rs={},Vo={type:"text",autocomplete:"off",value:"",placeholder:""},ve=e=>{let{value:t=Vo.value,type:o=Vo.type,placeholder:a=Vo.placeholder,autocomplete:r=Vo.autocomplete,disabled:s,readOnly:c,...u}=e;return Ks("input",{...u,type:o,className:n(e.className,Ma,I(Ma,e)),placeholder:a,autoComplete:r,defaultValue:t,disabled:s||void 0,readOnly:c||void 0})};ve.states=Ps;ve.options=Rs;ve.className=Ma;import{jsx as Jr,jsxs as Hs}from"react/jsx-runtime";var Sa="k-input-inner",_s=[],Ds={},ht=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:r,valueIconName:s,...c}=e;return Hs("span",{...c,className:n(e.className,Sa,I(Sa,e)),children:[r,!r&&s&&Jr(L,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&Jr("span",{className:"k-input-value-text",children:t})]})};ht.states=_s;ht.options=Ds;ht.className=Sa;import{jsx as Gs}from"react/jsx-runtime";var Ia="k-input-inner",zs=[],Us={},Wr={value:"",placeholder:""},Ca=e=>{let{value:t=Wr.value,placeholder:o=Wr.placeholder,rows:a,disabled:r,...s}=e;return Gs("textarea",{...s,className:n(e.className,Ia,I(Ia,e)),placeholder:o,rows:a,defaultValue:t,disabled:r||void 0})};Ca.states=zs;Ca.options=Us;Ca.className=Ia;import{Fragment as Vs,jsx as Yr}from"react/jsx-runtime";var Qr="k-input-loading-icon",Fs=[i.disabled,i.loading],he=e=>{let{disabled:t,loading:o}=e;return t||!o?Yr(Vs,{}):Yr("span",{className:n(e.className,Qr,"k-icon k-i-loading")})};he.states=Fs;he.className=Qr;import{Fragment as qs,jsx as Zr}from"react/jsx-runtime";var jr="k-input-validation-icon",$s=[i.valid,i.invalid,i.disabled,i.loading],Xs={},ce=e=>{let{valid:t,invalid:o,disabled:a,loading:r}=e,s=o?"warning-circle":"check-circle";return a||r||!!!(t||o)?Zr(qs,{}):Zr(L,{className:n(jr),icon:s})};ce.states=$s;ce.options=Xs;ce.className=jr;import{Fragment as Ys,jsx as en}from"react/jsx-runtime";var Js="k-input-prefix",Ws={direction:"horizontal"},Ie=e=>{let{direction:t=Ws.direction,...o}=e;return e.children?en("span",{...o,className:n(Js,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):en(Ys,{})};import{Fragment as js,jsx as tn}from"react/jsx-runtime";var Qs="k-input-suffix",Zs={direction:"horizontal"},Ce=e=>{let{direction:t=Zs.direction,...o}=e;return e.children?tn("span",{...o,className:n(Qs,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):tn(js,{})};import{jsx as _f}from"react/jsx-runtime";import{jsx as tl}from"react/jsx-runtime";var el="k-input-suffix-text",ya=e=>{let{children:t,...o}=e;return tl("span",{...o,className:n(el,e.className),children:t})};import{jsx as al}from"react/jsx-runtime";var on="k-input-separator",ol={direction:"vertical"},ye=e=>{let{direction:t=ol.direction,...o}=e;return al("span",{...o,className:n(on,e.className,{[`${on}-${t}`]:t})})};import{jsx as rl}from"react/jsx-runtime";var xt=e=>rl(l,{children:"Button",...e});import{Fragment as an,jsx as ze,jsxs as Ta}from"react/jsx-runtime";var nl=Y.states,il=Y.defaultOptions,sl=Y.options,ll=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],dl=[],At=e=>{let{modifiers:t,valid:o,invalid:a,loading:r,disabled:s,readonly:c,...u}=e,b=t?.prefix,h=t?.suffix,N=t?.["clear-button"],x=t?.["validation-icon"],p=t?.separators;return Ta(Y,{...u,valid:o,invalid:a,loading:r,disabled:s,readonly:c,style:{width:300},children:[b&&Ta(an,{children:[ze(Ie,{children:ze(L,{icon:"lock"})}),p&&ze(ye,{})]}),ze(ve,{placeholder:"Placeholder",value:"Value"}),x&&ze(ce,{valid:o,invalid:a,loading:r,disabled:s}),ze(he,{loading:r,disabled:s}),N&&ze(ke,{loading:r,disabled:s,readonly:c,value:"Value"}),h&&Ta(an,{children:[p&&ze(ye,{}),ze(Ce,{children:ze(xt,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};At.options=sl;At.states=nl;At.variants=dl;At.defaultOptions=il;At.modifiers=ll;At.className=Y.className;import{jsx as cl}from"react/jsx-runtime";var ot=e=>cl(l,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as pl}from"react/jsx-runtime";var go=e=>pl(l,{icon:"folder",children:"Button",...e});import{jsx as Ea}from"react/jsx-runtime";var ul=l.options,ml=l.states,fl={...l.defaultOptions,variant:"text"},bl=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],hl=[],Ot=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return Ea(ot,{...o,icon:"star"});case"icon-and-text":return Ea(go,{...o,icon:"star",children:"Button"});default:return Ea(xt,{...o,children:"Button"})}};Ot.options=ul;Ot.states=ml;Ot.variants=bl;Ot.defaultOptions=fl;Ot.modifiers=hl;Ot.className=l.className;import{jsx as rn,jsxs as kl}from"react/jsx-runtime";var nn="k-color-preview",xl=[],Nl={},at=e=>{let{color:t,iconName:o,...a}=e;return kl("span",{...a,className:n(e.className,nn,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&rn(L,{icon:o,className:"k-color-preview-icon"}),rn("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};at.states=xl;at.options=Nl;at.className=nn;var Aa="popup",sn=Aa;import{jsx as ln}from"react/jsx-runtime";var dn="k-animation-container",vl=[],gl={},cn={positionMode:"absolute"},Ue=e=>{let{positionMode:t=cn.positionMode,animationStyle:o,offset:a,...r}=e;return ln("div",{...r,style:{...a,...e.style},className:n(e.className,dn,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:ln("div",{className:"k-child-animation-container",style:o,children:e.children})})};Ue.states=vl;Ue.options=gl;Ue.className=dn;Ue.defaultOptions=cn;Ue.moduleName=Aa;Ue.folderName=sn;var Oa="popup",pn=Oa;import{jsx as un}from"react/jsx-runtime";var mn="k-popup",Ll=[],Ml={},fn={positionMode:"absolute"},V=e=>{let{offset:t,positionMode:o=fn.positionMode,animationStyle:a,containerClassName:r,containerRole:s,containerAriaLabel:c,...u}=e;return un(Ue,{positionMode:o,offset:t,animationStyle:a,className:r,role:s,"aria-label":c,children:un("div",{...u,className:n(e.className,mn),children:e.children})})};V.states=Ll;V.options=Ml;V.className=mn;V.defaultOptions=fn;V.moduleName=Oa;V.folderName=pn;V.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 wa="action-buttons",bn=wa;import{jsx as Cl}from"react/jsx-runtime";var $o="k-actions",Sl=[],Il={},Ba={alignment:"start",orientation:"horizontal"},Ge=e=>{let{alignment:t=Ba.alignment,orientation:o=Ba.orientation,...a}=e;return Cl("div",{...a,className:n($o,{[`${$o}-${t}`]:t,[`${$o}-${o}`]:o},e.className),children:e.children})};Ge.states=Sl;Ge.options=Il;Ge.className=$o;Ge.defaultOptions=Ba;Ge.moduleName=wa;Ge.folderName=bn;import{jsx as Tl}from"react/jsx-runtime";var yl="k-actionsheet-footer",hn={alignment:"stretched",orientation:"horizontal"},rt=e=>{let{alignment:t=hn.alignment,orientation:o=hn.orientation,template:a,as:r=a?"div":Ge,...s}=e;return Tl(r,{...s,...!a&&{alignment:t,orientation:o},className:n(e.className,yl),children:e.children})};var Pa="searchbox",xn=Pa;import{jsx as Lo,jsxs as Ol}from"react/jsx-runtime";var Nn="k-searchbox",El=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Al={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]},Ra={showIcon:!0,icon:"search"},Te=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:g=Ra.showIcon,icon:k=Ra.icon,"aria-label":S,...T}=e;return Ol(Y,{...T,size:a,rounded:r,fillMode:s,hover:c,focus:u,valid:b,invalid:h,required:N,loading:x,disabled:p,className:n(e.className,Nn),children:[g&&Lo(L,{className:"k-input-icon",icon:k}),Lo(ve,{placeholder:o,value:t,"aria-label":S}),Lo(he,{...e}),Lo(ce,{...e}),Lo(ke,{...e})]})};Te.states=El;Te.options=Al;Te.className=Nn;Te.defaultOptions=Ra;Te.moduleName=Pa;Te.folderName=xn;import{jsx as Ah}from"react/jsx-runtime";var Ka="textbox",kn=Ka;import{Fragment as vn,jsx as nt,jsxs as _a}from"react/jsx-runtime";var gn="k-textbox",wl=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Bl={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]},Xo={showClearButton:!0,showValidationIcon:!0,separators:!0},oe=e=>{let{size:t,rounded:o,fillMode:a,separators:r=Xo.separators,showClearButton:s=Xo.showClearButton,showValidationIcon:c=Xo.showValidationIcon,prefix:u,suffix:b,type:h,value:N,placeholder:x,hover:p,focus:g,valid:k,invalid:S,required:T,loading:M,disabled:P,readonly:W,id:re,"aria-label":le,"aria-describedby":de,...Ne}=e;return _a(Y,{...Ne,size:t,rounded:o,fillMode:a,hover:p,focus:g,valid:k,invalid:S,required:T,loading:M,disabled:P,readonly:W,className:n(e.className,gn),children:[u&&_a(vn,{children:[nt(Ie,{children:u}),r&&nt(ye,{})]}),nt(ve,{id:re,placeholder:x,value:N,type:h,disabled:P,"aria-label":le,"aria-describedby":de,"aria-invalid":S?"true":void 0}),c&&nt(ce,{valid:k,invalid:S,loading:M,disabled:P}),nt(he,{loading:M,disabled:P}),s&&nt(ke,{loading:M,disabled:P,readonly:W,value:N}),b&&_a(vn,{children:[r&&nt(ye,{}),nt(Ce,{children:b})]})]})};oe.states=wl;oe.options=Bl;oe.className=gn;oe.defaultOptions=Xo;oe.moduleName=Ka;oe.folderName=kn;oe.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 Mo=oe;import{jsx as Pl}from"react/jsx-runtime";var Ln=e=>Pl(Mo,{...e});import{Fragment as Jh,jsx as qh}from"react/jsx-runtime";import{Fragment as ex,jsx as jh}from"react/jsx-runtime";import{jsx as rx}from"react/jsx-runtime";import{jsx as Da}from"react/jsx-runtime";var Rl=oe.states,Kl=oe.defaultOptions,_l=oe.options,Dl=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Hl=[],wt=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t?.[r]?Da(L,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[r]?Da(xt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[r];break;default:break}}),Da(Ln,{value:"Value",style:{width:300},...o,...a})};wt.options=_l;wt.states=Rl;wt.variants=Hl;wt.defaultOptions=Kl;wt.modifiers=Dl;wt.className=oe.className;import{jsx as it,jsxs as Ha}from"react/jsx-runtime";var Mn="k-actionsheet-titlebar",zl={},pe=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 Ha("div",{...p,className:n(e.className,Mn),children:[Ha("div",{className:"k-actionsheet-titlebar-group",children:[a&&it("div",{className:"k-actionsheet-actions",children:a}),!x&&Ha("div",{className:"k-actionsheet-title",id:N,children:[t&&it("div",{className:"k-text-center",children:t}),o&&it("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),x&&it("div",{className:"k-actionsheet-title",id:N,children:x}),r&&it("div",{className:"k-actionsheet-actions",children:r})]}),(c||s)&&it("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?it(oe,{value:u,placeholder:b,size:h?"large":"medium","aria-label":t||b||"Input"}):it(Te,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};pe.className=Mn;pe.defaultOptions=zl;import{jsx as za,jsxs as Vl}from"react/jsx-runtime";var Ua="k-actionsheet-view",Ul=[],Gl={},Fl={},Bt=e=>{let{adaptive:t,animated:o,children:a,header:r,footer:s,titleId:c,...u}=e,b=r?.type===pe&&za(pe,{adaptive:t,titleId:c,...r?.props}),h=s?.type===rt&&za(rt,{...s?.props});return Vl("div",{...u,className:n(e.className,Ua,{[`${Ua}-animated`]:o}),children:[b,za("div",{className:"k-actionsheet-content",children:a}),h]})};Bt.states=Ul;Bt.options=Gl;Bt.className=Ua;Bt.defaultOptions=Fl;var So="action-sheet",qo=So;var Ga="overlay",Sn=Ga;import{jsx as Jl}from"react/jsx-runtime";var In="k-overlay",$l=[],Xl={},ql={},st=e=>{let{...t}=e;return Jl("div",{...t,className:n(e.className,In),children:e.children})};st.states=$l;st.options=Xl;st.className=In;st.defaultOptions=ql;st.moduleName=Ga;st.folderName=Sn;import{jsx as Jo,jsxs as Ql}from"react/jsx-runtime";var Cn="k-actionsheet",Wl=[],Yl={},Io={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},q=e=>{let{side:t=Io.side,fullscreen:o=Io.fullscreen,adaptive:a=Io.adaptive,overlay:r=Io.overlay,template:s,children:c,header:u,footer:b,id:h,...N}=e,x=h&&!s&&u?`${h}-title`:void 0;return Ql("div",{className:"k-actionsheet-container",children:[r&&Jo(st,{}),Jo(Ue,{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:Jo("div",{...N,id:h,role:"dialog","aria-modal":r?"true":void 0,"aria-labelledby":x,className:n(e.className,Cn,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||Jo(Bt,{header:u,footer:b,adaptive:a,titleId:x,...e,children:c})})})]})};q.states=Wl;q.options=Yl;q.className=Cn;q.defaultOptions=Io;q.moduleName=So;q.folderName=qo;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."}]};import{jsx as td}from"react/jsx-runtime";var yn="k-actionsheet-container",Zl=[],jl={},ed={},Pt=e=>{let{children:t,...o}=e;return td("div",{...o,className:yn,children:t})};Pt.states=Zl;Pt.options=jl;Pt.className=yn;Pt.defaultOptions=ed;Pt.moduleName=So;Pt.folderName=qo;import{jsx as od}from"react/jsx-runtime";var Fa=e=>{let{...t}=e;return od("div",{...t,className:n(e.className,"k-list-ul"),children:e.children})};import{Fragment as rd,jsx as Co,jsxs as Va}from"react/jsx-runtime";var $a="k-actionsheet-item",ad=[i.hover,i.focus,i.selected,i.disabled],lt=e=>{let{iconName:t,text:o,description:a,hover:r,focus:s,selected:c,disabled:u,...b}=e;return Va("span",{...b,className:n(e.className,$a,E($a,{hover:r,focus:s,selected:c,disabled:u})),children:[!e.children&&Co(rd,{children:Va("span",{className:"k-actionsheet-action",children:[t&&Co("span",{className:"k-icon-wrap",children:Co(L,{className:"k-actionsheet-item-icon",icon:t})}),Va("span",{className:"k-actionsheet-item-text",children:[o&&Co("span",{className:"k-actionsheet-item-title",children:o}),a&&Co("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};lt.states=ad;lt.className=$a;import{jsx as aN,jsxs as rN}from"react/jsx-runtime";import{jsx as lN}from"react/jsx-runtime";import{jsx as uN}from"react/jsx-runtime";import{jsx as hN}from"react/jsx-runtime";import{jsx as ae,jsxs as Xa}from"react/jsx-runtime";var nd=q.options,id=q.states,En={...q.defaultOptions,variant:"normal"},sd=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ld=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Rt=e=>{let{variant:t,modifiers:o,...a}={...En,...e},r={},s=Xa(Fa,{children:[ae(lt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),ae(lt,{text:"Add to Favorites",iconName:"heart"}),ae(lt,{text:"Upload New",iconName:"upload",disabled:!0}),ae("hr",{className:"k-hr"}),ae(lt,{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?.[b],r.actionsEnd=!!o?.[b];break;case"subtitle":r.subtitle=o?.[b]?c:void 0;break;case"footer":r.footer=!!o?.[b];break;default:break}}),t==="adaptive"?ae(q,{...a,adaptive:!0,fullscreen:r.fullScreen,header:ae(pe,{actionsStart:r.actionsStart?ae(l,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?ae(l,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:r.subtitle}),footer:r.footer?Xa(rt,{alignment:"stretched",children:[ae(l,{text:"Cancel",size:"large",themeColor:"base"}),ae(l,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):ae(q,{...a,fullscreen:r.fullScreen,header:ae(pe,{actionsStart:r.actionsStart?ae(l,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?ae(l,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:r.subtitle}),footer:r.footer?Xa(rt,{alignment:"stretched",children:[ae(l,{text:"Apply",themeColor:"primary"}),ae(l,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Rt.options=nd;Rt.states=id;Rt.variants=sd;Rt.defaultOptions=En;Rt.modifiers=ld;Rt.className=q.className;import{Fragment as VN,jsx as FN,jsxs as $N}from"react/jsx-runtime";import{Fragment as QN,jsx as YN,jsxs as ZN}from"react/jsx-runtime";import{Fragment as rk,jsx as ak,jsxs as nk}from"react/jsx-runtime";import{Fragment as pk,jsx as ck,jsxs as uk}from"react/jsx-runtime";import{Fragment as Nk,jsx as xk,jsxs as kk}from"react/jsx-runtime";import{Fragment as Ik,jsx as Sk,jsxs as Ck}from"react/jsx-runtime";import{jsx as Xe,jsxs as qa}from"react/jsx-runtime";var dd={...l.options,...C.options},cd=l.states,pd={...l.defaultOptions,...C.defaultOptions,variant:"text-button"},ud=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],md=[],Kt=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?qa(C,{fillMode:a.fillMode,className:o,children:[Xe(l,{...a,icon:"star"}),Xe(l,{...a,icon:"star"}),Xe(l,{...a,icon:"star"})]}):t==="icon-text-button"?qa(C,{fillMode:a.fillMode,className:o,children:[Xe(l,{...a,icon:"star",children:"First"}),Xe(l,{...a,icon:"star",children:"Middle"}),Xe(l,{...a,icon:"star",children:"Last"})]}):qa(C,{fillMode:a.fillMode,className:o,children:[Xe(l,{...a,children:"First"}),Xe(l,{...a,children:"Middle"}),Xe(l,{...a,children:"Last"})]})};Kt.options=dd;Kt.states=cd;Kt.variants=ud;Kt.defaultOptions=pd;Kt.modifiers=md;Kt.className=C.className;var Ja="slider",An=Ja;import{jsx as _t,jsxs as Wa}from"react/jsx-runtime";var yo="k-slider",fd=[i.hover,i.focus,i.active,i.disabled,i.readonly],bd={},Ee={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},G=e=>{let{type:t=Ee.type,orientation:o=Ee.orientation,gradientType:a=Ee.gradientType,readonly:r=Ee.readonly,disabled:s=Ee.disabled,handlePosition:c=Ee.handlePosition,showButtons:u=Ee.showButtons,showTicks:b=Ee.showTicks,value:h=Ee.value,min:N=Ee.min,max:x=Ee.max,startValue:p,endValue:g,hover:k,focus:S,active:T,trackStyle:M,dir:P,...W}=e,le=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),de,Ne;return o==="horizontal"?(de=P==="rtl"?"chevron-left":"chevron-right",Ne=P==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(de="chevron-up",Ne="chevron-down"),Wa("div",{...W,className:n(yo,e.className,E(yo,{readonly:r,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:P,children:[u&&_t(l,{className:"k-button-decrease",rounded:"full",icon:Ne,tabIndex:-1,title:"Decrease"}),Wa("div",{className:"k-slider-track-wrap",children:[b&&_t("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Wa("div",{className:"k-slider-track",style:M,children:[_t("div",{className:"k-slider-selection"}),t==="range"&&_t("span",{className:n("k-draghandle","k-draghandle-start",E(yo,{hover:k,focus:S,active:T})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":p??N,"aria-valuemin":N,"aria-valuemax":g??x,"aria-orientation":le,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":W["aria-label"]?`${W["aria-label"]} start`:"Range start"}),_t("span",{className:n("k-draghandle",`k-draghandle-${c}`,E(yo,{hover:k,focus:S,active:T})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?g??x:h,"aria-valuemin":t==="range"?p??N:N,"aria-valuemax":x,"aria-orientation":le,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":t==="range"?W["aria-label"]?`${W["aria-label"]} end`:"Range end":W["aria-label"]})]})]}),u&&_t(l,{className:"k-button-increase",rounded:"full",icon:de,tabIndex:-1,title:"Increase"})]})};G.states=fd;G.options=bd;G.className=yo;G.defaultOptions=Ee;G.moduleName=Ja;G.folderName=An;G.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."}]};import{jsx as On}from"react/jsx-runtime";var wn="k-tick",hd=[],xd={},Bn={label:!1},y=e=>{let{style:t,label:o=Bn.label,orientation:a,large:r,text:s,...c}=e;return On("li",{...c,role:"presentation",title:s||"Tick",className:n(e.className,wn,{[`k-tick-${a}`]:a,"k-tick-large":r}),style:t,children:o&&On("span",{className:"k-label",children:s})})};y.states=hd;y.options=xd;y.className=wn;y.defaultOptions=Bn;import{Fragment as Nd,jsx as Ae,jsxs as kd}from"react/jsx-runtime";var Pn=e=>Ae(G,{"aria-label":e["aria-label"]||"Slider",children:kd(Nd,{children:[Ae(y,{className:"k-first",label:!0,large:!0,text:"0"}),Ae(y,{}),Ae(y,{}),Ae(y,{}),Ae(y,{}),Ae(y,{label:!0,large:!0,text:"5"}),Ae(y,{}),Ae(y,{}),Ae(y,{}),Ae(y,{}),Ae(y,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as vd,jsx as Oe,jsxs as gd}from"react/jsx-runtime";var Rn=e=>Oe(G,{children:gd(vd,{children:[Oe(y,{className:"k-first",label:!0,large:!0,text:"0"}),Oe(y,{}),Oe(y,{}),Oe(y,{}),Oe(y,{}),Oe(y,{label:!0,large:!0,text:"5"}),Oe(y,{}),Oe(y,{}),Oe(y,{}),Oe(y,{}),Oe(y,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as iv,jsx as nv,jsxs as sv}from"react/jsx-runtime";import{Fragment as uv,jsx as pv,jsxs as mv}from"react/jsx-runtime";import{jsx as Ld}from"react/jsx-runtime";var Ya=e=>Ld(G,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as Md}from"react/jsx-runtime";var Qa=e=>Md(G,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as Sv,jsx as Mv,jsxs as Iv}from"react/jsx-runtime";import{Fragment as Av,jsx as Ev,jsxs as Ov}from"react/jsx-runtime";import{jsx as Fe,jsxs as Kn}from"react/jsx-runtime";var Sd=G.options,Id=G.states,_n={...G.defaultOptions,variant:"horizontal",label:!0},Cd=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],yd=[{name:"label",title:"Labels"},{name:"tick",title:"Ticks"},{name:"button",title:"Side Buttons"}],Dt=e=>{let{variant:t,modifiers:o,...a}={..._n,...e},r={};Object.keys(o||{}).forEach(h=>{switch(h){case"button":{r.showButtons=!!o?.[h];break}case"label":{r.label=!!o?.[h];break}case"tick":{r.showTicks=!!o?.[h];break}}});let{label:s=!0,showButtons:c,showTicks:u}=r,b={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?Kn(Rn,{showTicks:u,showButtons:c,style:{height:"300px",...b},...a,children:[Fe(y,{label:s,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),Fe(y,{label:s,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),Fe(y,{label:s,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),Fe(y,{label:s,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),Fe(y,{label:s,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):Kn(Pn,{showTicks:u,showButtons:c,style:{width:"400px",...b},...a,children:[Fe(y,{label:s,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),Fe(y,{label:s,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),Fe(y,{label:s,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),Fe(y,{label:s,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),Fe(y,{label:s,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Dt.options=Sd;Dt.states=Id;Dt.variants=Cd;Dt.defaultOptions=_n;Dt.modifiers=yd;Dt.className=G.className;import{jsx as Dn,jsxs as wd}from"react/jsx-runtime";var Hn="k-spin-button",Ad=[],Od={size:[d.undefined,d.small,d.medium,d.large],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},Za={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},dt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:r=Za.increaseLabel,decreaseLabel:s=Za.decreaseLabel,...c}=e;return wd("span",{...c,className:n(Hn,e.className),children:[Dn(l,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":r}),Dn(l,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};dt.states=Ad;dt.options=Od;dt.className=Hn;dt.defaultOptions=Za;dt.moduleName=null;dt.folderName=null;var zn="numeric-textbox",Un="numerictextbox";import{Fragment as Gn,jsx as qe,jsxs as ja}from"react/jsx-runtime";var Fn="k-numerictextbox",Bd=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Pd={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]},Wo={showSpinButton:!0,showClearButton:!0,separators:!0},H=e=>{let{size:t,rounded:o,fillMode:a,separators:r=Wo.separators,showClearButton:s=Wo.showClearButton,showSpinButton:c=Wo.showSpinButton,prefix:u,suffix:b,value:h,placeholder:N,hover:x,focus:p,valid:g,invalid:k,required:S,loading:T,disabled:M,readonly:P,id:W,"aria-label":re,"aria-describedby":le,...de}=e;return ja(Y,{...de,size:t,rounded:o,fillMode:a,hover:x,focus:p,valid:g,invalid:k,required:S,loading:T,disabled:M,readonly:P,className:n(e.className,Fn),children:[u&&ja(Gn,{children:[qe(Ie,{children:u}),r&&qe(ye,{})]}),qe(ve,{id:W,placeholder:N,value:h,role:"spinbutton",disabled:M,"aria-label":re,"aria-describedby":le,"aria-invalid":k?"true":void 0}),qe(ce,{valid:g,invalid:k,loading:T,disabled:M}),qe(he,{loading:T,disabled:M}),s&&qe(ke,{loading:T,disabled:M,readonly:P,value:h}),b&&ja(Gn,{children:[r&&qe(ye,{}),qe(Ce,{children:b})]}),c&&qe(dt,{className:"k-input-spinner",size:t,fillMode:a,disabled:M})]})};H.states=Bd;H.options=Pd;H.className=Fn;H.defaultOptions=Wo;H.moduleName=zn;H.folderName=Un;H.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 To=H;import{jsx as Rd}from"react/jsx-runtime";var Vn=e=>Rd(To,{...e});import tr from"react";import{jsx as $n}from"react/jsx-runtime";var Kd="k-list-group-sticky-header",er=e=>$n("div",{className:n(Kd,e.className),children:$n("div",{className:"k-list-header-text",children:e.children})});import{jsx as Dd}from"react/jsx-runtime";var _d="k-no-data",Yo=e=>{let{live:t,...o}=e;return Dd("span",{...o,className:n(_d,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Nt="list",Ht=Nt;import{jsx as Xn,jsxs as qn}from"react/jsx-runtime";var or="k-list",Hd=[],zd={size:[d.undefined,d.small,d.medium,d.large]},Ud={},R=e=>{let{size:t,virtualization:o,children:a,header:r,optionLabel:s,customValue:c,noData:u,screenReaders:b,...h}=e,x=tr.Children.toArray(a)[0],p=x?.props?.children?tr.Children.count(x.props.children):tr.Children.count(a);return qn("div",{...h,className:n(e.className,or,I(or,{size:t}),{"k-virtual-list":o}),children:[s,c,r&&Xn(er,{children:r}),a||(u!==void 0?u:Xn(Yo,{live:!0,children:"No data found."})),b&&a&&qn(Yo,{className:"k-sr-only",live:!0,children:[p," items found."]})]})};R.states=Hd;R.options=zd;R.className=or;R.defaultOptions=Ud;R.moduleName=Nt;R.folderName=Ht;R.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};import{jsx as $d}from"react/jsx-runtime";var Jn="k-list-container",Gd=[],Fd={},Vd={},zt=e=>{let{...t}=e;return $d("div",{...t,className:n(e.className,Jn),children:e.children})};zt.states=Gd;zt.options=Fd;zt.className=Jn;zt.defaultOptions=Vd;zt.moduleName=Nt;zt.folderName=Ht;var kt="checkbox",Ut=kt;import{jsx as Wn}from"react/jsx-runtime";var Qo="k-checkbox",Xd=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],qd={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},Jd={},we=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,...g}=e;return Wn("span",{className:"k-checkbox-wrap",role:p,children:Wn("input",{...g,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:c||void 0,"aria-invalid":u?"true":void 0,className:n(e.className,Qo,I(Qo,{size:N,rounded:x}),E(Qo,{hover:r,focus:s,disabled:c,invalid:u,valid:b,indeterminate:a,checked:o}))})})};we.states=Xd;we.options=qd;we.className=Qo;we.defaultOptions=Jd;we.moduleName=kt;we.folderName=Ut;we.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 De=we;import{jsx as Qd}from"react/jsx-runtime";var Yn="k-checkbox-list",Wd=[],Yd={},Qn={layout:"vertical"},ue=e=>{let{layout:t=Qn.layout,...o}=e;return Qd("ul",{...o,className:n(e.className,Yn,{[`k-list-${t}`]:t}),children:e.children})};ue.states=Wd;ue.options=Yd;ue.className=Yn;ue.defaultOptions=Qn;ue.moduleName=kt;ue.folderName=Ut;import{jsx as tc}from"react/jsx-runtime";var Zn="k-checkbox-list-item",Zd=[],jd={},ec={},me=e=>{let{...t}=e;return tc("li",{...t,className:n(e.className,Zn),children:e.children})};me.states=Zd;me.options=jd;me.className=Zn;me.defaultOptions=ec;me.moduleName=kt;me.folderName=Ut;import{Fragment as oc,jsx as jn,jsxs as ac}from"react/jsx-runtime";var Je=({children:e="Label",id:t="cb-label-after",...o})=>ac(oc,{children:[jn(De,{id:t,...o}),jn("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as tL,jsx as eL,jsxs as oL}from"react/jsx-runtime";import{Fragment as sL,jsx as iL,jsxs as lL}from"react/jsx-runtime";import{Fragment as mL,jsx as uL,jsxs as fL}from"react/jsx-runtime";import{jsx as NL}from"react/jsx-runtime";import{jsx as LL}from"react/jsx-runtime";import{jsx as CL}from"react/jsx-runtime";import{jsx as Be,jsxs as ei}from"react/jsx-runtime";var rc=ue.options,nc=ue.states,ic={...ue.defaultOptions,variant:"vertical"},sc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],lc=[],Gt=e=>{let{variant:t,...o}=e;return t==="horizontal"?ei(ue,{layout:"horizontal",...o,children:[Be(me,{children:Be(Je,{id:D("cb"),defaultChecked:!0,children:"Label"})}),Be(me,{children:Be(Je,{id:D("cb"),children:"Label"})}),Be(me,{children:Be(Je,{id:D("cb"),children:"Label"})})]}):ei(ue,{...o,children:[Be(me,{children:Be(Je,{id:D("cb"),defaultChecked:!0,children:"Label"})}),Be(me,{children:Be(Je,{id:D("cb"),children:"Label"})}),Be(me,{children:Be(Je,{id:D("cb"),children:"Label"})})]})};Gt.options=rc;Gt.states=nc;Gt.variants=sc;Gt.defaultOptions=ic;Gt.modifiers=lc;Gt.className=ue.className;import{jsx as fc}from"react/jsx-runtime";var dc=De.options,cc=De.states,pc=De.defaultOptions,uc=[],mc=[],Ft=e=>fc(Je,{id:D("checkbox"),...e,defaultChecked:!0,children:"Label"});Ft.options=dc;Ft.states=cc;Ft.variants=uc;Ft.defaultOptions=pc;Ft.modifiers=mc;Ft.className=De.className;import{jsx as vt,jsxs as Nc}from"react/jsx-runtime";var ar="k-list-item",bc=[i.hover,i.focus,i.selected,i.disabled],hc={},xc={},A=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:g,id:k,...S}=e,T=t||e.children;return Nc("li",{...S,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":ar,E(ar,{hover:b,focus:h,disabled:x,selected:N})),children:[c&&vt(we,{checked:u}),r&&vt("span",{className:"k-list-item-icon-wrapper",children:vt(L,{icon:r,className:n("k-list-item-icon",s)})}),vt("span",{className:"k-list-item-text",children:T}),p&&vt("div",{className:"k-list-item-actions",children:p}),g&&vt("span",{className:"k-list-item-description",children:g}),o&&o!==""&&vt("div",{className:"k-list-item-group-label",children:o})]})};A.states=bc;A.options=hc;A.className=ar;A.defaultOptions=xc;A.moduleName=Nt;A.folderName=Ht;A.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."}]};import{jsx as vc}from"react/jsx-runtime";var kc="k-list-ul",We=e=>{let{children:t,role:o,id:a,...r}=e;return vc("ul",{...r,id:a,role:o,className:n(kc,e.className),children:t})};We.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."}]};import{jsx as rr,jsxs as Lc}from"react/jsx-runtime";var gc="k-list-content",z=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":r,listboxId:s,...c}=e;return Lc("div",{...c,className:n(gc,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:rr(We,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":r,children:e.children}),t&&rr("div",{className:"k-height-container",children:rr("div",{})})]})};z.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."}]};import{Fragment as hM,jsx as bM,jsxs as xM}from"react/jsx-runtime";import{jsx as nr,jsxs as Sc}from"react/jsx-runtime";var Mc="k-list-group-item",gt=e=>{let{groupIconName:t,...o}=e;return Sc("li",{...o,role:"presentation",className:n(Mc,e.className),children:[t&&nr("span",{className:"k-list-item-icon-wrapper",children:nr(L,{icon:t,className:"k-list-item-icon"})}),nr("span",{className:"k-list-item-text",children:e.children})]})};gt.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."}]};import{jsx as Tc}from"react/jsx-runtime";var ir="k-list-optionlabel",Ic=[i.hover,i.focus,i.selected,i.disabled],Cc={},yc={},Zo=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:s,...c}=e;return Tc("div",{...c,className:n(ir,E(ir,{hover:o,focus:a,selected:r,disabled:s})),children:t})};Zo.states=Ic;Zo.options=Cc;Zo.className=ir;Zo.defaultOptions=yc;import{jsx as wc}from"react/jsx-runtime";var sr="k-list-custom-value",Ec=[i.hover,i.focus,i.selected,i.disabled],Ac={},Oc={},ct=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:s,...c}=e;return wc("div",{...c,className:n(sr,E(sr,{hover:o,focus:a,selected:r,disabled:s})),children:t})};ct.states=Ec;ct.options=Ac;ct.className=sr;ct.defaultOptions=Oc;import{Fragment as BM,jsx as wM,jsxs as PM}from"react/jsx-runtime";import{Fragment as zM,jsx as HM,jsxs as UM}from"react/jsx-runtime";import{Fragment as JM,jsx as XM,jsxs as qM}from"react/jsx-runtime";import{Fragment as tS,jsx as jM,jsxs as eS}from"react/jsx-runtime";import{jsx as nS}from"react/jsx-runtime";import{Fragment as pS,jsx as cS,jsxs as uS}from"react/jsx-runtime";var ti="dropdown-list",oi="dropdownlist";import{Fragment as Rc,jsx as fe,jsxs as lr}from"react/jsx-runtime";var ai="k-dropdownlist",Bc=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Pc={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]},dr={showValue:!0,arrowIconName:"chevron-down"},$=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:r=dr.arrowIconName,showValue:s=dr.showValue,valueIconName:c,prefix:u,suffix:b,value:h,placeholder:N,hover:x,focus:p,valid:g,invalid:k,required:S,loading:T,disabled:M,readonly:P,popup:W,opened:re,adaptive:le,adaptiveSettings:de,adaptiveTitle:Ne,adaptiveSubtitle:bt,adaptiveFilter:ca,id:tt,activeDescendant:Do,"aria-label":pa,...ua}=e,os=tt?`${tt}-listbox`:void 0,Rr=tt?`${tt}-value`:void 0;return lr(Rc,{children:[lr(He,{...ua,id:tt,size:t,rounded:o,fillMode:a,hover:x,focus:p,valid:g,invalid:k,required:S,loading:T,disabled:M,readonly:P,className:n(e.className,ai,{"k-icon-picker":!s&&c}),role:"combobox","aria-haspopup":"listbox","aria-expanded":re?"true":"false","aria-controls":re?os:void 0,"aria-activedescendant":re&&Do?Do:void 0,"aria-describedby":re?Rr:void 0,"aria-disabled":M?"true":void 0,"aria-label":pa,tabIndex:0,children:[fe(Ie,{children:u}),fe(ht,{placeholder:N,value:h,showValue:s,valueIconName:c,id:Rr}),fe(ce,{valid:g,invalid:k,loading:T,disabled:M}),fe(he,{loading:T,disabled:M}),fe(Ce,{children:b}),fe(l,{className:"k-input-button",icon:r,size:e.size,fillMode:e.fillMode,"aria-label":N||"Toggle dropdown",tabIndex:-1})]}),re&&W&&fe(V,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:W}),le&&fe(q,{adaptive:!0,...de,header:fe(pe,{actionsEnd:fe(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:ca,inputValue:h,inputPlaceholder:N,title:Ne,subtitle:bt}),children:fe("div",{className:"k-list-container",children:fe(R,{size:"large",children:lr(z,{"aria-label":"Options",children:[fe(A,{text:"List item"}),fe(A,{text:"List item"}),fe(A,{text:"List item"})]})})})})]})};$.states=Bc;$.options=Pc;$.className=ai;$.defaultOptions=dr;$.moduleName=ti;$.folderName=oi;$.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."}]};import{jsx as $S}from"react/jsx-runtime";import{jsx as QS,jsxs as ZS}from"react/jsx-runtime";import{Fragment as sI,jsx as nI,jsxs as iI}from"react/jsx-runtime";import{jsx as uI}from"react/jsx-runtime";import{jsx as NI,jsxs as kI}from"react/jsx-runtime";import{Fragment as TI,jsx as CI,jsxs as yI}from"react/jsx-runtime";import{jsx as BI}from"react/jsx-runtime";import{Fragment as Uc,jsx as pt,jsxs as ri}from"react/jsx-runtime";var Kc=$.states,_c=$.defaultOptions,Dc=$.options,Hc=[{name:"opened",title:"Opened"}],zc=[],$t=e=>{let{modifiers:t,...o}=e,a={},r=ri(Uc,{children:[pt("div",{className:"k-list-filter",children:pt(Te,{})}),pt(R,{style:{width:300},size:o.size,children:ri(z,{children:[pt(A,{children:"List item"}),pt(A,{children:"List item"}),pt(A,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!t?.[s],a.popup=t?.[s]?r:void 0)}),pt("div",{children:pt($,{placeholder:"Value",style:{width:300},...o,...a})})};$t.options=Dc;$t.states=Kc;$t.variants=zc;$t.defaultOptions=_c;$t.modifiers=Hc;$t.className=$.className;import{Fragment as tC,jsx as eC}from"react/jsx-runtime";import{Fragment as sC,jsx as iC}from"react/jsx-runtime";import{jsx as pC}from"react/jsx-runtime";import{jsx as cr}from"react/jsx-runtime";var Gc=H.states,Fc=H.defaultOptions,Vc=H.options,$c=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Xc=[],Xt=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t?.[r]?cr($,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[r]?cr(ya,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[r];break;case"spin-button":a.showSpinButton=t?.[r];break;default:break}}),cr(Vn,{value:"Value",style:{width:300},...o,...a})};Xt.options=Vc;Xt.states=Gc;Xt.variants=Xc;Xt.defaultOptions=Fc;Xt.modifiers=$c;Xt.className=H.className;import{Fragment as Eo,jsx as w,jsxs as Q}from"react/jsx-runtime";var ni="k-colorgradient-inputs",qc=[],Jc={size:[d.undefined,d.small,d.medium,d.large]},ii={mode:"rgba"},qt=e=>{let{mode:t=ii.mode,size:o,...a}=e;return Q("div",{...a,className:n(ni,"k-hstack"),children:[w("div",{className:"k-vstack",children:w(l,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&Q(Eo,{children:[Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),w("label",{className:"k-colorgradient-input-label",children:"R"})]}),Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),w("label",{className:"k-colorgradient-input-label",children:"G"})]}),Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),w("label",{className:"k-colorgradient-input-label",children:"B"})]}),Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),w("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&Q(Eo,{children:[Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),w("label",{className:"k-colorgradient-input-label",children:"R"})]}),Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),w("label",{className:"k-colorgradient-input-label",children:"G"})]}),Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),w("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&Q(Eo,{children:[Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),w("label",{className:"k-colorgradient-input-label",children:"H"})]}),Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),w("label",{className:"k-colorgradient-input-label",children:"S"})]}),Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),w("label",{className:"k-colorgradient-input-label",children:"V"})]}),Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),w("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&Q(Eo,{children:[Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),w("label",{className:"k-colorgradient-input-label",children:"H"})]}),Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),w("label",{className:"k-colorgradient-input-label",children:"S"})]}),Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),w("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&w(Eo,{children:Q("div",{className:"k-vstack k-flex-1",children:[w(oe,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),w("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};qt.states=qc;qt.options=Jc;qt.className=ni;qt.defaultOptions=ii;import{jsx as Lt,jsxs as Mt}from"react/jsx-runtime";var si="k-colorgradient-color-contrast",Wc=[],Yc={},Qc={},Jt=()=>Mt("div",{className:n(si,"k-vbox"),children:[Mt("div",{className:"k-contrast-ratio",children:[Lt("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),Mt("span",{className:"k-contrast-validation !k-text-success",children:[Lt(L,{icon:"check"}),Lt(L,{icon:"check"})]})]}),Mt("div",{children:[Lt("span",{children:"AA: 4.5"}),Mt("span",{className:"k-contrast-validation !k-text-success",children:["Pass",Lt(L,{icon:"check"})]})]}),Mt("div",{children:[Lt("span",{children:"AAA: 7.0"}),Mt("span",{className:"k-contrast-validation !k-text-error",children:["Fail",Lt(L,{icon:"x"})]})]})]});Jt.states=Wc;Jt.options=Yc;Jt.className=si;Jt.defaultOptions=Qc;var li="color-gradient",di="colorgradient";import{jsx as Pe,jsxs as Ao}from"react/jsx-runtime";var jo="k-colorgradient",Zc=[i.hover,i.focus,i.readonly,i.disabled],jc={size:[d.undefined,d.small,d.medium,d.large]},Ve={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"},te=e=>{let{size:t,mode:o=Ve.mode,readonly:a=Ve.readonly,disabled:r=Ve.disabled,gradientStyle:s=Ve.gradientStyle,dragHandleStyle:c=Ve.dragHandleStyle,alphaStyle:u=Ve.alphaStyle,alphaStyleHorizontal:b=Ve.alphaStyleHorizontal,contrast:h=Ve.contrast,dir:N,hover:x,focus:p,hoverHandle:g,focusHandle:k,canvasOrientation:S=Ve.canvasOrientation,role:T,tabIndex:M,...P}=e;return Ao("div",{...P,role:T??"textbox","aria-label":T==="none"?void 0:"Color gradient",tabIndex:M??0,"aria-disabled":r?"true":void 0,className:n(e.className,jo,I(jo,{size:t}),E(jo,{hover:x,focus:p,readonly:a,disabled:r})),dir:N,children:[!S||S==="horizontal"&&Ao("div",{className:"k-colorgradient-canvas k-hstack",children:[Pe("div",{className:"k-hsv-rectangle",style:s,children:Pe("div",{className:"k-hsv-gradient",children:Pe("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":g,"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})})}),Ao("div",{className:"k-hsv-controls k-hstack",children:[Pe(Qa,{className:"k-hue-slider",hover:g,focus:k}),o!=="rgb"&&o!=="hsv"&&Pe(Qa,{className:"k-alpha-slider",hover:g,focus:k,trackStyle:u})]})]}),S==="vertical"&&Ao("div",{className:"k-colorgradient-canvas k-vstack",children:[Pe("div",{className:"k-hsv-rectangle",style:s,children:Pe("div",{className:"k-hsv-gradient",children:Pe("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":g,"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})})}),Ao("div",{className:"k-hsv-controls k-vstack",children:[Pe(Ya,{className:"k-hue-slider",hover:g,focus:k}),o!=="rgb"&&o!=="hsv"&&Pe(Ya,{className:"k-alpha-slider",hover:g,focus:k,trackStyle:b})]})]}),Pe(qt,{mode:e.mode,size:t}),h&&Pe(Jt,{})]})};te.states=Zc;te.options=jc;te.className=jo;te.defaultOptions=Ve;te.moduleName=li;te.folderName=di;te.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)."}]};import{jsx as ep}from"react/jsx-runtime";var ea=e=>ep(te,{...e});import{jsx as YC}from"react/jsx-runtime";import{jsx as ey}from"react/jsx-runtime";import{jsx as pr}from"react/jsx-runtime";var tp=te.options,op=te.states,ap={...te.defaultOptions,variant:"rgba"},rp=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],np=[],Wt=e=>{let{variant:t,...o}=e;switch(t){case"hex":return pr(ea,{...o,mode:t});case"rgb":return pr(ea,{...o,mode:t});default:return pr(ea,{...o,mode:t})}};Wt.options=tp;Wt.states=op;Wt.variants=rp;Wt.defaultOptions=ap;Wt.modifiers=np;Wt.className=te.className;import{jsx as ip}from"react/jsx-runtime";var ur=e=>ip("tr",{role:"row",children:e.children});import{jsx as dp}from"react/jsx-runtime";var mr="k-colorpalette-tile",sp=[i.hover,i.focus,i.selected],lp={},Yt=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 dp("td",{...c,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:n(e.className,mr,E(mr,{hover:a,focus:r,selected:s})),style:u})};Yt.states=sp;Yt.options=lp;Yt.className=mr;var ci="color-palette",pi="colorpalette";import{jsx as Oo}from"react/jsx-runtime";var ta="k-colorpalette",cp=[i.disabled],pp={size:[d.undefined,d.small,d.medium,d.large]},ui={columns:10},be=e=>{let{size:t,palette:o,columns:a=ui.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,S)=>{p.push(Oo(Yt,{color:k,tileSize:r},S))});let g=Oo(ur,{children:p},x);u.push(g)})}return Oo("div",{...c,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:n(e.className,ta,E(ta,{disabled:s}),I(ta,{size:t})),children:Oo("table",{className:"k-colorpalette-table",role:"none",children:Oo("tbody",{children:u.length>0?u:e.children})})})};be.states=cp;be.options=pp;be.className=ta;be.defaultOptions=ui;be.moduleName=ci;be.folderName=pi;be.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 oa=be;var wo={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}};import{jsx as up}from"react/jsx-runtime";var mi=e=>up(oa,{palette:wo.basic,...e});import{jsx as Ry}from"react/jsx-runtime";import{jsx as Uy,jsxs as Gy}from"react/jsx-runtime";import{jsx as kp}from"react/jsx-runtime";var mp=be.options,fp=be.states,bp={...be.defaultOptions,variant:"basic"},hp=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],xp={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}},Np=[],Qt=e=>{let{variant:t="basic",...o}=e,a=xp[t];return kp(mi,{columns:a.columns,palette:a,...o})};Qt.options=mp;Qt.states=fp;Qt.variants=hp;Qt.defaultOptions=bp;Qt.modifiers=Np;Qt.className=be.className;var fi="color-editor",bi="coloreditor";import{jsx as Re,jsxs as Zt}from"react/jsx-runtime";var aa="k-coloreditor",vp=[i.focus],gp={size:[d.undefined,d.small,d.medium,d.large]},Bo={view:"gradient",palette:wo.office,actionButtons:!0,canvasOrientation:"horizontal"},J=e=>{let{size:t,view:o=Bo.view,palette:a=Bo.palette,color:r,currentColor:s,focus:c,focusView:u,dir:b,group:h,actionButtons:N=Bo.actionButtons,canvasOrientation:x=Bo.canvasOrientation,...p}=e;return Zt("div",{...p,role:"textbox","aria-label":"Color editor",tabIndex:0,className:n(e.className,"k-flatcolorpicker",aa,I(aa,{size:t}),E(aa,{focus:c})),dir:b,children:[Zt("div",{className:"k-coloreditor-header k-hstack",children:[Re("div",{className:"k-coloreditor-header-actions k-hstack",children:h&&Zt(C,{fillMode:"flat",children:[Re(l,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),Re(l,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),Re("div",{className:"k-spacer"}),Zt("div",{className:"k-coloreditor-header-actions k-hstack",children:[Re(l,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Zt("div",{className:"k-coloreditor-preview k-vstack",children:[Re(at,{className:"k-coloreditor-preview-color",color:r}),Re(at,{className:"k-coloreditor-current-color",color:s})]})]})]}),Re("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?Re(te,{focus:u,size:t,canvasOrientation:x,role:"none",tabIndex:-1}):Re(be,{palette:a,size:t})}),N&&Zt(Ge,{className:"k-coloreditor-footer",alignment:"start",children:[Re(l,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),Re(l,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};J.states=vp;J.options=gp;J.className=aa;J.defaultOptions=Bo;J.moduleName=fi;J.folderName=bi;J.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 jt=J;import{jsx as xT}from"react/jsx-runtime";import{jsx as gT}from"react/jsx-runtime";import{jsx as Lp}from"react/jsx-runtime";var hi=e=>Lp(jt,{group:!0,currentColor:"fuchsia",...e});import{jsx as Mp}from"react/jsx-runtime";var xi=e=>Mp(jt,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as Ni}from"react/jsx-runtime";var Sp=J.options,Ip=J.states,Cp={...J.defaultOptions,variant:"gradient"},yp=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Tp=[],eo=e=>{let{variant:t,...o}=e;return t==="palette"?Ni(xi,{...o,color:"white"}):Ni(hi,{...o,color:"rgba(183, 118 , 118, 1.00)"})};eo.options=Sp;eo.states=Ip;eo.variants=yp;eo.defaultOptions=Cp;eo.modifiers=Tp;eo.className=J.className;var ki="color-picker",vi="colorpicker";import{Fragment as Op,jsx as Ke,jsxs as fr}from"react/jsx-runtime";var gi="k-colorpicker",Ep=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Ap={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]},Li={arrowIconName:"chevron-down"},ne=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:r=Li.arrowIconName,prefix:s,suffix:c,value:u,placeholder:b,hover:h,focus:N,valid:x,invalid:p,required:g,disabled:k,valueIconName:S,popup:T,opened:M,adaptive:P,adaptiveSettings:W,adaptiveTitle:re,adaptiveSubtitle:le,...de}=e,Ne="colorpicker-popup";return fr(Op,{children:[fr(He,{...de,size:t,rounded:o,fillMode:a,hover:h,focus:N,valid:x,invalid:p,required:g,disabled:k,role:"combobox","aria-haspopup":"dialog","aria-expanded":M?"true":"false","aria-controls":M||P?Ne:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":k?"true":void 0,className:n(e.className,gi,"k-icon-picker"),children:[Ke(Ie,{children:s}),Ke(ht,{placeholder:b,value:u,showValue:!1,valueIcon:Ke(at,{className:"k-value-icon",color:u,iconName:S}),valueIconName:S}),Ke(Ce,{children:c}),Ke(l,{className:"k-input-button",icon:r,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:k})]}),M&&T&&Ke(V,{id:Ne,className:"k-colorpicker-popup",children:T}),P&&Ke(q,{adaptive:!0,id:Ne,...W,header:Ke(pe,{actionsEnd:Ke(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:re,subtitle:le}),footer:fr(rt,{children:[Ke(l,{text:"Cancel",size:"large"}),Ke(l,{text:"Set",size:"large",themeColor:"primary"})]}),children:Ke(J,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};ne.states=Ep;ne.options=Ap;ne.className=gi;ne.defaultOptions=Li;ne.moduleName=ki;ne.folderName=vi;ne.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 Ye=ne;var br="menu-button",Mi=br;import{jsx as Pp}from"react/jsx-runtime";var Si="k-menu-button",wp=[i.hover,i.focus,i.active,i.selected,i.disabled],Bp={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]},hr={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=hr.showArrow,arrowIconName:g=hr.arrowIconName,expanded:k,...S}=e;return Pp(l,{...S,className:n(e.className,Si),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:g,"aria-expanded":k?"true":"false",...!x&&N&&!e["aria-label"]&&{"aria-label":"Menu"},...h&&{"aria-disabled":"true"}})};_.states=wp;_.options=Bp;_.className=Si;_.defaultOptions=hr;_.moduleName=br;_.folderName=Mi;_.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 ge="menu",_e=ge;import{jsx as Po,jsxs as Ii}from"react/jsx-runtime";var xr="k-menu-item",Rp=[i.hover,i.focus,i.active,i.selected,i.disabled],Kp={},Ci={iconPosition:"before"},F=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=Ci.iconPosition,dir:g,children:k,expanded:S,...T}=e,M=x;return M||(M=g==="rtl"?"chevron-left":"chevron-right"),Ii("li",{...T,className:n(e.className,xr,"k-item",E(xr,{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":S?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Ii("span",{className:n("k-link k-menu-link"),children:[c&&p==="before"&&Po(L,{className:"k-menu-link-icon",icon:c}),Po("span",{className:"k-menu-link-text",children:u}),c&&p==="after"&&Po(L,{className:"k-menu-link-icon",icon:c}),N&&Po("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Po(L,{icon:M})})]}),k]})};F.states=Rp;F.options=Kp;F.className=xr;F.defaultOptions=Ci;F.moduleName=ge;F.folderName=_e;import{jsx as Ro,jsxs as yi}from"react/jsx-runtime";var Nr="k-menu-item",_p=[i.hover,i.focus,i.active,i.selected,i.disabled],Dp={},kr={dir:"ltr",iconPosition:"before"},X=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=kr.iconPosition,dir:g=kr.dir,children:k,popup:S,expanded:T,...M}=e,P=x;return P||(P=g==="rtl"?"chevron-left":"chevron-right"),yi("li",{...M,className:n(e.className,Nr,"k-item",E(Nr,{focus:o,disabled:s}),{"k-first":b,"k-last":h}),role:"menuitem",...N&&{"aria-haspopup":"menu"},...N&&{"aria-expanded":T?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[yi("span",{className:n("k-link k-menu-link",E("k-menu-link",{hover:t,active:a,selected:r,disabled:s})),children:[c&&p==="before"&&Ro(L,{className:"k-menu-link-icon",icon:c}),Ro("span",{className:"k-menu-link-text",children:u}),c&&p==="after"&&Ro(L,{className:"k-menu-link-icon",icon:c}),N&&Ro("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Ro(L,{icon:P})})]}),k,S]})};X.states=_p;X.options=Dp;X.className=Nr;X.defaultOptions=kr;X.moduleName=ge;X.folderName=_e;import{jsx as Gp}from"react/jsx-runtime";var Ti="k-menu-scroll-wrapper",Hp=[],zp={},Up={},St=e=>{let{className:t,children:o,orientation:a,...r}=e;return Gp("div",{...r,className:n(t,Ti,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};St.states=Hp;St.options=zp;St.className=Ti;St.defaultOptions=Up;St.moduleName=ge;St.folderName=_e;var Ei=St;import{Fragment as vr,jsx as It,jsxs as ra}from"react/jsx-runtime";var gr="k-menu",Fp=[],Vp={},na={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Z=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=It("ul",{dir:u,...N,className:n(e.className,"k-reset",gr,{[`${gr}-${o}`]:o,"k-header":a}),role:h?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return ra(vr,{children:[r?ra(Ei,{orientation:o,style:c,dir:e.dir,children:[s==="start"&&ra(vr,{children:[It(l,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),It(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"&&It(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"&&ra(vr,{children:[It(l,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),It(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"&&It(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]})};Z.states=Fp;Z.options=Vp;Z.className=gr;Z.defaultOptions=na;Z.moduleName=ge;Z.folderName=_e;Z.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."}]};import{jsx as $p}from"react/jsx-runtime";var Lr="k-separator",Ai={orientation:"horizontal"},to=e=>{let{orientation:t=Ai.orientation,...o}=e;return $p("li",{...o,className:n(e.className,"k-item",Lr,{[`${Lr}-${t}`]:t}),role:"separator"})};to.className=Lr;to.defaultOptions=Ai;to.moduleName=ge;to.folderName=_e;import{Fragment as OE,jsx as wE}from"react/jsx-runtime";import{jsx as Wp}from"react/jsx-runtime";var Mr="k-menu-group",Xp=[],qp={size:[d.undefined,d.small,d.medium,d.large]},Jp={},ie=e=>{let{children:t,size:o,...a}=e;return Wp("ul",{...a,className:n(e.className,Mr,I(Mr,{size:o})),role:"menu",children:t})};ie.states=Xp;ie.options=qp;ie.className=Mr;ie.defaultOptions=Jp;ie.moduleName=ge;ie.folderName=_e;import{Fragment as Yp,jsx as oo,jsxs as Qp}from"react/jsx-runtime";var Sr=e=>oo(Z,{children:Qp(Yp,{children:[oo(F,{first:!0,text:"Item 1"}),oo(F,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),oo(F,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),oo(F,{text:"Item 4"}),oo(F,{last:!0,text:"Item 5"})]}),...e});import{Fragment as XE,jsx as VE,jsxs as $E}from"react/jsx-runtime";import{Fragment as QE,jsx as YE,jsxs as ZE}from"react/jsx-runtime";import{Fragment as aA,jsx as oA,jsxs as rA}from"react/jsx-runtime";import{Fragment as dA,jsx as lA,jsxs as cA}from"react/jsx-runtime";import{jsx as Ct,jsxs as ou}from"react/jsx-runtime";var Zp=Z.options,jp=Z.states,Oi={...Z.defaultOptions,variant:"horizontal"},eu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],tu=[{name:"scrollable",title:"Scrollable"},{name:"opened",title:"Opened"}],ao=e=>{let{variant:t,modifiers:o,...a}={...Oi,...e},r={};return Object.keys(o||{}).forEach(s=>{switch(s){case"scrollable":r.scrollable=!!o?.[s];break;case"opened":r.opened=!!o?.[s],r.popup=Ct(V,{className:"k-menu-popup",children:ou(ie,{children:[Ct(X,{text:"Item 1"}),Ct(X,{text:"Item 2"}),Ct(to,{}),Ct(X,{text:"Item 3"})]})});break}}),t==="vertical"?Ct(Sr,{...a,...r,orientation:"vertical",style:{width:"200px"}}):Ct(Sr,{...a,...r})};ao.options=Zp;ao.states=jp;ao.variants=eu;ao.defaultOptions=Oi;ao.modifiers=tu;ao.className=Z.className;import{jsx as iu}from"react/jsx-runtime";var wi="k-spreadsheet-menu",au=[],ru={},nu={},ro=e=>{let{children:t,...o}=e;return iu(Z,{...o,className:n(e.className,wi),children:t})};ro.states=au;ro.options=ru;ro.className=wi;ro.defaultOptions=nu;import{jsx as su}from"react/jsx-runtime";var ia=e=>su(Ye,{...e});import{jsx as XA}from"react/jsx-runtime";import{jsx as QA}from"react/jsx-runtime";import{jsx as tO}from"react/jsx-runtime";import{jsx as nO}from"react/jsx-runtime";import{jsx as dO}from"react/jsx-runtime";import{jsx as mO}from"react/jsx-runtime";import{jsx as yt}from"react/jsx-runtime";var lu=Ye.options,du=Ye.states,Bi={...Ye.defaultOptions,variant:"color"},cu=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],pu=[{name:"opened",title:"Opened"}],no=e=>{let{variant:t,modifiers:o,...a}={...Bi,...e},r={};Object.keys(o||{}).forEach(c=>{c==="opened"&&(r.opened=!!o?.[c],r.popup=o?.[c]?yt(J,{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 yt("div",{style:s,children:yt(ia,{...a,...r})});case"icon":return yt("div",{style:s,children:yt(ia,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...r})});default:return yt("div",{style:s,children:yt(ia,{value:"rgba(183, 118 , 118, 1.00)",...a,...r})})}};no.options=lu;no.states=du;no.variants=cu;no.defaultOptions=Bi;no.modifiers=pu;no.className=Ye.className;var Ir="combobox",Pi=Ir;import{Fragment as Cr,jsx as ee,jsxs as Ko}from"react/jsx-runtime";var Ri="k-combobox",uu=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],mu={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]},Ki={separators:!0},se=e=>{let{size:t,rounded:o,fillMode:a,separators:r=Ki.separators,prefix:s,suffix:c,value:u,placeholder:b,hover:h,focus:N,valid:x,invalid:p,required:g,loading:k,disabled:S,popup:T,opened:M,readonly:P,adaptive:W,adaptiveSettings:re,adaptiveTitle:le,adaptiveSubtitle:de,adaptiveCustomValue:Ne,id:bt,autocomplete:ca,activeDescendant:tt,"aria-label":Do,...pa}=e,ua=bt?`${bt}-listbox`:void 0;return Ko(Cr,{children:[Ko(Y,{...pa,size:t,rounded:o,fillMode:a,hover:h,focus:N,valid:x,invalid:p,required:g,loading:k,disabled:S,readonly:P,className:n(e.className,Ri),children:[s&&Ko(Cr,{children:[ee(Ie,{children:s}),r&&ee(ye,{})]}),ee(ve,{id:bt,placeholder:b,value:u,role:"combobox","aria-haspopup":"listbox","aria-expanded":M?"true":"false","aria-controls":M?ua:void 0,"aria-activedescendant":M&&tt?tt:void 0,"aria-autocomplete":ca,"aria-invalid":p?"true":void 0,"aria-busy":k?"true":void 0,"aria-label":Do,disabled:S,readOnly:P}),ee(ce,{valid:x,invalid:p,loading:k,disabled:S}),ee(he,{loading:k,disabled:S}),ee(ke,{loading:k,disabled:S,readonly:P,value:u}),c&&Ko(Cr,{children:[r&&ee(ye,{}),ee(Ce,{children:c})]}),ee(l,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:S})]}),M&&T&&ee(V,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:T}),W&&ee(q,{adaptive:!0,id:bt?`${bt}-adaptive`:void 0,...re,header:ee(pe,{actionsEnd:ee(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:u,inputPlaceholder:b,title:le,subtitle:de}),children:ee("div",{className:"k-list-container",children:ee(R,{customValue:Ne?ee(ct,{text:`Use "${u}"`}):void 0,size:"large",children:Ko(z,{"aria-label":le||"Options",children:[ee(A,{text:"List item"}),ee(A,{text:"List item"}),ee(A,{text:"List item"})]})})})})]})};se.states=uu;se.options=mu;se.className=Ri;se.defaultOptions=Ki;se.moduleName=Ir;se.folderName=Pi;se.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 Le=se;import{jsx as fu}from"react/jsx-runtime";var _i=e=>fu(Le,{...e});import{jsx as WO,jsxs as YO}from"react/jsx-runtime";import{jsx as ow,jsxs as aw}from"react/jsx-runtime";import{jsx as dw,jsxs as cw}from"react/jsx-runtime";import{Fragment as hw,jsx as bw}from"react/jsx-runtime";import{Fragment as Lw,jsx as gw}from"react/jsx-runtime";import{jsx as Tw,jsxs as Ew}from"react/jsx-runtime";import{Fragment as _w,jsx as Rw,jsxs as Kw}from"react/jsx-runtime";import{jsx as Uw}from"react/jsx-runtime";import{jsx as $w}from"react/jsx-runtime";import{jsx as Qw,jsxs as Zw}from"react/jsx-runtime";import{jsx as rB,jsxs as nB}from"react/jsx-runtime";import{jsx as ut,jsxs as vu}from"react/jsx-runtime";var bu=se.states,hu=se.defaultOptions,xu=se.options,Nu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],ku=[],io=e=>{let{modifiers:t,...o}=e,a={},r=ut(R,{style:{width:300},size:o.size,children:vu(z,{children:[ut(A,{children:"List item"}),ut(A,{children:"List item"}),ut(A,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?ut(L,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?ut(ot,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[s],a.popup=t?.[s]?r:void 0;break;default:break}}),ut("div",{children:ut(_i,{value:"Value",style:{width:300},...o,...a})})};io.options=xu;io.states=bu;io.variants=ku;io.defaultOptions=hu;io.modifiers=Nu;io.className=se.className;import{jsx as wB}from"react/jsx-runtime";import{jsx as KB}from"react/jsx-runtime";import{jsx as zB}from"react/jsx-runtime";import{Fragment as WB,jsx as qB,jsxs as JB}from"react/jsx-runtime";import{jsx as jB}from"react/jsx-runtime";import{Fragment as Iu,jsx as $e,jsxs as Di}from"react/jsx-runtime";var gu=l.states,Hi={...l.defaultOptions,variant:"text"},Lu=l.options,Mu=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Su=[{name:"opened",title:"Opened"}],so=e=>{let{variant:t,modifiers:o,...a}={...Hi,...e},r={},s=$e(V,{className:"k-menu-popup",children:Di(ie,{size:a.size,children:[$e(X,{first:!0,text:"Menu Item"}),$e(X,{text:"Menu Item"}),$e(X,{last:!0,text:"Menu Item"})]})}),c;switch(t){case"icon-only":c=$e("div",{children:$e(_,{...a,...r,icon:"star"})});break;case"icon-and-text":c=$e("div",{children:$e(_,{...a,...r,icon:"star",children:"Dropdown Button"})});break;default:c=$e("div",{children:$e(_,{...a,...r,children:"Dropdown Button"})});break}return Di(Iu,{children:[c,o?.opened&&s]})};so.options=Lu;so.states=gu;so.variants=Mu;so.defaultOptions=Hi;so.modifiers=Su;so.className=_.className;var yr="split-button",zi=yr;import{Fragment as Tu,jsx as Tr,jsxs as Ui}from"react/jsx-runtime";var Er="k-split-button",Cu=[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]},Gi={arrowIconName:"chevron-down"},B=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=Gi.arrowIconName,popup:g,opened:k,popupId:S,...T}=e;return Ui(Tu,{children:[Ui("div",{...T,className:n(e.className,Er,"k-button-group",I(Er,{rounded:o})),children:[Tr(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}),Tr(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?S:void 0,tabIndex:-1,...h&&{"aria-disabled":"true"}})]}),k&&g&&Tr(V,{className:"k-menu-popup",children:g})]})};B.states=Cu;B.options=yu;B.className=Er;B.defaultOptions=Gi;B.moduleName=yr;B.folderName=zi;B.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 Ar=B;import{jsx as Au}from"react/jsx-runtime";var Eu="k-toolbar-separator",j=e=>Au("div",{className:n(Eu,e.className,"k-separator")});var Qe="toolbar",mt=Qe;import{Fragment as Or,jsx as K,jsxs as lo}from"react/jsx-runtime";var Ze="k-toolbar",Ou=[i.focus],wu={size:[d.undefined,d.small,d.medium,d.large],fillMode:[m.undefined,m.solid,m.outline,m.flat]},Bu={scrollButtons:"around"},U=e=>{let{size:t,fillMode:o,focus:a,resizable:r,scrollable:s,scrollButtons:c,scrollingPosition:u,section:b,...h}=e,N=[],x=(p,g)=>{let k=[];if(p.type===l&&p.props.className&&p.props.className.includes("k-toolbar-overflow-button"))k.push(K(l,{...p.props,className:`${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===l)k.push(K(l,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===go)k.push(K(go,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===ot)k.push(K(ot,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===_)k.push(K(_,{...p.props,className:`k-toolbar-menu-button ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===Ar)k.push(K(Ar,{...p.props,className:`k-toolbar-split-button ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===C||p.props.className&&p.props.className.includes("k-button-group")){let S=[];(Array.isArray(p.props.children)?p.props.children:[p.props.children]).forEach((M,P)=>{S.push(K(l,{...M.props,className:`${M.props.className?M.props.className:""}`},`${P}-${new Date().getTime()}`))}),k.push(K(C,{...p.props,className:`k-toolbar-button-group ${p.props.className?p.props.className:""}`,children:S},`${g}-${new Date().getTime()}`))}else p.type===se?k.push(K(se,{...p.props,className:`k-toolbar-combobox ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`)):p.type===$?k.push(K($,{...p.props,className:`k-toolbar-dropdownlist ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`)):p.type===ne?k.push(K(ne,{...p.props,className:`k-toolbar-colorpicker ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`)):k.push(p);k.forEach(S=>{N.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((g,k)=>{x(g,k)}),lo("div",{...h,className:n(e.className,Ze,I(Ze,{size:t,fillMode:o}),E(Ze,{focus:a}),{[`${Ze}-resizable`]:r,[`${Ze}-scrollable`]:s,[`${Ze}-scrollable-overlay`]:s&&c==="hidden",[`${Ze}-scrollable-${u}`]:u&&u!=="both",[`${Ze}-section`]:b}),role:"toolbar","aria-label":"Toolbar",children:[!s&&N,s&&c==="hidden"&&K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),s&&c==="start"&&lo(Or,{children:[lo(C,{children:[K("span",{className:n("k-toolbar-prev","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(L,{className:"k-button-icon",icon:"chevron-left"})}),K("span",{className:n("k-toolbar-next","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(L,{className:"k-button-icon",icon:"chevron-right"})})]}),K(j,{className:"k-toolbar-button-separator"}),K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N})]}),s&&c==="end"&&lo(Or,{children:[K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),K(j,{className:"k-toolbar-button-separator"}),lo(C,{children:[K("span",{className:n("k-toolbar-prev","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(L,{className:"k-button-icon",icon:"chevron-left"})}),K("span",{className:n("k-toolbar-next","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(L,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(c==="around"||!c)&&lo(Or,{children:[K("span",{className:n("k-toolbar-prev","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(L,{className:"k-button-icon",icon:"chevron-left"})}),K(j,{className:"k-toolbar-button-separator"}),K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),K(j,{className:"k-toolbar-button-separator"}),K("span",{className:n("k-toolbar-next","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(L,{className:"k-button-icon",icon:"chevron-right"})})]})]})};U.states=Ou;U.options=wu;U.className=Ze;U.defaultOptions=Bu;U.moduleName=Qe;U.folderName=mt;U.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."}]};import{jsx as _u}from"react/jsx-runtime";var Fi="k-floating-toolbar",Pu=[],Ru={},Ku={},co=e=>{let{...t}=e;return _u("div",{...t,className:n(e.className,Fi),children:e.children})};co.states=Pu;co.options=Ru;co.className=Fi;co.defaultOptions=Ku;co.moduleName=Qe;co.folderName=mt;import{jsx as Uu}from"react/jsx-runtime";var wr="k-toolbar-item",Du=[i.focus],Hu={},zu={},je=e=>{let{focus:t,...o}=e;return Uu("div",{...o,className:n(e.className,wr,E(wr,{focus:t})),children:e.children})};je.states=Du;je.options=Hu;je.className=wr;je.defaultOptions=zu;je.moduleName=Qe;je.folderName=mt;import{jsx as Vi}from"react/jsx-runtime";var $i="k-toolbar-popup",Gu=[],Fu={size:[d.undefined,d.small,d.medium,d.large],fillMode:[m.undefined,m.solid,m.outline,m.flat]},Vu={},Tt=e=>{let{size:t,fillMode:o,section:a,...r}=e;return Vi(V,{...r,className:n(e.className,$i),children:a?Vi("span",{className:n("k-toolbar-items-list",I("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Tt.states=Gu;Tt.options=Fu;Tt.className=$i;Tt.defaultOptions=Vu;Tt.moduleName=Qe;Tt.folderName=mt;var la=Tt;import{jsx as o0}from"react/jsx-runtime";import{jsx as i0}from"react/jsx-runtime";import{jsx as c0}from"react/jsx-runtime";import{jsx as h0,jsxs as x0}from"react/jsx-runtime";import{jsx as g0}from"react/jsx-runtime";import{jsx as et,jsxs as Wu}from"react/jsx-runtime";var $u=B.states,Xi={...B.defaultOptions,variant:"text"},Xu=B.options,qu=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ju=[{name:"opened",title:"Opened"}],po=e=>{let{variant:t,modifiers:o,...a}={...Xi,...e},r={},s=Wu(ie,{size:a.size,children:[et(X,{first:!0,text:"Menu Item"}),et(X,{text:"Menu Item"}),et(X,{last:!0,text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(c=>{c==="opened"&&(r.opened=!!o?.[c],r.popup=o?.[c]?s:"")}),t){case"icon-only":return et("div",{children:et(B,{...a,...r,icon:"star"})});case"icon-and-text":return et("div",{children:et(B,{...a,...r,icon:"star",children:"Split Button"})});default:return et("div",{children:et(B,{...a,...r,children:"Split Button"})})}};po.options=Xu;po.states=$u;po.variants=qu;po.defaultOptions=Xi;po.modifiers=Ju;po.className=B.className;import{jsx as Et,jsxs as Yu}from"react/jsx-runtime";var qi=e=>Et(U,{children:[Et(l,{children:"Button"},"toolbar-button"),Et(_,{text:"Menu button"},"toolbar-menu-button"),Et(B,{children:"Split button"},"toolbar-split-button"),Yu(C,{children:[Et(l,{className:"k-group-start",icon:"align-left",children:"Left"}),Et(l,{icon:"align-center",children:"Center"}),Et(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Y0,jsxs as Q0}from"react/jsx-runtime";import{jsx as Me,jsxs as Ji}from"react/jsx-runtime";var Wi=e=>Me(U,{scrollable:!0,...e,children:[Me(l,{children:"Button"},"toolbar-button"),Me(_,{text:"Menu button"},"toolbar-menu-button"),Me(B,{children:"Split button"},"toolbar-split-button"),Ji(C,{children:[Me(l,{className:"k-group-start",icon:"align-left",children:"Left"}),Me(l,{icon:"align-center",children:"Center"}),Me(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Me(l,{children:"Button"},"toolbar-button"),Me(_,{text:"Menu button"},"toolbar-menu-button"),Me(B,{children:"Split button"},"toolbar-split-button"),Ji(C,{children:[Me(l,{className:"k-group-start",icon:"align-left",children:"Left"}),Me(l,{icon:"align-center",children:"Center"}),Me(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Se,jsxs as Yi}from"react/jsx-runtime";var Qi=({scrollingPosition:e="start",...t})=>Se(U,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[Se(l,{children:"Button"},"toolbar-button"),Se(_,{text:"Menu button"},"toolbar-menu-button"),Se(B,{children:"Split button"},"toolbar-split-button"),Yi(C,{children:[Se(l,{className:"k-group-start",icon:"align-left",children:"Left"}),Se(l,{icon:"align-center",children:"Center"}),Se(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Se(l,{children:"Button"},"toolbar-button"),Se(_,{text:"Menu button"},"toolbar-menu-button"),Se(B,{children:"Split button"},"toolbar-split-button"),Yi(C,{children:[Se(l,{className:"k-group-start",icon:"align-left",children:"Left"}),Se(l,{icon:"align-center",children:"Center"}),Se(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Qu,jsx as xe,jsxs as da}from"react/jsx-runtime";var Zi=({fillMode:e,size:t,...o})=>da(Qu,{children:[xe(U,{section:!0,fillMode:e,size:t,children:[xe(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),da(C,{fillMode:e,children:[xe(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),xe(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),xe(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),xe(j,{className:"k-toolbar-button-separator"}),xe(l,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),da(la,{size:t,fillMode:e,section:!0,...o,children:[xe(B,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),xe(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),xe(j,{}),xe(_,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),da(C,{fillMode:e,children:[xe(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),xe(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),xe(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as AR,jsx as TR,jsxs as ER}from"react/jsx-runtime";import{Fragment as UR,jsx as HR,jsxs as zR}from"react/jsx-runtime";import{jsx as ft}from"react/jsx-runtime";var Zu=U.options,ju=U.states,ji={...U.defaultOptions,variant:"default"},em=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],tm=[],uo=e=>{let{variant:t,...o}={...ji,...e};switch(t){case"responsive":return ft("div",{children:ft(Zi,{style:{width:"583px"},...o})});case"overlay":return ft("div",{children:ft(Qi,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return ft("div",{children:ft(Wi,{style:{width:"583px"},...o})});default:return ft("div",{children:ft(qi,{style:{width:"583px"},...o})})}};uo.options=Zu;uo.states=ju;uo.variants=em;uo.defaultOptions=ji;uo.modifiers=tm;uo.className=U.className;import{jsx as nm}from"react/jsx-runtime";var es="k-spreadsheet-toolbar",om=[],am={},rm={},mo=e=>{let{children:t,...o}=e;return nm(U,{...o,resizable:!0,className:n(e.className,es),fillMode:"flat","aria-label":o["aria-label"]||"Spreadsheet toolbar",children:t})};mo.states=om;mo.options=am;mo.className=es;mo.defaultOptions=rm;import{jsx as O,jsxs as Pr}from"react/jsx-runtime";var ts="k-spreadsheet-header",im=[],sm={},lm=[O(l,{icon:"arrow-rotate-ccw",fillMode:"flat","aria-label":"Undo"},"undo"),O(l,{icon:"arrow-rotate-cw",fillMode:"flat","aria-label":"Redo"},"redo"),O(j,{},"sep1"),O(l,{icon:"cut",fillMode:"flat","aria-label":"Cut"},"cut"),O(l,{icon:"copy",fillMode:"flat","aria-label":"Copy"},"copy"),O(l,{icon:"clipboard",fillMode:"flat","aria-label":"Paste"},"paste"),O(j,{},"sep2"),O($,{value:"Font Name",fillMode:"flat","aria-label":"Font name"},"fontname"),O($,{value:"Font Size",fillMode:"flat","aria-label":"Font size"},"fontsize"),O(j,{},"sep3"),Pr(C,{fillMode:"flat",children:[O(l,{className:"k-group-start",icon:"font-grow",fillMode:"flat","aria-label":"Increase font size"}),O(l,{className:"k-group-end",icon:"font-shrink",fillMode:"flat","aria-label":"Decrease font size"})]},"fontgrow"),O(j,{},"sep4"),Pr(C,{fillMode:"flat",children:[O(l,{className:"k-group-start",icon:"bold",fillMode:"flat","aria-label":"Bold"}),O(l,{icon:"italic",fillMode:"flat","aria-label":"Italic"}),O(l,{icon:"underline",fillMode:"flat","aria-label":"Underline"}),O(l,{className:"k-group-end",icon:"strikethrough",fillMode:"flat","aria-label":"Strikethrough"})]},"fontstyle"),O(je,{children:O(ne,{value:"red",valueIconName:"foreground-color",fillMode:"flat","aria-label":"Text color"})},"textcolor"),O(j,{},"sep5"),O(je,{children:O(ne,{value:"fuchsia",valueIconName:"droplet",fillMode:"flat","aria-label":"Background color"})},"bgcolor"),O(j,{},"sep6"),O(_,{fillMode:"flat",icon:"borders-all",showArrow:!0,"aria-label":"Borders"},"borders"),O(j,{},"sep7"),O(_,{fillMode:"flat",icon:"align-left",showArrow:!0,"aria-label":"Horizontal alignment"},"halign"),O(_,{fillMode:"flat",icon:"align-middle",showArrow:!0,"aria-label":"Vertical alignment"},"valign"),O(j,{},"sep8"),O(l,{fillMode:"flat",icon:"text-wrap","aria-label":"Wrap text"},"wrap")],dm=[O(F,{first:!0,text:"File"},"file"),O(F,{text:"Home",active:!0},"home"),O(F,{text:"Insert"},"insert"),O(F,{text:"Format"},"format"),O(F,{text:"Formulas"},"formulas"),O(F,{text:"Data"},"data"),O(F,{last:!0,text:"View"},"view")],Br={toolbarItems:lm,menuItems:dm},_o=e=>{let{toolbarItems:t=Br.toolbarItems,menuItems:o=Br.menuItems,...a}=e;return Pr("div",{...a,className:n(ts,e.className),children:[O(ro,{children:o}),O(mo,{children:t})]})};_o.states=im;_o.options=sm;_o.className=ts;_o.defaultOptions=Br;var yK=_o;export{ts as SPREADSHEETHEADER_CLASSNAME,_o as SpreadsheetHeader,yK as default};
|
|
1
|
+
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 I=(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"}),E=(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:g,highlighted:k,...S}=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":g,"k-highlighted":k},Object.keys(S).reduce((T,M)=>(M.startsWith("k-")?T[M]=S[M]:T[`k-${M}`]=S[M],T),{}))};function Kr(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 ma={};function D(e){return ma[e]=(ma[e]||0)+1,`k-${e}-${ma[e]}`}import{Fragment as is,jsx as _r}from"react/jsx-runtime";var fa="k-font-icon",as=[],rs={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]},ns={},fo=e=>{let{size:t,themeColor:o,icon:a,rotate:r,flip:s,...c}=e;return a?_r("span",{...c,className:n(e.className,fa,I(fa,{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"}):_r(is,{})};fo.states=as;fo.options=rs;fo.className=fa;fo.defaultOptions=ns;var Dr=fo;import{Fragment as ds,jsx as Ho}from"react/jsx-runtime";var ba="k-svg-icon",ss=[],ls={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]},Hr={viewBox:"0 0 24 24"},bo=e=>{let{size:t,themeColor:o,rotate:a,flip:r,viewBox:s=Hr.viewBox,icon:c,...u}=e;if(!c)return Ho(ds,{});if(c==="none")return Ho("span",{...u,className:n(e.className,ba,I("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let b=typeof c=="object"&&c.name&&c.name;return Ho("span",{...u,className:n(e.className,ba,I("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:Ho("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})})};bo.states=ss;bo.options=ls;bo.className=ba;bo.defaultOptions=Hr;var ha=bo;import*as xa from"@progress/kendo-svg-icons";var zr="icon",Ur="icons";import{useContext as ps}from"react";import{createContext as cs}from"react";var Gr=cs({iconsType:"svg"});import{Fragment as Fr,jsx as ho}from"react/jsx-runtime";var zo="k-icon",us=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),ms=[],fs={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]},Na={viewBox:"0 0 24 24",type:"svg"},L=e=>{let{iconsType:t}=ps(Gr),{size:o,themeColor:a,icon:r,type:s=t||Na.type,rotate:c,flip:u,viewBox:b=Na.viewBox,...h}=e;if(!r)return ho(Fr,{});if((t||s)==="svg"){if(r==="none")return ho(ha,{...h,className:n(e.className,zo),icon:r,size:o});let x=xa[r]?r:us(`${r}-icon`);return xa[x]?ho(ha,{...h,className:n(e.className,zo),icon:xa[x],size:o,themeColor:a,rotate:c,flip:u,viewBox:b}):ho(Fr,{})}return ho(Dr,{...h,className:n(e.className,zo),icon:r,size:o,themeColor:a,rotate:c,flip:u})};L.states=ms;L.options=fs;L.defaultOptions=Na;L.className=zo;L.moduleName=zr;L.folderName=Ur;L.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var ka="button",Vr=ka;import{Fragment as Ns,jsx as xo,jsxs as $r}from"react/jsx-runtime";var No="k-button",bs=["icon-button"],hs=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],xs={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]},va={showArrow:!1,arrowIconName:"chevron-down"},l=e=>{let{as:t="button",size:o,rounded:a,fillMode:r,themeColor:s,showArrow:c=va.showArrow,arrowIconName:u=va.arrowIconName,variant:b,hover:h,focus:N,active:x,selected:p,disabled:g,togglable:k,ariaDisabled:S,icon:T,text:M,iconClassName:P,className:W,...re}=e,le=T!==void 0,de=e.children!==void 0;return $r(t,{className:n(W,No,Kr(No,b),I(No,{size:o,rounded:a,fillMode:r,themeColor:s}),E(No,{hover:h,focus:N,active:x,disabled:g||S,selected:p}),{"k-icon-button":!M&&!de&&le}),...re,"aria-pressed":k?p?"true":"false":void 0,"aria-disabled":S?"true":void 0,disabled:g||void 0,children:[T&&xo(L,{className:n(P,"k-button-icon"),icon:T}),M?$r(Ns,{children:[M&&xo("span",{className:"k-button-text",children:M}),e.children]}):e.children&&xo("span",{className:"k-button-text",children:e.children}),c&&xo("span",{className:"k-menu-button-arrow k-button-arrow",children:xo(L,{icon:u})})]})};l.states=hs;l.options=xs;l.variants=bs;l.className=No;l.defaultOptions=va;l.moduleName=ka;l.folderName=Vr;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 ga="button",Xr=ga;import{jsx as Ls}from"react/jsx-runtime";var ko="k-button-group",ks=[i.disabled],vs={fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},gs={},C=e=>{let{fillMode:t,disabled:o,stretched:a,...r}=e;return Ls("div",{role:"group",...r,className:n(e.className,ko,I(ko,{fillMode:t}),E(ko,{disabled:o}),{[`${ko}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};C.states=ks;C.options=vs;C.className=ko;C.defaultOptions=gs;C.moduleName=ga;C.folderName=Xr;C.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 vo="input",Uo=vo;import{jsx as Cs}from"react/jsx-runtime";var Go="k-input",Ms=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Ss={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]},Is={},Y=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 Cs("span",{...x,className:n(e.className,Go,I(Go,{size:b,rounded:h,fillMode:N}),E(Go,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:c,readonly:u}))})};Y.states=Ms;Y.options=Ss;Y.className=Go;Y.defaultOptions=Is;Y.moduleName=vo;Y.folderName=Uo;import{jsx as As}from"react/jsx-runtime";var Fo="k-picker",ys=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Ts={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]},Es={},He=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 As("span",{...x,className:n(e.className,Fo,I(Fo,{size:b,rounded:h,fillMode:N}),E(Fo,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:c,readonly:u})),children:e.children})};He.states=ys;He.options=Ts;He.className=Fo;He.defaultOptions=Es;He.moduleName=vo;He.folderName=Uo;import{Fragment as Bs,jsx as La}from"react/jsx-runtime";var qr="k-clear-value",Os=[i.disabled,i.loading,i.readonly],ws={},ke=e=>{let{disabled:t,loading:o,readonly:a,value:r}=e;return t||a||o||!r?La(Bs,{}):La("span",{className:n(e.className,qr),children:La(L,{icon:"x"})})};ke.states=Os;ke.options=ws;ke.className=qr;import{jsx as Ks}from"react/jsx-runtime";var Ma="k-input-inner",Ps=[],Rs={},Vo={type:"text",autocomplete:"off",value:"",placeholder:""},ve=e=>{let{value:t=Vo.value,type:o=Vo.type,placeholder:a=Vo.placeholder,autocomplete:r=Vo.autocomplete,disabled:s,readOnly:c,...u}=e;return Ks("input",{...u,type:o,className:n(e.className,Ma,I(Ma,e)),placeholder:a,autoComplete:r,defaultValue:t,disabled:s||void 0,readOnly:c||void 0})};ve.states=Ps;ve.options=Rs;ve.className=Ma;import{jsx as Jr,jsxs as Hs}from"react/jsx-runtime";var Sa="k-input-inner",_s=[],Ds={},ht=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:r,valueIconName:s,...c}=e;return Hs("span",{...c,className:n(e.className,Sa,I(Sa,e)),children:[r,!r&&s&&Jr(L,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&Jr("span",{className:"k-input-value-text",children:t})]})};ht.states=_s;ht.options=Ds;ht.className=Sa;import{jsx as Gs}from"react/jsx-runtime";var Ia="k-input-inner",zs=[],Us={},Wr={value:"",placeholder:""},Ca=e=>{let{value:t=Wr.value,placeholder:o=Wr.placeholder,rows:a,disabled:r,...s}=e;return Gs("textarea",{...s,className:n(e.className,Ia,I(Ia,e)),placeholder:o,rows:a,defaultValue:t,disabled:r||void 0})};Ca.states=zs;Ca.options=Us;Ca.className=Ia;import{Fragment as Vs,jsx as Yr}from"react/jsx-runtime";var Qr="k-input-loading-icon",Fs=[i.disabled,i.loading],he=e=>{let{disabled:t,loading:o}=e;return t||!o?Yr(Vs,{}):Yr("span",{className:n(e.className,Qr,"k-icon k-i-loading")})};he.states=Fs;he.className=Qr;import{Fragment as qs,jsx as Zr}from"react/jsx-runtime";var jr="k-input-validation-icon",$s=[i.valid,i.invalid,i.disabled,i.loading],Xs={},ce=e=>{let{valid:t,invalid:o,disabled:a,loading:r}=e,s=o?"warning-circle":"check-circle";return a||r||!!!(t||o)?Zr(qs,{}):Zr(L,{className:n(jr),icon:s})};ce.states=$s;ce.options=Xs;ce.className=jr;import{Fragment as Ys,jsx as en}from"react/jsx-runtime";var Js="k-input-prefix",Ws={direction:"horizontal"},Ie=e=>{let{direction:t=Ws.direction,...o}=e;return e.children?en("span",{...o,className:n(Js,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):en(Ys,{})};import{Fragment as js,jsx as tn}from"react/jsx-runtime";var Qs="k-input-suffix",Zs={direction:"horizontal"},Ce=e=>{let{direction:t=Zs.direction,...o}=e;return e.children?tn("span",{...o,className:n(Qs,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):tn(js,{})};import{jsx as _f}from"react/jsx-runtime";import{jsx as tl}from"react/jsx-runtime";var el="k-input-suffix-text",ya=e=>{let{children:t,...o}=e;return tl("span",{...o,className:n(el,e.className),children:t})};import{jsx as al}from"react/jsx-runtime";var on="k-input-separator",ol={direction:"vertical"},ye=e=>{let{direction:t=ol.direction,...o}=e;return al("span",{...o,className:n(on,e.className,{[`${on}-${t}`]:t})})};import{jsx as rl}from"react/jsx-runtime";var xt=e=>rl(l,{children:"Button",...e});import{Fragment as an,jsx as ze,jsxs as Ta}from"react/jsx-runtime";var nl=Y.states,il=Y.defaultOptions,sl=Y.options,ll=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],dl=[],At=e=>{let{modifiers:t,valid:o,invalid:a,loading:r,disabled:s,readonly:c,...u}=e,b=t?.prefix,h=t?.suffix,N=t?.["clear-button"],x=t?.["validation-icon"],p=t?.separators;return Ta(Y,{...u,valid:o,invalid:a,loading:r,disabled:s,readonly:c,style:{width:300},children:[b&&Ta(an,{children:[ze(Ie,{children:ze(L,{icon:"lock"})}),p&&ze(ye,{})]}),ze(ve,{placeholder:"Placeholder",value:"Value"}),x&&ze(ce,{valid:o,invalid:a,loading:r,disabled:s}),ze(he,{loading:r,disabled:s}),N&&ze(ke,{loading:r,disabled:s,readonly:c,value:"Value"}),h&&Ta(an,{children:[p&&ze(ye,{}),ze(Ce,{children:ze(xt,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};At.options=sl;At.states=nl;At.variants=dl;At.defaultOptions=il;At.modifiers=ll;At.className=Y.className;import{jsx as cl}from"react/jsx-runtime";var ot=e=>cl(l,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as pl}from"react/jsx-runtime";var go=e=>pl(l,{icon:"folder",children:"Button",...e});import{jsx as Ea}from"react/jsx-runtime";var ul=l.options,ml=l.states,fl={...l.defaultOptions,variant:"text"},bl=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],hl=[],Ot=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return Ea(ot,{...o,icon:"star"});case"icon-and-text":return Ea(go,{...o,icon:"star",children:"Button"});default:return Ea(xt,{...o,children:"Button"})}};Ot.options=ul;Ot.states=ml;Ot.variants=bl;Ot.defaultOptions=fl;Ot.modifiers=hl;Ot.className=l.className;import{jsx as rn,jsxs as kl}from"react/jsx-runtime";var nn="k-color-preview",xl=[],Nl={},at=e=>{let{color:t,iconName:o,...a}=e;return kl("span",{...a,className:n(e.className,nn,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&rn(L,{icon:o,className:"k-color-preview-icon"}),rn("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};at.states=xl;at.options=Nl;at.className=nn;var Aa="popup",sn=Aa;import{jsx as ln}from"react/jsx-runtime";var dn="k-animation-container",vl=[],gl={},cn={positionMode:"absolute"},Ue=e=>{let{positionMode:t=cn.positionMode,animationStyle:o,offset:a,...r}=e;return ln("div",{...r,style:{...a,...e.style},className:n(e.className,dn,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:ln("div",{className:"k-child-animation-container",style:o,children:e.children})})};Ue.states=vl;Ue.options=gl;Ue.className=dn;Ue.defaultOptions=cn;Ue.moduleName=Aa;Ue.folderName=sn;var Oa="popup",pn=Oa;import{jsx as un}from"react/jsx-runtime";var mn="k-popup",Ll=[],Ml={},fn={positionMode:"absolute"},V=e=>{let{offset:t,positionMode:o=fn.positionMode,animationStyle:a,containerClassName:r,containerRole:s,containerAriaLabel:c,...u}=e;return un(Ue,{positionMode:o,offset:t,animationStyle:a,className:r,role:s,"aria-label":c,children:un("div",{...u,className:n(e.className,mn),children:e.children})})};V.states=Ll;V.options=Ml;V.className=mn;V.defaultOptions=fn;V.moduleName=Oa;V.folderName=pn;V.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 wa="action-buttons",bn=wa;import{jsx as Cl}from"react/jsx-runtime";var $o="k-actions",Sl=[],Il={},Ba={alignment:"start",orientation:"horizontal"},Ge=e=>{let{alignment:t=Ba.alignment,orientation:o=Ba.orientation,...a}=e;return Cl("div",{...a,className:n($o,{[`${$o}-${t}`]:t,[`${$o}-${o}`]:o},e.className),children:e.children})};Ge.states=Sl;Ge.options=Il;Ge.className=$o;Ge.defaultOptions=Ba;Ge.moduleName=wa;Ge.folderName=bn;import{jsx as Tl}from"react/jsx-runtime";var yl="k-actionsheet-footer",hn={alignment:"stretched",orientation:"horizontal"},rt=e=>{let{alignment:t=hn.alignment,orientation:o=hn.orientation,template:a,as:r=a?"div":Ge,...s}=e;return Tl(r,{...s,...!a&&{alignment:t,orientation:o},className:n(e.className,yl),children:e.children})};var Pa="searchbox",xn=Pa;import{jsx as Lo,jsxs as Ol}from"react/jsx-runtime";var Nn="k-searchbox",El=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Al={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]},Ra={showIcon:!0,icon:"search"},Te=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:g=Ra.showIcon,icon:k=Ra.icon,"aria-label":S,...T}=e;return Ol(Y,{...T,size:a,rounded:r,fillMode:s,hover:c,focus:u,valid:b,invalid:h,required:N,loading:x,disabled:p,className:n(e.className,Nn),children:[g&&Lo(L,{className:"k-input-icon",icon:k}),Lo(ve,{placeholder:o,value:t,"aria-label":S}),Lo(he,{...e}),Lo(ce,{...e}),Lo(ke,{...e})]})};Te.states=El;Te.options=Al;Te.className=Nn;Te.defaultOptions=Ra;Te.moduleName=Pa;Te.folderName=xn;import{jsx as Ah}from"react/jsx-runtime";var Ka="textbox",kn=Ka;import{Fragment as vn,jsx as nt,jsxs as _a}from"react/jsx-runtime";var gn="k-textbox",wl=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Bl={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]},Xo={showClearButton:!0,showValidationIcon:!0,separators:!0},oe=e=>{let{size:t,rounded:o,fillMode:a,separators:r=Xo.separators,showClearButton:s=Xo.showClearButton,showValidationIcon:c=Xo.showValidationIcon,prefix:u,suffix:b,type:h,value:N,placeholder:x,hover:p,focus:g,valid:k,invalid:S,required:T,loading:M,disabled:P,readonly:W,id:re,"aria-label":le,"aria-describedby":de,...Ne}=e;return _a(Y,{...Ne,size:t,rounded:o,fillMode:a,hover:p,focus:g,valid:k,invalid:S,required:T,loading:M,disabled:P,readonly:W,className:n(e.className,gn),children:[u&&_a(vn,{children:[nt(Ie,{children:u}),r&&nt(ye,{})]}),nt(ve,{id:re,placeholder:x,value:N,type:h,disabled:P,"aria-label":le,"aria-describedby":de,"aria-invalid":S?"true":void 0}),c&&nt(ce,{valid:k,invalid:S,loading:M,disabled:P}),nt(he,{loading:M,disabled:P}),s&&nt(ke,{loading:M,disabled:P,readonly:W,value:N}),b&&_a(vn,{children:[r&&nt(ye,{}),nt(Ce,{children:b})]})]})};oe.states=wl;oe.options=Bl;oe.className=gn;oe.defaultOptions=Xo;oe.moduleName=Ka;oe.folderName=kn;oe.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 Mo=oe;import{jsx as Pl}from"react/jsx-runtime";var Ln=e=>Pl(Mo,{...e});import{Fragment as Jh,jsx as qh}from"react/jsx-runtime";import{Fragment as ex,jsx as jh}from"react/jsx-runtime";import{jsx as rx}from"react/jsx-runtime";import{jsx as Da}from"react/jsx-runtime";var Rl=oe.states,Kl=oe.defaultOptions,_l=oe.options,Dl=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Hl=[],wt=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t?.[r]?Da(L,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[r]?Da(xt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[r];break;default:break}}),Da(Ln,{value:"Value",style:{width:300},...o,...a})};wt.options=_l;wt.states=Rl;wt.variants=Hl;wt.defaultOptions=Kl;wt.modifiers=Dl;wt.className=oe.className;import{jsx as it,jsxs as Ha}from"react/jsx-runtime";var Mn="k-actionsheet-titlebar",zl={},pe=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 Ha("div",{...p,className:n(e.className,Mn),children:[Ha("div",{className:"k-actionsheet-titlebar-group",children:[a&&it("div",{className:"k-actionsheet-actions",children:a}),!x&&Ha("div",{className:"k-actionsheet-title",id:N,children:[t&&it("div",{className:"k-text-center",children:t}),o&&it("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),x&&it("div",{className:"k-actionsheet-title",id:N,children:x}),r&&it("div",{className:"k-actionsheet-actions",children:r})]}),(c||s)&&it("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?it(oe,{value:u,placeholder:b,size:h?"large":"medium","aria-label":t||b||"Input"}):it(Te,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};pe.className=Mn;pe.defaultOptions=zl;import{jsx as za,jsxs as Vl}from"react/jsx-runtime";var Ua="k-actionsheet-view",Ul=[],Gl={},Fl={},Bt=e=>{let{adaptive:t,animated:o,children:a,header:r,footer:s,titleId:c,...u}=e,b=r?.type===pe&&za(pe,{adaptive:t,titleId:c,...r?.props}),h=s?.type===rt&&za(rt,{...s?.props});return Vl("div",{...u,className:n(e.className,Ua,{[`${Ua}-animated`]:o}),children:[b,za("div",{className:"k-actionsheet-content",children:a}),h]})};Bt.states=Ul;Bt.options=Gl;Bt.className=Ua;Bt.defaultOptions=Fl;var So="action-sheet",qo=So;var Ga="overlay",Sn=Ga;import{jsx as Jl}from"react/jsx-runtime";var In="k-overlay",$l=[],Xl={},ql={},st=e=>{let{...t}=e;return Jl("div",{...t,className:n(e.className,In),children:e.children})};st.states=$l;st.options=Xl;st.className=In;st.defaultOptions=ql;st.moduleName=Ga;st.folderName=Sn;import{jsx as Jo,jsxs as Ql}from"react/jsx-runtime";var Cn="k-actionsheet",Wl=[],Yl={},Io={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},q=e=>{let{side:t=Io.side,fullscreen:o=Io.fullscreen,adaptive:a=Io.adaptive,overlay:r=Io.overlay,template:s,children:c,header:u,footer:b,id:h,...N}=e,x=h&&!s&&u?`${h}-title`:void 0;return Ql("div",{className:"k-actionsheet-container",children:[r&&Jo(st,{}),Jo(Ue,{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:Jo("div",{...N,id:h,role:"dialog","aria-modal":r?"true":void 0,"aria-labelledby":x,className:n(e.className,Cn,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||Jo(Bt,{header:u,footer:b,adaptive:a,titleId:x,...e,children:c})})})]})};q.states=Wl;q.options=Yl;q.className=Cn;q.defaultOptions=Io;q.moduleName=So;q.folderName=qo;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."}]};import{jsx as td}from"react/jsx-runtime";var yn="k-actionsheet-container",Zl=[],jl={},ed={},Pt=e=>{let{children:t,...o}=e;return td("div",{...o,className:yn,children:t})};Pt.states=Zl;Pt.options=jl;Pt.className=yn;Pt.defaultOptions=ed;Pt.moduleName=So;Pt.folderName=qo;import{jsx as od}from"react/jsx-runtime";var Fa=e=>{let{...t}=e;return od("div",{...t,className:n(e.className,"k-list-ul"),children:e.children})};import{Fragment as rd,jsx as Co,jsxs as Va}from"react/jsx-runtime";var $a="k-actionsheet-item",ad=[i.hover,i.focus,i.selected,i.disabled],lt=e=>{let{iconName:t,text:o,description:a,hover:r,focus:s,selected:c,disabled:u,...b}=e;return Va("span",{...b,className:n(e.className,$a,E($a,{hover:r,focus:s,selected:c,disabled:u})),children:[!e.children&&Co(rd,{children:Va("span",{className:"k-actionsheet-action",children:[t&&Co("span",{className:"k-icon-wrap",children:Co(L,{className:"k-actionsheet-item-icon",icon:t})}),Va("span",{className:"k-actionsheet-item-text",children:[o&&Co("span",{className:"k-actionsheet-item-title",children:o}),a&&Co("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};lt.states=ad;lt.className=$a;import{jsx as aN,jsxs as rN}from"react/jsx-runtime";import{jsx as lN}from"react/jsx-runtime";import{jsx as uN}from"react/jsx-runtime";import{jsx as hN}from"react/jsx-runtime";import{jsx as ae,jsxs as Xa}from"react/jsx-runtime";var nd=q.options,id=q.states,En={...q.defaultOptions,variant:"normal"},sd=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ld=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Rt=e=>{let{variant:t,modifiers:o,...a}={...En,...e},r={},s=Xa(Fa,{children:[ae(lt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),ae(lt,{text:"Add to Favorites",iconName:"heart"}),ae(lt,{text:"Upload New",iconName:"upload",disabled:!0}),ae("hr",{className:"k-hr"}),ae(lt,{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?.[b],r.actionsEnd=!!o?.[b];break;case"subtitle":r.subtitle=o?.[b]?c:void 0;break;case"footer":r.footer=!!o?.[b];break;default:break}}),t==="adaptive"?ae(q,{...a,adaptive:!0,fullscreen:r.fullScreen,header:ae(pe,{actionsStart:r.actionsStart?ae(l,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?ae(l,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:r.subtitle}),footer:r.footer?Xa(rt,{alignment:"stretched",children:[ae(l,{text:"Cancel",size:"large",themeColor:"base"}),ae(l,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):ae(q,{...a,fullscreen:r.fullScreen,header:ae(pe,{actionsStart:r.actionsStart?ae(l,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?ae(l,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:r.subtitle}),footer:r.footer?Xa(rt,{alignment:"stretched",children:[ae(l,{text:"Apply",themeColor:"primary"}),ae(l,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Rt.options=nd;Rt.states=id;Rt.variants=sd;Rt.defaultOptions=En;Rt.modifiers=ld;Rt.className=q.className;import{Fragment as VN,jsx as FN,jsxs as $N}from"react/jsx-runtime";import{Fragment as QN,jsx as YN,jsxs as ZN}from"react/jsx-runtime";import{Fragment as rk,jsx as ak,jsxs as nk}from"react/jsx-runtime";import{Fragment as pk,jsx as ck,jsxs as uk}from"react/jsx-runtime";import{Fragment as Nk,jsx as xk,jsxs as kk}from"react/jsx-runtime";import{Fragment as Ik,jsx as Sk,jsxs as Ck}from"react/jsx-runtime";import{jsx as Xe,jsxs as qa}from"react/jsx-runtime";var dd={...l.options,...C.options},cd=l.states,pd={...l.defaultOptions,...C.defaultOptions,variant:"text-button"},ud=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],md=[],Kt=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?qa(C,{fillMode:a.fillMode,className:o,children:[Xe(l,{...a,icon:"star"}),Xe(l,{...a,icon:"star"}),Xe(l,{...a,icon:"star"})]}):t==="icon-text-button"?qa(C,{fillMode:a.fillMode,className:o,children:[Xe(l,{...a,icon:"star",children:"First"}),Xe(l,{...a,icon:"star",children:"Middle"}),Xe(l,{...a,icon:"star",children:"Last"})]}):qa(C,{fillMode:a.fillMode,className:o,children:[Xe(l,{...a,children:"First"}),Xe(l,{...a,children:"Middle"}),Xe(l,{...a,children:"Last"})]})};Kt.options=dd;Kt.states=cd;Kt.variants=ud;Kt.defaultOptions=pd;Kt.modifiers=md;Kt.className=C.className;var Ja="slider",An=Ja;import{jsx as _t,jsxs as Wa}from"react/jsx-runtime";var yo="k-slider",fd=[i.hover,i.focus,i.active,i.disabled,i.readonly],bd={},Ee={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},G=e=>{let{type:t=Ee.type,orientation:o=Ee.orientation,gradientType:a=Ee.gradientType,readonly:r=Ee.readonly,disabled:s=Ee.disabled,handlePosition:c=Ee.handlePosition,showButtons:u=Ee.showButtons,showTicks:b=Ee.showTicks,value:h=Ee.value,min:N=Ee.min,max:x=Ee.max,startValue:p,endValue:g,hover:k,focus:S,active:T,trackStyle:M,dir:P,...W}=e,le=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),de,Ne;return o==="horizontal"?(de=P==="rtl"?"chevron-left":"chevron-right",Ne=P==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(de="chevron-up",Ne="chevron-down"),Wa("div",{...W,className:n(yo,e.className,E(yo,{readonly:r,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:P,children:[u&&_t(l,{className:"k-button-decrease",rounded:"full",icon:Ne,tabIndex:-1,title:"Decrease"}),Wa("div",{className:"k-slider-track-wrap",children:[b&&_t("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Wa("div",{className:"k-slider-track",style:M,children:[_t("div",{className:"k-slider-selection"}),t==="range"&&_t("span",{className:n("k-draghandle","k-draghandle-start",E(yo,{hover:k,focus:S,active:T})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":p??N,"aria-valuemin":N,"aria-valuemax":g??x,"aria-orientation":le,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":W["aria-label"]?`${W["aria-label"]} start`:"Range start"}),_t("span",{className:n("k-draghandle",`k-draghandle-${c}`,E(yo,{hover:k,focus:S,active:T})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?g??x:h,"aria-valuemin":t==="range"?p??N:N,"aria-valuemax":x,"aria-orientation":le,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":t==="range"?W["aria-label"]?`${W["aria-label"]} end`:"Range end":W["aria-label"]})]})]}),u&&_t(l,{className:"k-button-increase",rounded:"full",icon:de,tabIndex:-1,title:"Increase"})]})};G.states=fd;G.options=bd;G.className=yo;G.defaultOptions=Ee;G.moduleName=Ja;G.folderName=An;G.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."}]};import{jsx as On}from"react/jsx-runtime";var wn="k-tick",hd=[],xd={},Bn={label:!1},y=e=>{let{style:t,label:o=Bn.label,orientation:a,large:r,text:s,...c}=e;return On("li",{...c,role:"presentation",title:s||"Tick",className:n(e.className,wn,{[`k-tick-${a}`]:a,"k-tick-large":r}),style:t,children:o&&On("span",{className:"k-label",children:s})})};y.states=hd;y.options=xd;y.className=wn;y.defaultOptions=Bn;import{Fragment as Nd,jsx as Ae,jsxs as kd}from"react/jsx-runtime";var Pn=e=>Ae(G,{"aria-label":e["aria-label"]||"Slider",children:kd(Nd,{children:[Ae(y,{className:"k-first",label:!0,large:!0,text:"0"}),Ae(y,{}),Ae(y,{}),Ae(y,{}),Ae(y,{}),Ae(y,{label:!0,large:!0,text:"5"}),Ae(y,{}),Ae(y,{}),Ae(y,{}),Ae(y,{}),Ae(y,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as vd,jsx as Oe,jsxs as gd}from"react/jsx-runtime";var Rn=e=>Oe(G,{children:gd(vd,{children:[Oe(y,{className:"k-first",label:!0,large:!0,text:"0"}),Oe(y,{}),Oe(y,{}),Oe(y,{}),Oe(y,{}),Oe(y,{label:!0,large:!0,text:"5"}),Oe(y,{}),Oe(y,{}),Oe(y,{}),Oe(y,{}),Oe(y,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as iv,jsx as nv,jsxs as sv}from"react/jsx-runtime";import{Fragment as uv,jsx as pv,jsxs as mv}from"react/jsx-runtime";import{jsx as Ld}from"react/jsx-runtime";var Ya=e=>Ld(G,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as Md}from"react/jsx-runtime";var Qa=e=>Md(G,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as Sv,jsx as Mv,jsxs as Iv}from"react/jsx-runtime";import{Fragment as Av,jsx as Ev,jsxs as Ov}from"react/jsx-runtime";import{jsx as Fe,jsxs as Kn}from"react/jsx-runtime";var Sd=G.options,Id=G.states,_n={...G.defaultOptions,variant:"horizontal",label:!0},Cd=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],yd=[{name:"label",title:"Labels"},{name:"tick",title:"Ticks"},{name:"button",title:"Side Buttons"}],Dt=e=>{let{variant:t,modifiers:o,...a}={..._n,...e},r={};Object.keys(o||{}).forEach(h=>{switch(h){case"button":{r.showButtons=!!o?.[h];break}case"label":{r.label=!!o?.[h];break}case"tick":{r.showTicks=!!o?.[h];break}}});let{label:s=!0,showButtons:c,showTicks:u}=r,b={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?Kn(Rn,{showTicks:u,showButtons:c,style:{height:"300px",...b},...a,children:[Fe(y,{label:s,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),Fe(y,{label:s,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),Fe(y,{label:s,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),Fe(y,{label:s,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),Fe(y,{label:s,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):Kn(Pn,{showTicks:u,showButtons:c,style:{width:"400px",...b},...a,children:[Fe(y,{label:s,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),Fe(y,{label:s,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),Fe(y,{label:s,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),Fe(y,{label:s,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),Fe(y,{label:s,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Dt.options=Sd;Dt.states=Id;Dt.variants=Cd;Dt.defaultOptions=_n;Dt.modifiers=yd;Dt.className=G.className;import{jsx as Dn,jsxs as wd}from"react/jsx-runtime";var Hn="k-spin-button",Ad=[],Od={size:[d.undefined,d.small,d.medium,d.large],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},Za={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},dt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:r=Za.increaseLabel,decreaseLabel:s=Za.decreaseLabel,...c}=e;return wd("span",{...c,className:n(Hn,e.className),children:[Dn(l,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":r}),Dn(l,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};dt.states=Ad;dt.options=Od;dt.className=Hn;dt.defaultOptions=Za;dt.moduleName=null;dt.folderName=null;var zn="numeric-textbox",Un="numerictextbox";import{Fragment as Gn,jsx as qe,jsxs as ja}from"react/jsx-runtime";var Fn="k-numerictextbox",Bd=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Pd={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]},Wo={showSpinButton:!0,showClearButton:!0,separators:!0},H=e=>{let{size:t,rounded:o,fillMode:a,separators:r=Wo.separators,showClearButton:s=Wo.showClearButton,showSpinButton:c=Wo.showSpinButton,prefix:u,suffix:b,value:h,placeholder:N,hover:x,focus:p,valid:g,invalid:k,required:S,loading:T,disabled:M,readonly:P,id:W,"aria-label":re,"aria-describedby":le,...de}=e;return ja(Y,{...de,size:t,rounded:o,fillMode:a,hover:x,focus:p,valid:g,invalid:k,required:S,loading:T,disabled:M,readonly:P,className:n(e.className,Fn),children:[u&&ja(Gn,{children:[qe(Ie,{children:u}),r&&qe(ye,{})]}),qe(ve,{id:W,placeholder:N,value:h,role:"spinbutton",disabled:M,"aria-label":re,"aria-describedby":le,"aria-invalid":k?"true":void 0}),qe(ce,{valid:g,invalid:k,loading:T,disabled:M}),qe(he,{loading:T,disabled:M}),s&&qe(ke,{loading:T,disabled:M,readonly:P,value:h}),b&&ja(Gn,{children:[r&&qe(ye,{}),qe(Ce,{children:b})]}),c&&qe(dt,{className:"k-input-spinner",size:t,fillMode:a,disabled:M})]})};H.states=Bd;H.options=Pd;H.className=Fn;H.defaultOptions=Wo;H.moduleName=zn;H.folderName=Un;H.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 To=H;import{jsx as Rd}from"react/jsx-runtime";var Vn=e=>Rd(To,{...e});import tr from"react";import{jsx as $n}from"react/jsx-runtime";var Kd="k-list-group-sticky-header",er=e=>$n("div",{className:n(Kd,e.className),children:$n("div",{className:"k-list-header-text",children:e.children})});import{jsx as Dd}from"react/jsx-runtime";var _d="k-no-data",Yo=e=>{let{live:t,...o}=e;return Dd("span",{...o,className:n(_d,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Nt="list",Ht=Nt;import{jsx as Xn,jsxs as qn}from"react/jsx-runtime";var or="k-list",Hd=[],zd={size:[d.undefined,d.small,d.medium,d.large]},Ud={},R=e=>{let{size:t,virtualization:o,children:a,header:r,optionLabel:s,customValue:c,noData:u,screenReaders:b,...h}=e,x=tr.Children.toArray(a)[0],p=x?.props?.children?tr.Children.count(x.props.children):tr.Children.count(a);return qn("div",{...h,className:n(e.className,or,I(or,{size:t}),{"k-virtual-list":o}),children:[s,c,r&&Xn(er,{children:r}),a||(u!==void 0?u:Xn(Yo,{live:!0,children:"No data found."})),b&&a&&qn(Yo,{className:"k-sr-only",live:!0,children:[p," items found."]})]})};R.states=Hd;R.options=zd;R.className=or;R.defaultOptions=Ud;R.moduleName=Nt;R.folderName=Ht;R.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};import{jsx as $d}from"react/jsx-runtime";var Jn="k-list-container",Gd=[],Fd={},Vd={},zt=e=>{let{...t}=e;return $d("div",{...t,className:n(e.className,Jn),children:e.children})};zt.states=Gd;zt.options=Fd;zt.className=Jn;zt.defaultOptions=Vd;zt.moduleName=Nt;zt.folderName=Ht;var kt="checkbox",Ut=kt;import{jsx as Wn}from"react/jsx-runtime";var Qo="k-checkbox",Xd=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],qd={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},Jd={},we=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,...g}=e;return Wn("span",{className:"k-checkbox-wrap",role:p,children:Wn("input",{...g,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:c||void 0,"aria-invalid":u?"true":void 0,className:n(e.className,Qo,I(Qo,{size:N,rounded:x}),E(Qo,{hover:r,focus:s,disabled:c,invalid:u,valid:b,indeterminate:a,checked:o}))})})};we.states=Xd;we.options=qd;we.className=Qo;we.defaultOptions=Jd;we.moduleName=kt;we.folderName=Ut;we.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 De=we;import{jsx as Qd}from"react/jsx-runtime";var Yn="k-checkbox-list",Wd=[],Yd={},Qn={layout:"vertical"},ue=e=>{let{layout:t=Qn.layout,...o}=e;return Qd("ul",{...o,className:n(e.className,Yn,{[`k-list-${t}`]:t}),children:e.children})};ue.states=Wd;ue.options=Yd;ue.className=Yn;ue.defaultOptions=Qn;ue.moduleName=kt;ue.folderName=Ut;import{jsx as tc}from"react/jsx-runtime";var Zn="k-checkbox-list-item",Zd=[],jd={},ec={},me=e=>{let{...t}=e;return tc("li",{...t,className:n(e.className,Zn),children:e.children})};me.states=Zd;me.options=jd;me.className=Zn;me.defaultOptions=ec;me.moduleName=kt;me.folderName=Ut;import{Fragment as oc,jsx as jn,jsxs as ac}from"react/jsx-runtime";var Je=({children:e="Label",id:t="cb-label-after",...o})=>ac(oc,{children:[jn(De,{id:t,...o}),jn("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as tL,jsx as eL,jsxs as oL}from"react/jsx-runtime";import{Fragment as sL,jsx as iL,jsxs as lL}from"react/jsx-runtime";import{Fragment as mL,jsx as uL,jsxs as fL}from"react/jsx-runtime";import{jsx as NL}from"react/jsx-runtime";import{jsx as LL}from"react/jsx-runtime";import{jsx as CL}from"react/jsx-runtime";import{jsx as Be,jsxs as ei}from"react/jsx-runtime";var rc=ue.options,nc=ue.states,ic={...ue.defaultOptions,variant:"vertical"},sc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],lc=[],Gt=e=>{let{variant:t,...o}=e;return t==="horizontal"?ei(ue,{layout:"horizontal",...o,children:[Be(me,{children:Be(Je,{id:D("cb"),defaultChecked:!0,children:"Label"})}),Be(me,{children:Be(Je,{id:D("cb"),children:"Label"})}),Be(me,{children:Be(Je,{id:D("cb"),children:"Label"})})]}):ei(ue,{...o,children:[Be(me,{children:Be(Je,{id:D("cb"),defaultChecked:!0,children:"Label"})}),Be(me,{children:Be(Je,{id:D("cb"),children:"Label"})}),Be(me,{children:Be(Je,{id:D("cb"),children:"Label"})})]})};Gt.options=rc;Gt.states=nc;Gt.variants=sc;Gt.defaultOptions=ic;Gt.modifiers=lc;Gt.className=ue.className;import{jsx as fc}from"react/jsx-runtime";var dc=De.options,cc=De.states,pc=De.defaultOptions,uc=[],mc=[],Ft=e=>fc(Je,{id:D("checkbox"),...e,defaultChecked:!0,children:"Label"});Ft.options=dc;Ft.states=cc;Ft.variants=uc;Ft.defaultOptions=pc;Ft.modifiers=mc;Ft.className=De.className;import{jsx as vt,jsxs as Nc}from"react/jsx-runtime";var ar="k-list-item",bc=[i.hover,i.focus,i.selected,i.disabled],hc={},xc={},A=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:g,id:k,...S}=e,T=t||e.children;return Nc("li",{...S,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":ar,E(ar,{hover:b,focus:h,disabled:x,selected:N})),children:[c&&vt(we,{checked:u}),r&&vt("span",{className:"k-list-item-icon-wrapper",children:vt(L,{icon:r,className:n("k-list-item-icon",s)})}),vt("span",{className:"k-list-item-text",children:T}),p&&vt("div",{className:"k-list-item-actions",children:p}),g&&vt("span",{className:"k-list-item-description",children:g}),o&&o!==""&&vt("div",{className:"k-list-item-group-label",children:o})]})};A.states=bc;A.options=hc;A.className=ar;A.defaultOptions=xc;A.moduleName=Nt;A.folderName=Ht;A.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."}]};import{jsx as vc}from"react/jsx-runtime";var kc="k-list-ul",We=e=>{let{children:t,role:o,id:a,...r}=e;return vc("ul",{...r,id:a,role:o,className:n(kc,e.className),children:t})};We.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."}]};import{jsx as rr,jsxs as Lc}from"react/jsx-runtime";var gc="k-list-content",z=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":r,listboxId:s,...c}=e;return Lc("div",{...c,className:n(gc,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:rr(We,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":r,children:e.children}),t&&rr("div",{className:"k-height-container",children:rr("div",{})})]})};z.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."}]};import{Fragment as hM,jsx as bM,jsxs as xM}from"react/jsx-runtime";import{jsx as nr,jsxs as Sc}from"react/jsx-runtime";var Mc="k-list-group-item",gt=e=>{let{groupIconName:t,...o}=e;return Sc("li",{...o,role:"presentation",className:n(Mc,e.className),children:[t&&nr("span",{className:"k-list-item-icon-wrapper",children:nr(L,{icon:t,className:"k-list-item-icon"})}),nr("span",{className:"k-list-item-text",children:e.children})]})};gt.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."}]};import{jsx as Tc}from"react/jsx-runtime";var ir="k-list-optionlabel",Ic=[i.hover,i.focus,i.selected,i.disabled],Cc={},yc={},Zo=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:s,...c}=e;return Tc("div",{...c,className:n(ir,E(ir,{hover:o,focus:a,selected:r,disabled:s})),children:t})};Zo.states=Ic;Zo.options=Cc;Zo.className=ir;Zo.defaultOptions=yc;import{jsx as wc}from"react/jsx-runtime";var sr="k-list-custom-value",Ec=[i.hover,i.focus,i.selected,i.disabled],Ac={},Oc={},ct=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:s,...c}=e;return wc("div",{...c,className:n(sr,E(sr,{hover:o,focus:a,selected:r,disabled:s})),children:t})};ct.states=Ec;ct.options=Ac;ct.className=sr;ct.defaultOptions=Oc;import{Fragment as BM,jsx as wM,jsxs as PM}from"react/jsx-runtime";import{Fragment as zM,jsx as HM,jsxs as UM}from"react/jsx-runtime";import{Fragment as JM,jsx as XM,jsxs as qM}from"react/jsx-runtime";import{Fragment as tS,jsx as jM,jsxs as eS}from"react/jsx-runtime";import{jsx as nS}from"react/jsx-runtime";import{Fragment as pS,jsx as cS,jsxs as uS}from"react/jsx-runtime";var ti="dropdown-list",oi="dropdownlist";import{Fragment as Rc,jsx as fe,jsxs as lr}from"react/jsx-runtime";var ai="k-dropdownlist",Bc=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Pc={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]},dr={showValue:!0,arrowIconName:"chevron-down"},$=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:r=dr.arrowIconName,showValue:s=dr.showValue,valueIconName:c,prefix:u,suffix:b,value:h,placeholder:N,hover:x,focus:p,valid:g,invalid:k,required:S,loading:T,disabled:M,readonly:P,popup:W,opened:re,adaptive:le,adaptiveSettings:de,adaptiveTitle:Ne,adaptiveSubtitle:bt,adaptiveFilter:ca,id:tt,activeDescendant:Do,"aria-label":pa,...ua}=e,os=tt?`${tt}-listbox`:void 0,Rr=tt?`${tt}-value`:void 0;return lr(Rc,{children:[lr(He,{...ua,id:tt,size:t,rounded:o,fillMode:a,hover:x,focus:p,valid:g,invalid:k,required:S,loading:T,disabled:M,readonly:P,className:n(e.className,ai,{"k-icon-picker":!s&&c}),role:"combobox","aria-haspopup":"listbox","aria-expanded":re?"true":"false","aria-controls":re?os:void 0,"aria-activedescendant":re&&Do?Do:void 0,"aria-describedby":re?Rr:void 0,"aria-disabled":M?"true":void 0,"aria-label":pa,tabIndex:0,children:[fe(Ie,{children:u}),fe(ht,{placeholder:N,value:h,showValue:s,valueIconName:c,id:Rr}),fe(ce,{valid:g,invalid:k,loading:T,disabled:M}),fe(he,{loading:T,disabled:M}),fe(Ce,{children:b}),fe(l,{className:"k-input-button",icon:r,size:e.size,fillMode:e.fillMode,"aria-label":N||"Toggle dropdown",tabIndex:-1})]}),re&&W&&fe(V,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:W}),le&&fe(q,{adaptive:!0,...de,header:fe(pe,{actionsEnd:fe(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:ca,inputValue:h,inputPlaceholder:N,title:Ne,subtitle:bt}),children:fe("div",{className:"k-list-container",children:fe(R,{size:"large",children:lr(z,{"aria-label":"Options",children:[fe(A,{text:"List item"}),fe(A,{text:"List item"}),fe(A,{text:"List item"})]})})})})]})};$.states=Bc;$.options=Pc;$.className=ai;$.defaultOptions=dr;$.moduleName=ti;$.folderName=oi;$.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."}]};import{jsx as $S}from"react/jsx-runtime";import{jsx as QS,jsxs as ZS}from"react/jsx-runtime";import{Fragment as sI,jsx as nI,jsxs as iI}from"react/jsx-runtime";import{jsx as uI}from"react/jsx-runtime";import{jsx as NI,jsxs as kI}from"react/jsx-runtime";import{Fragment as TI,jsx as CI,jsxs as yI}from"react/jsx-runtime";import{jsx as BI}from"react/jsx-runtime";import{Fragment as Uc,jsx as pt,jsxs as ri}from"react/jsx-runtime";var Kc=$.states,_c=$.defaultOptions,Dc=$.options,Hc=[{name:"opened",title:"Opened"}],zc=[],$t=e=>{let{modifiers:t,...o}=e,a={},r=ri(Uc,{children:[pt("div",{className:"k-list-filter",children:pt(Te,{})}),pt(R,{style:{width:300},size:o.size,children:ri(z,{children:[pt(A,{children:"List item"}),pt(A,{children:"List item"}),pt(A,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!t?.[s],a.popup=t?.[s]?r:void 0)}),pt("div",{children:pt($,{placeholder:"Value",style:{width:300},...o,...a})})};$t.options=Dc;$t.states=Kc;$t.variants=zc;$t.defaultOptions=_c;$t.modifiers=Hc;$t.className=$.className;import{Fragment as tC,jsx as eC}from"react/jsx-runtime";import{Fragment as sC,jsx as iC}from"react/jsx-runtime";import{jsx as pC}from"react/jsx-runtime";import{jsx as cr}from"react/jsx-runtime";var Gc=H.states,Fc=H.defaultOptions,Vc=H.options,$c=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Xc=[],Xt=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t?.[r]?cr($,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[r]?cr(ya,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[r];break;case"spin-button":a.showSpinButton=t?.[r];break;default:break}}),cr(Vn,{value:"Value",style:{width:300},...o,...a})};Xt.options=Vc;Xt.states=Gc;Xt.variants=Xc;Xt.defaultOptions=Fc;Xt.modifiers=$c;Xt.className=H.className;import{Fragment as Eo,jsx as w,jsxs as Q}from"react/jsx-runtime";var ni="k-colorgradient-inputs",qc=[],Jc={size:[d.undefined,d.small,d.medium,d.large]},ii={mode:"rgba"},qt=e=>{let{mode:t=ii.mode,size:o,...a}=e;return Q("div",{...a,className:n(ni,"k-hstack"),children:[w("div",{className:"k-vstack",children:w(l,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&Q(Eo,{children:[Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),w("label",{className:"k-colorgradient-input-label",children:"R"})]}),Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),w("label",{className:"k-colorgradient-input-label",children:"G"})]}),Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),w("label",{className:"k-colorgradient-input-label",children:"B"})]}),Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),w("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&Q(Eo,{children:[Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),w("label",{className:"k-colorgradient-input-label",children:"R"})]}),Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),w("label",{className:"k-colorgradient-input-label",children:"G"})]}),Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),w("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&Q(Eo,{children:[Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),w("label",{className:"k-colorgradient-input-label",children:"H"})]}),Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),w("label",{className:"k-colorgradient-input-label",children:"S"})]}),Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),w("label",{className:"k-colorgradient-input-label",children:"V"})]}),Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),w("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&Q(Eo,{children:[Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),w("label",{className:"k-colorgradient-input-label",children:"H"})]}),Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),w("label",{className:"k-colorgradient-input-label",children:"S"})]}),Q("div",{className:"k-vstack",children:[w(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),w("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&w(Eo,{children:Q("div",{className:"k-vstack k-flex-1",children:[w(oe,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),w("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};qt.states=qc;qt.options=Jc;qt.className=ni;qt.defaultOptions=ii;import{jsx as Lt,jsxs as Mt}from"react/jsx-runtime";var si="k-colorgradient-color-contrast",Wc=[],Yc={},Qc={},Jt=()=>Mt("div",{className:n(si,"k-vbox"),children:[Mt("div",{className:"k-contrast-ratio",children:[Lt("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),Mt("span",{className:"k-contrast-validation !k-text-success",children:[Lt(L,{icon:"check"}),Lt(L,{icon:"check"})]})]}),Mt("div",{children:[Lt("span",{children:"AA: 4.5"}),Mt("span",{className:"k-contrast-validation !k-text-success",children:["Pass",Lt(L,{icon:"check"})]})]}),Mt("div",{children:[Lt("span",{children:"AAA: 7.0"}),Mt("span",{className:"k-contrast-validation !k-text-error",children:["Fail",Lt(L,{icon:"x"})]})]})]});Jt.states=Wc;Jt.options=Yc;Jt.className=si;Jt.defaultOptions=Qc;var li="color-gradient",di="colorgradient";import{jsx as Pe,jsxs as Ao}from"react/jsx-runtime";var jo="k-colorgradient",Zc=[i.hover,i.focus,i.readonly,i.disabled],jc={size:[d.undefined,d.small,d.medium,d.large]},Ve={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"},te=e=>{let{size:t,mode:o=Ve.mode,readonly:a=Ve.readonly,disabled:r=Ve.disabled,gradientStyle:s=Ve.gradientStyle,dragHandleStyle:c=Ve.dragHandleStyle,alphaStyle:u=Ve.alphaStyle,alphaStyleHorizontal:b=Ve.alphaStyleHorizontal,contrast:h=Ve.contrast,dir:N,hover:x,focus:p,hoverHandle:g,focusHandle:k,canvasOrientation:S=Ve.canvasOrientation,role:T,tabIndex:M,...P}=e;return Ao("div",{...P,role:T??"textbox","aria-label":T==="none"?void 0:"Color gradient",tabIndex:M??0,"aria-disabled":r?"true":void 0,className:n(e.className,jo,I(jo,{size:t}),E(jo,{hover:x,focus:p,readonly:a,disabled:r})),dir:N,children:[!S||S==="horizontal"&&Ao("div",{className:"k-colorgradient-canvas k-hstack",children:[Pe("div",{className:"k-hsv-rectangle",style:s,children:Pe("div",{className:"k-hsv-gradient",children:Pe("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":g,"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})})}),Ao("div",{className:"k-hsv-controls k-hstack",children:[Pe(Qa,{className:"k-hue-slider",hover:g,focus:k}),o!=="rgb"&&o!=="hsv"&&Pe(Qa,{className:"k-alpha-slider",hover:g,focus:k,trackStyle:u})]})]}),S==="vertical"&&Ao("div",{className:"k-colorgradient-canvas k-vstack",children:[Pe("div",{className:"k-hsv-rectangle",style:s,children:Pe("div",{className:"k-hsv-gradient",children:Pe("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":g,"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})})}),Ao("div",{className:"k-hsv-controls k-vstack",children:[Pe(Ya,{className:"k-hue-slider",hover:g,focus:k}),o!=="rgb"&&o!=="hsv"&&Pe(Ya,{className:"k-alpha-slider",hover:g,focus:k,trackStyle:b})]})]}),Pe(qt,{mode:e.mode,size:t}),h&&Pe(Jt,{})]})};te.states=Zc;te.options=jc;te.className=jo;te.defaultOptions=Ve;te.moduleName=li;te.folderName=di;te.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)."}]};import{jsx as ep}from"react/jsx-runtime";var ea=e=>ep(te,{...e});import{jsx as YC}from"react/jsx-runtime";import{jsx as ey}from"react/jsx-runtime";import{jsx as pr}from"react/jsx-runtime";var tp=te.options,op=te.states,ap={...te.defaultOptions,variant:"rgba"},rp=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],np=[],Wt=e=>{let{variant:t,...o}=e;switch(t){case"hex":return pr(ea,{...o,mode:t});case"rgb":return pr(ea,{...o,mode:t});default:return pr(ea,{...o,mode:t})}};Wt.options=tp;Wt.states=op;Wt.variants=rp;Wt.defaultOptions=ap;Wt.modifiers=np;Wt.className=te.className;import{jsx as ip}from"react/jsx-runtime";var ur=e=>ip("tr",{role:"row",children:e.children});import{jsx as dp}from"react/jsx-runtime";var mr="k-colorpalette-tile",sp=[i.hover,i.focus,i.selected],lp={},Yt=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 dp("td",{...c,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:n(e.className,mr,E(mr,{hover:a,focus:r,selected:s})),style:u})};Yt.states=sp;Yt.options=lp;Yt.className=mr;var ci="color-palette",pi="colorpalette";import{jsx as Oo}from"react/jsx-runtime";var ta="k-colorpalette",cp=[i.disabled],pp={size:[d.undefined,d.small,d.medium,d.large]},ui={columns:10},be=e=>{let{size:t,palette:o,columns:a=ui.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,S)=>{p.push(Oo(Yt,{color:k,tileSize:r},S))});let g=Oo(ur,{children:p},x);u.push(g)})}return Oo("div",{...c,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:n(e.className,ta,E(ta,{disabled:s}),I(ta,{size:t})),children:Oo("table",{className:"k-colorpalette-table",role:"none",children:Oo("tbody",{children:u.length>0?u:e.children})})})};be.states=cp;be.options=pp;be.className=ta;be.defaultOptions=ui;be.moduleName=ci;be.folderName=pi;be.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 oa=be;var wo={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}};import{jsx as up}from"react/jsx-runtime";var mi=e=>up(oa,{palette:wo.basic,...e});import{jsx as Ry}from"react/jsx-runtime";import{jsx as Uy,jsxs as Gy}from"react/jsx-runtime";import{jsx as kp}from"react/jsx-runtime";var mp=be.options,fp=be.states,bp={...be.defaultOptions,variant:"basic"},hp=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],xp={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}},Np=[],Qt=e=>{let{variant:t="basic",...o}=e,a=xp[t];return kp(mi,{columns:a.columns,palette:a,...o})};Qt.options=mp;Qt.states=fp;Qt.variants=hp;Qt.defaultOptions=bp;Qt.modifiers=Np;Qt.className=be.className;var fi="color-editor",bi="coloreditor";import{jsx as Re,jsxs as Zt}from"react/jsx-runtime";var aa="k-coloreditor",vp=[i.focus],gp={size:[d.undefined,d.small,d.medium,d.large]},Bo={view:"gradient",palette:wo.office,actionButtons:!0,canvasOrientation:"horizontal"},J=e=>{let{size:t,view:o=Bo.view,palette:a=Bo.palette,color:r,currentColor:s,focus:c,focusView:u,dir:b,group:h,actionButtons:N=Bo.actionButtons,canvasOrientation:x=Bo.canvasOrientation,...p}=e;return Zt("div",{...p,role:"textbox","aria-label":"Color editor",tabIndex:0,className:n(e.className,"k-flatcolorpicker",aa,I(aa,{size:t}),E(aa,{focus:c})),dir:b,children:[Zt("div",{className:"k-coloreditor-header k-hstack",children:[Re("div",{className:"k-coloreditor-header-actions k-hstack",children:h&&Zt(C,{fillMode:"flat",children:[Re(l,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),Re(l,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),Re("div",{className:"k-spacer"}),Zt("div",{className:"k-coloreditor-header-actions k-hstack",children:[Re(l,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Zt("div",{className:"k-coloreditor-preview k-vstack",children:[Re(at,{className:"k-coloreditor-preview-color",color:r}),Re(at,{className:"k-coloreditor-current-color",color:s})]})]})]}),Re("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?Re(te,{focus:u,size:t,canvasOrientation:x,role:"none",tabIndex:-1}):Re(be,{palette:a,size:t})}),N&&Zt(Ge,{className:"k-coloreditor-footer",alignment:"start",children:[Re(l,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),Re(l,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};J.states=vp;J.options=gp;J.className=aa;J.defaultOptions=Bo;J.moduleName=fi;J.folderName=bi;J.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 jt=J;import{jsx as xT}from"react/jsx-runtime";import{jsx as gT}from"react/jsx-runtime";import{jsx as Lp}from"react/jsx-runtime";var hi=e=>Lp(jt,{group:!0,currentColor:"fuchsia",...e});import{jsx as Mp}from"react/jsx-runtime";var xi=e=>Mp(jt,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as Ni}from"react/jsx-runtime";var Sp=J.options,Ip=J.states,Cp={...J.defaultOptions,variant:"gradient"},yp=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Tp=[],eo=e=>{let{variant:t,...o}=e;return t==="palette"?Ni(xi,{...o,color:"white"}):Ni(hi,{...o,color:"rgba(183, 118 , 118, 1.00)"})};eo.options=Sp;eo.states=Ip;eo.variants=yp;eo.defaultOptions=Cp;eo.modifiers=Tp;eo.className=J.className;var ki="color-picker",vi="colorpicker";import{Fragment as Op,jsx as Ke,jsxs as fr}from"react/jsx-runtime";var gi="k-colorpicker",Ep=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Ap={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]},Li={arrowIconName:"chevron-down"},ne=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:r=Li.arrowIconName,prefix:s,suffix:c,value:u,placeholder:b,hover:h,focus:N,valid:x,invalid:p,required:g,disabled:k,valueIconName:S,popup:T,opened:M,adaptive:P,adaptiveSettings:W,adaptiveTitle:re,adaptiveSubtitle:le,...de}=e,Ne="colorpicker-popup";return fr(Op,{children:[fr(He,{...de,size:t,rounded:o,fillMode:a,hover:h,focus:N,valid:x,invalid:p,required:g,disabled:k,role:"combobox","aria-haspopup":"dialog","aria-expanded":M?"true":"false","aria-controls":M||P?Ne:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":k?"true":void 0,className:n(e.className,gi,"k-icon-picker"),children:[Ke(Ie,{children:s}),Ke(ht,{placeholder:b,value:u,showValue:!1,valueIcon:Ke(at,{className:"k-value-icon",color:u,iconName:S}),valueIconName:S}),Ke(Ce,{children:c}),Ke(l,{className:"k-input-button",icon:r,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:k})]}),M&&T&&Ke(V,{id:Ne,className:"k-colorpicker-popup",children:T}),P&&Ke(q,{adaptive:!0,id:Ne,...W,header:Ke(pe,{actionsEnd:Ke(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:re,subtitle:le}),footer:fr(rt,{children:[Ke(l,{text:"Cancel",size:"large"}),Ke(l,{text:"Set",size:"large",themeColor:"primary"})]}),children:Ke(J,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};ne.states=Ep;ne.options=Ap;ne.className=gi;ne.defaultOptions=Li;ne.moduleName=ki;ne.folderName=vi;ne.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 Ye=ne;var br="menu-button",Mi=br;import{jsx as Pp}from"react/jsx-runtime";var Si="k-menu-button",wp=[i.hover,i.focus,i.active,i.selected,i.disabled],Bp={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]},hr={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=hr.showArrow,arrowIconName:g=hr.arrowIconName,expanded:k,...S}=e;return Pp(l,{...S,className:n(e.className,Si),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:g,"aria-expanded":k?"true":"false",...!x&&N&&!e["aria-label"]&&{"aria-label":"Menu"},...h&&{"aria-disabled":"true"}})};_.states=wp;_.options=Bp;_.className=Si;_.defaultOptions=hr;_.moduleName=br;_.folderName=Mi;_.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 ge="menu",_e=ge;import{jsx as Po,jsxs as Ii}from"react/jsx-runtime";var xr="k-menu-item",Rp=[i.hover,i.focus,i.active,i.selected,i.disabled],Kp={},Ci={iconPosition:"before"},F=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=Ci.iconPosition,dir:g,children:k,expanded:S,...T}=e,M=x;return M||(M=g==="rtl"?"chevron-left":"chevron-right"),Ii("li",{...T,className:n(e.className,xr,"k-item",E(xr,{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":S?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Ii("span",{className:n("k-link k-menu-link"),children:[c&&p==="before"&&Po(L,{className:"k-menu-link-icon",icon:c}),Po("span",{className:"k-menu-link-text",children:u}),c&&p==="after"&&Po(L,{className:"k-menu-link-icon",icon:c}),N&&Po("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Po(L,{icon:M})})]}),k]})};F.states=Rp;F.options=Kp;F.className=xr;F.defaultOptions=Ci;F.moduleName=ge;F.folderName=_e;import{jsx as Ro,jsxs as yi}from"react/jsx-runtime";var Nr="k-menu-item",_p=[i.hover,i.focus,i.active,i.selected,i.disabled],Dp={},kr={dir:"ltr",iconPosition:"before"},X=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=kr.iconPosition,dir:g=kr.dir,children:k,popup:S,expanded:T,...M}=e,P=x;return P||(P=g==="rtl"?"chevron-left":"chevron-right"),yi("li",{...M,className:n(e.className,Nr,"k-item",E(Nr,{focus:o,disabled:s}),{"k-first":b,"k-last":h}),role:"menuitem",...N&&{"aria-haspopup":"menu"},...N&&{"aria-expanded":T?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[yi("span",{className:n("k-link k-menu-link",E("k-menu-link",{hover:t,active:a,selected:r,disabled:s})),children:[c&&p==="before"&&Ro(L,{className:"k-menu-link-icon",icon:c}),Ro("span",{className:"k-menu-link-text",children:u}),c&&p==="after"&&Ro(L,{className:"k-menu-link-icon",icon:c}),N&&Ro("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Ro(L,{icon:P})})]}),k,S]})};X.states=_p;X.options=Dp;X.className=Nr;X.defaultOptions=kr;X.moduleName=ge;X.folderName=_e;import{jsx as Gp}from"react/jsx-runtime";var Ti="k-menu-scroll-wrapper",Hp=[],zp={},Up={},St=e=>{let{className:t,children:o,orientation:a,...r}=e;return Gp("div",{...r,className:n(t,Ti,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};St.states=Hp;St.options=zp;St.className=Ti;St.defaultOptions=Up;St.moduleName=ge;St.folderName=_e;var Ei=St;import{Fragment as vr,jsx as It,jsxs as ra}from"react/jsx-runtime";var gr="k-menu",Fp=[],Vp={},na={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Z=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=It("ul",{dir:u,...N,className:n(e.className,"k-reset",gr,{[`${gr}-${o}`]:o,"k-header":a}),role:h?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return ra(vr,{children:[r?ra(Ei,{orientation:o,style:c,dir:e.dir,children:[s==="start"&&ra(vr,{children:[It(l,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),It(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"&&It(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"&&ra(vr,{children:[It(l,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),It(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"&&It(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]})};Z.states=Fp;Z.options=Vp;Z.className=gr;Z.defaultOptions=na;Z.moduleName=ge;Z.folderName=_e;Z.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."}]};import{jsx as $p}from"react/jsx-runtime";var Lr="k-separator",Ai={orientation:"horizontal"},to=e=>{let{orientation:t=Ai.orientation,...o}=e;return $p("li",{...o,className:n(e.className,"k-item",Lr,{[`${Lr}-${t}`]:t}),role:"separator"})};to.className=Lr;to.defaultOptions=Ai;to.moduleName=ge;to.folderName=_e;import{Fragment as OE,jsx as wE}from"react/jsx-runtime";import{jsx as Wp}from"react/jsx-runtime";var Mr="k-menu-group",Xp=[],qp={size:[d.undefined,d.small,d.medium,d.large]},Jp={},ie=e=>{let{children:t,size:o,...a}=e;return Wp("ul",{...a,className:n(e.className,Mr,I(Mr,{size:o})),role:"menu",children:t})};ie.states=Xp;ie.options=qp;ie.className=Mr;ie.defaultOptions=Jp;ie.moduleName=ge;ie.folderName=_e;import{Fragment as Yp,jsx as oo,jsxs as Qp}from"react/jsx-runtime";var Sr=e=>oo(Z,{children:Qp(Yp,{children:[oo(F,{first:!0,text:"Item 1"}),oo(F,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),oo(F,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),oo(F,{text:"Item 4"}),oo(F,{last:!0,text:"Item 5"})]}),...e});import{Fragment as XE,jsx as VE,jsxs as $E}from"react/jsx-runtime";import{Fragment as QE,jsx as YE,jsxs as ZE}from"react/jsx-runtime";import{Fragment as aA,jsx as oA,jsxs as rA}from"react/jsx-runtime";import{Fragment as dA,jsx as lA,jsxs as cA}from"react/jsx-runtime";import{jsx as Ct,jsxs as ou}from"react/jsx-runtime";var Zp=Z.options,jp=Z.states,Oi={...Z.defaultOptions,variant:"horizontal"},eu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],tu=[{name:"scrollable",title:"Scrollable"},{name:"opened",title:"Opened"}],ao=e=>{let{variant:t,modifiers:o,...a}={...Oi,...e},r={};return Object.keys(o||{}).forEach(s=>{switch(s){case"scrollable":r.scrollable=!!o?.[s];break;case"opened":r.opened=!!o?.[s],r.popup=Ct(V,{className:"k-menu-popup",children:ou(ie,{children:[Ct(X,{text:"Item 1"}),Ct(X,{text:"Item 2"}),Ct(to,{}),Ct(X,{text:"Item 3"})]})});break}}),t==="vertical"?Ct(Sr,{...a,...r,orientation:"vertical",style:{width:"200px"}}):Ct(Sr,{...a,...r})};ao.options=Zp;ao.states=jp;ao.variants=eu;ao.defaultOptions=Oi;ao.modifiers=tu;ao.className=Z.className;import{jsx as iu}from"react/jsx-runtime";var wi="k-spreadsheet-menu",au=[],ru={},nu={},ro=e=>{let{children:t,...o}=e;return iu(Z,{...o,className:n(e.className,wi),children:t})};ro.states=au;ro.options=ru;ro.className=wi;ro.defaultOptions=nu;import{jsx as su}from"react/jsx-runtime";var ia=e=>su(Ye,{...e});import{jsx as XA}from"react/jsx-runtime";import{jsx as QA}from"react/jsx-runtime";import{jsx as tO}from"react/jsx-runtime";import{jsx as nO}from"react/jsx-runtime";import{jsx as dO}from"react/jsx-runtime";import{jsx as mO}from"react/jsx-runtime";import{jsx as yt}from"react/jsx-runtime";var lu=Ye.options,du=Ye.states,Bi={...Ye.defaultOptions,variant:"color"},cu=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],pu=[{name:"opened",title:"Opened"}],no=e=>{let{variant:t,modifiers:o,...a}={...Bi,...e},r={};Object.keys(o||{}).forEach(c=>{c==="opened"&&(r.opened=!!o?.[c],r.popup=o?.[c]?yt(J,{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 yt("div",{style:s,children:yt(ia,{...a,...r})});case"icon":return yt("div",{style:s,children:yt(ia,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...r})});default:return yt("div",{style:s,children:yt(ia,{value:"rgba(183, 118 , 118, 1.00)",...a,...r})})}};no.options=lu;no.states=du;no.variants=cu;no.defaultOptions=Bi;no.modifiers=pu;no.className=Ye.className;var Ir="combobox",Pi=Ir;import{Fragment as Cr,jsx as ee,jsxs as Ko}from"react/jsx-runtime";var Ri="k-combobox",uu=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],mu={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]},Ki={separators:!0},se=e=>{let{size:t,rounded:o,fillMode:a,separators:r=Ki.separators,prefix:s,suffix:c,value:u,placeholder:b,hover:h,focus:N,valid:x,invalid:p,required:g,loading:k,disabled:S,popup:T,opened:M,readonly:P,adaptive:W,adaptiveSettings:re,adaptiveTitle:le,adaptiveSubtitle:de,adaptiveCustomValue:Ne,id:bt,autocomplete:ca,activeDescendant:tt,"aria-label":Do,...pa}=e,ua=bt?`${bt}-listbox`:void 0;return Ko(Cr,{children:[Ko(Y,{...pa,size:t,rounded:o,fillMode:a,hover:h,focus:N,valid:x,invalid:p,required:g,loading:k,disabled:S,readonly:P,className:n(e.className,Ri),children:[s&&Ko(Cr,{children:[ee(Ie,{children:s}),r&&ee(ye,{})]}),ee(ve,{id:bt,placeholder:b,value:u,role:"combobox","aria-haspopup":"listbox","aria-expanded":M?"true":"false","aria-controls":M?ua:void 0,"aria-activedescendant":M&&tt?tt:void 0,"aria-autocomplete":ca,"aria-invalid":p?"true":void 0,"aria-busy":k?"true":void 0,"aria-label":Do,disabled:S,readOnly:P}),ee(ce,{valid:x,invalid:p,loading:k,disabled:S}),ee(he,{loading:k,disabled:S}),ee(ke,{loading:k,disabled:S,readonly:P,value:u}),c&&Ko(Cr,{children:[r&&ee(ye,{}),ee(Ce,{children:c})]}),ee(l,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:S})]}),M&&T&&ee(V,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:T}),W&&ee(q,{adaptive:!0,id:bt?`${bt}-adaptive`:void 0,...re,header:ee(pe,{actionsEnd:ee(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:u,inputPlaceholder:b,title:le,subtitle:de}),children:ee("div",{className:"k-list-container",children:ee(R,{customValue:Ne?ee(ct,{text:`Use "${u}"`}):void 0,size:"large",children:Ko(z,{"aria-label":le||"Options",children:[ee(A,{text:"List item"}),ee(A,{text:"List item"}),ee(A,{text:"List item"})]})})})})]})};se.states=uu;se.options=mu;se.className=Ri;se.defaultOptions=Ki;se.moduleName=Ir;se.folderName=Pi;se.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 Le=se;import{jsx as fu}from"react/jsx-runtime";var _i=e=>fu(Le,{...e});import{jsx as WO,jsxs as YO}from"react/jsx-runtime";import{jsx as ow,jsxs as aw}from"react/jsx-runtime";import{jsx as dw,jsxs as cw}from"react/jsx-runtime";import{Fragment as hw,jsx as bw}from"react/jsx-runtime";import{Fragment as Lw,jsx as gw}from"react/jsx-runtime";import{jsx as Tw,jsxs as Ew}from"react/jsx-runtime";import{Fragment as _w,jsx as Rw,jsxs as Kw}from"react/jsx-runtime";import{jsx as Uw}from"react/jsx-runtime";import{jsx as $w}from"react/jsx-runtime";import{jsx as Qw,jsxs as Zw}from"react/jsx-runtime";import{jsx as rB,jsxs as nB}from"react/jsx-runtime";import{jsx as ut,jsxs as vu}from"react/jsx-runtime";var bu=se.states,hu=se.defaultOptions,xu=se.options,Nu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],ku=[],io=e=>{let{modifiers:t,...o}=e,a={},r=ut(R,{style:{width:300},size:o.size,children:vu(z,{children:[ut(A,{children:"List item"}),ut(A,{children:"List item"}),ut(A,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?ut(L,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?ut(ot,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[s],a.popup=t?.[s]?r:void 0;break;default:break}}),ut("div",{children:ut(_i,{value:"Value",style:{width:300},...o,...a})})};io.options=xu;io.states=bu;io.variants=ku;io.defaultOptions=hu;io.modifiers=Nu;io.className=se.className;import{jsx as wB}from"react/jsx-runtime";import{jsx as KB}from"react/jsx-runtime";import{jsx as zB}from"react/jsx-runtime";import{Fragment as WB,jsx as qB,jsxs as JB}from"react/jsx-runtime";import{jsx as jB}from"react/jsx-runtime";import{Fragment as Iu,jsx as $e,jsxs as Di}from"react/jsx-runtime";var gu=l.states,Hi={...l.defaultOptions,variant:"text"},Lu=l.options,Mu=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Su=[{name:"opened",title:"Opened"}],so=e=>{let{variant:t,modifiers:o,...a}={...Hi,...e},r={},s=$e(V,{className:"k-menu-popup",children:Di(ie,{size:a.size,children:[$e(X,{first:!0,text:"Menu Item"}),$e(X,{text:"Menu Item"}),$e(X,{last:!0,text:"Menu Item"})]})}),c;switch(t){case"icon-only":c=$e("div",{children:$e(_,{...a,...r,icon:"star"})});break;case"icon-and-text":c=$e("div",{children:$e(_,{...a,...r,icon:"star",children:"Dropdown Button"})});break;default:c=$e("div",{children:$e(_,{...a,...r,children:"Dropdown Button"})});break}return Di(Iu,{children:[c,o?.opened&&s]})};so.options=Lu;so.states=gu;so.variants=Mu;so.defaultOptions=Hi;so.modifiers=Su;so.className=_.className;var yr="split-button",zi=yr;import{Fragment as Tu,jsx as Tr,jsxs as Ui}from"react/jsx-runtime";var Er="k-split-button",Cu=[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]},Gi={arrowIconName:"chevron-down"},B=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=Gi.arrowIconName,popup:g,opened:k,popupId:S,...T}=e;return Ui(Tu,{children:[Ui("div",{...T,className:n(e.className,Er,"k-button-group",I(Er,{rounded:o})),children:[Tr(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}),Tr(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?S:void 0,tabIndex:-1,...h&&{"aria-disabled":"true"}})]}),k&&g&&Tr(V,{className:"k-menu-popup",children:g})]})};B.states=Cu;B.options=yu;B.className=Er;B.defaultOptions=Gi;B.moduleName=yr;B.folderName=zi;B.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 Ar=B;import{jsx as Au}from"react/jsx-runtime";var Eu="k-toolbar-separator",j=e=>Au("div",{className:n(Eu,e.className,"k-separator")});var Qe="toolbar",mt=Qe;import{Fragment as Or,jsx as K,jsxs as lo}from"react/jsx-runtime";var Ze="k-toolbar",Ou=[i.focus],wu={size:[d.undefined,d.small,d.medium,d.large],fillMode:[m.undefined,m.solid,m.outline,m.flat]},Bu={scrollButtons:"around"},U=e=>{let{size:t,fillMode:o,focus:a,resizable:r,scrollable:s,scrollButtons:c,scrollingPosition:u,section:b,...h}=e,N=[],x=(p,g)=>{let k=[];if(p.type===l&&p.props.className&&p.props.className.includes("k-toolbar-overflow-button"))k.push(K(l,{...p.props,className:`${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===l)k.push(K(l,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===go)k.push(K(go,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===ot)k.push(K(ot,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===_)k.push(K(_,{...p.props,className:`k-toolbar-menu-button ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===Ar)k.push(K(Ar,{...p.props,className:`k-toolbar-split-button ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===C||p.props.className&&p.props.className.includes("k-button-group")){let S=[];(Array.isArray(p.props.children)?p.props.children:[p.props.children]).forEach((M,P)=>{S.push(K(l,{...M.props,className:`${M.props.className?M.props.className:""}`},`${P}-${new Date().getTime()}`))}),k.push(K(C,{...p.props,className:`k-toolbar-button-group ${p.props.className?p.props.className:""}`,children:S},`${g}-${new Date().getTime()}`))}else p.type===se?k.push(K(se,{...p.props,className:`k-toolbar-combobox ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`)):p.type===$?k.push(K($,{...p.props,className:`k-toolbar-dropdownlist ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`)):p.type===ne?k.push(K(ne,{...p.props,className:`k-toolbar-colorpicker ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`)):k.push(p);k.forEach(S=>{N.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((g,k)=>{x(g,k)}),lo("div",{...h,className:n(e.className,Ze,I(Ze,{size:t,fillMode:o}),E(Ze,{focus:a}),{[`${Ze}-resizable`]:r,[`${Ze}-scrollable`]:s,[`${Ze}-scrollable-overlay`]:s&&c==="hidden",[`${Ze}-scrollable-${u}`]:u&&u!=="both",[`${Ze}-section`]:b}),role:"toolbar","aria-label":"Toolbar",children:[!s&&N,s&&c==="hidden"&&K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),s&&c==="start"&&lo(Or,{children:[lo(C,{children:[K("span",{className:n("k-toolbar-prev","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(L,{className:"k-button-icon",icon:"chevron-left"})}),K("span",{className:n("k-toolbar-next","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(L,{className:"k-button-icon",icon:"chevron-right"})})]}),K(j,{className:"k-toolbar-button-separator"}),K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N})]}),s&&c==="end"&&lo(Or,{children:[K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),K(j,{className:"k-toolbar-button-separator"}),lo(C,{children:[K("span",{className:n("k-toolbar-prev","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(L,{className:"k-button-icon",icon:"chevron-left"})}),K("span",{className:n("k-toolbar-next","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(L,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(c==="around"||!c)&&lo(Or,{children:[K("span",{className:n("k-toolbar-prev","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(L,{className:"k-button-icon",icon:"chevron-left"})}),K(j,{className:"k-toolbar-button-separator"}),K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),K(j,{className:"k-toolbar-button-separator"}),K("span",{className:n("k-toolbar-next","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(L,{className:"k-button-icon",icon:"chevron-right"})})]})]})};U.states=Ou;U.options=wu;U.className=Ze;U.defaultOptions=Bu;U.moduleName=Qe;U.folderName=mt;U.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."}]};import{jsx as _u}from"react/jsx-runtime";var Fi="k-floating-toolbar",Pu=[],Ru={},Ku={},co=e=>{let{...t}=e;return _u("div",{...t,className:n(e.className,Fi),children:e.children})};co.states=Pu;co.options=Ru;co.className=Fi;co.defaultOptions=Ku;co.moduleName=Qe;co.folderName=mt;import{jsx as Uu}from"react/jsx-runtime";var wr="k-toolbar-item",Du=[i.focus],Hu={},zu={},je=e=>{let{focus:t,...o}=e;return Uu("div",{...o,className:n(e.className,wr,E(wr,{focus:t})),children:e.children})};je.states=Du;je.options=Hu;je.className=wr;je.defaultOptions=zu;je.moduleName=Qe;je.folderName=mt;import{jsx as Vi}from"react/jsx-runtime";var $i="k-toolbar-popup",Gu=[],Fu={size:[d.undefined,d.small,d.medium,d.large],fillMode:[m.undefined,m.solid,m.outline,m.flat]},Vu={},Tt=e=>{let{size:t,fillMode:o,section:a,...r}=e;return Vi(V,{...r,className:n(e.className,$i),children:a?Vi("span",{className:n("k-toolbar-items-list",I("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Tt.states=Gu;Tt.options=Fu;Tt.className=$i;Tt.defaultOptions=Vu;Tt.moduleName=Qe;Tt.folderName=mt;var la=Tt;import{jsx as o0}from"react/jsx-runtime";import{jsx as i0}from"react/jsx-runtime";import{jsx as c0}from"react/jsx-runtime";import{jsx as h0,jsxs as x0}from"react/jsx-runtime";import{jsx as g0}from"react/jsx-runtime";import{jsx as et,jsxs as Wu}from"react/jsx-runtime";var $u=B.states,Xi={...B.defaultOptions,variant:"text"},Xu=B.options,qu=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ju=[{name:"opened",title:"Opened"}],po=e=>{let{variant:t,modifiers:o,...a}={...Xi,...e},r={},s=Wu(ie,{size:a.size,children:[et(X,{first:!0,text:"Menu Item"}),et(X,{text:"Menu Item"}),et(X,{last:!0,text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(c=>{c==="opened"&&(r.opened=!!o?.[c],r.popup=o?.[c]?s:"")}),t){case"icon-only":return et("div",{children:et(B,{...a,...r,icon:"star"})});case"icon-and-text":return et("div",{children:et(B,{...a,...r,icon:"star",children:"Split Button"})});default:return et("div",{children:et(B,{...a,...r,children:"Split Button"})})}};po.options=Xu;po.states=$u;po.variants=qu;po.defaultOptions=Xi;po.modifiers=Ju;po.className=B.className;import{jsx as Et,jsxs as Yu}from"react/jsx-runtime";var qi=e=>Et(U,{children:[Et(l,{children:"Button"},"toolbar-button"),Et(_,{text:"Menu button"},"toolbar-menu-button"),Et(B,{children:"Split button"},"toolbar-split-button"),Yu(C,{children:[Et(l,{className:"k-group-start",icon:"align-left",children:"Left"}),Et(l,{icon:"align-center",children:"Center"}),Et(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Y0,jsxs as Q0}from"react/jsx-runtime";import{jsx as Me,jsxs as Ji}from"react/jsx-runtime";var Wi=e=>Me(U,{scrollable:!0,...e,children:[Me(l,{children:"Button"},"toolbar-button"),Me(_,{text:"Menu button"},"toolbar-menu-button"),Me(B,{children:"Split button"},"toolbar-split-button"),Ji(C,{children:[Me(l,{className:"k-group-start",icon:"align-left",children:"Left"}),Me(l,{icon:"align-center",children:"Center"}),Me(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Me(l,{children:"Button"},"toolbar-button"),Me(_,{text:"Menu button"},"toolbar-menu-button"),Me(B,{children:"Split button"},"toolbar-split-button"),Ji(C,{children:[Me(l,{className:"k-group-start",icon:"align-left",children:"Left"}),Me(l,{icon:"align-center",children:"Center"}),Me(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Se,jsxs as Yi}from"react/jsx-runtime";var Qi=({scrollingPosition:e="start",...t})=>Se(U,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[Se(l,{children:"Button"},"toolbar-button"),Se(_,{text:"Menu button"},"toolbar-menu-button"),Se(B,{children:"Split button"},"toolbar-split-button"),Yi(C,{children:[Se(l,{className:"k-group-start",icon:"align-left",children:"Left"}),Se(l,{icon:"align-center",children:"Center"}),Se(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Se(l,{children:"Button"},"toolbar-button"),Se(_,{text:"Menu button"},"toolbar-menu-button"),Se(B,{children:"Split button"},"toolbar-split-button"),Yi(C,{children:[Se(l,{className:"k-group-start",icon:"align-left",children:"Left"}),Se(l,{icon:"align-center",children:"Center"}),Se(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Qu,jsx as xe,jsxs as da}from"react/jsx-runtime";var Zi=({fillMode:e,size:t,...o})=>da(Qu,{children:[xe(U,{section:!0,fillMode:e,size:t,children:[xe(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),da(C,{fillMode:e,children:[xe(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),xe(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),xe(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),xe(j,{className:"k-toolbar-button-separator"}),xe(l,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),da(la,{size:t,fillMode:e,section:!0,...o,children:[xe(B,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),xe(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),xe(j,{}),xe(_,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),da(C,{fillMode:e,children:[xe(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),xe(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),xe(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as AR,jsx as TR,jsxs as ER}from"react/jsx-runtime";import{Fragment as UR,jsx as HR,jsxs as zR}from"react/jsx-runtime";import{jsx as ft}from"react/jsx-runtime";var Zu=U.options,ju=U.states,ji={...U.defaultOptions,variant:"default"},em=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],tm=[],uo=e=>{let{variant:t,...o}={...ji,...e};switch(t){case"responsive":return ft("div",{children:ft(Zi,{style:{width:"583px"},...o})});case"overlay":return ft("div",{children:ft(Qi,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return ft("div",{children:ft(Wi,{style:{width:"583px"},...o})});default:return ft("div",{children:ft(qi,{style:{width:"583px"},...o})})}};uo.options=Zu;uo.states=ju;uo.variants=em;uo.defaultOptions=ji;uo.modifiers=tm;uo.className=U.className;import{jsx as nm}from"react/jsx-runtime";var es="k-spreadsheet-toolbar",om=[],am={},rm={},mo=e=>{let{children:t,...o}=e;return nm(U,{...o,resizable:!0,className:n(e.className,es),fillMode:"flat","aria-label":o["aria-label"]||"Spreadsheet toolbar",children:t})};mo.states=om;mo.options=am;mo.className=es;mo.defaultOptions=rm;import{jsx as O,jsxs as Pr}from"react/jsx-runtime";var ts="k-spreadsheet-header",im=[],sm={},lm=[O(l,{icon:"arrow-rotate-ccw",fillMode:"flat","aria-label":"Undo"},"undo"),O(l,{icon:"arrow-rotate-cw",fillMode:"flat","aria-label":"Redo"},"redo"),O(j,{},"sep1"),O(l,{icon:"cut",fillMode:"flat","aria-label":"Cut"},"cut"),O(l,{icon:"copy",fillMode:"flat","aria-label":"Copy"},"copy"),O(l,{icon:"clipboard",fillMode:"flat","aria-label":"Paste"},"paste"),O(j,{},"sep2"),O($,{value:"Font Name",fillMode:"flat","aria-label":"Font name"},"fontname"),O($,{value:"Font Size",fillMode:"flat","aria-label":"Font size"},"fontsize"),O(j,{},"sep3"),Pr(C,{fillMode:"flat",children:[O(l,{className:"k-group-start",icon:"font-grow",fillMode:"flat","aria-label":"Increase font size"}),O(l,{className:"k-group-end",icon:"font-shrink",fillMode:"flat","aria-label":"Decrease font size"})]},"fontgrow"),O(j,{},"sep4"),Pr(C,{fillMode:"flat",children:[O(l,{className:"k-group-start",icon:"bold",fillMode:"flat","aria-label":"Bold"}),O(l,{icon:"italic",fillMode:"flat","aria-label":"Italic"}),O(l,{icon:"underline",fillMode:"flat","aria-label":"Underline"}),O(l,{className:"k-group-end",icon:"strikethrough",fillMode:"flat","aria-label":"Strikethrough"})]},"fontstyle"),O(je,{children:O(ne,{value:"red",valueIconName:"foreground-color",fillMode:"flat","aria-label":"Text color"})},"textcolor"),O(j,{},"sep5"),O(je,{children:O(ne,{value:"fuchsia",valueIconName:"droplet",fillMode:"flat","aria-label":"Background color"})},"bgcolor"),O(j,{},"sep6"),O(_,{fillMode:"flat",icon:"borders-all",showArrow:!0,"aria-label":"Borders"},"borders"),O(j,{},"sep7"),O(_,{fillMode:"flat",icon:"align-left",showArrow:!0,"aria-label":"Horizontal alignment"},"halign"),O(_,{fillMode:"flat",icon:"align-middle",showArrow:!0,"aria-label":"Vertical alignment"},"valign"),O(j,{},"sep8"),O(l,{fillMode:"flat",icon:"text-wrap-arrow","aria-label":"Wrap text"},"wrap")],dm=[O(F,{first:!0,text:"File"},"file"),O(F,{text:"Home",active:!0},"home"),O(F,{text:"Insert"},"insert"),O(F,{text:"Format"},"format"),O(F,{text:"Formulas"},"formulas"),O(F,{text:"Data"},"data"),O(F,{last:!0,text:"View"},"view")],Br={toolbarItems:lm,menuItems:dm},_o=e=>{let{toolbarItems:t=Br.toolbarItems,menuItems:o=Br.menuItems,...a}=e;return Pr("div",{...a,className:n(ts,e.className),children:[O(ro,{children:o}),O(mo,{children:t})]})};_o.states=im;_o.options=sm;_o.className=ts;_o.defaultOptions=Br;var yK=_o;export{ts as SPREADSHEETHEADER_CLASSNAME,_o as SpreadsheetHeader,yK as default};
|