@deephaven/dashboard-core-plugins 0.5.2-matplotlib.3 → 0.6.1-demo.10

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 (354) hide show
  1. package/dist/{src/ChartPlugin.d.ts → ChartPlugin.d.ts} +0 -0
  2. package/dist/ChartPlugin.d.ts.map +1 -0
  3. package/dist/ChartPlugin.js +25 -22
  4. package/dist/ChartPlugin.js.map +1 -1
  5. package/dist/{src/ConsolePlugin.d.ts → ConsolePlugin.d.ts} +0 -0
  6. package/dist/ConsolePlugin.d.ts.map +1 -0
  7. package/dist/ConsolePlugin.js +141 -139
  8. package/dist/ConsolePlugin.js.map +1 -1
  9. package/dist/{src/FilterPlugin.d.ts → FilterPlugin.d.ts} +0 -0
  10. package/dist/FilterPlugin.d.ts.map +1 -0
  11. package/dist/FilterPlugin.js +114 -116
  12. package/dist/FilterPlugin.js.map +1 -1
  13. package/dist/{src/GridPlugin.d.ts → GridPlugin.d.ts} +0 -0
  14. package/dist/GridPlugin.d.ts.map +1 -0
  15. package/dist/GridPlugin.js +29 -26
  16. package/dist/GridPlugin.js.map +1 -1
  17. package/dist/{src/LinkerPlugin.d.ts → LinkerPlugin.d.ts} +0 -0
  18. package/dist/LinkerPlugin.d.ts.map +1 -0
  19. package/dist/LinkerPlugin.js +7 -5
  20. package/dist/LinkerPlugin.js.map +1 -1
  21. package/dist/{src/MarkdownPlugin.d.ts → MarkdownPlugin.d.ts} +0 -0
  22. package/dist/MarkdownPlugin.d.ts.map +1 -0
  23. package/dist/MarkdownPlugin.js +44 -45
  24. package/dist/MarkdownPlugin.js.map +1 -1
  25. package/dist/PandasPlugin.d.ts +8 -0
  26. package/dist/PandasPlugin.d.ts.map +1 -0
  27. package/dist/PandasPlugin.js +12 -12
  28. package/dist/PandasPlugin.js.map +1 -1
  29. package/dist/{src/controls → controls}/ControlType.d.ts +2 -0
  30. package/dist/controls/ControlType.d.ts.map +1 -0
  31. package/dist/controls/ControlType.js +5 -5
  32. package/dist/controls/ControlType.js.map +1 -1
  33. package/dist/{src/controls → controls}/dropdown-filter/DropdownFilter.d.ts +6 -0
  34. package/dist/controls/dropdown-filter/DropdownFilter.d.ts.map +1 -0
  35. package/dist/controls/dropdown-filter/DropdownFilter.js +356 -394
  36. package/dist/controls/dropdown-filter/DropdownFilter.js.map +1 -1
  37. package/dist/{src/controls → controls}/input-filter/InputFilter.d.ts +6 -0
  38. package/dist/controls/input-filter/InputFilter.d.ts.map +1 -0
  39. package/dist/controls/input-filter/InputFilter.js +256 -270
  40. package/dist/controls/input-filter/InputFilter.js.map +1 -1
  41. package/dist/{src/controls → controls}/markdown/MarkdownContainer.d.ts +0 -0
  42. package/dist/controls/markdown/MarkdownContainer.d.ts.map +1 -0
  43. package/dist/controls/markdown/MarkdownContainer.js +18 -56
  44. package/dist/controls/markdown/MarkdownContainer.js.map +1 -1
  45. package/dist/{src/controls → controls}/markdown/MarkdownEditor.d.ts +0 -0
  46. package/dist/controls/markdown/MarkdownEditor.d.ts.map +1 -0
  47. package/dist/controls/markdown/MarkdownEditor.js +36 -75
  48. package/dist/controls/markdown/MarkdownEditor.js.map +1 -1
  49. package/dist/{src/controls → controls}/markdown/MarkdownStartPage.d.ts +0 -0
  50. package/dist/controls/markdown/MarkdownStartPage.d.ts.map +1 -0
  51. package/dist/controls/markdown/MarkdownStartPage.js +93 -133
  52. package/dist/controls/markdown/MarkdownStartPage.js.map +1 -1
  53. package/dist/{src/controls → controls}/markdown/MarkdownUtils.d.ts +0 -0
  54. package/dist/controls/markdown/MarkdownUtils.d.ts.map +1 -0
  55. package/dist/controls/markdown/MarkdownUtils.js +17 -32
  56. package/dist/controls/markdown/MarkdownUtils.js.map +1 -1
  57. package/dist/{src/events → events}/ChartEvent.d.ts +0 -0
  58. package/dist/events/ChartEvent.d.ts.map +1 -0
  59. package/dist/events/ChartEvent.js +1 -5
  60. package/dist/events/ChartEvent.js.map +1 -1
  61. package/dist/{src/events → events}/ConsoleEvent.d.ts +0 -0
  62. package/dist/events/ConsoleEvent.d.ts.map +1 -0
  63. package/dist/events/ConsoleEvent.js +1 -5
  64. package/dist/events/ConsoleEvent.js.map +1 -1
  65. package/dist/{src/events → events}/ControlEvent.d.ts +0 -0
  66. package/dist/events/ControlEvent.d.ts.map +1 -0
  67. package/dist/events/ControlEvent.js +1 -5
  68. package/dist/events/ControlEvent.js.map +1 -1
  69. package/dist/{src/events → events}/InputFilterEvent.d.ts +2 -0
  70. package/dist/events/InputFilterEvent.d.ts.map +1 -0
  71. package/dist/events/InputFilterEvent.js +3 -5
  72. package/dist/events/InputFilterEvent.js.map +1 -1
  73. package/dist/{src/events → events}/IrisGridEvent.d.ts +0 -0
  74. package/dist/events/IrisGridEvent.d.ts.map +1 -0
  75. package/dist/events/IrisGridEvent.js +1 -5
  76. package/dist/events/IrisGridEvent.js.map +1 -1
  77. package/dist/{src/events → events}/MarkdownEvent.d.ts +0 -0
  78. package/dist/events/MarkdownEvent.d.ts.map +1 -0
  79. package/dist/{src/events → events}/NotebookEvent.d.ts +0 -0
  80. package/dist/events/NotebookEvent.d.ts.map +1 -0
  81. package/dist/events/NotebookEvent.js +1 -5
  82. package/dist/events/NotebookEvent.js.map +1 -1
  83. package/dist/{src/events → events}/PQEvent.d.ts +0 -0
  84. package/dist/events/PQEvent.d.ts.map +1 -0
  85. package/dist/events/PQEvent.js +1 -5
  86. package/dist/events/PQEvent.js.map +1 -1
  87. package/dist/{src/events → events}/PandasEvent.d.ts +0 -0
  88. package/dist/events/PandasEvent.d.ts.map +1 -0
  89. package/dist/events/PandasEvent.js +1 -5
  90. package/dist/events/PandasEvent.js.map +1 -1
  91. package/dist/{src/events → events}/TabEvent.d.ts +0 -0
  92. package/dist/events/TabEvent.d.ts.map +1 -0
  93. package/dist/events/TabEvent.js +1 -5
  94. package/dist/events/TabEvent.js.map +1 -1
  95. package/dist/{dist/events → events}/index.d.ts +0 -1
  96. package/dist/{dist/events → events}/index.d.ts.map +1 -1
  97. package/dist/events/index.js +9 -10
  98. package/dist/events/index.js.map +1 -1
  99. package/dist/{src/index.d.ts → index.d.ts} +0 -1
  100. package/dist/index.d.ts.map +1 -0
  101. package/dist/index.js +10 -11
  102. package/dist/index.js.map +1 -1
  103. package/dist/{src/linker → linker}/Linker.d.ts +1 -1
  104. package/dist/linker/Linker.d.ts.map +1 -0
  105. package/dist/linker/Linker.js +594 -606
  106. package/dist/linker/Linker.js.map +1 -1
  107. package/dist/{src/linker → linker}/LinkerLink.d.ts +0 -0
  108. package/dist/linker/LinkerLink.d.ts.map +1 -0
  109. package/dist/linker/LinkerLink.js +92 -126
  110. package/dist/linker/LinkerLink.js.map +1 -1
  111. package/dist/{src/linker → linker}/LinkerOverlayContent.d.ts +0 -0
  112. package/dist/linker/LinkerOverlayContent.d.ts.map +1 -0
  113. package/dist/linker/LinkerOverlayContent.js +162 -220
  114. package/dist/linker/LinkerOverlayContent.js.map +1 -1
  115. package/dist/{src/linker → linker}/LinkerUtils.d.ts +0 -0
  116. package/dist/linker/LinkerUtils.d.ts.map +1 -0
  117. package/dist/linker/LinkerUtils.js +105 -114
  118. package/dist/linker/LinkerUtils.js.map +1 -1
  119. package/dist/{src/linker → linker}/ToolType.d.ts +0 -0
  120. package/dist/{src/linker → linker}/ToolType.d.ts.map +1 -1
  121. package/dist/{src/panels → panels}/ChartColumnSelectorOverlay.d.ts +0 -0
  122. package/dist/panels/ChartColumnSelectorOverlay.d.ts.map +1 -0
  123. package/dist/panels/ChartColumnSelectorOverlay.js +19 -25
  124. package/dist/panels/ChartColumnSelectorOverlay.js.map +1 -1
  125. package/dist/{src/panels → panels}/ChartFilterOverlay.d.ts +0 -0
  126. package/dist/panels/ChartFilterOverlay.d.ts.map +1 -0
  127. package/dist/panels/ChartFilterOverlay.js +18 -24
  128. package/dist/panels/ChartFilterOverlay.js.map +1 -1
  129. package/dist/{src/panels → panels}/ChartPanel.d.ts +3 -0
  130. package/dist/panels/ChartPanel.d.ts.map +1 -0
  131. package/dist/panels/ChartPanel.js +839 -873
  132. package/dist/panels/ChartPanel.js.map +1 -1
  133. package/dist/{src/panels → panels}/CommandHistoryPanel.d.ts +0 -0
  134. package/dist/panels/CommandHistoryPanel.d.ts.map +1 -0
  135. package/dist/panels/CommandHistoryPanel.js +160 -186
  136. package/dist/panels/CommandHistoryPanel.js.map +1 -1
  137. package/dist/{src/panels → panels}/ConsolePanel.d.ts +1 -1
  138. package/dist/panels/ConsolePanel.d.ts.map +1 -0
  139. package/dist/panels/ConsolePanel.js +327 -374
  140. package/dist/panels/ConsolePanel.js.map +1 -1
  141. package/dist/{src/panels → panels}/DropdownFilterPanel.d.ts +6 -0
  142. package/dist/panels/DropdownFilterPanel.d.ts.map +1 -0
  143. package/dist/panels/DropdownFilterPanel.js +537 -566
  144. package/dist/panels/DropdownFilterPanel.js.map +1 -1
  145. package/dist/{src/panels → panels}/FileExplorerPanel.d.ts +6 -1
  146. package/dist/panels/FileExplorerPanel.d.ts.map +1 -0
  147. package/dist/panels/FileExplorerPanel.js +208 -210
  148. package/dist/panels/FileExplorerPanel.js.map +1 -1
  149. package/dist/panels/FilterSetManager.css +111 -0
  150. package/dist/panels/FilterSetManager.css.map +1 -0
  151. package/dist/panels/FilterSetManager.d.ts +66 -0
  152. package/dist/panels/FilterSetManager.d.ts.map +1 -0
  153. package/dist/panels/FilterSetManager.js +732 -0
  154. package/dist/panels/FilterSetManager.js.map +1 -0
  155. package/dist/panels/FilterSetManagerPanel.css +33 -0
  156. package/dist/panels/FilterSetManagerPanel.css.map +1 -0
  157. package/dist/panels/FilterSetManagerPanel.d.ts +69 -0
  158. package/dist/panels/FilterSetManagerPanel.d.ts.map +1 -0
  159. package/dist/panels/FilterSetManagerPanel.js +383 -0
  160. package/dist/panels/FilterSetManagerPanel.js.map +1 -0
  161. package/dist/{src/panels → panels}/InputFilterPanel.d.ts +7 -0
  162. package/dist/panels/InputFilterPanel.d.ts.map +1 -0
  163. package/dist/panels/InputFilterPanel.js +198 -206
  164. package/dist/panels/InputFilterPanel.js.map +1 -1
  165. package/dist/{src/panels → panels}/IrisGridPanel.d.ts +11 -3
  166. package/dist/panels/IrisGridPanel.d.ts.map +1 -0
  167. package/dist/panels/IrisGridPanel.js +779 -771
  168. package/dist/panels/IrisGridPanel.js.map +1 -1
  169. package/dist/{src/panels → panels}/LogPanel.d.ts +0 -0
  170. package/dist/panels/LogPanel.d.ts.map +1 -0
  171. package/dist/panels/LogPanel.js +80 -116
  172. package/dist/panels/LogPanel.js.map +1 -1
  173. package/dist/panels/MarkdownNotebookContainer.d.ts +21 -0
  174. package/dist/panels/MarkdownNotebookContainer.d.ts.map +1 -0
  175. package/dist/panels/MarkdownNotebookContainer.js +35 -0
  176. package/dist/panels/MarkdownNotebookContainer.js.map +1 -0
  177. package/dist/panels/MarkdownNotebookEditor.d.ts +46 -0
  178. package/dist/panels/MarkdownNotebookEditor.d.ts.map +1 -0
  179. package/dist/panels/MarkdownNotebookEditor.js +257 -0
  180. package/dist/panels/MarkdownNotebookEditor.js.map +1 -0
  181. package/dist/panels/MarkdownNotebookPanel.css +127 -0
  182. package/dist/panels/MarkdownNotebookPanel.css.map +1 -0
  183. package/dist/panels/MarkdownNotebookPanel.d.ts +91 -0
  184. package/dist/panels/MarkdownNotebookPanel.d.ts.map +1 -0
  185. package/dist/panels/MarkdownNotebookPanel.js +446 -0
  186. package/dist/panels/MarkdownNotebookPanel.js.map +1 -0
  187. package/dist/{src/panels → panels}/MarkdownPanel.d.ts +0 -0
  188. package/dist/panels/MarkdownPanel.d.ts.map +1 -0
  189. package/dist/panels/MarkdownPanel.js +165 -199
  190. package/dist/panels/MarkdownPanel.js.map +1 -1
  191. package/dist/{src/panels → panels}/NotebookPanel.d.ts +3 -1
  192. package/dist/panels/NotebookPanel.d.ts.map +1 -0
  193. package/dist/panels/NotebookPanel.js +870 -862
  194. package/dist/panels/NotebookPanel.js.map +1 -1
  195. package/dist/{src/panels → panels}/PandasPanel.d.ts +0 -0
  196. package/dist/panels/PandasPanel.d.ts.map +1 -0
  197. package/dist/panels/PandasPanel.js +56 -90
  198. package/dist/panels/PandasPanel.js.map +1 -1
  199. package/dist/{src/panels → panels}/Panel.d.ts +0 -0
  200. package/dist/panels/Panel.d.ts.map +1 -0
  201. package/dist/panels/Panel.js +282 -313
  202. package/dist/panels/Panel.js.map +1 -1
  203. package/dist/{src/panels → panels}/PanelContextMenu.d.ts +0 -0
  204. package/dist/panels/PanelContextMenu.d.ts.map +1 -0
  205. package/dist/panels/PanelContextMenu.js +107 -158
  206. package/dist/panels/PanelContextMenu.js.map +1 -1
  207. package/dist/{src/panels → panels}/RenameDialog.d.ts +0 -0
  208. package/dist/panels/RenameDialog.d.ts.map +1 -0
  209. package/dist/panels/RenameDialog.js +144 -172
  210. package/dist/panels/RenameDialog.js.map +1 -1
  211. package/dist/{src/panels → panels}/Shortcuts.d.ts +0 -0
  212. package/dist/panels/Shortcuts.d.ts.map +1 -0
  213. package/dist/panels/Shortcuts.js +1 -1
  214. package/dist/panels/Shortcuts.js.map +1 -1
  215. package/dist/{src/panels → panels}/WidgetPanel.d.ts +0 -0
  216. package/dist/panels/WidgetPanel.d.ts.map +1 -0
  217. package/dist/panels/WidgetPanel.js +133 -163
  218. package/dist/panels/WidgetPanel.js.map +1 -1
  219. package/dist/{src/panels → panels}/WidgetPanelTooltip.d.ts +0 -0
  220. package/dist/panels/WidgetPanelTooltip.d.ts.map +1 -0
  221. package/dist/panels/WidgetPanelTooltip.js +7 -5
  222. package/dist/panels/WidgetPanelTooltip.js.map +1 -1
  223. package/dist/{src/panels → panels}/index.d.ts +1 -1
  224. package/dist/{src/events → panels}/index.d.ts.map +1 -1
  225. package/dist/panels/index.js +16 -16
  226. package/dist/panels/index.js.map +1 -1
  227. package/dist/{src/prop-types → prop-types}/CommonPropTypes.d.ts +0 -0
  228. package/dist/prop-types/CommonPropTypes.d.ts.map +1 -0
  229. package/dist/prop-types/CommonPropTypes.js +4 -8
  230. package/dist/prop-types/CommonPropTypes.js.map +1 -1
  231. package/dist/{src/prop-types → prop-types}/UIPropTypes.d.ts +0 -0
  232. package/dist/prop-types/UIPropTypes.d.ts.map +1 -0
  233. package/dist/prop-types/UIPropTypes.js +6 -6
  234. package/dist/prop-types/UIPropTypes.js.map +1 -1
  235. package/dist/{src/prop-types → prop-types}/index.d.ts +0 -0
  236. package/dist/{src/panels → prop-types}/index.d.ts.map +1 -1
  237. package/dist/prop-types/index.js +2 -2
  238. package/dist/prop-types/index.js.map +1 -1
  239. package/dist/{src/redux → redux}/actionTypes.d.ts +0 -0
  240. package/dist/redux/actionTypes.d.ts.map +1 -0
  241. package/dist/{src/redux → redux}/actions.d.ts +1 -0
  242. package/dist/redux/actions.d.ts.map +1 -0
  243. package/dist/redux/actions.js +33 -54
  244. package/dist/redux/actions.js.map +1 -1
  245. package/dist/{src/redux → redux}/index.d.ts +0 -0
  246. package/dist/redux/index.d.ts.map +1 -0
  247. package/dist/redux/index.js +6 -21
  248. package/dist/redux/index.js.map +1 -1
  249. package/dist/{src/redux → redux}/reducers/index.d.ts +0 -0
  250. package/dist/{src/prop-types → redux/reducers}/index.d.ts.map +1 -1
  251. package/dist/redux/reducers/index.js +2 -2
  252. package/dist/redux/reducers/index.js.map +1 -1
  253. package/dist/{src/redux → redux}/reducers/sessionWrapper.d.ts +0 -0
  254. package/dist/redux/reducers/sessionWrapper.d.ts.map +1 -0
  255. package/dist/redux/reducers/sessionWrapper.js +1 -1
  256. package/dist/redux/reducers/sessionWrapper.js.map +1 -1
  257. package/dist/{src/redux → redux}/selectors.d.ts +1 -0
  258. package/dist/redux/selectors.d.ts.map +1 -0
  259. package/dist/redux/selectors.js +22 -18
  260. package/dist/redux/selectors.js.map +1 -1
  261. package/dist/tsconfig.tsbuildinfo +1 -1
  262. package/package.json +27 -54
  263. package/dist/MatPlotLibPlugin.js +0 -45
  264. package/dist/MatPlotLibPlugin.js.map +0 -1
  265. package/dist/dist/events/ChartEvent.d.ts +0 -3
  266. package/dist/dist/events/ChartEvent.d.ts.map +0 -1
  267. package/dist/dist/events/ConsoleEvent.d.ts +0 -3
  268. package/dist/dist/events/ConsoleEvent.d.ts.map +0 -1
  269. package/dist/dist/events/ControlEvent.d.ts +0 -3
  270. package/dist/dist/events/ControlEvent.d.ts.map +0 -1
  271. package/dist/dist/events/InputFilterEvent.d.ts +0 -3
  272. package/dist/dist/events/InputFilterEvent.d.ts.map +0 -1
  273. package/dist/dist/events/IrisGridEvent.d.ts +0 -3
  274. package/dist/dist/events/IrisGridEvent.d.ts.map +0 -1
  275. package/dist/dist/events/MarkdownEvent.d.ts +0 -5
  276. package/dist/dist/events/MarkdownEvent.d.ts.map +0 -1
  277. package/dist/dist/events/MatPlotLibEvent.d.ts +0 -3
  278. package/dist/dist/events/MatPlotLibEvent.d.ts.map +0 -1
  279. package/dist/dist/events/NotebookEvent.d.ts +0 -3
  280. package/dist/dist/events/NotebookEvent.d.ts.map +0 -1
  281. package/dist/dist/events/PandasEvent.d.ts +0 -3
  282. package/dist/dist/events/PandasEvent.d.ts.map +0 -1
  283. package/dist/dist/events/TabEvent.d.ts +0 -3
  284. package/dist/dist/events/TabEvent.d.ts.map +0 -1
  285. package/dist/events/MatPlotLibEvent.js +0 -12
  286. package/dist/events/MatPlotLibEvent.js.map +0 -1
  287. package/dist/panels/MatPlotLibPanel.css +0 -11
  288. package/dist/panels/MatPlotLibPanel.css.map +0 -1
  289. package/dist/panels/MatPlotLibPanel.js +0 -124
  290. package/dist/panels/MatPlotLibPanel.js.map +0 -1
  291. package/dist/src/ChartPlugin.d.ts.map +0 -1
  292. package/dist/src/ConsolePlugin.d.ts.map +0 -1
  293. package/dist/src/FilterPlugin.d.ts.map +0 -1
  294. package/dist/src/GridPlugin.d.ts.map +0 -1
  295. package/dist/src/LinkerPlugin.d.ts.map +0 -1
  296. package/dist/src/MarkdownPlugin.d.ts.map +0 -1
  297. package/dist/src/MatPlotLibPlugin.d.ts +0 -5
  298. package/dist/src/MatPlotLibPlugin.d.ts.map +0 -1
  299. package/dist/src/PandasPlugin.d.ts +0 -5
  300. package/dist/src/PandasPlugin.d.ts.map +0 -1
  301. package/dist/src/controls/ControlType.d.ts.map +0 -1
  302. package/dist/src/controls/dropdown-filter/DropdownFilter.d.ts.map +0 -1
  303. package/dist/src/controls/input-filter/InputFilter.d.ts.map +0 -1
  304. package/dist/src/controls/markdown/MarkdownContainer.d.ts.map +0 -1
  305. package/dist/src/controls/markdown/MarkdownEditor.d.ts.map +0 -1
  306. package/dist/src/controls/markdown/MarkdownStartPage.d.ts.map +0 -1
  307. package/dist/src/controls/markdown/MarkdownUtils.d.ts.map +0 -1
  308. package/dist/src/events/ChartEvent.d.ts.map +0 -1
  309. package/dist/src/events/ConsoleEvent.d.ts.map +0 -1
  310. package/dist/src/events/ControlEvent.d.ts.map +0 -1
  311. package/dist/src/events/InputFilterEvent.d.ts.map +0 -1
  312. package/dist/src/events/IrisGridEvent.d.ts.map +0 -1
  313. package/dist/src/events/MarkdownEvent.d.ts.map +0 -1
  314. package/dist/src/events/MatPlotLibEvent.d.ts +0 -5
  315. package/dist/src/events/MatPlotLibEvent.d.ts.map +0 -1
  316. package/dist/src/events/NotebookEvent.d.ts.map +0 -1
  317. package/dist/src/events/PQEvent.d.ts.map +0 -1
  318. package/dist/src/events/PandasEvent.d.ts.map +0 -1
  319. package/dist/src/events/TabEvent.d.ts.map +0 -1
  320. package/dist/src/events/index.d.ts +0 -11
  321. package/dist/src/index.d.ts.map +0 -1
  322. package/dist/src/linker/Linker.d.ts.map +0 -1
  323. package/dist/src/linker/LinkerLink.d.ts.map +0 -1
  324. package/dist/src/linker/LinkerOverlayContent.d.ts.map +0 -1
  325. package/dist/src/linker/LinkerUtils.d.ts.map +0 -1
  326. package/dist/src/panels/ChartColumnSelectorOverlay.d.ts.map +0 -1
  327. package/dist/src/panels/ChartFilterOverlay.d.ts.map +0 -1
  328. package/dist/src/panels/ChartPanel.d.ts.map +0 -1
  329. package/dist/src/panels/CommandHistoryPanel.d.ts.map +0 -1
  330. package/dist/src/panels/ConsolePanel.d.ts.map +0 -1
  331. package/dist/src/panels/DropdownFilterPanel.d.ts.map +0 -1
  332. package/dist/src/panels/FileExplorerPanel.d.ts.map +0 -1
  333. package/dist/src/panels/InputFilterPanel.d.ts.map +0 -1
  334. package/dist/src/panels/IrisGridPanel.d.ts.map +0 -1
  335. package/dist/src/panels/LogPanel.d.ts.map +0 -1
  336. package/dist/src/panels/MarkdownPanel.d.ts.map +0 -1
  337. package/dist/src/panels/MatPlotLibPanel.d.ts +0 -22
  338. package/dist/src/panels/MatPlotLibPanel.d.ts.map +0 -1
  339. package/dist/src/panels/NotebookPanel.d.ts.map +0 -1
  340. package/dist/src/panels/PandasPanel.d.ts.map +0 -1
  341. package/dist/src/panels/Panel.d.ts.map +0 -1
  342. package/dist/src/panels/PanelContextMenu.d.ts.map +0 -1
  343. package/dist/src/panels/RenameDialog.d.ts.map +0 -1
  344. package/dist/src/panels/Shortcuts.d.ts.map +0 -1
  345. package/dist/src/panels/WidgetPanel.d.ts.map +0 -1
  346. package/dist/src/panels/WidgetPanelTooltip.d.ts.map +0 -1
  347. package/dist/src/prop-types/CommonPropTypes.d.ts.map +0 -1
  348. package/dist/src/prop-types/UIPropTypes.d.ts.map +0 -1
  349. package/dist/src/redux/actionTypes.d.ts.map +0 -1
  350. package/dist/src/redux/actions.d.ts.map +0 -1
  351. package/dist/src/redux/index.d.ts.map +0 -1
  352. package/dist/src/redux/reducers/index.d.ts.map +0 -1
  353. package/dist/src/redux/reducers/sessionWrapper.d.ts.map +0 -1
  354. package/dist/src/redux/selectors.d.ts.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/redux/actions.js"],"names":[],"mappings":"AASO,+CAHI,MAAM,+CAIsC;AAOhD,sCAHI,MAAM,SACN,KAAM,0BAG6B;AAOvC,sCAHI,MAAM,YACN,KAAM,yCAahB;AAOM,yCAHI,MAAM,WACN,MAAM,EAAE,yCAMlB;AAOM,sDAHI,MAAM,yBACN,MAAM,GAAC,SAAS,0BAKkD;AAOtE,yDAHI,MAAM,4BACN,MAAyB,SAAS,0BAMoB;AAO1D,gDAHI,MAAM,gDAIuC;AAOjD,2CAHI,MAAM,cACN,KAAW,0BAG6B"}
