@carto/ps-react-ui 5.0.0 → 6.0.0

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 (1137) hide show
  1. package/dist/{actions-yPZwFxSZ.js → actions-KsX1xdDM.js} +388 -368
  2. package/dist/actions-KsX1xdDM.js.map +1 -0
  3. package/dist/category-CsdDqDzo.js +833 -0
  4. package/dist/category-CsdDqDzo.js.map +1 -0
  5. package/dist/chat.js +548 -526
  6. package/dist/chat.js.map +1 -1
  7. package/dist/{components-FED-ArwH.js → components-CTUpdQuj.js} +1526 -1782
  8. package/dist/components-CTUpdQuj.js.map +1 -0
  9. package/dist/components.js +4 -5
  10. package/dist/{download-DdaK3qgC.js → download-Vlzn2jzb.js} +12 -12
  11. package/dist/download-Vlzn2jzb.js.map +1 -0
  12. package/dist/{echart-DeBgdOtX.js → echart-DjcbtKgi.js} +34 -35
  13. package/dist/echart-DjcbtKgi.js.map +1 -0
  14. package/dist/formula-CdHWtepq.js +282 -0
  15. package/dist/formula-CdHWtepq.js.map +1 -0
  16. package/dist/legend.js +261 -256
  17. package/dist/legend.js.map +1 -1
  18. package/dist/{markdown-2dfL6Cmb.js → markdown-CY-67NRE.js} +8 -8
  19. package/dist/markdown-CY-67NRE.js.map +1 -0
  20. package/dist/{markdown-content-BWUqwx9F.js → markdown-content-kYNLOX0T.js} +2 -2
  21. package/dist/markdown-content-kYNLOX0T.js.map +1 -0
  22. package/dist/{chart-config-B_fdIcD3.js → option-builders-DQivvvbb.js} +10 -56
  23. package/dist/option-builders-DQivvvbb.js.map +1 -0
  24. package/dist/{range-BCMAl5xf.js → range-DHQSsl2_.js} +8 -8
  25. package/dist/range-DHQSsl2_.js.map +1 -0
  26. package/dist/smart-tooltip-Dc_rHhyI.js +51 -0
  27. package/dist/smart-tooltip-Dc_rHhyI.js.map +1 -0
  28. package/dist/{spread-Ccpg9fi0.js → spread-DuM5oTI1.js} +10 -10
  29. package/dist/spread-DuM5oTI1.js.map +1 -0
  30. package/dist/{stores-tiFePP0A.js → stores-B8CHbgw-.js} +11 -11
  31. package/dist/stores-B8CHbgw-.js.map +1 -0
  32. package/dist/stores-mad-9yFn.js.map +1 -1
  33. package/dist/styles-BCEBm7xh.js +146 -0
  34. package/dist/styles-BCEBm7xh.js.map +1 -0
  35. package/dist/{table-Bx9Uj3U0.js → table-BE4uO9pp.js} +14 -14
  36. package/dist/table-BE4uO9pp.js.map +1 -0
  37. package/dist/types/chat/bubbles/chat-suggestion-button.d.ts +1 -1
  38. package/dist/types/chat/types.d.ts +5 -2
  39. package/dist/types/components/index.d.ts +1 -3
  40. package/dist/types/components/lasso-tool/geometry-toolbar.d.ts +1 -1
  41. package/dist/types/components/lasso-tool/toolbar/context.d.ts +1 -1
  42. package/dist/types/components/types.d.ts +15 -0
  43. package/dist/types/legend/components/legend-actions/legend-actions.d.ts +2 -2
  44. package/dist/types/legend/components/legend-swatch/legend-swatch.d.ts +2 -1
  45. package/dist/types/legend/index.d.ts +1 -1
  46. package/dist/types/legend/provider/legend-provider.d.ts +2 -2
  47. package/dist/types/migration/v4/classes.d.ts +16 -0
  48. package/dist/types/migration/v4/icons.d.ts +31 -0
  49. package/dist/types/migration/v4/index.d.ts +17 -0
  50. package/dist/types/migration/v4/rules.d.ts +42 -0
  51. package/dist/types/migration/v4/transform.d.ts +4 -0
  52. package/dist/types/migration/v4/transforms/helpers.d.ts +97 -0
  53. package/dist/types/migration/v4/transforms/meridian-5.d.ts +22 -0
  54. package/dist/types/migration/v4/transforms/ps-react-ui.d.ts +20 -0
  55. package/dist/types/migration/v4/transforms/v5-v6.d.ts +27 -0
  56. package/dist/types/migration/v4/transforms/v6-v7.d.ts +54 -0
  57. package/dist/types/migration/v4/transforms/v7-v9-dom.d.ts +63 -0
  58. package/dist/types/migration/v4/transforms/v7-v9-props.d.ts +64 -0
  59. package/dist/types/migration/v4/widgets-v1.d.ts +12 -0
  60. package/dist/types/widgets/actions/brush-toggle/brush-toggle.d.ts +51 -24
  61. package/dist/types/widgets/actions/brush-toggle/style.d.ts +7 -16
  62. package/dist/types/widgets/actions/change-column/change-column-icon.d.ts +2 -1
  63. package/dist/types/widgets/actions/change-column/change-column.d.ts +26 -17
  64. package/dist/types/widgets/actions/change-column/sortable-column-item.d.ts +10 -5
  65. package/dist/types/widgets/actions/change-column/types.d.ts +9 -18
  66. package/dist/types/widgets/actions/download/download.d.ts +18 -13
  67. package/dist/types/widgets/actions/download/exports.d.ts +33 -17
  68. package/dist/types/{widgets-v2 → widgets}/actions/download/png-item.d.ts +1 -1
  69. package/dist/types/widgets/actions/download/types.d.ts +30 -16
  70. package/dist/types/widgets/actions/fullscreen/fullscreen.d.ts +73 -10
  71. package/dist/types/{widgets-v2 → widgets}/actions/fullscreen/style.d.ts +9 -0
  72. package/dist/types/widgets/actions/fullscreen/types.d.ts +13 -20
  73. package/dist/types/widgets/actions/index.d.ts +10 -20
  74. package/dist/types/widgets/actions/lock-selection/lock-selection.d.ts +54 -16
  75. package/dist/types/widgets/actions/relative-data/relative-data.d.ts +36 -21
  76. package/dist/types/{widgets-v2 → widgets}/actions/relative-data/transforms.d.ts +2 -2
  77. package/dist/types/widgets/actions/searcher/searcher-toggle.d.ts +21 -16
  78. package/dist/types/widgets/actions/searcher/searcher.d.ts +9 -19
  79. package/dist/types/widgets/actions/stack-toggle/stack-toggle.d.ts +10 -17
  80. package/dist/types/widgets/actions/zoom-toggle/style.d.ts +7 -8
  81. package/dist/types/widgets/actions/zoom-toggle/zoom-toggle.d.ts +31 -22
  82. package/dist/types/widgets/bar/index.d.ts +3 -2
  83. package/dist/types/widgets/bar/skeleton.d.ts +5 -0
  84. package/dist/types/widgets/bar/types.d.ts +46 -9
  85. package/dist/types/widgets/category/category-ui.d.ts +86 -3
  86. package/dist/types/{widgets-v2 → widgets}/category/components/category-bar-stacked.d.ts +2 -1
  87. package/dist/types/widgets/category/components/category-bar.d.ts +18 -4
  88. package/dist/types/widgets/category/components/category-legend.d.ts +30 -4
  89. package/dist/types/widgets/category/components/category-row-multi.d.ts +27 -10
  90. package/dist/types/widgets/category/components/category-row-other.d.ts +19 -2
  91. package/dist/types/widgets/category/components/category-row-single.d.ts +23 -9
  92. package/dist/types/{widgets-v2 → widgets}/category/components/category-row-stacked.d.ts +2 -1
  93. package/dist/types/widgets/category/index.d.ts +10 -14
  94. package/dist/types/widgets/category/skeleton.d.ts +11 -1
  95. package/dist/types/widgets/category/style.d.ts +155 -83
  96. package/dist/types/widgets/category/types.d.ts +49 -29
  97. package/dist/types/widgets/echart/echart-ui.d.ts +44 -9
  98. package/dist/types/widgets/echart/echart.d.ts +80 -5
  99. package/dist/types/widgets/echart/index.d.ts +4 -5
  100. package/dist/types/widgets/echart/shared-resize-observer.d.ts +2 -9
  101. package/dist/types/{widgets-v2 → widgets}/echart/style.d.ts +1 -0
  102. package/dist/types/widgets/formula/formula-ui.d.ts +18 -3
  103. package/dist/types/widgets/formula/index.d.ts +11 -11
  104. package/dist/types/{widgets-v2 → widgets}/formula/series.d.ts +2 -1
  105. package/dist/types/widgets/formula/skeleton.d.ts +4 -1
  106. package/dist/types/widgets/formula/style.d.ts +20 -12
  107. package/dist/types/widgets/formula/types.d.ts +41 -39
  108. package/dist/types/{widgets-v2 → widgets}/formula/value.d.ts +2 -1
  109. package/dist/types/widgets/histogram/index.d.ts +5 -4
  110. package/dist/types/widgets/histogram/skeleton.d.ts +9 -1
  111. package/dist/types/widgets/histogram/types.d.ts +60 -12
  112. package/dist/types/{widgets-v2 → widgets}/index.d.ts +3 -3
  113. package/dist/types/widgets/markdown/index.d.ts +5 -4
  114. package/dist/types/widgets/markdown/markdown-ui.d.ts +10 -7
  115. package/dist/types/widgets/markdown/markdown.d.ts +4 -3
  116. package/dist/types/widgets/markdown/skeleton.d.ts +4 -1
  117. package/dist/types/widgets/markdown/style.d.ts +61 -2
  118. package/dist/types/widgets/markdown/types.d.ts +2 -16
  119. package/dist/types/widgets/note/style.d.ts +14 -16
  120. package/dist/types/widgets/pie/index.d.ts +4 -3
  121. package/dist/types/widgets/pie/skeleton.d.ts +13 -1
  122. package/dist/types/widgets/pie/types.d.ts +57 -9
  123. package/dist/types/widgets/range/index.d.ts +4 -6
  124. package/dist/types/widgets/range/range-ui.d.ts +25 -3
  125. package/dist/types/widgets/range/skeleton.d.ts +9 -1
  126. package/dist/types/widgets/range/style.d.ts +40 -2
  127. package/dist/types/widgets/range/types.d.ts +26 -22
  128. package/dist/types/widgets/scatterplot/index.d.ts +5 -3
  129. package/dist/types/widgets/scatterplot/skeleton.d.ts +12 -1
  130. package/dist/types/widgets/scatterplot/types.d.ts +54 -9
  131. package/dist/types/widgets/selection-summary/selection-summary.d.ts +26 -10
  132. package/dist/types/widgets/selection-summary/style.d.ts +32 -3
  133. package/dist/types/widgets/spread/index.d.ts +7 -9
  134. package/dist/types/widgets/spread/skeleton.d.ts +9 -1
  135. package/dist/types/widgets/spread/spread-ui.d.ts +16 -3
  136. package/dist/types/widgets/spread/types.d.ts +20 -35
  137. package/dist/types/widgets/stores/index.d.ts +8 -3
  138. package/dist/types/widgets/stores/types.d.ts +45 -172
  139. package/dist/types/widgets/subheader/style.d.ts +5 -14
  140. package/dist/types/widgets/subheader/subheader.d.ts +9 -11
  141. package/dist/types/widgets/table/helpers.d.ts +28 -34
  142. package/dist/types/widgets/table/index.d.ts +8 -17
  143. package/dist/types/widgets/table/skeleton.d.ts +17 -5
  144. package/dist/types/widgets/table/style.d.ts +21 -14
  145. package/dist/types/widgets/table/table-ui.d.ts +41 -29
  146. package/dist/types/widgets/table/types.d.ts +34 -182
  147. package/dist/types/widgets/timeseries/index.d.ts +4 -2
  148. package/dist/types/widgets/timeseries/skeleton.d.ts +7 -0
  149. package/dist/types/widgets/timeseries/types.d.ts +60 -9
  150. package/dist/types/{widgets-v2 → widgets}/types.d.ts +7 -6
  151. package/dist/types/widgets/utils/index.d.ts +3 -7
  152. package/dist/types/widgets/wrapper/index.d.ts +4 -6
  153. package/dist/{utils-Dr6gf3vD.js → utils-BStJWhZN.js} +5 -5
  154. package/dist/utils-BStJWhZN.js.map +1 -0
  155. package/dist/widgets/actions.js +4 -2
  156. package/dist/widgets/bar.js +202 -132
  157. package/dist/widgets/bar.js.map +1 -1
  158. package/dist/widgets/category.js +2 -450
  159. package/dist/widgets/echart.js +2 -3
  160. package/dist/widgets/formula.js +2 -3
  161. package/dist/widgets/histogram.js +263 -160
  162. package/dist/widgets/histogram.js.map +1 -1
  163. package/dist/widgets/markdown.js +3 -148
  164. package/dist/widgets/pie.js +317 -197
  165. package/dist/widgets/pie.js.map +1 -1
  166. package/dist/widgets/range.js +2 -233
  167. package/dist/widgets/scatterplot.js +300 -196
  168. package/dist/widgets/scatterplot.js.map +1 -1
  169. package/dist/widgets/spread.js +2 -158
  170. package/dist/widgets/stores.js +2 -3
  171. package/dist/widgets/table.js +2 -599
  172. package/dist/widgets/timeseries.js +250 -136
  173. package/dist/widgets/timeseries.js.map +1 -1
  174. package/dist/widgets/utils.js +2 -18
  175. package/dist/{widgets-v2.js → widgets.js} +63 -57
  176. package/dist/widgets.js.map +1 -0
  177. package/dist/{zoom-toggle-IsF8BnAp.js → zoom-toggle-D_VuA01l.js} +5 -5
  178. package/dist/zoom-toggle-D_VuA01l.js.map +1 -0
  179. package/package.json +43 -129
  180. package/src/chat/bubbles/chat-agent-message-markdown.tsx +1 -1
  181. package/src/chat/bubbles/chat-error-message.tsx +9 -3
  182. package/src/chat/bubbles/chat-suggestion-button.tsx +8 -3
  183. package/src/chat/containers/chat-footer.tsx +6 -2
  184. package/src/chat/containers/chat-starter.tsx +6 -4
  185. package/src/chat/feedback/chat-tool-full-view-dialog.tsx +3 -1
  186. package/src/chat/feedback/chat-tool-group.test.tsx +1 -1
  187. package/src/chat/feedback/chat-tool-group.tsx +40 -9
  188. package/src/chat/feedback/chat-tool-trace.tsx +55 -19
  189. package/src/chat/types.ts +5 -2
  190. package/src/components/basemaps/header.tsx +6 -1
  191. package/src/components/index.ts +2 -3
  192. package/src/components/lasso-tool/geometry-toolbar.tsx +1 -1
  193. package/src/components/lasso-tool/lasso-tool-inline.tsx +12 -4
  194. package/src/components/lasso-tool/lasso-tool.tsx +26 -15
  195. package/src/components/lasso-tool/layer-filters.tsx +36 -11
  196. package/src/components/lasso-tool/options-sections.test.tsx +13 -2
  197. package/src/components/lasso-tool/options-sections.tsx +17 -7
  198. package/src/components/lasso-tool/toolbar/connected.tsx +1 -1
  199. package/src/components/lasso-tool/toolbar/context.tsx +1 -1
  200. package/src/components/measurement-tools/measurement-tools.tsx +28 -13
  201. package/src/components/no-data-alert/no-data-alert.tsx +12 -2
  202. package/src/components/responsive-drawer/responsive-drawer.tsx +0 -1
  203. package/src/components/types.ts +17 -0
  204. package/src/components/zoom-controls/zoom-controls.tsx +3 -1
  205. package/src/legend/components/legend-actions/legend-actions.tsx +2 -2
  206. package/src/legend/components/legend-category/legend-category-ui.tsx +7 -3
  207. package/src/legend/components/legend-config-select/legend-config-select.tsx +6 -2
  208. package/src/legend/components/legend-group/legend-group.tsx +6 -2
  209. package/src/legend/components/legend-group/styles.ts +1 -1
  210. package/src/legend/components/legend-icon/legend-icon-ui.tsx +7 -3
  211. package/src/legend/components/legend-opacity/legend-opacity.tsx +9 -3
  212. package/src/legend/components/legend-proportion/legend-proportion-ui.tsx +19 -3
  213. package/src/legend/components/legend-ramp/legend-ramp-ui.tsx +31 -7
  214. package/src/legend/components/legend-row/legend-row.tsx +2 -2
  215. package/src/legend/components/legend-row/styles.ts +1 -1
  216. package/src/legend/components/legend-sortable/legend-sortable.tsx +7 -3
  217. package/src/legend/components/legend-swatch/legend-swatch.tsx +2 -1
  218. package/src/legend/components/legend-visible-layers/legend-visible-layers.tsx +18 -9
  219. package/src/legend/index.ts +1 -1
  220. package/src/legend/provider/legend-provider.tsx +2 -2
  221. package/src/legend/stores/legend-store-registry.ts +1 -1
  222. package/src/migration/v4/classes.ts +56 -0
  223. package/src/migration/v4/icons.ts +56 -0
  224. package/src/migration/v4/index.ts +17 -0
  225. package/src/migration/v4/migration.test.ts +772 -0
  226. package/src/migration/v4/rules.ts +444 -0
  227. package/src/migration/v4/transform.ts +92 -0
  228. package/src/migration/v4/transforms/helpers.ts +369 -0
  229. package/src/migration/v4/transforms/meridian-5.ts +163 -0
  230. package/src/migration/v4/transforms/ps-react-ui.ts +99 -0
  231. package/src/migration/v4/transforms/v5-v6.ts +161 -0
  232. package/src/migration/v4/transforms/v6-v7.ts +342 -0
  233. package/src/migration/v4/transforms/v7-v9-dom.ts +403 -0
  234. package/src/migration/v4/transforms/v7-v9-props.ts +529 -0
  235. package/src/migration/v4/widgets-v1.ts +199 -0
  236. package/src/{widgets-v2 → widgets}/PERFORMANCE.md +5 -5
  237. package/src/widgets/actions/brush-toggle/brush-toggle.test.tsx +144 -172
  238. package/src/widgets/actions/brush-toggle/brush-toggle.tsx +129 -108
  239. package/src/widgets/actions/brush-toggle/style.ts +5 -40
  240. package/src/widgets/actions/change-column/change-column-icon.tsx +14 -10
  241. package/src/widgets/actions/change-column/change-column.test.tsx +57 -288
  242. package/src/widgets/actions/change-column/change-column.tsx +116 -145
  243. package/src/widgets/actions/change-column/sortable-column-item.tsx +29 -17
  244. package/src/widgets/actions/change-column/types.ts +9 -18
  245. package/src/widgets/actions/download/download.test.tsx +290 -289
  246. package/src/widgets/actions/download/download.tsx +101 -89
  247. package/src/widgets/actions/download/exports.test.tsx +157 -247
  248. package/src/{widgets-v2 → widgets}/actions/download/exports.ts +1 -1
  249. package/src/{widgets-v2 → widgets}/actions/download/png-item.tsx +2 -2
  250. package/src/widgets/actions/download/types.ts +26 -15
  251. package/src/widgets/actions/fullscreen/fullscreen.test.tsx +164 -221
  252. package/src/widgets/actions/fullscreen/fullscreen.tsx +277 -72
  253. package/src/{widgets-v2 → widgets}/actions/fullscreen/style.ts +31 -4
  254. package/src/widgets/actions/fullscreen/types.ts +14 -31
  255. package/src/widgets/actions/index.ts +90 -68
  256. package/src/widgets/actions/lock-selection/lock-selection.test.tsx +259 -156
  257. package/src/widgets/actions/lock-selection/lock-selection.tsx +162 -102
  258. package/src/widgets/actions/relative-data/relative-data.test.tsx +65 -536
  259. package/src/widgets/actions/relative-data/relative-data.tsx +82 -163
  260. package/src/{widgets-v2 → widgets}/actions/relative-data/transforms.ts +2 -2
  261. package/src/widgets/actions/searcher/searcher-toggle.tsx +75 -56
  262. package/src/widgets/actions/searcher/searcher.tsx +85 -168
  263. package/src/widgets/actions/stack-toggle/stack-toggle.test.tsx +49 -402
  264. package/src/widgets/actions/stack-toggle/stack-toggle.tsx +39 -114
  265. package/src/widgets/actions/zoom-toggle/style.ts +5 -8
  266. package/src/widgets/actions/zoom-toggle/zoom-toggle.test.tsx +88 -303
  267. package/src/widgets/actions/zoom-toggle/zoom-toggle.tsx +87 -199
  268. package/src/widgets/bar/index.ts +6 -5
  269. package/src/{widgets-v2 → widgets}/bar/options.ts +1 -1
  270. package/src/widgets/bar/skeleton.tsx +61 -52
  271. package/src/widgets/bar/types.ts +46 -11
  272. package/src/widgets/category/category-ui.test.tsx +846 -317
  273. package/src/widgets/category/category-ui.tsx +444 -127
  274. package/src/{widgets-v2 → widgets}/category/components/category-bar-stacked.tsx +2 -1
  275. package/src/widgets/category/components/category-bar.tsx +31 -12
  276. package/src/{widgets-v2 → widgets}/category/components/category-legend.test.tsx +7 -3
  277. package/src/widgets/category/components/category-legend.tsx +68 -18
  278. package/src/widgets/category/components/category-row-multi.tsx +66 -36
  279. package/src/widgets/category/components/category-row-other.tsx +63 -5
  280. package/src/widgets/category/components/category-row-single.tsx +48 -25
  281. package/src/{widgets-v2 → widgets}/category/components/category-row-stacked.tsx +2 -1
  282. package/src/widgets/category/index.ts +25 -22
  283. package/src/widgets/category/skeleton.tsx +60 -10
  284. package/src/widgets/category/style.ts +267 -72
  285. package/src/widgets/category/types.ts +52 -32
  286. package/src/widgets/echart/echart-ui.test.tsx +250 -446
  287. package/src/widgets/echart/echart-ui.tsx +210 -52
  288. package/src/widgets/echart/echart.test.tsx +203 -518
  289. package/src/widgets/echart/echart.tsx +195 -52
  290. package/src/widgets/echart/index.ts +21 -15
  291. package/src/widgets/echart/shared-resize-observer.ts +30 -19
  292. package/src/widgets/echart/style.ts +17 -0
  293. package/src/widgets/formula/formula-ui.test.tsx +68 -376
  294. package/src/widgets/formula/formula-ui.tsx +58 -22
  295. package/src/widgets/formula/index.ts +14 -21
  296. package/src/{widgets-v2 → widgets}/formula/note.tsx +8 -2
  297. package/src/{widgets-v2 → widgets}/formula/series.tsx +8 -25
  298. package/src/widgets/formula/skeleton.tsx +21 -4
  299. package/src/widgets/formula/style.ts +20 -12
  300. package/src/widgets/formula/types.ts +44 -45
  301. package/src/{widgets-v2 → widgets}/formula/value.tsx +2 -1
  302. package/src/widgets/histogram/index.ts +10 -10
  303. package/src/{widgets-v2 → widgets}/histogram/options.ts +1 -1
  304. package/src/widgets/histogram/skeleton.tsx +63 -45
  305. package/src/widgets/histogram/types.ts +59 -18
  306. package/src/{widgets-v2 → widgets}/index.ts +3 -3
  307. package/src/widgets/markdown/index.ts +5 -13
  308. package/src/widgets/markdown/markdown-ui.test.tsx +53 -319
  309. package/src/widgets/markdown/markdown-ui.tsx +43 -47
  310. package/src/widgets/markdown/markdown.tsx +12 -15
  311. package/src/widgets/markdown/skeleton.tsx +26 -6
  312. package/src/widgets/markdown/style.ts +48 -23
  313. package/src/widgets/markdown/types.ts +2 -26
  314. package/src/widgets/note/style.ts +14 -17
  315. package/src/{widgets-v2 → widgets}/note/widget-note.tsx +15 -2
  316. package/src/widgets/pie/index.ts +7 -5
  317. package/src/{widgets-v2 → widgets}/pie/options.test.ts +8 -0
  318. package/src/{widgets-v2 → widgets}/pie/options.ts +4 -9
  319. package/src/widgets/pie/skeleton.tsx +84 -60
  320. package/src/widgets/pie/types.ts +57 -11
  321. package/src/widgets/range/index.ts +4 -16
  322. package/src/widgets/range/range-ui.test.tsx +115 -182
  323. package/src/widgets/range/range-ui.tsx +274 -8
  324. package/src/widgets/range/skeleton.tsx +41 -8
  325. package/src/widgets/range/style.ts +16 -12
  326. package/src/widgets/range/types.ts +26 -28
  327. package/src/widgets/scatterplot/index.ts +11 -5
  328. package/src/{widgets-v2 → widgets}/scatterplot/options.ts +1 -1
  329. package/src/widgets/scatterplot/skeleton.tsx +76 -51
  330. package/src/widgets/scatterplot/types.ts +54 -12
  331. package/src/widgets/selection-summary/selection-summary.tsx +64 -39
  332. package/src/widgets/selection-summary/style.ts +30 -2
  333. package/src/widgets/spread/index.ts +11 -23
  334. package/src/widgets/spread/skeleton.tsx +32 -4
  335. package/src/widgets/spread/spread-ui.test.tsx +98 -358
  336. package/src/widgets/spread/spread-ui.tsx +44 -24
  337. package/src/widgets/spread/types.ts +21 -41
  338. package/src/{widgets-v2 → widgets}/state/widget-state.tsx +13 -3
  339. package/src/widgets/stores/index.ts +46 -10
  340. package/src/{widgets-v2 → widgets}/stores/transforms.ts +1 -1
  341. package/src/widgets/stores/types.ts +42 -181
  342. package/src/{widgets-v2 → widgets}/stores/use-transform.ts +1 -1
  343. package/src/{widgets-v2 → widgets}/stores/widget-store-registry.ts +2 -2
  344. package/src/widgets/subheader/style.ts +5 -13
  345. package/src/widgets/subheader/subheader.test.tsx +22 -37
  346. package/src/widgets/subheader/subheader.tsx +11 -30
  347. package/src/widgets/table/helpers.test.ts +197 -208
  348. package/src/widgets/table/helpers.ts +108 -84
  349. package/src/widgets/table/index.ts +23 -54
  350. package/src/widgets/table/skeleton.tsx +38 -21
  351. package/src/widgets/table/style.ts +23 -14
  352. package/src/widgets/table/table-ui.tsx +348 -44
  353. package/src/widgets/table/types.ts +37 -205
  354. package/src/{widgets-v2 → widgets}/test-utils.ts +1 -1
  355. package/src/widgets/timeseries/index.ts +8 -5
  356. package/src/{widgets-v2 → widgets}/timeseries/options.ts +1 -1
  357. package/src/widgets/timeseries/skeleton.tsx +67 -46
  358. package/src/widgets/timeseries/types.ts +60 -12
  359. package/src/{widgets-v2 → widgets}/types.ts +8 -6
  360. package/src/widgets/utils/index.ts +3 -26
  361. package/src/widgets/wrapper/index.ts +14 -16
  362. package/src/{widgets-v2 → widgets}/wrapper/widget-wrapper.tsx +6 -2
  363. package/dist/actions-CGJD6q0t.js +0 -1318
  364. package/dist/actions-CGJD6q0t.js.map +0 -1
  365. package/dist/actions-yPZwFxSZ.js.map +0 -1
  366. package/dist/category-DGUDabsi.js +0 -829
  367. package/dist/category-DGUDabsi.js.map +0 -1
  368. package/dist/chart-config-B_fdIcD3.js.map +0 -1
  369. package/dist/cjs-CBrZjPCj.js +0 -75
  370. package/dist/cjs-CBrZjPCj.js.map +0 -1
  371. package/dist/components-FED-ArwH.js.map +0 -1
  372. package/dist/copy-button-TTlZONkX.js +0 -34
  373. package/dist/copy-button-TTlZONkX.js.map +0 -1
  374. package/dist/csv-modifiers-D6HGC24b.js +0 -26
  375. package/dist/csv-modifiers-D6HGC24b.js.map +0 -1
  376. package/dist/download-DdaK3qgC.js.map +0 -1
  377. package/dist/echart-BkaV3V5G.js +0 -133
  378. package/dist/echart-BkaV3V5G.js.map +0 -1
  379. package/dist/echart-DeBgdOtX.js.map +0 -1
  380. package/dist/formatter-wVO81tYk.js +0 -6
  381. package/dist/formatter-wVO81tYk.js.map +0 -1
  382. package/dist/formula-YfZmmuYX.js +0 -190
  383. package/dist/formula-YfZmmuYX.js.map +0 -1
  384. package/dist/formula-noJzQwKo.js +0 -285
  385. package/dist/formula-noJzQwKo.js.map +0 -1
  386. package/dist/hooks-zf5gKZYq.js +0 -22
  387. package/dist/hooks-zf5gKZYq.js.map +0 -1
  388. package/dist/markdown-2dfL6Cmb.js.map +0 -1
  389. package/dist/markdown-content-BWUqwx9F.js.map +0 -1
  390. package/dist/range-BCMAl5xf.js.map +0 -1
  391. package/dist/row-CvVGBuy_.js +0 -35
  392. package/dist/row-CvVGBuy_.js.map +0 -1
  393. package/dist/shared-resize-observer-BEiP2rQt.js +0 -157
  394. package/dist/shared-resize-observer-BEiP2rQt.js.map +0 -1
  395. package/dist/smart-tooltip-CwGHCqab.js +0 -34
  396. package/dist/smart-tooltip-CwGHCqab.js.map +0 -1
  397. package/dist/spread-Ccpg9fi0.js.map +0 -1
  398. package/dist/stores-tiFePP0A.js.map +0 -1
  399. package/dist/styles-Y-qGBELO.js +0 -13
  400. package/dist/styles-Y-qGBELO.js.map +0 -1
  401. package/dist/table-Bx9Uj3U0.js.map +0 -1
  402. package/dist/tooltip-DJUGNZxY.js +0 -23
  403. package/dist/tooltip-DJUGNZxY.js.map +0 -1
  404. package/dist/types/components/list-data/list-data-skeleton.d.ts +0 -5
  405. package/dist/types/components/list-data/list-data.d.ts +0 -19
  406. package/dist/types/components/list-data/styles.d.ts +0 -34
  407. package/dist/types/components/list-data/types.d.ts +0 -23
  408. package/dist/types/hooks/index.d.ts +0 -1
  409. package/dist/types/hooks/use-skeleton.d.ts +0 -1
  410. package/dist/types/hooks/use-widget-ref.d.ts +0 -21
  411. package/dist/types/widgets/actions/brush-toggle/brush-overlay.d.ts +0 -24
  412. package/dist/types/widgets/actions/brush-toggle/hit-test.d.ts +0 -19
  413. package/dist/types/widgets/actions/brush-toggle/types.d.ts +0 -73
  414. package/dist/types/widgets/actions/fullscreen/styles.d.ts +0 -16
  415. package/dist/types/widgets/actions/lock-selection/types.d.ts +0 -38
  416. package/dist/types/widgets/actions/relative-data/types.d.ts +0 -29
  417. package/dist/types/widgets/actions/relative-data/utils.d.ts +0 -9
  418. package/dist/types/widgets/actions/searcher/types.d.ts +0 -64
  419. package/dist/types/widgets/actions/shared/styles.d.ts +0 -11
  420. package/dist/types/widgets/actions/stack-toggle/grouped-bar-chart-icon.d.ts +0 -1
  421. package/dist/types/widgets/actions/stack-toggle/types.d.ts +0 -25
  422. package/dist/types/widgets/actions/zoom-toggle/types.d.ts +0 -41
  423. package/dist/types/widgets/bar/config.d.ts +0 -9
  424. package/dist/types/widgets/bar/style.d.ts +0 -37
  425. package/dist/types/widgets/category/config.d.ts +0 -20
  426. package/dist/types/widgets/echart/const.d.ts +0 -1
  427. package/dist/types/widgets/echart/options.d.ts +0 -9
  428. package/dist/types/widgets/echart/types.d.ts +0 -38
  429. package/dist/types/widgets/echart/utils.d.ts +0 -128
  430. package/dist/types/widgets/error/error.d.ts +0 -12
  431. package/dist/types/widgets/error/index.d.ts +0 -2
  432. package/dist/types/widgets/error/types.d.ts +0 -20
  433. package/dist/types/widgets/formula/components/item.d.ts +0 -5
  434. package/dist/types/widgets/formula/components/prefix.d.ts +0 -5
  435. package/dist/types/widgets/formula/components/row.d.ts +0 -5
  436. package/dist/types/widgets/formula/components/series.d.ts +0 -5
  437. package/dist/types/widgets/formula/components/suffix.d.ts +0 -5
  438. package/dist/types/widgets/formula/components/value.d.ts +0 -5
  439. package/dist/types/widgets/formula/config.d.ts +0 -15
  440. package/dist/types/widgets/formula/serializer.d.ts +0 -16
  441. package/dist/types/widgets/histogram/config.d.ts +0 -21
  442. package/dist/types/widgets/histogram/style.d.ts +0 -15
  443. package/dist/types/widgets/loader/index.d.ts +0 -3
  444. package/dist/types/widgets/loader/loader.d.ts +0 -24
  445. package/dist/types/widgets/loader/types.d.ts +0 -9
  446. package/dist/types/widgets/loader/utils.d.ts +0 -35
  447. package/dist/types/widgets/markdown/config.d.ts +0 -14
  448. package/dist/types/widgets/no-data/index.d.ts +0 -2
  449. package/dist/types/widgets/no-data/no-data.d.ts +0 -36
  450. package/dist/types/widgets/no-data/style.d.ts +0 -6
  451. package/dist/types/widgets/no-data/types.d.ts +0 -71
  452. package/dist/types/widgets/note/index.d.ts +0 -2
  453. package/dist/types/widgets/note/note.d.ts +0 -12
  454. package/dist/types/widgets/note/types.d.ts +0 -8
  455. package/dist/types/widgets/pie/config.d.ts +0 -9
  456. package/dist/types/widgets/pie/style.d.ts +0 -15
  457. package/dist/types/widgets/range/components/range-item.d.ts +0 -5
  458. package/dist/types/widgets/range/config.d.ts +0 -7
  459. package/dist/types/widgets/range/serializer.d.ts +0 -16
  460. package/dist/types/widgets/scatterplot/config.d.ts +0 -9
  461. package/dist/types/widgets/scatterplot/style.d.ts +0 -24
  462. package/dist/types/widgets/selection-summary/index.d.ts +0 -2
  463. package/dist/types/widgets/selection-summary/types.d.ts +0 -13
  464. package/dist/types/widgets/skeleton-loader/index.d.ts +0 -2
  465. package/dist/types/widgets/skeleton-loader/skeleton-loader.d.ts +0 -12
  466. package/dist/types/widgets/skeleton-loader/types.d.ts +0 -7
  467. package/dist/types/widgets/spread/components/max-value.d.ts +0 -5
  468. package/dist/types/widgets/spread/components/min-value.d.ts +0 -5
  469. package/dist/types/widgets/spread/components/separator.d.ts +0 -5
  470. package/dist/types/widgets/spread/config.d.ts +0 -16
  471. package/dist/types/widgets/spread/style.d.ts +0 -21
  472. package/dist/types/widgets/stores/use-widget-selector.d.ts +0 -35
  473. package/dist/types/widgets/stores/widget-store.d.ts +0 -60
  474. package/dist/types/widgets/subheader/index.d.ts +0 -2
  475. package/dist/types/widgets/subheader/types.d.ts +0 -10
  476. package/dist/types/widgets/table/components/cell-header.d.ts +0 -5
  477. package/dist/types/widgets/table/components/cell.d.ts +0 -18
  478. package/dist/types/widgets/table/components/pagination-actions.d.ts +0 -5
  479. package/dist/types/widgets/table/components/pagination.d.ts +0 -5
  480. package/dist/types/widgets/table/components/row.d.ts +0 -5
  481. package/dist/types/widgets/table/config.d.ts +0 -21
  482. package/dist/types/widgets/table/hooks/use-pagination.d.ts +0 -41
  483. package/dist/types/widgets/table/hooks/use-selection.d.ts +0 -39
  484. package/dist/types/widgets/table/hooks/use-sort.d.ts +0 -30
  485. package/dist/types/widgets/table/serializer.d.ts +0 -16
  486. package/dist/types/widgets/timeseries/config.d.ts +0 -9
  487. package/dist/types/widgets/timeseries/style.d.ts +0 -38
  488. package/dist/types/widgets/toolbar-actions/index.d.ts +0 -2
  489. package/dist/types/widgets/toolbar-actions/styles.d.ts +0 -37
  490. package/dist/types/widgets/toolbar-actions/toolbar-actions.d.ts +0 -17
  491. package/dist/types/widgets/toolbar-actions/types.d.ts +0 -52
  492. package/dist/types/widgets/utils/chart-config/config-factory.d.ts +0 -38
  493. package/dist/types/widgets/utils/chart-config/csv-modifiers.d.ts +0 -19
  494. package/dist/types/widgets/utils/chart-config/download-config.d.ts +0 -3
  495. package/dist/types/widgets/utils/chart-config/index.d.ts +0 -9
  496. package/dist/types/widgets/utils/formatter.d.ts +0 -2
  497. package/dist/types/widgets/utils/skeleton/index.d.ts +0 -4
  498. package/dist/types/widgets/utils/skeleton/styles.d.ts +0 -19
  499. package/dist/types/widgets/wrapper/components/actions.d.ts +0 -5
  500. package/dist/types/widgets/wrapper/components/options.d.ts +0 -5
  501. package/dist/types/widgets/wrapper/components/title.d.ts +0 -9
  502. package/dist/types/widgets/wrapper/styles.d.ts +0 -89
  503. package/dist/types/widgets/wrapper/types.d.ts +0 -37
  504. package/dist/types/widgets/wrapper/wrapper-ui.d.ts +0 -16
  505. package/dist/types/widgets/wrapper/wrapper.d.ts +0 -16
  506. package/dist/types/widgets-v2/actions/brush-toggle/brush-toggle.d.ts +0 -56
  507. package/dist/types/widgets-v2/actions/change-column/change-column-icon.d.ts +0 -2
  508. package/dist/types/widgets-v2/actions/change-column/change-column.d.ts +0 -29
  509. package/dist/types/widgets-v2/actions/change-column/sortable-column-item.d.ts +0 -14
  510. package/dist/types/widgets-v2/actions/change-column/types.d.ts +0 -10
  511. package/dist/types/widgets-v2/actions/download/download.d.ts +0 -18
  512. package/dist/types/widgets-v2/actions/download/exports.d.ts +0 -37
  513. package/dist/types/widgets-v2/actions/download/types.d.ts +0 -35
  514. package/dist/types/widgets-v2/actions/fullscreen/fullscreen.d.ts +0 -59
  515. package/dist/types/widgets-v2/actions/fullscreen/types.d.ts +0 -14
  516. package/dist/types/widgets-v2/actions/index.d.ts +0 -10
  517. package/dist/types/widgets-v2/actions/lock-selection/lock-selection.d.ts +0 -57
  518. package/dist/types/widgets-v2/actions/relative-data/relative-data.d.ts +0 -39
  519. package/dist/types/widgets-v2/actions/searcher/searcher-toggle.d.ts +0 -23
  520. package/dist/types/widgets-v2/actions/searcher/searcher.d.ts +0 -11
  521. package/dist/types/widgets-v2/actions/stack-toggle/stack-toggle.d.ts +0 -10
  522. package/dist/types/widgets-v2/actions/stack-toggle/style.d.ts +0 -12
  523. package/dist/types/widgets-v2/actions/zoom-toggle/style.d.ts +0 -12
  524. package/dist/types/widgets-v2/actions/zoom-toggle/zoom-toggle.d.ts +0 -35
  525. package/dist/types/widgets-v2/bar/index.d.ts +0 -4
  526. package/dist/types/widgets-v2/bar/skeleton.d.ts +0 -6
  527. package/dist/types/widgets-v2/bar/types.d.ts +0 -46
  528. package/dist/types/widgets-v2/category/category-ui.d.ts +0 -88
  529. package/dist/types/widgets-v2/category/components/category-bar.d.ts +0 -23
  530. package/dist/types/widgets-v2/category/components/category-legend.d.ts +0 -34
  531. package/dist/types/widgets-v2/category/components/category-row-multi.d.ts +0 -31
  532. package/dist/types/widgets-v2/category/components/category-row-other.d.ts +0 -26
  533. package/dist/types/widgets-v2/category/components/category-row-single.d.ts +0 -28
  534. package/dist/types/widgets-v2/category/index.d.ts +0 -10
  535. package/dist/types/widgets-v2/category/skeleton.d.ts +0 -11
  536. package/dist/types/widgets-v2/category/style.d.ts +0 -193
  537. package/dist/types/widgets-v2/category/types.d.ts +0 -55
  538. package/dist/types/widgets-v2/echart/echart-ui.d.ts +0 -44
  539. package/dist/types/widgets-v2/echart/echart.d.ts +0 -75
  540. package/dist/types/widgets-v2/echart/index.d.ts +0 -4
  541. package/dist/types/widgets-v2/echart/shared-resize-observer.d.ts +0 -5
  542. package/dist/types/widgets-v2/formula/formula-ui.d.ts +0 -20
  543. package/dist/types/widgets-v2/formula/index.d.ts +0 -11
  544. package/dist/types/widgets-v2/formula/skeleton.d.ts +0 -4
  545. package/dist/types/widgets-v2/formula/style.d.ts +0 -29
  546. package/dist/types/widgets-v2/formula/types.d.ts +0 -43
  547. package/dist/types/widgets-v2/histogram/index.d.ts +0 -5
  548. package/dist/types/widgets-v2/histogram/skeleton.d.ts +0 -9
  549. package/dist/types/widgets-v2/histogram/types.d.ts +0 -60
  550. package/dist/types/widgets-v2/markdown/index.d.ts +0 -6
  551. package/dist/types/widgets-v2/markdown/markdown-ui.d.ts +0 -12
  552. package/dist/types/widgets-v2/markdown/markdown.d.ts +0 -6
  553. package/dist/types/widgets-v2/markdown/skeleton.d.ts +0 -4
  554. package/dist/types/widgets-v2/markdown/style.d.ts +0 -61
  555. package/dist/types/widgets-v2/markdown/types.d.ts +0 -4
  556. package/dist/types/widgets-v2/note/style.d.ts +0 -26
  557. package/dist/types/widgets-v2/pie/index.d.ts +0 -4
  558. package/dist/types/widgets-v2/pie/skeleton.d.ts +0 -13
  559. package/dist/types/widgets-v2/pie/types.d.ts +0 -57
  560. package/dist/types/widgets-v2/range/index.d.ts +0 -4
  561. package/dist/types/widgets-v2/range/range-ui.d.ts +0 -27
  562. package/dist/types/widgets-v2/range/skeleton.d.ts +0 -9
  563. package/dist/types/widgets-v2/range/style.d.ts +0 -40
  564. package/dist/types/widgets-v2/range/types.d.ts +0 -37
  565. package/dist/types/widgets-v2/scatterplot/index.d.ts +0 -5
  566. package/dist/types/widgets-v2/scatterplot/skeleton.d.ts +0 -12
  567. package/dist/types/widgets-v2/scatterplot/types.d.ts +0 -54
  568. package/dist/types/widgets-v2/selection-summary/selection-summary.d.ts +0 -29
  569. package/dist/types/widgets-v2/selection-summary/style.d.ts +0 -38
  570. package/dist/types/widgets-v2/spread/index.d.ts +0 -7
  571. package/dist/types/widgets-v2/spread/skeleton.d.ts +0 -9
  572. package/dist/types/widgets-v2/spread/spread-ui.d.ts +0 -18
  573. package/dist/types/widgets-v2/spread/types.d.ts +0 -25
  574. package/dist/types/widgets-v2/stores/index.d.ts +0 -8
  575. package/dist/types/widgets-v2/stores/types.d.ts +0 -55
  576. package/dist/types/widgets-v2/subheader/style.d.ts +0 -10
  577. package/dist/types/widgets-v2/subheader/subheader.d.ts +0 -11
  578. package/dist/types/widgets-v2/table/helpers.d.ts +0 -32
  579. package/dist/types/widgets-v2/table/index.d.ts +0 -8
  580. package/dist/types/widgets-v2/table/skeleton.d.ts +0 -22
  581. package/dist/types/widgets-v2/table/style.d.ts +0 -40
  582. package/dist/types/widgets-v2/table/table-ui.d.ts +0 -44
  583. package/dist/types/widgets-v2/table/types.d.ts +0 -48
  584. package/dist/types/widgets-v2/timeseries/index.d.ts +0 -5
  585. package/dist/types/widgets-v2/timeseries/skeleton.d.ts +0 -8
  586. package/dist/types/widgets-v2/timeseries/types.d.ts +0 -60
  587. package/dist/types/widgets-v2/utils/index.d.ts +0 -3
  588. package/dist/types/widgets-v2/wrapper/index.d.ts +0 -4
  589. package/dist/use-widget-selector-VSPhfhNm.js +0 -12
  590. package/dist/use-widget-selector-VSPhfhNm.js.map +0 -1
  591. package/dist/utils-Dr6gf3vD.js.map +0 -1
  592. package/dist/widget-store-BFPKYm4R.js +0 -187
  593. package/dist/widget-store-BFPKYm4R.js.map +0 -1
  594. package/dist/widgets/category.js.map +0 -1
  595. package/dist/widgets/error.js +0 -30
  596. package/dist/widgets/error.js.map +0 -1
  597. package/dist/widgets/loader.js +0 -66
  598. package/dist/widgets/loader.js.map +0 -1
  599. package/dist/widgets/markdown.js.map +0 -1
  600. package/dist/widgets/no-data.js +0 -55
  601. package/dist/widgets/no-data.js.map +0 -1
  602. package/dist/widgets/note.js +0 -127
  603. package/dist/widgets/note.js.map +0 -1
  604. package/dist/widgets/range.js.map +0 -1
  605. package/dist/widgets/selection-summary.js +0 -41
  606. package/dist/widgets/selection-summary.js.map +0 -1
  607. package/dist/widgets/skeleton-loader.js +0 -24
  608. package/dist/widgets/skeleton-loader.js.map +0 -1
  609. package/dist/widgets/spread.js.map +0 -1
  610. package/dist/widgets/subheader.js +0 -51
  611. package/dist/widgets/subheader.js.map +0 -1
  612. package/dist/widgets/table.js.map +0 -1
  613. package/dist/widgets/toolbar-actions.js +0 -145
  614. package/dist/widgets/toolbar-actions.js.map +0 -1
  615. package/dist/widgets/utils.js.map +0 -1
  616. package/dist/widgets/wrapper.js +0 -273
  617. package/dist/widgets/wrapper.js.map +0 -1
  618. package/dist/widgets-v2/actions.js +0 -4
  619. package/dist/widgets-v2/bar.js +0 -260
  620. package/dist/widgets-v2/bar.js.map +0 -1
  621. package/dist/widgets-v2/category.js +0 -2
  622. package/dist/widgets-v2/echart.js +0 -2
  623. package/dist/widgets-v2/formula.js +0 -2
  624. package/dist/widgets-v2/histogram.js +0 -297
  625. package/dist/widgets-v2/histogram.js.map +0 -1
  626. package/dist/widgets-v2/markdown.js +0 -3
  627. package/dist/widgets-v2/pie.js +0 -374
  628. package/dist/widgets-v2/pie.js.map +0 -1
  629. package/dist/widgets-v2/range.js +0 -2
  630. package/dist/widgets-v2/scatterplot.js +0 -330
  631. package/dist/widgets-v2/scatterplot.js.map +0 -1
  632. package/dist/widgets-v2/spread.js +0 -2
  633. package/dist/widgets-v2/stores.js +0 -2
  634. package/dist/widgets-v2/table.js +0 -2
  635. package/dist/widgets-v2/timeseries.js +0 -294
  636. package/dist/widgets-v2/timeseries.js.map +0 -1
  637. package/dist/widgets-v2/utils.js +0 -2
  638. package/dist/widgets-v2.js.map +0 -1
  639. package/dist/zoom-toggle-IsF8BnAp.js.map +0 -1
  640. package/src/components/list-data/list-data-skeleton.test.tsx +0 -10
  641. package/src/components/list-data/list-data-skeleton.tsx +0 -40
  642. package/src/components/list-data/list-data.test.tsx +0 -167
  643. package/src/components/list-data/list-data.tsx +0 -124
  644. package/src/components/list-data/styles.ts +0 -37
  645. package/src/components/list-data/types.ts +0 -25
  646. package/src/hooks/index.ts +0 -1
  647. package/src/hooks/use-skeleton.test.tsx +0 -32
  648. package/src/hooks/use-skeleton.ts +0 -19
  649. package/src/hooks/use-widget-ref.ts +0 -34
  650. package/src/widgets/README.md +0 -277
  651. package/src/widgets/actions/brush-toggle/brush-overlay.test.tsx +0 -465
  652. package/src/widgets/actions/brush-toggle/brush-overlay.tsx +0 -408
  653. package/src/widgets/actions/brush-toggle/hit-test.test.ts +0 -65
  654. package/src/widgets/actions/brush-toggle/hit-test.ts +0 -45
  655. package/src/widgets/actions/brush-toggle/types.ts +0 -78
  656. package/src/widgets/actions/change-column/change-column-dnd.test.tsx +0 -193
  657. package/src/widgets/actions/change-column/sortable-column-item.test.tsx +0 -124
  658. package/src/widgets/actions/download/exports.tsx +0 -118
  659. package/src/widgets/actions/fullscreen/styles.ts +0 -17
  660. package/src/widgets/actions/lock-selection/types.ts +0 -43
  661. package/src/widgets/actions/relative-data/types.ts +0 -33
  662. package/src/widgets/actions/relative-data/utils.test.ts +0 -223
  663. package/src/widgets/actions/relative-data/utils.ts +0 -58
  664. package/src/widgets/actions/searcher/searcher-toggle.test.tsx +0 -354
  665. package/src/widgets/actions/searcher/types.ts +0 -72
  666. package/src/widgets/actions/shared/styles.ts +0 -12
  667. package/src/widgets/actions/stack-toggle/grouped-bar-chart-icon.tsx +0 -14
  668. package/src/widgets/actions/stack-toggle/types.ts +0 -29
  669. package/src/widgets/actions/zoom-toggle/types.ts +0 -44
  670. package/src/widgets/bar/config.ts +0 -140
  671. package/src/widgets/bar/style.ts +0 -33
  672. package/src/widgets/category/components/category-rows.test.tsx +0 -213
  673. package/src/widgets/category/config.ts +0 -86
  674. package/src/widgets/echart/const.ts +0 -1
  675. package/src/widgets/echart/options.ts +0 -57
  676. package/src/widgets/echart/types.ts +0 -45
  677. package/src/widgets/echart/utils.test.ts +0 -277
  678. package/src/widgets/echart/utils.ts +0 -244
  679. package/src/widgets/error/error.test.tsx +0 -331
  680. package/src/widgets/error/error.tsx +0 -51
  681. package/src/widgets/error/index.ts +0 -2
  682. package/src/widgets/error/types.ts +0 -24
  683. package/src/widgets/formula/components/item.test.tsx +0 -249
  684. package/src/widgets/formula/components/item.tsx +0 -21
  685. package/src/widgets/formula/components/prefix.test.tsx +0 -341
  686. package/src/widgets/formula/components/prefix.tsx +0 -19
  687. package/src/widgets/formula/components/row.test.tsx +0 -364
  688. package/src/widgets/formula/components/row.tsx +0 -24
  689. package/src/widgets/formula/components/series.tsx +0 -35
  690. package/src/widgets/formula/components/suffix.test.tsx +0 -383
  691. package/src/widgets/formula/components/suffix.tsx +0 -29
  692. package/src/widgets/formula/components/value.test.tsx +0 -329
  693. package/src/widgets/formula/components/value.tsx +0 -24
  694. package/src/widgets/formula/config.test.ts +0 -37
  695. package/src/widgets/formula/config.ts +0 -38
  696. package/src/widgets/formula/serializer.test.tsx +0 -144
  697. package/src/widgets/formula/serializer.ts +0 -28
  698. package/src/widgets/histogram/config.ts +0 -230
  699. package/src/widgets/histogram/style.ts +0 -8
  700. package/src/widgets/loader/index.ts +0 -4
  701. package/src/widgets/loader/loader.tsx +0 -92
  702. package/src/widgets/loader/types.ts +0 -13
  703. package/src/widgets/loader/utils.test.ts +0 -112
  704. package/src/widgets/loader/utils.ts +0 -57
  705. package/src/widgets/markdown/config.ts +0 -28
  706. package/src/widgets/no-data/index.ts +0 -2
  707. package/src/widgets/no-data/no-data.test.tsx +0 -497
  708. package/src/widgets/no-data/no-data.tsx +0 -112
  709. package/src/widgets/no-data/style.ts +0 -18
  710. package/src/widgets/no-data/types.ts +0 -76
  711. package/src/widgets/note/index.ts +0 -2
  712. package/src/widgets/note/note.test.tsx +0 -391
  713. package/src/widgets/note/note.tsx +0 -124
  714. package/src/widgets/note/types.ts +0 -9
  715. package/src/widgets/pie/config.ts +0 -245
  716. package/src/widgets/pie/style.ts +0 -8
  717. package/src/widgets/range/components/range-item.test.tsx +0 -243
  718. package/src/widgets/range/components/range-item.tsx +0 -214
  719. package/src/widgets/range/config.ts +0 -10
  720. package/src/widgets/range/serializer.test.ts +0 -70
  721. package/src/widgets/range/serializer.ts +0 -27
  722. package/src/widgets/scatterplot/config.ts +0 -136
  723. package/src/widgets/scatterplot/style.ts +0 -21
  724. package/src/widgets/selection-summary/index.ts +0 -6
  725. package/src/widgets/selection-summary/types.ts +0 -14
  726. package/src/widgets/skeleton-loader/index.ts +0 -2
  727. package/src/widgets/skeleton-loader/skeleton-loader.test.tsx +0 -139
  728. package/src/widgets/skeleton-loader/skeleton-loader.tsx +0 -35
  729. package/src/widgets/skeleton-loader/types.ts +0 -8
  730. package/src/widgets/spread/components/max-value.tsx +0 -29
  731. package/src/widgets/spread/components/min-value.tsx +0 -29
  732. package/src/widgets/spread/components/separator.tsx +0 -9
  733. package/src/widgets/spread/config.ts +0 -39
  734. package/src/widgets/spread/style.ts +0 -22
  735. package/src/widgets/stores/use-widget-selector.ts +0 -47
  736. package/src/widgets/stores/widget-store-branches.test.ts +0 -275
  737. package/src/widgets/stores/widget-store-performance.test.ts +0 -750
  738. package/src/widgets/stores/widget-store.test.ts +0 -942
  739. package/src/widgets/stores/widget-store.ts +0 -484
  740. package/src/widgets/subheader/index.ts +0 -3
  741. package/src/widgets/subheader/types.ts +0 -11
  742. package/src/widgets/table/components/cell-header.tsx +0 -58
  743. package/src/widgets/table/components/cell.tsx +0 -82
  744. package/src/widgets/table/components/pagination-actions.tsx +0 -67
  745. package/src/widgets/table/components/pagination.tsx +0 -41
  746. package/src/widgets/table/components/row.tsx +0 -65
  747. package/src/widgets/table/config.test.ts +0 -65
  748. package/src/widgets/table/config.ts +0 -75
  749. package/src/widgets/table/hooks/use-pagination.test.ts +0 -294
  750. package/src/widgets/table/hooks/use-pagination.ts +0 -148
  751. package/src/widgets/table/hooks/use-selection.test.ts +0 -504
  752. package/src/widgets/table/hooks/use-selection.ts +0 -194
  753. package/src/widgets/table/hooks/use-sort.test.ts +0 -296
  754. package/src/widgets/table/hooks/use-sort.ts +0 -131
  755. package/src/widgets/table/serializer.ts +0 -54
  756. package/src/widgets/timeseries/config.ts +0 -136
  757. package/src/widgets/timeseries/style.ts +0 -36
  758. package/src/widgets/toolbar-actions/index.ts +0 -6
  759. package/src/widgets/toolbar-actions/styles.ts +0 -38
  760. package/src/widgets/toolbar-actions/toolbar-actions.test.tsx +0 -691
  761. package/src/widgets/toolbar-actions/toolbar-actions.tsx +0 -145
  762. package/src/widgets/toolbar-actions/types.ts +0 -60
  763. package/src/widgets/utils/chart-config/config-factory.ts +0 -67
  764. package/src/widgets/utils/chart-config/csv-modifiers.ts +0 -56
  765. package/src/widgets/utils/chart-config/download-config.ts +0 -22
  766. package/src/widgets/utils/chart-config/index.ts +0 -29
  767. package/src/widgets/utils/formatter.ts +0 -2
  768. package/src/widgets/utils/skeleton/index.ts +0 -5
  769. package/src/widgets/utils/skeleton/styles.ts +0 -20
  770. package/src/widgets/wrapper/components/actions.test.tsx +0 -105
  771. package/src/widgets/wrapper/components/actions.tsx +0 -35
  772. package/src/widgets/wrapper/components/options.test.tsx +0 -331
  773. package/src/widgets/wrapper/components/options.tsx +0 -81
  774. package/src/widgets/wrapper/components/title.test.tsx +0 -126
  775. package/src/widgets/wrapper/components/title.tsx +0 -35
  776. package/src/widgets/wrapper/styles.ts +0 -98
  777. package/src/widgets/wrapper/types.ts +0 -55
  778. package/src/widgets/wrapper/wrapper-ui.test.tsx +0 -232
  779. package/src/widgets/wrapper/wrapper-ui.tsx +0 -72
  780. package/src/widgets/wrapper/wrapper.test.tsx +0 -365
  781. package/src/widgets/wrapper/wrapper.tsx +0 -60
  782. package/src/widgets-v2/actions/brush-toggle/brush-toggle.test.tsx +0 -180
  783. package/src/widgets-v2/actions/brush-toggle/brush-toggle.tsx +0 -154
  784. package/src/widgets-v2/actions/change-column/change-column-icon.tsx +0 -14
  785. package/src/widgets-v2/actions/change-column/change-column.test.tsx +0 -59
  786. package/src/widgets-v2/actions/change-column/change-column.tsx +0 -189
  787. package/src/widgets-v2/actions/change-column/sortable-column-item.tsx +0 -63
  788. package/src/widgets-v2/actions/change-column/types.ts +0 -11
  789. package/src/widgets-v2/actions/download/download.test.tsx +0 -327
  790. package/src/widgets-v2/actions/download/download.tsx +0 -144
  791. package/src/widgets-v2/actions/download/exports.test.tsx +0 -198
  792. package/src/widgets-v2/actions/download/types.ts +0 -32
  793. package/src/widgets-v2/actions/fullscreen/fullscreen.test.tsx +0 -150
  794. package/src/widgets-v2/actions/fullscreen/fullscreen.tsx +0 -230
  795. package/src/widgets-v2/actions/fullscreen/types.ts +0 -15
  796. package/src/widgets-v2/actions/index.ts +0 -95
  797. package/src/widgets-v2/actions/lock-selection/lock-selection.test.tsx +0 -301
  798. package/src/widgets-v2/actions/lock-selection/lock-selection.tsx +0 -188
  799. package/src/widgets-v2/actions/relative-data/relative-data.test.tsx +0 -71
  800. package/src/widgets-v2/actions/relative-data/relative-data.tsx +0 -107
  801. package/src/widgets-v2/actions/searcher/searcher-toggle.tsx +0 -91
  802. package/src/widgets-v2/actions/searcher/searcher.tsx +0 -111
  803. package/src/widgets-v2/actions/stack-toggle/stack-toggle.test.tsx +0 -61
  804. package/src/widgets-v2/actions/stack-toggle/stack-toggle.tsx +0 -54
  805. package/src/widgets-v2/actions/stack-toggle/style.ts +0 -11
  806. package/src/widgets-v2/actions/zoom-toggle/style.ts +0 -11
  807. package/src/widgets-v2/actions/zoom-toggle/zoom-toggle.test.tsx +0 -107
  808. package/src/widgets-v2/actions/zoom-toggle/zoom-toggle.tsx +0 -106
  809. package/src/widgets-v2/bar/index.ts +0 -10
  810. package/src/widgets-v2/bar/skeleton.tsx +0 -69
  811. package/src/widgets-v2/bar/types.ts +0 -51
  812. package/src/widgets-v2/category/category-ui.test.tsx +0 -909
  813. package/src/widgets-v2/category/category-ui.tsx +0 -479
  814. package/src/widgets-v2/category/components/category-bar.tsx +0 -49
  815. package/src/widgets-v2/category/components/category-legend.tsx +0 -82
  816. package/src/widgets-v2/category/components/category-row-multi.tsx +0 -86
  817. package/src/widgets-v2/category/components/category-row-other.tsx +0 -84
  818. package/src/widgets-v2/category/components/category-row-single.tsx +0 -76
  819. package/src/widgets-v2/category/index.ts +0 -32
  820. package/src/widgets-v2/category/skeleton.tsx +0 -74
  821. package/src/widgets-v2/category/style.ts +0 -329
  822. package/src/widgets-v2/category/types.ts +0 -61
  823. package/src/widgets-v2/echart/echart-ui.test.tsx +0 -327
  824. package/src/widgets-v2/echart/echart-ui.tsx +0 -232
  825. package/src/widgets-v2/echart/echart.test.tsx +0 -229
  826. package/src/widgets-v2/echart/echart.tsx +0 -199
  827. package/src/widgets-v2/echart/index.ts +0 -22
  828. package/src/widgets-v2/echart/shared-resize-observer.ts +0 -56
  829. package/src/widgets-v2/echart/style.ts +0 -8
  830. package/src/widgets-v2/formula/formula-ui.test.tsx +0 -91
  831. package/src/widgets-v2/formula/formula-ui.tsx +0 -66
  832. package/src/widgets-v2/formula/index.ts +0 -17
  833. package/src/widgets-v2/formula/skeleton.tsx +0 -27
  834. package/src/widgets-v2/formula/style.ts +0 -31
  835. package/src/widgets-v2/formula/types.ts +0 -48
  836. package/src/widgets-v2/histogram/index.ts +0 -13
  837. package/src/widgets-v2/histogram/skeleton.tsx +0 -70
  838. package/src/widgets-v2/histogram/types.ts +0 -64
  839. package/src/widgets-v2/markdown/index.ts +0 -6
  840. package/src/widgets-v2/markdown/markdown-ui.test.tsx +0 -75
  841. package/src/widgets-v2/markdown/markdown-ui.tsx +0 -55
  842. package/src/widgets-v2/markdown/markdown.tsx +0 -17
  843. package/src/widgets-v2/markdown/skeleton.tsx +0 -32
  844. package/src/widgets-v2/markdown/style.ts +0 -53
  845. package/src/widgets-v2/markdown/types.ts +0 -4
  846. package/src/widgets-v2/note/style.ts +0 -26
  847. package/src/widgets-v2/pie/index.ts +0 -10
  848. package/src/widgets-v2/pie/skeleton.tsx +0 -94
  849. package/src/widgets-v2/pie/types.ts +0 -62
  850. package/src/widgets-v2/range/index.ts +0 -4
  851. package/src/widgets-v2/range/range-ui.test.tsx +0 -136
  852. package/src/widgets-v2/range/range-ui.tsx +0 -278
  853. package/src/widgets-v2/range/skeleton.tsx +0 -47
  854. package/src/widgets-v2/range/style.ts +0 -41
  855. package/src/widgets-v2/range/types.ts +0 -37
  856. package/src/widgets-v2/scatterplot/index.ts +0 -14
  857. package/src/widgets-v2/scatterplot/skeleton.tsx +0 -84
  858. package/src/widgets-v2/scatterplot/types.ts +0 -59
  859. package/src/widgets-v2/selection-summary/selection-summary.tsx +0 -82
  860. package/src/widgets-v2/selection-summary/style.ts +0 -38
  861. package/src/widgets-v2/spread/index.ts +0 -11
  862. package/src/widgets-v2/spread/skeleton.tsx +0 -38
  863. package/src/widgets-v2/spread/spread-ui.test.tsx +0 -108
  864. package/src/widgets-v2/spread/spread-ui.tsx +0 -52
  865. package/src/widgets-v2/spread/types.ts +0 -27
  866. package/src/widgets-v2/stores/index.ts +0 -49
  867. package/src/widgets-v2/stores/types.ts +0 -64
  868. package/src/widgets-v2/subheader/style.ts +0 -12
  869. package/src/widgets-v2/subheader/subheader.test.tsx +0 -30
  870. package/src/widgets-v2/subheader/subheader.tsx +0 -16
  871. package/src/widgets-v2/table/helpers.test.ts +0 -233
  872. package/src/widgets-v2/table/helpers.ts +0 -131
  873. package/src/widgets-v2/table/index.ts +0 -24
  874. package/src/widgets-v2/table/skeleton.tsx +0 -65
  875. package/src/widgets-v2/table/style.ts +0 -43
  876. package/src/widgets-v2/table/table-ui.tsx +0 -364
  877. package/src/widgets-v2/table/types.ts +0 -55
  878. package/src/widgets-v2/timeseries/index.ts +0 -11
  879. package/src/widgets-v2/timeseries/skeleton.tsx +0 -76
  880. package/src/widgets-v2/timeseries/types.ts +0 -65
  881. package/src/widgets-v2/utils/index.ts +0 -3
  882. package/src/widgets-v2/wrapper/index.ts +0 -14
  883. /package/dist/types/{widgets-v2 → widgets}/actions/brush-toggle/index.d.ts +0 -0
  884. /package/dist/types/{widgets-v2 → widgets}/actions/brush-toggle/labels.d.ts +0 -0
  885. /package/dist/types/{widgets-v2 → widgets}/actions/brush-toggle/transforms.d.ts +0 -0
  886. /package/dist/types/{widgets-v2 → widgets}/actions/change-column/index.d.ts +0 -0
  887. /package/dist/types/{widgets-v2 → widgets}/actions/change-column/labels.d.ts +0 -0
  888. /package/dist/types/{widgets-v2 → widgets}/actions/change-column/style.d.ts +0 -0
  889. /package/dist/types/{widgets-v2 → widgets}/actions/download/constants.d.ts +0 -0
  890. /package/dist/types/{widgets-v2 → widgets}/actions/download/csv-item.d.ts +0 -0
  891. /package/dist/types/{widgets-v2 → widgets}/actions/download/icons.d.ts +0 -0
  892. /package/dist/types/{widgets-v2 → widgets}/actions/download/index.d.ts +0 -0
  893. /package/dist/types/{widgets-v2 → widgets}/actions/download/labels.d.ts +0 -0
  894. /package/dist/types/{widgets-v2 → widgets}/actions/download/style.d.ts +0 -0
  895. /package/dist/types/{widgets-v2 → widgets}/actions/fullscreen/index.d.ts +0 -0
  896. /package/dist/types/{widgets-v2 → widgets}/actions/fullscreen/labels.d.ts +0 -0
  897. /package/dist/types/{widgets-v2 → widgets}/actions/lock-selection/index.d.ts +0 -0
  898. /package/dist/types/{widgets-v2 → widgets}/actions/lock-selection/labels.d.ts +0 -0
  899. /package/dist/types/{widgets-v2/actions/brush-toggle → widgets/actions/lock-selection}/style.d.ts +0 -0
  900. /package/dist/types/{widgets-v2 → widgets}/actions/lock-selection/transforms.d.ts +0 -0
  901. /package/dist/types/{widgets-v2 → widgets}/actions/relative-data/index.d.ts +0 -0
  902. /package/dist/types/{widgets-v2 → widgets}/actions/relative-data/labels.d.ts +0 -0
  903. /package/dist/types/{widgets-v2/actions/lock-selection → widgets/actions/relative-data}/style.d.ts +0 -0
  904. /package/dist/types/{widgets-v2 → widgets}/actions/searcher/filter.d.ts +0 -0
  905. /package/dist/types/{widgets-v2 → widgets}/actions/searcher/index.d.ts +0 -0
  906. /package/dist/types/{widgets-v2 → widgets}/actions/searcher/labels.d.ts +0 -0
  907. /package/dist/types/{widgets-v2 → widgets}/actions/searcher/style.d.ts +0 -0
  908. /package/dist/types/{widgets-v2 → widgets}/actions/show-all/index.d.ts +0 -0
  909. /package/dist/types/{widgets-v2 → widgets}/actions/show-all/labels.d.ts +0 -0
  910. /package/dist/types/{widgets-v2 → widgets}/actions/show-all/show-all.d.ts +0 -0
  911. /package/dist/types/{widgets-v2 → widgets}/actions/show-all/style.d.ts +0 -0
  912. /package/dist/types/{widgets-v2 → widgets}/actions/stack-toggle/index.d.ts +0 -0
  913. /package/dist/types/{widgets-v2 → widgets}/actions/stack-toggle/labels.d.ts +0 -0
  914. /package/dist/types/{widgets-v2/actions/relative-data → widgets/actions/stack-toggle}/style.d.ts +0 -0
  915. /package/dist/types/{widgets-v2 → widgets}/actions/stack-toggle/transforms.d.ts +0 -0
  916. /package/dist/types/{widgets-v2 → widgets}/actions/zoom-toggle/index.d.ts +0 -0
  917. /package/dist/types/{widgets-v2 → widgets}/actions/zoom-toggle/labels.d.ts +0 -0
  918. /package/dist/types/{widgets-v2 → widgets}/actions/zoom-toggle/transforms.d.ts +0 -0
  919. /package/dist/types/{widgets-v2 → widgets}/bar/download.d.ts +0 -0
  920. /package/dist/types/{widgets-v2 → widgets}/bar/options.d.ts +0 -0
  921. /package/dist/types/{widgets-v2 → widgets}/category/category.d.ts +0 -0
  922. /package/dist/types/{widgets-v2 → widgets}/category/download.d.ts +0 -0
  923. /package/dist/types/{widgets-v2 → widgets}/echart/edge-label-clamp.d.ts +0 -0
  924. /package/dist/types/{widgets-v2 → widgets}/echart/use-chart-selection.d.ts +0 -0
  925. /package/dist/types/{widgets-v2 → widgets}/formula/delta.d.ts +0 -0
  926. /package/dist/types/{widgets-v2 → widgets}/formula/download.d.ts +0 -0
  927. /package/dist/types/{widgets-v2 → widgets}/formula/formula.d.ts +0 -0
  928. /package/dist/types/{widgets-v2 → widgets}/formula/note.d.ts +0 -0
  929. /package/dist/types/{widgets-v2 → widgets}/formula/prefix.d.ts +0 -0
  930. /package/dist/types/{widgets-v2 → widgets}/formula/suffix.d.ts +0 -0
  931. /package/dist/types/{widgets-v2 → widgets}/histogram/download.d.ts +0 -0
  932. /package/dist/types/{widgets-v2 → widgets}/histogram/options.d.ts +0 -0
  933. /package/dist/types/{widgets-v2 → widgets}/histogram/transforms.d.ts +0 -0
  934. /package/dist/types/{widgets-v2 → widgets}/markdown/download.d.ts +0 -0
  935. /package/dist/types/{widgets-v2 → widgets}/markdown/markdown-content.d.ts +0 -0
  936. /package/dist/types/{widgets-v2 → widgets}/note/labels.d.ts +0 -0
  937. /package/dist/types/{widgets-v2 → widgets}/note/widget-note.d.ts +0 -0
  938. /package/dist/types/{widgets-v2 → widgets}/pie/download.d.ts +0 -0
  939. /package/dist/types/{widgets-v2 → widgets}/pie/options.d.ts +0 -0
  940. /package/dist/types/{widgets-v2 → widgets}/provider/widget-provider.d.ts +0 -0
  941. /package/dist/types/{widgets-v2 → widgets}/range/range.d.ts +0 -0
  942. /package/dist/types/{widgets-v2 → widgets}/scatterplot/download.d.ts +0 -0
  943. /package/dist/types/{widgets-v2 → widgets}/scatterplot/options.d.ts +0 -0
  944. /package/dist/types/{widgets-v2 → widgets}/scatterplot/transforms.d.ts +0 -0
  945. /package/dist/types/{widgets-v2 → widgets}/selection-summary/labels.d.ts +0 -0
  946. /package/dist/types/{widgets-v2 → widgets}/spread/band.d.ts +0 -0
  947. /package/dist/types/{widgets-v2 → widgets}/spread/download.d.ts +0 -0
  948. /package/dist/types/{widgets-v2 → widgets}/spread/separator.d.ts +0 -0
  949. /package/dist/types/{widgets-v2 → widgets}/spread/spread.d.ts +0 -0
  950. /package/dist/types/{widgets-v2 → widgets}/state/labels.d.ts +0 -0
  951. /package/dist/types/{widgets-v2 → widgets}/state/style.d.ts +0 -0
  952. /package/dist/types/{widgets-v2 → widgets}/state/widget-state.d.ts +0 -0
  953. /package/dist/types/{widgets-v2 → widgets}/stores/pipeline-middleware.d.ts +0 -0
  954. /package/dist/types/{widgets-v2 → widgets}/stores/transforms.d.ts +0 -0
  955. /package/dist/types/{widgets-v2 → widgets}/stores/use-echart-instance.d.ts +0 -0
  956. /package/dist/types/{widgets-v2 → widgets}/stores/use-transform-enabled.d.ts +0 -0
  957. /package/dist/types/{widgets-v2 → widgets}/stores/use-transform.d.ts +0 -0
  958. /package/dist/types/{widgets-v2 → widgets}/stores/widget-context.d.ts +0 -0
  959. /package/dist/types/{widgets-v2 → widgets}/stores/widget-store-registry.d.ts +0 -0
  960. /package/dist/types/{widgets-v2 → widgets}/table/download.d.ts +0 -0
  961. /package/dist/types/{widgets-v2 → widgets}/table/labels.d.ts +0 -0
  962. /package/dist/types/{widgets-v2 → widgets}/table/table.d.ts +0 -0
  963. /package/dist/types/{widgets-v2 → widgets}/table/transforms.d.ts +0 -0
  964. /package/dist/types/{widgets-v2 → widgets}/timeseries/download.d.ts +0 -0
  965. /package/dist/types/{widgets-v2 → widgets}/timeseries/options.d.ts +0 -0
  966. /package/dist/types/{widgets-v2 → widgets}/timeseries/transforms.d.ts +0 -0
  967. /package/dist/types/{widgets-v2 → widgets}/toolbox/labels.d.ts +0 -0
  968. /package/dist/types/{widgets-v2 → widgets}/toolbox/style.d.ts +0 -0
  969. /package/dist/types/{widgets-v2 → widgets}/toolbox/toolbox.d.ts +0 -0
  970. /package/dist/types/{widgets-v2 → widgets}/utils/data-zoom-layout.d.ts +0 -0
  971. /package/dist/types/{widgets-v2 → widgets}/utils/merge-options.d.ts +0 -0
  972. /package/dist/types/widgets/utils/{chart-config/option-builders.d.ts → option-builders.d.ts} +0 -0
  973. /package/dist/types/{widgets-v2 → widgets}/utils/resolve-theme-color.d.ts +0 -0
  974. /package/dist/types/{widgets-v2 → widgets}/wrapper/labels.d.ts +0 -0
  975. /package/dist/types/{widgets-v2 → widgets}/wrapper/style.d.ts +0 -0
  976. /package/dist/types/{widgets-v2 → widgets}/wrapper/widget-actions.d.ts +0 -0
  977. /package/dist/types/{widgets-v2 → widgets}/wrapper/widget-content.d.ts +0 -0
  978. /package/dist/types/{widgets-v2 → widgets}/wrapper/widget-wrapper.d.ts +0 -0
  979. /package/src/{widgets-v2 → widgets}/actions/brush-toggle/index.ts +0 -0
  980. /package/src/{widgets-v2 → widgets}/actions/brush-toggle/labels.ts +0 -0
  981. /package/src/{widgets-v2 → widgets}/actions/brush-toggle/transforms.test.ts +0 -0
  982. /package/src/{widgets-v2 → widgets}/actions/brush-toggle/transforms.ts +0 -0
  983. /package/src/{widgets-v2 → widgets}/actions/change-column/index.ts +0 -0
  984. /package/src/{widgets-v2 → widgets}/actions/change-column/labels.ts +0 -0
  985. /package/src/{widgets-v2 → widgets}/actions/change-column/style.ts +0 -0
  986. /package/src/{widgets-v2 → widgets}/actions/download/constants.ts +0 -0
  987. /package/src/{widgets-v2 → widgets}/actions/download/csv-item.test.tsx +0 -0
  988. /package/src/{widgets-v2 → widgets}/actions/download/csv-item.tsx +0 -0
  989. /package/src/{widgets-v2 → widgets}/actions/download/icons.tsx +0 -0
  990. /package/src/{widgets-v2 → widgets}/actions/download/index.ts +0 -0
  991. /package/src/{widgets-v2 → widgets}/actions/download/labels.ts +0 -0
  992. /package/src/{widgets-v2 → widgets}/actions/download/png-item.test.tsx +0 -0
  993. /package/src/{widgets-v2 → widgets}/actions/download/style.ts +0 -0
  994. /package/src/{widgets-v2 → widgets}/actions/fullscreen/index.ts +0 -0
  995. /package/src/{widgets-v2 → widgets}/actions/fullscreen/labels.ts +0 -0
  996. /package/src/{widgets-v2 → widgets}/actions/lock-selection/index.ts +0 -0
  997. /package/src/{widgets-v2 → widgets}/actions/lock-selection/labels.ts +0 -0
  998. /package/src/{widgets-v2/actions/brush-toggle → widgets/actions/lock-selection}/style.ts +0 -0
  999. /package/src/{widgets-v2 → widgets}/actions/lock-selection/transforms.ts +0 -0
  1000. /package/src/{widgets-v2 → widgets}/actions/relative-data/index.ts +0 -0
  1001. /package/src/{widgets-v2 → widgets}/actions/relative-data/labels.ts +0 -0
  1002. /package/src/{widgets-v2/actions/lock-selection → widgets/actions/relative-data}/style.ts +0 -0
  1003. /package/src/{widgets-v2 → widgets}/actions/relative-data/transforms.test.ts +0 -0
  1004. /package/src/{widgets-v2 → widgets}/actions/searcher/filter.ts +0 -0
  1005. /package/src/{widgets-v2 → widgets}/actions/searcher/index.ts +0 -0
  1006. /package/src/{widgets-v2 → widgets}/actions/searcher/labels.ts +0 -0
  1007. /package/src/{widgets-v2 → widgets}/actions/searcher/searcher.test.tsx +0 -0
  1008. /package/src/{widgets-v2 → widgets}/actions/searcher/style.ts +0 -0
  1009. /package/src/{widgets-v2 → widgets}/actions/show-all/index.ts +0 -0
  1010. /package/src/{widgets-v2 → widgets}/actions/show-all/labels.ts +0 -0
  1011. /package/src/{widgets-v2 → widgets}/actions/show-all/show-all.test.tsx +0 -0
  1012. /package/src/{widgets-v2 → widgets}/actions/show-all/show-all.tsx +0 -0
  1013. /package/src/{widgets-v2 → widgets}/actions/show-all/style.ts +0 -0
  1014. /package/src/{widgets-v2 → widgets}/actions/stack-toggle/index.ts +0 -0
  1015. /package/src/{widgets-v2 → widgets}/actions/stack-toggle/labels.ts +0 -0
  1016. /package/src/{widgets-v2/actions/relative-data → widgets/actions/stack-toggle}/style.ts +0 -0
  1017. /package/src/{widgets-v2 → widgets}/actions/stack-toggle/transforms.test.ts +0 -0
  1018. /package/src/{widgets-v2 → widgets}/actions/stack-toggle/transforms.ts +0 -0
  1019. /package/src/{widgets-v2 → widgets}/actions/zoom-toggle/index.ts +0 -0
  1020. /package/src/{widgets-v2 → widgets}/actions/zoom-toggle/labels.ts +0 -0
  1021. /package/src/{widgets-v2 → widgets}/actions/zoom-toggle/transforms.test.ts +0 -0
  1022. /package/src/{widgets-v2 → widgets}/actions/zoom-toggle/transforms.ts +0 -0
  1023. /package/src/{widgets-v2 → widgets}/bar/download.test.tsx +0 -0
  1024. /package/src/{widgets-v2 → widgets}/bar/download.tsx +0 -0
  1025. /package/src/{widgets-v2 → widgets}/bar/options.test.ts +0 -0
  1026. /package/src/{widgets-v2 → widgets}/bar/skeleton.test.tsx +0 -0
  1027. /package/src/{widgets-v2 → widgets}/category/category.relative-data.test.tsx +0 -0
  1028. /package/src/{widgets-v2 → widgets}/category/category.stack-toggle.test.tsx +0 -0
  1029. /package/src/{widgets-v2 → widgets}/category/category.test.tsx +0 -0
  1030. /package/src/{widgets-v2 → widgets}/category/category.tsx +0 -0
  1031. /package/src/{widgets-v2 → widgets}/category/components/category-bar-stacked.test.tsx +0 -0
  1032. /package/src/{widgets-v2 → widgets}/category/components/category-bar.test.tsx +0 -0
  1033. /package/src/{widgets-v2 → widgets}/category/components/category-row-other.test.tsx +0 -0
  1034. /package/src/{widgets-v2 → widgets}/category/components/category-row-stacked.test.tsx +0 -0
  1035. /package/src/{widgets-v2 → widgets}/category/download.test.ts +0 -0
  1036. /package/src/{widgets-v2 → widgets}/category/download.ts +0 -0
  1037. /package/src/{widgets-v2 → widgets}/category/skeleton.test.tsx +0 -0
  1038. /package/src/{widgets-v2 → widgets}/echart/edge-label-clamp.test.ts +0 -0
  1039. /package/src/{widgets-v2 → widgets}/echart/edge-label-clamp.ts +0 -0
  1040. /package/src/{widgets-v2 → widgets}/echart/shared-resize-observer.test.ts +0 -0
  1041. /package/src/{widgets-v2 → widgets}/echart/use-chart-selection.test.tsx +0 -0
  1042. /package/src/{widgets-v2 → widgets}/echart/use-chart-selection.ts +0 -0
  1043. /package/src/{widgets-v2 → widgets}/formula/delta.tsx +0 -0
  1044. /package/src/{widgets-v2 → widgets}/formula/download.test.tsx +0 -0
  1045. /package/src/{widgets-v2 → widgets}/formula/download.tsx +0 -0
  1046. /package/src/{widgets-v2 → widgets}/formula/formula.test.tsx +0 -0
  1047. /package/src/{widgets-v2 → widgets}/formula/formula.tsx +0 -0
  1048. /package/src/{widgets-v2 → widgets}/formula/prefix.tsx +0 -0
  1049. /package/src/{widgets-v2 → widgets}/formula/skeleton.test.tsx +0 -0
  1050. /package/src/{widgets-v2 → widgets}/formula/subcomponents.test.tsx +0 -0
  1051. /package/src/{widgets-v2 → widgets}/formula/suffix.tsx +0 -0
  1052. /package/src/{widgets-v2 → widgets}/histogram/download.test.ts +0 -0
  1053. /package/src/{widgets-v2 → widgets}/histogram/download.ts +0 -0
  1054. /package/src/{widgets-v2 → widgets}/histogram/options.test.ts +0 -0
  1055. /package/src/{widgets-v2 → widgets}/histogram/skeleton.test.tsx +0 -0
  1056. /package/src/{widgets-v2 → widgets}/histogram/transforms.test.ts +0 -0
  1057. /package/src/{widgets-v2 → widgets}/histogram/transforms.ts +0 -0
  1058. /package/src/{widgets-v2 → widgets}/markdown/download.test.ts +0 -0
  1059. /package/src/{widgets-v2 → widgets}/markdown/download.tsx +0 -0
  1060. /package/src/{widgets-v2 → widgets}/markdown/markdown-content.test.tsx +0 -0
  1061. /package/src/{widgets-v2 → widgets}/markdown/markdown-content.tsx +0 -0
  1062. /package/src/{widgets-v2 → widgets}/markdown/markdown.test.tsx +0 -0
  1063. /package/src/{widgets-v2 → widgets}/markdown/skeleton.test.tsx +0 -0
  1064. /package/src/{widgets-v2 → widgets}/note/labels.ts +0 -0
  1065. /package/src/{widgets-v2 → widgets}/note/widget-note.test.tsx +0 -0
  1066. /package/src/{widgets-v2 → widgets}/pie/download.test.ts +0 -0
  1067. /package/src/{widgets-v2 → widgets}/pie/download.ts +0 -0
  1068. /package/src/{widgets-v2 → widgets}/pie/skeleton.test.tsx +0 -0
  1069. /package/src/{widgets-v2 → widgets}/provider/widget-provider.test.tsx +0 -0
  1070. /package/src/{widgets-v2 → widgets}/provider/widget-provider.tsx +0 -0
  1071. /package/src/{widgets-v2 → widgets}/range/range.test.tsx +0 -0
  1072. /package/src/{widgets-v2 → widgets}/range/range.tsx +0 -0
  1073. /package/src/{widgets-v2 → widgets}/range/skeleton.test.tsx +0 -0
  1074. /package/src/{widgets-v2 → widgets}/scatterplot/download.test.ts +0 -0
  1075. /package/src/{widgets-v2 → widgets}/scatterplot/download.ts +0 -0
  1076. /package/src/{widgets-v2 → widgets}/scatterplot/options.test.ts +0 -0
  1077. /package/src/{widgets-v2 → widgets}/scatterplot/skeleton.test.tsx +0 -0
  1078. /package/src/{widgets-v2 → widgets}/scatterplot/transforms.test.ts +0 -0
  1079. /package/src/{widgets-v2 → widgets}/scatterplot/transforms.ts +0 -0
  1080. /package/src/{widgets-v2 → widgets}/selection-summary/labels.ts +0 -0
  1081. /package/src/{widgets-v2 → widgets}/selection-summary/selection-summary.test.tsx +0 -0
  1082. /package/src/{widgets-v2 → widgets}/spread/band.test.ts +0 -0
  1083. /package/src/{widgets-v2 → widgets}/spread/band.ts +0 -0
  1084. /package/src/{widgets-v2 → widgets}/spread/download.test.ts +0 -0
  1085. /package/src/{widgets-v2 → widgets}/spread/download.ts +0 -0
  1086. /package/src/{widgets-v2 → widgets}/spread/separator.tsx +0 -0
  1087. /package/src/{widgets-v2 → widgets}/spread/skeleton.test.tsx +0 -0
  1088. /package/src/{widgets-v2 → widgets}/spread/spread.test.tsx +0 -0
  1089. /package/src/{widgets-v2 → widgets}/spread/spread.tsx +0 -0
  1090. /package/src/{widgets-v2 → widgets}/state/labels.test.ts +0 -0
  1091. /package/src/{widgets-v2 → widgets}/state/labels.ts +0 -0
  1092. /package/src/{widgets-v2 → widgets}/state/style.ts +0 -0
  1093. /package/src/{widgets-v2 → widgets}/state/widget-state.test.tsx +0 -0
  1094. /package/src/{widgets-v2 → widgets}/stores/pipeline-middleware.test.ts +0 -0
  1095. /package/src/{widgets-v2 → widgets}/stores/pipeline-middleware.ts +0 -0
  1096. /package/src/{widgets-v2 → widgets}/stores/transforms.test.ts +0 -0
  1097. /package/src/{widgets-v2 → widgets}/stores/use-echart-instance.test.tsx +0 -0
  1098. /package/src/{widgets-v2 → widgets}/stores/use-echart-instance.ts +0 -0
  1099. /package/src/{widgets-v2 → widgets}/stores/use-transform-enabled.test.tsx +0 -0
  1100. /package/src/{widgets-v2 → widgets}/stores/use-transform-enabled.ts +0 -0
  1101. /package/src/{widgets-v2 → widgets}/stores/use-transform.test.tsx +0 -0
  1102. /package/src/{widgets-v2 → widgets}/stores/widget-context.test.tsx +0 -0
  1103. /package/src/{widgets-v2 → widgets}/stores/widget-context.ts +0 -0
  1104. /package/src/{widgets-v2 → widgets}/stores/widget-store-registry.test.ts +0 -0
  1105. /package/src/{widgets-v2 → widgets}/table/download.test.ts +0 -0
  1106. /package/src/{widgets-v2 → widgets}/table/download.ts +0 -0
  1107. /package/src/{widgets-v2 → widgets}/table/labels.tsx +0 -0
  1108. /package/src/{widgets-v2 → widgets}/table/skeleton.test.tsx +0 -0
  1109. /package/src/{widgets-v2 → widgets}/table/table-ui.test.tsx +0 -0
  1110. /package/src/{widgets-v2 → widgets}/table/table.test.tsx +0 -0
  1111. /package/src/{widgets-v2 → widgets}/table/table.tsx +0 -0
  1112. /package/src/{widgets-v2 → widgets}/table/transforms.test.ts +0 -0
  1113. /package/src/{widgets-v2 → widgets}/table/transforms.ts +0 -0
  1114. /package/src/{widgets-v2 → widgets}/timeseries/download.test.ts +0 -0
  1115. /package/src/{widgets-v2 → widgets}/timeseries/download.ts +0 -0
  1116. /package/src/{widgets-v2 → widgets}/timeseries/options.test.ts +0 -0
  1117. /package/src/{widgets-v2 → widgets}/timeseries/skeleton.test.tsx +0 -0
  1118. /package/src/{widgets-v2 → widgets}/timeseries/transforms.test.ts +0 -0
  1119. /package/src/{widgets-v2 → widgets}/timeseries/transforms.ts +0 -0
  1120. /package/src/{widgets-v2 → widgets}/toolbox/labels.ts +0 -0
  1121. /package/src/{widgets-v2 → widgets}/toolbox/style.ts +0 -0
  1122. /package/src/{widgets-v2 → widgets}/toolbox/toolbox.test.tsx +0 -0
  1123. /package/src/{widgets-v2 → widgets}/toolbox/toolbox.tsx +0 -0
  1124. /package/src/{widgets-v2 → widgets}/utils/data-zoom-layout.ts +0 -0
  1125. /package/src/{widgets-v2 → widgets}/utils/merge-options.test.ts +0 -0
  1126. /package/src/{widgets-v2 → widgets}/utils/merge-options.ts +0 -0
  1127. /package/src/widgets/utils/{chart-config/option-builders.test.ts → option-builders.test.ts} +0 -0
  1128. /package/src/widgets/utils/{chart-config/option-builders.ts → option-builders.ts} +0 -0
  1129. /package/src/{widgets-v2 → widgets}/utils/resolve-theme-color.test.ts +0 -0
  1130. /package/src/{widgets-v2 → widgets}/utils/resolve-theme-color.ts +0 -0
  1131. /package/src/{widgets-v2 → widgets}/wrapper/labels.ts +0 -0
  1132. /package/src/{widgets-v2 → widgets}/wrapper/style.ts +0 -0
  1133. /package/src/{widgets-v2 → widgets}/wrapper/widget-actions.test.tsx +0 -0
  1134. /package/src/{widgets-v2 → widgets}/wrapper/widget-actions.tsx +0 -0
  1135. /package/src/{widgets-v2 → widgets}/wrapper/widget-content.test.tsx +0 -0
  1136. /package/src/{widgets-v2 → widgets}/wrapper/widget-content.tsx +0 -0
  1137. /package/src/{widgets-v2 → widgets}/wrapper/widget-wrapper.test.tsx +0 -0
