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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/dist/cjs/chat/chat-message.js +1 -1
  2. package/dist/cjs/chat/chat.spec.js +1 -1
  3. package/dist/cjs/chat/demos/chat.js +1 -1
  4. package/dist/cjs/chat/templates/chat-empty.js +1 -1
  5. package/dist/cjs/chat/templates/chat-expandable.js +1 -1
  6. package/dist/cjs/chat/templates/chat-failed.js +1 -1
  7. package/dist/cjs/chat/templates/chat-message-skeleton.js +1 -1
  8. package/dist/cjs/chat/templates/chat-message-toolbar.js +1 -1
  9. package/dist/cjs/chat/templates/chat-normal.js +1 -1
  10. package/dist/cjs/chat/templates/chat-pinned.js +1 -1
  11. package/dist/cjs/chat/templates/chat-stop-response.js +1 -1
  12. package/dist/cjs/chat/templates/chat-textarea-file.js +1 -1
  13. package/dist/cjs/chat/templates/chat-typing.js +1 -1
  14. package/dist/cjs/chat/templates/chat-upload.js +1 -1
  15. package/dist/cjs/editor/demos/editor.js +1 -1
  16. package/dist/cjs/editor/templates/editor-normal.js +1 -1
  17. package/dist/cjs/editor/templates/editor-resizable.js +1 -1
  18. package/dist/cjs/editor/templates/editor-responsive-toolbar.js +1 -1
  19. package/dist/cjs/imageeditor/templates/imageeditor-crop.js +1 -1
  20. package/dist/cjs/imageeditor/templates/imageeditor-resize.js +1 -1
  21. package/dist/cjs/index.js +8 -8
  22. package/dist/cjs/prompt/demos/prompt.js +1 -1
  23. package/dist/cjs/prompt/templates/prompt-inline-input-only.js +1 -1
  24. package/dist/cjs/prompt/templates/prompt-inline.js +1 -1
  25. package/dist/cjs/prompt/templates/prompt-more-actions.js +1 -1
  26. package/dist/cjs/prompt/templates/prompt-normal.js +1 -1
  27. package/dist/cjs/prompt/templates/prompt-output.js +1 -1
  28. package/dist/cjs/prompt/templates/prompt-popup.js +1 -1
  29. package/dist/cjs/prompt/templates/prompt-settings.js +1 -1
  30. package/dist/cjs/prompt/templates/prompt-suggestions.js +1 -1
  31. package/dist/cjs/prompt-box/prompt-box.spec.js +1 -1
  32. package/dist/cjs/prompt-box/templates/prompt-box-auto-expanded.js +1 -1
  33. package/dist/cjs/prompt-box/templates/prompt-box-auto.js +1 -1
  34. package/dist/cjs/prompt-box/templates/prompt-box-multi.js +1 -1
  35. package/dist/cjs/prompt-box/templates/prompt-box-single.js +1 -1
  36. package/dist/cjs/prompt-box/templates/prompt-box-stop-response.js +1 -1
  37. package/dist/cjs/rating/demos/rating.js +1 -1
  38. package/dist/cjs/rating/rating-item.js +1 -1
  39. package/dist/cjs/rating/rating.spec.js +1 -1
  40. package/dist/cjs/rating/templates/rating-disabled.js +1 -1
  41. package/dist/cjs/rating/templates/rating-normal.js +1 -1
  42. package/dist/cjs/rating/templates/rating-readonly.js +1 -1
  43. package/dist/cjs/rating/templates/rating-with-label.js +1 -1
  44. package/dist/cjs/smart-box/smart-box-send-button.js +1 -1
  45. package/dist/cjs/smart-box/templates/smart-box-disabled-send.js +1 -1
  46. package/dist/cjs/smart-box/templates/smart-box-normal.js +1 -1
  47. package/dist/cjs/smart-box/templates/smart-box-opened-focused.js +1 -1
  48. package/dist/cjs/smart-box/templates/smart-box-processing.js +1 -1
  49. package/dist/cjs/speech-to-text-button/demos/speech-to-text-button.js +1 -1
  50. package/dist/cjs/speech-to-text-button/speech-to-text-button.spec.js +1 -1
  51. package/dist/cjs/speech-to-text-button/templates/speech-to-text-button-listening.js +1 -1
  52. package/dist/cjs/speech-to-text-button/templates/speech-to-text-button-normal.js +1 -1
  53. package/dist/cjs/spreadsheet/demos/spreadsheet.js +1 -1
  54. package/dist/cjs/spreadsheet/spreadsheet-header.js +1 -1
  55. package/dist/cjs/spreadsheet/spreadsheet-sheets-bar.js +1 -1
  56. package/dist/cjs/spreadsheet/spreadsheet-view.js +1 -1
  57. package/dist/cjs/spreadsheet/templates/spreadsheet-formula-open.js +1 -1
  58. package/dist/cjs/spreadsheet/templates/spreadsheet-normal.js +1 -1
  59. package/dist/esm/chat/chat-message.mjs +1 -1
  60. package/dist/esm/chat/chat.spec.mjs +1 -1
  61. package/dist/esm/chat/demos/chat.mjs +1 -1
  62. package/dist/esm/chat/templates/chat-empty.mjs +1 -1
  63. package/dist/esm/chat/templates/chat-expandable.mjs +1 -1
  64. package/dist/esm/chat/templates/chat-failed.mjs +1 -1
  65. package/dist/esm/chat/templates/chat-message-skeleton.mjs +1 -1
  66. package/dist/esm/chat/templates/chat-message-toolbar.mjs +1 -1
  67. package/dist/esm/chat/templates/chat-normal.mjs +1 -1
  68. package/dist/esm/chat/templates/chat-pinned.mjs +1 -1
  69. package/dist/esm/chat/templates/chat-stop-response.mjs +1 -1
  70. package/dist/esm/chat/templates/chat-textarea-file.mjs +1 -1
  71. package/dist/esm/chat/templates/chat-typing.mjs +1 -1
  72. package/dist/esm/chat/templates/chat-upload.mjs +1 -1
  73. package/dist/esm/editor/demos/editor.mjs +1 -1
  74. package/dist/esm/editor/templates/editor-normal.mjs +1 -1
  75. package/dist/esm/editor/templates/editor-resizable.mjs +1 -1
  76. package/dist/esm/editor/templates/editor-responsive-toolbar.mjs +1 -1
  77. package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
  78. package/dist/esm/imageeditor/templates/imageeditor-resize.mjs +1 -1
  79. package/dist/esm/index.mjs +8 -8
  80. package/dist/esm/prompt/demos/prompt.mjs +1 -1
  81. package/dist/esm/prompt/templates/prompt-inline-input-only.mjs +1 -1
  82. package/dist/esm/prompt/templates/prompt-inline.mjs +1 -1
  83. package/dist/esm/prompt/templates/prompt-more-actions.mjs +1 -1
  84. package/dist/esm/prompt/templates/prompt-normal.mjs +1 -1
  85. package/dist/esm/prompt/templates/prompt-output.mjs +1 -1
  86. package/dist/esm/prompt/templates/prompt-popup.mjs +1 -1
  87. package/dist/esm/prompt/templates/prompt-settings.mjs +1 -1
  88. package/dist/esm/prompt/templates/prompt-suggestions.mjs +1 -1
  89. package/dist/esm/prompt-box/prompt-box.spec.mjs +1 -1
  90. package/dist/esm/prompt-box/templates/prompt-box-auto-expanded.mjs +1 -1
  91. package/dist/esm/prompt-box/templates/prompt-box-auto.mjs +1 -1
  92. package/dist/esm/prompt-box/templates/prompt-box-multi.mjs +1 -1
  93. package/dist/esm/prompt-box/templates/prompt-box-single.mjs +1 -1
  94. package/dist/esm/prompt-box/templates/prompt-box-stop-response.mjs +1 -1
  95. package/dist/esm/rating/demos/rating.mjs +1 -1
  96. package/dist/esm/rating/rating-item.mjs +1 -1
  97. package/dist/esm/rating/rating.spec.mjs +1 -1
  98. package/dist/esm/rating/templates/rating-disabled.mjs +1 -1
  99. package/dist/esm/rating/templates/rating-normal.mjs +1 -1
  100. package/dist/esm/rating/templates/rating-readonly.mjs +1 -1
  101. package/dist/esm/rating/templates/rating-with-label.mjs +1 -1
  102. package/dist/esm/smart-box/smart-box-send-button.mjs +1 -1
  103. package/dist/esm/smart-box/templates/smart-box-disabled-send.mjs +1 -1
  104. package/dist/esm/smart-box/templates/smart-box-normal.mjs +1 -1
  105. package/dist/esm/smart-box/templates/smart-box-opened-focused.mjs +1 -1
  106. package/dist/esm/smart-box/templates/smart-box-processing.mjs +1 -1
  107. package/dist/esm/speech-to-text-button/demos/speech-to-text-button.mjs +1 -1
  108. package/dist/esm/speech-to-text-button/speech-to-text-button.spec.mjs +1 -1
  109. package/dist/esm/speech-to-text-button/templates/speech-to-text-button-listening.mjs +1 -1
  110. package/dist/esm/speech-to-text-button/templates/speech-to-text-button-normal.mjs +1 -1
  111. package/dist/esm/spreadsheet/demos/spreadsheet.mjs +1 -1
  112. package/dist/esm/spreadsheet/spreadsheet-header.mjs +1 -1
  113. package/dist/esm/spreadsheet/spreadsheet-sheets-bar.mjs +1 -1
  114. package/dist/esm/spreadsheet/spreadsheet-view.mjs +1 -1
  115. package/dist/esm/spreadsheet/templates/spreadsheet-formula-open.mjs +1 -1
  116. package/dist/esm/spreadsheet/templates/spreadsheet-normal.mjs +1 -1
  117. package/package.json +3 -3
  118. package/src/_preview/tests/preview-components.tsx +2 -2
  119. package/src/chat/chat-message.tsx +3 -3
  120. package/src/chat/chat.spec.tsx +2 -2
  121. package/src/chat/tests/chat-files-layout.tsx +8 -8
  122. package/src/chat/tests/chat-files-pin.tsx +2 -2
  123. package/src/chat/tests/chat-files.tsx +6 -6
  124. package/src/chat/tests/chat-message-toolbar.tsx +2 -2
  125. package/src/colorpicker/tests/colorpicker-size-rounded.tsx +34 -0
  126. package/src/drawer/tests/drawer-item-states.tsx +3 -3
  127. package/src/editor/demos/editor.tsx +1 -1
  128. package/src/editor/templates/editor-normal.tsx +1 -1
  129. package/src/editor/templates/editor-resizable.tsx +1 -1
  130. package/src/editor/templates/editor-responsive-toolbar.tsx +1 -1
  131. package/src/editor/tests/editor-table-wizard.tsx +1 -1
  132. package/src/editor/tests/editor.tsx +2 -2
  133. package/src/grid/tests/grid-assistant-window.tsx +4 -4
  134. package/src/grid/tests/grid-row-pinning-adaptive.tsx +1 -1
  135. package/src/grid/tests/grid-semantic-search-popup.tsx +10 -10
  136. package/src/grid/tests/grid-toolbar.tsx +2 -2
  137. package/src/imageeditor/templates/imageeditor-crop.tsx +1 -1
  138. package/src/imageeditor/templates/imageeditor-resize.tsx +1 -1
  139. package/src/prompt/demos/prompt.tsx +4 -4
  140. package/src/prompt/templates/prompt-inline.tsx +1 -1
  141. package/src/prompt/templates/prompt-output.tsx +4 -4
  142. package/src/prompt/tests/prompt-inline-response-generation.tsx +2 -2
  143. package/src/prompt-box/prompt-box.spec.tsx +1 -1
  144. package/src/prompt-box/tests/prompt-box-affixes.tsx +8 -8
  145. package/src/prompt-box/tests/prompt-box-files.tsx +2 -2
  146. package/src/rating/rating-item.tsx +20 -5
  147. package/src/smart-box/smart-box-send-button.tsx +1 -1
  148. package/src/smart-box/templates/smart-box-disabled-send.tsx +1 -1
  149. package/src/smart-box/templates/smart-box-normal.tsx +1 -1
  150. package/src/smart-box/templates/smart-box-opened-focused.tsx +1 -1
  151. package/src/smart-box/templates/smart-box-processing.tsx +1 -1
  152. package/src/speech-to-text-button/speech-to-text-button.spec.tsx +2 -2
  153. package/src/spreadsheet/spreadsheet-header.tsx +1 -1
  154. package/src/spreadsheet/spreadsheet-sheets-bar.tsx +8 -8
  155. package/src/spreadsheet/tests/spreadsheet-tools.tsx +1 -1
  156. package/src/toolbar/tests/toolbar-fill-modes.tsx +2 -2
  157. package/dist/types/loader/tests/loader-container-overlay.d.ts +0 -2
  158. package/src/colorpicker/tests/colorpicker-size.tsx +0 -28
  159. package/src/loader/tests/loader-container-overlay.tsx +0 -30
  160. /package/dist/types/colorpicker/tests/{colorpicker-size.d.ts → colorpicker-size-rounded.d.ts} +0 -0