@@ -1,48 +1,34 @@
1
1
  import deepEqual from 'deep-equal';
2
2
  import { updateDashboardData } from '@deephaven/dashboard';
3
- import { getLinksForDashboard } from './selectors';
3
+ import { getLinksForDashboard } from "./selectors.js";
4
4
  /**
5
5
  * Set the session wrapper for the dashboard specified
6
6
  * @param {string} id The ID of the dashboard to set the session for
7
7
  * @param {SessionWrapper} sessionWrapper The session wrapper object to set for the dashboard
8
8
  */
9
9
 
10
- export var setDashboardSessionWrapper = function setDashboardSessionWrapper(id, sessionWrapper) {
11
- return function (dispatch) {
12
- return dispatch(updateDashboardData(id, {
13
- sessionWrapper: sessionWrapper
14
- }));
15
- };
16
- };
10
+ export var setDashboardSessionWrapper = (id, sessionWrapper) => dispatch => dispatch(updateDashboardData(id, {
11
+ sessionWrapper
12
+ }));
17
13
  /**
18
14
  * Set the links for a given dashboard
19
15
  * @param {string} id The ID of the dashboard to set the links for
20
16
  * @param {Link[]} links The links to set
21
17
  */
22
18
 
23
- export var setDashboardLinks = function setDashboardLinks(id, links) {
24
- return function (dispatch) {
25
- return dispatch(updateDashboardData(id, {
26
- links: links
27
- }));
28
- };
29
- };
19
+ export var setDashboardLinks = (id, links) => dispatch => dispatch(updateDashboardData(id, {
20
+ links
21
+ }));
30
22
  /**
31
23
  * Add links to the existing links in a dashboard. Filters out any duplicate links.
32
24
  * @param {string} id The ID of the dashboard to add links to
33
25
  * @param {Link[]} newLinks The new links to add
34
26
  */
