redux-connected-devtools 0.0.15 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (370) hide show
  1. package/.env +2 -0
  2. package/.prettierrc.js +10 -0
  3. package/.vscode/settings.json +12 -0
  4. package/.vscode/tasks.json +33 -0
  5. package/LICENSE +21 -0
  6. package/README.md +5 -0
  7. package/index.html +58 -0
  8. package/jest.config.js +8 -0
  9. package/package.json +47 -66
  10. package/public/devtools.html +8 -0
  11. package/public/icon.png +0 -0
  12. package/public/manifest.json +29 -0
  13. package/public/options.html +12 -0
  14. package/public/panel.html +39 -0
  15. package/public/popup.html +12 -0
  16. package/src/__tests__/sum.ts +9 -0
  17. package/src/background.ts +49 -0
  18. package/src/components/DevInspector/DevInspector.scss +2 -0
  19. package/src/components/DevInspector/DevInspector.style.tsx +8 -0
  20. package/src/components/DevInspector/DevInspector.tsx +34 -0
  21. package/src/components/DevList/DevList.scss +2 -0
  22. package/src/components/DevList/DevList.style.tsx +34 -0
  23. package/src/components/DevList/DevList.tsx +62 -0
  24. package/src/components/DevMenu/DevMenu.scss +2 -0
  25. package/src/components/DevMenu/DevMenu.style.tsx +53 -0
  26. package/src/components/DevMenu/DevMenu.tsx +76 -0
  27. package/src/components/DevPanel/DevPanel.scss +2 -0
  28. package/src/components/DevPanel/DevPanel.style.tsx +16 -0
  29. package/src/components/DevPanel/DevPanel.tsx +51 -0
  30. package/src/components/JourneyRow/JourneyRow.scss +2 -0
  31. package/src/components/JourneyRow/JourneyRow.style.tsx +46 -0
  32. package/src/components/JourneyRow/JourneyRow.tsx +58 -0
  33. package/src/components/JsonViewer/JsonViewer.scss +2 -0
  34. package/src/components/JsonViewer/JsonViewer.style.tsx +31 -0
  35. package/src/components/JsonViewer/JsonViewer.tsx +24 -0
  36. package/src/components/Lifecycle/Lifecycle.scss +2 -0
  37. package/src/components/Lifecycle/Lifecycle.style.tsx +6 -0
  38. package/src/components/Lifecycle/Lifecycle.tsx +31 -0
  39. package/src/components/LogsViewer/LogsViewer.scss +2 -0
  40. package/src/components/LogsViewer/LogsViewer.style.tsx +5 -0
  41. package/src/components/LogsViewer/LogsViewer.tsx +14 -0
  42. package/src/components/RequestDetails/RequestDetails.scss +2 -0
  43. package/src/components/RequestDetails/RequestDetails.style.tsx +20 -0
  44. package/src/components/RequestDetails/RequestDetails.tsx +60 -0
  45. package/src/components/RequestJourney/RequestJourney.scss +2 -0
  46. package/src/components/RequestJourney/RequestJourney.style.tsx +6 -0
  47. package/src/components/RequestJourney/RequestJourney.tsx +33 -0
  48. package/src/components/RequestRow/RequestRow.scss +2 -0
  49. package/src/components/RequestRow/RequestRow.style.tsx +31 -0
  50. package/src/components/RequestRow/RequestRow.tsx +37 -0
  51. package/src/components/Time/Time.scss +2 -0
  52. package/src/components/Time/Time.style.tsx +17 -0
  53. package/src/components/Time/Time.tsx +25 -0
  54. package/src/containers/DevMenuContainer.tsx +28 -0
  55. package/src/containers/DevPanelContainer.tsx +10 -0
  56. package/src/containers/EndpointConfigsContainer.tsx +12 -0
  57. package/src/containers/EndpointStatusContainer.tsx +12 -0
  58. package/src/containers/GlobalSettingsContainer.tsx +12 -0
  59. package/src/containers/GlobalStatsContainer.tsx +12 -0
  60. package/src/containers/LifecycleApiErrorContainer.tsx +11 -0
  61. package/src/containers/LifecycleGeneralErrorContainer.tsx +11 -0
  62. package/src/containers/LifecycleInQueueContainer.tsx +11 -0
  63. package/src/containers/LifecyclePendingApiContainer.tsx +11 -0
  64. package/src/containers/LifecyclePostActionContainer.tsx +11 -0
  65. package/src/containers/LifecycleReceivedContainer.tsx +11 -0
  66. package/src/content_script.ts +19 -0
  67. package/src/data/devComponents.tsx +25 -0
  68. package/src/data/devRoutes.ts +83 -0
  69. package/src/devtools.tsx +29 -0
  70. package/src/index.ts +1 -0
  71. package/src/injected_script.ts +9 -0
  72. package/src/options.tsx +77 -0
  73. package/src/panel.tsx +30 -0
  74. package/src/popup.tsx +63 -0
  75. package/src/store/initialState.ts +42 -0
  76. package/src/store/selectors.ts +205 -0
  77. package/src/sum.ts +3 -0
  78. package/src/types.ts +1 -0
  79. package/src/utils/date.ts +3 -0
  80. package/tsconfig.json +24 -0
  81. package/vite.config.ts +45 -0
  82. package/webpack/webpack.common.js +46 -0
  83. package/webpack/webpack.dev.js +7 -0
  84. package/webpack/webpack.prod.js +6 -0
  85. package/esm/components/Config/Config.d.ts +0 -6
  86. package/esm/components/Config/Config.js +0 -15
  87. package/esm/components/DevTools/DevTools.d.ts +0 -4
  88. package/esm/components/DevTools/DevTools.js +0 -19
  89. package/esm/components/DevToolsLocal/DevToolsLocal.d.ts +0 -4
  90. package/esm/components/DevToolsLocal/DevToolsLocal.js +0 -12
  91. package/esm/components/Dispatcher/Dispatcher.d.ts +0 -8
  92. package/esm/components/Dispatcher/Dispatcher.js +0 -61
  93. package/esm/components/GlobalSettings/GlobalSettings.d.ts +0 -6
  94. package/esm/components/GlobalSettings/GlobalSettings.js +0 -16
  95. package/esm/components/Group/Group.d.ts +0 -9
  96. package/esm/components/Group/Group.js +0 -14
  97. package/esm/components/Json/Json.d.ts +0 -7
  98. package/esm/components/Json/Json.js +0 -9
  99. package/esm/components/Logs/Logs.d.ts +0 -6
  100. package/esm/components/Logs/Logs.js +0 -49
  101. package/esm/components/Monitor/Monitor.d.ts +0 -6
  102. package/esm/components/Monitor/Monitor.js +0 -54
  103. package/esm/components/OverlayManager/OverlayManager.d.ts +0 -6
  104. package/esm/components/OverlayManager/OverlayManager.js +0 -17
  105. package/esm/components/Panel/Panel.d.ts +0 -14
  106. package/esm/components/Panel/Panel.js +0 -46
  107. package/esm/components/Preview/Preview.d.ts +0 -18
  108. package/esm/components/Preview/Preview.js +0 -58
  109. package/esm/components/Redux/Redux.d.ts +0 -6
  110. package/esm/components/Redux/Redux.js +0 -72
  111. package/esm/components/ReduxSettings/ReduxSettings.d.ts +0 -9
  112. package/esm/components/ReduxSettings/ReduxSettings.js +0 -60
  113. package/esm/components/Requests/Requests.d.ts +0 -6
  114. package/esm/components/Requests/Requests.js +0 -61
  115. package/esm/components/Status/Status.d.ts +0 -6
  116. package/esm/components/Status/Status.js +0 -16
  117. package/esm/components/TaskManager/TaskManager.d.ts +0 -9
  118. package/esm/components/TaskManager/TaskManager.js +0 -22
  119. package/esm/components/Timeline/Timeline.d.ts +0 -6
  120. package/esm/components/Timeline/Timeline.js +0 -13
  121. package/esm/components/TimelineEvent/TimelineEvent.d.ts +0 -7
  122. package/esm/components/TimelineEvent/TimelineEvent.js +0 -13
  123. package/esm/components/TimelineHeader/TimelineHeader.d.ts +0 -4
  124. package/esm/components/TimelineHeader/TimelineHeader.js +0 -5
  125. package/esm/components/TimelineRow/TimelineRow.d.ts +0 -7
  126. package/esm/components/TimelineRow/TimelineRow.js +0 -13
  127. package/esm/components/TimelineRowHeader/TimelineRowHeader.d.ts +0 -7
  128. package/esm/components/TimelineRowHeader/TimelineRowHeader.js +0 -10
  129. package/esm/components/Toggle/Toggle.d.ts +0 -8
  130. package/esm/components/Toggle/Toggle.js +0 -8
  131. package/esm/components/VirtualList/VirtualList.d.ts +0 -19
  132. package/esm/components/VirtualList/VirtualList.js +0 -30
  133. package/esm/components/Visual/Visual.d.ts +0 -6
  134. package/esm/components/Visual/Visual.js +0 -38
  135. package/esm/components/prefix.d.ts +0 -2
  136. package/esm/components/prefix.js +0 -2
  137. package/esm/data/boxSizes.d.ts +0 -2
  138. package/esm/data/boxSizes.js +0 -10
  139. package/esm/data/dispatcherActions.d.ts +0 -5
  140. package/esm/data/dispatcherActions.js +0 -35
  141. package/esm/data/layoutDefault.d.ts +0 -2
  142. package/esm/data/layoutDefault.js +0 -46
  143. package/esm/data/panels.d.ts +0 -2
  144. package/esm/data/panels.js +0 -14
  145. package/esm/data/panelsArrangements.d.ts +0 -19
  146. package/esm/data/panelsArrangements.js +0 -19
  147. package/esm/data/panelsLocal.d.ts +0 -2
  148. package/esm/data/panelsLocal.js +0 -7
  149. package/esm/data/reduxFilterOptions.d.ts +0 -20
  150. package/esm/data/reduxFilterOptions.js +0 -223
  151. package/esm/data/widgets.d.ts +0 -2
  152. package/esm/data/widgets.js +0 -154
  153. package/esm/data/widgetsLocal.d.ts +0 -2
  154. package/esm/data/widgetsLocal.js +0 -19
  155. package/esm/hooks/index.d.ts +0 -7
  156. package/esm/hooks/index.js +0 -7
  157. package/esm/hooks/misc/hookState.d.ts +0 -8
  158. package/esm/hooks/misc/hookState.js +0 -6
  159. package/esm/hooks/misc/util.d.ts +0 -5
  160. package/esm/hooks/misc/util.js +0 -21
  161. package/esm/hooks/useBoolean.d.ts +0 -3
  162. package/esm/hooks/useBoolean.js +0 -3
  163. package/esm/hooks/useClickAway.d.ts +0 -3
  164. package/esm/hooks/useClickAway.js +0 -27
  165. package/esm/hooks/useEvent.d.ts +0 -13
  166. package/esm/hooks/useEvent.js +0 -35
  167. package/esm/hooks/useKey.d.ts +0 -12
  168. package/esm/hooks/useKey.js +0 -29
  169. package/esm/hooks/useList.d.ts +0 -57
  170. package/esm/hooks/useList.js +0 -74
  171. package/esm/hooks/useLocalstorage.d.ts +0 -10
  172. package/esm/hooks/useLocalstorage.js +0 -75
  173. package/esm/hooks/usePanels.d.ts +0 -10
  174. package/esm/hooks/usePanels.js +0 -45
  175. package/esm/hooks/useSetState.d.ts +0 -2
  176. package/esm/hooks/useSetState.js +0 -10
  177. package/esm/hooks/useToggle.d.ts +0 -2
  178. package/esm/hooks/useToggle.js +0 -6
  179. package/esm/hooks/useUpdate.d.ts +0 -1
  180. package/esm/hooks/useUpdate.js +0 -6
  181. package/esm/index.d.ts +0 -4
  182. package/esm/index.js +0 -4
  183. package/esm/selectors/selectors.d.ts +0 -21
  184. package/esm/selectors/selectors.js +0 -20
  185. package/esm/theme/devtoolsTheme.d.ts +0 -2
  186. package/esm/theme/devtoolsTheme.js +0 -95
  187. package/esm/types.d.ts +0 -21
  188. package/esm/types.js +0 -1
  189. package/esm/utils/filter.d.ts +0 -3
  190. package/esm/utils/filter.js +0 -25
  191. package/esm/utils/localStorage.d.ts +0 -2
  192. package/esm/utils/localStorage.js +0 -21
  193. package/esm/utils/sockets.d.ts +0 -7
  194. package/esm/utils/sockets.js +0 -27
  195. package/lib/components/Colors copy.css +0 -3
  196. package/lib/components/Colors copy.css.map +0 -1
  197. package/lib/components/Colors.css +0 -3
  198. package/lib/components/Colors.css.map +0 -1
  199. package/lib/components/ColorsDark.css +0 -3
  200. package/lib/components/ColorsDark.css.map +0 -1
  201. package/lib/components/Config/Config.css +0 -15
  202. package/lib/components/Config/Config.css.map +0 -1
  203. package/lib/components/Config/Config.d.ts +0 -6
  204. package/lib/components/Config/Config.js +0 -20
  205. package/lib/components/DevTools/DevTools.css +0 -11
  206. package/lib/components/DevTools/DevTools.css.map +0 -1
  207. package/lib/components/DevTools/DevTools.d.ts +0 -4
  208. package/lib/components/DevTools/DevTools.js +0 -24
  209. package/lib/components/DevToolsLocal/DevToolsLocal.css +0 -11
  210. package/lib/components/DevToolsLocal/DevToolsLocal.css.map +0 -1
  211. package/lib/components/DevToolsLocal/DevToolsLocal.d.ts +0 -4
  212. package/lib/components/DevToolsLocal/DevToolsLocal.js +0 -17
  213. package/lib/components/Dispatcher/Dispatcher.css +0 -15
  214. package/lib/components/Dispatcher/Dispatcher.css.map +0 -1
  215. package/lib/components/Dispatcher/Dispatcher.d.ts +0 -8
  216. package/lib/components/Dispatcher/Dispatcher.js +0 -65
  217. package/lib/components/GlobalSettings/GlobalSettings.css +0 -3
  218. package/lib/components/GlobalSettings/GlobalSettings.css.map +0 -1
  219. package/lib/components/GlobalSettings/GlobalSettings.d.ts +0 -6
  220. package/lib/components/GlobalSettings/GlobalSettings.js +0 -21
  221. package/lib/components/Group/Group.css +0 -41
  222. package/lib/components/Group/Group.css.map +0 -1
  223. package/lib/components/Group/Group.d.ts +0 -9
  224. package/lib/components/Group/Group.js +0 -19
  225. package/lib/components/Json/Json.css +0 -5
  226. package/lib/components/Json/Json.css.map +0 -1
  227. package/lib/components/Json/Json.d.ts +0 -7
  228. package/lib/components/Json/Json.js +0 -14
  229. package/lib/components/Logs/Logs.css +0 -5
  230. package/lib/components/Logs/Logs.css.map +0 -1
  231. package/lib/components/Logs/Logs.d.ts +0 -6
  232. package/lib/components/Logs/Logs.js +0 -54
  233. package/lib/components/Monitor/Monitor.css +0 -5
  234. package/lib/components/Monitor/Monitor.css.map +0 -1
  235. package/lib/components/Monitor/Monitor.d.ts +0 -6
  236. package/lib/components/Monitor/Monitor.js +0 -59
  237. package/lib/components/OverlayManager/OverlayManager.css +0 -72
  238. package/lib/components/OverlayManager/OverlayManager.css.map +0 -1
  239. package/lib/components/OverlayManager/OverlayManager.d.ts +0 -6
  240. package/lib/components/OverlayManager/OverlayManager.js +0 -22
  241. package/lib/components/Panel/Panel.css +0 -35
  242. package/lib/components/Panel/Panel.css.map +0 -1
  243. package/lib/components/Panel/Panel.d.ts +0 -14
  244. package/lib/components/Panel/Panel.js +0 -51
  245. package/lib/components/Prefix copy.css +0 -3
  246. package/lib/components/Prefix copy.css.map +0 -1
  247. package/lib/components/Prefix.css +0 -3
  248. package/lib/components/Prefix.css.map +0 -1
  249. package/lib/components/Preview/Preview.css +0 -29
  250. package/lib/components/Preview/Preview.css.map +0 -1
  251. package/lib/components/Preview/Preview.d.ts +0 -18
  252. package/lib/components/Preview/Preview.js +0 -64
  253. package/lib/components/Reading.css +0 -107
  254. package/lib/components/Reading.css.map +0 -1
  255. package/lib/components/Redux/Redux.css +0 -86
  256. package/lib/components/Redux/Redux.css.map +0 -1
  257. package/lib/components/Redux/Redux.d.ts +0 -6
  258. package/lib/components/Redux/Redux.js +0 -77
  259. package/lib/components/ReduxSettings/ReduxSettings.css +0 -10
  260. package/lib/components/ReduxSettings/ReduxSettings.css.map +0 -1
  261. package/lib/components/ReduxSettings/ReduxSettings.d.ts +0 -9
  262. package/lib/components/ReduxSettings/ReduxSettings.js +0 -64
  263. package/lib/components/Requests/Requests.css +0 -8
  264. package/lib/components/Requests/Requests.css.map +0 -1
  265. package/lib/components/Requests/Requests.d.ts +0 -6
  266. package/lib/components/Requests/Requests.js +0 -66
  267. package/lib/components/Status/Status.css +0 -15
  268. package/lib/components/Status/Status.css.map +0 -1
  269. package/lib/components/Status/Status.d.ts +0 -6
  270. package/lib/components/Status/Status.js +0 -21
  271. package/lib/components/TaskManager/TaskManager.css +0 -9
  272. package/lib/components/TaskManager/TaskManager.css.map +0 -1
  273. package/lib/components/TaskManager/TaskManager.d.ts +0 -9
  274. package/lib/components/TaskManager/TaskManager.js +0 -28
  275. package/lib/components/Timeline/Timeline.css +0 -5
  276. package/lib/components/Timeline/Timeline.css.map +0 -1
  277. package/lib/components/Timeline/Timeline.d.ts +0 -6
  278. package/lib/components/Timeline/Timeline.js +0 -18
  279. package/lib/components/TimelineEvent/TimelineEvent.css +0 -20
  280. package/lib/components/TimelineEvent/TimelineEvent.css.map +0 -1
  281. package/lib/components/TimelineEvent/TimelineEvent.d.ts +0 -7
  282. package/lib/components/TimelineEvent/TimelineEvent.js +0 -18
  283. package/lib/components/TimelineHeader/TimelineHeader.css +0 -6
  284. package/lib/components/TimelineHeader/TimelineHeader.css.map +0 -1
  285. package/lib/components/TimelineHeader/TimelineHeader.d.ts +0 -4
  286. package/lib/components/TimelineHeader/TimelineHeader.js +0 -10
  287. package/lib/components/TimelineRow/TimelineRow.css +0 -14
  288. package/lib/components/TimelineRow/TimelineRow.css.map +0 -1
  289. package/lib/components/TimelineRow/TimelineRow.d.ts +0 -7
  290. package/lib/components/TimelineRow/TimelineRow.js +0 -18
  291. package/lib/components/TimelineRowHeader/TimelineRowHeader.css +0 -45
  292. package/lib/components/TimelineRowHeader/TimelineRowHeader.css.map +0 -1
  293. package/lib/components/TimelineRowHeader/TimelineRowHeader.d.ts +0 -7
  294. package/lib/components/TimelineRowHeader/TimelineRowHeader.js +0 -15
  295. package/lib/components/Toggle/Toggle.css +0 -3
  296. package/lib/components/Toggle/Toggle.css.map +0 -1
  297. package/lib/components/Toggle/Toggle.d.ts +0 -8
  298. package/lib/components/Toggle/Toggle.js +0 -13
  299. package/lib/components/Variables.css +0 -3
  300. package/lib/components/Variables.css.map +0 -1
  301. package/lib/components/VirtualList/VirtualList.css +0 -13
  302. package/lib/components/VirtualList/VirtualList.css.map +0 -1
  303. package/lib/components/VirtualList/VirtualList.d.ts +0 -19
  304. package/lib/components/VirtualList/VirtualList.js +0 -35
  305. package/lib/components/Visual/Visual.css +0 -57
  306. package/lib/components/Visual/Visual.css.map +0 -1
  307. package/lib/components/Visual/Visual.d.ts +0 -6
  308. package/lib/components/Visual/Visual.js +0 -43
  309. package/lib/components/prefix.d.ts +0 -2
  310. package/lib/components/prefix.js +0 -5
  311. package/lib/data/boxSizes.d.ts +0 -2
  312. package/lib/data/boxSizes.js +0 -13
  313. package/lib/data/dispatcherActions.d.ts +0 -5
  314. package/lib/data/dispatcherActions.js +0 -38
  315. package/lib/data/layoutDefault.d.ts +0 -2
  316. package/lib/data/layoutDefault.js +0 -49
  317. package/lib/data/panels.d.ts +0 -2
  318. package/lib/data/panels.js +0 -17
  319. package/lib/data/panelsArrangements.d.ts +0 -19
  320. package/lib/data/panelsArrangements.js +0 -22
  321. package/lib/data/panelsLocal.d.ts +0 -2
  322. package/lib/data/panelsLocal.js +0 -10
  323. package/lib/data/reduxFilterOptions.d.ts +0 -20
  324. package/lib/data/reduxFilterOptions.js +0 -227
  325. package/lib/data/widgets.d.ts +0 -2
  326. package/lib/data/widgets.js +0 -157
  327. package/lib/data/widgetsLocal.d.ts +0 -2
  328. package/lib/data/widgetsLocal.js +0 -22
  329. package/lib/hooks/index.d.ts +0 -7
  330. package/lib/hooks/index.js +0 -17
  331. package/lib/hooks/misc/hookState.d.ts +0 -8
  332. package/lib/hooks/misc/hookState.js +0 -10
  333. package/lib/hooks/misc/util.d.ts +0 -5
  334. package/lib/hooks/misc/util.js +0 -27
  335. package/lib/hooks/useBoolean.d.ts +0 -3
  336. package/lib/hooks/useBoolean.js +0 -7
  337. package/lib/hooks/useClickAway.d.ts +0 -3
  338. package/lib/hooks/useClickAway.js +0 -31
  339. package/lib/hooks/useEvent.d.ts +0 -13
  340. package/lib/hooks/useEvent.js +0 -37
  341. package/lib/hooks/useKey.d.ts +0 -12
  342. package/lib/hooks/useKey.js +0 -34
  343. package/lib/hooks/useList.d.ts +0 -57
  344. package/lib/hooks/useList.js +0 -79
  345. package/lib/hooks/useLocalstorage.d.ts +0 -10
  346. package/lib/hooks/useLocalstorage.js +0 -79
  347. package/lib/hooks/usePanels.d.ts +0 -10
  348. package/lib/hooks/usePanels.js +0 -49
  349. package/lib/hooks/useSetState.d.ts +0 -2
  350. package/lib/hooks/useSetState.js +0 -14
  351. package/lib/hooks/useToggle.d.ts +0 -2
  352. package/lib/hooks/useToggle.js +0 -10
  353. package/lib/hooks/useUpdate.d.ts +0 -1
  354. package/lib/hooks/useUpdate.js +0 -9
  355. package/lib/index.css +0 -605
  356. package/lib/index.css.map +0 -1
  357. package/lib/index.d.ts +0 -4
  358. package/lib/index.js +0 -11
  359. package/lib/selectors/selectors.d.ts +0 -21
  360. package/lib/selectors/selectors.js +0 -24
  361. package/lib/theme/devtoolsTheme.d.ts +0 -2
  362. package/lib/theme/devtoolsTheme.js +0 -97
  363. package/lib/types.d.ts +0 -21
  364. package/lib/types.js +0 -2
  365. package/lib/utils/filter.d.ts +0 -3
  366. package/lib/utils/filter.js +0 -29
  367. package/lib/utils/localStorage.d.ts +0 -2
  368. package/lib/utils/localStorage.js +0 -26
  369. package/lib/utils/sockets.d.ts +0 -7
  370. package/lib/utils/sockets.js +0 -34
