@carto/ps-react-ui 4.20.2 → 4.21.1

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 (406) hide show
  1. package/dist/{actions-Dy9JVr7F.js → actions-C7ZAO0FG.js} +4 -4
  2. package/dist/{actions-Dy9JVr7F.js.map → actions-C7ZAO0FG.js.map} +1 -1
  3. package/dist/{actions-DKX98LlI.js → actions-DZGaL_uT.js} +2 -2
  4. package/dist/{actions-DKX98LlI.js.map → actions-DZGaL_uT.js.map} +1 -1
  5. package/dist/{category-DHZscHaS.js → category-DZt6yiST.js} +3 -3
  6. package/dist/{category-DHZscHaS.js.map → category-DZt6yiST.js.map} +1 -1
  7. package/dist/{chart-config-BGt7wkK7.js → chart-config-BWxjodlt.js} +2 -2
  8. package/dist/chart-config-BWxjodlt.js.map +1 -0
  9. package/dist/chat.js.map +1 -1
  10. package/dist/{components-DDt4mOQn.js → components-DKjBezcJ.js} +73 -73
  11. package/dist/components-DKjBezcJ.js.map +1 -0
  12. package/dist/components.js +1 -1
  13. package/dist/{download-BT6qBamM.js → download-C7he8mSh.js} +2 -2
  14. package/dist/{download-BT6qBamM.js.map → download-C7he8mSh.js.map} +1 -1
  15. package/dist/{formula-Bk9CBzm2.js → formula-BNuRXsmh.js} +2 -2
  16. package/dist/{formula-Bk9CBzm2.js.map → formula-BNuRXsmh.js.map} +1 -1
  17. package/dist/{formula-Dsru_p-g.js → formula-Cqj84ZGX.js} +2 -2
  18. package/dist/{formula-Dsru_p-g.js.map → formula-Cqj84ZGX.js.map} +1 -1
  19. package/dist/legend.js +2 -0
  20. package/dist/legend.js.map +1 -1
  21. package/dist/{markdown-DnSJMPjQ.js → markdown-CV_KP-at.js} +2 -2
  22. package/dist/{markdown-DnSJMPjQ.js.map → markdown-CV_KP-at.js.map} +1 -1
  23. package/dist/{spread-Dy8pshpN.js → spread-C8T12Nfh.js} +3 -3
  24. package/dist/{spread-Dy8pshpN.js.map → spread-C8T12Nfh.js.map} +1 -1
  25. package/dist/{table-BfTG6rrs.js → table-CNQijNNB.js} +2 -2
  26. package/dist/{table-BfTG6rrs.js.map → table-CNQijNNB.js.map} +1 -1
  27. package/dist/types/chat/bubbles/chat-agent-message-markdown.d.ts +1 -1
  28. package/dist/types/chat/bubbles/chat-agent-message.d.ts +1 -1
  29. package/dist/types/chat/bubbles/chat-error-message.d.ts +1 -1
  30. package/dist/types/chat/bubbles/chat-suggestion-button.d.ts +1 -1
  31. package/dist/types/chat/bubbles/chat-user-message.d.ts +1 -1
  32. package/dist/types/chat/bubbles/index.d.ts +5 -5
  33. package/dist/types/chat/bubbles/styles.d.ts +88 -0
  34. package/dist/types/chat/containers/chat-content.d.ts +1 -1
  35. package/dist/types/chat/containers/chat-footer.d.ts +1 -1
  36. package/dist/types/chat/containers/chat-header.d.ts +1 -1
  37. package/dist/types/chat/containers/chat-starter.d.ts +1 -1
  38. package/dist/types/chat/containers/index.d.ts +4 -4
  39. package/dist/types/chat/feedback/chat-actions-container.d.ts +3 -0
  40. package/dist/types/chat/feedback/chat-loader.d.ts +1 -1
  41. package/dist/types/chat/feedback/chat-rating-action.d.ts +1 -1
  42. package/dist/types/chat/feedback/chat-thinking.d.ts +1 -1
  43. package/dist/types/chat/feedback/chat-tool-code-area.d.ts +1 -1
  44. package/dist/types/chat/feedback/chat-tool-full-view-dialog.d.ts +1 -1
  45. package/dist/types/chat/feedback/chat-tool-group.d.ts +1 -1
  46. package/dist/types/chat/feedback/chat-tool-trace.d.ts +1 -1
  47. package/dist/types/chat/feedback/get-tool-label.d.ts +1 -1
  48. package/dist/types/chat/feedback/index.d.ts +8 -8
  49. package/dist/types/chat/feedback/styles.d.ts +212 -0
  50. package/dist/types/chat/index.d.ts +21 -21
  51. package/dist/types/components/basemaps/basemaps.d.ts +1 -1
  52. package/dist/types/components/basemaps/const.d.ts +1 -1
  53. package/dist/types/components/basemaps/group.d.ts +1 -1
  54. package/dist/types/components/basemaps/header.d.ts +1 -1
  55. package/dist/types/components/copy-button/copy-button.d.ts +1 -1
  56. package/dist/types/components/geolocation-controls/geolocation-controls.d.ts +1 -1
  57. package/dist/types/components/index.d.ts +26 -26
  58. package/dist/types/components/lasso-tool/chip.d.ts +1 -1
  59. package/dist/types/components/lasso-tool/const.d.ts +2 -2
  60. package/dist/types/components/lasso-tool/geometry-toolbar.d.ts +1 -1
  61. package/dist/types/components/lasso-tool/lasso-tool-inline.d.ts +1 -1
  62. package/dist/types/components/lasso-tool/lasso-tool.d.ts +1 -1
  63. package/dist/types/components/lasso-tool/layer-filters.d.ts +1 -1
  64. package/dist/types/components/lasso-tool/message.d.ts +1 -1
  65. package/dist/types/components/lasso-tool/types.d.ts +1 -1
  66. package/dist/types/components/list-data/list-data.d.ts +1 -1
  67. package/dist/types/components/measurement-tools/const.d.ts +2 -2
  68. package/dist/types/components/measurement-tools/measurement-tools.d.ts +1 -1
  69. package/dist/types/components/measurement-tools/types.d.ts +1 -1
  70. package/dist/types/components/responsive-drawer/responsive-drawer.d.ts +10 -3
  71. package/dist/types/components/types.d.ts +1 -1
  72. package/dist/types/components/zoom-controls/zoom-controls.d.ts +1 -1
  73. package/dist/types/hooks/index.d.ts +1 -1
  74. package/dist/types/legend/components/icons.d.ts +1 -1
  75. package/dist/types/legend/components/index.d.ts +26 -26
  76. package/dist/types/legend/components/legend-category/legend-category-ui.d.ts +1 -1
  77. package/dist/types/legend/components/legend-icon/legend-icon-ui.d.ts +1 -1
  78. package/dist/types/legend/components/legend-item/legend-item-ui.d.ts +2 -2
  79. package/dist/types/legend/components/legend-proportion/legend-proportion-ui.d.ts +2 -2
  80. package/dist/types/legend/components/legend-ramp/legend-ramp-ui.d.ts +2 -2
  81. package/dist/types/legend/components/legend-sortable/sortable-entity.d.ts +1 -1
  82. package/dist/types/legend/components/legend-swatch/legend-swatch.d.ts +1 -1
  83. package/dist/types/legend/components/legend-visibility-toggle/legend-visibility-toggle.d.ts +2 -2
  84. package/dist/types/legend/components/run-async-menu-action.d.ts +1 -1
  85. package/dist/types/legend/index.d.ts +41 -41
  86. package/dist/types/legend/provider/index.d.ts +6 -6
  87. package/dist/types/legend/provider/legend-config-context.d.ts +1 -1
  88. package/dist/types/legend/provider/legend-provider.d.ts +2 -2
  89. package/dist/types/legend/stores/index.d.ts +5 -5
  90. package/dist/types/legend/stores/legend-store-registry.d.ts +1 -1
  91. package/dist/types/legend/stores/selectors.d.ts +1 -1
  92. package/dist/types/widgets/actions/brush-toggle/brush-toggle.d.ts +1 -1
  93. package/dist/types/widgets/actions/brush-toggle/hit-test.d.ts +1 -1
  94. package/dist/types/widgets/actions/brush-toggle/types.d.ts +1 -1
  95. package/dist/types/widgets/actions/change-column/change-column.d.ts +1 -1
  96. package/dist/types/widgets/actions/change-column/sortable-column-item.d.ts +1 -1
  97. package/dist/types/widgets/actions/download/download.d.ts +1 -1
  98. package/dist/types/widgets/actions/download/exports.d.ts +1 -1
  99. package/dist/types/widgets/actions/download/types.d.ts +1 -1
  100. package/dist/types/widgets/actions/fullscreen/fullscreen.d.ts +1 -1
  101. package/dist/types/widgets/actions/fullscreen/types.d.ts +1 -1
  102. package/dist/types/widgets/actions/index.d.ts +20 -20
  103. package/dist/types/widgets/actions/lock-selection/lock-selection.d.ts +1 -1
  104. package/dist/types/widgets/actions/lock-selection/types.d.ts +1 -1
  105. package/dist/types/widgets/actions/relative-data/relative-data.d.ts +1 -1
  106. package/dist/types/widgets/actions/relative-data/types.d.ts +1 -1
  107. package/dist/types/widgets/actions/relative-data/utils.d.ts +1 -1
  108. package/dist/types/widgets/actions/searcher/searcher-toggle.d.ts +1 -1
  109. package/dist/types/widgets/actions/searcher/searcher.d.ts +1 -1
  110. package/dist/types/widgets/actions/searcher/types.d.ts +2 -2
  111. package/dist/types/widgets/actions/stack-toggle/stack-toggle.d.ts +1 -1
  112. package/dist/types/widgets/actions/stack-toggle/types.d.ts +1 -1
  113. package/dist/types/widgets/actions/zoom-toggle/types.d.ts +1 -1
  114. package/dist/types/widgets/actions/zoom-toggle/zoom-toggle.d.ts +1 -1
  115. package/dist/types/widgets/bar/config.d.ts +2 -2
  116. package/dist/types/widgets/bar/index.d.ts +3 -3
  117. package/dist/types/widgets/bar/types.d.ts +3 -3
  118. package/dist/types/widgets/category/category-ui.d.ts +1 -1
  119. package/dist/types/widgets/category/components/category-legend.d.ts +1 -1
  120. package/dist/types/widgets/category/components/category-row-multi.d.ts +1 -1
  121. package/dist/types/widgets/category/components/category-row-single.d.ts +1 -1
  122. package/dist/types/widgets/category/config.d.ts +3 -3
  123. package/dist/types/widgets/category/index.d.ts +14 -14
  124. package/dist/types/widgets/category/types.d.ts +3 -3
  125. package/dist/types/widgets/echart/echart-ui.d.ts +1 -1
  126. package/dist/types/widgets/echart/echart.d.ts +1 -1
  127. package/dist/types/widgets/echart/index.d.ts +5 -5
  128. package/dist/types/widgets/echart/options.d.ts +1 -1
  129. package/dist/types/widgets/echart/types.d.ts +1 -1
  130. package/dist/types/widgets/echart/utils.d.ts +1 -1
  131. package/dist/types/widgets/error/error.d.ts +1 -1
  132. package/dist/types/widgets/error/index.d.ts +2 -2
  133. package/dist/types/widgets/error/types.d.ts +1 -1
  134. package/dist/types/widgets/formula/components/item.d.ts +1 -1
  135. package/dist/types/widgets/formula/components/prefix.d.ts +1 -1
  136. package/dist/types/widgets/formula/components/row.d.ts +1 -1
  137. package/dist/types/widgets/formula/components/series.d.ts +1 -1
  138. package/dist/types/widgets/formula/components/suffix.d.ts +1 -1
  139. package/dist/types/widgets/formula/components/value.d.ts +1 -1
  140. package/dist/types/widgets/formula/config.d.ts +2 -2
  141. package/dist/types/widgets/formula/formula-ui.d.ts +1 -1
  142. package/dist/types/widgets/formula/index.d.ts +11 -11
  143. package/dist/types/widgets/formula/serializer.d.ts +1 -1
  144. package/dist/types/widgets/formula/types.d.ts +3 -3
  145. package/dist/types/widgets/histogram/config.d.ts +3 -3
  146. package/dist/types/widgets/histogram/index.d.ts +4 -4
  147. package/dist/types/widgets/histogram/types.d.ts +3 -3
  148. package/dist/types/widgets/loader/index.d.ts +3 -3
  149. package/dist/types/widgets/loader/loader.d.ts +1 -1
  150. package/dist/types/widgets/loader/types.d.ts +1 -1
  151. package/dist/types/widgets/markdown/config.d.ts +2 -2
  152. package/dist/types/widgets/markdown/index.d.ts +5 -5
  153. package/dist/types/widgets/markdown/markdown-ui.d.ts +1 -1
  154. package/dist/types/widgets/markdown/markdown.d.ts +1 -1
  155. package/dist/types/widgets/markdown/types.d.ts +3 -3
  156. package/dist/types/widgets/no-data/index.d.ts +2 -2
  157. package/dist/types/widgets/no-data/no-data.d.ts +1 -1
  158. package/dist/types/widgets/no-data/types.d.ts +1 -1
  159. package/dist/types/widgets/note/index.d.ts +2 -2
  160. package/dist/types/widgets/note/note.d.ts +1 -1
  161. package/dist/types/widgets/note/types.d.ts +1 -1
  162. package/dist/types/widgets/pie/config.d.ts +2 -2
  163. package/dist/types/widgets/pie/index.d.ts +3 -3
  164. package/dist/types/widgets/pie/types.d.ts +3 -3
  165. package/dist/types/widgets/range/components/range-item.d.ts +1 -1
  166. package/dist/types/widgets/range/config.d.ts +1 -1
  167. package/dist/types/widgets/range/index.d.ts +6 -6
  168. package/dist/types/widgets/range/range-ui.d.ts +1 -1
  169. package/dist/types/widgets/range/serializer.d.ts +1 -1
  170. package/dist/types/widgets/range/types.d.ts +3 -3
  171. package/dist/types/widgets/scatterplot/config.d.ts +2 -2
  172. package/dist/types/widgets/scatterplot/index.d.ts +3 -3
  173. package/dist/types/widgets/scatterplot/types.d.ts +3 -3
  174. package/dist/types/widgets/selection-summary/index.d.ts +2 -2
  175. package/dist/types/widgets/selection-summary/selection-summary.d.ts +1 -1
  176. package/dist/types/widgets/skeleton-loader/index.d.ts +2 -2
  177. package/dist/types/widgets/skeleton-loader/skeleton-loader.d.ts +1 -1
  178. package/dist/types/widgets/skeleton-loader/types.d.ts +1 -1
  179. package/dist/types/widgets/spread/components/max-value.d.ts +1 -1
  180. package/dist/types/widgets/spread/components/min-value.d.ts +1 -1
  181. package/dist/types/widgets/spread/components/separator.d.ts +1 -1
  182. package/dist/types/widgets/spread/config.d.ts +3 -3
  183. package/dist/types/widgets/spread/index.d.ts +9 -9
  184. package/dist/types/widgets/spread/spread-ui.d.ts +1 -1
  185. package/dist/types/widgets/spread/types.d.ts +4 -4
  186. package/dist/types/widgets/stores/index.d.ts +3 -3
  187. package/dist/types/widgets/stores/use-widget-selector.d.ts +1 -1
  188. package/dist/types/widgets/stores/widget-store.d.ts +2 -2
  189. package/dist/types/widgets/subheader/index.d.ts +2 -2
  190. package/dist/types/widgets/subheader/subheader.d.ts +1 -1
  191. package/dist/types/widgets/table/components/cell-header.d.ts +1 -1
  192. package/dist/types/widgets/table/components/cell.d.ts +1 -1
  193. package/dist/types/widgets/table/components/pagination-actions.d.ts +1 -1
  194. package/dist/types/widgets/table/components/pagination.d.ts +1 -1
  195. package/dist/types/widgets/table/components/row.d.ts +1 -1
  196. package/dist/types/widgets/table/config.d.ts +2 -2
  197. package/dist/types/widgets/table/hooks/use-pagination.d.ts +1 -1
  198. package/dist/types/widgets/table/hooks/use-selection.d.ts +1 -1
  199. package/dist/types/widgets/table/hooks/use-sort.d.ts +1 -1
  200. package/dist/types/widgets/table/index.d.ts +17 -17
  201. package/dist/types/widgets/table/serializer.d.ts +1 -1
  202. package/dist/types/widgets/table/table-ui.d.ts +8 -8
  203. package/dist/types/widgets/table/types.d.ts +3 -3
  204. package/dist/types/widgets/timeseries/config.d.ts +2 -2
  205. package/dist/types/widgets/timeseries/index.d.ts +3 -3
  206. package/dist/types/widgets/timeseries/types.d.ts +3 -3
  207. package/dist/types/widgets/toolbar-actions/index.d.ts +2 -2
  208. package/dist/types/widgets/toolbar-actions/toolbar-actions.d.ts +1 -1
  209. package/dist/types/widgets/utils/chart-config/config-factory.d.ts +1 -1
  210. package/dist/types/widgets/utils/chart-config/download-config.d.ts +2 -2
  211. package/dist/types/widgets/utils/chart-config/index.d.ts +6 -6
  212. package/dist/types/widgets/utils/chart-config/option-builders.d.ts +142 -0
  213. package/dist/types/widgets/utils/index.d.ts +7 -7
  214. package/dist/types/widgets/utils/skeleton/index.d.ts +1 -1
  215. package/dist/types/widgets/wrapper/components/actions.d.ts +1 -1
  216. package/dist/types/widgets/wrapper/components/options.d.ts +1 -1
  217. package/dist/types/widgets/wrapper/components/title.d.ts +1 -1
  218. package/dist/types/widgets/wrapper/index.d.ts +6 -6
  219. package/dist/types/widgets/wrapper/types.d.ts +1 -1
  220. package/dist/types/widgets/wrapper/wrapper-ui.d.ts +1 -1
  221. package/dist/types/widgets/wrapper/wrapper.d.ts +1 -1
  222. package/dist/types/widgets-v2/actions/brush-toggle/brush-toggle.d.ts +1 -1
  223. package/dist/types/widgets-v2/actions/brush-toggle/index.d.ts +3 -3
  224. package/dist/types/widgets-v2/actions/change-column/change-column.d.ts +1 -1
  225. package/dist/types/widgets-v2/actions/change-column/index.d.ts +3 -3
  226. package/dist/types/widgets-v2/actions/change-column/types.d.ts +1 -1
  227. package/dist/types/widgets-v2/actions/download/csv-item.d.ts +1 -1
  228. package/dist/types/widgets-v2/actions/download/download.d.ts +2 -2
  229. package/dist/types/widgets-v2/actions/download/index.d.ts +8 -8
  230. package/dist/types/widgets-v2/actions/download/png-item.d.ts +1 -1
  231. package/dist/types/widgets-v2/actions/fullscreen/fullscreen.d.ts +1 -1
  232. package/dist/types/widgets-v2/actions/fullscreen/index.d.ts +3 -3
  233. package/dist/types/widgets-v2/actions/fullscreen/types.d.ts +1 -1
  234. package/dist/types/widgets-v2/actions/index.d.ts +10 -10
  235. package/dist/types/widgets-v2/actions/lock-selection/index.d.ts +3 -3
  236. package/dist/types/widgets-v2/actions/lock-selection/lock-selection.d.ts +1 -1
  237. package/dist/types/widgets-v2/actions/relative-data/index.d.ts +3 -3
  238. package/dist/types/widgets-v2/actions/relative-data/relative-data.d.ts +1 -1
  239. package/dist/types/widgets-v2/actions/searcher/index.d.ts +4 -4
  240. package/dist/types/widgets-v2/actions/searcher/searcher-toggle.d.ts +1 -1
  241. package/dist/types/widgets-v2/actions/searcher/searcher.d.ts +1 -1
  242. package/dist/types/widgets-v2/actions/show-all/index.d.ts +2 -2
  243. package/dist/types/widgets-v2/actions/show-all/show-all.d.ts +1 -1
  244. package/dist/types/widgets-v2/actions/stack-toggle/index.d.ts +3 -3
  245. package/dist/types/widgets-v2/actions/stack-toggle/stack-toggle.d.ts +1 -1
  246. package/dist/types/widgets-v2/actions/zoom-toggle/index.d.ts +3 -3
  247. package/dist/types/widgets-v2/actions/zoom-toggle/zoom-toggle.d.ts +2 -2
  248. package/dist/types/widgets-v2/bar/download.d.ts +2 -2
  249. package/dist/types/widgets-v2/bar/index.d.ts +4 -4
  250. package/dist/types/widgets-v2/bar/options.d.ts +2 -2
  251. package/dist/types/widgets-v2/bar/types.d.ts +1 -1
  252. package/dist/types/widgets-v2/category/category-ui.d.ts +1 -1
  253. package/dist/types/widgets-v2/category/category.d.ts +1 -1
  254. package/dist/types/widgets-v2/category/components/category-bar-stacked.d.ts +1 -1
  255. package/dist/types/widgets-v2/category/components/category-bar.d.ts +1 -1
  256. package/dist/types/widgets-v2/category/components/category-legend.d.ts +1 -1
  257. package/dist/types/widgets-v2/category/components/category-row-multi.d.ts +1 -1
  258. package/dist/types/widgets-v2/category/components/category-row-single.d.ts +1 -1
  259. package/dist/types/widgets-v2/category/components/category-row-stacked.d.ts +1 -1
  260. package/dist/types/widgets-v2/category/download.d.ts +2 -2
  261. package/dist/types/widgets-v2/category/index.d.ts +10 -10
  262. package/dist/types/widgets-v2/category/skeleton.d.ts +1 -1
  263. package/dist/types/widgets-v2/category/style.d.ts +1 -1
  264. package/dist/types/widgets-v2/category/types.d.ts +1 -1
  265. package/dist/types/widgets-v2/echart/echart.d.ts +1 -1
  266. package/dist/types/widgets-v2/echart/index.d.ts +4 -4
  267. package/dist/types/widgets-v2/echart/use-chart-selection.d.ts +1 -1
  268. package/dist/types/widgets-v2/formula/delta.d.ts +1 -1
  269. package/dist/types/widgets-v2/formula/download.d.ts +2 -2
  270. package/dist/types/widgets-v2/formula/formula-ui.d.ts +1 -1
  271. package/dist/types/widgets-v2/formula/index.d.ts +11 -11
  272. package/dist/types/widgets-v2/formula/types.d.ts +1 -1
  273. package/dist/types/widgets-v2/histogram/download.d.ts +2 -2
  274. package/dist/types/widgets-v2/histogram/index.d.ts +5 -5
  275. package/dist/types/widgets-v2/histogram/options.d.ts +3 -3
  276. package/dist/types/widgets-v2/histogram/types.d.ts +1 -1
  277. package/dist/types/widgets-v2/index.d.ts +45 -45
  278. package/dist/types/widgets-v2/markdown/download.d.ts +2 -2
  279. package/dist/types/widgets-v2/markdown/index.d.ts +6 -6
  280. package/dist/types/widgets-v2/note/widget-note.d.ts +1 -1
  281. package/dist/types/widgets-v2/pie/download.d.ts +2 -2
  282. package/dist/types/widgets-v2/pie/index.d.ts +4 -4
  283. package/dist/types/widgets-v2/pie/options.d.ts +2 -2
  284. package/dist/types/widgets-v2/pie/types.d.ts +1 -1
  285. package/dist/types/widgets-v2/range/index.d.ts +4 -4
  286. package/dist/types/widgets-v2/range/range-ui.d.ts +1 -1
  287. package/dist/types/widgets-v2/range/range.d.ts +1 -1
  288. package/dist/types/widgets-v2/scatterplot/download.d.ts +2 -2
  289. package/dist/types/widgets-v2/scatterplot/index.d.ts +5 -5
  290. package/dist/types/widgets-v2/scatterplot/options.d.ts +2 -2
  291. package/dist/types/widgets-v2/scatterplot/types.d.ts +1 -1
  292. package/dist/types/widgets-v2/selection-summary/selection-summary.d.ts +1 -1
  293. package/dist/types/widgets-v2/spread/download.d.ts +2 -2
  294. package/dist/types/widgets-v2/spread/index.d.ts +7 -7
  295. package/dist/types/widgets-v2/spread/spread-ui.d.ts +1 -1
  296. package/dist/types/widgets-v2/spread/types.d.ts +1 -1
  297. package/dist/types/widgets-v2/state/widget-state.d.ts +1 -1
  298. package/dist/types/widgets-v2/stores/index.d.ts +8 -8
  299. package/dist/types/widgets-v2/stores/pipeline-middleware.d.ts +1 -1
  300. package/dist/types/widgets-v2/stores/transforms.d.ts +1 -1
  301. package/dist/types/widgets-v2/stores/use-transform.d.ts +1 -1
  302. package/dist/types/widgets-v2/stores/widget-store-registry.d.ts +1 -1
  303. package/dist/types/widgets-v2/table/download.d.ts +2 -2
  304. package/dist/types/widgets-v2/table/helpers.d.ts +1 -1
  305. package/dist/types/widgets-v2/table/index.d.ts +8 -8
  306. package/dist/types/widgets-v2/table/table-ui.d.ts +2 -2
  307. package/dist/types/widgets-v2/table/table.d.ts +2 -2
  308. package/dist/types/widgets-v2/table/types.d.ts +1 -1
  309. package/dist/types/widgets-v2/timeseries/download.d.ts +2 -2
  310. package/dist/types/widgets-v2/timeseries/index.d.ts +5 -5
  311. package/dist/types/widgets-v2/timeseries/options.d.ts +4 -4
  312. package/dist/types/widgets-v2/timeseries/types.d.ts +1 -1
  313. package/dist/types/widgets-v2/toolbox/toolbox.d.ts +1 -1
  314. package/dist/types/widgets-v2/utils/index.d.ts +3 -3
  315. package/dist/types/widgets-v2/wrapper/index.d.ts +4 -4
  316. package/dist/types/widgets-v2/wrapper/widget-wrapper.d.ts +1 -1
  317. package/dist/{utils-DtvTjjMq.js → utils-ClB6nn4w.js} +2 -2
  318. package/dist/{utils-DtvTjjMq.js.map → utils-ClB6nn4w.js.map} +1 -1
  319. package/dist/widgets/actions.js +1 -1
  320. package/dist/widgets/bar.js +1 -1
  321. package/dist/widgets/category.js +1 -1
  322. package/dist/widgets/formula.js +1 -1
  323. package/dist/widgets/histogram.js +2 -2
  324. package/dist/widgets/markdown.js +1 -1
  325. package/dist/widgets/pie.js +1 -1
  326. package/dist/widgets/scatterplot.js +1 -1
  327. package/dist/widgets/spread.js +2 -2
  328. package/dist/widgets/table.js +1 -1
  329. package/dist/widgets/timeseries.js +1 -1
  330. package/dist/widgets/utils.js +1 -1
  331. package/dist/widgets/wrapper.js +1 -1
  332. package/dist/widgets-v2/actions.js +3 -3
  333. package/dist/widgets-v2/bar.js +4 -4
  334. package/dist/widgets-v2/category.js +1 -1
  335. package/dist/widgets-v2/formula.js +1 -1
  336. package/dist/widgets-v2/histogram.js +4 -4
  337. package/dist/widgets-v2/markdown.js +1 -1
  338. package/dist/widgets-v2/pie.js +3 -3
  339. package/dist/widgets-v2/scatterplot.js +4 -4
  340. package/dist/widgets-v2/spread.js +1 -1
  341. package/dist/widgets-v2/table.js +1 -1
  342. package/dist/widgets-v2/timeseries.js +4 -4
  343. package/dist/widgets-v2/utils.js +1 -1
  344. package/dist/widgets-v2.js +9 -9
  345. package/dist/{zoom-toggle-CA0ifG23.js → zoom-toggle-KA63b6-J.js} +2 -2
  346. package/dist/{zoom-toggle-CA0ifG23.js.map → zoom-toggle-KA63b6-J.js.map} +1 -1
  347. package/package.json +5 -4
  348. package/src/chat/bubbles/styles.ts +27 -8
  349. package/src/chat/feedback/chat-actions-container.tsx +5 -2
  350. package/src/chat/feedback/styles.ts +8 -5
  351. package/src/components/basemaps/basemaps.tsx +4 -4
  352. package/src/components/responsive-drawer/responsive-drawer.test.tsx +37 -23
  353. package/src/components/responsive-drawer/responsive-drawer.tsx +15 -8
  354. package/src/legend/components/legend-row/legend-row.test.tsx +19 -0
  355. package/src/legend/components/legend-row/legend-row.tsx +15 -2
  356. package/src/widgets/utils/chart-config/option-builders.ts +5 -1
  357. package/dist/chart-config-BGt7wkK7.js.map +0 -1
  358. package/dist/components-DDt4mOQn.js.map +0 -1
  359. package/dist/types/legend/stores/legend-store.test.d.ts +0 -1
  360. package/dist/types/widgets/actions/brush-toggle/hit-test.test.d.ts +0 -1
  361. package/dist/types/widgets/actions/relative-data/utils.test.d.ts +0 -1
  362. package/dist/types/widgets/echart/utils.test.d.ts +0 -1
  363. package/dist/types/widgets/formula/config.test.d.ts +0 -1
  364. package/dist/types/widgets/loader/utils.test.d.ts +0 -1
  365. package/dist/types/widgets/range/serializer.test.d.ts +0 -1
  366. package/dist/types/widgets/stores/widget-store-branches.test.d.ts +0 -1
  367. package/dist/types/widgets/stores/widget-store-performance.test.d.ts +0 -1
  368. package/dist/types/widgets/stores/widget-store.test.d.ts +0 -1
  369. package/dist/types/widgets/table/config.test.d.ts +0 -1
  370. package/dist/types/widgets/table/helpers.test.d.ts +0 -1
  371. package/dist/types/widgets/table/hooks/use-pagination.test.d.ts +0 -1
  372. package/dist/types/widgets/table/hooks/use-selection.test.d.ts +0 -1
  373. package/dist/types/widgets/table/hooks/use-sort.test.d.ts +0 -1
  374. package/dist/types/widgets/utils/chart-config/option-builders.test.d.ts +0 -1
  375. package/dist/types/widgets-v2/actions/brush-toggle/transforms.test.d.ts +0 -1
  376. package/dist/types/widgets-v2/actions/relative-data/transforms.test.d.ts +0 -1
  377. package/dist/types/widgets-v2/actions/stack-toggle/transforms.test.d.ts +0 -1
  378. package/dist/types/widgets-v2/actions/zoom-toggle/transforms.test.d.ts +0 -1
  379. package/dist/types/widgets-v2/bar/options.test.d.ts +0 -1
  380. package/dist/types/widgets-v2/category/download.test.d.ts +0 -1
  381. package/dist/types/widgets-v2/echart/edge-label-clamp.test.d.ts +0 -1
  382. package/dist/types/widgets-v2/echart/shared-resize-observer.test.d.ts +0 -1
  383. package/dist/types/widgets-v2/histogram/download.test.d.ts +0 -1
  384. package/dist/types/widgets-v2/histogram/options.test.d.ts +0 -1
  385. package/dist/types/widgets-v2/histogram/transforms.test.d.ts +0 -1
  386. package/dist/types/widgets-v2/markdown/download.test.d.ts +0 -1
  387. package/dist/types/widgets-v2/pie/download.test.d.ts +0 -1
  388. package/dist/types/widgets-v2/pie/options.test.d.ts +0 -1
  389. package/dist/types/widgets-v2/scatterplot/download.test.d.ts +0 -1
  390. package/dist/types/widgets-v2/scatterplot/options.test.d.ts +0 -1
  391. package/dist/types/widgets-v2/scatterplot/transforms.test.d.ts +0 -1
  392. package/dist/types/widgets-v2/spread/band.test.d.ts +0 -1
  393. package/dist/types/widgets-v2/spread/download.test.d.ts +0 -1
  394. package/dist/types/widgets-v2/state/labels.test.d.ts +0 -1
  395. package/dist/types/widgets-v2/stores/pipeline-middleware.test.d.ts +0 -1
  396. package/dist/types/widgets-v2/stores/transforms.test.d.ts +0 -1
  397. package/dist/types/widgets-v2/stores/widget-store-registry.test.d.ts +0 -1
  398. package/dist/types/widgets-v2/table/download.test.d.ts +0 -1
  399. package/dist/types/widgets-v2/table/helpers.test.d.ts +0 -1
  400. package/dist/types/widgets-v2/table/transforms.test.d.ts +0 -1
  401. package/dist/types/widgets-v2/test-utils.d.ts +0 -52
  402. package/dist/types/widgets-v2/timeseries/download.test.d.ts +0 -1
  403. package/dist/types/widgets-v2/timeseries/options.test.d.ts +0 -1
  404. package/dist/types/widgets-v2/timeseries/transforms.test.d.ts +0 -1
  405. package/dist/types/widgets-v2/utils/merge-options.test.d.ts +0 -1
  406. package/dist/types/widgets-v2/utils/resolve-theme-color.test.d.ts +0 -1
