@progress/kendo-themes-html 14.0.0-dev.4 → 14.0.0-dev.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/dist/cjs/chat/chat-message.js +1 -1
  2. package/dist/cjs/chat/chat.spec.js +1 -1
  3. package/dist/cjs/chat/demos/chat.js +1 -1
  4. package/dist/cjs/chat/templates/chat-empty.js +1 -1
  5. package/dist/cjs/chat/templates/chat-expandable.js +1 -1
  6. package/dist/cjs/chat/templates/chat-failed.js +1 -1
  7. package/dist/cjs/chat/templates/chat-message-skeleton.js +1 -1
  8. package/dist/cjs/chat/templates/chat-message-toolbar.js +1 -1
  9. package/dist/cjs/chat/templates/chat-normal.js +1 -1
  10. package/dist/cjs/chat/templates/chat-pinned.js +1 -1
  11. package/dist/cjs/chat/templates/chat-stop-response.js +1 -1
  12. package/dist/cjs/chat/templates/chat-textarea-file.js +1 -1
  13. package/dist/cjs/chat/templates/chat-typing.js +1 -1
  14. package/dist/cjs/chat/templates/chat-upload.js +1 -1
  15. package/dist/cjs/editor/demos/editor.js +1 -1
  16. package/dist/cjs/editor/templates/editor-normal.js +1 -1
  17. package/dist/cjs/editor/templates/editor-resizable.js +1 -1
  18. package/dist/cjs/editor/templates/editor-responsive-toolbar.js +1 -1
  19. package/dist/cjs/imageeditor/templates/imageeditor-crop.js +1 -1
  20. package/dist/cjs/imageeditor/templates/imageeditor-resize.js +1 -1
  21. package/dist/cjs/index.js +8 -8
  22. package/dist/cjs/prompt/demos/prompt.js +1 -1
  23. package/dist/cjs/prompt/templates/prompt-inline-input-only.js +1 -1
  24. package/dist/cjs/prompt/templates/prompt-inline.js +1 -1
  25. package/dist/cjs/prompt/templates/prompt-more-actions.js +1 -1
  26. package/dist/cjs/prompt/templates/prompt-normal.js +1 -1
  27. package/dist/cjs/prompt/templates/prompt-output.js +1 -1
  28. package/dist/cjs/prompt/templates/prompt-popup.js +1 -1
  29. package/dist/cjs/prompt/templates/prompt-settings.js +1 -1
  30. package/dist/cjs/prompt/templates/prompt-suggestions.js +1 -1
  31. package/dist/cjs/prompt-box/prompt-box.spec.js +1 -1
  32. package/dist/cjs/prompt-box/templates/prompt-box-auto-expanded.js +1 -1
  33. package/dist/cjs/prompt-box/templates/prompt-box-auto.js +1 -1
  34. package/dist/cjs/prompt-box/templates/prompt-box-multi.js +1 -1
  35. package/dist/cjs/prompt-box/templates/prompt-box-single.js +1 -1
  36. package/dist/cjs/prompt-box/templates/prompt-box-stop-response.js +1 -1
  37. package/dist/cjs/rating/demos/rating.js +1 -1
  38. package/dist/cjs/rating/rating-item.js +1 -1
  39. package/dist/cjs/rating/rating.spec.js +1 -1
  40. package/dist/cjs/rating/templates/rating-disabled.js +1 -1
  41. package/dist/cjs/rating/templates/rating-normal.js +1 -1
  42. package/dist/cjs/rating/templates/rating-readonly.js +1 -1
  43. package/dist/cjs/rating/templates/rating-with-label.js +1 -1
  44. package/dist/cjs/smart-box/smart-box-send-button.js +1 -1
  45. package/dist/cjs/smart-box/templates/smart-box-disabled-send.js +1 -1
  46. package/dist/cjs/smart-box/templates/smart-box-normal.js +1 -1
  47. package/dist/cjs/smart-box/templates/smart-box-opened-focused.js +1 -1
  48. package/dist/cjs/smart-box/templates/smart-box-processing.js +1 -1
  49. package/dist/cjs/speech-to-text-button/demos/speech-to-text-button.js +1 -1
  50. package/dist/cjs/speech-to-text-button/speech-to-text-button.spec.js +1 -1
  51. package/dist/cjs/speech-to-text-button/templates/speech-to-text-button-listening.js +1 -1
  52. package/dist/cjs/speech-to-text-button/templates/speech-to-text-button-normal.js +1 -1
  53. package/dist/cjs/spreadsheet/demos/spreadsheet.js +1 -1
  54. package/dist/cjs/spreadsheet/spreadsheet-header.js +1 -1
  55. package/dist/cjs/spreadsheet/spreadsheet-sheets-bar.js +1 -1
  56. package/dist/cjs/spreadsheet/spreadsheet-view.js +1 -1
  57. package/dist/cjs/spreadsheet/templates/spreadsheet-formula-open.js +1 -1
  58. package/dist/cjs/spreadsheet/templates/spreadsheet-normal.js +1 -1
  59. package/dist/esm/chat/chat-message.mjs +1 -1
  60. package/dist/esm/chat/chat.spec.mjs +1 -1
  61. package/dist/esm/chat/demos/chat.mjs +1 -1
  62. package/dist/esm/chat/templates/chat-empty.mjs +1 -1
  63. package/dist/esm/chat/templates/chat-expandable.mjs +1 -1
  64. package/dist/esm/chat/templates/chat-failed.mjs +1 -1
  65. package/dist/esm/chat/templates/chat-message-skeleton.mjs +1 -1
  66. package/dist/esm/chat/templates/chat-message-toolbar.mjs +1 -1
  67. package/dist/esm/chat/templates/chat-normal.mjs +1 -1
  68. package/dist/esm/chat/templates/chat-pinned.mjs +1 -1
  69. package/dist/esm/chat/templates/chat-stop-response.mjs +1 -1
  70. package/dist/esm/chat/templates/chat-textarea-file.mjs +1 -1
  71. package/dist/esm/chat/templates/chat-typing.mjs +1 -1
  72. package/dist/esm/chat/templates/chat-upload.mjs +1 -1
  73. package/dist/esm/editor/demos/editor.mjs +1 -1
  74. package/dist/esm/editor/templates/editor-normal.mjs +1 -1
  75. package/dist/esm/editor/templates/editor-resizable.mjs +1 -1
  76. package/dist/esm/editor/templates/editor-responsive-toolbar.mjs +1 -1
  77. package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
  78. package/dist/esm/imageeditor/templates/imageeditor-resize.mjs +1 -1
  79. package/dist/esm/index.mjs +8 -8
  80. package/dist/esm/prompt/demos/prompt.mjs +1 -1
  81. package/dist/esm/prompt/templates/prompt-inline-input-only.mjs +1 -1
  82. package/dist/esm/prompt/templates/prompt-inline.mjs +1 -1
  83. package/dist/esm/prompt/templates/prompt-more-actions.mjs +1 -1
  84. package/dist/esm/prompt/templates/prompt-normal.mjs +1 -1
  85. package/dist/esm/prompt/templates/prompt-output.mjs +1 -1
  86. package/dist/esm/prompt/templates/prompt-popup.mjs +1 -1
  87. package/dist/esm/prompt/templates/prompt-settings.mjs +1 -1
  88. package/dist/esm/prompt/templates/prompt-suggestions.mjs +1 -1
  89. package/dist/esm/prompt-box/prompt-box.spec.mjs +1 -1
  90. package/dist/esm/prompt-box/templates/prompt-box-auto-expanded.mjs +1 -1
  91. package/dist/esm/prompt-box/templates/prompt-box-auto.mjs +1 -1
  92. package/dist/esm/prompt-box/templates/prompt-box-multi.mjs +1 -1
  93. package/dist/esm/prompt-box/templates/prompt-box-single.mjs +1 -1
  94. package/dist/esm/prompt-box/templates/prompt-box-stop-response.mjs +1 -1
  95. package/dist/esm/rating/demos/rating.mjs +1 -1
  96. package/dist/esm/rating/rating-item.mjs +1 -1
  97. package/dist/esm/rating/rating.spec.mjs +1 -1
  98. package/dist/esm/rating/templates/rating-disabled.mjs +1 -1
  99. package/dist/esm/rating/templates/rating-normal.mjs +1 -1
  100. package/dist/esm/rating/templates/rating-readonly.mjs +1 -1
  101. package/dist/esm/rating/templates/rating-with-label.mjs +1 -1
  102. package/dist/esm/smart-box/smart-box-send-button.mjs +1 -1
  103. package/dist/esm/smart-box/templates/smart-box-disabled-send.mjs +1 -1
  104. package/dist/esm/smart-box/templates/smart-box-normal.mjs +1 -1
  105. package/dist/esm/smart-box/templates/smart-box-opened-focused.mjs +1 -1
  106. package/dist/esm/smart-box/templates/smart-box-processing.mjs +1 -1
  107. package/dist/esm/speech-to-text-button/demos/speech-to-text-button.mjs +1 -1
  108. package/dist/esm/speech-to-text-button/speech-to-text-button.spec.mjs +1 -1
  109. package/dist/esm/speech-to-text-button/templates/speech-to-text-button-listening.mjs +1 -1
  110. package/dist/esm/speech-to-text-button/templates/speech-to-text-button-normal.mjs +1 -1
  111. package/dist/esm/spreadsheet/demos/spreadsheet.mjs +1 -1
  112. package/dist/esm/spreadsheet/spreadsheet-header.mjs +1 -1
  113. package/dist/esm/spreadsheet/spreadsheet-sheets-bar.mjs +1 -1
  114. package/dist/esm/spreadsheet/spreadsheet-view.mjs +1 -1
  115. package/dist/esm/spreadsheet/templates/spreadsheet-formula-open.mjs +1 -1
  116. package/dist/esm/spreadsheet/templates/spreadsheet-normal.mjs +1 -1
  117. package/package.json +3 -3
  118. package/src/_preview/tests/preview-components.tsx +2 -2
  119. package/src/chat/chat-message.tsx +3 -3
  120. package/src/chat/chat.spec.tsx +2 -2
  121. package/src/chat/tests/chat-files-layout.tsx +8 -8
  122. package/src/chat/tests/chat-files-pin.tsx +2 -2
  123. package/src/chat/tests/chat-files.tsx +6 -6
  124. package/src/chat/tests/chat-message-toolbar.tsx +2 -2
  125. package/src/colorpicker/tests/colorpicker-size-rounded.tsx +34 -0
  126. package/src/drawer/tests/drawer-item-states.tsx +3 -3
  127. package/src/editor/demos/editor.tsx +1 -1
  128. package/src/editor/templates/editor-normal.tsx +1 -1
  129. package/src/editor/templates/editor-resizable.tsx +1 -1
  130. package/src/editor/templates/editor-responsive-toolbar.tsx +1 -1
  131. package/src/editor/tests/editor-table-wizard.tsx +1 -1
  132. package/src/editor/tests/editor.tsx +2 -2
  133. package/src/grid/tests/grid-assistant-window.tsx +4 -4
  134. package/src/grid/tests/grid-row-pinning-adaptive.tsx +1 -1
  135. package/src/grid/tests/grid-semantic-search-popup.tsx +10 -10
  136. package/src/grid/tests/grid-toolbar.tsx +2 -2
  137. package/src/imageeditor/templates/imageeditor-crop.tsx +1 -1
  138. package/src/imageeditor/templates/imageeditor-resize.tsx +1 -1
  139. package/src/prompt/demos/prompt.tsx +4 -4
  140. package/src/prompt/templates/prompt-inline.tsx +1 -1
  141. package/src/prompt/templates/prompt-output.tsx +4 -4
  142. package/src/prompt/tests/prompt-inline-response-generation.tsx +2 -2
  143. package/src/prompt-box/prompt-box.spec.tsx +1 -1
  144. package/src/prompt-box/tests/prompt-box-affixes.tsx +8 -8
  145. package/src/prompt-box/tests/prompt-box-files.tsx +2 -2
  146. package/src/rating/rating-item.tsx +20 -5
  147. package/src/smart-box/smart-box-send-button.tsx +1 -1
  148. package/src/smart-box/templates/smart-box-disabled-send.tsx +1 -1
  149. package/src/smart-box/templates/smart-box-normal.tsx +1 -1
  150. package/src/smart-box/templates/smart-box-opened-focused.tsx +1 -1
  151. package/src/smart-box/templates/smart-box-processing.tsx +1 -1
  152. package/src/speech-to-text-button/speech-to-text-button.spec.tsx +2 -2
  153. package/src/spreadsheet/spreadsheet-header.tsx +1 -1
  154. package/src/spreadsheet/spreadsheet-sheets-bar.tsx +8 -8
  155. package/src/spreadsheet/tests/spreadsheet-tools.tsx +1 -1
  156. package/src/toolbar/tests/toolbar-fill-modes.tsx +2 -2
  157. package/dist/types/loader/tests/loader-container-overlay.d.ts +0 -2
  158. package/src/colorpicker/tests/colorpicker-size.tsx +0 -28
  159. package/src/loader/tests/loader-container-overlay.tsx +0 -30
  160. /package/dist/types/colorpicker/tests/{colorpicker-size.d.ts → colorpicker-size-rounded.d.ts} +0 -0
