@progress/kendo-themes-html 14.0.0-dev.5 → 14.0.0-dev.7

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 (153) 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-view.js +1 -1
  56. package/dist/cjs/spreadsheet/templates/spreadsheet-formula-open.js +1 -1
  57. package/dist/cjs/spreadsheet/templates/spreadsheet-normal.js +1 -1
  58. package/dist/esm/chat/chat-message.mjs +1 -1
  59. package/dist/esm/chat/chat.spec.mjs +1 -1
  60. package/dist/esm/chat/demos/chat.mjs +1 -1
  61. package/dist/esm/chat/templates/chat-empty.mjs +1 -1
  62. package/dist/esm/chat/templates/chat-expandable.mjs +1 -1
  63. package/dist/esm/chat/templates/chat-failed.mjs +1 -1
  64. package/dist/esm/chat/templates/chat-message-skeleton.mjs +1 -1
  65. package/dist/esm/chat/templates/chat-message-toolbar.mjs +1 -1
  66. package/dist/esm/chat/templates/chat-normal.mjs +1 -1
  67. package/dist/esm/chat/templates/chat-pinned.mjs +1 -1
  68. package/dist/esm/chat/templates/chat-stop-response.mjs +1 -1
  69. package/dist/esm/chat/templates/chat-textarea-file.mjs +1 -1
  70. package/dist/esm/chat/templates/chat-typing.mjs +1 -1
  71. package/dist/esm/chat/templates/chat-upload.mjs +1 -1
  72. package/dist/esm/editor/demos/editor.mjs +1 -1
  73. package/dist/esm/editor/templates/editor-normal.mjs +1 -1
  74. package/dist/esm/editor/templates/editor-resizable.mjs +1 -1
  75. package/dist/esm/editor/templates/editor-responsive-toolbar.mjs +1 -1
  76. package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
  77. package/dist/esm/imageeditor/templates/imageeditor-resize.mjs +1 -1
  78. package/dist/esm/index.mjs +8 -8
  79. package/dist/esm/prompt/demos/prompt.mjs +1 -1
  80. package/dist/esm/prompt/templates/prompt-inline-input-only.mjs +1 -1
  81. package/dist/esm/prompt/templates/prompt-inline.mjs +1 -1
  82. package/dist/esm/prompt/templates/prompt-more-actions.mjs +1 -1
  83. package/dist/esm/prompt/templates/prompt-normal.mjs +1 -1
  84. package/dist/esm/prompt/templates/prompt-output.mjs +1 -1
  85. package/dist/esm/prompt/templates/prompt-popup.mjs +1 -1
  86. package/dist/esm/prompt/templates/prompt-settings.mjs +1 -1
  87. package/dist/esm/prompt/templates/prompt-suggestions.mjs +1 -1
  88. package/dist/esm/prompt-box/prompt-box.spec.mjs +1 -1
  89. package/dist/esm/prompt-box/templates/prompt-box-auto-expanded.mjs +1 -1
  90. package/dist/esm/prompt-box/templates/prompt-box-auto.mjs +1 -1
  91. package/dist/esm/prompt-box/templates/prompt-box-multi.mjs +1 -1
  92. package/dist/esm/prompt-box/templates/prompt-box-single.mjs +1 -1
  93. package/dist/esm/prompt-box/templates/prompt-box-stop-response.mjs +1 -1
  94. package/dist/esm/rating/demos/rating.mjs +1 -1
  95. package/dist/esm/rating/rating-item.mjs +1 -1
  96. package/dist/esm/rating/rating.spec.mjs +1 -1
  97. package/dist/esm/rating/templates/rating-disabled.mjs +1 -1
  98. package/dist/esm/rating/templates/rating-normal.mjs +1 -1
  99. package/dist/esm/rating/templates/rating-readonly.mjs +1 -1
  100. package/dist/esm/rating/templates/rating-with-label.mjs +1 -1
  101. package/dist/esm/smart-box/smart-box-send-button.mjs +1 -1
  102. package/dist/esm/smart-box/templates/smart-box-disabled-send.mjs +1 -1
  103. package/dist/esm/smart-box/templates/smart-box-normal.mjs +1 -1
  104. package/dist/esm/smart-box/templates/smart-box-opened-focused.mjs +1 -1
  105. package/dist/esm/smart-box/templates/smart-box-processing.mjs +1 -1
  106. package/dist/esm/speech-to-text-button/demos/speech-to-text-button.mjs +1 -1
  107. package/dist/esm/speech-to-text-button/speech-to-text-button.spec.mjs +1 -1
  108. package/dist/esm/speech-to-text-button/templates/speech-to-text-button-listening.mjs +1 -1
  109. package/dist/esm/speech-to-text-button/templates/speech-to-text-button-normal.mjs +1 -1
  110. package/dist/esm/spreadsheet/demos/spreadsheet.mjs +1 -1
  111. package/dist/esm/spreadsheet/spreadsheet-header.mjs +1 -1
  112. package/dist/esm/spreadsheet/spreadsheet-view.mjs +1 -1
  113. package/dist/esm/spreadsheet/templates/spreadsheet-formula-open.mjs +1 -1
  114. package/dist/esm/spreadsheet/templates/spreadsheet-normal.mjs +1 -1
  115. package/package.json +3 -3
  116. package/src/_preview/tests/preview-components.tsx +2 -2
  117. package/src/_preview/tests/preview-elevations.tsx +3 -3
  118. package/src/chat/chat-message.tsx +3 -3
  119. package/src/chat/chat.spec.tsx +2 -2
  120. package/src/chat/tests/chat-files-layout.tsx +8 -8
  121. package/src/chat/tests/chat-files-pin.tsx +2 -2
  122. package/src/chat/tests/chat-files.tsx +6 -6
  123. package/src/chat/tests/chat-message-toolbar.tsx +2 -2
  124. package/src/drawer/tests/drawer-item-states.tsx +3 -3
  125. package/src/editor/demos/editor.tsx +1 -1
  126. package/src/editor/templates/editor-normal.tsx +1 -1
  127. package/src/editor/templates/editor-resizable.tsx +1 -1
  128. package/src/editor/templates/editor-responsive-toolbar.tsx +1 -1
  129. package/src/editor/tests/editor-table-wizard.tsx +1 -1
  130. package/src/editor/tests/editor.tsx +2 -2
  131. package/src/grid/tests/grid-assistant-window.tsx +4 -4
  132. package/src/grid/tests/grid-row-pinning-adaptive.tsx +1 -1
  133. package/src/grid/tests/grid-semantic-search-popup.tsx +10 -10
  134. package/src/grid/tests/grid-toolbar.tsx +2 -2
  135. package/src/imageeditor/templates/imageeditor-crop.tsx +1 -1
  136. package/src/imageeditor/templates/imageeditor-resize.tsx +1 -1
  137. package/src/prompt/demos/prompt.tsx +4 -4
  138. package/src/prompt/templates/prompt-inline.tsx +1 -1
  139. package/src/prompt/templates/prompt-output.tsx +4 -4
  140. package/src/prompt/tests/prompt-inline-response-generation.tsx +2 -2
  141. package/src/prompt-box/prompt-box.spec.tsx +1 -1
  142. package/src/prompt-box/tests/prompt-box-affixes.tsx +8 -8
  143. package/src/prompt-box/tests/prompt-box-files.tsx +2 -2
  144. package/src/rating/rating-item.tsx +20 -5
  145. package/src/smart-box/smart-box-send-button.tsx +1 -1
  146. package/src/smart-box/templates/smart-box-disabled-send.tsx +1 -1
  147. package/src/smart-box/templates/smart-box-normal.tsx +1 -1
  148. package/src/smart-box/templates/smart-box-opened-focused.tsx +1 -1
  149. package/src/smart-box/templates/smart-box-processing.tsx +1 -1
  150. package/src/speech-to-text-button/speech-to-text-button.spec.tsx +2 -2
  151. package/src/spreadsheet/spreadsheet-header.tsx +1 -1
  152. package/src/spreadsheet/tests/spreadsheet-tools.tsx +1 -1
  153. package/src/toolbar/tests/toolbar-fill-modes.tsx +2 -2