@@ -1,6 +1,6 @@
1
1
  import { Theme } from '@mui/material';
2
2
  import { EChartsOption } from 'echarts';
3
- import { WidgetSeries } from '../types';
3
+ import { WidgetSeries } from '../types.js';
4
4
  /** A single slice of a pie series. */
5
5
  export interface PieDatum {
6
6
  name: string | number;
@@ -1,4 +1,4 @@
1
- export { Range, type RangeProps } from './range';
2
- export { RangeUI, type RangeUIProps } from './range-ui';
3
- export { RangeSkeleton, type RangeSkeletonProps } from './skeleton';
4
- export type { RangeDataItem, RangeWidgetData, RangeItemValue } from './types';
1
+ export { Range, type RangeProps } from './range.js';
2
+ export { RangeUI, type RangeUIProps } from './range-ui.js';
3
+ export { RangeSkeleton, type RangeSkeletonProps } from './skeleton.js';
4
+ export type { RangeDataItem, RangeWidgetData, RangeItemValue } from './types.js';
@@ -1,4 +1,4 @@
1
- import { RangeDataItem, RangeItemValue } from './types';
1
+ import { RangeDataItem, RangeItemValue } from './types.js';
2
2
  export interface RangeUIProps {
3
3
  items: readonly RangeDataItem[];
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { RangeItemValue } from './types';
1
+ import { RangeItemValue } from './types.js';
2
2
  export interface RangeProps {
3
3
  /**
4
4
  * Fires on every pointer tick while a thumb is being dragged. Use this
@@ -1,5 +1,5 @@
1
- import { DownloadItem } from '../actions/download';
2
- import { ScatterplotWidgetData } from './types';
1
+ import { DownloadItem } from '../actions/download/index.js';
2
+ import { ScatterplotWidgetData } from './types.js';
3
3
  /**
4
4
  * Download menu items for the Scatterplot widget. Always includes a CSV
5
5
  * item with `series, x, y` columns (one row per point). When
@@ -1,5 +1,5 @@
1
- export { scatterplotOptions, createScatterplotOptionFactory } from './options';
2
- export { ScatterplotSkeleton, type ScatterplotSkeletonProps } from './skeleton';
3
- export { createScatterplotDownloadConfig } from './download';
4
- export { toRelativeScatterplotData, filterScatterplotByLockedPoints, } from './transforms';
5
- export type { ScatterplotDatum, ScatterplotWidgetData, ScatterplotOptionsInput, ScatterplotOptionFactoryInput, ScatterplotEChartsOption, } from './types';
1
+ export { scatterplotOptions, createScatterplotOptionFactory } from './options.js';
2
+ export { ScatterplotSkeleton, type ScatterplotSkeletonProps } from './skeleton.js';
3
+ export { createScatterplotDownloadConfig } from './download.js';
4
+ export { toRelativeScatterplotData, filterScatterplotByLockedPoints, } from './transforms.js';
5
+ export type { ScatterplotDatum, ScatterplotWidgetData, ScatterplotOptionsInput, ScatterplotOptionFactoryInput, ScatterplotEChartsOption, } from './types.js';
@@ -1,5 +1,5 @@
1
- import { OptionFactory } from '../echart';
2
- import { ScatterplotEChartsOption, ScatterplotOptionFactoryInput, ScatterplotOptionsInput } from './types';
1
+ import { OptionFactory } from '../echart/index.js';
2
+ import { ScatterplotEChartsOption, ScatterplotOptionFactoryInput, ScatterplotOptionsInput } from './types.js';
3
3
  /**
4
4
  * Builds the **structural** ECharts option for a scatterplot widget — both
5
5
  * axes `type: 'value'` (not category, unlike Bar/Histogram), grid, tooltip
@@ -1,6 +1,6 @@
1
1
  import { Theme } from '@mui/material';
2
2
  import { EChartsOption } from 'echarts';
3
- import { WidgetSeries } from '../types';
3
+ import { WidgetSeries } from '../types.js';
4
4
  /** A single point — `[x, y]` tuple. */
5
5
  export type ScatterplotDatum = readonly [number, number];
6
6
  /** Scatterplot widget data — array of series, each a list of `[x, y]` tuples. */
@@ -1,6 +1,6 @@
1
1
  import { SvgIconProps } from '@mui/material';
2
2
  import { ComponentType } from 'react';
3
- import { SelectionSummaryLabels } from './labels';
3
+ import { SelectionSummaryLabels } from './labels.js';
4
4
  export interface SelectionSummaryProps {
5
5
  /** Number of currently selected items. */
6
6
  count: number;
@@ -1,5 +1,5 @@
1
- import { DownloadItem } from '../actions/download';
2
- import { SpreadWidgetData } from './types';
1
+ import { DownloadItem } from '../actions/download/index.js';
2
+ import { SpreadWidgetData } from './types.js';
3
3
  /**
4
4
  * Download menu items for the Spread widget. Always includes a CSV item
5
5
  * with `series, prefix, min, max, suffix, note` columns (one row per
@@ -1,7 +1,7 @@
1
- export { Spread } from './spread';
2
- export { SpreadUI, type SpreadUIProps } from './spread-ui';
3
- export { Separator } from './separator';
4
- export { SpreadSkeleton, type SpreadSkeletonProps } from './skeleton';
5
- export { createSpreadDownloadConfig } from './download';
6
- export { getSpreadBand, type SpreadVariant, type GetSpreadBandOptions } from './band';
7
- export type { SpreadDataItem, SpreadWidgetData } from './types';
1
+ export { Spread } from './spread.js';
2
+ export { SpreadUI, type SpreadUIProps } from './spread-ui.js';
3
+ export { Separator } from './separator.js';
4
+ export { SpreadSkeleton, type SpreadSkeletonProps } from './skeleton.js';
5
+ export { createSpreadDownloadConfig } from './download.js';
6
+ export { getSpreadBand, type SpreadVariant, type GetSpreadBandOptions } from './band.js';
7
+ export type { SpreadDataItem, SpreadWidgetData } from './types.js';
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'react';
2
- import { SpreadDataItem } from './types';
2
+ import { SpreadDataItem } from './types.js';
3
3
  export interface SpreadUIProps {
4
4
  items: readonly SpreadDataItem[];
5
5
  /** Number formatter — applied to each item's `min` and `max`. */
@@ -1,4 +1,4 @@
1
- import { FormulaSeries } from '../formula';
1
+ import { FormulaSeries } from '../formula/index.js';
2
2
  /**
3
3
  * A single min/max pair rendered by the Spread widget. Mirrors
4
4
  * {@link FormulaDataItem} — same optional `series`, `prefix`, `suffix`,
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { StateLabels } from './labels';
2
+ import { StateLabels } from './labels.js';
3
3
  export interface StateProps {
4
4
  skeleton: ReactNode;
5
5
  children: ReactNode;
@@ -1,8 +1,8 @@
1
- export type { TransformType, TransformDescriptor, TransformFn, Transform, TransformPair, WidgetState, WidgetInit, WidgetStoreApi, } from './types';
2
- export { applyTransforms, upsertTransform, removeTransform } from './transforms';
3
- export { pipelineMiddleware } from './pipeline-middleware';
4
- export { WidgetContext, useWidgetId } from './widget-context';
5
- export { getWidgetStore, hasWidgetStore, deleteWidgetStore, resetWidgetStore, clearAllWidgetStores, registerWidgetStore, unregisterWidgetStore, setWidgetStoreEntry, createWidgetStore, useWidget, useWidgetShallow, setCaptureEl, getCaptureEl, clearAllCaptureEls, setEchartInstance, getEchartInstance, subscribeEchartInstance, clearAllEchartInstances, __debugListWidgetStores, } from './widget-store-registry';
6
- export { useEchartInstance } from './use-echart-instance';
7
- export { useTransform, useSingleTransform, type UseTransformOptions, type TransformControls, } from './use-transform';
8
- export { useTransformEnabled } from './use-transform-enabled';
1
+ export type { TransformType, TransformDescriptor, TransformFn, Transform, TransformPair, WidgetState, WidgetInit, WidgetStoreApi, } from './types.js';
2
+ export { applyTransforms, upsertTransform, removeTransform } from './transforms.js';
3
+ export { pipelineMiddleware } from './pipeline-middleware.js';
4
+ export { WidgetContext, useWidgetId } from './widget-context.js';
5
+ export { getWidgetStore, hasWidgetStore, deleteWidgetStore, resetWidgetStore, clearAllWidgetStores, registerWidgetStore, unregisterWidgetStore, setWidgetStoreEntry, createWidgetStore, useWidget, useWidgetShallow, setCaptureEl, getCaptureEl, clearAllCaptureEls, setEchartInstance, getEchartInstance, subscribeEchartInstance, clearAllEchartInstances, __debugListWidgetStores, } from './widget-store-registry.js';
6
+ export { useEchartInstance } from './use-echart-instance.js';
7
+ export { useTransform, useSingleTransform, type UseTransformOptions, type TransformControls, } from './use-transform.js';
8
+ export { useTransformEnabled } from './use-transform-enabled.js';
@@ -1,5 +1,5 @@
1
1
  import { StateCreator, StoreMutatorIdentifier } from 'zustand';
2
- import { WidgetState } from './types';
2
+ import { WidgetState } from './types.js';
3
3
  type PipelineMiddleware = <T extends WidgetState, Mps extends [StoreMutatorIdentifier, unknown][] = [], Mcs extends [StoreMutatorIdentifier, unknown][] = []>(config: StateCreator<T, Mps, Mcs>) => StateCreator<T, Mps, Mcs>;
4
4
  export declare const pipelineMiddleware: PipelineMiddleware;
5
5
  export {};
@@ -1,4 +1,4 @@
1
- import { Transform } from './types';
1
+ import { Transform } from './types.js';
2
2
  export declare function applyTransforms(input: unknown, transforms: readonly Transform[], onError?: (id: string, error: Error) => void): unknown;
3
3
  export declare function upsertTransform(transforms: readonly Transform[], next: Transform): readonly Transform[];
4
4
  export declare function removeTransform(transforms: readonly Transform[], id: string): readonly Transform[];
@@ -1,5 +1,5 @@
1
1
  import { Dispatch, SetStateAction } from 'react';
2
- import { TransformDescriptor, TransformFn, TransformPair } from './types';
2
+ import { TransformDescriptor, TransformFn, TransformPair } from './types.js';
3
3
  export interface UseTransformOptions {
4
4
  initialEnabled?: boolean;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import { ECharts } from 'echarts';
2
- import { WidgetInit, WidgetState, WidgetStoreApi } from './types';
2
+ import { WidgetInit, WidgetState, WidgetStoreApi } from './types.js';
3
3
  type EchartInstanceListener = (chart: ECharts | null) => void;
4
4
  export declare function getWidgetStore(id: string): WidgetStoreApi;
5
5
  export declare function hasWidgetStore(id: string): boolean;
@@ -1,5 +1,5 @@
1
- import { DownloadItem } from '../actions/download';
2
- import { TableColumn, TableWidgetData } from './types';
1
+ import { DownloadItem } from '../actions/download/index.js';
2
+ import { TableColumn, TableWidgetData } from './types.js';
3
3
  /**
4
4
  * Download menu items for the Table widget. Always includes a CSV item
5
5
  * that pulls the latest data from the widget store via `getData()` (so
@@ -1,4 +1,4 @@
1
- import { TableColumn, TableRow, TableSortDirection, TableWidgetData } from './types';
1
+ import { TableColumn, TableRow, TableSortDirection, TableWidgetData } from './types.js';
2
2
  /**
3
3
  * Compares two values with a consistent ordering across primitive types.
4
4
  * Strings use locale comparison; numbers subtract; booleans rank false < true;
@@ -1,8 +1,8 @@
1
- export { Table, type TableProps } from './table';
2
- export { TableUI, type TableUIProps } from './table-ui';
3
- export { TableSkeleton, type TableSkeletonProps } from './skeleton';
4
- export { createTableDownloadConfig } from './download';
5
- export { filterTableByLockedRows } from './transforms';
6
- export { compareValues, sortRows, paginateRows, resolveColumns, deriveVisibleRows, tableDataToCsv, } from './helpers';
7
- export { DEFAULT_TABLE_LABELS, type TableLabels } from './labels';
8
- export { DEFAULT_TABLE_PAGE_SIZE, DEFAULT_TABLE_PAGE_SIZE_OPTIONS, type TableColumn, type TableRow, type TableWidgetData, type TableWidgetState, type TableSortDirection, type TableSortState, } from './types';
1
+ export { Table, type TableProps } from './table.js';
2
+ export { TableUI, type TableUIProps } from './table-ui.js';
3
+ export { TableSkeleton, type TableSkeletonProps } from './skeleton.js';
4
+ export { createTableDownloadConfig } from './download.js';
5
+ export { filterTableByLockedRows } from './transforms.js';
6
+ export { compareValues, sortRows, paginateRows, resolveColumns, deriveVisibleRows, tableDataToCsv, } from './helpers.js';
7
+ export { DEFAULT_TABLE_LABELS, type TableLabels } from './labels.js';
8
+ export { DEFAULT_TABLE_PAGE_SIZE, DEFAULT_TABLE_PAGE_SIZE_OPTIONS, type TableColumn, type TableRow, type TableWidgetData, type TableWidgetState, type TableSortDirection, type TableSortState, } from './types.js';
@@ -1,6 +1,6 @@
1
1
  import { TableProps as MuiTableProps } from '@mui/material';
2
- import { TableLabels } from './labels';
3
- import { TableColumn, TableRow, TableSortState } from './types';
2
+ import { TableLabels } from './labels.js';
3
+ import { TableColumn, TableRow, TableSortState } from './types.js';
4
4
  export interface TableUIProps<T extends TableRow = TableRow> {
5
5
  columns: readonly TableColumn[];
6
6
  /** Already-paginated, already-sorted rows for the current view. */
@@ -1,5 +1,5 @@
1
- import { TableUIProps } from './table-ui';
2
- import { TableColumn, TableRow, TableSortState } from './types';
1
+ import { TableUIProps } from './table-ui.js';
2
+ import { TableColumn, TableRow, TableSortState } from './types.js';
3
3
  export interface TableProps<T extends TableRow = TableRow> extends Pick<TableUIProps<T>, 'pageSizeOptions' | 'selectable' | 'labels' | 'emptyContent' | 'size' | 'keyColumn'> {
4
4
  /**
5
5
  * Column definitions. Order can be overridden by ChangeColumn via the
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { WidgetState } from '../stores';
2
+ import { WidgetState } from '../stores/index.js';
3
3
  /**
4
4
  * Single row of tabular data.
5
5
  *
@@ -1,5 +1,5 @@
1
- import { DownloadItem } from '../actions/download';
2
- import { TimeseriesWidgetData } from './types';
1
+ import { DownloadItem } from '../actions/download/index.js';
2
+ import { TimeseriesWidgetData } from './types.js';
3
3
  /**
4
4
  * Download menu items for the Timeseries widget. Always includes a CSV
5
5
  * item with `time, series_1, series_2, …` columns (one row per unique time
@@ -1,5 +1,5 @@
1
- export { timeseriesOptions, createTimeseriesOptionFactory } from './options';
2
- export { TimeseriesSkeleton } from './skeleton';
3
- export { createTimeseriesDownloadConfig } from './download';
4
- export { filterTimeseriesByLockedItems } from './transforms';
5
- export type { TimeseriesDatum, TimeseriesWidgetData, TimeseriesOptionsInput, TimeseriesOptionFactoryInput, TimeseriesEChartsOption, } from './types';
1
+ export { timeseriesOptions, createTimeseriesOptionFactory } from './options.js';
2
+ export { TimeseriesSkeleton } from './skeleton.js';
3
+ export { createTimeseriesDownloadConfig } from './download.js';
4
+ export { filterTimeseriesByLockedItems } from './transforms.js';
5
+ export type { TimeseriesDatum, TimeseriesWidgetData, TimeseriesOptionsInput, TimeseriesOptionFactoryInput, TimeseriesEChartsOption, } from './types.js';
@@ -1,9 +1,9 @@
1
- import { OptionFactory } from '../echart';
2
- import { TimeseriesEChartsOption, TimeseriesOptionFactoryInput, TimeseriesOptionsInput } from './types';
1
+ import { OptionFactory } from '../echart/index.js';
2
+ import { TimeseriesEChartsOption, TimeseriesOptionFactoryInput, TimeseriesOptionsInput } from './types.js';
3
3
  /**
4
4
  * Builds the **structural** ECharts option for a timeseries widget —
5
5
  * time x-axis, value y-axis, themed tooltip, themed legend, CARTO color
6
- * palette. Mirrors {@link import('../bar/options').barOptions} so all
6
+ * palette. Mirrors {@link import('../bar/options.js').barOptions} so all
7
7
  * four ECharts widgets share v1 look-and-feel.
8
8
  *
9
9
  * Intentional deviations from bar (timeseries-specific):
@@ -31,7 +31,7 @@ export declare function timeseriesOptions({ theme, formatter, labelFormatter, }:
31
31
  * - **Merge phase** (`option != null`) — fuses post-pipeline `state.data`
32
32
  * (`TimeseriesWidgetData`) into the option via the dataset API: one
33
33
  * dataset per series, each series referencing its dataset by index,
34
- * encoded by `name` (x — time) and `value` (y). Mirrors {@link import('../bar/options').createBarOptionFactory}:
34
+ * encoded by `name` (x — time) and `value` (y). Mirrors {@link import('../bar/options.js').createBarOptionFactory}:
35
35
  * series-template merge for `addStack`, reactive formatters from
36
36
  * `ctx`, `niceNum`-rounded y-axis bounds at fusion time, and
37
37
  * `positionDataZoomForLegend` layout for ZoomToggle sliders.
@@ -1,6 +1,6 @@
1
1
  import { Theme } from '@mui/material';
2
2
  import { EChartsOption } from 'echarts';
3
- import { WidgetSeries } from '../types';
3
+ import { WidgetSeries } from '../types.js';
4
4
  /**
5
5
  * A single point on a time series. `name` is the time coordinate — accepts a
6
6
  * Date object, a number (ms-since-epoch), or an ISO-8601 string. ECharts'
@@ -1,6 +1,6 @@
1
1
  import { ComponentType, ReactNode } from 'react';
2
2
  import { SvgIconProps, SxProps, Theme } from '@mui/material';
3
- import { ToolboxLabels } from './labels';
3
+ import { ToolboxLabels } from './labels.js';
4
4
  export interface ToolboxProps {
5
5
  /**
6
6
  * Maximum number of (non-`data-toolbar-hidden`) children rendered inline
@@ -1,3 +1,3 @@
1
- export { mergeOptions } from './merge-options';
2
- export { positionDataZoomForLegend } from './data-zoom-layout';
3
- export { resolveThemeColor } from './resolve-theme-color';
1
+ export { mergeOptions } from './merge-options.js';
2
+ export { positionDataZoomForLegend } from './data-zoom-layout.js';
3
+ export { resolveThemeColor } from './resolve-theme-color.js';
@@ -1,4 +1,4 @@
1
- export { Wrapper, type WrapperProps } from './widget-wrapper';
2
- export { Actions, Options, type ActionsProps, type OptionsProps, } from './widget-actions';
3
- export { Content, Footer, type ContentProps, type FooterProps, } from './widget-content';
4
- export { DEFAULT_WRAPPER_LABELS, type WrapperLabels } from './labels';
1
+ export { Wrapper, type WrapperProps } from './widget-wrapper.js';
2
+ export { Actions, Options, type ActionsProps, type OptionsProps, } from './widget-actions.js';
3
+ export { Content, Footer, type ContentProps, type FooterProps, } from './widget-content.js';
4
+ export { DEFAULT_WRAPPER_LABELS, type WrapperLabels } from './labels.js';
@@ -1,6 +1,6 @@
1
1
  import { ComponentType, ReactNode } from 'react';
2
2
  import { SvgIconProps, SxProps, Theme } from '@mui/material';
3
- import { WrapperLabels } from './labels';
3
+ import { WrapperLabels } from './labels.js';
4
4
  export interface WrapperProps {
5
5
  title: string;
6
6
  /**
@@ -1,4 +1,4 @@
1
- import { r as e } from "./zoom-toggle-CA0ifG23.js";
1
+ import { r as e } from "./zoom-toggle-KA63b6-J.js";
2
2
  //#region src/widgets-v2/utils/merge-options.ts
3
3
  function t(e, t) {
4
4
  if (!t) return e;
@@ -55,4 +55,4 @@ function a(e, t) {
55
55
  //#endregion
56
56
  export { i as n, t as r, a as t };
57
57
 
58
- //# sourceMappingURL=utils-DtvTjjMq.js.map
58
+ //# sourceMappingURL=utils-ClB6nn4w.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils-DtvTjjMq.js","names":["mergeOptions","Record","base","T","override","Partial","out","key","Object","keys","a","b","undefined","mergeValue","Array","isArray","len","Math","max","length","result","i","av","bv","isPlainObject","v","proto","getPrototypeOf","prototype","ZOOM_LAYOUT","positionDataZoomForLegend","dataZoom","hasLegend","Array","isArray","length","map","entry","dz","type","bottom","sliderBottomWithLegend","Theme","resolveThemeColor","theme","raw","undefined","includes","parts","split","cursor","palette","part","Record"],"sources":["../src/widgets-v2/utils/merge-options.ts","../src/widgets-v2/utils/data-zoom-layout.ts","../src/widgets-v2/utils/resolve-theme-color.ts"],"sourcesContent":["/**\n * Shallow-merges two ECharts option objects:\n * - Top-level keys from both are combined.\n * - Arrays are merged by index (element-wise shallow merge, primitive override).\n * - Plain objects are shallow-merged.\n * - Primitives are overridden by the override value.\n *\n * Designed for the two-stage memoization pattern: first build a base option\n * object from data + theme + formatters, then call `mergeOptions(base, override)`\n * inside a second `useMemo` keyed on `[base, override]`.\n */\nexport function mergeOptions<T extends Record<string, unknown>>(\n base: T,\n override?: Partial<T>,\n): T {\n if (!override) return base\n const out: Record<string, unknown> = { ...base }\n for (const key of Object.keys(override) as (keyof T)[]) {\n const a = base[key]\n const b = override[key]\n if (b === undefined) continue\n out[key as string] = mergeValue(a, b)\n }\n return out as T\n}\n\nfunction mergeValue(a: unknown, b: unknown): unknown {\n if (Array.isArray(a) && Array.isArray(b)) {\n const len = Math.max(a.length, b.length)\n const result = new Array<unknown>(len)\n for (let i = 0; i < len; i++) {\n const av: unknown = a[i]\n const bv: unknown = b[i]\n if (bv === undefined) result[i] = av\n else if (av === undefined) result[i] = bv\n else result[i] = mergeValue(av, bv)\n }\n return result\n }\n if (isPlainObject(a) && isPlainObject(b)) {\n return { ...a, ...b }\n }\n return b\n}\n\nfunction isPlainObject(v: unknown): v is Record<string, unknown> {\n if (v === null || typeof v !== 'object') return false\n const proto = Object.getPrototypeOf(v) as unknown\n return proto === Object.prototype || proto === null\n}\n","import { ZOOM_LAYOUT } from '../actions/zoom-toggle'\n\n/**\n * If the option includes a `dataZoom` array (from ZoomToggle's transform),\n * lift any slider entries above the legend row so they don't overlap.\n * Returns `null` when there is no `dataZoom` — caller skips the layout\n * adjustment entirely.\n *\n * Shared between bar, histogram, and timeseries — every widget with a\n * horizontal x-axis dataZoom slider needs the same offset when a legend\n * is rendered below the plot.\n */\nexport function positionDataZoomForLegend(\n dataZoom: unknown,\n hasLegend: boolean,\n): unknown[] | null {\n if (!Array.isArray(dataZoom) || dataZoom.length === 0) return null\n return dataZoom.map((entry: unknown) => {\n if (entry == null || typeof entry !== 'object') return entry\n const dz = entry as { type?: string; bottom?: number }\n if (dz.type === 'slider' && hasLegend) {\n return { ...dz, bottom: ZOOM_LAYOUT.sliderBottomWithLegend }\n }\n return dz\n })\n}\n","import type { Theme } from '@mui/material'\n\n/**\n * Resolve a colour string against the MUI theme palette.\n *\n * - `'primary.main'`, `'secondary.dark'`, `'success.contrastText'`, … →\n * walks `theme.palette` along the dot-separated path and returns the\n * resolved string when traversal succeeds.\n * - `'#ff0000'`, `'rgb(255, 0, 0)'`, `'red'` → returned as-is (assumed\n * raw CSS; ECharts consumes them directly).\n * - `undefined` → `undefined` (callers fall back to ECharts' palette).\n *\n * Used by the echart option factories (Bar, Pie, Histogram, Scatterplot,\n * Timeseries) so per-series colours specified as theme paths in the\n * unified `WidgetSeries` shape paint correctly. Category, Formula, and\n * Spread render colours through MUI's `sx` resolver, which already\n * handles theme paths — they don't need this helper.\n */\nexport function resolveThemeColor(\n theme: Theme,\n raw: string | undefined,\n): string | undefined {\n if (raw == null) return undefined\n if (!raw.includes('.')) return raw\n const parts = raw.split('.')\n let cursor: unknown = theme.palette\n for (const part of parts) {\n if (cursor == null || typeof cursor !== 'object') {\n return raw\n }\n cursor = (cursor as Record<string, unknown>)[part]\n }\n return typeof cursor === 'string' ? cursor : raw\n}\n"],"mappings":";;AAWA,SAAgBA,EACdE,GACAE,GACG;CACH,IAAI,CAACA,GAAU,OAAOF;CACtB,IAAMI,IAA+B,EAAE,GAAGJ,EAAK;CAC/C,KAAK,IAAMK,KAAOC,OAAOC,KAAKL,CAAQ,GAAkB;EACtD,IAAMM,IAAIR,EAAKK,IACTI,IAAIP,EAASG;EACfI,MAAMC,KAAAA,MACVN,EAAIC,KAAiBM,EAAWH,GAAGC,CAAC;CACtC;CACA,OAAOL;AACT;AAEA,SAASO,EAAWH,GAAYC,GAAqB;CACnD,IAAIG,MAAMC,QAAQL,CAAC,KAAKI,MAAMC,QAAQJ,CAAC,GAAG;EACxC,IAAMK,IAAMC,KAAKC,IAAIR,EAAES,QAAQR,EAAEQ,MAAM,GACjCC,IAAaN,MAAeE,CAAG;EACrC,KAAK,IAAIK,IAAI,GAAGA,IAAIL,GAAKK,KAAK;GAC5B,IAAMC,IAAcZ,EAAEW,IAChBE,IAAcZ,EAAEU;GACtB,AAAIE,MAAOX,KAAAA,IAAWQ,EAAOC,KAAKC,IACzBA,MAAOV,KAAAA,IAAWQ,EAAOC,KAAKE,IAClCH,EAAOC,KAAKR,EAAWS,GAAIC,CAAE;EACpC;EACA,OAAOH;CACT;CAIA,OAHII,EAAcd,CAAC,KAAKc,EAAcb,CAAC,IAC9B;EAAE,GAAGD;EAAG,GAAGC;CAAE,IAEfA;AACT;AAEA,SAASa,EAAcC,GAA0C;CAC/D,IAAkB,OAAOA,KAAM,aAA3BA,GAAqC,OAAO;CAChD,IAAMC,IAAQlB,OAAOmB,eAAeF,CAAC;CACrC,OAAOC,MAAUlB,OAAOoB,aAAaF,MAAU;AACjD;;;ACrCA,SAAgBI,EACdC,GACAC,GACkB;CAElB,OADI,CAACC,MAAMC,QAAQH,CAAQ,KAAKA,EAASI,WAAW,IAAU,OACvDJ,EAASK,KAAKC,MAAmB;EACtC,IAAqB,OAAOA,KAAU,aAAlCA,GAA4C,OAAOA;EACvD,IAAMC,IAAKD;EAIX,OAHIC,EAAGC,SAAS,YAAYP,IACnB;GAAE,GAAGM;GAAIE,QAAQX,EAAYY;EAAuB,IAEtDH;CACT,CAAC;AACH;;;ACPA,SAAgBK,EACdC,GACAC,GACoB;CACpB,IAAIA,KAAO,MAAM;CACjB,IAAI,CAACA,EAAIE,SAAS,GAAG,GAAG,OAAOF;CAC/B,IAAMG,IAAQH,EAAII,MAAM,GAAG,GACvBC,IAAkBN,EAAMO;CAC5B,KAAK,IAAMC,KAAQJ,GAAO;EACxB,IAAsB,OAAOE,KAAW,aAApCA,GACF,OAAOL;EAETK,IAAUA,EAAmCE;CAC/C;CACA,OAAO,OAAOF,KAAW,WAAWA,IAASL;AAC/C"}
1
+ {"version":3,"file":"utils-ClB6nn4w.js","names":["mergeOptions","Record","base","T","override","Partial","out","key","Object","keys","a","b","undefined","mergeValue","Array","isArray","len","Math","max","length","result","i","av","bv","isPlainObject","v","proto","getPrototypeOf","prototype","ZOOM_LAYOUT","positionDataZoomForLegend","dataZoom","hasLegend","Array","isArray","length","map","entry","dz","type","bottom","sliderBottomWithLegend","Theme","resolveThemeColor","theme","raw","undefined","includes","parts","split","cursor","palette","part","Record"],"sources":["../src/widgets-v2/utils/merge-options.ts","../src/widgets-v2/utils/data-zoom-layout.ts","../src/widgets-v2/utils/resolve-theme-color.ts"],"sourcesContent":["/**\n * Shallow-merges two ECharts option objects:\n * - Top-level keys from both are combined.\n * - Arrays are merged by index (element-wise shallow merge, primitive override).\n * - Plain objects are shallow-merged.\n * - Primitives are overridden by the override value.\n *\n * Designed for the two-stage memoization pattern: first build a base option\n * object from data + theme + formatters, then call `mergeOptions(base, override)`\n * inside a second `useMemo` keyed on `[base, override]`.\n */\nexport function mergeOptions<T extends Record<string, unknown>>(\n base: T,\n override?: Partial<T>,\n): T {\n if (!override) return base\n const out: Record<string, unknown> = { ...base }\n for (const key of Object.keys(override) as (keyof T)[]) {\n const a = base[key]\n const b = override[key]\n if (b === undefined) continue\n out[key as string] = mergeValue(a, b)\n }\n return out as T\n}\n\nfunction mergeValue(a: unknown, b: unknown): unknown {\n if (Array.isArray(a) && Array.isArray(b)) {\n const len = Math.max(a.length, b.length)\n const result = new Array<unknown>(len)\n for (let i = 0; i < len; i++) {\n const av: unknown = a[i]\n const bv: unknown = b[i]\n if (bv === undefined) result[i] = av\n else if (av === undefined) result[i] = bv\n else result[i] = mergeValue(av, bv)\n }\n return result\n }\n if (isPlainObject(a) && isPlainObject(b)) {\n return { ...a, ...b }\n }\n return b\n}\n\nfunction isPlainObject(v: unknown): v is Record<string, unknown> {\n if (v === null || typeof v !== 'object') return false\n const proto = Object.getPrototypeOf(v) as unknown\n return proto === Object.prototype || proto === null\n}\n","import { ZOOM_LAYOUT } from '../actions/zoom-toggle'\n\n/**\n * If the option includes a `dataZoom` array (from ZoomToggle's transform),\n * lift any slider entries above the legend row so they don't overlap.\n * Returns `null` when there is no `dataZoom` — caller skips the layout\n * adjustment entirely.\n *\n * Shared between bar, histogram, and timeseries — every widget with a\n * horizontal x-axis dataZoom slider needs the same offset when a legend\n * is rendered below the plot.\n */\nexport function positionDataZoomForLegend(\n dataZoom: unknown,\n hasLegend: boolean,\n): unknown[] | null {\n if (!Array.isArray(dataZoom) || dataZoom.length === 0) return null\n return dataZoom.map((entry: unknown) => {\n if (entry == null || typeof entry !== 'object') return entry\n const dz = entry as { type?: string; bottom?: number }\n if (dz.type === 'slider' && hasLegend) {\n return { ...dz, bottom: ZOOM_LAYOUT.sliderBottomWithLegend }\n }\n return dz\n })\n}\n","import type { Theme } from '@mui/material'\n\n/**\n * Resolve a colour string against the MUI theme palette.\n *\n * - `'primary.main'`, `'secondary.dark'`, `'success.contrastText'`, … →\n * walks `theme.palette` along the dot-separated path and returns the\n * resolved string when traversal succeeds.\n * - `'#ff0000'`, `'rgb(255, 0, 0)'`, `'red'` → returned as-is (assumed\n * raw CSS; ECharts consumes them directly).\n * - `undefined` → `undefined` (callers fall back to ECharts' palette).\n *\n * Used by the echart option factories (Bar, Pie, Histogram, Scatterplot,\n * Timeseries) so per-series colours specified as theme paths in the\n * unified `WidgetSeries` shape paint correctly. Category, Formula, and\n * Spread render colours through MUI's `sx` resolver, which already\n * handles theme paths — they don't need this helper.\n */\nexport function resolveThemeColor(\n theme: Theme,\n raw: string | undefined,\n): string | undefined {\n if (raw == null) return undefined\n if (!raw.includes('.')) return raw\n const parts = raw.split('.')\n let cursor: unknown = theme.palette\n for (const part of parts) {\n if (cursor == null || typeof cursor !== 'object') {\n return raw\n }\n cursor = (cursor as Record<string, unknown>)[part]\n }\n return typeof cursor === 'string' ? cursor : raw\n}\n"],"mappings":";;AAWA,SAAgBA,EACdE,GACAE,GACG;CACH,IAAI,CAACA,GAAU,OAAOF;CACtB,IAAMI,IAA+B,EAAE,GAAGJ,EAAK;CAC/C,KAAK,IAAMK,KAAOC,OAAOC,KAAKL,CAAQ,GAAkB;EACtD,IAAMM,IAAIR,EAAKK,IACTI,IAAIP,EAASG;EACfI,MAAMC,KAAAA,MACVN,EAAIC,KAAiBM,EAAWH,GAAGC,CAAC;CACtC;CACA,OAAOL;AACT;AAEA,SAASO,EAAWH,GAAYC,GAAqB;CACnD,IAAIG,MAAMC,QAAQL,CAAC,KAAKI,MAAMC,QAAQJ,CAAC,GAAG;EACxC,IAAMK,IAAMC,KAAKC,IAAIR,EAAES,QAAQR,EAAEQ,MAAM,GACjCC,IAAaN,MAAeE,CAAG;EACrC,KAAK,IAAIK,IAAI,GAAGA,IAAIL,GAAKK,KAAK;GAC5B,IAAMC,IAAcZ,EAAEW,IAChBE,IAAcZ,EAAEU;GACtB,AAAIE,MAAOX,KAAAA,IAAWQ,EAAOC,KAAKC,IACzBA,MAAOV,KAAAA,IAAWQ,EAAOC,KAAKE,IAClCH,EAAOC,KAAKR,EAAWS,GAAIC,CAAE;EACpC;EACA,OAAOH;CACT;CAIA,OAHII,EAAcd,CAAC,KAAKc,EAAcb,CAAC,IAC9B;EAAE,GAAGD;EAAG,GAAGC;CAAE,IAEfA;AACT;AAEA,SAASa,EAAcC,GAA0C;CAC/D,IAAkB,OAAOA,KAAM,aAA3BA,GAAqC,OAAO;CAChD,IAAMC,IAAQlB,OAAOmB,eAAeF,CAAC;CACrC,OAAOC,MAAUlB,OAAOoB,aAAaF,MAAU;AACjD;;;ACrCA,SAAgBI,EACdC,GACAC,GACkB;CAElB,OADI,CAACC,MAAMC,QAAQH,CAAQ,KAAKA,EAASI,WAAW,IAAU,OACvDJ,EAASK,KAAKC,MAAmB;EACtC,IAAqB,OAAOA,KAAU,aAAlCA,GAA4C,OAAOA;EACvD,IAAMC,IAAKD;EAIX,OAHIC,EAAGC,SAAS,YAAYP,IACnB;GAAE,GAAGM;GAAIE,QAAQX,EAAYY;EAAuB,IAEtDH;CACT,CAAC;AACH;;;ACPA,SAAgBK,EACdC,GACAC,GACoB;CACpB,IAAIA,KAAO,MAAM;CACjB,IAAI,CAACA,EAAIE,SAAS,GAAG,GAAG,OAAOF;CAC/B,IAAMG,IAAQH,EAAII,MAAM,GAAG,GACvBC,IAAkBN,EAAMO;CAC5B,KAAK,IAAMC,KAAQJ,GAAO;EACxB,IAAsB,OAAOE,KAAW,aAApCA,GACF,OAAOL;EAETK,IAAUA,EAAmCE;CAC/C;CACA,OAAO,OAAOF,KAAW,WAAWA,IAASL;AAC/C"}
@@ -1,2 +1,2 @@
1
- import { _ as e, a as t, b as n, c as r, d as i, f as a, g as o, h as s, i as c, l, m as u, n as d, o as f, p, r as m, s as h, t as g, u as _, v, y } from "../actions-DKX98LlI.js";
1
+ import { _ as e, a as t, b as n, c as r, d as i, f as a, g as o, h as s, i as c, l, m as u, n as d, o as f, p, r as m, s as h, t as g, u as _, v, y } from "../actions-DZGaL_uT.js";
2
2
  export { g as BRUSH_TOGGLE_TOOL_ID, d as BrushToggle, m as CHANGE_COLUMN_TOOL_ID, c as ChangeColumn, y as Download, n as FullScreen, r as LOCK_SELECTION_TOOL_ID, l as LockSelection, u as RELATIVE_DATA_CONFIG_TOOL_ID, s as RELATIVE_DATA_TOOL_ID, o as RelativeData, f as SEARCHER_TOOL_ID, _ as STACK_TOGGLE_TOOL_ID, h as Searcher, t as SearcherToggle, i as StackToggle, a as ZOOM_TOGGLE_TOOL_ID, p as ZoomToggle, e as downloadToCSV, v as downloadToPNG };
@@ -1,6 +1,6 @@
1
1
  import { a as e } from "../shared-resize-observer-BEiP2rQt.js";
2
2
  import { t } from "../csv-modifiers-D6HGC24b.js";
3
- import { a as n, c as r, d as i, f as a, n as o, s, t as c, u as l } from "../chart-config-BGt7wkK7.js";
3
+ import { a as n, c as r, d as i, f as a, n as o, s, t as c, u as l } from "../chart-config-BWxjodlt.js";
4
4
  import { t as u } from "../echart-BkaV3V5G.js";
5
5
  import { t as d } from "../styles-Y-qGBELO.js";
6
6
  import { c as f } from "react/compiler-runtime";
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "../use-widget-selector-VSPhfhNm.js";
2
- import { _ as t, v as n } from "../actions-DKX98LlI.js";
2
+ import { _ as t, v as n } from "../actions-DZGaL_uT.js";
3
3
  import { n as r, t as i } from "../formatter-wVO81tYk.js";
4
4
  import { t as a } from "../hooks-zf5gKZYq.js";
5
5
  import { c as o } from "react/compiler-runtime";
@@ -1,3 +1,3 @@
1
1
  import { t as e } from "../row-CvVGBuy_.js";
2
- import { a as t, c as n, d as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "../formula-Bk9CBzm2.js";
2
+ import { a as t, c as n, d as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "../formula-BNuRXsmh.js";
3
3
  export { c as FormulaSkeleton, i as FormulaUI, r as Item, a as Prefix, e as Row, l as Series, n as Suffix, d as Value, t as formulaConfig, s as formulaDownloadConfig, u as sanitizeDataItem, o as sanitizeDataItems };
@@ -1,6 +1,6 @@
1
- import { _ as e, v as t } from "../actions-DKX98LlI.js";
1
+ import { _ as e, v as t } from "../actions-DZGaL_uT.js";
2
2
  import { a as n } from "../shared-resize-observer-BEiP2rQt.js";
3
- import { a as r, d as i, f as a, o, s, u as c } from "../chart-config-BGt7wkK7.js";
3
+ import { a as r, d as i, f as a, o, s, u as c } from "../chart-config-BWxjodlt.js";
4
4
  import { t as l } from "../echart-BkaV3V5G.js";
5
5
  import { t as u } from "../styles-Y-qGBELO.js";
6
6
  import { c as d } from "react/compiler-runtime";
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "../use-widget-selector-VSPhfhNm.js";
2
- import { _ as t } from "../actions-DKX98LlI.js";
2
+ import { _ as t } from "../actions-DZGaL_uT.js";
3
3
  import { c as n } from "react/compiler-runtime";
4
4
  import { Box as r, Link as i, List as a, ListItem as o, Skeleton as s, Typography as c } from "@mui/material";
5
5
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { a as e } from "../shared-resize-observer-BEiP2rQt.js";
2
2
  import { t } from "../csv-modifiers-D6HGC24b.js";
3
- import { a as n, c as r, d as i, f as a, s as o, t as s, u as c } from "../chart-config-BGt7wkK7.js";
3
+ import { a as n, c as r, d as i, f as a, s as o, t as s, u as c } from "../chart-config-BWxjodlt.js";
4
4
  import { t as l } from "../echart-BkaV3V5G.js";
5
5
  import { t as u } from "../styles-Y-qGBELO.js";
6
6
  import { c as d } from "react/compiler-runtime";
@@ -1,6 +1,6 @@
1
1
  import { a as e } from "../shared-resize-observer-BEiP2rQt.js";
2
2
  import { n as t } from "../csv-modifiers-D6HGC24b.js";
3
- import { c as n, n as r, r as i, s as a, t as o, u as s } from "../chart-config-BGt7wkK7.js";
3
+ import { c as n, n as r, r as i, s as a, t as o, u as s } from "../chart-config-BWxjodlt.js";
4
4
  import { t as c } from "../echart-BkaV3V5G.js";
5
5
  import { t as l } from "../styles-Y-qGBELO.js";
6
6
  import { c as u } from "react/compiler-runtime";
@@ -1,9 +1,9 @@
1
1
  import { t as e } from "../use-widget-selector-VSPhfhNm.js";
2
- import { _ as t, v as n } from "../actions-DKX98LlI.js";
2
+ import { _ as t, v as n } from "../actions-DZGaL_uT.js";
3
3
  import { t as r } from "../formatter-wVO81tYk.js";
4
4
  import { t as i } from "../hooks-zf5gKZYq.js";
5
5
  import { t as a } from "../row-CvVGBuy_.js";
6
- import { c as o, d as s, l as c, s as l } from "../formula-Bk9CBzm2.js";
6
+ import { c as o, d as s, l as c, s as l } from "../formula-BNuRXsmh.js";
7
7
  import { c as u } from "react/compiler-runtime";
8
8
  import { Box as d, Skeleton as f } from "@mui/material";
9
9
  import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { n as e } from "../widget-store-BFPKYm4R.js";
2
2
  import { t } from "../use-widget-selector-VSPhfhNm.js";
3
- import { _ as n, v as r } from "../actions-DKX98LlI.js";
3
+ import { _ as n, v as r } from "../actions-DZGaL_uT.js";
4
4
  import { t as i } from "../hooks-zf5gKZYq.js";
5
5
  import { c as a } from "react/compiler-runtime";
6
6
  import "react";
@@ -1,6 +1,6 @@
1
1
  import { a as e } from "../shared-resize-observer-BEiP2rQt.js";
2
2
  import { t } from "../csv-modifiers-D6HGC24b.js";
3
- import { a as n, c as r, n as i, r as a, s as o, t as s, u as c } from "../chart-config-BGt7wkK7.js";
3
+ import { a as n, c as r, n as i, r as a, s as o, t as s, u as c } from "../chart-config-BWxjodlt.js";
4
4
  import { t as l } from "../echart-BkaV3V5G.js";
5
5
  import { t as u } from "../styles-Y-qGBELO.js";
6
6
  import { c as d } from "react/compiler-runtime";
@@ -1,6 +1,6 @@
1
1
  import { n as e, t } from "../formatter-wVO81tYk.js";
2
2
  import { n, t as r } from "../csv-modifiers-D6HGC24b.js";
3
- import { a as i, d as a, f as o, l as s, n as c, r as l, s as u, t as d, u as f } from "../chart-config-BGt7wkK7.js";
3
+ import { a as i, d as a, f as o, l as s, n as c, r as l, s as u, t as d, u as f } from "../chart-config-BWxjodlt.js";
4
4
  import { t as p } from "../styles-Y-qGBELO.js";
5
5
  //#region src/widgets/utils/chart-config/config-factory.ts
6
6
  function m({ type: e, getOptions: t }) {
@@ -1,4 +1,4 @@
1
- import "../components-DDt4mOQn.js";
1
+ import "../components-DKjBezcJ.js";
2
2
  import { t as e } from "../smart-tooltip-CwGHCqab.js";
3
3
  import { n as t } from "../widget-store-BFPKYm4R.js";
4
4
  import { t as n } from "../use-widget-selector-VSPhfhNm.js";
@@ -1,4 +1,4 @@
1
- import { C as e, E as t, S as n, T as r, _ as i, a, b as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, o as g, p as _, r as v, s as y, t as b, u as x, v as S, w as C, x as w, y as T } from "../actions-Dy9JVr7F.js";
2
- import { a as E, i as D, n as O, r as k, t as A } from "../zoom-toggle-CA0ifG23.js";
3
- import { a as j, c as M, d as N, f as P, i as F, l as I, n as L, o as R, r as z, s as B, t as V, u as H } from "../download-BT6qBamM.js";
1
+ import { C as e, E as t, S as n, T as r, _ as i, a, b as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, o as g, p as _, r as v, s as y, t as b, u as x, v as S, w as C, x as w, y as T } from "../actions-C7ZAO0FG.js";
2
+ import { a as E, i as D, n as O, r as k, t as A } from "../zoom-toggle-KA63b6-J.js";
3
+ import { a as j, c as M, d as N, f as P, i as F, l as I, n as L, o as R, r as z, s as B, t as V, u as H } from "../download-C7he8mSh.js";
4
4
  export { l as BrushToggle, F as CSVIcon, b as ChangeColumn, _ as DEFAULT_BRUSH_TOGGLE_LABELS, h as DEFAULT_CHANGE_COLUMN_LABELS, M as DEFAULT_DOWNLOAD_LABELS, y as DEFAULT_FULLSCREEN_LABELS, f as DEFAULT_LOCK_SELECTION_LABELS, p as DEFAULT_RELATIVE_DATA_LABELS, r as DEFAULT_SEARCHER_LABELS, S as DEFAULT_SHOW_ALL_LABELS, o as DEFAULT_STACK_TOGGLE_LABELS, O as DEFAULT_ZOOM_TOGGLE_LABELS, z as DOWNLOAD_ITEM_IDS, B as Download, g as FullScreen, v as LockSelection, j as MarkdownIcon, R as PNGIcon, s as RelativeData, d as SHOW_ALL_ID, n as Searcher, e as SearcherToggle, u as ShowAllToggle, T as StackToggle, k as ZOOM_LAYOUT, A as ZoomToggle, m as addBrush, w as addStack, D as addZoom, V as buildCsvDownloadItem, L as buildPngDownloadItem, E as createAddZoom, x as createPercentFormatter, I as downloadDOMToPNG, H as downloadToCSV, a as filterByLockedItems, t as filterBySearchText, C as setSearcherText, i as setShowAll, N as toCsvString, c as toRelativeData, P as triggerLinkDownload };
@@ -1,7 +1,7 @@
1
- import { r as e } from "../zoom-toggle-CA0ifG23.js";
2
- import { n as t, t as n } from "../download-BT6qBamM.js";
3
- import { n as r, r as i, t as a } from "../utils-DtvTjjMq.js";
4
- import { a as o, d as s, f as c, i as l, s as u, u as d } from "../chart-config-BGt7wkK7.js";
1
+ import { r as e } from "../zoom-toggle-KA63b6-J.js";
2
+ import { n as t, t as n } from "../download-C7he8mSh.js";
3
+ import { n as r, r as i, t as a } from "../utils-ClB6nn4w.js";
4
+ import { a as o, d as s, f as c, i as l, s as u, u as d } from "../chart-config-BWxjodlt.js";
5
5
  import { c as f } from "react/compiler-runtime";
6
6
  import { Box as p, Skeleton as m } from "@mui/material";
7
7
  import { jsx as h, jsxs as g } from "react/jsx-runtime";
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "../category-DHZscHaS.js";
1
+ import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "../category-DZt6yiST.js";
2
2
  export { o as Category, r as CategoryBar, e as CategoryLegend, s as CategoryRowMulti, a as CategoryRowOther, t as CategoryRowSingle, i as CategorySkeleton, n as CategoryUI, c as createCategoryDownloadConfig };
@@ -1,2 +1,2 @@
1
- import { c as e, d as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "../formula-Dsru_p-g.js";
1
+ import { c as e, d as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "../formula-Cqj84ZGX.js";
2
2
  export { t as Delta, o as Formula, i as FormulaSkeleton, n as FormulaUI, l as Note, r as Prefix, e as Series, s as Suffix, a as Value, c as createFormulaDownloadConfig };
@@ -1,7 +1,7 @@
1
- import { r as e } from "../zoom-toggle-CA0ifG23.js";
2
- import { n as t, t as n } from "../download-BT6qBamM.js";
3
- import { n as r, r as i, t as a } from "../utils-DtvTjjMq.js";
4
- import { a as o, d as s, f as c, i as l, s as u, u as d } from "../chart-config-BGt7wkK7.js";
1
+ import { r as e } from "../zoom-toggle-KA63b6-J.js";
2
+ import { n as t, t as n } from "../download-C7he8mSh.js";
3
+ import { n as r, r as i, t as a } from "../utils-ClB6nn4w.js";
4
+ import { a as o, d as s, f as c, i as l, s as u, u as d } from "../chart-config-BWxjodlt.js";
5
5
  import { c as f } from "react/compiler-runtime";
6
6
  import { Box as p, Skeleton as m } from "@mui/material";
7
7
  import { jsx as h, jsxs as g } from "react/jsx-runtime";
@@ -1,3 +1,3 @@
1
1
  import { t as e } from "../markdown-content-BzKoX3eu.js";
2
- import { i as t, n, r, t as i } from "../markdown-DnSJMPjQ.js";
2
+ import { i as t, n, r, t as i } from "../markdown-CV_KP-at.js";
3
3
  export { r as Markdown, e as MarkdownContent, n as MarkdownSkeleton, t as MarkdownUI, i as createMarkdownDownloadConfig };
@@ -1,6 +1,6 @@
1
- import { n as e, t } from "../download-BT6qBamM.js";
2
- import { r as n, t as r } from "../utils-DtvTjjMq.js";
3
- import { a as i, c as a, d as o, f as s, s as c, u as l } from "../chart-config-BGt7wkK7.js";
1
+ import { n as e, t } from "../download-C7he8mSh.js";
2
+ import { r as n, t as r } from "../utils-ClB6nn4w.js";
3
+ import { a as i, c as a, d as o, f as s, s as c, u as l } from "../chart-config-BWxjodlt.js";
4
4
  import { c as u } from "react/compiler-runtime";
5
5
  import { Box as d, Skeleton as f } from "@mui/material";
6
6
  import { jsx as p, jsxs as m } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
- import { r as e } from "../zoom-toggle-CA0ifG23.js";
2
- import { n as t, t as n } from "../download-BT6qBamM.js";
3
- import { r, t as i } from "../utils-DtvTjjMq.js";
4
- import { a, d as o, f as s, i as c, s as l, u } from "../chart-config-BGt7wkK7.js";
1
+ import { r as e } from "../zoom-toggle-KA63b6-J.js";
2
+ import { n as t, t as n } from "../download-C7he8mSh.js";
3
+ import { r, t as i } from "../utils-ClB6nn4w.js";
4
+ import { a, d as o, f as s, i as c, s as l, u } from "../chart-config-BWxjodlt.js";
5
5
  import { c as d } from "react/compiler-runtime";
6
6
  import { Box as f, Skeleton as p } from "@mui/material";
7
7
  import { jsx as m, jsxs as h } from "react/jsx-runtime";
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "../spread-Dy8pshpN.js";
1
+ import { a as e, i as t, n, o as r, r as i, t as a } from "../spread-C8T12Nfh.js";
2
2
  export { r as Separator, t as Spread, i as SpreadSkeleton, e as SpreadUI, n as createSpreadDownloadConfig, a as getSpreadBand };