package/dist/chat.js CHANGED
@@ -1,21 +1,21 @@
1
- import { t as e } from "./copy-button-TTlZONkX.js";
2
- import { c as t } from "react/compiler-runtime";
3
- import { Suspense as n, forwardRef as r, lazy as i, useEffect as a, useImperativeHandle as o, useRef as s, useState as c } from "react";
4
- import { Box as l, Button as u, ButtonBase as d, CircularProgress as f, Collapse as p, Dialog as m, DialogContent as h, DialogTitle as g, Fab as _, FormControl as v, FormHelperText as y, IconButton as b, InputBase as x, Link as S, Menu as C, MenuItem as w, Tooltip as T, Typography as E, styled as D } from "@mui/material";
5
- import { Fragment as O, jsx as k, jsxs as A } from "react/jsx-runtime";
6
- import { ArrowRight as j, ArrowUpward as M, ArrowUpwardOutlined as N, CheckCircle as P, ChevronRight as F, Close as I, Error as L, ErrorOutline as R, KeyboardArrowDown as ee, StopCircleOutlined as z, ThumbDown as B, ThumbDownOutlined as V, ThumbUp as H, ThumbUpOutlined as U } from "@mui/icons-material";
7
- import { keyframes as W } from "@mui/material/styles";
8
- import { McpTool as G, OpenDiagonallyRight as K } from "@carto/meridian-ds/custom-icons";
1
+ import { r as e, t } from "./styles-BCEBm7xh.js";
2
+ import { c as n } from "react/compiler-runtime";
3
+ import { Suspense as r, forwardRef as i, lazy as a, useEffect as o, useImperativeHandle as s, useRef as c, useState as l } from "react";
4
+ import { Box as u, Button as d, ButtonBase as f, CircularProgress as p, Collapse as m, Dialog as h, DialogContent as g, DialogTitle as _, Fab as v, FormControl as y, FormHelperText as b, IconButton as x, InputBase as S, Link as C, Menu as w, MenuItem as T, Tooltip as E, Typography as D, styled as O } from "@mui/material";
5
+ import { Fragment as k, jsx as A, jsxs as j } from "react/jsx-runtime";
6
+ import { ArrowRight as M, ArrowUpward as N, ArrowUpwardOutlined as P, CheckCircle as F, ChevronRight as I, Close as L, Error as R, ErrorOutlineOutlined as z, KeyboardArrowDown as ee, StopCircleOutlined as B, ThumbDown as V, ThumbDownOutlined as H, ThumbUp as U, ThumbUpOutlined as W } from "@mui/icons-material";
7
+ import { keyframes as G } from "@mui/material/styles";
8
+ import { McpTool as K, OpenDiagonallyRight as q } from "@carto/meridian-ds/custom-icons";
9
9
  //#region src/chat/const.ts