35
27
 
36
- export var addDashboardLinks = function addDashboardLinks(id, newLinks) {
37
- return function (dispatch, getState) {
38
- var links = getLinksForDashboard(getState(), id);
39
- var filtered = newLinks.filter(function (newLink) {
40
- return links.findIndex(function (link) {
41
- return deepEqual(link.start, newLink.start) && deepEqual(link.end, newLink.end);
42
- }) < 0;
43
- });
44
- return dispatch(setDashboardLinks(id, links.concat(filtered)));
45
- };
28
+ export var addDashboardLinks = (id, newLinks) => (dispatch, getState) => {
29
+ var links = getLinksForDashboard(getState(), id);
30
+ var filtered = newLinks.filter(newLink => links.findIndex(link => deepEqual(link.start, newLink.start) && deepEqual(link.end, newLink.end)) < 0);
31
+ return dispatch(setDashboardLinks(id, links.concat(filtered)));
46
32
  };
47
33
  /**
48
34
  * Delete links from a dashboard
@@ -50,14 +36,10 @@ export var addDashboardLinks = function addDashboardLinks(id, newLinks) {
50
36
  * @param {string[]} linkIds The link IDs to delete
51
37
  */
52
38
 
53
- export var deleteDashboardLinks = function deleteDashboardLinks(id, linkIds) {
54
- return function (dispatch, getState) {
55
- var links = getLinksForDashboard(getState(), id);
56
- var newLinks = links.filter(function (link) {
57
- return !linkIds.includes(link.id);
58
- });
59
- return dispatch(setDashboardLinks(id, newLinks));
60
- };
39
+ export var deleteDashboardLinks = (id, linkIds) => (dispatch, getState) => {
40
+ var links = getLinksForDashboard(getState(), id);
41
+ var newLinks = links.filter(link => !linkIds.includes(link.id));
42
+ return dispatch(setDashboardLinks(id, newLinks));
61
43
  };
62
44
  /**
63
45
  * Set the isolated linker panel ID for a dashboard
@@ -65,37 +47,34 @@ export var deleteDashboardLinks = function deleteDashboardLinks(id, linkIds) {
65
47
  * @param {string|undefined} isolatedLinkerPanelId The isolated panel ID, or undefined to unset
66
48
  */
67
49
 
68
- export var setDashboardIsolatedLinkerPanelId = function setDashboardIsolatedLinkerPanelId(id, isolatedLinkerPanelId) {
69
- return function (dispatch) {
70
- return dispatch(updateDashboardData(id, {
71
- isolatedLinkerPanelId: isolatedLinkerPanelId
72
- }));
73
- };
74
- };
50
+ export var setDashboardIsolatedLinkerPanelId = (id, isolatedLinkerPanelId) => dispatch => dispatch(updateDashboardData(id, {
51
+ isolatedLinkerPanelId
52
+ }));
75
53
  /**
76
54
  * Set the column selection validator for a dashboard
77
55
  * @param {string} id The ID of the dashboard to set the column selection validator on
78
56
  * @param {ColumnSelectionValidator|undefined} columnSelectionValidator The column selection validator to set
79
57
  */
80
58
 
81
- export var setDashboardColumnSelectionValidator = function setDashboardColumnSelectionValidator(id, columnSelectionValidator) {
82
- return function (dispatch) {
83
- return dispatch(updateDashboardData(id, {
84
- columnSelectionValidator: columnSelectionValidator
85
- }));
86
- };
87
- };
59
+ export var setDashboardColumnSelectionValidator = (id, columnSelectionValidator) => dispatch => dispatch(updateDashboardData(id, {
60
+ columnSelectionValidator
61
+ }));
88
62
  /**
89
63
  * Set the console settings for a dashboard
90
64
  * @param {string} id The ID of the dashboard to set the console settings on
91
65
  * @param {ConsoleSettings} consoleSettings The console settings to set for the dashboard
92
66
  */
93
67
 
94
- export var setDashboardConsoleSettings = function setDashboardConsoleSettings(id, consoleSettings) {
95
- return function (dispatch) {
96
- return dispatch(updateDashboardData(id, {
97
- consoleSettings: consoleSettings
98
- }));
99
- };
100
- };
68
+ export var setDashboardConsoleSettings = (id, consoleSettings) => dispatch => dispatch(updateDashboardData(id, {
69
+ consoleSettings
70
+ }));
71
+ /**
72
+ * Set the filter sets for a specific dashboard
73
+ * @param {string} id The ID of the dashboard to set the filter sets for
74
+ * @param {FilterSet[]} filterSets The filter sets to set
75
+ */
76
+
77
+ export var setDashboardFilterSets = (id, filterSets) => dispatch => dispatch(updateDashboardData(id, {
78
+ filterSets
79
+ }));
101
80
  //# sourceMappingURL=actions.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/redux/actions.js"],"names":["deepEqual","updateDashboardData","getLinksForDashboard","setDashboardSessionWrapper","id","sessionWrapper","dispatch","setDashboardLinks","links","addDashboardLinks","newLinks","getState","filtered","filter","newLink","findIndex","link","start","end","concat","deleteDashboardLinks","linkIds","includes","setDashboardIsolatedLinkerPanelId","isolatedLinkerPanelId","setDashboardColumnSelectionValidator","columnSelectionValidator","setDashboardConsoleSettings","consoleSettings"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AACA,SAASC,mBAAT,QAAoC,sBAApC;AACA,SAASC,oBAAT,QAAqC,aAArC;AAEA;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMC,0BAA0B,GAAG,SAA7BA,0BAA6B,CAACC,EAAD,EAAKC,cAAL;AAAA,SAAwB,UAAAC,QAAQ;AAAA,WACxEA,QAAQ,CAACL,mBAAmB,CAACG,EAAD,EAAK;AAAEC,MAAAA,cAAc,EAAdA;AAAF,KAAL,CAApB,CADgE;AAAA,GAAhC;AAAA,CAAnC;AAGP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAME,iBAAiB,GAAG,SAApBA,iBAAoB,CAACH,EAAD,EAAKI,KAAL;AAAA,SAAe,UAAAF,QAAQ;AAAA,WACtDA,QAAQ,CAACL,mBAAmB,CAACG,EAAD,EAAK;AAAEI,MAAAA,KAAK,EAALA;AAAF,KAAL,CAApB,CAD8C;AAAA,GAAvB;AAAA,CAA1B;AAGP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMC,iBAAiB,GAAG,SAApBA,iBAAoB,CAACL,EAAD,EAAKM,QAAL;AAAA,SAAkB,UAACJ,QAAD,EAAWK,QAAX,EAAwB;AACzE,QAAMH,KAAK,GAAGN,oBAAoB,CAACS,QAAQ,EAAT,EAAaP,EAAb,CAAlC;AACA,QAAMQ,QAAQ,GAAGF,QAAQ,CAACG,MAAT,CACf,UAAAC,OAAO;AAAA,aACLN,KAAK,CAACO,SAAN,CACE,UAAAC,IAAI;AAAA,eACFhB,SAAS,CAACgB,IAAI,CAACC,KAAN,EAAaH,OAAO,CAACG,KAArB,CAAT,IACAjB,SAAS,CAACgB,IAAI,CAACE,GAAN,EAAWJ,OAAO,CAACI,GAAnB,CAFP;AAAA,OADN,IAII,CALC;AAAA,KADQ,CAAjB;AAQA,WAAOZ,QAAQ,CAACC,iBAAiB,CAACH,EAAD,EAAKI,KAAK,CAACW,MAAN,CAAaP,QAAb,CAAL,CAAlB,CAAf;AACD,GAXgC;AAAA,CAA1B;AAaP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMQ,oBAAoB,GAAG,SAAvBA,oBAAuB,CAAChB,EAAD,EAAKiB,OAAL;AAAA,SAAiB,UAACf,QAAD,EAAWK,QAAX,EAAwB;AAC3E,QAAMH,KAAK,GAAGN,oBAAoB,CAACS,QAAQ,EAAT,EAAaP,EAAb,CAAlC;AACA,QAAMM,QAAQ,GAAGF,KAAK,CAACK,MAAN,CAAa,UAAAG,IAAI;AAAA,aAAI,CAACK,OAAO,CAACC,QAAR,CAAiBN,IAAI,CAACZ,EAAtB,CAAL;AAAA,KAAjB,CAAjB;AACA,WAAOE,QAAQ,CAACC,iBAAiB,CAACH,EAAD,EAAKM,QAAL,CAAlB,CAAf;AACD,GAJmC;AAAA,CAA7B;AAMP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMa,iCAAiC,GAAG,SAApCA,iCAAoC,CAC/CnB,EAD+C,EAE/CoB,qBAF+C;AAAA,SAG5C,UAAAlB,QAAQ;AAAA,WAAIA,QAAQ,CAACL,mBAAmB,CAACG,EAAD,EAAK;AAAEoB,MAAAA,qBAAqB,EAArBA;AAAF,KAAL,CAApB,CAAZ;AAAA,GAHoC;AAAA,CAA1C;AAKP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMC,oCAAoC,GAAG,SAAvCA,oCAAuC,CAClDrB,EADkD,EAElDsB,wBAFkD;AAAA,SAG/C,UAAApB,QAAQ;AAAA,WACXA,QAAQ,CAACL,mBAAmB,CAACG,EAAD,EAAK;AAAEsB,MAAAA,wBAAwB,EAAxBA;AAAF,KAAL,CAApB,CADG;AAAA,GAHuC;AAAA,CAA7C;AAMP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMC,2BAA2B,GAAG,SAA9BA,2BAA8B,CAACvB,EAAD,EAAKwB,eAAL;AAAA,SAAyB,UAAAtB,QAAQ;AAAA,WAC1EA,QAAQ,CAACL,mBAAmB,CAACG,EAAD,EAAK;AAAEwB,MAAAA,eAAe,EAAfA;AAAF,KAAL,CAApB,CADkE;AAAA,GAAjC;AAAA,CAApC","sourcesContent":["import deepEqual from 'deep-equal';\nimport { updateDashboardData } from '@deephaven/dashboard';\nimport { getLinksForDashboard } from './selectors';\n\n/**\n * Set the session wrapper for the dashboard specified\n * @param {string} id The ID of the dashboard to set the session for\n * @param {SessionWrapper} sessionWrapper The session wrapper object to set for the dashboard\n */\nexport const setDashboardSessionWrapper = (id, sessionWrapper) => dispatch =>\n dispatch(updateDashboardData(id, { sessionWrapper }));\n\n/**\n * Set the links for a given dashboard\n * @param {string} id The ID of the dashboard to set the links for\n * @param {Link[]} links The links to set\n */\nexport const setDashboardLinks = (id, links) => dispatch =>\n dispatch(updateDashboardData(id, { links }));\n\n/**\n * Add links to the existing links in a dashboard. Filters out any duplicate links.\n * @param {string} id The ID of the dashboard to add links to\n * @param {Link[]} newLinks The new links to add\n */\nexport const addDashboardLinks = (id, newLinks) => (dispatch, getState) => {\n const links = getLinksForDashboard(getState(), id);\n const filtered = newLinks.filter(\n newLink =>\n links.findIndex(\n link =>\n deepEqual(link.start, newLink.start) &&\n deepEqual(link.end, newLink.end)\n ) < 0\n );\n return dispatch(setDashboardLinks(id, links.concat(filtered)));\n};\n\n/**\n * Delete links from a dashboard\n * @param {string} id The ID of the dashboard to delete links from\n * @param {string[]} linkIds The link IDs to delete\n */\nexport const deleteDashboardLinks = (id, linkIds) => (dispatch, getState) => {\n const links = getLinksForDashboard(getState(), id);\n const newLinks = links.filter(link => !linkIds.includes(link.id));\n return dispatch(setDashboardLinks(id, newLinks));\n};\n\n/**\n * Set the isolated linker panel ID for a dashboard\n * @param {string} id The ID of the dashboard to set the isolated linker panel ID in\n * @param {string|undefined} isolatedLinkerPanelId The isolated panel ID, or undefined to unset\n */\nexport const setDashboardIsolatedLinkerPanelId = (\n id,\n isolatedLinkerPanelId\n) => dispatch => dispatch(updateDashboardData(id, { isolatedLinkerPanelId }));\n\n/**\n * Set the column selection validator for a dashboard\n * @param {string} id The ID of the dashboard to set the column selection validator on\n * @param {ColumnSelectionValidator|undefined} columnSelectionValidator The column selection validator to set\n */\nexport const setDashboardColumnSelectionValidator = (\n id,\n columnSelectionValidator\n) => dispatch =>\n dispatch(updateDashboardData(id, { columnSelectionValidator }));\n\n/**\n * Set the console settings for a dashboard\n * @param {string} id The ID of the dashboard to set the console settings on\n * @param {ConsoleSettings} consoleSettings The console settings to set for the dashboard\n */\nexport const setDashboardConsoleSettings = (id, consoleSettings) => dispatch =>\n dispatch(updateDashboardData(id, { consoleSettings }));\n"],"file":"actions.js"}
1
+ {"version":3,"sources":["../../src/redux/actions.js"],"names":["deepEqual","updateDashboardData","getLinksForDashboard","setDashboardSessionWrapper","id","sessionWrapper","dispatch","setDashboardLinks","links","addDashboardLinks","newLinks","getState","filtered","filter","newLink","findIndex","link","start","end","concat","deleteDashboardLinks","linkIds","includes","setDashboardIsolatedLinkerPanelId","isolatedLinkerPanelId","setDashboardColumnSelectionValidator","columnSelectionValidator","setDashboardConsoleSettings","consoleSettings","setDashboardFilterSets","filterSets"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AACA,SAASC,mBAAT,QAAoC,sBAApC;SACSC,oB;AAET;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMC,0BAA0B,GAAG,CAACC,EAAD,EAAKC,cAAL,KAAwBC,QAAQ,IACxEA,QAAQ,CAACL,mBAAmB,CAACG,EAAD,EAAK;AAAEC,EAAAA;AAAF,CAAL,CAApB,CADH;AAGP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAME,iBAAiB,GAAG,CAACH,EAAD,EAAKI,KAAL,KAAeF,QAAQ,IACtDA,QAAQ,CAACL,mBAAmB,CAACG,EAAD,EAAK;AAAEI,EAAAA;AAAF,CAAL,CAApB,CADH;AAGP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMC,iBAAiB,GAAG,CAACL,EAAD,EAAKM,QAAL,KAAkB,CAACJ,QAAD,EAAWK,QAAX,KAAwB;AACzE,MAAMH,KAAK,GAAGN,oBAAoB,CAACS,QAAQ,EAAT,EAAaP,EAAb,CAAlC;AACA,MAAMQ,QAAQ,GAAGF,QAAQ,CAACG,MAAT,CACfC,OAAO,IACLN,KAAK,CAACO,SAAN,CACEC,IAAI,IACFhB,SAAS,CAACgB,IAAI,CAACC,KAAN,EAAaH,OAAO,CAACG,KAArB,CAAT,IACAjB,SAAS,CAACgB,IAAI,CAACE,GAAN,EAAWJ,OAAO,CAACI,GAAnB,CAHb,IAII,CANS,CAAjB;AAQA,SAAOZ,QAAQ,CAACC,iBAAiB,CAACH,EAAD,EAAKI,KAAK,CAACW,MAAN,CAAaP,QAAb,CAAL,CAAlB,CAAf;AACD,CAXM;AAaP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMQ,oBAAoB,GAAG,CAAChB,EAAD,EAAKiB,OAAL,KAAiB,CAACf,QAAD,EAAWK,QAAX,KAAwB;AAC3E,MAAMH,KAAK,GAAGN,oBAAoB,CAACS,QAAQ,EAAT,EAAaP,EAAb,CAAlC;AACA,MAAMM,QAAQ,GAAGF,KAAK,CAACK,MAAN,CAAaG,IAAI,IAAI,CAACK,OAAO,CAACC,QAAR,CAAiBN,IAAI,CAACZ,EAAtB,CAAtB,CAAjB;AACA,SAAOE,QAAQ,CAACC,iBAAiB,CAACH,EAAD,EAAKM,QAAL,CAAlB,CAAf;AACD,CAJM;AAMP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMa,iCAAiC,GAAG,CAC/CnB,EAD+C,EAE/CoB,qBAF+C,KAG5ClB,QAAQ,IAAIA,QAAQ,CAACL,mBAAmB,CAACG,EAAD,EAAK;AAAEoB,EAAAA;AAAF,CAAL,CAApB,CAHlB;AAKP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMC,oCAAoC,GAAG,CAClDrB,EADkD,EAElDsB,wBAFkD,KAG/CpB,QAAQ,IACXA,QAAQ,CAACL,mBAAmB,CAACG,EAAD,EAAK;AAAEsB,EAAAA;AAAF,CAAL,CAApB,CAJH;AAMP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMC,2BAA2B,GAAG,CAACvB,EAAD,EAAKwB,eAAL,KAAyBtB,QAAQ,IAC1EA,QAAQ,CAACL,mBAAmB,CAACG,EAAD,EAAK;AAAEwB,EAAAA;AAAF,CAAL,CAApB,CADH;AAGP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMC,sBAAsB,GAAG,CAACzB,EAAD,EAAK0B,UAAL,KAAoBxB,QAAQ,IAChEA,QAAQ,CAACL,mBAAmB,CAACG,EAAD,EAAK;AAAE0B,EAAAA;AAAF,CAAL,CAApB,CADH","sourcesContent":["import deepEqual from 'deep-equal';\nimport { updateDashboardData } from '@deephaven/dashboard';\nimport { getLinksForDashboard } from './selectors';\n\n/**\n * Set the session wrapper for the dashboard specified\n * @param {string} id The ID of the dashboard to set the session for\n * @param {SessionWrapper} sessionWrapper The session wrapper object to set for the dashboard\n */\nexport const setDashboardSessionWrapper = (id, sessionWrapper) => dispatch =>\n dispatch(updateDashboardData(id, { sessionWrapper }));\n\n/**\n * Set the links for a given dashboard\n * @param {string} id The ID of the dashboard to set the links for\n * @param {Link[]} links The links to set\n */\nexport const setDashboardLinks = (id, links) => dispatch =>\n dispatch(updateDashboardData(id, { links }));\n\n/**\n * Add links to the existing links in a dashboard. Filters out any duplicate links.\n * @param {string} id The ID of the dashboard to add links to\n * @param {Link[]} newLinks The new links to add\n */\nexport const addDashboardLinks = (id, newLinks) => (dispatch, getState) => {\n const links = getLinksForDashboard(getState(), id);\n const filtered = newLinks.filter(\n newLink =>\n links.findIndex(\n link =>\n deepEqual(link.start, newLink.start) &&\n deepEqual(link.end, newLink.end)\n ) < 0\n );\n return dispatch(setDashboardLinks(id, links.concat(filtered)));\n};\n\n/**\n * Delete links from a dashboard\n * @param {string} id The ID of the dashboard to delete links from\n * @param {string[]} linkIds The link IDs to delete\n */\nexport const deleteDashboardLinks = (id, linkIds) => (dispatch, getState) => {\n const links = getLinksForDashboard(getState(), id);\n const newLinks = links.filter(link => !linkIds.includes(link.id));\n return dispatch(setDashboardLinks(id, newLinks));\n};\n\n/**\n * Set the isolated linker panel ID for a dashboard\n * @param {string} id The ID of the dashboard to set the isolated linker panel ID in\n * @param {string|undefined} isolatedLinkerPanelId The isolated panel ID, or undefined to unset\n */\nexport const setDashboardIsolatedLinkerPanelId = (\n id,\n isolatedLinkerPanelId\n) => dispatch => dispatch(updateDashboardData(id, { isolatedLinkerPanelId }));\n\n/**\n * Set the column selection validator for a dashboard\n * @param {string} id The ID of the dashboard to set the column selection validator on\n * @param {ColumnSelectionValidator|undefined} columnSelectionValidator The column selection validator to set\n */\nexport const setDashboardColumnSelectionValidator = (\n id,\n columnSelectionValidator\n) => dispatch =>\n dispatch(updateDashboardData(id, { columnSelectionValidator }));\n\n/**\n * Set the console settings for a dashboard\n * @param {string} id The ID of the dashboard to set the console settings on\n * @param {ConsoleSettings} consoleSettings The console settings to set for the dashboard\n */\nexport const setDashboardConsoleSettings = (id, consoleSettings) => dispatch =>\n dispatch(updateDashboardData(id, { consoleSettings }));\n\n/**\n * Set the filter sets for a specific dashboard\n * @param {string} id The ID of the dashboard to set the filter sets for\n * @param {FilterSet[]} filterSets The filter sets to set\n */\nexport const setDashboardFilterSets = (id, filterSets) => dispatch =>\n dispatch(updateDashboardData(id, { filterSets }));\n"],"file":"actions.js"}
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/redux/index.ts"],"names":[],"mappings":"AAOA,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
@@ -1,25 +1,10 @@
1
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2
-
3
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
4
-
5
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
-
7
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
8
-
9
- function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
10
-
11
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
12
-
13
1
  import { reducerRegistry } from '@deephaven/redux';
14
- import reducers from './reducers';
15
- Object.entries(reducers).map(function (_ref) {
16
- var _ref2 = _slicedToArray(_ref, 2),
17
- name = _ref2[0],
18
- reducer = _ref2[1];
19
-
2
+ import reducers from "./reducers/index.js";
3
+ Object.entries(reducers).map((_ref) => {
4
+ var [name, reducer] = _ref;
20
5
  return reducerRegistry.register(name, reducer);
21
6
  });
22
- export * from './actions';
23
- export * from './actionTypes';
24
- export * from './selectors';
7
+ export * from "./actions.js";
8
+ export * from "./actionTypes.js";
9
+ export * from "./selectors.js";
25
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/redux/index.ts"],"names":["reducerRegistry","reducers","Object","entries","map","name","reducer","register"],"mappings":";;;;;;;;;;;;AAAA,SAASA,eAAT,QAAgC,kBAAhC;AACA,OAAOC,QAAP,MAAqB,YAArB;AAEAC,MAAM,CAACC,OAAP,CAAeF,QAAf,EAAyBG,GAAzB,CAA6B;AAAA;AAAA,MAAEC,IAAF;AAAA,MAAQC,OAAR;;AAAA,SAC3BN,eAAe,CAACO,QAAhB,CAAyBF,IAAzB,EAA+BC,OAA/B,CAD2B;AAAA,CAA7B;AAIA,cAAc,WAAd;AACA,cAAc,eAAd;AACA,cAAc,aAAd","sourcesContent":["import { reducerRegistry } from '@deephaven/redux';\nimport reducers from './reducers';\n\nObject.entries(reducers).map(([name, reducer]) =>\n reducerRegistry.register(name, reducer)\n);\n\nexport * from './actions';\nexport * from './actionTypes';\nexport * from './selectors';\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../src/redux/index.ts"],"names":["reducerRegistry","reducers","Object","entries","map","name","reducer","register"],"mappings":"AAAA,SAASA,eAAT,QAAgC,kBAAhC;OACOC,Q;AAEPC,MAAM,CAACC,OAAP,CAAeF,QAAf,EAAyBG,GAAzB,CAA6B;AAAA,MAAC,CAACC,IAAD,EAAOC,OAAP,CAAD;AAAA,SAC3BN,eAAe,CAACO,QAAhB,CAAyBF,IAAzB,EAA+BC,OAA/B,CAD2B;AAAA,CAA7B","sourcesContent":["import { reducerRegistry } from '@deephaven/redux';\nimport reducers from './reducers';\n\nObject.entries(reducers).map(([name, reducer]) =>\n reducerRegistry.register(name, reducer)\n);\n\nexport * from './actions';\nexport * from './actionTypes';\nexport * from './selectors';\n"],"file":"index.js"}
File without changes
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/prop-types/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/redux/reducers/index.js"],"names":[],"mappings":""}
@@ -1,5 +1,5 @@
1
- import sessionWrapper from './sessionWrapper';
1
+ import sessionWrapper from "./sessionWrapper.js";
2
2
  export default {
3
- sessionWrapper: sessionWrapper
3
+ sessionWrapper
4
4
  };
5
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/redux/reducers/index.js"],"names":["sessionWrapper"],"mappings":"AAAA,OAAOA,cAAP,MAA2B,kBAA3B;AAEA,eAAe;AAAEA,EAAAA,cAAc,EAAdA;AAAF,CAAf","sourcesContent":["import sessionWrapper from './sessionWrapper';\n\nexport default { sessionWrapper };\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/redux/reducers/index.js"],"names":["sessionWrapper"],"mappings":"OAAOA,c;AAEP,eAAe;AAAEA,EAAAA;AAAF,CAAf","sourcesContent":["import sessionWrapper from './sessionWrapper';\n\nexport default { sessionWrapper };\n"],"file":"index.js"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sessionWrapper.d.ts","sourceRoot":"","sources":["../../../src/redux/reducers/sessionWrapper.js"],"names":[],"mappings":""}
@@ -2,6 +2,6 @@
2
2
  * Set the active session being used to communicate with the server.
3
3
  */
4
4
  import { replaceReducer } from '@deephaven/redux';
5
- import { SET_SESSION_WRAPPER } from '../actionTypes';
5
+ import { SET_SESSION_WRAPPER } from "../actionTypes.js";
6
6
  export default replaceReducer(SET_SESSION_WRAPPER, null);
7
7
  //# sourceMappingURL=sessionWrapper.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/redux/reducers/sessionWrapper.js"],"names":["replaceReducer","SET_SESSION_WRAPPER"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,cAAT,QAA+B,kBAA/B;AACA,SAASC,mBAAT,QAAoC,gBAApC;AAEA,eAAeD,cAAc,CAACC,mBAAD,EAAsB,IAAtB,CAA7B","sourcesContent":["/**\n * Set the active session being used to communicate with the server.\n */\nimport { replaceReducer } from '@deephaven/redux';\nimport { SET_SESSION_WRAPPER } from '../actionTypes';\n\nexport default replaceReducer(SET_SESSION_WRAPPER, null);\n"],"file":"sessionWrapper.js"}
1
+ {"version":3,"sources":["../../../src/redux/reducers/sessionWrapper.js"],"names":["replaceReducer","SET_SESSION_WRAPPER"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,cAAT,QAA+B,kBAA/B;SACSC,mB;AAET,eAAeD,cAAc,CAACC,mBAAD,EAAsB,IAAtB,CAA7B","sourcesContent":["/**\n * Set the active session being used to communicate with the server.\n */\nimport { replaceReducer } from '@deephaven/redux';\nimport { SET_SESSION_WRAPPER } from '../actionTypes';\n\nexport default replaceReducer(SET_SESSION_WRAPPER, null);\n"],"file":"sessionWrapper.js"}
@@ -1,4 +1,5 @@
1
1
  export function getColumnsForDashboard(store: any, dashboardId: string): any[];
2
+ export function getFilterSetsForDashboard(store: any, dashboardId: string): any[];
2
3
  export function getInputFiltersForDashboard(store: any, dashboardId: string): any[];
3
4
  export function getTableMapForDashboard(store: any, dashboardId: string): Map<string, any>;
4
5
  export function getIsolatedLinkerPanelIdForDashboard(store: any, dashboardId: string): string | undefined;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../src/redux/selectors.js"],"names":[],"mappings":"AAWO,gEAHI,MAAM,GACJ,KAAQ,CAGwC;AAQtD,mEAHI,MAAM,GACJ,KAAW,CAGwC;AAOzD,qEAHI,MAAM,GACJ,KAAmB,CAG6B;AAOtD,iEAHI,MAAM,GACJ,IAAI,MAAM,MAAQ,CAG6B;AAOrD,8EAHI,MAAM,GACJ,MAAM,GAAC,SAAS,CAG+B;AAOrD,8DAHI,MAAM,GACJ,KAAM,CAGwC;AAOpD,iFAHI,MAAM,GACJ,MAAyB,SAAS,CAGgB;AAOxD,qEAHI,MAAM,GACJ,MAAgB,SAAS,CAGgB;AAQ/C,oEAHI,MAAM,GACJ,MAAe,SAAS,CAGgB"}
@@ -7,21 +7,33 @@ var EMPTY_ARRAY = Object.freeze([]);
7
7
  * @returns {Column[]} All column objects found in all panels in this dashboard
8
8
  */
9
9
 
10
- export var getColumnsForDashboard = function getColumnsForDashboard(store, dashboardId) {
10
+ export var getColumnsForDashboard = (store, dashboardId) => {
11
11
  var _getDashboardData$col;
12
12
 
13
13
  return (_getDashboardData$col = getDashboardData(store, dashboardId).columns) !== null && _getDashboardData$col !== void 0 ? _getDashboardData$col : EMPTY_ARRAY;
14
14
  };
15
15
  /**
16
+ * Get the known filter sets for the dashboard.
16
17
  * @param {Store} store The redux store
17
18
  * @param {string} dashboardId The dashboard ID to get data for
18
- * @returns {FilterChangeEvent[]} The filters set on this dashboard
19
+ * @returns {FilterSet[]} The filter sets set on this dashboard
19
20
  */
20
21
 
21
- export var getInputFiltersForDashboard = function getInputFiltersForDashboard(store, dashboardId) {
22
+ export var getFilterSetsForDashboard = (store, dashboardId) => {
22
23
  var _getDashboardData$fil;
23
24
 
24
- return (_getDashboardData$fil = getDashboardData(store, dashboardId).filters) !== null && _getDashboardData$fil !== void 0 ? _getDashboardData$fil : EMPTY_ARRAY;
25
+ return (_getDashboardData$fil = getDashboardData(store, dashboardId).filterSets) !== null && _getDashboardData$fil !== void 0 ? _getDashboardData$fil : EMPTY_ARRAY;
26
+ };
27
+ /**
28
+ * @param {Store} store The redux store
29
+ * @param {string} dashboardId The dashboard ID to get data for
30
+ * @returns {FilterChangeEvent[]} The filters set on this dashboard
31
+ */
32
+
33
+ export var getInputFiltersForDashboard = (store, dashboardId) => {
34
+ var _getDashboardData$fil2;
35
+
36
+ return (_getDashboardData$fil2 = getDashboardData(store, dashboardId).filters) !== null && _getDashboardData$fil2 !== void 0 ? _getDashboardData$fil2 : EMPTY_ARRAY;
25
37
  };
26
38
  /**
27
39
  * @param {Store} store The redux store
@@ -29,7 +41,7 @@ export var getInputFiltersForDashboard = function getInputFiltersForDashboard(st
29
41
  * @returns {Map<string, Table>} Map from panel ID to the table used in that panel
30
42
  */
31
43
 
32
- export var getTableMapForDashboard = function getTableMapForDashboard(store, dashboardId) {
44
+ export var getTableMapForDashboard = (store, dashboardId) => {
33
45
  var _getDashboardData$tab;
34
46
 
35
47
  return (_getDashboardData$tab = getDashboardData(store, dashboardId).tableMap) !== null && _getDashboardData$tab !== void 0 ? _getDashboardData$tab : EMPTY_MAP;
@@ -40,16 +52,14 @@ export var getTableMapForDashboard = function getTableMapForDashboard(store, das
40
52
  * @returns {string|undefined} The panel ID that is isolated, undefined if none is isolated
41
53
  */
42
54
 
43
- export var getIsolatedLinkerPanelIdForDashboard = function getIsolatedLinkerPanelIdForDashboard(store, dashboardId) {
44
- return getDashboardData(store, dashboardId).isolatedLinkerPanelId;
45
- };
55
+ export var getIsolatedLinkerPanelIdForDashboard = (store, dashboardId) => getDashboardData(store, dashboardId).isolatedLinkerPanelId;
46
56
  /**
47
57
  * @param {Store} store The redux store
48
58
  * @param {string} dashboardId The dashboard ID to get the data from
49
59
  * @returns {Link[]} The links for the dashboard
50
60
  */
51
61
 
52
- export var getLinksForDashboard = function getLinksForDashboard(store, dashboardId) {
62
+ export var getLinksForDashboard = (store, dashboardId) => {
53
63
  var _getDashboardData$lin;
54
64
 
55
65
  return (_getDashboardData$lin = getDashboardData(store, dashboardId).links) !== null && _getDashboardData$lin !== void 0 ? _getDashboardData$lin : EMPTY_ARRAY;
@@ -60,18 +70,14 @@ export var getLinksForDashboard = function getLinksForDashboard(store, dashboard
60
70
  * @returns {ColumnSelectionValidator|undefined} Column selection validator active on a dashboard
61
71
  */
62
72
 
63
- export var getColumnSelectionValidatorForDashboard = function getColumnSelectionValidatorForDashboard(store, dashboardId) {
64
- return getDashboardData(store, dashboardId).columnSelectionValidator;
65
- };
73
+ export var getColumnSelectionValidatorForDashboard = (store, dashboardId) => getDashboardData(store, dashboardId).columnSelectionValidator;
66
74
  /**
67
75
  * @param {Store} store The redux store
68
76
  * @param {string} dashboardId The dashboard ID to get the console settings for
69
77
  * @returns {ConsoleSettings|undefined} Console settings for this dashboard
70
78
  */
71
79
 
72
- export var getDashboardConsoleSettings = function getDashboardConsoleSettings(store, dashboardId) {
73
- return getDashboardData(store, dashboardId).consoleSettings;
74
- };
80
+ export var getDashboardConsoleSettings = (store, dashboardId) => getDashboardData(store, dashboardId).consoleSettings;
75
81
  /**
76
82
  *
77
83
  * @param {Store} store The redux store
@@ -79,7 +85,5 @@ export var getDashboardConsoleSettings = function getDashboardConsoleSettings(st
79
85
  * @returns {SessionWrapper|undefined} The session wrapper for the dashboard
80
86
  */
81
87
 
82
- export var getDashboardSessionWrapper = function getDashboardSessionWrapper(store, dashboardId) {
83
- return getDashboardData(store, dashboardId).sessionWrapper;
84
- };
88
+ export var getDashboardSessionWrapper = (store, dashboardId) => getDashboardData(store, dashboardId).sessionWrapper;
85
89
  //# sourceMappingURL=selectors.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/redux/selectors.js"],"names":["getDashboardData","EMPTY_MAP","Map","EMPTY_ARRAY","Object","freeze","getColumnsForDashboard","store","dashboardId","columns","getInputFiltersForDashboard","filters","getTableMapForDashboard","tableMap","getIsolatedLinkerPanelIdForDashboard","isolatedLinkerPanelId","getLinksForDashboard","links","getColumnSelectionValidatorForDashboard","columnSelectionValidator","getDashboardConsoleSettings","consoleSettings","getDashboardSessionWrapper","sessionWrapper"],"mappings":"AAAA,SAASA,gBAAT,QAAiC,sBAAjC;AAEA,IAAMC,SAAS,GAAG,IAAIC,GAAJ,EAAlB;AAEA,IAAMC,WAAW,GAAGC,MAAM,CAACC,MAAP,CAAc,EAAd,CAApB;AAEA;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMC,sBAAsB,GAAG,SAAzBA,sBAAyB,CAACC,KAAD,EAAQC,WAAR;AAAA;;AAAA,kCACpCR,gBAAgB,CAACO,KAAD,EAAQC,WAAR,CAAhB,CAAqCC,OADD,yEACYN,WADZ;AAAA,CAA/B;AAGP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMO,2BAA2B,GAAG,SAA9BA,2BAA8B,CAACH,KAAD,EAAQC,WAAR;AAAA;;AAAA,kCACzCR,gBAAgB,CAACO,KAAD,EAAQC,WAAR,CAAhB,CAAqCG,OADI,yEACOR,WADP;AAAA,CAApC;AAGP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMS,uBAAuB,GAAG,SAA1BA,uBAA0B,CAACL,KAAD,EAAQC,WAAR;AAAA;;AAAA,kCACrCR,gBAAgB,CAACO,KAAD,EAAQC,WAAR,CAAhB,CAAqCK,QADA,yEACYZ,SADZ;AAAA,CAAhC;AAGP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMa,oCAAoC,GAAG,SAAvCA,oCAAuC,CAACP,KAAD,EAAQC,WAAR;AAAA,SAClDR,gBAAgB,CAACO,KAAD,EAAQC,WAAR,CAAhB,CAAqCO,qBADa;AAAA,CAA7C;AAGP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMC,oBAAoB,GAAG,SAAvBA,oBAAuB,CAACT,KAAD,EAAQC,WAAR;AAAA;;AAAA,kCAClCR,gBAAgB,CAACO,KAAD,EAAQC,WAAR,CAAhB,CAAqCS,KADH,yEACYd,WADZ;AAAA,CAA7B;AAGP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMe,uCAAuC,GAAG,SAA1CA,uCAA0C,CAACX,KAAD,EAAQC,WAAR;AAAA,SACrDR,gBAAgB,CAACO,KAAD,EAAQC,WAAR,CAAhB,CAAqCW,wBADgB;AAAA,CAAhD;AAGP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMC,2BAA2B,GAAG,SAA9BA,2BAA8B,CAACb,KAAD,EAAQC,WAAR;AAAA,SACzCR,gBAAgB,CAACO,KAAD,EAAQC,WAAR,CAAhB,CAAqCa,eADI;AAAA,CAApC;AAGP;AACA;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMC,0BAA0B,GAAG,SAA7BA,0BAA6B,CAACf,KAAD,EAAQC,WAAR;AAAA,SACxCR,gBAAgB,CAACO,KAAD,EAAQC,WAAR,CAAhB,CAAqCe,cADG;AAAA,CAAnC","sourcesContent":["import { getDashboardData } from '@deephaven/dashboard';\n\nconst EMPTY_MAP = new Map();\n\nconst EMPTY_ARRAY = Object.freeze([]);\n\n/**\n * @param {Store} store The redux store\n * @param {string} dashboardId The dashboard ID to get data for\n * @returns {Column[]} All column objects found in all panels in this dashboard\n */\nexport const getColumnsForDashboard = (store, dashboardId) =>\n getDashboardData(store, dashboardId).columns ?? EMPTY_ARRAY;\n\n/**\n * @param {Store} store The redux store\n * @param {string} dashboardId The dashboard ID to get data for\n * @returns {FilterChangeEvent[]} The filters set on this dashboard\n */\nexport const getInputFiltersForDashboard = (store, dashboardId) =>\n getDashboardData(store, dashboardId).filters ?? EMPTY_ARRAY;\n\n/**\n * @param {Store} store The redux store\n * @param {string} dashboardId The dashboard ID to get data for\n * @returns {Map<string, Table>} Map from panel ID to the table used in that panel\n */\nexport const getTableMapForDashboard = (store, dashboardId) =>\n getDashboardData(store, dashboardId).tableMap ?? EMPTY_MAP;\n\n/**\n * @param {Store} store The redux store\n * @param {string} dashboardId The dashboard ID to get the data for\n * @returns {string|undefined} The panel ID that is isolated, undefined if none is isolated\n */\nexport const getIsolatedLinkerPanelIdForDashboard = (store, dashboardId) =>\n getDashboardData(store, dashboardId).isolatedLinkerPanelId;\n\n/**\n * @param {Store} store The redux store\n * @param {string} dashboardId The dashboard ID to get the data from\n * @returns {Link[]} The links for the dashboard\n */\nexport const getLinksForDashboard = (store, dashboardId) =>\n getDashboardData(store, dashboardId).links ?? EMPTY_ARRAY;\n\n/**\n * @param {Store} store The redux store\n * @param {string} dashboardId The dashboard ID to get the column selection validators for\n * @returns {ColumnSelectionValidator|undefined} Column selection validator active on a dashboard\n */\nexport const getColumnSelectionValidatorForDashboard = (store, dashboardId) =>\n getDashboardData(store, dashboardId).columnSelectionValidator;\n\n/**\n * @param {Store} store The redux store\n * @param {string} dashboardId The dashboard ID to get the console settings for\n * @returns {ConsoleSettings|undefined} Console settings for this dashboard\n */\nexport const getDashboardConsoleSettings = (store, dashboardId) =>\n getDashboardData(store, dashboardId).consoleSettings;\n\n/**\n *\n * @param {Store} store The redux store\n * @param {string} dashboardId The dashboard ID to get the SessionWrapper for\n * @returns {SessionWrapper|undefined} The session wrapper for the dashboard\n */\nexport const getDashboardSessionWrapper = (store, dashboardId) =>\n getDashboardData(store, dashboardId).sessionWrapper;\n"],"file":"selectors.js"}
1
+ {"version":3,"sources":["../../src/redux/selectors.js"],"names":["getDashboardData","EMPTY_MAP","Map","EMPTY_ARRAY","Object","freeze","getColumnsForDashboard","store","dashboardId","columns","getFilterSetsForDashboard","filterSets","getInputFiltersForDashboard","filters","getTableMapForDashboard","tableMap","getIsolatedLinkerPanelIdForDashboard","isolatedLinkerPanelId","getLinksForDashboard","links","getColumnSelectionValidatorForDashboard","columnSelectionValidator","getDashboardConsoleSettings","consoleSettings","getDashboardSessionWrapper","sessionWrapper"],"mappings":"AAAA,SAASA,gBAAT,QAAiC,sBAAjC;AAEA,IAAMC,SAAS,GAAG,IAAIC,GAAJ,EAAlB;AAEA,IAAMC,WAAW,GAAGC,MAAM,CAACC,MAAP,CAAc,EAAd,CAApB;AAEA;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMC,sBAAsB,GAAG,CAACC,KAAD,EAAQC,WAAR;AAAA;;AAAA,kCACpCR,gBAAgB,CAACO,KAAD,EAAQC,WAAR,CAAhB,CAAqCC,OADD,yEACYN,WADZ;AAAA,CAA/B;AAGP;AACA;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMO,yBAAyB,GAAG,CAACH,KAAD,EAAQC,WAAR;AAAA;;AAAA,kCACvCR,gBAAgB,CAACO,KAAD,EAAQC,WAAR,CAAhB,CAAqCG,UADE,yEACYR,WADZ;AAAA,CAAlC;AAGP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMS,2BAA2B,GAAG,CAACL,KAAD,EAAQC,WAAR;AAAA;;AAAA,mCACzCR,gBAAgB,CAACO,KAAD,EAAQC,WAAR,CAAhB,CAAqCK,OADI,2EACOV,WADP;AAAA,CAApC;AAGP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMW,uBAAuB,GAAG,CAACP,KAAD,EAAQC,WAAR;AAAA;;AAAA,kCACrCR,gBAAgB,CAACO,KAAD,EAAQC,WAAR,CAAhB,CAAqCO,QADA,yEACYd,SADZ;AAAA,CAAhC;AAGP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMe,oCAAoC,GAAG,CAACT,KAAD,EAAQC,WAAR,KAClDR,gBAAgB,CAACO,KAAD,EAAQC,WAAR,CAAhB,CAAqCS,qBADhC;AAGP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMC,oBAAoB,GAAG,CAACX,KAAD,EAAQC,WAAR;AAAA;;AAAA,kCAClCR,gBAAgB,CAACO,KAAD,EAAQC,WAAR,CAAhB,CAAqCW,KADH,yEACYhB,WADZ;AAAA,CAA7B;AAGP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMiB,uCAAuC,GAAG,CAACb,KAAD,EAAQC,WAAR,KACrDR,gBAAgB,CAACO,KAAD,EAAQC,WAAR,CAAhB,CAAqCa,wBADhC;AAGP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMC,2BAA2B,GAAG,CAACf,KAAD,EAAQC,WAAR,KACzCR,gBAAgB,CAACO,KAAD,EAAQC,WAAR,CAAhB,CAAqCe,eADhC;AAGP;AACA;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMC,0BAA0B,GAAG,CAACjB,KAAD,EAAQC,WAAR,KACxCR,gBAAgB,CAACO,KAAD,EAAQC,WAAR,CAAhB,CAAqCiB,cADhC","sourcesContent":["import { getDashboardData } from '@deephaven/dashboard';\n\nconst EMPTY_MAP = new Map();\n\nconst EMPTY_ARRAY = Object.freeze([]);\n\n/**\n * @param {Store} store The redux store\n * @param {string} dashboardId The dashboard ID to get data for\n * @returns {Column[]} All column objects found in all panels in this dashboard\n */\nexport const getColumnsForDashboard = (store, dashboardId) =>\n getDashboardData(store, dashboardId).columns ?? EMPTY_ARRAY;\n\n/**\n * Get the known filter sets for the dashboard.\n * @param {Store} store The redux store\n * @param {string} dashboardId The dashboard ID to get data for\n * @returns {FilterSet[]} The filter sets set on this dashboard\n */\nexport const getFilterSetsForDashboard = (store, dashboardId) =>\n getDashboardData(store, dashboardId).filterSets ?? EMPTY_ARRAY;\n\n/**\n * @param {Store} store The redux store\n * @param {string} dashboardId The dashboard ID to get data for\n * @returns {FilterChangeEvent[]} The filters set on this dashboard\n */\nexport const getInputFiltersForDashboard = (store, dashboardId) =>\n getDashboardData(store, dashboardId).filters ?? EMPTY_ARRAY;\n\n/**\n * @param {Store} store The redux store\n * @param {string} dashboardId The dashboard ID to get data for\n * @returns {Map<string, Table>} Map from panel ID to the table used in that panel\n */\nexport const getTableMapForDashboard = (store, dashboardId) =>\n getDashboardData(store, dashboardId).tableMap ?? EMPTY_MAP;\n\n/**\n * @param {Store} store The redux store\n * @param {string} dashboardId The dashboard ID to get the data for\n * @returns {string|undefined} The panel ID that is isolated, undefined if none is isolated\n */\nexport const getIsolatedLinkerPanelIdForDashboard = (store, dashboardId) =>\n getDashboardData(store, dashboardId).isolatedLinkerPanelId;\n\n/**\n * @param {Store} store The redux store\n * @param {string} dashboardId The dashboard ID to get the data from\n * @returns {Link[]} The links for the dashboard\n */\nexport const getLinksForDashboard = (store, dashboardId) =>\n getDashboardData(store, dashboardId).links ?? EMPTY_ARRAY;\n\n/**\n * @param {Store} store The redux store\n * @param {string} dashboardId The dashboard ID to get the column selection validators for\n * @returns {ColumnSelectionValidator|undefined} Column selection validator active on a dashboard\n */\nexport const getColumnSelectionValidatorForDashboard = (store, dashboardId) =>\n getDashboardData(store, dashboardId).columnSelectionValidator;\n\n/**\n * @param {Store} store The redux store\n * @param {string} dashboardId The dashboard ID to get the console settings for\n * @returns {ConsoleSettings|undefined} Console settings for this dashboard\n */\nexport const getDashboardConsoleSettings = (store, dashboardId) =>\n getDashboardData(store, dashboardId).consoleSettings;\n\n/**\n *\n * @param {Store} store The redux store\n * @param {string} dashboardId The dashboard ID to get the SessionWrapper for\n * @returns {SessionWrapper|undefined} The session wrapper for the dashboard\n */\nexport const getDashboardSessionWrapper = (store, dashboardId) =>\n getDashboardData(store, dashboardId).sessionWrapper;\n"],"file":"selectors.js"}