@@ -1 +1 @@
1
- var Oo=Object.create;var Ae=Object.defineProperty;var To=Object.getOwnPropertyDescriptor;var Eo=Object.getOwnPropertyNames;var Bo=Object.getPrototypeOf,Ko=Object.prototype.hasOwnProperty;var Ro=(e,t)=>{for(var o in t)Ae(e,o,{get:t[o],enumerable:!0})},Tt=(e,t,o,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Eo(t))!Ko.call(e,i)&&i!==o&&Ae(e,i,{get:()=>t[i],enumerable:!(s=To(t,i))||s.enumerable});return e};var Et=(e,t,o)=>(o=e!=null?Oo(Bo(e)):{},Tt(t||!e||!e.__esModule?Ae(o,"default",{value:e,enumerable:!0}):o,e)),Po=e=>Tt(Ae({},"__esModule",{value:!0}),e);var Ci={};Ro(Ci,{SmartBoxDisabledSend:()=>ki});module.exports=Po(Ci);var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...t):typeof t=="object"?Object.keys(t).map((o,s)=>t[s]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var N=(e,t)=>n({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),T=(e,t)=>{let{valid:o,invalid:s,hover:i,focus:c,checked:l,active:m,selected:x,disabled:h,indeterminate:g,loading:f,empty:k,readonly:C,highlighted:q,...D}=t;return n({"k-valid":o,"k-invalid":s,"k-hover":i,"k-focus":c,"k-checked":l,"k-active":m,"k-selected":x,"k-disabled":h,"k-indeterminate":g&&!l,"k-loading":f,"k-empty":k,"k-readonly":C,"k-highlighted":q},Object.keys(D).reduce((_,K)=>(K.startsWith("k-")?_[K]=D[K]:_[`k-${K}`]=D[K],_),{}))};function Bt(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(s=>[`k-${s}`,!0]))}var r={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},d={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},L={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},p={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},a={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 Ve={};function M(e){return Ve[e]=(Ve[e]||0)+1,`k-${e}-${Ve[e]}`}var fe="input",Oe=fe;var Kt=require("react/jsx-runtime"),Te="k-input",_o=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Ho={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline]},wo={},E=e=>{let{hover:t,focus:o,disabled:s,invalid:i,valid:c,loading:l,readonly:m,size:x,rounded:h,fillMode:g,...f}=e;return(0,Kt.jsx)("span",{...f,className:n(e.className,Te,N(Te,{size:x,rounded:h,fillMode:g}),T(Te,{hover:t,focus:o,disabled:s,invalid:i,valid:c,loading:l,readonly:m}))})};E.states=_o;E.options=Ho;E.className=Te;E.defaultOptions=wo;E.moduleName=fe;E.folderName=Oe;var Rt=require("react/jsx-runtime"),Ee="k-picker",zo=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Do={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline]},Uo={},te=e=>{let{hover:t,focus:o,disabled:s,invalid:i,valid:c,loading:l,readonly:m,size:x,rounded:h,fillMode:g,...f}=e;return(0,Rt.jsx)("span",{...f,className:n(e.className,Ee,N(Ee,{size:x,rounded:h,fillMode:g}),T(Ee,{hover:t,focus:o,disabled:s,invalid:i,valid:c,loading:l,readonly:m})),children:e.children})};te.states=zo;te.options=Do;te.className=Ee;te.defaultOptions=Uo;te.moduleName=fe;te.folderName=Oe;var be=require("react/jsx-runtime"),$e="k-font-icon",Go=[],Fo={size:[r.undefined,r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info]},Vo={},xe=e=>{let{size:t,themeColor:o,icon:s,rotate:i,flip:c,...l}=e;return s?(0,be.jsx)("span",{...l,className:n(e.className,$e,N($e,{size:t}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":c==="h"||c==="both","k-flip-v":c==="v"||c==="both"}),"aria-hidden":"true"}):(0,be.jsx)(be.Fragment,{})};xe.states=Go;xe.options=Fo;xe.className=$e;xe.defaultOptions=Vo;var Pt=xe;var J=require("react/jsx-runtime"),Xe="k-svg-icon",$o=[],Xo={size:[r.undefined,r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info]},_t={viewBox:"0 0 24 24"},he=e=>{let{size:t,themeColor:o,rotate:s,flip:i,viewBox:c=_t.viewBox,icon:l,...m}=e;if(!l)return(0,J.jsx)(J.Fragment,{});if(l==="none")return(0,J.jsx)("span",{...m,className:n(e.className,Xe,N("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof l=="object"&&l.name&&l.name;return(0,J.jsx)("span",{...m,className:n(e.className,Xe,N("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true",children:(0,J.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof l=="object"?l.viewBox:c,dangerouslySetInnerHTML:typeof l=="object"?{__html:l.content}:void 0,children:l?void 0:e.children})})};he.states=$o;he.options=Xo;he.className=Xe;he.defaultOptions=_t;var We=he;var qe=Et(require("@progress/kendo-svg-icons"));var Ht="icon",wt="icons";var Ut=require("react");var zt=require("react"),Dt=(0,zt.createContext)({iconsType:"svg"});var G=require("react/jsx-runtime"),Be="k-icon",Wo=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),qo=[],Jo={size:[r.undefined,r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info]},Je={viewBox:"0 0 24 24",type:"svg"},u=e=>{let{iconsType:t}=(0,Ut.useContext)(Dt),{size:o,themeColor:s,icon:i,type:c=t||Je.type,rotate:l,flip:m,viewBox:x=Je.viewBox,...h}=e;if(!i)return(0,G.jsx)(G.Fragment,{});if((t||c)==="svg"){if(i==="none")return(0,G.jsx)(We,{...h,className:n(e.className,Be),icon:i,size:o});let f=qe[i]?i:Wo(`${i}-icon`);return qe[f]?(0,G.jsx)(We,{...h,className:n(e.className,Be),icon:qe[f],size:o,themeColor:s,rotate:l,flip:m,viewBox:x}):(0,G.jsx)(G.Fragment,{})}return(0,G.jsx)(Pt,{...h,className:n(e.className,Be),icon:i,size:o,themeColor:s,rotate:l,flip:m})};u.states=qo;u.options=Jo;u.defaultOptions=Je;u.className=Be;u.moduleName=Ht;u.folderName=wt;u.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 oe=require("react/jsx-runtime"),Gt="k-clear-value",Qo=[a.disabled,a.loading,a.readonly],Yo={},Le=e=>{let{disabled:t,loading:o,readonly:s,value:i}=e;return t||s||o||!i?(0,oe.jsx)(oe.Fragment,{}):(0,oe.jsx)("span",{className:n(e.className,Gt),children:(0,oe.jsx)(u,{icon:"x"})})};Le.states=Qo;Le.options=Yo;Le.className=Gt;var Ft=require("react/jsx-runtime"),Qe="k-input-inner",Zo=[],jo={},Ke={type:"text",autocomplete:"off",value:"",placeholder:""},Q=e=>{let{value:t=Ke.value,type:o=Ke.type,placeholder:s=Ke.placeholder,autocomplete:i=Ke.autocomplete,disabled:c,readOnly:l,...m}=e;return(0,Ft.jsx)("input",{...m,type:o,className:n(e.className,Qe,N(Qe,e)),placeholder:s,autoComplete:i,defaultValue:t,disabled:c||void 0,readOnly:l||void 0})};Q.states=Zo;Q.options=jo;Q.className=Qe;var Ne=require("react/jsx-runtime"),Ye="k-input-inner",en=[],tn={},Ze=e=>{let{value:t,placeholder:o,showValue:s,valueIcon:i,valueIconName:c,...l}=e;return(0,Ne.jsxs)("span",{...l,className:n(e.className,Ye,N(Ye,e)),children:[i,!i&&c&&(0,Ne.jsx)(u,{className:"k-input-value-icon",icon:c}),s&&!t&&o,s&&t&&(0,Ne.jsx)("span",{className:"k-input-value-text",children:t})]})};Ze.states=en;Ze.options=tn;Ze.className=Ye;var $t=require("react/jsx-runtime"),je="k-input-inner",on=[],nn={},Vt={value:"",placeholder:""},et=e=>{let{value:t=Vt.value,placeholder:o=Vt.placeholder,rows:s,disabled:i,...c}=e;return(0,$t.jsx)("textarea",{...c,className:n(e.className,je,N(je,e)),placeholder:o,rows:s,defaultValue:t,disabled:i||void 0})};et.states=on;et.options=nn;et.className=je;var ge=require("react/jsx-runtime"),Xt="k-input-loading-icon",sn=[a.disabled,a.loading],Re=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,ge.jsx)(ge.Fragment,{}):(0,ge.jsx)("span",{className:n(e.className,Xt,"k-icon k-i-loading")})};Re.states=sn;Re.className=Xt;var Ie=require("react/jsx-runtime"),Wt="k-input-validation-icon",an=[a.valid,a.invalid,a.disabled,a.loading],rn={},ke=e=>{let{valid:t,invalid:o,disabled:s,loading:i}=e,c=o?"warning-circle":"check-circle";return s||i||!!!(t||o)?(0,Ie.jsx)(Ie.Fragment,{}):(0,Ie.jsx)(u,{className:n(Wt),icon:c})};ke.states=an;ke.options=rn;ke.className=Wt;var Ce=require("react/jsx-runtime"),ln="k-input-prefix",cn={direction:"horizontal"},Pe=e=>{let{direction:t=cn.direction,...o}=e;return e.children?(0,Ce.jsx)("span",{...o,className:n(ln,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Ce.jsx)(Ce.Fragment,{})};var ve=require("react/jsx-runtime"),pn="k-input-suffix",dn={direction:"horizontal"},_e=e=>{let{direction:t=dn.direction,...o}=e;return e.children?(0,ve.jsx)("span",{...o,className:n(pn,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,ve.jsx)(ve.Fragment,{})};var mn=require("react/jsx-runtime");var un=require("react/jsx-runtime");var Jt=require("react/jsx-runtime"),qt="k-input-separator",fn={direction:"vertical"},ne=e=>{let{direction:t=fn.direction,...o}=e;return(0,Jt.jsx)("span",{...o,className:n(qt,e.className,{[`${qt}-${t}`]:t})})};var tt="button",Qt=tt;var H=require("react/jsx-runtime"),Se="k-button",bn=["icon-button"],xn=[a.hover,a.focus,a.active,a.selected,a.disabled,a.generating],hn={size:[r.undefined,r.xsmall,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline,L.clear,L.link],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.inverse]},ot={showArrow:!1,arrowIconName:"chevron-down"},b=e=>{let{as:t="button",size:o,rounded:s,fillMode:i,themeColor:c,showArrow:l=ot.showArrow,arrowIconName:m=ot.arrowIconName,variant:x,hover:h,focus:g,active:f,selected:k,disabled:C,togglable:q,ariaDisabled:D,icon:_,text:K,iconClassName:ye,className:Fe,...Mo}=e,yo=_!==void 0,Ao=e.children!==void 0;return(0,H.jsxs)(t,{className:n(Fe,Se,Bt(Se,x),N(Se,{size:o,rounded:s,fillMode:i,themeColor:c}),T(Se,{hover:h,focus:g,active:f,disabled:C||D,selected:k}),{"k-icon-button":!K&&!Ao&&yo}),...Mo,"aria-pressed":q?k?"true":"false":void 0,"aria-disabled":D?"true":void 0,disabled:C||void 0,children:[_&&(0,H.jsx)(u,{className:n(ye,"k-button-icon"),icon:_}),K?(0,H.jsxs)(H.Fragment,{children:[K&&(0,H.jsx)("span",{className:"k-button-text",children:K}),e.children]}):e.children&&(0,H.jsx)("span",{className:"k-button-text",children:e.children}),l&&(0,H.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,H.jsx)(u,{icon:m})})]})};b.states=xn;b.options=hn;b.variants=bn;b.className=Se;b.defaultOptions=ot;b.moduleName=tt;b.folderName=Qt;b.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 Yt=require("react/jsx-runtime"),He=e=>(0,Yt.jsx)(b,{children:"Button",...e});var I=require("react/jsx-runtime"),Ln=E.states,Nn=E.defaultOptions,gn=E.options,In=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],kn=[],ie=e=>{let{modifiers:t,valid:o,invalid:s,loading:i,disabled:c,readonly:l,...m}=e,x=t==null?void 0:t.prefix,h=t==null?void 0:t.suffix,g=t==null?void 0:t["clear-button"],f=t==null?void 0:t["validation-icon"],k=t==null?void 0:t.separators;return(0,I.jsxs)(E,{...m,valid:o,invalid:s,loading:i,disabled:c,readonly:l,style:{width:300},children:[x&&(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(Pe,{children:(0,I.jsx)(u,{icon:"lock"})}),k&&(0,I.jsx)(ne,{})]}),(0,I.jsx)(Q,{placeholder:"Placeholder",value:"Value"}),f&&(0,I.jsx)(ke,{valid:o,invalid:s,loading:i,disabled:c}),(0,I.jsx)(Re,{loading:i,disabled:c}),g&&(0,I.jsx)(Le,{loading:i,disabled:c,readonly:l,value:"Value"}),h&&(0,I.jsxs)(I.Fragment,{children:[k&&(0,I.jsx)(ne,{}),(0,I.jsx)(_e,{children:(0,I.jsx)(He,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};ie.options=gn;ie.states=Ln;ie.variants=kn;ie.defaultOptions=Nn;ie.modifiers=In;ie.className=E.className;var nt="popup",Zt=nt;var it=require("react/jsx-runtime"),jt="k-animation-container",Cn=[],vn={},eo={positionMode:"absolute"},W=e=>{let{positionMode:t=eo.positionMode,animationStyle:o,offset:s,...i}=e;return(0,it.jsx)("div",{...i,style:{...s,...e.style},className:n(e.className,jt,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,it.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};W.states=Cn;W.options=vn;W.className=jt;W.defaultOptions=eo;W.moduleName=nt;W.folderName=Zt;var st="popup",to=st;var at=require("react/jsx-runtime"),oo="k-popup",Sn=[],Mn={},no={positionMode:"absolute"},F=e=>{let{offset:t,positionMode:o=no.positionMode,animationStyle:s,containerClassName:i,containerRole:c,containerAriaLabel:l,...m}=e;return(0,at.jsx)(W,{positionMode:o,offset:t,animationStyle:s,className:i,role:c,"aria-label":l,children:(0,at.jsx)("div",{...m,className:n(e.className,oo),children:e.children})})};F.states=Sn;F.options=Mn;F.className=oo;F.defaultOptions=no;F.moduleName=st;F.folderName=to;F.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 rt="smart-box",io=rt;var v=require("react/jsx-runtime"),so="k-smart-box",yn=[a.hover,a.focus,a.disabled],An={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline]},ao={separators:!0},R=e=>{let{size:t,rounded:o,fillMode:s,separators:i=ao.separators,prefix:c,suffix:l,value:m,placeholder:x,hover:h,focus:g,disabled:f,popup:k,opened:C,processing:q,inputAriaLabel:D,inputAriaControls:_,inputAriaActiveDescendant:K,inputAriaAutocomplete:ye,...Fe}=e;return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)(E,{...Fe,size:t,rounded:o,fillMode:s,hover:h,focus:g,disabled:f,loading:q,className:n(e.className,so),children:[c&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(Pe,{children:c}),i&&(0,v.jsx)(ne,{})]}),(0,v.jsx)(Q,{placeholder:x,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":C?"true":"false","aria-autocomplete":ye,"aria-controls":C?_:void 0,"aria-activedescendant":C?K:void 0,"aria-label":D}),l&&(0,v.jsxs)(v.Fragment,{children:[i&&(0,v.jsx)(ne,{}),(0,v.jsx)(_e,{children:l})]})]}),C&&k&&(0,v.jsx)(F,{className:"k-smart-box-popup",children:k})]})};R.states=yn;R.options=An;R.className=so;R.defaultOptions=ao;R.moduleName=rt;R.folderName=io;R.ariaSpec={selector:".k-smart-box",rules:[{selector:".k-smart-box .k-input-inner",attribute:"role=combobox",usage:"Announces the combobox role for the SmartBox input."},{selector:".k-smart-box .k-input-inner",attribute:"aria-label or aria-labelledby",usage:'Provides an accessible label for the SmartBox (e.g., "AI-powered search").'},{selector:".k-smart-box .k-input-inner",attribute:"aria-expanded",usage:"Indicates whether the suggestion popup is currently visible."},{selector:".k-smart-box .k-input-inner",attribute:"aria-haspopup=listbox",usage:"Indicates that the SmartBox has a popup listbox with suggestions."},{selector:".k-smart-box .k-input-inner",attribute:"aria-controls (when present)",usage:"References the ID of the popup listbox element when the popup is open."},{selector:".k-smart-box .k-input-inner",attribute:"aria-autocomplete (when present)",usage:"Indicates the autocomplete behavior of the input field."},{selector:".k-smart-box .k-input-inner",attribute:"aria-activedescendant (when present)",usage:"When the popup is open and keyboard navigation is active, references the ID of the currently focused list item."},{selector:".k-smart-box .k-input-prefix .k-icon",attribute:"aria-hidden=true",usage:"Decorative icons in the prefix area are hidden from screen readers."},{selector:".k-smart-box .k-input-suffix .k-button",attribute:"aria-label",usage:'Suffix buttons must have accessible labels describing their function (e.g., "Start voice input", "Send prompt").'},{selector:".k-smart-box .k-smart-box-send",attribute:"aria-label",usage:'The send button must be labelled to indicate its current action (e.g., "Send" or "Stop processing").'},{selector:".k-smart-box .k-smart-box-send.k-disabled",attribute:"disabled or aria-disabled=true",usage:"Indicates the button is disabled when there is no input or processing is not active."},{selector:".k-smart-box .k-smart-box-send.k-processing",attribute:"aria-pressed=true",usage:"Indicates that processing is in progress. The button changes function to stop processing."}]};var ro=require("react/jsx-runtime"),Y=e=>(0,ro.jsx)(b,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var co=require("react/jsx-runtime"),lo=e=>(0,co.jsx)(b,{icon:"folder",children:"Button",...e});var we=require("react/jsx-runtime"),On=b.options,Tn=b.states,En={...b.defaultOptions,variant:"text"},Bn=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Kn=[],se=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,we.jsx)(Y,{...o,icon:"star"});case"icon-and-text":return(0,we.jsx)(lo,{...o,icon:"star",children:"Button"});default:return(0,we.jsx)(He,{...o,children:"Button"})}};se.options=On;se.states=Tn;se.variants=Bn;se.defaultOptions=En;se.modifiers=Kn;se.className=b.className;var uo=require("react/jsx-runtime"),po="k-smart-box-send",mo={processing:!1},V=e=>{let{processing:t=mo.processing,...o}=e;return(0,uo.jsx)(b,{...o,rounded:"full",size:"small",icon:t?"stop-sm":"arrow-up-outline",active:t,"aria-pressed":t?"true":void 0,"aria-label":t?"Stop processing":"Send",className:n(e.className,po,{"k-processing":t})})};V.states=b.states;V.options=b.options;V.className=po;V.defaultOptions=mo;var lt=require("react/jsx-runtime");var ze=Et(require("react"));var ct=require("react/jsx-runtime"),Rn="k-list-group-sticky-header",pt=e=>(0,ct.jsx)("div",{className:n(Rn,e.className),children:(0,ct.jsx)("div",{className:"k-list-header-text",children:e.children})});var fo=require("react/jsx-runtime"),Pn="k-no-data",dt=e=>{let{live:t,...o}=e;return(0,fo.jsx)("span",{...o,className:n(Pn,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Z="list",ae=Z;var re=require("react/jsx-runtime"),mt="k-list",_n=[],Hn={size:[r.undefined,r.small,r.medium,r.large]},wn={},y=e=>{var C;let{size:t,virtualization:o,children:s,header:i,optionLabel:c,customValue:l,noData:m,screenReaders:x,...h}=e,f=ze.default.Children.toArray(s)[0],k=(C=f==null?void 0:f.props)!=null&&C.children?ze.default.Children.count(f.props.children):ze.default.Children.count(s);return(0,re.jsxs)("div",{...h,className:n(e.className,mt,N(mt,{size:t}),{"k-virtual-list":o}),children:[c,l,i&&(0,re.jsx)(pt,{children:i}),s||(m!==void 0?m:(0,re.jsx)(dt,{live:!0,children:"No data found."})),x&&s&&(0,re.jsxs)(dt,{className:"k-sr-only",live:!0,children:[k," items found."]})]})};y.states=_n;y.options=Hn;y.className=mt;y.defaultOptions=wn;y.moduleName=Z;y.folderName=ae;y.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var xo=require("react/jsx-runtime"),bo="k-list-container",zn=[],Dn={},Un={},le=e=>{let{...t}=e;return(0,xo.jsx)("div",{...t,className:n(e.className,bo),children:e.children})};le.states=zn;le.options=Dn;le.className=bo;le.defaultOptions=Un;le.moduleName=Z;le.folderName=ae;var j="checkbox",ce=j;var ut=require("react/jsx-runtime"),De="k-checkbox",Gn=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.checked,a.indeterminate],Fn={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full]},Vn={},P=e=>{let{id:t,checked:o,indeterminate:s,hover:i,focus:c,disabled:l,invalid:m,valid:x,required:h,size:g,rounded:f,wrapperRole:k,...C}=e;return(0,ut.jsx)("span",{className:"k-checkbox-wrap",role:k,children:(0,ut.jsx)("input",{...C,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:n(e.className,De,N(De,{size:g,rounded:f}),T(De,{hover:i,focus:c,disabled:l,invalid:m,valid:x,indeterminate:s,checked:o}))})})};P.states=Gn;P.options=Fn;P.className=De;P.defaultOptions=Vn;P.moduleName=j;P.folderName=ce;P.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 w=P;var No=require("react/jsx-runtime"),ho="k-checkbox-list",$n=[],Xn={},Lo={layout:"vertical"},A=e=>{let{layout:t=Lo.layout,...o}=e;return(0,No.jsx)("ul",{...o,className:n(e.className,ho,{[`k-list-${t}`]:t}),children:e.children})};A.states=$n;A.options=Xn;A.className=ho;A.defaultOptions=Lo;A.moduleName=j;A.folderName=ce;var Io=require("react/jsx-runtime"),go="k-checkbox-list-item",Wn=[],qn={},Jn={},O=e=>{let{...t}=e;return(0,Io.jsx)("li",{...t,className:n(e.className,go),children:e.children})};O.states=Wn;O.options=qn;O.className=go;O.defaultOptions=Jn;O.moduleName=j;O.folderName=ce;var ee=require("react/jsx-runtime"),$=({children:e="Label",id:t="cb-label-after",...o})=>(0,ee.jsxs)(ee.Fragment,{children:[(0,ee.jsx)(w,{id:t,...o}),(0,ee.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var ft=require("react/jsx-runtime");var bt=require("react/jsx-runtime");var xt=require("react/jsx-runtime");var Qn=require("react/jsx-runtime");var Yn=require("react/jsx-runtime");var Zn=require("react/jsx-runtime");var S=require("react/jsx-runtime"),jn=A.options,ei=A.states,ti={...A.defaultOptions,variant:"vertical"},oi=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],ni=[],pe=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,S.jsxs)(A,{layout:"horizontal",...o,children:[(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),defaultChecked:!0,children:"Label"})}),(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),children:"Label"})}),(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),children:"Label"})})]}):(0,S.jsxs)(A,{...o,children:[(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),defaultChecked:!0,children:"Label"})}),(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),children:"Label"})}),(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),children:"Label"})})]})};pe.options=jn;pe.states=ei;pe.variants=oi;pe.defaultOptions=ti;pe.modifiers=ni;pe.className=A.className;var ko=require("react/jsx-runtime"),ii=w.options,si=w.states,ai=w.defaultOptions,ri=[],li=[],de=e=>(0,ko.jsx)($,{id:M("checkbox"),...e,defaultChecked:!0,children:"Label"});de.options=ii;de.states=si;de.variants=ri;de.defaultOptions=ai;de.modifiers=li;de.className=w.className;var U=require("react/jsx-runtime"),ht="k-list-item",ci=[a.hover,a.focus,a.selected,a.disabled],pi={},di={},B=e=>{let{text:t,groupLabel:o,group:s,iconName:i,iconClassName:c,showCheckbox:l,checked:m,hover:x,focus:h,selected:g,disabled:f,actions:k,description:C,id:q,...D}=e,_=t||e.children;return(0,U.jsxs)("li",{...D,id:q,role:s?"presentation":"option",tabIndex:s?void 0:h?0:-1,"aria-selected":!s&&g?"true":s?void 0:"false","aria-disabled":!s&&f?"true":void 0,className:n(e.className,s?"k-list-group-item":ht,T(ht,{hover:x,focus:h,disabled:f,selected:g})),children:[l&&(0,U.jsx)(P,{checked:m}),i&&(0,U.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,U.jsx)(u,{icon:i,className:n("k-list-item-icon",c)})}),(0,U.jsx)("span",{className:"k-list-item-text",children:_}),k&&(0,U.jsx)("div",{className:"k-list-item-actions",children:k}),C&&(0,U.jsx)("span",{className:"k-list-item-description",children:C}),o&&o!==""&&(0,U.jsx)("div",{className:"k-list-item-group-label",children:o})]})};B.states=ci;B.options=pi;B.className=ht;B.defaultOptions=di;B.moduleName=Z;B.folderName=ae;B.ariaSpec={selector:".k-list-item",rules:[{selector:".k-list-item",attribute:"role=option",usage:"Each list item is an option in the listbox."},{selector:".k-list-item",attribute:"id",usage:"ID for aria-activedescendant reference."},{selector:".k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state of the option."},{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-item-icon",attribute:"aria-hidden=true",usage:"Decorative icons are hidden from assistive technology."}]};var Co=require("react/jsx-runtime"),mi="k-list-ul",Me=e=>{let{children:t,role:o,id:s,...i}=e;return(0,Co.jsx)("ul",{...i,id:s,role:o,className:n(mi,e.className),children:t})};Me.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 me=require("react/jsx-runtime"),ui="k-list-content",X=e=>{let{virtualization:t,grouping:o,"aria-label":s,"aria-labelledby":i,listboxId:c,...l}=e;return(0,me.jsxs)("div",{...l,className:n(ui,e.className),role:o?"listbox":void 0,id:o?c:void 0,"aria-label":o?s:void 0,"aria-labelledby":o?i:void 0,children:[o?e.children:(0,me.jsx)(Me,{role:"listbox",id:c,"aria-label":s,"aria-labelledby":i,children:e.children}),t&&(0,me.jsx)("div",{className:"k-height-container",children:(0,me.jsx)("div",{})})]})};X.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 Lt=require("react/jsx-runtime");var ue=require("react/jsx-runtime"),fi="k-list-group-item",Nt=e=>{let{groupIconName:t,...o}=e;return(0,ue.jsxs)("li",{...o,role:"presentation",className:n(fi,e.className),children:[t&&(0,ue.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,ue.jsx)(u,{icon:t,className:"k-list-item-icon"})}),(0,ue.jsx)("span",{className:"k-list-item-text",children:e.children})]})};Nt.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 vo=require("react/jsx-runtime"),gt="k-list-optionlabel",bi=[a.hover,a.focus,a.selected,a.disabled],xi={},hi={},Ue=e=>{let{text:t,hover:o,focus:s,selected:i,disabled:c,...l}=e;return(0,vo.jsx)("div",{...l,className:n(gt,T(gt,{hover:o,focus:s,selected:i,disabled:c})),children:t})};Ue.states=bi;Ue.options=xi;Ue.className=gt;Ue.defaultOptions=hi;var So=require("react/jsx-runtime"),It="k-list-custom-value",Li=[a.hover,a.focus,a.selected,a.disabled],Ni={},gi={},Ge=e=>{let{text:t,hover:o,focus:s,selected:i,disabled:c,...l}=e;return(0,So.jsx)("div",{...l,className:n(It,T(It,{hover:o,focus:s,selected:i,disabled:c})),children:t})};Ge.states=Li;Ge.options=Ni;Ge.className=It;Ge.defaultOptions=gi;var kt=require("react/jsx-runtime");var Ct=require("react/jsx-runtime");var vt=require("react/jsx-runtime");var St=require("react/jsx-runtime");var Ii=require("react/jsx-runtime");var Mt=require("react/jsx-runtime");var yt=require("react/jsx-runtime");var At=require("react/jsx-runtime");var Ot=require("react/jsx-runtime");var z=require("react/jsx-runtime"),ki=e=>(0,z.jsx)(R,{...e,separators:!1,inputAriaLabel:"AI-powered search",prefix:(0,z.jsx)(z.Fragment,{children:(0,z.jsx)(u,{icon:"sparkles",className:"k-accent-icon","aria-hidden":"true"})}),suffix:(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(Y,{icon:"microphone-outline",fillMode:"clear",rounded:"full",size:"small","aria-label":"Start voice input"}),(0,z.jsx)(V,{disabled:!0})]})});
1
+ var Oo=Object.create;var Ae=Object.defineProperty;var To=Object.getOwnPropertyDescriptor;var Eo=Object.getOwnPropertyNames;var Bo=Object.getPrototypeOf,Ko=Object.prototype.hasOwnProperty;var Ro=(e,t)=>{for(var o in t)Ae(e,o,{get:t[o],enumerable:!0})},Tt=(e,t,o,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Eo(t))!Ko.call(e,i)&&i!==o&&Ae(e,i,{get:()=>t[i],enumerable:!(s=To(t,i))||s.enumerable});return e};var Et=(e,t,o)=>(o=e!=null?Oo(Bo(e)):{},Tt(t||!e||!e.__esModule?Ae(o,"default",{value:e,enumerable:!0}):o,e)),Po=e=>Tt(Ae({},"__esModule",{value:!0}),e);var Ci={};Ro(Ci,{SmartBoxDisabledSend:()=>ki});module.exports=Po(Ci);var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...t):typeof t=="object"?Object.keys(t).map((o,s)=>t[s]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var N=(e,t)=>n({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),T=(e,t)=>{let{valid:o,invalid:s,hover:i,focus:c,checked:l,active:m,selected:x,disabled:h,indeterminate:g,loading:f,empty:k,readonly:C,highlighted:q,...D}=t;return n({"k-valid":o,"k-invalid":s,"k-hover":i,"k-focus":c,"k-checked":l,"k-active":m,"k-selected":x,"k-disabled":h,"k-indeterminate":g&&!l,"k-loading":f,"k-empty":k,"k-readonly":C,"k-highlighted":q},Object.keys(D).reduce((_,K)=>(K.startsWith("k-")?_[K]=D[K]:_[`k-${K}`]=D[K],_),{}))};function Bt(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(s=>[`k-${s}`,!0]))}var r={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},d={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},L={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},p={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},a={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 Ve={};function M(e){return Ve[e]=(Ve[e]||0)+1,`k-${e}-${Ve[e]}`}var fe="input",Oe=fe;var Kt=require("react/jsx-runtime"),Te="k-input",_o=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Ho={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline]},wo={},E=e=>{let{hover:t,focus:o,disabled:s,invalid:i,valid:c,loading:l,readonly:m,size:x,rounded:h,fillMode:g,...f}=e;return(0,Kt.jsx)("span",{...f,className:n(e.className,Te,N(Te,{size:x,rounded:h,fillMode:g}),T(Te,{hover:t,focus:o,disabled:s,invalid:i,valid:c,loading:l,readonly:m}))})};E.states=_o;E.options=Ho;E.className=Te;E.defaultOptions=wo;E.moduleName=fe;E.folderName=Oe;var Rt=require("react/jsx-runtime"),Ee="k-picker",zo=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Do={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline]},Uo={},te=e=>{let{hover:t,focus:o,disabled:s,invalid:i,valid:c,loading:l,readonly:m,size:x,rounded:h,fillMode:g,...f}=e;return(0,Rt.jsx)("span",{...f,className:n(e.className,Ee,N(Ee,{size:x,rounded:h,fillMode:g}),T(Ee,{hover:t,focus:o,disabled:s,invalid:i,valid:c,loading:l,readonly:m})),children:e.children})};te.states=zo;te.options=Do;te.className=Ee;te.defaultOptions=Uo;te.moduleName=fe;te.folderName=Oe;var be=require("react/jsx-runtime"),$e="k-font-icon",Go=[],Fo={size:[r.undefined,r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info]},Vo={},xe=e=>{let{size:t,themeColor:o,icon:s,rotate:i,flip:c,...l}=e;return s?(0,be.jsx)("span",{...l,className:n(e.className,$e,N($e,{size:t}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":c==="h"||c==="both","k-flip-v":c==="v"||c==="both"}),"aria-hidden":"true"}):(0,be.jsx)(be.Fragment,{})};xe.states=Go;xe.options=Fo;xe.className=$e;xe.defaultOptions=Vo;var Pt=xe;var J=require("react/jsx-runtime"),Xe="k-svg-icon",$o=[],Xo={size:[r.undefined,r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info]},_t={viewBox:"0 0 24 24"},he=e=>{let{size:t,themeColor:o,rotate:s,flip:i,viewBox:c=_t.viewBox,icon:l,...m}=e;if(!l)return(0,J.jsx)(J.Fragment,{});if(l==="none")return(0,J.jsx)("span",{...m,className:n(e.className,Xe,N("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof l=="object"&&l.name&&l.name;return(0,J.jsx)("span",{...m,className:n(e.className,Xe,N("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true",children:(0,J.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof l=="object"?l.viewBox:c,dangerouslySetInnerHTML:typeof l=="object"?{__html:l.content}:void 0,children:l?void 0:e.children})})};he.states=$o;he.options=Xo;he.className=Xe;he.defaultOptions=_t;var We=he;var qe=Et(require("@progress/kendo-svg-icons"));var Ht="icon",wt="icons";var Ut=require("react");var zt=require("react"),Dt=(0,zt.createContext)({iconsType:"svg"});var G=require("react/jsx-runtime"),Be="k-icon",Wo=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),qo=[],Jo={size:[r.undefined,r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info]},Je={viewBox:"0 0 24 24",type:"svg"},u=e=>{let{iconsType:t}=(0,Ut.useContext)(Dt),{size:o,themeColor:s,icon:i,type:c=t||Je.type,rotate:l,flip:m,viewBox:x=Je.viewBox,...h}=e;if(!i)return(0,G.jsx)(G.Fragment,{});if((t||c)==="svg"){if(i==="none")return(0,G.jsx)(We,{...h,className:n(e.className,Be),icon:i,size:o});let f=qe[i]?i:Wo(`${i}-icon`);return qe[f]?(0,G.jsx)(We,{...h,className:n(e.className,Be),icon:qe[f],size:o,themeColor:s,rotate:l,flip:m,viewBox:x}):(0,G.jsx)(G.Fragment,{})}return(0,G.jsx)(Pt,{...h,className:n(e.className,Be),icon:i,size:o,themeColor:s,rotate:l,flip:m})};u.states=qo;u.options=Jo;u.defaultOptions=Je;u.className=Be;u.moduleName=Ht;u.folderName=wt;u.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 oe=require("react/jsx-runtime"),Gt="k-clear-value",Qo=[a.disabled,a.loading,a.readonly],Yo={},Le=e=>{let{disabled:t,loading:o,readonly:s,value:i}=e;return t||s||o||!i?(0,oe.jsx)(oe.Fragment,{}):(0,oe.jsx)("span",{className:n(e.className,Gt),children:(0,oe.jsx)(u,{icon:"x"})})};Le.states=Qo;Le.options=Yo;Le.className=Gt;var Ft=require("react/jsx-runtime"),Qe="k-input-inner",Zo=[],jo={},Ke={type:"text",autocomplete:"off",value:"",placeholder:""},Q=e=>{let{value:t=Ke.value,type:o=Ke.type,placeholder:s=Ke.placeholder,autocomplete:i=Ke.autocomplete,disabled:c,readOnly:l,...m}=e;return(0,Ft.jsx)("input",{...m,type:o,className:n(e.className,Qe,N(Qe,e)),placeholder:s,autoComplete:i,defaultValue:t,disabled:c||void 0,readOnly:l||void 0})};Q.states=Zo;Q.options=jo;Q.className=Qe;var Ne=require("react/jsx-runtime"),Ye="k-input-inner",en=[],tn={},Ze=e=>{let{value:t,placeholder:o,showValue:s,valueIcon:i,valueIconName:c,...l}=e;return(0,Ne.jsxs)("span",{...l,className:n(e.className,Ye,N(Ye,e)),children:[i,!i&&c&&(0,Ne.jsx)(u,{className:"k-input-value-icon",icon:c}),s&&!t&&o,s&&t&&(0,Ne.jsx)("span",{className:"k-input-value-text",children:t})]})};Ze.states=en;Ze.options=tn;Ze.className=Ye;var $t=require("react/jsx-runtime"),je="k-input-inner",on=[],nn={},Vt={value:"",placeholder:""},et=e=>{let{value:t=Vt.value,placeholder:o=Vt.placeholder,rows:s,disabled:i,...c}=e;return(0,$t.jsx)("textarea",{...c,className:n(e.className,je,N(je,e)),placeholder:o,rows:s,defaultValue:t,disabled:i||void 0})};et.states=on;et.options=nn;et.className=je;var ge=require("react/jsx-runtime"),Xt="k-input-loading-icon",sn=[a.disabled,a.loading],Re=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,ge.jsx)(ge.Fragment,{}):(0,ge.jsx)("span",{className:n(e.className,Xt,"k-icon k-i-loading")})};Re.states=sn;Re.className=Xt;var Ie=require("react/jsx-runtime"),Wt="k-input-validation-icon",an=[a.valid,a.invalid,a.disabled,a.loading],rn={},ke=e=>{let{valid:t,invalid:o,disabled:s,loading:i}=e,c=o?"warning-circle":"check-circle";return s||i||!!!(t||o)?(0,Ie.jsx)(Ie.Fragment,{}):(0,Ie.jsx)(u,{className:n(Wt),icon:c})};ke.states=an;ke.options=rn;ke.className=Wt;var Ce=require("react/jsx-runtime"),ln="k-input-prefix",cn={direction:"horizontal"},Pe=e=>{let{direction:t=cn.direction,...o}=e;return e.children?(0,Ce.jsx)("span",{...o,className:n(ln,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Ce.jsx)(Ce.Fragment,{})};var ve=require("react/jsx-runtime"),pn="k-input-suffix",dn={direction:"horizontal"},_e=e=>{let{direction:t=dn.direction,...o}=e;return e.children?(0,ve.jsx)("span",{...o,className:n(pn,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,ve.jsx)(ve.Fragment,{})};var mn=require("react/jsx-runtime");var un=require("react/jsx-runtime");var Jt=require("react/jsx-runtime"),qt="k-input-separator",fn={direction:"vertical"},ne=e=>{let{direction:t=fn.direction,...o}=e;return(0,Jt.jsx)("span",{...o,className:n(qt,e.className,{[`${qt}-${t}`]:t})})};var tt="button",Qt=tt;var H=require("react/jsx-runtime"),Se="k-button",bn=["icon-button"],xn=[a.hover,a.focus,a.active,a.selected,a.disabled,a.generating],hn={size:[r.undefined,r.xsmall,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline,L.clear,L.link],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.inverse]},ot={showArrow:!1,arrowIconName:"chevron-down"},b=e=>{let{as:t="button",size:o,rounded:s,fillMode:i,themeColor:c,showArrow:l=ot.showArrow,arrowIconName:m=ot.arrowIconName,variant:x,hover:h,focus:g,active:f,selected:k,disabled:C,togglable:q,ariaDisabled:D,icon:_,text:K,iconClassName:ye,className:Fe,...Mo}=e,yo=_!==void 0,Ao=e.children!==void 0;return(0,H.jsxs)(t,{className:n(Fe,Se,Bt(Se,x),N(Se,{size:o,rounded:s,fillMode:i,themeColor:c}),T(Se,{hover:h,focus:g,active:f,disabled:C||D,selected:k}),{"k-icon-button":!K&&!Ao&&yo}),...Mo,"aria-pressed":q?k?"true":"false":void 0,"aria-disabled":D?"true":void 0,disabled:C||void 0,children:[_&&(0,H.jsx)(u,{className:n(ye,"k-button-icon"),icon:_}),K?(0,H.jsxs)(H.Fragment,{children:[K&&(0,H.jsx)("span",{className:"k-button-text",children:K}),e.children]}):e.children&&(0,H.jsx)("span",{className:"k-button-text",children:e.children}),l&&(0,H.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,H.jsx)(u,{icon:m})})]})};b.states=xn;b.options=hn;b.variants=bn;b.className=Se;b.defaultOptions=ot;b.moduleName=tt;b.folderName=Qt;b.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 Yt=require("react/jsx-runtime"),He=e=>(0,Yt.jsx)(b,{children:"Button",...e});var I=require("react/jsx-runtime"),Ln=E.states,Nn=E.defaultOptions,gn=E.options,In=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],kn=[],ie=e=>{let{modifiers:t,valid:o,invalid:s,loading:i,disabled:c,readonly:l,...m}=e,x=t==null?void 0:t.prefix,h=t==null?void 0:t.suffix,g=t==null?void 0:t["clear-button"],f=t==null?void 0:t["validation-icon"],k=t==null?void 0:t.separators;return(0,I.jsxs)(E,{...m,valid:o,invalid:s,loading:i,disabled:c,readonly:l,style:{width:300},children:[x&&(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(Pe,{children:(0,I.jsx)(u,{icon:"lock"})}),k&&(0,I.jsx)(ne,{})]}),(0,I.jsx)(Q,{placeholder:"Placeholder",value:"Value"}),f&&(0,I.jsx)(ke,{valid:o,invalid:s,loading:i,disabled:c}),(0,I.jsx)(Re,{loading:i,disabled:c}),g&&(0,I.jsx)(Le,{loading:i,disabled:c,readonly:l,value:"Value"}),h&&(0,I.jsxs)(I.Fragment,{children:[k&&(0,I.jsx)(ne,{}),(0,I.jsx)(_e,{children:(0,I.jsx)(He,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};ie.options=gn;ie.states=Ln;ie.variants=kn;ie.defaultOptions=Nn;ie.modifiers=In;ie.className=E.className;var nt="popup",Zt=nt;var it=require("react/jsx-runtime"),jt="k-animation-container",Cn=[],vn={},eo={positionMode:"absolute"},W=e=>{let{positionMode:t=eo.positionMode,animationStyle:o,offset:s,...i}=e;return(0,it.jsx)("div",{...i,style:{...s,...e.style},className:n(e.className,jt,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,it.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};W.states=Cn;W.options=vn;W.className=jt;W.defaultOptions=eo;W.moduleName=nt;W.folderName=Zt;var st="popup",to=st;var at=require("react/jsx-runtime"),oo="k-popup",Sn=[],Mn={},no={positionMode:"absolute"},F=e=>{let{offset:t,positionMode:o=no.positionMode,animationStyle:s,containerClassName:i,containerRole:c,containerAriaLabel:l,...m}=e;return(0,at.jsx)(W,{positionMode:o,offset:t,animationStyle:s,className:i,role:c,"aria-label":l,children:(0,at.jsx)("div",{...m,className:n(e.className,oo),children:e.children})})};F.states=Sn;F.options=Mn;F.className=oo;F.defaultOptions=no;F.moduleName=st;F.folderName=to;F.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 rt="smart-box",io=rt;var v=require("react/jsx-runtime"),so="k-smart-box",yn=[a.hover,a.focus,a.disabled],An={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline]},ao={separators:!0},R=e=>{let{size:t,rounded:o,fillMode:s,separators:i=ao.separators,prefix:c,suffix:l,value:m,placeholder:x,hover:h,focus:g,disabled:f,popup:k,opened:C,processing:q,inputAriaLabel:D,inputAriaControls:_,inputAriaActiveDescendant:K,inputAriaAutocomplete:ye,...Fe}=e;return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)(E,{...Fe,size:t,rounded:o,fillMode:s,hover:h,focus:g,disabled:f,loading:q,className:n(e.className,so),children:[c&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(Pe,{children:c}),i&&(0,v.jsx)(ne,{})]}),(0,v.jsx)(Q,{placeholder:x,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":C?"true":"false","aria-autocomplete":ye,"aria-controls":C?_:void 0,"aria-activedescendant":C?K:void 0,"aria-label":D}),l&&(0,v.jsxs)(v.Fragment,{children:[i&&(0,v.jsx)(ne,{}),(0,v.jsx)(_e,{children:l})]})]}),C&&k&&(0,v.jsx)(F,{className:"k-smart-box-popup",children:k})]})};R.states=yn;R.options=An;R.className=so;R.defaultOptions=ao;R.moduleName=rt;R.folderName=io;R.ariaSpec={selector:".k-smart-box",rules:[{selector:".k-smart-box .k-input-inner",attribute:"role=combobox",usage:"Announces the combobox role for the SmartBox input."},{selector:".k-smart-box .k-input-inner",attribute:"aria-label or aria-labelledby",usage:'Provides an accessible label for the SmartBox (e.g., "AI-powered search").'},{selector:".k-smart-box .k-input-inner",attribute:"aria-expanded",usage:"Indicates whether the suggestion popup is currently visible."},{selector:".k-smart-box .k-input-inner",attribute:"aria-haspopup=listbox",usage:"Indicates that the SmartBox has a popup listbox with suggestions."},{selector:".k-smart-box .k-input-inner",attribute:"aria-controls (when present)",usage:"References the ID of the popup listbox element when the popup is open."},{selector:".k-smart-box .k-input-inner",attribute:"aria-autocomplete (when present)",usage:"Indicates the autocomplete behavior of the input field."},{selector:".k-smart-box .k-input-inner",attribute:"aria-activedescendant (when present)",usage:"When the popup is open and keyboard navigation is active, references the ID of the currently focused list item."},{selector:".k-smart-box .k-input-prefix .k-icon",attribute:"aria-hidden=true",usage:"Decorative icons in the prefix area are hidden from screen readers."},{selector:".k-smart-box .k-input-suffix .k-button",attribute:"aria-label",usage:'Suffix buttons must have accessible labels describing their function (e.g., "Start voice input", "Send prompt").'},{selector:".k-smart-box .k-smart-box-send",attribute:"aria-label",usage:'The send button must be labelled to indicate its current action (e.g., "Send" or "Stop processing").'},{selector:".k-smart-box .k-smart-box-send.k-disabled",attribute:"disabled or aria-disabled=true",usage:"Indicates the button is disabled when there is no input or processing is not active."},{selector:".k-smart-box .k-smart-box-send.k-processing",attribute:"aria-pressed=true",usage:"Indicates that processing is in progress. The button changes function to stop processing."}]};var ro=require("react/jsx-runtime"),Y=e=>(0,ro.jsx)(b,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var co=require("react/jsx-runtime"),lo=e=>(0,co.jsx)(b,{icon:"folder",children:"Button",...e});var we=require("react/jsx-runtime"),On=b.options,Tn=b.states,En={...b.defaultOptions,variant:"text"},Bn=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Kn=[],se=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,we.jsx)(Y,{...o,icon:"star"});case"icon-and-text":return(0,we.jsx)(lo,{...o,icon:"star",children:"Button"});default:return(0,we.jsx)(He,{...o,children:"Button"})}};se.options=On;se.states=Tn;se.variants=Bn;se.defaultOptions=En;se.modifiers=Kn;se.className=b.className;var uo=require("react/jsx-runtime"),po="k-smart-box-send",mo={processing:!1},V=e=>{let{processing:t=mo.processing,...o}=e;return(0,uo.jsx)(b,{...o,rounded:"full",size:"small",icon:t?"stop":"arrow-up",active:t,"aria-pressed":t?"true":void 0,"aria-label":t?"Stop processing":"Send",className:n(e.className,po,{"k-processing":t})})};V.states=b.states;V.options=b.options;V.className=po;V.defaultOptions=mo;var lt=require("react/jsx-runtime");var ze=Et(require("react"));var ct=require("react/jsx-runtime"),Rn="k-list-group-sticky-header",pt=e=>(0,ct.jsx)("div",{className:n(Rn,e.className),children:(0,ct.jsx)("div",{className:"k-list-header-text",children:e.children})});var fo=require("react/jsx-runtime"),Pn="k-no-data",dt=e=>{let{live:t,...o}=e;return(0,fo.jsx)("span",{...o,className:n(Pn,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Z="list",ae=Z;var re=require("react/jsx-runtime"),mt="k-list",_n=[],Hn={size:[r.undefined,r.small,r.medium,r.large]},wn={},y=e=>{var C;let{size:t,virtualization:o,children:s,header:i,optionLabel:c,customValue:l,noData:m,screenReaders:x,...h}=e,f=ze.default.Children.toArray(s)[0],k=(C=f==null?void 0:f.props)!=null&&C.children?ze.default.Children.count(f.props.children):ze.default.Children.count(s);return(0,re.jsxs)("div",{...h,className:n(e.className,mt,N(mt,{size:t}),{"k-virtual-list":o}),children:[c,l,i&&(0,re.jsx)(pt,{children:i}),s||(m!==void 0?m:(0,re.jsx)(dt,{live:!0,children:"No data found."})),x&&s&&(0,re.jsxs)(dt,{className:"k-sr-only",live:!0,children:[k," items found."]})]})};y.states=_n;y.options=Hn;y.className=mt;y.defaultOptions=wn;y.moduleName=Z;y.folderName=ae;y.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var xo=require("react/jsx-runtime"),bo="k-list-container",zn=[],Dn={},Un={},le=e=>{let{...t}=e;return(0,xo.jsx)("div",{...t,className:n(e.className,bo),children:e.children})};le.states=zn;le.options=Dn;le.className=bo;le.defaultOptions=Un;le.moduleName=Z;le.folderName=ae;var j="checkbox",ce=j;var ut=require("react/jsx-runtime"),De="k-checkbox",Gn=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.checked,a.indeterminate],Fn={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full]},Vn={},P=e=>{let{id:t,checked:o,indeterminate:s,hover:i,focus:c,disabled:l,invalid:m,valid:x,required:h,size:g,rounded:f,wrapperRole:k,...C}=e;return(0,ut.jsx)("span",{className:"k-checkbox-wrap",role:k,children:(0,ut.jsx)("input",{...C,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:n(e.className,De,N(De,{size:g,rounded:f}),T(De,{hover:i,focus:c,disabled:l,invalid:m,valid:x,indeterminate:s,checked:o}))})})};P.states=Gn;P.options=Fn;P.className=De;P.defaultOptions=Vn;P.moduleName=j;P.folderName=ce;P.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 w=P;var No=require("react/jsx-runtime"),ho="k-checkbox-list",$n=[],Xn={},Lo={layout:"vertical"},A=e=>{let{layout:t=Lo.layout,...o}=e;return(0,No.jsx)("ul",{...o,className:n(e.className,ho,{[`k-list-${t}`]:t}),children:e.children})};A.states=$n;A.options=Xn;A.className=ho;A.defaultOptions=Lo;A.moduleName=j;A.folderName=ce;var Io=require("react/jsx-runtime"),go="k-checkbox-list-item",Wn=[],qn={},Jn={},O=e=>{let{...t}=e;return(0,Io.jsx)("li",{...t,className:n(e.className,go),children:e.children})};O.states=Wn;O.options=qn;O.className=go;O.defaultOptions=Jn;O.moduleName=j;O.folderName=ce;var ee=require("react/jsx-runtime"),$=({children:e="Label",id:t="cb-label-after",...o})=>(0,ee.jsxs)(ee.Fragment,{children:[(0,ee.jsx)(w,{id:t,...o}),(0,ee.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var ft=require("react/jsx-runtime");var bt=require("react/jsx-runtime");var xt=require("react/jsx-runtime");var Qn=require("react/jsx-runtime");var Yn=require("react/jsx-runtime");var Zn=require("react/jsx-runtime");var S=require("react/jsx-runtime"),jn=A.options,ei=A.states,ti={...A.defaultOptions,variant:"vertical"},oi=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],ni=[],pe=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,S.jsxs)(A,{layout:"horizontal",...o,children:[(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),defaultChecked:!0,children:"Label"})}),(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),children:"Label"})}),(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),children:"Label"})})]}):(0,S.jsxs)(A,{...o,children:[(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),defaultChecked:!0,children:"Label"})}),(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),children:"Label"})}),(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),children:"Label"})})]})};pe.options=jn;pe.states=ei;pe.variants=oi;pe.defaultOptions=ti;pe.modifiers=ni;pe.className=A.className;var ko=require("react/jsx-runtime"),ii=w.options,si=w.states,ai=w.defaultOptions,ri=[],li=[],de=e=>(0,ko.jsx)($,{id:M("checkbox"),...e,defaultChecked:!0,children:"Label"});de.options=ii;de.states=si;de.variants=ri;de.defaultOptions=ai;de.modifiers=li;de.className=w.className;var U=require("react/jsx-runtime"),ht="k-list-item",ci=[a.hover,a.focus,a.selected,a.disabled],pi={},di={},B=e=>{let{text:t,groupLabel:o,group:s,iconName:i,iconClassName:c,showCheckbox:l,checked:m,hover:x,focus:h,selected:g,disabled:f,actions:k,description:C,id:q,...D}=e,_=t||e.children;return(0,U.jsxs)("li",{...D,id:q,role:s?"presentation":"option",tabIndex:s?void 0:h?0:-1,"aria-selected":!s&&g?"true":s?void 0:"false","aria-disabled":!s&&f?"true":void 0,className:n(e.className,s?"k-list-group-item":ht,T(ht,{hover:x,focus:h,disabled:f,selected:g})),children:[l&&(0,U.jsx)(P,{checked:m}),i&&(0,U.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,U.jsx)(u,{icon:i,className:n("k-list-item-icon",c)})}),(0,U.jsx)("span",{className:"k-list-item-text",children:_}),k&&(0,U.jsx)("div",{className:"k-list-item-actions",children:k}),C&&(0,U.jsx)("span",{className:"k-list-item-description",children:C}),o&&o!==""&&(0,U.jsx)("div",{className:"k-list-item-group-label",children:o})]})};B.states=ci;B.options=pi;B.className=ht;B.defaultOptions=di;B.moduleName=Z;B.folderName=ae;B.ariaSpec={selector:".k-list-item",rules:[{selector:".k-list-item",attribute:"role=option",usage:"Each list item is an option in the listbox."},{selector:".k-list-item",attribute:"id",usage:"ID for aria-activedescendant reference."},{selector:".k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state of the option."},{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-item-icon",attribute:"aria-hidden=true",usage:"Decorative icons are hidden from assistive technology."}]};var Co=require("react/jsx-runtime"),mi="k-list-ul",Me=e=>{let{children:t,role:o,id:s,...i}=e;return(0,Co.jsx)("ul",{...i,id:s,role:o,className:n(mi,e.className),children:t})};Me.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 me=require("react/jsx-runtime"),ui="k-list-content",X=e=>{let{virtualization:t,grouping:o,"aria-label":s,"aria-labelledby":i,listboxId:c,...l}=e;return(0,me.jsxs)("div",{...l,className:n(ui,e.className),role:o?"listbox":void 0,id:o?c:void 0,"aria-label":o?s:void 0,"aria-labelledby":o?i:void 0,children:[o?e.children:(0,me.jsx)(Me,{role:"listbox",id:c,"aria-label":s,"aria-labelledby":i,children:e.children}),t&&(0,me.jsx)("div",{className:"k-height-container",children:(0,me.jsx)("div",{})})]})};X.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 Lt=require("react/jsx-runtime");var ue=require("react/jsx-runtime"),fi="k-list-group-item",Nt=e=>{let{groupIconName:t,...o}=e;return(0,ue.jsxs)("li",{...o,role:"presentation",className:n(fi,e.className),children:[t&&(0,ue.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,ue.jsx)(u,{icon:t,className:"k-list-item-icon"})}),(0,ue.jsx)("span",{className:"k-list-item-text",children:e.children})]})};Nt.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 vo=require("react/jsx-runtime"),gt="k-list-optionlabel",bi=[a.hover,a.focus,a.selected,a.disabled],xi={},hi={},Ue=e=>{let{text:t,hover:o,focus:s,selected:i,disabled:c,...l}=e;return(0,vo.jsx)("div",{...l,className:n(gt,T(gt,{hover:o,focus:s,selected:i,disabled:c})),children:t})};Ue.states=bi;Ue.options=xi;Ue.className=gt;Ue.defaultOptions=hi;var So=require("react/jsx-runtime"),It="k-list-custom-value",Li=[a.hover,a.focus,a.selected,a.disabled],Ni={},gi={},Ge=e=>{let{text:t,hover:o,focus:s,selected:i,disabled:c,...l}=e;return(0,So.jsx)("div",{...l,className:n(It,T(It,{hover:o,focus:s,selected:i,disabled:c})),children:t})};Ge.states=Li;Ge.options=Ni;Ge.className=It;Ge.defaultOptions=gi;var kt=require("react/jsx-runtime");var Ct=require("react/jsx-runtime");var vt=require("react/jsx-runtime");var St=require("react/jsx-runtime");var Ii=require("react/jsx-runtime");var Mt=require("react/jsx-runtime");var yt=require("react/jsx-runtime");var At=require("react/jsx-runtime");var Ot=require("react/jsx-runtime");var z=require("react/jsx-runtime"),ki=e=>(0,z.jsx)(R,{...e,separators:!1,inputAriaLabel:"AI-powered search",prefix:(0,z.jsx)(z.Fragment,{children:(0,z.jsx)(u,{icon:"sparkles",className:"k-accent-icon","aria-hidden":"true"})}),suffix:(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(Y,{icon:"microphone",fillMode:"clear",rounded:"full",size:"small","aria-label":"Start voice input"}),(0,z.jsx)(V,{disabled:!0})]})});
@@ -1 +1 @@
1
- var Oo=Object.create;var Ae=Object.defineProperty;var To=Object.getOwnPropertyDescriptor;var Eo=Object.getOwnPropertyNames;var Bo=Object.getPrototypeOf,Ko=Object.prototype.hasOwnProperty;var Ro=(e,t)=>{for(var o in t)Ae(e,o,{get:t[o],enumerable:!0})},Tt=(e,t,o,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Eo(t))!Ko.call(e,i)&&i!==o&&Ae(e,i,{get:()=>t[i],enumerable:!(s=To(t,i))||s.enumerable});return e};var Et=(e,t,o)=>(o=e!=null?Oo(Bo(e)):{},Tt(t||!e||!e.__esModule?Ae(o,"default",{value:e,enumerable:!0}):o,e)),Po=e=>Tt(Ae({},"__esModule",{value:!0}),e);var Ci={};Ro(Ci,{SmartBoxNormal:()=>ki});module.exports=Po(Ci);var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...t):typeof t=="object"?Object.keys(t).map((o,s)=>t[s]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var N=(e,t)=>n({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),T=(e,t)=>{let{valid:o,invalid:s,hover:i,focus:c,checked:l,active:m,selected:x,disabled:h,indeterminate:g,loading:f,empty:k,readonly:C,highlighted:q,...D}=t;return n({"k-valid":o,"k-invalid":s,"k-hover":i,"k-focus":c,"k-checked":l,"k-active":m,"k-selected":x,"k-disabled":h,"k-indeterminate":g&&!l,"k-loading":f,"k-empty":k,"k-readonly":C,"k-highlighted":q},Object.keys(D).reduce((_,K)=>(K.startsWith("k-")?_[K]=D[K]:_[`k-${K}`]=D[K],_),{}))};function Bt(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(s=>[`k-${s}`,!0]))}var r={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},d={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},L={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},p={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},a={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 Ve={};function M(e){return Ve[e]=(Ve[e]||0)+1,`k-${e}-${Ve[e]}`}var fe="input",Oe=fe;var Kt=require("react/jsx-runtime"),Te="k-input",_o=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Ho={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline]},wo={},E=e=>{let{hover:t,focus:o,disabled:s,invalid:i,valid:c,loading:l,readonly:m,size:x,rounded:h,fillMode:g,...f}=e;return(0,Kt.jsx)("span",{...f,className:n(e.className,Te,N(Te,{size:x,rounded:h,fillMode:g}),T(Te,{hover:t,focus:o,disabled:s,invalid:i,valid:c,loading:l,readonly:m}))})};E.states=_o;E.options=Ho;E.className=Te;E.defaultOptions=wo;E.moduleName=fe;E.folderName=Oe;var Rt=require("react/jsx-runtime"),Ee="k-picker",zo=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Do={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline]},Uo={},te=e=>{let{hover:t,focus:o,disabled:s,invalid:i,valid:c,loading:l,readonly:m,size:x,rounded:h,fillMode:g,...f}=e;return(0,Rt.jsx)("span",{...f,className:n(e.className,Ee,N(Ee,{size:x,rounded:h,fillMode:g}),T(Ee,{hover:t,focus:o,disabled:s,invalid:i,valid:c,loading:l,readonly:m})),children:e.children})};te.states=zo;te.options=Do;te.className=Ee;te.defaultOptions=Uo;te.moduleName=fe;te.folderName=Oe;var be=require("react/jsx-runtime"),$e="k-font-icon",Go=[],Fo={size:[r.undefined,r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info]},Vo={},xe=e=>{let{size:t,themeColor:o,icon:s,rotate:i,flip:c,...l}=e;return s?(0,be.jsx)("span",{...l,className:n(e.className,$e,N($e,{size:t}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":c==="h"||c==="both","k-flip-v":c==="v"||c==="both"}),"aria-hidden":"true"}):(0,be.jsx)(be.Fragment,{})};xe.states=Go;xe.options=Fo;xe.className=$e;xe.defaultOptions=Vo;var Pt=xe;var J=require("react/jsx-runtime"),Xe="k-svg-icon",$o=[],Xo={size:[r.undefined,r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info]},_t={viewBox:"0 0 24 24"},he=e=>{let{size:t,themeColor:o,rotate:s,flip:i,viewBox:c=_t.viewBox,icon:l,...m}=e;if(!l)return(0,J.jsx)(J.Fragment,{});if(l==="none")return(0,J.jsx)("span",{...m,className:n(e.className,Xe,N("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof l=="object"&&l.name&&l.name;return(0,J.jsx)("span",{...m,className:n(e.className,Xe,N("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true",children:(0,J.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof l=="object"?l.viewBox:c,dangerouslySetInnerHTML:typeof l=="object"?{__html:l.content}:void 0,children:l?void 0:e.children})})};he.states=$o;he.options=Xo;he.className=Xe;he.defaultOptions=_t;var We=he;var qe=Et(require("@progress/kendo-svg-icons"));var Ht="icon",wt="icons";var Ut=require("react");var zt=require("react"),Dt=(0,zt.createContext)({iconsType:"svg"});var G=require("react/jsx-runtime"),Be="k-icon",Wo=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),qo=[],Jo={size:[r.undefined,r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info]},Je={viewBox:"0 0 24 24",type:"svg"},u=e=>{let{iconsType:t}=(0,Ut.useContext)(Dt),{size:o,themeColor:s,icon:i,type:c=t||Je.type,rotate:l,flip:m,viewBox:x=Je.viewBox,...h}=e;if(!i)return(0,G.jsx)(G.Fragment,{});if((t||c)==="svg"){if(i==="none")return(0,G.jsx)(We,{...h,className:n(e.className,Be),icon:i,size:o});let f=qe[i]?i:Wo(`${i}-icon`);return qe[f]?(0,G.jsx)(We,{...h,className:n(e.className,Be),icon:qe[f],size:o,themeColor:s,rotate:l,flip:m,viewBox:x}):(0,G.jsx)(G.Fragment,{})}return(0,G.jsx)(Pt,{...h,className:n(e.className,Be),icon:i,size:o,themeColor:s,rotate:l,flip:m})};u.states=qo;u.options=Jo;u.defaultOptions=Je;u.className=Be;u.moduleName=Ht;u.folderName=wt;u.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 oe=require("react/jsx-runtime"),Gt="k-clear-value",Qo=[a.disabled,a.loading,a.readonly],Yo={},Le=e=>{let{disabled:t,loading:o,readonly:s,value:i}=e;return t||s||o||!i?(0,oe.jsx)(oe.Fragment,{}):(0,oe.jsx)("span",{className:n(e.className,Gt),children:(0,oe.jsx)(u,{icon:"x"})})};Le.states=Qo;Le.options=Yo;Le.className=Gt;var Ft=require("react/jsx-runtime"),Qe="k-input-inner",Zo=[],jo={},Ke={type:"text",autocomplete:"off",value:"",placeholder:""},Q=e=>{let{value:t=Ke.value,type:o=Ke.type,placeholder:s=Ke.placeholder,autocomplete:i=Ke.autocomplete,disabled:c,readOnly:l,...m}=e;return(0,Ft.jsx)("input",{...m,type:o,className:n(e.className,Qe,N(Qe,e)),placeholder:s,autoComplete:i,defaultValue:t,disabled:c||void 0,readOnly:l||void 0})};Q.states=Zo;Q.options=jo;Q.className=Qe;var Ne=require("react/jsx-runtime"),Ye="k-input-inner",en=[],tn={},Ze=e=>{let{value:t,placeholder:o,showValue:s,valueIcon:i,valueIconName:c,...l}=e;return(0,Ne.jsxs)("span",{...l,className:n(e.className,Ye,N(Ye,e)),children:[i,!i&&c&&(0,Ne.jsx)(u,{className:"k-input-value-icon",icon:c}),s&&!t&&o,s&&t&&(0,Ne.jsx)("span",{className:"k-input-value-text",children:t})]})};Ze.states=en;Ze.options=tn;Ze.className=Ye;var $t=require("react/jsx-runtime"),je="k-input-inner",on=[],nn={},Vt={value:"",placeholder:""},et=e=>{let{value:t=Vt.value,placeholder:o=Vt.placeholder,rows:s,disabled:i,...c}=e;return(0,$t.jsx)("textarea",{...c,className:n(e.className,je,N(je,e)),placeholder:o,rows:s,defaultValue:t,disabled:i||void 0})};et.states=on;et.options=nn;et.className=je;var ge=require("react/jsx-runtime"),Xt="k-input-loading-icon",sn=[a.disabled,a.loading],Re=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,ge.jsx)(ge.Fragment,{}):(0,ge.jsx)("span",{className:n(e.className,Xt,"k-icon k-i-loading")})};Re.states=sn;Re.className=Xt;var Ie=require("react/jsx-runtime"),Wt="k-input-validation-icon",an=[a.valid,a.invalid,a.disabled,a.loading],rn={},ke=e=>{let{valid:t,invalid:o,disabled:s,loading:i}=e,c=o?"warning-circle":"check-circle";return s||i||!!!(t||o)?(0,Ie.jsx)(Ie.Fragment,{}):(0,Ie.jsx)(u,{className:n(Wt),icon:c})};ke.states=an;ke.options=rn;ke.className=Wt;var Ce=require("react/jsx-runtime"),ln="k-input-prefix",cn={direction:"horizontal"},Pe=e=>{let{direction:t=cn.direction,...o}=e;return e.children?(0,Ce.jsx)("span",{...o,className:n(ln,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Ce.jsx)(Ce.Fragment,{})};var ve=require("react/jsx-runtime"),pn="k-input-suffix",dn={direction:"horizontal"},_e=e=>{let{direction:t=dn.direction,...o}=e;return e.children?(0,ve.jsx)("span",{...o,className:n(pn,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,ve.jsx)(ve.Fragment,{})};var mn=require("react/jsx-runtime");var un=require("react/jsx-runtime");var Jt=require("react/jsx-runtime"),qt="k-input-separator",fn={direction:"vertical"},ne=e=>{let{direction:t=fn.direction,...o}=e;return(0,Jt.jsx)("span",{...o,className:n(qt,e.className,{[`${qt}-${t}`]:t})})};var tt="button",Qt=tt;var H=require("react/jsx-runtime"),Se="k-button",bn=["icon-button"],xn=[a.hover,a.focus,a.active,a.selected,a.disabled,a.generating],hn={size:[r.undefined,r.xsmall,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline,L.clear,L.link],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.inverse]},ot={showArrow:!1,arrowIconName:"chevron-down"},b=e=>{let{as:t="button",size:o,rounded:s,fillMode:i,themeColor:c,showArrow:l=ot.showArrow,arrowIconName:m=ot.arrowIconName,variant:x,hover:h,focus:g,active:f,selected:k,disabled:C,togglable:q,ariaDisabled:D,icon:_,text:K,iconClassName:ye,className:Fe,...Mo}=e,yo=_!==void 0,Ao=e.children!==void 0;return(0,H.jsxs)(t,{className:n(Fe,Se,Bt(Se,x),N(Se,{size:o,rounded:s,fillMode:i,themeColor:c}),T(Se,{hover:h,focus:g,active:f,disabled:C||D,selected:k}),{"k-icon-button":!K&&!Ao&&yo}),...Mo,"aria-pressed":q?k?"true":"false":void 0,"aria-disabled":D?"true":void 0,disabled:C||void 0,children:[_&&(0,H.jsx)(u,{className:n(ye,"k-button-icon"),icon:_}),K?(0,H.jsxs)(H.Fragment,{children:[K&&(0,H.jsx)("span",{className:"k-button-text",children:K}),e.children]}):e.children&&(0,H.jsx)("span",{className:"k-button-text",children:e.children}),l&&(0,H.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,H.jsx)(u,{icon:m})})]})};b.states=xn;b.options=hn;b.variants=bn;b.className=Se;b.defaultOptions=ot;b.moduleName=tt;b.folderName=Qt;b.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 Yt=require("react/jsx-runtime"),He=e=>(0,Yt.jsx)(b,{children:"Button",...e});var I=require("react/jsx-runtime"),Ln=E.states,Nn=E.defaultOptions,gn=E.options,In=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],kn=[],ie=e=>{let{modifiers:t,valid:o,invalid:s,loading:i,disabled:c,readonly:l,...m}=e,x=t==null?void 0:t.prefix,h=t==null?void 0:t.suffix,g=t==null?void 0:t["clear-button"],f=t==null?void 0:t["validation-icon"],k=t==null?void 0:t.separators;return(0,I.jsxs)(E,{...m,valid:o,invalid:s,loading:i,disabled:c,readonly:l,style:{width:300},children:[x&&(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(Pe,{children:(0,I.jsx)(u,{icon:"lock"})}),k&&(0,I.jsx)(ne,{})]}),(0,I.jsx)(Q,{placeholder:"Placeholder",value:"Value"}),f&&(0,I.jsx)(ke,{valid:o,invalid:s,loading:i,disabled:c}),(0,I.jsx)(Re,{loading:i,disabled:c}),g&&(0,I.jsx)(Le,{loading:i,disabled:c,readonly:l,value:"Value"}),h&&(0,I.jsxs)(I.Fragment,{children:[k&&(0,I.jsx)(ne,{}),(0,I.jsx)(_e,{children:(0,I.jsx)(He,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};ie.options=gn;ie.states=Ln;ie.variants=kn;ie.defaultOptions=Nn;ie.modifiers=In;ie.className=E.className;var nt="popup",Zt=nt;var it=require("react/jsx-runtime"),jt="k-animation-container",Cn=[],vn={},eo={positionMode:"absolute"},W=e=>{let{positionMode:t=eo.positionMode,animationStyle:o,offset:s,...i}=e;return(0,it.jsx)("div",{...i,style:{...s,...e.style},className:n(e.className,jt,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,it.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};W.states=Cn;W.options=vn;W.className=jt;W.defaultOptions=eo;W.moduleName=nt;W.folderName=Zt;var st="popup",to=st;var at=require("react/jsx-runtime"),oo="k-popup",Sn=[],Mn={},no={positionMode:"absolute"},F=e=>{let{offset:t,positionMode:o=no.positionMode,animationStyle:s,containerClassName:i,containerRole:c,containerAriaLabel:l,...m}=e;return(0,at.jsx)(W,{positionMode:o,offset:t,animationStyle:s,className:i,role:c,"aria-label":l,children:(0,at.jsx)("div",{...m,className:n(e.className,oo),children:e.children})})};F.states=Sn;F.options=Mn;F.className=oo;F.defaultOptions=no;F.moduleName=st;F.folderName=to;F.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 rt="smart-box",io=rt;var v=require("react/jsx-runtime"),so="k-smart-box",yn=[a.hover,a.focus,a.disabled],An={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline]},ao={separators:!0},R=e=>{let{size:t,rounded:o,fillMode:s,separators:i=ao.separators,prefix:c,suffix:l,value:m,placeholder:x,hover:h,focus:g,disabled:f,popup:k,opened:C,processing:q,inputAriaLabel:D,inputAriaControls:_,inputAriaActiveDescendant:K,inputAriaAutocomplete:ye,...Fe}=e;return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)(E,{...Fe,size:t,rounded:o,fillMode:s,hover:h,focus:g,disabled:f,loading:q,className:n(e.className,so),children:[c&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(Pe,{children:c}),i&&(0,v.jsx)(ne,{})]}),(0,v.jsx)(Q,{placeholder:x,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":C?"true":"false","aria-autocomplete":ye,"aria-controls":C?_:void 0,"aria-activedescendant":C?K:void 0,"aria-label":D}),l&&(0,v.jsxs)(v.Fragment,{children:[i&&(0,v.jsx)(ne,{}),(0,v.jsx)(_e,{children:l})]})]}),C&&k&&(0,v.jsx)(F,{className:"k-smart-box-popup",children:k})]})};R.states=yn;R.options=An;R.className=so;R.defaultOptions=ao;R.moduleName=rt;R.folderName=io;R.ariaSpec={selector:".k-smart-box",rules:[{selector:".k-smart-box .k-input-inner",attribute:"role=combobox",usage:"Announces the combobox role for the SmartBox input."},{selector:".k-smart-box .k-input-inner",attribute:"aria-label or aria-labelledby",usage:'Provides an accessible label for the SmartBox (e.g., "AI-powered search").'},{selector:".k-smart-box .k-input-inner",attribute:"aria-expanded",usage:"Indicates whether the suggestion popup is currently visible."},{selector:".k-smart-box .k-input-inner",attribute:"aria-haspopup=listbox",usage:"Indicates that the SmartBox has a popup listbox with suggestions."},{selector:".k-smart-box .k-input-inner",attribute:"aria-controls (when present)",usage:"References the ID of the popup listbox element when the popup is open."},{selector:".k-smart-box .k-input-inner",attribute:"aria-autocomplete (when present)",usage:"Indicates the autocomplete behavior of the input field."},{selector:".k-smart-box .k-input-inner",attribute:"aria-activedescendant (when present)",usage:"When the popup is open and keyboard navigation is active, references the ID of the currently focused list item."},{selector:".k-smart-box .k-input-prefix .k-icon",attribute:"aria-hidden=true",usage:"Decorative icons in the prefix area are hidden from screen readers."},{selector:".k-smart-box .k-input-suffix .k-button",attribute:"aria-label",usage:'Suffix buttons must have accessible labels describing their function (e.g., "Start voice input", "Send prompt").'},{selector:".k-smart-box .k-smart-box-send",attribute:"aria-label",usage:'The send button must be labelled to indicate its current action (e.g., "Send" or "Stop processing").'},{selector:".k-smart-box .k-smart-box-send.k-disabled",attribute:"disabled or aria-disabled=true",usage:"Indicates the button is disabled when there is no input or processing is not active."},{selector:".k-smart-box .k-smart-box-send.k-processing",attribute:"aria-pressed=true",usage:"Indicates that processing is in progress. The button changes function to stop processing."}]};var ro=require("react/jsx-runtime"),Y=e=>(0,ro.jsx)(b,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var co=require("react/jsx-runtime"),lo=e=>(0,co.jsx)(b,{icon:"folder",children:"Button",...e});var we=require("react/jsx-runtime"),On=b.options,Tn=b.states,En={...b.defaultOptions,variant:"text"},Bn=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Kn=[],se=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,we.jsx)(Y,{...o,icon:"star"});case"icon-and-text":return(0,we.jsx)(lo,{...o,icon:"star",children:"Button"});default:return(0,we.jsx)(He,{...o,children:"Button"})}};se.options=On;se.states=Tn;se.variants=Bn;se.defaultOptions=En;se.modifiers=Kn;se.className=b.className;var uo=require("react/jsx-runtime"),po="k-smart-box-send",mo={processing:!1},V=e=>{let{processing:t=mo.processing,...o}=e;return(0,uo.jsx)(b,{...o,rounded:"full",size:"small",icon:t?"stop-sm":"arrow-up-outline",active:t,"aria-pressed":t?"true":void 0,"aria-label":t?"Stop processing":"Send",className:n(e.className,po,{"k-processing":t})})};V.states=b.states;V.options=b.options;V.className=po;V.defaultOptions=mo;var ze=Et(require("react"));var lt=require("react/jsx-runtime"),Rn="k-list-group-sticky-header",ct=e=>(0,lt.jsx)("div",{className:n(Rn,e.className),children:(0,lt.jsx)("div",{className:"k-list-header-text",children:e.children})});var fo=require("react/jsx-runtime"),Pn="k-no-data",pt=e=>{let{live:t,...o}=e;return(0,fo.jsx)("span",{...o,className:n(Pn,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Z="list",ae=Z;var re=require("react/jsx-runtime"),dt="k-list",_n=[],Hn={size:[r.undefined,r.small,r.medium,r.large]},wn={},y=e=>{var C;let{size:t,virtualization:o,children:s,header:i,optionLabel:c,customValue:l,noData:m,screenReaders:x,...h}=e,f=ze.default.Children.toArray(s)[0],k=(C=f==null?void 0:f.props)!=null&&C.children?ze.default.Children.count(f.props.children):ze.default.Children.count(s);return(0,re.jsxs)("div",{...h,className:n(e.className,dt,N(dt,{size:t}),{"k-virtual-list":o}),children:[c,l,i&&(0,re.jsx)(ct,{children:i}),s||(m!==void 0?m:(0,re.jsx)(pt,{live:!0,children:"No data found."})),x&&s&&(0,re.jsxs)(pt,{className:"k-sr-only",live:!0,children:[k," items found."]})]})};y.states=_n;y.options=Hn;y.className=dt;y.defaultOptions=wn;y.moduleName=Z;y.folderName=ae;y.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var xo=require("react/jsx-runtime"),bo="k-list-container",zn=[],Dn={},Un={},le=e=>{let{...t}=e;return(0,xo.jsx)("div",{...t,className:n(e.className,bo),children:e.children})};le.states=zn;le.options=Dn;le.className=bo;le.defaultOptions=Un;le.moduleName=Z;le.folderName=ae;var j="checkbox",ce=j;var mt=require("react/jsx-runtime"),De="k-checkbox",Gn=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.checked,a.indeterminate],Fn={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full]},Vn={},P=e=>{let{id:t,checked:o,indeterminate:s,hover:i,focus:c,disabled:l,invalid:m,valid:x,required:h,size:g,rounded:f,wrapperRole:k,...C}=e;return(0,mt.jsx)("span",{className:"k-checkbox-wrap",role:k,children:(0,mt.jsx)("input",{...C,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:n(e.className,De,N(De,{size:g,rounded:f}),T(De,{hover:i,focus:c,disabled:l,invalid:m,valid:x,indeterminate:s,checked:o}))})})};P.states=Gn;P.options=Fn;P.className=De;P.defaultOptions=Vn;P.moduleName=j;P.folderName=ce;P.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 w=P;var No=require("react/jsx-runtime"),ho="k-checkbox-list",$n=[],Xn={},Lo={layout:"vertical"},A=e=>{let{layout:t=Lo.layout,...o}=e;return(0,No.jsx)("ul",{...o,className:n(e.className,ho,{[`k-list-${t}`]:t}),children:e.children})};A.states=$n;A.options=Xn;A.className=ho;A.defaultOptions=Lo;A.moduleName=j;A.folderName=ce;var Io=require("react/jsx-runtime"),go="k-checkbox-list-item",Wn=[],qn={},Jn={},O=e=>{let{...t}=e;return(0,Io.jsx)("li",{...t,className:n(e.className,go),children:e.children})};O.states=Wn;O.options=qn;O.className=go;O.defaultOptions=Jn;O.moduleName=j;O.folderName=ce;var ee=require("react/jsx-runtime"),$=({children:e="Label",id:t="cb-label-after",...o})=>(0,ee.jsxs)(ee.Fragment,{children:[(0,ee.jsx)(w,{id:t,...o}),(0,ee.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var ut=require("react/jsx-runtime");var ft=require("react/jsx-runtime");var bt=require("react/jsx-runtime");var Qn=require("react/jsx-runtime");var Yn=require("react/jsx-runtime");var Zn=require("react/jsx-runtime");var S=require("react/jsx-runtime"),jn=A.options,ei=A.states,ti={...A.defaultOptions,variant:"vertical"},oi=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],ni=[],pe=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,S.jsxs)(A,{layout:"horizontal",...o,children:[(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),defaultChecked:!0,children:"Label"})}),(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),children:"Label"})}),(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),children:"Label"})})]}):(0,S.jsxs)(A,{...o,children:[(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),defaultChecked:!0,children:"Label"})}),(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),children:"Label"})}),(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),children:"Label"})})]})};pe.options=jn;pe.states=ei;pe.variants=oi;pe.defaultOptions=ti;pe.modifiers=ni;pe.className=A.className;var ko=require("react/jsx-runtime"),ii=w.options,si=w.states,ai=w.defaultOptions,ri=[],li=[],de=e=>(0,ko.jsx)($,{id:M("checkbox"),...e,defaultChecked:!0,children:"Label"});de.options=ii;de.states=si;de.variants=ri;de.defaultOptions=ai;de.modifiers=li;de.className=w.className;var U=require("react/jsx-runtime"),xt="k-list-item",ci=[a.hover,a.focus,a.selected,a.disabled],pi={},di={},B=e=>{let{text:t,groupLabel:o,group:s,iconName:i,iconClassName:c,showCheckbox:l,checked:m,hover:x,focus:h,selected:g,disabled:f,actions:k,description:C,id:q,...D}=e,_=t||e.children;return(0,U.jsxs)("li",{...D,id:q,role:s?"presentation":"option",tabIndex:s?void 0:h?0:-1,"aria-selected":!s&&g?"true":s?void 0:"false","aria-disabled":!s&&f?"true":void 0,className:n(e.className,s?"k-list-group-item":xt,T(xt,{hover:x,focus:h,disabled:f,selected:g})),children:[l&&(0,U.jsx)(P,{checked:m}),i&&(0,U.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,U.jsx)(u,{icon:i,className:n("k-list-item-icon",c)})}),(0,U.jsx)("span",{className:"k-list-item-text",children:_}),k&&(0,U.jsx)("div",{className:"k-list-item-actions",children:k}),C&&(0,U.jsx)("span",{className:"k-list-item-description",children:C}),o&&o!==""&&(0,U.jsx)("div",{className:"k-list-item-group-label",children:o})]})};B.states=ci;B.options=pi;B.className=xt;B.defaultOptions=di;B.moduleName=Z;B.folderName=ae;B.ariaSpec={selector:".k-list-item",rules:[{selector:".k-list-item",attribute:"role=option",usage:"Each list item is an option in the listbox."},{selector:".k-list-item",attribute:"id",usage:"ID for aria-activedescendant reference."},{selector:".k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state of the option."},{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-item-icon",attribute:"aria-hidden=true",usage:"Decorative icons are hidden from assistive technology."}]};var Co=require("react/jsx-runtime"),mi="k-list-ul",Me=e=>{let{children:t,role:o,id:s,...i}=e;return(0,Co.jsx)("ul",{...i,id:s,role:o,className:n(mi,e.className),children:t})};Me.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 me=require("react/jsx-runtime"),ui="k-list-content",X=e=>{let{virtualization:t,grouping:o,"aria-label":s,"aria-labelledby":i,listboxId:c,...l}=e;return(0,me.jsxs)("div",{...l,className:n(ui,e.className),role:o?"listbox":void 0,id:o?c:void 0,"aria-label":o?s:void 0,"aria-labelledby":o?i:void 0,children:[o?e.children:(0,me.jsx)(Me,{role:"listbox",id:c,"aria-label":s,"aria-labelledby":i,children:e.children}),t&&(0,me.jsx)("div",{className:"k-height-container",children:(0,me.jsx)("div",{})})]})};X.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 ht=require("react/jsx-runtime");var ue=require("react/jsx-runtime"),fi="k-list-group-item",Lt=e=>{let{groupIconName:t,...o}=e;return(0,ue.jsxs)("li",{...o,role:"presentation",className:n(fi,e.className),children:[t&&(0,ue.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,ue.jsx)(u,{icon:t,className:"k-list-item-icon"})}),(0,ue.jsx)("span",{className:"k-list-item-text",children:e.children})]})};Lt.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 vo=require("react/jsx-runtime"),Nt="k-list-optionlabel",bi=[a.hover,a.focus,a.selected,a.disabled],xi={},hi={},Ue=e=>{let{text:t,hover:o,focus:s,selected:i,disabled:c,...l}=e;return(0,vo.jsx)("div",{...l,className:n(Nt,T(Nt,{hover:o,focus:s,selected:i,disabled:c})),children:t})};Ue.states=bi;Ue.options=xi;Ue.className=Nt;Ue.defaultOptions=hi;var So=require("react/jsx-runtime"),gt="k-list-custom-value",Li=[a.hover,a.focus,a.selected,a.disabled],Ni={},gi={},Ge=e=>{let{text:t,hover:o,focus:s,selected:i,disabled:c,...l}=e;return(0,So.jsx)("div",{...l,className:n(gt,T(gt,{hover:o,focus:s,selected:i,disabled:c})),children:t})};Ge.states=Li;Ge.options=Ni;Ge.className=gt;Ge.defaultOptions=gi;var It=require("react/jsx-runtime");var kt=require("react/jsx-runtime");var Ct=require("react/jsx-runtime");var vt=require("react/jsx-runtime");var Ii=require("react/jsx-runtime");var St=require("react/jsx-runtime");var Mt=require("react/jsx-runtime");var yt=require("react/jsx-runtime");var At=require("react/jsx-runtime");var Ot=require("react/jsx-runtime");var z=require("react/jsx-runtime"),ki=e=>(0,z.jsx)(R,{...e,value:"Smart box",separators:!1,inputAriaLabel:"AI-powered search",prefix:(0,z.jsx)(z.Fragment,{children:(0,z.jsx)(u,{icon:"sparkles",className:"k-accent-icon","aria-hidden":"true"})}),suffix:(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(Y,{icon:"microphone-outline",fillMode:"clear",rounded:"full",size:"small","aria-label":"Start voice input"}),(0,z.jsx)(V,{})]})});
1
+ var Oo=Object.create;var Ae=Object.defineProperty;var To=Object.getOwnPropertyDescriptor;var Eo=Object.getOwnPropertyNames;var Bo=Object.getPrototypeOf,Ko=Object.prototype.hasOwnProperty;var Ro=(e,t)=>{for(var o in t)Ae(e,o,{get:t[o],enumerable:!0})},Tt=(e,t,o,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Eo(t))!Ko.call(e,i)&&i!==o&&Ae(e,i,{get:()=>t[i],enumerable:!(s=To(t,i))||s.enumerable});return e};var Et=(e,t,o)=>(o=e!=null?Oo(Bo(e)):{},Tt(t||!e||!e.__esModule?Ae(o,"default",{value:e,enumerable:!0}):o,e)),Po=e=>Tt(Ae({},"__esModule",{value:!0}),e);var Ci={};Ro(Ci,{SmartBoxNormal:()=>ki});module.exports=Po(Ci);var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...t):typeof t=="object"?Object.keys(t).map((o,s)=>t[s]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var N=(e,t)=>n({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),T=(e,t)=>{let{valid:o,invalid:s,hover:i,focus:c,checked:l,active:m,selected:x,disabled:h,indeterminate:g,loading:f,empty:k,readonly:C,highlighted:q,...D}=t;return n({"k-valid":o,"k-invalid":s,"k-hover":i,"k-focus":c,"k-checked":l,"k-active":m,"k-selected":x,"k-disabled":h,"k-indeterminate":g&&!l,"k-loading":f,"k-empty":k,"k-readonly":C,"k-highlighted":q},Object.keys(D).reduce((_,K)=>(K.startsWith("k-")?_[K]=D[K]:_[`k-${K}`]=D[K],_),{}))};function Bt(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(s=>[`k-${s}`,!0]))}var r={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},d={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},L={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},p={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},a={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 Ve={};function M(e){return Ve[e]=(Ve[e]||0)+1,`k-${e}-${Ve[e]}`}var fe="input",Oe=fe;var Kt=require("react/jsx-runtime"),Te="k-input",_o=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Ho={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline]},wo={},E=e=>{let{hover:t,focus:o,disabled:s,invalid:i,valid:c,loading:l,readonly:m,size:x,rounded:h,fillMode:g,...f}=e;return(0,Kt.jsx)("span",{...f,className:n(e.className,Te,N(Te,{size:x,rounded:h,fillMode:g}),T(Te,{hover:t,focus:o,disabled:s,invalid:i,valid:c,loading:l,readonly:m}))})};E.states=_o;E.options=Ho;E.className=Te;E.defaultOptions=wo;E.moduleName=fe;E.folderName=Oe;var Rt=require("react/jsx-runtime"),Ee="k-picker",zo=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Do={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline]},Uo={},te=e=>{let{hover:t,focus:o,disabled:s,invalid:i,valid:c,loading:l,readonly:m,size:x,rounded:h,fillMode:g,...f}=e;return(0,Rt.jsx)("span",{...f,className:n(e.className,Ee,N(Ee,{size:x,rounded:h,fillMode:g}),T(Ee,{hover:t,focus:o,disabled:s,invalid:i,valid:c,loading:l,readonly:m})),children:e.children})};te.states=zo;te.options=Do;te.className=Ee;te.defaultOptions=Uo;te.moduleName=fe;te.folderName=Oe;var be=require("react/jsx-runtime"),$e="k-font-icon",Go=[],Fo={size:[r.undefined,r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info]},Vo={},xe=e=>{let{size:t,themeColor:o,icon:s,rotate:i,flip:c,...l}=e;return s?(0,be.jsx)("span",{...l,className:n(e.className,$e,N($e,{size:t}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":c==="h"||c==="both","k-flip-v":c==="v"||c==="both"}),"aria-hidden":"true"}):(0,be.jsx)(be.Fragment,{})};xe.states=Go;xe.options=Fo;xe.className=$e;xe.defaultOptions=Vo;var Pt=xe;var J=require("react/jsx-runtime"),Xe="k-svg-icon",$o=[],Xo={size:[r.undefined,r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info]},_t={viewBox:"0 0 24 24"},he=e=>{let{size:t,themeColor:o,rotate:s,flip:i,viewBox:c=_t.viewBox,icon:l,...m}=e;if(!l)return(0,J.jsx)(J.Fragment,{});if(l==="none")return(0,J.jsx)("span",{...m,className:n(e.className,Xe,N("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof l=="object"&&l.name&&l.name;return(0,J.jsx)("span",{...m,className:n(e.className,Xe,N("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true",children:(0,J.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof l=="object"?l.viewBox:c,dangerouslySetInnerHTML:typeof l=="object"?{__html:l.content}:void 0,children:l?void 0:e.children})})};he.states=$o;he.options=Xo;he.className=Xe;he.defaultOptions=_t;var We=he;var qe=Et(require("@progress/kendo-svg-icons"));var Ht="icon",wt="icons";var Ut=require("react");var zt=require("react"),Dt=(0,zt.createContext)({iconsType:"svg"});var G=require("react/jsx-runtime"),Be="k-icon",Wo=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),qo=[],Jo={size:[r.undefined,r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info]},Je={viewBox:"0 0 24 24",type:"svg"},u=e=>{let{iconsType:t}=(0,Ut.useContext)(Dt),{size:o,themeColor:s,icon:i,type:c=t||Je.type,rotate:l,flip:m,viewBox:x=Je.viewBox,...h}=e;if(!i)return(0,G.jsx)(G.Fragment,{});if((t||c)==="svg"){if(i==="none")return(0,G.jsx)(We,{...h,className:n(e.className,Be),icon:i,size:o});let f=qe[i]?i:Wo(`${i}-icon`);return qe[f]?(0,G.jsx)(We,{...h,className:n(e.className,Be),icon:qe[f],size:o,themeColor:s,rotate:l,flip:m,viewBox:x}):(0,G.jsx)(G.Fragment,{})}return(0,G.jsx)(Pt,{...h,className:n(e.className,Be),icon:i,size:o,themeColor:s,rotate:l,flip:m})};u.states=qo;u.options=Jo;u.defaultOptions=Je;u.className=Be;u.moduleName=Ht;u.folderName=wt;u.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 oe=require("react/jsx-runtime"),Gt="k-clear-value",Qo=[a.disabled,a.loading,a.readonly],Yo={},Le=e=>{let{disabled:t,loading:o,readonly:s,value:i}=e;return t||s||o||!i?(0,oe.jsx)(oe.Fragment,{}):(0,oe.jsx)("span",{className:n(e.className,Gt),children:(0,oe.jsx)(u,{icon:"x"})})};Le.states=Qo;Le.options=Yo;Le.className=Gt;var Ft=require("react/jsx-runtime"),Qe="k-input-inner",Zo=[],jo={},Ke={type:"text",autocomplete:"off",value:"",placeholder:""},Q=e=>{let{value:t=Ke.value,type:o=Ke.type,placeholder:s=Ke.placeholder,autocomplete:i=Ke.autocomplete,disabled:c,readOnly:l,...m}=e;return(0,Ft.jsx)("input",{...m,type:o,className:n(e.className,Qe,N(Qe,e)),placeholder:s,autoComplete:i,defaultValue:t,disabled:c||void 0,readOnly:l||void 0})};Q.states=Zo;Q.options=jo;Q.className=Qe;var Ne=require("react/jsx-runtime"),Ye="k-input-inner",en=[],tn={},Ze=e=>{let{value:t,placeholder:o,showValue:s,valueIcon:i,valueIconName:c,...l}=e;return(0,Ne.jsxs)("span",{...l,className:n(e.className,Ye,N(Ye,e)),children:[i,!i&&c&&(0,Ne.jsx)(u,{className:"k-input-value-icon",icon:c}),s&&!t&&o,s&&t&&(0,Ne.jsx)("span",{className:"k-input-value-text",children:t})]})};Ze.states=en;Ze.options=tn;Ze.className=Ye;var $t=require("react/jsx-runtime"),je="k-input-inner",on=[],nn={},Vt={value:"",placeholder:""},et=e=>{let{value:t=Vt.value,placeholder:o=Vt.placeholder,rows:s,disabled:i,...c}=e;return(0,$t.jsx)("textarea",{...c,className:n(e.className,je,N(je,e)),placeholder:o,rows:s,defaultValue:t,disabled:i||void 0})};et.states=on;et.options=nn;et.className=je;var ge=require("react/jsx-runtime"),Xt="k-input-loading-icon",sn=[a.disabled,a.loading],Re=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,ge.jsx)(ge.Fragment,{}):(0,ge.jsx)("span",{className:n(e.className,Xt,"k-icon k-i-loading")})};Re.states=sn;Re.className=Xt;var Ie=require("react/jsx-runtime"),Wt="k-input-validation-icon",an=[a.valid,a.invalid,a.disabled,a.loading],rn={},ke=e=>{let{valid:t,invalid:o,disabled:s,loading:i}=e,c=o?"warning-circle":"check-circle";return s||i||!!!(t||o)?(0,Ie.jsx)(Ie.Fragment,{}):(0,Ie.jsx)(u,{className:n(Wt),icon:c})};ke.states=an;ke.options=rn;ke.className=Wt;var Ce=require("react/jsx-runtime"),ln="k-input-prefix",cn={direction:"horizontal"},Pe=e=>{let{direction:t=cn.direction,...o}=e;return e.children?(0,Ce.jsx)("span",{...o,className:n(ln,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Ce.jsx)(Ce.Fragment,{})};var ve=require("react/jsx-runtime"),pn="k-input-suffix",dn={direction:"horizontal"},_e=e=>{let{direction:t=dn.direction,...o}=e;return e.children?(0,ve.jsx)("span",{...o,className:n(pn,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,ve.jsx)(ve.Fragment,{})};var mn=require("react/jsx-runtime");var un=require("react/jsx-runtime");var Jt=require("react/jsx-runtime"),qt="k-input-separator",fn={direction:"vertical"},ne=e=>{let{direction:t=fn.direction,...o}=e;return(0,Jt.jsx)("span",{...o,className:n(qt,e.className,{[`${qt}-${t}`]:t})})};var tt="button",Qt=tt;var H=require("react/jsx-runtime"),Se="k-button",bn=["icon-button"],xn=[a.hover,a.focus,a.active,a.selected,a.disabled,a.generating],hn={size:[r.undefined,r.xsmall,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline,L.clear,L.link],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.inverse]},ot={showArrow:!1,arrowIconName:"chevron-down"},b=e=>{let{as:t="button",size:o,rounded:s,fillMode:i,themeColor:c,showArrow:l=ot.showArrow,arrowIconName:m=ot.arrowIconName,variant:x,hover:h,focus:g,active:f,selected:k,disabled:C,togglable:q,ariaDisabled:D,icon:_,text:K,iconClassName:ye,className:Fe,...Mo}=e,yo=_!==void 0,Ao=e.children!==void 0;return(0,H.jsxs)(t,{className:n(Fe,Se,Bt(Se,x),N(Se,{size:o,rounded:s,fillMode:i,themeColor:c}),T(Se,{hover:h,focus:g,active:f,disabled:C||D,selected:k}),{"k-icon-button":!K&&!Ao&&yo}),...Mo,"aria-pressed":q?k?"true":"false":void 0,"aria-disabled":D?"true":void 0,disabled:C||void 0,children:[_&&(0,H.jsx)(u,{className:n(ye,"k-button-icon"),icon:_}),K?(0,H.jsxs)(H.Fragment,{children:[K&&(0,H.jsx)("span",{className:"k-button-text",children:K}),e.children]}):e.children&&(0,H.jsx)("span",{className:"k-button-text",children:e.children}),l&&(0,H.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,H.jsx)(u,{icon:m})})]})};b.states=xn;b.options=hn;b.variants=bn;b.className=Se;b.defaultOptions=ot;b.moduleName=tt;b.folderName=Qt;b.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 Yt=require("react/jsx-runtime"),He=e=>(0,Yt.jsx)(b,{children:"Button",...e});var I=require("react/jsx-runtime"),Ln=E.states,Nn=E.defaultOptions,gn=E.options,In=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],kn=[],ie=e=>{let{modifiers:t,valid:o,invalid:s,loading:i,disabled:c,readonly:l,...m}=e,x=t==null?void 0:t.prefix,h=t==null?void 0:t.suffix,g=t==null?void 0:t["clear-button"],f=t==null?void 0:t["validation-icon"],k=t==null?void 0:t.separators;return(0,I.jsxs)(E,{...m,valid:o,invalid:s,loading:i,disabled:c,readonly:l,style:{width:300},children:[x&&(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(Pe,{children:(0,I.jsx)(u,{icon:"lock"})}),k&&(0,I.jsx)(ne,{})]}),(0,I.jsx)(Q,{placeholder:"Placeholder",value:"Value"}),f&&(0,I.jsx)(ke,{valid:o,invalid:s,loading:i,disabled:c}),(0,I.jsx)(Re,{loading:i,disabled:c}),g&&(0,I.jsx)(Le,{loading:i,disabled:c,readonly:l,value:"Value"}),h&&(0,I.jsxs)(I.Fragment,{children:[k&&(0,I.jsx)(ne,{}),(0,I.jsx)(_e,{children:(0,I.jsx)(He,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};ie.options=gn;ie.states=Ln;ie.variants=kn;ie.defaultOptions=Nn;ie.modifiers=In;ie.className=E.className;var nt="popup",Zt=nt;var it=require("react/jsx-runtime"),jt="k-animation-container",Cn=[],vn={},eo={positionMode:"absolute"},W=e=>{let{positionMode:t=eo.positionMode,animationStyle:o,offset:s,...i}=e;return(0,it.jsx)("div",{...i,style:{...s,...e.style},className:n(e.className,jt,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,it.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};W.states=Cn;W.options=vn;W.className=jt;W.defaultOptions=eo;W.moduleName=nt;W.folderName=Zt;var st="popup",to=st;var at=require("react/jsx-runtime"),oo="k-popup",Sn=[],Mn={},no={positionMode:"absolute"},F=e=>{let{offset:t,positionMode:o=no.positionMode,animationStyle:s,containerClassName:i,containerRole:c,containerAriaLabel:l,...m}=e;return(0,at.jsx)(W,{positionMode:o,offset:t,animationStyle:s,className:i,role:c,"aria-label":l,children:(0,at.jsx)("div",{...m,className:n(e.className,oo),children:e.children})})};F.states=Sn;F.options=Mn;F.className=oo;F.defaultOptions=no;F.moduleName=st;F.folderName=to;F.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 rt="smart-box",io=rt;var v=require("react/jsx-runtime"),so="k-smart-box",yn=[a.hover,a.focus,a.disabled],An={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline]},ao={separators:!0},R=e=>{let{size:t,rounded:o,fillMode:s,separators:i=ao.separators,prefix:c,suffix:l,value:m,placeholder:x,hover:h,focus:g,disabled:f,popup:k,opened:C,processing:q,inputAriaLabel:D,inputAriaControls:_,inputAriaActiveDescendant:K,inputAriaAutocomplete:ye,...Fe}=e;return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)(E,{...Fe,size:t,rounded:o,fillMode:s,hover:h,focus:g,disabled:f,loading:q,className:n(e.className,so),children:[c&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(Pe,{children:c}),i&&(0,v.jsx)(ne,{})]}),(0,v.jsx)(Q,{placeholder:x,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":C?"true":"false","aria-autocomplete":ye,"aria-controls":C?_:void 0,"aria-activedescendant":C?K:void 0,"aria-label":D}),l&&(0,v.jsxs)(v.Fragment,{children:[i&&(0,v.jsx)(ne,{}),(0,v.jsx)(_e,{children:l})]})]}),C&&k&&(0,v.jsx)(F,{className:"k-smart-box-popup",children:k})]})};R.states=yn;R.options=An;R.className=so;R.defaultOptions=ao;R.moduleName=rt;R.folderName=io;R.ariaSpec={selector:".k-smart-box",rules:[{selector:".k-smart-box .k-input-inner",attribute:"role=combobox",usage:"Announces the combobox role for the SmartBox input."},{selector:".k-smart-box .k-input-inner",attribute:"aria-label or aria-labelledby",usage:'Provides an accessible label for the SmartBox (e.g., "AI-powered search").'},{selector:".k-smart-box .k-input-inner",attribute:"aria-expanded",usage:"Indicates whether the suggestion popup is currently visible."},{selector:".k-smart-box .k-input-inner",attribute:"aria-haspopup=listbox",usage:"Indicates that the SmartBox has a popup listbox with suggestions."},{selector:".k-smart-box .k-input-inner",attribute:"aria-controls (when present)",usage:"References the ID of the popup listbox element when the popup is open."},{selector:".k-smart-box .k-input-inner",attribute:"aria-autocomplete (when present)",usage:"Indicates the autocomplete behavior of the input field."},{selector:".k-smart-box .k-input-inner",attribute:"aria-activedescendant (when present)",usage:"When the popup is open and keyboard navigation is active, references the ID of the currently focused list item."},{selector:".k-smart-box .k-input-prefix .k-icon",attribute:"aria-hidden=true",usage:"Decorative icons in the prefix area are hidden from screen readers."},{selector:".k-smart-box .k-input-suffix .k-button",attribute:"aria-label",usage:'Suffix buttons must have accessible labels describing their function (e.g., "Start voice input", "Send prompt").'},{selector:".k-smart-box .k-smart-box-send",attribute:"aria-label",usage:'The send button must be labelled to indicate its current action (e.g., "Send" or "Stop processing").'},{selector:".k-smart-box .k-smart-box-send.k-disabled",attribute:"disabled or aria-disabled=true",usage:"Indicates the button is disabled when there is no input or processing is not active."},{selector:".k-smart-box .k-smart-box-send.k-processing",attribute:"aria-pressed=true",usage:"Indicates that processing is in progress. The button changes function to stop processing."}]};var ro=require("react/jsx-runtime"),Y=e=>(0,ro.jsx)(b,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var co=require("react/jsx-runtime"),lo=e=>(0,co.jsx)(b,{icon:"folder",children:"Button",...e});var we=require("react/jsx-runtime"),On=b.options,Tn=b.states,En={...b.defaultOptions,variant:"text"},Bn=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Kn=[],se=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,we.jsx)(Y,{...o,icon:"star"});case"icon-and-text":return(0,we.jsx)(lo,{...o,icon:"star",children:"Button"});default:return(0,we.jsx)(He,{...o,children:"Button"})}};se.options=On;se.states=Tn;se.variants=Bn;se.defaultOptions=En;se.modifiers=Kn;se.className=b.className;var uo=require("react/jsx-runtime"),po="k-smart-box-send",mo={processing:!1},V=e=>{let{processing:t=mo.processing,...o}=e;return(0,uo.jsx)(b,{...o,rounded:"full",size:"small",icon:t?"stop":"arrow-up",active:t,"aria-pressed":t?"true":void 0,"aria-label":t?"Stop processing":"Send",className:n(e.className,po,{"k-processing":t})})};V.states=b.states;V.options=b.options;V.className=po;V.defaultOptions=mo;var ze=Et(require("react"));var lt=require("react/jsx-runtime"),Rn="k-list-group-sticky-header",ct=e=>(0,lt.jsx)("div",{className:n(Rn,e.className),children:(0,lt.jsx)("div",{className:"k-list-header-text",children:e.children})});var fo=require("react/jsx-runtime"),Pn="k-no-data",pt=e=>{let{live:t,...o}=e;return(0,fo.jsx)("span",{...o,className:n(Pn,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Z="list",ae=Z;var re=require("react/jsx-runtime"),dt="k-list",_n=[],Hn={size:[r.undefined,r.small,r.medium,r.large]},wn={},y=e=>{var C;let{size:t,virtualization:o,children:s,header:i,optionLabel:c,customValue:l,noData:m,screenReaders:x,...h}=e,f=ze.default.Children.toArray(s)[0],k=(C=f==null?void 0:f.props)!=null&&C.children?ze.default.Children.count(f.props.children):ze.default.Children.count(s);return(0,re.jsxs)("div",{...h,className:n(e.className,dt,N(dt,{size:t}),{"k-virtual-list":o}),children:[c,l,i&&(0,re.jsx)(ct,{children:i}),s||(m!==void 0?m:(0,re.jsx)(pt,{live:!0,children:"No data found."})),x&&s&&(0,re.jsxs)(pt,{className:"k-sr-only",live:!0,children:[k," items found."]})]})};y.states=_n;y.options=Hn;y.className=dt;y.defaultOptions=wn;y.moduleName=Z;y.folderName=ae;y.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var xo=require("react/jsx-runtime"),bo="k-list-container",zn=[],Dn={},Un={},le=e=>{let{...t}=e;return(0,xo.jsx)("div",{...t,className:n(e.className,bo),children:e.children})};le.states=zn;le.options=Dn;le.className=bo;le.defaultOptions=Un;le.moduleName=Z;le.folderName=ae;var j="checkbox",ce=j;var mt=require("react/jsx-runtime"),De="k-checkbox",Gn=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.checked,a.indeterminate],Fn={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full]},Vn={},P=e=>{let{id:t,checked:o,indeterminate:s,hover:i,focus:c,disabled:l,invalid:m,valid:x,required:h,size:g,rounded:f,wrapperRole:k,...C}=e;return(0,mt.jsx)("span",{className:"k-checkbox-wrap",role:k,children:(0,mt.jsx)("input",{...C,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:n(e.className,De,N(De,{size:g,rounded:f}),T(De,{hover:i,focus:c,disabled:l,invalid:m,valid:x,indeterminate:s,checked:o}))})})};P.states=Gn;P.options=Fn;P.className=De;P.defaultOptions=Vn;P.moduleName=j;P.folderName=ce;P.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 w=P;var No=require("react/jsx-runtime"),ho="k-checkbox-list",$n=[],Xn={},Lo={layout:"vertical"},A=e=>{let{layout:t=Lo.layout,...o}=e;return(0,No.jsx)("ul",{...o,className:n(e.className,ho,{[`k-list-${t}`]:t}),children:e.children})};A.states=$n;A.options=Xn;A.className=ho;A.defaultOptions=Lo;A.moduleName=j;A.folderName=ce;var Io=require("react/jsx-runtime"),go="k-checkbox-list-item",Wn=[],qn={},Jn={},O=e=>{let{...t}=e;return(0,Io.jsx)("li",{...t,className:n(e.className,go),children:e.children})};O.states=Wn;O.options=qn;O.className=go;O.defaultOptions=Jn;O.moduleName=j;O.folderName=ce;var ee=require("react/jsx-runtime"),$=({children:e="Label",id:t="cb-label-after",...o})=>(0,ee.jsxs)(ee.Fragment,{children:[(0,ee.jsx)(w,{id:t,...o}),(0,ee.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var ut=require("react/jsx-runtime");var ft=require("react/jsx-runtime");var bt=require("react/jsx-runtime");var Qn=require("react/jsx-runtime");var Yn=require("react/jsx-runtime");var Zn=require("react/jsx-runtime");var S=require("react/jsx-runtime"),jn=A.options,ei=A.states,ti={...A.defaultOptions,variant:"vertical"},oi=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],ni=[],pe=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,S.jsxs)(A,{layout:"horizontal",...o,children:[(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),defaultChecked:!0,children:"Label"})}),(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),children:"Label"})}),(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),children:"Label"})})]}):(0,S.jsxs)(A,{...o,children:[(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),defaultChecked:!0,children:"Label"})}),(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),children:"Label"})}),(0,S.jsx)(O,{children:(0,S.jsx)($,{id:M("cb"),children:"Label"})})]})};pe.options=jn;pe.states=ei;pe.variants=oi;pe.defaultOptions=ti;pe.modifiers=ni;pe.className=A.className;var ko=require("react/jsx-runtime"),ii=w.options,si=w.states,ai=w.defaultOptions,ri=[],li=[],de=e=>(0,ko.jsx)($,{id:M("checkbox"),...e,defaultChecked:!0,children:"Label"});de.options=ii;de.states=si;de.variants=ri;de.defaultOptions=ai;de.modifiers=li;de.className=w.className;var U=require("react/jsx-runtime"),xt="k-list-item",ci=[a.hover,a.focus,a.selected,a.disabled],pi={},di={},B=e=>{let{text:t,groupLabel:o,group:s,iconName:i,iconClassName:c,showCheckbox:l,checked:m,hover:x,focus:h,selected:g,disabled:f,actions:k,description:C,id:q,...D}=e,_=t||e.children;return(0,U.jsxs)("li",{...D,id:q,role:s?"presentation":"option",tabIndex:s?void 0:h?0:-1,"aria-selected":!s&&g?"true":s?void 0:"false","aria-disabled":!s&&f?"true":void 0,className:n(e.className,s?"k-list-group-item":xt,T(xt,{hover:x,focus:h,disabled:f,selected:g})),children:[l&&(0,U.jsx)(P,{checked:m}),i&&(0,U.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,U.jsx)(u,{icon:i,className:n("k-list-item-icon",c)})}),(0,U.jsx)("span",{className:"k-list-item-text",children:_}),k&&(0,U.jsx)("div",{className:"k-list-item-actions",children:k}),C&&(0,U.jsx)("span",{className:"k-list-item-description",children:C}),o&&o!==""&&(0,U.jsx)("div",{className:"k-list-item-group-label",children:o})]})};B.states=ci;B.options=pi;B.className=xt;B.defaultOptions=di;B.moduleName=Z;B.folderName=ae;B.ariaSpec={selector:".k-list-item",rules:[{selector:".k-list-item",attribute:"role=option",usage:"Each list item is an option in the listbox."},{selector:".k-list-item",attribute:"id",usage:"ID for aria-activedescendant reference."},{selector:".k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state of the option."},{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-item-icon",attribute:"aria-hidden=true",usage:"Decorative icons are hidden from assistive technology."}]};var Co=require("react/jsx-runtime"),mi="k-list-ul",Me=e=>{let{children:t,role:o,id:s,...i}=e;return(0,Co.jsx)("ul",{...i,id:s,role:o,className:n(mi,e.className),children:t})};Me.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 me=require("react/jsx-runtime"),ui="k-list-content",X=e=>{let{virtualization:t,grouping:o,"aria-label":s,"aria-labelledby":i,listboxId:c,...l}=e;return(0,me.jsxs)("div",{...l,className:n(ui,e.className),role:o?"listbox":void 0,id:o?c:void 0,"aria-label":o?s:void 0,"aria-labelledby":o?i:void 0,children:[o?e.children:(0,me.jsx)(Me,{role:"listbox",id:c,"aria-label":s,"aria-labelledby":i,children:e.children}),t&&(0,me.jsx)("div",{className:"k-height-container",children:(0,me.jsx)("div",{})})]})};X.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 ht=require("react/jsx-runtime");var ue=require("react/jsx-runtime"),fi="k-list-group-item",Lt=e=>{let{groupIconName:t,...o}=e;return(0,ue.jsxs)("li",{...o,role:"presentation",className:n(fi,e.className),children:[t&&(0,ue.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,ue.jsx)(u,{icon:t,className:"k-list-item-icon"})}),(0,ue.jsx)("span",{className:"k-list-item-text",children:e.children})]})};Lt.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 vo=require("react/jsx-runtime"),Nt="k-list-optionlabel",bi=[a.hover,a.focus,a.selected,a.disabled],xi={},hi={},Ue=e=>{let{text:t,hover:o,focus:s,selected:i,disabled:c,...l}=e;return(0,vo.jsx)("div",{...l,className:n(Nt,T(Nt,{hover:o,focus:s,selected:i,disabled:c})),children:t})};Ue.states=bi;Ue.options=xi;Ue.className=Nt;Ue.defaultOptions=hi;var So=require("react/jsx-runtime"),gt="k-list-custom-value",Li=[a.hover,a.focus,a.selected,a.disabled],Ni={},gi={},Ge=e=>{let{text:t,hover:o,focus:s,selected:i,disabled:c,...l}=e;return(0,So.jsx)("div",{...l,className:n(gt,T(gt,{hover:o,focus:s,selected:i,disabled:c})),children:t})};Ge.states=Li;Ge.options=Ni;Ge.className=gt;Ge.defaultOptions=gi;var It=require("react/jsx-runtime");var kt=require("react/jsx-runtime");var Ct=require("react/jsx-runtime");var vt=require("react/jsx-runtime");var Ii=require("react/jsx-runtime");var St=require("react/jsx-runtime");var Mt=require("react/jsx-runtime");var yt=require("react/jsx-runtime");var At=require("react/jsx-runtime");var Ot=require("react/jsx-runtime");var z=require("react/jsx-runtime"),ki=e=>(0,z.jsx)(R,{...e,value:"Smart box",separators:!1,inputAriaLabel:"AI-powered search",prefix:(0,z.jsx)(z.Fragment,{children:(0,z.jsx)(u,{icon:"sparkles",className:"k-accent-icon","aria-hidden":"true"})}),suffix:(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(Y,{icon:"microphone",fillMode:"clear",rounded:"full",size:"small","aria-label":"Start voice input"}),(0,z.jsx)(V,{})]})});
@@ -1 +1 @@
1
- var Oo=Object.create;var Ae=Object.defineProperty;var To=Object.getOwnPropertyDescriptor;var Eo=Object.getOwnPropertyNames;var Bo=Object.getPrototypeOf,Ko=Object.prototype.hasOwnProperty;var Ro=(e,t)=>{for(var o in t)Ae(e,o,{get:t[o],enumerable:!0})},Tt=(e,t,o,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Eo(t))!Ko.call(e,s)&&s!==o&&Ae(e,s,{get:()=>t[s],enumerable:!(i=To(t,s))||i.enumerable});return e};var Et=(e,t,o)=>(o=e!=null?Oo(Bo(e)):{},Tt(t||!e||!e.__esModule?Ae(o,"default",{value:e,enumerable:!0}):o,e)),Po=e=>Tt(Ae({},"__esModule",{value:!0}),e);var Ci={};Ro(Ci,{SmartBoxOpenedFocused:()=>ki});module.exports=Po(Ci);var Oe=Et(require("react"));var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...t):typeof t=="object"?Object.keys(t).map((o,i)=>t[i]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var N=(e,t)=>n({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),B=(e,t)=>{let{valid:o,invalid:i,hover:s,focus:c,checked:l,active:m,selected:x,disabled:h,indeterminate:g,loading:f,empty:C,readonly:v,highlighted:q,...D}=t;return n({"k-valid":o,"k-invalid":i,"k-hover":s,"k-focus":c,"k-checked":l,"k-active":m,"k-selected":x,"k-disabled":h,"k-indeterminate":g&&!l,"k-loading":f,"k-empty":C,"k-readonly":v,"k-highlighted":q},Object.keys(D).reduce((H,R)=>(R.startsWith("k-")?H[R]=D[R]:H[`k-${R}`]=D[R],H),{}))};function Bt(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(i=>[`k-${i}`,!0]))}var r={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},d={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},L={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},p={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},a={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 Ve={};function I(e){return Ve[e]=(Ve[e]||0)+1,`k-${e}-${Ve[e]}`}var $e=require("react/jsx-runtime"),_o="k-list-group-sticky-header",Xe=e=>(0,$e.jsx)("div",{className:n(_o,e.className),children:(0,$e.jsx)("div",{className:"k-list-header-text",children:e.children})});var Kt=require("react/jsx-runtime"),Ho="k-no-data",We=e=>{let{live:t,...o}=e;return(0,Kt.jsx)("span",{...o,className:n(Ho,e.className),"aria-live":t?"polite":void 0,children:e.children})};var J="list",te=J;var oe=require("react/jsx-runtime"),qe="k-list",wo=[],zo={size:[r.undefined,r.small,r.medium,r.large]},Do={},M=e=>{var v;let{size:t,virtualization:o,children:i,header:s,optionLabel:c,customValue:l,noData:m,screenReaders:x,...h}=e,f=Oe.default.Children.toArray(i)[0],C=(v=f==null?void 0:f.props)!=null&&v.children?Oe.default.Children.count(f.props.children):Oe.default.Children.count(i);return(0,oe.jsxs)("div",{...h,className:n(e.className,qe,N(qe,{size:t}),{"k-virtual-list":o}),children:[c,l,s&&(0,oe.jsx)(Xe,{children:s}),i||(m!==void 0?m:(0,oe.jsx)(We,{live:!0,children:"No data found."})),x&&i&&(0,oe.jsxs)(We,{className:"k-sr-only",live:!0,children:[C," items found."]})]})};M.states=wo;M.options=zo;M.className=qe;M.defaultOptions=Do;M.moduleName=J;M.folderName=te;M.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var Pt=require("react/jsx-runtime"),Rt="k-list-container",Uo=[],Go={},Fo={},ne=e=>{let{...t}=e;return(0,Pt.jsx)("div",{...t,className:n(e.className,Rt),children:e.children})};ne.states=Uo;ne.options=Go;ne.className=Rt;ne.defaultOptions=Fo;ne.moduleName=J;ne.folderName=te;var Q="checkbox",ie=Q;var Je=require("react/jsx-runtime"),Te="k-checkbox",Vo=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.checked,a.indeterminate],$o={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full]},Xo={},P=e=>{let{id:t,checked:o,indeterminate:i,hover:s,focus:c,disabled:l,invalid:m,valid:x,required:h,size:g,rounded:f,wrapperRole:C,...v}=e;return(0,Je.jsx)("span",{className:"k-checkbox-wrap",role:C,children:(0,Je.jsx)("input",{...v,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:n(e.className,Te,N(Te,{size:g,rounded:f}),B(Te,{hover:s,focus:c,disabled:l,invalid:m,valid:x,indeterminate:i,checked:o}))})})};P.states=Vo;P.options=$o;P.className=Te;P.defaultOptions=Xo;P.moduleName=Q;P.folderName=ie;P.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 w=P;var wt=require("react/jsx-runtime"),_t="k-checkbox-list",Wo=[],qo={},Ht={layout:"vertical"},T=e=>{let{layout:t=Ht.layout,...o}=e;return(0,wt.jsx)("ul",{...o,className:n(e.className,_t,{[`k-list-${t}`]:t}),children:e.children})};T.states=Wo;T.options=qo;T.className=_t;T.defaultOptions=Ht;T.moduleName=Q;T.folderName=ie;var Dt=require("react/jsx-runtime"),zt="k-checkbox-list-item",Jo=[],Qo={},Yo={},E=e=>{let{...t}=e;return(0,Dt.jsx)("li",{...t,className:n(e.className,zt),children:e.children})};E.states=Jo;E.options=Qo;E.className=zt;E.defaultOptions=Yo;E.moduleName=Q;E.folderName=ie;var Y=require("react/jsx-runtime"),F=({children:e="Label",id:t="cb-label-after",...o})=>(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(w,{id:t,...o}),(0,Y.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var Qe=require("react/jsx-runtime");var Ye=require("react/jsx-runtime");var Ze=require("react/jsx-runtime");var Zo=require("react/jsx-runtime");var jo=require("react/jsx-runtime");var en=require("react/jsx-runtime");var y=require("react/jsx-runtime"),tn=T.options,on=T.states,nn={...T.defaultOptions,variant:"vertical"},sn=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],an=[],se=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,y.jsxs)(T,{layout:"horizontal",...o,children:[(0,y.jsx)(E,{children:(0,y.jsx)(F,{id:I("cb"),defaultChecked:!0,children:"Label"})}),(0,y.jsx)(E,{children:(0,y.jsx)(F,{id:I("cb"),children:"Label"})}),(0,y.jsx)(E,{children:(0,y.jsx)(F,{id:I("cb"),children:"Label"})})]}):(0,y.jsxs)(T,{...o,children:[(0,y.jsx)(E,{children:(0,y.jsx)(F,{id:I("cb"),defaultChecked:!0,children:"Label"})}),(0,y.jsx)(E,{children:(0,y.jsx)(F,{id:I("cb"),children:"Label"})}),(0,y.jsx)(E,{children:(0,y.jsx)(F,{id:I("cb"),children:"Label"})})]})};se.options=tn;se.states=on;se.variants=sn;se.defaultOptions=nn;se.modifiers=an;se.className=T.className;var Ut=require("react/jsx-runtime"),rn=w.options,ln=w.states,cn=w.defaultOptions,pn=[],dn=[],ae=e=>(0,Ut.jsx)(F,{id:I("checkbox"),...e,defaultChecked:!0,children:"Label"});ae.options=rn;ae.states=ln;ae.variants=pn;ae.defaultOptions=cn;ae.modifiers=dn;ae.className=w.className;var fe=require("react/jsx-runtime"),je="k-font-icon",mn=[],un={size:[r.undefined,r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info]},fn={},be=e=>{let{size:t,themeColor:o,icon:i,rotate:s,flip:c,...l}=e;return i?(0,fe.jsx)("span",{...l,className:n(e.className,je,N(je,{size:t}),{[`k-i-${i}`]:i,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":c==="h"||c==="both","k-flip-v":c==="v"||c==="both"}),"aria-hidden":"true"}):(0,fe.jsx)(fe.Fragment,{})};be.states=mn;be.options=un;be.className=je;be.defaultOptions=fn;var Gt=be;var Z=require("react/jsx-runtime"),et="k-svg-icon",bn=[],xn={size:[r.undefined,r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info]},Ft={viewBox:"0 0 24 24"},xe=e=>{let{size:t,themeColor:o,rotate:i,flip:s,viewBox:c=Ft.viewBox,icon:l,...m}=e;if(!l)return(0,Z.jsx)(Z.Fragment,{});if(l==="none")return(0,Z.jsx)("span",{...m,className:n(e.className,et,N("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof l=="object"&&l.name&&l.name;return(0,Z.jsx)("span",{...m,className:n(e.className,et,N("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true",children:(0,Z.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof l=="object"?l.viewBox:c,dangerouslySetInnerHTML:typeof l=="object"?{__html:l.content}:void 0,children:l?void 0:e.children})})};xe.states=bn;xe.options=xn;xe.className=et;xe.defaultOptions=Ft;var tt=xe;var ot=Et(require("@progress/kendo-svg-icons"));var Vt="icon",$t="icons";var qt=require("react");var Xt=require("react"),Wt=(0,Xt.createContext)({iconsType:"svg"});var V=require("react/jsx-runtime"),Ee="k-icon",hn=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Ln=[],Nn={size:[r.undefined,r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info]},nt={viewBox:"0 0 24 24",type:"svg"},u=e=>{let{iconsType:t}=(0,qt.useContext)(Wt),{size:o,themeColor:i,icon:s,type:c=t||nt.type,rotate:l,flip:m,viewBox:x=nt.viewBox,...h}=e;if(!s)return(0,V.jsx)(V.Fragment,{});if((t||c)==="svg"){if(s==="none")return(0,V.jsx)(tt,{...h,className:n(e.className,Ee),icon:s,size:o});let f=ot[s]?s:hn(`${s}-icon`);return ot[f]?(0,V.jsx)(tt,{...h,className:n(e.className,Ee),icon:ot[f],size:o,themeColor:i,rotate:l,flip:m,viewBox:x}):(0,V.jsx)(V.Fragment,{})}return(0,V.jsx)(Gt,{...h,className:n(e.className,Ee),icon:s,size:o,themeColor:i,rotate:l,flip:m})};u.states=Ln;u.options=Nn;u.defaultOptions=nt;u.className=Ee;u.moduleName=Vt;u.folderName=$t;u.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 U=require("react/jsx-runtime"),it="k-list-item",gn=[a.hover,a.focus,a.selected,a.disabled],In={},kn={},A=e=>{let{text:t,groupLabel:o,group:i,iconName:s,iconClassName:c,showCheckbox:l,checked:m,hover:x,focus:h,selected:g,disabled:f,actions:C,description:v,id:q,...D}=e,H=t||e.children;return(0,U.jsxs)("li",{...D,id:q,role:i?"presentation":"option",tabIndex:i?void 0:h?0:-1,"aria-selected":!i&&g?"true":i?void 0:"false","aria-disabled":!i&&f?"true":void 0,className:n(e.className,i?"k-list-group-item":it,B(it,{hover:x,focus:h,disabled:f,selected:g})),children:[l&&(0,U.jsx)(P,{checked:m}),s&&(0,U.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,U.jsx)(u,{icon:s,className:n("k-list-item-icon",c)})}),(0,U.jsx)("span",{className:"k-list-item-text",children:H}),C&&(0,U.jsx)("div",{className:"k-list-item-actions",children:C}),v&&(0,U.jsx)("span",{className:"k-list-item-description",children:v}),o&&o!==""&&(0,U.jsx)("div",{className:"k-list-item-group-label",children:o})]})};A.states=gn;A.options=In;A.className=it;A.defaultOptions=kn;A.moduleName=J;A.folderName=te;A.ariaSpec={selector:".k-list-item",rules:[{selector:".k-list-item",attribute:"role=option",usage:"Each list item is an option in the listbox."},{selector:".k-list-item",attribute:"id",usage:"ID for aria-activedescendant reference."},{selector:".k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state of the option."},{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-item-icon",attribute:"aria-hidden=true",usage:"Decorative icons are hidden from assistive technology."}]};var Jt=require("react/jsx-runtime"),Cn="k-list-ul",he=e=>{let{children:t,role:o,id:i,...s}=e;return(0,Jt.jsx)("ul",{...s,id:i,role:o,className:n(Cn,e.className),children:t})};he.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 re=require("react/jsx-runtime"),vn="k-list-content",G=e=>{let{virtualization:t,grouping:o,"aria-label":i,"aria-labelledby":s,listboxId:c,...l}=e;return(0,re.jsxs)("div",{...l,className:n(vn,e.className),role:o?"listbox":void 0,id:o?c:void 0,"aria-label":o?i:void 0,"aria-labelledby":o?s:void 0,children:[o?e.children:(0,re.jsx)(he,{role:"listbox",id:c,"aria-label":i,"aria-labelledby":s,children:e.children}),t&&(0,re.jsx)("div",{className:"k-height-container",children:(0,re.jsx)("div",{})})]})};G.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 st=require("react/jsx-runtime");var le=require("react/jsx-runtime"),Sn="k-list-group-item",at=e=>{let{groupIconName:t,...o}=e;return(0,le.jsxs)("li",{...o,role:"presentation",className:n(Sn,e.className),children:[t&&(0,le.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,le.jsx)(u,{icon:t,className:"k-list-item-icon"})}),(0,le.jsx)("span",{className:"k-list-item-text",children:e.children})]})};at.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 Qt=require("react/jsx-runtime"),rt="k-list-optionlabel",Mn=[a.hover,a.focus,a.selected,a.disabled],yn={},An={},Be=e=>{let{text:t,hover:o,focus:i,selected:s,disabled:c,...l}=e;return(0,Qt.jsx)("div",{...l,className:n(rt,B(rt,{hover:o,focus:i,selected:s,disabled:c})),children:t})};Be.states=Mn;Be.options=yn;Be.className=rt;Be.defaultOptions=An;var Yt=require("react/jsx-runtime"),lt="k-list-custom-value",On=[a.hover,a.focus,a.selected,a.disabled],Tn={},En={},Ke=e=>{let{text:t,hover:o,focus:i,selected:s,disabled:c,...l}=e;return(0,Yt.jsx)("div",{...l,className:n(lt,B(lt,{hover:o,focus:i,selected:s,disabled:c})),children:t})};Ke.states=On;Ke.options=Tn;Ke.className=lt;Ke.defaultOptions=En;var ct=require("react/jsx-runtime");var pt=require("react/jsx-runtime");var dt=require("react/jsx-runtime");var mt=require("react/jsx-runtime");var Bn=require("react/jsx-runtime");var ut=require("react/jsx-runtime");var Le="input",Re=Le;var Zt=require("react/jsx-runtime"),Pe="k-input",Kn=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Rn={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline]},Pn={},K=e=>{let{hover:t,focus:o,disabled:i,invalid:s,valid:c,loading:l,readonly:m,size:x,rounded:h,fillMode:g,...f}=e;return(0,Zt.jsx)("span",{...f,className:n(e.className,Pe,N(Pe,{size:x,rounded:h,fillMode:g}),B(Pe,{hover:t,focus:o,disabled:i,invalid:s,valid:c,loading:l,readonly:m}))})};K.states=Kn;K.options=Rn;K.className=Pe;K.defaultOptions=Pn;K.moduleName=Le;K.folderName=Re;var jt=require("react/jsx-runtime"),_e="k-picker",_n=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Hn={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline]},wn={},ce=e=>{let{hover:t,focus:o,disabled:i,invalid:s,valid:c,loading:l,readonly:m,size:x,rounded:h,fillMode:g,...f}=e;return(0,jt.jsx)("span",{...f,className:n(e.className,_e,N(_e,{size:x,rounded:h,fillMode:g}),B(_e,{hover:t,focus:o,disabled:i,invalid:s,valid:c,loading:l,readonly:m})),children:e.children})};ce.states=_n;ce.options=Hn;ce.className=_e;ce.defaultOptions=wn;ce.moduleName=Le;ce.folderName=Re;var pe=require("react/jsx-runtime"),eo="k-clear-value",zn=[a.disabled,a.loading,a.readonly],Dn={},Ne=e=>{let{disabled:t,loading:o,readonly:i,value:s}=e;return t||i||o||!s?(0,pe.jsx)(pe.Fragment,{}):(0,pe.jsx)("span",{className:n(e.className,eo),children:(0,pe.jsx)(u,{icon:"x"})})};Ne.states=zn;Ne.options=Dn;Ne.className=eo;var to=require("react/jsx-runtime"),ft="k-input-inner",Un=[],Gn={},He={type:"text",autocomplete:"off",value:"",placeholder:""},j=e=>{let{value:t=He.value,type:o=He.type,placeholder:i=He.placeholder,autocomplete:s=He.autocomplete,disabled:c,readOnly:l,...m}=e;return(0,to.jsx)("input",{...m,type:o,className:n(e.className,ft,N(ft,e)),placeholder:i,autoComplete:s,defaultValue:t,disabled:c||void 0,readOnly:l||void 0})};j.states=Un;j.options=Gn;j.className=ft;var ge=require("react/jsx-runtime"),bt="k-input-inner",Fn=[],Vn={},xt=e=>{let{value:t,placeholder:o,showValue:i,valueIcon:s,valueIconName:c,...l}=e;return(0,ge.jsxs)("span",{...l,className:n(e.className,bt,N(bt,e)),children:[s,!s&&c&&(0,ge.jsx)(u,{className:"k-input-value-icon",icon:c}),i&&!t&&o,i&&t&&(0,ge.jsx)("span",{className:"k-input-value-text",children:t})]})};xt.states=Fn;xt.options=Vn;xt.className=bt;var no=require("react/jsx-runtime"),ht="k-input-inner",$n=[],Xn={},oo={value:"",placeholder:""},Lt=e=>{let{value:t=oo.value,placeholder:o=oo.placeholder,rows:i,disabled:s,...c}=e;return(0,no.jsx)("textarea",{...c,className:n(e.className,ht,N(ht,e)),placeholder:o,rows:i,defaultValue:t,disabled:s||void 0})};Lt.states=$n;Lt.options=Xn;Lt.className=ht;var Ie=require("react/jsx-runtime"),io="k-input-loading-icon",Wn=[a.disabled,a.loading],we=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Ie.jsx)(Ie.Fragment,{}):(0,Ie.jsx)("span",{className:n(e.className,io,"k-icon k-i-loading")})};we.states=Wn;we.className=io;var ke=require("react/jsx-runtime"),so="k-input-validation-icon",qn=[a.valid,a.invalid,a.disabled,a.loading],Jn={},Ce=e=>{let{valid:t,invalid:o,disabled:i,loading:s}=e,c=o?"warning-circle":"check-circle";return i||s||!!!(t||o)?(0,ke.jsx)(ke.Fragment,{}):(0,ke.jsx)(u,{className:n(so),icon:c})};Ce.states=qn;Ce.options=Jn;Ce.className=so;var ve=require("react/jsx-runtime"),Qn="k-input-prefix",Yn={direction:"horizontal"},ze=e=>{let{direction:t=Yn.direction,...o}=e;return e.children?(0,ve.jsx)("span",{...o,className:n(Qn,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,ve.jsx)(ve.Fragment,{})};var Se=require("react/jsx-runtime"),Zn="k-input-suffix",jn={direction:"horizontal"},De=e=>{let{direction:t=jn.direction,...o}=e;return e.children?(0,Se.jsx)("span",{...o,className:n(Zn,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Se.jsx)(Se.Fragment,{})};var ei=require("react/jsx-runtime");var ti=require("react/jsx-runtime");var ro=require("react/jsx-runtime"),ao="k-input-separator",oi={direction:"vertical"},de=e=>{let{direction:t=oi.direction,...o}=e;return(0,ro.jsx)("span",{...o,className:n(ao,e.className,{[`${ao}-${t}`]:t})})};var Nt="button",lo=Nt;var z=require("react/jsx-runtime"),Me="k-button",ni=["icon-button"],ii=[a.hover,a.focus,a.active,a.selected,a.disabled,a.generating],si={size:[r.undefined,r.xsmall,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline,L.clear,L.link],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.inverse]},gt={showArrow:!1,arrowIconName:"chevron-down"},b=e=>{let{as:t="button",size:o,rounded:i,fillMode:s,themeColor:c,showArrow:l=gt.showArrow,arrowIconName:m=gt.arrowIconName,variant:x,hover:h,focus:g,active:f,selected:C,disabled:v,togglable:q,ariaDisabled:D,icon:H,text:R,iconClassName:ye,className:Fe,...Mo}=e,yo=H!==void 0,Ao=e.children!==void 0;return(0,z.jsxs)(t,{className:n(Fe,Me,Bt(Me,x),N(Me,{size:o,rounded:i,fillMode:s,themeColor:c}),B(Me,{hover:h,focus:g,active:f,disabled:v||D,selected:C}),{"k-icon-button":!R&&!Ao&&yo}),...Mo,"aria-pressed":q?C?"true":"false":void 0,"aria-disabled":D?"true":void 0,disabled:v||void 0,children:[H&&(0,z.jsx)(u,{className:n(ye,"k-button-icon"),icon:H}),R?(0,z.jsxs)(z.Fragment,{children:[R&&(0,z.jsx)("span",{className:"k-button-text",children:R}),e.children]}):e.children&&(0,z.jsx)("span",{className:"k-button-text",children:e.children}),l&&(0,z.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,z.jsx)(u,{icon:m})})]})};b.states=ii;b.options=si;b.variants=ni;b.className=Me;b.defaultOptions=gt;b.moduleName=Nt;b.folderName=lo;b.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 co=require("react/jsx-runtime"),Ue=e=>(0,co.jsx)(b,{children:"Button",...e});var k=require("react/jsx-runtime"),ai=K.states,ri=K.defaultOptions,li=K.options,ci=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],pi=[],me=e=>{let{modifiers:t,valid:o,invalid:i,loading:s,disabled:c,readonly:l,...m}=e,x=t==null?void 0:t.prefix,h=t==null?void 0:t.suffix,g=t==null?void 0:t["clear-button"],f=t==null?void 0:t["validation-icon"],C=t==null?void 0:t.separators;return(0,k.jsxs)(K,{...m,valid:o,invalid:i,loading:s,disabled:c,readonly:l,style:{width:300},children:[x&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(ze,{children:(0,k.jsx)(u,{icon:"lock"})}),C&&(0,k.jsx)(de,{})]}),(0,k.jsx)(j,{placeholder:"Placeholder",value:"Value"}),f&&(0,k.jsx)(Ce,{valid:o,invalid:i,loading:s,disabled:c}),(0,k.jsx)(we,{loading:s,disabled:c}),g&&(0,k.jsx)(Ne,{loading:s,disabled:c,readonly:l,value:"Value"}),h&&(0,k.jsxs)(k.Fragment,{children:[C&&(0,k.jsx)(de,{}),(0,k.jsx)(De,{children:(0,k.jsx)(Ue,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};me.options=li;me.states=ai;me.variants=pi;me.defaultOptions=ri;me.modifiers=ci;me.className=K.className;var It="popup",po=It;var kt=require("react/jsx-runtime"),mo="k-animation-container",di=[],mi={},uo={positionMode:"absolute"},W=e=>{let{positionMode:t=uo.positionMode,animationStyle:o,offset:i,...s}=e;return(0,kt.jsx)("div",{...s,style:{...i,...e.style},className:n(e.className,mo,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,kt.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};W.states=di;W.options=mi;W.className=mo;W.defaultOptions=uo;W.moduleName=It;W.folderName=po;var Ct="popup",fo=Ct;var vt=require("react/jsx-runtime"),bo="k-popup",ui=[],fi={},xo={positionMode:"absolute"},$=e=>{let{offset:t,positionMode:o=xo.positionMode,animationStyle:i,containerClassName:s,containerRole:c,containerAriaLabel:l,...m}=e;return(0,vt.jsx)(W,{positionMode:o,offset:t,animationStyle:i,className:s,role:c,"aria-label":l,children:(0,vt.jsx)("div",{...m,className:n(e.className,bo),children:e.children})})};$.states=ui;$.options=fi;$.className=bo;$.defaultOptions=xo;$.moduleName=Ct;$.folderName=fo;$.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 St="smart-box",ho=St;var O=require("react/jsx-runtime"),Lo="k-smart-box",bi=[a.hover,a.focus,a.disabled],xi={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline]},No={separators:!0},_=e=>{let{size:t,rounded:o,fillMode:i,separators:s=No.separators,prefix:c,suffix:l,value:m,placeholder:x,hover:h,focus:g,disabled:f,popup:C,opened:v,processing:q,inputAriaLabel:D,inputAriaControls:H,inputAriaActiveDescendant:R,inputAriaAutocomplete:ye,...Fe}=e;return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(K,{...Fe,size:t,rounded:o,fillMode:i,hover:h,focus:g,disabled:f,loading:q,className:n(e.className,Lo),children:[c&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(ze,{children:c}),s&&(0,O.jsx)(de,{})]}),(0,O.jsx)(j,{placeholder:x,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":v?"true":"false","aria-autocomplete":ye,"aria-controls":v?H:void 0,"aria-activedescendant":v?R:void 0,"aria-label":D}),l&&(0,O.jsxs)(O.Fragment,{children:[s&&(0,O.jsx)(de,{}),(0,O.jsx)(De,{children:l})]})]}),v&&C&&(0,O.jsx)($,{className:"k-smart-box-popup",children:C})]})};_.states=bi;_.options=xi;_.className=Lo;_.defaultOptions=No;_.moduleName=St;_.folderName=ho;_.ariaSpec={selector:".k-smart-box",rules:[{selector:".k-smart-box .k-input-inner",attribute:"role=combobox",usage:"Announces the combobox role for the SmartBox input."},{selector:".k-smart-box .k-input-inner",attribute:"aria-label or aria-labelledby",usage:'Provides an accessible label for the SmartBox (e.g., "AI-powered search").'},{selector:".k-smart-box .k-input-inner",attribute:"aria-expanded",usage:"Indicates whether the suggestion popup is currently visible."},{selector:".k-smart-box .k-input-inner",attribute:"aria-haspopup=listbox",usage:"Indicates that the SmartBox has a popup listbox with suggestions."},{selector:".k-smart-box .k-input-inner",attribute:"aria-controls (when present)",usage:"References the ID of the popup listbox element when the popup is open."},{selector:".k-smart-box .k-input-inner",attribute:"aria-autocomplete (when present)",usage:"Indicates the autocomplete behavior of the input field."},{selector:".k-smart-box .k-input-inner",attribute:"aria-activedescendant (when present)",usage:"When the popup is open and keyboard navigation is active, references the ID of the currently focused list item."},{selector:".k-smart-box .k-input-prefix .k-icon",attribute:"aria-hidden=true",usage:"Decorative icons in the prefix area are hidden from screen readers."},{selector:".k-smart-box .k-input-suffix .k-button",attribute:"aria-label",usage:'Suffix buttons must have accessible labels describing their function (e.g., "Start voice input", "Send prompt").'},{selector:".k-smart-box .k-smart-box-send",attribute:"aria-label",usage:'The send button must be labelled to indicate its current action (e.g., "Send" or "Stop processing").'},{selector:".k-smart-box .k-smart-box-send.k-disabled",attribute:"disabled or aria-disabled=true",usage:"Indicates the button is disabled when there is no input or processing is not active."},{selector:".k-smart-box .k-smart-box-send.k-processing",attribute:"aria-pressed=true",usage:"Indicates that processing is in progress. The button changes function to stop processing."}]};var go=require("react/jsx-runtime"),ee=e=>(0,go.jsx)(b,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var ko=require("react/jsx-runtime"),Io=e=>(0,ko.jsx)(b,{icon:"folder",children:"Button",...e});var Ge=require("react/jsx-runtime"),hi=b.options,Li=b.states,Ni={...b.defaultOptions,variant:"text"},gi=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ii=[],ue=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,Ge.jsx)(ee,{...o,icon:"star"});case"icon-and-text":return(0,Ge.jsx)(Io,{...o,icon:"star",children:"Button"});default:return(0,Ge.jsx)(Ue,{...o,children:"Button"})}};ue.options=hi;ue.states=Li;ue.variants=gi;ue.defaultOptions=Ni;ue.modifiers=Ii;ue.className=b.className;var So=require("react/jsx-runtime"),Co="k-smart-box-send",vo={processing:!1},X=e=>{let{processing:t=vo.processing,...o}=e;return(0,So.jsx)(b,{...o,rounded:"full",size:"small",icon:t?"stop-sm":"arrow-up-outline",active:t,"aria-pressed":t?"true":void 0,"aria-label":t?"Stop processing":"Send",className:n(e.className,Co,{"k-processing":t})})};X.states=b.states;X.options=b.options;X.className=Co;X.defaultOptions=vo;var Mt=require("react/jsx-runtime");var yt=require("react/jsx-runtime");var At=require("react/jsx-runtime");var Ot=require("react/jsx-runtime");var S=require("react/jsx-runtime"),ki=e=>{let t=I("sb-listbox"),o=I("sb-item"),i=I("sb-item");return(0,S.jsx)(_,{opened:!0,focus:!0,separators:!1,inputAriaLabel:"AI-powered search",inputAriaControls:t,inputAriaAutocomplete:"list",inputAriaActiveDescendant:o,prefix:(0,S.jsx)(S.Fragment,{children:(0,S.jsx)(u,{icon:"sparkles",className:"k-accent-icon","aria-hidden":"true"})}),suffix:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(ee,{icon:"microphone-outline",fillMode:"clear",rounded:"full",size:"small","aria-label":"Start voice input"}),(0,S.jsx)(X,{})]}),popup:(0,S.jsx)(S.Fragment,{children:(0,S.jsx)(M,{children:(0,S.jsxs)(G,{listboxId:t,"aria-label":"Suggestions",children:[(0,S.jsx)(A,{id:o,focus:!0,children:"List item 1"}),(0,S.jsx)(A,{id:i,children:"List item 2"})]})})}),...e})};
1
+ var Oo=Object.create;var Ae=Object.defineProperty;var To=Object.getOwnPropertyDescriptor;var Eo=Object.getOwnPropertyNames;var Bo=Object.getPrototypeOf,Ko=Object.prototype.hasOwnProperty;var Ro=(e,t)=>{for(var o in t)Ae(e,o,{get:t[o],enumerable:!0})},Tt=(e,t,o,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Eo(t))!Ko.call(e,s)&&s!==o&&Ae(e,s,{get:()=>t[s],enumerable:!(i=To(t,s))||i.enumerable});return e};var Et=(e,t,o)=>(o=e!=null?Oo(Bo(e)):{},Tt(t||!e||!e.__esModule?Ae(o,"default",{value:e,enumerable:!0}):o,e)),Po=e=>Tt(Ae({},"__esModule",{value:!0}),e);var Ci={};Ro(Ci,{SmartBoxOpenedFocused:()=>ki});module.exports=Po(Ci);var Oe=Et(require("react"));var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...t):typeof t=="object"?Object.keys(t).map((o,i)=>t[i]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var N=(e,t)=>n({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),B=(e,t)=>{let{valid:o,invalid:i,hover:s,focus:c,checked:l,active:m,selected:x,disabled:h,indeterminate:g,loading:f,empty:C,readonly:v,highlighted:q,...D}=t;return n({"k-valid":o,"k-invalid":i,"k-hover":s,"k-focus":c,"k-checked":l,"k-active":m,"k-selected":x,"k-disabled":h,"k-indeterminate":g&&!l,"k-loading":f,"k-empty":C,"k-readonly":v,"k-highlighted":q},Object.keys(D).reduce((H,R)=>(R.startsWith("k-")?H[R]=D[R]:H[`k-${R}`]=D[R],H),{}))};function Bt(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(i=>[`k-${i}`,!0]))}var r={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},d={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},L={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},p={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},a={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 Ve={};function I(e){return Ve[e]=(Ve[e]||0)+1,`k-${e}-${Ve[e]}`}var $e=require("react/jsx-runtime"),_o="k-list-group-sticky-header",Xe=e=>(0,$e.jsx)("div",{className:n(_o,e.className),children:(0,$e.jsx)("div",{className:"k-list-header-text",children:e.children})});var Kt=require("react/jsx-runtime"),Ho="k-no-data",We=e=>{let{live:t,...o}=e;return(0,Kt.jsx)("span",{...o,className:n(Ho,e.className),"aria-live":t?"polite":void 0,children:e.children})};var J="list",te=J;var oe=require("react/jsx-runtime"),qe="k-list",wo=[],zo={size:[r.undefined,r.small,r.medium,r.large]},Do={},M=e=>{var v;let{size:t,virtualization:o,children:i,header:s,optionLabel:c,customValue:l,noData:m,screenReaders:x,...h}=e,f=Oe.default.Children.toArray(i)[0],C=(v=f==null?void 0:f.props)!=null&&v.children?Oe.default.Children.count(f.props.children):Oe.default.Children.count(i);return(0,oe.jsxs)("div",{...h,className:n(e.className,qe,N(qe,{size:t}),{"k-virtual-list":o}),children:[c,l,s&&(0,oe.jsx)(Xe,{children:s}),i||(m!==void 0?m:(0,oe.jsx)(We,{live:!0,children:"No data found."})),x&&i&&(0,oe.jsxs)(We,{className:"k-sr-only",live:!0,children:[C," items found."]})]})};M.states=wo;M.options=zo;M.className=qe;M.defaultOptions=Do;M.moduleName=J;M.folderName=te;M.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var Pt=require("react/jsx-runtime"),Rt="k-list-container",Uo=[],Go={},Fo={},ne=e=>{let{...t}=e;return(0,Pt.jsx)("div",{...t,className:n(e.className,Rt),children:e.children})};ne.states=Uo;ne.options=Go;ne.className=Rt;ne.defaultOptions=Fo;ne.moduleName=J;ne.folderName=te;var Q="checkbox",ie=Q;var Je=require("react/jsx-runtime"),Te="k-checkbox",Vo=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.checked,a.indeterminate],$o={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full]},Xo={},P=e=>{let{id:t,checked:o,indeterminate:i,hover:s,focus:c,disabled:l,invalid:m,valid:x,required:h,size:g,rounded:f,wrapperRole:C,...v}=e;return(0,Je.jsx)("span",{className:"k-checkbox-wrap",role:C,children:(0,Je.jsx)("input",{...v,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:n(e.className,Te,N(Te,{size:g,rounded:f}),B(Te,{hover:s,focus:c,disabled:l,invalid:m,valid:x,indeterminate:i,checked:o}))})})};P.states=Vo;P.options=$o;P.className=Te;P.defaultOptions=Xo;P.moduleName=Q;P.folderName=ie;P.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 w=P;var wt=require("react/jsx-runtime"),_t="k-checkbox-list",Wo=[],qo={},Ht={layout:"vertical"},T=e=>{let{layout:t=Ht.layout,...o}=e;return(0,wt.jsx)("ul",{...o,className:n(e.className,_t,{[`k-list-${t}`]:t}),children:e.children})};T.states=Wo;T.options=qo;T.className=_t;T.defaultOptions=Ht;T.moduleName=Q;T.folderName=ie;var Dt=require("react/jsx-runtime"),zt="k-checkbox-list-item",Jo=[],Qo={},Yo={},E=e=>{let{...t}=e;return(0,Dt.jsx)("li",{...t,className:n(e.className,zt),children:e.children})};E.states=Jo;E.options=Qo;E.className=zt;E.defaultOptions=Yo;E.moduleName=Q;E.folderName=ie;var Y=require("react/jsx-runtime"),F=({children:e="Label",id:t="cb-label-after",...o})=>(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(w,{id:t,...o}),(0,Y.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var Qe=require("react/jsx-runtime");var Ye=require("react/jsx-runtime");var Ze=require("react/jsx-runtime");var Zo=require("react/jsx-runtime");var jo=require("react/jsx-runtime");var en=require("react/jsx-runtime");var y=require("react/jsx-runtime"),tn=T.options,on=T.states,nn={...T.defaultOptions,variant:"vertical"},sn=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],an=[],se=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,y.jsxs)(T,{layout:"horizontal",...o,children:[(0,y.jsx)(E,{children:(0,y.jsx)(F,{id:I("cb"),defaultChecked:!0,children:"Label"})}),(0,y.jsx)(E,{children:(0,y.jsx)(F,{id:I("cb"),children:"Label"})}),(0,y.jsx)(E,{children:(0,y.jsx)(F,{id:I("cb"),children:"Label"})})]}):(0,y.jsxs)(T,{...o,children:[(0,y.jsx)(E,{children:(0,y.jsx)(F,{id:I("cb"),defaultChecked:!0,children:"Label"})}),(0,y.jsx)(E,{children:(0,y.jsx)(F,{id:I("cb"),children:"Label"})}),(0,y.jsx)(E,{children:(0,y.jsx)(F,{id:I("cb"),children:"Label"})})]})};se.options=tn;se.states=on;se.variants=sn;se.defaultOptions=nn;se.modifiers=an;se.className=T.className;var Ut=require("react/jsx-runtime"),rn=w.options,ln=w.states,cn=w.defaultOptions,pn=[],dn=[],ae=e=>(0,Ut.jsx)(F,{id:I("checkbox"),...e,defaultChecked:!0,children:"Label"});ae.options=rn;ae.states=ln;ae.variants=pn;ae.defaultOptions=cn;ae.modifiers=dn;ae.className=w.className;var fe=require("react/jsx-runtime"),je="k-font-icon",mn=[],un={size:[r.undefined,r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info]},fn={},be=e=>{let{size:t,themeColor:o,icon:i,rotate:s,flip:c,...l}=e;return i?(0,fe.jsx)("span",{...l,className:n(e.className,je,N(je,{size:t}),{[`k-i-${i}`]:i,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":c==="h"||c==="both","k-flip-v":c==="v"||c==="both"}),"aria-hidden":"true"}):(0,fe.jsx)(fe.Fragment,{})};be.states=mn;be.options=un;be.className=je;be.defaultOptions=fn;var Gt=be;var Z=require("react/jsx-runtime"),et="k-svg-icon",bn=[],xn={size:[r.undefined,r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info]},Ft={viewBox:"0 0 24 24"},xe=e=>{let{size:t,themeColor:o,rotate:i,flip:s,viewBox:c=Ft.viewBox,icon:l,...m}=e;if(!l)return(0,Z.jsx)(Z.Fragment,{});if(l==="none")return(0,Z.jsx)("span",{...m,className:n(e.className,et,N("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof l=="object"&&l.name&&l.name;return(0,Z.jsx)("span",{...m,className:n(e.className,et,N("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true",children:(0,Z.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof l=="object"?l.viewBox:c,dangerouslySetInnerHTML:typeof l=="object"?{__html:l.content}:void 0,children:l?void 0:e.children})})};xe.states=bn;xe.options=xn;xe.className=et;xe.defaultOptions=Ft;var tt=xe;var ot=Et(require("@progress/kendo-svg-icons"));var Vt="icon",$t="icons";var qt=require("react");var Xt=require("react"),Wt=(0,Xt.createContext)({iconsType:"svg"});var V=require("react/jsx-runtime"),Ee="k-icon",hn=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Ln=[],Nn={size:[r.undefined,r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info]},nt={viewBox:"0 0 24 24",type:"svg"},u=e=>{let{iconsType:t}=(0,qt.useContext)(Wt),{size:o,themeColor:i,icon:s,type:c=t||nt.type,rotate:l,flip:m,viewBox:x=nt.viewBox,...h}=e;if(!s)return(0,V.jsx)(V.Fragment,{});if((t||c)==="svg"){if(s==="none")return(0,V.jsx)(tt,{...h,className:n(e.className,Ee),icon:s,size:o});let f=ot[s]?s:hn(`${s}-icon`);return ot[f]?(0,V.jsx)(tt,{...h,className:n(e.className,Ee),icon:ot[f],size:o,themeColor:i,rotate:l,flip:m,viewBox:x}):(0,V.jsx)(V.Fragment,{})}return(0,V.jsx)(Gt,{...h,className:n(e.className,Ee),icon:s,size:o,themeColor:i,rotate:l,flip:m})};u.states=Ln;u.options=Nn;u.defaultOptions=nt;u.className=Ee;u.moduleName=Vt;u.folderName=$t;u.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 U=require("react/jsx-runtime"),it="k-list-item",gn=[a.hover,a.focus,a.selected,a.disabled],In={},kn={},A=e=>{let{text:t,groupLabel:o,group:i,iconName:s,iconClassName:c,showCheckbox:l,checked:m,hover:x,focus:h,selected:g,disabled:f,actions:C,description:v,id:q,...D}=e,H=t||e.children;return(0,U.jsxs)("li",{...D,id:q,role:i?"presentation":"option",tabIndex:i?void 0:h?0:-1,"aria-selected":!i&&g?"true":i?void 0:"false","aria-disabled":!i&&f?"true":void 0,className:n(e.className,i?"k-list-group-item":it,B(it,{hover:x,focus:h,disabled:f,selected:g})),children:[l&&(0,U.jsx)(P,{checked:m}),s&&(0,U.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,U.jsx)(u,{icon:s,className:n("k-list-item-icon",c)})}),(0,U.jsx)("span",{className:"k-list-item-text",children:H}),C&&(0,U.jsx)("div",{className:"k-list-item-actions",children:C}),v&&(0,U.jsx)("span",{className:"k-list-item-description",children:v}),o&&o!==""&&(0,U.jsx)("div",{className:"k-list-item-group-label",children:o})]})};A.states=gn;A.options=In;A.className=it;A.defaultOptions=kn;A.moduleName=J;A.folderName=te;A.ariaSpec={selector:".k-list-item",rules:[{selector:".k-list-item",attribute:"role=option",usage:"Each list item is an option in the listbox."},{selector:".k-list-item",attribute:"id",usage:"ID for aria-activedescendant reference."},{selector:".k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state of the option."},{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-item-icon",attribute:"aria-hidden=true",usage:"Decorative icons are hidden from assistive technology."}]};var Jt=require("react/jsx-runtime"),Cn="k-list-ul",he=e=>{let{children:t,role:o,id:i,...s}=e;return(0,Jt.jsx)("ul",{...s,id:i,role:o,className:n(Cn,e.className),children:t})};he.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 re=require("react/jsx-runtime"),vn="k-list-content",G=e=>{let{virtualization:t,grouping:o,"aria-label":i,"aria-labelledby":s,listboxId:c,...l}=e;return(0,re.jsxs)("div",{...l,className:n(vn,e.className),role:o?"listbox":void 0,id:o?c:void 0,"aria-label":o?i:void 0,"aria-labelledby":o?s:void 0,children:[o?e.children:(0,re.jsx)(he,{role:"listbox",id:c,"aria-label":i,"aria-labelledby":s,children:e.children}),t&&(0,re.jsx)("div",{className:"k-height-container",children:(0,re.jsx)("div",{})})]})};G.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 st=require("react/jsx-runtime");var le=require("react/jsx-runtime"),Sn="k-list-group-item",at=e=>{let{groupIconName:t,...o}=e;return(0,le.jsxs)("li",{...o,role:"presentation",className:n(Sn,e.className),children:[t&&(0,le.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,le.jsx)(u,{icon:t,className:"k-list-item-icon"})}),(0,le.jsx)("span",{className:"k-list-item-text",children:e.children})]})};at.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 Qt=require("react/jsx-runtime"),rt="k-list-optionlabel",Mn=[a.hover,a.focus,a.selected,a.disabled],yn={},An={},Be=e=>{let{text:t,hover:o,focus:i,selected:s,disabled:c,...l}=e;return(0,Qt.jsx)("div",{...l,className:n(rt,B(rt,{hover:o,focus:i,selected:s,disabled:c})),children:t})};Be.states=Mn;Be.options=yn;Be.className=rt;Be.defaultOptions=An;var Yt=require("react/jsx-runtime"),lt="k-list-custom-value",On=[a.hover,a.focus,a.selected,a.disabled],Tn={},En={},Ke=e=>{let{text:t,hover:o,focus:i,selected:s,disabled:c,...l}=e;return(0,Yt.jsx)("div",{...l,className:n(lt,B(lt,{hover:o,focus:i,selected:s,disabled:c})),children:t})};Ke.states=On;Ke.options=Tn;Ke.className=lt;Ke.defaultOptions=En;var ct=require("react/jsx-runtime");var pt=require("react/jsx-runtime");var dt=require("react/jsx-runtime");var mt=require("react/jsx-runtime");var Bn=require("react/jsx-runtime");var ut=require("react/jsx-runtime");var Le="input",Re=Le;var Zt=require("react/jsx-runtime"),Pe="k-input",Kn=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Rn={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline]},Pn={},K=e=>{let{hover:t,focus:o,disabled:i,invalid:s,valid:c,loading:l,readonly:m,size:x,rounded:h,fillMode:g,...f}=e;return(0,Zt.jsx)("span",{...f,className:n(e.className,Pe,N(Pe,{size:x,rounded:h,fillMode:g}),B(Pe,{hover:t,focus:o,disabled:i,invalid:s,valid:c,loading:l,readonly:m}))})};K.states=Kn;K.options=Rn;K.className=Pe;K.defaultOptions=Pn;K.moduleName=Le;K.folderName=Re;var jt=require("react/jsx-runtime"),_e="k-picker",_n=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Hn={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline]},wn={},ce=e=>{let{hover:t,focus:o,disabled:i,invalid:s,valid:c,loading:l,readonly:m,size:x,rounded:h,fillMode:g,...f}=e;return(0,jt.jsx)("span",{...f,className:n(e.className,_e,N(_e,{size:x,rounded:h,fillMode:g}),B(_e,{hover:t,focus:o,disabled:i,invalid:s,valid:c,loading:l,readonly:m})),children:e.children})};ce.states=_n;ce.options=Hn;ce.className=_e;ce.defaultOptions=wn;ce.moduleName=Le;ce.folderName=Re;var pe=require("react/jsx-runtime"),eo="k-clear-value",zn=[a.disabled,a.loading,a.readonly],Dn={},Ne=e=>{let{disabled:t,loading:o,readonly:i,value:s}=e;return t||i||o||!s?(0,pe.jsx)(pe.Fragment,{}):(0,pe.jsx)("span",{className:n(e.className,eo),children:(0,pe.jsx)(u,{icon:"x"})})};Ne.states=zn;Ne.options=Dn;Ne.className=eo;var to=require("react/jsx-runtime"),ft="k-input-inner",Un=[],Gn={},He={type:"text",autocomplete:"off",value:"",placeholder:""},j=e=>{let{value:t=He.value,type:o=He.type,placeholder:i=He.placeholder,autocomplete:s=He.autocomplete,disabled:c,readOnly:l,...m}=e;return(0,to.jsx)("input",{...m,type:o,className:n(e.className,ft,N(ft,e)),placeholder:i,autoComplete:s,defaultValue:t,disabled:c||void 0,readOnly:l||void 0})};j.states=Un;j.options=Gn;j.className=ft;var ge=require("react/jsx-runtime"),bt="k-input-inner",Fn=[],Vn={},xt=e=>{let{value:t,placeholder:o,showValue:i,valueIcon:s,valueIconName:c,...l}=e;return(0,ge.jsxs)("span",{...l,className:n(e.className,bt,N(bt,e)),children:[s,!s&&c&&(0,ge.jsx)(u,{className:"k-input-value-icon",icon:c}),i&&!t&&o,i&&t&&(0,ge.jsx)("span",{className:"k-input-value-text",children:t})]})};xt.states=Fn;xt.options=Vn;xt.className=bt;var no=require("react/jsx-runtime"),ht="k-input-inner",$n=[],Xn={},oo={value:"",placeholder:""},Lt=e=>{let{value:t=oo.value,placeholder:o=oo.placeholder,rows:i,disabled:s,...c}=e;return(0,no.jsx)("textarea",{...c,className:n(e.className,ht,N(ht,e)),placeholder:o,rows:i,defaultValue:t,disabled:s||void 0})};Lt.states=$n;Lt.options=Xn;Lt.className=ht;var Ie=require("react/jsx-runtime"),io="k-input-loading-icon",Wn=[a.disabled,a.loading],we=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Ie.jsx)(Ie.Fragment,{}):(0,Ie.jsx)("span",{className:n(e.className,io,"k-icon k-i-loading")})};we.states=Wn;we.className=io;var ke=require("react/jsx-runtime"),so="k-input-validation-icon",qn=[a.valid,a.invalid,a.disabled,a.loading],Jn={},Ce=e=>{let{valid:t,invalid:o,disabled:i,loading:s}=e,c=o?"warning-circle":"check-circle";return i||s||!!!(t||o)?(0,ke.jsx)(ke.Fragment,{}):(0,ke.jsx)(u,{className:n(so),icon:c})};Ce.states=qn;Ce.options=Jn;Ce.className=so;var ve=require("react/jsx-runtime"),Qn="k-input-prefix",Yn={direction:"horizontal"},ze=e=>{let{direction:t=Yn.direction,...o}=e;return e.children?(0,ve.jsx)("span",{...o,className:n(Qn,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,ve.jsx)(ve.Fragment,{})};var Se=require("react/jsx-runtime"),Zn="k-input-suffix",jn={direction:"horizontal"},De=e=>{let{direction:t=jn.direction,...o}=e;return e.children?(0,Se.jsx)("span",{...o,className:n(Zn,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Se.jsx)(Se.Fragment,{})};var ei=require("react/jsx-runtime");var ti=require("react/jsx-runtime");var ro=require("react/jsx-runtime"),ao="k-input-separator",oi={direction:"vertical"},de=e=>{let{direction:t=oi.direction,...o}=e;return(0,ro.jsx)("span",{...o,className:n(ao,e.className,{[`${ao}-${t}`]:t})})};var Nt="button",lo=Nt;var z=require("react/jsx-runtime"),Me="k-button",ni=["icon-button"],ii=[a.hover,a.focus,a.active,a.selected,a.disabled,a.generating],si={size:[r.undefined,r.xsmall,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline,L.clear,L.link],themeColor:[p.undefined,p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.inverse]},gt={showArrow:!1,arrowIconName:"chevron-down"},b=e=>{let{as:t="button",size:o,rounded:i,fillMode:s,themeColor:c,showArrow:l=gt.showArrow,arrowIconName:m=gt.arrowIconName,variant:x,hover:h,focus:g,active:f,selected:C,disabled:v,togglable:q,ariaDisabled:D,icon:H,text:R,iconClassName:ye,className:Fe,...Mo}=e,yo=H!==void 0,Ao=e.children!==void 0;return(0,z.jsxs)(t,{className:n(Fe,Me,Bt(Me,x),N(Me,{size:o,rounded:i,fillMode:s,themeColor:c}),B(Me,{hover:h,focus:g,active:f,disabled:v||D,selected:C}),{"k-icon-button":!R&&!Ao&&yo}),...Mo,"aria-pressed":q?C?"true":"false":void 0,"aria-disabled":D?"true":void 0,disabled:v||void 0,children:[H&&(0,z.jsx)(u,{className:n(ye,"k-button-icon"),icon:H}),R?(0,z.jsxs)(z.Fragment,{children:[R&&(0,z.jsx)("span",{className:"k-button-text",children:R}),e.children]}):e.children&&(0,z.jsx)("span",{className:"k-button-text",children:e.children}),l&&(0,z.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,z.jsx)(u,{icon:m})})]})};b.states=ii;b.options=si;b.variants=ni;b.className=Me;b.defaultOptions=gt;b.moduleName=Nt;b.folderName=lo;b.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 co=require("react/jsx-runtime"),Ue=e=>(0,co.jsx)(b,{children:"Button",...e});var k=require("react/jsx-runtime"),ai=K.states,ri=K.defaultOptions,li=K.options,ci=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],pi=[],me=e=>{let{modifiers:t,valid:o,invalid:i,loading:s,disabled:c,readonly:l,...m}=e,x=t==null?void 0:t.prefix,h=t==null?void 0:t.suffix,g=t==null?void 0:t["clear-button"],f=t==null?void 0:t["validation-icon"],C=t==null?void 0:t.separators;return(0,k.jsxs)(K,{...m,valid:o,invalid:i,loading:s,disabled:c,readonly:l,style:{width:300},children:[x&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(ze,{children:(0,k.jsx)(u,{icon:"lock"})}),C&&(0,k.jsx)(de,{})]}),(0,k.jsx)(j,{placeholder:"Placeholder",value:"Value"}),f&&(0,k.jsx)(Ce,{valid:o,invalid:i,loading:s,disabled:c}),(0,k.jsx)(we,{loading:s,disabled:c}),g&&(0,k.jsx)(Ne,{loading:s,disabled:c,readonly:l,value:"Value"}),h&&(0,k.jsxs)(k.Fragment,{children:[C&&(0,k.jsx)(de,{}),(0,k.jsx)(De,{children:(0,k.jsx)(Ue,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};me.options=li;me.states=ai;me.variants=pi;me.defaultOptions=ri;me.modifiers=ci;me.className=K.className;var It="popup",po=It;var kt=require("react/jsx-runtime"),mo="k-animation-container",di=[],mi={},uo={positionMode:"absolute"},W=e=>{let{positionMode:t=uo.positionMode,animationStyle:o,offset:i,...s}=e;return(0,kt.jsx)("div",{...s,style:{...i,...e.style},className:n(e.className,mo,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,kt.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};W.states=di;W.options=mi;W.className=mo;W.defaultOptions=uo;W.moduleName=It;W.folderName=po;var Ct="popup",fo=Ct;var vt=require("react/jsx-runtime"),bo="k-popup",ui=[],fi={},xo={positionMode:"absolute"},$=e=>{let{offset:t,positionMode:o=xo.positionMode,animationStyle:i,containerClassName:s,containerRole:c,containerAriaLabel:l,...m}=e;return(0,vt.jsx)(W,{positionMode:o,offset:t,animationStyle:i,className:s,role:c,"aria-label":l,children:(0,vt.jsx)("div",{...m,className:n(e.className,bo),children:e.children})})};$.states=ui;$.options=fi;$.className=bo;$.defaultOptions=xo;$.moduleName=Ct;$.folderName=fo;$.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 St="smart-box",ho=St;var O=require("react/jsx-runtime"),Lo="k-smart-box",bi=[a.hover,a.focus,a.disabled],xi={size:[r.undefined,r.small,r.medium,r.large],rounded:[d.undefined,d.none,d.small,d.medium,d.large,d.full],fillMode:[L.undefined,L.solid,L.flat,L.outline]},No={separators:!0},_=e=>{let{size:t,rounded:o,fillMode:i,separators:s=No.separators,prefix:c,suffix:l,value:m,placeholder:x,hover:h,focus:g,disabled:f,popup:C,opened:v,processing:q,inputAriaLabel:D,inputAriaControls:H,inputAriaActiveDescendant:R,inputAriaAutocomplete:ye,...Fe}=e;return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(K,{...Fe,size:t,rounded:o,fillMode:i,hover:h,focus:g,disabled:f,loading:q,className:n(e.className,Lo),children:[c&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(ze,{children:c}),s&&(0,O.jsx)(de,{})]}),(0,O.jsx)(j,{placeholder:x,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":v?"true":"false","aria-autocomplete":ye,"aria-controls":v?H:void 0,"aria-activedescendant":v?R:void 0,"aria-label":D}),l&&(0,O.jsxs)(O.Fragment,{children:[s&&(0,O.jsx)(de,{}),(0,O.jsx)(De,{children:l})]})]}),v&&C&&(0,O.jsx)($,{className:"k-smart-box-popup",children:C})]})};_.states=bi;_.options=xi;_.className=Lo;_.defaultOptions=No;_.moduleName=St;_.folderName=ho;_.ariaSpec={selector:".k-smart-box",rules:[{selector:".k-smart-box .k-input-inner",attribute:"role=combobox",usage:"Announces the combobox role for the SmartBox input."},{selector:".k-smart-box .k-input-inner",attribute:"aria-label or aria-labelledby",usage:'Provides an accessible label for the SmartBox (e.g., "AI-powered search").'},{selector:".k-smart-box .k-input-inner",attribute:"aria-expanded",usage:"Indicates whether the suggestion popup is currently visible."},{selector:".k-smart-box .k-input-inner",attribute:"aria-haspopup=listbox",usage:"Indicates that the SmartBox has a popup listbox with suggestions."},{selector:".k-smart-box .k-input-inner",attribute:"aria-controls (when present)",usage:"References the ID of the popup listbox element when the popup is open."},{selector:".k-smart-box .k-input-inner",attribute:"aria-autocomplete (when present)",usage:"Indicates the autocomplete behavior of the input field."},{selector:".k-smart-box .k-input-inner",attribute:"aria-activedescendant (when present)",usage:"When the popup is open and keyboard navigation is active, references the ID of the currently focused list item."},{selector:".k-smart-box .k-input-prefix .k-icon",attribute:"aria-hidden=true",usage:"Decorative icons in the prefix area are hidden from screen readers."},{selector:".k-smart-box .k-input-suffix .k-button",attribute:"aria-label",usage:'Suffix buttons must have accessible labels describing their function (e.g., "Start voice input", "Send prompt").'},{selector:".k-smart-box .k-smart-box-send",attribute:"aria-label",usage:'The send button must be labelled to indicate its current action (e.g., "Send" or "Stop processing").'},{selector:".k-smart-box .k-smart-box-send.k-disabled",attribute:"disabled or aria-disabled=true",usage:"Indicates the button is disabled when there is no input or processing is not active."},{selector:".k-smart-box .k-smart-box-send.k-processing",attribute:"aria-pressed=true",usage:"Indicates that processing is in progress. The button changes function to stop processing."}]};var go=require("react/jsx-runtime"),ee=e=>(0,go.jsx)(b,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var ko=require("react/jsx-runtime"),Io=e=>(0,ko.jsx)(b,{icon:"folder",children:"Button",...e});var Ge=require("react/jsx-runtime"),hi=b.options,Li=b.states,Ni={...b.defaultOptions,variant:"text"},gi=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ii=[],ue=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,Ge.jsx)(ee,{...o,icon:"star"});case"icon-and-text":return(0,Ge.jsx)(Io,{...o,icon:"star",children:"Button"});default:return(0,Ge.jsx)(Ue,{...o,children:"Button"})}};ue.options=hi;ue.states=Li;ue.variants=gi;ue.defaultOptions=Ni;ue.modifiers=Ii;ue.className=b.className;var So=require("react/jsx-runtime"),Co="k-smart-box-send",vo={processing:!1},X=e=>{let{processing:t=vo.processing,...o}=e;return(0,So.jsx)(b,{...o,rounded:"full",size:"small",icon:t?"stop":"arrow-up",active:t,"aria-pressed":t?"true":void 0,"aria-label":t?"Stop processing":"Send",className:n(e.className,Co,{"k-processing":t})})};X.states=b.states;X.options=b.options;X.className=Co;X.defaultOptions=vo;var Mt=require("react/jsx-runtime");var yt=require("react/jsx-runtime");var At=require("react/jsx-runtime");var Ot=require("react/jsx-runtime");var S=require("react/jsx-runtime"),ki=e=>{let t=I("sb-listbox"),o=I("sb-item"),i=I("sb-item");return(0,S.jsx)(_,{opened:!0,focus:!0,separators:!1,inputAriaLabel:"AI-powered search",inputAriaControls:t,inputAriaAutocomplete:"list",inputAriaActiveDescendant:o,prefix:(0,S.jsx)(S.Fragment,{children:(0,S.jsx)(u,{icon:"sparkles",className:"k-accent-icon","aria-hidden":"true"})}),suffix:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(ee,{icon:"microphone",fillMode:"clear",rounded:"full",size:"small","aria-label":"Start voice input"}),(0,S.jsx)(X,{})]}),popup:(0,S.jsx)(S.Fragment,{children:(0,S.jsx)(M,{children:(0,S.jsxs)(G,{listboxId:t,"aria-label":"Suggestions",children:[(0,S.jsx)(A,{id:o,focus:!0,children:"List item 1"}),(0,S.jsx)(A,{id:i,children:"List item 2"})]})})}),...e})};