10
- var q = 768, te = 300, ne = 100, re = 126;
10
+ var te = 768, ne = 300, re = 100, ie = 126;
11
11
  //#endregion
12
12
  //#region src/chat/use-typewriter.ts
13
- function ie(e, n) {
14
- let r = t(17), i;
15
- r[0] === n ? i = r[1] : (i = n === void 0 ? {} : n, r[0] = n, r[1] = i);
16
- let { speed: o, skipAnimation: l } = i, u = o === void 0 ? 500 : o, d = l !== void 0 && l, f;
13
+ function ae(e, t) {
14
+ let r = n(17), i;
15
+ r[0] === t ? i = r[1] : (i = t === void 0 ? {} : t, r[0] = t, r[1] = i);
16
+ let { speed: a, skipAnimation: s } = i, u = a === void 0 ? 500 : a, d = s !== void 0 && s, f;
17
17
  r[2] !== e || r[3] !== d ? (f = () => d ? e.length : 0, r[2] = e, r[3] = d, r[4] = f) : f = r[4];
18
- let [p, m] = c(f), h = s(p), g, _;
18
+ let [p, m] = l(f), h = c(p), g, _;
19
19
  r[5] !== e || r[6] !== d || r[7] !== u ? (g = () => {
20
20
  if (d || h.current >= e.length) return;
21
21
  let t = 1e3 / u, n, r = null;
@@ -34,7 +34,7 @@ function ie(e, n) {
34
34
  e,
35
35
  u,
36
36
  d
37
- ], r[5] = e, r[6] = d, r[7] = u, r[8] = g, r[9] = _) : (g = r[8], _ = r[9]), a(g, _);
37
+ ], r[5] = e, r[6] = d, r[7] = u, r[8] = g, r[9] = _) : (g = r[8], _ = r[9]), o(g, _);
38
38
  let v;
39
39
  r[10] !== p || r[11] !== e || r[12] !== d ? (v = d ? e : e.slice(0, p), r[10] = p, r[11] = e, r[12] = d, r[13] = v) : v = r[13];
40
40
  let y = !d && p < e.length, b;
@@ -45,7 +45,7 @@ function ie(e, n) {
45
45
  }
46
46
  //#endregion
47
47
  //#region src/chat/bubbles/styles.ts
48
- var J = D(E)(() => ({
48
+ var J = O(D)(() => ({
49
49
  whiteSpace: "pre-wrap",
50
50
  overflowX: "clip",
51
51
  overflowWrap: "break-word",
@@ -166,111 +166,111 @@ var Y = {
166
166
  };
167
167
  //#endregion
168
168
  //#region src/chat/bubbles/chat-user-message.tsx
169
- function ae(e) {
170
- let n = t(11), { children: r, muted: i, topContext: a, sx: o } = e, s = i !== void 0 && i, c;
171
- n[0] === a ? c = n[1] : (c = a && /* @__PURE__ */ k(l, {
169
+ function oe(e) {
170
+ let t = n(11), { children: r, muted: i, topContext: a, sx: o } = e, s = i !== void 0 && i, c;
171
+ t[0] === a ? c = t[1] : (c = a && /* @__PURE__ */ A(u, {
172
172
  sx: Y.userMessageTop,
173
173
  children: a
174
- }), n[0] = a, n[1] = c);
175
- let u = s ? Y.muted : void 0, d;
176
- n[2] !== o || n[3] !== u ? (d = {
174
+ }), t[0] = a, t[1] = c);
175
+ let l = s ? Y.muted : void 0, d;
176
+ t[2] !== o || t[3] !== l ? (d = {
177
177
  ...Y.userMessage,
178
- ...u,
178
+ ...l,
179
179
  ...o
180
- }, n[2] = o, n[3] = u, n[4] = d) : d = n[4];
180
+ }, t[2] = o, t[3] = l, t[4] = d) : d = t[4];
181
181
  let f;
182
- n[5] !== r || n[6] !== d ? (f = /* @__PURE__ */ k(J, {
182
+ t[5] !== r || t[6] !== d ? (f = /* @__PURE__ */ A(J, {
183
183
  className: "PsChat--user-message-inner",
184
184
  variant: "body2",
185
185
  sx: d,
186
186
  children: r
187
- }), n[5] = r, n[6] = d, n[7] = f) : f = n[7];
187
+ }), t[5] = r, t[6] = d, t[7] = f) : f = t[7];
188
188
  let p;
189
- return n[8] !== c || n[9] !== f ? (p = /* @__PURE__ */ A(l, {
189
+ return t[8] !== c || t[9] !== f ? (p = /* @__PURE__ */ j(u, {
190
190
  className: "PsChat--user-message",
191
191
  sx: Y.userMessageContainer,
192
192
  children: [c, f]
193
- }), n[8] = c, n[9] = f, n[10] = p) : p = n[10], p;
193
+ }), t[8] = c, t[9] = f, t[10] = p) : p = t[10], p;
194
194
  }
195
- var oe = D((e) => {
196
- let n = t(6), r, i;
197
- n[0] === e ? (r = n[1], i = n[2]) : ({className: r, ...i} = e, n[0] = e, n[1] = r, n[2] = i);
195
+ var se = O((e) => {
196
+ let t = n(6), r, i;
197
+ t[0] === e ? (r = t[1], i = t[2]) : ({className: r, ...i} = e, t[0] = e, t[1] = r, t[2] = i);
198
198
  let a = `PsChat--agent-message ${r ?? ""}`, o;
199
- return n[3] !== i || n[4] !== a ? (o = /* @__PURE__ */ k(l, {
199
+ return t[3] !== i || t[4] !== a ? (o = /* @__PURE__ */ A(u, {
200
200
  className: a,
201
201
  ...i
202
- }), n[3] = i, n[4] = a, n[5] = o) : o = n[5], o;
203
- })(({ theme: e }) => Y.agentMessageContainer(e)), X = r(function(e, n) {
204
- let r = t(7), i, a;
202
+ }), t[3] = i, t[4] = a, t[5] = o) : o = t[5], o;
203
+ })(({ theme: e }) => Y.agentMessageContainer(e)), X = i(function(e, t) {
204
+ let r = n(7), i, a;
205
205
  r[0] === e ? (i = r[1], a = r[2]) : ({children: i, ...a} = e, r[0] = e, r[1] = i, r[2] = a);
206
206
  let o;
207
- return r[3] !== i || r[4] !== a || r[5] !== n ? (o = /* @__PURE__ */ k(oe, {
208
- ref: n,
207
+ return r[3] !== i || r[4] !== a || r[5] !== t ? (o = /* @__PURE__ */ A(se, {
208
+ ref: t,
209
209
  ...a,
210
210
  children: i
211
- }), r[3] = i, r[4] = a, r[5] = n, r[6] = o) : o = r[6], o;
211
+ }), r[3] = i, r[4] = a, r[5] = t, r[6] = o) : o = r[6], o;
212
212
  });
213
213
  X.displayName = "ChatAgentMessage";
214
214
  //#endregion
215
215
  //#region src/chat/bubbles/chat-agent-message-markdown.tsx
216
- var se = i(() => import("./markdown-content-BWUqwx9F.js").then((e) => e.n).then((e) => ({ default: e.MarkdownContent })));
216
+ var ce = a(() => import("./markdown-content-kYNLOX0T.js").then((e) => e.n).then((e) => ({ default: e.MarkdownContent })));
217
217
  function Z(e) {
218
- let r = t(11), i, a;
219
- r[0] === e ? (i = r[1], a = r[2]) : ({children: i, ...a} = e, r[0] = e, r[1] = i, r[2] = a);
218
+ let t = n(11), i, a;
219
+ t[0] === e ? (i = t[1], a = t[2]) : ({children: i, ...a} = e, t[0] = e, t[1] = i, t[2] = a);
220
220
  let o;
221
- r[3] === i ? o = r[4] : (o = /* @__PURE__ */ k(se, {
221
+ t[3] === i ? o = t[4] : (o = /* @__PURE__ */ A(ce, {
222
222
  content: i,
223
223
  gfm: !0
224
- }), r[3] = i, r[4] = o);
224
+ }), t[3] = i, t[4] = o);
225
225
  let s;
226
- r[5] !== i || r[6] !== o ? (s = /* @__PURE__ */ k(n, {
226
+ t[5] !== i || t[6] !== o ? (s = /* @__PURE__ */ A(r, {
227
227
  fallback: i,
228
228
  children: o
229
- }), r[5] = i, r[6] = o, r[7] = s) : s = r[7];
229
+ }), t[5] = i, t[6] = o, t[7] = s) : s = t[7];
230
230
  let c;
231
- return r[8] !== a || r[9] !== s ? (c = /* @__PURE__ */ k(X, {
231
+ return t[8] !== a || t[9] !== s ? (c = /* @__PURE__ */ A(X, {
232
232
  ...a,
233
233
  children: s
234
- }), r[8] = a, r[9] = s, r[10] = c) : c = r[10], c;
234
+ }), t[8] = a, t[9] = s, t[10] = c) : c = t[10], c;
235
235
  }
236
236
  Z.displayName = "ChatAgentMessageMarkdown";
237
237
  //#endregion
238
238
  //#region src/chat/bubbles/chat-error-message.tsx
239
- function ce(e) {
240
- let n = t(13), { errors: r, icon: i, actions: a, sx: o } = e, s;
241
- n[0] === o ? s = n[1] : (s = {
239
+ function le(e) {
240
+ let t = n(13), { errors: r, icon: i, actions: a, sx: o } = e, s;
241
+ t[0] === o ? s = t[1] : (s = {
242
242
  ...Y.errorMessage,
243
243
  ...o
244
- }, n[0] = o, n[1] = s);
244
+ }, t[0] = o, t[1] = s);
245
245
  let c;
246
- n[2] === i ? c = n[3] : (c = i ?? /* @__PURE__ */ k(R, {
246
+ t[2] === i ? c = t[3] : (c = i ?? /* @__PURE__ */ A(z, {
247
247
  fontSize: "medium",
248
248
  color: "error"
249
- }), n[2] = i, n[3] = c);
250
- let u;
251
- n[4] === r ? u = n[5] : (u = r.map(ue), n[4] = r, n[5] = u);
249
+ }), t[2] = i, t[3] = c);
250
+ let l;
251
+ t[4] === r ? l = t[5] : (l = r.map(de), t[4] = r, t[5] = l);
252
252
  let d;
253
- n[6] === a ? d = n[7] : (d = a?.length ? /* @__PURE__ */ k(l, {
253
+ t[6] === a ? d = t[7] : (d = a?.length ? /* @__PURE__ */ A(u, {
254
254
  sx: Y.errorActions,
255
- children: (a ?? []).map(le)
256
- }) : null, n[6] = a, n[7] = d);
255
+ children: (a ?? []).map(ue)
256
+ }) : null, t[6] = a, t[7] = d);
257
257
  let f;
258
- return n[8] !== s || n[9] !== c || n[10] !== u || n[11] !== d ? (f = /* @__PURE__ */ A(l, {
258
+ return t[8] !== s || t[9] !== c || t[10] !== l || t[11] !== d ? (f = /* @__PURE__ */ j(u, {
259
259
  sx: s,
260
260
  children: [
261
261
  c,
262
- u,
262
+ l,
263
263
  d
264
264
  ]
265
- }), n[8] = s, n[9] = c, n[10] = u, n[11] = d, n[12] = f) : f = n[12], f;
265
+ }), t[8] = s, t[9] = c, t[10] = l, t[11] = d, t[12] = f) : f = t[12], f;
266
266
  }
267
- function le(e, t) {
268
- return /* @__PURE__ */ A("span", { children: [t > 0 && /* @__PURE__ */ k(E, {
267
+ function ue(e, t) {
268
+ return /* @__PURE__ */ j("span", { children: [t > 0 && /* @__PURE__ */ A(D, {
269
269
  component: "span",
270
270
  variant: "body2",
271
271
  sx: Y.errorActionSeparator,
272
272
  children: "·"
273
- }), /* @__PURE__ */ k(S, {
273
+ }), /* @__PURE__ */ A(C, {
274
274
  component: "button",
275
275
  variant: "body2",
276
276
  onClick: e.onClick,
@@ -278,56 +278,58 @@ function le(e, t) {
278
278
  children: e.label
279
279
  })] }, t);
280
280
  }
281
- function ue(e, t) {
282
- return /* @__PURE__ */ k(E, {
281
+ function de(e, t) {
282
+ return /* @__PURE__ */ A(D, {
283
283
  variant: "subtitle2",
284
- color: "error.relatedDark",
284
+ sx: { color: "error.relatedDark" },
285
285
  children: e
286
286
  }, t);
287
287
  }
288
288
  //#endregion
289
289
  //#region src/chat/bubbles/chat-suggestion-button.tsx
290
- function de(e) {
291
- let n = t(17), r, i, a, o;
292
- n[0] === e ? (r = n[1], i = n[2], a = n[3], o = n[4]) : ({label: i, color: r, sx: o, ...a} = e, n[0] = e, n[1] = r, n[2] = i, n[3] = a, n[4] = o);
290
+ function fe(e) {
291
+ let t = n(18), r, i, a, o;
292
+ t[0] === e ? (r = t[1], i = t[2], a = t[3], o = t[4]) : ({label: i, backgroundColor: r, sx: o, ...a} = e, t[0] = e, t[1] = r, t[2] = i, t[3] = a, t[4] = o);
293
293
  let s;
294
- n[5] === r ? s = n[6] : (s = r ? { backgroundColor: r } : void 0, n[5] = r, n[6] = s);
294
+ t[5] === r ? s = t[6] : (s = r ? { backgroundColor: r } : void 0, t[5] = r, t[6] = s);
295
295
  let c;
296
- n[7] !== o || n[8] !== s ? (c = {
296
+ t[7] !== o || t[8] !== s ? (c = {
297
297
  ...Y.suggestionButton,
298
298
  ...s,
299
299
  ...o
300
- }, n[7] = o, n[8] = s, n[9] = c) : c = n[9];
300
+ }, t[7] = o, t[8] = s, t[9] = c) : c = t[9];
301
301
  let l;
302
- n[10] === i ? l = n[11] : (l = /* @__PURE__ */ k(E, {
303
- color: "inherit",
302
+ t[10] === Symbol.for("react.memo_cache_sentinel") ? (l = { color: "inherit" }, t[10] = l) : l = t[10];
303
+ let u;
304
+ t[11] === i ? u = t[12] : (u = /* @__PURE__ */ A(D, {
304
305
  variant: "body2",
306
+ sx: l,
305
307
  children: i
306
- }), n[10] = i, n[11] = l);
307
- let u;
308
- n[12] === Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ k(M, {}), n[12] = u) : u = n[12];
309
- let f;
310
- return n[13] !== a || n[14] !== c || n[15] !== l ? (f = /* @__PURE__ */ A(d, {
308
+ }), t[11] = i, t[12] = u);
309
+ let d;
310
+ t[13] === Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ A(N, {}), t[13] = d) : d = t[13];
311
+ let p;
312
+ return t[14] !== a || t[15] !== c || t[16] !== u ? (p = /* @__PURE__ */ j(f, {
311
313
  sx: c,
312
314
  ...a,
313
- children: [l, u]
314
- }), n[13] = a, n[14] = c, n[15] = l, n[16] = f) : f = n[16], f;
315
+ children: [u, d]
316
+ }), t[14] = a, t[15] = c, t[16] = u, t[17] = p) : p = t[17], p;
315
317
  }
316
318
  //#endregion
317
319
  //#region src/chat/feedback/styles.ts
318
- var fe = W`
320
+ var pe = G`
319
321
  0% {
320
322
  background-position: 150% 0;
321
323
  }
322
324
  100% {
323
325
  background-position: -50% 0;
324
326
  }
325
- `, pe = W`
327
+ `, me = G`
326
328
  0% { transform: scale(0.68); opacity: 0.7; }
327
329
  40% { transform: scale(1); opacity: 1; }
328
330
  80% { transform: scale(0.6); opacity: 0.65; }
329
331
  100% { transform: scale(0.68); opacity: 0.7; }
330
- `, me = W`
332
+ `, he = G`
331
333
  0% { transform: scale(1); }
332
334
  40% { transform: scale(0.75); }
333
335
  80% { transform: scale(1.125); }
@@ -347,7 +349,7 @@ var fe = W`
347
349
  backgroundClip: "text",
348
350
  WebkitBackgroundClip: "text",
349
351
  WebkitTextFillColor: "transparent",
350
- animation: `${fe} 2s ease-in-out infinite`,
352
+ animation: `${pe} 2s ease-in-out infinite`,
351
353
  animationDuration: "2s"
352
354
  },
353
355
  loader: {
@@ -363,7 +365,7 @@ var fe = W`
363
365
  margin: "auto",
364
366
  borderRadius: "50%",
365
367
  backgroundColor: ({ palette: e }) => e.action.disabled,
366
- animation: `${pe} 1s ease-in-out infinite`
368
+ animation: `${me} 1s ease-in-out infinite`
367
369
  },
368
370
  loaderInnerCircle: {
369
371
  position: "absolute",
@@ -371,7 +373,7 @@ var fe = W`
371
373
  margin: "auto",
372
374
  borderRadius: "50%",
373
375
  backgroundColor: ({ palette: e }) => e.text.primary,
374
- animation: `${me} 1s ease-in-out infinite`
376
+ animation: `${he} 1s ease-in-out infinite`
375
377
  },
376
378
  traceHeader: {
377
379
  display: "flex",
@@ -503,58 +505,58 @@ var fe = W`
503
505
  };
504
506
  //#endregion
505
507
  //#region src/chat/feedback/chat-thinking.tsx
506
- function he(e) {
507
- let n = t(6), { children: r, duration: i, sx: a } = e, o = r === void 0 ? "Thinking..." : r, s = `${(i === void 0 ? 2e3 : i) / 1e3}s`, c;
508
- n[0] !== s || n[1] !== a ? (c = {
508
+ function ge(e) {
509
+ let t = n(6), { children: r, duration: i, sx: a } = e, o = r === void 0 ? "Thinking..." : r, s = `${(i === void 0 ? 2e3 : i) / 1e3}s`, c;
510
+ t[0] !== s || t[1] !== a ? (c = {
509
511
  ...Q.thinking,
510
512
  animationDuration: s,
511
513
  ...a
512
- }, n[0] = s, n[1] = a, n[2] = c) : c = n[2];
514
+ }, t[0] = s, t[1] = a, t[2] = c) : c = t[2];
513
515
  let l;
514
- return n[3] !== o || n[4] !== c ? (l = /* @__PURE__ */ k(E, {
516
+ return t[3] !== o || t[4] !== c ? (l = /* @__PURE__ */ A(D, {
515
517
  variant: "body2",
516
518
  sx: c,
517
519
  children: o
518
- }), n[3] = o, n[4] = c, n[5] = l) : l = n[5], l;
520
+ }), t[3] = o, t[4] = c, t[5] = l) : l = t[5], l;
519
521
  }
520
522
  //#endregion
521
523
  //#region src/chat/feedback/chat-loader.tsx
522
- function ge(e) {
523
- let n = t(16), { size: r, labels: i, sx: a } = e, o = r === void 0 ? 24 : r, s;
524
- n[0] === i ? s = n[1] : (s = i === void 0 ? {} : i, n[0] = i, n[1] = s);
525
- let c = s.loading ?? "Loading", u;
526
- n[2] !== o || n[3] !== a ? (u = {
524
+ function _e(e) {
525
+ let t = n(16), { size: r, labels: i, sx: a } = e, o = r === void 0 ? 24 : r, s;
526
+ t[0] === i ? s = t[1] : (s = i === void 0 ? {} : i, t[0] = i, t[1] = s);
527
+ let c = s.loading ?? "Loading", l;
528
+ t[2] !== o || t[3] !== a ? (l = {
527
529
  ...Q.loader,
528
530
  width: o,
529
531
  height: o,
530
532
  ...a
531
- }, n[2] = o, n[3] = a, n[4] = u) : u = n[4];
533
+ }, t[2] = o, t[3] = a, t[4] = l) : l = t[4];
532
534
  let d = o * .75, f = o * .75, p;
533
- n[5] !== d || n[6] !== f ? (p = /* @__PURE__ */ k(l, {
535
+ t[5] !== d || t[6] !== f ? (p = /* @__PURE__ */ A(u, {
534
536
  component: "span",
535
537
  sx: {
536
538
  ...Q.loaderOuterCircle,
537
539
  width: d,
538
540
  height: f
539
541
  }
540
- }), n[5] = d, n[6] = f, n[7] = p) : p = n[7];
542
+ }), t[5] = d, t[6] = f, t[7] = p) : p = t[7];
541
543
  let m = o * .32, h = o * .32, g;
542
- n[8] !== h || n[9] !== m ? (g = /* @__PURE__ */ k(l, {
544
+ t[8] !== h || t[9] !== m ? (g = /* @__PURE__ */ A(u, {
543
545
  component: "span",
544
546
  sx: {
545
547
  ...Q.loaderInnerCircle,
546
548
  width: m,
547
549
  height: h
548
550
  }
549
- }), n[8] = h, n[9] = m, n[10] = g) : g = n[10];
551
+ }), t[8] = h, t[9] = m, t[10] = g) : g = t[10];
550
552
  let _;
551
- return n[11] !== g || n[12] !== c || n[13] !== u || n[14] !== p ? (_ = /* @__PURE__ */ A(l, {
553
+ return t[11] !== g || t[12] !== c || t[13] !== l || t[14] !== p ? (_ = /* @__PURE__ */ j(u, {
552
554
  role: "status",
553
555
  "aria-busy": !0,
554
556
  "aria-label": c,
555
- sx: u,
557
+ sx: l,
556
558
  children: [p, g]
557
- }), n[11] = g, n[12] = c, n[13] = u, n[14] = p, n[15] = _) : _ = n[15], _;
559
+ }), t[11] = g, t[12] = c, t[13] = l, t[14] = p, t[15] = _) : _ = t[15], _;
558
560
  }
559
561
  //#endregion
560
562
  //#region src/chat/containers/styles.ts
@@ -682,10 +684,10 @@ var $ = {
682
684
  marginTop: ({ spacing: e }) => e(2)
683
685
  },
684
686
  starterItemsTwoCol: { gridTemplateColumns: "repeat(2, 1fr)" }
685
- }, _e = 32, ve = r(function(e, n) {
686
- let r = t(34), { children: i, autoScroll: u, labels: d, sx: f } = e, p = u === void 0 || u, m;
687
+ }, ve = 32, ye = i(function(e, t) {
688
+ let r = n(34), { children: i, autoScroll: a, labels: d, sx: f } = e, p = a === void 0 || a, m;
687
689
  r[0] === d ? m = r[1] : (m = d === void 0 ? {} : d, r[0] = d, r[1] = m);
688
- let h = m, g = s(null), v = s(null), y = s(null), [b, x] = c(!0), [S, C] = c(!0), w;
690
+ let h = m, g = c(null), _ = c(null), y = c(null), [b, x] = l(!0), [S, C] = l(!0), w;
689
691
  r[2] === Symbol.for("react.memo_cache_sentinel") ? (w = () => {
690
692
  g.current?.scrollTo({
691
693
  top: g.current.scrollHeight,
@@ -699,16 +701,16 @@ var $ = {
699
701
  behavior: "smooth"
700
702
  });
701
703
  }, r[3] = E) : E = r[3];
702
- let D = E, O, j;
704
+ let D = E, O, k;
703
705
  r[4] !== S || r[5] !== b ? (O = () => ({
704
706
  scrollToBottom: T,
705
707
  scrollToTop: D,
706
708
  isAtBottom: S,
707
709
  isAtTop: b
708
- }), j = [S, b], r[4] = S, r[5] = b, r[6] = O, r[7] = j) : (O = r[6], j = r[7]), o(n, O, j);
710
+ }), k = [S, b], r[4] = S, r[5] = b, r[6] = O, r[7] = k) : (O = r[6], k = r[7]), s(t, O, k);
709
711
  let M, N;
710
712
  r[8] === Symbol.for("react.memo_cache_sentinel") ? (M = () => {
711
- let e = g.current, t = v.current, n = y.current;
713
+ let e = g.current, t = _.current, n = y.current;
712
714
  if (!e || !t || !n) return;
713
715
  let r = new IntersectionObserver((e) => {
714
716
  let [t] = e;
@@ -720,7 +722,7 @@ var $ = {
720
722
  return r.observe(t), i.observe(n), () => {
721
723
  r.disconnect(), i.disconnect();
722
724
  };
723
- }, N = [], r[8] = M, r[9] = N) : (M = r[8], N = r[9]), a(M, N);
725
+ }, N = [], r[8] = M, r[9] = N) : (M = r[8], N = r[9]), o(M, N);
724
726
  let P, F;
725
727
  r[10] === p ? (P = r[11], F = r[12]) : (P = () => {
726
728
  if (!p) return;
@@ -731,7 +733,7 @@ var $ = {
731
733
  let r = e.scrollHeight;
732
734
  if (r > t) {
733
735
  let n = r - t;
734
- r - e.scrollTop - e.clientHeight <= n + _e && e.scrollTo({
736
+ r - e.scrollTop - e.clientHeight <= n + ve && e.scrollTo({
735
737
  top: r,
736
738
  behavior: "smooth"
737
739
  });
@@ -747,7 +749,7 @@ var $ = {
747
749
  }), () => {
748
750
  i.disconnect(), n !== null && cancelAnimationFrame(n);
749
751
  };
750
- }, F = [p], r[10] = p, r[11] = P, r[12] = F), a(P, F);
752
+ }, F = [p], r[10] = p, r[11] = P, r[12] = F), o(P, F);
751
753
  let I;
752
754
  r[13] === b ? I = r[14] : (I = (e) => {
753
755
  let { palette: t } = e;
@@ -766,13 +768,13 @@ var $ = {
766
768
  ...f
767
769
  }, r[17] = f, r[18] = I, r[19] = L, r[20] = R) : R = r[20];
768
770
  let z;
769
- r[21] === Symbol.for("react.memo_cache_sentinel") ? (z = /* @__PURE__ */ k(l, {
770
- ref: v,
771
+ r[21] === Symbol.for("react.memo_cache_sentinel") ? (z = /* @__PURE__ */ A(u, {
772
+ ref: _,
771
773
  sx: $.sentinel,
772
774
  "aria-hidden": !0
773
775
  }), r[21] = z) : z = r[21];
774
776
  let B;
775
- r[22] === Symbol.for("react.memo_cache_sentinel") ? (B = /* @__PURE__ */ k(l, {
777
+ r[22] === Symbol.for("react.memo_cache_sentinel") ? (B = /* @__PURE__ */ A(u, {
776
778
  ref: y,
777
779
  sx: $.sentinel,
778
780
  "aria-hidden": !0
@@ -784,11 +786,11 @@ var $ = {
784
786
  pointerEvents: U
785
787
  }, r[23] = H, r[24] = U, r[25] = W) : W = r[25];
786
788
  let G;
787
- r[26] === Symbol.for("react.memo_cache_sentinel") ? (G = /* @__PURE__ */ k(ee, {}), r[26] = G) : G = r[26];
789
+ r[26] === Symbol.for("react.memo_cache_sentinel") ? (G = /* @__PURE__ */ A(ee, {}), r[26] = G) : G = r[26];
788
790
  let K;
789
- r[27] !== V || r[28] !== W ? (K = /* @__PURE__ */ k(l, {
791
+ r[27] !== V || r[28] !== W ? (K = /* @__PURE__ */ A(u, {
790
792
  sx: $.jumpToLatestWrapper,
791
- children: /* @__PURE__ */ k(_, {
793
+ children: /* @__PURE__ */ A(v, {
792
794
  size: "small",
793
795
  onClick: T,
794
796
  "aria-label": V,
@@ -797,7 +799,7 @@ var $ = {
797
799
  })
798
800
  }), r[27] = V, r[28] = W, r[29] = K) : K = r[29];
799
801
  let q;
800
- return r[30] !== i || r[31] !== R || r[32] !== K ? (q = /* @__PURE__ */ A(l, {
802
+ return r[30] !== i || r[31] !== R || r[32] !== K ? (q = /* @__PURE__ */ j(u, {
801
803
  ref: g,
802
804
  sx: R,
803
805
  children: [
@@ -808,119 +810,118 @@ var $ = {
808
810
  ]
809
811
  }), r[30] = i, r[31] = R, r[32] = K, r[33] = q) : q = r[33], q;
810
812
  });
811
- ve.displayName = "ChatContent";
813
+ ye.displayName = "ChatContent";
812
814
  //#endregion
813
815
  //#region src/chat/containers/chat-header.tsx
814
- function ye(e) {
815
- let n = t(14), { leftSlot: r, title: i, rightSlot: a, onClose: o, sx: s } = e, c;
816
- n[0] === s ? c = n[1] : (c = {
816
+ function be(e) {
817
+ let t = n(14), { leftSlot: r, title: i, rightSlot: a, onClose: o, sx: s } = e, c;
818
+ t[0] === s ? c = t[1] : (c = {
817
819
  ...$.header,
818
820
  ...s
819
- }, n[0] = s, n[1] = c);
820
- let u;
821
- n[2] === i ? u = n[3] : (u = /* @__PURE__ */ k(E, {
821
+ }, t[0] = s, t[1] = c);
822
+ let l;
823
+ t[2] === i ? l = t[3] : (l = /* @__PURE__ */ A(D, {
822
824
  variant: "subtitle2",
823
825
  sx: $.headerTitle,
824
826
  children: i
825
- }), n[2] = i, n[3] = u);
827
+ }), t[2] = i, t[3] = l);
826
828
  let d;
827
- n[4] === o ? d = n[5] : (d = o && /* @__PURE__ */ k(b, {
829
+ t[4] === o ? d = t[5] : (d = o && /* @__PURE__ */ A(x, {
828
830
  size: "medium",
829
831
  onClick: o,
830
832
  "aria-label": "Close",
831
- children: /* @__PURE__ */ k(I, {})
832
- }), n[4] = o, n[5] = d);
833
+ children: /* @__PURE__ */ A(L, {})
834
+ }), t[4] = o, t[5] = d);
833
835
  let f;
834
- n[6] !== a || n[7] !== d ? (f = /* @__PURE__ */ A(l, {
836
+ t[6] !== a || t[7] !== d ? (f = /* @__PURE__ */ j(u, {
835
837
  sx: $.headerActions,
836
838
  children: [a, d]
837
- }), n[6] = a, n[7] = d, n[8] = f) : f = n[8];
839
+ }), t[6] = a, t[7] = d, t[8] = f) : f = t[8];
838
840
  let p;
839
- return n[9] !== r || n[10] !== c || n[11] !== u || n[12] !== f ? (p = /* @__PURE__ */ A(l, {
841
+ return t[9] !== r || t[10] !== c || t[11] !== l || t[12] !== f ? (p = /* @__PURE__ */ j(u, {
840
842
  sx: c,
841
843
  children: [
842
844
  r,
843
- u,
845
+ l,
844
846
  f
845
847
  ]
846
- }), n[9] = r, n[10] = c, n[11] = u, n[12] = f, n[13] = p) : p = n[13], p;
848
+ }), t[9] = r, t[10] = c, t[11] = l, t[12] = f, t[13] = p) : p = t[13], p;
847
849
  }
848
850
  //#endregion
849
851
  //#region src/chat/containers/chat-footer.tsx
850
- var be = "Responses are AI-generated. Please verify key information.";
851
- function xe(e) {
852
- let n = t(58), { value: r, onChange: i, onSend: a, onStop: o, isGenerating: s, disabled: d, placeholder: f, labels: p, caption: m, models: h, selectedModel: g, onModelChange: _, startToolbarSlot: S, endToolbarSlot: T, sx: D } = e, j = s !== void 0 && s, M = d !== void 0 && d, P = f === void 0 ? "Type a message..." : f, F;
853
- n[0] === p ? F = n[1] : (F = p === void 0 ? {} : p, n[0] = p, n[1] = F);
854
- let I = F, L = m === void 0 ? be : m, [R, B] = c(null), V;
855
- n[2] !== M || n[3] !== j || n[4] !== r ? (V = r.trim() && !M && !j, n[2] = M, n[3] = j, n[4] = r, n[5] = V) : V = n[5];
852
+ var xe = "Responses are AI-generated. Please verify key information.";
853
+ function Se(e) {
854
+ let t = n(58), { value: r, onChange: i, onSend: a, onStop: o, isGenerating: s, disabled: c, placeholder: f, labels: p, caption: m, models: h, selectedModel: g, onModelChange: _, startToolbarSlot: v, endToolbarSlot: C, sx: E } = e, O = s !== void 0 && s, M = c !== void 0 && c, N = f === void 0 ? "Type a message..." : f, F;
855
+ t[0] === p ? F = t[1] : (F = p === void 0 ? {} : p, t[0] = p, t[1] = F);
856
+ let I = F, L = m === void 0 ? xe : m, [R, z] = l(null), V;
857
+ t[2] !== M || t[3] !== O || t[4] !== r ? (V = r.trim() && !M && !O, t[2] = M, t[3] = O, t[4] = r, t[5] = V) : V = t[5];
856
858
  let H = V, U = (h?.length ?? 0) > 1, W = I.model ?? "Select model", G;
857
- n[6] !== W || n[7] !== h || n[8] !== g ? (G = h?.find((e) => e.value === g)?.label ?? (g && g.length > 0 ? g : W), n[6] = W, n[7] = h, n[8] = g, n[9] = G) : G = n[9];
858
- let K = G, q = U || !!S || !!T, te;
859
- n[10] !== H || n[11] !== a ? (te = (e) => {
859
+ t[6] !== W || t[7] !== h || t[8] !== g ? (G = h?.find((e) => e.value === g)?.label ?? (g && g.length > 0 ? g : W), t[6] = W, t[7] = h, t[8] = g, t[9] = G) : G = t[9];
860
+ let K = G, q = U || !!v || !!C, te;
861
+ t[10] !== H || t[11] !== a ? (te = (e) => {
860
862
  e.key === "Enter" && !e.shiftKey && (e.preventDefault(), H && a());
861
- }, n[10] = H, n[11] = a, n[12] = te) : te = n[12];
863
+ }, t[10] = H, t[11] = a, t[12] = te) : te = t[12];
862
864
  let ne = te, re;
863
- n[13] !== H || n[14] !== M || n[15] !== j || n[16] !== I.send || n[17] !== I.stop || n[18] !== a || n[19] !== o ? (re = j && o ? /* @__PURE__ */ k(b, {
865
+ t[13] !== H || t[14] !== M || t[15] !== O || t[16] !== I.send || t[17] !== I.stop || t[18] !== a || t[19] !== o ? (re = O && o ? /* @__PURE__ */ A(x, {
864
866
  size: "small",
865
867
  onClick: o,
866
868
  disabled: M,
867
869
  "aria-label": I.stop ?? "Stop",
868
- children: /* @__PURE__ */ k(z, {})
869
- }) : /* @__PURE__ */ k(b, {
870
+ children: /* @__PURE__ */ A(B, {})
871
+ }) : /* @__PURE__ */ A(x, {
870
872
  size: "small",
871
873
  variant: "contained",
872
874
  color: "primary",
873
875
  onClick: a,
874
876
  disabled: !H,
875
877
  "aria-label": I.send ?? "Send",
876
- children: /* @__PURE__ */ k(N, {})
877
- }), n[13] = H, n[14] = M, n[15] = j, n[16] = I.send, n[17] = I.stop, n[18] = a, n[19] = o, n[20] = re) : re = n[20];
878
- let ie = re, J;
879
- n[21] === D ? J = n[22] : (J = {
878
+ children: /* @__PURE__ */ A(P, {})
879
+ }), t[13] = H, t[14] = M, t[15] = O, t[16] = I.send, t[17] = I.stop, t[18] = a, t[19] = o, t[20] = re) : re = t[20];
880
+ let ie = re, ae;
881
+ t[21] === E ? ae = t[22] : (ae = {
880
882
  ...$.footerWrapper,
881
- ...D
882
- }, n[21] = D, n[22] = J);
883
- let Y;
884
- n[23] === i ? Y = n[24] : (Y = (e) => i(e.target.value), n[23] = i, n[24] = Y);
885
- let ae = M || j, oe;
886
- n[25] !== ne || n[26] !== P || n[27] !== Y || n[28] !== ae || n[29] !== r ? (oe = /* @__PURE__ */ k(x, {
883
+ ...E
884
+ }, t[21] = E, t[22] = ae);
885
+ let J;
886
+ t[23] === i ? J = t[24] : (J = (e) => i(e.target.value), t[23] = i, t[24] = J);
887
+ let Y = M || O, oe;
888
+ t[25] !== ne || t[26] !== N || t[27] !== J || t[28] !== Y || t[29] !== r ? (oe = /* @__PURE__ */ A(S, {
887
889
  multiline: !0,
888
890
  minRows: 1,
889
891
  maxRows: 8,
890
892
  value: r,
891
- onChange: Y,
893
+ onChange: J,
892
894
  onKeyDown: ne,
893
- placeholder: P,
894
- disabled: ae,
895
+ placeholder: N,
896
+ disabled: Y,
895
897
  sx: $.footerInput
896
- }), n[25] = ne, n[26] = P, n[27] = Y, n[28] = ae, n[29] = r, n[30] = oe) : oe = n[30];
897
- let X;
898
- n[31] !== M || n[32] !== T || n[33] !== q || n[34] !== j || n[35] !== R || n[36] !== W || n[37] !== h || n[38] !== _ || n[39] !== K || n[40] !== g || n[41] !== U || n[42] !== S ? (X = q && /* @__PURE__ */ A(l, {
898
+ }), t[25] = ne, t[26] = N, t[27] = J, t[28] = Y, t[29] = r, t[30] = oe) : oe = t[30];
899
+ let se;
900
+ t[31] !== M || t[32] !== C || t[33] !== q || t[34] !== O || t[35] !== R || t[36] !== W || t[37] !== h || t[38] !== _ || t[39] !== K || t[40] !== g || t[41] !== U || t[42] !== v ? (se = q && /* @__PURE__ */ j(u, {
899
901
  sx: $.footerSlots,
900
902
  children: [
901
- S,
902
- U && /* @__PURE__ */ A(O, { children: [/* @__PURE__ */ k(u, {
903
+ v,
904
+ U && /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A(d, {
903
905
  size: "small",
904
906
  variant: "text",
905
907
  color: "inherit",
906
- disabled: M || j,
907
- onClick: (e) => B(e.currentTarget),
908
+ disabled: M || O,
909
+ onClick: (e) => z(e.currentTarget),
908
910
  "aria-label": W,
909
911
  "aria-haspopup": "menu",
910
912
  "aria-expanded": R ? "true" : void 0,
911
- endIcon: /* @__PURE__ */ k(ee, {}),
913
+ endIcon: /* @__PURE__ */ A(ee, {}),
912
914
  sx: $.modelSelector,
913
- children: /* @__PURE__ */ k(E, {
915
+ children: /* @__PURE__ */ A(D, {
914
916
  variant: "caption",
915
917
  component: "span",
916
- color: "inherit",
917
- sx: $.modelSelectorLabel,
918
+ sx: [{ color: "inherit" }, $.modelSelectorLabel],
918
919
  children: K
919
920
  })
920
- }), /* @__PURE__ */ k(C, {
921
+ }), /* @__PURE__ */ A(w, {
921
922
  anchorEl: R,
922
923
  open: !!R,
923
- onClose: () => B(null),
924
+ onClose: () => z(null),
924
925
  variant: "menu",
925
926
  elevation: 8,
926
927
  anchorOrigin: {
@@ -931,90 +932,90 @@ function xe(e) {
931
932
  vertical: "bottom",
932
933
  horizontal: "left"
933
934
  },
934
- children: h?.map((e) => /* @__PURE__ */ k(w, {
935
+ children: h?.map((e) => /* @__PURE__ */ A(T, {
935
936
  selected: e.value === g,
936
937
  onClick: () => {
937
- _?.(e.value), B(null);
938
+ _?.(e.value), z(null);
938
939
  },
939
940
  children: e.label
940
941
  }, e.value))
941
942
  })] }),
942
- T
943
+ C
943
944
  ]
944
- }), n[31] = M, n[32] = T, n[33] = q, n[34] = j, n[35] = R, n[36] = W, n[37] = h, n[38] = _, n[39] = K, n[40] = g, n[41] = U, n[42] = S, n[43] = X) : X = n[43];
945
- let se;
946
- n[44] !== oe || n[45] !== X ? (se = /* @__PURE__ */ A(l, {
945
+ }), t[31] = M, t[32] = C, t[33] = q, t[34] = O, t[35] = R, t[36] = W, t[37] = h, t[38] = _, t[39] = K, t[40] = g, t[41] = U, t[42] = v, t[43] = se) : se = t[43];
946
+ let X;
947
+ t[44] !== oe || t[45] !== se ? (X = /* @__PURE__ */ j(u, {
947
948
  sx: $.footerMain,
948
- children: [oe, X]
949
- }), n[44] = oe, n[45] = X, n[46] = se) : se = n[46];
950
- let Z;
951
- n[47] === ie ? Z = n[48] : (Z = /* @__PURE__ */ k(l, {
949
+ children: [oe, se]
950
+ }), t[44] = oe, t[45] = se, t[46] = X) : X = t[46];
951
+ let ce;
952
+ t[47] === ie ? ce = t[48] : (ce = /* @__PURE__ */ A(u, {
952
953
  sx: $.footerSend,
953
954
  children: ie
954
- }), n[47] = ie, n[48] = Z);
955
- let ce;
956
- n[49] !== se || n[50] !== Z ? (ce = /* @__PURE__ */ A(l, {
955
+ }), t[47] = ie, t[48] = ce);
956
+ let Z;
957
+ t[49] !== X || t[50] !== ce ? (Z = /* @__PURE__ */ j(u, {
957
958
  sx: $.footerBox,
958
- children: [se, Z]
959
- }), n[49] = se, n[50] = Z, n[51] = ce) : ce = n[51];
959
+ children: [X, ce]
960
+ }), t[49] = X, t[50] = ce, t[51] = Z) : Z = t[51];
960
961
  let le;
961
- n[52] === L ? le = n[53] : (le = L ? /* @__PURE__ */ k(y, {
962
+ t[52] === L ? le = t[53] : (le = L ? /* @__PURE__ */ A(b, {
962
963
  sx: $.footerCaption,
963
964
  children: L
964
- }) : null, n[52] = L, n[53] = le);
965
+ }) : null, t[52] = L, t[53] = le);
965
966
  let ue;
966
- return n[54] !== J || n[55] !== ce || n[56] !== le ? (ue = /* @__PURE__ */ A(v, {
967
+ return t[54] !== ae || t[55] !== Z || t[56] !== le ? (ue = /* @__PURE__ */ j(y, {
967
968
  fullWidth: !0,
968
- sx: J,
969
- children: [ce, le]
970
- }), n[54] = J, n[55] = ce, n[56] = le, n[57] = ue) : ue = n[57], ue;
969
+ sx: ae,
970
+ children: [Z, le]
971
+ }), t[54] = ae, t[55] = Z, t[56] = le, t[57] = ue) : ue = t[57], ue;
971
972
  }
972
973
  //#endregion
973
974
  //#region src/chat/containers/chat-starter.tsx
974
- var Se = [
975
+ var Ce = [
975
976
  "#C9DB7440",
976
977
  "#FE88B140",
977
978
  "#9EB9F340",
978
979
  "#F6CF7140"
979
980
  ];
980
- function Ce(e) {
981
- let n = t(40), { icon: r, title: i, description: a, items: o, size: s, onSelect: c, sx: u } = e, d = s === void 0 ? "small" : s, f, p, m, h, g, _, v, y;
982
- if (n[0] !== a || n[1] !== r || n[2] !== o || n[3] !== c || n[4] !== d || n[5] !== u || n[6] !== i) {
983
- let e = o.map(we);
984
- p = l;
985
- let t = d === "small" ? 1 : 2;
986
- n[15] !== u || n[16] !== t ? (g = {
981
+ function we(e) {
982
+ let t = n(40), { icon: r, title: i, description: a, items: o, size: s, onSelect: c, sx: l } = e, d = s === void 0 ? "small" : s, f, p, m, h, g, _, v, y;
983
+ if (t[0] !== a || t[1] !== r || t[2] !== o || t[3] !== c || t[4] !== d || t[5] !== l || t[6] !== i) {
984
+ let e = o.map(Te);
985
+ p = u;
986
+ let n = d === "small" ? 1 : 2;
987
+ t[15] !== l || t[16] !== n ? (g = {
987
988
  ...$.starter,
988
- gap: t,
989
- ...u
990
- }, n[15] = u, n[16] = t, n[17] = g) : g = n[17], _ = r, n[18] !== d || n[19] !== i ? (v = i && /* @__PURE__ */ k(E, {
989
+ gap: n,
990
+ ...l
991
+ }, t[15] = l, t[16] = n, t[17] = g) : g = t[17], _ = r, t[18] !== d || t[19] !== i ? (v = i && /* @__PURE__ */ A(D, {
991
992
  variant: d === "small" ? "h6" : "h5",
992
993
  children: i
993
- }), n[18] = d, n[19] = i, n[20] = v) : v = n[20], n[21] !== a || n[22] !== d ? (y = a && /* @__PURE__ */ k(E, {
994
+ }), t[18] = d, t[19] = i, t[20] = v) : v = t[20], t[21] !== a || t[22] !== d ? (y = a && /* @__PURE__ */ A(D, {
994
995
  variant: d === "small" ? "body2" : "body1",
995
- color: "text.secondary",
996
+ sx: { color: "text.secondary" },
996
997
  children: a
997
- }), n[21] = a, n[22] = d, n[23] = y) : y = n[23], f = l;
998
+ }), t[21] = a, t[22] = d, t[23] = y) : y = t[23], f = u;
998
999
  let s = d === "small" ? 1 : 2, b = o.length > 2 ? $.starterItemsTwoCol : void 0;
999
- n[24] !== b || n[25] !== s ? (m = {
1000
+ t[24] !== b || t[25] !== s ? (m = {
1000
1001
  ...$.starterItems,
1001
1002
  gap: s,
1002
1003
  ...b
1003
- }, n[24] = b, n[25] = s, n[26] = m) : m = n[26];
1004
+ }, t[24] = b, t[25] = s, t[26] = m) : m = t[26];
1004
1005
  let x;
1005
- n[27] === c ? x = n[28] : (x = (e, t) => /* @__PURE__ */ k(de, {
1006
+ t[27] === c ? x = t[28] : (x = (e, t) => /* @__PURE__ */ A(fe, {
1006
1007
  label: e.label,
1007
1008
  onClick: () => c?.(e.label),
1008
- color: e.color
1009
- }, t), n[27] = c, n[28] = x), h = e.map(x), n[0] = a, n[1] = r, n[2] = o, n[3] = c, n[4] = d, n[5] = u, n[6] = i, n[7] = f, n[8] = p, n[9] = m, n[10] = h, n[11] = g, n[12] = _, n[13] = v, n[14] = y;
1010
- } else f = n[7], p = n[8], m = n[9], h = n[10], g = n[11], _ = n[12], v = n[13], y = n[14];
1009
+ backgroundColor: e.backgroundColor
1010
+ }, t), t[27] = c, t[28] = x), h = e.map(x), t[0] = a, t[1] = r, t[2] = o, t[3] = c, t[4] = d, t[5] = l, t[6] = i, t[7] = f, t[8] = p, t[9] = m, t[10] = h, t[11] = g, t[12] = _, t[13] = v, t[14] = y;
1011
+ } else f = t[7], p = t[8], m = t[9], h = t[10], g = t[11], _ = t[12], v = t[13], y = t[14];
1011
1012
  let b;
1012
- n[29] !== f || n[30] !== m || n[31] !== h ? (b = /* @__PURE__ */ k(f, {
1013
+ t[29] !== f || t[30] !== m || t[31] !== h ? (b = /* @__PURE__ */ A(f, {
1013
1014
  sx: m,
1014
1015
  children: h
1015
- }), n[29] = f, n[30] = m, n[31] = h, n[32] = b) : b = n[32];
1016
+ }), t[29] = f, t[30] = m, t[31] = h, t[32] = b) : b = t[32];
1016
1017
  let x;
1017
- return n[33] !== p || n[34] !== g || n[35] !== _ || n[36] !== v || n[37] !== y || n[38] !== b ? (x = /* @__PURE__ */ A(p, {
1018
+ return t[33] !== p || t[34] !== g || t[35] !== _ || t[36] !== v || t[37] !== y || t[38] !== b ? (x = /* @__PURE__ */ j(p, {
1018
1019
  sx: g,
1019
1020
  children: [
1020
1021
  _,
@@ -1022,60 +1023,60 @@ function Ce(e) {
1022
1023
  y,
1023
1024
  b
1024
1025
  ]
1025
- }), n[33] = p, n[34] = g, n[35] = _, n[36] = v, n[37] = y, n[38] = b, n[39] = x) : x = n[39], x;
1026
+ }), t[33] = p, t[34] = g, t[35] = _, t[36] = v, t[37] = y, t[38] = b, t[39] = x) : x = t[39], x;
1026
1027
  }
1027
- function we(e, t) {
1028
+ function Te(e, t) {
1028
1029
  return typeof e == "string" ? {
1029
1030
  label: e,
1030
- color: Se[t]
1031
+ backgroundColor: Ce[t]
1031
1032
  } : {
1032
1033
  label: e.label,
1033
- color: e.color ?? Se[t]
1034
+ backgroundColor: e.backgroundColor ?? Ce[t]
1034
1035
  };
1035
1036
  }
1036
1037
  //#endregion
1037
1038
  //#region src/chat/feedback/chat-actions-container.tsx
1038
- var Te = D(l)(({ theme: e }) => ({
1039
+ var Ee = O(u)(({ theme: e }) => ({
1039
1040
  display: "flex",
1040
1041
  alignItems: "center",
1041
1042
  gap: e.spacing(.5)
1042
1043
  }));
1043
1044
  //#endregion
1044
1045
  //#region src/chat/feedback/chat-rating-action.tsx
1045
- function Ee(e) {
1046
- let n = t(25), { rating: r, onRatingChange: i, labels: a } = e, o;
1047
- n[0] === a ? o = n[1] : (o = a === void 0 ? {} : a, n[0] = a, n[1] = o);
1046
+ function De(e) {
1047
+ let t = n(25), { rating: r, onRatingChange: i, labels: a } = e, o;
1048
+ t[0] === a ? o = t[1] : (o = a === void 0 ? {} : a, t[0] = a, t[1] = o);
1048
1049
  let s = o, c;
1049
- n[2] !== i || n[3] !== r ? (c = () => i?.(r === "up" ? null : "up"), n[2] = i, n[3] = r, n[4] = c) : c = n[4];
1050
+ t[2] !== i || t[3] !== r ? (c = () => i?.(r === "up" ? null : "up"), t[2] = i, t[3] = r, t[4] = c) : c = t[4];
1050
1051
  let l = s.thumbUp ?? "Thumbs up", u = r === "up" ? "primary" : void 0, d;
1051
- n[5] === r ? d = n[6] : (d = k(r === "up" ? H : U, { fontSize: "small" }), n[5] = r, n[6] = d);
1052
+ t[5] === r ? d = t[6] : (d = A(r === "up" ? U : W, { fontSize: "small" }), t[5] = r, t[6] = d);
1052
1053
  let f;
1053
- n[7] !== c || n[8] !== l || n[9] !== u || n[10] !== d ? (f = /* @__PURE__ */ k(b, {
1054
+ t[7] !== c || t[8] !== l || t[9] !== u || t[10] !== d ? (f = /* @__PURE__ */ A(x, {
1054
1055
  size: "small",
1055
1056
  onClick: c,
1056
1057
  "aria-label": l,
1057
1058
  color: u,
1058
1059
  children: d
1059
- }), n[7] = c, n[8] = l, n[9] = u, n[10] = d, n[11] = f) : f = n[11];
1060
+ }), t[7] = c, t[8] = l, t[9] = u, t[10] = d, t[11] = f) : f = t[11];
1060
1061
  let p;
1061
- n[12] !== i || n[13] !== r ? (p = () => i?.(r === "down" ? null : "down"), n[12] = i, n[13] = r, n[14] = p) : p = n[14];
1062
+ t[12] !== i || t[13] !== r ? (p = () => i?.(r === "down" ? null : "down"), t[12] = i, t[13] = r, t[14] = p) : p = t[14];
1062
1063
  let m = s.thumbDown ?? "Thumbs down", h = r === "down" ? "primary" : void 0, g;
1063
- n[15] === r ? g = n[16] : (g = k(r === "down" ? B : V, { fontSize: "small" }), n[15] = r, n[16] = g);
1064
+ t[15] === r ? g = t[16] : (g = A(r === "down" ? V : H, { fontSize: "small" }), t[15] = r, t[16] = g);
1064
1065
  let _;
1065
- n[17] !== h || n[18] !== g || n[19] !== p || n[20] !== m ? (_ = /* @__PURE__ */ k(b, {
1066
+ t[17] !== h || t[18] !== g || t[19] !== p || t[20] !== m ? (_ = /* @__PURE__ */ A(x, {
1066
1067
  size: "small",
1067
1068
  onClick: p,
1068
1069
  "aria-label": m,
1069
1070
  color: h,
1070
1071
  children: g
1071
- }), n[17] = h, n[18] = g, n[19] = p, n[20] = m, n[21] = _) : _ = n[21];
1072
+ }), t[17] = h, t[18] = g, t[19] = p, t[20] = m, t[21] = _) : _ = t[21];
1072
1073
  let v;
1073
- return n[22] !== _ || n[23] !== f ? (v = /* @__PURE__ */ A(O, { children: [f, _] }), n[22] = _, n[23] = f, n[24] = v) : v = n[24], v;
1074
+ return t[22] !== _ || t[23] !== f ? (v = /* @__PURE__ */ j(k, { children: [f, _] }), t[22] = _, t[23] = f, t[24] = v) : v = t[24], v;
1074
1075
  }
1075
1076
  //#endregion
1076
1077
  //#region src/chat/feedback/chat-tool-full-view-dialog.tsx
1077
- var De = /^-?\d/;
1078
- function Oe(e) {
1078
+ var Oe = /^-?\d/;
1079
+ function ke(e) {
1079
1080
  let t = [], n = 0, r, i = /* @__PURE__ */ new Set(), a = /("(?:[^"\\]|\\.)*")\s*:/g, o;
1080
1081
  for (; (o = a.exec(e)) !== null;) i.add(o.index);
1081
1082
  let s = /"(?:[^"\\]|\\.)*"|\b(?:true|false)\b|\bnull\b|-?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?|[{}\[\]:,]/g;
@@ -1088,7 +1089,7 @@ function Oe(e) {
1088
1089
  }) : t.push({
1089
1090
  type: "string",
1090
1091
  value: a
1091
- }) : De.test(a) ? t.push({
1092
+ }) : Oe.test(a) ? t.push({
1092
1093
  type: "number",
1093
1094
  value: a
1094
1095
  }) : a === "true" || a === "false" ? t.push({
@@ -1104,11 +1105,11 @@ function Oe(e) {
1104
1105
  }
1105
1106
  return n < e.length && t.push(e.slice(n)), t;
1106
1107
  }
1107
- function ke(n) {
1108
- let r = t(24), { open: i, onClose: a, title: o, content: s } = n, c;
1109
- r[0] === s ? c = r[1] : (c = s.split("\n").map(Me), r[0] = s, r[1] = c);
1110
- let u = c, d;
1111
- r[2] === Symbol.for("react.memo_cache_sentinel") ? (d = { sx: Q.fullViewPaper }, r[2] = d) : d = r[2];
1108
+ function Ae(t) {
1109
+ let r = n(24), { open: i, onClose: a, title: o, content: s } = t, c;
1110
+ r[0] === s ? c = r[1] : (c = s.split("\n").map(Ne), r[0] = s, r[1] = c);
1111
+ let l = c, d;
1112
+ r[2] === Symbol.for("react.memo_cache_sentinel") ? (d = { paper: { sx: Q.fullViewPaper } }, r[2] = d) : d = r[2];
1112
1113
  let f;
1113
1114
  r[3] === Symbol.for("react.memo_cache_sentinel") ? (f = {
1114
1115
  display: "flex",
@@ -1116,259 +1117,265 @@ function ke(n) {
1116
1117
  gap: .5
1117
1118
  }, r[3] = f) : f = r[3];
1118
1119
  let p;
1119
- r[4] === s ? p = r[5] : (p = /* @__PURE__ */ k(e, {
1120
+ r[4] === s ? p = r[5] : (p = /* @__PURE__ */ A(e, {
1120
1121
  copyText: s,
1121
1122
  "aria-label": "Copy content"
1122
1123
  }), r[4] = s, r[5] = p);
1123
- let _;
1124
- r[6] === Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ k(I, {}), r[6] = _) : _ = r[6];
1124
+ let m;
1125
+ r[6] === Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ A(L, {}), r[6] = m) : m = r[6];
1125
1126
  let v;
1126
- r[7] === a ? v = r[8] : (v = /* @__PURE__ */ k(b, {
1127
+ r[7] === a ? v = r[8] : (v = /* @__PURE__ */ A(x, {
1127
1128
  onClick: a,
1128
1129
  "aria-label": "close",
1129
- children: _
1130
+ children: m
1130
1131
  }), r[7] = a, r[8] = v);
1131
1132
  let y;
1132
- r[9] !== p || r[10] !== v ? (y = /* @__PURE__ */ A(l, {
1133
+ r[9] !== p || r[10] !== v ? (y = /* @__PURE__ */ j(u, {
1133
1134
  sx: f,
1134
1135
  children: [p, v]
1135
1136
  }), r[9] = p, r[10] = v, r[11] = y) : y = r[11];
1136
- let x;
1137
- r[12] !== y || r[13] !== o ? (x = /* @__PURE__ */ A(g, {
1137
+ let b;
1138
+ r[12] !== y || r[13] !== o ? (b = /* @__PURE__ */ j(_, {
1138
1139
  sx: Q.fullViewTitle,
1139
1140
  children: [o, y]
1140
- }), r[12] = y, r[13] = o, r[14] = x) : x = r[14];
1141
+ }), r[12] = y, r[13] = o, r[14] = b) : b = r[14];
1141
1142
  let S;
1142
- r[15] === u ? S = r[16] : (S = u.map(Ae), r[15] = u, r[16] = S);
1143
+ r[15] === l ? S = r[16] : (S = l.map(je), r[15] = l, r[16] = S);
1143
1144
  let C;
1144
- r[17] === S ? C = r[18] : (C = /* @__PURE__ */ k(h, {
1145
+ r[17] === S ? C = r[18] : (C = /* @__PURE__ */ A(g, {
1145
1146
  sx: Q.fullViewDialogContent,
1146
- children: /* @__PURE__ */ k(l, {
1147
+ children: /* @__PURE__ */ A(u, {
1147
1148
  component: "pre",
1148
1149
  sx: Q.fullViewPre,
1149
1150
  children: S
1150
1151
  })
1151
1152
  }), r[17] = S, r[18] = C);
1152
1153
  let w;
1153
- return r[19] !== a || r[20] !== i || r[21] !== C || r[22] !== x ? (w = /* @__PURE__ */ A(m, {
1154
+ return r[19] !== a || r[20] !== i || r[21] !== C || r[22] !== b ? (w = /* @__PURE__ */ j(h, {
1154
1155
  open: i,
1155
1156
  onClose: a,
1156
1157
  sx: Q.fullViewDialog,
1157
- PaperProps: d,
1158
1158
  fullScreen: !0,
1159
- children: [x, C]
1160
- }), r[19] = a, r[20] = i, r[21] = C, r[22] = x, r[23] = w) : w = r[23], w;
1159
+ slotProps: d,
1160
+ children: [b, C]
1161
+ }), r[19] = a, r[20] = i, r[21] = C, r[22] = b, r[23] = w) : w = r[23], w;
1161
1162
  }
1162
- function Ae(e, t) {
1163
- return /* @__PURE__ */ A(l, {
1163
+ function je(e, t) {
1164
+ return /* @__PURE__ */ j(u, {
1164
1165
  component: "span",
1165
1166
  sx: Q.fullViewLine,
1166
- children: [e.map(je), "\n"]
1167
+ children: [e.map(Me), "\n"]
1167
1168
  }, t);
1168
1169
  }
1169
- function je(e, t) {
1170
- return typeof e == "string" ? e : /* @__PURE__ */ k(l, {
1170
+ function Me(e, t) {
1171
+ return typeof e == "string" ? e : /* @__PURE__ */ A(u, {
1171
1172
  component: "span",
1172
1173
  sx: Q[`syntaxToken_${e.type}`],
1173
1174
  children: e.value
1174
1175
  }, t);
1175
1176
  }
1176
- function Me(e) {
1177
- return Oe(e);
1177
+ function Ne(e) {
1178
+ return ke(e);
1178
1179
  }
1179
1180
  //#endregion
1180
1181
  //#region src/chat/feedback/chat-tool-code-area.tsx
1181
- function Ne(e) {
1182
- let n = t(28), { content: r, title: i, isError: o, labels: u, sx: d } = e, f = i === void 0 ? "" : i, p = o !== void 0 && o, m;
1183
- n[0] === u ? m = n[1] : (m = u === void 0 ? {} : u, n[0] = u, n[1] = m);
1184
- let h = m, g = s(null), [_, v] = c(!1), [y, x] = c(!1), S;
1185
- n[2] === Symbol.for("react.memo_cache_sentinel") ? (S = () => {
1182
+ function Pe(e) {
1183
+ let t = n(28), { content: r, title: i, isError: a, labels: s, sx: d } = e, f = i === void 0 ? "" : i, p = a !== void 0 && a, m;
1184
+ t[0] === s ? m = t[1] : (m = s === void 0 ? {} : s, t[0] = s, t[1] = m);
1185
+ let h = m, g = c(null), [_, v] = l(!1), [y, b] = l(!1), S;
1186
+ t[2] === Symbol.for("react.memo_cache_sentinel") ? (S = () => {
1186
1187
  let e = g.current;
1187
1188
  e && v(e.scrollHeight > e.clientHeight);
1188
- }, n[2] = S) : S = n[2];
1189
+ }, t[2] = S) : S = t[2];
1189
1190
  let C = S, w;
1190
- n[3] === Symbol.for("react.memo_cache_sentinel") ? (w = () => {
1191
+ t[3] === Symbol.for("react.memo_cache_sentinel") ? (w = () => {
1191
1192
  C();
1192
1193
  let e = g.current;
1193
1194
  if (!e) return;
1194
1195
  let t = new ResizeObserver(C);
1195
1196
  return t.observe(e), () => t.disconnect();
1196
- }, n[3] = w) : w = n[3];
1197
- let E;
1198
- n[4] === r ? E = n[5] : (E = [C, r], n[4] = r, n[5] = E), a(w, E);
1197
+ }, t[3] = w) : w = t[3];
1198
+ let T;
1199
+ t[4] === r ? T = t[5] : (T = [C, r], t[4] = r, t[5] = T), o(w, T);
1199
1200
  let D = h.fullView ?? "Full view", O;
1200
- n[6] === d ? O = n[7] : (O = {
1201
+ t[6] === d ? O = t[7] : (O = {
1201
1202
  ...Q.codeArea,
1202
1203
  ...d
1203
- }, n[6] = d, n[7] = O);
1204
- let j;
1205
- n[8] === p ? j = n[9] : (j = p ? Q.codeAreaPreError : {}, n[8] = p, n[9] = j);
1204
+ }, t[6] = d, t[7] = O);
1205
+ let k;
1206
+ t[8] === p ? k = t[9] : (k = p ? Q.codeAreaPreError : {}, t[8] = p, t[9] = k);
1206
1207
  let M;
1207
- n[10] === j ? M = n[11] : (M = {
1208
+ t[10] === k ? M = t[11] : (M = {
1208
1209
  ...Q.codeAreaPre,
1209
1210
  maxHeight: 126,
1210
- ...j
1211
- }, n[10] = j, n[11] = M);
1211
+ ...k
1212
+ }, t[10] = k, t[11] = M);
1212
1213
  let N;
1213
- n[12] !== r || n[13] !== M ? (N = /* @__PURE__ */ k(l, {
1214
+ t[12] !== r || t[13] !== M ? (N = /* @__PURE__ */ A(u, {
1214
1215
  component: "pre",
1215
1216
  ref: g,
1216
1217
  sx: M,
1217
1218
  children: r
1218
- }), n[12] = r, n[13] = M, n[14] = N) : N = n[14];
1219
+ }), t[12] = r, t[13] = M, t[14] = N) : N = t[14];
1219
1220
  let P;
1220
- n[15] !== D || n[16] !== _ ? (P = _ && /* @__PURE__ */ k(T, {
1221
+ t[15] !== D || t[16] !== _ ? (P = _ && /* @__PURE__ */ A(E, {
1221
1222
  title: D,
1222
- children: /* @__PURE__ */ k(b, {
1223
+ children: /* @__PURE__ */ A(x, {
1223
1224
  size: "small",
1224
- onClick: () => x(!0),
1225
+ onClick: () => b(!0),
1225
1226
  sx: Q.codeAreaFullViewButton,
1226
- children: /* @__PURE__ */ k(K, {})
1227
+ children: /* @__PURE__ */ A(q, {})
1227
1228
  })
1228
- }), n[15] = D, n[16] = _, n[17] = P) : P = n[17];
1229
+ }), t[15] = D, t[16] = _, t[17] = P) : P = t[17];
1229
1230
  let F;
1230
- n[18] === Symbol.for("react.memo_cache_sentinel") ? (F = () => x(!1), n[18] = F) : F = n[18];
1231
+ t[18] === Symbol.for("react.memo_cache_sentinel") ? (F = () => b(!1), t[18] = F) : F = t[18];
1231
1232
  let I;
1232
- n[19] !== r || n[20] !== y || n[21] !== f ? (I = /* @__PURE__ */ k(ke, {
1233
+ t[19] !== r || t[20] !== y || t[21] !== f ? (I = /* @__PURE__ */ A(Ae, {
1233
1234
  open: y,
1234
1235
  onClose: F,
1235
1236
  title: f,
1236
1237
  content: r
1237
- }), n[19] = r, n[20] = y, n[21] = f, n[22] = I) : I = n[22];
1238
+ }), t[19] = r, t[20] = y, t[21] = f, t[22] = I) : I = t[22];
1238
1239
  let L;
1239
- return n[23] !== N || n[24] !== P || n[25] !== I || n[26] !== O ? (L = /* @__PURE__ */ A(l, {
1240
+ return t[23] !== N || t[24] !== P || t[25] !== I || t[26] !== O ? (L = /* @__PURE__ */ j(u, {
1240
1241
  sx: O,
1241
1242
  children: [
1242
1243
  N,
1243
1244
  P,
1244
1245
  I
1245
1246
  ]
1246
- }), n[23] = N, n[24] = P, n[25] = I, n[26] = O, n[27] = L) : L = n[27], L;
1247
+ }), t[23] = N, t[24] = P, t[25] = I, t[26] = O, t[27] = L) : L = t[27], L;
1247
1248
  }
1248
1249
  //#endregion
1249
1250
  //#region src/chat/feedback/get-tool-label.ts
1250
- function Pe(e) {
1251
+ function Fe(e) {
1251
1252
  let t = e.replace(/_/g, " ");
1252
1253
  return t.charAt(0).toUpperCase() + t.slice(1);
1253
1254
  }
1254
- function Fe(e) {
1255
- return e.status === "running" ? e.runningLabel ?? Pe(e.name) : e.label ?? Pe(e.name);
1255
+ function Ie(e) {
1256
+ return e.status === "running" ? e.runningLabel ?? Fe(e.name) : e.label ?? Fe(e.name);
1256
1257
  }
1257
1258
  //#endregion
1258
1259
  //#region src/chat/feedback/chat-tool-trace.tsx
1259
- function Ie(e) {
1260
- let n = t(9), { status: r, labels: i } = e;
1260
+ function Le(e) {
1261
+ let t = n(9), { status: r, labels: i } = e;
1261
1262
  switch (r) {
1262
1263
  case "complete": {
1263
1264
  let e;
1264
- n[0] === Symbol.for("react.memo_cache_sentinel") ? (e = {
1265
+ t[0] === Symbol.for("react.memo_cache_sentinel") ? (e = {
1265
1266
  display: "flex",
1266
1267
  alignItems: "center",
1267
1268
  gap: .5
1268
- }, n[0] = e) : e = n[0];
1269
- let t;
1270
- n[1] === Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ k(P, {
1269
+ }, t[0] = e) : e = t[0];
1270
+ let n;
1271
+ t[1] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ A(F, {
1271
1272
  sx: { fontSize: 12 },
1272
1273
  color: "success"
1273
- }), n[1] = t) : t = n[1];
1274
+ }), t[1] = n) : n = t[1];
1274
1275
  let r = i?.success ?? "Success", a;
1275
- return n[2] === r ? a = n[3] : (a = /* @__PURE__ */ A(l, {
1276
+ return t[2] === r ? a = t[3] : (a = /* @__PURE__ */ j(u, {
1276
1277
  sx: e,
1277
- children: [t, /* @__PURE__ */ k(E, {
1278
+ children: [n, /* @__PURE__ */ A(D, {
1278
1279
  variant: "caption",
1279
1280
  children: r
1280
1281
  })]
1281
- }), n[2] = r, n[3] = a), a;
1282
+ }), t[2] = r, t[3] = a), a;
1282
1283
  }
1283
1284
  case "error": {
1284
1285
  let e;
1285
- n[4] === Symbol.for("react.memo_cache_sentinel") ? (e = {
1286
+ t[4] === Symbol.for("react.memo_cache_sentinel") ? (e = {
1286
1287
  display: "flex",
1287
1288
  alignItems: "center",
1288
1289
  gap: .5
1289
- }, n[4] = e) : e = n[4];
1290
- let t;
1291
- n[5] === Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ k(L, {
1290
+ }, t[4] = e) : e = t[4];
1291
+ let n;
1292
+ t[5] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ A(R, {
1292
1293
  sx: { fontSize: 12 },
1293
1294
  color: "error"
1294
- }), n[5] = t) : t = n[5];
1295
+ }), t[5] = n) : n = t[5];
1295
1296
  let r = i?.error ?? "Error", a;
1296
- return n[6] === r ? a = n[7] : (a = /* @__PURE__ */ A(l, {
1297
+ return t[6] === r ? a = t[7] : (a = /* @__PURE__ */ j(u, {
1297
1298
  sx: e,
1298
- children: [t, /* @__PURE__ */ k(E, {
1299
+ children: [n, /* @__PURE__ */ A(D, {
1299
1300
  variant: "code3",
1300
1301
  children: r
1301
1302
  })]
1302
- }), n[6] = r, n[7] = a), a;
1303
+ }), t[6] = r, t[7] = a), a;
1303
1304
  }
1304
1305
  case "running": {
1305
1306
  let e;
1306
- return n[8] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ k(f, { size: 14 }), n[8] = e) : e = n[8], e;
1307
+ return t[8] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ A(p, { size: 14 }), t[8] = e) : e = t[8], e;
1307
1308
  }
1308
1309
  default: return null;
1309
1310
  }
1310
1311
  }
1311
- function Le(e) {
1312
- let n = t(33), { tool: r, labels: i } = e, a;
1313
- n[0] === i ? a = n[1] : (a = i === void 0 ? {} : i, n[0] = i, n[1] = a);
1314
- let o = a, s = r.status === "error", c = o.toolExecuted ?? "Tool executed", u = o.reference ?? "Reference:", d = o.duration ?? "Duration:", f = o.status ?? "Status:", p = o.inputArguments ?? "Input arguments:", m = o.output ?? "Output:", h;
1315
- n[2] !== u || n[3] !== r.reference ? (h = r.reference && /* @__PURE__ */ A(l, {
1312
+ function Re(e) {
1313
+ let t = n(34), { tool: r, labels: i } = e, a;
1314
+ t[0] === i ? a = t[1] : (a = i === void 0 ? {} : i, t[0] = i, t[1] = a);
1315
+ let o = a, s = r.status === "error", c = o.toolExecuted ?? "Tool executed", l = o.reference ?? "Reference:", d = o.duration ?? "Duration:", f = o.status ?? "Status:", p = o.inputArguments ?? "Input arguments:", m = o.output ?? "Output:", h;
1316
+ t[2] !== l || t[3] !== r.reference ? (h = r.reference && /* @__PURE__ */ j(u, {
1316
1317
  sx: Q.traceField,
1317
- children: [/* @__PURE__ */ k(E, {
1318
+ children: [/* @__PURE__ */ A(D, {
1318
1319
  variant: "code3",
1319
- fontWeight: 600,
1320
- color: "text.secondary",
1321
- sx: Q.traceFieldLabel,
1322
- children: u
1323
- }), /* @__PURE__ */ A(l, {
1320
+ sx: [{
1321
+ fontWeight: 600,
1322
+ color: "text.secondary"
1323
+ }, Q.traceFieldLabel],
1324
+ children: l
1325
+ }), /* @__PURE__ */ j(u, {
1324
1326
  sx: Q.traceReference,
1325
- children: [/* @__PURE__ */ k(G, { color: "success" }), /* @__PURE__ */ k(E, {
1327
+ children: [/* @__PURE__ */ A(K, { color: "success" }), /* @__PURE__ */ A(D, {
1326
1328
  variant: "code3",
1327
- fontWeight: 600,
1329
+ sx: { fontWeight: 600 },
1328
1330
  children: r.reference
1329
1331
  })]
1330
1332
  })]
1331
- }), n[2] = u, n[3] = r.reference, n[4] = h) : h = n[4];
1333
+ }), t[2] = l, t[3] = r.reference, t[4] = h) : h = t[4];
1332
1334
  let g;
1333
- n[5] !== d || n[6] !== r.duration ? (g = r.duration != null && /* @__PURE__ */ A(l, {
1335
+ t[5] !== d || t[6] !== r.duration ? (g = r.duration != null && /* @__PURE__ */ j(u, {
1334
1336
  sx: Q.traceField,
1335
- children: [/* @__PURE__ */ k(E, {
1337
+ children: [/* @__PURE__ */ A(D, {
1336
1338
  variant: "code3",
1337
- fontWeight: 600,
1338
- color: "text.secondary",
1339
- sx: Q.traceFieldLabel,
1339
+ sx: [{
1340
+ fontWeight: 600,
1341
+ color: "text.secondary"
1342
+ }, Q.traceFieldLabel],
1340
1343
  children: d
1341
- }), /* @__PURE__ */ A(E, {
1344
+ }), /* @__PURE__ */ j(D, {
1342
1345
  variant: "code3",
1343
1346
  children: [r.duration, "s"]
1344
1347
  })]
1345
- }), n[5] = d, n[6] = r.duration, n[7] = g) : g = n[7];
1348
+ }), t[5] = d, t[6] = r.duration, t[7] = g) : g = t[7];
1346
1349
  let _;
1347
- n[8] === f ? _ = n[9] : (_ = /* @__PURE__ */ k(E, {
1348
- variant: "code3",
1350
+ t[8] === Symbol.for("react.memo_cache_sentinel") ? (_ = [{
1349
1351
  fontWeight: 600,
1350
- color: "text.secondary",
1351
- sx: Q.traceFieldLabel,
1352
- children: f
1353
- }), n[8] = f, n[9] = _);
1352
+ color: "text.secondary"
1353
+ }, Q.traceFieldLabel], t[8] = _) : _ = t[8];
1354
1354
  let v;
1355
- n[10] !== o || n[11] !== r.status ? (v = /* @__PURE__ */ k(Ie, {
1355
+ t[9] === f ? v = t[10] : (v = /* @__PURE__ */ A(D, {
1356
+ variant: "code3",
1357
+ sx: _,
1358
+ children: f
1359
+ }), t[9] = f, t[10] = v);
1360
+ let y;
1361
+ t[11] !== o || t[12] !== r.status ? (y = /* @__PURE__ */ A(Le, {
1356
1362
  status: r.status,
1357
1363
  labels: o
1358
- }), n[10] = o, n[11] = r.status, n[12] = v) : v = n[12];
1359
- let y;
1360
- n[13] !== _ || n[14] !== v ? (y = /* @__PURE__ */ A(l, {
1361
- sx: Q.traceField,
1362
- children: [_, v]
1363
- }), n[13] = _, n[14] = v, n[15] = y) : y = n[15];
1364
+ }), t[11] = o, t[12] = r.status, t[13] = y) : y = t[13];
1364
1365
  let b;
1365
- n[16] !== p || n[17] !== s || n[18] !== r.inputArguments || n[19] !== r.output || n[20] !== c ? (b = r.inputArguments && /* @__PURE__ */ A(l, { children: [/* @__PURE__ */ k(E, {
1366
- variant: "code3",
1367
- fontWeight: 600,
1368
- color: "text.secondary",
1366
+ t[14] !== v || t[15] !== y ? (b = /* @__PURE__ */ j(u, {
1369
1367
  sx: Q.traceField,
1368
+ children: [v, y]
1369
+ }), t[14] = v, t[15] = y, t[16] = b) : b = t[16];
1370
+ let x;
1371
+ t[17] !== p || t[18] !== s || t[19] !== r.inputArguments || t[20] !== r.output || t[21] !== c ? (x = r.inputArguments && /* @__PURE__ */ j(u, { children: [/* @__PURE__ */ A(D, {
1372
+ variant: "code3",
1373
+ sx: [{
1374
+ fontWeight: 600,
1375
+ color: "text.secondary"
1376
+ }, Q.traceField],
1370
1377
  children: p
1371
- }), /* @__PURE__ */ k(Ne, {
1378
+ }), /* @__PURE__ */ A(Pe, {
1372
1379
  sx: {
1373
1380
  mt: .5,
1374
1381
  mb: r.output ? 1.5 : 0
@@ -1376,267 +1383,282 @@ function Le(e) {
1376
1383
  content: r.inputArguments,
1377
1384
  title: `${c}: ${p}`,
1378
1385
  isError: s
1379
- })] }), n[16] = p, n[17] = s, n[18] = r.inputArguments, n[19] = r.output, n[20] = c, n[21] = b) : b = n[21];
1380
- let x;
1381
- n[22] !== s || n[23] !== m || n[24] !== r.output || n[25] !== c ? (x = r.output && /* @__PURE__ */ A(l, { children: [/* @__PURE__ */ k(E, {
1386
+ })] }), t[17] = p, t[18] = s, t[19] = r.inputArguments, t[20] = r.output, t[21] = c, t[22] = x) : x = t[22];
1387
+ let S;
1388
+ t[23] !== s || t[24] !== m || t[25] !== r.output || t[26] !== c ? (S = r.output && /* @__PURE__ */ j(u, { children: [/* @__PURE__ */ A(D, {
1382
1389
  variant: "code3",
1383
- fontWeight: 600,
1384
- color: "text.secondary",
1385
- sx: Q.traceField,
1390
+ sx: [{
1391
+ fontWeight: 600,
1392
+ color: "text.secondary"
1393
+ }, Q.traceField],
1386
1394
  children: m
1387
- }), /* @__PURE__ */ k(Ne, {
1395
+ }), /* @__PURE__ */ A(Pe, {
1388
1396
  sx: { mt: .5 },
1389
1397
  content: r.output,
1390
1398
  title: `${c}: ${m}`,
1391
1399
  isError: s
1392
- })] }), n[22] = s, n[23] = m, n[24] = r.output, n[25] = c, n[26] = x) : x = n[26];
1393
- let S;
1394
- return n[27] !== h || n[28] !== g || n[29] !== y || n[30] !== b || n[31] !== x ? (S = /* @__PURE__ */ A(l, { children: [
1400
+ })] }), t[23] = s, t[24] = m, t[25] = r.output, t[26] = c, t[27] = S) : S = t[27];
1401
+ let C;
1402
+ return t[28] !== S || t[29] !== h || t[30] !== g || t[31] !== b || t[32] !== x ? (C = /* @__PURE__ */ j(u, { children: [
1395
1403
  h,
1396
1404
  g,
1397
- y,
1398
1405
  b,
1399
- x
1400
- ] }), n[27] = h, n[28] = g, n[29] = y, n[30] = b, n[31] = x, n[32] = S) : S = n[32], S;
1406
+ x,
1407
+ S
1408
+ ] }), t[28] = S, t[29] = h, t[30] = g, t[31] = b, t[32] = x, t[33] = C) : C = t[33], C;
1401
1409
  }
1402
- function Re(e) {
1403
- let n = t(29), { tool: r, expanded: i, onExpandedChange: a, labels: o, sx: s } = e, c;
1404
- n[0] === o ? c = n[1] : (c = o === void 0 ? {} : o, n[0] = o, n[1] = c);
1405
- let d = c, f = r.status === "running", m = d.toolExecuted ?? "Tool executed";
1406
- if (f) {
1410
+ function ze(e) {
1411
+ let r = n(32), { tool: i, expanded: a, onExpandedChange: o, labels: s, sx: c } = e, l;
1412
+ r[0] === s ? l = r[1] : (l = s === void 0 ? {} : s, r[0] = s, r[1] = l);
1413
+ let f = l, p = i.status === "running", h = f.toolExecuted ?? "Tool executed";
1414
+ if (p) {
1407
1415
  let e;
1408
- n[2] === r ? e = n[3] : (e = Fe(r), n[2] = r, n[3] = e);
1416
+ r[2] === i ? e = r[3] : (e = Ie(i), r[2] = i, r[3] = e);
1409
1417
  let t;
1410
- return n[4] === e ? t = n[5] : (t = /* @__PURE__ */ k(he, { children: e }), n[4] = e, n[5] = t), t;
1418
+ return r[4] === e ? t = r[5] : (t = /* @__PURE__ */ A(ge, { children: e }), r[4] = e, r[5] = t), t;
1411
1419
  }
1412
- let h;
1413
- n[6] !== i || n[7] !== a ? (h = () => a?.(!i), n[6] = i, n[7] = a, n[8] = h) : h = n[8];
1414
- let g;
1415
- n[9] === m ? g = n[10] : (g = /* @__PURE__ */ k(E, {
1416
- variant: "caption",
1420
+ let g = i.name, _;
1421
+ r[6] === c ? _ = r[7] : (_ = t({ width: "100%" }, c), r[6] = c, r[7] = _);
1422
+ let v;
1423
+ r[8] !== a || r[9] !== o ? (v = () => o?.(!a), r[8] = a, r[9] = o, r[10] = v) : v = r[10];
1424
+ let y;
1425
+ r[11] === Symbol.for("react.memo_cache_sentinel") ? (y = {
1417
1426
  fontWeight: 600,
1418
- color: "text.secondary",
1419
- children: m
1420
- }), n[9] = m, n[10] = g);
1421
- let _ = i ? "rotate(90deg)" : "rotate(0deg)", v;
1422
- n[11] === _ ? v = n[12] : (v = /* @__PURE__ */ k(j, { sx: {
1427
+ color: "text.secondary"
1428
+ }, r[11] = y) : y = r[11];
1429
+ let b;
1430
+ r[12] === h ? b = r[13] : (b = /* @__PURE__ */ A(D, {
1431
+ variant: "caption",
1432
+ sx: y,
1433
+ children: h
1434
+ }), r[12] = h, r[13] = b);
1435
+ let x = a ? "rotate(90deg)" : "rotate(0deg)", S;
1436
+ r[14] === x ? S = r[15] : (S = /* @__PURE__ */ A(M, { sx: {
1423
1437
  ...Q.traceChevron,
1424
- transform: _
1425
- } }), n[11] = _, n[12] = v);
1426
- let y;
1427
- n[13] !== i || n[14] !== h || n[15] !== g || n[16] !== v ? (y = /* @__PURE__ */ A(u, {
1438
+ transform: x
1439
+ } }), r[14] = x, r[15] = S);
1440
+ let C;
1441
+ r[16] !== a || r[17] !== v || r[18] !== b || r[19] !== S ? (C = /* @__PURE__ */ j(d, {
1428
1442
  size: "small",
1429
1443
  variant: "text",
1430
- onClick: h,
1431
- "aria-expanded": i,
1444
+ onClick: v,
1445
+ "aria-expanded": a,
1432
1446
  sx: Q.traceHeader,
1433
- children: [g, v]
1434
- }), n[13] = i, n[14] = h, n[15] = g, n[16] = v, n[17] = y) : y = n[17];
1435
- let b;
1436
- n[18] !== d || n[19] !== r ? (b = /* @__PURE__ */ k(l, {
1447
+ children: [b, S]
1448
+ }), r[16] = a, r[17] = v, r[18] = b, r[19] = S, r[20] = C) : C = r[20];
1449
+ let w;
1450
+ r[21] !== f || r[22] !== i ? (w = /* @__PURE__ */ A(u, {
1437
1451
  sx: Q.traceDetailsWrapper,
1438
- children: /* @__PURE__ */ k(Le, {
1439
- tool: r,
1440
- labels: d
1452
+ children: /* @__PURE__ */ A(Re, {
1453
+ tool: i,
1454
+ labels: f
1441
1455
  })
1442
- }), n[18] = d, n[19] = r, n[20] = b) : b = n[20];
1443
- let x;
1444
- n[21] !== i || n[22] !== b ? (x = /* @__PURE__ */ k(p, {
1445
- in: i,
1456
+ }), r[21] = f, r[22] = i, r[23] = w) : w = r[23];
1457
+ let T;
1458
+ r[24] !== a || r[25] !== w ? (T = /* @__PURE__ */ A(m, {
1459
+ in: a,
1446
1460
  unmountOnExit: !0,
1447
- children: b
1448
- }), n[21] = i, n[22] = b, n[23] = x) : x = n[23];
1449
- let S;
1450
- return n[24] !== s || n[25] !== y || n[26] !== x || n[27] !== r.name ? (S = /* @__PURE__ */ A(l, {
1451
- width: "100%",
1452
- sx: s,
1453
- "data-tool": r.name,
1461
+ children: w
1462
+ }), r[24] = a, r[25] = w, r[26] = T) : T = r[26];
1463
+ let E;
1464
+ return r[27] !== C || r[28] !== T || r[29] !== _ || r[30] !== i.name ? (E = /* @__PURE__ */ j(u, {
1465
+ "data-tool": g,
1454
1466
  className: "PsChat--tool-trace",
1455
- children: [y, x]
1456
- }), n[24] = s, n[25] = y, n[26] = x, n[27] = r.name, n[28] = S) : S = n[28], S;
1467
+ sx: _,
1468
+ children: [C, T]
1469
+ }), r[27] = C, r[28] = T, r[29] = _, r[30] = i.name, r[31] = E) : E = r[31], E;
1457
1470
  }
1458
1471
  //#endregion
1459
1472
  //#region src/chat/feedback/chat-tool-group.tsx
1460
- function ze(e, n) {
1461
- let r = t(5), [i, a] = c(e);
1462
- if (n) {
1463
- let t;
1464
- return r[0] !== n || r[1] !== e ? (t = [e, n], r[0] = n, r[1] = e, r[2] = t) : t = r[2], t;
1473
+ function Be(e, t) {
1474
+ let r = n(5), [i, a] = l(e);
1475
+ if (t) {
1476
+ let n;
1477
+ return r[0] !== t || r[1] !== e ? (n = [e, t], r[0] = t, r[1] = e, r[2] = n) : n = r[2], n;
1465
1478
  }
1466
1479
  {
1467
1480
  let e;
1468
1481
  return r[3] === i ? e = r[4] : (e = [i, a], r[3] = i, r[4] = e), e;
1469
1482
  }
1470
1483
  }
1471
- function Be(e) {
1472
- let n = t(61), { tools: r, expanded: i, onExpandedChange: a, expandedTools: o, onToolExpandedChange: s, labels: c, sx: d } = e, f = i !== void 0 && i, m;
1473
- n[0] === o ? m = n[1] : (m = o === void 0 ? {} : o, n[0] = o, n[1] = m);
1474
- let h = m, g;
1475
- n[2] === c ? g = n[3] : (g = c === void 0 ? {} : c, n[2] = c, n[3] = g);
1476
- let _ = g, [v, y] = ze(f, a), [b, x] = ze(h, s), S;
1477
- n[4] === r ? S = n[5] : (S = r.filter(Ue), n[4] = r, n[5] = S);
1478
- let C = S.length, w, T;
1479
- if (n[6] !== v || n[7] !== b || n[8] !== _ || n[9] !== C || n[10] !== y || n[11] !== x || n[12] !== d || n[13] !== r) {
1480
- T = Symbol.for("react.early_return_sentinel");
1484
+ function Ve(e) {
1485
+ let r = n(64), { tools: i, expanded: a, onExpandedChange: o, expandedTools: s, onToolExpandedChange: c, labels: l, sx: f } = e, p = a !== void 0 && a, h;
1486
+ r[0] === s ? h = r[1] : (h = s === void 0 ? {} : s, r[0] = s, r[1] = h);
1487
+ let g = h, _;
1488
+ r[2] === l ? _ = r[3] : (_ = l === void 0 ? {} : l, r[2] = l, r[3] = _);
1489
+ let v = _, [y, b] = Be(p, o), [x, S] = Be(g, c), C;
1490
+ r[4] === i ? C = r[5] : (C = i.filter(We), r[4] = i, r[5] = C);
1491
+ let w = C.length, T, E;
1492
+ if (r[6] !== y || r[7] !== x || r[8] !== v || r[9] !== w || r[10] !== b || r[11] !== S || r[12] !== f || r[13] !== i) {
1493
+ E = Symbol.for("react.early_return_sentinel");
1481
1494
  bb0: {
1482
- let e = r.filter(He), t = r.filter(Ve), i = _.toolsUsed ?? "tools used", a = _.error ?? "Error";
1483
- if (r.length === 1) {
1495
+ let e = i.filter(Ue), n = i.filter(He), a = v.toolsUsed ?? "tools used", o = v.error ?? "Error";
1496
+ if (i.length === 1) {
1484
1497
  let e;
1485
- n[16] !== v || n[17] !== _ || n[18] !== y || n[19] !== d || n[20] !== r[0] ? (e = /* @__PURE__ */ k(Re, {
1486
- tool: r[0],
1487
- expanded: v,
1488
- onExpandedChange: y,
1489
- labels: _,
1490
- sx: d
1491
- }), n[16] = v, n[17] = _, n[18] = y, n[19] = d, n[20] = r[0], n[21] = e) : e = n[21], T = e;
1498
+ r[16] !== y || r[17] !== v || r[18] !== b || r[19] !== f || r[20] !== i[0] ? (e = /* @__PURE__ */ A(ze, {
1499
+ tool: i[0],
1500
+ expanded: y,
1501
+ onExpandedChange: b,
1502
+ labels: v,
1503
+ sx: f
1504
+ }), r[16] = y, r[17] = v, r[18] = b, r[19] = f, r[20] = i[0], r[21] = e) : e = r[21], E = e;
1492
1505
  break bb0;
1493
1506
  }
1494
- let o;
1495
- n[22] !== v || n[23] !== y ? (o = () => y(!v), n[22] = v, n[23] = y, n[24] = o) : o = n[24];
1496
- let s = C > 0 ? .5 : 0, c;
1497
- n[25] === s ? c = n[26] : (c = {
1507
+ let s;
1508
+ r[22] === f ? s = r[23] : (s = t({ width: "100%" }, f), r[22] = f, r[23] = s);
1509
+ let c;
1510
+ r[24] !== y || r[25] !== b ? (c = () => b(!y), r[24] = y, r[25] = b, r[26] = c) : c = r[26];
1511
+ let l = w > 0 ? .5 : 0, p;
1512
+ r[27] === l ? p = r[28] : (p = {
1498
1513
  ...Q.traceHeader,
1499
- pr: s
1500
- }, n[25] = s, n[26] = c);
1501
- let f;
1502
- n[27] !== r.length || n[28] !== i ? (f = /* @__PURE__ */ A(E, {
1503
- variant: "caption",
1514
+ pr: l
1515
+ }, r[27] = l, r[28] = p);
1516
+ let h;
1517
+ r[29] === Symbol.for("react.memo_cache_sentinel") ? (h = {
1504
1518
  fontWeight: 600,
1505
- color: "text.secondary",
1519
+ color: "text.secondary"
1520
+ }, r[29] = h) : h = r[29];
1521
+ let g;
1522
+ r[30] !== i.length || r[31] !== a ? (g = /* @__PURE__ */ j(D, {
1523
+ variant: "caption",
1524
+ sx: h,
1506
1525
  children: [
1507
- r.length,
1526
+ i.length,
1508
1527
  " ",
1509
- i
1528
+ a
1510
1529
  ]
1511
- }), n[27] = r.length, n[28] = i, n[29] = f) : f = n[29];
1512
- let m = v ? "rotate(90deg)" : "rotate(0deg)", h;
1513
- n[30] === m ? h = n[31] : (h = /* @__PURE__ */ k(j, { sx: {
1530
+ }), r[30] = i.length, r[31] = a, r[32] = g) : g = r[32];
1531
+ let _ = y ? "rotate(90deg)" : "rotate(0deg)", C;
1532
+ r[33] === _ ? C = r[34] : (C = /* @__PURE__ */ A(M, { sx: {
1514
1533
  ...Q.traceChevron,
1515
- transform: m
1516
- } }), n[30] = m, n[31] = h);
1517
- let g;
1518
- n[32] === C ? g = n[33] : (g = C > 0 && /* @__PURE__ */ A(E, {
1534
+ transform: _
1535
+ } }), r[33] = _, r[34] = C);
1536
+ let O;
1537
+ r[35] === w ? O = r[36] : (O = w > 0 && /* @__PURE__ */ j(D, {
1519
1538
  variant: "code3",
1520
1539
  sx: Q.errorBadge,
1521
- children: [C, /* @__PURE__ */ k(R, {
1540
+ children: [w, /* @__PURE__ */ A(z, {
1522
1541
  sx: { fontSize: 12 },
1523
1542
  color: "error"
1524
1543
  })]
1525
- }), n[32] = C, n[33] = g);
1526
- let S;
1527
- n[34] !== v || n[35] !== c || n[36] !== f || n[37] !== h || n[38] !== g || n[39] !== o ? (S = /* @__PURE__ */ A(u, {
1544
+ }), r[35] = w, r[36] = O);
1545
+ let k;
1546
+ r[37] !== y || r[38] !== c || r[39] !== p || r[40] !== g || r[41] !== C || r[42] !== O ? (k = /* @__PURE__ */ j(d, {
1528
1547
  size: "small",
1529
1548
  variant: "text",
1530
- onClick: o,
1531
- "aria-expanded": v,
1532
- sx: c,
1549
+ onClick: c,
1550
+ "aria-expanded": y,
1551
+ sx: p,
1533
1552
  children: [
1534
- f,
1535
- h,
1536
- g
1553
+ g,
1554
+ C,
1555
+ O
1537
1556
  ]
1538
- }), n[34] = v, n[35] = c, n[36] = f, n[37] = h, n[38] = g, n[39] = o, n[40] = S) : S = n[40];
1539
- let D = p, O = v, M = l, N;
1540
- n[41] === Symbol.for("react.memo_cache_sentinel") ? (N = {
1557
+ }), r[37] = y, r[38] = c, r[39] = p, r[40] = g, r[41] = C, r[42] = O, r[43] = k) : k = r[43];
1558
+ let N = m, P = y, F = u, L;
1559
+ r[44] === Symbol.for("react.memo_cache_sentinel") ? (L = {
1541
1560
  ...Q.traceDetailsWrapper,
1542
1561
  p: 0,
1543
1562
  listStyle: "none"
1544
- }, n[41] = N) : N = n[41];
1545
- let P;
1546
- n[42] !== a || n[43] !== b || n[44] !== _ || n[45] !== x ? (P = (e) => {
1547
- let t = b[e.id] ?? !1;
1548
- return /* @__PURE__ */ A(l, {
1563
+ }, r[44] = L) : L = r[44];
1564
+ let R;
1565
+ r[45] !== o || r[46] !== x || r[47] !== v || r[48] !== S ? (R = (e) => {
1566
+ let t = x[e.id] ?? !1;
1567
+ return /* @__PURE__ */ j(u, {
1549
1568
  component: "li",
1550
1569
  sx: Q.groupListItem,
1551
1570
  "aria-expanded": t,
1552
- children: [/* @__PURE__ */ A(u, {
1571
+ children: [/* @__PURE__ */ j(d, {
1553
1572
  variant: "text",
1554
1573
  color: "inherit",
1555
1574
  fullWidth: !0,
1556
- onClick: () => x({
1557
- ...b,
1575
+ onClick: () => S({
1576
+ ...x,
1558
1577
  [e.id]: !t
1559
1578
  }),
1560
1579
  "aria-expanded": t,
1561
1580
  sx: Q.groupHeader,
1562
1581
  children: [
1563
- /* @__PURE__ */ k(E, {
1564
- flexGrow: 1,
1565
- flexShrink: 0,
1582
+ /* @__PURE__ */ A(D, {
1566
1583
  variant: "caption",
1567
- color: "text.secondary",
1568
- children: Fe(e)
1584
+ sx: {
1585
+ flexGrow: 1,
1586
+ flexShrink: 0,
1587
+ color: "text.secondary"
1588
+ },
1589
+ children: Ie(e)
1569
1590
  }),
1570
- e.status === "error" && /* @__PURE__ */ k(E, {
1591
+ e.status === "error" && /* @__PURE__ */ A(D, {
1571
1592
  variant: "code3",
1572
- color: "error.main",
1573
- children: a
1593
+ sx: { color: "error.main" },
1594
+ children: o
1574
1595
  }),
1575
- /* @__PURE__ */ k(F, { sx: {
1596
+ /* @__PURE__ */ A(I, { sx: {
1576
1597
  ...Q.traceChevron,
1577
1598
  transform: t ? "rotate(90deg)" : "rotate(0deg)"
1578
1599
  } })
1579
1600
  ]
1580
- }), /* @__PURE__ */ k(p, {
1601
+ }), /* @__PURE__ */ A(m, {
1581
1602
  in: t,
1582
1603
  unmountOnExit: !0,
1583
- children: /* @__PURE__ */ k(l, {
1584
- px: 1.5,
1585
- py: 1,
1586
- children: /* @__PURE__ */ k(Le, {
1604
+ children: /* @__PURE__ */ A(u, {
1605
+ sx: {
1606
+ px: 1.5,
1607
+ py: 1
1608
+ },
1609
+ children: /* @__PURE__ */ A(Re, {
1587
1610
  tool: e,
1588
- labels: _
1611
+ labels: v
1589
1612
  })
1590
1613
  })
1591
1614
  })]
1592
1615
  }, e.id);
1593
- }, n[42] = a, n[43] = b, n[44] = _, n[45] = x, n[46] = P) : P = n[46];
1594
- let I = t.map(P), L;
1595
- n[47] !== M || n[48] !== "ul" || n[49] !== N || n[50] !== I ? (L = /* @__PURE__ */ k(M, {
1616
+ }, r[45] = o, r[46] = x, r[47] = v, r[48] = S, r[49] = R) : R = r[49];
1617
+ let ee = n.map(R), B;
1618
+ r[50] !== F || r[51] !== "ul" || r[52] !== L || r[53] !== ee ? (B = /* @__PURE__ */ A(F, {
1596
1619
  component: "ul",
1597
- sx: N,
1598
- children: I
1599
- }), n[47] = M, n[48] = "ul", n[49] = N, n[50] = I, n[51] = L) : L = n[51];
1600
- let ee;
1601
- n[52] !== D || n[53] !== O || n[54] !== !0 || n[55] !== L ? (ee = /* @__PURE__ */ k(D, {
1602
- in: O,
1620
+ sx: L,
1621
+ children: ee
1622
+ }), r[50] = F, r[51] = "ul", r[52] = L, r[53] = ee, r[54] = B) : B = r[54];
1623
+ let V;
1624
+ r[55] !== N || r[56] !== P || r[57] !== !0 || r[58] !== B ? (V = /* @__PURE__ */ A(N, {
1625
+ in: P,
1603
1626
  unmountOnExit: !0,
1604
- children: L
1605
- }), n[52] = D, n[53] = O, n[54] = !0, n[55] = L, n[56] = ee) : ee = n[56];
1606
- let z;
1607
- n[57] !== b || n[58] !== _ || n[59] !== x ? (z = (e) => /* @__PURE__ */ k(Re, {
1627
+ children: B
1628
+ }), r[55] = N, r[56] = P, r[57] = !0, r[58] = B, r[59] = V) : V = r[59];
1629
+ let H;
1630
+ r[60] !== x || r[61] !== v || r[62] !== S ? (H = (e) => /* @__PURE__ */ A(ze, {
1608
1631
  tool: e,
1609
- labels: _,
1610
- expanded: b[e.id],
1611
- onExpandedChange: () => x({
1612
- ...b,
1613
- [e.id]: !b[e.id]
1632
+ labels: v,
1633
+ expanded: x[e.id],
1634
+ onExpandedChange: () => S({
1635
+ ...x,
1636
+ [e.id]: !x[e.id]
1614
1637
  })
1615
- }, e.id), n[57] = b, n[58] = _, n[59] = x, n[60] = z) : z = n[60], w = /* @__PURE__ */ A(l, {
1616
- width: "100%",
1617
- sx: d,
1638
+ }, e.id), r[60] = x, r[61] = v, r[62] = S, r[63] = H) : H = r[63], T = /* @__PURE__ */ j(u, {
1618
1639
  className: "PsChat--tool-group",
1640
+ sx: s,
1619
1641
  children: [
1620
- S,
1621
- ee,
1622
- e.map(z)
1642
+ k,
1643
+ V,
1644
+ e.map(H)
1623
1645
  ]
1624
1646
  });
1625
1647
  }
1626
- n[6] = v, n[7] = b, n[8] = _, n[9] = C, n[10] = y, n[11] = x, n[12] = d, n[13] = r, n[14] = w, n[15] = T;
1627
- } else w = n[14], T = n[15];
1628
- return T === Symbol.for("react.early_return_sentinel") ? w : T;
1648
+ r[6] = y, r[7] = x, r[8] = v, r[9] = w, r[10] = b, r[11] = S, r[12] = f, r[13] = i, r[14] = T, r[15] = E;
1649
+ } else T = r[14], E = r[15];
1650
+ return E === Symbol.for("react.early_return_sentinel") ? T : E;
1629
1651
  }
1630
- function Ve(e) {
1652
+ function He(e) {
1631
1653
  return e.status !== "running";
1632
1654
  }
1633
- function He(e) {
1655
+ function Ue(e) {
1634
1656
  return e.status === "running";
1635
1657
  }
1636
- function Ue(e) {
1658
+ function We(e) {
1637
1659
  return e.status === "error";
1638
1660
  }
1639
1661
  //#endregion
1640
- export { ne as CHAT_DIVIDER_DELAY, q as CHAT_MAX_WIDTH, te as CHAT_SCROLL_DELAY, re as CHAT_TOOL_CODE_AREA_MAX_HEIGHT, Te as ChatActionsContainer, X as ChatAgentMessage, Z as ChatAgentMessageMarkdown, ve as ChatContent, ce as ChatErrorMessage, xe as ChatFooter, ye as ChatHeader, ge as ChatLoader, J as ChatMessageOverflow, Ee as ChatRatingAction, Ce as ChatStarter, de as ChatSuggestionButton, he as ChatThinking, Ne as ChatToolCodeArea, ke as ChatToolFullViewDialog, Be as ChatToolGroup, Re as ChatToolTrace, ae as ChatUserMessage, ie as useTypewriter };
1662
+ export { re as CHAT_DIVIDER_DELAY, te as CHAT_MAX_WIDTH, ne as CHAT_SCROLL_DELAY, ie as CHAT_TOOL_CODE_AREA_MAX_HEIGHT, Ee as ChatActionsContainer, X as ChatAgentMessage, Z as ChatAgentMessageMarkdown, ye as ChatContent, le as ChatErrorMessage, Se as ChatFooter, be as ChatHeader, _e as ChatLoader, J as ChatMessageOverflow, De as ChatRatingAction, we as ChatStarter, fe as ChatSuggestionButton, ge as ChatThinking, Pe as ChatToolCodeArea, Ae as ChatToolFullViewDialog, Ve as ChatToolGroup, ze as ChatToolTrace, oe as ChatUserMessage, ae as useTypewriter };
1641
1663
 
1642
1664
  //# sourceMappingURL=chat.js.map