@@ -1,19 +0,0 @@
1
- import { __assign } from "tslib";
2
- import React from 'react';
3
- import Timeline from '../components/Timeline/Timeline';
4
- export var widgets = {
5
- timeline: {
6
- id: 'timeline',
7
- widgetId: 'timeline',
8
- title: 'Timeline',
9
- description: 'Timeline',
10
- dimension: {
11
- x: 55,
12
- y: 20,
13
- },
14
- component: function (props) { return React.createElement(Timeline, __assign({}, props)); },
15
- props: {
16
- isWide: true,
17
- },
18
- },
19
- };
@@ -1,7 +0,0 @@
1
- export { useBoolean } from './useBoolean';
2
- export { useClickAway } from './useClickAway';
3
- export { useKey } from './useKey';
4
- export { useList } from './useList';
5
- export { useLocalstorage } from './useLocalstorage';
6
- export { useSetState } from './useSetState';
7
- export { useToggle } from './useToggle';
@@ -1,7 +0,0 @@
1
- export { useBoolean } from './useBoolean';
2
- export { useClickAway } from './useClickAway';
3
- export { useKey } from './useKey';
4
- export { useList } from './useList';
5
- export { useLocalstorage } from './useLocalstorage';
6
- export { useSetState } from './useSetState';
7
- export { useToggle } from './useToggle';
@@ -1,8 +0,0 @@
1
- export declare type IHookStateInitialSetter<S> = () => S;
2
- export declare type IHookStateInitAction<S> = S | IHookStateInitialSetter<S>;
3
- export declare type IHookStateSetter<S> = ((prevState: S) => S) | (() => S);
4
- export declare type IHookStateSetAction<S> = S | IHookStateSetter<S>;
5
- export declare type IHookStateResolvable<S> = S | IHookStateInitialSetter<S> | IHookStateSetter<S>;
6
- export declare function resolveHookState<S>(nextState: IHookStateInitAction<S>): S;
7
- export declare function resolveHookState<S, C extends S>(nextState: IHookStateSetAction<S>, currentState?: C): S;
8
- export declare function resolveHookState<S, C extends S>(nextState: IHookStateResolvable<S>, currentState?: C): S;
@@ -1,6 +0,0 @@
1
- export function resolveHookState(nextState, currentState) {
2
- if (typeof nextState === 'function') {
3
- return nextState.length ? nextState(currentState) : nextState();
4
- }
5
- return nextState;
6
- }
@@ -1,5 +0,0 @@
1
- export declare const noop: () => void;
2
- export declare function on<T extends Window | Document | HTMLElement | EventTarget>(obj: T | null, ...args: Parameters<T['addEventListener']> | [string, Function | null, ...any]): void;
3
- export declare function off<T extends Window | Document | HTMLElement | EventTarget>(obj: T | null, ...args: Parameters<T['removeEventListener']> | [string, Function | null, ...any]): void;
4
- export declare const isBrowser: boolean;
5
- export declare const isNavigator: boolean;
@@ -1,21 +0,0 @@
1
- export var noop = function () { };
2
- export function on(obj) {
3
- var args = [];
4
- for (var _i = 1; _i < arguments.length; _i++) {
5
- args[_i - 1] = arguments[_i];
6
- }
7
- if (obj && obj.addEventListener) {
8
- obj.addEventListener.apply(obj, args);
9
- }
10
- }
11
- export function off(obj) {
12
- var args = [];
13
- for (var _i = 1; _i < arguments.length; _i++) {
14
- args[_i - 1] = arguments[_i];
15
- }
16
- if (obj && obj.removeEventListener) {
17
- obj.removeEventListener.apply(obj, args);
18
- }
19
- }
20
- export var isBrowser = typeof window !== 'undefined';
21
- export var isNavigator = typeof navigator !== 'undefined';
@@ -1,3 +0,0 @@
1
- import _useBoolean from './useToggle';
2
- export declare const useBoolean: (initialValue: boolean) => [boolean, (nextValue?: any) => void];
3
- export default _useBoolean;
@@ -1,3 +0,0 @@
1
- import _useBoolean from './useToggle';
2
- export var useBoolean = _useBoolean;
3
- export default _useBoolean;
@@ -1,3 +0,0 @@
1
- import { RefObject } from 'react';
2
- export declare const useClickAway: <E extends Event = Event>(ref: RefObject<HTMLElement | null>, onClickAway: (event: E) => void, events?: string[]) => void;
3
- export default useClickAway;
@@ -1,27 +0,0 @@
1
- import { useEffect, useRef } from 'react';
2
- import { off, on } from './misc/util';
3
- var defaultEvents = ['mousedown', 'touchstart'];
4
- export var useClickAway = function (ref, onClickAway, events) {
5
- if (events === void 0) { events = defaultEvents; }
6
- var savedCallback = useRef(onClickAway);
7
- useEffect(function () {
8
- savedCallback.current = onClickAway;
9
- }, [onClickAway]);
10
- useEffect(function () {
11
- var handler = function (event) {
12
- var el = ref.current;
13
- el && !el.contains(event.target) && savedCallback.current(event);
14
- };
15
- for (var _i = 0, events_1 = events; _i < events_1.length; _i++) {
16
- var eventName = events_1[_i];
17
- on(document, eventName, handler);
18
- }
19
- return function () {
20
- for (var _i = 0, events_2 = events; _i < events_2.length; _i++) {
21
- var eventName = events_2[_i];
22
- off(document, eventName, handler);
23
- }
24
- };
25
- }, [events, ref]);
26
- };
27
- export default useClickAway;
@@ -1,13 +0,0 @@
1
- export interface ListenerType1 {
2
- addEventListener(name: string, handler: (event?: any) => void, ...args: any[]): any;
3
- removeEventListener(name: string, handler: (event?: any) => void, ...args: any[]): any;
4
- }
5
- export interface ListenerType2 {
6
- on(name: string, handler: (event?: any) => void, ...args: any[]): any;
7
- off(name: string, handler: (event?: any) => void, ...args: any[]): any;
8
- }
9
- export declare type UseEventTarget = ListenerType1 | ListenerType2;
10
- declare type AddEventListener<T> = T extends ListenerType1 ? T['addEventListener'] : T extends ListenerType2 ? T['on'] : never;
11
- export declare type UseEventOptions<T> = Parameters<AddEventListener<T>>[2];
12
- declare const useEvent: <T extends UseEventTarget>(name: Parameters<AddEventListener<T>>[0], handler?: Parameters<AddEventListener<T>>[1] | null | undefined, target?: Window | T | null, options?: UseEventOptions<T> | undefined) => void;
13
- export default useEvent;
@@ -1,35 +0,0 @@
1
- import { useEffect } from 'react';
2
- import { isBrowser, off, on } from './misc/util';
3
- var defaultTarget = isBrowser ? window : null;
4
- var isListenerType1 = function (target) {
5
- return !!target.addEventListener;
6
- };
7
- var isListenerType2 = function (target) {
8
- return !!target.on;
9
- };
10
- var useEvent = function (name, handler, target, options) {
11
- if (target === void 0) { target = defaultTarget; }
12
- useEffect(function () {
13
- if (!handler) {
14
- return;
15
- }
16
- if (!target) {
17
- return;
18
- }
19
- if (isListenerType1(target)) {
20
- on(target, name, handler, options);
21
- }
22
- else if (isListenerType2(target)) {
23
- target.on(name, handler, options);
24
- }
25
- return function () {
26
- if (isListenerType1(target)) {
27
- off(target, name, handler, options);
28
- }
29
- else if (isListenerType2(target)) {
30
- target.off(name, handler, options);
31
- }
32
- };
33
- }, [name, handler, target, JSON.stringify(options)]);
34
- };
35
- export default useEvent;
@@ -1,12 +0,0 @@
1
- import { DependencyList } from 'react';
2
- import { UseEventOptions, UseEventTarget } from './useEvent';
3
- export declare type KeyPredicate = (event: KeyboardEvent) => boolean;
4
- export declare type KeyFilter = null | undefined | string | ((event: KeyboardEvent) => boolean);
5
- export declare type Handler = (event: KeyboardEvent) => void;
6
- export interface UseKeyOptions<T extends UseEventTarget> {
7
- event?: 'keydown' | 'keypress' | 'keyup';
8
- target?: T | null;
9
- options?: UseEventOptions<T>;
10
- }
11
- export declare const useKey: <T extends UseEventTarget>(key: KeyFilter, fn?: Handler, opts?: UseKeyOptions<T>, deps?: DependencyList) => void;
12
- export default useKey;
@@ -1,29 +0,0 @@
1
- import { useMemo } from 'react';
2
- import useEvent from './useEvent';
3
- import { noop } from './misc/util';
4
- var createKeyPredicate = function (keyFilter) {
5
- return typeof keyFilter === 'function'
6
- ? keyFilter
7
- : typeof keyFilter === 'string'
8
- ? function (event) { return event.key === keyFilter; }
9
- : keyFilter
10
- ? function () { return true; }
11
- : function () { return false; };
12
- };
13
- export var useKey = function (key, fn, opts, deps) {
14
- if (fn === void 0) { fn = noop; }
15
- if (opts === void 0) { opts = {}; }
16
- if (deps === void 0) { deps = [key]; }
17
- var _a = opts.event, event = _a === void 0 ? 'keydown' : _a, target = opts.target, options = opts.options;
18
- var useMemoHandler = useMemo(function () {
19
- var predicate = createKeyPredicate(key);
20
- var handler = function (handlerEvent) {
21
- if (predicate(handlerEvent)) {
22
- return fn(handlerEvent);
23
- }
24
- };
25
- return handler;
26
- }, deps);
27
- useEvent(event, useMemoHandler, target, options);
28
- };
29
- export default useKey;
@@ -1,57 +0,0 @@
1
- import { IHookStateInitAction, IHookStateSetAction } from './misc/hookState';
2
- export interface ListActions<T> {
3
- /**
4
- * @description Set new list instead old one
5
- */
6
- set: (newList: IHookStateSetAction<T[]>) => void;
7
- /**
8
- * @description Add item(s) at the end of list
9
- */
10
- push: (...items: T[]) => void;
11
- /**
12
- * @description Replace item at given position. If item at given position not exists it will be set.
13
- */
14
- updateAt: (index: number, item: T) => void;
15
- /**
16
- * @description Insert item at given position, all items to the right will be shifted.
17
- */
18
- insertAt: (index: number, item: T) => void;
19
- /**
20
- * @description Replace all items that matches predicate with given one.
21
- */
22
- update: (predicate: (a: T, b: T) => boolean, newItem: T) => void;
23
- /**
24
- * @description Replace first item matching predicate with given one.
25
- */
26
- updateFirst: (predicate: (a: T, b: T) => boolean, newItem: T) => void;
27
- /**
28
- * @description Like `updateFirst` bit in case of predicate miss - pushes item to the list
29
- */
30
- upsert: (predicate: (a: T, b: T) => boolean, newItem: T) => void;
31
- /**
32
- * @description Sort list with given sorting function
33
- */
34
- sort: (compareFn?: (a: T, b: T) => number) => void;
35
- /**
36
- * @description Same as native Array's method
37
- */
38
- filter: (callbackFn: (value: T, index?: number, array?: T[]) => boolean, thisArg?: any) => void;
39
- /**
40
- * @description Removes item at given position. All items to the right from removed will be shifted.
41
- */
42
- removeAt: (index: number) => void;
43
- /**
44
- * @deprecated Use removeAt method instead
45
- */
46
- remove: (index: number) => void;
47
- /**
48
- * @description Make the list empty
49
- */
50
- clear: () => void;
51
- /**
52
- * @description Reset list to initial value
53
- */
54
- reset: () => void;
55
- }
56
- export declare function useList<T>(initialList?: IHookStateInitAction<T[]>): [T[], ListActions<T>];
57
- export default useList;
@@ -1,74 +0,0 @@
1
- import { useMemo, useRef } from 'react';
2
- import useUpdate from './useUpdate';
3
- import { resolveHookState } from './misc/hookState';
4
- export function useList(initialList) {
5
- if (initialList === void 0) { initialList = []; }
6
- var list = useRef(resolveHookState(initialList));
7
- var update = useUpdate();
8
- var actions = useMemo(function () {
9
- var a = {
10
- set: function (newList) {
11
- list.current = resolveHookState(newList, list.current);
12
- update();
13
- },
14
- push: function () {
15
- var items = [];
16
- for (var _i = 0; _i < arguments.length; _i++) {
17
- items[_i] = arguments[_i];
18
- }
19
- items.length && actions.set(function (curr) { return curr.concat(items); });
20
- },
21
- updateAt: function (index, item) {
22
- actions.set(function (curr) {
23
- var arr = curr.slice();
24
- arr[index] = item;
25
- return arr;
26
- });
27
- },
28
- insertAt: function (index, item) {
29
- actions.set(function (curr) {
30
- var arr = curr.slice();
31
- index > arr.length ? (arr[index] = item) : arr.splice(index, 0, item);
32
- return arr;
33
- });
34
- },
35
- update: function (predicate, newItem) {
36
- actions.set(function (curr) { return curr.map(function (item) { return (predicate(item, newItem) ? newItem : item); }); });
37
- },
38
- updateFirst: function (predicate, newItem) {
39
- var index = list.current.findIndex(function (item) { return predicate(item, newItem); });
40
- index >= 0 && actions.updateAt(index, newItem);
41
- },
42
- upsert: function (predicate, newItem) {
43
- var index = list.current.findIndex(function (item) { return predicate(item, newItem); });
44
- index >= 0 ? actions.updateAt(index, newItem) : actions.push(newItem);
45
- },
46
- sort: function (compareFn) {
47
- actions.set(function (curr) { return curr.slice().sort(compareFn); });
48
- },
49
- filter: function (callbackFn, thisArg) {
50
- actions.set(function (curr) { return curr.slice().filter(callbackFn, thisArg); });
51
- },
52
- removeAt: function (index) {
53
- actions.set(function (curr) {
54
- var arr = curr.slice();
55
- arr.splice(index, 1);
56
- return arr;
57
- });
58
- },
59
- clear: function () {
60
- actions.set([]);
61
- },
62
- reset: function () {
63
- actions.set(resolveHookState(initialList).slice());
64
- },
65
- };
66
- /**
67
- * @deprecated Use removeAt method instead
68
- */
69
- a.remove = a.removeAt;
70
- return a;
71
- }, []);
72
- return [list.current, actions];
73
- }
74
- export default useList;
@@ -1,10 +0,0 @@
1
- import { Dispatch, SetStateAction } from 'react';
2
- declare type parserOptions<T> = {
3
- raw: true;
4
- } | {
5
- raw: false;
6
- serializer: (value: T) => string;
7
- deserializer: (value: string) => T;
8
- };
9
- export declare const useLocalstorage: <T>(key: string, initialValue?: T | undefined, options?: parserOptions<T> | undefined) => [T | undefined, Dispatch<SetStateAction<T | undefined>>, () => void];
10
- export default useLocalstorage;
@@ -1,75 +0,0 @@
1
- import { useCallback, useState, useRef, useLayoutEffect } from 'react';
2
- import { isBrowser, noop } from './misc/util';
3
- export var useLocalstorage = function (key, initialValue, options) {
4
- if (!isBrowser) {
5
- return [initialValue, noop, noop];
6
- }
7
- if (!key) {
8
- throw new Error('useLocalStorage key may not be falsy');
9
- }
10
- var deserializer = options ? (options.raw ? function (value) { return value; } : options.deserializer) : JSON.parse;
11
- // eslint-disable-next-line react-hooks/rules-of-hooks
12
- var initializer = useRef(function (key) {
13
- try {
14
- var serializer = options ? (options.raw ? String : options.serializer) : JSON.stringify;
15
- var localStorageValue = localStorage.getItem(key);
16
- if (localStorageValue !== null) {
17
- return deserializer(localStorageValue);
18
- }
19
- else {
20
- initialValue && localStorage.setItem(key, serializer(initialValue));
21
- return initialValue;
22
- }
23
- }
24
- catch (_a) {
25
- // If user is in private mode or has storage restriction
26
- // localStorage can throw. JSON.parse and JSON.stringify
27
- // can throw, too.
28
- return initialValue;
29
- }
30
- });
31
- // eslint-disable-next-line react-hooks/rules-of-hooks
32
- var _a = useState(function () { return initializer.current(key); }), state = _a[0], setState = _a[1];
33
- // eslint-disable-next-line react-hooks/rules-of-hooks
34
- useLayoutEffect(function () { return setState(initializer.current(key)); }, [key]);
35
- // eslint-disable-next-line react-hooks/rules-of-hooks
36
- var set = useCallback(function (valOrFunc) {
37
- try {
38
- var newState = typeof valOrFunc === 'function' ? valOrFunc(state) : valOrFunc;
39
- if (typeof newState === 'undefined')
40
- return;
41
- var value = void 0;
42
- if (options)
43
- if (options.raw)
44
- if (typeof newState === 'string')
45
- value = newState;
46
- else
47
- value = JSON.stringify(newState);
48
- else if (options.serializer)
49
- value = options.serializer(newState);
50
- else
51
- value = JSON.stringify(newState);
52
- else
53
- value = JSON.stringify(newState);
54
- localStorage.setItem(key, value);
55
- setState(deserializer(value));
56
- }
57
- catch (_a) {
58
- // If user is in private mode or has storage restriction
59
- // localStorage can throw. Also JSON.stringify can throw.
60
- }
61
- }, [key, setState]);
62
- // eslint-disable-next-line react-hooks/rules-of-hooks
63
- var remove = useCallback(function () {
64
- try {
65
- localStorage.removeItem(key);
66
- setState(undefined);
67
- }
68
- catch (_a) {
69
- // If user is in private mode or has storage restriction
70
- // localStorage can throw.
71
- }
72
- }, [key, setState]);
73
- return [state, set, remove];
74
- };
75
- export default useLocalstorage;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- export interface PanelState {
3
- guid: string;
4
- isWide?: boolean;
5
- }
6
- export interface PanelChildProps {
7
- id: string;
8
- isWide: boolean;
9
- }
10
- export declare function usePanels(Cmp: (props: any) => JSX.Element): JSX.Element;
@@ -1,45 +0,0 @@
1
- import { __assign } from "tslib";
2
- import * as React from 'react';
3
- import { Panel } from '../components/Panel/Panel';
4
- import { useCallback, useEffect, useMemo } from 'react';
5
- import { useList, useLocalStorage, useKey } from 'react-use';
6
- import { loadPanelsArrangement } from '../utils/localStorage';
7
- function uuidv4() {
8
- return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
9
- var r = (Math.random() * 16) | 0, v = c === 'x' ? r : (r & 0x3) | 0x8;
10
- return v.toString(16);
11
- });
12
- }
13
- export function usePanels(Cmp) {
14
- var _a = useLocalStorage('PANELS_STATE', []), savedList = _a[0], setSavedList = _a[1];
15
- var _b = useList(savedList), list = _b[0], _c = _b[1], push = _c.push, updateAt = _c.updateAt, removeAt = _c.removeAt;
16
- useEffect(function () {
17
- setSavedList(list);
18
- }, [list, setSavedList]);
19
- useKey('`', function (ev) {
20
- if (ev.ctrlKey) {
21
- loadPanelsArrangement();
22
- }
23
- else {
24
- add();
25
- }
26
- });
27
- var add = useCallback(function () {
28
- var guid = uuidv4();
29
- push({ guid: guid });
30
- }, [push]);
31
- var remove = useCallback(function (guid) {
32
- var index = list.findIndex(function (item) { return item.guid === guid; });
33
- removeAt(index);
34
- }, [removeAt, list]);
35
- var onToggleSize = useCallback(function (guid, isWide) {
36
- var index = list.findIndex(function (item) { return item.guid === guid; });
37
- var updatedItem = __assign(__assign({}, list[index]), { isWide: isWide });
38
- updateAt(index, updatedItem);
39
- }, [list, updateAt]);
40
- var fullJsx = useMemo(function () { return (React.createElement(React.Fragment, null, list.map(function (panelState) { return (React.createElement(Panel, { id: panelState.guid, isWide: panelState.isWide, key: panelState.guid, onToggleSize: function (isWide) {
41
- return onToggleSize(panelState.guid, isWide);
42
- }, onNew: add, onClose: function () { return remove(panelState.guid); }, showDuplicate: true, showLock: true },
43
- React.createElement(Cmp, { isWide: panelState.isWide, id: panelState.guid }))); }))); }, [list, Cmp, add, remove, onToggleSize]);
44
- return fullJsx;
45
- }
@@ -1,2 +0,0 @@
1
- export declare const useSetState: <T extends object>(initialState?: T) => [T, (patch: Partial<T> | ((prevState: T) => Partial<T>)) => void];
2
- export default useSetState;
@@ -1,10 +0,0 @@
1
- import { useCallback, useState } from 'react';
2
- export var useSetState = function (initialState) {
3
- if (initialState === void 0) { initialState = {}; }
4
- var _a = useState(initialState), state = _a[0], set = _a[1];
5
- var setState = useCallback(function (patch) {
6
- set(function (prevState) { return Object.assign({}, prevState, patch instanceof Function ? patch(prevState) : patch); });
7
- }, []);
8
- return [state, setState];
9
- };
10
- export default useSetState;
@@ -1,2 +0,0 @@
1
- export declare const useToggle: (initialValue: boolean) => [boolean, (nextValue?: any) => void];
2
- export default useToggle;
@@ -1,6 +0,0 @@
1
- import { useReducer } from 'react';
2
- var toggleReducer = function (state, nextValue) { return (typeof nextValue === 'boolean' ? nextValue : !state); };
3
- export var useToggle = function (initialValue) {
4
- return useReducer(toggleReducer, initialValue);
5
- };
6
- export default useToggle;
@@ -1 +0,0 @@
1
- export default function useUpdate(): () => void;
@@ -1,6 +0,0 @@
1
- import { useReducer } from 'react';
2
- var updateReducer = function (num) { return (num + 1) % 1000000; };
3
- export default function useUpdate() {
4
- var _a = useReducer(updateReducer, 0), update = _a[1];
5
- return update;
6
- }
package/esm/index.d.ts DELETED
@@ -1,4 +0,0 @@
1
- export { TaskManagers } from './components/TaskManager/TaskManager';
2
- export { Dispatcher } from './components/Dispatcher/Dispatcher';
3
- export { DevTools } from './components/DevTools/DevTools';
4
- export { DevToolsLocal } from './components/DevToolsLocal/DevToolsLocal';
package/esm/index.js DELETED
@@ -1,4 +0,0 @@
1
- export { TaskManagers } from './components/TaskManager/TaskManager';
2
- export { Dispatcher } from './components/Dispatcher/Dispatcher';
3
- export { DevTools } from './components/DevTools/DevTools';
4
- export { DevToolsLocal } from './components/DevToolsLocal/DevToolsLocal';
@@ -1,21 +0,0 @@
1
- import { EndpointConfig, SagaState, ApiStatus } from 'redux-connected';
2
- export declare const $i: (i: any) => any;
3
- export declare const $apiRaw: import("reselect").OutputSelector<any, any, (res: any) => any>;
4
- export declare const $configsRaw: import("reselect").OutputSelector<any, any, (res: any) => any>;
5
- export declare const $requestsRaw: import("reselect").OutputSelector<any, any, (res: any) => any>;
6
- export declare const $sagasRaw: import("reselect").OutputSelector<any, any, (res: any) => any>;
7
- export declare const $statusRaw: import("reselect").OutputSelector<any, any, (res: any) => any>;
8
- export declare const $globalSettingsRaw: import("reselect").OutputSelector<any, any, (res: any) => any>;
9
- export declare const $globalStatsRaw: import("reselect").OutputSelector<any, any, (res: any) => any>;
10
- export declare const $endpointsConfig: import("reselect").OutputSelector<any, Record<string, EndpointConfig>, (res: any) => Record<string, EndpointConfig>>;
11
- export declare const $status: import("reselect").OutputSelector<any, Record<string, ApiStatus>, (res: any) => Record<string, ApiStatus>>;
12
- export declare const $sagas: import("reselect").OutputSelector<any, SagaState[], (res: any) => SagaState[]>;
13
- export declare const $actionTypes: import("reselect").OutputSelector<any, any, (res: any) => any>;
14
- export declare const $nodeTypes: import("reselect").OutputSelector<any, any, (res: any) => any>;
15
- export declare const $settingsAndStats: import("reselect").OutputSelector<any, {
16
- settings: any;
17
- stats: any;
18
- }, (res1: any, res2: any) => {
19
- settings: any;
20
- stats: any;
21
- }>;
@@ -1,20 +0,0 @@
1
- import { createSelector } from 'reselect';
2
- export var $i = function (i) { return i; };
3
- export var $apiRaw = createSelector($i, function (state) { return state._api; });
4
- export var $configsRaw = createSelector($apiRaw, function (api) { return api.endpointsConfig; });
5
- export var $requestsRaw = createSelector($apiRaw, function (api) { return api.requests; });
6
- export var $sagasRaw = createSelector($i, function (state) { return state._sagas; });
7
- export var $statusRaw = createSelector($apiRaw, function (api) { return api.status; });
8
- export var $globalSettingsRaw = createSelector($apiRaw, function (api) { return api.apiGlobalSettings; });
9
- export var $globalStatsRaw = createSelector($apiRaw, function (api) { return api.apiGlobalStats; });
10
- export var $endpointsConfig = createSelector($configsRaw, function (configs) { return configs; });
11
- export var $status = createSelector($statusRaw, function (state) { return state; });
12
- export var $sagas = createSelector($sagasRaw, function (sagas) {
13
- return Object.values(sagas);
14
- });
15
- export var $actionTypes = createSelector($apiRaw, function (api) { return api.actionTypes; });
16
- export var $nodeTypes = createSelector($apiRaw, function (api) { return api.nodeTypes; });
17
- export var $settingsAndStats = createSelector($globalSettingsRaw, $globalStatsRaw, function (settings, stats) { return ({
18
- settings: settings,
19
- stats: stats,
20
- }); });
@@ -1,2 +0,0 @@
1
- declare const devtoolsThemeDark: import("@fluentui/react").Theme;
2
- export default devtoolsThemeDark;