@@ -1 +1 @@
1
- var Lc=Object.create;var Va=Object.defineProperty;var Sc=Object.getOwnPropertyDescriptor;var Mc=Object.getOwnPropertyNames;var Ic=Object.getPrototypeOf,yc=Object.prototype.hasOwnProperty;var Tc=(e,t)=>{for(var o in t)Va(e,o,{get:t[o],enumerable:!0})},Pi=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Mc(t))!yc.call(e,r)&&r!==o&&Va(e,r,{get:()=>t[r],enumerable:!(a=Sc(t,r))||a.enumerable});return e};var Ki=(e,t,o)=>(o=e!=null?Lc(Ic(e)):{},Pi(t||!e||!e.__esModule?Va(o,"default",{value:e,enumerable:!0}):o,e)),Ec=e=>Pi(Va({},"__esModule",{value:!0}),e);var Lx={};Tc(Lx,{ImageEditorResize:()=>vx});module.exports=Ec(Lx);var i=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?i(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var y=(e,t)=>i({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),E=(e,t)=>{let{valid:o,invalid:a,hover:r,focus:s,checked:d,active:u,selected:f,disabled:h,indeterminate:N,loading:x,empty:p,readonly:g,highlighted:k,...S}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":r,"k-focus":s,"k-checked":d,"k-active":u,"k-selected":f,"k-disabled":h,"k-indeterminate":N&&!d,"k-loading":x,"k-empty":p,"k-readonly":g,"k-highlighted":k},Object.keys(S).reduce((T,I)=>(I.startsWith("k-")?T[I]=S[I]:T[`k-${I}`]=S[I],T),{}))};function Di(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},m={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},b={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},v={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},n={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 Tr={};function R(e){return Tr[e]=(Tr[e]||0)+1,`k-${e}-${Tr[e]}`}var ha=require("react/jsx-runtime"),Er="k-font-icon",Cc=[],Oc={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},Ac={},xa=e=>{let{size:t,themeColor:o,icon:a,rotate:r,flip:s,...d}=e;return a?(0,ha.jsx)("span",{...d,className:i(e.className,Er,y(Er,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):(0,ha.jsx)(ha.Fragment,{})};xa.states=Cc;xa.options=Oc;xa.className=Er;xa.defaultOptions=Ac;var _i=xa;var no=require("react/jsx-runtime"),Cr="k-svg-icon",wc=[],Rc={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},zi={viewBox:"0 0 24 24"},Na=e=>{let{size:t,themeColor:o,rotate:a,flip:r,viewBox:s=zi.viewBox,icon:d,...u}=e;if(!d)return(0,no.jsx)(no.Fragment,{});if(d==="none")return(0,no.jsx)("span",{...u,className:i(e.className,Cr,y("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let f=typeof d=="object"&&d.name&&d.name;return(0,no.jsx)("span",{...u,className:i(e.className,Cr,y("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:(0,no.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof d=="object"?d.viewBox:s,dangerouslySetInnerHTML:typeof d=="object"?{__html:d.content}:void 0,children:d?void 0:e.children})})};Na.states=wc;Na.options=Rc;Na.className=Cr;Na.defaultOptions=zi;var Or=Na;var Ar=Ki(require("@progress/kendo-svg-icons"));var Hi="icon",Fi="icons";var Vi=require("react");var Ui=require("react"),Gi=(0,Ui.createContext)({iconsType:"svg"});var At=require("react/jsx-runtime"),$a="k-icon",Bc=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Pc=[],Kc={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},wr={viewBox:"0 0 24 24",type:"svg"},L=e=>{let{iconsType:t}=(0,Vi.useContext)(Gi),{size:o,themeColor:a,icon:r,type:s=t||wr.type,rotate:d,flip:u,viewBox:f=wr.viewBox,...h}=e;if(!r)return(0,At.jsx)(At.Fragment,{});if((t||s)==="svg"){if(r==="none")return(0,At.jsx)(Or,{...h,className:i(e.className,$a),icon:r,size:o});let x=Ar[r]?r:Bc(`${r}-icon`);return Ar[x]?(0,At.jsx)(Or,{...h,className:i(e.className,$a),icon:Ar[x],size:o,themeColor:a,rotate:d,flip:u,viewBox:f}):(0,At.jsx)(At.Fragment,{})}return(0,At.jsx)(_i,{...h,className:i(e.className,$a),icon:r,size:o,themeColor:a,rotate:d,flip:u})};L.states=Pc;L.options=Kc;L.defaultOptions=wr;L.className=$a;L.moduleName=Hi;L.folderName=Fi;L.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var Rr="button",$i=Rr;var bt=require("react/jsx-runtime"),ka="k-button",Dc=["icon-button"],_c=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],zc={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},Br={showArrow:!1,arrowIconName:"chevron-down"},c=e=>{let{as:t="button",size:o,rounded:a,fillMode:r,themeColor:s,showArrow:d=Br.showArrow,arrowIconName:u=Br.arrowIconName,variant:f,hover:h,focus:N,active:x,selected:p,disabled:g,togglable:k,ariaDisabled:S,icon:T,text:I,iconClassName:w,className:U,...ae}=e,ie=T!==void 0,xe=e.children!==void 0;return(0,bt.jsxs)(t,{className:i(U,ka,Di(ka,f),y(ka,{size:o,rounded:a,fillMode:r,themeColor:s}),E(ka,{hover:h,focus:N,active:x,disabled:g||S,selected:p}),{"k-icon-button":!I&&!xe&&ie}),...ae,"aria-pressed":k?p?"true":"false":void 0,"aria-disabled":S?"true":void 0,disabled:g||void 0,children:[T&&(0,bt.jsx)(L,{className:i(w,"k-button-icon"),icon:T}),I?(0,bt.jsxs)(bt.Fragment,{children:[I&&(0,bt.jsx)("span",{className:"k-button-text",children:I}),e.children]}):e.children&&(0,bt.jsx)("span",{className:"k-button-text",children:e.children}),d&&(0,bt.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,bt.jsx)(L,{icon:u})})]})};c.states=_c;c.options=zc;c.variants=Dc;c.className=ka;c.defaultOptions=Br;c.moduleName=Rr;c.folderName=$i;c.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var Xi=require("react/jsx-runtime"),wt=e=>(0,Xi.jsx)(c,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var qi=require("react/jsx-runtime"),ga=e=>(0,qi.jsx)(c,{icon:"folder",children:"Button",...e});var Wi=require("react/jsx-runtime"),io=e=>(0,Wi.jsx)(c,{children:"Button",...e});var Xa=require("react/jsx-runtime"),Hc=c.options,Fc=c.states,Uc={...c.defaultOptions,variant:"text"},Gc=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Vc=[],go=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,Xa.jsx)(wt,{...o,icon:"star"});case"icon-and-text":return(0,Xa.jsx)(ga,{...o,icon:"star",children:"Button"});default:return(0,Xa.jsx)(io,{...o,children:"Button"})}};go.options=Hc;go.states=Fc;go.variants=Gc;go.defaultOptions=Uc;go.modifiers=Vc;go.className=c.className;var Pr="button",Ji=Pr;var Yi=require("react/jsx-runtime"),va="k-button-group",$c=[n.disabled],Xc={fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},qc={},A=e=>{let{fillMode:t,disabled:o,stretched:a,...r}=e;return(0,Yi.jsx)("div",{role:"group",...r,className:i(e.className,va,y(va,{fillMode:t}),E(va,{disabled:o}),{[`${va}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};A.states=$c;A.options=Xc;A.className=va;A.defaultOptions=qc;A.moduleName=Pr;A.folderName=Ji;A.ariaSpec={selector:".k-button-group",rules:[{selector:".k-button-group:not(.k-split-button)",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-button-group.k-disabled",attribute:"aria-disabled=true",usage:"The attribute is rendered only when the entire button group is disabled."},{selector:".k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button",attribute:"aria-pressed (when selected)",usage:"Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true."}]};var Kr=require("react/jsx-runtime");var Dr=require("react/jsx-runtime");var _r=require("react/jsx-runtime");var zr=require("react/jsx-runtime");var Hr=require("react/jsx-runtime");var Fr=require("react/jsx-runtime");var qe=require("react/jsx-runtime"),Wc={...c.options,...A.options},Jc=c.states,Yc={...c.defaultOptions,...A.defaultOptions,variant:"text-button"},Zc=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Qc=[],vo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,qe.jsxs)(A,{fillMode:a.fillMode,className:o,children:[(0,qe.jsx)(c,{...a,icon:"star"}),(0,qe.jsx)(c,{...a,icon:"star"}),(0,qe.jsx)(c,{...a,icon:"star"})]}):t==="icon-text-button"?(0,qe.jsxs)(A,{fillMode:a.fillMode,className:o,children:[(0,qe.jsx)(c,{...a,icon:"star",children:"First"}),(0,qe.jsx)(c,{...a,icon:"star",children:"Middle"}),(0,qe.jsx)(c,{...a,icon:"star",children:"Last"})]}):(0,qe.jsxs)(A,{fillMode:a.fillMode,className:o,children:[(0,qe.jsx)(c,{...a,children:"First"}),(0,qe.jsx)(c,{...a,children:"Middle"}),(0,qe.jsx)(c,{...a,children:"Last"})]})};vo.options=Wc;vo.states=Jc;vo.variants=Zc;vo.defaultOptions=Yc;vo.modifiers=Qc;vo.className=A.className;var La="input",qa=La;var Zi=require("react/jsx-runtime"),Wa="k-input",jc=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],ep={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},tp={},G=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:d,readonly:u,size:f,rounded:h,fillMode:N,...x}=e;return(0,Zi.jsx)("span",{...x,className:i(e.className,Wa,y(Wa,{size:f,rounded:h,fillMode:N}),E(Wa,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:d,readonly:u}))})};G.states=jc;G.options=ep;G.className=Wa;G.defaultOptions=tp;G.moduleName=La;G.folderName=qa;var Qi=require("react/jsx-runtime"),Ja="k-picker",op=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],ap={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},rp={},vt=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:d,readonly:u,size:f,rounded:h,fillMode:N,...x}=e;return(0,Qi.jsx)("span",{...x,className:i(e.className,Ja,y(Ja,{size:f,rounded:h,fillMode:N}),E(Ja,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:d,readonly:u})),children:e.children})};vt.states=op;vt.options=ap;vt.className=Ja;vt.defaultOptions=rp;vt.moduleName=La;vt.folderName=qa;var Lo=require("react/jsx-runtime"),ji="k-clear-value",np=[n.disabled,n.loading,n.readonly],ip={},Ne=e=>{let{disabled:t,loading:o,readonly:a,value:r}=e;return t||a||o||!r?(0,Lo.jsx)(Lo.Fragment,{}):(0,Lo.jsx)("span",{className:i(e.className,ji),children:(0,Lo.jsx)(L,{icon:"x"})})};Ne.states=np;Ne.options=ip;Ne.className=ji;var es=require("react/jsx-runtime"),Ur="k-input-inner",sp=[],lp={},Ya={type:"text",autocomplete:"off",value:"",placeholder:""},ke=e=>{let{value:t=Ya.value,type:o=Ya.type,placeholder:a=Ya.placeholder,autocomplete:r=Ya.autocomplete,disabled:s,readOnly:d,...u}=e;return(0,es.jsx)("input",{...u,type:o,className:i(e.className,Ur,y(Ur,e)),placeholder:a,autoComplete:r,defaultValue:t,disabled:s||void 0,readOnly:d||void 0})};ke.states=sp;ke.options=lp;ke.className=Ur;var Sa=require("react/jsx-runtime"),Gr="k-input-inner",dp=[],cp={},so=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:r,valueIconName:s,...d}=e;return(0,Sa.jsxs)("span",{...d,className:i(e.className,Gr,y(Gr,e)),children:[r,!r&&s&&(0,Sa.jsx)(L,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&(0,Sa.jsx)("span",{className:"k-input-value-text",children:t})]})};so.states=dp;so.options=cp;so.className=Gr;var os=require("react/jsx-runtime"),Vr="k-input-inner",pp=[],mp={},ts={value:"",placeholder:""},Ma=e=>{let{value:t=ts.value,placeholder:o=ts.placeholder,rows:a,disabled:r,...s}=e;return(0,os.jsx)("textarea",{...s,className:i(e.className,Vr,y(Vr,e)),placeholder:o,rows:a,defaultValue:t,disabled:r||void 0})};Ma.states=pp;Ma.options=mp;Ma.className=Vr;var Ia=require("react/jsx-runtime"),as="k-input-loading-icon",up=[n.disabled,n.loading],ce=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Ia.jsx)(Ia.Fragment,{}):(0,Ia.jsx)("span",{className:i(e.className,as,"k-icon k-i-loading")})};ce.states=up;ce.className=as;var ya=require("react/jsx-runtime"),rs="k-input-validation-icon",bp=[n.valid,n.invalid,n.disabled,n.loading],fp={},se=e=>{let{valid:t,invalid:o,disabled:a,loading:r}=e,s=o?"warning-circle":"check-circle";return a||r||!!!(t||o)?(0,ya.jsx)(ya.Fragment,{}):(0,ya.jsx)(L,{className:i(rs),icon:s})};se.states=bp;se.options=fp;se.className=rs;var Ta=require("react/jsx-runtime"),hp="k-input-prefix",xp={direction:"horizontal"},Ee=e=>{let{direction:t=xp.direction,...o}=e;return e.children?(0,Ta.jsx)("span",{...o,className:i(hp,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Ta.jsx)(Ta.Fragment,{})};var Ea=require("react/jsx-runtime"),Np="k-input-suffix",kp={direction:"horizontal"},Ce=e=>{let{direction:t=kp.direction,...o}=e;return e.children?(0,Ea.jsx)("span",{...o,className:i(Np,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Ea.jsx)(Ea.Fragment,{})};var gp=require("react/jsx-runtime");var ns=require("react/jsx-runtime"),vp="k-input-suffix-text",$r=e=>{let{children:t,...o}=e;return(0,ns.jsx)("span",{...o,className:i(vp,e.className),children:t})};var ss=require("react/jsx-runtime"),is="k-input-separator",Lp={direction:"vertical"},pe=e=>{let{direction:t=Lp.direction,...o}=e;return(0,ss.jsx)("span",{...o,className:i(is,e.className,{[`${is}-${t}`]:t})})};var me=require("react/jsx-runtime"),Sp=G.states,Mp=G.defaultOptions,Ip=G.options,yp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Tp=[],So=e=>{let{modifiers:t,valid:o,invalid:a,loading:r,disabled:s,readonly:d,...u}=e,f=t==null?void 0:t.prefix,h=t==null?void 0:t.suffix,N=t==null?void 0:t["clear-button"],x=t==null?void 0:t["validation-icon"],p=t==null?void 0:t.separators;return(0,me.jsxs)(G,{...u,valid:o,invalid:a,loading:r,disabled:s,readonly:d,style:{width:300},children:[f&&(0,me.jsxs)(me.Fragment,{children:[(0,me.jsx)(Ee,{children:(0,me.jsx)(L,{icon:"lock"})}),p&&(0,me.jsx)(pe,{})]}),(0,me.jsx)(ke,{placeholder:"Placeholder",value:"Value"}),x&&(0,me.jsx)(se,{valid:o,invalid:a,loading:r,disabled:s}),(0,me.jsx)(ce,{loading:r,disabled:s}),N&&(0,me.jsx)(Ne,{loading:r,disabled:s,readonly:d,value:"Value"}),h&&(0,me.jsxs)(me.Fragment,{children:[p&&(0,me.jsx)(pe,{}),(0,me.jsx)(Ce,{children:(0,me.jsx)(io,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};So.options=Ip;So.states=Sp;So.variants=Tp;So.defaultOptions=Mp;So.modifiers=yp;So.className=G.className;var Ca=require("react/jsx-runtime"),ls="k-color-preview",Ep=[],Cp={},Vt=e=>{let{color:t,iconName:o,...a}=e;return(0,Ca.jsxs)("span",{...a,className:i(e.className,ls,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,Ca.jsx)(L,{icon:o,className:"k-color-preview-icon"}),(0,Ca.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Vt.states=Ep;Vt.options=Cp;Vt.className=ls;var Xr="popup",ds=Xr;var qr=require("react/jsx-runtime"),cs="k-animation-container",Op=[],Ap={},ps={positionMode:"absolute"},Lt=e=>{let{positionMode:t=ps.positionMode,animationStyle:o,offset:a,...r}=e;return(0,qr.jsx)("div",{...r,style:{...a,...e.style},className:i(e.className,cs,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,qr.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};Lt.states=Op;Lt.options=Ap;Lt.className=cs;Lt.defaultOptions=ps;Lt.moduleName=Xr;Lt.folderName=ds;var Wr="popup",ms=Wr;var Jr=require("react/jsx-runtime"),us="k-popup",wp=[],Rp={},bs={positionMode:"absolute"},Y=e=>{let{offset:t,positionMode:o=bs.positionMode,animationStyle:a,containerClassName:r,containerRole:s,containerAriaLabel:d,...u}=e;return(0,Jr.jsx)(Lt,{positionMode:o,offset:t,animationStyle:a,className:r,role:s,"aria-label":d,children:(0,Jr.jsx)("div",{...u,className:i(e.className,us),children:e.children})})};Y.states=wp;Y.options=Rp;Y.className=us;Y.defaultOptions=bs;Y.moduleName=Wr;Y.folderName=ms;Y.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var Yr="action-buttons",fs=Yr;var hs=require("react/jsx-runtime"),Za="k-actions",Bp=[],Pp={},Zr={alignment:"start",orientation:"horizontal"},St=e=>{let{alignment:t=Zr.alignment,orientation:o=Zr.orientation,...a}=e;return(0,hs.jsx)("div",{...a,className:i(Za,{[`${Za}-${t}`]:t,[`${Za}-${o}`]:o},e.className),children:e.children})};St.states=Bp;St.options=Pp;St.className=Za;St.defaultOptions=Zr;St.moduleName=Yr;St.folderName=fs;var Ns=require("react/jsx-runtime"),Kp="k-actionsheet-footer",xs={alignment:"stretched",orientation:"horizontal"},$t=e=>{let{alignment:t=xs.alignment,orientation:o=xs.orientation,template:a,as:r=a?"div":St,...s}=e;return(0,Ns.jsx)(r,{...s,...!a&&{alignment:t,orientation:o},className:i(e.className,Kp),children:e.children})};var Qr="searchbox",ks=Qr;var Xt=require("react/jsx-runtime"),gs="k-searchbox",Dp=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],_p={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},jr={showIcon:!0,icon:"search"},nt=e=>{let{value:t,placeholder:o,size:a,rounded:r,fillMode:s,hover:d,focus:u,valid:f,invalid:h,required:N,loading:x,disabled:p,showIcon:g=jr.showIcon,icon:k=jr.icon,"aria-label":S,...T}=e;return(0,Xt.jsxs)(G,{...T,size:a,rounded:r,fillMode:s,hover:d,focus:u,valid:f,invalid:h,required:N,loading:x,disabled:p,className:i(e.className,gs),children:[g&&(0,Xt.jsx)(L,{className:"k-input-icon",icon:k}),(0,Xt.jsx)(ke,{placeholder:o,value:t,"aria-label":S}),(0,Xt.jsx)(ce,{...e}),(0,Xt.jsx)(se,{...e}),(0,Xt.jsx)(Ne,{...e})]})};nt.states=Dp;nt.options=_p;nt.className=gs;nt.defaultOptions=jr;nt.moduleName=Qr;nt.folderName=ks;var zp=require("react/jsx-runtime");var en="textbox",vs=en;var Oe=require("react/jsx-runtime"),Ls="k-textbox",Hp=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Fp={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Qa={showClearButton:!0,showValidationIcon:!0,separators:!0},F=e=>{let{size:t,rounded:o,fillMode:a,separators:r=Qa.separators,showClearButton:s=Qa.showClearButton,showValidationIcon:d=Qa.showValidationIcon,prefix:u,suffix:f,type:h,value:N,placeholder:x,hover:p,focus:g,valid:k,invalid:S,required:T,loading:I,disabled:w,readonly:U,id:ae,"aria-label":ie,"aria-describedby":xe,...He}=e;return(0,Oe.jsxs)(G,{...He,size:t,rounded:o,fillMode:a,hover:p,focus:g,valid:k,invalid:S,required:T,loading:I,disabled:w,readonly:U,className:i(e.className,Ls),children:[u&&(0,Oe.jsxs)(Oe.Fragment,{children:[(0,Oe.jsx)(Ee,{children:u}),r&&(0,Oe.jsx)(pe,{})]}),(0,Oe.jsx)(ke,{id:ae,placeholder:x,value:N,type:h,disabled:w,"aria-label":ie,"aria-describedby":xe,"aria-invalid":S?"true":void 0}),d&&(0,Oe.jsx)(se,{valid:k,invalid:S,loading:I,disabled:w}),(0,Oe.jsx)(ce,{loading:I,disabled:w}),s&&(0,Oe.jsx)(Ne,{loading:I,disabled:w,readonly:U,value:N}),f&&(0,Oe.jsxs)(Oe.Fragment,{children:[r&&(0,Oe.jsx)(pe,{}),(0,Oe.jsx)(Ce,{children:f})]})]})};F.states=Hp;F.options=Fp;F.className=Ls;F.defaultOptions=Qa;F.moduleName=en;F.folderName=vs;F.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 Oa=F;var Ms=require("react/jsx-runtime"),Ss=e=>(0,Ms.jsx)(Oa,{...e});var Is=require("react/jsx-runtime");var ys=require("react/jsx-runtime");var Up=require("react/jsx-runtime");var ja=require("react/jsx-runtime"),Gp=F.states,Vp=F.defaultOptions,$p=F.options,Xp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],qp=[],Mo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t!=null&&t[r]?(0,ja.jsx)(L,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[r]?(0,ja.jsx)(io,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[r];break;default:break}}),(0,ja.jsx)(Ss,{value:"Value",style:{width:300},...o,...a})};Mo.options=$p;Mo.states=Gp;Mo.variants=qp;Mo.defaultOptions=Vp;Mo.modifiers=Xp;Mo.className=F.className;var je=require("react/jsx-runtime"),Ts="k-actionsheet-titlebar",Wp={},Fe=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:r,filter:s,input:d,inputValue:u,inputPlaceholder:f,adaptive:h,titleId:N,children:x,...p}=e;return(0,je.jsxs)("div",{...p,className:i(e.className,Ts),children:[(0,je.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,je.jsx)("div",{className:"k-actionsheet-actions",children:a}),!x&&(0,je.jsxs)("div",{className:"k-actionsheet-title",id:N,children:[t&&(0,je.jsx)("div",{className:"k-text-center",children:t}),o&&(0,je.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),x&&(0,je.jsx)("div",{className:"k-actionsheet-title",id:N,children:x}),r&&(0,je.jsx)("div",{className:"k-actionsheet-actions",children:r})]}),(d||s)&&(0,je.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?(0,je.jsx)(F,{value:u,placeholder:f,size:h?"large":"medium","aria-label":t||f||"Input"}):(0,je.jsx)(nt,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};Fe.className=Ts;Fe.defaultOptions=Wp;var Io=require("react/jsx-runtime"),tn="k-actionsheet-view",Jp=[],Yp={},Zp={},yo=e=>{let{adaptive:t,animated:o,children:a,header:r,footer:s,titleId:d,...u}=e,f=(r==null?void 0:r.type)===Fe&&(0,Io.jsx)(Fe,{adaptive:t,titleId:d,...r==null?void 0:r.props}),h=(s==null?void 0:s.type)===$t&&(0,Io.jsx)($t,{...s==null?void 0:s.props});return(0,Io.jsxs)("div",{...u,className:i(e.className,tn,{[`${tn}-animated`]:o}),children:[f,(0,Io.jsx)("div",{className:"k-actionsheet-content",children:a}),h]})};yo.states=Jp;yo.options=Yp;yo.className=tn;yo.defaultOptions=Zp;var Aa="action-sheet",er=Aa;var on="overlay",Es=on;var Os=require("react/jsx-runtime"),Cs="k-overlay",Qp=[],jp={},em={},qt=e=>{let{...t}=e;return(0,Os.jsx)("div",{...t,className:i(e.className,Cs),children:e.children})};qt.states=Qp;qt.options=jp;qt.className=Cs;qt.defaultOptions=em;qt.moduleName=on;qt.folderName=Es;var lo=require("react/jsx-runtime"),As="k-actionsheet",tm=[],om={},wa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},te=e=>{let{side:t=wa.side,fullscreen:o=wa.fullscreen,adaptive:a=wa.adaptive,overlay:r=wa.overlay,template:s,children:d,header:u,footer:f,id:h,...N}=e,x=h&&!s&&u?`${h}-title`:void 0;return(0,lo.jsxs)("div",{className:"k-actionsheet-container",children:[r&&(0,lo.jsx)(qt,{}),(0,lo.jsx)(Lt,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:(0,lo.jsx)("div",{...N,id:h,role:"dialog","aria-modal":r?"true":void 0,"aria-labelledby":x,className:i(e.className,As,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||(0,lo.jsx)(yo,{header:u,footer:f,adaptive:a,titleId:x,...e,children:d})})})]})};te.states=tm;te.options=om;te.className=As;te.defaultOptions=wa;te.moduleName=Aa;te.folderName=er;te.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};var Rs=require("react/jsx-runtime"),ws="k-actionsheet-container",am=[],rm={},nm={},To=e=>{let{children:t,...o}=e;return(0,Rs.jsx)("div",{...o,className:ws,children:t})};To.states=am;To.options=rm;To.className=ws;To.defaultOptions=nm;To.moduleName=Aa;To.folderName=er;var Bs=require("react/jsx-runtime"),an=e=>{let{...t}=e;return(0,Bs.jsx)("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};var it=require("react/jsx-runtime"),rn="k-actionsheet-item",im=[n.hover,n.focus,n.selected,n.disabled],Wt=e=>{let{iconName:t,text:o,description:a,hover:r,focus:s,selected:d,disabled:u,...f}=e;return(0,it.jsxs)("span",{...f,className:i(e.className,rn,E(rn,{hover:r,focus:s,selected:d,disabled:u})),children:[!e.children&&(0,it.jsx)(it.Fragment,{children:(0,it.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,it.jsx)("span",{className:"k-icon-wrap",children:(0,it.jsx)(L,{className:"k-actionsheet-item-icon",icon:t})}),(0,it.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,it.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,it.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Wt.states=im;Wt.className=rn;var Ps=require("react/jsx-runtime");var sm=require("react/jsx-runtime");var lm=require("react/jsx-runtime");var dm=require("react/jsx-runtime");var Z=require("react/jsx-runtime"),cm=te.options,pm=te.states,Ds={...te.defaultOptions,variant:"normal"},mm=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],um=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Eo=e=>{let{variant:t,modifiers:o,...a}={...Ds,...e},r={},s=(0,Z.jsxs)(an,{children:[(0,Z.jsx)(Wt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,Z.jsx)(Wt,{text:"Add to Favorites",iconName:"heart"}),(0,Z.jsx)(Wt,{text:"Upload New",iconName:"upload",disabled:!0}),(0,Z.jsx)("hr",{className:"k-hr"}),(0,Z.jsx)(Wt,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",u="Select Item";return t==="fullScreen"&&(r.fullScreen=!0),Object.keys(o||{}).forEach(f=>{switch(f){case"actions":r.actionsStart=!!(o!=null&&o[f]),r.actionsEnd=!!(o!=null&&o[f]);break;case"subtitle":r.subtitle=o!=null&&o[f]?d:void 0;break;case"footer":r.footer=!!(o!=null&&o[f]);break;default:break}}),t==="adaptive"?(0,Z.jsx)(te,{...a,adaptive:!0,fullscreen:r.fullScreen,header:(0,Z.jsx)(Fe,{actionsStart:r.actionsStart?(0,Z.jsx)(c,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?(0,Z.jsx)(c,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:r.subtitle}),footer:r.footer?(0,Z.jsxs)($t,{alignment:"stretched",children:[(0,Z.jsx)(c,{text:"Cancel",size:"large",themeColor:"base"}),(0,Z.jsx)(c,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):(0,Z.jsx)(te,{...a,fullscreen:r.fullScreen,header:(0,Z.jsx)(Fe,{actionsStart:r.actionsStart?(0,Z.jsx)(c,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?(0,Z.jsx)(c,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:r.subtitle}),footer:r.footer?(0,Z.jsxs)($t,{alignment:"stretched",children:[(0,Z.jsx)(c,{text:"Apply",themeColor:"primary"}),(0,Z.jsx)(c,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Eo.options=cm;Eo.states=pm;Eo.variants=mm;Eo.defaultOptions=Ds;Eo.modifiers=um;Eo.className=te.className;var nn="slider",_s=nn;var ft=require("react/jsx-runtime"),Ra="k-slider",bm=[n.hover,n.focus,n.active,n.disabled,n.readonly],fm={},st={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},W=e=>{let{type:t=st.type,orientation:o=st.orientation,gradientType:a=st.gradientType,readonly:r=st.readonly,disabled:s=st.disabled,handlePosition:d=st.handlePosition,showButtons:u=st.showButtons,showTicks:f=st.showTicks,value:h=st.value,min:N=st.min,max:x=st.max,startValue:p,endValue:g,hover:k,focus:S,active:T,trackStyle:I,dir:w,...U}=e,ie=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),xe,He;return o==="horizontal"?(xe=w==="rtl"?"chevron-left":"chevron-right",He=w==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(xe="chevron-up",He="chevron-down"),(0,ft.jsxs)("div",{...U,className:i(Ra,e.className,E(Ra,{readonly:r,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:w,children:[u&&(0,ft.jsx)(c,{className:"k-button-decrease",rounded:"full",icon:He,tabIndex:-1,title:"Decrease"}),(0,ft.jsxs)("div",{className:"k-slider-track-wrap",children:[f&&(0,ft.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,ft.jsxs)("div",{className:"k-slider-track",style:I,children:[(0,ft.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,ft.jsx)("span",{className:i("k-draghandle","k-draghandle-start",E(Ra,{hover:k,focus:S,active:T})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":p??N,"aria-valuemin":N,"aria-valuemax":g??x,"aria-orientation":ie,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":U["aria-label"]?`${U["aria-label"]} start`:"Range start"}),(0,ft.jsx)("span",{className:i("k-draghandle",`k-draghandle-${d}`,E(Ra,{hover:k,focus:S,active:T})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?g??x:h,"aria-valuemin":t==="range"?p??N:N,"aria-valuemax":x,"aria-orientation":ie,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":t==="range"?U["aria-label"]?`${U["aria-label"]} end`:"Range end":U["aria-label"]})]})]}),u&&(0,ft.jsx)(c,{className:"k-button-increase",rounded:"full",icon:xe,tabIndex:-1,title:"Increase"})]})};W.states=bm;W.options=fm;W.className=Ra;W.defaultOptions=st;W.moduleName=nn;W.folderName=_s;W.ariaSpec={selector:".k-slider",rules:[{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"role=slider",usage:"Sets the proper role for Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-label or aria-labelledby or title",usage:"The Slider needs an accessible name to be assigned to it."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the Slider is in a form and announces the invalid state."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuenow",usage:"Specifies the currently selected value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemin",usage:"Specifies the minimum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemax",usage:"Specifies the maximum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuetext (when has text alternative)",usage:"Specifies a human-readable text alternative to the numeric value. Provided by consuming applications."},{selector:".k-slider:not(.k-disabled) .k-draghandle:not(.k-hsv-draghandle)",attribute:"tabindex=0",usage:"The element must be focusable. Disabled sliders are removed from tab order."},{selector:".k-slider-vertical .k-draghandle",attribute:"aria-orientation=vertical (when vertical)",usage:"Present only when slider is vertical."},{selector:".k-slider.k-disabled .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-disabled=true",usage:"Rendered only when the Slider is disabled."},{selector:".k-slider.k-readonly .k-draghandle",attribute:"aria-readonly=true (when readonly)",usage:"Rendered only when the Slider is readonly. Readonly sliders remain focusable but their value cannot be changed."},{selector:".k-slider .k-button",attribute:"tabindex=-1",usage:"Excludes the buttons from the natural tab order. Keyboard users use arrow keys on the drag handle."},{selector:".k-slider .k-button",attribute:"title",usage:'Provides a tooltip describing the button action (e.g., "Decrease" or "Increase").'},{selector:".k-slider .k-slider-items",attribute:"aria-hidden=true",usage:"Hides the tick list from assistive technologies. Tick values are redundant with the drag handle value attributes."},{selector:".k-slider .k-tick",attribute:"role=presentation",usage:"Removes semantic meaning from individual tick elements. Ticks are visual-only markers."},{selector:".k-slider .k-tick",attribute:"title",usage:"Represents the value associated with the respective tick."}]};var sn=require("react/jsx-runtime"),zs="k-tick",hm=[],xm={},Hs={label:!1},C=e=>{let{style:t,label:o=Hs.label,orientation:a,large:r,text:s,...d}=e;return(0,sn.jsx)("li",{...d,role:"presentation",title:s||"Tick",className:i(e.className,zs,{[`k-tick-${a}`]:a,"k-tick-large":r}),style:t,children:o&&(0,sn.jsx)("span",{className:"k-label",children:s})})};C.states=hm;C.options=xm;C.className=zs;C.defaultOptions=Hs;var ge=require("react/jsx-runtime"),Fs=e=>(0,ge.jsx)(W,{"aria-label":e["aria-label"]||"Slider",children:(0,ge.jsxs)(ge.Fragment,{children:[(0,ge.jsx)(C,{className:"k-first",label:!0,large:!0,text:"0"}),(0,ge.jsx)(C,{}),(0,ge.jsx)(C,{}),(0,ge.jsx)(C,{}),(0,ge.jsx)(C,{}),(0,ge.jsx)(C,{label:!0,large:!0,text:"5"}),(0,ge.jsx)(C,{}),(0,ge.jsx)(C,{}),(0,ge.jsx)(C,{}),(0,ge.jsx)(C,{}),(0,ge.jsx)(C,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var ve=require("react/jsx-runtime"),Us=e=>(0,ve.jsx)(W,{children:(0,ve.jsxs)(ve.Fragment,{children:[(0,ve.jsx)(C,{className:"k-first",label:!0,large:!0,text:"0"}),(0,ve.jsx)(C,{}),(0,ve.jsx)(C,{}),(0,ve.jsx)(C,{}),(0,ve.jsx)(C,{}),(0,ve.jsx)(C,{label:!0,large:!0,text:"5"}),(0,ve.jsx)(C,{}),(0,ve.jsx)(C,{}),(0,ve.jsx)(C,{}),(0,ve.jsx)(C,{}),(0,ve.jsx)(C,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var ln=require("react/jsx-runtime");var dn=require("react/jsx-runtime");var Gs=require("react/jsx-runtime"),cn=e=>(0,Gs.jsx)(W,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Vs=require("react/jsx-runtime"),pn=e=>(0,Vs.jsx)(W,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var mn=require("react/jsx-runtime");var un=require("react/jsx-runtime");var We=require("react/jsx-runtime"),Nm=W.options,km=W.states,$s={...W.defaultOptions,variant:"horizontal",label:!0},gm=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],vm=[{name:"label",title:"Labels"},{name:"tick",title:"Ticks"},{name:"button",title:"Side Buttons"}],Co=e=>{let{variant:t,modifiers:o,...a}={...$s,...e},r={};Object.keys(o||{}).forEach(h=>{switch(h){case"button":{r.showButtons=!!(o!=null&&o[h]);break}case"label":{r.label=!!(o!=null&&o[h]);break}case"tick":{r.showTicks=!!(o!=null&&o[h]);break}}});let{label:s=!0,showButtons:d,showTicks:u}=r,f={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,We.jsxs)(Us,{showTicks:u,showButtons:d,style:{height:"300px",...f},...a,children:[(0,We.jsx)(C,{label:s,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,We.jsx)(C,{label:s,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,We.jsx)(C,{label:s,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,We.jsx)(C,{label:s,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,We.jsx)(C,{label:s,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,We.jsxs)(Fs,{showTicks:u,showButtons:d,style:{width:"400px",...f},...a,children:[(0,We.jsx)(C,{label:s,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,We.jsx)(C,{label:s,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,We.jsx)(C,{label:s,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,We.jsx)(C,{label:s,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,We.jsx)(C,{label:s,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Co.options=Nm;Co.states=km;Co.variants=gm;Co.defaultOptions=$s;Co.modifiers=vm;Co.className=W.className;var Ba=require("react/jsx-runtime"),Xs="k-spin-button",Mm=[],Im={size:[l.undefined,l.small,l.medium,l.large],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},bn={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Mt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:r=bn.increaseLabel,decreaseLabel:s=bn.decreaseLabel,...d}=e;return(0,Ba.jsxs)("span",{...d,className:i(Xs,e.className),children:[(0,Ba.jsx)(c,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":r}),(0,Ba.jsx)(c,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Mt.states=Mm;Mt.options=Im;Mt.className=Xs;Mt.defaultOptions=bn;Mt.moduleName=null;Mt.folderName=null;var qs="numeric-textbox",Ws="numerictextbox";var Le=require("react/jsx-runtime"),Js="k-numerictextbox",ym=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Tm={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},tr={showSpinButton:!0,showClearButton:!0,separators:!0},K=e=>{let{size:t,rounded:o,fillMode:a,separators:r=tr.separators,showClearButton:s=tr.showClearButton,showSpinButton:d=tr.showSpinButton,prefix:u,suffix:f,value:h,placeholder:N,hover:x,focus:p,valid:g,invalid:k,required:S,loading:T,disabled:I,readonly:w,id:U,"aria-label":ae,"aria-describedby":ie,...xe}=e;return(0,Le.jsxs)(G,{...xe,size:t,rounded:o,fillMode:a,hover:x,focus:p,valid:g,invalid:k,required:S,loading:T,disabled:I,readonly:w,className:i(e.className,Js),children:[u&&(0,Le.jsxs)(Le.Fragment,{children:[(0,Le.jsx)(Ee,{children:u}),r&&(0,Le.jsx)(pe,{})]}),(0,Le.jsx)(ke,{id:U,placeholder:N,value:h,role:"spinbutton",disabled:I,"aria-label":ae,"aria-describedby":ie,"aria-invalid":k?"true":void 0}),(0,Le.jsx)(se,{valid:g,invalid:k,loading:T,disabled:I}),(0,Le.jsx)(ce,{loading:T,disabled:I}),s&&(0,Le.jsx)(Ne,{loading:T,disabled:I,readonly:w,value:h}),f&&(0,Le.jsxs)(Le.Fragment,{children:[r&&(0,Le.jsx)(pe,{}),(0,Le.jsx)(Ce,{children:f})]}),d&&(0,Le.jsx)(Mt,{className:"k-input-spinner",size:t,fillMode:a,disabled:I})]})};K.states=ym;K.options=Tm;K.className=Js;K.defaultOptions=tr;K.moduleName=qs;K.folderName=Ws;K.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 Pa=K;var Zs=require("react/jsx-runtime"),Ys=e=>(0,Zs.jsx)(Pa,{...e});var ar=Ki(require("react"));var fn=require("react/jsx-runtime"),Em="k-list-group-sticky-header",hn=e=>(0,fn.jsx)("div",{className:i(Em,e.className),children:(0,fn.jsx)("div",{className:"k-list-header-text",children:e.children})});var Qs=require("react/jsx-runtime"),Cm="k-no-data",or=e=>{let{live:t,...o}=e;return(0,Qs.jsx)("span",{...o,className:i(Cm,e.className),"aria-live":t?"polite":void 0,children:e.children})};var co="list",Oo=co;var Ao=require("react/jsx-runtime"),xn="k-list",Om=[],Am={size:[l.undefined,l.small,l.medium,l.large]},wm={},z=e=>{var g;let{size:t,virtualization:o,children:a,header:r,optionLabel:s,customValue:d,noData:u,screenReaders:f,...h}=e,x=ar.default.Children.toArray(a)[0],p=(g=x==null?void 0:x.props)!=null&&g.children?ar.default.Children.count(x.props.children):ar.default.Children.count(a);return(0,Ao.jsxs)("div",{...h,className:i(e.className,xn,y(xn,{size:t}),{"k-virtual-list":o}),children:[s,d,r&&(0,Ao.jsx)(hn,{children:r}),a||(u!==void 0?u:(0,Ao.jsx)(or,{live:!0,children:"No data found."})),f&&a&&(0,Ao.jsxs)(or,{className:"k-sr-only",live:!0,children:[p," items found."]})]})};z.states=Om;z.options=Am;z.className=xn;z.defaultOptions=wm;z.moduleName=co;z.folderName=Oo;z.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var el=require("react/jsx-runtime"),js="k-list-container",Rm=[],Bm={},Pm={},wo=e=>{let{...t}=e;return(0,el.jsx)("div",{...t,className:i(e.className,js),children:e.children})};wo.states=Rm;wo.options=Bm;wo.className=js;wo.defaultOptions=Pm;wo.moduleName=co;wo.folderName=Oo;var po="checkbox",Ro=po;var Nn=require("react/jsx-runtime"),rr="k-checkbox",Km=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],Dm={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full]},_m={},et=e=>{let{id:t,checked:o,indeterminate:a,hover:r,focus:s,disabled:d,invalid:u,valid:f,required:h,size:N,rounded:x,wrapperRole:p,...g}=e;return(0,Nn.jsx)("span",{className:"k-checkbox-wrap",role:p,children:(0,Nn.jsx)("input",{...g,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:d||void 0,"aria-invalid":u?"true":void 0,className:i(e.className,rr,y(rr,{size:N,rounded:x}),E(rr,{hover:r,focus:s,disabled:d,invalid:u,valid:f,indeterminate:a,checked:o}))})})};et.states=Km;et.options=Dm;et.className=rr;et.defaultOptions=_m;et.moduleName=po;et.folderName=Ro;et.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 ht=et;var al=require("react/jsx-runtime"),tl="k-checkbox-list",zm=[],Hm={},ol={layout:"vertical"},Ue=e=>{let{layout:t=ol.layout,...o}=e;return(0,al.jsx)("ul",{...o,className:i(e.className,tl,{[`k-list-${t}`]:t}),children:e.children})};Ue.states=zm;Ue.options=Hm;Ue.className=tl;Ue.defaultOptions=ol;Ue.moduleName=po;Ue.folderName=Ro;var nl=require("react/jsx-runtime"),rl="k-checkbox-list-item",Fm=[],Um={},Gm={},Ge=e=>{let{...t}=e;return(0,nl.jsx)("li",{...t,className:i(e.className,rl),children:e.children})};Ge.states=Fm;Ge.options=Um;Ge.className=rl;Ge.defaultOptions=Gm;Ge.moduleName=po;Ge.folderName=Ro;var mo=require("react/jsx-runtime"),lt=({children:e="Label",id:t="cb-label-after",...o})=>(0,mo.jsxs)(mo.Fragment,{children:[(0,mo.jsx)(ht,{id:t,...o}),(0,mo.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var kn=require("react/jsx-runtime");var gn=require("react/jsx-runtime");var vn=require("react/jsx-runtime");var Vm=require("react/jsx-runtime");var $m=require("react/jsx-runtime");var Xm=require("react/jsx-runtime");var Ae=require("react/jsx-runtime"),qm=Ue.options,Wm=Ue.states,Jm={...Ue.defaultOptions,variant:"vertical"},Ym=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Zm=[],Bo=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,Ae.jsxs)(Ue,{layout:"horizontal",...o,children:[(0,Ae.jsx)(Ge,{children:(0,Ae.jsx)(lt,{id:R("cb"),defaultChecked:!0,children:"Label"})}),(0,Ae.jsx)(Ge,{children:(0,Ae.jsx)(lt,{id:R("cb"),children:"Label"})}),(0,Ae.jsx)(Ge,{children:(0,Ae.jsx)(lt,{id:R("cb"),children:"Label"})})]}):(0,Ae.jsxs)(Ue,{...o,children:[(0,Ae.jsx)(Ge,{children:(0,Ae.jsx)(lt,{id:R("cb"),defaultChecked:!0,children:"Label"})}),(0,Ae.jsx)(Ge,{children:(0,Ae.jsx)(lt,{id:R("cb"),children:"Label"})}),(0,Ae.jsx)(Ge,{children:(0,Ae.jsx)(lt,{id:R("cb"),children:"Label"})})]})};Bo.options=qm;Bo.states=Wm;Bo.variants=Ym;Bo.defaultOptions=Jm;Bo.modifiers=Zm;Bo.className=Ue.className;var il=require("react/jsx-runtime"),Qm=ht.options,jm=ht.states,eu=ht.defaultOptions,tu=[],ou=[],Po=e=>(0,il.jsx)(lt,{id:R("checkbox"),...e,defaultChecked:!0,children:"Label"});Po.options=Qm;Po.states=jm;Po.variants=tu;Po.defaultOptions=eu;Po.modifiers=ou;Po.className=ht.className;var It=require("react/jsx-runtime"),Ln="k-list-item",au=[n.hover,n.focus,n.selected,n.disabled],ru={},nu={},B=e=>{let{text:t,groupLabel:o,group:a,iconName:r,iconClassName:s,showCheckbox:d,checked:u,hover:f,focus:h,selected:N,disabled:x,actions:p,description:g,id:k,...S}=e,T=t||e.children;return(0,It.jsxs)("li",{...S,id:k,role:a?"presentation":"option",tabIndex:a?void 0:h?0:-1,"aria-selected":!a&&N?"true":a?void 0:"false","aria-disabled":!a&&x?"true":void 0,className:i(e.className,a?"k-list-group-item":Ln,E(Ln,{hover:f,focus:h,disabled:x,selected:N})),children:[d&&(0,It.jsx)(et,{checked:u}),r&&(0,It.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,It.jsx)(L,{icon:r,className:i("k-list-item-icon",s)})}),(0,It.jsx)("span",{className:"k-list-item-text",children:T}),p&&(0,It.jsx)("div",{className:"k-list-item-actions",children:p}),g&&(0,It.jsx)("span",{className:"k-list-item-description",children:g}),o&&o!==""&&(0,It.jsx)("div",{className:"k-list-item-group-label",children:o})]})};B.states=au;B.options=ru;B.className=Ln;B.defaultOptions=nu;B.moduleName=co;B.folderName=Oo;B.ariaSpec={selector:".k-list-item",rules:[{selector:".k-list-item",attribute:"role=option",usage:"Each list item is an option in the listbox."},{selector:".k-list-item",attribute:"id",usage:"ID for aria-activedescendant reference."},{selector:".k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state of the option."},{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-item-icon",attribute:"aria-hidden=true",usage:"Decorative icons are hidden from assistive technology."}]};var sl=require("react/jsx-runtime"),iu="k-list-ul",Rt=e=>{let{children:t,role:o,id:a,...r}=e;return(0,sl.jsx)("ul",{...r,id:a,role:o,className:i(iu,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."}]};var Ko=require("react/jsx-runtime"),su="k-list-content",V=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":r,listboxId:s,...d}=e;return(0,Ko.jsxs)("div",{...d,className:i(su,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?r:void 0,children:[o?e.children:(0,Ko.jsx)(Rt,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":r,children:e.children}),t&&(0,Ko.jsx)("div",{className:"k-height-container",children:(0,Ko.jsx)("div",{})})]})};V.ariaSpec={selector:".k-list-content",rules:[{selector:'.k-list-content[role="listbox"]',attribute:"role=listbox",usage:"For grouped lists, the list content container has the listbox role."},{selector:'.k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."}]};var Sn=require("react/jsx-runtime");var Do=require("react/jsx-runtime"),lu="k-list-group-item",uo=e=>{let{groupIconName:t,...o}=e;return(0,Do.jsxs)("li",{...o,role:"presentation",className:i(lu,e.className),children:[t&&(0,Do.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,Do.jsx)(L,{icon:t,className:"k-list-item-icon"})}),(0,Do.jsx)("span",{className:"k-list-item-text",children:e.children})]})};uo.ariaSpec={selector:".k-list-group-item",rules:[{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-group-item",attribute:"id (when referenced)",usage:"ID for aria-labelledby on the parent group UL."}]};var ll=require("react/jsx-runtime"),Mn="k-list-optionlabel",du=[n.hover,n.focus,n.selected,n.disabled],cu={},pu={},nr=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:s,...d}=e;return(0,ll.jsx)("div",{...d,className:i(Mn,E(Mn,{hover:o,focus:a,selected:r,disabled:s})),children:t})};nr.states=du;nr.options=cu;nr.className=Mn;nr.defaultOptions=pu;var dl=require("react/jsx-runtime"),In="k-list-custom-value",mu=[n.hover,n.focus,n.selected,n.disabled],uu={},bu={},Jt=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:s,...d}=e;return(0,dl.jsx)("div",{...d,className:i(In,E(In,{hover:o,focus:a,selected:r,disabled:s})),children:t})};Jt.states=mu;Jt.options=uu;Jt.className=In;Jt.defaultOptions=bu;var yn=require("react/jsx-runtime");var Tn=require("react/jsx-runtime");var En=require("react/jsx-runtime");var Cn=require("react/jsx-runtime");var fu=require("react/jsx-runtime");var On=require("react/jsx-runtime");var cl="dropdown-list",pl="dropdownlist";var Q=require("react/jsx-runtime"),ml="k-dropdownlist",hu=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],xu={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},An={showValue:!0,arrowIconName:"chevron-down"},P=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:r=An.arrowIconName,showValue:s=An.showValue,valueIconName:d,prefix:u,suffix:f,value:h,placeholder:N,hover:x,focus:p,valid:g,invalid:k,required:S,loading:T,disabled:I,readonly:w,popup:U,opened:ae,adaptive:ie,adaptiveSettings:xe,adaptiveTitle:He,adaptiveSubtitle:ro,adaptiveFilter:Mr,id:Gt,activeDescendant:Ga,"aria-label":Ir,...yr}=e,vc=Gt?`${Gt}-listbox`:void 0,Bi=Gt?`${Gt}-value`:void 0;return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(vt,{...yr,id:Gt,size:t,rounded:o,fillMode:a,hover:x,focus:p,valid:g,invalid:k,required:S,loading:T,disabled:I,readonly:w,className:i(e.className,ml,{"k-icon-picker":!s&&d}),role:"combobox","aria-haspopup":"listbox","aria-expanded":ae?"true":"false","aria-controls":ae?vc:void 0,"aria-activedescendant":ae&&Ga?Ga:void 0,"aria-describedby":ae?Bi:void 0,"aria-disabled":I?"true":void 0,"aria-label":Ir,tabIndex:0,children:[(0,Q.jsx)(Ee,{children:u}),(0,Q.jsx)(so,{placeholder:N,value:h,showValue:s,valueIconName:d,id:Bi}),(0,Q.jsx)(se,{valid:g,invalid:k,loading:T,disabled:I}),(0,Q.jsx)(ce,{loading:T,disabled:I}),(0,Q.jsx)(Ce,{children:f}),(0,Q.jsx)(c,{className:"k-input-button",icon:r,size:e.size,fillMode:e.fillMode,"aria-label":N||"Toggle dropdown",tabIndex:-1})]}),ae&&U&&(0,Q.jsx)(Y,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:U}),ie&&(0,Q.jsx)(te,{adaptive:!0,...xe,header:(0,Q.jsx)(Fe,{actionsEnd:(0,Q.jsx)(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Mr,inputValue:h,inputPlaceholder:N,title:He,subtitle:ro}),children:(0,Q.jsx)("div",{className:"k-list-container",children:(0,Q.jsx)(z,{size:"large",children:(0,Q.jsxs)(V,{"aria-label":"Options",children:[(0,Q.jsx)(B,{text:"List item"}),(0,Q.jsx)(B,{text:"List item"}),(0,Q.jsx)(B,{text:"List item"})]})})})})]})};P.states=hu;P.options=xu;P.className=ml;P.defaultOptions=An;P.moduleName=cl;P.folderName=pl;P.ariaSpec={rules:[{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"role=combobox",usage:"Announces the dropdown element."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-haspopup=listbox",usage:"Indicates the presence of a listbox popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-expanded",usage:"Announces the visibility state of the popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-label",usage:"Accessible name for the dropdown."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-dropdownlist.k-disabled",attribute:"aria-disabled=true",usage:"Rendered when the dropdown is disabled."},{selector:".k-dropdownlist .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-dropdownlist .k-input-button",attribute:"tabindex=-1",usage:"The button must not be focusable."},{selector:".k-dropdownlist-popup .k-list-content, .k-dropdownlist-popup .k-list-ul",attribute:"role=listbox",usage:"Popup list has listbox role."},{selector:'.k-dropdownlist-popup .k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby",usage:"Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."},{selector:".k-dropdownlist-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."}]};var Nu=require("react/jsx-runtime");var ul=require("react/jsx-runtime");var wn=require("react/jsx-runtime");var ku=require("react/jsx-runtime");var bl=require("react/jsx-runtime");var Rn=require("react/jsx-runtime");var gu=require("react/jsx-runtime");var Je=require("react/jsx-runtime"),vu=P.states,Lu=P.defaultOptions,Su=P.options,Mu=[{name:"opened",title:"Opened"}],Iu=[],zo=e=>{let{modifiers:t,...o}=e,a={},r=(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)("div",{className:"k-list-filter",children:(0,Je.jsx)(nt,{})}),(0,Je.jsx)(z,{style:{width:300},size:o.size,children:(0,Je.jsxs)(V,{children:[(0,Je.jsx)(B,{children:"List item"}),(0,Je.jsx)(B,{children:"List item"}),(0,Je.jsx)(B,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!(t!=null&&t[s]),a.popup=t!=null&&t[s]?r:void 0)}),(0,Je.jsx)("div",{children:(0,Je.jsx)(P,{placeholder:"Value",style:{width:300},...o,...a})})};zo.options=Su;zo.states=vu;zo.variants=Iu;zo.defaultOptions=Lu;zo.modifiers=Mu;zo.className=P.className;var fl=require("react/jsx-runtime");var hl=require("react/jsx-runtime");var yu=require("react/jsx-runtime");var ir=require("react/jsx-runtime"),Tu=K.states,Eu=K.defaultOptions,Cu=K.options,Ou=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Au=[],Ho=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t!=null&&t[r]?(0,ir.jsx)(P,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t!=null&&t[r]?(0,ir.jsx)($r,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[r];break;case"spin-button":a.showSpinButton=t==null?void 0:t[r];break;default:break}}),(0,ir.jsx)(Ys,{value:"Value",style:{width:300},...o,...a})};Ho.options=Cu;Ho.states=Tu;Ho.variants=Au;Ho.defaultOptions=Eu;Ho.modifiers=Ou;Ho.className=K.className;var M=require("react/jsx-runtime"),xl="k-colorgradient-inputs",wu=[],Ru={size:[l.undefined,l.small,l.medium,l.large]},Nl={mode:"rgba"},Fo=e=>{let{mode:t=Nl.mode,size:o,...a}=e;return(0,M.jsxs)("div",{...a,className:i(xl,"k-hstack"),children:[(0,M.jsx)("div",{className:"k-vstack",children:(0,M.jsx)(c,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,M.jsx)(M.Fragment,{children:(0,M.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,M.jsx)(F,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Fo.states=wu;Fo.options=Ru;Fo.className=xl;Fo.defaultOptions=Nl;var we=require("react/jsx-runtime"),kl="k-colorgradient-color-contrast",Bu=[],Pu={},Ku={},Uo=()=>(0,we.jsxs)("div",{className:i(kl,"k-vbox"),children:[(0,we.jsxs)("div",{className:"k-contrast-ratio",children:[(0,we.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,we.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,we.jsx)(L,{icon:"check"}),(0,we.jsx)(L,{icon:"check"})]})]}),(0,we.jsxs)("div",{children:[(0,we.jsx)("span",{children:"AA: 4.5"}),(0,we.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,we.jsx)(L,{icon:"check"})]})]}),(0,we.jsxs)("div",{children:[(0,we.jsx)("span",{children:"AAA: 7.0"}),(0,we.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,we.jsx)(L,{icon:"x"})]})]})]});Uo.states=Bu;Uo.options=Pu;Uo.className=kl;Uo.defaultOptions=Ku;var gl="color-gradient",vl="colorgradient";var le=require("react/jsx-runtime"),sr="k-colorgradient",Du=[n.hover,n.focus,n.readonly,n.disabled],_u={size:[l.undefined,l.small,l.medium,l.large]},yt={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"},ue=e=>{let{size:t,mode:o=yt.mode,readonly:a=yt.readonly,disabled:r=yt.disabled,gradientStyle:s=yt.gradientStyle,dragHandleStyle:d=yt.dragHandleStyle,alphaStyle:u=yt.alphaStyle,alphaStyleHorizontal:f=yt.alphaStyleHorizontal,contrast:h=yt.contrast,dir:N,hover:x,focus:p,hoverHandle:g,focusHandle:k,canvasOrientation:S=yt.canvasOrientation,role:T,tabIndex:I,...w}=e;return(0,le.jsxs)("div",{...w,role:T??"textbox","aria-label":T==="none"?void 0:"Color gradient",tabIndex:I??0,"aria-disabled":r?"true":void 0,className:i(e.className,sr,y(sr,{size:t}),E(sr,{hover:x,focus:p,readonly:a,disabled:r})),dir:N,children:[!S||S==="horizontal"&&(0,le.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,le.jsx)("div",{className:"k-hsv-rectangle",style:s,children:(0,le.jsx)("div",{className:"k-hsv-gradient",children:(0,le.jsx)("div",{className:i("k-hsv-draghandle","k-draghandle",{"k-hover":g,"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})})}),(0,le.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,le.jsx)(pn,{className:"k-hue-slider",hover:g,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,le.jsx)(pn,{className:"k-alpha-slider",hover:g,focus:k,trackStyle:u})]})]}),S==="vertical"&&(0,le.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,le.jsx)("div",{className:"k-hsv-rectangle",style:s,children:(0,le.jsx)("div",{className:"k-hsv-gradient",children:(0,le.jsx)("div",{className:i("k-hsv-draghandle","k-draghandle",{"k-hover":g,"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})})}),(0,le.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,le.jsx)(cn,{className:"k-hue-slider",hover:g,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,le.jsx)(cn,{className:"k-alpha-slider",hover:g,focus:k,trackStyle:f})]})]}),(0,le.jsx)(Fo,{mode:e.mode,size:t}),h&&(0,le.jsx)(Uo,{})]})};ue.states=Du;ue.options=_u;ue.className=sr;ue.defaultOptions=yt;ue.moduleName=gl;ue.folderName=vl;ue.ariaSpec={selector:".k-colorgradient",rules:[{selector:".k-colorgradient",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a value that could be submitted."},{selector:".k-colorgradient",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorgradient",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorgradient.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorGradient is disabled."},{selector:".k-hsv-draghandle",attribute:"role=slider",usage:"The 2D draghandle must have slider role for ARIA-allowed attributes."},{selector:".k-hsv-draghandle",attribute:"aria-orientation=undefined",usage:"The implicit orientation for the slider must be removed for the 2D handle."},{selector:".k-hsv-draghandle",attribute:"aria-label",usage:"Must provide information about the purpose of the slider and the currently selected color."},{selector:".k-hsv-draghandle",attribute:"aria-valuetext",usage:"Must specify the values on both X and Y axis."},{selector:".k-hsv-draghandle",attribute:"aria-valuenow",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemin",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemax",usage:"Required by the slider role."},{selector:".k-numerictextbox>.k-input-inner",attribute:"aria-label",usage:"Must provide the name of the channel (red, green, blue, or alpha)."}]};var Ll=require("react/jsx-runtime"),lr=e=>(0,Ll.jsx)(ue,{...e});var zu=require("react/jsx-runtime");var Hu=require("react/jsx-runtime");var dr=require("react/jsx-runtime"),Fu=ue.options,Uu=ue.states,Gu={...ue.defaultOptions,variant:"rgba"},Vu=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],$u=[],Go=e=>{let{variant:t,...o}=e;switch(t){case"hex":return(0,dr.jsx)(lr,{...o,mode:t});case"rgb":return(0,dr.jsx)(lr,{...o,mode:t});default:return(0,dr.jsx)(lr,{...o,mode:t})}};Go.options=Fu;Go.states=Uu;Go.variants=Vu;Go.defaultOptions=Gu;Go.modifiers=$u;Go.className=ue.className;var Sl=require("react/jsx-runtime"),Bn=e=>(0,Sl.jsx)("tr",{role:"row",children:e.children});var Ml=require("react/jsx-runtime"),Pn="k-colorpalette-tile",Xu=[n.hover,n.focus,n.selected],qu={},Vo=e=>{let{color:t,tileSize:o,hover:a,focus:r,selected:s,...d}=e,u={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,Ml.jsx)("td",{...d,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:i(e.className,Pn,E(Pn,{hover:a,focus:r,selected:s})),style:u})};Vo.states=Xu;Vo.options=qu;Vo.className=Pn;var Il="color-palette",yl="colorpalette";var $o=require("react/jsx-runtime"),cr="k-colorpalette",Wu=[n.disabled],Ju={size:[l.undefined,l.small,l.medium,l.large]},Tl={columns:10},Ve=e=>{let{size:t,palette:o,columns:a=Tl.columns,tileSize:r,disabled:s,...d}=e,u=[];if(o){let f=a||o.columns,h=o.colors?o.colors:o;Array.isArray(h)&&Array.from({length:Math.ceil(h.length/f)},(N,x)=>{let p=[];h.slice(x*f,(x+1)*f).map((k,S)=>{p.push((0,$o.jsx)(Vo,{color:k,tileSize:r},S))});let g=(0,$o.jsx)(Bn,{children:p},x);u.push(g)})}return(0,$o.jsx)("div",{...d,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:i(e.className,cr,E(cr,{disabled:s}),y(cr,{size:t})),children:(0,$o.jsx)("table",{className:"k-colorpalette-table",role:"none",children:(0,$o.jsx)("tbody",{children:u.length>0?u:e.children})})})};Ve.states=Wu;Ve.options=Ju;Ve.className=cr;Ve.defaultOptions=Tl;Ve.moduleName=Il;Ve.folderName=yl;Ve.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 pr=Ve;var Ka={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};var Cl=require("react/jsx-runtime"),El=e=>(0,Cl.jsx)(pr,{palette:Ka.basic,...e});var Yu=require("react/jsx-runtime");var Ol=require("react/jsx-runtime");var Al=require("react/jsx-runtime"),Zu=Ve.options,Qu=Ve.states,ju={...Ve.defaultOptions,variant:"basic"},eb=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],tb={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}},ob=[],Xo=e=>{let{variant:t="basic",...o}=e,a=tb[t];return(0,Al.jsx)(El,{columns:a.columns,palette:a,...o})};Xo.options=Zu;Xo.states=Qu;Xo.variants=eb;Xo.defaultOptions=ju;Xo.modifiers=ob;Xo.className=Ve.className;var wl="color-editor",Rl="coloreditor";var re=require("react/jsx-runtime"),mr="k-coloreditor",ab=[n.focus],rb={size:[l.undefined,l.small,l.medium,l.large]},Da={view:"gradient",palette:Ka.office,actionButtons:!0,canvasOrientation:"horizontal"},oe=e=>{let{size:t,view:o=Da.view,palette:a=Da.palette,color:r,currentColor:s,focus:d,focusView:u,dir:f,group:h,actionButtons:N=Da.actionButtons,canvasOrientation:x=Da.canvasOrientation,...p}=e;return(0,re.jsxs)("div",{...p,role:"textbox","aria-label":"Color editor",tabIndex:0,className:i(e.className,"k-flatcolorpicker",mr,y(mr,{size:t}),E(mr,{focus:d})),dir:f,children:[(0,re.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,re.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:h&&(0,re.jsxs)(A,{fillMode:"flat",children:[(0,re.jsx)(c,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),(0,re.jsx)(c,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),(0,re.jsx)("div",{className:"k-spacer"}),(0,re.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,re.jsx)(c,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),(0,re.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,re.jsx)(Vt,{className:"k-coloreditor-preview-color",color:r}),(0,re.jsx)(Vt,{className:"k-coloreditor-current-color",color:s})]})]})]}),(0,re.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,re.jsx)(ue,{focus:u,size:t,canvasOrientation:x,role:"none",tabIndex:-1}):(0,re.jsx)(Ve,{palette:a,size:t})}),N&&(0,re.jsxs)(St,{className:"k-coloreditor-footer",alignment:"start",children:[(0,re.jsx)(c,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,re.jsx)(c,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};oe.states=ab;oe.options=rb;oe.className=mr;oe.defaultOptions=Da;oe.moduleName=wl;oe.folderName=Rl;oe.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 qo=oe;var nb=require("react/jsx-runtime");var ib=require("react/jsx-runtime");var Pl=require("react/jsx-runtime"),Bl=e=>(0,Pl.jsx)(qo,{group:!0,currentColor:"fuchsia",...e});var Dl=require("react/jsx-runtime"),Kl=e=>(0,Dl.jsx)(qo,{view:"palette",group:!0,currentColor:"fuchsia",...e});var Kn=require("react/jsx-runtime"),sb=oe.options,lb=oe.states,db={...oe.defaultOptions,variant:"gradient"},cb=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],pb=[],Wo=e=>{let{variant:t,...o}=e;return t==="palette"?(0,Kn.jsx)(Kl,{...o,color:"white"}):(0,Kn.jsx)(Bl,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Wo.options=sb;Wo.states=lb;Wo.variants=cb;Wo.defaultOptions=db;Wo.modifiers=pb;Wo.className=oe.className;var _l="color-picker",zl="colorpicker";var de=require("react/jsx-runtime"),Hl="k-colorpicker",mb=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],ub={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Fl={arrowIconName:"chevron-down"},tt=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:r=Fl.arrowIconName,prefix:s,suffix:d,value:u,placeholder:f,hover:h,focus:N,valid:x,invalid:p,required:g,disabled:k,valueIconName:S,popup:T,opened:I,adaptive:w,adaptiveSettings:U,adaptiveTitle:ae,adaptiveSubtitle:ie,...xe}=e,He="colorpicker-popup";return(0,de.jsxs)(de.Fragment,{children:[(0,de.jsxs)(vt,{...xe,size:t,rounded:o,fillMode:a,hover:h,focus:N,valid:x,invalid:p,required:g,disabled:k,role:"combobox","aria-haspopup":"dialog","aria-expanded":I?"true":"false","aria-controls":I||w?He:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":k?"true":void 0,className:i(e.className,Hl,"k-icon-picker"),children:[(0,de.jsx)(Ee,{children:s}),(0,de.jsx)(so,{placeholder:f,value:u,showValue:!1,valueIcon:(0,de.jsx)(Vt,{className:"k-value-icon",color:u,iconName:S}),valueIconName:S}),(0,de.jsx)(Ce,{children:d}),(0,de.jsx)(c,{className:"k-input-button",icon:r,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:k})]}),I&&T&&(0,de.jsx)(Y,{id:He,className:"k-colorpicker-popup",children:T}),w&&(0,de.jsx)(te,{adaptive:!0,id:He,...U,header:(0,de.jsx)(Fe,{actionsEnd:(0,de.jsx)(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:ae,subtitle:ie}),footer:(0,de.jsxs)($t,{children:[(0,de.jsx)(c,{text:"Cancel",size:"large"}),(0,de.jsx)(c,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,de.jsx)(oe,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};tt.states=mb;tt.options=ub;tt.className=Hl;tt.defaultOptions=Fl;tt.moduleName=_l;tt.folderName=zl;tt.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 Bt=tt;var Ul=require("react/jsx-runtime"),ur=e=>(0,Ul.jsx)(Bt,{...e});var bb=require("react/jsx-runtime");var fb=require("react/jsx-runtime");var hb=require("react/jsx-runtime");var xb=require("react/jsx-runtime");var Nb=require("react/jsx-runtime");var kb=require("react/jsx-runtime");var Yt=require("react/jsx-runtime"),gb=Bt.options,vb=Bt.states,Gl={...Bt.defaultOptions,variant:"color"},Lb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Sb=[{name:"opened",title:"Opened"}],Jo=e=>{let{variant:t,modifiers:o,...a}={...Gl,...e},r={};Object.keys(o||{}).forEach(d=>{d==="opened"&&(r.opened=!!(o!=null&&o[d]),r.popup=o!=null&&o[d]?(0,Yt.jsx)(oe,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let s=r.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return(0,Yt.jsx)("div",{style:s,children:(0,Yt.jsx)(ur,{...a,...r})});case"icon":return(0,Yt.jsx)("div",{style:s,children:(0,Yt.jsx)(ur,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...r})});default:return(0,Yt.jsx)("div",{style:s,children:(0,Yt.jsx)(ur,{value:"rgba(183, 118 , 118, 1.00)",...a,...r})})}};Jo.options=gb;Jo.states=vb;Jo.variants=Lb;Jo.defaultOptions=Gl;Jo.modifiers=Sb;Jo.className=Bt.className;var Dn="combobox",Vl=Dn;var H=require("react/jsx-runtime"),$l="k-combobox",Mb=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Ib={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Xl={separators:!0},Re=e=>{let{size:t,rounded:o,fillMode:a,separators:r=Xl.separators,prefix:s,suffix:d,value:u,placeholder:f,hover:h,focus:N,valid:x,invalid:p,required:g,loading:k,disabled:S,popup:T,opened:I,readonly:w,adaptive:U,adaptiveSettings:ae,adaptiveTitle:ie,adaptiveSubtitle:xe,adaptiveCustomValue:He,id:ro,autocomplete:Mr,activeDescendant:Gt,"aria-label":Ga,...Ir}=e,yr=ro?`${ro}-listbox`:void 0;return(0,H.jsxs)(H.Fragment,{children:[(0,H.jsxs)(G,{...Ir,size:t,rounded:o,fillMode:a,hover:h,focus:N,valid:x,invalid:p,required:g,loading:k,disabled:S,readonly:w,className:i(e.className,$l),children:[s&&(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(Ee,{children:s}),r&&(0,H.jsx)(pe,{})]}),(0,H.jsx)(ke,{id:ro,placeholder:f,value:u,role:"combobox","aria-haspopup":"listbox","aria-expanded":I?"true":"false","aria-controls":I?yr:void 0,"aria-activedescendant":I&&Gt?Gt:void 0,"aria-autocomplete":Mr,"aria-invalid":p?"true":void 0,"aria-busy":k?"true":void 0,"aria-label":Ga,disabled:S,readOnly:w}),(0,H.jsx)(se,{valid:x,invalid:p,loading:k,disabled:S}),(0,H.jsx)(ce,{loading:k,disabled:S}),(0,H.jsx)(Ne,{loading:k,disabled:S,readonly:w,value:u}),d&&(0,H.jsxs)(H.Fragment,{children:[r&&(0,H.jsx)(pe,{}),(0,H.jsx)(Ce,{children:d})]}),(0,H.jsx)(c,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:S})]}),I&&T&&(0,H.jsx)(Y,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:T}),U&&(0,H.jsx)(te,{adaptive:!0,id:ro?`${ro}-adaptive`:void 0,...ae,header:(0,H.jsx)(Fe,{actionsEnd:(0,H.jsx)(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:u,inputPlaceholder:f,title:ie,subtitle:xe}),children:(0,H.jsx)("div",{className:"k-list-container",children:(0,H.jsx)(z,{customValue:He?(0,H.jsx)(Jt,{text:`Use "${u}"`}):void 0,size:"large",children:(0,H.jsxs)(V,{"aria-label":ie||"Options",children:[(0,H.jsx)(B,{text:"List item"}),(0,H.jsx)(B,{text:"List item"}),(0,H.jsx)(B,{text:"List item"})]})})})})]})};Re.states=Mb;Re.options=Ib;Re.className=$l;Re.defaultOptions=Xl;Re.moduleName=Dn;Re.folderName=Vl;Re.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 ot=Re;var Wl=require("react/jsx-runtime"),ql=e=>(0,Wl.jsx)(ot,{...e});var Jl=require("react/jsx-runtime");var Yl=require("react/jsx-runtime");var Zl=require("react/jsx-runtime");var Ql=require("react/jsx-runtime");var jl=require("react/jsx-runtime");var ed=require("react/jsx-runtime");var _n=require("react/jsx-runtime");var yb=require("react/jsx-runtime");var Tb=require("react/jsx-runtime");var td=require("react/jsx-runtime");var od=require("react/jsx-runtime");var xt=require("react/jsx-runtime"),Eb=Re.states,Cb=Re.defaultOptions,Ob=Re.options,Ab=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],wb=[],Yo=e=>{let{modifiers:t,...o}=e,a={},r=(0,xt.jsx)(z,{style:{width:300},size:o.size,children:(0,xt.jsxs)(V,{children:[(0,xt.jsx)(B,{children:"List item"}),(0,xt.jsx)(B,{children:"List item"}),(0,xt.jsx)(B,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t!=null&&t[s]?(0,xt.jsx)(L,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t!=null&&t[s]?(0,xt.jsx)(wt,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!(t!=null&&t[s]),a.popup=t!=null&&t[s]?r:void 0;break;default:break}}),(0,xt.jsx)("div",{children:(0,xt.jsx)(ql,{value:"Value",style:{width:300},...o,...a})})};Yo.options=Ob;Yo.states=Eb;Yo.variants=wb;Yo.defaultOptions=Cb;Yo.modifiers=Ab;Yo.className=Re.className;var zn="menu-button",ad=zn;var nd=require("react/jsx-runtime"),rd="k-menu-button",Rb=[n.hover,n.focus,n.active,n.selected,n.disabled],Bb={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},Hn={showArrow:!0,arrowIconName:"chevron-down"},$=e=>{let{size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:d,active:u,selected:f,disabled:h,icon:N,text:x,showArrow:p=Hn.showArrow,arrowIconName:g=Hn.arrowIconName,expanded:k,...S}=e;return(0,nd.jsx)(c,{...S,className:i(e.className,rd),text:x,size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:d,active:u,selected:f,disabled:h,icon:N,showArrow:p,arrowIconName:g,"aria-expanded":k?"true":"false",...!x&&N&&!e["aria-label"]&&{"aria-label":"Menu"},...h&&{"aria-disabled":"true"}})};$.states=Rb;$.options=Bb;$.className=rd;$.defaultOptions=Hn;$.moduleName=zn;$.folderName=ad;$.ariaSpec={selector:".k-menu-button",rules:[{selector:".k-menu-button",attribute:"role=button or nodeName=button",usage:"Omitted if the button DOM element is used."},{selector:".k-menu-button",attribute:"aria-label (when icon-only)",usage:"Required when no text is visible in the button."},{selector:".k-menu-button",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-menu-button",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-menu-button.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};var Pb=require("react/jsx-runtime");var Kb=require("react/jsx-runtime");var Db=require("react/jsx-runtime");var at="menu",dt=at;var Pt=require("react/jsx-runtime"),Fn="k-menu-item",_b=[n.hover,n.focus,n.active,n.selected,n.disabled],zb={},id={iconPosition:"before"},Be=e=>{let{hover:t,focus:o,active:a,selected:r,disabled:s,icon:d,text:u,first:f,last:h,showArrow:N,arrowIconName:x,iconPosition:p=id.iconPosition,dir:g,children:k,expanded:S,...T}=e,I=x;return I||(I=g==="rtl"?"chevron-left":"chevron-right"),(0,Pt.jsxs)("li",{...T,className:i(e.className,Fn,"k-item",E(Fn,{focus:o,disabled:s,hover:t,active:a,selected:r}),{"k-first":f,"k-last":h}),role:"menuitem",...N&&{"aria-haspopup":"menu"},...N&&{"aria-expanded":S?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,Pt.jsxs)("span",{className:i("k-link k-menu-link"),children:[d&&p==="before"&&(0,Pt.jsx)(L,{className:"k-menu-link-icon",icon:d}),(0,Pt.jsx)("span",{className:"k-menu-link-text",children:u}),d&&p==="after"&&(0,Pt.jsx)(L,{className:"k-menu-link-icon",icon:d}),N&&(0,Pt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,Pt.jsx)(L,{icon:I})})]}),k]})};Be.states=_b;Be.options=zb;Be.className=Fn;Be.defaultOptions=id;Be.moduleName=at;Be.folderName=dt;var Kt=require("react/jsx-runtime"),Un="k-menu-item",Hb=[n.hover,n.focus,n.active,n.selected,n.disabled],Fb={},Gn={dir:"ltr",iconPosition:"before"},j=e=>{let{hover:t,focus:o,active:a,selected:r,disabled:s,icon:d,text:u,first:f,last:h,showArrow:N,arrowIconName:x,iconPosition:p=Gn.iconPosition,dir:g=Gn.dir,children:k,popup:S,expanded:T,...I}=e,w=x;return w||(w=g==="rtl"?"chevron-left":"chevron-right"),(0,Kt.jsxs)("li",{...I,className:i(e.className,Un,"k-item",E(Un,{focus:o,disabled:s}),{"k-first":f,"k-last":h}),role:"menuitem",...N&&{"aria-haspopup":"menu"},...N&&{"aria-expanded":T?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,Kt.jsxs)("span",{className:i("k-link k-menu-link",E("k-menu-link",{hover:t,active:a,selected:r,disabled:s})),children:[d&&p==="before"&&(0,Kt.jsx)(L,{className:"k-menu-link-icon",icon:d}),(0,Kt.jsx)("span",{className:"k-menu-link-text",children:u}),d&&p==="after"&&(0,Kt.jsx)(L,{className:"k-menu-link-icon",icon:d}),N&&(0,Kt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,Kt.jsx)(L,{icon:w})})]}),k,S]})};j.states=Hb;j.options=Fb;j.className=Un;j.defaultOptions=Gn;j.moduleName=at;j.folderName=dt;var dd=require("react/jsx-runtime"),sd="k-menu-scroll-wrapper",Ub=[],Gb={},Vb={},bo=e=>{let{className:t,children:o,orientation:a,...r}=e;return(0,dd.jsx)("div",{...r,className:i(t,sd,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};bo.states=Ub;bo.options=Gb;bo.className=sd;bo.defaultOptions=Vb;bo.moduleName=at;bo.folderName=dt;var ld=bo;var Se=require("react/jsx-runtime"),Vn="k-menu",$b=[],Xb={},fr={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},be=e=>{let{children:t,orientation:o=fr.orientation,header:a=fr.header,scrollable:r,scrollButtonsPosition:s=fr.scrollButtonsPosition,wrapperStyles:d,dir:u,popup:f,contextMenu:h,...N}=e,x={horizontal:{prev:u!=="rtl"?"left":"right",next:u!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},p=(0,Se.jsx)("ul",{dir:u,...N,className:i(e.className,"k-reset",Vn,{[`${Vn}-${o}`]:o,"k-header":a}),role:h?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return(0,Se.jsxs)(Se.Fragment,{children:[r?(0,Se.jsxs)(ld,{orientation:o,style:d,dir:e.dir,children:[s==="start"&&(0,Se.jsxs)(Se.Fragment,{children:[(0,Se.jsx)(c,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,Se.jsx)(c,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&(0,Se.jsx)(c,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),p,s==="end"&&(0,Se.jsxs)(Se.Fragment,{children:[(0,Se.jsx)(c,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,Se.jsx)(c,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&(0,Se.jsx)(c,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):p,f]})};be.states=$b;be.options=Xb;be.className=Vn;be.defaultOptions=fr;be.moduleName=at;be.folderName=dt;be.ariaSpec={selector:".k-menu",rules:[{selector:".k-menu:not(.k-context-menu)",attribute:"role=menubar",usage:"Announces the Menu menubar role."},{selector:".k-menu.k-menu-vertical",attribute:"aria-orientation=vertical",usage:"Announces the Menu orientation when vertical."},{selector:".k-menu-item",attribute:"role=menuitem",usage:"Announces the Menu item role."},{selector:".k-menu-item",attribute:"aria-haspopup=menu (when present)",usage:"Indicates a popup menu is associated with the item."},{selector:".k-menu-item",attribute:"aria-expanded=true/false (when present)",usage:"Indicates whether the submenu is expanded."},{selector:".k-menu-item.k-disabled",attribute:"aria-disabled=true",usage:"Informs assistive technologies that a Menu item is disabled."},{selector:".k-menu-expand-arrow",attribute:"aria-hidden=true",usage:"Expand arrow elements are hidden from assistive technologies."},{selector:".k-menu-popup .k-menu-group",attribute:"role=menu",usage:"The role of the nested menu displayed in a popup."},{selector:".k-menu-scroll-button",attribute:"tabindex=-1",usage:"Scroll buttons are removed from the tab sequence."},{selector:".k-menu-scroll-button",attribute:"aria-label",usage:"Scroll buttons have an accessible label."},{selector:".k-menu-item.k-focus",attribute:"tabindex=0",usage:"The focused item has tabindex 0."},{selector:".k-menu-item",attribute:"aria-controls=ul.k-menu-group id (when present)",usage:"Points to the ID of the submenu. Only present when the item controls a submenu element."},{selector:".k-menu-popup .k-menu-group",attribute:"id",usage:"Each nested menu has a deterministic id linked to the parent aria-controls."}]};var pd=require("react/jsx-runtime"),$n="k-separator",cd={orientation:"horizontal"},Zo=e=>{let{orientation:t=cd.orientation,...o}=e;return(0,pd.jsx)("li",{...o,className:i(e.className,"k-item",$n,{[`${$n}-${t}`]:t}),role:"separator"})};Zo.className=$n;Zo.defaultOptions=cd;Zo.moduleName=at;Zo.folderName=dt;var md=require("react/jsx-runtime");var ud=require("react/jsx-runtime"),Xn="k-menu-group",qb=[],Wb={size:[l.undefined,l.small,l.medium,l.large]},Jb={},Pe=e=>{let{children:t,size:o,...a}=e;return(0,ud.jsx)("ul",{...a,className:i(e.className,Xn,y(Xn,{size:o})),role:"menu",children:t})};Pe.states=qb;Pe.options=Wb;Pe.className=Xn;Pe.defaultOptions=Jb;Pe.moduleName=at;Pe.folderName=dt;var Nt=require("react/jsx-runtime"),qn=e=>(0,Nt.jsx)(be,{children:(0,Nt.jsxs)(Nt.Fragment,{children:[(0,Nt.jsx)(Be,{first:!0,text:"Item 1"}),(0,Nt.jsx)(Be,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),(0,Nt.jsx)(Be,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),(0,Nt.jsx)(Be,{text:"Item 4"}),(0,Nt.jsx)(Be,{last:!0,text:"Item 5"})]}),...e});var Wn=require("react/jsx-runtime");var Jn=require("react/jsx-runtime");var Yn=require("react/jsx-runtime");var Zn=require("react/jsx-runtime");var Tt=require("react/jsx-runtime"),Yb=be.options,Zb=be.states,bd={...be.defaultOptions,variant:"horizontal"},Qb=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],jb=[{name:"scrollable",title:"Scrollable"},{name:"opened",title:"Opened"}],Qo=e=>{let{variant:t,modifiers:o,...a}={...bd,...e},r={};return Object.keys(o||{}).forEach(s=>{switch(s){case"scrollable":r.scrollable=!!(o!=null&&o[s]);break;case"opened":r.opened=!!(o!=null&&o[s]),r.popup=(0,Tt.jsx)(Y,{className:"k-menu-popup",children:(0,Tt.jsxs)(Pe,{children:[(0,Tt.jsx)(j,{text:"Item 1"}),(0,Tt.jsx)(j,{text:"Item 2"}),(0,Tt.jsx)(Zo,{}),(0,Tt.jsx)(j,{text:"Item 3"})]})});break}}),t==="vertical"?(0,Tt.jsx)(qn,{...a,...r,orientation:"vertical",style:{width:"200px"}}):(0,Tt.jsx)(qn,{...a,...r})};Qo.options=Yb;Qo.states=Zb;Qo.variants=Qb;Qo.defaultOptions=bd;Qo.modifiers=jb;Qo.className=be.className;var Qn=require("react/jsx-runtime");var ef=require("react/jsx-runtime");var Ke=require("react/jsx-runtime"),tf=c.states,fd={...c.defaultOptions,variant:"text"},of=c.options,af=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],rf=[{name:"opened",title:"Opened"}],jo=e=>{let{variant:t,modifiers:o,...a}={...fd,...e},r={},s=(0,Ke.jsx)(Y,{className:"k-menu-popup",children:(0,Ke.jsxs)(Pe,{size:a.size,children:[(0,Ke.jsx)(j,{first:!0,text:"Menu Item"}),(0,Ke.jsx)(j,{text:"Menu Item"}),(0,Ke.jsx)(j,{last:!0,text:"Menu Item"})]})}),d;switch(t){case"icon-only":d=(0,Ke.jsx)("div",{children:(0,Ke.jsx)($,{...a,...r,icon:"star"})});break;case"icon-and-text":d=(0,Ke.jsx)("div",{children:(0,Ke.jsx)($,{...a,...r,icon:"star",children:"Dropdown Button"})});break;default:d=(0,Ke.jsx)("div",{children:(0,Ke.jsx)($,{...a,...r,children:"Dropdown Button"})});break}return(0,Ke.jsxs)(Ke.Fragment,{children:[d,(o==null?void 0:o.opened)&&s]})};jo.options=of;jo.states=tf;jo.variants=af;jo.defaultOptions=fd;jo.modifiers=rf;jo.className=$.className;var jn="split-button",hd=jn;var Dt=require("react/jsx-runtime"),ei="k-split-button",nf=[n.hover,n.focus,n.active,n.selected,n.disabled],sf={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},xd={arrowIconName:"chevron-down"},D=e=>{let{size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:d,active:u,selected:f,disabled:h,icon:N,text:x,arrowIconName:p=xd.arrowIconName,popup:g,opened:k,popupId:S,...T}=e;return(0,Dt.jsxs)(Dt.Fragment,{children:[(0,Dt.jsxs)("div",{...T,className:i(e.className,ei,"k-button-group",y(ei,{rounded:o})),children:[(0,Dt.jsx)(c,{text:x,icon:N,size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:d,active:u,selected:f,disabled:h,...!x&&!e.children&&N&&{"aria-label":"Action"},children:e.children}),(0,Dt.jsx)(c,{className:"k-split-button-arrow",icon:p,size:t,rounded:o,fillMode:a,disabled:h,"aria-label":"Toggle dropdown","aria-expanded":k?"true":"false","aria-controls":k?S:void 0,tabIndex:-1,...h&&{"aria-disabled":"true"}})]}),k&&g&&(0,Dt.jsx)(Y,{className:"k-menu-popup",children:g})]})};D.states=nf;D.options=sf;D.className=ei;D.defaultOptions=xd;D.moduleName=jn;D.folderName=hd;D.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 ti=D;var Nd=require("react/jsx-runtime"),lf="k-toolbar-separator",fe=e=>(0,Nd.jsx)("div",{className:i(lf,e.className,"k-separator")});var _t="toolbar",Zt=_t;var O=require("react/jsx-runtime"),zt="k-toolbar",df=[n.focus],cf={size:[l.undefined,l.small,l.medium,l.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},pf={scrollButtons:"around"},X=e=>{let{size:t,fillMode:o,focus:a,resizable:r,scrollable:s,scrollButtons:d,scrollingPosition:u,section:f,...h}=e,N=[],x=(p,g)=>{let k=[];if(p.type===c&&p.props.className&&p.props.className.includes("k-toolbar-overflow-button"))k.push((0,O.jsx)(c,{...p.props,className:`${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===c)k.push((0,O.jsx)(c,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===ga)k.push((0,O.jsx)(ga,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===wt)k.push((0,O.jsx)(wt,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===$)k.push((0,O.jsx)($,{...p.props,className:`k-toolbar-menu-button ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===ti)k.push((0,O.jsx)(ti,{...p.props,className:`k-toolbar-split-button ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===A||p.props.className&&p.props.className.includes("k-button-group")){let S=[];(Array.isArray(p.props.children)?p.props.children:[p.props.children]).forEach((I,w)=>{S.push((0,O.jsx)(c,{...I.props,className:`${I.props.className?I.props.className:""}`},`${w}-${new Date().getTime()}`))}),k.push((0,O.jsx)(A,{...p.props,className:`k-toolbar-button-group ${p.props.className?p.props.className:""}`,children:S},`${g}-${new Date().getTime()}`))}else p.type===Re?k.push((0,O.jsx)(Re,{...p.props,className:`k-toolbar-combobox ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`)):p.type===P?k.push((0,O.jsx)(P,{...p.props,className:`k-toolbar-dropdownlist ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`)):p.type===tt?k.push((0,O.jsx)(tt,{...p.props,className:`k-toolbar-colorpicker ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`)):k.push(p);k.forEach(S=>{N.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((g,k)=>{x(g,k)}),(0,O.jsxs)("div",{...h,className:i(e.className,zt,y(zt,{size:t,fillMode:o}),E(zt,{focus:a}),{[`${zt}-resizable`]:r,[`${zt}-scrollable`]:s,[`${zt}-scrollable-overlay`]:s&&d==="hidden",[`${zt}-scrollable-${u}`]:u&&u!=="both",[`${zt}-section`]:f}),role:"toolbar","aria-label":"Toolbar",children:[!s&&N,s&&d==="hidden"&&(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),s&&d==="start"&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(A,{children:[(0,O.jsx)("span",{className:i("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(L,{className:"k-button-icon",icon:"chevron-left"})}),(0,O.jsx)("span",{className:i("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(L,{className:"k-button-icon",icon:"chevron-right"})})]}),(0,O.jsx)(fe,{className:"k-toolbar-button-separator"}),(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N})]}),s&&d==="end"&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),(0,O.jsx)(fe,{className:"k-toolbar-button-separator"}),(0,O.jsxs)(A,{children:[(0,O.jsx)("span",{className:i("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(L,{className:"k-button-icon",icon:"chevron-left"})}),(0,O.jsx)("span",{className:i("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(L,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(d==="around"||!d)&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("span",{className:i("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(L,{className:"k-button-icon",icon:"chevron-left"})}),(0,O.jsx)(fe,{className:"k-toolbar-button-separator"}),(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),(0,O.jsx)(fe,{className:"k-toolbar-button-separator"}),(0,O.jsx)("span",{className:i("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(L,{className:"k-button-icon",icon:"chevron-right"})})]})]})};X.states=df;X.options=cf;X.className=zt;X.defaultOptions=pf;X.moduleName=_t;X.folderName=Zt;X.ariaSpec={selector:".k-toolbar",rules:[{selector:".k-toolbar",attribute:"role=toolbar",usage:"The component role."},{selector:".k-toolbar",attribute:"aria-label or aria-labelledby",usage:"Must be supplied when multiple toolbars exist."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-haspopup=menu",usage:"The overflow button opens a menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-expanded=true/false",usage:"Announces popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-controls=.k-toolbar-popup .k-menu-group id (when present)",usage:"Indicates the connection between the toggle button and the menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:".k-toolbar-popup .k-menu-group",attribute:"role=menu",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-menu-group",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the menu toggle button."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-expanded=true/false",usage:"Announces section popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-controls=.k-toolbar-popup .k-toolbar-items-list id (when present)",usage:"Indicates the connection between the toggle button and the section popup."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"role=toolbar",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the section toggle button."}]};var gd=require("react/jsx-runtime"),kd="k-floating-toolbar",mf=[],uf={},bf={},ea=e=>{let{...t}=e;return(0,gd.jsx)("div",{...t,className:i(e.className,kd),children:e.children})};ea.states=mf;ea.options=uf;ea.className=kd;ea.defaultOptions=bf;ea.moduleName=_t;ea.folderName=Zt;var vd=require("react/jsx-runtime"),oi="k-toolbar-item",ff=[n.focus],hf={},xf={},kt=e=>{let{focus:t,...o}=e;return(0,vd.jsx)("div",{...o,className:i(e.className,oi,E(oi,{focus:t})),children:e.children})};kt.states=ff;kt.options=hf;kt.className=oi;kt.defaultOptions=xf;kt.moduleName=_t;kt.folderName=Zt;var ai=require("react/jsx-runtime"),Ld="k-toolbar-popup",Nf=[],kf={size:[l.undefined,l.small,l.medium,l.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},gf={},fo=e=>{let{size:t,fillMode:o,section:a,...r}=e;return(0,ai.jsx)(Y,{...r,className:i(e.className,Ld),children:a?(0,ai.jsx)("span",{className:i("k-toolbar-items-list",y("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};fo.states=Nf;fo.options=kf;fo.className=Ld;fo.defaultOptions=gf;fo.moduleName=_t;fo.folderName=Zt;var hr=fo;var vf=require("react/jsx-runtime");var Lf=require("react/jsx-runtime");var Sf=require("react/jsx-runtime");var Sd=require("react/jsx-runtime");var Mf=require("react/jsx-runtime");var ct=require("react/jsx-runtime"),If=D.states,Md={...D.defaultOptions,variant:"text"},yf=D.options,Tf=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ef=[{name:"opened",title:"Opened"}],ta=e=>{let{variant:t,modifiers:o,...a}={...Md,...e},r={},s=(0,ct.jsxs)(Pe,{size:a.size,children:[(0,ct.jsx)(j,{first:!0,text:"Menu Item"}),(0,ct.jsx)(j,{text:"Menu Item"}),(0,ct.jsx)(j,{last:!0,text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(d=>{d==="opened"&&(r.opened=!!(o!=null&&o[d]),r.popup=o!=null&&o[d]?s:"")}),t){case"icon-only":return(0,ct.jsx)("div",{children:(0,ct.jsx)(D,{...a,...r,icon:"star"})});case"icon-and-text":return(0,ct.jsx)("div",{children:(0,ct.jsx)(D,{...a,...r,icon:"star",children:"Split Button"})});default:return(0,ct.jsx)("div",{children:(0,ct.jsx)(D,{...a,...r,children:"Split Button"})})}};ta.options=yf;ta.states=If;ta.variants=Tf;ta.defaultOptions=Md;ta.modifiers=Ef;ta.className=D.className;var Et=require("react/jsx-runtime"),Id=e=>(0,Et.jsx)(X,{children:[(0,Et.jsx)(c,{children:"Button"},"toolbar-button"),(0,Et.jsx)($,{text:"Menu button"},"toolbar-menu-button"),(0,Et.jsx)(D,{children:"Split button"},"toolbar-split-button"),(0,Et.jsxs)(A,{children:[(0,Et.jsx)(c,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Et.jsx)(c,{icon:"align-center",children:"Center"}),(0,Et.jsx)(c,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var yd=require("react/jsx-runtime");var Me=require("react/jsx-runtime"),Td=e=>(0,Me.jsx)(X,{scrollable:!0,...e,children:[(0,Me.jsx)(c,{children:"Button"},"toolbar-button"),(0,Me.jsx)($,{text:"Menu button"},"toolbar-menu-button"),(0,Me.jsx)(D,{children:"Split button"},"toolbar-split-button"),(0,Me.jsxs)(A,{children:[(0,Me.jsx)(c,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Me.jsx)(c,{icon:"align-center",children:"Center"}),(0,Me.jsx)(c,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,Me.jsx)(c,{children:"Button"},"toolbar-button"),(0,Me.jsx)($,{text:"Menu button"},"toolbar-menu-button"),(0,Me.jsx)(D,{children:"Split button"},"toolbar-split-button"),(0,Me.jsxs)(A,{children:[(0,Me.jsx)(c,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Me.jsx)(c,{icon:"align-center",children:"Center"}),(0,Me.jsx)(c,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var Ie=require("react/jsx-runtime"),Ed=({scrollingPosition:e="start",...t})=>(0,Ie.jsx)(X,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[(0,Ie.jsx)(c,{children:"Button"},"toolbar-button"),(0,Ie.jsx)($,{text:"Menu button"},"toolbar-menu-button"),(0,Ie.jsx)(D,{children:"Split button"},"toolbar-split-button"),(0,Ie.jsxs)(A,{children:[(0,Ie.jsx)(c,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Ie.jsx)(c,{icon:"align-center",children:"Center"}),(0,Ie.jsx)(c,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,Ie.jsx)(c,{children:"Button"},"toolbar-button"),(0,Ie.jsx)($,{text:"Menu button"},"toolbar-menu-button"),(0,Ie.jsx)(D,{children:"Split button"},"toolbar-split-button"),(0,Ie.jsxs)(A,{children:[(0,Ie.jsx)(c,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Ie.jsx)(c,{icon:"align-center",children:"Center"}),(0,Ie.jsx)(c,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});var ee=require("react/jsx-runtime"),Cd=({fillMode:e,size:t,...o})=>(0,ee.jsxs)(ee.Fragment,{children:[(0,ee.jsx)(X,{section:!0,fillMode:e,size:t,children:[(0,ee.jsx)(c,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,ee.jsxs)(A,{fillMode:e,children:[(0,ee.jsx)(c,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,ee.jsx)(c,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,ee.jsx)(c,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),(0,ee.jsx)(fe,{className:"k-toolbar-button-separator"}),(0,ee.jsx)(c,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),(0,ee.jsxs)(hr,{size:t,fillMode:e,section:!0,...o,children:[(0,ee.jsx)(D,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),(0,ee.jsx)(c,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,ee.jsx)(fe,{}),(0,ee.jsx)($,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),(0,ee.jsxs)(A,{fillMode:e,children:[(0,ee.jsx)(c,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,ee.jsx)(c,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,ee.jsx)(c,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});var ri=require("react/jsx-runtime");var ni=require("react/jsx-runtime");var Ht=require("react/jsx-runtime"),Cf=X.options,Of=X.states,Od={...X.defaultOptions,variant:"default"},Af=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],wf=[],oa=e=>{let{variant:t,...o}={...Od,...e};switch(t){case"responsive":return(0,Ht.jsx)("div",{children:(0,Ht.jsx)(Cd,{style:{width:"583px"},...o})});case"overlay":return(0,Ht.jsx)("div",{children:(0,Ht.jsx)(Ed,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return(0,Ht.jsx)("div",{children:(0,Ht.jsx)(Td,{style:{width:"583px"},...o})});default:return(0,Ht.jsx)("div",{children:(0,Ht.jsx)(Id,{style:{width:"583px"},...o})})}};oa.options=Cf;oa.states=Of;oa.variants=Af;oa.defaultOptions=Od;oa.modifiers=wf;oa.className=X.className;var Ye=require("react/jsx-runtime"),Ad="k-imageeditor-toolbar",Rf=[],Bf={},Pf=[(0,Ye.jsx)(c,{icon:"upload","aria-label":"Upload"},"toolbar-button-1"),(0,Ye.jsx)(c,{disabled:!0,icon:"download","aria-label":"Download"},"toolbar-button-2"),(0,Ye.jsx)(fe,{},"toolbar-separator-1"),(0,Ye.jsx)(c,{disabled:!0,icon:"undo","aria-label":"Undo"},"toolbar-button-3"),(0,Ye.jsx)(c,{disabled:!0,icon:"redo","aria-label":"Redo"},"toolbar-button-4"),(0,Ye.jsx)(fe,{},"toolbar-separator-2"),(0,Ye.jsx)(c,{disabled:!0,icon:"crop","aria-label":"Crop"},"toolbar-button-5"),(0,Ye.jsx)(c,{disabled:!0,icon:"image-resize","aria-label":"Resize"},"toolbar-button-6"),(0,Ye.jsx)(c,{disabled:!0,icon:"zoom-in","aria-label":"Zoom in"},"toolbar-button-7"),(0,Ye.jsx)(c,{disabled:!0,icon:"zoom-out","aria-label":"Zoom out"},"toolbar-button-8"),(0,Ye.jsx)(kt,{children:(0,Ye.jsx)(P,{disabled:!0,value:"Zoom options","aria-label":"Zoom options"})},"toolbar-item-1")],wd={toolbarItems:Pf},aa=e=>{let{toolbarItems:t=wd.toolbarItems,...o}=e;return(0,Ye.jsx)(X,{...o,className:i(e.className,Ad),children:t})};aa.states=Rf;aa.options=Bf;aa.className=Ad;aa.defaultOptions=wd;var Rd="image-editor",Bd="imageeditor";var Ft=require("react/jsx-runtime"),Pd="k-imageeditor",Kf=[],Df={},_f={},gt=e=>{let{toolbarItems:t,actionPane:o,contentHeight:a,children:r,...s}=e;return(0,Ft.jsxs)("div",{...s,className:i(e.className,Pd),children:[(0,Ft.jsx)("div",{className:"k-imageeditor-header",children:(0,Ft.jsx)(aa,{toolbarItems:t})}),(0,Ft.jsxs)("div",{className:"k-imageeditor-content",style:{height:a},children:[(0,Ft.jsx)("div",{className:"k-imageeditor-canvas-container",children:(0,Ft.jsx)("div",{className:"k-imageeditor-canvas",children:r})}),o&&(0,Ft.jsx)("div",{className:"k-imageeditor-action-pane",children:o})]})]})};gt.states=Kf;gt.options=Df;gt.className=Pd;gt.defaultOptions=_f;gt.moduleName=Rd;gt.folderName=Bd;gt.ariaSpec={selector:".k-imageeditor",rules:[{selector:".k-imageeditor-canvas>canvas",attribute:"role=img",usage:"Indicates the canvas role as an image. Applicable when an image is loaded."},{selector:".k-imageeditor-canvas>canvas",attribute:"aria-label or aria-labelledby",usage:"Provides an accessible name for the canvas by describing the image content. Applicable when an image is loaded."}]};var zf=require("react/jsx-runtime");var Kd="form",Dd="forms";var Ct=require("react/jsx-runtime"),xr="k-form",Hf=[],Ff={size:[l.undefined,l.small,l.medium,l.large]},ii={layout:"basic",tag:"form"},he=e=>{let{size:t,orientation:o,layout:a=ii.layout,formButtons:r,cols:s,gutters:d,tag:u=ii.tag,children:f}=e,h=u,N=i(e.className,xr,y(xr,{size:t}),{[`${xr}-${o}`]:o}),x=(0,Ct.jsxs)(Ct.Fragment,{children:[a==="grid"?(0,Ct.jsx)("div",{className:i("k-form-layout","k-d-grid",{[`k-grid-cols-${s}`]:s}),style:{...typeof d=="string"&&{gap:d},...typeof d=="object"&&d.rows&&{rowGap:d.rows},...typeof d=="object"&&d.cols&&{columnGap:d.cols}},children:f}):(0,Ct.jsx)(Ct.Fragment,{children:f}),r&&(0,Ct.jsx)("div",{className:"k-form-buttons",children:r})]}),{role:p,"aria-labelledby":g,"aria-label":k,id:S}=e;return(0,Ct.jsx)(h,{className:N,role:p,"aria-labelledby":g,"aria-label":k,id:S,children:x})};he.states=Hf;he.options=Ff;he.className=xr;he.defaultOptions=ii;he.moduleName=Kd;he.folderName=Dd;var _d="label",zd="label";var _a=require("react/jsx-runtime"),si="k-label",Uf=[n.disabled],Gf={},Vf={},Qt=e=>{let{disabled:t,optional:o,info:a,text:r,children:s,...d}=e;return(0,_a.jsxs)("label",{...d,className:i(e.className,si,E(si,{disabled:t})),children:[r||s,o&&(0,_a.jsx)("span",{className:"k-label-optional",children:"(Optional)"}),a&&(0,_a.jsx)("span",{className:"k-field-info",children:a})]})};Qt.states=Uf;Qt.options=Gf;Qt.className=si;Qt.defaultOptions=Vf;Qt.moduleName=_d;Qt.folderName=zd;var Fd=require("react/jsx-runtime"),Hd="k-form-hint",$f=[],Xf={},qf={},pt=e=>{let{text:t,children:o,...a}=e;return(0,Fd.jsx)("div",{...a,className:i(e.className,Hd),children:t||o})};pt.states=$f;pt.options=Xf;pt.className=Hd;pt.defaultOptions=qf;var Gd=require("react/jsx-runtime"),Ud="k-form-error",Wf=[],Jf={},Yf={},mt=e=>{let{text:t,children:o,...a}=e;return(0,Gd.jsx)("div",{...a,className:i(e.className,Ud),children:t||o})};mt.states=Wf;mt.options=Jf;mt.className=Ud;mt.defaultOptions=Yf;var jt=require("react/jsx-runtime"),li="k-form-field",Zf=[n.disabled],ne=e=>{let{editorId:t,label:o,orientation:a,optional:r,editor:s,hint:d,error:u,info:f,disabled:h,dir:N,colSpan:x,...p}=e;return(0,jt.jsxs)("div",{...p,className:i(li,e.className,E(li,{disabled:h}),{[`k-col-span-${x}`]:x}),dir:N,children:[o&&(0,jt.jsx)(Qt,{className:"k-form-label",id:t?`${t}-label`:void 0,htmlFor:t||void 0,optional:r,info:f?"(field info)":void 0,children:o}),a==="horizontal"&&!o&&(0,jt.jsx)("span",{className:"k-label k-form-label k-label-empty"}),(0,jt.jsxs)("div",{className:"k-form-field-wrap",children:[s,d&&(0,jt.jsx)(pt,{id:t?`${t}-hint`:void 0,children:d}),u&&(0,jt.jsx)(mt,{id:t?`${t}-error`:void 0,children:u})]})]})};ne.states=Zf;ne.className=li;var eo=require("react/jsx-runtime"),Vd="k-form-fieldset",Ot=e=>{let{legend:t,layout:o,cols:a,gutters:r,colSpan:s}=e;return(0,eo.jsxs)("fieldset",{className:i(Vd,{[`k-col-span-${s}`]:s}),children:[t&&(0,eo.jsx)("legend",{className:"k-form-legend",children:t}),o==="grid"?(0,eo.jsx)("div",{className:i("k-form-layout","k-d-grid",{[`k-grid-cols-${a}`]:a}),style:{...typeof r=="string"&&{gap:r},...typeof r=="object"&&r.rows&&{rowGap:r.rows},...typeof r=="object"&&r.cols&&{columnGap:r.cols}},children:e.children}):(0,eo.jsx)(eo.Fragment,{children:e.children})]})};Ot.className=Vd;var ho="radio",ra=ho;var di=require("react/jsx-runtime"),Nr="k-radio",Qf=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked],jf={size:[l.undefined,l.small,l.medium,l.large]},eh={},ye=e=>{let{id:t,checked:o,hover:a,focus:r,disabled:s,invalid:d,valid:u,required:f,size:h,...N}=e;return(0,di.jsx)("span",{className:"k-radio-wrap",children:(0,di.jsx)("input",{...N,id:t,type:"radio",checked:o,required:f,disabled:s||void 0,"aria-invalid":d?"true":void 0,className:i(e.className,Nr,y(Nr,{size:h}),E(Nr,{hover:a,focus:r,disabled:s,invalid:d,valid:u,checked:o}))})})};ye.states=Qf;ye.options=jf;ye.className=Nr;ye.defaultOptions=eh;ye.moduleName=ho;ye.folderName=ra;ye.ariaSpec={selector:".k-radio",rules:[{selector:".k-radio",attribute:"type=radio",usage:"Announces the radio type of the input."},{selector:".k-radio",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-radio",attribute:"checked (when checked)",usage:"Boolean attribute that announces the checked state of the radio button."},{selector:".k-radio",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the radio."},{selector:".k-radio",attribute:"disabled=disabled or aria-disabled=true (when disabled)",usage:"Rendered only when the radio input is disabled."},{selector:".k-invalid, .ng-invalid",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the radio button is in a form and announces the invalid state."}]};var ut=ye;var qd=require("react/jsx-runtime"),$d="k-radio-list",th=[],oh={},Xd={layout:"vertical"},Te=e=>{let{layout:t=Xd.layout,...o}=e;return(0,qd.jsx)("ul",{...o,className:i(e.className,$d,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};Te.states=th;Te.options=oh;Te.className=$d;Te.defaultOptions=Xd;Te.moduleName=ho;Te.folderName=ra;Te.ariaSpec={selector:".k-radio-list",rules:[{selector:".k-radio-list",attribute:"role=radiogroup",usage:"Announces the radiogroup role of the element."},{selector:".k-radio-list-item",attribute:"role=none",usage:"Due to issues with nested items, forces a no-role state."},{selector:".k-radio",attribute:"readonly or aria-readonly (when readonly)",usage:"The attribute is rendered only when the radio button is read-only."},{selector:".k-radio",attribute:"aria-invalid=true (when invalid)",usage:"The attribute is rendered only when the radio button is in a form and announces the invalid state of the component."},{selector:".k-radio-list-item.k-disabled .k-radio",attribute:"disabled or aria-disabled (when disabled)",usage:"The attribute is rendered only when the radio button is disabled."}]};var Jd=require("react/jsx-runtime"),Wd="k-radio-list-item",ah=[],rh={},nh={},De=e=>{let{...t}=e;return(0,Jd.jsx)("li",{...t,className:i(e.className,Wd),role:"none",children:e.children})};De.states=ah;De.options=rh;De.className=Wd;De.defaultOptions=nh;De.moduleName=ho;De.folderName=ra;var ih=require("react/jsx-runtime");var xo=require("react/jsx-runtime"),Ut=({children:e,id:t,...o})=>(0,xo.jsxs)(xo.Fragment,{children:[(0,xo.jsx)(ut,{...o,id:t}),(0,xo.jsx)("label",{className:"k-radio-label",htmlFor:t,children:e})]});var ci=require("react/jsx-runtime");var pi=require("react/jsx-runtime");var mi=require("react/jsx-runtime");var ui=require("react/jsx-runtime");var bi=require("react/jsx-runtime");var lh=require("react/jsx-runtime");var Yd=require("react/jsx-runtime"),dh=ut.options,ch=ut.states,ph=ut.defaultOptions,mh=[],uh=[],na=e=>(0,Yd.jsx)(Ut,{id:R("radio"),name:"value",...e,children:"Label"});na.options=dh;na.states=ch;na.variants=mh;na.defaultOptions=ph;na.modifiers=uh;na.className=ut.className;var _e=require("react/jsx-runtime"),bh=Te.options,fh=Te.states,hh={...Te.defaultOptions,variant:"vertical"},xh=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Nh=[],ia=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,_e.jsxs)(Te,{layout:"horizontal",...o,children:[(0,_e.jsx)(De,{children:(0,_e.jsx)(Ut,{id:R("rb"),name:"value",defaultChecked:!0,children:"Label"})}),(0,_e.jsx)(De,{children:(0,_e.jsx)(Ut,{id:R("rb"),name:"value",children:"Label"})}),(0,_e.jsx)(De,{children:(0,_e.jsx)(Ut,{id:R("rb"),name:"value",children:"Label"})})]}):(0,_e.jsxs)(Te,{...o,children:[(0,_e.jsx)(De,{children:(0,_e.jsx)(Ut,{id:R("rb"),name:"value",defaultChecked:!0,children:"Label"})}),(0,_e.jsx)(De,{children:(0,_e.jsx)(Ut,{id:R("rb"),name:"value",children:"Label"})}),(0,_e.jsx)(De,{children:(0,_e.jsx)(Ut,{id:R("rb"),name:"value",children:"Label"})})]})};ia.options=bh;ia.states=fh;ia.variants=xh;ia.defaultOptions=hh;ia.modifiers=Nh;ia.className=Te.className;var J=require("react/jsx-runtime"),fi=e=>{let{size:t,children:o,...a}=e;return(0,J.jsx)(he,{formButtons:(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(c,{className:"k-form-submit",themeColor:"primary",size:t,children:"Submit"}),(0,J.jsx)(c,{className:"k-form-clear",size:t,children:"Clear"})]}),size:t,...a,children:o||(0,J.jsxs)(Ot,{legend:"Form Legend",children:[(0,J.jsx)(ne,{label:"Label",editor:(0,J.jsx)(F,{size:t})}),(0,J.jsx)(ne,{label:"Label",hint:"Hint text",editor:(0,J.jsx)(P,{value:"Dropdown List",size:t,"aria-label":"Label"})}),(0,J.jsx)(ne,{label:"City",editor:(0,J.jsxs)("ul",{className:"k-radio-list k-list-horizontal",children:[(0,J.jsxs)("li",{className:"k-radio-list-item",children:[(0,J.jsx)(ye,{defaultChecked:!0,size:t}),(0,J.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,J.jsxs)("li",{className:"k-radio-list-item",children:[(0,J.jsx)(ye,{size:t}),(0,J.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,J.jsxs)("li",{className:"k-radio-list-item",children:[(0,J.jsx)(ye,{size:t}),(0,J.jsx)("label",{className:"k-radio-label",children:"Label"})]})]})})]})})};var hi=require("react/jsx-runtime");var xi=require("react/jsx-runtime");var Zd="date-input",Qd="dateinput";var to=require("react/jsx-runtime"),jd="k-dateinput",kh=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],gh={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},vh={},Ze=e=>{let{size:t,rounded:o,fillMode:a,value:r,placeholder:s,hover:d,focus:u,valid:f,invalid:h,required:N,loading:x,disabled:p,readonly:g,showClearButton:k,showSpinButton:S,id:T,"aria-label":I,"aria-describedby":w,...U}=e;return(0,to.jsxs)(G,{...U,size:t,rounded:o,fillMode:a,hover:d,focus:u,valid:f,invalid:h,required:N,loading:x,disabled:p,readonly:g,className:i(e.className,jd),children:[(0,to.jsx)(ke,{id:T,placeholder:s,value:r,disabled:p,"aria-label":I,"aria-describedby":w,"aria-invalid":h?"true":void 0}),(0,to.jsx)(se,{valid:f,invalid:h,loading:x,disabled:p}),(0,to.jsx)(ce,{loading:x,disabled:p}),k&&(0,to.jsx)(Ne,{loading:x,disabled:p,readonly:g,value:r}),S&&(0,to.jsx)(Mt,{className:"k-input-spinner",size:t,fillMode:a,disabled:p})]})};Ze.states=kh;Ze.options=gh;Ze.className=jd;Ze.defaultOptions=vh;Ze.moduleName=Zd;Ze.folderName=Qd;Ze.ariaSpec={selector:".k-dateinput",rules:[{selector:".k-dateinput > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:'The element should be an input or have role="textbox".'},{selector:".k-dateinput > .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-dateinput > .k-input-inner",attribute:"tabindex=0",usage:"The element should be focusable."},{selector:".k-dateinput > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the DateInput is in an invalid state."},{selector:".k-dateinput > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message."},{selector:".k-dateinput > .k-input-inner",attribute:"readonly=readonly or aria-readonly=true (when readonly)",usage:"Rendered when the DateInput is readonly."},{selector:".k-dateinput.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the DateInput is disabled."}]};var Ni=Ze;var tc=require("react/jsx-runtime"),ec=e=>(0,tc.jsx)(Ni,{...e});var Lh=require("react/jsx-runtime");var oc=require("react/jsx-runtime"),Sh=Ze.options,Mh=Ze.states,Ih=Ze.defaultOptions,yh=[{name:"spin-button",title:"`Spin` Button"}],Th=[],sa=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{r==="spin-button"&&(a.showSpinButton=!!(t!=null&&t[r]))}),(0,oc.jsx)(ec,{value:"2/04/2021",style:{width:"300px"},...o,...a})};sa.options=Sh;sa.states=Mh;sa.variants=Th;sa.defaultOptions=Ih;sa.modifiers=yh;sa.className=Ze.className;var ac="masked-textbox",rc="maskedtextbox";var ze=require("react/jsx-runtime"),nc="k-maskedtextbox",Eh=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Ch={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},ki={showClearButton:!0,separators:!0},Qe=e=>{let{size:t,rounded:o,fillMode:a,separators:r=ki.separators,showClearButton:s=ki.showClearButton,prefix:d,suffix:u,value:f,placeholder:h,hover:N,focus:x,valid:p,invalid:g,required:k,loading:S,disabled:T,readonly:I,id:w,"aria-label":U,"aria-describedby":ae,...ie}=e;return(0,ze.jsxs)(G,{...ie,size:t,rounded:o,fillMode:a,hover:N,focus:x,valid:p,invalid:g,required:k,loading:S,disabled:T,readonly:I,className:i(e.className,nc),children:[d&&(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsx)(Ee,{children:d}),r&&(0,ze.jsx)(pe,{})]}),(0,ze.jsx)(ke,{id:w,placeholder:h,value:f,disabled:T,"aria-label":U,"aria-describedby":ae,"aria-invalid":g?"true":void 0}),(0,ze.jsx)(se,{valid:p,invalid:g,loading:S,disabled:T}),(0,ze.jsx)(ce,{loading:S,disabled:T}),s&&(0,ze.jsx)(Ne,{loading:S,disabled:T,readonly:I,value:f}),u&&(0,ze.jsxs)(ze.Fragment,{children:[r&&(0,ze.jsx)(pe,{}),(0,ze.jsx)(Ce,{children:u})]})]})};Qe.states=Eh;Qe.options=Ch;Qe.className=nc;Qe.defaultOptions=ki;Qe.moduleName=ac;Qe.folderName=rc;Qe.ariaSpec={selector:".k-maskedtextbox",rules:[{selector:".k-maskedtextbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-maskedtextbox > .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-maskedtextbox > .k-input-inner",attribute:"aria-placeholder (when has mask)",usage:"Announces the mask or placeholder for the component."},{selector:".k-maskedtextbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the MaskedTextBox is in an invalid state."},{selector:".k-maskedtextbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message."},{selector:".k-maskedtextbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the MaskedTextBox is disabled."}]};var la=Qe;var sc=require("react/jsx-runtime"),ic=e=>(0,sc.jsx)(la,{...e});var lc=require("react/jsx-runtime");var dc=require("react/jsx-runtime");var Oh=require("react/jsx-runtime");var Ah=require("react/jsx-runtime");var kr=require("react/jsx-runtime"),wh=Qe.states,Rh=Qe.defaultOptions,Bh=Qe.options,Ph=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Kh=[],da=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t!=null&&t[r]?(0,kr.jsx)(P,{size:o.size,value:"Choose",fillMode:"flat"}):void 0;break;case"suffix":a.suffix=t!=null&&t[r]?(0,kr.jsx)(L,{icon:"lock"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[r];break;default:break}}),(0,kr.jsx)(ic,{value:"Value",style:{width:300},...o,...a})};da.options=Bh;da.states=wh;da.variants=Kh;da.defaultOptions=Rh;da.modifiers=Ph;da.className=Qe.className;var gi="switch",cc=gi;var ao=require("react/jsx-runtime"),oo="k-switch",Dh=[n.hover,n.focus,n.disabled,n.readonly,n.checked],_h={size:[l.undefined,l.small,l.medium,l.large],trackRounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],thumbRounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full]},zh={},$e=e=>{let{checked:t,onLabel:o,offLabel:a,size:r,trackRounded:s,thumbRounded:d,hover:u,focus:f,disabled:h,readonly:N,...x}=e;return(0,ao.jsxs)("span",{...x,className:i(e.className,oo,y(oo,{size:r}),E(oo,{hover:u,focus:f,disabled:h,readonly:N}),{[`${oo}-on`]:t,[`${oo}-off`]:!t}),role:"switch","aria-checked":t?"true":"false",tabIndex:h?void 0:0,"aria-disabled":h?"true":void 0,"aria-readonly":N?"true":void 0,children:[(0,ao.jsxs)("span",{className:i("k-switch-track",y(oo,{rounded:s})),children:[o&&(0,ao.jsx)("span",{className:"k-switch-label-on",children:o}),a&&(0,ao.jsx)("span",{className:"k-switch-label-off",children:a})]}),(0,ao.jsx)("span",{className:"k-switch-thumb-wrap",children:(0,ao.jsx)("span",{className:i("k-switch-thumb",y(oo,{rounded:d}))})})]})};$e.states=Dh;$e.options=_h;$e.className=oo;$e.defaultOptions=zh;$e.moduleName=gi;$e.folderName=cc;$e.ariaSpec={selector:".k-switch",rules:[{selector:".k-switch",attribute:"role=switch",usage:"Announces the switch role of the element."},{selector:".k-switch",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-switch",attribute:"aria-required=true (when required)",usage:'Rendered only when the Switch is in a form. Required because <span role="switch"> does not support the native required attribute.'},{selector:".k-switch",attribute:"aria-checked",usage:"Announces the checked state of the Switch."},{selector:".k-switch",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the switch."},{selector:".k-switch",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the Switch is in a form and announces the invalid state."},{selector:".k-switch:not(.k-disabled)",attribute:"tabindex=0",usage:"The element must be focusable. Disabled switches are removed from tab order."},{selector:".k-switch.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the Switch is disabled."},{selector:".k-switch.k-readonly",attribute:"aria-readonly=true (when readonly)",usage:"Rendered only when the Switch is readonly. Readonly switches remain focusable but their value cannot be changed."}]};var Hh=require("react/jsx-runtime");var Fh=require("react/jsx-runtime");var Uh=require("react/jsx-runtime");var Gh=require("react/jsx-runtime");var Li=require("react/jsx-runtime"),Vh=$e.options,$h=$e.states,Xh={...$e.defaultOptions,variant:"on"},qh=[{name:"on",title:"On"},{name:"off",title:"Off"}],Wh=[],ca=e=>{let{variant:t,...o}=e;return t==="off"?(0,Li.jsx)($e,{checked:!1,onLabel:"On",offLabel:"Off",...o}):(0,Li.jsx)($e,{checked:!0,onLabel:"On",offLabel:"Off",...o})};ca.options=Vh;ca.states=$h;ca.variants=qh;ca.defaultOptions=Xh;ca.modifiers=Wh;ca.className=$e.className;var Si="textarea",pc=Si;var rt=require("react/jsx-runtime"),mc="k-textarea",Jh=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],Yh={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},pa={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},Xe=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:r=pa.prefixSeparator,suffixSeparator:s=pa.prefixSeparator,affixesOrientation:d=pa.affixesOrientation,flow:u=pa.flow,resize:f=pa.resize,prefix:h,suffix:N,rows:x,value:p,placeholder:g,hover:k,focus:S,valid:T,invalid:I,required:w,disabled:U,id:ae,"aria-label":ie,"aria-describedby":xe,...He}=e;return(0,rt.jsxs)(G,{...He,size:t,rounded:o,fillMode:a,hover:k,focus:S,valid:T,invalid:I,required:w,disabled:U,className:i(e.className,mc,{"!k-flex-col":u==="vertical","!k-flex-row":u==="horizontal"}),children:[h&&(0,rt.jsxs)(rt.Fragment,{children:[(0,rt.jsx)(Ee,{className:i({"!k-align-items-start":u===d}),direction:d,children:h}),r&&(0,rt.jsx)(pe,{direction:u==="horizontal"?"vertical":"horizontal"})]}),(0,rt.jsx)(Ma,{className:i("!k-overflow-auto",{"!k-flex-none":u==="vertical","k-resize-x":f==="x","k-resize-y":f==="y","k-resize":f==="both","k-resize-none":f==="none"}),value:p,placeholder:g,rows:x,disabled:U,id:ae,"aria-label":ie,"aria-describedby":xe,"aria-invalid":I?"true":void 0}),N&&(0,rt.jsxs)(rt.Fragment,{children:[s&&(0,rt.jsx)(pe,{direction:u==="horizontal"?"vertical":"horizontal"}),(0,rt.jsx)(Ce,{className:i({"!k-align-items-start":u===d}),direction:d,children:N})]})]})};Xe.states=Jh;Xe.options=Yh;Xe.className=mc;Xe.defaultOptions=pa;Xe.moduleName=Si;Xe.folderName=pc;Xe.ariaSpec={selector:".k-textarea",rules:[{selector:".k-textarea > .k-input-inner",attribute:"role=textbox or nodeName=textarea",usage:"Describes the role of the component."},{selector:".k-textarea > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The textarea requires an accessible name (provided by consuming app)."},{selector:".k-textarea > .k-input-inner",attribute:"aria-multiline=true (when role=textbox)",usage:"Required on role=textbox to indicate multi-line behavior. Implicit on native <textarea>, so not needed there."},{selector:".k-textarea > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the TextArea is in a form and announces the invalid state."},{selector:".k-textarea > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the textarea."},{selector:".k-textarea.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered only when the TextArea is disabled."}]};var Zh=require("react/jsx-runtime");var uc=require("react/jsx-runtime");var bc=require("react/jsx-runtime");var Qh=require("react/jsx-runtime");var za=require("react/jsx-runtime"),jh=Xe.options,ex=Xe.states,fc={...Xe.defaultOptions,variant:"vertical"},tx=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],ox=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],ma=e=>{let{variant:t,modifiers:o,...a}={...fc,...e},r={resize:"y"};return Object.keys(o||{}).forEach(s=>{switch(s){case"prefix":r.prefix=o!=null&&o[s]?(0,za.jsx)(L,{icon:"comment"}):void 0;break;case"suffix":r.suffix=o!=null&&o[s]?(0,za.jsx)(L,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?(0,za.jsx)(Xe,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...r}):(0,za.jsx)(Xe,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...r})};ma.options=jh;ma.states=ex;ma.variants=tx;ma.defaultOptions=fc;ma.modifiers=ox;ma.className=Xe.className;var Ii=require("react/jsx-runtime");var q=require("react/jsx-runtime"),ax=he.options,rx=he.states,nx={...he.defaultOptions,variant:"vertical"},ix=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],sx=[],ua=e=>{let{variant:t,size:o,...a}=e,r=(0,q.jsxs)(Ot,{legend:"Form Legend",children:[(0,q.jsx)(ne,{label:"Label",editor:(0,q.jsx)(F,{size:o})}),(0,q.jsx)(ne,{label:"Label",hint:"Hint text",editor:(0,q.jsx)(P,{value:"Dropdown List",size:o})}),(0,q.jsx)(ne,{label:"City",editor:(0,q.jsxs)("ul",{className:"k-radio-list k-list-horizontal",children:[(0,q.jsxs)("li",{className:"k-radio-list-item",children:[(0,q.jsx)(ye,{checked:!0,size:o}),(0,q.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,q.jsxs)("li",{className:"k-radio-list-item",children:[(0,q.jsx)(ye,{size:o}),(0,q.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,q.jsxs)("li",{className:"k-radio-list-item",children:[(0,q.jsx)(ye,{size:o}),(0,q.jsx)("label",{className:"k-radio-label",children:"Label"})]})]})})]}),s=(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(c,{className:"k-form-submit",themeColor:"primary",size:o,children:"Submit"}),(0,q.jsx)(c,{className:"k-form-clear",size:o,children:"Clear"})]});return t==="horizontal"?(0,q.jsx)(he,{orientation:"horizontal",size:o,...a,formButtons:s,children:r}):(0,q.jsx)(he,{size:o,...a,formButtons:s,children:r})};ua.options=ax;ua.states=rx;ua.variants=ix;ua.defaultOptions=nx;ua.modifiers=sx;ua.className=he.className;var Ha=require("react/jsx-runtime"),lx=pt.options,dx=pt.states,hc={...pt.defaultOptions},cx=[],px=[{name:"showHint",title:"Show Hint"}],ba=e=>{let{modifiers:t,...o}={...hc,...e},a=(t==null?void 0:t.showHint)??!0;return(0,Ha.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[(0,Ha.jsx)(F,{placeholder:"Component",style:{width:"200px"}}),a&&(0,Ha.jsx)(pt,{...o,children:"Hint text"})]})};ba.options=lx;ba.states=dx;ba.variants=cx;ba.defaultOptions=hc;ba.modifiers=px;ba.className=pt.className;var Fa=require("react/jsx-runtime"),mx=mt.options,ux=mt.states,xc={...mt.defaultOptions},bx=[],fx=[{name:"showError",title:"Show Error"}],fa=e=>{let{modifiers:t,...o}={...xc,...e},a=(t==null?void 0:t.showError)??!0;return(0,Fa.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[(0,Fa.jsx)(F,{placeholder:"Component",invalid:a,style:{width:"200px"}}),a&&(0,Fa.jsx)(mt,{...o,children:"Error text"})]})};fa.options=mx;fa.states=ux;fa.variants=bx;fa.defaultOptions=xc;fa.modifiers=fx;fa.className=mt.className;var yi="segmented-control",Nc=yi,kc="segmented-control-button",gc="segmented-control";var vr=require("react/jsx-runtime"),gr="k-segmented-control",hx=[],xx={size:[l.undefined,l.small,l.medium,l.large]},No=e=>{let{size:t,stretched:o,children:a,thumbStyles:r,...s}=e;return(0,vr.jsxs)("div",{...s,className:i(e.className,gr,y(gr,{size:t}),{[`${gr}-stretched`]:o}),role:"group",children:[(0,vr.jsx)("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:r}),a]})};No.states=hx;No.options=xx;No.className=gr;No.moduleName=yi;No.folderName=Nc;No.ariaSpec={selector:".k-segmented-control",rules:[{selector:".k-segmented-control",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-segmented-control-button",attribute:"role=button or nodeName=button",usage:"Each button must have the appropriate button role."},{selector:".k-segmented-control-button.k-selected",attribute:"aria-pressed=true",usage:"Only the selected button within the group will have this attribute set to true."},{selector:".k-segmented-control-button.k-disabled",attribute:"aria-disabled=true",usage:"Indicates that the button is disabled and cannot be interacted with."},{selector:".k-segmented-control-thumb",attribute:"aria-hidden=true",usage:"The thumb is purely decorative and should be hidden from screen readers."}]};var Ua=require("react/jsx-runtime"),Ti="k-segmented-control-button",Nx=[n.selected,n.hover,n.focus,n.disabled],kx={},gx={},ko=e=>{let{hover:t,focus:o,selected:a,disabled:r,icon:s,text:d,iconClassName:u,...f}=e;return(0,Ua.jsxs)("button",{...f,className:i(e.className,Ti,E(Ti,{hover:t,focus:o,disabled:r,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":r?"true":void 0,children:[s&&(0,Ua.jsx)(L,{className:i(u,"k-segmented-control-button-icon"),icon:s}),(d||e.children)&&(0,Ua.jsx)("span",{className:"k-segmented-control-button-text",children:d||e.children})]})};ko.states=Nx;ko.options=kx;ko.className=Ti;ko.defaultOptions=gx;ko.moduleName=kc;ko.folderName=gc;var Ei=require("react/jsx-runtime");var Ci=require("react/jsx-runtime");var Oi=require("react/jsx-runtime");var Ai=require("react/jsx-runtime");var wi=require("react/jsx-runtime");var Ri=require("react/jsx-runtime");var _=require("react/jsx-runtime"),vx=e=>(0,_.jsx)(gt,{toolbarItems:[(0,_.jsx)(c,{icon:"upload","aria-label":"Upload"},"toolbar-button-1"),(0,_.jsx)(c,{icon:"download","aria-label":"Download"},"toolbar-button-2"),(0,_.jsx)(fe,{},"toolbar-separator-1"),(0,_.jsx)(c,{disabled:!0,icon:"undo","aria-label":"Undo"},"toolbar-button-3"),(0,_.jsx)(c,{disabled:!0,icon:"redo","aria-label":"Redo"},"toolbar-button-4"),(0,_.jsx)(fe,{},"toolbar-separator-2"),(0,_.jsx)(c,{icon:"crop","aria-label":"Crop"},"toolbar-button-5"),(0,_.jsx)(c,{icon:"image-resize","aria-label":"Resize"},"toolbar-button-6"),(0,_.jsx)(c,{icon:"zoom-in","aria-label":"Zoom in"},"toolbar-button-7"),(0,_.jsx)(c,{icon:"zoom-out","aria-label":"Zoom out"},"toolbar-button-8"),(0,_.jsx)(kt,{children:(0,_.jsx)(P,{value:"Zoom options","aria-label":"Zoom options"})},"toolbar-item-1")],actionPane:(0,_.jsx)(fi,{tag:"div",className:"k-imageeditor-pane-form",formButtons:(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(c,{themeColor:"primary",icon:"check",children:"Confirm"}),(0,_.jsx)(c,{icon:"cancel-outline",children:"Cancel"})]}),children:(0,_.jsxs)(Ot,{layout:"grid",legend:"Resize Image",cols:2,gutters:{cols:"8px"},children:[(0,_.jsx)(ne,{colSpan:"1",label:"Width:",editorId:"resize-width",editor:(0,_.jsx)(K,{id:"resize-width",showClearButton:!1,value:"61"})}),(0,_.jsx)(ne,{colSpan:"1",label:"\xA0",editor:(0,_.jsx)(P,{value:"Pixels","aria-label":"Width unit"})}),(0,_.jsx)(ne,{colSpan:"1",label:"Height:",editorId:"resize-height",editor:(0,_.jsx)(K,{id:"resize-height",showClearButton:!1,value:"68"})}),(0,_.jsx)(ne,{colSpan:"1",label:"\xA0",editor:(0,_.jsx)(P,{value:"Pixels","aria-label":"Height unit"})}),(0,_.jsx)(ne,{colSpan:"2",editor:(0,_.jsx)(lt,{id:"resize-lock",children:"Lock aspect ratio"})})]})}),children:(0,_.jsx)("canvas",{width:"61",height:"68",role:"img","aria-label":"Image being edited"}),...e});
1
+ var Lc=Object.create;var Va=Object.defineProperty;var Sc=Object.getOwnPropertyDescriptor;var Mc=Object.getOwnPropertyNames;var Ic=Object.getPrototypeOf,yc=Object.prototype.hasOwnProperty;var Tc=(e,t)=>{for(var o in t)Va(e,o,{get:t[o],enumerable:!0})},Pi=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Mc(t))!yc.call(e,r)&&r!==o&&Va(e,r,{get:()=>t[r],enumerable:!(a=Sc(t,r))||a.enumerable});return e};var Ki=(e,t,o)=>(o=e!=null?Lc(Ic(e)):{},Pi(t||!e||!e.__esModule?Va(o,"default",{value:e,enumerable:!0}):o,e)),Ec=e=>Pi(Va({},"__esModule",{value:!0}),e);var Lx={};Tc(Lx,{ImageEditorResize:()=>vx});module.exports=Ec(Lx);var i=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?i(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var y=(e,t)=>i({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),E=(e,t)=>{let{valid:o,invalid:a,hover:r,focus:s,checked:d,active:u,selected:f,disabled:h,indeterminate:N,loading:x,empty:p,readonly:g,highlighted:k,...S}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":r,"k-focus":s,"k-checked":d,"k-active":u,"k-selected":f,"k-disabled":h,"k-indeterminate":N&&!d,"k-loading":x,"k-empty":p,"k-readonly":g,"k-highlighted":k},Object.keys(S).reduce((T,I)=>(I.startsWith("k-")?T[I]=S[I]:T[`k-${I}`]=S[I],T),{}))};function Di(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},m={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},b={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},v={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},n={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 Tr={};function R(e){return Tr[e]=(Tr[e]||0)+1,`k-${e}-${Tr[e]}`}var ha=require("react/jsx-runtime"),Er="k-font-icon",Cc=[],Oc={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},Ac={},xa=e=>{let{size:t,themeColor:o,icon:a,rotate:r,flip:s,...d}=e;return a?(0,ha.jsx)("span",{...d,className:i(e.className,Er,y(Er,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):(0,ha.jsx)(ha.Fragment,{})};xa.states=Cc;xa.options=Oc;xa.className=Er;xa.defaultOptions=Ac;var _i=xa;var no=require("react/jsx-runtime"),Cr="k-svg-icon",wc=[],Rc={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},zi={viewBox:"0 0 24 24"},Na=e=>{let{size:t,themeColor:o,rotate:a,flip:r,viewBox:s=zi.viewBox,icon:d,...u}=e;if(!d)return(0,no.jsx)(no.Fragment,{});if(d==="none")return(0,no.jsx)("span",{...u,className:i(e.className,Cr,y("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let f=typeof d=="object"&&d.name&&d.name;return(0,no.jsx)("span",{...u,className:i(e.className,Cr,y("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:(0,no.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof d=="object"?d.viewBox:s,dangerouslySetInnerHTML:typeof d=="object"?{__html:d.content}:void 0,children:d?void 0:e.children})})};Na.states=wc;Na.options=Rc;Na.className=Cr;Na.defaultOptions=zi;var Or=Na;var Ar=Ki(require("@progress/kendo-svg-icons"));var Hi="icon",Fi="icons";var Vi=require("react");var Ui=require("react"),Gi=(0,Ui.createContext)({iconsType:"svg"});var At=require("react/jsx-runtime"),$a="k-icon",Bc=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Pc=[],Kc={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},wr={viewBox:"0 0 24 24",type:"svg"},L=e=>{let{iconsType:t}=(0,Vi.useContext)(Gi),{size:o,themeColor:a,icon:r,type:s=t||wr.type,rotate:d,flip:u,viewBox:f=wr.viewBox,...h}=e;if(!r)return(0,At.jsx)(At.Fragment,{});if((t||s)==="svg"){if(r==="none")return(0,At.jsx)(Or,{...h,className:i(e.className,$a),icon:r,size:o});let x=Ar[r]?r:Bc(`${r}-icon`);return Ar[x]?(0,At.jsx)(Or,{...h,className:i(e.className,$a),icon:Ar[x],size:o,themeColor:a,rotate:d,flip:u,viewBox:f}):(0,At.jsx)(At.Fragment,{})}return(0,At.jsx)(_i,{...h,className:i(e.className,$a),icon:r,size:o,themeColor:a,rotate:d,flip:u})};L.states=Pc;L.options=Kc;L.defaultOptions=wr;L.className=$a;L.moduleName=Hi;L.folderName=Fi;L.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var Rr="button",$i=Rr;var bt=require("react/jsx-runtime"),ka="k-button",Dc=["icon-button"],_c=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],zc={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},Br={showArrow:!1,arrowIconName:"chevron-down"},c=e=>{let{as:t="button",size:o,rounded:a,fillMode:r,themeColor:s,showArrow:d=Br.showArrow,arrowIconName:u=Br.arrowIconName,variant:f,hover:h,focus:N,active:x,selected:p,disabled:g,togglable:k,ariaDisabled:S,icon:T,text:I,iconClassName:w,className:U,...ae}=e,ie=T!==void 0,xe=e.children!==void 0;return(0,bt.jsxs)(t,{className:i(U,ka,Di(ka,f),y(ka,{size:o,rounded:a,fillMode:r,themeColor:s}),E(ka,{hover:h,focus:N,active:x,disabled:g||S,selected:p}),{"k-icon-button":!I&&!xe&&ie}),...ae,"aria-pressed":k?p?"true":"false":void 0,"aria-disabled":S?"true":void 0,disabled:g||void 0,children:[T&&(0,bt.jsx)(L,{className:i(w,"k-button-icon"),icon:T}),I?(0,bt.jsxs)(bt.Fragment,{children:[I&&(0,bt.jsx)("span",{className:"k-button-text",children:I}),e.children]}):e.children&&(0,bt.jsx)("span",{className:"k-button-text",children:e.children}),d&&(0,bt.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,bt.jsx)(L,{icon:u})})]})};c.states=_c;c.options=zc;c.variants=Dc;c.className=ka;c.defaultOptions=Br;c.moduleName=Rr;c.folderName=$i;c.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var Xi=require("react/jsx-runtime"),wt=e=>(0,Xi.jsx)(c,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var qi=require("react/jsx-runtime"),ga=e=>(0,qi.jsx)(c,{icon:"folder",children:"Button",...e});var Wi=require("react/jsx-runtime"),io=e=>(0,Wi.jsx)(c,{children:"Button",...e});var Xa=require("react/jsx-runtime"),Hc=c.options,Fc=c.states,Uc={...c.defaultOptions,variant:"text"},Gc=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Vc=[],go=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,Xa.jsx)(wt,{...o,icon:"star"});case"icon-and-text":return(0,Xa.jsx)(ga,{...o,icon:"star",children:"Button"});default:return(0,Xa.jsx)(io,{...o,children:"Button"})}};go.options=Hc;go.states=Fc;go.variants=Gc;go.defaultOptions=Uc;go.modifiers=Vc;go.className=c.className;var Pr="button",Ji=Pr;var Yi=require("react/jsx-runtime"),va="k-button-group",$c=[n.disabled],Xc={fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},qc={},A=e=>{let{fillMode:t,disabled:o,stretched:a,...r}=e;return(0,Yi.jsx)("div",{role:"group",...r,className:i(e.className,va,y(va,{fillMode:t}),E(va,{disabled:o}),{[`${va}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};A.states=$c;A.options=Xc;A.className=va;A.defaultOptions=qc;A.moduleName=Pr;A.folderName=Ji;A.ariaSpec={selector:".k-button-group",rules:[{selector:".k-button-group:not(.k-split-button)",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-button-group.k-disabled",attribute:"aria-disabled=true",usage:"The attribute is rendered only when the entire button group is disabled."},{selector:".k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button",attribute:"aria-pressed (when selected)",usage:"Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true."}]};var Kr=require("react/jsx-runtime");var Dr=require("react/jsx-runtime");var _r=require("react/jsx-runtime");var zr=require("react/jsx-runtime");var Hr=require("react/jsx-runtime");var Fr=require("react/jsx-runtime");var qe=require("react/jsx-runtime"),Wc={...c.options,...A.options},Jc=c.states,Yc={...c.defaultOptions,...A.defaultOptions,variant:"text-button"},Zc=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Qc=[],vo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,qe.jsxs)(A,{fillMode:a.fillMode,className:o,children:[(0,qe.jsx)(c,{...a,icon:"star"}),(0,qe.jsx)(c,{...a,icon:"star"}),(0,qe.jsx)(c,{...a,icon:"star"})]}):t==="icon-text-button"?(0,qe.jsxs)(A,{fillMode:a.fillMode,className:o,children:[(0,qe.jsx)(c,{...a,icon:"star",children:"First"}),(0,qe.jsx)(c,{...a,icon:"star",children:"Middle"}),(0,qe.jsx)(c,{...a,icon:"star",children:"Last"})]}):(0,qe.jsxs)(A,{fillMode:a.fillMode,className:o,children:[(0,qe.jsx)(c,{...a,children:"First"}),(0,qe.jsx)(c,{...a,children:"Middle"}),(0,qe.jsx)(c,{...a,children:"Last"})]})};vo.options=Wc;vo.states=Jc;vo.variants=Zc;vo.defaultOptions=Yc;vo.modifiers=Qc;vo.className=A.className;var La="input",qa=La;var Zi=require("react/jsx-runtime"),Wa="k-input",jc=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],ep={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},tp={},G=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:d,readonly:u,size:f,rounded:h,fillMode:N,...x}=e;return(0,Zi.jsx)("span",{...x,className:i(e.className,Wa,y(Wa,{size:f,rounded:h,fillMode:N}),E(Wa,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:d,readonly:u}))})};G.states=jc;G.options=ep;G.className=Wa;G.defaultOptions=tp;G.moduleName=La;G.folderName=qa;var Qi=require("react/jsx-runtime"),Ja="k-picker",op=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],ap={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},rp={},vt=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:d,readonly:u,size:f,rounded:h,fillMode:N,...x}=e;return(0,Qi.jsx)("span",{...x,className:i(e.className,Ja,y(Ja,{size:f,rounded:h,fillMode:N}),E(Ja,{hover:t,focus:o,disabled:a,invalid:r,valid:s,loading:d,readonly:u})),children:e.children})};vt.states=op;vt.options=ap;vt.className=Ja;vt.defaultOptions=rp;vt.moduleName=La;vt.folderName=qa;var Lo=require("react/jsx-runtime"),ji="k-clear-value",np=[n.disabled,n.loading,n.readonly],ip={},Ne=e=>{let{disabled:t,loading:o,readonly:a,value:r}=e;return t||a||o||!r?(0,Lo.jsx)(Lo.Fragment,{}):(0,Lo.jsx)("span",{className:i(e.className,ji),children:(0,Lo.jsx)(L,{icon:"x"})})};Ne.states=np;Ne.options=ip;Ne.className=ji;var es=require("react/jsx-runtime"),Ur="k-input-inner",sp=[],lp={},Ya={type:"text",autocomplete:"off",value:"",placeholder:""},ke=e=>{let{value:t=Ya.value,type:o=Ya.type,placeholder:a=Ya.placeholder,autocomplete:r=Ya.autocomplete,disabled:s,readOnly:d,...u}=e;return(0,es.jsx)("input",{...u,type:o,className:i(e.className,Ur,y(Ur,e)),placeholder:a,autoComplete:r,defaultValue:t,disabled:s||void 0,readOnly:d||void 0})};ke.states=sp;ke.options=lp;ke.className=Ur;var Sa=require("react/jsx-runtime"),Gr="k-input-inner",dp=[],cp={},so=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:r,valueIconName:s,...d}=e;return(0,Sa.jsxs)("span",{...d,className:i(e.className,Gr,y(Gr,e)),children:[r,!r&&s&&(0,Sa.jsx)(L,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&(0,Sa.jsx)("span",{className:"k-input-value-text",children:t})]})};so.states=dp;so.options=cp;so.className=Gr;var os=require("react/jsx-runtime"),Vr="k-input-inner",pp=[],mp={},ts={value:"",placeholder:""},Ma=e=>{let{value:t=ts.value,placeholder:o=ts.placeholder,rows:a,disabled:r,...s}=e;return(0,os.jsx)("textarea",{...s,className:i(e.className,Vr,y(Vr,e)),placeholder:o,rows:a,defaultValue:t,disabled:r||void 0})};Ma.states=pp;Ma.options=mp;Ma.className=Vr;var Ia=require("react/jsx-runtime"),as="k-input-loading-icon",up=[n.disabled,n.loading],ce=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Ia.jsx)(Ia.Fragment,{}):(0,Ia.jsx)("span",{className:i(e.className,as,"k-icon k-i-loading")})};ce.states=up;ce.className=as;var ya=require("react/jsx-runtime"),rs="k-input-validation-icon",bp=[n.valid,n.invalid,n.disabled,n.loading],fp={},se=e=>{let{valid:t,invalid:o,disabled:a,loading:r}=e,s=o?"warning-circle":"check-circle";return a||r||!!!(t||o)?(0,ya.jsx)(ya.Fragment,{}):(0,ya.jsx)(L,{className:i(rs),icon:s})};se.states=bp;se.options=fp;se.className=rs;var Ta=require("react/jsx-runtime"),hp="k-input-prefix",xp={direction:"horizontal"},Ee=e=>{let{direction:t=xp.direction,...o}=e;return e.children?(0,Ta.jsx)("span",{...o,className:i(hp,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Ta.jsx)(Ta.Fragment,{})};var Ea=require("react/jsx-runtime"),Np="k-input-suffix",kp={direction:"horizontal"},Ce=e=>{let{direction:t=kp.direction,...o}=e;return e.children?(0,Ea.jsx)("span",{...o,className:i(Np,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Ea.jsx)(Ea.Fragment,{})};var gp=require("react/jsx-runtime");var ns=require("react/jsx-runtime"),vp="k-input-suffix-text",$r=e=>{let{children:t,...o}=e;return(0,ns.jsx)("span",{...o,className:i(vp,e.className),children:t})};var ss=require("react/jsx-runtime"),is="k-input-separator",Lp={direction:"vertical"},pe=e=>{let{direction:t=Lp.direction,...o}=e;return(0,ss.jsx)("span",{...o,className:i(is,e.className,{[`${is}-${t}`]:t})})};var me=require("react/jsx-runtime"),Sp=G.states,Mp=G.defaultOptions,Ip=G.options,yp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Tp=[],So=e=>{let{modifiers:t,valid:o,invalid:a,loading:r,disabled:s,readonly:d,...u}=e,f=t==null?void 0:t.prefix,h=t==null?void 0:t.suffix,N=t==null?void 0:t["clear-button"],x=t==null?void 0:t["validation-icon"],p=t==null?void 0:t.separators;return(0,me.jsxs)(G,{...u,valid:o,invalid:a,loading:r,disabled:s,readonly:d,style:{width:300},children:[f&&(0,me.jsxs)(me.Fragment,{children:[(0,me.jsx)(Ee,{children:(0,me.jsx)(L,{icon:"lock"})}),p&&(0,me.jsx)(pe,{})]}),(0,me.jsx)(ke,{placeholder:"Placeholder",value:"Value"}),x&&(0,me.jsx)(se,{valid:o,invalid:a,loading:r,disabled:s}),(0,me.jsx)(ce,{loading:r,disabled:s}),N&&(0,me.jsx)(Ne,{loading:r,disabled:s,readonly:d,value:"Value"}),h&&(0,me.jsxs)(me.Fragment,{children:[p&&(0,me.jsx)(pe,{}),(0,me.jsx)(Ce,{children:(0,me.jsx)(io,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};So.options=Ip;So.states=Sp;So.variants=Tp;So.defaultOptions=Mp;So.modifiers=yp;So.className=G.className;var Ca=require("react/jsx-runtime"),ls="k-color-preview",Ep=[],Cp={},Vt=e=>{let{color:t,iconName:o,...a}=e;return(0,Ca.jsxs)("span",{...a,className:i(e.className,ls,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,Ca.jsx)(L,{icon:o,className:"k-color-preview-icon"}),(0,Ca.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Vt.states=Ep;Vt.options=Cp;Vt.className=ls;var Xr="popup",ds=Xr;var qr=require("react/jsx-runtime"),cs="k-animation-container",Op=[],Ap={},ps={positionMode:"absolute"},Lt=e=>{let{positionMode:t=ps.positionMode,animationStyle:o,offset:a,...r}=e;return(0,qr.jsx)("div",{...r,style:{...a,...e.style},className:i(e.className,cs,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,qr.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};Lt.states=Op;Lt.options=Ap;Lt.className=cs;Lt.defaultOptions=ps;Lt.moduleName=Xr;Lt.folderName=ds;var Wr="popup",ms=Wr;var Jr=require("react/jsx-runtime"),us="k-popup",wp=[],Rp={},bs={positionMode:"absolute"},Y=e=>{let{offset:t,positionMode:o=bs.positionMode,animationStyle:a,containerClassName:r,containerRole:s,containerAriaLabel:d,...u}=e;return(0,Jr.jsx)(Lt,{positionMode:o,offset:t,animationStyle:a,className:r,role:s,"aria-label":d,children:(0,Jr.jsx)("div",{...u,className:i(e.className,us),children:e.children})})};Y.states=wp;Y.options=Rp;Y.className=us;Y.defaultOptions=bs;Y.moduleName=Wr;Y.folderName=ms;Y.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var Yr="action-buttons",fs=Yr;var hs=require("react/jsx-runtime"),Za="k-actions",Bp=[],Pp={},Zr={alignment:"start",orientation:"horizontal"},St=e=>{let{alignment:t=Zr.alignment,orientation:o=Zr.orientation,...a}=e;return(0,hs.jsx)("div",{...a,className:i(Za,{[`${Za}-${t}`]:t,[`${Za}-${o}`]:o},e.className),children:e.children})};St.states=Bp;St.options=Pp;St.className=Za;St.defaultOptions=Zr;St.moduleName=Yr;St.folderName=fs;var Ns=require("react/jsx-runtime"),Kp="k-actionsheet-footer",xs={alignment:"stretched",orientation:"horizontal"},$t=e=>{let{alignment:t=xs.alignment,orientation:o=xs.orientation,template:a,as:r=a?"div":St,...s}=e;return(0,Ns.jsx)(r,{...s,...!a&&{alignment:t,orientation:o},className:i(e.className,Kp),children:e.children})};var Qr="searchbox",ks=Qr;var Xt=require("react/jsx-runtime"),gs="k-searchbox",Dp=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],_p={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},jr={showIcon:!0,icon:"search"},nt=e=>{let{value:t,placeholder:o,size:a,rounded:r,fillMode:s,hover:d,focus:u,valid:f,invalid:h,required:N,loading:x,disabled:p,showIcon:g=jr.showIcon,icon:k=jr.icon,"aria-label":S,...T}=e;return(0,Xt.jsxs)(G,{...T,size:a,rounded:r,fillMode:s,hover:d,focus:u,valid:f,invalid:h,required:N,loading:x,disabled:p,className:i(e.className,gs),children:[g&&(0,Xt.jsx)(L,{className:"k-input-icon",icon:k}),(0,Xt.jsx)(ke,{placeholder:o,value:t,"aria-label":S}),(0,Xt.jsx)(ce,{...e}),(0,Xt.jsx)(se,{...e}),(0,Xt.jsx)(Ne,{...e})]})};nt.states=Dp;nt.options=_p;nt.className=gs;nt.defaultOptions=jr;nt.moduleName=Qr;nt.folderName=ks;var zp=require("react/jsx-runtime");var en="textbox",vs=en;var Oe=require("react/jsx-runtime"),Ls="k-textbox",Hp=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Fp={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Qa={showClearButton:!0,showValidationIcon:!0,separators:!0},F=e=>{let{size:t,rounded:o,fillMode:a,separators:r=Qa.separators,showClearButton:s=Qa.showClearButton,showValidationIcon:d=Qa.showValidationIcon,prefix:u,suffix:f,type:h,value:N,placeholder:x,hover:p,focus:g,valid:k,invalid:S,required:T,loading:I,disabled:w,readonly:U,id:ae,"aria-label":ie,"aria-describedby":xe,...He}=e;return(0,Oe.jsxs)(G,{...He,size:t,rounded:o,fillMode:a,hover:p,focus:g,valid:k,invalid:S,required:T,loading:I,disabled:w,readonly:U,className:i(e.className,Ls),children:[u&&(0,Oe.jsxs)(Oe.Fragment,{children:[(0,Oe.jsx)(Ee,{children:u}),r&&(0,Oe.jsx)(pe,{})]}),(0,Oe.jsx)(ke,{id:ae,placeholder:x,value:N,type:h,disabled:w,"aria-label":ie,"aria-describedby":xe,"aria-invalid":S?"true":void 0}),d&&(0,Oe.jsx)(se,{valid:k,invalid:S,loading:I,disabled:w}),(0,Oe.jsx)(ce,{loading:I,disabled:w}),s&&(0,Oe.jsx)(Ne,{loading:I,disabled:w,readonly:U,value:N}),f&&(0,Oe.jsxs)(Oe.Fragment,{children:[r&&(0,Oe.jsx)(pe,{}),(0,Oe.jsx)(Ce,{children:f})]})]})};F.states=Hp;F.options=Fp;F.className=Ls;F.defaultOptions=Qa;F.moduleName=en;F.folderName=vs;F.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 Oa=F;var Ms=require("react/jsx-runtime"),Ss=e=>(0,Ms.jsx)(Oa,{...e});var Is=require("react/jsx-runtime");var ys=require("react/jsx-runtime");var Up=require("react/jsx-runtime");var ja=require("react/jsx-runtime"),Gp=F.states,Vp=F.defaultOptions,$p=F.options,Xp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],qp=[],Mo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t!=null&&t[r]?(0,ja.jsx)(L,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[r]?(0,ja.jsx)(io,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[r];break;default:break}}),(0,ja.jsx)(Ss,{value:"Value",style:{width:300},...o,...a})};Mo.options=$p;Mo.states=Gp;Mo.variants=qp;Mo.defaultOptions=Vp;Mo.modifiers=Xp;Mo.className=F.className;var je=require("react/jsx-runtime"),Ts="k-actionsheet-titlebar",Wp={},Fe=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:r,filter:s,input:d,inputValue:u,inputPlaceholder:f,adaptive:h,titleId:N,children:x,...p}=e;return(0,je.jsxs)("div",{...p,className:i(e.className,Ts),children:[(0,je.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,je.jsx)("div",{className:"k-actionsheet-actions",children:a}),!x&&(0,je.jsxs)("div",{className:"k-actionsheet-title",id:N,children:[t&&(0,je.jsx)("div",{className:"k-text-center",children:t}),o&&(0,je.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),x&&(0,je.jsx)("div",{className:"k-actionsheet-title",id:N,children:x}),r&&(0,je.jsx)("div",{className:"k-actionsheet-actions",children:r})]}),(d||s)&&(0,je.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?(0,je.jsx)(F,{value:u,placeholder:f,size:h?"large":"medium","aria-label":t||f||"Input"}):(0,je.jsx)(nt,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};Fe.className=Ts;Fe.defaultOptions=Wp;var Io=require("react/jsx-runtime"),tn="k-actionsheet-view",Jp=[],Yp={},Zp={},yo=e=>{let{adaptive:t,animated:o,children:a,header:r,footer:s,titleId:d,...u}=e,f=(r==null?void 0:r.type)===Fe&&(0,Io.jsx)(Fe,{adaptive:t,titleId:d,...r==null?void 0:r.props}),h=(s==null?void 0:s.type)===$t&&(0,Io.jsx)($t,{...s==null?void 0:s.props});return(0,Io.jsxs)("div",{...u,className:i(e.className,tn,{[`${tn}-animated`]:o}),children:[f,(0,Io.jsx)("div",{className:"k-actionsheet-content",children:a}),h]})};yo.states=Jp;yo.options=Yp;yo.className=tn;yo.defaultOptions=Zp;var Aa="action-sheet",er=Aa;var on="overlay",Es=on;var Os=require("react/jsx-runtime"),Cs="k-overlay",Qp=[],jp={},em={},qt=e=>{let{...t}=e;return(0,Os.jsx)("div",{...t,className:i(e.className,Cs),children:e.children})};qt.states=Qp;qt.options=jp;qt.className=Cs;qt.defaultOptions=em;qt.moduleName=on;qt.folderName=Es;var lo=require("react/jsx-runtime"),As="k-actionsheet",tm=[],om={},wa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},te=e=>{let{side:t=wa.side,fullscreen:o=wa.fullscreen,adaptive:a=wa.adaptive,overlay:r=wa.overlay,template:s,children:d,header:u,footer:f,id:h,...N}=e,x=h&&!s&&u?`${h}-title`:void 0;return(0,lo.jsxs)("div",{className:"k-actionsheet-container",children:[r&&(0,lo.jsx)(qt,{}),(0,lo.jsx)(Lt,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:(0,lo.jsx)("div",{...N,id:h,role:"dialog","aria-modal":r?"true":void 0,"aria-labelledby":x,className:i(e.className,As,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||(0,lo.jsx)(yo,{header:u,footer:f,adaptive:a,titleId:x,...e,children:d})})})]})};te.states=tm;te.options=om;te.className=As;te.defaultOptions=wa;te.moduleName=Aa;te.folderName=er;te.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};var Rs=require("react/jsx-runtime"),ws="k-actionsheet-container",am=[],rm={},nm={},To=e=>{let{children:t,...o}=e;return(0,Rs.jsx)("div",{...o,className:ws,children:t})};To.states=am;To.options=rm;To.className=ws;To.defaultOptions=nm;To.moduleName=Aa;To.folderName=er;var Bs=require("react/jsx-runtime"),an=e=>{let{...t}=e;return(0,Bs.jsx)("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};var it=require("react/jsx-runtime"),rn="k-actionsheet-item",im=[n.hover,n.focus,n.selected,n.disabled],Wt=e=>{let{iconName:t,text:o,description:a,hover:r,focus:s,selected:d,disabled:u,...f}=e;return(0,it.jsxs)("span",{...f,className:i(e.className,rn,E(rn,{hover:r,focus:s,selected:d,disabled:u})),children:[!e.children&&(0,it.jsx)(it.Fragment,{children:(0,it.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,it.jsx)("span",{className:"k-icon-wrap",children:(0,it.jsx)(L,{className:"k-actionsheet-item-icon",icon:t})}),(0,it.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,it.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,it.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Wt.states=im;Wt.className=rn;var Ps=require("react/jsx-runtime");var sm=require("react/jsx-runtime");var lm=require("react/jsx-runtime");var dm=require("react/jsx-runtime");var Z=require("react/jsx-runtime"),cm=te.options,pm=te.states,Ds={...te.defaultOptions,variant:"normal"},mm=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],um=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Eo=e=>{let{variant:t,modifiers:o,...a}={...Ds,...e},r={},s=(0,Z.jsxs)(an,{children:[(0,Z.jsx)(Wt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,Z.jsx)(Wt,{text:"Add to Favorites",iconName:"heart"}),(0,Z.jsx)(Wt,{text:"Upload New",iconName:"upload",disabled:!0}),(0,Z.jsx)("hr",{className:"k-hr"}),(0,Z.jsx)(Wt,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",u="Select Item";return t==="fullScreen"&&(r.fullScreen=!0),Object.keys(o||{}).forEach(f=>{switch(f){case"actions":r.actionsStart=!!(o!=null&&o[f]),r.actionsEnd=!!(o!=null&&o[f]);break;case"subtitle":r.subtitle=o!=null&&o[f]?d:void 0;break;case"footer":r.footer=!!(o!=null&&o[f]);break;default:break}}),t==="adaptive"?(0,Z.jsx)(te,{...a,adaptive:!0,fullscreen:r.fullScreen,header:(0,Z.jsx)(Fe,{actionsStart:r.actionsStart?(0,Z.jsx)(c,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?(0,Z.jsx)(c,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:r.subtitle}),footer:r.footer?(0,Z.jsxs)($t,{alignment:"stretched",children:[(0,Z.jsx)(c,{text:"Cancel",size:"large",themeColor:"base"}),(0,Z.jsx)(c,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):(0,Z.jsx)(te,{...a,fullscreen:r.fullScreen,header:(0,Z.jsx)(Fe,{actionsStart:r.actionsStart?(0,Z.jsx)(c,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?(0,Z.jsx)(c,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:r.subtitle}),footer:r.footer?(0,Z.jsxs)($t,{alignment:"stretched",children:[(0,Z.jsx)(c,{text:"Apply",themeColor:"primary"}),(0,Z.jsx)(c,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Eo.options=cm;Eo.states=pm;Eo.variants=mm;Eo.defaultOptions=Ds;Eo.modifiers=um;Eo.className=te.className;var nn="slider",_s=nn;var ft=require("react/jsx-runtime"),Ra="k-slider",bm=[n.hover,n.focus,n.active,n.disabled,n.readonly],fm={},st={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},W=e=>{let{type:t=st.type,orientation:o=st.orientation,gradientType:a=st.gradientType,readonly:r=st.readonly,disabled:s=st.disabled,handlePosition:d=st.handlePosition,showButtons:u=st.showButtons,showTicks:f=st.showTicks,value:h=st.value,min:N=st.min,max:x=st.max,startValue:p,endValue:g,hover:k,focus:S,active:T,trackStyle:I,dir:w,...U}=e,ie=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),xe,He;return o==="horizontal"?(xe=w==="rtl"?"chevron-left":"chevron-right",He=w==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(xe="chevron-up",He="chevron-down"),(0,ft.jsxs)("div",{...U,className:i(Ra,e.className,E(Ra,{readonly:r,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:w,children:[u&&(0,ft.jsx)(c,{className:"k-button-decrease",rounded:"full",icon:He,tabIndex:-1,title:"Decrease"}),(0,ft.jsxs)("div",{className:"k-slider-track-wrap",children:[f&&(0,ft.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,ft.jsxs)("div",{className:"k-slider-track",style:I,children:[(0,ft.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,ft.jsx)("span",{className:i("k-draghandle","k-draghandle-start",E(Ra,{hover:k,focus:S,active:T})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":p??N,"aria-valuemin":N,"aria-valuemax":g??x,"aria-orientation":ie,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":U["aria-label"]?`${U["aria-label"]} start`:"Range start"}),(0,ft.jsx)("span",{className:i("k-draghandle",`k-draghandle-${d}`,E(Ra,{hover:k,focus:S,active:T})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?g??x:h,"aria-valuemin":t==="range"?p??N:N,"aria-valuemax":x,"aria-orientation":ie,"aria-disabled":s?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":t==="range"?U["aria-label"]?`${U["aria-label"]} end`:"Range end":U["aria-label"]})]})]}),u&&(0,ft.jsx)(c,{className:"k-button-increase",rounded:"full",icon:xe,tabIndex:-1,title:"Increase"})]})};W.states=bm;W.options=fm;W.className=Ra;W.defaultOptions=st;W.moduleName=nn;W.folderName=_s;W.ariaSpec={selector:".k-slider",rules:[{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"role=slider",usage:"Sets the proper role for Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-label or aria-labelledby or title",usage:"The Slider needs an accessible name to be assigned to it."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the Slider is in a form and announces the invalid state."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuenow",usage:"Specifies the currently selected value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemin",usage:"Specifies the minimum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemax",usage:"Specifies the maximum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuetext (when has text alternative)",usage:"Specifies a human-readable text alternative to the numeric value. Provided by consuming applications."},{selector:".k-slider:not(.k-disabled) .k-draghandle:not(.k-hsv-draghandle)",attribute:"tabindex=0",usage:"The element must be focusable. Disabled sliders are removed from tab order."},{selector:".k-slider-vertical .k-draghandle",attribute:"aria-orientation=vertical (when vertical)",usage:"Present only when slider is vertical."},{selector:".k-slider.k-disabled .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-disabled=true",usage:"Rendered only when the Slider is disabled."},{selector:".k-slider.k-readonly .k-draghandle",attribute:"aria-readonly=true (when readonly)",usage:"Rendered only when the Slider is readonly. Readonly sliders remain focusable but their value cannot be changed."},{selector:".k-slider .k-button",attribute:"tabindex=-1",usage:"Excludes the buttons from the natural tab order. Keyboard users use arrow keys on the drag handle."},{selector:".k-slider .k-button",attribute:"title",usage:'Provides a tooltip describing the button action (e.g., "Decrease" or "Increase").'},{selector:".k-slider .k-slider-items",attribute:"aria-hidden=true",usage:"Hides the tick list from assistive technologies. Tick values are redundant with the drag handle value attributes."},{selector:".k-slider .k-tick",attribute:"role=presentation",usage:"Removes semantic meaning from individual tick elements. Ticks are visual-only markers."},{selector:".k-slider .k-tick",attribute:"title",usage:"Represents the value associated with the respective tick."}]};var sn=require("react/jsx-runtime"),zs="k-tick",hm=[],xm={},Hs={label:!1},C=e=>{let{style:t,label:o=Hs.label,orientation:a,large:r,text:s,...d}=e;return(0,sn.jsx)("li",{...d,role:"presentation",title:s||"Tick",className:i(e.className,zs,{[`k-tick-${a}`]:a,"k-tick-large":r}),style:t,children:o&&(0,sn.jsx)("span",{className:"k-label",children:s})})};C.states=hm;C.options=xm;C.className=zs;C.defaultOptions=Hs;var ge=require("react/jsx-runtime"),Fs=e=>(0,ge.jsx)(W,{"aria-label":e["aria-label"]||"Slider",children:(0,ge.jsxs)(ge.Fragment,{children:[(0,ge.jsx)(C,{className:"k-first",label:!0,large:!0,text:"0"}),(0,ge.jsx)(C,{}),(0,ge.jsx)(C,{}),(0,ge.jsx)(C,{}),(0,ge.jsx)(C,{}),(0,ge.jsx)(C,{label:!0,large:!0,text:"5"}),(0,ge.jsx)(C,{}),(0,ge.jsx)(C,{}),(0,ge.jsx)(C,{}),(0,ge.jsx)(C,{}),(0,ge.jsx)(C,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var ve=require("react/jsx-runtime"),Us=e=>(0,ve.jsx)(W,{children:(0,ve.jsxs)(ve.Fragment,{children:[(0,ve.jsx)(C,{className:"k-first",label:!0,large:!0,text:"0"}),(0,ve.jsx)(C,{}),(0,ve.jsx)(C,{}),(0,ve.jsx)(C,{}),(0,ve.jsx)(C,{}),(0,ve.jsx)(C,{label:!0,large:!0,text:"5"}),(0,ve.jsx)(C,{}),(0,ve.jsx)(C,{}),(0,ve.jsx)(C,{}),(0,ve.jsx)(C,{}),(0,ve.jsx)(C,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var ln=require("react/jsx-runtime");var dn=require("react/jsx-runtime");var Gs=require("react/jsx-runtime"),cn=e=>(0,Gs.jsx)(W,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Vs=require("react/jsx-runtime"),pn=e=>(0,Vs.jsx)(W,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var mn=require("react/jsx-runtime");var un=require("react/jsx-runtime");var We=require("react/jsx-runtime"),Nm=W.options,km=W.states,$s={...W.defaultOptions,variant:"horizontal",label:!0},gm=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],vm=[{name:"label",title:"Labels"},{name:"tick",title:"Ticks"},{name:"button",title:"Side Buttons"}],Co=e=>{let{variant:t,modifiers:o,...a}={...$s,...e},r={};Object.keys(o||{}).forEach(h=>{switch(h){case"button":{r.showButtons=!!(o!=null&&o[h]);break}case"label":{r.label=!!(o!=null&&o[h]);break}case"tick":{r.showTicks=!!(o!=null&&o[h]);break}}});let{label:s=!0,showButtons:d,showTicks:u}=r,f={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,We.jsxs)(Us,{showTicks:u,showButtons:d,style:{height:"300px",...f},...a,children:[(0,We.jsx)(C,{label:s,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,We.jsx)(C,{label:s,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,We.jsx)(C,{label:s,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,We.jsx)(C,{label:s,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,We.jsx)(C,{label:s,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,We.jsxs)(Fs,{showTicks:u,showButtons:d,style:{width:"400px",...f},...a,children:[(0,We.jsx)(C,{label:s,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,We.jsx)(C,{label:s,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,We.jsx)(C,{label:s,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,We.jsx)(C,{label:s,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,We.jsx)(C,{label:s,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Co.options=Nm;Co.states=km;Co.variants=gm;Co.defaultOptions=$s;Co.modifiers=vm;Co.className=W.className;var Ba=require("react/jsx-runtime"),Xs="k-spin-button",Mm=[],Im={size:[l.undefined,l.small,l.medium,l.large],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},bn={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Mt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:r=bn.increaseLabel,decreaseLabel:s=bn.decreaseLabel,...d}=e;return(0,Ba.jsxs)("span",{...d,className:i(Xs,e.className),children:[(0,Ba.jsx)(c,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":r}),(0,Ba.jsx)(c,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Mt.states=Mm;Mt.options=Im;Mt.className=Xs;Mt.defaultOptions=bn;Mt.moduleName=null;Mt.folderName=null;var qs="numeric-textbox",Ws="numerictextbox";var Le=require("react/jsx-runtime"),Js="k-numerictextbox",ym=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Tm={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},tr={showSpinButton:!0,showClearButton:!0,separators:!0},K=e=>{let{size:t,rounded:o,fillMode:a,separators:r=tr.separators,showClearButton:s=tr.showClearButton,showSpinButton:d=tr.showSpinButton,prefix:u,suffix:f,value:h,placeholder:N,hover:x,focus:p,valid:g,invalid:k,required:S,loading:T,disabled:I,readonly:w,id:U,"aria-label":ae,"aria-describedby":ie,...xe}=e;return(0,Le.jsxs)(G,{...xe,size:t,rounded:o,fillMode:a,hover:x,focus:p,valid:g,invalid:k,required:S,loading:T,disabled:I,readonly:w,className:i(e.className,Js),children:[u&&(0,Le.jsxs)(Le.Fragment,{children:[(0,Le.jsx)(Ee,{children:u}),r&&(0,Le.jsx)(pe,{})]}),(0,Le.jsx)(ke,{id:U,placeholder:N,value:h,role:"spinbutton",disabled:I,"aria-label":ae,"aria-describedby":ie,"aria-invalid":k?"true":void 0}),(0,Le.jsx)(se,{valid:g,invalid:k,loading:T,disabled:I}),(0,Le.jsx)(ce,{loading:T,disabled:I}),s&&(0,Le.jsx)(Ne,{loading:T,disabled:I,readonly:w,value:h}),f&&(0,Le.jsxs)(Le.Fragment,{children:[r&&(0,Le.jsx)(pe,{}),(0,Le.jsx)(Ce,{children:f})]}),d&&(0,Le.jsx)(Mt,{className:"k-input-spinner",size:t,fillMode:a,disabled:I})]})};K.states=ym;K.options=Tm;K.className=Js;K.defaultOptions=tr;K.moduleName=qs;K.folderName=Ws;K.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 Pa=K;var Zs=require("react/jsx-runtime"),Ys=e=>(0,Zs.jsx)(Pa,{...e});var ar=Ki(require("react"));var fn=require("react/jsx-runtime"),Em="k-list-group-sticky-header",hn=e=>(0,fn.jsx)("div",{className:i(Em,e.className),children:(0,fn.jsx)("div",{className:"k-list-header-text",children:e.children})});var Qs=require("react/jsx-runtime"),Cm="k-no-data",or=e=>{let{live:t,...o}=e;return(0,Qs.jsx)("span",{...o,className:i(Cm,e.className),"aria-live":t?"polite":void 0,children:e.children})};var co="list",Oo=co;var Ao=require("react/jsx-runtime"),xn="k-list",Om=[],Am={size:[l.undefined,l.small,l.medium,l.large]},wm={},z=e=>{var g;let{size:t,virtualization:o,children:a,header:r,optionLabel:s,customValue:d,noData:u,screenReaders:f,...h}=e,x=ar.default.Children.toArray(a)[0],p=(g=x==null?void 0:x.props)!=null&&g.children?ar.default.Children.count(x.props.children):ar.default.Children.count(a);return(0,Ao.jsxs)("div",{...h,className:i(e.className,xn,y(xn,{size:t}),{"k-virtual-list":o}),children:[s,d,r&&(0,Ao.jsx)(hn,{children:r}),a||(u!==void 0?u:(0,Ao.jsx)(or,{live:!0,children:"No data found."})),f&&a&&(0,Ao.jsxs)(or,{className:"k-sr-only",live:!0,children:[p," items found."]})]})};z.states=Om;z.options=Am;z.className=xn;z.defaultOptions=wm;z.moduleName=co;z.folderName=Oo;z.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var el=require("react/jsx-runtime"),js="k-list-container",Rm=[],Bm={},Pm={},wo=e=>{let{...t}=e;return(0,el.jsx)("div",{...t,className:i(e.className,js),children:e.children})};wo.states=Rm;wo.options=Bm;wo.className=js;wo.defaultOptions=Pm;wo.moduleName=co;wo.folderName=Oo;var po="checkbox",Ro=po;var Nn=require("react/jsx-runtime"),rr="k-checkbox",Km=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],Dm={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full]},_m={},et=e=>{let{id:t,checked:o,indeterminate:a,hover:r,focus:s,disabled:d,invalid:u,valid:f,required:h,size:N,rounded:x,wrapperRole:p,...g}=e;return(0,Nn.jsx)("span",{className:"k-checkbox-wrap",role:p,children:(0,Nn.jsx)("input",{...g,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:d||void 0,"aria-invalid":u?"true":void 0,className:i(e.className,rr,y(rr,{size:N,rounded:x}),E(rr,{hover:r,focus:s,disabled:d,invalid:u,valid:f,indeterminate:a,checked:o}))})})};et.states=Km;et.options=Dm;et.className=rr;et.defaultOptions=_m;et.moduleName=po;et.folderName=Ro;et.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 ht=et;var al=require("react/jsx-runtime"),tl="k-checkbox-list",zm=[],Hm={},ol={layout:"vertical"},Ue=e=>{let{layout:t=ol.layout,...o}=e;return(0,al.jsx)("ul",{...o,className:i(e.className,tl,{[`k-list-${t}`]:t}),children:e.children})};Ue.states=zm;Ue.options=Hm;Ue.className=tl;Ue.defaultOptions=ol;Ue.moduleName=po;Ue.folderName=Ro;var nl=require("react/jsx-runtime"),rl="k-checkbox-list-item",Fm=[],Um={},Gm={},Ge=e=>{let{...t}=e;return(0,nl.jsx)("li",{...t,className:i(e.className,rl),children:e.children})};Ge.states=Fm;Ge.options=Um;Ge.className=rl;Ge.defaultOptions=Gm;Ge.moduleName=po;Ge.folderName=Ro;var mo=require("react/jsx-runtime"),lt=({children:e="Label",id:t="cb-label-after",...o})=>(0,mo.jsxs)(mo.Fragment,{children:[(0,mo.jsx)(ht,{id:t,...o}),(0,mo.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var kn=require("react/jsx-runtime");var gn=require("react/jsx-runtime");var vn=require("react/jsx-runtime");var Vm=require("react/jsx-runtime");var $m=require("react/jsx-runtime");var Xm=require("react/jsx-runtime");var Ae=require("react/jsx-runtime"),qm=Ue.options,Wm=Ue.states,Jm={...Ue.defaultOptions,variant:"vertical"},Ym=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Zm=[],Bo=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,Ae.jsxs)(Ue,{layout:"horizontal",...o,children:[(0,Ae.jsx)(Ge,{children:(0,Ae.jsx)(lt,{id:R("cb"),defaultChecked:!0,children:"Label"})}),(0,Ae.jsx)(Ge,{children:(0,Ae.jsx)(lt,{id:R("cb"),children:"Label"})}),(0,Ae.jsx)(Ge,{children:(0,Ae.jsx)(lt,{id:R("cb"),children:"Label"})})]}):(0,Ae.jsxs)(Ue,{...o,children:[(0,Ae.jsx)(Ge,{children:(0,Ae.jsx)(lt,{id:R("cb"),defaultChecked:!0,children:"Label"})}),(0,Ae.jsx)(Ge,{children:(0,Ae.jsx)(lt,{id:R("cb"),children:"Label"})}),(0,Ae.jsx)(Ge,{children:(0,Ae.jsx)(lt,{id:R("cb"),children:"Label"})})]})};Bo.options=qm;Bo.states=Wm;Bo.variants=Ym;Bo.defaultOptions=Jm;Bo.modifiers=Zm;Bo.className=Ue.className;var il=require("react/jsx-runtime"),Qm=ht.options,jm=ht.states,eu=ht.defaultOptions,tu=[],ou=[],Po=e=>(0,il.jsx)(lt,{id:R("checkbox"),...e,defaultChecked:!0,children:"Label"});Po.options=Qm;Po.states=jm;Po.variants=tu;Po.defaultOptions=eu;Po.modifiers=ou;Po.className=ht.className;var It=require("react/jsx-runtime"),Ln="k-list-item",au=[n.hover,n.focus,n.selected,n.disabled],ru={},nu={},B=e=>{let{text:t,groupLabel:o,group:a,iconName:r,iconClassName:s,showCheckbox:d,checked:u,hover:f,focus:h,selected:N,disabled:x,actions:p,description:g,id:k,...S}=e,T=t||e.children;return(0,It.jsxs)("li",{...S,id:k,role:a?"presentation":"option",tabIndex:a?void 0:h?0:-1,"aria-selected":!a&&N?"true":a?void 0:"false","aria-disabled":!a&&x?"true":void 0,className:i(e.className,a?"k-list-group-item":Ln,E(Ln,{hover:f,focus:h,disabled:x,selected:N})),children:[d&&(0,It.jsx)(et,{checked:u}),r&&(0,It.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,It.jsx)(L,{icon:r,className:i("k-list-item-icon",s)})}),(0,It.jsx)("span",{className:"k-list-item-text",children:T}),p&&(0,It.jsx)("div",{className:"k-list-item-actions",children:p}),g&&(0,It.jsx)("span",{className:"k-list-item-description",children:g}),o&&o!==""&&(0,It.jsx)("div",{className:"k-list-item-group-label",children:o})]})};B.states=au;B.options=ru;B.className=Ln;B.defaultOptions=nu;B.moduleName=co;B.folderName=Oo;B.ariaSpec={selector:".k-list-item",rules:[{selector:".k-list-item",attribute:"role=option",usage:"Each list item is an option in the listbox."},{selector:".k-list-item",attribute:"id",usage:"ID for aria-activedescendant reference."},{selector:".k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state of the option."},{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-item-icon",attribute:"aria-hidden=true",usage:"Decorative icons are hidden from assistive technology."}]};var sl=require("react/jsx-runtime"),iu="k-list-ul",Rt=e=>{let{children:t,role:o,id:a,...r}=e;return(0,sl.jsx)("ul",{...r,id:a,role:o,className:i(iu,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."}]};var Ko=require("react/jsx-runtime"),su="k-list-content",V=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":r,listboxId:s,...d}=e;return(0,Ko.jsxs)("div",{...d,className:i(su,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?r:void 0,children:[o?e.children:(0,Ko.jsx)(Rt,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":r,children:e.children}),t&&(0,Ko.jsx)("div",{className:"k-height-container",children:(0,Ko.jsx)("div",{})})]})};V.ariaSpec={selector:".k-list-content",rules:[{selector:'.k-list-content[role="listbox"]',attribute:"role=listbox",usage:"For grouped lists, the list content container has the listbox role."},{selector:'.k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."}]};var Sn=require("react/jsx-runtime");var Do=require("react/jsx-runtime"),lu="k-list-group-item",uo=e=>{let{groupIconName:t,...o}=e;return(0,Do.jsxs)("li",{...o,role:"presentation",className:i(lu,e.className),children:[t&&(0,Do.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,Do.jsx)(L,{icon:t,className:"k-list-item-icon"})}),(0,Do.jsx)("span",{className:"k-list-item-text",children:e.children})]})};uo.ariaSpec={selector:".k-list-group-item",rules:[{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-group-item",attribute:"id (when referenced)",usage:"ID for aria-labelledby on the parent group UL."}]};var ll=require("react/jsx-runtime"),Mn="k-list-optionlabel",du=[n.hover,n.focus,n.selected,n.disabled],cu={},pu={},nr=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:s,...d}=e;return(0,ll.jsx)("div",{...d,className:i(Mn,E(Mn,{hover:o,focus:a,selected:r,disabled:s})),children:t})};nr.states=du;nr.options=cu;nr.className=Mn;nr.defaultOptions=pu;var dl=require("react/jsx-runtime"),In="k-list-custom-value",mu=[n.hover,n.focus,n.selected,n.disabled],uu={},bu={},Jt=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:s,...d}=e;return(0,dl.jsx)("div",{...d,className:i(In,E(In,{hover:o,focus:a,selected:r,disabled:s})),children:t})};Jt.states=mu;Jt.options=uu;Jt.className=In;Jt.defaultOptions=bu;var yn=require("react/jsx-runtime");var Tn=require("react/jsx-runtime");var En=require("react/jsx-runtime");var Cn=require("react/jsx-runtime");var fu=require("react/jsx-runtime");var On=require("react/jsx-runtime");var cl="dropdown-list",pl="dropdownlist";var Q=require("react/jsx-runtime"),ml="k-dropdownlist",hu=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],xu={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},An={showValue:!0,arrowIconName:"chevron-down"},P=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:r=An.arrowIconName,showValue:s=An.showValue,valueIconName:d,prefix:u,suffix:f,value:h,placeholder:N,hover:x,focus:p,valid:g,invalid:k,required:S,loading:T,disabled:I,readonly:w,popup:U,opened:ae,adaptive:ie,adaptiveSettings:xe,adaptiveTitle:He,adaptiveSubtitle:ro,adaptiveFilter:Mr,id:Gt,activeDescendant:Ga,"aria-label":Ir,...yr}=e,vc=Gt?`${Gt}-listbox`:void 0,Bi=Gt?`${Gt}-value`:void 0;return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(vt,{...yr,id:Gt,size:t,rounded:o,fillMode:a,hover:x,focus:p,valid:g,invalid:k,required:S,loading:T,disabled:I,readonly:w,className:i(e.className,ml,{"k-icon-picker":!s&&d}),role:"combobox","aria-haspopup":"listbox","aria-expanded":ae?"true":"false","aria-controls":ae?vc:void 0,"aria-activedescendant":ae&&Ga?Ga:void 0,"aria-describedby":ae?Bi:void 0,"aria-disabled":I?"true":void 0,"aria-label":Ir,tabIndex:0,children:[(0,Q.jsx)(Ee,{children:u}),(0,Q.jsx)(so,{placeholder:N,value:h,showValue:s,valueIconName:d,id:Bi}),(0,Q.jsx)(se,{valid:g,invalid:k,loading:T,disabled:I}),(0,Q.jsx)(ce,{loading:T,disabled:I}),(0,Q.jsx)(Ce,{children:f}),(0,Q.jsx)(c,{className:"k-input-button",icon:r,size:e.size,fillMode:e.fillMode,"aria-label":N||"Toggle dropdown",tabIndex:-1})]}),ae&&U&&(0,Q.jsx)(Y,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:U}),ie&&(0,Q.jsx)(te,{adaptive:!0,...xe,header:(0,Q.jsx)(Fe,{actionsEnd:(0,Q.jsx)(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Mr,inputValue:h,inputPlaceholder:N,title:He,subtitle:ro}),children:(0,Q.jsx)("div",{className:"k-list-container",children:(0,Q.jsx)(z,{size:"large",children:(0,Q.jsxs)(V,{"aria-label":"Options",children:[(0,Q.jsx)(B,{text:"List item"}),(0,Q.jsx)(B,{text:"List item"}),(0,Q.jsx)(B,{text:"List item"})]})})})})]})};P.states=hu;P.options=xu;P.className=ml;P.defaultOptions=An;P.moduleName=cl;P.folderName=pl;P.ariaSpec={rules:[{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"role=combobox",usage:"Announces the dropdown element."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-haspopup=listbox",usage:"Indicates the presence of a listbox popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-expanded",usage:"Announces the visibility state of the popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-label",usage:"Accessible name for the dropdown."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-dropdownlist.k-disabled",attribute:"aria-disabled=true",usage:"Rendered when the dropdown is disabled."},{selector:".k-dropdownlist .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-dropdownlist .k-input-button",attribute:"tabindex=-1",usage:"The button must not be focusable."},{selector:".k-dropdownlist-popup .k-list-content, .k-dropdownlist-popup .k-list-ul",attribute:"role=listbox",usage:"Popup list has listbox role."},{selector:'.k-dropdownlist-popup .k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby",usage:"Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."},{selector:".k-dropdownlist-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."}]};var Nu=require("react/jsx-runtime");var ul=require("react/jsx-runtime");var wn=require("react/jsx-runtime");var ku=require("react/jsx-runtime");var bl=require("react/jsx-runtime");var Rn=require("react/jsx-runtime");var gu=require("react/jsx-runtime");var Je=require("react/jsx-runtime"),vu=P.states,Lu=P.defaultOptions,Su=P.options,Mu=[{name:"opened",title:"Opened"}],Iu=[],zo=e=>{let{modifiers:t,...o}=e,a={},r=(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)("div",{className:"k-list-filter",children:(0,Je.jsx)(nt,{})}),(0,Je.jsx)(z,{style:{width:300},size:o.size,children:(0,Je.jsxs)(V,{children:[(0,Je.jsx)(B,{children:"List item"}),(0,Je.jsx)(B,{children:"List item"}),(0,Je.jsx)(B,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!(t!=null&&t[s]),a.popup=t!=null&&t[s]?r:void 0)}),(0,Je.jsx)("div",{children:(0,Je.jsx)(P,{placeholder:"Value",style:{width:300},...o,...a})})};zo.options=Su;zo.states=vu;zo.variants=Iu;zo.defaultOptions=Lu;zo.modifiers=Mu;zo.className=P.className;var fl=require("react/jsx-runtime");var hl=require("react/jsx-runtime");var yu=require("react/jsx-runtime");var ir=require("react/jsx-runtime"),Tu=K.states,Eu=K.defaultOptions,Cu=K.options,Ou=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Au=[],Ho=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t!=null&&t[r]?(0,ir.jsx)(P,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t!=null&&t[r]?(0,ir.jsx)($r,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[r];break;case"spin-button":a.showSpinButton=t==null?void 0:t[r];break;default:break}}),(0,ir.jsx)(Ys,{value:"Value",style:{width:300},...o,...a})};Ho.options=Cu;Ho.states=Tu;Ho.variants=Au;Ho.defaultOptions=Eu;Ho.modifiers=Ou;Ho.className=K.className;var M=require("react/jsx-runtime"),xl="k-colorgradient-inputs",wu=[],Ru={size:[l.undefined,l.small,l.medium,l.large]},Nl={mode:"rgba"},Fo=e=>{let{mode:t=Nl.mode,size:o,...a}=e;return(0,M.jsxs)("div",{...a,className:i(xl,"k-hstack"),children:[(0,M.jsx)("div",{className:"k-vstack",children:(0,M.jsx)(c,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,M.jsx)(M.Fragment,{children:(0,M.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,M.jsx)(F,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Fo.states=wu;Fo.options=Ru;Fo.className=xl;Fo.defaultOptions=Nl;var we=require("react/jsx-runtime"),kl="k-colorgradient-color-contrast",Bu=[],Pu={},Ku={},Uo=()=>(0,we.jsxs)("div",{className:i(kl,"k-vbox"),children:[(0,we.jsxs)("div",{className:"k-contrast-ratio",children:[(0,we.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,we.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,we.jsx)(L,{icon:"check"}),(0,we.jsx)(L,{icon:"check"})]})]}),(0,we.jsxs)("div",{children:[(0,we.jsx)("span",{children:"AA: 4.5"}),(0,we.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,we.jsx)(L,{icon:"check"})]})]}),(0,we.jsxs)("div",{children:[(0,we.jsx)("span",{children:"AAA: 7.0"}),(0,we.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,we.jsx)(L,{icon:"x"})]})]})]});Uo.states=Bu;Uo.options=Pu;Uo.className=kl;Uo.defaultOptions=Ku;var gl="color-gradient",vl="colorgradient";var le=require("react/jsx-runtime"),sr="k-colorgradient",Du=[n.hover,n.focus,n.readonly,n.disabled],_u={size:[l.undefined,l.small,l.medium,l.large]},yt={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"},ue=e=>{let{size:t,mode:o=yt.mode,readonly:a=yt.readonly,disabled:r=yt.disabled,gradientStyle:s=yt.gradientStyle,dragHandleStyle:d=yt.dragHandleStyle,alphaStyle:u=yt.alphaStyle,alphaStyleHorizontal:f=yt.alphaStyleHorizontal,contrast:h=yt.contrast,dir:N,hover:x,focus:p,hoverHandle:g,focusHandle:k,canvasOrientation:S=yt.canvasOrientation,role:T,tabIndex:I,...w}=e;return(0,le.jsxs)("div",{...w,role:T??"textbox","aria-label":T==="none"?void 0:"Color gradient",tabIndex:I??0,"aria-disabled":r?"true":void 0,className:i(e.className,sr,y(sr,{size:t}),E(sr,{hover:x,focus:p,readonly:a,disabled:r})),dir:N,children:[!S||S==="horizontal"&&(0,le.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,le.jsx)("div",{className:"k-hsv-rectangle",style:s,children:(0,le.jsx)("div",{className:"k-hsv-gradient",children:(0,le.jsx)("div",{className:i("k-hsv-draghandle","k-draghandle",{"k-hover":g,"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})})}),(0,le.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,le.jsx)(pn,{className:"k-hue-slider",hover:g,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,le.jsx)(pn,{className:"k-alpha-slider",hover:g,focus:k,trackStyle:u})]})]}),S==="vertical"&&(0,le.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,le.jsx)("div",{className:"k-hsv-rectangle",style:s,children:(0,le.jsx)("div",{className:"k-hsv-gradient",children:(0,le.jsx)("div",{className:i("k-hsv-draghandle","k-draghandle",{"k-hover":g,"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})})}),(0,le.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,le.jsx)(cn,{className:"k-hue-slider",hover:g,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,le.jsx)(cn,{className:"k-alpha-slider",hover:g,focus:k,trackStyle:f})]})]}),(0,le.jsx)(Fo,{mode:e.mode,size:t}),h&&(0,le.jsx)(Uo,{})]})};ue.states=Du;ue.options=_u;ue.className=sr;ue.defaultOptions=yt;ue.moduleName=gl;ue.folderName=vl;ue.ariaSpec={selector:".k-colorgradient",rules:[{selector:".k-colorgradient",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a value that could be submitted."},{selector:".k-colorgradient",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorgradient",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorgradient.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorGradient is disabled."},{selector:".k-hsv-draghandle",attribute:"role=slider",usage:"The 2D draghandle must have slider role for ARIA-allowed attributes."},{selector:".k-hsv-draghandle",attribute:"aria-orientation=undefined",usage:"The implicit orientation for the slider must be removed for the 2D handle."},{selector:".k-hsv-draghandle",attribute:"aria-label",usage:"Must provide information about the purpose of the slider and the currently selected color."},{selector:".k-hsv-draghandle",attribute:"aria-valuetext",usage:"Must specify the values on both X and Y axis."},{selector:".k-hsv-draghandle",attribute:"aria-valuenow",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemin",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemax",usage:"Required by the slider role."},{selector:".k-numerictextbox>.k-input-inner",attribute:"aria-label",usage:"Must provide the name of the channel (red, green, blue, or alpha)."}]};var Ll=require("react/jsx-runtime"),lr=e=>(0,Ll.jsx)(ue,{...e});var zu=require("react/jsx-runtime");var Hu=require("react/jsx-runtime");var dr=require("react/jsx-runtime"),Fu=ue.options,Uu=ue.states,Gu={...ue.defaultOptions,variant:"rgba"},Vu=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],$u=[],Go=e=>{let{variant:t,...o}=e;switch(t){case"hex":return(0,dr.jsx)(lr,{...o,mode:t});case"rgb":return(0,dr.jsx)(lr,{...o,mode:t});default:return(0,dr.jsx)(lr,{...o,mode:t})}};Go.options=Fu;Go.states=Uu;Go.variants=Vu;Go.defaultOptions=Gu;Go.modifiers=$u;Go.className=ue.className;var Sl=require("react/jsx-runtime"),Bn=e=>(0,Sl.jsx)("tr",{role:"row",children:e.children});var Ml=require("react/jsx-runtime"),Pn="k-colorpalette-tile",Xu=[n.hover,n.focus,n.selected],qu={},Vo=e=>{let{color:t,tileSize:o,hover:a,focus:r,selected:s,...d}=e,u={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,Ml.jsx)("td",{...d,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:i(e.className,Pn,E(Pn,{hover:a,focus:r,selected:s})),style:u})};Vo.states=Xu;Vo.options=qu;Vo.className=Pn;var Il="color-palette",yl="colorpalette";var $o=require("react/jsx-runtime"),cr="k-colorpalette",Wu=[n.disabled],Ju={size:[l.undefined,l.small,l.medium,l.large]},Tl={columns:10},Ve=e=>{let{size:t,palette:o,columns:a=Tl.columns,tileSize:r,disabled:s,...d}=e,u=[];if(o){let f=a||o.columns,h=o.colors?o.colors:o;Array.isArray(h)&&Array.from({length:Math.ceil(h.length/f)},(N,x)=>{let p=[];h.slice(x*f,(x+1)*f).map((k,S)=>{p.push((0,$o.jsx)(Vo,{color:k,tileSize:r},S))});let g=(0,$o.jsx)(Bn,{children:p},x);u.push(g)})}return(0,$o.jsx)("div",{...d,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:i(e.className,cr,E(cr,{disabled:s}),y(cr,{size:t})),children:(0,$o.jsx)("table",{className:"k-colorpalette-table",role:"none",children:(0,$o.jsx)("tbody",{children:u.length>0?u:e.children})})})};Ve.states=Wu;Ve.options=Ju;Ve.className=cr;Ve.defaultOptions=Tl;Ve.moduleName=Il;Ve.folderName=yl;Ve.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 pr=Ve;var Ka={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};var Cl=require("react/jsx-runtime"),El=e=>(0,Cl.jsx)(pr,{palette:Ka.basic,...e});var Yu=require("react/jsx-runtime");var Ol=require("react/jsx-runtime");var Al=require("react/jsx-runtime"),Zu=Ve.options,Qu=Ve.states,ju={...Ve.defaultOptions,variant:"basic"},eb=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],tb={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}},ob=[],Xo=e=>{let{variant:t="basic",...o}=e,a=tb[t];return(0,Al.jsx)(El,{columns:a.columns,palette:a,...o})};Xo.options=Zu;Xo.states=Qu;Xo.variants=eb;Xo.defaultOptions=ju;Xo.modifiers=ob;Xo.className=Ve.className;var wl="color-editor",Rl="coloreditor";var re=require("react/jsx-runtime"),mr="k-coloreditor",ab=[n.focus],rb={size:[l.undefined,l.small,l.medium,l.large]},Da={view:"gradient",palette:Ka.office,actionButtons:!0,canvasOrientation:"horizontal"},oe=e=>{let{size:t,view:o=Da.view,palette:a=Da.palette,color:r,currentColor:s,focus:d,focusView:u,dir:f,group:h,actionButtons:N=Da.actionButtons,canvasOrientation:x=Da.canvasOrientation,...p}=e;return(0,re.jsxs)("div",{...p,role:"textbox","aria-label":"Color editor",tabIndex:0,className:i(e.className,"k-flatcolorpicker",mr,y(mr,{size:t}),E(mr,{focus:d})),dir:f,children:[(0,re.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,re.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:h&&(0,re.jsxs)(A,{fillMode:"flat",children:[(0,re.jsx)(c,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),(0,re.jsx)(c,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),(0,re.jsx)("div",{className:"k-spacer"}),(0,re.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,re.jsx)(c,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),(0,re.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,re.jsx)(Vt,{className:"k-coloreditor-preview-color",color:r}),(0,re.jsx)(Vt,{className:"k-coloreditor-current-color",color:s})]})]})]}),(0,re.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,re.jsx)(ue,{focus:u,size:t,canvasOrientation:x,role:"none",tabIndex:-1}):(0,re.jsx)(Ve,{palette:a,size:t})}),N&&(0,re.jsxs)(St,{className:"k-coloreditor-footer",alignment:"start",children:[(0,re.jsx)(c,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,re.jsx)(c,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};oe.states=ab;oe.options=rb;oe.className=mr;oe.defaultOptions=Da;oe.moduleName=wl;oe.folderName=Rl;oe.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 qo=oe;var nb=require("react/jsx-runtime");var ib=require("react/jsx-runtime");var Pl=require("react/jsx-runtime"),Bl=e=>(0,Pl.jsx)(qo,{group:!0,currentColor:"fuchsia",...e});var Dl=require("react/jsx-runtime"),Kl=e=>(0,Dl.jsx)(qo,{view:"palette",group:!0,currentColor:"fuchsia",...e});var Kn=require("react/jsx-runtime"),sb=oe.options,lb=oe.states,db={...oe.defaultOptions,variant:"gradient"},cb=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],pb=[],Wo=e=>{let{variant:t,...o}=e;return t==="palette"?(0,Kn.jsx)(Kl,{...o,color:"white"}):(0,Kn.jsx)(Bl,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Wo.options=sb;Wo.states=lb;Wo.variants=cb;Wo.defaultOptions=db;Wo.modifiers=pb;Wo.className=oe.className;var _l="color-picker",zl="colorpicker";var de=require("react/jsx-runtime"),Hl="k-colorpicker",mb=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],ub={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Fl={arrowIconName:"chevron-down"},tt=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:r=Fl.arrowIconName,prefix:s,suffix:d,value:u,placeholder:f,hover:h,focus:N,valid:x,invalid:p,required:g,disabled:k,valueIconName:S,popup:T,opened:I,adaptive:w,adaptiveSettings:U,adaptiveTitle:ae,adaptiveSubtitle:ie,...xe}=e,He="colorpicker-popup";return(0,de.jsxs)(de.Fragment,{children:[(0,de.jsxs)(vt,{...xe,size:t,rounded:o,fillMode:a,hover:h,focus:N,valid:x,invalid:p,required:g,disabled:k,role:"combobox","aria-haspopup":"dialog","aria-expanded":I?"true":"false","aria-controls":I||w?He:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":k?"true":void 0,className:i(e.className,Hl,"k-icon-picker"),children:[(0,de.jsx)(Ee,{children:s}),(0,de.jsx)(so,{placeholder:f,value:u,showValue:!1,valueIcon:(0,de.jsx)(Vt,{className:"k-value-icon",color:u,iconName:S}),valueIconName:S}),(0,de.jsx)(Ce,{children:d}),(0,de.jsx)(c,{className:"k-input-button",icon:r,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:k})]}),I&&T&&(0,de.jsx)(Y,{id:He,className:"k-colorpicker-popup",children:T}),w&&(0,de.jsx)(te,{adaptive:!0,id:He,...U,header:(0,de.jsx)(Fe,{actionsEnd:(0,de.jsx)(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:ae,subtitle:ie}),footer:(0,de.jsxs)($t,{children:[(0,de.jsx)(c,{text:"Cancel",size:"large"}),(0,de.jsx)(c,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,de.jsx)(oe,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};tt.states=mb;tt.options=ub;tt.className=Hl;tt.defaultOptions=Fl;tt.moduleName=_l;tt.folderName=zl;tt.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 Bt=tt;var Ul=require("react/jsx-runtime"),ur=e=>(0,Ul.jsx)(Bt,{...e});var bb=require("react/jsx-runtime");var fb=require("react/jsx-runtime");var hb=require("react/jsx-runtime");var xb=require("react/jsx-runtime");var Nb=require("react/jsx-runtime");var kb=require("react/jsx-runtime");var Yt=require("react/jsx-runtime"),gb=Bt.options,vb=Bt.states,Gl={...Bt.defaultOptions,variant:"color"},Lb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Sb=[{name:"opened",title:"Opened"}],Jo=e=>{let{variant:t,modifiers:o,...a}={...Gl,...e},r={};Object.keys(o||{}).forEach(d=>{d==="opened"&&(r.opened=!!(o!=null&&o[d]),r.popup=o!=null&&o[d]?(0,Yt.jsx)(oe,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let s=r.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return(0,Yt.jsx)("div",{style:s,children:(0,Yt.jsx)(ur,{...a,...r})});case"icon":return(0,Yt.jsx)("div",{style:s,children:(0,Yt.jsx)(ur,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...r})});default:return(0,Yt.jsx)("div",{style:s,children:(0,Yt.jsx)(ur,{value:"rgba(183, 118 , 118, 1.00)",...a,...r})})}};Jo.options=gb;Jo.states=vb;Jo.variants=Lb;Jo.defaultOptions=Gl;Jo.modifiers=Sb;Jo.className=Bt.className;var Dn="combobox",Vl=Dn;var H=require("react/jsx-runtime"),$l="k-combobox",Mb=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Ib={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Xl={separators:!0},Re=e=>{let{size:t,rounded:o,fillMode:a,separators:r=Xl.separators,prefix:s,suffix:d,value:u,placeholder:f,hover:h,focus:N,valid:x,invalid:p,required:g,loading:k,disabled:S,popup:T,opened:I,readonly:w,adaptive:U,adaptiveSettings:ae,adaptiveTitle:ie,adaptiveSubtitle:xe,adaptiveCustomValue:He,id:ro,autocomplete:Mr,activeDescendant:Gt,"aria-label":Ga,...Ir}=e,yr=ro?`${ro}-listbox`:void 0;return(0,H.jsxs)(H.Fragment,{children:[(0,H.jsxs)(G,{...Ir,size:t,rounded:o,fillMode:a,hover:h,focus:N,valid:x,invalid:p,required:g,loading:k,disabled:S,readonly:w,className:i(e.className,$l),children:[s&&(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(Ee,{children:s}),r&&(0,H.jsx)(pe,{})]}),(0,H.jsx)(ke,{id:ro,placeholder:f,value:u,role:"combobox","aria-haspopup":"listbox","aria-expanded":I?"true":"false","aria-controls":I?yr:void 0,"aria-activedescendant":I&&Gt?Gt:void 0,"aria-autocomplete":Mr,"aria-invalid":p?"true":void 0,"aria-busy":k?"true":void 0,"aria-label":Ga,disabled:S,readOnly:w}),(0,H.jsx)(se,{valid:x,invalid:p,loading:k,disabled:S}),(0,H.jsx)(ce,{loading:k,disabled:S}),(0,H.jsx)(Ne,{loading:k,disabled:S,readonly:w,value:u}),d&&(0,H.jsxs)(H.Fragment,{children:[r&&(0,H.jsx)(pe,{}),(0,H.jsx)(Ce,{children:d})]}),(0,H.jsx)(c,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:S})]}),I&&T&&(0,H.jsx)(Y,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:T}),U&&(0,H.jsx)(te,{adaptive:!0,id:ro?`${ro}-adaptive`:void 0,...ae,header:(0,H.jsx)(Fe,{actionsEnd:(0,H.jsx)(c,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:u,inputPlaceholder:f,title:ie,subtitle:xe}),children:(0,H.jsx)("div",{className:"k-list-container",children:(0,H.jsx)(z,{customValue:He?(0,H.jsx)(Jt,{text:`Use "${u}"`}):void 0,size:"large",children:(0,H.jsxs)(V,{"aria-label":ie||"Options",children:[(0,H.jsx)(B,{text:"List item"}),(0,H.jsx)(B,{text:"List item"}),(0,H.jsx)(B,{text:"List item"})]})})})})]})};Re.states=Mb;Re.options=Ib;Re.className=$l;Re.defaultOptions=Xl;Re.moduleName=Dn;Re.folderName=Vl;Re.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 ot=Re;var Wl=require("react/jsx-runtime"),ql=e=>(0,Wl.jsx)(ot,{...e});var Jl=require("react/jsx-runtime");var Yl=require("react/jsx-runtime");var Zl=require("react/jsx-runtime");var Ql=require("react/jsx-runtime");var jl=require("react/jsx-runtime");var ed=require("react/jsx-runtime");var _n=require("react/jsx-runtime");var yb=require("react/jsx-runtime");var Tb=require("react/jsx-runtime");var td=require("react/jsx-runtime");var od=require("react/jsx-runtime");var xt=require("react/jsx-runtime"),Eb=Re.states,Cb=Re.defaultOptions,Ob=Re.options,Ab=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],wb=[],Yo=e=>{let{modifiers:t,...o}=e,a={},r=(0,xt.jsx)(z,{style:{width:300},size:o.size,children:(0,xt.jsxs)(V,{children:[(0,xt.jsx)(B,{children:"List item"}),(0,xt.jsx)(B,{children:"List item"}),(0,xt.jsx)(B,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t!=null&&t[s]?(0,xt.jsx)(L,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t!=null&&t[s]?(0,xt.jsx)(wt,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!(t!=null&&t[s]),a.popup=t!=null&&t[s]?r:void 0;break;default:break}}),(0,xt.jsx)("div",{children:(0,xt.jsx)(ql,{value:"Value",style:{width:300},...o,...a})})};Yo.options=Ob;Yo.states=Eb;Yo.variants=wb;Yo.defaultOptions=Cb;Yo.modifiers=Ab;Yo.className=Re.className;var zn="menu-button",ad=zn;var nd=require("react/jsx-runtime"),rd="k-menu-button",Rb=[n.hover,n.focus,n.active,n.selected,n.disabled],Bb={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},Hn={showArrow:!0,arrowIconName:"chevron-down"},$=e=>{let{size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:d,active:u,selected:f,disabled:h,icon:N,text:x,showArrow:p=Hn.showArrow,arrowIconName:g=Hn.arrowIconName,expanded:k,...S}=e;return(0,nd.jsx)(c,{...S,className:i(e.className,rd),text:x,size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:d,active:u,selected:f,disabled:h,icon:N,showArrow:p,arrowIconName:g,"aria-expanded":k?"true":"false",...!x&&N&&!e["aria-label"]&&{"aria-label":"Menu"},...h&&{"aria-disabled":"true"}})};$.states=Rb;$.options=Bb;$.className=rd;$.defaultOptions=Hn;$.moduleName=zn;$.folderName=ad;$.ariaSpec={selector:".k-menu-button",rules:[{selector:".k-menu-button",attribute:"role=button or nodeName=button",usage:"Omitted if the button DOM element is used."},{selector:".k-menu-button",attribute:"aria-label (when icon-only)",usage:"Required when no text is visible in the button."},{selector:".k-menu-button",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-menu-button",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-menu-button.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};var Pb=require("react/jsx-runtime");var Kb=require("react/jsx-runtime");var Db=require("react/jsx-runtime");var at="menu",dt=at;var Pt=require("react/jsx-runtime"),Fn="k-menu-item",_b=[n.hover,n.focus,n.active,n.selected,n.disabled],zb={},id={iconPosition:"before"},Be=e=>{let{hover:t,focus:o,active:a,selected:r,disabled:s,icon:d,text:u,first:f,last:h,showArrow:N,arrowIconName:x,iconPosition:p=id.iconPosition,dir:g,children:k,expanded:S,...T}=e,I=x;return I||(I=g==="rtl"?"chevron-left":"chevron-right"),(0,Pt.jsxs)("li",{...T,className:i(e.className,Fn,"k-item",E(Fn,{focus:o,disabled:s,hover:t,active:a,selected:r}),{"k-first":f,"k-last":h}),role:"menuitem",...N&&{"aria-haspopup":"menu"},...N&&{"aria-expanded":S?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,Pt.jsxs)("span",{className:i("k-link k-menu-link"),children:[d&&p==="before"&&(0,Pt.jsx)(L,{className:"k-menu-link-icon",icon:d}),(0,Pt.jsx)("span",{className:"k-menu-link-text",children:u}),d&&p==="after"&&(0,Pt.jsx)(L,{className:"k-menu-link-icon",icon:d}),N&&(0,Pt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,Pt.jsx)(L,{icon:I})})]}),k]})};Be.states=_b;Be.options=zb;Be.className=Fn;Be.defaultOptions=id;Be.moduleName=at;Be.folderName=dt;var Kt=require("react/jsx-runtime"),Un="k-menu-item",Hb=[n.hover,n.focus,n.active,n.selected,n.disabled],Fb={},Gn={dir:"ltr",iconPosition:"before"},j=e=>{let{hover:t,focus:o,active:a,selected:r,disabled:s,icon:d,text:u,first:f,last:h,showArrow:N,arrowIconName:x,iconPosition:p=Gn.iconPosition,dir:g=Gn.dir,children:k,popup:S,expanded:T,...I}=e,w=x;return w||(w=g==="rtl"?"chevron-left":"chevron-right"),(0,Kt.jsxs)("li",{...I,className:i(e.className,Un,"k-item",E(Un,{focus:o,disabled:s}),{"k-first":f,"k-last":h}),role:"menuitem",...N&&{"aria-haspopup":"menu"},...N&&{"aria-expanded":T?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,Kt.jsxs)("span",{className:i("k-link k-menu-link",E("k-menu-link",{hover:t,active:a,selected:r,disabled:s})),children:[d&&p==="before"&&(0,Kt.jsx)(L,{className:"k-menu-link-icon",icon:d}),(0,Kt.jsx)("span",{className:"k-menu-link-text",children:u}),d&&p==="after"&&(0,Kt.jsx)(L,{className:"k-menu-link-icon",icon:d}),N&&(0,Kt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,Kt.jsx)(L,{icon:w})})]}),k,S]})};j.states=Hb;j.options=Fb;j.className=Un;j.defaultOptions=Gn;j.moduleName=at;j.folderName=dt;var dd=require("react/jsx-runtime"),sd="k-menu-scroll-wrapper",Ub=[],Gb={},Vb={},bo=e=>{let{className:t,children:o,orientation:a,...r}=e;return(0,dd.jsx)("div",{...r,className:i(t,sd,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};bo.states=Ub;bo.options=Gb;bo.className=sd;bo.defaultOptions=Vb;bo.moduleName=at;bo.folderName=dt;var ld=bo;var Se=require("react/jsx-runtime"),Vn="k-menu",$b=[],Xb={},fr={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},be=e=>{let{children:t,orientation:o=fr.orientation,header:a=fr.header,scrollable:r,scrollButtonsPosition:s=fr.scrollButtonsPosition,wrapperStyles:d,dir:u,popup:f,contextMenu:h,...N}=e,x={horizontal:{prev:u!=="rtl"?"left":"right",next:u!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},p=(0,Se.jsx)("ul",{dir:u,...N,className:i(e.className,"k-reset",Vn,{[`${Vn}-${o}`]:o,"k-header":a}),role:h?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return(0,Se.jsxs)(Se.Fragment,{children:[r?(0,Se.jsxs)(ld,{orientation:o,style:d,dir:e.dir,children:[s==="start"&&(0,Se.jsxs)(Se.Fragment,{children:[(0,Se.jsx)(c,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,Se.jsx)(c,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&(0,Se.jsx)(c,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),p,s==="end"&&(0,Se.jsxs)(Se.Fragment,{children:[(0,Se.jsx)(c,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,Se.jsx)(c,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&(0,Se.jsx)(c,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):p,f]})};be.states=$b;be.options=Xb;be.className=Vn;be.defaultOptions=fr;be.moduleName=at;be.folderName=dt;be.ariaSpec={selector:".k-menu",rules:[{selector:".k-menu:not(.k-context-menu)",attribute:"role=menubar",usage:"Announces the Menu menubar role."},{selector:".k-menu.k-menu-vertical",attribute:"aria-orientation=vertical",usage:"Announces the Menu orientation when vertical."},{selector:".k-menu-item",attribute:"role=menuitem",usage:"Announces the Menu item role."},{selector:".k-menu-item",attribute:"aria-haspopup=menu (when present)",usage:"Indicates a popup menu is associated with the item."},{selector:".k-menu-item",attribute:"aria-expanded=true/false (when present)",usage:"Indicates whether the submenu is expanded."},{selector:".k-menu-item.k-disabled",attribute:"aria-disabled=true",usage:"Informs assistive technologies that a Menu item is disabled."},{selector:".k-menu-expand-arrow",attribute:"aria-hidden=true",usage:"Expand arrow elements are hidden from assistive technologies."},{selector:".k-menu-popup .k-menu-group",attribute:"role=menu",usage:"The role of the nested menu displayed in a popup."},{selector:".k-menu-scroll-button",attribute:"tabindex=-1",usage:"Scroll buttons are removed from the tab sequence."},{selector:".k-menu-scroll-button",attribute:"aria-label",usage:"Scroll buttons have an accessible label."},{selector:".k-menu-item.k-focus",attribute:"tabindex=0",usage:"The focused item has tabindex 0."},{selector:".k-menu-item",attribute:"aria-controls=ul.k-menu-group id (when present)",usage:"Points to the ID of the submenu. Only present when the item controls a submenu element."},{selector:".k-menu-popup .k-menu-group",attribute:"id",usage:"Each nested menu has a deterministic id linked to the parent aria-controls."}]};var pd=require("react/jsx-runtime"),$n="k-separator",cd={orientation:"horizontal"},Zo=e=>{let{orientation:t=cd.orientation,...o}=e;return(0,pd.jsx)("li",{...o,className:i(e.className,"k-item",$n,{[`${$n}-${t}`]:t}),role:"separator"})};Zo.className=$n;Zo.defaultOptions=cd;Zo.moduleName=at;Zo.folderName=dt;var md=require("react/jsx-runtime");var ud=require("react/jsx-runtime"),Xn="k-menu-group",qb=[],Wb={size:[l.undefined,l.small,l.medium,l.large]},Jb={},Pe=e=>{let{children:t,size:o,...a}=e;return(0,ud.jsx)("ul",{...a,className:i(e.className,Xn,y(Xn,{size:o})),role:"menu",children:t})};Pe.states=qb;Pe.options=Wb;Pe.className=Xn;Pe.defaultOptions=Jb;Pe.moduleName=at;Pe.folderName=dt;var Nt=require("react/jsx-runtime"),qn=e=>(0,Nt.jsx)(be,{children:(0,Nt.jsxs)(Nt.Fragment,{children:[(0,Nt.jsx)(Be,{first:!0,text:"Item 1"}),(0,Nt.jsx)(Be,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),(0,Nt.jsx)(Be,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),(0,Nt.jsx)(Be,{text:"Item 4"}),(0,Nt.jsx)(Be,{last:!0,text:"Item 5"})]}),...e});var Wn=require("react/jsx-runtime");var Jn=require("react/jsx-runtime");var Yn=require("react/jsx-runtime");var Zn=require("react/jsx-runtime");var Tt=require("react/jsx-runtime"),Yb=be.options,Zb=be.states,bd={...be.defaultOptions,variant:"horizontal"},Qb=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],jb=[{name:"scrollable",title:"Scrollable"},{name:"opened",title:"Opened"}],Qo=e=>{let{variant:t,modifiers:o,...a}={...bd,...e},r={};return Object.keys(o||{}).forEach(s=>{switch(s){case"scrollable":r.scrollable=!!(o!=null&&o[s]);break;case"opened":r.opened=!!(o!=null&&o[s]),r.popup=(0,Tt.jsx)(Y,{className:"k-menu-popup",children:(0,Tt.jsxs)(Pe,{children:[(0,Tt.jsx)(j,{text:"Item 1"}),(0,Tt.jsx)(j,{text:"Item 2"}),(0,Tt.jsx)(Zo,{}),(0,Tt.jsx)(j,{text:"Item 3"})]})});break}}),t==="vertical"?(0,Tt.jsx)(qn,{...a,...r,orientation:"vertical",style:{width:"200px"}}):(0,Tt.jsx)(qn,{...a,...r})};Qo.options=Yb;Qo.states=Zb;Qo.variants=Qb;Qo.defaultOptions=bd;Qo.modifiers=jb;Qo.className=be.className;var Qn=require("react/jsx-runtime");var ef=require("react/jsx-runtime");var Ke=require("react/jsx-runtime"),tf=c.states,fd={...c.defaultOptions,variant:"text"},of=c.options,af=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],rf=[{name:"opened",title:"Opened"}],jo=e=>{let{variant:t,modifiers:o,...a}={...fd,...e},r={},s=(0,Ke.jsx)(Y,{className:"k-menu-popup",children:(0,Ke.jsxs)(Pe,{size:a.size,children:[(0,Ke.jsx)(j,{first:!0,text:"Menu Item"}),(0,Ke.jsx)(j,{text:"Menu Item"}),(0,Ke.jsx)(j,{last:!0,text:"Menu Item"})]})}),d;switch(t){case"icon-only":d=(0,Ke.jsx)("div",{children:(0,Ke.jsx)($,{...a,...r,icon:"star"})});break;case"icon-and-text":d=(0,Ke.jsx)("div",{children:(0,Ke.jsx)($,{...a,...r,icon:"star",children:"Dropdown Button"})});break;default:d=(0,Ke.jsx)("div",{children:(0,Ke.jsx)($,{...a,...r,children:"Dropdown Button"})});break}return(0,Ke.jsxs)(Ke.Fragment,{children:[d,(o==null?void 0:o.opened)&&s]})};jo.options=of;jo.states=tf;jo.variants=af;jo.defaultOptions=fd;jo.modifiers=rf;jo.className=$.className;var jn="split-button",hd=jn;var Dt=require("react/jsx-runtime"),ei="k-split-button",nf=[n.hover,n.focus,n.active,n.selected,n.disabled],sf={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},xd={arrowIconName:"chevron-down"},D=e=>{let{size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:d,active:u,selected:f,disabled:h,icon:N,text:x,arrowIconName:p=xd.arrowIconName,popup:g,opened:k,popupId:S,...T}=e;return(0,Dt.jsxs)(Dt.Fragment,{children:[(0,Dt.jsxs)("div",{...T,className:i(e.className,ei,"k-button-group",y(ei,{rounded:o})),children:[(0,Dt.jsx)(c,{text:x,icon:N,size:t,rounded:o,fillMode:a,themeColor:r,hover:s,focus:d,active:u,selected:f,disabled:h,...!x&&!e.children&&N&&{"aria-label":"Action"},children:e.children}),(0,Dt.jsx)(c,{className:"k-split-button-arrow",icon:p,size:t,rounded:o,fillMode:a,disabled:h,"aria-label":"Toggle dropdown","aria-expanded":k?"true":"false","aria-controls":k?S:void 0,tabIndex:-1,...h&&{"aria-disabled":"true"}})]}),k&&g&&(0,Dt.jsx)(Y,{className:"k-menu-popup",children:g})]})};D.states=nf;D.options=sf;D.className=ei;D.defaultOptions=xd;D.moduleName=jn;D.folderName=hd;D.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 ti=D;var Nd=require("react/jsx-runtime"),lf="k-toolbar-separator",fe=e=>(0,Nd.jsx)("div",{className:i(lf,e.className,"k-separator")});var _t="toolbar",Zt=_t;var O=require("react/jsx-runtime"),zt="k-toolbar",df=[n.focus],cf={size:[l.undefined,l.small,l.medium,l.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},pf={scrollButtons:"around"},X=e=>{let{size:t,fillMode:o,focus:a,resizable:r,scrollable:s,scrollButtons:d,scrollingPosition:u,section:f,...h}=e,N=[],x=(p,g)=>{let k=[];if(p.type===c&&p.props.className&&p.props.className.includes("k-toolbar-overflow-button"))k.push((0,O.jsx)(c,{...p.props,className:`${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===c)k.push((0,O.jsx)(c,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===ga)k.push((0,O.jsx)(ga,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===wt)k.push((0,O.jsx)(wt,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===$)k.push((0,O.jsx)($,{...p.props,className:`k-toolbar-menu-button ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===ti)k.push((0,O.jsx)(ti,{...p.props,className:`k-toolbar-split-button ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`));else if(p.type===A||p.props.className&&p.props.className.includes("k-button-group")){let S=[];(Array.isArray(p.props.children)?p.props.children:[p.props.children]).forEach((I,w)=>{S.push((0,O.jsx)(c,{...I.props,className:`${I.props.className?I.props.className:""}`},`${w}-${new Date().getTime()}`))}),k.push((0,O.jsx)(A,{...p.props,className:`k-toolbar-button-group ${p.props.className?p.props.className:""}`,children:S},`${g}-${new Date().getTime()}`))}else p.type===Re?k.push((0,O.jsx)(Re,{...p.props,className:`k-toolbar-combobox ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`)):p.type===P?k.push((0,O.jsx)(P,{...p.props,className:`k-toolbar-dropdownlist ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`)):p.type===tt?k.push((0,O.jsx)(tt,{...p.props,className:`k-toolbar-colorpicker ${p.props.className?p.props.className:""}`},`${g}-${new Date().getTime()}`)):k.push(p);k.forEach(S=>{N.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((g,k)=>{x(g,k)}),(0,O.jsxs)("div",{...h,className:i(e.className,zt,y(zt,{size:t,fillMode:o}),E(zt,{focus:a}),{[`${zt}-resizable`]:r,[`${zt}-scrollable`]:s,[`${zt}-scrollable-overlay`]:s&&d==="hidden",[`${zt}-scrollable-${u}`]:u&&u!=="both",[`${zt}-section`]:f}),role:"toolbar","aria-label":"Toolbar",children:[!s&&N,s&&d==="hidden"&&(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),s&&d==="start"&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(A,{children:[(0,O.jsx)("span",{className:i("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(L,{className:"k-button-icon",icon:"chevron-left"})}),(0,O.jsx)("span",{className:i("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(L,{className:"k-button-icon",icon:"chevron-right"})})]}),(0,O.jsx)(fe,{className:"k-toolbar-button-separator"}),(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N})]}),s&&d==="end"&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),(0,O.jsx)(fe,{className:"k-toolbar-button-separator"}),(0,O.jsxs)(A,{children:[(0,O.jsx)("span",{className:i("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(L,{className:"k-button-icon",icon:"chevron-left"})}),(0,O.jsx)("span",{className:i("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(L,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(d==="around"||!d)&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("span",{className:i("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(L,{className:"k-button-icon",icon:"chevron-left"})}),(0,O.jsx)(fe,{className:"k-toolbar-button-separator"}),(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),(0,O.jsx)(fe,{className:"k-toolbar-button-separator"}),(0,O.jsx)("span",{className:i("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(L,{className:"k-button-icon",icon:"chevron-right"})})]})]})};X.states=df;X.options=cf;X.className=zt;X.defaultOptions=pf;X.moduleName=_t;X.folderName=Zt;X.ariaSpec={selector:".k-toolbar",rules:[{selector:".k-toolbar",attribute:"role=toolbar",usage:"The component role."},{selector:".k-toolbar",attribute:"aria-label or aria-labelledby",usage:"Must be supplied when multiple toolbars exist."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-haspopup=menu",usage:"The overflow button opens a menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-expanded=true/false",usage:"Announces popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-controls=.k-toolbar-popup .k-menu-group id (when present)",usage:"Indicates the connection between the toggle button and the menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:".k-toolbar-popup .k-menu-group",attribute:"role=menu",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-menu-group",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the menu toggle button."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-expanded=true/false",usage:"Announces section popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-controls=.k-toolbar-popup .k-toolbar-items-list id (when present)",usage:"Indicates the connection between the toggle button and the section popup."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"role=toolbar",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the section toggle button."}]};var gd=require("react/jsx-runtime"),kd="k-floating-toolbar",mf=[],uf={},bf={},ea=e=>{let{...t}=e;return(0,gd.jsx)("div",{...t,className:i(e.className,kd),children:e.children})};ea.states=mf;ea.options=uf;ea.className=kd;ea.defaultOptions=bf;ea.moduleName=_t;ea.folderName=Zt;var vd=require("react/jsx-runtime"),oi="k-toolbar-item",ff=[n.focus],hf={},xf={},kt=e=>{let{focus:t,...o}=e;return(0,vd.jsx)("div",{...o,className:i(e.className,oi,E(oi,{focus:t})),children:e.children})};kt.states=ff;kt.options=hf;kt.className=oi;kt.defaultOptions=xf;kt.moduleName=_t;kt.folderName=Zt;var ai=require("react/jsx-runtime"),Ld="k-toolbar-popup",Nf=[],kf={size:[l.undefined,l.small,l.medium,l.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},gf={},fo=e=>{let{size:t,fillMode:o,section:a,...r}=e;return(0,ai.jsx)(Y,{...r,className:i(e.className,Ld),children:a?(0,ai.jsx)("span",{className:i("k-toolbar-items-list",y("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};fo.states=Nf;fo.options=kf;fo.className=Ld;fo.defaultOptions=gf;fo.moduleName=_t;fo.folderName=Zt;var hr=fo;var vf=require("react/jsx-runtime");var Lf=require("react/jsx-runtime");var Sf=require("react/jsx-runtime");var Sd=require("react/jsx-runtime");var Mf=require("react/jsx-runtime");var ct=require("react/jsx-runtime"),If=D.states,Md={...D.defaultOptions,variant:"text"},yf=D.options,Tf=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ef=[{name:"opened",title:"Opened"}],ta=e=>{let{variant:t,modifiers:o,...a}={...Md,...e},r={},s=(0,ct.jsxs)(Pe,{size:a.size,children:[(0,ct.jsx)(j,{first:!0,text:"Menu Item"}),(0,ct.jsx)(j,{text:"Menu Item"}),(0,ct.jsx)(j,{last:!0,text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(d=>{d==="opened"&&(r.opened=!!(o!=null&&o[d]),r.popup=o!=null&&o[d]?s:"")}),t){case"icon-only":return(0,ct.jsx)("div",{children:(0,ct.jsx)(D,{...a,...r,icon:"star"})});case"icon-and-text":return(0,ct.jsx)("div",{children:(0,ct.jsx)(D,{...a,...r,icon:"star",children:"Split Button"})});default:return(0,ct.jsx)("div",{children:(0,ct.jsx)(D,{...a,...r,children:"Split Button"})})}};ta.options=yf;ta.states=If;ta.variants=Tf;ta.defaultOptions=Md;ta.modifiers=Ef;ta.className=D.className;var Et=require("react/jsx-runtime"),Id=e=>(0,Et.jsx)(X,{children:[(0,Et.jsx)(c,{children:"Button"},"toolbar-button"),(0,Et.jsx)($,{text:"Menu button"},"toolbar-menu-button"),(0,Et.jsx)(D,{children:"Split button"},"toolbar-split-button"),(0,Et.jsxs)(A,{children:[(0,Et.jsx)(c,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Et.jsx)(c,{icon:"align-center",children:"Center"}),(0,Et.jsx)(c,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var yd=require("react/jsx-runtime");var Me=require("react/jsx-runtime"),Td=e=>(0,Me.jsx)(X,{scrollable:!0,...e,children:[(0,Me.jsx)(c,{children:"Button"},"toolbar-button"),(0,Me.jsx)($,{text:"Menu button"},"toolbar-menu-button"),(0,Me.jsx)(D,{children:"Split button"},"toolbar-split-button"),(0,Me.jsxs)(A,{children:[(0,Me.jsx)(c,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Me.jsx)(c,{icon:"align-center",children:"Center"}),(0,Me.jsx)(c,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,Me.jsx)(c,{children:"Button"},"toolbar-button"),(0,Me.jsx)($,{text:"Menu button"},"toolbar-menu-button"),(0,Me.jsx)(D,{children:"Split button"},"toolbar-split-button"),(0,Me.jsxs)(A,{children:[(0,Me.jsx)(c,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Me.jsx)(c,{icon:"align-center",children:"Center"}),(0,Me.jsx)(c,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var Ie=require("react/jsx-runtime"),Ed=({scrollingPosition:e="start",...t})=>(0,Ie.jsx)(X,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[(0,Ie.jsx)(c,{children:"Button"},"toolbar-button"),(0,Ie.jsx)($,{text:"Menu button"},"toolbar-menu-button"),(0,Ie.jsx)(D,{children:"Split button"},"toolbar-split-button"),(0,Ie.jsxs)(A,{children:[(0,Ie.jsx)(c,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Ie.jsx)(c,{icon:"align-center",children:"Center"}),(0,Ie.jsx)(c,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,Ie.jsx)(c,{children:"Button"},"toolbar-button"),(0,Ie.jsx)($,{text:"Menu button"},"toolbar-menu-button"),(0,Ie.jsx)(D,{children:"Split button"},"toolbar-split-button"),(0,Ie.jsxs)(A,{children:[(0,Ie.jsx)(c,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Ie.jsx)(c,{icon:"align-center",children:"Center"}),(0,Ie.jsx)(c,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});var ee=require("react/jsx-runtime"),Cd=({fillMode:e,size:t,...o})=>(0,ee.jsxs)(ee.Fragment,{children:[(0,ee.jsx)(X,{section:!0,fillMode:e,size:t,children:[(0,ee.jsx)(c,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,ee.jsxs)(A,{fillMode:e,children:[(0,ee.jsx)(c,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,ee.jsx)(c,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,ee.jsx)(c,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),(0,ee.jsx)(fe,{className:"k-toolbar-button-separator"}),(0,ee.jsx)(c,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),(0,ee.jsxs)(hr,{size:t,fillMode:e,section:!0,...o,children:[(0,ee.jsx)(D,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),(0,ee.jsx)(c,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,ee.jsx)(fe,{}),(0,ee.jsx)($,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),(0,ee.jsxs)(A,{fillMode:e,children:[(0,ee.jsx)(c,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,ee.jsx)(c,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,ee.jsx)(c,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});var ri=require("react/jsx-runtime");var ni=require("react/jsx-runtime");var Ht=require("react/jsx-runtime"),Cf=X.options,Of=X.states,Od={...X.defaultOptions,variant:"default"},Af=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],wf=[],oa=e=>{let{variant:t,...o}={...Od,...e};switch(t){case"responsive":return(0,Ht.jsx)("div",{children:(0,Ht.jsx)(Cd,{style:{width:"583px"},...o})});case"overlay":return(0,Ht.jsx)("div",{children:(0,Ht.jsx)(Ed,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return(0,Ht.jsx)("div",{children:(0,Ht.jsx)(Td,{style:{width:"583px"},...o})});default:return(0,Ht.jsx)("div",{children:(0,Ht.jsx)(Id,{style:{width:"583px"},...o})})}};oa.options=Cf;oa.states=Of;oa.variants=Af;oa.defaultOptions=Od;oa.modifiers=wf;oa.className=X.className;var Ye=require("react/jsx-runtime"),Ad="k-imageeditor-toolbar",Rf=[],Bf={},Pf=[(0,Ye.jsx)(c,{icon:"upload","aria-label":"Upload"},"toolbar-button-1"),(0,Ye.jsx)(c,{disabled:!0,icon:"download","aria-label":"Download"},"toolbar-button-2"),(0,Ye.jsx)(fe,{},"toolbar-separator-1"),(0,Ye.jsx)(c,{disabled:!0,icon:"undo","aria-label":"Undo"},"toolbar-button-3"),(0,Ye.jsx)(c,{disabled:!0,icon:"redo","aria-label":"Redo"},"toolbar-button-4"),(0,Ye.jsx)(fe,{},"toolbar-separator-2"),(0,Ye.jsx)(c,{disabled:!0,icon:"crop","aria-label":"Crop"},"toolbar-button-5"),(0,Ye.jsx)(c,{disabled:!0,icon:"image-resize","aria-label":"Resize"},"toolbar-button-6"),(0,Ye.jsx)(c,{disabled:!0,icon:"zoom-in","aria-label":"Zoom in"},"toolbar-button-7"),(0,Ye.jsx)(c,{disabled:!0,icon:"zoom-out","aria-label":"Zoom out"},"toolbar-button-8"),(0,Ye.jsx)(kt,{children:(0,Ye.jsx)(P,{disabled:!0,value:"Zoom options","aria-label":"Zoom options"})},"toolbar-item-1")],wd={toolbarItems:Pf},aa=e=>{let{toolbarItems:t=wd.toolbarItems,...o}=e;return(0,Ye.jsx)(X,{...o,className:i(e.className,Ad),children:t})};aa.states=Rf;aa.options=Bf;aa.className=Ad;aa.defaultOptions=wd;var Rd="image-editor",Bd="imageeditor";var Ft=require("react/jsx-runtime"),Pd="k-imageeditor",Kf=[],Df={},_f={},gt=e=>{let{toolbarItems:t,actionPane:o,contentHeight:a,children:r,...s}=e;return(0,Ft.jsxs)("div",{...s,className:i(e.className,Pd),children:[(0,Ft.jsx)("div",{className:"k-imageeditor-header",children:(0,Ft.jsx)(aa,{toolbarItems:t})}),(0,Ft.jsxs)("div",{className:"k-imageeditor-content",style:{height:a},children:[(0,Ft.jsx)("div",{className:"k-imageeditor-canvas-container",children:(0,Ft.jsx)("div",{className:"k-imageeditor-canvas",children:r})}),o&&(0,Ft.jsx)("div",{className:"k-imageeditor-action-pane",children:o})]})]})};gt.states=Kf;gt.options=Df;gt.className=Pd;gt.defaultOptions=_f;gt.moduleName=Rd;gt.folderName=Bd;gt.ariaSpec={selector:".k-imageeditor",rules:[{selector:".k-imageeditor-canvas>canvas",attribute:"role=img",usage:"Indicates the canvas role as an image. Applicable when an image is loaded."},{selector:".k-imageeditor-canvas>canvas",attribute:"aria-label or aria-labelledby",usage:"Provides an accessible name for the canvas by describing the image content. Applicable when an image is loaded."}]};var zf=require("react/jsx-runtime");var Kd="form",Dd="forms";var Ct=require("react/jsx-runtime"),xr="k-form",Hf=[],Ff={size:[l.undefined,l.small,l.medium,l.large]},ii={layout:"basic",tag:"form"},he=e=>{let{size:t,orientation:o,layout:a=ii.layout,formButtons:r,cols:s,gutters:d,tag:u=ii.tag,children:f}=e,h=u,N=i(e.className,xr,y(xr,{size:t}),{[`${xr}-${o}`]:o}),x=(0,Ct.jsxs)(Ct.Fragment,{children:[a==="grid"?(0,Ct.jsx)("div",{className:i("k-form-layout","k-d-grid",{[`k-grid-cols-${s}`]:s}),style:{...typeof d=="string"&&{gap:d},...typeof d=="object"&&d.rows&&{rowGap:d.rows},...typeof d=="object"&&d.cols&&{columnGap:d.cols}},children:f}):(0,Ct.jsx)(Ct.Fragment,{children:f}),r&&(0,Ct.jsx)("div",{className:"k-form-buttons",children:r})]}),{role:p,"aria-labelledby":g,"aria-label":k,id:S}=e;return(0,Ct.jsx)(h,{className:N,role:p,"aria-labelledby":g,"aria-label":k,id:S,children:x})};he.states=Hf;he.options=Ff;he.className=xr;he.defaultOptions=ii;he.moduleName=Kd;he.folderName=Dd;var _d="label",zd="label";var _a=require("react/jsx-runtime"),si="k-label",Uf=[n.disabled],Gf={},Vf={},Qt=e=>{let{disabled:t,optional:o,info:a,text:r,children:s,...d}=e;return(0,_a.jsxs)("label",{...d,className:i(e.className,si,E(si,{disabled:t})),children:[r||s,o&&(0,_a.jsx)("span",{className:"k-label-optional",children:"(Optional)"}),a&&(0,_a.jsx)("span",{className:"k-field-info",children:a})]})};Qt.states=Uf;Qt.options=Gf;Qt.className=si;Qt.defaultOptions=Vf;Qt.moduleName=_d;Qt.folderName=zd;var Fd=require("react/jsx-runtime"),Hd="k-form-hint",$f=[],Xf={},qf={},pt=e=>{let{text:t,children:o,...a}=e;return(0,Fd.jsx)("div",{...a,className:i(e.className,Hd),children:t||o})};pt.states=$f;pt.options=Xf;pt.className=Hd;pt.defaultOptions=qf;var Gd=require("react/jsx-runtime"),Ud="k-form-error",Wf=[],Jf={},Yf={},mt=e=>{let{text:t,children:o,...a}=e;return(0,Gd.jsx)("div",{...a,className:i(e.className,Ud),children:t||o})};mt.states=Wf;mt.options=Jf;mt.className=Ud;mt.defaultOptions=Yf;var jt=require("react/jsx-runtime"),li="k-form-field",Zf=[n.disabled],ne=e=>{let{editorId:t,label:o,orientation:a,optional:r,editor:s,hint:d,error:u,info:f,disabled:h,dir:N,colSpan:x,...p}=e;return(0,jt.jsxs)("div",{...p,className:i(li,e.className,E(li,{disabled:h}),{[`k-col-span-${x}`]:x}),dir:N,children:[o&&(0,jt.jsx)(Qt,{className:"k-form-label",id:t?`${t}-label`:void 0,htmlFor:t||void 0,optional:r,info:f?"(field info)":void 0,children:o}),a==="horizontal"&&!o&&(0,jt.jsx)("span",{className:"k-label k-form-label k-label-empty"}),(0,jt.jsxs)("div",{className:"k-form-field-wrap",children:[s,d&&(0,jt.jsx)(pt,{id:t?`${t}-hint`:void 0,children:d}),u&&(0,jt.jsx)(mt,{id:t?`${t}-error`:void 0,children:u})]})]})};ne.states=Zf;ne.className=li;var eo=require("react/jsx-runtime"),Vd="k-form-fieldset",Ot=e=>{let{legend:t,layout:o,cols:a,gutters:r,colSpan:s}=e;return(0,eo.jsxs)("fieldset",{className:i(Vd,{[`k-col-span-${s}`]:s}),children:[t&&(0,eo.jsx)("legend",{className:"k-form-legend",children:t}),o==="grid"?(0,eo.jsx)("div",{className:i("k-form-layout","k-d-grid",{[`k-grid-cols-${a}`]:a}),style:{...typeof r=="string"&&{gap:r},...typeof r=="object"&&r.rows&&{rowGap:r.rows},...typeof r=="object"&&r.cols&&{columnGap:r.cols}},children:e.children}):(0,eo.jsx)(eo.Fragment,{children:e.children})]})};Ot.className=Vd;var ho="radio",ra=ho;var di=require("react/jsx-runtime"),Nr="k-radio",Qf=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked],jf={size:[l.undefined,l.small,l.medium,l.large]},eh={},ye=e=>{let{id:t,checked:o,hover:a,focus:r,disabled:s,invalid:d,valid:u,required:f,size:h,...N}=e;return(0,di.jsx)("span",{className:"k-radio-wrap",children:(0,di.jsx)("input",{...N,id:t,type:"radio",checked:o,required:f,disabled:s||void 0,"aria-invalid":d?"true":void 0,className:i(e.className,Nr,y(Nr,{size:h}),E(Nr,{hover:a,focus:r,disabled:s,invalid:d,valid:u,checked:o}))})})};ye.states=Qf;ye.options=jf;ye.className=Nr;ye.defaultOptions=eh;ye.moduleName=ho;ye.folderName=ra;ye.ariaSpec={selector:".k-radio",rules:[{selector:".k-radio",attribute:"type=radio",usage:"Announces the radio type of the input."},{selector:".k-radio",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-radio",attribute:"checked (when checked)",usage:"Boolean attribute that announces the checked state of the radio button."},{selector:".k-radio",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the radio."},{selector:".k-radio",attribute:"disabled=disabled or aria-disabled=true (when disabled)",usage:"Rendered only when the radio input is disabled."},{selector:".k-invalid, .ng-invalid",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the radio button is in a form and announces the invalid state."}]};var ut=ye;var qd=require("react/jsx-runtime"),$d="k-radio-list",th=[],oh={},Xd={layout:"vertical"},Te=e=>{let{layout:t=Xd.layout,...o}=e;return(0,qd.jsx)("ul",{...o,className:i(e.className,$d,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};Te.states=th;Te.options=oh;Te.className=$d;Te.defaultOptions=Xd;Te.moduleName=ho;Te.folderName=ra;Te.ariaSpec={selector:".k-radio-list",rules:[{selector:".k-radio-list",attribute:"role=radiogroup",usage:"Announces the radiogroup role of the element."},{selector:".k-radio-list-item",attribute:"role=none",usage:"Due to issues with nested items, forces a no-role state."},{selector:".k-radio",attribute:"readonly or aria-readonly (when readonly)",usage:"The attribute is rendered only when the radio button is read-only."},{selector:".k-radio",attribute:"aria-invalid=true (when invalid)",usage:"The attribute is rendered only when the radio button is in a form and announces the invalid state of the component."},{selector:".k-radio-list-item.k-disabled .k-radio",attribute:"disabled or aria-disabled (when disabled)",usage:"The attribute is rendered only when the radio button is disabled."}]};var Jd=require("react/jsx-runtime"),Wd="k-radio-list-item",ah=[],rh={},nh={},De=e=>{let{...t}=e;return(0,Jd.jsx)("li",{...t,className:i(e.className,Wd),role:"none",children:e.children})};De.states=ah;De.options=rh;De.className=Wd;De.defaultOptions=nh;De.moduleName=ho;De.folderName=ra;var ih=require("react/jsx-runtime");var xo=require("react/jsx-runtime"),Ut=({children:e,id:t,...o})=>(0,xo.jsxs)(xo.Fragment,{children:[(0,xo.jsx)(ut,{...o,id:t}),(0,xo.jsx)("label",{className:"k-radio-label",htmlFor:t,children:e})]});var ci=require("react/jsx-runtime");var pi=require("react/jsx-runtime");var mi=require("react/jsx-runtime");var ui=require("react/jsx-runtime");var bi=require("react/jsx-runtime");var lh=require("react/jsx-runtime");var Yd=require("react/jsx-runtime"),dh=ut.options,ch=ut.states,ph=ut.defaultOptions,mh=[],uh=[],na=e=>(0,Yd.jsx)(Ut,{id:R("radio"),name:"value",...e,children:"Label"});na.options=dh;na.states=ch;na.variants=mh;na.defaultOptions=ph;na.modifiers=uh;na.className=ut.className;var _e=require("react/jsx-runtime"),bh=Te.options,fh=Te.states,hh={...Te.defaultOptions,variant:"vertical"},xh=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Nh=[],ia=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,_e.jsxs)(Te,{layout:"horizontal",...o,children:[(0,_e.jsx)(De,{children:(0,_e.jsx)(Ut,{id:R("rb"),name:"value",defaultChecked:!0,children:"Label"})}),(0,_e.jsx)(De,{children:(0,_e.jsx)(Ut,{id:R("rb"),name:"value",children:"Label"})}),(0,_e.jsx)(De,{children:(0,_e.jsx)(Ut,{id:R("rb"),name:"value",children:"Label"})})]}):(0,_e.jsxs)(Te,{...o,children:[(0,_e.jsx)(De,{children:(0,_e.jsx)(Ut,{id:R("rb"),name:"value",defaultChecked:!0,children:"Label"})}),(0,_e.jsx)(De,{children:(0,_e.jsx)(Ut,{id:R("rb"),name:"value",children:"Label"})}),(0,_e.jsx)(De,{children:(0,_e.jsx)(Ut,{id:R("rb"),name:"value",children:"Label"})})]})};ia.options=bh;ia.states=fh;ia.variants=xh;ia.defaultOptions=hh;ia.modifiers=Nh;ia.className=Te.className;var J=require("react/jsx-runtime"),fi=e=>{let{size:t,children:o,...a}=e;return(0,J.jsx)(he,{formButtons:(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(c,{className:"k-form-submit",themeColor:"primary",size:t,children:"Submit"}),(0,J.jsx)(c,{className:"k-form-clear",size:t,children:"Clear"})]}),size:t,...a,children:o||(0,J.jsxs)(Ot,{legend:"Form Legend",children:[(0,J.jsx)(ne,{label:"Label",editor:(0,J.jsx)(F,{size:t})}),(0,J.jsx)(ne,{label:"Label",hint:"Hint text",editor:(0,J.jsx)(P,{value:"Dropdown List",size:t,"aria-label":"Label"})}),(0,J.jsx)(ne,{label:"City",editor:(0,J.jsxs)("ul",{className:"k-radio-list k-list-horizontal",children:[(0,J.jsxs)("li",{className:"k-radio-list-item",children:[(0,J.jsx)(ye,{defaultChecked:!0,size:t}),(0,J.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,J.jsxs)("li",{className:"k-radio-list-item",children:[(0,J.jsx)(ye,{size:t}),(0,J.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,J.jsxs)("li",{className:"k-radio-list-item",children:[(0,J.jsx)(ye,{size:t}),(0,J.jsx)("label",{className:"k-radio-label",children:"Label"})]})]})})]})})};var hi=require("react/jsx-runtime");var xi=require("react/jsx-runtime");var Zd="date-input",Qd="dateinput";var to=require("react/jsx-runtime"),jd="k-dateinput",kh=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],gh={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},vh={},Ze=e=>{let{size:t,rounded:o,fillMode:a,value:r,placeholder:s,hover:d,focus:u,valid:f,invalid:h,required:N,loading:x,disabled:p,readonly:g,showClearButton:k,showSpinButton:S,id:T,"aria-label":I,"aria-describedby":w,...U}=e;return(0,to.jsxs)(G,{...U,size:t,rounded:o,fillMode:a,hover:d,focus:u,valid:f,invalid:h,required:N,loading:x,disabled:p,readonly:g,className:i(e.className,jd),children:[(0,to.jsx)(ke,{id:T,placeholder:s,value:r,disabled:p,"aria-label":I,"aria-describedby":w,"aria-invalid":h?"true":void 0}),(0,to.jsx)(se,{valid:f,invalid:h,loading:x,disabled:p}),(0,to.jsx)(ce,{loading:x,disabled:p}),k&&(0,to.jsx)(Ne,{loading:x,disabled:p,readonly:g,value:r}),S&&(0,to.jsx)(Mt,{className:"k-input-spinner",size:t,fillMode:a,disabled:p})]})};Ze.states=kh;Ze.options=gh;Ze.className=jd;Ze.defaultOptions=vh;Ze.moduleName=Zd;Ze.folderName=Qd;Ze.ariaSpec={selector:".k-dateinput",rules:[{selector:".k-dateinput > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:'The element should be an input or have role="textbox".'},{selector:".k-dateinput > .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-dateinput > .k-input-inner",attribute:"tabindex=0",usage:"The element should be focusable."},{selector:".k-dateinput > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the DateInput is in an invalid state."},{selector:".k-dateinput > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message."},{selector:".k-dateinput > .k-input-inner",attribute:"readonly=readonly or aria-readonly=true (when readonly)",usage:"Rendered when the DateInput is readonly."},{selector:".k-dateinput.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the DateInput is disabled."}]};var Ni=Ze;var tc=require("react/jsx-runtime"),ec=e=>(0,tc.jsx)(Ni,{...e});var Lh=require("react/jsx-runtime");var oc=require("react/jsx-runtime"),Sh=Ze.options,Mh=Ze.states,Ih=Ze.defaultOptions,yh=[{name:"spin-button",title:"`Spin` Button"}],Th=[],sa=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{r==="spin-button"&&(a.showSpinButton=!!(t!=null&&t[r]))}),(0,oc.jsx)(ec,{value:"2/04/2021",style:{width:"300px"},...o,...a})};sa.options=Sh;sa.states=Mh;sa.variants=Th;sa.defaultOptions=Ih;sa.modifiers=yh;sa.className=Ze.className;var ac="masked-textbox",rc="maskedtextbox";var ze=require("react/jsx-runtime"),nc="k-maskedtextbox",Eh=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Ch={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},ki={showClearButton:!0,separators:!0},Qe=e=>{let{size:t,rounded:o,fillMode:a,separators:r=ki.separators,showClearButton:s=ki.showClearButton,prefix:d,suffix:u,value:f,placeholder:h,hover:N,focus:x,valid:p,invalid:g,required:k,loading:S,disabled:T,readonly:I,id:w,"aria-label":U,"aria-describedby":ae,...ie}=e;return(0,ze.jsxs)(G,{...ie,size:t,rounded:o,fillMode:a,hover:N,focus:x,valid:p,invalid:g,required:k,loading:S,disabled:T,readonly:I,className:i(e.className,nc),children:[d&&(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsx)(Ee,{children:d}),r&&(0,ze.jsx)(pe,{})]}),(0,ze.jsx)(ke,{id:w,placeholder:h,value:f,disabled:T,"aria-label":U,"aria-describedby":ae,"aria-invalid":g?"true":void 0}),(0,ze.jsx)(se,{valid:p,invalid:g,loading:S,disabled:T}),(0,ze.jsx)(ce,{loading:S,disabled:T}),s&&(0,ze.jsx)(Ne,{loading:S,disabled:T,readonly:I,value:f}),u&&(0,ze.jsxs)(ze.Fragment,{children:[r&&(0,ze.jsx)(pe,{}),(0,ze.jsx)(Ce,{children:u})]})]})};Qe.states=Eh;Qe.options=Ch;Qe.className=nc;Qe.defaultOptions=ki;Qe.moduleName=ac;Qe.folderName=rc;Qe.ariaSpec={selector:".k-maskedtextbox",rules:[{selector:".k-maskedtextbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-maskedtextbox > .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-maskedtextbox > .k-input-inner",attribute:"aria-placeholder (when has mask)",usage:"Announces the mask or placeholder for the component."},{selector:".k-maskedtextbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the MaskedTextBox is in an invalid state."},{selector:".k-maskedtextbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message."},{selector:".k-maskedtextbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the MaskedTextBox is disabled."}]};var la=Qe;var sc=require("react/jsx-runtime"),ic=e=>(0,sc.jsx)(la,{...e});var lc=require("react/jsx-runtime");var dc=require("react/jsx-runtime");var Oh=require("react/jsx-runtime");var Ah=require("react/jsx-runtime");var kr=require("react/jsx-runtime"),wh=Qe.states,Rh=Qe.defaultOptions,Bh=Qe.options,Ph=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Kh=[],da=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t!=null&&t[r]?(0,kr.jsx)(P,{size:o.size,value:"Choose",fillMode:"flat"}):void 0;break;case"suffix":a.suffix=t!=null&&t[r]?(0,kr.jsx)(L,{icon:"lock"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[r];break;default:break}}),(0,kr.jsx)(ic,{value:"Value",style:{width:300},...o,...a})};da.options=Bh;da.states=wh;da.variants=Kh;da.defaultOptions=Rh;da.modifiers=Ph;da.className=Qe.className;var gi="switch",cc=gi;var ao=require("react/jsx-runtime"),oo="k-switch",Dh=[n.hover,n.focus,n.disabled,n.readonly,n.checked],_h={size:[l.undefined,l.small,l.medium,l.large],trackRounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],thumbRounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full]},zh={},$e=e=>{let{checked:t,onLabel:o,offLabel:a,size:r,trackRounded:s,thumbRounded:d,hover:u,focus:f,disabled:h,readonly:N,...x}=e;return(0,ao.jsxs)("span",{...x,className:i(e.className,oo,y(oo,{size:r}),E(oo,{hover:u,focus:f,disabled:h,readonly:N}),{[`${oo}-on`]:t,[`${oo}-off`]:!t}),role:"switch","aria-checked":t?"true":"false",tabIndex:h?void 0:0,"aria-disabled":h?"true":void 0,"aria-readonly":N?"true":void 0,children:[(0,ao.jsxs)("span",{className:i("k-switch-track",y(oo,{rounded:s})),children:[o&&(0,ao.jsx)("span",{className:"k-switch-label-on",children:o}),a&&(0,ao.jsx)("span",{className:"k-switch-label-off",children:a})]}),(0,ao.jsx)("span",{className:"k-switch-thumb-wrap",children:(0,ao.jsx)("span",{className:i("k-switch-thumb",y(oo,{rounded:d}))})})]})};$e.states=Dh;$e.options=_h;$e.className=oo;$e.defaultOptions=zh;$e.moduleName=gi;$e.folderName=cc;$e.ariaSpec={selector:".k-switch",rules:[{selector:".k-switch",attribute:"role=switch",usage:"Announces the switch role of the element."},{selector:".k-switch",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-switch",attribute:"aria-required=true (when required)",usage:'Rendered only when the Switch is in a form. Required because <span role="switch"> does not support the native required attribute.'},{selector:".k-switch",attribute:"aria-checked",usage:"Announces the checked state of the Switch."},{selector:".k-switch",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the switch."},{selector:".k-switch",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the Switch is in a form and announces the invalid state."},{selector:".k-switch:not(.k-disabled)",attribute:"tabindex=0",usage:"The element must be focusable. Disabled switches are removed from tab order."},{selector:".k-switch.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the Switch is disabled."},{selector:".k-switch.k-readonly",attribute:"aria-readonly=true (when readonly)",usage:"Rendered only when the Switch is readonly. Readonly switches remain focusable but their value cannot be changed."}]};var Hh=require("react/jsx-runtime");var Fh=require("react/jsx-runtime");var Uh=require("react/jsx-runtime");var Gh=require("react/jsx-runtime");var Li=require("react/jsx-runtime"),Vh=$e.options,$h=$e.states,Xh={...$e.defaultOptions,variant:"on"},qh=[{name:"on",title:"On"},{name:"off",title:"Off"}],Wh=[],ca=e=>{let{variant:t,...o}=e;return t==="off"?(0,Li.jsx)($e,{checked:!1,onLabel:"On",offLabel:"Off",...o}):(0,Li.jsx)($e,{checked:!0,onLabel:"On",offLabel:"Off",...o})};ca.options=Vh;ca.states=$h;ca.variants=qh;ca.defaultOptions=Xh;ca.modifiers=Wh;ca.className=$e.className;var Si="textarea",pc=Si;var rt=require("react/jsx-runtime"),mc="k-textarea",Jh=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],Yh={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},pa={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},Xe=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:r=pa.prefixSeparator,suffixSeparator:s=pa.prefixSeparator,affixesOrientation:d=pa.affixesOrientation,flow:u=pa.flow,resize:f=pa.resize,prefix:h,suffix:N,rows:x,value:p,placeholder:g,hover:k,focus:S,valid:T,invalid:I,required:w,disabled:U,id:ae,"aria-label":ie,"aria-describedby":xe,...He}=e;return(0,rt.jsxs)(G,{...He,size:t,rounded:o,fillMode:a,hover:k,focus:S,valid:T,invalid:I,required:w,disabled:U,className:i(e.className,mc,{"!k-flex-col":u==="vertical","!k-flex-row":u==="horizontal"}),children:[h&&(0,rt.jsxs)(rt.Fragment,{children:[(0,rt.jsx)(Ee,{className:i({"!k-align-items-start":u===d}),direction:d,children:h}),r&&(0,rt.jsx)(pe,{direction:u==="horizontal"?"vertical":"horizontal"})]}),(0,rt.jsx)(Ma,{className:i("!k-overflow-auto",{"!k-flex-none":u==="vertical","k-resize-x":f==="x","k-resize-y":f==="y","k-resize":f==="both","k-resize-none":f==="none"}),value:p,placeholder:g,rows:x,disabled:U,id:ae,"aria-label":ie,"aria-describedby":xe,"aria-invalid":I?"true":void 0}),N&&(0,rt.jsxs)(rt.Fragment,{children:[s&&(0,rt.jsx)(pe,{direction:u==="horizontal"?"vertical":"horizontal"}),(0,rt.jsx)(Ce,{className:i({"!k-align-items-start":u===d}),direction:d,children:N})]})]})};Xe.states=Jh;Xe.options=Yh;Xe.className=mc;Xe.defaultOptions=pa;Xe.moduleName=Si;Xe.folderName=pc;Xe.ariaSpec={selector:".k-textarea",rules:[{selector:".k-textarea > .k-input-inner",attribute:"role=textbox or nodeName=textarea",usage:"Describes the role of the component."},{selector:".k-textarea > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The textarea requires an accessible name (provided by consuming app)."},{selector:".k-textarea > .k-input-inner",attribute:"aria-multiline=true (when role=textbox)",usage:"Required on role=textbox to indicate multi-line behavior. Implicit on native <textarea>, so not needed there."},{selector:".k-textarea > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the TextArea is in a form and announces the invalid state."},{selector:".k-textarea > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the textarea."},{selector:".k-textarea.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered only when the TextArea is disabled."}]};var Zh=require("react/jsx-runtime");var uc=require("react/jsx-runtime");var bc=require("react/jsx-runtime");var Qh=require("react/jsx-runtime");var za=require("react/jsx-runtime"),jh=Xe.options,ex=Xe.states,fc={...Xe.defaultOptions,variant:"vertical"},tx=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],ox=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],ma=e=>{let{variant:t,modifiers:o,...a}={...fc,...e},r={resize:"y"};return Object.keys(o||{}).forEach(s=>{switch(s){case"prefix":r.prefix=o!=null&&o[s]?(0,za.jsx)(L,{icon:"comment"}):void 0;break;case"suffix":r.suffix=o!=null&&o[s]?(0,za.jsx)(L,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?(0,za.jsx)(Xe,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...r}):(0,za.jsx)(Xe,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...r})};ma.options=jh;ma.states=ex;ma.variants=tx;ma.defaultOptions=fc;ma.modifiers=ox;ma.className=Xe.className;var Ii=require("react/jsx-runtime");var q=require("react/jsx-runtime"),ax=he.options,rx=he.states,nx={...he.defaultOptions,variant:"vertical"},ix=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],sx=[],ua=e=>{let{variant:t,size:o,...a}=e,r=(0,q.jsxs)(Ot,{legend:"Form Legend",children:[(0,q.jsx)(ne,{label:"Label",editor:(0,q.jsx)(F,{size:o})}),(0,q.jsx)(ne,{label:"Label",hint:"Hint text",editor:(0,q.jsx)(P,{value:"Dropdown List",size:o})}),(0,q.jsx)(ne,{label:"City",editor:(0,q.jsxs)("ul",{className:"k-radio-list k-list-horizontal",children:[(0,q.jsxs)("li",{className:"k-radio-list-item",children:[(0,q.jsx)(ye,{checked:!0,size:o}),(0,q.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,q.jsxs)("li",{className:"k-radio-list-item",children:[(0,q.jsx)(ye,{size:o}),(0,q.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,q.jsxs)("li",{className:"k-radio-list-item",children:[(0,q.jsx)(ye,{size:o}),(0,q.jsx)("label",{className:"k-radio-label",children:"Label"})]})]})})]}),s=(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(c,{className:"k-form-submit",themeColor:"primary",size:o,children:"Submit"}),(0,q.jsx)(c,{className:"k-form-clear",size:o,children:"Clear"})]});return t==="horizontal"?(0,q.jsx)(he,{orientation:"horizontal",size:o,...a,formButtons:s,children:r}):(0,q.jsx)(he,{size:o,...a,formButtons:s,children:r})};ua.options=ax;ua.states=rx;ua.variants=ix;ua.defaultOptions=nx;ua.modifiers=sx;ua.className=he.className;var Ha=require("react/jsx-runtime"),lx=pt.options,dx=pt.states,hc={...pt.defaultOptions},cx=[],px=[{name:"showHint",title:"Show Hint"}],ba=e=>{let{modifiers:t,...o}={...hc,...e},a=(t==null?void 0:t.showHint)??!0;return(0,Ha.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[(0,Ha.jsx)(F,{placeholder:"Component",style:{width:"200px"}}),a&&(0,Ha.jsx)(pt,{...o,children:"Hint text"})]})};ba.options=lx;ba.states=dx;ba.variants=cx;ba.defaultOptions=hc;ba.modifiers=px;ba.className=pt.className;var Fa=require("react/jsx-runtime"),mx=mt.options,ux=mt.states,xc={...mt.defaultOptions},bx=[],fx=[{name:"showError",title:"Show Error"}],fa=e=>{let{modifiers:t,...o}={...xc,...e},a=(t==null?void 0:t.showError)??!0;return(0,Fa.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[(0,Fa.jsx)(F,{placeholder:"Component",invalid:a,style:{width:"200px"}}),a&&(0,Fa.jsx)(mt,{...o,children:"Error text"})]})};fa.options=mx;fa.states=ux;fa.variants=bx;fa.defaultOptions=xc;fa.modifiers=fx;fa.className=mt.className;var yi="segmented-control",Nc=yi,kc="segmented-control-button",gc="segmented-control";var vr=require("react/jsx-runtime"),gr="k-segmented-control",hx=[],xx={size:[l.undefined,l.small,l.medium,l.large]},No=e=>{let{size:t,stretched:o,children:a,thumbStyles:r,...s}=e;return(0,vr.jsxs)("div",{...s,className:i(e.className,gr,y(gr,{size:t}),{[`${gr}-stretched`]:o}),role:"group",children:[(0,vr.jsx)("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:r}),a]})};No.states=hx;No.options=xx;No.className=gr;No.moduleName=yi;No.folderName=Nc;No.ariaSpec={selector:".k-segmented-control",rules:[{selector:".k-segmented-control",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-segmented-control-button",attribute:"role=button or nodeName=button",usage:"Each button must have the appropriate button role."},{selector:".k-segmented-control-button.k-selected",attribute:"aria-pressed=true",usage:"Only the selected button within the group will have this attribute set to true."},{selector:".k-segmented-control-button.k-disabled",attribute:"aria-disabled=true",usage:"Indicates that the button is disabled and cannot be interacted with."},{selector:".k-segmented-control-thumb",attribute:"aria-hidden=true",usage:"The thumb is purely decorative and should be hidden from screen readers."}]};var Ua=require("react/jsx-runtime"),Ti="k-segmented-control-button",Nx=[n.selected,n.hover,n.focus,n.disabled],kx={},gx={},ko=e=>{let{hover:t,focus:o,selected:a,disabled:r,icon:s,text:d,iconClassName:u,...f}=e;return(0,Ua.jsxs)("button",{...f,className:i(e.className,Ti,E(Ti,{hover:t,focus:o,disabled:r,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":r?"true":void 0,children:[s&&(0,Ua.jsx)(L,{className:i(u,"k-segmented-control-button-icon"),icon:s}),(d||e.children)&&(0,Ua.jsx)("span",{className:"k-segmented-control-button-text",children:d||e.children})]})};ko.states=Nx;ko.options=kx;ko.className=Ti;ko.defaultOptions=gx;ko.moduleName=kc;ko.folderName=gc;var Ei=require("react/jsx-runtime");var Ci=require("react/jsx-runtime");var Oi=require("react/jsx-runtime");var Ai=require("react/jsx-runtime");var wi=require("react/jsx-runtime");var Ri=require("react/jsx-runtime");var _=require("react/jsx-runtime"),vx=e=>(0,_.jsx)(gt,{toolbarItems:[(0,_.jsx)(c,{icon:"upload","aria-label":"Upload"},"toolbar-button-1"),(0,_.jsx)(c,{icon:"download","aria-label":"Download"},"toolbar-button-2"),(0,_.jsx)(fe,{},"toolbar-separator-1"),(0,_.jsx)(c,{disabled:!0,icon:"undo","aria-label":"Undo"},"toolbar-button-3"),(0,_.jsx)(c,{disabled:!0,icon:"redo","aria-label":"Redo"},"toolbar-button-4"),(0,_.jsx)(fe,{},"toolbar-separator-2"),(0,_.jsx)(c,{icon:"crop","aria-label":"Crop"},"toolbar-button-5"),(0,_.jsx)(c,{icon:"image-resize","aria-label":"Resize"},"toolbar-button-6"),(0,_.jsx)(c,{icon:"zoom-in","aria-label":"Zoom in"},"toolbar-button-7"),(0,_.jsx)(c,{icon:"zoom-out","aria-label":"Zoom out"},"toolbar-button-8"),(0,_.jsx)(kt,{children:(0,_.jsx)(P,{value:"Zoom options","aria-label":"Zoom options"})},"toolbar-item-1")],actionPane:(0,_.jsx)(fi,{tag:"div",className:"k-imageeditor-pane-form",formButtons:(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(c,{themeColor:"primary",icon:"check",children:"Confirm"}),(0,_.jsx)(c,{icon:"cancel",children:"Cancel"})]}),children:(0,_.jsxs)(Ot,{layout:"grid",legend:"Resize Image",cols:2,gutters:{cols:"8px"},children:[(0,_.jsx)(ne,{colSpan:"1",label:"Width:",editorId:"resize-width",editor:(0,_.jsx)(K,{id:"resize-width",showClearButton:!1,value:"61"})}),(0,_.jsx)(ne,{colSpan:"1",label:"\xA0",editor:(0,_.jsx)(P,{value:"Pixels","aria-label":"Width unit"})}),(0,_.jsx)(ne,{colSpan:"1",label:"Height:",editorId:"resize-height",editor:(0,_.jsx)(K,{id:"resize-height",showClearButton:!1,value:"68"})}),(0,_.jsx)(ne,{colSpan:"1",label:"\xA0",editor:(0,_.jsx)(P,{value:"Pixels","aria-label":"Height unit"})}),(0,_.jsx)(ne,{colSpan:"2",editor:(0,_.jsx)(lt,{id:"resize-lock",children:"Lock aspect ratio"})})]})}),children:(0,_.jsx)("canvas",{width:"61",height:"68",role:"img","aria-label":"Image being edited"}),...e});