@@ -1 +1 @@
1
- var pl=Object.create;var Wo=Object.defineProperty;var ul=Object.getOwnPropertyDescriptor;var ml=Object.getOwnPropertyNames;var bl=Object.getPrototypeOf,fl=Object.prototype.hasOwnProperty;var hl=(e,t)=>{for(var o in t)Wo(e,o,{get:t[o],enumerable:!0})},dr=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of ml(t))!fl.call(e,n)&&n!==o&&Wo(e,n,{get:()=>t[n],enumerable:!(a=ul(t,n))||a.enumerable});return e};var cr=(e,t,o)=>(o=e!=null?pl(bl(e)):{},dr(t||!e||!e.__esModule?Wo(o,"default",{value:e,enumerable:!0}):o,e)),xl=e=>dr(Wo({},"__esModule",{value:!0}),e);var Cm={};hl(Cm,{EditorResponsiveToolbar:()=>Im});module.exports=xl(Cm);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 T=(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"}),y=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:s,checked:c,active:u,selected:f,disabled:h,indeterminate:N,loading:x,empty:p,readonly:L,highlighted:k,...I}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":c,"k-active":u,"k-selected":f,"k-disabled":h,"k-indeterminate":N&&!c,"k-loading":x,"k-empty":p,"k-readonly":L,"k-highlighted":k},Object.keys(I).reduce((O,S)=>(S.startsWith("k-")?O[S]=I[S]:O[`k-${S}`]=I[S],O),{}))};function pr(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},b={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},m={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},v={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},r={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 Ca={};function _(e){return Ca[e]=(Ca[e]||0)+1,`k-${e}-${Ca[e]}`}var ur=require("react/jsx-runtime"),ya="k-editor-content",Nl=[r.focus],Yo=e=>{let{focus:t,readonly:o,"aria-label":a,...n}=e;return(0,ur.jsx)("div",{...n,className:i(e.className,ya,y(ya,{focus:t})),contentEditable:o?"false":"true",suppressContentEditableWarning:!0,role:"textbox","aria-label":a||"Editor content","aria-readonly":o?"true":void 0,children:e.children})};Yo.states=Nl;Yo.className=ya;var Io=require("react/jsx-runtime"),Ta="k-font-icon",kl=[],vl={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},gl={},Co=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...c}=e;return a?(0,Io.jsx)("span",{...c,className:i(e.className,Ta,T(Ta,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):(0,Io.jsx)(Io.Fragment,{})};Co.states=kl;Co.options=vl;Co.className=Ta;Co.defaultOptions=gl;var mr=Co;var At=require("react/jsx-runtime"),Ea="k-svg-icon",Ll=[],Ml={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},br={viewBox:"0 0 24 24"},yo=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=br.viewBox,icon:c,...u}=e;if(!c)return(0,At.jsx)(At.Fragment,{});if(c==="none")return(0,At.jsx)("span",{...u,className:i(e.className,Ea,T("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let f=typeof c=="object"&&c.name&&c.name;return(0,At.jsx)("span",{...u,className:i(e.className,Ea,T("k-icon",{size:t}),{[`k-svg-i-${f}`]:f,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:(0,At.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:s,dangerouslySetInnerHTML:typeof c=="object"?{__html:c.content}:void 0,children:c?void 0:e.children})})};yo.states=Ll;yo.options=Ml;yo.className=Ea;yo.defaultOptions=br;var Aa=yo;var Oa=cr(require("@progress/kendo-svg-icons"));var fr="icon",hr="icons";var kr=require("react");var xr=require("react"),Nr=(0,xr.createContext)({iconsType:"svg"});var st=require("react/jsx-runtime"),Qo="k-icon",Sl=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Il=[],Cl={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},wa={viewBox:"0 0 24 24",type:"svg"},M=e=>{let{iconsType:t}=(0,kr.useContext)(Nr),{size:o,themeColor:a,icon:n,type:s=t||wa.type,rotate:c,flip:u,viewBox:f=wa.viewBox,...h}=e;if(!n)return(0,st.jsx)(st.Fragment,{});if((t||s)==="svg"){if(n==="none")return(0,st.jsx)(Aa,{...h,className:i(e.className,Qo),icon:n,size:o});let x=Oa[n]?n:Sl(`${n}-icon`);return Oa[x]?(0,st.jsx)(Aa,{...h,className:i(e.className,Qo),icon:Oa[x],size:o,themeColor:a,rotate:c,flip:u,viewBox:f}):(0,st.jsx)(st.Fragment,{})}return(0,st.jsx)(mr,{...h,className:i(e.className,Qo),icon:n,size:o,themeColor:a,rotate:c,flip:u})};M.states=Il;M.options=Cl;M.defaultOptions=wa;M.className=Qo;M.moduleName=fr;M.folderName=hr;M.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var Ba="button",vr=Ba;var We=require("react/jsx-runtime"),To="k-button",yl=["icon-button"],Tl=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],El={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},Pa={showArrow:!1,arrowIconName:"chevron-down"},l=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:c=Pa.showArrow,arrowIconName:u=Pa.arrowIconName,variant:f,hover:h,focus:N,active:x,selected:p,disabled:L,togglable:k,ariaDisabled:I,icon:O,text:S,iconClassName:P,className:Q,...me}=e,ge=O!==void 0,Le=e.children!==void 0;return(0,We.jsxs)(t,{className:i(Q,To,pr(To,f),T(To,{size:o,rounded:a,fillMode:n,themeColor:s}),y(To,{hover:h,focus:N,active:x,disabled:L||I,selected:p}),{"k-icon-button":!S&&!Le&&ge}),...me,"aria-pressed":k?p?"true":"false":void 0,"aria-disabled":I?"true":void 0,disabled:L||void 0,children:[O&&(0,We.jsx)(M,{className:i(P,"k-button-icon"),icon:O}),S?(0,We.jsxs)(We.Fragment,{children:[S&&(0,We.jsx)("span",{className:"k-button-text",children:S}),e.children]}):e.children&&(0,We.jsx)("span",{className:"k-button-text",children:e.children}),c&&(0,We.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,We.jsx)(M,{icon:u})})]})};l.states=Tl;l.options=El;l.variants=yl;l.className=To;l.defaultOptions=Pa;l.moduleName=Ba;l.folderName=vr;l.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var gr=require("react/jsx-runtime"),kt=e=>(0,gr.jsx)(l,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Lr=require("react/jsx-runtime"),Eo=e=>(0,Lr.jsx)(l,{icon:"folder",children:"Button",...e});var Mr=require("react/jsx-runtime"),Ot=e=>(0,Mr.jsx)(l,{children:"Button",...e});var Zo=require("react/jsx-runtime"),Al=l.options,Ol=l.states,wl={...l.defaultOptions,variant:"text"},Bl=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Pl=[],zt=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,Zo.jsx)(kt,{...o,icon:"star"});case"icon-and-text":return(0,Zo.jsx)(Eo,{...o,icon:"star",children:"Button"});default:return(0,Zo.jsx)(Ot,{...o,children:"Button"})}};zt.options=Al;zt.states=Ol;zt.variants=Bl;zt.defaultOptions=wl;zt.modifiers=Pl;zt.className=l.className;var Ra="button",Sr=Ra;var Ir=require("react/jsx-runtime"),Ao="k-button-group",Rl=[r.disabled],Kl={fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},_l={},C=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return(0,Ir.jsx)("div",{role:"group",...n,className:i(e.className,Ao,T(Ao,{fillMode:t}),y(Ao,{disabled:o}),{[`${Ao}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};C.states=Rl;C.options=Kl;C.className=Ao;C.defaultOptions=_l;C.moduleName=Ra;C.folderName=Sr;C.ariaSpec={selector:".k-button-group",rules:[{selector:".k-button-group:not(.k-split-button)",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-button-group.k-disabled",attribute:"aria-disabled=true",usage:"The attribute is rendered only when the entire button group is disabled."},{selector:".k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button",attribute:"aria-pressed (when selected)",usage:"Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true."}]};var Ka=require("react/jsx-runtime");var _a=require("react/jsx-runtime");var Da=require("react/jsx-runtime");var Ha=require("react/jsx-runtime");var za=require("react/jsx-runtime");var Ua=require("react/jsx-runtime");var Te=require("react/jsx-runtime"),Dl={...l.options,...C.options},Hl=l.states,zl={...l.defaultOptions,...C.defaultOptions,variant:"text-button"},Ul=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Gl=[],Ut=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,Te.jsxs)(C,{fillMode:a.fillMode,className:o,children:[(0,Te.jsx)(l,{...a,icon:"star"}),(0,Te.jsx)(l,{...a,icon:"star"}),(0,Te.jsx)(l,{...a,icon:"star"})]}):t==="icon-text-button"?(0,Te.jsxs)(C,{fillMode:a.fillMode,className:o,children:[(0,Te.jsx)(l,{...a,icon:"star",children:"First"}),(0,Te.jsx)(l,{...a,icon:"star",children:"Middle"}),(0,Te.jsx)(l,{...a,icon:"star",children:"Last"})]}):(0,Te.jsxs)(C,{fillMode:a.fillMode,className:o,children:[(0,Te.jsx)(l,{...a,children:"First"}),(0,Te.jsx)(l,{...a,children:"Middle"}),(0,Te.jsx)(l,{...a,children:"Last"})]})};Ut.options=Dl;Ut.states=Hl;Ut.variants=Ul;Ut.defaultOptions=zl;Ut.modifiers=Gl;Ut.className=C.className;var Oo="input",jo=Oo;var Cr=require("react/jsx-runtime"),ea="k-input",Fl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Vl={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},$l={},Z=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u,size:f,rounded:h,fillMode:N,...x}=e;return(0,Cr.jsx)("span",{...x,className:i(e.className,ea,T(ea,{size:f,rounded:h,fillMode:N}),y(ea,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u}))})};Z.states=Fl;Z.options=Vl;Z.className=ea;Z.defaultOptions=$l;Z.moduleName=Oo;Z.folderName=jo;var yr=require("react/jsx-runtime"),ta="k-picker",Xl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],ql={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Jl={},et=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u,size:f,rounded:h,fillMode:N,...x}=e;return(0,yr.jsx)("span",{...x,className:i(e.className,ta,T(ta,{size:f,rounded:h,fillMode:N}),y(ta,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u})),children:e.children})};et.states=Xl;et.options=ql;et.className=ta;et.defaultOptions=Jl;et.moduleName=Oo;et.folderName=jo;var Gt=require("react/jsx-runtime"),Tr="k-clear-value",Wl=[r.disabled,r.loading,r.readonly],Yl={},Be=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?(0,Gt.jsx)(Gt.Fragment,{}):(0,Gt.jsx)("span",{className:i(e.className,Tr),children:(0,Gt.jsx)(M,{icon:"x"})})};Be.states=Wl;Be.options=Yl;Be.className=Tr;var Er=require("react/jsx-runtime"),Ga="k-input-inner",Ql=[],Zl={},oa={type:"text",autocomplete:"off",value:"",placeholder:""},Pe=e=>{let{value:t=oa.value,type:o=oa.type,placeholder:a=oa.placeholder,autocomplete:n=oa.autocomplete,disabled:s,readOnly:c,...u}=e;return(0,Er.jsx)("input",{...u,type:o,className:i(e.className,Ga,T(Ga,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:c||void 0})};Pe.states=Ql;Pe.options=Zl;Pe.className=Ga;var wo=require("react/jsx-runtime"),Fa="k-input-inner",jl=[],ed={},wt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...c}=e;return(0,wo.jsxs)("span",{...c,className:i(e.className,Fa,T(Fa,e)),children:[n,!n&&s&&(0,wo.jsx)(M,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&(0,wo.jsx)("span",{className:"k-input-value-text",children:t})]})};wt.states=jl;wt.options=ed;wt.className=Fa;var Or=require("react/jsx-runtime"),Va="k-input-inner",td=[],od={},Ar={value:"",placeholder:""},$a=e=>{let{value:t=Ar.value,placeholder:o=Ar.placeholder,rows:a,disabled:n,...s}=e;return(0,Or.jsx)("textarea",{...s,className:i(e.className,Va,T(Va,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};$a.states=td;$a.options=od;$a.className=Va;var Bo=require("react/jsx-runtime"),wr="k-input-loading-icon",ad=[r.disabled,r.loading],Ee=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Bo.jsx)(Bo.Fragment,{}):(0,Bo.jsx)("span",{className:i(e.className,wr,"k-icon k-i-loading")})};Ee.states=ad;Ee.className=wr;var Po=require("react/jsx-runtime"),Br="k-input-validation-icon",nd=[r.valid,r.invalid,r.disabled,r.loading],rd={},Me=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?(0,Po.jsx)(Po.Fragment,{}):(0,Po.jsx)(M,{className:i(Br),icon:s})};Me.states=nd;Me.options=rd;Me.className=Br;var Ro=require("react/jsx-runtime"),id="k-input-prefix",sd={direction:"horizontal"},ze=e=>{let{direction:t=sd.direction,...o}=e;return e.children?(0,Ro.jsx)("span",{...o,className:i(id,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Ro.jsx)(Ro.Fragment,{})};var Ko=require("react/jsx-runtime"),ld="k-input-suffix",dd={direction:"horizontal"},Ue=e=>{let{direction:t=dd.direction,...o}=e;return e.children?(0,Ko.jsx)("span",{...o,className:i(ld,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Ko.jsx)(Ko.Fragment,{})};var cd=require("react/jsx-runtime");var Pr=require("react/jsx-runtime"),pd="k-input-suffix-text",Xa=e=>{let{children:t,...o}=e;return(0,Pr.jsx)("span",{...o,className:i(pd,e.className),children:t})};var Kr=require("react/jsx-runtime"),Rr="k-input-separator",ud={direction:"vertical"},Ge=e=>{let{direction:t=ud.direction,...o}=e;return(0,Kr.jsx)("span",{...o,className:i(Rr,e.className,{[`${Rr}-${t}`]:t})})};var ae=require("react/jsx-runtime"),md=Z.states,bd=Z.defaultOptions,fd=Z.options,hd=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],xd=[],Ft=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:s,readonly:c,...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,ae.jsxs)(Z,{...u,valid:o,invalid:a,loading:n,disabled:s,readonly:c,style:{width:300},children:[f&&(0,ae.jsxs)(ae.Fragment,{children:[(0,ae.jsx)(ze,{children:(0,ae.jsx)(M,{icon:"lock"})}),p&&(0,ae.jsx)(Ge,{})]}),(0,ae.jsx)(Pe,{placeholder:"Placeholder",value:"Value"}),x&&(0,ae.jsx)(Me,{valid:o,invalid:a,loading:n,disabled:s}),(0,ae.jsx)(Ee,{loading:n,disabled:s}),N&&(0,ae.jsx)(Be,{loading:n,disabled:s,readonly:c,value:"Value"}),h&&(0,ae.jsxs)(ae.Fragment,{children:[p&&(0,ae.jsx)(Ge,{}),(0,ae.jsx)(Ue,{children:(0,ae.jsx)(Ot,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};Ft.options=fd;Ft.states=md;Ft.variants=xd;Ft.defaultOptions=bd;Ft.modifiers=hd;Ft.className=Z.className;var _o=require("react/jsx-runtime"),_r="k-color-preview",Nd=[],kd={},vt=e=>{let{color:t,iconName:o,...a}=e;return(0,_o.jsxs)("span",{...a,className:i(e.className,_r,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,_o.jsx)(M,{icon:o,className:"k-color-preview-icon"}),(0,_o.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};vt.states=Nd;vt.options=kd;vt.className=_r;var qa="popup",Dr=qa;var Ja=require("react/jsx-runtime"),Hr="k-animation-container",vd=[],gd={},zr={positionMode:"absolute"},tt=e=>{let{positionMode:t=zr.positionMode,animationStyle:o,offset:a,...n}=e;return(0,Ja.jsx)("div",{...n,style:{...a,...e.style},className:i(e.className,Hr,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,Ja.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};tt.states=vd;tt.options=gd;tt.className=Hr;tt.defaultOptions=zr;tt.moduleName=qa;tt.folderName=Dr;var Wa="popup",Ur=Wa;var Ya=require("react/jsx-runtime"),Gr="k-popup",Ld=[],Md={},Fr={positionMode:"absolute"},V=e=>{let{offset:t,positionMode:o=Fr.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:c,...u}=e;return(0,Ya.jsx)(tt,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":c,children:(0,Ya.jsx)("div",{...u,className:i(e.className,Gr),children:e.children})})};V.states=Ld;V.options=Md;V.className=Gr;V.defaultOptions=Fr;V.moduleName=Wa;V.folderName=Ur;V.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var Qa="action-buttons",Vr=Qa;var $r=require("react/jsx-runtime"),aa="k-actions",Sd=[],Id={},Za={alignment:"start",orientation:"horizontal"},ot=e=>{let{alignment:t=Za.alignment,orientation:o=Za.orientation,...a}=e;return(0,$r.jsx)("div",{...a,className:i(aa,{[`${aa}-${t}`]:t,[`${aa}-${o}`]:o},e.className),children:e.children})};ot.states=Sd;ot.options=Id;ot.className=aa;ot.defaultOptions=Za;ot.moduleName=Qa;ot.folderName=Vr;var qr=require("react/jsx-runtime"),Cd="k-actionsheet-footer",Xr={alignment:"stretched",orientation:"horizontal"},gt=e=>{let{alignment:t=Xr.alignment,orientation:o=Xr.orientation,template:a,as:n=a?"div":ot,...s}=e;return(0,qr.jsx)(n,{...s,...!a&&{alignment:t,orientation:o},className:i(e.className,Cd),children:e.children})};var ja="searchbox",Jr=ja;var Lt=require("react/jsx-runtime"),Wr="k-searchbox",yd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],Td={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},en={showIcon:!0,icon:"search"},Fe=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:c,focus:u,valid:f,invalid:h,required:N,loading:x,disabled:p,showIcon:L=en.showIcon,icon:k=en.icon,"aria-label":I,...O}=e;return(0,Lt.jsxs)(Z,{...O,size:a,rounded:n,fillMode:s,hover:c,focus:u,valid:f,invalid:h,required:N,loading:x,disabled:p,className:i(e.className,Wr),children:[L&&(0,Lt.jsx)(M,{className:"k-input-icon",icon:k}),(0,Lt.jsx)(Pe,{placeholder:o,value:t,"aria-label":I}),(0,Lt.jsx)(Ee,{...e}),(0,Lt.jsx)(Me,{...e}),(0,Lt.jsx)(Be,{...e})]})};Fe.states=yd;Fe.options=Td;Fe.className=Wr;Fe.defaultOptions=en;Fe.moduleName=ja;Fe.folderName=Jr;var Ed=require("react/jsx-runtime");var tn="textbox",Yr=tn;var be=require("react/jsx-runtime"),Qr="k-textbox",Ad=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Od={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},na={showClearButton:!0,showValidationIcon:!0,separators:!0},ie=e=>{let{size:t,rounded:o,fillMode:a,separators:n=na.separators,showClearButton:s=na.showClearButton,showValidationIcon:c=na.showValidationIcon,prefix:u,suffix:f,type:h,value:N,placeholder:x,hover:p,focus:L,valid:k,invalid:I,required:O,loading:S,disabled:P,readonly:Q,id:me,"aria-label":ge,"aria-describedby":Le,...we}=e;return(0,be.jsxs)(Z,{...we,size:t,rounded:o,fillMode:a,hover:p,focus:L,valid:k,invalid:I,required:O,loading:S,disabled:P,readonly:Q,className:i(e.className,Qr),children:[u&&(0,be.jsxs)(be.Fragment,{children:[(0,be.jsx)(ze,{children:u}),n&&(0,be.jsx)(Ge,{})]}),(0,be.jsx)(Pe,{id:me,placeholder:x,value:N,type:h,disabled:P,"aria-label":ge,"aria-describedby":Le,"aria-invalid":I?"true":void 0}),c&&(0,be.jsx)(Me,{valid:k,invalid:I,loading:S,disabled:P}),(0,be.jsx)(Ee,{loading:S,disabled:P}),s&&(0,be.jsx)(Be,{loading:S,disabled:P,readonly:Q,value:N}),f&&(0,be.jsxs)(be.Fragment,{children:[n&&(0,be.jsx)(Ge,{}),(0,be.jsx)(Ue,{children:f})]})]})};ie.states=Ad;ie.options=Od;ie.className=Qr;ie.defaultOptions=na;ie.moduleName=tn;ie.folderName=Yr;ie.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 Do=ie;var jr=require("react/jsx-runtime"),Zr=e=>(0,jr.jsx)(Do,{...e});var ei=require("react/jsx-runtime");var ti=require("react/jsx-runtime");var wd=require("react/jsx-runtime");var ra=require("react/jsx-runtime"),Bd=ie.states,Pd=ie.defaultOptions,Rd=ie.options,Kd=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],_d=[],Vt=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,ra.jsx)(M,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,ra.jsx)(Ot,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[n];break;default:break}}),(0,ra.jsx)(Zr,{value:"Value",style:{width:300},...o,...a})};Vt.options=Rd;Vt.states=Bd;Vt.variants=_d;Vt.defaultOptions=Pd;Vt.modifiers=Kd;Vt.className=ie.className;var Re=require("react/jsx-runtime"),oi="k-actionsheet-titlebar",Dd={},Se=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:c,inputValue:u,inputPlaceholder:f,adaptive:h,titleId:N,children:x,...p}=e;return(0,Re.jsxs)("div",{...p,className:i(e.className,oi),children:[(0,Re.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,Re.jsx)("div",{className:"k-actionsheet-actions",children:a}),!x&&(0,Re.jsxs)("div",{className:"k-actionsheet-title",id:N,children:[t&&(0,Re.jsx)("div",{className:"k-text-center",children:t}),o&&(0,Re.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),x&&(0,Re.jsx)("div",{className:"k-actionsheet-title",id:N,children:x}),n&&(0,Re.jsx)("div",{className:"k-actionsheet-actions",children:n})]}),(c||s)&&(0,Re.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?(0,Re.jsx)(ie,{value:u,placeholder:f,size:h?"large":"medium","aria-label":t||f||"Input"}):(0,Re.jsx)(Fe,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};Se.className=oi;Se.defaultOptions=Dd;var $t=require("react/jsx-runtime"),on="k-actionsheet-view",Hd=[],zd={},Ud={},Xt=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:c,...u}=e,f=(n==null?void 0:n.type)===Se&&(0,$t.jsx)(Se,{adaptive:t,titleId:c,...n==null?void 0:n.props}),h=(s==null?void 0:s.type)===gt&&(0,$t.jsx)(gt,{...s==null?void 0:s.props});return(0,$t.jsxs)("div",{...u,className:i(e.className,on,{[`${on}-animated`]:o}),children:[f,(0,$t.jsx)("div",{className:"k-actionsheet-content",children:a}),h]})};Xt.states=Hd;Xt.options=zd;Xt.className=on;Xt.defaultOptions=Ud;var Ho="action-sheet",ia=Ho;var an="overlay",ai=an;var ri=require("react/jsx-runtime"),ni="k-overlay",Gd=[],Fd={},Vd={},Mt=e=>{let{...t}=e;return(0,ri.jsx)("div",{...t,className:i(e.className,ni),children:e.children})};Mt.states=Gd;Mt.options=Fd;Mt.className=ni;Mt.defaultOptions=Vd;Mt.moduleName=an;Mt.folderName=ai;var Bt=require("react/jsx-runtime"),ii="k-actionsheet",$d=[],Xd={},zo={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},W=e=>{let{side:t=zo.side,fullscreen:o=zo.fullscreen,adaptive:a=zo.adaptive,overlay:n=zo.overlay,template:s,children:c,header:u,footer:f,id:h,...N}=e,x=h&&!s&&u?`${h}-title`:void 0;return(0,Bt.jsxs)("div",{className:"k-actionsheet-container",children:[n&&(0,Bt.jsx)(Mt,{}),(0,Bt.jsx)(tt,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:(0,Bt.jsx)("div",{...N,id:h,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":x,className:i(e.className,ii,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||(0,Bt.jsx)(Xt,{header:u,footer:f,adaptive:a,titleId:x,...e,children:c})})})]})};W.states=$d;W.options=Xd;W.className=ii;W.defaultOptions=zo;W.moduleName=Ho;W.folderName=ia;W.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 li=require("react/jsx-runtime"),si="k-actionsheet-container",qd=[],Jd={},Wd={},qt=e=>{let{children:t,...o}=e;return(0,li.jsx)("div",{...o,className:si,children:t})};qt.states=qd;qt.options=Jd;qt.className=si;qt.defaultOptions=Wd;qt.moduleName=Ho;qt.folderName=ia;var di=require("react/jsx-runtime"),nn=e=>{let{...t}=e;return(0,di.jsx)("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};var Ve=require("react/jsx-runtime"),rn="k-actionsheet-item",Yd=[r.hover,r.focus,r.selected,r.disabled],St=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:c,disabled:u,...f}=e;return(0,Ve.jsxs)("span",{...f,className:i(e.className,rn,y(rn,{hover:n,focus:s,selected:c,disabled:u})),children:[!e.children&&(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,Ve.jsx)("span",{className:"k-icon-wrap",children:(0,Ve.jsx)(M,{className:"k-actionsheet-item-icon",icon:t})}),(0,Ve.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,Ve.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,Ve.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};St.states=Yd;St.className=rn;var ci=require("react/jsx-runtime");var Qd=require("react/jsx-runtime");var Zd=require("react/jsx-runtime");var jd=require("react/jsx-runtime");var $=require("react/jsx-runtime"),ec=W.options,tc=W.states,ui={...W.defaultOptions,variant:"normal"},oc=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ac=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Jt=e=>{let{variant:t,modifiers:o,...a}={...ui,...e},n={},s=(0,$.jsxs)(nn,{children:[(0,$.jsx)(St,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,$.jsx)(St,{text:"Add to Favorites",iconName:"heart"}),(0,$.jsx)(St,{text:"Upload New",iconName:"upload",disabled:!0}),(0,$.jsx)("hr",{className:"k-hr"}),(0,$.jsx)(St,{text:"Cancel",iconName:"cancel"})]}),c="Choose from the items below",u="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(f=>{switch(f){case"actions":n.actionsStart=!!(o!=null&&o[f]),n.actionsEnd=!!(o!=null&&o[f]);break;case"subtitle":n.subtitle=o!=null&&o[f]?c:void 0;break;case"footer":n.footer=!!(o!=null&&o[f]);break;default:break}}),t==="adaptive"?(0,$.jsx)(W,{...a,adaptive:!0,fullscreen:n.fullScreen,header:(0,$.jsx)(Se,{actionsStart:n.actionsStart?(0,$.jsx)(l,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,$.jsx)(l,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:n.subtitle}),footer:n.footer?(0,$.jsxs)(gt,{alignment:"stretched",children:[(0,$.jsx)(l,{text:"Cancel",size:"large",themeColor:"base"}),(0,$.jsx)(l,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):(0,$.jsx)(W,{...a,fullscreen:n.fullScreen,header:(0,$.jsx)(Se,{actionsStart:n.actionsStart?(0,$.jsx)(l,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,$.jsx)(l,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?(0,$.jsxs)(gt,{alignment:"stretched",children:[(0,$.jsx)(l,{text:"Apply",themeColor:"primary"}),(0,$.jsx)(l,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Jt.options=ec;Jt.states=tc;Jt.variants=oc;Jt.defaultOptions=ui;Jt.modifiers=ac;Jt.className=W.className;var sn="slider",mi=sn;var Ye=require("react/jsx-runtime"),Uo="k-slider",nc=[r.hover,r.focus,r.active,r.disabled,r.readonly],rc={},$e={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},F=e=>{let{type:t=$e.type,orientation:o=$e.orientation,gradientType:a=$e.gradientType,readonly:n=$e.readonly,disabled:s=$e.disabled,handlePosition:c=$e.handlePosition,showButtons:u=$e.showButtons,showTicks:f=$e.showTicks,value:h=$e.value,min:N=$e.min,max:x=$e.max,startValue:p,endValue:L,hover:k,focus:I,active:O,trackStyle:S,dir:P,...Q}=e,ge=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),Le,we;return o==="horizontal"?(Le=P==="rtl"?"chevron-left":"chevron-right",we=P==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(Le="chevron-up",we="chevron-down"),(0,Ye.jsxs)("div",{...Q,className:i(Uo,e.className,y(Uo,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:P,children:[u&&(0,Ye.jsx)(l,{className:"k-button-decrease",rounded:"full",icon:we,tabIndex:-1,title:"Decrease"}),(0,Ye.jsxs)("div",{className:"k-slider-track-wrap",children:[f&&(0,Ye.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,Ye.jsxs)("div",{className:"k-slider-track",style:S,children:[(0,Ye.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,Ye.jsx)("span",{className:i("k-draghandle","k-draghandle-start",y(Uo,{hover:k,focus:I,active:O})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":p??N,"aria-valuemin":N,"aria-valuemax":L??x,"aria-orientation":ge,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":Q["aria-label"]?`${Q["aria-label"]} start`:"Range start"}),(0,Ye.jsx)("span",{className:i("k-draghandle",`k-draghandle-${c}`,y(Uo,{hover:k,focus:I,active:O})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?L??x:h,"aria-valuemin":t==="range"?p??N:N,"aria-valuemax":x,"aria-orientation":ge,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?Q["aria-label"]?`${Q["aria-label"]} end`:"Range end":Q["aria-label"]})]})]}),u&&(0,Ye.jsx)(l,{className:"k-button-increase",rounded:"full",icon:Le,tabIndex:-1,title:"Increase"})]})};F.states=nc;F.options=rc;F.className=Uo;F.defaultOptions=$e;F.moduleName=sn;F.folderName=mi;F.ariaSpec={selector:".k-slider",rules:[{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"role=slider",usage:"Sets the proper role for Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-label or aria-labelledby or title",usage:"The Slider needs an accessible name to be assigned to it."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the Slider is in a form and announces the invalid state."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuenow",usage:"Specifies the currently selected value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemin",usage:"Specifies the minimum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemax",usage:"Specifies the maximum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuetext (when has text alternative)",usage:"Specifies a human-readable text alternative to the numeric value. Provided by consuming applications."},{selector:".k-slider:not(.k-disabled) .k-draghandle:not(.k-hsv-draghandle)",attribute:"tabindex=0",usage:"The element must be focusable. Disabled sliders are removed from tab order."},{selector:".k-slider-vertical .k-draghandle",attribute:"aria-orientation=vertical (when vertical)",usage:"Present only when slider is vertical."},{selector:".k-slider.k-disabled .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-disabled=true",usage:"Rendered only when the Slider is disabled."},{selector:".k-slider.k-readonly .k-draghandle",attribute:"aria-readonly=true (when readonly)",usage:"Rendered only when the Slider is readonly. Readonly sliders remain focusable but their value cannot be changed."},{selector:".k-slider .k-button",attribute:"tabindex=-1",usage:"Excludes the buttons from the natural tab order. Keyboard users use arrow keys on the drag handle."},{selector:".k-slider .k-button",attribute:"title",usage:'Provides a tooltip describing the button action (e.g., "Decrease" or "Increase").'},{selector:".k-slider .k-slider-items",attribute:"aria-hidden=true",usage:"Hides the tick list from assistive technologies. Tick values are redundant with the drag handle value attributes."},{selector:".k-slider .k-tick",attribute:"role=presentation",usage:"Removes semantic meaning from individual tick elements. Ticks are visual-only markers."},{selector:".k-slider .k-tick",attribute:"title",usage:"Represents the value associated with the respective tick."}]};var ln=require("react/jsx-runtime"),bi="k-tick",ic=[],sc={},fi={label:!1},E=e=>{let{style:t,label:o=fi.label,orientation:a,large:n,text:s,...c}=e;return(0,ln.jsx)("li",{...c,role:"presentation",title:s||"Tick",className:i(e.className,bi,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&(0,ln.jsx)("span",{className:"k-label",children:s})})};E.states=ic;E.options=sc;E.className=bi;E.defaultOptions=fi;var se=require("react/jsx-runtime"),hi=e=>(0,se.jsx)(F,{"aria-label":e["aria-label"]||"Slider",children:(0,se.jsxs)(se.Fragment,{children:[(0,se.jsx)(E,{className:"k-first",label:!0,large:!0,text:"0"}),(0,se.jsx)(E,{}),(0,se.jsx)(E,{}),(0,se.jsx)(E,{}),(0,se.jsx)(E,{}),(0,se.jsx)(E,{label:!0,large:!0,text:"5"}),(0,se.jsx)(E,{}),(0,se.jsx)(E,{}),(0,se.jsx)(E,{}),(0,se.jsx)(E,{}),(0,se.jsx)(E,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var le=require("react/jsx-runtime"),xi=e=>(0,le.jsx)(F,{children:(0,le.jsxs)(le.Fragment,{children:[(0,le.jsx)(E,{className:"k-first",label:!0,large:!0,text:"0"}),(0,le.jsx)(E,{}),(0,le.jsx)(E,{}),(0,le.jsx)(E,{}),(0,le.jsx)(E,{}),(0,le.jsx)(E,{label:!0,large:!0,text:"5"}),(0,le.jsx)(E,{}),(0,le.jsx)(E,{}),(0,le.jsx)(E,{}),(0,le.jsx)(E,{}),(0,le.jsx)(E,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var dn=require("react/jsx-runtime");var cn=require("react/jsx-runtime");var Ni=require("react/jsx-runtime"),pn=e=>(0,Ni.jsx)(F,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var ki=require("react/jsx-runtime"),un=e=>(0,ki.jsx)(F,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var mn=require("react/jsx-runtime");var bn=require("react/jsx-runtime");var Ae=require("react/jsx-runtime"),lc=F.options,dc=F.states,vi={...F.defaultOptions,variant:"horizontal",label:!0},cc=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],pc=[{name:"label",title:"Labels"},{name:"tick",title:"Ticks"},{name:"button",title:"Side Buttons"}],Wt=e=>{let{variant:t,modifiers:o,...a}={...vi,...e},n={};Object.keys(o||{}).forEach(h=>{switch(h){case"button":{n.showButtons=!!(o!=null&&o[h]);break}case"label":{n.label=!!(o!=null&&o[h]);break}case"tick":{n.showTicks=!!(o!=null&&o[h]);break}}});let{label:s=!0,showButtons:c,showTicks:u}=n,f={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,Ae.jsxs)(xi,{showTicks:u,showButtons:c,style:{height:"300px",...f},...a,children:[(0,Ae.jsx)(E,{label:s,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,Ae.jsx)(E,{label:s,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,Ae.jsx)(E,{label:s,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,Ae.jsx)(E,{label:s,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,Ae.jsx)(E,{label:s,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,Ae.jsxs)(hi,{showTicks:u,showButtons:c,style:{width:"400px",...f},...a,children:[(0,Ae.jsx)(E,{label:s,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,Ae.jsx)(E,{label:s,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,Ae.jsx)(E,{label:s,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,Ae.jsx)(E,{label:s,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,Ae.jsx)(E,{label:s,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Wt.options=lc;Wt.states=dc;Wt.variants=cc;Wt.defaultOptions=vi;Wt.modifiers=pc;Wt.className=F.className;var Go=require("react/jsx-runtime"),gi="k-spin-button",bc=[],fc={size:[d.undefined,d.small,d.medium,d.large],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},fn={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},It=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=fn.increaseLabel,decreaseLabel:s=fn.decreaseLabel,...c}=e;return(0,Go.jsxs)("span",{...c,className:i(gi,e.className),children:[(0,Go.jsx)(l,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),(0,Go.jsx)(l,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};It.states=bc;It.options=fc;It.className=gi;It.defaultOptions=fn;It.moduleName=null;It.folderName=null;var Li="numeric-textbox",Mi="numerictextbox";var de=require("react/jsx-runtime"),Si="k-numerictextbox",hc=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],xc={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},sa={showSpinButton:!0,showClearButton:!0,separators:!0},D=e=>{let{size:t,rounded:o,fillMode:a,separators:n=sa.separators,showClearButton:s=sa.showClearButton,showSpinButton:c=sa.showSpinButton,prefix:u,suffix:f,value:h,placeholder:N,hover:x,focus:p,valid:L,invalid:k,required:I,loading:O,disabled:S,readonly:P,id:Q,"aria-label":me,"aria-describedby":ge,...Le}=e;return(0,de.jsxs)(Z,{...Le,size:t,rounded:o,fillMode:a,hover:x,focus:p,valid:L,invalid:k,required:I,loading:O,disabled:S,readonly:P,className:i(e.className,Si),children:[u&&(0,de.jsxs)(de.Fragment,{children:[(0,de.jsx)(ze,{children:u}),n&&(0,de.jsx)(Ge,{})]}),(0,de.jsx)(Pe,{id:Q,placeholder:N,value:h,role:"spinbutton",disabled:S,"aria-label":me,"aria-describedby":ge,"aria-invalid":k?"true":void 0}),(0,de.jsx)(Me,{valid:L,invalid:k,loading:O,disabled:S}),(0,de.jsx)(Ee,{loading:O,disabled:S}),s&&(0,de.jsx)(Be,{loading:O,disabled:S,readonly:P,value:h}),f&&(0,de.jsxs)(de.Fragment,{children:[n&&(0,de.jsx)(Ge,{}),(0,de.jsx)(Ue,{children:f})]}),c&&(0,de.jsx)(It,{className:"k-input-spinner",size:t,fillMode:a,disabled:S})]})};D.states=hc;D.options=xc;D.className=Si;D.defaultOptions=sa;D.moduleName=Li;D.folderName=Mi;D.ariaSpec={selector:".k-numerictextbox",rules:[{selector:".k-numerictextbox > .k-input-inner",attribute:"role=spinbutton",usage:"Announces the spin button capabilities of the NumericTextBox."},{selector:".k-numerictextbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuenow (when has value)",usage:"Announces the current value of the component."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemin (when has min)",usage:"Announces the minimum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemax (when has max)",usage:"Announces the maximum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the NumericTextBox is in an invalid state."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message."},{selector:".k-numerictextbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"role=button or nodeName=button",usage:"Describes the role of the spin buttons."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"aria-label",usage:"The button element requires discernible text."},{selector:".k-numerictextbox.k-disabled .k-spin-button > .k-button",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."}]};var Fo=D;var Ci=require("react/jsx-runtime"),Ii=e=>(0,Ci.jsx)(Fo,{...e});var da=cr(require("react"));var hn=require("react/jsx-runtime"),Nc="k-list-group-sticky-header",xn=e=>(0,hn.jsx)("div",{className:i(Nc,e.className),children:(0,hn.jsx)("div",{className:"k-list-header-text",children:e.children})});var yi=require("react/jsx-runtime"),kc="k-no-data",la=e=>{let{live:t,...o}=e;return(0,yi.jsx)("span",{...o,className:i(kc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Pt="list",Yt=Pt;var Qt=require("react/jsx-runtime"),Nn="k-list",vc=[],gc={size:[d.undefined,d.small,d.medium,d.large]},Lc={},R=e=>{var L;let{size:t,virtualization:o,children:a,header:n,optionLabel:s,customValue:c,noData:u,screenReaders:f,...h}=e,x=da.default.Children.toArray(a)[0],p=(L=x==null?void 0:x.props)!=null&&L.children?da.default.Children.count(x.props.children):da.default.Children.count(a);return(0,Qt.jsxs)("div",{...h,className:i(e.className,Nn,T(Nn,{size:t}),{"k-virtual-list":o}),children:[s,c,n&&(0,Qt.jsx)(xn,{children:n}),a||(u!==void 0?u:(0,Qt.jsx)(la,{live:!0,children:"No data found."})),f&&a&&(0,Qt.jsxs)(la,{className:"k-sr-only",live:!0,children:[p," items found."]})]})};R.states=vc;R.options=gc;R.className=Nn;R.defaultOptions=Lc;R.moduleName=Pt;R.folderName=Yt;R.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var Ei=require("react/jsx-runtime"),Ti="k-list-container",Mc=[],Sc={},Ic={},Zt=e=>{let{...t}=e;return(0,Ei.jsx)("div",{...t,className:i(e.className,Ti),children:e.children})};Zt.states=Mc;Zt.options=Sc;Zt.className=Ti;Zt.defaultOptions=Ic;Zt.moduleName=Pt;Zt.folderName=Yt;var Rt="checkbox",jt=Rt;var kn=require("react/jsx-runtime"),ca="k-checkbox",Cc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],yc={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full]},Tc={},Xe=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:s,disabled:c,invalid:u,valid:f,required:h,size:N,rounded:x,wrapperRole:p,...L}=e;return(0,kn.jsx)("span",{className:"k-checkbox-wrap",role:p,children:(0,kn.jsx)("input",{...L,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:c||void 0,"aria-invalid":u?"true":void 0,className:i(e.className,ca,T(ca,{size:N,rounded:x}),y(ca,{hover:n,focus:s,disabled:c,invalid:u,valid:f,indeterminate:a,checked:o}))})})};Xe.states=Cc;Xe.options=yc;Xe.className=ca;Xe.defaultOptions=Tc;Xe.moduleName=Rt;Xe.folderName=jt;Xe.ariaSpec={selector:".k-checkbox",rules:[{selector:".k-checkbox",attribute:"role=checkbox or type=checkbox",usage:"Announces the checkbox role of the element."},{selector:".k-checkbox",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name to which it will be assigned."},{selector:".k-checkbox",attribute:"aria-checked=true/false/mixed or checked",usage:"For native checkboxes the checked state is handled by the browser. aria-checked is used for custom implementations."},{selector:".k-checkbox",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the checkbox."},{selector:".k-checkbox",attribute:"disabled or aria-disabled=true (when disabled)",usage:"For native checkboxes use the HTML disabled attribute. aria-disabled for custom implementations."},{selector:".k-invalid, .ng-invalid",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the CheckBox is in a form and announces the invalid state."}]};var Qe=Xe;var wi=require("react/jsx-runtime"),Ai="k-checkbox-list",Ec=[],Ac={},Oi={layout:"vertical"},Ie=e=>{let{layout:t=Oi.layout,...o}=e;return(0,wi.jsx)("ul",{...o,className:i(e.className,Ai,{[`k-list-${t}`]:t}),children:e.children})};Ie.states=Ec;Ie.options=Ac;Ie.className=Ai;Ie.defaultOptions=Oi;Ie.moduleName=Rt;Ie.folderName=jt;var Pi=require("react/jsx-runtime"),Bi="k-checkbox-list-item",Oc=[],wc={},Bc={},Ce=e=>{let{...t}=e;return(0,Pi.jsx)("li",{...t,className:i(e.className,Bi),children:e.children})};Ce.states=Oc;Ce.options=wc;Ce.className=Bi;Ce.defaultOptions=Bc;Ce.moduleName=Rt;Ce.folderName=jt;var Kt=require("react/jsx-runtime"),lt=({children:e="Label",id:t="cb-label-after",...o})=>(0,Kt.jsxs)(Kt.Fragment,{children:[(0,Kt.jsx)(Qe,{id:t,...o}),(0,Kt.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var vn=require("react/jsx-runtime");var gn=require("react/jsx-runtime");var Ln=require("react/jsx-runtime");var Pc=require("react/jsx-runtime");var Rc=require("react/jsx-runtime");var Kc=require("react/jsx-runtime");var fe=require("react/jsx-runtime"),_c=Ie.options,Dc=Ie.states,Hc={...Ie.defaultOptions,variant:"vertical"},zc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Uc=[],eo=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,fe.jsxs)(Ie,{layout:"horizontal",...o,children:[(0,fe.jsx)(Ce,{children:(0,fe.jsx)(lt,{id:_("cb"),defaultChecked:!0,children:"Label"})}),(0,fe.jsx)(Ce,{children:(0,fe.jsx)(lt,{id:_("cb"),children:"Label"})}),(0,fe.jsx)(Ce,{children:(0,fe.jsx)(lt,{id:_("cb"),children:"Label"})})]}):(0,fe.jsxs)(Ie,{...o,children:[(0,fe.jsx)(Ce,{children:(0,fe.jsx)(lt,{id:_("cb"),defaultChecked:!0,children:"Label"})}),(0,fe.jsx)(Ce,{children:(0,fe.jsx)(lt,{id:_("cb"),children:"Label"})}),(0,fe.jsx)(Ce,{children:(0,fe.jsx)(lt,{id:_("cb"),children:"Label"})})]})};eo.options=_c;eo.states=Dc;eo.variants=zc;eo.defaultOptions=Hc;eo.modifiers=Uc;eo.className=Ie.className;var Ri=require("react/jsx-runtime"),Gc=Qe.options,Fc=Qe.states,Vc=Qe.defaultOptions,$c=[],Xc=[],to=e=>(0,Ri.jsx)(lt,{id:_("checkbox"),...e,defaultChecked:!0,children:"Label"});to.options=Gc;to.states=Fc;to.variants=$c;to.defaultOptions=Vc;to.modifiers=Xc;to.className=Qe.className;var at=require("react/jsx-runtime"),Mn="k-list-item",qc=[r.hover,r.focus,r.selected,r.disabled],Jc={},Wc={},w=e=>{let{text:t,groupLabel:o,group:a,iconName:n,iconClassName:s,showCheckbox:c,checked:u,hover:f,focus:h,selected:N,disabled:x,actions:p,description:L,id:k,...I}=e,O=t||e.children;return(0,at.jsxs)("li",{...I,id:k,role:a?"presentation":"option",tabIndex:a?void 0:h?0:-1,"aria-selected":!a&&N?"true":a?void 0:"false","aria-disabled":!a&&x?"true":void 0,className:i(e.className,a?"k-list-group-item":Mn,y(Mn,{hover:f,focus:h,disabled:x,selected:N})),children:[c&&(0,at.jsx)(Xe,{checked:u}),n&&(0,at.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,at.jsx)(M,{icon:n,className:i("k-list-item-icon",s)})}),(0,at.jsx)("span",{className:"k-list-item-text",children:O}),p&&(0,at.jsx)("div",{className:"k-list-item-actions",children:p}),L&&(0,at.jsx)("span",{className:"k-list-item-description",children:L}),o&&o!==""&&(0,at.jsx)("div",{className:"k-list-item-group-label",children:o})]})};w.states=qc;w.options=Jc;w.className=Mn;w.defaultOptions=Wc;w.moduleName=Pt;w.folderName=Yt;w.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 Ki=require("react/jsx-runtime"),Yc="k-list-ul",dt=e=>{let{children:t,role:o,id:a,...n}=e;return(0,Ki.jsx)("ul",{...n,id:a,role:o,className:i(Yc,e.className),children:t})};dt.ariaSpec={selector:".k-list-ul",rules:[{selector:'.k-list-ul[role="listbox"]',attribute:"role=listbox",usage:"For ungrouped lists, the UL has the listbox role."},{selector:'.k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."},{selector:'.k-list-ul[role="group"]',attribute:"role=group",usage:"For grouped sublists under a group header."},{selector:'.k-list-ul[role="group"]',attribute:"aria-labelledby (when grouped)",usage:"References the group header ID."}]};var oo=require("react/jsx-runtime"),Qc="k-list-content",z=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:s,...c}=e;return(0,oo.jsxs)("div",{...c,className:i(Qc,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?n:void 0,children:[o?e.children:(0,oo.jsx)(dt,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&(0,oo.jsx)("div",{className:"k-height-container",children:(0,oo.jsx)("div",{})})]})};z.ariaSpec={selector:".k-list-content",rules:[{selector:'.k-list-content[role="listbox"]',attribute:"role=listbox",usage:"For grouped lists, the list content container has the listbox role."},{selector:'.k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."}]};var Sn=require("react/jsx-runtime");var ao=require("react/jsx-runtime"),Zc="k-list-group-item",_t=e=>{let{groupIconName:t,...o}=e;return(0,ao.jsxs)("li",{...o,role:"presentation",className:i(Zc,e.className),children:[t&&(0,ao.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,ao.jsx)(M,{icon:t,className:"k-list-item-icon"})}),(0,ao.jsx)("span",{className:"k-list-item-text",children:e.children})]})};_t.ariaSpec={selector:".k-list-group-item",rules:[{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-group-item",attribute:"id (when referenced)",usage:"ID for aria-labelledby on the parent group UL."}]};var _i=require("react/jsx-runtime"),In="k-list-optionlabel",jc=[r.hover,r.focus,r.selected,r.disabled],ep={},tp={},pa=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...c}=e;return(0,_i.jsx)("div",{...c,className:i(In,y(In,{hover:o,focus:a,selected:n,disabled:s})),children:t})};pa.states=jc;pa.options=ep;pa.className=In;pa.defaultOptions=tp;var Di=require("react/jsx-runtime"),Cn="k-list-custom-value",op=[r.hover,r.focus,r.selected,r.disabled],ap={},np={},Ct=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...c}=e;return(0,Di.jsx)("div",{...c,className:i(Cn,y(Cn,{hover:o,focus:a,selected:n,disabled:s})),children:t})};Ct.states=op;Ct.options=ap;Ct.className=Cn;Ct.defaultOptions=np;var yn=require("react/jsx-runtime");var Tn=require("react/jsx-runtime");var En=require("react/jsx-runtime");var An=require("react/jsx-runtime");var rp=require("react/jsx-runtime");var On=require("react/jsx-runtime");var Hi="dropdown-list",zi="dropdownlist";var X=require("react/jsx-runtime"),Ui="k-dropdownlist",ip=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],sp={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},wn={showValue:!0,arrowIconName:"chevron-down"},ee=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=wn.arrowIconName,showValue:s=wn.showValue,valueIconName:c,prefix:u,suffix:f,value:h,placeholder:N,hover:x,focus:p,valid:L,invalid:k,required:I,loading:O,disabled:S,readonly:P,popup:Q,opened:me,adaptive:ge,adaptiveSettings:Le,adaptiveTitle:we,adaptiveSubtitle:Et,adaptiveFilter:Ma,id:Nt,activeDescendant:Jo,"aria-label":Sa,...Ia}=e,cl=Nt?`${Nt}-listbox`:void 0,lr=Nt?`${Nt}-value`:void 0;return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(et,{...Ia,id:Nt,size:t,rounded:o,fillMode:a,hover:x,focus:p,valid:L,invalid:k,required:I,loading:O,disabled:S,readonly:P,className:i(e.className,Ui,{"k-icon-picker":!s&&c}),role:"combobox","aria-haspopup":"listbox","aria-expanded":me?"true":"false","aria-controls":me?cl:void 0,"aria-activedescendant":me&&Jo?Jo:void 0,"aria-describedby":me?lr:void 0,"aria-disabled":S?"true":void 0,"aria-label":Sa,tabIndex:0,children:[(0,X.jsx)(ze,{children:u}),(0,X.jsx)(wt,{placeholder:N,value:h,showValue:s,valueIconName:c,id:lr}),(0,X.jsx)(Me,{valid:L,invalid:k,loading:O,disabled:S}),(0,X.jsx)(Ee,{loading:O,disabled:S}),(0,X.jsx)(Ue,{children:f}),(0,X.jsx)(l,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":N||"Toggle dropdown",tabIndex:-1})]}),me&&Q&&(0,X.jsx)(V,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:Q}),ge&&(0,X.jsx)(W,{adaptive:!0,...Le,header:(0,X.jsx)(Se,{actionsEnd:(0,X.jsx)(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Ma,inputValue:h,inputPlaceholder:N,title:we,subtitle:Et}),children:(0,X.jsx)("div",{className:"k-list-container",children:(0,X.jsx)(R,{size:"large",children:(0,X.jsxs)(z,{"aria-label":"Options",children:[(0,X.jsx)(w,{text:"List item"}),(0,X.jsx)(w,{text:"List item"}),(0,X.jsx)(w,{text:"List item"})]})})})})]})};ee.states=ip;ee.options=sp;ee.className=Ui;ee.defaultOptions=wn;ee.moduleName=Hi;ee.folderName=zi;ee.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 lp=require("react/jsx-runtime");var Gi=require("react/jsx-runtime");var Bn=require("react/jsx-runtime");var dp=require("react/jsx-runtime");var Fi=require("react/jsx-runtime");var Pn=require("react/jsx-runtime");var cp=require("react/jsx-runtime");var Oe=require("react/jsx-runtime"),pp=ee.states,up=ee.defaultOptions,mp=ee.options,bp=[{name:"opened",title:"Opened"}],fp=[],ro=e=>{let{modifiers:t,...o}=e,a={},n=(0,Oe.jsxs)(Oe.Fragment,{children:[(0,Oe.jsx)("div",{className:"k-list-filter",children:(0,Oe.jsx)(Fe,{})}),(0,Oe.jsx)(R,{style:{width:300},size:o.size,children:(0,Oe.jsxs)(z,{children:[(0,Oe.jsx)(w,{children:"List item"}),(0,Oe.jsx)(w,{children:"List item"}),(0,Oe.jsx)(w,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!(t!=null&&t[s]),a.popup=t!=null&&t[s]?n:void 0)}),(0,Oe.jsx)("div",{children:(0,Oe.jsx)(ee,{placeholder:"Value",style:{width:300},...o,...a})})};ro.options=mp;ro.states=pp;ro.variants=fp;ro.defaultOptions=up;ro.modifiers=bp;ro.className=ee.className;var Vi=require("react/jsx-runtime");var $i=require("react/jsx-runtime");var hp=require("react/jsx-runtime");var ua=require("react/jsx-runtime"),xp=D.states,Np=D.defaultOptions,kp=D.options,vp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],gp=[],io=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,ua.jsx)(ee,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,ua.jsx)(Xa,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[n];break;case"spin-button":a.showSpinButton=t==null?void 0:t[n];break;default:break}}),(0,ua.jsx)(Ii,{value:"Value",style:{width:300},...o,...a})};io.options=kp;io.states=xp;io.variants=gp;io.defaultOptions=Np;io.modifiers=vp;io.className=D.className;var g=require("react/jsx-runtime"),Xi="k-colorgradient-inputs",Lp=[],Mp={size:[d.undefined,d.small,d.medium,d.large]},qi={mode:"rgba"},so=e=>{let{mode:t=qi.mode,size:o,...a}=e;return(0,g.jsxs)("div",{...a,className:i(Xi,"k-hstack"),children:[(0,g.jsx)("div",{className:"k-vstack",children:(0,g.jsx)(l,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,g.jsx)(g.Fragment,{children:(0,g.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,g.jsx)(ie,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};so.states=Lp;so.options=Mp;so.className=Xi;so.defaultOptions=qi;var he=require("react/jsx-runtime"),Ji="k-colorgradient-color-contrast",Sp=[],Ip={},Cp={},lo=()=>(0,he.jsxs)("div",{className:i(Ji,"k-vbox"),children:[(0,he.jsxs)("div",{className:"k-contrast-ratio",children:[(0,he.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,he.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,he.jsx)(M,{icon:"check"}),(0,he.jsx)(M,{icon:"check"})]})]}),(0,he.jsxs)("div",{children:[(0,he.jsx)("span",{children:"AA: 4.5"}),(0,he.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,he.jsx)(M,{icon:"check"})]})]}),(0,he.jsxs)("div",{children:[(0,he.jsx)("span",{children:"AAA: 7.0"}),(0,he.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,he.jsx)(M,{icon:"x"})]})]})]});lo.states=Sp;lo.options=Ip;lo.className=Ji;lo.defaultOptions=Cp;var Wi="color-gradient",Yi="colorgradient";var te=require("react/jsx-runtime"),ma="k-colorgradient",yp=[r.hover,r.focus,r.readonly,r.disabled],Tp={size:[d.undefined,d.small,d.medium,d.large]},nt={mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},ne=e=>{let{size:t,mode:o=nt.mode,readonly:a=nt.readonly,disabled:n=nt.disabled,gradientStyle:s=nt.gradientStyle,dragHandleStyle:c=nt.dragHandleStyle,alphaStyle:u=nt.alphaStyle,alphaStyleHorizontal:f=nt.alphaStyleHorizontal,contrast:h=nt.contrast,dir:N,hover:x,focus:p,hoverHandle:L,focusHandle:k,canvasOrientation:I=nt.canvasOrientation,role:O,tabIndex:S,...P}=e;return(0,te.jsxs)("div",{...P,role:O??"textbox","aria-label":O==="none"?void 0:"Color gradient",tabIndex:S??0,"aria-disabled":n?"true":void 0,className:i(e.className,ma,T(ma,{size:t}),y(ma,{hover:x,focus:p,readonly:a,disabled:n})),dir:N,children:[!I||I==="horizontal"&&(0,te.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,te.jsx)("div",{className:"k-hsv-rectangle",style:s,children:(0,te.jsx)("div",{className:"k-hsv-gradient",children:(0,te.jsx)("div",{className:i("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),style:c,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),(0,te.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,te.jsx)(un,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,te.jsx)(un,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:u})]})]}),I==="vertical"&&(0,te.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,te.jsx)("div",{className:"k-hsv-rectangle",style:s,children:(0,te.jsx)("div",{className:"k-hsv-gradient",children:(0,te.jsx)("div",{className:i("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),style:c,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),(0,te.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,te.jsx)(pn,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,te.jsx)(pn,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:f})]})]}),(0,te.jsx)(so,{mode:e.mode,size:t}),h&&(0,te.jsx)(lo,{})]})};ne.states=yp;ne.options=Tp;ne.className=ma;ne.defaultOptions=nt;ne.moduleName=Wi;ne.folderName=Yi;ne.ariaSpec={selector:".k-colorgradient",rules:[{selector:".k-colorgradient",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a value that could be submitted."},{selector:".k-colorgradient",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorgradient",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorgradient.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorGradient is disabled."},{selector:".k-hsv-draghandle",attribute:"role=slider",usage:"The 2D draghandle must have slider role for ARIA-allowed attributes."},{selector:".k-hsv-draghandle",attribute:"aria-orientation=undefined",usage:"The implicit orientation for the slider must be removed for the 2D handle."},{selector:".k-hsv-draghandle",attribute:"aria-label",usage:"Must provide information about the purpose of the slider and the currently selected color."},{selector:".k-hsv-draghandle",attribute:"aria-valuetext",usage:"Must specify the values on both X and Y axis."},{selector:".k-hsv-draghandle",attribute:"aria-valuenow",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemin",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemax",usage:"Required by the slider role."},{selector:".k-numerictextbox>.k-input-inner",attribute:"aria-label",usage:"Must provide the name of the channel (red, green, blue, or alpha)."}]};var Qi=require("react/jsx-runtime"),ba=e=>(0,Qi.jsx)(ne,{...e});var Ep=require("react/jsx-runtime");var Ap=require("react/jsx-runtime");var fa=require("react/jsx-runtime"),Op=ne.options,wp=ne.states,Bp={...ne.defaultOptions,variant:"rgba"},Pp=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Rp=[],co=e=>{let{variant:t,...o}=e;switch(t){case"hex":return(0,fa.jsx)(ba,{...o,mode:t});case"rgb":return(0,fa.jsx)(ba,{...o,mode:t});default:return(0,fa.jsx)(ba,{...o,mode:t})}};co.options=Op;co.states=wp;co.variants=Pp;co.defaultOptions=Bp;co.modifiers=Rp;co.className=ne.className;var Zi=require("react/jsx-runtime"),Rn=e=>(0,Zi.jsx)("tr",{role:"row",children:e.children});var ji=require("react/jsx-runtime"),Kn="k-colorpalette-tile",Kp=[r.hover,r.focus,r.selected],_p={},po=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:s,...c}=e,u={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,ji.jsx)("td",{...c,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:i(e.className,Kn,y(Kn,{hover:a,focus:n,selected:s})),style:u})};po.states=Kp;po.options=_p;po.className=Kn;var es="color-palette",ts="colorpalette";var uo=require("react/jsx-runtime"),ha="k-colorpalette",Dp=[r.disabled],Hp={size:[d.undefined,d.small,d.medium,d.large]},os={columns:10},ye=e=>{let{size:t,palette:o,columns:a=os.columns,tileSize:n,disabled:s,...c}=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,I)=>{p.push((0,uo.jsx)(po,{color:k,tileSize:n},I))});let L=(0,uo.jsx)(Rn,{children:p},x);u.push(L)})}return(0,uo.jsx)("div",{...c,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:i(e.className,ha,y(ha,{disabled:s}),T(ha,{size:t})),children:(0,uo.jsx)("table",{className:"k-colorpalette-table",role:"none",children:(0,uo.jsx)("tbody",{children:u.length>0?u:e.children})})})};ye.states=Dp;ye.options=Hp;ye.className=ha;ye.defaultOptions=os;ye.moduleName=es;ye.folderName=ts;ye.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 xa=ye;var Vo={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 ns=require("react/jsx-runtime"),as=e=>(0,ns.jsx)(xa,{palette:Vo.basic,...e});var zp=require("react/jsx-runtime");var rs=require("react/jsx-runtime");var is=require("react/jsx-runtime"),Up=ye.options,Gp=ye.states,Fp={...ye.defaultOptions,variant:"basic"},Vp=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],$p={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}},Xp=[],mo=e=>{let{variant:t="basic",...o}=e,a=$p[t];return(0,is.jsx)(as,{columns:a.columns,palette:a,...o})};mo.options=Up;mo.states=Gp;mo.variants=Vp;mo.defaultOptions=Fp;mo.modifiers=Xp;mo.className=ye.className;var ss="color-editor",ls="coloreditor";var j=require("react/jsx-runtime"),Na="k-coloreditor",qp=[r.focus],Jp={size:[d.undefined,d.small,d.medium,d.large]},$o={view:"gradient",palette:Vo.office,actionButtons:!0,canvasOrientation:"horizontal"},Y=e=>{let{size:t,view:o=$o.view,palette:a=$o.palette,color:n,currentColor:s,focus:c,focusView:u,dir:f,group:h,actionButtons:N=$o.actionButtons,canvasOrientation:x=$o.canvasOrientation,...p}=e;return(0,j.jsxs)("div",{...p,role:"textbox","aria-label":"Color editor",tabIndex:0,className:i(e.className,"k-flatcolorpicker",Na,T(Na,{size:t}),y(Na,{focus:c})),dir:f,children:[(0,j.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,j.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:h&&(0,j.jsxs)(C,{fillMode:"flat",children:[(0,j.jsx)(l,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),(0,j.jsx)(l,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),(0,j.jsx)("div",{className:"k-spacer"}),(0,j.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,j.jsx)(l,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),(0,j.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,j.jsx)(vt,{className:"k-coloreditor-preview-color",color:n}),(0,j.jsx)(vt,{className:"k-coloreditor-current-color",color:s})]})]})]}),(0,j.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,j.jsx)(ne,{focus:u,size:t,canvasOrientation:x,role:"none",tabIndex:-1}):(0,j.jsx)(ye,{palette:a,size:t})}),N&&(0,j.jsxs)(ot,{className:"k-coloreditor-footer",alignment:"start",children:[(0,j.jsx)(l,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,j.jsx)(l,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};Y.states=qp;Y.options=Jp;Y.className=Na;Y.defaultOptions=$o;Y.moduleName=ss;Y.folderName=ls;Y.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 bo=Y;var Wp=require("react/jsx-runtime");var Yp=require("react/jsx-runtime");var cs=require("react/jsx-runtime"),ds=e=>(0,cs.jsx)(bo,{group:!0,currentColor:"fuchsia",...e});var us=require("react/jsx-runtime"),ps=e=>(0,us.jsx)(bo,{view:"palette",group:!0,currentColor:"fuchsia",...e});var _n=require("react/jsx-runtime"),Qp=Y.options,Zp=Y.states,jp={...Y.defaultOptions,variant:"gradient"},eu=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],tu=[],fo=e=>{let{variant:t,...o}=e;return t==="palette"?(0,_n.jsx)(ps,{...o,color:"white"}):(0,_n.jsx)(ds,{...o,color:"rgba(183, 118 , 118, 1.00)"})};fo.options=Qp;fo.states=Zp;fo.variants=eu;fo.defaultOptions=jp;fo.modifiers=tu;fo.className=Y.className;var ms="color-picker",bs="colorpicker";var oe=require("react/jsx-runtime"),fs="k-colorpicker",ou=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],au={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},hs={arrowIconName:"chevron-down"},Ke=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=hs.arrowIconName,prefix:s,suffix:c,value:u,placeholder:f,hover:h,focus:N,valid:x,invalid:p,required:L,disabled:k,valueIconName:I,popup:O,opened:S,adaptive:P,adaptiveSettings:Q,adaptiveTitle:me,adaptiveSubtitle:ge,...Le}=e,we="colorpicker-popup";return(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsxs)(et,{...Le,size:t,rounded:o,fillMode:a,hover:h,focus:N,valid:x,invalid:p,required:L,disabled:k,role:"combobox","aria-haspopup":"dialog","aria-expanded":S?"true":"false","aria-controls":S||P?we:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":k?"true":void 0,className:i(e.className,fs,"k-icon-picker"),children:[(0,oe.jsx)(ze,{children:s}),(0,oe.jsx)(wt,{placeholder:f,value:u,showValue:!1,valueIcon:(0,oe.jsx)(vt,{className:"k-value-icon",color:u,iconName:I}),valueIconName:I}),(0,oe.jsx)(Ue,{children:c}),(0,oe.jsx)(l,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:k})]}),S&&O&&(0,oe.jsx)(V,{id:we,className:"k-colorpicker-popup",children:O}),P&&(0,oe.jsx)(W,{adaptive:!0,id:we,...Q,header:(0,oe.jsx)(Se,{actionsEnd:(0,oe.jsx)(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:me,subtitle:ge}),footer:(0,oe.jsxs)(gt,{children:[(0,oe.jsx)(l,{text:"Cancel",size:"large"}),(0,oe.jsx)(l,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,oe.jsx)(Y,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Ke.states=ou;Ke.options=au;Ke.className=fs;Ke.defaultOptions=hs;Ke.moduleName=ms;Ke.folderName=bs;Ke.ariaSpec={selector:".k-colorpicker",rules:[{selector:".k-colorpicker",attribute:"role=combobox",usage:"The focusable element should have role combobox (input with popup)."},{selector:".k-colorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpicker",attribute:"aria-haspopup=dialog",usage:"Indicates the component has a Dialog Popup."},{selector:".k-colorpicker",attribute:"aria-expanded=true/false",usage:"Announces the visibility state of the popup."},{selector:".k-colorpicker",attribute:"aria-controls (when open)",usage:"Points to the popup element."},{selector:".k-colorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorpicker.k-disabled .k-button",attribute:"disabled or aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var ct=Ke;var xs=require("react/jsx-runtime"),ka=e=>(0,xs.jsx)(ct,{...e});var nu=require("react/jsx-runtime");var ru=require("react/jsx-runtime");var iu=require("react/jsx-runtime");var su=require("react/jsx-runtime");var lu=require("react/jsx-runtime");var du=require("react/jsx-runtime");var yt=require("react/jsx-runtime"),cu=ct.options,pu=ct.states,Ns={...ct.defaultOptions,variant:"color"},uu=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],mu=[{name:"opened",title:"Opened"}],ho=e=>{let{variant:t,modifiers:o,...a}={...Ns,...e},n={};Object.keys(o||{}).forEach(c=>{c==="opened"&&(n.opened=!!(o!=null&&o[c]),n.popup=o!=null&&o[c]?(0,yt.jsx)(Y,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let s=n.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return(0,yt.jsx)("div",{style:s,children:(0,yt.jsx)(ka,{...a,...n})});case"icon":return(0,yt.jsx)("div",{style:s,children:(0,yt.jsx)(ka,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return(0,yt.jsx)("div",{style:s,children:(0,yt.jsx)(ka,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};ho.options=cu;ho.states=pu;ho.variants=uu;ho.defaultOptions=Ns;ho.modifiers=mu;ho.className=ct.className;var Dn="combobox",ks=Dn;var K=require("react/jsx-runtime"),vs="k-combobox",bu=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],fu={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},gs={separators:!0},xe=e=>{let{size:t,rounded:o,fillMode:a,separators:n=gs.separators,prefix:s,suffix:c,value:u,placeholder:f,hover:h,focus:N,valid:x,invalid:p,required:L,loading:k,disabled:I,popup:O,opened:S,readonly:P,adaptive:Q,adaptiveSettings:me,adaptiveTitle:ge,adaptiveSubtitle:Le,adaptiveCustomValue:we,id:Et,autocomplete:Ma,activeDescendant:Nt,"aria-label":Jo,...Sa}=e,Ia=Et?`${Et}-listbox`:void 0;return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsxs)(Z,{...Sa,size:t,rounded:o,fillMode:a,hover:h,focus:N,valid:x,invalid:p,required:L,loading:k,disabled:I,readonly:P,className:i(e.className,vs),children:[s&&(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(ze,{children:s}),n&&(0,K.jsx)(Ge,{})]}),(0,K.jsx)(Pe,{id:Et,placeholder:f,value:u,role:"combobox","aria-haspopup":"listbox","aria-expanded":S?"true":"false","aria-controls":S?Ia:void 0,"aria-activedescendant":S&&Nt?Nt:void 0,"aria-autocomplete":Ma,"aria-invalid":p?"true":void 0,"aria-busy":k?"true":void 0,"aria-label":Jo,disabled:I,readOnly:P}),(0,K.jsx)(Me,{valid:x,invalid:p,loading:k,disabled:I}),(0,K.jsx)(Ee,{loading:k,disabled:I}),(0,K.jsx)(Be,{loading:k,disabled:I,readonly:P,value:u}),c&&(0,K.jsxs)(K.Fragment,{children:[n&&(0,K.jsx)(Ge,{}),(0,K.jsx)(Ue,{children:c})]}),(0,K.jsx)(l,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:I})]}),S&&O&&(0,K.jsx)(V,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:O}),Q&&(0,K.jsx)(W,{adaptive:!0,id:Et?`${Et}-adaptive`:void 0,...me,header:(0,K.jsx)(Se,{actionsEnd:(0,K.jsx)(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:u,inputPlaceholder:f,title:ge,subtitle:Le}),children:(0,K.jsx)("div",{className:"k-list-container",children:(0,K.jsx)(R,{customValue:we?(0,K.jsx)(Ct,{text:`Use "${u}"`}):void 0,size:"large",children:(0,K.jsxs)(z,{"aria-label":ge||"Options",children:[(0,K.jsx)(w,{text:"List item"}),(0,K.jsx)(w,{text:"List item"}),(0,K.jsx)(w,{text:"List item"})]})})})})]})};xe.states=bu;xe.options=fu;xe.className=vs;xe.defaultOptions=gs;xe.moduleName=Dn;xe.folderName=ks;xe.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 _e=xe;var Ms=require("react/jsx-runtime"),Ls=e=>(0,Ms.jsx)(_e,{...e});var Ss=require("react/jsx-runtime");var Is=require("react/jsx-runtime");var Cs=require("react/jsx-runtime");var ys=require("react/jsx-runtime");var Ts=require("react/jsx-runtime");var Es=require("react/jsx-runtime");var Hn=require("react/jsx-runtime");var hu=require("react/jsx-runtime");var xu=require("react/jsx-runtime");var As=require("react/jsx-runtime");var Os=require("react/jsx-runtime");var Ze=require("react/jsx-runtime"),Nu=xe.states,ku=xe.defaultOptions,vu=xe.options,gu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Lu=[],xo=e=>{let{modifiers:t,...o}=e,a={},n=(0,Ze.jsx)(R,{style:{width:300},size:o.size,children:(0,Ze.jsxs)(z,{children:[(0,Ze.jsx)(w,{children:"List item"}),(0,Ze.jsx)(w,{children:"List item"}),(0,Ze.jsx)(w,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t!=null&&t[s]?(0,Ze.jsx)(M,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t!=null&&t[s]?(0,Ze.jsx)(kt,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!(t!=null&&t[s]),a.popup=t!=null&&t[s]?n:void 0;break;default:break}}),(0,Ze.jsx)("div",{children:(0,Ze.jsx)(Ls,{value:"Value",style:{width:300},...o,...a})})};xo.options=vu;xo.states=Nu;xo.variants=Lu;xo.defaultOptions=ku;xo.modifiers=gu;xo.className=xe.className;var zn="menu-button",ws=zn;var Ps=require("react/jsx-runtime"),Bs="k-menu-button",Mu=[r.hover,r.focus,r.active,r.selected,r.disabled],Su={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},Un={showArrow:!0,arrowIconName:"chevron-down"},U=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:c,active:u,selected:f,disabled:h,icon:N,text:x,showArrow:p=Un.showArrow,arrowIconName:L=Un.arrowIconName,expanded:k,...I}=e;return(0,Ps.jsx)(l,{...I,className:i(e.className,Bs),text:x,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:c,active:u,selected:f,disabled:h,icon:N,showArrow:p,arrowIconName:L,"aria-expanded":k?"true":"false",...!x&&N&&!e["aria-label"]&&{"aria-label":"Menu"},...h&&{"aria-disabled":"true"}})};U.states=Mu;U.options=Su;U.className=Bs;U.defaultOptions=Un;U.moduleName=zn;U.folderName=ws;U.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 Iu=require("react/jsx-runtime");var Cu=require("react/jsx-runtime");var yu=require("react/jsx-runtime");var De="menu",qe=De;var pt=require("react/jsx-runtime"),Gn="k-menu-item",Tu=[r.hover,r.focus,r.active,r.selected,r.disabled],Eu={},Rs={iconPosition:"before"},Ne=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:c,text:u,first:f,last:h,showArrow:N,arrowIconName:x,iconPosition:p=Rs.iconPosition,dir:L,children:k,expanded:I,...O}=e,S=x;return S||(S=L==="rtl"?"chevron-left":"chevron-right"),(0,pt.jsxs)("li",{...O,className:i(e.className,Gn,"k-item",y(Gn,{focus:o,disabled:s,hover:t,active:a,selected:n}),{"k-first":f,"k-last":h}),role:"menuitem",...N&&{"aria-haspopup":"menu"},...N&&{"aria-expanded":I?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,pt.jsxs)("span",{className:i("k-link k-menu-link"),children:[c&&p==="before"&&(0,pt.jsx)(M,{className:"k-menu-link-icon",icon:c}),(0,pt.jsx)("span",{className:"k-menu-link-text",children:u}),c&&p==="after"&&(0,pt.jsx)(M,{className:"k-menu-link-icon",icon:c}),N&&(0,pt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,pt.jsx)(M,{icon:S})})]}),k]})};Ne.states=Tu;Ne.options=Eu;Ne.className=Gn;Ne.defaultOptions=Rs;Ne.moduleName=De;Ne.folderName=qe;var ut=require("react/jsx-runtime"),Fn="k-menu-item",Au=[r.hover,r.focus,r.active,r.selected,r.disabled],Ou={},Vn={dir:"ltr",iconPosition:"before"},q=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:c,text:u,first:f,last:h,showArrow:N,arrowIconName:x,iconPosition:p=Vn.iconPosition,dir:L=Vn.dir,children:k,popup:I,expanded:O,...S}=e,P=x;return P||(P=L==="rtl"?"chevron-left":"chevron-right"),(0,ut.jsxs)("li",{...S,className:i(e.className,Fn,"k-item",y(Fn,{focus:o,disabled:s}),{"k-first":f,"k-last":h}),role:"menuitem",...N&&{"aria-haspopup":"menu"},...N&&{"aria-expanded":O?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,ut.jsxs)("span",{className:i("k-link k-menu-link",y("k-menu-link",{hover:t,active:a,selected:n,disabled:s})),children:[c&&p==="before"&&(0,ut.jsx)(M,{className:"k-menu-link-icon",icon:c}),(0,ut.jsx)("span",{className:"k-menu-link-text",children:u}),c&&p==="after"&&(0,ut.jsx)(M,{className:"k-menu-link-icon",icon:c}),N&&(0,ut.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,ut.jsx)(M,{icon:P})})]}),k,I]})};q.states=Au;q.options=Ou;q.className=Fn;q.defaultOptions=Vn;q.moduleName=De;q.folderName=qe;var Ds=require("react/jsx-runtime"),Ks="k-menu-scroll-wrapper",wu=[],Bu={},Pu={},Dt=e=>{let{className:t,children:o,orientation:a,...n}=e;return(0,Ds.jsx)("div",{...n,className:i(t,Ks,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};Dt.states=wu;Dt.options=Bu;Dt.className=Ks;Dt.defaultOptions=Pu;Dt.moduleName=De;Dt.folderName=qe;var _s=Dt;var ce=require("react/jsx-runtime"),$n="k-menu",Ru=[],Ku={},ga={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},re=e=>{let{children:t,orientation:o=ga.orientation,header:a=ga.header,scrollable:n,scrollButtonsPosition:s=ga.scrollButtonsPosition,wrapperStyles:c,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,ce.jsx)("ul",{dir:u,...N,className:i(e.className,"k-reset",$n,{[`${$n}-${o}`]:o,"k-header":a}),role:h?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return(0,ce.jsxs)(ce.Fragment,{children:[n?(0,ce.jsxs)(_s,{orientation:o,style:c,dir:e.dir,children:[s==="start"&&(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,ce.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&(0,ce.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),p,s==="end"&&(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,ce.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&(0,ce.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):p,f]})};re.states=Ru;re.options=Ku;re.className=$n;re.defaultOptions=ga;re.moduleName=De;re.folderName=qe;re.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 zs=require("react/jsx-runtime"),Xn="k-separator",Hs={orientation:"horizontal"},No=e=>{let{orientation:t=Hs.orientation,...o}=e;return(0,zs.jsx)("li",{...o,className:i(e.className,"k-item",Xn,{[`${Xn}-${t}`]:t}),role:"separator"})};No.className=Xn;No.defaultOptions=Hs;No.moduleName=De;No.folderName=qe;var Us=require("react/jsx-runtime");var Gs=require("react/jsx-runtime"),qn="k-menu-group",_u=[],Du={size:[d.undefined,d.small,d.medium,d.large]},Hu={},ke=e=>{let{children:t,size:o,...a}=e;return(0,Gs.jsx)("ul",{...a,className:i(e.className,qn,T(qn,{size:o})),role:"menu",children:t})};ke.states=_u;ke.options=Du;ke.className=qn;ke.defaultOptions=Hu;ke.moduleName=De;ke.folderName=qe;var je=require("react/jsx-runtime"),Jn=e=>(0,je.jsx)(re,{children:(0,je.jsxs)(je.Fragment,{children:[(0,je.jsx)(Ne,{first:!0,text:"Item 1"}),(0,je.jsx)(Ne,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),(0,je.jsx)(Ne,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),(0,je.jsx)(Ne,{text:"Item 4"}),(0,je.jsx)(Ne,{last:!0,text:"Item 5"})]}),...e});var Wn=require("react/jsx-runtime");var Yn=require("react/jsx-runtime");var Qn=require("react/jsx-runtime");var Zn=require("react/jsx-runtime");var rt=require("react/jsx-runtime"),zu=re.options,Uu=re.states,Fs={...re.defaultOptions,variant:"horizontal"},Gu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Fu=[{name:"scrollable",title:"Scrollable"},{name:"opened",title:"Opened"}],ko=e=>{let{variant:t,modifiers:o,...a}={...Fs,...e},n={};return Object.keys(o||{}).forEach(s=>{switch(s){case"scrollable":n.scrollable=!!(o!=null&&o[s]);break;case"opened":n.opened=!!(o!=null&&o[s]),n.popup=(0,rt.jsx)(V,{className:"k-menu-popup",children:(0,rt.jsxs)(ke,{children:[(0,rt.jsx)(q,{text:"Item 1"}),(0,rt.jsx)(q,{text:"Item 2"}),(0,rt.jsx)(No,{}),(0,rt.jsx)(q,{text:"Item 3"})]})});break}}),t==="vertical"?(0,rt.jsx)(Jn,{...a,...n,orientation:"vertical",style:{width:"200px"}}):(0,rt.jsx)(Jn,{...a,...n})};ko.options=zu;ko.states=Uu;ko.variants=Gu;ko.defaultOptions=Fs;ko.modifiers=Fu;ko.className=re.className;var jn=require("react/jsx-runtime");var Vu=require("react/jsx-runtime");var ve=require("react/jsx-runtime"),$u=l.states,Vs={...l.defaultOptions,variant:"text"},Xu=l.options,qu=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ju=[{name:"opened",title:"Opened"}],vo=e=>{let{variant:t,modifiers:o,...a}={...Vs,...e},n={},s=(0,ve.jsx)(V,{className:"k-menu-popup",children:(0,ve.jsxs)(ke,{size:a.size,children:[(0,ve.jsx)(q,{first:!0,text:"Menu Item"}),(0,ve.jsx)(q,{text:"Menu Item"}),(0,ve.jsx)(q,{last:!0,text:"Menu Item"})]})}),c;switch(t){case"icon-only":c=(0,ve.jsx)("div",{children:(0,ve.jsx)(U,{...a,...n,icon:"star"})});break;case"icon-and-text":c=(0,ve.jsx)("div",{children:(0,ve.jsx)(U,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:c=(0,ve.jsx)("div",{children:(0,ve.jsx)(U,{...a,...n,children:"Dropdown Button"})});break}return(0,ve.jsxs)(ve.Fragment,{children:[c,(o==null?void 0:o.opened)&&s]})};vo.options=Xu;vo.states=$u;vo.variants=qu;vo.defaultOptions=Vs;vo.modifiers=Ju;vo.className=U.className;var er="split-button",$s=er;var mt=require("react/jsx-runtime"),tr="k-split-button",Wu=[r.hover,r.focus,r.active,r.selected,r.disabled],Yu={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},Xs={arrowIconName:"chevron-down"},B=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:c,active:u,selected:f,disabled:h,icon:N,text:x,arrowIconName:p=Xs.arrowIconName,popup:L,opened:k,popupId:I,...O}=e;return(0,mt.jsxs)(mt.Fragment,{children:[(0,mt.jsxs)("div",{...O,className:i(e.className,tr,"k-button-group",T(tr,{rounded:o})),children:[(0,mt.jsx)(l,{text:x,icon:N,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:c,active:u,selected:f,disabled:h,...!x&&!e.children&&N&&{"aria-label":"Action"},children:e.children}),(0,mt.jsx)(l,{className:"k-split-button-arrow",icon:p,size:t,rounded:o,fillMode:a,disabled:h,"aria-label":"Toggle dropdown","aria-expanded":k?"true":"false","aria-controls":k?I:void 0,tabIndex:-1,...h&&{"aria-disabled":"true"}})]}),k&&L&&(0,mt.jsx)(V,{className:"k-menu-popup",children:L})]})};B.states=Wu;B.options=Yu;B.className=tr;B.defaultOptions=Xs;B.moduleName=er;B.folderName=$s;B.ariaSpec={selector:".k-split-button",rules:[{selector:".k-split-button-arrow",attribute:"role=button or nodeName=button",usage:"Omitted if the <button> DOM element is used."},{selector:".k-split-button-arrow",attribute:"aria-label",usage:"The attribute must be present when no text is initially visible in the button."},{selector:".k-split-button-arrow",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-split-button-arrow",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-split-button-arrow",attribute:"tabindex=-1",usage:"The arrow button is removed from the tab sequence."},{selector:".k-split-button-arrow.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};var or=B;var qs=require("react/jsx-runtime"),Qu="k-toolbar-separator",He=e=>(0,qs.jsx)("div",{className:i(Qu,e.className,"k-separator")});var bt="toolbar",Tt=bt;var A=require("react/jsx-runtime"),ft="k-toolbar",Zu=[r.focus],ju={size:[d.undefined,d.small,d.medium,d.large],fillMode:[m.undefined,m.solid,m.outline,m.flat]},em={scrollButtons:"around"},G=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:s,scrollButtons:c,scrollingPosition:u,section:f,...h}=e,N=[],x=(p,L)=>{let k=[];if(p.type===l&&p.props.className&&p.props.className.includes("k-toolbar-overflow-button"))k.push((0,A.jsx)(l,{...p.props,className:`${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===l)k.push((0,A.jsx)(l,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===Eo)k.push((0,A.jsx)(Eo,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===kt)k.push((0,A.jsx)(kt,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===U)k.push((0,A.jsx)(U,{...p.props,className:`k-toolbar-menu-button ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===or)k.push((0,A.jsx)(or,{...p.props,className:`k-toolbar-split-button ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===C||p.props.className&&p.props.className.includes("k-button-group")){let I=[];(Array.isArray(p.props.children)?p.props.children:[p.props.children]).forEach((S,P)=>{I.push((0,A.jsx)(l,{...S.props,className:`${S.props.className?S.props.className:""}`},`${P}-${new Date().getTime()}`))}),k.push((0,A.jsx)(C,{...p.props,className:`k-toolbar-button-group ${p.props.className?p.props.className:""}`,children:I},`${L}-${new Date().getTime()}`))}else p.type===xe?k.push((0,A.jsx)(xe,{...p.props,className:`k-toolbar-combobox ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`)):p.type===ee?k.push((0,A.jsx)(ee,{...p.props,className:`k-toolbar-dropdownlist ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`)):p.type===Ke?k.push((0,A.jsx)(Ke,{...p.props,className:`k-toolbar-colorpicker ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`)):k.push(p);k.forEach(I=>{N.push(I)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((L,k)=>{x(L,k)}),(0,A.jsxs)("div",{...h,className:i(e.className,ft,T(ft,{size:t,fillMode:o}),y(ft,{focus:a}),{[`${ft}-resizable`]:n,[`${ft}-scrollable`]:s,[`${ft}-scrollable-overlay`]:s&&c==="hidden",[`${ft}-scrollable-${u}`]:u&&u!=="both",[`${ft}-section`]:f}),role:"toolbar","aria-label":"Toolbar",children:[!s&&N,s&&c==="hidden"&&(0,A.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),s&&c==="start"&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)(C,{children:[(0,A.jsx)("span",{className:i("k-toolbar-prev","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,A.jsx)(M,{className:"k-button-icon",icon:"chevron-left"})}),(0,A.jsx)("span",{className:i("k-toolbar-next","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,A.jsx)(M,{className:"k-button-icon",icon:"chevron-right"})})]}),(0,A.jsx)(He,{className:"k-toolbar-button-separator"}),(0,A.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N})]}),s&&c==="end"&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),(0,A.jsx)(He,{className:"k-toolbar-button-separator"}),(0,A.jsxs)(C,{children:[(0,A.jsx)("span",{className:i("k-toolbar-prev","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,A.jsx)(M,{className:"k-button-icon",icon:"chevron-left"})}),(0,A.jsx)("span",{className:i("k-toolbar-next","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,A.jsx)(M,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(c==="around"||!c)&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("span",{className:i("k-toolbar-prev","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,A.jsx)(M,{className:"k-button-icon",icon:"chevron-left"})}),(0,A.jsx)(He,{className:"k-toolbar-button-separator"}),(0,A.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),(0,A.jsx)(He,{className:"k-toolbar-button-separator"}),(0,A.jsx)("span",{className:i("k-toolbar-next","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,A.jsx)(M,{className:"k-button-icon",icon:"chevron-right"})})]})]})};G.states=Zu;G.options=ju;G.className=ft;G.defaultOptions=em;G.moduleName=bt;G.folderName=Tt;G.ariaSpec={selector:".k-toolbar",rules:[{selector:".k-toolbar",attribute:"role=toolbar",usage:"The component role."},{selector:".k-toolbar",attribute:"aria-label or aria-labelledby",usage:"Must be supplied when multiple toolbars exist."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-haspopup=menu",usage:"The overflow button opens a menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-expanded=true/false",usage:"Announces popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-controls=.k-toolbar-popup .k-menu-group id (when present)",usage:"Indicates the connection between the toggle button and the menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:".k-toolbar-popup .k-menu-group",attribute:"role=menu",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-menu-group",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the menu toggle button."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-expanded=true/false",usage:"Announces section popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-controls=.k-toolbar-popup .k-toolbar-items-list id (when present)",usage:"Indicates the connection between the toggle button and the section popup."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"role=toolbar",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the section toggle button."}]};var Ws=require("react/jsx-runtime"),Js="k-floating-toolbar",tm=[],om={},am={},go=e=>{let{...t}=e;return(0,Ws.jsx)("div",{...t,className:i(e.className,Js),children:e.children})};go.states=tm;go.options=om;go.className=Js;go.defaultOptions=am;go.moduleName=bt;go.folderName=Tt;var Ys=require("react/jsx-runtime"),ar="k-toolbar-item",nm=[r.focus],rm={},im={},Lo=e=>{let{focus:t,...o}=e;return(0,Ys.jsx)("div",{...o,className:i(e.className,ar,y(ar,{focus:t})),children:e.children})};Lo.states=nm;Lo.options=rm;Lo.className=ar;Lo.defaultOptions=im;Lo.moduleName=bt;Lo.folderName=Tt;var nr=require("react/jsx-runtime"),Qs="k-toolbar-popup",sm=[],lm={size:[d.undefined,d.small,d.medium,d.large],fillMode:[m.undefined,m.solid,m.outline,m.flat]},dm={},Ht=e=>{let{size:t,fillMode:o,section:a,...n}=e;return(0,nr.jsx)(V,{...n,className:i(e.className,Qs),children:a?(0,nr.jsx)("span",{className:i("k-toolbar-items-list",T("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Ht.states=sm;Ht.options=lm;Ht.className=Qs;Ht.defaultOptions=dm;Ht.moduleName=bt;Ht.folderName=Tt;var La=Ht;var cm=require("react/jsx-runtime");var pm=require("react/jsx-runtime");var um=require("react/jsx-runtime");var Zs=require("react/jsx-runtime");var mm=require("react/jsx-runtime");var Je=require("react/jsx-runtime"),bm=B.states,js={...B.defaultOptions,variant:"text"},fm=B.options,hm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],xm=[{name:"opened",title:"Opened"}],Mo=e=>{let{variant:t,modifiers:o,...a}={...js,...e},n={},s=(0,Je.jsxs)(ke,{size:a.size,children:[(0,Je.jsx)(q,{first:!0,text:"Menu Item"}),(0,Je.jsx)(q,{text:"Menu Item"}),(0,Je.jsx)(q,{last:!0,text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(c=>{c==="opened"&&(n.opened=!!(o!=null&&o[c]),n.popup=o!=null&&o[c]?s:"")}),t){case"icon-only":return(0,Je.jsx)("div",{children:(0,Je.jsx)(B,{...a,...n,icon:"star"})});case"icon-and-text":return(0,Je.jsx)("div",{children:(0,Je.jsx)(B,{...a,...n,icon:"star",children:"Split Button"})});default:return(0,Je.jsx)("div",{children:(0,Je.jsx)(B,{...a,...n,children:"Split Button"})})}};Mo.options=fm;Mo.states=bm;Mo.variants=hm;Mo.defaultOptions=js;Mo.modifiers=xm;Mo.className=B.className;var it=require("react/jsx-runtime"),el=e=>(0,it.jsx)(G,{children:[(0,it.jsx)(l,{children:"Button"},"toolbar-button"),(0,it.jsx)(U,{text:"Menu button"},"toolbar-menu-button"),(0,it.jsx)(B,{children:"Split button"},"toolbar-split-button"),(0,it.jsxs)(C,{children:[(0,it.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,it.jsx)(l,{icon:"align-center",children:"Center"}),(0,it.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var tl=require("react/jsx-runtime");var pe=require("react/jsx-runtime"),ol=e=>(0,pe.jsx)(G,{scrollable:!0,...e,children:[(0,pe.jsx)(l,{children:"Button"},"toolbar-button"),(0,pe.jsx)(U,{text:"Menu button"},"toolbar-menu-button"),(0,pe.jsx)(B,{children:"Split button"},"toolbar-split-button"),(0,pe.jsxs)(C,{children:[(0,pe.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,pe.jsx)(l,{icon:"align-center",children:"Center"}),(0,pe.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,pe.jsx)(l,{children:"Button"},"toolbar-button"),(0,pe.jsx)(U,{text:"Menu button"},"toolbar-menu-button"),(0,pe.jsx)(B,{children:"Split button"},"toolbar-split-button"),(0,pe.jsxs)(C,{children:[(0,pe.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,pe.jsx)(l,{icon:"align-center",children:"Center"}),(0,pe.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var ue=require("react/jsx-runtime"),al=({scrollingPosition:e="start",...t})=>(0,ue.jsx)(G,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[(0,ue.jsx)(l,{children:"Button"},"toolbar-button"),(0,ue.jsx)(U,{text:"Menu button"},"toolbar-menu-button"),(0,ue.jsx)(B,{children:"Split button"},"toolbar-split-button"),(0,ue.jsxs)(C,{children:[(0,ue.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ue.jsx)(l,{icon:"align-center",children:"Center"}),(0,ue.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,ue.jsx)(l,{children:"Button"},"toolbar-button"),(0,ue.jsx)(U,{text:"Menu button"},"toolbar-menu-button"),(0,ue.jsx)(B,{children:"Split button"},"toolbar-split-button"),(0,ue.jsxs)(C,{children:[(0,ue.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ue.jsx)(l,{icon:"align-center",children:"Center"}),(0,ue.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});var J=require("react/jsx-runtime"),nl=({fillMode:e,size:t,...o})=>(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(G,{section:!0,fillMode:e,size:t,children:[(0,J.jsx)(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,J.jsxs)(C,{fillMode:e,children:[(0,J.jsx)(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,J.jsx)(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,J.jsx)(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),(0,J.jsx)(He,{className:"k-toolbar-button-separator"}),(0,J.jsx)(l,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),(0,J.jsxs)(La,{size:t,fillMode:e,section:!0,...o,children:[(0,J.jsx)(B,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),(0,J.jsx)(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,J.jsx)(He,{}),(0,J.jsx)(U,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),(0,J.jsxs)(C,{fillMode:e,children:[(0,J.jsx)(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,J.jsx)(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,J.jsx)(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});var rr=require("react/jsx-runtime");var ir=require("react/jsx-runtime");var ht=require("react/jsx-runtime"),Nm=G.options,km=G.states,rl={...G.defaultOptions,variant:"default"},vm=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],gm=[],So=e=>{let{variant:t,...o}={...rl,...e};switch(t){case"responsive":return(0,ht.jsx)("div",{children:(0,ht.jsx)(nl,{style:{width:"583px"},...o})});case"overlay":return(0,ht.jsx)("div",{children:(0,ht.jsx)(al,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return(0,ht.jsx)("div",{children:(0,ht.jsx)(ol,{style:{width:"583px"},...o})});default:return(0,ht.jsx)("div",{children:(0,ht.jsx)(el,{style:{width:"583px"},...o})})}};So.options=Nm;So.states=km;So.variants=vm;So.defaultOptions=rl;So.modifiers=gm;So.className=G.className;var sl=require("react/jsx-runtime"),Lm="k-editor-toolbar",il=e=>{let{resizable:t,...o}=e;return(0,sl.jsx)(G,{...o,className:i(e.className,Lm),resizable:t,children:e.children})};var sr="editor",ll=sr;var qo=require("react/jsx-runtime"),Xo="k-editor",Mm=[r.readonly,r.disabled,r.focus],Sm={},dl={toolbarResizable:!1},xt=e=>{let{readonly:t,disabled:o,focus:a,toolbarItems:n,toolbarResizable:s=dl.toolbarResizable,resizable:c,...u}=e;return(0,qo.jsxs)("div",{...u,className:i(e.className,Xo,y(Xo,{readonly:t,disabled:o}),{[`${Xo}-resizable`]:c}),children:[(0,qo.jsx)(il,{resizable:s,children:n}),(0,qo.jsx)(Yo,{readonly:t,className:i(y(Xo,{focus:a})),children:e.children})]})};xt.states=Mm;xt.options=Sm;xt.className=Xo;xt.defaultOptions=dl;xt.moduleName=sr;xt.folderName=ll;xt.ariaSpec={selector:".k-editor",rules:[{selector:".k-editor-content[contenteditable]",attribute:"role=textbox",usage:"Specifies the role of the component as text input."},{selector:".k-editor-content[contenteditable]",attribute:"aria-label",usage:"The component focusable element needs an accessible name."},{selector:'.k-editor.k-readonly .k-editor-content[contenteditable="false"]',attribute:"aria-readonly=true",usage:"Rendered only when the Editor is readonly."}]};var H=require("react/jsx-runtime"),Im=e=>(0,H.jsx)(xt,{toolbarResizable:!0,style:{width:"482px"},toolbarItems:[(0,H.jsxs)(C,{children:[(0,H.jsx)(l,{className:"k-group-start",disabled:!0,icon:"undo","aria-label":"Undo"}),(0,H.jsx)(l,{className:"k-group-end",disabled:!0,icon:"redo","aria-label":"Redo"})]},"history"),(0,H.jsxs)(C,{children:[(0,H.jsx)(l,{className:"k-group-start",icon:"bold","aria-label":"Bold"}),(0,H.jsx)(l,{icon:"italic","aria-label":"Italic"}),(0,H.jsx)(l,{icon:"underline","aria-label":"Underline"}),(0,H.jsx)(l,{className:"k-group-end",icon:"strikethrough","aria-label":"Strikethrough"})]},"format"),(0,H.jsxs)(C,{children:[(0,H.jsx)(l,{className:"k-group-start",icon:"subscript","aria-label":"Subscript"}),(0,H.jsx)(l,{className:"k-group-end",icon:"supscript","aria-label":"Superscript"})]},"script"),(0,H.jsxs)(C,{children:[(0,H.jsx)(l,{className:"k-group-start",icon:"indent","aria-label":"Indent"}),(0,H.jsx)(l,{disabled:!0,className:"k-group-end",icon:"outdent","aria-label":"Outdent"})]},"indent"),(0,H.jsxs)(C,{className:"k-hidden",children:[(0,H.jsx)(l,{className:"k-group-start",icon:"align-left","aria-label":"Align left"}),(0,H.jsx)(l,{icon:"align-center","aria-label":"Align center"}),(0,H.jsx)(l,{icon:"align-right","aria-label":"Align right"}),(0,H.jsx)(l,{className:"k-group-end",icon:"align-justify","aria-label":"Justify"})]},"align"),(0,H.jsx)(He,{className:"k-toolbar-button-separator"},"separator"),(0,H.jsx)(l,{icon:"more-vertical",className:"k-toolbar-overflow-button",fillMode:"flat","aria-label":"More tools"},"overflow")],children:(0,H.jsx)(H.Fragment,{children:"Editor Content"}),...e});
1
+ var pl=Object.create;var Wo=Object.defineProperty;var ul=Object.getOwnPropertyDescriptor;var ml=Object.getOwnPropertyNames;var bl=Object.getPrototypeOf,fl=Object.prototype.hasOwnProperty;var hl=(e,t)=>{for(var o in t)Wo(e,o,{get:t[o],enumerable:!0})},dr=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of ml(t))!fl.call(e,n)&&n!==o&&Wo(e,n,{get:()=>t[n],enumerable:!(a=ul(t,n))||a.enumerable});return e};var cr=(e,t,o)=>(o=e!=null?pl(bl(e)):{},dr(t||!e||!e.__esModule?Wo(o,"default",{value:e,enumerable:!0}):o,e)),xl=e=>dr(Wo({},"__esModule",{value:!0}),e);var Cm={};hl(Cm,{EditorResponsiveToolbar:()=>Im});module.exports=xl(Cm);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 T=(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"}),y=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:s,checked:c,active:u,selected:f,disabled:h,indeterminate:N,loading:x,empty:p,readonly:L,highlighted:k,...I}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":c,"k-active":u,"k-selected":f,"k-disabled":h,"k-indeterminate":N&&!c,"k-loading":x,"k-empty":p,"k-readonly":L,"k-highlighted":k},Object.keys(I).reduce((O,S)=>(S.startsWith("k-")?O[S]=I[S]:O[`k-${S}`]=I[S],O),{}))};function pr(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},b={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},m={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},v={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},r={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 Ca={};function _(e){return Ca[e]=(Ca[e]||0)+1,`k-${e}-${Ca[e]}`}var ur=require("react/jsx-runtime"),ya="k-editor-content",Nl=[r.focus],Yo=e=>{let{focus:t,readonly:o,"aria-label":a,...n}=e;return(0,ur.jsx)("div",{...n,className:i(e.className,ya,y(ya,{focus:t})),contentEditable:o?"false":"true",suppressContentEditableWarning:!0,role:"textbox","aria-label":a||"Editor content","aria-readonly":o?"true":void 0,children:e.children})};Yo.states=Nl;Yo.className=ya;var Io=require("react/jsx-runtime"),Ta="k-font-icon",kl=[],vl={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},gl={},Co=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...c}=e;return a?(0,Io.jsx)("span",{...c,className:i(e.className,Ta,T(Ta,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):(0,Io.jsx)(Io.Fragment,{})};Co.states=kl;Co.options=vl;Co.className=Ta;Co.defaultOptions=gl;var mr=Co;var At=require("react/jsx-runtime"),Ea="k-svg-icon",Ll=[],Ml={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},br={viewBox:"0 0 24 24"},yo=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=br.viewBox,icon:c,...u}=e;if(!c)return(0,At.jsx)(At.Fragment,{});if(c==="none")return(0,At.jsx)("span",{...u,className:i(e.className,Ea,T("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let f=typeof c=="object"&&c.name&&c.name;return(0,At.jsx)("span",{...u,className:i(e.className,Ea,T("k-icon",{size:t}),{[`k-svg-i-${f}`]:f,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:(0,At.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:s,dangerouslySetInnerHTML:typeof c=="object"?{__html:c.content}:void 0,children:c?void 0:e.children})})};yo.states=Ll;yo.options=Ml;yo.className=Ea;yo.defaultOptions=br;var Aa=yo;var Oa=cr(require("@progress/kendo-svg-icons"));var fr="icon",hr="icons";var kr=require("react");var xr=require("react"),Nr=(0,xr.createContext)({iconsType:"svg"});var st=require("react/jsx-runtime"),Qo="k-icon",Sl=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Il=[],Cl={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},wa={viewBox:"0 0 24 24",type:"svg"},M=e=>{let{iconsType:t}=(0,kr.useContext)(Nr),{size:o,themeColor:a,icon:n,type:s=t||wa.type,rotate:c,flip:u,viewBox:f=wa.viewBox,...h}=e;if(!n)return(0,st.jsx)(st.Fragment,{});if((t||s)==="svg"){if(n==="none")return(0,st.jsx)(Aa,{...h,className:i(e.className,Qo),icon:n,size:o});let x=Oa[n]?n:Sl(`${n}-icon`);return Oa[x]?(0,st.jsx)(Aa,{...h,className:i(e.className,Qo),icon:Oa[x],size:o,themeColor:a,rotate:c,flip:u,viewBox:f}):(0,st.jsx)(st.Fragment,{})}return(0,st.jsx)(mr,{...h,className:i(e.className,Qo),icon:n,size:o,themeColor:a,rotate:c,flip:u})};M.states=Il;M.options=Cl;M.defaultOptions=wa;M.className=Qo;M.moduleName=fr;M.folderName=hr;M.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var Ba="button",vr=Ba;var We=require("react/jsx-runtime"),To="k-button",yl=["icon-button"],Tl=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],El={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},Pa={showArrow:!1,arrowIconName:"chevron-down"},l=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:c=Pa.showArrow,arrowIconName:u=Pa.arrowIconName,variant:f,hover:h,focus:N,active:x,selected:p,disabled:L,togglable:k,ariaDisabled:I,icon:O,text:S,iconClassName:P,className:Q,...me}=e,ge=O!==void 0,Le=e.children!==void 0;return(0,We.jsxs)(t,{className:i(Q,To,pr(To,f),T(To,{size:o,rounded:a,fillMode:n,themeColor:s}),y(To,{hover:h,focus:N,active:x,disabled:L||I,selected:p}),{"k-icon-button":!S&&!Le&&ge}),...me,"aria-pressed":k?p?"true":"false":void 0,"aria-disabled":I?"true":void 0,disabled:L||void 0,children:[O&&(0,We.jsx)(M,{className:i(P,"k-button-icon"),icon:O}),S?(0,We.jsxs)(We.Fragment,{children:[S&&(0,We.jsx)("span",{className:"k-button-text",children:S}),e.children]}):e.children&&(0,We.jsx)("span",{className:"k-button-text",children:e.children}),c&&(0,We.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,We.jsx)(M,{icon:u})})]})};l.states=Tl;l.options=El;l.variants=yl;l.className=To;l.defaultOptions=Pa;l.moduleName=Ba;l.folderName=vr;l.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var gr=require("react/jsx-runtime"),kt=e=>(0,gr.jsx)(l,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Lr=require("react/jsx-runtime"),Eo=e=>(0,Lr.jsx)(l,{icon:"folder",children:"Button",...e});var Mr=require("react/jsx-runtime"),Ot=e=>(0,Mr.jsx)(l,{children:"Button",...e});var Zo=require("react/jsx-runtime"),Al=l.options,Ol=l.states,wl={...l.defaultOptions,variant:"text"},Bl=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Pl=[],zt=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,Zo.jsx)(kt,{...o,icon:"star"});case"icon-and-text":return(0,Zo.jsx)(Eo,{...o,icon:"star",children:"Button"});default:return(0,Zo.jsx)(Ot,{...o,children:"Button"})}};zt.options=Al;zt.states=Ol;zt.variants=Bl;zt.defaultOptions=wl;zt.modifiers=Pl;zt.className=l.className;var Ra="button",Sr=Ra;var Ir=require("react/jsx-runtime"),Ao="k-button-group",Rl=[r.disabled],Kl={fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},_l={},C=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return(0,Ir.jsx)("div",{role:"group",...n,className:i(e.className,Ao,T(Ao,{fillMode:t}),y(Ao,{disabled:o}),{[`${Ao}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};C.states=Rl;C.options=Kl;C.className=Ao;C.defaultOptions=_l;C.moduleName=Ra;C.folderName=Sr;C.ariaSpec={selector:".k-button-group",rules:[{selector:".k-button-group:not(.k-split-button)",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-button-group.k-disabled",attribute:"aria-disabled=true",usage:"The attribute is rendered only when the entire button group is disabled."},{selector:".k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button",attribute:"aria-pressed (when selected)",usage:"Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true."}]};var Ka=require("react/jsx-runtime");var _a=require("react/jsx-runtime");var Da=require("react/jsx-runtime");var Ha=require("react/jsx-runtime");var za=require("react/jsx-runtime");var Ua=require("react/jsx-runtime");var Te=require("react/jsx-runtime"),Dl={...l.options,...C.options},Hl=l.states,zl={...l.defaultOptions,...C.defaultOptions,variant:"text-button"},Ul=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Gl=[],Ut=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,Te.jsxs)(C,{fillMode:a.fillMode,className:o,children:[(0,Te.jsx)(l,{...a,icon:"star"}),(0,Te.jsx)(l,{...a,icon:"star"}),(0,Te.jsx)(l,{...a,icon:"star"})]}):t==="icon-text-button"?(0,Te.jsxs)(C,{fillMode:a.fillMode,className:o,children:[(0,Te.jsx)(l,{...a,icon:"star",children:"First"}),(0,Te.jsx)(l,{...a,icon:"star",children:"Middle"}),(0,Te.jsx)(l,{...a,icon:"star",children:"Last"})]}):(0,Te.jsxs)(C,{fillMode:a.fillMode,className:o,children:[(0,Te.jsx)(l,{...a,children:"First"}),(0,Te.jsx)(l,{...a,children:"Middle"}),(0,Te.jsx)(l,{...a,children:"Last"})]})};Ut.options=Dl;Ut.states=Hl;Ut.variants=Ul;Ut.defaultOptions=zl;Ut.modifiers=Gl;Ut.className=C.className;var Oo="input",jo=Oo;var Cr=require("react/jsx-runtime"),ea="k-input",Fl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Vl={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},$l={},Z=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u,size:f,rounded:h,fillMode:N,...x}=e;return(0,Cr.jsx)("span",{...x,className:i(e.className,ea,T(ea,{size:f,rounded:h,fillMode:N}),y(ea,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u}))})};Z.states=Fl;Z.options=Vl;Z.className=ea;Z.defaultOptions=$l;Z.moduleName=Oo;Z.folderName=jo;var yr=require("react/jsx-runtime"),ta="k-picker",Xl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],ql={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Jl={},et=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u,size:f,rounded:h,fillMode:N,...x}=e;return(0,yr.jsx)("span",{...x,className:i(e.className,ta,T(ta,{size:f,rounded:h,fillMode:N}),y(ta,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u})),children:e.children})};et.states=Xl;et.options=ql;et.className=ta;et.defaultOptions=Jl;et.moduleName=Oo;et.folderName=jo;var Gt=require("react/jsx-runtime"),Tr="k-clear-value",Wl=[r.disabled,r.loading,r.readonly],Yl={},Be=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?(0,Gt.jsx)(Gt.Fragment,{}):(0,Gt.jsx)("span",{className:i(e.className,Tr),children:(0,Gt.jsx)(M,{icon:"x"})})};Be.states=Wl;Be.options=Yl;Be.className=Tr;var Er=require("react/jsx-runtime"),Ga="k-input-inner",Ql=[],Zl={},oa={type:"text",autocomplete:"off",value:"",placeholder:""},Pe=e=>{let{value:t=oa.value,type:o=oa.type,placeholder:a=oa.placeholder,autocomplete:n=oa.autocomplete,disabled:s,readOnly:c,...u}=e;return(0,Er.jsx)("input",{...u,type:o,className:i(e.className,Ga,T(Ga,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:c||void 0})};Pe.states=Ql;Pe.options=Zl;Pe.className=Ga;var wo=require("react/jsx-runtime"),Fa="k-input-inner",jl=[],ed={},wt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...c}=e;return(0,wo.jsxs)("span",{...c,className:i(e.className,Fa,T(Fa,e)),children:[n,!n&&s&&(0,wo.jsx)(M,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&(0,wo.jsx)("span",{className:"k-input-value-text",children:t})]})};wt.states=jl;wt.options=ed;wt.className=Fa;var Or=require("react/jsx-runtime"),Va="k-input-inner",td=[],od={},Ar={value:"",placeholder:""},$a=e=>{let{value:t=Ar.value,placeholder:o=Ar.placeholder,rows:a,disabled:n,...s}=e;return(0,Or.jsx)("textarea",{...s,className:i(e.className,Va,T(Va,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};$a.states=td;$a.options=od;$a.className=Va;var Bo=require("react/jsx-runtime"),wr="k-input-loading-icon",ad=[r.disabled,r.loading],Ee=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Bo.jsx)(Bo.Fragment,{}):(0,Bo.jsx)("span",{className:i(e.className,wr,"k-icon k-i-loading")})};Ee.states=ad;Ee.className=wr;var Po=require("react/jsx-runtime"),Br="k-input-validation-icon",nd=[r.valid,r.invalid,r.disabled,r.loading],rd={},Me=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?(0,Po.jsx)(Po.Fragment,{}):(0,Po.jsx)(M,{className:i(Br),icon:s})};Me.states=nd;Me.options=rd;Me.className=Br;var Ro=require("react/jsx-runtime"),id="k-input-prefix",sd={direction:"horizontal"},ze=e=>{let{direction:t=sd.direction,...o}=e;return e.children?(0,Ro.jsx)("span",{...o,className:i(id,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Ro.jsx)(Ro.Fragment,{})};var Ko=require("react/jsx-runtime"),ld="k-input-suffix",dd={direction:"horizontal"},Ue=e=>{let{direction:t=dd.direction,...o}=e;return e.children?(0,Ko.jsx)("span",{...o,className:i(ld,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Ko.jsx)(Ko.Fragment,{})};var cd=require("react/jsx-runtime");var Pr=require("react/jsx-runtime"),pd="k-input-suffix-text",Xa=e=>{let{children:t,...o}=e;return(0,Pr.jsx)("span",{...o,className:i(pd,e.className),children:t})};var Kr=require("react/jsx-runtime"),Rr="k-input-separator",ud={direction:"vertical"},Ge=e=>{let{direction:t=ud.direction,...o}=e;return(0,Kr.jsx)("span",{...o,className:i(Rr,e.className,{[`${Rr}-${t}`]:t})})};var ae=require("react/jsx-runtime"),md=Z.states,bd=Z.defaultOptions,fd=Z.options,hd=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],xd=[],Ft=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:s,readonly:c,...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,ae.jsxs)(Z,{...u,valid:o,invalid:a,loading:n,disabled:s,readonly:c,style:{width:300},children:[f&&(0,ae.jsxs)(ae.Fragment,{children:[(0,ae.jsx)(ze,{children:(0,ae.jsx)(M,{icon:"lock"})}),p&&(0,ae.jsx)(Ge,{})]}),(0,ae.jsx)(Pe,{placeholder:"Placeholder",value:"Value"}),x&&(0,ae.jsx)(Me,{valid:o,invalid:a,loading:n,disabled:s}),(0,ae.jsx)(Ee,{loading:n,disabled:s}),N&&(0,ae.jsx)(Be,{loading:n,disabled:s,readonly:c,value:"Value"}),h&&(0,ae.jsxs)(ae.Fragment,{children:[p&&(0,ae.jsx)(Ge,{}),(0,ae.jsx)(Ue,{children:(0,ae.jsx)(Ot,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};Ft.options=fd;Ft.states=md;Ft.variants=xd;Ft.defaultOptions=bd;Ft.modifiers=hd;Ft.className=Z.className;var _o=require("react/jsx-runtime"),_r="k-color-preview",Nd=[],kd={},vt=e=>{let{color:t,iconName:o,...a}=e;return(0,_o.jsxs)("span",{...a,className:i(e.className,_r,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,_o.jsx)(M,{icon:o,className:"k-color-preview-icon"}),(0,_o.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};vt.states=Nd;vt.options=kd;vt.className=_r;var qa="popup",Dr=qa;var Ja=require("react/jsx-runtime"),Hr="k-animation-container",vd=[],gd={},zr={positionMode:"absolute"},tt=e=>{let{positionMode:t=zr.positionMode,animationStyle:o,offset:a,...n}=e;return(0,Ja.jsx)("div",{...n,style:{...a,...e.style},className:i(e.className,Hr,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,Ja.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};tt.states=vd;tt.options=gd;tt.className=Hr;tt.defaultOptions=zr;tt.moduleName=qa;tt.folderName=Dr;var Wa="popup",Ur=Wa;var Ya=require("react/jsx-runtime"),Gr="k-popup",Ld=[],Md={},Fr={positionMode:"absolute"},V=e=>{let{offset:t,positionMode:o=Fr.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:c,...u}=e;return(0,Ya.jsx)(tt,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":c,children:(0,Ya.jsx)("div",{...u,className:i(e.className,Gr),children:e.children})})};V.states=Ld;V.options=Md;V.className=Gr;V.defaultOptions=Fr;V.moduleName=Wa;V.folderName=Ur;V.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var Qa="action-buttons",Vr=Qa;var $r=require("react/jsx-runtime"),aa="k-actions",Sd=[],Id={},Za={alignment:"start",orientation:"horizontal"},ot=e=>{let{alignment:t=Za.alignment,orientation:o=Za.orientation,...a}=e;return(0,$r.jsx)("div",{...a,className:i(aa,{[`${aa}-${t}`]:t,[`${aa}-${o}`]:o},e.className),children:e.children})};ot.states=Sd;ot.options=Id;ot.className=aa;ot.defaultOptions=Za;ot.moduleName=Qa;ot.folderName=Vr;var qr=require("react/jsx-runtime"),Cd="k-actionsheet-footer",Xr={alignment:"stretched",orientation:"horizontal"},gt=e=>{let{alignment:t=Xr.alignment,orientation:o=Xr.orientation,template:a,as:n=a?"div":ot,...s}=e;return(0,qr.jsx)(n,{...s,...!a&&{alignment:t,orientation:o},className:i(e.className,Cd),children:e.children})};var ja="searchbox",Jr=ja;var Lt=require("react/jsx-runtime"),Wr="k-searchbox",yd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],Td={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},en={showIcon:!0,icon:"search"},Fe=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:c,focus:u,valid:f,invalid:h,required:N,loading:x,disabled:p,showIcon:L=en.showIcon,icon:k=en.icon,"aria-label":I,...O}=e;return(0,Lt.jsxs)(Z,{...O,size:a,rounded:n,fillMode:s,hover:c,focus:u,valid:f,invalid:h,required:N,loading:x,disabled:p,className:i(e.className,Wr),children:[L&&(0,Lt.jsx)(M,{className:"k-input-icon",icon:k}),(0,Lt.jsx)(Pe,{placeholder:o,value:t,"aria-label":I}),(0,Lt.jsx)(Ee,{...e}),(0,Lt.jsx)(Me,{...e}),(0,Lt.jsx)(Be,{...e})]})};Fe.states=yd;Fe.options=Td;Fe.className=Wr;Fe.defaultOptions=en;Fe.moduleName=ja;Fe.folderName=Jr;var Ed=require("react/jsx-runtime");var tn="textbox",Yr=tn;var be=require("react/jsx-runtime"),Qr="k-textbox",Ad=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Od={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},na={showClearButton:!0,showValidationIcon:!0,separators:!0},ie=e=>{let{size:t,rounded:o,fillMode:a,separators:n=na.separators,showClearButton:s=na.showClearButton,showValidationIcon:c=na.showValidationIcon,prefix:u,suffix:f,type:h,value:N,placeholder:x,hover:p,focus:L,valid:k,invalid:I,required:O,loading:S,disabled:P,readonly:Q,id:me,"aria-label":ge,"aria-describedby":Le,...we}=e;return(0,be.jsxs)(Z,{...we,size:t,rounded:o,fillMode:a,hover:p,focus:L,valid:k,invalid:I,required:O,loading:S,disabled:P,readonly:Q,className:i(e.className,Qr),children:[u&&(0,be.jsxs)(be.Fragment,{children:[(0,be.jsx)(ze,{children:u}),n&&(0,be.jsx)(Ge,{})]}),(0,be.jsx)(Pe,{id:me,placeholder:x,value:N,type:h,disabled:P,"aria-label":ge,"aria-describedby":Le,"aria-invalid":I?"true":void 0}),c&&(0,be.jsx)(Me,{valid:k,invalid:I,loading:S,disabled:P}),(0,be.jsx)(Ee,{loading:S,disabled:P}),s&&(0,be.jsx)(Be,{loading:S,disabled:P,readonly:Q,value:N}),f&&(0,be.jsxs)(be.Fragment,{children:[n&&(0,be.jsx)(Ge,{}),(0,be.jsx)(Ue,{children:f})]})]})};ie.states=Ad;ie.options=Od;ie.className=Qr;ie.defaultOptions=na;ie.moduleName=tn;ie.folderName=Yr;ie.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 Do=ie;var jr=require("react/jsx-runtime"),Zr=e=>(0,jr.jsx)(Do,{...e});var ei=require("react/jsx-runtime");var ti=require("react/jsx-runtime");var wd=require("react/jsx-runtime");var ra=require("react/jsx-runtime"),Bd=ie.states,Pd=ie.defaultOptions,Rd=ie.options,Kd=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],_d=[],Vt=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,ra.jsx)(M,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,ra.jsx)(Ot,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[n];break;default:break}}),(0,ra.jsx)(Zr,{value:"Value",style:{width:300},...o,...a})};Vt.options=Rd;Vt.states=Bd;Vt.variants=_d;Vt.defaultOptions=Pd;Vt.modifiers=Kd;Vt.className=ie.className;var Re=require("react/jsx-runtime"),oi="k-actionsheet-titlebar",Dd={},Se=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:c,inputValue:u,inputPlaceholder:f,adaptive:h,titleId:N,children:x,...p}=e;return(0,Re.jsxs)("div",{...p,className:i(e.className,oi),children:[(0,Re.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,Re.jsx)("div",{className:"k-actionsheet-actions",children:a}),!x&&(0,Re.jsxs)("div",{className:"k-actionsheet-title",id:N,children:[t&&(0,Re.jsx)("div",{className:"k-text-center",children:t}),o&&(0,Re.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),x&&(0,Re.jsx)("div",{className:"k-actionsheet-title",id:N,children:x}),n&&(0,Re.jsx)("div",{className:"k-actionsheet-actions",children:n})]}),(c||s)&&(0,Re.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?(0,Re.jsx)(ie,{value:u,placeholder:f,size:h?"large":"medium","aria-label":t||f||"Input"}):(0,Re.jsx)(Fe,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};Se.className=oi;Se.defaultOptions=Dd;var $t=require("react/jsx-runtime"),on="k-actionsheet-view",Hd=[],zd={},Ud={},Xt=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:c,...u}=e,f=(n==null?void 0:n.type)===Se&&(0,$t.jsx)(Se,{adaptive:t,titleId:c,...n==null?void 0:n.props}),h=(s==null?void 0:s.type)===gt&&(0,$t.jsx)(gt,{...s==null?void 0:s.props});return(0,$t.jsxs)("div",{...u,className:i(e.className,on,{[`${on}-animated`]:o}),children:[f,(0,$t.jsx)("div",{className:"k-actionsheet-content",children:a}),h]})};Xt.states=Hd;Xt.options=zd;Xt.className=on;Xt.defaultOptions=Ud;var Ho="action-sheet",ia=Ho;var an="overlay",ai=an;var ri=require("react/jsx-runtime"),ni="k-overlay",Gd=[],Fd={},Vd={},Mt=e=>{let{...t}=e;return(0,ri.jsx)("div",{...t,className:i(e.className,ni),children:e.children})};Mt.states=Gd;Mt.options=Fd;Mt.className=ni;Mt.defaultOptions=Vd;Mt.moduleName=an;Mt.folderName=ai;var Bt=require("react/jsx-runtime"),ii="k-actionsheet",$d=[],Xd={},zo={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},W=e=>{let{side:t=zo.side,fullscreen:o=zo.fullscreen,adaptive:a=zo.adaptive,overlay:n=zo.overlay,template:s,children:c,header:u,footer:f,id:h,...N}=e,x=h&&!s&&u?`${h}-title`:void 0;return(0,Bt.jsxs)("div",{className:"k-actionsheet-container",children:[n&&(0,Bt.jsx)(Mt,{}),(0,Bt.jsx)(tt,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:(0,Bt.jsx)("div",{...N,id:h,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":x,className:i(e.className,ii,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||(0,Bt.jsx)(Xt,{header:u,footer:f,adaptive:a,titleId:x,...e,children:c})})})]})};W.states=$d;W.options=Xd;W.className=ii;W.defaultOptions=zo;W.moduleName=Ho;W.folderName=ia;W.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 li=require("react/jsx-runtime"),si="k-actionsheet-container",qd=[],Jd={},Wd={},qt=e=>{let{children:t,...o}=e;return(0,li.jsx)("div",{...o,className:si,children:t})};qt.states=qd;qt.options=Jd;qt.className=si;qt.defaultOptions=Wd;qt.moduleName=Ho;qt.folderName=ia;var di=require("react/jsx-runtime"),nn=e=>{let{...t}=e;return(0,di.jsx)("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};var Ve=require("react/jsx-runtime"),rn="k-actionsheet-item",Yd=[r.hover,r.focus,r.selected,r.disabled],St=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:c,disabled:u,...f}=e;return(0,Ve.jsxs)("span",{...f,className:i(e.className,rn,y(rn,{hover:n,focus:s,selected:c,disabled:u})),children:[!e.children&&(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,Ve.jsx)("span",{className:"k-icon-wrap",children:(0,Ve.jsx)(M,{className:"k-actionsheet-item-icon",icon:t})}),(0,Ve.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,Ve.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,Ve.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};St.states=Yd;St.className=rn;var ci=require("react/jsx-runtime");var Qd=require("react/jsx-runtime");var Zd=require("react/jsx-runtime");var jd=require("react/jsx-runtime");var $=require("react/jsx-runtime"),ec=W.options,tc=W.states,ui={...W.defaultOptions,variant:"normal"},oc=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ac=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Jt=e=>{let{variant:t,modifiers:o,...a}={...ui,...e},n={},s=(0,$.jsxs)(nn,{children:[(0,$.jsx)(St,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,$.jsx)(St,{text:"Add to Favorites",iconName:"heart"}),(0,$.jsx)(St,{text:"Upload New",iconName:"upload",disabled:!0}),(0,$.jsx)("hr",{className:"k-hr"}),(0,$.jsx)(St,{text:"Cancel",iconName:"cancel"})]}),c="Choose from the items below",u="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(f=>{switch(f){case"actions":n.actionsStart=!!(o!=null&&o[f]),n.actionsEnd=!!(o!=null&&o[f]);break;case"subtitle":n.subtitle=o!=null&&o[f]?c:void 0;break;case"footer":n.footer=!!(o!=null&&o[f]);break;default:break}}),t==="adaptive"?(0,$.jsx)(W,{...a,adaptive:!0,fullscreen:n.fullScreen,header:(0,$.jsx)(Se,{actionsStart:n.actionsStart?(0,$.jsx)(l,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,$.jsx)(l,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:n.subtitle}),footer:n.footer?(0,$.jsxs)(gt,{alignment:"stretched",children:[(0,$.jsx)(l,{text:"Cancel",size:"large",themeColor:"base"}),(0,$.jsx)(l,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):(0,$.jsx)(W,{...a,fullscreen:n.fullScreen,header:(0,$.jsx)(Se,{actionsStart:n.actionsStart?(0,$.jsx)(l,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,$.jsx)(l,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?(0,$.jsxs)(gt,{alignment:"stretched",children:[(0,$.jsx)(l,{text:"Apply",themeColor:"primary"}),(0,$.jsx)(l,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Jt.options=ec;Jt.states=tc;Jt.variants=oc;Jt.defaultOptions=ui;Jt.modifiers=ac;Jt.className=W.className;var sn="slider",mi=sn;var Ye=require("react/jsx-runtime"),Uo="k-slider",nc=[r.hover,r.focus,r.active,r.disabled,r.readonly],rc={},$e={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},F=e=>{let{type:t=$e.type,orientation:o=$e.orientation,gradientType:a=$e.gradientType,readonly:n=$e.readonly,disabled:s=$e.disabled,handlePosition:c=$e.handlePosition,showButtons:u=$e.showButtons,showTicks:f=$e.showTicks,value:h=$e.value,min:N=$e.min,max:x=$e.max,startValue:p,endValue:L,hover:k,focus:I,active:O,trackStyle:S,dir:P,...Q}=e,ge=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),Le,we;return o==="horizontal"?(Le=P==="rtl"?"chevron-left":"chevron-right",we=P==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(Le="chevron-up",we="chevron-down"),(0,Ye.jsxs)("div",{...Q,className:i(Uo,e.className,y(Uo,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:P,children:[u&&(0,Ye.jsx)(l,{className:"k-button-decrease",rounded:"full",icon:we,tabIndex:-1,title:"Decrease"}),(0,Ye.jsxs)("div",{className:"k-slider-track-wrap",children:[f&&(0,Ye.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,Ye.jsxs)("div",{className:"k-slider-track",style:S,children:[(0,Ye.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,Ye.jsx)("span",{className:i("k-draghandle","k-draghandle-start",y(Uo,{hover:k,focus:I,active:O})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":p??N,"aria-valuemin":N,"aria-valuemax":L??x,"aria-orientation":ge,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":Q["aria-label"]?`${Q["aria-label"]} start`:"Range start"}),(0,Ye.jsx)("span",{className:i("k-draghandle",`k-draghandle-${c}`,y(Uo,{hover:k,focus:I,active:O})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?L??x:h,"aria-valuemin":t==="range"?p??N:N,"aria-valuemax":x,"aria-orientation":ge,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?Q["aria-label"]?`${Q["aria-label"]} end`:"Range end":Q["aria-label"]})]})]}),u&&(0,Ye.jsx)(l,{className:"k-button-increase",rounded:"full",icon:Le,tabIndex:-1,title:"Increase"})]})};F.states=nc;F.options=rc;F.className=Uo;F.defaultOptions=$e;F.moduleName=sn;F.folderName=mi;F.ariaSpec={selector:".k-slider",rules:[{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"role=slider",usage:"Sets the proper role for Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-label or aria-labelledby or title",usage:"The Slider needs an accessible name to be assigned to it."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the Slider is in a form and announces the invalid state."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuenow",usage:"Specifies the currently selected value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemin",usage:"Specifies the minimum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemax",usage:"Specifies the maximum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuetext (when has text alternative)",usage:"Specifies a human-readable text alternative to the numeric value. Provided by consuming applications."},{selector:".k-slider:not(.k-disabled) .k-draghandle:not(.k-hsv-draghandle)",attribute:"tabindex=0",usage:"The element must be focusable. Disabled sliders are removed from tab order."},{selector:".k-slider-vertical .k-draghandle",attribute:"aria-orientation=vertical (when vertical)",usage:"Present only when slider is vertical."},{selector:".k-slider.k-disabled .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-disabled=true",usage:"Rendered only when the Slider is disabled."},{selector:".k-slider.k-readonly .k-draghandle",attribute:"aria-readonly=true (when readonly)",usage:"Rendered only when the Slider is readonly. Readonly sliders remain focusable but their value cannot be changed."},{selector:".k-slider .k-button",attribute:"tabindex=-1",usage:"Excludes the buttons from the natural tab order. Keyboard users use arrow keys on the drag handle."},{selector:".k-slider .k-button",attribute:"title",usage:'Provides a tooltip describing the button action (e.g., "Decrease" or "Increase").'},{selector:".k-slider .k-slider-items",attribute:"aria-hidden=true",usage:"Hides the tick list from assistive technologies. Tick values are redundant with the drag handle value attributes."},{selector:".k-slider .k-tick",attribute:"role=presentation",usage:"Removes semantic meaning from individual tick elements. Ticks are visual-only markers."},{selector:".k-slider .k-tick",attribute:"title",usage:"Represents the value associated with the respective tick."}]};var ln=require("react/jsx-runtime"),bi="k-tick",ic=[],sc={},fi={label:!1},E=e=>{let{style:t,label:o=fi.label,orientation:a,large:n,text:s,...c}=e;return(0,ln.jsx)("li",{...c,role:"presentation",title:s||"Tick",className:i(e.className,bi,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&(0,ln.jsx)("span",{className:"k-label",children:s})})};E.states=ic;E.options=sc;E.className=bi;E.defaultOptions=fi;var se=require("react/jsx-runtime"),hi=e=>(0,se.jsx)(F,{"aria-label":e["aria-label"]||"Slider",children:(0,se.jsxs)(se.Fragment,{children:[(0,se.jsx)(E,{className:"k-first",label:!0,large:!0,text:"0"}),(0,se.jsx)(E,{}),(0,se.jsx)(E,{}),(0,se.jsx)(E,{}),(0,se.jsx)(E,{}),(0,se.jsx)(E,{label:!0,large:!0,text:"5"}),(0,se.jsx)(E,{}),(0,se.jsx)(E,{}),(0,se.jsx)(E,{}),(0,se.jsx)(E,{}),(0,se.jsx)(E,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var le=require("react/jsx-runtime"),xi=e=>(0,le.jsx)(F,{children:(0,le.jsxs)(le.Fragment,{children:[(0,le.jsx)(E,{className:"k-first",label:!0,large:!0,text:"0"}),(0,le.jsx)(E,{}),(0,le.jsx)(E,{}),(0,le.jsx)(E,{}),(0,le.jsx)(E,{}),(0,le.jsx)(E,{label:!0,large:!0,text:"5"}),(0,le.jsx)(E,{}),(0,le.jsx)(E,{}),(0,le.jsx)(E,{}),(0,le.jsx)(E,{}),(0,le.jsx)(E,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var dn=require("react/jsx-runtime");var cn=require("react/jsx-runtime");var Ni=require("react/jsx-runtime"),pn=e=>(0,Ni.jsx)(F,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var ki=require("react/jsx-runtime"),un=e=>(0,ki.jsx)(F,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var mn=require("react/jsx-runtime");var bn=require("react/jsx-runtime");var Ae=require("react/jsx-runtime"),lc=F.options,dc=F.states,vi={...F.defaultOptions,variant:"horizontal",label:!0},cc=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],pc=[{name:"label",title:"Labels"},{name:"tick",title:"Ticks"},{name:"button",title:"Side Buttons"}],Wt=e=>{let{variant:t,modifiers:o,...a}={...vi,...e},n={};Object.keys(o||{}).forEach(h=>{switch(h){case"button":{n.showButtons=!!(o!=null&&o[h]);break}case"label":{n.label=!!(o!=null&&o[h]);break}case"tick":{n.showTicks=!!(o!=null&&o[h]);break}}});let{label:s=!0,showButtons:c,showTicks:u}=n,f={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,Ae.jsxs)(xi,{showTicks:u,showButtons:c,style:{height:"300px",...f},...a,children:[(0,Ae.jsx)(E,{label:s,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,Ae.jsx)(E,{label:s,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,Ae.jsx)(E,{label:s,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,Ae.jsx)(E,{label:s,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,Ae.jsx)(E,{label:s,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,Ae.jsxs)(hi,{showTicks:u,showButtons:c,style:{width:"400px",...f},...a,children:[(0,Ae.jsx)(E,{label:s,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,Ae.jsx)(E,{label:s,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,Ae.jsx)(E,{label:s,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,Ae.jsx)(E,{label:s,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,Ae.jsx)(E,{label:s,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Wt.options=lc;Wt.states=dc;Wt.variants=cc;Wt.defaultOptions=vi;Wt.modifiers=pc;Wt.className=F.className;var Go=require("react/jsx-runtime"),gi="k-spin-button",bc=[],fc={size:[d.undefined,d.small,d.medium,d.large],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},fn={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},It=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=fn.increaseLabel,decreaseLabel:s=fn.decreaseLabel,...c}=e;return(0,Go.jsxs)("span",{...c,className:i(gi,e.className),children:[(0,Go.jsx)(l,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),(0,Go.jsx)(l,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};It.states=bc;It.options=fc;It.className=gi;It.defaultOptions=fn;It.moduleName=null;It.folderName=null;var Li="numeric-textbox",Mi="numerictextbox";var de=require("react/jsx-runtime"),Si="k-numerictextbox",hc=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],xc={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},sa={showSpinButton:!0,showClearButton:!0,separators:!0},D=e=>{let{size:t,rounded:o,fillMode:a,separators:n=sa.separators,showClearButton:s=sa.showClearButton,showSpinButton:c=sa.showSpinButton,prefix:u,suffix:f,value:h,placeholder:N,hover:x,focus:p,valid:L,invalid:k,required:I,loading:O,disabled:S,readonly:P,id:Q,"aria-label":me,"aria-describedby":ge,...Le}=e;return(0,de.jsxs)(Z,{...Le,size:t,rounded:o,fillMode:a,hover:x,focus:p,valid:L,invalid:k,required:I,loading:O,disabled:S,readonly:P,className:i(e.className,Si),children:[u&&(0,de.jsxs)(de.Fragment,{children:[(0,de.jsx)(ze,{children:u}),n&&(0,de.jsx)(Ge,{})]}),(0,de.jsx)(Pe,{id:Q,placeholder:N,value:h,role:"spinbutton",disabled:S,"aria-label":me,"aria-describedby":ge,"aria-invalid":k?"true":void 0}),(0,de.jsx)(Me,{valid:L,invalid:k,loading:O,disabled:S}),(0,de.jsx)(Ee,{loading:O,disabled:S}),s&&(0,de.jsx)(Be,{loading:O,disabled:S,readonly:P,value:h}),f&&(0,de.jsxs)(de.Fragment,{children:[n&&(0,de.jsx)(Ge,{}),(0,de.jsx)(Ue,{children:f})]}),c&&(0,de.jsx)(It,{className:"k-input-spinner",size:t,fillMode:a,disabled:S})]})};D.states=hc;D.options=xc;D.className=Si;D.defaultOptions=sa;D.moduleName=Li;D.folderName=Mi;D.ariaSpec={selector:".k-numerictextbox",rules:[{selector:".k-numerictextbox > .k-input-inner",attribute:"role=spinbutton",usage:"Announces the spin button capabilities of the NumericTextBox."},{selector:".k-numerictextbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuenow (when has value)",usage:"Announces the current value of the component."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemin (when has min)",usage:"Announces the minimum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemax (when has max)",usage:"Announces the maximum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the NumericTextBox is in an invalid state."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message."},{selector:".k-numerictextbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"role=button or nodeName=button",usage:"Describes the role of the spin buttons."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"aria-label",usage:"The button element requires discernible text."},{selector:".k-numerictextbox.k-disabled .k-spin-button > .k-button",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."}]};var Fo=D;var Ci=require("react/jsx-runtime"),Ii=e=>(0,Ci.jsx)(Fo,{...e});var da=cr(require("react"));var hn=require("react/jsx-runtime"),Nc="k-list-group-sticky-header",xn=e=>(0,hn.jsx)("div",{className:i(Nc,e.className),children:(0,hn.jsx)("div",{className:"k-list-header-text",children:e.children})});var yi=require("react/jsx-runtime"),kc="k-no-data",la=e=>{let{live:t,...o}=e;return(0,yi.jsx)("span",{...o,className:i(kc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Pt="list",Yt=Pt;var Qt=require("react/jsx-runtime"),Nn="k-list",vc=[],gc={size:[d.undefined,d.small,d.medium,d.large]},Lc={},R=e=>{var L;let{size:t,virtualization:o,children:a,header:n,optionLabel:s,customValue:c,noData:u,screenReaders:f,...h}=e,x=da.default.Children.toArray(a)[0],p=(L=x==null?void 0:x.props)!=null&&L.children?da.default.Children.count(x.props.children):da.default.Children.count(a);return(0,Qt.jsxs)("div",{...h,className:i(e.className,Nn,T(Nn,{size:t}),{"k-virtual-list":o}),children:[s,c,n&&(0,Qt.jsx)(xn,{children:n}),a||(u!==void 0?u:(0,Qt.jsx)(la,{live:!0,children:"No data found."})),f&&a&&(0,Qt.jsxs)(la,{className:"k-sr-only",live:!0,children:[p," items found."]})]})};R.states=vc;R.options=gc;R.className=Nn;R.defaultOptions=Lc;R.moduleName=Pt;R.folderName=Yt;R.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var Ei=require("react/jsx-runtime"),Ti="k-list-container",Mc=[],Sc={},Ic={},Zt=e=>{let{...t}=e;return(0,Ei.jsx)("div",{...t,className:i(e.className,Ti),children:e.children})};Zt.states=Mc;Zt.options=Sc;Zt.className=Ti;Zt.defaultOptions=Ic;Zt.moduleName=Pt;Zt.folderName=Yt;var Rt="checkbox",jt=Rt;var kn=require("react/jsx-runtime"),ca="k-checkbox",Cc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],yc={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full]},Tc={},Xe=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:s,disabled:c,invalid:u,valid:f,required:h,size:N,rounded:x,wrapperRole:p,...L}=e;return(0,kn.jsx)("span",{className:"k-checkbox-wrap",role:p,children:(0,kn.jsx)("input",{...L,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:c||void 0,"aria-invalid":u?"true":void 0,className:i(e.className,ca,T(ca,{size:N,rounded:x}),y(ca,{hover:n,focus:s,disabled:c,invalid:u,valid:f,indeterminate:a,checked:o}))})})};Xe.states=Cc;Xe.options=yc;Xe.className=ca;Xe.defaultOptions=Tc;Xe.moduleName=Rt;Xe.folderName=jt;Xe.ariaSpec={selector:".k-checkbox",rules:[{selector:".k-checkbox",attribute:"role=checkbox or type=checkbox",usage:"Announces the checkbox role of the element."},{selector:".k-checkbox",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name to which it will be assigned."},{selector:".k-checkbox",attribute:"aria-checked=true/false/mixed or checked",usage:"For native checkboxes the checked state is handled by the browser. aria-checked is used for custom implementations."},{selector:".k-checkbox",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the checkbox."},{selector:".k-checkbox",attribute:"disabled or aria-disabled=true (when disabled)",usage:"For native checkboxes use the HTML disabled attribute. aria-disabled for custom implementations."},{selector:".k-invalid, .ng-invalid",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the CheckBox is in a form and announces the invalid state."}]};var Qe=Xe;var wi=require("react/jsx-runtime"),Ai="k-checkbox-list",Ec=[],Ac={},Oi={layout:"vertical"},Ie=e=>{let{layout:t=Oi.layout,...o}=e;return(0,wi.jsx)("ul",{...o,className:i(e.className,Ai,{[`k-list-${t}`]:t}),children:e.children})};Ie.states=Ec;Ie.options=Ac;Ie.className=Ai;Ie.defaultOptions=Oi;Ie.moduleName=Rt;Ie.folderName=jt;var Pi=require("react/jsx-runtime"),Bi="k-checkbox-list-item",Oc=[],wc={},Bc={},Ce=e=>{let{...t}=e;return(0,Pi.jsx)("li",{...t,className:i(e.className,Bi),children:e.children})};Ce.states=Oc;Ce.options=wc;Ce.className=Bi;Ce.defaultOptions=Bc;Ce.moduleName=Rt;Ce.folderName=jt;var Kt=require("react/jsx-runtime"),lt=({children:e="Label",id:t="cb-label-after",...o})=>(0,Kt.jsxs)(Kt.Fragment,{children:[(0,Kt.jsx)(Qe,{id:t,...o}),(0,Kt.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var vn=require("react/jsx-runtime");var gn=require("react/jsx-runtime");var Ln=require("react/jsx-runtime");var Pc=require("react/jsx-runtime");var Rc=require("react/jsx-runtime");var Kc=require("react/jsx-runtime");var fe=require("react/jsx-runtime"),_c=Ie.options,Dc=Ie.states,Hc={...Ie.defaultOptions,variant:"vertical"},zc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Uc=[],eo=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,fe.jsxs)(Ie,{layout:"horizontal",...o,children:[(0,fe.jsx)(Ce,{children:(0,fe.jsx)(lt,{id:_("cb"),defaultChecked:!0,children:"Label"})}),(0,fe.jsx)(Ce,{children:(0,fe.jsx)(lt,{id:_("cb"),children:"Label"})}),(0,fe.jsx)(Ce,{children:(0,fe.jsx)(lt,{id:_("cb"),children:"Label"})})]}):(0,fe.jsxs)(Ie,{...o,children:[(0,fe.jsx)(Ce,{children:(0,fe.jsx)(lt,{id:_("cb"),defaultChecked:!0,children:"Label"})}),(0,fe.jsx)(Ce,{children:(0,fe.jsx)(lt,{id:_("cb"),children:"Label"})}),(0,fe.jsx)(Ce,{children:(0,fe.jsx)(lt,{id:_("cb"),children:"Label"})})]})};eo.options=_c;eo.states=Dc;eo.variants=zc;eo.defaultOptions=Hc;eo.modifiers=Uc;eo.className=Ie.className;var Ri=require("react/jsx-runtime"),Gc=Qe.options,Fc=Qe.states,Vc=Qe.defaultOptions,$c=[],Xc=[],to=e=>(0,Ri.jsx)(lt,{id:_("checkbox"),...e,defaultChecked:!0,children:"Label"});to.options=Gc;to.states=Fc;to.variants=$c;to.defaultOptions=Vc;to.modifiers=Xc;to.className=Qe.className;var at=require("react/jsx-runtime"),Mn="k-list-item",qc=[r.hover,r.focus,r.selected,r.disabled],Jc={},Wc={},w=e=>{let{text:t,groupLabel:o,group:a,iconName:n,iconClassName:s,showCheckbox:c,checked:u,hover:f,focus:h,selected:N,disabled:x,actions:p,description:L,id:k,...I}=e,O=t||e.children;return(0,at.jsxs)("li",{...I,id:k,role:a?"presentation":"option",tabIndex:a?void 0:h?0:-1,"aria-selected":!a&&N?"true":a?void 0:"false","aria-disabled":!a&&x?"true":void 0,className:i(e.className,a?"k-list-group-item":Mn,y(Mn,{hover:f,focus:h,disabled:x,selected:N})),children:[c&&(0,at.jsx)(Xe,{checked:u}),n&&(0,at.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,at.jsx)(M,{icon:n,className:i("k-list-item-icon",s)})}),(0,at.jsx)("span",{className:"k-list-item-text",children:O}),p&&(0,at.jsx)("div",{className:"k-list-item-actions",children:p}),L&&(0,at.jsx)("span",{className:"k-list-item-description",children:L}),o&&o!==""&&(0,at.jsx)("div",{className:"k-list-item-group-label",children:o})]})};w.states=qc;w.options=Jc;w.className=Mn;w.defaultOptions=Wc;w.moduleName=Pt;w.folderName=Yt;w.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 Ki=require("react/jsx-runtime"),Yc="k-list-ul",dt=e=>{let{children:t,role:o,id:a,...n}=e;return(0,Ki.jsx)("ul",{...n,id:a,role:o,className:i(Yc,e.className),children:t})};dt.ariaSpec={selector:".k-list-ul",rules:[{selector:'.k-list-ul[role="listbox"]',attribute:"role=listbox",usage:"For ungrouped lists, the UL has the listbox role."},{selector:'.k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."},{selector:'.k-list-ul[role="group"]',attribute:"role=group",usage:"For grouped sublists under a group header."},{selector:'.k-list-ul[role="group"]',attribute:"aria-labelledby (when grouped)",usage:"References the group header ID."}]};var oo=require("react/jsx-runtime"),Qc="k-list-content",z=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:s,...c}=e;return(0,oo.jsxs)("div",{...c,className:i(Qc,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?n:void 0,children:[o?e.children:(0,oo.jsx)(dt,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&(0,oo.jsx)("div",{className:"k-height-container",children:(0,oo.jsx)("div",{})})]})};z.ariaSpec={selector:".k-list-content",rules:[{selector:'.k-list-content[role="listbox"]',attribute:"role=listbox",usage:"For grouped lists, the list content container has the listbox role."},{selector:'.k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."}]};var Sn=require("react/jsx-runtime");var ao=require("react/jsx-runtime"),Zc="k-list-group-item",_t=e=>{let{groupIconName:t,...o}=e;return(0,ao.jsxs)("li",{...o,role:"presentation",className:i(Zc,e.className),children:[t&&(0,ao.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,ao.jsx)(M,{icon:t,className:"k-list-item-icon"})}),(0,ao.jsx)("span",{className:"k-list-item-text",children:e.children})]})};_t.ariaSpec={selector:".k-list-group-item",rules:[{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-group-item",attribute:"id (when referenced)",usage:"ID for aria-labelledby on the parent group UL."}]};var _i=require("react/jsx-runtime"),In="k-list-optionlabel",jc=[r.hover,r.focus,r.selected,r.disabled],ep={},tp={},pa=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...c}=e;return(0,_i.jsx)("div",{...c,className:i(In,y(In,{hover:o,focus:a,selected:n,disabled:s})),children:t})};pa.states=jc;pa.options=ep;pa.className=In;pa.defaultOptions=tp;var Di=require("react/jsx-runtime"),Cn="k-list-custom-value",op=[r.hover,r.focus,r.selected,r.disabled],ap={},np={},Ct=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...c}=e;return(0,Di.jsx)("div",{...c,className:i(Cn,y(Cn,{hover:o,focus:a,selected:n,disabled:s})),children:t})};Ct.states=op;Ct.options=ap;Ct.className=Cn;Ct.defaultOptions=np;var yn=require("react/jsx-runtime");var Tn=require("react/jsx-runtime");var En=require("react/jsx-runtime");var An=require("react/jsx-runtime");var rp=require("react/jsx-runtime");var On=require("react/jsx-runtime");var Hi="dropdown-list",zi="dropdownlist";var X=require("react/jsx-runtime"),Ui="k-dropdownlist",ip=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],sp={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},wn={showValue:!0,arrowIconName:"chevron-down"},ee=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=wn.arrowIconName,showValue:s=wn.showValue,valueIconName:c,prefix:u,suffix:f,value:h,placeholder:N,hover:x,focus:p,valid:L,invalid:k,required:I,loading:O,disabled:S,readonly:P,popup:Q,opened:me,adaptive:ge,adaptiveSettings:Le,adaptiveTitle:we,adaptiveSubtitle:Et,adaptiveFilter:Ma,id:Nt,activeDescendant:Jo,"aria-label":Sa,...Ia}=e,cl=Nt?`${Nt}-listbox`:void 0,lr=Nt?`${Nt}-value`:void 0;return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(et,{...Ia,id:Nt,size:t,rounded:o,fillMode:a,hover:x,focus:p,valid:L,invalid:k,required:I,loading:O,disabled:S,readonly:P,className:i(e.className,Ui,{"k-icon-picker":!s&&c}),role:"combobox","aria-haspopup":"listbox","aria-expanded":me?"true":"false","aria-controls":me?cl:void 0,"aria-activedescendant":me&&Jo?Jo:void 0,"aria-describedby":me?lr:void 0,"aria-disabled":S?"true":void 0,"aria-label":Sa,tabIndex:0,children:[(0,X.jsx)(ze,{children:u}),(0,X.jsx)(wt,{placeholder:N,value:h,showValue:s,valueIconName:c,id:lr}),(0,X.jsx)(Me,{valid:L,invalid:k,loading:O,disabled:S}),(0,X.jsx)(Ee,{loading:O,disabled:S}),(0,X.jsx)(Ue,{children:f}),(0,X.jsx)(l,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":N||"Toggle dropdown",tabIndex:-1})]}),me&&Q&&(0,X.jsx)(V,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:Q}),ge&&(0,X.jsx)(W,{adaptive:!0,...Le,header:(0,X.jsx)(Se,{actionsEnd:(0,X.jsx)(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Ma,inputValue:h,inputPlaceholder:N,title:we,subtitle:Et}),children:(0,X.jsx)("div",{className:"k-list-container",children:(0,X.jsx)(R,{size:"large",children:(0,X.jsxs)(z,{"aria-label":"Options",children:[(0,X.jsx)(w,{text:"List item"}),(0,X.jsx)(w,{text:"List item"}),(0,X.jsx)(w,{text:"List item"})]})})})})]})};ee.states=ip;ee.options=sp;ee.className=Ui;ee.defaultOptions=wn;ee.moduleName=Hi;ee.folderName=zi;ee.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 lp=require("react/jsx-runtime");var Gi=require("react/jsx-runtime");var Bn=require("react/jsx-runtime");var dp=require("react/jsx-runtime");var Fi=require("react/jsx-runtime");var Pn=require("react/jsx-runtime");var cp=require("react/jsx-runtime");var Oe=require("react/jsx-runtime"),pp=ee.states,up=ee.defaultOptions,mp=ee.options,bp=[{name:"opened",title:"Opened"}],fp=[],ro=e=>{let{modifiers:t,...o}=e,a={},n=(0,Oe.jsxs)(Oe.Fragment,{children:[(0,Oe.jsx)("div",{className:"k-list-filter",children:(0,Oe.jsx)(Fe,{})}),(0,Oe.jsx)(R,{style:{width:300},size:o.size,children:(0,Oe.jsxs)(z,{children:[(0,Oe.jsx)(w,{children:"List item"}),(0,Oe.jsx)(w,{children:"List item"}),(0,Oe.jsx)(w,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!(t!=null&&t[s]),a.popup=t!=null&&t[s]?n:void 0)}),(0,Oe.jsx)("div",{children:(0,Oe.jsx)(ee,{placeholder:"Value",style:{width:300},...o,...a})})};ro.options=mp;ro.states=pp;ro.variants=fp;ro.defaultOptions=up;ro.modifiers=bp;ro.className=ee.className;var Vi=require("react/jsx-runtime");var $i=require("react/jsx-runtime");var hp=require("react/jsx-runtime");var ua=require("react/jsx-runtime"),xp=D.states,Np=D.defaultOptions,kp=D.options,vp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],gp=[],io=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,ua.jsx)(ee,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,ua.jsx)(Xa,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[n];break;case"spin-button":a.showSpinButton=t==null?void 0:t[n];break;default:break}}),(0,ua.jsx)(Ii,{value:"Value",style:{width:300},...o,...a})};io.options=kp;io.states=xp;io.variants=gp;io.defaultOptions=Np;io.modifiers=vp;io.className=D.className;var g=require("react/jsx-runtime"),Xi="k-colorgradient-inputs",Lp=[],Mp={size:[d.undefined,d.small,d.medium,d.large]},qi={mode:"rgba"},so=e=>{let{mode:t=qi.mode,size:o,...a}=e;return(0,g.jsxs)("div",{...a,className:i(Xi,"k-hstack"),children:[(0,g.jsx)("div",{className:"k-vstack",children:(0,g.jsx)(l,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,g.jsx)(g.Fragment,{children:(0,g.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,g.jsx)(ie,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};so.states=Lp;so.options=Mp;so.className=Xi;so.defaultOptions=qi;var he=require("react/jsx-runtime"),Ji="k-colorgradient-color-contrast",Sp=[],Ip={},Cp={},lo=()=>(0,he.jsxs)("div",{className:i(Ji,"k-vbox"),children:[(0,he.jsxs)("div",{className:"k-contrast-ratio",children:[(0,he.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,he.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,he.jsx)(M,{icon:"check"}),(0,he.jsx)(M,{icon:"check"})]})]}),(0,he.jsxs)("div",{children:[(0,he.jsx)("span",{children:"AA: 4.5"}),(0,he.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,he.jsx)(M,{icon:"check"})]})]}),(0,he.jsxs)("div",{children:[(0,he.jsx)("span",{children:"AAA: 7.0"}),(0,he.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,he.jsx)(M,{icon:"x"})]})]})]});lo.states=Sp;lo.options=Ip;lo.className=Ji;lo.defaultOptions=Cp;var Wi="color-gradient",Yi="colorgradient";var te=require("react/jsx-runtime"),ma="k-colorgradient",yp=[r.hover,r.focus,r.readonly,r.disabled],Tp={size:[d.undefined,d.small,d.medium,d.large]},nt={mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},ne=e=>{let{size:t,mode:o=nt.mode,readonly:a=nt.readonly,disabled:n=nt.disabled,gradientStyle:s=nt.gradientStyle,dragHandleStyle:c=nt.dragHandleStyle,alphaStyle:u=nt.alphaStyle,alphaStyleHorizontal:f=nt.alphaStyleHorizontal,contrast:h=nt.contrast,dir:N,hover:x,focus:p,hoverHandle:L,focusHandle:k,canvasOrientation:I=nt.canvasOrientation,role:O,tabIndex:S,...P}=e;return(0,te.jsxs)("div",{...P,role:O??"textbox","aria-label":O==="none"?void 0:"Color gradient",tabIndex:S??0,"aria-disabled":n?"true":void 0,className:i(e.className,ma,T(ma,{size:t}),y(ma,{hover:x,focus:p,readonly:a,disabled:n})),dir:N,children:[!I||I==="horizontal"&&(0,te.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,te.jsx)("div",{className:"k-hsv-rectangle",style:s,children:(0,te.jsx)("div",{className:"k-hsv-gradient",children:(0,te.jsx)("div",{className:i("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),style:c,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),(0,te.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,te.jsx)(un,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,te.jsx)(un,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:u})]})]}),I==="vertical"&&(0,te.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,te.jsx)("div",{className:"k-hsv-rectangle",style:s,children:(0,te.jsx)("div",{className:"k-hsv-gradient",children:(0,te.jsx)("div",{className:i("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),style:c,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),(0,te.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,te.jsx)(pn,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,te.jsx)(pn,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:f})]})]}),(0,te.jsx)(so,{mode:e.mode,size:t}),h&&(0,te.jsx)(lo,{})]})};ne.states=yp;ne.options=Tp;ne.className=ma;ne.defaultOptions=nt;ne.moduleName=Wi;ne.folderName=Yi;ne.ariaSpec={selector:".k-colorgradient",rules:[{selector:".k-colorgradient",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a value that could be submitted."},{selector:".k-colorgradient",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorgradient",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorgradient.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorGradient is disabled."},{selector:".k-hsv-draghandle",attribute:"role=slider",usage:"The 2D draghandle must have slider role for ARIA-allowed attributes."},{selector:".k-hsv-draghandle",attribute:"aria-orientation=undefined",usage:"The implicit orientation for the slider must be removed for the 2D handle."},{selector:".k-hsv-draghandle",attribute:"aria-label",usage:"Must provide information about the purpose of the slider and the currently selected color."},{selector:".k-hsv-draghandle",attribute:"aria-valuetext",usage:"Must specify the values on both X and Y axis."},{selector:".k-hsv-draghandle",attribute:"aria-valuenow",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemin",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemax",usage:"Required by the slider role."},{selector:".k-numerictextbox>.k-input-inner",attribute:"aria-label",usage:"Must provide the name of the channel (red, green, blue, or alpha)."}]};var Qi=require("react/jsx-runtime"),ba=e=>(0,Qi.jsx)(ne,{...e});var Ep=require("react/jsx-runtime");var Ap=require("react/jsx-runtime");var fa=require("react/jsx-runtime"),Op=ne.options,wp=ne.states,Bp={...ne.defaultOptions,variant:"rgba"},Pp=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Rp=[],co=e=>{let{variant:t,...o}=e;switch(t){case"hex":return(0,fa.jsx)(ba,{...o,mode:t});case"rgb":return(0,fa.jsx)(ba,{...o,mode:t});default:return(0,fa.jsx)(ba,{...o,mode:t})}};co.options=Op;co.states=wp;co.variants=Pp;co.defaultOptions=Bp;co.modifiers=Rp;co.className=ne.className;var Zi=require("react/jsx-runtime"),Rn=e=>(0,Zi.jsx)("tr",{role:"row",children:e.children});var ji=require("react/jsx-runtime"),Kn="k-colorpalette-tile",Kp=[r.hover,r.focus,r.selected],_p={},po=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:s,...c}=e,u={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,ji.jsx)("td",{...c,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:i(e.className,Kn,y(Kn,{hover:a,focus:n,selected:s})),style:u})};po.states=Kp;po.options=_p;po.className=Kn;var es="color-palette",ts="colorpalette";var uo=require("react/jsx-runtime"),ha="k-colorpalette",Dp=[r.disabled],Hp={size:[d.undefined,d.small,d.medium,d.large]},os={columns:10},ye=e=>{let{size:t,palette:o,columns:a=os.columns,tileSize:n,disabled:s,...c}=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,I)=>{p.push((0,uo.jsx)(po,{color:k,tileSize:n},I))});let L=(0,uo.jsx)(Rn,{children:p},x);u.push(L)})}return(0,uo.jsx)("div",{...c,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:i(e.className,ha,y(ha,{disabled:s}),T(ha,{size:t})),children:(0,uo.jsx)("table",{className:"k-colorpalette-table",role:"none",children:(0,uo.jsx)("tbody",{children:u.length>0?u:e.children})})})};ye.states=Dp;ye.options=Hp;ye.className=ha;ye.defaultOptions=os;ye.moduleName=es;ye.folderName=ts;ye.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 xa=ye;var Vo={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 ns=require("react/jsx-runtime"),as=e=>(0,ns.jsx)(xa,{palette:Vo.basic,...e});var zp=require("react/jsx-runtime");var rs=require("react/jsx-runtime");var is=require("react/jsx-runtime"),Up=ye.options,Gp=ye.states,Fp={...ye.defaultOptions,variant:"basic"},Vp=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],$p={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}},Xp=[],mo=e=>{let{variant:t="basic",...o}=e,a=$p[t];return(0,is.jsx)(as,{columns:a.columns,palette:a,...o})};mo.options=Up;mo.states=Gp;mo.variants=Vp;mo.defaultOptions=Fp;mo.modifiers=Xp;mo.className=ye.className;var ss="color-editor",ls="coloreditor";var j=require("react/jsx-runtime"),Na="k-coloreditor",qp=[r.focus],Jp={size:[d.undefined,d.small,d.medium,d.large]},$o={view:"gradient",palette:Vo.office,actionButtons:!0,canvasOrientation:"horizontal"},Y=e=>{let{size:t,view:o=$o.view,palette:a=$o.palette,color:n,currentColor:s,focus:c,focusView:u,dir:f,group:h,actionButtons:N=$o.actionButtons,canvasOrientation:x=$o.canvasOrientation,...p}=e;return(0,j.jsxs)("div",{...p,role:"textbox","aria-label":"Color editor",tabIndex:0,className:i(e.className,"k-flatcolorpicker",Na,T(Na,{size:t}),y(Na,{focus:c})),dir:f,children:[(0,j.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,j.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:h&&(0,j.jsxs)(C,{fillMode:"flat",children:[(0,j.jsx)(l,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),(0,j.jsx)(l,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),(0,j.jsx)("div",{className:"k-spacer"}),(0,j.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,j.jsx)(l,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),(0,j.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,j.jsx)(vt,{className:"k-coloreditor-preview-color",color:n}),(0,j.jsx)(vt,{className:"k-coloreditor-current-color",color:s})]})]})]}),(0,j.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,j.jsx)(ne,{focus:u,size:t,canvasOrientation:x,role:"none",tabIndex:-1}):(0,j.jsx)(ye,{palette:a,size:t})}),N&&(0,j.jsxs)(ot,{className:"k-coloreditor-footer",alignment:"start",children:[(0,j.jsx)(l,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,j.jsx)(l,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};Y.states=qp;Y.options=Jp;Y.className=Na;Y.defaultOptions=$o;Y.moduleName=ss;Y.folderName=ls;Y.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 bo=Y;var Wp=require("react/jsx-runtime");var Yp=require("react/jsx-runtime");var cs=require("react/jsx-runtime"),ds=e=>(0,cs.jsx)(bo,{group:!0,currentColor:"fuchsia",...e});var us=require("react/jsx-runtime"),ps=e=>(0,us.jsx)(bo,{view:"palette",group:!0,currentColor:"fuchsia",...e});var _n=require("react/jsx-runtime"),Qp=Y.options,Zp=Y.states,jp={...Y.defaultOptions,variant:"gradient"},eu=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],tu=[],fo=e=>{let{variant:t,...o}=e;return t==="palette"?(0,_n.jsx)(ps,{...o,color:"white"}):(0,_n.jsx)(ds,{...o,color:"rgba(183, 118 , 118, 1.00)"})};fo.options=Qp;fo.states=Zp;fo.variants=eu;fo.defaultOptions=jp;fo.modifiers=tu;fo.className=Y.className;var ms="color-picker",bs="colorpicker";var oe=require("react/jsx-runtime"),fs="k-colorpicker",ou=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],au={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},hs={arrowIconName:"chevron-down"},Ke=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=hs.arrowIconName,prefix:s,suffix:c,value:u,placeholder:f,hover:h,focus:N,valid:x,invalid:p,required:L,disabled:k,valueIconName:I,popup:O,opened:S,adaptive:P,adaptiveSettings:Q,adaptiveTitle:me,adaptiveSubtitle:ge,...Le}=e,we="colorpicker-popup";return(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsxs)(et,{...Le,size:t,rounded:o,fillMode:a,hover:h,focus:N,valid:x,invalid:p,required:L,disabled:k,role:"combobox","aria-haspopup":"dialog","aria-expanded":S?"true":"false","aria-controls":S||P?we:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":k?"true":void 0,className:i(e.className,fs,"k-icon-picker"),children:[(0,oe.jsx)(ze,{children:s}),(0,oe.jsx)(wt,{placeholder:f,value:u,showValue:!1,valueIcon:(0,oe.jsx)(vt,{className:"k-value-icon",color:u,iconName:I}),valueIconName:I}),(0,oe.jsx)(Ue,{children:c}),(0,oe.jsx)(l,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:k})]}),S&&O&&(0,oe.jsx)(V,{id:we,className:"k-colorpicker-popup",children:O}),P&&(0,oe.jsx)(W,{adaptive:!0,id:we,...Q,header:(0,oe.jsx)(Se,{actionsEnd:(0,oe.jsx)(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:me,subtitle:ge}),footer:(0,oe.jsxs)(gt,{children:[(0,oe.jsx)(l,{text:"Cancel",size:"large"}),(0,oe.jsx)(l,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,oe.jsx)(Y,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Ke.states=ou;Ke.options=au;Ke.className=fs;Ke.defaultOptions=hs;Ke.moduleName=ms;Ke.folderName=bs;Ke.ariaSpec={selector:".k-colorpicker",rules:[{selector:".k-colorpicker",attribute:"role=combobox",usage:"The focusable element should have role combobox (input with popup)."},{selector:".k-colorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpicker",attribute:"aria-haspopup=dialog",usage:"Indicates the component has a Dialog Popup."},{selector:".k-colorpicker",attribute:"aria-expanded=true/false",usage:"Announces the visibility state of the popup."},{selector:".k-colorpicker",attribute:"aria-controls (when open)",usage:"Points to the popup element."},{selector:".k-colorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorpicker.k-disabled .k-button",attribute:"disabled or aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var ct=Ke;var xs=require("react/jsx-runtime"),ka=e=>(0,xs.jsx)(ct,{...e});var nu=require("react/jsx-runtime");var ru=require("react/jsx-runtime");var iu=require("react/jsx-runtime");var su=require("react/jsx-runtime");var lu=require("react/jsx-runtime");var du=require("react/jsx-runtime");var yt=require("react/jsx-runtime"),cu=ct.options,pu=ct.states,Ns={...ct.defaultOptions,variant:"color"},uu=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],mu=[{name:"opened",title:"Opened"}],ho=e=>{let{variant:t,modifiers:o,...a}={...Ns,...e},n={};Object.keys(o||{}).forEach(c=>{c==="opened"&&(n.opened=!!(o!=null&&o[c]),n.popup=o!=null&&o[c]?(0,yt.jsx)(Y,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let s=n.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return(0,yt.jsx)("div",{style:s,children:(0,yt.jsx)(ka,{...a,...n})});case"icon":return(0,yt.jsx)("div",{style:s,children:(0,yt.jsx)(ka,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return(0,yt.jsx)("div",{style:s,children:(0,yt.jsx)(ka,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};ho.options=cu;ho.states=pu;ho.variants=uu;ho.defaultOptions=Ns;ho.modifiers=mu;ho.className=ct.className;var Dn="combobox",ks=Dn;var K=require("react/jsx-runtime"),vs="k-combobox",bu=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],fu={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},gs={separators:!0},xe=e=>{let{size:t,rounded:o,fillMode:a,separators:n=gs.separators,prefix:s,suffix:c,value:u,placeholder:f,hover:h,focus:N,valid:x,invalid:p,required:L,loading:k,disabled:I,popup:O,opened:S,readonly:P,adaptive:Q,adaptiveSettings:me,adaptiveTitle:ge,adaptiveSubtitle:Le,adaptiveCustomValue:we,id:Et,autocomplete:Ma,activeDescendant:Nt,"aria-label":Jo,...Sa}=e,Ia=Et?`${Et}-listbox`:void 0;return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsxs)(Z,{...Sa,size:t,rounded:o,fillMode:a,hover:h,focus:N,valid:x,invalid:p,required:L,loading:k,disabled:I,readonly:P,className:i(e.className,vs),children:[s&&(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(ze,{children:s}),n&&(0,K.jsx)(Ge,{})]}),(0,K.jsx)(Pe,{id:Et,placeholder:f,value:u,role:"combobox","aria-haspopup":"listbox","aria-expanded":S?"true":"false","aria-controls":S?Ia:void 0,"aria-activedescendant":S&&Nt?Nt:void 0,"aria-autocomplete":Ma,"aria-invalid":p?"true":void 0,"aria-busy":k?"true":void 0,"aria-label":Jo,disabled:I,readOnly:P}),(0,K.jsx)(Me,{valid:x,invalid:p,loading:k,disabled:I}),(0,K.jsx)(Ee,{loading:k,disabled:I}),(0,K.jsx)(Be,{loading:k,disabled:I,readonly:P,value:u}),c&&(0,K.jsxs)(K.Fragment,{children:[n&&(0,K.jsx)(Ge,{}),(0,K.jsx)(Ue,{children:c})]}),(0,K.jsx)(l,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:I})]}),S&&O&&(0,K.jsx)(V,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:O}),Q&&(0,K.jsx)(W,{adaptive:!0,id:Et?`${Et}-adaptive`:void 0,...me,header:(0,K.jsx)(Se,{actionsEnd:(0,K.jsx)(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:u,inputPlaceholder:f,title:ge,subtitle:Le}),children:(0,K.jsx)("div",{className:"k-list-container",children:(0,K.jsx)(R,{customValue:we?(0,K.jsx)(Ct,{text:`Use "${u}"`}):void 0,size:"large",children:(0,K.jsxs)(z,{"aria-label":ge||"Options",children:[(0,K.jsx)(w,{text:"List item"}),(0,K.jsx)(w,{text:"List item"}),(0,K.jsx)(w,{text:"List item"})]})})})})]})};xe.states=bu;xe.options=fu;xe.className=vs;xe.defaultOptions=gs;xe.moduleName=Dn;xe.folderName=ks;xe.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 _e=xe;var Ms=require("react/jsx-runtime"),Ls=e=>(0,Ms.jsx)(_e,{...e});var Ss=require("react/jsx-runtime");var Is=require("react/jsx-runtime");var Cs=require("react/jsx-runtime");var ys=require("react/jsx-runtime");var Ts=require("react/jsx-runtime");var Es=require("react/jsx-runtime");var Hn=require("react/jsx-runtime");var hu=require("react/jsx-runtime");var xu=require("react/jsx-runtime");var As=require("react/jsx-runtime");var Os=require("react/jsx-runtime");var Ze=require("react/jsx-runtime"),Nu=xe.states,ku=xe.defaultOptions,vu=xe.options,gu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Lu=[],xo=e=>{let{modifiers:t,...o}=e,a={},n=(0,Ze.jsx)(R,{style:{width:300},size:o.size,children:(0,Ze.jsxs)(z,{children:[(0,Ze.jsx)(w,{children:"List item"}),(0,Ze.jsx)(w,{children:"List item"}),(0,Ze.jsx)(w,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t!=null&&t[s]?(0,Ze.jsx)(M,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t!=null&&t[s]?(0,Ze.jsx)(kt,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!(t!=null&&t[s]),a.popup=t!=null&&t[s]?n:void 0;break;default:break}}),(0,Ze.jsx)("div",{children:(0,Ze.jsx)(Ls,{value:"Value",style:{width:300},...o,...a})})};xo.options=vu;xo.states=Nu;xo.variants=Lu;xo.defaultOptions=ku;xo.modifiers=gu;xo.className=xe.className;var zn="menu-button",ws=zn;var Ps=require("react/jsx-runtime"),Bs="k-menu-button",Mu=[r.hover,r.focus,r.active,r.selected,r.disabled],Su={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},Un={showArrow:!0,arrowIconName:"chevron-down"},U=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:c,active:u,selected:f,disabled:h,icon:N,text:x,showArrow:p=Un.showArrow,arrowIconName:L=Un.arrowIconName,expanded:k,...I}=e;return(0,Ps.jsx)(l,{...I,className:i(e.className,Bs),text:x,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:c,active:u,selected:f,disabled:h,icon:N,showArrow:p,arrowIconName:L,"aria-expanded":k?"true":"false",...!x&&N&&!e["aria-label"]&&{"aria-label":"Menu"},...h&&{"aria-disabled":"true"}})};U.states=Mu;U.options=Su;U.className=Bs;U.defaultOptions=Un;U.moduleName=zn;U.folderName=ws;U.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 Iu=require("react/jsx-runtime");var Cu=require("react/jsx-runtime");var yu=require("react/jsx-runtime");var De="menu",qe=De;var pt=require("react/jsx-runtime"),Gn="k-menu-item",Tu=[r.hover,r.focus,r.active,r.selected,r.disabled],Eu={},Rs={iconPosition:"before"},Ne=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:c,text:u,first:f,last:h,showArrow:N,arrowIconName:x,iconPosition:p=Rs.iconPosition,dir:L,children:k,expanded:I,...O}=e,S=x;return S||(S=L==="rtl"?"chevron-left":"chevron-right"),(0,pt.jsxs)("li",{...O,className:i(e.className,Gn,"k-item",y(Gn,{focus:o,disabled:s,hover:t,active:a,selected:n}),{"k-first":f,"k-last":h}),role:"menuitem",...N&&{"aria-haspopup":"menu"},...N&&{"aria-expanded":I?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,pt.jsxs)("span",{className:i("k-link k-menu-link"),children:[c&&p==="before"&&(0,pt.jsx)(M,{className:"k-menu-link-icon",icon:c}),(0,pt.jsx)("span",{className:"k-menu-link-text",children:u}),c&&p==="after"&&(0,pt.jsx)(M,{className:"k-menu-link-icon",icon:c}),N&&(0,pt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,pt.jsx)(M,{icon:S})})]}),k]})};Ne.states=Tu;Ne.options=Eu;Ne.className=Gn;Ne.defaultOptions=Rs;Ne.moduleName=De;Ne.folderName=qe;var ut=require("react/jsx-runtime"),Fn="k-menu-item",Au=[r.hover,r.focus,r.active,r.selected,r.disabled],Ou={},Vn={dir:"ltr",iconPosition:"before"},q=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:c,text:u,first:f,last:h,showArrow:N,arrowIconName:x,iconPosition:p=Vn.iconPosition,dir:L=Vn.dir,children:k,popup:I,expanded:O,...S}=e,P=x;return P||(P=L==="rtl"?"chevron-left":"chevron-right"),(0,ut.jsxs)("li",{...S,className:i(e.className,Fn,"k-item",y(Fn,{focus:o,disabled:s}),{"k-first":f,"k-last":h}),role:"menuitem",...N&&{"aria-haspopup":"menu"},...N&&{"aria-expanded":O?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,ut.jsxs)("span",{className:i("k-link k-menu-link",y("k-menu-link",{hover:t,active:a,selected:n,disabled:s})),children:[c&&p==="before"&&(0,ut.jsx)(M,{className:"k-menu-link-icon",icon:c}),(0,ut.jsx)("span",{className:"k-menu-link-text",children:u}),c&&p==="after"&&(0,ut.jsx)(M,{className:"k-menu-link-icon",icon:c}),N&&(0,ut.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,ut.jsx)(M,{icon:P})})]}),k,I]})};q.states=Au;q.options=Ou;q.className=Fn;q.defaultOptions=Vn;q.moduleName=De;q.folderName=qe;var Ds=require("react/jsx-runtime"),Ks="k-menu-scroll-wrapper",wu=[],Bu={},Pu={},Dt=e=>{let{className:t,children:o,orientation:a,...n}=e;return(0,Ds.jsx)("div",{...n,className:i(t,Ks,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};Dt.states=wu;Dt.options=Bu;Dt.className=Ks;Dt.defaultOptions=Pu;Dt.moduleName=De;Dt.folderName=qe;var _s=Dt;var ce=require("react/jsx-runtime"),$n="k-menu",Ru=[],Ku={},ga={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},re=e=>{let{children:t,orientation:o=ga.orientation,header:a=ga.header,scrollable:n,scrollButtonsPosition:s=ga.scrollButtonsPosition,wrapperStyles:c,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,ce.jsx)("ul",{dir:u,...N,className:i(e.className,"k-reset",$n,{[`${$n}-${o}`]:o,"k-header":a}),role:h?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return(0,ce.jsxs)(ce.Fragment,{children:[n?(0,ce.jsxs)(_s,{orientation:o,style:c,dir:e.dir,children:[s==="start"&&(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,ce.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&(0,ce.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),p,s==="end"&&(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,ce.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&(0,ce.jsx)(l,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):p,f]})};re.states=Ru;re.options=Ku;re.className=$n;re.defaultOptions=ga;re.moduleName=De;re.folderName=qe;re.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 zs=require("react/jsx-runtime"),Xn="k-separator",Hs={orientation:"horizontal"},No=e=>{let{orientation:t=Hs.orientation,...o}=e;return(0,zs.jsx)("li",{...o,className:i(e.className,"k-item",Xn,{[`${Xn}-${t}`]:t}),role:"separator"})};No.className=Xn;No.defaultOptions=Hs;No.moduleName=De;No.folderName=qe;var Us=require("react/jsx-runtime");var Gs=require("react/jsx-runtime"),qn="k-menu-group",_u=[],Du={size:[d.undefined,d.small,d.medium,d.large]},Hu={},ke=e=>{let{children:t,size:o,...a}=e;return(0,Gs.jsx)("ul",{...a,className:i(e.className,qn,T(qn,{size:o})),role:"menu",children:t})};ke.states=_u;ke.options=Du;ke.className=qn;ke.defaultOptions=Hu;ke.moduleName=De;ke.folderName=qe;var je=require("react/jsx-runtime"),Jn=e=>(0,je.jsx)(re,{children:(0,je.jsxs)(je.Fragment,{children:[(0,je.jsx)(Ne,{first:!0,text:"Item 1"}),(0,je.jsx)(Ne,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),(0,je.jsx)(Ne,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),(0,je.jsx)(Ne,{text:"Item 4"}),(0,je.jsx)(Ne,{last:!0,text:"Item 5"})]}),...e});var Wn=require("react/jsx-runtime");var Yn=require("react/jsx-runtime");var Qn=require("react/jsx-runtime");var Zn=require("react/jsx-runtime");var rt=require("react/jsx-runtime"),zu=re.options,Uu=re.states,Fs={...re.defaultOptions,variant:"horizontal"},Gu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Fu=[{name:"scrollable",title:"Scrollable"},{name:"opened",title:"Opened"}],ko=e=>{let{variant:t,modifiers:o,...a}={...Fs,...e},n={};return Object.keys(o||{}).forEach(s=>{switch(s){case"scrollable":n.scrollable=!!(o!=null&&o[s]);break;case"opened":n.opened=!!(o!=null&&o[s]),n.popup=(0,rt.jsx)(V,{className:"k-menu-popup",children:(0,rt.jsxs)(ke,{children:[(0,rt.jsx)(q,{text:"Item 1"}),(0,rt.jsx)(q,{text:"Item 2"}),(0,rt.jsx)(No,{}),(0,rt.jsx)(q,{text:"Item 3"})]})});break}}),t==="vertical"?(0,rt.jsx)(Jn,{...a,...n,orientation:"vertical",style:{width:"200px"}}):(0,rt.jsx)(Jn,{...a,...n})};ko.options=zu;ko.states=Uu;ko.variants=Gu;ko.defaultOptions=Fs;ko.modifiers=Fu;ko.className=re.className;var jn=require("react/jsx-runtime");var Vu=require("react/jsx-runtime");var ve=require("react/jsx-runtime"),$u=l.states,Vs={...l.defaultOptions,variant:"text"},Xu=l.options,qu=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ju=[{name:"opened",title:"Opened"}],vo=e=>{let{variant:t,modifiers:o,...a}={...Vs,...e},n={},s=(0,ve.jsx)(V,{className:"k-menu-popup",children:(0,ve.jsxs)(ke,{size:a.size,children:[(0,ve.jsx)(q,{first:!0,text:"Menu Item"}),(0,ve.jsx)(q,{text:"Menu Item"}),(0,ve.jsx)(q,{last:!0,text:"Menu Item"})]})}),c;switch(t){case"icon-only":c=(0,ve.jsx)("div",{children:(0,ve.jsx)(U,{...a,...n,icon:"star"})});break;case"icon-and-text":c=(0,ve.jsx)("div",{children:(0,ve.jsx)(U,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:c=(0,ve.jsx)("div",{children:(0,ve.jsx)(U,{...a,...n,children:"Dropdown Button"})});break}return(0,ve.jsxs)(ve.Fragment,{children:[c,(o==null?void 0:o.opened)&&s]})};vo.options=Xu;vo.states=$u;vo.variants=qu;vo.defaultOptions=Vs;vo.modifiers=Ju;vo.className=U.className;var er="split-button",$s=er;var mt=require("react/jsx-runtime"),tr="k-split-button",Wu=[r.hover,r.focus,r.active,r.selected,r.disabled],Yu={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},Xs={arrowIconName:"chevron-down"},B=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:c,active:u,selected:f,disabled:h,icon:N,text:x,arrowIconName:p=Xs.arrowIconName,popup:L,opened:k,popupId:I,...O}=e;return(0,mt.jsxs)(mt.Fragment,{children:[(0,mt.jsxs)("div",{...O,className:i(e.className,tr,"k-button-group",T(tr,{rounded:o})),children:[(0,mt.jsx)(l,{text:x,icon:N,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:c,active:u,selected:f,disabled:h,...!x&&!e.children&&N&&{"aria-label":"Action"},children:e.children}),(0,mt.jsx)(l,{className:"k-split-button-arrow",icon:p,size:t,rounded:o,fillMode:a,disabled:h,"aria-label":"Toggle dropdown","aria-expanded":k?"true":"false","aria-controls":k?I:void 0,tabIndex:-1,...h&&{"aria-disabled":"true"}})]}),k&&L&&(0,mt.jsx)(V,{className:"k-menu-popup",children:L})]})};B.states=Wu;B.options=Yu;B.className=tr;B.defaultOptions=Xs;B.moduleName=er;B.folderName=$s;B.ariaSpec={selector:".k-split-button",rules:[{selector:".k-split-button-arrow",attribute:"role=button or nodeName=button",usage:"Omitted if the <button> DOM element is used."},{selector:".k-split-button-arrow",attribute:"aria-label",usage:"The attribute must be present when no text is initially visible in the button."},{selector:".k-split-button-arrow",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-split-button-arrow",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-split-button-arrow",attribute:"tabindex=-1",usage:"The arrow button is removed from the tab sequence."},{selector:".k-split-button-arrow.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};var or=B;var qs=require("react/jsx-runtime"),Qu="k-toolbar-separator",He=e=>(0,qs.jsx)("div",{className:i(Qu,e.className,"k-separator")});var bt="toolbar",Tt=bt;var A=require("react/jsx-runtime"),ft="k-toolbar",Zu=[r.focus],ju={size:[d.undefined,d.small,d.medium,d.large],fillMode:[m.undefined,m.solid,m.outline,m.flat]},em={scrollButtons:"around"},G=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:s,scrollButtons:c,scrollingPosition:u,section:f,...h}=e,N=[],x=(p,L)=>{let k=[];if(p.type===l&&p.props.className&&p.props.className.includes("k-toolbar-overflow-button"))k.push((0,A.jsx)(l,{...p.props,className:`${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===l)k.push((0,A.jsx)(l,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===Eo)k.push((0,A.jsx)(Eo,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===kt)k.push((0,A.jsx)(kt,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===U)k.push((0,A.jsx)(U,{...p.props,className:`k-toolbar-menu-button ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===or)k.push((0,A.jsx)(or,{...p.props,className:`k-toolbar-split-button ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`));else if(p.type===C||p.props.className&&p.props.className.includes("k-button-group")){let I=[];(Array.isArray(p.props.children)?p.props.children:[p.props.children]).forEach((S,P)=>{I.push((0,A.jsx)(l,{...S.props,className:`${S.props.className?S.props.className:""}`},`${P}-${new Date().getTime()}`))}),k.push((0,A.jsx)(C,{...p.props,className:`k-toolbar-button-group ${p.props.className?p.props.className:""}`,children:I},`${L}-${new Date().getTime()}`))}else p.type===xe?k.push((0,A.jsx)(xe,{...p.props,className:`k-toolbar-combobox ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`)):p.type===ee?k.push((0,A.jsx)(ee,{...p.props,className:`k-toolbar-dropdownlist ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`)):p.type===Ke?k.push((0,A.jsx)(Ke,{...p.props,className:`k-toolbar-colorpicker ${p.props.className?p.props.className:""}`},`${L}-${new Date().getTime()}`)):k.push(p);k.forEach(I=>{N.push(I)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((L,k)=>{x(L,k)}),(0,A.jsxs)("div",{...h,className:i(e.className,ft,T(ft,{size:t,fillMode:o}),y(ft,{focus:a}),{[`${ft}-resizable`]:n,[`${ft}-scrollable`]:s,[`${ft}-scrollable-overlay`]:s&&c==="hidden",[`${ft}-scrollable-${u}`]:u&&u!=="both",[`${ft}-section`]:f}),role:"toolbar","aria-label":"Toolbar",children:[!s&&N,s&&c==="hidden"&&(0,A.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),s&&c==="start"&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)(C,{children:[(0,A.jsx)("span",{className:i("k-toolbar-prev","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,A.jsx)(M,{className:"k-button-icon",icon:"chevron-left"})}),(0,A.jsx)("span",{className:i("k-toolbar-next","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,A.jsx)(M,{className:"k-button-icon",icon:"chevron-right"})})]}),(0,A.jsx)(He,{className:"k-toolbar-button-separator"}),(0,A.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N})]}),s&&c==="end"&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),(0,A.jsx)(He,{className:"k-toolbar-button-separator"}),(0,A.jsxs)(C,{children:[(0,A.jsx)("span",{className:i("k-toolbar-prev","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,A.jsx)(M,{className:"k-button-icon",icon:"chevron-left"})}),(0,A.jsx)("span",{className:i("k-toolbar-next","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,A.jsx)(M,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(c==="around"||!c)&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("span",{className:i("k-toolbar-prev","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,A.jsx)(M,{className:"k-button-icon",icon:"chevron-left"})}),(0,A.jsx)(He,{className:"k-toolbar-button-separator"}),(0,A.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),(0,A.jsx)(He,{className:"k-toolbar-button-separator"}),(0,A.jsx)("span",{className:i("k-toolbar-next","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,A.jsx)(M,{className:"k-button-icon",icon:"chevron-right"})})]})]})};G.states=Zu;G.options=ju;G.className=ft;G.defaultOptions=em;G.moduleName=bt;G.folderName=Tt;G.ariaSpec={selector:".k-toolbar",rules:[{selector:".k-toolbar",attribute:"role=toolbar",usage:"The component role."},{selector:".k-toolbar",attribute:"aria-label or aria-labelledby",usage:"Must be supplied when multiple toolbars exist."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-haspopup=menu",usage:"The overflow button opens a menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-expanded=true/false",usage:"Announces popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-controls=.k-toolbar-popup .k-menu-group id (when present)",usage:"Indicates the connection between the toggle button and the menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:".k-toolbar-popup .k-menu-group",attribute:"role=menu",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-menu-group",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the menu toggle button."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-expanded=true/false",usage:"Announces section popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-controls=.k-toolbar-popup .k-toolbar-items-list id (when present)",usage:"Indicates the connection between the toggle button and the section popup."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"role=toolbar",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the section toggle button."}]};var Ws=require("react/jsx-runtime"),Js="k-floating-toolbar",tm=[],om={},am={},go=e=>{let{...t}=e;return(0,Ws.jsx)("div",{...t,className:i(e.className,Js),children:e.children})};go.states=tm;go.options=om;go.className=Js;go.defaultOptions=am;go.moduleName=bt;go.folderName=Tt;var Ys=require("react/jsx-runtime"),ar="k-toolbar-item",nm=[r.focus],rm={},im={},Lo=e=>{let{focus:t,...o}=e;return(0,Ys.jsx)("div",{...o,className:i(e.className,ar,y(ar,{focus:t})),children:e.children})};Lo.states=nm;Lo.options=rm;Lo.className=ar;Lo.defaultOptions=im;Lo.moduleName=bt;Lo.folderName=Tt;var nr=require("react/jsx-runtime"),Qs="k-toolbar-popup",sm=[],lm={size:[d.undefined,d.small,d.medium,d.large],fillMode:[m.undefined,m.solid,m.outline,m.flat]},dm={},Ht=e=>{let{size:t,fillMode:o,section:a,...n}=e;return(0,nr.jsx)(V,{...n,className:i(e.className,Qs),children:a?(0,nr.jsx)("span",{className:i("k-toolbar-items-list",T("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Ht.states=sm;Ht.options=lm;Ht.className=Qs;Ht.defaultOptions=dm;Ht.moduleName=bt;Ht.folderName=Tt;var La=Ht;var cm=require("react/jsx-runtime");var pm=require("react/jsx-runtime");var um=require("react/jsx-runtime");var Zs=require("react/jsx-runtime");var mm=require("react/jsx-runtime");var Je=require("react/jsx-runtime"),bm=B.states,js={...B.defaultOptions,variant:"text"},fm=B.options,hm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],xm=[{name:"opened",title:"Opened"}],Mo=e=>{let{variant:t,modifiers:o,...a}={...js,...e},n={},s=(0,Je.jsxs)(ke,{size:a.size,children:[(0,Je.jsx)(q,{first:!0,text:"Menu Item"}),(0,Je.jsx)(q,{text:"Menu Item"}),(0,Je.jsx)(q,{last:!0,text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(c=>{c==="opened"&&(n.opened=!!(o!=null&&o[c]),n.popup=o!=null&&o[c]?s:"")}),t){case"icon-only":return(0,Je.jsx)("div",{children:(0,Je.jsx)(B,{...a,...n,icon:"star"})});case"icon-and-text":return(0,Je.jsx)("div",{children:(0,Je.jsx)(B,{...a,...n,icon:"star",children:"Split Button"})});default:return(0,Je.jsx)("div",{children:(0,Je.jsx)(B,{...a,...n,children:"Split Button"})})}};Mo.options=fm;Mo.states=bm;Mo.variants=hm;Mo.defaultOptions=js;Mo.modifiers=xm;Mo.className=B.className;var it=require("react/jsx-runtime"),el=e=>(0,it.jsx)(G,{children:[(0,it.jsx)(l,{children:"Button"},"toolbar-button"),(0,it.jsx)(U,{text:"Menu button"},"toolbar-menu-button"),(0,it.jsx)(B,{children:"Split button"},"toolbar-split-button"),(0,it.jsxs)(C,{children:[(0,it.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,it.jsx)(l,{icon:"align-center",children:"Center"}),(0,it.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var tl=require("react/jsx-runtime");var pe=require("react/jsx-runtime"),ol=e=>(0,pe.jsx)(G,{scrollable:!0,...e,children:[(0,pe.jsx)(l,{children:"Button"},"toolbar-button"),(0,pe.jsx)(U,{text:"Menu button"},"toolbar-menu-button"),(0,pe.jsx)(B,{children:"Split button"},"toolbar-split-button"),(0,pe.jsxs)(C,{children:[(0,pe.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,pe.jsx)(l,{icon:"align-center",children:"Center"}),(0,pe.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,pe.jsx)(l,{children:"Button"},"toolbar-button"),(0,pe.jsx)(U,{text:"Menu button"},"toolbar-menu-button"),(0,pe.jsx)(B,{children:"Split button"},"toolbar-split-button"),(0,pe.jsxs)(C,{children:[(0,pe.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,pe.jsx)(l,{icon:"align-center",children:"Center"}),(0,pe.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var ue=require("react/jsx-runtime"),al=({scrollingPosition:e="start",...t})=>(0,ue.jsx)(G,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[(0,ue.jsx)(l,{children:"Button"},"toolbar-button"),(0,ue.jsx)(U,{text:"Menu button"},"toolbar-menu-button"),(0,ue.jsx)(B,{children:"Split button"},"toolbar-split-button"),(0,ue.jsxs)(C,{children:[(0,ue.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ue.jsx)(l,{icon:"align-center",children:"Center"}),(0,ue.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,ue.jsx)(l,{children:"Button"},"toolbar-button"),(0,ue.jsx)(U,{text:"Menu button"},"toolbar-menu-button"),(0,ue.jsx)(B,{children:"Split button"},"toolbar-split-button"),(0,ue.jsxs)(C,{children:[(0,ue.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ue.jsx)(l,{icon:"align-center",children:"Center"}),(0,ue.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});var J=require("react/jsx-runtime"),nl=({fillMode:e,size:t,...o})=>(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(G,{section:!0,fillMode:e,size:t,children:[(0,J.jsx)(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,J.jsxs)(C,{fillMode:e,children:[(0,J.jsx)(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,J.jsx)(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,J.jsx)(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),(0,J.jsx)(He,{className:"k-toolbar-button-separator"}),(0,J.jsx)(l,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),(0,J.jsxs)(La,{size:t,fillMode:e,section:!0,...o,children:[(0,J.jsx)(B,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),(0,J.jsx)(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,J.jsx)(He,{}),(0,J.jsx)(U,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),(0,J.jsxs)(C,{fillMode:e,children:[(0,J.jsx)(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,J.jsx)(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,J.jsx)(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});var rr=require("react/jsx-runtime");var ir=require("react/jsx-runtime");var ht=require("react/jsx-runtime"),Nm=G.options,km=G.states,rl={...G.defaultOptions,variant:"default"},vm=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],gm=[],So=e=>{let{variant:t,...o}={...rl,...e};switch(t){case"responsive":return(0,ht.jsx)("div",{children:(0,ht.jsx)(nl,{style:{width:"583px"},...o})});case"overlay":return(0,ht.jsx)("div",{children:(0,ht.jsx)(al,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return(0,ht.jsx)("div",{children:(0,ht.jsx)(ol,{style:{width:"583px"},...o})});default:return(0,ht.jsx)("div",{children:(0,ht.jsx)(el,{style:{width:"583px"},...o})})}};So.options=Nm;So.states=km;So.variants=vm;So.defaultOptions=rl;So.modifiers=gm;So.className=G.className;var sl=require("react/jsx-runtime"),Lm="k-editor-toolbar",il=e=>{let{resizable:t,...o}=e;return(0,sl.jsx)(G,{...o,className:i(e.className,Lm),resizable:t,children:e.children})};var sr="editor",ll=sr;var qo=require("react/jsx-runtime"),Xo="k-editor",Mm=[r.readonly,r.disabled,r.focus],Sm={},dl={toolbarResizable:!1},xt=e=>{let{readonly:t,disabled:o,focus:a,toolbarItems:n,toolbarResizable:s=dl.toolbarResizable,resizable:c,...u}=e;return(0,qo.jsxs)("div",{...u,className:i(e.className,Xo,y(Xo,{readonly:t,disabled:o}),{[`${Xo}-resizable`]:c}),children:[(0,qo.jsx)(il,{resizable:s,children:n}),(0,qo.jsx)(Yo,{readonly:t,className:i(y(Xo,{focus:a})),children:e.children})]})};xt.states=Mm;xt.options=Sm;xt.className=Xo;xt.defaultOptions=dl;xt.moduleName=sr;xt.folderName=ll;xt.ariaSpec={selector:".k-editor",rules:[{selector:".k-editor-content[contenteditable]",attribute:"role=textbox",usage:"Specifies the role of the component as text input."},{selector:".k-editor-content[contenteditable]",attribute:"aria-label",usage:"The component focusable element needs an accessible name."},{selector:'.k-editor.k-readonly .k-editor-content[contenteditable="false"]',attribute:"aria-readonly=true",usage:"Rendered only when the Editor is readonly."}]};var H=require("react/jsx-runtime"),Im=e=>(0,H.jsx)(xt,{toolbarResizable:!0,style:{width:"482px"},toolbarItems:[(0,H.jsxs)(C,{children:[(0,H.jsx)(l,{className:"k-group-start",disabled:!0,icon:"undo","aria-label":"Undo"}),(0,H.jsx)(l,{className:"k-group-end",disabled:!0,icon:"redo","aria-label":"Redo"})]},"history"),(0,H.jsxs)(C,{children:[(0,H.jsx)(l,{className:"k-group-start",icon:"bold","aria-label":"Bold"}),(0,H.jsx)(l,{icon:"italic","aria-label":"Italic"}),(0,H.jsx)(l,{icon:"underline","aria-label":"Underline"}),(0,H.jsx)(l,{className:"k-group-end",icon:"strikethrough","aria-label":"Strikethrough"})]},"format"),(0,H.jsxs)(C,{children:[(0,H.jsx)(l,{className:"k-group-start",icon:"subscript","aria-label":"Subscript"}),(0,H.jsx)(l,{className:"k-group-end",icon:"superscript","aria-label":"Superscript"})]},"script"),(0,H.jsxs)(C,{children:[(0,H.jsx)(l,{className:"k-group-start",icon:"indent","aria-label":"Indent"}),(0,H.jsx)(l,{disabled:!0,className:"k-group-end",icon:"outdent","aria-label":"Outdent"})]},"indent"),(0,H.jsxs)(C,{className:"k-hidden",children:[(0,H.jsx)(l,{className:"k-group-start",icon:"align-left","aria-label":"Align left"}),(0,H.jsx)(l,{icon:"align-center","aria-label":"Align center"}),(0,H.jsx)(l,{icon:"align-right","aria-label":"Align right"}),(0,H.jsx)(l,{className:"k-group-end",icon:"align-justify","aria-label":"Justify"})]},"align"),(0,H.jsx)(He,{className:"k-toolbar-button-separator"},"separator"),(0,H.jsx)(l,{icon:"more-vertical",className:"k-toolbar-overflow-button",fillMode:"flat","aria-label":"More tools"},"overflow")],children:(0,H.jsx)(H.Fragment,{children:"Editor Content"}),...e});