@progress/kendo-themes-html 14.1.0-dev.1 → 14.1.0-dev.2
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/breadcrumb/demos/breadcrumb.js +1 -1
- package/dist/cjs/breadcrumb/templates/breadcrumb-collapsing-auto.js +1 -1
- package/dist/cjs/breadcrumb/templates/breadcrumb-collapsing-none.js +1 -1
- package/dist/cjs/breadcrumb/templates/breadcrumb-collapsing-wrap.js +1 -1
- package/dist/cjs/chat/chat-message-reference.js +1 -1
- package/dist/cjs/chat/chat-message.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/file-box/file-box.spec.js +1 -1
- package/dist/cjs/file-box/templates/file-box-default.js +1 -1
- package/dist/cjs/file-box/templates/file-box-multiple.js +1 -1
- package/dist/cjs/file-box/templates/file-box-no-button.js +1 -1
- package/dist/cjs/file-box/templates/file-box-remove-button.js +1 -1
- package/dist/cjs/file-box/templates/file-box-vertical.js +1 -1
- package/dist/cjs/filemanager/demos/filemanager.js +1 -1
- package/dist/cjs/filemanager/file-info.js +1 -1
- package/dist/cjs/filemanager/filemanager-breadcrumb.spec.js +1 -1
- package/dist/cjs/filemanager/templates/filemanager-grid-preview.js +1 -1
- package/dist/cjs/filemanager/templates/filemanager-grid.js +1 -1
- package/dist/cjs/filemanager/templates/filemanager-normal.js +1 -1
- package/dist/cjs/filemanager/templates/filemanager-preview.js +1 -1
- package/dist/cjs/grid/templates/grid-with-pinned-rows-pin-column.js +1 -1
- package/dist/cjs/grid/templates/grid-with-pinned-rows.js +1 -1
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/pdf-viewer/demos/pdf-viewer.js +1 -1
- package/dist/cjs/pdf-viewer/pdf-viewer.spec.js +1 -1
- package/dist/cjs/pdf-viewer/templates/pdf-viewer-blank.js +1 -1
- package/dist/cjs/pdf-viewer/templates/pdf-viewer-normal.js +1 -1
- package/dist/cjs/pdf-viewer/templates/pdf-viewer-with-annotations.js +1 -1
- package/dist/cjs/pdf-viewer/templates/pdf-viewer-with-search-panel.js +1 -1
- package/dist/esm/breadcrumb/demos/breadcrumb.mjs +1 -1
- package/dist/esm/breadcrumb/templates/breadcrumb-collapsing-auto.mjs +1 -1
- package/dist/esm/breadcrumb/templates/breadcrumb-collapsing-none.mjs +1 -1
- package/dist/esm/breadcrumb/templates/breadcrumb-collapsing-wrap.mjs +1 -1
- package/dist/esm/chat/chat-message-reference.mjs +1 -1
- package/dist/esm/chat/chat-message.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/file-box/file-box.spec.mjs +1 -1
- package/dist/esm/file-box/templates/file-box-default.mjs +1 -1
- package/dist/esm/file-box/templates/file-box-multiple.mjs +1 -1
- package/dist/esm/file-box/templates/file-box-no-button.mjs +1 -1
- package/dist/esm/file-box/templates/file-box-remove-button.mjs +1 -1
- package/dist/esm/file-box/templates/file-box-vertical.mjs +1 -1
- package/dist/esm/filemanager/demos/filemanager.mjs +1 -1
- package/dist/esm/filemanager/file-info.mjs +1 -1
- package/dist/esm/filemanager/filemanager-breadcrumb.spec.mjs +1 -1
- package/dist/esm/filemanager/templates/filemanager-grid-preview.mjs +1 -1
- package/dist/esm/filemanager/templates/filemanager-grid.mjs +1 -1
- package/dist/esm/filemanager/templates/filemanager-normal.mjs +1 -1
- package/dist/esm/filemanager/templates/filemanager-preview.mjs +1 -1
- package/dist/esm/grid/templates/grid-with-pinned-rows-pin-column.mjs +1 -1
- package/dist/esm/grid/templates/grid-with-pinned-rows.mjs +1 -1
- package/dist/esm/index.mjs +2 -2
- package/dist/esm/pdf-viewer/demos/pdf-viewer.mjs +1 -1
- package/dist/esm/pdf-viewer/pdf-viewer.spec.mjs +1 -1
- package/dist/esm/pdf-viewer/templates/pdf-viewer-blank.mjs +1 -1
- package/dist/esm/pdf-viewer/templates/pdf-viewer-normal.mjs +1 -1
- package/dist/esm/pdf-viewer/templates/pdf-viewer-with-annotations.mjs +1 -1
- package/dist/esm/pdf-viewer/templates/pdf-viewer-with-search-panel.mjs +1 -1
- package/package.json +2 -2
- package/src/breadcrumb/demos/breadcrumb.tsx +2 -2
- package/src/chat/chat-message-reference.tsx +2 -2
- package/src/chat/tests/chat-files-pin.tsx +2 -2
- package/src/chat/tests/chat-message-action-copy.tsx +1 -1
- package/src/chat/tests/chat-message-action-delete.tsx +1 -1
- package/src/chat/tests/chat-message-action-pin.tsx +2 -2
- package/src/chat/tests/chat-message-action-reply.tsx +2 -2
- package/src/chat/tests/chat-message-actions.tsx +2 -2
- package/src/chat/tests/chat-message-toolbar.tsx +1 -1
- package/src/file-box/file-box.spec.tsx +1 -1
- package/src/grid/templates/grid-with-pinned-rows-pin-column.tsx +6 -6
- package/src/grid/templates/grid-with-pinned-rows.tsx +2 -2
- package/src/grid/tests/grid-row-pinning-adaptive.tsx +3 -3
- package/src/grid/tests/grid-row-pinning-with-sticky-grouping.tsx +1 -1
- package/src/grid/tests/grid-row-pinning.tsx +27 -27
- package/src/pdf-viewer/pdf-viewer.spec.tsx +2 -2
- package/src/tabstrip/tests/tabstrip-actions.tsx +4 -4
|
@@ -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 C=(e,t)=>n({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),S=(e,t)=>{let{valid:o,invalid:a,hover:r,focus:s,checked:d,active:c,selected:m,disabled:f,indeterminate:b,loading:g,empty:u,readonly:L,highlighted:k,...I}=t;return n({"k-valid":o,"k-invalid":a,"k-hover":r,"k-focus":s,"k-checked":d,"k-active":c,"k-selected":m,"k-disabled":f,"k-indeterminate":b&&!d,"k-loading":g,"k-empty":u,"k-readonly":L,"k-highlighted":k},Object.keys(I).reduce((y,M)=>(M.startsWith("k-")?y[M]=I[M]:y[`k-${M}`]=I[M],y),{}))};function Pn(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var p={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},x={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},h={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Je={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},N={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},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 Wa={};function z(e){return Wa[e]=(Wa[e]||0)+1,`k-${e}-${Wa[e]}`}import{Fragment as ul,jsx as wn}from"react/jsx-runtime";var Za="k-font-icon",dl=[],pl={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info]},cl={},Bo=e=>{let{size:t,themeColor:o,icon:a,rotate:r,flip:s,...d}=e;return a?wn("span",{...d,className:n(e.className,Za,C(Za,{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"}):wn(ul,{})};Bo.states=dl;Bo.options=pl;Bo.className=Za;Bo.defaultOptions=cl;var Bn=Bo;import{Fragment as bl,jsx as da}from"react/jsx-runtime";var Ya="k-svg-icon",ml=[],fl={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info],variant:[Je.outline,Je.solid,Je.duotone]},Qa={viewBox:"0 0 24 24",variant:Je.outline},Ro=e=>{let{size:t,themeColor:o,rotate:a,flip:r,viewBox:s=Qa.viewBox,variant:d=Qa.variant,icon:c,...m}=e;if(!c)return da(bl,{});if(c==="none")return da("span",{...m,className:n(e.className,Ya,C("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let f=typeof c=="object"&&c.name&&c.name,b=typeof c=="object"?d&&c.variants?.[d]||c.variants?.outline||c.content:void 0;return da("span",{...m,className:n(e.className,Ya,C("k-icon",{size:t}),{[`k-svg-i-${f}`]:f,[`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:da("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:s,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:c?void 0:e.children})})};Ro.states=ml;Ro.options=fl;Ro.className=Ya;Ro.defaultOptions=Qa;var ja=Ro;import*as er from"@progress/kendo-svg-icons";var Rn="icon",Kn="icons";import{useContext as xl}from"react";import{createContext as hl}from"react";var _n=hl({iconsType:"svg"});import{Fragment as Dn,jsx as Ko}from"react/jsx-runtime";var pa="k-icon",gl=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),kl=[],Nl={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info],variant:[Je.outline,Je.solid,Je.duotone]},ca={viewBox:"0 0 24 24",type:"svg",variant:Je.outline},v=e=>{let{iconsType:t}=xl(_n),{size:o,themeColor:a,icon:r,type:s=t||ca.type,rotate:d,flip:c,viewBox:m=ca.viewBox,variant:f=ca.variant,...b}=e;if(!r)return Ko(Dn,{});if((t||s)==="svg"){if(r==="none")return Ko(ja,{...b,className:n(e.className,pa),icon:r,size:o,variant:f});let u=er[r]?r:gl(`${r}-icon`);return er[u]?Ko(ja,{...b,className:n(e.className,pa),icon:er[u],size:o,themeColor:a,rotate:d,flip:c,viewBox:m,variant:f}):Ko(Dn,{})}return Ko(Bn,{...b,className:n(e.className,pa),icon:r,size:o,themeColor:a,rotate:d,flip:c})};v.states=kl;v.options=Nl;v.defaultOptions=ca;v.className=pa;v.moduleName=Rn;v.folderName=Kn;v.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 tr="button",zn=tr;import{Fragment as Sl,jsx as _o,jsxs as Hn}from"react/jsx-runtime";var Do="k-button",vl=["icon-button"],Ll=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],Ml={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info,N.inverse]},or={showArrow:!1,arrowIconName:"chevron-down"},l=e=>{let{as:t="button",size:o,rounded:a,fillMode:r,themeColor:s,showArrow:d=or.showArrow,arrowIconName:c=or.arrowIconName,variant:m,hover:f,focus:b,active:g,selected:u,disabled:L,togglable:k,ariaDisabled:I,icon:y,text:M,iconClassName:P,className:$,...H}=e,pe=y!==void 0,ce=e.children!==void 0;return Hn(t,{className:n($,Do,Pn(Do,m),C(Do,{size:o,rounded:a,fillMode:r,themeColor:s}),S(Do,{hover:f,focus:b,active:g,disabled:L||I,selected:u}),{"k-icon-button":!M&&!ce&&pe}),...H,"aria-pressed":k?u?"true":"false":void 0,"aria-disabled":I?"true":void 0,disabled:L||void 0,children:[y&&_o(v,{className:n(P,"k-button-icon"),icon:y}),M?Hn(Sl,{children:[M&&_o("span",{className:"k-button-text",children:M}),e.children]}):e.children&&_o("span",{className:"k-button-text",children:e.children}),d&&_o("span",{className:"k-menu-button-arrow k-button-arrow",children:_o(v,{icon:c})})]})};l.states=Ll;l.options=Ml;l.variants=vl;l.className=Do;l.defaultOptions=or;l.moduleName=tr;l.folderName=zn;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."}]};import{jsx as Il}from"react/jsx-runtime";var mt=e=>Il(l,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as yl}from"react/jsx-runtime";var zo=e=>yl(l,{icon:"folder",children:"Button",...e});import{jsx as Cl}from"react/jsx-runtime";var At=e=>Cl(l,{children:"Button",...e});import{jsx as ar}from"react/jsx-runtime";var El=l.options,Tl=l.states,Al={...l.defaultOptions,variant:"text"},Ol=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Pl=[],Xt=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return ar(mt,{...o,icon:"star"});case"icon-and-text":return ar(zo,{...o,icon:"star",children:"Button"});default:return ar(At,{...o,children:"Button"})}};Xt.options=El;Xt.states=Tl;Xt.variants=Ol;Xt.defaultOptions=Al;Xt.modifiers=Pl;Xt.className=l.className;var rr="button",Un=rr;import{jsx as Kl}from"react/jsx-runtime";var Ho="k-button-group",wl=[i.disabled],Bl={fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},Rl={},E=e=>{let{fillMode:t,disabled:o,stretched:a,...r}=e;return Kl("div",{role:"group",...r,className:n(e.className,Ho,C(Ho,{fillMode:t}),S(Ho,{disabled:o}),{[`${Ho}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};E.states=wl;E.options=Bl;E.className=Ho;E.defaultOptions=Rl;E.moduleName=rr;E.folderName=Un;E.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."}]};import{Fragment as ch,jsx as ph,jsxs as uh}from"react/jsx-runtime";import{Fragment as gh,jsx as xh,jsxs as kh}from"react/jsx-runtime";import{Fragment as Ih,jsx as Sh,jsxs as yh}from"react/jsx-runtime";import{Fragment as Ph,jsx as Oh,jsxs as wh}from"react/jsx-runtime";import{Fragment as zh,jsx as Dh,jsxs as Hh}from"react/jsx-runtime";import{Fragment as Xh,jsx as $h,jsxs as qh}from"react/jsx-runtime";import{jsx as ot,jsxs as nr}from"react/jsx-runtime";var _l={...l.options,...E.options},Dl=l.states,zl={...l.defaultOptions,...E.defaultOptions,variant:"text-button"},Hl=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Ul=[],qt=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?nr(E,{fillMode:a.fillMode,className:o,children:[ot(l,{...a,icon:"star"}),ot(l,{...a,icon:"star"}),ot(l,{...a,icon:"star"})]}):t==="icon-text-button"?nr(E,{fillMode:a.fillMode,className:o,children:[ot(l,{...a,icon:"star",children:"First"}),ot(l,{...a,icon:"star",children:"Middle"}),ot(l,{...a,icon:"star",children:"Last"})]}):nr(E,{fillMode:a.fillMode,className:o,children:[ot(l,{...a,children:"First"}),ot(l,{...a,children:"Middle"}),ot(l,{...a,children:"Last"})]})};qt.options=_l;qt.states=Dl;qt.variants=Hl;qt.defaultOptions=zl;qt.modifiers=Ul;qt.className=E.className;var Uo="input",ua=Uo;import{jsx as $l}from"react/jsx-runtime";var ma="k-input",Fl=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Gl={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Vl={},Z=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:d,readonly:c,size:m,rounded:f,fillMode:b,...g}=e;return $l("span",{...g,className:n(e.className,ma,C(ma,{size:m,rounded:f,fillMode:b}),S(ma,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:d,readonly:c}))})};Z.states=Fl;Z.options=Gl;Z.className=ma;Z.defaultOptions=Vl;Z.moduleName=Uo;Z.folderName=ua;import{jsx as Wl}from"react/jsx-runtime";var fa="k-picker",Xl=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],ql={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Jl={},We=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:d,readonly:c,size:m,rounded:f,fillMode:b,...g}=e;return Wl("span",{...g,className:n(e.className,fa,C(fa,{size:m,rounded:f,fillMode:b}),S(fa,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:d,readonly:c})),children:e.children})};We.states=Xl;We.options=ql;We.className=fa;We.defaultOptions=Jl;We.moduleName=Uo;We.folderName=ua;import{Fragment as Ql,jsx as ir}from"react/jsx-runtime";var Fn="k-clear-value",Zl=[i.disabled,i.loading,i.readonly],Yl={},Se=e=>{let{disabled:t,loading:o,readonly:a,value:r}=e;return t||a||o||!r?ir(Ql,{}):ir("span",{className:n(e.className,Fn),children:ir(v,{icon:"x"})})};Se.states=Zl;Se.options=Yl;Se.className=Fn;import{jsx as td}from"react/jsx-runtime";var sr="k-input-inner",jl=[],ed={},ba={type:"text",autocomplete:"off",value:"",placeholder:""},Ie=e=>{let{value:t=ba.value,type:o=ba.type,placeholder:a=ba.placeholder,autocomplete:r=ba.autocomplete,disabled:s,readOnly:d,...c}=e;return td("input",{...c,type:o,className:n(e.className,sr,C(sr,e)),placeholder:a,autoComplete:r,defaultValue:t,disabled:s||void 0,readOnly:d||void 0})};Ie.states=jl;Ie.options=ed;Ie.className=sr;import{jsx as Gn,jsxs as rd}from"react/jsx-runtime";var lr="k-input-inner",od=[],ad={},Ot=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:r,valueIconName:s,...d}=e;return rd("span",{...d,className:n(e.className,lr,C(lr,e)),children:[r,!r&&s&&Gn(v,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&Gn("span",{className:"k-input-value-text",children:t})]})};Ot.states=od;Ot.options=ad;Ot.className=lr;import{jsx as sd}from"react/jsx-runtime";var dr="k-input-inner",nd=[],id={},Vn={value:"",placeholder:""},pr=e=>{let{value:t=Vn.value,placeholder:o=Vn.placeholder,rows:a,disabled:r,...s}=e;return sd("textarea",{...s,className:n(e.className,dr,C(dr,e)),placeholder:o,rows:a,defaultValue:t,disabled:r||void 0})};pr.states=nd;pr.options=id;pr.className=dr;import{Fragment as dd,jsx as $n}from"react/jsx-runtime";var Xn="k-input-loading-icon",ld=[i.disabled,i.loading],ge=e=>{let{disabled:t,loading:o}=e;return t||!o?$n(dd,{}):$n("span",{className:n(e.className,Xn,"k-icon k-i-loading")})};ge.states=ld;ge.className=Xn;import{Fragment as ud,jsx as qn}from"react/jsx-runtime";var Jn="k-input-validation-icon",pd=[i.valid,i.invalid,i.disabled,i.loading],cd={},ue=e=>{let{valid:t,invalid:o,disabled:a,loading:r}=e,s=o?"warning-circle":"check-circle";return a||r||!!!(t||o)?qn(ud,{}):qn(v,{className:n(Jn),icon:s})};ue.states=pd;ue.options=cd;ue.className=Jn;import{Fragment as bd,jsx as Wn}from"react/jsx-runtime";var md="k-input-prefix",fd={direction:"horizontal"},Pe=e=>{let{direction:t=fd.direction,...o}=e;return e.children?Wn("span",{...o,className:n(md,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Wn(bd,{})};import{Fragment as gd,jsx as Zn}from"react/jsx-runtime";var hd="k-input-suffix",xd={direction:"horizontal"},we=e=>{let{direction:t=xd.direction,...o}=e;return e.children?Zn("span",{...o,className:n(hd,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Zn(gd,{})};import{jsx as qx}from"react/jsx-runtime";import{jsx as Nd}from"react/jsx-runtime";var kd="k-input-suffix-text",cr=e=>{let{children:t,...o}=e;return Nd("span",{...o,className:n(kd,e.className),children:t})};import{jsx as Ld}from"react/jsx-runtime";var Yn="k-input-separator",vd={direction:"vertical"},Be=e=>{let{direction:t=vd.direction,...o}=e;return Ld("span",{...o,className:n(Yn,e.className,{[`${Yn}-${t}`]:t})})};import{Fragment as Qn,jsx as Ze,jsxs as ur}from"react/jsx-runtime";var Md=Z.states,Sd=Z.defaultOptions,Id=Z.options,yd=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Cd=[],Jt=e=>{let{modifiers:t,valid:o,invalid:a,loading:r,disabled:s,readonly:d,...c}=e,m=t?.prefix,f=t?.suffix,b=t?.["clear-button"],g=t?.["validation-icon"],u=t?.separators;return ur(Z,{...c,valid:o,invalid:a,loading:r,disabled:s,readonly:d,style:{width:300},children:[m&&ur(Qn,{children:[Ze(Pe,{children:Ze(v,{icon:"lock"})}),u&&Ze(Be,{})]}),Ze(Ie,{placeholder:"Placeholder",value:"Value"}),g&&Ze(ue,{valid:o,invalid:a,loading:r,disabled:s}),Ze(ge,{loading:r,disabled:s}),b&&Ze(Se,{loading:r,disabled:s,readonly:d,value:"Value"}),f&&ur(Qn,{children:[u&&Ze(Be,{}),Ze(we,{children:Ze(At,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};Jt.options=Id;Jt.states=Md;Jt.variants=Cd;Jt.defaultOptions=Sd;Jt.modifiers=yd;Jt.className=Z.className;var mr="popup",jn=mr;import{jsx as ei}from"react/jsx-runtime";var ti="k-animation-container",Ed=[],Td={},oi={positionMode:"absolute"},Ye=e=>{let{positionMode:t=oi.positionMode,animationStyle:o,offset:a,...r}=e;return ei("div",{...r,style:{...a,...e.style},className:n(e.className,ti,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:ei("div",{className:"k-child-animation-container",style:o,children:e.children})})};Ye.states=Ed;Ye.options=Td;Ye.className=ti;Ye.defaultOptions=oi;Ye.moduleName=mr;Ye.folderName=jn;var fr="popup",ai=fr;import{jsx as ri}from"react/jsx-runtime";var ni="k-popup",Ad=[],Od={},ii={positionMode:"absolute"},V=e=>{let{offset:t,positionMode:o=ii.positionMode,animationStyle:a,containerClassName:r,containerRole:s,containerAriaLabel:d,...c}=e;return ri(Ye,{positionMode:o,offset:t,animationStyle:a,className:r,role:s,"aria-label":d,children:ri("div",{...c,className:n(e.className,ni),children:e.children})})};V.states=Ad;V.options=Od;V.className=ni;V.defaultOptions=ii;V.moduleName=fr;V.folderName=ai;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 br="action-buttons",si=br;import{jsx as Bd}from"react/jsx-runtime";var ha="k-actions",Pd=[],wd={},hr={alignment:"start",orientation:"horizontal"},Xe=e=>{let{alignment:t=hr.alignment,orientation:o=hr.orientation,...a}=e;return Bd("div",{...a,className:n(ha,{[`${ha}-${t}`]:t,[`${ha}-${o}`]:o},e.className),children:e.children})};Xe.states=Pd;Xe.options=wd;Xe.className=ha;Xe.defaultOptions=hr;Xe.moduleName=br;Xe.folderName=si;var li=Xe;import{jsx as Kd}from"react/jsx-runtime";var Rd="k-actionsheet-footer",di={alignment:"stretched",orientation:"horizontal"},ft=e=>{let{alignment:t=di.alignment,orientation:o=di.orientation,template:a,as:r=a?"div":Xe,...s}=e;return Kd(r,{...s,...!a&&{alignment:t,orientation:o},className:n(e.className,Rd),children:e.children})};var xr="searchbox",pi=xr;import{jsx as Fo,jsxs as zd}from"react/jsx-runtime";var ci="k-searchbox",_d=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Dd={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},gr={showIcon:!0,icon:"search"},Re=e=>{let{value:t,placeholder:o,size:a,rounded:r,fillMode:s,hover:d,focus:c,valid:m,invalid:f,required:b,loading:g,disabled:u,showIcon:L=gr.showIcon,icon:k=gr.icon,"aria-label":I,...y}=e;return zd(Z,{...y,size:a,rounded:r,fillMode:s,hover:d,focus:c,valid:m,invalid:f,required:b,loading:g,disabled:u,className:n(e.className,ci),children:[L&&Fo(v,{className:"k-input-icon",icon:k}),Fo(Ie,{placeholder:o,value:t,"aria-label":I}),Fo(ge,{...e}),Fo(ue,{...e}),Fo(Se,{...e})]})};Re.states=_d;Re.options=Dd;Re.className=ci;Re.defaultOptions=gr;Re.moduleName=xr;Re.folderName=pi;import{jsx as uk}from"react/jsx-runtime";var kr="textbox",ui=kr;import{Fragment as mi,jsx as bt,jsxs as Nr}from"react/jsx-runtime";var fi="k-textbox",Hd=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Ud={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},xa={showClearButton:!0,showValidationIcon:!0,separators:!0},j=e=>{let{size:t,rounded:o,fillMode:a,separators:r=xa.separators,showClearButton:s=xa.showClearButton,showValidationIcon:d=xa.showValidationIcon,prefix:c,suffix:m,type:f,value:b,placeholder:g,hover:u,focus:L,valid:k,invalid:I,required:y,loading:M,disabled:P,readonly:$,id:H,"aria-label":pe,"aria-describedby":ce,...Me}=e;return Nr(Z,{...Me,size:t,rounded:o,fillMode:a,hover:u,focus:L,valid:k,invalid:I,required:y,loading:M,disabled:P,readonly:$,className:n(e.className,fi),children:[c&&Nr(mi,{children:[bt(Pe,{children:c}),r&&bt(Be,{})]}),bt(Ie,{id:H,placeholder:g,value:b,type:f,disabled:P,"aria-label":pe,"aria-describedby":ce,"aria-invalid":I?"true":void 0}),d&&bt(ue,{valid:k,invalid:I,loading:M,disabled:P}),bt(ge,{loading:M,disabled:P}),s&&bt(Se,{loading:M,disabled:P,readonly:$,value:b}),m&&Nr(mi,{children:[r&&bt(Be,{}),bt(we,{children:m})]})]})};j.states=Hd;j.options=Ud;j.className=fi;j.defaultOptions=xa;j.moduleName=kr;j.folderName=ui;j.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 Go=j;import{jsx as Fd}from"react/jsx-runtime";var bi=e=>Fd(Go,{...e});import{Fragment as Ak,jsx as Tk}from"react/jsx-runtime";import{Fragment as Kk,jsx as Rk}from"react/jsx-runtime";import{jsx as Hk}from"react/jsx-runtime";import{jsx as vr}from"react/jsx-runtime";var Gd=j.states,Vd=j.defaultOptions,$d=j.options,Xd=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],qd=[],Wt=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t?.[r]?vr(v,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[r]?vr(At,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[r];break;default:break}}),vr(bi,{value:"Value",style:{width:300},...o,...a})};Wt.options=$d;Wt.states=Gd;Wt.variants=qd;Wt.defaultOptions=Vd;Wt.modifiers=Xd;Wt.className=j.className;import{jsx as ht,jsxs as Lr}from"react/jsx-runtime";var hi="k-actionsheet-titlebar",Jd={},me=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:r,filter:s,input:d,inputValue:c,inputPlaceholder:m,adaptive:f,titleId:b,children:g,...u}=e;return Lr("div",{...u,className:n(e.className,hi),children:[Lr("div",{className:"k-actionsheet-titlebar-group",children:[a&&ht("div",{className:"k-actionsheet-actions",children:a}),!g&&Lr("div",{className:"k-actionsheet-title",id:b,children:[t&&ht("div",{className:"k-text-center",children:t}),o&&ht("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),g&&ht("div",{className:"k-actionsheet-title",id:b,children:g}),r&&ht("div",{className:"k-actionsheet-actions",children:r})]}),(d||s)&&ht("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?ht(j,{value:c,placeholder:m,size:f?"large":"medium","aria-label":t||m||"Input"}):ht(Re,{placeholder:"Filter",size:f?"large":"medium","aria-label":"Filter options"})})]})};me.className=hi;me.defaultOptions=Jd;import{jsx as Mr,jsxs as Qd}from"react/jsx-runtime";var Sr="k-actionsheet-view",Wd=[],Zd={},Yd={},Zt=e=>{let{adaptive:t,animated:o,children:a,header:r,footer:s,titleId:d,...c}=e,m=r?.type===me&&Mr(me,{adaptive:t,titleId:d,...r?.props}),f=s?.type===ft&&Mr(ft,{...s?.props});return Qd("div",{...c,className:n(e.className,Sr,{[`${Sr}-animated`]:o}),children:[m,Mr("div",{className:"k-actionsheet-content",children:a}),f]})};Zt.states=Wd;Zt.options=Zd;Zt.className=Sr;Zt.defaultOptions=Yd;var Vo="action-sheet",ga=Vo;var Ir="overlay",xi=Ir;import{jsx as op}from"react/jsx-runtime";var gi="k-overlay",jd=[],ep={},tp={},xt=e=>{let{...t}=e;return op("div",{...t,className:n(e.className,gi),children:e.children})};xt.states=jd;xt.options=ep;xt.className=gi;xt.defaultOptions=tp;xt.moduleName=Ir;xt.folderName=xi;import{jsx as ka,jsxs as np}from"react/jsx-runtime";var ki="k-actionsheet",ap=[],rp={},$o={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},q=e=>{let{side:t=$o.side,fullscreen:o=$o.fullscreen,adaptive:a=$o.adaptive,overlay:r=$o.overlay,template:s,children:d,header:c,footer:m,id:f,...b}=e,g=f&&!s&&c?`${f}-title`:void 0;return np("div",{className:"k-actionsheet-container",children:[r&&ka(xt,{}),ka(Ye,{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:ka("div",{...b,id:f,role:"dialog","aria-modal":r?"true":void 0,"aria-labelledby":g,className:n(e.className,ki,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||ka(Zt,{header:c,footer:m,adaptive:a,titleId:g,...e,children:d})})})]})};q.states=ap;q.options=rp;q.className=ki;q.defaultOptions=$o;q.moduleName=Vo;q.folderName=ga;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 dp}from"react/jsx-runtime";var Ni="k-actionsheet-container",ip=[],sp={},lp={},Yt=e=>{let{children:t,...o}=e;return dp("div",{...o,className:Ni,children:t})};Yt.states=ip;Yt.options=sp;Yt.className=Ni;Yt.defaultOptions=lp;Yt.moduleName=Vo;Yt.folderName=ga;import{jsx as pp}from"react/jsx-runtime";var yr=e=>{let{...t}=e;return pp("div",{...t,className:n(e.className,"k-list-ul"),children:e.children})};import{Fragment as up,jsx as Xo,jsxs as Cr}from"react/jsx-runtime";var Er="k-actionsheet-item",cp=[i.hover,i.focus,i.selected,i.disabled],gt=e=>{let{iconName:t,text:o,description:a,hover:r,focus:s,selected:d,disabled:c,...m}=e;return Cr("span",{...m,className:n(e.className,Er,S(Er,{hover:r,focus:s,selected:d,disabled:c})),children:[!e.children&&Xo(up,{children:Cr("span",{className:"k-actionsheet-action",children:[t&&Xo("span",{className:"k-icon-wrap",children:Xo(v,{className:"k-actionsheet-item-icon",icon:t})}),Cr("span",{className:"k-actionsheet-item-text",children:[o&&Xo("span",{className:"k-actionsheet-item-title",children:o}),a&&Xo("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};gt.states=cp;gt.className=Er;import{jsx as zN,jsxs as HN}from"react/jsx-runtime";import{jsx as VN}from"react/jsx-runtime";import{jsx as JN}from"react/jsx-runtime";import{jsx as QN}from"react/jsx-runtime";import{jsx as ie,jsxs as Tr}from"react/jsx-runtime";var mp=q.options,fp=q.states,Li={...q.defaultOptions,variant:"normal"},bp=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],hp=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Qt=e=>{let{variant:t,modifiers:o,...a}={...Li,...e},r={},s=Tr(yr,{children:[ie(gt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),ie(gt,{text:"Add to Favorites",iconName:"heart"}),ie(gt,{text:"Upload New",iconName:"upload",disabled:!0}),ie("hr",{className:"k-hr"}),ie(gt,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",c="Select Item";return t==="fullScreen"&&(r.fullScreen=!0),Object.keys(o||{}).forEach(m=>{switch(m){case"actions":r.actionsStart=!!o?.[m],r.actionsEnd=!!o?.[m];break;case"subtitle":r.subtitle=o?.[m]?d:void 0;break;case"footer":r.footer=!!o?.[m];break;default:break}}),t==="adaptive"?ie(q,{...a,adaptive:!0,fullscreen:r.fullScreen,header:ie(me,{actionsStart:r.actionsStart?ie(l,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?ie(l,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:r.subtitle}),footer:r.footer?Tr(ft,{alignment:"stretched",children:[ie(l,{text:"Cancel",size:"large",themeColor:"base"}),ie(l,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):ie(q,{...a,fullscreen:r.fullScreen,header:ie(me,{actionsStart:r.actionsStart?ie(l,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?ie(l,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:r.subtitle}),footer:r.footer?Tr(ft,{alignment:"stretched",children:[ie(l,{text:"Apply",themeColor:"primary"}),ie(l,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Qt.options=mp;Qt.states=fp;Qt.variants=bp;Qt.defaultOptions=Li;Qt.modifiers=hp;Qt.className=q.className;import Or from"react";import{jsx as Mi}from"react/jsx-runtime";var xp="k-list-group-sticky-header",Ar=e=>Mi("div",{className:n(xp,e.className),children:Mi("div",{className:"k-list-header-text",children:e.children})});import{jsx as kp}from"react/jsx-runtime";var gp="k-no-data",Na=e=>{let{live:t,...o}=e;return kp("span",{...o,className:n(gp,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Pt="list",jt=Pt;import{jsx as Si,jsxs as Ii}from"react/jsx-runtime";var Pr="k-list",Np=[],vp={size:[p.undefined,p.small,p.medium,p.large]},Lp={},R=e=>{let{size:t,virtualization:o,children:a,header:r,optionLabel:s,customValue:d,noData:c,screenReaders:m,...f}=e,g=Or.Children.toArray(a)[0],u=g?.props?.children?Or.Children.count(g.props.children):Or.Children.count(a);return Ii("div",{...f,className:n(e.className,Pr,C(Pr,{size:t}),{"k-virtual-list":o}),children:[s,d,r&&Si(Ar,{children:r}),a||(c!==void 0?c:Si(Na,{live:!0,children:"No data found."})),m&&a&&Ii(Na,{className:"k-sr-only",live:!0,children:[u," items found."]})]})};R.states=Np;R.options=vp;R.className=Pr;R.defaultOptions=Lp;R.moduleName=Pt;R.folderName=jt;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 yp}from"react/jsx-runtime";var yi="k-list-container",Mp=[],Sp={},Ip={},eo=e=>{let{...t}=e;return yp("div",{...t,className:n(e.className,yi),children:e.children})};eo.states=Mp;eo.options=Sp;eo.className=yi;eo.defaultOptions=Ip;eo.moduleName=Pt;eo.folderName=jt;var wt="checkbox",to=wt;import{jsx as Ci}from"react/jsx-runtime";var va="k-checkbox",Cp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],Ep={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full]},Tp={},Ke=e=>{let{id:t,checked:o,indeterminate:a,hover:r,focus:s,disabled:d,invalid:c,valid:m,required:f,size:b,rounded:g,wrapperRole:u,...L}=e;return Ci("span",{className:"k-checkbox-wrap",role:u,children:Ci("input",{...L,id:t,type:"checkbox",defaultChecked:o,required:f,disabled:d||void 0,"aria-invalid":c?"true":void 0,className:n(e.className,va,C(va,{size:b,rounded:g}),S(va,{hover:r,focus:s,disabled:d,invalid:c,valid:m,indeterminate:a,checked:o}))})})};Ke.states=Cp;Ke.options=Ep;Ke.className=va;Ke.defaultOptions=Tp;Ke.moduleName=wt;Ke.folderName=to;Ke.ariaSpec={selector:".k-checkbox",rules:[{selector:".k-checkbox",attribute:"role=checkbox or type=checkbox",usage:"Announces the checkbox role of the element."},{selector:".k-checkbox",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name to which it will be assigned."},{selector:".k-checkbox",attribute:"aria-checked=true/false/mixed or checked",usage:"For native checkboxes the checked state is handled by the browser. aria-checked is used for custom implementations."},{selector:".k-checkbox",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the checkbox."},{selector:".k-checkbox",attribute:"disabled or aria-disabled=true (when disabled)",usage:"For native checkboxes use the HTML disabled attribute. aria-disabled for custom implementations."},{selector:".k-invalid, .ng-invalid",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the CheckBox is in a form and announces the invalid state."}]};var qe=Ke;import{jsx as Pp}from"react/jsx-runtime";var Ei="k-checkbox-list",Ap=[],Op={},Ti={layout:"vertical"},fe=e=>{let{layout:t=Ti.layout,...o}=e;return Pp("ul",{...o,className:n(e.className,Ei,{[`k-list-${t}`]:t}),children:e.children})};fe.states=Ap;fe.options=Op;fe.className=Ei;fe.defaultOptions=Ti;fe.moduleName=wt;fe.folderName=to;import{jsx as Kp}from"react/jsx-runtime";var Ai="k-checkbox-list-item",wp=[],Bp={},Rp={},be=e=>{let{...t}=e;return Kp("li",{...t,className:n(e.className,Ai),children:e.children})};be.states=wp;be.options=Bp;be.className=Ai;be.defaultOptions=Rp;be.moduleName=wt;be.folderName=to;import{Fragment as _p,jsx as Oi,jsxs as Dp}from"react/jsx-runtime";var at=({children:e="Label",id:t="cb-label-after",...o})=>Dp(_p,{children:[Oi(qe,{id:t,...o}),Oi("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});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{Fragment as kL,jsx as gL,jsxs as NL}from"react/jsx-runtime";import{jsx as SL}from"react/jsx-runtime";import{jsx as EL}from"react/jsx-runtime";import{jsx as PL}from"react/jsx-runtime";import{jsx as _e,jsxs as Pi}from"react/jsx-runtime";var zp=fe.options,Hp=fe.states,Up={...fe.defaultOptions,variant:"vertical"},Fp=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Gp=[],oo=e=>{let{variant:t,...o}=e;return t==="horizontal"?Pi(fe,{layout:"horizontal",...o,children:[_e(be,{children:_e(at,{id:z("cb"),defaultChecked:!0,children:"Label"})}),_e(be,{children:_e(at,{id:z("cb"),children:"Label"})}),_e(be,{children:_e(at,{id:z("cb"),children:"Label"})})]}):Pi(fe,{...o,children:[_e(be,{children:_e(at,{id:z("cb"),defaultChecked:!0,children:"Label"})}),_e(be,{children:_e(at,{id:z("cb"),children:"Label"})}),_e(be,{children:_e(at,{id:z("cb"),children:"Label"})})]})};oo.options=zp;oo.states=Hp;oo.variants=Fp;oo.defaultOptions=Up;oo.modifiers=Gp;oo.className=fe.className;import{jsx as Wp}from"react/jsx-runtime";var Vp=qe.options,$p=qe.states,Xp=qe.defaultOptions,qp=[],Jp=[],ao=e=>Wp(at,{id:z("checkbox"),...e,defaultChecked:!0,children:"Label"});ao.options=Vp;ao.states=$p;ao.variants=qp;ao.defaultOptions=Xp;ao.modifiers=Jp;ao.className=qe.className;import{jsx as Bt,jsxs as jp}from"react/jsx-runtime";var wr="k-list-item",Zp=[i.hover,i.focus,i.selected,i.disabled],Yp={},Qp={},O=e=>{let{text:t,groupLabel:o,group:a,iconName:r,iconClassName:s,showCheckbox:d,checked:c,hover:m,focus:f,selected:b,disabled:g,actions:u,description:L,id:k,...I}=e,y=t||e.children;return jp("li",{...I,id:k,role:a?"presentation":"option",tabIndex:a?void 0:f?0:-1,"aria-selected":!a&&b?"true":a?void 0:"false","aria-disabled":!a&&g?"true":void 0,className:n(e.className,a?"k-list-group-item":wr,S(wr,{hover:m,focus:f,disabled:g,selected:b})),children:[d&&Bt(Ke,{checked:c}),r&&Bt("span",{className:"k-list-item-icon-wrapper",children:Bt(v,{icon:r,className:n("k-list-item-icon",s)})}),Bt("span",{className:"k-list-item-text",children:y}),u&&Bt("div",{className:"k-list-item-actions",children:u}),L&&Bt("span",{className:"k-list-item-description",children:L}),o&&o!==""&&Bt("div",{className:"k-list-item-group-label",children:o})]})};O.states=Zp;O.options=Yp;O.className=wr;O.defaultOptions=Qp;O.moduleName=Pt;O.folderName=jt;O.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 tc}from"react/jsx-runtime";var ec="k-list-ul",rt=e=>{let{children:t,role:o,id:a,...r}=e;return tc("ul",{...r,id:a,role:o,className:n(ec,e.className),children:t})};rt.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 Br,jsxs as ac}from"react/jsx-runtime";var oc="k-list-content",U=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":r,listboxId:s,...d}=e;return ac("div",{...d,className:n(oc,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:Br(rt,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":r,children:e.children}),t&&Br("div",{className:"k-height-container",children:Br("div",{})})]})};U.ariaSpec={selector:".k-list-content",rules:[{selector:'.k-list-content[role="listbox"]',attribute:"role=listbox",usage:"For grouped lists, the list content container has the listbox role."},{selector:'.k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."}]};import{Fragment as LM,jsx as vM,jsxs as MM}from"react/jsx-runtime";import{jsx as Rr,jsxs as nc}from"react/jsx-runtime";var rc="k-list-group-item",Rt=e=>{let{groupIconName:t,...o}=e;return nc("li",{...o,role:"presentation",className:n(rc,e.className),children:[t&&Rr("span",{className:"k-list-item-icon-wrapper",children:Rr(v,{icon:t,className:"k-list-item-icon"})}),Rr("span",{className:"k-list-item-text",children:e.children})]})};Rt.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 dc}from"react/jsx-runtime";var Kr="k-list-optionlabel",ic=[i.hover,i.focus,i.selected,i.disabled],sc={},lc={},La=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:s,...d}=e;return dc("div",{...d,className:n(Kr,S(Kr,{hover:o,focus:a,selected:r,disabled:s})),children:t})};La.states=ic;La.options=sc;La.className=Kr;La.defaultOptions=lc;import{jsx as mc}from"react/jsx-runtime";var _r="k-list-custom-value",pc=[i.hover,i.focus,i.selected,i.disabled],cc={},uc={},kt=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:s,...d}=e;return mc("div",{...d,className:n(_r,S(_r,{hover:o,focus:a,selected:r,disabled:s})),children:t})};kt.states=pc;kt.options=cc;kt.className=_r;kt.defaultOptions=uc;import{Fragment as zM,jsx as DM,jsxs as HM}from"react/jsx-runtime";import{Fragment as XM,jsx as $M,jsxs as qM}from"react/jsx-runtime";import{Fragment as eS,jsx as QM,jsxs as jM}from"react/jsx-runtime";import{Fragment as sS,jsx as nS,jsxs as iS}from"react/jsx-runtime";import{jsx as cS}from"react/jsx-runtime";import{Fragment as xS,jsx as hS,jsxs as gS}from"react/jsx-runtime";var Dr="combobox",wi=Dr;import{Fragment as zr,jsx as ee,jsxs as qo}from"react/jsx-runtime";var Bi="k-combobox",fc=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],bc={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ri={separators:!0},oe=e=>{let{size:t,rounded:o,fillMode:a,separators:r=Ri.separators,prefix:s,suffix:d,value:c,placeholder:m,hover:f,focus:b,valid:g,invalid:u,required:L,loading:k,disabled:I,popup:y,opened:M,readonly:P,adaptive:$,adaptiveSettings:H,adaptiveTitle:pe,adaptiveSubtitle:ce,adaptiveCustomValue:Me,id:Tt,autocomplete:Xa,activeDescendant:ut,"aria-label":la,...qa}=e,Ja=Tt?`${Tt}-listbox`:void 0;return qo(zr,{children:[qo(Z,{...qa,size:t,rounded:o,fillMode:a,hover:f,focus:b,valid:g,invalid:u,required:L,loading:k,disabled:I,readonly:P,className:n(e.className,Bi),children:[s&&qo(zr,{children:[ee(Pe,{children:s}),r&&ee(Be,{})]}),ee(Ie,{id:Tt,placeholder:m,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":M?"true":"false","aria-controls":M?Ja:void 0,"aria-activedescendant":M&&ut?ut:void 0,"aria-autocomplete":Xa,"aria-invalid":u?"true":void 0,"aria-busy":k?"true":void 0,"aria-label":la,disabled:I,readOnly:P}),ee(ue,{valid:g,invalid:u,loading:k,disabled:I}),ee(ge,{loading:k,disabled:I}),ee(Se,{loading:k,disabled:I,readonly:P,value:c}),d&&qo(zr,{children:[r&&ee(Be,{}),ee(we,{children:d})]}),ee(l,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:I})]}),M&&y&&ee(V,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:y}),$&&ee(q,{adaptive:!0,id:Tt?`${Tt}-adaptive`:void 0,...H,header:ee(me,{actionsEnd:ee(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:m,title:pe,subtitle:ce}),children:ee("div",{className:"k-list-container",children:ee(R,{customValue:Me?ee(kt,{text:`Use "${c}"`}):void 0,size:"large",children:qo(U,{"aria-label":pe||"Options",children:[ee(O,{text:"List item"}),ee(O,{text:"List item"}),ee(O,{text:"List item"})]})})})})]})};oe.states=fc;oe.options=bc;oe.className=Bi;oe.defaultOptions=Ri;oe.moduleName=Dr;oe.folderName=wi;oe.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 ye=oe;import{jsx as hc}from"react/jsx-runtime";var Ki=e=>hc(ye,{...e});import{jsx as tI,jsxs as oI}from"react/jsx-runtime";import{jsx as lI,jsxs as dI}from"react/jsx-runtime";import{jsx as bI,jsxs as hI}from"react/jsx-runtime";import{Fragment as LI,jsx as vI}from"react/jsx-runtime";import{Fragment as EI,jsx as CI}from"react/jsx-runtime";import{jsx as BI,jsxs as RI}from"react/jsx-runtime";import{Fragment as GI,jsx as UI,jsxs as FI}from"react/jsx-runtime";import{jsx as qI}from"react/jsx-runtime";import{jsx as YI}from"react/jsx-runtime";import{jsx as ay,jsxs as ry}from"react/jsx-runtime";import{jsx as py,jsxs as cy}from"react/jsx-runtime";import{jsx as Nt,jsxs as Lc}from"react/jsx-runtime";var xc=oe.states,gc=oe.defaultOptions,kc=oe.options,Nc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],vc=[],ro=e=>{let{modifiers:t,...o}=e,a={},r=Nt(R,{style:{width:300},size:o.size,children:Lc(U,{children:[Nt(O,{children:"List item"}),Nt(O,{children:"List item"}),Nt(O,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?Nt(v,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?Nt(mt,{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}}),Nt("div",{children:Nt(Ki,{value:"Value",style:{width:300},...o,...a})})};ro.options=kc;ro.states=xc;ro.variants=vc;ro.defaultOptions=gc;ro.modifiers=Nc;ro.className=oe.className;var Hr="dropzone",_i=Hr;import{jsx as Ma,jsxs as Ic}from"react/jsx-runtime";var Ur="k-external-dropzone",Mc=[i.disabled,i.hover],Sc={},Fr={icon:"upload",hint:"Drag and drop files here to upload"},ke=e=>{let{hover:t,disabled:o,icon:a=Fr.icon,hint:r=Fr.hint,note:s,...d}=e;return Ma("div",{...d,className:n(e.className,Ur,S(Ur,{disabled:o}),{"k-external-dropzone-hover":t}),children:Ic("div",{className:"k-dropzone-inner",children:[a&&Ma(v,{icon:a,className:"k-dropzone-icon",size:"xxxlarge"}),r&&Ma("span",{className:"k-dropzone-hint",children:r}),s&&Ma("span",{className:"k-dropzone-note",children:s})]})})};ke.states=Mc;ke.options=Sc;ke.className=Ur;ke.defaultOptions=Fr;ke.moduleName=Hr;ke.folderName=_i;import{jsx as yc}from"react/jsx-runtime";var Sa=e=>yc(ke,{...e});import{jsx as qy}from"react/jsx-runtime";import{jsx as Pc}from"react/jsx-runtime";var Cc=ke.options,Ec=ke.states,Tc=ke.defaultOptions,Ac=[{name:"note",title:"Note"}],Oc=[],no=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{r==="note"&&(a.note=t?.[r]?"Only JPEG, PNG and SVG files are allowed.":void 0)}),Pc(Sa,{style:{width:"500px"},...o,...a})};no.options=Cc;no.states=Ec;no.variants=Oc;no.defaultOptions=Tc;no.modifiers=Ac;no.className=ke.className;var Gr="menu-button",Di=Gr;import{jsx as Rc}from"react/jsx-runtime";var zi="k-menu-button",wc=[i.hover,i.focus,i.active,i.selected,i.disabled],Bc={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info,N.inverse]},Vr={showArrow:!0,arrowIconName:"chevron-down"},_=e=>{let{size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:d,active:c,selected:m,disabled:f,icon:b,text:g,showArrow:u=Vr.showArrow,arrowIconName:L=Vr.arrowIconName,expanded:k,...I}=e;return Rc(l,{...I,className:n(e.className,zi),text:g,size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:d,active:c,selected:m,disabled:f,icon:b,showArrow:u,arrowIconName:L,"aria-expanded":k?"true":"false",...!g&&b&&!e["aria-label"]&&{"aria-label":"Menu"},...f&&{"aria-disabled":"true"}})};_.states=wc;_.options=Bc;_.className=zi;_.defaultOptions=Vr;_.moduleName=Gr;_.folderName=Di;_.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."}]};import{jsx as mC}from"react/jsx-runtime";import{jsx as xC}from"react/jsx-runtime";import{jsx as vC}from"react/jsx-runtime";var Ce="menu",De=Ce;import{jsx as Jo,jsxs as Hi}from"react/jsx-runtime";var $r="k-menu-item",Kc=[i.hover,i.focus,i.active,i.selected,i.disabled],_c={},Ui={iconPosition:"before"},se=e=>{let{hover:t,focus:o,active:a,selected:r,disabled:s,icon:d,text:c,first:m,last:f,showArrow:b,arrowIconName:g,iconPosition:u=Ui.iconPosition,dir:L,children:k,expanded:I,...y}=e,M=g;return M||(M=L==="rtl"?"chevron-left":"chevron-right"),Hi("li",{...y,className:n(e.className,$r,"k-item",S($r,{focus:o,disabled:s,hover:t,active:a,selected:r}),{"k-first":m,"k-last":f}),role:"menuitem",...b&&{"aria-haspopup":"menu"},...b&&{"aria-expanded":I?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Hi("span",{className:n("k-link k-menu-link"),children:[d&&u==="before"&&Jo(v,{className:"k-menu-link-icon",icon:d}),Jo("span",{className:"k-menu-link-text",children:c}),d&&u==="after"&&Jo(v,{className:"k-menu-link-icon",icon:d}),b&&Jo("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Jo(v,{icon:M})})]}),k]})};se.states=Kc;se.options=_c;se.className=$r;se.defaultOptions=Ui;se.moduleName=Ce;se.folderName=De;import{jsx as Wo,jsxs as Fi}from"react/jsx-runtime";var Xr="k-menu-item",Dc=[i.hover,i.focus,i.active,i.selected,i.disabled],zc={},qr={dir:"ltr",iconPosition:"before"},X=e=>{let{hover:t,focus:o,active:a,selected:r,disabled:s,icon:d,text:c,first:m,last:f,showArrow:b,arrowIconName:g,iconPosition:u=qr.iconPosition,dir:L=qr.dir,children:k,popup:I,expanded:y,...M}=e,P=g;return P||(P=L==="rtl"?"chevron-left":"chevron-right"),Fi("li",{...M,className:n(e.className,Xr,"k-item",S(Xr,{focus:o,disabled:s}),{"k-first":m,"k-last":f}),role:"menuitem",...b&&{"aria-haspopup":"menu"},...b&&{"aria-expanded":y?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Fi("span",{className:n("k-link k-menu-link",S("k-menu-link",{hover:t,active:a,selected:r,disabled:s})),children:[d&&u==="before"&&Wo(v,{className:"k-menu-link-icon",icon:d}),Wo("span",{className:"k-menu-link-text",children:c}),d&&u==="after"&&Wo(v,{className:"k-menu-link-icon",icon:d}),b&&Wo("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Wo(v,{icon:P})})]}),k,I]})};X.states=Dc;X.options=zc;X.className=Xr;X.defaultOptions=qr;X.moduleName=Ce;X.folderName=De;import{jsx as Gc}from"react/jsx-runtime";var Gi="k-menu-scroll-wrapper",Hc=[],Uc={},Fc={},Kt=e=>{let{className:t,children:o,orientation:a,...r}=e;return Gc("div",{...r,className:n(t,Gi,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};Kt.states=Hc;Kt.options=Uc;Kt.className=Gi;Kt.defaultOptions=Fc;Kt.moduleName=Ce;Kt.folderName=De;var Vi=Kt;import{Fragment as Jr,jsx as _t,jsxs as ya}from"react/jsx-runtime";var Wr="k-menu",Vc=[],$c={},Ca={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},ae=e=>{let{children:t,orientation:o=Ca.orientation,header:a=Ca.header,scrollable:r,scrollButtonsPosition:s=Ca.scrollButtonsPosition,wrapperStyles:d,dir:c,popup:m,contextMenu:f,...b}=e,g={horizontal:{prev:c!=="rtl"?"left":"right",next:c!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},u=_t("ul",{dir:c,...b,className:n(e.className,"k-reset",Wr,{[`${Wr}-${o}`]:o,"k-header":a}),role:f?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return ya(Jr,{children:[r?ya(Vi,{orientation:o,style:d,dir:e.dir,children:[s==="start"&&ya(Jr,{children:[_t(l,{fillMode:"flat",icon:`chevron-${g[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),_t(l,{fillMode:"flat",icon:`chevron-${g[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&_t(l,{fillMode:"flat",icon:`chevron-${g[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),u,s==="end"&&ya(Jr,{children:[_t(l,{fillMode:"flat",icon:`chevron-${g[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),_t(l,{fillMode:"flat",icon:`chevron-${g[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&_t(l,{fillMode:"flat",icon:`chevron-${g[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):u,m]})};ae.states=Vc;ae.options=$c;ae.className=Wr;ae.defaultOptions=Ca;ae.moduleName=Ce;ae.folderName=De;ae.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 Xc}from"react/jsx-runtime";var Zr="k-separator",$i={orientation:"horizontal"},io=e=>{let{orientation:t=$i.orientation,...o}=e;return Xc("li",{...o,className:n(e.className,"k-item",Zr,{[`${Zr}-${t}`]:t}),role:"separator"})};io.className=Zr;io.defaultOptions=$i;io.moduleName=Ce;io.folderName=De;import{Fragment as ZC,jsx as YC}from"react/jsx-runtime";import{jsx as Zc}from"react/jsx-runtime";var Yr="k-menu-group",qc=[],Jc={size:[p.undefined,p.small,p.medium,p.large]},Wc={},le=e=>{let{children:t,size:o,...a}=e;return Zc("ul",{...a,className:n(e.className,Yr,C(Yr,{size:o})),role:"menu",children:t})};le.states=qc;le.options=Jc;le.className=Yr;le.defaultOptions=Wc;le.moduleName=Ce;le.folderName=De;import{Fragment as Yc,jsx as so,jsxs as Qc}from"react/jsx-runtime";var Qr=e=>so(ae,{children:Qc(Yc,{children:[so(se,{first:!0,text:"Item 1"}),so(se,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),so(se,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),so(se,{text:"Item 4"}),so(se,{last:!0,text:"Item 5"})]}),...e});import{Fragment as cE,jsx as dE,jsxs as pE}from"react/jsx-runtime";import{Fragment as hE,jsx as bE,jsxs as xE}from"react/jsx-runtime";import{Fragment as LE,jsx as vE,jsxs as ME}from"react/jsx-runtime";import{Fragment as EE,jsx as CE,jsxs as TE}from"react/jsx-runtime";import{jsx as Dt,jsxs as au}from"react/jsx-runtime";var jc={...ae.options,scrollable:{type:"boolean"}},eu=ae.states,Xi={...ae.defaultOptions,variant:"horizontal"},tu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],ou=[{name:"opened",title:"Opened"}],lo=e=>{let{variant:t,modifiers:o,...a}={...Xi,...e},r={};return Object.keys(o||{}).forEach(s=>{s==="opened"&&(r.opened=!!o?.[s],r.popup=Dt(V,{className:"k-menu-popup",children:au(le,{children:[Dt(X,{text:"Item 1"}),Dt(X,{text:"Item 2"}),Dt(io,{}),Dt(X,{text:"Item 3"})]})}))}),t==="vertical"?Dt(Qr,{...a,...r,orientation:"vertical",style:{width:"200px"}}):Dt(Qr,{...a,...r})};lo.options=jc;lo.states=eu;lo.variants=tu;lo.defaultOptions=Xi;lo.modifiers=ou;lo.className=ae.className;import{Fragment as sT,jsx as nT,jsxs as iT}from"react/jsx-runtime";import{jsx as cT}from"react/jsx-runtime";import{Fragment as lu,jsx as Qe,jsxs as qi}from"react/jsx-runtime";var ru=l.states,Ji={...l.defaultOptions,variant:"text"},nu=l.options,iu=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],su=[{name:"opened",title:"Opened"}],po=e=>{let{variant:t,modifiers:o,...a}={...Ji,...e},r={},s=Qe(V,{className:"k-menu-popup",children:qi(le,{size:a.size,children:[Qe(X,{first:!0,text:"Menu Item"}),Qe(X,{text:"Menu Item"}),Qe(X,{last:!0,text:"Menu Item"})]})}),d;switch(t){case"icon-only":d=Qe("div",{children:Qe(_,{...a,...r,icon:"star"})});break;case"icon-and-text":d=Qe("div",{children:Qe(_,{...a,...r,icon:"star",children:"Dropdown Button"})});break;default:d=Qe("div",{children:Qe(_,{...a,...r,children:"Dropdown Button"})});break}return qi(lu,{children:[d,o?.opened&&s]})};po.options=nu;po.states=ru;po.variants=iu;po.defaultOptions=Ji;po.modifiers=su;po.className=_.className;var Wi="dropdown-list",Zi="dropdownlist";import{Fragment as cu,jsx as he,jsxs as jr}from"react/jsx-runtime";var Yi="k-dropdownlist",du=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],pu={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},en={showValue:!0,arrowIconName:"chevron-down"},J=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:r=en.arrowIconName,showValue:s=en.showValue,valueIconName:d,prefix:c,suffix:m,value:f,placeholder:b,hover:g,focus:u,valid:L,invalid:k,required:I,loading:y,disabled:M,readonly:P,popup:$,opened:H,adaptive:pe,adaptiveSettings:ce,adaptiveTitle:Me,adaptiveSubtitle:Tt,adaptiveFilter:Xa,id:ut,activeDescendant:la,"aria-label":qa,...Ja}=e,ll=ut?`${ut}-listbox`:void 0,On=ut?`${ut}-value`:void 0;return jr(cu,{children:[jr(We,{...Ja,id:ut,size:t,rounded:o,fillMode:a,hover:g,focus:u,valid:L,invalid:k,required:I,loading:y,disabled:M,readonly:P,className:n(e.className,Yi,{"k-icon-picker":!s&&d}),role:"combobox","aria-haspopup":"listbox","aria-expanded":H?"true":"false","aria-controls":H?ll:void 0,"aria-activedescendant":H&&la?la:void 0,"aria-describedby":H?On:void 0,"aria-disabled":M?"true":void 0,"aria-label":qa,tabIndex:0,children:[he(Pe,{children:c}),he(Ot,{placeholder:b,value:f,showValue:s,valueIconName:d,id:On}),he(ue,{valid:L,invalid:k,loading:y,disabled:M}),he(ge,{loading:y,disabled:M}),he(we,{children:m}),he(l,{className:"k-input-button",icon:r,size:e.size,fillMode:e.fillMode,"aria-label":b||"Toggle dropdown",tabIndex:-1})]}),H&&$&&he(V,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:$}),pe&&he(q,{adaptive:!0,...ce,header:he(me,{actionsEnd:he(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Xa,inputValue:f,inputPlaceholder:b,title:Me,subtitle:Tt}),children:he("div",{className:"k-list-container",children:he(R,{size:"large",children:jr(U,{"aria-label":"Options",children:[he(O,{text:"List item"}),he(O,{text:"List item"}),he(O,{text:"List item"})]})})})})]})};J.states=du;J.options=pu;J.className=Yi;J.defaultOptions=en;J.moduleName=Wi;J.folderName=Zi;J.ariaSpec={rules:[{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"role=combobox",usage:"Announces the dropdown element."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-haspopup=listbox",usage:"Indicates the presence of a listbox popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-expanded",usage:"Announces the visibility state of the popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-label",usage:"Accessible name for the dropdown."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-dropdownlist.k-disabled",attribute:"aria-disabled=true",usage:"Rendered when the dropdown is disabled."},{selector:".k-dropdownlist .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-dropdownlist .k-input-button",attribute:"tabindex=-1",usage:"The button must not be focusable."},{selector:".k-dropdownlist-popup .k-list-content, .k-dropdownlist-popup .k-list-ul",attribute:"role=listbox",usage:"Popup list has listbox role."},{selector:'.k-dropdownlist-popup .k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby",usage:"Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."},{selector:".k-dropdownlist-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."}]};import{jsx as GT}from"react/jsx-runtime";import{jsx as WT,jsxs as ZT}from"react/jsx-runtime";import{Fragment as nA,jsx as aA,jsxs as rA}from"react/jsx-runtime";import{jsx as pA}from"react/jsx-runtime";import{jsx as hA,jsxs as xA}from"react/jsx-runtime";import{Fragment as yA,jsx as SA,jsxs as IA}from"react/jsx-runtime";import{jsx as OA}from"react/jsx-runtime";import{Fragment as xu,jsx as vt,jsxs as Qi}from"react/jsx-runtime";var uu=J.states,mu=J.defaultOptions,fu=J.options,bu=[{name:"opened",title:"Opened"}],hu=[],uo=e=>{let{modifiers:t,...o}=e,a={},r=Qi(xu,{children:[vt("div",{className:"k-list-filter",children:vt(Re,{})}),vt(R,{style:{width:300},size:o.size,children:Qi(U,{children:[vt(O,{children:"List item"}),vt(O,{children:"List item"}),vt(O,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!t?.[s],a.popup=t?.[s]?r:void 0)}),vt("div",{children:vt(J,{placeholder:"Value",style:{width:300},...o,...a})})};uo.options=fu;uo.states=uu;uo.variants=hu;uo.defaultOptions=mu;uo.modifiers=bu;uo.className=J.className;import{jsx as ji,jsxs as Lu}from"react/jsx-runtime";var es="k-spin-button",Nu=[],vu={size:[p.undefined,p.small,p.medium,p.large],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},tn={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Lt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:r=tn.increaseLabel,decreaseLabel:s=tn.decreaseLabel,...d}=e;return Lu("span",{...d,className:n(es,e.className),children:[ji(l,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":r}),ji(l,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Lt.states=Nu;Lt.options=vu;Lt.className=es;Lt.defaultOptions=tn;Lt.moduleName=null;Lt.folderName=null;var ts="numeric-textbox",os="numerictextbox";import{Fragment as as,jsx as nt,jsxs as on}from"react/jsx-runtime";var rs="k-numerictextbox",Mu=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Su={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ea={showSpinButton:!0,showClearButton:!0,separators:!0},D=e=>{let{size:t,rounded:o,fillMode:a,separators:r=Ea.separators,showClearButton:s=Ea.showClearButton,showSpinButton:d=Ea.showSpinButton,prefix:c,suffix:m,value:f,placeholder:b,hover:g,focus:u,valid:L,invalid:k,required:I,loading:y,disabled:M,readonly:P,id:$,"aria-label":H,"aria-describedby":pe,...ce}=e;return on(Z,{...ce,size:t,rounded:o,fillMode:a,hover:g,focus:u,valid:L,invalid:k,required:I,loading:y,disabled:M,readonly:P,className:n(e.className,rs),children:[c&&on(as,{children:[nt(Pe,{children:c}),r&&nt(Be,{})]}),nt(Ie,{id:$,placeholder:b,value:f,role:"spinbutton",disabled:M,"aria-label":H,"aria-describedby":pe,"aria-invalid":k?"true":void 0}),nt(ue,{valid:L,invalid:k,loading:y,disabled:M}),nt(ge,{loading:y,disabled:M}),s&&nt(Se,{loading:y,disabled:M,readonly:P,value:f}),m&&on(as,{children:[r&&nt(Be,{}),nt(we,{children:m})]}),d&&nt(Lt,{className:"k-input-spinner",size:t,fillMode:a,disabled:M})]})};D.states=Mu;D.options=Su;D.className=rs;D.defaultOptions=Ea;D.moduleName=ts;D.folderName=os;D.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 Zo=D;import{jsx as Iu}from"react/jsx-runtime";var ns=e=>Iu(Zo,{...e});import{Fragment as xO,jsx as hO}from"react/jsx-runtime";import{Fragment as MO,jsx as LO}from"react/jsx-runtime";import{jsx as CO}from"react/jsx-runtime";import{jsx as an}from"react/jsx-runtime";var yu=D.states,Cu=D.defaultOptions,Eu=D.options,Tu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Au=[],mo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t?.[r]?an(J,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[r]?an(cr,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[r];break;case"spin-button":a.showSpinButton=t?.[r];break;default:break}}),an(ns,{value:"Value",style:{width:300},...o,...a})};mo.options=Eu;mo.states=yu;mo.variants=Au;mo.defaultOptions=Cu;mo.modifiers=Tu;mo.className=D.className;var rn="pager",is=rn;import{Fragment as ss,jsx as Ne,jsxs as fo}from"react/jsx-runtime";var Ta="k-pager",Ou=[i.focus,i.disabled],Pu={size:[p.undefined,p.small,p.medium,p.large]},Ee={responsive:!0,pagerSizeInfo:!0,pageTitleInfo:!0,maxPagesInfo:!0,type:"numeric",pageSizes:!0,refresh:!0,previousNext:!0,info:"1 - 5 of 20 items",itemsPerPage:5,maxPages:6,currentPage:1},re=e=>{let{responsive:t=Ee.responsive,size:o,pagerSizeInfo:a=Ee.pagerSizeInfo,pageTitleInfo:r=Ee.pageTitleInfo,maxPagesInfo:s=Ee.maxPagesInfo,itemsPerPage:d=Ee.itemsPerPage,maxPages:c=Ee.maxPages,currentPage:m=Ee.currentPage,previousNext:f=Ee.previousNext,type:b=Ee.type,pageSizes:g=Ee.pageSizes,refresh:u=Ee.refresh,info:L=Ee.info,focus:k,disabled:I,dir:y,...M}=e,P=[],$=[];for(let H=1;H<=c;H++)P.push(Ne(l,{selected:H===m,fillMode:"flat",themeColor:"primary",size:o,"aria-label":`Page ${H}`,...H===m&&{"aria-current":"page"},children:H},H)),$.push(Ne("option",{selected:H===m,children:H},H));return fo("div",{dir:y,...M,className:n(e.className,Ta,C(Ta,{size:o}),S(Ta,{focus:k,disabled:I}),{"k-pager-responsive":t}),role:"application","aria-roledescription":"pager","aria-keyshortcuts":"Enter ArrowRight ArrowLeft","aria-label":`Page ${m} of ${c}`,children:[fo("div",{className:n("k-pager-numbers-wrap"),children:[f&&fo(ss,{children:[Ne(l,{className:n("k-pager-nav","k-pager-first"),ariaDisabled:m===1,fillMode:"flat",size:o,icon:y==="rtl"?"caret-alt-to-right":"caret-alt-to-left",title:"Go to the first page","aria-label":"Go to the first page"}),Ne(l,{className:n("k-pager-nav"),ariaDisabled:m===1,fillMode:"flat",size:o,icon:y==="rtl"?"chevron-right":"chevron-left",title:"Go to the previous page","aria-label":"Go to the previous page"})]}),b==="numeric"&&Ne("div",{className:n("k-pager-numbers"),children:P}),b==="input"&&fo("span",{className:n("k-pager-input"),children:[r&&Ne("span",{children:"Page"}),Ne(D,{value:`${m}`,size:o,showSpinButton:!1,showClearButton:!1,"aria-label":"Current page"}),Ne("span",{children:s&&`of ${c}`})]}),f&&fo(ss,{children:[Ne(l,{className:n("k-pager-nav"),ariaDisabled:m===c,fillMode:"flat",size:o,icon:y==="rtl"?"chevron-left":"chevron-right",title:"Go to the next page","aria-label":"Go to the next page"}),Ne(l,{className:n("k-pager-nav","k-pager-last"),ariaDisabled:m===c,fillMode:"flat",size:o,icon:y==="rtl"?"caret-alt-to-left":"caret-alt-to-right",title:"Go to the last page","aria-label":"Go to the last page"})]})]}),g&&fo("span",{className:n("k-pager-sizes"),children:[Ne(J,{value:`${d}`,size:o,"aria-label":"Items per page"}),a&&Ne("span",{children:"items per page"})]}),u&&Ne(l,{className:n("k-pager-refresh"),fillMode:"flat",size:o,icon:"arrow-rotate-cw",title:"Refresh","aria-label":"Refresh"}),L&&Ne("span",{className:n("k-pager-info"),children:L})]})};re.states=Ou;re.options=Pu;re.className=Ta;re.defaultOptions=Ee;re.moduleName=rn;re.folderName=is;re.ariaSpec={selector:".k-pager",rules:[{selector:".k-pager",attribute:"role=application",usage:"Indicates that the pager has its own keyboard navigation implemented."},{selector:".k-pager",attribute:"aria-roledescription=pager",usage:"Clarifies the role of the Pager."},{selector:".k-pager",attribute:"aria-keyshortcuts=Enter ArrowRight ArrowLeft",usage:"Announces the available keyboard shortcuts."},{selector:".k-pager",attribute:"aria-label",usage:"Announces the currently selected page and the number of available pages."},{selector:".k-pager-nav",attribute:"role=button or nodeName=button",usage:"Specifies the role of the navigation element."},{selector:".k-pager-nav.k-disabled",attribute:"aria-disabled=true",usage:"Present when the navigation button is non-interactive."},{selector:".k-pager-nav",attribute:"title",usage:"Specifies the purpose of each navigation button."},{selector:".k-pager-numbers .k-button",attribute:"aria-label or title",usage:"Specifies the purpose of each page link, e.g., Page 6."},{selector:".k-pager-numbers .k-button.k-selected",attribute:"aria-current=page",usage:"Present on the currently selected page element."},{selector:".k-pager-sizes .k-dropdownlist",attribute:"aria-label or aria-labelledby",usage:"The DropDownList requires a label to specify its purpose."},{selector:".k-pager-input .k-input-inner",attribute:"aria-label",usage:"The input requires a label to specify its purpose."}]};import{jsx as jO}from"react/jsx-runtime";import{jsx as wu}from"react/jsx-runtime";var ls=e=>wu(re,{type:"input",responsive:!1,...e});import{jsx as iP}from"react/jsx-runtime";import{jsx as ds}from"react/jsx-runtime";var Bu=re.options,Ru=re.states,Ku={...re.defaultOptions,variant:"numeric"},_u=[{name:"numeric",title:"Numeric"},{name:"input",title:"Input"}],Du=[],bo=e=>{let{variant:t,...o}=e;return t==="input"?ds(re,{...o,type:"input"}):ds(re,{...o,type:"numeric"})};bo.options=Bu;bo.states=Ru;bo.variants=_u;bo.defaultOptions=Ku;bo.modifiers=Du;bo.className=re.className;import{jsx as ps,jsxs as Uu}from"react/jsx-runtime";var cs="k-color-preview",zu=[],Hu={},Mt=e=>{let{color:t,iconName:o,...a}=e;return Uu("span",{...a,className:n(e.className,cs,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&ps(v,{icon:o,className:"k-color-preview-icon"}),ps("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Mt.states=zu;Mt.options=Hu;Mt.className=cs;var nn="slider",us=nn;import{jsx as ho,jsxs as sn}from"react/jsx-runtime";var Yo="k-slider",Fu=[i.hover,i.focus,i.active,i.disabled,i.readonly],Gu={},ze={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=ze.type,orientation:o=ze.orientation,gradientType:a=ze.gradientType,readonly:r=ze.readonly,disabled:s=ze.disabled,handlePosition:d=ze.handlePosition,showButtons:c=ze.showButtons,showTicks:m=ze.showTicks,value:f=ze.value,min:b=ze.min,max:g=ze.max,startValue:u,endValue:L,hover:k,focus:I,active:y,trackStyle:M,dir:P,...$}=e,pe=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ce,Me;return o==="horizontal"?(ce=P==="rtl"?"chevron-left":"chevron-right",Me=P==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ce="chevron-up",Me="chevron-down"),sn("div",{...$,className:n(Yo,e.className,S(Yo,{readonly:r,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:P,children:[c&&ho(l,{className:"k-button-decrease",rounded:"full",icon:Me,tabIndex:-1,title:"Decrease"}),sn("div",{className:"k-slider-track-wrap",children:[m&&ho("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),sn("div",{className:"k-slider-track",style:M,children:[ho("div",{className:"k-slider-selection"}),t==="range"&&ho("span",{className:n("k-draghandle","k-draghandle-start",S(Yo,{hover:k,focus:I,active:y})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":u??b,"aria-valuemin":b,"aria-valuemax":L??g,"aria-orientation":pe,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":$["aria-label"]?`${$["aria-label"]} start`:"Range start"}),ho("span",{className:n("k-draghandle",`k-draghandle-${d}`,S(Yo,{hover:k,focus:I,active:y})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?L??g:f,"aria-valuemin":t==="range"?u??b:b,"aria-valuemax":g,"aria-orientation":pe,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":t==="range"?$["aria-label"]?`${$["aria-label"]} end`:"Range end":$["aria-label"]})]})]}),c&&ho(l,{className:"k-button-increase",rounded:"full",icon:ce,tabIndex:-1,title:"Increase"})]})};G.states=Fu;G.options=Gu;G.className=Yo;G.defaultOptions=ze;G.moduleName=nn;G.folderName=us;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 ms}from"react/jsx-runtime";var fs="k-tick",Vu=[],$u={},bs={label:!1},T=e=>{let{style:t,label:o=bs.label,orientation:a,large:r,text:s,...d}=e;return ms("li",{...d,role:"presentation",title:s||"Tick",className:n(e.className,fs,{[`k-tick-${a}`]:a,"k-tick-large":r}),style:t,children:o&&ms("span",{className:"k-label",children:s})})};T.states=Vu;T.options=$u;T.className=fs;T.defaultOptions=bs;import{Fragment as Xu,jsx as He,jsxs as qu}from"react/jsx-runtime";var hs=e=>He(G,{"aria-label":e["aria-label"]||"Slider",children:qu(Xu,{children:[He(T,{className:"k-first",label:!0,large:!0,text:"0"}),He(T,{}),He(T,{}),He(T,{}),He(T,{}),He(T,{label:!0,large:!0,text:"5"}),He(T,{}),He(T,{}),He(T,{}),He(T,{}),He(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as Ju,jsx as Ue,jsxs as Wu}from"react/jsx-runtime";var xs=e=>Ue(G,{children:Wu(Ju,{children:[Ue(T,{className:"k-first",label:!0,large:!0,text:"0"}),Ue(T,{}),Ue(T,{}),Ue(T,{}),Ue(T,{}),Ue(T,{label:!0,large:!0,text:"5"}),Ue(T,{}),Ue(T,{}),Ue(T,{}),Ue(T,{}),Ue(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as FP,jsx as UP,jsxs as GP}from"react/jsx-runtime";import{Fragment as JP,jsx as qP,jsxs as WP}from"react/jsx-runtime";import{jsx as Zu}from"react/jsx-runtime";var ln=e=>Zu(G,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as Yu}from"react/jsx-runtime";var dn=e=>Yu(G,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as iw,jsx as nw,jsxs as sw}from"react/jsx-runtime";import{Fragment as uw,jsx as cw,jsxs as mw}from"react/jsx-runtime";import{jsx as je,jsxs as gs}from"react/jsx-runtime";var Qu=G.options,ju=G.states,ks={...G.defaultOptions,variant:"horizontal",label:!0},em=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],tm=[{name:"label",title:"Labels"},{name:"tick",title:"Ticks"},{name:"button",title:"Side Buttons"}],xo=e=>{let{variant:t,modifiers:o,...a}={...ks,...e},r={};Object.keys(o||{}).forEach(f=>{switch(f){case"button":{r.showButtons=!!o?.[f];break}case"label":{r.label=!!o?.[f];break}case"tick":{r.showTicks=!!o?.[f];break}}});let{label:s=!0,showButtons:d,showTicks:c}=r,m={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?gs(xs,{showTicks:c,showButtons:d,style:{height:"300px",...m},...a,children:[je(T,{label:s,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),je(T,{label:s,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),je(T,{label:s,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),je(T,{label:s,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),je(T,{label:s,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):gs(hs,{showTicks:c,showButtons:d,style:{width:"400px",...m},...a,children:[je(T,{label:s,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),je(T,{label:s,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),je(T,{label:s,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),je(T,{label:s,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),je(T,{label:s,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};xo.options=Qu;xo.states=ju;xo.variants=em;xo.defaultOptions=ks;xo.modifiers=tm;xo.className=G.className;import{Fragment as Qo,jsx as w,jsxs as Y}from"react/jsx-runtime";var Ns="k-colorgradient-inputs",om=[],am={size:[p.undefined,p.small,p.medium,p.large]},vs={mode:"rgba"},go=e=>{let{mode:t=vs.mode,size:o,...a}=e;return Y("div",{...a,className:n(Ns,"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"&&Y(Qo,{children:[Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),w("label",{className:"k-colorgradient-input-label",children:"R"})]}),Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),w("label",{className:"k-colorgradient-input-label",children:"G"})]}),Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),w("label",{className:"k-colorgradient-input-label",children:"B"})]}),Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),w("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&Y(Qo,{children:[Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),w("label",{className:"k-colorgradient-input-label",children:"R"})]}),Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),w("label",{className:"k-colorgradient-input-label",children:"G"})]}),Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),w("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&Y(Qo,{children:[Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),w("label",{className:"k-colorgradient-input-label",children:"H"})]}),Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),w("label",{className:"k-colorgradient-input-label",children:"S"})]}),Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),w("label",{className:"k-colorgradient-input-label",children:"V"})]}),Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),w("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&Y(Qo,{children:[Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),w("label",{className:"k-colorgradient-input-label",children:"H"})]}),Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),w("label",{className:"k-colorgradient-input-label",children:"S"})]}),Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),w("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&w(Qo,{children:Y("div",{className:"k-vstack k-flex-1",children:[w(j,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),w("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};go.states=om;go.options=am;go.className=Ns;go.defaultOptions=vs;import{jsx as zt,jsxs as Ht}from"react/jsx-runtime";var Ls="k-colorgradient-color-contrast",rm=[],nm={},im={},ko=()=>Ht("div",{className:n(Ls,"k-vbox"),children:[Ht("div",{className:"k-contrast-ratio",children:[zt("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),Ht("span",{className:"k-contrast-validation !k-text-success",children:[zt(v,{icon:"check"}),zt(v,{icon:"check"})]})]}),Ht("div",{children:[zt("span",{children:"AA: 4.5"}),Ht("span",{className:"k-contrast-validation !k-text-success",children:["Pass",zt(v,{icon:"check"})]})]}),Ht("div",{children:[zt("span",{children:"AAA: 7.0"}),Ht("span",{className:"k-contrast-validation !k-text-error",children:["Fail",zt(v,{icon:"x"})]})]})]});ko.states=rm;ko.options=nm;ko.className=Ls;ko.defaultOptions=im;var Ms="color-gradient",Ss="colorgradient";import{jsx as Fe,jsxs as jo}from"react/jsx-runtime";var Aa="k-colorgradient",sm=[i.hover,i.focus,i.readonly,i.disabled],lm={size:[p.undefined,p.small,p.medium,p.large]},et={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"},ne=e=>{let{size:t,mode:o=et.mode,readonly:a=et.readonly,disabled:r=et.disabled,gradientStyle:s=et.gradientStyle,dragHandleStyle:d=et.dragHandleStyle,alphaStyle:c=et.alphaStyle,alphaStyleHorizontal:m=et.alphaStyleHorizontal,contrast:f=et.contrast,dir:b,hover:g,focus:u,hoverHandle:L,focusHandle:k,canvasOrientation:I=et.canvasOrientation,role:y,tabIndex:M,...P}=e;return jo("div",{...P,role:y??"textbox","aria-label":y==="none"?void 0:"Color gradient",tabIndex:M??0,"aria-disabled":r?"true":void 0,className:n(e.className,Aa,C(Aa,{size:t}),S(Aa,{hover:g,focus:u,readonly:a,disabled:r})),dir:b,children:[!I||I==="horizontal"&&jo("div",{className:"k-colorgradient-canvas k-hstack",children:[Fe("div",{className:"k-hsv-rectangle",style:s,children:Fe("div",{className:"k-hsv-gradient",children:Fe("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),style:d,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})})}),jo("div",{className:"k-hsv-controls k-hstack",children:[Fe(dn,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&Fe(dn,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:c})]})]}),I==="vertical"&&jo("div",{className:"k-colorgradient-canvas k-vstack",children:[Fe("div",{className:"k-hsv-rectangle",style:s,children:Fe("div",{className:"k-hsv-gradient",children:Fe("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),style:d,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})})}),jo("div",{className:"k-hsv-controls k-vstack",children:[Fe(ln,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&Fe(ln,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:m})]})]}),Fe(go,{mode:e.mode,size:t}),f&&Fe(ko,{})]})};ne.states=sm;ne.options=lm;ne.className=Aa;ne.defaultOptions=et;ne.moduleName=Ms;ne.folderName=Ss;ne.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 dm}from"react/jsx-runtime";var Oa=e=>dm(ne,{...e});import{jsx as aB}from"react/jsx-runtime";import{jsx as sB}from"react/jsx-runtime";import{jsx as pn}from"react/jsx-runtime";var pm=ne.options,cm=ne.states,um={...ne.defaultOptions,variant:"rgba"},mm=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],fm=[],No=e=>{let{variant:t,...o}=e;switch(t){case"hex":return pn(Oa,{...o,mode:t});case"rgb":return pn(Oa,{...o,mode:t});default:return pn(Oa,{...o,mode:t})}};No.options=pm;No.states=cm;No.variants=mm;No.defaultOptions=um;No.modifiers=fm;No.className=ne.className;import{jsx as bm}from"react/jsx-runtime";var cn=e=>bm("tr",{role:"row",children:e.children});import{jsx as gm}from"react/jsx-runtime";var un="k-colorpalette-tile",hm=[i.hover,i.focus,i.selected],xm={},vo=e=>{let{color:t,tileSize:o,hover:a,focus:r,selected:s,...d}=e,c={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return gm("td",{...d,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:n(e.className,un,S(un,{hover:a,focus:r,selected:s})),style:c})};vo.states=hm;vo.options=xm;vo.className=un;var Is="color-palette",ys="colorpalette";import{jsx as ea}from"react/jsx-runtime";var Pa="k-colorpalette",km=[i.disabled],Nm={size:[p.undefined,p.small,p.medium,p.large]},Cs={columns:10},xe=e=>{let{size:t,palette:o,columns:a=Cs.columns,tileSize:r,disabled:s,...d}=e,c=[];if(o){let m=a||o.columns,f=o.colors?o.colors:o;Array.isArray(f)&&Array.from({length:Math.ceil(f.length/m)},(b,g)=>{let u=[];f.slice(g*m,(g+1)*m).map((k,I)=>{u.push(ea(vo,{color:k,tileSize:r},I))});let L=ea(cn,{children:u},g);c.push(L)})}return ea("div",{...d,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:n(e.className,Pa,S(Pa,{disabled:s}),C(Pa,{size:t})),children:ea("table",{className:"k-colorpalette-table",role:"none",children:ea("tbody",{children:c.length>0?c:e.children})})})};xe.states=km;xe.options=Nm;xe.className=Pa;xe.defaultOptions=Cs;xe.moduleName=Is;xe.folderName=ys;xe.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 wa=xe;var ta={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 vm}from"react/jsx-runtime";var Es=e=>vm(wa,{palette:ta.basic,...e});import{jsx as FB}from"react/jsx-runtime";import{jsx as JB,jsxs as WB}from"react/jsx-runtime";import{jsx as Em}from"react/jsx-runtime";var Lm=xe.options,Mm=xe.states,Sm={...xe.defaultOptions,variant:"basic"},Im=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],ym={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}},Cm=[],Lo=e=>{let{variant:t="basic",...o}=e,a=ym[t];return Em(Es,{columns:a.columns,palette:a,...o})};Lo.options=Lm;Lo.states=Mm;Lo.variants=Im;Lo.defaultOptions=Sm;Lo.modifiers=Cm;Lo.className=xe.className;var Ts="color-editor",As="coloreditor";import{jsx as Ge,jsxs as Mo}from"react/jsx-runtime";var Ba="k-coloreditor",Tm=[i.focus],Am={size:[p.undefined,p.small,p.medium,p.large]},oa={view:"gradient",palette:ta.office,actionButtons:!0,canvasOrientation:"horizontal"},W=e=>{let{size:t,view:o=oa.view,palette:a=oa.palette,color:r,currentColor:s,focus:d,focusView:c,dir:m,group:f,actionButtons:b=oa.actionButtons,canvasOrientation:g=oa.canvasOrientation,...u}=e;return Mo("div",{...u,role:"textbox","aria-label":"Color editor",tabIndex:0,className:n(e.className,"k-flatcolorpicker",Ba,C(Ba,{size:t}),S(Ba,{focus:d})),dir:m,children:[Mo("div",{className:"k-coloreditor-header k-hstack",children:[Ge("div",{className:"k-coloreditor-header-actions k-hstack",children:f&&Mo(E,{fillMode:"flat",children:[Ge(l,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),Ge(l,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),Ge("div",{className:"k-spacer"}),Mo("div",{className:"k-coloreditor-header-actions k-hstack",children:[Ge(l,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Mo("div",{className:"k-coloreditor-preview k-vstack",children:[Ge(Mt,{className:"k-coloreditor-preview-color",color:r}),Ge(Mt,{className:"k-coloreditor-current-color",color:s})]})]})]}),Ge("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?Ge(ne,{focus:c,size:t,canvasOrientation:g,role:"none",tabIndex:-1}):Ge(xe,{palette:a,size:t})}),b&&Mo(Xe,{className:"k-coloreditor-footer",alignment:"start",children:[Ge(l,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),Ge(l,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};W.states=Tm;W.options=Am;W.className=Ba;W.defaultOptions=oa;W.moduleName=Ts;W.folderName=As;W.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 So=W;import{jsx as SR}from"react/jsx-runtime";import{jsx as ER}from"react/jsx-runtime";import{jsx as Om}from"react/jsx-runtime";var Os=e=>Om(So,{group:!0,currentColor:"fuchsia",...e});import{jsx as Pm}from"react/jsx-runtime";var Ps=e=>Pm(So,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as ws}from"react/jsx-runtime";var wm=W.options,Bm=W.states,Rm={...W.defaultOptions,variant:"gradient"},Km=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],_m=[],Io=e=>{let{variant:t,...o}=e;return t==="palette"?ws(Ps,{...o,color:"white"}):ws(Os,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Io.options=wm;Io.states=Bm;Io.variants=Km;Io.defaultOptions=Rm;Io.modifiers=_m;Io.className=W.className;var Bs="color-picker",Rs="colorpicker";import{Fragment as Hm,jsx as Ve,jsxs as mn}from"react/jsx-runtime";var Ks="k-colorpicker",Dm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],zm={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},_s={arrowIconName:"chevron-down"},Te=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:r=_s.arrowIconName,prefix:s,suffix:d,value:c,placeholder:m,hover:f,focus:b,valid:g,invalid:u,required:L,disabled:k,valueIconName:I,popup:y,opened:M,adaptive:P,adaptiveSettings:$,adaptiveTitle:H,adaptiveSubtitle:pe,...ce}=e,Me="colorpicker-popup";return mn(Hm,{children:[mn(We,{...ce,size:t,rounded:o,fillMode:a,hover:f,focus:b,valid:g,invalid:u,required:L,disabled:k,role:"combobox","aria-haspopup":"dialog","aria-expanded":M?"true":"false","aria-controls":M||P?Me:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":k?"true":void 0,className:n(e.className,Ks,"k-icon-picker"),children:[Ve(Pe,{children:s}),Ve(Ot,{placeholder:m,value:c,showValue:!1,valueIcon:Ve(Mt,{className:"k-value-icon",color:c,iconName:I}),valueIconName:I}),Ve(we,{children:d}),Ve(l,{className:"k-input-button",icon:r,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:k})]}),M&&y&&Ve(V,{id:Me,className:"k-colorpicker-popup",children:y}),P&&Ve(q,{adaptive:!0,id:Me,...$,header:Ve(me,{actionsEnd:Ve(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:H,subtitle:pe}),footer:mn(ft,{children:[Ve(l,{text:"Cancel",size:"large"}),Ve(l,{text:"Set",size:"large",themeColor:"primary"})]}),children:Ve(W,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Te.states=Dm;Te.options=zm;Te.className=Ks;Te.defaultOptions=_s;Te.moduleName=Bs;Te.folderName=Rs;Te.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 it=Te;import{jsx as Um}from"react/jsx-runtime";var Ra=e=>Um(it,{...e});import{jsx as c0}from"react/jsx-runtime";import{jsx as h0}from"react/jsx-runtime";import{jsx as N0}from"react/jsx-runtime";import{jsx as S0}from"react/jsx-runtime";import{jsx as E0}from"react/jsx-runtime";import{jsx as P0}from"react/jsx-runtime";import{jsx as Ut}from"react/jsx-runtime";var Fm=it.options,Gm=it.states,Ds={...it.defaultOptions,variant:"color"},Vm=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],$m=[{name:"opened",title:"Opened"}],yo=e=>{let{variant:t,modifiers:o,...a}={...Ds,...e},r={};Object.keys(o||{}).forEach(d=>{d==="opened"&&(r.opened=!!o?.[d],r.popup=o?.[d]?Ut(W,{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 Ut("div",{style:s,children:Ut(Ra,{...a,...r})});case"icon":return Ut("div",{style:s,children:Ut(Ra,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...r})});default:return Ut("div",{style:s,children:Ut(Ra,{value:"rgba(183, 118 , 118, 1.00)",...a,...r})})}};yo.options=Fm;yo.states=Gm;yo.variants=Vm;yo.defaultOptions=Ds;yo.modifiers=$m;yo.className=it.className;var fn="split-button",zs=fn;import{Fragment as Jm,jsx as bn,jsxs as Hs}from"react/jsx-runtime";var hn="k-split-button",Xm=[i.hover,i.focus,i.active,i.selected,i.disabled],qm={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info,N.inverse]},Us={arrowIconName:"chevron-down"},B=e=>{let{size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:d,active:c,selected:m,disabled:f,icon:b,text:g,arrowIconName:u=Us.arrowIconName,popup:L,opened:k,popupId:I,...y}=e;return Hs(Jm,{children:[Hs("div",{...y,className:n(e.className,hn,"k-button-group",C(hn,{rounded:o})),children:[bn(l,{text:g,icon:b,size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:d,active:c,selected:m,disabled:f,...!g&&!e.children&&b&&{"aria-label":"Action"},children:e.children}),bn(l,{className:"k-split-button-arrow",icon:u,size:t,rounded:o,fillMode:a,disabled:f,"aria-label":"Toggle dropdown","aria-expanded":k?"true":"false","aria-controls":k?I:void 0,tabIndex:-1,...f&&{"aria-disabled":"true"}})]}),k&&L&&bn(V,{className:"k-menu-popup",children:L})]})};B.states=Xm;B.options=qm;B.className=hn;B.defaultOptions=Us;B.moduleName=fn;B.folderName=zs;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 xn=B;import{jsx as Zm}from"react/jsx-runtime";var Wm="k-toolbar-separator",Q=e=>Zm("div",{className:n(Wm,e.className,"k-separator")});var st="toolbar",St=st;import{Fragment as gn,jsx as K,jsxs as Co}from"react/jsx-runtime";var lt="k-toolbar",Ym=[i.focus],Qm={size:[p.undefined,p.small,p.medium,p.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},jm={scrollButtons:"around"},F=e=>{let{size:t,fillMode:o,focus:a,resizable:r,scrollable:s,scrollButtons:d,scrollingPosition:c,section:m,...f}=e,b=[],g=(u,L)=>{let k=[];if(u.type===l&&u.props.className&&u.props.className.includes("k-toolbar-overflow-button"))k.push(K(l,{...u.props,className:`${u.props.className?u.props.className:""}`},`${L}-${new Date().getTime()}`));else if(u.type===l)k.push(K(l,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${L}-${new Date().getTime()}`));else if(u.type===zo)k.push(K(zo,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${L}-${new Date().getTime()}`));else if(u.type===mt)k.push(K(mt,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${L}-${new Date().getTime()}`));else if(u.type===_)k.push(K(_,{...u.props,className:`k-toolbar-menu-button ${u.props.className?u.props.className:""}`},`${L}-${new Date().getTime()}`));else if(u.type===xn)k.push(K(xn,{...u.props,className:`k-toolbar-split-button ${u.props.className?u.props.className:""}`},`${L}-${new Date().getTime()}`));else if(u.type===E||u.props.className&&u.props.className.includes("k-button-group")){let I=[];(Array.isArray(u.props.children)?u.props.children:[u.props.children]).forEach((M,P)=>{I.push(K(l,{...M.props,className:`${M.props.className?M.props.className:""}`},`${P}-${new Date().getTime()}`))}),k.push(K(E,{...u.props,className:`k-toolbar-button-group ${u.props.className?u.props.className:""}`,children:I},`${L}-${new Date().getTime()}`))}else u.type===oe?k.push(K(oe,{...u.props,className:`k-toolbar-combobox ${u.props.className?u.props.className:""}`},`${L}-${new Date().getTime()}`)):u.type===J?k.push(K(J,{...u.props,className:`k-toolbar-dropdownlist ${u.props.className?u.props.className:""}`},`${L}-${new Date().getTime()}`)):u.type===Te?k.push(K(Te,{...u.props,className:`k-toolbar-colorpicker ${u.props.className?u.props.className:""}`},`${L}-${new Date().getTime()}`)):k.push(u);k.forEach(I=>{b.push(I)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((L,k)=>{g(L,k)}),Co("div",{...f,className:n(e.className,lt,C(lt,{size:t,fillMode:o}),S(lt,{focus:a}),{[`${lt}-resizable`]:r,[`${lt}-scrollable`]:s,[`${lt}-scrollable-overlay`]:s&&d==="hidden",[`${lt}-scrollable-${c}`]:c&&c!=="both",[`${lt}-section`]:m}),role:"toolbar","aria-label":"Toolbar",children:[!s&&b,s&&d==="hidden"&&K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),s&&d==="start"&&Co(gn,{children:[Co(E,{children:[K("span",{className:n("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-left"})}),K("span",{className:n("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-right"})})]}),K(Q,{className:"k-toolbar-button-separator"}),K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b})]}),s&&d==="end"&&Co(gn,{children:[K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),K(Q,{className:"k-toolbar-button-separator"}),Co(E,{children:[K("span",{className:n("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-left"})}),K("span",{className:n("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(d==="around"||!d)&&Co(gn,{children:[K("span",{className:n("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-left"})}),K(Q,{className:"k-toolbar-button-separator"}),K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),K(Q,{className:"k-toolbar-button-separator"}),K("span",{className:n("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-right"})})]})]})};F.states=Ym;F.options=Qm;F.className=lt;F.defaultOptions=jm;F.moduleName=st;F.folderName=St;F.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 af}from"react/jsx-runtime";var Fs="k-floating-toolbar",ef=[],tf={},of={},Eo=e=>{let{...t}=e;return af("div",{...t,className:n(e.className,Fs),children:e.children})};Eo.states=ef;Eo.options=tf;Eo.className=Fs;Eo.defaultOptions=of;Eo.moduleName=st;Eo.folderName=St;import{jsx as lf}from"react/jsx-runtime";var kn="k-toolbar-item",rf=[i.focus],nf={},sf={},To=e=>{let{focus:t,...o}=e;return lf("div",{...o,className:n(e.className,kn,S(kn,{focus:t})),children:e.children})};To.states=rf;To.options=nf;To.className=kn;To.defaultOptions=sf;To.moduleName=st;To.folderName=St;import{jsx as Gs}from"react/jsx-runtime";var Vs="k-toolbar-popup",df=[],pf={size:[p.undefined,p.small,p.medium,p.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},cf={},Ft=e=>{let{size:t,fillMode:o,section:a,...r}=e;return Gs(V,{...r,className:n(e.className,Vs),children:a?Gs("span",{className:n("k-toolbar-items-list",C("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Ft.states=df;Ft.options=pf;Ft.className=Vs;Ft.defaultOptions=cf;Ft.moduleName=st;Ft.folderName=St;var Ka=Ft;import{jsx as RK}from"react/jsx-runtime";import{jsx as zK}from"react/jsx-runtime";import{jsx as GK}from"react/jsx-runtime";import{jsx as WK,jsxs as ZK}from"react/jsx-runtime";import{jsx as e_}from"react/jsx-runtime";import{jsx as dt,jsxs as hf}from"react/jsx-runtime";var uf=B.states,$s={...B.defaultOptions,variant:"text"},mf=B.options,ff=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],bf=[{name:"opened",title:"Opened"}],Ao=e=>{let{variant:t,modifiers:o,...a}={...$s,...e},r={},s=hf(le,{size:a.size,children:[dt(X,{first:!0,text:"Menu Item"}),dt(X,{text:"Menu Item"}),dt(X,{last:!0,text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(d=>{d==="opened"&&(r.opened=!!o?.[d],r.popup=o?.[d]?s:"")}),t){case"icon-only":return dt("div",{children:dt(B,{...a,...r,icon:"star"})});case"icon-and-text":return dt("div",{children:dt(B,{...a,...r,icon:"star",children:"Split Button"})});default:return dt("div",{children:dt(B,{...a,...r,children:"Split Button"})})}};Ao.options=mf;Ao.states=uf;Ao.variants=ff;Ao.defaultOptions=$s;Ao.modifiers=bf;Ao.className=B.className;import{jsx as Gt,jsxs as xf}from"react/jsx-runtime";var Xs=e=>Gt(F,{children:[Gt(l,{children:"Button"},"toolbar-button"),Gt(_,{text:"Menu button"},"toolbar-menu-button"),Gt(B,{children:"Split button"},"toolbar-split-button"),xf(E,{children:[Gt(l,{className:"k-group-start",icon:"align-left",children:"Left"}),Gt(l,{icon:"align-center",children:"Center"}),Gt(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as T_,jsxs as A_}from"react/jsx-runtime";import{jsx as Ae,jsxs as qs}from"react/jsx-runtime";var Js=e=>Ae(F,{scrollable:!0,...e,children:[Ae(l,{children:"Button"},"toolbar-button"),Ae(_,{text:"Menu button"},"toolbar-menu-button"),Ae(B,{children:"Split button"},"toolbar-split-button"),qs(E,{children:[Ae(l,{className:"k-group-start",icon:"align-left",children:"Left"}),Ae(l,{icon:"align-center",children:"Center"}),Ae(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Ae(l,{children:"Button"},"toolbar-button"),Ae(_,{text:"Menu button"},"toolbar-menu-button"),Ae(B,{children:"Split button"},"toolbar-split-button"),qs(E,{children:[Ae(l,{className:"k-group-start",icon:"align-left",children:"Left"}),Ae(l,{icon:"align-center",children:"Center"}),Ae(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Oe,jsxs as Ws}from"react/jsx-runtime";var Zs=({scrollingPosition:e="start",...t})=>Oe(F,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[Oe(l,{children:"Button"},"toolbar-button"),Oe(_,{text:"Menu button"},"toolbar-menu-button"),Oe(B,{children:"Split button"},"toolbar-split-button"),Ws(E,{children:[Oe(l,{className:"k-group-start",icon:"align-left",children:"Left"}),Oe(l,{icon:"align-center",children:"Center"}),Oe(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Oe(l,{children:"Button"},"toolbar-button"),Oe(_,{text:"Menu button"},"toolbar-menu-button"),Oe(B,{children:"Split button"},"toolbar-split-button"),Ws(E,{children:[Oe(l,{className:"k-group-start",icon:"align-left",children:"Left"}),Oe(l,{icon:"align-center",children:"Center"}),Oe(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as gf,jsx as ve,jsxs as _a}from"react/jsx-runtime";var Ys=({fillMode:e,size:t,...o})=>_a(gf,{children:[ve(F,{section:!0,fillMode:e,size:t,children:[ve(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),_a(E,{fillMode:e,children:[ve(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ve(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ve(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),ve(Q,{className:"k-toolbar-button-separator"}),ve(l,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),_a(Ka,{size:t,fillMode:e,section:!0,...o,children:[ve(B,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),ve(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),ve(Q,{}),ve(_,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),_a(E,{fillMode:e,children:[ve(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ve(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ve(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as dD,jsx as sD,jsxs as lD}from"react/jsx-runtime";import{Fragment as ND,jsx as gD,jsxs as kD}from"react/jsx-runtime";import{jsx as It}from"react/jsx-runtime";var kf=F.options,Nf=F.states,Qs={...F.defaultOptions,variant:"default"},vf=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],Lf=[],Oo=e=>{let{variant:t,...o}={...Qs,...e};switch(t){case"responsive":return It("div",{children:It(Ys,{style:{width:"583px"},...o})});case"overlay":return It("div",{children:It(Zs,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return It("div",{children:It(Js,{style:{width:"583px"},...o})});default:return It("div",{children:It(Xs,{style:{width:"583px"},...o})})}};Oo.options=kf;Oo.states=Nf;Oo.variants=vf;Oo.defaultOptions=Qs;Oo.modifiers=Lf;Oo.className=F.className;import{Fragment as Da,jsx as yt,jsxs as aa}from"react/jsx-runtime";var Nn="k-upload-dropzone",Mf=[i.hover],za=e=>{let{hover:t,status:o,disabled:a,hasFiles:r,filesId:s,...d}=e,c;switch(o){case"uploading":c=aa(Da,{children:[yt(v,{icon:"upload"}),"Uploading..."]});break;case"done":c=aa(Da,{children:[yt(v,{icon:"check"}),"Done"]});break;case"failed":c=aa(Da,{children:[yt(v,{icon:"exclamation-circle"}),"Done"]});break;default:c=yt(Da,{});break}return aa("div",{...d,className:n(e.className,Nn,"k-dropzone",S(Nn,{hover:t})),children:[aa("div",{className:"k-upload-button-wrap",children:[yt(l,{className:"k-upload-button","aria-disabled":a?"true":"false",...r&&s?{"aria-controls":s}:{},children:"Select files..."}),yt("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),yt("span",{className:n("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&yt("span",{className:"k-upload-status",children:c})]})};za.states=Mf;za.className=Nn;var vn="upload",js=vn;import{jsx as Ha,jsxs as tl}from"react/jsx-runtime";var Ln="k-upload",Sf=[i.hover,i.disabled],If={},ol={actionsLayout:"end"},el="upload-files-list",te=e=>{let{async:t,empty:o,actions:a,actionsLayout:r=ol.actionsLayout,hover:s,status:d,disabled:c,...m}=e,f=!!e.children;return tl("div",{...m,className:n(e.className,Ln,S(Ln,{disabled:c}),{"k-upload-async":t,"k-upload-empty":o}),children:[Ha(za,{status:d,hover:s,disabled:c,hasFiles:f,filesId:el}),f&&Ha("ul",{className:"k-upload-files",role:"list",id:el,children:e.children}),a&&f&&tl(li,{alignment:r,orientation:"horizontal",children:[Ha(l,{className:"k-clear-selected",children:"Clear"}),Ha(l,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};te.states=Sf;te.options=If;te.className=Ln;te.defaultOptions=ol;te.moduleName=vn;te.folderName=js;te.ariaSpec={selector:".k-upload",rules:[{selector:".k-upload .k-upload-button",attribute:"aria-disabled",usage:"Announces the disabled state of the upload button."},{selector:".k-upload .k-upload-button",attribute:"aria-controls (when present)",usage:"Creates the relationship between the button and the list of selected files when the list is present."},{selector:".k-upload input",attribute:"tabindex=-1",usage:"Assures that the input element inside the upload is not focusable."},{selector:".k-upload input",attribute:"aria-hidden=true",usage:"The input needs to be hidden from screen readers."},{selector:".k-upload-files",attribute:"role=list",usage:"Explicitly sets the UL role to list."},{selector:".k-upload-files",attribute:"id",usage:"Unique and deterministic id linked to the button aria-controls attribute."},{selector:".k-upload-files .k-file",attribute:"role=listitem",usage:"Explicitly sets the LI role to listitem."},{selector:".k-upload .k-file .k-file-validation-message",attribute:"aria-live=polite",usage:"Announces the change in the upload status of the file."},{selector:".k-upload .k-upload-actions .k-upload-action",attribute:"aria-label",usage:"Provides accessible names for the file action buttons."},{selector:".k-upload .k-upload-actions .k-upload-action",attribute:"tabindex=-1",usage:"The list file action buttons are not focusable elements."}]};var ra="progressbar",Ua=ra;import{jsx as Sn,jsxs as Mn}from"react/jsx-runtime";var $e="k-progressbar",yf=[i.disabled,i.indeterminate],Cf={orientation:["horizontal","vertical"]},Vt={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},de=e=>{let{disabled:t,height:o,indeterminate:a=Vt.indeterminate,label:r=Vt.label,labelPosition:s=Vt.labelPosition,orientation:d=Vt.orientation,reverse:c=Vt.reverse,value:m=Vt.value,width:f,style:b,ariaLabel:g,...u}=e;return Mn("div",{...u,className:n(e.className,$e,S($e,{disabled:t}),{[`${$e}-${d}`]:d,[`${$e}-indeterminate`]:a,[`${$e}-reverse`]:c}),style:{...b,"--kendo-progressbar-value":m,[d==="horizontal"?"height":"width"]:d==="horizontal"?o:f},role:"progressbar","aria-label":g||"progress","aria-valuenow":a?void 0:Number(m),"aria-valuemin":0,"aria-valuemax":100,children:[Sn("span",{className:n("k-progress-status-wrap",{[`k-progress-${s}`]:s&&!a}),children:r&&Mn("span",{className:"k-progress-status",children:[m,"%"]})}),!a&&Sn("div",{className:"k-progressbar-value k-selected",children:Sn("span",{className:n("k-progress-status-wrap",{[`k-progress-${s}`]:s}),children:r&&Mn("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};de.states=yf;de.options=Cf;de.className=$e;de.defaultOptions=Vt;de.moduleName=ra;de.folderName=Ua;de.ariaSpec={selector:".k-progressbar",implicitRole:"progressbar",rules:[{selector:".k-progressbar",attribute:"role=progressbar",usage:"Sets the proper role for ProgressBar."},{selector:".k-progressbar",attribute:"aria-label or aria-labelledby",usage:"The ProgressBar needs an accessible name to be assigned to it."},{selector:".k-progressbar:not(.k-progressbar-indeterminate)",attribute:"aria-valuenow",usage:"Required if the value is not indeterminate. Decimal value between aria-valuemin and aria-valuemax."},{selector:".k-progressbar",attribute:"aria-valuemin",usage:"Minimum value. Defaults to 0."},{selector:".k-progressbar",attribute:"aria-valuemax",usage:"Maximum value. Defaults to 100."}]};var al=de;import{jsx as In}from"react/jsx-runtime";var rl="k-chunk-progressbar",Ef=(e,t)=>t<=e-1,Tf=[i.disabled,i.indeterminate],Af={},Fa={chunkCount:5,orientation:"horizontal",progress:0},$t=e=>{let{disabled:t,chunkCount:o=Fa.chunkCount,indeterminate:a,orientation:r=Fa.orientation,progress:s=Fa.progress,reverse:d,ariaLabel:c,...m}=e;return In("div",{...m,className:n(e.className,$e,rl,S($e,{disabled:t}),{[`${$e}-${r}`]:r,[`${$e}-indeterminate`]:a,[`${$e}-reverse`]:d}),role:"progressbar","aria-label":c||"progress","aria-valuenow":a?void 0:s,"aria-valuemin":0,"aria-valuemax":o,children:In("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((f,b)=>In("li",{className:n("k-progressbar-chunk",{"k-first":b===0,"k-last":b===[...Array(o)].length-1,"k-selected":Ef(s,b)})},b))})})};$t.states=Tf;$t.options=Af;$t.className=rl;$t.defaultOptions=Fa;$t.moduleName=ra;$t.folderName=Ua;$t.ariaSpec={selector:".k-chunk-progressbar",implicitRole:"progressbar",rules:[{selector:".k-chunk-progressbar",attribute:"role=progressbar",usage:"Sets the proper role for ChunkProgressBar."},{selector:".k-chunk-progressbar",attribute:"aria-label or aria-labelledby",usage:"The ChunkProgressBar needs an accessible name to be assigned to it."},{selector:".k-chunk-progressbar:not(.k-progressbar-indeterminate)",attribute:"aria-valuenow",usage:"Required if the value is not indeterminate. Value between aria-valuemin and aria-valuemax."},{selector:".k-chunk-progressbar",attribute:"aria-valuemin",usage:"Minimum value. Defaults to 0."},{selector:".k-chunk-progressbar",attribute:"aria-valuemax",usage:"Maximum value. Defaults to chunk count."}]};import{jsx as Of}from"react/jsx-runtime";var na=e=>Of(al,{...e});import{jsx as kz}from"react/jsx-runtime";import{jsx as Ct}from"react/jsx-runtime";var Pf=de.options,wf=de.states,nl={...de.defaultOptions,variant:"start"},Bf=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],Rf=[],Po=e=>{let{variant:t,modifiers:o,...a}={...nl,...e},r={},s={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(d=>{switch(d){case"reverse":r.reverse=!!o?.[d];break;case"vertical":r.orientation=o?.[d]?"vertical":void 0,s.style=o?.[d]?void 0:{width:"324px"};break}}),t){case"end":return Ct("div",{...s,children:Ct(na,{...a,...r,labelPosition:"end",value:"50"})});case"center":return Ct("div",{...s,children:Ct(na,{...a,...r,labelPosition:"center",value:"50"})});case"empty":return Ct("div",{...s,children:Ct(na,{...a,...r,label:!1,value:"50"})});default:return Ct("div",{...s,children:Ct(na,{...a,...r,labelPosition:"start",value:"50"})})}};Po.options=Pf;Po.states=wf;Po.variants=Bf;Po.defaultOptions=nl;Po.modifiers=Rf;Po.className=de.className;import{jsx as yn,jsxs as _f}from"react/jsx-runtime";var Kf="k-file-info",Cn=e=>{let{name:t,size:o,validationMsg:a,...r}=e;return _f("div",{...r,className:n(e.className,Kf),children:[t&&yn("span",{className:"k-file-name",children:t}),o&&yn("span",{className:"k-file-size",children:o}),a&&yn("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};import{Fragment as zf,jsx as pt,jsxs as Ga}from"react/jsx-runtime";var Df="k-file",Le=e=>{let{status:t,progress:o,name:a,icon:r,size:s,state:d,validationMsg:c,...m}=e;return pt("li",{...m,className:n(e.className,Df,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:Ga("div",{className:"k-file-single",children:[pt(de,{className:n({"k-hidden":t!=="progress"}),value:o,label:!1}),Ga("span",{className:"k-file-icon-wrapper",children:[pt(v,{className:"k-file-icon",icon:r,size:"xxlarge"}),d&&pt("span",{className:"k-file-state",children:d})]}),pt(Cn,{name:a,size:s,validationMsg:c}),pt("div",{className:"k-upload-actions",children:t==="progress"?Ga(zf,{children:[Ga("span",{className:"k-upload-pct",children:[o,"%"]}),pt(l,{icon:"pause-sm",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),pt(l,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):pt(l,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};import{Fragment as Wz,jsx as qz,jsxs as Jz}from"react/jsx-runtime";import{Fragment as Hf,jsx as En,jsxs as Uf}from"react/jsx-runtime";var ia=e=>En(te,{async:!0,children:Uf(Hf,{children:[En(Le,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),En(Le,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});import{Fragment as n1,jsx as a1,jsxs as r1}from"react/jsx-runtime";import{jsx as Ff}from"react/jsx-runtime";var Va=e=>Ff(te,{async:!0,empty:!0,...e});import{Fragment as m1,jsx as u1,jsxs as f1}from"react/jsx-runtime";import{Fragment as k1,jsx as g1,jsxs as N1}from"react/jsx-runtime";import{jsx as ct,jsxs as $a}from"react/jsx-runtime";var Gf=te.options,Vf=te.states,il={...te.defaultOptions,variant:"empty"},$f=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],Xf=[],wo=e=>{let{variant:t,...o}={...il,...e};switch(t){case"success":return $a(ia,{status:"done",style:{width:"586px"},...o,children:[ct(Le,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),ct(Le,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return $a(ia,{status:"failed",style:{width:"586px"},...o,children:[ct(Le,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),ct(Le,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return $a(ia,{status:"uploading",style:{width:"586px"},...o,children:[ct(Le,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),ct(Le,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return $a(ia,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[ct(Le,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),ct(Le,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return ct(Va,{async:!0,status:"upload",style:{width:"586px"},...o})}};wo.options=Gf;wo.states=Vf;wo.variants=$f;wo.defaultOptions=il;wo.modifiers=Xf;wo.className=te.className;var Tn="pdf-viewer",sl=Tn;import{jsx as A,jsxs as tt}from"react/jsx-runtime";var An="k-pdf-viewer",qf=[i.disabled],Jf={},Wf=tt(F,{resizable:!0,fillMode:"flat",children:[A(_,{icon:"menu",fillMode:"flat",showArrow:!1,"aria-label":"Menu"}),A(Q,{}),A(ls,{pageSizes:!1,refresh:!1,info:!1}),A("span",{className:"k-spacer"}),tt(E,{fillMode:"flat",children:[A(l,{fillMode:"flat",className:"k-group-start",icon:"zoom-out","aria-label":"Zoom out"}),A(l,{fillMode:"flat",className:"k-group-end",icon:"zoom-in","aria-label":"Zoom in"})]}),A(oe,{value:"Automatic Width",fillMode:"flat","aria-label":"Zoom level"}),tt(E,{fillMode:"flat",children:[A(l,{fillMode:"flat",className:"k-group-start",icon:"pointer","aria-label":"Selection tool"}),A(l,{fillMode:"flat",className:"k-group-end",icon:"hand","aria-label":"Hand tool"})]}),A("span",{className:"k-spacer"}),A(l,{fillMode:"flat",icon:"search","aria-haspopup":"dialog","aria-label":"Search"}),A(l,{fillMode:"flat",icon:"edit-annotations","aria-label":"Annotations"}),A(l,{fillMode:"flat",icon:"comment","aria-label":"Comments"})]}),Zf=tt(F,{resizable:!0,fillMode:"flat",children:[tt(E,{fillMode:"flat",children:[A(l,{fillMode:"flat",className:"k-group-start",icon:"highlight","aria-label":"Highlight"}),A(l,{fillMode:"flat",icon:"underline","aria-label":"Underline"}),A(l,{fillMode:"flat",className:"k-group-end",icon:"strikethrough","aria-label":"Strikethrough"})]}),A(Q,{}),A(l,{fillMode:"flat",icon:"free-text","aria-label":"Free text"}),A(Q,{}),A(_,{icon:"shapes",fillMode:"flat",showArrow:!0,"aria-label":"Shapes"}),A(Q,{}),A(_,{icon:"stamp",fillMode:"flat",showArrow:!0,"aria-label":"Stamp"}),A(Q,{}),A(l,{fillMode:"flat",icon:"sticky-note","aria-label":"Sticky note"}),A(Q,{}),A(l,{fillMode:"flat",icon:"ruler-outline","aria-label":"Ruler"}),A(Q,{}),A(l,{fillMode:"flat",icon:"comment","aria-label":"Comment"}),A(Q,{}),A(l,{fillMode:"flat",icon:"eraser-outline","aria-label":"Eraser"}),A("span",{className:"k-spacer"}),A(l,{fillMode:"flat",icon:"x","aria-label":"Close"})]}),sa={toolbar:Wf,showSearchPanel:!1,blank:!1,annotations:!1,annotationsToolbar:Zf},Et=e=>{let{disabled:t,toolbar:o=sa.toolbar,showSearchPanel:a=sa.showSearchPanel,blank:r=sa.blank,annotations:s,annotationsToolbar:d=sa.annotationsToolbar,...c}=e;return tt("div",{...c,className:n(e.className,An,S(An,{disabled:t})),children:[o,s&&d,tt("div",{className:"k-canvas k-pdf-viewer-canvas k-pos-relative k-overflow-auto k-enable-text-select",tabIndex:0,"aria-label":"PDF document",role:"document",children:[a&&tt("div",{className:"k-search-panel k-pos-sticky k-top-center",role:"dialog","aria-label":"Search",children:[A(l,{fillMode:"flat",icon:"handle-drag",className:"k-search-dialog-draghandle","aria-label":"Drag handle"}),A(j,{"aria-label":"Search text",suffix:A(l,{fillMode:"flat",className:"k-match-case-button",icon:"convert-lowercase","aria-label":"Match case"})}),tt("span",{className:"k-search-matches",children:[A("span",{children:"0"})," of ",A("span",{children:"0"})]}),A(l,{fillMode:"flat",icon:"arrow-up","aria-label":"Previous match"}),A(l,{fillMode:"flat",icon:"arrow-down","aria-label":"Next match"}),A(l,{fillMode:"flat",icon:"x","aria-label":"Close search"})]}),A("div",{className:"k-pdf-viewer-pages",children:r?tt("div",{className:"k-page k-blank-page",children:[A(Sa,{}),A(Va,{empty:!0,status:"upload"})]}):e.children})]})]})};Et.states=qf;Et.options=Jf;Et.className=An;Et.defaultOptions=sa;Et.moduleName=Tn;Et.folderName=sl;Et.ariaSpec={selector:".k-pdf-viewer",rules:[{selector:".k-pdf-viewer .k-canvas",attribute:"tabindex=0",usage:"Defines the focusable page container element."},{selector:".k-pdf-viewer .k-canvas",attribute:"aria-label",usage:"Describes the purpose of the focusable container."},{selector:".k-pdf-viewer .k-canvas",attribute:"role=document",usage:"Defines that content should be evaluated in reader mode by assistive technologies."},{selector:'.k-pdf-viewer .k-toolbar .k-button:has([class*="i-search"])',attribute:"aria-haspopup=dialog",usage:"Describes that the Search tool button opens a dialog element."},{selector:".k-pdf-viewer .k-canvas .k-search-panel",attribute:"role=dialog",usage:"Describes the role of the Search panel."},{selector:".k-pdf-viewer .k-canvas .k-search-panel",attribute:"aria-label",usage:"Label for the Search panel, same label as the Search tool."}]};var j1=Et;export{An as PDFVIEWER_CLASSNAME,Et as PDFViewer,j1 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 C=(e,t)=>n({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),S=(e,t)=>{let{valid:o,invalid:a,hover:r,focus:s,checked:d,active:c,selected:m,disabled:f,indeterminate:b,loading:g,empty:u,readonly:L,highlighted:k,...I}=t;return n({"k-valid":o,"k-invalid":a,"k-hover":r,"k-focus":s,"k-checked":d,"k-active":c,"k-selected":m,"k-disabled":f,"k-indeterminate":b&&!d,"k-loading":g,"k-empty":u,"k-readonly":L,"k-highlighted":k},Object.keys(I).reduce((y,M)=>(M.startsWith("k-")?y[M]=I[M]:y[`k-${M}`]=I[M],y),{}))};function Pn(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var p={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},x={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},h={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Je={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},N={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},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 Wa={};function z(e){return Wa[e]=(Wa[e]||0)+1,`k-${e}-${Wa[e]}`}import{Fragment as ul,jsx as wn}from"react/jsx-runtime";var Za="k-font-icon",dl=[],pl={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info]},cl={},Bo=e=>{let{size:t,themeColor:o,icon:a,rotate:r,flip:s,...d}=e;return a?wn("span",{...d,className:n(e.className,Za,C(Za,{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"}):wn(ul,{})};Bo.states=dl;Bo.options=pl;Bo.className=Za;Bo.defaultOptions=cl;var Bn=Bo;import{Fragment as bl,jsx as da}from"react/jsx-runtime";var Ya="k-svg-icon",ml=[],fl={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info],variant:[Je.outline,Je.solid,Je.duotone]},Qa={viewBox:"0 0 24 24",variant:Je.outline},Ro=e=>{let{size:t,themeColor:o,rotate:a,flip:r,viewBox:s=Qa.viewBox,variant:d=Qa.variant,icon:c,...m}=e;if(!c)return da(bl,{});if(c==="none")return da("span",{...m,className:n(e.className,Ya,C("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let f=typeof c=="object"&&c.name&&c.name,b=typeof c=="object"?d&&c.variants?.[d]||c.variants?.outline||c.content:void 0;return da("span",{...m,className:n(e.className,Ya,C("k-icon",{size:t}),{[`k-svg-i-${f}`]:f,[`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:da("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:s,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:c?void 0:e.children})})};Ro.states=ml;Ro.options=fl;Ro.className=Ya;Ro.defaultOptions=Qa;var ja=Ro;import*as er from"@progress/kendo-svg-icons";var Rn="icon",Kn="icons";import{useContext as xl}from"react";import{createContext as hl}from"react";var _n=hl({iconsType:"svg"});import{Fragment as Dn,jsx as Ko}from"react/jsx-runtime";var pa="k-icon",gl=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),kl=[],Nl={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info],variant:[Je.outline,Je.solid,Je.duotone]},ca={viewBox:"0 0 24 24",type:"svg",variant:Je.outline},v=e=>{let{iconsType:t}=xl(_n),{size:o,themeColor:a,icon:r,type:s=t||ca.type,rotate:d,flip:c,viewBox:m=ca.viewBox,variant:f=ca.variant,...b}=e;if(!r)return Ko(Dn,{});if((t||s)==="svg"){if(r==="none")return Ko(ja,{...b,className:n(e.className,pa),icon:r,size:o,variant:f});let u=er[r]?r:gl(`${r}-icon`);return er[u]?Ko(ja,{...b,className:n(e.className,pa),icon:er[u],size:o,themeColor:a,rotate:d,flip:c,viewBox:m,variant:f}):Ko(Dn,{})}return Ko(Bn,{...b,className:n(e.className,pa),icon:r,size:o,themeColor:a,rotate:d,flip:c})};v.states=kl;v.options=Nl;v.defaultOptions=ca;v.className=pa;v.moduleName=Rn;v.folderName=Kn;v.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 tr="button",zn=tr;import{Fragment as Sl,jsx as _o,jsxs as Hn}from"react/jsx-runtime";var Do="k-button",vl=["icon-button"],Ll=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],Ml={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info,N.inverse]},or={showArrow:!1,arrowIconName:"chevron-down"},l=e=>{let{as:t="button",size:o,rounded:a,fillMode:r,themeColor:s,showArrow:d=or.showArrow,arrowIconName:c=or.arrowIconName,variant:m,hover:f,focus:b,active:g,selected:u,disabled:L,togglable:k,ariaDisabled:I,icon:y,text:M,iconClassName:P,className:$,...H}=e,pe=y!==void 0,ce=e.children!==void 0;return Hn(t,{className:n($,Do,Pn(Do,m),C(Do,{size:o,rounded:a,fillMode:r,themeColor:s}),S(Do,{hover:f,focus:b,active:g,disabled:L||I,selected:u}),{"k-icon-button":!M&&!ce&&pe}),...H,"aria-pressed":k?u?"true":"false":void 0,"aria-disabled":I?"true":void 0,disabled:L||void 0,children:[y&&_o(v,{className:n(P,"k-button-icon"),icon:y}),M?Hn(Sl,{children:[M&&_o("span",{className:"k-button-text",children:M}),e.children]}):e.children&&_o("span",{className:"k-button-text",children:e.children}),d&&_o("span",{className:"k-menu-button-arrow k-button-arrow",children:_o(v,{icon:c})})]})};l.states=Ll;l.options=Ml;l.variants=vl;l.className=Do;l.defaultOptions=or;l.moduleName=tr;l.folderName=zn;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."}]};import{jsx as Il}from"react/jsx-runtime";var mt=e=>Il(l,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as yl}from"react/jsx-runtime";var zo=e=>yl(l,{icon:"folder",children:"Button",...e});import{jsx as Cl}from"react/jsx-runtime";var At=e=>Cl(l,{children:"Button",...e});import{jsx as ar}from"react/jsx-runtime";var El=l.options,Tl=l.states,Al={...l.defaultOptions,variant:"text"},Ol=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Pl=[],Xt=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return ar(mt,{...o,icon:"star"});case"icon-and-text":return ar(zo,{...o,icon:"star",children:"Button"});default:return ar(At,{...o,children:"Button"})}};Xt.options=El;Xt.states=Tl;Xt.variants=Ol;Xt.defaultOptions=Al;Xt.modifiers=Pl;Xt.className=l.className;var rr="button",Un=rr;import{jsx as Kl}from"react/jsx-runtime";var Ho="k-button-group",wl=[i.disabled],Bl={fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},Rl={},E=e=>{let{fillMode:t,disabled:o,stretched:a,...r}=e;return Kl("div",{role:"group",...r,className:n(e.className,Ho,C(Ho,{fillMode:t}),S(Ho,{disabled:o}),{[`${Ho}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};E.states=wl;E.options=Bl;E.className=Ho;E.defaultOptions=Rl;E.moduleName=rr;E.folderName=Un;E.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."}]};import{Fragment as ch,jsx as ph,jsxs as uh}from"react/jsx-runtime";import{Fragment as gh,jsx as xh,jsxs as kh}from"react/jsx-runtime";import{Fragment as Ih,jsx as Sh,jsxs as yh}from"react/jsx-runtime";import{Fragment as Ph,jsx as Oh,jsxs as wh}from"react/jsx-runtime";import{Fragment as zh,jsx as Dh,jsxs as Hh}from"react/jsx-runtime";import{Fragment as Xh,jsx as $h,jsxs as qh}from"react/jsx-runtime";import{jsx as ot,jsxs as nr}from"react/jsx-runtime";var _l={...l.options,...E.options},Dl=l.states,zl={...l.defaultOptions,...E.defaultOptions,variant:"text-button"},Hl=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Ul=[],qt=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?nr(E,{fillMode:a.fillMode,className:o,children:[ot(l,{...a,icon:"star"}),ot(l,{...a,icon:"star"}),ot(l,{...a,icon:"star"})]}):t==="icon-text-button"?nr(E,{fillMode:a.fillMode,className:o,children:[ot(l,{...a,icon:"star",children:"First"}),ot(l,{...a,icon:"star",children:"Middle"}),ot(l,{...a,icon:"star",children:"Last"})]}):nr(E,{fillMode:a.fillMode,className:o,children:[ot(l,{...a,children:"First"}),ot(l,{...a,children:"Middle"}),ot(l,{...a,children:"Last"})]})};qt.options=_l;qt.states=Dl;qt.variants=Hl;qt.defaultOptions=zl;qt.modifiers=Ul;qt.className=E.className;var Uo="input",ua=Uo;import{jsx as $l}from"react/jsx-runtime";var ma="k-input",Fl=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Gl={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Vl={},Z=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:d,readonly:c,size:m,rounded:f,fillMode:b,...g}=e;return $l("span",{...g,className:n(e.className,ma,C(ma,{size:m,rounded:f,fillMode:b}),S(ma,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:d,readonly:c}))})};Z.states=Fl;Z.options=Gl;Z.className=ma;Z.defaultOptions=Vl;Z.moduleName=Uo;Z.folderName=ua;import{jsx as Wl}from"react/jsx-runtime";var fa="k-picker",Xl=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],ql={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Jl={},We=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:d,readonly:c,size:m,rounded:f,fillMode:b,...g}=e;return Wl("span",{...g,className:n(e.className,fa,C(fa,{size:m,rounded:f,fillMode:b}),S(fa,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:d,readonly:c})),children:e.children})};We.states=Xl;We.options=ql;We.className=fa;We.defaultOptions=Jl;We.moduleName=Uo;We.folderName=ua;import{Fragment as Ql,jsx as ir}from"react/jsx-runtime";var Fn="k-clear-value",Zl=[i.disabled,i.loading,i.readonly],Yl={},Se=e=>{let{disabled:t,loading:o,readonly:a,value:r}=e;return t||a||o||!r?ir(Ql,{}):ir("span",{className:n(e.className,Fn),children:ir(v,{icon:"x"})})};Se.states=Zl;Se.options=Yl;Se.className=Fn;import{jsx as td}from"react/jsx-runtime";var sr="k-input-inner",jl=[],ed={},ba={type:"text",autocomplete:"off",value:"",placeholder:""},Ie=e=>{let{value:t=ba.value,type:o=ba.type,placeholder:a=ba.placeholder,autocomplete:r=ba.autocomplete,disabled:s,readOnly:d,...c}=e;return td("input",{...c,type:o,className:n(e.className,sr,C(sr,e)),placeholder:a,autoComplete:r,defaultValue:t,disabled:s||void 0,readOnly:d||void 0})};Ie.states=jl;Ie.options=ed;Ie.className=sr;import{jsx as Gn,jsxs as rd}from"react/jsx-runtime";var lr="k-input-inner",od=[],ad={},Ot=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:r,valueIconName:s,...d}=e;return rd("span",{...d,className:n(e.className,lr,C(lr,e)),children:[r,!r&&s&&Gn(v,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&Gn("span",{className:"k-input-value-text",children:t})]})};Ot.states=od;Ot.options=ad;Ot.className=lr;import{jsx as sd}from"react/jsx-runtime";var dr="k-input-inner",nd=[],id={},Vn={value:"",placeholder:""},pr=e=>{let{value:t=Vn.value,placeholder:o=Vn.placeholder,rows:a,disabled:r,...s}=e;return sd("textarea",{...s,className:n(e.className,dr,C(dr,e)),placeholder:o,rows:a,defaultValue:t,disabled:r||void 0})};pr.states=nd;pr.options=id;pr.className=dr;import{Fragment as dd,jsx as $n}from"react/jsx-runtime";var Xn="k-input-loading-icon",ld=[i.disabled,i.loading],ge=e=>{let{disabled:t,loading:o}=e;return t||!o?$n(dd,{}):$n("span",{className:n(e.className,Xn,"k-icon k-i-loading")})};ge.states=ld;ge.className=Xn;import{Fragment as ud,jsx as qn}from"react/jsx-runtime";var Jn="k-input-validation-icon",pd=[i.valid,i.invalid,i.disabled,i.loading],cd={},ue=e=>{let{valid:t,invalid:o,disabled:a,loading:r}=e,s=o?"warning-circle":"check-circle";return a||r||!!!(t||o)?qn(ud,{}):qn(v,{className:n(Jn),icon:s})};ue.states=pd;ue.options=cd;ue.className=Jn;import{Fragment as bd,jsx as Wn}from"react/jsx-runtime";var md="k-input-prefix",fd={direction:"horizontal"},Pe=e=>{let{direction:t=fd.direction,...o}=e;return e.children?Wn("span",{...o,className:n(md,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Wn(bd,{})};import{Fragment as gd,jsx as Zn}from"react/jsx-runtime";var hd="k-input-suffix",xd={direction:"horizontal"},we=e=>{let{direction:t=xd.direction,...o}=e;return e.children?Zn("span",{...o,className:n(hd,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Zn(gd,{})};import{jsx as qx}from"react/jsx-runtime";import{jsx as Nd}from"react/jsx-runtime";var kd="k-input-suffix-text",cr=e=>{let{children:t,...o}=e;return Nd("span",{...o,className:n(kd,e.className),children:t})};import{jsx as Ld}from"react/jsx-runtime";var Yn="k-input-separator",vd={direction:"vertical"},Be=e=>{let{direction:t=vd.direction,...o}=e;return Ld("span",{...o,className:n(Yn,e.className,{[`${Yn}-${t}`]:t})})};import{Fragment as Qn,jsx as Ze,jsxs as ur}from"react/jsx-runtime";var Md=Z.states,Sd=Z.defaultOptions,Id=Z.options,yd=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Cd=[],Jt=e=>{let{modifiers:t,valid:o,invalid:a,loading:r,disabled:s,readonly:d,...c}=e,m=t?.prefix,f=t?.suffix,b=t?.["clear-button"],g=t?.["validation-icon"],u=t?.separators;return ur(Z,{...c,valid:o,invalid:a,loading:r,disabled:s,readonly:d,style:{width:300},children:[m&&ur(Qn,{children:[Ze(Pe,{children:Ze(v,{icon:"lock"})}),u&&Ze(Be,{})]}),Ze(Ie,{placeholder:"Placeholder",value:"Value"}),g&&Ze(ue,{valid:o,invalid:a,loading:r,disabled:s}),Ze(ge,{loading:r,disabled:s}),b&&Ze(Se,{loading:r,disabled:s,readonly:d,value:"Value"}),f&&ur(Qn,{children:[u&&Ze(Be,{}),Ze(we,{children:Ze(At,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};Jt.options=Id;Jt.states=Md;Jt.variants=Cd;Jt.defaultOptions=Sd;Jt.modifiers=yd;Jt.className=Z.className;var mr="popup",jn=mr;import{jsx as ei}from"react/jsx-runtime";var ti="k-animation-container",Ed=[],Td={},oi={positionMode:"absolute"},Ye=e=>{let{positionMode:t=oi.positionMode,animationStyle:o,offset:a,...r}=e;return ei("div",{...r,style:{...a,...e.style},className:n(e.className,ti,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:ei("div",{className:"k-child-animation-container",style:o,children:e.children})})};Ye.states=Ed;Ye.options=Td;Ye.className=ti;Ye.defaultOptions=oi;Ye.moduleName=mr;Ye.folderName=jn;var fr="popup",ai=fr;import{jsx as ri}from"react/jsx-runtime";var ni="k-popup",Ad=[],Od={},ii={positionMode:"absolute"},V=e=>{let{offset:t,positionMode:o=ii.positionMode,animationStyle:a,containerClassName:r,containerRole:s,containerAriaLabel:d,...c}=e;return ri(Ye,{positionMode:o,offset:t,animationStyle:a,className:r,role:s,"aria-label":d,children:ri("div",{...c,className:n(e.className,ni),children:e.children})})};V.states=Ad;V.options=Od;V.className=ni;V.defaultOptions=ii;V.moduleName=fr;V.folderName=ai;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 br="action-buttons",si=br;import{jsx as Bd}from"react/jsx-runtime";var ha="k-actions",Pd=[],wd={},hr={alignment:"start",orientation:"horizontal"},Xe=e=>{let{alignment:t=hr.alignment,orientation:o=hr.orientation,...a}=e;return Bd("div",{...a,className:n(ha,{[`${ha}-${t}`]:t,[`${ha}-${o}`]:o},e.className),children:e.children})};Xe.states=Pd;Xe.options=wd;Xe.className=ha;Xe.defaultOptions=hr;Xe.moduleName=br;Xe.folderName=si;var li=Xe;import{jsx as Kd}from"react/jsx-runtime";var Rd="k-actionsheet-footer",di={alignment:"stretched",orientation:"horizontal"},ft=e=>{let{alignment:t=di.alignment,orientation:o=di.orientation,template:a,as:r=a?"div":Xe,...s}=e;return Kd(r,{...s,...!a&&{alignment:t,orientation:o},className:n(e.className,Rd),children:e.children})};var xr="searchbox",pi=xr;import{jsx as Fo,jsxs as zd}from"react/jsx-runtime";var ci="k-searchbox",_d=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Dd={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},gr={showIcon:!0,icon:"search"},Re=e=>{let{value:t,placeholder:o,size:a,rounded:r,fillMode:s,hover:d,focus:c,valid:m,invalid:f,required:b,loading:g,disabled:u,showIcon:L=gr.showIcon,icon:k=gr.icon,"aria-label":I,...y}=e;return zd(Z,{...y,size:a,rounded:r,fillMode:s,hover:d,focus:c,valid:m,invalid:f,required:b,loading:g,disabled:u,className:n(e.className,ci),children:[L&&Fo(v,{className:"k-input-icon",icon:k}),Fo(Ie,{placeholder:o,value:t,"aria-label":I}),Fo(ge,{...e}),Fo(ue,{...e}),Fo(Se,{...e})]})};Re.states=_d;Re.options=Dd;Re.className=ci;Re.defaultOptions=gr;Re.moduleName=xr;Re.folderName=pi;import{jsx as uk}from"react/jsx-runtime";var kr="textbox",ui=kr;import{Fragment as mi,jsx as bt,jsxs as Nr}from"react/jsx-runtime";var fi="k-textbox",Hd=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Ud={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},xa={showClearButton:!0,showValidationIcon:!0,separators:!0},j=e=>{let{size:t,rounded:o,fillMode:a,separators:r=xa.separators,showClearButton:s=xa.showClearButton,showValidationIcon:d=xa.showValidationIcon,prefix:c,suffix:m,type:f,value:b,placeholder:g,hover:u,focus:L,valid:k,invalid:I,required:y,loading:M,disabled:P,readonly:$,id:H,"aria-label":pe,"aria-describedby":ce,...Me}=e;return Nr(Z,{...Me,size:t,rounded:o,fillMode:a,hover:u,focus:L,valid:k,invalid:I,required:y,loading:M,disabled:P,readonly:$,className:n(e.className,fi),children:[c&&Nr(mi,{children:[bt(Pe,{children:c}),r&&bt(Be,{})]}),bt(Ie,{id:H,placeholder:g,value:b,type:f,disabled:P,"aria-label":pe,"aria-describedby":ce,"aria-invalid":I?"true":void 0}),d&&bt(ue,{valid:k,invalid:I,loading:M,disabled:P}),bt(ge,{loading:M,disabled:P}),s&&bt(Se,{loading:M,disabled:P,readonly:$,value:b}),m&&Nr(mi,{children:[r&&bt(Be,{}),bt(we,{children:m})]})]})};j.states=Hd;j.options=Ud;j.className=fi;j.defaultOptions=xa;j.moduleName=kr;j.folderName=ui;j.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 Go=j;import{jsx as Fd}from"react/jsx-runtime";var bi=e=>Fd(Go,{...e});import{Fragment as Ak,jsx as Tk}from"react/jsx-runtime";import{Fragment as Kk,jsx as Rk}from"react/jsx-runtime";import{jsx as Hk}from"react/jsx-runtime";import{jsx as vr}from"react/jsx-runtime";var Gd=j.states,Vd=j.defaultOptions,$d=j.options,Xd=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],qd=[],Wt=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t?.[r]?vr(v,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[r]?vr(At,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[r];break;default:break}}),vr(bi,{value:"Value",style:{width:300},...o,...a})};Wt.options=$d;Wt.states=Gd;Wt.variants=qd;Wt.defaultOptions=Vd;Wt.modifiers=Xd;Wt.className=j.className;import{jsx as ht,jsxs as Lr}from"react/jsx-runtime";var hi="k-actionsheet-titlebar",Jd={},me=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:r,filter:s,input:d,inputValue:c,inputPlaceholder:m,adaptive:f,titleId:b,children:g,...u}=e;return Lr("div",{...u,className:n(e.className,hi),children:[Lr("div",{className:"k-actionsheet-titlebar-group",children:[a&&ht("div",{className:"k-actionsheet-actions",children:a}),!g&&Lr("div",{className:"k-actionsheet-title",id:b,children:[t&&ht("div",{className:"k-text-center",children:t}),o&&ht("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),g&&ht("div",{className:"k-actionsheet-title",id:b,children:g}),r&&ht("div",{className:"k-actionsheet-actions",children:r})]}),(d||s)&&ht("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?ht(j,{value:c,placeholder:m,size:f?"large":"medium","aria-label":t||m||"Input"}):ht(Re,{placeholder:"Filter",size:f?"large":"medium","aria-label":"Filter options"})})]})};me.className=hi;me.defaultOptions=Jd;import{jsx as Mr,jsxs as Qd}from"react/jsx-runtime";var Sr="k-actionsheet-view",Wd=[],Zd={},Yd={},Zt=e=>{let{adaptive:t,animated:o,children:a,header:r,footer:s,titleId:d,...c}=e,m=r?.type===me&&Mr(me,{adaptive:t,titleId:d,...r?.props}),f=s?.type===ft&&Mr(ft,{...s?.props});return Qd("div",{...c,className:n(e.className,Sr,{[`${Sr}-animated`]:o}),children:[m,Mr("div",{className:"k-actionsheet-content",children:a}),f]})};Zt.states=Wd;Zt.options=Zd;Zt.className=Sr;Zt.defaultOptions=Yd;var Vo="action-sheet",ga=Vo;var Ir="overlay",xi=Ir;import{jsx as op}from"react/jsx-runtime";var gi="k-overlay",jd=[],ep={},tp={},xt=e=>{let{...t}=e;return op("div",{...t,className:n(e.className,gi),children:e.children})};xt.states=jd;xt.options=ep;xt.className=gi;xt.defaultOptions=tp;xt.moduleName=Ir;xt.folderName=xi;import{jsx as ka,jsxs as np}from"react/jsx-runtime";var ki="k-actionsheet",ap=[],rp={},$o={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},q=e=>{let{side:t=$o.side,fullscreen:o=$o.fullscreen,adaptive:a=$o.adaptive,overlay:r=$o.overlay,template:s,children:d,header:c,footer:m,id:f,...b}=e,g=f&&!s&&c?`${f}-title`:void 0;return np("div",{className:"k-actionsheet-container",children:[r&&ka(xt,{}),ka(Ye,{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:ka("div",{...b,id:f,role:"dialog","aria-modal":r?"true":void 0,"aria-labelledby":g,className:n(e.className,ki,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||ka(Zt,{header:c,footer:m,adaptive:a,titleId:g,...e,children:d})})})]})};q.states=ap;q.options=rp;q.className=ki;q.defaultOptions=$o;q.moduleName=Vo;q.folderName=ga;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 dp}from"react/jsx-runtime";var Ni="k-actionsheet-container",ip=[],sp={},lp={},Yt=e=>{let{children:t,...o}=e;return dp("div",{...o,className:Ni,children:t})};Yt.states=ip;Yt.options=sp;Yt.className=Ni;Yt.defaultOptions=lp;Yt.moduleName=Vo;Yt.folderName=ga;import{jsx as pp}from"react/jsx-runtime";var yr=e=>{let{...t}=e;return pp("div",{...t,className:n(e.className,"k-list-ul"),children:e.children})};import{Fragment as up,jsx as Xo,jsxs as Cr}from"react/jsx-runtime";var Er="k-actionsheet-item",cp=[i.hover,i.focus,i.selected,i.disabled],gt=e=>{let{iconName:t,text:o,description:a,hover:r,focus:s,selected:d,disabled:c,...m}=e;return Cr("span",{...m,className:n(e.className,Er,S(Er,{hover:r,focus:s,selected:d,disabled:c})),children:[!e.children&&Xo(up,{children:Cr("span",{className:"k-actionsheet-action",children:[t&&Xo("span",{className:"k-icon-wrap",children:Xo(v,{className:"k-actionsheet-item-icon",icon:t})}),Cr("span",{className:"k-actionsheet-item-text",children:[o&&Xo("span",{className:"k-actionsheet-item-title",children:o}),a&&Xo("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};gt.states=cp;gt.className=Er;import{jsx as zN,jsxs as HN}from"react/jsx-runtime";import{jsx as VN}from"react/jsx-runtime";import{jsx as JN}from"react/jsx-runtime";import{jsx as QN}from"react/jsx-runtime";import{jsx as ie,jsxs as Tr}from"react/jsx-runtime";var mp=q.options,fp=q.states,Li={...q.defaultOptions,variant:"normal"},bp=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],hp=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Qt=e=>{let{variant:t,modifiers:o,...a}={...Li,...e},r={},s=Tr(yr,{children:[ie(gt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),ie(gt,{text:"Add to Favorites",iconName:"heart"}),ie(gt,{text:"Upload New",iconName:"upload",disabled:!0}),ie("hr",{className:"k-hr"}),ie(gt,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",c="Select Item";return t==="fullScreen"&&(r.fullScreen=!0),Object.keys(o||{}).forEach(m=>{switch(m){case"actions":r.actionsStart=!!o?.[m],r.actionsEnd=!!o?.[m];break;case"subtitle":r.subtitle=o?.[m]?d:void 0;break;case"footer":r.footer=!!o?.[m];break;default:break}}),t==="adaptive"?ie(q,{...a,adaptive:!0,fullscreen:r.fullScreen,header:ie(me,{actionsStart:r.actionsStart?ie(l,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?ie(l,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:r.subtitle}),footer:r.footer?Tr(ft,{alignment:"stretched",children:[ie(l,{text:"Cancel",size:"large",themeColor:"base"}),ie(l,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):ie(q,{...a,fullscreen:r.fullScreen,header:ie(me,{actionsStart:r.actionsStart?ie(l,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?ie(l,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:r.subtitle}),footer:r.footer?Tr(ft,{alignment:"stretched",children:[ie(l,{text:"Apply",themeColor:"primary"}),ie(l,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Qt.options=mp;Qt.states=fp;Qt.variants=bp;Qt.defaultOptions=Li;Qt.modifiers=hp;Qt.className=q.className;import Or from"react";import{jsx as Mi}from"react/jsx-runtime";var xp="k-list-group-sticky-header",Ar=e=>Mi("div",{className:n(xp,e.className),children:Mi("div",{className:"k-list-header-text",children:e.children})});import{jsx as kp}from"react/jsx-runtime";var gp="k-no-data",Na=e=>{let{live:t,...o}=e;return kp("span",{...o,className:n(gp,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Pt="list",jt=Pt;import{jsx as Si,jsxs as Ii}from"react/jsx-runtime";var Pr="k-list",Np=[],vp={size:[p.undefined,p.small,p.medium,p.large]},Lp={},R=e=>{let{size:t,virtualization:o,children:a,header:r,optionLabel:s,customValue:d,noData:c,screenReaders:m,...f}=e,g=Or.Children.toArray(a)[0],u=g?.props?.children?Or.Children.count(g.props.children):Or.Children.count(a);return Ii("div",{...f,className:n(e.className,Pr,C(Pr,{size:t}),{"k-virtual-list":o}),children:[s,d,r&&Si(Ar,{children:r}),a||(c!==void 0?c:Si(Na,{live:!0,children:"No data found."})),m&&a&&Ii(Na,{className:"k-sr-only",live:!0,children:[u," items found."]})]})};R.states=Np;R.options=vp;R.className=Pr;R.defaultOptions=Lp;R.moduleName=Pt;R.folderName=jt;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 yp}from"react/jsx-runtime";var yi="k-list-container",Mp=[],Sp={},Ip={},eo=e=>{let{...t}=e;return yp("div",{...t,className:n(e.className,yi),children:e.children})};eo.states=Mp;eo.options=Sp;eo.className=yi;eo.defaultOptions=Ip;eo.moduleName=Pt;eo.folderName=jt;var wt="checkbox",to=wt;import{jsx as Ci}from"react/jsx-runtime";var va="k-checkbox",Cp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],Ep={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full]},Tp={},Ke=e=>{let{id:t,checked:o,indeterminate:a,hover:r,focus:s,disabled:d,invalid:c,valid:m,required:f,size:b,rounded:g,wrapperRole:u,...L}=e;return Ci("span",{className:"k-checkbox-wrap",role:u,children:Ci("input",{...L,id:t,type:"checkbox",defaultChecked:o,required:f,disabled:d||void 0,"aria-invalid":c?"true":void 0,className:n(e.className,va,C(va,{size:b,rounded:g}),S(va,{hover:r,focus:s,disabled:d,invalid:c,valid:m,indeterminate:a,checked:o}))})})};Ke.states=Cp;Ke.options=Ep;Ke.className=va;Ke.defaultOptions=Tp;Ke.moduleName=wt;Ke.folderName=to;Ke.ariaSpec={selector:".k-checkbox",rules:[{selector:".k-checkbox",attribute:"role=checkbox or type=checkbox",usage:"Announces the checkbox role of the element."},{selector:".k-checkbox",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name to which it will be assigned."},{selector:".k-checkbox",attribute:"aria-checked=true/false/mixed or checked",usage:"For native checkboxes the checked state is handled by the browser. aria-checked is used for custom implementations."},{selector:".k-checkbox",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the checkbox."},{selector:".k-checkbox",attribute:"disabled or aria-disabled=true (when disabled)",usage:"For native checkboxes use the HTML disabled attribute. aria-disabled for custom implementations."},{selector:".k-invalid, .ng-invalid",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the CheckBox is in a form and announces the invalid state."}]};var qe=Ke;import{jsx as Pp}from"react/jsx-runtime";var Ei="k-checkbox-list",Ap=[],Op={},Ti={layout:"vertical"},fe=e=>{let{layout:t=Ti.layout,...o}=e;return Pp("ul",{...o,className:n(e.className,Ei,{[`k-list-${t}`]:t}),children:e.children})};fe.states=Ap;fe.options=Op;fe.className=Ei;fe.defaultOptions=Ti;fe.moduleName=wt;fe.folderName=to;import{jsx as Kp}from"react/jsx-runtime";var Ai="k-checkbox-list-item",wp=[],Bp={},Rp={},be=e=>{let{...t}=e;return Kp("li",{...t,className:n(e.className,Ai),children:e.children})};be.states=wp;be.options=Bp;be.className=Ai;be.defaultOptions=Rp;be.moduleName=wt;be.folderName=to;import{Fragment as _p,jsx as Oi,jsxs as Dp}from"react/jsx-runtime";var at=({children:e="Label",id:t="cb-label-after",...o})=>Dp(_p,{children:[Oi(qe,{id:t,...o}),Oi("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});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{Fragment as kL,jsx as gL,jsxs as NL}from"react/jsx-runtime";import{jsx as SL}from"react/jsx-runtime";import{jsx as EL}from"react/jsx-runtime";import{jsx as PL}from"react/jsx-runtime";import{jsx as _e,jsxs as Pi}from"react/jsx-runtime";var zp=fe.options,Hp=fe.states,Up={...fe.defaultOptions,variant:"vertical"},Fp=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Gp=[],oo=e=>{let{variant:t,...o}=e;return t==="horizontal"?Pi(fe,{layout:"horizontal",...o,children:[_e(be,{children:_e(at,{id:z("cb"),defaultChecked:!0,children:"Label"})}),_e(be,{children:_e(at,{id:z("cb"),children:"Label"})}),_e(be,{children:_e(at,{id:z("cb"),children:"Label"})})]}):Pi(fe,{...o,children:[_e(be,{children:_e(at,{id:z("cb"),defaultChecked:!0,children:"Label"})}),_e(be,{children:_e(at,{id:z("cb"),children:"Label"})}),_e(be,{children:_e(at,{id:z("cb"),children:"Label"})})]})};oo.options=zp;oo.states=Hp;oo.variants=Fp;oo.defaultOptions=Up;oo.modifiers=Gp;oo.className=fe.className;import{jsx as Wp}from"react/jsx-runtime";var Vp=qe.options,$p=qe.states,Xp=qe.defaultOptions,qp=[],Jp=[],ao=e=>Wp(at,{id:z("checkbox"),...e,defaultChecked:!0,children:"Label"});ao.options=Vp;ao.states=$p;ao.variants=qp;ao.defaultOptions=Xp;ao.modifiers=Jp;ao.className=qe.className;import{jsx as Bt,jsxs as jp}from"react/jsx-runtime";var wr="k-list-item",Zp=[i.hover,i.focus,i.selected,i.disabled],Yp={},Qp={},O=e=>{let{text:t,groupLabel:o,group:a,iconName:r,iconClassName:s,showCheckbox:d,checked:c,hover:m,focus:f,selected:b,disabled:g,actions:u,description:L,id:k,...I}=e,y=t||e.children;return jp("li",{...I,id:k,role:a?"presentation":"option",tabIndex:a?void 0:f?0:-1,"aria-selected":!a&&b?"true":a?void 0:"false","aria-disabled":!a&&g?"true":void 0,className:n(e.className,a?"k-list-group-item":wr,S(wr,{hover:m,focus:f,disabled:g,selected:b})),children:[d&&Bt(Ke,{checked:c}),r&&Bt("span",{className:"k-list-item-icon-wrapper",children:Bt(v,{icon:r,className:n("k-list-item-icon",s)})}),Bt("span",{className:"k-list-item-text",children:y}),u&&Bt("div",{className:"k-list-item-actions",children:u}),L&&Bt("span",{className:"k-list-item-description",children:L}),o&&o!==""&&Bt("div",{className:"k-list-item-group-label",children:o})]})};O.states=Zp;O.options=Yp;O.className=wr;O.defaultOptions=Qp;O.moduleName=Pt;O.folderName=jt;O.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 tc}from"react/jsx-runtime";var ec="k-list-ul",rt=e=>{let{children:t,role:o,id:a,...r}=e;return tc("ul",{...r,id:a,role:o,className:n(ec,e.className),children:t})};rt.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 Br,jsxs as ac}from"react/jsx-runtime";var oc="k-list-content",U=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":r,listboxId:s,...d}=e;return ac("div",{...d,className:n(oc,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:Br(rt,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":r,children:e.children}),t&&Br("div",{className:"k-height-container",children:Br("div",{})})]})};U.ariaSpec={selector:".k-list-content",rules:[{selector:'.k-list-content[role="listbox"]',attribute:"role=listbox",usage:"For grouped lists, the list content container has the listbox role."},{selector:'.k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."}]};import{Fragment as LM,jsx as vM,jsxs as MM}from"react/jsx-runtime";import{jsx as Rr,jsxs as nc}from"react/jsx-runtime";var rc="k-list-group-item",Rt=e=>{let{groupIconName:t,...o}=e;return nc("li",{...o,role:"presentation",className:n(rc,e.className),children:[t&&Rr("span",{className:"k-list-item-icon-wrapper",children:Rr(v,{icon:t,className:"k-list-item-icon"})}),Rr("span",{className:"k-list-item-text",children:e.children})]})};Rt.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 dc}from"react/jsx-runtime";var Kr="k-list-optionlabel",ic=[i.hover,i.focus,i.selected,i.disabled],sc={},lc={},La=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:s,...d}=e;return dc("div",{...d,className:n(Kr,S(Kr,{hover:o,focus:a,selected:r,disabled:s})),children:t})};La.states=ic;La.options=sc;La.className=Kr;La.defaultOptions=lc;import{jsx as mc}from"react/jsx-runtime";var _r="k-list-custom-value",pc=[i.hover,i.focus,i.selected,i.disabled],cc={},uc={},kt=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:s,...d}=e;return mc("div",{...d,className:n(_r,S(_r,{hover:o,focus:a,selected:r,disabled:s})),children:t})};kt.states=pc;kt.options=cc;kt.className=_r;kt.defaultOptions=uc;import{Fragment as zM,jsx as DM,jsxs as HM}from"react/jsx-runtime";import{Fragment as XM,jsx as $M,jsxs as qM}from"react/jsx-runtime";import{Fragment as eS,jsx as QM,jsxs as jM}from"react/jsx-runtime";import{Fragment as sS,jsx as nS,jsxs as iS}from"react/jsx-runtime";import{jsx as cS}from"react/jsx-runtime";import{Fragment as xS,jsx as hS,jsxs as gS}from"react/jsx-runtime";var Dr="combobox",wi=Dr;import{Fragment as zr,jsx as ee,jsxs as qo}from"react/jsx-runtime";var Bi="k-combobox",fc=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],bc={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ri={separators:!0},oe=e=>{let{size:t,rounded:o,fillMode:a,separators:r=Ri.separators,prefix:s,suffix:d,value:c,placeholder:m,hover:f,focus:b,valid:g,invalid:u,required:L,loading:k,disabled:I,popup:y,opened:M,readonly:P,adaptive:$,adaptiveSettings:H,adaptiveTitle:pe,adaptiveSubtitle:ce,adaptiveCustomValue:Me,id:Tt,autocomplete:Xa,activeDescendant:ut,"aria-label":la,...qa}=e,Ja=Tt?`${Tt}-listbox`:void 0;return qo(zr,{children:[qo(Z,{...qa,size:t,rounded:o,fillMode:a,hover:f,focus:b,valid:g,invalid:u,required:L,loading:k,disabled:I,readonly:P,className:n(e.className,Bi),children:[s&&qo(zr,{children:[ee(Pe,{children:s}),r&&ee(Be,{})]}),ee(Ie,{id:Tt,placeholder:m,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":M?"true":"false","aria-controls":M?Ja:void 0,"aria-activedescendant":M&&ut?ut:void 0,"aria-autocomplete":Xa,"aria-invalid":u?"true":void 0,"aria-busy":k?"true":void 0,"aria-label":la,disabled:I,readOnly:P}),ee(ue,{valid:g,invalid:u,loading:k,disabled:I}),ee(ge,{loading:k,disabled:I}),ee(Se,{loading:k,disabled:I,readonly:P,value:c}),d&&qo(zr,{children:[r&&ee(Be,{}),ee(we,{children:d})]}),ee(l,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:I})]}),M&&y&&ee(V,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:y}),$&&ee(q,{adaptive:!0,id:Tt?`${Tt}-adaptive`:void 0,...H,header:ee(me,{actionsEnd:ee(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:m,title:pe,subtitle:ce}),children:ee("div",{className:"k-list-container",children:ee(R,{customValue:Me?ee(kt,{text:`Use "${c}"`}):void 0,size:"large",children:qo(U,{"aria-label":pe||"Options",children:[ee(O,{text:"List item"}),ee(O,{text:"List item"}),ee(O,{text:"List item"})]})})})})]})};oe.states=fc;oe.options=bc;oe.className=Bi;oe.defaultOptions=Ri;oe.moduleName=Dr;oe.folderName=wi;oe.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 ye=oe;import{jsx as hc}from"react/jsx-runtime";var Ki=e=>hc(ye,{...e});import{jsx as tI,jsxs as oI}from"react/jsx-runtime";import{jsx as lI,jsxs as dI}from"react/jsx-runtime";import{jsx as bI,jsxs as hI}from"react/jsx-runtime";import{Fragment as LI,jsx as vI}from"react/jsx-runtime";import{Fragment as EI,jsx as CI}from"react/jsx-runtime";import{jsx as BI,jsxs as RI}from"react/jsx-runtime";import{Fragment as GI,jsx as UI,jsxs as FI}from"react/jsx-runtime";import{jsx as qI}from"react/jsx-runtime";import{jsx as YI}from"react/jsx-runtime";import{jsx as ay,jsxs as ry}from"react/jsx-runtime";import{jsx as py,jsxs as cy}from"react/jsx-runtime";import{jsx as Nt,jsxs as Lc}from"react/jsx-runtime";var xc=oe.states,gc=oe.defaultOptions,kc=oe.options,Nc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],vc=[],ro=e=>{let{modifiers:t,...o}=e,a={},r=Nt(R,{style:{width:300},size:o.size,children:Lc(U,{children:[Nt(O,{children:"List item"}),Nt(O,{children:"List item"}),Nt(O,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?Nt(v,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?Nt(mt,{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}}),Nt("div",{children:Nt(Ki,{value:"Value",style:{width:300},...o,...a})})};ro.options=kc;ro.states=xc;ro.variants=vc;ro.defaultOptions=gc;ro.modifiers=Nc;ro.className=oe.className;var Hr="dropzone",_i=Hr;import{jsx as Ma,jsxs as Ic}from"react/jsx-runtime";var Ur="k-external-dropzone",Mc=[i.disabled,i.hover],Sc={},Fr={icon:"upload",hint:"Drag and drop files here to upload"},ke=e=>{let{hover:t,disabled:o,icon:a=Fr.icon,hint:r=Fr.hint,note:s,...d}=e;return Ma("div",{...d,className:n(e.className,Ur,S(Ur,{disabled:o}),{"k-external-dropzone-hover":t}),children:Ic("div",{className:"k-dropzone-inner",children:[a&&Ma(v,{icon:a,className:"k-dropzone-icon",size:"xxxlarge"}),r&&Ma("span",{className:"k-dropzone-hint",children:r}),s&&Ma("span",{className:"k-dropzone-note",children:s})]})})};ke.states=Mc;ke.options=Sc;ke.className=Ur;ke.defaultOptions=Fr;ke.moduleName=Hr;ke.folderName=_i;import{jsx as yc}from"react/jsx-runtime";var Sa=e=>yc(ke,{...e});import{jsx as qy}from"react/jsx-runtime";import{jsx as Pc}from"react/jsx-runtime";var Cc=ke.options,Ec=ke.states,Tc=ke.defaultOptions,Ac=[{name:"note",title:"Note"}],Oc=[],no=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{r==="note"&&(a.note=t?.[r]?"Only JPEG, PNG and SVG files are allowed.":void 0)}),Pc(Sa,{style:{width:"500px"},...o,...a})};no.options=Cc;no.states=Ec;no.variants=Oc;no.defaultOptions=Tc;no.modifiers=Ac;no.className=ke.className;var Gr="menu-button",Di=Gr;import{jsx as Rc}from"react/jsx-runtime";var zi="k-menu-button",wc=[i.hover,i.focus,i.active,i.selected,i.disabled],Bc={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info,N.inverse]},Vr={showArrow:!0,arrowIconName:"chevron-down"},_=e=>{let{size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:d,active:c,selected:m,disabled:f,icon:b,text:g,showArrow:u=Vr.showArrow,arrowIconName:L=Vr.arrowIconName,expanded:k,...I}=e;return Rc(l,{...I,className:n(e.className,zi),text:g,size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:d,active:c,selected:m,disabled:f,icon:b,showArrow:u,arrowIconName:L,"aria-expanded":k?"true":"false",...!g&&b&&!e["aria-label"]&&{"aria-label":"Menu"},...f&&{"aria-disabled":"true"}})};_.states=wc;_.options=Bc;_.className=zi;_.defaultOptions=Vr;_.moduleName=Gr;_.folderName=Di;_.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."}]};import{jsx as mC}from"react/jsx-runtime";import{jsx as xC}from"react/jsx-runtime";import{jsx as vC}from"react/jsx-runtime";var Ce="menu",De=Ce;import{jsx as Jo,jsxs as Hi}from"react/jsx-runtime";var $r="k-menu-item",Kc=[i.hover,i.focus,i.active,i.selected,i.disabled],_c={},Ui={iconPosition:"before"},se=e=>{let{hover:t,focus:o,active:a,selected:r,disabled:s,icon:d,text:c,first:m,last:f,showArrow:b,arrowIconName:g,iconPosition:u=Ui.iconPosition,dir:L,children:k,expanded:I,...y}=e,M=g;return M||(M=L==="rtl"?"chevron-left":"chevron-right"),Hi("li",{...y,className:n(e.className,$r,"k-item",S($r,{focus:o,disabled:s,hover:t,active:a,selected:r}),{"k-first":m,"k-last":f}),role:"menuitem",...b&&{"aria-haspopup":"menu"},...b&&{"aria-expanded":I?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Hi("span",{className:n("k-link k-menu-link"),children:[d&&u==="before"&&Jo(v,{className:"k-menu-link-icon",icon:d}),Jo("span",{className:"k-menu-link-text",children:c}),d&&u==="after"&&Jo(v,{className:"k-menu-link-icon",icon:d}),b&&Jo("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Jo(v,{icon:M})})]}),k]})};se.states=Kc;se.options=_c;se.className=$r;se.defaultOptions=Ui;se.moduleName=Ce;se.folderName=De;import{jsx as Wo,jsxs as Fi}from"react/jsx-runtime";var Xr="k-menu-item",Dc=[i.hover,i.focus,i.active,i.selected,i.disabled],zc={},qr={dir:"ltr",iconPosition:"before"},X=e=>{let{hover:t,focus:o,active:a,selected:r,disabled:s,icon:d,text:c,first:m,last:f,showArrow:b,arrowIconName:g,iconPosition:u=qr.iconPosition,dir:L=qr.dir,children:k,popup:I,expanded:y,...M}=e,P=g;return P||(P=L==="rtl"?"chevron-left":"chevron-right"),Fi("li",{...M,className:n(e.className,Xr,"k-item",S(Xr,{focus:o,disabled:s}),{"k-first":m,"k-last":f}),role:"menuitem",...b&&{"aria-haspopup":"menu"},...b&&{"aria-expanded":y?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Fi("span",{className:n("k-link k-menu-link",S("k-menu-link",{hover:t,active:a,selected:r,disabled:s})),children:[d&&u==="before"&&Wo(v,{className:"k-menu-link-icon",icon:d}),Wo("span",{className:"k-menu-link-text",children:c}),d&&u==="after"&&Wo(v,{className:"k-menu-link-icon",icon:d}),b&&Wo("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Wo(v,{icon:P})})]}),k,I]})};X.states=Dc;X.options=zc;X.className=Xr;X.defaultOptions=qr;X.moduleName=Ce;X.folderName=De;import{jsx as Gc}from"react/jsx-runtime";var Gi="k-menu-scroll-wrapper",Hc=[],Uc={},Fc={},Kt=e=>{let{className:t,children:o,orientation:a,...r}=e;return Gc("div",{...r,className:n(t,Gi,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};Kt.states=Hc;Kt.options=Uc;Kt.className=Gi;Kt.defaultOptions=Fc;Kt.moduleName=Ce;Kt.folderName=De;var Vi=Kt;import{Fragment as Jr,jsx as _t,jsxs as ya}from"react/jsx-runtime";var Wr="k-menu",Vc=[],$c={},Ca={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},ae=e=>{let{children:t,orientation:o=Ca.orientation,header:a=Ca.header,scrollable:r,scrollButtonsPosition:s=Ca.scrollButtonsPosition,wrapperStyles:d,dir:c,popup:m,contextMenu:f,...b}=e,g={horizontal:{prev:c!=="rtl"?"left":"right",next:c!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},u=_t("ul",{dir:c,...b,className:n(e.className,"k-reset",Wr,{[`${Wr}-${o}`]:o,"k-header":a}),role:f?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return ya(Jr,{children:[r?ya(Vi,{orientation:o,style:d,dir:e.dir,children:[s==="start"&&ya(Jr,{children:[_t(l,{fillMode:"flat",icon:`chevron-${g[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),_t(l,{fillMode:"flat",icon:`chevron-${g[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&_t(l,{fillMode:"flat",icon:`chevron-${g[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),u,s==="end"&&ya(Jr,{children:[_t(l,{fillMode:"flat",icon:`chevron-${g[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),_t(l,{fillMode:"flat",icon:`chevron-${g[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&_t(l,{fillMode:"flat",icon:`chevron-${g[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):u,m]})};ae.states=Vc;ae.options=$c;ae.className=Wr;ae.defaultOptions=Ca;ae.moduleName=Ce;ae.folderName=De;ae.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 Xc}from"react/jsx-runtime";var Zr="k-separator",$i={orientation:"horizontal"},io=e=>{let{orientation:t=$i.orientation,...o}=e;return Xc("li",{...o,className:n(e.className,"k-item",Zr,{[`${Zr}-${t}`]:t}),role:"separator"})};io.className=Zr;io.defaultOptions=$i;io.moduleName=Ce;io.folderName=De;import{Fragment as ZC,jsx as YC}from"react/jsx-runtime";import{jsx as Zc}from"react/jsx-runtime";var Yr="k-menu-group",qc=[],Jc={size:[p.undefined,p.small,p.medium,p.large]},Wc={},le=e=>{let{children:t,size:o,...a}=e;return Zc("ul",{...a,className:n(e.className,Yr,C(Yr,{size:o})),role:"menu",children:t})};le.states=qc;le.options=Jc;le.className=Yr;le.defaultOptions=Wc;le.moduleName=Ce;le.folderName=De;import{Fragment as Yc,jsx as so,jsxs as Qc}from"react/jsx-runtime";var Qr=e=>so(ae,{children:Qc(Yc,{children:[so(se,{first:!0,text:"Item 1"}),so(se,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),so(se,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),so(se,{text:"Item 4"}),so(se,{last:!0,text:"Item 5"})]}),...e});import{Fragment as cE,jsx as dE,jsxs as pE}from"react/jsx-runtime";import{Fragment as hE,jsx as bE,jsxs as xE}from"react/jsx-runtime";import{Fragment as LE,jsx as vE,jsxs as ME}from"react/jsx-runtime";import{Fragment as EE,jsx as CE,jsxs as TE}from"react/jsx-runtime";import{jsx as Dt,jsxs as au}from"react/jsx-runtime";var jc={...ae.options,scrollable:{type:"boolean"}},eu=ae.states,Xi={...ae.defaultOptions,variant:"horizontal"},tu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],ou=[{name:"opened",title:"Opened"}],lo=e=>{let{variant:t,modifiers:o,...a}={...Xi,...e},r={};return Object.keys(o||{}).forEach(s=>{s==="opened"&&(r.opened=!!o?.[s],r.popup=Dt(V,{className:"k-menu-popup",children:au(le,{children:[Dt(X,{text:"Item 1"}),Dt(X,{text:"Item 2"}),Dt(io,{}),Dt(X,{text:"Item 3"})]})}))}),t==="vertical"?Dt(Qr,{...a,...r,orientation:"vertical",style:{width:"200px"}}):Dt(Qr,{...a,...r})};lo.options=jc;lo.states=eu;lo.variants=tu;lo.defaultOptions=Xi;lo.modifiers=ou;lo.className=ae.className;import{Fragment as sT,jsx as nT,jsxs as iT}from"react/jsx-runtime";import{jsx as cT}from"react/jsx-runtime";import{Fragment as lu,jsx as Qe,jsxs as qi}from"react/jsx-runtime";var ru=l.states,Ji={...l.defaultOptions,variant:"text"},nu=l.options,iu=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],su=[{name:"opened",title:"Opened"}],po=e=>{let{variant:t,modifiers:o,...a}={...Ji,...e},r={},s=Qe(V,{className:"k-menu-popup",children:qi(le,{size:a.size,children:[Qe(X,{first:!0,text:"Menu Item"}),Qe(X,{text:"Menu Item"}),Qe(X,{last:!0,text:"Menu Item"})]})}),d;switch(t){case"icon-only":d=Qe("div",{children:Qe(_,{...a,...r,icon:"star"})});break;case"icon-and-text":d=Qe("div",{children:Qe(_,{...a,...r,icon:"star",children:"Dropdown Button"})});break;default:d=Qe("div",{children:Qe(_,{...a,...r,children:"Dropdown Button"})});break}return qi(lu,{children:[d,o?.opened&&s]})};po.options=nu;po.states=ru;po.variants=iu;po.defaultOptions=Ji;po.modifiers=su;po.className=_.className;var Wi="dropdown-list",Zi="dropdownlist";import{Fragment as cu,jsx as he,jsxs as jr}from"react/jsx-runtime";var Yi="k-dropdownlist",du=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],pu={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},en={showValue:!0,arrowIconName:"chevron-down"},J=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:r=en.arrowIconName,showValue:s=en.showValue,valueIconName:d,prefix:c,suffix:m,value:f,placeholder:b,hover:g,focus:u,valid:L,invalid:k,required:I,loading:y,disabled:M,readonly:P,popup:$,opened:H,adaptive:pe,adaptiveSettings:ce,adaptiveTitle:Me,adaptiveSubtitle:Tt,adaptiveFilter:Xa,id:ut,activeDescendant:la,"aria-label":qa,...Ja}=e,ll=ut?`${ut}-listbox`:void 0,On=ut?`${ut}-value`:void 0;return jr(cu,{children:[jr(We,{...Ja,id:ut,size:t,rounded:o,fillMode:a,hover:g,focus:u,valid:L,invalid:k,required:I,loading:y,disabled:M,readonly:P,className:n(e.className,Yi,{"k-icon-picker":!s&&d}),role:"combobox","aria-haspopup":"listbox","aria-expanded":H?"true":"false","aria-controls":H?ll:void 0,"aria-activedescendant":H&&la?la:void 0,"aria-describedby":H?On:void 0,"aria-disabled":M?"true":void 0,"aria-label":qa,tabIndex:0,children:[he(Pe,{children:c}),he(Ot,{placeholder:b,value:f,showValue:s,valueIconName:d,id:On}),he(ue,{valid:L,invalid:k,loading:y,disabled:M}),he(ge,{loading:y,disabled:M}),he(we,{children:m}),he(l,{className:"k-input-button",icon:r,size:e.size,fillMode:e.fillMode,"aria-label":b||"Toggle dropdown",tabIndex:-1})]}),H&&$&&he(V,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:$}),pe&&he(q,{adaptive:!0,...ce,header:he(me,{actionsEnd:he(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Xa,inputValue:f,inputPlaceholder:b,title:Me,subtitle:Tt}),children:he("div",{className:"k-list-container",children:he(R,{size:"large",children:jr(U,{"aria-label":"Options",children:[he(O,{text:"List item"}),he(O,{text:"List item"}),he(O,{text:"List item"})]})})})})]})};J.states=du;J.options=pu;J.className=Yi;J.defaultOptions=en;J.moduleName=Wi;J.folderName=Zi;J.ariaSpec={rules:[{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"role=combobox",usage:"Announces the dropdown element."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-haspopup=listbox",usage:"Indicates the presence of a listbox popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-expanded",usage:"Announces the visibility state of the popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-label",usage:"Accessible name for the dropdown."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-dropdownlist.k-disabled",attribute:"aria-disabled=true",usage:"Rendered when the dropdown is disabled."},{selector:".k-dropdownlist .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-dropdownlist .k-input-button",attribute:"tabindex=-1",usage:"The button must not be focusable."},{selector:".k-dropdownlist-popup .k-list-content, .k-dropdownlist-popup .k-list-ul",attribute:"role=listbox",usage:"Popup list has listbox role."},{selector:'.k-dropdownlist-popup .k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby",usage:"Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."},{selector:".k-dropdownlist-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."}]};import{jsx as GT}from"react/jsx-runtime";import{jsx as WT,jsxs as ZT}from"react/jsx-runtime";import{Fragment as nA,jsx as aA,jsxs as rA}from"react/jsx-runtime";import{jsx as pA}from"react/jsx-runtime";import{jsx as hA,jsxs as xA}from"react/jsx-runtime";import{Fragment as yA,jsx as SA,jsxs as IA}from"react/jsx-runtime";import{jsx as OA}from"react/jsx-runtime";import{Fragment as xu,jsx as vt,jsxs as Qi}from"react/jsx-runtime";var uu=J.states,mu=J.defaultOptions,fu=J.options,bu=[{name:"opened",title:"Opened"}],hu=[],uo=e=>{let{modifiers:t,...o}=e,a={},r=Qi(xu,{children:[vt("div",{className:"k-list-filter",children:vt(Re,{})}),vt(R,{style:{width:300},size:o.size,children:Qi(U,{children:[vt(O,{children:"List item"}),vt(O,{children:"List item"}),vt(O,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!t?.[s],a.popup=t?.[s]?r:void 0)}),vt("div",{children:vt(J,{placeholder:"Value",style:{width:300},...o,...a})})};uo.options=fu;uo.states=uu;uo.variants=hu;uo.defaultOptions=mu;uo.modifiers=bu;uo.className=J.className;import{jsx as ji,jsxs as Lu}from"react/jsx-runtime";var es="k-spin-button",Nu=[],vu={size:[p.undefined,p.small,p.medium,p.large],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},tn={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Lt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:r=tn.increaseLabel,decreaseLabel:s=tn.decreaseLabel,...d}=e;return Lu("span",{...d,className:n(es,e.className),children:[ji(l,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":r}),ji(l,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Lt.states=Nu;Lt.options=vu;Lt.className=es;Lt.defaultOptions=tn;Lt.moduleName=null;Lt.folderName=null;var ts="numeric-textbox",os="numerictextbox";import{Fragment as as,jsx as nt,jsxs as on}from"react/jsx-runtime";var rs="k-numerictextbox",Mu=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Su={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ea={showSpinButton:!0,showClearButton:!0,separators:!0},D=e=>{let{size:t,rounded:o,fillMode:a,separators:r=Ea.separators,showClearButton:s=Ea.showClearButton,showSpinButton:d=Ea.showSpinButton,prefix:c,suffix:m,value:f,placeholder:b,hover:g,focus:u,valid:L,invalid:k,required:I,loading:y,disabled:M,readonly:P,id:$,"aria-label":H,"aria-describedby":pe,...ce}=e;return on(Z,{...ce,size:t,rounded:o,fillMode:a,hover:g,focus:u,valid:L,invalid:k,required:I,loading:y,disabled:M,readonly:P,className:n(e.className,rs),children:[c&&on(as,{children:[nt(Pe,{children:c}),r&&nt(Be,{})]}),nt(Ie,{id:$,placeholder:b,value:f,role:"spinbutton",disabled:M,"aria-label":H,"aria-describedby":pe,"aria-invalid":k?"true":void 0}),nt(ue,{valid:L,invalid:k,loading:y,disabled:M}),nt(ge,{loading:y,disabled:M}),s&&nt(Se,{loading:y,disabled:M,readonly:P,value:f}),m&&on(as,{children:[r&&nt(Be,{}),nt(we,{children:m})]}),d&&nt(Lt,{className:"k-input-spinner",size:t,fillMode:a,disabled:M})]})};D.states=Mu;D.options=Su;D.className=rs;D.defaultOptions=Ea;D.moduleName=ts;D.folderName=os;D.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 Zo=D;import{jsx as Iu}from"react/jsx-runtime";var ns=e=>Iu(Zo,{...e});import{Fragment as xO,jsx as hO}from"react/jsx-runtime";import{Fragment as MO,jsx as LO}from"react/jsx-runtime";import{jsx as CO}from"react/jsx-runtime";import{jsx as an}from"react/jsx-runtime";var yu=D.states,Cu=D.defaultOptions,Eu=D.options,Tu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Au=[],mo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t?.[r]?an(J,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[r]?an(cr,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[r];break;case"spin-button":a.showSpinButton=t?.[r];break;default:break}}),an(ns,{value:"Value",style:{width:300},...o,...a})};mo.options=Eu;mo.states=yu;mo.variants=Au;mo.defaultOptions=Cu;mo.modifiers=Tu;mo.className=D.className;var rn="pager",is=rn;import{Fragment as ss,jsx as Ne,jsxs as fo}from"react/jsx-runtime";var Ta="k-pager",Ou=[i.focus,i.disabled],Pu={size:[p.undefined,p.small,p.medium,p.large]},Ee={responsive:!0,pagerSizeInfo:!0,pageTitleInfo:!0,maxPagesInfo:!0,type:"numeric",pageSizes:!0,refresh:!0,previousNext:!0,info:"1 - 5 of 20 items",itemsPerPage:5,maxPages:6,currentPage:1},re=e=>{let{responsive:t=Ee.responsive,size:o,pagerSizeInfo:a=Ee.pagerSizeInfo,pageTitleInfo:r=Ee.pageTitleInfo,maxPagesInfo:s=Ee.maxPagesInfo,itemsPerPage:d=Ee.itemsPerPage,maxPages:c=Ee.maxPages,currentPage:m=Ee.currentPage,previousNext:f=Ee.previousNext,type:b=Ee.type,pageSizes:g=Ee.pageSizes,refresh:u=Ee.refresh,info:L=Ee.info,focus:k,disabled:I,dir:y,...M}=e,P=[],$=[];for(let H=1;H<=c;H++)P.push(Ne(l,{selected:H===m,fillMode:"flat",themeColor:"primary",size:o,"aria-label":`Page ${H}`,...H===m&&{"aria-current":"page"},children:H},H)),$.push(Ne("option",{selected:H===m,children:H},H));return fo("div",{dir:y,...M,className:n(e.className,Ta,C(Ta,{size:o}),S(Ta,{focus:k,disabled:I}),{"k-pager-responsive":t}),role:"application","aria-roledescription":"pager","aria-keyshortcuts":"Enter ArrowRight ArrowLeft","aria-label":`Page ${m} of ${c}`,children:[fo("div",{className:n("k-pager-numbers-wrap"),children:[f&&fo(ss,{children:[Ne(l,{className:n("k-pager-nav","k-pager-first"),ariaDisabled:m===1,fillMode:"flat",size:o,icon:y==="rtl"?"caret-alt-to-right":"caret-alt-to-left",title:"Go to the first page","aria-label":"Go to the first page"}),Ne(l,{className:n("k-pager-nav"),ariaDisabled:m===1,fillMode:"flat",size:o,icon:y==="rtl"?"chevron-right":"chevron-left",title:"Go to the previous page","aria-label":"Go to the previous page"})]}),b==="numeric"&&Ne("div",{className:n("k-pager-numbers"),children:P}),b==="input"&&fo("span",{className:n("k-pager-input"),children:[r&&Ne("span",{children:"Page"}),Ne(D,{value:`${m}`,size:o,showSpinButton:!1,showClearButton:!1,"aria-label":"Current page"}),Ne("span",{children:s&&`of ${c}`})]}),f&&fo(ss,{children:[Ne(l,{className:n("k-pager-nav"),ariaDisabled:m===c,fillMode:"flat",size:o,icon:y==="rtl"?"chevron-left":"chevron-right",title:"Go to the next page","aria-label":"Go to the next page"}),Ne(l,{className:n("k-pager-nav","k-pager-last"),ariaDisabled:m===c,fillMode:"flat",size:o,icon:y==="rtl"?"caret-alt-to-left":"caret-alt-to-right",title:"Go to the last page","aria-label":"Go to the last page"})]})]}),g&&fo("span",{className:n("k-pager-sizes"),children:[Ne(J,{value:`${d}`,size:o,"aria-label":"Items per page"}),a&&Ne("span",{children:"items per page"})]}),u&&Ne(l,{className:n("k-pager-refresh"),fillMode:"flat",size:o,icon:"arrow-rotate-cw",title:"Refresh","aria-label":"Refresh"}),L&&Ne("span",{className:n("k-pager-info"),children:L})]})};re.states=Ou;re.options=Pu;re.className=Ta;re.defaultOptions=Ee;re.moduleName=rn;re.folderName=is;re.ariaSpec={selector:".k-pager",rules:[{selector:".k-pager",attribute:"role=application",usage:"Indicates that the pager has its own keyboard navigation implemented."},{selector:".k-pager",attribute:"aria-roledescription=pager",usage:"Clarifies the role of the Pager."},{selector:".k-pager",attribute:"aria-keyshortcuts=Enter ArrowRight ArrowLeft",usage:"Announces the available keyboard shortcuts."},{selector:".k-pager",attribute:"aria-label",usage:"Announces the currently selected page and the number of available pages."},{selector:".k-pager-nav",attribute:"role=button or nodeName=button",usage:"Specifies the role of the navigation element."},{selector:".k-pager-nav.k-disabled",attribute:"aria-disabled=true",usage:"Present when the navigation button is non-interactive."},{selector:".k-pager-nav",attribute:"title",usage:"Specifies the purpose of each navigation button."},{selector:".k-pager-numbers .k-button",attribute:"aria-label or title",usage:"Specifies the purpose of each page link, e.g., Page 6."},{selector:".k-pager-numbers .k-button.k-selected",attribute:"aria-current=page",usage:"Present on the currently selected page element."},{selector:".k-pager-sizes .k-dropdownlist",attribute:"aria-label or aria-labelledby",usage:"The DropDownList requires a label to specify its purpose."},{selector:".k-pager-input .k-input-inner",attribute:"aria-label",usage:"The input requires a label to specify its purpose."}]};import{jsx as jO}from"react/jsx-runtime";import{jsx as wu}from"react/jsx-runtime";var ls=e=>wu(re,{type:"input",responsive:!1,...e});import{jsx as iP}from"react/jsx-runtime";import{jsx as ds}from"react/jsx-runtime";var Bu=re.options,Ru=re.states,Ku={...re.defaultOptions,variant:"numeric"},_u=[{name:"numeric",title:"Numeric"},{name:"input",title:"Input"}],Du=[],bo=e=>{let{variant:t,...o}=e;return t==="input"?ds(re,{...o,type:"input"}):ds(re,{...o,type:"numeric"})};bo.options=Bu;bo.states=Ru;bo.variants=_u;bo.defaultOptions=Ku;bo.modifiers=Du;bo.className=re.className;import{jsx as ps,jsxs as Uu}from"react/jsx-runtime";var cs="k-color-preview",zu=[],Hu={},Mt=e=>{let{color:t,iconName:o,...a}=e;return Uu("span",{...a,className:n(e.className,cs,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&ps(v,{icon:o,className:"k-color-preview-icon"}),ps("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Mt.states=zu;Mt.options=Hu;Mt.className=cs;var nn="slider",us=nn;import{jsx as ho,jsxs as sn}from"react/jsx-runtime";var Yo="k-slider",Fu=[i.hover,i.focus,i.active,i.disabled,i.readonly],Gu={},ze={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=ze.type,orientation:o=ze.orientation,gradientType:a=ze.gradientType,readonly:r=ze.readonly,disabled:s=ze.disabled,handlePosition:d=ze.handlePosition,showButtons:c=ze.showButtons,showTicks:m=ze.showTicks,value:f=ze.value,min:b=ze.min,max:g=ze.max,startValue:u,endValue:L,hover:k,focus:I,active:y,trackStyle:M,dir:P,...$}=e,pe=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ce,Me;return o==="horizontal"?(ce=P==="rtl"?"chevron-left":"chevron-right",Me=P==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ce="chevron-up",Me="chevron-down"),sn("div",{...$,className:n(Yo,e.className,S(Yo,{readonly:r,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:P,children:[c&&ho(l,{className:"k-button-decrease",rounded:"full",icon:Me,tabIndex:-1,title:"Decrease"}),sn("div",{className:"k-slider-track-wrap",children:[m&&ho("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),sn("div",{className:"k-slider-track",style:M,children:[ho("div",{className:"k-slider-selection"}),t==="range"&&ho("span",{className:n("k-draghandle","k-draghandle-start",S(Yo,{hover:k,focus:I,active:y})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":u??b,"aria-valuemin":b,"aria-valuemax":L??g,"aria-orientation":pe,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":$["aria-label"]?`${$["aria-label"]} start`:"Range start"}),ho("span",{className:n("k-draghandle",`k-draghandle-${d}`,S(Yo,{hover:k,focus:I,active:y})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?L??g:f,"aria-valuemin":t==="range"?u??b:b,"aria-valuemax":g,"aria-orientation":pe,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":t==="range"?$["aria-label"]?`${$["aria-label"]} end`:"Range end":$["aria-label"]})]})]}),c&&ho(l,{className:"k-button-increase",rounded:"full",icon:ce,tabIndex:-1,title:"Increase"})]})};G.states=Fu;G.options=Gu;G.className=Yo;G.defaultOptions=ze;G.moduleName=nn;G.folderName=us;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 ms}from"react/jsx-runtime";var fs="k-tick",Vu=[],$u={},bs={label:!1},T=e=>{let{style:t,label:o=bs.label,orientation:a,large:r,text:s,...d}=e;return ms("li",{...d,role:"presentation",title:s||"Tick",className:n(e.className,fs,{[`k-tick-${a}`]:a,"k-tick-large":r}),style:t,children:o&&ms("span",{className:"k-label",children:s})})};T.states=Vu;T.options=$u;T.className=fs;T.defaultOptions=bs;import{Fragment as Xu,jsx as He,jsxs as qu}from"react/jsx-runtime";var hs=e=>He(G,{"aria-label":e["aria-label"]||"Slider",children:qu(Xu,{children:[He(T,{className:"k-first",label:!0,large:!0,text:"0"}),He(T,{}),He(T,{}),He(T,{}),He(T,{}),He(T,{label:!0,large:!0,text:"5"}),He(T,{}),He(T,{}),He(T,{}),He(T,{}),He(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as Ju,jsx as Ue,jsxs as Wu}from"react/jsx-runtime";var xs=e=>Ue(G,{children:Wu(Ju,{children:[Ue(T,{className:"k-first",label:!0,large:!0,text:"0"}),Ue(T,{}),Ue(T,{}),Ue(T,{}),Ue(T,{}),Ue(T,{label:!0,large:!0,text:"5"}),Ue(T,{}),Ue(T,{}),Ue(T,{}),Ue(T,{}),Ue(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as FP,jsx as UP,jsxs as GP}from"react/jsx-runtime";import{Fragment as JP,jsx as qP,jsxs as WP}from"react/jsx-runtime";import{jsx as Zu}from"react/jsx-runtime";var ln=e=>Zu(G,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as Yu}from"react/jsx-runtime";var dn=e=>Yu(G,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as iw,jsx as nw,jsxs as sw}from"react/jsx-runtime";import{Fragment as uw,jsx as cw,jsxs as mw}from"react/jsx-runtime";import{jsx as je,jsxs as gs}from"react/jsx-runtime";var Qu=G.options,ju=G.states,ks={...G.defaultOptions,variant:"horizontal",label:!0},em=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],tm=[{name:"label",title:"Labels"},{name:"tick",title:"Ticks"},{name:"button",title:"Side Buttons"}],xo=e=>{let{variant:t,modifiers:o,...a}={...ks,...e},r={};Object.keys(o||{}).forEach(f=>{switch(f){case"button":{r.showButtons=!!o?.[f];break}case"label":{r.label=!!o?.[f];break}case"tick":{r.showTicks=!!o?.[f];break}}});let{label:s=!0,showButtons:d,showTicks:c}=r,m={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?gs(xs,{showTicks:c,showButtons:d,style:{height:"300px",...m},...a,children:[je(T,{label:s,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),je(T,{label:s,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),je(T,{label:s,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),je(T,{label:s,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),je(T,{label:s,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):gs(hs,{showTicks:c,showButtons:d,style:{width:"400px",...m},...a,children:[je(T,{label:s,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),je(T,{label:s,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),je(T,{label:s,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),je(T,{label:s,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),je(T,{label:s,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};xo.options=Qu;xo.states=ju;xo.variants=em;xo.defaultOptions=ks;xo.modifiers=tm;xo.className=G.className;import{Fragment as Qo,jsx as w,jsxs as Y}from"react/jsx-runtime";var Ns="k-colorgradient-inputs",om=[],am={size:[p.undefined,p.small,p.medium,p.large]},vs={mode:"rgba"},go=e=>{let{mode:t=vs.mode,size:o,...a}=e;return Y("div",{...a,className:n(Ns,"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"&&Y(Qo,{children:[Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),w("label",{className:"k-colorgradient-input-label",children:"R"})]}),Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),w("label",{className:"k-colorgradient-input-label",children:"G"})]}),Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),w("label",{className:"k-colorgradient-input-label",children:"B"})]}),Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),w("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&Y(Qo,{children:[Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),w("label",{className:"k-colorgradient-input-label",children:"R"})]}),Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),w("label",{className:"k-colorgradient-input-label",children:"G"})]}),Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),w("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&Y(Qo,{children:[Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),w("label",{className:"k-colorgradient-input-label",children:"H"})]}),Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),w("label",{className:"k-colorgradient-input-label",children:"S"})]}),Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),w("label",{className:"k-colorgradient-input-label",children:"V"})]}),Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),w("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&Y(Qo,{children:[Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),w("label",{className:"k-colorgradient-input-label",children:"H"})]}),Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),w("label",{className:"k-colorgradient-input-label",children:"S"})]}),Y("div",{className:"k-vstack",children:[w(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),w("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&w(Qo,{children:Y("div",{className:"k-vstack k-flex-1",children:[w(j,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),w("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};go.states=om;go.options=am;go.className=Ns;go.defaultOptions=vs;import{jsx as zt,jsxs as Ht}from"react/jsx-runtime";var Ls="k-colorgradient-color-contrast",rm=[],nm={},im={},ko=()=>Ht("div",{className:n(Ls,"k-vbox"),children:[Ht("div",{className:"k-contrast-ratio",children:[zt("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),Ht("span",{className:"k-contrast-validation !k-text-success",children:[zt(v,{icon:"check"}),zt(v,{icon:"check"})]})]}),Ht("div",{children:[zt("span",{children:"AA: 4.5"}),Ht("span",{className:"k-contrast-validation !k-text-success",children:["Pass",zt(v,{icon:"check"})]})]}),Ht("div",{children:[zt("span",{children:"AAA: 7.0"}),Ht("span",{className:"k-contrast-validation !k-text-error",children:["Fail",zt(v,{icon:"x"})]})]})]});ko.states=rm;ko.options=nm;ko.className=Ls;ko.defaultOptions=im;var Ms="color-gradient",Ss="colorgradient";import{jsx as Fe,jsxs as jo}from"react/jsx-runtime";var Aa="k-colorgradient",sm=[i.hover,i.focus,i.readonly,i.disabled],lm={size:[p.undefined,p.small,p.medium,p.large]},et={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"},ne=e=>{let{size:t,mode:o=et.mode,readonly:a=et.readonly,disabled:r=et.disabled,gradientStyle:s=et.gradientStyle,dragHandleStyle:d=et.dragHandleStyle,alphaStyle:c=et.alphaStyle,alphaStyleHorizontal:m=et.alphaStyleHorizontal,contrast:f=et.contrast,dir:b,hover:g,focus:u,hoverHandle:L,focusHandle:k,canvasOrientation:I=et.canvasOrientation,role:y,tabIndex:M,...P}=e;return jo("div",{...P,role:y??"textbox","aria-label":y==="none"?void 0:"Color gradient",tabIndex:M??0,"aria-disabled":r?"true":void 0,className:n(e.className,Aa,C(Aa,{size:t}),S(Aa,{hover:g,focus:u,readonly:a,disabled:r})),dir:b,children:[!I||I==="horizontal"&&jo("div",{className:"k-colorgradient-canvas k-hstack",children:[Fe("div",{className:"k-hsv-rectangle",style:s,children:Fe("div",{className:"k-hsv-gradient",children:Fe("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),style:d,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})})}),jo("div",{className:"k-hsv-controls k-hstack",children:[Fe(dn,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&Fe(dn,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:c})]})]}),I==="vertical"&&jo("div",{className:"k-colorgradient-canvas k-vstack",children:[Fe("div",{className:"k-hsv-rectangle",style:s,children:Fe("div",{className:"k-hsv-gradient",children:Fe("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),style:d,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})})}),jo("div",{className:"k-hsv-controls k-vstack",children:[Fe(ln,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&Fe(ln,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:m})]})]}),Fe(go,{mode:e.mode,size:t}),f&&Fe(ko,{})]})};ne.states=sm;ne.options=lm;ne.className=Aa;ne.defaultOptions=et;ne.moduleName=Ms;ne.folderName=Ss;ne.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 dm}from"react/jsx-runtime";var Oa=e=>dm(ne,{...e});import{jsx as aB}from"react/jsx-runtime";import{jsx as sB}from"react/jsx-runtime";import{jsx as pn}from"react/jsx-runtime";var pm=ne.options,cm=ne.states,um={...ne.defaultOptions,variant:"rgba"},mm=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],fm=[],No=e=>{let{variant:t,...o}=e;switch(t){case"hex":return pn(Oa,{...o,mode:t});case"rgb":return pn(Oa,{...o,mode:t});default:return pn(Oa,{...o,mode:t})}};No.options=pm;No.states=cm;No.variants=mm;No.defaultOptions=um;No.modifiers=fm;No.className=ne.className;import{jsx as bm}from"react/jsx-runtime";var cn=e=>bm("tr",{role:"row",children:e.children});import{jsx as gm}from"react/jsx-runtime";var un="k-colorpalette-tile",hm=[i.hover,i.focus,i.selected],xm={},vo=e=>{let{color:t,tileSize:o,hover:a,focus:r,selected:s,...d}=e,c={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return gm("td",{...d,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:n(e.className,un,S(un,{hover:a,focus:r,selected:s})),style:c})};vo.states=hm;vo.options=xm;vo.className=un;var Is="color-palette",ys="colorpalette";import{jsx as ea}from"react/jsx-runtime";var Pa="k-colorpalette",km=[i.disabled],Nm={size:[p.undefined,p.small,p.medium,p.large]},Cs={columns:10},xe=e=>{let{size:t,palette:o,columns:a=Cs.columns,tileSize:r,disabled:s,...d}=e,c=[];if(o){let m=a||o.columns,f=o.colors?o.colors:o;Array.isArray(f)&&Array.from({length:Math.ceil(f.length/m)},(b,g)=>{let u=[];f.slice(g*m,(g+1)*m).map((k,I)=>{u.push(ea(vo,{color:k,tileSize:r},I))});let L=ea(cn,{children:u},g);c.push(L)})}return ea("div",{...d,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:n(e.className,Pa,S(Pa,{disabled:s}),C(Pa,{size:t})),children:ea("table",{className:"k-colorpalette-table",role:"none",children:ea("tbody",{children:c.length>0?c:e.children})})})};xe.states=km;xe.options=Nm;xe.className=Pa;xe.defaultOptions=Cs;xe.moduleName=Is;xe.folderName=ys;xe.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 wa=xe;var ta={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 vm}from"react/jsx-runtime";var Es=e=>vm(wa,{palette:ta.basic,...e});import{jsx as FB}from"react/jsx-runtime";import{jsx as JB,jsxs as WB}from"react/jsx-runtime";import{jsx as Em}from"react/jsx-runtime";var Lm=xe.options,Mm=xe.states,Sm={...xe.defaultOptions,variant:"basic"},Im=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],ym={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}},Cm=[],Lo=e=>{let{variant:t="basic",...o}=e,a=ym[t];return Em(Es,{columns:a.columns,palette:a,...o})};Lo.options=Lm;Lo.states=Mm;Lo.variants=Im;Lo.defaultOptions=Sm;Lo.modifiers=Cm;Lo.className=xe.className;var Ts="color-editor",As="coloreditor";import{jsx as Ge,jsxs as Mo}from"react/jsx-runtime";var Ba="k-coloreditor",Tm=[i.focus],Am={size:[p.undefined,p.small,p.medium,p.large]},oa={view:"gradient",palette:ta.office,actionButtons:!0,canvasOrientation:"horizontal"},W=e=>{let{size:t,view:o=oa.view,palette:a=oa.palette,color:r,currentColor:s,focus:d,focusView:c,dir:m,group:f,actionButtons:b=oa.actionButtons,canvasOrientation:g=oa.canvasOrientation,...u}=e;return Mo("div",{...u,role:"textbox","aria-label":"Color editor",tabIndex:0,className:n(e.className,"k-flatcolorpicker",Ba,C(Ba,{size:t}),S(Ba,{focus:d})),dir:m,children:[Mo("div",{className:"k-coloreditor-header k-hstack",children:[Ge("div",{className:"k-coloreditor-header-actions k-hstack",children:f&&Mo(E,{fillMode:"flat",children:[Ge(l,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),Ge(l,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),Ge("div",{className:"k-spacer"}),Mo("div",{className:"k-coloreditor-header-actions k-hstack",children:[Ge(l,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Mo("div",{className:"k-coloreditor-preview k-vstack",children:[Ge(Mt,{className:"k-coloreditor-preview-color",color:r}),Ge(Mt,{className:"k-coloreditor-current-color",color:s})]})]})]}),Ge("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?Ge(ne,{focus:c,size:t,canvasOrientation:g,role:"none",tabIndex:-1}):Ge(xe,{palette:a,size:t})}),b&&Mo(Xe,{className:"k-coloreditor-footer",alignment:"start",children:[Ge(l,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),Ge(l,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};W.states=Tm;W.options=Am;W.className=Ba;W.defaultOptions=oa;W.moduleName=Ts;W.folderName=As;W.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 So=W;import{jsx as SR}from"react/jsx-runtime";import{jsx as ER}from"react/jsx-runtime";import{jsx as Om}from"react/jsx-runtime";var Os=e=>Om(So,{group:!0,currentColor:"fuchsia",...e});import{jsx as Pm}from"react/jsx-runtime";var Ps=e=>Pm(So,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as ws}from"react/jsx-runtime";var wm=W.options,Bm=W.states,Rm={...W.defaultOptions,variant:"gradient"},Km=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],_m=[],Io=e=>{let{variant:t,...o}=e;return t==="palette"?ws(Ps,{...o,color:"white"}):ws(Os,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Io.options=wm;Io.states=Bm;Io.variants=Km;Io.defaultOptions=Rm;Io.modifiers=_m;Io.className=W.className;var Bs="color-picker",Rs="colorpicker";import{Fragment as Hm,jsx as Ve,jsxs as mn}from"react/jsx-runtime";var Ks="k-colorpicker",Dm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],zm={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},_s={arrowIconName:"chevron-down"},Te=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:r=_s.arrowIconName,prefix:s,suffix:d,value:c,placeholder:m,hover:f,focus:b,valid:g,invalid:u,required:L,disabled:k,valueIconName:I,popup:y,opened:M,adaptive:P,adaptiveSettings:$,adaptiveTitle:H,adaptiveSubtitle:pe,...ce}=e,Me="colorpicker-popup";return mn(Hm,{children:[mn(We,{...ce,size:t,rounded:o,fillMode:a,hover:f,focus:b,valid:g,invalid:u,required:L,disabled:k,role:"combobox","aria-haspopup":"dialog","aria-expanded":M?"true":"false","aria-controls":M||P?Me:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":k?"true":void 0,className:n(e.className,Ks,"k-icon-picker"),children:[Ve(Pe,{children:s}),Ve(Ot,{placeholder:m,value:c,showValue:!1,valueIcon:Ve(Mt,{className:"k-value-icon",color:c,iconName:I}),valueIconName:I}),Ve(we,{children:d}),Ve(l,{className:"k-input-button",icon:r,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:k})]}),M&&y&&Ve(V,{id:Me,className:"k-colorpicker-popup",children:y}),P&&Ve(q,{adaptive:!0,id:Me,...$,header:Ve(me,{actionsEnd:Ve(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:H,subtitle:pe}),footer:mn(ft,{children:[Ve(l,{text:"Cancel",size:"large"}),Ve(l,{text:"Set",size:"large",themeColor:"primary"})]}),children:Ve(W,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Te.states=Dm;Te.options=zm;Te.className=Ks;Te.defaultOptions=_s;Te.moduleName=Bs;Te.folderName=Rs;Te.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 it=Te;import{jsx as Um}from"react/jsx-runtime";var Ra=e=>Um(it,{...e});import{jsx as c0}from"react/jsx-runtime";import{jsx as h0}from"react/jsx-runtime";import{jsx as N0}from"react/jsx-runtime";import{jsx as S0}from"react/jsx-runtime";import{jsx as E0}from"react/jsx-runtime";import{jsx as P0}from"react/jsx-runtime";import{jsx as Ut}from"react/jsx-runtime";var Fm=it.options,Gm=it.states,Ds={...it.defaultOptions,variant:"color"},Vm=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],$m=[{name:"opened",title:"Opened"}],yo=e=>{let{variant:t,modifiers:o,...a}={...Ds,...e},r={};Object.keys(o||{}).forEach(d=>{d==="opened"&&(r.opened=!!o?.[d],r.popup=o?.[d]?Ut(W,{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 Ut("div",{style:s,children:Ut(Ra,{...a,...r})});case"icon":return Ut("div",{style:s,children:Ut(Ra,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...r})});default:return Ut("div",{style:s,children:Ut(Ra,{value:"rgba(183, 118 , 118, 1.00)",...a,...r})})}};yo.options=Fm;yo.states=Gm;yo.variants=Vm;yo.defaultOptions=Ds;yo.modifiers=$m;yo.className=it.className;var fn="split-button",zs=fn;import{Fragment as Jm,jsx as bn,jsxs as Hs}from"react/jsx-runtime";var hn="k-split-button",Xm=[i.hover,i.focus,i.active,i.selected,i.disabled],qm={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info,N.inverse]},Us={arrowIconName:"chevron-down"},B=e=>{let{size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:d,active:c,selected:m,disabled:f,icon:b,text:g,arrowIconName:u=Us.arrowIconName,popup:L,opened:k,popupId:I,...y}=e;return Hs(Jm,{children:[Hs("div",{...y,className:n(e.className,hn,"k-button-group",C(hn,{rounded:o})),children:[bn(l,{text:g,icon:b,size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:d,active:c,selected:m,disabled:f,...!g&&!e.children&&b&&{"aria-label":"Action"},children:e.children}),bn(l,{className:"k-split-button-arrow",icon:u,size:t,rounded:o,fillMode:a,disabled:f,"aria-label":"Toggle dropdown","aria-expanded":k?"true":"false","aria-controls":k?I:void 0,tabIndex:-1,...f&&{"aria-disabled":"true"}})]}),k&&L&&bn(V,{className:"k-menu-popup",children:L})]})};B.states=Xm;B.options=qm;B.className=hn;B.defaultOptions=Us;B.moduleName=fn;B.folderName=zs;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 xn=B;import{jsx as Zm}from"react/jsx-runtime";var Wm="k-toolbar-separator",Q=e=>Zm("div",{className:n(Wm,e.className,"k-separator")});var st="toolbar",St=st;import{Fragment as gn,jsx as K,jsxs as Co}from"react/jsx-runtime";var lt="k-toolbar",Ym=[i.focus],Qm={size:[p.undefined,p.small,p.medium,p.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},jm={scrollButtons:"around"},F=e=>{let{size:t,fillMode:o,focus:a,resizable:r,scrollable:s,scrollButtons:d,scrollingPosition:c,section:m,...f}=e,b=[],g=(u,L)=>{let k=[];if(u.type===l&&u.props.className&&u.props.className.includes("k-toolbar-overflow-button"))k.push(K(l,{...u.props,className:`${u.props.className?u.props.className:""}`},`${L}-${new Date().getTime()}`));else if(u.type===l)k.push(K(l,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${L}-${new Date().getTime()}`));else if(u.type===zo)k.push(K(zo,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${L}-${new Date().getTime()}`));else if(u.type===mt)k.push(K(mt,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${L}-${new Date().getTime()}`));else if(u.type===_)k.push(K(_,{...u.props,className:`k-toolbar-menu-button ${u.props.className?u.props.className:""}`},`${L}-${new Date().getTime()}`));else if(u.type===xn)k.push(K(xn,{...u.props,className:`k-toolbar-split-button ${u.props.className?u.props.className:""}`},`${L}-${new Date().getTime()}`));else if(u.type===E||u.props.className&&u.props.className.includes("k-button-group")){let I=[];(Array.isArray(u.props.children)?u.props.children:[u.props.children]).forEach((M,P)=>{I.push(K(l,{...M.props,className:`${M.props.className?M.props.className:""}`},`${P}-${new Date().getTime()}`))}),k.push(K(E,{...u.props,className:`k-toolbar-button-group ${u.props.className?u.props.className:""}`,children:I},`${L}-${new Date().getTime()}`))}else u.type===oe?k.push(K(oe,{...u.props,className:`k-toolbar-combobox ${u.props.className?u.props.className:""}`},`${L}-${new Date().getTime()}`)):u.type===J?k.push(K(J,{...u.props,className:`k-toolbar-dropdownlist ${u.props.className?u.props.className:""}`},`${L}-${new Date().getTime()}`)):u.type===Te?k.push(K(Te,{...u.props,className:`k-toolbar-colorpicker ${u.props.className?u.props.className:""}`},`${L}-${new Date().getTime()}`)):k.push(u);k.forEach(I=>{b.push(I)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((L,k)=>{g(L,k)}),Co("div",{...f,className:n(e.className,lt,C(lt,{size:t,fillMode:o}),S(lt,{focus:a}),{[`${lt}-resizable`]:r,[`${lt}-scrollable`]:s,[`${lt}-scrollable-overlay`]:s&&d==="hidden",[`${lt}-scrollable-${c}`]:c&&c!=="both",[`${lt}-section`]:m}),role:"toolbar","aria-label":"Toolbar",children:[!s&&b,s&&d==="hidden"&&K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),s&&d==="start"&&Co(gn,{children:[Co(E,{children:[K("span",{className:n("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-left"})}),K("span",{className:n("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-right"})})]}),K(Q,{className:"k-toolbar-button-separator"}),K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b})]}),s&&d==="end"&&Co(gn,{children:[K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),K(Q,{className:"k-toolbar-button-separator"}),Co(E,{children:[K("span",{className:n("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-left"})}),K("span",{className:n("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(d==="around"||!d)&&Co(gn,{children:[K("span",{className:n("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-left"})}),K(Q,{className:"k-toolbar-button-separator"}),K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),K(Q,{className:"k-toolbar-button-separator"}),K("span",{className:n("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-right"})})]})]})};F.states=Ym;F.options=Qm;F.className=lt;F.defaultOptions=jm;F.moduleName=st;F.folderName=St;F.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 af}from"react/jsx-runtime";var Fs="k-floating-toolbar",ef=[],tf={},of={},Eo=e=>{let{...t}=e;return af("div",{...t,className:n(e.className,Fs),children:e.children})};Eo.states=ef;Eo.options=tf;Eo.className=Fs;Eo.defaultOptions=of;Eo.moduleName=st;Eo.folderName=St;import{jsx as lf}from"react/jsx-runtime";var kn="k-toolbar-item",rf=[i.focus],nf={},sf={},To=e=>{let{focus:t,...o}=e;return lf("div",{...o,className:n(e.className,kn,S(kn,{focus:t})),children:e.children})};To.states=rf;To.options=nf;To.className=kn;To.defaultOptions=sf;To.moduleName=st;To.folderName=St;import{jsx as Gs}from"react/jsx-runtime";var Vs="k-toolbar-popup",df=[],pf={size:[p.undefined,p.small,p.medium,p.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},cf={},Ft=e=>{let{size:t,fillMode:o,section:a,...r}=e;return Gs(V,{...r,className:n(e.className,Vs),children:a?Gs("span",{className:n("k-toolbar-items-list",C("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Ft.states=df;Ft.options=pf;Ft.className=Vs;Ft.defaultOptions=cf;Ft.moduleName=st;Ft.folderName=St;var Ka=Ft;import{jsx as RK}from"react/jsx-runtime";import{jsx as zK}from"react/jsx-runtime";import{jsx as GK}from"react/jsx-runtime";import{jsx as WK,jsxs as ZK}from"react/jsx-runtime";import{jsx as e_}from"react/jsx-runtime";import{jsx as dt,jsxs as hf}from"react/jsx-runtime";var uf=B.states,$s={...B.defaultOptions,variant:"text"},mf=B.options,ff=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],bf=[{name:"opened",title:"Opened"}],Ao=e=>{let{variant:t,modifiers:o,...a}={...$s,...e},r={},s=hf(le,{size:a.size,children:[dt(X,{first:!0,text:"Menu Item"}),dt(X,{text:"Menu Item"}),dt(X,{last:!0,text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(d=>{d==="opened"&&(r.opened=!!o?.[d],r.popup=o?.[d]?s:"")}),t){case"icon-only":return dt("div",{children:dt(B,{...a,...r,icon:"star"})});case"icon-and-text":return dt("div",{children:dt(B,{...a,...r,icon:"star",children:"Split Button"})});default:return dt("div",{children:dt(B,{...a,...r,children:"Split Button"})})}};Ao.options=mf;Ao.states=uf;Ao.variants=ff;Ao.defaultOptions=$s;Ao.modifiers=bf;Ao.className=B.className;import{jsx as Gt,jsxs as xf}from"react/jsx-runtime";var Xs=e=>Gt(F,{children:[Gt(l,{children:"Button"},"toolbar-button"),Gt(_,{text:"Menu button"},"toolbar-menu-button"),Gt(B,{children:"Split button"},"toolbar-split-button"),xf(E,{children:[Gt(l,{className:"k-group-start",icon:"align-left",children:"Left"}),Gt(l,{icon:"align-center",children:"Center"}),Gt(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as T_,jsxs as A_}from"react/jsx-runtime";import{jsx as Ae,jsxs as qs}from"react/jsx-runtime";var Js=e=>Ae(F,{scrollable:!0,...e,children:[Ae(l,{children:"Button"},"toolbar-button"),Ae(_,{text:"Menu button"},"toolbar-menu-button"),Ae(B,{children:"Split button"},"toolbar-split-button"),qs(E,{children:[Ae(l,{className:"k-group-start",icon:"align-left",children:"Left"}),Ae(l,{icon:"align-center",children:"Center"}),Ae(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Ae(l,{children:"Button"},"toolbar-button"),Ae(_,{text:"Menu button"},"toolbar-menu-button"),Ae(B,{children:"Split button"},"toolbar-split-button"),qs(E,{children:[Ae(l,{className:"k-group-start",icon:"align-left",children:"Left"}),Ae(l,{icon:"align-center",children:"Center"}),Ae(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Oe,jsxs as Ws}from"react/jsx-runtime";var Zs=({scrollingPosition:e="start",...t})=>Oe(F,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[Oe(l,{children:"Button"},"toolbar-button"),Oe(_,{text:"Menu button"},"toolbar-menu-button"),Oe(B,{children:"Split button"},"toolbar-split-button"),Ws(E,{children:[Oe(l,{className:"k-group-start",icon:"align-left",children:"Left"}),Oe(l,{icon:"align-center",children:"Center"}),Oe(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Oe(l,{children:"Button"},"toolbar-button"),Oe(_,{text:"Menu button"},"toolbar-menu-button"),Oe(B,{children:"Split button"},"toolbar-split-button"),Ws(E,{children:[Oe(l,{className:"k-group-start",icon:"align-left",children:"Left"}),Oe(l,{icon:"align-center",children:"Center"}),Oe(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as gf,jsx as ve,jsxs as _a}from"react/jsx-runtime";var Ys=({fillMode:e,size:t,...o})=>_a(gf,{children:[ve(F,{section:!0,fillMode:e,size:t,children:[ve(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),_a(E,{fillMode:e,children:[ve(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ve(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ve(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),ve(Q,{className:"k-toolbar-button-separator"}),ve(l,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),_a(Ka,{size:t,fillMode:e,section:!0,...o,children:[ve(B,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),ve(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),ve(Q,{}),ve(_,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),_a(E,{fillMode:e,children:[ve(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ve(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ve(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as dD,jsx as sD,jsxs as lD}from"react/jsx-runtime";import{Fragment as ND,jsx as gD,jsxs as kD}from"react/jsx-runtime";import{jsx as It}from"react/jsx-runtime";var kf=F.options,Nf=F.states,Qs={...F.defaultOptions,variant:"default"},vf=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],Lf=[],Oo=e=>{let{variant:t,...o}={...Qs,...e};switch(t){case"responsive":return It("div",{children:It(Ys,{style:{width:"583px"},...o})});case"overlay":return It("div",{children:It(Zs,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return It("div",{children:It(Js,{style:{width:"583px"},...o})});default:return It("div",{children:It(Xs,{style:{width:"583px"},...o})})}};Oo.options=kf;Oo.states=Nf;Oo.variants=vf;Oo.defaultOptions=Qs;Oo.modifiers=Lf;Oo.className=F.className;import{Fragment as Da,jsx as yt,jsxs as aa}from"react/jsx-runtime";var Nn="k-upload-dropzone",Mf=[i.hover],za=e=>{let{hover:t,status:o,disabled:a,hasFiles:r,filesId:s,...d}=e,c;switch(o){case"uploading":c=aa(Da,{children:[yt(v,{icon:"upload"}),"Uploading..."]});break;case"done":c=aa(Da,{children:[yt(v,{icon:"check"}),"Done"]});break;case"failed":c=aa(Da,{children:[yt(v,{icon:"exclamation-circle"}),"Done"]});break;default:c=yt(Da,{});break}return aa("div",{...d,className:n(e.className,Nn,"k-dropzone",S(Nn,{hover:t})),children:[aa("div",{className:"k-upload-button-wrap",children:[yt(l,{className:"k-upload-button","aria-disabled":a?"true":"false",...r&&s?{"aria-controls":s}:{},children:"Select files..."}),yt("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),yt("span",{className:n("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&yt("span",{className:"k-upload-status",children:c})]})};za.states=Mf;za.className=Nn;var vn="upload",js=vn;import{jsx as Ha,jsxs as tl}from"react/jsx-runtime";var Ln="k-upload",Sf=[i.hover,i.disabled],If={},ol={actionsLayout:"end"},el="upload-files-list",te=e=>{let{async:t,empty:o,actions:a,actionsLayout:r=ol.actionsLayout,hover:s,status:d,disabled:c,...m}=e,f=!!e.children;return tl("div",{...m,className:n(e.className,Ln,S(Ln,{disabled:c}),{"k-upload-async":t,"k-upload-empty":o}),children:[Ha(za,{status:d,hover:s,disabled:c,hasFiles:f,filesId:el}),f&&Ha("ul",{className:"k-upload-files",role:"list",id:el,children:e.children}),a&&f&&tl(li,{alignment:r,orientation:"horizontal",children:[Ha(l,{className:"k-clear-selected",children:"Clear"}),Ha(l,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};te.states=Sf;te.options=If;te.className=Ln;te.defaultOptions=ol;te.moduleName=vn;te.folderName=js;te.ariaSpec={selector:".k-upload",rules:[{selector:".k-upload .k-upload-button",attribute:"aria-disabled",usage:"Announces the disabled state of the upload button."},{selector:".k-upload .k-upload-button",attribute:"aria-controls (when present)",usage:"Creates the relationship between the button and the list of selected files when the list is present."},{selector:".k-upload input",attribute:"tabindex=-1",usage:"Assures that the input element inside the upload is not focusable."},{selector:".k-upload input",attribute:"aria-hidden=true",usage:"The input needs to be hidden from screen readers."},{selector:".k-upload-files",attribute:"role=list",usage:"Explicitly sets the UL role to list."},{selector:".k-upload-files",attribute:"id",usage:"Unique and deterministic id linked to the button aria-controls attribute."},{selector:".k-upload-files .k-file",attribute:"role=listitem",usage:"Explicitly sets the LI role to listitem."},{selector:".k-upload .k-file .k-file-validation-message",attribute:"aria-live=polite",usage:"Announces the change in the upload status of the file."},{selector:".k-upload .k-upload-actions .k-upload-action",attribute:"aria-label",usage:"Provides accessible names for the file action buttons."},{selector:".k-upload .k-upload-actions .k-upload-action",attribute:"tabindex=-1",usage:"The list file action buttons are not focusable elements."}]};var ra="progressbar",Ua=ra;import{jsx as Sn,jsxs as Mn}from"react/jsx-runtime";var $e="k-progressbar",yf=[i.disabled,i.indeterminate],Cf={orientation:["horizontal","vertical"]},Vt={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},de=e=>{let{disabled:t,height:o,indeterminate:a=Vt.indeterminate,label:r=Vt.label,labelPosition:s=Vt.labelPosition,orientation:d=Vt.orientation,reverse:c=Vt.reverse,value:m=Vt.value,width:f,style:b,ariaLabel:g,...u}=e;return Mn("div",{...u,className:n(e.className,$e,S($e,{disabled:t}),{[`${$e}-${d}`]:d,[`${$e}-indeterminate`]:a,[`${$e}-reverse`]:c}),style:{...b,"--kendo-progressbar-value":m,[d==="horizontal"?"height":"width"]:d==="horizontal"?o:f},role:"progressbar","aria-label":g||"progress","aria-valuenow":a?void 0:Number(m),"aria-valuemin":0,"aria-valuemax":100,children:[Sn("span",{className:n("k-progress-status-wrap",{[`k-progress-${s}`]:s&&!a}),children:r&&Mn("span",{className:"k-progress-status",children:[m,"%"]})}),!a&&Sn("div",{className:"k-progressbar-value k-selected",children:Sn("span",{className:n("k-progress-status-wrap",{[`k-progress-${s}`]:s}),children:r&&Mn("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};de.states=yf;de.options=Cf;de.className=$e;de.defaultOptions=Vt;de.moduleName=ra;de.folderName=Ua;de.ariaSpec={selector:".k-progressbar",implicitRole:"progressbar",rules:[{selector:".k-progressbar",attribute:"role=progressbar",usage:"Sets the proper role for ProgressBar."},{selector:".k-progressbar",attribute:"aria-label or aria-labelledby",usage:"The ProgressBar needs an accessible name to be assigned to it."},{selector:".k-progressbar:not(.k-progressbar-indeterminate)",attribute:"aria-valuenow",usage:"Required if the value is not indeterminate. Decimal value between aria-valuemin and aria-valuemax."},{selector:".k-progressbar",attribute:"aria-valuemin",usage:"Minimum value. Defaults to 0."},{selector:".k-progressbar",attribute:"aria-valuemax",usage:"Maximum value. Defaults to 100."}]};var al=de;import{jsx as In}from"react/jsx-runtime";var rl="k-chunk-progressbar",Ef=(e,t)=>t<=e-1,Tf=[i.disabled,i.indeterminate],Af={},Fa={chunkCount:5,orientation:"horizontal",progress:0},$t=e=>{let{disabled:t,chunkCount:o=Fa.chunkCount,indeterminate:a,orientation:r=Fa.orientation,progress:s=Fa.progress,reverse:d,ariaLabel:c,...m}=e;return In("div",{...m,className:n(e.className,$e,rl,S($e,{disabled:t}),{[`${$e}-${r}`]:r,[`${$e}-indeterminate`]:a,[`${$e}-reverse`]:d}),role:"progressbar","aria-label":c||"progress","aria-valuenow":a?void 0:s,"aria-valuemin":0,"aria-valuemax":o,children:In("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((f,b)=>In("li",{className:n("k-progressbar-chunk",{"k-first":b===0,"k-last":b===[...Array(o)].length-1,"k-selected":Ef(s,b)})},b))})})};$t.states=Tf;$t.options=Af;$t.className=rl;$t.defaultOptions=Fa;$t.moduleName=ra;$t.folderName=Ua;$t.ariaSpec={selector:".k-chunk-progressbar",implicitRole:"progressbar",rules:[{selector:".k-chunk-progressbar",attribute:"role=progressbar",usage:"Sets the proper role for ChunkProgressBar."},{selector:".k-chunk-progressbar",attribute:"aria-label or aria-labelledby",usage:"The ChunkProgressBar needs an accessible name to be assigned to it."},{selector:".k-chunk-progressbar:not(.k-progressbar-indeterminate)",attribute:"aria-valuenow",usage:"Required if the value is not indeterminate. Value between aria-valuemin and aria-valuemax."},{selector:".k-chunk-progressbar",attribute:"aria-valuemin",usage:"Minimum value. Defaults to 0."},{selector:".k-chunk-progressbar",attribute:"aria-valuemax",usage:"Maximum value. Defaults to chunk count."}]};import{jsx as Of}from"react/jsx-runtime";var na=e=>Of(al,{...e});import{jsx as kz}from"react/jsx-runtime";import{jsx as Ct}from"react/jsx-runtime";var Pf=de.options,wf=de.states,nl={...de.defaultOptions,variant:"start"},Bf=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],Rf=[],Po=e=>{let{variant:t,modifiers:o,...a}={...nl,...e},r={},s={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(d=>{switch(d){case"reverse":r.reverse=!!o?.[d];break;case"vertical":r.orientation=o?.[d]?"vertical":void 0,s.style=o?.[d]?void 0:{width:"324px"};break}}),t){case"end":return Ct("div",{...s,children:Ct(na,{...a,...r,labelPosition:"end",value:"50"})});case"center":return Ct("div",{...s,children:Ct(na,{...a,...r,labelPosition:"center",value:"50"})});case"empty":return Ct("div",{...s,children:Ct(na,{...a,...r,label:!1,value:"50"})});default:return Ct("div",{...s,children:Ct(na,{...a,...r,labelPosition:"start",value:"50"})})}};Po.options=Pf;Po.states=wf;Po.variants=Bf;Po.defaultOptions=nl;Po.modifiers=Rf;Po.className=de.className;import{jsx as yn,jsxs as _f}from"react/jsx-runtime";var Kf="k-file-info",Cn=e=>{let{name:t,size:o,validationMsg:a,...r}=e;return _f("div",{...r,className:n(e.className,Kf),children:[t&&yn("span",{className:"k-file-name",children:t}),o&&yn("span",{className:"k-file-size",children:o}),a&&yn("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};import{Fragment as zf,jsx as pt,jsxs as Ga}from"react/jsx-runtime";var Df="k-file",Le=e=>{let{status:t,progress:o,name:a,icon:r,size:s,state:d,validationMsg:c,...m}=e;return pt("li",{...m,className:n(e.className,Df,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:Ga("div",{className:"k-file-single",children:[pt(de,{className:n({"k-hidden":t!=="progress"}),value:o,label:!1}),Ga("span",{className:"k-file-icon-wrapper",children:[pt(v,{className:"k-file-icon",icon:r,size:"xxlarge"}),d&&pt("span",{className:"k-file-state",children:d})]}),pt(Cn,{name:a,size:s,validationMsg:c}),pt("div",{className:"k-upload-actions",children:t==="progress"?Ga(zf,{children:[Ga("span",{className:"k-upload-pct",children:[o,"%"]}),pt(l,{icon:"pause-sm",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),pt(l,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):pt(l,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};import{Fragment as Wz,jsx as qz,jsxs as Jz}from"react/jsx-runtime";import{Fragment as Hf,jsx as En,jsxs as Uf}from"react/jsx-runtime";var ia=e=>En(te,{async:!0,children:Uf(Hf,{children:[En(Le,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),En(Le,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});import{Fragment as n1,jsx as a1,jsxs as r1}from"react/jsx-runtime";import{jsx as Ff}from"react/jsx-runtime";var Va=e=>Ff(te,{async:!0,empty:!0,...e});import{Fragment as m1,jsx as u1,jsxs as f1}from"react/jsx-runtime";import{Fragment as k1,jsx as g1,jsxs as N1}from"react/jsx-runtime";import{jsx as ct,jsxs as $a}from"react/jsx-runtime";var Gf=te.options,Vf=te.states,il={...te.defaultOptions,variant:"empty"},$f=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],Xf=[],wo=e=>{let{variant:t,...o}={...il,...e};switch(t){case"success":return $a(ia,{status:"done",style:{width:"586px"},...o,children:[ct(Le,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),ct(Le,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return $a(ia,{status:"failed",style:{width:"586px"},...o,children:[ct(Le,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),ct(Le,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return $a(ia,{status:"uploading",style:{width:"586px"},...o,children:[ct(Le,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),ct(Le,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return $a(ia,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[ct(Le,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),ct(Le,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return ct(Va,{async:!0,status:"upload",style:{width:"586px"},...o})}};wo.options=Gf;wo.states=Vf;wo.variants=$f;wo.defaultOptions=il;wo.modifiers=Xf;wo.className=te.className;var Tn="pdf-viewer",sl=Tn;import{jsx as A,jsxs as tt}from"react/jsx-runtime";var An="k-pdf-viewer",qf=[i.disabled],Jf={},Wf=tt(F,{resizable:!0,fillMode:"flat",children:[A(_,{icon:"menu",fillMode:"flat",showArrow:!1,"aria-label":"Menu"}),A(Q,{}),A(ls,{pageSizes:!1,refresh:!1,info:!1}),A("span",{className:"k-spacer"}),tt(E,{fillMode:"flat",children:[A(l,{fillMode:"flat",className:"k-group-start",icon:"zoom-out","aria-label":"Zoom out"}),A(l,{fillMode:"flat",className:"k-group-end",icon:"zoom-in","aria-label":"Zoom in"})]}),A(oe,{value:"Automatic Width",fillMode:"flat","aria-label":"Zoom level"}),tt(E,{fillMode:"flat",children:[A(l,{fillMode:"flat",className:"k-group-start",icon:"pointer","aria-label":"Selection tool"}),A(l,{fillMode:"flat",className:"k-group-end",icon:"hand","aria-label":"Hand tool"})]}),A("span",{className:"k-spacer"}),A(l,{fillMode:"flat",icon:"search","aria-haspopup":"dialog","aria-label":"Search"}),A(l,{fillMode:"flat",icon:"edit-annotations","aria-label":"Annotations"}),A(l,{fillMode:"flat",icon:"comment","aria-label":"Comments"})]}),Zf=tt(F,{resizable:!0,fillMode:"flat",children:[tt(E,{fillMode:"flat",children:[A(l,{fillMode:"flat",className:"k-group-start",icon:"highlight","aria-label":"Highlight"}),A(l,{fillMode:"flat",icon:"underline","aria-label":"Underline"}),A(l,{fillMode:"flat",className:"k-group-end",icon:"strikethrough","aria-label":"Strikethrough"})]}),A(Q,{}),A(l,{fillMode:"flat",icon:"free-text","aria-label":"Free text"}),A(Q,{}),A(_,{icon:"shapes",fillMode:"flat",showArrow:!0,"aria-label":"Shapes"}),A(Q,{}),A(_,{icon:"stamp",fillMode:"flat",showArrow:!0,"aria-label":"Stamp"}),A(Q,{}),A(l,{fillMode:"flat",icon:"sticky-note","aria-label":"Sticky note"}),A(Q,{}),A(l,{fillMode:"flat",icon:"ruler","aria-label":"Ruler"}),A(Q,{}),A(l,{fillMode:"flat",icon:"comment","aria-label":"Comment"}),A(Q,{}),A(l,{fillMode:"flat",icon:"eraser","aria-label":"Eraser"}),A("span",{className:"k-spacer"}),A(l,{fillMode:"flat",icon:"x","aria-label":"Close"})]}),sa={toolbar:Wf,showSearchPanel:!1,blank:!1,annotations:!1,annotationsToolbar:Zf},Et=e=>{let{disabled:t,toolbar:o=sa.toolbar,showSearchPanel:a=sa.showSearchPanel,blank:r=sa.blank,annotations:s,annotationsToolbar:d=sa.annotationsToolbar,...c}=e;return tt("div",{...c,className:n(e.className,An,S(An,{disabled:t})),children:[o,s&&d,tt("div",{className:"k-canvas k-pdf-viewer-canvas k-pos-relative k-overflow-auto k-enable-text-select",tabIndex:0,"aria-label":"PDF document",role:"document",children:[a&&tt("div",{className:"k-search-panel k-pos-sticky k-top-center",role:"dialog","aria-label":"Search",children:[A(l,{fillMode:"flat",icon:"handle-drag",className:"k-search-dialog-draghandle","aria-label":"Drag handle"}),A(j,{"aria-label":"Search text",suffix:A(l,{fillMode:"flat",className:"k-match-case-button",icon:"convert-lowercase","aria-label":"Match case"})}),tt("span",{className:"k-search-matches",children:[A("span",{children:"0"})," of ",A("span",{children:"0"})]}),A(l,{fillMode:"flat",icon:"arrow-up","aria-label":"Previous match"}),A(l,{fillMode:"flat",icon:"arrow-down","aria-label":"Next match"}),A(l,{fillMode:"flat",icon:"x","aria-label":"Close search"})]}),A("div",{className:"k-pdf-viewer-pages",children:r?tt("div",{className:"k-page k-blank-page",children:[A(Sa,{}),A(Va,{empty:!0,status:"upload"})]}):e.children})]})]})};Et.states=qf;Et.options=Jf;Et.className=An;Et.defaultOptions=sa;Et.moduleName=Tn;Et.folderName=sl;Et.ariaSpec={selector:".k-pdf-viewer",rules:[{selector:".k-pdf-viewer .k-canvas",attribute:"tabindex=0",usage:"Defines the focusable page container element."},{selector:".k-pdf-viewer .k-canvas",attribute:"aria-label",usage:"Describes the purpose of the focusable container."},{selector:".k-pdf-viewer .k-canvas",attribute:"role=document",usage:"Defines that content should be evaluated in reader mode by assistive technologies."},{selector:'.k-pdf-viewer .k-toolbar .k-button:has([class*="i-search"])',attribute:"aria-haspopup=dialog",usage:"Describes that the Search tool button opens a dialog element."},{selector:".k-pdf-viewer .k-canvas .k-search-panel",attribute:"role=dialog",usage:"Describes the role of the Search panel."},{selector:".k-pdf-viewer .k-canvas .k-search-panel",attribute:"aria-label",usage:"Label for the Search panel, same label as the Search tool."}]};var j1=Et;export{An as PDFVIEWER_CLASSNAME,Et as PDFViewer,j1 as default};
|